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 { customElement } from 'lit/decorators.js';
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';
let IconUsersRaysComponent = class IconUsersRaysComponent extends TiniElement {
    static { this.defaultTagName = 'icon-users-rays'; }
    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,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA2NDAgNTEyIj48cGF0aCBkPSJNNDEgN0MzMS42LTIuMyAxNi40LTIuMyA3IDdzLTkuMyAyNC42IDAgMzRsNzIgNzJjOS40IDkuNCAyNC42IDkuNCAzMy45IDBzOS40LTI0LjYgMC0zMy45TDQxIDd6bTU1OCAwLTcyIDcyYy05LjQgOS40LTkuNCAyNC42IDAgMzMuOXMyNC42IDkuNCAzMy45IDBsNzItNzJjOS40LTkuNCA5LjQtMjQuNiAwLTMzLjlTNjA4LjMtMi40IDU5OSA3ek03IDUwNWM5LjQgOS40IDI0LjYgOS40IDMzLjkgMGw3Mi03MmM5LjQtOS40IDkuNC0yNC42IDAtMzMuOXMtMjQuNi05LjQtMzMuOSAwTDcgNDcxYy05LjQgOS40LTkuNCAyNC42IDAgMzMuOXptNTkyIDBjOS40IDkuNCAyNC42IDkuNCAzMy45IDBzOS40LTI0LjYgMC0zMy45bC03Mi03MmMtOS40LTkuNC0yNC42LTkuNC0zMy45IDBzLTkuNCAyNC42IDAgMzMuOWw3MiA3MnpNMzIwIDI1NmE2NCA2NCAwIDEgMCAwLTEyOCA2NCA2NCAwIDEgMCAwIDEyOHptLTEwNy45IDgwYy0yLjcgNy41LTQuMSAxNS42LTQuMSAyNCAwIDEzLjMgMTAuNyAyNCAyNCAyNGgxNzZjMTMuMyAwIDI0LTEwLjcgMjQtMjQgMC04LjQtMS40LTE2LjUtNC4xLTI0LS41LTEuNC0xLTIuNy0xLjYtNC05LjQtMjIuMy0yOS44LTM4LjktNTQuMy00My0zLjktLjctNy45LTEtMTItMWgtODBjLTQuMSAwLTguMS4zLTEyIDEtLjguMS0xLjcuMy0yLjUuNS0yNC45IDUuMS00NS4xIDIzLTUzLjQgNDYuNXptLTM2LjMtMTEyYTQ4IDQ4IDAgMSAwIDAtOTYgNDggNDggMCAxIDAgMCA5NnptLTI2LjUgMzJjLTI5LjQgMC01My4zIDIzLjktNTMuMyA1My4zIDAgMTQuNyAxMS45IDI2LjcgMjYuNyAyNi43aDU2LjFjOC0zNC4xIDMyLjgtNjEuNyA2NS4yLTczLjYtNy41LTQuMS0xNi4yLTYuNC0yNS4zLTYuNGgtNjkuNHptMzY4IDgwYzE0LjcgMCAyNi43LTExLjkgMjYuNy0yNi43IDAtMjkuNS0yMy45LTUzLjMtNTMuMy01My4zaC02OS40Yy05LjIgMC0xNy44IDIuMy0yNS4zIDYuNCAzMi40IDExLjkgNTcuMiAzOS41IDY1LjIgNzMuNmg1Ni4xek00NjQgMjI0YTQ4IDQ4IDAgMSAwIDAtOTYgNDggNDggMCAxIDAgMCA5NnoiLz48L3N2Zz4=');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 })
], IconUsersRaysComponent.prototype, "scale", void 0);
__decorate([
    property({ type: String, reflect: true })
], IconUsersRaysComponent.prototype, "scheme", void 0);
IconUsersRaysComponent = __decorate([
    customElement('icon-users-rays')
], IconUsersRaysComponent);
export { IconUsersRaysComponent };
//# sourceMappingURL=users-rays.include.js.map