import{_ as s}from"./DuALqIQ4.js";import{_ as a}from"./sIuoVpxY.js";import{_ as t}from"./DEAJyD3I.js";import{_ as o}from"./RMcs0_bh.js";import{a as i,h as r,i as e,b as d}from"./DiMZXuxr.js";import{f as l,u as m,L as n,M as c,x as p,$ as u,F as g,O as v,V as f,W as h}from"./CFGNYEIb.js";import"./wPQxHGoL.js";import"./CtSt8P6h.js";import"./mqjJGHgV.js";const _={key:0,class:"container my-10"},j={key:1,class:"my-10 container"},y={key:0},k={class:"grid mt-6 lg:mt-14 grid-cols-2 sm:grid-cols-3 lg:grid-cols-4 xl:grid-cols-5 gap-y-8 gap-x-2.5"},x={key:1},L={__name:"wishlist",setup(L){const T=i().$axios;r();const{data:b,status:w}=e("get_fave_products",(()=>T.get("get_fave_products").then((s=>s.data)).catch((s=>s.response)))),{t:M}=d(),O=l((()=>[{name:M("NAV.home"),to:"/"},{name:M("TITLES.wishlist"),to:"",disabled:!0}]));return(i,r)=>{var e,d,l;const L=s,T=a,M=t,V=o;return"pending"===m(w)?(n(),c("div",_,[p(L)])):"success"===m(w)?(n(),c("div",j,[p(T,{"data-aos":"fade-right",items:m(O)},null,8,["items"]),(null==(d=null==(e=m(b))?void 0:e.data)?void 0:d.length)?(n(),c("div",y,[u("div",k,[(n(!0),c(g,null,v(null==(l=m(b))?void 0:l.data,(s=>(n(),f(M,{key:s.id,product:s},null,8,["product"])))),128))])])):(n(),c("div",x,[p(V,{class:"!min-h-[35vh]"})]))])):h("",!0)}}};export{L as default};
