!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="43480217-bf67-4122-8e33-f78953a2eb34",e._sentryDebugIdIdentifier="sentry-dbid-43480217-bf67-4122-8e33-f78953a2eb34")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[42769,66735],{4917:(e,n,t)=>{"use strict";t.d(n,{x:()=>c,A:()=>h});var l=t(6029),s=t(55575),r=t.n(s),i=t(95669),a=t.n(i),o=t(55729),d=t(947);let c=(0,o.createContext)({}),u=(e,n,t,l,s,r,i)=>t||(l||s?e.formatMessage({id:"".concat(n,".").concat(l||s),defaultMessage:i},r):i),h=e=>{let{titleKey:n,descriptionKey:t,keywordsKey:s,metaKey:i,values:h={},entityName:x}=e,{meta:p,seoContent:j}=(0,o.useContext)(c),m=(0,d.A)(),g=u(m,"title",(null==j?void 0:j.title)||(null==p?void 0:p.title),n,i,h,x?"".concat(x," | Sofascore"):"Sofascore"),f=u(m,"description",(null==j?void 0:j.description)||(null==p?void 0:p.description),t,i,h),v=u(m,"keywords",null==p?void 0:p.keywords,s,i,h);return(0,l.jsxs)(a(),{children:[(0,l.jsx)("title",{children:r()(g)}),f&&(0,l.jsx)("meta",{name:"description",content:f},"description"),v&&(0,l.jsx)("meta",{name:"keywords",content:v})]})}},16419:e=>{e.exports=function(e){var n=null==e?0:e.length;return n?e[n-1]:void 0}},17794:(e,n,t)=>{"use strict";t.d(n,{t:()=>u,z:()=>a});var l=t(6029),s=t(51569),r=t(20325),i=t(947);function a(e){let{count:n,onClick:t}=e,a=(0,i.A)();return(0,l.jsx)(r.I4.button,{"aria-label":a.formatMessage({id:"show_more"}),p:"xs",br:"lg",cursor:"pointer",_hover:{bg:"surface.s2"},_active:{bg:"surface.s0"},onClick:t,children:(0,l.jsx)(r.so,{bg:"action.primary.default",br:"md",h:"lg",px:"sm",children:(0,l.jsxs)(s.EY,{textStyle:"assistive.default",color:"surface.s1",children:["+",n]})})})}var o=t(46787),d=t(45860),c=t(52466);function u(e){var n,t;let{channelId:i,type:a,eventId:u}=e,{data:h,isValidating:x}=(0,d.Ay)(o.RMf.eventChannelVotes(i,a,u));if(x)return(0,l.jsx)(r.az,{h:"2xl",pb:"2xs"});if(!h)return null;let p=h.tvChannelVotes.tvChannel.name,j=null!=(n=h.tvChannelVotes.upvote)?n:0,m=null!=(t=h.tvChannelVotes.downvote)?t:0;return(0,l.jsxs)(r.so,{direction:"row",align:"center",gap:"lg",children:[(0,l.jsx)(r.az,{flexShrink:0,children:(0,l.jsx)(c.ft6,{color:"neutrals.nLv3",w:16,h:16})}),(0,l.jsxs)(r.so,{direction:"column",gap:"2xs",minW:"[0]",children:[(0,l.jsx)(s.EY,{truncate:!0,children:p}),(0,l.jsxs)(r.so,{gap:"xs",children:[(0,l.jsxs)(r.so,{align:"center",gap:"xs",children:[(0,l.jsx)(c.URl,{color:"status.success.default"}),(0,l.jsx)(s.EY,{textStyle:"assistive.micro",color:"neutrals.nLv3",children:j})]}),(0,l.jsxs)(r.so,{align:"center",gap:"xs",children:[(0,l.jsx)(c.fHS,{color:"status.error.default"}),(0,l.jsx)(s.EY,{textStyle:"assistive.micro",color:"neutrals.nLv3",children:m})]})]})]})]})}},21985:(e,n,t)=>{var l=t(22546),s=t(60567),r=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,i=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");e.exports=function(e){return(e=s(e))&&e.replace(r,l).replace(i,"")}},22546:(e,n,t)=>{e.exports=t(14165)({À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"})},30774:(e,n,t)=>{"use strict";t.d(n,{w:()=>o});var l=t(947),s=t(80055),r=t(97431),i=t(79154);let a={};function o(e){let n=(0,l.A)();if(a[e.id])return a[e.id];let t=(0,s.s)(e,n.locale,{skipFallback:!0});if(t)return a[e.id]=t,t;let o=(0,r.t)(e.name,e.category.sport.slug,n);if(!e.uniqueTournament)return a[e.id]=o,o;let d=i[e.uniqueTournament.id.toString()];if(d){let t=e.uniqueTournament.name,l=n.formatMessage({id:d});o=o.replace(new RegExp("\\b".concat(t,"\\b")),l)}return a[e.id]=o,o}},33490:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>e8});var l=t(6029),s=t(95669),r=t.n(s),i=t(90438),a=t(52763),o=t(25246),d=t(78767),c=t(31830),u=t(88715),h=t(4917),x=t(51569),p=t(20325),j=t(90248),m=t(46222),g=t(79082),f=t(494),v=t(72753),y=t(22375),b=t(55729),_=t(6813),w=t(56494),C=t(8329),S=t(947);function A(e){let{channels:n,channel:t,onChannelChange:s}=e;return(0,l.jsx)(p.az,{overflow:"hidden",children:(0,l.jsx)(x.tU,{value:t,onChange:e=>s(e),initialValue:t,variant:"tertiary",children:(0,l.jsxs)(x.tU.List,{children:[(0,l.jsx)(x.tU.Tab,{tabKey:"all",children:(0,l.jsx)(j.A,{id:"all_channels"})}),(0,l.jsx)(l.Fragment,{children:n.map(e=>(0,l.jsx)(x.tU.Tab,{tabKey:e.id,children:(0,l.jsxs)(p.so,{gap:"sm",children:[(0,l.jsx)(C.w,{alpha2:e.country,size:16}),(0,l.jsx)("span",{children:e.name})]})},e.id))})]})})})}function I(e){let{channels:n,channel:t,onChannelChange:s}=e,r=(0,S.A)(),i=["all",...n.map(e=>String(e.id))],a="all"===t?"all":String(t);return(0,l.jsx)(x.ms,{label:r.formatMessage({id:"sport.select-sport"}),scrollToHighlighted:!0,items:i,selectedItem:a,initialSelectedItem:"all",onSelectedItemChange:e=>{let{selectedItem:n}=e;n&&s("all"===n?"all":Number(n))},renderItem:(e,t)=>{var s;if(!e)return null;if("all"===e)return r.formatMessage({id:"all_channels"});let i=n.find(n=>n.id===+e),a=null!=(s=null==i?void 0:i.name)?s:"-";return t?(0,l.jsx)(x.EY,{display:"block",truncate:!0,children:a}):(0,l.jsxs)(p.so,{gap:"sm",children:[(0,l.jsx)(C.w,{alpha2:null==i?void 0:i.country,size:16}),(0,l.jsx)(x.EY,{truncate:!0,children:a})]})},buttonStyles:{maxWidth:"100%"}})}function E(e){let{isMobile:n}=(0,x.$c)(),{channels:t,channel:s,onChannelChange:r}=e;return((0,b.useEffect)(()=>{t.some(e=>e.id===s)||r("all")},[t,s]),e.channels.length)?n?(0,l.jsx)(I,{...e}):(0,l.jsx)(A,{...e}):null}var T=t(73045),R=t(46787),k=t(88658),z=t(52466),L=t(79634),M=t(67087),q=t(36678),Y=t(42171),U=t(76155),H=t(82346),D=t(98133),F=t(99121);function G(e){let{tvChannel:n,events:t}=e;return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(L.q,{defaultHeight:48,children:(0,l.jsxs)(p.so,{h:"4xl",px:"xl",align:"center",gap:"lg",children:[(0,l.jsx)(p.az,{w:"2xl",children:(0,l.jsx)(x._V,{w:"xl",h:"xl",objectFit:"contain",src:(0,R.Lo9)(R.RMf.tvChannelLogo(n.id)),fallback:(0,l.jsx)(z.oIR,{w:24,h:24,color:"neutrals.nLv3"}),alt:n.name})}),(0,l.jsxs)(k.B,{children:[(0,l.jsx)(k.B.Item,{children:(0,l.jsx)(x.EY,{textStyle:"display.micro",children:n.name})}),n.country&&(0,l.jsx)(k.B.Item,{children:(0,l.jsx)(x.EY,{textStyle:"display.micro",color:"neutrals.nLv3",children:(0,l.jsx)(j.A,{id:(0,D.K_)(n.country)})})})]})]})}),(0,l.jsx)(p.az,{children:(0,l.jsx)(q.MC,{value:{statusTimeOnly:!0,hideTailDivider:!0,hideScores:!0},children:t.map(e=>(0,l.jsx)(L.q,{defaultHeight:48,children:(0,F.xH)(e)?(0,l.jsx)(O,{event:e}):(0,l.jsx)(Y.H,{stage:e,hideTailDivider:!0})},e.id))})})]})}function O(e){let{event:n}=e,{isMobile:t}=(0,x.$c)(),{event:s}=(0,M.mJ)(n.id,{shouldRefresh:!0});return s?(0,l.jsx)(q.n6,{event:s,isMobile:t,children:()=>{var e;let n=(0,l.jsx)(l.Fragment,{children:s.tournament.uniqueTournament?(0,l.jsx)(H.O,{uniqueTournament:s.tournament.uniqueTournament}):(0,l.jsx)(U.J,{tournament:s.tournament})});return(0,l.jsx)(x.m_,{content:n,strategy:"hover",children:(0,l.jsxs)(p.BJ,{gap:"2xs",align:"center",w:{base:"12xl",md:"[150px]"},children:[(0,l.jsx)(T.e,{size:"xl",id:null==(e=s.tournament.uniqueTournament)?void 0:e.id,fallback:(0,l.jsx)(T.l,{id:s.tournament.id,size:24})}),(0,l.jsx)(x.EY,{textStyle:"assistive.default",color:"neutrals.nLv3",w:"100%",truncate:!0,children:n})]})})}}):(0,l.jsx)(p.az,{style:{height:48}})}var B=t(83123),Z=t(15341);function W(e){let{sportSlug:n,setSportSlug:t,isDisabled:s,availableSports:r}=e,i=(0,S.A)(),[a]=(0,Z.A)(B.zR,B.lh),o=(0,b.useMemo)(()=>["all",...a.filter(e=>{var n;return null==(n=null==r?void 0:r.includes(e))||n})],[a,r]);(0,b.useEffect)(()=>{"all"!==n&&r&&!r.includes(n)&&t("all")},[r,n]);let d=o.length>1;return(0,l.jsx)(x.ms,{label:i.formatMessage({id:"sport.select-sport"}),isDisabled:s||!d,items:o,selectedItem:n,initialSelectedItem:"all",onSelectedItemChange:e=>{let{selectedItem:n}=e;n&&t(n)},renderItem:(e,n)=>"all"===e?i.formatMessage({id:"all_sports"}):n?i.formatMessage({id:"sport.".concat(e)}):(0,l.jsxs)(p.so,{gap:"lg",align:"center",children:[(0,l.jsx)(z.Hj1,{sport:e}),(0,l.jsx)(j.A,{id:"sport.".concat(e)})]})})}var P=t(90510);function N(e){let{date:n,onDateChange:t}=e,{isMobile:s}=(0,x.$c)(),r=(0,F.uo)(s);return(0,l.jsx)(x.tU,{fullWidthTabs:!0,value:n,onChange:e=>t(e),initialValue:n,children:(0,l.jsx)(x.tU.List,{children:r.map(e=>(0,l.jsx)(x.tU.Tab,{tabKey:(0,y.UG)(e),children:(0,y.cK)(e)?(0,l.jsx)(j.A,{id:"today"}):(0,l.jsx)(P.XU,{value:e,...y.or.date})},(0,y.UG)(e)))})})}function X(e){let{channels:n,eventsPerChannel:t}=e;return n.every(e=>{var n;return!(null==(n=t[e.id])?void 0:n.length)})?(0,l.jsx)(p.ov,{children:(0,l.jsx)(_.p,{graphic:"no-tv-events",titleMessageId:"empty_no_events_header",descriptionMessageId:"empty_tv_schedule_channels_selected_no_events"})}):(0,l.jsx)(p.BJ,{gap:"0",children:n.map(e=>{let n=e.id;if(!t[n])return null;let s=t[n].sort((e,n)=>{var t,l;let s=(0,F.dL)(e)-(0,F.dL)(n);return 0!==s?s:(0,F.xH)(e)&&(0,F.xH)(n)?(null!=(t=e.order)?t:0)-(null!=(l=n.order)?l:0):0});return 0===s.length?null:(0,l.jsx)(G,{tvChannel:e,events:s},n)})})}function K(){let[e,n]=(0,b.useState)((0,y.UG)(new Date)),[t,s]=(0,b.useState)("all"),[r,i]=(0,b.useState)("all"),{channels:a,isLoadingChannelsData:o,eventsPerChannel:d,selectedChannelsCount:c}=(0,F.qI)(),u=(0,b.useMemo)(()=>a.filter(e=>"number"!=typeof r||e.id===r),[a,r]).reduce((n,l)=>{let s=d[l.id],r=(0,F.qb)(s,e,"all"===t?void 0:t);return{...n,[l.id]:r}},{}),h=(0,b.useMemo)(()=>{let n=new Set;return Object.values(d).map(n=>(0,F.qb)(n,e)).flatMap(e=>e.map(e=>(0,F.HU)(e)).filter(Boolean)).forEach(e=>n.add(e)),Array.from(n)},[a,d,e]);return(0,l.jsxs)(m.Zp,{children:[(0,l.jsxs)(p.BJ,{gap:"sm",children:[(0,l.jsx)(p.az,{borderTopRadius:"lg",overflow:"hidden",children:(0,l.jsx)(N,{date:e,onDateChange:n})}),(0,l.jsxs)(p.so,{justify:"start",px:"sm",gap:"lg",children:[(0,l.jsx)(W,{sportSlug:t,setSportSlug:s,isDisabled:!c,availableSports:h}),(0,l.jsx)(E,{channel:r,channels:a,onChannelChange:i})]}),o?(0,l.jsx)(p.so,{justify:"center",align:"center",h:"[484px]",children:(0,l.jsx)(w.a,{})}):(0,l.jsx)(l.Fragment,{children:c?(0,l.jsx)(X,{channels:a,eventsPerChannel:u}):(0,l.jsx)(p.ov,{children:(0,l.jsx)(_.p,{graphic:"add-item",titleMessageId:"empty_a_bit_empty",descriptionMessageId:"empty_tv_schedule_no_channels_selected"})})})]}),(0,l.jsx)(m.Zp.Footer,{defaultHeight:"lg"})]})}var V=t(21985),Q=t.n(V),$=t(45860),J=t(12364),ee=t.n(J);async function en(e){try{if(e.length<=2)return[];return(await (0,R.TtD)(R.d9M.results(R.G$9.UniqueTournaments,e,0))).results.map(e=>e.entity)||[]}catch(e){return[]}}var et=t(77822);function el(){let{isMobile:e}=(0,x.$c)();return e?(0,l.jsxs)(m.BU,{children:[(0,l.jsx)(m.Zp,{children:(0,l.jsx)(p.az,{h:"[264px]"})}),(0,l.jsx)(m.Zp,{children:(0,l.jsx)(p.az,{h:"[600px]"})})]}):(0,l.jsxs)(o.xA,{children:[(0,l.jsx)(o.fv,{flexGrow:1,children:(0,l.jsx)(m.Zp,{children:(0,l.jsx)(p.az,{h:"[1014px]"})})}),(0,l.jsx)(o.fv,{flexGrow:2,children:(0,l.jsx)(m.Zp,{children:(0,l.jsx)(p.az,{h:"[600px]"})})})]})}function es(e){let{initialSelectedChannels:n,children:t}=e,[s,r,i]=(0,Z.A)("tv_schedule_selected_channels",n),{channels:a,isLoadingChannelsData:o,eventsPerChannel:d}=function(e){let[n,t]=(0,b.useState)(!0),[l,s]=(0,b.useState)([]),[r,i]=(0,b.useState)({});return(0,b.useEffect)(()=>{t(!0),Promise.allSettled(e.map(e=>R.p$n.fetchTvChannelSchedule(e.id))).then(n=>{let t=n.map(e=>"fulfilled"===e.status?e.value:void 0).filter(e=>void 0!==e),l=t.map(n=>{var t;return{...n.channel,country:null==(t=e.find(e=>e.id===n.channel.id))?void 0:t.country}}),r=t.reduce((e,n)=>{let t=n.channel.id,l=[...n.events,...n.stages];return t in e?(e[t].push(...l),e):{...e,[t]:l}},{});s(l),i(r)}).catch(e=>console.error(e)).finally(()=>t(!1))},[e]),{channels:l,isLoadingChannelsData:n,eventsPerChannel:r}}(s);return i?(0,l.jsx)(F.XI,{value:{channels:a,isLoadingChannelsData:o,eventsPerChannel:d,selectedChannelsCount:s.length,setSelectedChannels:r},children:t}):(0,l.jsx)(el,{})}var er=t(94565),ei=t(82455);function ea(e){let{channel:n}=e,{setSelectedChannels:t}=(0,F.qI)();return(0,l.jsxs)(p.BJ,{h:"10xl",flexGrow:1,px:"xs",py:"lg",br:"sm",bg:"surface.s2",position:"relative",children:[n.country&&(0,l.jsx)(p.az,{position:"absolute",top:"sm",left:"sm",children:(0,l.jsx)(C.w,{size:16,alpha2:n.country})}),(0,l.jsxs)(p.BJ,{align:"center",gap:"xs",overflow:"hidden",children:[(0,l.jsx)(x._V,{w:"2xl",h:"2xl",objectFit:"contain",src:(0,R.Lo9)(R.RMf.tvChannelLogo(n.id)),fallback:(0,l.jsx)(z.oIR,{w:32,h:32,color:"neutrals.nLv3"}),alt:n.name}),(0,l.jsx)(p.ov,{h:"[28px]",children:(0,l.jsx)(x.EY,{textStyle:"display.micro",textAlign:"center",lineClamp:2,children:n.name})})]}),(0,l.jsx)(x.K0,{size:"tertiary",variant:"clear",minW:"lg",h:"lg",p:"0",border:"none",position:"absolute",top:"sm",right:"sm",onClick:()=>t(e=>[...e].filter(e=>e.id!==n.id)),children:(0,l.jsx)(z.gzW,{w:"16px",h:"16px",color:"neutrals.nLv3"})})]})}var eo=t(16131);function ed(e){let{isDisabled:n,isEmptyState:t}=e,s=(0,b.useContext)(eo.jX);return s?(0,l.jsx)(p.I4.button,{w:t?"[144px]":void 0,p:"xs",br:"sm",bg:t?"surface.s1":n?"neutral.highlight":"primary.highlight",cursor:n?"not-allowed":"pointer",onClick:()=>{n||s(!0)},children:(0,l.jsxs)(p.so,{direction:"column",justify:"space-between",align:"center",gap:"sm",h:"9xl",p:"xs",br:"sm",bg:t?"primary.highlight":void 0,children:[(0,l.jsx)(p.so,{justify:"center",align:"center",w:"[40px]",h:"[40px]",bg:"surface.s1",br:"50%",border:"[2px solid]",borderColor:n?"neutral.default":"primary.default",children:(0,l.jsx)(z.xZp,{color:n?"neutral.default":"primary.default"})}),(0,l.jsx)(x.EY,{textStyle:"display.small",color:n?"neutral.default":"primary.default",textAlign:"center",py:"sm",textTransform:"capitalize",children:(0,l.jsx)(j.A,{id:"add"})})]})}):null}function ec(){let{isMobile:e}=(0,x.$c)();return(0,l.jsxs)(p.so,{direction:"column",align:"center",children:[(0,l.jsx)(x.EY,{textStyle:"body.mediumParagraph",color:"neutrals.nLv3",textAlign:{base:"center",md:"start"},display:"block",px:"lg",py:"sm",children:(0,l.jsx)(j.A,{id:"empty_add_up_to_5_channels"})}),e&&(0,l.jsx)(p.so,{justify:"center",align:"center",pb:"sm",children:(0,l.jsx)(ed,{isEmptyState:!0})})]})}function eu(e){let{channel:n,selectedCountry:t}=e,{channels:s,selectedChannelsCount:r,setSelectedChannels:i}=(0,F.qI)(),a=(0,b.useContext)(F.jX),o=s.some(e=>e.id===n.id)||r===F.Xk;return(0,l.jsxs)(p.so,{justify:"space-between",align:"center",gap:"sm",children:[(0,l.jsxs)(p.so,{align:"center",gap:"lg",maxW:"[calc(100% - 40px)]",children:[(0,l.jsx)(x._V,{w:"3xl",h:"3xl",objectFit:"contain",src:(0,R.Lo9)(R.RMf.tvChannelLogo(n.id)),fallback:(0,l.jsx)(z.oIR,{w:40,h:40,color:"neutrals.nLv3"}),alt:n.name}),(0,l.jsxs)(p.so,{direction:"column",justify:"space-around",h:"3xl",grow:1,overflow:"hidden",children:[(0,l.jsx)(x.EY,{truncate:!0,children:n.name}),(0,l.jsxs)(p.so,{align:"center",gap:"xs",children:[(0,l.jsx)(C.w,{size:16,alpha2:t.alpha2}),(0,l.jsx)(x.EY,{textStyle:"assistive.default",color:"neutrals.nLv3",truncate:!0,children:(0,l.jsx)(j.A,{id:t.slug})})]})]})]}),(0,l.jsx)(x.K0,{size:"primary",variant:"clear",disabled:o,onClick:()=>{i(e=>[...e,{id:n.id,country:t.alpha2}]),a&&4===s.length&&a(!1)},children:(0,l.jsx)(z.BXM,{w:"24px",h:"24px"})})]})}let eh=e=>{let{selectedCountry:n,countryChannels:t}=e;return(0,l.jsxs)(p.so,{direction:"column",gap:"lg",py:"lg",pl:"lg",pr:"sm",children:[(0,l.jsx)(x.EY,{textStyle:"display.micro",children:(0,l.jsx)(j.A,{id:"suggested"})}),t.slice(0,F.NG).map(e=>(0,l.jsx)(eu,{channel:e,selectedCountry:n},e.id))]})},ex=e=>{let{searchResults:n,selectedCountry:t}=e;return 0===n.length?(0,l.jsx)(_.p,{graphic:"no-data",titleMessageId:"empty_search_title",descriptionMessageId:"empty_adjust_search_text"}):(0,l.jsx)(p.so,{direction:"column",gap:"lg",pb:"lg",pl:"lg",pr:"sm",children:n.map(e=>(0,l.jsx)(eu,{channel:e,selectedCountry:t},e.id))})};function ep(e){let{query:n,countryChannels:t,searchResults:s,selectedCountry:r}=e;return(0,l.jsx)(l.Fragment,{children:n.length?(0,l.jsx)(ex,{searchResults:s,selectedCountry:r}):(0,l.jsx)(eh,{selectedCountry:r,countryChannels:t})})}let ej=(0,D.oj)();function em(e){let{alpha2:n,setAlpha2:t,hideName:s,isInBottomSheet:r}=e,i=(0,S.A)(),a=(0,b.useMemo)(()=>ej.map(e=>({alpha2:e.alpha2,name:i.formatMessage({id:e.slug})})).sort((e,n)=>e.name.localeCompare(n.name)),[ej]),o=a.find(e=>e.alpha2.toLowerCase()===n.toLowerCase());return(0,l.jsx)(x.ms,{label:i.formatMessage({id:"basic.countries"}),scrollToHighlighted:!0,items:a,initialSelectedItem:o,selectedItem:o,onSelectedItemChange:e=>{let{selectedItem:n}=e;n&&t(n.alpha2)},renderItem:(e,n)=>{if(!e)return null;let t=(0,l.jsxs)(p.so,{gap:"sm",align:"center",w:n?void 0:"[200px]",children:[(0,l.jsx)(p.az,{w:"xl",h:"xl",children:(0,l.jsx)(x._V,{src:(0,R.RHm)(e.alpha2),alt:e.alpha2,fallback:(0,l.jsx)(p.az,{bg:"surface.s2",br:"50%",overflow:"hidden",w:"xl",h:"xl"}),w:"xl",h:"xl"})}),(!s||!n)&&(0,l.jsx)(x.EY,{truncate:!0,children:e.name})]},e.alpha2);return n?t:(0,l.jsx)(L.q,{defaultHeight:24,w:200,children:t},e.alpha2)},listContainerStyles:{zIndex:"modal"},alignRight:r})}function eg(e){let{isInBottomSheet:n}=e,t=(0,S.A)(),s=(0,f.d4)(v.LQ),[r,i]=(0,Z.A)(F.rA,""),{query:a,setQuery:o,searchResults:d,countryChannels:c,isLoadingCountryChannelsData:u}=function(e){let{data:n,isLoading:t}=(0,$.Ay)(e?R.RMf.countryChannelsByPopularity(e):null),[l,s]=(0,b.useState)(""),r=(0,b.useMemo)(()=>{let e=(null==n?void 0:n.channels)||[],t=l.trim();if(t){let n=RegExp(t,"i");e=e.filter(e=>{var t;let l=null!=(t=e.name)?t:"";return l+=" "+Q()(l),n.test(l)})}return e},[null==n?void 0:n.channels,l,t]);return{query:l,setQuery:s,searchResults:r,countryChannels:null==n?void 0:n.channels,isLoadingCountryChannelsData:t}}(r);return((0,b.useEffect)(()=>{!r&&s&&i(s)},[r,s]),r)?(0,l.jsxs)(m.Zp,{variant:"desktop-only",children:[(0,l.jsx)(m.Zp.Header,{titleId:"add_channels_to_watchlist",variant:"left-aligned",visibility:"desktop-only"}),(0,l.jsxs)(p.so,{justify:"space-between",align:"center",gap:"lg",px:"lg",py:"sm",children:[(0,l.jsx)(x.pd,{placeholder:t.formatMessage({id:"search_channels"}),endAdornment:(0,l.jsx)(z.zQC,{icon:"search",color:"neutrals.nLv3"}),value:a,onChange:o,clearable:!0,onClear:()=>o(""),disabled:u||!r||!c,flexGrow:1}),(0,l.jsx)(em,{alpha2:r,setAlpha2:i,hideName:!0,isInBottomSheet:n})]}),u?(0,l.jsx)(p.so,{justify:"center",align:"center",w:"100%",h:"[208px]",children:(0,l.jsx)(w.a,{})}):(0,l.jsx)(l.Fragment,{children:(null==c?void 0:c.length)?(0,l.jsx)(ep,{query:a,countryChannels:c,searchResults:d,selectedCountry:{alpha2:r,slug:(0,D.K_)(r)}}):(0,l.jsx)(p.az,{pt:"sm",px:"lg",pb:"lg",children:(0,l.jsx)(x.EY,{textStyle:"body.mediumParagraph",color:"neutrals.nLv3",children:(0,l.jsx)(j.A,{id:"empty_tv_schedule_country_selected_no_channels"})})})})]}):(0,l.jsx)(p.az,{h:"[312px]"})}let ef=()=>{let{isMobile:e}=(0,x.$c)(),{channels:n,isLoadingChannelsData:t,selectedChannelsCount:s}=(0,F.qI)();return s?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)(p.xA,{gridTemplateColumns:"[repeat(3, minmax(0, 1fr))]",gap:"sm",py:"sm",px:{base:"sm",md:"lg"},children:[t?(0,l.jsx)(l.Fragment,{children:[...Array(s)].map((e,n)=>(0,l.jsx)(p.az,{h:"10xl",br:"sm",bg:"surface.s2"},"selected-channel-".concat(n,"-loader")))}):(0,l.jsx)(l.Fragment,{children:n.map(e=>(0,l.jsx)(ea,{channel:e},e.id))}),e&&(0,l.jsx)(ed,{isDisabled:s===F.Xk})]}),s===F.Xk&&(0,l.jsx)(m.WC,{variant:"square",children:(0,l.jsx)(ei.c,{messageId:"error_item_limit_reached"})})]}):(0,l.jsx)(ec,{})},ev=()=>{let[e,n,t]=(0,Z.A)("tv_schedule_my_channels_open",!0),s=(0,b.useRef)(e),[r,i]=(0,b.useState)(!1),{selectedChannelsCount:a}=(0,F.qI)();return t?(0,l.jsxs)(F.jX,{value:i,children:[(0,l.jsx)(er.nD,{children:(0,l.jsxs)(er.nD.Item,{defaultOpened:s.current,br:"lg",overflow:"hidden",children:[(0,l.jsx)(er.nD.Trigger,{onClick:()=>n(e=>!e),children:(0,l.jsx)(x.EY,{textStyle:"body.mediumParagraph",children:(0,l.jsx)(j.A,{id:"watchlist",values:{numberItems:a}})})}),(0,l.jsx)(er.nD.Content,{children:(0,l.jsx)(ef,{})})]})}),(0,l.jsx)(x.Xn,{isOpen:r,onClose:()=>i(!1),size:"large",title:(0,l.jsx)(j.A,{id:"add_channels_to_watchlist"}),children:(0,l.jsx)(eg,{isInBottomSheet:!0})})]}):(0,l.jsx)(m.Zp,{children:(0,l.jsx)(p.az,{h:"[264px]"})})};function ey(){let{isMobile:e}=(0,x.$c)(),{selectedChannelsCount:n}=(0,F.qI)();return(0,l.jsxs)(m.Zp,{children:[(0,l.jsx)(m.Zp.Header,{title:(0,l.jsx)(j.A,{id:"watchlist",values:{numberItems:n}}),variant:"left-aligned",visibility:"desktop-only"}),e?(0,l.jsx)(ev,{}):(0,l.jsx)(ef,{}),(0,l.jsx)(m.Zp.Footer,{defaultHeight:{base:"sm",md:"[0px]"}})]})}function eb(){return(0,l.jsx)(m.Zp,{children:(0,l.jsx)(p.az,{overflow:"hidden",rounded:"lg",children:(0,l.jsxs)(m.WC,{variant:"square-desktop",children:[(0,l.jsx)(ey,{}),(0,l.jsx)(eg,{})]})})})}function e_(){return(0,l.jsxs)(m.Zp,{children:[(0,l.jsx)(m.Zp.Header,{titleId:"tv_schedule_about_title"}),(0,l.jsxs)(p.so,{direction:"column",gap:"lg",pt:"sm",pb:"lg",px:"lg",children:[(0,l.jsx)(x.EY,{textStyle:"body.mediumParagraph",children:(0,l.jsx)(j.A,{id:"tv_schedule_about_body_1"})}),(0,l.jsx)(x.EY,{textStyle:"body.mediumParagraph",children:(0,l.jsx)(j.A,{id:"tv_schedule_about_body_2",values:{a1:function(){for(var e=arguments.length,n=Array(e),t=0;t(0,l.jsxs)(m.BU,{children:[(0,l.jsx)(ey,{}),(0,l.jsx)(K,{}),(0,l.jsx)(e_,{})]}),eC=()=>(0,l.jsxs)(o.xA,{children:[(0,l.jsx)(o.fv,{flexGrow:1,children:(0,l.jsx)(m.Zp,{children:(0,l.jsx)(eb,{})})}),(0,l.jsxs)(o.fv,{flexGrow:2,children:[(0,l.jsx)(K,{}),(0,l.jsx)(e_,{})]})]});function eS(){let{isMobile:e}=(0,x.$c)(),n=(0,f.d4)(v.LQ),{countryChannels:t,isLoading:s}=function(e){let{data:n,isLoading:t}=(0,$.Ay)(e?R.RMf.countryChannelsByPopularity(e):null);return{countryChannels:(null==n?void 0:n.channels)||[],isLoading:t}}(n);if(s)return(0,l.jsx)(el,{});let r=t.map(e=>({id:e.id,country:n})).slice(0,F.ZC);return(0,l.jsx)(es,{initialSelectedChannels:r,children:e?(0,l.jsx)(ew,{}):(0,l.jsx)(eC,{})})}var eA=t(17135),eI=t(3074),eE=t(17794);function eT(){return(0,l.jsxs)(p.so,{align:"center",gap:"sm",pl:"sm",children:[(0,l.jsx)(x.EY,{textStyle:"assistive.micro",color:"neutrals.nLv3",children:(0,l.jsx)(j.A,{id:"no_tv_channels_available"})}),(0,l.jsx)(p.az,{w:{md:"3xl"}})]})}function eR(e){let{eventId:n,type:t,alpha2:s}=e,r="event"===t?R.IAy.Event:R.IAy.Stage,{data:i,isLoading:a}=(0,$.Ay)(R.RMf.eventCountryChannels(r,n));if(a)return(0,l.jsx)(p.az,{h:"3xl"});if(!i)return(0,l.jsx)(eT,{});let o=i.countryChannels[s];return(null==o?void 0:o.length)?(0,l.jsx)(ek,{channelIds:o,type:r,eventId:n}):(0,l.jsx)(eT,{})}function ek(e){let{channelIds:n,type:t,eventId:s}=e,[r,i]=(0,b.useState)(!1),{isMobile:a}=(0,x.$c)(),o=(0,F.R9)(a),d=(0,b.useMemo)(()=>n.slice(0,o),[n,a]),c=(0,b.useMemo)(()=>n.slice(o),[n,a]),u=function(e,n,t){let[l,s]=(0,b.useState)({});return(0,b.useEffect)(()=>{Promise.allSettled(e.map(e=>(0,R.TtD)(R.RMf.eventChannelVotes(e,n,t)))).then(e=>{s(e.map(e=>"fulfilled"===e.status?e.value:void 0).filter(e=>void 0!==e).map(e=>e.tvChannelVotes).reduce((e,n)=>({...e,[n.tvChannel.id]:n}),{}))})},[e]),l}(d,t,s),h=(0,b.useMemo)(()=>d.map(e=>u[e]).filter(Boolean),[u,d]);if(!n.length)return(0,l.jsx)(eT,{});let j=c.length>=1,m=c.length;return(0,l.jsxs)(p.so,{align:"center",gap:"sm",children:[h.map(e=>(0,l.jsx)(x.m_,{content:e.tvChannel.name,strategy:"hover",children:(0,l.jsxs)(p.BJ,{gap:"xs",align:"center",children:[(0,l.jsx)(x._V,{w:"xl",h:"xl",objectFit:"contain",src:(0,R.Lo9)(R.RMf.tvChannelLogo(e.tvChannel.id)),fallback:(0,l.jsx)(z.oIR,{w:24,h:24,color:"neutrals.nLv3"}),alt:e.tvChannel.name}),(0,l.jsx)(x.EY,{textStyle:"assistive.default",color:"neutrals.nLv3",w:{md:"9xl",lg:"12xl"},truncate:!0,children:e.tvChannel.name})]})},e.tvChannel.id)),(0,l.jsx)(p.az,{w:{md:"3xl"},mdDown:{position:"absolute",end:"0",top:"0"},children:j&&(0,l.jsx)(er.AM,{closeOnOutsideClick:!0,trigger:(0,l.jsx)(eE.z,{onClick:e=>{e.preventDefault(),e.stopPropagation(),i(!0)},count:m}),controls:[r,i],children:(0,l.jsx)(p.az,{position:"absolute",zIndex:"popover",top:"xl",right:"0",w:"[200px]",children:(0,l.jsx)(p.so,{direction:"column",gap:"lg",elevation:"3",bg:"surface.sp",br:"sm",p:"lg",children:(0,l.jsx)(p.so,{direction:"column",gap:"lg",children:c.map(e=>(0,l.jsx)(eE.t,{channelId:e,type:t,eventId:s},e))})})})})})]})}function ez(e){let{events:n,tournament:t,type:s,alpha2:r}=e,i=(0,b.useRef)(n.length);return(0,b.useEffect)(()=>{i.current=n.length},[n.length]),(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(L.q,{defaultHeight:48,children:"events"===s?(0,l.jsx)(eI.UP,{tournament:t}):(0,l.jsx)(eI.hy,{stage:t})}),(0,l.jsx)(p.az,{children:"events"===s?(0,l.jsx)(l.Fragment,{children:n.map(e=>(0,l.jsx)(L.q,{defaultHeight:48,children:(0,l.jsx)(eL,{event:e,alpha2:r})},e.id))}):(0,l.jsx)(l.Fragment,{children:n.map(e=>(0,l.jsx)(L.q,{defaultHeight:48,children:(0,l.jsx)(Y.H,{stage:e,hideTailDivider:!0,children:(0,l.jsx)(eR,{type:"stage",eventId:e.id,alpha2:r})})},e.id))})})]})}function eL(e){let{event:n,alpha2:t}=e,{isMobile:s}=(0,x.$c)(),{event:r}=(0,M.mJ)(n.id,{shouldRefresh:!0});return r?(0,l.jsx)(q.n6,{event:r,isMobile:s,children:()=>(0,l.jsx)(eR,{type:"event",eventId:r.id,alpha2:t})}):(0,l.jsx)(p.az,{style:{height:48}})}let eM=(0,b.memo)(function(e){let{groups:n,alpha2:t}=e;return(0,l.jsx)(p.BJ,{gap:"0",children:(0,l.jsx)(eA.MC,{value:{statusTimeOnly:!0,hideTailDivider:!0,hideScores:!0},children:n.map((e,n)=>(0,l.jsx)(ez,{...e,alpha2:t},"".concat(e.tournament.id,"-").concat(n)))})})});function eq(e){let{uniqueTournamentIds:n,date:t}=e,{groups:s,isLoading:r}=function(e,n){let[t,l]=(0,b.useState)(!0),[s,r]=(0,b.useState)([]);return(0,b.useEffect)(()=>{l(!0),Promise.allSettled(e.map(e=>R.jFR.fetchUniqueTournamentEventsOnDate(e,n))).then(e=>{r(function(e){let n=-1,t=[];return e.forEach(e=>{var l,s;let r=(0,et.xH)(e),i=r?e.tournament:e.uniqueStage,a=r&&null!=(s=null==(l=e.tournament.uniqueTournament)?void 0:l.id)?s:i.id;a!==n&&(n=a,t.push({tournament:i,events:[],type:r?"events":"stages"}));let o=t[t.length-1];"events"===o.type&&r&&o.events.push(e),"stages"!==o.type||r||o.events.push(e)}),t}(e.map(e=>"fulfilled"===e.status?e.value:void 0).filter(e=>void 0!==e).map(e=>{let{events:n}=e;return n}).flat().filter(e=>(0,y.UG)((0,et.dL)(e))===n||!!e.endTimestamp&&(0,y._M)(new Date(n).valueOf(),(0,et.dL)(e),(0,et.eK)(e))).filter(e=>[R.XUj.InProgress,R.XUj.NotStarted,R.XUj.WillContinue].includes(e.status.type)).sort((e,n)=>{var t,l;let s=(0,et.dL)(e)-(0,et.dL)(n);return 0!==s?s:(null!=(t=e.order)?t:0)-(null!=(l=n.order)?l:0)})))}).catch(e=>console.error(e)).finally(()=>l(!1))},[n,e]),{groups:s,isLoading:t}}(n,t),i=(0,f.d4)(v.LQ),[a,o]=(0,Z.A)(F.rA,"");return((0,b.useEffect)(()=>{!a&&i&&o(i)},[a,i]),!a||r)?(0,l.jsx)(p.az,{h:"[526px]"}):s.length?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(p.so,{justify:"start",px:"sm",children:(0,l.jsx)(em,{alpha2:a,setAlpha2:o})}),(0,l.jsx)(eM,{groups:s,alpha2:a})]}):(0,l.jsx)(p.ov,{children:(0,l.jsx)(_.p,{graphic:"no-tv-events",titleMessageId:"empty_no_events_header",descriptionMessageId:"empty_tv_schedule_competitions_selected_no_events"})})}function eY(){let{selectedTournaments:e}=(0,eo.wq)(),[n,t]=(0,b.useState)((0,y.UG)(new Date));return(0,l.jsxs)(m.Zp,{children:[(0,l.jsxs)(p.BJ,{gap:"sm",children:[(0,l.jsx)(p.az,{borderTopRadius:"lg",overflow:"hidden",children:(0,l.jsx)(N,{date:n,onDateChange:t})}),e.length?(0,l.jsx)(eq,{uniqueTournamentIds:e.map(e=>e.id),date:n}):(0,l.jsx)(p.ov,{children:(0,l.jsx)(_.p,{graphic:"add-item",titleMessageId:"empty_a_bit_empty",descriptionMessageId:"empty_tv_schedule_no_competitions_selected"})})]}),(0,l.jsx)(m.Zp.Footer,{defaultHeight:"lg"})]})}function eU(){let{isMobile:e}=(0,x.$c)();return(0,l.jsxs)(p.so,{direction:"column",align:"center",children:[(0,l.jsx)(x.EY,{textStyle:"body.mediumParagraph",color:"neutrals.nLv3",textAlign:{base:"center",md:"start"},display:"block",px:"lg",py:"sm",children:(0,l.jsx)(j.A,{id:"empty_add_up_to_5_competitions"})}),e&&(0,l.jsx)(p.so,{justify:"center",align:"center",pb:"sm",children:(0,l.jsx)(ed,{isEmptyState:!0})})]})}var eH=t(59721),eD=t(60475),eF=t(88374),eG=t(91647);let eO=e=>{let{tournament:n,isEventTournament:t}=e,{removeTournamentItem:s}=(0,F.wq)(),r=(0,eG.N)(n),i=n.category.sport.slug===R.QCR.Tennis;return(0,l.jsxs)(p.BJ,{h:"10xl",flexGrow:1,px:"xs",py:"lg",br:"sm",bg:t?"primary.highlight":"surface.s2",position:"relative",children:[(0,l.jsx)(p.az,{position:"absolute",top:"sm",left:"sm",children:(0,l.jsx)(z.Egi,{color:"neutrals.nLv3",sport:n.category.sport.slug})}),(0,l.jsxs)(p.BJ,{align:"center",gap:"xs",overflow:"hidden",children:[(0,l.jsx)(eH.e,{id:n.id,name:r,size:"2xl"}),(0,l.jsx)(p.ov,{h:"[28px]",children:(0,l.jsxs)(x.EY,{textStyle:"display.micro",textAlign:"center",lineClamp:2,children:[r,i&&(0,l.jsxs)(x.EY,{textStyle:"display.micro",color:"neutrals.nLv3",children:["\xa0(",(0,l.jsx)(eD.md,{...n.category}),")"]})]})})]}),(0,l.jsx)(x.K0,{size:"tertiary",variant:"clear",minW:"lg",h:"lg",p:"0",border:"none",position:"absolute",top:"sm",right:"sm",onClick:()=>{t&&(0,eF.$)("highlightedTournamentId"),s(n.id)},children:(0,l.jsx)(z.gzW,{w:"16px",h:"16px",color:"neutrals.nLv3"})})]})};function eB(e){let{tournament:n}=e,{data:t,isLoading:s,error:r}=(0,$.Ay)(R.V3t.details(n.id));return s?(0,l.jsx)(p.az,{h:"10xl",br:"sm",bg:"surface.s2"}):!r&&(null==t?void 0:t.uniqueTournament)?(0,l.jsx)(eO,{tournament:t.uniqueTournament,isEventTournament:n.isEventTournament}):null}var eZ=t(4866),eW=t(99306),eP=t(47815);function eN(e){let{uniqueTournament:n}=e,{selectedTournaments:t,addTournamentItem:s}=(0,F.wq)(),r=(0,b.useContext)(F.jX),i=n.category.sport.slug,a=t.some(e=>e.id===n.id)||t.length>F.Xk||t.length===F.Xk&&t.every(e=>!e.isEventTournament);return(0,l.jsxs)(p.so,{justify:"space-between",align:"center",gap:"sm",children:[(0,l.jsxs)(p.so,{align:"center",gap:"lg",maxW:"[calc(100% - 60px)]",children:[(0,l.jsx)(eZ.e,{id:n.id,size:"3xl"}),(0,l.jsxs)(p.so,{direction:"column",justify:"space-around",h:"3xl",grow:1,overflow:"hidden",children:[(0,l.jsxs)(p.so,{align:"center",children:[(0,l.jsx)(x.EY,{truncate:!0,children:n.name}),"userCount"in n&&Number(n.userCount)===n.userCount?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(p.az,{w:"[6px]",h:"[6px]",mx:"sm",br:"50%",bg:"neutrals.nLv4",flexShrink:"0"}),(0,l.jsx)(p.az,{w:"lg",h:"lg",flexShrink:"0",children:(0,l.jsx)(z.bNr,{w:16,h:16,color:"neutrals.nLv3"})}),(0,l.jsx)(x.EY,{textStyle:"assistive.default",color:"neutrals.nLv3",w:"[28px]",ml:"xs",mt:"2xs",flexShrink:"0",children:(0,eP.A)(n.userCount)})]}):null]}),(0,l.jsxs)(p.so,{align:"center",children:[(0,l.jsx)(eZ.w,{size:16,name:n.category.name,alpha2:n.category.alpha2,categoryId:n.category.id}),(0,l.jsx)(x.EY,{textStyle:"assistive.default",color:"neutrals.nLv3",ml:"xs",truncate:!0,children:(0,l.jsx)(eD.md,{slug:n.category.slug,name:n.category.name,fieldTranslations:n.category.fieldTranslations})}),(0,l.jsx)(p.az,{w:"[6px]",h:"[6px]",mx:"sm",br:"50%",bg:"neutrals.nLv4",flexShrink:"0"}),(0,l.jsx)(p.az,{w:"lg",h:"lg",flexShrink:"0",children:(0,l.jsx)(z.Hj1,{width:16,height:16,sport:i,color:"neutrals.nLv3"})}),(0,l.jsx)(x.EY,{textStyle:"assistive.default",color:"neutrals.nLv3",ml:"xs",whiteSpace:"nowrap",flexShrink:"0",children:(0,l.jsx)(eW.o,{sportSlug:i})})]})]})]}),(0,l.jsx)(x.K0,{size:"primary",variant:"clear",disabled:a,onClick:()=>{s(n.id),r&&4===t.length&&r(!1)},children:(0,l.jsx)(z.BXM,{w:"24px",h:"24px"})})]})}let eX=()=>{let{suggestedTournaments:e}=(0,F.wX)();return(0,l.jsxs)(p.so,{direction:"column",gap:"lg",py:"lg",pl:"lg",pr:"sm",children:[(0,l.jsx)(x.EY,{textStyle:"display.micro",children:(0,l.jsx)(j.A,{id:"suggested"})}),e.slice(0,F.NG).map(e=>(0,l.jsx)(eN,{uniqueTournament:e},e.id))]})},eK=e=>{let{searchResults:n,isLoadingResults:t}=e;return t?(0,l.jsx)(p.so,{justify:"center",align:"center",w:"100%",h:"[208px]",children:(0,l.jsx)(w.a,{})}):0===n.length?(0,l.jsx)(_.p,{graphic:"no-data",titleMessageId:"empty_search_title",descriptionMessageId:"empty_adjust_search_text"}):(0,l.jsx)(p.so,{direction:"column",gap:"lg",pb:"lg",pl:"lg",pr:"sm",children:n.map(e=>(0,l.jsx)(eN,{uniqueTournament:e},e.id))})};function eV(e){let{query:n,searchResults:t,isLoadingResults:s}=e;return(0,l.jsx)(l.Fragment,{children:n.length>2?(0,l.jsx)(eK,{searchResults:t,isLoadingResults:s}):(0,l.jsx)(eX,{})})}function eQ(){let e=(0,S.A)(),{query:n,onQueryChange:t,searchResults:s,isLoadingResults:r}=function(){let[e,n]=(0,b.useState)(""),[t,l]=(0,b.useState)([]),[s,r]=(0,b.useState)(!1),i=(0,b.useMemo)(()=>ee()(async e=>{l(await en(e)),r(!1)},100),[en]);return{query:e,onQueryChange:e=>{n(e),r(!0),i(e)},searchResults:t,isLoadingResults:s}}();return(0,l.jsxs)(m.Zp,{variant:"desktop-only",children:[(0,l.jsx)(m.Zp.Header,{titleId:"add_competitions_to_watchlist",variant:"left-aligned",visibility:"desktop-only"}),(0,l.jsx)(x.pd,{placeholder:e.formatMessage({id:"search_competitions"}),endAdornment:(0,l.jsx)(z.zQC,{icon:"search",color:"neutrals.nLv3"}),value:n,onChange:t,clearable:!0,onClear:()=>t(""),px:"lg",py:"sm"}),(0,l.jsx)(eV,{query:n,searchResults:s,isLoadingResults:r})]})}let e$=e=>{let{selectedTournaments:n}=e,{isMobile:t}=(0,x.$c)();if(!n.length)return(0,l.jsx)(eU,{});let s=n.length>F.Xk||n.length===F.Xk&&n.every(e=>!e.isEventTournament),r=t&&!(n.length>F.Xk);return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)(p.xA,{gridTemplateColumns:"[repeat(3, minmax(0, 1fr))]",gap:"sm",py:"sm",px:{base:"sm",md:"lg"},children:[n.map(e=>(0,l.jsx)(eB,{tournament:e},e.id)),r&&(0,l.jsx)(ed,{isDisabled:s})]}),s&&(0,l.jsx)(m.WC,{variant:"square",children:(0,l.jsx)(ei.c,{messageId:"error_item_limit_reached"})})]})},eJ=e=>{let{selectedTournaments:n}=e,[t,s,r]=(0,Z.A)("tv_schedule_my_competitions_open",!0),i=(0,b.useRef)(t),[a,o]=(0,b.useState)(!1);return r?(0,l.jsxs)(F.jX,{value:o,children:[(0,l.jsx)(er.nD,{children:(0,l.jsxs)(er.nD.Item,{defaultOpened:i.current,br:"lg",overflow:"hidden",children:[(0,l.jsx)(er.nD.Trigger,{onClick:()=>s(e=>!e),children:(0,l.jsx)(x.EY,{textStyle:"body.mediumParagraph",children:(0,l.jsx)(j.A,{id:"watchlist",values:{numberItems:n.length}})})}),(0,l.jsx)(er.nD.Content,{children:(0,l.jsx)(e$,{selectedTournaments:n})})]})}),(0,l.jsx)(x.Xn,{isOpen:a,onClose:()=>o(!1),size:"large",title:(0,l.jsx)(j.A,{id:"add_competitions_to_watchlist"}),children:(0,l.jsx)(eQ,{})})]}):(0,l.jsx)(m.Zp,{children:(0,l.jsx)(p.az,{h:"[264px]"})})};function e0(){let{isMobile:e}=(0,x.$c)(),{selectedTournaments:n}=(0,F.wq)();return(0,l.jsxs)(m.Zp,{children:[(0,l.jsx)(m.Zp.Header,{title:(0,l.jsx)(j.A,{id:"watchlist",values:{numberItems:n.length}}),variant:"left-aligned",visibility:"desktop-only"}),e?(0,l.jsx)(eJ,{selectedTournaments:n}):(0,l.jsx)(e$,{selectedTournaments:n}),(0,l.jsx)(m.Zp.Footer,{defaultHeight:{base:"sm",md:"[0px]"}})]})}function e1(){return(0,l.jsx)(m.Zp,{children:(0,l.jsx)(p.az,{overflow:"hidden",rounded:"lg",children:(0,l.jsxs)(m.WC,{variant:"square-desktop",children:[(0,l.jsx)(e0,{}),(0,l.jsx)(eQ,{})]})})})}function e2(e){let{initialSelectedTournamentIds:n,highlightedTournamentId:t,children:s}=e,[r,i,a]=(0,Z.A)("tv_schedule_selected_tournaments",n),[o,d]=(0,b.useState)(void 0);return((0,b.useEffect)(()=>{if(!a||void 0!==o)return;let e=[...r.map(e=>({id:e}))];t&&!r.includes(+t)&&e.push({id:+t,isEventTournament:!0}),d(e)},[r,o,a,t]),a&&o)?(0,l.jsx)(F.pL,{value:{selectedTournaments:o,addTournamentItem:e=>{i(n=>[...n,e]),d(n=>{if(n){var t;return(null==(t=n[n.length-1])?void 0:t.isEventTournament)?[...n.slice(0,n.length-1),{id:e},n[n.length-1]]:[...n,{id:e}]}return n})},removeTournamentItem:e=>{i(n=>[...n].filter(n=>n!==e)),d(n=>n?[...n].filter(n=>n.id!==e):n)}},children:s}):(0,l.jsx)(el,{})}let e3=()=>(0,l.jsxs)(m.BU,{children:[(0,l.jsx)(e0,{}),(0,l.jsx)(eY,{}),(0,l.jsx)(e_,{})]}),e4=()=>(0,l.jsxs)(o.xA,{children:[(0,l.jsx)(o.fv,{flexGrow:1,children:(0,l.jsx)(e1,{})}),(0,l.jsxs)(o.fv,{flexGrow:2,children:[(0,l.jsx)(eY,{}),(0,l.jsx)(e_,{})]})]});function e6(e){let{highlightedTournamentId:n}=e,{isMobile:t}=(0,x.$c)(),{suggestedTournaments:s,isLoading:r}=function(){let{data:e,isLoading:n}=(0,$.Ay)(R.d9M.suggestions(R.G$9.UniqueTournaments));return{suggestedTournaments:(null==e?void 0:e.results.map(e=>e.entity))||[],isLoading:n}}();if(r)return(0,l.jsx)(el,{});let i=s.map(e=>e.id).slice(0,F.ZC);return(0,l.jsx)(F.js,{value:{suggestedTournaments:s},children:(0,l.jsx)(e2,{initialSelectedTournamentIds:i,highlightedTournamentId:n,children:t?(0,l.jsx)(e3,{}):(0,l.jsx)(e4,{})})})}function e5(){let[e,n]=(0,g.Ay)({routeKey:i.xW.TVSchedule,params:{}}),t=(null==e?void 0:e.tab)||F.p5.Tournaments;return(0,l.jsxs)(p.so,{direction:"column",gap:"md",py:"md",children:[(0,l.jsx)(x.H1,{textAlign:"center",children:(0,l.jsx)(j.A,{id:"tv_schedule_and_channels"})}),(0,l.jsx)(x.tU,{variant:"secondary",value:t,initialValue:t,onChange:e=>{t!==e&&n("tab",e)},centered:!0,children:(0,l.jsxs)(p.so,{direction:"column",gap:"md",children:[(0,l.jsx)(m.Zp,{children:(0,l.jsx)(p.az,{p:"sm",children:(0,l.jsxs)(x.tU.List,{children:[(0,l.jsx)(x.tU.Tab,{tabKey:F.p5.Tournaments,children:(0,l.jsx)(j.A,{id:"by_competition"})}),(0,l.jsx)(x.tU.Tab,{tabKey:F.p5.Channels,children:(0,l.jsx)(j.A,{id:"by_channel"})})]})})}),(0,l.jsx)(x.tU.Panel,{tabKey:F.p5.Tournaments,children:(0,l.jsx)(e6,{highlightedTournamentId:null==e?void 0:e.highlightedTournamentId})}),(0,l.jsx)(x.tU.Panel,{tabKey:F.p5.Channels,children:(0,l.jsx)(eS,{})})]})})]})}function e9(){let[e,n]=(0,g.Ay)({routeKey:i.xW.TVSchedule,params:{}}),t=(null==e?void 0:e.tab)||F.p5.Tournaments;return(0,l.jsxs)(x.tU,{variant:"secondary",value:t,initialValue:t,onChange:e=>{t!==e&&n("tab",e)},centered:!0,children:[(0,l.jsxs)(p.so,{direction:"column",bg:"surface.s1",children:[(0,l.jsx)(x.H1,{textStyle:"display.large",textAlign:"center",pt:"lg",pb:"sm",children:(0,l.jsx)(j.A,{id:"tv_schedule_and_channels"})}),(0,l.jsx)(p.az,{p:"sm",children:(0,l.jsxs)(x.tU.List,{children:[(0,l.jsx)(x.tU.Tab,{tabKey:F.p5.Tournaments,children:(0,l.jsx)(j.A,{id:"by_competition"})}),(0,l.jsx)(x.tU.Tab,{tabKey:F.p5.Channels,children:(0,l.jsx)(j.A,{id:"by_channel"})})]})})]}),(0,l.jsx)(x.tU.Panel,{tabKey:F.p5.Tournaments,children:(0,l.jsx)(e6,{highlightedTournamentId:null==e?void 0:e.highlightedTournamentId})}),(0,l.jsx)(x.tU.Panel,{tabKey:F.p5.Channels,children:(0,l.jsx)(eS,{})})]})}function e7(){let e=(0,c.A)(),n=u.z.getTranslatedCanonicalRoute(e,"tvSchedule").route;return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(r(),{children:(0,l.jsx)("link",{rel:"canonical",href:"https://www.sofascore.com".concat(n)})}),(0,l.jsx)(h.A,{metaKey:"tv_schedule"}),(0,l.jsxs)(o.YW,{children:[(0,l.jsx)(d.$B,{children:(0,l.jsx)(e9,{})}),(0,l.jsx)(d.h6,{children:(0,l.jsx)(a.JR,{route:i.xW.TVSchedule,children:(0,l.jsx)(e5,{})})})]})]})}let e8=()=>(0,l.jsx)(e7,{})},37721:(e,n,t)=>{"use strict";t.d(n,{l:()=>a});var l=t(64082),s=t(6029),r=t(46787),i=t(94565);function a(e){var{id:n,name:t,size:a=56,placeholder:o="/static/images/placeholders/tournament.svg",fallback:d}=e,c=(0,l.T)(e,["id","name","size","placeholder","fallback"]);let u=c.w||c.width||a,h=c.h||c.height||a;return(0,s.jsx)(i._V,Object.assign({fallback:d||(0,s.jsx)(i._V,{w:u,h:h,src:o,alt:t}),src:n?r.yKR.image(n):"",alt:t,w:u,h:h,isGrayscale:c.grayscale},c))}},39975:(e,n,t)=>{"use strict";t.d(n,{A:()=>o,q:()=>a});var l=t(6029),s=t(94565),r=t(55729),i=t(43072);let a=e=>{let{initialVisible:n=!1,defaultHeight:t=0,visibleOffset:a=1e3,persist:o=!1,loader:d,children:c,...u}=e,h={initialInView:n,rootMargin:"".concat(a,"px 0px ").concat(a,"px 0px")},[x,p,j]=(0,i.Wx)(h),m=(0,r.useRef)(n),g=(0,r.useRef)(t);(0,r.useEffect)(()=>{p&&!0!==m.current&&(m.current=!0),p&&g.current!==t&&(g.current=(null==j?void 0:j.boundingClientRect.height)||t)},[p,j]);let f=d||(g.current?(0,l.jsx)(s.az,{h:g.current}):null),v=p||o&&m.current;return(0,l.jsx)(s.az,{ref:x,...u,children:v?c:f})},o=a},42171:(e,n,t)=>{"use strict";t.d(n,{H:()=>m,K:()=>g});var l=t(6029),s=t(46787),r=t(51569),i=t(20325),a=t(494),o=t(52466),d=t(70251),c=t(22375),u=t(90510),h=t(90248);function x(e){let{stage:n}=e,t=(0,c.pp)(n.startDateTimestamp).getTime(),a=function(e){switch(e){case s.hzM.finished:return"stage_result_finished";case s.hzM.canceled:return"canceled";case s.hzM.postponed:return"postponed";case s.hzM.inprogress:return"inProgress";default:return""}}(n.status.type),o=[s.hzM.canceled,s.hzM.inprogress,s.hzM.postponed];return(0,l.jsxs)(i.so,{direction:"column",align:"center",gap:"2xs",mx:"sm",basis:"5xl",title:n.status.description,children:[(0,l.jsx)(r.EY,{textStyle:"body.small",color:"neutrals.nLv3",children:(0,l.jsx)(u.ib,{value:t})}),a&&(0,l.jsx)(r.EY,{textStyle:"body.small",color:o.includes(n.status.type)?"status.live":"neutrals.nLv3",textAlign:"center",display:"block",w:"5xl",truncate:!0,children:(0,l.jsx)(h.A,{id:a})})]})}var p=t(11219);function j(e){return(0,a.d4)(n=>n.favorites.stages[e],a.bN)}function m(e){var n,t,a;let{children:d,stage:c,isSelected:u,hideTailDivider:h}=e,m=j(c.id),g=null==m||null==(n=m.uniqueStage)?void 0:n.category.sport.slug;return g&&(null==m?void 0:m.stageParent)?(0,l.jsx)(i.az,{br:"2xs",_hover:{bg:"surface.s2"},children:(0,l.jsx)(p.LC,{stage:m.stageParent,sportSlug:g,isStageCell:!0,children:(0,l.jsxs)(i.so,{align:"center",h:"4xl",bg:u?"surface.s2":void 0,py:"sm",pr:"md",children:[(0,l.jsx)(x,{stage:m}),(0,l.jsxs)(i.so,{direction:"column",gap:"2xs",pl:"sm",mr:"md",borderColor:"neutrals.nLv4",borderInlineStart:"1px solid",borderInlineEnd:d&&!h?"1px solid":void 0,grow:1,children:[(0,l.jsx)(r.EY,{children:null==(t=m.stageParent)?void 0:t.description}),(0,l.jsxs)(i.so,{align:"center",children:[(0,l.jsx)(r.EY,{color:"neutrals.nLv3",children:m.description}),m.status.type===s.hzM.finished&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(o.ABt,{w:"8",h:"8",color:"neutral.default",mx:"[6px]"}),(0,l.jsx)(r.EY,{color:"neutrals.nLv3",children:null==(a=m.winner)?void 0:a.name})]})]})]}),d]})})}):null}function g(e){let n=j(e.stage.id);if(n)return(0,l.jsx)(m,{...e,children:void 0!==e.location?(0,l.jsx)(d.x,{id:n.id,uniqueStage:n.uniqueStage,location:e.location,isSubstageCell:!0}):null})}},47815:(e,n,t)=>{"use strict";t.d(n,{A:()=>l});let l=function(e){switch(!0){case e<1e3:return"".concat(e);case e<1e4&&e/1e3%1>=.1:let n="".concat((e/1e3).toPrecision(2));return n.endsWith(".0")&&(n=n.substring(0,n.length-2)),"".concat(n,"k");case e<1e6:let t=Math.round(e/1e3);if(1e3===t)return"1M";return"".concat(t,"k");case e<1e7:let l=(e/1e5).toFixed();return l=l.endsWith("0")?l.substring(0,l.length-1):"".concat(l[0],".").concat(l[1]),"".concat(l,"M");case e<1e8:return"".concat(Math.round(e/1e6),"M");case e<1e9:let s=Math.round(e/1e6);if(1e3===s)return"1B";return"".concat(s,"M");default:return"".concat(e)}}},66735:(e,n,t)=>{"use strict";t.d(n,{e:()=>l});let l=(0,t(55729).createContext)({})},70917:(e,n,t)=>{var l=t(74283),s=t(87567);e.exports=function(e){return null==e?[]:l(e,s(e))}},74283:(e,n,t)=>{var l=t(88601);e.exports=function(e,n){return l(n,function(n){return e[n]})}},74620:e=>{"use strict";e.exports=JSON.parse('{"Carpet indoor":"carpetIndoor","Clay":"tennis_surface_clay","Grass":"tennis_surface_grass","Hard":"tennis_surface_hard","Hardcourt indoor":"tennis_surface_indoor_hardcourt","Hardcourt outdoor":"tennis_surface_outdoor_hardcourt","Red clay":"surface_red_clay","Synthetic indoor":"syntheticIndoor","Synthetic outdoor":"syntheticOutdoor"}')},76155:(e,n,t)=>{"use strict";t.d(n,{J:()=>r});var l=t(6029),s=t(30774);let r=e=>{let{tournament:n}=e,t=(0,s.w)(n);return(0,l.jsx)(l.Fragment,{children:t})}},79634:(e,n,t)=>{"use strict";t.d(n,{q:()=>l.q});var l=t(39975)},82455:(e,n,t)=>{"use strict";t.d(n,{c:()=>d});var l=t(6029),s=t(51569),r=t(20325),i=t(90248),a=t(46222),o=t(52466);let d=e=>{let{messageId:n}=e;return(0,l.jsx)(a.WC,{variant:"inverse",children:(0,l.jsx)(a.Zp,{children:(0,l.jsxs)(r.so,{align:"center",w:"100%",gap:"sm",py:"sm",px:"lg",children:[(0,l.jsx)(o.G_L,{color:"neutrals.nLv3",minW:"xl"}),(0,l.jsx)(s.EY,{textStyle:"assistive.default",display:"block",color:"neutrals.nLv3",children:(0,l.jsx)(i.A,{id:n})})]})})})}},83359:(e,n,t)=>{"use strict";t.d(n,{n:()=>a});var l=t(6029),s=t(90248),r=t(74620),i=t(91113);let a=e=>{let{id:n}=e;return(0,l.jsx)(s.A,{id:(0,i.OX)(r,n)})}},85199:(e,n,t)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/tvSchedule",function(){return t(33490)}])},88374:(e,n,t)=>{"use strict";function l(e){let n=function(e){e.startsWith("#")&&(e=e.slice(1));let n={};return e.split(",").forEach(e=>{let[t,l]=e.split(":");t&&(n[t]=l)}),n}(window.location.hash);delete n[e],window.location.hash=Object.entries(n).map(e=>{let[n,t]=e;return"".concat(n,":").concat(t)}).join(",")}t.d(n,{$:()=>l})},88658:(e,n,t)=>{"use strict";t.d(n,{B:()=>x});var l=t(6029),s=t(51569),r=t(62042),i=t(20325);let a=(0,r.Fj)({base:{display:"inline-block",verticalAlign:"bottom",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",color:"neutrals.nLv3",textStyle:"assistive.default","& > a":{color:"primary.default",_hover:{textDecoration:"underline"}},"& + li":{_before:{content:'""',display:"inline-block",width:"[0px]",height:"[0px]",borderStyle:"solid",margin:"[1px 5px]",borderYWidth:"[3px]",borderStartWidth:"[5px]",borderEndWidth:"0",borderTopColor:"[transparent]",borderEndColor:"[transparent]",borderBottomColor:"[transparent]",borderStartColor:"[currentColor]"}},"&:first-child:nth-last-child(3)":{maxWidth:"[50%]"},"&:first-child:nth-last-child(3) ~ &":{maxWidth:"[50%]"},"&:first-child:nth-last-child(4)":{maxWidth:"[33.33%]"},"&:first-child:nth-last-child(4) ~ &":{maxWidth:"[33.33%]"},"&:last-child":{display:"inline",whiteSpace:"initial"}},variants:{placement:{onColor:{color:"onColor.primary","& > a":{color:"onColor.primary"}},default:{color:"neutrals.nLv3","& > a":{color:"primary.default"}}}}}),o=(0,i.I4)("li",a),d=(0,r.Fj)({base:{display:"flow-root",lineClamp:1,lineHeight:"[16px]",boxOrient:"vertical",overflow:"hidden",listStyle:"none",margin:"0",padding:"0","&:has(.breadcrumb-title)":{lineClamp:2},"& > li":{lineHeight:"[16px]"}},variants:{placement:{onColor:{color:"onColor.primary"},default:{color:"neutrals.nLv3"}}}}),c=(0,i.I4)("ul",d),u=(0,r.Fj)({base:{mdDown:{bg:"surface.s1"},"&:has(.breadcrumb-title)":{py:"md",px:"lg",md:{px:"0"},"@supports not selector(:has(a, b))":{py:"md",px:"lg",md:{px:"0"}}}},variants:{noBg:{true:{mdDown:{bg:"[transparent]",padding:"[0px !important]"}}}}}),h=(0,i.I4)("div",u),x=e=>{let{children:n,noBg:t,onColor:s}=e;return(0,l.jsx)(h,{noBg:t,children:(0,l.jsx)(c,{placement:s?"onColor":"default",children:n})})};x.Item=e=>{let{children:n,onColor:t}=e;return(0,l.jsx)(o,{placement:t?"onColor":"default",children:n})},x.Title=e=>{let{children:n,onColor:t}=e;return(0,l.jsx)(s.Li,{display:"inline",className:"breadcrumb-title",color:t?"onColor.secondary":void 0,children:(0,l.jsx)(s.H1,{display:"inline",textStyle:"assistive.default",color:t?"onColor.secondary":"neutrals.nLv3",children:n})})}},97431:(e,n,t)=>{"use strict";t.d(n,{t:()=>c,g:()=>u});var l=t(46787),s=t(947);let r=JSON.parse('{"american-football":{"Quarterfinal":"american_football_divisional_round","Quarterfinals":"american_football_divisional_round","Round of 16":"american_football_wild_card","Round 1":{"id":"week_number","values":{"n":1}},"Round 2":{"id":"week_number","values":{"n":2}},"Round 3":{"id":"week_number","values":{"n":3}},"Round 4":{"id":"week_number","values":{"n":4}},"Round 5":{"id":"week_number","values":{"n":5}},"Round 6":{"id":"week_number","values":{"n":6}},"Round 7":{"id":"week_number","values":{"n":7}},"Round 8":{"id":"week_number","values":{"n":8}},"Round 9":{"id":"week_number","values":{"n":9}},"Round 10":{"id":"week_number","values":{"n":10}}},"Qualifications":"qualifications","Qualification":"Qualification","Quarterfinal":"quarterfinals","Quarterfinals":"quarterfinals","Semifinal":"semifinals","Semifinals":"semifinals","Final":"final","Match for 3rd place":"match-for-3rd-place","Round 1":{"id":"round_number","values":{"n":1}},"Round 2":{"id":"round_number","values":{"n":2}},"Round 3":{"id":"round_number","values":{"n":3}},"Round 4":{"id":"round_number","values":{"n":4}},"Round 5":{"id":"round_number","values":{"n":5}},"Round 6":{"id":"round_number","values":{"n":6}},"Round 7":{"id":"round_number","values":{"n":7}},"Round 8":{"id":"round_number","values":{"n":8}},"Round 9":{"id":"round_number","values":{"n":9}},"Round 10":{"id":"round_number","values":{"n":10}},"Qualification round 1":{"id":"qualificationRoundN","values":{"n":1}},"Qualification round 2":{"id":"qualificationRoundN","values":{"n":2}},"Qualification round 3":{"id":"qualificationRoundN","values":{"n":3}},"Qualification round 4":{"id":"qualificationRoundN","values":{"n":4}},"Qualification round 5":{"id":"qualificationRoundN","values":{"n":5}},"Qualification round 6":{"id":"qualificationRoundN","values":{"n":6}},"Round of 16":"round_of_16","Round of 32":"round_of_32","Round of 64":"round_of_64","Round of 128":"round_of_128","R16":"round_of_16","R32":"round_of_32","R64":"round_of_64","R128":"round_of_128","1/8":"round_of_16","1/16":"round_of_32","1/32":"round_of_64","1/64":"round_of_128","Group A":{"id":"group_letter","values":{"n":"A"}},"Group B":{"id":"group_letter","values":{"n":"B"}},"Group C":{"id":"group_letter","values":{"n":"C"}},"Group D":{"id":"group_letter","values":{"n":"D"}},"Group E":{"id":"group_letter","values":{"n":"E"}},"Group F":{"id":"group_letter","values":{"n":"F"}},"Group G":{"id":"group_letter","values":{"n":"G"}},"Group H":{"id":"group_letter","values":{"n":"H"}},"Third-placed teams":"third_place","Playoffs":"playoffs","Playoff round":"playoff_round","Knockout stage":"knockout_stage","Season":"season"}');var i=t(91113);let a=Object.values(l.QCR),o=Object.keys(r).filter(e=>!a.includes(e));function d(e,n){return{id:(0,i.OX)(r,e,n),values:(0,i.BI)(r,e,n)}}function c(e,n,t){for(let l of o)if(e.includes(l)){let{id:s,values:r}=d(l,n),i=t.formatMessage({id:s,defaultMessage:l},r);return e.replace(new RegExp("\\b".concat(l,"\\b")),i)}return e}function u(e,n){let t=(0,s.A)();if(!e)return;let{id:l,values:r}=d(e,n);return t.formatMessage({id:l,defaultMessage:e},r)}}},e=>{e.O(0,[33854,66430,56587,61392,36678,3074,9031,90636,46593,38792],()=>e(e.s=85199)),_N_E=e.O()}]);