(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9609],{19638:function(e,t,i){"use strict";var l=i(85893),n=i(29409),a=i(5885),s=i(59965),d=i(45028),o=i(79936),r=i(83346),c=i(78112),m=i(41132),x=i(19614),h=i.n(x);t.ZP=e=>{let{image:t,imageType:i,imageAlt:x,smallFixedImage:u,fixed:p,padding:g,tagline:v,heading:w,headingBold:_,description:j,href:y,linkText:f,textClassName:N="",alignment:I,isEditor:C,children:b,...F}=e,{imageStyle:k,aspectRatio:H}=function(e,t,i){let{objectFit:l,layoutType:n,aspectRatioHeight:a,aspectRatioWidth:s,colPerRow:d}=i,o=(0,c.i)(e?{height:"customSize"===n&&(null==t?void 0:t.height)?null==t?void 0:t.height:"customAspectRatio"===n&&"cover"===l||"contain"===l||"fill"===l?"100%":"auto",width:(null==t?void 0:t.style)&&(null==t?void 0:t.width)?t.width:"100%",objectFit:null!=l?l:"cover",overflow:"hidden"}:{height:"auto",width:(null==t?void 0:t.style)&&(null==t?void 0:t.width)?t.width:"100%",objectFit:"cover",overflow:"hidden"}),r={},m=d?(1440-30*d)/d:void 0;return"customAspectRatio"===n?r=(0,c.i)({aspectRatio:"".concat(null!=s?s:2," / ").concat(null!=a?a:1)}):e||(r=(0,c.i)({aspectRatio:(null==t?void 0:t.width)?void 0:"".concat(m," / ").concat(null==t?void 0:t.height)})),{imageStyle:o,imageWidth:m,aspectRatio:r}}(C,t,F),{textContainerStyle:S,cardHeadingStyle:T,cardDescriptionStyle:Z,btnClassName:q}=function(e){let{minHeight:t,backgroundColor:i,headingStyle:l,headingColor:n,descriptionColor:a,btnClassNameProp:s,btnType:o,btnColour:r}=e,m=(0,c.i)({minHeight:"".concat(t),backgroundColor:i&&(0,d.Lq)(i.colorType,i.customColor)});return{textContainerStyle:m,cardHeadingStyle:(0,c.i)({...l,textTransform:"none",color:n?(0,d.Lq)(n.colorType,n.customColor):"inherit"}),cardDescriptionStyle:(0,c.i)({color:a?(0,d.Lq)(a.colorType,a.customColor):"inherit"}),btnClassName:s||"btn btn-".concat("outline"===o?"outline-":"").concat(null!=r?r:"primary")}}(F),O=!!(null==t?void 0:t.src),L=v||w||j||b||f,P=f&&y;return(0,l.jsxs)(n.Z,{href:y,className:"d-flex justify-content-center h-100",...F,children:[O&&(0,l.jsx)(o.o,{href:y,className:"w-100",children:"Image"===i?(0,l.jsx)("div",{className:(0,m.cn)("w-100 d-flex justify-content-center align-items-center position-relative overflow-hidden",u&&"d-flex"),style:H,"data-testid":"image-container-".concat(F.id),children:(0,l.jsx)(s.ZP,{id:F.id,image:{...t,url:t.src},alt:null!=x?x:null==t?void 0:t.alt,sizes:"(min-width: 768px) 25vw",className:p?h().ImgFixedHeight:h().Img,style:k,enableFill:!C})}):(0,l.jsx)("div",{className:"overflow-hidden",children:(0,l.jsx)("img",{...t,alt:null!=x?x:null==t?void 0:t.alt,className:p?h().ImgFixedHeight:h().Img,style:{...k,padding:g?"".concat(g):void 0},"data-testid":"image-".concat(F.id)})})}),L&&(0,l.jsxs)("div",{className:(0,m.cn)(h().TextContainer,N,I?"text-".concat(I):""),style:S,"data-testid":"text-container-".concat(F.id),children:[v&&(0,l.jsx)("h3",{className:(0,m.cn)(h().Tagline,"mt-3"),children:v}),w&&(0,l.jsxs)("h4",{className:(0,m.cn)(_?"font-weight-bold":""),style:T,children:[!(0,a.On)(y)&&(0,l.jsx)(o.o,{href:y,children:(0,l.jsx)("span",{"aria-hidden":"true",className:h().Absolute})}),(0,l.jsx)("span",{dangerouslySetInnerHTML:{__html:(0,d.ZF)(w)}})]}),j&&(0,l.jsx)("p",{className:(0,m.cn)(w||v?"mt-2":"",(null==F?void 0:F.descriptionColor)?"":r.Yc?"text-white-50":"text-muted"),style:Z,"data-testid":"description-".concat(F.id),children:(0,l.jsx)("span",{dangerouslySetInnerHTML:{__html:(0,d.ZF)(j)}})}),b,P&&(0,l.jsx)("div",{className:(0,m.cn)("mt-2 d-flex",I?"justify-content-".concat(I):""),children:(0,a.On)(y)?(0,l.jsx)(a.EK,{className:q,children:f}):(0,l.jsx)(o.Z,{href:y,className:q,children:f})})]})]})}},59965:function(e,t,i){"use strict";i.d(t,{HT:function(){return c},Sf:function(){return m}});var l=i(85893),n=i(25675),a=i.n(n),s=i(41664),d=i.n(s),o=i(90465);let r=e=>{if(e)return e.startsWith("https://res.cloudinary.com")&&!e.includes("q_")?e.replace("upload/","upload/q_auto,f_auto/"):e},c=e=>{let{src:t,width:i=640,quality:l=75}=e;return"https://res.cloudinary.com/total-dealer/image/upload/w_".concat(i,",f_auto,q_").concat(l,"/v1/production/").concat(t)},m=e=>e.split("/").pop().split(".")[0],x=(e,t)=>"number"==typeof e&&"number"==typeof t,h=e=>{var t,i,n,s,d;let{image:m,alt:h,style:u,className:p,sizes:g,enableFill:v,priority:w,id:_}=e,{src:j,loader:y}=(0,o.t)(null!==(s=null==m?void 0:m.image_key)&&void 0!==s?s:null==m?void 0:m.url,(null==m?void 0:m.image_key)?c:void 0);if(!m)return null;let f=null===(t=m.url)||void 0===t?void 0:t.endsWith(".gif"),N=null===(i=m.url)||void 0===i?void 0:i.includes("/video/");return((null==m?void 0:m.image_key)||j&&y&&!f&&!N)&&((null==m?void 0:m.image_key)||j)?x(m.height,m.width)?(0,l.jsx)(a(),{src:j,height:m.height,width:m.width,alt:h,style:u,className:p,sizes:g,priority:w,loader:y,"data-testid":"image-".concat(_)}):v?(0,l.jsx)(a(),{src:j,alt:h,style:u,className:p,sizes:g,priority:w,loader:y,fill:!0}):(0,l.jsx)("img",{src:r(null==m?void 0:null===(d=m.url)||void 0===d?void 0:d.replace("http:","https:")),alt:null!=h?h:null==m?void 0:m.alt,style:u,className:p}):N?(0,l.jsx)("video",{src:m.url,autoPlay:!0,loop:!0,muted:!0,playsInline:!0,style:u,className:p}):(0,l.jsx)("img",{src:r(null==m?void 0:null===(n=m.url)||void 0===n?void 0:n.replace("http:","https:")),alt:null!=h?h:null==m?void 0:m.alt,style:u,className:p})};t.ZP=e=>{var t;let i=null!==(t=null==e?void 0:e.alt)&&void 0!==t?t:"";return(null==i?void 0:i.startsWith("https"))?(0,l.jsx)(d(),{href:i,target:"_blank",rel:"noopener noreferrer",children:(0,l.jsx)(h,{...e})}):(0,l.jsx)(h,{...e})}},92895:function(e,t,i){"use strict";i.d(t,{Z:function(){return n}});var l=i(85893),n=e=>{let{className:t="mt-5 container pt-5 pb-3",heading:i,description:n,rowClass:a="row d-flex align-items-stretch justify-content-around",children:s}=e;return(0,l.jsxs)("section",{className:t,children:[(0,l.jsx)("div",{className:"row",children:(0,l.jsxs)("div",{className:"mx-auto col-lg-10",children:[i&&(0,l.jsx)("h3",{className:"text-center mb-3",children:i}),n&&(0,l.jsx)("p",{className:"text-center mx-lg-4",children:n})]})}),(0,l.jsx)("div",{className:a,children:s})]})}},6811:function(e,t,i){"use strict";i.d(t,{i:function(){return r}});var l=i(85893),n=i(25675),a=i.n(n),s=i(59965),d=i(62742),o=i.n(d);let r=e=>{let{image:t,overlay:i=!0,children:n}=e;return(0,l.jsxs)("div",{className:"position-relative",children:[(0,l.jsx)("div",{className:o().ImageContainer,children:(0,l.jsx)(s.ZP,{className:o().Img,image:t,alt:t.alt})}),i&&(0,l.jsx)("div",{"aria-hidden":"true",className:o().ImageOverlay}),(0,l.jsx)("div",{className:"position-relative py-0 py-lg-5",children:n})]})};t.Z=e=>{let{image:t,imageType:i="Image",overlay:n=!0,children:s}=e;return(0,l.jsxs)("div",{className:"position-relative",children:[(0,l.jsx)("div",{className:o().ImageContainer,children:"img"===i?(0,l.jsx)("img",{src:t.src,className:o().Img,alt:t.alt}):(0,l.jsx)(a(),{...t,className:o().Img,alt:t.alt})}),n&&(0,l.jsx)("div",{"aria-hidden":"true",className:o().ImageOverlay}),(0,l.jsx)("div",{className:"position-relative py-0 py-lg-5",children:s})]})}},6594:function(e,t,i){"use strict";var l=i(85893),n=i(67294),a=i(13215),s=i(84901),d=i(41132),o=i(60604),r=i.n(o);t.Z=e=>{let{title:t,dark:i,className:o,children:c}=e,[m,x]=(0,n.useState)(!1),h=m?a.iFH:a.wEH;return(0,l.jsxs)("div",{className:(0,d.cn)(r().Faq,o),children:[(0,l.jsxs)("div",{className:(0,d.cn)(r().collapseHeading),onClick:()=>x(!m),children:[(0,l.jsx)("h5",{className:i?"text-white":"",children:t}),(0,l.jsx)(h,{size:20,className:(0,d.cn)("text-open-pay-primary",i?"bg-dark":"")})]}),(0,l.jsx)("div",{className:(0,d.cn)(i?"text-white-50":""),children:(0,l.jsx)(s.S,{isOpen:m,children:c})})]})}},19614:function(e){e.exports={xs:"min-width: 400px",sm:"min-width: 576px","sm-down":"max-width: 576px",md:"min-width: 768px","md-down":"max-width: 768px",lg:"min-width: 992px","lg-down":"max-width: 992px",xl:"min-width: 1200px","xl-down":"max-width: 1200px",xxl:"min-width: 1400px",Img:"SimpleImageCard_Img__arpGy",ImgFixedHeight:"SimpleImageCard_ImgFixedHeight__g46rx",Image:"SimpleImageCard_Image__rIvCs",TextContainer:"SimpleImageCard_TextContainer__2r0Ol",Tagline:"SimpleImageCard_Tagline__WaUEu",Absolute:"SimpleImageCard_Absolute__bV94F"}},62742:function(e){e.exports={xs:"min-width: 400px",sm:"min-width: 576px","sm-down":"max-width: 576px",md:"min-width: 768px","md-down":"max-width: 768px",lg:"min-width: 992px","lg-down":"max-width: 992px",xl:"min-width: 1200px","xl-down":"max-width: 1200px",xxl:"min-width: 1400px",Container:"ImageBackground_Container__DQmbV",ImageContainer:"ImageBackground_ImageContainer__7481P",ImageOverlay:"ImageBackground_ImageOverlay__RL61r",Img:"ImageBackground_Img__Lbovb"}},60604:function(e){e.exports={xs:"min-width: 400px",sm:"min-width: 576px","sm-down":"max-width: 576px",md:"min-width: 768px","md-down":"max-width: 768px",lg:"min-width: 992px","lg-down":"max-width: 992px",xl:"min-width: 1200px","xl-down":"max-width: 1200px",xxl:"min-width: 1400px",Faq:"Faq_Faq__BZ5bO",collapseHeading:"Faq_collapseHeading__JyF82"}}}]);