import{d as m,c as a,a as e,t as o,e as u,z as _,o as n,h as p,I as b,F as x,j as h,m as f,p as k,n as g,k as v}from"./index-WryWQMIk.js";const y={class:"sticky top-0 z-20 bg-surface/95 backdrop-blur-md border-b border-ink/5 safe-top"},$={class:"max-w-md mx-auto px-4 h-14 flex items-center justify-between gap-3"},w={class:"min-w-0"},B={class:"text-title truncate"},C={key:0,class:"text-meta text-ink-subtle truncate -mt-0.5"},P=m({__name:"TopBar",props:{title:{},subtitle:{}},setup(s){return(c,r)=>(n(),a("header",y,[e("div",$,[e("div",w,[e("h1",B,o(s.title),1),s.subtitle?(n(),a("p",C,o(s.subtitle),1)):u("",!0)]),_(c.$slots,"actions")])]))}}),z={class:"fixed bottom-0 inset-x-0 z-30 bg-surface/95 backdrop-blur-md border-t border-ink/5 safe-bottom","aria-label":"Primary"},N={class:"grid grid-cols-3 max-w-md mx-auto"},S={class:"text-xl leading-none"},j={class:"text-[11px] font-semibold"},D=m({__name:"BottomNav",setup(s){const c=p(),r=[{name:"schedule",to:"/schedule",label:"Schedule",icon:"📅"},{name:"patients",to:"/patients",label:"Patients",icon:"🔍"},{name:"more",to:"/more",label:"More",icon:"⋯"}],i=v(()=>{var l;return((l=c.name)==null?void 0:l.toString())??""});return(l,V)=>{const d=b("router-link");return n(),a("nav",z,[e("ul",N,[(n(),a(x,null,h(r,t=>e("li",{key:t.name,class:"flex"},[f(d,{to:t.to,class:g(["flex flex-col items-center justify-center gap-1 flex-1 py-2.5 transition-colors",i.value===t.name||i.value===t.name.replace(/s$/,"")?"text-brand-600":"text-ink-subtle"])},{default:k(()=>[e("span",S,o(t.icon),1),e("span",j,o(t.label),1)]),_:2},1032,["to","class"])])),64))])])}}});export{P as _,D as a};
//# sourceMappingURL=BottomNav.vue_vue_type_script_setup_true_lang-xY8WMYlw.js.map
