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 IconPersonDrowningComponent = class IconPersonDrowningComponent extends TiniElement {
    static { this.defaultTagName = 'icon-person-drowning'; }
    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,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA1NzYgNTEyIj48cGF0aCBkPSJNMTkyIDY0YzAtMTcuNy0xNC4zLTMyLTMyLTMycy0zMiAxNC4zLTMyIDMydjMyLjJjMCA1NC4xIDIzLjUgMTA0IDYyLjIgMTM4LjNsLTIxIDE0Ni43YzcuOCAyLjEgMTUuNSAzLjMgMjIuOCAzLjMgMjEuMSAwIDQyLTguNSA1OS4yLTIwLjMgMjIuMS0xNS41IDUxLjYtMTUuNSA3My43IDAgMTIuNCA4LjUgMjYuMSAxNC44IDM5LjcgMThsMTcuNy05Ny42YzEwLjctMS4yIDIxLjMtMy4xIDMxLjktNS41bDEwNS0yMy45YzE3LjItMy45IDI4LTIxLjEgMjQuMS0zOC4zcy0yMS4xLTI4LTM4LjMtMjQuMWwtMTA1IDIzLjhjLTQxIDkuMy04My43IDcuNS0xMjMuNy01LjItNTAuMi0xNi04NC4zLTYyLjYtODQuMy0xMTUuM1Y2NHptMTI4IDEyOGE2NCA2NCAwIDEgMCAwLTEyOCA2NCA2NCAwIDEgMCAwIDEyOHptLTEzLjUgMTk3LjljLTExLjEtNy45LTI1LjktNy45LTM3IDAtMjIuNSAxNS41LTUwIDI2LjEtNzcuNSAyNi4xLTI2LjkgMC01NS4zLTEwLjgtNzcuNC0yNi4xLTExLjktOC41LTI4LjEtNy44LTM5LjIgMS43LTE0LjQgMTEuOS0zMi41IDIxLTUwLjYgMjUuMi0xNy4yIDQtMjcuOSAyMS4yLTIzLjkgMzguNHMyMS4yIDI3LjkgMzguNCAyMy45YzI0LjUtNS43IDQ0LjktMTYuNSA1OC4yLTI1IDI5IDE1LjYgNjEuNSAyNS45IDk0LjUgMjUuOSAzMS45IDAgNjAuNi05LjkgODAuNC0xOC45IDUuOC0yLjcgMTEuMS01LjMgMTUuNi03LjcgNC41IDIuNCA5LjcgNS4xIDE1LjYgNy43IDE5LjggOSA0OC41IDE4LjkgODAuNCAxOC45IDMzIDAgNjUuNS0xMC4zIDk0LjUtMjUuOCAxMy40IDguNCAzMy43IDE5LjMgNTguMiAyNSAxNy4yIDQgMzQuNC02LjcgMzguNC0yMy45cy02LjctMzQuNC0yMy45LTM4LjRjLTE4LjEtNC4yLTM2LjItMTMuMy01MC42LTI1LjItMTEuMS05LjQtMjcuMy0xMC4xLTM5LjItMS43LTIyIDE1LjItNTAuNSAyNi03Ny40IDI2LTI3LjUgMC01NS0xMC42LTc3LjUtMjYuMXoiLz48L3N2Zz4=');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 })
], IconPersonDrowningComponent.prototype, "scale", void 0);
__decorate([
    property({ type: String, reflect: true })
], IconPersonDrowningComponent.prototype, "scheme", void 0);
IconPersonDrowningComponent = __decorate([
    customElement('icon-person-drowning')
], IconPersonDrowningComponent);
export { IconPersonDrowningComponent };
//# sourceMappingURL=person-drowning.include.js.map