!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("lit"),require("lit/decorators.js"),require("lit/directives/class-map.js"));else if("function"==typeof define&&define.amd)define(["lit","lit/decorators.js","lit/directives/class-map.js"],t);else{var o="object"==typeof exports?t(require("lit"),require("lit/decorators.js"),require("lit/directives/class-map.js")):t(e.lit,e["lit/decorators.js"],e["lit/directives/class-map.js"]);for(var r in o)("object"==typeof exports?exports:e)[r]=o[r]}}(self,(e,t,o)=>(()=>{"use strict";var r,i={2369(e,t,o){o.r(t),o.d(t,{Label:()=>r});var r,i=o(9609),l=o(4084),s=o(7161),a=o(429),p=o(5125),n=o(3970),d=function(e,t,o,r){var i,l=arguments.length,s=l<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,r);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(l<3?i(s):l>3?i(t,o,s):i(t,o))||s);return l>3&&s&&Object.defineProperty(t,o,s),s};!function(e){let t=class extends s.LitElement{constructor(){super(...arguments),this.label="",this.theme="",this.radioLabel=!1,this.checkboxLabel=!1,this.toggleSwitchLabel=!1,this.htmlFor="",this.active=!1,this.disabled=!1,this.indeterminate=!1,this.secondaryLabel=!1}static get styles(){return[l.A,n.A]}setFocus(){this.dispatchEvent(new CustomEvent("setFocus"))}get labelClassMap(){return{[`md-label--${this.theme}`]:!!this.theme,"md-radio__label":this.radioLabel,"md-checkbox__label":this.checkboxLabel,"md-secondary-label":this.secondaryLabel,active:this.active,disabled:this.disabled,indeterminate:this.indeterminate}}handleClick(){this.setFocus(),this.dispatchEvent(new CustomEvent("label-click",{composed:!0,bubbles:!0,detail:{htmlFor:this.htmlFor}}))}render(){return s.html`
        <label @click=${this.handleClick} class="md-label ${(0,p.classMap)(this.labelClassMap)}" for="${this.htmlFor}">
          ${this.label?s.html` <span>${this.label}</span> `:s.html` <slot></slot> `}
        </label>
      `}};d([(0,a.property)({type:String})],t.prototype,"label",void 0),d([(0,a.property)({type:String})],t.prototype,"theme",void 0),d([(0,a.property)({type:Boolean})],t.prototype,"radioLabel",void 0),d([(0,a.property)({type:Boolean})],t.prototype,"checkboxLabel",void 0),d([(0,a.property)({type:Boolean})],t.prototype,"toggleSwitchLabel",void 0),d([(0,a.property)({type:String})],t.prototype,"htmlFor",void 0),d([(0,a.property)({type:Boolean})],t.prototype,"active",void 0),d([(0,a.property)({type:Boolean})],t.prototype,"disabled",void 0),d([(0,a.property)({type:Boolean})],t.prototype,"indeterminate",void 0),d([(0,a.property)({type:Boolean})],t.prototype,"secondaryLabel",void 0),t=d([(0,i.w)("md-label")],t),e.ELEMENT=t}(r||(r={}))},7161(t){t.exports=e},429(e){e.exports=t},5125(e){e.exports=o}},l={};function s(e){var t=l[e];if(void 0!==t)return t.exports;var o=l[e]={exports:{}};return i[e](o,o.exports,s),o.exports}s.m=i,r=[],s.O=(e,t,o,i)=>{if(!t){var l=1/0;for(d=0;d<r.length;d++){for(var[t,o,i]=r[d],a=!0,p=0;p<t.length;p++)(!1&i||l>=i)&&Object.keys(s.O).every(e=>s.O[e](t[p]))?t.splice(p--,1):(a=!1,i<l&&(l=i));if(a){r.splice(d--,1);var n=o();void 0!==n&&(e=n)}}return e}i=i||0;for(var d=r.length;d>0&&r[d-1][2]>i;d--)r[d]=r[d-1];r[d]=[t,o,i]},s.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return s.d(t,{a:t}),t},s.d=(e,t)=>{for(var o in t)s.o(t,o)&&!s.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},s.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),s.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e={2369:0,4928:0};s.O.j=t=>0===e[t];var t=(t,o)=>{var r,i,[l,a,p]=o,n=0;if(l.some(t=>0!==e[t])){for(r in a)s.o(a,r)&&(s.m[r]=a[r]);if(p)var d=p(s)}for(t&&t(o);n<l.length;n++)i=l[n],s.o(e,i)&&e[i]&&e[i][0](),e[i]=0;return s.O(d)},o=self["momentum-web-components-[id]"]=self["momentum-web-components-[id]"]||[];o.forEach(t.bind(null,0)),o.push=t.bind(null,o.push.bind(o))})();var a=s.O(void 0,[9609,4084,3970],()=>s(2369));return s.O(a)})());