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 IconDatabaseXComponent extends TiniElement {
    static { this.defaultTagName = 'icon-database-x'; }
    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,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGZpbGw9ImN1cnJlbnRDb2xvciIgY2xhc3M9ImJpIGJpLWRhdGFiYXNlLXgiIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggZD0iTTEyLjA5NiA2LjIyM0E0LjkyIDQuOTIgMCAwIDAgMTMgNS42OThWN2MwIC4yODktLjIxMy42NTQtLjc1MyAxLjAwN2E0LjQ5MyA0LjQ5MyAwIDAgMSAxLjc1My4yNVY0YzAtMS4wMDctLjg3NS0xLjc1NS0xLjkwNC0yLjIyM0MxMS4wMjIgMS4yODkgOS41NzMgMSA4IDFzLTMuMDIyLjI4OS00LjA5Ni43NzdDMi44NzUgMi4yNDUgMiAyLjk5MyAyIDR2OWMwIDEuMDA3Ljg3NSAxLjc1NSAxLjkwNCAyLjIyM0M0Ljk3OCAxNS43MSA2LjQyNyAxNiA4IDE2Yy41MzYgMCAxLjA1OC0uMDM0IDEuNTU1LS4wOTdhNC41MjUgN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S41IDAgMCAxIC43MDguNzA4bC0uNjQ3LjY0Ni42NDcuNjQ2YS41LjUgMCAwIDEtLjcwOC43MDhsLS42NDYtLjY0Ny0uNjQ2LjY0N2EuNS41IDAgMCAxLS43MDgtLjcwOGwuNjQ3LS42NDYtLjY0Ny0uNjQ2YS41LjUgMCAwIDEgLjcwOC0uNzA4Ii8+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 })
], IconDatabaseXComponent.prototype, "scale", void 0);
__decorate([
    property({ type: String, reflect: true })
], IconDatabaseXComponent.prototype, "scheme", void 0);
//# sourceMappingURL=database-x.js.map