PageSourceSearch

https://fcderen.com/_next/static/chunks/19eljv_psyumn.js

js fcderen.com collected 2026-09-25 12:01:40 UTC 359,313 bytes, 98 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]="e13e9ee7-45b1-e9e2-b1db-b2b0f7c472c2")}catch(e){}}();
2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,442439,e=>{"use strict";var t=e.i(755742),a=e.i(843476);let s=(0,t.default)((0,a.jsx)("path",{d:"M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20z"}),"ArrowBack");e.s(["default",0,s])},467116,e=>{"use strict";var t=e.i(755742),a=e.i(843476);let s=(0,t.default)((0,a.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,s])},914245,e=>{"use strict";var t=e.i(755742),a=e.i(843476);let s=(0,t.default)((0,a.jsx)("path",{d:"m12 4-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8z"}),"ArrowForward");e.s(["default",0,s])},509436,e=>{"use strict";var t=e.i(755742),a=e.i(843476);let s=(0,t.default)((0,a.jsx)("path",{d:"M6.23 20.23 8 22l10-10L8 2 6.23 3.77 14.46 12z"}),"ArrowForwardIos");e.s(["default",0,s])},761189,763085,267786,e=>{"use strict";var t=e.i(755742),a=e.i(843476);let s=(0,t.default)((0,a.jsx)("path",{d:"M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2m-9 14-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8z"}),"CheckBox");e.s(["default",0,s],761189);let i=(0,t.default)((0,a.jsx)("path",{d:"M19 5v14H5V5zm0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2"}),"CheckBoxOutlineBlank");e.s(["default",0,i],763085);var r=e.i(790498);e.s(["Autocomplete",()=>r.default],267786)},62204,e=>{"use strict";var t=e.i(271645),a=e.i(207670),s=e.i(519130),i=e.i(940799),r=e.i(75149),l=e.i(594425),n=e.i(540672),o=e.i(319727);function d(e){return(0,o.default)("MuiCardActionArea",e)}let u=(0,n.default)("MuiCardActionArea",["root","focusVisible","focusHighlight"]);var c=e.i(154033),m=e.i(348106),p=e.i(843476);let f=(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}}))),g=(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})}))),h=t.forwardRef(function(e,t){let i=(0,l.useDefaultProps)({props:e,name:"MuiCardActionArea"}),{children:r,className:n,focusVisibleClassName:o,slots:u={},slotProps:c={},...h}=i,x=(e=>{let{classes:t}=e;return(0,s.default)({root:["root"],focusHighlight:["focusHighlight"]},d,t)})(i),b={slots:u,slotProps:c},[y,_]=(0,m.default)("root",{elementType:f,externalForwardedProps:{...b,...h},shouldForwardComponentProp:!0,ownerState:i,ref:t,className:(0,a.default)(x.root,n),additionalProps:{focusVisibleClassName:(0,a.default)(o,x.focusVisible)}}),[j,v]=(0,m.default)("focusHighlight",{elementType:g,externalForwardedProps:b,ownerState:i,className:x.focusHighlight});return(0,p.jsxs)(y,{..._,children:[r,(0,p.jsx)(j,{...v})]})});e.s(["default",0,h],62204)},939855,e=>{"use strict";var t=e.i(271645),a=e.i(207670),s=e.i(519130),i=e.i(94763),r=e.i(454624),l=e.i(843476);let n=(0,r.default)((0,l.jsx)("path",{d:"M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"}),"CheckBoxOutlineBlank"),o=(0,r.default)((0,l.jsx)("path",{d:"M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"}),"CheckBox"),d=(0,r.default)((0,l.jsx)("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z"}),"IndeterminateCheckBox");var u=e.i(942196),c=e.i(152039),m=e.i(540672),p=e.i(319727);function f(e){return(0,p.default)("MuiCheckbox",e)}let g=(0,m.default)("MuiCheckbox",["root","checked","disabled","indeterminate","colorPrimary","colorSecondary","sizeSmall","sizeMedium"]);var h=e.i(940799),x=e.i(75149),b=e.i(535057),y=e.i(594425),_=e.i(484476),j=e.i(348106);let v=(0,h.styled)(i.default,{shouldForwardProp:e=>(0,c.default)(e)||"classes"===e,name:"MuiCheckbox",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:a}=e;return[t.root,a.indeterminate&&t.indeterminate,t[`size${(0,u.default)(a.size)}`],"default"!==a.color&&t[`color${(0,u.default)(a.color)}`]]}})((0,x.default)(({theme:e})=>({color:(e.vars||e).palette.text.secondary,variants:[{props:{color:"default",disableRipple:!1},style:{"&:hover":{backgroundColor:e.alpha((e.vars||e).palette.action.active,(e.vars||e).palette.action.hoverOpacity)}}},...Object.entries(e.palette).filter((0,b.default)()).map(([t])=>({props:{color:t,disableRipple:!1},style:{"&:hover":{backgroundColor:e.alpha((e.vars||e).palette[t].main,(e.vars||e).palette.action.hoverOpacity)}}})),...Object.entries(e.palette).filter((0,b.default)()).map(([t])=>({props:{color:t},style:{[`&.${g.checked}, &.${g.indeterminate}`]:{color:(e.vars||e).palette[t].main},[`&.${g.disabled}`]:{color:(e.vars||e).palette.action.disabled}}})),{props:{disableRipple:!1},style:{"&:hover":{"@media (hover: none)":{backgroundColor:"transparent"}}}}]}))),M=(0,l.jsx)(o,{}),S=(0,l.jsx)(n,{}),C=(0,l.jsx)(d,{}),k=t.forwardRef(function(e,i){let r=(0,y.useDefaultProps)({props:e,name:"MuiCheckbox"}),{checkedIcon:n=M,color:o="primary",icon:d=S,indeterminate:c=!1,indeterminateIcon:m=C,inputProps:p,size:g="medium",disableRipple:h=!1,className:x,slots:b={},slotProps:k={},...P}=r,w=c?m:d,I=c?m:n,E={...r,disableRipple:h,color:o,indeterminate:c,size:g},T=(e=>{let{classes:t,indeterminate:a,color:i,size:r}=e,l={root:["root",a&&"indeterminate",`color${(0,u.default)(i)}`,`size${(0,u.default)(r)}`]},n=(0,s.default)(l,f,t);return{...t,...n}})(E),N=k.input??p,[R,L]=(0,j.default)("root",{ref:i,elementType:v,className:(0,a.default)(T.root,x),shouldForwardComponentProp:!0,externalForwardedProps:{slots:b,slotProps:k,...P},ownerState:E,additionalProps:{type:"checkbox",icon:t.cloneElement(w,{fontSize:w.props.fontSize??g}),checkedIcon:t.cloneElement(I,{fontSize:I.props.fontSize??g}),disableRipple:h,slots:b,slotProps:{input:(0,_.mergeSlotProps)("function"==typeof N?N(E):N,{"data-indeterminate":c,"aria-checked":c?"mixed":void 0})}}});return(0,l.jsx)(R,{...L,classes:T})});e.s(["default",0,k],939855)},182472,e=>{"use strict";var t=e.i(939855);e.s(["Checkbox",()=>t.default])},845679,e=>{"use strict";var t=e.i(271645),a=e.i(207670),s=e.i(519130),i=e.i(454624),r=e.i(843476);let l=(0,i.default)((0,r.jsx)("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"}),"Cancel");var n=e.i(719636),o=e.i(942196),d=e.i(154033),u=e.i(940799),c=e.i(75149),m=e.i(535057),p=e.i(594425),f=e.i(540672),g=e.i(319727);function h(e){return(0,g.default)("MuiChip",e)}let x=(0,f.default)("MuiChip",["root","sizeSmall","sizeMedium","colorDefault","colorError","colorInfo","colorPrimary","colorSecondary","colorSuccess","colorWarning","disabled","clickable","clickableColorPrimary","clickableColorSecondary","deletable","deletableColorPrimary","deletableColorSecondary","outlined","filled","outlinedPrimary","outlinedSecondary","filledPrimary","filledSecondary","avatar","avatarSmall","avatarMedium","avatarColorPrimary","avatarColorSecondary","icon","iconSmall","iconMedium","iconColorPrimary","iconColorSecondary","label","labelSmall","labelMedium","deleteIcon","deleteIconSmall","deleteIconMedium","deleteIconColorPrimary","deleteIconColorSecondary","deleteIconOutlinedColorPrimary","deleteIconOutlinedColorSecondary","deleteIconFilledColorPrimary","deleteIconFilledColorSecondary","focusVisible"]);var b=e.i(348106);let y=(0,u.styled)("div",{name:"MuiChip",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:a}
2=e,{color:s,iconColor:i,clickable:r,onDelete:l,size:n,variant:d}=a;return[{[`& .${x.avatar}`]:t.avatar},{[`& .${x.avatar}`]:t[`avatar${(0,o.default)(n)}`]},{[`& .${x.avatar}`]:t[`avatarColor${(0,o.default)(s)}`]},{[`& .${x.icon}`]:t.icon},{[`& .${x.icon}`]:t[`icon${(0,o.default)(n)}`]},{[`& .${x.icon}`]:t[`iconColor${(0,o.default)(i)}`]},{[`& .${x.deleteIcon}`]:t.deleteIcon},{[`& .${x.deleteIcon}`]:t[`deleteIcon${(0,o.default)(n)}`]},{[`& .${x.deleteIcon}`]:t[`deleteIconColor${(0,o.default)(s)}`]},{[`& .${x.deleteIcon}`]:t[`deleteIcon${(0,o.default)(d)}Color${(0,o.default)(s)}`]},t.root,t[`size${(0,o.default)(n)}`],t[`color${(0,o.default)(s)}`],r&&t.clickable,r&&"default"!==s&&t[`clickableColor${(0,o.default)(s)}`],l&&t.deletable,l&&"default"!==s&&t[`deletableColor${(0,o.default)(s)}`],t[d],t[`${d}${(0,o.default)(s)}`]]}})((0,c.default)(({theme:e})=>{let t="light"===e.palette.mode?e.palette.grey[700]:e.palette.grey[300];return{maxWidth:"100%",fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(13),display:"inline-flex",alignItems:"center",justifyContent:"center",height:32,lineHeight:1.5,color:(e.vars||e).palette.text.primary,backgroundColor:(e.vars||e).palette.action.selected,borderRadius:16,whiteSpace:"nowrap",transition:e.transitions.create(["background-color","box-shadow"]),cursor:"unset",outline:0,textDecoration:"none",border:0,padding:0,verticalAlign:"middle",boxSizing:"border-box",[`&.${x.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity,pointerEvents:"none"},[`& .${x.avatar}`]:{marginLeft:5,marginRight:-6,width:24,height:24,color:e.vars?e.vars.palette.Chip.defaultAvatarColor:t,fontSize:e.typography.pxToRem(12)},[`& .${x.avatarColorPrimary}`]:{color:(e.vars||e).palette.primary.contrastText,backgroundColor:(e.vars||e).palette.primary.dark},[`& .${x.avatarColorSecondary}`]:{color:(e.vars||e).palette.secondary.contrastText,backgroundColor:(e.vars||e).palette.secondary.dark},[`& .${x.avatarSmall}`]:{marginLeft:4,marginRight:-4,width:18,height:18,fontSize:e.typography.pxToRem(10)},[`& .${x.icon}`]:{marginLeft:5,marginRight:-6},[`& .${x.deleteIcon}`]:{WebkitTapHighlightColor:"transparent",color:e.alpha((e.vars||e).palette.text.primary,.26),fontSize:22,cursor:"pointer",margin:"0 5px 0 -6px","&:hover":{color:e.alpha((e.vars||e).palette.text.primary,.4)}},variants:[{props:{size:"small"},style:{height:24,[`& .${x.icon}`]:{fontSize:18,marginLeft:4,marginRight:-4},[`& .${x.deleteIcon}`]:{fontSize:16,marginRight:4,marginLeft:-4}}},...Object.entries(e.palette).filter((0,m.default)(["contrastText"])).map(([t])=>({props:{color:t},style:{backgroundColor:(e.vars||e).palette[t].main,color:(e.vars||e).palette[t].contrastText,[`& .${x.deleteIcon}`]:{color:e.alpha((e.vars||e).palette[t].contrastText,.7),"&:hover, &:active":{color:(e.vars||e).palette[t].contrastText}}}})),{props:e=>e.iconColor===e.color,style:{[`& .${x.icon}`]:{color:e.vars?e.vars.palette.Chip.defaultIconColor:t}}},{props:e=>e.iconColor===e.color&&"default"!==e.color,style:{[`& .${x.icon}`]:{color:"inherit"}}},{props:{onDelete:!0},style:{[`&.${x.focusVisible}`]:{backgroundColor:e.alpha((e.vars||e).palette.action.selected,`${(e.vars||e).palette.action.selectedOpacity} + ${(e.vars||e).palette.action.focusOpacity}`)}}},...Object.entries(e.palette).filter((0,m.default)(["dark"])).map(([t])=>({props:{color:t,onDelete:!0},style:{[`&.${x.focusVisible}`]:{background:(e.vars||e).palette[t].dark}}})),{props:{clickable:!0},style:{userSelect:"none",WebkitTapHighlightColor:"transparent",cursor:"pointer","&:hover":{backgroundColor:e.alpha((e.vars||e).palette.action.selected,`${(e.vars||e).palette.action.selectedOpacity} + ${(e.vars||e).palette.action.hoverOpacity}`)},[`&.${x.focusVisible}`]:{backgroundColor:e.alpha((e.vars||e).palette.action.selected,`${(e.vars||e).palette.action.selectedOpacity} + ${(e.vars||e).palette.action.focusOpacity}`)},"&:active":{boxShadow:(e.vars||e).shadows[1]}}},...Object.entries(e.palette).filter((0,m.default)(["dark"])).map(([t])=>({props:{color:t,clickable:!0},style:{[`&:hover, &.${x.focusVisible}`]:{backgroundColor:(e.vars||e).palette[t].dark}}})),{props:{variant:"outlined"},style:{backgroundColor:"transparent",border:e.vars?`1px solid ${e.vars.palette.Chip.defaultBorder}`:`1px solid ${"light"===e.palette.mode?e.palette.grey[400]:e.palette.grey[700]}`,[`&.${x.clickable}:hover`]:{backgroundColor:(e.vars||e).palette.action.hover},[`&.${x.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`& .${x.avatar}`]:{marginLeft:4},[`& .${x.avatarSmall}`]:{marginLeft:2},[`& .${x.icon}`]:{marginLeft:4},[`& .${x.iconSmall}`]:{marginLeft:2},[`& .${x.deleteIcon}`]:{marginRight:5},[`& .${x.deleteIconSmall}`]:{marginRight:3}}},...Object.entries(e.palette).filter((0,m.default)()).map(([t])=>({props:{variant:"outlined",color:t},style:{color:(e.vars||e).palette[t].main,border:`1px solid ${e.alpha((e.vars||e).palette[t].main,.7)}`,[`&.${x.clickable}:hover`]:{backgroundColor:e.alpha((e.vars||e).palette[t].main,(e.vars||e).palette.action.hoverOpacity)},[`&.${x.focusVisible}`]:{backgroundColor:e.alpha((e.vars||e).palette[t].main,(e.vars||e).palette.action.focusOpacity)},[`& .${x.deleteIcon}`]:{color:e.alpha((e.vars||e).palette[t].main,.7),"&:hover, &:active":{color:(e.vars||e).palette[t].main}}}}))]}})),_=(0,u.styled)("span",{name:"MuiChip",slot:"Label",overridesResolver:(e,t)=>{let{ownerState:a}=e,{size:s}=a;return[t.label,t[`label${(0,o.default)(s)}`]]}})({overflow:"hidden",textOverflow:"ellipsis",paddingLeft:12,paddingRight:12,whiteSpace:"nowrap",variants:[{props:{variant:"outlined"},style:{paddingLeft:11,paddingRight:11}},{props:{size:"small"},style:{paddingLeft:8,paddingRight:8}},{props:{size:"small",variant:"outlined"},style:{paddingLeft:7,paddingRight:7}}]});function j(e){return"Backspace"===e.key||"Delete"===e.key}let v=t.forwardRef(function(e,i){let u=(0,p.useDefaultProps)({props:e,name:"MuiChip"}),{avatar:c,className:m,clickable:f,color:g="default",component:x,deleteIcon:v,disabled:M=!1,icon:S,label:C,onClick:k,onDelete:P,onKeyDown:w,onKeyUp:I,size:E="medium",variant:T="filled",tabIndex:N,skipFocusWhenDisabled:R=!1,slots:L={},slotProps:A={},...$}=u,F=t.useRef(null),O=(0,n.default)(F,i),D=e=>{e.stopPropagation(),P(e)},z=!1!==f&&!!k||f,q=z||P?d.default:x||"div",B={...u,component:q,disabled:M,size:E,color:g,iconColor:t.isValidElement(S)&&S.props.color||g,onDelete:!!P,clickable:z,variant:T},G=(e=>{let{classes:t,disabled:a,size:i,color:r,iconColor:l,onDelete:n,clickable:d,variant:u}=e,c={root:["root",u,a&&"disabled",`size${(0,o.default)(i)}`,`color${(0,o.default)(r)}`,d&&"clickable",d&&`clickableColor${(0,o.default)(r)}`,n&&"deletable",n&&`deletableColor${(0,o.default)(r)}`,`${u}${(0,o.default)(r)}`],label:["label",`label${(0,o.default)(i)}`],avatar:["avatar",`avatar${(0,o.default)(i)}`,`avatarColor${(0,o.default)(r)}`],icon:["icon",`icon${(0,o.default)(i)}`,`iconColor${(0,o.default)(l)}`],deleteIcon:["deleteIcon",`deleteIcon${(0,o.default)(i)}`,`deleteIconColor${(0,o.default)(r)}`,`deleteIcon${(0,o.default)(u)}Color${(0,o.default)(r)}`]};return(0,s.default)(c,h,t)}
2)(B),W=q===d.default?{component:x||"div",focusVisibleClassName:G.focusVisible,...P&&{disableRipple:!0}}:{},U=null;P&&(U=v&&t.isValidElement(v)?t.cloneElement(v,{className:(0,a.default)(v.props.className,G.deleteIcon),onClick:D}):(0,r.jsx)(l,{className:G.deleteIcon,onClick:D}));let H=null;c&&t.isValidElement(c)&&(H=t.cloneElement(c,{className:(0,a.default)(G.avatar,c.props.className)}));let V=null;S&&t.isValidElement(S)&&(V=t.cloneElement(S,{className:(0,a.default)(G.icon,S.props.className)}));let Y={slots:L,slotProps:A},[K,Q]=(0,b.default)("root",{elementType:y,externalForwardedProps:{...Y,...$},ownerState:B,shouldForwardComponentProp:!0,ref:O,className:(0,a.default)(G.root,m),additionalProps:{disabled:!!z&&!!M||void 0,tabIndex:R&&M?-1:N,...W},getSlotProps:e=>({...e,onClick:t=>{e.onClick?.(t),k?.(t)},onKeyDown:t=>{e.onKeyDown?.(t),t.currentTarget===t.target&&j(t)&&t.preventDefault(),w&&w(t)},onKeyUp:t=>{e.onKeyUp?.(t),t.currentTarget===t.target&&P&&j(t)&&P(t),I&&I(t)}})}),[J,Z]=(0,b.default)("label",{elementType:_,externalForwardedProps:Y,ownerState:B,className:G.label});return(0,r.jsxs)(K,{as:q,...Q,children:[H||V,(0,r.jsx)(J,{...Z,children:C}),U]})});e.s(["default",0,v],845679)},212401,e=>{"use strict";var t=e.i(271645),a=e.i(207670),s=e.i(606586),i=e.i(552836),r=e.i(519130),l=e.i(940799),n=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),f=e.i(540672),g=e.i(319727);function h(e){return(0,g.default)("MuiCollapse",e)}(0,f.default)("MuiCollapse",["root","horizontal","vertical","entered","hidden","wrapper","wrapperInner"]);var x=e.i(843476);let b=(0,l.styled)("div",{name:"MuiCollapse",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:a}=e;return[t.root,t[a.orientation],"entered"===a.state&&t.entered,"exited"===a.state&&!a.in&&"0px"===a.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"}}]}))),y=(0,l.styled)("div",{name:"MuiCollapse",slot:"Wrapper"})({display:"flex",width:"100%",variants:[{props:{orientation:"horizontal"},style:{width:"auto",height:"100%"}}]}),_=(0,l.styled)("div",{name:"MuiCollapse",slot:"WrapperInner"})({width:"100%",variants:[{props:{orientation:"horizontal"},style:{width:"auto",height:"100%"}}]}),j=t.forwardRef(function(e,l){let o=(0,d.useDefaultProps)({props:e,name:"MuiCollapse"}),{addEndListener:f,children:g,className:j,collapsedSize:v="0px",component:M,easing:S,in:C,onEnter:k,onEntered:P,onEntering:w,onExit:I,onExited:E,onExiting:T,orientation:N="vertical",slots:R={},slotProps:L={},style:A,timeout:$=u.duration.standard,TransitionComponent:F=s.Transition,...O}=o,D={...o,orientation:N,collapsedSize:v},z=(e=>{let{orientation:t,classes:a}=e;return(0,r.default)({root:["root",t],entered:["entered"],hidden:["hidden"],wrapper:["wrapper",t],wrapperInner:["wrapperInner",t]},h,a)})(D),q=(0,n.useTheme)(),B=(0,i.default)(),G=t.useRef(null),W=t.useRef(),U="number"==typeof v?`${v}px`:v,H="horizontal"===N,V=H?"width":"height",Y=t.useRef(null),K=(0,m.default)(l,Y),Q=()=>G.current?G.current[H?"clientWidth":"clientHeight"]:0,J=(0,c.normalizedTransitionCallback)(Y,(e,t)=>{G.current&&H&&(G.current.style.position="absolute"),e.style[V]=U,k&&k(e,t)}),Z=(0,c.normalizedTransitionCallback)(Y,(e,t)=>{let a=Q();G.current&&H&&(G.current.style.position="");let{duration:s,easing:i}=(0,c.getTransitionProps)({style:A,timeout:$,easing:S},{mode:"enter"});if("auto"===$){let t=q.transitions.getAutoHeightDuration(a);e.style.transitionDuration=`${t}ms`,W.current=t}else e.style.transitionDuration="string"==typeof s?s:`${s}ms`;e.style[V]=`${a}px`,e.style.transitionTimingFunction=i,w&&w(e,t)}),X=(0,c.normalizedTransitionCallback)(Y,(e,t)=>{e.style[V]="auto",P&&P(e,t)}),ee=(0,c.normalizedTransitionCallback)(Y,e=>{e.style[V]=`${Q()}px`,I&&I(e)}
2),et=(0,c.normalizedTransitionCallback)(Y,E),ea=(0,c.normalizedTransitionCallback)(Y,e=>{let t=Q(),{duration:a,easing:s}=(0,c.getTransitionProps)({style:A,timeout:$,easing:S},{mode:"exit"});if("auto"===$){let a=q.transitions.getAutoHeightDuration(t);e.style.transitionDuration=`${a}ms`,W.current=a}else e.style.transitionDuration="string"==typeof a?a:`${a}ms`;e.style[V]=U,e.style.transitionTimingFunction=s,T&&T(e)}),es={slots:R,slotProps:L,component:M},[ei,er]=(0,p.default)("root",{ref:K,className:(0,a.default)(z.root,j),elementType:b,externalForwardedProps:es,ownerState:D,additionalProps:{style:{[H?"minWidth":"minHeight"]:U,...A}}}),[el,en]=(0,p.default)("wrapper",{ref:G,className:z.wrapper,elementType:y,externalForwardedProps:es,ownerState:D}),[eo,ed]=(0,p.default)("wrapperInner",{className:z.wrapperInner,elementType:_,externalForwardedProps:es,ownerState:D});return(0,x.jsx)(F,{in:C,onEnter:J,onEntered:X,onEntering:Z,onExit:ee,onExited:et,onExiting:ea,addEndListener:e=>{"auto"===$&&B.start(W.current||0,e),f&&f(Y.current,e)},nodeRef:Y,timeout:"auto"===$?null:$,...O,children:(e,{ownerState:t,...s})=>{let i={...D,state:e};return(0,x.jsx)(ei,{...er,className:(0,a.default)(er.className,{entered:z.entered,exited:!C&&"0px"===U&&z.hidden}[e]),ownerState:i,...s,children:(0,x.jsx)(el,{...en,ownerState:i,children:(0,x.jsx)(eo,{...ed,ownerState:i,children:g})})})}})});j&&(j.muiSupportAuto=!0),e.s(["default",0,j],212401)},313995,e=>{"use strict";var t=e.i(836773);e.s(["Divider",()=>t.default])},325376,322190,474131,e=>{"use strict";var t=e.i(853332);e.s(["FormControlLabel",()=>t.default],325376);var a=e.i(260429);e.s(["Radio",()=>a.default],322190);var s=e.i(814176);e.s(["RadioGroup",()=>s.default],474131)},289590,e=>{"use strict";var t=e.i(271645),a=e.i(207670),s=e.i(519130),i=e.i(884364),r=e.i(940799),l=e.i(75149),n=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`,f="string"!=typeof m?i.css`
28        animation: ${m} 2s ease-in-out 0.5s infinite;
29      `:null,g="string"!=typeof p?i.css`
30        &::after {
31          animation: ${p} 2s linear 0.5s infinite;
32        }
33      `:null,h=(0,r.styled)("span",{name:"MuiSkeleton",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:a}=e;return[t.root,t[a.variant],!1!==a.animation&&t[a.animation],a.hasChildren&&t.withChildren,a.hasChildren&&!a.width&&t.fitContent,a.hasChildren&&!a.height&&t.heightAuto]}})((0,l.default)(({theme:e})=>{let t=String(e.shape.borderRadius).match(/[\d.\-+]*\s*(.*)/)[1]||"px",a=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:`${a}${t}/${Math.round(a/.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:f||{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:g||{"&::after":{animation:`${p}
38 2s linear 0.5s infinite`}}}]}})),x=t.forwardRef(function(e,t){let i=(0,n.useDefaultProps)({props:e,name:"MuiSkeleton"}),{animation:r="pulse",className:l,component:o="span",height:d,style:m,variant:p="text",width:f,...g}=i,x={...i,animation:r,component:o,variant:p,hasChildren:!!g.children},b=(e=>{let{classes:t,variant:a,animation:i,hasChildren:r,width:l,height:n}=e;return(0,s.default)({root:["root",a,i,r&&"withChildren",r&&!l&&"fitContent",r&&!n&&"heightAuto"]},u,t)})(x);return(0,c.jsx)(h,{as:o,ref:t,className:(0,a.default)(b.root,l),ownerState:x,...g,style:{width:f,height:d,...m}})});e.s(["Skeleton",0,x],289590)},369437,e=>{"use strict";var t=e.i(936151);e.s(["TextField",()=>t.default])},961974,e=>{"use strict";var t=e.i(271645),a=e.i(107558),s=e.i(294231),s=s,i=e.i(486931);let r={...t}.useSyncExternalStore;function l(e={}){let{themeId:n}=e;return function(e,l={}){let o=(0,i.default)();o&&n&&(o=o[n]||o);let d="u">typeof window&&void 0!==window.matchMedia,{defaultMatches:u=!1,matchMedia:c=d?window.matchMedia:null,ssrMatchMedia:m=null,noSsr:p=!1}=(0,s.default)({name:"MuiUseMediaQuery",props:l,theme:o}),f="function"==typeof e?e(o):e;return(f=f.replace(/^@media( ?)/m,"")).includes("print")&&console.warn("MUI: You have provided a `print` query to the `useMediaQuery` hook.\nUsing the print media query to modify print styles can lead to unexpected results.\nConsider using the `displayPrint` field in the `sx` prop instead.\nMore information about `displayPrint` on our docs: https://mui.com/system/display/#display-in-print."),(void 0!==r?function(e,a,s,i,l){let n=t.useCallback(()=>a,[a]),o=t.useMemo(()=>{if(l&&s)return()=>s(e).matches;if(null!==i){let{matches:t}=i(e);return()=>t}return n},[n,e,i,l,s]),[d,u]=t.useMemo(()=>{if(null===s)return[n,()=>()=>{}];let t=s(e);return[()=>t.matches,e=>(t.addEventListener("change",e),()=>{t.removeEventListener("change",e)})]},[n,s,e]);return r(u,d,o)}:function(e,s,i,r,l){let[n,o]=t.useState(()=>l&&i?i(e).matches:r?r(e).matches:s);return(0,a.default)(()=>{if(!i)return;let t=i(e),a=()=>{o(t.matches)};return a(),t.addEventListener("change",a),()=>{t.removeEventListener("change",a)}},[e,i]),n})(f,u,c,m,p)}}l();let n=l({themeId:e.i(802001).default});e.s(["default",0,n],961974)},343794,(e,t,a)=>{!function(){"use strict";var a={}.hasOwnProperty;function s(){for(var e="",t=0;t<arguments.length;t++){var r=arguments[t];r&&(e=i(e,function(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return s.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var r in e)a.call(e,r)&&e[r]&&(t=i(t,r));return t}(r)))}return e}function i(e,t){return t?e?e+" "+t:e+t:e}if(t.exports)s.default=s,t.exports=s;else if("function"==typeof define&&"object"==typeof define.amd&&define.amd)void 0!==s&&e.v(s);else window.classNames=s}()},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),a=e.i(467116),s=e.i(618566),i=e.i(112458),r=e.i(946603);e.s(["default",0,function({onClick:e,href:l,children:n,...o}){let d=(0,s.useRouter)();return(0,t.jsx)(r.default,{onClick:l?null:e||d.back,startIcon:(0,t.jsx)(a.default,{}),href:l,...o,children:n||(0,t.jsx)(i.FormattedMessage,{id:"form.back",defaultMessage:"Back"})})}])},159463,e=>{"use strict";var t=e.i(843476),a=e.i(228488),s=e.i(11),i=e.i(782547),r=e.i(854e3);e.s(["default",0,function({streamLink:e,showLiveStream:l}){let n=(0,s.useIntl)();return(0,t.jsx)("button",{className:r.default.liveStreamButton,onClick:t=>{t.preventDefault(),window.open(e,"_blank")},children:l?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:r.default.liveStreamButtonCircle}),(0,t.jsx)(i.Paragraph1,{className:r.default.liveStreamButtonText,children:n.formatMessage(
38a.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:n.formatMessage(a.eventPageMessages["event.page.replay"])})]})})}])},946603,e=>{"use strict";var t=e.i(843476),a=e.i(782547),s=e.i(621706);e.s(["default",0,function({children:e,...i}){return(0,t.jsx)(s.default,{isText:!0,disableRipple:!0,...i,children:(0,t.jsx)(a.Paragraph1,{isMobile:!0,children:e})})}])},141636,e=>{"use strict";var t=e.i(843476),a=e.i(845679),s=e.i(210557),i=e.i(322013);let r=(0,i.default)(a.default)(({theme:e,active:t})=>({color:t?e?.props?.sectionMode?.text_accent:e?.props?.sectionMode.text_background,backgroundColor:t?e?.props?.sectionMode.accent:e.props.sectionMode.background,border:t?`1px solid ${e?.props?.sectionMode.accent}`:`1px solid ${e?.props?.sectionMode.text_background}`,transitionProperty:"background-color, box-shadow, border","&&:hover":{backgroundColor:e?.props?.sectionMode.accent,color:e?.props?.sectionMode?.text_accent},"&&:focus":{color:t?e?.props?.sectionMode?.text_accent:e?.props?.sectionMode.text_background,backgroundColor:t?e?.props?.sectionMode.accent:e.props.sectionMode.background}})),l=(0,i.default)("label")(({theme:e})=>e.typography.body2);e.s(["default",0,function(e){(0,s.useTheme)();let{active:a,label:i,...n}=e;return(0,t.jsx)(r,{active:a,variant:"outlined",...n,label:(0,t.jsx)(l,{children:i})})}])},864354,e=>{"use strict";var t=e.i(843476),a=e.i(329568),s=e.i(271645),i=e.i(304402);e.s(["default",0,function(e){let{src:r,mime:l}=e,n=(0,s.useMemo)(()=>{let e=r.split("/").pop(),t=e.split(".").pop(),s=(0,a.extractFilenameWithoutExtension)(e);return[{width:300,ext:t,mime:l,name:`${s}.${t}`},{width:787,ext:t,mime:l,name:`big_${s}.${t}`}].map(e=>({...e,src:[...r.split("/").slice(0,-1),e.name].join("/")}))},[r]);return(0,t.jsx)(i.default,{sources:n,...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"})},208989,e=>{e.v({radioGroup:"DeleteEventModal-module-scss-module__VnRJVa__radioGroup"})},686303,e=>{e.v(e=>Promise.resolve().then(()=>e(168799)))},896417,e=>{e.v({image:"FullScreenImageModal-module-scss-module__nfMeFq__image",imageContainer:"FullScreenImageModal-module-scss-module__nfMeFq__imageContainer"})},964884,142829,e=>{"use strict";var t=e.i(843476),a=e.i(782547),s=e.i(324121),i=e.i(819646),r=e.i(210557),l=e.i(773521),n=e.i(11);e.s(["OrderLineVariantMeta",0,function({item:e}){let o=(0,r.useTheme)(),d=(0,n.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,s.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),f=null==p||Number.isNaN(Number(p))?void 0:Number(p),g=!m&&(null!=u||null!=f);return m||g?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,s.normalizeHexColor)(c.colorHex)?{border:`1px solid ${o.props.sectionMode.text_background}40`}:{}}}):null,c.sizeLabel?(0,t.jsx)(a.Paragraph2,{sx:{color:o.props.sectionMode.text_background,margin:0,opacity:.7},children:c.sizeLabel}):null]}):(0,t.jsx)(a.Paragraph2,{sx:{mb:.5,color:o.props.sectionMode.text_background,opacity:.7},children:u||(null!=f?d.formatMessage(l.cartMessages["shop.cart.variant_id"],{id:f}):"")}):null}],142829),e.s([],964884)},528923,e=>{"use strict";var t=e.i(843476),a=e.i(112458);e.s(["PenaltyScore",0,function({scorePenalty1:e,scorePenalty2:s}){return(0,t.jsxs)("span",{children:["(",(0,t.jsx)(a.FormattedMessage,{id:"v3_gamesandstandings.a_p",defaultMessage:"a.P."})," ",`${e}:${s}`,")"]})}])},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),a=e.i(324121),s=e.i(819646),i=e.i(210557),r=e.i(722167);e.s(["ProductColorSwatches",0,function({hexValues:e,selectedHex:l,onSelect:n=()=>{},size:o="medium",interactive:d=!0,maxSwatchCount:u=100}){let c=(0,i.useTheme)(),m=(0,a.normalizeHexColor)(l||""),p=`${c.props.sectionMode.text_background}40`,f={"--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 g=e.slice(0,u),h=e.length>u?e.length-u:0,x="compact"===o;return(0,t.jsxs)(s.default,{className:x?r.default.containerCompact:r.default.containerMedium,style:f,...!d?{"aria-hidden":!0}:{},children:[g.map((e,i)=>{let l=d&&m===(0,a.normalizeHexColor)(e),o="#FFFFFF"===(0,a.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)(s.default,{component:"button",type:"button",onClick:()=>n(e),className:u,style:{...c,boxShadow:l?"var(--active-shadow)":"none"},"aria-pressed":l,"aria-label":e},`color-swatch-${e}-${i}`):(0,t.jsx)("span",{className:u,style:c},`color-swatch-${e}-${i}`)}),h>0&&(0,t.jsxs)("span",{className:x?r.default.moreColorsCompact:r.default.moreColors,"aria-hidden":!0,children:["+",h]})]})}],908448);var l=e.i(782547),n=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),f=e.i(301005),g=e.i(314632);e.s(["default",0,function(){let{club:e}=(0,u.useClub)(),{items:a,totalPrice:r}=(0,d.useCart)(),h=(0,i.useTheme)(),x=(0,g.useSystemPagePath)(n.WebsitePageType.CART),b=a.length;return(0,t.jsx)(c.default,{href:x,passHref:!0,style:{textDecoration:"none",color:"inherit"},children:(0,t.jsx)(s.default,{"aria-label":`Cart: ${b} ${1===b?"item":"items"}`,sx:{cursor:"pointer","&:focus-visible":{outline:h.props.sectionMode.focus_outline,outlineOffset:"2px"}},tabIndex:0,children:(0,t.jsxs)(s.default,{sx:{display:"flex",flexDirection:"column",alignItems:{xs:"flex-start",md:"flex-end"},mt:{xs:4,md:0}},children:[(0,t.jsxs)(s.default,{sx:{display:"flex",alignItems:"center",gap:"8px",mb:"4px"},children:[(0,t.jsx)(o,{sx:{fontSize:16,color:h.props.sectionMode.text_background}}),(0,t.jsx)(l.Paragraph2,{children:(0,t.jsx)(p.FormattedMessage,{...m.cartMessages["shop.cart.summary"]})})]}),(0,t.jsx)(l.Paragraph2,{sx:{fontWeight:700},children:1===b?(0,t.jsx)(p.FormattedMessage,{...m.cartMessages["shop.cart.item.total"],values:{total:(0,t.jsx)(f.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:b,total:(0,t.jsx)(f.FormattedNumber,{value:r,style:"currency",currencyDisplay:"narrowSymbol",currencySign:"standard",currency:e?.currency?.code||"EUR"})}})})]})})})}],70445)},322469,e=>{"use strict";var t=e.i(843476),a=e.i(819646),s=e.i(210557),i=e.i(322013);let r=(0,i.default)("hr")`
39  background-color: ${({theme:e})=>e.props.sectionMode.card};
40  opacity: 0.5;
41  mix-blend-mode: normal;
42  box-sizing: border-box;
43  margin: 0;
44  border: 0;
45  height: 1px;
46  width: 100%;
47  '&[data-size="large"]': {
48    height: 6px,
49  },
50  '&[data-size="medium"]': {
51    height: 4px,
52  },
53  '&[data-size="small"]': {
54    height: 2px,
55  },
56`;e.s(["Separator",0,function({size:e="small",...i}){return(0,s.useTheme)(),(0,t.jsx)(a.default,{...i,children:(0,t.jsx)(r,{"data-size":e})})}])},702454,e=>{e.v({iconSlug:"Slug-module-scss-module__FEuBcW__iconSlug",slug:"Slug-module-scss-module__FEuBcW__slug",slugSquare:"Slug-module-scss-module__FEuBcW__slugSquare"})},775572,e=>{"use strict";var t=e.i(843476),a=e.i(691102),s=e.i(210557),i=e.i(207670),r=e.i(413518),l=e.i(406935),n=e.i(702454);e.s(["Slug",0,function({text:e,icon:o,imgSrc:d}){let{website:u}=(0,r.useClub)(),c=(0,s.useTheme)();return(0,t.jsx)("div",{children:(0,t.jsxs)("div",{className:(0,i.default)(n.default.slug,u?.button_style===a.WebsiteButtonStyle.SQUARE_CORNERS&&n.default.slugSquare),children:[o||d?(0,t.jsx)("div",{className:n.default.iconSlug,children:d?(0,t.jsx)(l.default,{src:d,hexColor:c.props.sectionMode.text_accent}):o}):"",e||""]})})}])},642184,e=>{"use strict";var t=e.i(843476),a=e.i(210557),s=e.i(322013),i=e.i(406935);let r=(0,s.default)("div")(({theme:e,circle:t})=>({display:"flex",justifyContent:"center",alignItems:"center",borderRadius:t?"50%":"25px",backgroundColor:e.props.sectionMode.card,color:e.props.sectionMode.text_background,height:"48px",width:"48px",[e.breakpoints.down("sm")]:{height:"32px",width:"32px"},"& svg, & i":{color:e.props.sectionMode.text_background},'&[data-size="large"]':{"& img, & svg, & i":{height:"24px",width:"24px"},[e.breakpoints.down("sm")]:{"& img, & svg, & i":{height:"16px",width:"16px"}}},'&[data-size="medium"]':{height:"32px",width:"32px","& img, & svg, & i":{height:"16px",width:"16px"},[e.breakpoints.down("sm")]:{height:"24px",width:"24px","& img, & svg, & i":{height:"12px",width:"12px"}}},'&[data-size="small"]':{height:"24px",width:"24px","& img, & svg, & i":{height:"12px",width:"12px"}}}));e.s(["default",0,function({icon:e,imgSrc:s,size:l="large",circle:n}){let o=(0,a.useTheme)();return(0,t.jsx)(r,{circle:n,"data-size":l,children:s?(0,t.jsx)(i.default,{src:s,hexColor:o.props.sectionMode.text_background,alt:"Icon"}):e})}])},36230,e=>{e.v({tag:"TagManagementTag-module-scss-module__8B5BSW__tag",tagName:"TagManagementTag-module-scss-module__8B5BSW__tagName"})},425211,e=>{"use strict";
56var t=e.i(843476),a=e.i(166540),s=e.i(36230);e.s(["default",0,e=>{let{name:i,color:r,assignationDate:l}=e,n=!function(){let e,t,a;if("#"===r.charAt(0))e=parseInt(r.substring(1,3),16),t=parseInt(r.substring(3,5),16),a=parseInt(r.substring(5,7),16);else if(-1!==r.indexOf("rgb")){let s=r.indexOf("(")+1,i=r.indexOf(")"),l=r.substring(s,i).split(",");e=parseInt(l[0]),t=parseInt(l[1]),a=parseInt(l[2])}return(299*e+587*t+114*a)/1e3>125}()?"#ffffff":"#0b1f40";return(0,t.jsx)("div",{className:s.default.tag,style:{backgroundColor:r,color:n},children:(0,t.jsxs)("span",{className:s.default.tagName,style:{color:n},children:[i," ",l?`(${(0,a.default)(l).format("DD/MM/YY")})`:null]})})}])},618600,e=>{e.v({tags:"Tags-module-scss-module__mZDTSW__tags"})},850370,e=>{"use strict";var t=e.i(843476),a=e.i(425211),s=e.i(618600);e.s(["default",0,e=>{let{tags:i=[],assignedTags:r=[]}=e;return(0,t.jsx)("div",{className:s.default.tags,children:r.map((e,s)=>{let l=r.filter(t=>t.tag.id===e.tag.id).length,n=i.find(t=>t.id===e.tag.id);return n?(0,t.jsx)(a.default,{name:n.name,color:n.color,assignationDate:l>1?e.assignation_date:""},"tagmanagementtag__"+s+"__"+n.id):null})})}])},705729,e=>{"use strict";var t=e.i(127167),a=e.i(413518),s=e.i(618566),i=e.i(271645),r=e.i(55428);e.s(["useRequireAuth",0,()=>{let{token:e}=(0,t.useAuth)(),l=(0,s.usePathname)(),{prefix:n,club:o}=(0,a.useClub)();(0,i.useEffect)(()=>{if(!e){let e=o.domain_online&&o.domain?"":`/${n}`,t=(0,r.getOriginFromUrl)(n,l);(0,s.redirect)(`${e}/user/login?origin=${t}`)}},[e])}])},856931,e=>{"use strict";var t,a,s,i,r,l=((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),n=((a={}).UNAUTHORIZED="unauthorized",a.FORBIDDEN="forbidden",a),o=((s={}).DEFAULT="default",s.IMAGE="image",s.LATEST="latest",s.SINGLE="single",s.LIST="list",s.CAROUSEL="carousel",s.MULTIPLE="multiple",s.TEAM="team",s.LEAGUE="league",s.SPACE="space",s.SEPARATOR="separator",s.FLF="flf",s.FLF_LEAGUE_OVERVIEW="flf_league_overview",s.IMAGE_TITLE="image_title",s.MULTIPLE_IMAGES="image_multiple",s.MULTIPLE_IMAGES_WITH_TEXT="image_title_multiple",s.POSTS_SPOTLIGHT="spotlight",s.POSTS_THREE_LATES="three_lates",s.POSTS_IMAGE_PREVIEW="post_image_preview",s.POSTS_FULLWIDTH_PREVIEW="post_fullwidth_preview",s.POSTS_DYNAMIC_PREVIEW="post_dynamic_preview",s.FINDER="finder",s),d=((i={}).COLOR="color",i.IMAGE="image",i.VIDEO="video",i),u=((r={}).SYSTEM="system",r.PREDEFINED="predefined",r.CUSTOM="custom",r);e.s(["ISectionBackgroundType",()=>d,"ISectionOrigin",()=>u,"SectionLayoutType",()=>o,"SectionType",()=>l,"SystemSectionType",()=>n])},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])},558089,e=>{"use strict";e.s(["isMobile",0,function(){return window.innerWidth<=992},"isMobileMd",0,function(){return window.innerWidth<=768}])},33612,e=>{"use strict";var t=e.i(271645);e.s(["default",0,function(e,a){return e.reduce((e,s,i)=>[e,e&&(0,t.cloneElement)(a,{key:i}),s].filter(Boolean),null)}])},953160,e=>{e.v(t=>
56Promise.all(["static/chunks/0agyijuk-qyad.js"].map(t=>e.l(t))).then(()=>t(264085)))},4407,e=>{"use strict";var t=e.i(843476),a=e.i(621706),s=e.i(782547),i=e.i(46067),r=e.i(300317),l=e.i(776552),n=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)(n.Container,{maxWidth:"sm",children:(0,t.jsxs)(l.Box,{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",minHeight:"600",gap:4,children:[(0,t.jsx)(r.default,{size:48}),(0,t.jsx)(s.Headline1,{children:"403"}),(0,t.jsx)(s.Paragraph1,{sx:{textAlign:"center"},children:(0,t.jsx)(u.FormattedMessage,{...c.websitesErrorMessage["error.not_enough_rights.title.1"]})}),(0,t.jsx)(a.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"]})})]})})}])},367986,e=>{"use strict";var t=e.i(843476),a=e.i(710269),s=e.i(844722),i=e.i(869423),r=e.i(702141),l=e.i(306691),n=e.i(895075),o=e.i(896417);let d=({isOpen:e,onClose:a,imageUrl:s})=>(0,t.jsx)(n.default,{isOpen:e,closeFromCorner:!1,shouldCloseOnOverlayClick:!0,handleClose:a,children:(0,t.jsx)("div",{className:o.default.imageContainer,onClick:a,children:(0,t.jsx)("img",{className:o.default.image,src:s,alt:"image"})})});var u=e.i(850370),c=e.i(782547),m=e.i(385239),p=e.i(768167),f=e.i(505229),g=e.i(699056),h=e.i(174489),x=e.i(124545),b=e.i(329568),y=e.i(229160),_=e.i(324982),j=e.i(228488),v=e.i(493351),M=e.i(776552),S=e.i(866796),C=e.i(937910),k=e.i(210557),P=e.i(322013),w=e.i(127167),I=e.i(413518),E=e.i(364384),T=e.i(259087),N=e.i(166540),R=e.i(770703),L=e.i(657688),A=e.i(271645),$=e.i(11),F=e.i(720331),O=e.i(666967),D=e.i(493734),z=e.i(356437),q=e.i(46067),B=e.i(325376),G=e.i(322190),W=e.i(474131),U=e.i(819646),H=e.i(627741),V=e.i(112458),Y=e.i(908551),K=e.i(805042),Q=e.i(208989);let J=({isOpen:e,onClose:s,eventInfo:i})=>{let{prefix:r,club:l}=(0,I.useClub)(),{token:o}=(0,w.useAuth)(),[d,u]=(0,A.useState)("delete_one"),[m,p]=(0,A.useState)(!1),{showSnackbar:f}=(0,H.useSnackbar)();return(0,t.jsx)(n.default,{isOpen:e,closeFromCorner:!0,handleClose:s,actions:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(a.default,{onClick:s,disabled:m,children:(0,t.jsx)(V.FormattedMessage,{...K.attendanceMessages.cancel})}),(0,t.jsx)(z.default,{onClick:g,disabled:m,children:(0,t.jsx)(V.FormattedMessage,{...K.attendanceMessages.delete})})]}),children:i.recurrent?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(U.default,{textAlign:"center",pb:4,children:(0,t.jsx)(c.Paragraph1,{children:(0,t.jsx)(V.FormattedMessage,{...K.attendanceMessages.delete_recurrent_event_confirm})})}),(0,t.jsxs)(W.RadioGroup,{className:Q.default.radioGroup,"aria-label":"delete_by",value:d,onChange:e=>u(e.target.value),name:"delete_by",row:!0,children:[(0,t.jsx)(B.FormControlLabel,{value:"delete_one",control:(0,t.jsx)(G.Radio,{}),label:(0,t.jsx)(c.Paragraph1,{children:(0,t.jsx)(V.FormattedMessage,{...K.attendanceMessages.delete_one})})}),(0,t.jsx)(B.FormControlLabel,{value:"delete_all",control:(0,t.jsx)(G.Radio,{}),label:(0,t.jsx)(c.Paragraph1,{children:(0,t.jsx)(V.FormattedMessage,{...K.attendanceMessages.delete_all})})})]})]}):(0,t.jsx)(c.Paragraph1,{children:(0,t.jsx)(V.FormattedMessage,{...K.attendanceMessages.delete_event_confirm})})});async function g(){p(!0),await (0,Y.deleteEvent)({clubPrefix:r,eventId:i.id,deleteAll:"delete_all"===d,token:o}),p(!1);
56let e=(0,q.getClubUrl)(l);f({message:(0,t.jsx)(V.FormattedMessage,{...K.attendanceMessages.event_deleted_successfully}),variant:"success",onClose(){window.location.href=`${e}/website/calendar/`}}),s()}};var Z=e.i(575089),X=e.i(838286),ee=e.i(730640);let et=(0,P.default)(M.Box)({height:75,display:"inline-flex",alignItems:"center",justifyContent:"center",margin:"0 15px"});function ea(e){let{eventInfo:a,isUserAdmin:s,gameInfo:i,user:r}=e,[l,n]=A.default.useState(""),o=(0,b.checkEventInPast)(a),d=(0,$.useIntl)();if(!s||!(0,y.isEmpty)(i))return null;let u=a.type===Z.EVENT_TYPE_TRAINING?`/steps/edit/trainings/${a.id}?steps=edit_trainings`:a.type===Z.EVENT_TYPE_EVENT?`/steps/edit/event_select/${a.id}?steps=event_select,edit_forms,edit_payments,edit_attendance`:"",c=`/steps/edit/groups_of_interests/${a.id}?steps=edit_groups_of_interests,edit_roles,edit_assign_people,edit_invite_people`;if(!u)return null;let m=(0,F.canEditCalendar)(r?.roles)&&a.can_edit;return(0,t.jsxs)(et,{children:[(0,t.jsx)(J,{eventInfo:a,onClose:()=>n(""),isOpen:"delete"===l}),!o&&(0,F.canEditAttendances)(r?.roles,r?.group_specific_roles)&&a.can_edit&&(0,t.jsx)(M.Box,{p:2,children:(0,t.jsx)(z.default,{isClubExternal:!0,href:`${c}&start_page=${X.StartPage.WEB_EVENT}`,startImg:!0,imgSrc:ee.addIcon,children:d.formatMessage(j.eventPageMessages["event.page.action.invite"])})}),m&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(M.Box,{p:2,children:(0,t.jsx)(D.default,{isClubExternal:!0,href:`${u}&start_page=${X.StartPage.WEB_EVENT}`,imgSrc:ee.editIcon})}),(0,t.jsx)(M.Box,{p:2,children:(0,t.jsx)(D.default,{imgSrc:ee.trashIcon,onClick:()=>n("delete")})})]})]})}var es=e.i(295626);let ei=(0,R.default)(()=>e.A(953160),{loadableGenerated:{modules:[264085]},ssr:!1}),er=(0,P.default)(M.Box)(({theme:e})=>({padding:e.spacing(4)})),el=(0,P.default)(M.Box)({display:"flex",marginBottom:"8px"}),en=(0,P.default)(M.Box)({flex:"2",fontWeight:"bold"}),eo=(0,P.default)(M.Box)({flex:"5","& > div":{marginBottom:"8px"},"& div:last-child":{marginBottom:"0"}});e.s(["default",0,function({eventInfo:e,gameInfo:n,groupsInfo:o,countriesInfo:P,leagueInfo:R,categoriesInfo:D,organizerClub:z,tags:q=[],hideTitle:B=!1}){let G,W,U,H,V,Y,K,Q,[J,Z]=(0,A.useState)(!1),{isUserAdmin:X,hasEventEditRights:ee,user:et}=(0,w.useAuth)(),{club:ed}=(0,I.useClub)(),eu=(0,$.useIntl)();(0,k.useTheme)();let{translations:{messages:ec}}=(0,E.useTranslations)(),em=(0,y.isEmpty)(n)?e:n,ep=(0,b.displayLiveStreamButton)(e),ef=(0,b.checkEventInPast)(e);function eg(){return em.facility||em.venue_lat||em.venue_lng?(0,t.jsx)("div",{className:es.default.mapRoot,children:(0,t.jsx)("div",{className:es.default.mapContent,children:(0,t.jsx)(A.Suspense,{fallback:null,children:(0,t.jsx)(i.default,{defaultZoom:13,place:{placeId:void 0,location:em.facility?.lat&&em.facility?.lng?{lat:Number(em.facility.lat),lng:Number(em.facility.lng)}:em.venue_lat&&em.venue_lng?{lat:Number(em.venue_lat),lng:Number(em.venue_lng)}:void 0}})})})}):null}function eh(e){return(0,t.jsx)("div",{className:es.default.directionBtnRoot,children:(0,t.jsx)("div",{className:es.default.mapContent,children:(0,t.jsx)("div",{children:(0,t.jsx)(a.default,{href:`http://maps.apple.com/?daddr=${encodeURI(e)}`,children:eu.formatMessage(j.eventPageMessages["event.page.show.direction"])})})})})}function ex(a){try{return(0,t.jsxs)(t.Fragment,{children:[e.stream_link&&(0,t.jsx)("div",{className:es.default.liveStream,children:(0,t.jsx)(s.default,{children:(0,t.jsxs)(er,{children:[(0,t.jsxs)(el,{alignItems:"center",children:[(0,t.jsx)(c.Paragraph2,{children:(0,t.jsx)("strong",{children:eu.formatMessage(j.eventPageMessages["event.page.live_stream"])})}),ep&&(0,t.jsxs)("a",{href:e.stream_link,target:"_blank",rel:"noreferrer",className:es.default.liveStreamButton,children:[(0,t.jsx)("div",{className:es.default.liveStreamButtonCircle}),(0,t.jsx)("span",{className:es.default.liveStreamButtonText,children:eu.formatMessage(j.eventPageMessages["event.page.live"])})]})]}),(0,t.jsx)("div",{className:es.default.liveStreamMediaPreviewWrapper,children:(0,t.jsx)("a",{href:e.stream_link,target:"_blank",rel:"noreferrer",children:(0,t.jsx)("img",{src:"https://dk9pqlttm1g0o.cloudfront.net/2026-06-29-a/images/websites/live_stream_cover.png",alt:"live stream cover"})})})]})})}),(0,t.jsx)(s.default,{children:(0,t.jsx)(er,{children:a.filter(e=>e.label).map((e,a)=>(0,t.jsxs)(el,{children:[(0,t.jsx)(en,{children:(0,t.jsx)(c.Paragraph2,{children:(0,t.jsx)("strong",{children:e.label})})}),(0,t.jsx)(eo,{children:e.multiInfo?e.multiInfo.map((e,a)=>(0,t.jsx)("div",{children:e}
56,`info-details-${a}`)):(0,t.jsx)(c.Paragraph2,{children:e.info})})]},`event-${a}`))})})]})}catch(e){return(0,t.jsx)("div",{children:e})}}let eb=()=>{Z(!J)};if((0,y.isEmpty)(n)){let a,s,i,p,h,k;return(0,t.jsxs)(t.Fragment,{children:[!B&&(0,t.jsx)(S.Typography,{variant:"h3",children:(0,t.jsxs)(C.default,{container:!0,display:"flex",justifyContent:"center",alignItems:"center",children:[(0,t.jsx)("span",{style:ee?{}:{marginBottom:"30px"},children:e.title}),(ee||(0,F.canEditAttendances)(et?.roles,et?.group_specific_roles)||(0,F.canEditCalendar)(et?.roles))&&(0,t.jsx)(ea,{isEventInPast:ef,isUserAdmin:X,gameInfo:n,eventInfo:e,user:et})]})}),(0,t.jsx)(A.Suspense,{fallback:(0,t.jsx)(l.default,{}),children:(0,t.jsx)(ei,{event:e,isGame:!1})}),e.picture?(0,t.jsx)(M.Box,{py:4,display:"flex",justifyContent:"center",alignItems:"center",position:"relative",children:(0,t.jsx)(L.default,{style:{width:"100%",height:"auto",maxWidth:"100%",cursor:"pointer",objectFit:"cover",position:"relative"},width:0,height:0,unoptimized:!0,src:e.picture,alt:e.title,onClick:eb})}):null,ex((a=(0,y.isEmpty)(e)?"":(0,f.getVenueDescription)(e,P,ec),s=!(0,y.isEmpty)(e)&&e.venue_name?e.venue_name:"",i=e.facility,p=P?.find(e=>e.id===i?.venue_country?.id)?.translate||"",h=[i?.venue_address,i?.venue_city].filter(Boolean).join(", "),k=[(0,O.getFacilityCityString)(i),p].filter(Boolean).join(", "),[{...z&&{label:eu.formatMessage(j.eventPageMessages["event.page.title.organizer"]),info:(0,t.jsxs)("div",{className:es.default.organizer,children:[(0,t.jsx)(r.Img,{src:z.logo||m.DEFAULT_CLUB_LOGO,failoverImage:m.DEFAULT_CLUB_LOGO,className:""}),(0,t.jsx)("div",{className:es.default.organizerName,children:z.name})]})}},{label:eu.formatMessage(j.eventPageMessages["event.page.start"]),info:`${(0,N.default)(e.start_date).format(g.DATE_EU_FORMAT)} ${(0,N.default)(e.start_date).format(g.TIME_NO_SEC_EU_FORMAT)}`},{label:eu.formatMessage(j.eventPageMessages["event.page.end"]),info:`${(0,N.default)(e.end_date).format(g.DATE_EU_FORMAT)} ${(0,N.default)(e.end_date).format(g.TIME_NO_SEC_EU_FORMAT)}`},{...e.event_teams&&o&&o.length>0&&{label:eu.formatMessage(j.eventPageMessages["event.page.title.groups"]),multiInfo:o.map((e,a)=>(0,t.jsxs)(c.Paragraph2,{children:[(0,t.jsx)("span",{children:"-"})," ",(0,x.generateTagLabel)(e,null,D,ec,{showTeamAdditionalInfo:ed?.show_team_additional_info})]},`team-${a}`))}},{...e.tags?.length>0&&q?.length>0&&{label:eu.formatMessage(j.eventPageMessages["event.page.title.tags"]),info:(0,t.jsx)(u.default,{assignedTags:e.tags?.filter(e=>!e.expiration_date||!(0,b.checkDateInPast)(e.expiration_date)),tags:q})}},{...(a||s)&&!i?.venue_address&&!i?.name&&{label:eu.formatMessage(j.eventPageMessages["event.page.title.venue"]),multiInfo:[...s?[(0,t.jsx)(c.Paragraph2,{children:s},1)]:[],...a?[(0,t.jsx)(c.Paragraph2,{children:a},1),(0,t.jsx)(eg,{},"render-map"),eh(a)]:[]]}},{...i?.venue_address&&{label:eu.formatMessage(j.eventPageMessages["event.page.title.venue"]),multiInfo:[(0,t.jsx)(c.Paragraph2,{children:`${i?.name} - ${[i?.venue_address,(0,O.getFacilityCityString)(i),p].filter(Boolean).join(", ")}`},1),(0,t.jsx)(eg,{},"render-map"),eh(h)]}},{...!i?.venue_address&&i?.name&&{label:eu.formatMessage(j.eventPageMessages["event.page.title.venue"]),multiInfo:[(0,t.jsxs)(c.Paragraph2,{children:[i?.name,k?` - ${k}`:""]},1)]}},{...e.files&&e.files.length>0&&{label:eu.formatMessage(j.eventPageMessages["event.page.title.documents"]),multiInfo:e.files.map((e,a)=>(0,t.jsx)("a",{className:es.default.detailsDocLink,href:e.file,children:(0,t.jsx)(c.Paragraph2,{children:e.name})},`doc-${a}`))}},{...e.information&&{label:eu.formatMessage(j.eventPageMessages["event.page.title.informations"]),info:(0,T.default)(e.information)}}])),(0,t.jsx)(d,{isOpen:J,onClose:eb,imageUrl:e.picture}),!!e&&(0,t.jsx)(v.default,{schema:(0,_.getEventSchema)(e)},"event-schema")]})}return ex((G=(0,y.isEmpty)(R)?"":function(e,t,a){let s=e.name,i=e.category.id,r=t.find(({id:e})=>e===i);r.name&&(s+=` ${a[r.name]||""}`);let l=e.gender;if(l){let e=h.gendersWithMixed[h.genderIndexMap[l]].short;s+=` ${e}`}return s}(R,D,ec),W=(0,f.getVenueDescription)(n,P,ec),U=!(0,y.isEmpty)(n)&&n.venue_name?n.venue_name:"",H=n.officials.filter(e=>e.type===p.ROSTER_USER_TYPE_REFEREE),V=n.officials.filter(e=>e.type===p.ROSTER_USER_TYPE_OFFICIAL),Y=e.facility,K=P?.find(e=>e.id===Y?.venue_country?.id)?.translate||"",Q=[Y?.venue_address,Y?.venue_city].filter(
56Boolean).join(", "),[{label:n.end_date?eu.formatMessage(j.eventPageMessages["event.page.start"]):eu.formatMessage(j.eventPageMessages["event.page.title.date"]),info:`${(0,N.default)(n.start_date).format(n.end_date?g.TIME_NO_SEC_EU_FORMAT:g.DATE_EU_FORMAT)}`},{...!n.end_date&&n.start_date&&{label:eu.formatMessage(j.eventPageMessages["event.page.title.time"]),info:`${(0,N.default)(n.start_date).format(g.TIME_NO_SEC_EU_FORMAT)}`}},{...n.end_date&&{label:eu.formatMessage(j.eventPageMessages["event.page.end"]),info:`${(0,N.default)(n.end_date).format(g.DATE_EU_FORMAT)} ${(0,N.default)(n.end_date).format(g.TIME_NO_SEC_EU_FORMAT)}`}},{...G&&{label:eu.formatMessage(j.eventPageMessages["event.page.title.league"]),info:G}},{...n.game_day&&{label:eu.formatMessage(j.eventPageMessages["event.page.title.matchday"]),info:n.game_day}},{...(W||U)&&!Y?.venue_address&&{label:eu.formatMessage(j.eventPageMessages["event.page.title.venue"]),multiInfo:[...U?[(0,t.jsx)(c.Paragraph2,{children:U},1)]:[],...W?[(0,t.jsx)(c.Paragraph2,{children:W},1),(0,t.jsx)(eg,{},"render-map"),eh(W)]:[]]}},{...Y?.venue_address&&{label:eu.formatMessage(j.eventPageMessages["event.page.title.venue"]),multiInfo:[`${Y?.name} - ${[Y?.venue_address,(0,O.getFacilityCityString)(Y),K].filter(Boolean).join(", ")}`,(0,t.jsx)(eg,{},"render-map"),eh(Q)]}},{...H.length>0&&{label:eu.formatMessage(j.eventPageMessages["event.page.title.referees"]),multiInfo:H.map((e,a)=>(0,t.jsx)(c.Paragraph2,{children:`${e.position?`${e.position}: `:""}${e.full_name}`},a))}},{...V.length>0&&{label:eu.formatMessage(j.eventPageMessages["event.page.title.officials"]),multiInfo:V.map((e,a)=>(0,t.jsx)(c.Paragraph2,{children:`${e.position?`${e.position}: `:""}${e.full_name}`},a))}},{..."number"==typeof n.spectators&&n.spectators>0&&{label:eu.formatMessage(j.eventPageMessages["gamesheet.information.number.of.spectators"]),info:n.spectators}}]))}],367986)},511105,e=>{e.v(t=>Promise.all(["static/chunks/3600rpq03iuy0.js"].map(t=>e.l(t))).then(()=>t(696287)))},356915,e=>{e.v({course:"EventEducationMaterial-module-scss-module__1LV3Eq__course",courseArrow:"EventEducationMaterial-module-scss-module__1LV3Eq__courseArrow",courseContainer:"EventEducationMaterial-module-scss-module__1LV3Eq__courseContainer",courseContent:"EventEducationMaterial-module-scss-module__1LV3Eq__courseContent",coursesContainer:"EventEducationMaterial-module-scss-module__1LV3Eq__coursesContainer",description:"EventEducationMaterial-module-scss-module__1LV3Eq__description"})},943321,e=>{"use strict";e.s(["CALENDAR_PAGE_PAGINATION_LIMIT",0,10])},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"},"shop.cart.item.total":{id:"shop.cart.item.total",defaultMessage:"#1 item / {total}"}
56,"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),a=e.i(481926),s=e.i(316174),i=e.i(782547),r=e.i(691102),l=e.i(107434),n=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),f=e.i(662534),g=e.i(872729),h=e.i(936151),x=e.i(210557),b=e.i(127167),y=e.i(765952),_=e.i(413518),j=e.i(81144),v=e.i(812497),M=e.i(618566),S=e.i(271645),C=e.i(112458),k=e.i(11),P=e.i(128363),w=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 R=e.i(456589),L=e.i(378798);let A=function(e){let A,$,F=(0,k.useIntl)(),O=(0,M.useRouter)(),{club:D,prefix:z,website:q}=(0,_.useClub)(),{user:B,token:G}=(0,b.useAuth)(),W=(0,x.useTheme)(),{items:U,totalPrice:H,isLoading:V,clearCart:Y,isCartReady:K}=(0,y.useCart)(),{setCurrentOrder:Q}=(0,j.useOrder)(),J=(0,E.useSystemPagePath)(r.WebsitePageType.CART),Z=(0,E.useSystemPagePath)(r.WebsitePageType.PRODUCTS),X=(0,E.useSystemPagePath)(r.WebsitePageType.DELIVERY),[ee,et]=(0,S.useState)(!1),[ea,es]=(0,S.useState)([]),[ei,er]=(0,S.useState)(!0);(0,S.useEffect)(()=>{(async()=>
56{if(ea.length>0)return er(!1);try{let e=await (0,P.getCountries)();es(e)}catch(e){}finally{er(!1)}})()},[]),(0,S.useEffect)(()=>{K&&!V&&(U&&0!==U.length||O.push(Z))},[U,V,K,Z,O]),(0,S.useEffect)(()=>{U&&U.length>0&&z&&!V&&K&&(0,I.gaEvent)({action:"begin_checkout",category:"shop",label:`items_count:${U.length}|total_value:${H}`,additionalProps:{clubSuffix:z}})},[U,z,V,K,H]);let el=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(s.messages.invalidEmailCharacters),e=>(0,l.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"]))}),en=async e=>{if(D&&U&&0!==U.length&&e.acceptTerms){et(!0);try{let t=(0,w.formatOrderData)(e,U),a=await (0,w.createOrder)({clubPrefix:z,orderData:t});if(!a.id||!a.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(a),O.push((0,w.withOrderHashInQuery)(X,a.hash))}catch(e){console.error("Order creation failed:",e),et(!1)}}};return V||ei?(0,t.jsx)(o.default,{sx:{display:"flex",justifyContent:"center",alignItems:"center",minHeight:"200px"},children:(0,t.jsx)(c.default,{})}):U&&0!==U.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)(a.default,{href:J,children:(0,t.jsx)(C.FormattedMessage,{...R.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=ea.find(e=>"Luxembourg"===e.name||"Luxembourg"===e.translate||"Luxembourg"===e.translation)||ea[0]||null,$=B?.country?.id&&ea.find(e=>e.id===B.country.id)||A,{email:B?.email||"",firstname:B?.firstname||"",lastname:B?.lastname||"",address:B?.address1||B?.address||"",city:B?.town||B?.city||"",zip:B?.zipcode||B?.zip||"",company:null,address2:B?.address2||null,country:$,billing_required:!1,billing_firstname:B?.firstname||"",billing_lastname:B?.lastname||"",billing_address:B?.address1||B?.address||"",billing_city:B?.town||B?.city||"",billing_zip:B?.zipcode||B?.zip||"",billing_address2:B?.address2||null,billing_country:$,acceptTerms:!1}),validationSchema:el,onSubmit:en,enableReinitialize:!0,children:({values:e,errors:a,touched:s,handleChange:r,handleBlur:l,setFieldValue:c,isValid:x})=>(0,t.jsx)(v.Form,{children:(0,t.jsxs)(o.default,{className:L.default.checkoutForm,sx:{dis
56play:"flex",flexDirection:"column",gap:W.spacing(5)},children:[(0,t.jsx)(m.default,{fullWidth:!0,children:(0,t.jsx)(h.default,{name:"firstname",size:"small",label:F.formatMessage(N["shop.checkout.first_name"]),variant:"outlined",fullWidth:!0,value:e.firstname,onChange:r,onBlur:l,error:s.firstname&&!!a.firstname,helperText:s.firstname&&a.firstname,sx:{"& .MuiOutlinedInput-root":{borderRadius:q?.button_style==="SQUARE_CORNERS"?0:"8px"}}})}),(0,t.jsx)(m.default,{fullWidth:!0,children:(0,t.jsx)(h.default,{name:"lastname",size:"small",label:F.formatMessage(N["shop.checkout.last_name"]),variant:"outlined",fullWidth:!0,value:e.lastname,onChange:r,onBlur:l,error:s.lastname&&!!a.lastname,helperText:s.lastname&&a.lastname,sx:{"& .MuiOutlinedInput-root":{borderRadius:q?.button_style==="SQUARE_CORNERS"?0:"8px"}}})}),(0,t.jsx)(m.default,{fullWidth:!0,children:(0,t.jsx)(h.default,{name:"company",size:"small",label:F.formatMessage(N["shop.checkout.company_name_optional"]),variant:"outlined",fullWidth:!0,value:e.company||"",onChange:r,onBlur:l,sx:{"& .MuiOutlinedInput-root":{borderRadius:q?.button_style==="SQUARE_CORNERS"?0:"8px"}}})}),(0,t.jsx)(m.default,{fullWidth:!0,children:(0,t.jsx)(h.default,{name:"email",size:"small",label:F.formatMessage(N["shop.checkout.email"]),variant:"outlined",fullWidth:!0,value:e.email,onChange:r,onBlur:l,error:s.email&&!!a.email,helperText:s.email&&a.email,sx:{"& .MuiOutlinedInput-root":{borderRadius:q?.button_style==="SQUARE_CORNERS"?0:"8px"}}})}),(0,t.jsx)(m.default,{fullWidth:!0,children:(0,t.jsx)(h.default,{name:"address",size:"small",label:F.formatMessage(N["shop.checkout.address"]),variant:"outlined",fullWidth:!0,value:e.address,onChange:r,onBlur:l,error:s.address&&!!a.address,helperText:s.address&&a.address,sx:{"& .MuiOutlinedInput-root":{borderRadius:q?.button_style==="SQUARE_CORNERS"?0:"8px"}}})}),(0,t.jsx)(m.default,{fullWidth:!0,children:(0,t.jsx)(h.default,{name:"address2",size:"small",label:F.formatMessage(N["shop.checkout.address2_optional"]),variant:"outlined",fullWidth:!0,value:e.address2||"",onChange:r,onBlur:l,sx:{"& .MuiOutlinedInput-root":{borderRadius:q?.button_style==="SQUARE_CORNERS"?0:"8px"}}})}),(0,t.jsx)(m.default,{fullWidth:!0,children:(0,t.jsx)(h.default,{name:"city",size:"small",label:F.formatMessage(N["shop.checkout.city"]),variant:"outlined",fullWidth:!0,value:e.city,onChange:r,onBlur:l,error:s.city&&!!a.city,helperText:s.city&&a.city,sx:{"& .MuiOutlinedInput-root":{borderRadius:q?.button_style==="SQUARE_CORNERS"?0:"8px"}}})}),(0,t.jsx)(m.default,{fullWidth:!0,children:(0,t.jsx)(h.default,{name:"zip",size:"small",label:F.formatMessage(N["shop.checkout.zip_code"]),variant:"outlined",fullWidth:!0,value:e.zip,onChange:r,onBlur:l,error:s.zip&&!!a.zip,helperText:s.zip&&a.zip,sx:{"& .MuiOutlinedInput-root":{borderRadius:q?.button_style==="SQUARE_CORNERS"?0:"8px"}}})}),(0,t.jsx)(m.default,{fullWidth:!0,children:(0,t.jsx)(n.default,{id:"country-select",options:ea,value:e.country,onChange:(e,t)=>
56c("country",t),getOptionLabel:e=>e?.translate||e?.translation||e?.name||"",renderInput:e=>(0,t.jsx)(h.default,{...e,name:"country",size:"small",label:F.formatMessage(N["shop.checkout.country"]),variant:"outlined",error:s.country&&!!a.country,helperText:s.country&&a.country?String(a.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:W.props.sectionMode.text_background,"&.Mui-checked":{color:W.props.sectionMode.accent},"&:hover":{backgroundColor:`${W.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:W.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)(h.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:l,error:s.billing_firstname&&!!a.billing_firstname,helperText:s.billing_firstname&&a.billing_firstname,sx:{"& .MuiOutlinedInput-root":{borderRadius:q?.button_style==="SQUARE_CORNERS"?0:"8px"}}})}),(0,t.jsx)(m.default,{fullWidth:!0,children:(0,t.jsx)(h.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:l,error:s.billing_lastname&&!!a.billing_lastname,helperText:s.billing_lastname&&a.billing_lastname,sx:{"& .MuiOutlinedInput-root":{borderRadius:q?.button_style==="SQUARE_CORNERS"?0:"8px"}}})}),(0,t.jsx)(m.default,{fullWidth:!0,children:(0,t.jsx)(h.default,{name:"billing_address",size:"small",label:F.formatMessage(N["shop.checkout.address"]),variant:"outlined",fullWidth:!0,value:e.billing_address||"",onChange:r,onBlur:l,error:s.billing_address&&!!a.billing_address,helperText:s.billing_address&&a.billing_address,sx:{"& .MuiOutlinedInput-root":{borderRadius:q?.button_style==="SQUARE_CORNERS"?0:"8px"}}})}),(0,t.jsx)(m.default,{fullWidth:!0,children:(0,t.jsx)(h.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:l,sx:{"& .MuiOutlinedInput-root":{borderRadius:q?.button_style==="SQUARE_CORNERS"?0:"8px"}}})}),(0,t.jsx)(m.default,{fullWidth:!0,children:(0,t.jsx)(h.default,{name:"billing_city",size:"small",label:F.formatMessage(N["shop.checkout.city"]),variant:"outlined",fullWidth:!0,value:e.billing_city||"",onChange:r,onBlur:l,error:s.billing_city&&!!a.billing_city,helperText:s.billing_city&&a.billing_city,sx:{"& .MuiOutlinedInput-root":{borderRadius:q?.button_style==="SQUARE_CORNERS"?0:"8px"}}})}),(0,t.jsx)(m.default,{fullWidth:!0,children:(0,t.jsx)(h.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:l,error:s.billing_zip&&!!a.billing_zip,helperText:s.billing_zip&&a.billing_zip,sx:{"& .MuiOutlinedInput-root":{borderRadius:q?.button_style==="SQUARE_CORNERS"?0:"8px"}}})}),(0,t.jsx)(m.default,{fullWidth:!0,children:(0,t.jsx)(n.default,{id:"billing-country-select",options:ea,value:e.billing_country,onChange:(e,t)=>
56c("billing_country",t),getOptionLabel:e=>e?.translate||e?.translation||e?.name||"",renderInput:e=>(0,t.jsx)(h.default,{...e,name:"billing_country",size:"small",label:F.formatMessage(N["shop.checkout.country"]),variant:"outlined",error:s.billing_country&&!!a.billing_country,helperText:s.billing_country&&a.billing_country?String(a.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:W.props.sectionMode.text_background,"&.Mui-checked":{color:W.props.sectionMode.accent},"&:hover":{backgroundColor:`${W.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)(g.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)(g.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"]})})]})}),s.acceptTerms&&a.acceptTerms&&(0,t.jsx)(f.default,{error:!0,sx:{mt:.5},children:a.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),a=e.i(710269),s=e.i(790849),i=e.i(306691),r=e.i(782547),l=e.i(691102),n=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),f=e.i(937910),g=e.i(413518),h=e.i(364384),x=e.i(271645),b=e.i(11),y=e.i(612049),_=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,b.useIntl)(),k=(0,x.useRef)(!1),{prefix:P,club:w}=(0,g.useClub)(),{translations:I,extendTranslations:E}=(0,h.useTranslations)(),[T,N]=(0,x.useState)(M),[R,L]=(0,x.useState)(null),A=(0,x.useMemo)(()=>(0,n.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,R]),[$,F]=(0,x.useState)("1-male"),[O,D]=(0,x.useState)(M.league?.id||v.content?.league?.id),[z,q]=(0,x.useState)(!1),B=(0,_.useSystemPagePath)(l.WebsitePageType.STANDINGS,{leagues:O}),G=(0,x.useMemo)(()=>{let[e,t]=$.split("-");return S.filter(a=>a.category.id===Number(e)&&a.gender===t).map(e=>({label:e.name,value:e.id})).sort((e,t)=>e.label<t.label?-1:+(e.label>t.label))},[$]);(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),U()},[]),(0,x.useEffect)(()=>{k.current&&(G.length?D(G[0].value):D(0))},[G]),(0,x.useEffect)(()=>{k.current&&H(O)},[O]),(0,x.useEffect)(()=>{k.current=!0},[]),(0,x.useEffect)(()=>{(0,n.isEmpty)(T.placeholders)||E(T.placeholders)},[T.placeholders]);let W=(0,x.useMemo)(()=>({...T,league:{id:O}}),[T,O]);async function U(){let e={};
56S.forEach(t=>{e[t.category.name]=t.category.name});let t=await (0,y.getTranslationByClub)({clubPrefix:P,translationKeys:e,language:w?.admin_lang||I.locale});E({[I.locale]:t}),L(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)(f.default,{container:!0,spacing:"8px",children:[(0,t.jsx)(f.default,{size:{xs:12,sm:5,md:5},children:(0,t.jsx)(s.default,{id:"genderCategory",value:$,name:"genderCategory",label:C.formatMessage(m.sectionMessages["section.combination.age_category"]),options:A,onChange:e=>{F(e.target.value)}})}),(0,t.jsx)(f.default,{size:{xs:12,sm:5,md:5},children:(0,t.jsx)(s.default,{id:"league",value:O,name:"league",label:C.formatMessage(m.sectionMessages["section.label.league"]),options:G,onChange:e=>{D(Number(e.target.value))}})})]})}),(0,t.jsxs)(f.default,{container:!0,spacing:"8px",children:[(0,t.jsxs)(f.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:W,gameCardType:u.GameCardLayoutType.FLF,hideHeader:!0,hideViewMore:!0})]}),(0,t.jsxs)(f.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:W,hideHeader:!0,hideViewMore:!0}),(0,t.jsx)(p.Box,{justifyContent:"center",display:"flex",children:(0,t.jsx)(a.default,{applyBackgroundColor:!0,href:B,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),a=e.i(363972),s=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 l=e.i(383216),n=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 f=["stat1","stat2","stat3","stat4","stat8"];async function g(e){if(e.section.layout===t.SectionLayoutType.FLF_LEAGUE_OVERVIEW){let[t,a]=await Promise.all([h(e),x(e)]),s=t.categories?.map(e=>({...e,slug:e.name.toLowerCase().replace(/\s+/g,"-")}));return{...t,...a,categories:s}}return{}}async function h({prefix:e,section:t,query:a}){let r=a.league?Number(a[m.LEAGUE_KEY]):t.content?.league?.id,[l,o]=await Promise.all([(0,n.getLeagues)({clubPrefix:e}),(0,d.getSponsorCategories)({clubPrefix:e})]),u=null,c=0,f=0,g=null,x=[],b=[],y=(0,p.getGameSectionQueryString)(t.id);u=await (0,n.getLeagueGames)({leagueId:r,clubPrefix:e}).catch(()=>null);let _=a[y.direction],j=a[y.page];f=u.past.length;let v=(0,p.isValidGameSectionQueryString)({page:j,direction:_}),M=Number(j)-1;return g=[...u.past,u.current,...u.future],v&&"past"===_?(c=M,b=u.past[M]??[]):v&&"future"===_?(c=f+M,b=u.future[M]??[]):(b=u.current,c=f),(x=(0,i.isEmpty)(b)?[]:await (0,n.getMultipleGames)({ids:(0,i.uniqBy)(b,"id").map(e=>e.id),clubPrefix:e})).sort(s.gameSorter),{categories:o,chunkedGames:g,games:x,leagues:l,leagueGamesIndex:c,currentWeekIndex:f}}async function x({userLanguage:e,prefix:t,query:s,section:i}){let n=s.league?Number(s[m.LEAGUE_KEY]):i.content?.league?.id,d=await (0,l.getClub)({clubPrefix:t}).catch(()=>Promise.resolve(null)),p=(await (0,o.getSeasonsByType)({clubPrefix:t,seasonTypeId:1}).catch(()=>[])).find(e=>e.current),g=await (0,u.getLeagueStandings)({clubPrefix:t,leagueId:n,seasonId:p?.id,query:{most_recent_season:1}}).catch(()=>[{rows:[],header:{}}]),h=[],b={};g?.forEach(e=>{e.header=r(e.header,f),e.rows=e.rows?.map((e,t)=>({...r(e,f),group:{...e.group,ranking:t+1},0:{...e.group,ranking:t+1}})),b=Object.assign(b,(0,a.getSimpleStasInfoArrayPlaceholders)(e)),h.push(e)});let y=await (0,c.getTranslationByClub)({clubPrefix:t,translationKeys:b,language:d?.admin_lang||e});return{standingsStats:h,placeholders:{[e]:y}}}e.s(["getData",0,g],978447)},852841,e=>{e.v(e=>Promise.resolve().then(()=>e(978447)))},159945,e=>{"use strict";var t=e.i(843476),a=e.i(356437),s=e.i(934161),i=e.i(782547),r=e.i(776552),l=e.i(791882),n=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);
56e.s(["default",0,function(){let{website:e,prefix:f}=(0,o.useClub)(),g=(0,n.useTheme)(),h=g.props?.sectionMode,[x,b]=(0,u.useState)({required:!0,customization:!1,analytical:!1,marketing:!1}),[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));b({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)=>{b(a=>({...a,[e]:t}))},S=async()=>{let e=new Date;e.setMonth(e.getMonth()+12);let t=(0,p.defineCookieDomain)(),a=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:a,domain:t,expires:e,sameSite:"Lax",path:"/"});try{(0,p.getUserCookie)("token")&&f&&await (0,m.request)({endpoint:"/me",method:"PATCH",body:{cookies:x},clubPrefix:f,isPrivate:!0})}catch(e){console.error("Failed to sync cookie preferences to backend:",e)}_(!0),setTimeout(()=>{_(!1)},5e3)};return j?null:(0,t.jsx)(l.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 ${h?.text_background}20`},children:(0,t.jsx)(s.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 ${h?.text_background}20`},children:(0,t.jsx)(s.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 ${h?.text_background}20`},children:(0,t.jsx)(s.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 ${h?.text_background}20`},children:(0,t.jsx)(s.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:h?.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)(a.default,{onClick:S,children:(0,t.jsx)(c.FormattedMessage,{id:"cookie.banner.button.save_settings",defaultMessage:"Save Preferences"})})}),y&&(0,t.jsxs)(r.Box,{sx:{backgroundColor:h?.card,border:`1px solid ${h?.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:h?.accent,display:"flex",alignItems:"center",justifyContent:"center",color:h?.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";
56var t=e.i(843476),a=e.i(710269),s=e.i(844722),i=e.i(659360),r=e.i(425211),l=e.i(782547),n=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),f=e.i(509436),g=e.i(776552),h=e.i(522016),x=e.i(618566),b=e.i(112458),y=e.i(11),_=e.i(314632),j=e.i(898875);e.s(["default",0,function(e){let{course:v,tags:M,selectedUserId:S}=e.data,C=(0,_.useSystemPagePath)(o.WebsitePageType.EDUCATION_LESSON),k=(0,_.useSystemPagePath)(o.WebsitePageType.EDUCATION_COURSES_OVERVIEW),P=(0,y.useIntl)();(0,n.useRequireAuth)();let w=(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)(l.Headline2,{children:v?.name}),(0,t.jsx)(g.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)(s.default,{children:(0,t.jsxs)(g.Box,{className:j.default.statusCard,children:[(0,t.jsx)(l.Paragraph1,{children:(0,t.jsx)("strong",{children:(0,t.jsx)(b.FormattedMessage,{...p.sectionMessages["education.your.status"]})})}),(0,t.jsxs)(g.Box,{className:j.default.statusContainer,children:[(0,t.jsx)(l.Paragraph2,{className:j.default.status,children:"not_started"===T?(0,t.jsx)(b.FormattedMessage,{...p.sectionMessages["education.not.started"]}):"in_progress"===T?(0,t.jsx)(b.FormattedMessage,{...p.sectionMessages["education.in.progress"]}):"completed"===T?(0,t.jsx)(b.FormattedMessage,{...p.sectionMessages["education.completed"]}):null}),(0,t.jsxs)(l.Paragraph2,{children:[N?.lessons_completed,"/",N?.lessons_total," ",(0,t.jsx)(b.FormattedMessage,{...p.sectionMessages["education.lessons.complete"]})]})]})]})}),(0,t.jsx)(l.Paragraph1,{children:v?.description}),(0,t.jsx)(l.Headline2,{className:j.default.lessonsTitle,children:(0,t.jsx)(b.FormattedMessage,{...p.sectionMessages["education.lessons"]})}),(0,t.jsxs)(g.Box,{className:j.default.lessons,children:[v?.lessons?.map(e=>{var a,r;
56let n=(a=v.id,r=e.id,C?`${C}/course/${a}/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:()=>w.push(n),className:j.default.lessonCardContainer,children:(0,t.jsx)(s.default,{children:(0,t.jsxs)(g.Box,{className:j.default.lessonCard,children:[(0,t.jsxs)(g.Box,{children:[(0,t.jsx)(l.Paragraph1,{className:j.default.lessonCardTitle,children:(0,t.jsx)("strong",{children:e.name})}),(0,t.jsx)(g.Box,{className:j.default.statusContainer,children:(0,t.jsx)(l.Paragraph2,{className:j.default.status,children:"not_started"===o?(0,t.jsx)(b.FormattedMessage,{...p.sectionMessages["education.not.started"]}):"in_progress"===o?(0,t.jsx)(b.FormattedMessage,{...p.sectionMessages["education.in.progress"]}):"completed"===o?(0,t.jsx)(b.FormattedMessage,{...p.sectionMessages["education.completed"]}):null})})]}),(0,t.jsx)(g.Box,{className:j.default.lessonCardArrow,children:(0,t.jsx)(f.default,{})})]})})},"lesson-"+e.id)}),v?.lessons?.length===0&&(0,t.jsx)(c.default,{})]}
56),k&&(0,t.jsx)(g.Box,{className:j.default.buttons,children:(0,t.jsx)(h.default,{href:k,children:(0,t.jsx)(a.default,{children:(0,t.jsx)(b.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),a=e.i(844722),s=e.i(761189),i=e.i(763085),r=e.i(267786),l=e.i(182472),n=e.i(369437),o=e.i(271645);let d=(0,t.jsx)(i.default,{fontSize:"small"}),u=(0,t.jsx)(s.default,{fontSize:"small"});function c(e){let{id:a,options:s,value:i,onChange:c,placeholder:m,limitTags:p=1}=e,[f,g]=(0,o.useState)(!1);return(0,t.jsx)(r.Autocomplete,{multiple:!0,fullWidth:!0,id:a,options:s,disableCloseOnSelect:!0,getOptionLabel:e=>e.label,value:i,onChange:c,renderOption:(e,a,{selected:s})=>{let{key:i,...r}=e;return(0,t.jsxs)("li",{...r,children:[(0,t.jsx)(l.Checkbox,{icon:d,checkedIcon:u,style:{marginRight:8},checked:s}),a.label]},i)},renderInput:e=>(0,t.jsx)(n.TextField,{...e,label:m,placeholder:m}),renderTags:f?()=>null:void 0,onFocus:()=>{g(!0)},onBlur:()=>{g(!1)},limitTags:p})}var m=e.i(659360),p=e.i(782547),f=e.i(705729),g=e.i(691102),h=e.i(534327),x=e.i(329568),b=e.i(228488),y=e.i(867129),_=e.i(659712),j=e.i(509436),v=e.i(776552),M=e.i(936057),S=e.i(413518),C=e.i(618566),k=e.i(112458),P=e.i(11),w=e.i(663237);e.s(["default",0,function(e){let{tags:s,categoriesOverview:i}=e.data,r=(0,P.useIntl)(),{pages:l}=(0,S.useClub)(),n=(0,C.useRouter)(),d=(0,C.useSearchParams)();(0,f.useRequireAuth)();let u=d.get("categories")?.split(",").map(Number),I=d.get("tags")?.split(",").map(Number),[E,T]=(0,o.useState)(I||[]),[N,R]=(0,o.useState)(u||[]),L=i?.filter(e=>e.courses?.length>0)?.map(e=>({label:e.name,value:e.id}))||[],A=(0,o.useMemo)(()=>s.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)))))),[s,i]),$=(0,o.useMemo)(()=>A.map(e=>({label:e.name,value:e.id})),[A]),F=(e,t)=>{let a=new URLSearchParams(d.toString());t?a.set(e,t):a.delete(e),n.replace(`?${a.toString()}`)};return i&&0!==i.length?(0,t.jsxs)(v.Box,{children:[(0,t.jsx)(p.Headline2,{sx:{mb:2},children:(0,t.jsx)(k.FormattedMessage,{..._.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(_.sectionMessages["educational.category"]),options:L,value:L.filter(e=>N.includes(e.value)),onChange:(e,t)=>
56{R(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(b.eventPageMessages["event.page.title.tags"]),options:$,value:$.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:w.default.categoryContainer,children:[(0,t.jsx)(p.Headline4,{sx:{mb:2},children:e.name}),(0,t.jsx)(v.Box,{className:w.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 s;let i,r=(s=e.id,(i=l.find(e=>e.type===g.WebsitePageType.EDUCATION_COURSE))?`${i.seo}/${s}`:null),o=(0,h.getCombinedEducationStatus)(e.users?.map(e=>e.status))||e.status;return(0,t.jsx)(m.TabDiv,{onClick:()=>n.push(r),className:w.default.cardContainer,children:(0,t.jsx)(a.default,{children:(0,t.jsxs)(v.Box,{className:w.default.card,children:[(0,t.jsxs)(v.Box,{className:w.default.cardContent,children:[(0,t.jsx)(p.Paragraph2,{children:(0,t.jsx)("strong",{children:e.name})}),(0,t.jsx)(p.Paragraph2,{className:w.default.description,children:e.description}),(0,t.jsx)(p.Paragraph2,{className:w.default.status,children:"not_started"===o?(0,t.jsx)(k.FormattedMessage,{..._.sectionMessages["education.not.started"]}):"in_progress"===o?(0,t.jsx)(k.FormattedMessage,{..._.sectionMessages["education.in.progress"]}):(0,t.jsx)(k.FormattedMessage,{..._.sectionMessages["education.completed"]})})]}),(0,t.jsx)(v.Box,{className:w.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)(y.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,a=e.i(843476),s=e.i(481926);e.i(964884);var i=e.i(142829),r=e.i(782547),l=e.i(691102),n=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),f=e.i(836773),g=e.i(828637),h=e.i(853332),x=e.i(443090),b=e.i(260429),y=e.i(814176),_=e.i(210557),j=e.i(413518),v=e.i(81144),M=e.i(657688),S=e.i(618566),C=e.i(271645),k=e.i(112458),P=e.i(301005),w=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}"}
56,"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 R=e.i(456589),L=((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,w.useIntl)(),A=(0,S.useRouter)(),{club:$,website:F}=(0,j.useClub)(),{currentOrder:O,hasCurrentOrder:D,updateOrder:z,isInitialized:q}=(0,v.useOrder)(),B=(0,_.useTheme)(),G=(0,T.useSystemPagePath)(l.WebsitePageType.CHECKOUT),W=(0,T.useSystemPagePath)(l.WebsitePageType.PRODUCTS),U=(0,T.useSystemPagePath)(l.WebsitePageType.PAYMENT),[H,V]=(0,C.useState)("P"),[Y,K]=(0,C.useState)({}),[Q,J]=(0,C.useState)(!1),[Z,X]=(0,C.useState)(!0),[ee,et]=(0,C.useState)(!1);(0,C.useEffect)(()=>{if(!q)return;if(!D||!O)return void A.push(W);let e=O.delivery_preference;V(e&&("P"===e||"D"===e)?e:"P"),X(!1)},[q,D,O,A,W]);let{scenario:ea,pickupOnlyItems:es,shippingOnlyItems:ei,bothItems:er}=(()=>{if(!O||!O.delivery_methods)return{scenario:L.NONE,pickupOnlyItems:[],shippingOnlyItems:[],bothItems:[]};let e=O.order_items,t=Array.from(new Set([...O.delivery_methods.P.pickup,...O.delivery_methods.D.pickup])),a=Array.from(new Set([...O.delivery_methods.P.shipping,...O.delivery_methods.D.shipping])),s=e.filter(e=>t.includes(e.item.id)&&!a.includes(e.item.id)),i=e.filter(e=>a.includes(e.item.id)&&!t.includes(e.item.id)),r=e.filter(e=>t.includes(e.item.id)&&a.includes(e.item.id));if(s.length>0&&i.length>0&&r.length>0)return{scenario:L.ALL_THREE,pickupOnlyItems:s,shippingOnlyItems:i,bothItems:r};if(s.length>0&&i.length>0)return{scenario:L.PICKUP_AND_SHIPPING,pickupOnlyItems:s,shippingOnlyItems:i,bothItems:r};if(r.length>0)return{scenario:L.ALL_THREE,pickupOnlyItems:s,shippingOnlyItems:i,bothItems:r};if(s.length>0)return{scenario:L.PICKUP_ONLY,pickupOnlyItems:s,shippingOnlyItems:i,bothItems:r};if(i.length>0)return{scenario:L.SHIPPING_ONLY,pickupOnlyItems:s,shippingOnlyItems:i,bothItems:r};return{scenario:L.NONE,pickupOnlyItems:s,shippingOnlyItems:i,bothItems:r}})(),el=(()=>{switch(ea){case L.PICKUP_ONLY:return{single:{pickupItems:[...es,...er],shippingItems:[]}};case L.SHIPPING_ONLY:return{single:{pickupItems:[],shippingItems:ei}};case L.PICKUP_AND_SHIPPING:return{single:{pickupItems:es,shippingItems:ei}};case L.ALL_THREE:return{P:{pickupItems:[...es,...er],shippingItems:ei},D:{pickupItems:es,shippingItems:[...ei,...er]}};default:return{single:{pickupItems:[],shippingItems:[]}}}})(),en=ea===L.ALL_THREE,eo=en?[{key:"P",title:t.formatMessage(N["shop.delivery.method_numbered"],{number:1}),preference:t.formatMessage(N["shop.delivery.pickup_preferred"]),value:"P",showPickup:(el.P?.pickupItems?.length||0)>0,showShipping:(el.P?.shippingItems?.length||0)>0,pickupItems:el.P?.pickupItems||[],shippingItems:el.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:(el.D?.pickupItems?.length||0)>0,showShipping:(el.D?.shippingItems?.length||0)>0,pickupItems:el.D?.pickupItems||[],shippingItems:el.D?.shippingItems||[]}]:[{key:"single",title:t.formatMessage(N["shop.delivery.method"]),preference:void 0,value:H,showPickup:(el.single?.pickupItems?.length||0)>0,showShipping:(el.single?.shippingItems?.length||0)>0,pickupItems:el.single?.pickupItems||[],shippingItems:el.single?.shippingItems||[]}],ed=async e=>{let t=e.target.value;if(O&&$){V(t),J(!0);try{let e=await (0,I.updateOrder)({clubPrefix:$.suffix,orderRef:O.hash,updateData:{delivery_preference:t}});if(z({delivery_preference:e.delivery_preference,...e}),$?.suffix){let e=O.delivery_methods?.[t];(0,E.gaEvent)({action:"delivery_selected",category:"shop",label:`method_id:${t}|cost:${e?.shipping_rate||0}`,additionalProps:{clubSuffix:$.suffix}})}}catch(t){let e=O.delivery_preference;V(e&&("P"===e||"D"===e)?e:"P")}finally{J(!1)}}},eu=e=>(0,a.jsx)(P.FormattedNumber,{value:e,style:"currency",currencyDisplay:"narrowSymbol",currencySign:"standard",currency:$?.currency?.code||"EUR"});return Z||!q?(0,a.jsx)(c.default,{sx:{display:"flex",justifyContent:"center",alignItems:"center",minHeight:"200px"},children:(0,a.jsx)(p.default,{})}):O?(0,a.jsxs)(c.default,{children:[(0,a.jsx)(c.default,{sx:{display:"flex",justifyContent:"space-between",alignItems:"flex-start",mb:3},children:(0,a.jsx)(s.default,{href:G,children:(0,a.jsx)(k.FormattedMessage,{...R.shopSh
56aredMessages.back})})}),(0,a.jsx)(c.default,{sx:{pb:4},children:(0,a.jsx)(r.Headline2,{children:(0,a.jsx)(k.FormattedMessage,{...N["shop.delivery.methods"]})})}),(0,a.jsx)(r.Paragraph1,{sx:{mb:4,color:B.props.sectionMode.text_background,opacity:.7},children:(0,a.jsx)(k.FormattedMessage,{...N["shop.delivery.select_methods"]})}),(0,a.jsx)(g.default,{component:"fieldset",sx:{width:"100%"},children:(0,a.jsx)(y.default,{value:H,onChange:ed,children:eo.map(e=>{var s;let l,m;return(0,a.jsx)(c.default,{sx:{mb:5},children:(0,a.jsxs)(c.default,{sx:{backgroundColor:B.props.sectionMode.card,border:`1px solid ${B.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,a.jsxs)(c.default,{sx:{display:"flex",alignItems:"center",justifyContent:"space-between",mb:2},children:[(0,a.jsx)(c.default,{sx:{display:"flex",alignItems:"center",flex:1},children:(0,a.jsx)(h.default,{value:e.value,control:(0,a.jsx)(b.default,{disabled:Q,sx:{mr:1,color:B.props.sectionMode.text_background,"&.Mui-checked":{color:B.props.sectionMode.accent}}}),label:(0,a.jsxs)(c.default,{sx:{display:"flex",alignItems:"center",gap:1},children:[(0,a.jsxs)(c.default,{sx:{display:"flex",alignItems:"center",gap:1},children:[(0,a.jsx)(r.Paragraph1,{sx:{fontWeight:600},children:e.title}),e.preference&&(0,a.jsx)(r.Paragraph1,{sx:{color:B.props.sectionMode.text_background,opacity:.7},children:e.preference})]}),Q&&H===e.value&&(0,a.jsx)(p.default,{size:16,thickness:4})]}),sx:{alignItems:"center"}})}),(0,a.jsx)(x.default,{onClick:()=>{var t;return t=e.key,void K(e=>({...e,[t]:!e[t]}))},sx:{p:1},children:Y[e.key]?(0,a.jsx)(d.default,{sx:{color:B.props.sectionMode.accent}}):(0,a.jsx)(u.default,{sx:{color:B.props.sectionMode.accent}})})]}),Y[e.key]&&(0,a.jsxs)(c.default,{sx:{ml:4},children:[e.showPickup&&e.pickupItems.length>0&&(0,a.jsxs)(c.default,{sx:{mb:3*!!e.showShipping},children:[(0,a.jsx)(r.Paragraph2,{sx:{fontWeight:600,my:4},children:(0,a.jsx)(k.FormattedMessage,{...N["shop.delivery.pickup_description"]})}),e.pickupItems.map(e=>(0,a.jsxs)(c.default,{sx:{display:"flex",gap:"12px",padding:"12px 0",borderTop:`1px solid ${B.props.sectionMode.text_background}20`,mb:2},children:[(0,a.jsx)(c.default,{sx:{width:72,height:72,borderRadius:"4px",flexShrink:0,backgroundColor:B.props.sectionMode.card,overflow:"hidden",display:"flex",alignItems:"center",justifyContent:"center",position:"relative"},children:(0,a.jsx)(M.default,{src:(0,o.getProductImageSrcOrDefault)((0,n.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,a.jsxs)(c.default,{sx:{flex:1},children:[(0,a.jsx)(r.Paragraph1,{sx:{fontWeight:600,mb:.5},children:e.item.name}),(0,a.jsx)(i.OrderLineVariantMeta,{item:e}),(0,a.jsx)(r.Paragraph1,{sx:{mb:1,color:B.props.sectionMode.text_background,opacity:.7},children:e.quantity}),(0,a.jsx)(r.Paragraph1,{sx:{fontWeight:600},children:eu(e.price)})]})]},e.id))]}),e.showShipping&&e.shippingItems.length>0&&(0,a.jsxs)(c.default,{children:[(0,a.jsx)(r.Paragraph2,{sx:{fontWeight:600,my:4},children:(0,a.jsx)(k.FormattedMessage,{...N["shop.delivery.shipping_only"]})}),e.shippingItems.map(e=>(0,a.jsxs)(c.default,{sx:{display:"flex",gap:"12px",padding:"12px 0",borderTop:`1px solid ${B.props.sectionMode.text_background}20`,mb:2},children:[(0,a.jsx)(c.default,{sx:{width:72,height:72,borderRadius:"4px",flexShrink:0,backgroundColor:B.props.sectionMode.card,overflow:"hidden",display:"flex",alignItems:"center",justifyContent:"center",position:"relative"},children:(0,a.jsx)(M.default,{src:(0,o.getProductImageSrcOrDefault)((0,n.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,a.jsxs)(c.default,{sx:{flex:1},children:[(0,a.jsx)(r.Paragraph1,{sx:{fontWeight:600,mb:.5},children:e.item.name}),(0,a.jsx)(i.OrderLineVariantMeta,{item:e}),(0,a.jsx)(r.Paragraph1,{sx:{mb:1,color:B.props.sectionMode.text_background,opacity:.7},children:e.quantity}),(0,a.jsx)(r.Paragraph1,{sx:{fontWeight:600},children:eu(e.price)})]})]},e.id)),(0,a.jsx)(f.default,{sx:{mt:2,mb:3}})]})]}),(0,a.jsx)(c.default,{sx:{ml:4,mt:2},children:(s=en?e.value:H,l=O?.delivery_methods?.[s],m={subTotal:l?.sub_total??0,shippingRate:l?.shipping_rate??0,totalVat:l?.total_vat??0,total:l?.total??0},(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(r.Paragraph1,{sx:{mb:1},children:(0,a.jsx)(k.FormattedMessage,{...N["shop.delivery.subtotal"],values:{amount:eu(m.subTotal)}})}),(0,a.jsx)(r.Paragraph1,{sx:{mb:1},children:(0,a.jsx)(k.FormattedMessage,{...N["shop.delivery.shipping"],values:{amount:eu(m.shippingRate)}})}),(0,a.jsx)(r.Paragraph1,{sx:{mb:1},children:(0,a.jsx)(k.FormattedMessage,{...N["shop.delivery.vat"],values:{amount:eu(m.totalVat)}})}),(0,a.jsx)(r.Paragraph1,{sx:{fontWeight:600,mb:2},children:(0,a.jsx)(k.FormattedMessage,{...N["shop.delivery.total"],values:{amount:eu(m.total)}})})]}))})]})},e.key)})})}),(0,a.jsx)(c.default,{sx:{display:"flex",justifyContent:"flex-end",mt:4},children:(0,a.jsx)(m.default,{variant:"contained",color:"primary",size:"large",onClick:()=>{O?.hash&&(et(!0),A.push((0,I.withOrderHashInQuery)(U,O.hash)))},disabled:Q||ee,children:ee?(0,a.jsx)(k.FormattedMessage,{...N["shop.delivery.proceeding"]}):(0,a.jsx)(k.FormattedMessage,{...N["shop.delivery.proceed_to_payment"]})})})]}):null};e.s(["default",0,function(e){return(0,a.jsx)(A,{...e})}],165082)},961284,e=>{"use strict";var t=e.i(843476),a=e.i(642184),s=e.i(329568),i=e.i(728618),r=e.i(659712),l=e.i(819646),n=e.i(11),o=e.i(888244);e.s(["default",0,function(e){let{section:d}=e,u=(0,n.useIntl)();return(0,t.jsxs)(l.default,{children:[(0,t.jsx)(l.default,{display:"flex",justifyContent:(0,o.justifyContentMapper)(d?.customize?.format?.alignment),children:(0,t.jsx)(a.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,s.downloadUrl)(d?.content?.document?.url,!0)}})]})}])},881020,e=>{"use strict";var t=e.i(843476),a=e.i(481926),s=e.i(229160),i=e.i(367986),r=e.i(844722),l=e.i(659360),n=e.i(782547),o=e.i(691102),d=e.i(324101),u=e.i(659712),c=e.i(509436),m=e.i(776552),p=e.i(618566),f=e.i(112458),g=e.i(314632),h=e.i(356915);function x({educationSeminar:e}){let a=(0,g.useSystemPagePath)(o.WebsitePageType.EDUCATION_COURSE),s=(0,p.useRouter)(),i=e?.courses??[];return 0!==i.length&&a?(0,t.jsxs)(m.Box,{children:[(0,t.jsx)(n.Headline2,{sx:{mb:3},children:(0,t.jsx)(f.FormattedMessage,{...u.sectionMessages["educational.material.linked_to_event"]})}),(0,t.jsx)(m.Box,{className:h.default.coursesContainer,children:i.map(e=>(0,t.jsx)(l.TabDiv,{className:h.default.courseContainer,onClick:()=>s.push(`${a}/${e.id}`),children:(0,t.jsx)(r.default,{children:(0,t.jsxs)(m.Box,{className:h.default.course,children:[(0,t.jsxs)(m.Box,{className:h.default.courseContent,children:[(0,t.jsx)(n.Paragraph2,{children:(0,t.jsx)("strong",{children:e.name})}),(0,t.jsx)(n.Paragraph2,{className:h.default.description,children:e.description})]}),(0,t.jsx)(m.Box,{className:h.default.courseArrow,children:(0,t.jsx)(c.default,{})})]})})},(0,d.getListItemKey)("seminar-course",e.id)))})]}):null}var b=e.i(413518),y=e.i(364384),_=e.i(271645);e.s(["default",0,function(e){let{data:r}=e,{event:l,countries:n,categories:o,groups:d,tags:u,educationSeminar:c}=r,{placeholders:f}=e.data,{extendTranslations:g}=(0,y.useTranslations)(),{website:h}=(0,b.useClub)(),j=(0,p.useRouter)();return(0,_.useEffect)(()=>{(0,s.isEmpty)(f)||g(f)},[f]),(0,t.jsxs)(m.Box,{children:[(0,t.jsx)(m.Box,{pb:6,children:(0,t.jsx)(a.default,{isClubExternal:!h?.new_website,onClick:()=>j.back()})}),(0,t.jsx)(i.default,{eventInfo:l,countriesInfo:n,categoriesInfo:o,groupsInfo:d,organizerClub:null,tags:u}),c&&(0,t.jsx)(m.Box,{pt:6,children:(0,t.jsx)(x,{educationSeminar:c})})]})}],881020)},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";
56var t=e.i(843476),a=e.i(838286),s=e.i(728618),i=e.i(659712),r=e.i(166540),l=e.i(618566),n=e.i(271645),o=e.i(11);e.s(["default",0,function(e){let{data:d,section:u}=e,{form:c}=d,m=(0,l.usePathname)(),p=(0,o.useIntl)(),f=`/steps/view/form_select_account/${c.id}?steps=view_form_select_account,view_form_personal_data,view_form_questions,view_form_payments&start_page=${a.StartPage.WEB_PAGE}&path=${m}`,g=(0,n.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)(s.default,{alignment:u?.customize?.format?.alignment,title:c.name,paragraph:g?p.formatMessage(i.sectionMessages["forms.form_expired"]):c.description,button:!g,buttonLink:f,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),a=e.i(413518),s=e.i(618566),i=e.i(271645),r=e.i(997221),l=e.i(723394),n=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>=l.GALLERIES_PAGE_LIMIT),{section:f}=e,{prefix:g}=(0,a.useClub)(),h=(0,s.useSearchParams)().get("categories");return(0,t.jsx)(n.default,{hasLazyLoading:!0,hasMore:m,onFetchNext:x,isPage:!0,...e,galleries:u});async function x(){let e=f?.content?.teams||[],t=h||f?.content?.categories?.map(e=>e.id)?.join(","),a={_groups:e.map(e=>e.id),_limit:l.GALLERIES_PAGE_LIMIT,_offset:l.GALLERIES_PAGE_LIMIT*o};t&&(a._categories=t);let s=await (0,r.getGalleries)({clubPrefix:g,params:a}).catch(()=>[]);d(e=>e+1),c(e=>e.concat(s)),0===s.length&&p(!1)}}])},958674,e=>{"use strict";var t=e.i(843476),a=e.i(710269),s=e.i(709805),i=e.i(306691),r=e.i(642184),l=e.i(782547),n=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),f=e.i(364384),g=e.i(11),h=e.i(314632),x=e.i(723394);e.s(["default",0,function(e){let{galleries:b,title:y,isPage:_,hasLazyLoading:j,hasMore:v,onFetchNext:M,section:S}=e,C=(0,g.useIntl)(),k=(0,h.useSystemPagePath)(n.WebsitePageType.GALLERY),P=(0,h.useSystemPagePath)(n.WebsitePageType.GALLERIES),{simpleDateFormatter:w}=(0,f.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:b.map(e=>(0,t.jsx)(p.default,{size:{xs:12,sm:12,md:4},children:(0,t.jsx)(u.default,{link:`${k}/${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"])} • ${w(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)(l.Headline2,{children:y})}),0===b.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)(s.default,{dataLength:b.length,next:M,className:o.default.infiniteList,hasMore:v,loader:(0,t.jsx)(i.default,{}),children:E}):E,!_&&b.length>0&&(0,t.jsx)(m.default,{justifyContent:"center",display:"flex",pb:4,children:(0,t.jsx)(a.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),a=e.i(710269),s=e.i(782547),i=e.i(691102),r=e.i(867129),l=e.i(574721),n=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,f=(0,u.useIntl)(),g=(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)(s.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:f.formatMessage(n.sectionMessages["galleries.no_photos"]),fullScreenSize:2,smallScreenSize:2})}),p.pictures?.map(e=>(0,t.jsx)(d.default,{size:6,children:(0,t.jsx)(l.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)(a.default,{applyBackgroun
56dColor:!0,href:g,children:f.formatMessage(n.sectionMessages["website.view_more"])})})]})]})}])},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/20h6x9ja-4eqw.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),a=e.i(856931),s=e.i(229160),i=e.i(364384),r=e.i(271645),l=e.i(186153),n=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),f=e.i(155451),g=e.i(691102),h=e.i(505229),x=e.i(124545),b=e.i(329568),y=e.i(33612),_=e.i(659712),j=e.i(442439),v=e.i(914245),M=e.i(819646),S=e.i(937910),C=e.i(210557),k=e.i(413518),P=e.i(166540),w=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 R=e.i(564366);function L(e){let{games:t,initialGameIndex:a}=e,[s,i]=(0,r.useState)(e.initialLoadedGames),[l,n]=(0,r.useState)({}),{prefix:o}=(0,k.useClub)(),[d,u]=(0,r.useState)(a),c=t[d]?.id;return(0,r.useEffect)(()=>{"number"!=typeof c||s[c]||l[c]||m(c)},[c]),{currentIndex:d,currentGame:s[c],onNavigate:function(e){u(t=>"next"===e?t+1:t-1)}};async function m(e){if(!l[e]&&!s[c]){n(t=>({...t,[e]:!0}));let t=await (0,R.getGame)(e,{clubPrefix:o}).catch(()=>null);i(a=>({...a,[e]:t})),n(t=>({...t,[e]:!1}))}}}function A(e){let{translations:{messages:a}}=(0,i.useTranslations)(),{games:s,countries:T,categories:R,group:A,closestGameIndex:$,initialLoadedGames:F}=e,{currentGame:O,currentIndex:D,onNavigate:z}=L({initialLoadedGames:F,initialGameIndex:$,games:s}
56),q=!O,B=(0,w.useIntl)(),{club:G}=(0,k.useClub)(),W=(0,r.useMemo)(()=>!!O&&(0,P.default)(O?.start_date).isAfter(),[O]),U=`${(0,I.useSystemPagePath)(g.WebsitePageType.GAME)}/${O?.id}`,H=(0,r.useMemo)(function(){let e=(0,P.default)(O?.start_date);return`${e.format("HH")}:${e.format("mm")}`},[O]),V=0===s.length,{simpleDateFormatter:Y}=(0,i.useTranslations)(),K=(0,C.useTheme)().props.sectionMode.text_background,Q=(0,b.hasScore)(O);if(V||!A)return(0,t.jsx)(M.default,{children:(0,t.jsx)(N,{title:B.formatMessage(_.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:(W||O.cancelled)&&E.default.teamPadding,children:J(O?.team1)}),(0,t.jsx)(S.default,{size:{xs:6,lg:4},children:(0,t.jsx)(d.default,{link:U,children:(0,t.jsxs)(M.default,{height:"100%",display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",textAlign:"center",children:[W&&!O.cancelled&&(0,t.jsx)(p.Paragraph2,{children:B.formatMessage(_.sectionMessages["games.kick_off"])}),O.cancelled&&(0,t.jsx)(p.Paragraph2,{children:B.formatMessage(_.sectionMessages["games.cancelled"])}),(0,t.jsx)(M.default,{pl:2,pr:2,p:3,className:O.cancelled&&Q&&E.default.cancelledText,children:(0,t.jsx)(p.Headline1,{sx:{whiteSpace:"nowrap"},children:W?H:(0,b.displayGameScore)(O)})})]})})}),(0,t.jsx)(S.default,{size:{xs:3,lg:4},className:(W||O.cancelled)&&E.default.teamPadding,children:J(O?.team2)})]})})]}),(0,t.jsx)(M.default,{px:1,sx:{display:{xs:"none",sm:"block"}},children:Z()})]}),(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:Z()})]})})]},3);function J(e){return(0,t.jsx)(d.default,{link:U,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||l.DEFAULT_TEAM_LOGO,failoverImage:l.DEFAULT_TEAM_LOGO}),(0,t.jsx)(p.Paragraph1,{children:(0,t.jsx)("strong",{children:(0,x.generateTagLabel)(e,null,R,a,{showTeamAdditionalInfo:G?.show_team_additional_info})})})]})})}function Z(){return(0,t.jsx)(o.default,{disabled:D===s.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===D,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,y.default)([(0,t.jsx)(n.default,{isPrimary:!1,openInNewWindow:!0,href:f.FLF_TICKETS_LINK,size:"small",children:B.formatMessage(_.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:O?.competition?.name??B.formatMessage(_.sectionMessages["games.friendly_game"])})})})}),(0,t.jsxs)("div",{children:[(0,t.jsx)(p.Headline2,{children:Y(O?.start_date,"DD.MM.YYYY")}),(0,t.jsx)(p.Paragraph1,{children:(0,t.jsx)("strong",{children:(0,h.getVenueDescription)(O,T,a)})})]})]})}}var $=e.i(790849),F=e.i(714473),O=e.i(449894),D=e.i(567160),z=e.i(618566),q=e.i(196812),B=e.i(584265),G=e.i(196699);function W(e){let{games:a,categories:i,gamedays:l}=e,n=(0,r.useMemo)(()=>(0,s.groupBy)(a,"game_day"),[a]),o=(0,w.useIntl)();return(0,t.jsxs)(M.default,{pb:4,children:[l.map(e=>d(n[e],e)),n.undefined&&d(n.undefined)]});function d(e,a){return e?.length?(0,t.jsxs)(M.default,{pb:4,children:[(0,t.jsx)(M.default,{pb:4,children:a&&(0,t.jsx)(p.Headline3,{children:(0,G.isNumericGameday)(a)?`${o.formatMessage(_.sectionMessages["section.label.gameday"])} ${a}`:a})}),e.map(e=>(0,t.jsx)(B.default,{game:e,categories:i}
56,e.id))]},a||"default"):null}}var U=e.i(251522);function H(e){let{data:a}=e,{games:i,categories:l,group:n,league:o,season:d,seasons:u,leagues:m,rounds:f}=a,g=(0,z.useParams)(),h=(0,s.isUndefined)(g.slug)||(0,s.isEmpty)(g.slug)?null:g.slug[0],{prefix:x,pathPrefix:y}=(0,k.useClub)(),[j,v]=(0,r.useState)((0,G.adjustGameDaysOfGames)(i,f)),[C,P]=(0,r.useState)(""),[I,E]=(0,r.useState)(d?.id||0),[T,N]=(0,r.useState)(o?.id||0),[L,A]=(0,r.useState)(u),[H,V]=(0,r.useState)(!1),Y=(0,r.useRef)(!1),[K,Q]=(0,r.useState)(!1),J=(0,r.useRef)(!1),Z=(0,w.useIntl)(),X=(0,r.useMemo)(()=>m?.find(e=>e.id===T),[T]);(0,r.useEffect)(()=>{Y.current&&!H&&I&&es({season:I,league:T});let t="web"===y?"":y,a=e.isPreview?`${t}/preview`:t,s=g?.prefix==="web"?"":a,i=`/${[s,h].filter(Boolean).join("/")}`,r=(0,D.buildUrlFromParams)(i,{groups:n?.id,leagues:T,seasons:I},["leagues","groups","seasons"],{});window.history.replaceState(null,"",r),Y.current=!0,P("")},[I,T]);let ee=(0,r.useMemo)(()=>!n&&j?.length?(0,G.orderGamedaysByPhase)(j,f):[],[j,n,f]);(0,r.useEffect)(()=>{J.current&&ei({league:T}),J.current=!0},[T]),(0,r.useEffect)(()=>{T&&m?.length&&(m.find(e=>e.id===T)||T===U.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]),ea=[{label:Z.formatMessage(_.sectionMessages["section.results.all_leagues"]),value:0}].concat(m?.map(e=>({label:e.name,value:e.id}))).concat([{label:Z.formatMessage(_.sectionMessages["section.games.friendly_games"]),value:U.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)(O.default,{categories:l,initialIndex:1,group:n,league:o,seasonId:I}),(0,t.jsx)(M.default,{pb:4,children:(0,t.jsxs)(S.default,{container:!0,spacing:"8px",children:[n&&(0,t.jsx)(S.default,{size:{xs:12,sm:5,md:5},children:(0,t.jsx)($.default,{id:"league",value:T,name:"league",label:Z.formatMessage(_.sectionMessages["section.label.league"]),options:ea,onChange:e=>{N(Number(e.target.value))}})}),(0,t.jsx)(S.default,{size:{xs:12,sm:5,md:5},children:(0,t.jsx)($.default,{id:"season",value:I,name:"season",label:Z.formatMessage(_.sectionMessages["section.label.season"]),options:L?.map(e=>({label:e.name,value:e.id}))||[],onChange:e=>E(Number(e.target.value))})}),!n&&(0,t.jsx)(S.default,{size:{xs:12,sm:5,md:5},children:(0,t.jsx)($.default,{id:"gameday",value:C,name:"gameday",label:Z.formatMessage(_.sectionMessages["section.label.gameday"]),options:[{label:Z.formatMessage(_.sectionMessages["section.label.all"]),value:"all"},...ee.map(e=>({label:(0,G.isNumericGameday)(e)?`${Z.formatMessage(_.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&&n&&et.map(e=>(0,t.jsx)(B.default,{selectedLeague:X,showLeague:!0,game:e,categories:l},e.id)),!K&&!n&&(0,t.jsx)(W,{gamedays:ee,games:et,categories:l}),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:Z.formatMessage(_.sectionMessages["table.empty"])})})}),(0,t.jsx)(M.default,{pb:4,children:(0,t.jsx)(F.default,{rows:4})})]})]})]});async function es({season:e,league:t}){Q(!0);let a=[];(a=t&&t!==U.FRIENDLY_GAMES_ID?await (0,R.getGroupLeagueGames)({leagueId:t,groupId:n?.id,seasonId:e,clubPrefix:x}).catch(()=>[]).finally(()=>Q(!1)):await (0,R.getGroupGames)({groupId:n?.id,seasonId:e,clubPrefix:x,isFriendly:t===U.FRIENDLY_GAMES_ID}).catch(()=>[]).finally(()=>Q(!1))).sort(b.gameSorter),v((0,G.adjustGameDaysOfGames)(a,f))}async function ei({league:e}){V(!0);let t=[];e&&e!==U.FRIENDLY_GAMES_ID?t=await (0,q.getLeagueSeasonsWithGames)({clubPrefix:x,leagueId:e,groupId:n?.id}).catch(()=>[]):n&&(t=await (0,q.getSeasonsByType)({clubPrefix:x,seasonTypeId:n?.season_type_id})),A(t);let a=t.find(e=>e.id===I),s=t.find(e=>e.current);(V(!1),s||a)?E(s?s?.id:a?.id):(E(t[0]?.id||0),v([]))}}var V=e.i(189224),Y=e.i(159463),K=e.i(710269),Q=e.i(322469);
56let J=(0,e.i(770703).default)(()=>e.A(877013),{loadableGenerated:{modules:[444472]},ssr:!1});function Z(e){let{translations:{messages:a}}=(0,i.useTranslations)(),{games:s,countries:n,categories:d,group:f,closestGameIndex:y,initialLoadedGames:C,section:R}=e,{currentGame:A,currentIndex:$,onNavigate:F}=L({initialLoadedGames:C,initialGameIndex:y,games:s}),O=!A,D=(0,w.useIntl)(),{club:z}=(0,k.useClub)(),q=(0,r.useMemo)(()=>!!A&&(0,b.checkFutureGame)(A),[A]),B=`${(0,I.useSystemPagePath)(g.WebsitePageType.GAME)}/${A?.id}`,G=(0,r.useMemo)(function(){let e=(0,P.default)(A?.start_date);return`${e.format("HH")}:${e.format("mm")}`},[A]),W=!s||0===s.length,{simpleDateFormatter:U}=(0,i.useTranslations)(),H=(0,b.hasScore)(A),V=(0,b.displayLiveStreamButton)(A),Z=(0,b.displayReplayButton)(A);if(W||!f)return(0,t.jsx)(M.default,{children:(0,t.jsx)(N,{title:D.formatMessage(_.sectionMessages["games.empty"])})},1);if(O)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:es()}),(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:[es(),ea()]})}),(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:D.formatMessage(_.sectionMessages["games.kick_off"])}),A.cancelled&&(0,t.jsx)(p.Paragraph2,{children:D.formatMessage(_.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?G:(0,b.dis
56playGameScore)(A)})})}),(V||Z)&&(0,t.jsx)(M.default,{pt:4,sx:{display:{md:"none",xs:"block"}},children:(0,t.jsx)(Y.default,{streamLink:A.stream_link,showLiveStream:V})})]})}),(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)(J,{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:ea()}),(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)(J,{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||l.DEFAULT_TEAM_LOGO,failoverImage:l.DEFAULT_TEAM_LOGO}),(0,t.jsx)(p.Paragraph2,{children:(0,t.jsx)("strong",{children:(0,x.generateTagLabel)(e,null,d,a,{showTeamAdditionalInfo:z?.show_team_additional_info})})})]})}function ee(){return(0,t.jsx)(o.default,{disabled:$===s.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===$,onClick:()=>F("prev"),"aria-label":"Previous Slide",children:(0,t.jsx)(j.default,{})})}function ea(){return(0,t.jsx)(K.default,{applyBackgroundColor:!0,className:E.default.viewEvent,href:B,children:D.formatMessage(_.sectionMessages["calendar.more_information"])})}function es(){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??D.formatMessage(_.sectionMessages["games.friendly_game"])})})})}),(0,t.jsx)(p.Headline3,{children:U(A?.start_date,"DD.MM.YYYY")}),(V||Z)&&(0,t.jsx)(M.default,{sx:{display:{xs:"none",sm:"block"}},children:(0,t.jsx)(Y.default,{streamLink:A.stream_link,showLiveStream:V})}),(0,t.jsx)(p.Paragraph2,{className:E.default.venueDesctipntion,children:(0,h.getVenueDescription)(A,n,a)})]})}}e.s(["default",0,function(e){let{placeholders:l}=e.data,{layout:n}=e.section,{extendTranslations:o}=(0,i.useTranslations)();return((0,r.useEffect)(()=>{(0,s.isEmpty)(l)||o(l)},[l]),n===a.SectionLayoutType.DEFAULT)?(0,t.jsx)(H,{...e}):n===a.SectionLayoutType.TEAM?(0,t.jsx)(Z,{...e.data}):n===a.SectionLayoutType.FLF?(0,t.jsx)(A,{...e.data}):(0,t.jsx)(V.default,{...e})}],461762)},189224,353140,584265,e=>{"use strict";var t,a=e.i(843476),s=e.i(186153),i=e.i(710269),r=e.i(946603),l=e.i(702141),n=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),f=e.i(819646),g=e.i(937910),h=e.i(413518),x=e.i(618566),b=e.i(271645),y=e.i(11),_=e.i(564366),j=e.i(314632),v=e.i(159463),M=e.i(844722),S=e.i(877271),C=e.i(228488),k=e.i(776552),P=e.i(866796),w=e.i(112458),I=e.i(335571);function E(){return(0,a.jsxs)(k.Box,{className:I.default.root,children:[(0,a.jsx)(k.Box,{className:I.default.badgeCircle}),(0,a.jsx)(P.Typography,{variant:"body2",className:I.default.badgeText,children:(0,a.jsx)(w.FormattedMessage,{...C.eventPageMessages["event.page.live"]})})]})}var T=e.i(528923),N=e.i(775572),R=e.i(124545),L=e.i(207670),A=e.i(364384),$=e.i(166540),F=e.i(495907),O=e.i(650832),D=((t={}).DEFAULT="default",t.FLF="flf",t);function z(e){var t;let i,r,n,{game:m,categories:p,showLeague:x,selectedLeague:b,gameCardType:_}=e,{translations:{messages:C},simpleDateFormatter:k}=(0,A.useTranslations)(),P=(0,y.useIntl)(),{club:I}
56=(0,h.useClub)(),z=(0,j.useSystemPagePath)(d.WebsitePageType.GAME),q=m?.competition||b,B=_===D.FLF,G=(0,L.default)(F.default.team,x&&F.default.teamLeagueButton,B&&F.default.teamFlf),W=(0,u.hasScore)(m),U=(0,u.displayLiveStreamButton)(m),H=(0,u.displayReplayButton)(m),V=!m?.team1&&!m?.team2&&m?.information?(0,a.jsx)(f.default,{display:"flex",justifyContent:"center",className:F.default.slugContainer,children:(0,a.jsx)(o.Paragraph2,{children:m.information})}):null;return(0,a.jsx)(S.default,{link:`${z}/${m.id}`,children:(0,a.jsx)(f.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,a.jsx)(M.default,{children:(0,a.jsxs)(f.default,{px:4,children:[x&&(0,a.jsx)(f.default,{display:"flex",justifyContent:"center",className:F.default.slugContainer,children:(0,a.jsx)(N.Slug,{imgSrc:"https://dk9pqlttm1g0o.cloudfront.net/2026-06-29-a/images/websites/Match.svg",text:(0,a.jsx)(o.Paragraph2,{isAccent:!0,children:(0,a.jsx)("strong",{children:q?.name||P.formatMessage(c.sectionMessages["games.friendly_game"])})})})}),V,(0,a.jsxs)(g.default,{container:!0,children:[(0,a.jsx)(g.default,{size:{xs:5},container:!0,display:"flex",alignItems:"center",className:G,justifyContent:"flex-end",children:Y(m.team1,F.default.teamLeft)}),(0,a.jsx)(g.default,{size:{xs:2},container:!0,display:"flex",alignItems:"center",justifyContent:"center",children:(t=m,i=(0,$.default)(t.start_date),r=(0,u.checkFutureGame)(t),n=(0,u.checkGameIsLive)(t),(0,a.jsxs)(f.default,{textAlign:"center",className:F.default.noWrap,children:[r?(0,a.jsx)(o.Paragraph1,{children:`${i.format("HH")}:${i.format("mm")}`}):(0,a.jsx)(o.Headline3,{className:t.cancelled&&W&&F.default.cancelledText,children:(0,u.displayGameScore)(t)}),"number"==typeof t.score1_penalties&&"number"==typeof t.score2_penalties&&(0,a.jsx)(o.Paragraph2,{children:(0,a.jsx)(T.PenaltyScore,{scorePenalty1:t.score1_penalties,scorePenalty2:t.score2_penalties})}),t.forfeit&&(0,a.jsx)(o.Paragraph2,{children:P.formatMessage(c.sectionMessages["games.forfeit"])}),(0,a.jsx)(o.Paragraph2,{children:t.cancelled?P.formatMessage(c.sectionMessages["games.cancelled"]):k(t.start_date,"DD.MM.YYYY")}),(0,a.jsxs)(f.default,{sx:{paddingTop:+!!n,paddingBottom:+!!n},children:[n&&(0,a.jsx)(E,{}),(U||H)&&(0,a.jsx)("div",{className:B?F.default.liveStreamButtonMobileFLF:F.default.liveStreamButtonMobile,children:(0,a.jsx)(v.default,{streamLink:t.stream_link,showLiveStream:U})})]})]}))}),(0,a.jsx)(g.default,{size:{xs:5},container:!0,display:"flex",alignItems:"center",className:G,justifyContent:"flex-end",direction:"row-reverse",children:Y(m.team2,F.default.teamRight,!0,U||H)})]})]})})})});function Y(e,t,i,r){let n=B?e?.name:(0,R.generateTagLabel)(e,null,p,C,{showTeamAdditionalInfo:I?.show_team_additional_info}),d=B?F.default.teamInnerParapraphFLF:F.default.teamInnerParapraph,u=B?F.default.teamInnerParapraphSecondFLF:F.default.teamInnerParapraphSecond;return(0,a.jsxs)("div",{className:`${F.default.teamInner} ${i?F.default.teamInnerReverse:""}`,children:[r&&!B&&(0,a.jsx)("div",{className:F.default.liveStreamButton,children:(0,a.jsx)(v.default,{streamLink:m.stream_link,showLiveStream:U})}),(0,a.jsxs)("div",{className:`${F.default.teamInner} ${i?u:d}`,children:[(0,a.jsx)("div",{children:(0,a.jsx)("div",{style:{width:"100%"},children:(0,a.jsx)(o.Paragraph2,{children:B?n||(0,a.jsx)(w.FormattedMessage,{...O.gamesMessages.to_be_announced}):(0,a.jsx)("strong",{children:n||(0,a.jsx)(w.FormattedMessage,{...O.gamesMessages.to_be_announced})})})})}),(0,a.jsx)("div",{children:(0,a.jsx)(l.Img,{mods:B?"w24":"w48",className:t,src:e?.pic||s.DEFAULT_TEAM_LOGO,failoverImage:s.DEFAULT_TEAM_LOGO})})]})]})}}function q(e){return(0,a.jsxs)(f.default,{children:[(0,a.jsx)(f.default,{pb:4,display:"flex",children:(0,a.jsx)(o.Headline3,{children:e.title})}),(0,a.jsxs)(g.default,{container:!0,spacing:"8px",size:12,alignItems:"center",children:[(0,a.jsx)(g.default,{size:12,children:(0,a.jsx)(M.default,{children:(0,a.jsx)(f.default,{height:90,children:" "})})}),(0,a.jsx)(g.default,{size:12,children:(0,a.jsx)(M.default,{children:(0,a.jsx)(f.default,{height:90,children:" "})})}),(0,a.jsx)(g.default,{size:12,children:(0,a.jsx)(M.default,{children:(0,a.jsx)(f.default,{height:90,children:" "})})})]})]})}e.s(["GameCardLayoutType",()=>D],353140),e.s(["default",0,z],584265);var B=e.i(251522),G=e.i(196699);e.s(["default",0,function(e){let{data:t,section:v,gameCardType:M,hideHeader:S,hideViewMore:C}=e,{league:k,games:P,categories:w,chunkedGames:I,leagueGamesIndex:E,currentWeekIndex:T}=t,N=(0,y.useIntl)(),[R,L]=(0,b.useState)(E),[A,$]=(0,b.useState)(!1),[O,D]=(0,b.useState)(P),W=`${(0,j.useSystemPagePath)(d.WebsitePageType.RESULTS)}/leagues/${k?.id}`,U=(0,x.useParams)(),H=P?.length==0,V=1===I.length&&0===O.length,{prefix:Y}=(0,h.useClub)();return(0,a.jsxs)(f.default,{children:[!S&&(0,a.jsxs)(f.default,{pb:4,display:"flex",alignItems:"center",children:[(0,a.jsx)(f.default,{mr:2,children:(0,a.jsx)(l.Img,{mods:"w48",src:k?.picture??s.DEFAULT_TEAM_LOGO,failoverImage:s.DEFAULT_TEAM_LOGO})}),(0,a.jsx)(o.Headline2,{children:k?.name})]}),(0,a.jsx)(f.default,{pb:4,children:(0,a.jsxs)(g.default,{container:!0,children:[(0,a.jsx)(g.default,{size:{xs:6},container:!0,justifyContent:"flex-start",className:F.default.navigationButton,children:0!==R&&!H&&(0,a.jsx)(r.default,{href:`?${new URLSearchParams(Q(R-1))}`,onClick:e=>{e.preventDefault(),K("prev")},startIcon:(0,a.jsx)(m.default,{}),children:N.formatMessage(c.sectionMessages["games.previous_week"])})}),(0,a.jsx)(g.default,{size:{xs:6},container:!0,justifyContent:"flex-end",className:F.default.navigationButton,children:!(R>=I.length-1)&&!H&&(0,a.jsx)(r.default,{href:`?${new URLSearchParams(Q(R+1))}`,onClick:e=>{e.preventDefault(),K("next")},endIcon:(0,a.jsx)(p.default,{}),children:N.formatMessage(c.sectionMessages["games.next_week"])})})]})}),A&&(0,a.jsx)(n.default,{}),!A&&0===O.length&&(0,a.jsx)(f.default,{pb:4,children:(0,a.jsx)(q,{title:N.formatMessage(c.sectionMessages["games.empty"])})}),!A&&O.map(e=>(0,a.jsx)(z,{gameCardType:M,game:e,categories:w}
56,e.id)),!V&&!A&&I.length>0&&!C&&(0,a.jsx)(f.default,{display:"flex",justifyContent:"center",children:(0,a.jsx)(i.default,{applyBackgroundColor:!0,href:W,children:N.formatMessage(c.sectionMessages["website.view_more"])})})]});function K(e){var t;let a,s=R;"next"===e?s+=1:s-=1,L(s),t=s,$(!0),Promise.all(I[t].map(e=>(0,_.getGame)(e.id,{clubPrefix:Y}))).then(e=>{e.sort(u.gameSorter),D(e)}).finally(()=>{$(!1)}),a=Q(s,{direction:U.direction,page:U.page,[B.LEAGUE_KEY]:U[B.LEAGUE_KEY]}),window.history.pushState({},"",`?${new URLSearchParams(a)}`)}function Q(e,t={}){let a=(0,G.getGameSectionQueryString)(v.id);return t[B.LEAGUE_KEY]=k.id,e>T?(t[a.direction]="future",t[a.page]=`${e-T+1}`):e<T?(t[a.direction]="past",t[a.page]=`${e+1}`):(delete t[a.direction],delete t[a.page]),t}}],189224)},251522,e=>{"use strict";let t=Number.MAX_SAFE_INTEGER;e.s(["FRIENDLY_GAMES_ID",0,t,"LEAGUE_KEY",0,"league"])},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 a=e.round?.id||Number(e.game_day),s=t?.find(e=>e.id===a)?.name||e.game_day;return{...e,game_day:s}}return e})},"getClosestGameIndex",0,function(e){let t,a=0,s=new Date().getTime();return e.forEach((e,i)=>{let r=Math.abs(s-new Date(e.start_date).getTime());0===i?t=r:t>r&&(a=i,t=r)}),a},"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 a=[...e].sort((e,a)=>(0,t.default)(e.start_date).valueOf()-(0,t.default)(a.start_date).valueOf()),s=new Map;return a.forEach(e=>{let a=(0,t.default)(e.start_date),i=`${a.isoWeekYear()}-W${String(a.isoWeek()).padStart(2,"0")}`;s.has(i)||s.set(i,[]),s.get(i).push({id:e.id})}),Array.from(s.keys()).sort().map(e=>s.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 a=Number(e);return!!["future","past"].includes(t)&&(!!isNaN(a)||parseInt(e)!=a||!!isNaN(parseInt(e,10))||a>0)},"orderGamedaysByPhase",0,function(e,t){let a=new Map;return(e??[]).forEach(e=>{if("number"==typeof e.round?.id||e.phase?.type==="knockout"){let s=e.round?.id,i=null!=s?`k:${s}`:`kn:${e.game_day}`;a.has(i)||a.set(i,{label:(null!=s?t?.find(e=>e.id===s)?.name:void 0)??e.game_day??"",isKnockout:!0,within:null!=s?s:Number.MAX_SAFE_INTEGER})}else{if(null==e.game_day)return;let t=`s:${e.game_day}`;a.has(t)||a.set(t,{label:e.game_day,isKnockout:!1,within:Number(e.game_day)})}}),Array.from(a.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),a=e.i(782547),s=e.i(659712),i=e.i(819646),r=e.i(937910),l=e.i(166540),n=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:f,data:g}=e,h=(0,o.useIntl)();return(0,t.jsx)("div",{children:g?.members?.length?(0,t.jsxs)(i.default,{children:[(0,t.jsx)(i.default,{pb:4,children:(0,t.jsx)(a.Headline2,{children:f.name})}),(0,t.jsx)(i.default,{pb:4,children:(0,t.jsx)(r.default,{container:!0,spacing:"8px",children:g?.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?.
56jersey_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,a){try{return Object.keys(a).map(s=>{if(a[s]){let a,i,r;return a=p?.find(e=>e===s)?function(e,a){if("gender"===e)return a.sex?(0,t.jsx)(n.FormattedMessage,{id:"gender.female",defaultMessage:"Female"}):(0,t.jsx)(n.FormattedMessage,{id:"gender.male",defaultMessage:"Male"});if("phone"===e)return(0,t.jsx)("a",{href:"tel:"+a.phone,children:a.phone});if("country"===e)return a?.country?.translation;if("nationality"===e)return a?.nationality?.translate||a?.nationality?.translation||a?.nationality?.name||"";if("nationality_two"===e)return a?.nationality_two?.translate||a?.nationality_two?.translation||a?.nationality_two?.name||"";else if("birthday"===e)return a.birthday?(0,l.default)(a.birthday).format("DD/MM/YYYY"):"";else if("positions"===e)return a.positions?.map(e=>g?.positions?.[e])?.join(", ")}(s,e):e?.extra?.find(e=>e.id.toString()===s.toString())?.value,r="string"==typeof e[s]?e[s]:"",a?i=a: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,f.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:h.formatMessage(s.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),a=e.i(782547),s=e.i(776552),i=e.i(937910),r=e.i(271645),l=e.i(243874);e.s(["default",0,function(e){let{title:n,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)(s.Box,{height:"100%",display:"flex",alignItems:"center",textAlign:d,children:(0,t.jsxs)(i.default,{container:!0,spacing:"8px",size:"grow",children:[n&&(0,t.jsx)(i.default,{size:12,children:(0,t.jsx)(a.Headline2,{children:n})}),u&&(0,t.jsx)(i.default,{size:12,className:l.default.preLine,children:(0,t.jsx)("div",{dangerouslySetInnerHTML:{__html:u}})})]})})}])},247662,e=>{"use strict";var t=e.i(843476),a=e.i(481926),s=e.i(790849),i=e.i(306691),r=e.i(376925),l=e.i(782547),n=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),f=e.i(364384),g=e.i(770703),h=e.i(618566),x=e.i(271645),b=e.i(112458),y=e.i(11),_=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,g.default)(()=>e.A(511105),{loadableGenerated:{modules:[696287]}}),C=(0,g.default)(()=>e.A(796952),{loadableGenerated:{modules:[237631]}}),k=(0,g.default)(()=>e.A(85156),{loadableGenerated:{modules:[86387]}});e.s(["default",0,function(e){let{data:g}=e,{event:v,countries:P,categories:w,groups:I,tags:E,iSCompetitionData:T}=g,{placeholders:N}=e.data,{website:R}=(0,p.useClub)(),L=(0,y.useIntl)(),{slug:A}=(0,h.useParams)(),$=(0,h.useSearchParams)(),{extendTranslations:F}=(0,f.useTranslations)();(0,m.useTheme)();let[O,D]=(0,x.useState)($.get("d")||0),[z,q]=(0,x.useState)($.get("ag")||0),B=(0,_.useSystemPagePath)(n.WebsitePageType.CALENDAR),G=`${(0,_.useSystemPagePath)(n.WebsitePageType.ISCOMPETITION)}/${v.id}`,W=[d.ISCompetitionPageTab.DETAILS,d.ISCompetitionPageTab.TIMETABLE,d.ISCompetitionPageTab.RESULTS],[U,H]=(0,x.useState)(A?.[2]||d.ISCompetitionPageTab.DETAILS),[V,Y]=(0,x.useState)(W.indexOf(U));(0,x.useEffect)(()=>{let e=new URLSearchParams($.toString());0===Number(O)&&e.delete("d"),Number(O)>0&&e.set("d",O.toString()),0===Number(z)&&e.delete("ag"),Number(z)>0&&e.set("ag",z.toString());let t=G+(V>0?"/"+U:"");window.history.replaceState(null,"",`${t}?${e.toString()}`)},[O,z]),(0,x.useEffect)(()=>{let e=new URLSearchParams($.toString());H(W[V]);let t=G+(V>0?"/"+W[V]:"");window.history.replaceState(null,"",`${t}${e?`?${e.toString()}`:""}`)},[V]),(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=>
56t.id===e)).filter(e=>void 0!==e),J=Array.from(new Set(T?.sub_events?.map(e=>e.age_groups))).flat().filter(e=>void 0!==e),Z=Array.from(new Set(J.map(e=>e.id))).map(e=>J.find(t=>t.id===e));return(0,t.jsxs)(u.default,{children:[(0,t.jsx)(u.default,{pb:6,children:(0,t.jsx)(a.default,{href:R?.new_website?B:"/calendar",isClubExternal:!R?.new_website,children:(0,t.jsx)(b.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)(l.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:V,onClick:(e,t)=>{Y(t)},tabs:[{title:L.formatMessage(j.sectionMessages["calendar.details"])},{title:L.formatMessage(j.sectionMessages["calendar.timetable"])},{title:L.formatMessage(j.sectionMessages["calendar.results"])}]})})}),U===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:w,groupsInfo:I,organizerClub:null,tags:E})}),(U===d.ISCompetitionPageTab.TIMETABLE||U===d.ISCompetitionPageTab.RESULTS)&&(0,t.jsxs)(M,{pb:4,children:[(0,t.jsx)(s.default,{id:"discipline",value:O,name:"discipline",label:L.formatMessage(j.sectionMessages["section.calendar.disciplines"]),options:[{label:L.formatMessage(j.sectionMessages["section.calendar.all"]),value:0}].concat(Q.map(e=>({label:`${e.name}, ${e.sport?.name}`,value:e.id}))),onChange:e=>{D(e.target.value)}}),(0,t.jsx)(s.default,{id:"age_group",value:z,name:"age_group",label:L.formatMessage(j.sectionMessages["section.calendar.age_groups"]),options:[{label:L.formatMessage(j.sectionMessages["section.calendar.all"]),value:0}].concat(Z.map(e=>({label:e.translate||e.name,value:e.id}))),onChange:e=>{q(e.target.value)}})]}),U===d.ISCompetitionPageTab.TIMETABLE&&(0,t.jsx)(x.Suspense,{fallback:(0,t.jsx)(i.default,{}),children:(0,t.jsx)(k,{discipline:Number(O),ageGroup:Number(z),data:T,countries:P})}),U===d.ISCompetitionPageTab.RESULTS&&(0,t.jsx)(x.Suspense,{fallback:(0,t.jsx)(i.default,{}),children:(0,t.jsx)(C,{discipline:Number(O),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),a=e.i(782547),s=e.i(776552),i=e.i(210557),r=e.i(322013);let l=(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"}}})),n=(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)(s.Box,{children:[(0,t.jsx)(a.Headline2,{sx:{marginBottom:"28px"},children:r.name}),(0,t.jsx)(s.Box,{display:"flex",children:(0,t.jsx)(n,{"data-crop":"crop"===d,children:r.content?.map((e,a)=>(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)(l,{src:e.src,alt:e.image_name,"data-contain":"crop"!==d,"data-max-height":"crop"!==d&&r.content?.length>2})})},`${e.image_name}-${a}`))})})]})}])},44190,e=>{"use strict";var t=e.i(843476),a=e.i(710269),s=e.i(782547),i=e.i(776552),r=e.i(210557),l=e.i(322013),n=e.i(207670),o=e.i(858e3);let d=(0,l.default)(i.Box)(({theme:e})=>
56({width:"100%",display:"flex",gap:"16px",paddingBottom:"16px",flexDirection:"row",[e.breakpoints.down("md")]:{flexDirection:"column"}}));(0,l.default)(i.Box)(({theme:e})=>({width:"100%",display:"flex",gap:"16px",[e.breakpoints.down("xs")]:{display:"none"}}));let u=(0,l.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,l.default)("img")(({theme:e})=>({objectFit:"cover",maxWidth:"100%",maxHeight:"100%"}));e.s(["default",0,function(e){let{section:l}=e;(0,r.useTheme)();let m=l.customize?.format?.imageAspectRatio,p=l.customize?.format?.alignment;return(0,t.jsxs)(i.Box,{children:[(0,t.jsx)(s.Headline2,{sx:{marginBottom:5},className:(0,n.default)("center"===p&&o.default.centerAlignmentTitle),children:l.name}),(0,t.jsx)(i.Box,{display:"flex",children:(0,t.jsx)(d,{flexWrap:"wrap",pb:4,children:l.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)(s.Paragraph1,{className:(0,n.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,n.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)(a.default,{applyBackgroundColor:!0,children:e.imageButtonLinkText})})})]})]},`${e.image_name}-${r}`))})})]})}])},594109,e=>{"use strict";var t=e.i(843476),a=e.i(864354),s=e.i(782547),i=e.i(856931),r=e.i(776552),l=e.i(210557),n=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"}:{},f=u.customize?.format.image_width||"";if((0,l.useTheme)(),!m)return null;let g=u.layout!==i.SectionLayoutType.IMAGE_TITLE&&f||"",h=(0,n.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,n.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)(s.Headline3,{className:(0,o.default)(u.customize?.format?.alignment==="center"&&d.default.centerAlignmentTitle,d.default.titleHeadline),children:u.content?.image_title}),(0,t.jsx)(h,{"data-mode":g,children:(0,t.jsx)("a",{href:u?.content?.url??null,...p,children:(0,t.jsx)(x,{className:"imageContainer",children:(0,t.jsx)(a.default,{mime:u.content?.mime,src:m,style:{}})})})})]})}])},473852,e=>{"use strict";var t=e.i(843476),a=e.i(782547),s=e.i(691102),i=e.i(854570),r=e.i(776552),l=e.i(791882),n=e.i(413518),o=e.i(112458);e.s(["default",0,function(){let{club:e,website:d,modes:u}=(0,n.useClub)(),c=u?.find(e=>e.type===(d?.default_color_mode??s.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,f=e?.tax_id;return(0,t.jsx)(l.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)(a.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)(a.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)(a.Paragraph1,{children:(0,t.jsx)(o.FormattedMessage,{id:"legal.disclaimer.external_links",defaultMessage:"Links to external sites are provided for c
56onvenience. {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)(a.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)(a.Paragraph2,{sx:{fontWeight:600,mb:.5},children:(0,t.jsx)(o.FormattedMessage,{id:"legal.disclaimer.club_name",defaultMessage:"Club Name"})}),(0,t.jsx)(a.Paragraph1,{children:e.name})]}),(e?.address1||e?.address_postal||e?.address_city)&&(0,t.jsxs)(r.Box,{sx:{mb:3},children:[(0,t.jsx)(a.Paragraph2,{sx:{fontWeight:600,mb:.5},children:(0,t.jsx)(o.FormattedMessage,{id:"legal.disclaimer.address",defaultMessage:"Address"})}),(0,t.jsxs)(a.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)(a.Paragraph2,{sx:{fontWeight:600,mb:.5},children:(0,t.jsx)(o.FormattedMessage,{id:"legal.disclaimer.email",defaultMessage:"Contact Email"})}),(0,t.jsx)(a.Paragraph1,{children:m})]}),f&&(0,t.jsxs)(r.Box,{sx:{mb:3},children:[(0,t.jsx)(a.Paragraph2,{sx:{fontWeight:600,mb:.5},children:(0,t.jsx)(o.FormattedMessage,{id:"legal.disclaimer.registration_number",defaultMessage:"Registration Number"})}),(0,t.jsx)(a.Paragraph1,{children:f})]}),p&&(0,t.jsxs)(r.Box,{sx:{mb:3},children:[(0,t.jsx)(a.Paragraph2,{sx:{fontWeight:600,mb:.5},children:(0,t.jsx)(o.FormattedMessage,{id:"legal.disclaimer.legal_representative",defaultMessage:"Legal Representative"})}),(0,t.jsx)(a.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),a=e.i(782547),s=e.i(705729),i=e.i(912919),r=e.i(928748),l=e.i(867129),n=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),f=e.i(413518),g=e.i(627741),h=e.i(259087),x=e.i(618566),b=e.i(271645),y=e.i(11),_=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),k=e.i(112458),P=e.i(825687);function w(e){let{users:s,selectedUserId:i,disabled:r,onSelect:l}=e,n=(0,y.useIntl)(),o=s.map(e=>{var t;let a=(t=e.user)?`${t.firstname||""} ${t.lastname||""}`.trim():null;return{label:e.submitted?`${a} (${n.formatMessage(C.sectionMessages["education.profile.already.submitted"])})`:a,value:e.user?.id}});return(0,t.jsxs)(m.Box,{className:P.default.root,children:[(0,t.jsx)(a.Paragraph1,{children:(0,t.jsx)("strong",{children:(0,t.jsx)(k.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:n.formatMessage(S.profile),value:i??"",options:o,disabled:r,onChange:e=>l(Number(e.target.value))})]})}var I=e.i(356437),E=e.i(710269),T=e.i(141636),N=e.i(306691),R=e.i(24168);let L=e=>{let{type:a,name:s,removeFile:i,onFileChange:r,loading:l}=e,n=(0,b.useRef)(null);return l?(0,t.jsx)(m.Box,{className:R.default.fileLoader,children:(0,t.jsx)(N.default,{size:20})}):s?(0,t.jsx)(T.default,{label:s,onDelete:i}):(0,t.jsxs)(m.Box,{children:[(0,t.jsx)(E.default,{onClick:()=>n.current?.click(),children:(0,t.jsx)(k.FormattedMessage,{...C.sectionMessages["education.upload"]})}),(0,t.jsx)("input",{ref:n,type:"file",accept:"video"===a?"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),$=e.i(828637),$=$,F=e.i(325376),O=e.i(358458),O=O,D=e.i(322190),z=e.i(474131),q=e.i(369437),B=e.i(812497),G=e.i(383216),W=e.i(87845),U=e.i(499683);let H=(0,M.defineMessages)({required:{id:"cookie.banner.checkbox.required",defaultMessage:"Required"}});function V(e){let{questions:s,loading:r,submitQuestions:l}=e,[n,o]=(0,b.useState)([]),{token:d}=(0,p.useAuth)(),{prefix:u}=(0,f.useClub)(),{showSnackbar:c}=(0,g.useSnackbar)(),h=(0,y.useIntl)(),x=s.reduce((e,t)=>
56(e[t.id.toString()]="text"===t.type||"radio"===t.type?U.string().required(h.formatMessage(H.required)):"video"===t.type||"document"===t.type?U.object().required(h.formatMessage(H.required)):U.array().min(1,h.formatMessage(H.required)).required(h.formatMessage(H.required)),e),{}),_=U.object().shape(x),j=async e=>{try{let t=new FormData;return t.append("file",e),t.append("used_by","education"),await (0,W.uploadUserDocument)({clubPrefix:u,token:d,body:t})}catch(e){return c({message:h.formatMessage(i.errorMessages["error.something_wrong"]),variant:"error"}),null}},v=async e=>{try{let t=await (0,G.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:h.formatMessage(i.errorMessages["error.something_wrong"]),variant:"error"}),null}};return(0,t.jsx)(B.Formik,{initialValues:{},validationSchema:_,onSubmit:e=>{l(Object.entries(e).map(([e,t])=>{let a=parseInt(e),i=s.find(e=>e.id===a)?.type;return Array.isArray(t)?{question_id:a,selected_options:t,answer:null,file_url:null}:"string"==typeof t?{question_id:a,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:a,answer:null,file_url:t.file_url,selected_options:null}:void 0}))},children:({values:e,handleChange:i,errors:l,handleSubmit:d,submitCount:u,setFieldValue:c})=>(0,t.jsxs)(B.Form,{className:R.default.form,children:[(0,t.jsx)(a.Headline2,{className:R.default.title,children:(0,t.jsx)(k.FormattedMessage,{...C.sectionMessages["education.questions"]})}),(0,t.jsx)(m.Box,{className:R.default.questions,children:s.map((s,r)=>"text"===s.type?(0,t.jsxs)(m.Box,{children:[(0,t.jsxs)(a.Paragraph1,{className:R.default.question,children:[(0,t.jsx)(k.FormattedMessage,{...C.sectionMessages["education.question"]})," ",r+1,": ",s.label]}),(0,t.jsx)(q.TextField,{className:R.default.textField,label:(0,t.jsx)(k.FormattedMessage,{...C.sectionMessages["education.write.something.here"]}),name:s.id.toString(),value:e[s.id],onChange:i,variant:"outlined",error:u>0&&!!l[s.id],helperText:u>0&&l[s.id]?(0,t.jsx)(a.Paragraph1,{className:R.default.error,children:l[s.id]}):null,multiline:!0,rows:4})]},"question-text-"+s.id):"checkbox"===s.type?(0,t.jsxs)(m.Box,{children:[(0,t.jsxs)(a.Paragraph1,{className:R.default.question,children:[(0,t.jsx)(k.FormattedMessage,{...C.sectionMessages["education.question"]})," ",r+1,": ",s.label]}),(0,t.jsx)(B.FieldArray,{name:s.id.toString(),render:i=>(0,t.jsx)(m.Box,{className:R.default.checkboxContainer,children:s.options.map(l=>(0,t.jsx)(F.FormControlLabel,{control:(0,t.jsx)(A.Checkbox,{name:`${s.id}[${r}].${l.id}`,checked:e[s.id]?.includes(l.id),onChange:t=>{if(t.currentTarget.checked)i.push(l.id);else{let t=e[s.id]?.indexOf(l.id);-1!==t&&i.remove(t)}}}),label:(0,t.jsx)(a.Paragraph1,{children:l.label})},"question-checkbox-option-"+l.id))},s.id)}),l[s.id]&&u>0&&(0,t.jsx)(a.Paragraph1,{className:R.default.error,children:l[s.id]})]},"question-checkbox-"+s.id):"radio"===s.type?(0,t.jsxs)(m.Box,{children:[(0,t.jsxs)($.default,{component:"fieldset",children:[(0,t.jsxs)(O.default,{component:"legend",children:[(0,t.jsx)(k.FormattedMessage,{...C.sectionMessages["education.question"]})," ",r+1,": ",s.label]}),(0,t.jsx)(z.RadioGroup,{name:s.id.toString(),value:e[s.id],onChange:i,children:s.options.map(e=>(0,t.jsx)(F.FormControlLabel,{value:e.id,control:(0,t.jsx)(D.Radio,{}),label:(0,t.jsx)(a.Paragraph1,{children:e.label})},"question-radio-option-"+e.id))})]}),l[s.id]&&u>0&&(0,t.jsx)(a.Paragraph1,{className:R.default.error,children:l[s.id]})]},"question-radio-"+s.id):"video"===s.type?(0,t.jsxs)(m.Box,{children:[(0,t.jsxs)(a.Paragraph1,{className:R.default.question,children:[(0,t.jsx)(k.FormattedMessage,{...C.sectionMessages["education.question"]})," ",r+1,": ",s.label]}),(0,t.jsx)(a.Paragraph1,{className:R.default.question,children:(0,t.jsx)(k.FormattedMessage,{...C.sectionMessages["education.upload.video"]})}),(0,t.jsx)(L,{type:"video",name:e[s.id]?.filename,onFileChange:async e=>{o([...n,s.id]);let t=await v(e);t&&c(s.id.toString(),{filename:t.filename,file_url:t.value}),o(n.filter(e=>e!==s.id))},removeFile:()=>{c(s.id.toString(),null)}
56,loading:n.includes(s.id)}),l[s.id]&&u>0&&(0,t.jsx)(a.Paragraph1,{className:R.default.error,children:l[s.id]})]},"question-video-"+s.id):"document"===s.type?(0,t.jsxs)(m.Box,{children:[(0,t.jsxs)(a.Paragraph1,{className:R.default.question,children:[(0,t.jsx)(k.FormattedMessage,{...C.sectionMessages["education.question"]})," ",r+1,": ",s.label]}),(0,t.jsx)(a.Paragraph1,{className:R.default.question,children:(0,t.jsx)(k.FormattedMessage,{...C.sectionMessages["education.upload.document"]})}),(0,t.jsx)(L,{type:"document",onFileChange:async e=>{o([...n,s.id]);let t=await j(e);t&&c(s.id.toString(),{filename:t.filename,file_url:t.value}),o(n.filter(e=>e!==s.id))},name:e[s.id]?.filename,removeFile:()=>{c(s.id.toString(),null)},loading:n.includes(s.id)}),l[s.id]&&u>0&&(0,t.jsx)(a.Paragraph1,{className:R.default.error,children:l[s.id]})]},"question-document-"+s.id):null)}),(0,t.jsx)(m.Box,{className:R.default.buttons,children:(0,t.jsx)(I.default,{onClick:()=>d(),disabled:r||n.length>0,children:(0,t.jsx)(k.FormattedMessage,{...C.sectionMessages["education.submit.results"]})})})]})})}var Y=e.i(805042),K=e.i(844722),Q=e.i(691102),J=e.i(313995),Z=e.i(166540
56),X=e.i(522016),ee=e.i(314632),et=e.i(545458);function ea(e){let{lesson:s,courseId:i,selectedUserId:r}=e,l=(0,ee.useSystemPagePath)(Q.WebsitePageType.EDUCATION_LESSON),n=(0,ee.useSystemPagePath)(Q.WebsitePageType.EDUCATION_COURSE),o="number"==typeof s.time_spent_in_seconds?Math.floor(s.time_spent_in_seconds/60):0,d=r?`?user=${r}`:"",u=s.next_lesson?.id&&l?`${l}/course/${i}/lesson/${s.next_lesson.id}${d}`:null,c=s.previous_lesson?.id&&l?`${l}/course/${i}/lesson/${s.previous_lesson.id}${d}`:null,p=i&&n?`${n}/${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)(a.Paragraph1,{children:(0,t.jsx)("strong",{children:(0,t.jsx)(k.FormattedMessage,{...C.sectionMessages["education.your.answers"]})})}),(0,t.jsx)(a.Paragraph1,{children:(0,t.jsx)(k.FormattedMessage,{...C.sectionMessages["education.your.answers.description"]})}),(0,t.jsxs)(m.Box,{className:et.default.cardItem,children:[(0,t.jsx)(a.Paragraph2,{className:et.default.cardItemLabel,children:(0,t.jsxs)("strong",{children:[(0,t.jsx)(k.FormattedMessage,{...C.sectionMessages["education.time.spent"]}),":"]})}),(0,t.jsxs)(a.Paragraph2,{className:et.default.minutes,children:[o," ",(0,t.jsx)(k.FormattedMessage,{id:"v3_gamesheet.action.field.minutes",defaultMessage:"Minutes"})]})]}),s.opened&&(0,t.jsxs)(m.Box,{className:et.default.cardItem,children:[(0,t.jsx)(a.Paragraph2,{className:et.default.cardItemLabel,children:(0,t.jsxs)("strong",{children:[(0,t.jsx)(k.FormattedMessage,{...C.sectionMessages["education.opened"]}),":"]})}),(0,t.jsxs)(a.Paragraph2,{children:[(0,t.jsx)(k.FormattedMessage,{...Y.attendanceMessages.yes})," ",(0,Z.default)(s.opened).local().format("DD/MM/YYYY HH:mm")]})]}),s.submitted&&(0,t.jsxs)(m.Box,{className:et.default.cardItem,children:[(0,t.jsx)(a.Paragraph2,{className:et.default.cardItemLabel,children:(0,t.jsxs)("strong",{children:[(0,t.jsx)(k.FormattedMessage,{...C.sectionMessages["education.submitted"]}),":"]})}),(0,t.jsxs)(a.Paragraph2,{children:[(0,t.jsx)(k.FormattedMessage,{...Y.attendanceMessages.yes})," ",(0,Z.default)(s.submitted).local().format("DD/MM/YYYY HH:mm")]})]}),s.questions?.map((e,s)=>{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)(J.Divider,{className:et.default.divider}),(0,t.jsxs)(m.Box,{className:et.default.cardItem,children:[(0,t.jsx)(a.Paragraph2,{className:et.default.cardItemLabel,children:(0,t.jsxs)("strong",{children:[(0,t.jsx)(k.FormattedMessage,{...C.sectionMessages["education.question"]})," ",s+1,":"]})}),(0,t.jsx)(a.Paragraph2,{className:et.default.cardItemContent,children:e.label})]}),(0,t.jsxs)(m.Box,{className:et.default.cardItem,children:[(0,t.jsx)(a.Paragraph2,{className:et.default.cardItemLabel,children:(0,t.jsxs)("strong",{children:[(0,t.jsx)(k.FormattedMessage,{...C.sectionMessages["education.users.answer"]}),":"]})}),(0,t.jsx)(a.Paragraph2,{className:et.default.cardItemContent,children:i})]}),(0,t.jsxs)(m.Box,{className:et.default.cardItem,children:[(0,t.jsx)(a.Paragraph2,{className:et.default.cardItemLabel,children:(0,t.jsxs)("strong",{children:[(0,t.jsx)(k.FormattedMessage,{...C.sectionMessages["education.grade"]}),":"]})}),(0,t.jsx)(a.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)(k.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)(k.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)(k.FormattedMessage,{...C.sectionMessages["education.lesson.next"]})})})]})]})}e.s(["default",0,function(e){(0,s.useRequireAuth)();let{token:v,user:M}=(0,p.useAuth)(),{prefix:S}=(0,f.useClub)(),{showSnackbar:C}=(0,g.useSnackbar)(),k=(0,y.useIntl)(),P=(0,x.useRouter)(),I=(0,x.useSearchParams)(),[E,T]=(0,b.useState)(!1),{lesson:N,courseId:R,lessonUsers:L,selectedUserId:A}=e.data,[$,F]=(0,b.useState)(N),[O,D]=(0,b.useState)(L||[]),[z,q]=(0,b.useState)(A||(L?.some(e=>e.user?.id===M?.id)?M?.id:null)),B=async e=>{try{T(!0);let t=await (0,_.submitLessonAnswers)({clubPrefix:S,token:v,courseId:R,lessonId:N.id,body:e,selectedUserId:z});F(t),D(e=>e.map(e=>e.user?.id===z?{...e,submitted:!0}:e))}catch(e){C({message:k.formatMessage(i.errorMessages["error.something_wrong"]),variant:"error"})}finally{T(!1)}},G=async e=>{if(e!==z)try{T(!0);let t=await (0,_.getLesson)({clubPrefix:S,token:v,courseId:R,lessonId:N.id,selectedUserId:e});q(e),F(t);let a=new URLSearchParams(I.toString());a.set("user",e.toString()),P.replace(`?${a.toString()}`,{scroll:!1})}catch(e){C({message:k.formatMessage(i.errorMessages["error.something_wrong"]),variant:"error"})}finally{T(!1)}};return $?(0,t.jsxs)("article",{children:[(0,t.jsx)(a.Headline2,{className:j.default.title,children:$.name}),(0,t.jsxs)(m.Box,{children:[$?.contents?.map(e=>"paragraph"===e.layout?(0,t.jsx)(u.default,{text:(0,h.default)(e.data.paragraph)},"content-paragraph-"+e.id):"button"===e.layout?(0,t.jsx)(n.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}
56,"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),$?.questions?.length>0&&O?.length>1&&(0,t.jsx)(w,{users:O,selectedUserId:z,disabled:E,onSelect:G}),$?.questions?.length>0&&!$?.submitted&&(0,t.jsx)(V,{questions:$.questions,loading:E,submitQuestions:B},z),$?.submitted&&(0,t.jsx)(ea,{lesson:$,courseId:R,selectedUserId:z})]})]}):(0,t.jsx)(l.default,{mods:"media-placeholder",fullScreenSize:1,smallScreenSize:1,title:k.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)))},500195,e=>{"use strict";var t=e.i(843476),a=e.i(484624),s=e.i(791882),i=e.i(127167),r=e.i(413518),l=e.i(356437),n=e.i(782547),o=e.i(757328),d=e.i(819646),u=e.i(236807),c=e.i(688762),m=e.i(627741),p=e.i(166540
56),f=e.i(271645),g=e.i(112458),h=e.i(11),x=e.i(456594),b=e.i(923512),y=e.i(782052),_=e.i(805318),j=e.i(236888),v=e.i(607288),M=e.i(2157),S=e.i(703118),C=e.i(28693),k=e.i(352679),P=e.i(591975),w=e.i(239505),I=e.i(966521),E=e.i(80879),T=e.i(177797),N=e.i(186153),R=e.i(904896),L=e.i(62204),A=e.i(781974),$=e.i(839126),F=e.i(524167),O=e.i(210557),D=e.i(572250);let z=function({open:e,profiles:a,selectedId:s,onSelect:i,onClose:r}){let l=(0,O.useTheme)();return(0,t.jsxs)(A.default,{open:e,onClose:r,scroll:"paper",fullWidth:!0,maxWidth:"sm",children:[(0,t.jsx)(F.default,{children:(0,t.jsx)(g.FormattedMessage,{...T.messages.profilePickerTitle})}),(0,t.jsx)($.default,{dividers:!0,children:a?.length&&0!==a.length?(0,t.jsx)(d.default,{className:b.default.profileList,children:a.map(e=>{let a=[e.firstname,e.lastname].filter(Boolean).join(" "),r=(e=>{if(!e)return null;let t=(0,p.default)(e);return t.isValid()?(0,p.default)().diff(t,"years"):null})(e.birthday),o=[null!=r?`${r}`:null,e.affiliations.map(e=>e.federation?.name).filter(Boolean).join(" • ")||null].filter(Boolean).join(" • "),u=e.id===s;return(0,t.jsx)(R.default,{variant:"outlined",sx:u?{borderColor:l.props.sectionMode.accent,borderWidth:2}:void 0,children:(0,t.jsx)(L.default,{onClick:()=>i(e),children:(0,t.jsxs)(d.default,{className:b.default.cardInnerRow,children:[(0,t.jsx)(N.Avatar,{size:34.5,url:e.picture?.pic_avatar,type:"user",isHexagon:!0}),(0,t.jsxs)(d.default,{className:b.default.info,children:[(0,t.jsx)(n.Headline4,{className:b.default.name,children:a}),o&&(0,t.jsx)(n.Paragraph2,{sx:{color:(0,D.mutedColor)(l)},children:o})]})]})})},e.id)})}):(0,t.jsx)(n.Paragraph2,{sx:{color:(0,D.mutedColor)(l)},children:(0,t.jsx)(g.FormattedMessage,{...T.messages.profilePickerEmpty})})})]})}
56,q=function({profile:e,onChange:a}){let s=[e.firstname,e.lastname].filter(Boolean).join(" "),i=e.birthday&&(0,p.default)(e.birthday).isValid()?(0,p.default)().diff((0,p.default)(e.birthday),"years"):null,r=[null!=i?`${i}`:null,e.affiliations.map(e=>e.federation?.name).filter(Boolean).join(" • ")||null].filter(Boolean).join(" • ");return(0,t.jsx)(R.default,{variant:"outlined",children:(0,t.jsxs)(d.default,{className:b.default.cardInnerRow,children:[(0,t.jsx)(N.Avatar,{size:34.5,url:e.picture?.pic_avatar,type:"user",isHexagon:!0}),(0,t.jsxs)(d.default,{className:b.default.info,children:[(0,t.jsx)(n.Paragraph2,{className:b.default.muted,children:(0,t.jsx)(g.FormattedMessage,{...T.messages.foundUserTitle})}),(0,t.jsx)(n.Headline4,{className:b.default.name,children:s}),r&&(0,t.jsx)(n.Paragraph2,{className:b.default.muted,children:r})]}),(0,t.jsx)(u.default,{variant:"outlined",color:"secondary",onClick:a,children:(0,t.jsx)(g.FormattedMessage,{...T.messages.changeProfile})})]})})},B=e=>{if(!e)return null;let t=(0,p.default)(e,w.DISPLAY_DATE_FORMAT,!0);return t.isValid()?t.format(w.API_ISO_DATE_FORMAT):null},G=function({clubPrefix:e,token:a,defaultClubId:s}){let i=(0,h.useIntl)(),{showSnackbar:p}=(0,m.useSnackbar)(),{club:w}=(0,r.useClub)(),N=w?.admin_lang,[R,L]=(0,f.useState)("form"),[A,$]=(0,f.useState)(!0),[F,O]=(0,f.useState)([]),[D,G]=(0,f.useState)(null),[W,U]=(0,f.useState)(!1),[H,V]=(0,f.useState)([]),[Y,K]=(0,f.useState)([]),[Q,J]=(0,f.useState)([]),[Z,X]=(0,f.useState)(null),[ee,et]=(0,f.useState)(null),[ea,es]=(0,f.useState)(!1),[ei,er]=(0,f.useState)([]),[el,en]=(0,f.useState)(null),[eo,ed]=(0,f.useState)([]),[eu,ec]=(0,f.useState)(""),[em,ep]=(0,f.useState)(""),[ef,eg]=(0,f.useState)({}),[eh,ex]=(0,f.useState)(!1),[eb,ey]=(0,f.useState)(null),[e_,ej]=(0,f.useState)(!1),[ev,eM]=(0,f.useState)(0),[eS,eC]=(0,f.useState)(!1),[ek,eP]=(0,f.useState)(0),ew=D?.id??null,eI=(0,f.useCallback)(t=>(0,x.uploadUserPicture)({file:t,clubPrefix:e,token:a}),[e,a]),eE=(0,f.useCallback)(t=>(0,x.uploadUserDocument)({file:t,clubPrefix:e,token:a}).then(e=>e?.value?`${e.value}|${e.filename??""}`:null),[e,a]);(0,f.useEffect)(()=>{let t=!0;return $(!0),ej(!1),Promise.all([(0,x.getMyLicenseProfiles)({clubPrefix:e}),(0,x.getSports)({clubPrefix:e}),(0,x.getLicensePackageCategories)({clubPrefix:e}),(0,x.getLicenseCountries)()]).then(([e,a,s,i])=>{t&&(O(e),G(e[0]??null),V(a.map(e=>({id:e.id,label:e.name}))),K(s),J(i))}).catch(e=>{t&&(ej(!0),console.error(e))}).finally(()=>t&&$(!1)),()=>{t=!1}},[e,ev]);let eT=(0,f.useCallback)(t=>ew?(0,x.getAvailablePackagesForSelf)({clubPrefix:e,selectedUserId:ew,query:t,language:N}):Promise.resolve({data:[],total:0}),[e,ew,N]);(0,f.useEffect)(()=>{if(!Z||!ew){et(null),er([]);return}let t=!0;return es(!0),eC(!1),Promise.all([(0,x.getAvailablePackageDetailForSelf)({clubPrefix:e,packageId:Z.id,selectedUserId:ew,language:N}),(0,x.getAvailableClubsForSelf)({clubPrefix:e,packageId:Z.id,selectedUserId:ew})]).then(([e,a])=>{if(!t)return;et(e),er(a);let i=a.find(e=>e.id===s);en(i?.id??a[0]?.id??null),ed([]),ec((0,I.getAutoStartDate)(e)),ep(""),eg((0,I.parseFieldsToInitialValues)(e.fields,e.options))}).catch(e=>{t&&(eC(!0),console.error(e))}).finally(()=>t&&es(!1)),()=>{t=!1}},[Z,e,ew,s,ek,N]);let eN=ee?.currency?.symbol??"€",eR=(0,f.useMemo)(()=>(ee?.options??[]).filter(e=>eo.includes(e.id)).map(e=>({id:e.id,fee:e.fee??0,name:e.name})),[ee,eo]),eL=(ee?.fee??0)+eR.reduce((e,t)=>e+t.fee,0),eA=ee?.fields,e$=(0,I.getSelectedOptionFieldGroups)(ee?.options,eo),eF=(0,I.withOptionExtraFields)(eA,e$),eO=(0,I.areRequiredFieldsFilled)(eF,ef),eD=ee?.terms_conditions??"",ez=!eD||eh,eq=!!Z&&!!el&&eO&&ez,eB=()=>{X(null),et(null),en(null),ed([]),ec(""),ep(""),eg({}),ex(!1)},eG=()=>{eB(),ey(null),L("form")},eW=async t=>{if(!Z||!el||!D)return{errors:[]};try{let t=await (0,I.buildProfileFromFieldValues)(eF,ef,eI),a=await (0,x.orderLicenseForUser)({clubPrefix:e,body:(0,E.orderContextToCreateDto)({packageId:Z.id,userId:D.id,clubId:el,options:eR,startDate:B(eu),endDate:B(em),profile:t})}),s=[D.firstname,D.lastname].filter(Boolean).join(" ");if(a.payment_required)return ey({package:Z,organization:el,organizationName:ei.find(e=>e.id===el)?.name,options:eR,amount:eL,currencySymbol:eN,customerName:s,userId:D.id,payment:{invoiceId:a.invoice_id,invoiceNumber:a.invoice_number}}),L("payment"),{errors:[]};return p({message:i.formatMessage(T.messages.orderSuccess),variant:"success"}),eG(),{errors:[]}}catch(e){return console.error(e),{errors:[i.formatMessage(T.messages.orderError)]}}},[eU,eH,eV]=(0,f.useActionState)(eW,{errors:[]});return A?(0,t.jsx)(d.default,{className:b.default.loadingRow,children:(0,t.jsx)(c.default,{})}):e_?(0,t.jsxs)(d.default,{className:b.default.loadErrorArea,children:[(0,t.jsx)(n.Paragraph2,{className:b.default.loadErrorMessage,children:(0,t.jsx)(g.FormattedMessage,{...T.messages.loadError})}),(0,t.jsx)(l.default,{onClick:()=>eM(e=>e+1),children:(0,t.jsx)(g.FormattedMessage,{...T.messages.paymentTryAgain})})]}):"payment"===R&&eb?(0,t.jsx)(M.default,{order:eb,clubPrefix:e,onResult:e=>{ey(t=>t?{...t,paymentResult:e}:t),L("result")}}):"result"===R&&eb?(0,t.jsx)(S.default,{order:eb,onDone:eG,onTryAgain:()=>L("payment")}):D?(0,t.jsxs)(d.default,{className:b.default.root,children:[(0,t.jsx)(z,{open:W,profiles:F,selectedId:D.id,onSelect:e=>{U(!1),e.id!==D?.id&&(eB(),G(e))},onClose:()=>U(!1)}),(0,t.jsx)(n.Headline2,{className:b.default.title,children:(0,t.jsx)(g.FormattedMessage,{...T.messages.titleBrevet})}),(0,t.jsx)(n.Paragraph2,{className:b.default.description,children:(0,t.jsx)(g.FormattedMessage,{...T.messages.description})}),(0,t.jsx)(q,{profile:D,onChange:()=>U(!0)}),(0,t.jsxs)(d.default,{component:"form",action:eH,children:[Z?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(C.default,{package:Z,onRemove:eB}
56),ea&&(0,t.jsx)(d.default,{className:b.default.detailLoadingRow,children:(0,t.jsx)(c.default,{size:32})}),eS&&!ea&&(0,t.jsxs)(d.default,{className:b.default.detailErrorArea,children:[(0,t.jsx)(n.Paragraph2,{className:b.default.loadErrorMessage,children:(0,t.jsx)(g.FormattedMessage,{...T.messages.loadError})}),(0,t.jsx)(u.default,{variant:"outlined",color:"secondary",onClick:()=>eP(e=>e+1),children:(0,t.jsx)(g.FormattedMessage,{...T.messages.paymentTryAgain})})]}),ee&&!eS&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(P.default,{detail:ee,startDate:eu,endDate:em,onStartDateChange:ec,onEndDateChange:ep}),ei.length>0&&(0,t.jsx)(y.default,{clubs:ei,value:el,onChange:en}),ee.options?.length>0&&(0,t.jsx)(j.default,{options:ee.options,currencySymbol:eN,selectedIds:eo,onToggle:e=>ed(t=>t.includes(e)?t.filter(t=>t!==e):[...t,e])}),(ee.fields||e$.length>0)&&(0,t.jsx)(_.default,{fields:ee.fields,countries:Q,values:ef,onChange:(e,t)=>eg(a=>({...a,[e]:t})),uploadDocument:eE,optionFieldGroups:e$}),eD&&(0,t.jsx)(k.default,{terms:eD,confirmed:eh,onChange:ex})]})]}):(0,t.jsx)(v.default,{loadPackages:eT,sports:H,categories:Y,onSelect:e=>{X(e),en(null),ed([]),ex(!1)}}),eU.errors.length>0&&(0,t.jsx)(d.default,{className:b.default.errorsWrap,children:eU.errors.map((e,a)=>(0,t.jsxs)(d.default,{className:b.default.errorRow,children:[(0,t.jsx)(o.default,{fontSize:"small"}),(0,t.jsx)(n.Paragraph2,{className:b.default.errorText,children:e})]},a))}),Z&&(0,t.jsxs)(d.default,{className:b.default.footerRow,children:[(0,t.jsxs)(d.default,{className:b.default.footerNames,children:[(0,t.jsx)(d.default,{component:"span",className:b.default.bold,children:Z.name}),(0,t.jsx)(d.default,{component:"span",className:b.default.bold,children:`${eN}${Number.isInteger(eL)?eL:eL.toFixed(2)}`})]}),(0,t.jsx)(l.default,{type:"submit",disabled:!eq||eV,startIcon:eV?(0,t.jsx)(c.default,{size:20}):void 0,children:Z.payment_required_at_submit?(0,t.jsx)(g.FormattedMessage,{...T.messages.continueToPayment}):(0,t.jsx)(g.FormattedMessage,{...T.messages.submit})})]})]})]}):(0,t.jsxs)(d.default,{className:b.default.root,children:[(0,t.jsx)(n.Headline2,{className:b.default.title,children:(0,t.jsx)(g.FormattedMessage,{...T.messages.titleBrevet})}),(0,t.jsx)(n.Paragraph2,{className:b.default.muted,children:(0,t.jsx)(g.FormattedMessage,{...T.messages.profilePickerEmpty})})]})};e.s(["default",0,function(){let{club:e,prefix:l}=(0,r.useClub)(),{user:n,token:o}=(0,i.useAuth)();return n?(0,t.jsx)(s.Container,{maxWidth:"md",children:(0,t.jsx)(G,{clubPrefix:l,token:o,defaultClubId:e?.id})}):(0,t.jsx)(a.default,{})}],500195)},192146,e=>{"use strict";var t=e.i(843476),a=e.i(4407),s=e.i(484624),i=e.i(791882),r=e.i(127167),l=e.i(413518),n=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),f=e.i(627741),g=e.i(166540),h=e.i(271645),x=e.i(112458),b=e.i(11),y=e.i(456594),_=e.i(923512),j=e.i(782052),v=e.i(805318),M=e.i(316174),S=e.i(904896),C=e.i(723897),k=e.i(591052),P=e.i(936151),w=e.i(177797);let I=function({clubPrefix:e,onFound:a,onCreateNew:s}){let i=(0,b.useIntl)(),[r,l]=(0,h.useState)("find"),[m,f]=(0,h.useState)(""),g=async(t,s)=>{let r={license_number:String(s.get("license_number")??"").trim(),email:String(s.get("email")??"").trim()};try{let t=await (0,y.findUserForLicense)({clubPrefix:e,body:r});if(!t?.id)return{error:i.formatMessage(w.messages.userNotFound)};return a(t,r),{error:null}}catch(e){return console.error(e),{error:i.formatMessage(w.messages.userNotFound)}}},[j,v,I]=(0,h.useActionState)(g,{error:null}),E=!!m.trim()&&!(0,d.emailCharactersValidate)(m);return(0,t.jsx)(S.default,{variant:"outlined",className:_.default.cardWide,children:(0,t.jsxs)(c.default,{className:_.default.cardInner,children:[(0,t.jsx)("div",{className:"relative",children:(0,t.jsxs)(k.default,{value:r,onChange:(e,t)=>
56l(t),className:_.default.tabs,children:[(0,t.jsx)(C.default,{value:"find",label:i.formatMessage(w.messages.tabFindVDSTMember)}),(0,t.jsx)(C.default,{value:"create",label:i.formatMessage(w.messages.tabCreateDiver)})]})}),"find"===r?(0,t.jsxs)(c.default,{component:"form",action:v,children:[(0,t.jsx)(o.Paragraph2,{className:_.default.subtitle,children:(0,t.jsx)(x.FormattedMessage,{...w.messages.vdstfindUserSubtitle})}),(0,t.jsxs)(c.default,{className:_.default.fieldsColumn,children:[(0,t.jsx)(P.default,{name:"license_number",fullWidth:!0,size:"small",label:i.formatMessage(w.messages.vdstmembernumberLabel)}),(0,t.jsx)(P.default,{name:"email",type:"email",fullWidth:!0,size:"small",label:i.formatMessage(w.messages.emailLabel)})]}),j.error&&(0,t.jsxs)(c.default,{className:_.default.findErrorRow,children:[(0,t.jsx)(u.default,{fontSize:"small"}),(0,t.jsx)(o.Paragraph2,{className:_.default.errorText,children:j.error})]}),(0,t.jsx)(c.default,{className:_.default.submitRowSpaced,children:(0,t.jsx)(n.default,{type:"submit",disabled:I,startIcon:I?(0,t.jsx)(p.default,{size:20}):void 0,children:(0,t.jsx)(x.FormattedMessage,{...w.messages.findUserSubmit})})})]}):(0,t.jsxs)(c.default,{component:"form",onSubmit:e=>{e.preventDefault();let t=m.trim();t&&!E&&s(t)},children:[(0,t.jsx)(o.Paragraph2,{className:_.default.subtitle,children:(0,t.jsx)(x.FormattedMessage,{...w.messages.createMemberSubtitleVdst})}),(0,t.jsx)(P.default,{name:"new_member_email",type:"email",required:!0,fullWidth:!0,size:"small",label:i.formatMessage(w.messages.emailLabel),value:m,onChange:e=>f(e.target.value),error:E,helperText:E?i.formatMessage(M.messages.invalidEmailCharacters):void 0}),(0,t.jsx)(c.default,{className:_.default.submitRowSpaced,children:(0,t.jsx)(n.default,{type:"submit",disabled:!m.trim()||E,children:(0,t.jsx)(x.FormattedMessage,{...w.messages.createMemberSubmit})})})]})]})})};var E=e.i(207670),T=e.i(519130),N=e.i(940799),R=e.i(75149),L=e.i(594425);let A=(0,e.i(454624).default)((0,t.jsx)("path",{d:"M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"}),"Person");var $=e.i(540672),F=e.i(319727);function O(e){return(0,F.default)("MuiAvatar",e)}(0,$.default)("MuiAvatar",["root","colorDefault","circular","rounded","square","img","fallback"]);var D=e.i(348106);let z=(0,N.styled)("div",{name:"MuiAvatar",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:a}=e;return[t.root,t[a.variant],a.colorDefault&&t.colorDefault]}})((0,R.default)(({theme:e})=>({position:"relative",display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,width:40,height:40,fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(20),lineHeight:1,borderRadius:"50%",overflow:"hidden",userSelect:"none",variants:[{props:{variant:"rounded"},style:{borderRadius:(e.vars||e).shape.borderRadius}},{props:{variant:"square"},style:{borderRadius:0}},{props:{colorDefault:!0},style:{color:(e.vars||e).palette.background.default,...e.vars?{backgroundColor:e.vars.palette.Avatar.defaultBg}:{backgroundColor:e.palette.grey[400],...e.applyStyles("dark",{backgroundColor:e.palette.grey[600]})}}}]}))),q=(0,N.styled)("img",{name:"MuiAvatar",slot:"Img"})({width:"100%",height:"100%",textAlign:"center",objectFit:"cover",color:"transparent",textIndent:1e4}),B=(0,N.styled)(A,{name:"MuiAvatar",slot:"Fallback"})({width:"75%",height:"75%"}),G=h.forwardRef(function(e,a){let s=(0,L.useDefaultProps)({props:e,name:"MuiAvatar"}),{alt:i,children:r,className:l,component:n="div",slots:o={},slotProps:d={},imgProps:u,sizes:c,src:m,srcSet:p,variant:f="circular",...g}=s,x=null,b={...s,component:n,variant:f},y=function({crossOrigin:e,referrerPolicy:t,src:a,srcSet:s}){let[i,r]=h.useState(!1);return h.useEffect(()=>{if(!a&&!s)return;r(!1);let i=!0,l=new Image;return l.onload=()=>{i&&r("loaded")},l.onerror=()=>{i&&r("error")},l.crossOrigin=e,l.referrerPolicy=t,l.src=a,s&&(l.srcset=s),()=>{i=!1}},[e,t,a,s]),i}({...u,..."function"==typeof d.img?d.img(b):d.img,src:m,srcSet:p}),_=m||p,j=_&&"error"!==y;b.colorDefault=!j,delete b.ownerState;let v=(e=>
56{let{classes:t,variant:a,colorDefault:s}=e;return(0,T.default)({root:["root",a,s&&"colorDefault"],img:["img"],fallback:["fallback"]},O,t)})(b),[M,S]=(0,D.default)("root",{ref:a,className:(0,E.default)(v.root,l),elementType:z,externalForwardedProps:{slots:o,slotProps:d,component:n,...g},ownerState:b}),[C,k]=(0,D.default)("img",{className:v.img,elementType:q,externalForwardedProps:{slots:o,slotProps:{img:{...u,...d.img}}},additionalProps:{alt:i,src:m,srcSet:p,sizes:c},ownerState:b}),[P,w]=(0,D.default)("fallback",{className:v.fallback,elementType:B,externalForwardedProps:{slots:o,slotProps:d},shouldForwardComponentProp:!0,ownerState:b});return x=j?(0,t.jsx)(C,{...k}):r||0===r?r:_&&i?i[0]:(0,t.jsx)(P,{...w}),(0,t.jsx)(M,{...S,children:x})});var W=e.i(845679);let U=function({user:e,email:a,isNew:s,onChange:i}){let r=e?[e.firstname,e.lastname].filter(Boolean).join(" "):a,l=e?.birthday&&(0,g.default)(e.birthday).isValid()?(0,g.default)(e.birthday).format("DD.MM.YYYY"):null,n=e?[e.gender||null,l].filter(Boolean):[],d=(e?.firstname||a).charAt(0).toUpperCase();return(0,t.jsx)(S.default,{variant:"outlined",children:(0,t.jsxs)(c.default,{className:_.default.cardInnerRow,children:[(0,t.jsx)(G,{alt:r,className:_.default.avatar,children:d}),(0,t.jsxs)(c.default,{className:_.default.info,children:[(0,t.jsxs)(c.default,{className:_.default.userTitleRow,children:[(0,t.jsx)(o.Paragraph2,{className:_.default.muted,children:(0,t.jsx)(x.FormattedMessage,{...w.messages.foundUserTitle})}),s&&(0,t.jsx)(W.default,{size:"small",label:(0,t.jsx)(x.FormattedMessage,{...w.messages.newMemberBadge})})]}),(0,t.jsx)(o.Headline4,{className:_.default.name,children:r}),n.length>0&&(0,t.jsx)(o.Paragraph2,{className:_.default.muted,children:n.join(" • ")})]}),(0,t.jsx)(m.default,{variant:"outlined",color:"secondary",onClick:i,children:(0,t.jsx)(x.FormattedMessage,{...w.messages.changeUser})})]})})};var H=e.i(236888),V=e.i(607288),Y=e.i(2157),K=e.i(703118),Q=e.i(28693),J=e.i(352679),Z=e.i(591975),X=e.i(239505),ee=e.i(966521),et=e.i(80879);let ea=e=>{if(!e)return null;let t=(0,g.default)(e,X.DISPLAY_DATE_FORMAT,!0);return t.isValid()?t.format(X.API_ISO_DATE_FORMAT):null},es=function({clubPrefix:e,token:a,defaultClubId:s}){let i=(0,b.useIntl)(),{showSnackbar:r}=(0,f.useSnackbar)(),{club:g}=(0,l.useClub)(),M=g?.admin_lang,[S,C]=(0,h.useState)("form"),[k,P]=(0,h.useState)(!0),[E,T]=(0,h.useState)(null),[N,R]=(0,h.useState)(null),[L,A]=(0,h.useState)(!1),[$,F]=(0,h.useState)({email:"",firstname:"",lastname:""}),[O,D]=(0,h.useState)([]),[z,q]=(0,h.useState)([]),[B,G]=(0,h.useState)([]),[W,X]=(0,h.useState)(null),[es,ei]=(0,h.useState)(null),[er,el]=(0,h.useState)(!1),[en,eo]=(0,h.useState)([]),[ed,eu]=(0,h.useState)(null),[ec,em]=(0,h.useState)([]),[ep,ef]=(0,h.useState)(""),[eg,eh]=(0,h.useState)(""),[ex,eb]=(0,h.useState)({}),[ey,e_]=(0,h.useState)(!1),[ej,ev]=(0,h.useState)(null),[eM,eS]=(0,h.useState)(!1),[eC,ek]=(0,h.useState)(0),[eP,ew]=(0,h.useState)(!1),[eI,eE]=(0,h.useState)(0),eT=(0,h.useCallback)(t=>(0,y.uploadUserPicture)({file:t,clubPrefix:e,token:a}),[e,a]),eN=(0,h.useCallback)(t=>(0,y.uploadUserDocument)({file:t,clubPrefix:e,token:a}).then(e=>e?.value?`${e.value}|${e.filename??""}`:null),[e,a]);(0,h.useEffect)(()=>{let t=!0;return P(!0),eS(!1),Promise.all([(0,y.getSports)({clubPrefix:e}),(0,y.getLicensePackageCategories)({clubPrefix:e}),(0,y.getLicenseCountries)()]).then(([e,a,s])=>{t&&(D(e.map(e=>({id:e.id,label:e.name}))),q(a),G(s))}).catch(e=>{t&&(eS(!0),console.error(e))}).finally(()=>t&&P(!1)),()=>{t=!1}},[e,eC]);let eR=(0,h.useCallback)(t=>N?(0,y.getAvailablePackagesForUser)({clubPrefix:e,findUser:N,query:t,language:M}):Promise.resolve({data:[],total:0}),[e,N,M]);(0,h.useEffect)(()=>{if(!W||!N){ei(null),eo([]);return}let t=!0;el(!0),ew(!1);let a=L?{}:N;return Promise.all([(0,y.getAvailablePackageDetailForUser)({clubPrefix:e,packageId:W.id,findUser:a,language:M}),(0,y.getAvailableClubsForUser)({clubPrefix:e,packageId:W.id,findUser:a})]).then(([e,a])=>{if(!t)return;ei(e),eo(a);let i=a.find(e=>e.id===s);eu(i?.id??a[0]?.id??null),em([]),ef((0,ee.getAutoStartDate)(e)),eh(""),eb((0,ee.parseFieldsToInitialValues)(e.fields,e.options))}).catch(e=>{t&&(ew(!0),console.error(e))}).finally(()=>t&&el(!1)),()=>{t=!1}},[W,e,N,s,eI,L,M]);let eL=es?.currency?.symbol??"€",eA=(0,h.useMemo)(()=>(es?.options??[]).filter(e=>ec.includes(e.id)).map(e=>({id:e.id,fee:e.fee??0,name:e.name})),[es,ec]),e$=(es?.fee??0)+eA.reduce((e,t)=>
56e+t.fee,0),eF=L?(0,ee.omitIdentityFields)(es?.fields):es?.fields,eO=(0,ee.getSelectedOptionFieldGroups)(es?.options,ec),eD=(0,ee.withOptionExtraFields)(eF,eO),ez=(0,ee.areRequiredFieldsFilled)(eD,ex),eq=!L||!!$.email?.trim()&&(0,d.emailCharactersValidate)($.email)&&!!$.firstname?.trim()&&!!$.lastname?.trim(),eB=es?.terms_conditions??"",eG=!eB||ey,eW=!!W&&!!ed&&ez&&eG&&eq,eU=()=>{X(null),ei(null),eu(null),em([]),ef(""),eh(""),eb({}),e_(!1)},eH=()=>{eU(),T(null),R(null),A(!1),F({email:"",firstname:"",lastname:""})},eV=async t=>{if(!W||!ed||!N)return{errors:[]};try{let t=await (0,ee.buildProfileFromFieldValues)(eD,ex,eT),a={email:$.email?.trim()||null,firstname:$.firstname?.trim()||null,lastname:$.lastname?.trim()||null},s=await (0,y.orderLicenseForUser)({clubPrefix:e,body:(0,et.orderContextToCreateDto)({packageId:W.id,...L?{newUser:a}:{forUser:N},clubId:ed,options:eA,startDate:ea(ep),endDate:ea(eg),profile:t})}),l=L?[a.firstname,a.lastname].filter(Boolean).join(" ")||(a.email??""):E?[E.firstname,E.lastname].filter(Boolean).join(" "):N.email??"";if(s.payment_required)return ev({package:W,organization:ed,organizationName:en.find(e=>e.id===ed)?.name,options:eA,amount:e$,currencySymbol:eL,customerName:l,userId:E?.id??0,payment:{invoiceId:s.invoice_id,invoiceNumber:s.invoice_number}}),C("payment"),{errors:[]};return r({message:i.formatMessage(w.messages.orderSuccess),variant:"success"}),eU(),ev(null),C("form"),{errors:[]}}catch(e){return console.error(e),{errors:[i.formatMessage(w.messages.orderError)]}}},[eY,eK,eQ]=(0,h.useActionState)(eV,{errors:[]});return k?(0,t.jsx)(c.default,{className:_.default.loadingRow,children:(0,t.jsx)(p.default,{})}):eM?(0,t.jsxs)(c.default,{className:_.default.loadErrorArea,children:[(0,t.jsx)(o.Paragraph2,{className:_.default.loadErrorMessage,children:(0,t.jsx)(x.FormattedMessage,{...w.messages.loadError})}),(0,t.jsx)(n.default,{onClick:()=>ek(e=>e+1),children:(0,t.jsx)(x.FormattedMessage,{...w.messages.paymentTryAgain})})]}):"payment"===S&&ej?(0,t.jsx)(Y.default,{order:ej,clubPrefix:e,onResult:e=>{ev(t=>t?{...t,paymentResult:e}:t),C("result")}}):"result"===S&&ej?(0,t.jsx)(K.default,{order:ej,onDone:()=>{eH(),ev(null),C("form")},onTryAgain:()=>C("payment")}):(0,t.jsxs)(c.default,{className:_.default.root,children:[(0,t.jsx)(o.Headline2,{className:_.default.title,children:(0,t.jsx)(x.FormattedMessage,{...w.messages.titleBrevet})}),(0,t.jsx)(o.Paragraph2,{className:_.default.description,children:(0,t.jsx)(x.FormattedMessage,{...w.messages.description})}),N?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(U,{user:E,email:(L?$.email:N.email)??"",isNew:L,onChange:eH}),(0,t.jsxs)(c.default,{component:"form",action:eK,children:[W?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(Q.default,{package:W,onRemove:eU}),er&&(0,t.jsx)(c.default,{className:_.default.detailLoadingRow,children:(0,t.jsx)(p.default,{size:32})}),eP&&!er&&(0,t.jsxs)(c.default,{className:_.default.detailErrorArea,children:[(0,t.jsx)(o.Paragraph2,{className:_.default.loadErrorMessage,children:(0,t.jsx)(x.FormattedMessage,{...w.messages.loadError})}),(0,t.jsx)(m.default,{variant:"outlined",color:"secondary",onClick:()=>eE(e=>e+1),children:(0,t.jsx)(x.FormattedMessage,{...w.messages.paymentTryAgain})})]}),es&&!eP&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(Z.default,{detail:es,startDate:ep,endDate:eg,onStartDateChange:ef,onEndDateChange:eh}),en.length>0&&(0,t.jsx)(j.default,{clubs:en,value:ed,onChange:eu}),es.options?.length>0&&(0,t.jsx)(H.default,{options:es.options,currencySymbol:eL,selectedIds:ec,onToggle:e=>em(t=>t.includes(e)?t.filter(t=>t!==e):[...t,e])}),(es.fields||eO.length>0)&&(0,t.jsx)(v.default,{fields:es.fields,countries:B,values:ex,onChange:(e,t)=>
56eb(a=>({...a,[e]:t})),uploadDocument:eN,isNewMember:L,newUser:$,onNewUserChange:(e,t)=>F(a=>({...a,[e]:t})),optionFieldGroups:eO}),eB&&(0,t.jsx)(J.default,{terms:eB,confirmed:ey,onChange:e_})]})]}):(0,t.jsx)(V.default,{loadPackages:eR,sports:O,categories:z,onSelect:e=>{X(e),eu(null),em([]),e_(!1)}}),eY.errors.length>0&&(0,t.jsx)(c.default,{className:_.default.errorsWrap,children:eY.errors.map((e,a)=>(0,t.jsxs)(c.default,{className:_.default.errorRow,children:[(0,t.jsx)(u.default,{fontSize:"small"}),(0,t.jsx)(o.Paragraph2,{className:_.default.errorText,children:e})]},a))}),W&&(0,t.jsxs)(c.default,{className:_.default.footerRow,children:[(0,t.jsxs)(c.default,{className:_.default.footerNames,children:[(0,t.jsx)(c.default,{component:"span",className:_.default.bold,children:W.name}),(0,t.jsx)(c.default,{component:"span",className:_.default.bold,children:`${eL}${Number.isInteger(e$)?e$:e$.toFixed(2)}`})]}),(0,t.jsx)(n.default,{type:"submit",disabled:!eW||eQ,startIcon:eQ?(0,t.jsx)(p.default,{size:20}):void 0,children:W.payment_required_at_submit?(0,t.jsx)(x.FormattedMessage,{...w.messages.continueToPayment}):(0,t.jsx)(x.FormattedMessage,{...w.messages.submit})})]})]})]}):(0,t.jsx)(I,{clubPrefix:e,onFound:(e,t)=>{T(e),R(t),A(!1)},onCreateNew:e=>{T(null),R({}),F({email:e,firstname:"",lastname:""}),A(!0)}})]})};e.s(["default",0,function(){let{club:e,prefix:n}=(0,l.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)(es,{clubPrefix:n,token:d,defaultClubId:e?.id})}):(0,t.jsx)(a.default,{}):(0,t.jsx)(s.default,{})}],192146)},340479,e=>{"use strict";var t=e.i(843476),a=e.i(262821),s=e.i(642184),i=e.i(782547),r=e.i(819646),l=e.i(937910),n=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:f,button_text:g,button_link:h,open_in_new_window:x}=m,{alignment:b}=p.format;return(0,t.jsxs)(r.default,{children:[(0,t.jsx)(r.default,{justifyContent:(0,o.justifyContentMapper)(b),width:"100%",display:"flex",children:(0,t.jsx)(s.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)(b),justifyContent:(0,o.justifyContentMapper)(b),children:(0,t.jsxs)(l.default,{container:!0,spacing:"8px",children:[(0,t.jsx)(l.default,{size:12,children:(0,t.jsx)(i.Headline2,{children:c})}),f&&(0,t.jsx)(l.default,{size:12,className:d.default.preLine,children:(0,t.jsx)(i.Paragraph1,{children:(0,n.default)(f)})}),(0,t.jsx)(l.default,{size:12,container:!0,display:"flex",justifyContent:(0,o.justifyContentMapper)(b),alignItems:(0,o.justifyContentMapper)(b),children:(0,t.jsx)(a.default,{href:h,openInNewWindow:x||u,children:g})})]})})]})}])},243874,e=>{e.v({preLine:"Link-module-scss-module__9mBqqq__preLine"})},845716,e=>{"use strict";var t=e.i(843476),a=e.i(710269),s=e.i(775572),i=e.i(782547),r=e.i(611868),l=e.i(691102),n=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),f=e.i(11),g=e.i(314632),h=e.i(758988);let x="https://dk9pqlttm1g0o.cloudfront.net/2026-06-29-a/images";e.s(["default",0,function(e){let{news:b,title:y,isPage:_}=e,j=b[0],v=b.slice(1),M=(0,f.useIntl)(),S=(0,g.useSystemPagePath)(l.WebsitePageType.NEWS),{timePassedFormatter:C}=(0,m.useTranslations)(),{getCardTag:k,getNewsLink:P}=(0,h.default)();return(0,t.jsxs)(u.default,{children:[(0,t.jsx)(u.default,{pb:4,children:_?(0,t.jsx)(i.Headline3,{children:y}):(0,t.jsx)(i.Headline2,{children:y})}),(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)(n.default,{media:j.image_big||j.image,mods:"icon-right",icon:(0,t.jsx)(s.Slug,{imgSrc:`${x}/websites/Time.svg`,text:(0,t.jsx)(i.Paragraph2,{isAccent:!0,children:(0,t.jsx)("strong",{children:`${C(j.date)} • ${k(j)}`})})}),title:j.title,description:[r.INewsType.GALLERY,r.INewsType.VIDEO].includes(j.t
56ype)?j.description||"":(0,p.default)(j.description_plain||""),link:P(j),mediaMods:"featured",isArticle:!0,bigTitle:!0,useNextImage:!0},`card-${y}`)}),(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)(s.Slug,{imgSrc:`${x}/websites/Time.svg`,text:(0,t.jsx)(i.Paragraph2,{isAccent:!0,children:(0,t.jsx)("strong",{children:`${C(e.date)} • ${k(e)}`})})}),link:P(e),title:e.title,media:e.image_big||e.image,useNextImage:!0})},e.id))}),!_&&(0,t.jsx)(c.default,{display:"flex",justifyContent:"center",container:!0,size:12,children:(0,t.jsx)(a.default,{applyBackgroundColor:!0,href:S,children:M.formatMessage(d.sectionMessages["website.view_more"])})})]})]})}])},241069,e=>{"use strict";var t=e.i(843476),a=e.i(782547),s=e.i(867129),i=e.i(659712),r=e.i(819646),l=e.i(413518),n=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),f=e.i(588481);let g=(0,n.default)(()=>e.A(877013),{loadableGenerated:{modules:[444472]},ssr:!1});e.s(["default",0,function(e){let n=(0,d.useIntl)(),[h,x]=(0,o.useState)(2),[b,y]=(0,o.useState)(e.data.news),[_,j]=(0,o.useState)(!0),{club:v,prefix:M,modes:S}=(0,l.useClub)(),{section:C}=e,k=b?.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)(a.Headline2,{className:c.default.newsHeadline,children:n.formatMessage(i.sectionMessages["news.label"])}),(0,t.jsx)(g,{color:S.find(e=>e.type===C?.mode.type)?.background,classes:c.default.adRoot,blockId:v.id,adType:"newsarticle"})]}),b?.length>0?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(r.default,{pb:7,children:(0,t.jsx)(p.default,{isPage:!0,news:b?.slice(0,m.LATEST_NEWS_LIMIT)??[],title:n.formatMessage(i.sectionMessages["section.label.most_recent"])})}),k.length>0&&(0,t.jsx)(f.default,{hasLazyLoading:!0,hasMore:_,onFetchNext:P,isPage:!0,news:k,title:n.formatMessage(i.sectionMessages["section.news.all_news"])})]}):(0,t.jsx)(s.default,{mods:"media-placeholder",title:n.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*h-1}}).catch(()=>[]);x(e=>e+1),y(e=>e.concat(t)),0===t.length&&j(!1)}}])},462613,e=>{"use strict";var t=e.i(843476),a=e.i(621706),s=e.i(356437),i=e.i(642217),r=e.i(611662),l=e.i(778875),n=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),f=e.i(364384),g=e.i(259087),h=e.i(770703),x=e.i(11),b=e.i(875556);let y=(0,h.default)(()=>e.A(877013),{loadableGenerated:{modules:[444472]},ssr:!1}),_="https://dk9pqlttm1g0o.cloudfront.net/2026-06-29-a/images";e.s(["default",0,function(e){let{data:h,section:j}=e,{singleNews:v}=h,{poster:M}=v,{club:S,modes:C}=(0,p.useClub)(),k=(0,x.useIntl)(),P=h.club,w=!!(h.club?.logo_name||S?.logo_name),{simpleDateFormatter:I}=(0,f.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:b.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?`${k.formatMessage(c.sectionMessages["section.news.photo_by"])} ${v.photographer}`:""]})}),(0,t.jsx)("hr",{className:b.default.headLine})]}):null]}),(0,t.jsx)(m.default,{pb:4,children:(0,t.jsx)(y,{color:C.find(e=>e.type===j?.mode.type)?.background,classes:b.default.adRoot,blockId:`${S.id}-single`,adType:"newsarticle"})}),(0,t.jsx)(m.default,{pb:4,children:(0,t.jsx)(n.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:[w&&(0,t.jsx)(l.default,{externalClub:P,size:24}),!w&&(0,t.jsx)(d.Paragraph1,{className:b.default.pre,children:" "}),(0,t.jsxs)(d.Paragraph1,{children:[k.formatMessage(c.sectionMessages["section.video.created_by"])," ",P.name]})]}),(0,t.jsxs)(m.default,{pb:4,children:[(0,t.jsx)(d.Paragraph1,{children:(0,g.default)(v.description||"")}),(0,t.jsx)(m.default,{className:b.default.docWrapper,children:v.docs&&v.docs.map((e,s)=>(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:`${_}/website-builder/16px/Document.svg`})}),(0,t.jsx)(m.default,{className:b.default.docNameWrapper,onClick:()=>(0,u.downloadUrl)(e?.file),children:(0,t.jsx)(d.Paragraph1,{className:b.default.docName,children:e.name||""})})]}),(0,t.jsx)(m.default,{display:"flex",alignItems:"center",justifyContent:"flex-end",className:b.default.downloadButton,children:(0,t.jsx)(a.default,{onClick:()=>(0,u.downloadUrl)(e?.file),disableRipple:!0,isIcon:!0,color:"inherit",imgSrc:`${_}/websites/Download.svg`})})]},s))})]}),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)(s.default,{className:b.default.newsLink,children:k.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),a=e.i(856931),s=e.i(867129),i=e.i(819646),r=e.i(11),l=e.i(659712),n=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)(s.default,{mods:"media-placeholder",title:m.formatMessage(l.sectionMessages["news.empty_news"]),fullScreenSize:3,smallScreenSize:1}),c.length>0&&d===a.SectionLayoutType.LATEST&&(0,t.jsx)(n.default,{title:u,news:c}),c.length>0&&d===a.SectionLayoutType.LIST&&(0,t.jsx)(o.default,{title:u,news:c})]})}])},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),a=e.i(481926);e.i(964884);var s=e.i(142829),i=e.i(782547),r=e.i(691102),l=e.i(46067);function n(e,t,a){let s=String(e??"").trim(),i=String(t??"").trim(),r
56=String(a??"").trim();return""===s||""===i||""===r?null:`${s.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 f=(0,e.i(755742).default)((0,t.jsx)("path",{d:"M5 20h14v-2H5zM19 9h-4V3H9v6H5l7 7z"}),"Download");var g=e.i(819646),h=e.i(236807),x=e.i(688762),b=e.i(210557),y=e.i(172032);e.i(540259);var _=e.i(911860),j=e.i(127167),v=e.i(765952),M=e.i(413518),S=e.i(81144),C=e.i(627741),k=e.i(657688),P=e.i(618566),w=e.i(271645),I=e.i(112458),E=e.i(301005),T=e.i(11),N=e.i(104941),R=e.i(731881),L=e.i(314632);let A=({orderData:e,onSuccess:a,isTransitioningToSuccess:s})=>{let r=(0,y.useStripe)(),l=(0,y.useElements)(),{club:n,website:o,font:d}=(0,M.useClub)(),{user:u}=(0,j.useAuth)(),{showSnackbar:c}=(0,C.useSnackbar)(),m=(0,T.useIntl)(),p=(0,b.useTheme)(),[f,_]=(0,w.useState)(!1),[v,S]=(0,w.useState)({cardNumber:"",cardExpiry:"",cardCvc:""}),[k,P]=(0,w.useState)({cardNumber:!1,cardExpiry:!1,cardCvc:!1});(0,w.useEffect)(()=>{let e=document.createElement("style");return e.textContent=`
57      .StripeElement--invalid {
58        color: #d32f2f !important;
59      }
60      .StripeElement--invalid input {
61        color: #d32f2f !important;
62      }
63      .StripeElement iframe {
64        color: inherit !important;
65      }
66    `,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}}},L=u?.firstname&&u?.lastname?`${u.firstname} ${u.lastname}`:"",A=u?.email||"",$=async t=>{if(t.preventDefault(),!r||!l)return;let s=l.getElement(y.CardNumberElement);if(s){_(!0);try{let{error:t,paymentMethod:i}=await r.createPaymentMethod({type:"card",card:s,billing_details:{name:L,email:A||void 0}});if(t)throw Error(t.message);let l=await (0,N.updateOrder)({clubPrefix:n?.suffix||"",orderRef:e.hash,updateData:{payment_method_id:i.id}});if(l.payment_intent_client_secret){let{error:t,paymentIntent:a}=await r.confirmCardPayment(l.payment_intent_client_secret);if(t)throw Error(t.message);l=await (0,N.updateOrder)({clubPrefix:n?.suffix||"",orderRef:e.hash,updateData:{payment_intent_id:a.id}})}n?.suffix&&(0,R.gaEvent)({action:"payment_submitted",category:"shop",label:"payment_method:card",additionalProps:{clubSuffix:n.suffix}}),a(l)}catch(e){c({message:m.formatMessage({id:"shop.payment.error",defaultMessage:"#Payment failed. Please check your card details and try again."}),variant:"error"}),_(!1)}}};return(0,t.jsx)("form",{onSubmit:$,children:(0,t.jsxs)(g.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)(g.default,{sx:{mb:6},children:[(0,t.jsx)(g.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)(y.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)(g.default,{sx:{display:"flex",gap:2,mb:5},children:[(0,t.jsxs)(g.default,{sx:{flex:1},children:[(0,t.jsx)(g.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)(y.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)(g.default,{sx:{flex:1},children:[(0,t.jsx)(g.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)(y.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)(g.default,{sx:{display:"flex",justifyContent:"flex-end"},children:(0,t.jsx)(h.default,{type:"submit",variant:"contained",color:"primary",size:"large",disabled:!r||!l||!k.cardNumber||!k.cardExpiry||!k.cardCvc||f||s,startIcon:f||s?(0,t.jsx)(x.default,{size:20}):void 0,sx:{px:4,py:1.5},children:s?(0,t.jsx)(I.FormattedMessage,{id:"shop.payment.completing",defaultMessage:"#Completing..."}):f?(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"})})})]})})},$=function(e){let j=(0,P.useRouter)(),$=(0,T.useIntl)(),{club:F,website:O}=(0,M.useClub)(),{clearCart:D}=(0,v.useCart)(),{showSnackbar:z}=(0,C.useSnackbar)(),{currentOrder:q,hasCurrentOrder:B,updateOrder:G,clearCurrentOrder:W,isInitialized:U}
66=(0,S.useOrder)(),H=(0,b.useTheme)(),V=(0,L.useSystemPagePath)(r.WebsitePageType.DELIVERY),Y=(0,L.useSystemPagePath)(r.WebsitePageType.PRODUCTS),K=q?.hash!=null&&""!==q.hash?(0,N.withOrderHashInQuery)(V,q.hash):V,[Q,J]=(0,w.useState)(!1),[Z,X]=(0,w.useState)(!1),[ee,et]=(0,w.useState)(null),ea=(0,w.useMemo)(()=>(0,_.loadStripe)("pk_live_515i6URDCNVuVZvUw4uUFGRhfUUtdEeAODrSekXH2Vv1xbDSG0Zhnp5ffICzR2OxmUDn0Dy5pZIGqVeNaCvClw2jk00pGkntzjV"),[]),es=F?(0,l.getClubUrl)(F):"",ei=n(es,q?.invoice_number,q?.invoice_hash),er=n(es,ee?.invoice_number,ee?.invoice_hash),el=(e,t)=>{window.open(e,"_blank")?F?.suffix&&(0,R.gaEvent)({action:"invoice_downloaded",category:"shop",label:`order_id:${t}`,additionalProps:{clubSuffix:F.suffix}}):z({message:$.formatMessage(u.sectionMessages["shop.success.download_error"]),variant:"error"})};(0,w.useEffect)(()=>{if(U&&(!B||!q))return void j.push(Y)},[U,B,q,j,Y]);let en=e=>(0,t.jsx)(E.FormattedNumber,{value:e,style:"currency",currencyDisplay:"narrowSymbol",currencySign:"standard",currency:F?.currency?.code||"EUR"});return!U||Z?(0,t.jsx)(g.default,{sx:{display:"flex",justifyContent:"center",alignItems:"center",minHeight:"200px"},children:(0,t.jsx)(x.default,{})}):q||Q?Q?(0,t.jsxs)(g.default,{children:[(0,t.jsx)(g.default,{sx:{display:"flex",justifyContent:"space-between",alignItems:"flex-start",mb:3},children:(0,t.jsx)(a.default,{href:Y,onClick:()=>{W()},children:(0,t.jsx)(I.FormattedMessage,{id:"back",defaultMessage:"#Back"})})}),(0,t.jsxs)(g.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)(g.default,{sx:{backgroundColor:H.props.sectionMode.card,border:`1px solid ${H.props.sectionMode.text_background}20`,borderRadius:O?.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)(g.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)(g.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)(k.default,{src:(0,d.getProductImageSrcOrDefault)((0,o.resolveShopLinePreviewUrl)(e.medias,e.item?.media)),alt:$.formatMessage(c.shopSharedMessages["shop.cart.line_image_alt"],{productName:e.item.name}),width:72,height:72,style:{objectFit:"contain"}})}),(0,t.jsxs)(g.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)(s.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:en(e.price)})]})]},e.id))}),(0,t.jsxs)(g.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:en(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:en(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:en(ee.total)}})})]}),(0,t.jsxs)(g.default,{sx:{display:"flex",gap:2,flexDirection:{xs:"column",sm:"row"},justifyContent:er?"space-between":"flex-end"},children:[er&&(0,t.jsx)(h.default,{variant:"outlined",color:"secondary",size:"large",startIcon:(0,t.jsx)(f,{}),onClick:()=>el(er,ee.id),sx:{px:4,py:1.5},children:(0,t.jsx)(I.FormattedMessage,{...u.sectionMessages["shop.success.download_invoice"]})}),(0,t.jsx)(h.default,{variant:"contained",color:"primary",size:"large",onClick:()=>{W(),j.push(Y)},sx:{px:4,py:1.5},children:(0,t.jsx)(I.FormattedMessage,{id:"shop.success.continue_shopping",defaultMessage:"#Continue shopping"})})]})]}):(0,t.jsxs)(g.default,{children:[(0,t.jsx)(g.default,{sx:{display:"flex",justifyContent:"space-between",alignItems:"flex-start",mb:3},children:(0,t.jsx)(a.default,{href:K,children:(0,t.jsx)(I.FormattedMessage,{id:"back",defaultMessage:"#Back"})})}),(0,t.jsx)(g.default,{sx:{pb:4},children:(0,t.jsx)(i.Headline2,{children:(0,t.jsx)(I.FormattedMessage,{id:"shop.payment.title",defaultMessage:"#Payment"})})}
66),(0,t.jsx)(g.default,{sx:{width:{xs:"100%",md:"33%"},mb:5},children:(0,t.jsxs)(g.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:en(q?.total||0)})]})}),ei&&(0,t.jsx)(g.default,{sx:{mb:5},children:(0,t.jsx)(h.default,{variant:"outlined",color:"secondary",size:"large",startIcon:(0,t.jsx)(f,{}),onClick:()=>el(ei,q.id),sx:{px:4,py:1.5},children:(0,t.jsx)(I.FormattedMessage,{...u.sectionMessages["shop.order.download_invoice"]})})}),(0,t.jsxs)(g.default,{sx:{backgroundColor:H.props.sectionMode.card,border:`1px solid ${H.props.sectionMode.text_background}20`,borderRadius:O?.button_style==="SQUARE_CORNERS"?0:"8px",p:4,boxShadow:"0 2px 4px rgba(0,0,0,0.1)",mb:4},children:[(0,t.jsxs)(g.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)(y.Elements,{stripe:ea,children:(0,t.jsx)(A,{orderData:q,onSuccess:e=>{let t={...q,...e,status:"fulfilled"};G(t),et(t),F?.suffix&&(0,R.gaEvent)({action:"order_completed",category:"shop",label:`order_id:${t.id}|order_value:${t.total}|org_id:${F.id}`,additionalProps:{clubSuffix:F.suffix}}),D(),X(!0),setTimeout(()=>{J(!0),X(!1)},500)},isTransitioningToSuccess:Z})})]}),(0,t.jsx)(g.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)(g.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)(g.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)(g.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
66ctures."})]})})]}):null};e.s(["default",0,function(e){return(0,t.jsx)($,{...e})}],386753)},30956,e=>{e.v({adRoot:"PlayerDefaultLayout-module-scss-module__DrZbrG__adRoot"})},969747,e=>{"use strict";var t=e.i(843476),a=e.i(229160),s=e.i(364384),i=e.i(271645),r=e.i(186153),l=e.i(844722),n=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),f=e.i(819646),g=e.i(937910),h=e.i(210557),x=e.i(322013),b=e.i(413518),y=e.i(770703),_=e.i(11),j=e.i(30956);let v=(0,y.default)(()=>e.A(877013),{loadableGenerated:{modules:[444472]},ssr:!1}),M="https://dk9pqlttm1g0o.cloudfront.net/2026-06-29-a/images",S=x.default.img`
67  object-fit: cover;
68  width: 100%;
69  aspect-ratio: 3/4;
70`;function C(e){let a=(0,_.useIntl)(),{club:x,modes:y}=(0,b.useClub)(),{data:C,section:k}=e,{translations:{messages:P},simpleDateFormatter:w}=(0,s.useTranslations)(),{currentStatsBySeason:I,sportsStatsById:E,categories:T,groupsById:N,playerPositions:R,allStatsBySeason:L,player:A}=C,$=(0,h.useTheme)(),F=(0,i.useMemo)(()=>{let e=Object.keys(L).map(Number);return e.sort((e,t)=>t-e),e},[L]),O=(0,i.useMemo)(()=>{let e=Object.keys(I).map(Number);return e.sort((e,t)=>t-e),e},[I]);return(0,t.jsxs)(f.default,{children:[(0,t.jsxs)(f.default,{display:"flex",sx:{flexDirection:{xs:"column",md:"row"},paddingBottom:{xs:$.spacing(4),md:$.spacing(6)}},children:[(0,t.jsx)(f.default,{sx:{display:{xs:"flex",sm:"block",md:"block"},justifyContent:{xs:"center",sm:"initial",md:"initial"}},children:(0,t.jsx)(f.default,{sx:{width:{xs:343,sm:340,md:340},marginRight:{sm:$.spacing(6)}},position:"relative",children:(0,t.jsx)(S,{src:A?.pic_roster||A?.picture||`${M}/websites/empty-roster-desktop.svg`})})}),(0,t.jsxs)(f.default,{display:"flex",justifyContent:"center",flexDirection:"column",flexGrow:1,sx:{paddingTop:{xs:$.spacing(5),sm:0}},children:[(0,t.jsx)(f.default,{pb:2,children:(0,t.jsx)(u.Headline2,{children:[A?.firstname,A?.lastname].join(" ")})}),(0,t.jsxs)(g.default,{spacing:"4px",container:!0,children:[A?.birthday&&k.content?.birthday!==!1?(0,t.jsxs)(g.default,{size:{xs:6},children:[(0,t.jsx)(u.Paragraph1,{children:a.formatMessage(p.sectionMessages["section.player.profile.date_of_birth"])}),(0,t.jsx)(u.Paragraph1,{children:(0,t.jsx)("strong",{children:w(A?.birthday,"DD.MM.YYYY")})})]}):null,A?.height&&k.content?.height!==!1?(0,t.jsxs)(g.default,{size:6,children:[(0,t.jsx)(u.Paragraph1,{children:a.formatMessage(p.sectionMessages["section.player.profile.height"])}),(0,t.jsx)(u.Paragraph1,{children:(0,t.jsx)("strong",{children:`${A?.height}cm`})})]}):null,A?.nationality&&k.content?.nationality!==!1?(0,t.jsxs)(g.default,{size:6,children:[(0,t.jsx)(u.Paragraph1,{children:a.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&&k.content?.weight!==!1?(0,t.jsxs)(g.default,{size:6,children:[(0,t.jsx)(u.Paragraph1,{children:a.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)(f.default,{py:4,children:(0,t.jsx)(v,{color:y.find(e=>e.type===k?.mode.type)?.background,classes:j.default.adRoot,blockId:A?.id,adType:"playerprofile"})})]})]}),(0,t.jsx)(f.default,{pb:7,children:(0,t.jsx)(o.Separator,{})}),O.length>0&&(0,t.jsx)(f.default,{pb:4,children:(0,t.jsx)(u.Headline2,{children:a.formatMessage(p.sectionMessages["section.player.profile.most_recent_stats"])})}),O.map(e=>(function(e){let{...a}=E[e.sport.id];return(0,t.jsxs)(f.default,{pb:4,children:[(0,t.jsx)(f.default,{pb:3,children:(0,t.jsx)(u.Headline3,{children:[e?.sport?.name,e?.season?.name].join(" - ")})}),(0,t.jsx)(g.default,{container:!0,spacing:"8px",children:Object.keys(a).map(s=>{var i,r;return i=a[s].name,r=e.stats[s],(0,t.jsx)(g.default,{size:{xs:6,sm:6,md:3},children:(0,t.jsx)("div",{children:(0,t.jsx)(l.default,{children:(0,t.jsxs)(f.default,{py:2,display:"flex",flexDirection:"column",alignItems:"center",children:[(0,t.jsxs)(f.default,{display:"flex",children:[(0,t.jsx)(f.default,{mr:1,children:(0,t.jsx)("img",{src:`${M}
70/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)(f.default,{py:4,children:(0,t.jsx)(o.Separator,{})})]},`${e.sport?.id}-${e.season?.id}`)})(I[`${e}`][0])),F.length>0&&(0,t.jsx)(f.default,{pb:4,children:(0,t.jsx)(u.Headline2,{children:a.formatMessage(p.sectionMessages["section.player.profile.career_statistics"])})}),F.map(e=>(function([e,a]){return(0,t.jsxs)(f.default,{children:[(0,t.jsx)(f.default,{pb:4,children:(0,t.jsx)(u.Headline3,{children:a[0]?.season?.name})}),a.map(D)]},e)})([`${e}`,L[e]]))]});function D(e){let s=E[e.sport.id];if(!s)return null;let{...i}=s,{rows:l}=e,o=N[e.group?.id],c=R.find(t=>t.season?.id===e.season?.id&&t.group?.id===e.group?.id),g=c?.positions?.map(e=>P[e.name]).join(", "),h=[c?.jersey_number!==void 0&&c?.jersey_number!==null?`#${c?.jersey_number}`:"",g].filter(Boolean).join(" • ");return(0,t.jsxs)(f.default,{children:[(0,t.jsxs)(f.default,{pb:2,display:"flex",alignItems:"center",children:[(0,t.jsx)(f.default,{pr:2,children:(0,t.jsx)(n.Img,{mods:"w75",src:o?.pic||r.DEFAULT_TEAM_LOGO,failoverImage:r.DEFAULT_TEAM_LOGO})}),(0,t.jsxs)(f.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:h}),(0,t.jsx)(u.Paragraph1,{children:o?.sport?.name})]})]}),(0,t.jsx)(d.default,{entityKey:"competition",stats:{rows:l,header:i},getEntityNameNode:e=>e?.name,entityNameHeaderNode:(0,t.jsx)("span",{children:a.formatMessage(p.sectionMessages["table.header.player"])}),getFieldKey:(e,t,a)=>`${a}`})]},`${e.sport?.id}-${e.season?.id}`)}}e.s(["default",0,function(e){let{data:r}=e,{placeholders:l}=r,{extendTranslations:n}=(0,s.useTranslations)();return(0,i.useEffect)(()=>{(0,a.isEmpty)(l)||n(l)},[l]),(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),a=e.i(782547),s=e.i(819646),i=e.i(937910),r=e.i(230169);e.s(["default",0,function(e){let{fullScreenSize:l,smallScreenSize:n,title:o}=e,d=[...Array(n)].map((e,t)=>t+1),u=[...Array(l)].map((e,t)=>t+1),c=Math.floor(12/l),m=Math.floor(12/n);return(0,t.jsxs)(s.default,{children:[(0,t.jsx)(s.default,{pb:4,children:(0,t.jsx)(a.Headline3,{children:o})}),(0,t.jsx)(s.default,{sx:{display:{md:"none",xs:"block"}},children:(0,t.jsx)(i.default,{container:!0,spacing:"8px",children:d.map(p)})}),(0,t.jsx)(s.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 l=e.i(459826);e.s(["default",0,function(e){let{jerseyNumber:s}=e;return(0,t.jsx)("div",{className:l.default.slug,children:(0,t.jsx)(a.Headline3,{isAccent:!0,children:s||"#"})})}],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),a=e.i(856931),s=e.i(229160),i=e.i(364384),r=e.i(271645),l=e.i(186153),n=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),f=e.i(11),g=e.i(314632),h=e.i(659712);function x(e){let{data:s,section:i}=e,{content:r}=i,{league:x,stats:b,season:y,group:_,groupsById:j}=s,v=(0,f.useIntl)(),M=(0,g.useSystemPagePath)(c.WebsitePageType.STATISTICS,{leagues:x?.id,...y?.id?{seasons:y.id}:{}}),S=(0,g.useSystemPagePath)(c.WebsitePageType.STATISTICS,{leagues:x?.id,...r?.team?.id?{groups:r.team.id}:{},...y?.id?{seasons:y.id}:{}}),C=i.layout===a.SectionLayoutType.TEAM?S:M,k=!!_,P=k?l.DEFAULT_USER_ICON:l.DEFAULT_TEAM_LOGO,w=b?.rows?.length===0||Object.keys(b?.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??l.DEFAULT_TEAM_LOGO,failoverImage:l.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:b,getEntityNameNode:function(e,a){let s=(k?e?.pic_thumbnail:j[a?.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:s,failoverImage:P})}
70),(0,t.jsx)("span",{children:[e.firstname,e.lastname].filter(Boolean).join(" ")})]})},headerDisplay:"name",entityNameHeaderNode:(0,t.jsx)("span",{children:v.formatMessage(h.sectionMessages["table.header.player"])}),getFieldKey:(e,t,a)=>{var s,i,r;return(s=t,i=a,r=x.id,{getStatKey:e=>`${s}-${r}-${i}-${e}`}).getStatKey(e)}}),!w&&(0,t.jsx)(p.default,{pb:4,justifyContent:"center",display:"flex",children:(0,t.jsx)(n.default,{applyBackgroundColor:!0,href:C,children:v.formatMessage(h.sectionMessages["website.view_more"])})})]}):(0,t.jsx)(m.default,{fullScreenSize:1,smallScreenSize:1,title:v.formatMessage(h.sectionMessages["standings.no_data"])})}var b=e.i(790849),y=e.i(306691),_=e.i(119530),j=e.i(363972),v=e.i(224467),M=e.i(194606),S=e.i(650832),C=e.i(449894),k=e.i(567160),P=e.i(845679),w=e.i(937910),I=e.i(207670),E=e.i(519130),T=e.i(540672),N=e.i(319727);function R(e){return(0,N.default)("MuiPagination",e)}(0,T.default)("MuiPagination",["root","ul","outlined","text"]);var L=e.i(504165),A=e.i(868308);function $(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 O=e.i(154033),D=e.i(942196),z=e.i(535057),q=e.i(454624);let B=(0,q.default)((0,t.jsx)("path",{d:"M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"}),"FirstPage"),G=(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"),W=(0,q.default)((0,t.jsx)("path",{d:"M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"}),"NavigateBefore"),U=(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),V=e.i(940799),Y=e.i(75149),K=e.i(594425);let Q=(e,t)=>{let{ownerState:a}=e;return[t.root,t[a.variant],t[`size${(0,D.default)(a.size)}`],"text"===a.variant&&t[`text${(0,D.default)(a.color)}`],"outlined"===a.variant&&t[`outlined${(0,D.default)(a.color)}`],"rounded"===a.shape&&t.rounded,"page"===a.type&&t.page,("start-ellipsis"===a.type||"end-ellipsis"===a.type)&&t.ellipsis,("previous"===a.type||"next"===a.type)&&t.previousNext,("first"===a.type||"last"===a.type)&&t.firstLast]},J=(0,V.styled)("div",{name:"MuiPaginationItem",slot:"Root",overridesResolver:Q})((0,Y.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)}}]}))),Z=(0,V.styled)(O.default,{name:"MuiPaginationItem",slot:"Root",overridesResolver:Q})((0,Y.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
70d,.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,V.styled)("div",{name:"MuiPaginationItem",slot:"Icon"})((0,Y.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,a){let s=(0,K.useDefaultProps)({props:e,name:"MuiPaginationItem"}),{className:i,color:r="standard",component:l,components:n={},disabled:o=!1,page:d,selected:u=!1,shape:c="circular",size:m="medium",slots:p={},slotProps:f={},type:g="page",variant:h="text",...x}=s,b={...s,color:r,disabled:o,selected:u,shape:c,size:m,type:g,variant:h},y=(0,A.useRtl)(),_=(e=>{let{classes:t,color:a,disabled:s,selected:i,size:r,shape:l,type:n,variant:o}=e,d={root:["root",`size${(0,D.default)(r)}`,o,l,"standard"!==a&&`color${(0,D.default)(a)}`,"standard"!==a&&`${o}${(0,D.default)(a)}`,s&&"disabled",i&&"selected",{page:"page",first:"firstLast",last:"firstLast","start-ellipsis":"ellipsis","end-ellipsis":"ellipsis",previous:"previousNext",next:"previousNext"}[n]],icon:["icon"]};return(0,E.default)(d,$,t)})(b),j={slots:{previous:p.previous??n.previous,next:p.next??n.next,first:p.first??n.first,last:p.last??n.last},slotProps:f},[v,M]=(0,H.default)("previous",{elementType:W,externalForwardedProps:j,ownerState:b}),[S,C]=(0,H.default)("next",{elementType:U,externalForwardedProps:j,ownerState:b}),[k,P]=(0,H.default)("first",{elementType:B,externalForwardedProps:j,ownerState:b}),[w,T]=(0,H.default)("last",{elementType:G,externalForwardedProps:j,ownerState:b}),N=y?({previous:"next",next:"previous",first:"last",last:"first"})[g]:g,R={previous:v,next:S,first:k,last:w}[N],L={previous:M,next:C,first:P,last:T}[N];return"start-ellipsis"===g||"end-ellipsis"===g?(0,t.jsx)(J,{ref:a,ownerState:b,className:(0,I.default)(_.root,i),children:"…"}):(0,t.jsxs)(Z,{ref:a,ownerState:b,component:l,disabled:o,className:(0,I.default)(_.root,i),...x,children:["page"===g&&d,R?(0,t.jsx)(X,{...L,className:_.icon,as:R}):null]})}),et=(0,V.styled)("nav",{name:"MuiPagination",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:a}=e;return[t.root,t[a.variant]]}})({}),ea=(0,V.styled)("ul",{name:"MuiPagination",slot:"Ul"})({display:"flex",flexWrap:"wrap",alignItems:"center",padding:0,margin:0,listStyle:"none"});function es(e,t,a){return"page"===e?`${a?"":"Go to "}page ${t}`:`Go to ${e} page`}let ei=r.forwardRef(function(e,a){let s=(0,K.useDefaultProps)({props:e,name:"MuiPagination"}),{boundaryCount:i=1,className:r,color:l="standard",count:n=1,defaultPage:o=1,disabled:d=!1,getItemAriaLabel:u=es,hideNextButton:c=!1,hidePrevButton:m=!1,onChange:p,page:f,renderItem:g=e=>(0,t.jsx)(ee,{...e}),shape:h="circular",showFirstButton:x=!1,showLastButton:b=!1,siblingCount:y=1,size:_="medium",variant:j="text",...v}=s,{items:M}=function(e={}){let{boundaryCount:t=1,componentName:a="usePagination",count:s=1,defaultPage:i=1,disabled:r=!1,hideNextButton:l=!1,hidePrevButton:n=!1,onChange:o,page:d,showFirstButton:u=!1,showLastButton:c=!1,siblingCount:m=1,...p}=e,[f,g]=(0,L.default)({controlled:d,default:i,name:a,state:"page"}),h=(e,t)=>{d||g(t),o&&o(e,t)},x=(e,t)=>Array.from({length:t-e+1},(t,a)=>e+a),b=x(1,Math.min(t,s)),y=x(Math.max(s-t+1,t+1),s),_=Math.max(Math.min(f-m,s-t-2*m-1),t+2),j=Math.min(Math.max(f+m,t+2*m+2),s-t-1),v=[...u?["first"]:[],...n?[]:["previous"],...b,..._>t+2?["start-ellipsis"]:t+1<s-t?[t+1]:[],...x(_,j),...j<s-t-1?["end-ellipsis"]:s-t>t?[s-t]:[],...y,...l?[]:["next"],...c?["last"]:[]],M=e=>{switch(e){case"first":return 1;case"previous":return f-1;case"next":return f+1;case"last":return s;default:return null}};return{items:v.map(e=>"number"==typeof e?{onClick:t=>{h(t,e)},type:"page",page:e,selected:e===f,disabled:r,"aria-current":e===f?"page":void 0}:{onClick:t=>{h(t,M(e))},type:e,page:M(e),selected:!1,disabled:r||!e.includes("ellipsis")&&("next"===e||"last"===e?f>=s:f<=1)}),...p}}({...s,componentName:"Pagination"}),S={...s,boundaryCount:i,color:l,count:n,defaultPage:o,disabled:d,getItemAriaLabel:u,hideNextButton:c,hidePrevButton:m,renderItem:g,shape:h,showFirstButton:x,showLastButton:b,siblingCount:y,size:_,variant:j},C=(e=>{let{classes:t,variant:a}=e;return(0,E.default)({root:["root",a],ul:["ul"]},R,t)})(S);return(0,t.jsx)(et,{"aria-label":"pagination navigation",className:(0,I.default)(C.root,r),ownerState:S,ref:a,...v,children:(0,t.jsx)(ea,{className:C.ul,ownerState:S,children:M.map((e,a)=>(0,t.jsx)("li",{children:g({...e,color:l,"aria-label":u(e.type,e.page,e.selected),shape:h,size:_,variant:j})},a))})})});var er=e.i(210557),el=e.i(413518),en=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 a=(0,en.useParams)(),n=(0,s.isUndefined)(a.slug)||(0,s.isEmpty)(a.slug)?null:a.slug[0],{prefix:c,pathPrefix:g,club:x}=(0,el.useClub)(),{data:I}=e,{league:E,season:T,paginatedStats:N,seasons:R,leagues:L,group:A,placeholders:$,categories:F,groupsById:O,statsCategories:D,defaultStatsCategoryId:z,defaultStatsMo
70de:q}=I||{},B=(0,f.useIntl)(),G=(0,er.useTheme)(),W=(0,r.useRef)(!1),U=(0,r.useRef)(!1),H=(0,r.useRef)(!1),[V,Y]=(0,r.useState)(O),[K,Q]=(0,r.useState)(E),[J,Z]=(0,r.useState)(T?.id||0),[X,ee]=(0,r.useState)(E?.id||0),[et,ea]=(0,r.useState)(N?._meta),[es,ep]=(0,r.useState)(N?.data),[ef,eg]=(0,r.useState)(!1),[eh,ex]=(0,r.useState)(R),[eb,ey]=(0,r.useState)(!1),[e_,ej]=(0,r.useState)(!1),[ev,eM]=(0,r.useState)(q||"player"),[eS,eC]=(0,r.useState)(z),ek=(0,en.useSearchParams)(),[eP,ew]=(0,r.useState)(()=>ek.get("sort_by")||null),[eI,eE]=(0,r.useState)(()=>"desc"===ek.get("sort_order")?"DESC":"ASC"),eT=Math.floor(et?.offset/et?.limit+1),eN=Math.ceil(et?.total/et?.limit),{extendTranslations:eR}=(0,i.useTranslations)(),eL=!!A,eA=eL?l.DEFAULT_USER_ICON:l.DEFAULT_TEAM_LOGO,e$=!!es?.rows?.length||!!Object.keys(es?.header??{}).length,eF=D?.length>0,eO=(0,r.useMemo)(()=>{let e=Object.values(es?.header??{}).map(e=>e.acronym.toLowerCase());return e.sort((e,t)=>e.localeCompare(t)),e.join(",")},[es?.header]);if((0,r.useEffect)(()=>{(W.current||eP)&&!eb&&J&&ez({season:J,page:eT||1,league:X,hasStatsCategories:eF,categoryId:eS,statsMode:ev,sortBy:eP,sortOrder:eI});let t="web"===g?"":g,a=e.isPreview?`${t}/preview`:t,s=`/${[a,n].filter(Boolean).join("/")}`,i=(0,k.buildUrlFromParams)(s,{groups:A?.id,leagues:X,seasons:J},["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),W.current=!0},[J,eT,X,eS,ev,eP,eI]),(0,r.useEffect)(()=>{U.current&&eq({league:X}),U.current=!0},[X]),(0,r.useEffect)(()=>{X&&L?.length&&(L.find(e=>e.id===X)||ee(L[0].id))},[L,X]),(0,r.useEffect)(()=>{H.current&&Object.keys(es?.header??{}).length&&eD(es),H.current=!0},[eO]),!E)return(0,t.jsx)(m.default,{fullScreenSize:1,smallScreenSize:1,title:B.formatMessage(h.sectionMessages["standings.no_data"])});return(0,t.jsxs)(p.default,{children:[(0,t.jsx)(C.default,{categories:F,initialIndex:3,league:K,seasonId:J,group:A}),(0,t.jsx)(p.default,{pb:4,children:(0,t.jsxs)(w.default,{container:!0,spacing:"8px",children:[eL&&(0,t.jsx)(w.default,{size:{xs:12,sm:5,md:5},children:(0,t.jsx)(b.default,{id:"league",value:X,name:"league",label:B.formatMessage(h.sectionMessages["section.label.league"]),options:L?.map(e=>({label:e.name,value:e.id})),onChange:e=>{ee(Number(e.target.value))}})}),(0,t.jsx)(w.default,{size:{xs:12,sm:5,md:5},children:(0,t.jsx)(b.default,{id:"season",value:J,name:"season",label:B.formatMessage(h.sectionMessages["section.label.season"]),options:eh.map(e=>({label:e.name,value:e.id})),onChange:e=>Z(Number(e.target.value))})}),D?.length>0&&(0,t.jsx)(w.default,{size:{xs:12,sm:5,md:5},children:(0,t.jsx)(b.default,{id:"statsMode",value:ev,name:"statsMode",label:B.formatMessage(h.sectionMessages["section.label.stat.type"]),options:[{label:B.formatMessage(h.sectionMessages["table.header.player"]),value:"player"},{label:B.formatMessage(S.gamesMessages.team),value:"team"}],onChange:e=>{ep({header:{},rows:[]}),ea({...et,offset:0}),ew(null),eE("ASC"),eM(e.target.value);let t=D.find(t=>t.type===e.target.value);t&&eC(t.id)}})})]})}),D?.length>0&&(0,t.jsx)(p.default,{pb:3,mb:1,gap:2,display:"flex",sx:{overflowX:"auto"},children:D.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?G.props?.sectionMode?.accent:"transparent",color:e.id===eS?G.props?.sectionMode?.text_accent:G.props?.sectionMode?.text_background,cursor:"pointer"},onClick:()=>{ea({...et,offset:0}),eC(e.id)}},`stats-category__${e.id}`))}),eL&&K&&(0,t.jsxs)(p.default,{pb:4,display:"flex",alignItems:"center",children:[(0,t.jsx)(o.Img,{mods:"w64",src:K?.picture??l.DEFAULT_TEAM_LOGO,failoverImage:l.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:ef||e_?(0,t.jsx)(y.default,{}):(0,t.jsx)(d.default,{entityKey:"player"===ev?"user":"group",stats:es,getEntityNameNode:"player"===ev?function(e,a){if((0,s.isUndefined)(e))return null;let i=(eL?e?.pic_thumbnail:V[a?.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})}
70),(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:l.DEFAULT_TEAM_LOGO})}),(0,t.jsx)("span",{children:e?.full_name||e?.name})]})},entityNameHeaderNode:(0,t.jsx)("span",{children:"player"===ev?B.formatMessage(h.sectionMessages[e.data.group?.gender===1?"table.header.player_f":"table.header.player"]):"team"===ev?B.formatMessage(S.gamesMessages.team):null}),getFieldKey:(e,t,a)=>{var s,i,r;return(s=t,i=a,r=E?.id,{getStatKey:e=>`${s}-${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){ew(e),eE("asc"===t?"ASC":"DESC"),ea({...et,offset:0})},sortingData:{key:eP,direction:"ASC"===eI?_.SortingDirection.ASC:_.SortingDirection.DESC}}})}),!!e$&&eN>1&&(0,t.jsx)(p.default,{pb:4,justifyContent:"center",display:"flex",children:(0,t.jsx)(ei,{onChange:(e,t)=>
70{t-=1,ea({...et,offset:et.limit*t})},page:eT,shape:"rounded",count:eN})}),!e$&&(0,t.jsx)(v.default,{})]});async function eD(e){let[t]=Object.keys($);ej(!0);let a=await (0,em.getTranslation)(x?.admin_lang||t,(0,j.getSimpleStasInfoArrayPlaceholders)(e)).catch(()=>null);a&&eR({[t]:a}),ej(!1)}async function ez({season:e,page:t,league:a,hasStatsCategories:i,categoryId:r,statsMode:l,sortBy:n,sortOrder:o}){let d=et.limit;eg(!0);let u=await (0,ec.getStatistics)({clubPrefix:c,leagueId:a,seasonId:e,groupId:A?.id,categoryId:r,query:{_limit:d,_offset:(t-1)*d,_with_images_other_clubs:1,...n&&{sort_by:n,sort_order:o}},hasStatsCategories:i,statsMode:l});ea({...et,total:u._meta.total});let m=u.data.rows.map(e=>e.group?.id).filter(e=>!V[e]);if(!eL&&m.length){let e=await (0,ed.getClubTeams)({clubPrefix:c,query:{_groups:m}}).catch(()=>[]);Y(t=>({...t,...(0,s.groupById)(e)}))}eg(!1),ep(u.data)}async function eq({league:e}){ey(!0);let[t,a]=await Promise.all([(0,eu.getLeagueSeasonsWithStats)({clubPrefix:c,leagueId:e,groupId:A?.id}).catch(()=>[]),(0,eo.getLeague)(e,{clubPrefix:c}).catch(()=>null)]);Q(a),ex(t),ey(!1);let s=t.find(e=>e.id===J),i=t.find(e=>e.current);i||s?Z(i?i?.id:s?.id):t.length?Z(t[0]?.id):(Z(0),ep({header:{},rows:[]}))}}e.s(["default",0,function(e){let{data:l,section:n}=e,{placeholders:o}=l||{},{extendTranslations:d}=(0,i.useTranslations)();return((0,r.useEffect)(()=>{(0,s.isEmpty)(o)||d(o)},[o]),n.layout===a.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)))},935935,e=>{e.v({adRoot:"Post-module-scss-module__NM9Zfq__adRoot",buttonText:"Post-module-scss-module__NM9Zfq__buttonText",link:"Post-module-scss-module__NM9Zfq__link",paragraph:"Post-module-scss-module__NM9Zfq__paragraph",postDate:"Post-module-scss-module__NM9Zfq__postDate",postPageTitle:"Post-module-scss-module__NM9Zfq__postPageTitle",sectionWrapper:"Post-module-scss-module__NM9Zfq__sectionWrapper"})},80642,870426,771563,482068,e=>{"use strict";var t=e.i(843476),a=e.i(262821),s=e.i(776552),i=e.i(935935);e.s(["default",0,function(e){let{link:r,title:l}=e;return(0,t.jsx)(s.Box,{className:i.default.sectionWrapper,children:(0,t.jsx)(a.default,{href:r,openInNewWindow:!1,children:l})})}],80642);var r=e.i(709805),l=e.i(306691),n=e.i(782547),o=e.i(659712),d=e.i(289590),u=e.i(210557),c=e.i(322013),m=e.i(271645),p=e.i(112458),f=e.i(701973);let g=(0,m.lazy)(()=>e.A(425031)),h={rootMargin:"50px",threshold:.1},x=(c.default.div`
71  position: absolute;
72  width: 100%;
73  height: 100%;
74  background-color: rgba(0, 0, 0, 0.7);
75  color: #ffffff;
76  font-size: 28px;
77  display: flex;
78  justify-content: center;
79  align-items: center;
80`,(0,c.default)(s.Box)(({theme:e})=>({display:"flex",width:"100%",flexFlow:"row wrap",marginLeft:"-8px",counterReset:"brick",paddingBottom:e.spacing(4),'&[data-is-safari="true"]':{display:"grid",gridTemplateColumns:"repeat(3, 1fr)",gap:e.spacing(2),[e.breakpoints.down("sm")]:{gridTemplateColumns:"repeat(2, 1fr)"},[e.breakpoints.down("xs")]:{gridTemplateColumns:"repeat(1, 1fr)"}}}))),b=(0,c.default)(s.Box)(({theme:e})=>({overflow:"hidden",margin:e.spacing(0,0,2,2),position:"relative",flex:"auto",height:250,minWidth:150,cursor:"pointer",[e.breakpoints.down("sm")]:{margin:e.spacing(0,0,2,2),maxWidth:"calc(50% - 16px)"},[e.breakpoints.down("xs")]:{maxWidth:"calc(100% - 16px)",height:"unset"},"& img":{objectFit:"cover",width:"100%",height:"100%",verticalAlign:"middle",maxWidth:"100%",transition:"opacity 0.3s ease-in-out"}})),y=m.default.memo(({src:e,alt:a,onClick:i,index:r,totalImages:l,isGallery:o})=>{let[u,c]=(0,m.useState)(!1),[p,f]=(0,m.useState)(!o),[g,x]=(0,m.useState)(!1),y=(0,m.useRef)(null);(0,m.useEffect)(()=>{if(!o)return;let e=new IntersectionObserver(([t])=>{t.isIntersecting&&(f(!0),e.disconnect())},h);return y.current&&e.observe(y.current),()=>e.disconnect()},[o]);let _=(0,m.useCallback)(()=>{c(!0)},[]),j=(0,m.useCallback)(()=>{x(!0)},[]),v=(0,m.useCallback)(e=>{("Enter"===e.key||" "===e.key)&&(e.preventDefault(),i())},[i]),M=a||`Gallery image ${r+1} of ${l}`,S=`View image ${r+1} of ${l} in lightbox`;return(0,t.jsx)(b,{ref:y,isGallery:o,onClick:i,onKeyDown:v,role:"button","aria-label":S,tabIndex:0,sx:{"&:focus":{outline:"2px s
80olid",outlineColor:"primary.main",outlineOffset:"2px"}},children:o&&!p?(0,t.jsx)(d.Skeleton,{variant:"rectangular",width:"100%",height:"100%",animation:"wave",sx:{borderRadius:1},"aria-label":`Loading ${M}`}):g?(0,t.jsxs)(s.Box,{sx:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%",bgcolor:"grey.100",borderRadius:1,flexDirection:"column",gap:1},children:[(0,t.jsx)(s.Box,{sx:{fontSize:"2rem",color:"text.secondary"},children:"📷"}),(0,t.jsx)(n.Paragraph1,{sx:{fontSize:"0.75rem",color:"text.secondary",textAlign:"center"},children:"Failed to load image"})]}):(0,t.jsxs)(t.Fragment,{children:[o&&!u&&(0,t.jsx)(d.Skeleton,{variant:"rectangular",width:"100%",height:"100%",animation:"wave",sx:{position:"absolute",top:0,left:0,borderRadius:1,zIndex:1},"aria-label":`Loading ${M}`}),(0,t.jsx)("img",{src:e,alt:M,loading:o?"lazy":"eager",onLoad:_,onError:j,style:{opacity:o?+!!u:1,position:"relative",zIndex:2}})]})})});y.displayName="LazyImage",e.s(["default",0,e=>{let{pictures:a,photographer:i}=e;(0,u.useTheme)();let[d,c]=(0,m.useState)(-1),h=a.length>=5,[_,j]=(0,m.useState)([]),[v,M]=(0,m.useState)(!0);(0,m.useEffect)(()=>{h&&a.length>0&&(j(a.slice(0,15)),M(a.length>15))},[a,h]);let S=(0,m.useCallback)(()=>{let e=_.length,t=a.slice(e,e+15);t.length>0?(j(e=>[...e,...t]),e+t.length>=a.length&&M(!1)):M(!1)},[a,_.length]),C=(0,m.useCallback)(e=>{c(a.findIndex(t=>t===e))},[a]),k=(0,m.useCallback)(e=>{c(e)},[]),P=h?_:a;return(0,t.jsxs)(s.Box,{children:[i&&(0,t.jsxs)(n.Paragraph1,{sx:{marginBottom:"10px"},children:[(0,t.jsx)(p.FormattedMessage,{...o.sectionMessages["section.gallery.photographed_by"]})," ",i]}),(0,t.jsx)(m.Suspense,{children:(0,t.jsx)(g,{open:-1!==d,close:()=>c(-1),index:d,slides:a.map(e=>({src:e}))})}),1===a.length?(0,t.jsx)(s.Box,{sx:{width:"100%",height:"100%"},children:(0,t.jsx)("img",{src:a[0],alt:"image",style:{maxWidth:"100%"},onClick:()=>k(0)})}):h?(0,t.jsx)(r.default,{dataLength:_.length,next:S,hasMore:v,loader:(0,t.jsx)(s.Box,{display:"flex",justifyContent:"center",py:2,children:(0,t.jsx)(l.default,{})}),endMessage:(0,t.jsx)(s.Box,{display:"flex",justifyContent:"center",py:2,children:(0,t.jsxs)(n.Paragraph1,{sx:{color:"text.secondary"},children:[a.length," images loaded"]})}),children:(0,t.jsx)(x,{isGallery:!0,"data-is-safari":f.isSafari,children:_.map((e,s)=>(0,t.jsx)(y,{src:e,alt:e.split("/")?.slice(-1)[0]||"Gallery image",onClick:()=>C(e),index:s,totalImages:a.length,isGallery:!0},e))})}):(0,t.jsx)(x,{isGallery:!1,"data-is-safari":f.isSafari,children:P.map((e,a)=>(0,t.jsxs)(b,{isGallery:!1,onClick:()=>k(a),role:"button",tabIndex:0,sx:{"&:focus":{outline:"2px solid",outlineColor:"primary.main",outlineOffset:"2px"}},children:[!1,(0,t.jsx)("img",{src:e,alt:e.split("/")?.slice(-1)[0]||"alt"})]},"masonry__picture__"+a+"__"+e))})]})}],870426),e.s(["default",0,function(e){let{link:a,title:r}=e;return(0,t.jsx)(s.Box,{className:i.default.sectionWrapper,children:(0,t.jsx)("a",{href:a,target:"_blank",rel:"noreferrer",children:(0,t.jsx)(n.Paragraph1,{className:i.default.link,children:r})})})}],771563);var _=e.i(819646);e.s(["default",0,function(e){let{text:a}=e;return(0,t.jsx)(_.default,{pb:4,children:(0,t.jsx)(n.Paragraph1,{className:i.default.paragraph,children:a})})}],482068)},45498,e=>{e.v({playerWrapper:"PostVideo-module-scss-module__7IdaNW__playerWrapper"})},19898,e=>{"use strict";var t=e.i(843476),a=e.i(819646),s=e.i(362085),i=e.i(45498);e.s(["default",0,function(e){let{videoUrl:r}=e;return(0,t.jsx)(a.default,{pb:4,className:i.default.playerWrapper,children:(0,t.jsx)(s.default,{url:r,width:"100%",height:"100%",onError:()=>null,controls:!0,onPlay:()=>null})})}])},297678,e=>{"use strict";e.s(["POSTS_PAGE_LIMIT",0,6,"POST_ARTICLE_KEY",0,"posts"])},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),a=e.i(481926),s=e.i(356437),i=e.i(710269),r=e.i(908448),l=e.i(782547),n=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
80ange unless the item is faulty."}});var m=e.i(456589),p=e.i(755742);let f=(0,p.default)((0,t.jsx)("path",{d:"M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6z"}),"Add"),g=(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 h=e.i(819646),x=e.i(688762),b=e.i(828642),y=e.i(723897),_=e.i(591052),j=e.i(936151),v=e.i(210557),M=e.i(127167),S=e.i(765952),C=e.i(413518),k=e.i(522016),P=e.i(271645),w=e.i(112458),I=e.i(11),E=e.i(731881),T=e.i(314632),N=e.i(70445),R=e.i(961974),L=e.i(657688),A=e.i(726008);let $={0:{items:1}};function F(e){let{slides:a,galleryKey:s,productName:i,squareCorners:r}=e,l=(0,I.useIntl)(),n=(0,v.useTheme)(),o=(0,R.default)(n.breakpoints.down("md")),[u,m]=(0,P.useState)(0);(0,P.useEffect)(()=>{m(0)},[s]),(0,P.useEffect)(()=>{0===a.length?m(0):m(e=>Math.min(e,a.length-1))},[a.length]);let p=r?0:"12px",f=a[u]??a[0],g=(0,d.getProductImageSrcOrDefault)(f?.fullUrl??""),x=(0,P.useMemo)(()=>(0,t.jsx)(A.default,{responsive:$,mouseTracking:!0,keyboardNavigation:!0,animationDuration:400,infinite:a.length>
801,disableDotsControls:a.length<2,disableButtonsControls:!0,items:a.map((e,s)=>{let r=(0,d.getProductImageSrcOrDefault)(e.fullUrl);return(0,t.jsx)(h.default,{sx:{width:"100%",aspectRatio:"1",display:"flex",alignItems:"center",justifyContent:"center",px:1,userSelect:"none"},children:(0,t.jsx)(h.default,{sx:{position:"relative",width:"80%",height:"80%",maxWidth:"100%",maxHeight:"100%"},children:(0,t.jsx)(L.default,{src:r,alt:l.formatMessage(c["shop.product.gallery_image_alt"],{productName:i,index:s+1,total:a.length}),fill:!0,sizes:"100vw",draggable:!1,onDragStart:e=>e.preventDefault(),style:{objectFit:"contain",pointerEvents:"none",userSelect:"none",WebkitUserSelect:"none",WebkitTouchCallout:"none"}})})},`${r}-${s}`)})},s),[s,a,l,i]),b=(0,P.useMemo)(()=>(0,t.jsxs)(h.default,{sx:{display:"flex",flexDirection:"row",gap:2,alignItems:"stretch",width:"100%"},children:[(0,t.jsx)(h.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:a.map((e,s)=>{let i=s===u,o=(0,d.getProductImageSrcOrDefault)(e.thumbnailUrl||e.fullUrl);return(0,t.jsx)(h.default,{component:"button",type:"button",onClick:()=>m(s),"aria-label":l.formatMessage(c["shop.product.gallery_select_image_a11y"],{index:s+1,total:a.length}),sx:{position:"relative",p:1,m:0,border:i?`2px solid ${n.props.sectionMode.accent}`:`1px solid ${n.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:n.props.sectionMode.focus_outline,outlineOffset:2}},children:(0,t.jsx)(h.default,{sx:{position:"relative",flex:"1 1 auto",width:"100%",minHeight:0,pointerEvents:"none"},children:(0,t.jsx)(L.default,{src:o,alt:"",fill:!0,sizes:"88px",draggable:!1,onDragStart:e=>e.preventDefault(),style:{objectFit:"contain",userSelect:"none"}})})},`thumb-${o}-${s}`)})}),(0,t.jsx)(h.default,{sx:{position:"relative",flex:1,minWidth:0,aspectRatio:"1",borderRadius:p,backgroundColor:n.props.sectionMode.card,px:1},children:(0,t.jsx)(L.default,{src:g,alt:l.formatMessage(c["shop.product.gallery_image_alt"],{productName:i,index:u+1,total:a.length}),fill:!0,sizes:"(min-width: 900px) min(45vw, 560px), 100vw",draggable:!1,onDragStart:e=>e.preventDefault(),style:{objectFit:"contain",userSelect:"none"}})})]}),[a,l,g,i,p,u,r,n.props.sectionMode.accent,n.props.sectionMode.card,n.props.sectionMode.focus_outline,n.props.sectionMode.text_background]);return(0,t.jsx)(h.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:n.spacing(2,0,0)},"& .alice-carousel__dots-item:not(.__custom).__active:after":{backgroundColor:n.props.sectionMode.accent},"& .alice-carousel__dots-item:not(.__custom):after":{backgroundColor:n.props.sectionMode.text_background,opacity:.35}}:{}},children:0===a.length?(0,t.jsx)(h.default,{sx:{width:"100%",minHeight:{xs:200,md:320}}}):o?x:b})}let O=function(e){let{data:p}=e,{product:R}=p,L=(0,I.useIntl)(),{club:A,prefix:$,website:O}=(0,C.useClub)(),{addItem:D}=(0,S.useCart)(),{token:z}=(0,M.useAuth)(),q=(0,v.useTheme)(),B=(0,T.useSystemPagePath)(n.WebsitePageType.PRODUCTS),G=(0,T.useSystemPagePath)(n.WebsitePageType.CART),[W,U]=(0,P.useState)(""),[H,V]=(0,P.useState)({}),[Y,K]=(0,P.useState)({}),Q=(0,P.useRef)({}),[J,Z]=(0,P.useState)(0),[X,ee]=(0,P.useState)(!1),[et,ea]=(0,P.useState)(!1);(0,P.useEffect)(()=>{R&&$&&z&&(0,E.gaEvent)({action:"product_viewed",category:"shop",label:`product_id:${R.id}|org_id:${A.id}`,additionalProps:{clubSuffix:$}})},[R,$,A?.id,z]);let es=(0,P.useMemo)(()=>R?.variants&&(0,o.isStructuredProductVariants)(R.variants)?(0,o.getStructuredVariantSelectOptions)(R.variants):[],[R]),ei=(0,P.useMemo)(()=>es.filter(e=>!!e.label?.trim()),[es]),er=(0,P.useMemo)(()=>es.map(e=>e.key),[es]),el=(0,P.useMemo)(()=>R?(0,o.getColorHexValuesFromOptions)(R):[],[R]),en=!!R&&el.length>0&&es.length>0,eo=(0,P.useMemo)(()=>R?.options?.filter(e=>e.name&&"color"!==e.name.toLowerCase())??[],[R]),ed=(0,o.parseStructuredVariantKey)(W).color??"",eu=(0,P.useMemo)(()=>(0,o.getVariantKeysMatchingColor)(er,ed||el[0]||""),[er,ed,el]),ec=(0,P.useMemo)(()=>
80{if(!R){let e=(0,d.getProductImageSrcOrDefault)("");return[{fullUrl:e,thumbnailUrl:e}]}let e=es.length>0&&W?W:"",t=(0,o.getProductGallerySlides)(R,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)("")}]},[R,W,es.length]),em=`${R?.id??""}-${W}-${ec.map(e=>e.fullUrl).join("|")}`;(0,P.useEffect)(()=>{U("")},[R?.id]),(0,P.useEffect)(()=>{K({}),Object.values(Q.current).forEach(clearTimeout),Q.current={}},[R?.id]),(0,P.useEffect)(()=>()=>{Object.values(Q.current).forEach(clearTimeout)},[]),(0,P.useEffect)(()=>{es.length>0&&!W&&U(es[0].key)},[es,W]);let ep=null!=R&&(0,o.isLegacyStringVariants)(R.variants)&&R.variants.length>0||es.length>0,ef=(0,P.useMemo)(()=>{if(!R)return 0;if(es.length>0&&W){let e=(0,o.resolveCanonicalVariantKey)(R,W)??W,t=es.find(t=>t.key===e);if(t)return t.price}return"number"==typeof R.price?R.price:(0,o.getProductListUnitPrice)(R)},[R,W,es]),eg=(e,t)=>{V(a=>({...a,[e]:t}))},eh=e=>{let t=Q.current[e];t&&clearTimeout(t),delete Q.current[e],K(t=>{if(!t[e])return t;let a={...t};return delete a[e],a})},ex=e=>{K(t=>({...t,[e]:!0}));let t=Q.current[e];t&&clearTimeout(t),Q.current[e]=setTimeout(()=>{eh(e)},4e3)},eb=()=>{if(ep&&!W)return!1;if(R?.questions&&Array.isArray(R.questions)){for(let e of R.questions)if(e.required&&!H[e.name]?.trim())return!1}return!0},ey=()=>{if(!R)return!1;if(!R.availability)return!0;let e=new Date,t=R.availability_from?new Date(R.availability_from):null,a=R.availability_to?new Date(R.availability_to):null;return!t&&!a||(!t||e>=t)&&(!a||e<=a)},e_=async()=>{if(R&&eb()){ee(!0);try{let e={id:R.id,name:R.name,price:ef,non_tangible:R.non_tangible||!1,hidden:R.hidden||!1,availability:R.availability||!0,production_time:R.production_time||!1,description:R.description||null,reference:R.reference||null,weight:R.weight||null,media:R.media||null,variants:R.variants||null,questions:R.questions||null,availability_from:R.availability_from||null,availability_to:R.availability_to||null,production_time_from:R.production_time_from||null,production_time_to:R.production_time_to||null,provider:R.provider||null,label:R.name,ga_product_name:R.name,images:R.images||{medium:{path:"",name:"",extension:""},small:{path:"",name:"",extension:""}}},t=null!=W&&""!==W?(0,o.resolveCanonicalVariantKey)(R,W)??W:"",a=""!==t?(0,o.getDetailForVariantKey)(R,t):null,s=a?.id??es.find(e=>e.key===t)?.detail?.id,i=(R.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);D(e,1,{variantId:s,variantKey:W||void 0,answers:i}),$&&(0,E.gaEvent)({action:"add_to_cart",category:"shop",label:`product_id:${R.id}|quantity:1|org_id:${A.id}`,additionalProps:{clubSuffix:$}}),ea(!0),setTimeout(()=>{ea(!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:!!R?.description},{id:"pickup",key:"pickup",labelKey:"shop.product.pickup",defaultLabel:"Pick-up",hasData:!!R?.provider},{id:"delivery",key:"delivery",labelKey:"shop.product.delivery",defaultLabel:"Delivery",hasData:!!R?.provider},{id:"returns",key:"returns",labelKey:"shop.product.returns",defaultLabel:"Returns",hasData:!0}].filter(e=>e.hasData),ev=ej[J],eM=!ey()||X||!eb();return R?(0,t.jsxs)(h.default,{children:[(0,t.jsxs)(h.default,{sx:{display:"flex",justifyContent:"space-between",alignItems:"flex-start",mb:6},children:[(0,t.jsx)(a.default,{href:B,children:(0,t.jsx)(w.FormattedMessage,{...m.shopSharedMessages.back})}),(0,t.jsx)(N.default,{})]}),et&&(0,t.jsxs)(h.default,{sx:{backgroundColor:q.props.sectionMode.card,border:`1px solid ${q.props.sectionMode.accent}`,borderRadius:O?.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)(h.default,{sx:{display:"flex",alignItems:"center",gap:2,flex:{xs:"none",md:1}},children:[(0,t.jsx)(g,{sx:{width:16,height:16,color:q.props.sectionMode.accent}}),(0,t.jsx)(l.Paragraph2,{children:(0,t.jsx)(w.FormattedMessage,{...c["shop.product.item_successfully_added"]})})]}),(0,t.jsxs)(h.default,{sx:{display:"flex",alignItems:"center",gap:2,width:{xs:"100%",md:"auto"}},children:[(0,t.jsx)(k.default,{href:B,passHref:!0,style:{textDecoration:"none"},children:(0,t.jsx)(i.default,{onClick:()=>ea(!1),sx:{padding:q.spacing(1,3)},children:(0,t.jsx)(w.FormattedMessage,{...c["shop.product.continue_shopping"]})})}),(0,t.jsx)(k.default,{href:G,passHref:!0,style:{textDecoration:"none"},children:(0,t.jsx)(s.default,{sx:{padding:q.spacing(1,3)},children:(0,t.jsx)(w.FormattedMessage,{...c["shop.product.view_cart"]})})})]})]}),(0,t.jsxs)(h.default,{sx:{display:"flex",flexDirection:{xs:"column",md:"row"},gap:{xs:4,md:6},mb:6},children:[(0,t.jsx)(h.default,{sx:{flex:{xs:"none",md:"1"},maxWidth:{xs:"100%",md:"50%"}},children:(0,t.jsx)(F,{slides:ec,galleryKey:em,productName:R.name,squareCorners:O?.button_style==="SQUARE_CORNERS"})}),(0,t.jsxs)(h.default,{sx:{flex:{xs:"none",md:"1"},display:"flex",flexDirection:"column",gap:3},children:[(0,t.jsx)(l.Headline2,{sx:{color:q.props.sectionMode.text_background,mb:2},children:R.name}),(0,t.jsx)(l.Headline3,{sx:{color:q.props.sectionMode.accent,mb:3},children:(0,t.jsx)(u.FormattedNumber,{value:ef,style:"currency",currencyDisplay:"narrowSymbol",currencySign:"standard",currency:A?.currency?.code||"EUR"})}),en&&(0,t.jsxs)(h.default,{sx:{mb:3},children:[(0,t.jsx)(l.Headline4,{sx:{mb:3,color:q.props.sectionMode.text_background,textTransform:"capitalize"},children:(0,t.jsx)(w.FormattedMessage,{...c["shop.product.color"]})}),(0,t.jsx)(r.ProductColorSwatches,{hexValues:el,selectedHex:ed,onSelect:e=>{let t=(0,o.pickVariantKeyForColor)(er,e,W);t&&U(t)}})]}),en&&eo.map(e=>{let a=e.name.toLowerCase(),s=(0,o.getDistinctDimensionValues)(eu,e.name),i=(0,o.parseStructuredVariantKey)(W)[a]??"";return(0,t.jsx)(h.default,{sx:{mb:3},children:(0,t.jsx)(j.default,{fullWidth:!0,label:e.name,value:i,onChange:t=>((e,t)=>{if(!R)return;let a=e.toLowerCase(),s={...(0,o.parseStructuredVariantKey)(W),[a]:t},i=(0,o.buildVariantKeyFromSelections)(R,s);i&&er.includes(i)&&U(i)})(e.name,t.target.value),select:!0,required:!0,sx:{"& .MuiOutlinedInput-root":{borderRadius:O?.button_style==="SQUARE_CORNERS"?0:"8px"}},children:s.map(e=>(0,t.jsx)(b.default,{value:e,children:e},e))})},e.name)}),(0,o.isLegacyStringVariants)(R.variants)&&R.variants.length>0&&(0,t.jsx)(h.default,{sx:{mb:3},children:(0,t.jsx)(j.default,{fullWidth:!0,label:L.formatMessage(c["shop.product.size"]),value:W,onChange:e=>U(e.target.value),select:!0,required:!0,sx:{"& .MuiOutlinedInput-root":{borderRadius:O?.button_style==="SQUARE_CORNERS"?0:"8px"}},children:R.variants.map(e=>(0,t.jsx)(b.default,{value:e,children:e},e))})}),es.length>0&&!en&&ei.length>0&&(0,t.jsx)(h.default,{sx:{mb:3},children:(0,t.jsxs)(j.default,{fullWidth:!0,label:L.formatMessage(c["shop.product.variant"]),value:W,onChange:e=>U(e.target.value),select:!0,required:!0,SelectProps:{displayEmpty:!0,renderValue:e=>{let t=es.find(t=>t.key===e);return t?.label?.trim()||" "}},sx:{"& .MuiOutlinedInput-root":{borderRadius:O?.button_style==="SQUARE_CORNERS"?0:"8px"}},children:[W&&!ei.some(e=>
80e.key===W)&&(0,t.jsx)(b.default,{value:W,sx:{display:"none"},"aria-hidden":!0,children:" "}),ei.map(e=>(0,t.jsx)(b.default,{value:e.key,children:e.label},e.key))]})}),R.questions&&Array.isArray(R.questions)&&R.questions.length>0&&(0,t.jsxs)(h.default,{sx:{mb:3},children:[(0,t.jsx)(l.Headline4,{sx:{mb:3},children:(0,t.jsx)(w.FormattedMessage,{...c["shop.product.personalisation"]})}),R.questions.map((e,a)=>{let s="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!=s?i.slice(0,s):i;return(0,t.jsx)(h.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:!!(s&&Y[e.name]),helperText:null!=s?Y[e.name]?(0,t.jsx)(w.FormattedMessage,{...c["shop.product.question_char_limit_exceeded"],values:{max:s}}):(0,t.jsx)(w.FormattedMessage,{...c["shop.product.question_char_count"],values:{current:r.length,max:s}}):void 0,onChange:t=>{let a=t.target.value;null!=s&&(a=a.slice(0,s)),eg(e.name,a),null!=s&&a.length<s&&eh(e.name)},required:e.required,inputProps:null!=s?{maxLength:s,onKeyDown:t=>((e,t,a)=>{let s;if(a.nativeEvent.isComposing)return;let i=a.currentTarget,r=i.value,l=i.selectionStart??0,n=i.selectionEnd??0;!(a.ctrlKey||a.metaKey||a.altKey||new Set(["Backspace","Delete","ArrowLeft","ArrowRight","ArrowUp","ArrowDown","Home","End","Tab","Escape","Enter"]).has(a.key))&&1===a.key.length&&(s=Math.max(0,n-l),r.length-s+1>t&&(a.preventDefault(),ex(e)))})(e.name,s,t),onPaste:t=>((e,t,a,s)=>{let i=s.clipboardData.getData("text");if(!i)return;let r=s.currentTarget,l=r.selectionStart??0,n=r.selectionEnd??0,o=a.slice(0,l),d=a.slice(n);o.length+i.length+d.length>t&&ex(e)})(e.name,s,r,t)}:void 0,sx:{"& .MuiOutlinedInput-root":{borderRadius:O?.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=>eg(e.name,t.target.value),select:!0,required:e.required,sx:{"& .MuiOutlinedInput-root":{borderRadius:O?.button_style==="SQUARE_CORNERS"?0:"8px"}},children:e.options.map(e=>(0,t.jsx)(b.default,{value:e,children:e},e))}):null},a)})]}),(0,t.jsx)(h.default,{sx:{mb:2,maxWidth:"343px"},children:(0,t.jsx)(s.default,{disabled:eM,onClick:e_,startIcon:ey()&&!X?(0,t.jsx)(f,{sx:{width:12,height:12}}):void 0,sx:{width:"100%"},children:X?(0,t.jsx)(x.default,{size:16,color:"inherit"}):ey()?(0,t.jsx)(w.FormattedMessage,{...c["shop.product.add_to_cart"]}):(0,t.jsx)(w.FormattedMessage,{...c["shop.product.unavailable"]})})}),ej.length>0&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(h.default,{sx:{borderTop:`1px solid ${q.props.sectionMode.text_background}20`,mt:4,mb:3}}),(0,t.jsx)(h.default,{sx:{borderBottom:`1px solid ${q.props.sectionMode.text_background}20`,mb:3},children:(0,t.jsx)(_.default,{value:J,onChange:(e,t)=>
80{Z(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,a)=>(0,t.jsx)(y.default,{label:(0,t.jsx)(l.Paragraph2,{sx:{fontWeight:J===a?600:400,color:J===a?q.props.sectionMode.accent:q.props.sectionMode.text_background},children:"description"===e.key?(0,t.jsx)(w.FormattedMessage,{...c["shop.product.description"]}):"pickup"===e.key?(0,t.jsx)(w.FormattedMessage,{...c["shop.product.pickup"]}):"delivery"===e.key?(0,t.jsx)(w.FormattedMessage,{...c["shop.product.delivery"]}):"returns"===e.key?(0,t.jsx)(w.FormattedMessage,{...c["shop.product.returns"]}):e.defaultLabel}),sx:{padding:"16px 8px",minHeight:"48px"}},e.id))})}),(0,t.jsx)(h.default,{sx:{mb:3},children:ev&&(0,t.jsx)(l.Paragraph2,{sx:{color:q.props.sectionMode.text_background,lineHeight:1.6},children:"description"===ev.key?R.description:"pickup"===ev.key?R.provider?.picked_up?R.provider?.pick_up_description:L.formatMessage(c["shop.product.pickup_unavailable"]):"delivery"===ev.key?R.provider?.deliverable?L.formatMessage(c["shop.product.delivery_description"]):L.formatMessage(c["shop.product.delivery_unavailable"]):"returns"===ev.key?L.formatMessage(c["shop.product.returns_policy"]):null})})]})]})]})]}):(0,t.jsx)(h.default,{sx:{display:"flex",justifyContent:"center",alignItems:"center",minHeight:"400px"},children:(0,t.jsx)(l.Paragraph2,{children:(0,t.jsx)(w.FormattedMessage,{...c["shop.product.not_found"]})})})};e.s(["default",0,function(e){return(0,t.jsx)(O,{...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),a=e.i(844722),s=e.i(908448),i=e.i(782547),r=e.i(691102),l=e.i(324121),n=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),f=e.i(937910),g=e.i(210557),h=e.i(127167),x=e.i(413518),b=e.i(657688),y=e.i(522016),_=e.i(618566),j=e.i(271645),v=e.i(112458),M=e.i(11),S=e.i(428703),C=e.i(731881),k=e.i(314632),P=e.i(70445),w=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,R=(0,M.useIntl)(),L=(0,_.useRouter)(),{club:A,prefix:$}=(0,x.useClub)(),{token:F}=(0,h.useAuth)(),O=(0,g.useTheme)(),D=(0,k.useSystemPagePath)(r.WebsitePageType.PRODUCT),z={"--content-padding":O.spacing(2,2,3,2),"--content-gap":O.spacing(2),"--header-padding-bottom":O.spacing(4),"--cart-summary-margin-bottom":O.spacing(2),"--product-text-color":O.props.sectionMode?.text_background??"var(--theme-text-background)"}
80,[q,B]=(0,j.useState)(T),[G,W]=(0,j.useState)(()=>void 0!==E.next?I(E.next):null),[U,H]=(0,j.useState)(!1),V=(0,j.useRef)(!1),Y=(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)(()=>{B(E.products??[]),void 0!==E.next&&W(I(E.next)),V.current=!1},[Q]);let J=(0,j.useCallback)(async()=>{let e=I(G);if($&&null!=e&&!Y.current){Y.current=!0,H(!0);try{let{items:t,next:a}=await (0,S.getProducts)({clubPrefix:$,query:{_limit:N,_next:e}});B(e=>{let a=new Set(e.map(e=>e.id)),s=[...e];for(let e of t)a.has(e.id)||(a.add(e.id),s.push(e));return s}),W(I(a))}finally{Y.current=!1,H(!1)}}},[$,G,N]),Z=null!=I(G);return(0,j.useEffect)(()=>{let e=K.current;if(!e||!Z)return;let t=new IntersectionObserver(e=>{let t=e[0];t?.isIntersecting&&J()},{root:null,rootMargin:"0px",threshold:0});return t.observe(e),()=>t.disconnect()},[Z,J]),(0,j.useEffect)(()=>{$&&F&&(0,C.gaEvent)({action:"shop_viewed",category:"shop",label:`org_id:${A.id}|org_name:${A.name}`,additionalProps:{clubSuffix:$}})},[$,A?.id,A?.name,F]),(0,j.useEffect)(()=>{0!==q.length&&$&&F&&!V.current&&(V.current=!0,(0,C.gaEvent)({action:"product_list_viewed",category:"shop",label:`products_count:${q.length}|org_id:${A.id}`,additionalProps:{clubSuffix:$}}))},[q.length,$,A?.id,F]),(0,t.jsxs)(m.default,{style:z,children:[(0,t.jsxs)(m.default,{className:w.default.headerRow,children:[(0,t.jsx)(i.Headline2,{children:(0,t.jsx)(v.FormattedMessage,{...u["shop.fanshop"]})}),(0,t.jsx)(m.default,{className:w.default.cartSummaryRow,children:(0,t.jsx)(m.default,{className:w.default.cartSummaryInner,children:(0,t.jsx)(P.default,{})})})]}),(0,t.jsxs)(f.default,{container:!0,spacing:{xs:4,md:5},children:[0===q.length&&(0,t.jsx)(f.default,{size:12,children:(0,t.jsx)(o.default,{mods:"media-placeholder",title:R.formatMessage(c.sectionMessages["products.no_products"]),fullScreenSize:4,smallScreenSize:2})}),q.map((e,r)=>{let o,u=(0,n.getProductImageSrcOrDefault)((0,l.getListingImageUrl)(e)),c=(0,l.getListingColorHexValues)(e),p=(0,l.getListingUnitPrice)(e),g=(o=e?.id,`${D}/${o}`);return(0,t.jsx)(f.default,{size:{xs:6,md:3},className:w.default.productGridItem,children:(0,t.jsx)(y.default,{href:g,prefetch:!1,className:`${w.default.productLink} ${w.default.productCardLink}`,"aria-label":e?.name,onMouseEnter:()=>L.prefetch(g),onFocus:()=>L.prefetch(g),children:(0,t.jsx)(m.default,{className:w.default.productCardOuter,children:(0,t.jsx)(a.default,{hoverEffect:!0,children:(0,t.jsx)(m.default,{className:w.default.productCardBorder,children:(0,t.jsxs)(m.default,{className:w.default.productCardInner,children:[(0,t.jsx)(m.default,{className:w.default.productImageArea,children:(0,t.jsx)(b.default,{src:u,alt:e.name,fill:!0,sizes:"(max-width: 900px) 50vw, 25vw",className:w.default.productImage})}),(0,t.jsxs)(m.default,{className:w.default.productContent,children:[(0,t.jsx)(i.Headline4,{className:w.default.productTitle,children:e.name}),c.length>0&&(0,t.jsx)(s.ProductColorSwatches,{hexValues:c,selectedHex:"",interactive:!1,size:"compact",maxSwatchCount:10}),(0,t.jsx)(i.Paragraph2,{className:w.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}`)})]}),U&&(0,t.jsx)(m.default,{className:w.default.infiniteScrollLoader,display:"flex",justifyContent:"center",py:2,children:(0,t.jsx)(p.default,{size:28,sx:{color:"var(--theme-text-background)"},"aria-label":R.formatMessage(u["shop.product_list.loading_more"])})}),(0,t.jsx)("div",{ref:K,className:w.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)))},385118,e=>{"use strict";var t=e.i(843476),a=e.i(229160),s=e.i(364384),i=e.i(271645),r=e.i(790849),l=e.i(306691),n=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),f=e.i(815975),g=e.i(659712),h=e.i(567160),x=e.i(819646),b=e.i(937910),y=e.i(413518),_=e.i(770703),j=e.i(618566),v=e.i(11),M=e.i(521213),S=e.i(852514),C=e.i(314632);let k=(0,_.default)(()=>e.A(877013),{loadableGenerated:{modules:[444472]},ssr:!1});function P(e){let{data:s,section:_}=e,P=(0,j.useParams)(),w=(0,a.isUndefined)(P.slug)||(0,a.isEmpty)(P.slug)?null:P.slug[0],{club:I,prefix:E,pathPrefix:T,modes:N,website:R}=(0,y.useClub)(),{group:L,season:A,seasons:$,picture:F,members:O,positions:D,categories:z}=s,[q,B]=(0,i.useState)(O),[G,W]=(0,i.useState)(!1),U=(0,i.useRef)(!1),H=(0,i.useMemo)(()=>(0,a.groupBy)(D?.player,"id"),[D?.player]),V=(0,i.useMemo)(()=>(0,a.groupBy)(D?.staff,"id"),[D?.staff]),Y=(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=>V[e])),[V,q]),Q=(0,i.useMemo)(()=>{let e=Y?.concat(K).map(e=>e.id)||[];return q?.filter(t=>!e.includes(t.id))},[Y,K,q]),J=(0,v.useIntl)(),[Z,X]=(0,i.useState)(A?.id||0),ee=(0,C.useSystemPagePath)(o.WebsitePageType.PLAYER),et=R.settings?.placeholders[L?.gender===1?"v4_website.section.roster.label.players_F":"v4_website.section.roster.label.players"]||J.formatMessage(g.sectionMessages[L?.gender===1?"section.roster.label.players_f":"section.roster.label.players"]),ea=R.settings?.placeholders["v4_website.section.roster.label.staff"]||J.formatMessage(g.sectionMessages["section.roster.label.staff"]),es=R.settings?.placeholders["v4_website.section.roster.label.members"]||J.formatMessage(g.sectionMessages["section.roster.label.members"]);return(0,i.useEffect)(()=>{U.current&&Z>0&&er({seasonId:Z});let t="web"===T?"":T,a=e.isPreview?`${t}
80/preview`:t,s=`/${[a,w].filter(Boolean).join("/")}`,i=(0,h.buildUrlFromParams)(s,{groups:L?.id,seasons:Z},["groups","seasons"],{});window.history.replaceState(null,"",i),U.current=!0},[Z]),(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:L,league:null,seasonId:A?.id})}),!!$&&$.length>0&&(0,t.jsx)(x.default,{pb:4,children:(0,t.jsx)(b.default,{container:!0,spacing:"8px",children:(0,t.jsx)(b.default,{size:{xs:12,md:5,lg:5},children:(0,t.jsx)(r.default,{id:"season",name:"season",value:Z,label:J.formatMessage(g.sectionMessages["section.label.season"]),options:$.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:f.default.imageBox,children:(0,t.jsx)("img",{className:f.default.image,src:F?.picture,alt:""})})]}),(0,t.jsx)(x.default,{py:4,children:(0,t.jsx)(k,{color:N.find(e=>e.type===_?.mode.type)?.background,classes:f.default.adRoot,blockId:I.id,adType:"roster"})}),G&&(0,t.jsx)(l.default,{}),(0,d.default)([!G&&ei(Y,et,H),!G&&ei(K,ea,V),!G&&ei(Q,es)].filter(Boolean),(0,t.jsx)(x.default,{pb:5})),!G&&Y?.length===0&&K?.length===0&&Q?.length===0&&(0,t.jsx)(u.default,{title:J.formatMessage(g.sectionMessages["section.roster.empty"]),fullScreenSize:3,smallScreenSize:2})]});function ei(e,a,s){return e&&e?.length?(0,t.jsxs)(x.default,{children:[(0,t.jsx)(x.default,{pb:4,children:(0,t.jsx)(n.Headline2,{children:a})}),(0,t.jsx)(x.default,{pb:4,children:(0,t.jsx)(b.default,{container:!0,spacing:"16px",children:e.map(e=>(0,t.jsx)(b.default,{size:{xs:6,sm:6,md:4},children:(0,t.jsx)(p.default,{media:e.pic_roster||e.picture,icon:e?.
80jersey_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,a;return t=e,a=s,a?.[t]&&a[t][0]?.translation||""}).filter(Boolean).join(", "),link:`${ee}/players/${e.id}`,mediaMods:"roster",mods:"icon-jersey",target:"_top"},`card-${e.id}`)},e.id))})})]},a.replaceAll(" ","")):null}async function er({seasonId:e}){W(!0),B(await (0,M.getGroupRoster)({clubPrefix:E,groupId:L?.id,seasonId:e,query:{sortExtra:"string"!=typeof _?.content?.column?_?.content?.column:void 0,sortBy:(0,S.getGroupRosterSortingColumnName)(_?.content?.column),sortOrder:_?.content?.sorting??"asc"}}).catch(()=>[]).finally(()=>W(!1)))}}e.s(["default",0,function(e){let{placeholders:r}=e.data,{extendTranslations:l}=(0,s.useTranslations)();return(0,i.useEffect)(()=>{(0,a.isEmpty)(r)||l(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)))},770707,e=>{e.v({descriptionRoot:"SectionLongCard-module-scss-module__z989NG__descriptionRoot",image:"SectionLongCard-module-scss-module__z989NG__image",mediaIcon:"SectionLongCard-module-scss-module__z989NG__mediaIcon"})},903419,e=>{"use strict";var t=e.i(843476),a=e.i(844722),s=e.i(877271),i=e.i(642217),r=e.i(782547),l=e.i(819646),n=e.i(210557),o=e.i(322013),d=e.i(657688),u=e.i(770707);let c=(0,o.default)("article")(({theme:e})=>({height:101,[e.breakpoints.down("md")]:{height:93},"& > :first-child":{height:"100%"},"& .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}}));e.s(["default",0,function(e){let{media:o,link:m,icon:p,title:f,description:g,slug:h}=e;return(0,n.useTheme)(),(0,t.jsx)(s.default,{link:m,children:(0,t.jsx)(c,{children:(0,t.jsx)(a.default,{children:(0,t.jsxs)(l.default,{display:"flex",children:[(0,t.jsxs)(l.default,{position:"relative",zIndex:2,children:[o?(0,t.jsx)(d.default,{width:129,height:101,src:o,alt:f,style:{objectFit:"cover"},unoptimized:!0}):(0,t.jsx)(i.default,{className:u.default.image}),p&&(0,t.jsx)("div",{className:u.default.mediaIcon,children:p})]}),(0,t.jsxs)(l.default,{className:u.default.descriptionRoot,px:2,children:[h&&(0,t.jsx)(l.default,{py:2,children:h}),(0,t.jsxs)("div",{children:[(0,t.jsx)(l.default,{pb:2,children:(0,t.jsx)(r.Headline4,{children:f})}),g&&(0,t.jsx)(l.default,{pb:2,children:(0,t.jsx)(r.Paragraph2,{children:g})})]})]})]})})})})}])},46170,e=>{"use strict";var t=e.i(843476),a=e.i(496241),s=e.i(856931),i=e.i(766705),r=e.i(552057),l=e.i(210557),n=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),a=t>>16,s=t-(a<<16)>>8;return[a,s,t-(a<<16)-(s<<8)]};var f=e.i(701973),g=e.i(567160);let h=(0,n.default)("section")(({theme:e})=>{let t=((e,t)=>{let[a,s,i]=e,[r,l,n]=t;return Math.abs(a-r)+Math.abs(s-l)+Math.abs(i-n)<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,n.default)("div")({position:"absolute",zIndex:-1,inset:0,maxHeight:"100%",overflowY:"hidden","& img":{width:"100%",height:"100%",objectFit:"cover"}}),b=(0,n.default)(r.default)`
81  &[data-is-divider='false'] {
82    padding: ${({theme:e})=>e.spacing(7,4)};
83  }
84`;e.s(["StyledSection",0,h,"default",0,function({section:e,children:i}){var r;let n,{type:p,url:y}=e?.customize?.background||{},[_,j]=(0,m.useState)(null),{club:v,page:M}=(0,o.useClub)(),S=(0,l.useTheme)(),C=M?.customizable||!1,{isAccessibleMode:k}=(0,u.useGlobalContext)(),P=f.isClient?Array.from(document?.querySelectorAll("section")):[],[w,I]=(0,m.useState)(),E=(0,d.useContainerHeight)(),[T,{height:N}]=(0,a.default)(),R=(0,m.useCallback)((r=e=>{I(e)},function(...e){n&&clearTimeout(n),n=setTimeout(()=>{n=null,r(...e)},200)}),[I]);(0,m.useEffect)(()=>
84{j(p===s.ISectionBackgroundType.IMAGE&&y&&(0,g.getImageBackgroundUrls)(y,v?.id)||null)},[y]),(0,m.useEffect)(()=>{E>=N&&1===P.length&&C?R(E):R(void 0)},[N,E,P]);let L=(0,t.jsxs)(t.Fragment,{children:[p===s.ISectionBackgroundType.IMAGE&&_&&!k&&(0,t.jsx)(x,{children:(0,t.jsxs)("picture",{children:[_.webp?.url&&(0,t.jsx)("source",{srcSet:_.webp?.url,type:_.webp?.type}),_.default?.url&&(0,t.jsx)("source",{srcSet:_.default?.url,type:_.default?.type}),_.default?.url&&(0,t.jsx)(c.default,{src:_?.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)(b,{"data-is-divider":e?.system_section?.type===s.SectionType.DIVIDER,maxWidth:"xl",children:i})]});return e.origin===s.ISectionOrigin.CUSTOM?(0,t.jsx)(h,{ref:T,"data-type":e.system_section.type,id:`section-${e.id}`,style:{minHeight:w,backgroundColor:p===s.ISectionBackgroundType.COLOR?S.background:null},children:L}):(0,t.jsx)(h,{ref:T,style:{minHeight:w},children:L})}],46170)},738135,e=>{"use strict";var t=e.i(843476),a=e.i(710269),s=e.i(844722),i=e.i(782547),r=e.i(691102),l=e.i(229160),n=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),f=e.i(210557),g=e.i(413518),h=e.i(657688),x=e.i(522016),b=e.i(271645),y=e.i(301005),_=e.i(11),j=e.i(428703),v=e.i(314632);e.s(["default",0,function(e){let{section:M}=e,[S,C]=(0,b.useState)([]),[k,P]=(0,b.useState)(!0),w=(0,_.useIntl)(),I=(0,v.useSystemPagePath)(r.WebsitePageType.PRODUCTS),E=(0,v.useSystemPagePath)(r.WebsitePageType.PRODUCT),{club:T,prefix:N}=(0,g.useClub)(),R=(0,f.useTheme)();return(0,b.useEffect)(()=>{!async function(){try{let{items:e}=await (0,j.getProducts)({clubPrefix:N});if(e.length>0){let t=(0,l.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)&&!k&&(0,t.jsx)(p.default,{size:12,children:(0,t.jsx)(d.default,{mods:"media-placeholder",title:w.formatMessage(u.sectionMessages["products.no_products"]),fullScreenSize:4,smallScreenSize:2})}),!k&&S&&S.map(e=>{let a,r=(0,o.getProductImageSrcOrDefault)((0,n.getListingImageUrl)(e));return(0,t.jsx)(p.default,{size:{xs:6,md:3},sx:{display:"flex"},children:(0,t.jsx)(x.default,{href:(a=e.id,`${E}/${a}`),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:R.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)(s.default,{hoverEffect:!0,children:(0,t.jsx)(m.default,{sx:{border:`1px solid ${R.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:R.props.sectionMode.card},children:(0,t.jsx)(h.default,{src:r,alt:w.formatMessage(c.shopSharedMessages["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:R.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:R.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:R.props.sectionMode.text_background,margin:0,flexShrink:0},children:(0,t.jsx)(y.FormattedNumber,{value:(0,n.getListingUnitPrice)(e),style:"currency",currencyDisplay:"narrowSymbol",currencySign:"standard",currency:T?.currency?.code||"EUR"})})]})]})})})})})})},e.id)}),!k&&S&&S.length>0&&(0,t.jsx)(p.default,{justifyContent:"center",container:!0,size:12,children:(0,t.jsx)(a.default,{applyBackgroun
84dColor:!0,href:I,children:w.formatMessage(u.sectionMessages["website.view_more"])})})]})]})}])},774268,e=>{"use strict";var t=e.i(843476),a=e.i(356437),s=e.i(782547),i=e.i(691102),r=e.i(229160),l=e.i(324121),n=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),f=e.i(413518),g=e.i(657688),h=e.i(271645),x=e.i(11),b=e.i(428703),y=e.i(314632);e.s(["default",0,function({data:e,section:_}){let{description:j}=e,[v,M]=(0,h.useState)(null),[S,C]=(0,h.useState)(!0),k=(0,x.useIntl)(),{club:P,website:w,prefix:I}=(0,f.useClub)(),E=(0,p.useTheme)();(0,h.useEffect)(()=>{!async function(){try{let e=_?.content?.item?.id;if(e){let t=await (0,b.getProduct)({clubPrefix:I,productId:e});M(t)}else{let{items:e}=await (0,b.getProducts)({clubPrefix:I});if(e.length>0){let t=(0,r.shuffle)(e)[0];M(t)}}}catch(e){M(null)}finally{C(!1)}}()},[_,I]);let T=(0,h.useMemo)(()=>{if(!v)return"";let e=(0,l.getListingImageUrl)(v);return(0,n.getProductImageSrcOrDefault)(e||(0,l.getProductHeroFullUrl)(v))},[v]),N=(0,y.useSystemPagePath)(i.WebsitePageType.PRODUCT);return(0,t.jsxs)(m.default,{children:[(0,t.jsx)(m.default,{pb:4,children:(0,t.jsx)(s.Headline2,{children:_?.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:w?.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)(g.default,{src:T,alt:k.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)(s.Headline2,{sx:{color:E.props.sectionMode.text_background,mb:1},children:v.name}),(0,t.jsx)(s.Headline3,{sx:{color:E.props.sectionMode.accent,mb:2},children:(0,t.jsx)(u.FormattedNumber,{value:(0,l.getListingUnitPrice)(v),style:"currency",currencyDisplay:"narrowSymbol",currencySign:"standard",currency:P?.currency?.code||"EUR"})}),j&&(0,t.jsx)(s.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)(a.default,{href:`${N}/${v.id}`,sx:{width:"100%"},children:k.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:k.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),a=e.i(877271),s=e.i(778875),i=e.i(709805),r=e.i(306691),l=e.i(782547),n=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),f=e.i(364384),g=e.i(770703),h=e.i(271645),x=e.i(11),b=e.i(997221),y=e.i(314632),_=e.i(160850),j=e.i(216835);let v=(0,g.default)(()=>e.A(877013),{loadableGenerated:{modules:[444472]},ssr:!1}),M=(0,h.lazy)(()=>e.A(425031));e.s(["default",0,function(e){let g,{gallery:S,club:C,section:k}=e.data,{photographer:P}=S||{},[w,I]=(0,h.useState)(1),[E,T]=(0,h.useState)(S?.pictures||[]),[N,R]=(0,h.useState)(E.length===j.SINGLE_GALLERY_PICTURE_PAGINATION),L=(0,x.useIntl)(),{club:A,modes:$}=(0,p.useClub)(),F=C||A,{prefix:O}=(0,p.useClub)(),D=(0,y.useSystemPagePath)(n.WebsitePageType.GAME),{simpleDateFormatter:z}=(0,f.useTranslations)(),[q,B]=(0,h.useState)(-1),G=-1!==q,W=(g=window.navigator.userAgent,/safari/i.test(g)&&!/chrome|android/i.test(g)?"safari":/chrome/i.test(g)?"chrome":/firefox/i.test(g)?"firefox":"");return(0,h.useEffect)(()=>{G&&N&&E.length-q<=5&&U()},[q]),(0,t.jsxs)(m.default,{children:[(0,t.jsx)(h.Suspense,{children:(0,t.jsx)(M,{open:G,close:()=>B(-1),index:q,slides:E.map(e=>({src:e}))})}),(0,t.jsx)(m.default,{pb:4,children:(0,t.jsx)(l.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)(l.Paragraph1,{children:[L.formatMessage(c.sectionMessages["section.gallery.p
84hotographed_by"])," ",P]}),(0,t.jsx)(l.Paragraph1,{children:" | "})]}),S&&(0,t.jsx)(l.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)(s.default,{externalClub:F,size:24},"clubLogo"),(0,t.jsxs)(l.Paragraph1,{children:[L.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)(a.default,{link:`${D}/${S.event?.id}`,children:(0,t.jsx)(l.Paragraph1,{children:(0,t.jsx)("strong",{children:L.formatMessage(c.sectionMessages["section.gallery.view_game_page"])})})})}),S?.description&&(0,t.jsx)(m.default,{pb:5,children:(0,t.jsx)(l.Paragraph1,{children:S.description})}),(0,t.jsx)(v,{color:$.find(e=>e.type===k?.mode.type)?.background,classes:_.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:L.formatMessage(c.sectionMessages["galleries.no_photos"]),fullScreenSize:2,smallScreenSize:2})}),(0,t.jsx)(i.default,{dataLength:E.length,next:U,className:d.default.infiniteList,hasMore:N,loader:(0,t.jsx)(r.default,{}),children:(0,t.jsx)(m.default,{pb:4,className:"safari"===W?_.default.masonryGrid:_.default.masonry,children:E.map((e,a)=>(0,t.jsx)("div",{onClick:()=>B(a),className:_.default.masonryItem,children:(0,t.jsx)("img",{src:e,className:_.default.masonryImage,alt:""})},e))})})]});async function U(){let e=await (0,b.getGalleryPictures)({clubPrefix:O,id:S.id,query:{_limit:j.SINGLE_GALLERY_PICTURE_PAGINATION,_offset:j.SINGLE_GALLERY_PICTURE_PAGINATION*w}}).catch(()=>[]);I(e=>e+1),T(t=>t.concat(e)),0===e.length&&R(!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,a=e.i(843476),s=e.i(642184),i=e.i(782547),r=e.i(659712),l=e.i(819646),n=e.i(11),o=((t={}).SMALL="small",t.LARGE="large",t),d=e.i(53800);function u(e){return(0,a.jsx)(a.Fragment,{children:(0,d.range)(e.count).map(e=>(0,a.jsx)(l.default,{mr:2,children:(0,a.jsx)(s.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,n.useIntl)(),c=m.filter(e=>t?.content?.[e]),f=t?.customize?.format?.icon_size===o.LARGE;return(0,a.jsxs)(l.default,{children:[(0,a.jsx)(l.default,{justifyContent:"center",textAlign:"center",pb:4,display:"flex",children:(0,a.jsx)(i.Headline3,{children:t.name||d.formatMessage(r.sectionMessages["social.social_networks"])})}),(0,a.jsx)(l.default,{pb:4,display:"flex",alignItems:"center",justifyContent:"center",children:(0,a.jsxs)(l.default,{display:"flex",justifyContent:"space-between",children:[c&&c.map(e=>(function({icon:e,url:t,key:i,isLarge:r}){return(0,a.jsx)("a",{href:t,target:"_blank",rel:"noreferrer",children:(0,a.jsx)(l.default,{mr:2,children:(0,a.jsx)(s.default,{imgSrc:e,size:r?"large":"medium"})})},i)})({key:e,icon:p[e],url:t?.content[e],isLarge:f})),c&&0===c.length&&(0,a.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),a=e.i(782547),s=e.i(33612),i=e.i(229160),r=e.i(867129),l=e.i(230169),n=e.i(6
8459712),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:f}=e,{sponsors:g,sponsorCategories:h}=p,x=(0,u.useMemo)(()=>(0,i.groupBy)(g.map(e=>({...e,categoryId:e?.category?`id_${e?.category?.id}`:"no-sponsor"})),"categoryId"),[g]),b=(0,c.useIntl)(),y=g?.length===0;return(0,t.jsxs)(o.default,{children:[(0,t.jsx)(o.default,{pb:4,children:(0,t.jsx)(a.Headline2,{children:f.name})}),y?(0,t.jsx)(r.default,{title:b.formatMessage(n.sectionMessages["sponsors.empty"]),fullScreenSize:6,smallScreenSize:3}):(0,s.default)(Object.entries(x).map(([e,s])=>(function(e,s){if(0===s.length)return null;let i="no-sponsor"===e?b.formatMessage(n.sectionMessages["sponsors.label"]):h?.find(t=>t.id===Number(e.split("_")[1]))?.name||"",r="no-sponsor"===e&&0===h.length||!i;return(0,t.jsxs)(o.default,{children:[!r&&(0,t.jsx)(o.default,{pb:4,children:(0,t.jsx)(a.Headline3,{children:i})}),(0,t.jsx)(d.default,{container:!0,spacing:"12px",children:s.map(e=>(0,t.jsx)(d.default,{size:{xs:6,sm:6,md:3,lg:3},children:(0,t.jsx)(l.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)(a.Paragraph2,{children:e.name})}),useFailOverComponent:!0,openLinkNewTab:!0,mediaMods:"sponsor"},`card-${e.id}`)},e.id))})]})})(e,s)).filter(Boolean),(0,t.jsx)(o.default,{pb:4}))]})}])},545706,e=>{"use strict";var t=e.i(843476),a=e.i(306691),s=e.i(376925),i=e.i(782547),r=e.i(856931),l=e.i(867129),n=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),f=e.i(611662),g=e.i(229160),h=e.i(726008),x=e.i(363538);let b={0:{items:1},1024:{items:3}},y=function(e){let{sponsors:a,randomize:s}=e,r=u.default.useMemo(()=>s?(0,g.shuffle)(a):a,[a]),l=u.default.memo(function(){return(0,t.jsx)(h.default,{responsive:b,mouseTracking:!0,keyboardNavigation:!0,infinite:!0,autoPlay:!0,autoPlayInterval:1e3,animationDuration:2500,disableDotsControl
84s:!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)(f.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)(n.default,{className:x.default.container,children:(0,t.jsx)(l,{})})};var _=e.i(844722),j=e.i(766705),v=e.i(937910),M=e.i(210557),S=e.i(322013),C=e.i(657688),k=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"}})),w=(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")`
85  background-color: #ffffff;
86`,N=(0,S.default)(k.default)`
87  display: block;
88  width: 100%;
89  height: 100%;
90  outline: ${({theme:e})=>e.props.sectionMode.focus_outline};
91
92  &:focus-visible {
93    box-shadow: 0px 0px 0 3px ${({theme:e})=>e.props.sectionMode.accent} inset;
94    border-radius: 7px;
95  }
96`,R=function(e){let{sponsors:a}=e,s=a.length<6,r=(0,M.useTheme)();return(0,t.jsx)(n.default,{children:(0,t.jsx)(P,{container:!0,spacing:r.spacing(2),isContainerCenter:s,children:a.map((e,a)=>{let s=e.url?N:"div";return(0,t.jsx)(w,{size:{xs:4,sm:4,md:2},children:(0,t.jsx)(_.default,{children:(0,t.jsx)(T,{children:(0,t.jsx)(s,{href:e.url?e.url:"undefined",target:"_blank",rel:"noreferrer",children:(0,t.jsx)(I,{children:(0,t.jsx)(n.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__"+a+"__"+e.id)})})})};var L=e.i(500545);e.s(["default",0,function(e){let{section:{layout:f,content:g,id:h,name:x=""},data:b}=e,{sponsorCategories:_}=b,[j,v]=(0,u.useState)(b.sponsors),[M,S]=(0,u.useState)(!1),{prefix:C}=(0,o.useClub)(),k=(0,d.useSearchParams)(),P=(0,L.getSponsorTabKey)(h),w=Number(k.get(P)),I=(0,c.useIntl)(),E=(0,u.useMemo)(()=>g?.categories?.map(e=>{let t=_.find(t=>t.id===e.id);return{title:t?.name,id:e.id}}).filter(e=>e.title)??[],[g?.categories,_]),T=E.findIndex(e=>e.id===w);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)(n.default,{children:[x&&(0,t.jsx)(n.default,{display:"flex",justifyContent:"center",alignItems:"center",pb:4,children:(0,t.jsx)(i.Headline3,{children:x})}),E&&E.length>1&&(0,t.jsx)(n.default,{display:"flex",justifyContent:"center",alignItems:"center",pb:4,children:(0,t.jsx)(s.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)(a.default,{}),A&&!M&&(0,t.jsx)(l.default,{title:I.formatMessage(p.sectionMessages["sponsors.empty"]),fullScreenSize:6,smallScreenSize:3}),f===r.SectionLayoutType.CAROUSEL&&!A&&!M&&(0,t.jsx)(y,{sponsorCategories:_,sponsors:N,randomize:g?.randomize}),f===r.SectionLayoutType.LIST&&!A&&!M&&(0,t.jsx)(R,{sponsorCategories:_,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),a=e.i(856931),s=e.i(229160),i=e.i(364384),r=e.i(271645),l=e.i(186153),n=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),f=e.i(363972),g=e.i(449894),h=e.i(659712),x=e.i(567160),b=e.i(819646),y=e.i(937910),_=e.i(413518),j=e.i(770703),v=e.i(618566),M=e.i(11),S=e.i(564366),C=e.i(196812),k=e.i(571709),P=e.i(612049);let w={header:{},rows:[]};var I=e.i(132793);let E=(0,j.default)(()=>e.A(877013),{loadableGenerated:{modules:[444472]},ssr:!1});function T(e){let a=(0,v.useParams)(),j=(0,s.isUndefined)(a.slug)||(0,s.isEmpty)(a.slug)?null:a.slug[0],{club:T,prefix:N,pathPrefix:R,modes:L}=(0,_.useClub)(),{data:A,section:$}=e,{league:F,season:O,standingsStats:D,seasons:z,leagues:q,group:B,placeholders:G,categories:W}=A,U=(0,M.useIntl)(),{translations:{messages:H}}=(0,i.useTranslations)(),V=(0,r.useRef)(!1),Y=(0,r.useRef)(!1),K=(0,r.useRef)(!1),[Q,J]=(0,r.useState)(F),[Z,X]=(0,r.useState)(O?.id||0),[ee,et]=(0,r.useState)(F?.id||0),[ea,es]=(0,r.useState)(D),[ei,er]=(0,r.useState)(!1),[el,en]=(0,r.useState)(z),[eo,ed]=(0,r.useState)(!1),[eu,ec]=(0,r.useState)(!1),[em,ep]=(0,r.useState)([]),[ef,eg]=(0,r.useState)(!1),{extendTranslations:eh}=(0,i.useTranslations)();return(0,r.useEffect)(()=>{let e=[];ea&&ea.length&&ea.forEach(t=>{let a=Object.values(t.header).map(e=>"string"==typeof e.acronym?e.acronym.toLowerCase():"");a.sort((e,t)=>
96e.localeCompare(t));let s=a.join(",");e.some(e=>e===s)||e.push(s)});let t=!1;e.forEach(e=>{em.some(t=>t===e)||(t=!0)}),t&&ep(e),t&&em?.length&&eg(!0)},[ea]),(0,r.useEffect)(()=>{V.current&&!eo&&Z&&eb({season:Z,league:ee});let t="web"===R?"":R,a=e.isPreview?`${t}/preview`:t,s=`/${[a,j].filter(Boolean).join("/")}`,i=(0,x.buildUrlFromParams)(s,{groups:B?.id,leagues:ee,seasons:Z},["leagues","groups","seasons"],{});window.history.replaceState(null,"",i),V.current=!0},[Z,ee]),(0,r.useEffect)(()=>{Y.current&&ey({league:ee}),Y.current=!0},[ee]),(0,r.useEffect)(()=>{K.current&&ef&&(ex(ea),eg(!1)),K.current=!0},[ef]),(0,t.jsxs)(b.default,{children:[(0,t.jsx)(g.default,{categories:W,initialIndex:2,group:B,league:Q,seasonId:Z}),(0,t.jsx)(b.default,{pb:4,children:(0,t.jsxs)(y.default,{container:!0,spacing:"8px",children:[B&&(0,t.jsx)(y.default,{size:{xs:12,sm:5,md:5},children:(0,t.jsx)(o.default,{id:"league",value:ee,name:"league",label:U.formatMessage(h.sectionMessages["section.label.league"]),options:q?.map(e=>({label:e.name,value:e.id})),onChange:e=>{et(Number(e.target.value))}})}),(0,t.jsx)(y.default,{size:{xs:12,sm:5,md:5},children:(0,t.jsx)(o.default,{id:"season",value:Z,name:"season",label:U.formatMessage(h.sectionMessages["section.label.season"]),options:el?.map(e=>({label:e.name,value:e.id}))||[],onChange:e=>X(Number(e.target.value))})})]})},"standing:league:season"),B&&Q&&(0,t.jsxs)(b.default,{pb:4,display:"flex",alignItems:"center",children:[(0,t.jsx)(d.Img,{mods:"w64",src:Q?.picture??l.DEFAULT_TEAM_LOGO,failoverImage:l.DEFAULT_TEAM_LOGO}),(0,t.jsx)(b.default,{p:2,children:(0,t.jsx)(m.Headline2,{children:Q?.name})})]}),(0,t.jsx)(b.default,{pb:4,children:ei||eu?(0,t.jsx)(u.default,{}):ea?.map((e,a)=>{let s=e.footer||[],i=s.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===B?.id,getEntityNameNode:e_,entityNameHeaderNode:(0,t.jsx)("span",{children:U.formatMessage(h.sectionMessages["table.header.club"])}),getFieldKey:(e,t,a)=>{var s,i,r;return(s=t,i=a,r=F.id,{getStatKey:e=>`${s}-${r}-${i}-${e}`}).getStatKey(e)}},`group:${e.phase?.id}:${a}`),i?(0,t.jsx)(b.default,{pb:4,children:(0,t.jsx)(n.default,{children:(0,t.jsx)(b.default,{p:4,children:s.map(e=>Number.isInteger(e.points)&&0!==e.points?(0,t.jsxs)(b.default,{mb:2,children:[(0,t.jsxs)(m.Paragraph2,{children:["*",e.group?.full_name||"",": ",e.points," ",1===e.points||-1===e.points?U.formatMessage(h.sectionMessages["standings.point"]):U.formatMessage(h.sectionMessages["standings.points"])]}),e.note?(0,t.jsxs)(m.Paragraph2,{children:[U.formatMessage(h.sectionMessages["standings.comment"]),": ",e.note]}):null]},e.group.id+"-penalty"):null)})})},e.id):null]})})},"standing:group"),(0,t.jsx)(b.default,{py:4,children:(0,t.jsx)(E,{color:L.find(e=>e.type===$?.mode.type)?.background,classes:I.default.adRoot,blockId:T.id,adType:"standings"})})]});async function ex(e){let[t]=Object.keys(G);ec(!0);let a={};e?.forEach(e=>{a=Object.assign(a,(0,f.getSimpleStasInfoArrayPlaceholders)(e))});let s=await (0,P.getTranslation)(T?.admin_lang||t,a).catch(()=>null);s&&eh({[t]:s}),ec(!1)}async function eb({season:e,league:t}){er(!0),es(await (0,k.getLeagueStandings)({clubPrefix:N,leagueId:t,seasonId:e}).catch(()=>[w]).finally(()=>er(!1)))}async function ey({league:e}){ed(!0);let[t,a]=await Promise.all([(0,C.getLeagueSeasonsWithStandings)({clubPrefix:N,leagueId:e,groupId:B?.id}).catch(()=>[]),(0,S.getLeague)(e,{clubPrefix:N})]);en(t),J(a),ed(!1);let s=t.find(e=>e.id===Z),i=t.find(e=>e.current);i||s?X(i?i?.id:s?.id):t.length?X(t[0]?.id):(X(0),es([{header:{},rows:[],footer:[]}]))}function e_(e){let a=(0,p.generateTagLabel)(e,null,W,H,{showTeamAdditionalInfo:T?.show_team_additional_info});return(0,t.jsxs)(b.default,{display:"flex",alignItems:"center",children:[(0,t.jsx)(b.default,{mr:1,children:(0,t.jsx)(d.Img,{mods:"w24",src:e?.pic??l.DEFAULT_TEAM_LOGO,failoverImage:l.DEFAULT_TEAM_LOGO})}),a]})}}var N=e.i(647686);let R=e=>{let{data:{standingsStats:a,league:s,categories:n},section:u}=e,{club:f}=(0,_.useClub)(),{translations:{messages:g}}=(0,i.useTranslations)(),x=(0,r.useMemo)(()=>a?.filter(e=>e.phase?.type==="stage"),[a]),[j,v]=(0,r.useState)(x[0]?.phase?.id),S=(0,M.useIntl)();return(0,r.useEffect)(()=>{u.content.stage?.id&&x.some(e=>
96e.phase?.id===u.content.stage.id)&&v(u.content.stage.id)},[]),(0,t.jsxs)(b.default,{children:[(0,t.jsx)(b.default,{pb:4,children:(0,t.jsxs)(b.default,{display:"flex",alignItems:"center",children:[(0,t.jsx)(d.Img,{mods:"w64",src:s.picture??l.DEFAULT_TEAM_LOGO,failoverImage:l.DEFAULT_TEAM_LOGO}),(0,t.jsx)(b.default,{p:2,children:(0,t.jsx)(m.Headline2,{children:s.name})})]})}),x.length&&"all"===u.content.stageDisplay&&(0,t.jsx)(b.default,{pb:5,children:(0,t.jsx)(y.default,{size:{xs:12,sm:5,md:5},children:(0,t.jsx)(o.default,{id:"stage",value:j,name:"stage",label:S.formatMessage(h.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 a=(0,p.generateTagLabel)(e,null,n,g,{showTeamAdditionalInfo:f?.show_team_additional_info});return(0,t.jsxs)(b.default,{display:"flex",alignItems:"center",children:[(0,t.jsx)(b.default,{mr:1,children:(0,t.jsx)(d.Img,{mods:"w24",src:e?.pic??l.DEFAULT_TEAM_LOGO,failoverImage:l.DEFAULT_TEAM_LOGO})}),a]})},entityNameHeaderNode:(0,t.jsx)("span",{children:S.formatMessage(h.sectionMessages["table.header.club"])}),getFieldKey:(e,t,a)=>{var i;return(i=s.id,{getStatKey:e=>`${t}-${i}-${a}-${e}`}).getStatKey(e)}})]})};e.s(["default",0,function(e){let{data:l,section:n}=e,{placeholders:o}=l,{extendTranslations:d}=(0,i.useTranslations)();return((0,r.useEffect)(()=>{(0,s.isEmpty)(o)||d(o)},[o]),n.layout===a.SectionLayoutType.DEFAULT)?(0,t.jsx)(T,{...e}):n.layout===a.SectionLayoutType.LEAGUE?(0,t.jsx)(R,{...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),a=e.i(864354),s=e.i(819646),i=e.i(937910),r=e.i(728618),l=e.i(815975);e.s(["default",0,function(e){let{image:n,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)(a.default,{mime:d.mime,className:l.default.image,src:n,alt:d.title})});return(0,t.jsx)(s.default,{children:(0,t.jsxs)(i.default,{spacing:4,container:!0,children:["left"===o&&(0,t.jsx)(s.default,{alignItems:"center",justifyContent:"center",sx:{width:"calc(50% - 16px)",display:{xs:"none",md:"flex"}},children:c}),(0,t.jsx)(s.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)(s.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),a=e.i(262821),s=e.i(175386),i=e.i(356437),r=e.i(782547),l=e.i(46067),n=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),f=e.i(815975);e.s(["default",0,function(e){let{title:g,paragraph:h,buttonText:x,alignment:b,button:y,buttonLink:_,isClubExternalLink:j,openInNewWindow:v,onClickBtn:M}=e,{club:S}=(0,d.useClub)(),C=_??null;return _&&j&&(C=`${(0,l.getClubUrl)(S)}${_}`),(0,t.jsx)(n.default,{height:"100%",display:"flex",alignItems:"center",justifyContent:(0,m.justifyContentMapper)(b),className:f.default.textSection,children:(0,t.jsxs)(o.default,{container:!0,display:"flex",flexDirection:"column",spacing:"16px",alignItems:(0,m.justifyContentMapper)(b),textAlign:(0,m.justifyContentMapper)(b),justifyContent:(0,m.justifyContentMapper)(b),children:[g&&(0,t.jsx)(o.default,{display:"block",size:12,textAlign:b,children:(0,t.jsx)(r.Headline2,{children:g})}),h&&(0,t.jsx)(o.default,{size:12,className:p.default.preLine,textAlign:b,children:(0,t.jsx)(r.DivParagraph1Styled,{children:(0,u.default)(function(){let e=h.startsWith("<p>")||h.startsWith("<table")||h.includes("<p>")?h:`<p>${h}</p>`;if(c.isServer)return e;let t=document.createElement("div");
96return t.innerHTML=e,t.querySelectorAll("table").forEach(e=>{e.className=f.default.table;let t=document.createElement("div");t.className=f.default.tableWrapper,e.parentNode.insertBefore(t,e),t.appendChild(e)}),t.innerHTML}())})}),y&&(0,t.jsx)(o.default,{size:12,container:!0,display:"flex",alignItems:(0,m.justifyContentMapper)(b),justifyContent:(0,m.justifyContentMapper)(b),children:M?(0,t.jsx)(i.default,{className:s.default.wordBreak,onClick:M,href:C,children:x}):(0,t.jsx)(a.default,{href:C,openInNewWindow:v,children:x})})]})})}])},402533,e=>{"use strict";var t=e.i(843476),a=e.i(778875),s=e.i(782547),i=e.i(644729),r=e.i(339668),l=e.i(659712),n=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:f,club:g}=e.data,h=(0,c.useIntl)(),{club:x,prefix:b}=(0,o.useClub)(),y=g||x,{simpleDateFormatter:_}=(0,d.useTranslations)();return(0,u.useEffect)(()=>{(0,m.incrementVideoView)({clubPrefix:b,id:p.id})},[]),(0,t.jsxs)(n.default,{children:[p&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(n.default,{pb:4,children:(0,t.jsx)(s.Headline2,{children:p.title})}),(0,t.jsx)(n.default,{pb:3,children:(0,t.jsx)(s.Paragraph1,{children:_(p.date,"DD MMMM YYYY")})}),g&&g.id!==x.id&&(0,t.jsxs)(n.default,{display:"flex",alignItems:"center",pb:4,children:[(0,t.jsx)(a.default,{externalClub:y,size:24}),(0,t.jsxs)(s.Paragraph1,{children:[h.formatMessage(l.sectionMessages["section.video.created_by"])," ",y.name]})]}),(0,t.jsx)(n.default,{pb:4,children:(0,t.jsx)(s.Paragraph1,{children:p.description})}),(0,t.jsx)(r.default,{video:{...p,title:""}})]}),(0,t.jsx)(i.default,{title:h.formatMessage(l.sectionMessages["section.videos.recent_videos"]),videos:f})]})}])},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),a=e.i(782547),s=e.i(659712),i=e.i(819646),r=e.i(413518),l=e.i(770703),n=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),f=e.i(230169),g=e.i(903419),h=e.i(937910),x=e.i(364384),b=e.i(314632);let y="https://dk9pqlttm1g0o.cloudfront.net/2026-06-29-a/images";function _(e){let{videos:r,title:l,isPage:n}=e,d=r[0],u=r.slice(1),_=(0,o.useIntl)(),j=(0,b.useSystemPagePath)(m.WebsitePageType.VIDEO),{simpleDateFormatter:v}=(0,x.useTranslations)();return(0,t.jsxs)(i.default,{children:[(0,t.jsx)(i.default,{pb:4,children:n?(0,t.jsx)(a.Headline3,{children:l}):(0,t.jsx)(a.Headline2,{children:l})}),0===r.length&&(0,t.jsx)(p.default,{mods:"media-placeholder",title:_.formatMessage(s.sectionMessages["videos.no_videos"]),fullScreenSize:3,smallScreenSize:1}),r.length>0&&(0,t.jsxs)(h.default,{container:!0,spacing:"8px",children:[(0,t.jsx)(h.default,{size:{xs:12,md:12,lg:6},children:(0,t.jsx)(f.default,{link:`${j}/videos/${d.id}`,media:d.image,title:d.title,icon:(0,t.jsx)("img",{src:`${y}/websites/Play button.svg`,alt:d.title}),mods:"icon-center",mediaMods:"featured",target:"_top",description:`${_.formatMessage(s.sectionMessages["videos.label"])} • ${v(d.date)}`},`card-${d.title}`)}),(0,t.jsx)(h.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)(g.default,{media:e.image,title:e.title,icon:(0,t.jsx)("img",{src:`${y}/websites/Play button.svg`,alt:e.title}),link:`${j}/${c.SINGLE_VIDEO_KEY}/${e.id}`,description:`${_.formatMessage(s.sectionMessages["videos.label"])} • ${v(e.date)}`})},e.id))})]})]})}var j=e.i(644729);let v=(0,l.default)(()=>e.A(877013),{loadableGenerated:{modules:[444472]},ssr:!1});e.s(["default",0,function(e){let l=(0,o.useIntl)(),{section:m}=e,[p,f]=(0,n.useState)(2),[g,h]=(0,n.useState)(e.data.videos),[x,b]=(0,n.useState)(g.length>=c.VIDEO_PAGE_LIMIT),{prefix:y,club:M,modes:S}=(0,r.useClub)(),C=g.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)(a.Headline2,{className:u.default.videoHeadline,children:l.formatMessage(s.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)(_,{isPage:!0,title:l.formatMessage(s.sectionMessages["section.label.most_recent"]),videos:g.slice(0,c.LATEST_VIDEOS_LIMIT)})}),C.length>0&&(0,t.jsx)(j.default,{hasLazyLoading:!0,onFetchNext:k,hasMore:x,isPage:!0,title:l.formatMessage(s.sectionMessages["section.videos.all_videos"]),videos:C})]});async function k(){let e=m?.content?.teams||[],t=await (0,d.getVideos)({clubPrefix:y,params:{_groups:e.map(e=>e.id),_limit:c.VIDEO_PAGE_LIMIT,_offset:c.VIDEO_PAGE_LIMIT*p}}).catch(()=>[]);f(e=>e+1),h(e=>e.concat(t)),0===t.length&&b(!1)}}],524620)},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"}
96,"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),a=e.i(229160);let s={[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 a=s[e];return a?a().then(e=>e(t)):Promise.resolve({})}async function r({sections:e,params:t}){let a=e.map(e=>({section:e,getData:i({type:e.system_section.type,params:{...t,section:e}})})),s=await Promise.all(a.map(e=>e.getData));return a.map((e,t)=>({id:e.section.id,section:e.section,data:s[t]}))}function l(e){return/^(https?:\/\/)?(www\.)?(youtube\.com\/(watch\?v=|embed\/)|youtu\.be\/)/.test(e)?"youtube":/^(https?:\/\/)?(www\.)?(vimeo\.com\/)/.test(e)?"vimeo":null}function n(e){let t=e.match(/(?:https?:\/\/)?(?:www\.)?(?:youtu\.be\/|watch\?v=)([^#&?]*)/i),a=t&&11===t[1].length?t[1]:null;if(a)return`https://img.youtube.com/vi/${a}/0.jpg`}e.s(["buildUrlFromParams",0,function(e,t,a,s){let i=a.reduce((e,a)=>(t[a]&&e.push(a,t[a].toString()),e),[e]).join("/");if(Object.keys(s??{}).length){let e=new URLSearchParams(s);i+=`?${e}`}return i},"detectVideoPlatform",0,l,"fetchSectionData",0,r,"formatMembersNumber",0,e=>{let t=500*Math.floor(e/500),a=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":a(t)}-${a(t+500)}`},"getImageBackgroundUrls",0,function(e,t){let a=e.split("."),s=a.pop(),i=`${a.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/${s}`}}},"getMediaOfPost",0,function(e){var t;let a,s,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"===l(d.content.url)&&(c=n(d.content.url)||(a=(t=d.content.url).match(/(?:https?:\/\/)?(?:www\.)?(?:youtube\.com\/shorts\/)([^#&?]*)/i),s=t.match(/(?:https?:\/\/)?(?:www\.)?(?:youtu\.be\/)([^#&?]*)/i),i=a&&11===a[1].length?a[1]:null,r=s&&11===s[1].length?s[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);
96return(0,a.chunk)(t,2).reduce((e,[t,a])=>({...e,[t]:a}),{})},"getVimeoId",0,function(e){let t=e.match(/(?:https?:\/\/)?(?:player\.)?(vimeo\.com\/)([a-z0-9]*)/i);return t?t[2]:null},"getYoutubePreview",0,n,"isSystemOrPredefinedSection",0,function(e){return[t.ISectionOrigin.SYSTEM,t.ISectionOrigin.PREDEFINED].includes(e.origin)}])},92124,e=>{"use strict";var t=e.i(843476),a=e.i(766705),s=e.i(157801),i=e.i(6376),r=e.i(210557),l=e.i(413518),n=e.i(441632),o=e.i(854570);e.s(["default",0,function({section:e,children:d}){let{modes:u,website:c}=(0,l.useClub)(),m=(0,r.useTheme)(),{isAccessibleMode:p}=(0,n.useGlobalContext)(),f=u.find(t=>t.type===e.mode?.type)??o.mockModeColors,g=c?.color_palette==="DARK"?o.AccessibleModeColorsDark:o.AccessibleModeColors,h={...f,...e.mode?{...e.mode}:{}},x=m.components?.MuiButton,b=m.components?.MuiTabs,y=(0,i.createTheme)({...m,props:{...m.props,sectionMode:p?g:h},palette:{primary:{light:p?g.accent:h.accent,main:p?g.accent:h.accent,dark:p?g.accent:h.accent},secondary:{light:p?g.text_background:h.text_background,main:p?g.text_background:h.text_background,dark:p?g.text_background:h.text_background},text:{primary:p?g.text_background:h.text_background}},components:{MuiButton:{styleOverrides:{...(0,a.overridesMuiButton)(p?g:h),...x?.styleOverrides}},MuiTabs:{styleOverrides:{...(0,a.overridesMuiTab)(p?g:h),...b?.styleOverrides}},MuiPaper:{styleOverrides:{root:{backgroundColor:p?g.card:h.card,boxShadow:"none"}}},MuiOutlinedInput:{styleOverrides:{notchedOutline:{borderColor:p?g.text_background:h.text_background}}},MuiSelect:{styleOverrides:{icon:{color:p?g.text_background:h.text_background}}},MuiInputBase:{styleOverrides:{input:{color:p?g.text_background:h.text_background}}},MuiListItem:{styleOverrides:{root:{color:p?g.text_background:h.text_background}}},MuiFormLabel:{styleOverrides:{root:{color:p?g.text_background:h.text_background}}},MuiPaginationItem:{styleOverrides:{root:{color:p?g.text_background:h.text_background}}}}}),_={display:"contents",...(0,o.getThemeCssVariables)(p?g:h)};return(0,t.jsx)(s.ThemeProvider,{theme:y,children:(0,t.jsx)("div",{style:_,children:d})})}])},383216,e=>{"use strict";var t=e.i(457258),a=e.i(816973);e.s(["exportFederationClubs",0,function({clubPrefix:e,token:s,query:i,language:r}){return(0,a.request)({endpoint:"/websites/federations/clubs/export",method:"POST",clubPrefix:e,userToken:s,isPrivate:!0,query:{...i,language:r??t.DEFAULT_LANGUAGE}})},"getClub",0,function({clubPrefix:e,language:t}){let s="string"==typeof e?e:e?.api;return(0,a.getPublicData)({endpoint:"/clubs",clubPrefix:s,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,a.getPublicData)({endpoint:"/clubs/access",clubPrefix:t})},"getClubService",0,function(e){return(0,a.getPublicData)({endpoint:`/clubs/${e}`})},"getCoordinatesByPostcode",0,function(e,t){return(0,a.getPublicData)({endpoint:`/websites/lat-lng/${e}`,clubPrefix:t})},"getFederationClub",0,function({clubId:e,clubPrefix:s,language:i}){return(0,a.getPublicData)({endpoint:`/websites/federations/clubs/${e}`,clubPrefix:s,query:{language:i??t.DEFAULT_LANGUAGE}})},"getFederationClubs",0,function({clubPrefix:e,query:s,language:i}){return(0,a.getPublicData)({endpoint:"/websites/federations/clubs",clubPrefix:e,query:{...s,language:i??t.DEFAULT_LANGUAGE}})},"requestVideoSignedUrl",0,function({clubPrefix:e,token:t,body:s}){return(0,a.postPrivateData)({endpoint:"/clubs/videos/request-signed-url",token:t,clubPrefix:e,body:JSON.stringify(s)})}])},79108,e=>{"use strict";var t=e.i(816973);function a(e){return e?{query:{_selected_user:e}}:{}}e.s(["getCategoriesOverview",0,function({clubPrefix:e,token:a=""}){return(0,t.request)({endpoint:"/education/websites/categories/overview",method:"GET",clubPrefix:e,userToken:a})},"getCourse",0,function({clubPrefix:e,token:s="",courseId:i,selectedUserId:r}){return(0,t.request)({endpoint:`/education/websites/courses/${i}`,method:"GET",clubPrefix:e,userToken:s,...a(r)})},"getEducationSeminar",0,function({clubPrefix:e,token:a="",seminarId:s}){return(0,t.request)({endpoint:`/education-seminars/${s}`,method:"GET",clubPrefix:e,userToken:a})},"getLesson",0,function({clubPrefix:e,token:s="",courseId:i,lessonId:r,selectedUserId:l}){return(0,t.request)({endpoint:`/education/websites/courses/${i}/lessons/${r}`,method:"GET",clubPrefix:e,userToken:s,...a(l)})},"getLessonUsers",0,function({clubPrefix:e,token:a="",courseId:s,lessonId:i}){return(0,t.request)({endpoint:`/education/websites/courses/${s}/lessons/${i}/users`,method:"GET",clubPrefix:e,userToken:a})},"submitLessonAnswers",0,function({clubPrefix:e,token:s="",courseId:i,lessonId:r,body:l,selectedUserId:n}){return(0,t.request)({endpoint:`/education/websites/courses/${i}/lessons/${r}/answers`,method:"POST",clubPrefix:e,userToken:s,body:l,...a(n)})}])},997221,e=>{"use strict";var t=e.i(343954),a=e.i(816973);async function s({clubPrefix:e,params:i}){return(0,a.request)({endpoint:`/galleries?${t.default.stringify(i)}`,method:"GET",clubPrefix:e})}async function i({clubPrefix:e,id:t,query:s}){let[l,n]=await Promise.all([r({clubPrefix:e,id:t,query:s}),(0,a.request)({endpoint:`/gallery/${t}`,method:"GET",clubPrefix:e})]);return{...n,pictures:l}}async function r({clubPrefix:e,id:t,query:s}){let{data:i}=await (0,a.request)({endpoint:`/gallery/${t}/pictures`,method:"GET",clubPrefix:e,query:s});return i.map(e=>e?.url)}e.s(["getGalleries",0,s,"getGallery",0,i,"getGalleryPictures",0,r])},895700,e=>{"use strict";var t=e.i(640554),a=e.i(816973);e.s(["getClubGroups",0,function({clubPrefix:e,query:s}){return(0,a.getPublicData)({endpoint:"/groups/simple",clubPrefix:e,query:s}).then(t.sortGroups)},"getClubTeams",0,function({clubPrefix:e,query:s}){return(0,a.getPublicData)({endpoint:"/teams/simple",clubPrefix:e,query:s}).then(t.sortGroups)},"getGroup",0,function(e,{clubPrefix:t}){return(0,a.getPublicData)({endpoint:`/groups/${e}`,clubPrefix:t})},"getPositions",0,(e,{clubPrefix:t})=>{let s=`/sport/${e}/positions`;return(0,a.getPublicData)({endpoint:s,clubPrefix:t})},"translateSportPositions",0,(e,t)=>({player:e.player.length>0?e.player.map(e=>({...e,translation:t[e.name]}
96)):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),a=e.i(816973);async function s({clubPrefix:e,params:t}){return(0,a.request)({endpoint:"/news",method:"GET",clubPrefix:e,query:t})}async function i({clubPrefix:e,params:s}){let[r,l,n]=await Promise.all([(0,a.request)({endpoint:"/news",method:"GET",clubPrefix:e,query:s}).catch(()=>[]),(0,a.request)({endpoint:"/galleries",method:"GET",clubPrefix:e,query:{...s??{},_is_news:1}}).catch(()=>[]),(0,a.request)({endpoint:"/videos",method:"GET",clubPrefix:e,query:{...s??{},_is_news:1}}).catch(()=>[])]),o=[...r,...l.map(e=>({...e,type:"gallery"})),...n.map(e=>({...e,type:"video"}))];return o.sort(t.newsSorter),o}async function r(e,{clubPrefix:t}){return(0,a.request)({endpoint:`/news/${e}`,method:"GET",clubPrefix:t})}e.s(["getNews",0,s,"getPressArticle",0,function(e,{clubPrefix:t}){return(0,a.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:a}){return(0,t.request)({endpoint:"/store/orders",method:"POST",clubPrefix:e,body:a,isPrivate:!1})},"formatOrderData",0,function(e,t){let a=t.map(e=>{let{product:t}=e,a={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)||(a.variant={id:e.variantId}),a});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
96illing_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:a}},"updateOrder",0,function({clubPrefix:e,orderRef:a,updateData:s}){let i="number"==typeof a?String(a):encodeURIComponent(a);return(0,t.request)({endpoint:`/store/orders/${i}`,method:"PATCH",clubPrefix:e,body:s,isPrivate:!1})},"withOrderHashInQuery",0,function(e,t){if(!t)return e;let a=e.includes("?")?"&":"?";return`${e}${a}hash=${encodeURIComponent(t)}`}])},792338,e=>{"use strict";var t=e.i(567160),a=e.i(816973);async function s({clubPrefix:e,query:t}){return(0,a.getPublicData)({endpoint:"/posts/categories",clubPrefix:e,query:t,revalidate:.5})}async function i({clubPrefix:e,query:t}){return(0,a.getPublicData)({endpoint:"/posts",clubPrefix:e,query:t,revalidate:.5})}async function r({postId:e,clubPrefix:t}){return e&&0!==e?(0,a.getPublicData)({endpoint:`/posts/${e}`,clubPrefix:t,revalidate:.5}):null}async function l(e){return(await fetch(`https://vimeo.com/api/v2/video/${e}.json`)).json()}async function n(e){let a=(0,t.getMediaOfPost)(e);if(a)return a.replace("d25326e3ebvv51.cloudfront.net","d28kyj1r8oju1l.cloudfront.net");let s=e?.contents?.find(e=>"video"===e.layout);if(s?.layout==="video"&&"youtube"===(0,t.detectVideoPlatform)(s?.content?.url))return(0,t.getYoutubePreview)(s?.content.url);if(s?.layout==="video"&&"vimeo"===(0,t.detectVideoPlatform)(s?.content?.url)){let e=(0,t.getVimeoId)(s?.content.url),a=await l(e);if(Array.isArray(a))return a[0]?.thumbnail_medium}return""}e.s(["getCategories",0,s,"getPost",0,r,"getPostMedia",0,n,"getPosts",0,i])},428703,e=>{"use strict";var t=e.i(816973);async function a({clubPrefix:e,query:s}){var i=await (0,t.getPublicData)({endpoint:"/store/items",clubPrefix:e,query:s,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 s({clubPrefix:e,productId:a,token:i}){return(0,t.getPrivateData)({endpoint:`/store/items/${a}`,clubPrefix:e,token:i})}e.s(["getProduct",0,s,"getProducts",0,a])},521213,e=>{"use strict";var t=e.i(816973);async function a({seasonId:e,groupId:s,clubPrefix:i,query:r}){let l=5;return r&&(l=0),(0,t.getPublicData)({endpoint:`/groups/${s}/seasons/${e}/users/visitors/public`,clubPrefix:i,query:r,revalidate:l})}async function s({groupId:e,clubPrefix:a}){return(0,t.getPublicData)({endpoint:`/groups/${e}/users/visitors/public`,clubPrefix:a})}async function i({id:e,clubPrefix:a}){return(0,t.getPublicData)({endpoint:`/users/${e}/profile/public`,clubPrefix:a})}e.s(["getGroupRoster",0,a,"getNormalGroupMembers",0,s,"getRosterPicture",0,function({clubPrefix:e,groupId:a,seasonId:s}){return(0,t.getPublicData)({endpoint:`/groups/${a}/seasons/${s}/roster`,clubPrefix:e})},"getRosterPositions",0,function({id:e,clubPrefix:a}){return(0,t.getPublicData)({endpoint:`/users/${e}/teams/positions`,clubPrefix:a})},"getRosterProfile",0,i])},616166,e=>{"use strict";var t=e.i(343954),a=e.i(816973);e.s(["getSponsorCategories",0,function({clubPrefix:e}){return(0,a.getPublicData)({endpoint:"/sponsors/categories",clubPrefix:e,cacheTag:"sponsors-categories"})},"getSponsors",0,function({clubPrefix:e,params:s}){return(0,a.request)({endpoint:`/sponsors?${t.default.stringify(s)}`,method:"GET",clubPrefix:e})}])},87845,e=>{"use strict";var t=e.i(816973);async function a({temporaryToken:e,clubPrefix:t}){let s=await fetch("https://apiv3.clubee.com/me/mfa/verify",{method:"POST",headers:{"Content-Type":"application/json",...t?{"X-Website":t}:{},Authorization:`Bearer ${e}`}});if(!s.ok)throw Error(`${s.status}`)}e.s(["confirmMfaRequest",0,function({code:e,temporaryToken:a,clubPrefix:s}){return(0,t.request)({endpoint:"/user/mfa/confirm",method:"POST",body:{code:e},clubPrefix:s,userToken:a,isPrivate:!1,retryRefreshToken:!1})},"getUsersByGroup",0,function({sectionId:e,clubPrefix:a}){let s="string"==typeof a?a:a?.api;return(0,t.request)({endpoint:`/group/section/${e}/public`,clubPrefix:s,method:"GET",isPrivate:!1}
96).catch(()=>null)},"loginRequest",0,function({email:e,password:a,clubPrefix:s}){return(0,t.request)({endpoint:"/user/login",method:"POST",body:{email:e,password:a},clubPrefix:s,isPrivate:!1,retryRefreshToken:!1})},"registerRequest",0,function({firstname:e,lastname:a,email:s,password:i,language:r,clubId:l,clubPrefix:n}){return(0,t.request)({endpoint:"/register",method:"POST",query:{language:r},body:{firstname:e,lastname:a,email:s,password:i,language:r,club_id:l},clubPrefix:n,isPrivate:!1,retryRefreshToken:!1})},"resendMfaRequest",0,a,"resetPasswordRequest",0,function({email:e,clubPrefix:a}){return(0,t.request)({endpoint:"/user/lostPassword",method:"GET",query:{email:e},clubPrefix:a,isPrivate:!1,retryRefreshToken:!1})},"uploadUserDocument",0,function({clubPrefix:e,token:a,body:s}){return(0,t.postPrivateFormData)({endpoint:"/users/documents",body:s,clubPrefix:e,token:a})}])},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]])}]);
97
98//# debugId=e13e9ee7-45b1-e9e2-b1db-b2b0f7c472c2

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.