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 IconBrowserEdgeComponent extends TiniElement {
    static { this.defaultTagName = 'icon-browser-edge'; }
    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,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGZpbGw9ImN1cnJlbnRDb2xvciIgY2xhc3M9ImJpIGJpLWJyb3dzZXItZWRnZSIgdmlld0JveD0iMCAwIDE2IDE2Ij48cGF0aCBkPSJNOS40ODIgOS4zNDFjLS4wNjkuMDYyLS4xNy4xNTMtLjE3LjMwOSAwIC4xNjIuMTA3LjMyNS4zLjQ1Ni44NzcuNjEzIDIuNTIxLjU0IDIuNTkyLjUzOGguMDAyYy42NjcgMCAxLjMyLS4xOCAxLjg5NC0uNTE5QTMuODM4IDMuODM4IDAgMCAwIDE2IDYuODE5Yy4wMTgtMS4zMTYtLjQ0LTIuMjE4LS42NjYtMi42NjRsLS4wNC0uMDhDMTMuOTYzIDEuNDg3IDExLjEwNiAwIDggMEE4IDggMCAwIDAgLjQ3MyA1LjI5QzEuNDg4IDQuMDQ4IDMuMTgzIDMuMjYyIDUgMy4yNjJjMi44MyAwIDUuMDEgMS44ODUgNS4wMS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MDljLjg3Ny41NSAxLjcyMSAxLjA3OCAzLjMyOC45OTZaIi8+PC9zdmc+');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 })
], IconBrowserEdgeComponent.prototype, "scale", void 0);
__decorate([
    property({ type: String, reflect: true })
], IconBrowserEdgeComponent.prototype, "scheme", void 0);
//# sourceMappingURL=browser-edge.js.map