1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6343,6907],{86343:function(e,a,t){"use strict";t.r(a),t.d(a,{default:function(){return p}});var l=t(57437),s=t(66648),n=t(2265),r=t(53853),i=t(1589),c=t(44839),o=t(30286),d=t(71686),u=t(54477),h=t(83015),m=t(77220);t(96907),t(31375);var x=t(1921);function p(e){let{verticalSlides:a,isReserveTheme:t=!1}=e,p=a.length,{scrollDir:v}=(0,i.ZP)(),g=(0,n.useRef)([]),[f,j]=(0,n.useState)(!1),[b,_]=(0,n.useState)(0),[N,y]=(0,n.useState)(0),k=(e,a)=>{g.current[a]=e},w=e=>{y(-(100*e)),_(e)},S=(e,a)=>{"up"===v&&"leave"===e?w(a>0?a-1:0):"down"===v&&"enter"===e?w(a):"still"===v&&w(a)},C=e=>{g.current[e].scrollIntoView({behavior:"smooth"})},Z=e=>{"bottom"!==e||f||w(p-1),j(!0)},E=()=>a.map((e,a)=>{var t,n;return(0,l.jsxs)("div",{className:(0,c.Z)("vertical-carousel__slide vertical-carousel__slide--".concat(e.backgroundTheme.toLowerCase()," relative flex flex-col justify-center min-h-dvh py-12 lg:py-24"),b===a&&"is-snapped"),children:[(0,l.jsx)("div",{className:"vertical-carousel__image absolute inset-0 flex overflow-hidden",children:(0,l.jsx)(s.default,{className:"w-full h-full object-fit object-cover",src:e.image.url+"?width=1920",alt:e.image.altText,width:e.image.width,height:e.image.height,priority:!0})}),(0,l.jsx)("div",{className:"vertical-carousel__content relative flex items-end w-full max-w-container px-4 sm:px-10 xl:px-16 mx-auto",children:(0,l.jsx)("div",{children:(0,l.jsx)("div",{className:"vertical-carousel__box py-8 pl-12 pr-6 lg:py-16 lg:pl-24 lg:pr-16 rounded-2xl lg:rounded-3xl",children:(0,l.jsxs)("div",{className:"w-full max-w-[554px]",children:[e.heading.showTag&&e.heading.headingCategory&&(0,l.jsx)("div",{className:"flex mb-3 lg:mb-4",children:(0,l.jsx)(h.Z,{name:null===(t=e.heading.headingCategory)||void 0===t?void 0:t.name,link:null===(n=e.heading.headingCategory)||void 0===n?void 0:n.link})}),(0,l.jsx)(u.Z,{className:"text-balance",level:e.heading.headingLevel,size:"heading-1",margin:"mb-3 lg:mb-4",children:e.heading.heading}),(0,l.jsx)("div",{className:"body-lg",dangerouslySetInnerHTML:{__html:e.text.markup}}),e.link&&(0,l.jsx)("div",{className:"flex mt-6 lg:mt-4",children:(0,l.jsx)(d.default,{type:"White"!==e.backgroundTheme?"primary/light":"primary/dark",text:e.link.title,link:{href:(0,m.n)(e.link)}})})]})})})})]},a)});return(0,l.jsx)(x.Z,{children:a.length>1?(0,l.jsxs)("section",{className:"vertical-carousel",style:{"--slide-height":"".concat(100*(p+1),"dvh")},children:[(0,l.jsx)(r.h,{fireOnRapidScroll:!0,onEnter:()=>Z("top")}),(0,l.jsxs)("div",{className:"vertical-carousel__frame",children:[(0,l.jsx)("div",{className:"vertical-carousel__viewport",style:{transform:"translate3d(0, ".concat(N,"vh, 0)")},children:E()}),(0,l.jsx)("div",{className:"embla__controls",children:(0,l.jsx)("div",{className:"embla__dots",children:[...Array(p)].map((e,a)=>(0,l.jsx)(o.H,{className:(0,c.Z)("embla__dot",b===a&&"embla__dot--selected"),onClick:()=>C(a)},a))})})]}),[...Array(p)].map((e,a)=>(0,l.jsx)("div",{ref:e=>
1k(e,a),className:"absolute pt-1",style:{top:"".concat(100*(a+1),"vh")},children:(0,l.jsx)(r.h,{onEnter:()=>S("enter",a),onLeave:()=>S("leave",a)})},a)),(0,l.jsx)("div",{className:"absolute bottom-0",children:(0,l.jsx)(r.h,{fireOnRapidScroll:!0,onEnter:()=>Z("bottom")})})]}):(0,l.jsx)("section",{className:"vertical-carousel",children:(0,l.jsx)("div",{className:"vertical-carousel__frame",children:(0,l.jsx)("div",{className:"vertical-carousel__viewport",children:E()})})})})}},30286:function(e,a,t){"use strict";t.d(a,{H:function(){return r},Y:function(){return n}});var l=t(57437),s=t(2265);let n=e=>{let[a,t]=(0,s.useState)(0),[l,n]=(0,s.useState)([]),r=(0,s.useCallback)(a=>{e&&e.scrollTo(a)},[e]),i=(0,s.useCallback)(e=>{n(e.scrollSnapList())},[]),c=(0,s.useCallback)(e=>{t(e.selectedScrollSnap())},[]);return(0,s.useEffect)(()=>{e&&(i(e),c(e),e.on("reInit",i).on("reInit",c).on("select",c))},[e,i,c]),{selectedIndex:a,scrollSnaps:l,onDotButtonClick:r}},r=e=>{let{children:a,...t}=e;return(0,l.jsx)("button",{type:"button",...t,children:a})}},1921:function(e,a,t){"use strict";var l=t(57437),s=t(44839);a.Z=e=>{let{children:a,className:t,headingExcluded:n,style:r,hidePaddingOnMobile:i}=e;return(0,l.jsx)("div",{className:(0,s.Z)("component-section",n&&"heading-excluded",i&&"hide-padding-on-mobile",t),style:r,children:a})}},83015:function(e,a,t){"use strict";t.d(a,{Z:function(){return i}});var l=t(57437),s=t(87138),n=t(44839),r=t(77220);function i(e){let{name:a,link:t,target:i="_self"}=e,c=(0,n.Z)("parent-tag relative flex items-center py-1",t&&"pl-6 pr-2",!t&&"px-2","rounded transition-colors focus:outline focus:outline-1 focus:outline-offset-2");return(0,l.jsx)(l.Fragment,{children:t?(0,l.jsxs)(s.default,{className:c,href:(0,r.n)(t),target:i,children:[(0,l.jsx)("span",{className:"parent-tag-icon absolute top-1/2 left-2 w-[11px] h-3 bg-center bg-cover bg-no-repeat -translate-y-2/4"}),(0,l.jsx)("span",{className:"parent-tag-text font-czoo-sharp-grotesk text-base leading-4 uppercase tracking-wider",children:a})]}):(0,l.jsx)("div",{className:c,children:(0,l.jsx)("span",{className:"parent-tag-text font-czoo-sharp-grotesk text-base leading-4 uppercase tracking-wider",children:a})})})}t(99033)},96907:function(){},31375:function(){},99033:function(){}}]);
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.