import{F as u,c7 as m,aN as l,P as n,Q as p,R as f,a5 as v,X as o,S as d,e as _,a1 as a,a2 as V,a0 as x}from"./vendor-D8NNcBCx.js";const k=u({__name:"account-navigation-item",props:{item:{},formatTextFunction:{type:Function,default:e=>e??""}},setup(e){const t=l(e,"item"),{isActive:c}=m({to:t.value?.route??{}});return(s,g)=>{const i=n("VcIcon"),r=n("VcMenuItem");return f(),p(v,null,[o(r,{color:"secondary",active:_(c),to:t.value.route,class:"account-navigation-item"},{prepend:a(()=>[o(i,{size:"sm",name:t.value.icon},null,8,["name"])]),default:a(()=>[V(" "+x(e.formatTextFunction(t.value?.title)),1)]),_:1},8,["active","to"]),d(s.$slots,"default")],64)}}});export{k as _};
//# sourceMappingURL=account-navigation-item.vue_vue_type_script_setup_true_lang-CvqHmD8v.js.map
