export const __webpack_esm_id__=2369;export const __webpack_esm_ids__=[2369,4750];export const __webpack_esm_modules__={2369(e,t,o){var l,i=o(9609),r=o(4084),a=o(2927),s=o(8899),p=o(4955),c=o(3970),n=function(e,t,o,l){var i,r=arguments.length,a=r<3?t:null===l?l=Object.getOwnPropertyDescriptor(t,o):l;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,o,l);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(r<3?i(a):r>3?i(t,o,a):i(t,o))||a);return r>3&&a&&Object.defineProperty(t,o,a),a};!function(e){let t=class extends a.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[r.A,c.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 a.html`
        <label @click=${this.handleClick} class="md-label ${(0,p.classMap)(this.labelClassMap)}" for="${this.htmlFor}">
          ${this.label?a.html` <span>${this.label}</span> `:a.html` <slot></slot> `}
        </label>
      `}};n([(0,s.property)({type:String})],t.prototype,"label",void 0),n([(0,s.property)({type:String})],t.prototype,"theme",void 0),n([(0,s.property)({type:Boolean})],t.prototype,"radioLabel",void 0),n([(0,s.property)({type:Boolean})],t.prototype,"checkboxLabel",void 0),n([(0,s.property)({type:Boolean})],t.prototype,"toggleSwitchLabel",void 0),n([(0,s.property)({type:String})],t.prototype,"htmlFor",void 0),n([(0,s.property)({type:Boolean})],t.prototype,"active",void 0),n([(0,s.property)({type:Boolean})],t.prototype,"disabled",void 0),n([(0,s.property)({type:Boolean})],t.prototype,"indeterminate",void 0),n([(0,s.property)({type:Boolean})],t.prototype,"secondaryLabel",void 0),t=n([(0,i.w)("md-label")],t),e.ELEMENT=t}(l||(l={}))}};