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 IconCashCoinComponent extends TiniElement {
    static { this.defaultTagName = 'icon-cash-coin'; }
    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,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGZpbGw9ImN1cnJlbnRDb2xvciIgY2xhc3M9ImJpIGJpLWNhc2gtY29pbiIgdmlld0JveD0iMCAwIDE2IDE2Ij48cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0xMSAxNWE0IDQgMCAxIDAgMC04IDQgNCAwIDAgMCAwIDhtNS00YTUgNSAwIDEgMS0xMCAwIDUgNSAwIDAgMSAxMCAwIi8+PHBhdGggZD0iTTkuNDM4IDExLjk0NGMuMDQ3LjU5Ni41MTggMS4wNiAxLjM2MyAxLjExNnYuNDRoLjM3NXYtLjQ0M2MuODc1LS4wNjEgMS4zODYtLjUyOSAxLjM4Ni0xLjIwNyAwLS42MTgtLjM5LS45MzYtMS4wOS0xLjFsLS4yOTYtLjA3di0xLjJjLjM3Ni4wNDMuNjE0LjI0OC42NzEuNTMyaC42NThjLS4wNDctLjU3NS0uNTQtMS4wMjQtMS4zMjktMS4wNzNWOC41aC0uMzc1di40NWMtLjc0Ny4wNzMtMS4yNTUuNTIyLTEuMjU1IDEuMTU4IDAgLjU2Mi4zNzguOTIgMS4wMDcgMS4wNjZsLjI0OC4wNjF2MS4yNzJjLS4zODQtLjA1OC0uNjM5LS4yNy0uNjk2LS41NjNoLS42Njh6bTEuMzYtMS4zNTRjLS4zNjktLjA4NS0uNTY5LS4yNi0uNTY5LS41MjIgMC0uMjk0LjIxNi0uNTE0LjU3Mi0uNTc4djEuMWgtLjAwM3ptLjQzMi43NDZjLjQ0OS4xMDQuNjU1LjI3Mi42NTUuNTY5IDAgLjMzOS0uMjU3LjU3MS0uNzA5LjYxNHYtMS4xOTVsLjA1NC4wMTJ6Ii8+PHBhdGggZD0iTTEgMGExIDEgMCAwIDAtMSAxdjhhMSAxIDAgMCAwIDEgMWg0LjA4M2MuMDU4LS4zNDQuMTQ1LS42NzguMjU4LTFIM2EyIDIgMCAwIDAtMi0yVjNhMiAyIDAgMCAwIDItMmgxMGEyIDIgMCAwIDAgMiAydjMuNTI4Yy4zOC4zNC43MTcuNzI4IDEgMS4xNTRWMWExIDEgMCAwIDAtMS0xeiIvPjxwYXRoIGQ9Ik05Ljk5OCA1LjA4MyAxMCA1YTIgMiAwIDEgMC0zLjEzMiAxLjY1IDUuOTgyIDUuOTgyIDAgMCAxIDMuMTMtMS41Njd6Ii8+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() { 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 })
], IconCashCoinComponent.prototype, "scale", void 0);
__decorate([
    property({ type: String, reflect: true })
], IconCashCoinComponent.prototype, "scheme", void 0);
//# sourceMappingURL=cash-coin.js.map