1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1122],{11122:(e,s,i)=>{i.r(s),i.d(s,{default:()=>v});var a=i(37876),t=i(21163),l=i(14232);let r=function(e){let{rating:s,id:i="default"}=e;return(0,a.jsx)("div",{className:"flex",children:Array.from({length:5},(e,t)=>{let l=100*Math.min(Math.max(s-t,0),1);return(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",className:"w-4 h-4",width:"16",height:"16",children:[(0,a.jsx)("defs",{children:(0,a.jsxs)("linearGradient",{id:`star-fill-${i}-${t}`,x1:"0",x2:"1",y1:"0",y2:"0",children:[(0,a.jsx)("stop",{offset:`${l}%`,stopColor:"#FFC107"})," ",(0,a.jsx)("stop",{offset:`${l}%`,stopColor:"#e5e7eb"})," "]})}),(0,a.jsx)("path",{fill:`url(#star-fill-${i}-${t})`,d:"M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z"})]},t)})})};var n=i(12540),c=i(51930);let d={src:"/_next/static/media/google-ico.2f12cbe2.svg"};var o=i(84022),x=i(89926),m=i(28419),h=i(28249);function v(e){let{websiteData:s,data:i}=e,{TriggerEvents:v}=(0,c.useCarterAnalytics)(),[g,p]=(0,l.useState)(0),[j,f]=(0,l.useState)(!1),N=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"link",i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"testimonials";v?.REGULAR_CLICK({type:s,event:i,id:e})},w=i?.data?.[0]||{},u=s?.googleReviews?.reviews?.filter(e=>e?.rating>=4)?.slice(0,3)||[];return console.log(u),!!s?.googleReviews?.totalReviews&&(0,a.jsx)("section",{className:"testimonial-sections py-[50px] lg:py-[60px] xl:py-20",children:(0,a.jsxs)("div",{className:"container",children:[(0,a.jsxs)("div",{className:"flex justify-between gap-4 items-center flex-wrap mb-5 sm:mb-7 xl:mb-12",children:[(0,a.jsxs)("div",{className:"heading-group max-w-[760px]",children:[(0,a.jsx)("h2",{className:"heading",children:w?.heading||"Testimonials"}),w?.subHeading&&(0,a.jsx)("p",{className:"heading-desc",children:(0,n.EJ)(w?.subHeading||"",t.N8?.LANDING_PAGE?.TESTIMONIAL_SECTION?.DESC)})]}),(0,a.jsxs)("div",{className:"total-review",children:[(0,a.jsxs)("span",{children:[s?.googleReviews?.totalReviews||"0"," Total Reviews"]}),(0,a.jsxs)("div",{className:"flex items-center justify-end gap-2",children:[(0,a.jsx)("div",{className:"rating-star flex items-center gap-[2px]",children:!!s?.googleReviews?.totalStars&&(0,a.jsx)(r,{rating:s?.googleReviews?.totalStars,id:"overall-rating"})}),(0,a.jsx)("span",{className:"d-inline-block text-black font-bold text-base md:text-lg",children:s?.googleReviews?.totalStars||""})]})]})]}),j?(0,a.jsxs)("div",{className:"footer-list-modal testimonial-popup",style:{display:j?"flex":"none"},children:[(0,a.jsx)("div",{className:"overlay",onClick:()=>f(!1)}),(0,a.jsxs)("div",{className:"container",children:[(0,a.jsx)("button",{className:"close-btn",onClick:()=>f(!1),children:(0,a.jsx)(h.A,{})}),(0,a.jsxs)("div",{className:"testimonial-popup-body max-h-[80dvh] overflow-auto space-y-4",children:[(0,a.jsxs)("div",{className:"flex items-center justify-between flex-1",children:[(0,a.jsxs)("div",{className:"flex md:items-center flex-col md:flex-row gap-1 md:gap-2",children:[(0,a.jsx)("p",{className:"text-lg font-semibold text-[var(--vis-header)]",children:u[g]?.authorName||""}),(0,a.jsx)("p",{className:"text-base text-[var(--vis-body)]",children:u[g]?.relativeTimeDescription||""})]}),!!u[g]?.rating&&(0,a.jsx)(r,{rating:u[g]?.rating,id:"test"})]}),(0,a.jsx)("p",{className:"text-base text-[var(--vis-body)] overflow-auto h-[calc(80dvh_-_130px)] md:h-[calc(80dvh_-_100px)] overscroll-none",children:u[g]?.text}),(0,a.jsxs)("div",{className:"flex items-center gap-4 justify-end",children:[(0,a.jsx)("button",{type:"button",onClick:()=>p(e=>Math.max(e-1,0)),className:`${0===g?"opacity-70 text-[var(--vis-secondary)] w-10 h-10 flex items-center justify-center p-1 cursor-not-allowed":"text-[var(--vis-secondary)] w-10 h-10 flex items-center justify-center p-1 cursor-pointer"}`,children:(0,a.jsx)(x.A,{className:"testimonial-arr"})}),(0,a.jsx)("button",{type:"button",onClick:()=>p(e=>Math.min(e+1,2)),className:`${2==g?"opacity-70 text-[var(--vis-secondary)] w-10 h-10 flex items-center justify-center p-1 cursor-not-allowed":"text-[var(--vis-secondary)] w-10 h-10 flex items-center justify-center p-1 cursor-pointer"}`,children:(0,a.jsx)(m.A,{className:"testimonial-arr"})})]})]})]})]}):"",(0,a.jsx)("div",{className:"hidden lg:block",children:(0,a.jsx)("div",{className:"review-grid",children:!!u.length&&u.map((e,s)=>(0,a.jsxs)("div",{className:"review-item",children:[(0,a.jsxs)("div",{className:"review-rating flex flex-wrap items-start justify-between mb-3",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)("p",{className:"review-title text-lg font-medium lg:font-bold lg:leading-[26px] heading-text",children:e?.authorName}),(0,a.jsx)("span",{className:"font-normal",children:e?.relativeTimeDescription||""})]}),(0,a.jsx)("div",{className:"review-time flex gap-1 items-center",children:(0,a.jsx)("div",{className:"rating-star flex items-center gap-[2px]",children:!!e?.rating&&(0,a.jsx)(r,{rating:e?.rating,id:`review-${s}`})})})]}),(0,a.jsxs)("div",{className:"review-content",children:[(0,a.jsx)("p",{className:"review-desc mb-2 xl:mb-3",children:e?.text}),(0,a.jsxs)("div",{className:"flex items-center justify-between gap-2",children:[(0,a.jsx)("p",{className:"read_more",onClick:()=>{N(e?.shareableLink||""),p(s),f(!0)},children:"Read More"}),(0,a.jsx)("img",{className:"review-icon",width:24,height:24,src:d?.src,alt:"reviww-icon"})]})]})]},s))})}),(0,a.jsx)("div",{className:"block lg:hidden",children:(0,a.jsx)(o.eB,{options:{type:"slide",perPage:1,perMove:1,gap:"1rem",autoWidth:!1,pagination:!0,arrows:!1,mediaQuery:"min",breakpoints:{1024:{perPage:4},992:{perPage:3},540:{perPage:2},0:{perPage:1}}},className:"w-full",children:!!u.length&&u.map((e,s)=>(0,a.jsx)(o.Nn,{children:(0,a.jsxs)("div",{className:"review-item",children:[(0,a.jsxs)("div",{className:"review-rating flex flex-wrap items-start justify-between mb-3",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)("p",{className:"review-title text-lg font-medium lg:font-bold lg:leading-[26px] heading-text",children:e?.authorName}),(0,a.jsx)("span",{className:"font-normal",children:e?.relativeTimeDescription||""})]}),(0,a.jsx)("div",{className:"review-time flex gap-1 items-center",children:(0,a.jsx)("div",{className:"rating-star flex items-center gap-[2px]",children:!!e?.rating&&(0,a.jsx)(r,{rating:e?.rating,id:`review-${s}`})})})]}),(0,a.jsxs)("div",{className:"review-content",children:[(0,a.jsx)("p",{className:"review-desc mb-2 xl:mb-3",children:e?.text}),(0,a.jsxs)("div",{className:"flex items-center justify-between gap-2",children:[(0,a.jsx)("p",{className:"read_more",onClick:()=>{N(e?.shareableLink||""),p(s),f(!0)},children:"Read More"}),(0,a.jsx)("img",{className:"review-icon",width:24,height:24,src:d?.src,alt:"reviww-icon"})]})]})]})},s))})})]})})}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.