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