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