!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="ae3188f2-be6d-4be9-b037-277f783c5b7c",e._sentryDebugIdIdentifier="sentry-dbid-ae3188f2-be6d-4be9-b037-277f783c5b7c")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[51624],{4908:(e,t,s)=>{s.d(t,{KL:()=>a,pY:()=>v,eI:()=>g});var n=s(6029),r=s(49519),i=s(20325),l=s(11219),o=s(52676);let a=e=>{var t,s;let{sport:a,teams:d,seeding:c,size:u,hideFlags:x,ignoreLink:m}=e,p=null!=u?u:40,h=p-16;return(0,n.jsxs)(i.so,{children:[(0,n.jsx)(l.gT,{sport:a,team:d[0],ignoreLink:m,children:(0,n.jsxs)(i.az,{mr:"-sm",position:"relative",children:[(0,n.jsx)(r.p,{id:d[0].id,name:d[0].name,style:{width:p,height:p}}),!x&&!!(null==(t=d[0].country)?void 0:t.alpha2)&&(0,n.jsx)(i.az,{position:"absolute",left:"0",style:{top:h},children:(0,n.jsx)(r.w,{alpha2:d[0].country.alpha2,name:d[0].country.name,size:16})})]})}),(0,n.jsx)(l.gT,{sport:a,team:d[1],ignoreLink:m,children:(0,n.jsxs)(i.az,{position:"relative",children:[(0,n.jsx)(r.p,{id:d[1].id,name:d[1].name,style:{width:p,height:p}}),!x&&!!(null==(s=d[1].country)?void 0:s.alpha2)&&(0,n.jsx)(i.az,{position:"absolute",style:{top:h,left:h},children:(0,n.jsx)(r.w,{alpha2:d[1].country.alpha2,name:d[1].country.name,size:16})})]})}),(0,n.jsx)(o.J,{seed:c,transform:"translateX(100%)"})]})};var d=s(33144),c=s(46787),u=s(55729),x=s(18970),m=s(63561);function p(e){let{team:t,isRight:s}=e,{event:r}=(0,u.useContext)(x.y$),{homeTeam:l,bonusInfo:o}=r,a=l.id===t.id?null==o?void 0:o.hasHomeBonus:null==o?void 0:o.hasAwayBonus,p=(0,m.c5)(r)===c.QCR.Basketball&&r.status.type===c.XUj.InProgress&&a;return(0,n.jsxs)(i.az,{w:"4xl",h:"4xl",position:"relative",children:[p&&(0,n.jsx)(i.ov,{w:"xl",br:"sm",bg:"status.val",position:"absolute",bottom:"0",left:s?"-sm":void 0,right:s?void 0:"-sm",textStyle:"assistive.default",color:"onColor.primary",children:"B"}),(0,n.jsx)(d.p,{size:"4xl",id:t.id,name:t.name})]})}var h=s(52466);let j=e=>{var t;let{team:s,isRight:l}=e;return(0,n.jsxs)(i.az,{position:"relative",children:[(0,n.jsx)(i.so,{position:"absolute",bottom:"0",left:l?"0":"2xl",zIndex:"button",children:l?(0,n.jsx)(h.tFn,{color:"mma.blue.primary"}):(0,n.jsx)(h.wOd,{color:"mma.red.primary"})}),(0,n.jsxs)(i.az,{position:"relative",children:[(0,n.jsx)(r.p,{id:s.id,size:"4xl",sport:s.sport,gender:s.gender}),!!(null==(t=s.country)?void 0:t.alpha2)&&(0,n.jsx)(i.az,{position:"absolute",top:"[28px]",left:l?"[28px]":"0",children:(0,n.jsx)(r.w,{alpha2:s.country.alpha2,name:s.country.name,size:20})})]})]})},g=e=>{let{team:t,isRight:s,seeding:l,hasFlag:a=!0,size:d}=e;if(null==t||!t.country||t.national)return(0,n.jsx)(r.p,{size:"3xl",id:t.id,name:t.name});{var c;let e=null!=d?d:a?40:20,u=e-16;return(0,n.jsxs)(i.az,{position:"relative",children:[(0,n.jsx)(r.p,{id:t.id,name:t.name,style:{width:e,height:e}}),a&&!!(null==(c=t.country)?void 0:c.alpha2)&&(0,n.jsx)(i.az,{position:"absolute",style:{top:u,left:s?u:0},children:(0,n.jsx)(r.w,{alpha2:t.country.alpha2,name:t.country.name,size:16})}),l&&(0,n.jsx)(o.J,{seed:l,left:s?"0":void 0,right:s?void 0:"0",h:"md",minW:"lg",textStyle:"assistive.micro",bottom:"2xs"})]})}};function v(e){var t;let{sport:s,team:r,seeding:i,isRight:l,hasFlag:o,size:u,disableLink:x}=e;if((null==(t=r.subTeams)?void 0:t.length)===2)return(0,n.jsx)(a,{sport:s,teams:r.subTeams,seeding:i,ignoreLink:x});switch(s){case c.QCR.Basketball:return(0,n.jsx)(p,{team:r,isRight:l});case c.QCR.MMA:return(0,n.jsx)(j,{team:r,isRight:l});case c.QCR.Tennis:return(0,n.jsx)(g,{team:r,isRight:l,seeding:i,hasFlag:o,size:u});default:return(0,n.jsx)(d.p,{id:r.id,name:r.name,size:"4xl"})}}},9296:(e,t,s)=>{s.d(t,{Y:()=>eT});var n=s(6029),r=s(55729),i=s(18970),l=s(46787),o=s(20325),a=s(67087),d=s(93760),c=s(14831),u=s(51569),x=s(93338),m=s(90248),p=s(52466);let h={[l.sAb.Distance]:"mma_position_stance",[l.sAb.Ground]:"ground_mma",[l.sAb.GroundGrappleRed]:"ground_grapple_red_mma",[l.sAb.GroundGrappleBlue]:"ground_grapple_blue_mma",[l.sAb.GrappleRed]:"mma_position_clinch_by_red",[l.sAb.GrappleBlue]:"mma_position_clinch_by_blue",[l.sAb.Pause]:"pause"};function j(e){let{fightState:t}=e;return h[t]?(0,n.jsx)(m.A,{id:h[t]}):null}let g=e=>{let{fightState:t}=e,s=[l.sAb.GroundGrappleRed,l.sAb.Distance,l.sAb.Ground,l.sAb.GrappleRed].includes(t),r=[l.sAb.GroundGrappleBlue,l.sAb.Distance,l.sAb.Ground,l.sAb.GrappleBlue].includes(t);return(0,n.jsxs)(o.ov,{w:"100%",h:"8xl",px:"sm",flexDirection:"column",children:[(0,n.jsx)(u.EY,{h:"lg",textStyle:"display.medium",mb:"md",mt:"sm",children:(0,n.jsx)(m.A,{id:"current_position_mma"})}),(0,n.jsxs)(o.so,{h:"2xl",w:"100%",p:"sm",backgroundColor:"surface.s2",br:"md",align:"center",justify:"space-between",children:[(0,n.jsx)(p.p0t,{color:s?"mma.red.primary":"neutrals.nLv3"}),(0,n.jsx)(u.EY,{style:{color:x.S.var(function(e,t,s){return e===l.sAb.Pause?"colors.neutrals.nLv3":t&&!s?"colors.mma.red.primary":s&&!t?"colors.mma.blue.primary":"colors.neutrals.nLv1"}(t,s,r))},textStyle:"body.medium",children:(0,n.jsx)(j,{fightState:t})}),(0,n.jsx)(p.p0t,{color:r?"mma.blue.primary":"neutrals.nLv3",style:{transform:"scaleX(-1)"}})]})]})};var v=s(94156);let y=e=>{let{teamGoals:t,isLeftTeam:s=!1}=e,[r,i]=(e=>{let t=[],s={};return e.forEach(e=>{let n=(e=>e.player?"".concat(e.player.id):e.playerName?e.playerName:"Goal")(e);t.includes(n)||t.push(n),s[n]?s[n].push(e):s[n]=[e]}),[t,s]})(t);return(0,n.jsx)(n.Fragment,{children:r.map((e,t)=>{var l;let a=e,d=null==(l=i[e])?void 0:l.find(e=>!!e.player);return(null==d?void 0:d.player)?a=(0,n.jsx)(v.c,{entity:d.player}):"Goal"===e&&(a=(0,n.jsx)(m.A,{id:i[e].length>1?"goals":"goal"})),(0,n.jsxs)(o.so,{children:[(t<3||4===r.length)&&i[e]&&(0,n.jsxs)(u.Ym,{color:"neutrals.nLv3",textStyle:"body.small",mr:"2xs",textAlign:s?"end":"start",children:[a," ",(0,n.jsx)(u.Ym,{color:"neutrals.nLv3",textStyle:"body.small",children:i[e].map(e=>{let t=-1===e.time||void 0===e.time?"-":e.time.toString(),s=e.addedTime?" +".concat(e.addedTime):"",n="penalty"===e.incidentClass?" (Pen.)":"ownGoal"===e.incidentClass?" (OG)":"";return"".concat(t).concat("-"!==t?"'":"").concat(s).concat(n)}).join(", ")})]}),3===t&&r.length>4&&(0,n.jsx)(u.Ym,{color:"neutrals.nLv3",textStyle:"body.small",w:"fit",whiteSpace:"nowrap",children:(0,n.jsx)(m.A,{id:"event.goals.more",values:{n:Array.from(r).slice(t).reduce((e,t)=>{var s,n;return e+(null!=(n=null==(s=i[t])?void 0:s.length)?n:0)},0)}})})]},e)})})};var f=s(67430);function b(e){var t;let{isWide:s}=e,{incidents:l,isLoading:d}=(0,f.L)(),{event:c}=(0,r.useContext)(i.y$),u=(0,a.g3)(),x=l.filter(e=>"goal"===e.incidentType&&e.time),m=(null==x?void 0:x.filter(e=>u?!e.isHome:e.isHome))||[],h=(null==x?void 0:x.filter(e=>u?e.isHome:!e.isHome))||[];return d?(0,n.jsx)("div",{style:{height:16*Math.min(4,Math.max((t=c).homeScore.display||0,t.awayScore.display||0))}}):0===m.length&&0===h.length||(null==x?void 0:x.every(e=>!e.player&&!e.playerName))?null:(0,n.jsxs)(o.so,{w:"100%",justify:"center",grow:1,align:"flex-start",pt:s?"sm":void 0,children:[(0,n.jsx)(o.so,{w:"100%",direction:"column",justify:"center",align:"flex-end",grow:1,mr:"lg",ml:"sm",children:m&&(0,n.jsx)(y,{teamGoals:m,isLeftTeam:!0})}),(0,n.jsx)(o.az,{w:"lg",children:(0,n.jsx)(p.NcS,{icon:"football-ball",color:"neutrals.nLv3"})}),(0,n.jsx)(o.so,{w:"100%",direction:"column",justify:"center",align:"flex-start",grow:1,ml:"lg",mr:"sm",children:h&&(0,n.jsx)(y,{teamGoals:h})})]})}function S(e){let{activeTimeout:t}=e,{leftTeam:s,rightTeam:a}=(0,r.useContext)(i.y$),d=function(e){switch(e){case l.gVr.TeamTimeout:return"basketball_status_timeout_short";case l.gVr.ChallengeTimeout:return"basketball_status_coaches_challenge_short";case l.gVr.OfficialTimeout:return"basketball_status_referee_timeout";case l.gVr.TVTimeout:return"basketball_status_tv_timeout";default:return}}(t.type);if(!d)return null;let c=function(e,t,s){let n,r=e.type===l.gVr.TeamTimeout,i=e.teamId===t.id,o=e.teamId===s.id;return r&&(n=i?t.nameCode:o?s.nameCode:void 0),{teamName:n?"".concat(n," "):"",isLeftTeam:i,isRightTeam:o}}(t,s,a);return(0,n.jsxs)(o.so,{align:"center",gap:"2xs",bg:"status.liveHighlight",br:"lg",pl:(null==c?void 0:c.isLeftTeam)?"xs":"sm",pr:(null==c?void 0:c.isRightTeam)?"xs":"sm",children:[(null==c?void 0:c.isLeftTeam)&&(0,n.jsx)(p.yiO,{color:"status.live"}),(0,n.jsxs)(u.EY,{textStyle:"assistive.default",color:"status.live",children:[null==c?void 0:c.teamName,(0,n.jsx)(m.A,{id:d})]}),(null==c?void 0:c.isRightTeam)&&(0,n.jsx)(p.DxT,{color:"status.live"})]})}var w=s(75866);let C=e=>{let{totalTimeouts:t,remainingTimeouts:s,isLeftTeam:r}=e,i=(82-(t-1)*2)/t;return(0,n.jsxs)(o.so,{align:"center",gap:"sm",children:[r&&(0,n.jsx)(u.EY,{textStyle:"assistive.default",color:"neutrals.nLv3",children:(0,n.jsx)(m.A,{id:"basketball_status_timeout_short"})}),(0,n.jsx)(o.so,{gap:"2xs",children:Array(t).fill(0).map((e,t)=>(0,n.jsx)(o.az,{bg:t+1<=s?"secondary.default":"neutrals.nLv4",style:{width:i},h:"xs"},"timeout-".concat(t)))}),!r&&(0,n.jsx)(u.EY,{textStyle:"assistive.default",color:"neutrals.nLv3",children:(0,n.jsx)(m.A,{id:"basketball_status_timeout_short"})})]})};function L(e){let{totalTimeouts:t,remainingTimeouts:s,isLeftTeam:r}=e;return(0,n.jsx)(o.so,{align:"center",gap:"sm",children:t>w.cr?(0,n.jsxs)(u.EY,{textStyle:"assistive.default",color:"neutrals.nLv3",children:[(0,n.jsx)(m.A,{id:"basketball_status_timeout_short"}),": ".concat(s,"/").concat(t)]}):(0,n.jsx)(C,{totalTimeouts:t,remainingTimeouts:s,isLeftTeam:r})})}function T(e){let{timeouts:t}=e,{totalTimeouts:s,activeTimeout:r}=t,[i,l]=(0,a.jr)(t,"homeTimeoutsRemaining","awayTimeoutsRemaining");return i&&l?(0,n.jsxs)(o.so,{justify:"space-between",align:"center",px:s>w.cr?"4xl":"md",mx:s>w.cr?"2xs":void 0,pb:"sm",children:[(0,n.jsx)(L,{totalTimeouts:s,remainingTimeouts:i,isLeftTeam:!0}),!!r&&(0,n.jsx)(S,{activeTimeout:r}),(0,n.jsx)(L,{totalTimeouts:s,remainingTimeouts:l})]}):null}let _=()=>{let{event:e,leftScore:t,rightScore:s}=(0,r.useContext)(i.y$),o=e.status.type===l.XUj.InProgress;return(0,n.jsxs)(u.EY,{textStyle:"assistive.default",color:o?"status.live":"neutrals.nLv3",children:[(0,n.jsx)(m.A,{id:"event.aggregated.short"}),": ",t.aggregated," - "," ",s.aggregated]})};var A=s(60235),k=s(70923);function Y(e){let{event:t}=e;return(0,A.hX)()?null:(0,n.jsx)(k.iV,{referenceTime:t.startTimestamp,modifier:-1,children:e=>{let{timeParts:t,delta:s,formattedTime:r}=e,[i]=t;return s<0||i>=1?null:(0,n.jsx)(u.EY,{mt:"sm",textAlign:"center",textStyle:"display.small",color:"neutrals.nLv3",display:"block",children:r})}})}var E=s(41164),z=s(81484);let I=e=>{let{isWinner:t}=e;return(0,n.jsx)(u.EY,{textStyle:"display.extraLarge",color:t?"neutrals.nLv1":"neutrals.nLv3",display:"block",children:(0,n.jsx)(m.A,{id:t?"standings.label.wins":"standings.label.losses"})})},W=e=>{let{event:t}=e;return t.fightState===l.sAb.Pause?(0,n.jsx)(m.A,{id:"stoppage_mma"}):t.status.type===l.XUj.InProgress?(0,n.jsx)(m.A,{id:"in_progress_mma"}):(0,n.jsx)(z.fP,{id:(0,c.B_)(t)})},R=e=>{let{winnerCode:t,event:s}=e,r=(0,E.Mh)(s);return t===l.Jfo.NoContest||t===l.Jfo.Draw?(0,n.jsxs)(o.az,{children:[(0,n.jsx)(u.EY,{textStyle:"display.extraLarge",textAlign:"center",display:"block",children:(0,n.jsx)(m.A,{id:t===l.Jfo.Draw?"draw":"no_contest_mma"})}),(0,n.jsx)(u.EY,{color:"neutrals.nLv3",textAlign:"center",display:"block",children:s.finalRound?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(m.A,{id:"status_round",values:{round:s.finalRound}})," ",r&&(0,n.jsxs)(n.Fragment,{children:["(",r,")"]})]}):(0,n.jsx)(n.Fragment,{children:"-"})})]}):t===l.Jfo.Left||t===l.Jfo.Right?(0,n.jsxs)(o.az,{children:[(0,n.jsxs)(o.so,{justify:"center",children:[(0,n.jsx)(I,{isWinner:t===l.Jfo.Left}),(0,n.jsx)(u.EY,{textStyle:"display.extraLarge",color:"neutrals.nLv3",w:"xl",h:"xl",textAlign:"center",display:"block",children:"-"}),(0,n.jsx)(I,{isWinner:t===l.Jfo.Right})]}),(0,n.jsx)(o.so,{justify:"center",align:"center",h:"lg",children:(0,n.jsxs)(u.EY,{color:"neutrals.nLv3",textAlign:"center",px:"2xs",display:"block",children:[s.winType&&s.winType+" | ",(0,n.jsx)(m.A,{id:"status_round",values:{round:s.finalRound}})," ",r&&(0,n.jsxs)(n.Fragment,{children:["(",r,")"]})]})})]}):null},F=e=>{let{event:t}=e,{status:s,startTimestamp:r}=t,i=s.code===l.sum.Started,a=s.type===l.XUj.NotStarted,d=(0,E.Sw)(t),x=i||a&&1e3*r{let{basesCovered:t}=e;return(0,n.jsxs)(o.so,{gap:"2xs",maxW:"[34px]",flexWrap:"wrap",transform:"[rotate(45deg)]",children:[(0,n.jsx)(Q,{variant:t.includes(2)?"covered":"empty"}),(0,n.jsx)(Q,{variant:t.includes(1)?"covered":"empty"}),(0,n.jsx)(Q,{variant:t.includes(3)?"covered":"empty"}),(0,n.jsx)(Q,{variant:"placeholder"})]})},Q=(0,o.I4)("div",{base:{w:"lg",h:"lg"},variants:{variant:{empty:{bg:"neutrals.nLv4"},covered:{bg:"status.val"},placeholder:{opacity:0}}}}),$=()=>{let{event:e,leftScore:t,rightScore:s}=(0,r.useContext)(i.y$);return e.currentInningStatus?(0,n.jsxs)(o.BJ,{w:"100%",align:"center",children:[(0,n.jsx)(u.EY,{color:"status.live",mt:"xs",children:(0,n.jsx)(m.A,{id:"T"===e.currentInningStatus.inningHalf?"baseball_top_of_inning_number":"baseball_bottom_of_inning_number",values:{n:e.currentInningStatus.inning}})}),(0,n.jsxs)(o.so,{gap:"xl",mt:"xs",children:[(0,n.jsx)(u.EY,{textStyle:"display.extraLarge",color:"status.live",children:t.current}),e.currentInningStatus.basesCovered&&(0,n.jsx)(P,{basesCovered:e.currentInningStatus.basesCovered}),(0,n.jsx)(u.EY,{textStyle:"display.extraLarge",color:"status.live",children:s.current})]}),(0,n.jsxs)(o.so,{gap:"xs",children:[(0,n.jsxs)(u.EY,{color:"status.live",children:[e.currentInningStatus.ballCount,"-",e.currentInningStatus.strikeCount]}),(0,n.jsx)(u.EY,{color:"neutrals.nLv3",lineHeight:"1",children:"|"}),(0,n.jsxs)(o.so,{gap:"xs",children:[(0,n.jsx)(u.EY,{color:"status.live",children:e.currentInningStatus.outCount})," ",(0,n.jsx)(u.EY,{color:"neutrals.nLv3",children:(0,n.jsx)(m.A,{id:"baseball_outs_counter",values:{n:e.currentInningStatus.outCount}})})]})]})]}):null},O=()=>{let{event:e}=(0,r.useContext)(i.y$);return e.status.type!==l.XUj.InProgress||G()(e.currentInningStatus)?(0,n.jsx)(D.A,{}):(0,n.jsx)($,{})};var V=s(61552);let B=e=>{let{innings:t,scoreKeys:s,isWinner:r,isLive:i}=e;return(0,n.jsx)(n.Fragment,{children:s.map(e=>{let s=null==t?void 0:t[e];return(0,n.jsx)(u.EY,{display:"block",textStyle:"display.medium",color:i?"status.live":r?"neutrals.nLv1":"neutrals.nLv3",children:V.gj(s)},e)})})};function M(){let{event:e,leftScore:t,rightScore:s,leftTeam:a,rightTeam:d}=(0,r.useContext)(i.y$),c=e.status.type===l.XUj.InProgress,x=e.winnerCode===l.Jfo.Left,m=e.winnerCode===l.Jfo.Right,p=[...new Set([...Object.keys(t.innings||{}),...Object.keys(s.innings||{})])].sort(),h=V.KY(p,t.innings),j=V.KY(p,s.innings);return(0,n.jsxs)(o.ov,{children:[(0,n.jsx)(o.az,{flexGrow:0,flexShrink:0,children:(0,n.jsxs)(o.so,{align:"flex-end",direction:"column",children:[(0,n.jsx)(B,{innings:t.innings,scoreKeys:p,isWinner:x,isLive:c&&e.currentBattingTeamId===a.id}),(0,n.jsxs)(u.EY,{display:"block",textStyle:"assistive.default",color:"neutrals.nLv3",children:[h," ov"]})]})}),(0,n.jsx)(o.az,{alignSelf:"stretch",mx:"sm",children:(0,n.jsx)(o.cG,{orientation:"vertical"})}),(0,n.jsx)(o.az,{flexGrow:0,flexShrink:0,children:(0,n.jsxs)(o.so,{align:"flex-start",direction:"column",children:[(0,n.jsx)(B,{innings:s.innings,scoreKeys:p,isWinner:m,isLive:c&&e.currentBattingTeamId===d.id}),(0,n.jsxs)(u.EY,{display:"block",textStyle:"assistive.default",color:"neutrals.nLv3",children:[j," ov"]})]})})]})}let K=e=>{let{leftScore:t,rightScore:s}=e;return void 0===t.bottomScore&&void 0===s.bottomScore?(0,n.jsx)(u.EY,{color:"status.live",children:(0,n.jsx)(m.A,{id:"started"})}):(0,n.jsxs)(o.so,{columnGap:"xs",children:[void 0!==t.bottomScore&&void 0!==s.bottomScore&&(0,n.jsxs)(o.so,{children:[(0,n.jsx)(u.EY,{color:"status.live",children:t.bottomScore}),(0,n.jsx)(u.EY,{color:"status.live",children:"-"}),(0,n.jsx)(u.EY,{color:"status.live",children:s.bottomScore})]}),void 0!==t.bottomScoreExtra&&void 0!==s.bottomScoreExtra&&(0,n.jsxs)(o.so,{children:[(0,n.jsxs)(u.EY,{color:"status.live",children:["(",t.bottomScoreExtra]}),(0,n.jsx)(u.EY,{color:"status.live",children:"-"}),(0,n.jsxs)(u.EY,{color:"status.live",children:[s.bottomScoreExtra,")"]})]})]})};var H=s(98835),J=s(67676),N=function(e){return e[e.Home=1]="Home",e[e.Away=2]="Away",e}({});function q(e,t){return void 0!==t.point&&void 0!==e.bestOfSets&&e.bestOfSets>1?{topScore:Number(t.point)||w.Zl,bottomScore:t.display,bottomScoreExtra:(0,J.U)(t)}:void 0!==t.point&&void 0!==e.bestOfLegs&&e.bestOfLegs>0?{topScore:Number(t.point)||w.Zl,bottomScore:t.display,bottomScoreExtra:void 0}:(void 0===t.point||null===t.point)&&e.bestOfSets&&e.bestOfSets>1?{topScore:(0,J.U)(t)||0,bottomScore:t.display,bottomScoreExtra:void 0}:{topScore:t.display||0,bottomScore:void 0,bottomScoreExtra:void 0}}let Z=e=>{let{eventId:t,throwing:s,leftScore:r,rightScore:i}=e,{isDesktopLarge:l}=(0,u.$c)();return(0,n.jsxs)(o.so,{columnGap:"xs",align:"center",children:[s===N.Home?(0,n.jsx)(p.v1,{color:"status.live"}):(0,n.jsx)(o.az,{w:"lg"}),(0,n.jsxs)(o.so,{justify:"center",align:"center",columnGap:"xs",children:[(0,n.jsx)(H.cU,{eventId:t,changeKey:"homeScore.display",score:r.topScore,fontSize:l?28:20,h:l?30:22,w:l?52:36,fontWeight:"bold",color:"sofaSingles.live"}),(0,n.jsx)(u.EY,{fontSize:l?"2xl":"xl",fontWeight:700,color:"status.live",children:"-"}),(0,n.jsx)(H.cU,{eventId:t,changeKey:"awayScore.display",score:i.topScore,fontSize:l?28:20,h:l?30:22,w:l?52:36,fontWeight:"bold",color:"sofaSingles.live",align:"flex-start"})]}),s===N.Away?(0,n.jsx)(p.v1,{color:"status.live"}):(0,n.jsx)(o.az,{w:"lg"})]})},ee=e=>{let{event:t,homeScore:s,awayScore:r}=e,i=q(t,s),l=q(t,r);return(0,n.jsxs)(o.so,{direction:"column",gap:"sm",align:"center",children:[(0,n.jsx)(Z,{eventId:t.id,throwing:t.firstToServe,leftScore:i,rightScore:l}),(0,n.jsx)(K,{leftScore:i,rightScore:l})]})},et=()=>{let{event:e,leftScore:t,rightScore:s}=(0,r.useContext)(i.y$);return e.status.type===l.XUj.InProgress?(0,n.jsx)(ee,{event:e,homeScore:t,awayScore:s}):(0,n.jsx)(D.A,{})},es=["period1","period2","period3","period4","period5"];function en(e,t,s,n){let r=e.status.type===l.XUj.Finished;if(e.status.type===l.XUj.InProgress||e.status.code===l.sum.Interrupted){var i,o;return n?null!=(i=t.point)?i:0:null!=(o=s.point)?o:0}if(r)if("Ended"===e.status.description)return n?t.current:s.current;else if(n)return 1===e.winnerCode?"W":"L";else return 2===e.winnerCode?"W":"L"}function er(e,t,s,n,r){return e?"secondary.default":n&&r&&(t?n>r:r>n)||s===(t?1:2)?"onSurface.nLv1":"onSurface.nLv3"}let ei=()=>{let{event:e,leftScore:t,rightScore:s}=(0,r.useContext)(i.y$),a=e.status.type===l.XUj.InProgress,d=(0,w.qF)(t,s,es),c=d?d.length-1:0,x=void 0!==e.winnerCode,h=e.status.type===l.XUj.Finished&&e.status.code===l.sum.Walkover,j=e.status.type===l.XUj.Finished&&[l.sum.HomeDefaulted,l.sum.AwayDefaulted].includes(e.status.code),g=(0,n.jsx)(p.OXq,{position:"absolute",w:"12",h:"16",left:"-lg",color:"secondary.default"});return(0,n.jsxs)(o.so,{w:"100%",justify:"flex-end",children:[d.map((r,i)=>(0,n.jsxs)(o.so,{direction:"column",justify:"space-between",align:"flex-end",py:"xs",children:[(0,n.jsxs)(o.az,{position:"relative",children:[1===e.firstToServe&&a&&0===i&&g,(0,n.jsx)(H.cU,{eventId:e.id,changeKey:"homeScore.".concat(r),score:t[r],fontWeight:"bold",color:(0,w.Oz)(t[r],s[r],a,!0,i,c),backgroundColor:a&&i===c?"sofaSingles.live":"unset"})]}),(0,n.jsxs)(o.az,{position:"relative",children:[2===e.firstToServe&&a&&0===i&&g,(0,n.jsx)(H.cU,{eventId:e.id,changeKey:"awayScore.".concat(r),score:s[r],fontWeight:"bold",color:(0,w.Oz)(t[r],s[r],a,!1,i,c),backgroundColor:a&&i===c?"sofaSingles.live":"unset"})]})]},r)),h&&x&&(0,n.jsxs)(o.so,{direction:"column",justify:"space-between",py:"xs",children:[(0,n.jsx)(o.az,{children:1===e.winnerCode&&(0,n.jsx)(u.EY,{color:"neutrals.nLv3",children:(0,n.jsx)(m.A,{id:"walkover"})})}),(0,n.jsx)(o.az,{children:2===e.winnerCode&&(0,n.jsx)(u.EY,{color:"neutrals.nLv3",children:(0,n.jsx)(m.A,{id:"walkover"})})})]}),(void 0!==t.current&&void 0!==s.current||a||h||j)&&(0,n.jsxs)(o.so,{direction:"column",h:"100%",justify:"space-between",gap:"2xl",children:[(0,n.jsxs)(o.ov,{h:"xl",mb:"2xs",children:[(0,n.jsx)(o.cG,{orientation:"vertical",mx:"sm"}),(0,n.jsx)(H.cU,{eventId:e.id,score:en(e,t,s,!0),height:a?"16px":"24px",fontSize:a?"14px":"18px",pt:a?0:"xxs",fontWeight:"bold",color:er(a,!0,e.winnerCode,t.current,s.current)})]}),(0,n.jsxs)(o.ov,{h:"xl",mt:"2xs",children:[(0,n.jsx)(o.cG,{orientation:"vertical",mx:"sm"}),(0,n.jsx)(H.cU,{eventId:e.id,score:en(e,t,s,!1),height:a?"16px":"24px",fontSize:a?"14px":"18px",pt:a?0:"xxs",fontWeight:"bold",color:er(a,!1,e.winnerCode,t.current,s.current)})]})]})]})};var el=s(86300);let eo=["period1","period2","period3","period4","period5"];function ea(e,t,s,n,r){return e?"sofaSingles.live":n&&r&&(t?n>r:r>n)||s===(t?1:2)?"onSurface.nLv1":"onSurface.nLv3"}let ed=()=>{let{event:e,leftScore:t,rightScore:s}=(0,r.useContext)(i.y$),d=(0,a.gm)(e,"aggregatedWinnerCode"),c=(0,w.qF)(t,s,eo),u=c?c.length-1:0,x=void 0!==t.overtime&&void 0!==s.overtime,m=e.status.type===l.XUj.InProgress,h=d===l.Jfo.Left,j=d===l.Jfo.Right;return(0,n.jsxs)(o.so,{w:"100%",justify:"flex-end",gap:"sm",children:[c.map((r,i)=>(0,n.jsxs)(o.so,{direction:"column",justify:"space-between",align:"flex-end",gap:"sm",children:[(0,n.jsx)(o.so,{position:"relative",h:"[44px]",align:"center",children:(0,n.jsx)(el.c,{eventId:e.id,changeKey:"homeScore.".concat(r),score:t[r],fontWeight:"bold",color:(0,w.Oz)(t[r],s[r],!x&&m,!0,i,u),backgroundColor:m&&i===u&&!x?"sofaSingles.live":"unset"})}),(0,n.jsx)(o.so,{position:"relative",h:"[44px]",align:"center",children:(0,n.jsx)(el.c,{eventId:e.id,changeKey:"awayScore.".concat(r),score:s[r],fontWeight:"bold",color:(0,w.Oz)(t[r],s[r],!x&&m,!1,i,u),backgroundColor:m&&i===u&&!x?"sofaSingles.live":"unset"})})]},r)),x&&(0,n.jsxs)(o.so,{direction:"column",justify:"space-between",align:"flex-end",gap:"sm",children:[(0,n.jsx)(o.so,{position:"relative",h:"[44px]",align:"center",opacity:!m&&((null==t?void 0:t.overtime)||0)<((null==s?void 0:s.overtime)||0)?"[0.75]":void 0,children:(0,n.jsx)(el.c,{eventId:e.id,changeKey:"homeScore.overtime",score:t.overtime,fontWeight:"bold",color:m?"onSurface.nLv1":"sofaSingles.value",backgroundColor:m?"sofaSingles.value":"unset"})}),(0,n.jsx)(o.so,{position:"relative",h:"[44px]",align:"center",opacity:!m&&((null==t?void 0:t.overtime)||0)>((null==s?void 0:s.overtime)||0)?"[0.75]":void 0,children:(0,n.jsx)(el.c,{eventId:e.id,changeKey:"awayScore.overtime",score:s.overtime,fontWeight:"bold",color:m?"onSurface.nLv1":"sofaSingles.value",backgroundColor:m?"sofaSingles.value":"unset"})})]}),(void 0!==t.current&&void 0!==s.current||m)&&(0,n.jsxs)(o.so,{direction:"column",justify:"space-between",align:"center",children:[(0,n.jsxs)(o.ov,{h:"[44px]",position:"relative",children:[(0,n.jsx)(o.cG,{orientation:"vertical",h:"xl",mx:"sm"}),(0,n.jsx)(el.c,{eventId:e.id,score:t.current,changeKey:"leftScore.current",height:"22px",fontWeight:"bold",fontSize:"18px",color:ea(m,!0,e.winnerCode,t.current,s.current)}),h&&(0,n.jsx)(o.az,{position:"absolute",top:"sm",right:"-xs",children:(0,n.jsx)(p.UFI,{color:"neutrals.nLv1"})})]}),(0,n.jsxs)(o.ov,{h:"[44px]",position:"relative",children:[(0,n.jsx)(o.cG,{orientation:"vertical",h:"xl",mx:"sm"}),(0,n.jsx)(el.c,{eventId:e.id,score:s.current,changeKey:"rightScore.current",height:"22px",fontWeight:"bold",fontSize:"18px",color:ea(m,!1,e.winnerCode,t.current,s.current)}),j&&(0,n.jsx)(o.az,{position:"absolute",top:"sm",right:"-xs",children:(0,n.jsx)(p.UFI,{color:"neutrals.nLv1"})})]})]})]})};function ec(){let{event:e}=(0,r.useContext)(i.y$);switch(e.tournament.category.sport.slug){case l.QCR.Cricket:return(0,n.jsx)(M,{});case l.QCR.MMA:return(0,n.jsx)(U,{event:e});case l.QCR.Tennis:return(0,n.jsx)(ei,{});case l.QCR.Darts:return(0,n.jsx)(et,{});case l.QCR.Volleyball:return(0,n.jsx)(ed,{});case l.QCR.Baseball:return(0,n.jsx)(O,{});default:return(0,n.jsx)(D.A,{})}}var eu=s(22375),ex=s(90510);function em(){let{event:e,leftScore:t,rightScore:s}=(0,r.useContext)(i.y$),d="number"==typeof t.current&&"number"==typeof s.current,x=(0,a.gm)(e,"winnerCode"),p=c.Ig.includes(e.status.code)&&x,h=p&&x===l.Jfo.Left,j=p&&x===l.Jfo.Right,g=e.tournament.category.sport.slug===l.QCR.Tennis,v=e.status.type;if(e.status.code===l.sum.Retired?v="retired":e.status.code===l.sum.Walkover?v="walkover":(e.status.code===l.sum.HomeDefaulted||e.status.code===l.sum.AwayDefaulted)&&(v="defaulted"),/^abandoned/i.test(e.status.description)&&(v="abandoned"),e.status.code===l.sum.Postponed||e.status.code===l.sum.Canceled||e.status.code===l.sum.Walkover){let t=(0,eu.cK)(e.startTimestamp),s=(0,eu.ef)(e.startTimestamp);return(0,n.jsxs)(o.az,{borderStart:g?"1px solid {colors.neutrals.nLv4}":void 0,maxW:{mdToLg:"[100px]"},pl:g?"sm":void 0,children:[!g&&e.status.code===l.sum.Walkover&&p&&(0,n.jsxs)(o.so,{justify:"center",align:"center",gap:"sm",children:[(0,n.jsx)(u.EY,{textStyle:"display.large",color:h?"neutrals.nLv1":"neutrals.nLv3",children:h?"W":j?"L":""}),(0,n.jsx)(u.EY,{textStyle:"display.large",color:"neutrals.nLv3",children:" - "}),(0,n.jsx)(u.EY,{textStyle:"display.large",color:j?"neutrals.nLv1":"neutrals.nLv3",children:j?"W":h?"L":""})]}),(0,n.jsx)(u.EY,{textStyle:"display.large",textAlign:"center",display:"block",children:(0,n.jsx)(z.fP,{id:v})}),(0,n.jsx)(u.EY,{color:"neutrals.nLv3",textAlign:g?"end":"center",display:"block",children:t||s?(0,n.jsx)(m.A,{id:t?"today":"tomorrow"}):(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(ex.XU,{value:1e3*e.startTimestamp}),", ",(0,n.jsx)(ex.ib,{value:1e3*e.startTimestamp})]})})]})}return(0,n.jsxs)(o.az,{children:[(0,n.jsxs)(o.az,{textAlign:"center",children:[(0,n.jsx)(u.EY,{textStyle:"display.extraLarge",color:h?"neutrals.nLv1":"neutrals.nLv3",children:d?t.current:h?"W":j?"L":""}),(0,n.jsx)(u.EY,{textStyle:"display.extraLarge",color:"neutrals.nLv3",children:" - "}),(0,n.jsx)(u.EY,{textStyle:"display.extraLarge",color:j?"neutrals.nLv1":"neutrals.nLv3",children:d?s.current:j?"W":h?"L":""})]}),(0,n.jsx)(u.EY,{color:"neutrals.nLv3",textAlign:"center",display:"block",children:(0,n.jsx)(z.fP,{id:v})})]})}var ep=s(62042);function eh(e){let{event:t,centered:s}=e,r=(0,A.hX)(),i=(0,eu.pp)(t.startTimestamp),a=[l.QCR.Volleyball,l.QCR.Tennis].includes(t.tournament.category.sport.slug);return r?null:(0,n.jsx)(k.iV,{referenceTime:t.startTimestamp,modifier:-1,children:e=>{let{delta:t}=e,{primary:r,secondary:l}=((e,t)=>{let s=(0,eu.cK)(t),r=(0,eu.ef)(t);return e?{primary:"-"}:s||r?{primary:(0,n.jsx)(ex.ib,{value:t}),secondary:(0,n.jsx)(m.A,{id:s?"today":"tomorrow"})}:{primary:(0,n.jsx)(ex.XU,{value:t}),secondary:(0,n.jsx)(ex.ib,{value:t})}})(t<0,i);return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(o.az,{minW:"sm",h:"xl",position:"relative",children:(0,n.jsx)(u.EY,{display:"block",textAlign:"center",textStyle:"display.large",className:(0,ep.AH)({"&:first-letter":{textTransform:"capitalize"}},s?{position:"absolute",left:"[50%]",transform:{_ltr:"translateX(-50%)",_rtl:"translateX(50%)"},whiteSpace:"nowrap"}:void 0),children:r})}),(0,n.jsx)(u.EY,{textAlign:a?"end":"center",textStyle:"body.medium",color:"neutrals.nLv3",display:"block",children:l})]})}})}function ej(e){let{showSpecialStatus:t,showTime:s,showAggregateResult:a,hasCountdown:d,isWide:c}=e,{event:u}=(0,r.useContext)(i.y$),x=(0,r.useContext)(i.Ws),m=!w.Vh.includes(x);return t?(0,n.jsx)(em,{}):s?(0,n.jsx)(o.az,{px:x===l.QCR.Volleyball?"md":void 0,children:(0,n.jsxs)(o.az,{ps:m?void 0:"sm",borderInlineStart:m?void 0:"1px solid {colors.neutrals.nLv4}",children:[(0,n.jsx)(eh,{event:u,centered:m}),d&&(0,n.jsx)(Y,{event:u})]})}):(0,n.jsxs)(o.ov,{flexDirection:"column",w:m||c?void 0:"100%",children:[a&&(0,n.jsx)(_,{}),(0,n.jsx)(ec,{})]})}var eg=s(947),ev=s(36882),ey=s(70251),ef=s(50099);let eb=()=>{let e=(0,eg.A)(),{event:t,leftTeam:s,rightTeam:l}=(0,r.useContext)(i.y$);return(0,n.jsx)(o.so,{w:"100%",justify:"center",hideFrom:"md",children:(0,n.jsx)(ey.h,{id:t.id,type:ev.b.Event,location:ev.y.Header,tournament:t.tournament,leftTeam:s,rightTeam:l,isBottomSheet:!0,children:t=>{let{onClick:s,isFollowed:r}=t,i=r?e.formatMessage({id:"added_to_favourites"}):e.formatMessage({id:"add_to_favourites"});return(0,n.jsxs)(u.$n,{gap:"xs",variant:"clear",px:"sm",py:"xs",br:"sm",backgroundColor:"surface.s2","aria-label":i,display:{md:"hidden"},onClick:s,children:[(0,n.jsx)(p.zQC,{icon:r?"follow-active":"follow-default"}),(0,n.jsx)(u.EY,{textStyle:"assistive.default",textTransform:"initial",children:(0,n.jsx)(m.A,{id:i})})]})}})})};function eS(e){let{isWide:t,disableFollow:s}=e,{event:a}=(0,r.useContext)(i.y$);return a.status.type!==l.XUj.Finished||t?s?null:(0,n.jsx)(eb,{}):(0,n.jsx)(o.so,{justify:"center",w:"100%",children:(0,n.jsx)(ef.g,{})})}let ew=e=>{var t,s;let{disableFollow:u,isWide:x=!1,hasCountdown:m,hideIncidents:p,hideTimeouts:h,children:j}=e,{event:v,leftTeam:y,leftScore:f,rightScore:S}=(0,r.useContext)(i.y$),{leftWLD:C,rightWLD:L}=(0,w.sX)(),_=v.tournament.category.sport.slug,A=v.status.type===l.XUj.InProgress,k=v.status.type===l.XUj.WillContinue,Y=!!(0,a.gm)(v,"aggregatedWinnerCode")&&void 0!==f.aggregated&&void 0!==S.aggregated,E=v.status.type===l.XUj.Finished&&!x,z=(0,c.sw)(v)&&!(0,c.ux)(v)&&v.status.type!==l.XUj.WillContinue&&!v.isAwarded,I=v.status.type===l.XUj.NotStarted&&(_!==l.QCR.MMA||(0,d.xO)(v)),W=!!y.subTeams&&2===y.subTeams.length,R=_===l.QCR.Basketball,F=!!(null==(t=v.timeouts)?void 0:t.homeTimeoutsRemaining)&&!!(null==(s=v.timeouts)?void 0:s.awayTimeoutsRemaining),U=!h&&R&&A&&F,X=r.Children.toArray(j);return(0,n.jsxs)(o.az,{br:{md:"lg"},pt:E?void 0:"sm",pb:"sm",children:[(0,n.jsx)(eS,{isWide:x,disableFollow:u}),(0,n.jsxs)(o.so,{justify:x?"center":"space-between",h:x?void 0:W?"10xl":C||L?"[100px]":"[86px]",py:"sm",px:{base:"md",md:"xs"},children:[X[0],(0,n.jsx)(o.az,{minW:x?"[152px]":void 0,alignSelf:"center",children:(0,n.jsx)(ej,{showSpecialStatus:z,showTime:I,showAggregateResult:Y,hasCountdown:m})}),X[1]]}),U&&!!v.timeouts&&(0,n.jsx)(T,{timeouts:v.timeouts}),_===l.QCR.MMA&&(A||k)&&v.fightState&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(o.cG,{}),(0,n.jsx)(g,{fightState:v.fightState})]}),_===l.QCR.Football&&!p&&(0,n.jsx)(b,{isWide:x})]})};var eC=s(86795);function eL(e){let{sport:t,disableFollow:s,isWide:a,children:d}=e,{event:u}=(0,r.useContext)(i.y$),x=function(e,t){switch(e){case l.QCR.Tennis:let s=(0,c.rW)(t)&&!(0,c.ux)(t),n=t.status.code===l.sum.Walkover,r=void 0!==t.winnerCode;return s||n&&!r;case l.QCR.Volleyball:return(0,c.sw)(t)&&!(0,c.ux)(t)&&t.status.type!==l.XUj.WillContinue&&!t.isAwarded;default:return!1}}(t,u),m=u.status.type===l.XUj.NotStarted&&(t!==l.QCR.Tennis||(0,eC.xO)(u));return(0,n.jsxs)(o.az,{br:{md:"lg"},maxW:a?"[400px]":void 0,mx:"auto",children:[(0,n.jsx)(eS,{isWide:a,disableFollow:s}),(0,n.jsxs)(o.so,{py:"sm",px:"lg",justify:"space-between",align:"center",children:[(0,n.jsx)(o.so,{direction:"column",gap:"sm",children:d}),(0,n.jsx)(ej,{showSpecialStatus:x,showTime:m,isWide:a})]})]})}function eT(e){let{disableFollow:t,isWide:s,hasCountdown:l,hideIncidents:o=!1,hideTimeouts:a=!1,children:d}=e,{event:c}=(0,r.useContext)(i.y$),u=c.tournament.category.sport.slug;return w.Vh.includes(u)?(0,n.jsx)(eL,{sport:u,disableFollow:t,isWide:s,children:d}):(0,n.jsx)(ew,{disableFollow:t,hasCountdown:l,hideIncidents:o,hideTimeouts:a,isWide:s,children:d})}},10404:(e,t,s)=>{s.d(t,{u:()=>v});var n=s(6029),r=s(20325),i=s(46787),l=s(55729),o=s(18970),a=s(51569),d=s(67087),c=s(88505);let u=e=>{let{team:t,isRight:s,additionalTeamInfo:r,isWide:i,isDoubles:l}=e,o=(0,d.g3)();return l?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(a.Ym,{maxW:{base:"[100px]",md:"8xl",lg:i?"[200px]":"[120px]"},textStyle:i?"display.medium":"display.micro",display:"block",truncate:!0,children:(0,n.jsx)(c.Rm,{team:t.subTeams[0],short:!0})}),(0,n.jsx)(a.Ym,{maxW:{base:"[100px]",md:"8xl",lg:i?"[200px]":"[120px]"},textStyle:i?"display.medium":"display.micro",display:"block",truncate:!0,children:(0,n.jsx)(c.Rm,{team:t.subTeams[1],short:!0})})]}):(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(a.Ym,{maxW:{base:"[100px]",md:"8xl",lg:i?"[156px]":"[120px]"},textStyle:i?"display.medium":"display.micro",truncate:!0,display:"block",textAlign:"start",children:[o&&s?"@":null,(0,n.jsx)(c.Rm,{team:t,short:!0})]}),r&&(0,n.jsx)(a.Ym,{maxW:{base:"[100px]",md:"8xl",lg:i?"[200px]":"[120px]"},textStyle:i?"display.small":"display.micro",color:"neutrals.nLv3",truncate:!0,display:"block",textAlign:"start",children:r})]})};var x=s(75866),m=s(4908);function p(e){var t;let{sport:s,team:a,seeding:d,disableFollow:c,disableLink:p,isRight:h,isWide:j}=e,{event:g}=(0,l.useContext)(o.y$),{leftWLD:v,rightWLD:y}=(0,x.sX)(),f=function(e,t,s,n,r,l){switch(e){case i.QCR.Volleyball:return;case i.QCR.Tennis:return e===i.QCR.Tennis&&s.gender&&s.ranking?s.gender===i.YT8.Male?"ATP ".concat(s.ranking,"."):"WTA ".concat(s.ranking,"."):void 0;default:return e!==i.QCR.Basketball||t.status.type!==i.XUj.InProgress?l?r:n:void 0}}(s,g,a,v,y,h),b=(null==(t=a.subTeams)?void 0:t.length)===2;return x.Vh.includes(s)?(0,n.jsxs)(r.so,{justify:"flex-start",align:"center",gap:"lg",minW:c?{base:"[100px]",md:"8xl",lg:"[120px]"}:void 0,children:[(0,n.jsx)(m.pY,{team:a,sport:s,seeding:d,disableLink:p}),(0,n.jsx)(r.so,{direction:"column",align:"start",children:(0,n.jsx)(u,{team:a,additionalTeamInfo:f,isDoubles:b})})]}):(0,n.jsxs)(r.so,{direction:j?"row":"column",justify:"center",align:"center",minW:c&&!j?{base:"[100px]",md:"8xl",lg:"[120px]"}:void 0,position:"relative",children:[(0,n.jsx)(r.az,{h:"4xl",px:j?"sm":void 0,children:(0,n.jsx)(m.pY,{team:a,sport:s,isRight:h,disableLink:p})}),(0,n.jsx)(r.so,{direction:"column",align:j?h?"start":"end":"center",position:"absolute",end:j&&!h?"[64px]":void 0,start:j&&h?"[64px]":void 0,top:j?void 0:"[56px]",children:(0,n.jsx)(u,{team:a,additionalTeamInfo:f,isRight:h,isWide:j})})]})}var h=s(15340),j=s(36882);function g(e){let{team:t}=e,s=(0,l.useContext)(h.w);return(0,n.jsx)(h.e,{isDisabled:t.disabled,id:t.id,entity:i.bq7.Teams,location:s,type:j.b.Team})}function v(e){var t;let{sport:s,team:i,seeding:l,disableFollow:o,disableLink:a,isWide:d,isRight:c}=e,u=(null==(t=i.subTeams)?void 0:t.length)===2,m=x.Vh.includes(s);return(0,n.jsx)(r.az,{h:d?void 0:"100%",children:(0,n.jsxs)(r.so,{direction:c?"row-reverse":"row",gap:"sm",align:m?"center":void 0,position:"relative",children:[!o&&!u&&(0,n.jsx)(r.az,{pt:m?void 0:"sm",children:(0,n.jsx)(g,{team:i})}),(0,n.jsx)(p,{sport:s,team:i,seeding:l,disableFollow:o,disableLink:a,isRight:c,isWide:d})]})})}},30821:(e,t,s)=>{s.d(t,{Z:()=>d,i:()=>o.i});var n=s(6029),r=s(90510),i=s(494),l=s(77264),o=s(13988),a=s(63752);function d(e){let{value:t,fromUnit:s}=e,d=(0,i.d4)(a.Y);if(!t)return null;if((0,l.C)(t,s).to("m")>=1e3)return(0,n.jsx)(c,{value:t,fromUnit:s});if(d===o.i.Imperial){let e=function(e,t){let s=(0,l.C)(e,t).to("feet"),n=Math.floor(s),r=Math.round((0,l.C)(s-Math.floor(s),"ft").to("in"));return 12===r&&(n+=1,r=0),{ft:n,in:r}}(t,s);return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(r.Gr,{value:e.ft,style:"unit",unit:"foot",unitDisplay:"narrow"}),"\xa0",(0,n.jsx)(r.Gr,{value:e.in,style:"unit",unit:"inch",unitDisplay:"narrow"})]})}return(0,n.jsx)(r.Gr,{value:(0,l.C)(t,s).to("cm"),style:"unit",unit:"centimeter",unitDisplay:"short"})}function c(e){let{value:t,fromUnit:s}=e,d=(0,i.d4)(a.Y);return t?d===o.i.Imperial?(0,n.jsx)(r.Gr,{value:(0,l.C)(t,s).to("mile"),style:"unit",unit:"mile",maximumFractionDigits:1,unitDisplay:"short"}):(0,n.jsx)(r.Gr,{value:(0,l.C)(t,s).to("km"),style:"unit",unit:"kilometer",maximumFractionDigits:1,unitDisplay:"short"}):null}},50099:(e,t,s)=>{s.d(t,{g:()=>u});var n=s(6029),r=s(22375),i=s(51569),l=s(20325),o=s(55729),a=s(90510),d=s(18970),c=s(52466);let u=e=>{let{isInDesktopHeader:t}=e,{event:s}=(0,o.useContext)(d.y$),u=new Date(1e3*s.startTimestamp);return(0,n.jsxs)(l.so,{align:"center",br:"lg",backgroundColor:t?void 0:"surface.s2",py:"xs",px:"sm",mb:t?void 0:"xs",h:t?void 0:"[26px]",gap:"xs",children:[t&&(0,n.jsx)(c.E8x,{color:"neutrals.nLv3",w:"16px",h:"16px"}),(0,n.jsx)(i.EY,{textStyle:t?"display.micro":"body.small",color:t?"neutrals.nLv3":"neutrals.nLv1",lineHeight:1,children:(0,n.jsx)(a.XU,{value:u,...r.or.fullDateWithLongYear})}),(0,n.jsx)(l.az,{w:"xs",h:"xs",br:"50%",bg:t?"neutrals.nLv3":"neutrals.nLv1",position:"relative"}),(0,n.jsx)(i.EY,{textStyle:t?"display.micro":"body.small",color:t?"neutrals.nLv3":"neutrals.nLv1",lineHeight:1,children:(0,n.jsx)(a.XU,{value:u,hour:"numeric",minute:"numeric"})})]})}},53960:(e,t,s)=>{s.d(t,{o:()=>o});var n=s(6029),r=s(46787),i=s(90248);let l={[r.FoP.Billion]:"value_billion_short",[r.FoP.Million]:"value.M",[r.FoP.Thousand]:"value.K"},o=e=>{let{parsedMoney:t}=e;return t.measure&&l[t.measure]?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(i.A,{id:l[t.measure],values:{value:t.parsedValue}})," ",t.currencySign]}):(0,n.jsxs)(n.Fragment,{children:[t.parsedValue," ",t.currencySign]})}},67430:(e,t,s)=>{s.d(t,{L:()=>a});var n=s(46787),r=s(55729),i=s(45860),l=s(18970),o=s(41164);function a(){let{event:e,initialIncidents:t}=(0,r.useContext)(l.y$),s={};e.status.type===n.XUj.InProgress&&(s.onErrorRetry=(e,t,s,n,r)=>{let{retryCount:i}=r;404===e.status&&setTimeout(()=>n({retryCount:i}),15e3)});let{data:a,isLoading:d,error:c}=(0,i.Ay)(n.bnp.incidents(e.id),(0,o.rf)(e,s));return{incidents:(null==a?void 0:a.incidents)||t||[],isLoading:(null==t||!t.length)&&d,isError:!!c}}},92397:(e,t,s)=>{s.d(t,{A:()=>c});var n=s(6029),r=s(55729),i=s(18970),l=s(11219),o=s(9296),a=s(10404),d=s(75866);function c(e){let{onClick:t,disableFollow:s}=e,{event:c,leftTeam:u,rightTeam:x}=(0,r.useContext)(i.y$),m=c.tournament.category.sport.slug,p=!d.Vh.includes(m);return(0,n.jsx)(l.tj,{event:c,onClick:t,children:(0,n.jsxs)(o.Y,{disableFollow:s,hasCountdown:!0,hideIncidents:!0,hideTimeouts:!0,children:[(0,n.jsx)(a.u,{sport:m,team:u,seeding:c.homeTeamSeed,disableFollow:s,disableLink:!0}),(0,n.jsx)(a.u,{sport:m,team:x,seeding:c.awayTeamSeed,disableFollow:s,disableLink:!0,isRight:p})]})})}}}]);