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