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 { LitElement, html, css, unsafeCSS } from 'lit';
import { property } from 'lit/decorators.js';
import { classMap } from 'lit/directives/class-map.js';
export const ICON_BILIBILI = 'icon-bilibili';
export class IconBilibiliComponent extends LitElement {
    static { this.styles = css `:host {--icon-width: calc(var(--size-md) * 2);--icon-height: calc(var(--size-md) * 2);--icon-color: none;--icon-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA1MTIgNTEyIj48IS0tISBGb250IEF3ZXNvbWUgRnJlZSA2LjQuMCBieSBAZm9udGF3ZXNvbWUgLSBodHRwczovL2ZvbnRhd2Vzb21lLmNvbSBMaWNlbnNlIC0gaHR0cHM6Ly9mb250YXdlc29tZS5jb20vbGljZW5zZS9mcmVlIChJY29uczogQ0MgQlkgNC4wLCBGb250czogU0lMIE9GTCAxLjEsIENvZGU6IE1JVCBMaWNlbnNlKSBDb3B5cmlnaHQgMjAyMyBGb250aWNvbnMsIEluYy4gLS0+PHBhdGggZD0iTTQ4OC42IDEwNC4xQzUwNS4zIDEyMi4yIDUxMyAxNDMuOCA1MTEuOSAxNjkuOFYzNzIuMkM1MTEuNSAzOTguNiA1MDIuNyA0MjAuMyA0ODUuNCA0MzcuM0M0NjguMiA0NTQuMyA0NDYuMyA0NjMuMiA0MTkuOSA0NjRIOTIuMDJDNjUuNTcgNDYzLjIgNDMuODEgNDU0LjIgMjYuNzQgNDM2LjhDOS42ODIgNDE5LjQg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MTg1LjUgMjE2LjVDMTkxLjggMjIyLjggMTk1LjIgMjMwLjYgMTk1LjYgMjM5LjdWMjczQzE5NS4yIDI4Mi4yIDE5MS45IDI4OS45IDE4NS44IDI5Ni4yQzE3OS42IDMwMi41IDE3MS44IDMwNS43IDE2Mi4yIDMwNS43QzE1Mi42IDMwNS43IDE0NC43IDMwMi41IDEzOC42IDI5Ni4yQzEzMi41IDI4OS45IDEyOS4yIDI4Mi4yIDEyOC44IDI3M1YyMzkuN0MxMjkuMiAyMzAuNiAxMzIuNiAyMjIuOCAxMzguOSAyMTYuNUMxNDUuMiAyMTAuMiAxNTIuMSAyMDYuOSAxNjIuMiAyMDYuNUMxNzEuNCAyMDYuOSAxNzkuMiAyMTAuMiAxODUuNSAyMTYuNUgxODUuNXpNMzc3IDIxNi41QzM4My4zIDIyMi44IDM4Ni43IDIzMC42IDM4Ny4xIDIzOS43VjI3M0MzODYuNyAyODIuMiAzODMuNCAyODkuOSAzNzcuMyAyOTYuMkMzNzEuMiAzMDIuNSAzNjMuMyAzMDUuNyAzNTMuNyAzMDUuN0MzNDQuMSAzMDUuNyAzMzYuMyAzMDIuNSAzMzAuMSAyOTYuMkMzMjMuMSAyODkuOSAzMjAuNyAyODIuMiAzMjAuNCAyNzNWMjM5LjdDMzIwLjcgMjMwLjYgMzI0LjEgMjIyLjggMzMwLjQgMjE2LjVDMzM2LjcgMjEwLjIgMzQ0LjUgMjA2LjkgMzUzLjcgMjA2LjVDMzYyLjkgMjA2LjkgMzcwLjcgMjEwLjIgMzc3IDIxNi41SDM3N3oiLz48L3N2Zz4=');}:host {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);}.recolor {background: var(--icon-color);-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;}.${unsafeCSS("dynamic" /* Colors.Dynamic */)}{--icon-color: var(--color-foreground);}.${unsafeCSS("primary" /* Colors.Primary */)}{--icon-color: var(--color-primary);}.${unsafeCSS("secondary" /* Colors.Secondary */)}{--icon-color: var(--color-secondary);}.${unsafeCSS("tertiary" /* Colors.Tertiary */)}{--icon-color: var(--color-tertiary);}.${unsafeCSS("success" /* Colors.Success */)}{--icon-color: var(--color-success);}.${unsafeCSS("warning" /* Colors.Warning */)}{--icon-color: var(--color-warning);}.${unsafeCSS("danger" /* Colors.Danger */)}{--icon-color: var(--color-danger);}.${unsafeCSS("light" /* Colors.Light */)}{--icon-color: var(--color-light);}.${unsafeCSS("medium" /* Colors.Medium */)}{--icon-color: var(--color-medium);}.${unsafeCSS("dark" /* Colors.Dark */)}{--icon-color: var(--color-dark);}.${unsafeCSS("gradient-primary" /* Colors.GradientPrimary */)}{--icon-color: var(--gradient-primary);}.${unsafeCSS("gradient-secondary" /* Colors.GradientSecondary */)}{--icon-color: var(--gradient-secondary);}.${unsafeCSS("gradient-tertiary" /* Colors.GradientTertiary */)}{--icon-color: var(--gradient-tertiary);}.${unsafeCSS("gradient-success" /* Colors.GradientSuccess */)}{--icon-color: var(--gradient-success);}.${unsafeCSS("gradient-warning" /* Colors.GradientWarning */)}{--icon-color: var(--gradient-warning);}.${unsafeCSS("gradient-danger" /* Colors.GradientDanger */)}{--icon-color: var(--gradient-danger);}.${unsafeCSS("gradient-light" /* Colors.GradientLight */)}{--icon-color: var(--gradient-light);}.${unsafeCSS("gradient-medium" /* Colors.GradientMedium */)}{--icon-color: var(--gradient-medium);}.${unsafeCSS("gradient-dark" /* Colors.GradientDark */)}{--icon-color: var(--gradient-dark);}.${unsafeCSS("xs" /* Sizes.XS */)}{--icon-width: calc(var(--size-xs) * 2);--icon-height: calc(var(--size-xs) * 2);}.${unsafeCSS("sm" /* Sizes.SM */)}{--icon-width: var(--size-sm);--icon-height: var(--size-sm);}.${unsafeCSS("lg" /* Sizes.LG */)}{--icon-width: var(--size-lg);--icon-height: var(--size-lg);}.${unsafeCSS("xl" /* Sizes.XL */)}{--icon-width: calc(var(--size-xl) * 1.25);--icon-height: calc(var(--size-xl) * 1.25);}.${unsafeCSS("xxl" /* Sizes.XXL */)}{--icon-width: calc(var(--size-xxl) * 1.5);--icon-height: calc(var(--size-xxl) * 1.5);}`; }
    render() { return html `<i part="icon" class=${classMap({ recolor: !!this.color, [this.color]: !!this.color, [this.size]: !!this.size })}></i>`; }
}
__decorate([
    property({ type: String })
], IconBilibiliComponent.prototype, "size", void 0);
__decorate([
    property({ type: String })
], IconBilibiliComponent.prototype, "color", void 0);
//# sourceMappingURL=bilibili.js.map