import{K as f,B as _,aP as d,ac as x,P as h,T as a,M as t,S as o,L as n,a7 as k,N as v,O as y,b as V,V as i,X as D,W as L}from"./vendor-bSWkQivH.js";import{aD as w}from"./index-Dqv5IkpS.js";import{_ as B}from"./account-navigation-item.vue_vue_type_script_setup_true_lang-DTA7PgWI.js";const g=f({__name:"link-lists",props:{item:{}},setup(C){const{lists:r,fetchWishlists:c}=w(),s=_(()=>l.name==="ListDetails"),l=d();return x(async()=>{s.value&&await c()}),(m,N)=>{const p=o("VcIcon"),u=o("router-link");return t(),h(B,{item:m.item},{default:a(()=>[s.value?(t(!0),n(v,{key:0},y(V(r),e=>(t(),n("div",{key:e.id,class:"ml-4 flex items-center space-x-2 overflow-hidden text-ellipsis 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:a(()=>[D(L(e.name),1)]),_:2},1032,["to"])]))),128)):k("",!0)]),_:1},8,["item"])}}});export{g as _};
//# sourceMappingURL=link-lists.vue_vue_type_script_setup_true_lang-CzNrFwRN.js.map
