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 { html, css } from 'lit';
import { property } from 'lit/decorators.js';
import { classMap } from 'lit/directives/class-map.js';
import { TiniElement, partMap, VaryGroups, generateColorVaries, generateGradientVaries, generateScaleVaries } from 'tinijs';
export class IconTencentQqComponent extends TiniElement {
    static { this.defaultTagName = 'icon-tencent-qq'; }
    static { this.componentName = 'icon'; }
    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,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGZpbGw9ImN1cnJlbnRDb2xvciIgY2xhc3M9ImJpIGJpLXRlbmNlbnQtcXEiIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggZD0iTTYuMDQ4IDMuMzIzYy4wMjIuMjc3LS4xMy41MjMtLjMzOC41NS0uMjEuMDI2LS4zOTctLjE3Ni0uNDE5LS40NTMtLjAyMi0uMjc3LjEzLS41MjMuMzM4LS41NS4yMS0uMDI2LjM5Ny4xNzYuNDIuNDUzWm0yLjI2NS0uMjRjLS42MDMtLjE0Ni0uODk0LjI1Ni0uOTM2LjMzMy0uMDI3LjA0OC0uMDA4LjExNy4wMzcuMTUuMDQ1LjAzNS4wOTIuMDI1LjExOS0uMDAzLjM2MS0uMzkuNzUxLS4xNzIuODI5LS4xMjlsLjAxMS4wMDdjLjA1My4wMjQuMTQ3LjAyOC4xOTMtLjA5OC4wMjMtLjA2My4wMTctLjExLS4wMDYtLj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SAzLjA0Mi42MDVabS00LjMyLS45ODljLS40ODMuMDIyLS44OTYtLjUyOS0uOTIyLTEuMjI5LS4wMjYtLjcuMzQ0LTEuMjg2LjgyOC0xLjMwOC40ODMtLjAyMi44OTYuNTI5LjkyMiAxLjIzLjAyNy43LS4zNDQgMS4yODYtLjgyNyAxLjMwN1ptMi41MzggMGMtLjQ4NC0uMDIyLS44NTQtLjYwNy0uODI4LTEuMzA4LjAyNy0uNy40NC0xLjI1LjkyMy0xLjIzLjQ4My4wMjMuODUzLjYwOC44MjcgMS4zMDktLjAyNi43LS40MzkgMS4yNTEtLjkyMiAxLjIzWk0yLjkyOCA4Ljk5Yy4yMTMuMDQyLjQyNi4wODEuNjM5LjExN3YyLjMzNnMxLjEwNC4yMjIgMi4yMS4wNjhWOS4zNjNjLjMyNi4wMTguNjQuMDI2LjkzNy4wMjNoLjAxN2MxLjExNy4wMTMgMi40NzQtLjEzNiAzLjc4Ni0uMzk2LjA5Ny42MjIuMTUxIDEuMzg2LjA5NyAyLjI4NC0uMTQ2IDIuNDUtMS42IDMuOTktMy44NDYgNC4wMTJoLS4wOTFjLTIuMjQ1LS4wMjMtMy43LTEuNTYyLTMuODQ2LTQuMDExLS4wNTQtLjkgMC0xLjY2My4wOTctMi4yODVaIi8+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() { this.extendRootClasses({ raw: { scheme: !!this.scheme }, overridable: { [VaryGroups.Scale]: this.scale, [VaryGroups.Scheme]: this.scheme } }); }
    render() { return html `<i class=${classMap(this.rootClasses)} part=${partMap(this.rootClasses)}></i>`; }
}
__decorate([
    property({ type: String, reflect: true })
], IconTencentQqComponent.prototype, "scale", void 0);
__decorate([
    property({ type: String, reflect: true })
], IconTencentQqComponent.prototype, "scheme", void 0);
//# sourceMappingURL=tencent-qq.js.map