1export const __rspack_esm_id=86313;export const __rspack_esm_ids=[86313];export const __webpack_modules__={32251(t,e,s){s.d(e,{},{B4:(t,e)=>({...t,customize:void 0!==t[e]}),KF:({field:t,customize:e,options:s})=>[{name:"customize",selector:{boolean:{}}},...e?[{name:t,selector:{select:{mode:"list",reorder:!0,multiple:!0,options:s}}}]:[]],fi:(t,e,s)=>{const{customize:i,...o}=t,a=o;return i&&!a[e]?a[e]=[...s]:i||delete a[e],a}})},26640(t,e,s){s.a(t,async function(t,i){try{s.r(e);s(18111),s(61701);var o=s(15697),a=s(57527),c=s(79224),r=s(90789),n=s(148),u=s(55682),h=s(32251),l=t([u]);u=(l.then?(await l)():l)[0];class d extends a.WF{setConfig(t){this._config=t}render(){if(!this.hass||!this._config)return a.s6;const t=this.context?.entity_id?this.hass.states[this.context.entity_id]:void 0,e=(0,h.B4)(this._config,"sources"),s=this._schema(t,e.customize);return a.qy` <ha-form .hass=${this.hass} .data=${e} .schema=${s} .computeLabel=${this._computeLabelCallback} @value-changed=${this._valueChanged}></ha-form> `}_valueChanged(t){const e=this.context?.entity_id?this.hass.states[this.context.entity_id]:void 0,s=e?.attributes.source_list??[],i=(0,h.fi)(t.detail.value,"sources",s);(0,n.r)(this,"config-changed",{config:i})}constructor(...t){super(...t),this._schema=(0,r.A)((t,e)=>(0,h.KF)({field:"sources",customize:e,options:t?.attributes.source_list?.map(e=>({value:e,label:this.hass.formatEntityAttributeValue(t,"source",e)}))??[]})),this._computeLabelCallback=t=>this.hass.localize(`ui.panel.lovelace.editor.features.types.media-player-source.${t.name}`)}}(0,o.Cg)([(0,c.MZ)({attribute:!1})],d.prototype,"hass",void 0),(0,o.Cg)([(0,c.MZ)({attribute:!1})],d.prototype,"context",void 0),(0,o.Cg)([(0,c.wk)()],d.prototype,"_config",void 0),d=(0,o.Cg)([(0,c.EM)("hui-media-player-source-card-feature-editor")],d),s.d(e,{HuiMediaPlayerSourceCardFeatureEditor:()=>d}),i()}catch(t){i(t)}})}}; 2//# sourceMappingURL=86313.6b3379997b3f01fc.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.