import{_ as c}from"../../../js/AppFooter-B-qMSqC3.js";import{_ as l}from"../../../js/AppNavigation-BkIMMRqT.js";import{cD as m,d as p,cJ as u,cK as d,b3 as _,G as y,e as f,o as n,n as S,w as o,a as e,I as P,J as g,E as k,c as M,co as N,F as w}from"../../../js/index-BVJsRopY.js";const j=m("pynn-session-store",{state:()=>({loading:!0})}),E=p({__name:"MainLayout",setup(v){const a=u(),s=d(),t=j(),r=[{icon:"network:network",id:"pynnProject",simulator:"pynn",title:"Project",to:{name:"pynnProjectRoot"}},{icon:"pynn:logo",id:"pynnModel",simulator:"pynn",title:"Model",to:{name:"pynnModelRoot"}}];return _(()=>{a.init(),s.init(),t.loading=!1}),(C,V)=>{const i=y("router-view");return f(t).loading?(n(),S(k,{key:0},{default:o(()=>[e(g,{class:"fill-height"},{default:o(()=>[e(P,{class:"ma-auto",color:"primary",indeterminate:""})]),_:1}),e(c)]),_:1})):(n(),M(w,{key:1},[e(l,{"nav-items":r}),e(N,null,{default:o(()=>[e(i)]),_:1})],64))}}});export{E as default};
