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 IconBracesAsteriskComponent extends TiniElement {
    static { this.defaultTagName = 'icon-braces-asterisk'; }
    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,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGZpbGw9ImN1cnJlbnRDb2xvciIgY2xhc3M9ImJpIGJpLWJyYWNlcy1hc3RlcmlzayIgdmlld0JveD0iMCAwIDE2IDE2Ij48cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0xLjExNCA4LjA2M1Y3LjljMS4wMDUtLjEwMiAxLjQ5Ny0uNjE1IDEuNDk3LTEuNlY0LjUwM2MwLTEuMDk0LjM5LTEuNTM4IDEuMzU0LTEuNTM4aC4yNzNWMmgtLjM3NkMyLjI1IDIgMS40OSAyLjc1OSAxLjQ5IDQuMzUydjEuNTI0YzAgMS4wOTQtLjM3NiAxLjQ1Ni0xLjQ5IDEuNDU2djEuMjk5YzEuMTE0IDAgMS40OS4zNjIgMS40OSAxLjQ1NnYxLjUyNGMwIDEuNTkzLjc1OSAyLjM1MiAyLjM3MiAyLjM1MmguMzc2di0uOTY0aC0uMjczYy0uOTY0IDAtMS4zNTQtLjQ0NC0xLjM1NC0xLjUzOFY5LjY2M2MwLS45ODQtLjQ5Mi0xLjQ5Ny0xLjQ5Ny0xLjZaTTE0Ljg4NiA3Ljl2LjE2NGMtMS4wMDUuMTAzLTEuNDk3LjYxNi0xLjQ5NyAxLjZ2MS43OThjMCAxLjA5NC0uMzkgMS41MzgtMS4zNTQgMS41MzhoLS4yNzN2Ljk2NGguMzc2YzEuNjEzIDAgMi4zNzItLjc1OSAyLjM3Mi0yLjM1MnYtMS41MjRjMC0xLjA5NC4zNzYtMS40NTYgMS40OS0xLjQ1NnYtMS4zYy0xLjExNCAwLTEuNDktLjM2Mi0xLjQ5LTEuNDU2VjQuMzUyQzE0LjUxIDIuNzU5IDEzLjc1IDIgMTIuMTM4IDJoLS4zNzZ2Ljk2NGguMjczYy45NjQgMCAxLjM1NC40NDQgMS4zNTQgMS41MzhWNi4zYzAgLjk4NC40OTIgMS40OTcgMS40OTcgMS42TTcuNSAxMS41VjkuMjA3bC0xLjYyMSAxLjYyMS0uNzA3LS43MDdMNi43OTIgOC41SDQuNXYtMWgyLjI5M0w1LjE3MiA1Ljg3OWwuNzA3LS43MDdMNy41IDYuNzkyVjQuNWgxdjIuMjkzbDEuNjIxLTEuNjIxLjcwNy43MDdMOS4yMDggNy41SDExLjV2MUg5LjIwN2wxLjYyMSAxLjYyMS0uNzA3LjcwN0w4LjUgOS4yMDhWMTEuNXoiLz48L3N2Zz4=');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 })
], IconBracesAsteriskComponent.prototype, "scale", void 0);
__decorate([
    property({ type: String, reflect: true })
], IconBracesAsteriskComponent.prototype, "scheme", void 0);
//# sourceMappingURL=braces-asterisk.js.map