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_DRIBBBLE = 'icon-dribbble';
export class IconDribbbleComponent 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+PHBhdGggZD0iTTI1NiA4QzExOS4yNTIgOCA4IDExOS4yNTIgOCAyNTZzMTExLjI1MiAyNDggMjQ4IDI0OCAyNDgtMTExLjI1MiAyNDgtMjQ4UzM5Mi43NDggOCAyNTYgOHptMTYzLjk3IDExNC4zNjZjMjkuNTAzIDM2LjA0NiA0Ny4zNjkgODEuOTU3IDQ3LjgzNSAxMzEuOTU1LTYuOTg0LTEuNDc3LTc3LjAxOC0xNS42ODItMTQ3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MgNjYuMzgtMTAuNjI2IDEyNC43IDYuNzY4IDEzMS45NDcgOS4wNTUtOS40NDIgNTguOTQxLTQzLjI3MyAxMDkuODQ0LTkwLjc5NSAxNDEuOTc4eiIvPjwvc3ZnPg==');}: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 })
], IconDribbbleComponent.prototype, "size", void 0);
__decorate([
    property({ type: String })
], IconDribbbleComponent.prototype, "color", void 0);
//# sourceMappingURL=dribbble.js.map