import{F as c,aL as i,ca as l,P as r,Q as u,R as o,Z as m,e as p,_,S as v,a9 as f,a1 as d,X as g,T as k,a0 as C}from"./vendor-DJC-2VPc.js";const x={class:"account-navigation-item__text"},h=c({__name:"account-navigation-item",props:{item:{},formatTextFunction:{type:Function,default:a=>a??""}},setup(a){const t=i(a,"item"),{isActive:n}=l({to:t.value?.route??{}});return(e,F)=>{const s=r("VcIcon");return o(),u("div",{class:m(["account-navigation-item",{"account-navigation-item--active":p(n)}])},[(o(),_(f(t.value?.route?"router-link":"a"),{to:t.value?.route,class:"account-navigation-item__link"},{default:d(()=>[g(s,{size:"sm",class:"account-navigation-item__icon",name:t.value?.icon},null,8,["name"]),k("span",x,C(e.formatTextFunction(t.value?.title)),1)]),_:1},8,["to"])),v(e.$slots,"default")],2)}}});export{h as _};
//# sourceMappingURL=account-navigation-item.vue_vue_type_script_setup_true_lang-Y8N15Qbw.js.map
