var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
    return c > 3 && r && Object.defineProperty(target, key, r), r;
};
import React from 'react';
import { createComponent } from '@lit-labs/react';
import { html, css } from 'lit';
import { property } from 'lit/decorators.js';
import { classMap } from 'lit/directives/class-map.js';
import { styleMap } from 'lit/directives/style-map.js';
import { TiniElement, partMap, VaryGroups, generateColorVaries, generateGradientVaries, generateScaleVaries } from 'tinijs';
export class IconGalacticRepublicComponent extends TiniElement {
    static { this.defaultTagName = 'icon-galactic-republic'; }
    static { this.styles = css `:host{--icon-width:var(--scale-md-2x);--icon-height:var(--scale-md-2x);--icon-scheme:none;--icon-image:url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0OTYgNTEyIj48cGF0aCBkPSJNMjQ4IDUwNEMxMTEuMjUgNTA0IDAgMzkyLjc1IDAgMjU2UzExMS4yNSA4IDI0OCA4czI0OCAxMTEuMjUgMjQ4IDI0OC0xMTEuMjUgMjQ4LTI0OCAyNDh6bTAtNDc5LjQ3QzEyMC4zNyAyNC41MyAxNi41MyAxMjguMzcgMTYuNTMgMjU2UzEyMC4zNyA0ODcuNDcgMjQ4IDQ4Ny40NyA0NzkuNDcgMzgzLjYzIDQ3OS40NyAyNTYgMzc1LjYzIDI0LjUzIDI0OCAyNC41M3ptMjcuNjIgMjEuODF2MjQuNjJhMTg1LjkzMyAxODUuOTMzIDAgMCAxIDgzLjU3IDM0LjU0bDE3LjM5LTE3LjM2Yy0yOC43NS0yMi4wNi02My4zLTM2Ljg5LTEwMC45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zOXpNMzguMzQgMjgzLjY3YzQuOTIgMzcuNjQgMTkuNzUgNzIuMTggNDEuOCAxMDAuOWwxNy4zNi0xNy4zOWMtMTcuODEtMjQuMDctMjkuOTItNTIuNTctMzQuNTEtODMuNTJIMzguMzR6bTM5NC43IDBjLTQuNjEgMzAuOTktMTYuOCA1OS41LTM0LjY3IDgzLjZsMTcuMzYgMTcuMzZjMjIuMDgtMjguNzQgMzYuOTgtNjMuMjkgNDEuOTMtMTAwLjk2aC0yNC42MnpNMTM2LjY2IDQwNi4zOGwtMTcuMzYgMTcuMzZjMjguNzMgMjIuMDkgNjMuMyAzNi45OCAxMDAuOTYgNDEuOTN2LTI0LjY0Yy0zMC45OS00LjYzLTU5LjUzLTE2Ljc5LTgzLjYtMzQuNjV6bTIyMi41My4wNWMtMjQuMDkgMTcuODQtNTIuNTggMzAuMDgtODMuNTcgMzQuNjd2MjQuNTdjMzcuNjctNC45MiA3Mi4yMS0xOS43OSAxMDAuOTYtNDEuODVsLTE3LjMxLTE3LjM5aC0uMDh6Ii8+PC9zdmc+');display:inline-block}i{display:flex;align-items:center;justify-content:center;background-image:var(--icon-image);background-repeat:no-repeat;background-size:contain;background-position:center;width:var(--icon-width);height:var(--icon-height)}.scheme{background:var(--icon-scheme);-webkit-mask-image:var(--icon-image);-webkit-mask-size:var(--icon-width) var(--icon-height);-webkit-mask-repeat:no-repeat;-webkit-mask-position:center;mask-image:var(--icon-image);mask-size:var(--icon-width) var(--icon-height);mask-repeat:no-repeat;mask-position:center}${generateColorVaries(({ fullName, color }) => `.${fullName} {--icon-scheme: ${color};}`)}${generateGradientVaries(({ fullName, gradient }) => `.${fullName} {--icon-scheme: ${gradient};}`)}${generateScaleVaries(({ name, fullName }) => `.${fullName} {--icon-width: var(--scale-${name}-2x);--icon-height: var(--scale-${name}-2x);}`)}`; }
    willUpdate(changedValues) { super.willUpdate(changedValues); this.extendRootClassesParts({ scheme: !!this.scheme, [`${VaryGroups.Scale}-${this.scale}`]: !!this.scale, [`${VaryGroups.Scheme}-${this.scheme}`]: !!this.scheme }); }
    render() { return html `<i part=${partMap(this.rootClassesParts)} class=${classMap(this.rootClassesParts)} style=${styleMap(this.rootStyles)}></i>`; }
}
__decorate([
    property({ type: String, reflect: true })
], IconGalacticRepublicComponent.prototype, "scale", void 0);
__decorate([
    property({ type: String, reflect: true })
], IconGalacticRepublicComponent.prototype, "scheme", void 0);
export const IconGalacticRepublic = createComponent({
    tagName: IconGalacticRepublicComponent.defaultTagName,
    elementClass: IconGalacticRepublicComponent,
    react: React,
});
//# sourceMappingURL=galactic-republic.js.map