1"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[519],{10519:function(t,e,a){a.r(e),a.d(e,{TestimonialsCarousel:function(){return lt}});var s=a(63696),i=a(10898),n=a(27487),o=a(7082),r=a(34004),l=a(5130),d=a(26520),c=a(7543),g=a(88232),m=a(32737),C=a(26885);var p=a(80985),h=a(68102),u=a(71995),H=a(4507),S=a(42510),f=a(36303),b=a(67570),w=a(91785),T=a(650);const x={name:"e0dnmk",styles:"cursor:pointer"},k=(0,w.AH)("@media screen and (min-width: ",T.f.md,"px) and (max-height: 900px){top:0;padding:20px;}@media screen and (min-width: ",T.f.md,"px) and (max-height: 750px){height:100%;overflow-y:scroll;}",""),z={name:"1g3cpvy",styles:".classTstModalText:first-of-type{margin-top:1rem;}"};var v=a(15903),D=a(16996),Y=a(5826);const M=(0,w.AH)("width:100%;max-width:450px;",(0,Y.HG)(T.f.sm),"{",(0,D.z0)(2,1,1),";}",(0,Y.HG)(T.f.md),"{",(0,D.z0)(3,1,1),";}",(0,Y.HG)(T.f.xl),"{",(0,D.z0)(4,1,1),";}@supports (grid-area: auto){&:nth-of-type(n){margin:0;width:auto;}}",""),N=(0,w.AH)("height:100%;",(0,v.c)(),";margin-block-end:",p.w.tcItemMarginBlockEnd,";overflow:hidden;&:hover img{transform:scale(1.06);}",""),y={name:"1oa03v8",styles:"transition:transform 400ms ease-in-out"};var A=a(36557),L=a(17474);const F={tstCardHeadingFontStack:void 0,tstCardHeadingSizeMobile:"",tstCardHeadingSizeDesktop:"",tstCardHeadingLineHeight:"",tstCardHeadingLetterSpacing:"",tstCardHeadingTextTransform:"",tstCardHeadingColour:"",tstCardDateFontStack:void 0,tstCardDateSizeMobile:"10px",tstCardDateSizeDesktop:"",tstCardDateLineHeight:"",tstCardDateLetterSpacing:"",tstCardDateTextTransform:"uppercase",tstCardDateColour:A.X.black50,tstCardTextFontStack:(0,L.bm)(),tstCardTextSizeMobile:"14px",tstCardTextSizeDesktop:"",tstCardTextLineHeight:"",tstCardTextLetterSpacing:"",tstCardTextColour:"",tstCardNameFontStack:void 0,tstCardNameSizeMobile:"13px",tstCardNameSizeDesktop:"",tstCardNameLineHeight:"",tstCardNameLetterSpacing:"",tstCardNameTextTransform:"",tstCardNameColour:A.X.black75,tstCardRegionFontStack:void 0,tstCardRegionSizeMobile:"13px",tstCardRegionSizeDesktop:"",tstCardRegionLineHeight:"",tstCardRegionLetterSpacing:"",tstCardRegionColour:A.X.black75};const R={name:"tnuevd",styles:"padding:1rem;.classTstText:first-of-type{margin-top:0;}"},G=(0,w.AH)(F.tstCardHeadingFontStack,";font-size:",F.tstCardHeadingSizeMobile,";line-height:",F.tstCardHeadingLineHeight,";letter-spacing:",F.tstCardHeadingLetterSpacing,";text-transform:",F.tstCardHeadingTextTransform,";color:",F.tstCardHeadingColour,";margin:0;",(0,Y.HG)(T.f.lg),"{font-size:",F.tstCardHeadingSizeDesktop,";}",""),I=(0,w.AH)(F.tstCardDateFontStack,";font-size:",F.tstCardDateSizeMobile,";line-height:",F.tstCardDateLineHeight,";letter-spacing:",F.tstCardDateLetterSpacing,";text-transform:",F.tstCardDateTextTransform,";color:",F.tstCardDateColour,";margin:0.25rem 0 0 0;",(0,Y.HG)(T.f.lg),"{font-size:",F.tstCardDateSizeDesktop,";}",""),W=(0,w.AH)(F.tstCardTextFontStack,";font-size:",F.tstCardTextSizeMobile,";line-height:",F.tstCardTextLineHeight,";letter-spacing:",F.tstCardTextLetterSpacing,";color:",F.tstCardTextColour,";margin:0.7rem 0 0 0;padding-bottom:1rem;border-bottom:1px solid ",A.X.black25,";",(0,Y.HG)(T.f.lg),"{font-size:",F.tstCardTextSizeDesktop,";}",""),$=(0,w.AH)(F.tstCardNameFontStack,";font-size:",F.tstCardNameSizeMobile,";line-height:",F.tstCardNameLineHeight,";letter-spacing:",F.tstCardNameLetterSpacing,";text-transform:",F.tstCardNameTextTransform,";color:",F.tstCardNameColour,";margin:0.7rem 0 0 0;",(0,Y.HG)(T.f.lg),"{font-size:",F.tstCardNameSizeDesktop,";}",""),B=(0,w.AH)(F.tstCardRegionFontStack,";font-size:",F.tstCardRegionSizeMobile,";line-height:",F.tstCardRegionLineHeight,";letter-spacing:",F.tstCardRegionLetterSpacing,";color:",F.tstCardRegionColour,";margin:0.25rem 0 0 0;",(0,Y.HG)(T.f.lg),"{font-size:",F.tstCardRegionSizeDesktop,";}","");var P=a(26256),V=a(29132);const q={name:"bjn8wh",styles:"position:relative"},E=(0,w.AH)((0,P.F)(V._.testimonialsCardPlayBtnSize,400),";",""),X={name:"1ukq44s",styles:"width:100%;padding-top:56.25%;height:0;position:relative"},_={name:"qkchd0",styles:"width:100%;height:100%;position:absolute;top:0;left:0"};const K=(0,w.AH)("max-width:",p.w.tcMaxWidth,";margin-inline-end:",p.w.tcMarginInline,";margin-inline-start:",p.w.tcMarginInline,";",""),U={name:"bzmis9",styles:"&:nth-of-type(n){margin-inline-start:10px;margin-inline-end:10px;width:auto;}"},j=({testimonial:t,isCarousel:e=!1,isModal:a=!1,handleCardClick:s})=>{const{remoteId:i,heading:n,caption:o,name:r,address:l,publishDate:d,imageSources:c,videoSources:g,assetType:m}=t,{srcWebp:C,srcFallback:p,srcThumb:T,width:k,height:z,imageAlt:v}=c||{},{posterSrc:D,videoDesktopSrc:Y}=g||{},A=[M];e&&A.push(U),a&&A.push(x);const L=a?{role:"button",onClick:()=>null==s?void 0:s(t),onKeyDown:e=>
1("Enter"===e.key||" "===e.key)&&(null==s?void 0:s(t))}:{};return(0,w.Y)("div",(0,h.A)({className:"classVideoPlayHoverWrapper",css:A},L,{tabIndex:Number(i)}),(0,w.Y)("div",{css:N},c&&"Image"===m&&(0,w.Y)(b.n,{imageCustom:y,srcWebp:C,srcFallback:p,srcThumb:T,width:k,height:z,alt:v}),g&&"Video"===m&&(0,w.Y)("div",{css:q},(0,w.Y)(H.K,{className:"classVideoPlayIcon",css:E,name:"iconVideoPlay"}),D?(0,w.Y)(b.n,{imageCustom:y,srcWebp:D.srcWebp,srcFallback:D.srcFallback,srcThumb:D.srcThumb,width:D.width,height:D.height,alt:D.imageAlt}):(0,w.Y)(f.M,{imageCustom:y,srcBasic:S.q,width:350,height:350,alt:null==Y?void 0:Y.imageAlt})),(0,w.Y)("div",{css:R},n&&(0,w.Y)(u.f,{css:G},n),d&&(0,w.Y)(u.f,{className:"classTstText",css:I},d),!a&&o&&(0,w.Y)(u.f,{className:"classTstText",css:W},o),r&&(0,w.Y)(u.f,{className:"classTstText",css:$},r),l&&(0,w.Y)(u.f,{className:"classTstText",css:B},l))))};var J=a(37771);const O=({modalShowed:t,closeModal:e,testimonialCardRef:a})=>{const{imageSources:s,videoSources:i,heading:n,publishDate:o,caption:d,name:c,address:m,assetType:C}=a.current||{},{posterSrc:p,videoDesktopSrc:h}=i||{},H=(0,g.r)(d);return(0,w.Y)(J.a,{modalShowed:t,closeModal:e,modalContentCustom:k},s&&"Image"===C&&(0,w.Y)(b.n,{className:"classTstModelImage",srcWebp:s.srcWebp,srcFallback:s.srcFallback,srcThumb:s.srcThumb,width:s.width,height:s.height,alt:s.imageAlt}),i&&"Video"===C&&(0,w.Y)("div",{css:X},(0,w.Y)("video",{width:"100%",preload:"metadata",poster:p&&(p.srcWebp||p.srcFallback)||"",controls:!0,playsInline:!0,css:_},(0,w.Y)("source",{src:(null==h?void 0:h.url)||"",type:(null==h?void 0:h.type)||""}),(0,w.Y)("p",null,"This browser does not support the video element."))),(0,w.Y)("div",{css:z},n&&(0,w.Y)(u.f,{className:"classTstModalText",css:G},n),o&&(0,w.Y)(u.f,{className:"classTstModalText",css:I},o),d&&(0,w.Y)(l.m,{className:"classTstModalText",wrapperCustom:W},(0,w.Y)(r.$,null,H)),c&&(0,w.Y)(u.f,{className:"classTstModalText",css:$},c),m&&(0,w.Y)(u.f,{className:"classTstModalText",css:B},m)))};var Q=a(20967),Z=a(599),tt=a(53088),et=a(80945),at=a(74821);const st=(0,w.AH)((0,et.$)(),";background-color:",p.w.tcBgColour,";",(0,at.s)(),";",(0,tt.CU)("32px"),";&.classIsAlternateDesign{background-color:",p.w.tcBgColourAlt,";}",""),it=(0,w.AH)("max-width:100%;",(0,tt.CU)(),";",(0,Y.HG)(T.f.lg),"{max-width:",p.w.tcContentMaxWidth,";margin-left:",p.w.tcContentMarginHor,";margin-right:",p.w.tcContentMarginHor,";}",""),nt=(0,w.AH)(p.w.tcHeadingFontStack,";font-size:",p.w.tcHeadingSizeMobile,";letter-spacing:",p.w.tcHeadingLetterSpacing,";line-height:",p.w.tcHeadingLineHeight,";text-transform:",p.w.tcHeadingTransform,";text-align:",p.w.tcHeadingAlign,";color:",p.w.tcHeadingColour,";margin-block-end:0;",(0,Y.HG)(T.f.lg),"{font-size:",p.w.tcHeadingSizeDesktop,";}.classIsAlternateDesign &{color:",p.w.tcHeadingColourAlt,";}",""),ot=(0,w.AH)(p.w.tcSubHeadingFontStack,";font-size:",p.w.tcSubHeadingSizeMobile,";line-height:",p.w.tcSubHeadingLineHeight,";text-align:",p.w.tcSubHeadingAlign,";text-transform:",p.w.tcSubHeadingTransform,";letter-spacing:",p.w.tcSubHeadingLetterSpacing,";color:",p.w.tcSubHeadingColour,";margin-block-end:0;",(0,Y.HG)(T.f.lg),"{font-size:",p.w.tcSubHeadingSizeDesktop,";}.classIsAlternateDesign &{color:",p.w.tcSubHeadingColourAlt,";}",""),rt=(0,w.AH)("text-align:",p.w.tcTextAlign,";margin-block-end:0;",(0,Y.HG)(T.f.md),"{font-size:",p.w.bllTextSizeDesktop,";}ul,ol{",(0,Q.$C)(),";}>*{",(0,Z.H)(),";}",""),lt=({componentTypeClassName:t=""})=>{const e=(0,C.GR)("2527985065").allCmsTestimonial.nodes,a=(0,m.C)(),{testimonialCarousel:h}=a,{heading:u,subHeading:H,content:S,useAlternateStyles:f}=h||{},b=(0,g.r)(u),T=(0,g.r)(H),x=(0,g.r)(S),{0:k,1:z}=(0,s.useState)(!1),v=(0,s.useRef)(null),D=t=>{v.current={...t},z(!0)},Y=e.slice(0,10),M=p.w.tcIsGapMandatory;return(0,i.uG)(Y)?(0,w.Y)(l.m,{className:`classItemRequiresPadding ${t} ${(0,c.a)(f,M)}`,wrapperCustom:st},(b||T||x)&&(0,w.Y)(l.m,{className:"classTstCarouselTextWrapper",css:it},b&&(0,w.Y)(o._B,{heading3Custom:nt},(0,w.Y)(r.$,{disallowedElements:["p","div"],unwrapDisallowed:!0},b)),T&&(0,w.Y)(o.f_,{heading4Custom:ot},(0,w.Y)(r.$,{disallowedElements:["p","div"],unwrapDisallowed:!0}
1,T)),x&&(0,w.Y)(l.m,{className:"classTstCarouselText",css:rt},(0,w.Y)(r.$,{cmsContent:!0},x))),(0,w.Y)(n.F,{carouselComponentName:"testimonials-carousel",carouselSettings:d.f.testimonials,carouselWrapperCustom:K},Y.map((t=>(0,w.Y)(j,{handleCardClick:D,testimonial:t,key:t.id,isModal:!0,isCarousel:!0})))),(0,w.Y)(O,{modalShowed:k,closeModal:()=>{z(!1)},testimonialCardRef:v})):null}}}]);
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.