(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1464],{2178:function(e,n,t){"use strict";t.d(n,{e:function(){return o}});var i=t(85893),l=t(44725),r=t(97728),s=t.n(r);function o(e){let{title:n}=e;if(!n)return null;let{id:t}=(0,l.Y)(n);return(0,i.jsx)("div",{className:s().anchor,id:t})}},40604:function(e,n,t){"use strict";t.d(n,{C:function(){return d}});var i=t(85893),l=t(67294),r=t(94184),s=t.n(r),o=t(82146),a=t(57142),c=t(42762),u=t.n(c);let d=e=>{let{isMobile:n,clubLocation:t,isPanel:r,className:c}=e,d={lat:t.latitude,lng:t.longitude};(n||r)&&(d.lng-=.018);let m=(0,l.useRef)(null),p=function(e){let[n,t]=(0,l.useState)(!1),i=(0,l.useMemo)(()=>a.Z?null:new IntersectionObserver(e=>{let[n]=e;t(n.isIntersecting)}),[]);return(0,l.useEffect)(()=>(e.current&&i&&i.observe(e.current),()=>{i&&i.disconnect()}),[e,i]),n}(m);return(0,i.jsx)("div",{className:s()(u().container,{[u().isPanel]:r},c),ref:m,children:(0,i.jsx)(o.D5,{defaultCenter:d,children:p?(0,i.jsx)(o.Jx,{position:d}):null})})}},18685:function(e,n,t){"use strict";t.d(n,{E:function(){return e7}});var i,l,r=t(85893),s=t(32253),o=t(44725),a=t(29785),c=t(8280),u=t(65163),d=t(88767),m=t(95336),p=t(72816),_=t(97467);let h=function(e){let n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],{lang:t}=(0,p.ZP)(),i=async()=>{try{return await (0,m.H6)(e,t,n)}catch(e){throw e}};return(0,d.useQuery)(["content-page",e],async()=>await i(),{staleTime:_.i,cacheTime:1.5*_.i})};var g=t(89845),x=t(27971);let b=e=>({...e,image:e.image_url}),f=e=>{let n=[];return Object.keys(e).forEach(t=>{let i=e[t];n.push(b(i))}),n};async function v(e){let{clubId:n}=e,{data:t}=await x.S.get("/specialists/".concat(n));return{data:f(t)}}let j=e=>{let{data:n}=(0,d.useQuery)(["specialists",e.toString()],async()=>(await v({clubId:e})).data,{staleTime:_.i,cacheTime:1.5*_.i});return{specialists:n}};var C=t(98809),N=t(87741),y=t(41664),T=t.n(y),S=t(35102),I=t.n(S),k=t(22632),L=t(74575),B=t(47875),E=t(83628),w=t(70207),U=t(87243),A=t.n(U);let O=e=>{let{description:n,image:t,title:i,distance:l}=e;return(0,r.jsxs)("div",{className:A().card,children:[t&&(0,r.jsx)("div",{className:A().header,children:t&&(0,r.jsx)(E.E,{className:A().image,image:t})}),(0,r.jsxs)("div",{className:A().body,children:[(0,r.jsxs)("div",{children:[(0,r.jsx)(w.H4,{children:i}),(0,r.jsx)(w.uT,{color:w.rx.Neutral02,children:n})]}),l&&(0,r.jsxs)("div",{className:A().footer,children:[(0,r.jsx)(B.Z.MarkerFilled,{className:A().marker}),(0,r.jsx)(w.jC,{color:w.rx.Neutral02,children:l})]})]})]})};var P=t(21821),F=t(63916),R=t(63929),M=t(4694),Z=t(17410),H=t(4740),D=t.n(H);let q=e=>e.sort((e,n)=>e.geoDistance<n.geoDistance?-1:1),W={slidesToShow:3.7,responsive:[{breakpoint:1439,settings:{slidesToShow:3.7}},{breakpoint:1023,settings:{slidesToShow:3.2}},{breakpoint:770,settings:{slidesToShow:3.2}},{breakpoint:769,settings:{slidesToShow:2.2}},{breakpoint:480,settings:{slidesToShow:1.2,centerPadding:"16px",centerMode:!0}}]};function z(e){let{geoLocation:n,clubName:t}=e,[i]=(0,k.CZ)(),{formatMessage:l}=(0,s.YB)(),o="sportcity"===I().name?l("club-detail.clubs-nearby.subtitle",{clubName:t,clubsCount:Object.keys(i).length}):l("club-detail.clubs-nearby.description",{companyName:I().brand}),a=Object.values(i),c=q((0,M.J)(a,n)).slice(1,6);if(!c)return null;let u=c.map(e=>{var n;return{...e,image:null===(n=e.cms)||void 0===n?void 0:n.clubHeaderMedia,title:e.name,description:"".concat(e.address,", ").concat(e.city),distance:"".concat(Math.round(e.geoDistance/1e3)," km"),link:e.cms&&e.cms.slug?{href:"/".concat(e.cms.slug)}:{}}});return u.length?(0,r.jsx)(R.$,{children:(0,r.jsxs)(F.Ar.Container,{children:[(0,r.jsx)(F.Ar.Row,{children:(0,r.jsx)(F.Ar.Col,{columns:"sm:10 md:8",children:(0,r.jsx)(w.Dp,{children:l("club-detail.clubs-nearby.title")})})}),(0,r.jsx)(F.Ar.Row,{children:(0,r.jsx)(F.Ar.Col,{columns:"xs:12 md:6 lg:5",children:(0,r.jsx)(P.D,{children:(0,r.jsx)("p",{children:o})})})}),(0,r.jsx)(F.Ar.Row,{children:(0,r.jsx)(F.Ar.Col,{columns:"xs:12",children:(0,r.jsx)(L.fC,{bottomButtons:!0,settings:W,onNextClick:()=>{(0,Z.uQ)(Z.KW.trackEvent,{event_name:"show_more_clubs"})},children:u.map(e=>(0,r.jsx)(L.ck,{className:D().carouselItem,children:e.link.href&&(0,r.jsx)(T(),{href:e.link.href,onClick:()=>{(0,Z.uQ)(Z.KW.trackEvent,{event_name:"click_club_nearby"})},children:(0,r.jsx)(O,{image:e.cms.clubHeaderMedia,title:e.title,description:e.description,distance:e.distance})})},e.description))})})})]})}):null}var V=t(41989),G=t(39337),Y=t(77313),J=t(70428),Q=t(44913),K=t(11163),X=t(96697),$=t(11407),ee=t(88161),en=t.n(ee);function et(e){let{club:n}=e,{query:t}=(0,K.useRouter)(),[i,l]="object"==typeof t.slug?t.slug:[t.slug],{formatMessage:o}=(0,s.YB)(),a=(0,$.h)(i||"")||void 0,c=l?function(e){let{city:n,name:t}=e;return t.replace(n,"").trim()}(n):void 0;return(0,r.jsx)(J.W2,{className:en().container,children:(0,r.jsxs)("div",{className:en().menu,children:[(0,r.jsx)(Q.r,{href:"/".concat(I().clubs.slug),icon:B.Z.ChevronDown,children:o("general.country")}),a&&c&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(Q.r,{href:"/".concat((0,X.J)(a)),icon:B.Z.ChevronDown,children:a}),(0,r.jsx)(w.uT,{className:en().crumb,children:c})]}),a&&!c&&(0,r.jsx)(w.uT,{className:en().crumb,children:a})]})})}var ei=t(36362),el=t.n(ei);let er=e=>{let{className:n}=e;return(0,r.jsx)("svg",{viewBox:"0 0 1440 386",fill:"none",className:n,preserveAspectRatio:"xMaxYMin",children:(0,r.jsx)("path",{d:"M2140.17 377.984c-1504.5-749-1205.5-113.582-2282.5-191.082",stroke:"#F4B52C",strokeWidth:16})})},es=()=>(0,r.jsx)("div",{className:el().container,children:(0,r.jsx)("div",{className:el().viewBox,children:(0,r.jsx)(er,{className:el().curlyLine})})});var eo=t(2178),ea=t(94184),ec=t.n(ea),eu=t(67294),ed=t(47792),em=t(94171),ep=t.n(em),e_=t(42514),eh=t.n(e_),eg=t(70012);let ex=e=>{let{attributes:n,hasClubOffers:t}=e,{formatMessage:i}=(0,s.YB)();return(0,r.jsxs)("div",{className:eh().attributeList,children:[n.map(e=>(0,r.jsx)(eg.a,{title:e.title,icon:e.icon},e.name)),t&&(0,r.jsxs)(Q.r,{className:eh().link,href:"#aanbod",isHtmlTag:!0,isSmall:!0,children:[(0,r.jsx)("span",{className:eh().disableUnderline,children:"+"}),i("club-detail.about.offersCta")]})]})},eb=e=>{let{description:n,additionalDescription:t,highlightedAttributes:i,hasClubOffers:l,isPanel:o}=e,[a,c]=(0,eu.useState)(!1),{formatMessage:u}=(0,s.YB)(),{renderRichText:d}=(0,ed.t)(),m=a?B.Z.Minus:B.Z.Plus,p=()=>{a||(0,Z.uQ)(Z.KW.trackEvent,{event_name:"click_read_more_club"}),c(!a)};return(0,r.jsxs)("div",{className:ec()(ep().aboutContainer,o&&ep().isPanel),children:[(0,r.jsx)(eo.e,{title:u("club-detail.about.title")}),(0,r.jsx)(w.Dp,{forceMobileView:o,children:u("club-detail.about.title")}),(0,r.jsx)(w.ig,{component:"div",className:ec()(ep().description,o&&ep().isPanel),children:(0,r.jsx)(r.Fragment,{children:d(n)})}),t&&(0,r.jsxs)(r.Fragment,{children:[a&&(0,r.jsx)(w.ig,{component:"div",className:ep().expandedDescription,children:(0,r.jsx)(r.Fragment,{children:d(t)})}),(0,r.jsxs)("div",{tabIndex:0,className:ep().toggle,onClick:p,onKeyPress:e=>{"Enter"===e.key&&p()},children:[(0,r.jsx)(m,{className:ep()["toggle-icon"]}),(0,r.jsx)(w.uT,{fontWeight:w.U9.Bold,children:u(a?"club-detail.about.hide":"club-detail.about.show-more")})]})]}),i?(0,r.jsx)(ex,{attributes:i,hasClubOffers:l}):null]})};var ef=t(51564),ev=t(97728),ej=t.n(ev);let eC=e=>{let{tags:n,isPanel:t}=e,{formatMessage:i}=(0,s.YB)(),{currentBreakpoint:l,breakpoints:o}=(0,C.Z)(),a=l===o.xs.name,c=(0,eu.useRef)(null),[u,d]=(0,eu.useState)(!1),[m,p]=(0,eu.useState)(!1);(0,eu.useEffect)(()=>{_()},[]);let _=()=>{let e=c.current;e&&!a&&(e.scrollWidth>e.clientWidth?(d((null==e?void 0:e.scrollLeft)>50),p(e.scrollLeft+e.clientWidth<e.scrollWidth-32)):(d(!1),p(!1)))};return(0,r.jsx)(F.$0,{className:ec()(ej().section,t&&ej().isPanel),forceMobileView:t,children:(0,r.jsx)(F.Ar.Container,{forceMobileView:t,children:(0,r.jsx)(F.Ar.Row,{children:(0,r.jsxs)(F.Ar.Col,{className:ej().col,children:[(0,r.jsx)("div",{className:ec()(ej().arrowButtonWrapper,ej().left),children:(0,r.jsx)(ef.b,{isPrev:!0,isHidden:a||!u,className:ej().arrowButton,onClick:()=>{var e;null===(e=c.current)||void 0===e||e.scrollBy({left:-200,behavior:"smooth"})}})}),(0,r.jsxs)("ul",{onScroll:_,className:ej().anchorList,ref:c,children:[(0,r.jsxs)("li",{className:ec()(ej().anchorItem,ej().anchorLabel),children:[(0,r.jsx)(B.Z.ArrowRight,{className:ej().icon}),(0,r.jsx)(w.uT,{fontWeight:w.U9.Bold,children:i("club-detail.anchor-links.title")})]}),n.map((e,t)=>(0,r.jsx)("li",{className:ec()(ej().anchorItem,t===n.length-1&&ej().lastItem),children:(0,r.jsx)(Q.r,{href:"#".concat(e.id),isHtmlTag:!0,isSmall:!0,children:e.label})},e.id))]}),(0,r.jsx)("div",{className:ec()(ej().arrowButtonWrapper,ej().right),children:(0,r.jsx)(ef.b,{onClick:()=>{var e;null===(e=c.current)||void 0===e||e.scrollBy({left:200,behavior:"smooth"})},isHidden:a||!m})})]})})})})};var eN=t(63333),ey=t(25877),eT=t(71613),eS=t(30119),eI=t(71351);let ek=e=>{let{clubId:n,isDayPass:t,isFullWidth:i,isSecondary:l,dataTestId:o,onClick:a}=e,{formatMessage:c}=(0,s.YB)(),{config:u}=(0,ey.Z)(),{query:d}=(0,K.useRouter)(),m=u.steps.length>0,p=eN.ACTIVE_FUNNELS.sportcity.DEFAULT||"default",_=eN.ACTIVE_FUNNELS.sportcity.DAY_PASS,h=t?_:m?d.slug:p,g=I().checkout.path,x=new URLSearchParams;n&&x.set("clubId",n.toString());let b=x.toString(),f="".concat(t?"/checkout":g,"/").concat(h,"?").concat(b);return(0,r.jsx)(eT.z,{type:eS.L.Button,isFullWidth:i,variant:t?eI.W.Inverted:l?eI.W.Secondary:eI.W.Primary,href:f,openInNewTab:t,isHtmlTag:!0,dataTestId:o,onClick:a,children:c(t?"day-pass.request":m?"checkout.select-club.club-list.cta":"join")})},eL=e=>{switch(e){case"Amsterdam Lijnbaansgracht":return"Amsterdam Lijnbaans&shy;gracht";case"Dordrecht Sportboulevard":return"Dordrecht Sport&shy;boulevard";case"Amsterdam Valkenburgerstraat":return"Amsterdam Valken&shy;burger&shy;straat";case"Amsterdam Buikslotermeerplein":return"Amsterdam Buiksloter&shy;meerplein";case"Amsterdam Weteringdwarsstraat":return"Amsterdam Wetering&shy;dwars&shy;straat";case"Den Haag Leidschenveen":return"Den Haag Leidschen&shy;veen";case"Den Haag Loosduinseweg":return"Den Haag Loosduinse&shy;weg";case"Eindhoven Mecklenburgstraat":return"Eindhoven Mecklenburg&shy;straat";case"Leiden Lammenschans":return"Leiden Lammen&shy;schans";case"Rotterdam Zomerhofstraat":return"Rotterdam Zomerhof&shy;straat";default:return e}};var eB=t(80008),eE=t.n(eB);let ew=(e,n)=>{var t,i;let l=null===(t=e.openingHoursExceptions)||void 0===t?void 0:t.find(e=>eE()(e.date).isSame(n,"day")),r=n.locale("en-gb").format("dddd").toLowerCase();return l||(null===(i=e.openingHours)||void 0===i?void 0:i.find(e=>e.day===r))};var eU=e=>{let n=eE()().tz("Europe/Amsterdam"),t=n.hour(),i=ew(e,n),[l,r]=(null==i?void 0:i.hours.split(" - "))||[];if((null==i?void 0:i.isClosed)||t>parseInt(r)){let t=ew(e,n.add(1,"days"));return t&&!t.isClosed?{isOpen:!1,openFrom:{day:"tomorrow",hour:t.hours}}:{isOpen:!1}}return l&&t<parseInt(l)||l&&t<parseInt(l)?{isOpen:!1,openFrom:{day:"today",hour:l}}:{isOpen:!0,openUntil:r}},eA=t(20516),eO=t(72982),eP=t.n(eO);let eF=e=>{let{club:n,media:t,isMobile:i,isPanel:l,onClickGallery:o}=e,{formatMessage:a}=(0,s.YB)(),{isOpen:c,openFrom:u,openUntil:d}=eU(n),m=(0,K.useRouter)(),p=(0,eu.useMemo)(()=>c?{isOpen:a("club-detail.opening-hours.open"),fromUntil:a("club-detail.opening-hours.open-until",{hour:d})}:u?{isOpen:a("club-detail.opening-hours.open-next",{day:a("general.days.".concat(null==u?void 0:u.day))}),fromUntil:a("club-detail.opening-hours.open-from",{hour:null==u?void 0:u.hour})}:{isOpen:a("club-detail.opening-hours.closed"),fromUntil:void 0},[c,u,d,a]);return(0,r.jsx)(F.$0,{forceMobileView:l,children:(0,r.jsx)(F.Ar.Container,{forceMobileView:l,children:(0,r.jsxs)(F.Ar.Row,{className:ec()(eP().row,{[eP().isPanel]:l}),children:[(0,r.jsx)(F.Ar.Col,{columns:l?"sm:12":"sm:6 lg:6",children:(0,r.jsxs)("div",{className:ec()(eP().imageContainer,l&&eP().isPanel,{[eP().isClickable]:o}),onClick:null!=o?o:void 0,children:[t?(0,r.jsx)(E.E,{image:t,isClickable:null!==o,className:eP().mainImage}):null,(0,r.jsx)("div",{className:eP().imageButtons,children:o?(0,r.jsx)(eT.z,{onClick:e=>{e.stopPropagation(),o(e)},variant:eI.W.Club,icon:(0,r.jsx)(B.Z.Eye,{}),children:a("club-detail.club-header.all-photos")}):null})]})}),(0,r.jsxs)(F.Ar.Col,{className:ec()(eP().textContainer,l&&eP().isPanel),columns:l?"sm:12":"sm:6 lg:6",children:[(0,r.jsx)(w.X0,{children:(0,r.jsx)("p",{dangerouslySetInnerHTML:{__html:eL(n.name)}})}),(0,r.jsxs)("div",{className:eP().infoButtonsContainer,children:[(0,r.jsxs)("div",{className:eP().infoContainer,children:[(0,r.jsxs)("div",{className:eP().column,children:[(0,r.jsx)(w.ig,{children:n.address}),(0,r.jsxs)(w.ig,{children:[n.postalCode," ",n.city]})]}),(0,r.jsxs)("div",{className:eP().openingHours,children:[(0,r.jsx)(w.ig,{fontWeight:w.U9.Bold,color:w.rx.Neutral02,hasSuccess:c,children:p.isOpen}),(0,r.jsx)(w.ig,{color:w.rx.Neutral02,children:p.fromUntil})]}),l&&(0,r.jsx)("div",{className:eP().selectClubButton,children:(0,r.jsx)(eT.z,{isFullWidth:!0,href:(m.query.clubDetails&&delete m.query.clubDetails,{pathname:m.pathname,query:{...m.query,clubId:n.pgClubId}}),children:a("checkout.select-club.sidepanel.choose-club")})})]}),(0,r.jsx)("div",{className:eP().buttonsContainer,children:!l&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(ek,{clubId:n.pgClubId,isFullWidth:i,onClick:()=>(0,Z.uQ)(Z.KW.trackEvent,{event_name:"click_cta_club_primary"}),dataTestId:l?"club-side-panel_cta_1":"club-page_cta_1"}),(0,r.jsx)(ek,{clubId:n.pgClubId,isDayPass:!0,onClick:()=>(0,Z.uQ)(Z.KW.trackEvent,{event_name:"click_cta_club_secondary"}),dataTestId:"club-page_cta_2",isFullWidth:i})]})})]}),(0,r.jsx)(eA.i,{isPanel:l})]})]})})})};var eR=t(63032),eM=t(21158),eZ=t(13744),eH=t.n(eZ);let eD=e=>{var n;let{club:t}=e,{formatMessage:i,formatNumberToParts:l}=(0,s.YB)(),o=t.priceFrom,a=o&&l(o,{style:"currency",currency:"EUR"}),c=null==a?void 0:null===(n=a.find(e=>"fraction"===e.type))||void 0===n?void 0:n.value,u=null==a?void 0:a.filter(e=>"fraction"!==e.type).map(e=>{let{value:n}=e;return n}).join("");return u?(0,r.jsxs)("div",{className:eH().priceContainer,children:[(0,r.jsxs)("div",{children:[(0,r.jsx)("p",{className:eH().startingFrom,children:i("price.from")}),(0,r.jsxs)("p",{className:eH().price,children:[u,(0,r.jsx)("sup",{className:eH().fraction,children:c})]})]}),(0,r.jsx)(w.x4,{className:eH().priceDescription,children:i("funnel.commitmentPeriod.priceDescription.4-week")})]}):null},eq=e=>{let{club:n,isPanel:t}=e,{formatMessage:i}=(0,s.YB)();return(0,r.jsxs)("div",{className:eH().container,children:[(0,r.jsx)(eo.e,{title:i("club-detail.opening-hours.title")}),(0,r.jsx)(w.H3,{forceMobileView:t,children:i("club-detail.opening-hours.title")}),(0,r.jsx)(eM.N,{openingHours:n.openingHours,openingHoursExceptions:n.openingHoursExceptions}),(0,r.jsx)("hr",{className:eH().horizontalRule}),(0,r.jsxs)("div",{className:eH().footer,children:[(0,r.jsx)(eD,{club:n}),!t&&(0,r.jsx)(eR.g,{clubId:n.pgClubId,dataTestId:t?"club-side-panel_cta_2":"club-page_cta_2",onClick:()=>(0,Z.uQ)(Z.KW.trackEvent,{event_name:"click_cta_openinghours"}),variant:eI.W.Secondary})]})]})},eW=e=>{let{club:n,slug:t,isPreview:i,isPanel:l,tags:s,onClickGallery:o,isMobile:a,hasClubOffers:c}=e,{data:u}=h(t,i);if(!u)return null;let d={...n,openingHours:n.openingHours||u.openingHours,openingHoursExceptions:n.openingHoursExceptions||u.openingHoursExceptions};return(0,r.jsxs)(F.$0,{forceMobileView:l,children:[(0,r.jsx)(eF,{club:d,media:u.clubHeaderMedia,isMobile:a,isPanel:l,onClickGallery:o}),(0,r.jsx)(eC,{tags:s,isPanel:l}),(0,r.jsx)(F.Ar.Container,{forceMobileView:l,children:(0,r.jsxs)(F.Ar.Row,{children:[u.intro?(0,r.jsx)(F.Ar.Col,{columns:l?"sm:12":"sm:6",children:(0,r.jsx)(eb,{description:u.intro,additionalDescription:u.description,highlightedAttributes:u.highlightedAttributes,hasClubOffers:c,isPanel:l})}):null,d.openingHours?(0,r.jsx)(F.Ar.Col,{columns:l?"sm:12":"lg:4 sm:5",offset:l?"":"lg:2 sm:1",children:(0,r.jsx)(eq,{club:d,isPanel:l})}):null]})}),(0,r.jsx)(es,{})]})};var ez=t(71216),eV=t(80996),eG=t(62493),eY=t.n(eG);let eJ=e=>{let{title:n,children:t,isPanel:i}=e;return(0,r.jsxs)("div",{className:eY().block,children:[(0,r.jsx)(w.H4,{color:w.rx.Neutral06,forceMobileView:i,children:n}),t]})};var eQ=t(40604),eK=t(33265),eX=t.n(eK);let e$=e=>{let{clubLocation:n,clubDetails:t,isMobile:i,isPanel:l}=e,{formatMessage:o}=(0,s.YB)(),a=[{icon:(0,r.jsx)(B.Z.Phone,{}),label:t.phoneNumber,href:"tel:".concat(t.phoneNumber)},{icon:(0,r.jsx)(B.Z.Mail,{}),label:o("club-detail.contact.email.label"),href:"mailto:".concat(t.emailAddress)}];return(0,r.jsx)(R.$,{hasNoBottomMargin:l,children:(0,r.jsx)(F.Ar.Container,{forceMobileView:l,children:(0,r.jsx)(F.Ar.Row,{children:(0,r.jsx)(F.Ar.Col,{children:(0,r.jsxs)("div",{className:ec()(eX().container,l&&eX().isPanel),children:[(0,r.jsx)(eo.e,{title:ez.s.CONTACT}),(0,r.jsx)(eQ.C,{className:ec()(eX().contactMap,l&&eX().isPanel),isMobile:i,isPanel:l,clubLocation:n}),(0,r.jsxs)("div",{className:ec()(eX().contactCard,l&&eX().isPanel),children:[(0,r.jsxs)("div",{className:eX().contactCardContent,children:[(0,r.jsx)(w.H2,{color:w.rx.Neutral06,forceMobileView:l,children:o("club-detail.contact.title")}),(0,r.jsxs)(eJ,{title:o("club-detail.address.title"),isPanel:l,children:[(0,r.jsx)(w.uT,{color:w.rx.Neutral06,children:t.address}),(0,r.jsxs)(w.uT,{color:w.rx.Neutral06,children:[t.postalCode," ",t.city]}),!l&&(0,r.jsx)(Q.r,{openInNewTab:!0,icon:B.Z.ArrowRight,href:"https://maps.google.com/?q=SportCity+".concat(t.address,"+").concat(t.city),className:eX().mapsLink,onClick:()=>{(0,Z.uQ)(Z.KW.trackEvent,{event_name:"click_route_maps_club"})},children:o("club-detail.contact.googleMaps")})]}),(0,r.jsx)(eJ,{title:o("club-detail.contact.title"),isPanel:l,children:a.map(e=>e.label&&(0,r.jsxs)("div",{className:eX().contactItem,children:[e.icon,(0,r.jsx)(Q.r,{href:e.href,className:eX().contactLink,onClick:()=>{(0,Z.uQ)(Z.KW.trackEvent,{event_name:"sent_email_club"})},children:e.label})]},e.href))})]}),(0,r.jsx)("div",{className:eX().logoContainer,children:(0,r.jsx)(eV.E,{})})]})]})})})})})};var e0=t(23199);(i=l||(l={})).Left="left",i.Right="right";var e2=t(6796),e4=t.n(e2);let e1=e=>{let{items:n,isMobile:t,onNextClick:i,onPreviousClick:o}=e,a=(0,eu.useRef)(null),{formatMessage:c}=(0,s.YB)(),[u,d]=(0,eu.useState)(!0),[m,p]=(0,eu.useState)(!0),{handleMouseDown:_,handleMouseUp:h,handleMouseMove:g}=function(e){let[n,t]=(0,eu.useState)(!1),[i,l]=(0,eu.useState)({left:0,x:0});return{handleMouseDown:n=>{if(e.current){var i,r;t(!0),l({left:null!==(r=null===(i=e.current)||void 0===i?void 0:i.scrollLeft)&&void 0!==r?r:0,x:n.clientX}),e.current.style.cursor="grabbing",e.current.style.userSelect="none"}},handleMouseUp:()=>{e.current&&(t(!1),e.current.style.cursor="grab",e.current.style.removeProperty("user-select"))},handleMouseMove:t=>{if(n&&window&&e.current){let n=t.clientX-i.x;e.current.scrollLeft=i.left-n,l({left:i.left-n,x:t.clientX})}}}}(a);(0,eu.useEffect)(()=>{let e=()=>{if(a.current){let{scrollLeft:e,scrollWidth:n,clientWidth:t}=a.current;p(e<n-t),d(e>0)}};if(a.current)return a.current.addEventListener("scroll",e),()=>{a.current&&a.current.removeEventListener("scroll",e)}},[]);let x=e=>{if(a.current&&window){var n,t;null===(n=(t=a.current).scrollBy)||void 0===n||n.call(t,{left:e===l.Right?window.innerWidth:-window.innerWidth,behavior:"smooth"})}};return(0,r.jsx)(r.Fragment,{children:t?(0,r.jsx)("div",{className:ec()(e4().gallery,e4().mobile),children:n.map(e=>(0,r.jsx)("div",{className:e4().mobileItem,children:(0,r.jsx)(E.E,{image:e})},e.src))}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("div",{className:ec()(e4().button,e4().left),children:(0,r.jsx)(e0.h,{icon:(0,r.jsx)(B.Z.ArrowLeft,{}),onClick:()=>{null==o||o(),x(l.Left)},accessibleLabel:c("club-detail.gallery.left"),className:ec()({[e4().hide]:!u})})}),(0,r.jsx)("div",{className:ec()(e4().button,e4().right),children:(0,r.jsx)(e0.h,{icon:(0,r.jsx)(B.Z.ArrowRight,{}),onClick:()=>{null==i||i(),x(l.Right)},accessibleLabel:c("club-detail.gallery.right"),className:ec()({[e4().hide]:!m})})}),(0,r.jsx)("div",{className:ec()(e4().gallery,e4().desktop),ref:a,onMouseDown:_,onMouseUp:h,onMouseMove:g,children:n.map((e,t)=>t%3==0?(0,r.jsxs)(eu.Fragment,{children:[(0,r.jsx)("div",{className:e4().galleryColumn,children:(0,r.jsx)(E.E,{image:e,className:e4().nonInteractive})}),n[t+1]||n[t+2]?(0,r.jsxs)("div",{className:e4().galleryColumn,children:[n[t+1]?(0,r.jsx)(E.E,{image:n[t+1],className:e4().nonInteractive}):null,n[t+2]?(0,r.jsx)(E.E,{image:n[t+2],className:e4().nonInteractive}):null]}):null]},e.src):null)})]})})};var e9=t(40357),e3=t.n(e9);let e7=e=>{var n;let{slug:t,club:i,isPreview:l,isPanel:d=!1}=e,{data:m}=h(t,l),{currentBreakpoint:p,breakpoints:_}=(0,C.Z)(),{formatMessage:x}=(0,s.YB)(),b=(0,g.M)(),{specialists:f}=j(i.pgClubId),{tags:v}=(0,o.V)(null==m?void 0:m.contentBlocks,(null==f?void 0:f.length)!==0),{images:y,isSliderOrCarouselActive:T}=(0,Y.i)(null==m?void 0:m.clubHeaderMedia,null==m?void 0:m.contentBlocks);if(!i||!m)return(0,r.jsx)("div",{className:e3().loadingContainer,children:(0,r.jsx)(a.g,{})});let S=p===_.xs.name,I={latitude:i.latitude,longitude:i.longitude},k={address:i.address,postalCode:i.postalCode,city:i.city,emailAddress:i.email,phoneNumber:i.phoneNumber},L=[G.CONTENT_TYPES.CLUB_OFFERS,G.CONTENT_TYPES.GENERIC_CONTENT_SECTION,G.CONTENT_TYPES.QUOTE_SECTION,G.CONTENT_TYPES.IMAGE_SLIDER];return(0,r.jsxs)("div",{className:d?e3().clubPage:"",children:[(0,r.jsx)(c.w,{title:m.metaTitle,description:m.metaDescription}),!d&&(0,r.jsx)(et,{club:i}),T?(0,r.jsx)(u.y,{sheet:b,position:"fullscreen",overlayVariant:"full",onCloseClick:()=>{(0,Z.uQ)(Z.KW.trackEvent,{event_name:"close_club_pictures"})},children:(0,r.jsx)(e1,{items:y,isMobile:S,onNextClick:()=>{(0,Z.uQ)(Z.KW.trackEvent,{event_name:"click_club_pictures_right"})},onPreviousClick:()=>{(0,Z.uQ)(Z.KW.trackEvent,{event_name:"click_club_pictures_left"})}})}):null,(0,r.jsx)(eW,{club:i,slug:t,isPreview:l,isPanel:d,tags:v,onClickGallery:T?()=>{b.open(),(0,Z.uQ)(Z.KW.trackEvent,{event_name:"click_all_pictures"})}:null,isMobile:S,hasClubOffers:(null===(n=m.contentBlocks)||void 0===n?void 0:n.some(e=>e.type===G.CONTENT_TYPES.CLUB_OFFERS))||!1}),m.contentBlocks?(0,r.jsx)(N.Z,{page:m,contentBlocks:d?m.contentBlocks.filter(e=>L.includes(e.type||"")):m.contentBlocks,isPanel:d,club:i,onClickImageSlider:()=>b.open(),onClickAccessibleLabel:x("club-detail.gallery.view-all-images"),specialists:f}):null,(0,r.jsx)(e$,{isMobile:S,isPanel:d,clubLocation:I,clubDetails:k}),!d&&(0,r.jsx)(z,{geoLocation:I,clubName:i.name}),!d&&m.seoLinks&&(0,r.jsx)(V.M,{title:m.seoLinks.title,menuItems:m.seoLinks.menuItems})]})}},27421:function(e,n,t){"use strict";t.d(n,{Ul:function(){return s},qS:function(){return o}});var i=t(85893),l=t(47875),r=t(39337);let s={[r.CLUB_ATTRIBUTE_ICONS.NONE]:null,[r.CLUB_ATTRIBUTE_ICONS.ACCESSIBILITY]:(0,i.jsx)(l.Z.AccessibilitySmall,{}),[r.CLUB_ATTRIBUTE_ICONS.AIRCON]:(0,i.jsx)(l.Z.AirconSmall,{}),[r.CLUB_ATTRIBUTE_ICONS.CARDIO]:(0,i.jsx)(l.Z.CardioSmall,{}),[r.CLUB_ATTRIBUTE_ICONS.CIRCUIT]:(0,i.jsx)(l.Z.CircuitSmall,{}),[r.CLUB_ATTRIBUTE_ICONS.CITY_CENTER]:(0,i.jsx)(l.Z.CityCenterSmall,{}),[r.CLUB_ATTRIBUTE_ICONS.COACHING]:(0,i.jsx)(l.Z.CoachingSmall,{}),[r.CLUB_ATTRIBUTE_ICONS.COFFEE]:(0,i.jsx)(l.Z.CoffeeSmall,{}),[r.CLUB_ATTRIBUTE_ICONS.DAYCARE]:(0,i.jsx)(l.Z.DaycareSmall,{}),[r.CLUB_ATTRIBUTE_ICONS.DIETITIAN]:(0,i.jsx)(l.Z.DietitianSmall,{}),[r.CLUB_ATTRIBUTE_ICONS.FEMALE]:(0,i.jsx)(l.Z.FemaleSmall,{}),[r.CLUB_ATTRIBUTE_ICONS.MALE]:(0,i.jsx)(l.Z.MaleSmall,{}),[r.CLUB_ATTRIBUTE_ICONS.GROUP]:(0,i.jsx)(l.Z.GroupSmall,{}),[r.CLUB_ATTRIBUTE_ICONS.LOCATION]:(0,i.jsx)(l.Z.LocationSmall,{}),[r.CLUB_ATTRIBUTE_ICONS.NEW_EQUIPMENT]:(0,i.jsx)(l.Z.NewEquipmentSmall,{}),[r.CLUB_ATTRIBUTE_ICONS.OUTDOOR]:(0,i.jsx)(l.Z.OutdoorSmall,{}),[r.CLUB_ATTRIBUTE_ICONS.PARKING]:(0,i.jsx)(l.Z.ParkingSmall,{}),[r.CLUB_ATTRIBUTE_ICONS.PHYSIO]:(0,i.jsx)(l.Z.PhysioSmall,{}),[r.CLUB_ATTRIBUTE_ICONS.POWER]:(0,i.jsx)(l.Z.PowerSmall,{}),[r.CLUB_ATTRIBUTE_ICONS.SAUNA]:(0,i.jsx)(l.Z.SaunaSmall,{}),[r.CLUB_ATTRIBUTE_ICONS.SCALE]:(0,i.jsx)(l.Z.ScaleSmall,{}),[r.CLUB_ATTRIBUTE_ICONS.SHOWERS]:(0,i.jsx)(l.Z.ShowersSmall,{}),[r.CLUB_ATTRIBUTE_ICONS.SPACIOUS]:(0,i.jsx)(l.Z.SpaciousSmall,{}),[r.CLUB_ATTRIBUTE_ICONS.SPINNING]:(0,i.jsx)(l.Z.SpinningSmall,{}),[r.CLUB_ATTRIBUTE_ICONS.SQUASH]:(0,i.jsx)(l.Z.SquashSmall,{}),[r.CLUB_ATTRIBUTE_ICONS.TOWEL]:(0,i.jsx)(l.Z.TowelSmall,{}),[r.CLUB_ATTRIBUTE_ICONS.TRAIN_STATION]:(0,i.jsx)(l.Z.TrainStationSmall,{}),[r.CLUB_ATTRIBUTE_ICONS.UNIQUE_BUILDING]:(0,i.jsx)(l.Z.UniqueBuildingSmall,{}),[r.CLUB_ATTRIBUTE_ICONS.VIRTUAL]:(0,i.jsx)(l.Z.VirtualSmall,{}),[r.CLUB_ATTRIBUTE_ICONS.YOGA]:(0,i.jsx)(l.Z.YogaSmall,{})},o={[r.CLUB_ATTRIBUTE_ICONS.NONE]:null,[r.CLUB_ATTRIBUTE_ICONS.ACCESSIBILITY]:(0,i.jsx)(l.Z.AccessibilityLarge,{}),[r.CLUB_ATTRIBUTE_ICONS.AIRCON]:(0,i.jsx)(l.Z.AirconLarge,{}),[r.CLUB_ATTRIBUTE_ICONS.CIRCUIT]:(0,i.jsx)(l.Z.CircuitLarge,{}),[r.CLUB_ATTRIBUTE_ICONS.CARDIO]:(0,i.jsx)(l.Z.CardioLarge,{}),[r.CLUB_ATTRIBUTE_ICONS.CITY_CENTER]:(0,i.jsx)(l.Z.CityCenterLarge,{}),[r.CLUB_ATTRIBUTE_ICONS.COACHING]:(0,i.jsx)(l.Z.CoachingLarge,{}),[r.CLUB_ATTRIBUTE_ICONS.COFFEE]:(0,i.jsx)(l.Z.CoffeeLarge,{}),[r.CLUB_ATTRIBUTE_ICONS.DAYCARE]:(0,i.jsx)(l.Z.DaycareLarge,{}),[r.CLUB_ATTRIBUTE_ICONS.DIETITIAN]:(0,i.jsx)(l.Z.DietitianLarge,{}),[r.CLUB_ATTRIBUTE_ICONS.FEMALE]:(0,i.jsx)(l.Z.FemaleLarge,{}),[r.CLUB_ATTRIBUTE_ICONS.MALE]:(0,i.jsx)(l.Z.MaleLarge,{}),[r.CLUB_ATTRIBUTE_ICONS.GROUP]:(0,i.jsx)(l.Z.GroupLarge,{}),[r.CLUB_ATTRIBUTE_ICONS.LOCATION]:(0,i.jsx)(l.Z.LocationLarge,{}),[r.CLUB_ATTRIBUTE_ICONS.NEW_EQUIPMENT]:(0,i.jsx)(l.Z.NewEquipmentLarge,{}),[r.CLUB_ATTRIBUTE_ICONS.OUTDOOR]:(0,i.jsx)(l.Z.OutdoorLarge,{}),[r.CLUB_ATTRIBUTE_ICONS.PARKING]:(0,i.jsx)(l.Z.ParkingLarge,{}),[r.CLUB_ATTRIBUTE_ICONS.PHYSIO]:(0,i.jsx)(l.Z.PhysioLarge,{}),[r.CLUB_ATTRIBUTE_ICONS.POWER]:(0,i.jsx)(l.Z.PowerLarge,{}),[r.CLUB_ATTRIBUTE_ICONS.SAUNA]:(0,i.jsx)(l.Z.SaunaLarge,{}),[r.CLUB_ATTRIBUTE_ICONS.SCALE]:(0,i.jsx)(l.Z.ScaleLarge,{}),[r.CLUB_ATTRIBUTE_ICONS.SHOWERS]:(0,i.jsx)(l.Z.ShowersLarge,{}),[r.CLUB_ATTRIBUTE_ICONS.SPACIOUS]:(0,i.jsx)(l.Z.SpaciousLarge,{}),[r.CLUB_ATTRIBUTE_ICONS.SPINNING]:(0,i.jsx)(l.Z.SpinningLarge,{}),[r.CLUB_ATTRIBUTE_ICONS.SQUASH]:(0,i.jsx)(l.Z.SquashLarge,{}),[r.CLUB_ATTRIBUTE_ICONS.TOWEL]:(0,i.jsx)(l.Z.TowelLarge,{}),[r.CLUB_ATTRIBUTE_ICONS.TRAIN_STATION]:(0,i.jsx)(l.Z.TrainStationLarge,{}),[r.CLUB_ATTRIBUTE_ICONS.UNIQUE_BUILDING]:(0,i.jsx)(l.Z.UniqueBuildingLarge,{}),[r.CLUB_ATTRIBUTE_ICONS.VIRTUAL]:(0,i.jsx)(l.Z.VirtualLarge,{}),[r.CLUB_ATTRIBUTE_ICONS.YOGA]:(0,i.jsx)(l.Z.YogaLarge,{})}},71216:function(e,n,t){"use strict";t.d(n,{s:function(){return i}});let i={ABOUT:"over-deze-club",CONTACT:"contact",CLUB_OFFERS:"aanbod",GROUP_LESSONS:"groepslessen",OPENING_HOURS:"openingstijden",IMAGE_SLIDES:"fotos",QUOTES:"quotes"}},77313:function(e,n,t){"use strict";function i(e,n){if(!n||!e)return{images:e?[e]:[],isSliderOrCarouselActive:!1};let t=n.filter(e=>"imageSliderSection"===e.type),i=t.map(e=>{let n=[];return e.items.map(e=>({primary:e.primaryImage,secondary:e.secondaryImageLarge})).map(e=>{n.push(e.primary),n.push(e.secondary)}),n}).reduce((e,n)=>e.concat(n),[]),l=n.filter(e=>"imageCarouselSection"===e.type),r=[e,...i,...l.map(e=>e.items.map(e=>e.image)).reduce((e,n)=>e.concat(n),[]),...n.filter(e=>"imageSection"===e.type).map(e=>e.image).filter(e=>null!==e)];return{isSliderOrCarouselActive:l.length>0||t.length>0,images:function(e,n){let t=new Set;return e.filter(e=>{let i=n?e[n]:JSON.stringify(e);return!t.has(i)&&(t.add(i),!0)})}(r,"src")}}t.d(n,{i:function(){return i}})},44725:function(e,n,t){"use strict";t.d(n,{V:function(){return c},Y:function(){return a}});var i=t(32253),l=t(11407),r=t(25207),s=t(71216),o=t(39337);function a(e){return{label:e,id:(0,l.w)(e)}}function c(e,n){let{formatMessage:t}=(0,i.YB)(),l=[{id:s.s.ABOUT,label:t("club-detail.about.title")},{id:s.s.OPENING_HOURS,label:t("club-detail.opening-hours.title")}];return e&&e.forEach(e=>{if(!e.anchorLinkTitle)return;if(e.type===o.CONTENT_TYPES.GENERIC_CONTENT_SECTION&&e.componentType===r.Yy.SPECIALISTS&&!n)return null;let t=a(e.anchorLinkTitle);t&&l.push(t)}),l.push({id:s.s.CONTACT,label:t("club-detail.anchor-links.contact")}),{tags:l}}},53093:function(e,n,t){"use strict";t.d(n,{c:function(){return l}});let i={lat:52.132633,lng:5.291265999999999};function l(e){return e.latitude===i.lat&&e.longitude===i.lng}},3987:function(e,n,t){"use strict";t.d(n,{L:function(){return B}});var i=t(85893),l=t(32253),r=t(94184),s=t.n(r),o=t(65163),a=t(70207),c=t(17410),u=t(47875),d=()=>(0,i.jsx)(u.Z.Checkmark,{fill:"#5AB789",width:"2.4rem",height:"2.4rem"}),m=t(71613),p=t(98809),_=t(5630),h=t.n(_),g=t(30119),x=t(71351),b=e=>{let{onClickButton:n,options:t}=e,{formatMessage:r}=(0,l.YB)(),s=Object.keys(t)[0],o=Object.keys(t)[1],{currentBreakpoint:a,breakpoints:c}=(0,p.Z)(),u=a===c.xs.name;return(0,i.jsx)("tfoot",{className:h()["table-footer"],children:(0,i.jsxs)("tr",{children:[(0,i.jsx)("td",{}),(0,i.jsx)("td",{children:(0,i.jsx)(m.z,{variant:x.W.Inverted,onClick:()=>n(s),type:g.L.Button,dataTestId:"club-page_membership_modal_cta_1",children:u?r("club-only.comparison.button-label-mobile"):r("club-only.comparison.button-label",{subscription:t[s].title})})}),(0,i.jsx)("td",{children:(0,i.jsx)(m.z,{onClick:()=>n(o),type:g.L.Button,dataTestId:"club-page_membership_modal_cta_2",children:u?r("club-only.comparison.button-label-mobile"):r("club-only.comparison.button-label",{subscription:t[o].title})})})]})})},f=t(25924),v=t(77420),j=t.n(v),C=()=>{let{formatMessage:e}=(0,l.YB)();return(0,i.jsx)("thead",{className:j()["table-head"],children:(0,i.jsxs)("tr",{children:[(0,i.jsx)("th",{}),(0,i.jsx)("th",{children:(0,i.jsx)(a.H4,{children:e("club-only.comparison.basic-contract-name")})}),(0,i.jsxs)("th",{children:[(0,i.jsx)(f.C,{className:j().badge,isTertiary:!0,label:e("club-only.comparison.popular")}),(0,i.jsx)(a.H4,{children:e("club-only.comparison.plus-contract-name")})]})]})})},N=t(25609),y=t(74945),T=t.n(y);let S=e=>{let{label:n,values:t,tooltipTitle:l,tooltipDescription:r}=e;return(0,i.jsx)(i.Fragment,{children:(0,i.jsxs)("tr",{className:T()["table-row"],children:[(0,i.jsx)("td",{children:(0,i.jsxs)("div",{className:T()["table-row-title"],children:[(0,i.jsx)("span",{dangerouslySetInnerHTML:{__html:n}}),(0,i.jsx)(N.u,{title:l,description:r,onOpenChange:e=>{e&&(0,c.uQ)(c.KW.trackEvent,{event_name:"click_info_subscription"})}})]})}),t.map(e=>{let{key:n,value:t}=e;return(0,i.jsx)("td",{children:t},n)})]})})};var I=()=>(0,i.jsx)(u.Z.Cross,{fill:"#9f9fa3",width:"2.4rem",height:"2.4rem"}),k=t(27471),L=t.n(k);let B=e=>{let{onClickButton:n,isAlternative:t,availableClubsAmount:r,options:u,sheet:m}=e,{formatMessage:p}=(0,l.YB)(),_=t?a.H2:a.H3,h=p("club-only.comparison.number-of-clubs.value.default"),g=[{label:p("club-only.comparison.all-facilities.label"),plusValue:(0,i.jsx)(d,{}),oneValue:(0,i.jsx)(d,{}),tooltipDescription:p("club-only.comparison.all-facilities.tooltip")},{label:p("club-only.comparison.group-lessons.label"),plusValue:(0,i.jsx)(d,{}),oneValue:(0,i.jsx)(d,{}),tooltipDescription:p("club-only.comparison.group-lessons.tooltip")},{label:p("club-only.comparison.opening-times.label"),plusValue:(0,i.jsx)(d,{}),oneValue:(0,i.jsx)(d,{}),tooltipDescription:p("club-only.comparison.opening-times.tooltip")},{label:p("club-only.comparison.number-of-clubs.label"),plusValue:p("club-only.comparison.number-of-clubs.value",{number:r||h}),oneValue:p("club-only.comparison.number-of-clubs.value",{number:1}),tooltipDescription:p("club-only.comparison.number-of-clubs.tooltip")},{label:p("club-only.comparison.sport-together.label"),plusValue:t?p("club-only.comparison.sport-together.plus-value",{number:5}):(0,i.jsx)(d,{}),oneValue:(0,i.jsx)(I,{}),tooltipDescription:p("club-only.comparison.sport-together.tooltip")}];return(0,i.jsxs)(o.y,{sheet:m,position:"middle",onCloseClick:()=>{m.close(),(0,c.uQ)(c.KW.trackEvent,{event_name:"close_more_info_membership"})},children:[(0,i.jsx)(_,{className:s()(!t&&L().title),children:p("club-only.comparison.title")}),(0,i.jsx)(a.uT,{color:a.rx.Neutral02,className:s()(L().body,{[L().alternative]:t}),children:p("club-only.comparison.description")}),(0,i.jsxs)("table",{className:s()(L().table,{[L().alternative]:t}),children:[(0,i.jsx)(C,{}),(0,i.jsx)("tbody",{children:g.map(e=>(0,i.jsx)(S,{tooltipTitle:e.label,values:[{key:"".concat(e.label,"-one"),value:e.oneValue},{key:"".concat(e.label,"-plus"),value:e.plusValue}],...e},e.label))}),u&&n&&(0,i.jsx)(b,{onClickButton:n,options:u})]})]})}},33205:function(e,n,t){"use strict";t.d(n,{T:function(){return b}});var i=t(85893),l=t(47875),r=t(32253),s=t(97744),o=t(95236),a=t(97048),c=t(33705),u=t(17410),d=t(94184),m=t.n(d),p=t(93287),_=t.n(p),h=t(89845),g=t(65163),x=t(70207);let b=e=>{let{clubId:n,isSecondary:t,isTertiary:d,isColorNeutral02:p}=e,{formatMessage:b}=(0,r.YB)(),f=(0,h.M)(),{clubsById:v}=(0,a.n)(),{availableClubs:j}=(0,o.Q)(n,v),C=j.map(e=>{var n;return null==e?void 0:null===(n=e.cms)||void 0===n?void 0:n.title}).filter(Boolean).sort((e,n)=>e.localeCompare(n)),N=(0,c.L)(C),y=()=>{(0,u.uQ)(u.KW.trackEvent,{event_name:"click_clubinfo"}),f.toggle()};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(g.y,{sheet:f,title:b("funnel.club-select.clubs-amount-tooltip-title"),subtitle:b("funnel.club-select.clubs-amount-tooltip-description",{numberOfClubs:j.length}),children:(0,i.jsx)(s.j,{itemsByAlphabet:N})}),(0,i.jsxs)(x.uT,{color:p&&x.rx.Neutral02,children:[t?(0,i.jsx)(l.Z.Checkmark,{className:_().icon}):null,d?(0,i.jsx)(l.Z.Checkmark,{className:m()(_().icon)}):null,d?(0,i.jsxs)("span",{className:m()(_().tooltip,_().usp),children:[b("funnel.club-select.clubs-amount-usp-1"),(0,i.jsxs)("button",{className:_().underline,onClick:y,"aria-label":"info",type:"button",children:[j.length," clubs"]}),b("funnel.club-select.clubs-amount-usp-2")]}):(0,i.jsxs)("span",{className:m()(_().tooltip,{[_().usp]:t||d,[_().block]:d}),children:[b("funnel.club-select.clubs-amount-usp",{numberOfClubs:j.length}),(0,i.jsx)("button",{className:_().button,onClick:y,"aria-label":"info",type:"button","data-testid":"clubs-list-usp-button",children:(0,i.jsx)(l.Z.InfoCircleFilled,{className:_().infoIcon})})]})]})]})}},94726:function(e,n,t){"use strict";t.d(n,{p:function(){return d},z:function(){return m}});var i=t(67294),l=t(29015),r=t(4100),s=t(11702),o=t(81710),a=t(15313),c=t(77094),u=t(11163);function d(e,n,t){let c=(0,l.Z)(s.c7),u=(0,a.v9)(o.LW(e,null==t?void 0:t.id)),[d,m,{doSetLoading:p,doSetError:_}]=(0,r.Z)();return(0,i.useEffect)(()=>{(null==t?void 0:t.id)&&!u&&(p(!0),c(e,n,t).then(()=>p(!1)).catch(e=>_(e)))},[n,t,e]),[u,d,m]}function m(e,n){let{query:{slug:t}}=(0,u.useRouter)(),d=(0,l.Z)(s.Oo),m=(0,a.v9)((0,c.f)(t)),p=(0,a.v9)(o.jz(t));if("commitmentPeriodId"!==n)return[];let _=m?Object.values(m).filter(n=>{var t;return null===(t=n.attributes.clubIds)||void 0===t?void 0:t.includes(e)}):[],h=_.reduce((e,n)=>(null==p?void 0:p[n.id])?{...e,[n.id]:p[n.id]}:e,{}),[g,x,{doSetLoading:b,doSetError:f}]=(0,r.Z)();return(0,i.useEffect)(()=>{e&&(!Object.keys(h).length||!Object.keys(h).length===_.length)&&(b(!0),d(t,e,m).then(()=>b(!1)).catch(e=>f(e)))},[e]),[h,g,x]}},6575:function(e,n,t){"use strict";t.d(n,{Z:function(){return u}});var i=t(11163),l=t(67294),r=t(25877),s=t(86443),o=t(91102),a=t(82580),c=t(39802);function u(){let e=(0,i.useRouter)(),{config:{steps:n,includeAccessCode:t}}=(0,r.Z)(),u=(0,a.u6)(),{slug:d,step:m,clubId:p,migrated:_}=e.query,h=(0,c.T)(null!=d?d:""),g=n.reduce((e,n)=>({...e,[n.slug]:n}),{})[m],x=n.findIndex(e=>e.slug===m),b=n.length,f=n.filter(e=>{var n;return null===(n=e.contentItems)||void 0===n?void 0:n.find(e=>e.type===s.bT.FUNNEL_CLUB_SEARCH)})[0],v=f&&n.indexOf(f),j=x===v,C=x===v+1,N=t&&0===x,y=(0,l.useMemo)(()=>({current:x+1,total:b,isLastStep:x+1===b}),[b,x]);return{goStepNext:()=>{e.push("/funnel/".concat(d,"/").concat(n[x+1].slug))},goStepBack:()=>{e.push("/funnel/".concat(d,"/").concat(n[x-1].slug))},currentStep:g,currentStepIndex:x,totalSteps:b,progress:y,validateStepRoute:()=>{let t=Number(o.rV("validUntil")),i=o.RK(h);if(!t&&(p||(null==i?void 0:i.clubId)||(null==u?void 0:u.values.clubId))){o.LS("validUntil","1");return}1===x&&(p||(null==i?void 0:i.clubId))&&e.push("/funnel/".concat(d,"/").concat(n[1].slug).concat(_?"?migrated=true":"")),t||0===x||e.push("/funnel/".concat(d,"/").concat(n[0].slug)),t&&x>t&&e.push("/funnel/".concat(d,"/").concat(n[t].slug))},isClubSelectStep:j,clubSelectStepIndex:v,isStepAfterClubSelect:C,isAccessCodeStep:N}}},25877:function(e,n,t){"use strict";t.d(n,{Z:function(){return d}});var i=t(67294),l=t(15313),r=t(11163),s=t(77094),o=t(91102),a=t(86443),c=t(39802),u=t(67796);function d(){let{query:e,query:{step:n}}=(0,r.useRouter)(),t=(0,l.v9)((0,s.QR)(e.slug)),d=(0,l.v9)((0,s.AP)(e.slug)),m="string"==typeof e.slug?o.RK((0,c.T)(e.slug)):null,[p,_]=(0,i.useState)();(0,i.useEffect)(()=>{(null==m?void 0:m.clubId)&&_(d[m.clubId])},[null==m?void 0:m.clubId,d]);let h=(null==t?void 0:t.steps)?n===u.Ob.addOns||p&&0!==p.addOns.length?t.steps:t.steps.filter(e=>{var n;return!(null===(n=e.contentItems)||void 0===n?void 0:n.find(e=>e.type===a.bT.FUNNEL_ADD_ONS_SECTION))}):[];return{config:{...t,steps:h}}}},97048:function(e,n,t){"use strict";t.d(n,{n:function(){return C}});var i=t(81710),l=t(57142),r=t(67294),s=t(35102),o=t.n(s),a=t(59343),c=t(6575),u=t(25877),d=t(57114),m=t(25012),p=t(55989),_=t(77094);let h={1:"flex",28:"4-weeks",6:"6-months",12:"1-year"},g=e=>{var n,t,i,r,s,a,c;let{selectedPaymentPlan:u,voucher:d,prices:m,formValues:p,club:_,funnelSlug:g}=e;if(l.Z)return;let x=null===(a=document)||void 0===a?void 0:null===(s=a.cookie)||void 0===s?void 0:null===(r=s.split("; ").find(e=>e.startsWith("_ga=")))||void 0===r?void 0:null===(i=r.split("=")[1])||void 0===i?void 0:i.substring(6),b=null===(c=document.cookie.split("; ").find(e=>e.startsWith("_ga_")))||void 0===c?void 0:c.split("=")[1].split(".")[2],f=new URLSearchParams({tid:"UA-5967669-1",cid:null!=x?x:"",tr:null===(n=m.membershipFee)||void 0===n?void 0:n.toFixed(2),ec:"Ecommerce",ea:"Purchase",cu:"EUR",pa:"purchase",el:u.name,dl:"".concat(o().name,"/funnel/betaling-gelukt")}).toString(),v=h[u.commitmentPeriod.days||u.commitmentPeriod.months],j=h[u.paymentInterval.days||u.paymentInterval.months],C={client_id:x,events:[{name:"purchase",params:{affiliation:o().brand,currency:"EUR",engagement_time_msec:1,session_id:b,transaction_id:"",value:m.discountedPricePerMonth||m.pricePerMonth,revenue:m.membershipFee,items:[{item_variant:"membership",item_id:u.id.toString(),item_name:u.name,item_brand:g,item_category:p.contractType,item_duration:v,item_paymentplan:j,item_homeclub:null==_?void 0:_.name,price:m.pricePerMonth,voucher:null==d?void 0:d.summary.voucher.description,voucher_code:null==d?void 0:d.summary.voucher.code,voucher_discount:null==d?void 0:d.summary.voucher.amount}]}}]};return _&&(null===(t=p.addons)||void 0===t||t.forEach(e=>{let n=function(e,n){for(let t of e.addOns){let e=t.variants.find(e=>e.paymentPlanId===n);if(e)return e}}(_,e.paymentPlanId);n&&C.events[0].params.items.push({item_id:e.paymentPlanId.toString(),item_name:n.name,item_variant:"add-on",item_brand:"yanga",item_homeclub:null==_?void 0:_.name,price:n.price,promotion_id:e.contractDiscountDefinitionId})})),{ua:"https://www.google-analytics.com/collect?v=1&t=event&".concat(f),ga:C}};var x=t(91102),b=t(11163),f=t(15313),v=t(17410),j=t(7148);let C=()=>{var e,n;let[t,s]=(0,r.useState)(!1),{query:{slug:h},push:C}=(0,b.useRouter)();(0,j.p)(h);let N=(0,f.v9)(_.AP(h)),{config:y}=(0,u.Z)(),T=(0,f.v9)(_.Dj(h)),S=(0,f.v9)((0,i.LW)(h,null==T?void 0:T.id.toString())),I=(0,f.v9)(_.UP(h)),k=(null==I?void 0:null===(n=I.summary)||void 0===n?void 0:null===(e=n.membership)||void 0===e?void 0:e.total)===0||(null==T?void 0:T.membershipFee)===0,{pushToDataLayerOnSubmit:L}=l.Z||!(0,a.y)()?{}:(window.dataLayer=window.dataLayer||[],{pushToDataLayerOnSubmit:(0,r.useCallback)((e,n,t,i,l)=>{let r=l?l.summary.membership.total:i.charges.reduce((e,n)=>{let{amount:t}=n;return e+t},0);window.dataLayer.push({ecommerce:null}),window.dataLayer.push({event:"begin_checkout",ecommerce:{items:[{item_id:t.id,item_name:t.name,affiliation:"Online Store - Funnel - ".concat(e),coupon:null==l?void 0:l.summary.voucher.code,currency:"EUR",discount:null==l?void 0:l.summary.voucher.amount,item_brand:o().name,item_category:n.commitmentPeriodId,item_category2:n.paymentIntervalId,location_id:n.clubId,price:r,quantity:1}]}})},[window.dataLayer])}),{currentStepIndex:B,goStepNext:E}=(0,c.Z)(),w=async e=>{if(s(!0),!T)throw Error("No selected payment plan");try{var n;L&&L(h,e,T,S,I);let t=(0,d.S)(h,T,S,I),i=g({selectedPaymentPlan:T,voucher:I,prices:t,funnelSlug:h,formValues:e,club:e.clubId?N[e.clubId]:void 0}),l=(0,m.D)(e,T,h,I,k,i);(0,v.uQ)(v.KW.submitFunnel,{first_name:e.firstName,last_name:e.lastName,email_address:e.emailAddress,phone_number:e.phoneNumber,postal_code:e.postalCode,city:e.city});let{data:r,statusCode:o}=await (0,p.xz)(l);if(200!==o)return Promise.resolve({...null==r?void 0:r.error});s(!1),window.location.href=null!==(n=null==r?void 0:r.paymentLink)&&void 0!==n?n:"/payment?status=failed&funnel=".concat(h)}catch(e){await C("/inschrijving-mislukt?funnel=".concat(h))}};return{selectedPaymentPlan:T,handleSubmit:async e=>(x.LS("validUntil",(B+1).toString()),B+1===y.steps.length)?await w(e):(E(),null),clubsById:N,isSubmitting:t,skipPaymentValidation:k}}},57114:function(e,n,t){"use strict";t.d(n,{S:function(){return _},L:function(){return h}});var i=t(35102),l=t.n(i),r={production:{sportcity:{mei2022:{4457:{pricePerMonth:59.99,defaultJoiningFee:39.99,joiningFeeDiscount:-39.99,joiningFee:0},4458:{pricePerMonth:59.99,discountedPricePerMonth:29.99,discountDuration:2,defaultJoiningFee:39.99,joiningFeeDiscount:-39.99,joiningFee:0},4459:{defaultMembershipFee:391.01,discountDuration:2,discountTotal:-65.16,membershipFee:325.85,defaultJoiningFee:39.99,joiningFeeDiscount:-39.99,joiningFee:0},4460:{pricePerMonth:59.99,discountedPricePerMonth:29.99,discountDuration:2,defaultJoiningFee:39.99,joiningFeeDiscount:-39.99,joiningFee:0},4461:{defaultMembershipFee:782.01,discountDuration:6,discountTotal:-195.47,membershipFee:586.54,defaultJoiningFee:39.99,joiningFeeDiscount:-39.99,joiningFee:0},21:{pricePerMonth:39.99,defaultJoiningFee:39.99,joiningFeeDiscount:-39.99,joiningFee:0}},"zomersport-2022":{6371:{membershipFee:129.99,defaultJoiningFee:39.99,joiningFeeDiscount:-39.99,joiningFee:0}},"back-to-sport":{6882:{membershipFee:129.99,defaultJoiningFee:39.99,joiningFeeDiscount:-39.99,joiningFee:0,followUpPrice:59.99},6883:{membershipFee:69.99,defaultJoiningFee:39.99,joiningFeeDiscount:-39.99,joiningFee:0,followUpPrice:29.99}}},sportcitypremium:{}},staging:{sportcity:{mei2022:{4456:{pricePerMonth:59.99,defaultJoiningFee:39.99,joiningFeeDiscount:-39.99,joiningFee:0},4457:{pricePerMonth:59.99,discountedPricePerMonth:29.99,discountDuration:2,defaultJoiningFee:39.99,joiningFeeDiscount:-39.99,joiningFee:0},4458:{defaultMembershipFee:391.01,discountDuration:2,discountTotal:-65.16,membershipFee:325.85,defaultJoiningFee:39.99,joiningFeeDiscount:-39.99,joiningFee:0},4454:{pricePerMonth:59.99,discountedPricePerMonth:29.99,discountDuration:2,defaultJoiningFee:39.99,joiningFeeDiscount:-39.99,joiningFee:0},4455:{defaultMembershipFee:782.01,discountDuration:6,discountTotal:-195.47,membershipFee:586.54,defaultJoiningFee:39.99,joiningFeeDiscount:-39.99,joiningFee:0},4450:{pricePerMonth:39.99,defaultJoiningFee:39.99,joiningFeeDiscount:-39.99,joiningFee:0}},zomersporten:{4471:{membershipFee:129.99,defaultJoiningFee:39.99,joiningFeeDiscount:-39.99,joiningFee:0},4478:{membershipFee:69.99,defaultJoiningFee:39.99,joiningFeeDiscount:-39.99,joiningFee:0}},"back-to-sport":{5140:{membershipFee:129.99,defaultJoiningFee:39.99,joiningFeeDiscount:-39.99,joiningFee:0,followUpPrice:59.99},5143:{membershipFee:69.99,defaultJoiningFee:39.99,joiningFeeDiscount:-39.99,joiningFee:0,followUpPrice:29.99}}},sportcitypremium:{}}},s=t(11163),o=t(94726),a=t(73216),c=t(15313),u=t(77094);let d={sportcity:{student:{"12-months-0-days":12}}},m={production:[4477,5148,6381,4459,35103,35107,10483,10490,10497,10504,8588,10602,10597,10591],test:[4477,5148,6381,4459,35103,35107,10483,10490,10497,10504,8588,10602,10597]};var p=t(59343);let _=(e,n,t,i)=>{var r,s,o,c,u;let _=m[(0,p.y)()||(0,p.Z)()?"production":"test"].includes(t.id)?[t.charges.filter(e=>e.type===a.bn.MEMBERSHIP)[0]]:t.charges.filter(e=>e.type===a.bn.MEMBERSHIP),h=_.length*n.membershipFee,g=null==_?void 0:_.reduce((e,n)=>{let{amount:t}=n;return e+t},0),x=_.length>1&&_[0].amount<=n.membershipFee?_[0].amount:void 0;if(i){let t=i.charges.filter(e=>e.type===a.bn.MEMBERSHIP),r=t[0].amount<n.membershipFee?t[0].amount:void 0,s=i.summary.joiningFee.regularAmount!==i.summary.joiningFee.amount?i.summary.joiningFee.amount-i.summary.joiningFee.regularAmount:void 0,o=(null==d?void 0:null===(u=d[l().name])||void 0===u?void 0:null===(c=u[e])||void 0===c?void 0:c[n.attributes.commitmentPeriodId])||(null==t?void 0:t.filter(e=>e.amount<n.membershipFee).length),m=r?r-n.membershipFee:void 0;return{pricePerMonth:n.membershipFee,joiningFee:i.summary.joiningFee.amount,defaultJoiningFee:i.summary.joiningFee.regularAmount,joiningFeeDiscount:s,membershipFeeBeforeDiscount:g,membershipFee:i.summary.membership.total,defaultMembershipFee:i.summary.membership.regularAmount,priceBeforeDiscountPerMonth:x,discountedPricePerMonth:r,discountPerMonth:m,discountTotal:-i.summary.voucher.amount,discountDuration:o,hasVoucher:!0}}let b=(null==d?void 0:null===(s=d[l().name])||void 0===s?void 0:null===(r=s[e])||void 0===r?void 0:r[n.attributes.commitmentPeriodId])||(null==_?void 0:_.filter(e=>e.amount<n.membershipFee).length),f=n.joiningFee,v=null==t?void 0:null===(o=t.charges.find(e=>e.type===a.bn.JOINING_FEE))||void 0===o?void 0:o.amount;return{pricePerMonth:n.membershipFee,joiningFee:v,joiningFeeDiscount:f&&void 0!==v?v-f:void 0,membershipFee:g,discountedPricePerMonth:x,defaultJoiningFee:f,defaultMembershipFee:h,discountTotal:h&&g&&g-h,discountDuration:b,hasVoucher:!1}},h=(e,n)=>{let{query:{slug:t}}=(0,s.useRouter)(),[i]=(0,o.p)(t,n,e),a=(0,c.v9)((0,u.UP)(t));if(e){var d,m;if(null===(m=l().funnel)||void 0===m?void 0:null===(d=m.useHardcodedPrices)||void 0===d?void 0:d[t]){let n=l().name;return{...("https://sportcity.perfectgym.pl/Api".includes("test")?r.staging[n]:r.production[n])[t][e.id]}}if(i)return _(t,e,i,a)}return{}}},73216:function(e,n,t){"use strict";var i,l,r,s,o,a;t.d(n,{bn:function(){return r},ec:function(){return l},gs:function(){return i}}),(s=i||(i={})).DAY_PASS="0-months-2-days",s.FOUR_WEEK="0-months-28-days",s.MONTH="1-months-0-days",s.TWELVE_WEEK="0-months-84-days",s.SIX_MONTHS="6-months-0-days",s.TWELVE_MONTHS="12-months-0-days",s.YEAR="0-months-364-days",s.TWO_YEAR="0-months-728-days",(o=l||(l={})).DAY_PASS="0-months-2-days",o.FOUR_WEEKS="0-months-28-days",o.TWELVE_WEEK="0-months-84-days",o.SIX_MONTHS="6-months-0-days",o.TWELVE_MONTHS="12-months-0-days",(a=r||(r={})).PRO_RATA="Prorata",a.JOINING_FEE="JoiningFee",a.MEMBERSHIP="Membership"},77094:function(e,n,t){"use strict";t.d(n,{AP:function(){return s},Dj:function(){return a},QR:function(){return c},UP:function(){return u},f:function(){return o}});var i=t(22222),l=t(46314);let r=e=>e[l.Z.name],s=e=>(0,i.P1)(r,n=>n.clubsById[e]),o=e=>(0,i.P1)(r,n=>n.paymentPlansById[e]),a=e=>(0,i.P1)(r,n=>n.selectedPaymentPlan[e]),c=e=>(0,i.P1)(r,n=>n.funnelConfig[e]),u=e=>(0,i.P1)(r,n=>n.activeVoucher[e])},39802:function(e,n,t){"use strict";t.d(n,{T:function(){return r}});var i=t(35102),l=t.n(i);function r(e){return"".concat(e,"-").concat(l().name)}},91102:function(e,n,t){"use strict";t.d(n,{HH:function(){return s},LS:function(){return l},RK:function(){return o},rV:function(){return r}});var i=t(28025);function l(e,n){i.Z&&sessionStorage.setItem(e,n)}function r(e){if(i.Z)return sessionStorage.getItem(e)}function s(e,n){l(e,JSON.stringify(n))}function o(e){if(i.Z){let n=sessionStorage.getItem(e);return n&&JSON.parse(n)}}},70012:function(e,n,t){"use strict";t.d(n,{a:function(){return u}});var i=t(85893),l=t(27421),r=t(29070),s=t.n(r),o=t(94184),a=t.n(o),c=t(70207);let u=e=>{let{title:n,icon:t,hasGreyBackground:r}=e;return(0,i.jsxs)("div",{className:a()(s().attribute,r&&s().greyBg),children:[t?l.Ul[t]:null,(0,i.jsx)(c.uT,{children:n})]})}},38200:function(e,n,t){"use strict";t.d(n,{y:function(){return a}});var i=t(85893),l=t(7387),r=t.n(l),s=t(83628),o=t(67294);function a(e){let{image:n,onUpdateHeight:t,isAlternative:l,...a}=e,c=(0,o.useRef)(null);return(0,o.useEffect)(()=>{let e=()=>{var e,n;(null==c?void 0:null===(e=c.current)||void 0===e?void 0:e.offsetHeight)!=null&&(null==t||t(null==c?void 0:null===(n=c.current)||void 0===n?void 0:n.offsetHeight))},n=()=>e(),i=()=>e();if(t){var l;window.addEventListener("resize",n),null===(l=c.current)||void 0===l||l.addEventListener("load",i)}return()=>{var e;window.removeEventListener("resize",n),null===(e=c.current)||void 0===e||e.removeEventListener("load",i)}},[c.current,t]),(0,i.jsx)(s.E,{ref:c,hasLazyLoading:!l,className:r().image,image:n,...a})}},74575:function(e,n,t){"use strict";t.d(n,{vO:function(){return _},ck:function(){return p},fC:function(){return m}});var i=t(85893),l=t(94184),r=t.n(l),s=t(67294),o=t(46066),a=t(32253),c=t(51564),u=t(7387),d=t.n(u);function m(e){let{children:n,slidesToShow:t,isLightbox:l,initialSlide:u,hasButtonsInside:m,settings:p,onPrevClick:_,onNextClick:h}=e,{formatMessage:g}=(0,a.YB)(),x=l||m,b=(0,s.useCallback)(e=>{let{onClick:n,className:t}=e;return(0,i.jsx)(c.b,{place:c.W.AbsoluteBottom,isAlternative:x,onClick:e=>{null==h||h(e),null==n||n(e)},"aria-label":g("carousel.button.next"),className:r()(t,d().arrowButton)})},[x,h,g]),f=(0,s.useCallback)(e=>{let{onClick:n,className:t}=e;return(0,i.jsx)(c.b,{isPrev:!0,place:c.W.AbsoluteBottom,isAlternative:x,onClick:e=>{null==_||_(e),null==n||n(e)},"aria-label":g("carousel.button.previous"),className:r()(d().buttons,t)})},[x,_,g]),v={accessibility:!0,speed:500,slidesToShow:null==t?void 0:t.lg,slidesToScroll:1,centerMode:!1,initialSlide:u||0,draggable:!1,infinite:!1,responsive:[{breakpoint:1439,settings:{slidesToShow:null==t?void 0:t.md}},{breakpoint:1023,settings:{slidesToShow:null==t?void 0:t.sm,arrows:x}},{breakpoint:767,settings:{slidesToShow:null==t?void 0:t.xs,centerPadding:"16px",centerMode:!0,arrows:x,draggable:!0}}],nextArrow:(0,i.jsx)(b,{}),prevArrow:(0,i.jsx)(f,{}),...p};return(0,i.jsx)(o.Z,{...v,className:r()(d().container,{[d().container__alternative]:l,[d().containerButtonsInside]:m}),children:n})}function p(e){let{children:n,className:t,hasLink:l,isFullscreen:s}=e;return(0,i.jsx)("div",{className:r()(d().item,{[d().clickable]:l,[d().item__fullscreen]:s},t),children:n})}function _(e){let{children:n,className:t,...l}=e;return(0,i.jsx)("div",{className:r()(d().fullscreen,t),...l,children:n})}t(38200)},48913:function(e,n,t){"use strict";t.d(n,{b:function(){return o}});var i=t(85893),l=t(25675),r=t.n(l);let s=e=>{let{src:n,width:t,quality:i}=e;return"https:".concat(n,"?fm=webp&w=").concat(t,"&q=").concat(null!=i?i:80)};function o(e){return(0,i.jsx)(r(),{loader:s,...e})}},21821:function(e,n,t){"use strict";t.d(n,{D:function(){return u}});var i=t(85893),l=t(8703),r=t.n(l),s=t(98809),o=t(94184),a=t.n(o),c=t(70207);function u(e){let{children:n,className:t=""}=e,{currentBreakpoint:l,breakpoints:o}=(0,s.Z)(),u=l===o.xs.name?c.uT:c.ig;return(0,i.jsx)(u,{component:"div",className:a()(r().description,t),children:(0,i.jsx)(i.Fragment,{children:n})})}},80996:function(e,n,t){"use strict";t.d(n,{E:function(){return r}});var i=t(85893),l=t(83628);let r=e=>{let{className:n}=e;return(0,i.jsx)(l.E,{className:n,image:{alt:"SportCity logo",src:"/static/images/sportcity/illustrations/fallback-thumb.svg",srcSet:"/static/images/sportcity/illustrations/fallback-thumb.svg"}})}},21158:function(e,n,t){"use strict";t.d(n,{N:function(){return d}});var i=t(85893),l=t(32253),r=t(70207),s=t(92374),o=t.n(s);let a=e=>{let{day:n,hours:t,isClosed:l,closedText:s}=e;return(0,i.jsxs)("li",{className:o().item,children:[(0,i.jsx)(r.x4,{className:o().capitalize,children:n}),(0,i.jsx)(r.x4,{children:l?s:t})]})},c=e=>{let{day:n,hours:t,isToday:l,isClosed:s,closedText:a}=e;return(0,i.jsxs)("li",{className:o().item,children:[(0,i.jsx)(r.uT,{fontWeight:l&&r.U9.Bold,color:l?r.rx.Neutral01:r.rx.Neutral02,children:n}),(0,i.jsx)(r.uT,{fontWeight:l&&r.U9.Bold,children:s?a:t})]},n)},u=["monday","tuesday","wednesday","thursday","friday","saturday","sunday"];function d(e){let{openingHours:n,openingHoursExceptions:t}=e,{formatMessage:s}=(0,l.YB)();return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("ul",{className:o().openingHoursList,children:null==n?void 0:n.map(e=>(0,i.jsx)(c,{isClosed:e.isClosed,hours:e.hours,day:s("general.days.".concat(e.day)),closedText:s("club-detail.opening-hours.closed"),isToday:u[new Date().getDay()-1]===e.day},e.day))}),(null==t?void 0:t.length)?(0,i.jsxs)("div",{className:o().innerContainer,children:[(0,i.jsx)(r.uT,{fontWeight:r.U9.Bold,children:s("club-detail.opening-hours.exception-title")}),(0,i.jsx)("ul",{className:o().openingHoursExceptionsList,children:t.map(e=>(0,i.jsx)(a,{day:e.day,hours:e.hours,isClosed:e.isClosed,closedText:s("club-detail.opening-hours.closed")},e.day))})]}):null]})}},20516:function(e,n,t){"use strict";t.d(n,{i:function(){return p}});var i=t(85893),l=t(94184),r=t.n(l),s=t(47875),o=t(67294),a=t(32253),c=t(25609),u=t(5857),d=t(40451),m=t.n(d);function p(e){let{animated:n=!0,isPanel:t=!1,className:l,...d}=e,{formatMessage:p}=(0,a.YB)(),_=(0,o.useRef)(null),h=(0,u.Z)(_),[g,x]=(0,o.useState)(!1);return(0,o.useEffect)(()=>{n&&!g&&h&&x(!0)},[h,n,g]),(0,i.jsxs)("div",{className:r()(m().container,l),ref:_,...d,children:[(0,i.jsxs)("ul",{className:r()(m().list,{[m().isVisible]:g,[m().animated]:n}),children:[(0,i.jsxs)("li",{children:[(0,i.jsx)(s.Z.Star,{className:m().placeholder}),(0,i.jsx)(s.Z.StarFilled,{className:m().filled})]}),(0,i.jsxs)("li",{children:[(0,i.jsx)(s.Z.Star,{className:m().placeholder}),(0,i.jsx)(s.Z.StarFilled,{className:m().filled})]}),(0,i.jsxs)("li",{children:[(0,i.jsx)(s.Z.Star,{className:m().placeholder}),(0,i.jsx)(s.Z.StarFilled,{className:m().filled})]}),(0,i.jsxs)("li",{children:[(0,i.jsx)(s.Z.Star,{className:m().placeholder}),(0,i.jsx)(s.Z.StarFilled,{className:m().filled})]}),(0,i.jsxs)("li",{children:[(0,i.jsx)(s.Z.Star,{className:m().placeholder}),(0,i.jsx)(s.Z.StarHalf,{className:m().filled})]})]}),(0,i.jsxs)("div",{className:m().copyWrapper,children:[(0,i.jsx)("span",{children:p("rating.label")}),(0,i.jsx)(c.u,{title:p("rating.tooltip.title"),description:p("rating.tooltip.description"),triggerClassName:r()(m().tooltipTrigger),tooltipClassName:r()({[m().isPanelTooltip]:t}),align:"center",children:p("rating.tooltip.trigger")})]})]})}},41989:function(e,n,t){"use strict";t.d(n,{M:function(){return T}});var i=t(85893),l=t(63916),r=t(94184),s=t.n(r),o=t(67294),a=t(47875),c=t(32253),u=t(44913),d=t(98809),m=t(70207),p=t(17410),_=t(48333),h=t.n(_);let g=e=>{let{subtitle:n,links:t,isImageBanner:l=!1}=e,{formatMessage:r}=(0,c.YB)(),{currentBreakpoint:_,breakpoints:g}=(0,d.Z)(),x=_===g.xs.name,[b,f]=(0,o.useState)(x?t.slice(0,5):t),[v,j]=(0,o.useState)(!0);return(0,o.useEffect)(()=>{f(v&&x?t.slice(0,5):t)},[v,x]),(0,i.jsxs)(i.Fragment,{children:[n&&(0,i.jsx)(m.H3,{className:h().subtitle,children:n}),(0,i.jsxs)("div",{className:h().linkColumn,children:[b.map(e=>{var n,t,r,o;return(0,i.jsx)(u.r,{className:s()(h().link,{[h().fullWidth]:!l}),href:(null===(n=e.link)||void 0===n?void 0:n.href)||"",openInNewTab:null===(t=e.link)||void 0===t?void 0:t.openInNewTab,onClick:()=>{(0,p.uQ)(p.KW.trackEvent,{event_name:"click_item_linklist"})},children:null===(r=e.link)||void 0===r?void 0:r.label},null===(o=e.link)||void 0===o?void 0:o.label)}),t.length>5&&x&&(0,i.jsxs)("a",{role:"button",className:h().collapseButton,onClick:()=>j(!v),children:[v?(0,i.jsx)(a.Z.Plus,{className:h().plusIcon}):(0,i.jsx)(a.Z.Minus,{className:h().plusIcon}),(0,i.jsx)(m.zx,{children:r("contentful-components.link-list.linkColumn.".concat(v?"view-more":"view-less"))})]})]})]})};var x=t(71613),b=t(30119),f=t(29048),v=t.n(f);let j=e=>{let{imageUrl:n,buttonLabel:t,onClickButton:l,buttonVariant:r}=e;return(0,i.jsxs)("div",{className:v().container,children:[(0,i.jsx)("img",{src:n,alt:"Image Banner",loading:"lazy"}),l&&t&&(0,i.jsx)(x.z,{type:b.L.Button,variant:r,onClick:l,children:t})]})};var C=t(11163),N=t(83486),y=t.n(N);let T=e=>{var n,t;let{title:r,menuItems:s,imageBanner:o}=e,a=(0,C.useRouter)(),c=null==o?void 0:null===(n=o.cta)||void 0===n?void 0:n.href,u="string"==typeof(null==o?void 0:o.mediaSrc);return(0,i.jsx)(l.$0,{children:(0,i.jsx)(l.Ar.Container,{children:(0,i.jsx)(l.Ar.Row,{children:(0,i.jsxs)(l.Ar.Col,{children:[(0,i.jsx)(m.H2,{className:y().title,children:r}),(0,i.jsxs)(l.Ar.Row,{children:[(0,i.jsx)(l.Ar.Col,{columns:u?"xs:12 sm:6 md:8 lg:9":"",children:s.map(e=>(0,i.jsx)(g,{links:e.items,subtitle:e.subtitle,isImageBanner:u},e.id))}),(0,i.jsx)(l.Ar.Col,{columns:"xs:12 sm:6 md:4 lg:3",children:u?(0,i.jsx)(j,{imageUrl:o.mediaSrc||"",onClickButton:()=>{c&&a.push(c),(0,p.uQ)(p.KW.trackEvent,{event_name:"click_cta_linklist"})},buttonLabel:null===(t=o.cta)||void 0===t?void 0:t.label,buttonVariant:o.buttonVariant}):null})]})]})})})})}},83245:function(e,n,t){"use strict";t.d(n,{d:function(){return h}});var i=t(85893),l=t(47875),r=t(70207),s=t(71613),o=t(32253),a=t(83523),c=t(32690),u=t.n(c),d=t(94184),m=t.n(d),p=t(71351),_=t(29785);function h(e){let{isLoading:n,error:t,isLight:c,className:d,children:h,...g}=e,{formatMessage:x}=(0,o.YB)(),b=m()({[u().light]:c},d);if(t){let e;switch(t.code){case a.n.PERMISSION_DENIED:e=x("use-my-location-button.error.permission-denied");break;case a.n.POSITION_UNAVAILABLE:e=x("use-my-location-button.error.unavailable");break;case a.n.TIMEOUT:default:e=x("use-my-location-button.error.default")}return(0,i.jsx)(r.uT,{className:b,children:e})}return(0,i.jsx)(s.z,{icon:n?(0,i.jsx)(_.g,{className:u().loading}):(0,i.jsx)(l.Z.Location,{}),variant:p.W.Link,iconPosition:"end","aria-busy":n,className:m()(u().button,{[u().light]:c},d),...g,children:null!=h?h:x("use-my-location-button.label")})}},81005:function(e,n,t){"use strict";t.d(n,{X:function(){return g}});var i=t(85893),l=t(47875),r=t(25609),s=t(33205),o=t(94184),a=t.n(o),c=t(47792),u=t(70207),d=t(98809),m=t(67477),p=t.n(m),_=t(25468);let h={Arrow:l.Z.ArrowRight,Plus:l.Z.Plus,Cross:l.Z.Cross,Checkmark:l.Z.Checkmark};function g(e){let{usp:n,index:t,insertClubUsp:o,clubId:m,isColorNeutral06:g=!1}=e,{renderRichText:x}=(0,c.t)(),{currentBreakpoint:b,breakpoints:f}=(0,d.Z)(),v=b===f.xs.name,j=(0,_.T)(n.description)?x(n.description):n.description,C=j&&(0,i.jsx)(u.uT,{component:"div",className:p().uspBody,color:g?u.rx.Neutral06:n.isGreyedOut?u.rx.Neutral03:u.rx.Neutral01,children:(0,i.jsx)(i.Fragment,{children:j})}),N=n.icon&&h[n.icon]||l.Z.Checkmark;return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)("li",{className:a()(p()["list-item"],{[p().tag]:v&&n.isTag}),children:[(0,i.jsx)(N,{className:a()(p().icon,{[p().grey]:n.isGreyedOut})}),(0,i.jsx)("div",{className:a()(p().usp),children:n.tooltip?(0,i.jsxs)(i.Fragment,{children:[C,(0,i.jsx)(r.u,{title:n.tooltip.title,description:n.tooltip.description,children:(0,i.jsx)(l.Z.InfoCircleFilled,{})})]}):C})]},n.id),o&&m&&0===t?(0,i.jsx)("li",{className:p()["list-item"],children:(0,i.jsx)(s.T,{isColorNeutral02:!v,clubId:m,isTertiary:!0})}):null]})}},83523:function(e,n,t){"use strict";t.d(n,{Z:function(){return s},n:function(){return l}});var i,l,r=t(67294);(i=l||(l={}))[i.PERMISSION_DENIED=1]="PERMISSION_DENIED",i[i.POSITION_UNAVAILABLE=2]="POSITION_UNAVAILABLE",i[i.TIMEOUT=3]="TIMEOUT";let s=function(e){let n=!(arguments.length>1)||void 0===arguments[1]||arguments[1],[t,i]=(0,r.useState)({isLoading:!1,accuracy:null,altitude:null,altitudeAccuracy:null,heading:null,latitude:null,longitude:null,speed:null,timestamp:Date.now()}),l=!0,s=e=>{l&&i({isLoading:!1,accuracy:e.coords.accuracy,altitude:e.coords.altitude,altitudeAccuracy:e.coords.altitudeAccuracy,heading:e.coords.heading,latitude:e.coords.latitude,longitude:e.coords.longitude,speed:e.coords.speed,timestamp:e.timestamp})},o=e=>l&&i(n=>({...n,isLoading:!1,error:e}));return(0,r.useEffect)(()=>{let t;return n?(navigator.geolocation.getCurrentPosition(s,o,e),t=navigator.geolocation.watchPosition(s,o,e)):i(e=>({...e,isLoading:!1})),()=>{l=!1,t&&navigator.geolocation.clearWatch(t)}},[n]),t}},61948:function(e,n,t){"use strict";t.d(n,{W:function(){return l}});var i=t(57142);function l(e,n){var t,l,r,s,o;if(i.Z)return!1;let a=(null===(o=window)||void 0===o?void 0:null===(s=o.convert)||void 0===s?void 0:null===(r=s.currentData)||void 0===r?void 0:null===(l=r.experiences)||void 0===l?void 0:null===(t=l[e])||void 0===t?void 0:t.variation.id)===n,c=new URLSearchParams(window.location.search).get("_conv_eforce");if(c){let[t,i]=c.split(".");if(t===e&&i===n)return!0}return a}},88027:function(e,n,t){"use strict";t.d(n,{P:function(){return s}});var i=t(53093),l=t(9669);let r=t.n(l)().create({baseURL:"https://maps.googleapis.com/maps/api/geocode/json"});async function s(e){var n;let{data:t}=await r.get("",{params:{address:e,components:"country:nl",key:"AIzaSyBvJd8_CMcadQdBiwDBHufHdYbkfz4gb7U",sensor:!1}}),l="OK"===t.status&&t.results.length?{latitude:(n=t.results[0]).geometry.location.lat,longitude:n.geometry.location.lng}:null;return l&&!(0,i.c)(l)?l:null}},96697:function(e,n,t){"use strict";t.d(n,{J:function(){return i}});let i=e=>e.toLowerCase().replace(/\s/g,"-")},97249:function(e,n,t){"use strict";t.d(n,{K:function(){return l}});var i=t(71351);function l(e){return Object.values(i.W).includes(e)}},9214:function(e,n,t){"use strict";t.d(n,{V:function(){return i}});let i=e=>e||""},11407:function(e,n,t){"use strict";function i(e){return e.toLocaleLowerCase().replace(/(\s)/g,"-")}function l(e){return e.replace(/-/g," ").replace(/\b\w/g,e=>e.toUpperCase())}t.d(n,{h:function(){return l},w:function(){return i}})},7148:function(e,n,t){"use strict";t.d(n,{p:function(){return l}});var i=t(72142);function l(e){if(!(0,i.H)(e))throw Error("Expected value to be a string")}},14685:function(e,n,t){"use strict";t.d(n,{Z:function(){return s}});var i=t(45136),l=t(82329),r=t(42247);function s(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"geoDistance",s=i.Z([l.Z(r.Z(t)),l.Z(r.Z("name"))])(e);return n?s.slice(0,n):s}},85466:function(e,n,t){"use strict";t.d(n,{s:function(){return l}});var i=t(16282);let l=(e,n)=>{let t=RegExp("\\b(?:\\w*?"+n.replace(/ /g,"\\s*?|\\w*?")+"\\w*?)\\b","gi"),l=e=>(0,i.D)(e,t)>.5,r=e=>(0,i.D)(e,t)>.5;return e.filter(e=>{let{name:n,postalCode:t}=e;return l(n)||t&&r(t)})}},5857:function(e,n,t){"use strict";var i=t(67294);n.Z=function(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"0px",[t,l]=(0,i.useState)(!1);return(0,i.useEffect)(()=>{let t=new IntersectionObserver(e=>{let[n]=e;l(n.isIntersecting)},{rootMargin:n});return e.current&&t.observe(e.current),()=>{e.current&&t.unobserve(e.current)}},[]),t}},51687:function(e,n,t){"use strict";t.r(n),t.d(n,{getItem:function(){return r},getObject:function(){return o},isLocalStorageAvailable:function(){return c},removeItem:function(){return a},setItem:function(){return l},setObject:function(){return s}});var i=t(28025);function l(e,n){c()&&localStorage.setItem(e,n)}function r(e){if(c())return localStorage.getItem(e)}function s(e,n){l(e,JSON.stringify(n))}function o(e){if(c()){let n=localStorage.getItem(e);return n&&JSON.parse(n)}}function a(e){c()&&localStorage.removeItem(e)}function c(){if(!i.Z||"undefined"==typeof localStorage)return!1;try{let e="test";return localStorage.setItem(e,e),localStorage.removeItem(e),!0}catch(e){return!1}}},16282:function(e,n,t){"use strict";t.d(n,{D:function(){return l},L:function(){return r}});var i=t(7148);function l(e,n){let t=e.match(n);return t?t.join("").length/e.length*100:0}function r(e,n,t){let r=RegExp("\\b(?:\\w*?"+n.replace(/ /g,"\\s*?|\\w*?")+"\\w*?)\\b","gi");return e.sort((e,n)=>{let s=e[t],o=n[t];(0,i.p)(s),(0,i.p)(o);let a=l(s,r);return l(o,r)-a})}},72142:function(e,n,t){"use strict";function i(e){return"string"==typeof e}t.d(n,{H:function(){return i}})},87741:function(e,n,t){"use strict";t.d(n,{Z:function(){return eJ}});var i,l,r,s,o,a=t(85893),c=t(45697),u=t.n(c),d=t(72816),m=t(22632),p=t(32253),_=t(63916),h=t(17410),g=t(9214),x=t(94184),b=t.n(x),f=t(11163),v=t(3987),j=t(95236),C=t(71613),N=t(20516),y=t(89845),T=t(71351),S=t(42289),I=t.n(S);let k=e=>{let{className:n}=e;return(0,a.jsx)("svg",{viewBox:"0 0 1440 386",fill:"none",className:n,preserveAspectRatio:"xMaxYMin",children:(0,a.jsx)("path",{d:"M2140.17 377.984c-1504.5-749-1205.5-113.582-2282.5-191.082",stroke:"#F4B52C",strokeWidth:16})})},L=e=>{let{className:n,...t}=e;return(0,a.jsx)("div",{className:b()(I().container,n),role:"presentation",...t,children:(0,a.jsx)("div",{className:I().viewBox,children:(0,a.jsx)(k,{className:I().curlyLine})})})};var B=t(25207),E=t(9947),w=t.n(E),U=t(67294);function A(){return(A=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e}).apply(this,arguments)}var O=function(e){return U.createElement("svg",A({xmlns:"http://www.w3.org/2000/svg",fill:"none",preserveAspectRatio:"none",viewBox:"0 0 1440 22",width:"1em",height:"1em"},e),i||(i=U.createElement("path",{fill:"#000",d:"M1440 14.162v.495h-53.48v-.495z"})),l||(l=U.createElement("path",{fill:"#000",fillRule:"evenodd",d:"M1440 9.212v2.938l-1.48.032c-15.17.33-36.83.495-64.99.495l-3.25-.495 12.99-.495-6.49-.495-126.74-.495c-6.5 0-11.92.165-16.25.495l-13 .99q-3.255 0-9.75.495c-6.5.33-10.83.33-13 0-8.67-.33-20.58-.495-35.75-.495-19.49 0-37.91.165-55.24.495-19.5.33-37.92.495-55.25.495q-35.745-.495-61.742 0h-48.746q-6.5 0-9.749.495v.495h282.727v.495h-107.24c-43.33 0-75.83.165-97.49.495l-26.001-.495-61.745.495-48.746-.495q-29.248 0-87.743.99l-25.998-.495h-6.499l-142.988.495q-22.748.495-74.744.495-58.494.99-84.493.99-35.746 0-55.245-.495l-48.746-.495 12.999-1.485H.001V4.356q16.2-.093 28.138-.093l84.493.495h51.995q-38.996-.99-116.99-.99L0 3.898V0h1440v7.232h-131.47c-186.32 0-324.971.165-415.964.495q-175.485 0-259.978.495L193.875 9.707l-113.74-.495q-12.999 0-22.749.495l9.75.495q58.495.99 87.742.99 68.245 0 211.232-.99 29.248 0 74.744.495 42.247 0 97.492-.495l237.23-.495q71.495-.495 214.482-.495l165.732.495 142.99-.495zM756.078 1.788h409.462v.495H756.078zM548.109 14.6q34.885-.18 94.228-.933 149.488-.99 227.481-.495v.495zM1188.29 4.263H736.579v-.495h451.711zm167.78-.495h-99.53v-.495c24.51 0 57.68.165 99.53.495M720.331 2.283H619.589l100.742-.495zm620.699 0-3.25-.495h64.99v.495z",clipRule:"evenodd"})),r||(r=U.createElement("path",{fill:"#000",d:"M0 17.97v-1.867q32.22-.27 60.636.039h77.994q55.245-.495 100.741.495v.99zM0 20.047q66.931-.11 106.132-.44h370.469l97.492-.496q32.497-.495 97.492-.495h584.955c44.34.25 105.5.406 183.46.466v2.408l-20.98-.399-146.24-.495-662.94.99q-14.86 0-21.566.414H0zM1240.29 12.182v.495h71.49v-.495z"})))};function P(){return(P=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e}).apply(this,arguments)}var F=function(e){return U.createElement("svg",P({xmlns:"http://www.w3.org/2000/svg",fill:"none",preserveAspectRatio:"none",viewBox:"0 0 1440 22",width:"1em",height:"1em"},e),s||(s=U.createElement("path",{fill:"#000",d:"M432.926 14.667v-.223h-50.894v.223zM830.825 14.889v.222h43.954v-.222zM895.599 14.889l-2.313.222h39.327v-.222zM689.71 14.889v.222h48.58v-.222z"})),o||(o=U.createElement("path",{fill:"#000",fillRule:"evenodd",d:"M0 1.327q2.094-.163 2.64-.216 2.314-.222 6.94 0h25.448q4.626.222 13.88.222L104.429.89q-4.627.444-4.627.889h16.193q9.254-.224 23.134 0h94.848l48.581-.223q18.507-.222 50.894-.222 20.82-.222 37.014 0h171.188q20.821 0 57.835-.444h-16.194V.667h48.581v.222h-9.254l2.314.222H944.18V.667h-6.94V.444h25.447q13.88-.222 34.7 0h80.963c10.8 0 20.83-.074 30.08-.222Q1122.14.003 1138.1 0h204.3c23.91.001 56.44.14 97.6.418v21.388c-7.63.127-19.15.192-34.58.194h-1.57c-18.54-.004-47.61-.152-87.22-.444h-134.17c-18.51 0-43.18.148-74.03.444H705.903l-71.714-.667h-99.475q-18.507-.222-30.073 0l-97.162.223q-32.386 0-101.788-.445h-32.387l-108.728-.222q-41.64.444-62.461.444H0zm474.567 14.006 2.313.223q-13.88.222-43.954.222l-67.087-.223q-67.088-.444-99.475-.222 9.253-.444 23.134-.444h23.133q16.194 0 48.581-.445-231.336.445-351.631.445l4.627-.445 50.893-.222q25.448-.222 46.268 0h92.534l-6.94-.667 43.954-.222v-.222q-16.193-.222-50.894-.222h76.341v.222l-6.94.222q76.341-.889 108.728-1.11v-.445h-34.7q-23.134.444-34.701.444H162.263q-6.94.667-11.567.667t-11.567-.445q-9.254-.444-16.193-.666 11.567-1.112 37.013-1.112h18.507q20.821 0 32.387.445 16.194.444 23.134 0t18.507-.222q11.567 0 16.193-.222 9.254-.444 23.134-.223l309.991-.222q34.7 0 99.475.445l48.58.222 57.834-.222 384.019.222v.444q-27.765 0-41.64.223-48.585.222-141.12.222H766.051L742.917 12l6.94.444v.223l-13.88-.445q-11.567-.444-18.507 0-2.313.222-13.88.222Q615.682 12 571.728 12l-154.995.222q-11.566 0-18.507.222h69.401l48.581.223q30.073 0 46.267.222 152.682.444 231.336.444 25.447.223 46.267.223 18.507-.223 32.388-.223H1069.1c3.09 0 5.4-.074 6.94-.222s3.09-.222 4.63-.222c6.17-.296 10.02-.445 11.57-.445l175.81-.222v.223l-120.29.444v.222h25.44q16.2 0 39.33.445c3.08 0 6.17-.074 9.25-.223 3.09-.148 5.4-.222 6.94-.222 3.09 0 7.71.074 13.88.222 6.17 0 13.88-.074 23.14-.222h6.94q13.875 0 25.44.222 9.255.223 16.2.445c-26.22.296-65.55.444-117.98.444l-117.99.445c-27.76 0-67.85.148-120.29.444q13.88 0 32.387.222 16.191 0 39.323-.222c33.93 0 58.61-.074 74.03-.222l74.03-.222h23.13c21.59 0 37.79.222 48.58.666v.223L814.631 16v-.444h4.627q-27.76-.89-37.014-.89l-18.507.445 37.014.444v.223h2.314l-6.94.222h-9.254q-20.82 0-30.074-.444-4.627-.223-11.566 0h-11.567q-9.254.222-27.761.222-20.82 0-62.46-.445-20.821-.222-62.461-.222-9.253 0-20.821.222-11.567.223-23.133.223-6.94 0-13.88-.223-6.94-.222-16.194-.222zm-358.572 2h62.461l319.245-.666q50.894 0 148.055.444l74.028.222 187.382-.222h145.744l217.45-.222 4.63.222c-16.96.445-41.64.667-74.03.667h-48.58q-32.385 0-46.26.222h-2.32c0-.148 1.54-.222 4.63-.222v-.222h-32.39q-41.64.222-124.92.222H724.41q-48.58 0-136.488-.445l-222.083.223q-67.088.222-201.263.222h-48.581zm180.443 1.778q11.567-.222 39.327-.222 39.327-.222 122.608-.222h143.429q37.014.222 111.042.222h235.963q46.267.222 141.113-.222c18.51 0 33.16.074 43.96.222l-23.14.222-270.662.222-120.294.223q-53.208 0-80.968-.223l-83.281-.222-148.056.222H296.438zm1112.732-14q-138.809-.667-414.096-.667H717.47q39.327 0 127.235-.444h377.075l187.39.667zM222.41 8.667l286.857-.223v.223L222.41 9.11zm828.18 4.222H914.106v-.445q30.074-.222 80.968.223zM456.06 3.555h152.682v.223H458.373zM398.226 4.89H254.797v-.222h143.429zm-279.917-.89H222.41v.223H118.309zm173.502-.221h129.548V4H291.811zM1342.08 17.11h-53.21v-.222h53.21zM58.161 15.333h90.222v.222H58.161zM99.802 18H48.908v-.222h50.894zm515.88-8.445h-67.087v-.222h67.087zm-578.34 10.89h50.893v.222H37.341z",clipRule:"evenodd"})))};let R=e=>{let{children:n,className:t,hasNoBottomMargin:i=!1,hasImage:l=!1,forceMobileView:r,backgroundColor:s,decoratedBorderTop:o,decoratedBorderBottom:c,...u}=e;return(0,a.jsx)(a.Fragment,{children:(0,a.jsxs)("section",{className:b()(w().section,{[w()["no-bottom-margin"]]:i,[w()["no-image"]]:!l,[w().bgSoftPeach]:s===B.Zw.softPeach,[w().bgSoftSand]:s===B.Zw.softSand,[w().bgSoftYellow]:s===B.Zw.softYellow},t),...u,children:[o&&(0,a.jsx)(F,{className:b()(w().decoratedBorder,w().top),width:void 0,height:void 0}),(0,a.jsx)("div",{className:b()(w().sectionContent,r&&w().forceMobileView,{[w().hasBackground]:!!s}),children:n}),c&&(0,a.jsx)(O,{className:b()(w().decoratedBorder,w().bottom),width:void 0,height:void 0})]})})};var M=t(62097),Z=t.n(M),H=t(83628),D=t(98809);let q=e=>{let{title:n,showImage:t}=e,{currentBreakpoint:i,breakpoints:l}=(0,D.Z)(),r=i===l.xs.name?"/static/images/sportcity/banners/club/membership-title-mobile.svg":"/static/images/sportcity/banners/club/membership-title-web.svg";return(0,a.jsxs)(_.X2,{children:[(0,a.jsx)(_.JX,{columns:"xs:8 md:6",offset:"xs:2 md:3",className:Z().clubTitleContainer,children:(0,a.jsx)("h2",{className:Z().title,children:n})}),t&&(0,a.jsx)(_.JX,{columns:"xs:3 md:2",offset:"xs:5 md:1",className:Z().clubTitleContainer,children:(0,a.jsx)(H.E,{image:{src:r,srcSet:r,alt:"membership-icon"},className:Z().image})})]})};var W=t(70207),z=t(47792),V=t(97249),G=t(47875),Y=t(25468),J=t(19218),Q=t.n(J);let K=e=>{let{icon:n,description:t,isGreyedOut:i}=e,{renderRichText:l}=(0,z.t)(),r=function(){switch(n){case"Arrow":return G.Z.ArrowRight;case"Plus":return G.Z.Plus;case"Cross":return G.Z.Cross;default:return G.Z.Checkmark}}();return t?(0,a.jsxs)("li",{className:b()(Q().usp),children:[(0,a.jsx)(r,{className:b()(Q().icon,{[Q().grey]:i})}),(0,a.jsx)(W.uT,{component:"div",defaultStyle:"large",color:i?W.rx.Neutral03:W.rx.Neutral01,children:(0,a.jsx)(a.Fragment,{children:(0,Y.T)(t)?l(t):t})})]}):null};var X=t(86586),$=t.n(X);let ee=e=>{if((0,V.K)(e))return e};function en(e){let{membership:{title:n,description:t,usps:i,badge:l,price:r,priceLabel:s,priceDescription:o,link:c,buttonStyle:u},onClick:d}=e,{formatNumber:m}=(0,p.YB)(),_=ee(u),{renderRichText:h}=(0,z.t)();return(0,a.jsxs)("div",{className:b()($().card,{[$().primary]:_===T.W.Primary,[$().secondary]:_===T.W.Secondary}),children:[(0,a.jsx)(W.H3,{className:$().title,defaultStyle:"h2",children:n}),t&&(0,a.jsx)(W.ig,{className:$().description,component:"div",children:h(t)}),i&&i.length>0&&(0,a.jsx)("ul",{className:$().usps,children:null==i?void 0:i.map(e=>(0,a.jsx)(K,{icon:e.icon,description:e.description,isGreyedOut:e.isGreyedOut},e.id))}),(0,a.jsxs)("div",{className:$().price,children:[(0,a.jsx)(W.uT,{fontWeight:W.U9.Bold,className:$().priceLabel,children:s}),(0,a.jsxs)("div",{className:$().priceContainer,children:[(0,a.jsx)(W.ig,{defaultStyle:"h3",fontWeight:W.U9.Medium,className:$().priceValue,children:m(r,{style:"currency",currency:"EUR"})}),(0,a.jsx)(W.jC,{className:$().priceDescription,children:o})]})]}),(null==c?void 0:c.label)&&(0,a.jsx)(C.z,{onClick:d,isFullWidth:!0,variant:_,children:null==c?void 0:c.label}),l&&(0,a.jsx)("div",{className:$().badge,children:l.split(" ").map(e=>(0,a.jsx)("span",{children:e},e))})]})}let et=[{title:"City One",price:29.99,priceDescription:"per 4 weken",priceLabel:"Vanaf",beforePrice:0,description:null,buttonStyle:"Secondary",badge:"",subtitle:"",link:{label:"Kies City One",href:"/checkout/default?contractType=city_one",openInNewTab:!1},usps:[{icon:"Checkmark",description:(0,a.jsxs)(a.Fragment,{children:["Sporten in ",(0,a.jsx)("b",{children:"1 club"})]})},{icon:"Checkmark",description:"Inclusief alle groepslessen"},{icon:"Checkmark",description:"Ga voor 6 maanden, 1 jaar of maandelijks opzegbaar"},{icon:"Checkmark",description:"Bepaal zelf je startdatum"},{icon:"Checkmark",description:"14 dagen bedenktijd"},{icon:"Cross",isGreyedOut:!0,description:"Neem 5x per maand gratis een vriend of familielid mee"}]},{title:"City Plus",price:31.99,priceDescription:"per 4 weken",priceLabel:"Vanaf",beforePrice:0,badge:"Meest gekozen",description:null,buttonStyle:"Primary",subtitle:"",link:{label:"Kies City Plus",href:"/checkout/default?contractType=city_plus",openInNewTab:!1},usps:[{icon:"Checkmark",description:(0,a.jsxs)(a.Fragment,{children:["Sporten in ",(0,a.jsx)("b",{children:"meerdere clubs"})]})},{icon:"Checkmark",description:"Inclusief alle groepslessen"},{icon:"Checkmark",description:"Ga voor 6 maanden, 1 jaar of maandelijks opzegbaar"},{icon:"Checkmark",description:"Bepaal zelf je startdatum"},{icon:"Checkmark",description:"14 dagen bedenktijd"},{icon:"Checkmark",description:"Neem 5x per maand gratis een vriend of familielid mee"}]}];function ei(){let e=(0,f.useRouter)(),{formatMessage:n}=(0,p.YB)(),t=(0,y.M)(),[i]=(0,m.CZ)(),{availableClubs:l}=(0,j.Q)(null,i),r=e=>{if(!e.includes("checkout"))return e;let[n,t]=e.split("?"),i=new URLSearchParams(t);return"".concat(n,"?").concat(i.toString())},s=n=>{var t,i;if(!et||0===et.length)return"/checkout";let l=et["one"===n?0:1],s=null===(t=l.link)||void 0===t?void 0:t.href.split("contractType=")[1].toLowerCase();s&&(0,h.uQ)(h.KW.trackEvent,{event_name:"click_cta_".concat(s,"_compare")}),e.replace(r((0,g.V)(null===(i=l.link)||void 0===i?void 0:i.href)))},o=e=>{if(e){var n;let t=null===(n=e.split("contractType=")[1])||void 0===n?void 0:n.toLowerCase();t&&(0,h.uQ)(h.KW.trackEvent,{event_name:"click_cta_".concat(t)})}},c=(null==et?void 0:et.length)===1,u="Soft-Sand";return(0,a.jsxs)(R,{backgroundColor:u,decoratedBorderBottom:!0,decoratedBorderTop:!0,children:[u&&(0,a.jsx)(L,{className:Z().curlyLine}),(0,a.jsxs)(_.W2,{children:[(0,a.jsx)(_.X2,{children:(0,a.jsx)(_.JX,{columns:"xs:12 md:10",offset:"md:1",children:(0,a.jsx)("div",{className:Z().container,children:(0,a.jsx)(q,{title:"Welk lidmaatschap past bij jou?",showImage:!1})})})}),(0,a.jsx)(_.X2,{children:(0,a.jsxs)(_.JX,{columns:"xs:12 md:10 lg:8",offset:"md:1 lg:2",children:[(0,a.jsx)(_.X2,{className:Z().cardWrapper,children:null==et?void 0:et.map((e,n)=>{var t,i,l;return(0,a.jsx)(_.JX,{columns:"xs:12 md:6",offset:c?"md:3":void 0,children:(0,a.jsx)("a",{onClick:()=>{var n;return o(null===(n=e.link)||void 0===n?void 0:n.href)},href:r((0,g.V)(null===(t=e.link)||void 0===t?void 0:t.href)),target:(null===(i=e.link)||void 0===i?void 0:i.openInNewTab)?"_blank":"_self",rel:(null===(l=e.link)||void 0===l?void 0:l.openInNewTab)?"noreferrer":void 0,"data-testid":"club-page_membership_cta_".concat(n+1),className:Z().cardLink,children:(0,a.jsx)(en,{membership:e,onClick:()=>{var n;return o(null===(n=e.link)||void 0===n?void 0:n.href)}})},e.title)},e.title)})}),(0,a.jsx)(_.X2,{children:(0,a.jsxs)(_.JX,{columns:"xs:12",className:b()(Z().moreInfoContainer,{[Z().center]:!1}),children:[(0,a.jsx)("div",{children:(0,a.jsx)(N.i,{animated:!1,className:Z().rating})}),(0,a.jsx)("div",{children:(0,a.jsx)(C.z,{variant:T.W.Link,onClick:()=>{t.open(),(0,h.uQ)(h.KW.trackEvent,{event_name:"click_more_info"})},className:Z().moreInfoButton,children:n("attribute-choice.what-the-difference")})})]})})]})}),(0,a.jsx)(v.L,{sheet:t,onClickButton:e=>s(e),availableClubsAmount:null==l?void 0:l.length,options:{one:{title:n("club-only.comparison.basic-contract-name")},plus:{title:n("club-only.comparison.plus-contract-name")}}})]})]})}var el=t(5152),er=t.n(el),es=t(91563),eo=t.n(es),ea=t(48913),ec=t(31142),eu=t(80865);function ed(e){let{title:n,description:t,items:i,button:l}=e,{renderRichText:r}=(0,z.t)(void 0,!1,{renderNode:{[eu.RG.LIST_ITEM]:(e,n)=>(0,a.jsxs)("li",{className:eo().listItem,children:[(0,a.jsx)(G.Z.Checkmark,{}),n]})}});function s(e){return"url"in e?(0,a.jsx)("video",{src:e.url,title:e.title,className:eo().video,autoPlay:!0,muted:!0,loop:!0}):(0,a.jsx)(ea.b,{src:e.srcOriginal,alt:e.alt,fill:!0,className:eo().image})}return(0,a.jsx)(_.$0,{children:(0,a.jsx)(_.Ar.Container,{children:(0,a.jsx)(_.Ar.Row,{children:(0,a.jsx)(_.Ar.Col,{children:(0,a.jsxs)("div",{className:eo().sectionGrid,children:[(0,a.jsxs)("div",{className:eo().content,children:[(0,a.jsx)(W.H2,{className:eo().title,children:n}),(0,a.jsx)(ec.H,{className:eo().description,isLight:!0,children:t&&r(t)}),l&&(0,a.jsx)(C.z,{href:l.href,openInNewTab:l.openInNewTab,variant:T.W.SecondaryInverted,className:eo().button,children:l.label})]}),(0,a.jsxs)("div",{className:eo().imageGrid,children:[(0,a.jsx)("div",{className:eo()["item-a"],children:s(i[0])}),(0,a.jsx)("div",{className:eo()["item-b"],children:s(i[1])}),(0,a.jsx)("div",{className:eo()["item-c"],children:s(i[2])}),(0,a.jsx)("div",{className:eo()["item-d"],children:s(i[3])}),(0,a.jsx)("div",{className:eo()["item-e"],children:s(i[4])}),(0,a.jsx)("div",{className:eo()["item-f"],children:s(i[5])})]})]})})})})})}var em=t(33876),ep=t(16809),e_=t(91399),eh=t.n(e_);let eg=e=>(0,a.jsx)(ep.fC,{...e}),ex=e=>{let{className:n,items:t,variant:i="default",...l}=e;return"default"===i?(0,a.jsx)(ep.aV,{className:b()(eh().list,n),...l,children:t.map(e=>(0,a.jsx)(eb,{value:e.value,children:e.label},e.value))}):(0,a.jsx)(ep.aV,{className:b()(eh().list,eh().dropdownList,n),...l,tabIndex:-1,children:(0,a.jsxs)(em.fC,{children:[(0,a.jsxs)(em.xz,{className:b()(eh().trigger,eh().dropdownTrigger,n),children:[t.map(e=>(0,a.jsx)(ep.xz,{value:e.value,className:eh().dropdownTriggerItem,asChild:!0,children:(0,a.jsx)("span",{tabIndex:-1,children:e.label})},e.value)),(0,a.jsx)(G.Z.CaretDown,{className:eh().dropdownIcon})]}),(0,a.jsx)(em.Uv,{children:(0,a.jsx)(em.VY,{className:eh().dropdownContent,children:(0,a.jsx)("div",{children:t.map(e=>(0,a.jsxs)(em.ck,{className:eh().dropdownItem,onClick:()=>{var n;return null===(n=l.onValueChange)||void 0===n?void 0:n.call(l,e.value)},"aria-selected":l.value===e.value,children:[(0,a.jsx)(G.Z.Checkmark,{className:eh().dropdownIcon}),(0,a.jsx)("span",{children:e.label})]},e.value))})})})]})})},eb=(0,U.forwardRef)((e,n)=>{let{className:t,...i}=e;return(0,a.jsx)(ep.xz,{ref:n,className:b()(eh().trigger,t),...i})});eb.displayName="Tabs.Trigger";let ef=e=>{let{className:n,...t}=e;return(0,a.jsx)(ep.VY,{className:b()(eh().content,n),...t})};var ev=t(8250),ej=t.n(ev),eC=t(96905),eN=t(17007),ey=t.n(eN);function eT(e){let{items:n}=e,{renderRichText:t}=(0,z.t)();return(0,a.jsx)(eC.fC,{className:ey().accordion,type:"single",collapsible:!0,children:n.map((e,n)=>(0,a.jsxs)(eC.ck,{value:e.question+n,className:ey().item,children:[(0,a.jsxs)(eC.xz,{className:ey().trigger,children:[(0,a.jsx)(W.H4,{children:e.question}),(0,a.jsx)(G.Z.Plus,{className:ey().indicator})]}),(0,a.jsx)(eC.VY,{className:ey().accordionContent,children:(0,a.jsx)("div",{className:ey().content,children:(0,a.jsx)(a.Fragment,{children:t(e.answer)})})})]},e.question+n))})}function eS(e){return"tab-".concat(e)}function eI(e){let{title:n,description:t,categories:i,button:l}=e,{currentBreakpoint:r,breakpoints:s}=(0,D.Z)(),o=r===s.xs.name,[c,u]=(0,U.useState)(eS(0)),{renderSectionDescription:d}=(0,z.t)();return(0,a.jsx)(_.$0,{children:(0,a.jsxs)(_.W2,{children:[(0,a.jsx)(_.X2,{className:ej().row,children:(0,a.jsxs)(_.JX,{columns:"xs:12 md:8",offset:"md:2",children:[(0,a.jsx)(W.H2,{className:ej().title,children:n}),t&&(0,a.jsx)(W.ig,{className:ej().description,children:d(t)})]})}),(0,a.jsxs)(eg,{value:c,onValueChange:u,children:[(0,a.jsx)(_.X2,{className:ej().row,children:(0,a.jsx)(_.JX,{children:(0,a.jsx)(ex,{variant:o?"dropdown":"default",value:c,items:i.map((e,n)=>({value:eS(n),label:e.title})),onValueChange:u})})}),(0,a.jsx)(_.X2,{className:ej().row,children:(0,a.jsx)(_.JX,{columns:"xs:12 md:8",offset:"md:2",children:i.map((e,n)=>(0,a.jsx)(ef,{className:"TabsContent",value:eS(n),tabIndex:-1,children:(0,a.jsx)(eT,{items:e.items})},n))})})]}),l&&(0,a.jsx)(_.X2,{className:ej().row,children:(0,a.jsx)(_.JX,{className:ej().footer,children:(0,a.jsx)(C.z,{href:l.href,variant:T.W.Inverted,children:l.label})})})]})})}let ek=er()(()=>t.e(676).then(t.bind(t,60676)),{loadableGenerated:{webpack:()=>[60676]}}),eL=er()(()=>t.e(1936).then(t.bind(t,91936)).then(e=>e.CardSection),{loadableGenerated:{webpack:()=>[91936]}}),eB=er()(()=>t.e(2583).then(t.bind(t,52583)),{loadableGenerated:{webpack:()=>[52583]}}),eE=er()(()=>t.e(9484).then(t.bind(t,79484)),{loadableGenerated:{webpack:()=>[79484]}}),ew=er()(()=>t.e(3745).then(t.bind(t,83745)).then(e=>e.LinkList),{loadableGenerated:{webpack:()=>[83745]}}),eU=er()(()=>t.e(9406).then(t.bind(t,49406)),{loadableGenerated:{webpack:()=>[49406]}}),eA=er()(()=>t.e(9638).then(t.bind(t,69638)),{loadableGenerated:{webpack:()=>[69638]}}),eO=er()(()=>t.e(2566).then(t.bind(t,22566)),{loadableGenerated:{webpack:()=>[22566]}}),eP=er()(()=>t.e(1300).then(t.bind(t,11300)),{loadableGenerated:{webpack:()=>[11300]}}),eF=er()(()=>t.e(1018).then(t.bind(t,61018)),{loadableGenerated:{webpack:()=>[61018]}}),eR=er()(()=>t.e(322).then(t.bind(t,90322)),{loadableGenerated:{webpack:()=>[90322]}}),eM=er()(()=>t.e(2493).then(t.bind(t,32746)).then(e=>e.ImageCarouselSection),{loadableGenerated:{webpack:()=>[32746]}}),eZ=er()(()=>t.e(9201).then(t.bind(t,29201)).then(e=>e.CardSlider),{loadableGenerated:{webpack:()=>[29201]}}),eH=er()(()=>Promise.all([t.e(54),t.e(3930)]).then(t.bind(t,53930)).then(e=>e.MapSection),{loadableGenerated:{webpack:()=>[53930]}}),eD=er()(()=>t.e(2414).then(t.bind(t,32414)).then(e=>e.Membership),{loadableGenerated:{webpack:()=>[32414]}}),eq=er()(()=>t.e(2731).then(t.bind(t,2731)),{loadableGenerated:{webpack:()=>[2731]}}),eW=er()(()=>t.e(293).then(t.bind(t,293)).then(e=>e.ContentfulSection),{loadableGenerated:{webpack:()=>[293]}}),ez=er()(()=>Promise.all([t.e(6310),t.e(9795)]).then(t.bind(t,79795)).then(e=>e.JobVacanciesSection),{loadableGenerated:{webpack:()=>[79795]}});var eV=t(61948);let eG={section:e=>{let{item:n,club:t,stickToBottom:i,stickToTop:l}=e;return(0,a.jsx)(eW,{item:n,stickToBottom:i,stickToTop:l,club:t})},confirmationDetails:e=>{let{item:n,lang:t}=e;return(0,a.jsx)(eB,{lang:t,title:n.title,description:n.description,items:n.cards,label:n.linkLabel,link:n.link},n.id)},membershipSection:e=>{let{item:n,club:t,page:i,stickToBottom:l,stickToTop:r}=e;return(0,a.jsx)(eD,{stickToBottom:l,stickToTop:r,isClubPage:!!t,page:i,clubId:t?t.pgClubId:null,...n},n.id)},newsSection:e=>{let{item:n}=e;return(0,a.jsx)(eL,{title:n.title,items:n.items},n.id)},videoSection:e=>{let{item:n}=e;return(0,a.jsx)(ek,{title:n.title,description:n.description,videoId:n.videoId,linkLabel:n.linkLabel,link:n.link},n.id)},imageSection:e=>{let{item:n,stickToBottom:t,stickToTop:i}=e;return(0,a.jsx)(eq,{stickToBottom:t,stickToTop:i,...n},n.id)},dealSection:e=>{let{item:n,page:t,stickToBottom:i,stickToTop:l}=e;return(0,U.createElement)(eR,{stickToBottom:i,stickToTop:l,...n,key:n.id,page:t})},mapSection:e=>{let{item:n}=e;return(0,a.jsx)(eH,{...n})},imageCarouselSection:e=>{let{item:n,lang:t,club:i}=e,l=function(e){return arguments.length>1&&void 0!==arguments[1]&&arguments[1],e&&e.map(e=>{var n,t;return e.link&&(e.externalLink||e.link.externalLink)?{...e,link:{href:e.externalLink||e.link.externalLink.link,openInNewTab:e.link.externalLink&&e.link.externalLink.openInNewTab}}:(null===(n=e.link)||void 0===n?void 0:n.slug)&&"funnel"===e.link.slug.slice(0,6)?{...e,link:{href:e.link.slug,linkAs:e.link.slug}}:e.link&&Object.keys(e.link).length?{...e,link:{slug:e.link.slug,href:"/[slug]",linkAs:"".concat(null==e?void 0:null===(t=e.link)||void 0===t?void 0:t.slug)}}:e})}(n.items,t);return(0,a.jsx)(eM,{title:n.title,description:n.description,hasLightbox:n.hasLightbox,anchorLinkTitle:n.anchorLinkTitle,items:l,isContentBlock:!0,slidesToShow:{xs:1.01,sm:2.2,md:2.2,lg:2.2},isClubPage:void 0!==i},n.id)},imageSliderSection:e=>{let{item:n,onClickImageSlider:t,accessibleLabel:i,isPanel:l}=e;return(0,a.jsx)(eA,{...n,onClickImage:t,accessibleLabel:i,isPanel:l})},uspSection:e=>{let{item:n}=e;return(0,a.jsx)(eE,{...n})},linkList:e=>{let{item:n}=e;return(0,a.jsx)(ew,{...n})},clubOffers:e=>{let{item:n,isPanel:t}=e;return(0,a.jsx)(eU,{...n,isPanel:t})},genericContentSection:e=>{let{item:n,club:t,page:i,isPanel:l,specialists:r}=e,{...s}=n;switch(n.componentType){case B.Yy.GROUP_LESSONS:return(0,a.jsx)(eO,{...s,clubId:t.pgClubId,slug:i.slug,isPanel:l});case B.Yy.SPECIALISTS:return(0,a.jsx)(eF,{...s,club:t,specialists:r,isPanel:l});default:return null}},quoteSection:e=>{let{item:n,isPanel:t}=e;return(0,a.jsx)(eP,{...n,isPanel:t})},jobVacanciesSection:e=>{let{item:n}=e;return(0,a.jsx)(ez,{...n})},cardSlider:e=>{let{item:n}=e;return(0,a.jsx)(eZ,{...n})},bentoboxSection:function(e){let{item:n}=e;return(0,a.jsx)(ed,{...n})},faqSection:function(e){let{item:n}=e;return(0,a.jsx)(eI,{...n})}};function eY(e){let{page:n,contentBlocks:t,club:i,onClickImageSlider:l,onClickAccessibleLabel:r,isPanel:s,specialists:o}=e,{lang:c}=(0,d.ZP)(),u=function(e,n){let[t,i]=(0,U.useState)(null);return(0,U.useEffect)(()=>{i((0,eV.W)(e,n))},[]),t}("1004113392","1004269988");return t&&t.filter(Boolean).map((e,d)=>{var m,p;if(!eG[e.type])return null;let _=e.backgroundColor&&e.backgroundColor===(null===(m=t[d+1])||void 0===m?void 0:m.backgroundColor),h=e.backgroundColor&&e.backgroundColor===(null===(p=t[d-1])||void 0===p?void 0:p.backgroundColor);return"membershipSection"===e.type&&u?(0,a.jsx)("div",{children:(0,a.jsx)(ei,{})},e.id):(0,a.jsx)("div",{children:eG[e.type]({stickToBottom:_,stickToTop:h,item:e,lang:c,club:i,page:n,onClickImageSlider:l,onClickAccessibleLabel:r,isPanel:s,specialists:o})},e.id)})}eY.propTypes={isPanel:u().bool,contentBlocks:u().array,lang:u().string,club:u().object,onClickImageSlider:u().func,onClickAccessibleLabel:u().string,specialists:u().array},eY.defaultProps={isPanel:!1};var eJ=eY},42289:function(e){e.exports={xs:"0",sm:"768px",md:"1024px",lg:"1440px",container:"CurlyLine_container__4v1XH",viewBox:"CurlyLine_viewBox__yUoxI",curlyLine:"CurlyLine_curlyLine__9snP2"}},62097:function(e){e.exports={xs:"0",sm:"768px",md:"1024px",lg:"1440px",section:"MembershipSection_section__oGbtp",container:"MembershipSection_container__RYuOf",title:"MembershipSection_title__JrVkI",description:"MembershipSection_description__KxCfR",subtitle:"MembershipSection_subtitle__v_5zJ",clubTitleContainer:"MembershipSection_clubTitleContainer__NPThs",moreInfoContainer:"MembershipSection_moreInfoContainer__jdZGb",center:"MembershipSection_center__yB9eJ",rating:"MembershipSection_rating__WKIRH",moreInfoButton:"MembershipSection_moreInfoButton__G0N2v",cardWrapper:"MembershipSection_cardWrapper__s0aRh",cardLink:"MembershipSection_cardLink__5BFUy",image:"MembershipSection_image__DvgBl",curlyLine:"MembershipSection_curlyLine__leXnV"}},86586:function(e){e.exports={xs:"0",sm:"768px",md:"1024px",lg:"1440px",card:"MembershipCard_card__ifCyj",primary:"MembershipCard_primary__MnEgs",usps:"MembershipCard_usps__rKz5d",priceContainer:"MembershipCard_priceContainer__Nu8Vi",badge:"MembershipCard_badge__CLvyH"}},9947:function(e){e.exports={xs:"0",sm:"768px",md:"1024px",lg:"1440px",bgSoftPeach:"Section_bgSoftPeach__Co272",bgSoftSand:"Section_bgSoftSand__1_Cte",bgSoftYellow:"Section_bgSoftYellow__eYRzk",section:"Section_section__m1dcZ",sectionContent:"Section_sectionContent__YKvPB",hasBackground:"Section_hasBackground__ziDNJ","no-image":"Section_no-image__8vo_A","no-bottom-margin":"Section_no-bottom-margin__pRnZD",decoratedBorder:"Section_decoratedBorder__kpZTY",top:"Section_top__tFNqh",bottom:"Section_bottom__SCubh"}},19218:function(e){e.exports={xs:"0",sm:"768px",md:"1024px",lg:"1440px",usp:"UniqueSellingPoint_usp__If6kY",icon:"UniqueSellingPoint_icon__PeaGA",grey:"UniqueSellingPoint_grey__KN1ww"}},88161:function(e){e.exports={xs:"0",sm:"768px",md:"1024px",lg:"1440px",container:"BreadcrumbNavigation_container__NZbEb",menu:"BreadcrumbNavigation_menu__2beFq",crumb:"BreadcrumbNavigation_crumb__q2Wqc"}},94171:function(e){e.exports={xs:"0",sm:"768px",md:"1024px",lg:"1440px",aboutContainer:"AboutClub_aboutContainer___s_XV",isPanel:"AboutClub_isPanel__pzyNH",description:"AboutClub_description__thw7F",expandedDescription:"AboutClub_expandedDescription__xLEqg",toggle:"AboutClub_toggle__Fjfjo","toggle-icon":"AboutClub_toggle-icon__f0Qf4"}},42514:function(e){e.exports={xs:"0",sm:"768px",md:"1024px",lg:"1440px",attribute:"HighlightedAttributes_attribute__E9ymQ",attributeList:"HighlightedAttributes_attributeList__1AiA3",link:"HighlightedAttributes_link__aTbWZ",disableUnderline:"HighlightedAttributes_disableUnderline__Ruyy7"}},97728:function(e){e.exports={xs:"0",sm:"768px",md:"1024px",lg:"1440px",section:"anchor-links_section__fP6ZZ",isPanel:"anchor-links_isPanel__MtzpU",anchorList:"anchor-links_anchorList__rpXcn",anchorItem:"anchor-links_anchorItem__W86ib",anchorLabel:"anchor-links_anchorLabel__CgZ5z",icon:"anchor-links_icon__vKxEb",anchor:"anchor-links_anchor__tFowM",col:"anchor-links_col__hP230",arrowButtonWrapper:"anchor-links_arrowButtonWrapper__HaiSy",left:"anchor-links_left__hCwIs",right:"anchor-links_right__JPa6_"}},72982:function(e){e.exports={xs:"0",sm:"768px",md:"1024px",lg:"1440px",row:"ClubPageHeader_row__r0u1e",isPanel:"ClubPageHeader_isPanel__ifAwc",textContainer:"ClubPageHeader_textContainer__QRQUJ",column:"ClubPageHeader_column__gDsYJ",infoButtonsContainer:"ClubPageHeader_infoButtonsContainer__5sPMx",buttonsContainer:"ClubPageHeader_buttonsContainer__ikqFe",infoContainer:"ClubPageHeader_infoContainer__Oed6d",openingHours:"ClubPageHeader_openingHours__YffgH",selectClubButton:"ClubPageHeader_selectClubButton__C5Fe4",imageContainer:"ClubPageHeader_imageContainer__EEIMh",mainImage:"ClubPageHeader_mainImage__kJhxP",isClickable:"ClubPageHeader_isClickable__aeR1b",imageButtons:"ClubPageHeader_imageButtons__Kpbhs"}},13744:function(e){e.exports={xs:"0",sm:"768px",md:"1024px",lg:"1440px",container:"opening-hours_container__1oVRL",price:"opening-hours_price__5JFdM",footer:"opening-hours_footer__UuMYI",priceContainer:"opening-hours_priceContainer__fTwML",horizontalRule:"opening-hours_horizontalRule__LwDF0",startingFrom:"opening-hours_startingFrom__R9FIV",priceDescription:"opening-hours_priceDescription__pVU9_",fraction:"opening-hours_fraction__j0Uuu",capitalize:"opening-hours_capitalize__wlx9X"}},33265:function(e){e.exports={xs:"0",sm:"768px",md:"1024px",lg:"1440px",container:"Contact_container__hb_cC",isPanel:"Contact_isPanel__tTYtL",contactMap:"Contact_contactMap__5BUzl",contactCard:"Contact_contactCard__Le86Y",contactCardContent:"Contact_contactCardContent__lGzqN",mapsLink:"Contact_mapsLink__N4WL_",contactItem:"Contact_contactItem__BrCta",logoContainer:"Contact_logoContainer__y2Wrc",contactLink:"Contact_contactLink__fyOKJ"}},62493:function(e){e.exports={xs:"0",sm:"768px",md:"1024px",lg:"1440px",block:"ContactBlock_block__Q6ezr"}},42762:function(e){e.exports={xs:"0",sm:"768px",md:"1024px",lg:"1440px",container:"ContactMap_container__tMyOJ",isPanel:"ContactMap_isPanel__tYHh7"}},6796:function(e){e.exports={xs:"0",sm:"768px",md:"1024px",lg:"1440px",gallery:"Gallery_gallery__Flphv",mobile:"Gallery_mobile__wiQkl",desktop:"Gallery_desktop__OZfi7",mobileItem:"Gallery_mobileItem__t8K3X",galleryColumn:"Gallery_galleryColumn__XNUs8",button:"Gallery_button__JrpgQ",left:"Gallery_left__dxh80",right:"Gallery_right___JYQl",nonInteractive:"Gallery_nonInteractive__kqs5c",hide:"Gallery_hide__Q_uL9"}},40357:function(e){e.exports={xs:"0",sm:"768px",md:"1024px",lg:"1440px",loadingContainer:"components_loadingContainer__wBY3Q",clubPage:"components_clubPage__aXcyy"}},5630:function(e){e.exports={xs:"0",sm:"768px",md:"1024px",lg:"1440px","table-footer":"comparison-table-footer_table-footer__oAqYH"}},77420:function(e){e.exports={xs:"0",sm:"768px",md:"1024px",lg:"1440px","table-head":"comparison-table-header_table-head__zZuLE",badge:"comparison-table-header_badge__0ct5p"}},74945:function(e){e.exports={xs:"0",sm:"768px",md:"1024px",lg:"1440px","table-row":"comparison-table-row_table-row__SGRvQ","table-row-title":"comparison-table-row_table-row-title__v4Uc8"}},27471:function(e){e.exports={xs:"0",sm:"768px",md:"1024px",lg:"1440px",title:"club-only-comparison_title__lirqe",body:"club-only-comparison_body__2G_kE",alternative:"club-only-comparison_alternative__yPkwX",table:"club-only-comparison_table__FIPrl",centered:"club-only-comparison_centered__pXhEC"}},93287:function(e){e.exports={xs:"0",sm:"768px",md:"1024px",lg:"1440px",usp:"clubs-list-usp_usp__odrow",icon:"clubs-list-usp_icon__UcRjc","no-margin-top":"clubs-list-usp_no-margin-top___pDhb",infoIcon:"clubs-list-usp_infoIcon__QZJva",tooltip:"clubs-list-usp_tooltip__Wgb_x",button:"clubs-list-usp_button__7DVEd",block:"clubs-list-usp_block__R6vuJ",test:"clubs-list-usp_test__0R_a4",underline:"clubs-list-usp_underline__9X9Pq"}},29070:function(e){e.exports={xs:"0",sm:"768px",md:"1024px",lg:"1440px",attribute:"attribute_attribute__lomfY",greyBg:"attribute_greyBg__OkubZ"}},7387:function(e){e.exports={xs:"0",sm:"768px",md:"1024px",lg:"1440px",container:"carousel_container__SEe74",container__alternative:"carousel_container__alternative__UeZQq",item:"carousel_item__UIzt6",containerButtonsInside:"carousel_containerButtonsInside__GJDp_",item__fullscreen:"carousel_item__fullscreen__ppqbJ",image:"carousel_image__i8qZe",caption:"carousel_caption__jbG0I",caption__alternative:"carousel_caption__alternative__SFEGZ",subtitle:"carousel_subtitle__RjopC",fullscreen:"carousel_fullscreen__5RUfT",link:"carousel_link__N48fV",link__fullscreen:"carousel_link__fullscreen__Xapo_"}},87243:function(e){e.exports={xs:"0",sm:"768px",md:"1024px",lg:"1440px",card:"club-nearby-card_card__ETjAi",image:"club-nearby-card_image__YUYTy",header:"club-nearby-card_header__oJXTr",body:"club-nearby-card_body__amP_c",footer:"club-nearby-card_footer___izol",marker:"club-nearby-card_marker__GemWQ",description:"club-nearby-card_description__DrHKe"}},4740:function(e){e.exports={xs:"0",sm:"768px",md:"1024px",lg:"1440px",carouselItem:"clubs-nearby_carouselItem__qQ0p_"}},36362:function(e){e.exports={xs:"0",sm:"768px",md:"1024px",lg:"1440px",container:"CurlyLine_container__TkT_3",viewBox:"CurlyLine_viewBox__F16u6",curlyLine:"CurlyLine_curlyLine__aSyZB"}},8703:function(e){e.exports={xs:"0",sm:"768px",md:"1024px",lg:"1440px",description:"description-typography_description__lINRT"}},92374:function(e){e.exports={xs:"0",sm:"768px",md:"1024px",lg:"1440px",container:"OpeningHoursTable_container__n_slZ",item:"OpeningHoursTable_item__ChmDm",innerContainer:"OpeningHoursTable_innerContainer__V1eSU",openingHoursList:"OpeningHoursTable_openingHoursList__p9tum",openingHoursExceptionsList:"OpeningHoursTable_openingHoursExceptionsList__JFCjw",capitalize:"OpeningHoursTable_capitalize__5trrd"}},40451:function(e){e.exports={xs:"0",sm:"768px",md:"1024px",lg:"1440px",container:"rating_container__AO3eE",list:"rating_list__XWEIU",placeholder:"rating_placeholder__vGtZz",filled:"rating_filled__LThPl",animated:"rating_animated__RrwE3",isVisible:"rating_isVisible__8NMFV",fadeOut:"rating_fadeOut__EFDQP",bounceIn:"rating_bounceIn__ezz6l",isPanelTooltip:"rating_isPanelTooltip__aH0R8",tooltipTrigger:"rating_tooltipTrigger__w3uoh",copyWrapper:"rating_copyWrapper__AU0sE"}},91563:function(e){e.exports={xs:"0",sm:"768px",md:"1024px",lg:"1440px",sectionGrid:"BentoBoxSection_sectionGrid__U9VtK",content:"BentoBoxSection_content__JRgZ3",title:"BentoBoxSection_title__GwoUr",button:"BentoBoxSection_button__YC31S",listItem:"BentoBoxSection_listItem__dlwHF",imageGrid:"BentoBoxSection_imageGrid__Qxfsi","item-a":"BentoBoxSection_item-a__x6oX7","item-b":"BentoBoxSection_item-b__oGMcZ","item-c":"BentoBoxSection_item-c__uW9J2","item-d":"BentoBoxSection_item-d__URFmm","item-e":"BentoBoxSection_item-e__2JdbJ","item-f":"BentoBoxSection_item-f__nngzF",image:"BentoBoxSection_image__YATIg",video:"BentoBoxSection_video__w8OhL"}},8250:function(e){e.exports={xs:"0",sm:"768px",md:"1024px",lg:"1440px",title:"FaqSection_title__HsHEO",description:"FaqSection_description__aTml5",row:"FaqSection_row___SIo6",footer:"FaqSection_footer__rW0u3"}},17007:function(e){e.exports={xs:"0",sm:"768px",md:"1024px",lg:"1440px",item:"FaqList_item__MeEy0",trigger:"FaqList_trigger__sNGoE",indicator:"FaqList_indicator__9ZOiS",accordionContent:"FaqList_accordionContent__3vhef",slideDown:"FaqList_slideDown__0FhnY",slideUp:"FaqList_slideUp__epRDo",content:"FaqList_content__QiV9W"}},29048:function(e){e.exports={xs:"0",sm:"768px",md:"1024px",lg:"1440px",container:"ImageBanner_container__hxoGI"}},83486:function(e){e.exports={title:"link-list_title__COZyP"}},48333:function(e){e.exports={xs:"0",sm:"768px",md:"1024px",lg:"1440px",linkColumn:"LinkColumn_linkColumn__UWWPl",link:"LinkColumn_link__8emgv",fullWidth:"LinkColumn_fullWidth__xWbZj",subtitle:"LinkColumn_subtitle___YRPy",plusIcon:"LinkColumn_plusIcon__op0xk",collapseButton:"LinkColumn_collapseButton__uQnE5"}},91399:function(e){e.exports={xs:"0",sm:"768px",md:"1024px",lg:"1440px",list:"Tabs_list__YvFWa",trigger:"Tabs_trigger__CY7AT",dropdownList:"Tabs_dropdownList__f9_Zq",dropdownTrigger:"Tabs_dropdownTrigger__eJotB",dropdownTriggerItem:"Tabs_dropdownTriggerItem__Gu_Rw",dropdownContent:"Tabs_dropdownContent__Muefr",slideDown:"Tabs_slideDown__c54fM",dropdownItem:"Tabs_dropdownItem__O76N1"}},32690:function(e){e.exports={xs:"0",sm:"768px",md:"1024px",lg:"1440px",button:"UseMyLocationButton_button__FKIr2",loading:"UseMyLocationButton_loading__winTz",light:"UseMyLocationButton_light__QhGdw"}},67477:function(e){e.exports={xs:"0",sm:"768px",md:"1024px",lg:"1440px","list-item":"usp-item_list-item___A2IU",usp:"usp-item_usp__UjLQS",icon:"usp-item_icon__dhVTV",tag:"usp-item_tag__rAUZO",uspBody:"usp-item_uspBody__CyJ7h",grey:"usp-item_grey__HbOG6"}}}]);
//# sourceMappingURL=1464-b429f4b7987211e0.js.map