PageSourceSearch

https://ross146.com/frontend_latest/24683.5f1a2415d7028c59.js

js ross146.com collected 2026-09-28 01:54:53 UTC 3,054 bytes, 2 lines download raw bytes

1export const __webpack_ids__=["24683"];export const __webpack_modules__={42515:function(a,t,s){s.d(t,{v:()=>i});const i=async(a,t)=>{if(navigator.clipboard)try{return void await navigator.clipboard.writeText(a)}catch{}const s=t??document.body,i=document.createElement("textarea");i.value=a,s.appendChild(i),i.select(),document.execCommand("copy"),s.removeChild(i)}},72953:function(a,t,s){var i=s(73742),o=s(98334),e=s(59048),d=s(26292),n=s(14e3);class r extends o.Button{}r.styles=[n.W,e.iv`::slotted([slot=icon]){margin-inline-start:0px;margin-inline-end:8px;direction:var(--direction);display:block}.mdc-button{height:var(--button-height,36px)}.trailing-icon{display:flex}.slot-container{overflow:var(--button-slot-container-overflow,visible)}:host([destructive]){--mdc-theme-primary:var(--error-color)}`],r=(0,i.__decorate)([(0,d.Mo)("ha-button")],r)},34360:function(a,t,s){s(81738),s(6989);var i=s(73742),o=s(59048),e=s(26292),d=s(39884),n=s(83378),r=(s(72953),s(35982)),l=s(42515);const c=()=>Promise.all([s.e("63873"),s.e("15139"),s.e("92570")]).then(s.bind(s,40418));class p extends o.oi{async showDialog(a){this._params=a}closeDialog(){return this._params=void 0,(0,d.B)(this,"dialog-closed",{dialog:this.localName}),!0}async _copyToClipboard(){this._params&&(await(0,l.v)(JSON.stringify(this._params.entry)),(0,r.C)(this,{message:this.hass.localize("ui.common.copied_clipboard")}))}_showRawData(a,t){return s=>{var i,o;s.preventDefault(),i=this,o={key:a,data:t},(0,d.B)(i,"show-dialog",{dialogTag:"dialog-ssdp-raw-data",dialogImport:c,dialogParams:o})}}render(){return this._params?o.dy` <ha-dialog open @closed="${this.closeDialog}" .heading="${(0,n.i)(this.hass,this.hass.localize("ui.panel.config.ssdp.discovery_information"))}"> <p> <b>${this.hass.localize("ui.panel.config.ssdp.name")}</b>: ${this._params.entry.name} <br> <b>${this.hass.localize("ui.panel.config.ssdp.ssdp_st")}</b>: ${this._params.entry.ssdp_st} <br> <b>${this.hass.localize("ui.panel.config.ssdp.ssdp_location")}</b>: ${this._params.entry.ssdp_location} </p> <h4>${this.hass.localize("ui.panel.config.ssdp.ssdp_headers")}</h4> <table width="100%"> <tbody> ${Object.entries(this._params.entry.ssdp_headers).map(([a,t])=>o.dy` <tr> <td><b>${a}</b></td> <td>${t}</td> </tr> `)} </tbody> </table> <h4>${this.hass.localize("ui.panel.config.ssdp.upnp")}</h4> <table width="100%"> <tbody> ${Object.entries(this._params.entry.upnp).map(([a,t])=>o.dy` <tr> <td><b>${a}</b></td> <td> ${"object"==typeof t&&null!==t?o.dy`<a href="#" @click="${this._showRawData(a,t)}">${this.hass.localize("ui.panel.config.ssdp.show_raw_data")}</a>`:t} </td> </tr> `)} </tbody> </table> <ha-button slot="secondaryAction" @click="${this._copyToClipboard}"> ${this.hass.localize("ui.panel.config.ssdp.copy_to_clipboard")} </ha-button> </ha-dialog> `:o.Ld}}(0,i.__decorate)([(0,e.Cb)({attribute:!1})],p.prototype,"hass",void 0),(0,i.__decorate)([(0,e.SB)()],p.prototype,"_params",void 0),p=(0,i.__decorate)([(0,e.Mo)("dialog-ssdp-device-info")],p)}};
2//# sourceMappingURL=24683.5f1a2415d7028c59.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.