(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6120],{95759:function(e,t,a){(window.__NEXT_P=window.__NEXT_P||[]).push(["/[[...slug]]",function(){return a(83067)}])},83067:function(e,t,a){"use strict";a.r(t),a.d(t,{__N_SSP:function(){return eN},default:function(){return eP}});var n,r,i,l,s,o=a(85893),c=a(35102),u=a.n(c),d=a(18685),_=a(79996),g=a(67294),p=a(94490),m=a(72157),h=a(19526),x=a(87741),f=a(67796),b=a(32253),v=a(63916),k=a(70207);function C(e){return e.normalize("NFD").replace(/[\u0300-\u036f]/g,"").replace(/-/g,"").replace(/\s+/g,"-").toLowerCase()}var j=a(71351),y=a(71613),B=a(31419),S=a.n(B);let N=e=>{let{contentBlocks:t,title:a}=e,n=function(e){if(!e)return null;let t=[];for(let a in e){let n=e[a];if("section"===n.type&&n.description.content.filter(e=>"heading-2"===e.nodeType).map(e=>{let a=e.content&&e.content[0].value;a&&t.push({label:a,anchorLink:C(a)})}),["newsSection","videoSection","imageSection"].includes(n.type||"")){let e=n.title;t.push({label:e,anchorLink:C(e)})}}return t}(t),{formatMessage:r}=(0,b.YB)();if((null==n?void 0:n.length)===0)return null;let i=(e,t)=>{for(let a of(e.preventDefault(),Array.from(document.querySelectorAll("h2"))))if(a.textContent===t){let e=a.offsetTop-150;window.scrollTo({top:e,behavior:"smooth"});break}};return(0,o.jsx)(v.$0,{className:S().section,children:(0,o.jsx)(v.Ar.Container,{children:(0,o.jsx)(v.Ar.Row,{className:S().row,children:(0,o.jsx)(v.Ar.Col,{columns:"xs:12 sm:10 md:8",offset:"sm:1 md:2",className:S().col,children:(0,o.jsxs)("div",{className:S().content,children:[(0,o.jsx)(k.H3,{className:S().title,children:a||r("content-page.content-index.default-title")}),null==n?void 0:n.map((e,t)=>{let{label:a}=e;return(0,o.jsxs)("div",{className:S().listItem,children:[(0,o.jsx)(k.uT,{fontWeight:k.U9.Bold,children:"".concat(t+1,".")}),(0,o.jsx)(y.z,{variant:j.W.Link,className:S().link,onClick:e=>i(e,a),children:a})]},t)})]})})})})})};var P=a(8280),I=a(94184),T=a.n(I),H=a(47875);(n=r||(r={})).BackgroundImage="Background image",n.Collage="Collage",n.ColorYellow="Color Yellow",n.ColorSoftPeach="Color Soft-Peach",n.ColorSoftSand="Color Soft-Sand";var w=a(47792),W=a(98809),L=a(72816),E=a(89040),A=a.n(E),F=a(25468);let Z=e=>{var t;let{pageHeader:a}=e,{lang:n}=(0,L.ZP)(),{renderRichText:i}=(0,w.t)(n),{breakpoints:l,currentBreakpoint:s}=(0,W.Z)(),c=s===l.xs.name||s===l.sm.name;return(0,o.jsx)(v.$0,{className:T()(A().section,{[A().yellow]:a.backgroundStyle===r.ColorYellow,[A().softPeach]:a.backgroundStyle===r.ColorSoftPeach,[A().softSand]:a.backgroundStyle===r.ColorSoftSand}),children:(0,o.jsx)(v.W2,{children:(0,o.jsxs)(v.X2,{className:A().row,children:[(0,o.jsxs)(v.JX,{columns:"xs:12 md:6",className:A().content,children:[(0,o.jsx)(k.H1,{className:A().title,children:a.title}),(0,o.jsx)(k.H3,{className:A().subtitle,children:a.subtitle}),(0,o.jsx)("div",{className:A().description,children:i(a.description)}),(0,o.jsx)("div",{className:A().usps,children:null===(t=a.usps)||void 0===t?void 0:t.map((e,t)=>(0,o.jsxs)("div",{className:A().usp,children:[(0,o.jsx)(H.Z.CheckmarkCircle,{}),(0,F.T)(e.description)?i(e.description):(0,o.jsx)("span",{children:e.description})]},t))}),(0,o.jsxs)("div",{className:A().buttons,children:[a.primaryButton&&(0,o.jsx)(y.z,{variant:j.W.Secondary,fullWidth:c,className:A().primaryButton,href:a.primaryButton.href,children:a.primaryButton.label}),a.secondaryButton&&(0,o.jsx)(y.z,{variant:j.W.Inverted,fullWidth:c,className:A().secondaryButton,href:a.secondaryButton.href,children:a.secondaryButton.label})]})]}),a.image&&(0,o.jsx)(v.JX,{columns:"xs:12 md:6",className:A().imageWrapper,children:(0,o.jsx)("img",{src:a.image.src,alt:a.image.alt,className:A().image})})]})})})};var V=a(83628),z=a(44913),O=a(74755),Q=a.n(O);let R=["/static/images/sportcity/form-header-images/image1.png","/static/images/sportcity/form-header-images/image2.png","/static/images/sportcity/form-header-images/image3.png","/static/images/sportcity/form-header-images/image4.png"];function D(e){let{images:t}=e,{currentBreakpoint:a,breakpoints:n}=(0,W.Z)(),r=[n.xs.name,n.sm.name].includes(a);return t&&5===t.length?(0,o.jsx)("div",{className:Q().imageCollage,children:(0,o.jsxs)("div",{className:Q().imageContent,children:[r&&R.slice(0,4).map((e,t)=>(0,o.jsx)(V.E,{image:{srcSet:e,src:e,alt:"image-".concat(t+1)},className:T()(Q().topImage,Q()["top-image-".concat(t+1)])},t)),t.map((e,t)=>(0,o.jsx)(V.E,{image:e,className:Q()["image".concat(t+1)]},e.alt))]})}):(console.warn("<FormHeaderImages /> must have exactly 5 images"),null)}var Y=a(31142),J=a(81005),M=a(71601),X=a(88626),q=a.n(X);let K=e=>{let{pageHeader:t,prevLink:a,children:n}=e,{hasFontColorLight:r,title:i,subtitle:l,description:s,primaryButton:c,image:u,mobileImage:d,collageImages:_,contentAlignment:g="Left",usps:p,backgroundStyle:m,mainImageSizes:h}=t,{lang:x}=(0,L.ZP)(),{renderRichText:f}=(0,w.t)(x),{breakpoints:b,currentBreakpoint:C}=(0,W.Z)(),j=C===b.xs.name,B=s&&f(s),S="Collage"===m,N=!S&&(!u&&!d||!1!==r),P="Center"===g&&!S;return(0,o.jsxs)("div",{className:T()(q().container,{[q().alternative]:!u,[q()["is-neutral-06"]]:!N,[q().isCollage]:S}),children:[u&&!S?(0,o.jsx)("div",{className:i&&T()(q()["image-container"],{[q().transparent]:!N,[q().centralized]:P}),children:(0,o.jsx)(V.E,{className:q().image,image:j&&d?d:u,hasLazyLoading:!1,sizes:h})}):null,(0,o.jsx)(v.Ar.Container,{children:(0,o.jsxs)(v.Ar.Row,{className:q().row,children:[(0,o.jsx)(v.Ar.Col,{...S?{columns:"sm:5",offset:"sm:1"}:{columns:"xs:12"},children:(0,o.jsxs)("div",{className:T()(q().body,{[q().centralized]:P,[q().bodyPaddingTop]:!S}),children:[l&&(0,o.jsx)("div",{className:q().subtitle,children:(0,o.jsx)(k.H4,{color:N?k.rx.Neutral06:k.rx.Neutral01,children:l})}),i&&(0,o.jsx)(M.V,{title:i,isLight:N,className:q().title}),B&&(0,o.jsx)(Y.H,{isLight:N,className:q().largeSizeOnTablet,children:(0,o.jsx)(o.Fragment,{children:B})}),p&&(0,o.jsx)("ul",{className:q().usps,children:p.map((e,t)=>(0,o.jsx)(J.X,{usp:e,index:t,isColorNeutral06:N},t))}),c&&(0,o.jsx)("div",{className:q().cta,children:(0,o.jsx)(y.z,{href:c.href,openInNewTab:c.openInNewTab,children:c.label})}),(0,o.jsx)(v.Ar.Row,{children:(0,o.jsx)(v.Ar.Col,{columns:P?"sm:12":"sm:8",children:n})}),a&&(0,o.jsx)("div",{className:q().link,children:(0,o.jsx)(z.r,{href:null==a?void 0:a.href,icon:H.Z.ArrowLeft,className:q().prevLink,children:null==a?void 0:a.label})})]})}),S&&_?(0,o.jsx)(v.Ar.Col,{className:q().collageCol,columns:"sm:6 md:5 lg:4",offset:"md:1",children:(0,o.jsx)(D,{images:_})}):null]})})]})};var U=a(83245),G=a(11163),$=a(50257),ee=a(17410),et=a(69961),ea=a.n(et);function en(e){let{isLightTheme:t}=e,[a,n]=(0,g.useState)(""),{formatMessage:r}=(0,b.YB)(),i=(0,G.useRouter)(),{currentBreakpoint:l,breakpoints:s}=(0,W.Z)(),c=l===s.xs.name,u=()=>{(0,ee.uQ)(ee.KW.search,{search_term:a,seearch_type:"default"}),i.push("/clubs?searchQuery=".concat(a))};return(0,o.jsxs)("div",{className:T()(ea().body,{[ea().lightTheme]:t}),children:[(0,o.jsxs)("div",{className:ea().inputContainer,children:[(0,o.jsx)("input",{onKeyDown:e=>{"Enter"===e.key&&(e.preventDefault(),u())},id:"search-box",className:ea().input,value:a,onChange:e=>n(e.target.value),placeholder:r("video-page-header.searchInput.placeholder")}),(0,o.jsx)($.Q,{onClick:u,type:"button",className:ea().searchButton})]}),(0,o.jsxs)("div",{className:ea().links,children:[!c&&(0,o.jsxs)("div",{children:[(0,o.jsx)("span",{children:r("video-page-header.cities-links.label")}),(0,o.jsx)(z.r,{href:"/clubs?searchQuery=amsterdam",children:r("video-page-header.cities-links.amsterdam")}),(0,o.jsx)("span",{children:", "}),(0,o.jsx)(z.r,{href:"/clubs?searchQuery=Den%20Haag",children:r("video-page-header.cities-links.den-haag")}),(0,o.jsx)("span",{children:", "}),(0,o.jsx)(z.r,{href:"/clubs?searchQuery=Leiden",children:r("video-page-header.cities-links.leiden")}),(0,o.jsx)("span",{children:", "}),(0,o.jsx)(z.r,{href:"/clubs?searchQuery=Rotterdam",children:r("video-page-header.cities-links.rotterdam")}),(0,o.jsx)("span",{children:", "}),(0,o.jsx)(z.r,{href:"/clubs?searchQuery=Utrecht",children:r("video-page-header.cities-links.utrecht")})]}),(0,o.jsx)(U.d,{href:"/clubs?searchNearby=true&searchQuery=In%20de%20buurt",className:ea().locationButton,isLight:!0})]})]})}function er(){return(er=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e}).apply(this,arguments)}var ei=function(e){return g.createElement("svg",er({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",preserveAspectRatio:"none",viewBox:"0 0 543 111"},e),i||(i=g.createElement("path",{fill:"#F4B52C",d:"M28.894 11.946C15.542 17.836 11.66 24.763 11.39 27.491 6.64 34.99-2.043 54.57 1.213 72.897c4.07 22.908 27.68 42.543 55.768 37.225 27.755-5.255 58.689-5.305 86.519-4.122h1V5L96.467.083C63.9-.735 45.583 4.583 28.894 11.946"})),l||(l=g.createElement("path",{fill:"#F4B52C",d:"M143.5 5h255v101h-255z"})),s||(s=g.createElement("path",{fill:"#F4B52C",d:"M514.106 99.054c13.352-5.89 17.233-12.817 17.504-15.544 4.749-7.5 13.433-27.08 10.177-45.407C537.716 15.195 514.106-4.44 486.019.878 458.264 6.133 426.353 6.183 398.5 5h-1v101l49.033 4.917c32.566.818 50.884-4.5 67.573-11.863"})))},el=a(78678),es=a.n(el);let eo=e=>{let t,{isLight:a,title:n,className:r}=e,i=/([^*]*)\*(.*?)\*([^*]*)/g,l=[];for(;null!==(t=i.exec(n));)l.push({textBefore:t[1],highlightedText:t[2],textAfter:t[3]||""});return(0,o.jsx)("h1",{className:T()(es().pageTitle,{[es().light]:a},r),children:l.length?l.map((e,t)=>(0,o.jsxs)(g.Fragment,{children:[e.textBefore,(0,o.jsxs)("span",{className:es().highlightedText,children:[(0,o.jsx)(ei,{}),e.highlightedText]}),e.textAfter]},t)):n})};var ec=a(20682),eu=a.n(ec);let ed=e=>{let{image:t,link:a,visibleOn:n,onClick:r}=e,{currentBreakpoint:i,breakpoints:l}=(0,W.Z)(),s=[l.xs.name,l.sm.name].includes(i);return t&&a?(0,o.jsx)(z.r,{className:T()(eu().displayNone,{[eu().mobileStickerButton]:"mobile"===n&&s,[eu().desktopStickerButton]:"desktop"===n&&!s}),onClick:r,href:a.href,children:(0,o.jsx)("img",{src:t.src,alt:t.alt,className:eu().stickerButton})}):null};var e_=a(10024),eg=a.n(e_);function ep(e){let{data:t}=e,a="Light"===t.theme,n=(0,g.useRef)(null),{currentBreakpoint:r,breakpoints:i}=(0,W.Z)(),l=r===i.xs.name;(0,g.useEffect)(()=>{var e,t,a;"connection"in navigator&&(null===(e=navigator)||void 0===e?void 0:e.connection)?["slow-2g","2g","3g"].includes(navigator.connection.effectiveType)||null===(t=n.current)||void 0===t||t.play():null===(a=n.current)||void 0===a||a.play()},[]),(0,g.useEffect)(()=>{n.current&&(l?(n.current.src=t.mobileBackgroundVideo.url,n.current.playsInline=!0):n.current.src=t.backgroundVideo.url,n.current.load())},[l,n]);let s=(e,t,a)=>{(0,ee.uQ)(ee.KW.callToAction,{call_to_action_type:e,interaction_type:"click",call_to_action_name:t,link_url:a})};return(0,o.jsxs)("div",{className:T()(eg().container,{[eg().lightTheme]:a}),children:[(0,o.jsxs)("div",{className:eg().videoBackground,children:[(0,o.jsx)("video",{ref:n,muted:!0,loop:!0,onCanPlayThrough:()=>{var e;null===(e=n.current)||void 0===e||e.play()},"data-testid":"bg-video"}),(0,o.jsxs)("div",{className:eg().titleWrapper,children:[(0,o.jsx)(eo,{title:t.title}),(0,o.jsx)(k.H4,{className:eg().subtitle,children:t.subtitle}),(0,o.jsx)(ed,{visibleOn:"mobile",image:t.stickerButtonImage,link:t.stickerButtonLink,onClick:()=>s("image link","sticker button",t.stickerButtonLink?t.stickerButtonLink.href:"")})]})]}),(0,o.jsxs)("div",{className:eg().inputWrapper,children:[t.hasClubSearch&&(0,o.jsx)(en,{isLightTheme:a}),(0,o.jsx)(ed,{visibleOn:"desktop",image:t.stickerButtonImage,link:t.stickerButtonLink,onClick:()=>s("image link","sticker button",t.stickerButtonLink?t.stickerButtonLink.href:"")})]}),t.primaryButton||t.secondaryButton?(0,o.jsxs)("div",{className:eg().buttonsWrapper,children:[t.primaryButton&&(0,o.jsx)(y.z,{className:T()(eg().button,eg().primaryButton),variant:j.W.PrimaryInverted,onClick:()=>s("button","video header primary button",t.primaryButton?t.primaryButton.href:""),href:t.primaryButton.href,children:t.primaryButton.label}),t.secondaryButton&&(0,o.jsx)(y.z,{variant:a?j.W.Inverted:j.W.SecondaryInverted,onClick:()=>s("button","video header secondary button",t.secondaryButton?t.secondaryButton.href:""),href:t.secondaryButton.href,className:eg().button,children:t.secondaryButton.label})]}):null]})}var em=a(22632),eh=a(45697),ex=a.n(eh),ef=a(65998),eb=a(83523),ev=a(18629),ek=a(16958),eC=a.n(ek);function ej(e){let{hasFontColorLight:t,setFilteredClubs:a,search:n,redirect:r,useMyLocation:i,inputPlaceholder:l}=e,{lang:s}=(0,L.ZP)(),c=(0,G.useRouter)(),{formatMessage:u}=(0,b.YB)(),[d,_]=(0,g.useState)(!1),[p]=(0,em.YA)(d),m=(0,eb.Z)(void 0,d),{setClosestClubs:h}=(0,ev.Z)(a,p,5),[x,f]=(0,g.useState)(""),v=(0,g.useMemo)(()=>!1!==t,[t]),k=(0,g.useCallback)(e=>{f(e.target.value)},[f]),C=(0,g.useCallback)(async()=>{if(r)return await c.push("/[slug]","/clubs?searchQuery=".concat(x));await h(x)},[h,x,r,s]),j=(0,g.useCallback)(async e=>{if(r)return c.push("/[slug]","/clubs?searchNearby=true&searchQuery=".concat(u("club-detail.clubs-nearby.query")));_()},[i]),y=(0,g.useCallback)(()=>{a&&a(null),f("")},[a,f]);return(0,g.useEffect)(()=>{x&&(null==p?void 0:p.length)&&f(x)},[n,f,p,x]),(0,o.jsx)("div",{className:eC().container,children:(0,o.jsx)(ef.X,{value:x,onChange:k,onClear:y,onSubmit:C,isAlternative:v,placeholder:l||u("checkout.select-club.search.placeholder"),useMyLocationButtonProps:{isLoading:m.isLoading,error:m.error,onClick:j}})})}ej.propTypes={hasFontColorLight:ex().bool.isRequired,setFilteredClubs:ex().func,search:ex().string,redirect:ex().bool,useMyLocation:ex().string,inputPlaceholder:ex().string};let ey=e=>{let{pageHeader:t}=e,{formatMessage:a}=(0,b.YB)(),{ColorSoftPeach:n,ColorSoftSand:i,ColorYellow:l}=r;return t?"videoPageHeader"===t.type?(0,o.jsx)(ep,{data:t}):[n,i,l].includes(t.backgroundStyle)?(0,o.jsx)(Z,{pageHeader:t}):(0,o.jsx)(K,{pageHeader:t,children:(null==t?void 0:t.hasClubSearch)&&(0,o.jsx)(ej,{redirect:!0,inputPlaceholder:a("content-page.club-search.placeholder"),hasFontColorLight:(null==t?void 0:t.backgroundStyle)!=="Collage"&&t.hasFontColorLight})}):null},eB=e=>{let{page:t}=e,a=t.contentfulTags.includes(f.RY.seo);return(0,o.jsxs)(o.Fragment,{children:[t.showConfetti&&(0,o.jsx)(h.Z,{}),(0,o.jsx)(P.w,{title:t.metaTitle,description:t.metaDescription,noIndex:t.noIndex}),(0,o.jsx)(ey,{pageHeader:t.pageHeader}),a&&(0,o.jsx)(N,{title:t.contentTableTitle,contentBlocks:t.contentBlocks}),t.contentBlocks&&(0,o.jsx)(x.Z,{page:t,contentBlocks:t.contentBlocks})]})};var eS=a(5685),eN=!0;function eP(e){let{pageSlug:t,isPreview:a,club:n,page:r,headerMenus:i}=e,l="sportcity"===u().name;return((0,g.useEffect)(()=>{if(r){let e=r.type===_.CONTENT_TYPES.CLUB_PAGE?"Club":t;(0,ee.uQ)(ee.KW.pageData,{page_type:r.pageType||(0,eS.C)(e)})}},[r,t,r.pageType,r.type]),r)?(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(m.h,{menus:i,temporaryOffer:r.temporaryOffer,clubId:r.pgClubId,isAlternative:l}),(()=>{switch(r&&r.type){case _.CONTENT_TYPES.PAGE:return(0,o.jsx)(eB,{page:r});case _.CONTENT_TYPES.CLUB_PAGE:return(0,o.jsx)(d.E,{slug:t,club:n,isPreview:a});default:return null}})(),(0,o.jsx)(p.$,{})]}):null}},19526:function(e,t,a){"use strict";var n=a(85893),r=a(67294),i=a(49155),l=a.n(i),s=a(90512),o=a.n(s),c=a(51687);t.Z=()=>{let e=(0,r.useRef)(null),t=2>=Number(c.getItem("pageVisit")),a=(0,r.useCallback)(t=>{e.current=t},[]),i=(0,r.useCallback)((t,a)=>{e.current&&e.current({...a,origin:{y:.5,x:.5},particleCount:Math.floor(250*t),shapes:["circle","square"],colors:["#F4B52C","#F4B52C","#E5E5E5","#F7D55D","#FBECB7"],scalar:1.8,decay:.8,ticks:600,spread:window.innerWidth,startVelocity:120})},[]);return(0,r.useEffect)(()=>{t&&i(.5,{})},[t,i]),(0,r.useEffect)(()=>{if(c.getItem("pageVisit")){let e=Number(null==c?void 0:c.getItem("pageVisit"))+1;localStorage.setItem("pageVisit",String(e))}else c.setItem("pageVisit",1)},[]),(0,n.jsx)(n.Fragment,{children:t&&(0,n.jsx)(l(),{refConfetti:a,fire:!0,className:o().canvas})})}},65998:function(e,t,a){"use strict";a.d(t,{X:function(){return c}});var n=a(85893);a(67294);var r=a(64596),i=a(50257),l=a(83245),s=a(10038),o=a.n(s);function c(e){let{onSubmit:t,isAlternative:a,useMyLocationButtonProps:s,...c}=e;return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{className:o().body,children:(0,n.jsxs)("div",{className:o().wrapper,children:[(0,n.jsx)("div",{className:o()["input-container"],children:(0,n.jsx)(r.I,{isSearch:!0,onKeyDown:e=>{"Enter"===e.key&&(e.preventDefault(),t())},id:"search-box",isAlternative:a,...c})}),(0,n.jsx)(i.Q,{onClick:t,type:"button"})]})}),(0,n.jsx)("div",{className:o().footer,children:(0,n.jsx)(l.d,{...s,isLight:a})})]})}},50257:function(e,t,a){"use strict";a.d(t,{Q:function(){return u}});var n=a(85893),r=a(94184),i=a.n(r),l=a(47875),s=a(32253),o=a(12083),c=a.n(o);function u(e){let{onClick:t,className:a,...r}=e,{formatMessage:o}=(0,s.YB)();return(0,n.jsx)("button",{className:i()(c().button,a),onClick:t,id:"club-search","data-testid":"club-search-button","aria-label":o("club-search-input.submit.arial-label"),...r,children:(0,n.jsx)(l.Z.Search,{})})}},71601:function(e,t,a){"use strict";a.d(t,{V:function(){return c}});var n=a(85893),r=a(94184),i=a.n(r),l=a(67294),s=a(72865),o=a.n(s);let c=e=>{let t,{isLight:a,title:r,className:s,element:c="h1"}=e,u=/([^*]*)\*(.*?)\*([^*]*)/g,d=[];for(;null!==(t=u.exec(r));)d.push({textBefore:t[1],highlightedText:t[2],textAfter:t[3]||""});return(0,n.jsx)(c,{className:i()(o().pageTitle,{[o().light]:a},s),children:d.length?d.map((e,t)=>(0,n.jsxs)(l.Fragment,{children:[e.textBefore,(0,n.jsx)("span",{className:o().highlightedText,children:e.highlightedText}),e.textAfter]},t)):r})}},5685:function(e,t,a){"use strict";a.d(t,{C:function(){return n}});let n=(e,t)=>{if(!e)return null;let a=e.split("/")[0];switch(a.toLowerCase()){case"default":return"Funnel_default";case"welkom":return"".concat(t,"_welkom");case"kies-je-club":case"selecteer-een-club":return"".concat(t,"_club");case"kies-je-lidmaatschap":return"".concat(t,"_lidmaatschap");case"persoonlijke-info":return"".concat(t,"_gegevens");case"kies-je-extras":return"".concat(t,"_extras");case"overzicht":return"".concat(t,"_overzicht");case"betaling-mislukt":return"Betaling_mislukt";case"betaling-gelukt":return"Betaling_succesvol";case"blog":case"club":case"zoeken":case"groepslessen":return a.charAt(0).toUpperCase()+a.slice(1);default:return"Algemeen"}}},18629:function(e,t,a){"use strict";a.d(t,{Z:function(){return u}});var n=a(67294),r=a(88027),i=a(16282),l=a(4694),s=a(14685),o=a(85466),c=a(53093);function u(e,t,a){let u=async n=>{let u=await (0,r.P)(n);if(!u||(0,c.c)(u))return e&&e([]),Promise.resolve([]);let d=(0,l.J)(t,u,"geoDistanceFromSearch"),_=(0,s.Z)(d,a,"geoDistanceFromSearch"),g=(0,o.s)(t||[],n);return[..._,...(0,i.L)(g,n,"name")].filter((e,t,a)=>t===a.findIndex(t=>t.id===e.id))},d=(0,n.useCallback)(async t=>{if(!t)return e&&e([]);let a=await u(t);e&&e(a)},[e,t]);return{searchClubs:u,setClosestClubs:d}}},90512:function(e){e.exports={xs:"0",sm:"768px",md:"1024px",lg:"1440px",canvas:"confetti_canvas__EbWmh"}},10038:function(e){e.exports={body:"ClubSearchInput_body__QW4Hj",footer:"ClubSearchInput_footer__aHRPQ",wrapper:"ClubSearchInput_wrapper__76kN5","input-container":"ClubSearchInput_input-container__STZ_6"}},31419:function(e){e.exports={xs:"0",sm:"768px",md:"1024px",lg:"1440px",section:"ContentIndex_section__rWlhJ",content:"ContentIndex_content__8PpTI",listItem:"ContentIndex_listItem__tastV",link:"ContentIndex_link__ukHNr"}},89040:function(e){e.exports={xs:"0",sm:"768px",md:"1024px",lg:"1440px",section:"ColorPageHeader_section__OE8ul",yellow:"ColorPageHeader_yellow__xAu45",softPeach:"ColorPageHeader_softPeach__nAaRo",softSand:"ColorPageHeader_softSand__Up7SS",row:"ColorPageHeader_row__h_KtV",content:"ColorPageHeader_content__M4jIz",title:"ColorPageHeader_title__S5gAZ",imageWrapper:"ColorPageHeader_imageWrapper__iYrvi",subtitle:"ColorPageHeader_subtitle__OgFO4",description:"ColorPageHeader_description__z0Lm_",usps:"ColorPageHeader_usps__Co4FF",usp:"ColorPageHeader_usp__4zle_",buttons:"ColorPageHeader_buttons__320vW",primaryButton:"ColorPageHeader_primaryButton__ehJ40",secondaryButton:"ColorPageHeader_secondaryButton__lt_up"}},74755:function(e){e.exports={xs:"0",sm:"768px",md:"1024px",lg:"1440px",imageCollage:"image-collage_imageCollage__cmc_j",imageContent:"image-collage_imageContent__wWv45",image1:"image-collage_image1__WO0eL",image2:"image-collage_image2__meJst",image3:"image-collage_image3__xrE_A",image4:"image-collage_image4___P56g",image5:"image-collage_image5__n7eA2",topImage:"image-collage_topImage__FMuu5","top-image-1":"image-collage_top-image-1__NYRc4","top-image-2":"image-collage_top-image-2__qe5I9","top-image-3":"image-collage_top-image-3__UyWCO","top-image-4":"image-collage_top-image-4__W8t57"}},88626:function(e){e.exports={xs:"0",sm:"768px",md:"1024px",lg:"1440px",container:"ImagePageHeader_container__Z37Zf",isCollage:"ImagePageHeader_isCollage__tivo7",row:"ImagePageHeader_row__5A7vu",collageCol:"ImagePageHeader_collageCol__oVM6e",alternative:"ImagePageHeader_alternative__yKXk_","is-neutral-06":"ImagePageHeader_is-neutral-06__tDfbu","image-container":"ImagePageHeader_image-container__z4ZAa",centralized:"ImagePageHeader_centralized__FPahu",transparent:"ImagePageHeader_transparent__NeDxP",image:"ImagePageHeader_image__ZR4K1",body:"ImagePageHeader_body__CQMN8",isLeftAligned:"ImagePageHeader_isLeftAligned__ptykM",bodyPaddingTop:"ImagePageHeader_bodyPaddingTop__ZcQ8j",title:"ImagePageHeader_title__FnqHZ",subtitle:"ImagePageHeader_subtitle__3eeL3",link:"ImagePageHeader_link__B1Iw2",cta:"ImagePageHeader_cta__lD9sS",largeSizeOnTablet:"ImagePageHeader_largeSizeOnTablet__Wv0K2",prevLink:"ImagePageHeader_prevLink__INiwL"}},12083:function(e){e.exports={xs:"0",sm:"768px",md:"1024px",lg:"1440px",button:"SearchButton_button__mmswR"}},72865:function(e){e.exports={xs:"0",sm:"768px",md:"1024px",lg:"1440px",pageTitle:"PageTitle_pageTitle__RuqFT",light:"PageTitle_light__1vYxL",highlightedText:"PageTitle_highlightedText__O32eV"}},10024:function(e){e.exports={xs:"0",sm:"768px",md:"1024px",lg:"1440px",lightTheme:"VideoPageHeader_lightTheme__JG_1N",container:"VideoPageHeader_container__dj2eX",titleWrapper:"VideoPageHeader_titleWrapper__RGiSF",title:"VideoPageHeader_title__Z8qmx",subtitle:"VideoPageHeader_subtitle__lpMRe",videoBackground:"VideoPageHeader_videoBackground__VruTG",buttonsWrapper:"VideoPageHeader_buttonsWrapper__wIZxW",button:"VideoPageHeader_button__6ejsf",primaryButton:"VideoPageHeader_primaryButton__p7R_i",mobileStickerButton:"VideoPageHeader_mobileStickerButton__7cOzx",inputWrapper:"VideoPageHeader_inputWrapper__tx1Ef"}},69961:function(e){e.exports={xs:"0",sm:"768px",md:"1024px",lg:"1440px",lightTheme:"ClubSearchInput_lightTheme__Nl6dt",container:"ClubSearchInput_container__dH9d7",titleWrapper:"ClubSearchInput_titleWrapper__kq4bs",title:"ClubSearchInput_title__JVLEH",subtitle:"ClubSearchInput_subtitle__dIkWE",videoBackground:"ClubSearchInput_videoBackground__zJcNP",buttonsWrapper:"ClubSearchInput_buttonsWrapper__XB_mv",button:"ClubSearchInput_button__6CmAJ",primaryButton:"ClubSearchInput_primaryButton__f4J_I",mobileStickerButton:"ClubSearchInput_mobileStickerButton__HULql",inputWrapper:"ClubSearchInput_inputWrapper__uf7uT",links:"ClubSearchInput_links__QIeWv",body:"ClubSearchInput_body__llpuz",inputContainer:"ClubSearchInput_inputContainer__Ij18K",input:"ClubSearchInput_input__WOZt8","input-container":"ClubSearchInput_input-container__zB_4_",searchButton:"ClubSearchInput_searchButton__ZsT3O",locationButton:"ClubSearchInput_locationButton__G33s5"}},78678:function(e){e.exports={xs:"0",sm:"768px",md:"1024px",lg:"1440px",pageTitle:"PageTitle_pageTitle__F4lta",highlightedText:"PageTitle_highlightedText__6duoY"}},20682:function(e){e.exports={xs:"0",sm:"768px",md:"1024px",lg:"1440px",lightTheme:"StickerButton_lightTheme__pQoaZ",container:"StickerButton_container__Sf4o3",titleWrapper:"StickerButton_titleWrapper__JV1F_",title:"StickerButton_title__rMf3t",subtitle:"StickerButton_subtitle__9hrEd",videoBackground:"StickerButton_videoBackground__DPHf6",buttonsWrapper:"StickerButton_buttonsWrapper__ueeI9",button:"StickerButton_button__tiJT1",primaryButton:"StickerButton_primaryButton__vrEnq",mobileStickerButton:"StickerButton_mobileStickerButton__IiXH_",inputWrapper:"StickerButton_inputWrapper__zgvkJ",displayNone:"StickerButton_displayNone__Ju98J",stickerButton:"StickerButton_stickerButton__H8fpd",desktopStickerButton:"StickerButton_desktopStickerButton__SaHV9"}},16958:function(e){e.exports={container:"club-search-bar_container__68TQO"}}},function(e){e.O(0,[2678,8742,3919,114,8679,9155,4146,4995,4569,1464,9774,2888,179],function(){return e(e.s=95759)}),_N_E=e.O()}]); //# sourceMappingURL=[[...slug]]-ef5bb31ca1fe06e2.js.map