module.exports=[71137,a=>{"use strict";var b=a.i(87924),c=a.i(91858),d=a.i(94547),e=a.i(54385);let f=({count:a=5})=>(0,b.jsx)("div",{className:"flex gap-0.5 text-amber-400",children:Array.from({length:a}).map((a,c)=>(0,b.jsx)("svg",{className:"w-5 h-5 2xl:w-6 2xl:h-6 fill-current",viewBox:"0 0 20 20",children:(0,b.jsx)("path",{d:"M10 1l2.39 4.84 5.35.78-3.87 3.77.91 5.32L10 13.27l-4.78 2.51.91-5.32L2.26 6.62l5.35-.78z"})},c))});var g=a.i(58502);let h=({customer:a,images:c,authorName:d,reviewDescription:e,rating:h})=>(0,b.jsxs)("div",{className:"reviewbx flex flex-col bg-white p-6 h-full",children:[(0,b.jsxs)("div",{className:"flex-1 pb-3",children:[(0,b.jsx)("div",{className:"ratingstar",children:(0,b.jsx)(f,{count:h})}),(0,b.jsx)("p",{children:(0,b.jsx)(g.Interweave,{content:e})})]}),(0,b.jsxs)("div",{className:"ratinguser flex items-center gap-3 pt-1",children:[(0,b.jsx)("div",{className:"ratingavatar",children:(0,b.jsx)("div",{className:"w-10 h-10 md:w-12 md:h-12 text-base md:text-lg rounded-full bg-[rgba(var(--primary),1)] text-white flex items-center justify-center font-semibold text-gray-700 uppercase",children:d?.charAt(0)})}),(0,b.jsx)("div",{className:"ratingcontent",children:(0,b.jsx)("h3",{className:"font-semibold text-sm",children:d})})]})]}),i=({children:a,center:c=!1})=>(0,b.jsxs)("div",{className:`section-heading md:text-center ${c?"text-left":""}`,children:[(0,b.jsx)("h2",{children:a}),(0,b.jsx)("p",{className:`p-0 !mb-0 ${c?"mx-auto":""}`})]});a.s(["default",0,({reviews:a})=>(0,b.jsx)("section",{className:"reviewcontainer",children:(0,b.jsxs)("div",{className:"container container-xxl px-3",children:[(0,b.jsx)(i,{center:!0,children:"What Our Customers Say"}),(0,b.jsx)("div",{className:"flex flex-wrap -mx-3",children:(0,b.jsxs)("div",{className:"w-full relative px-3",children:[(0,b.jsx)(c.Swiper,{modules:[e.Navigation,d.Autoplay],loop:a?.length>3,speed:700,autoplay:{delay:3e3,disableOnInteraction:!1},spaceBetween:20,slidesPerView:1,navigation:{nextEl:".swiper-button-next-review-carousel",prevEl:".swiper-button-prev-review-carousel"},breakpoints:{100:{slidesPerView:1,spaceBetween:5},260:{slidesPerView:1,spaceBetween:5},370:{slidesPerView:1,spaceBetween:10},574:{slidesPerView:2,spaceBetween:12},768:{slidesPerView:3,spaceBetween:15},992:{slidesPerView:3,spaceBetween:15},1200:{slidesPerView:3,spaceBetween:20},1400:{slidesPerView:3,spaceBetween:20},1700:{slidesPerView:3,spaceBetween:20}},children:a?.map((a,d)=>(0,b.jsx)(c.SwiperSlide,{children:(0,b.jsx)(h,{...a})},a.id||d))}),a?.length>3&&(0,b.jsxs)("div",{className:"swiper-nav !mt-0",children:[(0,b.jsx)("div",{className:"swiper-button-prev swiper-button-prev-review-carousel"}),(0,b.jsx)("div",{className:"swiper-button-next swiper-button-next-review-carousel"})]})]})})]})})],71137)},21646,a=>{a.n(a.i(71137))}];

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