export const __webpack_esm_id__=3477;export const __webpack_esm_ids__=[3477];export const __webpack_esm_modules__={3477(e,t,r){r.d(t,{C:()=>o}),r(1821);var o,p=r(9609),s=r(4084),i=r(2927),n=r(8899),c=r(4955),a=r(1618),l=r(4449),y=function(e,t,r,o){var p,s=arguments.length,i=s<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,t,r,o);else for(var n=e.length-1;n>=0;n--)(p=e[n])&&(i=(s<3?p(i):s>3?p(t,r,i):p(t,r))||i);return s>3&&i&&Object.defineProperty(t,r,i),i};!function(e){let t=class extends i.LitElement{constructor(){super(...arguments),this.name="",this.size=48,this.title="",this.color="",this.presenceType="",this.newMomentum=!1,this.failurePresence=!1,this.avatarLinked=!1}static get styles(){return[s.A,l.A]}get presenceClassMap(){return{"avatar-presence-wrapper":this.avatarLinked}}render(){if(this.presenceType){const{presenceIcon:e,presenceColor:t}=(0,a.E)(this.presenceType,this.failurePresence,this.newMomentum);this.name=e,this.color=t}return i.html`
        <div class="${(0,c.classMap)(this.presenceClassMap)}" data-size=${this.size} data-icon-size=${this.size}>
          <md-icon
            name="${this.name}"
            color="${this.color}"
            size=${this.size}
            title="${this.title}"
            .iconSet=${"momentumDesign"}
          >
          </md-icon>
        </div>
      `}};y([(0,n.property)({type:String})],t.prototype,"name",void 0),y([(0,n.property)({type:Number})],t.prototype,"size",void 0),y([(0,n.property)({type:String})],t.prototype,"title",void 0),y([(0,n.property)({type:String})],t.prototype,"color",void 0),y([(0,n.property)({type:String,attribute:"presence-type"})],t.prototype,"presenceType",void 0),y([(0,n.property)({type:Boolean})],t.prototype,"newMomentum",void 0),y([(0,n.property)({type:Boolean})],t.prototype,"failurePresence",void 0),y([(0,n.property)({type:Boolean})],t.prototype,"avatarLinked",void 0),t=y([(0,p.w)("md-presence")],t),e.ELEMENT=t}(o||(o={}))}};