PageSourceSearch

https://070810.xyz/frontend_latest/92681.8b66d624ff63752f.js

js 070810.xyz collected 2026-10-10 04:32:15 UTC 11,153 bytes, 3 lines download raw bytes

1/*! For license information please see 92681.8b66d624ff63752f.js.LICENSE.txt */
2export const __rspack_esm_id=92681;export const __rspack_esm_ids=[92681];export const __webpack_modules__={26419(t,e,s){s(47144),s(8021),s(89542);function i(t){if(!t||"object"!=typeof t)return t;if("[object Date]"==Object.prototype.toString.call(t))return new Date(t.getTime());if(Array.isArray(t))return t.map(i);var e={};return Object.keys(t).forEach(function(s){e[s]=i(t[s])}),e}s.d(e,{A:()=>i})},65738(t,e,s){const i=()=>Boolean(`${location.protocol}//${location.host}`)&&`${location.protocol}//${location.host}`!==location.origin;s.d(e,{},{e:i,x:t=>i()?new URL(t,`${location.protocol}//${location.host}`).toString():t})},32971(t,e,s){s(97700),s(24791),s(77809),s(92653);var i=s(65738);const r=new Set([502,503,504]);s.d(e,{},{EZ:t=>(0,i.x)(`/api/hassio/${t}`),Tv:t=>!!(t&&t.status_code&&r.has(t.status_code))||!(!t||!t.message||!t.message.includes("ERR_CONNECTION_CLOSED")&&!t.message.includes("ERR_CONNECTION_RESET")),VR:t=>"object"==typeof t?"object"==typeof t.body?t.body.message||"Unknown error, see supervisor logs":t.body||t.message||"Unknown error, see supervisor logs":t,lE:async(t,e)=>t({type:"supervisor/api",endpoint:`/${e}/stats`,method:"get"})})},26610(t,e,s){s.d(e,{},{G:async t=>t.callWS({type:"supervisor/api",endpoint:"/hardware/audio",method:"get"}),m:async t=>t.callWS({type:"supervisor/api",endpoint:"/hardware/info",method:"get"})})},5898(t,e,s){s.a(t,async function(t,i){try{s.r(e);s(47144),s(65337),s(89542);var r=s(89797),o=s(1763),a=s(20686),n=s(32379),c=s(53960),h=s(19741),d=s(32971),l=s(26610),u=s(7915),p=s(83757),_=s(13156),f=t([p]);p=(f.then?(await f)():f)[0];class v extends a.WF{firstUpdated(){this._load()}render(){return a.qy` <hass-tabs-subpage-data-table .hass=${this.hass} .narrow=${this.narrow} back-path="/config/system" .route=${this.route} .tabs=${(0,_.hardwareTabs)(this.hass)} clickable .columns=${this._columns(this.hass.localize)} .loading=${this._loading} .data=${this._hardware?this._data(this._hardware):[]} .noDataText=${this._error||this.hass.localize("ui.panel.config.hardware.loading_system_data")} @row-click=${this._handleRowClicked}></hass-tabs-subpage-data-table> `}async _load(){try{this._hardware=await(0,l.m)(this.hass)}catch(t){this._error=(0,d.VR)(t)}finally{this._loading=!1}}_handleRowClicked(t){const e=t.detail.id,s=this._hardware?.devices.find(t=>t.dev_path===e);s&&(0,u.showAlertDialog)(this,{title:s.name,subtitle:this.hass.localize("ui.panel.config.hardware.system_hardware.attributes"),text:a.qy`${(0,c.T)(this._renderHaCodeEditor(s))}`})}async _renderHaCodeEditor(t){return await Promise.all([s.e(54076),s.e(61346),s.e(346),s.e(33263)]).then(s.bind(s,43545)),a.qy`<ha-code-editor mode="yaml" .value=${(0,o.dump)(t.attributes,{indent:2})} read-only></ha-code-editor>`}constructor(...t){super(...t),this.narrow=!1,this._loading=!0,this._columns=(0,h.A)(t=>({name:{title:t("ui.panel.config.hardware.system_hardware.name"),main:!0,sortable:!0,filterable:!0,flex:2},dev_path:{title:t("ui.panel.config.hardware.system_hardware.device_path"),sortable:!0,filterable:!0,flex:2},by_id:{title:t("ui.panel.config.hardware.system_hardware.id"),sortable:!0,filterable:!0,flex:2},subsystem:{title:t("ui.panel.config.hardware.system_hardware.subsystem"),sortable:!0,filterable:!0,flex:1},attributes_string:{title:"",filterable:!0,hidden:!0}})),this._data=(0,h.A)(t=>t.devices.map(t=>({...t,id:t.dev_path,attributes_string:Object.entries(t.attributes).map(([t,e])=>`${t}: ${e}`).join(" ")})))}}v.styles=a.AH`ha-code-editor{direction:var(--direction)}`,(0,r.Cg)([(0,n.MZ)({attribute:!1})],v.prototype,"hass",void 0),(0,r.Cg)([(0,n.MZ)({type:Boolean})],v.prototype,"narrow",void 0),(0,r.Cg)([(0,n.MZ)({attribute:!1})],v.prototype,"route",void 0),(0,r.Cg)([(0,n.wk)()],v.prototype,"_hardware",void 0),(0,r.Cg)([(0,n.wk)()],v.prototype,"_error",void 0),(0,r.Cg)([(0,n.wk)()],v.prototype,"_loading",void 0),v=(0,r.Cg)([(0,n.EM)("ha-config-hardware-all")],v),i()}catch(t){i(t)}})},10293(t,e,s){var i=s(95807);t.exports=function(t,e,s){for(var r=0,o=arguments.length>2?s:i(e),a=new t(o);o>r;)a[r]=e[r++];return a}},51285(t,e,s){var i=s(1079),r=s(63027),o=s(52466),a=s(16674),n=s(43750),c=s(95807),h=s(40475),d=s(10293),l=Array,u=r([].push);t.exports=function(t,e,s,r){for(var p,_,f,v=a(t),b=o(v),g=i(e,s),w=h(null),y=c(b),$=0;y>$;$++)f=b[$],(_=n(g(f,$,v)))in w?u(w[_],f):w[_]=[f];if(r&&(p=r(v))!==l)for(_ in w)w[_]=d(p,w[_]);return w}},40619(t,e,s){var i=s(11187),r=s(51285),o=s(18924);i({target:"Array",proto:!0},{group:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}}),o("group")},1021(t,e,s){var i=s(32379),r=s(99811),o=s(57065),a=s(20686).AH`:host{--color:var(--wa-color-surface-border);--width:var(--wa-border-width-s);--spacing:var(--wa-space-m)}:host(:not([orientation=vertical])){border-top:solid var(--width) var(--color);margin:var(--spacing) 0;display:block}:host([orientation=vertical]){border-inline-start:solid var(--width) var(--color);height:100%;margin:0 var(--spacing);min-block-size:1lh;display:inline-block}`,n=Object.defineProperty,c=Object.getOwnPropertyDescriptor,h=(t,e,s,i)=>{for(var r,o=i>1?void 0:i?c(e,s):e,a=t.length-1;a>=0;a--)(r=t[a])&&(o=(i?r(e,s,o):r(o))||o);return i&&o&&n(e,s,o),o};let d=class extends o.A{connectedCallback(){super.connectedCallback(),this.setAttribute("role","separator")}handleVerticalChange(){this.setAttribute("aria-orientation",this.orientation)}constructor(){super(...arguments),this.orientation="horizontal"}};d.css=a,h([(0,i.MZ)({reflect:!0})],d.prototype,"orientation",2),h([(0,r.w)("orientation")],d.prototype,"handleVerticalChange",1),d=h([(0,i.EM)("wa-divider")],d)},22509(t,e,s){s.d(e,{A:()=>d});var i=s(20686),r=s(32379),o=s(57065),a=i.AH`:host{--color:var(--wa-color-neutral-fill-normal);--sheen-color:color-mix(in oklab, var(--color), var(--wa-color-surface-raised));width:100%;height:100%;min-height:1rem;display:flex;position:relative}.indicator{background:var(--color);border-radius:var(--wa-border-radius-pill);flex:auto}:host([effect=sheen]) .indicator{background:linear-gradient(270deg, var(--sheen-color), var(--color), var(--color), var(--sheen-color));background-size:400% 100%;animation:8s ease-in-out infinite sheen}:host([effect=pulse]) .indicator{animation:2s ease-in-out .5s infinite pulse}@media (forced-colors:active){:host{--color:GrayText}}@keyframes sheen{0%{background-position:200% 0}to{background-position:-200% 0}}@keyframes pulse{0%{opacity:1}50%{opacity:.4}to{opacity:1}}`,n=Object.defineProperty,c=Object.getOwnPropertyDescriptor,h=(t,e,s,i)=>{for(var r,o=i>1?void 0:i?c(e,s):e,a=t.length-1;a>=0;a--)(r=t[a])&&(o=(i?r(e,s,o):r(o))||o);return i&&o&&n(e,s,o),o};let d=class extends o.A{render(){return i.qy` <div part="indicator" class="indicator"></div> `}constructor(){super(...arguments),this.effect="none"}};d.css=a,h([(0,r.MZ)({reflect:!0})],d.prototype,"effect",2),d=h([(0,r.EM)("wa-skeleton")],d)},82559(t,e,s){s.d(e,{q:()=>i,N:()=>r});s(34602),s(95637),s(14269),s(29319),s(87199);function i(t,e,s){const i=t=>Object.is(t,-0)?0:t;return i(t<e?e:t>s?s:t)}function r(t=""){return`${t}${((t=21)=>{let e="",s=crypto.getRandomValues(new Uint8Array(t|=0));for(;t--;)e+="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"[63&s[t]];return e})()}`}},58477(t,e,s){s(24791),s(77809),s(92653);var i=s(9332),r=s(25169);class o{handleChanges(t){this.value=this.callback?.(t,this.u)}hostConnected(){for(const t of this.t)this.observe(t)}hostDisconnected(){this.disconnect()}async hostUpdated(){!this.o&&this.i&&this.handleChanges([]),this.i=!1}observe(t){this.t.add(t),this.u.observe(t,this.l),this.i=!0,this.h.requestUpdate()}unobserve(t){this.t.delete(t),this.u.unobserve(t)}disconnect(){this.u.disconnect()}target(t){return a(this,t)}constructor(t,{target:e,config:s,callback:i,skipInitial:r}){this.t=new Set,this.o=!1,this.i=!1,this.h=t,null!==e&&this.t.add(e??t),this.l=s,this.o=r??this.o,this.callback=i,window.ResizeObserver?(this.u=new ResizeObserver(t=>{this.handleChanges(t),this.h.requestUpdate()}),t.addController(this)):console.warn("ResizeController error: browser does not support ResizeObserver.")}}const a=(0,r.u$)(class extends i.Kq{render(t,e){}update(t,[e,s]){this.controller=e,this.part=t,this.observe=s,!1===s?(e.unobserve(t.element),this.observing=!1):!1===this.observing&&(e.observe(t.element),this.observing=!0)}disconnected(){this.controller?.unobserve(this.part.element),this.observing=!1}reconnected(){!1!==this.observe&&!1===this.observing&&(this.controller?.observe(this.part.element),this.observing=!0)}constructor(){super(...arguments),this.observing=!1}});s.d(e,{P:()=>o})},9332(t,e,s){s(24791),s(77809),s(92653);var i=s(5617),r=s(25169);const o=(t,e)=>{const s=t._$AN;if(void 0===s)return!1;for(const t of s)t._$AO?.(e,!1),o(t,e);return!0},a=t=>{let e,s;do{if(void 0===(e=t._$AM))break;s=e._$AN,s.delete(t),t=e}while(0===s?.size)},n=t=>{for(let e;e=t._$AM;t=e){let s=e._$AN;if(void 0===s)e._$AN=s=new Set;else if(s.has(t))break;s.add(t),d(e)}};function c(t){void 0!==this._$AN?(a(this),this._$AM=t,n(this)):this._$AM=t}function h(t,e=!1,s=0){const i=this._$AH,r=this._$AN;if(void 0!==r&&0!==r.size)if(e)if(Array.isArray(i))for(let t=s;t<i.length;t++)o(i[t],!1),a(i[t]);else null!=i&&(o(i,!1),a(i));else o(this,t)}const d=t=>{t.type==r.OA.CHILD&&(t._$AP??=h,t._$AQ??=c)};class l extends r.WL{_$AT(t,e,s){super._$AT(t,e,s),n(this),this.isConnected=t._$AU}_$AO(t,e=!0){t!==this.isConnected&&(this.isConnected=t,t?this.reconnected?.():this.disconnected?.()),e&&(o(this,t),a(this))}setValue(t){if((0,i.Rt)(this._$Ct))this._$Ct._$AI(t,this);else{const e=[...this._$Ct._$AH];e[this._$Ci]=t,this._$Ct._$AI(e,this,0)}}disconnected(){}reconnected(){}constructor(){super(...arguments),this._$AN=void 0}}s.d(e,{Kq:()=>l})},22007(t,e,s){function*i(t,e){const s="function"==typeof e;if(void 0!==t){let i=-1;for(const r of t)i>-1&&(yield s?e(i):e),i++,yield r}}s.d(e,{f:()=>i})},53960(t,e,s){s.d(e,{T:()=>u});s(47144),s(65337);var i=s(62255),r=s(5617),o=s(9332);class a{disconnect(){this.G=void 0}reconnect(t){this.G=t}deref(){return this.G}constructor(t){this.G=t}}class n{get(){return this.Y}pause(){this.Y??=new Promise(t=>this.Z=t)}resume(){this.Z?.(),this.Y=this.Z=void 0}constructor(){this.Y=void 0,this.Z=void 0}}var c=s(25169);const h=t=>!(0,r.sO)(t)&&"function"==typeof t.then,d=1073741823;class l extends o.Kq{render(...t){return t.find(t=>!h(t))??i.c0}update(t,e){const s=this._$Cbt;let r=s.length;this._$Cbt=e;const o=this._$CK,a=this._$CX;this.isConnected||this.disconnected();for(let t=0;t<e.length&&!(t>this._$Cwt);t++){const i=e[t];if(!h(i))return this._$Cwt=t,i;
2t<r&&i===s[t]||(this._$Cwt=d,r=0,Promise.resolve(i).then(async t=>{for(;a.get();)await a.get();const e=o.deref();if(void 0!==e){const s=e._$Cbt.indexOf(i);s>-1&&s<e._$Cwt&&(e._$Cwt=s,e.setValue(t))}}))}return i.c0}disconnected(){this._$CK.disconnect(),this._$CX.pause()}reconnected(){this._$CK.reconnect(this),this._$CX.resume()}constructor(){super(...arguments),this._$Cwt=d,this._$Cbt=[],this._$CK=new a(this),this._$CX=new n}}const u=(0,c.u$)(l)}};
3//# sourceMappingURL=92681.8b66d624ff63752f.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.