1export const __webpack_ids__=["2492"];export const __webpack_modules__={42515:function(t,o,e){e.d(o,{v:()=>a});const a=async(t,o)=>{if(navigator.clipboard)try{return void await navigator.clipboard.writeText(t)}catch{}const e=o??document.body,a=document.createElement("textarea");a.value=t,e.appendChild(a),a.select(),document.execCommand("copy"),e.removeChild(a)}},72953:function(t,o,e){var a=e(73742),i=e(98334),s=e(59048),r=e(26292),n=e(14e3);class c extends i.Button{}c.styles=[n.W,s.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)}`],c=(0,a.__decorate)([(0,r.Mo)("ha-button")],c)},68487:function(t,o,e){e.r(o);e(81738),e(6989);var a=e(73742),i=e(59048),s=e(26292),r=e(39884),n=e(83378),c=(e(72953),e(35982)),l=e(42515);class d extends i.oi{async showDialog(t){this._params=t}closeDialog(){return this._params=void 0,(0,r.B)(this,"dialog-closed",{dialog:this.localName}),!0}async _copyToClipboard(){this._params&&(await(0,l.v)(JSON.stringify(this._params.entry)),(0,c.C)(this,{message:this.hass.localize("ui.common.copied_clipboard")}))}render(){return this._params?i.dy` <ha-dialog open @closed="${this.closeDialog}" .heading="${(0,n.i)(this.hass,this.hass.localize("ui.panel.config.zeroconf.discovery_information"))}"> <p> <b>${this.hass.localize("ui.panel.config.zeroconf.name")}</b>: ${this._params.entry.name.slice(0,-this._params.entry.type.length-1)} <br> <b>${this.hass.localize("ui.panel.config.zeroconf.type")}</b>: ${this._params.entry.type} <br> <b>${this.hass.localize("ui.panel.config.zeroconf.port")}</b>: ${this._params.entry.port} <br> </p> <h4>${this.hass.localize("ui.panel.config.zeroconf.ip_addresses")}</h4> <table width="100%"> <tbody> ${this._params.entry.ip_addresses.map(t=>i.dy` <tr> <td>${t}</td> </tr> `)} </tbody> </table> <h4>${this.hass.localize("ui.panel.config.zeroconf.properties")}</h4> <table width="100%"> <tbody> ${Object.entries(this._params.entry.properties).map(([t,o])=>i.dy` <tr> <td><b>${t}</b></td> <td>${o}</td> </tr> `)} </tbody> </table> <ha-button slot="secondaryAction" @click="${this._copyToClipboard}">${this.hass.localize("ui.panel.config.zeroconf.copy_to_clipboard")}</ha-button> </ha-dialog> `:i.Ld}}(0,a.__decorate)([(0,s.Cb)({attribute:!1})],d.prototype,"hass",void 0),(0,a.__decorate)([(0,s.SB)()],d.prototype,"_params",void 0),d=(0,a.__decorate)([(0,s.Mo)("dialog-zeroconf-device-info")],d)}}; 2//# sourceMappingURL=2492.7d92e887d036f083.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.