!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]="75a02574-11f2-494e-9c8b-048d39a4a906",e._sentryDebugIdIdentifier="sentry-dbid-75a02574-11f2-494e-9c8b-048d39a4a906")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9915],{5546:(e,t,n)=>{n.d(t,{Ae:()=>u,F0:()=>d,ks:()=>c,uZ:()=>h});var o=n(4967),i=n(494),l=n(79368),a=n(2294);let r=(e,t,n)=>{let r=(0,i.d4)(a.Bu),s=(0,l.SR)(e,(0,o.UG)(new Date));return r&&t&&s.find(e=>e.id===t)?r:n},s=(e,t)=>{var n;return r(e.tournament.category.sport.slug,null==(n=e.tournament.uniqueTournament)?void 0:n.id,t)},d=e=>s(e,(0,i.d4)(a.a5)),c=e=>s(e,(0,i.d4)(a.Zj)),u=()=>(0,i.d4)(a.a5),h=()=>(0,i.d4)(a.Bu)},7360:(e,t,n)=>{n.d(t,{g:()=>m});var o=n(6029),i=n(49519),l=n(21377),a=n(99064),r=n(55729),s=n(947),d=n(62859),c=n(54409),u=n(65078),h=n(94604),f=n(49031);function g(e){let{count:t}=e;return"number"!=typeof t||t<1?null:(0,o.jsxs)(a.az,{as:"bdi",children:[(0,o.jsx)(c.xK6,{width:"14",height:"14",fill:"error.default"}),t>1&&(0,o.jsxs)(a.EY,{color:"onSurface.nLv3",font:"body.small",style:{verticalAlign:"middle"},children:["x",t]})]})}function m(e){var t,n,c,m,x,v;let{isShort:p,style:y,entity:w}=e,j=(0,s.A)(),{event:b,leftTeam:S,rightTeam:C}=(0,r.useContext)(d.y$),[R,L]=(0,u.jr)(b,"homeRedCards","awayRedCards"),T=(0,u.gm)(b,"winnerCode"),F=b.status.type===l.XUj.Finished,k=T===l.Jfo.Left,_=T===l.Jfo.Right,A="onSurface.nLv1",N="onSurface.nLv1";(F||b.status.type===l.XUj.WillContinue)&&(A=k?"onSurface.nLv1":"onSurface.nLv3",N=_?"onSurface.nLv1":"onSurface.nLv3");let E=w===l.wNW.Manager||w===l.wNW.Player,I=(0,f.PZ)(b,j.formatMessage,j.locale),M=(0,o.jsx)(i.p,{size:16,id:S.id,name:S.name,isSmall:!0}),D=(0,o.jsx)(i.p,{size:16,id:C.id,name:C.name,isSmall:!0});return S.type===l.YVh.Person?M=(0,o.jsx)(i.w,{size:16,alpha2:null==(t=S.country)?void 0:t.alpha2,fallback:(0,o.jsx)(a._V,{src:"/static/images/placeholders/team.svg",width:"16",height:"16",alt:null==(n=S.country)?void 0:n.name}),name:null==(c=S.country)?void 0:c.name}):S.type===l.YVh.Double&&(M=null),C.type===l.YVh.Person?D=(0,o.jsx)(i.w,{size:16,alpha2:null==(m=C.country)?void 0:m.alpha2,fallback:(0,o.jsx)(a._V,{src:"/static/images/placeholders/team.svg",width:"16",height:"16",alt:null==(x=C.country)?void 0:x.name}),name:null==(v=C.country)?void 0:v.name}):C.type===l.YVh.Double&&(D=null),(0,o.jsxs)(a.az,{flex:"1 1 ".concat(p?"100px":"140px"),title:I,overflow:"hidden",minW:"0",style:y,children:[(0,o.jsxs)(a.so,{align:"center",mb:"xxs",children:[M&&(0,o.jsx)(a.az,{h:"16px",w:"16px",mr:"sm",children:M}),(0,o.jsxs)(a.EY,{font:"body.medium",as:"bdi",ellipsis:!0,color:A,lineHeight:"16px",children:[(0,o.jsx)(h.Rm,{team:S,short:!0}),E?null:(0,o.jsx)(g,{count:R})]})]}),(0,o.jsxs)(a.so,{align:"center",children:[D&&(0,o.jsx)(a.az,{h:"16px",w:"16px",mr:"sm",children:D}),(0,o.jsxs)(a.EY,{font:"body.medium",as:"bdi",ellipsis:!0,color:N,lineHeight:"16px",children:[(0,o.jsx)(h.Rm,{team:C,short:!0}),E?null:(0,o.jsx)(g,{count:L})]})]})]})}},18612:(e,t,n)=>{n.d(t,{D:()=>o.D});var o=n(43451)},24313:(e,t,n)=>{n.d(t,{M:()=>i,l:()=>l});var o=n(55729);let i=(0,o.createContext)({}),l=()=>(0,o.useContext)(i);i.displayName="EventCellContext"},25745:(e,t,n)=>{n.d(t,{s:()=>o});async function o(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"Sofa365!Sofa365!",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"qC9sJnXgvT3C";if(!e)return;let o=new TextEncoder,i=o.encode(t),l={name:"AES-GCM",iv:o.encode(n)},a=await crypto.subtle.importKey("raw",i,l,!1,["decrypt"]),r=new Uint8Array(Array.from(window.atob(e)).map(e=>e.charCodeAt(0)));try{let e=await crypto.subtle.decrypt(l,a,r);return new TextDecoder().decode(e)}catch(e){throw Error("Decrypt failed")}}},27372:(e,t,n)=>{n.d(t,{W:()=>l,X:()=>i});var o=n(56869);function i(e){return!e||!o.Hs.includes(e)}function l(e){var t;return e&&(null==(t=window.navigator.connection)?void 0:t.effectiveType)?"4g"===window.navigator.connection.effectiveType:!e}},36937:(e,t,n)=>{n.d(t,{$:()=>o.$,g:()=>i.g});var o=n(87473),i=n(7360)},43451:(e,t,n)=>{n.d(t,{D:()=>a});var o=n(6029),i=n(36145),l=n(41735);let a=({width:e="100%",height:t,animate:n=!1,viewBox:a,style:r,children:s,uniqueKey:d})=>{let c=(0,l.useTheme)();return(0,o.jsx)(i.Ay,Object.assign({speed:2,animate:n,width:e,height:t,backgroundColor:n?c.colors.surface.s0:c.colors.surface.s2,foregroundColor:c.colors.surface.s2,viewBox:a,style:r,uniqueKey:d},{children:s}))}},47146:(e,t,n)=>{n.d(t,{v:()=>a});var o=n(6029),i=n(29705);let l={second:59,minute:59,hour:24,day:7},a=e=>{let{timestamp:t,isAbsoluteTime:n,children:a}=e,{value:r,unit:s}=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Date.now(),n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=arguments.length>3?arguments[3]:void 0,i={...l,...n||{}},a=(e-t)/1e3;if(Math.abs(a)0)return{value:Math.round(h),unit:"year"};let f=12*h+d.getMonth()-c.getMonth();return Math.round(Math.abs(f))>0?{value:Math.round(f),unit:"month"}:{value:Math.round(a/604800),unit:"week"}}(t,void 0,void 0,n);return(0,o.jsx)(i.A,{value:r,unit:s,numeric:"auto",children:e=>"function"==typeof a?a(e):(0,o.jsx)(o.Fragment,{children:e})})}},49031:(e,t,n)=>{n.d(t,{J_:()=>v,PZ:()=>u,TF:()=>p,t3:()=>g});var o=n(6029),i=n(21377),l=n(99064),a=n(55729),r=n(54409),s=n(8703),d=n(27372),c=n(84942);function u(e,t,n){return t({id:"event.title"},{home:(0,c.s)(e.homeTeam,n),away:(0,c.s)(e.awayTeam,n)})}let h={[i.QCR.IceHockey]:{assists:e=>(0,o.jsx)(r.NcS,{icon:"ice-hockey",width:e.width,height:e.height,fill:"secondary.default"}),goals:e=>(0,o.jsx)(r.CvR,{icon:"hockey-pak",width:e.width,height:e.height,fill:"secondary.default"})},[i.QCR.Handball]:{goals:e=>(0,o.jsx)(r.NcS,{icon:"handball",width:e.width,height:e.height,fill:"secondary.default"})},[i.QCR.Football]:{redCards:e=>(0,o.jsx)(r.CvR,{icon:"card-red",width:e.width,height:e.height,fill:"error.default"}),yellowRedCards:e=>(0,o.jsx)(r.CvR,{icon:"card-double-yellow",width:e.width,height:e.height}),yellowCards:e=>(0,o.jsx)(r.CvR,{icon:"card-yellow",width:e.width,height:e.height,fill:"scoreRating.s65"}),ownGoals:e=>(0,o.jsx)(r.NcS,{icon:"football-own-goal",width:e.width,height:e.height,fill:"error.default"}),assists:e=>(0,o.jsx)(r.NcS,{icon:"football-assist",width:e.width,height:e.height,fill:"secondary.default"}),penaltyGoals:e=>(0,o.jsx)(r.NcS,{icon:"football-penalty",width:e.width,height:e.height,fill:"secondary.default"}),goals:e=>(0,o.jsx)(r.NcS,{icon:"football-ball",width:e.width,height:e.height,fill:"secondary.default"})},[i.QCR.AmericanFootball]:{kickingExtraMade:e=>(0,o.jsx)(r.CvR,{icon:"af-extra-point",width:e.width,height:e.height,fill:"secondary.default"}),kickingFgMade:e=>(0,o.jsx)(r.CvR,{icon:"af-field-goal",width:e.width,height:e.height,fill:"secondary.default"}),passingTouchdowns:e=>(0,o.jsx)(r.NcS,{icon:"af-passing-touchdown",width:e.width,height:e.height,fill:"secondary.default"}),rushingTouchdowns:e=>(0,o.jsx)(r.CvR,{icon:"af-touchdown",width:e.width,height:e.height,fill:"secondary.default"}),receivingTouchdowns:e=>(0,o.jsx)(r.CvR,{icon:"af-touchdown",width:e.width,height:e.height,fill:"secondary.default"}),puntReturnsTouchdowns:e=>(0,o.jsx)(r.CvR,{icon:"af-touchdown",width:e.width,height:e.height,fill:"secondary.default"}),puntingReturnTouchdowns:e=>(0,o.jsx)(r.CvR,{icon:"af-touchdown",width:e.width,height:e.height,fill:"secondary.default"}),kickReturnsTouchdowns:e=>(0,o.jsx)(r.CvR,{icon:"af-touchdown",width:e.width,height:e.height,fill:"secondary.default"}),fumbleTouchdownReturns:e=>(0,o.jsx)(r.CvR,{icon:"af-touchdown",width:e.width,height:e.height,fill:"secondary.default"}),defensiveInterceptionsTouchdowns:e=>(0,o.jsx)(r.CvR,{icon:"af-touchdown",width:e.width,height:e.height,fill:"secondary.default"})},[i.QCR.Minifootball]:{redCards:e=>(0,o.jsx)(r.CvR,{icon:"card-red",width:e.width,height:e.height,fill:"error.default"}),yellowRedCards:e=>(0,o.jsx)(r.CvR,{icon:"card-double-yellow",width:e.width,height:e.height}),yellowCards:e=>(0,o.jsx)(r.CvR,{icon:"card-yellow",width:e.width,height:e.height,fill:"scoreRating.s65"}),ownGoals:e=>(0,o.jsx)(r.NcS,{icon:"football-own-goal",width:e.width,height:e.height,fill:"error.default"}),assists:e=>(0,o.jsx)(r.NcS,{icon:"football-assist",width:e.width,height:e.height,fill:"secondary.default"}),penaltyGoals:e=>(0,o.jsx)(r.NcS,{icon:"football-penalty",width:e.width,height:e.height,fill:"secondary.default"}),goals:e=>(0,o.jsx)(r.NcS,{icon:"football-ball",width:e.width,height:e.height,fill:"secondary.default"}),accumulatedPenaltyGoals:e=>(0,o.jsx)(r.CvR,{icon:"accumulated-penalty",width:e.width,height:e.height,fill:"secondary.default"})}},f={rushingTouchdowns:1,receivingTouchdowns:1,puntReturnsTouchdowns:1,puntingReturnTouchdowns:1,kickReturnsTouchdowns:1,fumbleTouchdownReturns:1,defensiveInterceptionsTouchdowns:1},g=(e,t)=>{let n=[],s=h[e]||{};if(Object.keys(s).map(r=>{let d=s[r],c=t&&t[r];if(!c||r in f)return;if(e===i.QCR.Football&&"goals"===r){var u;if(!(c-=null!=(u=null==t?void 0:t.penaltyGoals)?u:0))return}if("yellowCards"===r&&((null==t?void 0:t.redCards)||(null==t?void 0:t.yellowRedCards)))return;let h=16;"yellowRedCards"===r&&(h=20);let g=c>1?c:"";n.push((0,o.jsxs)(a.Fragment,{children:[(0,o.jsx)(l.EY,{color:"secondary.default",ml:"sm",fontWeight:500,children:g}),(0,o.jsx)(d,{width:h,height:h,viewBox:"0 0 16 16"},"".concat(c,"-").concat(r))]},"".concat(c,"-").concat(r)))}),e===i.QCR.AmericanFootball){let e=Object.keys(f).map(e=>t&&t[e]?t[e]:0).reduce((e,t)=>e+t,0);e&&n.push((0,o.jsxs)(a.Fragment,{children:[(0,o.jsx)(l.EY,{color:"secondary.default",ml:"sm",fontWeight:500,children:e>1&&e}),(0,o.jsx)(r.CvR,{icon:"af-touchdown",width:16,height:16,fill:"secondary.default"},"special")]},"".concat(e,"-af")))}return n},m=["sm","lg"],x=[i.QCR.IceHockey,i.QCR.Waterpolo,i.QCR.Floorball],v=(e,t,n)=>[i.sum.Penalties,i.sum.AP].includes(e.status.code)&&"number"==typeof t.penalties?m.includes(n)&&x.includes((0,s.c5)(e))?{score:t.display}:{score:t.display,penalties:t.penalties}:{score:t.display},p=(e,t)=>(e.status.type===i.XUj.NotStarted||e.status.type===i.XUj.InProgress)&&e.streamContentId&&!(0,d.X)(t)},49519:(e,t,n)=>{n.d(t,{p:()=>i.p,w:()=>o.w});var o=n(53192),i=n(91603)},49821:(e,t,n)=>{n.d(t,{fl:()=>d,jF:()=>s,kW:()=>u,ki:()=>c});var o=n(55729),i=n(62859),l=n(1815),a=n(61836),r=n(25745),s=function(e){return e.Featured="featured",e.Additional="additional",e.Streaks="streaks",e.Compliance="compliance",e}({}),d=function(e){return e.BetBoostButton="bet_boost_button",e.AffiliateButton="affiliate_button",e}({}),c=function(e){return e.ProviderLogo="provider_logo",e.OddsValue="odds_value",e.BookmakerButton="bookmaker_button",e.AffiliateButton="affiliate_button",e}({});function u(e){let{event:t,location:n}=(0,o.useContext)(i.y$),s=e.location||n,c=e.countryOddsProvider,u=(0,r.s)(null==c?void 0:c.impressionCostEncrypted),h="compliance"===e.type||c&&t.status.type&&(e.marketName||e.isComparison),f=Object.values(d).find(t=>{var n,o;return!!(null==(o=e.activeCTA)||null==(n=o[t])?void 0:n.isActive)}),g=async()=>{"compliance"===e.type?(0,a.D5)({id:t.id,provider:null==c?void 0:c.provider.slug,status:t.status.type,location:s,value:await u}):c&&t.status.type&&(e.marketName||e.isComparison)&&(0,a.CH)({id:t.id,provider:null==c?void 0:c.provider.slug,category:e.marketName,status:t.status.type,location:s,value:await u,is_active:!!f,type:f})},m=e.deps||[],x=(0,l.e)(g,{deps:[t.id,f,...m]});return{ref:h?x:void 0,makeOnClick:(0,o.useCallback)((n,o,i)=>{if(c&&n)return()=>{(0,a.Fe)({id:t.id,provider:i?i.provider.slug:c.provider.slug,category:n,type:e.type,location:s,position:o})}},[t.id,c,n])}}},50346:(e,t,n)=>{n.d(t,{Ay:()=>E,ZK:()=>k});var o=n(6029),i=n(18612),l=n(21377),a=n(4967),r=n(99064),s=n(78383),d=n.n(s),c=n(55729),u=n(90510),h=n(90248),f=n(494),g=n(62859),m=n(36937),x=n(65078),v=n(70591),p=n(75791),y=n(5546),w=n(49821),j=n(2294),b=n(4236),S=n(61836),C=n(98516);let R=e=>e<20?"sofaSingles.value":"error.default",L=e=>-1!==[l.QCR.Football,l.QCR.Handball].indexOf(e),T=e=>L(e.tournament.category.sport.slug),F=e=>{let{hasDraw:t}=e;return(0,o.jsx)(r.az,{minW:t?132:88,w:t?132:88,ml:"xs",children:(0,o.jsxs)(i.D,{height:"auto",viewBox:"0 0 ".concat(t?132:88," 36"),uniqueKey:"event-cell-odds-cl",children:[(0,o.jsx)("rect",{x:"19",y:"4",width:"7",height:"13",rx:"4",ry:"2"}),(0,o.jsx)("rect",{x:"63",y:"4",width:"7",height:"13",rx:"4",ry:"2"}),t&&(0,o.jsx)("rect",{x:"93",y:"20",width:"34",height:"16",rx:"4",ry:"4"}),(0,o.jsx)("rect",{x:"5",y:"20",width:"34",height:"16",rx:"4",ry:"4"}),(0,o.jsx)("rect",{x:"49",y:"20",width:"34",height:"16",rx:"4",ry:"4"}),t&&(0,o.jsx)("rect",{x:"107",y:"4",width:"7",height:"13",rx:"4",ry:"4"})]})})};function k(e){let{odds:t,sport:n,eventId:i,fallback:l}=e,a=(0,y.Ae)(),s=(0,f.d4)(j.$4),d=(0,x.g3)(),u=null==a?void 0:a.branded,h="fractional"===s,m=(0,c.useCallback)(e=>{e.stopPropagation(),(0,S.Fe)({id:i,provider:null==a?void 0:a.provider.slug,category:null==t?void 0:t.marketName,type:w.jF.Featured,location:g.cb.MainList,position:w.ki.OddsValue})},[i,a,t]),v=L(n);if(!t)return(0,o.jsx)(F,{hasDraw:v});if(t.loaded)return l||(0,o.jsx)("div",{style:{minWidth:v?132:88}});let C=(0,b.nu)(t.choices,d),R=h?p.Y:void 0;return(0,o.jsx)(o.Fragment,{children:C.map(e=>{let n=a&&u?(0,b.Iz)(e,t,a):null,i=(0,o.jsxs)(r.so,{direction:"column",align:"center",gap:"xs",children:[(0,o.jsx)(r.EY,{font:"assistive.default",color:"onSurface.nLv3",children:e.name}),(0,o.jsx)(r.so,{justify:"center",align:"center",w:h?48:40,h:h?20:16,border:e.winning?"primary.default":"onSurface.nLv4",br:"xs",bg:"surface.s1",hoverBg:"surface.s2",children:(0,o.jsx)(r.EY,{font:"display.micro",fontSize:h?14:void 0,letterSpacing:h?"-0.5px":void 0,color:t.isLive?"sofaSingles.value":"onSurface.nLv1",lineHeight:1,children:(0,o.jsx)(p.c,{fractionalValue:e.fractionalValue,children:R})})})]});return n?(0,o.jsx)(r.az,{as:"a",target:"_blank",href:n,rel:"nofollow noopener",onClick:m,zIndex:r.Py.Button,children:i},e.name):i})})}function _(e){let{startTimestamp:t,showDraw:n}=e;return(0,o.jsxs)(r.so,{justify:"space-between",px:"lg",pt:"xs",children:[(0,o.jsx)(r.EY,{font:"assistive.micro",color:"onSurface.nLv3",children:(0,o.jsx)(u.XU,{value:1e3*t,...a.or.dateTime})}),(0,o.jsxs)(r.so,{gap:"sm",children:[(0,o.jsx)(r.EY,{w:40,font:"assistive.micro",color:"onSurface.nLv3",align:"center",children:"1"}),n&&(0,o.jsx)(r.EY,{w:40,font:"assistive.micro",color:"onSurface.nLv3",align:"center",children:"X"}),(0,o.jsx)(r.EY,{w:40,font:"assistive.micro",color:"onSurface.nLv3",align:"center",children:"2"}),(0,o.jsx)(r.EY,{w:60,font:"assistive.micro",color:"onSurface.nLv3",align:"center",children:(0,o.jsx)(h.A,{id:"betting.drop"})})]})]})}function A(e){let{isChoice:t,choice:n,drop:i}=e;return(0,o.jsxs)(r.az,{children:[(0,o.jsx)(r.az,{w:40,border:"onSurface.nLv4",textAlign:"center",br:"sm",mb:"xs",children:(0,o.jsx)(r.EY,{font:"display.micro",lineHeight:"16px",color:"onSurface.nLv1",children:n.initialFractionalValue&&(0,o.jsx)(p.c,{fractionalValue:n.initialFractionalValue})})}),(0,o.jsx)(r.az,{w:40,border:"onSurface.nLv4",textAlign:"center",br:"sm",children:(0,o.jsx)(r.EY,{font:"display.micro",lineHeight:"16px",color:t?R(i):"onSurface.nLv1",children:(0,o.jsx)(p.c,{fractionalValue:n.fractionalValue})})})]})}function N(e){let{choices:t,choice:n,showDraw:i,drop:l}=e,a=t.length-1,[s,d]=(0,x.jr)(t,0,a);return(0,o.jsxs)(r.so,{gap:"sm",align:"center",children:[(0,o.jsx)(A,{choice:s,isChoice:s.name===n,drop:l},s.name),i&&(0,o.jsx)(A,{choice:t[1],isChoice:t[1].name===n,drop:l},t[1].name),(0,o.jsx)(A,{choice:d,isChoice:d.name===n,drop:l},d.name),(0,o.jsx)(r.EY,{font:"display.small",color:R(l),w:60,align:"center",children:"".concat((0,C.M)(l,1),"%")})]})}let E=function(e){let{event:t,choice:n,onClick:i=d(),isSelected:l,choices:a,drop:s,isMobile:c}=e,{event:u,...h}=(0,x.AR)(t),f=u.tournament.category.sport.slug,p=(T(u)||L(f)||null===f)&&3===a.length;return(0,o.jsx)(g.y$.Provider,{value:{event:u,...h},children:(0,o.jsx)(v.tj,{event:u,children:(0,o.jsxs)(r.az,{bg:[void 0,l?"surface.s2":"surface.s1"],onClick:e=>{i&&i(e,u.id,c)},cursor:"pointer",hoverBg:"surface.s2",children:[(0,o.jsx)(_,{startTimestamp:u.startTimestamp,showDraw:p}),(0,o.jsxs)(r.so,{justify:"space-between",align:"center",px:"lg",py:"sm",children:[(0,o.jsx)(m.g,{style:c?{flex:"1 1 auto"}:{}}),(0,o.jsx)(N,{choice:n,choices:a,drop:s,showDraw:p})]})]})})})}},56869:(e,t,n)=>{n.d(t,{Hs:()=>l,NR:()=>i,p4:()=>o});let o="/21866864457/preroll_video_app",i="https://pubads.g.doubleclick.net/gampad/live/ads?iu="+o+"&description_url=http%3A%2F%2Fsofascore.com&tfcd=0&npa=0&sz=1x1%7C400x300%7C640x480&ciu_szs=300x250%2C336x280%2C728x90&min_ad_duration=5000&max_ad_duration=30000&gdfp_req=1&unviewed_position_start=1&output=vast&env=vp&impl=s&correlator=",l=["BR","BG","JP","UK","KE","GB","NG","IT","NL","ES","MA","IR","BD","IN","TH","VN"]},69759:(e,t,n)=>{n.d(t,{I:()=>i,J:()=>l});var o=n(87357);let i=501;function l(e,t){return void 0!==t.point&&void 0!==e.bestOfSets&&e.bestOfSets>1?{topScore:Number(t.point)||i,bottomScore:t.display,bottomScoreExtra:(0,o.U)(t)}:void 0!==t.point&&void 0!==e.bestOfLegs&&e.bestOfLegs>0?{topScore:Number(t.point)||i,bottomScore:t.display,bottomScoreExtra:void 0}:(void 0===t.point||null===t.point)&&e.bestOfSets&&e.bestOfSets>1?{topScore:(0,o.U)(t)||0,bottomScore:t.display,bottomScoreExtra:void 0}:{topScore:t.display||0,bottomScore:void 0,bottomScoreExtra:void 0}}},75791:(e,t,n)=>{n.d(t,{Y:()=>s,c:()=>r});var o=n(6029),i=n(494),l=n(64274),a=n(2294);let r=e=>{let{fractionalValue:t,children:n}=e,r=(0,i.d4)(a.$4),s=(0,l.YB)(t,r);return(0,o.jsx)(o.Fragment,{children:n?n(s):s})},s=e=>{let[t,n]=e.split("/");return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("sup",{children:t}),"/",(0,o.jsx)("sub",{children:n})]})}},79368:(e,t,n)=>{n.d(t,{LS:()=>f,SR:()=>h,zK:()=>d});var o=n(21377),i=n(4967),l=n(21501),a=n(494),r=n(10794),s=n(55938);let d={1:{id:1,slug:"euro-2024",bgImage:"euro-2024.webp",seasonId:56953,msgKey:"football_euro_2024_tournament",showCupTreeFrom:"2024-06-29",analyticsName:"euro",historyHighlightsEndYear:"1980",defaultHistoryHighlightsYearPerCountry:{BE:"1980",DE:"1996",IT:"2000",CZ:"1996",FR:"1984",PT:"2004",DK:"1992",ES:"2008",NL:"1988",IE:"1988",UK:"1996",RO:"2000",GR:"2004",SE:"1992",CH:"1996",BG:"1996",RU:"2008",HR:"1996",TR:"2008",NO:"2000",SI:"2000",LV:"2004",AT:"2008",PL:"2012",UA:"2012",SK:"2016",RS:"2000",HU:"2016",IS:"2016",AL:"2016",FI:"2020",MK:"2020",GB:"1996"},visibleFrom:"2024-06-03",visibleTo:"2024-07-21",defaultFrom:"2024-06-14"},133:{id:133,slug:"copa-2024",bgImage:"euro-2024.webp",seasonId:57114,msgKey:"football_copa_2024_tournament",analyticsName:"copa",showCupTreeFrom:"2024-07-04",visibleFrom:"2024-06-03",visibleTo:"2024-07-21",defaultFrom:"2024-06-14"},357:{id:357,slug:"club-world-cup",logo:"cwc-2025-logo.svg",bgImage:"cwc-2025.png",seasonId:69619,msgKey:"bottom_navigation_tab_club_world_cup_short",analyticsName:"fifa_club_world_cup",showCupTreeFrom:"2025-06-28",visibleFrom:"2025-05-30",visibleTo:"2025-07-16",defaultFrom:"2025-06-15"}},c=(e,t)=>(!t.visibleTo||!(e>=t.visibleTo))&&(!t.visibleFrom||!(e(()=>{try{let t=e?(0,s.BJ)(e):void 0;if((null==t?void 0:t.continent)==="South America"||(null==t?void 0:t.continent)==="North America")return[357,133,1]}catch(e){}return[357,1,133]})().map(e=>d[e]).filter(e=>void 0!==e&&c((0,i.UG)(new Date),e)),h=(e,t)=>{let n=(0,a.d4)(r.LQ);return e!==o.QCR.Football?[]:u(n).filter(e=>c(t,e))},f=()=>{let e=(0,l.hX)(),t=(0,a.d4)(r.LQ);return e?{tournament:void 0}:{tournament:u(t).find(e=>c((0,i.UG)(new Date),e))}}},87357:(e,t,n)=>{n.d(t,{U:()=>o});function o(e){let t=Object.keys(e).filter(e=>e.startsWith("period")).sort((e,t)=>Number(e.replace("period",""))-Number(t.replace("period",""))).pop();if(t)return e[t]}},87473:(e,t,n)=>{n.d(t,{$:()=>b});var o=n(6029),i=n(21377),l=n(44194),a=n(99064),r=n(55729),s=n(90248),d=n(62859),c=n(49031),u=n(8703),h=n(65078),f=n(82169);let g=(e,t)=>{let n=e.tournament.category.sport.slug===i.QCR.Tennis,o=e.status.type===i.XUj.InProgress,l=e.crowdsourcingDataDisplayEnabled;return o&&(0,u.c5)(e)===i.QCR.Darts&&void 0===e.bestOfSets?"sofaSingles.live":o&&!n&&t===i.Jfo.Left?"onSurface.nLv1":o&&l?"sofaSingles.crowdsourcingLive":"inherit"},m=(e,t,n,o)=>{let l=e===i.XUj.Finished,a=o===i.Jfo.Left,r=o===i.Jfo.Right,s="onSurface.nLv1",d="onSurface.nLv1",c="onSurface.nLv1",u="onSurface.nLv1";return(l||e===i.XUj.WillContinue)&&(s=a?"onSurface.nLv1":"onSurface.nLv3",d=r?"onSurface.nLv1":"onSurface.nLv3","number"==typeof t.penalties&&"number"==typeof n.penalties&&(c=t.penalties>n.penalties?"onSurface.nLv1":"onSurface.nLv3",u=n.penalties>t.penalties?"onSurface.nLv1":"onSurface.nLv3")),{leftColor:s,rightColor:d,leftPenaltyColor:c,rightPenaltyColor:u}};var x=n(54409),v=n(69759),p=function(e){return e[e.Home=1]="Home",e[e.Away=2]="Away",e}({}),y=n(87357);let w=e=>{let{event:t,leftScore:n,rightScore:i}=e,{mediaBreakpoint:r}=(0,l.$c)(),s=void 0!==t.bestOfSets&&t.bestOfSets>1,d=(0,y.U)(n)||0,u=(0,y.U)(i)||0;return(0,o.jsxs)(a.so,{direction:"column",pr:"sm",align:"flex-end",children:[(0,o.jsxs)(a.so,{align:"flex-end",children:[t.firstToServe===p.Home?(0,o.jsx)(x.v1,{fill:"secondary.default"}):(0,o.jsx)(a.az,{w:16}),void 0!==n.point&&(0,o.jsx)(a.EY,{color:"secondary.default",block:!0,ml:10,children:n.point||v.I}),s&&(0,o.jsx)(a.EY,{color:"sofaSingles.live",block:!0,ml:8,children:d}),(0,o.jsx)(f.cU,{eventId:t.id,changeKey:"leftScore.display",color:"sofaSingles.live",...(0,c.J_)(t,n,r),textAlign:"end"})]}),(0,o.jsxs)(a.so,{align:"flex-end",children:[t.firstToServe===p.Away?(0,o.jsx)(x.v1,{fill:"secondary.default"}):(0,o.jsx)(a.az,{w:16}),void 0!==i.point&&(0,o.jsx)(a.EY,{color:"secondary.default",block:!0,ml:10,children:i.point||v.I}),s&&(0,o.jsx)(a.EY,{color:"sofaSingles.live",block:!0,ml:8,children:u}),(0,o.jsx)(f.cU,{eventId:t.id,changeKey:"rightScore.display",color:"sofaSingles.live",...(0,c.J_)(t,i,r),textAlign:"end"})]})]})},j=()=>{let{event:e,leftScore:t,rightScore:n}=(0,r.useContext)(d.y$),{mediaBreakpoint:s}=(0,l.$c)(),u=(0,h.gm)(e,"winnerCode");if(e.status.type===i.XUj.NotStarted)return(0,o.jsx)(a.az,{w:38,flex:"0 0 38px",ml:"sm"});if(e.status.type===i.XUj.InProgress)return(0,o.jsx)(w,{event:e,leftScore:t,rightScore:n});let g=m(e.status.type,t,n,u);return(0,o.jsxs)(a.so,{direction:"column",pr:"sm",align:"flex-end",children:[(0,o.jsx)(a.so,{align:"flex-end",children:(0,o.jsx)(f.cU,{eventId:e.id,changeKey:"leftScore.display",color:g.leftColor||"onSurface.nLv3",...(0,c.J_)(e,t,s),textAlign:"end"})}),(0,o.jsx)(a.so,{align:"flex-end",children:(0,o.jsx)(f.cU,{eventId:e.id,changeKey:"rightScore.display",color:g.rightColor||"onSurface.nLv3",...(0,c.J_)(e,n,s),textAlign:"end"})})]})};function b(){let{event:e,leftScore:t,rightScore:n}=(0,r.useContext)(d.y$),s=(0,h.gm)(e,"aggregatedWinnerCode"),x=(0,u.c5)(e),v=(0,h.gm)(e,"winnerCode"),{mediaBreakpoint:p}=(0,l.$c)();if(x===i.QCR.Cricket)return null;if(x===i.QCR.MMA)return(0,o.jsx)(S,{winnerCode:e.winnerCode});if(x===i.QCR.Darts)return(0,o.jsx)(j,{});if(e.status.type===i.XUj.NotStarted)return(0,o.jsx)(a.az,{w:"38px",mr:"sm"});let y=e.status.type===i.XUj.InProgress,w=y?"sofaSingles.live":"onSurface.nLv3",b=y?g(e,v):w,C=y?{leftColor:"onSurface.nLv3",rightColor:"onSurface.nLv3",leftPenaltyColor:"onSurface.nLv3",rightPenaltyColor:"onSurface.nLv3"}:m(e.status.type,t,n,v),R=s===i.Jfo.Left,L=s===i.Jfo.Right;return(0,o.jsxs)(a.so,{position:"relative",direction:"column",justify:"flex-end",align:"flex-end",w:"38px",color:w,mr:"sm",children:[(0,o.jsx)(f.cU,{eventId:e.id,changeKey:"homeScore.display",color:y?b:C.leftColor,penaltiesColor:y?b:C.leftPenaltyColor,...(0,c.J_)(e,t,p),aggWin:R,textAlign:"end"}),(0,o.jsx)(f.cU,{eventId:e.id,changeKey:"awayScore.display",color:y?b:C.rightColor,penaltiesColor:y?b:C.rightPenaltyColor,...(0,c.J_)(e,n,p),aggWin:L,textAlign:"end"})]})}function S(e){let{winnerCode:t}=e;return t!==i.Jfo.Left&&t!==i.Jfo.Right?null:(0,o.jsxs)(a.so,{direction:t===i.Jfo.Left?"column":"column-reverse",gap:"xxs",mx:"sm",children:[(0,o.jsx)(a.EY,{as:"div",c:"secondary.default",align:"center",children:(0,o.jsx)(s.A,{id:"standings.label.wins"})}),(0,o.jsx)(a.EY,{as:"div",c:"error.default",align:"center",children:(0,o.jsx)(s.A,{id:"standings.label.losses"})})]})}},94604:(e,t,n)=>{n.d(t,{Rm:()=>u,lC:()=>c,ub:()=>h});var o=n(6029),i=n(21377),l=n(947),a=n(26331);let r=/(.*)(\s(U.\d+|Olympic Team|Universiade Team|[A-C]|7[Ss])$)/,s=e=>e.normalize("NFD").replace(/[\u0300-\u036f\']/g,"").toLowerCase().replace(/\s/g,"-").replace(/&/g,"and"),d=e=>{let{translation:t,suffixedTeam:n,showFemaleSuffix:i}=e,l=i?" (F)":"";return n?(0,o.jsx)(o.Fragment,{children:"".concat(t).concat(n[2]).concat(l)}):(0,o.jsx)(o.Fragment,{children:"".concat(t).concat(l)})},c=e=>{let{original:t,showFemaleSuffix:n}=e,i=r.exec(t),a=(0,l.A)(),c=s(i?i[1]:t),u=a.formatMessage({id:c});return u===c?(0,o.jsx)(d,{translation:t,showFemaleSuffix:n}):(0,o.jsx)(d,{translation:u,suffixedTeam:i,showFemaleSuffix:n})},u=e=>{var t,n,i,r;let s=(0,a.A)(),u=(0,l.A)();if("short"in e&&e.short&&(null==(n=e.team.fieldTranslations)||null==(t=n.shortNameTranslation)?void 0:t[s]))return(0,o.jsx)(d,{translation:e.team.fieldTranslations.shortNameTranslation[s],showFemaleSuffix:e.showFemaleSuffix});if(null==(r=e.team.fieldTranslations)||null==(i=r.nameTranslation)?void 0:i[s])return(0,o.jsx)(d,{translation:e.team.fieldTranslations.nameTranslation[s],showFemaleSuffix:e.showFemaleSuffix});let h=e.team.name;return("full"in e&&e.full&&(e.team.fullName||e.team.name)&&(h=e.team.fullName||e.team.name),"short"in e&&e.short&&e.team.shortName&&(h=e.team.shortName),"No team"===h&&(h=u.formatMessage({id:"player.noTeam"})),e.team.national)?(0,o.jsx)(c,{original:h,showFemaleSuffix:e.showFemaleSuffix}):(0,o.jsx)(d,{translation:h,showFemaleSuffix:e.showFemaleSuffix})},h=e=>e.gender===i.YT8.Female&&e.type===i.YVh.Regular}}]);