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 React from 'react';
import { createComponent } from '@lit-labs/react';
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 IconNs8Component extends TiniElement {
    static { this.defaultTagName = 'icon-ns8'; }
    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,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA2NDAgNTEyIj48cGF0aCBkPSJNMTA0LjMyNCAyNjkuMTcyaDI2LjA2N3YtMjYuMTc4aC0yNi4wNjdabTUyLjQ2Ni0yNi4xNzgtLjA1NS0yNi4xNzh2LS45NDFhMzkuMzI1IDM5LjMyNSAwIDAgMC03OC42NDQuOTQxdi4xNjZoMjYuNHYtLjE2NmExMi45OCAxMi45OCAwIDAgMSAyNS45NTYgMHYyNi4xNzhabTUyLjM1NiAyNS44NDZhOTEuMSA5MS4xIDAgMCAxLTkxLjEgOTEuMWgtLjYwOWE5MS4xIDkxLjEgMCAwIDEtOTEuMS05MS4xSDB2LjE2NkExMTcuMzMgMTE3LjMzIDAgMCAwIDExNy40NCAzODYuMjhoLjc3NUExMTcuMzMxIDExNy4zMzEgMCAwIDAgMjM1LjQ5IDI2OC44NHYtMjYuMDEya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EzLjUtMTAuNTE1IDI0LjY4NC0xMC41MTUgMTEuMzQ1IDAgMjAuOTE5IDQuMTUgMjQuNjgzIDEwLjUxNVpNMzc2LjQgMjY1Ljk2MmwtNTkuODI3LTg5LjcxM2gtMjl2NDAuNjIzaDI2LjUxdi4zODdsNjIuNTM5IDk0LjA4NUg0MDIuM1YxNzYuMjQ5aC0yNS45WiIvPjwvc3ZnPg==');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 })
], IconNs8Component.prototype, "scale", void 0);
__decorate([
    property({ type: String, reflect: true })
], IconNs8Component.prototype, "scheme", void 0);
export const IconNs8 = createComponent({
    tagName: IconNs8Component.defaultTagName,
    elementClass: IconNs8Component,
    react: React,
});
//# sourceMappingURL=ns8.js.map