module.exports=[21524,a=>{"use strict";var b=a.i(87924),c=a.i(91858),d=a.i(54385),e=a.i(94547),f=a.i(38246),g=a.i(81354);a.s(["default",0,({occasions:a})=>a?.length?(0,b.jsx)("section",{className:"shopcontainer !pb-2",children:(0,b.jsxs)("div",{className:"container-xxl container px-3",children:[(0,b.jsx)("div",{className:"-mx-3 flex flex-wrap",children:(0,b.jsx)("div",{className:"w-full px-3",children:(0,b.jsx)("div",{className:"section-heading md:text-center",children:(0,b.jsx)("h2",{children:"Shop the Occasion"})})})}),(0,b.jsx)("div",{className:"-mx-3 flex flex-wrap",children:(0,b.jsxs)("div",{className:"relative w-full px-3",children:[(0,b.jsx)(c.Swiper,{modules:[d.Navigation,e.Autoplay],loop:a?.length>4,speed:700,autoplay:{delay:3e3,disableOnInteraction:!1},spaceBetween:20,slidesPerView:1,navigation:{nextEl:".swiper-button-next-shop-carousel",prevEl:".swiper-button-prev-shop-carousel"},breakpoints:{100:{slidesPerView:1,spaceBetween:5},260:{slidesPerView:2,spaceBetween:5},370:{slidesPerView:2,spaceBetween:10},574:{slidesPerView:2,spaceBetween:12},768:{slidesPerView:3,spaceBetween:15},992:{slidesPerView:4,spaceBetween:15},1200:{slidesPerView:4,spaceBetween:20},1400:{slidesPerView:4,spaceBetween:20},1700:{slidesPerView:4,spaceBetween:20}},children:a.map(a=>(0,b.jsx)(c.SwiperSlide,{children:(0,b.jsxs)(f.default,{href:`/products?category=${a.slug}`,className:"shopbx",children:[a.image?(0,b.jsx)("img",{src:a.image,alt:a.name}):(0,b.jsx)(g.default,{}),(0,b.jsx)("div",{className:"shopovarlay",children:(0,b.jsx)("h3",{children:a.name})})]})},a._id))},a.length),a.length>=5&&(0,b.jsxs)("div",{className:"swiper-nav !mt-0",children:[(0,b.jsx)("div",{className:"swiper-button-prev swiper-button-prev-shop-carousel"}),(0,b.jsx)("div",{className:"swiper-button-next swiper-button-next-shop-carousel"})]})]})})]})}):null])},44536,a=>{a.n(a.i(21524))}];

//# sourceMappingURL=src_components_frontend-pages_home_ShopTheOccasion_tsx_0t300e9._.js.map