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