import*as t from"lit/directives/style-map.js";import*as e from"lit";import*as r from"@momentum-ui/utils/lib/getColorValue";import*as o from"lit/directives/if-defined.js";import*as i from"lit/directives/class-map.js";import*as s from"mobx";import*as a from"lit/decorators.js";import*as p from"@momentum-ui/icons/data/momentumUiIconsNames.json";var n,m,l={1156(e,r,o){var i,s;e.exports=(i={styleMap:()=>t.styleMap},s={},o.d(s,i),s)},2160(t,e,r){r.d(e,{q:()=>l,rx:()=>m,uo:()=>c}),r(5983),r(1821);var o=r(9609),i=r(4084),s=r(2927),a=r(8899),p=r(6616),n=function(t,e,r,o){var i,s=arguments.length,a=s<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,r,o);else for(var p=t.length-1;p>=0;p--)(i=t[p])&&(a=(s<3?i(a):s>3?i(e,r,a):i(e,r))||a);return s>3&&a&&Object.defineProperty(e,r,a),a};const m=["56","68","84",56,68,84],l=["chat","camera","contact-card","meetings","whiteboard","files","share-screen","tasks"];var c;!function(t){let e=class extends s.LitElement{constructor(){super(...arguments),this.ariaLabel="",this.disabled=!1,this.label="",this.size="68",this._type="chat"}get type(){return this._type}set type(t){const e=this.type;l.includes(t)?this._type=t:this._type="chat",this.requestUpdate("type",e)}get buttonToIconSizeMapping(){return{56:"24",68:"28",84:"36"}}get formatClass(){return{"md-activity":!0,[`md-activity__${this.type}`]:this.type}}static get styles(){return[i.A,p.A]}render(){return s.html`
        <md-button
          aria-label=${this.ariaLabel}
          circle
          .activityType=${this.type}
          ?containerLarge=${"84"===this.size}
          ?disabled=${this.disabled}
          .size=${this.size}
          .label=${this.label}
        >
          <md-icon name=${`icon-${this.type}_${this.buttonToIconSizeMapping[this.size]}`}></md-icon>
        </md-button>
      `}};n([(0,a.property)({type:String})],e.prototype,"ariaLabel",void 0),n([(0,a.property)({type:Boolean})],e.prototype,"disabled",void 0),n([(0,a.property)({type:String})],e.prototype,"label",void 0),n([(0,a.property)({type:String})],e.prototype,"size",void 0),n([(0,a.property)({type:String})],e.prototype,"type",null),e=n([(0,o.w)("md-activity-button")],e),t.ELEMENT=e}(c||(c={}))},2927(t,r,o){var i,s;t.exports=(i={LitElement:()=>e.LitElement,css:()=>e.css,html:()=>e.html,nothing:()=>e.nothing},s={},o.d(s,i),s)},3496(t,e,o){var i,s;t.exports=(i={default:()=>r.default},s={},o.d(s,i),s)},3517(t,e,r){var i,s;t.exports=(i={ifDefined:()=>o.ifDefined},s={},r.d(s,i),s)},4955(t,e,r){var o,s;t.exports=(o={classMap:()=>i.classMap},s={},r.d(s,o),s)},4980(t,e,r){var o,i;t.exports=(o={action:()=>s.action,observable:()=>s.observable},i={},r.d(i,o),i)},8899(t,e,r){var o,i;t.exports=(o={property:()=>a.property,query:()=>a.query,state:()=>a.state},i={},r.d(i,o),i)},9500(t,e,r){var o,i;t.exports=(o={default:()=>p.default},i={},r.d(i,o),i)}},c={};function d(t){var e=c[t];if(void 0!==e)return e.exports;var r=c[t]={exports:{}};return l[t](r,r.exports,d),r.exports}d.m=l,n=[],d.O=(t,e,r,o)=>{if(!e){var i=1/0;for(m=0;m<n.length;m++){for(var[e,r,o]=n[m],s=!0,a=0;a<e.length;a++)(!1&o||i>=o)&&Object.keys(d.O).every(t=>d.O[t](e[a]))?e.splice(a--,1):(s=!1,o<i&&(i=o));if(s){n.splice(m--,1);var p=r();void 0!==p&&(t=p)}}return t}o=o||0;for(var m=n.length;m>0&&n[m-1][2]>o;m--)n[m]=n[m-1];n[m]=[e,r,o]},d.d=(t,e)=>{for(var r in e)d.o(e,r)&&!d.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},d.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e);export{d as __webpack_require__};m={502:0,1745:0,2434:0,4545:0,4928:0,5369:0,6060:0,6920:0,8111:0,8442:0},d.C=t=>{var e,r,{__webpack_esm_ids__:o,__webpack_esm_modules__:i,__webpack_esm_runtime__:s}=t,a=0;for(e in i)d.o(i,e)&&(d.m[e]=i[e]);for(s&&s(d);a<o.length;a++)r=o[a],d.o(m,r)&&m[r]&&m[r][0](),m[o[a]]=0;d.O()},d.O.j=t=>0===m[t];import*as y from"../9609.js";d.C(y);import*as f from"../4084.js";d.C(f);import*as u from"../3305.js";d.C(u);import*as v from"../4739.js";d.C(v);import*as h from"../7154.js";d.C(h);import*as b from"../9773.js";d.C(b);import*as _ from"../5983.js";d.C(_);import*as g from"../9488.js";d.C(g);import*as j from"../1821.js";d.C(j);import*as x from"../519.js";d.C(x);var O=d.O(void 0,[9609,4084,3305,4739,7154,9773,5983,9488,1821,519],()=>d(2160));const C=(O=d.O(O)).uo,$=O.rx,z=O.q;export{C as ActivityButton,$ as activityButtonSize,z as activityButtonType};