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