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