import{bk as p}from"./index-iGinj_Xa.js";import{u as l}from"./useBreadcrumbs-T9obR8Uh.js";import{F as b,b6 as _,aR as f,P as t,_ as a,R as s,a1 as y,W as g,X as C,e as o}from"./vendor-BeMjADS_.js";import{b as v}from"./index-o5FTalq2.js";import{_ as B}from"./category.vue_vue_type_style_index_0_lang-Cgt3n8Et.js";import"./filters-popup-sidebar.vue_vue_type_style_index_0_lang-D9Onr5I1.js";import"./product-card-Dhl3ZssP.js";import"./product-skeleton-grid-BRq69xIf.js";import"./product-skeleton-list-D_9SnG8f.js";const P=b({__name:"category",props:{categoryId:{}},setup(c){const m=c,{categoryId:e}=_(m),{category:r,fetchCategory:n}=p(),u=l(()=>v(r.value?.breadcrumbs));return f(()=>{e.value&&n({categoryId:e.value,maxLevel:0})}),(V,k)=>{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(B,{"category-id":o(e),"allow-set-meta":""},null,8,["category-id"])]),_:1})}}});export{P as default};
//# sourceMappingURL=category-BRhzz2HQ.js.map
