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_GRAV = 'icon-grav';
export class IconGravComponent 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+PHBhdGggZD0iTTMwMS4xIDIxMmM0LjQgNC40IDQuNCAxMS45IDAgMTYuM2wtOS43IDkuN2MtNC40IDQuNy0xMS45IDQuNy0xNi42IDBsLTEwLjUtMTAuNWMtNC40LTQuNy00LjQtMTEuOSAwLTE2LjZsOS43LTkuN2M0LjQtNC40IDExLjktNC40IDE2LjYgMGwxMC41IDEwLjh6bS0zMC4yLTE5LjdjMy0zIDMtNy44IDAtMTAuNS0yLjgtMy03LjUtMy0xMC41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AyLjguMS0uMi4zLS40LjQtLjUtNSAxMS45LTEuMSA1NS45IDE2LjkgODcuMi0yLjUgMS40LTkuMSA2LjEtMTMgMTAtMjEuNiA5LjctNTYuMiA2MC4zLTU2LjIgNjAuMy0yOC4yIDEwLjgtNzcuMiA1MC45LTcwLjYgNzkuNy4zIDMgMS40IDUuNSAzIDcuNS0yLjggMi4yLTUuNSA1LTguMyA4LjMtMTEuOSAxMy44LTUuMyAzNS4yIDE3LjcgMjQuNCAxNS44LTcuMiAyOS42LTIwLjIgMzYuMy0zMC40IDAgMC01LjUtNS0xNi4zLTQuNCAyNy43LTYuNiAzNC4zLTkuNCA0Ni4yLTkuMSA4IDMuOSA4LTM0LjMgOC0zNC4zIDAtMTQuNy0yLjItMzEtMTEuMS00MS41IDEyLjUgMTIuMiAyOS4xIDMyLjcgMjggNjAuNi0uOCAxOC4zLTE1LjIgMjMtMTUuMiAyMy05LjEgMTYuNi00My4yIDY1LjktMzAuNCAxMDYgMCAwLTkuNy0xNC45LTEwLjItMjIuMS0xNy40IDE5LjQtNDYuNSA1Mi4zLTI0LjYgNjQuNSAyNi42IDE0LjcgMTA4LjgtODguNiAxMjYuMi0xNDIuMyAzNC42LTIwLjggNTUuNC00Ny4zIDYzLjktNjUgMjIgNDMuNSA5NS4zIDk0LjUgMTAxLjEgNTl6Ii8+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 })
], IconGravComponent.prototype, "size", void 0);
__decorate([
    property({ type: String })
], IconGravComponent.prototype, "color", void 0);
//# sourceMappingURL=grav.js.map