!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]="50357615-5a4e-4f14-b992-138e7252d339",e._sentryDebugIdIdentifier="sentry-dbid-50357615-5a4e-4f14-b992-138e7252d339")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[10472,67536,73240,76186,89937],{173:(e,t,n)=>{"use strict";n.d(t,{z:()=>x,K:()=>v});var s=n(6029),a=n(20325),r=n(55729),i=n(494),l=n(18970),o=n(79375),c=n(51569);let d=e=>{let{}=e;return(0,s.jsx)(c.EY,{display:"block",px:"lg",py:"sm",textStyle:"body.small",color:"neutrals.nLv3",textAlign:"center",children:"Juego Responsable - BAP: EL JUEGO COMPULSIVO ES PERJUDICIAL PARA VOS Y TU FAMILIA +18, Linea gratuita de orientacion al jugado problematico 0800-444-4000 BAC: EL JUEGO COMPULSIVO ES PERJUDICIAL PARA VOS Y TU FAMILIA +18, Linea gratuita de orientacion al jugado problematico 0800-666-6006"})};var u=n(50526),m=n(37455),p=n(72753);let h=e=>{let{provider:t}=e;return(0,s.jsx)(a.az,{position:"relative",px:"lg",py:"sm",children:(0,s.jsx)(o.A,{provider:t})})},x=e=>{let{showTailingRegulation:t,provider:n}=e,r=(0,i.d4)(p.LQ);return(0,i.d4)(m.BF)?null:"GR"===r&&t?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(a.so,{justify:"center",children:(0,s.jsx)(u.A,{})}),(0,s.jsx)(h,{provider:n})]}):"AR"===r?(0,s.jsxs)(a.BJ,{gap:"sm",children:[(0,s.jsx)(h,{provider:n}),(0,s.jsx)(d,{})]}):(0,s.jsx)(h,{provider:n})},v=e=>{let{showTailingRegulation:t,provider:n}=e,{event:a}=(0,r.useContext)(l.y$),o=(0,i.d4)((0,m.Ul)(a)),c=(0,i.d4)((0,m.bS)(a)),d=(0,i.d4)(m.BF);return o||c||d?(0,s.jsx)(x,{showTailingRegulation:t,provider:n}):null}},308:(e,t,n)=>{"use strict";n.d(t,{A:()=>h});var s=n(6029),a=n(46787),r=n(22375),i=n(95669),l=n.n(i),o=n(947),c=n(58771),d=n(31830),u=n(88715),m=n(92208);let p=(e,t,n)=>e.type===a.YVh.Person?{"@type":"Person",name:e.name}:{"@type":"SportsTeam",sport:t.name,name:e.name,logo:a.cWY.image(e.id),url:"https://www.sofascore.com/team/".concat(t.slug,"/").concat(e.slug,"/").concat(e.id),sameAs:(0,m.WG)(e.id,n)};function h(e){let{event:t}=e,n=(0,o.A)(),i=(0,d.A)(),h=t.tournament.category.sport,x=r.pp(t.startTimestamp),v=((e,t)=>{var n,s,a,r,i;let l=(null==(n=e.tournament.uniqueTournament)?void 0:n.name)||e.tournament.name,o=(null==(s=e.season)?void 0:s.year)||(null==(a=e.season)?void 0:a.name)||t.getFullYear()||"",c=(e.tournament.roundPrefix||"")+" "+((null==(r=e.roundInfo)?void 0:r.name)||((null==(i=e.roundInfo)?void 0:i.round)?"Round ".concat(e.roundInfo.round):""));return"".concat(l," ").concat(o," ").concat(c.trim()).trim()})(t,x),f=t.tournament.category,y=t.tournament.uniqueTournament,g=1,b=[{"@type":"ListItem",position:1,name:n.formatMessage({id:"sport.".concat(h.slug)}),item:"".concat(a.VTF).concat(u.z.getTranslatedRoute(i,"eventList",{sport:h.slug}).route)},{"@type":"ListItem",position:++g,name:n.formatMessage({id:f.slug}),item:"".concat(a.VTF).concat(u.z.getTranslatedRoute(i,"eventList.category",{sport:f.sport.slug,category:f.slug}).route)}];y&&b.push({"@type":"ListItem",position:++g,name:y.name,item:"".concat(a.VTF).concat(u.z.getTranslatedRoute(i,"uniqueTournament",{sport:y.category.sport.slug,category:y.category.slug,tournament:y.slug,id:y.id}).route)}),b.push({"@type":"ListItem",position:++g,name:"".concat(t.homeTeam.name," - ").concat(t.awayTeam.name)});let j={"@context":"https://schema.org","@type":"SportsEvent",name:"".concat(t.homeTeam.name," vs ").concat(t.awayTeam.name),eventStatus:(e=>{switch(e.status.type){case a.XUj.Canceled:case a.XUj.Suspended:return"EventCancelled";case a.XUj.Postponed:return"EventPostponed";default:return"EventScheduled"}})(t),description:v,homeTeam:p(t.homeTeam,h,i),awayTeam:p(t.awayTeam,h,i),startDate:x.toISOString(),sport:h.name};if(t.venue){var w,k,C;j.location=[{"@type":"Place",name:null==(w=t.venue)?void 0:w.stadium.name,maximumAttendeeCapacity:null==(k=t.venue)?void 0:k.stadium.capacity,address:{"@type":"PronounceableText"}}],t.venue.city.name&&j.location.concat({"@type":"Place",name:t.venue.city.name}),t.venue.country.alpha2&&j.location.concat({"@type":"Country",name:(0,m.lE)(null==(C=t.venue)?void 0:C.country.alpha2)})}else t.tournament.category.alpha2&&(j.location={"@type":"Country",name:(0,m.lE)(t.tournament.category.alpha2)});return(0,s.jsxs)(l(),{children:[(0,s.jsx)("script",{...(0,c.QQ)({"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:b})}),",",(0,s.jsx)("script",{...(0,c.QQ)(j)}),","]})}},4284:(e,t,n)=>{"use strict";n.d(t,{Tx:()=>f,c4:()=>g,j8:()=>j,oB:()=>S,oG:()=>y});var s=n(46787),a=n(94565),r=n(80055),i=n(89827),l=n(15307);let o=new Set(["id","team","promotion","descriptions","liveMatchWinnerCodeColumn","forcedLivePosition","position","scoresFor","scoresAgainst","secondaryScoresFor","secondaryScoresAgainst","pointsWon"]),c=new Set([s.QCR.Football,s.QCR.Volleyball]),d=new Set([s.QCR.AussieRules,s.QCR.Volleyball]),u=new Set([s.QCR.Basketball,s.QCR.IceHockey,s.QCR.Volleyball,s.QCR.Cricket]),m=new Set([s.QCR.Handball,s.QCR.Rugby,s.QCR.Waterpolo,s.QCR.Futsal,s.QCR.Football,s.QCR.Volleyball]),p=new Set([s.QCR.Handball,s.QCR.Rugby,s.QCR.Waterpolo,s.QCR.Futsal]),h=new Set([...m,...p]),x=new Set([...u,s.QCR.AmericanFootball,s.QCR.Baseball,s.QCR.AussieRules,s.QCR.ESports,s.QCR.Tennis]),v=function(e,t,n,s){let a=arguments.length>4&&void 0!==arguments[4]&&arguments[4],r=arguments.length>5?arguments[5]:void 0,i=!1,l=!1,m=!1,h=Object.keys(e).filter(e=>{switch(e){case"points":return i=!0,!1;case"percentage":return l=!0,!1;case"pointsPerGame":return m=!0,!1;case"draws":return!u.has(t);case"pointsCurrSeason":case"pointsPrevSeason":case"pointsPrevPrevSeason":return s;default:return!o.has(e)}});n&&c.has(t)&&h.push("goals"),d.has(t)&&h.push("pctGoal"),!h.includes("scoreDiffFormatted")&&p.has(t)&&h.push("scoreDiffFormatted"),a&&h.push("last5"),i&&h.push("points"),l&&h.push("percentage"),m&&h.push("pointsPerGame");let x=h.indexOf("gamesBehind"),v=Math.max(h.indexOf("wins"),h.indexOf("draws"),h.indexOf("losses"));x>-1&&x-1&&y>-1&&f>y&&(h[f]="losses",h[y]="draws",[f,y]=[y,f]),r)?h.filter(e=>"overtimeAndPenaltyLosses"!==e&&"overtimeAndPenaltyWins"!==e):h},f=(e,t,n,s,a,r,i,o,c)=>{if(!s){let n=v(e,t,r,i,!s);return n.length>1&&n.includes("gamesBehind")&&!a&&n.splice(n.indexOf("gamesBehind"),1),n}switch(n){case"full":return v(e,t,r,i,!1,o);case"form":return["last5"];default:return((e,t,n)=>{let s=!1,a=!1,r=Object.keys(e).filter(e=>{switch(e){case"points":return s=!0,!1;case"percentage":return a=!0,!1;case"matches":return!0;default:return!1}});return x.has(t)&&(n===l.nJ?r.push("winsLossesTies"):r.push("winsLosses")),m.has(t)&&r.push("scoreDiffFormatted"),s&&r.push("points"),a&&r.push("percentage"),r})(e,t,c)}},y=(e,t,n,s)=>{let a=n[e];if("goals"===e&&c.has(t)&&void 0!==n.scoresFor&&void 0!==n.scoresAgainst)return"".concat(n.scoresFor,":").concat(n.scoresAgainst);if("pctGoal"===e&&d.has(t)&&void 0!==n.scoresFor&&void 0!==n.scoresAgainst){let e,{scoresFor:t,scoresAgainst:s}=n;if(0===s?e="∞":t>0&&(e=(0,i.M)(100*t/s,2)),e)return e}if("winsLosses"===e&&x.has(t)&&void 0!==n.wins&&void 0!==n.losses)return s?"".concat(n.losses,"-").concat(n.wins):"".concat(n.wins,"-").concat(n.losses);if("winsLossesTies"===e&&x.has(t)&&void 0!==n.wins&&void 0!==n.losses)return s?"".concat(n.draws||"0","-").concat(n.losses,"-").concat(n.wins):"".concat(n.wins,"-").concat(n.losses,"-").concat(n.draws||"0");if("scoreDiffFormatted"===e&&h.has(t)&&void 0!==n.scoresFor&&void 0!==n.scoresAgainst){let e=n.scoresFor-n.scoresAgainst,t=e>0?"+":"";return"".concat(t).concat(e)}return void 0===a||"gamesBehind"===e&&0===a?"-":"netRunRate"===e?(0,i.M)(a,3):a},g=(e,t,n,s)=>{let a=(0,r.s)(e.homeTeam,n),i=(0,r.s)(e.awayTeam,n),l="".concat(e.homeScore.display||0," – ").concat(e.awayScore.display||0),o=s?"".concat(i," – ").concat(a):"".concat(a," – ").concat(i);return"".concat(t,", ").concat(l," ").concat(o)},b=[...s.otM,"percentage","netRunRate","oversFor","oversAgainst","overtimeAndPenaltyWins","overtimeAndPenaltyLosses","pointsCurrSeason","pointsPrevSeason","pointsPrevPrevSeason","pointsPerGame"],j=(e,t,n)=>{let a=24;if(!n)if(t===s.QCR.Volleyball&&"pctGoal"===e)a=54;else b.includes(e)&&(a=42);return a},w=[a.Tj.palette.playoffs.promotionToX,a.Tj.palette.playoffs.promotionToXPlayoff,a.Tj.palette.playoffs.promotionToY,a.Tj.palette.playoffs.promotionToYPlayoff,a.Tj.palette.playoffs.promotionToZ,a.Tj.palette.playoffs.promotionToZPlayoff,a.Tj.palette.neutral.default,a.Tj.palette.playoffs.relegationPlayoff,a.Tj.palette.playoffs.relegation],k={17:w[0],804:w[0],24:w[1],816:w[1],127:w[2],124:w[3],52:w[2],808:w[2],47:w[3],968:w[3],19:w[0],20:w[1],21:w[2],1443:w[4],513:w[4],1349:w[5],503:w[5]},C={...{3:w[8],45:w[7],18:w[7]},...k},S=e=>{let t=e.map(e=>e.id).reduce((e,t)=>(e.includes(t)||e.push(t),e),[]),n={},s=!1;Object.keys(C).map(Number).forEach(e=>{if(t.includes(e)){n[e]=C[e];let t=!!k[e];!s&&t&&(s=!0)}});let a=0;s&&(a+=n?Object.keys(n).length-1:4);let r=t.filter(e=>!(e in n));for(let e=0;e{i[e.teamId]=n[e.id]}),i}},5062:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var s=n(6029),a=n(94565),r=n(90248),i=n(52466);function l(e){let{isOpen:t,setIsOpen:n,title:l,...o}=e;return(0,s.jsxs)(a.so,{align:"center",px:"lg",py:"sm",h:"48px",gap:"sm",bg:"surface.s1",cursor:"pointer",overflow:"hidden",style:{userSelect:"none"},onClick:()=>n(e=>!e),...o,children:[(0,s.jsx)(i.baM,{}),(0,s.jsx)(a.EY,{as:"div",ellipsis:!0,font:"display.small",color:"onSurface.nLv1",style:{flexGrow:1},children:l||(0,s.jsx)(r.A,{id:"hockey_game_shotmap"})}),(0,s.jsx)(i.zQC,{icon:t?"chevron-up":"chevron-down",color:"neutrals.nLv1"})]})}},15307:(e,t,n)=>{"use strict";n.d(t,{nJ:()=>a,s4:()=>s});let s="standings.displayType",a=9464},16419:e=>{e.exports=function(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}},17887:e=>{"use strict";e.exports=JSON.parse('{"ice-hockey":{"forward":"stats.forwards","defenseman":"hockey_defensemen","goalie":"legend_hockey_goalies"}}')},18205:(e,t,n)=>{"use strict";n.d(t,{e:()=>o});var s=n(6029),a=n(18612),r=n(20325),i=n(55729);function l(e){let{rows:t,rowHeight:n}=e;return(0,s.jsx)(a.D,{animate:!0,height:t*n,uniqueKey:"generic-table-cl",children:Array(t).fill(null).map((e,t)=>{let a=t*n;return(0,s.jsxs)(i.Fragment,{children:[(0,s.jsx)("circle",{cx:20,cy:a+n/2,r:12}),(0,s.jsx)("rect",{x:40,y:a+8,width:"calc(100% - 48px)",height:n-16})]},a)})})}function o(e){let{rows:t=12}=e;return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(r.az,{hideBelow:"md",children:(0,s.jsx)(l,{rowHeight:32,rows:t})}),(0,s.jsx)(r.az,{hideFrom:"md",children:(0,s.jsx)(l,{rowHeight:48,rows:t})})]})}},21754:(e,t,n)=>{"use strict";n.d(t,{E:()=>i});var s=n(62042),a=n(20325);let r=(0,s.Fj)({base:{width:"100%",height:"100%",display:"flex",alignItems:"center",justifyContent:"center"},variants:{colorPalette:{success:{backgroundColor:"status.success.default"},error:{backgroundColor:"status.error.default"},neutral:{backgroundColor:"neutral.default"}}}}),i=(0,a.I4)("div",r)},22180:(e,t,n)=>{var s=n(22926),a=n(68668),r=n(86152),i=n(82694),l=n(79860),o=n(48546);e.exports=function(e,t,n){var c=-1,d=a,u=e.length,m=!0,p=[],h=p;if(n)m=!1,d=r;else if(u>=200){var x=t?null:l(e);if(x)return o(x);m=!1,d=i,h=new s}else h=t?[]:p;e:for(;++c{"use strict";n.d(t,{A:()=>c});var s=n(6029),a=n(51569),r=n(71024),i=n.n(r),l=n(56132);let o=i()(()=>Promise.all([n.e(91381),n.e(33211)]).then(n.bind(n,55891)),{loadableGenerated:{webpack:()=>[55891]},ssr:!1});function c(e){let{uniqueTournament:t,seasonId:n,sport:r}=e;return(0,s.jsx)(a.tU.Panel,{tabKey:l.x.Knockout,children:(0,s.jsx)(o,{sport:r,uniqueTournamentId:t.id,uniqueTournamentSlug:t.slug,categorySlug:t.category.slug,seasonId:n})})}},32019:(e,t,n)=>{"use strict";n.d(t,{C:()=>r,Z:()=>i});var s=n(494),a=n(86522);let r=(e,t,n)=>{var s,a,r;let i=null==(s=e.tournament.uniqueTournament)?void 0:s.id;if(i&&(null==n||null==(r=n.uniqueTournaments)||null==(a=r[i])?void 0:a[t]))return null==n?void 0:n.uniqueTournaments[i]},i=(e,t)=>r(e,t,(0,s.d4)(a.g))},34199:(e,t,n)=>{"use strict";n.d(t,{eD:()=>r.e,l3:()=>a.l,pY:()=>s.p});var s=n(91603),a=n(37721),r=n(33480)},37236:(e,t,n)=>{"use strict";n.d(t,{N:()=>o});var s=n(6029),a=n(90248),r=n(18970);let i=JSON.parse('{"volleyball":{"goals":"standings.label.sets","pctGoal":"standings.label.setsRatio"},"american-football":{"draws":"amFootball.standings.label.draws"},"last5":"standings_last_5","position":"standings.label.position","wins":"standings.label.wins","draws":"standings.label.draws","losses":"standings.label.losses","winsLosses":"W-L","winsLossesTies":"am_football_win_loss_tie","scoresFor":"standings.label.scoresFor","scoresAgainst":"standings.label.scoresAgainst","points":"Pts","matches":"standings.label.matches","percentage":"standings.label.pct","gamesBehind":"standings.label.gamesBehind","overtimeWins":"standings.label.overtimeWins","overtimeLosses":"standings.label.overtimeLosses","penaltyWins":"standings.label.penaltyWins","penaltyLosses":"standings.label.penaltyLosses","overtimeAndPenaltyWins":"standings.label.overtimeAndPenaltyWins","overtimeAndPenaltyLosses":"standings.label.overtimeAndPenaltyLosses","secondaryScoresFor":"standings.label.secondaryScoresFor","secondaryScoresAgainst":"standings.label.secondaryScoresAgainst","threePoints":"standings.label.threePoints","twoPoints":"standings.label.twoPoints","onePoint":"standings.label.onePoint","zeroPoints":"standings.label.zeroPoints","oversFor":"standings.label.oversFor","oversAgainst":"standings.label.oversAgainst","netRunRate":"standings.label.netRunRate","noResult":"standings.label.noResult","streak":"standings.label.streak","pctGoal":"standings.label.pct","goals":"goals","scoreDiffFormatted":"standings.label.diff","pointsPerGame":"football_points_per_game_short"}');var l=n(91113);let o=e=>{let{id:t}=e;return(0,s.jsx)(r.Ws.Consumer,{children:e=>(0,s.jsx)(a.A,{id:(0,l.OX)(i,t,e)})})}},38123:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>nt});var s=n(6029),a=n(46787),r=n(22375),i=n(95669),l=n.n(i),o=n(55729),c=n(947),d=n(18970),u=n(90438),m=n(67086),p=n(94164),h=n(47550),x=n(15946),v=n(41397),f=n(52763),y=n(25246),g=n(78767),b=n(22772),j=n(95084),w=n(20325),k=n(46222),C=n(20945),S=n(8041),T=n(61628),A=n(2920),R=n(56132),_=n(14831),F=n(60235),P=n(494),I=n(45860),B=n(39975),M=n(94822),z=n(31591),L=n(71384),H=n(93053),E=n(15220),O=n(95404),Q=n(70344),D=n(89937),K=n(32137),W=n(49069),G=n(82827),U=n(173),Y=n(53198),N=n(24534),q=n(37455);let V=()=>{let e=(0,P.d4)(q._I),t=(0,N.PW)(),n=(0,P.d4)(q.SM);return e&&t&&(null==n?void 0:n.length)?(0,s.jsxs)(k.Zp,{children:[(0,s.jsx)(k.Zp.Header,{titleId:"odds"}),(0,s.jsx)(Y.i,{providers:n,placement:"desktop"})]}):null};var X=n(75837),$=n(76186),Z=n(68789),J=n(60682),ee=n(92099),et=n(60067),en=n(17423),es=n(34903),ea=n(12157),er=n(82902),ei=n(41596),el=n(26567),eo=n(66022),ec=n(72753),ed=n(55878),eu=n(31139),em=n(97874),ep=n(66301);n(8968);var eh=n(62235),ex=n(51219),ev=n(57724),ef=n(51569),ey=n(52466),eg=n(94565),eb=n(90248);let ej=e=>{let{width:t,eventId:n,toggleButton:r,options:i,ref:l}=e;return(0,s.jsxs)(w.az,{ref:l,_fullscreen:{bg:"surface.s1"},children:[(0,s.jsx)(ef.H3,{textAlign:"center",pt:"md",pb:"xs",children:(0,s.jsx)(eb.A,{id:"event.liveAction"})}),(0,s.jsx)(w.az,{display:"table",m:"auto",py:"sm",children:(0,s.jsx)(w.az,{mx:"sm",children:(0,s.jsxs)(eg.XI,{position:"relative",m:"auto",mb:"10px",children:[(0,s.jsx)("iframe",{src:(0,a.Lo9)(a.bnp.liveActionWidget(n,i)),style:{display:"block"},width:t,height:.49*t,frameBorder:"0",scrolling:"no"}),r]})})})]})};var ew=n(62042);let ek=(0,ew.AH)({zIndex:"dropdown",bg:"surface.s1"}),eC=(0,ew.AH)({elevation:"2",position:"absolute",px:"lg",br:"lg",overflow:"hidden",cursor:"move"}),eS=(0,ew.AH)({mb:"md",br:"lg"}),eT=(0,ew.AH)({"& iframe":{pointerEvents:"none"}}),eA=(0,w.I4)("div",{base:{position:"absolute",zIndex:"popover",_hover:{bg:"overlay.darken1"}}});function eR(e,t,n,s){let a,r;function i(){document.onmouseup=null,document.onmousemove=null,n(!1),e&&e.clientWidth&&t(e.clientWidth)}function l(t){if(t.preventDefault(),t.stopPropagation(),e){let{horizontal:n,vertical:i,valence:l}=s;if(n){let n=e.offsetWidth+(t.clientX-a)*l;e.style.width="".concat(n,"px"),-1===l&&n>320&&n<800&&(e.style.left="".concat(e.offsetLeft+t.clientX-a,"px"))}if(i){let n=e.offsetHeight+(t.clientY-r)*l;e.style.height="".concat(n,"px"),-1===l&&n>520&&n<800&&(e.style.top="".concat(e.offsetTop+t.clientY-r,"px"))}a=t.clientX,r=t.clientY}}return function(e){e.preventDefault(),e.stopPropagation(),a=e.clientX,r=e.clientY,document.onmouseup=i,document.onmousemove=l,n(!0)}}let e_=e=>{let{expanded:t,children:n}=e,a=(0,o.createRef)(),r=(0,o.createRef)(),i=(0,o.createRef)(),l=(0,o.createRef)(),c=(0,o.createRef)(),d=(0,o.createRef)(),u=(0,o.createRef)(),[m,p]=(0,o.useState)(0),[h,x]=(0,o.useState)(0),[v,f]=(0,o.useState)({x:0,y:0}),[y,g]=(0,o.useState)(!1),[b,j]=(0,o.useState)(!1),{mediaBreakpoint:k}=(0,ef.$c)(),C=(0,o.useCallback)(e=>{e.preventDefault(),f({x:e.clientX,y:e.clientY}),g(!0)},[v,y]),S=(0,o.useCallback)(e=>{if(!y)return;let t=v.x-e.clientX,n=v.y-e.clientY;f({x:e.clientX,y:e.clientY});let s="".concat(e.currentTarget.offsetTop-n,"px"),a="".concat(e.currentTarget.offsetLeft-t,"px");e.currentTarget.style.top=s,e.currentTarget.style.left=a},[v,y]),T=(0,o.useCallback)(()=>{g(!1),document.body.style.pointerEvents=""},[v,y]);return(0,o.useEffect)(()=>{t&&(r.current&&(r.current.onmousedown=eR(a.current,x,j,{vertical:!0,valence:-1})),i.current&&(i.current.onmousedown=eR(a.current,x,j,{horizontal:!0,valence:1})),l.current&&(l.current.onmousedown=eR(a.current,x,j,{vertical:!0,valence:1})),c.current&&(c.current.onmousedown=eR(a.current,x,j,{horizontal:!0,valence:-1})),d.current&&(d.current.onmousedown=eR(a.current,x,j,{horizontal:!0,vertical:!0,valence:1})),u.current&&(u.current.onmousedown=eR(a.current,x,j,{horizontal:!0,vertical:!0,valence:-1}))),!t&&a.current&&(a.current.style.top="",a.current.style.left="",a.current.style.width="",a.current.style.height="")},[r.current,t]),(0,o.useEffect)(()=>{a.current&&(x(Math.min(640,document.body.offsetWidth)),m||p(a.current.clientWidth))},[a.current]),(0,s.jsxs)(w.az,{className:((e,t)=>(0,ew.cx)(ek,e&&eC,!e&&eS,t&&eT))(t,b),ref:a,onMouseDown:C,onMouseMove:y?S:void 0,onMouseUp:T,style:t?{width:h,minWidth:320,maxWidth:800,minHeight:520,maxHeight:800,height:500}:void 0,children:[t&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(eA,{ref:r,top:"0",left:"0",w:"100%",h:"xs",cursor:"ns-resize"}),(0,s.jsx)(eA,{ref:i,top:"0",right:"0",w:"xs",h:"100%",cursor:"ew-resize"}),(0,s.jsx)(eA,{ref:l,bottom:"0",left:"0",w:"100%",h:"xs",cursor:"ns-resize"}),(0,s.jsx)(eA,{ref:c,top:"0",left:"0",w:"xs",h:"100%",cursor:"ew-resize"}),(0,s.jsx)(eA,{ref:d,bottom:"0",right:"0",w:"md",h:"md",cursor:"se-resize"}),(0,s.jsx)(eA,{ref:u,top:"0",left:"0",w:"md",h:"md",cursor:"nw-resize"})]}),(0,s.jsx)(w.az,{position:t?"absolute":void 0,bottom:t?"0":void 0,left:t?"0":void 0,width:t?"100%":void 0,height:t?"100%":void 0,children:o.Children.map(n,e=>e&&e.type===ej?(0,o.cloneElement)(e,{...e.props,width:t?h-24:((e,t)=>{switch(t){case"lg":return 368;case"md":return 298;default:return e}})(m-24,k)}):e)})]})};function eF(e){let{eventId:t,modal:n,useNativeFullscreen:r,children:i}=e,{data:l}=(0,I.Ay)([a.bnp.liveActionWidget(t),"HEAD"],{fetcher:Q.n}),[c,d]=(0,o.useState)(!1),[m,p]=(0,o.useState)(320),h=(0,o.createRef)(),[x,v]=(0,o.useState)(!1),f=(0,P.d4)(e=>e.locale.selectedLocale||u.Xn),y=(0,P.d4)(e=>e.locale.geoIPAlpha2),{isMobile:g}=(0,ef.$c)(),b=(0,o.useMemo)(()=>{if((0,a.S$s)())return!1;let e=document.documentElement,t=e.requestFullscreen||e.webkitRequestFullscreen||e.mozRequestFullScreen||e.msRequestFullscreen;return r&&!t},[r]),j=(0,o.useCallback)(e=>{if(e){let e=h&&h.current;if(!e)return;let s=e.requestFullscreen||e.webkitRequestFullscreen||e.mozRequestFullScreen||e.msRequestFullscreen;if(s){var t,n;(s=s.bind(e))(),null==(n=screen.orientation)||null==(t=n.lock)||t.call(n,"landscape")}}else{let e=document,t=e.exitFullscreen||e.webkitExitFullscreen||e.mozExitFullScreen||e.msExitFullscreen;t&&(t=t.bind(e))()}},[h,h.current]),C=(0,o.useCallback)(()=>{d(!c),r&&j(!c)},[h,h.current,c,d]);if((0,o.useEffect)(()=>{if(c&&h.current){let e=30;90===screen.orientation.angle&&(e=200),p(h.current.offsetWidth-e)}else p(320)},[h,h.current,c,p]),(0,o.useEffect)(()=>{r&&c&&h.current&&(x||(document.removeEventListener("fullscreenchange",e),document.addEventListener("fullscreenchange",e,{once:!0}),v(!0)));function e(){!0===document.fullscreen?(p(Math.max(window.screen.width,window.screen.height)),setTimeout(()=>{p(Math.max(window.screen.width,window.screen.height))},500)):!1===document.fullscreen&&(p(320),d(!1)),document.removeEventListener("fullscreenchange",e),v(!1)}},[h,h.current,c,p,x]),!l)return null;let S=(0,s.jsx)(ej,{eventId:t,ref:h,width:m,toggleButton:b?null:(0,s.jsx)(w.ov,{backgroundColor:"overlay.darken2",position:"absolute",h:"2xl",w:"2xl",top:"sm",right:"sm",br:"50%",onClick:C,cursor:"pointer",_hover:{bg:"overlay.darken1"},children:c?(0,s.jsx)(ey.Osn,{color:"[white]"}):(0,s.jsx)(ey.L9n,{color:"[white]"})}),options:{language:f,china:"cn"===y,mobile:g}});return n?(0,s.jsxs)(e_,{expanded:c,setExpanded:d,children:[S,c&&i]}):(0,s.jsx)(k.Zp,{children:S})}var eP=n(60962),eI=n(88037),eB=n(86931),eM=n(58490),ez=n(26431),eL=n(88120),eH=n(69408),eE=n(94976),eO=n(67536),eQ=n(30121),eD=n(35676),eK=n(63561);function eW(e){var t,n,r,i,l;let{hasCommentary:c,hasMediaTab:u,setActiveTab:m}=e,{event:p,leftTeam:h,rightTeam:x}=(0,o.useContext)(d.y$),[v,y]=(0,o.useState)(!1),g=p.status.type===a.XUj.NotStarted,b=p.status.type===a.XUj.InProgress,w=p.tournament.category.sport.slug,k=w===a.QCR.ESports&&(0,eK.f2)(p.tournament.category.id),C=(0,P.d4)(q.BF),T=(0,P.d4)((0,q.bS)(p)),A=(0,Z.F0)(p),[R]=(0,J.Z)(A,p.status.type===a.XUj.InProgress),_={fetcher:Q.n,revalidateOnFocus:!0,refreshInterval:6e4*(p.status.type===a.XUj.NotStarted||p.status.type===a.XUj.InProgress)},Y=!C&&T&&!!R,{data:N}=(0,I.Ay)(Y?[a.npy.recommendedPrematchTopVoted(R,w),"HEAD"]:null,_),ef=(0,o.useRef)(null),ey=(0,F.hX)(),eg=c&&w!==a.QCR.IceHockey,eb=c&&w===a.QCR.IceHockey,ej=(0,P.d4)(q.qW),ew=(0,P.d4)(ec.LQ),ek=!!ew&&(0,eK.Q9)(ew),eC=b&&!!ek&&ej,eS=ep.I.includes(w)&&p.status.type===a.XUj.NotStarted;return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(eu.i,{eventLocation:"editor_event",nickname:null==(t=p.eventEditor)?void 0:t.name,userId:null==(n=p.eventEditor)?void 0:n.id,hasStarted:p.status.type!==a.XUj.NotStarted}),(0,s.jsx)(em.Nd,{event:p}),(0,s.jsx)(eH.R,{}),(0,s.jsx)(X.S,{countryOddsProvider:A,event:p,fallback:{PT:N?(0,s.jsx)(W.U,{onClick:()=>{var e;return null==ef||null==(e=ef.current)?void 0:e.scrollIntoView({behavior:"smooth"})},isElevated:!0}):(0,s.jsx)(s.Fragment,{})},children:(0,s.jsx)(G.f9,{eventId:p.id,isLive:b})}),(0,s.jsx)(eI.y,{}),(0,s.jsx)(eL.z,{}),!v&&u&&(0,s.jsx)(er.m,{entityId:p.id,tournamentId:p.tournament.id,roundId:null==(r=p.roundInfo)?void 0:r.round,type:"single",screen:S.te.Desktop,isLive:b,hasMediaTab:u,location:S.D_.EventPage,onHighlightShortcutClick:m,setHasNoFeaturedMedia:y},p.id),(0,s.jsx)(eD.C,{}),(0,s.jsx)(ez.f,{}),(0,s.jsx)(eB.f,{event:p}),w!==a.QCR.Football&&(0,s.jsx)(ed.E,{event:p,hideCta:!0}),w===a.QCR.Cricket&&(0,s.jsx)(E.x,{}),ev.jf.includes(w)?null:(0,ev.Di)(w)?(0,s.jsx)(eh.A,{event:p}):(0,s.jsx)(ex.w,{event:p}),v&&u&&(0,s.jsx)(ei.l,{onHighlightShortcutClick:m,event:p}),w===a.QCR.Football&&(0,s.jsx)(ed.E,{event:p,hideCta:!0}),ev.rt.includes(w)&&(0,s.jsx)(ee.A,{event:p}),k&&(0,s.jsx)(H.A,{event:p}),(0,s.jsx)(eo.A,{placement:f.Mx.DesktopEventPage,event:p}),(0,s.jsx)(L.A,{}),w===a.QCR.Tennis&&(0,s.jsx)(eE.J,{}),(0,s.jsx)(ea.y,{location:j.XN.EventScreen}),w===a.QCR.Tennis&&g&&(0,s.jsx)(eQ.p,{}),(0,s.jsx)(V,{}),eb&&(0,s.jsx)(B.A,{persist:!0,children:(0,s.jsx)(D.default,{})}),eg&&(0,s.jsx)(eO.default,{}),!ey&&eC&&(0,s.jsx)(eF,{eventId:p.id,modal:!0,children:(0,s.jsx)(G.f9,{eventId:p.id,isLive:b})}),N&&(0,s.jsx)($.default,{showHeader:!0,ref:ef}),(0,s.jsx)(eM.s,{eventId:p.id}),(0,s.jsx)(en.Y,{page:{location:j.XN.EventScreen,entity:p}}),w!==a.QCR.MMA&&(0,s.jsx)(el.d,{eventId:p.id,type:a.IAy.Event,startTimestamp:p.startTimestamp}),w===a.QCR.MMA&&(0,s.jsx)(B.A,{persist:!0,children:(0,s.jsx)(K.A,{homeTeam:p.homeTeam,awayTeam:p.awayTeam})}),(0,s.jsx)(et._,{page:{location:j.XN.EventScreen,entity:p}}),(0,s.jsx)(es.U,{page:{location:j.XN.EventScreen,entity:p}}),(0,s.jsx)(eP.W,{event:p,showTournamentInfo:k}),eS&&(0,s.jsx)(ep.x,{eventId:p.id,leftTeam:h,rightTeam:x}),(0,s.jsx)(O.pk,{utIds:[null==(i=p.tournament.uniqueTournament)?void 0:i.id]}),p.tournament.uniqueTournament&&(0,s.jsx)(M.Z,{entity:"unique-tournament",entityId:p.tournament.uniqueTournament.id,location:j.XN.EventScreen,entityBackgroundImageUrl:[a.cWY.image(h.id),a.cWY.image(x.id)],shouldFetch:p.tournament.uniqueTournament.showBanner}),(null==(l=p.eventEditor)?void 0:l.name)&&(0,s.jsx)(z.s,{}),(0,s.jsx)(U.K,{provider:A})]})}var eG=n(88658),eU=n(60475),eY=n(11219),eN=n(4917),eq=n(9081),eV=n(99306),eX=n(88505),e$=n(30774),eZ=n(91113);let eJ=e=>{var t;let{event:n,sport:a,children:r}=e;return u.tt.includes(a)||!n.tournament.uniqueTournament?(0,s.jsx)(eY.O5,{tournament:n.tournament,children:r}):(0,s.jsx)(eY.tQ,{tournament:n.tournament.uniqueTournament,seasonId:null==(t=n.season)?void 0:t.id,children:r})},e0=(0,o.memo)(e=>{let{event:t,leftTeam:n,rightTeam:r}=e,{meta:i,seoContent:l}=(0,o.useContext)(eN.x),c=t.tournament.category.sport.slug,d=c===a.QCR.Football,m=c===a.QCR.Tennis,p=(0,e$.w)(t.tournament);return(0,s.jsxs)(eG.B,{children:[(0,s.jsx)(eG.B.Item,{children:(0,s.jsx)(eY.di,{translatedParams:{sport:c},children:(0,s.jsx)(eV.o,{sportSlug:c})})}),!u.tt.includes(c)&&(0,s.jsx)(eG.B.Item,{children:(0,s.jsx)(eY.Z6,{category:t.tournament.category,children:(0,s.jsx)(eU.md,{...t.tournament.category,uniqueTournament:t.tournament.uniqueTournament})})}),(0,s.jsx)(eG.B.Item,{children:(0,s.jsxs)(eJ,{event:t,sport:c,children:[p,(0,eZ.Mr)(t)&&(0,s.jsxs)("span",{children:[", ",(0,s.jsx)(eq.DT,{round:t.roundInfo})]})]})}),(0,s.jsx)(eG.B.Title,{children:(null==l?void 0:l.heading)||(null==i?void 0:i.title)||(0,s.jsx)(eb.A,{id:d?"headerTitle.event-v3":m?"headerTitle.event.tennis":"headerTitle.event",values:{home:(0,s.jsx)("bdi",{children:(0,s.jsx)(eX.Rm,{team:n})}),away:(0,s.jsx)("bdi",{children:(0,s.jsx)(eX.Rm,{team:r})})}})})]})},(e,t)=>e.event.id===t.event.id&&e.leftTeam===t.leftTeam&&e.rightTeam===t.rightTeam);var e1=n(71024),e2=n.n(e1),e9=n(77708),e5=n(74664),e3=n(26542);let e8=()=>{let e=(0,e5.o)();return(0,s.jsxs)(k.Zp,{children:[(0,s.jsx)(k.Zp.Header,{titleId:e===a.QCR.Cricket?"squad":e3.bU.includes(e)?"boxScore":"players",values:{gender:a.YT8.Male},as:"h2"}),(0,s.jsx)("div",{style:{width:687}})]})},e4=e2()(()=>Promise.resolve().then(n.bind(n,54850)),{loadableGenerated:{webpack:()=>[54850]},loading:()=>(0,s.jsx)(e8,{})}),e7=e2()(()=>n.e(30302).then(n.bind(n,30302)),{loadableGenerated:{webpack:()=>[30302]},loading:()=>(0,s.jsx)(e8,{})});function e6(){let{event:e}=(0,o.useContext)(d.y$),t=e.tournament.category.sport,{lineups:n,isLoading:r}=(0,e9.Ir)({jerseyStyle:"fancy"});return!n||r?null:(0,s.jsx)(ef.tU.Panel,{tabKey:R.x.BoxScore,children:t.slug===a.QCR.Rugby?(0,s.jsx)(w.az,{roundedBottom:"lg",overflow:"hidden",mb:"md",children:(0,s.jsx)(e7,{})}):(0,s.jsx)(e4,{lineups:n})})}let te=e2()(()=>n.e(88947).then(n.bind(n,88947)),{loadableGenerated:{webpack:()=>[88947]},ssr:!1,loading:()=>(0,s.jsx)(w.az,{h:"[935px]"})});function tt(){return(0,s.jsx)(ef.tU.Panel,{tabKey:R.x.Games,children:(0,s.jsx)(te,{})})}let tn=e2()(()=>Promise.all([n.e(3074),n.e(43738),n.e(77552)]).then(n.bind(n,52192)),{loadableGenerated:{webpack:()=>[52192]},ssr:!1,loading:()=>(0,s.jsx)(w.az,{h:"[1280px]"})});function ts(){let e=(0,e5.o)();return(0,s.jsx)(ef.tU.Panel,{tabKey:e===a.QCR.MMA?R.x.Fights:R.x.Matches,children:(0,s.jsx)(tn,{})})}var ta=n(52887);let tr=e2()(()=>Promise.all([n.e(14591),n.e(91381),n.e(79210)]).then(n.bind(n,99866)),{loadableGenerated:{webpack:()=>[99866]},loading:()=>(0,s.jsx)(ta.A,{})});function ti(){let{event:e}=(0,o.useContext)(d.y$),t=e.tournament.uniqueTournament,{sport:n}=e.tournament.category;return t&&e.season&&e.tournament.competitionType===a.wGu.Cup?(0,s.jsx)(ef.tU.Panel,{tabKey:R.x.Knockout,children:(0,s.jsx)(tr,{uniqueTournamentId:t.id,uniqueTournamentSlug:t.slug,categorySlug:t.category.slug,seasonId:e.season.id,sport:n.slug})}):null}let tl=e2()(()=>Promise.resolve().then(n.bind(n,28105)),{loadableGenerated:{webpack:()=>[28105]},ssr:!1,loading:()=>(0,s.jsx)(e9.Vj,{})});function to(){let{event:e}=(0,o.useContext)(d.y$),t=e.tournament.category.sport.slug,n=e3.Bx.includes(t)&&!!e.hasEventPlayerStatistics;return(0,s.jsx)(ef.tU.Panel,{tabKey:R.x.Lineups,children:(0,s.jsx)(tl,{showPlayerStatistics:n})})}var tc=n(53255),td=n(69909),tu=n(32019);let tm=(0,o.createContext)(20),tp=e2()(()=>Promise.all([n.e(56591),n.e(14632),n.e(35597),n.e(32935),n.e(71339)]).then(n.bind(n,66044)),{loadableGenerated:{webpack:()=>[66044]},ssr:!1,loading:()=>(0,s.jsx)(tm.Consumer,{children:e=>(0,s.jsx)(td.d,{numberOfRows:e})})});function th(e){let{numberOfStandingsRows:t}=e,{event:n,leftTeam:a,rightTeam:r}=(0,o.useContext)(d.y$),i=(0,tu.Z)(n,"standings");return(0,s.jsx)(ef.tU.Panel,{tabKey:R.x.Standings,children:(0,s.jsxs)(w.az,{roundedBottom:"lg",overflow:"hidden",children:[i&&(0,s.jsx)(tc.O,{entityId:n.id,branding:i,bannerText:i.standingsText,location:"event_standings"}),!!n.season&&(0,s.jsx)(tm,{value:null!=t?t:20,children:(0,s.jsx)(tp,{tournament:n.tournament,seasonId:n.season.id,homeTeamId:a.id,awayTeamId:r.id,loaderNumberOfRows:t})})]})})}let tx=()=>(0,s.jsx)(w.az,{h:"[1000px]"}),tv=e2()(()=>Promise.all([n.e(14264),n.e(5141),n.e(96074)]).then(n.bind(n,49842)),{loadableGenerated:{webpack:()=>[49842]},ssr:!1,loading:()=>(0,s.jsx)(w.az,{h:"[864px]"})}),tf=e2()(()=>Promise.resolve().then(n.bind(n,14769)),{loadableGenerated:{webpack:()=>[14769]},ssr:!1,loading:()=>(0,s.jsx)(tx,{})}),ty=e2()(()=>n.e(32741).then(n.bind(n,32741)),{loadableGenerated:{webpack:()=>[32741]},ssr:!1,loading:()=>(0,s.jsx)(tx,{})}),tg=e2()(()=>Promise.all([n.e(46432),n.e(87770)]).then(n.bind(n,87770)),{loadableGenerated:{webpack:()=>[87770]},ssr:!1,loading:()=>(0,s.jsx)(tx,{})}),tb=()=>{let e=(0,e5.o)(),{event:t}=(0,o.useContext)(d.y$);switch(e){case a.QCR.MMA:return(0,s.jsx)(tf,{});case a.QCR.Cricket:return(0,s.jsx)(ty,{});default:if(t.status.type===a.XUj.NotStarted)return(0,s.jsx)(tv,{});return(0,s.jsx)(tg,{})}};function tj(){return(0,s.jsx)(ef.tU.Panel,{tabKey:R.x.Statistics,children:(0,s.jsx)(tb,{})})}var tw=n(26208),tk=n(42051);let tC=e2()(()=>Promise.all([n.e(85581),n.e(9045)]).then(n.bind(n,31426)),{loadableGenerated:{webpack:()=>[31426]},ssr:!1,loading:()=>(0,s.jsx)(w.az,{h:"[1000px]"})});function tS(){return(0,s.jsx)(ef.tU.Panel,{tabKey:R.x.Scorecard,children:(0,s.jsx)(tC,{})})}var tT=n(11996);let tA=[a.QCR.Football,a.QCR.Basketball];function tR(e,t,n,s,r){let i=!!n&&!!s&&!!r;return e===a.QCR.Basketball?i?a.cWY.seasonRanks(t,n,s,r):void 0:i?a.cWY.seasonStatistics(t,n,s,r):s?a.cWY.yearStatistics(t,String(s)):void 0}var t_=n(93819),tF=n(61209),tP=n(48342);function tI(){let{hasTabs:e}=(0,t_.gY)();return e?(0,s.jsx)(w.az,{children:(0,s.jsx)(tP.A,{})}):null}function tB(e){let{event:t}=e;return(0,s.jsx)(t_.Ad,{event:t,children:(0,s.jsxs)(ef.tU.Panel,{tabKey:R.x.AiInsights,children:[(0,s.jsx)(tF.K,{}),(0,s.jsx)(tI,{}),(0,s.jsx)(tF.M,{event:t})]})})}function tM(e){var t;let{activeTab:n,setActiveTab:i,initialStandingsProperties:l}=e,c=(0,o.useContext)(d.y$),{event:m,leftTeam:p,rightTeam:h}=c,x=m.tournament.category.sport,v=m.tournament.category.sport.slug,y=v===a.QCR.MMA,g=v===a.QCR.Tennis,{hasGamesTab:b,hasBoxScoreTab:j,hasLineupsTab:F,hasStatisticsTab:P,hasScorecardTab:I,hasCommentaryTab:B,hasCricketIncidents:M,hasKnockoutTab:z,hasStandingsTab:L,hasBasketballPregameTopPlayers:H,hasAiInsights:E,hasMediaTab:O}=(0,tk.A)(m),Q=(()=>{var e,t;let n=(0,e5.o)(),{event:s,leftTeam:r,rightTeam:i}=(0,o.useContext)(d.y$),l=null==(e=s.tournament.uniqueTournament)?void 0:e.id,c=null==(t=s.season)?void 0:t.id,u=s.seasonStatisticsType,m=s.status.type===a.XUj.NotStarted&&tA.includes(n),p=!!l&&!!c&&!!u,h=tR(n,r.id,l,c,u),x=tR(n,i.id,l,c,u),{hasLeftStatistics:v,hasRightStatistics:f,hasLeftTopPlayers:y,hasRightTopPlayers:g}=(0,tT.A)({hasLeftStatistics:{route:h,skipCheck:!m},hasRightStatistics:{route:x,skipCheck:!m},hasLeftTopPlayers:{route:p?a.cWY.topPlayers(r.id,l,c,u):void 0,skipCheck:!m},hasRightTopPlayers:{route:p?a.cWY.topPlayers(i.id,l,c,u):void 0,skipCheck:!m}},[s.id,p]);return!!v&&!!f&&!!y&&!!g})(),D=P||M||Q,K=[{tabKey:R.x.Games,item:"games",values:{sport:a.QCR.ESports},isHidden:!b},{tabKey:R.x.Scorecard,item:"cricket.scorecard",isHidden:!I},{tabKey:R.x.BoxScore,item:"boxScore",isHidden:!j},{tabKey:R.x.Lineups,item:v===a.QCR.Cricket?"squads":"lineups",isHidden:!F||H},{tabKey:R.x.AiInsights,item:"tab_ai_insights",isHidden:!E},{tabKey:R.x.Statistics,item:"statistics",isHidden:!D},{tabKey:R.x.Standings,item:"app.standings",isHidden:!L},{tabKey:y?R.x.Fights:R.x.Matches,item:y?"fights_mma":"head_to_head_short",values:y?void 0:{sport:(0,_.ap)(v)}},{tabKey:R.x.Knockout,item:g?"tennis_draw":"knockout",isHidden:!z},{tabKey:R.x.Media,item:"media",isHidden:!O}],W=K.some(e=>!e.isHidden&&e.tabKey===n)?n:null==(t=K.find(e=>!e.isHidden))?void 0:t.tabKey,G=(0,r.ZV)(),U=G>m.startTimestamp-6*r.pY*r.Z2*1e3&&Gi.startTimestamp-6*r.pY*r.Z2*1e3&&Nn(R.x.FeaturedOdds),onBestPlayersClick:()=>n(P?R.x.BoxScore:R.x.Lineups),onPrematchStandingsClick:()=>n(R.x.Standings),onSeeAllStatisticsClick:()=>n(R.x.Statistics),onHighlightShortcutClick:()=>n(R.x.Media)}),U&&(0,s.jsx)(t$.A,{event:i}),E&&(0,s.jsx)(tL.A,{}),F&&(0,s.jsx)(tD.A,{}),j&&(0,s.jsx)(tU.A,{}),b&&(0,s.jsx)(tN.A,{event:i}),P&&(0,s.jsx)(tH.A,{}),I&&(0,s.jsx)(tW.A,{}),B&&(0,s.jsx)(tV.A,{event:i}),M&&(0,s.jsx)(tY.A,{}),z&&(0,s.jsx)(tq.A,{event:i,leftTeamId:l.id,rightTeamId:c.id}),k&&(0,s.jsx)(tK.A,{tabKey:R.x.Graphs}),C&&u!==a.QCR.IceHockey&&(0,s.jsx)(tE.A,{}),(0,s.jsx)(tG.A,{}),G&&i.tournament.uniqueTournament&&i.season&&(0,s.jsx)(tz.A,{uniqueTournament:i.tournament.uniqueTournament,seasonId:i.season.id,sport:u}),Q&&(0,s.jsx)(tQ.A,{hasRecommendedPrematchOdds:W}),D&&(0,s.jsx)(T.$U,{entityId:i.id,entityType:"event",location:S.D_.MainScreen,isInProgress:m,fetchSocialPosts:q})]}),(0,s.jsx)(w.az,{mb:"sm",children:(0,s.jsx)(tX.i,{id:f.Rj.MOBILE_EVENT_BOTTOM})})]})}var tJ=n(67459);function t0(e){let{activeTab:t,setActiveTab:n,initialStandingsProperties:a}=e,{event:r}=(0,o.useContext)(d.y$),i=r.tournament.category.sport;return(0,s.jsx)(d.Ws,{value:i.slug,children:(0,s.jsxs)(tJ.Hy,{eventId:r.id,children:[(0,s.jsxs)(y.YW,{children:[(0,s.jsx)(g.$B,{children:(0,s.jsx)(tZ,{activeTab:t,setActiveTab:n})}),(0,s.jsx)(g.h6,{children:(0,s.jsx)(f.JR,{route:u.xW.Event,children:(0,s.jsx)(tM,{activeTab:t,setActiveTab:n,initialStandingsProperties:a})})})]}),(0,s.jsx)(b.N,{page:{location:j.XN.EventScreen,entity:r}})]})})}var t1=n(79082);let t2={event_details:R.x.Details,event_lineups:R.x.Lineups,event_statistics:R.x.Statistics};var t9=n(31830),t5=n(88715),t3=n(308),t8=n(97825),t4=n(7763),t7=n(18153),t6=n(45906);let ne=[a.QCR.AmericanFootball,a.QCR.Cricket,a.QCR.Football,a.QCR.Baseball,a.QCR.Basketball,a.QCR.TableTennis,a.QCR.IceHockey,a.QCR.Handball,a.QCR.Volleyball,a.QCR.MMA];function nt(e){var t,n,i,f,y;if("error"in e)return(0,s.jsx)(t6.default,{statusCode:404});let g=(0,c.A)(),{eventId:b,setEventId:w,shareInfo:k,setShareInfo:C,activeTab:S,setActiveTab:T}=(e=>{let t={sport:(0,eK.c5)(e),name:e.slug,id:e.customId},[n,s]=(0,t1.Ay)({routeKey:u.xW.Event,params:t}),[a,r]=(0,o.useState)((null==n?void 0:n.tab)||R.x.Details);(0,o.useEffect)(()=>{(null==n?void 0:n.tab)&&r(null==n?void 0:n.tab)},[null==n?void 0:n.tab]);let i=(null==n?void 0:n.id)&&!Number.isNaN(null==n?void 0:n.id)?n.id:e.id,[l,c]=(0,o.useState)();return(0,o.useEffect)(()=>{let e=window.location.hash.replace("#",""),t={};e.startsWith("share:")&&(e.replace("share:","").split(",").forEach(e=>{let n=e.split(":");2===n.length&&((e,t,n)=>{switch(t){case"s":e.source=(e=>{switch(e){case"a":return"android";case"i":return"ios";case"w":return"web";default:return}})(n);return;case"id":e.id=Number(n);return;case"c":e.category=(e=>{switch(e){case"ed":return"event_details";case"el":return"event_lineups";case"es":return"event_statistics";default:return}})(n);return;default:return}})(t,n[0],n[1])}),c(t));t.id&&s("id",t.id.toString())},[]),{eventId:i,setEventId:e=>s("id",e.toString()),shareInfo:l,setShareInfo:c,activeTab:a,setActiveTab:e=>s("tab",e)}})(e.event),{event:A}=(0,x.A)(b,{shouldRefresh:!0,onFetchError:()=>w(e.event.id)}),_=(null==A?void 0:A.customId)===e.event.customId?A:e.event,[F,P]=(0,v.A)(_,"homeTeam","awayTeam",_),[I,B]=(0,v.A)(_,"homeScore","awayScore",_);(0,o.useEffect)(()=>{if(A&&((0,j.l3)(A.id,A.status.type),k&&k.id&&k.category&&k.source)){t2[k.category]&&T(t2[k.category]),C(void 0);try{sessionStorage.setItem(h.IE,"share")}catch(e){}}},[null==A?void 0:A.id]);let{customId:M,slug:z,homeTeam:L,awayTeam:H,tournament:E,startTimestamp:O}=_,Q=(0,t9.A)(),D=L.name,K=H.name,W=_.venue,G=g.formatDate((0,r.pp)(O,!0),{...r.or.dateWithShortMonth}),U=g.formatTime((0,r.pp)(O,!0)),Y=_.tournament.category.sport.slug,N=Y===a.QCR.Football,q=Y===a.QCR.ESports,V=null==(t=E.category.alpha2)?void 0:t.toLowerCase(),X=null==(i=L.country)||null==(n=i.alpha2)?void 0:n.toLowerCase(),$=null==(y=H.country)||null==(f=y.alpha2)?void 0:f.toLowerCase(),Z=_.isEditor?!(0,m.N)(null!=V?V:X&&$&&X===$?X:"",Q):(0,p.v)(Y,Q),J=t5.z.getTranslatedCanonicalRoute(Q,"event",{id:M,name:z,sport:Y}).route,ee={item:"".concat(_.homeTeam.name," ").concat(_.awayTeam.name),homeTeamName:D,awayTeamName:K,home:D,away:K,startDate:G,startTime:U,tournamentName:E.name,categoryName:E.category.name,hasVenue:!!W,year:new Date(1e3*_.startTimestamp).getFullYear(),...(0,eK.Ee)(W)},et="event",en="livescore";return["fr","it"].includes(Q)&&N&&(et="event-v2"),N&&(en="livescore-v3"),q&&(et="event-esports",en="livescore-esports"),(0,s.jsxs)(eN.x,{value:{meta:e.meta,eventMeta:e.eventMeta,seoContent:e.seoContent},children:[(0,s.jsxs)(l(),{children:[(0,s.jsx)("link",{rel:"canonical",href:"https://www.sofascore.com".concat(J)}),(0,s.jsx)("link",{rel:"alternate",href:"android-app://com.sofascore.results/https/www.sofascore.com/event/".concat(_.id)}),(0,s.jsx)("meta",{property:"og:image",content:a.bnp.shareDetailsImage("16x9",_.id)}),(0,s.jsx)("meta",{property:"og:image:width",content:"2130"}),(0,s.jsx)("meta",{property:"og:image:height",content:"1200"}),Z&&(0,s.jsx)("meta",{name:"robots",content:"noindex, nofollow"})]}),(0,s.jsx)(t3.A,{event:_}),(0,s.jsx)(eN.A,{metaKey:et,titleKey:en,keywordsKey:"sport",values:ee}),(0,s.jsx)(d.y$,{value:{event:_,leftTeam:F,rightTeam:P,leftScore:I,rightScore:B,location:d.cb.EventPage,initialIncidents:e.incidents,initialHasLineups:e.initialHasLineups},children:(0,s.jsx)(t0,{activeTab:S,setActiveTab:T,initialStandingsProperties:e.initialStandingsProperties})})]})}nt.getInitialProps=t4.Ay.getInitialPageProps(e=>async t=>{let{query:s,req:r,res:i,...l}=t,o=r?r._originalUrl:l.asPath,c=t5.z.getCurrentLocale(o),d=r&&r.params?r.params:s,m=d.id;try{var p,h,x;let t,s=Number(null==(p=(0,t1.JT)(o))?void 0:p.id);(!s||Number.isNaN(s))&&(s=Number((await a.nk6.fetchCurrentlyRelevantEvent(m)).currentlyRelevantEvent.id));let[r,l,v,f,y,g]=await Promise.allSettled([a.nk6.fetchEvent(s),a.sdF.getEntityMeta(a.wNW.Event,m,c),a.nk6.fetchH2HMeta(s),ne.includes(d.sport)?a.sdF.getSeoContent(a.wNW.Event,s,c):Promise.reject(),a.nk6.hasLineups(s),a.nk6.fetchEventIncidents(s)]),b="fulfilled"===r.status?r.value.event:void 0;if(!b)throw Error();let j="fulfilled"===l.status?l.value.entityMeta:void 0,w="fulfilled"===v.status?v.value.meta:void 0,k="fulfilled"===f.status?f.value.content:void 0,C="fulfilled"===y.status?y.value:void 0,S="fulfilled"===g.status&&(null==(h=g.value.incidents)?void 0:h.length)?g.value.incidents:void 0,T=b.tournament.category.sport.slug;if(i&&(b.slug!==d.name||T!==d.sport)&&(i.writeHead(301,{Location:t5.z.getTranslatedRoute(c,"event",{id:b.customId,name:b.slug,sport:T}).route}),i.end()),i&&!u.Hk.includes(T))throw Error("Unsupported sport");if(u.so.includes(T))throw Error("Stage sports do not have event page!");try{t=await a.nk6.fetchStandingsProperties(b.tournament.id,null==(x=b.season)?void 0:x.id)}catch(e){}let A=(0,a.S$s)(),R=(await n.e(81088).then(n.t.bind(n,81088,19))).default;return e.dispatch((0,t8.Od)(R)),e.dispatch((0,t7.Vy)(T)),{event:b,meta:j,eventMeta:w,seoContent:k,initialHasLineups:C,revalidate:A,incidents:S,initialStandingsProperties:t}}catch(e){return i&&(i.statusCode=404),{error:e}}})},39975:(e,t,n)=>{"use strict";n.d(t,{A:()=>o,q:()=>l});var s=n(6029),a=n(94565),r=n(55729),i=n(43072);let l=e=>{let{initialVisible:t=!1,defaultHeight:n=0,visibleOffset:l=1e3,persist:o=!1,loader:c,children:d,...u}=e,m={initialInView:t,rootMargin:"".concat(l,"px 0px ").concat(l,"px 0px")},[p,h,x]=(0,i.Wx)(m),v=(0,r.useRef)(t),f=(0,r.useRef)(n);(0,r.useEffect)(()=>{h&&!0!==v.current&&(v.current=!0),h&&f.current!==n&&(f.current=(null==x?void 0:x.boundingClientRect.height)||n)},[h,x]);let y=c||(f.current?(0,s.jsx)(a.az,{h:f.current}):null),g=h||o&&v.current;return(0,s.jsx)(a.az,{ref:p,...u,children:g?d:y})},o=l},40598:(e,t,n)=>{"use strict";n.d(t,{F:()=>c});var s=n(6029),a=n(51569),r=n(20325),i=n(55729),l=n(69352),o=n(46222);let c=Object.assign(e=>{let{activeIndex:t,setActiveIndex:n,children:c,showControls:d=!0,autoScrollDelay:u,transitionDuration:m="normal",asCard:p=!1}=e,{textDirection:h}=(0,a.$c)(),x=i.Children.toArray(c),v=x.length,f=(0,i.useRef)(null),y=()=>{n(t{b(),u&&v>1&&(f.current=setTimeout(()=>{y()},u))};(0,i.useEffect)(()=>(g(),()=>{f.current&&clearTimeout(f.current)}),[t,u,v]),(0,i.useEffect)(()=>{void 0===u?b():g()},[u]);let b=()=>{f.current&&clearTimeout(f.current)};return 0===v?null:(0,s.jsxs)(r.az,{onMouseEnter:u?b:void 0,onMouseLeave:u?g:void 0,children:[(0,s.jsx)(o.Zp,{variant:p?void 0:"never",children:(0,s.jsx)(r.az,{position:"relative",overflow:"hidden",w:"100%",boxSizing:"content-box",children:(0,s.jsx)(r.so,{w:"100%",gap:"lg",transitionProperty:"transform",transitionDuration:m,transitionTimingFunction:"ease-in-out",style:{transform:"rtl"===h?"translateX(calc(".concat(100*t,"% + ").concat(16*t,"px))"):"translateX(calc(-".concat(100*t,"% - ").concat(16*t,"px))")},children:x})})}),d&&(0,s.jsx)(l.M,{activeIndex:t,setActiveIndex:n,goToNext:y,goToPrevious:()=>{n(t>0?t-1:v-1),b()},slideCount:v,onPageClick:b})]})},{Slide:e=>{let{children:t}=e;return(0,s.jsx)(r.az,{w:"100%",minW:"100%",flexShrink:"0",children:t})}})},44224:(e,t,n)=>{"use strict";n.d(t,{j:()=>l});var s=n(22375),a=n(45860),r=n(11276);let i=e=>fetch(e,{method:"HEAD",cache:"no-store"});function l(){let{data:e,error:t,isLoading:n}=(0,a.Ay)(r.sp,{fetcher:i,dedupingInterval:s.d_});return{isLoading:n,hasAdBlock:!!(null==e?void 0:e.redirected)||void 0!==t}}},47819:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var s=n(45860);let a=(0,n(17259).Ht)(s.Ay,e=>(t,n,s)=>(s.revalidateOnFocus=!1,s.revalidateIfStale=!1,s.revalidateOnReconnect=!1,e(t,n,s)))},50526:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var s=n(6029),a=n(494),r=n(72753),i=n(51569),l=n(20325),o=n(52466);function c(){return(0,s.jsx)("a",{href:"https://certifications.gamingcommission.gov.gr/publicRecordsOnline/SitePages/KatoxoiAdeiasOnline.aspx",target:"_blank",rel:"nofollow noopener noreferrer",children:(0,s.jsxs)(l.so,{minH:"4xl",align:"center",gap:"md",px:"lg",children:[(0,s.jsx)(l.az,{h:"xl",w:"xl",children:(0,s.jsx)(o.OE_,{w:"24px",h:"24px",color:"neutrals.nLv3",fillOpacity:1})}),(0,s.jsx)(i.EY,{textStyle:"assistive.micro",color:"neutrals.nLv3",children:"21+ | ΚΙΝΔΥΝΟΣ ΕΘΙΣΜΟΥ & ΑΠΩΛΕΙΑΣ ΠΕΡΙΟΥΣΙΑΣ | ΠΑΙΞΕ ΥΠΕΥΘΥΝΑ & ΜΕ ΑΣΦΑΛΕΙΑ |"})]})})}function d(){return"GR"===(0,a.d4)(r.LQ)?(0,s.jsx)(c,{}):null}},52887:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var s=n(6029),a=n(20325),r=n(46222);function i(){return(0,s.jsx)(r.Zp,{children:(0,s.jsx)(a.az,{h:"[762px]"})})}},54521:(e,t,n)=>{"use strict";n.d(t,{C:()=>i});var s=n(55729),a=n(494),r=n(72753);function i(e){let t=(0,s.useMemo)(()=>(0,r.vt)(),[]);return(0,a.d4)(t,e)}},56321:(e,t,n)=>{"use strict";n.d(t,{b:()=>u,h:()=>l});var s=n(6029),a=n(46787),r=n(93338),i=n(96678);let l=e=>{let{x:t,y:n,type:i,color:l,isSelected:o,backgroundOpacity:c,opacity:d}=e,u=l&&r.S.var(l);return(0,s.jsxs)("g",{opacity:d,children:[(0,s.jsx)("circle",{cx:t,cy:n,r:o?8:6,stroke:u,strokeWidth:1,fill:o?"#fff":r.S.var("colors.homeAway.shotFill"),fillOpacity:c}),i===a.Dme.Made&&(0,s.jsx)("circle",{cx:t,cy:n,r:o?6:4,fill:u}),i===a.Dme.Saved&&(0,s.jsx)("circle",{cx:t,cy:n,r:o?3:2,fill:u}),i===a.Dme.Blocked&&(0,s.jsx)("rect",{x:t-4,y:n-1,width:8,height:2,fill:u})]})},o=e=>{let{x:t,y:n,color:a,opacity:i,isSelected:l}=e,o=a&&r.S.var(a);return l?(0,s.jsxs)("g",{transform:"translate(".concat(t-10," ").concat(n-10,")"),fill:"none",fillRule:"evenodd",children:[(0,s.jsx)("circle",{fill:"#fff",transform:"rotate(90 9.9 9.9)",cx:"9.899",cy:"9.899",r:"8"}),(0,s.jsx)("circle",{fill:o,cx:"9.899",cy:"9.899",r:"1.5"}),(0,s.jsx)("path",{stroke:o,strokeWidth:"1.5",d:"M11.667 8.132 14.85 4.95M4.95 14.85l3.182-3.183M4.95 4.95l3.182 3.182M11.667 11.667l3.182 3.182"}),(0,s.jsx)("path",{stroke:o,strokeWidth:"1.5",d:"M9.9 6.9v-4M9.9 16.9v-4M2.9 9.9h4M12.9 9.9h4"})]}):(0,s.jsxs)("g",{fill:"none",fillRule:"evenodd",transform:"translate(".concat(t-8.5," ").concat(n-8.5,")"),opacity:i,children:[(0,s.jsx)("circle",{stroke:o,fillOpacity:i,fill:o,cx:"8.485",cy:"8.485",r:"1"}),(0,s.jsx)("path",{stroke:o,d:"m9.9 7.071 2.828-2.828M4.243 12.728 7.07 9.9M4.243 4.243 7.07 7.07M9.9 9.9l2.828 2.828"}),(0,s.jsx)("path",{stroke:o,d:"M8.485 5.985v-3M8.485 13.985v-3M2.985 8.485h3M10.985 8.485h3"})]})},c=e=>{let{x:t,y:n,color:a,opacity:i,isSelected:l}=e,o=l?10:9,c=a&&r.S.var(a);return(0,s.jsx)("path",{transform:"translate(".concat(t-o," ").concat(n-o,")"),d:l?"m16.02 6.121-3.888 3.888 3.889 3.89-2.122 2.122-3.889-3.89-3.889 3.89L4 13.899l3.89-3.89L4 6.121 6.121 4l3.89 3.888L13.898 4l2.122 2.121z":"M14.006 5.768 10.77 9l3.235 3.237-1.768 1.768-3.235-3.237-3.235 3.237L4 12.238 7.235 9 4 5.768 5.768 4l3.235 3.234L12.238 4l1.768 1.768z",fill:c,fillOpacity:i,fillRule:"evenodd"})},d=e=>{let{x:t,y:n,color:a,isSelected:i}=e,l=a&&r.S.var(a);return i?(0,s.jsxs)("g",{children:[(0,s.jsx)("circle",{fillOpacity:".15",fill:l,r:"8",cx:t,cy:n}),(0,s.jsx)("circle",{fill:l,r:"3",cx:t,cy:n}),(0,s.jsx)("circle",{fill:"#fff",r:"2",cx:t,cy:n})]}):null};function u(e){let t=(0,i.P7)(),n=e.isSelected?t:"colors.neutrals.nLv3",r=e.isSelected?1:.5;switch(e.type){case a.Dme.Made:case a.Dme.Saved:case a.Dme.Blocked:case a.Dme.Missed:return(0,s.jsx)(l,{...e,color:n,opacity:r,isSelected:e.isSelected});case a.Dme.Hit:return(0,s.jsx)(o,{...e,color:n,opacity:r,isSelected:e.isSelected});case a.Dme.Suspension:return(0,s.jsx)(c,{...e,color:n,opacity:r,isSelected:e.isSelected});case a.Dme.FaceOff:return(0,s.jsx)(d,{...e,color:n,opacity:r,isSelected:e.isSelected});default:return null}}},58706:(e,t,n)=>{"use strict";n.d(t,{$7:()=>c,$u:()=>o,Ay:()=>u,Co:()=>i,o_:()=>l,uv:()=>d});var s=n(6029),a=n(41735),r=n(52466);let i=8,l=328,o=e=>(0,s.jsx)("svg",{width:"100%",viewBox:"-".concat(i," -").concat(i," ").concat(l+2*i," ").concat(139+2*i),children:e.children}),c=e=>{let{fill:t}=e,n=(0,a.useTheme)();return(0,s.jsx)("path",{d:"M302.77 0C316.703 0 328 11.392 328 25.305v88.171C328 127.39 316.704 139 302.77 139H25.23C11.297 139 0 127.39 0 113.476v-88.17C0 11.391 11.296 0 25.23 0h277.54z",fill:t||n.colors.surface.s2,fillRule:"evenodd"})},d=e=>{let{fill:t}=e,n=(0,a.useTheme)();return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(r.LxE,{x:l/2-12,y:57.5,color:"neutrals.nLv1",fillOpacity:"0.06"}),(0,s.jsxs)("g",{fill:t||n.colors.onSurface.nLv1,fillRule:"nonzero",children:[(0,s.jsx)("path",{d:"M302.77 0C316.703 0 328 11.392 328 25.305v88.171C328 127.39 316.704 139 302.77 139H25.23C11.297 139 0 127.39 0 113.476v-88.17C0 11.391 11.296 0 25.23 0h277.54zm0 1H25.23C11.878 1 1.052 11.972 1.052 25.305v88.171C1.051 126.81 11.877 138 25.231 138h277.538c13.354 0 24.18-11.19 24.18-24.524v-88.17C326.949 11.971 316.123 1 302.769 1z"}),(0,s.jsx)("path",{d:"M16 2h1.05v135H16zM118.5 0h1.05v138.77h-1.05zM1 91.959 16 87v1.06L1.023 93zM15.992 50.95 1 46v1.057L16 52z"}),(0,s.jsx)("path",{d:"M26.992 69.5c0-3.043-1.406-5.843-3.908-7.887l-.139-.113h-5.953v1l5.7.02c1.993 1.788 3.216 4.132 3.3 6.678v.302c0 2.63-1.228 5.135-3.3 7.011l-5.7-.011v1h5.956l.139-.116c2.471-2.054 3.905-4.894 3.905-7.884zM12 63h4v.929h-3V75.07h3V76h-4zM28 33.5c0-13.255 10.745-24 24-24s24 10.745 24 24-10.745 24-24 24-24-10.745-24-24zm1 0c0 12.703 10.297 23 23 23s23-10.297 23-23-10.297-23-23-23-23 10.297-23 23z"}),(0,s.jsx)("path",{d:"M50 33.5c0-1.104.894-2 1.997-2 1.103 0 1.997.896 1.997 2 0 1.105-.894 2-1.997 2a1.998 1.998 0 0 1-1.997-2zm1.012 0c0 .546.442.988.985.988a.986.986 0 0 0 .984-.988.986.986 0 0 0-.984-.988.986.986 0 0 0-.985.988zM48.5 56.77v5.256h1.05v-5.257zM54.5 56.775v5.257h1.05v-5.257zM48.5 5v5.256h1.05V5zM54.5 5v5.256h1.05V5zM28 105.5c0-13.255 10.745-24 24-24s24 10.745 24 24-10.745 24-24 24-24-10.745-24-24zm1 0c0 12.703 10.297 23 23 23s23-10.297 23-23-10.297-23-23-23-23 10.297-23 23z"}),(0,s.jsx)("path",{d:"M50 105.5c0-1.104.894-2 1.997-2 1.103 0 1.997.896 1.997 2 0 1.105-.894 2-1.997 2a1.998 1.998 0 0 1-1.997-2zm1.012 0c0 .546.442.988.985.988a.986.986 0 0 0 .984-.988.986.986 0 0 0-.984-.988.986.986 0 0 0-.985.988zM54.5 128.8v5.256h1.05V128.8zM48.5 128.8v5.256h1.05V128.8zM54.5 77v5.256h1.05V77zM48.5 77v5.256h1.05V77zM126 105.5c0-1.105.894-2 1.997-2 1.103 0 1.997.895 1.997 2s-.894 2-1.997 2a1.998 1.998 0 0 1-1.997-2zm1 0c0 .553.447 1 .997 1s.996-.447.996-1c0-.553-.446-1-.996-1a.998.998 0 0 0-.996 1zM126.05 33.5c0-1.104.894-2 1.997-2 1.102 0 1.996.896 1.996 2 0 1.105-.894 2-1.996 2a1.998 1.998 0 0 1-1.997-2zm1 0c0 .553.447 1 .997 1s.996-.447.996-1c0-.553-.447-1-.996-1a.998.998 0 0 0-.997 1zM312.05 2H311v135h1.05zM209.55 0h-1.05v139h1.05z"}),(0,s.jsx)("path",{d:"M327 91.959 312 87v1.06L326.977 93zM312.008 50.95 327 46v1.057L312 52zM301 69.5c0-3.043 1.406-5.843 3.908-7.887l.139-.113H311v1l-5.7.02c-1.993 1.788-3.216 4.132-3.3 6.678v.302c0 2.63 1.228 5.135 3.3 7.011l5.7-.011v1h-5.955l-.14-.116C302.434 75.33 301 72.49 301 69.5zM316 63h-4v.929h3V75.07h-3V76h4zM301 105.5c0-13.255-10.745-24-24-24s-24 10.745-24 24 10.745 24 24 24 24-10.745 24-24zm-.991 0c0 12.703-10.298 23-23 23-12.703 0-23-10.297-23-23s10.297-23 23-23c12.702 0 23 10.297 23 23z"}),(0,s.jsx)("path",{d:"M278.994 105.5c0-1.105-.894-2-1.997-2a1.998 1.998 0 0 0-1.997 2c0 1.105.894 2 1.997 2a1.998 1.998 0 0 0 1.997-2zm-1.013 0a.986.986 0 0 1-.984.988.986.986 0 0 1-.985-.988c0-.546.442-.988.985-.988.543 0 .984.442.984.988zM280.55 128.8v5.256h-1.05V128.8zM274.55 128.8v5.256h-1.05V128.8zM280.55 77v5.256h-1.05V77zM274.55 77v5.256h-1.05V77zM301 33.499c0-13.255-10.745-24-24-24s-24 10.745-24 24 10.745 24 24 24 24-10.745 24-24zm-1 0c0 12.703-10.297 23-23 23s-23-10.297-23-23 10.297-23 23-23 23 10.297 23 23z"}),(0,s.jsx)("path",{d:"M278.994 33.5c0-1.105-.894-2-1.997-2a1.998 1.998 0 0 0-1.997 2c0 1.105.894 2 1.997 2a1.998 1.998 0 0 0 1.997-2zm-1.013 0a.986.986 0 0 1-.984.988.986.986 0 0 1-.985-.988c0-.546.442-.988.985-.988.543 0 .984.442.984.988zM280.55 56.77v5.256h-1.05V56.77zM274.55 56.77v5.256h-1.05V56.77zM280.55 5.262v5.257h-1.05V5.262zM274.55 5.262v5.257h-1.05V5.262zM201.992 105.5a2 2 0 1 0-4 0 2 2 0 0 0 4 0zm-1.002 0a.999.999 0 1 1-1.998.002.999.999 0 0 1 1.998-.002zM201.992 33.508a2 2 0 1 0-4 0 2 2 0 0 0 4 0zm-1.002 0a.999.999 0 1 1-1.998.002.999.999 0 0 1 1.998-.002zM148 138c0-8.837 7.163-16 16-16s16 7.163 16 16h-1c0-8.332-6.668-15-15-15s-15 6.668-15 15h-1zM140.042 69.5c0-13.232 10.726-23.958 23.958-23.958 13.232 0 23.958 10.726 23.958 23.958 0 13.232-10.726 23.958-23.958 23.958-13.232 0-23.958-10.726-23.958-23.958zm-1.042 0c0 13.807 11.193 25 25 25s25-11.193 25-25-11.193-25-25-25-25 11.193-25 25z"}),(0,s.jsx)("path",{d:"M162.003 69.5c0-1.105.894-2 1.997-2 1.103 0 1.997.895 1.997 2s-.894 2-1.997 2a1.998 1.998 0 0 1-1.997-2zm1 0c0 .553.447 1 .997 1s.996-.447.996-1c0-.553-.446-1-.996-1a.998.998 0 0 0-.996 1zM163.5 2h1v4.355h-1zM163.5 10.71h1v4.355h-1zM163.5 19.42h1v4.354h-1zM163.5 28.13h1v4.354h-1zM163.5 36.839h1v4.355h-1zM163.5 45.548h1v4.355h-1zM163.5 54.258h1v4.355h-1zM163.5 62.968h1v4.355h-1zM163.5 71.677h1v4.355h-1zM163.5 80.387h1v4.355h-1zM163.5 89.097h1v4.355h-1zM163.5 97.806h1v4.355h-1zM163.5 106.516h1v4.355h-1zM163.5 115.226h1v4.355h-1zM163.5 123.935h1v4.355h-1zM163.5 132.645h1V137h-1z"})]})]})};function u(e){let{children:t}=e;return(0,s.jsxs)(o,{children:[(0,s.jsx)(c,{}),(0,s.jsx)(d,{}),t]})}},59018:(e,t,n)=>{var s=n(22180);e.exports=function(e){return e&&e.length?s(e):[]}},60128:(e,t,n)=>{"use strict";n.d(t,{A:()=>m});var s=n(6029),a=n(94565),r=n(55729),i=n(41735),l=n(56321);function o(e){let{isAway:t,fill:n}=e,{colors:a,settings:r}=(0,i.useTheme)(),l={transform:""};return t&&(l.transform="rotate(180deg)"),"rtl"===r.textDirection&&(l.transform+=" scale(-1,1)"),(0,s.jsx)("svg",{width:"88",height:"20",viewBox:"0 0 88 20",style:l,children:(0,s.jsx)("g",{fill:n||a.surface.s1,fillRule:"evenodd",children:(0,s.jsx)("path",{d:"m87.2 9.845-12 8v-16zM.8 7.845h74.4v4H.8z"})})})}var c=n(33559),d=n(58706),u=n(96678);function m(e){let{isLeft:t,isInverseTeams:n=!1,shots:m}=e,{colors:p}=(0,i.useTheme)(),{selectedShot:h}=(0,r.useContext)(u.XM),x=t?"colors.homeAway.home.primary":"colors.homeAway.away.primary";return(0,s.jsxs)(s.Fragment,{children:[void 0!==t&&(0,s.jsx)(a.so,{w:"100%",justify:"center",mt:"xs",children:(0,s.jsx)(o,{fill:p.onSurface.nLv2,isAway:!t})}),(0,s.jsx)(a.so,{justify:"center",children:(0,s.jsx)(a.az,{maxW:[2*d.Co+d.o_,void 0],w:"100%",children:(0,s.jsxs)(d.Ay,{children:[m.map(e=>{let a=(0,c.mK)(e,n);return void 0===t?(0,s.jsx)(l.b,{x:a.x,y:a.y,type:e.type,commentId:e.id},e.id):(0,s.jsx)(l.h,{x:a.x,y:a.y,type:e.type,color:x,commentId:e.id,backgroundOpacity:.25},e.id)}),h&&(0,s.jsx)(l.b,{...(0,c.mK)(h,n),type:h.type,commentId:h.id,isSelected:!0})]})})})]})}},66081:(e,t,n)=>{"use strict";n.d(t,{o:()=>d});var s=n(6029),a=n(55729),r=n(72369);let i=(0,a.createContext)(null);var l=n(50891),o=n(2274);let c=e=>!e.isLayoutDirty&&e.willUpdate(!1),d=({children:e,id:t,inherit:n=!0})=>{let d=(0,a.useContext)(r.L),u=(0,a.useContext)(i),[m,p]=function(){let e=function(){let e=(0,a.useRef)(!1);return(0,o.E)(()=>(e.current=!0,()=>{e.current=!1}),[]),e}(),[t,n]=(0,a.useState)(0),s=(0,a.useCallback)(()=>{e.current&&n(t+1)},[t]);return[(0,a.useCallback)(()=>l.Gt.postRender(s),[s]),t]}(),h=(0,a.useRef)(null),x=d.id||u;null===h.current&&((e=>!0==(!0===e)||"id"===e)(n)&&x&&(t=t?x+"-"+t:x),h.current={id:t,group:!0===n&&d.group||function(){let e=new Set,t=new WeakMap,n=()=>e.forEach(c);return{add:s=>{e.add(s),t.set(s,s.addEventListener("willUpdate",n))},remove:s=>{e.delete(s);let a=t.get(s);a&&(a(),t.delete(s)),n()},dirty:n}}()});let v=(0,a.useMemo)(()=>({...h.current,forceRender:m}),[p]);return(0,s.jsx)(r.L.Provider,{value:v,children:e})}},67086:(e,t,n)=>{"use strict";n.d(t,{N:()=>a});var s=n(49856);function a(e,t){return"en"===t||t===s.vo[e]}},67536:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>N});var s=n(6029),a=n(32523),r=n(46787),i=n(55729),l=n(18970),o=n(74610),c=n(22830),d=n(46222),u=n(51569),m=n(20325),p=n(90248),h=n(41164),x=function(e){return e.All="all",e.KeyEvents="key-events",e}({});let v=e=>[r.QCR.AmericanFootball,r.QCR.Basketball].includes(e),f=e=>{let{selectedTab:t,onTabChange:n}=e,{event:a}=(0,i.useContext)(l.y$),r=v((0,h.c5)(a));return(0,s.jsx)(m.az,{p:"sm",borderBottom:r?void 0:"1px solid",borderColor:r?void 0:"neutrals.nLv4",elevation:{base:void 0,mdDown:"2"},bg:{base:void 0,mdDown:"surface.s1"},children:(0,s.jsx)(u.tU,{variant:"tertiary",initialValue:x.All,value:t,onChange:n,children:(0,s.jsxs)(u.tU.List,{p:"sm",children:[(0,s.jsx)(u.tU.Tab,{tabKey:x.All,children:(0,s.jsx)(p.A,{id:"all"})}),(0,s.jsx)(u.tU.Tab,{tabKey:x.KeyEvents,children:(0,s.jsx)(p.A,{id:"commentary_key_events"})})]})})})};var y=n(94565),g=n(81484),b=n(18858);let j=e=>{let{periods:t,selectedPeriod:n,onPeriodChange:a}=e,r=(0,i.useContext)(l.Ws),o=(0,b.Ay)();if(!t.length||!v(r))return null;let c=t.map(e=>({tabKey:e,tabValue:(0,s.jsx)(g.fP,{id:e,short:!0})}));return(0,s.jsx)(y.PI,{top:o,bg:"surface.s1",zIndex:y.Py.Sticky-1,children:(0,s.jsx)(m.az,{p:"sm",bg:"surface.s1",borderBottom:"1px solid {colors.neutrals.nLv4}",children:(0,s.jsx)(u.tU,{variant:"secondary",initialValue:n,onChange:a,fullWidthTabs:!0,children:(0,s.jsx)(u.tU.List,{children:c.map((e,t)=>(0,s.jsx)(u.tU.Tab,{tabKey:e.tabKey,children:e.tabValue},t))})})})})};var w=n(14868),k=n(45860),C=n(9220),S=n(40076);let T=e=>{let{event:t}=(0,i.useContext)(l.y$),n=e.isHome?t.homeTeam:t.awayTeam,s=e.player,a=function(e,t){let n=e.isHome?t.homeTeam.shortName:t.awayTeam.shortName;switch(e.type){case"touchdown":return"Touchdown ".concat(n,"!");case"fieldGoalMiss":return"Missed Field Goal";case"twoPointConversion":return"2-PT Conversion";case"turnoverOnDowns":return"Turnover on Downs";case"fourthDownConversion":return"4th Down Conversion";case"passInterception":return"Interception";case"passInterceptionReturn":return"Interception Return";case"tenYardsPlay":return"".concat(e.yardsGained," Yard ").concat("run"===e.playType?"Run":"Pass");case"fieldGoal":return"Field Goal";case"extraPoint":return"Extra Point";case"safety":return"Safety";default:return null}}(e,t);return{team:n,player:s,title:a,text:function(e){return"twoMinuteWarning"===e.type?"Two-Minute Warning":e.text}(e),downDistance:function(e,t){if("extraPoint"===e.type){let n=1===e.teamHalf?t.homeTeam.nameCode:t.awayTeam.nameCode;return"XP attempt from ".concat(n," ").concat(e.yardline)}let n={currentDown:e.down,currentTeamHalf:e.teamHalf,currentPossession:e.possession,currentYardline:e.yardline,currentYardsToFirstDown:e.yardsToFirstDown,isGoalPossession:e.isGoal};return(0,S.XE)(n,t)}(e,t)}},A=e=>{let{comment:t}=e,{player:n,team:a,title:r,text:i,downDistance:l}=T(t);return(0,s.jsxs)(m.so,{children:[(0,s.jsx)(C.JJ,{comment:t}),(0,s.jsxs)(C.cH,{bg:"surface.s0",image:n&&(0,s.jsx)(C.Ez,{id:n.id,teamId:a.id}),players:[n],children:[r&&(0,s.jsx)(C.SI,{children:r}),i&&(0,s.jsx)(C.jv,{children:i}),l&&(0,s.jsx)(C.jv,{secondary:!0,children:l})]})]})},R=e=>{let{comments:t}=e;return(0,s.jsx)(m.so,{direction:"column",gap:"lg",p:"lg",children:t.map(e=>(0,s.jsx)(A,{comment:e},e.id))})};var _=n(33144),F=n(22375);let P=e=>{let{drive:t}=e;return(0,s.jsxs)(m.so,{gap:"lg",align:"center",children:[(0,s.jsx)(_.p,{id:t.teamId,size:"2xl"}),(0,s.jsxs)(m.so,{direction:"column",align:"flex-start",children:[(0,s.jsx)(u.EY,{textStyle:"display.medium",color:null!==t.endReason?"neutrals.nLv1":"status.live",children:t.endReason||(0,s.jsx)(p.A,{id:"inProgress"})}),(0,s.jsx)(u.EY,{textStyle:"assistive.default",color:"neutrals.nLv3",children:(0,s.jsx)(p.A,{id:"am_football_drive_summary",values:{plays:t.playCount,yards:t.netDriveYards,time:(0,F.OV)(t.durationSeconds)}})})]})]})},I=e=>{let{comment:t,drive:n,defaultOpened:a=!1}=e;return(0,s.jsxs)(y.nD.Item,{defaultOpened:a,bg:"surface.s1",elevation:[2,void 0],br:["lg",void 0],borderTop:[void 0,"onSurface.nLv4"],borderBottom:[void 0,"onSurface.nLv4"],mt:-1,overflow:"hidden",children:[(0,s.jsx)(y.nD.Trigger,{children:(0,s.jsx)(P,{drive:n})}),(0,s.jsx)(y.nD.Content,{children:(0,s.jsx)(R,{comments:t})})]})},B=e=>{let{comment:t}=e,{player:n,team:a,title:r,text:i,downDistance:l}=T(t);return(0,s.jsxs)(m.so,{children:[(0,s.jsx)(C.JJ,{comment:t}),(0,s.jsxs)(C.cH,{image:n&&(0,s.jsx)(C.Ez,{id:n.id,teamId:a.id}),players:[n],elevation:{mdDown:"2"},children:[r&&(0,s.jsx)(C.SI,{children:r}),i&&(0,s.jsx)(C.jv,{children:i}),l&&(0,s.jsx)(C.jv,{secondary:!0,children:l})]})]})},M=e=>{let{comment:t}=e,{player:n,team:a,title:r,text:i,downDistance:l}=T(t);return(0,s.jsxs)(m.so,{br:"lg",elevation:{mdDown:"2"},bg:{mdDown:"surface.s1"},py:{md:"md"},px:{md:"lg"},children:[(0,s.jsx)(C.JJ,{comment:t}),(0,s.jsxs)(C.cH,{bg:{base:"surface.s1",md:"surface.s0"},image:n&&(0,s.jsx)(C.Ez,{id:n.id,teamId:a.id}),players:[n],children:[r&&(0,s.jsx)(C.SI,{children:r}),i&&(0,s.jsx)(C.jv,{children:i}),l&&(0,s.jsx)(C.jv,{secondary:!0,children:l})]})]})},z=e=>{let{selectedTab:t,selectedPeriod:n,comments:a,periods:o}=e,{drives:d}=(()=>{let{event:e}=(0,i.useContext)(l.y$),t=(0,c.j)((0,h.c5)(e)),{data:n}=(0,k.Ay)(t?r.bnp.commentary(e.id,t):null,(0,h.rf)(e));return{drives:null==n?void 0:n.drives}})();if(t===x.KeyEvents)return(0,s.jsx)(m.so,{p:"md",direction:"column",gap:"md",children:a.map(e=>(0,s.jsx)(B,{comment:e},e.id))});let u=a.findIndex(e=>!!Array.isArray(e)||void 0!==e.driveId);return(0,s.jsx)(y.nD,{children:(0,s.jsxs)(m.so,{p:{mdDown:"md"},direction:"column",gap:{mdDown:"md"},children:[(0,s.jsx)(m.az,{hideBelow:"md",children:(0,s.jsx)(m.cG,{})}),a.map((e,t)=>{let a=function(e){return Array.isArray(e)?e:[e]}(e),r=function(e,t){return void 0===e||void 0===t?null:t.find(t=>t.id===e)}(a[0].driveId,d);return r?(0,s.jsx)(I,{comment:a,drive:r,defaultOpened:function(e,t,n){return 0!==e.length&&[e[0],e[e.length-1]].includes(t)&&n}(o||[],n,u===t)},a[0].id):(0,s.jsx)(M,{comment:a[0]},a[0].id)})]})})};var L=n(67087);let H={freeThrowMade:"basketball_free_throw_made",twoPointMade:"basketball_two_points_made",threePointMade:"basketball_three_points_made"},E=e=>{let{comment:t}=e,{event:n}=(0,i.useContext)(l.y$),{homeTeam:a,awayTeam:r}=n,o="ownGoal"===t.goalType,c="penalty"===t.goalType,d=!o&&!c,u=t.player,m=t.isHome?a.id:r.id;return u?(0,s.jsxs)(C.hF,{children:[(0,s.jsx)(C.JJ,{comment:t}),(0,s.jsxs)(C.cH,{image:(0,s.jsx)(C.Ez,{id:u.id,teamId:m}),players:[u],children:[(0,s.jsx)(C.SI,{isUppercase:d,children:d?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(p.A,{id:"goal"}),"!"]}):(0,s.jsx)(p.A,{id:t.goalType})}),(0,s.jsx)(C.jv,{children:t.text})]})]}):null},O=e=>{var t;let{comment:n}=e,{event:a}=(0,i.useContext)(l.y$),o=n.isHome?a.homeTeam:a.awayTeam;if(!n.playerIn||!n.playerOut)return null;let c=null!=(t=o.gender)?t:r.YT8.Male;return(0,s.jsxs)(C.hF,{children:[(0,s.jsx)(C.JJ,{comment:n}),(0,s.jsxs)(C.cH,{image:(0,s.jsx)(_.p,{size:"xl",id:o.id,name:o.name}),players:[n.playerIn,n.playerOut],children:[(0,s.jsx)(C.SI,{children:(0,s.jsx)(p.A,{id:"substitution"})}),(0,s.jsxs)(C.Pc,{image:(0,s.jsx)(C.Ez,{id:n.playerIn.id,small:!0}),children:[n.playerIn.name,(0,s.jsxs)(u.EY,{ml:"2xs",textStyle:"body.small",color:"secondary.default",children:["(",(0,s.jsx)(p.A,{id:"substituted_in",values:{gender:c}}),")"]})]}),(0,s.jsxs)(C.Pc,{image:(0,s.jsx)(C.Ez,{id:n.playerOut.id,small:!0}),children:[n.playerOut.name,(0,s.jsxs)(u.EY,{ml:"2xs",textStyle:"body.small",color:"status.error.default",children:["(",(0,s.jsx)(p.A,{id:"substituted_out",values:{gender:c}}),")"]})]})]})]})};var Q=n(46517),D=n(29695);let K={[r.QCR.Football]:e=>{let{comment:t}=e;switch(t.type){case"scoreChange":case"penaltyScored":return(0,s.jsx)(E,{comment:t});case"substitution":return(0,s.jsx)(O,{comment:t});default:return(0,s.jsx)(Q.b,{comment:t})}},[r.QCR.Basketball]:function(e){let{comment:t}=e,{event:n}=(0,i.useContext)(l.y$),[a,r]=(0,L.jr)(t,"homeScore","awayScore"),{isHome:o,player:c,playerIn:d,playerOut:m,goalkeeper:h}=t,x=void 0===o?void 0:o?n.homeTeam:n.awayTeam,v=c&&(0,s.jsx)(C.Ez,{id:c.id,teamId:null==x?void 0:x.id}),f=function(e){if("scoreChange"===e.type&&e.goalType)return H[e.goalType]}(t),y=t.text,g="scoreChange"===t.type&&!!(null==x?void 0:x.nameCode)&&void 0!==a&&void 0!==r;return(0,s.jsxs)(C.hF,{children:[(0,s.jsx)(C.JJ,{comment:t}),(0,s.jsxs)(C.cH,{image:v,players:[c,d,m,h],children:[f&&(0,s.jsx)(C.SI,{children:(0,s.jsx)(p.A,{id:f})}),y&&(0,s.jsx)(C.jv,{children:y}),g&&(0,s.jsx)(u.EY,{textStyle:"assistive.default",color:"neutrals.nLv3",children:"".concat(x.nameCode," ").concat(a," - ").concat(r)})]})]})},[r.QCR.IceHockey]:D.y},W=e=>{let{comments:t}=e,n=K[(0,i.useContext)(l.Ws)];return(0,s.jsx)(m.so,{p:"md",direction:"column",gap:"md",children:t.map(e=>(0,s.jsx)(n,{comment:e},e.id))})},G=e=>{let{selectedTab:t,selectedPeriod:n,comments:a,periods:o}=e;return(0,i.useContext)(l.Ws)===r.QCR.AmericanFootball?(0,s.jsx)(z,{selectedTab:t,selectedPeriod:n,comments:a,periods:o}):(0,s.jsx)(W,{comments:a})},U=e=>{let{selectedTab:t,selectedPeriod:n,comments:a,periods:o}=e,{isMobile:c}=(0,u.$c)(),{event:m,location:p}=(0,i.useContext)(l.y$),[v,f]=(0,i.useState)(!1),y=function(e,t,n){return t===x.KeyEvents?n.filter(e=>Object.values(r.zZK).includes(e.type)):e===r.QCR.AmericanFootball?function(e){let t=[],n=null,s=null;for(let a of e)void 0!==a.driveId?(a.driveId!==s&&(n=[],t.push(n),s=a.driveId),n&&n.push(a)):(t.push(a),s=null);return t.map(e=>Array.isArray(e)&&1===e.length?e[0]:e)}(n.filter(e=>"timeout"!==e.type||void 0!==e.driveId)):n}((0,h.c5)(m),t,a),g=p&&[l.cb.EventPage].includes(p)&&y.length>10&&!c;return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(G,{selectedTab:t,selectedPeriod:n,comments:function(e,t){return t?e:e.slice(0,10)}(y,v||c||p===l.cb.Widget),periods:o}),(0,s.jsx)(d.Zp.Footer,{ctaParams:g?{messageId:v?"show_less":"show_more",onClick:()=>f(e=>!e),icon:v?w.X.Up:w.X.Down}:void 0,defaultHeight:{base:"[0px]",md:"lg"}})]})},Y=e=>{let{periodComments:t,periods:n}=e,a=(0,i.useContext)(l.Ws),{location:o}=(0,i.useContext)(l.y$),c=o===l.cb.Widget,[u,m]=(0,i.useState)(a===r.QCR.Basketball&&n.length?n[n.length-1]:"all"),[p,h]=(0,i.useState)(x.All),v=t[u];return(0,s.jsxs)(d.Zp,{variant:c?"never":"desktop-only",children:[!c&&(0,s.jsx)(d.Zp.Header,{titleId:"commentary",visibility:"desktop-only"}),(0,s.jsx)(j,{periods:n,selectedPeriod:u,onPeriodChange:m}),a!==r.QCR.Basketball&&(0,s.jsx)(f,{selectedTab:p,onTabChange:h}),(0,s.jsx)(U,{selectedTab:p,selectedPeriod:u,comments:v,periods:n})]})},N=()=>{let e=(0,i.useContext)(l.Ws),{textCommentary:t,periods:n}=(0,c.q)(e!==r.QCR.Basketball);return t?(0,s.jsx)(o.t,{tag:"TextCommentary",children:(0,s.jsx)(Y,{periodComments:t,periods:n})}):(0,s.jsx)(a.E,{uniqueKey:"text-commentary-container-cl",rows:10,rowHeight:56,animate:!0})}},69909:(e,t,n)=>{"use strict";n.d(t,{d:()=>u});var s=n(6029),a=n(51569),r=n(20325),i=n(55729),l=n(46222),o=n(18970),c=n(89721),d=n(18205);let u=e=>{var t;let{isTeamStandings:n,hideTitle:u,isNarrowLayout:m,numberOfRows:p=20,branding:h}=e,{event:x}=(0,i.useContext)(o.y$),v=null==x||null==(t=x.tournament.uniqueTournament)?void 0:t.hasPerformanceGraphFeature;return(0,s.jsxs)(r.az,{children:[!m&&(0,s.jsx)(c.U,{branding:h}),n&&(0,s.jsxs)(r.so,{hideBelow:"md",gap:"lg",bg:"surface.s1",p:"sm",elevation:{mdDown:"2"},children:[(0,s.jsx)(r.az,{w:"[200px]",h:"[34px]",bg:"surface.s2",br:"sm"}),(0,s.jsx)(r.az,{w:"[84px]",h:"[34px]",bg:"surface.s2",br:"sm"})]}),(0,s.jsxs)(r.so,{direction:"column",gap:"sm",children:[(0,s.jsxs)(l.Zp,{children:[(0,s.jsxs)(r.so,{direction:"column",gap:"sm",px:"sm",pt:n?void 0:"sm",pb:"sm",children:[(0,s.jsx)(r.az,{h:"[34px]",pt:n?void 0:"sm"}),!u&&(0,s.jsxs)(r.so,{align:"center",gap:"lg",children:[(0,s.jsx)(a._V,{width:"3xl",height:"3xl",src:"/static/images/placeholders/tournament.svg",alt:"Tournament placeholder"}),(0,s.jsx)(r.az,{w:"[150px]",h:"xl",bg:"surface.s2",br:"sm"})]})]}),(0,s.jsx)(r.az,{pt:"sm",children:(0,s.jsx)(d.e,{rows:p})}),(0,s.jsx)(r.az,{p:"sm",children:(0,s.jsx)(r.az,{h:"[150px]",bg:"surface.s2",br:"lg"})})]}),v&&(0,s.jsxs)(l.Zp,{children:[(0,s.jsx)(l.Zp.Header,{titleId:"standings_tracker_title"}),(0,s.jsx)(r.az,{h:"[542px]"})]})]})]})}},70917:(e,t,n)=>{var s=n(74283),a=n(87567);e.exports=function(e){return null==e?[]:s(e,a(e))}},73240:(e,t,n)=>{"use strict";n.d(t,{nf:()=>f,o1:()=>j});var s=n(6029),a=n(46787),r=n(22375),i=n(51569),l=n(20325),o=n(90510),c=n(41735),d=n(18970),u=n(52466),m=n(67087),p=n(31830),h=n(37236),x=n(21754),v=n(4284),f=function(e){return e.W="success",e.D="neutral",e.L="error",e.OTL="error",e.N="neutral",e.NC="neutral",e}({}),y=function(e){return e.W="wins",e.D="draws",e.L="losses",e.OTL="losses",e.N="no_contest_mma_short",e}(y||{});function g(e){let{event:t,referenceId:n,isFirst:a,isRTL:i}=e,d=(0,m.h2)(n),u=(0,p.A)(),{settings:h}=(0,c.useTheme)();return(0,s.jsx)(o.XU,{value:(0,r.pp)(t.startTimestamp),children:e=>(0,s.jsx)(l.az,{title:v.c4(t,e,u,"rtl"===h.textDirection),children:(0,s.jsx)(w,{score:d,isFirst:a,isRTL:i})})})}function b(e){let{event:t,referenceId:n,isFirst:a,isRTL:r}=e,i=(0,m.AR)(t);return(0,s.jsx)(d.y$,{value:i,children:(0,s.jsx)(g,{event:t,referenceId:n,isFirst:a,isRTL:r})})}function j(e){let t=e.events||[];t=[...t].reverse();let{settings:n}=(0,c.useTheme)(),a="rtl"===n.textDirection;return(0,s.jsxs)(l.so,{maxW:{base:"[180px]",mdDown:"[148px]"},minW:"[120px]",ml:"sm",flexGrow:0,flexShrink:1,flexBasis:"[120px]",justify:"flex-start",align:"center","flex-wrap":"nowrap",br:"xs",backgroundColor:"neutrals.nLv4",children:["number"==typeof e.referenceId&&null!==t&&t.map((t,n)=>(0,s.jsx)(b,{event:t,referenceId:e.referenceId,isFirst:0===n,isRTL:a},t.id)),e.form&&e.form.map((e,t)=>(0,s.jsx)(w,{score:e,isFirst:0===t,isRTL:a,formFormat:!0},t))]})}function w(e){let{score:t,isFirst:n,formFormat:r}=e,o=t?null==f?void 0:f[t]:"neutral";return(0,s.jsx)(l.so,{w:r?"1/6":"[20px]",h:"[20px]",backgroundColor:"neutrals.nLv4",borderStartRadius:n?"xs":void 0,children:(0,s.jsxs)(x.E,{colorPalette:o,borderStartRadius:n?"xs":void 0,children:[!!t&&(0,s.jsx)(i.EY,{textStyle:"display.small",color:"surface.s1",position:"absolute",lineHeight:1,children:(0,s.jsx)(h.N,{id:y[t]})}),t===a.h18.OvertimeLoss&&(0,s.jsx)(l.so,{justify:"flex-end",alignSelf:"flex-start",grow:1,children:(0,s.jsx)(u.GzD,{color:"heatmap.hm_3",_rtl:{transform:"rotate(270deg)"}})})]})})}},74283:(e,t,n)=>{var s=n(88601);e.exports=function(e,t){return s(t,function(t){return e[t]})}},74620:e=>{"use strict";e.exports=JSON.parse('{"Carpet indoor":"carpetIndoor","Clay":"tennis_surface_clay","Grass":"tennis_surface_grass","Hard":"tennis_surface_hard","Hardcourt indoor":"tennis_surface_indoor_hardcourt","Hardcourt outdoor":"tennis_surface_outdoor_hardcourt","Red clay":"surface_red_clay","Synthetic indoor":"syntheticIndoor","Synthetic outdoor":"syntheticOutdoor"}')},76186:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>T});var s=n(6029),a=n(34199),r=n(46787),i=n(51569),l=n(20325),o=n(55729),c=n(90510),d=n(45860),u=n(46222),m=n(18970),p=n(56494),h=n(33140),x=n(11219),v=n(173),f=n(68789),y=n(60682),g=n(88505),b=n(76155),j=n(64046),w=n(6086),k=n(74207);let C=e=>{var t,n;let{team:r}=e,o=null==(t=r.subTeams)?void 0:t[0],c=null==(n=r.subTeams)?void 0:n[1];return(0,s.jsxs)(l.so,{direction:"column",align:"center",flex:"[1 0 0px]",overflow:"hidden",children:[o&&c?(0,s.jsxs)(l.so,{align:"center",justify:"center",gap:"[10px]",mb:"xs",children:[(0,s.jsx)(a.pY,{id:o.id,name:o.name,size:"xl"},o.id),(0,s.jsx)(a.pY,{id:c.id,name:c.name,size:"xl"},c.id)]}):(0,s.jsx)(a.pY,{id:r.id,name:r.name,size:"xl"}),o&&c?[(0,s.jsx)(i.EY,{truncate:!0,textStyle:"assistive.default",w:"100%",textAlign:"center",children:(0,s.jsx)(g.Rm,{team:o,short:!0})},o.id),(0,s.jsx)(i.EY,{truncate:!0,textStyle:"assistive.default",w:"100%",textAlign:"center",children:(0,s.jsx)(g.Rm,{team:c,short:!0})},c.id)]:(0,s.jsx)(i.EY,{truncate:!0,textStyle:"assistive.default",w:"100%",textAlign:"center",children:(0,s.jsx)(g.Rm,{team:r})})]})},S=e=>{let{provider:t,market:n,onClick:a}=e,r=n.event;return(0,s.jsxs)(l.az,{bg:"surface.s1",p:"sm",children:[(0,s.jsx)(x.tj,{event:r,children:(0,s.jsxs)(l.so,{justify:"center",align:"center",_hover:{bg:"neutrals.nLv4"},cursor:"pointer",p:"xs",mb:"xs",br:"sm",children:[(0,s.jsx)(C,{team:r.homeTeam}),(0,s.jsxs)(l.so,{direction:"column",justify:"center",align:"center",mx:"md",flex:"[1 0 0px]",children:[(0,s.jsx)(i.EY,{textStyle:"display.medium",children:(0,s.jsx)(c.ib,{value:1e3*r.startTimestamp})}),(0,s.jsx)(i.EY,{textStyle:"assistive.default",color:"neutrals.nLv3",children:(0,s.jsx)(c.XU,{value:1e3*r.startTimestamp})})]}),(0,s.jsx)(C,{team:r.awayTeam})]})}),(0,s.jsx)(l.az,{mb:"-xs",children:(0,s.jsx)(w.A,{selectedProvider:t,market:n,onClick:a,hideMarketName:!0,secondary:!0})})]})},T=e=>{var t,n;let{preferRecommendedPrematch:c,showHeader:g,ref:w}=e,{event:C,location:T}=(0,o.useContext)(m.y$),{isMobile:A}=(0,i.$c)(),[R,_]=(0,o.useState)(!1),F=(0,f.F0)(C),[P]=(0,y.Z)(F),I=null==(t=C.tournament)?void 0:t.id,B=null==(n=C.tournament)?void 0:n.category.sport.slug,M=P&&I,z=T===m.cb.Widget,{data:L,error:H}=(0,d.Ay)(M?r.npy.recommendedPrematch(P,I):null),E=!c&&H&&P&&B,{data:O,error:Q}=(0,d.Ay)(E?r.npy.recommendedPrematchTopVoted(P,B):null),D=L||O,K=(0,o.useMemo)(()=>{let e=null==D?void 0:D.odds.filter(e=>e.id!==C.id);return R?e:null==e?void 0:e.slice(0,4)},[D,R]),W=null==K?void 0:K.reduce((e,t)=>{let n=t.event.tournament.id;return e[n]?e[n].push(t):e[n]=[t],e},{}),{ref:G,makeOnClick:U}=(0,j.kW)({type:j.jF.Compliance,countryOddsProvider:F}),Y=A||T!==m.cb.EventPage;return K?(0,s.jsxs)(l.az,{ref:G,children:[(0,s.jsxs)(u.Zp,{variant:"desktop-only",children:[g&&(0,s.jsx)("div",{ref:w,children:(0,s.jsx)(u.Zp.Header,{titleId:"featured_odds"})}),(0,s.jsx)(l.so,{justify:"flex-end",align:"center",p:"sm",children:(0,s.jsx)(k.$,{provider:F})}),(0,s.jsxs)(l.BJ,{gap:"sm",px:{mdDown:"sm",md:z?"sm":void 0},children:[W&&Object.keys(W).map((e,t)=>{var n;let r=W[+e],o=r[0].event;return(0,s.jsx)(u.Zp,{variant:"mobile-only",children:(0,s.jsxs)(l.az,{px:{md:"sm"},pb:"md",borderTop:t?"1px solid {colors.neutrals.nLv4}":void 0,children:[(0,s.jsxs)(l.so,{justify:"center",align:"center",px:"lg",py:"md",children:[o.tournament.uniqueTournament?(0,s.jsx)(a.eD,{id:o.tournament.uniqueTournament.id,size:"xl"}):(0,s.jsx)(a.l3,{id:o.tournament.id,size:24}),(0,s.jsx)(x.Mq,{tournament:o.tournament,seasonId:null==(n=o.season)?void 0:n.id,children:(0,s.jsx)(i.EY,{textStyle:"display.micro",ml:"lg",_hover:{color:"neutrals.nLv3"},children:(0,s.jsx)(b.J,{tournament:o.tournament})})})]}),(0,s.jsx)(l.BJ,{gap:"[1px]",bg:"neutrals.nLv4",children:r.map(e=>(0,s.jsx)(S,{provider:F,market:e,onClick:U(e.marketName,j.ki.OddsValue)},e.id))})]})},e)}),(null==D?void 0:D.odds.length)&&D.odds.length>4&&(0,s.jsx)(h.d,{isOpen:R,onClick:()=>_(!R)})]})]}),Y&&(0,s.jsx)(l.az,{mt:"sm",children:(0,s.jsx)(v.z,{provider:F})})]}):H&&Q?null:(0,s.jsx)(p.a,{})}},77262:(e,t,n)=>{"use strict";n.d(t,{GM:()=>p,N4:()=>o,UG:()=>g,Vd:()=>u,XL:()=>c,c7:()=>m,cY:()=>d,fN:()=>y,jp:()=>x,mh:()=>h,ps:()=>v});var s=n(46787),a=n(17887),r=n(56132),i=n(91113),l=n(14831);let o=[s.QCR.IceHockey,s.QCR.AmericanFootball,s.QCR.Baseball,s.QCR.Handball,s.QCR.Basketball,s.QCR.Cricket],c=[s.QCR.IceHockey,s.QCR.AmericanFootball,s.QCR.Baseball,s.QCR.Handball,s.QCR.Football];var d=function(e){return e.FootballForward="F",e.FootballDefender="D",e.FootballMidfielder="M",e.FootballGoalkeeper="G",e.BasketballForward="F",e.BasketballGuard="G",e.BasketballCenter="C",e.AmericanFootballPunter="P",e.AmericanFootballPuntReturner="PR",e.AmericanFootballLongSnapper="LS",e.AmericanFootballKicker="K",e.AmericanFootballTackle="T",e.AmericanFootballOffensiveTackle="OT",e.AmericanFootballOffensiveLineman="OL",e.AmericanFootballOffensiveGuard="OG",e.AmericanFootballGuard="G",e.AmericanFootballCenter="C",e.AmericanFootballQuarterback="QB",e.AmericanFootballRunningBack="RB",e.AmericanFootballFullback="FB",e.AmericanFootballTightEnd="TE",e.AmericanFootballWideReceiver="WR",e.AmericanFootballStrongSafety="SS",e.AmericanFootballSafety="SAF",e.AmericanFootballFreeSafety="FS",e.AmericanFootballDefensiveLineman="DL",e.AmericanFootballDefensiveBack="DB",e.AmericanFootballCornerBack="CB",e.AmericanFootballNoseTackle="NT",e.AmericanFootballDefensiveTackle="DT",e.AmericanFootballDefensiveEnd="DE",e.AmericanFootballOutsideLineback="OLB",e.AmericanFootballMiddleLineback="MLB",e.AmericanFootballLineback="LB",e.AmericanFootballInsideLineback="ILB",e.IceHockeyDefenseman="D",e.IceHockeyGoalie="G",e.IceHockeyCenter="C",e.IceHockeyLeftWing="L",e.IceHockeyRightWing="R",e.IceHockeyForward="F",e.BaseballPitcher="P",e.BaseballCatcher="C",e.BaseballFirstBase="1B",e.BaseballSecondBase="2B",e.BaseballThirdBase="3B",e.BaseballShortstop="SS",e.BaseballLeftField="LF",e.BaseballCenterField="CF",e.BaseballRightField="RF",e.BaseballDesignatedHitter="DH",e.BaseballPinchHitter="PH",e.BaseballPinchRunner="PR",e.BaseballBaseRunner="BR",e.BaseballOutfield="OF",e.BaseballInfield="IF",e.BaseballStartingPitcher="SP",e.BaseballReliefPitcher="RP",e.BaseballCloser="CP",e.BaseballUtility="UT",e.BaseballUtilityInfielder="UI",e.BaseballUtilityOutfielder="UO",e.BaseballRightHandedPitcher="RHP",e.BaseballLeftHandedPitcher="LHP",e.BaseballRightHandedStarter="RHS",e.BaseballLeftHandedStarter="LHS",e.BaseballRightHandedReliever="RHR",e.BaseballLeftHandedReliever="LHR",e.BaseballBatter="B",e.BaseballHitter="H",e.BaseballRunner="R",e.BaseballUnknown="U",e.ESportsHardCarry="HC",e.ESportsMid="MID",e.ESportsOfflaner="OFF",e.ESportsSoftSupport="SS",e.ESportsHardSupport="HS",e.ESportsAdc="ADC",e.ESportsJun="JUN",e.ESportsTop="TOP",e.ESportsSup="SUP",e.HandballGoalkeeper="G",e.HandballRightWing="RW",e.HandballLeftWing="LW",e.HandballRightBack="RB",e.HandballLeftBack="LB",e.HandballCentralBack="CB",e.HandballPivot="P",e.CricketBatter="BM",e.CricketAllrounder="AR",e.CricketKeeper="WK",e.CricketBowler="B",e}({}),u=function(e){return e.AmericanFootballQuarterback="am_football_quarterbacks",e.AmericanFootballRunningBack="am_football_running_backs",e.AmericanFootballReceiver="am_football_receivers",e.AmericanFootballOffensiveLine="am_football_offensive_line",e.AmericanFootballDefensiveLine="am_football_defensive_line",e.AmericanFootballDefensiveBack="am_football_defensive_backs",e.AmericanFootballLineback="am_football_linebackers",e.AmericanFootballSpecialTeam="am_football_special_teams",e.BaseballPitcher="pitcher",e.BaseballCatcher="catcher",e.BaseballInfield="infield",e.BaseballOutfield="outfield",e.BaseballHitter="hitter",e.BaseballRunner="runner",e.BaseballBatter="batter",e.IceHockeyForward="forward",e.IceHockeyDefenseman="defenseman",e.IceHockeyGoalie="goalie",e.HandballGoalkeeper="handball.goalkeeper",e.HandballBack="handball.back",e.HandballWinger="handball.winger",e.HandballPivot="handball.pivot",e.Unknown="player.position.unknown",e}({});let m=(e,t)=>{switch(t){case s.QCR.AmericanFootball:switch(e){case"QB":return"am_football_quarterbacks";case"RB":case"FB":return"am_football_running_backs";case"WR":case"TE":return"am_football_receivers";case"OT":case"OL":case"OG":case"C":case"T":case"G":return"am_football_offensive_line";case"DT":case"DL":case"DE":case"NT":return"am_football_defensive_line";case"DB":case"SS":case"FS":case"CB":case"SAF":return"am_football_defensive_backs";case"OLB":case"LB":case"MLB":case"ILB":return"am_football_linebackers";case"P":case"PR":case"LS":case"K":return"am_football_special_teams";default:return"player.position.unknown"}case s.QCR.Baseball:switch(e){case"P":case"SP":case"CP":case"RP":case"RHP":case"LHP":case"LHS":case"RHS":case"LHR":case"RHR":return"pitcher";case"C":return"catcher";case"1B":case"2B":case"3B":case"SS":case"IF":case"UI":return"infield";case"LF":case"CF":case"RF":case"OF":case"UO":return"outfield";case"H":case"DH":case"PH":return"hitter";case"R":case"PR":case"BR":return"runner";case"B":return"batter";default:return"player.position.unknown"}case s.QCR.IceHockey:switch(e){case"F":case"L":case"C":case"R":return"forward";case"D":return"defenseman";case"G":return"goalie";default:return"player.position.unknown"}case s.QCR.Handball:switch(e){case"RB":case"LB":case"CB":return"handball.back";case"LW":case"RW":return"handball.winger";case"P":return"handball.pivot";case"G":return"handball.goalkeeper";default:return"player.position.unknown"}default:return e||"player.position.unknown"}},p=(e,t)=>{let n={};for(let s=0;s{switch(e){case"F":case"am_football_quarterbacks":case"am_football_running_backs":case"am_football_receivers":case"am_football_offensive_line":case"handball.winger":case"forward":return"colors.status.live";case"M":case"am_football_special_teams":case"handball.pivot":return"colors.secondary.default";case"D":case"am_football_defensive_backs":case"am_football_defensive_line":case"am_football_linebackers":case"handball.back":case"defenseman":return"colors.primary.default";case"G":case"handball.goalkeeper":case"goalie":return"colors.status.val";default:return"colors.neutrals.nLv3"}},x=e=>e.type===s.YVh.Person,v=(e,t,n,a,i,o,c,d)=>e===s.QCR.AmericanFootball?[{tabKey:r.x.Details,item:"details"},{tabKey:r.x.Matches,item:"matches",values:{sport:(0,l.ap)(e)}},{tabKey:r.x.Standings,item:"app.standings",isHidden:!t},{tabKey:r.x.PlayerStatistics,item:"tab_player_stats",isHidden:!c},{tabKey:r.x.Squad,item:"am_football_roster",isHidden:!a},{tabKey:r.x.Statistics,item:"statistics",isHidden:!i},{tabKey:r.x.Media,item:"media",isHidden:!o}]:[{tabKey:r.x.Details,item:"details"},{tabKey:r.x.Matches,item:"matches",values:{sport:(0,l.ap)(e)}},{tabKey:r.x.Standings,item:"app.standings",isHidden:!t},{tabKey:r.x.Squad,item:"squad",isHidden:!a,values:{gender:d}},{tabKey:r.x.TopPlayers,item:"top_players",values:{gender:d},isHidden:!n},{tabKey:r.x.Statistics,item:"statistics",isHidden:!i},{tabKey:r.x.Media,item:"media",isHidden:!o}],f=[s.QCR.AmericanFootball,s.QCR.Tennis];function y(e,t){return -1!==f.indexOf(e)&&9464===t}function g(e){return e?e.reduce((e,t)=>{let n=e[e.length-1];return n&&n.transfer.player.id===t.player.id?n.additionalTransfers.push(t):e.push({transfer:t,additionalTransfers:[]}),e},[]):[]}},79261:(e,t,n)=>{"use strict";n.d(t,{qG:()=>i});var s=n(41735);let a=(0,s.keyframes)(["0%{opacity:1;}30%{opacity:1;}60%{opacity:0.25;}100%{opacity:1;}"]);a.slow=(0,s.keyframes)(["0%{opacity:1;}5%{opacity:1;}10%{opacity:.25;}15%{opacity:1;}100%{opacity:1;}"]),a.fast=(0,s.keyframes)(["0%{opacity:1;}50%{opacity:1;}51%{opacity:0;}100%{opacity:0;}"]),(0,s.css)(["animation:"," 1s ease-in infinite;"],a).slow=(0,s.css)(["animation:"," 10s ease-in infinite;"],a.slow);let r=(0,s.keyframes)(["0%{transform:translateY(50px);opacity:0;}50%{opacity:1;}100%{opacity:1;transform:translateY(0);}"]);(0,s.css)(["animation:0.3s "," ease-in-out;animation-fill-mode:forwards;"],r);let i=(0,s.keyframes)(["from{opacity:0.0001;}to{opacity:1;}"])},79634:(e,t,n)=>{"use strict";n.d(t,{q:()=>s.q});var s=n(39975)},79860:(e,t,n)=>{var s=n(31736),a=n(78383),r=n(48546);e.exports=s&&1/r(new s([,-0]))[1]==1/0?function(e){return new s(e)}:a},81349:(e,t,n)=>{"use strict";n.d(t,{A:()=>d,d:()=>u});var s=n(46787),a=n(494),r=n(45860),i=n(90438),l=n(37455),o=n(72753),c=n(79082);let d=(e,t)=>{let[n]=(0,c.Ay)({routeKey:i.xW.Betting,params:{}}),a=(null==n?void 0:n.boostId)?+n.boostId:void 0,l=null==t?void 0:t.betBoosts.find(e=>e.event.id===a),{data:o}=(0,r.Ay)(a&&!l?s.bnp.betBoost(a,e):null);return{selectedBoost:null==o?void 0:o.betBoost,selectedEventId:a}},u=()=>{let e=(0,a.d4)(o.LQ);return(0,a.d4)(l.Zw)&&"IT"!==e}},83359:(e,t,n)=>{"use strict";n.d(t,{n:()=>l});var s=n(6029),a=n(90248),r=n(74620),i=n(91113);let l=e=>{let{id:t}=e;return(0,s.jsx)(a.A,{id:(0,i.OX)(r,t)})}},89721:(e,t,n)=>{"use strict";n.d(t,{U:()=>l});var s=n(6029),a=n(51569),r=n(37549),i=n(53255);let l=e=>{let{branding:t,location:n,entityId:l,...o}=e,{isDesktop:c}=(0,a.$c)();return c&&t?(0,s.jsx)(r.A.Header,{...o,variant:"left-aligned",actionComponent:(0,s.jsx)(i.O,{minW:"[140px]",px:"sm",br:"xs",branding:t,location:n,entityId:l})}):(0,s.jsx)(r.A.Header,{...o})}},89937:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>k});var s=n(6029),a=n(51569),r=n(20325),i=n(55729),l=n(46222),o=n(56494),c=n(22830),d=n(81484),u=n(18858),m=n(15341),p=n(5062),h=n(6813),x=n(29695),v=n(96678);let f=e=>{let{comments:t,isOpen:n}=e,{rootRef:l}=(0,i.useContext)(v.XM),{isMobile:o}=(0,a.$c)();return(0,s.jsx)("div",{ref:o?void 0:l,children:(0,s.jsxs)(a.Ee,{h:{md:n?"[370px]":"[538px]"},bg:["neutral.highlight","surface.s1"],children:[(0,s.jsx)(r.so,{direction:"column",p:"md",gap:"lg",children:t.map(e=>(0,s.jsx)(x.y,{comment:e},e.id))}),(0,s.jsx)(r.az,{borderTop:"1px solid {colors.neutrals.nLv4}",hideBelow:"md",mb:"lg",children:(0,s.jsx)(h.p,{graphic:"hockey-shotmap",descriptionMessageId:"You've seen all available plays for this period."})})]})})};var y=n(60128),g=n(33559);let b=["scoreChange","penaltyScored","penaltyMissed","penaltySaved","faceOff","shotOffTarget","shotBlocked","shotSaved","suspension","hit"],j=["1st","2nd","3rd"],w=e=>{let{isOpen:t,periods:n,shots:l,activeTab:o,setActiveTab:c,setIsOpen:m}=e,{rootRef:h}=(0,i.useContext)(v.XM),x=(0,u.Ay)(),{isDesktop:f}=(0,a.$c)(),g=n.map((e,t)=>({tabKey:t,tabValue:(0,s.jsx)(d.fP,{id:e,short:!0})}));return(0,s.jsxs)(a.PI,{top:x,isStickingDisabled:f,bg:"surface.s1",borderBottom:"onSurface.nLv4",pb:t?"lg":"sm",elevation:{mdDown:"2"},children:[(0,s.jsx)(r.az,{p:"sm",children:(0,s.jsx)(a.tU,{variant:"secondary",initialValue:o,onChange:e=>{if(c(e),!f)if(h.current){var t;null==(t=h.current.children[0])||t.scrollTo(0,0)}else window.scrollTo(0,135)},fullWidthTabs:!0,children:(0,s.jsx)(a.tU.List,{children:g.map((e,t)=>(0,s.jsx)(a.tU.Tab,{tabKey:e.tabKey,style:{textTransform:"uppercase"},children:e.tabValue},t))})})}),(0,s.jsx)(p.A,{isOpen:t,setIsOpen:m,borderTop:"onSurface.nLv4",title:"Event Map"}),t&&(0,s.jsx)(r.az,{px:{md:"sm"},children:(0,s.jsx)(y.A,{shots:l})})]})},k=()=>{var e;let[t,n,a]=(0,m.A)("ice.hockey.playbyplay.open",!0),{textCommentary:d,periods:u}=(0,c.q)(),[p,h]=(0,i.useState)(0);(0,i.useEffect)(()=>{u.length&&h(u.length-1)},[!!u.length]);let x=u[p],y=(null==d||null==(e=d[x])?void 0:e.filter(e=>b.includes(e.type)&&!!e.location))||[],k=y.map(e=>({id:e.id,x:e.location.x,y:e.location.y,type:(0,g.rk)(e.type)}))||[];return a?(0,s.jsx)(v.v9,{comments:t?y:[],children:(0,s.jsxs)(l.Zp,{variant:"desktop-only",children:[(0,s.jsx)(l.Zp.Header,{titleId:"cricket.pbp",visibility:"desktop-only"}),(0,s.jsxs)(r.az,{position:"relative",md:{borderBottomRadius:"lg",overflow:"hidden"},children:[(0,s.jsx)(w,{periods:u.length?u:j,isOpen:t,setIsOpen:n,activeTab:p,setActiveTab:h,shots:k}),(null==d?void 0:d[x])?(0,s.jsx)(f,{comments:d[x],isOpen:t}):(0,s.jsx)(r.az,{h:"[512px]",children:(0,s.jsx)(o.a,{})})]})]})}):null}},91476:(e,t,n)=>{"use strict";n.d(t,{J:()=>s,x:()=>a});let s="bonus-odds-cta-seen",a="bet-boost-cta-seen"},92208:(e,t,n)=>{"use strict";n.d(t,{WG:()=>d,YL:()=>m,_z:()=>u,lE:()=>r,o_:()=>i});var s=n(46787);let a={EN:"GB",SX:"GB",WA:"GB",NX:"GB"},r=e=>e&&(a[e]||e),i=e=>{if(e)return e===s.YT8.Male?"Male":e===s.YT8.Female?"Female":void 0},l={en:{35:"https://en.wikipedia.org/wiki/Manchester_United_F.C.",38:"https://en.wikipedia.org/wiki/Chelsea_F.C.",1644:"https://en.wikipedia.org/wiki/Paris_Saint-Germain_F.C.",2351:"https://en.wikipedia.org/wiki/Rangers_F.C.",2687:"https://en.wikipedia.org/wiki/Juventus_F.C.",2817:"https://en.wikipedia.org/wiki/FC_Barcelona"},pt:{1963:"https://pt.wikipedia.org/wiki/Sociedade_Esportiva_Palmeiras",1966:"https://pt.wikipedia.org/wiki/Sport_Club_Internacional",5926:"https://pt.wikipedia.org/wiki/Gr%C3%AAmio_Foot-Ball_Porto_Alegrense",5981:"https://pt.wikipedia.org/wiki/Clube_de_Regatas_do_Flamengo"}},o={en:{7:"https://en.wikipedia.org/wiki/UEFA_Champions_League",8:"https://en.wikipedia.org/wiki/La_Liga",17:"https://en.wikipedia.org/wiki/Premier_League",19:"https://en.wikipedia.org/wiki/FA_Cup",23:"https://en.wikipedia.org/wiki/Serie_A",34:"https://en.wikipedia.org/wiki/Ligue_1",36:"https://en.wikipedia.org/wiki/Scottish_Premiership",328:"https://en.wikipedia.org/wiki/Coppa_Italia",329:"https://en.wikipedia.org/wiki/Copa_del_Rey",332:"https://en.wikipedia.org/wiki/Scottish_League_Cup",335:"https://en.wikipedia.org/wiki/Coupe_de_France",347:"https://en.wikipedia.org/wiki/Scottish_Cup"},pt:{325:"https://pt.wikipedia.org/wiki/Campeonato_Brasileiro_de_Futebol",373:"https://pt.wikipedia.org/wiki/Copa_do_Brasil_de_Futebol",384:"https://pt.wikipedia.org/wiki/Copa_Libertadores_da_Am%C3%A9rica"}},c={pt:{358554:"https://pt.wikipedia.org/wiki/Gabriel_Barbosa",32891:"https://pt.wikipedia.org/wiki/Mauricio_Isla",840219:"https://pt.wikipedia.org/wiki/Pedro_Guilherme_Abreu_dos_Santos",795291:"https://pt.wikipedia.org/wiki/Bruno_Henrique_Pinto",822526:"https://en.wikipedia.org/wiki/Gabriel_Batista",950454:"https://pt.wikipedia.org/wiki/Hugo_de_Souza_Nogueira",804703:"https://pt.wikipedia.org/wiki/Bruno_Viana_Willemen_da_Silva",333587:"https://pt.wikipedia.org/wiki/Giorgian_De_Arrascaeta",242213:"https://pt.wikipedia.org/wiki/Willian_Ar%C3%A3o"}},d=(e,t)=>{var n;return null==(n=l[t])?void 0:n[e]},u=(e,t)=>{var n;return null==(n=o[t])?void 0:n[e]},m=(e,t)=>{var n;return null==(n=c[t])?void 0:n[e]}}}]);