1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6250],{11340:(e,t,l)=>{l.d(t,{h:()=>b,A:()=>j});var n=l(60072),r=l(94122),s=l(56645),a=l(60004),i=l(60476),o=l(2960),c=l(44723),u=l(42297),d=l(199);let f=e=>{let{onClick:t=()=>{},isPrev:l}=e,{isJR:i,isMF:o,isGG:c}=(0,a.useContext)(r._0),{imageHeight:f}=(0,a.useContext)(b),{t:h}=(0,d.Bd)("a11y");return(0,n.jsx)("button",{className:(0,s.A)("\n slider-button\n absolute\n z-10\n top-1/2\n transform\n -translate-y-1/2\n w-14\n h-14\n rounded-full\n flex\n items-center\n justify-center\n text-black\n focus:rounded-full\n ",o&&l&&"left-0",o&&!l&&"right-0",(i||c)&&"-right-8",(i||c)&&l&&"-left-8"),onClick:t,style:f?{top:f/2}:{},onKeyDown:e=>{("Enter"===e.key||" "===e.key)&&(e.preventDefault(),t()),l&&"ArrowLeft"===e.key&&(e.preventDefault(),t()),l||"ArrowRight"!==e.key||(e.preventDefault(),t())},"aria-label":h(l?"swiper.prevSlideMessage":"swiper.nextSlideMessage"),children:(0,n.jsx)("div",{className:(0,s.A)("text-center transform",!o&&" w-2/5",l?"-translate-x-0.5 rotate-90":"translate-x-0.5 -rotate-90"),children:(0,n.jsx)(u.A,{color:"currentColor",className:"h-full w-full slider-button__chevron-icon"})})})};var h=l(30463),x=l.n(h),m=l(84477),g=l(61484),v=l(22426),w=l(12312);let p=e=>{let{image:t,imageCloudinary:l,alt:i,title:o,description:c,link:u,subline:d,sublineColor:f,index:h}=e,{setImageHeight:p}=(0,a.useContext)(b),j=(0,a.useRef)(null),[C,y]=(0,a.useState)(!1),{isGG:_,isMF:k,isJR:A,isMobile:N}=(0,a.useContext)(r._0),S=(0,w.G9c)(),[E,R]=(0,m.Wx)({threshold:.5*!N});(0,a.useEffect)(()=>{if((null==j?void 0:j.current)&&C){let{height:e}=null==j?void 0:j.current.getBoundingClientRect();p(e)}},[j,C,p]);let B=(0,w.eNL)(l,t)||"",[L,D]=(0,a.useState)(!B),{src:M,onError:P}=(0,w.jKV)(L?"":B,!0);(0,a.useEffect)(()=>{D(!B)},[B]);let T=(0,n.jsxs)("div",{className:"flex flex-col",ref:E,children:[(0,n.jsx)("div",{ref:j,children:(0,n.jsx)(v.b,{inView:R,delayRevealFactor:N&&h<=1?0:h+1,children:M?(0,n.jsx)(x(),{src:M,className:"h-full object-cover object-center w-full",alt:i,onLoad:()=>y(!0),onError:()=>{L||(D(!0),P())},layout:"responsive",width:750,height:1e3,loader:e=>{let{width:t,src:l}=e;return(0,w.V_R)({src:l,width:N?t:Math.round(t/3),ar:"3:4",faceFocus:!0})}},M):null})}),(0,n.jsxs)("div",{className:"w-full mt-6",children:[d&&(0,n.jsx)("p",{className:(0,s.A)("relative w-90vw md:w-full mb-1 alice-carousel__slider-item__subline",S&&"klub-label",!S&&"text-sm-subline tracking-subline font-bold",!S&&_&&"uppercase font-sofia-sans",!S&&k&&" text-graphite"),children:d}),o&&(0,n.jsx)("h4",{className:(0,s.A)("relative w-90vw sm:w-full mb-1 alice-carousel__slider-item__title",S&&"klub-h3 text-klub-neutral-700 text-left",!S&&"text-2xl sm:text-3.5xl",!S&&!k&&"font-bold",!S&&_&&"uppercase font-sofia-sans-extra-condensed tracking-0.125",!S&&k&&"font-montserrat font-[900] text-graphite text-2.875xl uppercase text-left"),children:o}),c&&(0,n.jsx)("p",{className:(0,s.A)("relative w-90vw sm:w-full alice-carousel__slider-item__paragraph",S&&"klub-body text-klub-neutral-700",!S&&"text-sm leading-5.5",!S&&_&&"font-sofia-sans",!S&&(null!=f?(0,w.C86)(f,{isGG:_,isMF:k,isJR:A,context:"oneBigThreeSmall"}):k&&"text-graphite"),!S&&k&&"font-normal text-lg",!S&&A&&"font-open-sans text-base"),children:c})]})]});return u?(0,n.jsx)(g.N,{to:u,children:T}):T};l(10736);let b=(0,a.createContext)({imageHeight:0,setImageHeight:()=>{}}),j=e=>{let{items:t,labelMobileControls:l,hideMobileControls:u=!0,"aria-label":d}=e,{isMobile:h,isMF:x}=(0,a.useContext)(r._0),m=(0,w.G9c)(),g=(0,a.useRef)(null),v=(0,a.useRef)(),[j,C]=(0,a.useState)(!1),[y,_]=(0,a.useState)(!1),[k,A]=(0,a.useState)(void 0),[N,S]=(0,a.useState)(void 0),E=(0,w.pTS)(),R=(0,a.useRef)("slider-".concat(Math.random().toString(36).substring(2,11))),B=h&&1===t.length,L=!m&&!u&&h&&t.length>1;return(0,a.useEffect)(()=>{if(!(null==g?void 0:g.current)||h)return void S(void 0);let{width:e}=g.current.getBoundingClientRect(),l=t.length-1;S(Math.round(e/3*t.length+24*l))},[t.length,h]),(0,a.useEffect)(()=>
1{if(B){v.current=void 0;return}h&&v.current&&!v.current.destroyed&&v.current.slideTo(0,0,!1)},[h,B]),(0,n.jsx)(b.Provider,{value:{imageHeight:k,setImageHeight:A},children:(0,n.jsxs)("div",{className:(0,s.A)("\n slider-module\n w-full h-full \n flex flex-col sm:flex-row\n items-center sm:items-start \n sm:justify-center\n relative\n ",x&&"mt-10"),ref:g,onClick:()=>{window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:"club_slider_interaction"})},children:[t.length>3&&!h&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(f,{onClick:()=>{var e;null==(e=v.current)||e.slidePrev()},isPrev:!0}),(0,n.jsx)(f,{onClick:()=>{var e;null==(e=v.current)||e.slideNext()}})]}),L&&(0,n.jsx)(c.A,{leftArrowDisabled:j,rightArrowDisabled:y,label:l}),(0,n.jsx)("div",{className:(0,s.A)("relative mt-10 sm:mt-0",!x&&"w-full",x&&"w-full lg:w-[95%]",1===t.length&&"max-sm:px-6"),style:N&&!h?{maxWidth:N}:{},children:B?(0,n.jsx)(p,{...t[0],index:0}):(0,n.jsx)(i.RC,{modules:[o.Vx,o.Jq],loop:!h&&t.length>3,slidesPerView:h?1.1:t.length>=3?3:t.length,spaceBetween:10,centeredSlides:h,slideToClickedSlide:!1,noSwipingClass:"swiper-no-swiping",breakpoints:{700:{spaceBetween:24}},onBeforeInit:e=>{v.current=e},onDestroy:()=>{v.current=void 0},onAfterInit:e=>{C(e.isBeginning),_(e.isEnd)},onSlideChange:e=>{C(e.isBeginning),_(e.isEnd)},navigation:t.length>3&&!h&&{prevEl:".".concat(R.current,"-prev"),nextEl:".".concat(R.current,"-next")},a11y:E,"aria-label":d,children:t.map((e,t)=>(0,n.jsx)(i.qr,{children:(0,n.jsx)("div",{className:(0,s.A)(!h&&"swiper-no-swiping"),children:(0,n.jsx)(p,{...e,index:t})})},"".concat(t,"_").concat(e.title)))})})]})})}},22426:(e,t,l)=>{l.d(t,{b:()=>a});var n=l(60072),r=l(60004),s=l(10983);let a=e=>{let{children:t,inView:l,disabled:a=!1,delayRevealFactor:i=1,persistAfterFirstInView:o=!0}=e,c=(0,s.useRouter)(),[u,d]=(0,r.useState)(!1),[f,h]=(0,r.useState)(!1);(0,r.useEffect)(()=>{o&&l&&h(!0)},[l,o]),(0,r.useEffect)(()=>{let e=window.location.pathname,t=c.locale,l=(l,n)=>{let{shallow:r}=n;r||(new URL(l,window.location.origin).pathname.split("/")[1]!==t||l!==e)&&(d(!1),h(!1),setTimeout(()=>d(!0),100))},n=()=>{setTimeout(()=>d(!0),250)};return c.events.on("beforeHistoryChange",l),c.events.on("routeChangeComplete",n),d(!0),()=>{c.events.off("beforeHistoryChange",l),c.events.off("routeChangeComplete",n)}},[c.locale,c.asPath,c.events]);let x=!a&&u&&(o?!!l||f:!!l);return(0,n.jsx)("div",{className:"\n relative\n w-full\n h-full\n ".concat(!a?"overflow-hidden":"","\n transition-all\n ease-in-out\n ").concat(x?"duration-700":"","\n imagereveal\n "),style:a?{}:{clipPath:x?"polygon(0% 0%,100% 0%,100% 100%,0% 100%)":"polygon(0% 100%,100% 100%,100% 100%, 0% 100%)",willChange:"clip-path"},children:(0,n.jsx)("div",{className:"relative w-full h-full transition-all ease-in-out duration-700",style:a?{}:{transform:x?"scale(1)":"scale(1.1)",willChange:"transform"},children:t})})}},66250:(e,t,l)=>{l.r(t),l.d(t,{default:()=>f});var n=l(60072),r=l(60004),s=l(11340),a=l(62380),i=l(49756),o=l(80087),c=l(94122),u=l(12312),d=l(56645);let f=e=>{let{items:t=[],headlineGroup:l,jumpmarkLabel:f,labelMobileControls:h}=e,{isMobile:x,isMF:m,isGG:g}=r.useContext(c._0),v=(0,u.G9c)();return(0,n.jsxs)(a.A,{id:f,withoutHorizontalPadding:x,ariaLabel:"Content slider section",children:[(null==l?void 0:l.text)&&(0,n.jsx)(o.A,{addClasses:(0,d.A)("text-center",g&&"mb-8",v&&"klub-h1"),...l,children:(0,n.jsx)(i.Q8,{isCentered:!0,children:m?(0,u.G9e)(l.text):l.text})}),!!(null==t?void 0:t.length)&&(0,n.jsx)(s.A,{items:t,hideMobileControls:v,labelMobileControls:h,"aria-label":"".concat((null==l?void 0:l.text)||"Content"," slider")})]})}}}]);
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.