!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]="30734037-b304-4c38-9a69-9556b95c0eae",e._sentryDebugIdIdentifier="sentry-dbid-30734037-b304-4c38-9a69-9556b95c0eae")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9623],{1440:(e,t,r)=>{r.d(t,{A:()=>l,q:()=>o});var n=r(6029),a=r(41249),s=r(55729),i=r(43072);let o=e=>{let{initialVisible:t=!1,defaultHeight:r=0,visibleOffset:o=1e3,persist:l=!1,loader:c,children:d,...u}=e,h={initialInView:t,rootMargin:"".concat(o,"px 0px ").concat(o,"px 0px")},[p,f,m]=(0,i.Wx)(h),g=(0,s.useRef)(t),x=(0,s.useRef)(r);(0,s.useEffect)(()=>{f&&!0!==g.current&&(g.current=!0),f&&x.current!==r&&(x.current=(null==m?void 0:m.boundingClientRect.height)||r)},[f,m]);let v=c||(x.current?(0,n.jsx)(a.az,{h:x.current}):null),j=f||l&&g.current;return(0,n.jsx)(a.az,{ref:p,...u,children:j?d:v})},l=o},6354:(e,t,r)=>{r.d(t,{O:()=>n});let n=(0,r(55729).createContext)({})},7263:(e,t,r)=>{r.d(t,{n:()=>n.n});var n=r(3959)},12047:(e,t,r)=>{r.d(t,{Ay:()=>i});var n=r(95083),a=r(21501),s=r(55729);function i(){let{isInMobileTabs:e=!0,isSportMenuVisible:t=!0}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},[r,i]=(0,s.useState)(0),o=(0,a.YU)(),{isMobile:l}=(0,n.$c)(),c=50*!!e,d=48+c+48*!!t;return(0,s.useEffect)(()=>{l&&i(o===a.Dh.Up?d:c)},[o,l]),r}},26413:(e,t,r)=>{r.d(t,{w:()=>p});var n=r(21377),a=r(99452),s=r.n(a),i=r(55729),o=r(494),l=r(8703);let c=e=>{let{pivotIndex:t,page:r,arrayLength:n,eventsPerPage:a,notFinishedCount:s=2}=e,i=0,o=0;if(-1===t)i=0,o=n>=a?a-1:n-1;else{for(let e=s;e>=0;e-=1)if(t+e=0;e-=1)if(o-e>=0){i=o-e;break}}if(o-i-10;t-=1)if(o+t0&&(c=(l=o+1+(r-1)*a)+a-1,l=l0?c:0,l=l>0?l:0),{pageWindowStart:l,pageWindowEnd:c}},d=e=>{let{events:t,page:r,eventsPerPage:n=10}=e,a={eventsForPage:[]};if(t.length<=n)return a.eventsForPage=r?[]:t,a;let s=-1;t.some((e,t)=>!!e.isPivot&&(s=t,!0));let{pageWindowStart:i,pageWindowEnd:o}=c({page:r,arrayLength:t.length,pivotIndex:s,eventsPerPage:n});return a.eventsForPage=t.slice(i,o+1),a.hasFullNextPage=o+n=0,a.hasPreviousPage=i>0,a},u=e=>{let{orientation:t,page:r}=e;return t&&r?"".concat(t,"-").concat(r):""};class h extends i.PureComponent{async initialFetch(){let[e,t]=await Promise.all([this.fetchEvents(0,!0),await this.fetchEvents(0)]);e&&t&&this.setState({hide:!0})}componentDidMount(){this.initialFetch()}componentDidUpdate(e){let{id:t,seasonId:r}=this.props;(e.id!==t||e.seasonId!==r)&&this.setState({...this.initialState,events:[],pages:{},managedTeamMap:{},statisticsMap:{},playedForTeamMap:{},incidentsMap:{},onBenchMap:{}},this.initialFetch)}componentWillUnmount(){this.stopCurrentRefreshTask()}stopCurrentRefreshTask(){this.refreshTaskId&&this.props.stopRefreshingEvents(this.refreshTaskId)}render(){let{children:e,eventsPerPage:t}=this.props;if("function"!=typeof e)if(!(0,n.Cu5)())return null;else throw Error("EventListPaginator component requires `children` prop to be function!");let{events:r,managedTeamMap:a,currentPage:s,statisticsMap:i,playedForTeamMap:o,incidentsMap:l,onBenchMap:c,hide:u}=this.state,{eventsForPage:h,hasNextPage:p,hasPreviousPage:f}=d({events:r,page:s,eventsPerPage:t});return u?null:e({events:h,toNextPage:this.toNextPage,toPreviousPage:this.toPreviousPage,page:s,hasNextPage:p,hasPreviousPage:f,managedTeamMap:a,statisticsMap:i,playedForTeamMap:o,incidentsMap:l,onBenchMap:c})}constructor(...e){var t;super(...e),t=this,this.initialState={events:[],pages:{},hasNextPage:!1,hasPreviousPage:!1,previousFetchPage:0,nextFetchPage:0,currentPage:0,managedTeamMap:{},statisticsMap:{},playedForTeamMap:{},incidentsMap:{},onBenchMap:{},hide:!1},this.state={...this.initialState},this.fetchEvents=async function(e){let r=arguments.length>1&&void 0!==arguments[1]&&arguments[1],{id:a,entity:s,seasonId:i}=t.props,o="".concat(r?"previous":"next");try{let l=await n.lX$.fetchEventListEvents({entity:s,id:a,page:e,isPast:r,seasonId:i});if(!l)return!0;return t.props.setEvents(l.events),0===e&&r&&(t.stopCurrentRefreshTask(),t.refreshTaskId="".concat(s,"-").concat(a,"-list"),t.props.refreshEvents({entities:l.events.map(e=>e.id),refreshTaskId:t.refreshTaskId},{fetchFunction:n.lX$.fetchEventListEvents.bind(null,{entity:s,id:a,page:e,isPast:r,seasonId:i})})),await t.addPage(l,u({orientation:o,page:String(e)})),!1}catch(e){return console.error(e),!0}},this.addPage=async(e,t)=>{let{pages:r}=this.state;r[t]=e;let n=[],a={managedTeamMap:{},statisticsMap:{},playedForTeamMap:{},incidentsMap:{},onBenchMap:{}},i=Object.keys(r).map(e=>{let[t,r]=e.split("-");return{orientation:t,page:Number(r)}}),o=i.filter(e=>"previous"===e.orientation),l=s()(o,["page"],["desc"]),c=i.filter(e=>"next"===e.orientation),d=s()(c,["page"],["asc"]),h=l.concat(d);h.forEach(e=>{let t=u({orientation:e.orientation,page:e.page.toString()}),{events:s}=r[t];"previous-0"===t&&(s[s.length-1].isPivot=!0),n.push(...s),a={managedTeamMap:{...a.managedTeamMap,...r[t].managedTeamMap},statisticsMap:{...a.statisticsMap,...r[t].statisticsMap},playedForTeamMap:{...a.playedForTeamMap,...r[t].playedForTeamMap},incidentsMap:{...a.incidentsMap,...r[t].incidentsMap},onBenchMap:{...a.onBenchMap,...r[t].onBenchMap}}});let p={events:n,hasNextPage:!1,hasPreviousPage:!1,previousFetchPage:0,nextFetchPage:0,...a};if(h.length){let e=u({orientation:h[0].orientation,page:h[0].page.toString()}),t=u({orientation:h[h.length-1].orientation,page:h[h.length-1].page.toString()}),n=r[e],a=r[t];p.hasPreviousPage=!!n&&n.hasNextPage,p.hasNextPage=!!a&&a.hasNextPage,p.previousFetchPage=h[0].page,p.nextFetchPage=h[h.length-1].page}await new Promise(e=>this.setState(p,e))},this.toNextPage=async()=>{let{eventsPerPage:e}=this.props,{currentPage:t,events:r,hasNextPage:n,nextFetchPage:a}=this.state,s=t+1;this.setState({currentPage:s});let{hasFullNextPage:i}=d({events:r,page:s,eventsPerPage:e});!i&&n&&await this.fetchEvents(a+1)},this.toPreviousPage=async()=>{let{eventsPerPage:e}=this.props,{events:t,currentPage:r,hasPreviousPage:n,previousFetchPage:a}=this.state,s=r-1;this.setState({currentPage:s});let{hasFullPreviousPage:i}=d({events:t,page:s,eventsPerPage:e});!i&&n&&await this.fetchEvents(a+1,!0)}}}let p=(0,o.Ng)(null,l.AD)(h)},28171:(e,t,r)=>{r.d(t,{A:()=>o});var n=r(95083),a=r(78383),s=r.n(a),i=r(76410);function o(){let{isMobile:e}=(0,n.$c)();return{logTabChange:e?i.yy:s()}}},33144:(e,t,r)=>{r.d(t,{p:()=>n.p});var n=r(91603)},42525:(e,t,r)=>{r.d(t,{C:()=>h});var n=r(6029),a=r(95083),s=r(41249),i=r(55729),o=r(90248),l=r(54409),c=r(19168);let d=r(41735).default.input.withConfig({componentId:"sc-42144bfd-0"})(["width:100%;height:32px;padding-right:40px;background-color:",";font:",";color:",";border:1px solid ",";border-radius:",";text-overflow:ellipsis;outline:none;cursor:pointer;transition:box-shadow 200ms,background-color 200ms;:focus{outline:none;background-color:",";box-shadow:0 0 0 3px ",";}"],e=>e.theme.colors.surface.s2,e=>e.theme.typography.font.assistive.default,e=>e.theme.colors.onSurface.nLv3,e=>e.theme.colors.effect.elevation1,e=>e.theme.spacing.sm,e=>e.theme.colors.neutral.highlight,e=>e.theme.colors.neutral.highlight);function u(e){let{embedString:t,onToggle:r,onClick:a}=e;return(0,n.jsxs)(s.az,{position:"relative",mx:[0,"sm"],my:"xs",children:[(0,n.jsx)(d,{id:t,type:"text",readOnly:!0,value:t,onClick:a,onBlur:r}),(0,n.jsx)("label",{htmlFor:t,children:(0,n.jsx)(l.i2C,{width:"24",height:"24",fill:"primary.default",style:{position:"absolute",top:4,right:8,cursor:"pointer"}})})]})}function h(e){let{id:t,callToAction:r,embedString:d,inverted:h,onCallToActionClick:p,...f}=e,[m,g]=(0,i.useState)(!1),[x,v]=(0,i.useState)(!1),{isMobile:j}=(0,a.$c)(),y=(0,i.useCallback)(async e=>{x||(v(!0),setTimeout(()=>{v(!1)},3e3),"writeText"in window.navigator.clipboard?(await window.navigator.clipboard.writeText(d),(0,c.MZ)((0,n.jsxs)(s.so,{align:"center",children:[(0,n.jsx)(l.G_L,{fill:"surface.s1",mr:"lg"}),(0,n.jsx)(s.EY,{block:!0,color:"surface.s1",font:"display.small",children:(0,n.jsx)(o.A,{id:"basic.copiedToClipboard"})})]}))):(e.currentTarget.focus(),e.currentTarget.select()))},[m,d,x]);return(0,i.useEffect)(()=>{g(!1)},[t]),j?null:(0,n.jsx)(s.az,{px:"sm",mt:"sm",...f,children:(0,n.jsxs)(s.az,{cursor:"pointer",bg:[void 0,h?void 0:"surface.s2"],br:"lg",p:[0,"sm"],children:[(0,n.jsxs)(s.so,{justify:"flex-end",align:"center",onClick:()=>{g(!m),null==p||p()},children:[(0,n.jsx)(s.EY,{lineHeight:"16px",color:h?"onColor.primary":"primary.default",p:"sm",font:["assistive.default","display.small"],block:!0,as:"bdi",children:r}),(0,n.jsx)(s.az,{shrink:0,children:m?(0,n.jsx)(l.t8v,{width:"16",height:"16",fill:h?"onColor.primary":"primary.default",ml:"xs"}):(0,n.jsx)(l.QtO,{width:"16",height:"16",fill:h?"onColor.primary":"primary.default",ml:"xs"})})]}),m&&(0,n.jsx)(u,{embedString:d,onClick:y})]})})}},42901:(e,t,r)=>{r.d(t,{z:()=>u});var n=r(31710),a=r(6029),s=r(41249),i=r(41735);function o(){let e=(0,n._)(["\n position: absolute;\n width: 100%;\n height: 100%;\n background-image: ",";\n background-size: 100% 100%;\n background-position: center center;\n filter: blur(50px);\n overflow: hidden;\n border-radius: ",";\n transform: scale(1.5);\n "]);return o=function(){return e},e}function l(){let e=(0,n._)(["\n position: absolute;\n width: 100%;\n height: 100%;\n overflow: hidden;\n border-radius: ",";\n "]);return l=function(){return e},e}let c=i.default.div.withConfig({componentId:"EntityHeaderBackground"}).withConfig({componentId:"sc-5e0bb97f-0"})(["",""],e=>e.theme.breakpoints.query.mdMin(o(),e.bgImageSrc?"url(".concat(e.bgImageSrc,")"):"none",e.theme.spacing.lg)),d=(0,i.default)(s.az).withConfig({componentId:"EntityHeaderBackgroundContainer"}).withConfig({componentId:"sc-5e0bb97f-1"})(["",""],e=>e.theme.breakpoints.query.mdMin(l(),e.br||e.theme.spacing.xl));function u(e){let{bgImageSrc:t,children:r,flexProps:n,...i}=e;return(0,a.jsxs)(s.az,{position:"relative",br:"xl",...i,children:[(0,a.jsx)(d,{br:i.br,children:(0,a.jsx)(c,{bgImageSrc:t})}),(0,a.jsx)(s.so,{position:"relative",align:["flex-start","center"],bg:["none","overlay.darken1"],px:[0,"md"],py:["sm","xl"],br:"xl",...n,children:r})]})}},47530:(e,t,r)=>{r.d(t,{DT:()=>d,Xl:()=>u,__:()=>l,rC:()=>c});var n=r(6029),a=r(21377),s=r(90248),i=r(947),o=r(20336);let l=e=>{let{name:t,sport:r}=e,a=(0,o.g)(t,r);return(0,n.jsx)(n.Fragment,{children:a})};function c(e){let{roundName:t,sport:r}=e,i=r===a.QCR.AmericanFootball;if(!isNaN(+t))return(0,n.jsx)(s.A,{id:i?"week_number":"matches.roundN",values:{n:t}});let o=t.match(/\d+/),d=t.match(/2nd leg/),u=t.match(/place/);if(o&&!d&&!u)return t.match(/qualification/i)?(0,n.jsx)(s.A,{id:"qualificationRoundN",values:{n:o[0]},defaultMessage:t}):t.match(/round of/i)||t.match(/\d+[/]\d+/i)||t.match(/R\d+/i)?(0,n.jsx)(l,{name:t,sport:r}):(0,n.jsx)(s.A,{id:i?"week_number":"matches.roundN",values:{n:o[0]},defaultMessage:t});if(d&&d.index){let e=t.slice(0,d.index-1);return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(c,{roundName:e})," ",(0,n.jsx)(s.A,{id:"tournament.totw.secondLeg",defaultMessage:d[0]})]})}return(0,n.jsx)(l,{name:t,sport:r})}let d=e=>{let{round:t,sport:r}=e;return t?(0,n.jsxs)(n.Fragment,{children:[t.prefix&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(c,{roundName:t.prefix}),"\xa0"]}),(0,n.jsx)(c,{roundName:(null==t?void 0:t.name)||t.round.toString(),sport:r})]}):null},u=(e,t,r)=>{let n=(0,i.A)(),s=(0,o.g)(e,t),l=t===a.QCR.AmericanFootball;if(!e)return;if(!isNaN(+e))return n.formatMessage({id:l?"week_number":"matches.roundN"},{n:e});let c=e.match(/\d+/),d=e.match(/2nd leg/),u=e.match(/place/);return!c||d||u?r?n.formatMessage({id:"winner"}):s:e.match(/qualification/i)?n.formatMessage({id:"qualificationRoundN",defaultMessage:e},{n:c[0]}):e.match(/round of/i)||e.match(/\d+[/]\d+/i)||e.match(/R\d+/i)?s:n.formatMessage({id:l?"week_number":"matches.roundN",defaultMessage:e},{n:c[0]})}},54686:(e,t,r)=>{r.d(t,{A:()=>c});var n=r(6029),a=r(18612),s=r(21377),i=r(41249);let o=e=>{let{start:t}=e;return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("rect",{x:"16",y:t+12,width:"38",height:"10"}),(0,n.jsx)("rect",{x:"16",y:t+24,width:"38",height:"10"}),(0,n.jsx)("rect",{x:"68",y:t+8,width:"1",height:"28"}),(0,n.jsx)("rect",{x:"79",y:t+8,rx:"2",ry:"2",width:148,height:"12"}),(0,n.jsx)("rect",{x:"79",y:t+24,rx:"2",ry:"2",width:172,height:"12"})]})},l=e=>{let{start:t}=e;return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("circle",{cx:"34",cy:t+22,r:"16"}),(0,n.jsx)("rect",{x:"68",y:t+8,rx:"2",ry:"2",width:56,height:"12"}),(0,n.jsx)("rect",{x:"68",y:t+24,rx:"2",ry:"2",width:220,height:"12"}),(0,n.jsx)(o,{start:t+44}),(0,n.jsx)("rect",{x:0,y:t+88+4,height:1,width:991})]})};function c(e){let{sport:t}=e;return(0,n.jsx)(i.az,{overflow:"hidden",children:(0,n.jsxs)(a.D,{height:t===s.QCR.Football?3500:1024,uniqueKey:"list-cl",children:[(0,n.jsx)(l,{start:0}),(0,n.jsx)(l,{start:99}),(0,n.jsx)(l,{start:198}),(0,n.jsx)(l,{start:297}),(0,n.jsx)(l,{start:396}),(0,n.jsx)(l,{start:495}),(0,n.jsx)(l,{start:594}),(0,n.jsx)(l,{start:693}),(0,n.jsx)(l,{start:792}),(0,n.jsx)(l,{start:891})]})})}},65097:(e,t,r)=>{r.r(t),r.d(t,{default:()=>f});var n=r(6029),a=r(14092),s=r(41249),i=r(95669),o=r.n(i),l=r(947),c=r(90248),d=r(54409),u=r(76868),h=r(29129),p=r(70591);function f(e){let{statusCode:t}=e;a.O({statusCode:t});let r=(0,l.A)().formatMessage({id:404===t?"error.pageNotFound":"error.anErrorOccurred"});return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(o(),{children:[(0,n.jsx)("title",{children:"".concat(t," | ").concat(r||"")}),(0,n.jsx)("meta",{name:"robots",content:"noindex"})]}),(0,n.jsx)("div",{id:"errorPage",children:(0,n.jsx)(h.Ay,{children:(0,n.jsx)(h.xA,{children:(0,n.jsx)(h.fv,{textAlign:"center",my:"xxl",noDividers:!0,children:(0,n.jsxs)(u.p,{graphic:"no-connection",children:[(0,n.jsx)(s.EY,{font:"display.extraLarge",color:"onSurface.nLv3",align:"center",as:"h1",mt:"28px",mb:"xxs",children:t}),(0,n.jsx)(s.EY,{font:"display.medium",color:"onSurface.nLv3",align:"center",as:"h3",children:(0,n.jsx)(c.A,{id:"error.anErrorOccurred"})}),(0,n.jsx)(s.EY,{align:"center",mb:"xxl",as:"div",children:404===t?(0,n.jsx)(c.A,{id:"error.pageCannotBeFound"}):(0,n.jsx)(c.A,{id:"error.somethingWrongWithPage"})}),(0,n.jsx)(p.N_,{routeKey:"home",children:(0,n.jsxs)(s.$n,{children:[(0,n.jsx)(d.pa2,{mt:"-3px"})," ",(0,n.jsx)(c.A,{id:"error.backToSofascore"})]})})]})})})})})]})}f.getInitialProps=async e=>{await a.O(e);let{res:t,err:r}=e;return{statusCode:t?t.statusCode:r?r.statusCode:null}}},73045:(e,t,r)=>{r.d(t,{e:()=>a.e,l:()=>n.l});var n=r(37721),a=r(33480)},75508:(e,t,r)=>{r.d(t,{b:()=>m});var n=r(6029),a=r(41249),s=r(65789),i=r(53486),o=r(54686),l=r(33144),c=r(4967),d=r(90510),u=r(54409),h=r(82967);let p=e=>{var t,r,s,i;let{transfers:o,firstEventTimestamp:p,secondEventTimestamp:f,descending:m}=e;if(!o)return null;let g=o.find(e=>m?e.transferDateTimestamp<=p&&e.transferDateTimestamp>=f:e.transferDateTimestamp>=p&&e.transferDateTimestamp<=f);return(0,n.jsxs)(a.az,{id:"player-transfer",display:g?"box":"none",mt:"sm",children:[(0,n.jsx)(a.so,{w:"100%",align:"end",px:"md",justify:"center",children:(0,n.jsx)(l.p,{id:m?null==g||null==(t=g.transferTo)?void 0:t.id:null==g||null==(r=g.transferFrom)?void 0:r.id,size:32,mx:"auto"})}),(0,n.jsxs)(a.so,{w:"100%",align:"center",position:"relative",children:[(null==g?void 0:g.transferDateTimestamp)&&(0,n.jsx)(a.EY,{color:"onSurface.nLv3",fontSize:12,as:"div",position:"absolute",left:"md",bottom:"lg",children:(0,n.jsx)(d.XU,{value:new Date((null==g?void 0:g.transferDateTimestamp)*1e3),...c.or.fullDate})}),(0,n.jsx)(a.cG,{color:"onSurface.nLv4",w:"100%"}),(0,n.jsx)(a.az,{w:24,h:24,style:{transform:"\n rotate(".concat(180*!!m,"deg)")},children:(0,n.jsx)(u.QFN,{fill:"onSurface.nLv1",width:24,height:24})}),g&&(0,n.jsxs)(a.so,{position:"absolute",right:"md",bottom:"lg",children:[(0,n.jsx)(a.EY,{color:"onSurface.nLv3",fontSize:12,as:"div",mr:"sm",children:(0,n.jsx)(h.u,{transfer:g})}),(0,n.jsx)(a.EY,{fontSize:12,color:"secondary.default",as:"div",children:g.transferFeeDescription})]}),(0,n.jsx)(a.cG,{color:"onSurface.nLv4",w:"100%"})]}),(0,n.jsx)(a.so,{w:"100%",align:"end",px:"md",position:"relative",justify:"center",children:(0,n.jsx)(l.p,{id:m?null==g||null==(s=g.transferFrom)?void 0:s.id:null==g||null==(i=g.transferTo)?void 0:i.id,size:32,mx:"auto"})})]})};var f=r(31254);function m(e){let{events:t,header:r,descending:l,onClick:c,isMobile:d,isNarrow:u,isShort:h,transfers:m,lastClickedEvent:g,eventCell:x,isEventCellFactory:v,triggerIndex:j,triggerRef:y,hideHeader:b,location:w,asCards:T}=e,P=r||f.sm;if(!t||!t.length)return(0,n.jsx)(o.A,{});let k=t.sort((e,t)=>l?e.startTimestamp>=t.startTimestamp?-1:1:e.startTimestamp>=t.startTimestamp?1:-1),F=[];return k.forEach((e,t)=>{let r=e.tournament.id;F.length&&F[F.length-1].tournamentId===r?F[F.length-1].events.push(e):F.push({tournamentId:e.tournament.id,events:[e],startIndex:t})}),(0,n.jsx)(a.so,{direction:"column",p:T?"sm":void 0,gap:T?"sm":void 0,children:F.map((e,r)=>(0,n.jsx)(s.HH,{isCard:!!T,children:(0,n.jsx)(a.az,{pb:T?"sm":void 0,pt:T?"xs":void 0,children:e.events.map((r,s)=>{var o;let f=v&&"function"==typeof x?x(r.id):x||i.gY;return(0,n.jsxs)(a.az,{ref:s+e.startIndex===j?y:void 0,children:[0===s&&!b&&(0,n.jsx)(P,{tournament:r.tournament,sport:r.tournament.category.sport,startTimestamp:r.startTimestamp}),(0,n.jsx)(f,{event:r,onClick:c,isMobile:d,isSelected:g===r.id,isNarrow:u,isShort:h,location:w}),(0,n.jsx)(p,{transfers:m,firstEventTimestamp:r.startTimestamp,secondEventTimestamp:null==(o=t[s+1])?void 0:o.startTimestamp,descending:l})]},r.id)})})},"".concat(e.tournamentId,"-").concat(r)))})}},79387:(e,t,r)=>{r.d(t,{C:()=>n.C});var n=r(42525)},82967:(e,t,r)=>{r.d(t,{N:()=>l,u:()=>c});var n=r(6029),a=r(21377),s=r(90248),i=r(85685);let o={1:"transfer_loan",2:"transfer_end_of_loan",3:"transfer_transfer",4:"player.endOfCareer",5:"player.draft",6:"player.released",7:"player.signed"},l=e=>{let{transfer:t}=e;if(void 0!==t.transferFeeRaw&&t.transferFeeRaw.value>0)return(0,n.jsx)(i.o,{parsedMoney:(0,a.oaz)(t.transferFeeRaw)});switch(t.type){case a.uDD.Draft:if(void 0===t.round||void 0===t.pick)return null;return(0,n.jsx)(s.A,{id:"player.draftInfo",values:{round:t.round,pick:t.pick}});case a.uDD.EndOfLoan:case a.uDD.EndOfCareer:return null;case a.uDD.Transfer:if(void 0!==t.transferFeeRaw&&0===t.transferFeeRaw.value&&"Free"===t.transferFeeDescription)return(0,n.jsx)(s.A,{id:"transfer_free"});if(void 0===t.transferFeeDescription||"Unknown"===t.transferFeeDescription)return(0,n.jsx)(s.A,{id:"player.transfer.unknown"});return null;default:return null}},c=e=>{let{transfer:t}=e;return(0,n.jsx)(s.A,{id:o[t.type]})}},85685:(e,t,r)=>{r.d(t,{o:()=>s});var n=r(6029),a=r(90248);let s=e=>{let{parsedMoney:t}=e;return t.measure?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(a.A,{id:"value.".concat(t.measure),values:{value:t.parsedValue}})," ",t.currencySign]}):(0,n.jsxs)(n.Fragment,{children:[t.parsedValue," ",t.currencySign]})}},96913:(e,t,r)=>{r.d(t,{m:()=>f.m,A:()=>p});var n=r(6029),a=r(95083),s=r(41249),i=r(78383),o=r.n(i),l=r(55729),c=r(90248),d=r(12047),u=r(28171);let h=(e,t)=>{let r=(0,l.useState)(e);return t||r};function p(e){let{id:t,location:r,initialTabKey:i,onChange:p=o(),tabs:f,children:m,customControls:g,noSportMenu:x,eventStatusType:v,seasonId:j,isInWidget:y}=e,b=(0,l.useRef)(null),{isMobile:w}=(0,a.$c)(),[T,P]=h(i,g),{logTabChange:k}=(0,u.A)(),F=(0,d.Ay)({isSportMenuVisible:!x,isInMobileTabs:!1});return(0,l.useEffect)(()=>{T!==i&&P(i)},[t,r,j]),(0,n.jsx)(s.tU,{onChange:e=>{T!==e&&(P(e),p(e),y||window.scrollTo({left:0,top:0}))},initialValue:i||T,value:T,variant:"primary",fullWidthTabs:w||y,children:(0,n.jsxs)(s.az,{d:"inline",style:{verticalAlign:"top"},ref:b,children:[(0,n.jsx)(s.PI,{isStickingDisabled:y||!w,bg:["surface.s1","transparent"],borderBottom:["effect.elevation1",void 0],top:F,children:(0,n.jsx)(s.tU.List,{underline:!0,scroll:!0,children:f.filter(e=>!e.isHidden).map(e=>(0,n.jsx)(s.tU.Tab,{tabKey:e.tabKey,style:{marginLeft:0},as:"h2",onClick:n=>n.nativeEvent.isTrusted&&e.tabKey!==T?k({type:e.tabKey,id:t,location:r,status:v}):void 0,children:(0,n.jsx)("a",{href:"#tab:".concat(e.tabKey),onClick:e=>e.preventDefault(),style:{color:"inherit"},children:"string"==typeof e.item?(0,n.jsx)(c.A,{id:e.item,values:e.values}):e.item})},"".concat(t,"-").concat(e.tabKey)))})}),(0,n.jsx)(s.az,{children:m})]})},t)}var f=r(28132)}}]);