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 { styleMap } from 'lit/directives/style-map.js';
import { TiniElement, partMap, VaryGroups, generateColorVaries, generateGradientVaries, generateScaleVaries } from 'tinijs';
export class IconCircleDollarToSlotComponent extends TiniElement {
    static { this.defaultTagName = 'icon-circle-dollar-to-slot'; }
    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,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA1MTIgNTEyIj48cGF0aCBkPSJNMzI2LjcgNDAzLjdjLTIyLjEgOC00NS45IDEyLjMtNzAuNyAxMi4zcy00OC43LTQuNC03MC43LTEyLjNjLS4zLS4xLS41LS4yLS44LS4zLTMwLTExLTU2LjgtMjguNy03OC42LTUxLjRDNzAgMzE0LjYgNDggMjYzLjkgNDggMjA4IDQ4IDkzLjEgMTQxLjEgMCAyNTYgMHMyMDggOTMuMSAyMDggMjA4YzAgNTUuOS0yMiAxMDYuNi01Ny45IDE0NC0xIDEtMiAyLjEtMyAzLjFhMjA4Ljc4IDIwOC43OCAwIDAgMS03Ni4zIDQ4LjZ6TTI1NiA5MS45Yy0xMS4xIDAtMjAuMSA5LTIwLjEgMjAuMXY2Yy01LjYgMS4yLTEwLjkgMi45LTE1LjkgNS4xLTE1IDYuOC0yNy45IDE5LjQtMzEuM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i4yYzI4LjItMTYuMyA1Mi44LTM4LjEgNzIuMi02NGgxNmMyNi41IDAgNDggMjEuNSA0OCA0OHY2NGMwIDI2LjUtMjEuNSA0OC00OCA0OEg0OGMtMjYuNSAwLTQ4LTIxLjUtNDgtNDh2LTY0YzAtMjYuNSAyMS41LTQ4IDQ4LTQ4eiIvPjwvc3ZnPg==');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 })
], IconCircleDollarToSlotComponent.prototype, "scale", void 0);
__decorate([
    property({ type: String, reflect: true })
], IconCircleDollarToSlotComponent.prototype, "scheme", void 0);
//# sourceMappingURL=circle-dollar-to-slot.js.map