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 { LitElement, html, css, unsafeCSS } from 'lit';
import { property } from 'lit/decorators.js';
import { classMap } from 'lit/directives/class-map.js';
export const ICON_KEYBASE = 'icon-keybase';
export let IconKeybaseComponent = class IconKeybaseComponent 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,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0NDggNTEyIj48IS0tISBGb250IEF3ZXNvbWUgRnJlZSA2LjQuMCBieSBAZm9udGF3ZXNvbWUgLSBodHRwczovL2ZvbnRhd2Vzb21lLmNvbSBMaWNlbnNlIC0gaHR0cHM6Ly9mb250YXdlc29tZS5jb20vbGljZW5zZS9mcmVlIChJY29uczogQ0MgQlkgNC4wLCBGb250czogU0lMIE9GTCAxLjEsIENvZGU6IE1JVCBMaWNlbnNlKSBDb3B5cmlnaHQgMjAyMyBGb250aWNvbnMsIEluYy4gLS0+PHBhdGggZD0iTTI4Ni4xNyA0MTlhMTggMTggMCAxIDAgMTggMTggMTggMTggMCAwIDAtMTgtMTh6bTExMS45Mi0xNDcuNmMtOS41LTE0LjYyLTM5LjM3LTUyLjQ1LTg3LjI2LTczLjcxcS05LjEtNC4wNi0xOC4zOC03LjI3YTc4LjQzIDc4LjQzIDAgMCAwLTQ3Ljg4LTEwNC4xM2MtMTIuNDEtNC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jM4LTEuMzRhMTIuMjggMTIuMjggMCAwIDEtMTEuNzYtMTIuNzlMMTA3IDExOWMxLTEyLjE3IDEzLjg3LTExLjI3IDEzLjI2LTExLjMybDI5LjExIDEuNzNhMTQ0LjM1IDE0NC4zNSAwIDAgMC03IDE5LjE3em0xNDguNDIgMTcyLjE4YTEwLjUxIDEwLjUxIDAgMCAxLTE0LjM1LTEuMzlsLTkuNjgtMTEuNDktMzQuNDIgMjdhOC4wOSA4LjA5IDAgMCAxLTExLjEzLTEuMDhsLTE1Ljc4LTE4LjY0YTcuMzggNy4zOCAwIDAgMSAxLjM0LTEwLjM0bDM0LjU3LTI3LjE4LTE0LjE0LTE2Ljc0LTE3LjA5IDEzLjQ1YTcuNzUgNy43NSAwIDAgMS0xMC41OS0xcy0zLjcyLTQuNDItMy44LTQuNTNhNy4zOCA3LjM4IDAgMCAxIDEuMzctMTAuMzRMMjE0IDIyNS4xOXMtMTguNTEtMjItMTguNi0yMi4xNGE5LjU2IDkuNTYgMCAwIDEgMS43NC0xMy40MiAxMC4zOCAxMC4zOCAwIDAgMSAxNC4zIDEuMzdsODEuMDkgOTYuMzJhOS41OCA5LjU4IDAgMCAxLTEuNzQgMTMuNDR6TTE4Ny40NCA0MTlhMTggMTggMCAxIDAgMTggMTggMTggMTggMCAwIDAtMTgtMTh6Ii8+PC9zdmc+');}: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 })
], IconKeybaseComponent.prototype, "size", void 0);
__decorate([
    property({ type: String })
], IconKeybaseComponent.prototype, "color", void 0);
IconKeybaseComponent = __decorate([
    customElement(ICON_KEYBASE)
], IconKeybaseComponent);
//# sourceMappingURL=keybase.import.js.map