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/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 IconUsersGearComponent extends TiniElement {
    static { this.defaultTagName = 'icon-users-gear'; }
    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,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA2NDAgNTEyIj48cGF0aCBkPSJNMTQ0IDE2MGE4MCA4MCAwIDEgMCAwLTE2MCA4MCA4MCAwIDEgMCAwIDE2MHptMzY4IDBhODAgODAgMCAxIDAgMC0xNjAgODAgODAgMCAxIDAgMCAxNjB6TTAgMjk4LjdDMCAzMTAuNCA5LjYgMzIwIDIxLjMgMzIwaDIxNC4xYy0yNi42LTIzLjUtNDMuMy01Ny44LTQzLjMtOTYgMC03LjYuNy0xNSAxLjktMjIuMy0xMy42LTYuMy0yOC43LTkuNy00NC42LTkuN2gtNDIuN0M0Ny44IDE5MiAwIDIzOS44IDAgMjk4Ljd6TTMyMCAzMjBjMjQgMCA0NS45LTguOCA2Mi43LTIzLjMgMi41LTMuNyA1LjItNy4zIDgtMTAuNyAyLjctMy4zIDUuNy02LjEgOS04LjNDNDEwIDI2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uNi0xNy41cy0uNi0xMS45LTEuNi0xNy42bDE4LjItMTAuNXpNNDcyIDM4NGE0MCA0MCAwIDEgMSA4MCAwIDQwIDQwIDAgMSAxLTgwIDB6Ii8+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(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 })
], IconUsersGearComponent.prototype, "scale", void 0);
__decorate([
    property({ type: String, reflect: true })
], IconUsersGearComponent.prototype, "scheme", void 0);
export const IconUsersGear = createComponent({
    tagName: IconUsersGearComponent.defaultTagName,
    elementClass: IconUsersGearComponent,
    react: React,
});
//# sourceMappingURL=users-gear.react.js.map