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