import{M as c,aK as i,c9 as l,U as r,N as u,O as o,aA as m,e as p,R as v,ap as _,T as f,V as d,X as g,W as k,Y as C}from"./vendor-CsGITfgk.js";const V={class:"account-navigation-item__text"},y=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(a,B)=>{const s=r("VcIcon");return o(),u("div",{class:m(["account-navigation-item",{"account-navigation-item--active":p(n)}])},[(o(),v(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",V,C(a.formatTextFunction(t.value?.title)),1)]),_:1},8,["to"])),_(a.$slots,"default")],2)}}});export{y as _};
//# sourceMappingURL=account-navigation-item.vue_vue_type_script_setup_true_lang-B3pyAzLc.js.map
