1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2647],{74746:function(e,t,o){"use strict";o.r(t),o.d(t,{TestimonialCarousel:function(){return Z},default:function(){return N}});var i=o(7320),n=o(74352),l=o.n(n),a=o(94184),r=o.n(a),s=function(e){var t=e.testimonialBlock,o=t.cloudinaryLogoImage,n=t.desktopTextPosition,a=t.desktopMainImagePosition;return(0,i.BX)(i.HY,{children:[(0,i.tZ)("div",{className:"".concat(l()["testimonial-line"]," bg-white md:hidden"),children:(0,i.tZ)("span",{className:l()["testimonial-line-circle"]})}),(0,i.tZ)("span",{className:"".concat(l()["testimonial-line-desktop"]," bg-white hidden md:block top-1/2 w-full left-0 absolute z-0"),children:(0,i.tZ)("span",{className:r()("".concat(l()["testimonial-line-desktop-dash"]," absolute border-l-4"),"top"===n&&l()["testimonial-line-desktop-dash-top"],o&&"".concat(l()["testimonial-line-desktop-dash-logo"]),"left"===a&&"".concat(l()["testimonial-line-desktop-dash-left"]))})})]})},c=o(22912),d=o(26734),m=function(e){var t,o,n,a,r,s,m,u,f=e.testimonialBlock;return(0,i.tZ)("div",{className:"".concat(l()["testimonial-block-padding"]," md:relative md:w-full"),children:(0,i.tZ)("div",{className:"".concat(l()["testimonial-block-img"]," relative md:static place-items-start "),children:(null===f||void 0===f||null===(t=f.cloudinaryMainImage)||void 0===t||null===(o=t[0])||void 0===o?void 0:o.secure_url)&&(0,i.tZ)(c.ZP,{keepOrigin:!0,className:"rounded",src:(0,d.ex)(null===f||void 0===f||null===(n=f.cloudinaryMainImage)||void 0===n||null===(a=n[0])||void 0===a?void 0:a.secure_url),alt:(null===f||void 0===f||null===(r=f.cloudinaryMainImage)||void 0===r||null===(s=r[0])||void 0===s||null===(m=s.context)||void 0===m||null===(u=m.custom)||void 0===u?void 0:u.alt)||"",layout:"fill",objectFit:"contain"})})})},u=o(50166),f=o(87053),_=o.n(f),p=function(){var e=(0,u.$G)(["common"]).t;return(0,i.BX)("div",{className:"relative mb-4 md:mb-10",children:[(0,i.BX)("div",{className:_()["animated-arrow"],children:[(0,i.tZ)("div",{className:_().arrow}),(0,i.tZ)("div",{className:_().line})]}),(0,i.tZ)("div",{className:"font-tomorrow relative text-center text-xl md:-left-5 uppercase",children:e("Click & Drag")})]})},g=function(e){var t,o,n,a,s,m=e.testimonialBlock,f=m.headingTitle,_=m.text,p=m.cloudinaryLogoImage,g=m.logoHeading,h=m.desktopTextPosition,v=m.desktopMainImagePosition,k=(0,u.$G)(["common"]).t;return(0,i.BX)("div",{className:r()("".concat(l().text," flex flex-row items-center md:h-auto md:m-0"),"left"===v?l().left:l().right,"top"===h&&"md:self-top","middle"===h&&"md:self-center","bottom"===h&&"md:self-end"),children:[(null===p||void 0===p||null===(t=p[0])||void 0===t?void 0:t.secure_url)&&(0,i.BX)("div",{className:"".concat(l()["text-logo"]," text-center"),children:[(0,i.tZ)("div",{className:"".concat(l()["text-logo-img"]," rounded relative"),children:(0,i.tZ)(c.ZP,{keepOrigin:!0,src:(0,d.ex)(null===p||void 0===p||null===(o=p[0])||void 0===o?void 0:o.secure_url),alt:(0,d.t0)(k("alt|".concat(null===p||void 0===p||null===(n=p[0])||void 0===n||null===(a=n.context)||void 0===a||null===(s=a.custom)||void 0===s?void 0:s.alt))),layout:"fill",objectFit:"contain"})}),(0,i.tZ)("div",{className:"".concat(l()["text-logo-heading"]," font-tomorrow relative"),children:g})]}),(0,i.BX)("div",{children:[(0,i.tZ)("div",{className:"".concat(l()["text-heading"]," font-tomorrow uppercase relative"),children:f}),(0,i.tZ)("div",{className:"".concat(l()["text-text"]," font-tomorrow"),children:_})]})]})},h=function(e){var t=e.testimonialBlock,o=e.position,n=t.mobileMainImagePosition,a=t.desktopMainImagePosition;return(0,i.BX)(i.HY,{children:[(0,i.BX)("div",{className:r()("".concat(l()["testimonial-block"]," relative flex md:flex-grow md:h-full md:w-full"),"bottom"===n?"flex-col":"flex-col-reverse","right"===a?"md:flex-row":"md:flex-row-reverse"),children:[(0,i.tZ)(g,{testimonialBlock:t}),(0,i.tZ)(s,{testimonialBlock:t}),(0,i.tZ)(m,{testimonialBlock:t})]}),0===o&&(0,i.tZ)(p,{})]})},v=o(98661);function k(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}var b=function(e,t){var o=100/((null===e||void 0===e?void 0:e.length)||1);return(0,i.tZ)("div",{id:"custom-slick-dots",children:(0,i.tZ)("ul",{className:l()["slick-dots"],children:e&&e.map((function(e,n){return(0,v.createElement)(e.type,function(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{},i=Object.keys(o);"function"===typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(o).filter((function(e){return Object.getOwnPropertyDescriptor(o,e).enumerable}
1)))),i.forEach((function(t){k(e,t,o[t])}))}return e}({},e.props,{style:{width:"".concat(o,"%")},key:n,children:(0,i.BX)("span",{children:[t[n],e.props.children]})}))}))})})},w=o(46066);function x(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function y(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{},i=Object.keys(o);"function"===typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(o).filter((function(e){return Object.getOwnPropertyDescriptor(o,e).enumerable})))),i.forEach((function(t){x(e,t,o[t])}))}return e}var C=function(e){var t=e.testimonialBlocks,o=(0,v.useState)(!0),n=o[0],l=o[1],a=(0,v.useState)(0),r=a[0],s=a[1],c=function(e){return e.map((function(e){return e.paginationTitle}))}(t);(0,v.useEffect)((function(){var e=function(){window&&window.innerWidth>1440?(l(!0),s((window.innerWidth-1440)/2)):l(!1)};return window.addEventListener("resize",e),e(),function(){return window.removeEventListener("resize",e)}}),[]);var d={className:"center",dots:!0,infinite:!1,speed:500,slidesToScroll:1,arrows:!1,draggable:!0,centerMode:n,centerPadding:"".concat(r,"px"),appendDots:function(e){return b(e,c)}};return(0,i.tZ)("div",{className:"h-full w-full flex flex-col relative",children:(0,i.tZ)(w.default,y({},d,{children:t.map((function(e,t){return(0,i.tZ)(h,{testimonialBlock:e,position:t},e.title)}))}))})},Z=function(e){var t=e.content;if(!t)return null;var o=t.heading,n=t.backgroundColorHex,a=t.testimonialBlocks,r=t.textColor,s=t.headingType,c="dark"===r?"text-black":"text-white";return"undefined"!==typeof document&&function(e){var t=e.backgroundColorHex,o=e.textColor;t&&document.documentElement.style.setProperty("--bg-color","#".concat(function(e){return!!/[0-9A-Fa-f]{6}/g.test(e)}(t)?t:"000000")),o&&document.documentElement.style.setProperty("--component-color","dark"===o?"black":"white")}({backgroundColorHex:n,textColor:r}),(0,i.BX)("div",{className:"".concat(l().testimonial," flex flex-col items-center ").concat(c," m-auto ").concat(!t.pageBackgroun
1dImage&&"bg-black"),children:["H1"===s?(0,i.tZ)("h1",{className:"".concat(l()["testimonial-heading"]," font-tomorrow"),children:o}):(0,i.tZ)("h2",{className:"".concat(l()["testimonial-heading"]," font-tomorrow"),children:o}),(0,i.tZ)(C,{testimonialBlocks:a})]})},N=Z},87053:function(e){e.exports={"animated-arrow":"AnimatedArrow_animated-arrow__aAazC",arrow:"AnimatedArrow_arrow__mcq4D",swipe:"AnimatedArrow_swipe__A0w_F",line:"AnimatedArrow_line__1Ex8B","swipe-line":"AnimatedArrow_swipe-line__zaOVb"}},74352:function(e){e.exports={testimonial:"TestimonialCarousel_testimonial___QGKF","testimonial-line":"TestimonialCarousel_testimonial-line__847lH","testimonial-line-circle":"TestimonialCarousel_testimonial-line-circle__5HohQ","testimonial-line-desktop":"TestimonialCarousel_testimonial-line-desktop__6HNZJ","testimonial-line-desktop-dash":"TestimonialCarousel_testimonial-line-desktop-dash__n5hCN","testimonial-line-desktop-dash-top":"TestimonialCarousel_testimonial-line-desktop-dash-top__mSJb3","testimonial-line-desktop-dash-logo":"TestimonialCarousel_testimonial-line-desktop-dash-logo__bA1WM","testimonial-line-desktop-dash-left":"TestimonialCarousel_testimonial-line-desktop-dash-left__IVB_J","testimonial-block":"TestimonialCarousel_testimonial-block__QchOv","testimonial-block-img":"TestimonialCarousel_testimonial-block-img__3le7P","testimonial-heading":"TestimonialCarousel_testimonial-heading__mpdOo",text:"TestimonialCarousel_text__NKHtG","text-logo":"TestimonialCarousel_text-logo__77FJ_","text-logo-heading":"TestimonialCarousel_text-logo-heading__77ZKf","text-logo-img":"TestimonialCarousel_text-logo-img__nEaKA","text-heading":"TestimonialCarousel_text-heading__gFFfg","text-text":"TestimonialCarousel_text-text__PfRBq","testimonial-block-padding":"TestimonialCarousel_testimonial-block-padding__jyyfh",left:"TestimonialCarousel_left__YkI3W",right:"TestimonialCarousel_right__SqiqC"}}}]);
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.