import{d as h,an as v,ao as _,c as m,e as f,f as n,n as l,C as e,ah as o,h as k,i as r,ai as b,bw as y,a1 as w,ag as $,w as i,aW as x,bx as C,by as N,aS as A}from"./DhOVNANH.js";const U={class:"relative"},B=h({inheritAttrs:!1,__name:"Aside",props:{links:{type:Array,default:()=>[]},class:{type:[String,Object,Array],default:void 0},ui:{type:Object,default:()=>({})}},setup(p){const c={wrapper:"hidden overflow-y-auto lg:block lg:max-h-[calc(100vh-var(--header-height))] lg:sticky lg:top-[--header-height] py-8 lg:px-4 lg:-mx-4",top:{wrapper:"sticky -top-8 -mt-8 pointer-events-none z-[1]",header:"h-8 bg-background -mx-4 px-4",body:"bg-background relative pointer-events-auto flex -mx-4 px-4",footer:"h-8 bg-gradient-to-b from-background -mx-4 px-4"}},t=p,{ui:s,attrs:d}=v("aside",_(t,"ui"),c,_(t,"class"),!0);return(a,g)=>{const u=y;return m(),f("aside",b({class:e(s).wrapper},e(d)),[n("div",U,[a.$slots.top?(m(),f("div",{key:0,class:l(e(s).top.wrapper)},[n("div",{class:l(e(s).top.header)},null,2),n("div",{class:l(e(s).top.body)},[o(a.$slots,"top")],2),n("div",{class:l(e(s).top.footer)},null,2)],2)):k("",!0),o(a.$slots,"links",{},()=>[r(u,{links:p.links},null,8,["links"])]),o(a.$slots,"default"),o(a.$slots,"bottom")])],16)}}}),S=h({__name:"docs",setup(p){const c=w("navigation");return(t,s)=>{const d=N,a=B,g=A,u=x;return m(),$(u,null,{default:i(()=>[r(g,{ui:{wrapper:"lg:grid-cols-10 lg:gap-x-4 pt-8",left:"lg:col-span-2"}},{left:i(()=>[r(a,null,{default:i(()=>[r(d,{links:("mapContentNavigation"in t?t.mapContentNavigation:e(C))(e(c)),ui:{links:{wrapperLevel:"space-y-3"}}},null,8,["links"])]),_:1})]),default:i(()=>[o(t.$slots,"default")]),_:3})]),_:3})}}});export{S as default};
