PageSourceSearch

https://fc72.lu/_next/static/chunks/1kowq970lv2k-.js

js fc72.lu collected 2026-10-03 02:53:10 UTC 322,308 bytes, 70 lines download raw bytes

1;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="09c2648a-c2ec-d11f-07a6-5bb80a0b7c3e")}catch(e){}}();
2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,467116,e=>{"use strict";var t=e.i(755742),s=e.i(843476);let a=(0,t.default)((0,s.jsx)("path",{d:"M11.67 3.87 9.9 2.1 0 12l9.9 9.9 1.77-1.77L3.54 12z"}),"ArrowBackIos");e.s(["default",0,a])},509436,e=>{"use strict";var t=e.i(755742),s=e.i(843476);let a=(0,t.default)((0,s.jsx)("path",{d:"M6.23 20.23 8 22l10-10L8 2 6.23 3.77 14.46 12z"}),"ArrowForwardIos");e.s(["default",0,a])},62204,e=>{"use strict";var t=e.i(271645),s=e.i(207670),a=e.i(519130),i=e.i(940799),r=e.i(75149),n=e.i(594425),l=e.i(540672),o=e.i(319727);function d(e){return(0,o.default)("MuiCardActionArea",e)}let u=(0,l.default)("MuiCardActionArea",["root","focusVisible","focusHighlight"]);var c=e.i(154033),m=e.i(348106),p=e.i(843476);let g=(0,i.styled)(c.default,{name:"MuiCardActionArea",slot:"Root"})((0,r.default)(({theme:e})=>({display:"block",textAlign:"inherit",borderRadius:"inherit",width:"100%",[`&:hover .${u.focusHighlight}`]:{opacity:(e.vars||e).palette.action.hoverOpacity,"@media (hover: none)":{opacity:0}},[`&.${u.focusVisible} .${u.focusHighlight}`]:{opacity:(e.vars||e).palette.action.focusOpacity}}))),h=(0,i.styled)("span",{name:"MuiCardActionArea",slot:"FocusHighlight"})((0,r.default)(({theme:e})=>({overflow:"hidden",pointerEvents:"none",position:"absolute",top:0,right:0,bottom:0,left:0,borderRadius:"inherit",opacity:0,backgroundColor:"currentcolor",transition:e.transitions.create("opacity",{duration:e.transitions.duration.short})}))),f=t.forwardRef(function(e,t){let i=(0,n.useDefaultProps)({props:e,name:"MuiCardActionArea"}),{children:r,className:l,focusVisibleClassName:o,slots:u={},slotProps:c={},...f}=i,x=(e=>{let{classes:t}=e;return(0,a.default)({root:["root"],focusHighlight:["focusHighlight"]},d,t)})(i),_={slots:u,slotProps:c},[b,y]=(0,m.default)("root",{elementType:g,externalForwardedProps:{..._,...f},shouldForwardComponentProp:!0,ownerState:i,ref:t,className:(0,s.default)(x.root,l),additionalProps:{focusVisibleClassName:(0,s.default)(o,x.focusVisible)}}),[j,v]=(0,m.default)("focusHighlight",{elementType:h,externalForwardedProps:_,ownerState:i,className:x.focusHighlight});return(0,p.jsxs)(b,{...y,children:[r,(0,p.jsx)(j,{...v})]})});e.s(["default",0,f],62204)},212401,e=>{"use strict";var t=e.i(271645),s=e.i(207670),a=e.i(606586),i=e.i(552836),r=e.i(519130),n=e.i(940799),l=e.i(210557),o=e.i(75149),d=e.i(594425),u=e.i(795595),c=e.i(801226),m=e.i(719636),m=m,p=e.i(348106),g=e.i(540672),h=e.i(319727);function f(e){return(0,h.default)("MuiCollapse",e)}(0,g.default)("MuiCollapse",["root","horizontal","vertical","entered","hidden","wrapper","wrapperInner"]);var x=e.i(843476);let _=(0,n.styled)("div",{name:"MuiCollapse",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:s}=e;return[t.root,t[s.orientation],"entered"===s.state&&t.entered,"exited"===s.state&&!s.in&&"0px"===s.collapsedSize&&t.hidden]}})((0,o.default)(({theme:e})=>({height:0,overflow:"hidden",transition:e.transitions.create("height"),variants:[{props:{orientation:"horizontal"},style:{height:"auto",width:0,transition:e.transitions.create("width")}},{props:{state:"entered"},style:{height:"auto",overflow:"visible"}},{props:{state:"entered",orientation:"horizontal"},style:{width:"auto"}},{props:({ownerState:e})=>"exited"===e.state&&!e.in&&"0px"===e.collapsedSize,style:{visibility:"hidden"}}]}))),b=(0,n.styled)("div",{name:"MuiCollapse",slot:"Wrapper"})({display:"flex",width:"100%",variants:[{props:{orientation:"horizontal"},style:{width:"auto",height:"100%"}}]}),y=(0,n.styled)("div",{name:"MuiCollapse",slot:"WrapperInner"})({width:"100%",variants:[{props:{orientation:"horizontal"},style:{width:"auto",height:"100%"}}]}),j=t.forwardRef(function(e,n){let o=(0,d.useDefaultProps)({props:e,name:"MuiCollapse"}),{addEndListener:g,children:h,className:j,collapsedSize:v="0px",component:M,easing:S,in:C,onEnter:w,onEntered:P,onEntering:k,onExit:I,onExited:E,onExiting:T,orientation:N="vertical",slots:L={},slotProps:R={},style:A,timeout:O=u.duration.standard,TransitionComponent:F=a.Transition,...D}=o,$={...o,orientation:N,collapsedSize:v},z=(e=>{let{orientation:t,classes:s}=e;return(0,r.default)({root:["root",t],entered:["entered"],hidden:["hidden"],wrapper:["wrapper",t],wrapperInner:["wrapperInner",t]},f,s)})($),q=(0,l.useTheme)(),G=(0,i.default)(),W=t.useRef(null),U=t.useRef(),B="number"==typeof v?`${v}px`:v,H="horizontal"===N,Y=H?"width":"height",V=t.useRef(null),K=(0,m.default)(n,V),Q=()=>W.current?W.current[H?"clientWidth":"clientHeight"]:0,Z=(0,c.normalizedTransitionCallback)(V,(e,t)=>{W.current&&H&&(W.current.style.position="absolute"),e.style[Y]=B,w&&w(e,t)}),J=(0,c.normalizedTransitionCallback)(V,(e,t)=>{let s=Q();W.current&&H&&(W.current.style.position="");let{duration:a,easing:i}=(0,c.getTransitionProps)({style:A,timeout:O,easing:S},{mode:"enter"});if("auto"===O){let t=q.transitions.getAutoHeightDuration(s);e.style.transitionDuration=`${t}ms`,U.current=t}else e.style.transitionDuration="string"==typeof a?a:`${a}ms`;e.style[Y]=`${s}px`,e.style.transitionTimingFunction=i,k&&k(e,t)}),X=(0,c.normalizedTransitionCallback)(V,(e,t)=>{e.style[Y]="auto",P&&P(e,t)}),ee=(0,c.normalizedTransitionCallback)(V,e=>{e.style[Y]=`${Q()}px`,I&&I(e)}),et=(0,c.normalizedTransitionCallback)(V,E),es=(0,c.normalizedTransitionCallback)(V,e=>{let t=Q(),{duration:s,easing:a}=(0,c.getTransitionProps)({style:A,timeout:O,easing:S},{mode:"exit"});if("auto"===O){let s=q.transitions.getAutoHeightDuration(t);e.style.transitionDuration=`${s}ms`,U.current=s}else e.style.transitionDuration="string"==typeof s?s:`${s}ms`;e.style[Y]=B,e.style.transitionTimingFunction=a,T&&T(e)}),ea={slots:L,slotProps:R,component:M},[ei,er]=(0,p.default)("root",{ref:K,className:(0,s.default)(z.root,j),elementType:_,externalForwardedProps:ea,ownerState:$,additionalProps:{style:{[H?"minWidth":"minHeight"]:B,...A}}}),[en,el]=(0,p.default)("wrapper",{ref:W,className:z.wrapper,elementType:b,externalForwardedProps:ea,ownerState:$}),[eo,ed]=(0,p.default)("wrapperInner",{className:z.wrapperInner,elementType:y,externalForwardedProps:ea,ownerState:$});return(0,x.jsx)(F,{in:C,onEnter:Z,onEntered:X,onEntering:J,onExit:ee,onExited:et,onExiting:es,addEndListener:e=>{"auto"===O&&G.start(U.current||0,e),g&&g(V.current,e)},nodeRef:V,timeout:"auto"===O?null:O,...D,children:(e,{ownerState:t,...a})=>{let i={...$,state:e};return(0,x.jsx)(ei,{...er,className:(0,s.default)(er.className,{entered:z.entered,exited:!C&&"0px"===B&&z.hidden}[e]),ownerState:i,...a,children:(0,x.jsx)(en,{...el,ownerState:i,children:(0,x.jsx)(eo,{...ed,ownerState:i,children:h})})})}})});j&&(j.muiSupportAuto=!0),e.s(["default",0,j],212401)},791882,e=>{"use strict";var t=e.i(552057);e.s(["Container",()=>t.default])},313995,e=>{"use strict";var t=e.i(836773);e.s(["Divider",()=>t.default])},289590,e=>{"use strict";var t=e.i(271645),s=e.i(207670),a=e.i(519130),i=e.i(884364),r=e.i(940799),n=e.i(75149),l=e.i(594425),o=e.i(540672),d=e.i(319727);function u(e){return(0,d.default)("MuiSkeleton",e)}(0,o.default)("MuiSkeleton",["root","text","rectangular","rounded","circular","pulse","wave","withChildren","fitContent","heightAuto"]);var c=e.i(843476);let m=i.keyframes`
3  0% {
4    opacity: 1;
5  }
6
7  50% {
8    opacity: 0.4;
9  }
10
11  100% {
12    opacity: 1;
13  }
14`,p=i.keyframes`
15  0% {
16    transform: translateX(-100%);
17  }
18
19  50% {
20    /* +0.5s of delay between each loop */
21    transform: translateX(100%);
22  }
23
24  100% {
25    transform: translateX(100%);
26  }
27`,g="string"!=typeof m?i.css`
28        animation: ${m} 2s ease-in-out 0.5s infinite;
29      `:null,h="string"!=typeof p?i.css`
30        &::after {
31          animation: ${p}
31 2s linear 0.5s infinite;
32        }
33      `:null,f=(0,r.styled)("span",{name:"MuiSkeleton",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:s}=e;return[t.root,t[s.variant],!1!==s.animation&&t[s.animation],s.hasChildren&&t.withChildren,s.hasChildren&&!s.width&&t.fitContent,s.hasChildren&&!s.height&&t.heightAuto]}})((0,n.default)(({theme:e})=>{let t=String(e.shape.borderRadius).match(/[\d.\-+]*\s*(.*)/)[1]||"px",s=parseFloat(e.shape.borderRadius);return{display:"block",backgroundColor:e.vars?e.vars.palette.Skeleton.bg:e.alpha(e.palette.text.primary,"light"===e.palette.mode?.11:.13),height:"1.2em",variants:[{props:{variant:"text"},style:{marginTop:0,marginBottom:0,height:"auto",transformOrigin:"0 55%",transform:"scale(1, 0.60)",borderRadius:`${s}${t}/${Math.round(s/.6*10)/10}${t}`,"&:empty:before":{content:'"\\00a0"'}}},{props:{variant:"circular"},style:{borderRadius:"50%"}},{props:{variant:"rounded"},style:{borderRadius:(e.vars||e).shape.borderRadius}},{props:({ownerState:e})=>e.hasChildren,style:{"& > *":{visibility:"hidden"}}},{props:({ownerState:e})=>e.hasChildren&&!e.width,style:{maxWidth:"fit-content"}},{props:({ownerState:e})=>e.hasChildren&&!e.height,style:{height:"auto"}},{props:{animation:"pulse"},style:g||{animation:`${m} 2s ease-in-out 0.5s infinite`}},{props:{animation:"wave"},style:{position:"relative",overflow:"hidden",WebkitMaskImage:"-webkit-radial-gradient(white, black)","&::after":{background:`linear-gradient(
34                90deg,
35                transparent,
36                ${(e.vars||e).palette.action.hover},
37                transparent
38              )`,content:'""',position:"absolute",transform:"translateX(-100%)",bottom:0,left:0,right:0,top:0}}},{props:{animation:"wave"},style:h||{"&::after":{animation:`${p} 2s linear 0.5s infinite`}}}]}})),x=t.forwardRef(function(e,t){let i=(0,l.useDefaultProps)({props:e,name:"MuiSkeleton"}),{animation:r="pulse",className:n,component:o="span",height:d,style:m,variant:p="text",width:g,...h}=i,x={...i,animation:r,component:o,variant:p,hasChildren:!!h.children},_=(e=>{let{classes:t,variant:s,animation:i,hasChildren:r,width:n,height:l}=e;return(0,a.default)({root:["root",s,i,r&&"withChildren",r&&!n&&"fitContent",r&&!l&&"heightAuto"]},u,t)})(x);return(0,c.jsx)(f,{as:o,ref:t,className:(0,s.default)(_.root,n),ownerState:x,...h,style:{width:g,height:d,...m}})});e.s(["Skeleton",0,x],289590)},971396,e=>{e.v(e=>Promise.resolve().then(()=>e(880799)))},290064,e=>{e.v(t=>Promise.all(["static/chunks/3loudbv259xpy.js"].map(t=>e.l(t))).then(()=>t(261598)))},88988,e=>{e.v(t=>Promise.all(["static/chunks/1d0bf7qjn7shp.js"].map(t=>e.l(t))).then(()=>t(926519)))},439725,e=>{e.v(t=>Promise.all(["static/chunks/2nn3229tjxar2.js"].map(t=>e.l(t))).then(()=>t(89203)))},413271,e=>{e.v(t=>Promise.all(["static/chunks/06uubsm_45b3b.js"].map(t=>e.l(t))).then(()=>t(598740)))},247737,e=>{e.v(t=>Promise.all(["static/chunks/2r_44c6eixr5g.js"].map(t=>e.l(t))).then(()=>t(108431)))},109345,e=>{e.v(t=>Promise.all(["static/chunks/0auehe4a1zz87.js"].map(t=>e.l(t))).then(()=>t(599947)))},724568,e=>{e.v(t=>Promise.all(["static/chunks/3ysqz5t5mjlq_.js"].map(t=>e.l(t))).then(()=>t(615364)))},505686,e=>{e.v(t=>Promise.all(["static/chunks/1ku-b5pbg_hls.js"].map(t=>e.l(t))).then(()=>t(229734)))},653558,e=>{e.v(t=>Promise.all(["static/chunks/3q2w_4xj_sfma.js"].map(t=>e.l(t))).then(()=>t(348628)))},224549,e=>{e.v(t=>Promise.all(["static/chunks/3k16l81znh57b.js"].map(t=>e.l(t))).then(()=>t(744444)))},166632,e=>{e.v(t=>Promise.all(["static/chunks/19bgrt46626v-.js"].map(t=>e.l(t))).then(()=>t(825525)))},574064,e=>{e.v(t=>Promise.all(["static/chunks/0k2pt_i-zx0hn.js"].map(t=>e.l(t))).then(()=>t(125314)))},431659,e=>{e.v(t=>Promise.all(["static/chunks/35mb-9djpg9-a.js"].map(t=>e.l(t))).then(()=>t(655181)))},759729,e=>{e.v(t=>Promise.all(["static/chunks/11emiao9nq0af.js"].map(t=>e.l(t))).then(()=>t(164597)))},481926,e=>{"use strict";var t=e.i(843476),s=e.i(467116),a=e.i(618566),i=e.i(112458),r=e.i(946603);e.s(["default",0,function({onClick:e,href:n,children:l,...o}){let d=(0,a.useRouter)();
38return(0,t.jsx)(r.default,{onClick:n?null:e||d.back,startIcon:(0,t.jsx)(s.default,{}),href:n,...o,children:l||(0,t.jsx)(i.FormattedMessage,{id:"form.back",defaultMessage:"Back"})})}])},159463,e=>{"use strict";var t=e.i(843476),s=e.i(228488),a=e.i(11),i=e.i(782547),r=e.i(854e3);e.s(["default",0,function({streamLink:e,showLiveStream:n}){let l=(0,a.useIntl)();return(0,t.jsx)("button",{className:r.default.liveStreamButton,onClick:t=>{t.preventDefault(),window.open(e,"_blank")},children:n?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:r.default.liveStreamButtonCircle}),(0,t.jsx)(i.Paragraph1,{className:r.default.liveStreamButtonText,children:l.formatMessage(s.eventPageMessages["event.page.live_stream"])})]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:r.default.playButton}),(0,t.jsx)(i.Paragraph1,{className:r.default.liveStreamButtonText,children:l.formatMessage(s.eventPageMessages["event.page.replay"])})]})})}])},946603,e=>{"use strict";var t=e.i(843476),s=e.i(782547),a=e.i(621706);e.s(["default",0,function({children:e,...i}){return(0,t.jsx)(a.default,{isText:!0,disableRipple:!0,...i,children:(0,t.jsx)(s.Paragraph1,{isMobile:!0,children:e})})}])},642217,e=>{"use strict";var t=e.i(843476),s=e.i(46067),a=e.i(413518),i=e.i(304402);e.s(["default",0,function(e){let{club:r}=(0,a.useClub)(),n=(0,s.getClubFallbackImages)(r),l=n[n.length-1];return(0,t.jsx)(i.default,{sources:n,src:l.src,...e})}])},864354,e=>{"use strict";var t=e.i(843476),s=e.i(329568),a=e.i(271645),i=e.i(304402);e.s(["default",0,function(e){let{src:r,mime:n}=e,l=(0,a.useMemo)(()=>{let e=r.split("/").pop(),t=e.split(".").pop(),a=(0,s.extractFilenameWithoutExtension)(e);return[{width:300,ext:t,mime:n,name:`${a}.${t}`},{width:787,ext:t,mime:n,name:`big_${a}.${t}`}].map(e=>({...e,src:[...r.split("/").slice(0,-1),e.name].join("/")}))},[r]);return(0,t.jsx)(i.default,{sources:l,...e})}])},425031,e=>{e.v(t=>Promise.all(["static/chunks/1ky45imrt0f0d.css","static/chunks/3-v995yy08nb5.js"].map(t=>e.l(t))).then(()=>t(242147)))},335571,e=>{e.v({badgeCircle:"LiveBadge-module-scss-module__70pdDG__badgeCircle",badgeText:"LiveBadge-module-scss-module__70pdDG__badgeText",root:"LiveBadge-module-scss-module__70pdDG__root"})},686303,e=>{e.v(e=>Promise.resolve().then(()=>e(168799)))},964884,142829,e=>{"use strict";var t=e.i(843476),s=e.i(782547),a=e.i(324121),i=e.i(819646),r=e.i(210557),n=e.i(773521),l=e.i(11);e.s(["OrderLineVariantMeta",0,function({item:e}){let o=(0,r.useTheme)(),d=(0,l.useIntl)(),u=e?.variantKey!=null&&"string"==typeof e.variantKey&&e.variantKey.trim()?e.variantKey.trim():"string"==typeof e?.variant&&e.variant.trim()?e.variant.trim():void 0,c=(0,a.getVariantDisplayFromKey)(u),m=!!(c.colorHex||c.sizeLabel),p=e?.variantId??(e?.variant&&"object"==typeof e.variant&&null!==e.variant&&"id"in e.variant?e.variant.id:void 0),g=null==p||Number.isNaN(Number(p))?void 0:Number(p),h=!m&&(null!=u||null!=g);return m||h?m?(0,t.jsxs)(i.default,{sx:{display:"flex",alignItems:"center",gap:1,mb:.5},children:[c.colorHex?(0,t.jsx)(i.default,{"aria-hidden":!0,sx:{width:14,height:14,borderRadius:"50%",flexShrink:0,backgroundColor:c.colorHex,boxSizing:"border-box",..."#FFFFFF"===(0,a.normalizeHexColor)(c.colorHex)?{border:`1px solid ${o.props.sectionMode.text_background}40`}:{}}}):null,c.sizeLabel?(0,t.jsx)(s.Paragraph2,{sx:{color:o.props.sectionMode.text_background,margin:0,opacity:.7},children:c.sizeLabel}):null]}):(0,t.jsx)(s.Paragraph2,{sx:{mb:.5,color:o.props.sectionMode.text_background,opacity:.7},children:u||(null!=g?d.formatMessage(n.cartMessages["shop.cart.variant_id"],{id:g}):"")}):null}],142829),e.s([],964884)},528923,e=>{"use strict";var t=e.i(843476),s=e.i(112458);e.s(["PenaltyScore",0,function({scorePenalty1:e,scorePenalty2:a}){return(0,t.jsxs)("span",{children:["(",(0,t.jsx)(s.FormattedMessage,{id:"v3_gamesandstandings.a_p",defaultMessage:"a.P."})," ",`${e}:${a}`,")"]})}])},722167,e=>{e.v({containerCompact:"ProductColorSwatches-module-scss-module__VKRhmG__containerCompact",containerMedium:"ProductColorSwatches-module-scss-module__VKRhmG__containerMedium",moreColors:"ProductColorSwatches-module-scss-module__VKRhmG__moreColors",moreColorsCompact:"ProductColorSwatches-module-scss-module__VKRhmG__moreColorsCompact",swatch:"ProductColorSwatches-module-scss-module__VKRhmG__swatch",swatchCompact:"ProductColorSwatches-module-scss-module__VKRhmG__swatchCompact",swatchInteractive:"ProductColorSwatches-module-scss-module__VKRhmG__swatchInteractive",swatchMedium:"ProductColorSwatches-module-scss-module__VKRhmG__swatchMedium",swatchStatic:"ProductColorSwatches-module-scss-module__VKRhmG__swatchStatic",swatchWhite:"ProductColorSwatches-module-scss-module__VKRhmG__swatchWhite",swatchWhiteCompact:"ProductColorSwatches-module-scss-module__VKRhmG__swatchWhiteCompact"})},908448,70445,e=>{"use strict";var t=e.i(843476),s=e.i(324121),a=e.i(819646),i=e.i(210557),r=e.i(722167);e.s(["ProductColorSwatches",0,function({hexValues:e,selectedHex:n,onSelect:l=()=>{},size:o="medium",interactive:d=!0,maxSwatchCount:u=100}){let c=(0,i.useTheme)(),m=(0,s.normalizeHexColor)(n||""),p=`${c.props.sectionMode.text_background}40`,g={"--focus-outline":c.props.sectionMode.focus_outline,"--swatch-white-edge":p,"--active-shadow":`0 0 0 2px ${c.props.sectionMode.card}, 0 0 0 4px ${c.palette.primary.main}`};if(!e||0===e.length)return null;let h=e.slice(0,u),f=e.length>u?e.length-u:0,x="compact"===o;return(0,t.jsxs)(a.default,{className:x?r.default.containerCompact:r.default.containerMedium,style:g,...!d?{"aria-hidden":!0}:{},children:[h.map((e,i)=>{let n=d&&m===(0,s.normalizeHexColor)(e),o="#FFFFFF"===(0,s.normalizeHexColor)(e),u=[r.default.swatch,x?r.default.swatchCompact:r.default.swatchMedium,d?r.default.swatchInteractive:r.default.swatchStatic,o?x?r.default.swatchWhiteCompact:r.default.swatchWhite:""].filter(
38Boolean).join(" "),c={backgroundColor:e};return d?(0,t.jsx)(a.default,{component:"button",type:"button",onClick:()=>l(e),className:u,style:{...c,boxShadow:n?"var(--active-shadow)":"none"},"aria-pressed":n,"aria-label":e},`color-swatch-${e}-${i}`):(0,t.jsx)("span",{className:u,style:c},`color-swatch-${e}-${i}`)}),f>0&&(0,t.jsxs)("span",{className:x?r.default.moreColorsCompact:r.default.moreColors,"aria-hidden":!0,children:["+",f]})]})}],908448);var n=e.i(782547),l=e.i(691102);let o=(0,e.i(755742).default)((0,t.jsx)("path",{d:"M7 18c-1.1 0-1.99.9-1.99 2S5.9 22 7 22s2-.9 2-2-.9-2-2-2M1 2v2h2l3.6 7.59-1.35 2.45c-.16.28-.25.61-.25.96 0 1.1.9 2 2 2h12v-2H7.42c-.14 0-.25-.11-.25-.25l.03-.12.9-1.63h7.45c.75 0 1.41-.41 1.75-1.03l3.58-6.49c.08-.14.12-.31.12-.48 0-.55-.45-1-1-1H5.21l-.94-2zm16 16c-1.1 0-1.99.9-1.99 2s.89 2 1.99 2 2-.9 2-2-.9-2-2-2"}),"ShoppingCart");var d=e.i(765952),u=e.i(413518),c=e.i(522016),m=e.i(773521),p=e.i(112458),g=e.i(301005),h=e.i(314632);e.s(["default",0,function(){let{club:e}=(0,u.useClub)(),{items:s,totalPrice:r}=(0,d.useCart)(),f=(0,i.useTheme)(),x=(0,h.useSystemPagePath)(l.WebsitePageType.CART),_=s.length;return(0,t.jsx)(c.default,{href:x,passHref:!0,style:{textDecoration:"none",color:"inherit"},children:(0,t.jsx)(a.default,{"aria-label":`Cart: ${_} ${1===_?"item":"items"}`,sx:{cursor:"pointer","&:focus-visible":{outline:f.props.sectionMode.focus_outline,outlineOffset:"2px"}},tabIndex:0,children:(0,t.jsxs)(a.default,{sx:{display:"flex",flexDirection:"column",alignItems:{xs:"flex-start",md:"flex-end"},mt:{xs:4,md:0}},children:[(0,t.jsxs)(a.default,{sx:{display:"flex",alignItems:"center",gap:"8px",mb:"4px"},children:[(0,t.jsx)(o,{sx:{fontSize:16,color:f.props.sectionMode.text_background}}),(0,t.jsx)(n.Paragraph2,{children:(0,t.jsx)(p.FormattedMessage,{...m.cartMessages["shop.cart.summary"]})})]}),(0,t.jsx)(n.Paragraph2,{sx:{fontWeight:700},children:1===_?(0,t.jsx)(p.FormattedMessage,{...m.cartMessages["shop.cart.item.total"],values:{total:(0,t.jsx)(g.FormattedNumber,{value:r,style:"currency",currencyDisplay:"narrowSymbol",currencySign:"standard",currency:e?.currency?.code||"EUR"})}}):(0,t.jsx)(p.FormattedMessage,{...m.cartMessages["shop.cart.items.total"],values:{count:_,total:(0,t.jsx)(g.FormattedNumber,{value:r,style:"currency",currencyDisplay:"narrowSymbol",currencySign:"standard",currency:e?.currency?.code||"EUR"})}})})]})})})}],70445)},705729,e=>{"use strict";var t=e.i(127167),s=e.i(413518),a=e.i(618566),i=e.i(271645),r=e.i(55428);e.s(["useRequireAuth",0,()=>{let{token:e}=(0,t.useAuth)(),n=(0,a.usePathname)(),{prefix:l,club:o}=(0,s.useClub)();(0,i.useEffect)(()=>{if(!e){let e=o.domain_online&&o.domain?"":`/${l}`,t=(0,r.getOriginFromUrl)(l,n);(0,a.redirect)(`${e}/user/login?origin=${t}`)}},[e])}])},856931,e=>{"use strict";var t,s,a,i,r,n=((t={}).ROSTER="roster",t.STATISTICS="statistics",t.PLAYER="player",t.GAME="game",t.GAMES_OVERVIEW="games_overview",t.EVENT="event",t.ISCOMPETITION="iscompetition",t.TRAINING="training",t.STANDINGS="standings",t.CALENDAR="calendar",t.SPONSORS="sponsors",t.RESULTS="results",t.GALLERIES="galleries",t.GALLERY="gallery",t.VIDEOS="videos",t.VIDEO="video",t.SINGLE_NEWS="single_news",t.NEWS="news",t.RESERVATION="reservation",t.SHOP="shop",t.PRODUCTS="products",t.PRODUCT="product",t.CART="cart",t.CHECKOUT="checkout",t.DELIVERY="delivery",t.PAYMENT="payment",t.HTML="html",t.SHARE="share",t.LINK="link",t.DOCUMENT="document",t.FORMS="forms",t.IMAGE="image",t.TEXT="text",t.DIVIDER="divider",t.COMBINATION="combination",t.POSTS="posts",t.POST="post",t.GROUP="groups",t.EXTRANET="extranet",t.LEGAL_DISCLAIMER="legal-disclaimer",t.COOKIES_SETTINGS="cookies-settings",t.EDUCATION_COURSES_OVERVIEW="education_courses_overview",t.EDUCATION_COURSE="education_course",t.EDUCATION_LESSON="education_lesson",t.LICENSE_ORDER_MEMBER_TO_MEMBER="license_order_member_to_member",t.LICENSE_ORDER_MEMBER="license_order_member",t),l=((s={}).UNAUTHORIZED="unauthorized",s.FORBIDDEN="forbidden",s),o=((a={}).DEFAULT="default",a.IMAGE="image",a.LATEST="latest",a.SINGLE="single",a.LIST="list",a.CAROUSEL="carousel",a.MULTIPLE="multiple",a.TEAM="team",a.LEAGUE="league",a.SPACE="space",a.SEPARATOR="separator",a.FLF="flf",a.FLF_LEAGUE_OVERVIEW="flf_league_overview",a.IMAGE_TITLE="image_title",a.MULTIPLE_IMAGES="image_multiple",a.MULTIPLE_IMAGES_WITH_TEXT="image_title_multiple",a.POSTS_SPOTLIGHT="spotlight",a.POSTS_THREE_LATES="three_lates",a.POSTS_IMAGE_PREVIEW="post_image_preview",a.POSTS_FULLWIDTH_PREVIEW="post_fullwidth_preview",a.POSTS_DYNAMIC_PREVIEW="post_dynamic_preview",a.FINDER="finder",a),d=((i={}).COLOR="color",i.IMAGE="image",i.VIDEO="video",i),u=((r={}).SYSTEM="system",r.PREDEFINED="predefined",r.CUSTOM="custom",r);
38e.s(["ISectionBackgroundType",()=>d,"ISectionOrigin",()=>u,"SectionLayoutType",()=>o,"SectionType",()=>n,"SystemSectionType",()=>l])},534327,e=>{"use strict";e.s(["getCombinedEducationStatus",0,e=>e&&0!==e.length?e.every(e=>"completed"===e)?"completed":e.every(e=>"not_started"===e)?"not_started":"in_progress":null])},33612,e=>{"use strict";var t=e.i(271645);e.s(["default",0,function(e,s){return e.reduce((e,a,i)=>[e,e&&(0,t.cloneElement)(s,{key:i}),a].filter(Boolean),null)}])},953160,e=>{e.v(t=>Promise.all(["static/chunks/0agyijuk-qyad.js"].map(t=>e.l(t))).then(()=>t(264085)))},4407,e=>{"use strict";var t=e.i(843476),s=e.i(621706),a=e.i(782547),i=e.i(46067),r=e.i(300317),n=e.i(776552),l=e.i(791882),o=e.i(413518),d=e.i(618566),u=e.i(112458),c=e.i(912919);e.s(["default",0,()=>{let{club:e}=(0,o.useClub)(),m=(0,d.useRouter)();return(0,t.jsx)(l.Container,{maxWidth:"sm",children:(0,t.jsxs)(n.Box,{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",minHeight:"600",gap:4,children:[(0,t.jsx)(r.default,{size:48}),(0,t.jsx)(a.Headline1,{children:"403"}),(0,t.jsx)(a.Paragraph1,{sx:{textAlign:"center"},children:(0,t.jsx)(u.FormattedMessage,{...c.websitesErrorMessage["error.not_enough_rights.title.1"]})}),(0,t.jsx)(s.default,{variant:"contained",color:"primary",onClick:()=>{if(""===document.referrer&&e){let t=(0,i.getClubUrl)(e);window.location.href=`${t}`}else e?m.back():window.location.href="https://www.clubee.com"},sx:{marginTop:"16px"},children:(0,t.jsx)(u.FormattedMessage,{...c.errorMessages["error.go_back"]})})]})})}])},484624,e=>{"use strict";var t=e.i(843476),s=e.i(621706),a=e.i(782547),i=e.i(300317),r=e.i(776552),n=e.i(791882),l=e.i(413518),o=e.i(117595),d=e.i(618566),u=e.i(271645),c=e.i(112458),m=e.i(55428),p=e.i(967833),g=e.i(912919);e.s(["default",0,()=>{let e=(0,d.usePathname)(),[h,f]=(0,u.useState)(!1),{prefix:x,club:_}=(0,l.useClub)(),b=(0,m.getOriginFromUrl)(x,e);return((0,u.useEffect)(()=>{(async()=>{let e=_?.domain_online?_.domain:"",t=(0,p.defineCookieDomain)(e),s=(0,p.getUserCookie)(p.S50_TOKEN_COOKIE);if(e&&s){let e=t,s=t?.split(".");(s.length>2||"www"!==s[0])&&(e=`.${s[s.length-2]}.${s[s.length-1]}`),o.default.remove(p.S50_TOKEN_COOKIE,{domain:e}),o.default.remove(p.S50_REFRESH_TOKEN_COOKIE,{domain:e}),o.default.remove(p.S50_TOKEN_COOKIE),o.default.remove(p.S50_REFRESH_TOKEN_COOKIE),window.location.reload()}else s?(o.default.remove(p.S50_TOKEN_COOKIE,{domain:"."+t}),o.default.remove(p.S50_REFRESH_TOKEN_COOKIE,{domain:"."+t}),o.default.remove(p.S50_TOKEN_COOKIE),o.default.remove(p.S50_REFRESH_TOKEN_COOKIE),window.location.reload()):f(!0)})()},[]),h)?(0,t.jsx)(n.Container,{maxWidth:"sm",children:(0,t.jsxs)(r.Box,{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",minHeight:"600",gap:4,children:[(0,t.jsx)(i.default,{size:48}),(0,t.jsx)(a.Headline1,{children:"401"}),(0,t.jsx)(a.Paragraph1,{sx:{textAlign:"center"},children:(0,t.jsx)(c.FormattedMessage,{...g.websitesErrorMessage["error.no_public_access"]})}),(0,t.jsx)(s.default,{variant:"contained",color:"primary",isClubExternal:!0,href:`/login?origin=${b}`,sx:{marginTop:"16px"},children:(0,t.jsx)(c.FormattedMessage,{...g.errorMessages["error.btn.login_with_clubee"]})})]})}):null}])},912919,e=>{"use strict";var t=e.i(301005);let s=(0,t.defineMessages)({"error.btn.login":{id:"error.btn.login",defaultMessage:"Log in"},"error.btn.login_with_clubee":{id:"error.btn.login_with_clubee",defaultMessage:"Log in with Clubee"},"error.notFound":{id:"error.notFound",defaultMessage:"404 Not found"},"error.no_access":{id:"error.no_access",defaultMessage:"You don't have access to this page."},"error.try_to_login":{id:"error.try_to_login",defaultMessage:"Try to login again and contact us if the problem persists."},"error.unauthorized":{id:"error.unauthorized",defaultMessage:"401 Unauthorized"},"error.forbidden":{id:"error.forbidden",defaultMessage:"403 Forbidden"},"error.accessForbidden":{id:"error.accessForbidden",defaultMessage:"You are not allowed to see this resource, contact the admin of your club."},"error.btn.retry":{id:"error.btn.retry",defaultMessage:"Retry"},"error.something_wrong":{id:"error.something_wrong",defaultMessage:"Something went wrong"},"error.something_wrong_oops":{id:"error.something_wrong_oops",defaultMessage:"Oops! Something Went Wrong"},"error.something_wrong_suggestion":{id:"error.something_wrong_suggestion",defaultMessage:"In the meantime, you can:"},"error.something_wrong_suggestion_refresh":{id:"error.something_wrong_suggestion_refresh",defaultMessage:"Try refreshing the page"},"error.something_wrong_suggestion_go_back":{id:"error.something_wrong_suggestion_go_back",defaultMessage:"Go back to the homepage"},"error.something_wrong_suggestion_contact_support":{id:"error.something_wrong_suggestion_contact_support",defaultMessage:"Contact support if the issue persists"},"error.try_to_refresh":{id:"error.try_to_refresh",defaultMessage:"Sorry about that. Please try refreshing and contact us if the problem persists"}
38,"error.not_found":{id:"error.not_found",defaultMessage:"Page not found"},"error.sorry":{id:"error.message.sorry",defaultMessage:"Sorry"},"error.go_back":{id:"error.go_back",defaultMessage:"Go back"},"error.organisation_not_found":{id:"error.organisation.not.found",defaultMessage:"Organisation not found"},"error.organisation_not_found_description":{id:"error.organisation.not.found.description",defaultMessage:"The club you’re looking for doesn’t exist or the URL is incorrect. Please check the spelling and try again."}}),a=(0,t.defineMessages)({"error.not_enough_rights.title.1":{id:"v4_website.error.not_enough_rights.title.1",defaultMessage:"Unfortunately, you don’t have viewing rights for this page. Contact your club administrator to gain access to this page."},"error.not_enough_rights.title.2":{id:"v4_website.error.not_enough_rights.title.2",defaultMessage:"###"},"error.not_enough_rights.description":{id:"v4_website.error.not_enough_rights.description",defaultMessage:"###"},"error.no_public_access":{id:"v4_website.error.no_public_access",defaultMessage:"Unfortunately, this page is not publicly available. To see this page, you need to log in."},"error.not_found":{id:"error.not_found",defaultMessage:"Page not found"},"error.btn.go_back_to_home":{id:"v4_website.error.btn.go_back_to_home",defaultMessage:"Go back to home"}});e.s(["errorMessages",0,s,"websitesErrorMessage",0,a])},511105,e=>{e.v(t=>Promise.all(["static/chunks/3600rpq03iuy0.js"].map(t=>e.l(t))).then(()=>t(696287)))},305952,e=>{e.v({clubLogoHeader__clubee:"PoweredByClubLogoHeader-module-scss-module__YACYza__clubLogoHeader__clubee",clubLogoHeader__clubee__text:"PoweredByClubLogoHeader-module-scss-module__YACYza__clubLogoHeader__clubee__text",clubLogoHeader__logo:"PoweredByClubLogoHeader-module-scss-module__YACYza__clubLogoHeader__logo",clubLogoHeader__separator:"PoweredByClubLogoHeader-module-scss-module__YACYza__clubLogoHeader__separator",clubLogoHeader__wrapper:"PoweredByClubLogoHeader-module-scss-module__YACYza__clubLogoHeader__wrapper"})},621873,e=>{"use strict";var t=e.i(843476),s=e.i(778875);let a=({})=>(0,t.jsx)("div",{children:(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"99",height:"33",viewBox:"0 0 99 33",f
38ill:"none",children:[(0,t.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M24.433 10.084L21.0704 25.8478C20.9783 26.3037 20.704 26.532 20.2474 26.5327H17.1543C16.6969 26.5327 16.5128 26.3044 16.6019 25.8478L19.9646 10.084C20.0559 9.62662 20.3302 9.39831 20.7876 9.39905H23.8807C24.338 9.39905 24.5222 9.62735 24.433 10.084ZM17.6779 14.1967L17.1255 16.8237C17.0339 17.1882 16.8284 17.376 16.4627 17.376H7.65948C6.35595 17.376 6.03559 17.7416 5.69203 19.2959C5.25789 21.3286 5.1894 21.6721 5.1894 21.9472C5.1894 22.6332 5.55505 22.8155 6.49293 22.8155H15.3028C15.6696 22.8155 15.8065 22.9989 15.7381 23.3678L15.1857 25.9959C15.0937 26.3641 14.865 26.5482 14.4997 26.5482H5.23469C1.82562 26.5327 0.5 25.6424 0.5 23.4949C0.5 22.9922 0.568491 22.4211 1.41468 18.4C2.12389 14.9954 3.77098 13.6499 7.97984 13.6499H17.2437C17.6094 13.6499 17.7464 13.8333 17.6779 14.2022V14.1967ZM41.1691 21.7804L42.7466 14.3337H42.7454C42.836 13.8763 42.6519 13.6477 42.1931 13.6477H39.1055C38.6482 13.6477 38.3738 13.8763 38.2825 14.3337L36.9326 20.6613C36.6122 22.2145 36.2698 22.5802 34.9662 22.5802H29.1655C28.3193 22.5802 28.0454 22.4476 28.0454 21.8953C28.0675 21.4792 28.1285 21.0661 28.2276 20.6613L29.5754 14.3304C29.6645 13.873 29.4804 13.6444 29.023 13.6444H25.9354C25.4751 13.6444 25.2015 13.8734 25.1146 14.3315L23.536 21.7782C23.4074 22.3483 23.3386 22.9303 23.3306 23.5147C23.3306 25.6623 24.6562 26.5305 28.0642 26.5305H34.5818C38.7896 26.5305 40.4366 25.185 41.1691 21.7804ZM80.5025 19.9753C80.2971 20.9806 79.8165 21.3009 78.9019 21.3009H68.2427C68.1823 21.5484 68.1453 21.801 68.1323 22.0554C68.1323 22.5802 68.4515 22.8088 69.4811 22.8088H78.9737C79.3393 22.8088 79.4774 22.9922 79.4078 23.3612L78.8555 25.9892C78.7649 26.3575 78.5362 26.5416 78.1694 26.5416H68.2173C64.8083 26.5416 63.4826 25.6512 63.4826 23.5037C63.4826 23.0011 63.5511 22.4299 64.3973 18.4089C65.1065 15.0042 66.7525 13.6587 70.9614 13.6587H77.8005C80.3158 13.6587 81.2548 14.2751 81.2548 15.8979C81.2548 16.3553 81.1852 16.88 80.4992 19.9853L80.5025 19.9753ZM70.7128 17.0523H76.202C76.5235 17.0523 76.6604 17.1661 76.6604 17.4169C76.6604 17.4865 76.6604 17.555 76.4771 18.3768C76.4743 18.445 76.4428 18.5088 76.3904 18.5524C76.3379 18.5959 76.2695 18.6153 76.202 18.6055H68.815C69.0668 17.4169 69.4093 17.0523 70.7128 17.0523ZM98.1455 19.9753C97.94 20.9806 97.4595 21.3009 96.5437 21.3009H85.8857C85.8255 21.5485 85.7885 21.8011 85.7752 22.0554C85.7752 22.5802 86.0956 22.8088 87.1251 22.8088H96.6177C96.9834 22.8088 97.1204 22.9922 97.0519 23.3612L96.4995 25.9892C96.4075 26.3575 96.1788 26.5416 95.8135 26.5416H85.8625C82.4545 26.5416 81.1278 25.6512 81.1278 23.5037C81.1278 23.0011 81.1963 22.4299 82.0425 18.4089C82.7517 15.0042 84.3988 13.6587 88.6076 13.6587H95.4467C97.9621 13.6587 98.9 14.2751 98.9 15.8979C98.9 16.3553 98.8315 16.88 98.1455 19.9853V19.9753ZM88.3558 17.0523H93.8461C94.1664 17.0523 94.3045 17.1661 94.3045 17.4169C94.3045 17.4865 94.3045 17.555 94.1211 18.3768C94.118 18.4449 94.0865 18.5084 94.0341 18.5519C93.9818 18.5955 93.9135 18.6149 93.8461 18.6055H86.4579C86.7087 17.4169 87.0522 17.0523 88.3558 17.0523Z",fill:"var(--theme-text-background)"}),(0,t.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M44.6517 12.7146L44.629 12.7142C44.3555 12.7081 44.0989 12.5808 43.9286 12.3668C43.7583 12.1527 43.6919 11.8741 43.7474 11.6062C44.1948 9.4808 44.7582 7.54871 45.9027 5.81987C45.9854 5.70385 46.0897 5.60484 46.2098 5.52823H46.2186C46.5776 4.25453 47.6702 1.76898 50.8738 0.510745C50.9458 0.483062 51.0274 0.510324 51.0684 0.575772C51.1093 0.641219 51.0981 0.726498 51.0417 0.779184C50.2496 1.51822 48.9163 2.90129 48.4744 4.27994C48.9076 4.10083 49.3561 3.96108 49.8144 3.86237C49.8785 3.84911 49.9436 3.83696 50.0077 3.82591C50.1905 3.79464 50.3749 3.77325 50.56 3.76184C50.4406 3.93219 50.3686 4.13118 50.3513 4.33849C50.4756 4.13484 50.6133 3.93962 50.7633 3.75411H50.7733C51.6736 2.62401 53.314 1.22879 56.047 0.940469C56.1252 0.930928 56.1988 0.979179 56.2212 1.05463C56.2436 1.13008 56.2083 1.21069 56.1376 1.24536C55.1997 1.73363 53.6001 2.68698 52.786 3.86126C52.9296 3.90038 53.0152 3.95185 53.1168 4.01303C53.173 4.04689 53.2342 4.08372 53.3129 4.12307L53.3284 4.1297C53.3354 4.13338 53.3418 4.13824 53.3472 4.14406C55.2749 5.48405 55.2749 8.94835 52.955 10.6816C51.0991 12.0658 48.9594 12.5408 46.7224 12.6899C46.0479 12.7358 45.3691 12.7255 44.6517 12.7146ZM50.7876 6.63734C50.2673 6.86822 49.7139 7.22945 49.4056 7.6879C49.1477 8.07187 49.0002 8.53017 48.8398 9.02859C48.7639 9.26435 48.6851 9.50909 48.5904 9.75918C49.9017 9.84977 50.9787 9.70616 51.9288 9.04335C52.4844 8.65892 52.6656 7.79837 52.3342 7.20073C51.9917 6.58431 51.3952 6.3689 50.7876 6.63734Z",fill:"var(--theme-text-background)"}),(0,t.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M65.2657 10.7423C65.4789 9.63763 64.9498 8.90743 63.8385 8.8522C63.2585 8.82993 62.6778 8.85914 62.103 8.93947C61.4252 9.02755 60.7486 9.12776 60.0719 9.22796C59.0515 9.37909 58.0309 9.53024 57.006 9.63984C55.7698 9.7713 54.7204 10.0165 53.714 10.9467C52.0813 12.4557 49.9227 12.9517 47.7575 13.2477C46.5225 13.3947 46.1502 13.588 46.1502 13.588C45.8188 13.7194 45.4973 13.9846 45.2521 14.4717C45.0312 14.9136 43.0737 18.8905 42.8925 21.4313C42.836 22.2246 42.9976 23.1366 43.1543 24.0211L43.162 24.0648C43.3498 25.1132 43.4791 25.9748 43.4062 26.6277C43.0952 27.1445 42.3915 27.9973 41.8039 28.7095C41.3476 29.2625 40.9613 29.7307 40.8831 29.891C43.7784 29.6999 46.3082 29.0879 48.5805 27.2916C48.6263 27.2543 48.6469 27.1942 48.6335 27.1367C48.6201 27.0791 48.5751 27.0342 48.5175 27.021L47.7343 26.8354C47.6854 26.8257 47.6477 26.7865 47.6398 26.7372C47.6319 26.688 47.6555 26.639 47.699 26.6145C47.7465 26.5846 50.3801 26.515 51.6493 26.5305C54.5381 26.5659 57.0866 25.597 59.3943 23.929C60.725 22.9757 61.7898 21.698 62.4874 20.2172C63.0541 19.0164 62.4543 17.9128 61.1364 17.7538C60.9222 17.7276 60.7065 17.7181 60.457 17.7072L60.4568 17.7071L60.4564 17.7071L60.456 17.7071L60.4556 17.7071C60.3374 17.7019 60.2116 17.6964 60.0748 17.6886C62.7669 16.
380967 64.7553 13.398 65.2657 10.7423ZM46.2463 14.97C46.3634 14.7347 46.4938 14.6385 46.6075 14.6032C46.6398 14.5935 46.6733 14.5883 46.707 14.5877C46.7423 14.5877 48.2602 14.8219 49.3428 15.0009C49.1649 15.9874 48.9517 16.9197 48.7142 17.7946C47.6629 17.697 46.619 17.5317 45.589 17.2997C45.4786 17.2556 45.3681 17.2092 45.2576 17.1583C45.7199 16.0404 46.1483 15.1693 46.2337 14.9956L46.2463 14.97ZM45.7072 18.9159C45.3983 18.7075 45.1124 18.4668 44.8544 18.1978V18.2001C44.4589 19.2683 44.111 20.4194 44.0159 21.3473C44.3692 21.5839 44.7417 21.7905 45.1295 21.9648C45.734 22.2346 46.368 22.4329 47.0185 22.5558C47.3742 21.7671 47.7321 20.88 48.069 19.8991C47.2251 19.7288 46.4227 19.3948 45.7072 18.9159ZM44.2557 23.8671L44.2541 23.8584L44.2541 23.8584C44.185 23.4679 44.115 23.0722 44.0646 22.6917C44.2468 22.8497 44.4943 23.0529 44.8025 23.2805C45.2564 23.613 45.7293 23.9187 46.2187 24.1963C45.7142 25.1773 45.1308 26.1157 44.4744 27.0022C44.6059 26.2621 44.5164 25.417 44.3805 24.584C44.3442 24.3653 44.3051 24.1465 44.2667 23.9311L44.2667 23.9309L44.2667 23.9309L44.2666 23.9308L44.2557 23.8693V23.8671ZM44.4854 27.053H44.4667C44.4667 27.0563 44.4656 27.0641 44.4656 27.0641L44.4854 27.053ZM56.3829 21.3341C55.7566 21.7903 55.0661 22.2841 54.3337 22.4387C53.5506 22.6011 52.7407 22.6296 51.8924 22.6595L51.7013 22.6663C52.0184 22.0804 52.2357 21.4457 52.3442 20.7883C52.3983 20.4569 52.448 20.1322 52.4955 19.8206C53.6223 19.8206 54.7436 19.8273 55.8637 19.8471C56.1786 19.8471 56.6967 20.1001 56.7475 20.3233C56.8204 20.6226 56.637 21.1496 56.3829 21.3341ZM58.1283 14.8573C58.2474 14.683 58.33 14.4865 58.3714 14.2795H58.3703C58.4321 14.0158 58.2826 13.7485 58.0256 13.6631C57.8338 13.591 57.6307 13.5536 57.4257 13.5526C56.6106 13.5935 55.7975 13.6685 54.9844 13.7434C54.5897 13.7798 54.1951 13.8162 53.8002 13.8487C53.0099 13.9126 52.2196 13.9718 51.4289 14.031C51.1397 14.0526 50.8505 14.0743 50.5612 14.0961C51.2262 14.221 51.7996 14.3458 52.0691 14.4563C52.638 14.6772 52.849 15.3599 52.849 16.4447H53.0998C53.8027 16.4744 54.5067 16.4652 55.2086 16.4171C56.3774 16.3133 57.3992 15.8007 58.1283 14.8573Z",fill:"var(--theme-text-background)"})]})});var i=e.i(112458),r=e.i(305952);e.s(["default",0,({})=>(0,t.jsxs)("div",{className:r.default.clubLogoHeader__wrapper,children:[(0,t.jsx)("div",{className:r.default.clubLogoHeader__logo,children:(0,t.jsx)(s.default,{size:120})}),(0,t.jsx)("div",{className:r.default.clubLogoHeader__separator}),(0,t.jsxs)("div",{className:r.default.clubLogoHeader__clubee,children:[(0,t.jsxs)("span",{className:r.default.clubLogoHeader__clubee__text,children:[(0,t.jsx)(i.FormattedMessage,{id:"v3_login.logo.powered_by",defaultMessage:"Powered by"}),":"]}),(0,t.jsx)(a,{})]})]})],621873)},710960,e=>{e.v(t=>Promise.all(["static/chunks/35letj7bcj16z.js"].map(t=>e.l(t))).then(()=>t(375195)))},773521,e=>{"use strict";let t=(0,e.i(301005).defineMessages)({"shop.cart.variant_color_a11y":{id:"shop.cart.variant_color_a11y",defaultMessage:"#Color {color}"},"shop.cart.variant_size":{id:"shop.cart.variant_size",defaultMessage:"#Size: {size}"},"shop.cart.variant_id":{id:"shop.cart.variant_id",defaultMessage:"#Variant #{id}"},"shop.cart.question_id":{id:"shop.cart.question_id",defaultMessage:"#Question #{id}"},"shop.cart.title":{id:"shop.cart.title",defaultMessage:"#Cart"},"shop.cart.empty":{id:"shop.cart.empty",defaultMessage:"#Your cart is empty"},"shop.cart.continue_shopping":{id:"shop.cart.continue_shopping",defaultMessage:"#Continue Shopping"},"shop.cart.subtotal":{id:"shop.cart.subtotal",defaultMessage:"#Subtotal: {total}"},"shop.cart.proceed_to_checkout":{id:"shop.cart.proceed_to_checkout",defaultMessage:"#Proceed to checkout"},"shop.cart.agree_shop_terms":{id:"shop.cart.agree_shop_terms",defaultMessage:"#I agree with the shop's <termsLink>terms and conditions</termsLink>"},"shop.cart.agree_provider_terms":{id:"shop.cart.agree_provider_terms",defaultMessage:"#I agree with {organizationName}'s shop <termsLink>terms and conditions</termsLink>"},"shop.cart.terms_dialog_close":{id:"shop.cart.terms_dialog_close",defaultMessage:"#Close"},"shop.cart.summary":{id:"shop.cart.summary",defaultMessage:"#Cart summary"}
38,"shop.cart.item.total":{id:"shop.cart.item.total",defaultMessage:"#1 item / {total}"},"shop.cart.items.total":{id:"shop.cart.items.total",defaultMessage:"#{count} items / {total}"}});e.s(["cartMessages",0,t])},319551,e=>{e.v(t=>Promise.all(["static/chunks/1ych0qdl-u1xb.js"].map(t=>e.l(t))).then(()=>t(186146)))},378798,e=>{e.v({checkoutForm:"CheckoutLayout-module-scss-module__D4j97G__checkoutForm"})},66600,e=>{"use strict";var t=e.i(843476),s=e.i(481926),a=e.i(316174),i=e.i(782547),r=e.i(691102),n=e.i(107434),l=e.i(790498),o=e.i(819646),d=e.i(236807),u=e.i(939855),c=e.i(688762),m=e.i(828637),p=e.i(853332),g=e.i(662534),h=e.i(872729),f=e.i(936151),x=e.i(210557),_=e.i(127167),b=e.i(765952),y=e.i(413518),j=e.i(81144),v=e.i(812497),M=e.i(618566),S=e.i(271645),C=e.i(112458),w=e.i(11),P=e.i(128363),k=e.i(104941),I=e.i(731881),E=e.i(314632),T=e.i(499683);let N=(0,e.i(301005).defineMessages)({"shop.validation.email_invalid":{id:"shop.validation.email_invalid",defaultMessage:"#Please enter a valid email"},"shop.validation.email_required":{id:"shop.validation.email_required",defaultMessage:"#Please enter a valid email"},"shop.validation.first_name_required":{id:"shop.validation.first_name_required",defaultMessage:"#Please enter a first name"},"shop.validation.first_name_max_length":{id:"shop.validation.first_name_max_length",defaultMessage:"#First name must be 64 characters or less"},"shop.validation.last_name_required":{id:"shop.validation.last_name_required",defaultMessage:"#Please enter a last name"},"shop.validation.last_name_max_length":{id:"shop.validation.last_name_max_length",defaultMessage:"#Last name must be 64 characters or less"},"shop.validation.address_required":{id:"shop.validation.address_required",defaultMessage:"#Please enter an address"},"shop.validation.address_max_length":{id:"shop.validation.address_max_length",defaultMessage:"#Address must be 64 characters or less"},"shop.validation.city_required":{id:"shop.validation.city_required",defaultMessage:"#Please enter a city"},"shop.validation.city_max_length":{id:"shop.validation.city_max_length",defaultMessage:"#City must be 64 characters or less"},"shop.validation.zip_required":{id:"shop.validation.zip_required",defaultMessage:"#Please enter a zip"},"shop.validation.zip_max_length":{id:"shop.validation.zip_max_length",defaultMessage:"#Zip code must be 15 characters or less"},"shop.validation.company_max_length":{id:"shop.validation.company_max_length",defaultMessage:"#Company name must be 64 characters or less"},"shop.validation.country_required":{id:"shop.validation.country_required",defaultMessage:"#Please select a country"},"shop.validation.accept_terms_required":{id:"shop.validation.accept_terms_required",defaultMessage:"#Please accept our terms and conditions and privacy policy"},"shop.checkout.shipping_and_billing":{id:"shop.checkout.shipping_and_billing",defaultMessage:"#Shipping and billing"},"shop.checkout.shipping_address":{id:"shop.checkout.shipping_address",defaultMessage:"#Shipping address"},"shop.checkout.first_name":{id:"shop.checkout.first_name",defaultMessage:"#First name"},"shop.checkout.last_name":{id:"shop.checkout.last_name",defaultMessage:"#Last name"},"shop.checkout.company_name_optional":{id:"shop.checkout.company_name_optional",defaultMessage:"#Company name (Optional)"},"shop.checkout.email":{id:"shop.checkout.email",defaultMessage:"#Email"},"shop.checkout.address":{id:"shop.checkout.address",defaultMessage:"#Address"},"shop.checkout.address2_optional":{id:"shop.checkout.address2_optional",defaultMessage:"#Address 2 (optional)"},"shop.checkout.city":{id:"shop.checkout.city",defaultMessage:"#City"},"shop.checkout.zip_code":{id:"shop.checkout.zip_code",defaultMessage:"#Zip code"},"shop.checkout.country":{id:"shop.checkout.country",defaultMessage:"#Country"},"shop.checkout.use_shipping_as_billing":{id:"shop.checkout.use_shipping_as_billing",defaultMessage:"#Use shipping address as billing address"},"shop.checkout.billing_address":{id:"shop.checkout.billing_address",defaultMessage:"#Billing address"},"shop.checkout.accept_terms_start":{id:"shop.checkout.accept_terms_start",defaultMessage:"#I have read and accept the"},"shop.checkout.terms_conditions":{id:"shop.checkout.terms_conditions",defaultMessage:"#Terms & Conditions"},"shop.checkout.and":{id:"shop.checkout.and",defaultMessage:"#and"},"shop.checkout.privacy_policy":{id:"shop.checkout.privacy_policy",defaultMessage:"#Privacy Policy"},"shop.checkout.submitting":{id:"shop.checkout.submitting",defaultMessage:"#Submitting..."},"shop.checkout.continue_to_delivery_methods":{id:"shop.checkout.continue_to_delivery_methods",defaultMessage:"#Continue to delivery methods"}});var L=e.i(456589),R=e.i(378798);let A=function(e){let A,O,F=(0,w.useIntl)(),D=(0,M.useRouter)(),{club:$,prefix:z,website:q}=(0,y.useClub)(),{user:G,token:W}=(0,_.useAuth)(),U=(0,x.useTheme)(),{items:B,totalPrice:H,isLoading:Y,clearCart:V,isCartReady:K}=(0,b.useCart)(),{setCurrentOrder:Q}=(0,j.useOrder)(),Z=(0,E.useSystemPagePath)(r.WebsitePageType.CART),J=(0,E.useSystemPagePath)(r.WebsitePageType.PRODUCTS),X=(0,E.useSystemPagePath)(r.WebsitePageType.DELIVERY),[ee,et]=(0,S.useState)(!1),[es,ea]=(0,S.useState)([]),[ei,er]=(0,S.useState)(!0);(0,S.useEffect)(()=>{(async()=>
38{if(es.length>0)return er(!1);try{let e=await (0,P.getCountries)();ea(e)}catch(e){}finally{er(!1)}})()},[]),(0,S.useEffect)(()=>{K&&!Y&&(B&&0!==B.length||D.push(J))},[B,Y,K,J,D]),(0,S.useEffect)(()=>{B&&B.length>0&&z&&!Y&&K&&(0,I.gaEvent)({action:"begin_checkout",category:"shop",label:`items_count:${B.length}|total_value:${H}`,additionalProps:{clubSuffix:z}})},[B,z,Y,K,H]);let en=T.object().shape({email:T.string().email(F.formatMessage(N["shop.validation.email_invalid"])).required(F.formatMessage(N["shop.validation.email_required"])).test("Validate Email Characters",F.formatMessage(a.messages.invalidEmailCharacters),e=>(0,n.emailCharactersValidate)(e)),firstname:T.string().required(F.formatMessage(N["shop.validation.first_name_required"])).max(64,F.formatMessage(N["shop.validation.first_name_max_length"])),lastname:T.string().required(F.formatMessage(N["shop.validation.last_name_required"])).max(64,F.formatMessage(N["shop.validation.last_name_max_length"])),address:T.string().required(F.formatMessage(N["shop.validation.address_required"])).max(64,F.formatMessage(N["shop.validation.address_max_length"])),city:T.string().required(F.formatMessage(N["shop.validation.city_required"])).max(64,F.formatMessage(N["shop.validation.city_max_length"])),zip:T.string().required(F.formatMessage(N["shop.validation.zip_required"])).max(15,F.formatMessage(N["shop.validation.zip_max_length"])),company:T.string().nullable().max(64,F.formatMessage(N["shop.validation.company_max_length"])),address2:T.string().nullable(),country:T.object().nullable().required(F.formatMessage(N["shop.validation.country_required"])),billing_required:T.boolean(),billing_firstname:T.string().nullable().when("billing_required",{is:!0,then:e=>e.required(F.formatMessage(N["shop.validation.first_name_required"])).max(64,F.formatMessage(N["shop.validation.first_name_max_length"])),otherwise:e=>e}),billing_lastname:T.string().nullable().when("billing_required",{is:!0,then:e=>e.required(F.formatMessage(N["shop.validation.last_name_required"])).max(64,F.formatMessage(N["shop.validation.last_name_max_length"])),otherwise:e=>e}),billing_address:T.string().nullable().when("billing_required",{is:!0,then:e=>e.required(F.formatMessage(N["shop.validation.address_required"])).max(64,F.formatMessage(N["shop.validation.address_max_length"])),otherwise:e=>e}),billing_city:T.string().nullable().when("billing_required",{is:!0,then:e=>e.required(F.formatMessage(N["shop.validation.city_required"])).max(64,F.formatMessage(N["shop.validation.city_max_length"])),otherwise:e=>e}),billing_zip:T.string().nullable().when("billing_required",{is:!0,then:e=>e.required(F.formatMessage(N["shop.validation.zip_required"])).max(15,F.formatMessage(N["shop.validation.zip_max_length"])),otherwise:e=>e}),billing_address2:T.string().nullable(),billing_country:T.object().nullable().when("billing_required",{is:!0,then:e=>e.required(F.formatMessage(N["shop.validation.country_required"])),otherwise:e=>e}),acceptTerms:T.boolean().oneOf([!0],F.formatMessage(N["shop.validation.accept_terms_required"]))}),el=async e=>{if($&&B&&0!==B.length&&e.acceptTerms){et(!0);try{let t=(0,k.formatOrderData)(e,B),s=await (0,k.createOrder)({clubPrefix:z,orderData:t});if(!s.id||!s.hash)throw Error("Order created but missing required data");z&&(0,I.gaEvent)({action:"shipping_submitted",category:"shop",label:`postal_code:${e.billing_zip}|country:${e.billing_country?.name||"unknown"}`,additionalProps:{clubSuffix:z}}),Q(s),D.push((0,k.withOrderHashInQuery)(X,s.hash))}catch(e){console.error("Order creation failed:",e),et(!1)}}};return Y||ei?(0,t.jsx)(o.default,{sx:{display:"flex",justifyContent:"center",alignItems:"center",minHeight:"200px"},children:(0,t.jsx)(c.default,{})}):B&&0!==B.length?(0,t.jsxs)(o.default,{children:[(0,t.jsx)(o.default,{sx:{display:"flex",justifyContent:"space-between",alignItems:"flex-start",mb:3},children:(0,t.jsx)(s.default,{href:Z,children:(0,t.jsx)(C.FormattedMessage,{...L.shopSharedMessages.back})})}),(0,t.jsx)(o.default,{sx:{pb:4},children:(0,t.jsx)(i.Headline2,{children:(0,t.jsx)(C.FormattedMessage,{...N["shop.checkout.shipping_and_billing"]})})}),(0,t.jsx)(o.default,{sx:{mb:4},children:(0,t.jsx)(i.Paragraph2,{sx:{fontWeight:600,mb:3},children:(0,t.jsx)(C.FormattedMessage,{...N["shop.checkout.shipping_address"]})})}),(0,t.jsx)(v.Formik,{initialValues:(A=es.find(e=>"Luxembourg"===e.name||"Luxembourg"===e.translate||"Luxembourg"===e.translation)||es[0]||null,O=G?.country?.id&&es.find(e=>e.id===G.country.id)||A,{email:G?.email||"",firstname:G?.firstname||"",lastname:G?.lastname||"",address:G?.address1||G?.address||"",city:G?.town||G?.city||"",zip:G?.zipcode||G?.zip||"",company:null,address2:G?.address2||null,country:O,billing_required:!1,billing_firstname:G?.firstname||"",billing_lastname:G?.lastname||"",billing_address:G?.address1||G?.address||"",billing_city:G?.town||G?.city||"",billing_zip:G?.zipcode||G?.zip||"",billing_address2:G?.address2||null,billing_country:O,acceptTerms:!1}),validationSchema:en,onSubmit:el,enableReinitialize:!0,children:({values:e,errors:s,touched:a,handleChange:r,handleBlur:n,setFieldValue:c,isValid:x})=>(0,t.jsx)(v.Form,{children:(0,t.jsxs)(o.default,{className:R.default.checkoutForm,sx:{dis
38play:"flex",flexDirection:"column",gap:U.spacing(5)},children:[(0,t.jsx)(m.default,{fullWidth:!0,children:(0,t.jsx)(f.default,{name:"firstname",size:"small",label:F.formatMessage(N["shop.checkout.first_name"]),variant:"outlined",fullWidth:!0,value:e.firstname,onChange:r,onBlur:n,error:a.firstname&&!!s.firstname,helperText:a.firstname&&s.firstname,sx:{"& .MuiOutlinedInput-root":{borderRadius:q?.button_style==="SQUARE_CORNERS"?0:"8px"}}})}),(0,t.jsx)(m.default,{fullWidth:!0,children:(0,t.jsx)(f.default,{name:"lastname",size:"small",label:F.formatMessage(N["shop.checkout.last_name"]),variant:"outlined",fullWidth:!0,value:e.lastname,onChange:r,onBlur:n,error:a.lastname&&!!s.lastname,helperText:a.lastname&&s.lastname,sx:{"& .MuiOutlinedInput-root":{borderRadius:q?.button_style==="SQUARE_CORNERS"?0:"8px"}}})}),(0,t.jsx)(m.default,{fullWidth:!0,children:(0,t.jsx)(f.default,{name:"company",size:"small",label:F.formatMessage(N["shop.checkout.company_name_optional"]),variant:"outlined",fullWidth:!0,value:e.company||"",onChange:r,onBlur:n,sx:{"& .MuiOutlinedInput-root":{borderRadius:q?.button_style==="SQUARE_CORNERS"?0:"8px"}}})}),(0,t.jsx)(m.default,{fullWidth:!0,children:(0,t.jsx)(f.default,{name:"email",size:"small",label:F.formatMessage(N["shop.checkout.email"]),variant:"outlined",fullWidth:!0,value:e.email,onChange:r,onBlur:n,error:a.email&&!!s.email,helperText:a.email&&s.email,sx:{"& .MuiOutlinedInput-root":{borderRadius:q?.button_style==="SQUARE_CORNERS"?0:"8px"}}})}),(0,t.jsx)(m.default,{fullWidth:!0,children:(0,t.jsx)(f.default,{name:"address",size:"small",label:F.formatMessage(N["shop.checkout.address"]),variant:"outlined",fullWidth:!0,value:e.address,onChange:r,onBlur:n,error:a.address&&!!s.address,helperText:a.address&&s.address,sx:{"& .MuiOutlinedInput-root":{borderRadius:q?.button_style==="SQUARE_CORNERS"?0:"8px"}}})}),(0,t.jsx)(m.default,{fullWidth:!0,children:(0,t.jsx)(f.default,{name:"address2",size:"small",label:F.formatMessage(N["shop.checkout.address2_optional"]),variant:"outlined",fullWidth:!0,value:e.address2||"",onChange:r,onBlur:n,sx:{"& .MuiOutlinedInput-root":{borderRadius:q?.button_style==="SQUARE_CORNERS"?0:"8px"}}})}),(0,t.jsx)(m.default,{fullWidth:!0,children:(0,t.jsx)(f.default,{name:"city",size:"small",label:F.formatMessage(N["shop.checkout.city"]),variant:"outlined",fullWidth:!0,value:e.city,onChange:r,onBlur:n,error:a.city&&!!s.city,helperText:a.city&&s.city,sx:{"& .MuiOutlinedInput-root":{borderRadius:q?.button_style==="SQUARE_CORNERS"?0:"8px"}}})}),(0,t.jsx)(m.default,{fullWidth:!0,children:(0,t.jsx)(f.default,{name:"zip",size:"small",label:F.formatMessage(N["shop.checkout.zip_code"]),variant:"outlined",fullWidth:!0,value:e.zip,onChange:r,onBlur:n,error:a.zip&&!!s.zip,helperText:a.zip&&s.zip,sx:{"& .MuiOutlinedInput-root":{borderRadius:q?.button_style==="SQUARE_CORNERS"?0:"8px"}}})}),(0,t.jsx)(m.default,{fullWidth:!0,children:(0,t.jsx)(l.default,{id:"country-select",options:es,value:e.country,onChange:(e,t)=>
38c("country",t),getOptionLabel:e=>e?.translate||e?.translation||e?.name||"",renderInput:e=>(0,t.jsx)(f.default,{...e,name:"country",size:"small",label:F.formatMessage(N["shop.checkout.country"]),variant:"outlined",error:a.country&&!!s.country,helperText:a.country&&s.country?String(s.country):"",sx:{"& .MuiOutlinedInput-root":{borderRadius:q?.button_style==="SQUARE_CORNERS"?0:"8px"}}})})}),(0,t.jsxs)(o.default,{sx:{display:"flex",flexDirection:"column",gap:2},children:[(0,t.jsx)(p.default,{control:(0,t.jsx)(u.default,{checked:!e.billing_required,onChange:e=>c("billing_required",!e.target.checked),name:"billing_required",sx:{color:U.props.sectionMode.text_background,"&.Mui-checked":{color:U.props.sectionMode.accent},"&:hover":{backgroundColor:`${U.props.sectionMode.text_background}08`}}}),label:(0,t.jsx)(i.Paragraph2,{children:(0,t.jsx)(C.FormattedMessage,{...N["shop.checkout.use_shipping_as_billing"]})})}),e.billing_required&&(0,t.jsxs)(o.default,{sx:{display:"flex",flexDirection:"column",gap:U.spacing(5),mt:4,mb:4},children:[(0,t.jsx)(i.Paragraph2,{sx:{fontWeight:600},children:(0,t.jsx)(C.FormattedMessage,{...N["shop.checkout.billing_address"]})}),(0,t.jsx)(m.default,{fullWidth:!0,children:(0,t.jsx)(f.default,{name:"billing_firstname",size:"small",label:F.formatMessage(N["shop.checkout.first_name"]),variant:"outlined",fullWidth:!0,value:e.billing_firstname||"",onChange:r,onBlur:n,error:a.billing_firstname&&!!s.billing_firstname,helperText:a.billing_firstname&&s.billing_firstname,sx:{"& .MuiOutlinedInput-root":{borderRadius:q?.button_style==="SQUARE_CORNERS"?0:"8px"}}})}),(0,t.jsx)(m.default,{fullWidth:!0,children:(0,t.jsx)(f.default,{name:"billing_lastname",size:"small",label:F.formatMessage(N["shop.checkout.last_name"]),variant:"outlined",fullWidth:!0,value:e.billing_lastname||"",onChange:r,onBlur:n,error:a.billing_lastname&&!!s.billing_lastname,helperText:a.billing_lastname&&s.billing_lastname,sx:{"& .MuiOutlinedInput-root":{borderRadius:q?.button_style==="SQUARE_CORNERS"?0:"8px"}}})}),(0,t.jsx)(m.default,{fullWidth:!0,children:(0,t.jsx)(f.default,{name:"billing_address",size:"small",label:F.formatMessage(N["shop.checkout.address"]),variant:"outlined",fullWidth:!0,value:e.billing_address||"",onChange:r,onBlur:n,error:a.billing_address&&!!s.billing_address,helperText:a.billing_address&&s.billing_address,sx:{"& .MuiOutlinedInput-root":{borderRadius:q?.button_style==="SQUARE_CORNERS"?0:"8px"}}})}),(0,t.jsx)(m.default,{fullWidth:!0,children:(0,t.jsx)(f.default,{name:"billing_address2",size:"small",label:F.formatMessage(N["shop.checkout.address2_optional"]),variant:"outlined",fullWidth:!0,value:e.billing_address2||"",onChange:r,onBlur:n,sx:{"& .MuiOutlinedInput-root":{borderRadius:q?.button_style==="SQUARE_CORNERS"?0:"8px"}}})}),(0,t.jsx)(m.default,{fullWidth:!0,children:(0,t.jsx)(f.default,{name:"billing_city",size:"small",label:F.formatMessage(N["shop.checkout.city"]),variant:"outlined",fullWidth:!0,value:e.billing_city||"",onChange:r,onBlur:n,error:a.billing_city&&!!s.billing_city,helperText:a.billing_city&&s.billing_city,sx:{"& .MuiOutlinedInput-root":{borderRadius:q?.button_style==="SQUARE_CORNERS"?0:"8px"}}})}),(0,t.jsx)(m.default,{fullWidth:!0,children:(0,t.jsx)(f.default,{name:"billing_zip",size:"small",label:F.formatMessage(N["shop.checkout.zip_code"]),variant:"outlined",fullWidth:!0,value:e.billing_zip||"",onChange:r,onBlur:n,error:a.billing_zip&&!!s.billing_zip,helperText:a.billing_zip&&s.billing_zip,sx:{"& .MuiOutlinedInput-root":{borderRadius:q?.button_style==="SQUARE_CORNERS"?0:"8px"}}})}),(0,t.jsx)(m.default,{fullWidth:!0,children:(0,t.jsx)(l.default,{id:"billing-country-select",options:es,value:e.billing_country,onChange:(e,t)=>
38c("billing_country",t),getOptionLabel:e=>e?.translate||e?.translation||e?.name||"",renderInput:e=>(0,t.jsx)(f.default,{...e,name:"billing_country",size:"small",label:F.formatMessage(N["shop.checkout.country"]),variant:"outlined",error:a.billing_country&&!!s.billing_country,helperText:a.billing_country&&s.billing_country?String(s.billing_country):"",sx:{"& .MuiOutlinedInput-root":{borderRadius:q?.button_style==="SQUARE_CORNERS"?0:"8px"}}})})})]}),(0,t.jsx)(p.default,{control:(0,t.jsx)(u.default,{checked:e.acceptTerms,onChange:e=>c("acceptTerms",e.target.checked),name:"acceptTerms",sx:{color:U.props.sectionMode.text_background,"&.Mui-checked":{color:U.props.sectionMode.accent},"&:hover":{backgroundColor:`${U.props.sectionMode.text_background}08`}}}),label:(0,t.jsxs)(i.Paragraph2,{children:[(0,t.jsx)(C.FormattedMessage,{...N["shop.checkout.accept_terms_start"]})," ",(0,t.jsx)(h.default,{href:"https://get.clubee.com/terms-conditions",target:"_blank",rel:"noopener noreferrer",sx:{textDecoration:"underline"},children:(0,t.jsx)(C.FormattedMessage,{...N["shop.checkout.terms_conditions"]})})," ",(0,t.jsx)(C.FormattedMessage,{...N["shop.checkout.and"]})," ",(0,t.jsx)(h.default,{href:"https://get.clubee.com/privacy-policy",target:"_blank",rel:"noopener noreferrer",sx:{textDecoration:"underline"},children:(0,t.jsx)(C.FormattedMessage,{...N["shop.checkout.privacy_policy"]})})]})}),a.acceptTerms&&s.acceptTerms&&(0,t.jsx)(g.default,{error:!0,sx:{mt:.5},children:s.acceptTerms})]}),(0,t.jsx)(o.default,{sx:{display:"flex",justifyContent:"flex-end"},children:(0,t.jsx)(d.default,{type:"submit",variant:"contained",color:"primary",size:"large",disabled:ee,children:ee?(0,t.jsx)(C.FormattedMessage,{...N["shop.checkout.submitting"]}):(0,t.jsx)(C.FormattedMessage,{...N["shop.checkout.continue_to_delivery_methods"]})})})]})})})]}):null};e.s(["default",0,function(e){return(0,t.jsx)(A,{...e})}],66600)},464685,e=>{"use strict";var t=e.i(843476),s=e.i(710269),a=e.i(790849),i=e.i(306691),r=e.i(782547),n=e.i(691102),l=e.i(229160),o=e.i(978447),d=e.i(189224),u=e.i(353140),c=e.i(647686),m=e.i(659712),p=e.i(776552),g=e.i(937910),h=e.i(413518),f=e.i(364384),x=e.i(271645),_=e.i(11),b=e.i(612049),y=e.i(314632);let j=(0,e.i(301005).defineMessages)({combination_section_male:{id:"v4_website.combination_section_male",defaultMessage:"M"},combination_section_female:{id:"v4_website.combination_section_female",defaultMessage:"F"},combination_section_mixed:{id:"v4_website.combination_section_mixed",defaultMessage:"Mix"}});e.s(["default",0,function(e){let{section:v,data:M}=e;if(!("object"==typeof M&&null!==M&&"leagues"in M&&Array.isArray(M.leagues)))throw Error("Invalid data type for FederationLeague component");let{leagues:S}=M,C=(0,_.useIntl)(),w=(0,x.useRef)(!1),{prefix:P,club:k}=(0,h.useClub)(),{translations:I,extendTranslations:E}=(0,f.useTranslations)(),[T,N]=(0,x.useState)(M),[L,R]=(0,x.useState)(null),A=(0,x.useMemo)(()=>(0,l.uniqBy)(S.map(e=>({...e,value:[e.category?.id,e.gender].join("-")})),"value").map(e=>{let t="male"===e.gender?C.formatMessage({...j.combination_section_male}):"female"===e.gender?C.formatMessage({...j.combination_section_female}):C.formatMessage({...j.combination_section_mixed});return{categoryId:e.category?.id,value:e.value,label:`${C.formatMessage({id:e.category?.name,defaultMessage:e.category?.name||""})} ${t} `}}).sort((e,t)=>e.categoryId-t.categoryId),[S,L]),[O,F]=(0,x.useState)("1-male"),[D,$]=(0,x.useState)(M.league?.id||v.content?.league?.id),[z,q]=(0,x.useState)(!1),G=(0,y.useSystemPagePath)(n.WebsitePageType.STANDINGS,{leagues:D}),W=(0,x.useMemo)(()=>{let[e,t]=O.split("-");return S.filter(s=>s.category.id===Number(e)&&s.gender===t).map(e=>({label:e.name,value:e.id})).sort((e,t)=>e.label<t.label?-1:+(e.label>t.label))},[O]);(0,x.useEffect)(()=>{let e=M.league?.id||v.content?.league?.id,t=S.find(t=>t.id===e);F(A.find(e=>e.categoryId===t.category.id).value),B()},[]),(0,x.useEffect)(()=>{w.current&&(W.length?$(W[0].value):$(0))},[W]),(0,x.useEffect)(()=>{w.current&&H(D)},[D]),(0,x.useEffect)(()=>{w.current=!0},[]),(0,x.useEffect)(()=>{(0,l.isEmpty)(T.placeholders)||E(T.placeholders)},[T.placeholders]);let U=(0,x.useMemo)(()=>({...T,league:{id:D}}),[T,D]);async function B(){let e={};
38S.forEach(t=>{e[t.category.name]=t.category.name});let t=await (0,b.getTranslationByClub)({clubPrefix:P,translationKeys:e,language:k?.admin_lang||I.locale});E({[I.locale]:t}),R(j)}return(0,t.jsxs)(p.Box,{children:[(0,t.jsx)(p.Box,{pb:4,children:(0,t.jsx)(r.Headline2,{children:v.name})}),(0,t.jsx)(p.Box,{pb:4,children:(0,t.jsxs)(g.default,{container:!0,spacing:"8px",children:[(0,t.jsx)(g.default,{size:{xs:12,sm:5,md:5},children:(0,t.jsx)(a.default,{id:"genderCategory",value:O,name:"genderCategory",label:C.formatMessage(m.sectionMessages["section.combination.age_category"]),options:A,onChange:e=>{F(e.target.value)}})}),(0,t.jsx)(g.default,{size:{xs:12,sm:5,md:5},children:(0,t.jsx)(a.default,{id:"league",value:D,name:"league",label:C.formatMessage(m.sectionMessages["section.label.league"]),options:W,onChange:e=>{$(Number(e.target.value))}})})]})}),(0,t.jsxs)(g.default,{container:!0,spacing:"8px",children:[(0,t.jsxs)(g.default,{size:{xs:12,md:6},children:[(0,t.jsx)(p.Box,{pb:4,children:(0,t.jsx)(r.Headline3,{children:C.formatMessage(m.sectionMessages["section.calendar.games"])})}),z?(0,t.jsx)(i.default,{}):(0,t.jsx)(d.default,{...e,data:U,gameCardType:u.GameCardLayoutType.FLF,hideHeader:!0,hideViewMore:!0})]}),(0,t.jsxs)(g.default,{size:{xs:12,md:6},children:[(0,t.jsx)(p.Box,{pb:4,children:(0,t.jsx)(r.Headline3,{children:C.formatMessage(m.sectionMessages["navigation.tabs.standings"])})}),z?(0,t.jsx)(p.Box,{pb:4,children:(0,t.jsx)(i.default,{})}):(0,t.jsx)(c.default,{...e,data:U,hideHeader:!0,hideViewMore:!0}),(0,t.jsx)(p.Box,{justifyContent:"center",display:"flex",children:(0,t.jsx)(s.default,{applyBackgroundColor:!0,href:G,children:C.formatMessage(m.sectionMessages["section.combination.show_standings"])})})]})]})]});async function H(e){q(!0),N(await (0,o.getData)({section:v,query:{league:`${e}`},prefix:P,userLanguage:I.locale})),q(!1)}}],464685)},978447,e=>{"use strict";var t=e.i(856931),s=e.i(363972),a=e.i(329568),i=e.i(229160);function r(e,t){return e?Object.fromEntries(Object.entries(e).filter(([e])=>t.includes(e))):e}var n=e.i(383216),l=e.i(564366),o=e.i(196812),d=e.i(616166),u=e.i(571709),c=e.i(612049),m=e.i(251522),p=e.i(196699);let g=["stat1","stat2","stat3","stat4","stat8"];async function h(e){if(e.section.layout===t.SectionLayoutType.FLF_LEAGUE_OVERVIEW){let[t,s]=await Promise.all([f(e),x(e)]),a=t.categories?.map(e=>({...e,slug:e.name.toLowerCase().replace(/\s+/g,"-")}));return{...t,...s,categories:a}}return{}}async function f({prefix:e,section:t,query:s}){let r=s.league?Number(s[m.LEAGUE_KEY]):t.content?.league?.id,[n,o]=await Promise.all([(0,l.getLeagues)({clubPrefix:e}),(0,d.getSponsorCategories)({clubPrefix:e})]),u=null,c=0,g=0,h=null,x=[],_=[],b=(0,p.getGameSectionQueryString)(t.id);u=await (0,l.getLeagueGames)({leagueId:r,clubPrefix:e}).catch(()=>null);let y=s[b.direction],j=s[b.page];g=u.past.length;let v=(0,p.isValidGameSectionQueryString)({page:j,direction:y}),M=Number(j)-1;return h=[...u.past,u.current,...u.future],v&&"past"===y?(c=M,_=u.past[M]??[]):v&&"future"===y?(c=g+M,_=u.future[M]??[]):(_=u.current,c=g),(x=(0,i.isEmpty)(_)?[]:await (0,l.getMultipleGames)({ids:(0,i.uniqBy)(_,"id").map(e=>e.id),clubPrefix:e})).sort(a.gameSorter),{categories:o,chunkedGames:h,games:x,leagues:n,leagueGamesIndex:c,currentWeekIndex:g}}async function x({userLanguage:e,prefix:t,query:a,section:i}){let l=a.league?Number(a[m.LEAGUE_KEY]):i.content?.league?.id,d=await (0,n.getClub)({clubPrefix:t}).catch(()=>Promise.resolve(null)),p=(await (0,o.getSeasonsByType)({clubPrefix:t,seasonTypeId:1}).catch(()=>[])).find(e=>e.current),h=await (0,u.getLeagueStandings)({clubPrefix:t,leagueId:l,seasonId:p?.id,query:{most_recent_season:1}}).catch(()=>[{rows:[],header:{}}]),f=[],_={};h?.forEach(e=>{e.header=r(e.header,g),e.rows=e.rows?.map((e,t)=>({...r(e,g),group:{...e.group,ranking:t+1},0:{...e.group,ranking:t+1}})),_=Object.assign(_,(0,s.getSimpleStasInfoArrayPlaceholders)(e)),f.push(e)});let b=await (0,c.getTranslationByClub)({clubPrefix:t,translationKeys:_,language:d?.admin_lang||e});return{standingsStats:f,placeholders:{[e]:b}}}e.s(["getData",0,h],978447)},852841,e=>{e.v(e=>Promise.resolve().then(()=>e(978447)))},159945,e=>{"use strict";var t=e.i(843476),s=e.i(356437),a=e.i(934161),i=e.i(782547),r=e.i(776552),n=e.i(791882),l=e.i(210557),o=e.i(413518),d=e.i(117595),u=e.i(271645),c=e.i(112458),m=e.i(816973),p=e.i(967833);
38e.s(["default",0,function(){let{website:e,prefix:g}=(0,o.useClub)(),h=(0,l.useTheme)(),f=h.props?.sectionMode,[x,_]=(0,u.useState)({required:!0,customization:!1,analytical:!1,marketing:!1}),[b,y]=(0,u.useState)(!1),[j,v]=(0,u.useState)(!0);(0,u.useEffect)(()=>{let e=(0,p.getUserCookie)(p.COOKIE_SETTINGS_NAME);if(e)try{let t=JSON.parse(decodeURIComponent(e));_({required:!0,customization:t.customization||!1,analytical:t.analytical||!1,marketing:t.marketing||!1})}catch(e){console.error("Failed to parse cookie settings:",e)}v(!1)},[]);let M=(e,t)=>{_(s=>({...s,[e]:t}))},S=async()=>{let e=new Date;e.setMonth(e.getMonth()+12);let t=(0,p.defineCookieDomain)(),s=JSON.stringify(x);d.default.remove(p.COOKIE_SETTINGS_NAME,{domain:t,path:"/"}),d.default.remove(p.COOKIE_SETTINGS_NAME,{domain:`.${t}`,path:"/"}),d.default.remove(p.COOKIE_SETTINGS_NAME,{path:"/"}),(0,p.setUserCookie)({cookieName:p.COOKIE_SETTINGS_NAME,value:s,domain:t,expires:e,sameSite:"Lax",path:"/"});try{(0,p.getUserCookie)("token")&&g&&await (0,m.request)({endpoint:"/me",method:"PATCH",body:{cookies:x},clubPrefix:g,isPrivate:!0})}catch(e){console.error("Failed to sync cookie preferences to backend:",e)}y(!0),setTimeout(()=>{y(!1)},5e3)};return j?null:(0,t.jsx)(n.Container,{maxWidth:"md",children:(0,t.jsxs)(r.Box,{sx:{py:{xs:4,md:6},minHeight:"400px"},children:[(0,t.jsx)(r.Box,{sx:{mb:3},children:(0,t.jsx)(i.Headline2,{children:(0,t.jsx)(c.FormattedMessage,{id:"cookie.banner.cookie_settings",defaultMessage:"Cookie Settings"})})}),(0,t.jsx)(r.Box,{sx:{mb:4},children:(0,t.jsx)(i.Paragraph1,{children:(0,t.jsx)(c.FormattedMessage,{id:"cookie.banner.intro_text",defaultMessage:"Clubee uses cookies and similar technologies to ensure our website functions correctly, to personalise your experience, to analyse usage, and to support marketing activities. Some cookies are essential, while others are optional and used only with your consent. You can change your cookie preferences at any time."})})}),(0,t.jsx)(r.Box,{sx:{mb:3},children:(0,t.jsx)(i.Headline2,{sx:{fontSize:"1.5rem",mb:2},children:(0,t.jsx)(c.FormattedMessage,{id:"cookie.banner.cookie_categories",defaultMessage:"Cookie Categories"})})}),(0,t.jsxs)(r.Box,{sx:{mb:4},children:[(0,t.jsx)(r.Box,{sx:{mb:3,pb:3,borderBottom:`1px solid ${f?.text_background}20`},children:(0,t.jsx)(a.default,{id:"cookie-required",name:"required",checked:x.required,disabled:!0,onChange:()=>void 0,label:(0,t.jsxs)(r.Box,{children:[(0,t.jsx)(i.Paragraph2,{sx:{fontWeight:"bold",mb:1},children:(0,t.jsx)(c.FormattedMessage,{id:"cookie.banner.checkbox.required",defaultMessage:"Required"})}),(0,t.jsx)(i.Paragraph2,{sx:{fontSize:"0.9rem",opacity:.8,whiteSpace:"pre-line"},children:(0,t.jsx)(c.FormattedMessage,{id:"cookie.banner.required_description",defaultMessage:'Essential for the website to work. These enable security, logins, and core features. They cannot be disabled.{"\\n\\n"}Cookies used: Stripe payment cookies (__stripe_mid, __stripe_sid), session cookies.'})})]})})}),(0,t.jsx)(r.Box,{sx:{mb:3,pb:3,borderBottom:`1px solid ${f?.text_background}20`},children:(0,t.jsx)(a.default,{id:"cookie-customization",name:"customization",checked:x.customization,disabled:!1,onChange:e=>M("customization",e.target.checked),label:(0,t.jsxs)(r.Box,{children:[(0,t.jsx)(i.Paragraph2,{sx:{fontWeight:"bold",mb:1},children:(0,t.jsx)(c.FormattedMessage,{id:"cookie.banner.checkbox.customization",defaultMessage:"Customisation"})}),(0,t.jsx)(i.Paragraph2,{sx:{fontSize:"0.9rem",opacity:.8},children:(0,t.jsx)(c.FormattedMessage,{id:"cookie.banner.customization_description",defaultMessage:"Used to remember your preferences, such as language and interface settings."})})]})})}),(0,t.jsx)(r.Box,{sx:{mb:3,pb:3,borderBottom:`1px solid ${f?.text_background}20`},children:(0,t.jsx)(a.default,{id:"cookie-analytical",name:"analytical",checked:x.analytical,disabled:!1,onChange:e=>M("analytical",e.target.checked),label:(0,t.jsxs)(r.Box,{children:[(0,t.jsx)(i.Paragraph2,{sx:{fontWeight:"bold",mb:1},children:(0,t.jsx)(c.FormattedMessage,{id:"cookie.banner.checkbox.analytical",defaultMessage:"Analytical"})}),(0,t.jsx)(i.Paragraph2,{sx:{fontSize:"0.9rem",opacity:.8,whiteSpace:"pre-line"},children:(0,t.jsx)(c.FormattedMessage,{id:"cookie.banner.analytical_description",defaultMessage:'Help us understand how the website is used, improve performance, and detect issues. These may involve third-party analytics providers such as Google Analytics.{"\\n\\n"}Cookies used: _ga, _gid.'})})]})})}),(0,t.jsx)(r.Box,{sx:{mb:3,pb:3,borderBottom:`1px solid ${f?.text_background}20`},children:(0,t.jsx)(a.default,{id:"cookie-marketing",name:"marketing",checked:x.marketing,disabled:!1,onChange:e=>M("marketing",e.target.checked),label:(0,t.jsxs)(r.Box,{children:[(0,t.jsx)(i.Paragraph2,{sx:{fontWeight:"bold",mb:1},children:(0,t.jsx)(c.FormattedMessage,{id:"cookie.banner.checkbox.marketing",defaultMessage:"Marketing"})}),(0,t.jsx)(i.Paragraph2,{sx:{fontSize:"0.9rem",opacity:.8,whiteSpace:"pre-line"},children:(0,t.jsx)(c.FormattedMessage,{id:"cookie.banner.marketing_description",defaultMessage:'Used to display relevant content or advertisements and to measure marketing performance. These may set third-party cookies from embedded media or map services such as YouTube, Vimeo, or Google Maps.{"\\n\\n"}Cookies used:{"\\n"}• YouTube: YSC, VISITOR_INFO1_LIVE{"\\n"}• Vimeo: vuid, player{"\\n"}• Google Maps: NID, CONSENT'})})]})})})]}),(0,t.jsxs)(r.Box,{sx:{mb:4},children:[(0,t.jsx)(i.Headline2,{sx:{fontSize:"1.5rem",mb:2},children:(0,t.jsx)(c.FormattedMessage,{id:"cookie.banner.legal_information",defaultMessage:"Legal Information"})}),(0,t.jsx)(i.Paragraph1,{sx:{mb:2},children:(0,t.jsx)(c.FormattedMessage,{id:"cookie.banner.legal_required",defaultMessage:"Required cookies are used based on our legitimate interest in providing a functional and secure website."})}),(0,t.jsx)(i.Paragraph1,{sx:{mb:2},children:(0,t.jsx)(c.FormattedMessage,{id:"cookie.banner.legal_optional",defaultMessage:"Customisation, Analytical, and Marketing cookies are used only with your explicit consent."})}),(0,t.jsx)(i.Paragraph1,{sx:{mb:2},children:(0,t.jsx)(c.FormattedMessage,{id:"cookie.banner.legal_usa_transfer",defaultMessage:"Some third-party cookies may transfer data to the USA, which is not considered a safe third country under EU data protection law. By consenting to these cookies, you agree to this possible data transfer."})}),(0,t.jsx)(i.Paragraph1,{children:(0,t.jsx)(c.FormattedMessage,{id:"cookie.banner.legal_withdraw",defaultMessage:"You can withdraw your consent at any time through the cookie settings."})})]}),(0,t.jsxs)(r.Box,{sx:{mb:4},children:[(0,t.jsx)(i.Headline2,{sx:{fontSize:"1.5rem",mb:2},children:(0,t.jsx)(c.FormattedMessage,{id:"cookie.banner.contact",defaultMessage:"Contact"})}),(0,t.jsx)(i.Paragraph1,{sx:{mb:2},children:(0,t.jsx)(c.FormattedMessage,{id:"cookie.banner.contact_intro",defaultMessage:"For questions about cookies or data protection, contact us at:"})}),(0,t.jsx)(i.Paragraph1,{sx:{mb:1},children:(0,t.jsx)("strong",{children:"Clubee"})}),(0,t.jsx)(i.Paragraph1,{sx:{mb:1},children:(0,t.jsx)("a",{href:"mailto:[email protected]",style:{color:f?.accent||"inherit"},children:"[email protected]"})}),(0,t.jsx)(i.Paragraph1,{children:"12, rue de l'Industrie, L-3895 Foetz, R.C.S. Luxembourg"})]}),(0,t.jsx)(r.Box,{sx:{display:"flex",justifyContent:"flex-start",mt:6,mb:3},children:(0,t.jsx)(s.default,{onClick:S,children:(0,t.jsx)(c.FormattedMessage,{id:"cookie.banner.button.save_settings",defaultMessage:"Save Preferences"})})}),b&&(0,t.jsxs)(r.Box,{sx:{backgroundColor:f?.card,border:`1px solid ${f?.accent}`,borderRadius:e?.button_style==="SQUARE_CORNERS"?0:"8px",padding:3,display:"flex",alignItems:"center",gap:2},children:[(0,t.jsx)(r.Box,{sx:{width:24,height:24,borderRadius:"50%",backgroundColor:f?.accent,display:"flex",alignItems:"center",justifyContent:"center",color:f?.text_accent,fontWeight:"bold"},children:"✓"}),(0,t.jsx)(i.Paragraph2,{children:(0,t.jsx)(c.FormattedMessage,{id:"cookie.banner.preferences_saved",defaultMessage:"Your cookie preferences have been updated."})})]})]})})}])},898875,e=>{e.v({buttons:"Course-module-scss-module__gJQWxW__buttons",container:"Course-module-scss-module__gJQWxW__container",image:"Course-module-scss-module__gJQWxW__image",lessonCard:"Course-module-scss-module__gJQWxW__lessonCard",lessonCardArrow:"Course-module-scss-module__gJQWxW__lessonCardArrow",lessonCardContainer:"Course-module-scss-module__gJQWxW__lessonCardContainer",lessonCardTitle:"Course-module-scss-module__gJQWxW__lessonCardTitle",lessons:"Course-module-scss-module__gJQWxW__lessons",lessonsTitle:"Course-module-scss-module__gJQWxW__lessonsTitle",status:"Course-module-scss-module__gJQWxW__status",statusCard:"Course-module-scss-module__gJQWxW__statusCard",statusContainer:"Course-module-scss-module__gJQWxW__statusContainer",tags:"Course-module-scss-module__gJQWxW__tags"})},968637,e=>{"use strict";
38var t=e.i(843476),s=e.i(710269),a=e.i(844722),i=e.i(659360),r=e.i(425211),n=e.i(782547),l=e.i(705729),o=e.i(691102),d=e.i(534327),u=e.i(329568),c=e.i(224467),m=e.i(867129),p=e.i(659712),g=e.i(509436),h=e.i(776552),f=e.i(522016),x=e.i(618566),_=e.i(112458),b=e.i(11),y=e.i(314632),j=e.i(898875);e.s(["default",0,function(e){let{course:v,tags:M,selectedUserId:S}=e.data,C=(0,y.useSystemPagePath)(o.WebsitePageType.EDUCATION_LESSON),w=(0,y.useSystemPagePath)(o.WebsitePageType.EDUCATION_COURSES_OVERVIEW),P=(0,b.useIntl)();(0,l.useRequireAuth)();let k=(0,x.useRouter)(),I=v?.users?.map(e=>e.status),E=M?.filter(e=>v?.tags?.some(t=>t.tag.id===e.id&&(t?.expiration_date===void 0||!(0,u.checkDateInPast)(t.expiration_date))))||[],T=S?v?.status:(0,d.getCombinedEducationStatus)(I)||v?.status,N=S||!v?.users?.length?v?.progress:{lessons_completed:Math.min(...v.users.map(e=>e.progress?.lessons_completed??0)),lessons_total:v.progress?.lessons_total};return v?(0,t.jsxs)("article",{className:j.default.container,children:[v?.image?.url&&(0,t.jsx)("img",{src:v?.image?.url,className:j.default.image}),(0,t.jsx)(n.Headline2,{children:v?.name}),(0,t.jsx)(h.Box,{className:j.default.tags,children:E.map(e=>(0,t.jsx)(r.default,{name:e.name,color:e.color},"course-tag-"+e.id))}),(0,t.jsx)(a.default,{children:(0,t.jsxs)(h.Box,{className:j.default.statusCard,children:[(0,t.jsx)(n.Paragraph1,{children:(0,t.jsx)("strong",{children:(0,t.jsx)(_.FormattedMessage,{...p.sectionMessages["education.your.status"]})})}),(0,t.jsxs)(h.Box,{className:j.default.statusContainer,children:[(0,t.jsx)(n.Paragraph2,{className:j.default.status,children:"not_started"===T?(0,t.jsx)(_.FormattedMessage,{...p.sectionMessages["education.not.started"]}):"in_progress"===T?(0,t.jsx)(_.FormattedMessage,{...p.sectionMessages["education.in.progress"]}):"completed"===T?(0,t.jsx)(_.FormattedMessage,{...p.sectionMessages["education.completed"]}):null}),(0,t.jsxs)(n.Paragraph2,{children:[N?.lessons_completed,"/",N?.lessons_total," ",(0,t.jsx)(_.FormattedMessage,{...p.sectionMessages["education.lessons.complete"]})]})]})]})}),(0,t.jsx)(n.Paragraph1,{children:v?.description}),(0,t.jsx)(n.Headline2,{className:j.default.lessonsTitle,children:(0,t.jsx)(_.FormattedMessage,{...p.sectionMessages["education.lessons"]})}),(0,t.jsxs)(h.Box,{className:j.default.lessons,children:[v?.lessons?.map(e=>{var s,r;
38let l=(s=v.id,r=e.id,C?`${C}/course/${s}/lesson/${r}${S?`?user=${S}`:""}`:null),o=S?e.status:(0,d.getCombinedEducationStatus)(e.users?.map(e=>e.status))||e.status;return(0,t.jsx)(i.TabDiv,{onClick:()=>k.push(l),className:j.default.lessonCardContainer,children:(0,t.jsx)(a.default,{children:(0,t.jsxs)(h.Box,{className:j.default.lessonCard,children:[(0,t.jsxs)(h.Box,{children:[(0,t.jsx)(n.Paragraph1,{className:j.default.lessonCardTitle,children:(0,t.jsx)("strong",{children:e.name})}),(0,t.jsx)(h.Box,{className:j.default.statusContainer,children:(0,t.jsx)(n.Paragraph2,{className:j.default.status,children:"not_started"===o?(0,t.jsx)(_.FormattedMessage,{...p.sectionMessages["education.not.started"]}):"in_progress"===o?(0,t.jsx)(_.FormattedMessage,{...p.sectionMessages["education.in.progress"]}):"completed"===o?(0,t.jsx)(_.FormattedMessage,{...p.sectionMessages["education.completed"]}):null})})]}),(0,t.jsx)(h.Box,{className:j.default.lessonCardArrow,children:(0,t.jsx)(g.default,{})})]})})},"lesson-"+e.id)}),v?.lessons?.length===0&&(0,t.jsx)(c.default,{})]}),w&&(0,t.jsx)(h.Box,{className:j.default.buttons,children:(0,t.jsx)(f.default,{href:w,children:(0,t.jsx)(s.default,{children:(0,t.jsx)(_.FormattedMessage,{...p.sectionMessages["education.course.back.to.overview"]})})})})]}):(0,t.jsx)(m.default,{mods:"media-placeholder",fullScreenSize:1,smallScreenSize:1,title:P.formatMessage({id:"v3_gamesandstandings.no.data",defaultMessage:"There is no data to display"})})}])},473223,e=>{e.v(t=>Promise.all(["static/chunks/0csxt2jck8brn.js"].map(t=>e.l(t))).then(()=>t(448310)))},663237,e=>{e.v({card:"CourseOverview-module-scss-module__NtTqSW__card",cardArrow:"CourseOverview-module-scss-module__NtTqSW__cardArrow",cardContainer:"CourseOverview-module-scss-module__NtTqSW__cardContainer",cardContent:"CourseOverview-module-scss-module__NtTqSW__cardContent",cardsContainer:"CourseOverview-module-scss-module__NtTqSW__cardsContainer",categoryContainer:"CourseOverview-module-scss-module__NtTqSW__categoryContainer",description:"CourseOverview-module-scss-module__NtTqSW__description",status:"CourseOverview-module-scss-module__NtTqSW__status"})},809144,e=>{"use strict";var t=e.i(843476),s=e.i(844722),a=e.i(761189),i=e.i(763085),r=e.i(267786),n=e.i(182472),l=e.i(369437),o=e.i(271645);let d=(0,t.jsx)(i.default,{fontSize:"small"}),u=(0,t.jsx)(a.default,{fontSize:"small"});function c(e){let{id:s,options:a,value:i,onChange:c,placeholder:m,limitTags:p=1}=e,[g,h]=(0,o.useState)(!1);return(0,t.jsx)(r.Autocomplete,{multiple:!0,fullWidth:!0,id:s,options:a,disableCloseOnSelect:!0,getOptionLabel:e=>e.label,value:i,onChange:c,renderOption:(e,s,{selected:a})=>{let{key:i,...r}=e;return(0,t.jsxs)("li",{...r,children:[(0,t.jsx)(n.Checkbox,{icon:d,checkedIcon:u,style:{marginRight:8},checked:a}),s.label]},i)},renderInput:e=>(0,t.jsx)(l.TextField,{...e,label:m,placeholder:m}),renderTags:g?()=>null:void 0,onFocus:()=>{h(!0)},onBlur:()=>{h(!1)},limitTags:p})}var m=e.i(659360),p=e.i(782547),g=e.i(705729),h=e.i(691102),f=e.i(534327),x=e.i(329568),_=e.i(228488),b=e.i(867129),y=e.i(659712),j=e.i(509436),v=e.i(776552),M=e.i(936057),S=e.i(413518),C=e.i(618566),w=e.i(112458),P=e.i(11),k=e.i(663237);e.s(["default",0,function(e){let{tags:a,categoriesOverview:i}=e.data,r=(0,P.useIntl)(),{pages:n}=(0,S.useClub)(),l=(0,C.useRouter)(),d=(0,C.useSearchParams)();(0,g.useRequireAuth)();let u=d.get("categories")?.split(",").map(Number),I=d.get("tags")?.split(",").map(Number),[E,T]=(0,o.useState)(I||[]),[N,L]=(0,o.useState)(u||[]),R=i?.filter(e=>e.courses?.length>0)?.map(e=>({label:e.name,value:e.id}))||[],A=(0,o.useMemo)(()=>a.filter(e=>i?.some(t=>t.courses?.some(t=>t.tags?.some(t=>t.tag.id===e.id&&(t?.expiration_date===void 0||!(0,x.checkDateInPast)(t.expiration_date)))))),[a,i]),O=(0,o.useMemo)(()=>A.map(e=>({label:e.name,value:e.id})),[A]),F=(e,t)=>{let s=new URLSearchParams(d.toString());t?s.set(e,t):s.delete(e),l.replace(`?${s.toString()}`)};return i&&0!==i.length?(0,t.jsxs)(v.Box,{children:[(0,t.jsx)(p.Headline2,{sx:{mb:2},children:(0,t.jsx)(w.FormattedMessage,{...y.sectionMessages["educational.material"]})}),(0,t.jsxs)(M.Grid,{container:!0,spacing:2,children:[(0,t.jsx)(M.Grid,{size:{xs:12,md:6},children:(0,t.jsx)(c,{id:"categories",placeholder:r.formatMessage(y.sectionMessages["educational.category"]),options:R,value:R.filter(e=>N.includes(e.value)),onChange:(e,t)=>
38{L(t.map(e=>e.value)),F("categories",t.map(e=>e.value).join(","))}})}),(0,t.jsx)(M.Grid,{size:{xs:12,md:6},sx:{mb:4},children:(0,t.jsx)(c,{id:"tags",placeholder:r.formatMessage(_.eventPageMessages["event.page.title.tags"]),options:O,value:O.filter(e=>E.includes(e.value)),onChange:(e,t)=>{T(t.map(e=>e.value)),F("tags",t.map(e=>e.value).join(","))}})})]}),i?.filter(e=>e.courses?.length>0)?.filter(e=>N.includes(e.id)||0===N.length)?.filter(e=>e.courses.some(e=>e?.tags?.some(e=>E.includes(e.tag.id)&&(e?.expiration_date===void 0||!(0,x.checkDateInPast)(e.expiration_date))))||0===E.length)?.map(e=>(0,t.jsxs)(v.Box,{className:k.default.categoryContainer,children:[(0,t.jsx)(p.Headline4,{sx:{mb:2},children:e.name}),(0,t.jsx)(v.Box,{className:k.default.cardsContainer,children:e.courses?.length>0?e.courses?.filter(e=>e.tags?.some(e=>E.includes(e.tag.id)&&(e?.expiration_date===void 0||!(0,x.checkDateInPast)(e.expiration_date)))||0===E.length)?.map(e=>{var a;let i,r=(a=e.id,(i=n.find(e=>e.type===h.WebsitePageType.EDUCATION_COURSE))?`${i.seo}/${a}`:null),o=(0,f.getCombinedEducationStatus)(e.users?.map(e=>e.status))||e.status;return(0,t.jsx)(m.TabDiv,{onClick:()=>l.push(r),className:k.default.cardContainer,children:(0,t.jsx)(s.default,{children:(0,t.jsxs)(v.Box,{className:k.default.card,children:[(0,t.jsxs)(v.Box,{className:k.default.cardContent,children:[(0,t.jsx)(p.Paragraph2,{children:(0,t.jsx)("strong",{children:e.name})}),(0,t.jsx)(p.Paragraph2,{className:k.default.description,children:e.description}),(0,t.jsx)(p.Paragraph2,{className:k.default.status,children:"not_started"===o?(0,t.jsx)(w.FormattedMessage,{...y.sectionMessages["education.not.started"]}):"in_progress"===o?(0,t.jsx)(w.FormattedMessage,{...y.sectionMessages["education.in.progress"]}):(0,t.jsx)(w.FormattedMessage,{...y.sectionMessages["education.completed"]})})]}),(0,t.jsx)(v.Box,{className:k.default.cardArrow,children:(0,t.jsx)(j.default,{})})]})})},"course-"+e.id)}):(0,t.jsx)(p.Paragraph2,{children:r.formatMessage({id:"v3_education.no.courses.added.yet",defaultMessage:"No courses added yet"})})})]},"category-"+e.id))]}):(0,t.jsx)(b.default,{mods:"media-placeholder",fullScreenSize:1,smallScreenSize:1,title:r.formatMessage({id:"v3_gamesandstandings.no.data",defaultMessage:"There is no data to display"})})}],809144)},312757,e=>{e.v(t=>Promise.all(["static/chunks/22qgwerya_ye1.js"].map(t=>e.l(t))).then(()=>t(69522)))},165082,e=>{"use strict";var t,s=e.i(843476),a=e.i(481926);e.i(964884);var i=e.i(142829),r=e.i(782547),n=e.i(691102),l=e.i(324121),o=e.i(721306),d=e.i(558160),u=e.i(505487),c=e.i(819646),m=e.i(236807),p=e.i(688762),g=e.i(836773),h=e.i(828637),f=e.i(853332),x=e.i(443090),_=e.i(260429),b=e.i(814176),y=e.i(210557),j=e.i(413518),v=e.i(81144),M=e.i(657688),S=e.i(618566),C=e.i(271645),w=e.i(112458),P=e.i(301005),k=e.i(11),I=e.i(104941),E=e.i(731881),T=e.i(314632);let N=(0,P.defineMessages)({"shop.delivery.method":{id:"shop.delivery.method",defaultMessage:"#Delivery method"},"shop.delivery.method_numbered":{id:"shop.delivery.method_numbered",defaultMessage:"#Delivery method {number}"},"shop.delivery.pickup_preferred":{id:"shop.delivery.pickup_preferred",defaultMessage:"#(Pickup preferred)"},"shop.delivery.shipping_preferred":{id:"shop.delivery.shipping_preferred",defaultMessage:"#(Shipping preferred)"},"shop.delivery.methods":{id:"shop.delivery.methods",defaultMessage:"#Delivery methods"},"shop.delivery.select_methods":{id:"shop.delivery.select_methods",defaultMessage:"#Select from the delivery methods below."},"shop.delivery.pickup_description":{id:"shop.delivery.pickup_description",defaultMessage:"#Pick-up (can only be picked-up)"},"shop.delivery.line_image_alt":{id:"shop.delivery.line_image_alt",defaultMessage:"#{productName} — thumbnail"},"shop.delivery.shipping_only":{id:"shop.delivery.shipping_only",defaultMessage:"#Shipping only"},"shop.delivery.subtotal":{id:"shop.delivery.subtotal",defaultMessage:"#Subtotal: {amount}"},"shop.delivery.shipping":{id:"shop.delivery.shipping",defaultMessage:"#Shipping: {amount}"},"shop.delivery.vat":{id:"shop.delivery.vat",defaultMessage:"#VAT: {amount}"}
38,"shop.delivery.total":{id:"shop.delivery.total",defaultMessage:"#Total: {amount}"},"shop.delivery.proceeding":{id:"shop.delivery.proceeding",defaultMessage:"#Proceeding..."},"shop.delivery.proceed_to_payment":{id:"shop.delivery.proceed_to_payment",defaultMessage:"#Proceed to payment"}});var L=e.i(456589),R=((t={}).PICKUP_ONLY="pickup_only",t.SHIPPING_ONLY="shipping_only",t.PICKUP_AND_SHIPPING="pickup_and_shipping",t.ALL_THREE="all_three",t.NONE="none",t);let A=function(e){let t=(0,k.useIntl)(),A=(0,S.useRouter)(),{club:O,website:F}=(0,j.useClub)(),{currentOrder:D,hasCurrentOrder:$,updateOrder:z,isInitialized:q}=(0,v.useOrder)(),G=(0,y.useTheme)(),W=(0,T.useSystemPagePath)(n.WebsitePageType.CHECKOUT),U=(0,T.useSystemPagePath)(n.WebsitePageType.PRODUCTS),B=(0,T.useSystemPagePath)(n.WebsitePageType.PAYMENT),[H,Y]=(0,C.useState)("P"),[V,K]=(0,C.useState)({}),[Q,Z]=(0,C.useState)(!1),[J,X]=(0,C.useState)(!0),[ee,et]=(0,C.useState)(!1);(0,C.useEffect)(()=>{if(!q)return;if(!$||!D)return void A.push(U);let e=D.delivery_preference;Y(e&&("P"===e||"D"===e)?e:"P"),X(!1)},[q,$,D,A,U]);let{scenario:es,pickupOnlyItems:ea,shippingOnlyItems:ei,bothItems:er}=(()=>{if(!D||!D.delivery_methods)return{scenario:R.NONE,pickupOnlyItems:[],shippingOnlyItems:[],bothItems:[]};let e=D.order_items,t=Array.from(new Set([...D.delivery_methods.P.pickup,...D.delivery_methods.D.pickup])),s=Array.from(new Set([...D.delivery_methods.P.shipping,...D.delivery_methods.D.shipping])),a=e.filter(e=>t.includes(e.item.id)&&!s.includes(e.item.id)),i=e.filter(e=>s.includes(e.item.id)&&!t.includes(e.item.id)),r=e.filter(e=>t.includes(e.item.id)&&s.includes(e.item.id));if(a.length>0&&i.length>0&&r.length>0)return{scenario:R.ALL_THREE,pickupOnlyItems:a,shippingOnlyItems:i,bothItems:r};if(a.length>0&&i.length>0)return{scenario:R.PICKUP_AND_SHIPPING,pickupOnlyItems:a,shippingOnlyItems:i,bothItems:r};if(r.length>0)return{scenario:R.ALL_THREE,pickupOnlyItems:a,shippingOnlyItems:i,bothItems:r};if(a.length>0)return{scenario:R.PICKUP_ONLY,pickupOnlyItems:a,shippingOnlyItems:i,bothItems:r};if(i.length>0)return{scenario:R.SHIPPING_ONLY,pickupOnlyItems:a,shippingOnlyItems:i,bothItems:r};return{scenario:R.NONE,pickupOnlyItems:a,shippingOnlyItems:i,bothItems:r}})(),en=(()=>{switch(es){case R.PICKUP_ONLY:return{single:{pickupItems:[...ea,...er],shippingItems:[]}};case R.SHIPPING_ONLY:return{single:{pickupItems:[],shippingItems:ei}};case R.PICKUP_AND_SHIPPING:return{single:{pickupItems:ea,shippingItems:ei}};case R.ALL_THREE:return{P:{pickupItems:[...ea,...er],shippingItems:ei},D:{pickupItems:ea,shippingItems:[...ei,...er]}};default:return{single:{pickupItems:[],shippingItems:[]}}}})(),el=es===R.ALL_THREE,eo=el?[{key:"P",title:t.formatMessage(N["shop.delivery.method_numbered"],{number:1}),preference:t.formatMessage(N["shop.delivery.pickup_preferred"]),value:"P",showPickup:(en.P?.pickupItems?.length||0)>0,showShipping:(en.P?.shippingItems?.length||0)>0,pickupItems:en.P?.pickupItems||[],shippingItems:en.P?.shippingItems||[]},{key:"D",title:t.formatMessage(N["shop.delivery.method_numbered"],{number:2}),preference:t.formatMessage(N["shop.delivery.shipping_preferred"]),value:"D",showPickup:(en.D?.pickupItems?.length||0)>0,showShipping:(en.D?.shippingItems?.length||0)>0,pickupItems:en.D?.pickupItems||[],shippingItems:en.D?.shippingItems||[]}]:[{key:"single",title:t.formatMessage(N["shop.delivery.method"]),preference:void 0,value:H,showPickup:(en.single?.pickupItems?.length||0)>0,showShipping:(en.single?.shippingItems?.length||0)>0,pickupItems:en.single?.pickupItems||[],shippingItems:en.single?.shippingItems||[]}],ed=async e=>{let t=e.target.value;if(D&&O){Y(t),Z(!0);try{let e=await (0,I.updateOrder)({clubPrefix:O.suffix,orderRef:D.hash,updateData:{delivery_preference:t}});if(z({delivery_preference:e.delivery_preference,...e}),O?.suffix){let e=D.delivery_methods?.[t];(0,E.gaEvent)({action:"delivery_selected",category:"shop",label:`method_id:${t}|cost:${e?.shipping_rate||0}`,additionalProps:{clubSuffix:O.suffix}})}}catch(t){let e=D.delivery_preference;Y(e&&("P"===e||"D"===e)?e:"P")}finally{Z(!1)}}},eu=e=>(0,s.jsx)(P.FormattedNumber,{value:e,style:"currency",currencyDisplay:"narrowSymbol",currencySign:"standard",currency:O?.currency?.code||"EUR"});return J||!q?(0,s.jsx)(c.default,{sx:{display:"flex",justifyContent:"center",alignItems:"center",minHeight:"200px"},children:(0,s.jsx)(p.default,{})}):D?(0,s.jsxs)(c.default,{children:[(0,s.jsx)(c.default,{sx:{display:"flex",justifyContent:"space-between",alignItems:"flex-start",mb:3},children:(0,s.jsx)(a.default,{href:W,children:(0,s.jsx)(w.FormattedMessage,{...L.shopSharedMessages.back})})}),(0,s.jsx)(c.default,{sx:{pb:4},children:(0,s.jsx)(r.Headline2,{children:(0,s.jsx)(w.FormattedMessage,{...N["shop.delivery.methods"]})})}),(0,s.jsx)(r.Paragraph1,{sx:{mb:4,color:G.props.sectionMode.text_background,opacity:.7},children:(0,s.jsx)(w.FormattedMessage,{...N["shop.delivery.select_methods"]})}),(0,s.jsx)(h.default,{component:"fieldset",sx:{width:"100%"},children:(0,s.jsx)(b.default,{value:H,onChange:ed,children:eo.map(e=>{var a;let n,m;return(0,s.jsx)(c.default,{sx:{mb:5},children:(0,s.jsxs)(c.default,{sx:{backgroundColor:G.props.sectionMode.card,border:`1px solid ${G.props.sectionMode.text_background}20`,borderRadius:F?.button_style==="SQUARE_CORNERS"?0:"8px",p:2,boxShadow:"0 2px 4px rgba(0,0,0,0.1)"},children:[(0,s.jsxs)(c.default,{sx:{display:"flex",alignItems:"center",justifyContent:"space-between",mb:2},children:[(0,s.jsx)(c.default,{sx:{display:"flex",alignItems:"center",flex:1},children:(0,s.jsx)(f.default,{value:e.value,control:(0,s.jsx)(_.default,{disabled:Q,sx:{mr:1,color:G.props.sectionMode.text_background,"&.Mui-checked":{color:G.props.sectionMode.accent}}}),label:(0,s.jsxs)(c.default,{sx:{display:"flex",alignItems:"center",gap:1},children:[(0,s.jsxs)(c.default,{sx:{display:"flex",alignItems:"center",gap:1},children:[(0,s.jsx)(r.Paragraph1,{sx:{fontWeight:600},children:e.title}),e.preference&&(0,s.jsx)(r.Paragraph1,{sx:{color:G.props.sectionMode.text_background,opacity:.7},children:e.preference})]}),Q&&H===e.value&&(0,s.jsx)(p.default,{size:16,thickness:4})]}),sx:{alignItems:"center"}})}),(0,s.jsx)(x.default,{onClick:()=>{var t;return t=e.key,void K(e=>({...e,[t]:!e[t]}))},sx:{p:1},children:V[e.key]?(0,s.jsx)(d.default,{sx:{color:G.props.sectionMode.accent}}):(0,s.jsx)(u.default,{sx:{color:G.props.sectionMode.accent}})})]}),V[e.key]&&(0,s.jsxs)(c.default,{sx:{ml:4},children:[e.showPickup&&e.pickupItems.length>0&&(0,s.jsxs)(c.default,{sx:{mb:3*!!e.showShipping},children:[(0,s.jsx)(r.Paragraph2,{sx:{fontWeight:600,my:4},children:(0,s.jsx)(w.FormattedMessage,{...N["shop.delivery.pickup_description"]})}),e.pickupItems.map(e=>(0,s.jsxs)(c.default,{sx:{display:"flex",gap:"12px",padding:"12px 0",borderTop:`1px solid ${G.props.sectionMode.text_background}20`,mb:2},children:[(0,s.jsx)(c.default,{sx:{width:72,height:72,borderRadius:"4px",flexShrink:0,backgroundColor:G.props.sectionMode.card,overflow:"hidden",display:"flex",alignItems:"center",justifyContent:"center",position:"relative"},children:(0,s.jsx)(M.default,{src:(0,o.getProductImageSrcOrDefault)((0,l.resolveShopLinePreviewUrl)(e.medias,e.item?.media)),alt:t.formatMessage(N["shop.delivery.line_image_alt"],{productName:e.item.name}),width:72,height:72,sizes:"72px",style:{objectFit:"contain"}})}),(0,s.jsxs)(c.default,{sx:{flex:1},children:[(0,s.jsx)(r.Paragraph1,{sx:{fontWeight:600,mb:.5},children:e.item.name}),(0,s.jsx)(i.OrderLineVariantMeta,{item:e}),(0,s.jsx)(r.Paragraph1,{sx:{mb:1,color:G.props.sectionMode.text_background,opacity:.7},children:e.quantity}),(0,s.jsx)(r.Paragraph1,{sx:{fontWeight:600},children:eu(e.price)})]})]},e.id))]}),e.showShipping&&e.shippingItems.length>0&&(0,s.jsxs)(c.default,{children:[(0,s.jsx)(r.Paragraph2,{sx:{fontWeight:600,my:4},children:(0,s.jsx)(w.FormattedMessage,{...N["shop.delivery.shipping_only"]})}),e.shippingItems.map(e=>(0,s.jsxs)(c.default,{sx:{display:"flex",gap:"12px",padding:"12px 0",borderTop:`1px solid ${G.props.sectionMode.text_background}20`,mb:2},children:[(0,s.jsx)(c.default,{sx:{width:72,height:72,borderRadius:"4px",flexShrink:0,backgroundColor:G.props.sectionMode.card,overflow:"hidden",display:"flex",alignItems:"center",justifyContent:"center",position:"relative"},children:(0,s.jsx)(M.default,{src:(0,o.getProductImageSrcOrDefault)((0,l.resolveShopLinePreviewUrl)(e.medias,e.item?.media)),alt:t.formatMessage(N["shop.delivery.line_image_alt"],{productName:e.item.name}),width:72,height:72,sizes:"72px",style:{objectFit:"contain"}})}),(0,s.jsxs)(c.default,{sx:{flex:1},children:[(0,s.jsx)(r.Paragraph1,{sx:{fontWeight:600,mb:.5},children:e.item.name}),(0,s.jsx)(i.OrderLineVariantMeta,{item:e}),(0,s.jsx)(r.Paragraph1,{sx:{mb:1,color:G.props.sectionMode.text_background,opacity:.7},children:e.quantity}),(0,s.jsx)(r.Paragraph1,{sx:{fontWeight:600},children:eu(e.price)})]})]},e.id)),(0,s.jsx)(g.default,{sx:{mt:2,mb:3}})]})]}),(0,s.jsx)(c.default,{sx:{ml:4,mt:2},children:(a=el?e.value:H,n=D?.delivery_methods?.[a],m={subTotal:n?.sub_total??0,shippingRate:n?.shipping_rate??0,totalVat:n?.total_vat??0,total:n?.total??0},(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(r.Paragraph1,{sx:{mb:1},children:(0,s.jsx)(w.FormattedMessage,{...N["shop.delivery.subtotal"],values:{amount:eu(m.subTotal)}})}),(0,s.jsx)(r.Paragraph1,{sx:{mb:1},children:(0,s.jsx)(w.FormattedMessage,{...N["shop.delivery.shipping"],values:{amount:eu(m.shippingRate)}})}),(0,s.jsx)(r.Paragraph1,{sx:{mb:1},children:(0,s.jsx)(w.FormattedMessage,{...N["shop.delivery.vat"],values:{amount:eu(m.totalVat)}})}),(0,s.jsx)(r.Paragraph1,{sx:{fontWeight:600,mb:2},children:(0,s.jsx)(w.FormattedMessage,{...N["shop.delivery.total"],values:{amount:eu(m.total)}})})]}))})]})},e.key)})})}),(0,s.jsx)(c.default,{sx:{display:"flex",justifyContent:"flex-end",mt:4},children:(0,s.jsx)(m.default,{variant:"contained",color:"primary",size:"large",onClick:()=>{D?.hash&&(et(!0),A.push((0,I.withOrderHashInQuery)(B,D.hash)))},disabled:Q||ee,children:ee?(0,s.jsx)(w.FormattedMessage,{...N["shop.delivery.proceeding"]}):(0,s.jsx)(w.FormattedMessage,{...N["shop.delivery.proceed_to_payment"]})})})]}):null};e.s(["default",0,function(e){return(0,s.jsx)(A,{...e})}],165082)},961284,e=>{"use strict";var t=e.i(843476),s=e.i(642184),a=e.i(329568),i=e.i(728618),r=e.i(659712),n=e.i(819646),l=e.i(11),o=e.i(888244);e.s(["default",0,function(e){let{section:d}=e,u=(0,l.useIntl)();return(0,t.jsxs)(n.default,{children:[(0,t.jsx)(n.default,{display:"flex",justifyContent:(0,o.justifyContentMapper)(d?.customize?.format?.alignment),children:(0,t.jsx)(s.default,{size:"large",imgSrc:"https://dk9pqlttm1g0o.cloudfront.net/2026-06-29-a/images/website-builder/16px/Document.svg"})}),(0,t.jsx)(i.default,{title:d.name,button:!0,openInNewWindow:!0,paragraph:d?.content?.paragraph??"",buttonText:u.formatMessage(r.sectionMessages["document.download"]),alignment:d?.customize?.format?.alignment,onClickBtn:()=>{(0,a.downloadUrl)(d?.content?.document?.url,!0)}})]})}])},466596,e=>{e.v(t=>Promise.all(["static/chunks/1uakvco6vp860.js"].map(t=>e.l(t))).then(()=>t(277640)))},667909,e=>{e.v(t=>Promise.all(["static/chunks/2it3prp-61nya.js"].map(t=>e.l(t))).then(()=>t(555188)))},559691,e=>{"use strict";
38var t=e.i(843476),s=e.i(838286),a=e.i(728618),i=e.i(659712),r=e.i(166540),n=e.i(618566),l=e.i(271645),o=e.i(11);e.s(["default",0,function(e){let{data:d,section:u}=e,{form:c}=d,m=(0,n.usePathname)(),p=(0,o.useIntl)(),g=`/steps/view/form_select_account/${c.id}?steps=view_form_select_account,view_form_personal_data,view_form_questions,view_form_payments&start_page=${s.StartPage.WEB_PAGE}&path=${m}`,h=(0,l.useMemo)(()=>!(!(c.end_date&&(0,r.default)(c.end_date).isBefore())&&c.payment_packages?.every(e=>e.payment_package.valid)),[c]);return(0,t.jsx)(a.default,{alignment:u?.customize?.format?.alignment,title:c.name,paragraph:h?p.formatMessage(i.sectionMessages["forms.form_expired"]):c.description,button:!h,buttonLink:g,buttonText:c.button_text||p.formatMessage({id:"form.sign.up",defaultMessage:"###"}),openInNewWindow:!0,isClubExternalLink:!0})}])},981568,e=>{e.v(t=>Promise.all(["static/chunks/1e-6lx1_t-mge.js"].map(t=>e.l(t))).then(()=>t(727034)))},823257,e=>{"use strict";var t=e.i(843476),s=e.i(413518),a=e.i(618566),i=e.i(271645),r=e.i(997221),n=e.i(723394),l=e.i(958674);e.s(["default",0,function(e){let[o,d]=(0,i.useState)(1),[u,c]=(0,i.useState)(e.galleries),[m,p]=(0,i.useState)(u.length>=n.GALLERIES_PAGE_LIMIT),{section:g}=e,{prefix:h}=(0,s.useClub)(),f=(0,a.useSearchParams)().get("categories");return(0,t.jsx)(l.default,{hasLazyLoading:!0,hasMore:m,onFetchNext:x,isPage:!0,...e,galleries:u});async function x(){let e=g?.content?.teams||[],t=f||g?.content?.categories?.map(e=>e.id)?.join(","),s={_groups:e.map(e=>e.id),_limit:n.GALLERIES_PAGE_LIMIT,_offset:n.GALLERIES_PAGE_LIMIT*o};t&&(s._categories=t);let a=await (0,r.getGalleries)({clubPrefix:h,params:s}).catch(()=>[]);d(e=>e+1),c(e=>e.concat(a)),0===a.length&&p(!1)}}])},958674,e=>{"use strict";var t=e.i(843476),s=e.i(710269),a=e.i(709805),i=e.i(306691),r=e.i(642184),n=e.i(782547),l=e.i(691102),o=e.i(693971),d=e.i(867129),u=e.i(230169),c=e.i(659712),m=e.i(819646),p=e.i(937910),g=e.i(364384),h=e.i(11),f=e.i(314632),x=e.i(723394);e.s(["default",0,function(e){let{galleries:_,title:b,isPage:y,hasLazyLoading:j,hasMore:v,onFetchNext:M,section:S}=e,C=(0,h.useIntl)(),w=(0,f.useSystemPagePath)(l.WebsitePageType.GALLERY),P=(0,f.useSystemPagePath)(l.WebsitePageType.GALLERIES),{simpleDateFormatter:k}=(0,g.useTranslations)(),I=S?.content?.categories?.length?S.content.categories.map(e=>e.id).join(","):"",E=(0,t.jsx)(m.default,{pb:4,children:(0,t.jsx)(p.default,{container:!0,spacing:"8px",children:_.map(e=>(0,t.jsx)(p.default,{size:{xs:12,sm:12,md:4},children:(0,t.jsx)(u.default,{link:`${w}/${x.SINGLE_GALLERY_KEY}/${e.id}`,media:e.image_big||e.image,mods:"icon-left",icon:(0,t.jsx)(r.default,{size:"large",imgSrc:"https://dk9pqlttm1g0o.cloudfront.net/2026-06-29-a/images/website-builder/16px/Gallery.svg"}),title:e.title,description:`${C.formatMessage(c.sectionMessages["galleries.label"])} • ${k(e.date)}`},`card-${e.id}`)},e.id))})});return(0,t.jsxs)(m.default,{children:[(0,t.jsx)(m.default,{pb:4,children:(0,t.jsx)(n.Headline2,{children:b})}),0===_.length&&(0,t.jsx)(p.default,{size:12,children:(0,t.jsx)(d.default,{mods:"media-placeholder",title:C.formatMessage(c.sectionMessages["galleries.no_galleries"]),fullScreenSize:3,smallScreenSize:1})}),j?(0,t.jsx)(a.default,{dataLength:_.length,next:M,className:o.default.infiniteList,hasMore:v,loader:(0,t.jsx)(i.default,{}),children:E}):E,!y&&_.length>0&&(0,t.jsx)(m.default,{justifyContent:"center",display:"flex",pb:4,children:(0,t.jsx)(s.default,{applyBackgroundColor:!0,href:P+(I?`?categories=${I}`:""),children:C.formatMessage(c.sectionMessages["website.view_more"])})})]})}])},76710,e=>{"use strict";var t=e.i(843476),s=e.i(710269),a=e.i(782547),i=e.i(691102),r=e.i(867129),n=e.i(574721),l=e.i(659712),o=e.i(819646),d=e.i(937910),u=e.i(11),c=e.i(314632),m=e.i(723394);e.s(["default",0,function(e){let{gallery:p}=e,g=(0,u.useIntl)(),h=(0,c.useSystemPagePath)(i.WebsitePageType.GALLERY,{[m.SINGLE_GALLERY_KEY]:p.id});return(0,t.jsxs)(o.default,{children:[(0,t.jsx)(o.default,{pb:4,children:(0,t.jsx)(a.Headline2,{children:p?.title})}),(0,t.jsxs)(d.default,{container:!0,spacing:"8px",children:[0===p.pictures.length&&(0,t.jsx)(d.default,{size:12,children:(0,t.jsx)(r.default,{mods:"media-placeholder",title:g.formatMessage(l.sectionMessages["galleries.no_photos"]),fullScreenSize:2,smallScreenSize:2})}),p.pictures?.map(e=>(0,t.jsx)(d.default,{size:6,children:(0,t.jsx)(n.default,{media:e,imgScale:"75%"})},e)),p.pictures?.length>0&&(0,t.jsx)(d.default,{display:"flex",justifyContent:"center",container:!0,size:12,children:(0,t.jsx)(s.default,{applyBackgroun
38dColor:!0,href:h,children:g.formatMessage(l.sectionMessages["website.view_more"])})})]})]})}])},723394,e=>{"use strict";e.s(["GALLERIES_PAGE_LIMIT",0,6,"SINGLE_GALLERY_KEY",0,"galleries"])},561462,e=>{e.v(t=>Promise.all(["static/chunks/1-ptnh3rv4mwl.js"].map(t=>e.l(t))).then(()=>t(913294)))},585413,e=>{e.v(t=>Promise.all(["static/chunks/0bz9h3d_vwe-j.js"].map(t=>e.l(t))).then(()=>t(102799)))},495907,e=>{e.v({adRoot:"GameCard-module-scss-module__1Mv3qq__adRoot",cancelledText:"GameCard-module-scss-module__1Mv3qq__cancelledText",customEventDetails:"GameCard-module-scss-module__1Mv3qq__customEventDetails",liveStreamButton:"GameCard-module-scss-module__1Mv3qq__liveStreamButton",liveStreamButtonMobile:"GameCard-module-scss-module__1Mv3qq__liveStreamButtonMobile",liveStreamButtonMobileFLF:"GameCard-module-scss-module__1Mv3qq__liveStreamButtonMobileFLF",navigationButton:"GameCard-module-scss-module__1Mv3qq__navigationButton",noWrap:"GameCard-module-scss-module__1Mv3qq__noWrap",slugContainer:"GameCard-module-scss-module__1Mv3qq__slugContainer",team:"GameCard-module-scss-module__1Mv3qq__team",teamFlf:"GameCard-module-scss-module__1Mv3qq__teamFlf",teamImage:"GameCard-module-scss-module__1Mv3qq__teamImage",teamInner:"GameCard-module-scss-module__1Mv3qq__teamInner",teamInnerParapraph:"GameCard-module-scss-module__1Mv3qq__teamInnerParapraph",teamInnerParapraphFLF:"GameCard-module-scss-module__1Mv3qq__teamInnerParapraphFLF",teamInnerParapraphSecond:"GameCard-module-scss-module__1Mv3qq__teamInnerParapraphSecond",teamInnerParapraphSecondFLF:"GameCard-module-scss-module__1Mv3qq__teamInnerParapraphSecondFLF",teamInnerReverse:"GameCard-module-scss-module__1Mv3qq__teamInnerReverse",teamLeagueButton:"GameCard-module-scss-module__1Mv3qq__teamLeagueButton",teamLeft:"GameCard-module-scss-module__1Mv3qq__teamLeft",teamPadding:"GameCard-module-scss-module__1Mv3qq__teamPadding",teamRight:"GameCard-module-scss-module__1Mv3qq__teamRight",teamScoreContainer:"GameCard-module-scss-module__1Mv3qq__teamScoreContainer",teamWrapper:"GameCard-module-scss-module__1Mv3qq__teamWrapper",venueDesctipntion:"GameCard-module-scss-module__1Mv3qq__venueDesctipntion",viewEvent:"GameCard-module-scss-module__1Mv3qq__viewEvent"})},461762,e=>{"use strict";var t=e.i(843476),s=e.i(856931),a=e.i(229160),i=e.i(364384),r=e.i(271645),n=e.i(186153),l=e.i(262821),o=e.i(493734),d=e.i(877271),u=e.i(702141),c=e.i(306691),m=e.i(775572),p=e.i(782547),g=e.i(155451),h=e.i(691102),f=e.i(505229),x=e.i(124545),_=e.i(329568),b=e.i(33612),y=e.i(659712),j=e.i(442439),v=e.i(914245),M=e.i(819646),S=e.i(937910),C=e.i(210557),w=e.i(413518),P=e.i(166540),k=e.i(11),I=e.i(314632),E=e.i(495907),T=e.i(844722);function N(e){return(0,t.jsxs)(M.default,{children:[(0,t.jsx)(M.default,{pb:4,display:"flex",textAlign:"center",justifyContent:"center",children:(0,t.jsx)(p.Headline3,{children:e.title})}),(0,t.jsxs)(M.default,{display:"flex",alignItems:"center",children:[(0,t.jsx)(M.default,{px:1,sx:{display:{xs:"none",sm:"block"}},children:(0,t.jsx)(o.default,{disabled:!0,children:(0,t.jsx)(j.default,{})})}),(0,t.jsxs)(S.default,{container:!0,children:[(0,t.jsx)(S.default,{size:{xs:12,md:4},children:(0,t.jsx)(T.default,{children:(0,t.jsx)(M.default,{height:120})})}),(0,t.jsx)(S.default,{size:{xs:12,md:8},children:(0,t.jsx)(T.default,{children:(0,t.jsx)(M.default,{height:120})})})]}),(0,t.jsx)(M.default,{px:1,sx:{display:{xs:"none",sm:"block"}},children:(0,t.jsx)(o.default,{disabled:!0,children:(0,t.jsx)(v.default,{})})})]}),(0,t.jsx)(M.default,{pt:4,sx:{display:{md:"none",xs:"block"}},children:(0,t.jsxs)(S.default,{container:!0,children:[(0,t.jsx)(S.default,{size:{xs:6},container:!0,alignItems:"center",justifyContent:"flex-start",children:(0,t.jsx)(o.default,{disabled:!0,children:(0,t.jsx)(j.default,{})})}),(0,t.jsx)(S.default,{size:{xs:6},container:!0,alignItems:"center",justifyContent:"flex-end",children:(0,t.jsx)(o.default,{disabled:!0,children:(0,t.jsx)(v.default,{})})})]})})]})}var L=e.i(564366);function R(e){let{games:t,initialGameIndex:s}=e,[a,i]=(0,r.useState)(e.initialLoadedGames),[n,l]=(0,r.useState)({}),{prefix:o}=(0,w.useClub)(),[d,u]=(0,r.useState)(s),c=t[d]?.id;return(0,r.useEffect)(()=>{"number"!=typeof c||a[c]||n[c]||m(c)},[c]),{currentIndex:d,currentGame:a[c],onNavigate:function(e){u(t=>"next"===e?t+1:t-1)}};async function m(e){if(!n[e]&&!a[c]){l(t=>({...t,[e]:!0}));let t=await (0,L.getGame)(e,{clubPrefix:o}).catch(()=>null);i(s=>({...s,[e]:t})),l(t=>({...t,[e]:!1}))}}}function A(e){let{translations:{messages:s}}=(0,i.useTranslations)(),{games:a,countries:T,categories:L,group:A,closestGameIndex:O,initialLoadedGames:F}=e,{currentGame:D,currentIndex:$,onNavigate:z}=R({initialLoadedGames:F,initialGameIndex:O,games:a}),q=!D,G=(0,k.useIntl)(),{club:W}=(0,w.useClub)(),U=(0,r.useMemo)(()=>!!D&&(0,P.default)(D?.start_date).isAfter(),[D]),B=`${(0,I.useSystemPagePath)(h.WebsitePageType.GAME)}/${D?.id}`,H=(0,r.useMemo)(function(){let e=(0,P.default)(D?.start_date);return`${e.format("HH")}:${e.format("mm")}`},[D]),Y=0===a.length,{simpleDateFormatter:V}=(0,i.useTranslations)(),K=(0,C.useTheme)().props.sectionMode.text_background,Q=(0,_.hasScore)(D);if(Y||!A)return(0,t.jsx)(M.default,{children:(0,t.jsx)(N,{title:G.formatMessage(y.sectionMessages["games.empty"])})},1);if(q)return(0,t.jsx)(M.default,{minHeight:303,display:"flex",justifyContent:"center",alignItems:"center",children:(0,t.jsx)(c.default,{})},2);return(0,t.jsxs)(M.default,{display:"flex",justifyContent:"center",flexDirection:"column",minHeight:303,children:[(0,t.jsx)(M.default,{sx:{display:{md:"none",xs:"block"}},py:4,display:"flex",flexDirection:"column",alignItems:"center",textAlign:"center",children:et()}),(0,t.jsx)(M.default,{pb:1,children:" "}),(0,t.jsxs)(M.default,{pb:4,display:"flex",alignItems:"center",justifyContent:"space-around",children:[(0,t.jsx)(M.default,{px:1,sx:{display:{xs:"none",sm:"block"}},children:X()}),(0,t.jsxs)(S.default,{container:!0,display:"flex",flexGrow:1,children:[(0,t.jsx)(S.default,{size:{md:4},sx:{display:{xs:"none",sm:"block"}},children:(0,t.jsxs)(M.default,{className:E.default.customEventDetails,py:4,display:"flex",flexDirection:"column",alignItems:"flex-end",textAlign:"center",children:[et(),ee()]})}),(0,t.jsx)(S.default,{container:!0,size:{sm:12,md:8},alignItems:"center",width:"100%",children:(0,t.jsxs)(M.default,{display:"flex",width:"100%",alignItems:"center",flexGrow:1,children:[(0,t.jsx)(S.default,{size:{xs:3,lg:4},className:(U||D.cancelled)&&E.default.teamPadding,children:Z(D?.team1)}),(0,t.jsx)(S.default,{size:{xs:6,lg:4},children:(0,t.jsx)(d.default,{link:B,children:(0,t.jsxs)(M.default,{height:"100%",display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",textAlign:"center",children:[U&&!D.cancelled&&(0,t.jsx)(p.Paragraph2,{children:G.formatMessage(y.sectionMessages["games.kick_off"])}),D.cancelled&&(0,t.jsx)(p.Paragraph2,{children:G.formatMessage(y.sectionMessages["games.cancelled"])}),(0,t.jsx)(M.default,{pl:2,pr:2,p:3,className:D.cancelled&&Q&&E.default.cancelledText,children:(0,t.jsx)(p.Headline1,{sx:{whiteSpace:"nowrap"},children:U?H:(0,_.displayGameScore)(D)})})]})})}),(0,t.jsx)(S.default,{size:{xs:3,lg:4},className:(U||D.cancelled)&&E.default.teamPadding,children:Z(D?.team2)})]})})]}),(0,t.jsx)(M.default,{px:1,sx:{display:{xs:"none",sm:"block"}},children:J()})]}
38),(0,t.jsx)(M.default,{pb:4,sx:{display:{md:"none",xs:"block"}},children:(0,t.jsxs)(S.default,{container:!0,children:[(0,t.jsx)(S.default,{size:{xs:2},container:!0,alignItems:"center",justifyContent:"flex-start",children:X()}),(0,t.jsx)(S.default,{size:{xs:8},container:!0,alignItems:"center",justifyContent:"center",children:ee()}),(0,t.jsx)(S.default,{size:{xs:2},container:!0,alignItems:"center",justifyContent:"flex-end",children:J()})]})})]},3);function Z(e){return(0,t.jsx)(d.default,{link:B,children:(0,t.jsxs)(M.default,{height:"100%",textAlign:"center",justifyContent:"center",display:"flex",flexDirection:"column",alignItems:"center",children:[(0,t.jsx)(u.Img,{className:E.default.teamImage,src:e.pic||n.DEFAULT_TEAM_LOGO,failoverImage:n.DEFAULT_TEAM_LOGO}),(0,t.jsx)(p.Paragraph1,{children:(0,t.jsx)("strong",{children:(0,x.generateTagLabel)(e,null,L,s,{showTeamAdditionalInfo:W?.show_team_additional_info})})})]})})}function J(){return(0,t.jsx)(o.default,{disabled:$===a.length-1,style:{borderColor:K},onClick:()=>z("next"),children:(0,t.jsx)(v.default,{htmlColor:K})})}function X(){return(0,t.jsx)(o.default,{disabled:0===$,style:{borderColor:K},onClick:()=>z("prev"),children:(0,t.jsx)(j.default,{htmlColor:K})})}function ee(){return(0,t.jsx)(M.default,{display:"flex",flexDirection:"column",mt:2,children:(0,b.default)([(0,t.jsx)(l.default,{isPrimary:!1,openInNewWindow:!0,href:g.FLF_TICKETS_LINK,size:"small",children:G.formatMessage(y.sectionMessages["navigation.btn.tickets"])},2)],(0,t.jsx)(M.default,{mb:3}))})}function et(){return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(M.default,{py:4,children:(0,t.jsx)(m.Slug,{text:(0,t.jsx)(p.Paragraph2,{isAccent:!0,children:(0,t.jsx)("strong",{children:D?.competition?.name??G.formatMessage(y.sectionMessages["games.friendly_game"])})})})}),(0,t.jsxs)("div",{children:[(0,t.jsx)(p.Headline2,{children:V(D?.start_date,"DD.MM.YYYY")}),(0,t.jsx)(p.Paragraph1,{children:(0,t.jsx)("strong",{children:(0,f.getVenueDescription)(D,T,s)})})]})]})}}var O=e.i(790849),F=e.i(714473),D=e.i(449894),$=e.i(567160),z=e.i(618566),q=e.i(196812),G=e.i(584265),W=e.i(196699);function U(e){let{games:s,categories:i,gamedays:n}=e,l=(0,r.useMemo)(()=>(0,a.groupBy)(s,"game_day"),[s]),o=(0,k.useIntl)();return(0,t.jsxs)(M.default,{pb:4,children:[n.map(e=>d(l[e],e)),l.undefined&&d(l.undefined)]});function d(e,s){return e?.length?(0,t.jsxs)(M.default,{pb:4,children:[(0,t.jsx)(M.default,{pb:4,children:s&&(0,t.jsx)(p.Headline3,{children:(0,W.isNumericGameday)(s)?`${o.formatMessage(y.sectionMessages["section.label.gameday"])} ${s}`:s})}),e.map(e=>(0,t.jsx)(G.default,{game:e,categories:i},e.id))]},s||"default"):null}}var B=e.i(251522);function H(e){let{data:s}=e,{games:i,categories:n,group:l,league:o,season:d,seasons:u,leagues:m,rounds:g}=s,h=(0,z.useParams)(),f=(0,a.isUndefined)(h.slug)||(0,a.isEmpty)(h.slug)?null:h.slug[0],{prefix:x,pathPrefix:b}=(0,w.useClub)(),[j,v]=(0,r.useState)((0,W.adjustGameDaysOfGames)(i,g)),[C,P]=(0,r.useState)(""),[I,E]=(0,r.useState)(d?.id||0),[T,N]=(0,r.useState)(o?.id||0),[R,A]=(0,r.useState)(u),[H,Y]=(0,r.useState)(!1),V=(0,r.useRef)(!1),[K,Q]=(0,r.useState)(!1),Z=(0,r.useRef)(!1),J=(0,k.useIntl)(),X=(0,r.useMemo)(()=>m?.find(e=>e.id===T),[T]);(0,r.useEffect)(()=>{V.current&&!H&&I&&ea({season:I,league:T});let t="web"===b?"":b,s=e.isPreview?`${t}/preview`:t,a=h?.prefix==="web"?"":s,i=`/${[a,f].filter(Boolean).join("/")}`,r=(0,$.buildUrlFromParams)(i,{groups:l?.id,leagues:T,seasons:I},["leagues","groups","seasons"],{});window.history.replaceState(null,"",r),V.current=!0,P("")},[I,T]);let ee=(0,r.useMemo)(()=>!l&&j?.length?(0,W.orderGamedaysByPhase)(j,g):[],[j,l,g]);(0,r.useEffect)(()=>{Z.current&&ei({league:T}),Z.current=!0},[T]),(0,r.useEffect)(()=>{T&&m?.length&&(m.find(e=>e.id===T)||T===B.FRIENDLY_GAMES_ID||N(m[0].id))},[m,T]);let et=(0,r.useMemo)(()=>C&&j?.length?j.filter(e=>"all"===C||e.game_day===C):j,[j,C]),es=[{label:J.formatMessage(y.sectionMessages["section.results.all_leagues"]),value:0}].concat(m?.map(e=>({label:e.name,value:e.id}))).concat([{label:J.formatMessage(y.sectionMessages["section.games.friendly_games"]),value:B.FRIENDLY_GAMES_ID}]);return(0,r.useEffect)(()=>{let e;return""===C&&(e=setTimeout(()=>P("all"),1e3)),()=>{clearTimeout(e)}}),(0,t.jsxs)(M.default,{children:[(0,t.jsx)(D.default,{categories:n,initialIndex:1,group:l,league:o,seasonId:I}),(0,t.jsx)(M.default,{pb:4,children:(0,t.jsxs)(S.default,{container:!0,spacing:"8px",children:[l&&(0,t.jsx)(S.default,{size:{xs:12,sm:5,md:5},children:(0,t.jsx)(O.default,{id:"league",value:T,name:"league",label:J.formatMessage(y.sectionMessages["section.label.league"]),options:es,onChange:e=>{N(Number(e.target.value))}})}),(0,t.jsx)(S.default,{size:{xs:12,sm:5,md:5},children:(0,t.jsx)(O.default,{id:"season",value:I,name:"season",label:J.formatMessage(y.sectionMessages["section.label.season"]),options:R?.map(e=>({label:e.name,value:e.id}))||[],onChange:e=>E(Number(e.target.value))})}),!l&&(0,t.jsx)(S.default,{size:{xs:12,sm:5,md:5},children:(0,t.jsx)(O.default,{id:"gameday",value:C,name:"gameday",label:J.formatMessage(y.sectionMessages["section.label.gameday"]),options:[{label:J.formatMessage(y.sectionMessages["section.label.all"]),value:"all"},...ee.map(e=>({label:(0,W.isNumericGameday)(e)?`${J.formatMessage(y.sectionMessages["section.label.gameday"])} ${e}`:String(e),value:e}))],onChange:e=>{P(e.target.value)}})})]})}),(0,t.jsxs)(M.default,{pb:4,children:[K||""===C&&(0,t.jsx)(c.default,{}),!K&&l&&et.map(e=>(0,t.jsx)(G.default,{selectedLeague:X,showLeague:!0,game:e,categories:n},e.id)),!K&&!l&&(0,t.jsx)(U,{gamedays:ee,games:et,categories:n}),et?.length===0&&!K&&C&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(M.default,{pb:4,children:(0,t.jsx)(p.Headline3,{children:(0,t.jsx)("strong",{children:J.formatMessage(y.sectionMessages["table.empty"])})})}),(0,t.jsx)(M.default,{pb:4,children:(0,t.jsx)(F.default,{rows:4})})]})]})]});async function ea({season:e,league:t}){Q(!0);let s=[];(s=t&&t!==B.FRIENDLY_GAMES_ID?await (0,L.getGroupLeagueGames)({leagueId:t,groupId:l?.id,seasonId:e,clubPrefix:x}).catch(()=>[]).finally(()=>Q(!1)):await (0,L.getGroupGames)({groupId:l?.id,seasonId:e,clubPrefix:x,isFriendly:t===B.FRIENDLY_GAMES_ID}).catch(()=>[]).finally(()=>Q(!1))).sort(_.gameSorter),v((0,W.adjustGameDaysOfGames)(s,g))}async function ei({league:e}){Y(!0);let t=[];e&&e!==B.FRIENDLY_GAMES_ID?t=await (0,q.getLeagueSeasonsWithGames)({clubPrefix:x,leagueId:e,groupId:l?.id}).catch(()=>[]):l&&(t=await (0,q.getSeasonsByType)({clubPrefix:x,seasonTypeId:l?.season_type_id})),A(t);let s=t.find(e=>e.id===I),a=t.find(e=>e.current);(Y(!1),a||s)?E(a?a?.id:s?.id):(E(t[0]?.id||0),v([]))}}var Y=e.i(189224),V=e.i(159463),K=e.i(710269),Q=e.i(322469);let Z=(0,e.i(770703).default)(()=>e.A(877013),{loadableGenerated:{modules:[444472]},ssr:!1});function J(e){let{translations:{messages:s}}=(0,i.useTranslations)(),{games:a,countries:l,categories:d,group:g,closestGameIndex:b,initialLoadedGames:C,section:L}=e,{currentGame:A,currentIndex:O,onNavigate:F}=R({initialLoadedGames:C,initialGameIndex:b,games:a}),D=!A,$=(0,k.useIntl)(),{club:z}=(0,w.useClub)(),q=(0,r.useMemo)(()=>!!A&&(0,_.checkFutureGame)(A),[A]),G=`${(0,I.useSystemPagePath)(h.WebsitePageType.GAME)}/${A?.id}`,W=(0,r.useMemo)(function(){let e=(0,P.default)(A?.start_date);return`${e.format("HH")}:${e.format("mm")}`},[A]),U=!a||0===a.length,{simpleDateFormatter:B}=(0,i.useTranslations)(),H=(0,_.hasScore)(A),Y=(0,_.displayLiveStreamButton)(A),J=(0,_.displayReplayButton)(A);if(U||!g)return(0,t.jsx)(M.default,{children:(0,t.jsx)(N,{title:$.formatMessage(y.sectionMessages["games.empty"])})},1);if(D)return(0,t.jsx)(M.default,{minHeight:303,display:"flex",justifyContent:"center",alignItems:"center",children:(0,t.jsx)(c.default,{})},2);return(0,t.jsxs)(M.default,{minHeight:303,children:[(0,t.jsx)(M.default,{sx:{display:{md:"none",xs:"block"}},py:4,display:"flex",flexDirection:"column",alignItems:"center",textAlign:"center",children:ea()}),(0,t.jsx)(M.default,{sx:{display:{md:"none",xs:"block"}},pb:4,children:(0,t.jsx)(Q.Separator,{})}),(0,t.jsxs)(M.default,{pb:4,display:"flex",alignItems:"center",justifyContent:"space-between",children:[(0,t.jsx)(M.default,{px:1,sx:{display:{xs:"none",sm:"block"}},children:et()}),(0,t.jsxs)(S.default,{container:!0,width:"100%",children:[(0,t.jsx)(S.default,{size:{md:3},sx:{display:{xs:"none",sm:"block"}},children:(0,t.jsxs)(M.default,{py:4,display:"flex",flexDirection:"column",alignItems:"flex-end",textAlign:"center",children:[ea(),es()]})}),(0,t.jsxs)(S.default,{container:!0,size:{sm:12,md:9},display:"flex",alignItems:"center",className:E.default.teamWrapper,width:"100%",children:[(0,t.jsxs)(M.default,{className:E.default.teamScoreContainer,children:[(0,t.jsx)(S.default,{size:{xs:3,sm:4},className:(q||A.cancelled)&&E.default.teamPadding,children:X(A?.team1)}),(0,t.jsx)(S.default,{size:{xs:6,sm:4},children:(0,t.jsxs)(M.default,{height:"100%",display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",textAlign:"center",children:[q&&!A.cancelled&&(0,t.jsx)(p.Paragraph2,{children:$.formatMessage(y.sectionMessages["games.kick_off"])}),A.cancelled&&(0,t.jsx)(p.Paragraph2,{children:$.formatMessage(y.sectionMessages["games.cancelled"])}),(0,t.jsx)(T.default,{children:(0,t.jsx)(M.default,{p:3,className:A.cancelled&&H&&E.default.cancelledText,children:(0,t.jsx)(p.Headline2,{children:q?W:(0,_.displayGameScore)(A)})})}
38),(Y||J)&&(0,t.jsx)(M.default,{pt:4,sx:{display:{md:"none",xs:"block"}},children:(0,t.jsx)(V.default,{streamLink:A.stream_link,showLiveStream:Y})})]})}),(0,t.jsx)(S.default,{size:{xs:3,sm:4},className:(q||A.cancelled)&&E.default.teamPadding,children:X(A?.team2)})]}),(0,t.jsx)(M.default,{sx:{display:{xs:"none",sm:"block"}},children:(0,t.jsx)(Z,{classes:E.default.adRoot,blockId:A.id,adType:"gamepreview"})})]})]}),(0,t.jsx)(M.default,{px:1,sx:{display:{xs:"none",sm:"block"}},children:ee()})]}),(0,t.jsx)(M.default,{sx:{display:{md:"none",xs:"block"}},pb:4,children:(0,t.jsxs)(S.default,{container:!0,children:[(0,t.jsx)(S.default,{size:{xs:2},container:!0,alignItems:"center",justifyContent:"flex-start",children:et()}),(0,t.jsx)(S.default,{size:{xs:8},container:!0,alignItems:"center",justifyContent:"center",children:es()}),(0,t.jsx)(S.default,{size:{xs:2},container:!0,alignItems:"center",justifyContent:"flex-end",children:ee()}),(0,t.jsx)(M.default,{pt:4,width:"100%",children:(0,t.jsx)(Z,{classes:E.default.adRoot,blockId:A.id,adType:"gamepreview"})})]})})]},3);function X(e){return(0,t.jsxs)(M.default,{height:"100%",textAlign:"center",justifyContent:"center",display:"flex",flexDirection:"column",alignItems:"center",children:[(0,t.jsx)(u.Img,{className:E.default.teamImage,src:e?.pic||n.DEFAULT_TEAM_LOGO,failoverImage:n.DEFAULT_TEAM_LOGO}),(0,t.jsx)(p.Paragraph2,{children:(0,t.jsx)("strong",{children:(0,x.generateTagLabel)(e,null,d,s,{showTeamAdditionalInfo:z?.show_team_additional_info})})})]})}function ee(){return(0,t.jsx)(o.default,{disabled:O===a.length-1,onClick:()=>F("next"),"aria-label":"Next Slide",children:(0,t.jsx)(v.default,{})})}function et(){return(0,t.jsx)(o.default,{disabled:0===O,onClick:()=>F("prev"),"aria-label":"Previous Slide",children:(0,t.jsx)(j.default,{})})}function es(){return(0,t.jsx)(K.default,{applyBackgroundColor:!0,className:E.default.viewEvent,href:G,children:$.formatMessage(y.sectionMessages["calendar.more_information"])})}function ea(){return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(M.default,{py:4,children:(0,t.jsx)(m.Slug,{imgSrc:"https://dk9pqlttm1g0o.cloudfront.net/2026-06-29-a/images/websites/Match.svg",text:(0,t.jsx)(p.Paragraph2,{isAccent:!0,children:(0,t.jsx)("strong",{children:A?.competition?.name??$.formatMessage(y.sectionMessages["games.friendly_game"])})})})}),(0,t.jsx)(p.Headline3,{children:B(A?.start_date,"DD.MM.YYYY")}),(Y||J)&&(0,t.jsx)(M.default,{sx:{display:{xs:"none",sm:"block"}},children:(0,t.jsx)(V.default,{streamLink:A.stream_link,showLiveStream:Y})}),(0,t.jsx)(p.Paragraph2,{className:E.default.venueDesctipntion,children:(0,f.getVenueDescription)(A,l,s)})]})}}e.s(["default",0,function(e){let{placeholders:n}=e.data,{layout:l}=e.section,{extendTranslations:o}=(0,i.useTranslations)();return((0,r.useEffect)(()=>{(0,a.isEmpty)(n)||o(n)},[n]),l===s.SectionLayoutType.DEFAULT)?(0,t.jsx)(H,{...e}):l===s.SectionLayoutType.TEAM?(0,t.jsx)(J,{...e.data}):l===s.SectionLayoutType.FLF?(0,t.jsx)(A,{...e.data}):(0,t.jsx)(Y.default,{...e})}],461762)},189224,353140,584265,e=>{"use strict";var t,s=e.i(843476),a=e.i(186153),i=e.i(710269),r=e.i(946603),n=e.i(702141),l=e.i(306691),o=e.i(782547),d=e.i(691102),u=e.i(329568),c=e.i(659712),m=e.i(467116),p=e.i(509436),g=e.i(819646),h=e.i(937910),f=e.i(413518),x=e.i(618566),_=e.i(271645),b=e.i(11),y=e.i(564366),j=e.i(314632),v=e.i(159463),M=e.i(844722),S=e.i(877271),C=e.i(228488),w=e.i(776552),P=e.i(866796),k=e.i(112458),I=e.i(335571);function E(){return(0,s.jsxs)(w.Box,{className:I.default.root,children:[(0,s.jsx)(w.Box,{className:I.default.badgeCircle}),(0,s.jsx)(P.Typography,{variant:"body2",className:I.default.badgeText,children:(0,s.jsx)(k.FormattedMessage,{...C.eventPageMessages["event.page.live"]})})]})}var T=e.i(528923),N=e.i(775572),L=e.i(124545),R=e.i(207670),A=e.i(364384),O=e.i(166540),F=e.i(495907),D=e.i(650832),$=((t={}).DEFAULT="default",t.FLF="flf",t);function z(e){var t;let i,r,l,{game:m,categories:p,showLeague:x,selectedLeague:_,gameCardType:y}=e,{translations:{messages:C},simpleDateFormatter:w}=(0,A.useTranslations)(),P=(0,b.useIntl)(),{club:I}
38=(0,f.useClub)(),z=(0,j.useSystemPagePath)(d.WebsitePageType.GAME),q=m?.competition||_,G=y===$.FLF,W=(0,R.default)(F.default.team,x&&F.default.teamLeagueButton,G&&F.default.teamFlf),U=(0,u.hasScore)(m),B=(0,u.displayLiveStreamButton)(m),H=(0,u.displayReplayButton)(m),Y=!m?.team1&&!m?.team2&&m?.information?(0,s.jsx)(g.default,{display:"flex",justifyContent:"center",className:F.default.slugContainer,children:(0,s.jsx)(o.Paragraph2,{children:m.information})}):null;return(0,s.jsx)(S.default,{link:`${z}/${m.id}`,children:(0,s.jsx)(g.default,{pb:4,sx:{"& .MuiCard-root":{position:"relative"},"& .MuiCard-root::before":{content:'""',position:"absolute",inset:0,backgroundColor:"rgba(0, 0, 0, 0.08)",opacity:0,transition:"opacity 0.2s ease",pointerEvents:"none",borderRadius:"inherit",zIndex:1},"&:hover .MuiCard-root::before":{opacity:1}},children:(0,s.jsx)(M.default,{children:(0,s.jsxs)(g.default,{px:4,children:[x&&(0,s.jsx)(g.default,{display:"flex",justifyContent:"center",className:F.default.slugContainer,children:(0,s.jsx)(N.Slug,{imgSrc:"https://dk9pqlttm1g0o.cloudfront.net/2026-06-29-a/images/websites/Match.svg",text:(0,s.jsx)(o.Paragraph2,{isAccent:!0,children:(0,s.jsx)("strong",{children:q?.name||P.formatMessage(c.sectionMessages["games.friendly_game"])})})})}),Y,(0,s.jsxs)(h.default,{container:!0,children:[(0,s.jsx)(h.default,{size:{xs:5},container:!0,display:"flex",alignItems:"center",className:W,justifyContent:"flex-end",children:V(m.team1,F.default.teamLeft)}),(0,s.jsx)(h.default,{size:{xs:2},container:!0,display:"flex",alignItems:"center",justifyContent:"center",children:(t=m,i=(0,O.default)(t.start_date),r=(0,u.checkFutureGame)(t),l=(0,u.checkGameIsLive)(t),(0,s.jsxs)(g.default,{textAlign:"center",className:F.default.noWrap,children:[r?(0,s.jsx)(o.Paragraph1,{children:`${i.format("HH")}:${i.format("mm")}`}):(0,s.jsx)(o.Headline3,{className:t.cancelled&&U&&F.default.cancelledText,children:(0,u.displayGameScore)(t)}),"number"==typeof t.score1_penalties&&"number"==typeof t.score2_penalties&&(0,s.jsx)(o.Paragraph2,{children:(0,s.jsx)(T.PenaltyScore,{scorePenalty1:t.score1_penalties,scorePenalty2:t.score2_penalties})}),t.forfeit&&(0,s.jsx)(o.Paragraph2,{children:P.formatMessage(c.sectionMessages["games.forfeit"])}),(0,s.jsx)(o.Paragraph2,{children:t.cancelled?P.formatMessage(c.sectionMessages["games.cancelled"]):w(t.start_date,"DD.MM.YYYY")}),(0,s.jsxs)(g.default,{sx:{paddingTop:+!!l,paddingBottom:+!!l},children:[l&&(0,s.jsx)(E,{}),(B||H)&&(0,s.jsx)("div",{className:G?F.default.liveStreamButtonMobileFLF:F.default.liveStreamButtonMobile,children:(0,s.jsx)(v.default,{streamLink:t.stream_link,showLiveStream:B})})]})]}))}),(0,s.jsx)(h.default,{size:{xs:5},container:!0,display:"flex",alignItems:"center",className:W,justifyContent:"flex-end",direction:"row-reverse",children:V(m.team2,F.default.teamRight,!0,B||H)})]})]})})})});function V(e,t,i,r){let l=G?e?.name:(0,L.generateTagLabel)(e,null,p,C,{showTeamAdditionalInfo:I?.show_team_additional_info}),d=G?F.default.teamInnerParapraphFLF:F.default.teamInnerParapraph,u=G?F.default.teamInnerParapraphSecondFLF:F.default.teamInnerParapraphSecond;return(0,s.jsxs)("div",{className:`${F.default.teamInner} ${i?F.default.teamInnerReverse:""}`,children:[r&&!G&&(0,s.jsx)("div",{className:F.default.liveStreamButton,children:(0,s.jsx)(v.default,{streamLink:m.stream_link,showLiveStream:B})}),(0,s.jsxs)("div",{className:`${F.default.teamInner} ${i?u:d}`,children:[(0,s.jsx)("div",{children:(0,s.jsx)("div",{style:{width:"100%"},children:(0,s.jsx)(o.Paragraph2,{children:G?l||(0,s.jsx)(k.FormattedMessage,{...D.gamesMessages.to_be_announced}):(0,s.jsx)("strong",{children:l||(0,s.jsx)(k.FormattedMessage,{...D.gamesMessages.to_be_announced})})})})}),(0,s.jsx)("div",{children:(0,s.jsx)(n.Img,{mods:G?"w24":"w48",className:t,src:e?.pic||a.DEFAULT_TEAM_LOGO,failoverImage:a.DEFAULT_TEAM_LOGO})})]})]})}}function q(e){return(0,s.jsxs)(g.default,{children:[(0,s.jsx)(g.default,{pb:4,display:"flex",children:(0,s.jsx)(o.Headline3,{children:e.title})}),(0,s.jsxs)(h.default,{container:!0,spacing:"8px",size:12,alignItems:"center",children:[(0,s.jsx)(h.default,{size:12,children:(0,s.jsx)(M.default,{children:(0,s.jsx)(g.default,{height:90,children:" "})})}),(0,s.jsx)(h.default,{size:12,children:(0,s.jsx)(M.default,{children:(0,s.jsx)(g.default,{height:90,children:" "})})}),(0,s.jsx)(h.default,{size:12,children:(0,s.jsx)(M.default,{children:(0,s.jsx)(g.default,{height:90,children:" "})})})]})]})}e.s(["GameCardLayoutType",()=>$],353140),e.s(["default",0,z],584265);var G=e.i(251522),W=e.i(196699);e.s(["default",0,function(e){let{data:t,section:v,gameCardType:M,hideHeader:S,hideViewMore:C}=e,{league:w,games:P,categories:k,chunkedGames:I,leagueGamesIndex:E,currentWeekIndex:T}=t,N=(0,b.useIntl)(),[L,R]=(0,_.useState)(E),[A,O]=(0,_.useState)(!1),[D,$]=(0,_.useState)(P),U=`${(0,j.useSystemPagePath)(d.WebsitePageType.RESULTS)}/leagues/${w?.id}`,B=(0,x.useParams)(),H=P?.length==0,Y=1===I.length&&0===D.length,{prefix:V}=(0,f.useClub)();return(0,s.jsxs)(g.default,{children:[!S&&(0,s.jsxs)(g.default,{pb:4,display:"flex",alignItems:"center",children:[(0,s.jsx)(g.default,{mr:2,children:(0,s.jsx)(n.Img,{mods:"w48",src:w?.picture??a.DEFAULT_TEAM_LOGO,failoverImage:a.DEFAULT_TEAM_LOGO})}),(0,s.jsx)(o.Headline2,{children:w?.name})]}),(0,s.jsx)(g.default,{pb:4,children:(0,s.jsxs)(h.default,{container:!0,children:[(0,s.jsx)(h.default,{size:{xs:6},container:!0,justifyContent:"flex-start",className:F.default.navigationButton,children:0!==L&&!H&&(0,s.jsx)(r.default,{href:`?${new URLSearchParams(Q(L-1))}`,onClick:e=>{e.preventDefault(),K("prev")},startIcon:(0,s.jsx)(m.default,{}),children:N.formatMessage(c.sectionMessages["games.previous_week"])})}),(0,s.jsx)(h.default,{size:{xs:6},container:!0,justifyContent:"flex-end",className:F.default.navigationButton,children:!(L>=I.length-1)&&!H&&(0,s.jsx)(r.default,{href:`?${new URLSearchParams(Q(L+1))}`,onClick:e=>{e.preventDefault(),K("next")},endIcon:(0,s.jsx)(p.default,{}),children:N.formatMessage(c.sectionMessages["games.next_week"])})})]})}),A&&(0,s.jsx)(l.default,{}),!A&&0===D.length&&(0,s.jsx)(g.default,{pb:4,children:(0,s.jsx)(q,{title:N.formatMessage(c.sectionMessages["games.empty"])})}),!A&&D.map(e=>(0,s.jsx)(z,{gameCardType:M,game:e,categories:k},e.id)),!Y&&!A&&I.length>0&&!C&&(0,s.jsx)(g.default,{display:"flex",justifyContent:"center",children:(0,s.jsx)(i.default,{applyBackgroun
38dColor:!0,href:U,children:N.formatMessage(c.sectionMessages["website.view_more"])})})]});function K(e){var t;let s,a=L;"next"===e?a+=1:a-=1,R(a),t=a,O(!0),Promise.all(I[t].map(e=>(0,y.getGame)(e.id,{clubPrefix:V}))).then(e=>{e.sort(u.gameSorter),$(e)}).finally(()=>{O(!1)}),s=Q(a,{direction:B.direction,page:B.page,[G.LEAGUE_KEY]:B[G.LEAGUE_KEY]}),window.history.pushState({},"",`?${new URLSearchParams(s)}`)}function Q(e,t={}){let s=(0,W.getGameSectionQueryString)(v.id);return t[G.LEAGUE_KEY]=w.id,e>T?(t[s.direction]="future",t[s.page]=`${e-T+1}`):e<T?(t[s.direction]="past",t[s.page]=`${e+1}`):(delete t[s.direction],delete t[s.page]),t}}],189224)},251522,e=>{"use strict";let t=Number.MAX_SAFE_INTEGER;e.s(["FRIENDLY_GAMES_ID",0,t,"LEAGUE_KEY",0,"league"])},650832,e=>{"use strict";let t=(0,e.i(301005).defineMessages)({to_be_announced:{id:"v3_steps.to_be_announced",defaultMessage:"###"},noTeamsAssignedYet:{id:"v3_gamesandstandings.gamesGraph.noTeamsAssignedYet",defaultMessage:"No teams assigned yet"},team:{id:"v3_gamesandstandings.team",defaultMessage:"Team"},noMatchesAvailable:{id:"v3_gamesandstandings.gamesGraph.noMatchesAvailable",defaultMessage:"No matches available"}});e.s(["gamesMessages",0,t])},911590,e=>{e.v(t=>Promise.all(["static/chunks/1lr8t1bdm_lry.js"].map(t=>e.l(t))).then(()=>t(842977)))},196699,e=>{"use strict";var t=e.i(166540);e.s(["adjustGameDaysOfGames",0,function(e,t){return[...e??[]].map(e=>{if("number"==typeof e.round?.id||e.phase?.type==="knockout"){let s=e.round?.id||Number(e.game_day),a=t?.find(e=>e.id===s)?.name||e.game_day;return{...e,game_day:a}}return e})},"getClosestGameIndex",0,function(e){let t,s=0,a=new Date().getTime();return e.forEach((e,i)=>{let r=Math.abs(a-new Date(e.start_date).getTime());0===i?t=r:t>r&&(s=i,t=r)}),s},"getGameSectionQueryString",0,function(e){return{direction:`games-list-${e}-direction`,page:`games-list-${e}-page`}},"groupGamesByCalendarWeek",0,function(e){if(!e||0===e.length)return[];let s=[...e].sort((e,s)=>(0,t.default)(e.start_date).valueOf()-(0,t.default)(s.start_date).valueOf()),a=new Map;return s.forEach(e=>{let s=(0,t.default)(e.start_date),i=`${s.isoWeekYear()}-W${String(s.isoWeek()).padStart(2,"0")}`;a.has(i)||a.set(i,[]),a.get(i).push({id:e.id})}),Array.from(a.keys()).sort().map(e=>a.get(e))},"isNumericGameday",0,function(e){return"number"==typeof e||"string"==typeof e&&""!==e.trim()&&!isNaN(Number(e))},"isValidGameSectionQueryString",0,function({page:e,direction:t}){let s=Number(e);return!!["future","past"].includes(t)&&(!!isNaN(s)||parseInt(e)!=s||!!isNaN(parseInt(e,10))||s>0)},"orderGamedaysByPhase",0,function(e,t){let s=new Map;return(e??[]).forEach(e=>{if("number"==typeof e.round?.id||e.phase?.type==="knockout"){let a=e.round?.id,i=null!=a?`k:${a}`:`kn:${e.game_day}`;s.has(i)||s.set(i,{label:(null!=a?t?.find(e=>e.id===a)?.name:void 0)??e.game_day??"",isKnockout:!0,within:null!=a?a:Number.MAX_SAFE_INTEGER})}else{if(null==e.game_day)return;let t=`s:${e.game_day}`;s.has(t)||s.set(t,{label:e.game_day,isKnockout:!1,within:Number(e.game_day)})}}),Array.from(s.values()).sort((e,t)=>e.isKnockout!==t.isKnockout?e.isKnockout?1:-1:e.within-t.within).map(e=>e.label)}])},99664,e=>{e.v(t=>Promise.all(["static/chunks/0l0bwaknd34r-.js"].map(t=>e.l(t))).then(()=>t(672842)))},893009,e=>{e.v({additionalParagraphClass:"Group-module-scss-module__JwiCQG__additionalParagraphClass"})},661524,e=>{"use strict";var t=e.i(843476),s=e.i(782547),a=e.i(659712),i=e.i(819646),r=e.i(937910),n=e.i(166540),l=e.i(112458),o=e.i(11),d=e.i(210563),u=e.i(907885),c=e.i(230169),m=e.i(893009);let p=["firstname","lastname","emails","gender","sex","phone","country","birthday","positions","nationality","nationality_two","jersey_number"];e.s(["default",0,function(e){let{section:g,data:h}=e,f=(0,o.useIntl)();return(0,t.jsx)("div",{children:h?.members?.length?(0,t.jsxs)(i.default,{children:[(0,t.jsx)(i.default,{pb:4,children:(0,t.jsx)(s.Headline2,{children:g.name})}),(0,t.jsx)(i.default,{pb:4,children:(0,t.jsx)(r.default,{container:!0,spacing:"8px",children:h?.members?.map(e=>(0,t.jsx)(r.default,{size:{xs:6,sm:6,md:4},children:(0,t.jsx)(c.default,{media:e.pic_roster||e.picture,icon:e?.
38jersey_number!==void 0&&e?.jersey_number!==null&&(0,t.jsx)(u.default,{jerseyNumber:e?.jersey_number}),failOverImage:"https://dk9pqlttm1g0o.cloudfront.net/2026-06-29-a/images/websites/empty-roster-mobile.svg",title:[e.firstname,e.lastname].join(" "),description:function(e,s){try{return Object.keys(s).map(a=>{if(s[a]){let s,i,r;return s=p?.find(e=>e===a)?function(e,s){if("gender"===e)return s.sex?(0,t.jsx)(l.FormattedMessage,{id:"gender.female",defaultMessage:"Female"}):(0,t.jsx)(l.FormattedMessage,{id:"gender.male",defaultMessage:"Male"});if("phone"===e)return(0,t.jsx)("a",{href:"tel:"+s.phone,children:s.phone});if("country"===e)return s?.country?.translation;if("nationality"===e)return s?.nationality?.translate||s?.nationality?.translation||s?.nationality?.name||"";if("nationality_two"===e)return s?.nationality_two?.translate||s?.nationality_two?.translation||s?.nationality_two?.name||"";else if("birthday"===e)return s.birthday?(0,n.default)(s.birthday).format("DD/MM/YYYY"):"";else if("positions"===e)return s.positions?.map(e=>h?.positions?.[e])?.join(", ")}(a,e):e?.extra?.find(e=>e.id.toString()===a.toString())?.value,r="string"==typeof e[a]?e[a]:"",s?i=s:r&&(i=r),i?(0,t.jsx)("div",{children:function(e){if("string"!=typeof e||/^\d+([,.]\s?\d+)*$/.test(e)||!/^\d{4}-\d{2}-\d{2}$/.test(e)&&!/^\d{1,2}\/\d{1,2}\/\d{2,4}$/.test(e))return e;let t=new Date(e);return isNaN(t.getTime())?e:t.toLocaleDateString()}(i)}):""}})}catch(e){return""}}(e,g.content.extra_columns),mediaMods:"roster",mods:"icon-jersey",target:"_top",additionalParagraphClass:m.default.additionalParagraphClass},`card-${e.id}`)},e.id))})})]}):(0,t.jsx)(d.default,{title:f.formatMessage(a.sectionMessages["section.roster.empty"]),fullScreenSize:3,smallScreenSize:2})})}])},492314,e=>{e.v(t=>Promise.all(["static/chunks/3t4b3z8_yiput.js"].map(t=>e.l(t))).then(()=>t(32397)))},361238,e=>{"use strict";var t=e.i(843476),s=e.i(782547),a=e.i(776552),i=e.i(937910),r=e.i(271645),n=e.i(243874);e.s(["default",0,function(e){let{title:l,html:o,alignment:d}=e,[u,c]=(0,r.useState)(null),m=(0,r.useRef)([]);return(0,r.useEffect)(()=>{if(!o)return;let e=document.createElement("div");e.innerHTML=o;let t=Array.from(e.querySelectorAll("script"));return t.forEach(e=>e.parentNode?.removeChild(e)),c(e.innerHTML),m.current.forEach(e=>e.remove()),m.current=[],t.forEach(e=>{let t=document.createElement("script");Array.from(e.attributes).forEach(e=>{t.setAttribute(e.name,e.value)}),e.src?t.src=e.src:t.text=e.textContent||"",setTimeout(()=>document.body.appendChild(t),500),m.current.push(t)}),()=>{m.current.forEach(e=>e.remove()),m.current=[]}},[o]),(0,t.jsx)(a.Box,{height:"100%",display:"flex",alignItems:"center",textAlign:d,children:(0,t.jsxs)(i.default,{container:!0,spacing:"8px",size:"grow",children:[l&&(0,t.jsx)(i.default,{size:12,children:(0,t.jsx)(s.Headline2,{children:l})}),u&&(0,t.jsx)(i.default,{size:12,className:n.default.preLine,children:(0,t.jsx)("div",{dangerouslySetInnerHTML:{__html:u}})})]})})}])},247662,e=>{"use strict";var t=e.i(843476),s=e.i(481926),a=e.i(790849),i=e.i(306691),r=e.i(376925),n=e.i(782547),l=e.i(691102),o=e.i(229160),d=e.i(730640),u=e.i(819646),c=e.i(937910),m=e.i(210557),p=e.i(413518),g=e.i(364384),h=e.i(770703),f=e.i(618566),x=e.i(271645),_=e.i(112458),b=e.i(11),y=e.i(314632),j=e.i(659712),v=e.i(776552);let M=(0,e.i(322013).default)(v.Box)(({theme:e})=>({display:"flex",flexDirection:"row",alignItems:"center",gap:e.spacing(4),[e.breakpoints.down("sm")]:{flexDirection:"column"}})),S=(0,h.default)(()=>e.A(511105),{loadableGenerated:{modules:[696287]}}),C=(0,h.default)(()=>e.A(796952),{loadableGenerated:{modules:[237631]}}),w=(0,h.default)(()=>e.A(85156),{loadableGenerated:{modules:[86387]}});e.s(["default",0,function(e){let{data:h}=e,{event:v,countries:P,categories:k,groups:I,tags:E,iSCompetitionData:T}=h,{placeholders:N}=e.data,{website:L}=(0,p.useClub)(),R=(0,b.useIntl)(),{slug:A}=(0,f.useParams)(),O=(0,f.useSearchParams)(),{extendTranslations:F}=(0,g.useTranslations)();(0,m.useTheme)();let[D,$]=(0,x.useState)(O.get("d")||0),[z,q]=(0,x.useState)(O.get("ag")||0),G=(0,y.useSystemPagePath)(l.WebsitePageType.CALENDAR),W=`${(0,y.useSystemPagePath)(l.WebsitePageType.ISCOMPETITION)}/${v.id}`,U=[d.ISCompetitionPageTab.DETAILS,d.ISCompetitionPageTab.TIMETABLE,d.ISCompetitionPageTab.RESULTS],[B,H]=(0,x.useState)(A?.[2]||d.ISCompetitionPageTab.DETAILS),[Y,V]=(0,x.useState)(U.indexOf(B));(0,x.useEffect)(()=>{let e=new URLSearchParams(O.toString());0===Number(D)&&e.delete("d"),Number(D)>0&&e.set("d",D.toString()),0===Number(z)&&e.delete("ag"),Number(z)>0&&e.set("ag",z.toString());let t=W+(Y>0?"/"+B:"");window.history.replaceState(null,"",`${t}?${e.toString()}`)},[D,z]),(0,x.useEffect)(()=>{let e=new URLSearchParams(O.toString());H(U[Y]);let t=W+(Y>0?"/"+U[Y]:"");window.history.replaceState(null,"",`${t}${e?`?${e.toString()}`:""}`)},[Y]),(0,x.useEffect)(()=>{(0,o.isEmpty)(N)||F(N)},[N]);let K=T?.sub_events?.map(e=>e.discipline),Q=Array.from(new Set(K?.map(e=>e.id))).map(e=>K?.find(t=>
38t.id===e)).filter(e=>void 0!==e),Z=Array.from(new Set(T?.sub_events?.map(e=>e.age_groups))).flat().filter(e=>void 0!==e),J=Array.from(new Set(Z.map(e=>e.id))).map(e=>Z.find(t=>t.id===e));return(0,t.jsxs)(u.default,{children:[(0,t.jsx)(u.default,{pb:6,children:(0,t.jsx)(s.default,{href:L?.new_website?G:"/calendar",isClubExternal:!L?.new_website,children:(0,t.jsx)(_.FormattedMessage,{id:"event_page.btn.back.to.calendar",defaultMessage:"###"})})}),(0,t.jsx)(u.default,{pb:4,display:"flex",alignItems:"flex-start",children:(0,t.jsx)(n.Headline2,{children:v.title})}),(0,t.jsx)(c.default,{container:!0,pb:5,children:(0,t.jsx)(c.default,{size:{xs:12,md:6},children:(0,t.jsx)(r.default,{selectedIndex:Y,onClick:(e,t)=>{V(t)},tabs:[{title:R.formatMessage(j.sectionMessages["calendar.details"])},{title:R.formatMessage(j.sectionMessages["calendar.timetable"])},{title:R.formatMessage(j.sectionMessages["calendar.results"])}]})})}),B===d.ISCompetitionPageTab.DETAILS&&(0,t.jsx)(x.Suspense,{fallback:(0,t.jsx)(i.default,{}),children:(0,t.jsx)(S,{hideTitle:!0,eventInfo:{...v,facility:{...v.facility,...T?.facility,venue_country:{id:T?.facility?.venue_country?.id||v.facility?.venue_country?.id||0,name:T?.facility?.venue_country?.name||v.facility?.venue_country?.name||""}}},countriesInfo:P,categoriesInfo:k,groupsInfo:I,organizerClub:null,tags:E})}),(B===d.ISCompetitionPageTab.TIMETABLE||B===d.ISCompetitionPageTab.RESULTS)&&(0,t.jsxs)(M,{pb:4,children:[(0,t.jsx)(a.default,{id:"discipline",value:D,name:"discipline",label:R.formatMessage(j.sectionMessages["section.calendar.disciplines"]),options:[{label:R.formatMessage(j.sectionMessages["section.calendar.all"]),value:0}].concat(Q.map(e=>({label:`${e.name}, ${e.sport?.name}`,value:e.id}))),onChange:e=>{$(e.target.value)}}),(0,t.jsx)(a.default,{id:"age_group",value:z,name:"age_group",label:R.formatMessage(j.sectionMessages["section.calendar.age_groups"]),options:[{label:R.formatMessage(j.sectionMessages["section.calendar.all"]),value:0}].concat(J.map(e=>({label:e.translate||e.name,value:e.id}))),onChange:e=>{q(e.target.value)}})]}),B===d.ISCompetitionPageTab.TIMETABLE&&(0,t.jsx)(x.Suspense,{fallback:(0,t.jsx)(i.default,{}),children:(0,t.jsx)(w,{discipline:Number(D),ageGroup:Number(z),data:T,countries:P})}),B===d.ISCompetitionPageTab.RESULTS&&(0,t.jsx)(x.Suspense,{fallback:(0,t.jsx)(i.default,{}),children:(0,t.jsx)(C,{discipline:Number(D),ageGroup:Number(z),data:T,countries:P})})]})}],247662)},796952,e=>{e.v(t=>Promise.all(["static/chunks/34reunpxm92-w.js"].map(t=>e.l(t))).then(()=>t(237631)))},85156,e=>{e.v(t=>Promise.all(["static/chunks/04fiocw0i17we.js"].map(t=>e.l(t))).then(()=>t(86387)))},917189,e=>{e.v(t=>Promise.all(["static/chunks/2fizab_z1v27i.js"].map(t=>e.l(t))).then(()=>t(306002)))},858e3,e=>{e.v({centerAlignmentTitle:"Image-module-scss-module__38mh_W__centerAlignmentTitle",imageText:"Image-module-scss-module__38mh_W__imageText",imageTextButtonLink:"Image-module-scss-module__38mh_W__imageTextButtonLink",titleHeadline:"Image-module-scss-module__38mh_W__titleHeadline"})},63167,e=>{"use strict";var t=e.i(843476),s=e.i(782547),a=e.i(776552),i=e.i(210557),r=e.i(322013);let n=(0,r.default)("img")(({theme:e})=>({objectFit:"cover",width:"100%",height:"100%","&[data-contain='true']":{objectFit:"contain",objectPosition:"top"},"&[data-max-height='true']":{maxHeight:"544px",[e.breakpoints.down("xs")]:{maxHeight:"unset"}}})),l=(0,r.default)("div")(({theme:e})=>({width:"100%",display:"flex",gap:e.spacing(3),paddingBottom:e.spacing(3),"@media (max-width: 575.92px)":{display:"block"},"&[data-crop='true']":{flexWrap:"wrap"}})),o=(0,r.default)("div")(({theme:e})=>({"&[data-crop='true']":{flex:"1 1",[e.breakpoints.down("xs")]:{marginBottom:"16px"}},"&[data-crop='false']":{flex:"auto",[e.breakpoints.down("xs")]:{marginBottom:"16px"}},"&[data-landscape='true']":{aspectRatio:"4/3"},"&[data-square='true']":{aspectRatio:"1/1"},"&[data-portrait='true']":{aspectRatio:"3/4"}}));e.s(["default",0,function(e){let{section:r}=e;(0,i.useTheme)();let d=r.customize?.format?.imageCropping,u="crop"===d?r.customize.format?.cropImagesTo:"";return(0,t.jsxs)(a.Box,{children:[(0,t.jsx)(s.Headline2,{sx:{marginBottom:"28px"},children:r.name}),(0,t.jsx)(a.Box,{display:"flex",children:(0,t.jsx)(l,{"data-crop":"crop"===d,children:r.content?.map((e,s)=>(0,t.jsx)(o,{"data-crop":"crop"===d,"data-landscape":"landscape"===u,"data-square":"square"===u,"data-portrait":"Portrait"===u,children:(0,t.jsx)("a",{href:e?.url||null,...e?.open_in_new_window?{target:"_blank",rel:"noreferrer"}:{},children:(0,t.jsx)(n,{src:e.src,alt:e.image_name,"data-contain":"crop"!==d,"data-max-height":"crop"!==d&&r.content?.length>2})})},`${e.image_name}-${s}`))})})]})}])},44190,e=>{"use strict";var t=e.i(843476),s=e.i(710269),a=e.i(782547),i=e.i(776552),r=e.i(210557),n=e.i(322013),l=e.i(207670),o=e.i(858e3);let d=(0,n.default)(i.Box)(({theme:e})=>
38({width:"100%",display:"flex",gap:"16px",paddingBottom:"16px",flexDirection:"row",[e.breakpoints.down("md")]:{flexDirection:"column"}}));(0,n.default)(i.Box)(({theme:e})=>({width:"100%",display:"flex",gap:"16px",[e.breakpoints.down("xs")]:{display:"none"}}));let u=(0,n.default)(i.Box)(({theme:e})=>({display:"flex",position:"relative",width:"100%",flex:"1 1",flexDirection:"column",[e.breakpoints.down("xs")]:{marginBottom:"16px",flexDirection:"column"},"&.landscape img":{aspectRatio:"4/3"},"&.square img":{aspectRatio:"1/1"},"&.portrait img":{aspectRatio:"3/4"}})),c=(0,n.default)("img")(({theme:e})=>({objectFit:"cover",maxWidth:"100%",maxHeight:"100%"}));e.s(["default",0,function(e){let{section:n}=e;(0,r.useTheme)();let m=n.customize?.format?.imageAspectRatio,p=n.customize?.format?.alignment;return(0,t.jsxs)(i.Box,{children:[(0,t.jsx)(a.Headline2,{sx:{marginBottom:5},className:(0,l.default)("center"===p&&o.default.centerAlignmentTitle),children:n.name}),(0,t.jsx)(i.Box,{display:"flex",children:(0,t.jsx)(d,{flexWrap:"wrap",pb:4,children:n.content?.map((e,r)=>(0,t.jsxs)(u,{className:m,children:[(0,t.jsx)(c,{src:e.src,alt:e.image_name||""}),(0,t.jsxs)(i.Box,{flexDirection:"column",children:[(0,t.jsx)(a.Paragraph1,{className:(0,l.default)(o.default.imageText,"center"===p&&o.default.centerAlignmentTitle),sx:{textAlign:p||"left"},children:(0,t.jsx)("strong",{children:e.text})}),e.imageButtonLink&&e.imageButtonLinkText&&(0,t.jsx)(i.Box,{display:"flex",className:(0,l.default)("center"===p&&o.default.centerAlignmentTitle),mt:4,alignItems:p||"",justifyContent:p||"",children:(0,t.jsx)("a",{className:o.default.imageTextButtonLink,href:e.imageButtonLink||null,...e?.open_in_new_window?{target:"_blank",rel:"noreferrer"}:{},children:(0,t.jsx)(s.default,{applyBackgroundColor:!0,children:e.imageButtonLinkText})})})]})]},`${e.image_name}-${r}`))})})]})}])},594109,e=>{"use strict";var t=e.i(843476),s=e.i(864354),a=e.i(782547),i=e.i(856931),r=e.i(776552),n=e.i(210557),l=e.i(322013),o=e.i(207670),d=e.i(858e3);e.s(["default",0,function(e){let{section:u,isPreview:c}=e,m=u?.content?.src,p=u?.content?.open_in_new_window||c?{target:"_blank",rel:"noreferrer"}:{},g=u.customize?.format.image_width||"";if((0,n.useTheme)(),!m)return null;let h=u.layout!==i.SectionLayoutType.IMAGE_TITLE&&g||"",f=(0,l.default)("div")(({theme:e})=>({'&[data-mode="full_width"]':{"& .imageContainer":{position:"absolute",zIndex:-1,inset:0,overflowY:"hidden"},width:"100%",height:"100vh",[e.breakpoints.down("sm")]:{height:244}},'&[data-mode="with_border"]':{"& .imageContainer":{display:"flex",alignItems:"center",justifyContent:"center"}},'&[data-mode="cropped"]':{height:480,width:"100%",[e.breakpoints.down("sm")]:{height:244},"& .imageContainer":{position:"absolute",zIndex:-1,inset:0,overflowY:"hidden"}}})),x=(0,l.default)("div")({position:"relative","& img":{width:"100%",objectFit:"cover",height:"100%"}});return(0,t.jsxs)(r.Box,{children:[u.layout===i.SectionLayoutType.IMAGE_TITLE&&(0,t.jsx)(a.Headline3,{className:(0,o.default)(u.customize?.format?.alignment==="center"&&d.default.centerAlignmentTitle,d.default.titleHeadline),children:u.content?.image_title}),(0,t.jsx)(f,{"data-mode":h,children:(0,t.jsx)("a",{href:u?.content?.url??null,...p,children:(0,t.jsx)(x,{className:"imageContainer",children:(0,t.jsx)(s.default,{mime:u.content?.mime,src:m,style:{}})})})})]})}])},473852,e=>{"use strict";var t=e.i(843476),s=e.i(782547),a=e.i(691102),i=e.i(854570),r=e.i(776552),n=e.i(791882),l=e.i(413518),o=e.i(112458);e.s(["default",0,function(){let{club:e,website:d,modes:u}=(0,l.useClub)(),c=u?.find(e=>e.type===(d?.default_color_mode??a.WebsiteColorMode.M1_MODE))??i.mockModeColors,m=e?.emails?.[0],p=e?.representative_first_name||e?.representative_last_name?[e?.representative_first_name,e?.representative_last_name].filter(Boolean).join(" "):null,g=e?.tax_id;return(0,t.jsx)(n.Container,{maxWidth:"md",children:(0,t.jsxs)(r.Box,{sx:{py:{xs:4,md:6},minHeight:"400px"},children:[(0,t.jsx)(r.Box,{sx:{mb:3},children:(0,t.jsx)(s.Headline2,{children:(0,t.jsx)(o.FormattedMessage,{id:"legal.disclaimer.title",defaultMessage:"Legal Disclaimer"})})}),(0,t.jsx)(r.Box,{sx:{mb:4},children:(0,t.jsx)(s.Paragraph1,{children:(0,t.jsx)(o.FormattedMessage,{id:"legal.disclaimer.text",defaultMessage:"This website is operated by {clubName}. While we make every effort to keep the information on this website accurate and up to date, we cannot guarantee the completeness or correctness of all content. {clubName} assumes no liability for any damages arising directly or indirectly from the use of this website.",values:{clubName:e?.name||""}})})}),(0,t.jsx)(r.Box,{sx:{mb:4},children:(0,t.jsx)(s.Paragraph1,{children:(0,t.jsx)(o.FormattedMessage,{id:"legal.disclaimer.external_links",defaultMessage:"Links to external sites are provided for c
38onvenience. {clubName} is not responsible for the content of external websites.",values:{clubName:e?.name||""}})})}),(0,t.jsx)(r.Box,{sx:{mb:3},children:(0,t.jsx)(s.Headline2,{sx:{fontSize:{xs:"1.25rem",md:"1.5rem"},mb:2},children:(0,t.jsx)(o.FormattedMessage,{id:"legal.disclaimer.club_info",defaultMessage:"Club Information"})})}),(0,t.jsxs)(r.Box,{sx:{backgroundColor:c.card,border:`1px solid ${c.text_background}20`,borderRadius:d?.button_style==="SQUARE_CORNERS"?0:d?.button_style==="PILL_SHAPED"?"24px":"8px",padding:3,color:`${c.text_background} !important`,"& *":{color:`${c.text_background} !important`}},children:[e?.name&&(0,t.jsxs)(r.Box,{sx:{mb:3},children:[(0,t.jsx)(s.Paragraph2,{sx:{fontWeight:600,mb:.5},children:(0,t.jsx)(o.FormattedMessage,{id:"legal.disclaimer.club_name",defaultMessage:"Club Name"})}),(0,t.jsx)(s.Paragraph1,{children:e.name})]}),(e?.address1||e?.address_postal||e?.address_city)&&(0,t.jsxs)(r.Box,{sx:{mb:3},children:[(0,t.jsx)(s.Paragraph2,{sx:{fontWeight:600,mb:.5},children:(0,t.jsx)(o.FormattedMessage,{id:"legal.disclaimer.address",defaultMessage:"Address"})}),(0,t.jsxs)(s.Paragraph1,{children:[e.address1&&(0,t.jsxs)(t.Fragment,{children:[e.address1,(0,t.jsx)("br",{})]}),e.address2&&(0,t.jsxs)(t.Fragment,{children:[e.address2,(0,t.jsx)("br",{})]}),(e.address_postal||e.address_city)&&(0,t.jsxs)(t.Fragment,{children:[e.address_postal&&`${e.address_postal} `,e.address_city,e.country?.name&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("br",{}),e.country.name]})]})]})]}),m&&(0,t.jsxs)(r.Box,{sx:{mb:3},children:[(0,t.jsx)(s.Paragraph2,{sx:{fontWeight:600,mb:.5},children:(0,t.jsx)(o.FormattedMessage,{id:"legal.disclaimer.email",defaultMessage:"Contact Email"})}),(0,t.jsx)(s.Paragraph1,{children:m})]}),g&&(0,t.jsxs)(r.Box,{sx:{mb:3},children:[(0,t.jsx)(s.Paragraph2,{sx:{fontWeight:600,mb:.5},children:(0,t.jsx)(o.FormattedMessage,{id:"legal.disclaimer.registration_number",defaultMessage:"Registration Number"})}),(0,t.jsx)(s.Paragraph1,{children:g})]}),p&&(0,t.jsxs)(r.Box,{sx:{mb:3},children:[(0,t.jsx)(s.Paragraph2,{sx:{fontWeight:600,mb:.5},children:(0,t.jsx)(o.FormattedMessage,{id:"legal.disclaimer.legal_representative",defaultMessage:"Legal Representative"})}),(0,t.jsx)(s.Paragraph1,{children:p})]})]})]})})}])},9654,e=>{e.v({title:"Lesson-module-scss-module__nMYOiG__title"})},825687,e=>{e.v({root:"LessonProfileSelector-module-scss-module__Ia0hbG__root",selector:"LessonProfileSelector-module-scss-module__Ia0hbG__selector"})},24168,e=>{e.v({buttons:"QuestionsForm-module-scss-module__J2YCrW__buttons",checkboxContainer:"QuestionsForm-module-scss-module__J2YCrW__checkboxContainer",error:"QuestionsForm-module-scss-module__J2YCrW__error",fileLoader:"QuestionsForm-module-scss-module__J2YCrW__fileLoader",form:"QuestionsForm-module-scss-module__J2YCrW__form",question:"QuestionsForm-module-scss-module__J2YCrW__question",questions:"QuestionsForm-module-scss-module__J2YCrW__questions",textField:"QuestionsForm-module-scss-module__J2YCrW__textField",title:"QuestionsForm-module-scss-module__J2YCrW__title"})},545458,e=>{e.v({buttons:"QuestionsResultCard-module-scss-module__DOuSBG__buttons",cardItem:"QuestionsResultCard-module-scss-module__DOuSBG__cardItem",cardItemContent:"QuestionsResultCard-module-scss-module__DOuSBG__cardItemContent",cardItemLabel:"QuestionsResultCard-module-scss-module__DOuSBG__cardItemLabel",divider:"QuestionsResultCard-module-scss-module__DOuSBG__divider",minutes:"QuestionsResultCard-module-scss-module__DOuSBG__minutes",root:"QuestionsResultCard-module-scss-module__DOuSBG__root"})},849964,e=>{"use strict";var t=e.i(843476),s=e.i(782547),a=e.i(705729),i=e.i(912919),r=e.i(928748),n=e.i(867129),l=e.i(80642),o=e.i(870426),d=e.i(771563),u=e.i(482068),c=e.i(19898),m=e.i(776552),p=e.i(127167),g=e.i(413518),h=e.i(627741),f=e.i(259087),x=e.i(618566),_=e.i(271645),b=e.i(11),y=e.i(79108),j=e.i(9654),v=e.i(790849),M=e.i(301005);let S=(0,M.defineMessages)({profile:{id:"profile",defaultMessage:"#Profile"}});var C=e.i(659712),w=e.i(112458),P=e.i(825687);function k(e){let{users:a,selectedUserId:i,disabled:r,onSelect:n}=e,l=(0,b.useIntl)(),o=a.map(e=>{var t;let s=(t=e.user)?`${t.firstname||""} ${t.lastname||""}`.trim():null;return{label:e.submitted?`${s} (${l.formatMessage(C.sectionMessages["education.profile.already.submitted"])})`:s,value:e.user?.id}});return(0,t.jsxs)(m.Box,{className:P.default.root,children:[(0,t.jsx)(s.Paragraph1,{children:(0,t.jsx)("strong",{children:(0,t.jsx)(w.FormattedMessage,{...C.sectionMessages["education.who.is.answering"]})})}),(0,t.jsx)(v.default,{className:P.default.selector,id:"education-lesson-profile",name:"education-lesson-profile",label:l.formatMessage(S.profile),value:i??"",options:o,disabled:r,onChange:e=>n(Number(e.target.value))})]})}var I=e.i(356437),E=e.i(710269),T=e.i(141636),N=e.i(306691),L=e.i(24168);let R=e=>{let{type:s,name:a,removeFile:i,onFileChange:r,loading:n}=e,l=(0,_.useRef)(null);return n?(0,t.jsx)(m.Box,{className:L.default.fileLoader,children:(0,t.jsx)(N.default,{size:20})}):a?(0,t.jsx)(T.default,{label:a,onDelete:i}):(0,t.jsxs)(m.Box,{children:[(0,t.jsx)(E.default,{onClick:()=>l.current?.click(),children:(0,t.jsx)(w.FormattedMessage,{...C.sectionMessages["education.upload"]})}),(0,t.jsx)("input",{ref:l,type:"file",accept:"video"===s?"video/mp4, video/webm":".pdf,.doc,.docx",hidden:!0,onChange:e=>{let t=e.target.files[0];t&&r(t)}})]})};var A=e.i(182472),O=e.i(828637),O=O,F=e.i(325376),D=e.i(358458),D=D,$=e.i(322190),z=e.i(474131),q=e.i(369437),G=e.i(812497),W=e.i(383216),U=e.i(87845),B=e.i(499683);let H=(0,M.defineMessages)({required:{id:"cookie.banner.checkbox.required",defaultMessage:"Required"}});function Y(e){let{questions:a,loading:r,submitQuestions:n}=e,[l,o]=(0,_.useState)([]),{token:d}=(0,p.useAuth)(),{prefix:u}=(0,g.useClub)(),{showSnackbar:c}=(0,h.useSnackbar)(),f=(0,b.useIntl)(),x=a.reduce((e,t)=>
38(e[t.id.toString()]="text"===t.type||"radio"===t.type?B.string().required(f.formatMessage(H.required)):"video"===t.type||"document"===t.type?B.object().required(f.formatMessage(H.required)):B.array().min(1,f.formatMessage(H.required)).required(f.formatMessage(H.required)),e),{}),y=B.object().shape(x),j=async e=>{try{let t=new FormData;return t.append("file",e),t.append("used_by","education"),await (0,U.uploadUserDocument)({clubPrefix:u,token:d,body:t})}catch(e){return c({message:f.formatMessage(i.errorMessages["error.something_wrong"]),variant:"error"}),null}},v=async e=>{try{let t=await (0,W.requestVideoSignedUrl)({clubPrefix:u,token:d,body:{content_type:"video/mp4"===e.type?"video/mp4":"video/webm"===e.type?"video/webm":null,file_name:e.name,used_by:"education"}});if(!t.signed_upload_url)throw Error("Failed to get signed URL");return await fetch(t.signed_upload_url,{method:"PUT",body:e,headers:{"Content-Type":e.type}}),{filename:e.name,value:t.file.url}}catch(e){return c({message:f.formatMessage(i.errorMessages["error.something_wrong"]),variant:"error"}),null}};return(0,t.jsx)(G.Formik,{initialValues:{},validationSchema:y,onSubmit:e=>{n(Object.entries(e).map(([e,t])=>{let s=parseInt(e),i=a.find(e=>e.id===s)?.type;return Array.isArray(t)?{question_id:s,selected_options:t,answer:null,file_url:null}:"string"==typeof t?{question_id:s,answer:"text"===i?t:null,selected_options:"radio"===i&&"string"==typeof t?[parseInt(t)]:null,file_url:null}:"object"==typeof t&&t.filename&&t.file_url?{question_id:s,answer:null,file_url:t.file_url,selected_options:null}:void 0}))},children:({values:e,handleChange:i,errors:n,handleSubmit:d,submitCount:u,setFieldValue:c})=>(0,t.jsxs)(G.Form,{className:L.default.form,children:[(0,t.jsx)(s.Headline2,{className:L.default.title,children:(0,t.jsx)(w.FormattedMessage,{...C.sectionMessages["education.questions"]})}),(0,t.jsx)(m.Box,{className:L.default.questions,children:a.map((a,r)=>"text"===a.type?(0,t.jsxs)(m.Box,{children:[(0,t.jsxs)(s.Paragraph1,{className:L.default.question,children:[(0,t.jsx)(w.FormattedMessage,{...C.sectionMessages["education.question"]})," ",r+1,": ",a.label]}),(0,t.jsx)(q.TextField,{className:L.default.textField,label:(0,t.jsx)(w.FormattedMessage,{...C.sectionMessages["education.write.something.here"]}),name:a.id.toString(),value:e[a.id],onChange:i,variant:"outlined",error:u>0&&!!n[a.id],helperText:u>0&&n[a.id]?(0,t.jsx)(s.Paragraph1,{className:L.default.error,children:n[a.id]}):null,multiline:!0,rows:4})]},"question-text-"+a.id):"checkbox"===a.type?(0,t.jsxs)(m.Box,{children:[(0,t.jsxs)(s.Paragraph1,{className:L.default.question,children:[(0,t.jsx)(w.FormattedMessage,{...C.sectionMessages["education.question"]})," ",r+1,": ",a.label]}),(0,t.jsx)(G.FieldArray,{name:a.id.toString(),render:i=>(0,t.jsx)(m.Box,{className:L.default.checkboxContainer,children:a.options.map(n=>(0,t.jsx)(F.FormControlLabel,{control:(0,t.jsx)(A.Checkbox,{name:`${a.id}[${r}].${n.id}`,checked:e[a.id]?.includes(n.id),onChange:t=>{if(t.currentTarget.checked)i.push(n.id);else{let t=e[a.id]?.indexOf(n.id);-1!==t&&i.remove(t)}}}),label:(0,t.jsx)(s.Paragraph1,{children:n.label})},"question-checkbox-option-"+n.id))},a.id)}),n[a.id]&&u>0&&(0,t.jsx)(s.Paragraph1,{className:L.default.error,children:n[a.id]})]},"question-checkbox-"+a.id):"radio"===a.type?(0,t.jsxs)(m.Box,{children:[(0,t.jsxs)(O.default,{component:"fieldset",children:[(0,t.jsxs)(D.default,{component:"legend",children:[(0,t.jsx)(w.FormattedMessage,{...C.sectionMessages["education.question"]})," ",r+1,": ",a.label]}),(0,t.jsx)(z.RadioGroup,{name:a.id.toString(),value:e[a.id],onChange:i,children:a.options.map(e=>(0,t.jsx)(F.FormControlLabel,{value:e.id,control:(0,t.jsx)($.Radio,{}),label:(0,t.jsx)(s.Paragraph1,{children:e.label})},"question-radio-option-"+e.id))})]}),n[a.id]&&u>0&&(0,t.jsx)(s.Paragraph1,{className:L.default.error,children:n[a.id]})]},"question-radio-"+a.id):"video"===a.type?(0,t.jsxs)(m.Box,{children:[(0,t.jsxs)(s.Paragraph1,{className:L.default.question,children:[(0,t.jsx)(w.FormattedMessage,{...C.sectionMessages["education.question"]})," ",r+1,": ",a.label]}),(0,t.jsx)(s.Paragraph1,{className:L.default.question,children:(0,t.jsx)(w.FormattedMessage,{...C.sectionMessages["education.upload.video"]})}),(0,t.jsx)(R,{type:"video",name:e[a.id]?.filename,onFileChange:async e=>{o([...l,a.id]);let t=await v(e);t&&c(a.id.toString(),{filename:t.filename,file_url:t.value}),o(l.filter(e=>e!==a.id))},removeFile:()=>{c(a.id.toString(),null)},loading:l.includes(a.id)}),n[a.id]&&u>0&&(0,t.jsx)(s.Paragraph1,{className:L.default.error,children:n[a.id]})]}
38,"question-video-"+a.id):"document"===a.type?(0,t.jsxs)(m.Box,{children:[(0,t.jsxs)(s.Paragraph1,{className:L.default.question,children:[(0,t.jsx)(w.FormattedMessage,{...C.sectionMessages["education.question"]})," ",r+1,": ",a.label]}),(0,t.jsx)(s.Paragraph1,{className:L.default.question,children:(0,t.jsx)(w.FormattedMessage,{...C.sectionMessages["education.upload.document"]})}),(0,t.jsx)(R,{type:"document",onFileChange:async e=>{o([...l,a.id]);let t=await j(e);t&&c(a.id.toString(),{filename:t.filename,file_url:t.value}),o(l.filter(e=>e!==a.id))},name:e[a.id]?.filename,removeFile:()=>{c(a.id.toString(),null)},loading:l.includes(a.id)}),n[a.id]&&u>0&&(0,t.jsx)(s.Paragraph1,{className:L.default.error,children:n[a.id]})]},"question-document-"+a.id):null)}),(0,t.jsx)(m.Box,{className:L.default.buttons,children:(0,t.jsx)(I.default,{onClick:()=>d(),disabled:r||l.length>0,children:(0,t.jsx)(w.FormattedMessage,{...C.sectionMessages["education.submit.results"]})})})]})})}var V=e.i(805042),K=e.i(844722),Q=e.i(691102),Z=e.i(313995),J=e.i(166540),X=e.i(522016),ee=e.i(314632),et=e.i(545458);function es(e){let{lesson:a,courseId:i,selectedUserId:r}=e,n=(0,ee.useSystemPagePath)(Q.WebsitePageType.EDUCATION_LESSON),l=(0,ee.useSystemPagePath)(Q.WebsitePageType.EDUCATION_COURSE),o="number"==typeof a.time_spent_in_seconds?Math.floor(a.time_spent_in_seconds/60):0,d=r?`?user=${r}`:"",u=a.next_lesson?.id&&n?`${n}/course/${i}/lesson/${a.next_lesson.id}${d}`:null,c=a.previous_lesson?.id&&n?`${n}/course/${i}/lesson/${a.previous_lesson.id}${d}`:null,p=i&&l?`${l}/${i}${d}`:null;return(0,t.jsxs)(m.Box,{children:[(0,t.jsx)(K.default,{children:(0,t.jsxs)(m.Box,{className:et.default.root,children:[(0,t.jsx)(s.Paragraph1,{children:(0,t.jsx)("strong",{children:(0,t.jsx)(w.FormattedMessage,{...C.sectionMessages["education.your.answers"]})})}),(0,t.jsx)(s.Paragraph1,{children:(0,t.jsx)(w.FormattedMessage,{...C.sectionMessages["education.your.answers.description"]})}),(0,t.jsxs)(m.Box,{className:et.default.cardItem,children:[(0,t.jsx)(s.Paragraph2,{className:et.default.cardItemLabel,children:(0,t.jsxs)("strong",{children:[(0,t.jsx)(w.FormattedMessage,{...C.sectionMessages["education.time.spent"]}),":"]})}),(0,t.jsxs)(s.Paragraph2,{className:et.default.minutes,children:[o," ",(0,t.jsx)(w.FormattedMessage,{id:"v3_gamesheet.action.field.minutes",defaultMessage:"Minutes"})]})]}),a.opened&&(0,t.jsxs)(m.Box,{className:et.default.cardItem,children:[(0,t.jsx)(s.Paragraph2,{className:et.default.cardItemLabel,children:(0,t.jsxs)("strong",{children:[(0,t.jsx)(w.FormattedMessage,{...C.sectionMessages["education.opened"]}),":"]})}),(0,t.jsxs)(s.Paragraph2,{children:[(0,t.jsx)(w.FormattedMessage,{...V.attendanceMessages.yes})," ",(0,J.default)(a.opened).local().format("DD/MM/YYYY HH:mm")]})]}),a.submitted&&(0,t.jsxs)(m.Box,{className:et.default.cardItem,children:[(0,t.jsx)(s.Paragraph2,{className:et.default.cardItemLabel,children:(0,t.jsxs)("strong",{children:[(0,t.jsx)(w.FormattedMessage,{...C.sectionMessages["education.submitted"]}),":"]})}),(0,t.jsxs)(s.Paragraph2,{children:[(0,t.jsx)(w.FormattedMessage,{...V.attendanceMessages.yes})," ",(0,J.default)(a.submitted).local().format("DD/MM/YYYY HH:mm")]})]}),a.questions?.map((e,a)=>{let i="text"===e.type?e.answer:e.options?.filter(t=>e.selected_options?.includes(t.id))?.map(e=>(0,t.jsx)(m.Box,{children:e.label},"option-label-"+e.id));return(0,t.jsxs)(m.Box,{children:[(0,t.jsx)(Z.Divider,{className:et.default.divider}),(0,t.jsxs)(m.Box,{className:et.default.cardItem,children:[(0,t.jsx)(s.Paragraph2,{className:et.default.cardItemLabel,children:(0,t.jsxs)("strong",{children:[(0,t.jsx)(w.FormattedMessage,{...C.sectionMessages["education.question"]})," ",a+1,":"]})}),(0,t.jsx)(s.Paragraph2,{className:et.default.cardItemContent,children:e.label})]}),(0,t.jsxs)(m.Box,{className:et.default.cardItem,children:[(0,t.jsx)(s.Paragraph2,{className:et.default.cardItemLabel,children:(0,t.jsxs)("strong",{children:[(0,t.jsx)(w.FormattedMessage,{...C.sectionMessages["education.users.answer"]}),":"]})}),(0,t.jsx)(s.Paragraph2,{className:et.default.cardItemContent,children:i})]}),(0,t.jsxs)(m.Box,{className:et.default.cardItem,children:[(0,t.jsx)(s.Paragraph2,{className:et.default.cardItemLabel,children:(0,t.jsxs)("strong",{children:[(0,t.jsx)(w.FormattedMessage,{...C.sectionMessages["education.grade"]}),":"]})}),(0,t.jsx)(s.Paragraph2,{className:et.default.cardItemContent,children:e.grade||"Pending"})]})]},e.id)})]})}),(0,t.jsxs)(m.Box,{className:et.default.buttons,children:[c&&(0,t.jsx)(X.default,{href:c,children:(0,t.jsx)(E.default,{children:(0,t.jsx)(w.FormattedMessage,{...C.sectionMessages["education.lesson.previous"]})})}),(!c||!u)&&p&&(0,t.jsx)(X.default,{href:p,children:(0,t.jsx)(E.default,{children:(0,t.jsx)(w.FormattedMessage,{...C.sectionMessages["education.lesson.back.to.course"]})})}),u&&(0,t.jsx)(X.default,{href:u,children:(0,t.jsx)(I.default,{children:(0,t.jsx)(w.FormattedMessage,{...C.sectionMessages["education.lesson.next"]})})})]})]})}e.s(["default",0,function(e){(0,a.useRequireAuth)();let{token:v,user:M}=(0,p.useAuth)(),{prefix:S}=(0,g.useClub)(),{showSnackbar:C}=(0,h.useSnackbar)(),w=(0,b.useIntl)(),P=(0,x.useRouter)(),I=(0,x.useSearchParams)(),[E,T]=(0,_.useState)(!1),{lesson:N,courseId:L,lessonUsers:R,selectedUserId:A}=e.data,[O,F]=(0,_.useState)(N),[D,$]=(0,_.useState)(R||[]),[z,q]=(0,_.useState)(A||(R?.some(e=>e.user?.id===M?.id)?M?.id:null)),G=async e=>{try{T(!0);let t=await (0,y.submitLessonAnswers)({clubPrefix:S,token:v,courseId:L,lessonId:N.id,body:e,selectedUserId:z});F(t),$(e=>e.map(e=>e.user?.id===z?{...e,submitted:!0}:e))}catch(e){C({message:w.formatMessage(i.errorMessages["error.something_wrong"]),variant:"error"})}finally{T(!1)}},W=async e=>{if(e!==z)try{T(!0);let t=await (0,y.getLesson)({clubPrefix:S,token:v,courseId:L,lessonId:N.id,selectedUserId:e});q(e),F(t);let s=new URLSearchParams(I.toString());s.set("user",e.toString()),P.replace(`?${s.toString()}`,{scroll:!1})}catch(e){C({message:w.formatMessage(i.errorMessages["error.something_wrong"]),variant:"error"})}finally{T(!1)}};return O?(0,t.jsxs)("article",{children:[(0,t.jsx)(s.Headline2,{className:j.default.title,children:O.name}),(0,t.jsxs)(m.Box,{children:[O?.contents?.map(e=>"paragraph"===e.layout?(0,t.jsx)(u.default,{text:(0,f.default)(e.data.paragraph)},"content-paragraph-"+e.id):"button"===e.layout?(0,t.jsx)(l.default,{link:e.data.url,title:e.data.text},"content-button-"+e.id):"link"===e.layout?(0,t.jsx)(d.default,{link:e.data.url,title:e.data.text}
38,"content-link-"+e.id):"video"===e.layout?(0,t.jsx)(c.default,{videoUrl:e.data.external_url||e.data.internal_url},"content-video-"+e.id):"images"===e.layout?(0,t.jsx)(o.default,{pictures:e.data.images.map(e=>e.url),photographer:e.data.images[0]?.photographer},"content-images-"+e.id):"documents"===e.layout?(0,t.jsx)(r.default,{section:{content:{documents:e.data.documents.map((e,t)=>({id:t,name:e.name,url:e.url,created:""}))},name:""}},"content-documents-"+e.id):null),O?.questions?.length>0&&D?.length>1&&(0,t.jsx)(k,{users:D,selectedUserId:z,disabled:E,onSelect:W}),O?.questions?.length>0&&!O?.submitted&&(0,t.jsx)(Y,{questions:O.questions,loading:E,submitQuestions:G},z),O?.submitted&&(0,t.jsx)(es,{lesson:O,courseId:L,selectedUserId:z})]})]}):(0,t.jsx)(n.default,{mods:"media-placeholder",fullScreenSize:1,smallScreenSize:1,title:w.formatMessage({id:"v3_gamesandstandings.no.data",defaultMessage:"There is no data to display"})})}],849964)},183191,e=>{e.v(t=>Promise.all(["static/chunks/3mn4bpo7xa2bw.js"].map(t=>e.l(t))).then(()=>t(304553)))},192146,e=>{"use strict";var t=e.i(843476),s=e.i(4407),a=e.i(484624),i=e.i(791882),r=e.i(127167),n=e.i(413518),l=e.i(356437),o=e.i(782547),d=e.i(107434),u=e.i(757328),c=e.i(819646),m=e.i(236807),p=e.i(688762),g=e.i(166540),h=e.i(271645),f=e.i(112458),x=e.i(11),_=e.i(456594),b=e.i(923512),y=e.i(782052),j=e.i(805318),v=e.i(316174),M=e.i(904896),S=e.i(723897),C=e.i(591052),w=e.i(936151),P=e.i(177797);let k=function({clubPrefix:e,onFound:s,onCreateNew:a}){let i=(0,x.useIntl)(),[r,n]=(0,h.useState)("find"),[m,g]=(0,h.useState)(""),y=async(t,a)=>{let r={license_number:String(a.get("license_number")??"").trim(),email:String(a.get("email")??"").trim()};try{let t=await (0,_.findUserForLicense)({clubPrefix:e,body:r});if(!t?.id)return{error:i.formatMessage(P.messages.userNotFound)};return s(t,r),{error:null}}catch(e){return console.error(e),{error:i.formatMessage(P.messages.userNotFound)}}},[j,k,I]=(0,h.useActionState)(y,{error:null}),E=!!m.trim()&&!(0,d.emailCharactersValidate)(m);return(0,t.jsx)(M.default,{variant:"outlined",className:b.default.cardWide,children:(0,t.jsxs)(c.default,{className:b.default.cardInner,children:[(0,t.jsx)("div",{className:"relative",children:(0,t.jsxs)(C.default,{value:r,onChange:(e,t)=>
38n(t),className:b.default.tabs,children:[(0,t.jsx)(S.default,{value:"find",label:i.formatMessage(P.messages.tabFindVDSTMember)}),(0,t.jsx)(S.default,{value:"create",label:i.formatMessage(P.messages.tabCreateDiver)})]})}),"find"===r?(0,t.jsxs)(c.default,{component:"form",action:k,children:[(0,t.jsx)(o.Paragraph2,{className:b.default.subtitle,children:(0,t.jsx)(f.FormattedMessage,{...P.messages.vdstfindUserSubtitle})}),(0,t.jsxs)(c.default,{className:b.default.fieldsColumn,children:[(0,t.jsx)(w.default,{name:"license_number",fullWidth:!0,size:"small",label:i.formatMessage(P.messages.vdstmembernumberLabel)}),(0,t.jsx)(w.default,{name:"email",type:"email",fullWidth:!0,size:"small",label:i.formatMessage(P.messages.emailLabel)})]}),j.error&&(0,t.jsxs)(c.default,{className:b.default.findErrorRow,children:[(0,t.jsx)(u.default,{fontSize:"small"}),(0,t.jsx)(o.Paragraph2,{className:b.default.errorText,children:j.error})]}),(0,t.jsx)(c.default,{className:b.default.submitRowSpaced,children:(0,t.jsx)(l.default,{type:"submit",disabled:I,startIcon:I?(0,t.jsx)(p.default,{size:20}):void 0,children:(0,t.jsx)(f.FormattedMessage,{...P.messages.findUserSubmit})})})]}):(0,t.jsxs)(c.default,{component:"form",onSubmit:e=>{e.preventDefault();let t=m.trim();t&&!E&&a(t)},children:[(0,t.jsx)(o.Paragraph2,{className:b.default.subtitle,children:(0,t.jsx)(f.FormattedMessage,{...P.messages.createMemberSubtitleVdst})}),(0,t.jsx)(w.default,{name:"new_member_email",type:"email",required:!0,fullWidth:!0,size:"small",label:i.formatMessage(P.messages.emailLabel),value:m,onChange:e=>g(e.target.value),error:E,helperText:E?i.formatMessage(v.messages.invalidEmailCharacters):void 0}),(0,t.jsx)(c.default,{className:b.default.submitRowSpaced,children:(0,t.jsx)(l.default,{type:"submit",disabled:!m.trim()||E,children:(0,t.jsx)(f.FormattedMessage,{...P.messages.createMemberSubmit})})})]})]})})};var I=e.i(223360),E=e.i(236888),T=e.i(607288),N=e.i(2157),L=e.i(703118),R=e.i(28693),A=e.i(352679),O=e.i(591975),F=e.i(239505),D=e.i(966521),$=e.i(80879);let z=e=>{if(!e)return null;let t=(0,g.default)(e,F.DISPLAY_DATE_FORMAT,!0);return t.isValid()?t.format(F.API_ISO_DATE_FORMAT):null},q=function({clubPrefix:e,token:s,defaultClubId:a}){let i=(0,x.useIntl)(),{club:r}=(0,n.useClub)(),g=r?.admin_lang,[v,M]=(0,h.useState)("form"),[S,C]=(0,h.useState)(!0),[w,F]=(0,h.useState)(null),[q,G]=(0,h.useState)(null),[W,U]=(0,h.useState)(!1),[B,H]=(0,h.useState)({email:"",firstname:"",lastname:""}),[Y,V]=(0,h.useState)([]),[K,Q]=(0,h.useState)([]),[Z,J]=(0,h.useState)([]),[X,ee]=(0,h.useState)(null),[et,es]=(0,h.useState)(null),[ea,ei]=(0,h.useState)(!1),[er,en]=(0,h.useState)([]),[el,eo]=(0,h.useState)(null),[ed,eu]=(0,h.useState)([]),[ec,em]=(0,h.useState)(""),[ep,eg]=(0,h.useState)(""),[eh,ef]=(0,h.useState)({}),[ex,e_]=(0,h.useState)(!1),[eb,ey]=(0,h.useState)(null),[ej,ev]=(0,h.useState)(!1),[eM,eS]=(0,h.useState)(0),[eC,ew]=(0,h.useState)(!1),[eP,ek]=(0,h.useState)(0),eI=(0,h.useCallback)(t=>(0,_.uploadUserPicture)({file:t,clubPrefix:e,token:s}),[e,s]),eE=(0,h.useCallback)(t=>(W?(0,_.uploadUserDocumentPublic)({file:t,clubPrefix:e}):(0,_.uploadUserDocument)({file:t,clubPrefix:e,token:s})).then(e=>e?.value?`${e.value}|${e.filename??""}`:null),[e,s,W]);(0,h.useEffect)(()=>{let t=!0;return C(!0),ev(!1),Promise.all([(0,_.getLicensePackageSports)({clubPrefix:e,language:g}),(0,_.getLicensePackageCategories)({clubPrefix:e}),(0,_.getLicenseCountries)({language:g})]).then(([e,s,a])=>{t&&(V(e.map(e=>({id:e.id,label:e.name}))),Q(s),J(a))}).catch(e=>{t&&(ev(!0),console.error(e))}).finally(()=>t&&C(!1)),()=>{t=!1}},[e,eM,g]);let eT=(0,h.useCallback)(t=>q?(0,_.getAvailablePackagesForUser)({clubPrefix:e,findUser:q,query:t,language:g}):Promise.resolve({data:[],total:0}),[e,q,g]);(0,h.useEffect)(()=>{if(!X||!q){es(null),en([]);return}let t=!0;ei(!0),ew(!1);let s=W?{}:q;return Promise.all([(0,_.getAvailablePackageDetailForUser)({clubPrefix:e,packageId:X.id,findUser:s,language:g}),(0,_.getAvailableClubsForUser)({clubPrefix:e,packageId:X.id,findUser:s})]).then(([e,s])=>{if(!t)return;es(e),en(s);let i=s.find(e=>e.id===a);eo(i?.id??s[0]?.id??null),eu([]),em((0,D.getAutoStartDate)(e)),eg(""),ef((0,D.parseFieldsToInitialValues)(e.fields,e.options))}).catch(e=>{t&&(ew(!0),console.error(e))}).finally(()=>t&&ei(!1)),()=>{t=!1}},[X,e,q,a,eP,W,g]);let eN=et?.currency?.symbol??"€",eL=(0,h.useMemo)(()=>(et?.options??[]).filter(e=>ed.includes(e.id)).map(e=>({id:e.id,fee:e.fee??0,name:e.name})),[et,ed]),eR=(et?.fee??0)+eL.reduce((e,t)=>
38e+t.fee,0),eA=W?(0,D.omitIdentityFields)(et?.fields):et?.fields,eO=(0,D.getSelectedOptionFieldGroups)(et?.options,ed),eF=(0,D.withOptionExtraFields)(eA,eO),eD=(0,D.areRequiredFieldsFilled)(eF,eh),e$=!W||!!B.email?.trim()&&(0,d.emailCharactersValidate)(B.email)&&!!B.firstname?.trim()&&!!B.lastname?.trim(),ez=et?.terms_conditions??"",eq=!ez||ex,eG=!et||(0,D.isAutoEndDate)(et)||!!ep,eW=!!X&&!!el&&eD&&eq&&e$&&eG,eU=()=>{ee(null),es(null),eo(null),eu([]),em(""),eg(""),ef({}),e_(!1)},eB=()=>{eU(),F(null),G(null),U(!1),H({email:"",firstname:"",lastname:""})},eH=()=>{eB(),ey(null),M("form")},eY=async t=>{if(!X||!el||!q)return{errors:[]};try{let t=await (0,D.buildProfileFromFieldValues)(eF,eh,eI),s={email:B.email?.trim()||null,firstname:B.firstname?.trim()||null,lastname:B.lastname?.trim()||null},a=await (0,_.orderLicenseForUser)({clubPrefix:e,body:(0,$.orderContextToCreateDto)({packageId:X.id,...W?{newUser:s}:{forUser:q},clubId:el,options:eL,startDate:z(ec),endDate:z(ep),profile:t}),language:g}),i=W?[s.firstname,s.lastname].filter(Boolean).join(" ")||(s.email??""):w?[w.firstname,w.lastname].filter(Boolean).join(" "):q.email??"";return ey({package:X,organization:el,organizationName:er.find(e=>e.id===el)?.name,options:eL,amount:eR,currencySymbol:eN,customerName:i,userId:w?.id??0,payment:{invoiceId:a.invoice_id,invoiceNumber:a.invoice_number}}),M(a.payment_required?"payment":"submitted"),{errors:[]}}catch(t){let e;console.error(t);try{e=JSON.parse(t)?.detail}catch{e=t?.detail}return{errors:[i.formatMessage(P.messages.orderError),e].filter(Boolean)}}},[eV,eK,eQ]=(0,h.useActionState)(eY,{errors:[]});return S?(0,t.jsx)(c.default,{className:b.default.loadingRow,children:(0,t.jsx)(p.default,{})}):ej?(0,t.jsxs)(c.default,{className:b.default.loadErrorArea,children:[(0,t.jsx)(o.Paragraph2,{className:b.default.loadErrorMessage,children:(0,t.jsx)(f.FormattedMessage,{...P.messages.loadError})}),(0,t.jsx)(l.default,{onClick:()=>eS(e=>e+1),children:(0,t.jsx)(f.FormattedMessage,{...P.messages.paymentTryAgain})})]}):"payment"===v&&eb?(0,t.jsx)(N.default,{order:eb,clubPrefix:e,onResult:e=>{ey(t=>t?{...t,paymentResult:e}:t),M("result")}}):"result"===v&&eb?(0,t.jsx)(L.default,{order:eb,onDone:eH,onTryAgain:()=>M("payment")}):"submitted"===v&&eb?(0,t.jsx)(L.default,{order:eb,onDone:eH,withoutPayment:!0}):(0,t.jsxs)(c.default,{className:b.default.root,children:[(0,t.jsx)(o.Headline2,{className:b.default.title,children:(0,t.jsx)(f.FormattedMessage,{...P.messages.titleBrevet})}),(0,t.jsx)(o.Paragraph2,{className:b.default.description,children:(0,t.jsx)(f.FormattedMessage,{...P.messages.description})}),q?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(I.default,{user:w,email:(W?B.email:q.email)??"",isNew:W,onChange:eB}),(0,t.jsxs)(c.default,{component:"form",action:eK,children:[X?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(R.default,{package:X,onRemove:eU}),ea&&(0,t.jsx)(c.default,{className:b.default.detailLoadingRow,children:(0,t.jsx)(p.default,{size:32})}),eC&&!ea&&(0,t.jsxs)(c.default,{className:b.default.detailErrorArea,children:[(0,t.jsx)(o.Paragraph2,{className:b.default.loadErrorMessage,children:(0,t.jsx)(f.FormattedMessage,{...P.messages.loadError})}),(0,t.jsx)(m.default,{variant:"outlined",color:"secondary",onClick:()=>ek(e=>e+1),children:(0,t.jsx)(f.FormattedMessage,{...P.messages.paymentTryAgain})})]}),et&&!eC&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(O.default,{detail:et,startDate:ec,endDate:ep,onStartDateChange:em,onEndDateChange:eg}),er.length>0&&(0,t.jsx)(y.default,{clubs:er,value:el,onChange:eo}),et.options?.length>0&&(0,t.jsx)(E.default,{options:et.options,currencySymbol:eN,selectedIds:ed,onToggle:e=>eu(t=>t.includes(e)?t.filter(t=>t!==e):[...t,e])}),(et.fields||eO.length>0)&&(0,t.jsx)(j.default,{fields:et.fields,countries:Z,values:eh,onChange:(e,t)=>
38ef(s=>({...s,[e]:t})),uploadDocument:eE,isNewMember:W,newUser:B,onNewUserChange:(e,t)=>H(s=>({...s,[e]:t})),optionFieldGroups:eO}),ez&&(0,t.jsx)(A.default,{terms:ez,confirmed:ex,onChange:e_})]})]}):(0,t.jsx)(T.default,{loadPackages:eT,sports:Y,categories:K,onSelect:e=>{ee(e),eo(null),eu([]),e_(!1)}}),eV.errors.length>0&&(0,t.jsx)(c.default,{className:b.default.errorsWrap,children:eV.errors.map((e,s)=>(0,t.jsxs)(c.default,{className:b.default.errorRow,children:[(0,t.jsx)(u.default,{fontSize:"small"}),(0,t.jsx)(o.Paragraph2,{className:b.default.errorText,children:e})]},s))}),X&&(0,t.jsxs)(c.default,{className:b.default.footerRow,children:[(0,t.jsxs)(c.default,{className:b.default.footerNames,children:[(0,t.jsx)(c.default,{component:"span",className:b.default.bold,children:X.name}),(0,t.jsx)(c.default,{component:"span",className:b.default.bold,children:`${eN}${Number.isInteger(eR)?eR:eR.toFixed(2)}`})]}),(0,t.jsx)(l.default,{type:"submit",disabled:!eW||eQ,startIcon:eQ?(0,t.jsx)(p.default,{size:20}):void 0,children:X.payment_required_at_submit?(0,t.jsx)(f.FormattedMessage,{...P.messages.continueToPayment}):(0,t.jsx)(f.FormattedMessage,{...P.messages.submit})})]})]})]}):(0,t.jsx)(k,{clubPrefix:e,onFound:(e,t)=>{F(e),G(t),U(!1)},onCreateNew:e=>{F(null),G({}),H({email:e,firstname:"",lastname:""}),U(!0)}})]})};e.s(["default",0,function(){let{club:e,prefix:l}=(0,n.useClub)(),{user:o,token:d}=(0,r.useAuth)();return o?e.allow_license_order_for_another_member?(0,t.jsx)(i.Container,{maxWidth:"md",children:(0,t.jsx)(q,{clubPrefix:l,token:d,defaultClubId:e?.id})}):(0,t.jsx)(s.default,{}):(0,t.jsx)(a.default,{})}],192146)},340479,e=>{"use strict";var t=e.i(843476),s=e.i(262821),a=e.i(642184),i=e.i(782547),r=e.i(819646),n=e.i(937910),l=e.i(259087),o=e.i(888244),d=e.i(243874);e.s(["default",0,function({section:e,isPreview:u=!1}){let{name:c,content:m,customize:p}=e,{paragraph:g,button_text:h,button_link:f,open_in_new_window:x}=m,{alignment:_}=p.format;return(0,t.jsxs)(r.default,{children:[(0,t.jsx)(r.default,{justifyContent:(0,o.justifyContentMapper)(_),width:"100%",display:"flex",children:(0,t.jsx)(a.default,{imgSrc:"https://dk9pqlttm1g0o.cloudfront.net/2026-06-29-a/images/website-builder/16px black/Link.svg",size:"large"})}),(0,t.jsx)(r.default,{height:"100%",display:"flex",alignItems:"center",textAlign:(0,o.justifyContentMapper)(_),justifyContent:(0,o.justifyContentMapper)(_),children:(0,t.jsxs)(n.default,{container:!0,spacing:"8px",children:[(0,t.jsx)(n.default,{size:12,children:(0,t.jsx)(i.Headline2,{children:c})}),g&&(0,t.jsx)(n.default,{size:12,className:d.default.preLine,children:(0,t.jsx)(i.Paragraph1,{children:(0,l.default)(g)})}),(0,t.jsx)(n.default,{size:12,container:!0,display:"flex",justifyContent:(0,o.justifyContentMapper)(_),alignItems:(0,o.justifyContentMapper)(_),children:(0,t.jsx)(s.default,{href:f,openInNewWindow:x||u,children:h})})]})})]})}])},243874,e=>{e.v({preLine:"Link-module-scss-module__9mBqqq__preLine"})},845716,e=>{"use strict";var t=e.i(843476),s=e.i(710269),a=e.i(775572),i=e.i(782547),r=e.i(611868),n=e.i(691102),l=e.i(230169),o=e.i(903419),d=e.i(659712),u=e.i(819646),c=e.i(937910),m=e.i(364384),p=e.i(259087),g=e.i(11),h=e.i(314632),f=e.i(758988);let x="https://dk9pqlttm1g0o.cloudfront.net/2026-06-29-a/images";e.s(["default",0,function(e){let{news:_,title:b,isPage:y}=e,j=_[0],v=_.slice(1),M=(0,g.useIntl)(),S=(0,h.useSystemPagePath)(n.WebsitePageType.NEWS),{timePassedFormatter:C}=(0,m.useTranslations)(),{getCardTag:w,getNewsLink:P}=(0,f.default)();return(0,t.jsxs)(u.default,{children:[(0,t.jsx)(u.default,{pb:4,children:y?(0,t.jsx)(i.Headline3,{children:b}):(0,t.jsx)(i.Headline2,{children:b})}),(0,t.jsxs)(c.default,{container:!0,spacing:"8px",direction:{xs:"column",md:"column",lg:"row"},children:[(0,t.jsx)(c.default,{size:"grow",children:(0,t.jsx)(l.default,{media:j.image_big||j.image,mods:"icon-right",icon:(0,t.jsx)(a.Slug,{imgSrc:`${x}/websites/Time.svg`,text:(0,t.jsx)(i.Paragraph2,{isAccent:!0,children:(0,t.jsx)("strong",{children:`${C(j.date)} • ${w(j)}`})})}),title:j.title,description:[r.INewsType.GALLERY,r.INewsType.VIDEO].includes(j.t
38ype)?j.description||"":(0,p.default)(j.description_plain||""),link:P(j),mediaMods:"featured",isArticle:!0,bigTitle:!0,useNextImage:!0},`card-${b}`)}),(0,t.jsx)(c.default,{container:!0,direction:"column",size:"grow",spacing:"8px",children:!!v.length&&v.map(e=>(0,t.jsx)(u.default,{py:2,px:2,children:(0,t.jsx)(o.default,{slug:(0,t.jsx)(a.Slug,{imgSrc:`${x}/websites/Time.svg`,text:(0,t.jsx)(i.Paragraph2,{isAccent:!0,children:(0,t.jsx)("strong",{children:`${C(e.date)} • ${w(e)}`})})}),link:P(e),title:e.title,media:e.image_big||e.image,useNextImage:!0})},e.id))}),!y&&(0,t.jsx)(c.default,{display:"flex",justifyContent:"center",container:!0,size:12,children:(0,t.jsx)(s.default,{applyBackgroundColor:!0,href:S,children:M.formatMessage(d.sectionMessages["website.view_more"])})})]})]})}])},588481,611868,758988,e=>{"use strict";var t,s=e.i(843476),a=e.i(710269),i=e.i(709805),r=e.i(306691),n=e.i(782547),l=e.i(691102),o=e.i(693971),d=e.i(867129),u=e.i(230169),c=e.i(659712),m=e.i(819646),p=e.i(937910),g=e.i(364384),h=e.i(11),f=e.i(314632),x=((t={}).GALLERY="gallery",t.VIDEO="video",t.CUSTOM="custom",t.PRESS="press",t);e.s(["INewsType",()=>x],611868);var _=e.i(46067),b=e.i(413518),y=e.i(723394),j=e.i(697102),v=e.i(74399);function M(){let e=(0,h.useIntl)(),t=(0,f.useSystemPagePath)(l.WebsitePageType.VIDEO),s=(0,f.useSystemPagePath)(l.WebsitePageType.GALLERY),a=(0,f.useSystemPagePath)(l.WebsitePageType.NEWS),{website:i,club:r}=(0,b.useClub)();return{getCardTag:function(t){switch(t.type){case x.VIDEO:return e.formatMessage(c.sectionMessages["videos.label"]);case x.GALLERY:return e.formatMessage(c.sectionMessages["galleries.label"]);default:return e.formatMessage(c.sectionMessages["news.label_singular"])}},getNewsLink:function(e){if(!i?.new_website&&e.type===x.CUSTOM)return`${(0,_.getClubUrl)(r)}/news/-${e.id}`;if(!i?.new_website&&e.type===x.PRESS)return`${(0,_.getClubUrl)(r)}/press-article/-${e.id}`;switch(e.type){case x.VIDEO:return`${t}/${j.SINGLE_VIDEO_KEY}/${e.id}`;case x.GALLERY:return`${s}/${y.SINGLE_GALLERY_KEY}/${e.id}`;case x.PRESS:return`${a}/${v.PRESS_ARTICLE_KEY}/${e.id}`;default:return`${a}/${v.NEWS_ARTICLE_KEY}/${e.id}`}}}}e.s(["default",0,M],758988),e.s(["default",0,function(e){let{news:t,title:x,isPage:_,hasLazyLoading:b,hasMore:y,onFetchNext:j}=e,v=(0,h.useIntl)(),S=(0,f.useSystemPagePath)(l.WebsitePageType.NEWS),{simpleDateFormatter:C}=(0,g.useTranslations)(),{getCardTag:w,getNewsLink:P}=M(),k=(0,s.jsx)(m.default,{pb:4,children:(0,s.jsx)(p.default,{container:!0,spacing:"8px",children:t.map(e=>(0,s.jsx)(p.default,{size:{xs:12,sm:12,md:4},children:(0,s.jsx)(u.default,{media:e.image||e.image,title:e.title,link:P(e),description:`${w(e)} • ${C(e.date)}`,isArticle:!0},`card-${e.id}`)},e.id))})});return(0,s.jsxs)(m.default,{children:[x&&(0,s.jsx)(m.default,{pb:4,children:_?(0,s.jsx)(n.Headline3,{children:x}):(0,s.jsx)(n.Headline2,{children:x})}),0===t.length&&(0,s.jsx)(d.default,{mods:"media-placeholder",title:v.formatMessage(c.sectionMessages["news.empty_news"]),fullScreenSize:3,smallScreenSize:1}),b?(0,s.jsx)(i.default,{dataLength:t.length,next:j,className:o.default.infiniteList,hasMore:y,loader:(0,s.jsx)(r.default,{}),children:k}):k,!_&&t.length>0&&(0,s.jsx)(m.default,{pb:4,justifyContent:"center",display:"flex",children:(0,s.jsx)(a.default,{applyBackgroundColor:!0,href:S,children:v.formatMessage(c.sectionMessages["website.view_more"])})})]})}],588481)},241069,e=>{"use strict";var t=e.i(843476),s=e.i(782547),a=e.i(867129),i=e.i(659712),r=e.i(819646),n=e.i(413518),l=e.i(770703),o=e.i(271645),d=e.i(11),u=e.i(291619),c=e.i(875556),m=e.i(74399),p=e.i(845716),g=e.i(588481);let h=(0,l.default)(()=>e.A(877013),{loadableGenerated:{modules:[444472]},ssr:!1});e.s(["default",0,function(e){let l=(0,d.useIntl)(),[f,x]=(0,o.useState)(2),[_,b]=(0,o.useState)(e.data.news),[y,j]=(0,o.useState)(!0),{club:v,prefix:M,modes:S}=(0,n.useClub)(),{section:C}=e,w=_?.slice(m.LATEST_NEWS_LIMIT)||[];return(0,t.jsxs)(r.default,{children:[(0,t.jsxs)(r.default,{pb:4,className:c.default.headerContainer,children:[(0,t.jsx)(s.Headline2,{className:c.default.newsHeadline,children:l.formatMessage(i.sectionMessages["news.label"])}),(0,t.jsx)(h,{color:S.find(e=>e.type===C?.mode.type)?.background,classes:c.default.adRoot,blockId:v.id,adType:"newsarticle"})]}),_?.length>0?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(r.default,{pb:7,children:(0,t.jsx)(p.default,{isPage:!0,news:_?.slice(0,m.LATEST_NEWS_LIMIT)??[],title:l.formatMessage(i.sectionMessages["section.label.most_recent"])})}),w.length>0&&(0,t.jsx)(g.default,{hasLazyLoading:!0,hasMore:y,onFetchNext:P,isPage:!0,news:w,title:l.formatMessage(i.sectionMessages["section.news.all_news"])})]}):(0,t.jsx)(a.default,{mods:"media-placeholder",title:l.formatMessage(i.sectionMessages["news.empty_news"]),fullScreenSize:3,smallScreenSize:1})]});async function P(){let e=C?.content?.teams||[],t=await (0,u.getNews)({clubPrefix:M,params:{_groups:e.map(e=>e.id),_limit:m.NEWS_PAGE_LIMIT,_offset:m.NEWS_PAGE_LIMIT*f-1}}).catch(()=>[]);x(e=>e+1),b(e=>e.concat(t)),0===t.length&&j(!1)}}])},462613,e=>{"use strict";var t=e.i(843476),s=e.i(621706),a=e.i(356437),i=e.i(642217),r=e.i(611662),n=e.i(778875),l=e.i(322469),o=e.i(642184),d=e.i(782547),u=e.i(329568),c=e.i(659712),m=e.i(819646),p=e.i(413518),g=e.i(364384),h=e.i(259087),f=e.i(770703),x=e.i(11),_=e.i(875556);let b=(0,f.default)(()=>e.A(877013),{loadableGenerated:{modules:[444472]},ssr:!1}),y="https://dk9pqlttm1g0o.cloudfront.net/2026-06-29-a/images";e.s(["default",0,function(e){let{data:f,section:j}=e,{singleNews:v}=f,{poster:M}=v,{club:S,modes:C}=(0,p.useClub)(),w=(0,x.useIntl)(),P=f.club,k=!!(f.club?.logo_name||S?.logo_name),{simpleDateFormatter:I}=(0,g.useTranslations)();return(0,t.jsxs)("article",{children:[(0,t.jsx)(m.default,{pb:4,children:(0,t.jsx)(d.Headline2,{children:v.title})}),(0,t.jsxs)(m.default,{pb:4,children:[(0,t.jsx)(r.default,{src:v.image_big||v.image,className:_.default.image,failoverComponent:(0,t.jsx)(i.default,{})}),v.photo_description||v.photographer?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(m.default,{py:2,children:(0,t.jsxs)(d.Paragraph2,{children:[v.photo_description?`${v.photo_description} `:"",v.photographer?`${w.formatMessage(c.sectionMessages["section.news.photo_by"])} ${v.photographer}`:""]})}),(0,t.jsx)("hr",{className:_.default.headLine})]}):null]}),(0,t.jsx)(m.default,{pb:4,children:(0,t.jsx)(b,{color:C.find(e=>e.type===j?.mode.type)?.background,classes:_.default.adRoot,blockId:`${S.id}-single`,adType:"newsarticle"})}),(0,t.jsx)(m.default,{pb:4,children:(0,t.jsx)(l.Separator,{})}),(0,t.jsx)(m.default,{display:"flex",pb:4,children:(0,t.jsx)(d.Paragraph1,{children:I(v.date,"DD MMMM YYYY")})}),P&&P.id!==S.id&&(0,t.jsxs)(m.default,{display:"flex",alignItems:"center",pb:4,children:[k&&(0,t.jsx)(n.default,{externalClub:P,size:24}),!k&&(0,t.jsx)(d.Paragraph1,{className:_.default.pre,children:" "}),(0,t.jsxs)(d.Paragraph1,{children:[w.formatMessage(c.sectionMessages["section.video.created_by"])," ",P.name]})]}),(0,t.jsxs)(m.default,{pb:4,children:[(0,t.jsx)(d.Paragraph1,{children:(0,h.default)(v.description||"")}),(0,t.jsx)(m.default,{className:_.default.docWrapper,children:v.docs&&v.docs.map((e,a)=>(0,t.jsxs)(m.default,{display:"flex",justifyContent:"space-between",mb:2,children:[(0,t.jsxs)(m.default,{display:"flex",alignItems:"center",children:[(0,t.jsx)(m.default,{children:(0,t.jsx)(o.default,{size:"large",imgSrc:`${y}/website-builder/16px/Document.svg`})}),(0,t.jsx)(m.default,{className:_.default.docNameWrapper,onClick:()=>(0,u.downloadUrl)(e?.file),children:(0,t.jsx)(d.Paragraph1,{className:_.default.docName,children:e.name||""})})]}),(0,t.jsx)(m.default,{display:"flex",alignItems:"center",justifyContent:"flex-end",className:_.default.downloadButton,children:(0,t.jsx)(s.default,{onClick:()=>(0,u.downloadUrl)(e?.file),disableRipple:!0,isIcon:!0,color:"inherit",imgSrc:`${y}/websites/Download.svg`})})]},a))})]}),v.link&&(0,t.jsx)(m.default,{py:6,children:(0,t.jsx)("a",{href:v.link,target:"_blank",rel:"noopener noreferrer",children:(0,t.jsx)(a.default,{className:_.default.newsLink,children:w.formatMessage(c.sectionMessages["section.news.view_article"])})})})]})}])},875556,e=>{e.v({adRoot:"News-module-scss-module__ZL3pYq__adRoot",docName:"News-module-scss-module__ZL3pYq__docName",docNameWrapper:"News-module-scss-module__ZL3pYq__docNameWrapper",docWrapper:"News-module-scss-module__ZL3pYq__docWrapper",downloadButton:"News-module-scss-module__ZL3pYq__downloadButton",headLine:"News-module-scss-module__ZL3pYq__headLine",headerContainer:"News-module-scss-module__ZL3pYq__headerContainer",image:"News-module-scss-module__ZL3pYq__image",newsHeadline:"News-module-scss-module__ZL3pYq__newsHeadline",newsLink:"News-module-scss-module__ZL3pYq__newsLink",pre:"News-module-scss-module__ZL3pYq__pre"})},87301,e=>{"use strict";var t=e.i(843476),s=e.i(856931),a=e.i(867129),i=e.i(819646),r=e.i(11),n=e.i(6
3859712),l=e.i(845716),o=e.i(588481);e.s(["default",0,function(e){let{section:{layout:d,name:u}}=e,{news:c}=e.data,m=(0,r.useIntl)();return(0,t.jsxs)(i.default,{children:[0===c.length&&(0,t.jsx)(a.default,{mods:"media-placeholder",title:m.formatMessage(n.sectionMessages["news.empty_news"]),fullScreenSize:3,smallScreenSize:1}),c.length>0&&d===s.SectionLayoutType.LATEST&&(0,t.jsx)(l.default,{title:u,news:c}),c.length>0&&d===s.SectionLayoutType.LIST&&(0,t.jsx)(o.default,{title:u,news:c})]})}])},74399,e=>{"use strict";e.s(["FLF_NEWS_LIMIT",0,8,"LATEST_NEWS_LIMIT",0,5,"NEWS_ARTICLE_KEY",0,"news","NEWS_PAGE_LIMIT",0,6,"PRESS_ARTICLE_KEY",0,"press"])},766860,e=>{e.v(t=>Promise.all(["static/chunks/3pafs9973oe3f.js"].map(t=>e.l(t))).then(()=>t(869316)))},386753,e=>{"use strict";var t=e.i(843476),s=e.i(481926);e.i(964884);var a=e.i(142829),i=e.i(782547),r=e.i(691102),n=e.i(46067);function l(e,t,s){let a=String(e??"").trim(),i=String(t??"").trim(),r=String(s??"").trim();return""===a||""===i||""===r?null:`${a.replace(/\/+$/,"")}/download/invoice/${encodeURIComponent(i)}?h=${encodeURIComponent(r)}`}var o=e.i(324121),d=e.i(721306),u=e.i(659712),c=e.i(456589),m=e.i(891699),p=e.i(180064);let g=(0,e.i(755742).default)((0,t.jsx)("path",{d:"M5 20h14v-2H5zM19 9h-4V3H9v6H5l7 7z"}),"Download");var h=e.i(819646),f=e.i(236807),x=e.i(688762),_=e.i(210557),b=e.i(172032);e.i(540259);var y=e.i(911860),j=e.i(127167),v=e.i(765952),M=e.i(413518),S=e.i(81144),C=e.i(627741),w=e.i(657688),P=e.i(618566),k=e.i(271645),I=e.i(112458),E=e.i(301005),T=e.i(11),N=e.i(104941),L=e.i(731881),R=e.i(314632);let A=({orderData:e,onSuccess:s,isTransitioningToSuccess:a})=>{let r=(0,b.useStripe)(),n=(0,b.useElements)(),{club:l,website:o,font:d}=(0,M.useClub)(),{user:u}=(0,j.useAuth)(),{showSnackbar:c}=(0,C.useSnackbar)(),m=(0,T.useIntl)(),p=(0,_.useTheme)(),[g,y]=(0,k.useState)(!1),[v,S]=(0,k.useState)({cardNumber:"",cardExpiry:"",cardCvc:""}),[w,P]=(0,k.useState)({cardNumber:!1,cardExpiry:!1,cardCvc:!1});(0,k.useEffect)(()=>{let e=document.createElement("style");return e.textContent=`
39      .StripeElement--invalid {
40        color: #d32f2f !important;
41      }
42      .StripeElement--invalid input {
43        color: #d32f2f !important;
44      }
45      .StripeElement iframe {
46        color: inherit !important;
47      }
48    `,document.head.appendChild(e),()=>{document.head.removeChild(e)}},[]);let E={style:{base:{fontSize:"14px",fontFamily:d?.name2||p.typography.body2.fontFamily,color:p.props.sectionMode.text_background,"::placeholder":{color:`${p.props.sectionMode.text_background}80`}},invalid:{color:"#d32f2f",iconColor:"#d32f2f","::-webkit-input-placeholder":{color:"#d32f2f"},"::-moz-placeholder":{color:"#d32f2f"},":-ms-input-placeholder":{color:"#d32f2f"}},complete:{color:p.props.sectionMode.text_background}}},R=u?.firstname&&u?.lastname?`${u.firstname} ${u.lastname}`:"",A=u?.email||"",O=async t=>{if(t.preventDefault(),!r||!n)return;let a=n.getElement(b.CardNumberElement);if(a){y(!0);try{let{error:t,paymentMethod:i}=await r.createPaymentMethod({type:"card",card:a,billing_details:{name:R,email:A||void 0}});if(t)throw Error(t.message);let n=await (0,N.updateOrder)({clubPrefix:l?.suffix||"",orderRef:e.hash,updateData:{payment_method_id:i.id}});if(n.payment_intent_client_secret){let{error:t,paymentIntent:s}=await r.confirmCardPayment(n.payment_intent_client_secret);if(t)throw Error(t.message);n=await (0,N.updateOrder)({clubPrefix:l?.suffix||"",orderRef:e.hash,updateData:{payment_intent_id:s.id}})}l?.suffix&&(0,L.gaEvent)({action:"payment_submitted",category:"shop",label:"payment_method:card",additionalProps:{clubSuffix:l.suffix}}),s(n)}catch(e){c({message:m.formatMessage({id:"shop.payment.error",defaultMessage:"#Payment failed. Please check your card details and try again."}),variant:"error"}),y(!1)}}};return(0,t.jsx)("form",{onSubmit:O,children:(0,t.jsxs)(h.default,{sx:{display:"flex",flexDirection:"column"},children:[(0,t.jsx)(i.Paragraph1,{sx:{mt:3,mb:6,color:p.props.sectionMode.text_background,opacity:.7},children:(0,t.jsx)(I.FormattedMessage,{id:"shop.payment.description",defaultMessage:"#Please enter your credit card details to complete the payment."})}),(0,t.jsxs)(h.default,{sx:{mb:6},children:[(0,t.jsx)(h.default,{sx:{border:`1px solid ${v.cardNumber?"#d32f2f":p.props.sectionMode.text_background}`,borderRadius:o?.button_style==="SQUARE_CORNERS"?0:"4px",padding:"16px",backgroundColor:p.props.sectionMode.card,height:"44px",display:"flex",alignItems:"center","&:hover":{borderColor:v.cardNumber?"#d32f2f":p.props.sectionMode.text_background},"& .StripeElement":{display:"block",width:"100%"},"& .StripeElement--invalid":{color:"#d32f2f !important"},"& .StripeElement--invalid input":{color:"#d32f2f !important"}},children:(0,t.jsx)(b.CardNumberElement,{options:{...E,placeholder:m.formatMessage({id:"shop.payment.card_number",defaultMessage:"#Card number"})},onChange:e=>{S(t=>({...t,cardNumber:e.error?.message||(!e.complete&&e.empty?m.formatMessage({id:"shop.validation.card_number_required",defaultMessage:"#Card number is required"}):"")})),P(t=>({...t,cardNumber:e.complete}))}})}),v.cardNumber&&(0,t.jsx)(i.Paragraph2,{sx:{mt:1,color:"#d32f2f !important"},children:v.cardNumber})]}),(0,t.jsxs)(h.default,{sx:{display:"flex",gap:2,mb:5},children:[(0,t.jsxs)(h.default,{sx:{flex:1},children:[(0,t.jsx)(h.default,{sx:{border:`1px solid ${v.cardExpiry?"#d32f2f":p.props.sectionMode.text_background}`,borderRadius:o?.button_style==="SQUARE_CORNERS"?0:"4px",padding:"10px 14px",backgroundColor:p.props.sectionMode.card,minHeight:"40px","&:hover":{borderColor:v.cardExpiry?"#d32f2f":p.props.sectionMode.text_background},"& .StripeElement":{width:"100%",paddingTop:"2px"},"& .StripeElement--focus":{outline:"none"},"& .StripeElement--invalid":{color:"#d32f2f !important"},"& .StripeElement--invalid input":{color:"#d32f2f !important"}},children:(0,t.jsx)(b.CardExpiryElement,{options:{...E,placeholder:m.formatMessage({id:"shop.payment.expiry_date",defaultMessage:"#MM / YY"})},onChange:e=>{S(t=>({...t,cardExpiry:e.error?.message||(!e.complete&&e.empty?m.formatMessage({id:"shop.validation.expiry_date_required",defaultMessage:"#Expiry date is required"}):"")})),P(t=>({...t,cardExpiry:e.complete}))}})}),v.cardExpiry&&(0,t.jsx)(i.Paragraph2,{sx:{mt:1,color:"#d32f2f !important"},children:v.cardExpiry})]}),(0,t.jsxs)(h.default,{sx:{flex:1},children:[(0,t.jsx)(h.default,{sx:{border:`1px solid ${v.cardCvc?"#d32f2f":p.props.sectionMode.text_background}`,borderRadius:o?.button_style==="SQUARE_CORNERS"?0:"4px",padding:"10px 14px",backgroundColor:p.props.sectionMode.card,minHeight:"40px","&:hover":{borderColor:v.cardCvc?"#d32f2f":p.props.sectionMode.text_background},"& .StripeElement":{width:"100%",paddingTop:"2px"},"& .StripeElement--focus":{outline:"none"},"& .StripeElement--invalid":{color:"#d32f2f !important"},"& .StripeElement--invalid input":{color:"#d32f2f !important"}},children:(0,t.jsx)(b.CardCvcElement,{options:{...E,placeholder:m.formatMessage({id:"shop.payment.cvc",defaultMessage:"#CVC"})},onChange:e=>{S(t=>({...t,cardCvc:e.error?.message||(!e.complete&&e.empty?m.formatMessage({id:"shop.validation.cvc_required",defaultMessage:"#CVC is required"}):"")})),P(t=>({...t,cardCvc:e.complete}))}})}),v.cardCvc&&(0,t.jsx)(i.Paragraph2,{sx:{mt:1,color:"#d32f2f !important"},children:v.cardCvc})]})]}),(0,t.jsx)(h.default,{sx:{display:"flex",justifyContent:"flex-end"},children:(0,t.jsx)(f.default,{type:"submit",variant:"contained",color:"primary",size:"large",disabled:!r||!n||!w.cardNumber||!w.cardExpiry||!w.cardCvc||g||a,startIcon:g||a?(0,t.jsx)(x.default,{size:20}):void 0,sx:{px:4,py:1.5},children:a?(0,t.jsx)(I.FormattedMessage,{id:"shop.payment.completing",defaultMessage:"#Completing..."}):g?(0,t.jsx)(I.FormattedMessage,{id:"shop.payment.processing",defaultMessage:"#Processing..."}):(0,t.jsx)(I.FormattedMessage,{id:"shop.payment.pay_the_bill",defaultMessage:"#Pay the bill"})})})]})})},O=function(e){let j=(0,P.useRouter)(),O=(0,T.useIntl)(),{club:F,website:D}=(0,M.useClub)(),{clearCart:$}=(0,v.useCart)(),{showSnackbar:z}=(0,C.useSnackbar)(),{currentOrder:q,hasCurrentOrder:G,updateOrder:W,clearCurrentOrder:U,isInitialized:B}=(0,S.useOrder)(),H=(0,_.useTheme)(),Y=(0,R.useSystemPagePath)(r.WebsitePageType.DELIVERY),V=(0,R.useSystemPagePath)(r.WebsitePageType.PRODUCTS),K=q?.hash!=null&&""!==q.hash?(0,N.withOrderHashInQuery)(Y,q.hash):Y,[Q,Z]=(0,k.useState)(!1),[J,X]=(0,k.useState)(!1),[ee,et]=(0,k.useState)(null),es=(0,k.useMemo)(()=>(0,y.loadStripe)("pk_live_515i6URDCNVuVZvUw4uUFGRhfUUtdEeAODrSekXH2Vv1xbDSG0Zhnp5ffICzR2OxmUDn0Dy5pZIGqVeNaCvClw2jk00pGkntzjV"),[]),ea=F?(0,n.getClubUrl)(F):"",ei=l(ea,q?.invoice_number,q?.invoice_hash),er=l(ea,ee?.invoice_number,ee?.invoice_hash),en=(e,t)=>{window.open(e,"_blank")?F?.suffix&&(0,L.gaEvent)({action:"invoice_downloaded",category:"shop",label:`order_id:${t}`,additionalProps:{clubSuffix:F.suffix}}):z({message:O.formatMessage(u.sectionMessages["shop.success.download_error"]),variant:"error"})};(0,k.useEffect)(()=>
48{if(B&&(!G||!q))return void j.push(V)},[B,G,q,j,V]);let el=e=>(0,t.jsx)(E.FormattedNumber,{value:e,style:"currency",currencyDisplay:"narrowSymbol",currencySign:"standard",currency:F?.currency?.code||"EUR"});return!B||J?(0,t.jsx)(h.default,{sx:{display:"flex",justifyContent:"center",alignItems:"center",minHeight:"200px"},children:(0,t.jsx)(x.default,{})}):q||Q?Q?(0,t.jsxs)(h.default,{children:[(0,t.jsx)(h.default,{sx:{display:"flex",justifyContent:"space-between",alignItems:"flex-start",mb:3},children:(0,t.jsx)(s.default,{href:V,onClick:()=>{U()},children:(0,t.jsx)(I.FormattedMessage,{id:"back",defaultMessage:"#Back"})})}),(0,t.jsxs)(h.default,{sx:{display:"flex",alignItems:"center",gap:2,pb:4},children:[(0,t.jsx)(m.default,{sx:{color:H.props.sectionMode.accent,fontSize:"2rem"}}),(0,t.jsx)(i.Headline2,{children:(0,t.jsx)(I.FormattedMessage,{id:"shop.success.title",defaultMessage:"#Order confirmed"})})]}),(0,t.jsx)(i.Paragraph1,{sx:{mb:4,color:H.props.sectionMode.text_background,opacity:.7},children:(0,t.jsx)(I.FormattedMessage,{id:"shop.success.description",defaultMessage:"#You will be notified when your items have been shipped or are ready for pick-up."})}),(0,t.jsx)(i.Paragraph1,{sx:{fontWeight:700,mb:4},children:(0,t.jsx)(I.FormattedMessage,{id:"shop.success.items_count",defaultMessage:"#{count} items",values:{count:ee.order_items.length}})}),(0,t.jsx)(h.default,{sx:{backgroundColor:H.props.sectionMode.card,border:`1px solid ${H.props.sectionMode.text_background}20`,borderRadius:D?.button_style==="SQUARE_CORNERS"?0:"8px",p:3,boxShadow:"0 2px 4px rgba(0,0,0,0.1)",mb:4},children:ee.order_items.map(e=>(0,t.jsxs)(h.default,{sx:{display:"flex",gap:"12px",padding:"12px 0",borderTop:e.id!==ee.order_items[0]?.id?`1px solid ${H.props.sectionMode.text_background}20`:"none"},children:[(0,t.jsx)(h.default,{sx:{width:"72px",height:"72px",borderRadius:"8px",flexShrink:0,backgroundColor:H.props.sectionMode.card,overflow:"hidden",position:"relative",display:"flex",alignItems:"center",justifyContent:"center"},children:(0,t.jsx)(w.default,{src:(0,d.getProductImageSrcOrDefault)((0,o.resolveShopLinePreviewUrl)(e.medias,e.item?.media)),alt:O.formatMessage(c.shopSharedMessages["shop.cart.line_image_alt"],{productName:e.item.name}),width:72,height:72,style:{objectFit:"contain"}})}),(0,t.jsxs)(h.default,{sx:{flex:1,display:"flex",flexDirection:"column",gap:1},children:[(0,t.jsx)(i.Paragraph1,{sx:{fontWeight:700},children:e.item.name}),(0,t.jsx)(a.OrderLineVariantMeta,{item:e}),(0,t.jsx)(i.Paragraph1,{sx:{color:H.props.sectionMode.text_background,opacity:.7},children:e.quantity}),(0,t.jsx)(i.Paragraph1,{children:el(e.price)})]})]},e.id))}),(0,t.jsxs)(h.default,{sx:{mb:4},children:[(0,t.jsx)(i.Paragraph1,{sx:{mb:3},children:(0,t.jsx)(I.FormattedMessage,{id:"shop.success.subtotal",defaultMessage:"#Subtotal: {amount}",values:{amount:el(ee.sub_total)}})}),(0,t.jsx)(i.Paragraph1,{sx:{mb:3},children:(0,t.jsx)(I.FormattedMessage,{id:"shop.success.shipping",defaultMessage:"#Shipping: {amount}",values:{amount:el(ee.shipping_rate)}})}),(0,t.jsx)(i.Paragraph1,{sx:{fontWeight:700},children:(0,t.jsx)(I.FormattedMessage,{id:"shop.success.total",defaultMessage:"#Total: {amount}",values:{amount:el(ee.total)}})})]}),(0,t.jsxs)(h.default,{sx:{display:"flex",gap:2,flexDirection:{xs:"column",sm:"row"},justifyContent:er?"space-between":"flex-end"},children:[er&&(0,t.jsx)(f.default,{variant:"outlined",color:"secondary",size:"large",startIcon:(0,t.jsx)(g,{}),onClick:()=>en(er,ee.id),sx:{px:4,py:1.5},children:(0,t.jsx)(I.FormattedMessage,{...u.sectionMessages["shop.success.download_invoice"]})}),(0,t.jsx)(f.default,{variant:"contained",color:"primary",size:"large",onClick:()=>{U(),j.push(V)},sx:{px:4,py:1.5},children:(0,t.jsx)(I.FormattedMessage,{id:"shop.success.continue_shopping",defaultMessage:"#Continue shopping"})})]})]}):(0,t.jsxs)(h.default,{children:[(0,t.jsx)(h.default,{sx:{display:"flex",justifyContent:"space-between",alignItems:"flex-start",mb:3},children:(0,t.jsx)(s.default,{href:K,children:(0,t.jsx)(I.FormattedMessage,{id:"back",defaultMessage:"#Back"})})}),(0,t.jsx)(h.default,{sx:{pb:4},children:(0,t.jsx)(i.Headline2,{children:(0,t.jsx)(I.FormattedMessage,{id:"shop.payment.title",defaultMessage:"#Payment"})})}
48),(0,t.jsx)(h.default,{sx:{width:{xs:"100%",md:"33%"},mb:5},children:(0,t.jsxs)(h.default,{sx:{display:"flex",justifyContent:"space-between"},children:[(0,t.jsx)(i.Paragraph1,{children:(0,t.jsx)(I.FormattedMessage,{id:"shop.payment.amount",defaultMessage:"#Amount"})}),(0,t.jsx)(i.Paragraph1,{sx:{fontWeight:700},children:el(q?.total||0)})]})}),ei&&(0,t.jsx)(h.default,{sx:{mb:5},children:(0,t.jsx)(f.default,{variant:"outlined",color:"secondary",size:"large",startIcon:(0,t.jsx)(g,{}),onClick:()=>en(ei,q.id),sx:{px:4,py:1.5},children:(0,t.jsx)(I.FormattedMessage,{...u.sectionMessages["shop.order.download_invoice"]})})}),(0,t.jsxs)(h.default,{sx:{backgroundColor:H.props.sectionMode.card,border:`1px solid ${H.props.sectionMode.text_background}20`,borderRadius:D?.button_style==="SQUARE_CORNERS"?0:"8px",p:4,boxShadow:"0 2px 4px rgba(0,0,0,0.1)",mb:4},children:[(0,t.jsxs)(h.default,{sx:{display:"flex",alignItems:"center",gap:2,mb:3},children:[(0,t.jsx)(p.default,{sx:{color:H.props.sectionMode.accent,fontSize:"2rem"}}),(0,t.jsx)(i.Paragraph1,{sx:{fontWeight:600},children:(0,t.jsx)(I.FormattedMessage,{id:"shop.payment.credit_card",defaultMessage:"#Credit Card"})})]}),(0,t.jsx)(b.Elements,{stripe:es,children:(0,t.jsx)(A,{orderData:q,onSuccess:e=>{let t={...q,...e,status:"fulfilled"};W(t),et(t),F?.suffix&&(0,L.gaEvent)({action:"order_completed",category:"shop",label:`order_id:${t.id}|order_value:${t.total}|org_id:${F.id}`,additionalProps:{clubSuffix:F.suffix}}),$(),X(!0),setTimeout(()=>{Z(!0),X(!1)},500)},isTransitioningToSuccess:J})})]}),(0,t.jsx)(h.default,{sx:{mt:4,textAlign:"center"},children:(0,t.jsxs)(i.Paragraph2,{sx:{color:H.props.sectionMode.text_background,opacity:.7},children:[(0,t.jsx)(I.FormattedMessage,{id:"shop.payment.footer_info_start",defaultMessage:"#This payment to"})," ",(0,t.jsx)(h.default,{component:"span",sx:{fontWeight:700},children:F?.name||"Club"})," ",(0,t.jsx)(I.FormattedMessage,{id:"shop.payment.footer_info_middle",defaultMessage:"#is managed by"})," ",(0,t.jsx)(h.default,{component:"span",sx:{fontWeight:700},children:"Clubee"})," ",(0,t.jsx)(I.FormattedMessage,{id:"shop.payment.footer_info_middle2",defaultMessage:"#, the organization's management platform, as well as"})," ",(0,t.jsx)(h.default,{component:"span",sx:{fontWeight:700},children:"Stripe"}),(0,t.jsx)(I.FormattedMessage,{id:"shop.payment.footer_info_end",defaultMessage:"#, one of the world's largest online payment infrastru
48ctures."})]})})]}):null};e.s(["default",0,function(e){return(0,t.jsx)(O,{...e})}],386753)},30956,e=>{e.v({adRoot:"PlayerDefaultLayout-module-scss-module__DrZbrG__adRoot"})},969747,e=>{"use strict";var t=e.i(843476),s=e.i(229160),a=e.i(364384),i=e.i(271645),r=e.i(186153),n=e.i(844722),l=e.i(702141),o=e.i(322469),d=e.i(927768),u=e.i(782547),c=e.i(280083),m=e.i(124545),p=e.i(659712),g=e.i(819646),h=e.i(937910),f=e.i(210557),x=e.i(322013),_=e.i(413518),b=e.i(770703),y=e.i(11),j=e.i(30956);let v=(0,b.default)(()=>e.A(877013),{loadableGenerated:{modules:[444472]},ssr:!1}),M="https://dk9pqlttm1g0o.cloudfront.net/2026-06-29-a/images",S=x.default.img`
49  object-fit: cover;
50  width: 100%;
51  aspect-ratio: 3/4;
52`;function C(e){let s=(0,y.useIntl)(),{club:x,modes:b}=(0,_.useClub)(),{data:C,section:w}=e,{translations:{messages:P},simpleDateFormatter:k}=(0,a.useTranslations)(),{currentStatsBySeason:I,sportsStatsById:E,categories:T,groupsById:N,playerPositions:L,allStatsBySeason:R,player:A}=C,O=(0,f.useTheme)(),F=(0,i.useMemo)(()=>{let e=Object.keys(R).map(Number);return e.sort((e,t)=>t-e),e},[R]),D=(0,i.useMemo)(()=>{let e=Object.keys(I).map(Number);return e.sort((e,t)=>t-e),e},[I]);return(0,t.jsxs)(g.default,{children:[(0,t.jsxs)(g.default,{display:"flex",sx:{flexDirection:{xs:"column",md:"row"},paddingBottom:{xs:O.spacing(4),md:O.spacing(6)}},children:[(0,t.jsx)(g.default,{sx:{display:{xs:"flex",sm:"block",md:"block"},justifyContent:{xs:"center",sm:"initial",md:"initial"}},children:(0,t.jsx)(g.default,{sx:{width:{xs:343,sm:340,md:340},marginRight:{sm:O.spacing(6)}},position:"relative",children:(0,t.jsx)(S,{src:A?.pic_roster||A?.picture||`${M}/websites/empty-roster-desktop.svg`})})}),(0,t.jsxs)(g.default,{display:"flex",justifyContent:"center",flexDirection:"column",flexGrow:1,sx:{paddingTop:{xs:O.spacing(5),sm:0}},children:[(0,t.jsx)(g.default,{pb:2,children:(0,t.jsx)(u.Headline2,{children:[A?.firstname,A?.lastname].join(" ")})}),(0,t.jsxs)(h.default,{spacing:"4px",container:!0,children:[A?.birthday&&w.content?.birthday!==!1?(0,t.jsxs)(h.default,{size:{xs:6},children:[(0,t.jsx)(u.Paragraph1,{children:s.formatMessage(p.sectionMessages["section.player.profile.date_of_birth"])}),(0,t.jsx)(u.Paragraph1,{children:(0,t.jsx)("strong",{children:k(A?.birthday,"DD.MM.YYYY")})})]}):null,A?.height&&w.content?.height!==!1?(0,t.jsxs)(h.default,{size:6,children:[(0,t.jsx)(u.Paragraph1,{children:s.formatMessage(p.sectionMessages["section.player.profile.height"])}),(0,t.jsx)(u.Paragraph1,{children:(0,t.jsx)("strong",{children:`${A?.height}cm`})})]}):null,A?.nationality&&w.content?.nationality!==!1?(0,t.jsxs)(h.default,{size:6,children:[(0,t.jsx)(u.Paragraph1,{children:s.formatMessage(p.sectionMessages["section.player.profile.nationality"])}),(0,t.jsx)(u.Paragraph1,{children:(0,t.jsx)("strong",{children:(0,c.capitalize)(A?.nationality?.translate||A?.nationality?.translation||A?.nationality?.name||"")})})]}):null,A?.weight&&w.content?.weight!==!1?(0,t.jsxs)(h.default,{size:6,children:[(0,t.jsx)(u.Paragraph1,{children:s.formatMessage(p.sectionMessages["section.player.profile.weight"])}),(0,t.jsx)(u.Paragraph1,{children:(0,t.jsx)("strong",{children:`${A?.weight}kg`})})]}):null]}),(0,t.jsx)(g.default,{py:4,children:(0,t.jsx)(v,{color:b.find(e=>e.type===w?.mode.type)?.background,classes:j.default.adRoot,blockId:A?.id,adType:"playerprofile"})})]})]}),(0,t.jsx)(g.default,{pb:7,children:(0,t.jsx)(o.Separator,{})}),D.length>0&&(0,t.jsx)(g.default,{pb:4,children:(0,t.jsx)(u.Headline2,{children:s.formatMessage(p.sectionMessages["section.player.profile.most_recent_stats"])})}),D.map(e=>(function(e){let{...s}=E[e.sport.id];return(0,t.jsxs)(g.default,{pb:4,children:[(0,t.jsx)(g.default,{pb:3,children:(0,t.jsx)(u.Headline3,{children:[e?.sport?.name,e?.season?.name].join(" - ")})}),(0,t.jsx)(h.default,{container:!0,spacing:"8px",children:Object.keys(s).map(a=>{var i,r;return i=s[a].name,r=e.stats[a],(0,t.jsx)(h.default,{size:{xs:6,sm:6,md:3},children:(0,t.jsx)("div",{children:(0,t.jsx)(n.default,{children:(0,t.jsxs)(g.default,{py:2,display:"flex",flexDirection:"column",alignItems:"center",children:[(0,t.jsxs)(g.default,{display:"flex",children:[(0,t.jsx)(g.default,{mr:1,children:(0,t.jsx)("img",{src:`${M}
52/websites/stat-icon.svg`,alt:""})}),(0,t.jsx)(u.Paragraph2,{children:(0,t.jsx)("strong",{children:P[i]})})]}),(0,t.jsx)(u.Headline2,{children:r})]})})})},i)})}),(0,t.jsx)(g.default,{py:4,children:(0,t.jsx)(o.Separator,{})})]},`${e.sport?.id}-${e.season?.id}`)})(I[`${e}`][0])),F.length>0&&(0,t.jsx)(g.default,{pb:4,children:(0,t.jsx)(u.Headline2,{children:s.formatMessage(p.sectionMessages["section.player.profile.career_statistics"])})}),F.map(e=>(function([e,s]){return(0,t.jsxs)(g.default,{children:[(0,t.jsx)(g.default,{pb:4,children:(0,t.jsx)(u.Headline3,{children:s[0]?.season?.name})}),s.map($)]},e)})([`${e}`,R[e]]))]});function $(e){let a=E[e.sport.id];if(!a)return null;let{...i}=a,{rows:n}=e,o=N[e.group?.id],c=L.find(t=>t.season?.id===e.season?.id&&t.group?.id===e.group?.id),h=c?.positions?.map(e=>P[e.name]).join(", "),f=[c?.jersey_number!==void 0&&c?.jersey_number!==null?`#${c?.jersey_number}`:"",h].filter(Boolean).join(" • ");return(0,t.jsxs)(g.default,{children:[(0,t.jsxs)(g.default,{pb:2,display:"flex",alignItems:"center",children:[(0,t.jsx)(g.default,{pr:2,children:(0,t.jsx)(l.Img,{mods:"w75",src:o?.pic||r.DEFAULT_TEAM_LOGO,failoverImage:r.DEFAULT_TEAM_LOGO})}),(0,t.jsxs)(g.default,{display:"flex",flexDirection:"column",children:[(0,t.jsx)(u.Paragraph1,{children:(0,t.jsx)("strong",{children:(0,m.generateTagLabel)(o,null,T,P,{showTeamAdditionalInfo:x?.show_team_additional_info})})}),(0,t.jsx)(u.Paragraph1,{children:f}),(0,t.jsx)(u.Paragraph1,{children:o?.sport?.name})]})]}),(0,t.jsx)(d.default,{entityKey:"competition",stats:{rows:n,header:i},getEntityNameNode:e=>e?.name,entityNameHeaderNode:(0,t.jsx)("span",{children:s.formatMessage(p.sectionMessages["table.header.player"])}),getFieldKey:(e,t,s)=>`${s}`})]},`${e.sport?.id}-${e.season?.id}`)}}e.s(["default",0,function(e){let{data:r}=e,{placeholders:n}=r,{extendTranslations:l}=(0,a.useTranslations)();return(0,i.useEffect)(()=>{(0,s.isEmpty)(n)||l(n)},[n]),(0,t.jsx)(C,{...e})}],969747)},459826,e=>{e.v({slug:"PlayerNumber-module-scss-module__2dqcGq__slug"})},210563,907885,e=>{"use strict";var t=e.i(843476),s=e.i(782547),a=e.i(819646),i=e.i(937910),r=e.i(230169);e.s(["default",0,function(e){let{fullScreenSize:n,smallScreenSize:l,title:o}=e,d=[...Array(l)].map((e,t)=>t+1),u=[...Array(n)].map((e,t)=>t+1),c=Math.floor(12/n),m=Math.floor(12/l);return(0,t.jsxs)(a.default,{children:[(0,t.jsx)(a.default,{pb:4,children:(0,t.jsx)(s.Headline3,{children:o})}),(0,t.jsx)(a.default,{sx:{display:{md:"none",xs:"block"}},children:(0,t.jsx)(i.default,{container:!0,spacing:"8px",children:d.map(p)})}),(0,t.jsx)(a.default,{sx:{display:{xs:"none",sm:"block"}},children:(0,t.jsx)(i.default,{container:!0,spacing:"8px",children:u.map(p)})})]});function p(e){return(0,t.jsx)(i.default,{size:{md:c,sm:m,xs:m},children:(0,t.jsx)(r.default,{media:"",icon:null,failOverImage:"https://dk9pqlttm1g0o.cloudfront.net/2026-06-29-a/images/websites/empty-roster-mobile.svg",title:"",description:"",link:"",mediaMods:"roster",mods:"icon-jersey"},`card-${e}`)},`roster-placeholder:${e}`)}}],210563);var n=e.i(459826);e.s(["default",0,function(e){let{jerseyNumber:a}=e;return(0,t.jsx)("div",{className:n.default.slug,children:(0,t.jsx)(s.Headline3,{isAccent:!0,children:a||"#"})})}],907885)},505215,e=>{e.v(t=>Promise.all(["static/chunks/3r_q2_v3z_t8i.js"].map(t=>e.l(t))).then(()=>t(784585)))},111281,e=>{"use strict";var t=e.i(843476),s=e.i(856931),a=e.i(229160),i=e.i(364384),r=e.i(271645),n=e.i(186153),l=e.i(710269),o=e.i(702141),d=e.i(927768),u=e.i(782547),c=e.i(691102),m=e.i(867129),p=e.i(819646),g=e.i(11),h=e.i(314632),f=e.i(659712);function x(e){let{data:a,section:i}=e,{content:r}=i,{league:x,stats:_,season:b,group:y,groupsById:j}=a,v=(0,g.useIntl)(),M=(0,h.useSystemPagePath)(c.WebsitePageType.STATISTICS,{leagues:x?.id,...b?.id?{seasons:b.id}:{}}),S=(0,h.useSystemPagePath)(c.WebsitePageType.STATISTICS,{leagues:x?.id,...r?.team?.id?{groups:r.team.id}:{},...b?.id?{seasons:b.id}:{}}),C=i.layout===s.SectionLayoutType.TEAM?S:M,w=!!y,P=w?n.DEFAULT_USER_ICON:n.DEFAULT_TEAM_LOGO,k=_?.rows?.length===0||Object.keys(_?.header||"{}")?.length===0;return x?(0,t.jsxs)(p.default,{children:[(0,t.jsxs)(p.default,{py:4,children:[(0,t.jsx)(u.Headline2,{children:i.name}),(0,t.jsxs)(p.default,{display:"flex",alignItems:"center",children:[(0,t.jsx)(o.Img,{mods:"w64",src:x.picture??n.DEFAULT_TEAM_LOGO,failoverImage:n.DEFAULT_TEAM_LOGO}),(0,t.jsx)(p.default,{p:2,children:(0,t.jsx)(u.Headline3,{children:x.name})})]})]}),(0,t.jsx)(d.default,{entityKey:"user",stats:_,getEntityNameNode:function(e,s){let a=(w?e?.pic_thumbnail:j[s?.group?.id]?.pic)||P;return(0,t.jsxs)(p.default,{display:"flex",alignItems:"center",children:[(0,t.jsx)(p.default,{mr:1,children:(0,t.jsx)(o.Img,{mods:"w24",src:a,failoverImage:P})}
52),(0,t.jsx)("span",{children:[e.firstname,e.lastname].filter(Boolean).join(" ")})]})},headerDisplay:"name",entityNameHeaderNode:(0,t.jsx)("span",{children:v.formatMessage(f.sectionMessages["table.header.player"])}),getFieldKey:(e,t,s)=>{var a,i,r;return(a=t,i=s,r=x.id,{getStatKey:e=>`${a}-${r}-${i}-${e}`}).getStatKey(e)}}),!k&&(0,t.jsx)(p.default,{pb:4,justifyContent:"center",display:"flex",children:(0,t.jsx)(l.default,{applyBackgroundColor:!0,href:C,children:v.formatMessage(f.sectionMessages["website.view_more"])})})]}):(0,t.jsx)(m.default,{fullScreenSize:1,smallScreenSize:1,title:v.formatMessage(f.sectionMessages["standings.no_data"])})}var _=e.i(790849),b=e.i(306691),y=e.i(119530),j=e.i(363972),v=e.i(224467),M=e.i(194606),S=e.i(650832),C=e.i(449894),w=e.i(567160),P=e.i(845679),k=e.i(937910),I=e.i(207670),E=e.i(519130),T=e.i(540672),N=e.i(319727);function L(e){return(0,N.default)("MuiPagination",e)}(0,T.default)("MuiPagination",["root","ul","outlined","text"]);var R=e.i(504165),A=e.i(868308);function O(e){return(0,N.default)("MuiPaginationItem",e)}let F=(0,T.default)("MuiPaginationItem",["root","page","sizeSmall","sizeLarge","text","textPrimary","textSecondary","outlined","outlinedPrimary","outlinedSecondary","rounded","ellipsis","firstLast","previousNext","focusVisible","disabled","selected","icon","colorPrimary","colorSecondary"]);var D=e.i(154033),$=e.i(942196),z=e.i(535057),q=e.i(454624);let G=(0,q.default)((0,t.jsx)("path",{d:"M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"}),"FirstPage"),W=(0,q.default)((0,t.jsx)("path",{d:"M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"}),"LastPage"),U=(0,q.default)((0,t.jsx)("path",{d:"M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"}),"NavigateBefore"),B=(0,q.default)((0,t.jsx)("path",{d:"M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"}),"NavigateNext");var H=e.i(348106),Y=e.i(940799),V=e.i(75149),K=e.i(594425);let Q=(e,t)=>{let{ownerState:s}=e;return[t.root,t[s.variant],t[`size${(0,$.default)(s.size)}`],"text"===s.variant&&t[`text${(0,$.default)(s.color)}`],"outlined"===s.variant&&t[`outlined${(0,$.default)(s.color)}`],"rounded"===s.shape&&t.rounded,"page"===s.type&&t.page,("start-ellipsis"===s.type||"end-ellipsis"===s.type)&&t.ellipsis,("previous"===s.type||"next"===s.type)&&t.previousNext,("first"===s.type||"last"===s.type)&&t.firstLast]},Z=(0,Y.styled)("div",{name:"MuiPaginationItem",slot:"Root",overridesResolver:Q})((0,V.default)(({theme:e})=>({...e.typography.body2,borderRadius:16,textAlign:"center",boxSizing:"border-box",minWidth:32,padding:"0 6px",margin:"0 3px",color:(e.vars||e).palette.text.primary,height:"auto",[`&.${F.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},variants:[{props:{size:"small"},style:{minWidth:26,borderRadius:13,margin:"0 1px",padding:"0 4px"}},{props:{size:"large"},style:{minWidth:40,borderRadius:20,padding:"0 10px",fontSize:e.typography.pxToRem(15)}}]}))),J=(0,Y.styled)(D.default,{name:"MuiPaginationItem",slot:"Root",overridesResolver:Q})((0,V.default)(({theme:e})=>({...e.typography.body2,borderRadius:16,textAlign:"center",boxSizing:"border-box",minWidth:32,height:32,padding:"0 6px",margin:"0 3px",color:(e.vars||e).palette.text.primary,[`&.${F.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${F.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},transition:e.transitions.create(["color","background-color"],{duration:e.transitions.duration.short}),"&:hover":{backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${F.selected}`]:{backgroundColor:(e.vars||e).palette.action.selected,"&:hover":{backgroundColor:e.alpha((e.vars||e).palette.action.selected,`${(e.vars||e).palette.action.selectedOpacity} + ${(e.vars||e).palette.action.hoverOpacity}`),"@media (hover: none)":{backgroundColor:(e.vars||e).palette.action.selected}},[`&.${F.focusVisible}`]:{backgroundColor:e.alpha((e.vars||e).palette.action.selected,`${(e.vars||e).palette.action.selectedOpacity} + ${(e.vars||e).palette.action.focusOpacity}`)},[`&.${F.disabled}`]:{opacity:1,color:(e.vars||e).palette.action.disabled,backgroundColor:(e.vars||e).palette.action.selected}},variants:[{props:{size:"small"},style:{minWidth:26,height:26,borderRadius:13,margin:"0 1px",padding:"0 4px"}},{props:{size:"large"},style:{minWidth:40,height:40,borderRadius:20,padding:"0 10px",fontSize:e.typography.pxToRem(15)}},{props:{shape:"rounded"},style:{borderRadius:(e.vars||e).shape.borderRadius}},{props:{variant:"outlined"},style:{border:e.vars?`1px solid ${e.alpha(e.vars.palette.common.onBackgroun
52d,.23)}`:`1px solid ${"light"===e.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)"}`,[`&.${F.selected}`]:{[`&.${F.disabled}`]:{borderColor:(e.vars||e).palette.action.disabledBackground,color:(e.vars||e).palette.action.disabled}}}},{props:{variant:"text"},style:{[`&.${F.selected}`]:{[`&.${F.disabled}`]:{color:(e.vars||e).palette.action.disabled}}}},...Object.entries(e.palette).filter((0,z.default)(["dark","contrastText"])).map(([t])=>({props:{variant:"text",color:t},style:{[`&.${F.selected}`]:{color:(e.vars||e).palette[t].contrastText,backgroundColor:(e.vars||e).palette[t].main,"&:hover":{backgroundColor:(e.vars||e).palette[t].dark,"@media (hover: none)":{backgroundColor:(e.vars||e).palette[t].main}},[`&.${F.focusVisible}`]:{backgroundColor:(e.vars||e).palette[t].dark},[`&.${F.disabled}`]:{color:(e.vars||e).palette.action.disabled}}}})),...Object.entries(e.palette).filter((0,z.default)(["light"])).map(([t])=>({props:{variant:"outlined",color:t},style:{[`&.${F.selected}`]:{color:(e.vars||e).palette[t].main,border:`1px solid ${e.alpha((e.vars||e).palette[t].main,.5)}`,backgroundColor:e.alpha((e.vars||e).palette[t].main,(e.vars||e).palette.action.activatedOpacity),"&:hover":{backgroundColor:e.alpha((e.vars||e).palette[t].main,`${(e.vars||e).palette.action.activatedOpacity} + ${(e.vars||e).palette.action.focusOpacity}`),"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${F.focusVisible}`]:{backgroundColor:e.alpha((e.vars||e).palette[t].main,`${(e.vars||e).palette.action.activatedOpacity} + ${(e.vars||e).palette.action.focusOpacity}`)}}}}))]}))),X=(0,Y.styled)("div",{name:"MuiPaginationItem",slot:"Icon"})((0,V.default)(({theme:e})=>({fontSize:e.typography.pxToRem(20),margin:"0 -8px",variants:[{props:{size:"small"},style:{fontSize:e.typography.pxToRem(18)}},{props:{size:"large"},style:{fontSize:e.typography.pxToRem(22)}}]}))),ee=r.forwardRef(function(e,s){let a=(0,K.useDefaultProps)({props:e,name:"MuiPaginationItem"}),{className:i,color:r="standard",component:n,components:l={},disabled:o=!1,page:d,selected:u=!1,shape:c="circular",size:m="medium",slots:p={},slotProps:g={},type:h="page",variant:f="text",...x}=a,_={...a,color:r,disabled:o,selected:u,shape:c,size:m,type:h,variant:f},b=(0,A.useRtl)(),y=(e=>{let{classes:t,color:s,disabled:a,selected:i,size:r,shape:n,type:l,variant:o}=e,d={root:["root",`size${(0,$.default)(r)}`,o,n,"standard"!==s&&`color${(0,$.default)(s)}`,"standard"!==s&&`${o}${(0,$.default)(s)}`,a&&"disabled",i&&"selected",{page:"page",first:"firstLast",last:"firstLast","start-ellipsis":"ellipsis","end-ellipsis":"ellipsis",previous:"previousNext",next:"previousNext"}[l]],icon:["icon"]};return(0,E.default)(d,O,t)})(_),j={slots:{previous:p.previous??l.previous,next:p.next??l.next,first:p.first??l.first,last:p.last??l.last},slotProps:g},[v,M]=(0,H.default)("previous",{elementType:U,externalForwardedProps:j,ownerState:_}),[S,C]=(0,H.default)("next",{elementType:B,externalForwardedProps:j,ownerState:_}),[w,P]=(0,H.default)("first",{elementType:G,externalForwardedProps:j,ownerState:_}),[k,T]=(0,H.default)("last",{elementType:W,externalForwardedProps:j,ownerState:_}),N=b?({previous:"next",next:"previous",first:"last",last:"first"})[h]:h,L={previous:v,next:S,first:w,last:k}[N],R={previous:M,next:C,first:P,last:T}[N];return"start-ellipsis"===h||"end-ellipsis"===h?(0,t.jsx)(Z,{ref:s,ownerState:_,className:(0,I.default)(y.root,i),children:"…"}):(0,t.jsxs)(J,{ref:s,ownerState:_,component:n,disabled:o,className:(0,I.default)(y.root,i),...x,children:["page"===h&&d,L?(0,t.jsx)(X,{...R,className:y.icon,as:L}):null]})}),et=(0,Y.styled)("nav",{name:"MuiPagination",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:s}=e;return[t.root,t[s.variant]]}})({}),es=(0,Y.styled)("ul",{name:"MuiPagination",slot:"Ul"})({display:"flex",flexWrap:"wrap",alignItems:"center",padding:0,margin:0,listStyle:"none"});function ea(e,t,s){return"page"===e?`${s?"":"Go to "}page ${t}`:`Go to ${e} page`}let ei=r.forwardRef(function(e,s){let a=(0,K.useDefaultProps)({props:e,name:"MuiPagination"}),{boundaryCount:i=1,className:r,color:n="standard",count:l=1,defaultPage:o=1,disabled:d=!1,getItemAriaLabel:u=ea,hideNextButton:c=!1,hidePrevButton:m=!1,onChange:p,page:g,renderItem:h=e=>(0,t.jsx)(ee,{...e}),shape:f="circular",showFirstButton:x=!1,showLastButton:_=!1,siblingCount:b=1,size:y="medium",variant:j="text",...v}=a,{items:M}=function(e={}){let{boundaryCount:t=1,componentName:s="usePagination",count:a=1,defaultPage:i=1,disabled:r=!1,hideNextButton:n=!1,hidePrevButton:l=!1,onChange:o,page:d,showFirstButton:u=!1,showLastButton:c=!1,siblingCount:m=1,...p}=e,[g,h]=(0,R.default)({controlled:d,default:i,name:s,state:"page"}),f=(e,t)=>{d||h(t),o&&o(e,t)},x=(e,t)=>Array.from({length:t-e+1},(t,s)=>
52e+s),_=x(1,Math.min(t,a)),b=x(Math.max(a-t+1,t+1),a),y=Math.max(Math.min(g-m,a-t-2*m-1),t+2),j=Math.min(Math.max(g+m,t+2*m+2),a-t-1),v=[...u?["first"]:[],...l?[]:["previous"],..._,...y>t+2?["start-ellipsis"]:t+1<a-t?[t+1]:[],...x(y,j),...j<a-t-1?["end-ellipsis"]:a-t>t?[a-t]:[],...b,...n?[]:["next"],...c?["last"]:[]],M=e=>{switch(e){case"first":return 1;case"previous":return g-1;case"next":return g+1;case"last":return a;default:return null}};return{items:v.map(e=>"number"==typeof e?{onClick:t=>{f(t,e)},type:"page",page:e,selected:e===g,disabled:r,"aria-current":e===g?"page":void 0}:{onClick:t=>{f(t,M(e))},type:e,page:M(e),selected:!1,disabled:r||!e.includes("ellipsis")&&("next"===e||"last"===e?g>=a:g<=1)}),...p}}({...a,componentName:"Pagination"}),S={...a,boundaryCount:i,color:n,count:l,defaultPage:o,disabled:d,getItemAriaLabel:u,hideNextButton:c,hidePrevButton:m,renderItem:h,shape:f,showFirstButton:x,showLastButton:_,siblingCount:b,size:y,variant:j},C=(e=>{let{classes:t,variant:s}=e;return(0,E.default)({root:["root",s],ul:["ul"]},L,t)})(S);return(0,t.jsx)(et,{"aria-label":"pagination navigation",className:(0,I.default)(C.root,r),ownerState:S,ref:s,...v,children:(0,t.jsx)(es,{className:C.ul,ownerState:S,children:M.map((e,s)=>(0,t.jsx)("li",{children:h({...e,color:n,"aria-label":u(e.type,e.page,e.selected),shape:f,size:y,variant:j})},s))})})});var er=e.i(210557),en=e.i(413518),el=e.i(618566),eo=e.i(564366),ed=e.i(895700),eu=e.i(196812),ec=e.i(571709),em=e.i(612049);function ep(e){let s=(0,el.useParams)(),l=(0,a.isUndefined)(s.slug)||(0,a.isEmpty)(s.slug)?null:s.slug[0],{prefix:c,pathPrefix:h,club:x}=(0,en.useClub)(),{data:I}=e,{league:E,season:T,paginatedStats:N,seasons:L,leagues:R,group:A,placeholders:O,categories:F,groupsById:D,statsCategories:$,defaultStatsCategoryId:z,defaultStatsMode:q}=I||{},G=(0,g.useIntl)(),W=(0,er.useTheme)(),U=(0,r.useRef)(!1),B=(0,r.useRef)(!1),H=(0,r.useRef)(!1),[Y,V]=(0,r.useState)(D),[K,Q]=(0,r.useState)(E),[Z,J]=(0,r.useState)(T?.id||0),[X,ee]=(0,r.useState)(E?.id||0),[et,es]=(0,r.useState)(N?._meta),[ea,ep]=(0,r.useState)(N?.data),[eg,eh]=(0,r.useState)(!1),[ef,ex]=(0,r.useState)(L),[e_,eb]=(0,r.useState)(!1),[ey,ej]=(0,r.useState)(!1),[ev,eM]=(0,r.useState)(q||"player"),[eS,eC]=(0,r.useState)(z),ew=(0,el.useSearchParams)(),[eP,ek]=(0,r.useState)(()=>ew.get("sort_by")||null),[eI,eE]=(0,r.useState)(()=>"desc"===ew.get("sort_order")?"DESC":"ASC"),eT=Math.floor(et?.offset/et?.limit+1),eN=Math.ceil(et?.total/et?.limit),{extendTranslations:eL}=(0,i.useTranslations)(),eR=!!A,eA=eR?n.DEFAULT_USER_ICON:n.DEFAULT_TEAM_LOGO,eO=!!ea?.rows?.length||!!Object.keys(ea?.header??{}).length,eF=$?.length>0,eD=(0,r.useMemo)(()=>{let e=Object.values(ea?.header??{}).map(e=>e.acronym.toLowerCase());return e.sort((e,t)=>e.localeCompare(t)),e.join(",")},[ea?.header]);if((0,r.useEffect)(()=>{(U.current||eP)&&!e_&&Z&&ez({season:Z,page:eT||1,league:X,hasStatsCategories:eF,categoryId:eS,statsMode:ev,sortBy:eP,sortOrder:eI});let t="web"===h?"":h,s=e.isPreview?`${t}/preview`:t,a=`/${[s,l].filter(Boolean).join("/")}`,i=(0,w.buildUrlFromParams)(a,{groups:A?.id,leagues:X,seasons:Z},["leagues","groups","seasons"],{page:`${eT||1}`,..."number"==typeof eS&&{statsCategory:eS.toString()},..."team"===ev&&{statsType:"team"},...eP&&{sort_by:eP,sort_order:eI.toLowerCase()}});window.history.replaceState(null,"",i),U.current=!0},[Z,eT,X,eS,ev,eP,eI]),(0,r.useEffect)(()=>{B.current&&eq({league:X}),B.current=!0},[X]),(0,r.useEffect)(()=>{X&&R?.length&&(R.find(e=>e.id===X)||ee(R[0].id))},[R,X]),(0,r.useEffect)(()=>{H.current&&Object.keys(ea?.header??{}).length&&e$(ea),H.current=!0},[eD]),!E)return(0,t.jsx)(m.default,{fullScreenSize:1,smallScreenSize:1,title:G.formatMessage(f.sectionMessages["standings.no_data"])});return(0,t.jsxs)(p.default,{children:[(0,t.jsx)(C.default,{categories:F,initialIndex:3,league:K,seasonId:Z,group:A}),(0,t.jsx)(p.default,{pb:4,children:(0,t.jsxs)(k.default,{container:!0,spacing:"8px",children:[eR&&(0,t.jsx)(k.default,{size:{xs:12,sm:5,md:5},children:(0,t.jsx)(_.default,{id:"league",value:X,name:"league",label:G.formatMessage(f.sectionMessages["section.label.league"]),options:R?.map(e=>({label:e.name,value:e.id})),onChange:e=>{ee(Number(e.target.value))}})}),(0,t.jsx)(k.default,{size:{xs:12,sm:5,md:5},children:(0,t.jsx)(_.default,{id:"season",value:Z,name:"season",label:G.formatMessage(f.sectionMessages["section.label.season"]),options:ef.map(e=>({label:e.name,value:e.id})),onChange:e=>J(Number(e.target.value))})}),$?.length>0&&(0,t.jsx)(k.default,{size:{xs:12,sm:5,md:5},children:(0,t.jsx)(_.default,{id:"statsMode",value:ev,name:"statsMode",label:G.formatMessage(f.sectionMessages["section.label.stat.type"]),options:[{label:G.formatMessage(f.sectionMessages["table.header.player"]),value:"player"},{label:G.formatMessage(S.gamesMessages.team),value:"team"}],onChange:e=>{ep({header:{},rows:[]}),es({...et,offset:0}),ek(null),eE("ASC"),eM(e.target.value);let t=$.find(t=>t.type===e.target.value);t&&eC(t.id)}})})]})}),$?.length>0&&(0,t.jsx)(p.default,{pb:3,mb:1,gap:2,display:"flex",sx:{overflowX:"auto"},children:$.filter(e=>e.type===ev).map(e=>(0,t.jsx)(P.default,{label:e.name,variant:e.id===eS?"filled":"outlined",sx:{backgroundColor:e.id===eS?W.props?.sectionMode?.accent:"transparent",color:e.id===eS?W.props?.sectionMode?.text_accent:W.props?.sectionMode?.text_background,cursor:"pointer"},onClick:()=>{es({...et,offset:0}),eC(e.id)}},`stats-category__${e.id}`))}),eR&&K&&(0,t.jsxs)(p.default,{pb:4,display:"flex",alignItems:"center",children:[(0,t.jsx)(o.Img,{mods:"w64",src:K?.picture??n.DEFAULT_TEAM_LOGO,failoverImage:n.DEFAULT_TEAM_LOGO}),(0,t.jsx)(p.default,{p:2,children:(0,t.jsx)(u.Headline2,{children:K?.name})})]}),(0,t.jsx)(p.default,{pb:4,children:eg||ey?(0,t.jsx)(b.default,{}):(0,t.jsx)(d.default,{entityKey:"player"===ev?"user":"group",stats:ea,getEntityNameNode:"player"===ev?function(e,s){if((0,a.isUndefined)(e))return null;let i=(eR?e?.pic_thumbnail:Y[s?.group?.id]?.pic)||eA;return(0,t.jsxs)(p.default,{display:"flex",alignItems:"center",width:"100%",children:[(0,t.jsx)(p.default,{mr:1,children:(0,t.jsx)(o.Img,{mods:"w24",src:i,failoverImage:eA})}
52),(0,t.jsx)("span",{children:[e.firstname,e.lastname].filter(Boolean).join(" ")}),(0,t.jsx)(M.PlayerOptionIcons,{matchingLicenses:e?.matching_licenses})]})}:function(e){return(0,t.jsxs)(p.default,{display:"flex",alignItems:"center",children:[(0,t.jsx)(p.default,{mr:1,children:(0,t.jsx)(o.Img,{mods:"w24",src:e?.pic,failoverImage:n.DEFAULT_TEAM_LOGO})}),(0,t.jsx)("span",{children:e?.full_name||e?.name})]})},entityNameHeaderNode:(0,t.jsx)("span",{children:"player"===ev?G.formatMessage(f.sectionMessages[e.data.group?.gender===1?"table.header.player_f":"table.header.player"]):"team"===ev?G.formatMessage(S.gamesMessages.team):null}),getFieldKey:(e,t,s)=>{var a,i,r;return(a=t,i=s,r=E?.id,{getStatKey:e=>`${a}-${r}-${i}-${e}`}).getStatKey(e)},getEntityNumberNode:(e,t)=>t+1+et.offset,highlightRow:"team"===ev?e=>e?.id===A?.id:void 0,...("player"===ev||"team"===ev)&&{onSort:function(e,t){ek(e),eE("asc"===t?"ASC":"DESC"),es({...et,offset:0})},sortingData:{key:eP,direction:"ASC"===eI?y.SortingDirection.ASC:y.SortingDirection.DESC}}})}),!!eO&&eN>1&&(0,t.jsx)(p.default,{pb:4,justifyContent:"center",display:"flex",children:(0,t.jsx)(ei,{onChange:(e,t)=>
52{t-=1,es({...et,offset:et.limit*t})},page:eT,shape:"rounded",count:eN})}),!eO&&(0,t.jsx)(v.default,{})]});async function e$(e){let[t]=Object.keys(O);ej(!0);let s=await (0,em.getTranslation)(x?.admin_lang||t,(0,j.getSimpleStasInfoArrayPlaceholders)(e)).catch(()=>null);s&&eL({[t]:s}),ej(!1)}async function ez({season:e,page:t,league:s,hasStatsCategories:i,categoryId:r,statsMode:n,sortBy:l,sortOrder:o}){let d=et.limit;eh(!0);let u=await (0,ec.getStatistics)({clubPrefix:c,leagueId:s,seasonId:e,groupId:A?.id,categoryId:r,query:{_limit:d,_offset:(t-1)*d,_with_images_other_clubs:1,...l&&{sort_by:l,sort_order:o}},hasStatsCategories:i,statsMode:n});es({...et,total:u._meta.total});let m=u.data.rows.map(e=>e.group?.id).filter(e=>!Y[e]);if(!eR&&m.length){let e=await (0,ed.getClubTeams)({clubPrefix:c,query:{_groups:m}}).catch(()=>[]);V(t=>({...t,...(0,a.groupById)(e)}))}eh(!1),ep(u.data)}async function eq({league:e}){eb(!0);let[t,s]=await Promise.all([(0,eu.getLeagueSeasonsWithStats)({clubPrefix:c,leagueId:e,groupId:A?.id}).catch(()=>[]),(0,eo.getLeague)(e,{clubPrefix:c}).catch(()=>null)]);Q(s),ex(t),eb(!1);let a=t.find(e=>e.id===Z),i=t.find(e=>e.current);i||a?J(i?i?.id:a?.id):t.length?J(t[0]?.id):(J(0),ep({header:{},rows:[]}))}}e.s(["default",0,function(e){let{data:n,section:l}=e,{placeholders:o}=n||{},{extendTranslations:d}=(0,i.useTranslations)();return((0,r.useEffect)(()=>{(0,a.isEmpty)(o)||d(o)},[o]),l.layout===s.SectionLayoutType.DEFAULT)?(0,t.jsx)(ep,{...e}):(0,t.jsx)(x,{...e})}],111281)},81546,e=>{e.v(t=>Promise.all(["static/chunks/0exuok5o2nsv2.js"].map(t=>e.l(t))).then(()=>t(633496)))},108818,e=>{e.v(t=>Promise.all(["static/chunks/00zrnsn81u30m.js"].map(t=>e.l(t))).then(()=>t(357334)))},549620,e=>{"use strict";var t=e.i(843476),s=e.i(481926),a=e.i(356437),i=e.i(710269),r=e.i(908448),n=e.i(782547),l=e.i(691102),o=e.i(324121),d=e.i(721306),u=e.i(301005);let c=(0,u.defineMessages)({"shop.product.gallery_image_alt":{id:"shop.product.gallery_image_alt",defaultMessage:"#{productName} — image {index} of {total}"},"shop.product.gallery_select_image_a11y":{id:"shop.product.gallery_select_image_a11y",defaultMessage:"#Show image {index} of {total}"},"shop.product.not_found":{id:"shop.product.not_found",defaultMessage:"#Product not found"},"shop.product.item_successfully_added":{id:"shop.product.item_successfully_added",defaultMessage:"#Item successfully added"},"shop.product.continue_shopping":{id:"shop.product.continue_shopping",defaultMessage:"#Continue shopping"},"shop.product.view_cart":{id:"shop.product.view_cart",defaultMessage:"#View cart"},"shop.product.color":{id:"shop.product.color",defaultMessage:"#Color"},"shop.product.size":{id:"shop.product.size",defaultMessage:"#Size"},"shop.product.variant":{id:"shop.product.variant",defaultMessage:"#Variant"},"shop.product.personalisation":{id:"shop.product.personalisation",defaultMessage:"#Personalisation"},"shop.product.question_char_limit_exceeded":{id:"shop.product.question_char_limit_exceeded",defaultMessage:"#You cannot enter more than {max} characters."},"shop.product.question_char_count":{id:"shop.product.question_char_count",defaultMessage:"#{current} / {max} characters"},"shop.product.purchase_unavailable":{id:"shop.product.purchase_unavailable",defaultMessage:"#Purchase unavailable"},"shop.product.payment_setup_message":{id:"shop.product.payment_setup_message",defaultMessage:"#Uh-oh! Looks like your club is still setting up their payment methods, so you can't purchase this item. Stay tuned for when the shop is available!"},"shop.product.add_to_cart":{id:"shop.product.add_to_cart",defaultMessage:"#Add to cart"},"shop.product.unavailable":{id:"shop.product.unavailable",defaultMessage:"#Unavailable"},"shop.product.description":{id:"shop.product.description",defaultMessage:"#Description"},"shop.product.pickup":{id:"shop.product.pickup",defaultMessage:"#Pick-up"},"shop.product.delivery":{id:"shop.product.delivery",defaultMessage:"#Delivery"},"shop.product.returns":{id:"shop.product.returns",defaultMessage:"#Returns"},"shop.product.pickup_unavailable":{id:"shop.product.pickup_unavailable",defaultMessage:"#This item cannot be picked up."},"shop.product.delivery_description":{id:"shop.product.delivery_description",defaultMessage:"#The order will be prepared for shipment within 2-7 days. The shipping costs depend on the value, weight and shipping method of the order and are displayed at the checkout page before you confirm the order."},"shop.product.delivery_unavailable":{id:"shop.product.delivery_unavailable",defaultMessage:"#This item cannot be shipped."},"shop.product.returns_policy":{id:"shop.product.returns_policy",defaultMessage:"#We do not offer a refund or exch
52ange unless the item is faulty."}});var m=e.i(456589),p=e.i(755742);let g=(0,p.default)((0,t.jsx)("path",{d:"M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6z"}),"Add"),h=(0,p.default)((0,t.jsx)("path",{d:"M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"}),"Check");var f=e.i(819646),x=e.i(688762),_=e.i(828642),b=e.i(723897),y=e.i(591052),j=e.i(936151),v=e.i(210557),M=e.i(127167),S=e.i(765952),C=e.i(413518),w=e.i(522016),P=e.i(271645),k=e.i(112458),I=e.i(11),E=e.i(731881),T=e.i(314632),N=e.i(70445),L=e.i(961974),R=e.i(657688),A=e.i(726008);let O={0:{items:1}};function F(e){let{slides:s,galleryKey:a,productName:i,squareCorners:r}=e,n=(0,I.useIntl)(),l=(0,v.useTheme)(),o=(0,L.default)(l.breakpoints.down("md")),[u,m]=(0,P.useState)(0);(0,P.useEffect)(()=>{m(0)},[a]),(0,P.useEffect)(()=>{0===s.length?m(0):m(e=>Math.min(e,s.length-1))},[s.length]);let p=r?0:"12px",g=s[u]??s[0],h=(0,d.getProductImageSrcOrDefault)(g?.fullUrl??""),x=(0,P.useMemo)(()=>(0,t.jsx)(A.default,{responsive:O,mouseTracking:!0,keyboardNavigation:!0,animationDuration:400,infinite:s.length>
521,disableDotsControls:s.length<2,disableButtonsControls:!0,items:s.map((e,a)=>{let r=(0,d.getProductImageSrcOrDefault)(e.fullUrl);return(0,t.jsx)(f.default,{sx:{width:"100%",aspectRatio:"1",display:"flex",alignItems:"center",justifyContent:"center",px:1,userSelect:"none"},children:(0,t.jsx)(f.default,{sx:{position:"relative",width:"80%",height:"80%",maxWidth:"100%",maxHeight:"100%"},children:(0,t.jsx)(R.default,{src:r,alt:n.formatMessage(c["shop.product.gallery_image_alt"],{productName:i,index:a+1,total:s.length}),fill:!0,sizes:"100vw",draggable:!1,onDragStart:e=>e.preventDefault(),style:{objectFit:"contain",pointerEvents:"none",userSelect:"none",WebkitUserSelect:"none",WebkitTouchCallout:"none"}})})},`${r}-${a}`)})},a),[a,s,n,i]),_=(0,P.useMemo)(()=>(0,t.jsxs)(f.default,{sx:{display:"flex",flexDirection:"row",gap:2,alignItems:"stretch",width:"100%"},children:[(0,t.jsx)(f.default,{sx:{width:88,flexShrink:0,maxHeight:{md:520,lg:560},overflowY:"auto",overflowX:"hidden",display:"flex",flexDirection:"column",gap:1,pr:1,"&::-webkit-scrollbar":{width:6},"&::-webkit-scrollbar-thumb":{borderRadius:3}},children:s.map((e,a)=>{let i=a===u,o=(0,d.getProductImageSrcOrDefault)(e.thumbnailUrl||e.fullUrl);return(0,t.jsx)(f.default,{component:"button",type:"button",onClick:()=>m(a),"aria-label":n.formatMessage(c["shop.product.gallery_select_image_a11y"],{index:a+1,total:s.length}),sx:{position:"relative",p:1,m:0,border:i?`2px solid ${l.props.sectionMode.accent}`:`1px solid ${l.props.sectionMode.text_background}30`,borderRadius:+!r,cursor:"pointer",flexShrink:0,width:"100%",aspectRatio:"1",display:"flex",alignItems:"stretch",overflow:"hidden",transition:"border-color 0.15s ease","&:focus-visible":{outline:l.props.sectionMode.focus_outline,outlineOffset:2}},children:(0,t.jsx)(f.default,{sx:{position:"relative",flex:"1 1 auto",width:"100%",minHeight:0,pointerEvents:"none"},children:(0,t.jsx)(R.default,{src:o,alt:"",fill:!0,sizes:"88px",draggable:!1,onDragStart:e=>e.preventDefault(),style:{objectFit:"contain",userSelect:"none"}})})},`thumb-${o}-${a}`)})}),(0,t.jsx)(f.default,{sx:{position:"relative",flex:1,minWidth:0,aspectRatio:"1",borderRadius:p,backgroundColor:l.props.sectionMode.card,px:1},children:(0,t.jsx)(R.default,{src:h,alt:n.formatMessage(c["shop.product.gallery_image_alt"],{productName:i,index:u+1,total:s.length}),fill:!0,sizes:"(min-width: 900px) min(45vw, 560px), 100vw",draggable:!1,onDragStart:e=>e.preventDefault(),style:{objectFit:"contain",userSelect:"none"}})})]}),[s,n,h,i,p,u,r,l.props.sectionMode.accent,l.props.sectionMode.card,l.props.sectionMode.focus_outline,l.props.sectionMode.text_background]);return(0,t.jsx)(f.default,{sx:{width:"100%",borderRadius:p,overflow:o?"hidden":"visible",...o?{"& .alice-carousel":{maxWidth:"100%",touchAction:"pan-x pan-y"},"& .alice-carousel__wrapper":{borderRadius:p},"& .alice-carousel__dots":{margin:l.spacing(2,0,0)},"& .alice-carousel__dots-item:not(.__custom).__active:after":{backgroundColor:l.props.sectionMode.accent},"& .alice-carousel__dots-item:not(.__custom):after":{backgroundColor:l.props.sectionMode.text_background,opacity:.35}}:{}},children:0===s.length?(0,t.jsx)(f.default,{sx:{width:"100%",minHeight:{xs:200,md:320}}}):o?x:_})}let D=function(e){let{data:p}=e,{product:L}=p,R=(0,I.useIntl)(),{club:A,prefix:O,website:D}=(0,C.useClub)(),{addItem:$}=(0,S.useCart)(),{token:z}=(0,M.useAuth)(),q=(0,v.useTheme)(),G=(0,T.useSystemPagePath)(l.WebsitePageType.PRODUCTS),W=(0,T.useSystemPagePath)(l.WebsitePageType.CART),[U,B]=(0,P.useState)(""),[H,Y]=(0,P.useState)({}),[V,K]=(0,P.useState)({}),Q=(0,P.useRef)({}),[Z,J]=(0,P.useState)(0),[X,ee]=(0,P.useState)(!1),[et,es]=(0,P.useState)(!1);(0,P.useEffect)(()=>{L&&O&&z&&(0,E.gaEvent)({action:"product_viewed",category:"shop",label:`product_id:${L.id}|org_id:${A.id}`,additionalProps:{clubSuffix:O}})},[L,O,A?.id,z]);let ea=(0,P.useMemo)(()=>L?.variants&&(0,o.isStructuredProductVariants)(L.variants)?(0,o.getStructuredVariantSelectOptions)(L.variants):[],[L]),ei=(0,P.useMemo)(()=>ea.filter(e=>!!e.label?.trim()),[ea]),er=(0,P.useMemo)(()=>ea.map(e=>e.key),[ea]),en=(0,P.useMemo)(()=>L?(0,o.getColorHexValuesFromOptions)(L):[],[L]),el=!!L&&en.length>0&&ea.length>0,eo=(0,P.useMemo)(()=>L?.options?.filter(e=>e.name&&"color"!==e.name.toLowerCase())??[],[L]),ed=(0,o.parseStructuredVariantKey)(U).color??"",eu=(0,P.useMemo)(()=>(0,o.getVariantKeysMatchingColor)(er,ed||en[0]||""),[er,ed,en]),ec=(0,P.useMemo)(()=>
52{if(!L){let e=(0,d.getProductImageSrcOrDefault)("");return[{fullUrl:e,thumbnailUrl:e}]}let e=ea.length>0&&U?U:"",t=(0,o.getProductGallerySlides)(L,e).map(e=>({fullUrl:(0,d.getProductImageSrcOrDefault)(e.fullUrl),thumbnailUrl:(0,d.getProductImageSrcOrDefault)(e.thumbnailUrl)}));return t.length>0?t:[{fullUrl:(0,d.getProductImageSrcOrDefault)(""),thumbnailUrl:(0,d.getProductImageSrcOrDefault)("")}]},[L,U,ea.length]),em=`${L?.id??""}-${U}-${ec.map(e=>e.fullUrl).join("|")}`;(0,P.useEffect)(()=>{B("")},[L?.id]),(0,P.useEffect)(()=>{K({}),Object.values(Q.current).forEach(clearTimeout),Q.current={}},[L?.id]),(0,P.useEffect)(()=>()=>{Object.values(Q.current).forEach(clearTimeout)},[]),(0,P.useEffect)(()=>{ea.length>0&&!U&&B(ea[0].key)},[ea,U]);let ep=null!=L&&(0,o.isLegacyStringVariants)(L.variants)&&L.variants.length>0||ea.length>0,eg=(0,P.useMemo)(()=>{if(!L)return 0;if(ea.length>0&&U){let e=(0,o.resolveCanonicalVariantKey)(L,U)??U,t=ea.find(t=>t.key===e);if(t)return t.price}return"number"==typeof L.price?L.price:(0,o.getProductListUnitPrice)(L)},[L,U,ea]),eh=(e,t)=>{Y(s=>({...s,[e]:t}))},ef=e=>{let t=Q.current[e];t&&clearTimeout(t),delete Q.current[e],K(t=>{if(!t[e])return t;let s={...t};return delete s[e],s})},ex=e=>{K(t=>({...t,[e]:!0}));let t=Q.current[e];t&&clearTimeout(t),Q.current[e]=setTimeout(()=>{ef(e)},4e3)},e_=()=>{if(ep&&!U)return!1;if(L?.questions&&Array.isArray(L.questions)){for(let e of L.questions)if(e.required&&!H[e.name]?.trim())return!1}return!0},eb=()=>{if(!L)return!1;if(!L.availability)return!0;let e=new Date,t=L.availability_from?new Date(L.availability_from):null,s=L.availability_to?new Date(L.availability_to):null;return!t&&!s||(!t||e>=t)&&(!s||e<=s)},ey=async()=>{if(L&&e_()){ee(!0);try{let e={id:L.id,name:L.name,price:eg,non_tangible:L.non_tangible||!1,hidden:L.hidden||!1,availability:L.availability||!0,production_time:L.production_time||!1,description:L.description||null,reference:L.reference||null,weight:L.weight||null,media:L.media||null,variants:L.variants||null,questions:L.questions||null,availability_from:L.availability_from||null,availability_to:L.availability_to||null,production_time_from:L.production_time_from||null,production_time_to:L.production_time_to||null,provider:L.provider||null,label:L.name,ga_product_name:L.name,images:L.images||{medium:{path:"",name:"",extension:""},small:{path:"",name:"",extension:""}}},t=null!=U&&""!==U?(0,o.resolveCanonicalVariantKey)(L,U)??U:"",s=""!==t?(0,o.getDetailForVariantKey)(L,t):null,a=s?.id??ea.find(e=>e.key===t)?.detail?.id,i=(L.questions??[]).map(e=>{let t=H[e.name];return void 0===t||""===String(t).trim()||null==e.id?null:{id:e.id,value:String(t)}}).filter(e=>null!=e);$(e,1,{variantId:a,variantKey:U||void 0,answers:i}),O&&(0,E.gaEvent)({action:"add_to_cart",category:"shop",label:`product_id:${L.id}|quantity:1|org_id:${A.id}`,additionalProps:{clubSuffix:O}}),es(!0),setTimeout(()=>{es(!1)},5e3)}catch(e){console.error("Error adding product to cart:",e)}finally{ee(!1)}}},ej=[{id:"description",key:"description",labelKey:"shop.product.description",defaultLabel:"Description",hasData:!!L?.description},{id:"pickup",key:"pickup",labelKey:"shop.product.pickup",defaultLabel:"Pick-up",hasData:!!L?.provider},{id:"delivery",key:"delivery",labelKey:"shop.product.delivery",defaultLabel:"Delivery",hasData:!!L?.provider},{id:"returns",key:"returns",labelKey:"shop.product.returns",defaultLabel:"Returns",hasData:!0}].filter(e=>e.hasData),ev=ej[Z],eM=!eb()||X||!e_();return L?(0,t.jsxs)(f.default,{children:[(0,t.jsxs)(f.default,{sx:{display:"flex",justifyContent:"space-between",alignItems:"flex-start",mb:6},children:[(0,t.jsx)(s.default,{href:G,children:(0,t.jsx)(k.FormattedMessage,{...m.shopSharedMessages.back})}),(0,t.jsx)(N.default,{})]}),et&&(0,t.jsxs)(f.default,{sx:{backgroundColor:q.props.sectionMode.card,border:`1px solid ${q.props.sectionMode.accent}`,borderRadius:D?.button_style==="SQUARE_CORNERS"?0:"8px",padding:{xs:3,md:4},display:"flex",flexDirection:{xs:"column",md:"row"},alignItems:{xs:"flex-start",md:"center"},justifyContent:{xs:"flex-start",md:"space-between"},gap:{xs:2,md:0},mb:4},children:[(0,t.jsxs)(f.default,{sx:{display:"flex",alignItems:"center",gap:2,flex:{xs:"none",md:1}},children:[(0,t.jsx)(h,{sx:{width:16,height:16,color:q.props.sectionMode.accent}}),(0,t.jsx)(n.Paragraph2,{children:(0,t.jsx)(k.FormattedMessage,{...c["shop.product.item_successfully_added"]})})]}),(0,t.jsxs)(f.default,{sx:{display:"flex",alignItems:"center",gap:2,width:{xs:"100%",md:"auto"}},children:[(0,t.jsx)(w.default,{href:G,passHref:!0,style:{textDecoration:"none"},children:(0,t.jsx)(i.default,{onClick:()=>es(!1),sx:{padding:q.spacing(1,3)},children:(0,t.jsx)(k.FormattedMessage,{...c["shop.product.continue_shopping"]})})}),(0,t.jsx)(w.default,{href:W,passHref:!0,style:{textDecoration:"none"},children:(0,t.jsx)(a.default,{sx:{padding:q.spacing(1,3)},children:(0,t.jsx)(k.FormattedMessage,{...c["shop.product.view_cart"]})})})]})]}),(0,t.jsxs)(f.default,{sx:{display:"flex",flexDirection:{xs:"column",md:"row"},gap:{xs:4,md:6},mb:6},children:[(0,t.jsx)(f.default,{sx:{flex:{xs:"none",md:"1"},maxWidth:{xs:"100%",md:"50%"}},children:(0,t.jsx)(F,{slides:ec,galleryKey:em,productName:L.name,squareCorners:D?.button_style==="SQUARE_CORNERS"})}),(0,t.jsxs)(f.default,{sx:{flex:{xs:"none",md:"1"},display:"flex",flexDirection:"column",gap:3},children:[(0,t.jsx)(n.Headline2,{sx:{color:q.props.sectionMode.text_background,mb:2},children:L.name}),(0,t.jsx)(n.Headline3,{sx:{color:q.props.sectionMode.accent,mb:3},children:(0,t.jsx)(u.FormattedNumber,{value:eg,style:"currency",currencyDisplay:"narrowSymbol",currencySign:"standard",currency:A?.currency?.code||"EUR"})}),el&&(0,t.jsxs)(f.default,{sx:{mb:3},children:[(0,t.jsx)(n.Headline4,{sx:{mb:3,color:q.props.sectionMode.text_background,textTransform:"capitalize"},children:(0,t.jsx)(k.FormattedMessage,{...c["shop.product.color"]})}),(0,t.jsx)(r.ProductColorSwatches,{hexValues:en,selectedHex:ed,onSelect:e=>{let t=(0,o.pickVariantKeyForColor)(er,e,U);t&&B(t)}})]}),el&&eo.map(e=>{let s=e.name.toLowerCase(),a=(0,o.getDistinctDimensionValues)(eu,e.name),i=(0,o.parseStructuredVariantKey)(U)[s]??"";return(0,t.jsx)(f.default,{sx:{mb:3},children:(0,t.jsx)(j.default,{fullWidth:!0,label:e.name,value:i,onChange:t=>((e,t)=>{if(!L)return;let s=e.toLowerCase(),a={...(0,o.parseStructuredVariantKey)(U),[s]:t},i=(0,o.buildVariantKeyFromSelections)(L,a);i&&er.includes(i)&&B(i)})(e.name,t.target.value),select:!0,required:!0,sx:{"& .MuiOutlinedInput-root":{borderRadius:D?.button_style==="SQUARE_CORNERS"?0:"8px"}},children:a.map(e=>(0,t.jsx)(_.default,{value:e,children:e},e))})},e.name)}),(0,o.isLegacyStringVariants)(L.variants)&&L.variants.length>0&&(0,t.jsx)(f.default,{sx:{mb:3},children:(0,t.jsx)(j.default,{fullWidth:!0,label:R.formatMessage(c["shop.product.size"]),value:U,onChange:e=>B(e.target.value),select:!0,required:!0,sx:{"& .MuiOutlinedInput-root":{borderRadius:D?.button_style==="SQUARE_CORNERS"?0:"8px"}},children:L.variants.map(e=>(0,t.jsx)(_.default,{value:e,children:e},e))})}),ea.length>0&&!el&&ei.length>0&&(0,t.jsx)(f.default,{sx:{mb:3},children:(0,t.jsxs)(j.default,{fullWidth:!0,label:R.formatMessage(c["shop.product.variant"]),value:U,onChange:e=>B(e.target.value),select:!0,required:!0,SelectProps:{displayEmpty:!0,renderValue:e=>{let t=ea.find(t=>t.key===e);return t?.label?.trim()||" "}},sx:{"& .MuiOutlinedInput-root":{borderRadius:D?.button_style==="SQUARE_CORNERS"?0:"8px"}},children:[U&&!ei.some(e=>e.key===U)&&(0,t.jsx)(_.default,{value:U,sx:{display:"none"}
52,"aria-hidden":!0,children:" "}),ei.map(e=>(0,t.jsx)(_.default,{value:e.key,children:e.label},e.key))]})}),L.questions&&Array.isArray(L.questions)&&L.questions.length>0&&(0,t.jsxs)(f.default,{sx:{mb:3},children:[(0,t.jsx)(n.Headline4,{sx:{mb:3},children:(0,t.jsx)(k.FormattedMessage,{...c["shop.product.personalisation"]})}),L.questions.map((e,s)=>{let a="text"===e.type?function(e){if("number"!=typeof e||!Number.isFinite(e))return;let t=Math.floor(e);return t>0?t:void 0}(e.limit):void 0,i=H[e.name]||"",r=null!=a?i.slice(0,a):i;return(0,t.jsx)(f.default,{sx:{mb:3},children:"text"===e.type?(0,t.jsx)(j.default,{fullWidth:!0,label:`${e.name}${e.required?" *":" (optional)"}`,variant:"outlined",value:r,error:!!(a&&V[e.name]),helperText:null!=a?V[e.name]?(0,t.jsx)(k.FormattedMessage,{...c["shop.product.question_char_limit_exceeded"],values:{max:a}}):(0,t.jsx)(k.FormattedMessage,{...c["shop.product.question_char_count"],values:{current:r.length,max:a}}):void 0,onChange:t=>{let s=t.target.value;null!=a&&(s=s.slice(0,a)),eh(e.name,s),null!=a&&s.length<a&&ef(e.name)},required:e.required,inputProps:null!=a?{maxLength:a,onKeyDown:t=>((e,t,s)=>{let a;if(s.nativeEvent.isComposing)return;let i=s.currentTarget,r=i.value,n=i.selectionStart??0,l=i.selectionEnd??0;!(s.ctrlKey||s.metaKey||s.altKey||new Set(["Backspace","Delete","ArrowLeft","ArrowRight","ArrowUp","ArrowDown","Home","End","Tab","Escape","Enter"]).has(s.key))&&1===s.key.length&&(a=Math.max(0,l-n),r.length-a+1>t&&(s.preventDefault(),ex(e)))})(e.name,a,t),onPaste:t=>((e,t,s,a)=>{let i=a.clipboardData.getData("text");if(!i)return;let r=a.currentTarget,n=r.selectionStart??0,l=r.selectionEnd??0,o=s.slice(0,n),d=s.slice(l);o.length+i.length+d.length>t&&ex(e)})(e.name,a,r,t)}:void 0,sx:{"& .MuiOutlinedInput-root":{borderRadius:D?.button_style==="SQUARE_CORNERS"?0:"8px"}}}):"select"===e.type?(0,t.jsx)(j.default,{fullWidth:!0,label:`${e.name}${e.required?" *":""}`,value:H[e.name]||"",onChange:t=>eh(e.name,t.target.value),select:!0,required:e.required,sx:{"& .MuiOutlinedInput-root":{borderRadius:D?.button_style==="SQUARE_CORNERS"?0:"8px"}},children:e.options.map(e=>(0,t.jsx)(_.default,{value:e,children:e},e))}):null},s)})]}),(0,t.jsx)(f.default,{sx:{mb:2,maxWidth:"343px"},children:(0,t.jsx)(a.default,{disabled:eM,onClick:ey,startIcon:eb()&&!X?(0,t.jsx)(g,{sx:{width:12,height:12}}):void 0,sx:{width:"100%"},children:X?(0,t.jsx)(x.default,{size:16,color:"inherit"}):eb()?(0,t.jsx)(k.FormattedMessage,{...c["shop.product.add_to_cart"]}):(0,t.jsx)(k.FormattedMessage,{...c["shop.product.unavailable"]})})}),ej.length>0&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(f.default,{sx:{borderTop:`1px solid ${q.props.sectionMode.text_background}20`,mt:4,mb:3}}),(0,t.jsx)(f.default,{sx:{borderBottom:`1px solid ${q.props.sectionMode.text_background}20`,mb:3},children:(0,t.jsx)(y.default,{value:Z,onChange:(e,t)=>
52{J(t)},variant:"fullWidth",TabIndicatorProps:{sx:{display:"block",backgroundColor:q.props.sectionMode.accent,height:3,bottom:0,position:"absolute"}},sx:{position:"relative","& .MuiTabs-indicator":{display:"block",backgroundColor:q.props.sectionMode.accent,height:3,bottom:0,position:"absolute"},"& .MuiTabs-scroller":{position:"relative"}},children:ej.map((e,s)=>(0,t.jsx)(b.default,{label:(0,t.jsx)(n.Paragraph2,{sx:{fontWeight:Z===s?600:400,color:Z===s?q.props.sectionMode.accent:q.props.sectionMode.text_background},children:"description"===e.key?(0,t.jsx)(k.FormattedMessage,{...c["shop.product.description"]}):"pickup"===e.key?(0,t.jsx)(k.FormattedMessage,{...c["shop.product.pickup"]}):"delivery"===e.key?(0,t.jsx)(k.FormattedMessage,{...c["shop.product.delivery"]}):"returns"===e.key?(0,t.jsx)(k.FormattedMessage,{...c["shop.product.returns"]}):e.defaultLabel}),sx:{padding:"16px 8px",minHeight:"48px"}},e.id))})}),(0,t.jsx)(f.default,{sx:{mb:3},children:ev&&(0,t.jsx)(n.Paragraph2,{sx:{color:q.props.sectionMode.text_background,lineHeight:1.6},children:"description"===ev.key?L.description:"pickup"===ev.key?L.provider?.picked_up?L.provider?.pick_up_description:R.formatMessage(c["shop.product.pickup_unavailable"]):"delivery"===ev.key?L.provider?.deliverable?R.formatMessage(c["shop.product.delivery_description"]):R.formatMessage(c["shop.product.delivery_unavailable"]):"returns"===ev.key?R.formatMessage(c["shop.product.returns_policy"]):null})})]})]})]})]}):(0,t.jsx)(f.default,{sx:{display:"flex",justifyContent:"center",alignItems:"center",minHeight:"400px"},children:(0,t.jsx)(n.Paragraph2,{children:(0,t.jsx)(k.FormattedMessage,{...c["shop.product.not_found"]})})})};e.s(["default",0,function(e){return(0,t.jsx)(D,{...e})}],549620)},561122,e=>{e.v(t=>Promise.all(["static/chunks/1z7thgqx7e0d3.js"].map(t=>e.l(t))).then(()=>t(456817)))},485446,e=>{e.v({cartSummaryInner:"ProductsList-module-scss-module__lyd8Qq__cartSummaryInner",cartSummaryRow:"ProductsList-module-scss-module__lyd8Qq__cartSummaryRow",headerRow:"ProductsList-module-scss-module__lyd8Qq__headerRow",infiniteScrollLoader:"ProductsList-module-scss-module__lyd8Qq__infiniteScrollLoader",productCardBorder:"ProductsList-module-scss-module__lyd8Qq__productCardBorder",productCardInner:"ProductsList-module-scss-module__lyd8Qq__productCardInner",productCardLink:"ProductsList-module-scss-module__lyd8Qq__productCardLink",productCardOuter:"ProductsList-module-scss-module__lyd8Qq__productCardOuter",productContent:"ProductsList-module-scss-module__lyd8Qq__productContent",productGridItem:"ProductsList-module-scss-module__lyd8Qq__productGridItem",productImage:"ProductsList-module-scss-module__lyd8Qq__productImage",productImageArea:"ProductsList-module-scss-module__lyd8Qq__productImageArea",productLink:"ProductsList-module-scss-module__lyd8Qq__productLink",productPrice:"ProductsList-module-scss-module__lyd8Qq__productPrice",productTitle:"ProductsList-module-scss-module__lyd8Qq__productTitle",scrollSentinel:"ProductsList-module-scss-module__lyd8Qq__scrollSentinel"})},491377,e=>{"use strict";var t=e.i(843476),s=e.i(844722),a=e.i(908448),i=e.i(782547),r=e.i(691102),n=e.i(324121),l=e.i(721306),o=e.i(867129),d=e.i(301005);let u=(0,d.defineMessages)({"shop.fanshop":{id:"shop.fanshop",defaultMessage:"#Fanshop"},"shop.product_list.loading_more":{id:"shop.product_list.loading_more",defaultMessage:"#Loading more products"}});var c=e.i(659712),m=e.i(819646),p=e.i(688762),g=e.i(937910),h=e.i(210557),f=e.i(127167),x=e.i(413518),_=e.i(657688),b=e.i(522016),y=e.i(618566),j=e.i(271645),v=e.i(112458),M=e.i(11),S=e.i(428703),C=e.i(731881),w=e.i(314632),P=e.i(70445),k=e.i(485446);function I(e){if(null==e)return null;let t=String(e).trim();return""===t?null:t}e.s(["default",0,function(e){let{data:E}=e,T=E.products??[],N=E.pageLimit??12,L=(0,M.useIntl)(),R=(0,y.useRouter)(),{club:A,prefix:O}=(0,x.useClub)(),{token:F}=(0,f.useAuth)(),D=(0,h.useTheme)(),$=(0,w.useSystemPagePath)(r.WebsitePageType.PRODUCT),z={"--content-padding":D.spacing(2,2,3,2),"--content-gap":D.spacing(2),"--header-padding-bottom":D.spacing(4),"--cart-summary-margin-bottom":D.spacing(2),"--product-text-color":D.props.sectionMode?.text_background??"var(--theme-text-background)"}
52,[q,G]=(0,j.useState)(T),[W,U]=(0,j.useState)(()=>void 0!==E.next?I(E.next):null),[B,H]=(0,j.useState)(!1),Y=(0,j.useRef)(!1),V=(0,j.useRef)(!1),K=(0,j.useRef)(null),Q=(0,j.useMemo)(()=>{let e=(E.products??[]).map(e=>e.id).slice().sort((e,t)=>e-t).join(",");return`${N}|${e}`},[E,N]);(0,j.useEffect)(()=>{G(E.products??[]),void 0!==E.next&&U(I(E.next)),Y.current=!1},[Q]);let Z=(0,j.useCallback)(async()=>{let e=I(W);if(O&&null!=e&&!V.current){V.current=!0,H(!0);try{let{items:t,next:s}=await (0,S.getProducts)({clubPrefix:O,query:{_limit:N,_next:e}});G(e=>{let s=new Set(e.map(e=>e.id)),a=[...e];for(let e of t)s.has(e.id)||(s.add(e.id),a.push(e));return a}),U(I(s))}finally{V.current=!1,H(!1)}}},[O,W,N]),J=null!=I(W);return(0,j.useEffect)(()=>{let e=K.current;if(!e||!J)return;let t=new IntersectionObserver(e=>{let t=e[0];t?.isIntersecting&&Z()},{root:null,rootMargin:"0px",threshold:0});return t.observe(e),()=>t.disconnect()},[J,Z]),(0,j.useEffect)(()=>{O&&F&&(0,C.gaEvent)({action:"shop_viewed",category:"shop",label:`org_id:${A.id}|org_name:${A.name}`,additionalProps:{clubSuffix:O}})},[O,A?.id,A?.name,F]),(0,j.useEffect)(()=>{0!==q.length&&O&&F&&!Y.current&&(Y.current=!0,(0,C.gaEvent)({action:"product_list_viewed",category:"shop",label:`products_count:${q.length}|org_id:${A.id}`,additionalProps:{clubSuffix:O}}))},[q.length,O,A?.id,F]),(0,t.jsxs)(m.default,{style:z,children:[(0,t.jsxs)(m.default,{className:k.default.headerRow,children:[(0,t.jsx)(i.Headline2,{children:(0,t.jsx)(v.FormattedMessage,{...u["shop.fanshop"]})}),(0,t.jsx)(m.default,{className:k.default.cartSummaryRow,children:(0,t.jsx)(m.default,{className:k.default.cartSummaryInner,children:(0,t.jsx)(P.default,{})})})]}),(0,t.jsxs)(g.default,{container:!0,spacing:{xs:4,md:5},children:[0===q.length&&(0,t.jsx)(g.default,{size:12,children:(0,t.jsx)(o.default,{mods:"media-placeholder",title:L.formatMessage(c.sectionMessages["products.no_products"]),fullScreenSize:4,smallScreenSize:2})}),q.map((e,r)=>{let o,u=(0,l.getProductImageSrcOrDefault)((0,n.getListingImageUrl)(e)),c=(0,n.getListingColorHexValues)(e),p=(0,n.getListingUnitPrice)(e),h=(o=e?.id,`${$}/${o}`);return(0,t.jsx)(g.default,{size:{xs:6,md:3},className:k.default.productGridItem,children:(0,t.jsx)(b.default,{href:h,prefetch:!1,className:`${k.default.productLink} ${k.default.productCardLink}`,"aria-label":e?.name,onMouseEnter:()=>R.prefetch(h),onFocus:()=>R.prefetch(h),children:(0,t.jsx)(m.default,{className:k.default.productCardOuter,children:(0,t.jsx)(s.default,{hoverEffect:!0,children:(0,t.jsx)(m.default,{className:k.default.productCardBorder,children:(0,t.jsxs)(m.default,{className:k.default.productCardInner,children:[(0,t.jsx)(m.default,{className:k.default.productImageArea,children:(0,t.jsx)(_.default,{src:u,alt:e.name,fill:!0,sizes:"(max-width: 900px) 50vw, 25vw",className:k.default.productImage})}),(0,t.jsxs)(m.default,{className:k.default.productContent,children:[(0,t.jsx)(i.Headline4,{className:k.default.productTitle,children:e.name}),c.length>0&&(0,t.jsx)(a.ProductColorSwatches,{hexValues:c,selectedHex:"",interactive:!1,size:"compact",maxSwatchCount:10}),(0,t.jsx)(i.Paragraph2,{className:k.default.productPrice,children:(0,t.jsx)(d.FormattedNumber,{value:p,style:"currency",currencyDisplay:"narrowSymbol",currencySign:"standard",currency:A?.currency?.code||"EUR"})})]})]})})})})})},`product-${e.id}-${r}`)})]}),B&&(0,t.jsx)(m.default,{className:k.default.infiniteScrollLoader,display:"flex",justifyContent:"center",py:2,children:(0,t.jsx)(p.default,{size:28,sx:{color:"var(--theme-text-background)"},"aria-label":L.formatMessage(u["shop.product_list.loading_more"])})}),(0,t.jsx)("div",{ref:K,className:k.default.scrollSentinel,"aria-hidden":!0})]})}],491377)},27104,e=>{e.v(t=>Promise.all(["static/chunks/257ahc0carqt8.js"].map(t=>e.l(t))).then(()=>t(620011)))},449894,e=>{"use strict";var t=e.i(843476),s=e.i(186153),a=e.i(702141),i=e.i(376925),r=e.i(782547),n=e.i(691102),l=e.i(124545),o=e.i(819646),d=e.i(937910),u=e.i(413518),c=e.i(364384),m=e.i(11),p=e.i(314632),g=e.i(659712);e.s(["default",0,function(e){let{seasonId:h,group:f,initialIndex:x,league:_,categories:b}=e,y={leagues:_?.id,groups:f?.id,seasons:h},j=(0,p.useSystemPagePath)(n.WebsitePageType.GAMES_OVERVIEW,y),v=(0,p.useSystemPagePath)(n.WebsitePageType.STATISTICS,y),M=(0,p.useSystemPagePath)(n.WebsitePageType.ROSTER,y),S=(0,p.useSystemPagePath)(n.WebsitePageType.STANDINGS,y),C=(0,p.useSystemPagePath)(n.WebsitePageType.RESULTS,y),w=(f?f?.pic:_?.picture)??s.DEFAULT_TEAM_LOGO,{translations:{messages:P}}=(0,c.useTranslations)(),k=(0,m.useIntl)(),{club:I}=(0,u.useClub)(),E=!f||f?.is_team,T=f?.is_team===!0,N=_?.competition_phases?.every(e=>"knockout"===e.phase.type);return(0,t.jsxs)(o.default,{py:4,children:[(f||_)&&(0,t.jsxs)(o.default,{pb:4,display:"flex",alignItems:"center",children:[T&&(0,t.jsx)(a.Img,{mods:"w64",src:w,failoverImage:s.DEFAULT_TEAM_LOGO}),(0,t.jsx)(o.default,{p:2*!!T,children:(0,t.jsx)(r.Headline2,{children:f?(0,l.generateTagLabel)(f,null,b,P,{showTeamAdditionalInfo:I?.show_team_additional_info}):_?.name})})]}),E&&(0,t.jsx)(d.default,{container:!0,children:(0,t.jsx)(d.default,{size:{xs:12,md:8},children:(0,t.jsx)(i.default,{selectedIndex:x,tabs:[...f?[{title:k.formatMessage(g.sectionMessages["navigation.tabs.roster"]),link:M}]:[],..._?[{title:k.formatMessage(g.sectionMessages["navigation.tabs.overview"]),link:j}]:[],{title:k.formatMessage(g.sectionMessages["navigation.tabs.results"]),link:C},...N?[]:[{title:k.formatMessage(g.sectionMessages["navigation.tabs.standings"]),link:S}],{title:k.formatMessage(g.sectionMessages["navigation.tabs.statistics"]),link:v}]})})})]})}])},385118,e=>{"use strict";var t=e.i(843476),s=e.i(229160),a=e.i(364384),i=e.i(271645),r=e.i(790849),n=e.i(306691),l=e.i(782547),o=e.i(691102),d=e.i(33612),u=e.i(210563),c=e.i(907885),m=e.i(449894),p=e.i(230169),g=e.i(815975),h=e.i(659712),f=e.i(567160),x=e.i(819646),_=e.i(937910),b=e.i(413518),y=e.i(770703),j=e.i(618566),v=e.i(11),M=e.i(521213),S=e.i(852514),C=e.i(314632);let w=(0,y.default)(()=>e.A(877013),{loadableGenerated:{modules:[444472]},ssr:!1});function P(e){let{data:a,section:y}=e,P=(0,j.useParams)(),k=(0,s.isUndefined)(P.slug)||(0,s.isEmpty)(P.slug)?null:P.slug[0],{club:I,prefix:E,pathPrefix:T,modes:N,website:L}=(0,b.useClub)(),{group:R,season:A,seasons:O,picture:F,members:D,positions:$,categories:z}=a,[q,G]=(0,i.useState)(D),[W,U]=(0,i.useState)(!1),B=(0,i.useRef)(!1),H=(0,i.useMemo)(()=>(0,s.groupBy)($?.player,"id"),[$?.player]),Y=(0,i.useMemo)(()=>(0,s.groupBy)($?.staff,"id"),[$?.staff]),V=(0,i.useMemo)(()=>q?.filter(e=>e.positions?.some(e=>H[e])),[H,q]),K=(0,i.useMemo)(()=>q?.filter(e=>e.positions?.some(e=>Y[e])),[Y,q]),Q=(0,i.useMemo)(()=>{let e=V?.concat(K).map(e=>e.id)||[];return q?.filter(t=>!e.includes(t.id))},[V,K,q]),Z=(0,v.useIntl)(),[J,X]=(0,i.useState)(A?.id||0),ee=(0,C.useSystemPagePath)(o.WebsitePageType.PLAYER),et=L.settings?.placeholders[R?.gender===1?"v4_website.section.roster.label.players_F":"v4_website.section.roster.label.players"]||Z.formatMessage(h.sectionMessages[R?.gender===1?"section.roster.label.players_f":"section.roster.label.players"]),es=L.settings?.placeholders["v4_website.section.roster.label.staff"]||Z.formatMessage(h.sectionMessages["section.roster.label.staff"]),ea=L.settings?.placeholders["v4_website.section.roster.label.members"]||Z.formatMessage(h.sectionMessages["section.roster.label.members"]);return(0,i.useEffect)(()=>{B.current&&J>0&&er({seasonId:J});let t="web"===T?"":T,s=e.isPreview?`${t}
52/preview`:t,a=`/${[s,k].filter(Boolean).join("/")}`,i=(0,f.buildUrlFromParams)(a,{groups:R?.id,seasons:J},["groups","seasons"],{});window.history.replaceState(null,"",i),B.current=!0},[J]),(0,t.jsxs)(x.default,{children:[(0,t.jsxs)(x.default,{pb:4,children:[(0,t.jsx)(x.default,{pb:4,children:(0,t.jsx)(m.default,{categories:z,initialIndex:0,group:R,league:null,seasonId:A?.id})}),!!O&&O.length>0&&(0,t.jsx)(x.default,{pb:4,children:(0,t.jsx)(_.default,{container:!0,spacing:"8px",children:(0,t.jsx)(_.default,{size:{xs:12,md:5,lg:5},children:(0,t.jsx)(r.default,{id:"season",name:"season",value:J,label:Z.formatMessage(h.sectionMessages["section.label.season"]),options:O.map(e=>({label:e.name,value:e.id})),onChange:e=>X(Number(e.target.value))})})})}),F?.picture&&(0,t.jsx)(x.default,{pb:4,className:g.default.imageBox,children:(0,t.jsx)("img",{className:g.default.image,src:F?.picture,alt:""})})]}),(0,t.jsx)(x.default,{py:4,children:(0,t.jsx)(w,{color:N.find(e=>e.type===y?.mode.type)?.background,classes:g.default.adRoot,blockId:I.id,adType:"roster"})}),W&&(0,t.jsx)(n.default,{}),(0,d.default)([!W&&ei(V,et,H),!W&&ei(K,es,Y),!W&&ei(Q,ea)].filter(Boolean),(0,t.jsx)(x.default,{pb:5})),!W&&V?.length===0&&K?.length===0&&Q?.length===0&&(0,t.jsx)(u.default,{title:Z.formatMessage(h.sectionMessages["section.roster.empty"]),fullScreenSize:3,smallScreenSize:2})]});function ei(e,s,a){return e&&e?.length?(0,t.jsxs)(x.default,{children:[(0,t.jsx)(x.default,{pb:4,children:(0,t.jsx)(l.Headline2,{children:s})}),(0,t.jsx)(x.default,{pb:4,children:(0,t.jsx)(_.default,{container:!0,spacing:"16px",children:e.map(e=>(0,t.jsx)(_.default,{size:{xs:6,sm:6,md:4},children:(0,t.jsx)(p.default,{media:e.pic_roster||e.picture,icon:e?.
52jersey_number!==void 0&&e?.jersey_number!==null&&(0,t.jsx)(c.default,{jerseyNumber:e?.jersey_number}),failOverImage:"https://dk9pqlttm1g0o.cloudfront.net/2026-06-29-a/images/websites/empty-roster-mobile.svg",title:[e.firstname,e.lastname].join(" "),description:e.positions?.map(e=>{var t,s;return t=e,s=a,s?.[t]&&s[t][0]?.translation||""}).filter(Boolean).join(", "),link:`${ee}/players/${e.id}`,mediaMods:"roster",mods:"icon-jersey",target:"_top"},`card-${e.id}`)},e.id))})})]},s.replaceAll(" ","")):null}async function er({seasonId:e}){U(!0),G(await (0,M.getGroupRoster)({clubPrefix:E,groupId:R?.id,seasonId:e,query:{sortExtra:"string"!=typeof y?.content?.column?y?.content?.column:void 0,sortBy:(0,S.getGroupRosterSortingColumnName)(y?.content?.column),sortOrder:y?.content?.sorting??"asc"}}).catch(()=>[]).finally(()=>U(!1)))}}e.s(["default",0,function(e){let{placeholders:r}=e.data,{extendTranslations:n}=(0,a.useTranslations)();return(0,i.useEffect)(()=>{(0,s.isEmpty)(r)||n(r)},[r]),(0,t.jsx)(P,{...e})}],385118)},306117,e=>{e.v(t=>Promise.all(["static/chunks/126oopws9q9vy.js"].map(t=>e.l(t))).then(()=>t(636781)))},671616,e=>{e.v({cardImage:"SectionCardMedia-module-scss-module__X0_Mga__cardImage",cardVideo:"SectionCardMedia-module-scss-module__X0_Mga__cardVideo",icon:"SectionCardMedia-module-scss-module__X0_Mga__icon",iconCenter:"SectionCardMedia-module-scss-module__X0_Mga__iconCenter",iconJersey:"SectionCardMedia-module-scss-module__X0_Mga__iconJersey",iconLeft:"SectionCardMedia-module-scss-module__X0_Mga__iconLeft",iconRight:"SectionCardMedia-module-scss-module__X0_Mga__iconRight",media:"SectionCardMedia-module-scss-module__X0_Mga__media",mediaFeatured:"SectionCardMedia-module-scss-module__X0_Mga__mediaFeatured",mediaRoster:"SectionCardMedia-module-scss-module__X0_Mga__mediaRoster",mediaSponsor:"SectionCardMedia-module-scss-module__X0_Mga__mediaSponsor"})},230169,e=>{"use strict";var t=e.i(843476),s=e.i(844722),a=e.i(877271),i=e.i(642217),r=e.i(782547),n=e.i(819646),l=e.i(210557),o=e.i(322013),d=e.i(207670),u=e.i(657688),c=e.i(671616);let m=(0,o.default)("div")(({theme:e})=>({position:"relative",zIndex:2,width:"100%",height:"100%",minHeight:150,[e.breakpoints.up("md")]:{height:150,'&[data-mod="featured"]':{height:"unset"},'&[data-mod="roster"]':{height:"auto"},'&[data-mod="sponsor"]':{height:176}},[e.breakpoints.down("sm")]:{'&[data-mod="roster"]':{height:"auto"},'&[data-mod="sponsor"]':{height:148}},'&[data-mod="sponsor"]':{backgroundColor:"white",padding:e.spacing(3)}})),p=(0,o.default)("div")(({theme:e})=>({display:"flex",flexDirection:"column",height:"100%",padding:e.spacing(4,4,5,4),"& p, & h4":{display:"-webkit-box",WebkitLineClamp:2,WebkitBoxOrient:"vertical",overflow:"hidden",textOverflow:"ellipsis"}})),g={"& .MuiCard-root":{position:"relative"},"& .MuiCard-root::before":{content:'""',position:"absolute",inset:0,backgroundColor:"rgba(0, 0, 0, 0.08)",opacity:0,transition:"opacity 0.2s ease",pointerEvents:"none",borderRadius:"inherit",zIndex:1},"&:hover .MuiCard-root::before":{opacity:1}},h=(0,o.default)("div")(({theme:e})=>({height:"100%","& > :first-child":{height:"100%"},'&[data-mod="featured"]':{height:"unset"},...g})),f=(0,o.default)("article")(({theme:e})=>({height:"100%","& > :first-child":{height:"100%"},'&[data-mod="featured"]':{height:"unset"},...g})),x=(0,o.default)(u.default)(({theme:e})=>({width:"100%",height:"100%",objectFit:"cover",maxWidth:"934px",maxHeight:"525px",position:"initial !important",'&[data-mod="featured"]':{aspectRatio:"16/9"},'&[data-mod="roster"]':{aspectRatio:"3/4"},'&[data-mod="sponsor"]':{objectFit:"contain"}})),_={roster:c.default.mediaRoster,sponsor:c.default.mediaSponsor,featured:c.default.mediaFeatured},b={"icon-left":c.default.iconLeft,"icon-right":c.default.iconRight,"icon-center":c.default.iconCenter,"icon-jersey":c.default.iconJersey};function y(e,t=""){return t.split("|").filter(Boolean).map(t=>e[t]).filter(Boolean)}e.s(["default",0,function(e){let{mods:o,icon:u,media:g,title:j,description:v,mediaMods:M,link:S,useFailOverComponent:C=!0,failOverComponent:w,openLinkNewTab:P,failOverImage:k,isArticle:I,target:E,bigTitle:T,forwardKey:N,useNextImage:L,additionalParagraphClass:R}
52=e,A=(0,l.useTheme)(),O=g||k||"",F=(0,t.jsx)(s.default,{children:(0,t.jsxs)(n.default,{display:"flex",flexDirection:"column",children:[(0,t.jsxs)(m,{"data-mod":M,children:[C&&!O?w||(0,t.jsx)(i.default,{className:(0,d.default)(c.default.media,y(_,M))}):(0,t.jsx)(x,{"data-mod":M,loader:({src:e})=>`${e}?q=75`,src:O,alt:j||"",fill:!0,sizes:"(max-width: 900px) 50vw, 25vw",loading:"eager"}),u&&(0,t.jsx)("div",{className:(0,d.default)(c.default.icon,y(b,o)),children:u})]}),(0,t.jsxs)(p,{children:[(0,t.jsx)(n.default,{pb:A.spacing(4),children:T?(0,t.jsx)(r.Headline3,{children:j}):(0,t.jsx)(r.Headline4,{children:j})}),(0,t.jsx)(r.Paragraph2,{className:R,children:v})]})]})},N||j);return S?(0,t.jsx)(a.default,{openLinkNewTab:P,link:S,target:E,children:I?(0,t.jsx)(f,{"data-mod":M,children:F}):(0,t.jsx)(h,{"data-mod":M,children:F})}):I?(0,t.jsx)(f,{"data-mod":M,children:F}):(0,t.jsx)(h,{"data-mod":M,children:F})}])},46170,e=>{"use strict";var t=e.i(843476),s=e.i(496241),a=e.i(856931),i=e.i(766705),r=e.i(552057),n=e.i(210557),l=e.i(322013),o=e.i(413518),d=e.i(719451),u=e.i(441632),c=e.i(657688),m=e.i(271645);let p=e=>{let t=parseInt(e.substring(1),16),s=t>>16,a=t-(s<<16)>>8;return[s,a,t-(s<<16)-(a<<8)]};var g=e.i(701973),h=e.i(567160);let f=(0,l.default)("section")(({theme:e})=>{let t=((e,t)=>{let[s,a,i]=e,[r,n,l]=t;return Math.abs(s-r)+Math.abs(a-n)+Math.abs(i-l)<100})(p(e.props.sectionMode.background),p(i.Colors.Secondary));return{backgroundColor:e.props.sectionMode.background,position:"relative",zIndex:0,"& a":t?{"&:focus-visible button, &:has(:not(button)):focus-visible":{outlineColor:"white !important",outlineOffset:0}}:{},"& button:focus-visible":t?{outlineColor:"white !important",outlineOffset:0}:{}}}),x=(0,l.default)("div")({position:"absolute",zIndex:-1,inset:0,maxHeight:"100%",overflowY:"hidden","& img":{width:"100%",height:"100%",objectFit:"cover"}}),_=(0,l.default)(r.default)`
53  &[data-is-divider='false'] {
54    padding: ${({theme:e})=>e.spacing(7,4)};
55  }
56`;e.s(["StyledSection",0,f,"default",0,function({section:e,children:i}){var r;let l,{type:p,url:b}=e?.customize?.background||{},[y,j]=(0,m.useState)(null),{club:v,page:M}=(0,o.useClub)(),S=(0,n.useTheme)(),C=M?.customizable||!1,{isAccessibleMode:w}=(0,u.useGlobalContext)(),P=g.isClient?Array.from(document?.querySelectorAll("section")):[],[k,I]=(0,m.useState)(),E=(0,d.useContainerHeight)(),[T,{height:N}]=(0,s.default)(),L=(0,m.useCallback)((r=e=>{I(e)},function(...e){l&&clearTimeout(l),l=setTimeout(()=>{l=null,r(...e)},200)}),[I]);(0,m.useEffect)(()=>{j(p===a.ISectionBackgroundType.IMAGE&&b&&(0,h.getImageBackgroundUrls)(b,v?.id)||null)},[b]),(0,m.useEffect)(()=>{E>=N&&1===P.length&&C?L(E):L(void 0)},[N,E,P]);let R=(0,t.jsxs)(t.Fragment,{children:[p===a.ISectionBackgroundType.IMAGE&&y&&!w&&(0,t.jsx)(x,{children:(0,t.jsxs)("picture",{children:[y.webp?.url&&(0,t.jsx)("source",{srcSet:y.webp?.url,type:y.webp?.type}),y.default?.url&&(0,t.jsx)("source",{srcSet:y.default?.url,type:y.default?.type}),y.default?.url&&(0,t.jsx)(c.default,{src:y?.default?.url,alt:e.name||"",fill:!0,sizes:"(max-width: 768px) 100vw, (max-width: 1200px) 50vw, 33vw",loader:({src:e})=>`${e}?q=75`,loading:"eager"})]})}),(0,t.jsx)(_,{"data-is-divider":e?.system_section?.type===a.SectionType.DIVIDER,maxWidth:"xl",children:i})]});return e.origin===a.ISectionOrigin.CUSTOM?(0,t.jsx)(f,{ref:T,"data-type":e.system_section.type,id:`section-${e.id}`,style:{minHeight:k,backgroundColor:p===a.ISectionBackgroundType.COLOR?S.background:null},children:R}):(0,t.jsx)(f,{ref:T,style:{minHeight:k},children:R})}],46170)},738135,e=>{"use strict";var t=e.i(843476),s=e.i(710269),a=e.i(844722),i=e.i(782547),r=e.i(691102),n=e.i(229160),l=e.i(324121),o=e.i(721306),d=e.i(867129),u=e.i(659712),c=e.i(456589),m=e.i(819646),p=e.i(937910),g=e.i(210557),h=e.i(413518),f=e.i(657688),x=e.i(522016),_=e.i(271645),b=e.i(301005),y=e.i(11),j=e.i(428703),v=e.i(314632);e.s(["default",0,function(e){let{section:M}=e,[S,C]=(0,_.useState)([]),[w,P]=(0,_.useState)(!0),k=(0,y.useIntl)(),I=(0,v.useSystemPagePath)(r.WebsitePageType.PRODUCTS),E=(0,v.useSystemPagePath)(r.WebsitePageType.PRODUCT),{club:T,prefix:N}=(0,h.useClub)(),L=(0,g.useTheme)();return(0,_.useEffect)(()=>{!async function(){try{let{items:e}=await (0,j.getProducts)({clubPrefix:N});if(e.length>0){let t=(0,n.shuffle)(e).slice(0,4);C(t)}}catch(e){C([])}finally{P(!1)}}()},[N]),(0,t.jsxs)(m.default,{children:[(0,t.jsx)(m.default,{pb:4,children:(0,t.jsx)(i.Headline2,{children:M?.name})}),(0,t.jsxs)(p.default,{container:!0,spacing:{xs:4,md:5},children:[(!S||0===S.length)&&!w&&(0,t.jsx)(p.default,{size:12,children:(0,t.jsx)(d.default,{mods:"media-placeholder",title:k.formatMessage(u.sectionMessages["products.no_products"]),fullScreenSize:4,smallScreenSize:2})}),!w&&S&&S.map(e=>{let s,r=(0,o.getProductImageSrcOrDefault)((0,l.getListingImageUrl)(e));return(0,t.jsx)(p.default,{size:{xs:6,md:3},sx:{display:"flex"},children:(0,t.jsx)(x.default,{href:(s=e.id,`${E}/${s}`),passHref:!0,style:{textDecoration:"none",color:"inherit",width:"100%"},children:(0,t.jsx)(m.default,{"aria-label":`${e.name}`,sx:{cursor:"pointer",textDecoration:"none",color:"inherit",width:"100%",height:"100%",display:"flex","&:focus-visible":{outline:L.props.sectionMode.focus_outline,outlineOffset:"2px"}},component:"a",children:(0,t.jsx)(m.default,{sx:{width:"100%",height:"100%",display:"flex"},children:(0,t.jsx)(a.default,{hoverEffect:!0,children:(0,t.jsx)(m.default,{sx:{border:`1px solid ${L.props.sectionMode.text_background}20`,borderRadius:"inherit",height:"100%",width:"100%",overflow:"hidden"},children:(0,t.jsxs)(m.default,{sx:{width:"100%",height:"100%",position:"relative",overflow:"hidden",display:"flex",flexDirection:"column"},children:[(0,t.jsx)(m.default,{sx:{position:"relative",width:"100%",aspectRatio:"1",backgroundColor:L.props.sectionMode.card},children:(0,t.jsx)(f.default,{src:r,alt:k.formatMessage(c.shopSh
56aredMessages["shop.cart.line_image_alt"],{productName:e.name}),fill:!0,sizes:"(max-width: 900px) 50vw, 25vw",style:{objectFit:"contain"}})}),(0,t.jsxs)(m.default,{sx:{width:"100%",padding:L.spacing(2,2,3,2),display:"flex",flexDirection:"column",gap:.5,justifyContent:"space-between",flex:1,minHeight:0},children:[(0,t.jsx)(i.Headline4,{sx:{lineHeight:"1.3",color:L.props.sectionMode.text_background,margin:0,flex:1,overflow:"hidden",display:"-webkit-box",WebkitLineClamp:2,WebkitBoxOrient:"vertical"},children:e.name}),(0,t.jsx)(i.Paragraph2,{sx:{lineHeight:1.2,color:L.props.sectionMode.text_background,margin:0,flexShrink:0},children:(0,t.jsx)(b.FormattedNumber,{value:(0,l.getListingUnitPrice)(e),style:"currency",currencyDisplay:"narrowSymbol",currencySign:"standard",currency:T?.currency?.code||"EUR"})})]})]})})})})})})},e.id)}),!w&&S&&S.length>0&&(0,t.jsx)(p.default,{justifyContent:"center",container:!0,size:12,children:(0,t.jsx)(s.default,{applyBackgroundColor:!0,href:I,children:k.formatMessage(u.sectionMessages["website.view_more"])})})]})]})}])},774268,e=>{"use strict";var t=e.i(843476),s=e.i(356437),a=e.i(782547),i=e.i(691102),r=e.i(229160),n=e.i(324121),l=e.i(721306),o=e.i(867129),d=e.i(659712),u=e.i(301005);let c=(0,u.defineMessages)({"shop.preview.product_image_alt":{id:"shop.preview.product_image_alt",defaultMessage:"#{productName} — product image"}});var m=e.i(819646),p=e.i(210557),g=e.i(413518),h=e.i(657688),f=e.i(271645),x=e.i(11),_=e.i(428703),b=e.i(314632);e.s(["default",0,function({data:e,section:y}){let{description:j}=e,[v,M]=(0,f.useState)(null),[S,C]=(0,f.useState)(!0),w=(0,x.useIntl)(),{club:P,website:k,prefix:I}=(0,g.useClub)(),E=(0,p.useTheme)();(0,f.useEffect)(()=>{!async function(){try{let e=y?.content?.item?.id;if(e){let t=await (0,_.getProduct)({clubPrefix:I,productId:e});M(t)}else{let{items:e}=await (0,_.getProducts)({clubPrefix:I});if(e.length>0){let t=(0,r.shuffle)(e)[0];M(t)}}}catch(e){M(null)}finally{C(!1)}}()},[y,I]);let T=(0,f.useMemo)(()=>{if(!v)return"";let e=(0,n.getListingImageUrl)(v);return(0,l.getProductImageSrcOrDefault)(e||(0,n.getProductHeroFullUrl)(v))},[v]),N=(0,b.useSystemPagePath)(i.WebsitePageType.PRODUCT);return(0,t.jsxs)(m.default,{children:[(0,t.jsx)(m.default,{pb:4,children:(0,t.jsx)(a.Headline2,{children:y?.name})}),(0,t.jsx)(m.default,{sx:{display:"flex",flexDirection:{xs:"column",md:"row"},gap:{xs:4,md:6}},children:!S&&v?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(m.default,{sx:{flex:{xs:"none",md:"1"},maxWidth:{xs:"100%",md:"50%"}},children:(0,t.jsx)(m.default,{sx:{position:"relative",width:"100%",aspectRatio:"1",borderRadius:k?.button_style==="SQUARE_CORNERS"?0:"12px",overflow:"hidden",backgroundColor:E.props.sectionMode.card,border:`1px solid ${E.props.sectionMode.text_background}20`},children:(0,t.jsx)(h.default,{src:T,alt:w.formatMessage(c["shop.preview.product_image_alt"],{productName:v.name}),fill:!0,sizes:"(min-width: 900px) 50vw, 100vw",style:{objectFit:"contain"}})})}),(0,t.jsxs)(m.default,{sx:{flex:{xs:"none",md:"1"},display:"flex",flexDirection:"column",gap:3,justifyContent:"center"},children:[v?.name&&(0,t.jsx)(a.Headline2,{sx:{color:E.props.sectionMode.text_background,mb:1},children:v.name}),(0,t.jsx)(a.Headline3,{sx:{color:E.props.sectionMode.accent,mb:2},children:(0,t.jsx)(u.FormattedNumber,{value:(0,n.getListingUnitPrice)(v),style:"currency",currencyDisplay:"narrowSymbol",currencySign:"standard",currency:P?.currency?.code||"EUR"})}),j&&(0,t.jsx)(a.Paragraph2,{sx:{color:E.props.sectionMode.text_background,lineHeight:1.6,mb:3,whiteSpace:"pre-line"},children:j}),(0,t.jsx)(m.default,{sx:{maxWidth:"200px"},children:(0,t.jsx)(s.default,{href:`${N}/${v.id}`,sx:{width:"100%"},children:w.formatMessage(d.sectionMessages["section.shop.view_item"])})})]})]}):S?null:(0,t.jsx)(m.default,{sx:{width:"100%"},children:(0,t.jsx)(o.default,{mods:"media-placeholder",title:w.formatMessage(d.sectionMessages["products.no_products"]),fullScreenSize:1,smallScreenSize:1})})})]})}],774268)},579959,e=>{e.v(t=>Promise.all(["static/chunks/3a7_lfb9ws7r2.js"].map(t=>e.l(t))).then(()=>t(900137)))},314253,e=>{"use strict";var t=e.i(843476),s=e.i(877271),a=e.i(778875),i=e.i(709805),r=e.i(306691),n=e.i(782547),l=e.i(691102),o=e.i(33612),d=e.i(693971),u=e.i(867129),c=e.i(659712),m=e.i(819646),p=e.i(413518),g=e.i(364384),h=e.i(770703),f=e.i(271645),x=e.i(11),_=e.i(997221),b=e.i(314632),y=e.i(160850),j=e.i(216835);let v=(0,h.default)(()=>e.A(877013),{loadableGenerated:{modules:[444472]},ssr:!1}),M=(0,f.lazy)(()=>e.A(425031));e.s(["default",0,function(e){let h,{gallery:S,club:C,section:w}=e.data,{photographer:P}=S||{},[k,I]=(0,f.useState)(1),[E,T]=(0,f.useState)(S?.pictures||[]),[N,L]=(0,f.useState)(E.length===j.SINGLE_GALLERY_PICTURE_PAGINATION),R=(0,x.useIntl)(),{club:A,modes:O}=(0,p.useClub)(),F=C||A,{prefix:D}=(0,p.useClub)(),$=(0,b.useSystemPagePath)(l.WebsitePageType.GAME),{simpleDateFormatter:z}=(0,g.useTranslations)(),[q,G]=(0,f.useState)(-1),W=-1!==q,U=(h=window.navigator.userAgent,/safari/i.test(h)&&!/chrome|android/i.test(h)?"safari":/chrome/i.test(h)?"chrome":/firefox/i.test(h)?"firefox":"");return(0,f.useEffect)(()=>{W&&N&&E.length-q<=5&&B()},[q]),(0,t.jsxs)(m.default,{children:[(0,t.jsx)(f.Suspense,{children:(0,t.jsx)(M,{open:W,close:()=>G(-1),index:q,slides:E.map(e=>({src:e}))})}),(0,t.jsx)(m.default,{pb:4,children:(0,t.jsx)(n.Headline2,{children:S?.title})},1),(0,t.jsxs)(m.default,{display:"flex",pb:4,children:[P&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(n.Paragraph1,{children:[R.formatMessage(c.sectionMessages["section.gallery.p
56hotographed_by"])," ",P]}),(0,t.jsx)(n.Paragraph1,{children:" | "})]}),S&&(0,t.jsx)(n.Paragraph1,{children:z(S.date,"DD MMMM YYYY")})]}),C&&C.id!==A.id&&(0,t.jsx)(m.default,{display:"flex",alignItems:"center",pb:4,children:(0,o.default)([(0,t.jsx)(a.default,{externalClub:F,size:24},"clubLogo"),(0,t.jsxs)(n.Paragraph1,{children:[R.formatMessage(c.sectionMessages["section.video.created_by"])," ",F.name]},"clubName")],(0,t.jsx)("div",{style:{marginLeft:2}}))}),S?.event&&(0,t.jsx)(m.default,{pb:6,children:(0,t.jsx)(s.default,{link:`${$}/${S.event?.id}`,children:(0,t.jsx)(n.Paragraph1,{children:(0,t.jsx)("strong",{children:R.formatMessage(c.sectionMessages["section.gallery.view_game_page"])})})})}),S?.description&&(0,t.jsx)(m.default,{pb:5,children:(0,t.jsx)(n.Paragraph1,{children:S.description})}),(0,t.jsx)(v,{color:O.find(e=>e.type===w?.mode.type)?.background,classes:y.default.adRoot,blockId:A.id,adType:"gallery"}),0===E.length&&(0,t.jsx)(m.default,{pb:4,children:(0,t.jsx)(u.default,{mods:"media-placeholder",title:R.formatMessage(c.sectionMessages["galleries.no_photos"]),fullScreenSize:2,smallScreenSize:2})}),(0,t.jsx)(i.default,{dataLength:E.length,next:B,className:d.default.infiniteList,hasMore:N,loader:(0,t.jsx)(r.default,{}),children:(0,t.jsx)(m.default,{pb:4,className:"safari"===U?y.default.masonryGrid:y.default.masonry,children:E.map((e,s)=>(0,t.jsx)("div",{onClick:()=>G(s),className:y.default.masonryItem,children:(0,t.jsx)("img",{src:e,className:y.default.masonryImage,alt:""})},e))})})]});async function B(){let e=await (0,_.getGalleryPictures)({clubPrefix:D,id:S.id,query:{_limit:j.SINGLE_GALLERY_PICTURE_PAGINATION,_offset:j.SINGLE_GALLERY_PICTURE_PAGINATION*k}}).catch(()=>[]);I(e=>e+1),T(t=>t.concat(e)),0===e.length&&L(!1)}}],314253)},160850,e=>{e.v({adRoot:"SingleGallery-module-scss-module__k5ntMG__adRoot",masonry:"SingleGallery-module-scss-module__k5ntMG__masonry",masonryGrid:"SingleGallery-module-scss-module__k5ntMG__masonryGrid",masonryImage:"SingleGallery-module-scss-module__k5ntMG__masonryImage",masonryItem:"SingleGallery-module-scss-module__k5ntMG__masonryItem"})},216835,e=>{"use strict";e.s(["SINGLE_GALLERY_PICTURE_PAGINATION",0,10])},664767,e=>{e.v(t=>Promise.all(["static/chunks/3x53q4774pwko.js"].map(t=>e.l(t))).then(()=>t(567921)))},572110,e=>{"use strict";var t,s=e.i(843476),a=e.i(642184),i=e.i(782547),r=e.i(659712),n=e.i(819646),l=e.i(11),o=((t={}).SMALL="small",t.LARGE="large",t),d=e.i(53800);function u(e){return(0,s.jsx)(s.Fragment,{children:(0,d.range)(e.count).map(e=>(0,s.jsx)(n.default,{mr:2,children:(0,s.jsx)(a.default,{})},e))})}let c="https://dk9pqlttm1g0o.cloudfront.net/2026-06-29-a/images",m=["facebook","youtube","instagram","twitter","snapchat"],p={facebook:`${c}/websites/28px/Facebook.svg`,youtube:`${c}/websites/28px/Youtube.svg`,instagram:`${c}/websites/28px/Instagram.svg`,twitter:`${c}/websites/28px/Twitter.svg`,snapchat:`${c}/websites/28px/Snapchat.svg`};e.s(["default",0,function(e){let{section:t}=e,d=(0,l.useIntl)(),c=m.filter(e=>t?.content?.[e]),g=t?.customize?.format?.icon_size===o.LARGE;return(0,s.jsxs)(n.default,{children:[(0,s.jsx)(n.default,{justifyContent:"center",textAlign:"center",pb:4,display:"flex",children:(0,s.jsx)(i.Headline3,{children:t.name||d.formatMessage(r.sectionMessages["social.social_networks"])})}),(0,s.jsx)(n.default,{pb:4,display:"flex",alignItems:"center",justifyContent:"center",children:(0,s.jsxs)(n.default,{display:"flex",justifyContent:"space-between",children:[c&&c.map(e=>(function({icon:e,url:t,key:i,isLarge:r}){return(0,s.jsx)("a",{href:t,target:"_blank",rel:"noreferrer",children:(0,s.jsx)(n.default,{mr:2,children:(0,s.jsx)(a.default,{imgSrc:e,size:r?"large":"medium"})})},i)})({key:e,icon:p[e],url:t?.content[e],isLarge:g})),c&&0===c.length&&(0,s.jsx)(u,{count:m.length})]})})]})}],572110)},363538,e=>{e.v({container:"CarouselSponsors-module-scss-module__2dUQpW__container",failOverName:"CarouselSponsors-module-scss-module__2dUQpW__failOverName",image:"CarouselSponsors-module-scss-module__2dUQpW__image",media:"CarouselSponsors-module-scss-module__2dUQpW__media",sponsorName:"CarouselSponsors-module-scss-module__2dUQpW__sponsorName"})},474494,e=>{e.v({sponsorName:"SponsorsDefaultLayout-module-scss-module__XLskqa__sponsorName"})},406026,e=>{"use strict";var t=e.i(843476),s=e.i(782547),a=e.i(33612),i=e.i(229160),r=e.i(867129),n=e.i(230169),l=e.i(659712),o=e.i(819646),d=e.i(937910),u=e.i(271645),c=e.i(11),m=e.i(474494);e.s(["default",0,function(e){let{data:p,section:g}=e,{sponsors:h,sponsorCategories:f}=p,x=(0,u.useMemo)(()=>(0,i.groupBy)(h.map(e=>({...e,categoryId:e?.category?`id_${e?.category?.id}`:"no-sponsor"})),"categoryId"),[h]),_=(0,c.useIntl)(),b=h?.length===0;return(0,t.jsxs)(o.default,{children:[(0,t.jsx)(o.default,{pb:4,children:(0,t.jsx)(s.Headline2,{children:g.name})}),b?(0,t.jsx)(r.default,{title:_.formatMessage(l.sectionMessages["sponsors.empty"]),fullScreenSize:6,smallScreenSize:3}):(0,a.default)(Object.entries(x).map(([e,a])=>(function(e,a){if(0===a.length)return null;let i="no-sponsor"===e?_.formatMessage(l.sectionMessages["sponsors.label"]):f?.find(t=>
56t.id===Number(e.split("_")[1]))?.name||"",r="no-sponsor"===e&&0===f.length||!i;return(0,t.jsxs)(o.default,{children:[!r&&(0,t.jsx)(o.default,{pb:4,children:(0,t.jsx)(s.Headline3,{children:i})}),(0,t.jsx)(d.default,{container:!0,spacing:"12px",children:a.map(e=>(0,t.jsx)(d.default,{size:{xs:6,sm:6,md:3,lg:3},children:(0,t.jsx)(n.default,{media:e.banner,title:e.name,description:e.info||"",link:e.url,failOverComponent:(0,t.jsx)("div",{className:m.default.sponsorName,children:(0,t.jsx)(s.Paragraph2,{children:e.name})}),useFailOverComponent:!0,openLinkNewTab:!0,mediaMods:"sponsor"},`card-${e.id}`)},e.id))})]})})(e,a)).filter(Boolean),(0,t.jsx)(o.default,{pb:4}))]})}])},545706,e=>{"use strict";var t=e.i(843476),s=e.i(306691),a=e.i(376925),i=e.i(782547),r=e.i(856931),n=e.i(867129),l=e.i(819646),o=e.i(413518),d=e.i(618566),u=e.i(271645),c=e.i(11),m=e.i(616166),p=e.i(659712),g=e.i(611662),h=e.i(229160),f=e.i(726008),x=e.i(363538);let _={0:{items:1},1024:{items:3}},b=function(e){let{sponsors:s,randomize:a}=e,r=u.default.useMemo(()=>a?(0,h.shuffle)(s):s,[s]),n=u.default.memo(function(){return(0,t.jsx)(f.default,{responsive:_,mouseTracking:!0,keyboardNavigation:!0,infinite:!0,autoPlay:!0,autoPlayInterval:1e3,animationDuration:2500,disableDotsControl
56s:!0,disableButtonsControls:!0,items:r.map(e=>(0,t.jsx)("a",{href:e.url,target:"_blank",rel:"noreferrer",className:x.default.sponsorName,"aria-label":"Link - "+e.name,children:(0,t.jsx)("div",{className:x.default.media,children:(0,t.jsx)(g.default,{src:e.banner,className:x.default.image,failoverComponent:(0,t.jsx)("div",{className:x.default.failOverName,children:(0,t.jsx)(i.Paragraph2,{children:e.name})}),alt:(e.name??"")+" - Logo"})})},e.id))})});return(0,t.jsx)(l.default,{className:x.default.container,children:(0,t.jsx)(n,{})})};var y=e.i(844722),j=e.i(766705),v=e.i(937910),M=e.i(210557),S=e.i(322013),C=e.i(657688),w=e.i(522016);let P=(0,S.default)(v.default)(({theme:e,isContainerCenter:t})=>({justifyContent:t?"center":"flex-start",[e.breakpoints.down("sm")]:{justifyContent:"flex-start !important"}})),k=(0,S.default)(v.default)(({theme:e})=>({minWidth:175,[e.breakpoints.down("sm")]:{minWidth:"unset"}})),I=(0,S.default)("div")(({theme:e})=>({padding:e.spacing(2)})),E=(0,S.default)("div")({position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)",textAlign:"center","& > p":{color:j.Colors.DarkText}}),T=(0,S.default)("div")`
57  background-color: #ffffff;
58`,N=(0,S.default)(w.default)`
59  display: block;
60  width: 100%;
61  height: 100%;
62  outline: ${({theme:e})=>e.props.sectionMode.focus_outline};
63
64  &:focus-visible {
65    box-shadow: 0px 0px 0 3px ${({theme:e})=>e.props.sectionMode.accent} inset;
66    border-radius: 7px;
67  }
68`,L=function(e){let{sponsors:s}=e,a=s.length<6,r=(0,M.useTheme)();return(0,t.jsx)(l.default,{children:(0,t.jsx)(P,{container:!0,spacing:r.spacing(2),isContainerCenter:a,children:s.map((e,s)=>{let a=e.url?N:"div";return(0,t.jsx)(k,{size:{xs:4,sm:4,md:2},children:(0,t.jsx)(y.default,{children:(0,t.jsx)(T,{children:(0,t.jsx)(a,{href:e.url?e.url:"undefined",target:"_blank",rel:"noreferrer",children:(0,t.jsx)(I,{children:(0,t.jsx)(l.default,{display:"flex",justifyContent:"center",alignItems:"center",sx:{position:"relative",height:"100%",width:"100%",paddingBottom:"100%"},children:e?.banner?(0,t.jsx)(C.default,{src:e.banner,alt:e.name,sizes:"(max-width: 768px) 100vw, (max-width: 1200px) 50vw, 33vw",fill:!0,unoptimized:!0,style:{objectFit:"contain"}}):(0,t.jsx)(E,{children:(0,t.jsx)(i.Paragraph2,{children:e.name})})})})})})})},"sponsorList__item__"+s+"__"+e.id)})})})};var R=e.i(500545);e.s(["default",0,function(e){let{section:{layout:g,content:h,id:f,name:x=""},data:_}=e,{sponsorCategories:y}=_,[j,v]=(0,u.useState)(_.sponsors),[M,S]=(0,u.useState)(!1),{prefix:C}=(0,o.useClub)(),w=(0,d.useSearchParams)(),P=(0,R.getSponsorTabKey)(f),k=Number(w.get(P)),I=(0,c.useIntl)(),E=(0,u.useMemo)(()=>h?.categories?.map(e=>{let t=y.find(t=>t.id===e.id);return{title:t?.name,id:e.id}}).filter(e=>e.title)??[],[h?.categories,y]),T=E.findIndex(e=>e.id===k);T<0&&(T=0);let N=(0,u.useMemo)(()=>E&&E.length?j.filter(e=>e.category?.id===E[T]?.id):j,[j,E,T]),A=0===N.length;return(0,t.jsxs)(l.default,{children:[x&&(0,t.jsx)(l.default,{display:"flex",justifyContent:"center",alignItems:"center",pb:4,children:(0,t.jsx)(i.Headline3,{children:x})}),E&&E.length>1&&(0,t.jsx)(l.default,{display:"flex",justifyContent:"center",alignItems:"center",pb:4,children:(0,t.jsx)(a.default,{onClick:function(e){let t=new URL(location.href);t.searchParams.set(P,e.id),window.history.pushState({},"",t),S(!0),(0,m.getSponsors)({clubPrefix:C,params:{_sponsor_categories:e.id}}).then(e=>v(e)).finally(()=>{S(!1)})},tabs:E,selectedIndex:T})}),M&&(0,t.jsx)(s.default,{}),A&&!M&&(0,t.jsx)(n.default,{title:I.formatMessage(p.sectionMessages["sponsors.empty"]),fullScreenSize:6,smallScreenSize:3}),g===r.SectionLayoutType.CAROUSEL&&!A&&!M&&(0,t.jsx)(b,{sponsorCategories:y,sponsors:N,randomize:h?.randomize}),g===r.SectionLayoutType.LIST&&!A&&!M&&(0,t.jsx)(L,{sponsorCategories:y,sponsors:N})]})}],545706)},801699,e=>{e.v(t=>Promise.all(["static/chunks/0o9_xv-cg2_07.js"].map(t=>e.l(t))).then(()=>t(253088)))},500545,e=>{"use strict";e.s(["getSponsorTabKey",0,function(e){return`sponsor-${e}-tab`}])},132793,e=>{e.v({adRoot:"DefaultStandingsLayout-module-scss-module__7m7FVq__adRoot"})},777654,e=>{"use strict";var t=e.i(843476),s=e.i(856931),a=e.i(229160),i=e.i(364384),r=e.i(271645),n=e.i(186153),l=e.i(844722),o=e.i(790849),d=e.i(702141),u=e.i(306691),c=e.i(927768),m=e.i(782547),p=e.i(124545),g=e.i(363972),h=e.i(449894),f=e.i(659712),x=e.i(567160),_=e.i(819646),b=e.i(937910),y=e.i(413518),j=e.i(770703),v=e.i(618566),M=e.i(11),S=e.i(564366),C=e.i(196812),w=e.i(571709),P=e.i(612049);let k={header:{},rows:[]};var I=e.i(132793);let E=(0,j.default)(()=>e.A(877013),{loadableGenerated:{modules:[444472]},ssr:!1});function T(e){let s=(0,v.useParams)(),j=(0,a.isUndefined)(s.slug)||(0,a.isEmpty)(s.slug)?null:s.slug[0],{club:T,prefix:N,pathPrefix:L,modes:R}=(0,y.useClub)(),{data:A,section:O}=e,{league:F,season:D,standingsStats:$,seasons:z,leagues:q,group:G,placeholders:W,categories:U}=A,B=(0,M.useIntl)(),{translations:{messages:H}}=(0,i.useTranslations)(),Y=(0,r.useRef)(!1),V=(0,r.useRef)(!1),K=(0,r.useRef)(!1),[Q,Z]=(0,r.useState)(F),[J,X]=(0,r.useState)(D?.id||0),[ee,et]=(0,r.useState)(F?.id||0),[es,ea]=(0,r.useState)($),[ei,er]=(0,r.useState)(!1),[en,el]=(0,r.useState)(z),[eo,ed]=(0,r.useState)(!1),[eu,ec]=(0,r.useState)(!1),[em,ep]=(0,r.useState)([]),[eg,eh]=(0,r.useState)(!1),{extendTranslations:ef}=(0,i.useTranslations)();return(0,r.useEffect)(()=>{let e=[];
68es&&es.length&&es.forEach(t=>{let s=Object.values(t.header).map(e=>"string"==typeof e.acronym?e.acronym.toLowerCase():"");s.sort((e,t)=>e.localeCompare(t));let a=s.join(",");e.some(e=>e===a)||e.push(a)});let t=!1;e.forEach(e=>{em.some(t=>t===e)||(t=!0)}),t&&ep(e),t&&em?.length&&eh(!0)},[es]),(0,r.useEffect)(()=>{Y.current&&!eo&&J&&e_({season:J,league:ee});let t="web"===L?"":L,s=e.isPreview?`${t}/preview`:t,a=`/${[s,j].filter(Boolean).join("/")}`,i=(0,x.buildUrlFromParams)(a,{groups:G?.id,leagues:ee,seasons:J},["leagues","groups","seasons"],{});window.history.replaceState(null,"",i),Y.current=!0},[J,ee]),(0,r.useEffect)(()=>{V.current&&eb({league:ee}),V.current=!0},[ee]),(0,r.useEffect)(()=>{K.current&&eg&&(ex(es),eh(!1)),K.current=!0},[eg]),(0,t.jsxs)(_.default,{children:[(0,t.jsx)(h.default,{categories:U,initialIndex:2,group:G,league:Q,seasonId:J}),(0,t.jsx)(_.default,{pb:4,children:(0,t.jsxs)(b.default,{container:!0,spacing:"8px",children:[G&&(0,t.jsx)(b.default,{size:{xs:12,sm:5,md:5},children:(0,t.jsx)(o.default,{id:"league",value:ee,name:"league",label:B.formatMessage(f.sectionMessages["section.label.league"]),options:q?.map(e=>({label:e.name,value:e.id})),onChange:e=>{et(Number(e.target.value))}})}),(0,t.jsx)(b.default,{size:{xs:12,sm:5,md:5},children:(0,t.jsx)(o.default,{id:"season",value:J,name:"season",label:B.formatMessage(f.sectionMessages["section.label.season"]),options:en?.map(e=>({label:e.name,value:e.id}))||[],onChange:e=>X(Number(e.target.value))})})]})},"standing:league:season"),G&&Q&&(0,t.jsxs)(_.default,{pb:4,display:"flex",alignItems:"center",children:[(0,t.jsx)(d.Img,{mods:"w64",src:Q?.picture??n.DEFAULT_TEAM_LOGO,failoverImage:n.DEFAULT_TEAM_LOGO}),(0,t.jsx)(_.default,{p:2,children:(0,t.jsx)(m.Headline2,{children:Q?.name})})]}),(0,t.jsx)(_.default,{pb:4,children:ei||eu?(0,t.jsx)(u.default,{}):es?.map((e,s)=>{let a=e.footer||[],i=a.some(e=>0!==e.points&&Number.isInteger(e.points));return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(c.default,{entityKey:"group",stats:e,highlightRow:e=>e?.id===G?.id,getEntityNameNode:ey,entityNameHeaderNode:(0,t.jsx)("span",{children:B.formatMessage(f.sectionMessages["table.header.club"])}),getFieldKey:(e,t,s)=>{var a,i,r;return(a=t,i=s,r=F.id,{getStatKey:e=>`${a}-${r}-${i}-${e}`}).getStatKey(e)}},`group:${e.phase?.id}:${s}`),i?(0,t.jsx)(_.default,{pb:4,children:(0,t.jsx)(l.default,{children:(0,t.jsx)(_.default,{p:4,children:a.map(e=>Number.isInteger(e.points)&&0!==e.points?(0,t.jsxs)(_.default,{mb:2,children:[(0,t.jsxs)(m.Paragraph2,{children:["*",e.group?.full_name||"",": ",e.points," ",1===e.points||-1===e.points?B.formatMessage(f.sectionMessages["standings.point"]):B.formatMessage(f.sectionMessages["standings.points"])]}),e.note?(0,t.jsxs)(m.Paragraph2,{children:[B.formatMessage(f.sectionMessages["standings.comment"]),": ",e.note]}):null]},e.group.id+"-penalty"):null)})})},e.id):null]})})},"standing:group"),(0,t.jsx)(_.default,{py:4,children:(0,t.jsx)(E,{color:R.find(e=>e.type===O?.mode.type)?.background,classes:I.default.adRoot,blockId:T.id,adType:"standings"})})]});async function ex(e){let[t]=Object.keys(W);ec(!0);let s={};e?.forEach(e=>{s=Object.assign(s,(0,g.getSimpleStasInfoArrayPlaceholders)(e))});let a=await (0,P.getTranslation)(T?.admin_lang||t,s).catch(()=>null);a&&ef({[t]:a}),ec(!1)}async function e_({season:e,league:t}){er(!0),ea(await (0,w.getLeagueStandings)({clubPrefix:N,leagueId:t,seasonId:e}).catch(()=>[k]).finally(()=>er(!1)))}async function eb({league:e}){ed(!0);let[t,s]=await Promise.all([(0,C.getLeagueSeasonsWithStandings)({clubPrefix:N,leagueId:e,groupId:G?.id}).catch(()=>[]),(0,S.getLeague)(e,{clubPrefix:N})]);el(t),Z(s),ed(!1);let a=t.find(e=>e.id===J),i=t.find(e=>e.current);i||a?X(i?i?.id:a?.id):t.length?X(t[0]?.id):(X(0),ea([{header:{},rows:[],footer:[]}]))}function ey(e){let s=(0,p.generateTagLabel)(e,null,U,H,{showTeamAdditionalInfo:T?.show_team_additional_info});return(0,t.jsxs)(_.default,{display:"flex",alignItems:"center",children:[(0,t.jsx)(_.default,{mr:1,children:(0,t.jsx)(d.Img,{mods:"w24",src:e?.pic??n.DEFAULT_TEAM_LOGO,failoverImage:n.DEFAULT_TEAM_LOGO})}),s]})}}var N=e.i(647686);let L=e=>{let{data:{standingsStats:s,league:a,categories:l},section:u}=e,{club:g}=(0,y.useClub)(),{translations:{messages:h}}=(0,i.useTranslations)(),x=(0,r.useMemo)(()=>
68s?.filter(e=>e.phase?.type==="stage"),[s]),[j,v]=(0,r.useState)(x[0]?.phase?.id),S=(0,M.useIntl)();return(0,r.useEffect)(()=>{u.content.stage?.id&&x.some(e=>e.phase?.id===u.content.stage.id)&&v(u.content.stage.id)},[]),(0,t.jsxs)(_.default,{children:[(0,t.jsx)(_.default,{pb:4,children:(0,t.jsxs)(_.default,{display:"flex",alignItems:"center",children:[(0,t.jsx)(d.Img,{mods:"w64",src:a.picture??n.DEFAULT_TEAM_LOGO,failoverImage:n.DEFAULT_TEAM_LOGO}),(0,t.jsx)(_.default,{p:2,children:(0,t.jsx)(m.Headline2,{children:a.name})})]})}),x.length&&"all"===u.content.stageDisplay&&(0,t.jsx)(_.default,{pb:5,children:(0,t.jsx)(b.default,{size:{xs:12,sm:5,md:5},children:(0,t.jsx)(o.default,{id:"stage",value:j,name:"stage",label:S.formatMessage(f.sectionMessages["section.label.stage"]),options:x?.map(e=>({label:e.phase.name,value:e.phase.id})),onChange:e=>{v(Number(e.target.value))}})})}),(0,t.jsx)(c.default,{hideStageName:!0,entityKey:"group",stats:x.find(e=>e.phase.id===j)||{rows:[],header:{},phase:{}},getEntityNameNode:function(e){let s=(0,p.generateTagLabel)(e,null,l,h,{showTeamAdditionalInfo:g?.show_team_additional_info});return(0,t.jsxs)(_.default,{display:"flex",alignItems:"center",children:[(0,t.jsx)(_.default,{mr:1,children:(0,t.jsx)(d.Img,{mods:"w24",src:e?.pic??n.DEFAULT_TEAM_LOGO,failoverImage:n.DEFAULT_TEAM_LOGO})}),s]})},entityNameHeaderNode:(0,t.jsx)("span",{children:S.formatMessage(f.sectionMessages["table.header.club"])}),getFieldKey:(e,t,s)=>{var i;return(i=a.id,{getStatKey:e=>`${t}-${i}-${s}-${e}`}).getStatKey(e)}})]})};e.s(["default",0,function(e){let{data:n,section:l}=e,{placeholders:o}=n,{extendTranslations:d}=(0,i.useTranslations)();return((0,r.useEffect)(()=>{(0,a.isEmpty)(o)||d(o)},[o]),l.layout===s.SectionLayoutType.DEFAULT)?(0,t.jsx)(T,{...e}):l.layout===s.SectionLayoutType.LEAGUE?(0,t.jsx)(L,{...e}):(0,t.jsx)(N.default,{...e})}],777654)},51301,e=>{e.v(t=>Promise.all(["static/chunks/1fh6pymdpbk1x.js"].map(t=>e.l(t))).then(()=>t(973994)))},576310,e=>{"use strict";var t=e.i(843476),s=e.i(864354),a=e.i(819646),i=e.i(937910),r=e.i(728618),n=e.i(815975);e.s(["default",0,function(e){let{image:l,imageAlignment:o,...d}=e,u=["left","right"].includes(o)?6:12,c=(0,t.jsx)(i.default,{sx:{xs:{paddingBottom:"8px"}},children:(0,t.jsx)(s.default,{mime:d.mime,className:n.default.image,src:l,alt:d.title})});return(0,t.jsx)(a.default,{children:(0,t.jsxs)(i.default,{spacing:4,container:!0,children:["left"===o&&(0,t.jsx)(a.default,{alignItems:"center",justifyContent:"center",sx:{width:"calc(50% - 16px)",display:{xs:"none",md:"flex"}},children:c}),(0,t.jsx)(a.default,{alignItems:"center",justifyContent:"center",sx:{width:"100%",display:{xs:"flex",md:"none"}},children:c}),(0,t.jsx)(i.default,{size:{xs:12,md:u,lg:u,xl:u},children:(0,t.jsx)(r.default,{...d})}),"right"===o&&(0,t.jsx)(a.default,{alignItems:"center",justifyContent:"center",sx:{width:"calc(50% - 16px)",display:{xs:"none",md:"flex"}},children:c})]})})}])},815975,e=>{e.v({adRoot:"Text-module-scss-module__0t3I8W__adRoot",image:"Text-module-scss-module__0t3I8W__image",imageBox:"Text-module-scss-module__0t3I8W__imageBox",table:"Text-module-scss-module__0t3I8W__table",tableWrapper:"Text-module-scss-module__0t3I8W__tableWrapper",textSection:"Text-module-scss-module__0t3I8W__textSection"})},728618,e=>{"use strict";var t=e.i(843476),s=e.i(262821),a=e.i(175386),i=e.i(356437),r=e.i(782547),n=e.i(46067),l=e.i(819646),o=e.i(937910),d=e.i(413518),u=e.i(259087),c=e.i(701973),m=e.i(888244),p=e.i(243874),g=e.i(815975);e.s(["default",0,function(e){let{title:h,paragraph:f,buttonText:x,alignment:_,button:b,buttonLink:y,isClubExternalLink:j,openInNewWindow:v,onClickBtn:M}=e,{club:S}=(0,d.useClub)(),C=y??null;return y&&j&&(C=`${(0,n.getClubUrl)(S)}${y}`),(0,t.jsx)(l.default,{height:"100%",display:"flex",alignItems:"center",justifyContent:(0,m.justifyContentMapper)(_),className:g.default.textSection,children:(0,t.jsxs)(o.default,{container:!0,display:"flex",flexDirection:"column",spacing:"16px",alignItems:(0,m.justifyContentMapper)(_),textAlign:(0,m.justifyContentMapper)(_),justifyContent:(0,m.justifyContentMapper)(_),children:[h&&(0,t.jsx)(o.default,{display:"block",size:12,textAlign:_,children:(0,t.jsx)(r.Headline2,{children:h})}),f&&(0,t.jsx)(o.default,{size:12,className:p.default.preLine,textAlign:_,children:(0,t.jsx)(r.DivParagraph1Styled,{children:(0,u.default)(function(){let e=f.startsWith("<p>")||f.startsWith("<table")||f.includes("<p>")?f:`<p>${f}</p>`;if(c.isServer)return e;let t=document.createElement("div");
68return t.innerHTML=e,t.querySelectorAll("table").forEach(e=>{e.className=g.default.table;let t=document.createElement("div");t.className=g.default.tableWrapper,e.parentNode.insertBefore(t,e),t.appendChild(e)}),t.innerHTML}())})}),b&&(0,t.jsx)(o.default,{size:12,container:!0,display:"flex",alignItems:(0,m.justifyContentMapper)(_),justifyContent:(0,m.justifyContentMapper)(_),children:M?(0,t.jsx)(i.default,{className:a.default.wordBreak,onClick:M,href:C,children:x}):(0,t.jsx)(s.default,{href:C,openInNewWindow:v,children:x})})]})})}])},402533,e=>{"use strict";var t=e.i(843476),s=e.i(778875),a=e.i(782547),i=e.i(644729),r=e.i(339668),n=e.i(659712),l=e.i(819646),o=e.i(413518),d=e.i(364384),u=e.i(271645),c=e.i(11),m=e.i(104532);e.s(["default",0,function(e){let{video:p,videos:g,club:h}=e.data,f=(0,c.useIntl)(),{club:x,prefix:_}=(0,o.useClub)(),b=h||x,{simpleDateFormatter:y}=(0,d.useTranslations)();return(0,u.useEffect)(()=>{(0,m.incrementVideoView)({clubPrefix:_,id:p.id})},[]),(0,t.jsxs)(l.default,{children:[p&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(l.default,{pb:4,children:(0,t.jsx)(a.Headline2,{children:p.title})}),(0,t.jsx)(l.default,{pb:3,children:(0,t.jsx)(a.Paragraph1,{children:y(p.date,"DD MMMM YYYY")})}),h&&h.id!==x.id&&(0,t.jsxs)(l.default,{display:"flex",alignItems:"center",pb:4,children:[(0,t.jsx)(s.default,{externalClub:b,size:24}),(0,t.jsxs)(a.Paragraph1,{children:[f.formatMessage(n.sectionMessages["section.video.created_by"])," ",b.name]})]}),(0,t.jsx)(l.default,{pb:4,children:(0,t.jsx)(a.Paragraph1,{children:p.description})}),(0,t.jsx)(r.default,{video:{...p,title:""}})]}),(0,t.jsx)(i.default,{title:f.formatMessage(n.sectionMessages["section.videos.recent_videos"]),videos:g})]})}])},465357,e=>{e.v(t=>Promise.all(["static/chunks/1m917tr1qtt_r.js"].map(t=>e.l(t))).then(()=>t(820221)))},524620,e=>{"use strict";var t=e.i(843476),s=e.i(782547),a=e.i(659712),i=e.i(819646),r=e.i(413518),n=e.i(770703),l=e.i(271645),o=e.i(11),d=e.i(104532),u=e.i(141888),c=e.i(697102),m=e.i(691102),p=e.i(867129),g=e.i(230169),h=e.i(903419),f=e.i(937910),x=e.i(364384),_=e.i(314632);let b="https://dk9pqlttm1g0o.cloudfront.net/2026-06-29-a/images";function y(e){let{videos:r,title:n,isPage:l}=e,d=r[0],u=r.slice(1),y=(0,o.useIntl)(),j=(0,_.useSystemPagePath)(m.WebsitePageType.VIDEO),{simpleDateFormatter:v}=(0,x.useTranslations)();return(0,t.jsxs)(i.default,{children:[(0,t.jsx)(i.default,{pb:4,children:l?(0,t.jsx)(s.Headline3,{children:n}):(0,t.jsx)(s.Headline2,{children:n})}),0===r.length&&(0,t.jsx)(p.default,{mods:"media-placeholder",title:y.formatMessage(a.sectionMessages["videos.no_videos"]),fullScreenSize:3,smallScreenSize:1}),r.length>0&&(0,t.jsxs)(f.default,{container:!0,spacing:"8px",children:[(0,t.jsx)(f.default,{size:{xs:12,md:12,lg:6},children:(0,t.jsx)(g.default,{link:`${j}/videos/${d.id}`,media:d.image,title:d.title,icon:(0,t.jsx)("img",{src:`${b}/websites/Play button.svg`,alt:d.title}),mods:"icon-center",mediaMods:"featured",target:"_top",description:`${y.formatMessage(a.sectionMessages["videos.label"])} • ${v(d.date)}`},`card-${d.title}`)}),(0,t.jsx)(f.default,{container:!0,display:"flex",direction:"column",size:{md:12,lg:6},spacing:"8px",children:u.map(e=>(0,t.jsx)(i.default,{py:2,px:2,children:(0,t.jsx)(h.default,{media:e.image,title:e.title,icon:(0,t.jsx)("img",{src:`${b}/websites/Play button.svg`,alt:e.title}),link:`${j}/${c.SINGLE_VIDEO_KEY}/${e.id}`,description:`${y.formatMessage(a.sectionMessages["videos.label"])} • ${v(e.date)}`})},e.id))})]})]})}var j=e.i(644729);let v=(0,n.default)(()=>e.A(877013),{loadableGenerated:{modules:[444472]},ssr:!1});e.s(["default",0,function(e){let n=(0,o.useIntl)(),{section:m}=e,[p,g]=(0,l.useState)(2),[h,f]=(0,l.useState)(e.data.videos),[x,_]=(0,l.useState)(h.length>=c.VIDEO_PAGE_LIMIT),{prefix:b,club:M,modes:S}=(0,r.useClub)(),C=h.slice(c.LATEST_VIDEOS_LIMIT)||[];return(0,t.jsxs)(i.default,{children:[(0,t.jsxs)(i.default,{pb:4,className:u.default.videoHeader,children:[(0,t.jsx)(s.Headline2,{className:u.default.videoHeadline,children:n.formatMessage(a.sectionMessages["videos.label"])}),(0,t.jsx)(v,{classes:u.default.adRoot,blockId:M.id,adType:"videos"})]}),(0,t.jsx)(i.default,{pb:7,children:(0,t.jsx)(y,{isPage:!0,title:n.formatMessage(
68a.sectionMessages["section.label.most_recent"]),videos:h.slice(0,c.LATEST_VIDEOS_LIMIT)})}),C.length>0&&(0,t.jsx)(j.default,{hasLazyLoading:!0,onFetchNext:w,hasMore:x,isPage:!0,title:n.formatMessage(a.sectionMessages["section.videos.all_videos"]),videos:C})]});async function w(){let e=m?.content?.teams||[],t=await (0,d.getVideos)({clubPrefix:b,params:{_groups:e.map(e=>e.id),_limit:c.VIDEO_PAGE_LIMIT,_offset:c.VIDEO_PAGE_LIMIT*p}}).catch(()=>[]);g(e=>e+1),f(e=>e.concat(t)),0===t.length&&_(!1)}}],524620)},697102,e=>{"use strict";e.s(["LATEST_VIDEOS_LIMIT",0,5,"SINGLE_VIDEO_KEY",0,"videos","VIDEO_PAGE_LIMIT",0,6,"VIDEO_SECTION_LIMIT",0,3])},384851,e=>{e.v(t=>Promise.all(["static/chunks/03vv5ia0h2uu2.js"].map(t=>e.l(t))).then(()=>t(163414)))},456589,e=>{"use strict";let t=(0,e.i(301005).defineMessages)({back:{id:"back",defaultMessage:"#Back"},"shop.cart.line_image_alt":{id:"shop.cart.line_image_alt",defaultMessage:"#{productName} — thumbnail"}});e.s(["shopSharedMessages",0,t])},567160,e=>{"use strict";var t=e.i(856931),s=e.i(229160);let a={[t.SectionType.SPONSORS]:()=>e.A(801699).then(e=>e.getData),[t.SectionType.NEWS]:()=>e.A(766860).then(e=>e.getData),[t.SectionType.GALLERIES]:()=>e.A(561462).then(e=>e.getData),[t.SectionType.VIDEOS]:()=>e.A(384851).then(e=>e.getData),[t.SectionType.VIDEO]:()=>e.A(465357).then(e=>e.getData),[t.SectionType.CALENDAR]:()=>e.A(710960).then(e=>e.getData),[t.SectionType.STATISTICS]:()=>e.A(81546).then(e=>e.getData),[t.SectionType.STANDINGS]:()=>e.A(51301).then(e=>e.getData),[t.SectionType.FORMS]:()=>e.A(981568).then(e=>e.getData),[t.SectionType.RESULTS]:()=>e.A(911590).then(e=>e.getData),[t.SectionType.ROSTER]:()=>e.A(306117).then(e=>e.getData),[t.SectionType.PLAYER]:()=>e.A(505215).then(e=>e.getData),[t.SectionType.SHOP]:()=>e.A(579959).then(e=>e.getData),[t.SectionType.PRODUCTS]:()=>e.A(27104).then(e=>e.getData),[t.SectionType.PRODUCT]:()=>e.A(561122).then(e=>e.getProductServerSideProps),[t.SectionType.CART]:()=>e.A(319551).then(e=>e.getData),[t.SectionType.GALLERY]:()=>e.A(664767).then(e=>e.getData),[t.SectionType.TRAINING]:()=>e.A(466596).then(e=>e.getData),[t.SectionType.EVENT]:()=>e.A(466596).then(e=>e.getData),[t.SectionType.ISCOMPETITION]:()=>e.A(917189).then(e=>e.getData),[t.SectionType.GAME]:()=>e.A(585413).then(e=>e.getData),[t.SectionType.GAMES_OVERVIEW]:()=>e.A(99664).then(e=>e.getData),[t.SectionType.COMBINATION]:()=>e.A(852841).then(e=>e.getData),[t.SectionType.POSTS]:()=>e.A(108818).then(e=>e.getData),[t.SectionType.POST]:()=>e.A(108818).then(e=>e.getData),[t.SectionType.GROUP]:()=>e.A(492314).then(e=>e.getData),[t.SectionType.EXTRANET]:()=>e.A(667909).then(e=>e.getData),[t.SectionType.EDUCATION_COURSES_OVERVIEW]:()=>e.A(312757).then(e=>e.getData),[t.SectionType.EDUCATION_COURSE]:()=>e.A(473223).then(e=>e.getData),[t.SectionType.EDUCATION_LESSON]:()=>e.A(183191).then(e=>e.getData)};async function i({type:e,params:t}){let s=a[e];return s?s().then(e=>e(t)):Promise.resolve({})}async function r({sections:e,params:t}){let s=e.map(e=>({section:e,getData:i({type:e.system_section.type,params:{...t,section:e}})})),a=await Promise.all(s.map(e=>e.getData));return s.map((e,t)=>({id:e.section.id,section:e.section,data:a[t]}))}function n(e){return/^(https?:\/\/)?(www\.)?(youtube\.com\/(watch\?v=|embed\/)|youtu\.be\/)/.test(e)?"youtube":/^(https?:\/\/)?(www\.)?(vimeo\.com\/)/.test(e)?"vimeo":null}function l(e){let t=e.match(/(?:https?:\/\/)?(?:www\.)?(?:youtu\.be\/|watch\?v=)([^#&?]*)/i),s=t&&11===t[1].length?t[1]:null;if(s)return`https://img.youtube.com/vi/${s}/0.jpg`}e.s(["buildUrlFromParams",0,function(e,t,s,a){let i=s.reduce((e,s)=>(t[s]&&e.push(s,t[s].toString()),e),[e]).join("/");if(Object.keys(a??{}).length){let e=new URLSearchParams(a);i+=`?${e}`}return i},"detectVideoPlatform",0,n,"fetchSectionData",0,r,"formatMembersNumber",0,e=>{let t=500*Math.floor(e/500),s=e=>{if(e>=1e3){let t=e/1e3;return t%1==0?`${t.toFixed(0)}K`:`${t.toFixed(1)}K`}return e.toString()};return`${0===t?"0":s(t)}-${s(t+500)}`},"getImageBackgroundUrls",0,function(e,t){let s=e.split("."),a=s.pop(),i=`${s.join(".")}.webp`;return{webp:{url:`https://d28kyj1r8oju1l.cloudfront.net/${t}/files/image/${i}`,type:"image/webp"},default:{url:`https://d28kyj1r8oju1l.cloudfront.net/${t}/files/image/${e}`,type:`image/${a}`}}
68},"getMediaOfPost",0,function(e){var t;let s,a,i,r,o=e?.contents?.find(e=>"images"===e.layout),d=e?.contents?.find(e=>"video"===e.layout),u="",c="";return o&&"images"in o.content&&(u=o.content.images.find(e=>e.cover)?.url||o.content.images[0]?.url),d&&"url"in d.content&&"youtube"===n(d.content.url)&&(c=l(d.content.url)||(s=(t=d.content.url).match(/(?:https?:\/\/)?(?:www\.)?(?:youtube\.com\/shorts\/)([^#&?]*)/i),a=t.match(/(?:https?:\/\/)?(?:www\.)?(?:youtu\.be\/)([^#&?]*)/i),i=s&&11===s[1].length?s[1]:null,r=a&&11===a[1].length?a[1]:null,i?`https://i.ytimg.com/vi/${i}/maxres2.jpg`:r?`https://i.ytimg.com/vi/${r}/maxres2.jpg`:void 0)),u||c},"getPageSlugParams",0,function(e){"string"==typeof e&&(e=[e]);let t=e.slice(1);return(0,s.chunk)(t,2).reduce((e,[t,s])=>({...e,[t]:s}),{})},"getVimeoId",0,function(e){let t=e.match(/(?:https?:\/\/)?(?:player\.)?(vimeo\.com\/)([a-z0-9]*)/i);return t?t[2]:null},"getYoutubePreview",0,l,"isSystemOrPredefinedSection",0,function(e){return[t.ISectionOrigin.SYSTEM,t.ISectionOrigin.PREDEFINED].includes(e.origin)}])},92124,e=>{"use strict";var t=e.i(843476),s=e.i(766705),a=e.i(157801),i=e.i(6376),r=e.i(210557),n=e.i(413518),l=e.i(441632),o=e.i(854570);e.s(["default",0,function({section:e,children:d}){let{modes:u,website:c}=(0,n.useClub)(),m=(0,r.useTheme)(),{isAccessibleMode:p}=(0,l.useGlobalContext)(),g=u.find(t=>t.type===e.mode?.type)??o.mockModeColors,h=c?.color_palette==="DARK"?o.AccessibleModeColorsDark:o.AccessibleModeColors,f={...g,...e.mode?{...e.mode}:{}},x=m.components?.MuiButton,_=m.components?.MuiTabs,b=(0,i.createTheme)({...m,props:{...m.props,sectionMode:p?h:f},palette:{primary:{light:p?h.accent:f.accent,main:p?h.accent:f.accent,dark:p?h.accent:f.accent},secondary:{light:p?h.text_background:f.text_background,main:p?h.text_background:f.text_background,dark:p?h.text_background:f.text_background},text:{primary:p?h.text_background:f.text_background}},components:{MuiButton:{styleOverrides:{...(0,s.overridesMuiButton)(p?h:f),...x?.styleOverrides}},MuiTabs:{styleOverrides:{...(0,s.overridesMuiTab)(p?h:f),..._?.styleOverrides}},MuiPaper:{styleOverrides:{root:{backgroundColor:p?h.card:f.card,boxShadow:"none"}}},MuiOutlinedInput:{styleOverrides:{notchedOutline:{borderColor:p?h.text_background:f.text_background}}},MuiSelect:{styleOverrides:{icon:{color:p?h.text_background:f.text_background}}},MuiInputBase:{styleOverrides:{input:{color:p?h.text_background:f.text_background}}},MuiListItem:{styleOverrides:{root:{color:p?h.text_background:f.text_background}}},MuiFormLabel:{styleOverrides:{root:{color:p?h.text_background:f.text_background}}},MuiPaginationItem:{styleOverrides:{root:{color:p?h.text_background:f.text_background}}}}}),y={display:"contents",...(0,o.getThemeCssVariables)(p?h:f)};return(0,t.jsx)(a.ThemeProvider,{theme:b,children:(0,t.jsx)("div",{style:y,children:d})})}])},383216,e=>{"use strict";var t=e.i(457258),s=e.i(816973);e.s(["exportFederationClubs",0,function({clubPrefix:e,token:a,query:i,language:r}){return(0,s.request)({endpoint:"/websites/federations/clubs/export",method:"POST",clubPrefix:e,userToken:a,isPrivate:!0,query:{...i,language:r??t.DEFAULT_LANGUAGE}})},"getClub",0,function({clubPrefix:e,language:t}){let a="string"==typeof e?e:e?.api;return(0,s.getPublicData)({endpoint:"/clubs",clubPrefix:a,cacheTag:"club",revalidate:5,query:t?{language:t}:void 0})},"getClubAccess",0,function({clubPrefix:e}){let t="string"==typeof e?e:e?.api;return(0,s.getPublicData)({endpoint:"/clubs/access",clubPrefix:t})},"getClubService",0,function(e){return(0,s.getPublicData)({endpoint:`/clubs/${e}`})},"getCoordinatesByPostcode",0,function(e,t){return(0,s.getPublicData)({endpoint:`/websites/lat-lng/${e}`,clubPrefix:t})},"getFederationClub",0,function({clubId:e,clubPrefix:a,language:i}){return(0,s.getPublicData)({endpoint:`/websites/federations/clubs/${e}`,clubPrefix:a,query:{language:i??t.DEFAULT_LANGUAGE}})},"getFederationClubs",0,function({clubPrefix:e,query:a,language:i}){return(0,s.getPublicData)({endpoint:"/websites/federations/clubs",clubPrefix:e,query:{...a,language:i??t.DEFAULT_LANGUAGE}})},"requestVideoSignedUrl",0,function({clubPrefix:e,token:t,body:a}){return(0,s.postPrivateData)({endpoint:"/clubs/videos/request-signed-url",token:t,clubPrefix:e,body:JSON.stringify(a)})}])},79108,e=>{"use strict";var t=e.i(816973);function s(e){return e?{query:{_selected_user:e}}:{}}e.s(["getCategoriesOverview",0,function({clubPrefix:e,token:s=""}){return(0,t.request)({endpoint:"/education/websites/categories/overview",method:"GET",clubPrefix:e,userToken:s})},"getCourse",0,function({clubPrefix:e,token:a="",courseId:i,selectedUserId:r}){return(0,t.request)({endpoint:`/education/websites/courses/${i}`,method:"GET",clubPrefix:e,userToken:a,...s(r)})},"getEducationSeminar",0,function({clubPrefix:e,token:s="",seminarId:a}){return(0,t.request)({endpoint:`/education-seminars/${a}`,method:"GET",clubPrefix:e,userToken:s})},"getLesson",0,function({clubPrefix:e,token:a="",courseId:i,lessonId:r,selectedUserId:n}){return(0,t.request)({endpoint:`/education/websites/courses/${i}/lessons/${r}`,method:"GET",clubPrefix:e,userToken:a,...s(n)})},"getLessonUsers",0,function({clubPrefix:e,token:s="",courseId:a,lessonId:i}){return(0,t.request)({endpoint:`/education/websites/courses/${a}/lessons/${i}/users`,method:"GET",clubPrefix:e,userToken:s})},"submitLessonAnswers",0,function({clubPrefix:e,token:a="",courseId:i,lessonId:r,body:n,selectedUserId:l}){return(0,t.request)({endpoint:`/education/websites/courses/${i}/lessons/${r}/answers`,method:"POST",clubPrefix:e,userToken:a,body:n,...s(l)})}])},997221,e=>{"use strict";var t=e.i(343954),s=e.i(816973);async function a({clubPrefix:e,params:i}){return(0,s.request)({endpoint:`/galleries?${t.default.stringify(i)}`,method:"GET",clubPrefix:e})}async function i({clubPrefix:e,id:t,query:a}){let[n,l]=await Promise.all([r({clubPrefix:e,id:t,query:a}),(0,s.request)({endpoint:`/gallery/${t}`,method:"GET",clubPrefix:e})]);return{...l,pictures:n}}async function r({clubPrefix:e,id:t,query:a}){let{data:i}=await (0,s.request)({endpoint:`/gallery/${t}/pictures`,method:"GET",clubPrefix:e,query:a});return i.map(e=>e?.url)}e.s(["getGalleries",0,a,"getGallery",0,i,"getGalleryPictures",0,r])},895700,e=>{"use strict";var t=e.i(640554),s=e.i(816973);e.s(["getClubGroups",0,function({clubPrefix:e,query:a}){return(0,s.getPublicData)({endpoint:"/groups/simple",clubPrefix:e,query:a}).then(t.sortGroups)},"getClubTeams",0,function({clubPrefix:e,query:a}){return(0,s.getPublicData)({endpoint:"/teams/simple",clubPrefix:e,query:a}).then(t.sortGroups)},"getGroup",0,function(e,{clubPrefix:t}){return(0,s.getPublicData)({endpoint:`/groups/${e}`,clubPrefix:t})},"getPositions",0,(e,{clubPrefix:t})=>{let a=`/sport/${e}/positions`;return(0,s.getPublicData)({endpoint:a,clubPrefix:t})},"translateSportPositions",0,(e,t)=>({player:e.player.length>0?e.player.map(e=>({...e,translation:t[e.name]}
68)):null,staff:e.staff.length>0?e.staff.map(e=>({...e,translation:t[e.name]})):null})])},291619,e=>{"use strict";var t=e.i(329568),s=e.i(816973);async function a({clubPrefix:e,params:t}){return(0,s.request)({endpoint:"/news",method:"GET",clubPrefix:e,query:t})}async function i({clubPrefix:e,params:a}){let[r,n,l]=await Promise.all([(0,s.request)({endpoint:"/news",method:"GET",clubPrefix:e,query:a}).catch(()=>[]),(0,s.request)({endpoint:"/galleries",method:"GET",clubPrefix:e,query:{...a??{},_is_news:1}}).catch(()=>[]),(0,s.request)({endpoint:"/videos",method:"GET",clubPrefix:e,query:{...a??{},_is_news:1}}).catch(()=>[])]),o=[...r,...n.map(e=>({...e,type:"gallery"})),...l.map(e=>({...e,type:"video"}))];return o.sort(t.newsSorter),o}async function r(e,{clubPrefix:t}){return(0,s.request)({endpoint:`/news/${e}`,method:"GET",clubPrefix:t})}e.s(["getNews",0,a,"getPressArticle",0,function(e,{clubPrefix:t}){return(0,s.request)({endpoint:`/pressarticle/${e}`,method:"GET",clubPrefix:t})},"getSectionNews",0,i,"getSingleNews",0,r])},104941,e=>{"use strict";var t=e.i(816973);e.s(["createOrder",0,function({clubPrefix:e,orderData:s}){return(0,t.request)({endpoint:"/store/orders",method:"POST",clubPrefix:e,body:s,isPrivate:!1})},"formatOrderData",0,function(e,t){let s=t.map(e=>{let{product:t}=e,s={quantity:e.quantity,item:{id:t.id},answers:(e.answers??[]).filter(e=>e.id>0).map(e=>({id:e.id,value:e.value}))};return null==e.variantId||Number.isNaN(e.variantId)||(s.variant={id:e.variantId}),s});return{email:e.email,firstname:e.firstname,lastname:e.lastname,address:e.address,city:e.city,zip:e.zip,country:{id:e.country?.id||0,name:e.country?.name},company:e.company||null,address2:e.address2||null,billing_required:e.billing_required,billing_firstname:e.billing_required?e.billing_firstname:e.firstname,billing_lastname:e.billing_required?e.billing_lastname:e.lastname,billing_address:e.billing_required?e.billing_address:e.address,billing_city:e.b
68illing_required?e.billing_city:e.city,billing_zip:e.billing_required?e.billing_zip:e.zip,billing_country:e.billing_required?e.billing_country?{id:e.billing_country.id,name:e.billing_country.name}:null:{id:e.country?.id||0,name:e.country?.name},billing_address2:e.billing_required?e.billing_address2:e.address2,order_items:s}},"updateOrder",0,function({clubPrefix:e,orderRef:s,updateData:a}){let i="number"==typeof s?String(s):encodeURIComponent(s);return(0,t.request)({endpoint:`/store/orders/${i}`,method:"PATCH",clubPrefix:e,body:a,isPrivate:!1})},"withOrderHashInQuery",0,function(e,t){if(!t)return e;let s=e.includes("?")?"&":"?";return`${e}${s}hash=${encodeURIComponent(t)}`}])},428703,e=>{"use strict";var t=e.i(816973);async function s({clubPrefix:e,query:a}){var i=await (0,t.getPublicData)({endpoint:"/store/items",clubPrefix:e,query:a,revalidate:5});if(Array.isArray(i))return{items:i,next:null};if(i&&"object"==typeof i){let e=i.data;return{items:Array.isArray(e)?e:[],next:function(e){if(null==e||!1===e)return null;if("string"==typeof e){let t=e.trim();return""===t?null:t}return"number"==typeof e&&Number.isFinite(e)?String(e):null}(i.next??i.cursor??i._next)}}return{items:[],next:null}}async function a({clubPrefix:e,productId:s,token:i}){return(0,t.getPrivateData)({endpoint:`/store/items/${s}`,clubPrefix:e,token:i})}e.s(["getProduct",0,a,"getProducts",0,s])},521213,e=>{"use strict";var t=e.i(816973);async function s({seasonId:e,groupId:a,clubPrefix:i,query:r}){let n=5;return r&&(n=0),(0,t.getPublicData)({endpoint:`/groups/${a}/seasons/${e}/users/visitors/public`,clubPrefix:i,query:r,revalidate:n})}async function a({groupId:e,clubPrefix:s}){return(0,t.getPublicData)({endpoint:`/groups/${e}/users/visitors/public`,clubPrefix:s})}async function i({id:e,clubPrefix:s}){return(0,t.getPublicData)({endpoint:`/users/${e}/profile/public`,clubPrefix:s})}e.s(["getGroupRoster",0,s,"getNormalGroupMembers",0,a,"getRosterPicture",0,function({clubPrefix:e,groupId:s,seasonId:a}){return(0,t.getPublicData)({endpoint:`/groups/${s}/seasons/${a}/roster`,clubPrefix:e})},"getRosterPositions",0,function({id:e,clubPrefix:s}){return(0,t.getPublicData)({endpoint:`/users/${e}/teams/positions`,clubPrefix:s})},"getRosterProfile",0,i])},616166,e=>{"use strict";var t=e.i(343954),s=e.i(816973);e.s(["getSponsorCategories",0,function({clubPrefix:e}){return(0,s.getPublicData)({endpoint:"/sponsors/categories",clubPrefix:e,cacheTag:"sponsors-categories"})},"getSponsors",0,function({clubPrefix:e,params:a}){return(0,s.request)({endpoint:`/sponsors?${t.default.stringify(a)}`,method:"GET",clubPrefix:e})}])},87845,e=>{"use strict";var t=e.i(816973);async function s({temporaryToken:e,clubPrefix:t}){let a=await fetch("https://apiv3.clubee.com/me/mfa/verify",{method:"POST",headers:{"Content-Type":"application/json",...t?{"X-Website":t}:{},Authorization:`Bearer ${e}`}});if(!a.ok)throw Error(`${a.status}`)}e.s(["confirmMfaRequest",0,function({code:e,temporaryToken:s,clubPrefix:a}){return(0,t.request)({endpoint:"/user/mfa/confirm",method:"POST",body:{code:e},clubPrefix:a,userToken:s,isPrivate:!1,retryRefreshToken:!1})},"getUsersByGroup",0,function({sectionId:e,clubPrefix:s}){let a="string"==typeof s?s:s?.api;return(0,t.request)({endpoint:`/group/section/${e}/public`,clubPrefix:a,method:"GET",isPrivate:!1}).catch(()=>null)},"loginRequest",0,function({email:e,password:s,clubPrefix:a}){return(0,t.request)({endpoint:"/user/login",method:"POST",body:{email:e,password:s},clubPrefix:a,isPrivate:!1,retryRefreshToken:!1})},"registerRequest",0,function({firstname:e,lastname:s,email:a,password:i,language:r,clubId:n,clubPrefix:l}){return(0,t.request)({endpoint:"/register",method:"POST",query:{language:r},body:{firstname:e,lastname:s,email:a,password:i,language:r,club_id:n},clubPrefix:l,isPrivate:!1,retryRefreshToken:!1})},"resendMfaRequest",0,s,"resetPasswordRequest",0,function({email:e,clubPrefix:s}){return(0,t.request)({endpoint:"/user/lostPassword",method:"GET",query:{email:e},clubPrefix:s,isPrivate:!1,retryRefreshToken:!1})},"uploadUserDocument",0,function({clubPrefix:e,token:s,body:a}){return(0,t.postPrivateFormData)({endpoint:"/users/documents",body:a,clubPrefix:e,token:s})}])},852514,e=>{"use strict";e.s(["getGroupRosterSortingColumnName",0,e=>e&&"nosorting"!==e?"string"==typeof e&&e.startsWith("u.")?e:"string"==typeof e?`u.${e}`:"extra":"gus.jerseyNumber"])},888244,e=>{"use strict";e.s(["justifyContentMapper",0,e=>({left:"flex-start",right:"flex-end",center:"center"})[e]])}]);
69
70//# debugId=09c2648a-c2ec-d11f-07a6-5bb80a0b7c3e

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.