export const __rspack_esm_id=544;export const __rspack_esm_ids=[544];export const __webpack_modules__={82691(t,e,s){s.a(t,async function(t,a){try{s.r(e);var o=s(15697),i=s(57527),n=s(79224),r=s(90789),c=s(148),u=s(55682),h=s(41107),_=s(50303),l=t([u]);u=(l.then?(await l)():l)[0];class d extends i.WF{setConfig(t){this._config=t}render(){if(!this.hass||!this._config)return i.s6;const t=this.context?.entity_id?this.hass.states[this.context.entity_id]:void 0,e=!!t&&(0,h.$)(t,_.vj.VOLUME_MUTE),s={type:"media-player-volume-buttons",step:this._config.step??5,show_mute_button:this._config.show_mute_button??!0},a=this._schema(e);return i.qy` <ha-form .hass=${this.hass} .data=${s} .schema=${a} .computeLabel=${this._computeLabelCallback} @value-changed=${this._valueChanged}></ha-form> `}_valueChanged(t){(0,c.r)(this,"config-changed",{config:t.detail.value})}constructor(...t){super(...t),this._schema=(0,r.A)(t=>[{name:"step",selector:{number:{mode:"slider",step:1,min:1,max:100,unit_of_measurement:"%"}}},{name:"show_mute_button",disabled:!t,selector:{boolean:{}}}]),this._computeLabelCallback=t=>this.hass.localize(`ui.panel.lovelace.editor.features.types.media-player-volume-buttons.${t.name}`)}}(0,o.Cg)([(0,n.MZ)({attribute:!1})],d.prototype,"hass",void 0),(0,o.Cg)([(0,n.MZ)({attribute:!1})],d.prototype,"context",void 0),(0,o.Cg)([(0,n.wk)()],d.prototype,"_config",void 0),d=(0,o.Cg)([(0,n.EM)("hui-media-player-volume-buttons-card-feature-editor")],d),s.d(e,{HuiMediaPlayerVolumeButtonsCardFeatureEditor:()=>d}),a()}catch(t){a(t)}})}};
//# sourceMappingURL=544.33b3e8ae23b1e9f5.js.map