!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]="cb7296ed-0e5d-4e47-8a93-93a9ef86e7f7",e._sentryDebugIdIdentifier="sentry-dbid-cb7296ed-0e5d-4e47-8a93-93a9ef86e7f7")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[426,6523,7010,7752,9833,9979],{151:(e,t,n)=>{"use strict";n.d(t,{g:()=>r});let r=e=>e.branding.config},1840:(e,t,n)=>{"use strict";n.d(t,{z:()=>v,K:()=>f});var r=n(6029),s=n(76356),a=n(55729),l=n(494),i=n(48683),o=n(62859),d=n(77988),c=n(28349);let u=e=>{let{}=e;return(0,r.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 m=n(44450),x=n(2294),h=n(10794);let p=e=>{let{provider:t}=e;return(0,r.jsx)(s.az,{position:"relative",px:"lg",py:"sm",children:(0,r.jsx)(d.A,{provider:t})})},v=e=>{let{showTailingRegulation:t,provider:n}=e,a=(0,l.d4)(h.LQ);return(0,l.d4)(x.BF)?null:"GR"===a&&t?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(s.so,{justify:"center",children:(0,r.jsx)(m.A,{})}),(0,r.jsx)(p,{provider:n})]}):"AR"===a?(0,r.jsxs)(s.BJ,{gap:"sm",children:[(0,r.jsx)(p,{provider:n}),(0,r.jsx)(u,{})]}):(0,r.jsx)(p,{provider:n})},f=e=>{let{showTailingRegulation:t,provider:n}=e,{event:d}=(0,a.useContext)(o.y$),c=(0,l.d4)((0,x.Ul)(d)),u=(0,l.d4)((0,x.bS)(d)),m=(0,l.d4)(x.BF);return c||u||m?(0,r.jsx)(i.Zp,{children:(0,r.jsx)(s.az,{p:"xs",children:(0,r.jsx)(v,{showTailingRegulation:t,provider:n})})}):null}},6244:(e,t,n)=>{"use strict";n.d(t,{l:()=>c,W:()=>u});var r=n(6029),s=n(21377),a=n(28349),l=n(62042),i=n(76356),o=n(67628);let d=(0,l.Fj)({base:{display:"inline-block",borderRadius:"md",px:"sm"},variants:{groundType:{[s.QWe.HardcourtIndoor]:{bg:"tennis.terrain.hardcourtIndoor"},[s.QWe.HardcourtOutdoor]:{bg:"tennis.terrain.hardcourtOutdoor"},[s.QWe.Hard]:{bg:"tennis.terrain.hardcourtOutdoor"},[s.QWe.CarpetIndoor]:{bg:"tennis.terrain.default"},[s.QWe.Grass]:{bg:"tennis.terrain.grass"},[s.QWe.Clay]:{bg:"tennis.terrain.clay"},[s.QWe.RedClay]:{bg:"tennis.terrain.clay"},[s.QWe.SyntheticOutdoor]:{bg:"tennis.terrain.default"},default:{bg:"tennis.terrain.default"}}}}),c=(0,i.I4)("div",d),u=e=>{let{groundType:t}=e;return t?(0,r.jsx)(c,{groundType:t,children:(0,r.jsx)(a.EY,{display:"block",textStyle:"assistive.default",h:"lg",color:"surface.s1",children:(0,r.jsx)(o.n,{id:t})})}):null}},8960:(e,t,n)=>{"use strict";n.d(t,{A:()=>c,d:()=>u});var r=n(21377),s=n(494),a=n(45860),l=n(19451),i=n(2294),o=n(10794),d=n(30479);let c=(e,t)=>{let[n]=(0,d.Ay)({routeKey:l.xW.Betting,params:{}}),s=(null==n?void 0:n.boostId)?+n.boostId:void 0,i=null==t?void 0:t.betBoosts.find(e=>e.event.id===s),{data:o}=(0,a.Ay)(s&&!i?r.bnp.betBoost(s,e):null);return{selectedBoost:null==o?void 0:o.betBoost,selectedEventId:s}},u=()=>{let e=(0,s.d4)(o.LQ);return(0,s.d4)(i.Zw)&&"IT"!==e}},9869:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(6029),s=n(9127),a=n(41735);let l=({x:e,y:t})=>{let{colors:n}=(0,a.useTheme)();return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(s.m.circle,{fill:n.surface.s1,r:"6",animate:{cx:e,cy:t}}),(0,r.jsx)(s.m.circle,{fill:n.success.default,r:"4",animate:{cx:e,cy:t}})]})}},10426:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>Y});var r=n(6029),s=n(32523),a=n(21377),l=n(55729),i=n(62859),o=n(75751),d=n(83457),c=n(48683),u=n(99064),m=n(90248),x=n(8703),h=function(e){return e.All="all",e.KeyEvents="key-events",e}({});let p=e=>[a.QCR.AmericanFootball,a.QCR.Basketball].includes(e),v=e=>{let{selectedTab:t,onTabChange:n}=e,{event:s}=(0,l.useContext)(i.y$),a=p((0,x.c5)(s));return(0,r.jsx)(u.tU,{variant:"quaternary",initialValue:h.All,value:t,onChange:n,children:(0,r.jsxs)(u.tU.List,{p:"sm",elevation:[2,void 0],borderBottom:a?void 0:"onSurface.nLv4",bg:["surface.s1",void 0],children:[(0,r.jsx)(u.tU.Tab,{tabKey:h.All,children:(0,r.jsx)(m.A,{id:"basic.all"})}),(0,r.jsx)(u.tU.Tab,{tabKey:h.KeyEvents,children:(0,r.jsx)(m.A,{id:"commentary_key_events"})})]})})};var f=n(76356),j=n(25811),g=n(87763),y=n(12047);let b=e=>{let{periods:t,selectedPeriod:n,onPeriodChange:s}=e,a=(0,l.useContext)(i.Ws),o=(0,y.Ay)();return t.length&&p(a)?(0,r.jsx)(u.PI,{top:o,bg:"surface.s1",zIndex:u.Py.Sticky-1,children:(0,r.jsx)(f.az,{p:"sm",bg:"surface.s1",borderBottom:"1px solid {colors.neutrals.nLv4}",children:(0,r.jsx)(j.n,{activeTabKey:n,onChange:s,tabs:t.map(e=>({tabKey:e,tabValue:(0,r.jsx)(g.fP,{id:e,short:!0})})),variant:"secondary"})})}):null};var w=n(28349),k=n(23727),C=n(45860);let S=()=>{let{event:e}=(0,l.useContext)(i.y$),t=(0,d.j)((0,x.c5)(e)),{data:n}=(0,C.Ay)(t?a.bnp.commentary(e.id,t):null,(0,x.rf)(e));return{drives:null==n?void 0:n.drives}};var A=n(88836),I=n(98368);let T=e=>{let{event:t}=(0,l.useContext)(i.y$),n=e.isHome?t.homeTeam:t.awayTeam,r=e.player,s=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:r,title:s,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,I.XE)(n,t)}(e,t)}},z=e=>{let{comment:t}=e,{player:n,team:s,title:a,text:l,downDistance:i}=T(t);return(0,r.jsxs)(f.so,{children:[(0,r.jsx)(A.JJ,{comment:t}),(0,r.jsxs)(A.cH,{bg:"surface.s0",image:n&&(0,r.jsx)(A.Ez,{id:n.id,teamId:s.id}),players:[n],children:[a&&(0,r.jsx)(A.SI,{children:a}),l&&(0,r.jsx)(A.jv,{children:l}),i&&(0,r.jsx)(A.jv,{secondary:!0,children:i})]})]})},R=e=>{let{comments:t}=e;return(0,r.jsx)(f.so,{direction:"column",gap:"lg",p:"lg",children:t.map(e=>(0,r.jsx)(z,{comment:e},e.id))})};var P=n(33144),E=n(4967);let H=e=>{let{drive:t}=e;return(0,r.jsxs)(f.so,{gap:"lg",align:"center",children:[(0,r.jsx)(P.p,{id:t.teamId,w:32,h:32}),(0,r.jsxs)(f.so,{direction:"column",align:"flex-start",children:[(0,r.jsx)(w.EY,{textStyle:"display.medium",color:null!==t.endReason?"neutrals.nLv1":"status.live",children:t.endReason||(0,r.jsx)(m.A,{id:"inProgress"})}),(0,r.jsx)(w.EY,{textStyle:"assistive.default",color:"neutrals.nLv3",children:(0,r.jsx)(m.A,{id:"am_football_drive_summary",values:{plays:t.playCount,yards:t.netDriveYards,time:(0,E.OV)(t.durationSeconds)}})})]})]})},M=e=>{let{comment:t,drive:n,defaultOpened:s=!1}=e;return(0,r.jsxs)(u.nD.Item,{defaultOpened:s,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,r.jsx)(u.nD.Trigger,{children:(0,r.jsx)(H,{drive:n})}),(0,r.jsx)(u.nD.Content,{children:(0,r.jsx)(R,{comments:t})})]})},L=e=>{let{comment:t}=e,{player:n,team:s,title:a,text:l,downDistance:i}=T(t);return(0,r.jsxs)(f.so,{children:[(0,r.jsx)(A.JJ,{comment:t}),(0,r.jsxs)(A.cH,{image:n&&(0,r.jsx)(A.Ez,{id:n.id,teamId:s.id}),players:[n],elevation:{mdDown:"2"},children:[a&&(0,r.jsx)(A.SI,{children:a}),l&&(0,r.jsx)(A.jv,{children:l}),i&&(0,r.jsx)(A.jv,{secondary:!0,children:i})]})]})},F=e=>{let{comment:t}=e,{player:n,team:s,title:a,text:l,downDistance:i}=T(t);return(0,r.jsxs)(f.so,{br:"lg",elevation:{mdDown:"2"},bg:{mdDown:"surface.s1"},py:{md:"md"},px:{md:"lg"},children:[(0,r.jsx)(A.JJ,{comment:t}),(0,r.jsxs)(A.cH,{bg:{base:"surface.s1",md:"surface.s0"},image:n&&(0,r.jsx)(A.Ez,{id:n.id,teamId:s.id}),players:[n],children:[a&&(0,r.jsx)(A.SI,{children:a}),l&&(0,r.jsx)(A.jv,{children:l}),i&&(0,r.jsx)(A.jv,{secondary:!0,children:i})]})]})},B=e=>{let{selectedTab:t,selectedPeriod:n,comments:s,periods:a}=e,{drives:l}=S();if(t===h.KeyEvents)return(0,r.jsx)(f.so,{p:"md",direction:"column",gap:"md",children:s.map(e=>(0,r.jsx)(L,{comment:e},e.id))});let i=s.findIndex(e=>!!Array.isArray(e)||void 0!==e.driveId);return(0,r.jsx)(u.nD,{children:(0,r.jsxs)(f.so,{p:{mdDown:"md"},direction:"column",gap:{mdDown:"md"},children:[(0,r.jsx)(f.az,{hideBelow:"md",children:(0,r.jsx)(f.cG,{})}),s.map((e,t)=>{let s=function(e){return Array.isArray(e)?e:[e]}(e),o=function(e,t){return void 0===e||void 0===t?null:t.find(t=>t.id===e)}(s[0].driveId,l);return o?(0,r.jsx)(M,{comment:s,drive:o,defaultOpened:function(e,t,n){return 0!==e.length&&[e[0],e[e.length-1]].includes(t)&&n}(a||[],n,i===t)},s[0].id):(0,r.jsx)(F,{comment:s[0]},s[0].id)})]})})};var _=n(65078);let O={freeThrowMade:"basketball_free_throw_made",twoPointMade:"basketball_two_points_made",threePointMade:"basketball_three_points_made"},D=e=>{let{comment:t}=e,{event:n}=(0,l.useContext)(i.y$),{homeTeam:s,awayTeam:a}=n,o="ownGoal"===t.goalType,d="penalty"===t.goalType,c=!o&&!d,u=t.player,x=t.isHome?s.id:a.id;return u?(0,r.jsxs)(A.hF,{children:[(0,r.jsx)(A.JJ,{comment:t}),(0,r.jsxs)(A.cH,{image:(0,r.jsx)(A.Ez,{id:u.id,teamId:x}),players:[u],children:[(0,r.jsx)(A.SI,{isUppercase:c,children:c?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(m.A,{id:"goal"}),"!"]}):(0,r.jsx)(m.A,{id:t.goalType})}),(0,r.jsx)(A.jv,{children:t.text})]})]}):null},Q=e=>{let{comment:t}=e,{event:n}=(0,l.useContext)(i.y$),s=t.isHome?n.homeTeam:n.awayTeam;return t.playerIn&&t.playerOut?(0,r.jsxs)(A.hF,{children:[(0,r.jsx)(A.JJ,{comment:t}),(0,r.jsxs)(A.cH,{image:(0,r.jsx)(P.p,{size:24,id:s.id,name:s.name}),players:[t.playerIn,t.playerOut],children:[(0,r.jsx)(A.SI,{children:(0,r.jsx)(m.A,{id:"substitution"})}),(0,r.jsxs)(A.Pc,{image:(0,r.jsx)(A.Ez,{id:t.playerIn.id,small:!0}),children:[t.playerIn.name,(0,r.jsxs)(w.EY,{ml:"2xs",textStyle:"body.small",color:"secondary.default",children:["(",(0,r.jsx)(m.A,{id:"substitution.in"}),")"]})]}),(0,r.jsxs)(A.Pc,{image:(0,r.jsx)(A.Ez,{id:t.playerOut.id,small:!0}),children:[t.playerOut.name,(0,r.jsxs)(w.EY,{ml:"2xs",textStyle:"body.small",color:"status.error.default",children:["(",(0,r.jsx)(m.A,{id:"substitution_out"}),")"]})]})]})]}):null};var K=n(30566),W=n(20294);let G={[a.QCR.Football]:e=>{let{comment:t}=e;switch(t.type){case"scoreChange":case"penaltyScored":return(0,r.jsx)(D,{comment:t});case"substitution":return(0,r.jsx)(Q,{comment:t});default:return(0,r.jsx)(K.b,{comment:t})}},[a.QCR.Basketball]:function(e){let{comment:t}=e,{event:n}=(0,l.useContext)(i.y$),[s,a]=(0,_.jr)(t,"homeScore","awayScore"),{isHome:o,player:d,playerIn:c,playerOut:u,goalkeeper:x}=t,h=void 0===o?void 0:o?n.homeTeam:n.awayTeam,p=d&&(0,r.jsx)(A.Ez,{id:d.id,teamId:null==h?void 0:h.id}),v=function(e){if("scoreChange"===e.type&&e.goalType)return O[e.goalType]}(t),f=t.text,j="scoreChange"===t.type&&!!(null==h?void 0:h.nameCode)&&void 0!==s&&void 0!==a;return(0,r.jsxs)(A.hF,{children:[(0,r.jsx)(A.JJ,{comment:t}),(0,r.jsxs)(A.cH,{image:p,players:[d,c,u,x],children:[v&&(0,r.jsx)(A.SI,{children:(0,r.jsx)(m.A,{id:v})}),f&&(0,r.jsx)(A.jv,{children:f}),j&&(0,r.jsx)(w.EY,{textStyle:"assistive.default",color:"neutrals.nLv3",children:"".concat(h.nameCode," ").concat(s," - ").concat(a)})]})]})},[a.QCR.IceHockey]:W.y},N=e=>{let{comments:t}=e,n=G[(0,l.useContext)(i.Ws)];return(0,r.jsx)(f.so,{p:"md",direction:"column",gap:"md",children:t.map(e=>(0,r.jsx)(n,{comment:e},e.id))})},V=e=>{let{selectedTab:t,selectedPeriod:n,comments:s,periods:o}=e;return(0,l.useContext)(i.Ws)===a.QCR.AmericanFootball?(0,r.jsx)(B,{selectedTab:t,selectedPeriod:n,comments:s,periods:o}):(0,r.jsx)(N,{comments:s})},U=e=>{let{selectedTab:t,selectedPeriod:n,comments:s,periods:o}=e,{isMobile:d}=(0,w.$c)(),{event:u,location:m}=(0,l.useContext)(i.y$),[p,v]=(0,l.useState)(!1),f=function(e,t,n){return t===h.KeyEvents?n.filter(e=>Object.values(a.zZK).includes(e.type)):e===a.QCR.AmericanFootball?function(e){let t=[],n=null,r=null;for(let s of e)void 0!==s.driveId?(s.driveId!==r&&(n=[],t.push(n),r=s.driveId),n&&n.push(s)):(t.push(s),r=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,x.c5)(u),t,s),j=m&&[i.cb.EventPage].includes(m)&&f.length>10&&!d;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(V,{selectedTab:t,selectedPeriod:n,comments:function(e,t){return t?e:e.slice(0,10)}(f,p||d||m===i.cb.Widget),periods:o}),(0,r.jsx)(c.Zp.Footer,{ctaParams:j?{messageId:p?"show_less":"show_more",onClick:()=>v(e=>!e),icon:p?k.X.Up:k.X.Down}:void 0,defaultHeight:{base:"[0px]",md:"lg"}})]})},$=e=>{let{periodComments:t,periods:n}=e,s=(0,l.useContext)(i.Ws),{location:o}=(0,l.useContext)(i.y$),d=o===i.cb.Widget,[u,m]=(0,l.useState)(s===a.QCR.Basketball&&n.length?n[n.length-1]:"all"),[x,p]=(0,l.useState)(h.All),f=t[u];return(0,r.jsxs)(c.Zp,{variant:d?"never":"desktop-only",children:[!d&&(0,r.jsx)(c.Zp.Header,{titleId:"commentary",visibility:"desktop-only"}),(0,r.jsx)(b,{periods:n,selectedPeriod:u,onPeriodChange:m}),s!==a.QCR.Basketball&&(0,r.jsx)(v,{selectedTab:x,onTabChange:p}),(0,r.jsx)(U,{selectedTab:x,selectedPeriod:u,comments:f,periods:n})]})},Y=()=>{let e=(0,l.useContext)(i.Ws),{textCommentary:t,periods:n}=(0,d.q)(e!==a.QCR.Basketball);return t?(0,r.jsx)(o.t,{tag:"TextCommentary",children:(0,r.jsx)($,{periodComments:t,periods:n})}):(0,r.jsx)(s.E,{uniqueKey:"text-commentary-container-cl",rows:10,rowHeight:56,animate:!0})}},11791:(e,t,n)=>{"use strict";n.d(t,{KO:()=>a,Qe:()=>i,tV:()=>l});var r=n(494),s=n(2294);let a=(e,t)=>null==e?void 0:e.map(e=>{var n,r,s,a,l,i,o,d;let c=e.provider;return t?{id:c.id,oddsFromId:null!=(o=null!=(i=null==(s=c.liveOddsFrom)?void 0:s.id)?i:null==(a=c.oddsFrom)?void 0:a.id)?o:c.id,fallbackProviderId:null==(l=e.fallbackProvider)?void 0:l.id}:{id:c.id,oddsFromId:null!=(d=null==(n=c.oddsFrom)?void 0:n.id)?d:c.id,fallbackProviderId:null==(r=e.fallbackProvider)?void 0:r.id}}),l=e=>a((0,r.d4)(s.hB),e),i=e=>a((0,r.d4)(s.SM),e)},13731:(e,t,n)=>{var r=n(53325),s=n(25725),a=Object.prototype.hasOwnProperty;e.exports=s(function(e,t,n){a.call(e,n)?e[n].push(t):r(e,n,[t])})},14444:(e,t,n)=>{"use strict";n.d(t,{b4:()=>h,V3:()=>i,HM:()=>g,k9:()=>d,HI:()=>o});var r=n(6029),s=n(55729),a=n(83260);let l=(0,s.createContext)(void 0),i=e=>{let{children:t,persistKey:n}=e,[s,i]=(0,a.A)(n,[]);return(0,r.jsx)(l.Provider,{value:{recentlySelected:s,setRecentlySelected:i},children:t})},o=()=>{let e=(0,s.useContext)(l);if(void 0===e)throw Error("useRecentSearch must be used within a RecentSearchesProvider");return{recentlySelected:e.recentlySelected,addToRecentlySelected:t=>{let n=e.recentlySelected.filter(e=>e.id!==t.id).slice(0,4),r=[t,...n];e.setRecentlySelected(r)},removeFromRecentlySelected:t=>{let n=e.recentlySelected.filter(e=>e.id!==t.id);e.setRecentlySelected(n)}}};function d(e,t,n,r){return e.length?e.length===(null==n?void 0:n.length)&&e.length===(null==t?void 0:t.length)&&e.length===(null==r?void 0:r.length)?{ids:e.map(e=>null!=e?e:"_").join(","),ut_ids:null==n?void 0:n.map(e=>null!=e?e:"_").join(","),s_ids:null==t?void 0:t.map(e=>null!=e?e:"_").join(","),s_types:null==r?void 0:r.map(e=>null!=e?e:"_").join(",")}:{ids:e.map(e=>null!=e?e:"_").join(",")}:{}}var c=n(94446),u=n(99064),m=n(54409),x=n(24159);let h=e=>{let{player:t,onPlayerClick:n,onRemoveClick:s}=e;return(0,r.jsxs)(u.so,{onClick:()=>n(t),h:"56px",align:"center",cursor:"pointer",children:[(0,r.jsx)(c.t,{id:t.id,name:t.name,size:40,grayscale:t.deceased}),(0,r.jsxs)(u.so,{direction:"column",justify:"center",h:"100%",gap:"xs",grow:1,pl:"sm",children:[(0,r.jsx)(u.EY,{font:"body.medium",color:"onSurface.nLv1",ellipsis:!0,maxW:["250px","130px"],children:(0,r.jsx)(x.c,{entity:t})}),(0,r.jsxs)(u.so,{align:"center",gap:"sm",children:[(0,r.jsx)(c.p,{id:t.team.id,size:16}),(0,r.jsx)(u.EY,{font:"assistive.default",color:"onSurface.nLv3",lineHeight:1,ellipsis:!0,maxW:["300px","120px"],children:(0,r.jsx)(x.c,{entity:t.team})})]})]}),void 0!==s&&(0,r.jsx)(u.$n,{onClick:e=>{e.stopPropagation(),e.preventDefault(),null==s||s(t)},variant:"unshielded",size:"xs",p:"xs",style:{borderRadius:"50%"},children:(0,r.jsx)(m.zQC,{icon:"close",width:16,height:16,fill:"neutral.default"})})]})};var p=n(49519),v=n(21377),f=n(98449),j=n(94604);let g=e=>{var t,n,s,a,l,i,o,d,c;let{team:x,onTeamClick:h,onRemoveClick:g}=e,y=(null==(t=x.sport)?void 0:t.slug)===v.QCR.Tennis;return(0,r.jsxs)(u.so,{gap:"sm",onClick:()=>h(x),align:"center",cursor:"pointer",py:"sm",children:[(0,r.jsx)(p.p,{id:x.id,name:x.name,size:40}),(0,r.jsxs)(u.so,{direction:"column",gap:"xs",grow:1,children:[(0,r.jsx)(u.EY,{font:"body.medium",color:"onSurface.nLv1",children:(0,r.jsx)(j.Rm,{team:x,showFemaleSuffix:x.gender===v.YT8.Female&&!y})}),!x.national&&(null==(n=x.country)?void 0:n.slug)&&(null==(s=x.country)?void 0:s.name)&&!y&&(0,r.jsxs)(u.so,{align:"center",gap:"sm",children:[(0,r.jsx)(p.w,{size:16,alpha2:null==(a=x.country)?void 0:a.alpha2,name:null==(l=x.country)?void 0:l.name}),(0,r.jsx)(u.EY,{font:"assistive.default",color:"onSurface.nLv3",lineHeight:1,children:(0,r.jsx)(f.m,{slug:x.country.slug,name:x.country.name})})]}),y&&x.country&&x.country.name&&(0,r.jsxs)(u.so,{align:"center",gap:"xs",children:[(0,r.jsx)(p.w,{size:16,alpha2:null==(i=x.country)?void 0:i.alpha2,name:null==(o=x.country)?void 0:o.name}),(0,r.jsx)(u.EY,{font:"assistive.default",color:"onSurface.nLv3",lineHeight:1,children:(0,r.jsx)(f.m,{name:x.country.name,slug:null!=(c=null==(d=x.country)?void 0:d.slug)?c:x.country.name})})]})]}),void 0!==g&&(0,r.jsx)(u.$n,{onClick:e=>{e.stopPropagation(),e.preventDefault(),null==g||g(x)},variant:"unshielded",size:"xs",p:"xs",style:{borderRadius:"50%"},children:(0,r.jsx)(m.zQC,{icon:"close",width:16,height:16,fill:"neutral.default"})})]})}},18642:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(6029),s=n(21377),a=n(9869),l=n(63801);let i=({shotCoordinates:e})=>(0,r.jsx)("g",{children:e.map((e,t)=>e.type===s.Dme.Made?(0,r.jsx)(a.A,{x:e.x,y:e.y},t):(0,r.jsx)(l.A,{x:e.x,y:e.y},t))})},25725:(e,t,n)=>{var r=n(81648),s=n(78492),a=n(68988),l=n(91544);e.exports=function(e,t){return function(n,i){var o=l(n)?r:s,d=t?t():{};return o(n,e,a(i,2),d)}}},27601:(e,t,n)=>{"use strict";n.d(t,{B:()=>d,U:()=>o});var r=n(28349),s=n(79263),a=n(54988);let l=[{marketName:"Full time",choiceGroup:""},{marketName:"Double chance",choiceGroup:""}],i=(e,t,n)=>{let r={};null==e||e.forEach((e,n)=>{var s;null==(s=e.markets)||s.forEach(e=>{r[e.marketName]||(r[e.marketName]={});let s=e.choiceGroup||"";r[e.marketName][s]||(r[e.marketName][s]=[]);let a=r[e.marketName][s][n];a&&(a.isLive===t||e.isLive!==t)||(r[e.marketName][s][n]=e)})});let s=[];return Object.keys(r).forEach(e=>{Object.keys(r[e]).forEach(t=>{(!n||r[e][t].length>=n)&&s.push({marketName:e,choiceGroup:t})})}),{groupedOdds:r,availableMarkets:s}},o=(e,t,n)=>{var r;let{data:a,error:l,isLoading:o}=(0,s.j)(e,t,n),{groupedOdds:d,availableMarkets:c}=i(null==a?void 0:a.providerOdds,n);if(!c.length)return{odds:void 0,marketName:void 0,error:l,isLoading:o};let u=null!=(r=c.find(e=>"Full time"===e.marketName))?r:c[0];return{odds:d[u.marketName][u.choiceGroup],oddsMayDiffer:null==a?void 0:a.oddsMayDiffer,marketName:u.marketName,error:l,isLoading:o}},d=(e,t,n)=>{let{data:o,error:d,isLoading:c}=(0,s.j)(e,t,n),{isDesktopLarge:u}=(0,r.$c)(),{groupedOdds:m,availableMarkets:x}=i(null==o?void 0:o.providerOdds,n),h=l.filter(e=>x.find(t=>t.marketName===e.marketName&&t.choiceGroup===e.choiceGroup)).slice(0,u?2:1),p=new Set;return(h.length||c)&&(null==e?void 0:e.length)?(h.forEach(e=>{m[e.marketName][e.choiceGroup].forEach(e=>{e.choices.forEach(e=>{a.Vj.includes(e.name)&&p.add(e.name)})})}),{odds:null==e?void 0:e.map((e,t)=>h.map(e=>m[e.marketName][e.choiceGroup][t]).filter(Boolean)),markets:h,choiceNames:a.Vj.filter(e=>p.has(e)),error:d,isLoading:c}):{odds:void 0,markets:h,choiceNames:[],error:!0,isLoading:!1}}},29772:(e,t,n)=>{"use strict";n.r(t),n.d(t,{getClampedShotActions:()=>i});var r=n(18130),s=n(43139);let a=(0,s.A)().domain([-250,250]).range([0,r.f7]),l=(0,s.A)().domain([-51,411]).range([0,r.IV]),i=e=>({clampedShotActions:e.map(e=>{let[t,n]=function(e){let t=a(e.x),n=l(e.y);return n>=r.IV-11&&(n=r.IV-8),t>=r.f7&&(t=r.f7-4),[t,n]}(e);return Object.assign(Object.assign({},e),{x:t,y:n})})})},34199:(e,t,n)=>{"use strict";n.d(t,{eD:()=>a.e,l3:()=>s.l,pY:()=>r.p});var r=n(91603),s=n(37721),a=n(33480)},36452:(e,t,n)=>{"use strict";n.d(t,{b:()=>u,h:()=>i});var r=n(6029),s=n(21377),a=n(93338),l=n(50303);let i=e=>{let{x:t,y:n,type:l,color:i,isSelected:o,backgroundOpacity:d,opacity:c}=e,u=i&&a.S.var(i);return(0,r.jsxs)("g",{opacity:c,children:[(0,r.jsx)("circle",{cx:t,cy:n,r:o?8:6,stroke:u,strokeWidth:1,fill:o?"#fff":a.S.var("colors.homeAway.shotFill"),fillOpacity:d}),l===s.Dme.Made&&(0,r.jsx)("circle",{cx:t,cy:n,r:o?6:4,fill:u}),l===s.Dme.Saved&&(0,r.jsx)("circle",{cx:t,cy:n,r:o?3:2,fill:u}),l===s.Dme.Blocked&&(0,r.jsx)("rect",{x:t-4,y:n-1,width:8,height:2,fill:u})]})},o=e=>{let{x:t,y:n,color:s,opacity:l,isSelected:i}=e,o=s&&a.S.var(s);return i?(0,r.jsxs)("g",{transform:"translate(".concat(t-10," ").concat(n-10,")"),fill:"none",fillRule:"evenodd",children:[(0,r.jsx)("circle",{fill:"#fff",transform:"rotate(90 9.9 9.9)",cx:"9.899",cy:"9.899",r:"8"}),(0,r.jsx)("circle",{fill:o,cx:"9.899",cy:"9.899",r:"1.5"}),(0,r.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,r.jsx)("path",{stroke:o,strokeWidth:"1.5",d:"M9.9 6.9v-4M9.9 16.9v-4M2.9 9.9h4M12.9 9.9h4"})]}):(0,r.jsxs)("g",{fill:"none",fillRule:"evenodd",transform:"translate(".concat(t-8.5," ").concat(n-8.5,")"),opacity:l,children:[(0,r.jsx)("circle",{stroke:o,fillOpacity:l,fill:o,cx:"8.485",cy:"8.485",r:"1"}),(0,r.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,r.jsx)("path",{stroke:o,d:"M8.485 5.985v-3M8.485 13.985v-3M2.985 8.485h3M10.985 8.485h3"})]})},d=e=>{let{x:t,y:n,color:s,opacity:l,isSelected:i}=e,o=i?10:9,d=s&&a.S.var(s);return(0,r.jsx)("path",{transform:"translate(".concat(t-o," ").concat(n-o,")"),d:i?"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:d,fillOpacity:l,fillRule:"evenodd"})},c=e=>{let{x:t,y:n,color:s,isSelected:l}=e,i=s&&a.S.var(s);return l?(0,r.jsxs)("g",{children:[(0,r.jsx)("circle",{fillOpacity:".15",fill:i,r:"8",cx:t,cy:n}),(0,r.jsx)("circle",{fill:i,r:"3",cx:t,cy:n}),(0,r.jsx)("circle",{fill:"#fff",r:"2",cx:t,cy:n})]}):null};function u(e){let t=(0,l.P7)(),n=e.isSelected?t:"colors.neutrals.nLv3",a=e.isSelected?1:.5;switch(e.type){case s.Dme.Made:case s.Dme.Saved:case s.Dme.Blocked:case s.Dme.Missed:return(0,r.jsx)(i,{...e,color:n,opacity:a,isSelected:e.isSelected});case s.Dme.Hit:return(0,r.jsx)(o,{...e,color:n,opacity:a,isSelected:e.isSelected});case s.Dme.Suspension:return(0,r.jsx)(d,{...e,color:n,opacity:a,isSelected:e.isSelected});case s.Dme.FaceOff:return(0,r.jsx)(c,{...e,color:n,opacity:a,isSelected:e.isSelected});default:return null}}},39979:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>A});var r=n(6029),s=n(34199),a=n(21377),l=n(28349),i=n(76356),o=n(55729),d=n(90510),c=n(45860),u=n(48683),m=n(62859),x=n(22648),h=n(58775),p=n(13266),v=n(1840),f=n(5546),j=n(80925),g=n(94604),y=n(10234),b=n(49821),w=n(85304),k=n(41618);let C=e=>{var t,n;let{team:a}=e,o=null==(t=a.subTeams)?void 0:t[0],d=null==(n=a.subTeams)?void 0:n[1];return(0,r.jsxs)(i.so,{direction:"column",align:"center",flex:"[1 0 0px]",overflow:"hidden",children:[o&&d?(0,r.jsxs)(i.so,{align:"center",justify:"center",gap:"[10px]",mb:"xs",children:[(0,r.jsx)(s.pY,{id:o.id,name:o.name,size:24},o.id),(0,r.jsx)(s.pY,{id:d.id,name:d.name,size:24},d.id)]}):(0,r.jsx)(s.pY,{id:a.id,name:a.name,size:24}),o&&d?[(0,r.jsx)(l.EY,{truncate:!0,textStyle:"assistive.default",w:"100%",textAlign:"center",children:(0,r.jsx)(g.Rm,{team:o,short:!0})},o.id),(0,r.jsx)(l.EY,{truncate:!0,textStyle:"assistive.default",w:"100%",textAlign:"center",children:(0,r.jsx)(g.Rm,{team:d,short:!0})},d.id)]:(0,r.jsx)(l.EY,{truncate:!0,textStyle:"assistive.default",w:"100%",textAlign:"center",children:(0,r.jsx)(g.Rm,{team:a})})]})},S=e=>{let{provider:t,market:n,onClick:s}=e,{isMobile:a}=(0,l.$c)(),o=n.event;return(0,r.jsxs)(i.az,{bg:"surface.s1",p:"sm",children:[(0,r.jsx)(p.tj,{event:o,children:(0,r.jsxs)(i.so,{justify:"center",align:"center",_hover:{bg:"neutrals.nLv4"},cursor:"pointer",p:"xs",mb:"xs",br:"sm",children:[(0,r.jsx)(C,{team:o.homeTeam}),(0,r.jsxs)(i.so,{direction:"column",justify:"center",align:"center",mx:"md",flex:"[1 0 0px]",children:[(0,r.jsx)(l.EY,{textStyle:"display.medium",children:(0,r.jsx)(d.ib,{value:1e3*o.startTimestamp})}),(0,r.jsx)(l.EY,{textStyle:"assistive.default",color:"neutrals.nLv3",children:(0,r.jsx)(d.XU,{value:1e3*o.startTimestamp})})]}),(0,r.jsx)(C,{team:o.awayTeam})]})}),(0,r.jsx)(i.az,{mb:"-xs",children:(0,r.jsx)(w.A,{selectedProvider:t,market:n,onClick:s,hideMarketName:!0,secondary:a})})]})},A=(0,o.forwardRef)((e,t)=>{var n,d;let{preferRecommendedPrematch:g,showHeader:w}=e,{event:C,location:A}=(0,o.useContext)(m.y$),{isMobile:I}=(0,l.$c)(),[T,z]=(0,o.useState)(!1),R=(0,f.F0)(C),[P]=(0,j.Z)(R),E=null==(n=C.tournament)?void 0:n.id,H=null==(d=C.tournament)?void 0:d.category.sport.slug,M=P&&E,L=A===m.cb.Widget,{data:F,error:B}=(0,c.Ay)(M?a.npy.recommendedPrematch(P,E):null),_=!g&&B&&P&&H,{data:O,error:D}=(0,c.Ay)(_?a.npy.recommendedPrematchTopVoted(P,H):null),Q=F||O,K=(0,o.useMemo)(()=>{let e=null==Q?void 0:Q.odds.filter(e=>e.id!==C.id);return T?e:null==e?void 0:e.slice(0,4)},[Q,T]),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:N}=(0,b.kW)({type:b.jF.Compliance,countryOddsProvider:R}),V=I||A!==m.cb.EventPage;return K?(0,r.jsxs)(i.az,{ref:G,children:[(0,r.jsxs)(u.Zp,{variant:"desktop-only",children:[w&&(0,r.jsx)("div",{ref:t,children:(0,r.jsx)(u.Zp.Header,{titleId:"featured_odds"})}),(0,r.jsx)(i.so,{justify:"flex-end",align:"center",p:"sm",children:(0,r.jsx)(k.$,{provider:R})}),(0,r.jsxs)(i.BJ,{gap:"sm",px:{mdDown:"sm",md:L?"sm":void 0},children:[W&&Object.keys(W).map((e,t)=>{var n;let a=W[+e],o=a[0].event;return(0,r.jsx)(u.Zp,{variant:"mobile-only",children:(0,r.jsxs)(i.az,{px:{md:"sm"},pb:"md",borderTop:t?"1px solid {colors.neutrals.nLv4}":void 0,children:[(0,r.jsxs)(i.so,{justify:"center",align:"center",px:"lg",py:"md",children:[o.tournament.uniqueTournament?(0,r.jsx)(s.eD,{id:o.tournament.uniqueTournament.id,size:24}):(0,r.jsx)(s.l3,{id:o.tournament.id,size:24}),(0,r.jsx)(p.Mq,{tournament:o.tournament,seasonId:null==(n=o.season)?void 0:n.id,children:(0,r.jsx)(l.EY,{textStyle:"display.micro",ml:"lg",_hover:{color:"neutrals.nLv3"},children:(0,r.jsx)(y.J,{tournament:o.tournament})})})]}),(0,r.jsx)(i.BJ,{gap:"[1px]",bg:"neutrals.nLv4",children:a.map(e=>(0,r.jsx)(S,{provider:R,market:e,onClick:N(e.marketName,b.ki.OddsValue)},e.id))})]})},e)}),(null==Q?void 0:Q.odds.length)&&Q.odds.length>4&&(0,r.jsx)(h.d,{isOpen:T,onClick:()=>z(!T)})]})]}),V&&(0,r.jsx)(i.az,{mt:"sm",children:(0,r.jsx)(v.z,{provider:R})})]}):B&&D?null:(0,r.jsx)(x.a,{})})},41618:(e,t,n)=>{"use strict";n.d(t,{r:()=>u,$:()=>x});var r=n(6029),s=n(21377),a=n(28349),l=n(76356),i=n(55729),o=n(62859),d=n(61836),c=n(49821);function u(e){let{selectedProvider:t,location:n,onClick:u,logClick:m=!0,size:x="56x28"}=e,h=null==t?void 0:t.provider,p=null==t?void 0:t.branded,v=null==t?void 0:t.provider.slug,{location:f}=(0,i.useContext)(o.y$),[j,g]=x.split("x"),y=n||f;return h&&p?(0,r.jsx)(l.I4.a,{display:"flex",justifyContent:"center",alignItems:"center",br:"xs",rel:"noopener noreferrer",target:"_blank",href:t.defaultBetSlipLink||h.defaultBetSlipLink,onClick:e=>{e.stopPropagation(),null==u||u(),m&&(0,d.Fe)({location:y,provider:v,position:c.ki.ProviderLogo})},style:{background:h.colors.primary,width:"".concat(j,"px"),height:"".concat(g,"px")},children:(0,r.jsx)(a._V,{src:s.npy.providerImage(h.id),alt:h.name||"",style:{width:"".concat(j,"px"),height:"auto"}})}):null}var m=n(90248);let x=e=>{let{provider:t}=e;return(null==t?void 0:t.branded)?(0,r.jsxs)(l.so,{justify:"center",align:"center",ml:"lg",children:[(0,r.jsx)(a.EY,{textStyle:"assistive.default",color:"neutrals.nLv3",mr:"sm",truncate:!0,children:(0,r.jsx)(m.A,{id:"featured_by"})}),(0,r.jsx)(u,{selectedProvider:t,size:"48x24"})]}):null}},42078:(e,t,n)=>{"use strict";n.d(t,{d:()=>c});var r=n(6029),s=n(76356),a=n(55729),l=n(48683),i=n(62859),o=n(85568),d=n(66757);let c=e=>{var t;let{noSeasonPicker:n,isNarrowLayout:c,isInlineLayout:u,branding:m,numberOfRows:x=20}=e,{event:h}=(0,a.useContext)(i.y$),p=null==h||null==(t=h.tournament.uniqueTournament)?void 0:t.hasPerformanceGraphFeature;return(0,r.jsxs)(s.so,{direction:"column",gap:["sm","md"],children:[(0,r.jsxs)(l.Zp,{variant:u?"never":void 0,children:[!c&&!u&&(0,r.jsx)(o.U,{titleId:"app.standings",branding:m}),(0,r.jsxs)(s.az,{children:[!n&&(0,r.jsx)(s.az,{h:"4xl"}),(0,r.jsx)(s.az,{h:"2xl"}),(0,r.jsx)(s.az,{h:"2xl"}),(0,r.jsx)(d.e,{rows:x}),(0,r.jsx)(s.az,{h:"[92px]"}),(0,r.jsx)(s.az,{p:"sm",children:(0,r.jsx)(s.az,{h:"4xl",bg:"surface.s2",br:"lg"})})]})]}),p&&(0,r.jsxs)(l.Zp,{variant:u?"never":void 0,children:[!u&&(0,r.jsx)(l.Zp.Header,{titleId:"standings_tracker_title"}),(0,r.jsx)(s.az,{h:"[542px]"})]})]})}},42181:(e,t,n)=>{"use strict";n.d(t,{XF:()=>i,g9:()=>d,mi:()=>o,ob:()=>l});var r=n(76356),s=n(99064),a=n(41735);let l="rgba(255, 255, 255,0.3)",i=(0,a.default)(r.so)` position: relative; width: ${e=>e.isHorizontalLayout?"50%":"calc(100% - 16px)"}; flex: ${e=>e.isHorizontalLayout?"1 1 50%":"1 1 430px"}; // max height max-height: ${430}px; background-color: ${e=>e.theme.colors.graphicsTerrain.footballLineups}; ${e=>{let t=`border: 2px solid ${l};`;return e.isHorizontalLayout?"rtl"===e.theme.settings.textDirection?"right"===e.side&&(t+="border-right: none;"):"left"===e.side&&(t+="border-right: none;"):"left"===e.side&&(t+="border-bottom: none;"),t}}; `,o=(0,a.default)(r.so)` z-index: ${s.Py.Button}; flex: ${e=>e.isHorizontalLayout?"1 1 50%":"1 1 430px"}; ${e=>e.isHorizontalLayout?"height: 430px;":"max-height: 430px;"} // direction flex-direction: ${e=>{let t=e.isHorizontalLayout?"row":"column";return"right"===e.side&&(t=e.isHorizontalLayout?"row-reverse":"column-reverse"),t}}; ${e=>{let t="";return e.isHorizontalLayout?"rtl"===e.theme.settings.textDirection?"right"===e.side?t+="border-right: none;":t+="border-left: none;":"left"===e.side?t+="border-right: none;":t+="border-left: none;":"left"===e.side?t+="border-bottom: none;":t+="border-top: none;",t}}; `,d=a.default.div` position: absolute; z-index: ${s.Py.Backdrop}; top: 0; left: 0; width: 100%; height: 100%; ${e=>e.isHorizontalLayout&&"height: 428px;"} user-select: none; ${e=>"rtl"===e.theme.settings.textDirection&&e.isHorizontalLayout?"left"===e.side&&"transform: rotate(180deg);":"right"===e.side&&"transform: rotate(180deg);"} .goal { position: absolute; z-index: ${s.Py.Backdrop}; left: calc(50% - 80px); top: -1px; ${e=>e.isHorizontalLayout&&` transform-origin: top left; transform: translateY(160px) rotate(-90deg); top: calc(50% - 80px); left: -1px; `} } .center { position: absolute; z-index: ${s.Py.Backdrop}; bottom: -1px; left: calc(50% - 64px); ${e=>e.isHorizontalLayout&&` transform: rotate(-90deg); transform-origin: top; top: 50%; right: -1px; left: unset; `} } .c1, .c2 { position: absolute; z-index: ${s.Py.Backdrop}; top: 0; } .c1 { left: 0; } .c2 { right: 0; ${e=>e.isHorizontalLayout&&` transform: rotate(180deg); top: unset; right: unset; bottom: 0; left: 0; `} } .logo { position: absolute; z-index: ${s.Py.Backdrop}; bottom: 16px; right: 12px; } `},42360:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(6029),s=n(76356),a=n(48683);function l(){return(0,r.jsx)(a.Zp,{children:(0,r.jsx)(s.az,{h:"[762px]"})})}},42440:(e,t,n)=>{"use strict";n.d(t,{C:()=>l});var r=n(55729),s=n(494),a=n(10794);function l(e){let t=(0,r.useMemo)(()=>(0,a.vt)(),[]);return(0,s.d4)(t,e)}},42621:(e,t,n)=>{"use strict";n.d(t,{q:()=>r.q});var r=n(1440)},44450:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(6029),s=n(494),a=n(10794),l=n(28349),i=n(76356),o=n(54409);function d(){return(0,r.jsx)("a",{href:"https://certifications.gamingcommission.gov.gr/publicRecordsOnline/SitePages/KatoxoiAdeiasOnline.aspx",target:"_blank",rel:"nofollow noopener noreferrer",children:(0,r.jsxs)(i.so,{minH:"4xl",align:"center",gap:"md",px:"lg",children:[(0,r.jsx)(i.az,{h:"xl",w:"xl",children:(0,r.jsx)(o.OE_,{w:"24px",h:"24px",fill:"onSurface.nLv3",fillOpacity:1})}),(0,r.jsx)(l.EY,{textStyle:"assistive.micro",color:"neutrals.nLv3",children:"21+ | ΚΙΝΔΥΝΟΣ ΕΘΙΣΜΟΥ & ΑΠΩΛΕΙΑΣ ΠΕΡΙΟΥΣΙΑΣ | ΠΑΙΞΕ ΥΠΕΥΘΥΝΑ & ΜΕ ΑΣΦΑΛΕΙΑ |"})]})})}function c(){return"GR"===(0,s.d4)(a.LQ)?(0,r.jsx)(d,{}):null}},44595:(e,t,n)=>{"use strict";n.d(t,{FG:()=>l,GM:()=>u,Vd:()=>d,c7:()=>c,cY:()=>o,fN:()=>v,jT:()=>i,jp:()=>x,mh:()=>m,ps:()=>h});var r=n(21377),s=n(58047),a=n(62827);let l=[r.QCR.IceHockey,r.QCR.AmericanFootball,r.QCR.Baseball,r.QCR.Handball],i=[...l,r.QCR.Football];var o=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}({}),d=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 c=(e,t)=>{switch(t){case r.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 r.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 r.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 r.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"}},u=(e,t)=>{let n={};for(let r=0;r{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===r.YVh.Person,h=(e,t,n,l,i,o,d,c)=>e===r.QCR.AmericanFootball?[{tabKey:s.x.Details,item:"details"},{tabKey:s.x.Matches,item:"matches",values:{sport:(0,a.ap)(e)}},{tabKey:s.x.Standings,item:"app.standings",isHidden:!t},{tabKey:s.x.PlayerStatistics,item:"tab_player_stats",isHidden:!d},{tabKey:s.x.Squad,item:"am_football_roster",isHidden:!l},{tabKey:s.x.Statistics,item:"statistics",isHidden:!i},{tabKey:s.x.Media,item:"media",isHidden:!o}]:[{tabKey:s.x.Details,item:"details"},{tabKey:s.x.Matches,item:"matches",values:{sport:(0,a.ap)(e)}},{tabKey:s.x.Standings,item:"app.standings",isHidden:!t},{tabKey:s.x.Squad,item:"squad",isHidden:!l,values:{gender:c}},{tabKey:s.x.TopPlayers,item:"top_players",values:{gender:c},isHidden:!n},{tabKey:s.x.Statistics,item:"statistics",isHidden:!i},{tabKey:s.x.Media,item:"media",isHidden:!o}],p=[r.QCR.AmericanFootball,r.QCR.Tennis];function v(e,t){return -1!==p.indexOf(e)&&9464===t}},52736:(e,t,n)=>{"use strict";n.d(t,{E:()=>c});var r=n(6029),s=n(76356),a=n(65078),l=n(49821),i=n(4236),o=n(52210),d=n(41618);let c=e=>{let{countryOddsProvider:t,market:n,marketName:c,secondary:u,clickType:m}=e,x=(0,a.g3)(),{ref:h,makeOnClick:p}=(0,l.kW)({type:m,marketName:c,isComparison:!0,countryOddsProvider:t,deps:[c]});if(!(null==n?void 0:n.choices))return null;let v=(0,i.nu)(n.choices,x);return(0,r.jsxs)(s.so,{ref:h,direction:"row",align:"center",pb:"sm",gap:"sm",children:[(0,r.jsx)(d.r,{size:"48x24",selectedProvider:t}),(0,r.jsx)(s.so,{gap:"[5px]",grow:"1",shrink:"1",overflow:"hidden",children:v.map(e=>{if(!c||!n)return;let s=(0,i.vT)(e,t.oddsOffset||0);return(0,r.jsx)(o.i,{choice:s,isLive:n.isLive,countryOddsProvider:t,betSlipLink:(0,i.Iz)(e,n,t),onClick:p(c,l.ki.OddsValue,t),secondary:u},e.name)})})]})}},56714:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>nl});var r=n(6029),s=n(21377),a=n(4967),l=n(95669),i=n.n(l),o=n(55729),d=n(947),c=n(62859),u=n(19451),m=n(19643),x=n(50417),h=n(54029),p=n(17357),v=n(30720),f=n(39676),j=n(42678),g=n(87526),y=n(73411),b=n(61836),w=n(48683),k=n(70010),C=n(38296),S=n(58047),A=n(62827),I=n(86679),T=n(21501),z=n(494),R=n(45860),P=n(1440),E=n(37377),H=n(62492),M=n(81893),L=n(77932),F=n(53235),B=n(76277),_=n(99326),O=n(7263),D=n(77752),Q=n(3898),K=n(17808),W=n(77540),G=n(47229),N=n(1840),V=n(92209),U=n(91631),$=n(2294);let Y=()=>{let e=(0,z.d4)($._I),t=(0,U.PW)(),n=(0,z.d4)($.SM);return e&&t&&(null==n?void 0:n.length)?(0,r.jsxs)(w.Zp,{children:[(0,r.jsx)(w.Zp.Header,{titleId:"odds"}),(0,r.jsx)(V.i,{providers:n,placement:"desktop"})]}):null};var q=n(73586),X=n(39979),Z=n(5546),J=n(80925),ee=n(27175),et=n(60908),en=n(17803),er=n(85009),es=n(885),ea=n(23685),el=n(29469),ei=n(10794),eo=n(79085),ed=n(34884),ec=n(5348),eu=n(36337),em=n(57267),ex=n(69642),eh=n(98899),ep=n(86523),ev=n(75409),ef=n(10951),ej=n(12174),eg=n(11687),ey=n(27680),eb=n(25049),ew=n(49937),ek=n(2987),eC=n(10426),eS=n(868),eA=n(47022),eI=n(71046);function eT(e){var t,n,a,l,i,d;let{hasCommentary:u}=e,{event:m,leftTeam:x,rightTeam:h}=(0,o.useContext)(c.y$),p=m.status.type===s.XUj.NotStarted,v=m.status.type===s.XUj.InProgress,j=m.tournament.category.sport.slug,g=j===s.QCR.ESports&&(0,eI.f2)(m.tournament.category.id),y=(0,z.d4)($.BF),w=(0,z.d4)((0,$.bS)(m)),k=(0,Z.F0)(m),[C]=(0,J.Z)(k,m.status.type===s.XUj.InProgress),S={fetcher:O.n,revalidateOnFocus:!0,refreshInterval:6e4*(m.status.type===s.XUj.NotStarted||m.status.type===s.XUj.InProgress)},A=!y&&w&&!!C,{data:I}=(0,R.Ay)(A?[s.npy.recommendedPrematchTopVoted(C,j),"HEAD"]:null,S),V=(0,o.useRef)(null),U=(0,T.hX)(),{showAiInsights:eT,showPostmatchAiInsights:ez}=(0,H.tN)(m),eR=u&&j!==s.QCR.IceHockey,eP=u&&j===s.QCR.IceHockey,eE=(0,z.d4)($.qW),eH=(0,z.d4)(ei.LQ),eM=!!eH&&(0,eI.Q9)(eH),eL=v&&!!eM&&eE,eF=eu.I.includes(j)&&m.status.type===s.XUj.NotStarted;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(ed.i,{eventLocation:"editor_event",nickname:null==(t=m.eventEditor)?void 0:t.name,userId:null==(n=m.eventEditor)?void 0:n.id,hasStarted:m.status.type!==s.XUj.NotStarted}),(0,r.jsx)(ec.N,{event:m}),(0,r.jsx)(ew.R,{}),(0,r.jsx)(q.S,{countryOddsProvider:k,event:m,fallback:{PT:I?(0,r.jsx)(W.U,{onClick:()=>{var e;return null==V||null==(e=V.current)?void 0:e.scrollIntoView({behavior:"smooth"})},isElevated:!0}):(0,r.jsx)(r.Fragment,{})},isComparisonElevated:!0,children:(0,r.jsx)(G.f9,{eventId:m.id,isLive:v})}),(0,r.jsx)(ef.y,{}),(0,r.jsx)(eb.z,{}),(0,r.jsx)(en.m2,{eventId:m.id,tournamentId:m.tournament.id,roundId:null==(a=m.roundInfo)?void 0:a.round,type:"single",screen:"desktop",isLive:v,location:en.D_.EventPage},m.id),(0,r.jsx)(eA.C,{}),(0,r.jsx)(ey.f,{}),(0,r.jsx)(ej.f,{event:m}),j!==s.QCR.Football&&(0,r.jsx)(eo.E,{event:m,hideCta:!0}),j===s.QCR.Cricket&&(0,r.jsx)(B.x,{}),j===s.QCR.Tennis||j===s.QCR.Cricket?null:(0,eh.D)(j)?(0,r.jsx)(em.j,{event:m}):(0,r.jsx)(ex.w,{event:m}),(0,r.jsx)(F.d,{}),j===s.QCR.Football&&(0,r.jsx)(eo.E,{event:m,hideCta:!0}),j===s.QCR.Tennis&&(0,r.jsx)(ee.A,{event:m}),g&&(0,r.jsx)(L.A,{event:m}),(0,r.jsx)(el.A,{placement:f.Mx.DesktopEventPage,event:m}),j===s.QCR.Tennis&&(0,r.jsx)(ek.J,{}),j===s.QCR.Tennis&&p&&(0,r.jsx)(eS.p,{}),(0,r.jsx)(Y,{}),(eT||ez)&&(0,r.jsx)(M.eO,{event:m}),eP&&(0,r.jsx)(P.A,{persist:!0,children:(0,r.jsx)(D.default,{})}),eR&&(0,r.jsx)(eC.default,{}),!U&&eL&&(0,r.jsx)(ep.LiveActionWidgetContainer,{eventId:m.id,modal:!0,children:(0,r.jsx)(G.f9,{eventId:m.id,isLive:v})}),(0,r.jsx)(Q.dq,{eventId:m.id}),I&&(0,r.jsx)(X.default,{showHeader:!0,ref:V}),(0,r.jsx)(eg.s,{eventId:m.id}),(0,r.jsx)(ea.Y,{utId:null==(l=m.tournament.uniqueTournament)?void 0:l.id,location:b.XN.EventScreen,bgImageUrl:[s.cWY.image(x.id),s.cWY.image(h.id)]}),j!==s.QCR.MMA&&(0,r.jsx)(er.d,{eventId:m.id,type:s.IAy.Event,startTimestamp:m.startTimestamp}),j===s.QCR.MMA&&(0,r.jsx)(P.A,{persist:!0,children:(0,r.jsx)(K.A,{homeTeam:m.homeTeam,awayTeam:m.awayTeam})}),(0,r.jsx)(et._,{page:{location:b.XN.EventScreen,entity:m}}),(0,r.jsx)(ev.W,{event:m,showTournamentInfo:g}),(0,r.jsx)(es.X,{}),eF&&(0,r.jsx)(eu.x,{eventId:m.id,leftTeam:x,rightTeam:h}),(0,r.jsx)(_.pk,{utIds:[null==(i=m.tournament.uniqueTournament)?void 0:i.id]}),(null==(d=m.eventEditor)?void 0:d.name)&&(0,r.jsx)(E.s,{}),(0,r.jsx)(N.K,{provider:k})]})}var ez=n(90248),eR=n(33752),eP=n(98449),eE=n(13266),eH=n(52951),eM=n(47530),eL=n(27289),eF=n(94604),eB=n(7309);let e_=e=>{var t;let{event:n,sport:s,children:a}=e;return u.tt.includes(s)||!n.tournament.uniqueTournament?(0,r.jsx)(eE.O5,{tournament:n.tournament,children:a}):(0,r.jsx)(eE.tQ,{tournament:n.tournament.uniqueTournament,seasonId:null==(t=n.season)?void 0:t.id,children:a})},eO=(0,o.memo)(e=>{let{event:t,leftTeam:n,rightTeam:a}=e,{meta:l,seoContent:i}=(0,o.useContext)(eH.xV),d=t.tournament.category.sport.slug,c=d===s.QCR.Football,m=d===s.QCR.Tennis,x=(0,eB.w)(t.tournament);return(0,r.jsxs)(eR.B,{children:[(0,r.jsx)(eR.B.Item,{children:(0,r.jsx)(eE.di,{translatedParams:{sport:d},children:(0,r.jsx)(eL.o,{sportSlug:d})})}),!u.tt.includes(d)&&(0,r.jsx)(eR.B.Item,{children:(0,r.jsx)(eE.Z6,{category:t.tournament.category,children:(0,r.jsx)(eP.m,{...t.tournament.category,uniqueTournament:t.tournament.uniqueTournament})})}),(0,r.jsx)(eR.B.Item,{children:(0,r.jsxs)(e_,{event:t,sport:d,children:[x,t.roundInfo&&(0,r.jsxs)("span",{children:[", ",(0,r.jsx)(eM.DT,{round:t.roundInfo})]})]})}),(0,r.jsx)(eR.B.Title,{children:(null==i?void 0:i.heading)||(null==l?void 0:l.title)||(0,r.jsx)(ez.A,{id:c?"headerTitle.event-v3":m?"headerTitle.event.tennis":"headerTitle.event",values:{home:(0,r.jsx)("bdi",{children:(0,r.jsx)(eF.Rm,{team:n})}),away:(0,r.jsx)("bdi",{children:(0,r.jsx)(eF.Rm,{team:a})})}})})]})},(e,t)=>e.event.id===t.event.id&&e.leftTeam===t.leftTeam&&e.rightTeam===t.rightTeam);var eD=n(76356),eQ=n(99064),eK=n(71024),eW=n.n(eK),eG=n(24985),eN=n(69559),eV=n(73011);let eU=()=>{let e=(0,eN.o)();return(0,r.jsxs)(w.Zp,{children:[(0,r.jsx)(w.Zp.Header,{titleId:e===s.QCR.Cricket?"squad":eV.bU.includes(e)?"boxScore":"players",values:{gender:s.YT8.Male},as:"h2"}),(0,r.jsx)("div",{style:{width:687}})]})},e$=eW()(()=>Promise.resolve().then(n.bind(n,16206)),{loadableGenerated:{webpack:()=>[16206]},loading:()=>(0,r.jsx)(eU,{})}),eY=eW()(()=>n.e(3007).then(n.bind(n,33007)),{loadableGenerated:{webpack:()=>[33007]},loading:()=>(0,r.jsx)(eU,{})});function eq(){let{event:e}=(0,o.useContext)(c.y$),t=e.tournament.category.sport,{lineups:n,isLoading:a}=(0,eG.Ir)({jerseyStyle:"fancy"});return!n||a?null:(0,r.jsx)(eQ.tU.Panel,{tabKey:S.x.BoxScore,children:t.slug===s.QCR.Rugby?(0,r.jsx)(eD.az,{roundedBottom:"lg",overflow:"hidden",mb:"md",children:(0,r.jsx)(eY,{})}):(0,r.jsx)(e$,{lineups:n})})}let eX=eW()(()=>n.e(7819).then(n.bind(n,37819)),{loadableGenerated:{webpack:()=>[37819]},ssr:!1,loading:()=>(0,r.jsx)(eD.az,{h:"[935px]"})});function eZ(){return(0,r.jsx)(eQ.tU.Panel,{tabKey:S.x.Games,children:(0,r.jsx)(eX,{})})}let eJ=eW()(()=>Promise.all([n.e(1254),n.e(6097),n.e(6650)]).then(n.bind(n,91013)),{loadableGenerated:{webpack:()=>[91013]},ssr:!1,loading:()=>(0,r.jsx)(eD.az,{h:"[1280px]"})});function e0(){let e=(0,eN.o)();return(0,r.jsx)(eQ.tU.Panel,{tabKey:e===s.QCR.MMA?S.x.Fights:S.x.Matches,children:(0,r.jsx)(eJ,{})})}var e1=n(42360);let e2=eW()(()=>Promise.all([n.e(4591),n.e(4824),n.e(1387)]).then(n.bind(n,73003)),{loadableGenerated:{webpack:()=>[73003]},loading:()=>(0,r.jsx)(e1.A,{})});function e9(){let{event:e}=(0,o.useContext)(c.y$),t=e.tournament.uniqueTournament,{sport:n}=e.tournament.category;return t&&e.season&&e.tournament.competitionType===s.wGu.Cup?(0,r.jsx)(eQ.tU.Panel,{tabKey:S.x.Knockout,children:(0,r.jsx)(e2,{uniqueTournamentId:t.id,uniqueTournamentSlug:t.slug,categorySlug:t.category.slug,seasonId:e.season.id,sport:n.slug})}):null}let e4=eW()(()=>Promise.resolve().then(n.bind(n,22088)),{loadableGenerated:{webpack:()=>[22088]},ssr:!1,loading:()=>(0,r.jsx)(eG.Vj,{})});function e5(){let{event:e}=(0,o.useContext)(c.y$),t=e.tournament.category.sport.slug,n=eV.Bx.includes(t)&&!!e.hasEventPlayerStatistics;return(0,r.jsx)(eQ.tU.Panel,{tabKey:S.x.Lineups,children:(0,r.jsx)(e4,{showPlayerStatistics:n})})}var e8=n(51372),e3=n(42078),e7=n(31215),e6=n(10234),te=n(59754);let tt=(0,o.createContext)(20),tn=eW()(()=>Promise.all([n.e(6591),n.e(4632),n.e(6618),n.e(4025),n.e(986),n.e(7433)]).then(n.bind(n,29814)),{loadableGenerated:{webpack:()=>[29814]},ssr:!1,loading:()=>(0,r.jsx)(tt.Consumer,{children:e=>(0,r.jsx)(e3.d,{isInlineLayout:!0,noSeasonPicker:!0,numberOfRows:e})})});function tr(e){let{numberOfStandingsRows:t}=e,{event:n,leftTeam:s,rightTeam:a}=(0,o.useContext)(c.y$),l=(0,te.Z)(n,"standings");return(0,r.jsxs)(eQ.tU.Panel,{tabKey:S.x.Standings,children:[l&&(0,r.jsx)(e8.O,{entityId:n.id,branding:l,bannerText:l.standingsText,location:"event_standings"}),!!n.season&&(0,r.jsx)(tt.Provider,{value:null!=t?t:20,children:(0,r.jsx)(tn,{isInlineLayout:!0,tournamentId:n.tournament.id,seasonId:n.season.id,homeTeamId:s.id,awayTeamId:a.id,Header:e=>{var t;let{title:s}=e;return(0,r.jsx)(e7.A,{tournamentId:n.tournament.id,tournamentName:null!=s?s:(0,r.jsx)(e6.J,{tournament:n.tournament}),uniqueTournamentId:null==(t=n.tournament.uniqueTournament)?void 0:t.id})},loaderNumberOfRows:t,hasPerformanceGraphFeature:!0})})]})}let ts=()=>(0,r.jsx)(eD.az,{h:"[1000px]"}),ta=eW()(()=>Promise.resolve().then(n.bind(n,36142)),{loadableGenerated:{webpack:()=>[36142]},ssr:!1,loading:()=>(0,r.jsx)(ts,{})}),tl=eW()(()=>n.e(5410).then(n.bind(n,35410)),{loadableGenerated:{webpack:()=>[35410]},ssr:!1,loading:()=>(0,r.jsx)(ts,{})}),ti=eW()(()=>Promise.all([n.e(3268),n.e(8595)]).then(n.bind(n,68595)),{loadableGenerated:{webpack:()=>[68595]},ssr:!1,loading:()=>(0,r.jsx)(ts,{})}),to=()=>{switch((0,eN.o)()){case s.QCR.MMA:return(0,r.jsx)(ta,{});case s.QCR.Cricket:return(0,r.jsx)(tl,{});default:return(0,r.jsx)(ti,{})}};function td(){return(0,r.jsx)(eQ.tU.Panel,{tabKey:S.x.Statistics,children:(0,r.jsx)(to,{})})}var tc=n(9088),tu=n(59721),tm=n(28349),tx=n(54409),th=n(8973),tp=n(39969),tv=n(2974),tf=n(6244),tj=n(67628),tg=n(52695),ty=n(80908),tb=n(48553),tw=n(41698);function tk(e){var t,n;let{channelId:a,type:l,eventId:i}=e,{data:o,isValidating:d}=(0,R.Ay)(s.RMf.eventChannelVotes(a,l,i));if(d)return(0,r.jsx)(eD.az,{h:"2xl",pb:"2xs"});if(!o)return null;let c=o.tvChannelVotes.tvChannel.name,u=null!=(t=o.tvChannelVotes.upvote)?t:0,m=null!=(n=o.tvChannelVotes.downvote)?n:0;return(0,r.jsxs)(eD.so,{direction:"row",align:"center",gap:"lg",children:[(0,r.jsx)(tx.ft6,{fill:"onSurface.nLv3",w:16,h:16}),(0,r.jsxs)(eD.so,{direction:"column",gap:"2xs",children:[(0,r.jsx)(tm.EY,{children:c}),(0,r.jsxs)(eD.so,{gap:"xs",children:[(0,r.jsxs)(eD.so,{align:"center",gap:"xs",children:[(0,r.jsx)(tx.URl,{fill:"success.default"}),(0,r.jsx)(tm.EY,{textStyle:"assistive.micro",color:"neutrals.nLv3",children:u})]}),(0,r.jsxs)(eD.so,{align:"center",gap:"xs",children:[(0,r.jsx)(tx.fHS,{fill:"error.default"}),(0,r.jsx)(tm.EY,{textStyle:"assistive.micro",color:"neutrals.nLv3",children:m})]})]})]})]})}function tC(e){let{channelIds:t,type:n,eventId:a}=e,l=(0,d.A)(),i=t.length>1,o=t.length-1,[c,...u]=t,{data:m}=(0,R.Ay)(s.RMf.eventChannelVotes(c,n,a));return m?(0,r.jsxs)(eD.so,{align:"center",gap:"xs",px:"sm",children:[(0,r.jsxs)(eD.so,{align:"center",gap:"xs",children:[(0,r.jsx)(tx.ft6,{fill:"onSurface.nLv3",w:16,h:16}),(0,r.jsx)(tm.EY,{textStyle:"display.micro",color:"neutrals.nLv3",children:m.tvChannelVotes.tvChannel.name})]}),i&&(0,r.jsx)(eQ.AM,{closeOnOutsideClick:!0,trigger:(0,r.jsx)(eD.I4.button,{"aria-label":l.formatMessage({id:"show_more"}),p:"xs",br:"lg",cursor:"pointer",_hover:{bg:"surface.s2"},_active:{bg:"surface.s0"},children:(0,r.jsx)(eD.so,{bg:"action.primary.default",br:"md",h:"lg",px:"sm",children:(0,r.jsxs)(tm.EY,{textStyle:"assistive.default",color:"surface.s1",children:["+",o]})})}),children:(0,r.jsx)(eD.az,{position:"absolute",zIndex:"popover",top:"xl",right:"0",w:"[200px]",children:(0,r.jsxs)(eD.so,{direction:"column",gap:"lg",elevation:"3",bg:"surface.sp",br:"sm",p:"lg",children:[(0,r.jsx)(tm.EY,{textStyle:"display.small",children:(0,r.jsx)(ez.A,{id:"tv_channels"})}),(0,r.jsx)(eD.so,{direction:"column",gap:"lg",children:u.map(e=>(0,r.jsx)(tk,{channelId:e,type:n,eventId:a},e))})]})})})]}):null}function tS(e){let{eventId:t,type:n}=e,a=(0,z.d4)(ei.LQ),{data:l}=(0,R.Ay)(a?s.RMf.eventCountryChannels(n,t):null);if(!a||!l)return null;let i=l.countryChannels[a];return a in l.countryChannels&&(null==i?void 0:i.length)?(0,r.jsx)(tC,{channelIds:i,type:n,eventId:t}):null}var tA=n(81424);let tI=()=>{let{event:e,leftTeam:t,rightTeam:n}=(0,o.useContext)(c.y$),a=e.tournament.uniqueTournament,l=e.venue,i=e.status.type===s.XUj.NotStarted,d=i&&!!e.finalResultOnly;return(0,r.jsx)(w.Zp,{children:(0,r.jsxs)(eD.az,{children:[(0,r.jsxs)(eD.so,{position:"absolute",top:"lg",right:"lg",gap:"lg",children:[(0,r.jsx)(tp.h,{id:e.id,type:th.b.Event,location:th.y.Header,tournament:e.tournament,leftTeam:t,rightTeam:n,menuPosition:"bottom",isInDesktopHeader:!0}),(0,r.jsx)(tb.Y,{isInDesktopHeader:!0}),i&&!d&&(0,r.jsx)(ty.A,{name:"".concat(e.homeTeam.name," - ").concat(e.awayTeam.name),startDate:e.startTimestamp,isClickable:!0,children:(0,r.jsx)(tm.D7,{children:(0,r.jsx)(tx.E8x,{style:{width:24,height:24}})})})]}),(0,r.jsx)(eD.az,{pt:"sm",children:(0,r.jsx)(tA.A,{isWide:!0,disableFollow:!0})}),(0,r.jsxs)(eD.so,{justify:"center",px:"lg",pb:"md",pt:"sm",children:[(0,r.jsx)(tw.g,{isInDesktopHeader:!0}),a&&(0,r.jsx)(eE.tQ,{tournament:a,children:(0,r.jsxs)(eD.so,{gap:"xs",align:"center",_hover:{bg:"surface.s2"},px:"sm",py:"xs",br:"lg",children:[(0,r.jsx)(tu.e,{id:a.id,size:16}),(0,r.jsx)(tm.EY,{textStyle:"display.micro",color:"neutrals.nLv3",children:(0,r.jsx)(tg.O,{uniqueTournament:a})})]})}),(null==l?void 0:l.stadium.name)&&(0,r.jsx)(tv.A,{venue:l,children:(0,r.jsxs)(eD.so,{gap:"xs",align:"center",_hover:{bg:l.hidden?void 0:"surface.s2"},px:"sm",py:"xs",br:"lg",children:[(0,r.jsx)(tx.fRZ,{fill:"onSurface.nLv3",w:"16px",h:"16px"}),(0,r.jsx)(tm.EY,{textStyle:"display.micro",color:"neutrals.nLv3",children:l.stadium.name})]})}),e.groundType&&(0,r.jsxs)(eD.so,{gap:"xs",align:"center",px:"sm",py:"xs",br:"lg",children:[(0,r.jsx)(tf.l,{w:"lg",h:"lg",groundType:e.groundType}),(0,r.jsx)(tm.EY,{textStyle:"display.micro",color:"neutrals.nLv3",children:(0,r.jsx)(tj.n,{id:e.groundType})})]}),(0,r.jsx)(tS,{eventId:e.id,type:s.IAy.Event})]})]})})};var tT=n(55584);let tz=eW()(()=>Promise.all([n.e(7871),n.e(5771)]).then(n.bind(n,75771)),{loadableGenerated:{webpack:()=>[75771]},ssr:!1,loading:()=>(0,r.jsx)(eD.az,{h:"[1000px]"})});function tR(){return(0,r.jsx)(eQ.tU.Panel,{tabKey:S.x.Scorecard,children:(0,r.jsx)(tz,{})})}function tP(e){var t;let{activeTab:n,setActiveTab:a,initialStandingsProperties:l}=e,i=(0,o.useContext)(c.y$),{event:d,leftTeam:m,rightTeam:x}=i,h=d.tournament.category.sport,p=d.tournament.category.sport.slug,v=p===s.QCR.MMA,{hasWinProbability:j}=(0,I.A)({hasWinProbability:{route:s.bnp.winProbability(d.id),skipCheck:d.status.type!==s.XUj.InProgress}}),{hasGamesTab:g,hasBoxScoreTab:y,hasLineupsTab:b,hasStatisticsTab:T,hasScorecardTab:z,hasCommentaryTab:R,hasCricketIncidents:P,hasKnockoutTab:E,hasStandingsTab:H}=(0,tT.A)(d),M=!!T||!!P||!!j,L=[{tabKey:S.x.Games,item:"games",values:{sport:s.QCR.ESports},isHidden:!g},{tabKey:S.x.Scorecard,item:"cricket.scorecard",isHidden:!z},{tabKey:S.x.BoxScore,item:"boxScore",isHidden:!y},{tabKey:S.x.Lineups,item:p===s.QCR.Cricket?"squads":"lineups",isHidden:!b},{tabKey:S.x.Statistics,item:"statistics",isHidden:!M},{tabKey:S.x.Standings,item:"app.standings",isHidden:!H},{tabKey:v?S.x.Fights:S.x.Matches,item:v?"fights_mma":"head_to_head_short",values:v?void 0:{sport:(0,A.ap)(p)}},{tabKey:S.x.Knockout,item:"knockout",isHidden:!E}],F=L.some(e=>!e.isHidden&&e.tabKey===n)?n:null==(t=L.find(e=>!e.isHidden))?void 0:t.tabKey;return(0,r.jsx)(c.Ws.Provider,{value:h.slug,children:(0,r.jsxs)(c.y$.Provider,{value:{...i,location:c.cb.EventPage},children:[(0,r.jsx)(eO,{event:d,leftTeam:m,rightTeam:x}),(0,r.jsx)(tI,{}),(0,r.jsxs)(k.xA,{py:"md",gap:"md",children:[(0,r.jsxs)(k.fv,{flexGrow:1,children:[(0,r.jsx)(eT,{hasCommentary:!!R}),(0,r.jsx)(f.Aq,{route:u.xW.Event})]}),(0,r.jsxs)(k.fv,{flexGrow:2,children:[(0,r.jsx)(w.Zp,{children:F&&(0,r.jsx)(w.WC,{variant:"square",children:(0,r.jsxs)(C.A,{id:d.id,location:C.C.EventPage,eventStatusType:d.status.type,initialTabKey:F,tabs:L,customControls:[F,a],children:[g&&(0,r.jsx)(eZ,{}),z&&(0,r.jsx)(tR,{}),y&&(0,r.jsx)(eq,{}),b&&(0,r.jsx)(e5,{}),M&&(0,r.jsx)(td,{}),H&&(0,r.jsx)(tr,{numberOfStandingsRows:null==l?void 0:l.numberOfRows}),(0,r.jsx)(e0,{}),E&&(0,r.jsx)(e9,{})]})})}),(0,r.jsx)(tc.I,{event:d})]})]})]})})}var tE=n(70115),tH=n(58336),tM=n(62102),tL=n(58074),tF=n(59455),tB=n(51883),t_=n(36614),tO=n(8718),tD=n(42917),tQ=n(1584),tK=n(91941),tW=n(55862),tG=n(90890),tN=n(94041),tV=n(15328),tU=n(59280),t$=n(17247),tY=n(9536),tq=n(32344);function tX(e){let{activeTab:t,setActiveTab:n}=e,{event:a,leftTeam:l,rightTeam:i}=(0,o.useContext)(c.y$),d=a.tournament.category.sport.slug,u=a.status.type===s.XUj.InProgress,m=d===s.QCR.Football,x=d===s.QCR.MMA,h=d===s.QCR.Basketball,p=(0,eI.BC)(a.status),{hasCricketIncidents:v,hasScorecardTab:j,hasOversTab:g,hasGraphsTab:y,hasCommentaryTab:b,hasGamesTab:w,hasBoxScoreTab:k,hasLineupsTab:I,hasStatisticsTab:T,hasPlayByPlayTab:z,hasStandingsTab:R,hasMatchesTab:P,hasFeaturedOdds:E,hasAdditionalOddsTab:H,hasWinningOdds:M,hasFeaturedOddsTab:L,hasMediaTab:F,isSpecialEsports:B,hasRecommendedPrematchOdds:_,hasKnockoutTab:O,hasAiInsights:D}=(0,tT.A)(a),Q=[{tabKey:S.x.Details,item:"details"},{tabKey:S.x.AiInsights,item:"tab_ai_insights",isHidden:!D},{tabKey:S.x.AdditionalOdds,item:"odds",isHidden:!H||p},{tabKey:S.x.Games,item:"games",values:{sport:s.QCR.ESports},isHidden:!w},{tabKey:S.x.Overs,item:"cricket.overs",isHidden:!g},{tabKey:S.x.Scorecard,item:"cricket.scorecard",isHidden:!j},{tabKey:S.x.Commentary,item:"commentary",isHidden:!b||m||h},{tabKey:S.x.BoxScore,item:"boxScore",isHidden:!k},{tabKey:S.x.Lineups,item:d===s.QCR.Cricket?"squads":"lineups",isHidden:!I},{tabKey:S.x.Statistics,item:"statistics",isHidden:!T},{tabKey:S.x.Commentary,item:"commentary",isHidden:!b||!m&&!h},{tabKey:S.x.PlayByPlay,item:"cricket.pbp",isHidden:!z},{tabKey:S.x.Standings,item:"app.standings",isHidden:!R},{tabKey:S.x.Graphs,item:"graphs",isHidden:!y},{tabKey:x?S.x.Fights:S.x.Matches,item:x?"fights_mma":"matches",values:x?void 0:{sport:(0,A.ap)(d)},isHidden:!P},{tabKey:S.x.Knockout,item:"knockout",isHidden:!O},{tabKey:S.x.FeaturedOdds,item:"featured_odds",isHidden:!L},{tabKey:S.x.Media,item:"media",isHidden:!F},{tabKey:S.x.AdditionalOdds,item:"odds",isHidden:!H||!p}];return(0,r.jsxs)(c.Ws.Provider,{value:d,children:[(0,r.jsxs)(eD.az,{bg:"surface.s1",children:[(0,r.jsx)(eO,{event:a,leftTeam:l,rightTeam:i}),(0,r.jsx)(tY.g,{})]}),(0,r.jsxs)(C.A,{id:a.id,location:C.C.EventPage,eventStatusType:a.status.type,initialTabKey:t,tabs:Q,customControls:[t,n],children:[(0,r.jsx)(tF.A,{isInsideEventWidget:!1,isSpecialEsports:B,hasStandings:!!R,hasCricketIncidents:v,hasFeaturedOdds:E,hasWinningOdds:M,hasMediaTab:F,onFeaturedOddsClick:()=>n(S.x.FeaturedOdds),onBestPlayersClick:()=>n(k?S.x.BoxScore:S.x.Lineups),onPrematchStandingsClick:()=>n(S.x.Standings),onSeeAllStatisticsClick:()=>n(S.x.Statistics),onHighlightShortcutClick:()=>n(S.x.Media)}),D&&(0,r.jsx)(tq.A,{event:a}),H&&(0,r.jsx)(tH.A,{}),w&&(0,r.jsx)(t_.A,{}),g&&(0,r.jsx)(tW.A,{}),j&&(0,r.jsx)(tN.A,{event:a}),k&&(0,r.jsx)(tM.A,{}),I&&(0,r.jsx)(tD.A,{}),T&&(0,r.jsx)(tU.A,{event:a}),z&&(0,r.jsx)(tG.A,{}),R&&(0,r.jsx)(tV.A,{event:a,leftTeamId:l.id,rightTeamId:i.id}),y&&(0,r.jsx)(tO.A,{tabKey:S.x.Graphs}),b&&d!==s.QCR.IceHockey&&(0,r.jsx)(tL.A,{}),(0,r.jsx)(tQ.A,{}),O&&a.tournament.uniqueTournament&&a.season&&(0,r.jsx)(tE.A,{uniqueTournament:a.tournament.uniqueTournament,seasonId:a.season.id,sport:d}),L&&(0,r.jsx)(tB.A,{hasRecommendedPrematchOdds:_}),F&&(0,r.jsx)(tK.A,{event:a,isLive:u})]}),(0,r.jsx)(eD.az,{mb:"sm",children:(0,r.jsx)(t$.i,{id:f.Rj.MOBILE_EVENT_BOTTOM})})]})}var tZ=n(73624);function tJ(e){var t;let{activeTab:n,setActiveTab:s,initialStandingsProperties:a}=e,{event:l}=(0,o.useContext)(c.y$),i=l.tournament.category.sport;return(0,r.jsx)(c.Ws.Provider,{value:i.slug,children:(0,r.jsxs)(tZ.Hy,{eventId:l.id,children:[(0,r.jsx)(j.$B,{children:(0,r.jsx)(tX,{activeTab:n,setActiveTab:s})}),(0,r.jsx)(j.h6,{children:(0,r.jsx)(f.JR,{route:u.xW.Event,children:(0,r.jsx)(tP,{activeTab:n,setActiveTab:s,initialStandingsProperties:a})})}),(0,r.jsx)(y.S,{utId:null==(t=l.tournament.uniqueTournament)?void 0:t.id,location:b.XN.EventScreen}),(0,r.jsx)(g.N,{page:{location:b.XN.EventScreen,entity:l}})]})})}var t0=n(81278),t1=n(30479);let t2={event_details:S.x.Details,event_lineups:S.x.Lineups,event_statistics:S.x.Statistics},t9=e=>{switch(e){case"a":return"android";case"i":return"ios";case"w":return"web";default:return}},t4=e=>{switch(e){case"ed":return"event_details";case"el":return"event_lineups";case"es":return"event_statistics";default:return}},t5=(e,t,n)=>{switch(t){case"s":e.source=t9(n);return;case"id":e.id=Number(n);return;case"c":e.category=t4(n);return;default:return}},t8=(e,t)=>{e.replace("share:","").split(",").forEach(e=>{let n=e.split(":");2===n.length&&t5(t,n[0],n[1])})},t3=e=>{let t=!!(0,t0.useRouter)().query.sport,n={name:e.slug,id:e.customId};t&&(n.sport=(0,eI.c5)(e));let[r,s]=(0,t1.Ay)({routeKey:u.xW.Event,params:n}),a=(null==r?void 0:r.id)&&!Number.isNaN(null==r?void 0:r.id)?r.id:e.id,[l,i]=(0,o.useState)();return(0,o.useEffect)(()=>{let e=window.location.hash.replace("#",""),t={};e.startsWith("share:")&&(t8(e,t),i(t)),t.id&&s("id",t.id.toString())},[]),{eventId:a,setEventId:e=>s("id",e.toString()),shareInfo:l,setShareInfo:i,activeTab:(null==r?void 0:r.tab)||S.x.Details,setActiveTab:e=>s("tab",e)}};var t7=n(26331),t6=n(73088),ne=n(72653),nt=n(70389),nn=n(99736),nr=n(25862),ns=n(65097);let na=[s.QCR.AmericanFootball,s.QCR.Cricket,s.QCR.Football,s.QCR.Baseball,s.QCR.Basketball,s.QCR.TableTennis,s.QCR.IceHockey,s.QCR.Handball,s.QCR.Volleyball,s.QCR.MMA];function nl(e){var t,n,l,u,f;if("error"in e)return(0,r.jsx)(ns.default,{statusCode:404});let j=(0,d.A)(),{eventId:g,setEventId:y,shareInfo:w,setShareInfo:k,activeTab:C,setActiveTab:S}=t3(e.event),{event:A}=(0,p.A)(g,{shouldRefresh:!0,onFetchError:()=>y(e.event.id)}),I=(null==A?void 0:A.customId)===e.event.customId?A:e.event,[T,z]=(0,v.A)(I,"homeTeam","awayTeam",I),[R,P]=(0,v.A)(I,"homeScore","awayScore",I);(0,o.useEffect)(()=>{if(A&&((0,b.l3)(A.id,A.status.type),w&&w.id&&w.category&&w.source)){t2[w.category]&&S(t2[w.category]),k(void 0);try{sessionStorage.setItem(h.IE,"share")}catch(e){}}},[null==A?void 0:A.id]);let{customId:E,slug:H,homeTeam:M,awayTeam:L,tournament:F,startTimestamp:B}=I,_=(0,t7.A)(),O=M.name,D=L.name,Q=I.venue,K=j.formatDate((0,a.pp)(B,!0),{...a.or.dateWithShortMonth}),W=j.formatTime((0,a.pp)(B,!0)),G=I.tournament.category.sport.slug,N=G===s.QCR.Football,V=G===s.QCR.ESports,U=null==(t=F.category.alpha2)?void 0:t.toLowerCase(),$=null==(l=M.country)||null==(n=l.alpha2)?void 0:n.toLowerCase(),Y=null==(f=L.country)||null==(u=f.alpha2)?void 0:u.toLowerCase(),q=I.isEditor?!(0,m.N)(null!=U?U:$&&Y&&$===Y?$:"",_):(0,x.v)(G,_),X=t6.z.getTranslatedCanonicalRoute(_,"event",{id:E,name:H,sport:G}).route,Z={item:"".concat(I.homeTeam.name," ").concat(I.awayTeam.name),homeTeamName:O,awayTeamName:D,home:O,away:D,startDate:K,startTime:W,tournamentName:F.name,categoryName:F.category.name,hasVenue:!!Q,year:new Date(1e3*I.startTimestamp).getFullYear(),...(0,eI.Ee)(Q)},J="event",ee="livescore";return["fr","it"].includes(_)&&N&&(J="event-v2"),N&&(ee="livescore-v3"),V&&(J="event-esports",ee="livescore-esports"),(0,r.jsxs)(eH.an,{value:{meta:e.meta,eventMeta:e.eventMeta,seoContent:e.seoContent},children:[(0,r.jsxs)(i(),{children:[(0,r.jsx)("link",{rel:"canonical",href:"https://www.sofascore.com".concat(X)}),(0,r.jsx)("link",{rel:"alternate",href:"android-app://com.sofascore.results/https/www.sofascore.com/event/".concat(I.id)}),(0,r.jsx)("meta",{property:"og:image",content:s.bnp.shareDetailsImage("16x9",I.id)}),(0,r.jsx)("meta",{property:"og:image:width",content:"2130"}),(0,r.jsx)("meta",{property:"og:image:height",content:"1200"}),q&&(0,r.jsx)("meta",{name:"robots",content:"noindex, nofollow"})]}),(0,r.jsx)(ne.A,{event:I}),(0,r.jsx)(eH.Ay,{metaKey:J,titleKey:ee,keywordsKey:"sport",values:Z}),(0,r.jsx)(c.y$.Provider,{value:{event:I,leftTeam:T,rightTeam:z,leftScore:R,rightScore:P,location:c.cb.EventPage,initialIncidents:e.incidents,initialHasLineups:e.initialHasLineups},children:(0,r.jsx)(tJ,{activeTab:C,setActiveTab:S,initialStandingsProperties:e.initialStandingsProperties})})]})}nl.getInitialProps=nn.Ay.getInitialPageProps(e=>async t=>{let{query:r,req:a,res:l,...i}=t,o=a?a._originalUrl:i.asPath,d=t6.z.getCurrentLocale(o),c=a&&a.params?a.params:r,m=c.id;try{var x,h,p;let t,r=Number(null==(x=(0,t1.JT)(o))?void 0:x.id);(!r||Number.isNaN(r))&&(r=Number((await s.nk6.fetchCurrentlyRelevantEvent(m)).currentlyRelevantEvent.id));let[a,i,v,f,j,g]=await Promise.allSettled([s.nk6.fetchEvent(r),s.sdF.getEntityMeta(s.wNW.Event,m,d),s.nk6.fetchH2HMeta(r),na.includes(c.sport)?s.sdF.getSeoContent(s.wNW.Event,r,d):Promise.reject(),s.nk6.hasLineups(r),s.nk6.fetchEventIncidents(r)]),y="fulfilled"===a.status?a.value.event:void 0;if(!y)throw Error();let b="fulfilled"===i.status?i.value.entityMeta:void 0,w="fulfilled"===v.status?v.value.meta:void 0,k="fulfilled"===f.status?f.value.content:void 0,C="fulfilled"===j.status?j.value:void 0,S="fulfilled"===g.status&&(null==(h=g.value.incidents)?void 0:h.length)?g.value.incidents:void 0,A=y.tournament.category.sport.slug;if(l&&(y.slug!==c.name||A!==c.sport)&&(l.writeHead(301,{Location:t6.z.getTranslatedRoute(d,"event",{id:y.customId,name:y.slug,sport:A}).route}),l.end()),l&&!u.Hk.includes(A))throw Error("Unsupported sport");if(u.so.includes(A))throw Error("Stage sports do not have event page!");try{t=await s.nk6.fetchStandingsProperties(y.tournament.id,null==(p=y.season)?void 0:p.id)}catch(e){}let I=(0,s.S$s)(),T=(await n.e(1088).then(n.t.bind(n,81088,19))).default;return e.dispatch((0,nt.Od)(T)),e.dispatch((0,nr.Vy)(A)),{event:y,meta:b,eventMeta:w,seoContent:k,initialHasLineups:C,revalidate:I,incidents:S,initialStandingsProperties:t}}catch(e){return l&&(l.statusCode=404),{error:e}}})},59754:(e,t,n)=>{"use strict";n.d(t,{C:()=>a,Z:()=>l});var r=n(494),s=n(151);let a=(e,t,n)=>{var r,s,a;let l=null==(r=e.tournament.uniqueTournament)?void 0:r.id;if(l&&(null==n||null==(a=n.uniqueTournaments)||null==(s=a[l])?void 0:s[t]))return null==n?void 0:n.uniqueTournaments[l]},l=(e,t)=>a(e,t,(0,r.d4)(s.g))},61584:(e,t,n)=>{"use strict";n.d(t,{A:()=>h});var r=n(6029),s=n(28349),a=n(76356),l=n(90248),i=n(494),o=n(49821),d=n(28600),c=n(2294),u=n(38136),m=n(52736),x=n(27601);let h=e=>{let{eventId:t,isLive:n,isEleveated:h}=e,p=(0,i.d4)(c.hB),{odds:v,marketName:f,error:j,isLoading:g}=(0,x.U)(p||[],t,n);return g?(0,r.jsx)(a.az,{pt:"[50px]",bg:"surface.s2",br:"lg",elevation:h?"2":void 0,children:null==p?void 0:p.map(e=>(0,r.jsx)(a.az,{h:"[45px]"},e.provider.id))}):j||!v?null:(0,r.jsx)(a.az,{bg:h?"surface.s1":void 0,br:"lg",elevation:h?"2":void 0,children:(0,r.jsxs)(a.so,{direction:"column",bg:"surface.s2",br:"lg",px:"md",pb:"md",children:[(0,r.jsxs)(a.so,{py:"sm",justify:"space-between",align:"center",gap:"2xs",children:[(0,r.jsxs)(a.so,{gap:"2xs",alignSelf:"flex-end",h:"100%",children:[(0,r.jsx)(s.EY,{textStyle:"assistive.default",children:(0,r.jsx)(d.f,{id:"Full time"})}),n&&(0,r.jsx)(s.EY,{textStyle:"assistive.default",color:"status.val",children:(0,r.jsx)(l.A,{id:"live"})})]}),(0,r.jsx)(u.V,{})]}),null==p?void 0:p.map((e,t)=>(0,r.jsx)(m.E,{countryOddsProvider:e,market:v[t],marketName:f,clickType:o.jF.Featured},e.provider.id))]})})}},63801:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(6029),s=n(9127),a=n(41735);let l=({x:e,y:t})=>{let{colors:n}=(0,a.useTheme)(),l=e-3,i=e+3,o=t-3;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(s.m.circle,{fill:n.surface.s1,r:"6",animate:{cx:e,cy:t}}),(0,r.jsx)(s.m.path,{animate:{d:`M ${l},${o} l 6,6 M ${i},${o} l -6,6`},stroke:n.error.default,strokeWidth:"2"})]})}},65577:(e,t,n)=>{"use strict";n.d(t,{$7:()=>d,$u:()=>o,Ay:()=>u,Co:()=>l,o_:()=>i,uv:()=>c});var r=n(6029),s=n(90547),a=n(41735);let l=8,i=328,o=e=>(0,r.jsx)("svg",{width:"100%",viewBox:"-".concat(l," -").concat(l," ").concat(i+2*l," ").concat(139+2*l),children:e.children}),d=e=>{let{fill:t}=e,n=(0,a.useTheme)();return(0,r.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"})},c=e=>{let{fill:t}=e,n=(0,a.useTheme)();return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(s.default,{x:i/2-12,y:57.5,fill:"onSurface.nLv1"}),(0,r.jsxs)("g",{fill:t||n.colors.onSurface.nLv1,fillRule:"nonzero",children:[(0,r.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,r.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,r.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,r.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,r.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,r.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,r.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,r.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,r.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,r.jsxs)(o,{children:[(0,r.jsx)(d,{}),(0,r.jsx)(c,{}),t]})}},66757:(e,t,n)=>{"use strict";n.d(t,{e:()=>o});var r=n(6029),s=n(18612),a=n(76356),l=n(55729);function i(e){let{rows:t,rowHeight:n}=e;return(0,r.jsx)(s.D,{animate:!0,height:t*n,uniqueKey:"generic-table-cl",children:Array(t).fill(null).map((e,t)=>{let s=t*n;return(0,r.jsxs)(l.Fragment,{children:[(0,r.jsx)("circle",{cx:20,cy:s+n/2,r:12}),(0,r.jsx)("rect",{x:40,y:s+8,width:"calc(100% - 48px)",height:n-16})]},s)})})}function o(e){let{rows:t=12}=e;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(a.az,{hideBelow:"md",children:(0,r.jsx)(i,{rowHeight:32,rows:t})}),(0,r.jsx)(a.az,{hideFrom:"md",children:(0,r.jsx)(i,{rowHeight:48,rows:t})})]})}},70115:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var r=n(6029),s=n(99064),a=n(71024),l=n.n(a),i=n(58047);let o=l()(()=>Promise.all([n.e(4824),n.e(8718)]).then(n.bind(n,63848)),{loadableGenerated:{webpack:()=>[63848]},ssr:!1});function d(e){let{uniqueTournament:t,seasonId:n,sport:a}=e;return(0,r.jsx)(s.tU.Panel,{tabKey:i.x.Knockout,children:(0,r.jsx)(o,{sport:a,uniqueTournamentId:t.id,uniqueTournamentSlug:t.slug,categorySlug:t.category.slug,seasonId:n})})}},72653:(e,t,n)=>{"use strict";n.d(t,{A:()=>v});var r=n(6029),s=n(21377),a=n(4967),l=n(95669),i=n.n(l),o=n(947),d=n(58771),c=n(26331),u=n(73088),m=n(97047);let x=(e,t,n)=>e.type===s.YVh.Person?{"@type":"Person",name:e.name}:{"@type":"SportsTeam",sport:t.name,name:e.name,logo:s.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)},h=(e,t)=>{var n,r,s,a,l;let i=(null==(n=e.tournament.uniqueTournament)?void 0:n.name)||e.tournament.name,o=(null==(r=e.season)?void 0:r.year)||(null==(s=e.season)?void 0:s.name)||t.getFullYear()||"",d=(e.tournament.roundPrefix||"")+" "+((null==(a=e.roundInfo)?void 0:a.name)||((null==(l=e.roundInfo)?void 0:l.round)?"Round ".concat(e.roundInfo.round):""));return"".concat(i," ").concat(o," ").concat(d.trim()).trim()},p=e=>{switch(e.status.type){case s.XUj.Canceled:case s.XUj.Suspended:return"EventCancelled";case s.XUj.Postponed:return"EventPostponed";default:return"EventScheduled"}};function v(e){let{event:t}=e,n=(0,o.A)(),l=(0,c.A)(),v=t.tournament.category.sport,f=a.pp(t.startTimestamp),j=h(t,f),g=t.tournament.category,y=t.tournament.uniqueTournament,b=1,w=[{"@type":"ListItem",position:1,name:n.formatMessage({id:"sport.".concat(v.slug)}),item:"".concat(s.VTF).concat(u.z.getTranslatedRoute(l,"eventList",{sport:v.slug}).route)},{"@type":"ListItem",position:++b,name:n.formatMessage({id:g.slug}),item:"".concat(s.VTF).concat(u.z.getTranslatedRoute(l,"eventList.category",{sport:g.sport.slug,category:g.slug}).route)}];y&&w.push({"@type":"ListItem",position:++b,name:y.name,item:"".concat(s.VTF).concat(u.z.getTranslatedRoute(l,"uniqueTournament",{sport:y.category.sport.slug,category:y.category.slug,tournament:y.slug,id:y.id}).route)}),w.push({"@type":"ListItem",position:++b,name:"".concat(t.homeTeam.name," - ").concat(t.awayTeam.name)});let k={"@context":"https://schema.org","@type":"SportsEvent",name:"".concat(t.homeTeam.name," vs ").concat(t.awayTeam.name),eventStatus:p(t),description:j,homeTeam:x(t.homeTeam,v,l),awayTeam:x(t.awayTeam,v,l),startDate:f.toISOString(),sport:v.name};if(t.venue){var C,S,A;k.location=[{"@type":"Place",name:null==(C=t.venue)?void 0:C.stadium.name,maximumAttendeeCapacity:null==(S=t.venue)?void 0:S.stadium.capacity,address:{"@type":"PronounceableText"}}],t.venue.city.name&&k.location.concat({"@type":"Place",name:t.venue.city.name}),t.venue.country.alpha2&&k.location.concat({"@type":"Country",name:(0,m.lE)(null==(A=t.venue)?void 0:A.country.alpha2)})}else t.tournament.category.alpha2&&(k.location={"@type":"Country",name:(0,m.lE)(t.tournament.category.alpha2)});return(0,r.jsxs)(i(),{children:[(0,r.jsx)("script",{...(0,d.QQ)({"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:w})}),",",(0,r.jsx)("script",{...(0,d.QQ)(k)}),","]})}},72767:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(6029),s=n(18642),a=n(67823),l=n(13369),i=n(11810);let o=({showLines:e=!0,showBackground:t=!0,showOverlay:n=!0,linesColor:o,backgroundColor:d,shotCoordinates:c})=>(0,r.jsxs)(a.A,{children:[t&&(0,r.jsx)(i.A,{courtColor:d,showDarkPaint:!0}),e&&(0,r.jsx)(l.A,{fill:o}),n&&(0,r.jsx)(s.A,{shotCoordinates:c})]})},73045:(e,t,n)=>{"use strict";n.d(t,{e:()=>s.e,l:()=>r.l});var r=n(37721),s=n(33480)},77752:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>S});var r=n(6029),s=n(28349),a=n(76356),l=n(99064),i=n(55729),o=n(48683),d=n(22648),c=n(25811),u=n(83457),m=n(87763),x=n(12047),h=n(83260),p=n(79363),v=n(76868),f=n(20294),j=n(50303);let g=e=>{let{comments:t,isOpen:n}=e,{rootRef:l}=(0,i.useContext)(j.XM),{isMobile:o}=(0,s.$c)();return(0,r.jsx)("div",{ref:o?void 0:l,children:(0,r.jsxs)(s.Ee,{h:{md:n?"[370px]":"[538px]"},bg:["neutral.highlight","surface.s1"],children:[(0,r.jsx)(a.so,{direction:"column",p:"md",gap:"lg",children:t.map(e=>(0,r.jsx)(f.y,{comment:e},e.id))}),(0,r.jsx)(a.az,{borderTop:"1px solid {colors.neutrals.nLv4}",hideBelow:"md",mb:"lg",children:(0,r.jsx)(v.p,{graphic:"hockey-shotmap",descriptionMessageId:"You've seen all available plays for this period."})})]})})};var y=n(83899),b=n(88098);let w=["scoreChange","penaltyScored","penaltyMissed","penaltySaved","faceOff","shotOffTarget","shotBlocked","shotSaved","suspension","hit"],k=["1st","2nd","3rd"],C=e=>{let{isOpen:t,periods:n,shots:o,activeTab:d,setActiveTab:u,setIsOpen:h}=e,{rootRef:v}=(0,i.useContext)(j.XM),f=(0,x.Ay)(),{isMobile:g}=(0,s.$c)();return(0,r.jsxs)(l.PI,{bg:"surface.s1",borderBottom:"onSurface.nLv4",pb:t?"sm":void 0,elevation:[2,void 0],top:f,isStickingDisabled:!g,children:[(0,r.jsx)(a.az,{py:"sm",children:(0,r.jsx)(c.n,{variant:"secondary",activeTabKey:d,onChange:u,tabs:n.map((e,t)=>({tabKey:t,tabValue:(0,r.jsx)(m.fP,{id:e,short:!0})})),onTabClick:()=>{if(v.current){var e;null==(e=v.current.children[0])||e.scrollTo(0,0)}else window.scrollTo(0,135)}})}),(0,r.jsx)(p.A,{isOpen:t,setIsOpen:h,borderTop:"onSurface.nLv4",title:"Event Map"}),t&&(0,r.jsx)(a.az,{px:{md:"sm"},children:(0,r.jsx)(y.A,{shots:o})})]})},S=()=>{var e;let[t,n,s]=(0,h.A)("ice.hockey.playbyplay.open",!0),{textCommentary:l,periods:c}=(0,u.q)(),[m,x]=(0,i.useState)(0);(0,i.useEffect)(()=>{c.length&&x(c.length-1)},[!!c.length]);let p=c[m],v=(null==l||null==(e=l[p])?void 0:e.filter(e=>w.includes(e.type)&&!!e.location))||[],f=v.map(e=>({id:e.id,x:e.location.x,y:e.location.y,type:(0,b.rk)(e.type)}))||[];return s?(0,r.jsx)(j.v9,{comments:t?v:[],children:(0,r.jsxs)(o.Zp,{variant:"desktop-only",children:[(0,r.jsx)(o.Zp.Header,{title:"cricket.pbp"}),(0,r.jsxs)(a.az,{position:"relative",children:[(0,r.jsx)(C,{periods:c.length?c:k,isOpen:t,setIsOpen:n,activeTab:m,setActiveTab:x,shots:f}),(null==l?void 0:l[p])?(0,r.jsx)(g,{comments:l[p],isOpen:t}):(0,r.jsx)(a.az,{h:"[512px]",children:(0,r.jsx)(d.a,{})})]})]})}):null}},77988:(e,t,n)=>{"use strict";n.d(t,{A:()=>h,g:()=>x});var r=n(6029),s=n(28349),a=n(90248),l=n(494),i=n(10794);let o={AU:"www.gamblinghelponline.org.au",BG:"nss-bg.org/hi-kodeks",GB:"www.begambleaware.org",NL:"hands24x7.nl"},d={DE:"18+ | Erlaubt (Whitelist) | Suchtrisiko | www.buwei.de",NL:"Wat kost gokken jou? Stop op tijd. 18+",CA:"19+. Gambling can be addictive, please play responsibly.
Eligible iGames conducted and managed by iGO are only available to those physically present in the Province of Ontario.",US:"21+. Gambling Problem?
Call 1-800-GAMBLER",SE:"18+. st\xf6dlinjen.se. Spela ansvarsfullt.",DK:"18+ | Regler og vilk\xe5r g\xe6lder | Spil ansvarligt | Selvudeluk via ROFUS.nu | StopSpillet.dk",TR:"İddaa oranları anlık olarak değişiklik g\xf6sterebilmektedir."},c={BE:21,GR:21,CA:19};function u(e){let{countryOddsProvider:t}=e;return(null==t?void 0:t.oddsMayDiffer)?(0,r.jsxs)("span",{children:[(0,r.jsx)("br",{}),(0,r.jsx)(a.A,{id:"disclaimer_odds_may_differ"})]}):null}function m(){let e=(0,l.d4)(i.LQ),t=e&&o[e];return t?(0,r.jsxs)("span",{children:[", ",(0,r.jsx)("span",{dangerouslySetInnerHTML:{__html:t}})]}):null}let x=e=>e&&c[e.toUpperCase()]?c[e.toUpperCase()]:18;function h(e){let t,{provider:n}=e,o=(0,l.d4)(i.LQ),c=(0,l.d4)(i.zj);return o&&c?t=d["".concat(o,"-").concat(c)]||d[o]:o&&(t=d[o]),(0,r.jsxs)(s.EY,{display:"block",textStyle:"body.small",textAlign:"center",color:"neutrals.nLv3",pr:"sm",children:[t?(0,r.jsx)("span",{dangerouslySetInnerHTML:{__html:t}}):(0,r.jsx)(a.A,{id:"gamble_responsibly",values:{age:x(o)}}),(0,r.jsx)(m,{}),(0,r.jsx)(u,{countryOddsProvider:n})]})}},78492:(e,t,n)=>{var r=n(50956);e.exports=function(e,t,n,s){return r(e,function(e,r,a){t(s,e,n(e),a)}),s}},79263:(e,t,n)=>{"use strict";n.d(t,{j:()=>b});var r=n(21377),s=n(932),a=n.n(s),l=n(78383),i=n.n(l),o=n(84285),d=n.n(o),c=n(59018),u=n.n(c),m=n(55729),x=n(494),h=n(45860),p=n(2294),v=n(39196),f=n(70351),j=n(11791);async function g(e,t){let n=u()(t),s={},a=await Promise.allSettled(n.map(t=>(0,r.TtD)(r.bnp.allOdds(e,t))));return n.forEach((e,t)=>{"fulfilled"===a[t].status&&(s[e]=a[t].value)}),s}async function y(e){let[t,n]=e,r={},s=!1,a=n.map(e=>e.oddsFromId),l=[],i=!1,o=await g(t,a);if(n.forEach(e=>{o[e.oddsFromId]?(r[e.id]=o[e.oddsFromId],e.oddsFromId!==e.id&&e.oddsMayDiffer&&(s=!0)):e.fallbackProviderId?o[e.fallbackProviderId]?r[e.id]=o[e.fallbackProviderId]:l.push(e.fallbackProviderId):i=!0}),!i&&l.length){let e=await g(t,l);n.forEach(t=>{!r[t.id]&&t.fallbackProviderId&&e[t.oddsFromId]?(r[t.id]=e[t.fallbackProviderId],t.oddsMayDiffer&&(s=!0)):i=!0})}if(i)throw Error("Could not fetch all odds");return{providerOdds:n.map(e=>r[e.id]),oddsMayDiffer:s}}let b=(e,t,n)=>{var r,s;let l=(0,x.d4)(p.fq),o=(0,j.KO)(e,n),[c]=(0,f.A)(),{data:u,error:g,mutate:b,isLoading:w}=(0,h.Ay)(l&&(null==o?void 0:o.length)?[t,o,n,"ODDS_COMPARISON"]:null,{refreshInterval:6e4,fetcher:y});(0,m.useEffect)(()=>{b()},[n]);let k=new Set;null==u||null==(r=u.providerOdds)||r.forEach(e=>{var t;null==(t=e.markets)||t.forEach(e=>{k.add(e.id)})});let C=[...k];return(0,m.useEffect)(()=>{let e=[];return c&&C.forEach(t=>{if(t){let n=c.Topic.odds.byId(t),r=(0,v.p)("odds:".concat(t),n,i());e.push(c.subscribe(r))}}),()=>{e.forEach(e=>e())}},[c,null==u||null==(s=u[0])?void 0:s.eventId]),(0,m.useEffect)(()=>{let e=e=>{let t=a()(u);if(!t||!t.providerOdds.some(e=>!!e.markets))return;let n=[1,2,3];t.providerOdds.map(t=>{var n;return null==(n=t.markets)?void 0:n.findIndex(t=>t.id===e.id)}).forEach((r,s)=>{void 0!==r&&r>-1&&n.forEach(n=>{let l=e["choice".concat(n,".fractionalValue")];l&&d()(t,"providerOdds.".concat(s,".markets[").concat(r,"].choices[").concat(n-1,"].fractionalValue"),l,a())})}),b(t,!1)};c&&"boolean"!=typeof c&&C.forEach(t=>{if(t){let n=c.Topic.odds.byId(t),r=(0,v.p)("odds:".concat(t),n,e);c.subscribe(r)}})},[c,u,b]),{data:u,error:g,isLoading:w}}},79363:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(6029),s=n(99064),a=n(90248),l=n(54409);function i(e){let{isOpen:t,setIsOpen:n,title:i,...o}=e;return(0,r.jsxs)(s.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,r.jsx)(l.baM,{}),(0,r.jsx)(s.EY,{as:"div",ellipsis:!0,font:"display.small",color:"onSurface.nLv1",style:{flexGrow:1},children:i||(0,r.jsx)(a.A,{id:"hockey_game_shotmap"})}),(0,r.jsx)(l.zQC,{icon:t?"chevron-up":"chevron-down",fill:"onSurface.nLv1"})]})}},80925:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});let r=(e,t)=>{let n=null==e?void 0:e.provider,r=null==e?void 0:e.fallbackProvider;return t&&(null==n?void 0:n.liveOddsFrom)?[null==n?void 0:n.liveOddsFrom.id,null==r?void 0:r.id]:(null==n?void 0:n.oddsFrom)?[null==n?void 0:n.oddsFrom.id,null==r?void 0:r.id]:[null==n?void 0:n.id,null==r?void 0:r.id]}},81648:e=>{e.exports=function(e,t,n,r){for(var s=-1,a=null==e?0:e.length;++s{"use strict";n.d(t,{A:()=>m});var r=n(6029),s=n(99064),a=n(55729),l=n(41735),i=n(36452);function o(e){let{isAway:t,fill:n}=e,{colors:s,settings:a}=(0,l.useTheme)(),i={transform:""};return t&&(i.transform="rotate(180deg)"),"rtl"===a.textDirection&&(i.transform+=" scale(-1,1)"),(0,r.jsx)("svg",{width:"88",height:"20",viewBox:"0 0 88 20",style:i,children:(0,r.jsx)("g",{fill:n||s.surface.s1,fillRule:"evenodd",children:(0,r.jsx)("path",{d:"m87.2 9.845-12 8v-16zM.8 7.845h74.4v4H.8z"})})})}var d=n(88098),c=n(65577),u=n(50303);function m(e){let{isLeft:t,isInverseTeams:n=!1,shots:m}=e,{colors:x}=(0,l.useTheme)(),{selectedShot:h}=(0,a.useContext)(u.XM),p=t?"colors.homeAway.home.primary":"colors.homeAway.away.primary";return(0,r.jsxs)(r.Fragment,{children:[void 0!==t&&(0,r.jsx)(s.so,{w:"100%",justify:"center",mt:"xs",children:(0,r.jsx)(o,{fill:x.onSurface.nLv2,isAway:!t})}),(0,r.jsx)(s.so,{justify:"center",children:(0,r.jsx)(s.az,{maxW:[2*c.Co+c.o_,void 0],w:"100%",children:(0,r.jsxs)(c.Ay,{children:[m.map(e=>{let s=(0,d.mK)(e,n);return void 0===t?(0,r.jsx)(i.b,{x:s.x,y:s.y,type:e.type,commentId:e.id},e.id):(0,r.jsx)(i.h,{x:s.x,y:s.y,type:e.type,color:p,commentId:e.id,backgroundOpacity:.25},e.id)}),h&&(0,r.jsx)(i.b,{...(0,d.mK)(h,n),type:h.type,commentId:h.id,isSelected:!0})]})})})]})}},85568:(e,t,n)=>{"use strict";n.d(t,{U:()=>i});var r=n(6029),s=n(28349),a=n(13030),l=n(51372);let i=e=>{let{branding:t,location:n,entityId:i,...o}=e,{isDesktop:d}=(0,s.$c)();return d&&t?(0,r.jsx)(a.A.Header,{...o,variant:"left-aligned",actionComponent:(0,r.jsx)(l.O,{minW:"[140px]",px:"sm",br:"xs",branding:t,location:n,entityId:i})}):(0,r.jsx)(a.A.Header,{...o})}},86523:(e,t,n)=>{"use strict";n.r(t),n.d(t,{LiveActionWidgetContainer:()=>I,default:()=>T});var r=n(6029),s=n(21377),a=n(28349),l=n(76356),i=n(55729),o=n(494),d=n(45860),c=n(48683),u=n(54409),m=n(19451),x=n(7263),h=n(99064),p=n(90248);let v=(0,i.forwardRef)((e,t)=>{let{width:n,eventId:i,toggleButton:o,options:d}=e;return(0,r.jsxs)(l.az,{ref:t,_fullscreen:{bg:"surface.s1"},children:[(0,r.jsx)(a.H3,{textAlign:"center",pt:"md",pb:"xs",children:(0,r.jsx)(p.A,{id:"event.liveAction"})}),(0,r.jsx)(l.az,{display:"table",m:"auto",py:"sm",children:(0,r.jsx)(l.az,{mx:"sm",children:(0,r.jsxs)(h.XI,{position:"relative",m:"auto",mb:"10px",children:[(0,r.jsx)("iframe",{src:(0,s.Lo9)(s.bnp.liveActionWidget(i,d)),style:{display:"block"},width:n,height:.49*n,frameBorder:"0",scrolling:"no"}),o]})})})]})});var f=n(62042);let j=(0,f.AH)({zIndex:"dropdown",bg:"surface.s1"}),g=(0,f.AH)({elevation:"2",position:"absolute",px:"lg",br:"lg",overflow:"hidden",cursor:"move"}),y=(0,f.AH)({mb:"md",br:"lg"}),b=(0,f.AH)({"& iframe":{pointerEvents:"none"}}),w=(e,t)=>(0,f.cx)(j,e&&g,!e&&y,t&&b),k=(0,l.I4)("div",{base:{position:"absolute",zIndex:"popover",_hover:{bg:"overlay.darken1"}}});function C(e,t,n,r){let s,a;function l(){document.onmouseup=null,document.onmousemove=null,n(!1),e&&e.clientWidth&&t(e.clientWidth)}function i(t){if(t.preventDefault(),t.stopPropagation(),e){let{horizontal:n,vertical:l,valence:i}=r;if(n){let n=e.offsetWidth+(t.clientX-s)*i;e.style.width="".concat(n,"px"),-1===i&&n>320&&n<800&&(e.style.left="".concat(e.offsetLeft+t.clientX-s,"px"))}if(l){let n=e.offsetHeight+(t.clientY-a)*i;e.style.height="".concat(n,"px"),-1===i&&n>520&&n<800&&(e.style.top="".concat(e.offsetTop+t.clientY-a,"px"))}s=t.clientX,a=t.clientY}}return function(e){e.preventDefault(),e.stopPropagation(),s=e.clientX,a=e.clientY,document.onmouseup=l,document.onmousemove=i,n(!0)}}let S=(e,t)=>{switch(t){case"lg":return 368;case"md":return 298;default:return e}},A=e=>{let{expanded:t,children:n}=e,s=(0,i.createRef)(),o=(0,i.createRef)(),d=(0,i.createRef)(),c=(0,i.createRef)(),u=(0,i.createRef)(),m=(0,i.createRef)(),x=(0,i.createRef)(),[h,p]=(0,i.useState)(0),[f,j]=(0,i.useState)(0),[g,y]=(0,i.useState)({x:0,y:0}),[b,A]=(0,i.useState)(!1),[I,T]=(0,i.useState)(!1),{mediaBreakpoint:z}=(0,a.$c)(),R=(0,i.useCallback)(e=>{e.preventDefault(),y({x:e.clientX,y:e.clientY}),A(!0)},[g,b]),P=(0,i.useCallback)(e=>{if(!b)return;let t=g.x-e.clientX,n=g.y-e.clientY;y({x:e.clientX,y:e.clientY});let r="".concat(e.currentTarget.offsetTop-n,"px"),s="".concat(e.currentTarget.offsetLeft-t,"px");e.currentTarget.style.top=r,e.currentTarget.style.left=s},[g,b]),E=(0,i.useCallback)(()=>{A(!1),document.body.style.pointerEvents=""},[g,b]);return(0,i.useEffect)(()=>{t&&(o.current&&(o.current.onmousedown=C(s.current,j,T,{vertical:!0,valence:-1})),d.current&&(d.current.onmousedown=C(s.current,j,T,{horizontal:!0,valence:1})),c.current&&(c.current.onmousedown=C(s.current,j,T,{vertical:!0,valence:1})),u.current&&(u.current.onmousedown=C(s.current,j,T,{horizontal:!0,valence:-1})),m.current&&(m.current.onmousedown=C(s.current,j,T,{horizontal:!0,vertical:!0,valence:1})),x.current&&(x.current.onmousedown=C(s.current,j,T,{horizontal:!0,vertical:!0,valence:-1}))),!t&&s.current&&(s.current.style.top="",s.current.style.left="",s.current.style.width="",s.current.style.height="")},[o.current,t]),(0,i.useEffect)(()=>{s.current&&(j(Math.min(640,document.body.offsetWidth)),h||p(s.current.clientWidth))},[s.current]),(0,r.jsxs)(l.az,{className:w(t,I),ref:s,onMouseDown:R,onMouseMove:b?P:void 0,onMouseUp:E,style:t?{width:f,minWidth:320,maxWidth:800,minHeight:520,maxHeight:800,height:500}:void 0,children:[t&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(k,{ref:o,top:"0",left:"0",w:"100%",h:"xs",cursor:"ns-resize"}),(0,r.jsx)(k,{ref:d,top:"0",right:"0",w:"xs",h:"100%",cursor:"ew-resize"}),(0,r.jsx)(k,{ref:c,bottom:"0",left:"0",w:"100%",h:"xs",cursor:"ns-resize"}),(0,r.jsx)(k,{ref:u,top:"0",left:"0",w:"xs",h:"100%",cursor:"ew-resize"}),(0,r.jsx)(k,{ref:m,bottom:"0",right:"0",w:"md",h:"md",cursor:"se-resize"}),(0,r.jsx)(k,{ref:x,top:"0",left:"0",w:"md",h:"md",cursor:"nw-resize"})]}),(0,r.jsx)(l.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:i.Children.map(n,e=>e&&e.type===v?(0,i.cloneElement)(e,{...e.props,width:t?f-24:S(h-24,z)}):e)})]})};function I(e){let{eventId:t,modal:n,useNativeFullscreen:h,children:p}=e,{data:f}=(0,d.Ay)([s.bnp.liveActionWidget(t),"HEAD"],{fetcher:x.n}),[j,g]=(0,i.useState)(!1),[y,b]=(0,i.useState)(320),w=(0,i.createRef)(),[k,C]=(0,i.useState)(!1),S=(0,o.d4)(e=>e.locale.selectedLocale||m.Xn),I=(0,o.d4)(e=>e.locale.geoIPAlpha2),{isMobile:T}=(0,a.$c)(),z=(0,i.useMemo)(()=>{if((0,s.S$s)())return!1;let e=document.documentElement,t=e.requestFullscreen||e.webkitRequestFullscreen||e.mozRequestFullScreen||e.msRequestFullscreen;return h&&!t},[h]),R=(0,i.useCallback)(e=>{if(e){let e=w&&w.current;if(!e)return;let t=e.requestFullscreen||e.webkitRequestFullscreen||e.mozRequestFullScreen||e.msRequestFullscreen;t&&((t=t.bind(e))(),screen.orientation&&screen.orientation.lock&&screen.orientation.lock("landscape"))}else{let e=document,t=e.exitFullscreen||e.webkitExitFullscreen||e.mozExitFullScreen||e.msExitFullscreen;t&&(t=t.bind(e))()}},[w,w.current]),P=(0,i.useCallback)(()=>{g(!j),h&&R(!j)},[w,w.current,j,g]);if((0,i.useEffect)(()=>{if(j&&w.current){let e=30;90===screen.orientation.angle&&(e=200),b(w.current.offsetWidth-e)}else b(320)},[w,w.current,j,b]),(0,i.useEffect)(()=>{h&&j&&w.current&&(k||(document.removeEventListener("fullscreenchange",e),document.addEventListener("fullscreenchange",e,{once:!0}),C(!0)));function e(){!0===document.fullscreen?(b(Math.max(window.screen.width,window.screen.height)),setTimeout(()=>{b(Math.max(window.screen.width,window.screen.height))},500)):!1===document.fullscreen&&(b(320),g(!1)),document.removeEventListener("fullscreenchange",e),C(!1)}},[w,w.current,j,b,k]),!f)return null;let E=(0,r.jsx)(v,{eventId:t,ref:w,width:y,toggleButton:z?null:(0,r.jsx)(l.ov,{backgroundColor:"overlay.darken2",position:"absolute",h:"2xl",w:"2xl",top:"sm",right:"sm",br:"50%",onClick:P,cursor:"pointer",_hover:{bg:"overlay.darken1"},children:(0,r.jsx)(u.L9n,{expanded:j,fill:"white"})}),options:{language:S,china:"cn"===I,mobile:T}});return n?(0,r.jsxs)(A,{expanded:j,setExpanded:g,children:[E,j&&p]}):(0,r.jsx)(c.Zp,{children:E})}let T=I},86890:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(6029),s=n(42181);function a({side:e,linesColor:t,isHorizontalLayout:n}){return(0,r.jsxs)(s.g9,Object.assign({side:e,isHorizontalLayout:n},{children:[(0,r.jsx)("div",Object.assign({className:"goal"},{children:(0,r.jsxs)("svg",Object.assign({version:"1.1",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",viewBox:"0 0 160 70",width:"160",height:"70"},{children:[(0,r.jsx)("defs",{children:(0,r.jsx)("clipPath",Object.assign({id:"cutoffRect"},{children:(0,r.jsx)("rect",{x:"0",y:"1",width:"160",height:"70"})}))}),(0,r.jsxs)("g",Object.assign({stroke:t,fill:"transparent",strokeWidth:"2"},{children:[(0,r.jsx)("rect",{clipPath:"url(#cutoffRect)",x:"1",y:"0",width:"158",height:"46"}),(0,r.jsx)("rect",{clipPath:"url(#cutoffRect)",x:"42",y:"0",width:"74",height:"24"}),(0,r.jsx)("path",{d:"M 39 46 A 50 50 0 0 0 119 46"})]}))]}))})),(0,r.jsx)("div",Object.assign({className:"c1"},{children:(0,r.jsx)("svg",Object.assign({viewBox:"0 0 14 14",height:"14",width:"14"},{children:(0,r.jsx)("circle",{stroke:t,fill:"transparent",strokeWidth:"2",cx:"0",cy:"0",r:"12"})}))})),(0,r.jsx)("div",Object.assign({className:"c2"},{children:(0,r.jsx)("svg",Object.assign({viewBox:"0 0 14 14",height:"14",width:"14"},{children:(0,r.jsx)("circle",{stroke:t,fill:"transparent",strokeWidth:"2",cx:"14",cy:"0",r:"12"})}))})),(0,r.jsx)("div",Object.assign({className:"center"},{children:(0,r.jsx)("svg",Object.assign({viewBox:"0 0 128 64",width:"128",height:"64"},{children:(0,r.jsx)("circle",{stroke:t,fill:"transparent",strokeWidth:"2",cx:"64",cy:"64",r:"62"})}))}))]}))}},87526:(e,t,n)=>{"use strict";n.d(t,{N:()=>I});var r=n(6029),s=n(947),a=n(28349),l=n(76356),i=n(55729),o=n(90248),d=n(54053),c=n(61836);let u=e=>{let{url:t,onClick:n}=e;return(0,r.jsx)(a.$n,{children:(0,r.jsx)(l.I4.a,{color:"onColor.primary",h:"100%",w:"100%",display:"flex",justifyContent:"center",alignItems:"center",href:t,target:"_blank",rel:"noopener",onClick:n,children:(0,r.jsx)(o.A,{id:"claim_offer"})})})},m=e=>{let{logoUrl:t,promotionName:n,bgImageUrl:s,title:m,description:x,isOpen:h,setIsOpen:p,url:v,location:f}=e,{isDesktop:j}=(0,a.$c)(),g={backgroundImage:"url(".concat(s,")"),backgroundSize:"cover",backgroundRepeat:"no-repeat",backgroundPosition:"center"};if((0,i.useEffect)(()=>{h&&(0,c.Z1)({type:"bottom_sheet",name:n,location:f})},[h]),!h)return null;let y=()=>p(!1);return(0,r.jsx)(r.Fragment,{children:(0,r.jsx)(d.A,{isOpen:h,setIsOpen:p,footer:null,renderAdPlaceholder:!1,sheetStyles:g,modalContentStyles:g,width:360,bottomSheetSize:"large",isBottomSheetLocked:!0,children:(0,r.jsxs)(l.so,{direction:"column",justifyContent:"space-between",h:"100%",style:j?g:void 0,br:"lg",children:[(0,r.jsx)(l.so,{h:"8xl",px:"xl",pt:{md:"xl"},children:(0,r.jsx)(l.az,{w:"4xl",h:"4xl",children:(0,r.jsx)(a._V,{src:t,h:"4xl",w:"4xl",alt:n})})}),(0,r.jsxs)(l.so,{direction:"column",justify:"flex-end",minH:"[400px]",px:"lg",pb:"lg",gap:"2xl",children:[(0,r.jsxs)(l.so,{direction:"column",gap:"lg",children:[(0,r.jsx)(l.az,{textStyle:"display.extraLarge",color:"onColor.primary",children:m}),(0,r.jsx)(l.az,{textStyle:"body.mediumParagraph",color:"onColor.primary",children:x})]}),(0,r.jsxs)(l.so,{direction:"column",gap:"sm",pt:"xs",children:[(0,r.jsx)(u,{url:v,onClick:()=>{(0,c.AW)({type:"bottom_sheet",name:n,location:f}),y()}}),(0,r.jsx)(a.$n,{variant:"clear",color:"onColor.primary",onClick:y,children:(0,r.jsx)(o.A,{id:"maybe_later"})})]})]})]})})})};var x=n(66062);let h=e=>{let{isOpen:t,setIsOpen:n,location:a}=e,l=(0,s.A)();return(0,r.jsx)(m,{logoUrl:"/static/images/courtside-1891/logo.png",bgImageUrl:"/static/images/courtside-1891/modal-bg.png",promotionName:x.d.promotionName,title:l.formatMessage({id:"euro_basket_promo_drawer_header"}),description:l.formatMessage({id:"euro_basket_promo_drawer_body"}),url:x.d.url,isOpen:t,setIsOpen:n,location:a})};var p=n(83151),v=n(21501),f=n(494),j=n(41888),g=n(70116),y=n(10794),b=n(62827),w=n(83260),k=n(89606),C=n(32097);let S=(e,t)=>{let n=new Date().getTime();if(!e.hasModal||!e.modalCooldown||e.maxTotalViews&&(null==t?void 0:t.totalViews)&&e.maxTotalViews>t.totalViews)return!1;let r=null==t?void 0:t.lastView;return!r||n-r>e.modalCooldown},A=e=>{let t=(0,v.hX)(),{priorityModal:n,setModalAvailable:r,dismiss:s,isDismissed:a}=(0,g.Z)(),l=(0,f.d4)(y.LQ),[o,d]=(0,b.bL)("promotion-in-session",void 0),[c,u]=(0,i.useState)(!1),[m,h]=(0,i.useState)(!1),[p,A,I]=(0,w.A)("last-view-per-promotion",{}),T=t||!I?void 0:x.jI.find(n=>(0,k.y)(n,t,l)&&(0,C.H)(e,n)&&S(n,p[n.id]));return(0,i.useEffect)(()=>{T?r(j.w.PromotionModal,!0):n||a||r(j.w.PromotionModal,!1)},[T]),(0,i.useEffect)(()=>{if(n===j.w.PromotionModal&&T){let e=new Date().getTime();d(T.id),u(!0),h(!0),A(t=>{var n,r;let s=Object.keys(t).filter(e=>!!x.jI.find(t=>t.id===e)),a={};return s.forEach(e=>{a[e]=t[e]}),a[T.id]={lastView:e,totalViews:(null!=(r=null==(n=t[T.id])?void 0:n.totalViews)?r:0)+1},a})}},[n]),(0,i.useEffect)(()=>{!c&&m&&s()},[c]),{promotion:o,isOpen:c,setIsOpen:u}},I=e=>{let{page:t}=e,{promotion:n,isOpen:s,setIsOpen:a}=A(t);return n&&s&&n===p.v.Courtside1891?(0,r.jsx)(h,{isOpen:s,setIsOpen:a,location:t.location}):null}},90547:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>l});var r=n(90142),s=n(6029),a=n(39895);function l(e){var{fillOpacity:t=".06"}=e,n=(0,r.T)(e,["fillOpacity"]);return(0,s.jsx)(a.A,Object.assign({width:24,height:24,viewBox:"0 0 24 24",fillOpacity:t},n,{children:(0,s.jsx)("path",{d:"M23.824 12c.097 0 .176.079.176.176v11.648a.176.176 0 0 1-.176.176H.176A.176.176 0 0 1 0 23.824v-5.648C0 18.08.079 18 .176 18h17.648a.176.176 0 0 0 .176-.176v-5.648c0-.097.079-.176.176-.176zm0-12c.097 0 .176.079.176.176v5.648a.176.176 0 0 1-.176.176H6.176A.176.176 0 0 0 6 6.176v5.648a.176.176 0 0 1-.176.176H.176A.176.176 0 0 1 0 11.824V.176C0 .08.079 0 .176 0z",fill:n.fill,fillRule:"evenodd"})}))}},90715:(e,t,n)=>{"use strict";function r(e,t){if(11!==t.length)throw Error("getFormationMatrix(): Insufficient players to form formation ".concat(e,"."));let n=[],r=["1",...e.split("-")].map(Number),s=[...t];return r.forEach(e=>{n.push(s.splice(0,e))}),n}n.d(t,{V:()=>r})},96003:(e,t,n)=>{"use strict";n.d(t,{J:()=>r,x:()=>s});let r="bonus-odds-cta-seen",s="bet-boost-cta-seen"},98095:(e,t,n)=>{"use strict";n.d(t,{j:()=>i});var r=n(4967),s=n(45860),a=n(86056);let l=e=>fetch(e,{method:"HEAD",cache:"no-store"});function i(){let{data:e,error:t,isLoading:n}=(0,s.Ay)(a.sp,{fetcher:l,dedupingInterval:r.d_});return{isLoading:n,hasAdBlock:!!(null==e?void 0:e.redirected)||void 0!==t}}}}]);