1;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="9220ebf7-3f2c-6409-096c-d1b0202378fc")}catch(e){}}(); 2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,12076,e=>{"use strict";var t=e.i(91398);e.i(50810);var i=e.i(65599),l=e.i(26019),s=e.i(91788),o=e.i(66981);e.i(35704);var r=e.i(11868);function n({media:e,title:i,isActive:a=!0,loading:c="lazy",autoplayFinished:d=!1,mobileClassName:m="",desktopClassName:u="",mobileWidth:h=600,mobileHeight:x=800,desktopWidth:p=1600,desktopHeight:f=600}){let g=(0,s.useRef)(null),v=(0,s.useRef)(null),[b,j]=(0,s.useState)(!1),w=(0,s.useRef)(0);(0,s.useEffect)(()=>{if(!e||"video"!==e.mediaType)return;let t=g.current,i=v.current;if(d||!a){t?.pause(),i?.pause(),d&&(t&&(t.currentTime=0),i&&(i.currentTime=0)),j(!0);return}a&&e.autoPlayVideo?(w.current=0,t?.play().catch(()=>{j(!0)}),i?.play().catch(()=>{j(!0)}),j(!1)):(t?.pause(),i?.pause(),j(!0))},[a,e,d]),(0,s.useEffect)(()=>{if(!e||"video"!==e.mediaType||!e.autoPlayVideo)return;let t=g.current,i=v.current,l=e=>{e&&(w.current+=1,w.current>=2?(e.pause(),e.currentTime=0,j(!0)):(e.currentTime=0,e.play().catch(()=>{j(!0)})))},s=()=>l(t),o=()=>l(i);return t?.addEventListener("ended",s),i?.addEventListener("ended",o),()=>{t?.removeEventListener("ended",s),i?.removeEventListener("ended",o)}},[e]),(0,s.useEffect)(()=>{if(!e||"video"!==e.mediaType)return;let t=g.current,i=v.current,l=()=>j(!0),s=()=>{j(!1)};return t?.addEventListener("pause",l),t?.addEventListener("play",s),i?.addEventListener("pause",l),i?.addEventListener("play",s),()=>{t?.removeEventListener("pause",l),t?.removeEventListener("play",s),i?.removeEventListener("pause",l),i?.removeEventListener("play",s)}},[e]);let y=()=>{let e=g.current,t=v.current;w.current=0,e?.play().catch(()=>{}),t?.play().catch(()=>{})};if(!e)return null;if("video"===e.mediaType){let i=e.externalVideoUrlMobile,l=e.externalVideoUrl||i;return(0,t.jsxs)(t.Fragment,{children:[i&&(0,t.jsxs)("div",{className:(0,o.cn)("relative md:hidden",m),children:[(0,t.jsx)("video",{ref:g,className:"h-full w-full object-cover",src:i,muted:e.autoPlayVideo,playsInline:!0,controls:e.showVideoControls,"webkit-playsinline":"true"}),b&&!e.showVideoControls&&(0,t.jsx)(r.default,{type:"button",variant:"iconGlass",size:"iconLarge",className:"absolute top-1/2 left-1/2 z-10",onClick:y,"aria-label":"Play video",icon:(0,t.jsx)("svg",{width:"26",height:"26",viewBox:"0 0 26 26",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,t.jsx)("path",{d:"M6.48901 6.28613C6.48915 5.21214 7.65224 4.54109 8.58276 5.07812L19.864 11.5908C20.7945 12.1279 20.7945 13.4717 19.864 14.0088L8.58276 20.5215C7.65226 21.0585 6.48914 20.3875 6.48901 19.3135V6.28613Z",fill:"white",stroke:"white",strokeWidth:"0.177692"})})})]}),l&&(0,t.jsxs)("div",{className:(0,o.cn)("relative hidden md:block",u),children:[(0,t.jsx)("video",{ref:v,className:"h-full w-full object-cover",src:l,muted:e.autoPlayVideo,playsInline:!0,controls:e.showVideoControls,"webkit-playsinline":"true"}),b&&!e.showVideoControls&&(0,t.jsx)(r.default,{type:"button",variant:"iconGlass",size:"iconLarge",className:"absolute top-1/2 left-1/2 z-10",onClick:y,"aria-label":"Play video",icon:(0,t.jsx)("svg",{width:"26",height:"26",viewBox:"0 0 26 26",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,t.jsx)("path",{d:"M6.48901 6.28613C6.48915 5.21214 7.65224 4.54109 8.58276 5.07812L19.864 11.5908C20.7945 12.1279 20.7945 13.4717 19.864 14.0088L8.58276 20.5215C7.65226 21.0585 6.48914 20.3875 6.48901 19.3135V6.28613Z",fill:"white",stroke:"white",strokeWidth:"0.177692"})})})]})]})}let k=e?.mobileImage,C=e?.desktopImage||k;return(0,t.jsxs)(t.Fragment,{children:[k?.url&&(0,t.jsx)(l.default,{className:`md:hidden ${m}`,src:k.url,alt:k.description||i||k.title||"",width:h,height:x,loading:c,priority:"eager"===c}),C?.url&&(0,t.jsx)(l.default,{className:`hidden md:block ${u}`,src:C.url,alt:C.description||i||C.title||"",width:p,height:f,loading:c,priority:"eager"===c})]})}let a=({className:e})=>(0,t.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:e,children:(0,t.jsx)("path",{d:"M12.22 8H3M3 8L7.05 3.95M3 8L7.05 12.05",stroke:"currentColor",strokeWidth:"1",strokeLinecap:"round",strokeLinejoin:"round"})}),c=({className:e})=>(0,t.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:e,children:(0,t.jsx)("path",{d:"M3 8H12.22M12.22 8L8.17 3.95M12.22 8L8.17 12.05",stroke:"currentColor",strokeWidth:"1",strokeLinecap:"round",strokeLinejoin:"round"})});e.i(95635);var d=e.i(43858),m=e.i(75141),u=e.i(98817),h=e.i(68577),x=e.i(46242);let p={"p-small":"p"};function f({item:e,totalItems:i,isFirstItem:l,className:s,style:r,...n}){if(!e?.title)return null;let a=e.titleTag||"p";i>1&&!l&&"h1"===a&&(a="p");let c=p[a]||a;return(0,t.jsx)(c,{className:(0,o.cn)(s),style:r,...n,children:e.title})}var g=e.i(46048);let v={hidden:{opacity:0}
2,visible:{opacity:1}},b={"p-small":"text-heading-xs-mobile md:text-heading-xs leading-[140%] whitespace-pre-line max-w-[200px] md:max-w-[270px]"},j=e=>String(e).padStart(2,"0");function w({data:e}){let r=(0,d.useIsMobile)(),[p,y]=(0,s.useState)(0),[k,C]=(0,s.useState)(!1),N=(0,s.useRef)(0),I=(0,s.useRef)(0);(0,s.useEffect)(()=>{N.current=0,I.current=0,C(!1)},[e.carouselItemsCollection?.items]);let[L,$]=(0,m.useKeenSlider)({slideChanged(t){let i=e.carouselItemsCollection.items.length,l=(t.track.details.abs%i+i)%i;I.current===i-1&&0===l&&N.current<2&&(N.current+=1,N.current>=2&&C(!0)),I.current=l,y(l)},loop:!0,slides:{perView:1}},[t=>{let i;if(!e.autoplay||0===e.autoplay)return;let l=!1;function s(){clearTimeout(i)}function o(){clearTimeout(i),l||N.current>=2||(i=setTimeout(()=>{t.next()},Number(`${e.autoplay}000`)))}t.on("created",()=>{t.container.addEventListener("mouseover",()=>{l=!0,s()}),t.container.addEventListener("mouseout",()=>{l=!1,o()}),o()}),t.on("dragStarted",s),t.on("animationEnded",o),t.on("updated",o)}]);return e.carouselItemsCollection.items?(0,t.jsxs)("div",{className:"relative h-[calc(100vh-112px)] w-full overflow-hidden bg-(--background-color) text-(--text-color) md:mt-6 md:aspect-video md:h-[calc(100vh-160px)] md:rounded md:px-6",style:{"--text-color":`var(--${e.primaryColor})`,"--background-color":`var(--${e.secondaryColor})`},children:[(0,t.jsx)("div",{ref:L,className:"keen-slider w-full overflow-hidden md:rounded",children:e?.carouselItemsCollection?.items?.map((e,i)=>(0,t.jsx)("div",{className:"keen-slider__slide",children:(0,t.jsx)(n,{media:e?.media,title:e?.title,isActive:p===i,autoplayFinished:k,mobileClassName:"w-full overflow-hidden object-cover h-[calc(100vh-112px)]",desktopClassName:"w-full overflow-hidden object-cover aspect-video h-[calc(100vh-160px)] rounded",loading:"eager",mobileWidth:600,mobileHeight:800,desktopWidth:1900,desktopHeight:1200})},`${e?.sys?.id}-${i}`))}),(0,t.jsx)(u.AnimatePresence,{mode:"wait",children:(0,t.jsxs)(h.motion.div,{initial:"hidden",animate:"visible",exit:"hidden",variants:v,transition:{duration:.3,ease:"easeInOut"},className:(0,o.cn)("absolute flex w-full max-w-11/12 flex-col gap-6 text-(--text-color) md:max-w-[450px]",{"rounded p-6 backdrop-blur-[120px]":e.carouselItemsCollection.items[p]?.glassBackgroundOnText,"left-1/2 -translate-x-1/2":r,"md:left-72 lg:left-16":e.carouselItemsCollection.items[p]?.copyPositionHorizontal==="left","md:left-1/2 md:-translate-x-1/2":e.carouselItemsCollection.items[p]?.copyPositionHorizontal==="middle","md:right-16":e.carouselItemsCollection.items[p]?.copyPositionHorizontal==="right","top-10":e.carouselItemsCollection.items[p]?.copyPositionVertical==="top","top-1/2 md:-translate-y-1/2":e.carouselItemsCollection.items[p]?.copyPositionVertical==="middle","bottom-12 md:bottom-16":e.carouselItemsCollection.items[p]?.copyPositionVertical==="bottom"}),children:[e.carouselItemsCollection.items[p]?.subheader?(0,t.jsx)("p",{className:"text-heading-xxs-mobile font-medium",children:e.carouselItemsCollection.items[p].subheader}):null,(0,t.jsx)(f,{item:e.carouselItemsCollection.items[p],totalItems:e.carouselItemsCollection.items.length,isFirstItem:0===p,className:(0,o.cn)(b[e.carouselItemsCollection.items[p]?.titleTag]||"text-heading-sm-mobile md:text-heading-sm","font-medium")}),e.carouselItemsCollection.items[p]?.text?(0,t.jsx)("p",{className:"text-button leading-[140%]",children:e.carouselItemsCollection.items[p].text}):null,e.carouselItemsCollection.items[p]?.linksCollection.items.length>0?(0,t.jsx)("div",{className:"flex items-center gap-6",children:e.carouselItemsCollection.items[p].linksCollection.items.map((e,l)=>(0,t.jsx)(i.Button,{href:(0,x.parseHref)(e),label:e.linkText,...(0,x.parseButtonVariant)(e),calendlyLink:e.calendlyLink,testRideStoreHandle:e.testRideStoreHandle,onClick:()=>{let t={event:"click",enhance_ecomm:!0,ecommerce:{name:e.linkText,link_to:(0,x.parseHref)(e),section_name:"CarouselBanner"}};(0,g.gtmDebugger)("click",t),window.dataLayer.push(t)}},`${e.sys.id}-${l}`))}):null]},p)}),$.current?.track.details.slides.length>1?(0,t.jsxs)("div",{className:(0,o.cn)("absolute rounded-lg bg-[#0000000D] backdrop-blur-[120px]","top-2 right-2 p-3","md:top-auto md:right-12 md:bottom-12 md:p-4"),children:[(0,t.jsxs)("div",{className:"flex items-center gap-3",children:[e.carouselItemsCollection.items.length>3&&(0,t.jsx)("button",{type:"button",onClick:()=>$.current?.prev(),className:"flex h-4 w-4 items-center justify-center text-white transition-opacity hover:opacity-70 md:hidden","aria-label":"Previous slide",children:(0,t.jsx)(a,{className:"h-4 w-4"})}),e.carouselItemsCollection.items.map((i,s)=>{var r;let n,a=(r=i.media)?r.mobileImage?.url||r.desktopImage?.url:null,c=p===s,d=e.carouselItemsCollection.items.length,m=d<=3||s===p||s===(p-1+d)%d||s===(p+1)%d;return(0,t.jsx)("button",{type:"button",onClick:()=>$.current?.moveToIdx(s),className:(0,o.cn)("relative h-[50px] w-[80px] shrink-0 overflow-hidden rounded transition-all duration-200","border-2 focus:outline-none focus-visible:ring-2 focus-visible:ring-white",c?"border-white":"border-transparent hover:border-white/50",!m&&"hidden md:block"),"aria-label":`Go to slide ${s+1}: ${i.title||`Slide ${s+1}`}`,"aria-current":c?"true":"false",children:a?(0,t.jsx)(l.default,{src:a,alt:i.media?.mobileImage?.description||i.media?.desktopImage?.description||i.title||i.media?.mobileImage?.title||i.media?.desktopImage?.title||`Slide ${s+1}`,fill:!0,sizes:"80px",className:"object-cover",loading:"eager"}):(n=i.media,n?.mediaType==="video")?(0,t.jsx)("div",{className:"flex h-full w-full items-center justify-center bg-white/10",children:(0,t.jsx)("svg",{width:"20",height:"20",viewBox:"0 0 26 26",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,t.jsx)("path",{d:"M6.48901 6.28613C6.48915 5.21214 7.65224 4.54109 8.58276 5.07812L19.864 11.5908C20.7945 12.1279 20.7945 13.4717 19.864 14.0088L8.58276 20.5215C7.65226 21.0585 6.48914 20.3875 6.48901 19.3135V6.28613Z",fill:"white"})})}):(0,t.jsx)("div",{className:"h-full w-full bg-white/10"})},`thumb-${i?.sys?.id||s}`)}),e.carouselItemsCollection.items.length>3&&(0,t.jsx)("button",{type:"button",onClick:()=>$.current?.next(),className:"flex h-4 w-4 items-center justify-center text-white transition-opacity hover:opacity-70 md:hidden","aria-label":"Next slide",children:(0,t.jsx)(c,{className:"h-4 w-4"})})]}),(0,t.jsxs)("div",{className:"mt-3 hidden items-center justify-between md:flex",children:[(0,t.jsxs)("span",{className:"text-[14px] leading-[140%] font-medium tabular-nums",children:[(0,t.jsx)("span",{className:"text-white",children:j(p+1)}),(0,t.jsx)("span",{className:"mx-1 text-white/40",children:"/"}),(0,t.jsx)("span",{className:"text-white/40",children:j(e.carouselItemsCollection.items.length)})]}),(0,t.jsxs)("div",{className:"flex items-center gap-3",children:[(0,t.jsx)("button",{type:"button",onClick:()=>$.current?.prev(),className:"flex h-4 w-4 items-center justify-center text-white transition-opacity hover:opacity-70","aria-label":"Previous slide",children:(0,t.jsx)(a,{className:"h-4 w-4"})}),(0,t.jsx)("button",{type:"button",onClick:()=>$.current?.next(),className:"flex h-4 w-4 items-center justify-center text-white transition-opacity hover:opacity-70","aria-label":"Next slide",children:(0,t.jsx)(c,{className:"h-4 w-4"})})]})]})]}):null]}):null}function y({data:e}){let l=e.carouselItemsCollection.items[0];if(!l)return null;let s=l.linksCollection.items[0];return(0,t.jsxs)("div",{className:"relative container mx-auto w-full bg-(--background-color) text-(--text-color) max-md:px-4 md:aspect-auto",style:{"--text-color":`var(--${e.primaryColor})`,"--text-secondary-color":`var(--${e.tertiaryColor})`,"--background-color":`var(--${e.secondaryColor})`},children:[(0,t.jsx)(n,{media:l.media,title:l.title,mobileClassName:"w-full object-cover overflow-hidden rounded",desktopClassName:"w-full object-cover overflow-hidden rounded",mobileWidth:600,mobileHeight:800,desktopWidth:1600,desktopHeight:600}),(0,t.jsxs)("div",{className:"absolute top-8 left-8 max-md:right-8 md:top-10 md:left-10 md:max-w-[415px]",children:[l.text?(0,t.jsx)("p",{className:"text-bodytext-m mb-4",children:l.text}):null,(0,t.jsx)(f,{item:l,totalItems:e.carouselItemsCollection.items.length,isFirstItem:!0,className:"text-heading-sm-mobile md:text-heading-sm mb-6 font-medium md:mb-10"}),(0,t.jsxs)("div",{className:"flex items-center gap-4 empty:hidden",children:[s?(0,t.jsx)(i.Button,{href:(0,x.parseHref)(s),label:s.linkText,...(0,x.parseButtonVariant)(s),calendlyLink:s.calendlyLink,testRideStoreHandle:s.testRideStoreHandle,onClick:()=>{let e={event:"click",enhance_ecomm:!0,ecommerce:{name:s.linkText,link_to:(0,x.parseHref)(s),section_name:"CarouselPromotion"}};(0,g.gtmDebugger)("click",e),window.dataLayer.push(e)}},s.sys.id):null,(0,t.jsxs)("div",{className:"5 flex flex-col gap-0 empty:hidden",children:[l.subtitle?(0,t.jsx)("p",{className:"text-button",children:l.subt
2itle}):null,l.subheader?(0,t.jsx)("p",{className:"text-bodytext-xs text-(--text-secondary-color)",children:l.subheader}):null]})]})]})]})}let k={hidden:{opacity:0},visible:{opacity:1},exit:{opacity:0}};function C({data:e}){let[l,o]=(0,s.useState)(0),[r,a]=(0,s.useState)(!1),c=e.carouselItemsCollection.items.length;return 0===c?null:(0,t.jsx)("div",{className:"relative w-full bg-(--background-color) text-(--text-color)",style:{"--text-color":`var(--${e.primaryColor})`,"--background-color":`var(--${e.secondaryColor})`,"--background-secondary-color":`var(--${e.tertiaryColor})`},children:(0,t.jsxs)("div",{className:"container mx-auto px-4 py-16 md:py-20",children:[e.title?(0,t.jsx)("p",{className:"text-heading-md-mobile md:text-heading-md mb-8 font-medium md:mb-16",children:e.title}):null,(0,t.jsxs)("div",{className:"grid grid-cols-1 gap-2 md:grid-cols-2",children:[(0,t.jsxs)("div",{className:"flex aspect-[4/5] flex-col justify-between rounded bg-(--background-secondary-color) p-6 md:aspect-square md:py-10 md:pr-16 md:pl-10",children:[(0,t.jsx)("div",{className:"relative flex-1",children:(0,t.jsx)(u.AnimatePresence,{mode:"wait",children:(0,t.jsx)(h.motion.div,{initial:"hidden",animate:"visible",exit:"exit",variants:k,transition:{duration:.4},className:"absolute top-0 left-0 size-full",children:(0,t.jsxs)("div",{className:"flex h-full flex-col justify-between gap-4",children:[(0,t.jsx)(f,{item:e.carouselItemsCollection.items[l],totalItems:e.carouselItemsCollection.items.length,isFirstItem:0===l,className:"text-heading-sm-mobile md:text-heading-sm font-medium"}),e.carouselItemsCollection.items[l]?.text?(0,t.jsx)("p",{className:"text-button max-w-[420px] font-medium",children:e.carouselItemsCollection.items[l].text}):null]})},l)})}),c>1?(0,t.jsxs)("div",{className:"mt-8 flex items-center justify-between border-t border-solid border-white/15 pt-8",children:[(0,t.jsxs)("p",{className:"text-bodytext-l",children:[l+1,"/",c]}),(0,t.jsxs)("div",{className:"flex items-center gap-4",children:[(0,t.jsx)(i.Button,{className:"text-(--text-color) transition-transform duration-400",variant:"iconNormal",size:"iconLarge",onClick:()=>{a(!0),o(e=>0===e?c-1:e-1),setTimeout(()=>{a(!1)},400)},disabled:r,icon:(0,t.jsxs)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,t.jsx)("path",{d:"M7.04667 3.95331L3 7.99998L7.04667 12.0466",stroke:"currentColor",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),(0,t.jsx)("path",{d:"M12.3333 8H3.11328",stroke:"currentColor",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"})]})}),(0,t.jsx)(i.Button,{className:"text-(--text-color) transition-transform duration-400",variant:"iconNormal",size:"iconLarge",onClick:()=>{a(!0),o(e=>e===c-1?0:e+1),setTimeout(()=>{a(!1)},400)},disabled:r,icon:(0,t.jsxs)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,t.jsx)("path",{d:"M8.28711 3.95331L12.3338 7.99998L8.28711 12.0466",stroke:"currentColor",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),(0,t.jsx)("path",{d:"M3 8H12.22",stroke:"currentColor",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"})]})})]})]}):null]}),(0,t.jsx)("div",{className:"flex-1",children:(0,t.jsx)("div",{className:"flex aspect-[4/5] flex-col justify-between overflow-hidden rounded md:aspect-square",children:(0,t.jsx)("div",{className:"relative size-full",children:(0,t.jsx)(u.AnimatePresence,{children:(0,t.jsx)(h.motion.div,{initial:"hidden",animate:"visible",exit:"exit",variants:k,transition:{duration:.4,ease:"easeInOut"},className:"absolute inset-0 size-full",children:(0,t.jsx)(n,{media:e.carouselItemsCollection.items[l].media,title:e.carouselItemsCollection.items[l].title,mobileClassName:"size-full object-cover",desktopClassName:"size-full object-cover",mobileWidth:600,mobileHeight:600,desktopWidth:800,desktopHeight:800})},l)})})})})]})]})})}function N({data:e}){let r=e.autoplay&&e.autoplay>0,[n,a]=(0,s.useState)(0),[c,d]=(0,m.useKeenSlider)({slideChanged(t){let i=e.carouselItemsCollection.items.length;a((t.track.details.abs%i+i)%i)},loop:!0,slides:{perView:1}},[t=>{let i;function l(){clearTimeout(i),i=setTimeout(()=>{t.next()},Number(`${e.autoplay}000`))}r&&(t.on("created",l),t.on("dragStarted",function(){clearTimeout(i)}),t.on("animationEnded",l),t.on("updated",l))}]);return e.carouselItemsCollection.items?(0,t.jsxs)("div",{className:"bg-(--background-color) px-4 py-20 md:py-32",style:{"--text-color":`var(--${e.primaryColor})`,"--background-color":`var(--${e.secondaryColor})`},children:[(0,t.jsx)("div",{className:"keen-slider",ref:c,children:e.carouselItemsCollection.items.map((i,s)=>(0,t.jsxs)("div",{className:"keen-slider__slide",children:[(0,t.jsxs)("div",{className:"mb-8",children:[i.media?.mobileImage?.url?(0,t.jsx)(l.default,{className:"mx-auto object-contain md:hidden",src:i.media?.mobileImage?.url,alt:i.media?.mobileImage?.description||i.title||i.media?.name||i.media?.mobileImage?.title,height:80,width:200}):null,i.media?.desktopImage?.url?(0,t.jsx)(l.default,{className:"mx-auto hidden object-contain md:block",src:i.media?.desktopImage?.url,alt:i.media?.desktopImage?.description||i.title||i.media?.name||i.media?.desktopImage?.title,height:80,width:200}):null]}),(0,t.jsx)(f,{item:i,totalItems:e.carouselItemsCollection.items.length,isFirstItem:0===s,className:"text-heading-xs-mobile md:text-heading-xs mx-auto mb-12 text-center font-medium md:max-w-[700px]"})]},`${i.sys.id}-${s}`))}),".",e.carouselItemsCollection.items.length>1?(0,t.jsxs)("div",{className:"flex items-center justify-center gap-10",children:[(0,t.jsx)(i.Button,{variant:"iconNormal",size:"iconLarge",onClick:()=>d.current?.prev(),icon:(0,t.jsxs)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,t.jsx)("path",{d:"M7.04667 3.95331L3 7.99998L7.04667 12.0466",stroke:"currentColor",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),(0,t.jsx)("path",{d:"M12.3333 8H3.11328",stroke:"currentColor",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"})]})}),(0,t.jsx)("div",{className:"flex items-center justify-center gap-4",style:{"--autoplay-duration":`${e.autoplay}s`},children:Array.from({length:e.carouselItemsCollection.items.length}).map((e,i)=>{let l=n===i;return(0,t.jsxs)("button",{className:"relative flex size-5 cursor-pointer items-center justify-center",type:"button",onClick:()=>d.current?.moveToIdx(i),"aria-label":`Go to slide ${i+1}`,"aria-current":l?"true":"false",children:[r&&l&&(0,t.jsx)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",className:"absolute inset-0",children:(0,t.jsx)("circle",{cx:"10",cy:"10",r:"8",f
2ill:"none",stroke:"currentColor",strokeWidth:"1",className:"text-core-brown-400 animate-[dash_var(--autoplay-duration)_linear_forwards]",strokeDasharray:"50.26",strokeDashoffset:"50.26",transform:"rotate(-90 10 10)"})}),(0,t.jsx)("div",{className:(0,o.cn)("size-2 rounded-full transition-all duration-300 ease-in-out",l?"bg-core-brown-400":"bg-core-brown-100")})]},i)})}),(0,t.jsx)(i.Button,{variant:"iconNormal",size:"iconLarge",onClick:()=>d.current?.next(),icon:(0,t.jsxs)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,t.jsx)("path",{d:"M8.28711 3.95331L12.3338 7.99998L8.28711 12.0466",stroke:"currentColor",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}),(0,t.jsx)("path",{d:"M3 8H12.22",stroke:"currentColor",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"})]})})]}):null]}):null}function I({data:e}){if(!e.carouselItemsCollection.items)return null;let i=Number(e.mobileColumns),s=1===i||2===i?i:null;return(0,t.jsx)("div",{className:"bg-(--background-color)",style:{"--background-color":`var(--${e.secondaryColor})`,"--text-color":`var(--${e.primaryColor})`,"--text-secondary-color":`var(--${e.tertiaryColor})`},children:(0,t.jsx)("div",{className:(0,o.cn)("container mx-auto gap-6 px-4 py-16 md:grid md:grid-cols-[repeat(var(--cols),minmax(0,1fr))] md:py-10",s?"grid":"flex overflow-y-auto",1===s&&"grid-cols-1",2===s&&"grid-cols-2"),style:{"--cols":e.carouselItemsCollection.items.length},children:e.carouselItemsCollection.items.map((i,r)=>(0,t.jsxs)("div",{className:(0,o.cn)("flex flex-1 items-center gap-4 md:flex-col md:gap-6",!s&&"min-w-max"),children:[i.media?.mobileImage?.url?(0,t.jsx)(l.default,{className:"mx-auto object-contain md:hidden",src:i.media?.mobileImage?.url,alt:i.media?.mobileImage?.description||i.title||i.media?.name||i.media?.mobileImage?.title,height:40,width:40}):null,i.media?.desktopImage?.url?(0,t.jsx)(l.default,{className:"mx-auto hidden object-contain md:block",src:i.media?.desktopImage?.url,alt:i.media?.desktopImage?.description||i.title||i.media?.name||i.media?.desktopImage?.title,height:40,width:40}):null,(0,t.jsxs)("div",{className:"flex flex-1 flex-col gap-2 md:items-center",children:[(0,t.jsx)(f,{item:i,totalItems:e.carouselItemsCollection.items.length,isFirstItem:0===r,className:"text-button leading-[140%] font-medium text-(--text-color)"}),i.subtitle?(0,t.jsx)("p",{className:"text-bodytext-xs max-w-[200px] text-left text-(--text-secondary-color) md:max-w-[300px] md:text-center",children:i.subtitle}):null]})]},`${i.sys.id}-${r}`))})})}e.s([],4478),e.i(4478),e.s(["default",0,({data:e,index:i})=>{if(!e.variant)return null;switch(e.variant){case"banner":return(0,t.jsx)(w,{data:e,index:i});case"split":return(0,t.jsx)(C,{data:e,index:i});case"usp":return(0,t.jsx)(I,{data:e,index:i});case"testimonial":return(0,t.jsx)(N,{data:e,index:i});case"promotion":return(0,t.jsx)(y,{data:e,index:i})}return null}],12076)},92017,function(e){e.n(e.i(12076))},98817,e=>{"use strict";var t=e.i(91398),i=e.i(91788),l=e.i(11535),s=e.i(57126),o=e.i(39016),r=e.i(62946),n=e.i(51723),a=i,c=e.i(12600);function d(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}class m extends a.Component{getSnapshotBeforeUpdate(e){let t=this.props.childRef.current;if((0,n.isHTMLElement)(t)&&e.isPresent&&!this.props.isPresent&&!1!==this.props.pop){let e=t.offsetParent,i=(0,n.isHTMLElement)(e)&&e.offsetWidth||0,l=(0,n.isHTMLElement)(e)&&e.offsetHeight||0,s=getComputedStyle(t),o=this.props.sizeRef.current;o.height=parseFloat(s.height),o.width=parseFloat(s.width),o.top=t.offsetTop,o.left=t.offsetLeft,o.right=i-o.width-o.left,o.bottom=l-o.height-o.top}return null}componentDidUpdate(){}render(){return this.props.children}}function u({children:e,isPresent:l,anchorX:s,anchorY:o,root:r,pop:n}){let h=(0,a.useId)(),x=(0,a.useRef)(null),p=(0,a.useRef)({width:0,height:0,top:0,left:0,right:0,bottom:0}),{nonce:f}=(0,a.useContext)(c.MotionConfigContext),g=function(...e){return i.useCallback(function(...e){return t=>{let i=!1,l=e.map(e=>{let l=d(e,t);return i||"function"!=typeof l||(i=!0),l});if(i)return()=>{for(let t=0;t<l.length;t++){let i=l[t];"function"==typeof i?i():d(e[t],null)}}}}(...e),e)}(x,e.props?.ref??e?.ref);return(0,a.useInsertionEffect)(()=>{let{width:e,height:t,top:i,left:a,right:c,bottom:d}=p.current;if(l||!1===n||!x.current||!e||!t)return;
2let m="left"===s?`left: ${a}`:`right: ${c}`,u="bottom"===o?`bottom: ${d}`:`top: ${i}`;x.current.dataset.motionPopId=h;let g=document.createElement("style");f&&(g.nonce=f);let v=r??document.head;return v.appendChild(g),g.sheet&&g.sheet.insertRule(` 3 [data-motion-pop-id="${h}"] { 4 position: absolute !important; 5 width: ${e}px !important; 6 height: ${t}px !important; 7 ${m}px !important; 8 ${u}px !important; 9 } 10 `),()=>{x.current?.removeAttribute("data-motion-pop-id"),v.contains(g)&&v.removeChild(g)}},[l]),(0,t.jsx)(m,{isPresent:l,childRef:x,sizeRef:p,pop:n,children:!1===n?e:a.cloneElement(e,{ref:g})})}let h=({children:e,initial:l,isPresent:o,onExitComplete:n,custom:a,presenceAffectsLayout:c,mode:d,anchorX:m,anchorY:h,root:p})=>{let f=(0,s.useConstant)(x),g=(0,i.useId)(),v=!0,b=(0,i.useMemo)(()=>(v=!1,{id:g,initial:l,isPresent:o,custom:a,onExitComplete:e=>{for(let t of(f.set(e,!0),f.values()))if(!t)return;n&&n()},register:e=>(f.set(e,!1),()=>f.delete(e))}),[o,f,n]);return c&&v&&(b={...b}),(0,i.useMemo)(()=>{f.forEach((e,t)=>f.set(t,!1))},[o]),i.useEffect(()=>{o||f.size||!n||n()},[o]),e=(0,t.jsx)(u,{pop:"popLayout"===d,isPresent:o,anchorX:m,anchorY:h,root:p,children:e}),(0,t.jsx)(r.PresenceContext.Provider,{value:b,children:e})};function x(){return new Map}var p=e.i(86398);let f=e=>e.key||"";function g(e){let t=[];return i.Children.forEach(e,e=>{(0,i.isValidElement)(e)&&t.push(e)}),t}e.s(["AnimatePresence",0,({children:e,custom:r,initial:n=!0,onExitComplete:a,presenceAffectsLayout:c=!0,mode:d="sync",propagate:m=!1,anchorX:u="left",anchorY:x="top",root:v})=>{let[b,j]=(0,p.usePresence)(m),w=(0,i.useMemo)(()=>g(e),[e]),y=m&&!b?[]:w.map(f),k=(0,i.useRef)(!0),C=(0,i.useRef)(w),N=(0,s.useConstant)(()=>new Map),I=(0,i.useRef)(new Set),[L,$]=(0,i.useState)(w),[M,E]=(0,i.useState)(w);(0,o.useIsomorphicLayoutEffect)(()=>{k.current=!1,C.current=w;for(let e=0;e<M.length;e++){let t=f(M[e]);y.includes(t)?(N.delete(t),I.current.delete(t)):!0!==N.get(t)&&N.set(t,!1)}},[M,y.length,y.join("-")]);let T=[];if(w!==L){let e=[...w];for(let t=0;t<M.length;t++){let i=M[t],l=f(i);y.includes(l)||(e.splice(t,0,i),T.push(i))}return"wait"===d&&T.length&&(e=T),E(g(e)),$(w),null}let{forceRender:P}=(0,i.useContext)(l.LayoutGroupContext);return(0,t.jsx)(t.Fragment,{children:M.map(e=>{let i=f(e),l=(!m||!!b)&&(w===M||y.includes(i));return(0,t.jsx)(h,{isPresent:l,initial:(!k.current||!!n)&&void 0,custom:r,presenceAffectsLayout:c,mode:d,root:v,onExitComplete:l?void 0:()=>{if(I.current.has(i)||!N.has(i))return;I.current.add(i),N.set(i,!0);let e=!0;N.forEach(t=>{t||(e=!1)}),e&&(P?.(),E(C.current),m&&j?.(),a&&a())},anchorX:u,anchorY:x,children:e},i)})})}],98817)}]); 11 12//# debugId=9220ebf7-3f2c-6409-096c-d1b0202378fc
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.