!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]="8e84b01b-0161-4514-810f-7462178954db",e._sentryDebugIdIdentifier="sentry-dbid-8e84b01b-0161-4514-810f-7462178954db")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[38633],{7643:(e,t,l)=>{l.d(t,{Ay:()=>o});var n=l(55729),r=l(45860),i=l(17259),a=l(27133);let s=Promise.resolve(),o=(0,i.Ht)(r.Ay,e=>(t,l,r)=>{let o,d=(0,n.useRef)(!1),{cache:c,initialSize:u=1,revalidateAll:x=!1,persistSize:m=!1,revalidateFirstPage:h=!0,revalidateOnMount:p=!1,parallel:g=!1}=r,[,,,f]=i.bZ.get(i.PP);try{(o=(e=>(0,i.lK)(e?e(0,null):null)[0])(t))&&(o=i.q9+o)}catch(e){}let[j,y,v]=(0,i.r9)(c,o),b=(0,n.useCallback)(()=>(0,i.b0)(j()._l)?u:j()._l,[c,o,u]);(0,a.useSyncExternalStore)((0,n.useCallback)(e=>o?v(o,()=>{e()}):()=>{},[c,o]),b,b);let w=(0,n.useCallback)(()=>{let e=j()._l;return(0,i.b0)(e)?u:e},[o,u]),_=(0,n.useRef)(w());(0,i.Es)(()=>{if(!d.current){d.current=!0;return}o&&y({_l:m?_.current:w()})},[o,c]);let A=p&&!d.current,k=e(o,async e=>{let n=j()._i,a=[],s=w(),[o]=(0,i.r9)(c,e),d=o().data,u=[],m=null;for(let e=0;e{if(s in f){let e=f[s];delete f[s],y=await e}else y=await l(o);j({data:y,_k:o}),a[e]=y};g?u.push(t):await t()}else a[e]=y;g||(m=y)}return g&&await Promise.all(u.map(e=>e())),y({_i:i.ZH}),a},r),C=(0,n.useCallback)(function(e,t){let l="boolean"==typeof t?{revalidate:t}:t||{},n=!1!==l.revalidate;return o?(n&&((0,i.b0)(e)?y({_i:!0}):y({_i:!1})),arguments.length?k.mutate(e,{...l,revalidate:n}):k.mutate()):s},[o,c]),F=(0,n.useCallback)(e=>{let l;if(!o)return s;let[,n]=(0,i.r9)(c,o);if((0,i.Tn)(e)?l=e(w()):"number"==typeof e&&(l=e),"number"!=typeof l)return s;n({_l:l}),_.current=l;let r=[],[a]=(0,i.r9)(c,o),d=null;for(let e=0;e{l.d(t,{Bt:()=>i.B,GP:()=>r.G,XL:()=>a.X,_S:()=>n._});var n=l(72530),r=l(27264),i=l(63587),a=l(41953)},10292:(e,t,l)=>{l.d(t,{t:()=>n.t});var n=l(91407)},13893:(e,t,l)=>{l.d(t,{V:()=>x});var n=l(6029),r=l(54529),i=l(76356),a=l(90248),s=l(46222),o=l(52466),d=l(64006),c=l(55112),u=l(95084);let x=e=>{let{location:t}=e;return(0,n.jsx)(d.N_,{routeKey:"user.weeklyChallenge",onClick:()=>{(0,u.Wk)({type:"weekly_challenge",location:t})},children:(0,n.jsx)(s.Zp,{children:(0,n.jsxs)(i.so,{gap:"md",py:"md",px:"sm",align:"center",justify:"space-between",children:[(0,n.jsx)(r._V,{h:"4xl",w:"[70px]",src:"/static/images/weekly-challenge/predictions-cta.svg",alt:"Weekly challenge trophies"}),(0,n.jsxs)(i.BJ,{gap:"xs",flexGrow:1,children:[(0,n.jsx)(r.EY,{textStyle:"display.medium",children:(0,n.jsx)(a.A,{id:"weekly_challenge"})}),(0,n.jsx)(r.EY,{textStyle:"body.small",color:"neutrals.nLv3",children:(0,n.jsx)(c.k,{})})]}),(0,n.jsx)(r.K0,{variant:"clear",size:"primary",children:(0,n.jsx)(o.CCT,{})})]})})})}},15538:(e,t,l)=>{l.d(t,{J:()=>n});var n=function(e){return e[e.SpecificRatingPlayer=0]="SpecificRatingPlayer",e[e.AverageRatingTeam=1]="AverageRatingTeam",e[e.AverageRating=2]="AverageRating",e[e.AverageRatingTeamLineups=3]="AverageRatingTeamLineups",e[e.AverageRatingPlayer=4]="AverageRatingPlayer",e}({})},17152:(e,t,l)=>{l.d(t,{D:()=>F});var n=l(6029),r=l(87827),i=l(19501),a=l(54529),s=l(62042),o=l(76356),d=l(55729),c=l(947),u=l(90248),x=l(52466),m=l(82536),h=l(31830),p=l(18970),g=l(15538),f=l(19991),j=l(94565),y=l(28446),v=l(41735);let b=(0,v.default)(j.az).withConfig({componentId:"sc-12120f08-0"})(["animation:"," 660ms ease-in-out 1;animation-delay:330ms;animation-fill-mode:forwards;"],e=>{let t;return t=e.ratingPosition,(0,v.keyframes)(["from{left:0;}to{left:",";}"],t)}),w=["3.0","6.0","6.5","7.0","8.0","9.0"],_=(0,y.A)().domain([3,6,6.5,7,8,9,10]).range([0,16.66666,33.33333,50,66.66666,83.33333,100]);function A(e){let{rating:t,format:l}=e;return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(j.so,{id:"#container",position:"relative",mx:"sm",mb:"xs",children:[w.map((e,t)=>(0,n.jsx)(j.az,{flex:"1 1 1px",br:0===t?"xs 0 0 xs":5===t?"0 xs xs 0":void 0,bg:(0,f.Et)(e),h:"16"},e)),t&&(0,n.jsx)(b,{position:"absolute",top:"-2",ratingPosition:_(+t)+"%",w:"2",h:"20",bg:"neutral.variant"})]}),(0,n.jsx)(j.so,{justify:"space-between",children:[...w,"10"].map(e=>(0,n.jsxs)(j.EY,{color:(0,f.Et)(e),font:"tab.secondary",children:[e,"sideBox"===l&&"10"!==e?"0":""]},e))})]})}var k=l(96688);let C=(0,s.AH)({"& > div > div":{zoom:2.5},"& span":{zoom:2.5}});function F(e){let{type:t,rating:l=10,renderImage:s,children:f}=e,j=(0,c.A)(),[y,v]=(0,d.useState)(!1),{isDesktop:b}=(0,a.$c)(),w=(0,d.useContext)(p.Ws)===i.QCR.Football,_=(0,h.A)(),F=(0,k.y)(_),S="",T="box",E="sofascore_rating",z="";switch(t){case g.J.SpecificRatingPlayer:S="rating_general_text",z=[j.formatMessage({id:"rating_top_stats_general"}),j.formatMessage({id:"rating_top_stats_specific"})].join(" ");break;case g.J.AverageRatingTeam:S="average_team_rating_text",T="sideBox",z=[j.formatMessage({id:"rating_top_teams_general"}),j.formatMessage({id:"rating_top_teams_specific"})].join(" ");break;case g.J.AverageRating:S="average_team_rating_match",T="sideBox",E="average_sofascore_rating";break;case g.J.AverageRatingTeamLineups:S="average_team_rating_text",T="sideBox";break;case g.J.AverageRatingPlayer:S="average_player_rating_text",T="sideBox"}return(0,n.jsxs)(n.Fragment,{children:["function"==typeof f?(0,n.jsx)(n.Fragment,{children:f({isOpen:y,setIsOpen:v})}):null!=f?f:(0,n.jsx)(a.m_,{content:z,strategy:""!==z&&b?"hover":"controlled",isVisible:!1,children:(0,n.jsx)(a.K0,{mx:"xs",variant:"clear",onClick:()=>{v(!0)},children:(0,n.jsx)(x.G_L,{fill:"onSurface.nLv1"})})}),(0,n.jsxs)(m.A,{header:(0,n.jsx)(a.H3,{p:"lg",textStyle:"display.large",children:(0,n.jsx)(u.A,{id:E})}),isOpen:y,setIsOpen:v,footer:(0,n.jsx)(o.so,{justify:"flex-end",m:w?"[0 {spacing.lg} {spacing.lg} {spacing.lg}]":{base:"lg",mdDown:"[0 {spacing.lg} {spacing.lg} {spacing.lg}]"},children:(0,n.jsx)(a.$n,{w:{base:"auto",mdDown:"100%"},onClick:()=>{v(!1)},variant:b?"clear":void 0,children:(0,n.jsx)(u.A,{id:"ok_got_it_button"})})}),children:[(0,n.jsxs)(o.az,{maxW:{md:"[320px]"},px:"lg",mb:w?void 0:{mdDown:"2xl"},children:[S&&(0,n.jsx)(u.A,{id:S,values:{break:e=>(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("br",{}),(0,n.jsx)("br",{})]})}}),(0,n.jsxs)(o.so,{justify:"center",align:"center",pt:"4xl",pb:"xl",children:[(0,n.jsx)(o.az,{className:"sideBox"===T?C:void 0,children:(0,n.jsx)(r.G,{size:"xl",rating:l,format:T})}),null==s?void 0:s({size:40,ml:"lg"})]}),(0,n.jsx)(A,{rating:l,format:T})]}),w&&(0,n.jsx)(o.az,{px:"lg",py:"4xl",pb:"2xl",children:(0,n.jsxs)(a.Mz,{display:"block",color:"primary.default",textStyle:"display.small",href:F,target:"_blank",onClick:()=>{v(!1)},children:[(0,n.jsx)(u.A,{id:"rating_learn_more_button"}),(0,n.jsx)(x.CCT,{ml:"xs",w:"16",h:"16",fill:"primary.default"})]})})]})]})}F.type=g.J},29742:(e,t,l)=>{l.d(t,{M:()=>o});var n=l(6029),r=l(22375),i=l(55729),a=l(947),s=l(46071);let o=e=>{let{hasChallengeEnded:t,challengeEndTime:l}=e,[o,d]=(0,i.useState)(new Date().getTime()),c=(0,a.A)();if((0,i.useEffect)(()=>{let e=setInterval(()=>d(new Date().getTime()),1e3);return()=>clearInterval(e)},[o]),!l)return null;let u=t?l+r.dp:l;return(0,n.jsx)(n.Fragment,{children:u{l.d(t,{S:()=>x});var n=l(19501),r=l(22375),i=l(55729),a=l(45860),s=l(7643),o=l(15341);let d=[n.wNW.Player,n.wNW.Team,n.wNW.Manager,"uniqueTournament",n.wNW.Referee,n.wNW.Venue,n.wNW.Event,n.wNW.Stage,n.wNW.UniqueStage],c=(e,t)=>{let{type:l}=e;return t.includes(l)},u=(e,t)=>{switch(t){case n.G$9.Teams:return"team"===e.type&&e.entity.type!==n.YVh.Person;case n.G$9.Events:return"event"===e.type;case n.G$9.UniqueTournaments:return"uniqueTournament"===e.type;case n.G$9.PlayerTeamPersons:return"team"===e.type&&e.entity.type===n.YVh.Person||"player"===e.type;case n.G$9.Referee:return"referee"===e.type;case n.G$9.Venue:return"venue"===e.type;case n.G$9.Manager:return"manager"===e.type;default:return!0}};function x(e){let t,l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n.G$9.All,x=arguments.length>2&&void 0!==arguments[2]?arguments[2]:d,m=arguments.length>3?arguments[3]:void 0,h=arguments.length>4?arguments[4]:void 0,p=function(e){let{filter:t,lsKey:l}=e,[n,a]=(0,o.A)(l||"recent_search_results",[]),s=(0,i.useCallback)(e=>{let t=n.findIndex(t=>t.entity.id===e.entity.id&&t.type===e.type);if(t>-1){let l=[...n];l.splice(t,1),l.unshift(Object.assign(e,{timestamp:Date.now()})),a(l)}else a([Object.assign(e,{timestamp:Date.now()}),...n])},[n]),d=(0,i.useCallback)(e=>{a(n.filter(t=>t.entity.id!==e.entity.id||t.type!==e.type))},[n]),c=(0,i.useCallback)(()=>{a("all"===t?[]:n.filter(e=>!u(e,t)))},[n,t]);return(0,i.useEffect)(()=>{if(null==n?void 0:n.length){let e=Date.now(),t=n.filter(t=>e-t.timestamp<30*r.d_);t.length!==n.length&&a(t)}},[null==n?void 0:n.length]),{recents:n,addRecentSearch:s,removeRecentSearch:d,clearRecentSearches:c}}({filter:l,lsKey:h}),g=(t=p.recents,t.filter(e=>u(e,l))),{suggestions:f,areSuggestionsLoading:j}=function(e,t,l,i){let s=e===n.G$9.All?"default":e,{data:o,isLoading:d}=(0,a.Ay)(t?n.d9M.suggestions(s,i):null,{dedupingInterval:r.d_});return{suggestions:null==o?void 0:o.results.filter(e=>c(e,l)),areSuggestionsLoading:d}}(l,!!e&&g.length<10,x,m),y=function(e){let{filter:t,enabledEntities:l,sport:r}=e,[a,o]=(0,i.useState)(""),[d,u]=(0,i.useState)(),{size:x,setSize:m,isValidating:h}=(0,s.Ay)((e,l)=>l&&!l.results.length||a.length<2?null:n.d9M.results(t,encodeURIComponent(a),e,r),n.TtD,{onSuccess:e=>{u(null==e?void 0:e.reduce((e,t)=>[...e,...t.results],[]).filter(e=>c(e,l)))},onError:()=>{u([])}});return{results:d,isLoadingPage:h,onQueryChange:(0,i.useCallback)(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";e.length<2&&u(void 0),o(e)},[]),onLoadMore:()=>m(x+1),query:a,couldHaveMore:20*x===(null==d?void 0:d.length)}}({filter:l,enabledEntities:x,sport:m});return{...p,...y,isLoadingPage:y.isLoadingPage||j,recents:g,suggestions:null==f?void 0:f.filter(e=>!p.recents.some(t=>t.entity.id===e.entity.id&&t.type===e.type))}}},37632:(e,t,l)=>{l.d(t,{A:()=>y});var n=l(6029),r=l(19501),i=l(88354),a=l(41735);let s=({x:e,y:t})=>{let{colors:l}=(0,a.useTheme)();return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(i.m.circle,{fill:l.surface.s1,r:"6",animate:{cx:e,cy:t}}),(0,n.jsx)(i.m.circle,{fill:l.success.default,r:"4",animate:{cx:e,cy:t}})]})},o=({x:e,y:t})=>{let{colors:l}=(0,a.useTheme)(),r=e-3,s=e+3,o=t-3;return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(i.m.circle,{fill:l.surface.s1,r:"6",animate:{cx:e,cy:t}}),(0,n.jsx)(i.m.path,{animate:{d:`M ${r},${o} l 6,6 M ${s},${o} l -6,6`},stroke:l.error.default,strokeWidth:"2"})]})},d=({shotCoordinates:e})=>(0,n.jsx)("g",{children:e.map((e,t)=>e.type===r.Dme.Made?(0,n.jsx)(s,{x:e.x,y:e.y},t):(0,n.jsx)(o,{x:e.x,y:e.y},t))});var c=l(67823),u=l(13369),x=l(11810);let m=({showLines:e=!0,showBackground:t=!0,showOverlay:l=!0,linesColor:r,backgroundColor:i,shotCoordinates:a})=>(0,n.jsxs)(c.A,{children:[t&&(0,n.jsx)(x.A,{courtColor:i,showDarkPaint:!0}),e&&(0,n.jsx)(u.A,{fill:r}),l&&(0,n.jsx)(d,{shotCoordinates:a})]});var h=l(28446),p=l(18130);let g=(0,h.A)().domain([-250,250]).range([0,p.f7]),f=(0,h.A)().domain([-51,411]).range([0,p.IV]);var j=l(94565);let y=e=>{let{shotCoordinates:t,condensed:l,...r}=e,{clampedShotActions:i}={clampedShotActions:t.map(e=>{let[t,l]=function(e){let t=g(e.x),l=f(e.y);return l>=p.IV-11&&(l=p.IV-8),t>=p.f7&&(t=p.f7-4),[t,l]}(e);return Object.assign(Object.assign({},e),{x:t,y:l})})};return(0,n.jsx)(j.az,{bg:"graphicsTerrain.basketball",p:"8px 48px",br:"lg",...r,children:(0,n.jsx)(j.az,{maxW:l?280:"100%",h:"100%",mx:"auto",children:(0,n.jsx)(m,{shotCoordinates:i})})})}},38633:(e,t,l)=>{l.r(t),l.d(t,{default:()=>ts});var n=l(6029),r=l(19501),i=l(22375),a=l(54529),s=l(19621),o=l(76356),d=l(71024),c=l.n(d),u=l(55729),x=l(494),m=l(46222),h=l(74664),p=l(55152),g=l(67087),f=l(41735),j=l(45860),y=l(90248),v=l(52466);let b=Object.assign(e=>{let{activeIndex:t,setActiveIndex:l,children:r,showControls:i=!0,autoScrollDelay:s}=e,{textDirection:d}=(0,a.$c)(),c=u.Children.toArray(r),x=c.length,m=(0,u.useRef)(null),h=()=>{l(t{g(),s&&x>1&&(m.current=setTimeout(()=>{h()},s))};(0,u.useEffect)(()=>(p(),()=>{m.current&&clearTimeout(m.current)}),[t,s,x]),(0,u.useEffect)(()=>{void 0===s?g():p()},[s]);let g=()=>{m.current&&clearTimeout(m.current)},f=x<=1;return 0===x?null:(0,n.jsxs)(o.az,{onMouseEnter:s?g:void 0,onMouseLeave:s?p:void 0,children:[(0,n.jsx)(o.az,{position:"relative",overflow:"hidden",w:"100%",boxSizing:"content-box",p:"xs",m:"-xs",children:(0,n.jsx)(o.so,{w:"100%",gap:"lg",transitionProperty:"transform",transitionDuration:"normal",transitionTimingFunction:"ease-in-out",style:{transform:"rtl"===d?"translateX(calc(".concat(100*t,"% + ").concat(16*t,"px))"):"translateX(calc(-".concat(100*t,"% - ").concat(16*t,"px))")},children:c})}),i&&(0,n.jsxs)(o.ov,{gap:"sm",pt:"sm",children:[(0,n.jsxs)(a.$n,{size:"tertiary",variant:"clear",onClick:()=>{l(t>0?t-1:x-1),g()},disabled:f,children:[(0,n.jsx)(v.pa2,{}),(0,n.jsx)(y.A,{id:"previous"})]}),Array.from({length:x}).map((e,r)=>{let i=()=>{l(r),g()};return(0,n.jsx)(o.az,{w:"sm",h:"sm",transitionProperty:"background-color",transitionDuration:"normal",transitionTimingFunction:"ease-in-out",backgroundColor:r===t?"primary.default":"primary.highlight",br:"50%",cursor:"pointer",onKeyDown:e=>{"Enter"===e.key&&i()},onClick:i,tabIndex:0,_focusVisible:{outline:"2px solid",outlineColor:"primary.highlight"},role:"button","aria-label":"Slide number ".concat(r+1),"aria-hidden":r!==t},r)}),(0,n.jsxs)(a.$n,{size:"tertiary",variant:"clear",onClick:h,disabled:f,children:[(0,n.jsx)(y.A,{id:"next"}),(0,n.jsx)(v.CCT,{})]})]})]})},{Slide:e=>{let{children:t}=e;return(0,n.jsx)(o.az,{w:"100%",minW:"100%",flexShrink:"0",children:t})}});var w=l(68789),_=l(37455),A=l(60682),k=l(72753),C=l(40148),F=l(73045),S=l(18970),T=l(83035),E=l(49938),z=l(64006),D=l(82827),P=l(54820),I=l(63777),O=l(30774),W=l(91647),L=l(95084);function M(e,t,l){try{let n=JSON.parse(sessionStorage.getItem(t)||"[]")||[];(null==n?void 0:n.includes(e))||(n.push(e),(0,L.ke)({action:l,location:"main_page",type:"featured_match"}),sessionStorage.setItem(t,JSON.stringify(n)))}catch(e){console.error(e)}}let R={popularityWeight:.5,teamLocaleWeight:1,tournamentLocaleWeight:.1,timeWeight:.2,timeWindowSeconds:259200};var G=l(13731),B=l.n(G);let Y=(e,t)=>e.startTimestamp-t.startTimestamp;function N(e,t){let l=e.reduce((e,t)=>{var l,n,r,i;return Math.max(e,(null!=(r=null==(l=t.homeTeam)?void 0:l.userCount)?r:0)+(null!=(i=null==(n=t.awayTeam)?void 0:n.userCount)?i:0))},0);return[...e].map(e=>({event:e,score:function(e,t){var l,n,r,i,a,s,o,d,c,u,x,m;let{config:h,locale:p,maxPopularity:g,nowTimestamp:f,enableLocale:j}=t,y=null!=f?f:Math.floor(Date.now()/1e3),v=(null!=(u=null==(l=e.homeTeam)?void 0:l.userCount)?u:0)+(null!=(x=null==(n=e.awayTeam)?void 0:n.userCount)?x:0),b=(null!=p?p:"").toUpperCase(),w=j?Number((null==(i=e.homeTeam)||null==(r=i.country)?void 0:r.alpha2)===b||(null==(s=e.awayTeam)||null==(a=s.country)?void 0:a.alpha2)===b):0,_=j?Number((null==(c=e.tournament)||null==(d=c.category)||null==(o=d.country)?void 0:o.alpha2)===b):0,A=(null!=(m=e.startTimestamp)?m:y)-y,k=Math.max(0,Math.min(1,1-A/h.timeWindowSeconds));return h.popularityWeight*(g>0?v/g:0)+h.teamLocaleWeight*w+h.tournamentLocaleWeight*_+h.timeWeight*(A<=0?1:k)}(e,{...t,maxPopularity:l})})).sort((e,t)=>t.score-e.score).map(e=>e.event)}var $=l(78383),V=l.n($);let Z=(0,u.createContext)({isPaused:!1,setIsPaused:V()}),H=()=>(0,u.useContext)(Z);function q(e){let{children:t}=e,[l,r]=(0,u.useState)(!1);return(0,n.jsx)(Z,{value:{isPaused:l,setIsPaused:r},children:t})}function J(e){var t,l;let{event:r}=e,i=(0,O.w)(r.tournament),s=(0,W.N)(r.tournament.uniqueTournament);return(0,n.jsx)(z.Mq,{tournament:r.tournament,seasonId:null==(t=r.season)?void 0:t.id,className:"group",children:(0,n.jsxs)(o.so,{gap:"lg",align:"center",px:"sm",pt:"sm",children:[(0,n.jsx)(F.e,{id:null==(l=r.tournament.uniqueTournament)?void 0:l.id,alt:s,size:24,fallback:(0,n.jsx)(F.l,{id:r.tournament.id,alt:i,size:24})}),(0,n.jsx)(a.EY,{textStyle:"assistive.default",_groupHover:{color:"primary.default",textDecoration:"underline"},truncate:!0,children:null!=s?s:i})]})})}function Q(e){let{event:t,onEventClick:l,areAdditionalOddsExpanded:i,setAreAdditionalOddsExpanded:a}=e,{event:s,leftTeam:d,rightTeam:c,leftScore:u,rightScore:h}=(0,g.mJ)(t.id,{shouldRefresh:!0}),{setIsPaused:p}=H(),f={...t,...s},j=(0,x.d4)((0,_.Ul)(f)),y=(0,x.d4)(_.fq),v=(0,x.d4)(_.BF),b=f.status.type===r.XUj.InProgress;return(0,n.jsxs)(o.BJ,{gap:"lg",h:"100%",p:"sm",children:[(0,n.jsx)(J,{event:f}),(0,n.jsxs)(S.y$,{value:{event:f,leftTeam:d,rightTeam:c,leftScore:u,rightScore:h,location:S.cb.FeaturedMatch},children:[s?(0,n.jsx)(m.WC,{variant:"square",children:(0,n.jsx)(T.A,{hideTitle:!0,hasCta:!1,event:f,onClick:()=>l(f)})}):(0,n.jsx)(E.o,{hideTitle:!0,showCta:!1}),(0,n.jsx)(I.ZB,{event:f,onChangeVoteModalOpen:()=>p(!0),onChangeVoteModalClose:()=>p(!1)}),!v&&(j||y)&&(0,n.jsx)(n.Fragment,{children:y?(0,n.jsx)(P.A,{eventId:f.id,isLive:b,isNewOddsComparisonPreview:!0}):(0,n.jsx)(D.jO,{eventId:f.id,isLive:b,areAdditionalOddsExpanded:i,setAreAdditionalOddsExpanded:a})})]})]})}let U=7*i.Z2,X=()=>{let{isPaused:e}=H(),t=(0,x.d4)(_.zV),l=(0,w.Ae)(),[i]=(0,A.Z)(l),a=(0,x.d4)(k.hT)||r.QCR.Football,[s,d]=(0,u.useState)(0),c=(0,x.d4)(k.LQ),[h,p]=(0,u.useState)(!1),{data:g,isLoading:f}=(0,j.Ay)(i?r.npy.featuredEventsByPopularity(i,a):null),y=(0,u.useMemo)(()=>{var e;return function(e,t,l){let n=N(e,{config:t,locale:l,enableLocale:!!l});return Object.values(B()(n.slice(0,5).sort(Y),e=>new Date(1e3*e.startTimestamp).toLocaleDateString("en-GB",{day:"2-digit",month:"2-digit",year:"2-digit",timeZone:"UTC"}))).map(e=>N(e,{config:R,locale:l,enableLocale:!!l})).flat().sort(Y)}((null==g||null==(e=g.featuredEvents)?void 0:e.filter(e=>!t||e.status.type!==r.XUj.InProgress))||[],R,c)},[null==g?void 0:g.featuredEvents,t,c]);(0,u.useEffect)(()=>{d(0)},[a,c]),(0,u.useEffect)(()=>{y.forEach(e=>{M(e.id,"main.page.interacted.featured.events","impression")})},[y]);let v=e=>{M(e.id,"main.page.clicked.featured.events","click")};return f?(0,n.jsx)(C.d,{}):g&&0===y.length?null:(0,n.jsx)(o.az,{children:(0,n.jsx)(b,{autoScrollDelay:e?void 0:U,activeIndex:s,setActiveIndex:d,showControls:y.length>1,children:y.map(e=>(0,n.jsx)(b.Slide,{children:(0,n.jsx)(ee,{direction:"column",h:"100%",children:(0,n.jsx)(m.Zp,{children:(0,n.jsx)(Q,{event:e,onEventClick:v,areAdditionalOddsExpanded:h,setAreAdditionalOddsExpanded:p})})})},e.id))})})};function K(){return(0,n.jsx)(q,{children:(0,n.jsx)(X,{})})}var ee=(0,f.default)(o.so).withConfig({componentId:"sc-72ca9ff0-0"})({"& > div":{flex:"1"}}),et=l(25479),el=l(13893),en=l(18153),er=l(54365),ei=l(47161),ea=l(82536),es=l(94008),eo=l(67020),ed=l(17390),ec=l(53192),eu=l(91407),ex=l(91603),em=l(60475),eh=l(94156),ep=l(94565),eg=l(6813),ef=l(36982);let ej=e=>{let{items:t,titleId:l,empty:i,onSelect:s}=e;return(null==t?void 0:t.length)?(0,n.jsxs)(o.az,{children:[l&&(0,n.jsx)(a.EY,{textStyle:"assistive.default",children:(0,n.jsx)(y.A,{id:l})}),t.map(e=>e.type===r.wNW.Player?(0,n.jsx)(eo.b4,{player:e.entity,onPlayerClick:()=>{s(e)}},e.entity.id):e.type===r.wNW.Team?(0,n.jsx)(eo.HM,{team:e.entity,onTeamClick:()=>{s(e)}},e.entity.id):null)]}):(0,n.jsx)(n.Fragment,{children:i})};function ey(e){let{type:t,onSelect:l,sport:i}=e,{query:a,results:s,suggestions:d,onQueryChange:c,isLoadingPage:u}=(0,ef.S)(!0,t,"all"===t?[r.wNW.Team,r.wNW.Player]:void 0,i,"".concat(i,"_recent_compare_cta")),x=a&&a.length>2;return(0,n.jsx)(ep.jT,{label:(0,n.jsx)(y.A,{id:t===r.G$9.PlayerTeamPersons?"hint_enter_player_name":t===r.G$9.Teams?"hint_enter_team_name":"hint_enter_team_or_player"}),query:a||"",options:[],onQueryChange:c,filterOptions:e=>!!e,inputProps:{autoFocus:!1,endAdornment:null},w:"100%",zIndex:ep.Py.Sticky,itemWrapper:()=>(null==s?void 0:s.length)||!u?(0,n.jsx)(o.az,{p:"md",children:x?(0,n.jsx)(ej,{items:s,onSelect:l,empty:(0,n.jsx)(eg.p,{graphic:"no-data",titleMessageId:"empty_search_title",descriptionMessageId:"no_events_found_body"})}):(0,n.jsx)(n.Fragment,{children:(0,n.jsx)(ej,{titleId:"suggested",items:(e=>{if(!(null==e?void 0:e.length))return;let t=[],l=e.filter(e=>e.type===r.wNW.Team),n=e.filter(e=>e.type===r.wNW.Player),i=Math.max(l.length,n.length);for(let e=0;e{let{id:t,name:l,type:i,rotate:a}=e;switch(i){case r.G$9.PlayerTeamPersons:return(0,n.jsx)(eu.t,{id:t,size:48,name:l});case r.G$9.Teams:return(0,n.jsx)(ex.p,{id:t,size:48,name:l});default:return(0,n.jsx)(o.so,{minW:"4xl",h:"4xl",bg:"surface.s2",br:"50%",align:"center",justify:"center",children:(0,n.jsx)(v.S3t,{fill:"neutral.default",style:a?{transform:"rotate(180deg)"}:void 0})})}},eb=e=>{let{country:t,reversed:l}=e;return(0,n.jsxs)(o.so,{align:"center",direction:l?"row-reverse":"row",gap:"xs",children:[(0,n.jsx)(ec.w,{size:24,alpha2:null==t?void 0:t.alpha2,name:null==t?void 0:t.name}),(0,n.jsx)(a.EY,{display:"block",textStyle:"assistive.default",lineHeight:1,truncate:!0,maxW:"[150px]",children:(null==t?void 0:t.slug)&&(null==t?void 0:t.name)?(0,n.jsx)(em.md,{name:t.name,slug:t.slug}):"-"})]})},ew=e=>{let{player:t,reversed:l}=e;return(0,n.jsxs)(o.so,{align:"center",direction:l?"row-reverse":"row",gap:"xs",children:[(0,n.jsx)(ex.p,{id:t.team.id,size:24}),(0,n.jsx)(a.EY,{display:"block",textStyle:"assistive.default",lineHeight:1,truncate:!0,maxW:"[150px]",children:(0,n.jsx)(eh.c,{entity:t.team})})]})};function e_(e){let{isFirst:t,selected:l,type:i,sport:s,onSelect:d}=e,c=null==l?void 0:l.entity,u=(null==l?void 0:l.type)===r.wNW.Player;return(0,n.jsxs)(o.so,{px:"lg",py:"sm",gap:"lg",align:"center",children:[(0,n.jsx)(ev,{id:null==c?void 0:c.id,name:null==c?void 0:c.name,type:i,rotate:!t}),c?(0,n.jsxs)(o.so,{grow:1,justify:"space-between",align:"center",children:[(0,n.jsxs)(o.az,{children:[(0,n.jsx)(a.EY,{textStyle:"display.medium",truncate:!0,maxW:"[180px]",mt:"xs",children:(0,n.jsx)(eh.c,{entity:c})}),!c.national&&!u&&(0,n.jsx)(eb,{country:null==c?void 0:c.country}),u&&(0,n.jsx)(ew,{player:c})]}),(0,n.jsx)(a.K0,{size:"primary",variant:"clear",onClick:()=>d(void 0),children:(0,n.jsx)(v.hRh,{})})]}):(0,n.jsx)(ey,{type:i,onSelect:d,sport:s})]})}let eA=()=>{let[e,t]=(0,u.useState)(!1);return(0,n.jsxs)(o.az,{position:"relative",children:[(0,n.jsx)(v.G_L,{fill:"onSurface.nLv1",cursor:"pointer",onClick:()=>t(!0)}),(0,n.jsx)(ea.A,{isOpen:e,setIsOpen:t,header:"compare_stats",children:(0,n.jsx)(a.EY,{maxW:"[280px]",textStyle:"body.mediumParagraph",px:"lg",display:"block",children:(0,n.jsx)(y.A,{id:"explainer_compare_stats"})})})]})};function ek(e){var t;let{sport:l}=e,[i,s]=(0,u.useState)(),[d,c]=(0,u.useState)(),x=i||d,h=(null==x?void 0:x.type)===r.wNW.Player||(null==x||null==(t=x.entity)?void 0:t.type)===r.YVh.Person?r.G$9.PlayerTeamPersons:(null==x?void 0:x.type)===r.wNW.Team?r.G$9.Teams:r.G$9.All,p=[];return((null==i?void 0:i.entity.id)&&p.push(i.entity.id),(null==d?void 0:d.entity.id)&&p.push(d.entity.id),(0,u.useEffect)(()=>{s(void 0),c(void 0)},[l]),ed.G.includes(l))?(0,n.jsx)(eo.V3,{persistKey:"".concat(l,"_recent_compare_cta"),children:(0,n.jsxs)(m.Zp,{children:[(0,n.jsx)(m.Zp.Header,{titleId:"compare_stats",actionComponent:(0,n.jsx)(eA,{})}),(0,n.jsx)(e_,{type:h,selected:i,onSelect:s,sport:l,isFirst:!0}),(0,n.jsx)(o.az,{h:"[1px]",mx:"lg",my:"sm",bg:"neutrals.nLv4"}),(0,n.jsx)(e_,{type:h,selected:d,onSelect:c,sport:l}),(0,n.jsx)(o.so,{pt:"xs",pb:"md",justify:"center",align:"center",children:(0,n.jsx)(es.A,{routeKey:"comparison",query:(0,eo.k9)(p),params:{sport:l,entityType:h===r.G$9.Teams?"team":"player"},children:(0,n.jsx)(a.$n,{size:"secondary",variant:"filled",children:(0,n.jsx)(y.A,{id:"compare"})})})})]})}):null}var eC=l(90510),eF=l(41164),eS=l(88505);let eT=()=>{let{event:e,leftTeam:t,rightTeam:l}=(0,u.useContext)(S.y$),i=(0,eF.c5)(e),a=(0,g.g3)(),s=(0,n.jsx)(eS.Rm,{team:t,short:i===r.QCR.Tennis}),o=(0,n.jsx)(eS.Rm,{team:l,short:i===r.QCR.Tennis}),d="ar"===(0,x.d4)(k.JV);return(0,n.jsxs)(n.Fragment,{children:[d?o:s," ",i===r.QCR.MMA?"vs":d?"ضد":a?"@":"-"," ",d?s:o]})};var eE=l(88196),ez=l(79375),eD=l(73364),eP=l(21287),eI=l(74207),eO=l(64046),eW=l(8785),eL=l(53148),eM=l(18862);let eR=e=>{let{choice:t,isLive:l,branded:r,betSlipLink:i,isComparison:s,onClick:d}=e,c=i&&r,u="fractional"===(0,x.d4)(_.$4),m=u?eM.Y:void 0,h=(0,n.jsxs)(o.so,{position:"relative",justify:"center",align:"center",bg:"surface.s2",br:"xs",border:s&&l?"1px solid {colors.status.val}":"1px solid {colors.neutrals.nLv4}",minW:s?"4xl":"[52px]",h:s?"xl":"[28px]",my:"xs",flexShrink:0,flexGrow:s?1:void 0,children:[(0,n.jsx)(a.EY,{textStyle:"display.micro",color:l?"status.val":"neutrals.nLv1",mr:0===t.change?void 0:"2xs",textAlign:"center",style:{fontSize:u?14:void 0,letterSpacing:u?"-1px":void 0},lineHeight:1,children:(0,n.jsx)(eM.c,{fractionalValue:t.fractionalValue,children:m})}),(0,n.jsx)(eL.I,{change:t.change})]});return c&&(h=(0,n.jsx)(a.Mz,{target:c?"_blank":void 0,rel:c?"nofollow noopener noreferrer":void 0,href:c?i:void 0,onClick:e=>{e.stopPropagation(),null==d||d()},flexGrow:s?1:void 0,flexBasis:s?"4xl":void 0,children:h})),h},eG=()=>(0,n.jsx)(o.az,{flexBasis:"4xl",minW:"4xl",h:"xl",flexGrow:1}),eB=e=>{let{event:t,cop:l,markets:r,choiceNames:i}=e,a=r.map(e=>e.choices).flat(),s=i.map(e=>a.find(t=>t.name===e));return(0,n.jsxs)(o.so,{p:"sm",gap:"xl",justify:"space-between",borderTop:"1px solid {colors.neutrals.nLv4}",align:"center",children:[(0,n.jsx)(eI.r,{selectedProvider:l,size:"64x24"}),(0,n.jsx)(o.so,{justify:"space-between",align:"center",gap:"sm",flexGrow:1,children:i.map((e,i)=>{let a=s[i],o=r.find(t=>t.choices.find(t=>t.name===e));return a&&o?(0,n.jsx)(eR,{choice:a,betSlipLink:l&&(0,eW.Iz)(a,o,l),branded:null==l?void 0:l.branded,isLive:o.isLive,isComparison:!0,onClick:()=>(0,L.Fe)({id:t.id,category:o.marketName,location:S.cb.FeaturedOdds,provider:null==l?void 0:l.provider.slug,position:eO.ki.OddsValue,type:eO.jF.Featured})},"".concat(e,"-").concat(o.id)):(0,n.jsx)(eG,{},e)})})]})},eY=e=>{let{event:t}=e;return t.status.type===r.XUj.InProgress?(0,n.jsxs)(o.so,{h:"100%",align:"center",gap:"xs",children:[(0,n.jsx)(o.az,{h:"sm",w:"sm",br:"50%",bg:"status.live"}),(0,n.jsx)(a.EY,{h:"lg",lineHeight:"[16px]",textStyle:"body.small",color:"status.live",children:(0,n.jsx)(y.A,{id:"live"})})]}):(0,n.jsx)(a.EY,{h:"lg",textStyle:"body.small",children:(0,i.cK)(t.startTimestamp)?(0,n.jsx)(eC.ib,{value:1e3*t.startTimestamp}):(0,n.jsx)(eC.XU,{value:1e3*t.startTimestamp,...i.or.dateTime})})},eN=e=>{let{leftTeam:t,rightTeam:l,leftScore:i,rightScore:s}=(0,g.AR)(e.event),{event:d}=(0,g.mJ)(e.event.id),c=d||e.event,u=c.status.type===r.XUj.InProgress,m=(0,x.d4)(_.hB),{odds:h,markets:p,choiceNames:f,error:j}=(0,eD.B)(m||[],e.event.id,u);return!j&&(null==p?void 0:p.length)&&h&&(null==f?void 0:f.length)!==0?(0,n.jsxs)(S.y$,{value:{event:c,leftTeam:t,rightTeam:l,leftScore:i,rightScore:s,location:S.cb.FeaturedOdds},children:[(0,n.jsx)(eE.A,{event:c,children:(0,n.jsxs)(o.so,{pt:"lg",pb:"sm",px:"lg",justify:"space-between",children:[(0,n.jsx)(a.EY,{textStyle:"display.small",truncate:!0,children:(0,n.jsx)(eT,{})}),(0,n.jsx)(eY,{event:c})]})}),(0,n.jsxs)(o.so,{justify:"flex-end",gap:"xl",p:"sm",children:[(0,n.jsx)(o.az,{w:"6xl"}),(0,n.jsx)(o.so,{flexGrow:1,gap:"sm",children:f.map(e=>(0,n.jsx)(o.az,{minW:"4xl",flexGrow:1,textAlign:"center",color:"neutrals.nLv3",textStyle:"display.micro",children:e},e))})]}),null==m?void 0:m.map((e,t)=>{let l=h[t];return(null==l?void 0:l.length)?(0,n.jsx)(eB,{event:c,cop:e,choiceNames:f,markets:h[t]||[]},e.provider.id):null})]}):null},e$=()=>{let e=(0,x.d4)(_.hB),[t]=(0,A.Z)(null==e?void 0:e[0]),l=(0,x.d4)(k.hT),{featuredEvents:r,error:i}=(0,ei.HD)(l,t);return!i&&(null==r?void 0:r.length)?(0,n.jsxs)(m.Zp,{children:[(0,n.jsx)(m.Zp.Header,{titleId:"featured_odds",actionComponent:(0,n.jsx)(eP.V,{}),variant:"left-aligned"}),r.slice(0,2).map(e=>(0,n.jsx)(eN,{event:e},e.id)),(0,n.jsx)(o.so,{borderTop:"1px solid {colors.neutrals.nLv4}",py:"lg",justify:"center",children:(0,n.jsx)(ez.A,{provider:null==e?void 0:e[0]})})]}):null};var eV=l(95816),eZ=l.n(eV),eH=l(16503),eq=l(4790);let eJ=e=>{let{countryOddsProvider:t}=e,l=null==t?void 0:t.branded,r=(0,x.d4)(k.LQ);return l?(0,n.jsx)(a.Mz,{position:"absolute",top:"md",right:"lg",target:"_blank",rel:"nofollow noreferrer",href:(null==t?void 0:t.defaultBetSlipLink)||(null==t?void 0:t.provider.defaultBetSlipLink),onClick:()=>(0,L.Fe)({location:S.cb.FeaturedOdds,provider:null==t?void 0:t.provider.slug,position:eO.ki.BookmakerButton}),children:(0,n.jsx)(a.$n,{children:(0,n.jsxs)(o.so,{align:"center",gap:"xs",children:[(0,n.jsx)(y.A,{id:"bet_now".concat("GR"===r?"_age":""),values:{age:21}}),(0,n.jsx)(v.A0k,{width:16,height:16,fill:"surface.s1"})]})})}):null},eQ=e=>{let{length:t=3}=e;return(0,n.jsx)(n.Fragment,{children:Array.from({length:t}).map((e,t)=>(0,n.jsx)(o.az,{w:"[52px]",flexGrow:0,flexShrink:0,flexBasis:"[52px]"},t))})},eU=e=>{var t;let{event:l,markets:i,marketChoiceNames:s,hasManyMarkets:d}=e,c=l.status.type===r.XUj.InProgress,x=(0,w.Ae)(),{leftTeam:m,rightTeam:h}=(0,g.AR)(l),p=(0,g.g3)(l),{mediaBreakpoint:f}=(0,a.$c)(),j=ei.Yt[f]||ei.Yt.default;if(!i)return null;let v=i.filter(e=>j.includes(e.marketId)),b=v.filter(e=>e.isLive===c),_=v.filter(e=>e.isLive===c||!b.find(t=>t.marketId===e.marketId));return(0,n.jsxs)(o.so,{align:"center",py:"xs",borderBottom:"1px solid {colors.neutrals.nLv4}",gap:"xs",children:[(0,n.jsx)(o.az,{flexGrow:1,flexShrink:1,flexBasis:"[100px]",overflow:"hidden",maxW:"100%",children:(0,n.jsx)(z.tj,{event:l,children:(0,n.jsxs)(o.so,{align:"center",gap:"xs",br:"xs",children:[(0,n.jsx)(o.az,{flexGrow:0,flexShrink:1,flexBasis:"[36px]",children:(0,n.jsx)(a.EY,{textStyle:"body.small",mr:"xs",w:"2xl",textAlign:"center",display:"block",color:c?"status.live":"neutrals.nLv1",children:c?(0,n.jsx)(y.A,{id:"live"}):(0,n.jsx)(eC.ib,{value:1e3*l.startTimestamp})})}),(0,n.jsx)(o.az,{w:"[1px]",h:"[36px]",bg:"neutrals.nLv4"}),(0,n.jsxs)(o.so,{direction:"column",flexGrow:1,flexShrink:1,flexBasis:"6xl",overflow:"hidden",children:[(0,n.jsx)(a.Ym,{maxW:"100%",textStyle:"body.small",truncate:!0,children:d&&m.nameCode?m.nameCode:(0,n.jsx)(eS.Rm,{team:m,short:!0})}),(0,n.jsx)(a.Ym,{maxW:"100%",textStyle:"body.small",truncate:!0,children:d&&h.nameCode?h.nameCode:(0,n.jsx)(eS.Rm,{team:h,short:!0})})]})]})})}),_.map(e=>{if(j.includes(e.marketId)){let t=[...s[e.marketId]||[]],r=(0,eW.nu)(e.choices,p);return t.length?(0,n.jsx)(u.Fragment,{children:t.map(t=>{let i=r.find(e=>e.name===t);return i?(0,n.jsx)(eR,{choice:i,betSlipLink:x&&(0,eW.Iz)(i,e,x),branded:null==x?void 0:x.branded,isLive:e.isLive,onClick:()=>(0,L.Fe)({id:l.id,category:e.marketName,location:S.cb.FeaturedOdds,provider:null==x?void 0:x.provider.slug,position:eO.ki.OddsValue,type:eO.jF.Featured})},"".concat(t,"-").concat(e.id)):(0,n.jsx)(o.az,{w:"[52px]",flexGrow:0,flexShrink:0,flexBasis:"[52px]"},"".concat(t,"-").concat(e.id))})},e.id):(0,n.jsx)(eQ,{},"empty")}return null}),-1===i.findIndex(e=>2===e.marketId)&&!!s[2]&&(0,n.jsx)(eQ,{length:null==(t=s[2])?void 0:t.size})]})};var eX=l(61924);let eK=()=>{let e=(0,w.Ae)(),t=(0,eq.s)(null==e?void 0:e.impressionCostEncrypted),[l]=(0,A.Z)(e),i=(0,x.d4)(k.hT),{mediaBreakpoint:s}=(0,a.$c)(),d=(0,eH.e)(async()=>{(0,L.CH)({provider:null==e?void 0:e.provider.slug,location:S.cb.FeaturedOdds,value:await t})},{intersectionOptions:{rootMargin:"-20px"},deps:[i]}),{featuredEvents:c,error:u}=(0,ei.HD)(i,l),{data:h,error:p}=(0,j.Ay)((null==c?void 0:c.length)&&l?[l,c.map(e=>e.id),"FEATURED_ODDS"]:null,{fetcher:e=>{let[t,l]=e;return Promise.all(l.map(e=>r.nk6.fetchAllEventOdds(e,t)))},refreshInterval:2e4}),g=ei.Yt[s]||ei.Yt.default,f=null==h?void 0:h.reduce((e,t)=>{var l;return null==(l=t.markets)||l.forEach(t=>{g.includes(t.marketId)&&t.choices.every(e=>ei.Vj.includes(e.name))&&(e[t.marketId]?t.choices.forEach(l=>e[t.marketId].add(l.name)):e[t.marketId]=new Set(t.choices.map(e=>e.name)))}),e},{});if(u||p||!e||!(null==c?void 0:c.length))return null;if(!c||!h)return(0,n.jsx)(eX.A,{});if(eZ()(f))return null;let y=0;return g.forEach(e=>f[e]&&[...f[e]].forEach(()=>y+=1)),(0,n.jsxs)(m.Zp,{children:[(0,n.jsx)(m.Zp.Header,{titleId:"featured_odds",actionComponent:(0,n.jsx)(eJ,{countryOddsProvider:e}),variant:"left-aligned"}),(0,n.jsxs)(o.az,{position:"relative",children:[(0,n.jsxs)(o.az,{px:"sm",children:[(0,n.jsx)(o.so,{align:"flex-end",justify:"flex-end",borderBottom:"1px solid {colors.neutrals.nLv4}",pb:"xs",gap:"xs",h:"2xl",mt:"md",children:g.map(e=>f[e]&&[...f[e]].map(e=>(0,n.jsx)(a.EY,{display:"block",textStyle:"assistive.default",w:"[52px]",textAlign:"center",color:"neutrals.nLv3",style:{flex:"0 0 52px"},children:e},e)))}),(0,n.jsx)("div",{ref:d,children:c.map((e,t)=>(0,n.jsx)(eU,{event:e,markets:h[t].markets,marketChoiceNames:f,hasManyMarkets:y>5},e.id))})]}),(0,n.jsx)(S.y$,{value:{location:S.cb.FeaturedOdds},children:(0,n.jsxs)(o.so,{justify:"space-between",align:"center",px:"lg",pt:"sm",pb:"lg",children:[(0,n.jsx)(ez.A,{provider:e}),(0,n.jsx)(eI.$,{provider:e})]})})]})]})},e0=()=>{let e=(0,x.d4)(_.BF),t=(0,x.d4)(_.fq);return e?null:t?(0,n.jsx)(e$,{}):(0,n.jsx)(eK,{})};var e1=l(45586),e2=l(29347),e4=l(10292),e3=l(17152),e8=l(78259),e5=l(14868),e6=l(74610),e7=l(66331),e9=l(96861),te=l(37632),tt=l(8715);let tl=e=>{let{player:t,index:l,onClick:r,isFootball:i}=e,s=(0,g.g3)(t.event),[d,c]=(0,g.jr)(t.event,"homeTeam","awayTeam",t.event);return(0,n.jsxs)(o.so,{onClick:()=>r(t.event,t.player),pl:"sm",pr:"lg",align:"center",cursor:"pointer",_hover:{bg:"surface.s2"},children:[(0,n.jsx)(a.EY,{textStyle:"body.small",children:l}),(0,n.jsxs)(o.az,{position:"relative",ml:"md",children:[(0,n.jsx)(e8.tg,{id:t.player.id,name:t.player.name,size:40}),(0,n.jsx)(e8.pY,{size:21,id:t.team.id,name:t.team.name,style:{position:"absolute",bottom:0,right:-8}})]}),(0,n.jsxs)(o.so,{justify:"space-between",align:"center",flexGrow:1,overflow:"hidden",children:[(0,n.jsxs)(o.so,{direction:"column",justify:"center",ml:"lg",mr:"sm",h:"5xl",overflow:"hidden",children:[(0,n.jsx)(a.EY,{textStyle:"body.medium",truncate:!0,mb:"xs",children:(0,n.jsx)(eh.c,{entity:t.player})}),(0,n.jsxs)(a.EY,{textStyle:"assistive.default",color:"neutrals.nLv3",truncate:!0,children:[(0,n.jsx)(eh.c,{entity:d,short:!0})," ".concat(s?"@":"vs."," "),(0,n.jsx)(eh.c,{entity:c,short:!0})]})]}),(0,n.jsx)(o.az,{flexShrink:0,children:i?(0,n.jsx)(e8.GW,{rating:Number(t.rating)}):(0,n.jsx)(a.EY,{textStyle:"body.medium",children:t.points})})]})]})};function tn(e){let{topPlayers:t,heatmap:l,isFetchingHeatmap:i,sport:a,shotmap:s}=e,{openEventPlayerStatistics:d}=(0,e7.d)(),[c,x]=(0,u.useState)(!1),h=(0,u.useCallback)(()=>x(e=>!e),[]),p=a===r.QCR.Football,g=a===r.QCR.Basketball,f=(e,t)=>{d({event:e,player:t},e9._l.TopPlayers)};if((0,u.useEffect)(()=>{x(!1)},[a]),!t)return null;let j=t.length>5;return(0,n.jsx)(e6.t,{tag:"TopPlayersList",children:(0,n.jsxs)(o.az,{children:[t.slice(0,5).map((e,t)=>(0,n.jsxs)(u.Fragment,{children:[(0,n.jsx)(tl,{isFootball:p,player:e,index:t+1,onClick:f},e.player.id),g&&s&&0===t&&(0,n.jsx)(o.az,{p:"sm",children:(0,n.jsx)(te.A,{shotCoordinates:s,condensed:!0})}),p&&0===t&&l&&!i?(0,n.jsx)(o.az,{p:"sm",children:(0,n.jsx)(tt.GP,{containerId:"heatmap-".concat(e.player.id),dataPoints:l.heatmap,direction:e.team.id===e.event.awayTeam.id?"left":"right"})}):0===t&&i&&p?(0,n.jsx)(o.az,{h:"[260px]"}):null]},e.player.id)),c&&t.slice(5).map((e,t)=>(0,n.jsx)(tl,{isFootball:p,player:e,index:5+t+1,onClick:f},e.player.id)),(0,n.jsx)(m.Zp.Footer,{ctaParams:j?{messageId:c?"show_less":"show_more",icon:c?e5.X.Up:e5.X.Down,onClick:h}:void 0})]})})}var tr=l(25262);function ti(){var e,t,l;let i,a,s=(0,h.o)(),{data:o,error:d}=(0,j.Ay)(r.t3g.trendingTopPlayers(s)),c=s===r.QCR.Football,u=s===r.QCR.Basketball;o&&o.topPlayers.length&&(i=o.topPlayers[0].event.id,a=o.topPlayers[0].player.id);let{data:x,error:p}=(0,j.Ay)(c&&i&&a?r.bnp.playerHeatmap(i,a):null),{data:g}=(0,j.Ay)(u&&i&&a?r.bnp.playerShotmap(i,a):null);return d?null:o?(0,n.jsxs)(m.Zp,{children:[(0,n.jsx)(m.Zp.Header,{titleId:"top_players",values:{gender:null!=(l=null==(e=o.topPlayers[0].player.team)?void 0:e.gender)?l:r.YT8.Male},actionComponent:c&&(0,n.jsx)(e3.D,{type:e3.D.type.SpecificRatingPlayer,rating:null==o||null==(t=o.topPlayers[0])?void 0:t.rating,renderImage:e=>{var t;return(0,n.jsx)(e4.t,{id:null==o||null==(t=o.topPlayers[0])?void 0:t.player.id,...e})},children:e=>{let{setIsOpen:t}=e;return(0,n.jsx)(v.G_L,{fill:"onSurface.nLv1",onClick:()=>t(!0),cursor:"pointer"})}})}),(0,n.jsx)(tn,{sport:s,heatmap:x,shotmap:null==g?void 0:g.shotmap,topPlayers:o.topPlayers,isFetchingHeatmap:!x&&!p&&c})]}):(0,n.jsx)(tr.A,{})}let ta=c()(()=>Promise.all([l.e(93785),l.e(92970),l.e(88620),l.e(81826),l.e(72889),l.e(28105),l.e(86795),l.e(11045),l.e(15102),l.e(63188),l.e(77262)]).then(l.bind(l,59625)),{loadableGenerated:{webpack:()=>[59625]},loading:()=>(0,n.jsx)(m.Zp,{children:(0,n.jsx)(o.az,{h:"[calc(100vh - 168px)]"})})});function ts(e){let{date:t,listType:l,category:d}=e,c=(0,x.wA)(),f=(0,x.d4)(e=>e.uicontrols.activeWidgetEvent),j=(0,s.hX)(),{isMobile:y}=(0,a.$c)(),v=(0,x.d4)(k.LQ),b=(0,h.o)(),{event:w}=(0,g.mJ)(null!=f?f:void 0),_=b===r.QCR.Football||b===r.QCR.Basketball,A=(0,u.useCallback)((e,t,l)=>{l||(e.preventDefault(),f===t?c((0,en.VX)(null)):c((0,en.VX)(t||null)))},[f]);(0,u.useEffect)(()=>{let e=document.getElementsByClassName("js-list-cell-target");for(let t=0;t{if(!w)return;let e=void 0===d||w.tournament.category.slug===d,l=w.tournament.category.sport.slug===b,n=(0,i.yk)(t.getTime(),w.startTimestamp);if(!e||!l||!n)return void c((0,en.VX)(null))},[w,b,t,d]),j)?(0,n.jsx)(e2.A,{date:t,listType:l,category:d}):y?null:f?(0,n.jsx)(o.az,{position:"sticky",top:"[120px]",children:(0,n.jsx)(ta,{eventId:f,onClose:A,belowBreadcrumbs:!0})}):(0,n.jsxs)(n.Fragment,{children:[C.length>0?(0,n.jsx)(et.Or,{date:(0,i.UG)(t),tournaments:C}):(0,n.jsx)(K,{}),(0,n.jsx)(e1.w,{}),_&&(0,n.jsx)(ti,{}),(0,n.jsx)(ek,{sport:b}),(0,n.jsx)(e0,{}),(0,n.jsx)(el.V,{location:"main_screen"}),"BR"!==v&&(0,n.jsx)(m.Zp,{children:(0,n.jsx)(p.s,{})}),d?(0,n.jsx)(er._,{sport:b,category:d}):l===ei.Jx.BASE?(0,n.jsx)(er.a,{}):null]})}},46071:(e,t,l)=>{l.d(t,{Y:()=>r,j:()=>i});var n=l(22375);function r(e,t,l,n){let r=e>0?n.slice(0,e).map(e=>e.id):[],i=t>0?n.slice(e,e+t).map(e=>e.id):[];return{userIds:{promoted:r,demoted:n.length>e+t&&l>0?n.slice(-n.length+e+t).map(e=>e.id):[],neutral:i}}}function i(e,t,l){let{days:r,hours:i,minutes:a,seconds:s}=(0,n.DU)(e,t),o=r>0?r+l.formatMessage({id:"days_short"}):"",d=i>0?i+l.formatMessage({id:"hours_short"}):"";return[o,d,(i>0||a>0)&&!r?a+l.formatMessage({id:"minutes_short"}):"",(a>0||s>0)&&!r&&!i?s+l.formatMessage({id:"seconds_short"}):""].filter(Boolean).join(" ")}},55112:(e,t,l)=>{l.d(t,{k:()=>o});var n=l(6029),r=l(19501),i=l(90248),a=l(45860),s=l(29742);let o=()=>{let e=(()=>{var e;let{data:t}=(0,a.Ay)(r.rGM.activeLeagueDetails());if(!(null==t?void 0:t.meta))return;let l=new Date().getTime(),n=(null==(e=t.meta)?void 0:e.endDateTimestamp)*1e3;return{hasEnded:n{l.d(t,{s:()=>x});var n=l(6029),r=l(54529),i=l(76356),a=l(90248),s=l(41735),o=l(52466),d=l(95084);let c=e=>{let{fill:t}=e;return(0,n.jsxs)("svg",{width:"212",height:"165",viewBox:"0 0 212 165",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,n.jsx)("rect",{x:"187.832",y:"164.831",width:"23.5384",height:"23.5384",transform:"rotate(180 187.832 164.831)",fill:t||"#FF7DA8",fillOpacity:"0.4"}),(0,n.jsx)("rect",{x:"164.296",y:"164.831",width:"23.5384",height:"23.5384",transform:"rotate(180 164.296 164.831)",fill:t||"#FF7DA8",fillOpacity:"0.2"}),(0,n.jsx)("rect",{x:"23.5386",y:"165",width:"23.5384",height:"23.5384",transform:"rotate(180 23.5386 165)",fill:t||"#FF7DA8",fillOpacity:"0.4"}),(0,n.jsx)("rect",{x:"211.372",y:"141.296",width:"23.5384",height:"23.5384",transform:"rotate(180 211.372 141.296)",fill:t||"#FF7DA8",fillOpacity:"0.6"}),(0,n.jsx)("rect",{x:"187.832",y:"141.296",width:"23.5384",height:"23.5384",transform:"rotate(180 187.832 141.296)",fill:t||"#FF7DA8",fillOpacity:"0.6"}),(0,n.jsx)("rect",{x:"164.296",y:"141.296",width:"23.5384",height:"23.5384",transform:"rotate(180 164.296 141.296)",fill:t||"#FF7DA8",fillOpacity:"0.2"}),(0,n.jsx)("rect",{x:"70.1514",y:"141.296",width:"23.5384",height:"23.5384",transform:"rotate(180 70.1514 141.296)",fill:t||"#FF7DA8",fillOpacity:"0.2"}),(0,n.jsx)("rect",{x:"46.6152",y:"141.296",width:"23.5384",height:"23.5384",transform:"rotate(180 46.6152 141.296)",fill:t||"#FF7DA8",fillOpacity:"0.2"}),(0,n.jsx)("rect",{x:"211.372",y:"117.76",width:"23.5384",height:"23.5384",transform:"rotate(180 211.372 117.76)",fill:t||"#FF7DA8",fillOpacity:"0.4"}),(0,n.jsx)("rect",{x:"187.832",y:"117.76",width:"23.5384",height:"23.5384",transform:"rotate(180 187.832 117.76)",fill:t||"#FF7DA8",fillOpacity:"0.2"}),(0,n.jsx)("rect",{x:"117.225",y:"117.76",width:"23.5384",height:"23.5384",transform:"rotate(180 117.225 117.76)",fill:t||"#FF7DA8",fillOpacity:"0.2"}),(0,n.jsx)("rect",{x:"93.687",y:"117.76",width:"23.5384",height:"23.5384",transform:"rotate(180 93.687 117.76)",fill:t||"#FF7DA8",fillOpacity:"0.2"}),(0,n.jsx)("rect",{x:"70.1509",y:"117.76",width:"23.5384",height:"23.5384",transform:"rotate(180 70.1509 117.76)",fill:t||"#FF7DA8",fillOpacity:"0.2"}),(0,n.jsx)("rect",{x:"211.372",y:"94.2244",width:"23.5384",height:"23.5384",transform:"rotate(180 211.372 94.2244)",fill:t||"#FF7DA8",fillOpacity:"0.1"}),(0,n.jsx)("rect",{x:"187.832",y:"94.2244",width:"23.5384",height:"23.5384",transform:"rotate(180 187.832 94.2244)",fill:t||"#FF7DA8",fillOpacity:"0.2"}),(0,n.jsx)("rect",{x:"164.296",y:"94.2244",width:"23.5384",height:"23.5384",transform:"rotate(180 164.296 94.2244)",fill:t||"#FF7DA8",fillOpacity:"0.2"}),(0,n.jsx)("rect",{x:"140.76",y:"94.2244",width:"23.5384",height:"23.5384",transform:"rotate(180 140.76 94.2244)",fill:t||"#FF7DA8",fillOpacity:"0.3"}),(0,n.jsx)("rect",{x:"117.225",y:"94.2244",width:"23.5384",height:"23.5384",transform:"rotate(180 117.225 94.2244)",fill:t||"#FF7DA8",fillOpacity:"0.2"}),(0,n.jsx)("rect",{x:"93.687",y:"94.2244",width:"23.5384",height:"23.5384",transform:"rotate(180 93.687 94.2244)",fill:t||"#FF7DA8",fillOpacity:"0.1"}),(0,n.jsx)("rect",{x:"70.1509",y:"94.2244",width:"23.5384",height:"23.5384",transform:"rotate(180 70.1509 94.2244)",fill:t||"#FF7DA8",fillOpacity:"0.1"}),(0,n.jsx)("rect",{x:"47.5386",y:"94",width:"23.5384",height:"23.5384",transform:"rotate(180 47.5386 94)",fill:t||"#FF7DA8",fillOpacity:"0.2"}),(0,n.jsx)("rect",{x:"211.372",y:"70.6838",width:"23.5384",height:"23.5384",transform:"rotate(180 211.372 70.6838)",fill:t||"#FF7DA8",fillOpacity:"0.2"}),(0,n.jsx)("rect",{x:"140.76",y:"70.6838",width:"23.5384",height:"23.5384",transform:"rotate(180 140.76 70.6838)",fill:t||"#FF7DA8",fillOpacity:"0.3"}),(0,n.jsx)("rect",{x:"117.225",y:"70.6838",width:"23.5384",height:"23.5384",transform:"rotate(180 117.225 70.6838)",fill:t||"#FF7DA8",fillOpacity:"0.4"}),(0,n.jsx)("rect",{x:"93.687",y:"70.6838",width:"23.5384",height:"23.5384",transform:"rotate(180 93.687 70.6838)",fill:t||"#FF7DA8",fillOpacity:"0.2"}),(0,n.jsx)("rect",{x:"187.832",y:"47.1489",width:"23.5384",height:"23.5384",transform:"rotate(180 187.832 47.1489)",fill:t||"#FF7DA8",fillOpacity:"0.2"}),(0,n.jsx)("rect",{x:"117.225",y:"47.1489",width:"23.5384",height:"23.5384",transform:"rotate(180 117.225 47.1489)",fill:t||"#FF7DA8",fillOpacity:"0.4"}),(0,n.jsx)("rect",{x:"93.687",y:"47.1489",width:"23.5384",height:"23.5384",transform:"rotate(180 93.687 47.1489)",fill:t||"#FF7DA8",fillOpacity:"0.2"}),(0,n.jsx)("rect",{x:"70.1514",y:"47.1489",width:"23.5384",height:"23.5384",transform:"rotate(180 70.1514 47.1489)",fill:t||"#FF7DA8",fillOpacity:"0.2"}),(0,n.jsx)("rect",{x:"46.5386",y:"23.5386",width:"23.5384",height:"23.5384",transform:"rotate(180 46.5386 23.5386)",fill:t||"#FF7DA8",fillOpacity:"0.2"}),(0,n.jsx)("rect",{x:"140.76",y:"23.6128",width:"23.5384",height:"23.5384",transform:"rotate(180 140.76 23.6128)",fill:t||"#FF7DA8",fillOpacity:"0.1"}),(0,n.jsx)("rect",{x:"93.687",y:"23.6128",width:"23.5384",height:"23.5384",transform:"rotate(180 93.687 23.6128)",fill:t||"#FF7DA8",fillOpacity:"0.1"})]})},u=["editor_banner_bullet_1","editor_banner_bullet_2"];function x(){let e=(0,s.useTheme)();return(0,n.jsxs)(i.az,{p:"xl",h:"[272px]",pb:"0",position:"relative",br:"lg",backgroundColor:"editor.pinkHighlight",overflowY:"hidden",children:[(0,n.jsx)(i.I4.a,{href:"https://torneo.sofascore.com",target:"_blank",rel:"noreferrer",onClick:d.ix,position:"absolute",cursor:"pointer",inset:"0",zIndex:"button"}),(0,n.jsxs)(i.so,{align:"center",justify:"space-between",children:[(0,n.jsx)(o.noo,{fill:"editor.pink"}),(0,n.jsxs)(i.so,{justify:"center",align:"center",gap:"xs",py:"xs",pl:"md",pr:"0",children:[(0,n.jsx)(r.EY,{textStyle:"assistive.default",children:(0,n.jsx)(a.A,{id:"learn_more_button"})}),(0,n.jsx)(o.A0k,{width:16,height:16,fill:e.colors.onSurface.nLv1})]})]}),(0,n.jsxs)(i.so,{justify:"space-between",mt:"2xl",children:[(0,n.jsxs)(i.az,{maxW:"[210px]",children:[(0,n.jsx)(r.EY,{display:"block",textStyle:"display.small",mb:"md",children:(0,n.jsx)(a.A,{id:"editor_banner_header"})}),u.map((e,t)=>(0,n.jsxs)(i.so,{align:"center",children:[(0,n.jsx)(i.az,{w:"xs",h:"xs",bg:"neutrals.nLv1",br:"50%",mr:"sm"}),(0,n.jsx)(r.EY,{display:"block",textStyle:"body.small",children:(0,n.jsx)(a.A,{id:e})})]},t)),(0,n.jsx)(i.az,{h:"7xl",w:"7xl",mt:"xl",children:(0,n.jsx)("img",{width:64,height:64,src:"/static/images/banner/torneo-banner-qr-".concat(e.name,".svg?v=1"),alt:"Torneo by Sofascore QR code"})})]}),(0,n.jsx)(i.I4.img,{zIndex:"button",src:"/static/images/editor-promo-image.png",srcSet:"/static/images/editor-promo-image@2x.png 2x, /static/images/editor-promo-image@3x.png 3x",alt:"Sofascore editor"})]}),(0,n.jsx)(i.az,{position:"absolute",bottom:"0",right:"0",children:(0,n.jsx)(c,{fill:e.colors.editor.pink})})]})}},63777:(e,t,l)=>{l.d(t,{_7:()=>h._7,ZB:()=>p,mt:()=>h.mt,Q3:()=>h.Q3,bZ:()=>h.bZ,wH:()=>h.wH}),l(61305),l(61394);var n=l(6029),r=l(19501),i=l(54529),a=l(76356),s=l(55729),o=l(90248),d=l(46222),c=l(52763),u=l(3336),x=l(67004),m=l(47815),h=l(46558);function p(e){let{event:t,onChangeVoteModalOpen:l,onChangeVoteModalClose:p}=e,[g,f]=(0,s.useState)(!1),[j,y]=(0,s.useState)(!1),v=(0,h.Nv)(h.o3),b=(0,h.Wi)(t,r.rjx.WhoWillWin),{totalVotes:w,isLoading:_}=(0,h.sr)(t,r.rjx.WhoWillWin),A=(0,h.E0)(t,b||j),{autoShowAd:k,canEditVote:C,grantReward:F,hasRevisitedChangeVote:S,setAutoShowAd:T}=(0,h.a8)(t,r.rjx.WhoWillWin,g,f,y),{isModalOpen:E,onChangeVote:z,onShowAd:D,setAdCanceled:P,setIsModalOpen:I,setShowLoader:O,showLoader:W}=(0,h.$d)(t.id,c.Mx.DesktopFeaturedMatch,k,S,r.rjx.WhoWillWin,()=>T(!1),()=>{F(),O(!1)},p,l);(0,s.useEffect)(()=>{E&&(null==l||l())},[E]);let L="change_vote"===A,M="voting_ended"===A;return(0,n.jsx)(d.WC,{variant:"square",children:(0,n.jsx)(d.Zp,{children:(0,n.jsxs)(a.so,{direction:"column",gap:"lg",p:"sm",children:[(0,n.jsxs)(a.so,{justify:"space-between",align:"center",children:[(0,n.jsxs)(a.BJ,{gap:"2xs",children:[(0,n.jsx)(i.EY,{textStyle:"display.medium",children:(0,n.jsx)(o.A,{id:"who_will_win"})}),_?(0,n.jsx)(a.az,{h:"lg"}):"vote"===A?(0,n.jsx)(i.EY,{textStyle:"assistive.default",color:"neutrals.nLv3",children:(0,n.jsx)(o.A,{id:"change_vote_info_text"})}):L||M?(0,n.jsxs)(i.EY,{textStyle:"assistive.default",color:"neutrals.nLv3",children:[(0,n.jsx)(o.A,{id:"prediction_total_votes"}),": ",(0,m.A)(w)]}):null]}),L&&(C||S)?(0,n.jsx)(u.A,{onChangeVote:z,onChangeVoteClose:()=>{null==p||p(),I(!1)},onChangeVoteContinue:D,isModalOpen:E,isLoaderOpen:W,onLoaderExit:()=>{O(!1),P(!0)}}):M?(0,n.jsx)(i.EY,{textStyle:"display.small",color:"neutrals.nLv3",children:(0,n.jsx)(o.A,{id:"voting_ended_status"})}):null]}),(0,n.jsx)(a.az,{children:(0,n.jsx)(x.A,{config:v,voteType:r.rjx.WhoWillWin,enableVoteChange:g,eventVoteLocation:"featured_match"})})]})})})}},83035:(e,t,l)=>{l.d(t,{A:()=>f,h:()=>j});var n=l(6029),r=l(73045),i=l(54529),a=l(76356),s=l(90248),o=l(46222),d=l(18970),c=l(52466),u=l(60475),x=l(15361),m=l(67087),h=l(64006),p=l(9081),g=l(76155);let f=e=>{var t;let{event:l,hideTitle:d,hasCta:m=!1,onClick:f}=e;return(0,n.jsxs)(a.az,{children:[(0,n.jsx)(o.Zp,{children:(0,n.jsxs)(a.BJ,{gap:"xs",_hover:{bg:"surface.s2"},br:"sm",style:{minHeight:102+32*!d},children:[!d&&l.tournament.uniqueTournament&&(0,n.jsx)(h.tQ,{tournament:l.tournament.uniqueTournament,seasonId:null==(t=l.season)?void 0:t.id,children:(0,n.jsxs)(a.so,{justify:"space-between",align:"center",gap:"xs",children:[(0,n.jsxs)(a.so,{align:"center",pt:"sm",px:"lg",children:[l.tournament.uniqueTournament?(0,n.jsx)(r.e,{id:l.tournament.uniqueTournament.id,size:24}):(0,n.jsx)(r.l,{id:l.tournament.id,size:24}),(0,n.jsxs)(i.Ym,{textStyle:"assistive.default",color:"neutrals.nLv3",ml:"sm",display:"block",children:[(0,n.jsx)(u.md,{slug:l.tournament.category.slug,name:l.tournament.category.name,fieldTranslations:l.tournament.category.fieldTranslations,uniqueTournament:l.tournament.uniqueTournament}),", ",(0,n.jsx)(g.J,{tournament:l.tournament}),l.roundInfo&&(0,n.jsxs)(n.Fragment,{children:[", ",(0,n.jsx)(p.DT,{round:l.roundInfo})]})]})]}),(0,n.jsx)(c.CCT,{w:24,h:24,fill:"primary.default"})]})}),(0,n.jsx)(h.tj,{event:l,onClick:f,children:(0,n.jsx)(x.g,{disableFollow:!0,hasCountdown:!0,hideIncidents:!0,hideTimeouts:!0})})]})}),m&&(0,n.jsxs)(a.so,{justify:"center",py:"lg",px:"lg",cursor:"pointer",children:[(0,n.jsx)(i.EY,{textStyle:"display.small",color:"primary.default",children:(0,n.jsx)(s.A,{id:"see_all"})}),(0,n.jsx)(c.CCT,{fill:"primary.default",ml:"xs"})]})]})};function j(e){let{event:t,...l}=e,{event:r,leftTeam:i,rightTeam:a,leftScore:s,rightScore:o}=(0,m.mJ)(t.id,{shouldRefresh:!0,event:t});return t?(0,n.jsx)(d.y$,{value:{event:t,leftTeam:i,rightTeam:a,leftScore:s,rightScore:o},children:(0,n.jsx)(f,{event:{...t,...r},...l})}):null}},96688:(e,t,l)=>{l.d(t,{y:()=>n});function n(e){let t=(null==e?void 0:e.toLowerCase())||"",l=["hr","es","pt"].includes(t);return"https://corporate.sofascore.com".concat(l?"/".concat(t):"","/about/rating")}}}]);