import{F as c,aL as i,ce as l,P as r,Q as u,R as a,Z as m,e as v,_,S as p,a9 as f,a1 as d,X as g,T as k,a0 as x}from"./vendor-CYDnlB7m.js";const C={class:"account-navigation-item__text"},h=c({__name:"account-navigation-item",props:{item:{},formatTextFunction:{type:Function,default:e=>e??""}},setup(e){const t=i(e,"item"),{isActive:n}=l({to:t.value?.route??{}});return(o,F)=>{const s=r("VcIcon");return a(),u("div",{class:m(["account-navigation-item",{"account-navigation-item--active":v(n)}])},[(a(),_(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",C,x(e.formatTextFunction(t.value?.title)),1)]),_:1},8,["to"])),p(o.$slots,"default")],2)}}});export{h as _};
//# sourceMappingURL=account-navigation-item.vue_vue_type_script_setup_true_lang-Dvwfgi6b.js.map
