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 { LitElement, html, css, unsafeCSS } from 'lit';
import { property } from 'lit/decorators.js';
import { classMap } from 'lit/directives/class-map.js';
export const ICON_PIX = 'icon-pix';
export class IconPixComponent extends LitElement {
    static { this.styles = css `:host {--icon-width: calc(var(--size-md) * 2);--icon-height: calc(var(--size-md) * 2);--icon-color: none;--icon-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA1MTIgNTEyIj48IS0tISBGb250IEF3ZXNvbWUgRnJlZSA2LjQuMCBieSBAZm9udGF3ZXNvbWUgLSBodHRwczovL2ZvbnRhd2Vzb21lLmNvbSBMaWNlbnNlIC0gaHR0cHM6Ly9mb250YXdlc29tZS5jb20vbGljZW5zZS9mcmVlIChJY29uczogQ0MgQlkgNC4wLCBGb250czogU0lMIE9GTCAxLjEsIENvZGU6IE1JVCBMaWNlbnNlKSBDb3B5cmlnaHQgMjAyMyBGb250aWNvbnMsIEluYy4gLS0+PHBhdGggZD0iTTI0Mi40IDI5Mi41QzI0Ny44IDI4Ny4xIDI1Ny4xIDI4Ny4xIDI2Mi41IDI5Mi41TDMzOS41IDM2OS41QzM1My43IDM4My43IDM3Mi42IDM5MS41IDM5Mi42IDM5MS41SDQwNy43TDMxMC42IDQ4OC42QzI4MC4zIDUxOC4xIDIzMS4xIDUxOC4xIDIwMC44IDQ4OC42TDEwMy4zIDM5MS4ySDExMi42QzEzMi42IDM5MS4yIDE1MS41IDM4My40IDE2NS43IDM2OS4yTDI0Mi40IDI5Mi41ek0yNjIuNSAyMTguOUMyNTYuMSAyMjQuNCAyNDcuOSAyMjQuNSAyNDIuNCAyMTguOUwxNjUuNyAxNDIuMkMxNTEuNSAxMjcuMSAxMzIuNiAxMjAuMiAxMTIuNiAxMjAuMkgxMDMuM0wyMDAuNyAyMi43NkMyMzEuMS03LjU4NiAyODAuMy03LjU4NiAzMTAuNiAyMi43Nkw0MDcuOCAxMTkuOUgzOTIuNkMzNzIuNiAxMTkuOSAzNTMuNyAxMjcuNyAzMzkuNSAxNDEuOUwyNjIuNSAyMTguOXpNMTEyLjYgMTQyLjdDMTI2LjQgMTQyLjcgMTM5LjEgMTQ4LjMgMTQ5LjcgMTU4LjFMMjI2LjQgMjM0LjhDMjMzLjYgMjQxLjEgMjQzIDI0NS42IDI1Mi41IDI0NS42QzI2MS45IDI0NS42IDI3MS4zIDI0MS4xIDI3OC41IDIzNC44TDM1NS41IDE1Ny44QzM2NS4zIDE0OC4xIDM3OC44IDE0Mi41IDM5Mi42IDE0Mi41SDQzMC4zTDQ4OC42IDIwMC44QzUxOC45IDIzMS4xIDUxOC45IDI4MC4zIDQ4OC42IDMxMC42TDQzMC4zIDM2OC45SDM5Mi42QzM3OC44IDM2OC45IDM2NS4zIDM2My4zIDM1NS41IDM1My41TDI3OC41IDI3Ni41QzI2NC42IDI2Mi42IDI0MC4zIDI2Mi42IDIyNi40IDI3Ni42TDE0OS43IDM1My4yQzEzOS4xIDM2MyAxMjYuNCAzNjguNiAxMTIuNiAzNjguNkg4MC43OEwyMi43NiAzMTAuNkMtNy41ODYgMjgwLjMtNy41ODYgMjMxLjEgMjIuNzYgMjAwLjhMODAuNzggMTQyLjdIMTEyLjZ6Ii8+PC9zdmc+');}:host {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);}.recolor {background: var(--icon-color);-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;}.${unsafeCSS("dynamic" /* Colors.Dynamic */)}{--icon-color: var(--color-foreground);}.${unsafeCSS("primary" /* Colors.Primary */)}{--icon-color: var(--color-primary);}.${unsafeCSS("secondary" /* Colors.Secondary */)}{--icon-color: var(--color-secondary);}.${unsafeCSS("tertiary" /* Colors.Tertiary */)}{--icon-color: var(--color-tertiary);}.${unsafeCSS("success" /* Colors.Success */)}{--icon-color: var(--color-success);}.${unsafeCSS("warning" /* Colors.Warning */)}{--icon-color: var(--color-warning);}.${unsafeCSS("danger" /* Colors.Danger */)}{--icon-color: var(--color-danger);}.${unsafeCSS("light" /* Colors.Light */)}{--icon-color: var(--color-light);}.${unsafeCSS("medium" /* Colors.Medium */)}{--icon-color: var(--color-medium);}.${unsafeCSS("dark" /* Colors.Dark */)}{--icon-color: var(--color-dark);}.${unsafeCSS("gradient-primary" /* Colors.GradientPrimary */)}{--icon-color: var(--gradient-primary);}.${unsafeCSS("gradient-secondary" /* Colors.GradientSecondary */)}{--icon-color: var(--gradient-secondary);}.${unsafeCSS("gradient-tertiary" /* Colors.GradientTertiary */)}{--icon-color: var(--gradient-tertiary);}.${unsafeCSS("gradient-success" /* Colors.GradientSuccess */)}{--icon-color: var(--gradient-success);}.${unsafeCSS("gradient-warning" /* Colors.GradientWarning */)}{--icon-color: var(--gradient-warning);}.${unsafeCSS("gradient-danger" /* Colors.GradientDanger */)}{--icon-color: var(--gradient-danger);}.${unsafeCSS("gradient-light" /* Colors.GradientLight */)}{--icon-color: var(--gradient-light);}.${unsafeCSS("gradient-medium" /* Colors.GradientMedium */)}{--icon-color: var(--gradient-medium);}.${unsafeCSS("gradient-dark" /* Colors.GradientDark */)}{--icon-color: var(--gradient-dark);}.${unsafeCSS("xs" /* Sizes.XS */)}{--icon-width: calc(var(--size-xs) * 2);--icon-height: calc(var(--size-xs) * 2);}.${unsafeCSS("sm" /* Sizes.SM */)}{--icon-width: var(--size-sm);--icon-height: var(--size-sm);}.${unsafeCSS("lg" /* Sizes.LG */)}{--icon-width: var(--size-lg);--icon-height: var(--size-lg);}.${unsafeCSS("xl" /* Sizes.XL */)}{--icon-width: calc(var(--size-xl) * 1.25);--icon-height: calc(var(--size-xl) * 1.25);}.${unsafeCSS("xxl" /* Sizes.XXL */)}{--icon-width: calc(var(--size-xxl) * 1.5);--icon-height: calc(var(--size-xxl) * 1.5);}`; }
    render() { return html `<i part="icon" class=${classMap({ recolor: !!this.color, [this.color]: !!this.color, [this.size]: !!this.size })}></i>`; }
}
__decorate([
    property({ type: String })
], IconPixComponent.prototype, "size", void 0);
__decorate([
    property({ type: String })
], IconPixComponent.prototype, "color", void 0);
//# sourceMappingURL=pix.js.map