/*! For license information please see 31745.9df3f3be5a9b03b6.js.LICENSE.txt */
export const __rspack_esm_id="31745";export const __rspack_esm_ids=["31745"];export const __webpack_modules__={9270(t,e,o){function r(t,e,o){if(void 0!==e)return function(t,e,o){const r=t.constructor;if(!o){const t=`__${e}`;if(!(o=r.getPropertyDescriptor(e,t)))throw new Error("@ariaProperty must be used after a @property decorator")}const a=o;let i="";if(!a.set)throw new Error(`@ariaProperty requires a setter for ${e}`);if(t.dispatchWizEvent)return o;const n={configurable:!0,enumerable:!0,set(t){if(""===i){const t=r.getPropertyOptions(e);i="string"==typeof t.attribute?t.attribute:e}this.hasAttribute(i)&&this.removeAttribute(i),a.set.call(this,t)}};return a.get&&(n.get=function(){return a.get.call(this)}),n}(t,e,o);throw new Error("@ariaProperty only supports TypeScript Decorators")}o.d(e,{T:()=>r})},90409(t,e,o){o.d(e,{A:()=>r});o(18111),o(61701);function r(t){const e=t.split(":").map(Number);return 3600*e[0]+60*e[1]+e[2]}},21018(t,e,o){o.a(t,async function(t,r){try{o.d(e,{YH:()=>h,hZ:()=>c,ww:()=>p});o(17642),o(58004),o(33853),o(45876),o(32475),o(15024),o(31698);var a=o(67066),i=o(34128),n=t([a]);a=(n.then?(await n)():n)[0];const s=new Set(["error","entity"]),l={"entity-filter":()=>o.e("4994").then(o.bind(o,95417)),"state-label":()=>o.e("52396").then(o.bind(o,22087)),"power-total":()=>Promise.all([o.e("92610"),o.e("77183"),o.e("90529")]).then(o.bind(o,12150)),"gas-total":()=>Promise.all([o.e("92610"),o.e("77183"),o.e("55737")]).then(o.bind(o,70346)),"water-total":()=>Promise.all([o.e("92610"),o.e("77183"),o.e("40203")]).then(o.bind(o,61844))},c=t=>(0,i.Vd)("badge",t,s,l,void 0,"entity"),h=t=>(0,i.Ue)("badge",t,s,l,void 0,"entity"),p=t=>(0,i.gh)(t,"badge",s,l);r()}catch(t){r(t)}})},28019(t,e,o){o.a(t,async function(t,r){try{o.r(e);var a=o(62826),i=o(96196),n=o(97735),s=o(99774),l=o(29994),c=t([l]);l=(c.then?(await c)():c)[0];class h extends i.WF{willUpdate(t){if(this.hasUpdated){if(t.has("hass")){const e=t.get("hass");e&&e.localize!==this.hass.localize&&this._setLovelace()}}else this._setup()}async _setup(){await this.hass.loadFragmentTranslation("lovelace"),this._setLovelace()}render(){return this._lovelace?i.qy` <hui-root .hass="${this.hass}" .narrow="${this.narrow}" .lovelace="${this._lovelace}" .route="${this.route}" .panel="${this.panel}" no-edit></hui-root> `:i.s6}_setLovelace(){const t={views:[{type:"panel",cards:[{type:"empty-state",content_only:!0,icon:"mdi:lock",title:this.hass.localize("ui.panel.notfound.no_access_title"),content:this.hass.localize("ui.panel.notfound.no_access_content"),buttons:[{text:this.hass.localize("ui.panel.notfound.no_access_go_to_profile"),tap_action:{action:"navigate",navigation_path:"/profile/general"}}]}]}]};this._lovelace={config:t,rawConfig:t,editMode:!1,urlPath:s.Oi,mode:"generated",locale:this.hass.locale,enableFullEditMode:()=>{},saveConfig:async()=>{},deleteConfig:async()=>{},setEditMode:()=>{},showToast:()=>{}}}constructor(...t){super(...t),this.narrow=!1}}(0,a.Cg)([(0,n.MZ)({attribute:!1})],h.prototype,"hass",void 0),(0,a.Cg)([(0,n.MZ)({type:Boolean})],h.prototype,"narrow",void 0),(0,a.Cg)([(0,n.MZ)({attribute:!1})],h.prototype,"route",void 0),(0,a.Cg)([(0,n.MZ)({attribute:!1})],h.prototype,"panel",void 0),(0,a.Cg)([(0,n.wk)()],h.prototype,"_lovelace",void 0),h=(0,a.Cg)([(0,n.EM)("ha-panel-notfound")],h),r()}catch(t){r(t)}})},71786(t,e,o){var r=o(97735),a=o(9395),i=o(12754),n=o(96196).AH`:host{--color:var(--wa-color-surface-border);--width:var(--wa-border-width-s);--spacing:var(--wa-space-m)}:host(:not([orientation=vertical])){display:block;border-top:solid var(--width) var(--color);margin:var(--spacing) 0}:host([orientation=vertical]){display:inline-block;height:100%;border-inline-start:solid var(--width) var(--color);margin:0 var(--spacing);min-block-size:1lh}`,s=Object.defineProperty,l=Object.getOwnPropertyDescriptor,c=(t,e,o,r)=>{for(var a,i=r>1?void 0:r?l(e,o):e,n=t.length-1;n>=0;n--)(a=t[n])&&(i=(r?a(e,o,i):a(i))||i);return r&&i&&s(e,o,i),i};let h=class extends i.A{connectedCallback(){super.connectedCallback(),this.setAttribute("role","separator")}handleVerticalChange(){this.setAttribute("aria-orientation",this.orientation)}constructor(){super(...arguments),this.orientation="horizontal"}};h.css=n,c([(0,r.MZ)({reflect:!0})],h.prototype,"orientation",2),c([(0,a.w)("orientation")],h.prototype,"handleVerticalChange",1),h=c([(0,r.EM)("wa-divider")],h)}};
//# sourceMappingURL=31745.9df3f3be5a9b03b6.js.map