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 { html, css } from 'lit';
import { property } from 'lit/decorators.js';
import { classMap } from 'lit/directives/class-map.js';
import { TiniElement, partMap, VaryGroups, generateColorVaries, generateGradientVaries, generateScaleVaries } from 'tinijs';
export class IconAlphabetUppercaseComponent extends TiniElement {
    static { this.defaultTagName = 'icon-alphabet-uppercase'; }
    static { this.componentName = 'icon'; }
    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,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGZpbGw9ImN1cnJlbnRDb2xvciIgY2xhc3M9ImJpIGJpLWFscGhhYmV0LXVwcGVyY2FzZSIgdmlld0JveD0iMCAwIDE2IDE2Ij48cGF0aCBkPSJNMS4yMjYgMTAuODhIMGwyLjA1Ni02LjI2aDEuNDJsMi4wNDcgNi4yNmgtMS4yOWwtLjQ4LTEuNjFIMS43MDdsLS40OCAxLjYxWk0yLjc2IDUuODE4aC0uMDU0bC0uNzUgMi41MzJIMy41MXptMy4yMTcgNS4wNjJWNC42MmgyLjU2YzEuMDkgMCAxLjgwOC41ODIgMS44MDggMS41NCAwIC43NjItLjQ0NCAxLjIyLTEuMDUgMS4zNzJ2LjA1NWMuNzM2LjA3NCAxLjM2NS41ODcgMS4zNjUgMS41MjggMCAxLjExOS0uODkgMS43NjYtMi4xMzMgMS43NjZoLTIuNTVaTTcuMTggNS41NXYxLjY3NWguOGMuODEyIDAgMS4xNzEtLjMwOCAxLjE3MS0uODUzIDAtLjUxLS4zMjgtLjgyMi0uODk4LS44MjJ6bTAgMi41MzdWOS45NWguOTAzYy45NTEgMCAxLjM0Mi0uMzEyIDEuMzQyLS45MDkgMC0uNTkxLS4zODItLjk1NC0xLjA5NS0uOTU0SDcuMThabTUuMDg5LS43MTF2Ljc3NWMwIDEuMTU2LjQ5IDEuODAzIDEuMzQ3IDEuODAzLjcwNSAwIDEuMTYzLS40NTQgMS4yMTItMS4wOTZIMTZ2LjEyQzE1Ljk0MiAxMC4xNzMgMTQuOTUgMTEgMTMuNjA3IDExYy0xLjY0OCAwLTIuNTczLTEuMDczLTIuNTczLTIuODQ5di0uNzhjMC0xLjc3NS45MzQtMi44NzEgMi41NzMtMi44NzEgMS4zNDcgMCAyLjM0Ljg0OSAyLjM5MyAyLjA4N3YuMTE1aC0xLjE3MmMtLjA1LS42NjUtLjUxNi0xLjE1Ni0xLjIxMi0xLjE1Ni0uODQ5IDAtMS4zNDcuNjctMS4zNDcgMS44M1oiLz48L3N2Zz4=');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() { this.extendRootClasses({ raw: { scheme: !!this.scheme }, overridable: { [VaryGroups.Scale]: this.scale, [VaryGroups.Scheme]: this.scheme } }); }
    render() { return html `<i class=${classMap(this.rootClasses)} part=${partMap(this.rootClasses)}></i>`; }
}
__decorate([
    property({ type: String, reflect: true })
], IconAlphabetUppercaseComponent.prototype, "scale", void 0);
__decorate([
    property({ type: String, reflect: true })
], IconAlphabetUppercaseComponent.prototype, "scheme", void 0);
//# sourceMappingURL=alphabet-uppercase.js.map