import"./components.client.8c0e2f0e.js";import{_ as e}from"./nuxt-link.a91ddf68.js";import{h as a}from"./runtime-core.esm-bundler.24b58585.js";function b(s,i,l){const c=s.lastIndexOf("/"),u=s.substring(0,c);l=l||{};const t=["nav nav-pills"];switch(l.direction){case"vertical":t.push("flex-column");break}let r=[];l.prevLink&&(r=a("li",{class:"nav-item"},[a(e,{class:"nav-link",to:u},{default:()=>[a("i",{class:"fa fa-arrow-left"})]})]));const f=n=>n.length===0?s:n.substring(0,1)==="/"?`${s}${n}`:`${s}/${n}`;return a("ul",{class:t},[r,...i.map(n=>a("li",{class:"nav-item"},[a(e,{class:"nav-link",to:f(n.urlSuffix)},{default:()=>[a("i",{class:`${n.icon} pe-1`}),n.name]})]))])}export{b};
