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