PageSourceSearch

https://www.championsleague.basketball/assets/20260831-115156/_next/static/chunks/5891-60b9d3e1c18ed3e6.js

js championsleague.basketball collected 2026-10-02 05:00:41 UTC 21,869 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5891],{2506:(e,t,a)=>{a.d(t,{RoundGroups:()=>O});var s=a(95155),l=a(93848),n=a(92490),i=a(55643),r=a(6886),o=a(88212),d=a(82838),u=a(50582),m=a(52634),c=a(29644),g=a(26304),p=a(57518),h=a(30821),x=a(90199),v=a(3030),y=a(72628),j=a(70914),I=a(36994),C=a(50920),k=a(26162),f=a(32543),b=a(72006),T=a(77889),B=a(78487),S=a(34167),w=a(51621),N=a(3019),A=a(24231),F=a(4005),L=a(12004),D=a(15778),G=a(95788),P=a(37280),W=a(86470),M=a(39483),U=a(50358),R=a(33789),E=a(68737),z=a(65075),X=a(12115);let O=e=>{var t,a,l,n,i,r,o;let{variant:d,item:m}=e,{t:g}=(0,u.Bd)("statistics"),h=(0,X.useRef)(null),x=(0,u.ZL)(),[v,y]=(0,X.useState)("group-all");if((0,X.useEffect)(()=>{let e=document.getElementById(v);e&&((0,E.mJ)(e)||e.scrollIntoView({behavior:"smooth",inline:"center",block:"nearest"}))},[v]),!m)return(0,s.jsx)(s.Fragment,{children:"No data"});let j=null==(t=m.data)?void 0:t.groups,I=(null==j?void 0:j.length)||0;if("list"===d)return(0,s.jsx)(N.Stack,{direction:"column",spacing:"s6",spacingDesktop:"s7",className:P.BypassMobileContainer,children:null==(o=m.data)||null==(r=o.groups)?void 0:r.map(e=>(0,s.jsx)(V,{group:e,roundId:m.roundIds[0]},e.groupName))});if("minimal"===d)return(0,s.jsx)(c.Grid,{gap:"s5",columnDesktop:I>5?4:2,columnTablet:2,children:null==j?void 0:j.map(e=>(0,s.jsx)(Q,{group:e,roundId:m.roundIds[0]},e.groupName))});let C=e=>{y(e),h.current&&(0,E.$v)(h.current)};return(0,s.jsx)("div",{children:(0,s.jsxs)(p.tU,{orientation:"horizontal",value:v,onValueChange:y,children:[(0,s.jsx)(B.ScrollArea,{shadows:!0,arrows:!0,children:(0,s.jsxs)(p.j7,{children:[(0,s.jsx)("div",{ref:h}),(0,s.jsxs)(N.Stack,{spacing:"s3",alignItems:"center",children:[(0,s.jsx)(p.Xi,{value:"group-all",asChild:!0,children:(0,s.jsx)(L.Tag,{id:"group-all",onClick:()=>null,defaultValue:"group-all",highlighted:"group-all"===v,color:"primary",size:"L",children:g("texts.allGroups")})}),null==(l=m.data)||null==(a=l.groups)?void 0:a.map(e=>(0,s.jsx)(p.Xi,{value:"group-"+e.groupName,asChild:!0,children:(0,s.jsxs)(L.Tag,{id:"group-".concat(e.groupName),onClick:()=>null,defaultValue:"group-".concat(e.groupName),highlighted:v==="group-".concat(e.groupName),color:"primary",size:"L",children:[g("texts.group")," ",e.groupName]})},e.groupName))]})]})}),(0,s.jsx)(w.Spacer,{size:"s6",sizeDesktop:"s7"}),(0,s.jsx)(p.av,{value:"group-all",id:"content-group-all",children:(0,s.jsx)(c.Grid,{gap:"s5",columnDesktop:I>5?4:2,columnTablet:2,dir:x,children:null==j?void 0:j.map(e=>(0,s.jsx)(Q,{isClickableTitle:!0,group:e,roundId:m.roundIds[0],setSelectedGroupTab:C},e.groupName))})}),null==(i=m.data)||null==(n=i.groups)?void 0:n.map(e=>(0,s.jsx)("div",{className:P.BypassMobileContainer,children:(0,s.jsx)(p.av,{value:"group-".concat(e.groupName),id:"content-group-".concat(e.groupName),children:(0,s.jsx)(V,{group:e,roundId:m.roundIds[0]})})},e.groupName))]})})},Q=e=>{var t,a;let{group:l,roundId:n,isClickableTitle:i,setSelectedGroupTab:c}=e,{t:g}=(0,u.Bd)("statistics"),{t:p}=(0,u.Bd)("common"),{t:h}=(0,u.Bd)("ui"),x=(0,j.useCurrentLocale)(),{event:y,getTeamById:I}=(0,d.useEventData)(),C=H({group:l,roundId:n}),b=l.numberOfTeamsQualifying;return(0,s.jsxs)(F.UITable,{hasBorderRadius:!0,hasBorder:!0,headNoWrap:!0,afterTable:(0,s.jsx)(S.w,{style:(null==C?void 0:C.length)?{marginTop:-1}:{marginBottom:-1},className:z.cssMediaQueryClass.tabletAndDesktopOnly}),children:[(0,s.jsx)(F.UITableHead,{children:(0,s.jsxs)(F.UITableRow,{children:[(0,s.jsx)(F.UITableCell,{markup:"th",colSpan:2,align:"start",children:i?(0,s.jsx)(f.default,{onClick:()=>null==c?void 0:c("group-".concat(l.groupName)),color:(0,R.cP)((null==(t=y.eventLookFeel)?void 0:t.brandingColorPrimary)||o.IR)?"NEUTRAL_ALT":"BASIS",direction:"next",children:(0,s.jsxs)(D.Typography,{styleName:"headingXXS",weight:"bold",children:[g("texts.group")," ",l.groupName]})}):(0,s.jsxs)(D.Typography,{styleName:"headingXXS",weight:"bold",children:[g("texts.group")," ",l.groupName]})}),(0,s.jsx)(F.UITableCell,{markup:"th",children:(0,s.jsx)(D.Typography,{styleName:"label3",weight:"bold",uppercase:!0,children:g("abbreviations.winLoss")})}),(0,s.jsx)(F.UITableCell,{markup:"th",children:(0,s.jsx)(D.Typography,{styleName:"label3",weight:"bold",uppercase:!0,children:g("abbreviations.points")})})]})}),(0,s.jsx)(F.UITableBody,{children:null==(a=l.teamsStats)?void 0:a.map((e,t)=>{var a,n,i;let o=I(e.team);return(0,s.jsxs)(F.UITableRow,{height:40,hasSeparator:!!b&&b===t+1,children:[(0,s.jsx)(F.UITableCell,{cellWidth:16,children:(0,s.jsxs)(D.Typography,{styleName:"paragraphXXS",children:[e.rank,"."]}
1)}),(0,s.jsx)(F.UITableCell,{cellWidth:"80%",children:(0,s.jsx)(u.Kc,{link:(null==o?void 0:o.organisationId)?{url:"/teams/".concat(o.slug)}:void 0,children:(0,s.jsx)(m.default,{size:"S",url:(0,r.A)({organisationId:null==o?void 0:o.organisationId,eventId:y.event}),text:(0,s.jsxs)(s.Fragment,{children:[(null==o?void 0:o.code)?(0,s.jsx)("span",{children:null==o?void 0:o.code}):(0,s.jsx)("span",{children:(null==l||null==(a=l.teamFroms)?void 0:a[t])?(0,v.BF)(null==l||null==(n=l.teamFroms)?void 0:n[t],p,h,x):g("common:games.teams.tbd")}),null==C||null==(i=C.filter(e=>(null==o?void 0:o.teamId)&&e.teamsIds.includes(null==o?void 0:o.teamId)))?void 0:i.map(e=>(0,s.jsx)(k.B,{annotation:e},"anumber-"+e.id))]})})})}),(0,s.jsx)(F.UITableCell,{align:"center",children:(0,s.jsxs)(D.Typography,{styleName:"paragraphXXS",color:"neutral-500",children:[e.gamesWon,"/",e.gamesLost]})}),(0,s.jsx)(F.UITableCell,{align:"center",children:(0,s.jsx)(D.Typography,{styleName:"paragraphXXS",weight:"bold",children:e.points})})]},(null==o?void 0:o.teamId)+"-"+t)})}),!!(null==C?void 0:C.length)&&(0,s.jsx)(F.dy,{children:(0,s.jsxs)(F.UITableRow,{children:[(0,s.jsx)(F.UITableCell,{colSpan:3,children:null==C?void 0:C.map((e,t)=>(0,s.jsx)(k.k,{annotation:e},e.id))}),(0,s.jsx)(F.UITableCell,{})]})})]})},H=e=>{let{group:t,roundId:a}=e,{annotations:s}=(0,n.M)();return(0,X.useMemo)(()=>null==s?void 0:s.filter(e=>{var s;return e.roundId&&e.type===C.Xt.TEAMS&&a===e.roundId&&(null==(s=t.teamsStats)?void 0:s.some(t=>t.team&&e.teamsIds.includes(t.team)))}).map((e,t)=>({number:t+1,id:e.id,description:e.text,teamsIds:e.teamsIds})),[s,t.teamsStats,a])},V=e=>{var t;let{group:a,roundId:n}=e,[c,p]=(0,X.useState)(!1),[C,f]=(0,X.useState)(0),[B,F]=(0,X.useState)(!1),[L,P]=(0,X.useState)(0),{t:R}=(0,u.Bd)("statistics"),{event:E}=(0,d.useEventData)(),{getGamesByIds:O}=(0,I.Mw)(),Q=(()=>{var e,t,a,s,l;let{t:n}=(0,u.Bd)("statistics");return[{title:"",colspan:2,sticky:!0,groupeId:1},{title:null==(e=n("texts.games"))?void 0:e.toUpperCase(),colspan:4,groupeId:2},{title:null==(t=n("texts.streak"))?void 0:t.toUpperCase(),colspan:1,groupeId:3},{title:null==(a=n("texts.gamesPoints"))?void 0:a.toUpperCase(),colspan:5,groupeId:4},{title:null==(s=n("texts.points"))?void 0:s.toUpperCase(),colspan:1,groupeId:5},{title:null==(l=n("texts.next"))?void 0:l.toUpperCase(),colspan:1,groupeId:6}]})(),V=(()=>{let{t:e}=(0,u.Bd)("statistics"),t=t=>e("abbreviations."+t);return[{key:"rank",title:"#",width:32,desktopWidth:40,sticky:!0,groupeId:1,isCentered:!0},{key:"teams",title:e("texts.team").toUpperCase(),color:"basisInverted",width:88,desktopWidth:320,sticky:!0,groupeId:1},{key:"gamesPlayed",title:t("gamesPlayed"),groupeId:2,isCentered:!0},{key:"gamesWon",title:t("gamesWon"),groupeId:2,isCentered:!0},{key:"gamesLost",title:t("gamesLost"),groupeId:2,isCentered:!0},{key:"winningPercentage",title:t("winningPercentage"),groupeId:2,isCentered:!0},{key:"streakLast5",title:t("streakLast5"),groupeId:3,isCentered:!0},{key:"pointsFor",title:t("pointsFor"),groupeId:4,isCentered:!0},{key:"pointsAgainst",title:t("pointsAgainst"),groupeId:4,isCentered:!0},{key:"plusMinus",title:t("plusMinus"),groupeId:4,isCentered:!0},{key:"forAverage",title:t("forAverage"),groupeId:4,isCentered:!0},{key:"againstAverage",title:t("againstAverage"),groupeId:4,isCentered:!0},{key:"points",title:"",groupeId:5,isCentered:!0},{key:"next",title:"",groupeId:6,isCentered:!0}]})(),Y=(()=>{let{t:e}=(0,u.Bd)("statistics"),t=t=>e("abbreviations."+t);return[{key:"rank",title:"#",width:32,desktopWidth:40,sticky:!0,isCentered:!0},{key:"teams",title:e("texts.team").toUpperCase(),width:88,color:"basisInverted",desktopWidth:287,sticky:!0},{key:"gamesPlayed",title:t("gamesPlayed"),desktopWidth:85,isCentered:!0},{key:"gamesWon",title:t("gamesWon"),desktopWidth:85,isCentered:!0},{key:"gamesLost",title:t("gamesLost"),desktopWidth:85,isCentered:!0},{key:"pointsFor",title:t("pointsFor"),desktopWidth:85,isCentered:!0},{key:"pointsAgainst",title:t("pointsAgainst"),desktopWidth:85,isCentered:!0},{key:"difference",title:e("texts.difference"),isCentered:!0},{key:"points",title:e("texts.points"),desktopWidth:85,isCentered:!0}]})(),_=e=>({label:R("abbreviations."+e),value:R("abbreviations."+e+"Label")}),K=[_("gamesPlayed"),_("gamesWon"),_("gamesLost"),_("winningPercentage"),_("streakLast5"),_("pointsFor"),_("pointsAgainst"),_("plusMinus"),_("forAverage"),_("points")],q=(0,X.useMemo)(()=>{let e=O(a.gameIds),t=e.filter(e=>"VALID"===e.status);return f(e.length),P(t.length),(0,o.$l)(e)},[O,a.gameIds]),$=(0,X.useMemo)(()=>q.liveGames.length+q.upcomingGames.length+q.gamesByDates.length>0,[q]),J=(0,X.useMemo)(()=>
1{if(!a.tiedTeamsResults)return[];let e=a.tiedTeamsResults.reduce((e,t)=>(t.tiedTeamResultDetails&&t.tiedTeamResultDetails.length>0&&e.push(...t.tiedTeamResultDetails),e),[]);return e.sort((e,t)=>{var a,s;return(null!=(a=e.position)?a:0)-(null!=(s=t.position)?s:0)}),e},[a.tiedTeamsResults]),Z=H({group:a,roundId:n}),ee=((e,t,a,n)=>{let{event:i,minimal:o,getTeamById:c}=(0,d.useEventData)(),{getGamesByIds:g}=(0,I.Mw)(),p=(0,x.Q)(),{t:h}=(0,u.Bd)("common"),{t:C}=(0,u.Bd)("ui"),f=(0,j.useCurrentLocale)();return null==e?void 0:e.map((e,d)=>{var x,j,I,b,B;let S=c(e.team),w=g(null!=(B=e.groupGameResultsIds)?B:[]),A=null==w?void 0:w.sort((e,t)=>{var a,s;return new Date(null!=(a=null==e?void 0:e.date)?a:"").getTime()-new Date(null!=(s=null==t?void 0:t.date)?s:"").getTime()}),F=(null==(x=e.gamesPlayed&&e.gamesWon/e.gamesPlayed*100)?void 0:x.toFixed(1))||0,L=(null==(j=e.pointsFor&&e.pointsFor/e.gamesPlayed)?void 0:j.toFixed(1))||0,G=(null==(I=e.pointsAgainst&&e.pointsAgainst/e.gamesPlayed)?void 0:I.toFixed(1))||0,P=[,,,,,].fill(null).map(()=>({status:"draw"}));null==A||A.slice(0,5).forEach((t,a)=>{P[a]&&t&&(P[a].status=((e,t)=>{if((null==e?void 0:e.status)===l.fm.VALID){let{teamAScore:s,teamBScore:l}=e;if("number"==typeof l&&"number"==typeof s){var a;return(null==(a=e.teamA)?void 0:a.teamId)===t.team?s>l?"won":s<l?"lost":"draw":l>s?"won":l<s?"lost":"draw"}}return"draw"})(t,e))});let W=null==t?void 0:t.filter(t=>e.team&&t.teamsIds.includes(e.team)),M=((e,t)=>{let a=null==t?void 0:t.find(t=>{var a,s;return(null==t||null==(a=t.teamA)?void 0:a.organisationId)===e||(null==t||null==(s=t.teamB)?void 0:s.organisationId)===e});if(a){var s;return{team:(null==a||null==(s=a.teamA)?void 0:s.organisationId)===e?null==a?void 0:a.teamB:null==a?void 0:a.teamA,game:a}}return{team:null,game:a}})(null==S?void 0:S.organisationId,a);return{rank:e.rank,teams:(0,s.jsx)(u.Kc,{link:{url:"/teams/".concat(null==S?void 0:S.slug)},children:(0,s.jsx)(m.default,{size:"S",url:(0,r.A)({organisationId:null==S?void 0:S.organisationId,eventId:o?void 0:i.event}),text:(0,s.jsxs)(s.Fragment,{children:[(null==S?void 0:S.code)?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("span",{className:z.cssMediaQueryClass.desktopOnly,children:p((null==S?void 0:S.officialName)||"")}),(0,s.jsx)("span",{className:z.cssMediaQueryClass.mobileTabletOnly,children:null==S?void 0:S.code})]}):(0,s.jsx)("span",{children:(null==n?void 0:n[d])?(0,v.BF)(null==n?void 0:n[d],h,C,f):h("common:games.teams.tbd")}),null==W?void 0:W.map(e=>(0,s.jsx)(k.B,{annotation:e},"anumber-"+e.id))]})})}),gamesPlayed:e.gamesPlayed||0,gamesWon:e.gamesWon||0,gamesLost:e.gamesLost||0,winningPercentage:F,streakLast5:(0,s.jsx)(T.z,{games:P}),pointsFor:e.pointsFor||0,pointsAgainst:e.pointsAgainst||0,plusMinus:e.plusMinus||0,forAverage:L,againstAverage:G,points:(0,s.jsx)(D.Typography,{styleName:"paragraphXXS",weight:"bold",color:"basisInverted",children:e.points}),next:(null==M?void 0:M.game)?(0,s.jsx)(N.Stack,{justifyContent:"center",children:(0,s.jsx)(u.Kc,{link:{url:"/games/".concat((0,y.uL)(M.game))},children:(0,s.jsx)(m.default,{size:"S",url:(0,r.A)({organisationId:null==(b=M.team)?void 0:b.organisationId,eventId:i.event})})})}):"-"}})})(a.teamsStats,Z,q.upcomingGames,a.teamFroms),et=(e=>{let t=(0,x.Q)(),{getTeamById:a}=(0,d.useEventData)();return null==e?void 0:e.filter(e=>e.team&&a(e.team)).map(e=>{let l=a(e.team);return{rank:e.position,teams:(0,s.jsx)(u.Kc,{link:{url:"/teams/".concat(l.slug)},children:(0,s.jsxs)(N.Stack,{spacing:"s3",alignItems:"center",children:[(0,s.jsx)(m.default,{size:"S",url:(0,r.A)({organisationId:l.organisationId})}),(0,s.jsx)(D.Typography,{styleName:"label2",desktop:{styleName:"label1",extended:!0,weight:"semibold"},extended:!0,weight:"semibold",className:z.cssMediaQueryClass.desktopOnly,suppressHydrationWarning:!0,children:t(l.officialName)}),(0,s.jsx)(D.Typography,{styleName:"label2",desktop:{styleName:"label1",extended:!0,weight:"semibold"},extended:!0,uppercase:!0,weight:"semibold",className:z.cssMediaQueryClass.mobileTabletOnly,suppressHydrationWarning:!0,children:l.code})]})}),gamesPlayed:e.gamesPlayed||0,gamesWon:e.gamesWon||0,gamesLost:e.gamesLost||0,pointsFor:e.fieldPointsFor||0,pointsAgainst:e.fieldPointsAgainst||0,difference:e.fieldPointsDifference||0,points:e.classificationPoints||0}})})(J),ea=E.siteStatus!==y.Od.archived?X.Fragment:G.ColorSwitcher;return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)(M.default,{title:"".concat(R("texts.group")," ").concat(a.groupName),subtitle:R("texts.gamesPlayed",{played:L,total:C}).toUpperCase(),removePadding:!0,infoTooltip:(0,s.jsx)(W.ToolTipInfoLegend,{legends:K}),children:[ee&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(A.Table,{rowsBeforeSeparator:null!=(t=a.numberOfTeamsQualifying)?t:void 0,data:ee,groupedHeader:Q,columns:V}),(0,s.jsx)(S.w,{})]}),($||!!J.length)&&(0,s.jsx)(M.InfoCardContent,{children:(0,s.jsxs)("div",{children:[(0,s.jsx)(g.O,{annotations:Z,primarySlot:J.length?(0,s.jsx)(b.BaseButton,{size:"XS",variant:"GHOST",onClick:()=>F(!B),startIcon:(0,s.jsx)(h.CwO,{}),children:(0,s.jsx)(D.Typography,{styleName:"label3",children:R("texts.tiedTeamsResultsCta")})}
1):null,secondarySlot:!c&&$?(0,s.jsx)(b.BaseButton,{size:"S",startIcon:(0,s.jsx)(h.Ld_,{}),onClick:()=>p(!c),children:(0,s.jsx)(D.Typography,{styleName:"buttonText",children:R("texts.showGames")})}):null}),c&&$&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(w.Spacer,{size:"s0",sizeDesktop:"s6"}),(0,s.jsx)(i.GameCardsByDays,{upcommingGames:q.upcomingGames,days:q.gamesByDates}),(0,s.jsx)(w.Spacer,{size:"s5",sizeDesktop:"s5"}),(0,s.jsx)(N.Stack,{justifyContent:"center",children:(0,s.jsx)(b.BaseButton,{size:"S",startIcon:(0,s.jsx)(h.oev,{}),onClick:()=>p(!c),children:(0,s.jsx)(D.Typography,{styleName:"buttonText",children:R("texts.hideGames")})})})]})]})})]}),B&&J&&(0,s.jsx)(U.aF.Root,{open:B,fluidContent:!0,onOpenChange:()=>F(!B),children:(0,s.jsx)(U.aF.Content,{children:(0,s.jsx)(ea,{children:(0,s.jsxs)(M.InfoCardRoot,{children:[(0,s.jsx)(M.InfoCardHeader,{title:R("texts.tiedTeamsResults")}),(0,s.jsx)(M.InfoCardContent,{removePadding:!0,children:(0,s.jsx)(A.Table,{columns:Y,data:et})}),(0,s.jsx)(M.InfoCardFooter,{alignItems:"start",children:(0,s.jsxs)(D.Typography,{styleName:"paragraphXXS",color:"neutral-400",children:[R("texts.tiedTeamsDescription")," ",(0,s.jsx)(b.BaseButton,{color:"PRIMARY",size:"L",variant:"TEXT",link:{url:R("texts.tiedTeamsRulesLink"),target:"_blank"},children:R("texts.tiedTeamsRulesLinkLabel")})," ",R("texts.tiedTeamsDescriptionEnd")]})})]})})})})]})}},36994:(e,t,a)=>{a.d(t,{GamesContextProvider:()=>r,Mw:()=>o,Yq:()=>d});var s=a(95155),l=a(73908);a(37964);var n=a(12115);let i=(0,n.createContext)({}),r=e=>{let{games:t,children:a}=e;return(0,s.jsx)(i.Provider,{value:{games:t,getGameById:e=>{let a=t.find(t=>t.gameId===e);return a?(0,l.xB)(a):void 0},getGamesByIds:e=>t.filter(t=>e.includes(t.gameId)).map(e=>(0,l.xB)(e)),getGamesByTeamId:e=>t.filter(t=>{var a,s;return(null==(a=t.teamA)?void 0:a.teamId)===e||(null==(s=t.teamB)?void 0:s.teamId)===e}).map(e=>(0,l.xB)(e))},children:a})},o=()=>{let e=(0,n.useContext)(i);if(!e)throw Error("useGamesContext must be used within a GamesContextProvider");return e},d=e=>o().games.filter(t=>e.includes(t.gameId))},55643:(e,t,a)=>{a.d(t,{GameCardsByDays:()=>g});var s=a(95155),l=a(12115),n=a(37964),i=a(72628),r=a(82838),o=a(50582),d=a(3019),u=a(15778),m=a(32531),c=a(99648);let g=e=>{let{days:t,hideScore:a,upcommingGames:g,groupByCompetition:p,cardProps:h}=e,x=(0,o.nY)(),{t:v}=(0,o.Bd)("eventsCommon"),y=(()=>{let{event:e}=(0,r.useEventData)(),t=(0,o.nY)();return a=>(0,i.il)(a,t,{contextCompetitionId:e.event})})(),j=(0,l.useMemo)(()=>{if(!p)return t;let e=[];return null==t||t.forEach(t=>{let a={};for(let e of t.games)if(e.competitionId&&!a[e.competitionId.toString()]){var s;a[e.competitionId.toString()]={competition:e.competitionOfficialName||"",date:t.date,games:[]},null==(s=a[e.competitionId.toString()])||s.games.push(e)}e.push(...Object.values(a))}),e},[p,t]);return(0,s.jsxs)(d.Stack,{direction:"column",alignItems:"flex-start",spacing:"s5",fullWidth:!1,children:[null==j?void 0:j.map(e=>(0,s.jsxs)(d.Stack,{className:c.sizerCss.w100,direction:"column",alignItems:"flex-start",spacing:"s3",children:[(0,s.jsxs)(u.Typography,{color:"neutral-400",styleName:"label3",uppercase:!0,align:"start",children:[(0,m.Yq)(e.date,x,{weekday:"short",day:"numeric",month:"short",year:"numeric"}),!!e.competition&&(0,s.jsxs)(s.Fragment,{children:["\xa0\xb7\xa0",e.competition]})]}),e.games.map(e=>(0,l.createElement)(n.GameCardWrap,{...h,key:e.gameId,game:e,link:y(e)}))]},"day-"+e.date.getTime())),!!(null==g?void 0:g.length)&&(0,s.jsxs)(d.Stack,{className:c.sizerCss.w100,direction:"column",alignItems:"flex-start",spacing:"s3",children:[(0,s.jsx)(u.Typography,{color:"neutral-400",styleName:"label3",uppercase:!0,align:"start",children:v("games.texts.upcomingGames")}),null==g?void 0:g.map(e=>(0,l.createElement)(n.GameCardWrap,{...h,key:e.gameId,game:e}))]})]})}},75723:(e,t,a)=>{a.d(t,{GameSeriesCardWrap:()=>h});var s=a(95155),l=a(73908),n=a(92337),i=a(55643),r=a(88212),o=a(3030),d=a(70914),u=a(78788),m=a(50582),c=a(67146),g=a(50358),p=a(12115);let h=e=>{let{games:t,roundName:a,gameSystemCode:h,gameSystem:x,isBracket:v,groupCode:y,teamA:j,teamB:I,hideShowGames:C,infoButtonLabel:k,forceCode:f,teamAFrom:b,teamBFrom:T,...B}=e,[S,w]=(0,p.useState)(!1),{t:N}=(0,m.Bd)("common"),{t:A}=(0,m.Bd)("apiRoundNames"),{t:F}=(0,m.Bd)("ui"),L=(0,d.useCurrentLocale)(),D=(0,n.L)(),G=(0,p.useMemo)(()=>(0,o.BF)(b,N,F,L),[b,N,F,L]),P=(0,p.useMemo)(()=>(0,o.BF)(T,N,F,L),[T,N,F,L]),{teamAGamesScore:W,teamBGamesScore:M,seriesType:U,gameSerie:R}=(0,p.useMemo)(()=>{let e=[],a=[];return t.sort((e,t)=>
1(e.gameDateTimeUTC?new Date(e.gameDateTimeUTC).getTime():0)-(t.gameDateTimeUTC?new Date(t.gameDateTimeUTC).getTime():0)).forEach(t=>{if(t.statusCode===u.fm.VALID){var s;let l=(null==(s=t.teamA)?void 0:s.teamId)!==(null==j?void 0:j.teamId),n=l?t.teamBScore:t.teamAScore,i=l?t.teamAScore:t.teamBScore;void 0===n&&(n=null),void 0===i&&(i=null),e.push(n),a.push(i)}else e.push(null),a.push(null)}),{teamAGamesScore:e,teamBGamesScore:a,seriesType:h===u.lG.HA?u.ih.HOMEAWAY:u.ih.BO,gameSerie:(0,r.$l)(t.map(e=>(0,l.xB)(e)))}},[t,h,null==j?void 0:j.teamId]),[E,z]=(0,p.useMemo)(()=>[{...j?(0,r.h2)(j):{code:G||N("games.status.tbd")},id:null==j?void 0:j.teamId},{...I?(0,r.h2)(I):{code:P||N("games.status.tbd")},id:null==I?void 0:I.teamId}],[j,I,N,G,P]);if(!E||!z)return(0,s.jsx)(s.Fragment,{});let X=[A(null!=a?a:""),N("games.gameSystem.".concat(null==h?void 0:h.toLowerCase())),y&&"#".concat(y)].filter(Boolean).join(" \xb7 ");return v&&(X=[y&&"#".concat(y),N("games.gameSystem.".concat(null==h?void 0:h.toLowerCase()))].filter(Boolean).join(" \xb7 ")),(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(c.E,{...B,title:X,teamA:E,teamB:z,teamAGamesScore:W,teamBGamesScore:M,forceCode:v||f,type:U,onShowGame:t.length>1&&!C?()=>w(!S):void 0,hideScore:D,header:v?A(null!=a?a:""):void 0,infoButtonLabel:k}),!!t.length&&(0,s.jsx)(g.aF.Root,{open:S,onOpenChange:()=>w(!S),children:(0,s.jsx)(g.aF.Content,{children:(0,s.jsx)(i.GameCardsByDays,{upcommingGames:R.upcomingGames,days:R.gamesByDates})})})]})}},82833:(e,t,a)=>{a.d(t,{BracketPairingItem:()=>d});var s=a(95155),l=a(73908),n=a(37964),i=a(75723),r=a(36994);let o=e=>{let{game:t}=e;return(0,s.jsx)(n.GameCardWrap,{highlighted:!0,hideTag:!0,game:t,isBracket:!0})},d=e=>{var t,a,n,d;let{group:u,round:m}=e,c=(0,r.Yq)(u.gamesIds||[]);if(!c.length)return null;if(1===c.length&&c[0]){let e=c[0];return(0,s.jsx)("div",{children:(0,s.jsx)(o,{game:(0,l.xB)(e)})})}return(0,s.jsx)("div",{children:(0,s.jsx)(i.GameSeriesCardWrap,{roundName:m.roundName,groupCode:u.groupCode,gameSystemCode:m.gameSystemCode,gameSystem:m.gameSystem,teamA:null==(t=c[0])?void 0:t.teamA,teamB:null==(a=c[0])?void 0:a.teamB,winnerTeamId:u.winnerTeamId,games:c,scoreDifference:u.scoreDifference,isBracket:!0,teamAFrom:null==(n=c[0])?void 0:n.teamAFrom,teamBFrom:null==(d=c[0])?void 0:d.teamBFrom})})}},90199:(e,t,a)=>{a.d(t,{Q:()=>i});var s=a(82838),l=a(63150),n=a(50582);let i=()=>{let{event:e}=(0,s.useEventData)(),{t:t}=(0,n.Bd)("apiCountryNames"),{t:a}=(0,n.Bd)("apiClubNames"),i=e.competitionType===l.uk.club?a:t;return e=>e?i(e):""}},92490:(e,t,a)=>{a.d(t,{M:()=>o,S:()=>r});var s=a(95155),l=a(15725),n=a(12115);let i=(0,n.createContext)({}),r=e=>{let{children:t,...a}=e,{tab:r}=(0,l.useTabsContext)(),o=(0,n.useMemo)(()=>{var e;return null==(e=a.tabs)?void 0:e.find(e=>e.value===r)},[r,a.tabs]);return(0,s.jsx)(i.Provider,{value:{...a,activeTab:o},children:t})},o=()=>(0,n.useContext)(i)}}]);

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.