export const __rspack_esm_id="68624";export const __rspack_esm_ids=["68624"];export const __webpack_modules__={28019(t,e,o){o.a(t,async function(t,a){try{o.r(e);var s=o(62826),i=o(96196),n=o(97735),l=o(99774),c=o(29994),r=t([c]);c=(r.then?(await r)():r)[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:l.Oi,mode:"generated",locale:this.hass.locale,enableFullEditMode:()=>{},saveConfig:async()=>{},deleteConfig:async()=>{},setEditMode:()=>{},showToast:()=>{}}}constructor(...t){super(...t),this.narrow=!1}}(0,s.Cg)([(0,n.MZ)({attribute:!1})],h.prototype,"hass",void 0),(0,s.Cg)([(0,n.MZ)({type:Boolean})],h.prototype,"narrow",void 0),(0,s.Cg)([(0,n.MZ)({attribute:!1})],h.prototype,"route",void 0),(0,s.Cg)([(0,n.MZ)({attribute:!1})],h.prototype,"panel",void 0),(0,s.Cg)([(0,n.wk)()],h.prototype,"_lovelace",void 0),h=(0,s.Cg)([(0,n.EM)("ha-panel-notfound")],h),a()}catch(t){a(t)}})}};
//# sourceMappingURL=68624.863aa792307672af.js.map