!function(t,e){if("object"==typeof exports&&"object"==typeof module)module.exports=e(require("lit"),require("lit/decorators.js"),require("lit/directives/class-map.js"),require("lit/directives/if-defined.js"));else if("function"==typeof define&&define.amd)define(["lit","lit/decorators.js","lit/directives/class-map.js","lit/directives/if-defined.js"],e);else{var i="object"==typeof exports?e(require("lit"),require("lit/decorators.js"),require("lit/directives/class-map.js"),require("lit/directives/if-defined.js")):e(t.lit,t["lit/decorators.js"],t["lit/directives/class-map.js"],t["lit/directives/if-defined.js"]);for(var r in i)("object"==typeof exports?exports:t)[r]=i[r]}}(self,(t,e,i,r)=>(()=>{"use strict";var o,s={7901(t,e,i){i.r(e),i.d(e,{Badge:()=>r});var r,o=i(9609),s=i(4084),d=i(7161),l=i(429),p=i(5125),n=i(291),a=i(4958),h=i(3543),c=function(t,e,i,r){var o,s=arguments.length,d=s<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)d=Reflect.decorate(t,e,i,r);else for(var l=t.length-1;l>=0;l--)(o=t[l])&&(d=(s<3?o(d):s>3?o(e,i,d):o(e,i))||d);return s>3&&d&&Object.defineProperty(e,i,d),d};!function(t){let e=class extends d.LitElement{constructor(){super(...arguments),this.ariaLabel="",this.color="",this.bgColor="",this.textColor="",this.height="",this.width="",this.outlined=!1,this.compact=!1,this.circle=!1,this.circleSize=a.zj[40],this.small=!1,this.split=!1,this.disabled=!1,this.tabIndexing="",this.ariaHiddenSplits="",this.renderBgColor=()=>this.bgColor?`background-color: ${this.bgColor};`:d.nothing,this.renderTextColor=()=>this.textColor?`color: ${this.textColor};`:d.nothing,this.renderHeight=()=>this.height?`height: ${this.height};`:d.nothing,this.renderWidth=()=>this.width?`width: ${this.width};`:d.nothing,this.getStyles=()=>this.bgColor||this.textColor||this.height||this.width?d.html`
          <style>
            :host .md-badge {
              ${this.renderBgColor()};
              ${this.renderTextColor()};
              ${this.renderHeight()};
              ${this.renderWidth()};
            }
          </style>
        `:d.nothing}static get styles(){return[s.A,h.A]}get computedAriaHiddenSplits(){return"true"===this.ariaHiddenSplits||"false"!==this.ariaHiddenSplits&&void 0}get computedTabIndex(){const t=parseInt(this.tabIndexing);return isNaN(t)?void 0:t}render(){const t={"md-badge--circle":this.circle,[`md-badge--circle-${this.circleSize}`]:this.circle,"md-badge--split":this.split,"md-badge--compact":this.compact,"md-badge--small":this.small||24===this.size,[`md-badge--size-${this.size}`]:!!this.size&&24!==this.size,"md-badge--outline":this.outlined,"md-badge--disabled":this.disabled,[`md-badge--${this.color}`]:!this.disabled&&this.color};return d.html`
        ${this.getStyles()}
        <span
          tabindex=${(0,n.ifDefined)(this.computedTabIndex)}
          part="badge"
          class="md-badge ${(0,p.classMap)(t)}"
          aria-label=${this.ariaLabel}
        >
          ${this.split?(()=>d.html`
          <slot
            aria-hidden=${(0,n.ifDefined)(this.computedAriaHiddenSplits)}
            name="split-left"
            class="split split-left"
          ></slot>
          <span aria-hidden="true" class="split-separator"> | </span>
          <slot
            aria-hidden=${(0,n.ifDefined)(this.computedAriaHiddenSplits)}
            name="split-right"
            class="split split-right"
          ></slot>
        `)():d.nothing}
          <slot></slot>
        </span>
      `}};c([(0,l.property)({type:String})],e.prototype,"ariaLabel",void 0),c([(0,l.property)({type:String})],e.prototype,"color",void 0),c([(0,l.property)({type:String})],e.prototype,"bgColor",void 0),c([(0,l.property)({type:String})],e.prototype,"textColor",void 0),c([(0,l.property)({type:String})],e.prototype,"height",void 0),c([(0,l.property)({type:String})],e.prototype,"width",void 0),c([(0,l.property)({type:Boolean})],e.prototype,"outlined",void 0),c([(0,l.property)({type:Boolean})],e.prototype,"compact",void 0),c([(0,l.property)({type:Boolean})],e.prototype,"circle",void 0),c([(0,l.property)({type:Number,attribute:"circle-size"})],e.prototype,"circleSize",void 0),c([(0,l.property)({type:Number})],e.prototype,"size",void 0),c([(0,l.property)({type:Boolean})],e.prototype,"small",void 0),c([(0,l.property)({type:Boolean})],e.prototype,"split",void 0),c([(0,l.property)({type:Boolean})],e.prototype,"disabled",void 0),c([(0,l.property)({type:String})],e.prototype,"tabIndexing",void 0),c([(0,l.property)({type:String})],e.prototype,"ariaHiddenSplits",void 0),e=c([(0,o.w)("md-badge")],e),t.ELEMENT=e}(r||(r={}))},7161(e){e.exports=t},429(t){t.exports=e},5125(t){t.exports=i},291(t){t.exports=r}},d={};function l(t){var e=d[t];if(void 0!==e)return e.exports;var i=d[t]={exports:{}};return s[t](i,i.exports,l),i.exports}l.m=s,o=[],l.O=(t,e,i,r)=>{if(!e){var s=1/0;for(a=0;a<o.length;a++){for(var[e,i,r]=o[a],d=!0,p=0;p<e.length;p++)(!1&r||s>=r)&&Object.keys(l.O).every(t=>l.O[t](e[p]))?e.splice(p--,1):(d=!1,r<s&&(s=r));if(d){o.splice(a--,1);var n=i();void 0!==n&&(t=n)}}return t}r=r||0;for(var a=o.length;a>0&&o[a-1][2]>r;a--)o[a]=o[a-1];o[a]=[e,i,r]},l.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return l.d(e,{a:e}),e},l.d=(t,e)=>{for(var i in e)l.o(e,i)&&!l.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:e[i]})},l.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),l.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},(()=>{var t={8111:0};l.O.j=e=>0===t[e];var e=(e,i)=>{var r,o,[s,d,p]=i,n=0;if(s.some(e=>0!==t[e])){for(r in d)l.o(d,r)&&(l.m[r]=d[r]);if(p)var a=p(l)}for(e&&e(i);n<s.length;n++)o=s[n],l.o(t,o)&&t[o]&&t[o][0](),t[o]=0;return l.O(a)},i=self["momentum-web-components-[id]"]=self["momentum-web-components-[id]"]||[];i.forEach(e.bind(null,0)),i.push=e.bind(null,i.push.bind(i))})();var p=l.O(void 0,[9609,4084,3543,4958],()=>l(7901));return l.O(p)})());