PageSourceSearch

https://070810.xyz/frontend_latest/93888.91e3d9b6332c4273.js

js 070810.xyz collected 2026-10-10 04:31:58 UTC 3,358 bytes, 2 lines download raw bytes

1export const __rspack_esm_id=93888;export const __rspack_esm_ids=[93888];export const __webpack_modules__={69283(i,a,s){s.a(i,async function(i,e){try{s.r(a);s(47144),s(89542);var t=s(89797),o=s(20686),r=s(32379),n=s(19741),d=s(86075),c=s(17118),p=s(24201),h=s(690),l=s(7067),m=s(58506),_=s(34756),g=s(37334),v=(s(79994),s(96091),s(74039),i([g]));g=(v.then?(await v)():v)[0];const y="M3 6H21V4H3C1.9 4 1 4.9 1 6V18C1 19.1 1.9 20 3 20H7V18H3V6M13 12H9V13.78C8.39 14.33 8 15.11 8 16C8 16.89 8.39 17.67 9 18.22V20H13V18.22C13.61 17.67 14 16.88 14 16S13.61 14.33 13 13.78V12M11 17.5C10.17 17.5 9.5 16.83 9.5 16S10.17 14.5 11 14.5 12.5 15.17 12.5 16 11.83 17.5 11 17.5M22 8H16C15.5 8 15 8.5 15 9V19C15 19.5 15.5 20 16 20H22C22.5 20 23 19.5 23 19V9C23 8.5 22.5 8 22 8M21 18H17V10H21V18Z";class u extends o.WF{async showDialog(i){this._params=i,this._open=!0,this._loadConfigEntries()}async _loadConfigEntries(){const i=await(0,l.VN)(this.hass);this._configEntryLookup=Object.fromEntries(i.map(i=>[i.entry_id,i]))}closeDialog(){return this._open=!1,!0}_dialogClosed(){this._params=void 0,(0,d.r)(this,"dialog-closed",{dialog:this.localName})}_pick(i){const a=i.target.closest("ha-list-item-button");a?.deviceId&&(this._params?.onResolved(a.deviceId),this.closeDialog())}render(){return this._params&&this.hass?o.qy` <ha-dialog .open=${this._open} .headerTitle=${this.hass.localize("ui.components.device-picker.replaced_dialog.title")} @closed=${this._dialogClosed}> <p class="description"> ${this.hass.localize("ui.components.device-picker.replaced_dialog.description")} </p> <ha-list-base @click=${this._pick}> ${this._items(this._params.candidates,this._params.primaryId,this.hass.devices,this.hass.areas,this._configEntryLookup).map(i=>{const a=[i.area,i.domainName,i.isPrimary?this.hass.localize("ui.components.device-picker.replaced_dialog.recommended"):void 0].filter(Boolean).join(" • ");return o.qy` <ha-list-item-button .deviceId=${i.deviceId}> ${i.domain?o.qy`<img slot="start" alt="" crossorigin="anonymous" referrerpolicy="no-referrer" src=${(0,_.MR)({domain:i.domain,type:"icon",darkOptimized:this.hass.themes?.darkMode},this.hass.auth.data.hassUrl)} />`:o.qy`<ha-svg-icon slot="start" .path=${y}></ha-svg-icon>`} <span slot="headline">${i.name}</span> ${a?o.qy`<span slot="supporting-text">${a}</span>`:o.s6} </ha-list-item-button> `})} </ha-list-base> </ha-dialog> `:o.s6}constructor(...i){super(...i),this._open=!1,this._items=(0,n.A)((i,a,s,e,t)=>i.map(i=>{const o=s[i],r=o?(0,h.q)(o,e,s):void 0,n=o?.primary_config_entry?t?.[o.primary_config_entry]:void 0;return{deviceId:i,name:o?(0,p.xn)(o):i,area:r?(0,c.A)(r):void 0,domain:n?.domain,domainName:n?(0,m.p$)(this.hass.localize,n.domain):void 0,isPrimary:i===a}}))}}u.styles=o.AH`ha-dialog{--dialog-content-padding:0;--ha-row-item-padding-inline:var(--ha-space-6)}.description{padding:0 var(--ha-space-6) var(--ha-space-4);color:var(--secondary-text-color);margin:0}img[slot=start]{width:24px;height:24px}`,(0,t.Cg)([(0,r.wk)()],u.prototype,"_params",void 0),(0,t.Cg)([(0,r.wk)()],u.prototype,"_open",void 0),(0,t.Cg)([(0,r.wk)()],u.prototype,"_configEntryLookup",void 0),(0,t.Cg)([(0,r.MZ)({attribute:!1})],u.prototype,"hass",void 0),u=(0,t.Cg)([(0,r.EM)("dialog-device-replaced")],u),s.d(a,{DialogDeviceReplaced:()=>u}),e()}catch(i){e(i)}})}};
2//# sourceMappingURL=93888.91e3d9b6332c4273.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.