import{d as g,u as y,cL as V,N as w,o as a,n as c,w as e,a as s,c as r,r as i,F as p,K as x,e as n,g as C,x as h,V as N,b$ as u,y as S,i as B,b as I,s as L,t as b,A as z}from"./index-lT0LPxUj.js";const A={class:"text-button",style:{"font-size":"9px !important"}},F=g({__name:"AppNavigation",props:["navItems"],setup(v){const d=y(),l=V(),m=v,_=w(()=>m.navItems),f=[];return(D,$)=>(a(),c(h,{class:"d-print-none",permanent:"",rail:""},{append:e(()=>[s(x,{align:"center",class:"my-1",justify:"center","no-gutters":""},{default:e(()=>[(a(),r(p,null,i(f,(t,o)=>s(N,{color:t.color,icon:t.icon,key:o,title:t.title,onClick:u(k=>t.onClick?t.onClick():void 0,["stop"]),size:"small",variant:"plain"},null,8,["color","icon","title","onClick"])),64))]),_:1})]),default:e(()=>[s(C,{"model-value":n(l).state.view,class:"pa-1 text-center",color:"primary",density:"compact",nav:""},{default:e(()=>[(a(!0),r(p,null,i(_.value,(t,o)=>S((a(),c(B,{key:o,to:t.to,value:t.id,onClick:u(k=>n(l).toggle(t),["stop"]),class:"pt-3 justify-center",exact:""},{default:e(()=>[s(I,{icon:t.icon,size:"large"},null,8,["icon"]),L("span",A,b(t.title),1)]),_:2},1032,["to","value","onClick"])),[[z,t.simulator===n(d).state.simulator]])),128))]),_:1},8,["model-value"])]),_:1}))}});export{F as _};
