import{bh as p}from"./index-CsCqMgta.js";import{u as l}from"./useBreadcrumbs-CLanN9FL.js";import{M as b,aX as f,aM as _,U as t,R as a,O as s,V as y,a8 as g,X as C,e as o}from"./vendor-CsGITfgk.js";import{b as V}from"./index-o5FTalq2.js";import{_ as v}from"./category.vue_vue_type_style_index_0_lang-DxXhokKv.js";import"./filters-popup-sidebar.vue_vue_type_style_index_0_lang-BrnyJefL.js";import"./useSlugInfo-BKFu_7wx.js";import"./product-card.vue_vue_type_script_setup_true_lang-CXwGwsM6.js";import"./product-skeleton-grid-DM9bsmii.js";import"./product-skeleton-list-84IOCtdh.js";const U=b({__name:"category",props:{categoryId:{}},setup(c){const m=c,{categoryId:e}=f(m),{category:r,fetchCategory:n}=p(),u=l(()=>V(r.value?.breadcrumbs));return _(()=>{e.value&&n({categoryId:e.value,maxLevel:0})}),(B,h)=>{const i=t("VcBreadcrumbs"),d=t("VcContainer");return s(),a(d,null,{default:y(()=>[o(r)?.breadcrumbs?(s(),a(i,{key:0,class:"mb-2.5 md:mb-4",items:o(u)},null,8,["items"])):g("",!0),C(v,{"category-id":o(e),"allow-set-meta":""},null,8,["category-id"])]),_:1})}}});export{U as default};
//# sourceMappingURL=category-y766czg4.js.map
