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 React from 'react';
import { createComponent } from '@lit-labs/react';
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 class IconYammerComponent extends TiniElement {
    static { this.defaultTagName = 'icon-yammer'; }
    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,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA1MTIgNTEyIj48cGF0aCBkPSJNNTAwLjY3NiAxNTkuNDg2YTEyLjc3OSAxMi43NzkgMCAwIDAtNi40LTguMjgyIDEzLjk1NCAxMy45NTQgMCAwIDAtMTAuMDc4LTEuMTI1TDQ1Ny44IDE1Ni43bC0uMDQzLS4yLTIyLjMgNS43ODUtMS4yNDMuMzMzLS42MDgtMi4xN0EzNjkuMDM3IDM2OS4wMzcgMCAwIDAgMzQ3LjUzOCA0LjI4OWExNC4xIDE0LjEgMCAwIDAtMTkuNzg0LS40NjNsLTEwMi45IDEwMi43NDdIMjQuOTQ3QTI0LjkgMjQuOSAwIDAgMCAwIDEzMS40MTdWMzgwLjM4YTI0Ljk2MyAyNC45NjMgMCAwIDAgMjQuOTE4IDI0LjloMjAwLjA2OEwzMjguMDcyIDUwOGExMy42NjcgMTMuN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NXYtLjA0M2wtLjAxNC4wMTRhMzQ3LjE5IDM0Ny4xOSAwIDAgMS02MC4xNzcgOTUuMjI3bC04Mi4yLTgxLjg5M2gxOS4xNzdhMjQuOTc4IDI0Ljk3OCAwIDAgMCAyNC45NDctMjQuOXYtNjYuMmwxMTQuNiAyOS44NjJhMzg1LjE5MSAzODUuMTkxIDAgMCAxLTE2LjMzIDQ3LjkzM1ptODQtNTIuNDUuMDE1LjAxNC01MC42MTgtMTMuMTMxTDI5OS4zNzkgMjkyLjF2LTcyLjUyOGwxMTkuNzQ2LTMwLjk5IDQuNDY4LTEuMTU3IDM5LjU0LTEwLjI1MyAxOC41MTEtNC44MTZhMzkzIDM5MyAwIDAgMSAwIDE2Ny4xNzJaIi8+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(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 })
], IconYammerComponent.prototype, "scale", void 0);
__decorate([
    property({ type: String, reflect: true })
], IconYammerComponent.prototype, "scheme", void 0);
export const IconYammer = createComponent({
    tagName: IconYammerComponent.defaultTagName,
    elementClass: IconYammerComponent,
    react: React,
});
//# sourceMappingURL=yammer.js.map