export const __rspack_esm_id="88031";export const __rspack_esm_ids=["88031"];export const __webpack_modules__={17282(e,t,a){a.r(t),a.d(t,{HuiMediaPlayerVolumeButtonsCardFeatureEditor:()=>c});var s=a(62826),o=a(96196),i=a(44457),r=a(22786),n=a(1087);a(52763);class c extends o.WF{setConfig(e){this._config=e}render(){if(!this.hass||!this._config)return o.s6;const e={type:"media-player-volume-buttons",step:this._config.step??5},t=this._schema();return o.qy` <ha-form .hass="${this.hass}" .data="${e}" .schema="${t}" .computeLabel="${this._computeLabelCallback}" @value-changed="${this._valueChanged}"></ha-form> `}_valueChanged(e){(0,n.r)(this,"config-changed",{config:e.detail.value})}constructor(...e){super(...e),this._schema=(0,r.A)(()=>[{name:"step",selector:{number:{mode:"slider",step:1,min:1,max:100,unit_of_measurement:"%"}}}]),this._computeLabelCallback=e=>this.hass.localize(`ui.panel.lovelace.editor.features.types.media-player-volume-buttons.${e.name}`)}}(0,s.Cg)([(0,i.MZ)({attribute:!1})],c.prototype,"hass",void 0),(0,s.Cg)([(0,i.MZ)({attribute:!1})],c.prototype,"context",void 0),(0,s.Cg)([(0,i.wk)()],c.prototype,"_config",void 0),c=(0,s.Cg)([(0,i.EM)("hui-media-player-volume-buttons-card-feature-editor")],c)}};
//# sourceMappingURL=88031.d2c1605e52bac24f.js.map