import{M as f,E as d,ab as _,ad as x,U as a,R as k,O as t,V as o,N as n,a8 as h,P as v,Q as y,e as V,X as i,Z as C,Y as D}from"./vendor-CsGITfgk.js";import{cb as L}from"./index-B7qwhRTg.js";import{_ as N}from"./account-navigation-item.vue_vue_type_script_setup_true_lang-B3pyAzLc.js";const I=f({__name:"link-lists",props:{item:{}},setup(b){const{lists:r,fetchWishlists:c}=L(),s=d(()=>l.name==="ListDetails"),l=_();return x(async()=>{s.value&&await c()}),(m,g)=>{const p=a("VcIcon"),u=a("router-link");return t(),k(N,{item:m.item},{default:o(()=>[s.value?(t(!0),n(v,{key:0},y(V(r),e=>(t(),n("div",{key:e.id,class:"flex items-center gap-2 px-3 text-sm"},[i(p,{class:"flex-none fill-primary",size:"xs",name:"minus"}),i(u,{to:{name:"ListDetails",params:{listId:e.id}},class:"line-clamp-2 cursor-pointer py-0.5 font-bold text-neutral hover:text-additional-950","active-class":"!text-neutral-950"},{default:o(()=>[C(D(e.name),1)]),_:2},1032,["to"])]))),128)):h("",!0)]),_:1},8,["item"])}}});export{I as default};
//# sourceMappingURL=link-lists-DVcplqvX.js.map
