!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]="5192cd6f-b5f0-4a36-9181-e8323a7f6249",e._sentryDebugIdIdentifier="sentry-dbid-5192cd6f-b5f0-4a36-9181-e8323a7f6249")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[32035,62990,87887],{1139:(e,t,r)=>{var s=r(68988),n=r(20648);e.exports=function(e,t){return n(e,s(t,2))}},3411:(e,t,r)=>{"use strict";r.d(t,{W:()=>f});var s=r(6029),n=r(21501),i=r(71024),a=r.n(i),l=r(46222),o=r(91824),d=r(28349),c=r(76356),u=r(90248),p=r(52466);r(23631);var h=r(21559);r(6644);var x=r(90117);function m(){return(0,s.jsxs)(l.Zp,{children:[(0,s.jsx)(l.Zp.Header,{titleId:"player.info.attributeOverview",actionComponent:(0,s.jsx)(x.A,{attributes:[]})}),(0,s.jsxs)(c.so,{direction:"column",gap:"lg",pt:"md",pb:"lg",px:"sm",children:[(0,s.jsx)(c.az,{maxW:"[360px]",w:"fit",pt:"xl",mb:"sm",mx:"auto",children:(0,s.jsx)(c.az,{mx:{base:"[78px]",lg:"[86px]"},children:(0,s.jsx)(h.A,{})})}),(0,s.jsx)(c.so,{justify:"center",py:"sm",children:(0,s.jsx)(c.az,{w:"[360px]",h:"[36px]",bg:"surface.s2",br:"lg"})}),(0,s.jsx)(c.az,{h:"6xl",bg:"surface.s2",br:"md"}),(0,s.jsxs)(c.so,{align:"center",gap:"sm",px:"sm",children:[(0,s.jsx)(p.G_L,{minW:24,fill:"onSurface.nLv1"}),(0,s.jsx)(d.EY,{textStyle:"assistive.default",color:"neutrals.nLv3",children:(0,s.jsx)(u.A,{id:"click_for_average_values"})})]})]})]})}let g=a()(()=>r.e(94335).then(r.bind(r,94335)),{loadableGenerated:{webpack:()=>[94335]},ssr:!1,loading:()=>(0,s.jsx)(m,{})});function f(e){let{player:t}=e,{pentagons:r,isPentagonDataLoading:i,isError:a}=(0,o.s)(t.id),d=(0,n.hX)(),c=(null==r?void 0:r.playerPentagons.length)&&0!==r.playerPentagons[0].yearShift?null:r;return a||null===c&&!i?null:(0,s.jsxs)(l.Zp,{children:[(d||i)&&(0,s.jsx)(m,{}),!d&&!i&&!!c&&(0,s.jsx)(g,{basePlayer:t,basePentagons:c})]})}},6644:(e,t,r)=>{"use strict";r.d(t,{A:()=>p});var s=r(6029),n=r(36729),i=r(56591);r(14632);var a=r(55729),l=r(41735),o=r(21559),d=r(98366);let c=[100,100,100,100,100],u=(e,t)=>{switch(e){case d.eM.AVG:return{fill:t.colors.surface.s2,stroke:t.colors.sofaSingles.value};case d.eM.BASE:return{fill:t.colors.secondary.highlight,stroke:t.colors.secondary.default};case d.eM.COMPARE:return{fill:t.colors.primary.highlight,stroke:t.colors.primary.default};case d.eM.COMPARE_SELF:return{fill:t.colors.surface.s2,stroke:t.colors.neutral.default};default:return{fill:"transparent",stroke:"transparent"}}};function p(e){let{data:t,onGraphClick:r}=e,p=(0,a.useContext)(l.ThemeContext),[h,x]=(0,a.useState)(),m=(0,a.useRef)(null);return(0,a.useEffect)(()=>{if(h){let e=h.selectAll("polygon").data(t,(e,t)=>t.toString());e.enter().append("polygon").merge(e).transition("Pentagon transition").ease(n.wq).duration(400).attr("points",e=>{let t=e?(0,d.mc)(e).map(e=>e.value):c;return(0,d.cS)((0,d.tO)(t))}).attr("opacity",e=>+(null!==e)).attr("fill",e=>p.getColorFromVar(u(null==e?void 0:e.__type,p).fill)).attr("stroke",e=>p.getColorFromVar(u(null==e?void 0:e.__type,p).stroke))}else{let e=m.current;x((0,i.A)(e).append("g").on("click",r))}},[h,t]),(0,s.jsx)(o.A,{ref:m})}},11996:(e,t,r)=>{"use strict";r.d(t,{A:()=>p});var s=r(4967),n=r(59018),i=r.n(n),a=r(55729),l=r(70344);let o=s.pY,d={},c=async(e,t)=>{let r=new Date().getTime();if(!d[e]||d[e].time{let r=e.map(e=>{var r;return e.skipCheck||!e.route?new Promise(e=>e(!1)):c(e.route,null!=(r=e.deduplicationInterval)?r:t)});return(await Promise.allSettled(r)).map(e=>"fulfilled"===e.status&&e.value)};function p(e){var t;let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],s=arguments.length>2?arguments[2]:void 0,n=Object.keys(e),l=Object.values(e),[d,c]=(0,a.useState)(n.reduce((e,t)=>({...e,[t]:void 0}),{})),p=null==s?void 0:s.refreshInterval,h=null!=(t=null==s?void 0:s.deduplicationInterval)?t:o;return(0,a.useEffect)(()=>{let e=async()=>{let e=await u(l,h),t={};n.forEach((r,s)=>{t[r]=e[s]}),c(e=>{for(let r of i()([...Object.keys(t),...Object.keys(e)]))if(e[r]!==t[r])return t;return e})};if(e(),!p)return;let t=setInterval(e,p);return()=>clearInterval(t)},[...r,p]),d}},13731:(e,t,r)=>{var s=r(53325),n=r(25725),i=Object.prototype.hasOwnProperty;e.exports=n(function(e,t,r){i.call(e,r)?e[r].push(t):s(e,r,[t])})},14348:(e,t,r)=>{"use strict";r.d(t,{z:()=>l});var s=r(21377),n=r(45860),i=r(74664),a=r(94711);function l(e){var t;let{player:r,lastYearSummary:l,hasPentagon:o,transfers:d}=e,c=(0,i.o)(),u=a.l.includes(c),{data:p}=(0,n.Ay)(u?null:s.qvj.nationalTeamStatistics(r.id));if(u)return{isEmpty:!(null==d?void 0:d.length),hasLastYearSummary:!1,showPlayerValue:!1};let h=!!(null==l?void 0:l.length),x=!!(r.team.primaryUniqueTournament&&r.proposedMarketValueRaw);return{isEmpty:!(null==p||null==(t=p.statistics)?void 0:t.length)&&!h&&!x&&!o&&!(null==d?void 0:d.length),hasLastYearSummary:h,showPlayerValue:x}}},15322:(e,t,r)=>{"use strict";r.d(t,{l:()=>B,A:()=>I});var s=r(6029),n=r(53192),i=r(91407),a=r(94400),l=r(91603),o=r(21377),d=r(4967),c=r(28349),u=r(76356),p=r(55729),h=r(947),x=r(90248),m=r(90510),g=r(494),f=r(34431),y=r(73498),j=r(85658),v=r(52466),b=r(28377),_=r(17152),w=r(90438),k=r(15340),S=r(48524),A=r(73559),C=r(36882),T=r(30821),L=r(64006),P=r(72753),R=r(94156),M=r(57719),F=r(83981),E=r(61379);function B(e){let{icon:t,graphic:r,text:n}=e;return(0,s.jsxs)(u.so,{align:"center",gap:"xs",px:"sm",_first:{pl:"0"},_last:{pr:"0"},children:[(0,s.jsx)(s.Fragment,{children:void 0!==t&&(0,s.jsx)(t,{w:16,h:16,fill:"onSurface.nLv3"})}),(0,s.jsx)(s.Fragment,{children:r}),(0,s.jsx)(c.EY,{textStyle:"display.micro",color:"neutrals.nLv3",children:n})]})}function I(e){var t,r,I;let{player:z,lastYearSummary:H}=e,[D,O]=(0,p.useState)(!1),Y=(0,h.A)(),{wasFollowed:U}=(0,A.e)({entity:o.bq7.Players,id:z.id}),W=(0,g.d4)(P.JV),N=z.team.sport.slug,G=z.deceased,q=z.retired,Q=z.dateOfDeathTimestamp?(0,d.pp)(z.dateOfDeathTimestamp).getFullYear():void 0,K=o.USm.includes(z.team.sport.slug),Z=w.mz.includes(N),V=(0,d.KW)(z.dateOfBirthTimestamp),X=(null==H?void 0:H.length)?(0,E.AG)(H.filter(e=>e.type===o.XFZ.Event).map(e=>e.value)):void 0,$=N===o.QCR.Cricket;return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(b.Fs,{image:(0,s.jsx)(i.t,{id:z.id,name:z.slug,size:112,grayscale:z.deceased}),name:(0,s.jsxs)(u.so,{gap:"lg",align:"center",children:[(0,s.jsx)(R.c,{entity:z}),"number"==typeof X&&(0,s.jsxs)(u.so,{align:"center",children:[(0,s.jsx)(a.A,{rating:X,format:"sideBox"}),(0,s.jsx)(_.D,{type:_.D.type.AverageRatingPlayer,rating:X,renderImage:e=>(0,s.jsx)(i.t,{id:z.id,...e}),children:e=>{let{setIsOpen:t}=e;return(0,s.jsx)(c.K0,{variant:"clear",onClick:()=>t(!0),children:(0,s.jsx)(v.G_L,{fill:"onSurface.nLv3",w:"24",h:"24"})})}})]})]}),subtitleItems:z.team&&!z.deceased&&(0,s.jsx)(L.gT,{sport:N,team:z.team,children:(0,s.jsxs)(u.so,{align:"center",gap:"sm",color:"neutrals.nLv1",_hover:{color:z.team?"primary.default":void 0},children:[(0,s.jsx)(l.p,{id:z.team.id,name:z.team.name,national:z.team.national,size:32}),(0,s.jsxs)(u.so,{direction:"column",justify:"center",gap:"2xs",children:[(0,s.jsx)(c.EY,{textStyle:z.contractUntilTimestamp?"body.medium":"display.medium",color:"[inherit]",children:(0,s.jsx)(R.c,{entity:z.team})}),z.contractUntilTimestamp&&(0,s.jsxs)(c.EY,{textStyle:"assistive.default",color:"neutrals.nLv3",lineHeight:1,children:[(0,s.jsx)(x.A,{id:"contract_until"}),": ",(0,s.jsx)(m.XU,{value:1e3*z.contractUntilTimestamp,...d.or.dateWithShortMonth,timeZone:"UTC"})]})]})]})}),actions:[z.managerId&&(0,s.jsx)(L.N_,{routeKey:"manager",params:{id:z.managerId,slug:N},children:(0,s.jsx)(y.u,{label:Y.formatMessage({id:"manager_profile"}),children:(0,s.jsx)(v.AdY,{})})}),Z&&(0,s.jsx)(j.P2,{children:e=>(0,s.jsx)(c.m_,{content:Y.formatMessage({id:"compare_players"}),strategy:"hover",disabled:e,children:(0,s.jsx)(f.O,{type:"player",id:z.id,sport:N,iconOnly:!!z.managerId})})}),K&&!G&&!q&&(0,s.jsx)(j.P2,{children:e=>(0,s.jsx)(c.m_,{content:Y.formatMessage({id:U?"remove_from_favourites":"add_to_favourites"}),strategy:"hover",disabled:e&&!U,children:(0,s.jsx)(k.e,{id:z.id,entity:o.bq7.Players,location:C.y.Header,type:C.b.Player,isNewButton:!0})})}),V>=16&&(0,s.jsx)(j.P2,{children:e=>(0,s.jsx)(c.m_,{content:Y.formatMessage({id:"embed_on_website"}),strategy:"hover",disabled:e,children:(0,s.jsx)(y.u,{label:Y.formatMessage({id:"embed_widget"}),onClick:()=>O(!0),children:(0,s.jsx)(v.Q4p,{style:{width:24,height:24}})})})})],footer:(0,s.jsxs)(s.Fragment,{children:[void 0!==z.country.alpha2&&(0,s.jsx)(B,{graphic:(0,s.jsx)(n.w,{alpha2:z.country.alpha2,name:z.country.alpha2,size:16,national:!0}),text:z.country.name}),!!z.dateOfBirthTimestamp&&(0,s.jsx)(B,{icon:v.X78,text:(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(m.XU,{value:new Date(1e3*z.dateOfBirthTimestamp),...d.or.dateWithLongMonth,timeZone:"UTC"})," ","(",G?"number"==typeof Q?(0,s.jsx)(x.A,{id:"deceasedYear",values:{year:Q}}):(0,s.jsx)(x.A,{id:"deceased",values:{gender:null!=(I=z.gender)?I:z.team.gender}}):(0,d.KW)(z.dateOfBirthTimestamp),")"]})}),"string"==typeof z.position&&(0,s.jsx)(B,{icon:v.fEU,text:(0,s.jsx)(M.F,{id:z.position,sport:N,gender:z.team.gender})}),$&&"string"==typeof(null==(t=z.cricketPlayerInfo)?void 0:t.batting)&&(0,s.jsx)(B,{icon:v.BM3,text:(0,s.jsx)(x.A,{id:z.cricketPlayerInfo.batting})}),$&&"string"==typeof(null==(r=z.cricketPlayerInfo)?void 0:r.bowling)&&(0,s.jsx)(B,{icon:v.Pvq,text:(0,s.jsx)(x.A,{id:z.cricketPlayerInfo.bowling})}),"number"==typeof z.height&&(0,s.jsx)(B,{icon:v.f6o,text:(0,s.jsx)(T.Z,{value:z.height,fromUnit:"cm"})}),"string"==typeof z.preferredFoot&&(0,s.jsx)(B,{icon:v.SdB,text:(0,s.jsx)(x.A,{id:"foot.".concat(z.preferredFoot.toLowerCase()),defaultMessage:z.preferredFoot})}),"string"==typeof z.jerseyNumber&&(0,s.jsx)(B,{icon:v.kDU,text:(0,s.jsx)(x.A,{id:"jersey_number",values:{jerseyNumber:z.jerseyNumber}})})]})}),K&&!G&&!q&&(0,s.jsxs)(S.K,{id:z.id,name:z.name,entity:o.bq7.Players,type:C.b.Player,children:[(0,s.jsx)(i.t,{size:32,mr:"sm",style:{verticalAlign:"top"},id:z.id,name:z.slug,grayscale:z.deceased}),(0,s.jsx)(c.EY,{textStyle:"display.medium",color:"primary.default",mr:"sm",children:(0,s.jsx)(R.c,{entity:z})})]}),(0,s.jsx)(F.Ay,{player:z,locale:W,isEmbedModalVisible:D,setIsEmbedModalVisible:O})]})}},15538:(e,t,r)=>{"use strict";r.d(t,{J:()=>s});var s=function(e){return e[e.SpecificRatingPlayer=0]="SpecificRatingPlayer",e[e.AverageRatingTeam=1]="AverageRatingTeam",e[e.AverageRating=2]="AverageRating",e[e.AverageRatingTeamLineups=3]="AverageRatingTeamLineups",e[e.AverageRatingPlayer=4]="AverageRatingPlayer",e}({})},17152:(e,t,r)=>{"use strict";r.d(t,{D:()=>C});var s=r(6029),n=r(87827),i=r(21377),a=r(28349),l=r(62042),o=r(76356),d=r(55729),c=r(947),u=r(90248),p=r(52466),h=r(82536),x=r(31830),m=r(18970),g=r(15538),f=r(19991),y=r(99064),j=r(28446),v=r(41735);let b=(0,v.default)(y.az).withConfig({componentId:"sc-12120f08-0"})(["animation:"," 660ms ease-in-out 1;animation-delay:330ms;animation-fill-mode:forwards;"],e=>{let t;return t=e.ratingPosition,(0,v.keyframes)(["from{left:0;}to{left:",";}"],t)}),_=["3.0","6.0","6.5","7.0","8.0","9.0"],w=(0,j.A)().domain([3,6,6.5,7,8,9,10]).range([0,16.66666,33.33333,50,66.66666,83.33333,100]);function k(e){let{rating:t,format:r}=e;return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)(y.so,{id:"#container",position:"relative",mx:"sm",mb:"xs",children:[_.map((e,t)=>(0,s.jsx)(y.az,{flex:"1 1 1px",br:0===t?"xs 0 0 xs":5===t?"0 xs xs 0":void 0,bg:(0,f.Et)(e),h:"16"},e)),t&&(0,s.jsx)(b,{position:"absolute",top:"-2",ratingPosition:w(+t)+"%",w:"2",h:"20",bg:"neutral.variant"})]}),(0,s.jsx)(y.so,{justify:"space-between",children:[..._,"10"].map(e=>(0,s.jsxs)(y.EY,{color:(0,f.Et)(e),font:"tab.secondary",children:[e,"sideBox"===r&&"10"!==e?"0":""]},e))})]})}var S=r(96688);let A=(0,l.AH)({"& > div > div":{zoom:2.5},"& span":{zoom:2.5}});function C(e){let{type:t,rating:r=10,renderImage:l,children:f}=e,y=(0,c.A)(),[j,v]=(0,d.useState)(!1),{isDesktop:b}=(0,a.$c)(),_=(0,d.useContext)(m.Ws)===i.QCR.Football,w=(0,x.A)(),C=(0,S.y)(w),T="",L="box",P="sofascore_rating",R="";switch(t){case g.J.SpecificRatingPlayer:T="rating_general_text",R=[y.formatMessage({id:"rating_top_stats_general"}),y.formatMessage({id:"rating_top_stats_specific"})].join(" ");break;case g.J.AverageRatingTeam:T="average_team_rating_text",L="sideBox",R=[y.formatMessage({id:"rating_top_teams_general"}),y.formatMessage({id:"rating_top_teams_specific"})].join(" ");break;case g.J.AverageRating:T="average_team_rating_match",L="sideBox",P="average_sofascore_rating";break;case g.J.AverageRatingTeamLineups:T="average_team_rating_text",L="sideBox";break;case g.J.AverageRatingPlayer:T="average_player_rating_text",L="sideBox"}return(0,s.jsxs)(s.Fragment,{children:["function"==typeof f?(0,s.jsx)(s.Fragment,{children:f({isOpen:j,setIsOpen:v})}):null!=f?f:(0,s.jsx)(a.m_,{content:R,strategy:""!==R&&b?"hover":"controlled",isVisible:!1,children:(0,s.jsx)(a.K0,{mx:"xs",variant:"clear",onClick:()=>{v(!0)},children:(0,s.jsx)(p.G_L,{fill:"onSurface.nLv1"})})}),(0,s.jsxs)(h.A,{header:(0,s.jsx)(a.H3,{p:"lg",textStyle:"display.large",children:(0,s.jsx)(u.A,{id:P})}),isOpen:j,setIsOpen:v,footer:(0,s.jsx)(o.so,{justify:"flex-end",m:_?"[0 {spacing.lg} {spacing.lg} {spacing.lg}]":{base:"lg",mdDown:"[0 {spacing.lg} {spacing.lg} {spacing.lg}]"},children:(0,s.jsx)(a.$n,{w:{base:"auto",mdDown:"100%"},onClick:()=>{v(!1)},variant:b?"clear":void 0,children:(0,s.jsx)(u.A,{id:"ok_got_it_button"})})}),children:[(0,s.jsxs)(o.az,{maxW:{md:"[320px]"},px:"lg",mb:_?void 0:{mdDown:"2xl"},children:[T&&(0,s.jsx)(u.A,{id:T,values:{break:e=>(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("br",{}),(0,s.jsx)("br",{})]})}}),(0,s.jsxs)(o.so,{justify:"center",align:"center",pt:"4xl",pb:"xl",children:[(0,s.jsx)(o.az,{className:"sideBox"===L?A:void 0,children:(0,s.jsx)(n.G,{size:"xl",rating:r,format:L})}),null==l?void 0:l({size:40,ml:"lg"})]}),(0,s.jsx)(k,{rating:r,format:L})]}),_&&(0,s.jsx)(o.az,{px:"lg",py:"4xl",pb:"2xl",children:(0,s.jsxs)(a.Mz,{display:"block",color:"primary.default",textStyle:"display.small",href:C,target:"_blank",onClick:()=>{v(!1)},children:[(0,s.jsx)(u.A,{id:"rating_learn_more_button"}),(0,s.jsx)(p.CCT,{ml:"xs",w:"16",h:"16",fill:"primary.default"})]})})]})]})}C.type=g.J},20648:(e,t,r)=>{var s=r(57760),n=0/0;e.exports=function(e,t){var r=null==e?0:e.length;return r?s(e,t)/r:n}},20991:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var s=r(6029),n=r(21377),i=r(45860),a=r(46222),l=r(96983);function o(e){let{id:t}=e,{data:r}=(0,i.Ay)(n.dVR.highlights(t));return r&&r.highlights.length?(0,s.jsx)(a.WC,{variant:"inverse-desktop",children:(0,s.jsx)(a.BU,{children:(0,s.jsx)(l.$,{highlights:r.highlights,hideTitle:!0})})}):null}},21559:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var s=r(6029),n=r(55729),i=r(41735);let a=(0,n.forwardRef)((e,t)=>{let{children:r,...a}=e,{colors:l}=(0,n.useContext)(i.ThemeContext);return(0,s.jsxs)("svg",{height:a.height||"100%",width:a.width||"100%",viewBox:"0 0 200 200",strokeWidth:"2",...a,ref:t,children:[(0,s.jsx)("polygon",{fill:a.fill||l.surface.s2,points:"100,0 195.10565162951534,69.09830056250526 158.77852522924732, 180.90169943749473 41.2214747707527,180.90169943749476 4.894348370484636,69.09830056250527"}),r]})})},21704:(e,t,r)=>{"use strict";r.d(t,{Ay:()=>y,Sj:()=>f,ld:()=>g});var s=r(6029),n=r(33144),i=r(21377),a=r(4967),l=r(28349),o=r(76356),d=r(90248),c=r(90510),u=r(45860),p=r(46222),h=r(64006),x=r(88505);function m(e){let{id:t,children:r}=e;return(0,s.jsxs)(o.so,{direction:"column",align:"center",children:[(0,s.jsx)(l.EY,{textStyle:"assistive.micro",textTransform:"uppercase",color:"neutrals.nLv3",children:(0,s.jsx)(d.A,{id:t})}),(0,s.jsx)(l.EY,{textStyle:"display.medium",children:r})]})}function g(e){var t;let{data:r}=(0,u.Ay)(i.qvj.nationalTeamStatistics(e.playerId));if(null==r||null==(t=r.statistics)?void 0:t.length)return{statistics:r.statistics}}function f(e){let{statistics:t}=e;return(0,s.jsxs)(p.Zp,{children:[(0,s.jsx)(p.Zp.Header,{titleId:"national_team"}),t.map(e=>{let{team:t,appearances:r,goals:u,debutTimestamp:p}=e;return(0,s.jsxs)(o.BJ,{gap:"lg",px:"lg",py:"sm",children:[(0,s.jsx)(h.gT,{team:t,sport:t.sport.slug,children:(0,s.jsxs)(o.so,{align:"center",gap:"lg",children:[(0,s.jsx)(n.p,{national:!0,size:40,id:t.id}),(0,s.jsxs)(o.BJ,{gap:"0",children:[(0,s.jsx)(l.EY,{textStyle:"display.medium",children:(0,s.jsx)(x.Rm,{team:t,showFemaleSuffix:t.gender===i.YT8.Female})}),(0,s.jsx)(l.EY,{textStyle:"assistive.default",color:"neutrals.nLv3",children:(0,s.jsx)(d.A,{id:"national_team"})})]})]})}),(0,s.jsxs)(o.so,{align:"center",justify:"space-between",children:[(0,s.jsx)(m,{id:"national_team_debut",children:(0,s.jsx)(c.XU,{value:new Date(1e3*p),timeZone:"UTC",...a.or.dateWithShortMonth})}),(0,s.jsx)(m,{id:"match_appearances",children:r}),(0,s.jsx)(m,{id:"goals",children:u})]})]},"".concat(t.id,"-").concat(p))}),(0,s.jsx)(p.Zp.Footer,{defaultHeight:"sm"})]})}function y(e){let t=g(e);return t?(0,s.jsx)(f,{...t}):null}},22275:(e,t,r)=>{"use strict";r.d(t,{n:()=>o});var s=r(6029),n=r(21501),i=r(76356),a=r(55729),l=r(33140);function o(e){let t=1===a.Children.count(e.children),r=(0,n.hX)()&&e.openOnServer,[o,d]=(0,a.useState)(r||!1);return(0,s.jsxs)(i.az,{children:[(0,s.jsx)(i.az,{children:e.children[0]}),(0,s.jsx)(i.az,{display:o?"initial":"none",children:e.children.slice(1)}),!t&&(0,s.jsx)(l.d,{isOpen:o,onClick:()=>d(e=>!e)})]})}},22932:(e,t,r)=>{"use strict";r.d(t,{_:()=>o});var s=r(21377),n=r(85339),i=r(95084),a=r(46340),l=r(78003);let o=(e,t)=>!!(0,l.v)(t)&&((e,t)=>{switch(e.location){case i.XN.PlayerScreen:return((e,t)=>{var r;return t.id===a.v.Courtside1891&&e.team.sport.slug===s.QCR.Basketball&&(null==(r=e.country)?void 0:r.alpha2)&&n.bx.includes(e.country.alpha2)})(e.entity,t);case i.XN.LeagueScreen:return((e,t)=>{switch(t.id){case a.v.Courtside1891:return e.id===n.MS;case a.v.UclFantasy:return e.id===s.G6l.UEFAChampionsLeague;default:return!1}})(e.entity,t);case i.XN.EventScreen:return((e,t)=>{var r;return t.id===a.v.Courtside1891&&(null==(r=e.tournament.uniqueTournament)?void 0:r.id)===n.MS})(e.entity,t);case i.XN.TeamScreen:return((e,t)=>{var r;return t.id===a.v.Courtside1891&&e.sport.slug===s.QCR.Basketball&&(null==(r=e.country)?void 0:r.alpha2)&&n.bx.includes(e.country.alpha2)})(e.entity,t);default:return!1}})(e,t)},23631:(e,t,r)=>{"use strict";r.d(t,{A:()=>p});var s=r(6029),n=r(28349),i=r(76356),a=r(93338),l=r(99064),o=r(41735),d=r(98366);let c=(0,o.default)(l.az).withConfig({componentId:"sc-c4ed9fbb-0"})([".attacking,.saves{top:0;left:48px;transform:translate(10px,-100%);padding-bottom:",";}.creativity,.aerial{top:34%;left:0;transform:translate(-100%,-50%);}.runsOut,.technical,.anticipation,.runs-out{top:34.5%;right:0;transform:translate(100%,-50%);}.defending,.ballDistribution,.ball.distribution{bottom:-8px;right:80%;transform:translate(10px,0);}.tactical{bottom:-8px;left:80%;transform:translate(-10px,0);}.runsOut,.technical,.anticipation,.runs-out,.tactical{flex-direction:"," !important;> *{margin-left:0;&:first-child{margin-right:0;}}}.defending,.ballDistribution,.ball.distribution{@media screen and (max-width:335px){transform:translate(10px,3px);}}.tactical{@media screen and (max-width:335px){transform:translate(-10px,3px);}}"],e=>e.theme.spacing.xs,e=>e.isRTL?"row":"row-reverse"),u=e=>{let{value:t,isAnotherPlayerCompare:r,main:l,isComparing:o}=e;return(0,s.jsx)(i.az,{w:"[20px]",h:"[20px]",br:"xs",style:{background:r?a.S.var("colors.surface.s2"):o?l?a.S.var("colors.secondary.default"):a.S.var("colors.neutral.default"):a.S.var((0,d.W6)(t))},children:(0,s.jsx)(n.EY,{lineHeight:"20px",textStyle:"table.small",color:r?l?"secondary.default":"primary.default":"surface.s1",display:"block",textAlign:"center",children:t})})},p=function(e){let{data:t,isAnotherPlayerCompare:r,children:a}=e,[l,p]=t,{settings:h}=(0,o.useTheme)(),x="rtl"===h.textDirection;return l?(0,s.jsx)(i.az,{maxW:"[360px]",w:"fit",style:{paddingTop:28},mx:"auto",mb:"sm",children:(0,s.jsxs)(c,{position:"relative",style:{margin:"0 ".concat(86,"px")},isRTL:x,children:[a,l.map((e,t)=>(0,s.jsxs)(i.so,{direction:{_ltr:"row",_rtl:"row-reverse"},position:"absolute",className:e.name,gap:"xs",children:[(0,s.jsx)(n.EY,{lineHeight:"".concat(20,"px"),textStyle:"assistive.default",color:"neutrals.nLv3",textTransform:"uppercase",children:d.HU[e.name]}),(0,s.jsxs)(i.so,{gap:"xs",children:[(0,s.jsx)(u,{isAnotherPlayerCompare:r,value:e.value,isComparing:!!(p&&p[t]),main:!0}),p&&p[t]&&(0,s.jsx)(u,{isAnotherPlayerCompare:r,value:p[t].value,isComparing:!0})]})]},e.name))]})}):null}},23963:(e,t,r)=>{"use strict";r.d(t,{n:()=>a});var s=r(6029),n=r(76356),i=r(46222);function a(){return(0,s.jsxs)(i.Zp,{children:[(0,s.jsx)(i.Zp.Header,{titleId:"media"}),(0,s.jsx)(n.az,{h:"[800px]"})]})}},25725:(e,t,r)=>{var s=r(81648),n=r(78492),i=r(68988),a=r(91544);e.exports=function(e,t){return function(r,l){var o=a(r)?s:n,d=t?t():{};return o(r,e,i(l,2),d)}}},26194:(e,t,r)=>{var s=r(83965),n=r(37390),i=r(45895),a=r(48877);e.exports=i(function(e,t){if(null==e)return[];var r=t.length;return r>1&&a(e,t[0],t[1])?t=[]:r>2&&a(t[0],t[1],t[2])&&(t=[t[0]]),n(e,s(t,1),[])})},30821:(e,t,r)=>{"use strict";r.d(t,{Z:()=>d,i:()=>l.i});var s=r(6029),n=r(90510),i=r(494),a=r(77264),l=r(13988),o=r(63752);function d(e){let{value:t,fromUnit:r}=e,d=(0,i.d4)(o.Y);if(!t)return null;if((0,a.C)(t,r).to("m")>=1e3)return(0,s.jsx)(c,{value:t,fromUnit:r});if(d===l.i.Imperial){let e=function(e,t){let r=(0,a.C)(e,t).to("feet"),s=Math.floor(r),n=Math.round((0,a.C)(r-Math.floor(r),"ft").to("in"));return 12===n&&(s+=1,n=0),{ft:s,in:n}}(t,r);return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(n.Gr,{value:e.ft,style:"unit",unit:"foot",unitDisplay:"narrow"}),"\xa0",(0,s.jsx)(n.Gr,{value:e.in,style:"unit",unit:"inch",unitDisplay:"narrow"})]})}return(0,s.jsx)(n.Gr,{value:(0,a.C)(t,r).to("cm"),style:"unit",unit:"centimeter",unitDisplay:"short"})}function c(e){let{value:t,fromUnit:r}=e,d=(0,i.d4)(o.Y);return t?d===l.i.Imperial?(0,s.jsx)(n.Gr,{value:(0,a.C)(t,r).to("mile"),style:"unit",unit:"mile",maximumFractionDigits:1,unitDisplay:"short"}):(0,s.jsx)(n.Gr,{value:(0,a.C)(t,r).to("km"),style:"unit",unit:"kilometer",maximumFractionDigits:1,unitDisplay:"short"}):null}},32035:(e,t,r)=>{"use strict";r.r(t),r.d(t,{UniqueTournamentMedia:()=>l,default:()=>o});var s=r(6029),n=r(21377),i=r(45860),a=r(96983);function l(e){let{uniqueTournamentId:t,hideTitle:r}=e,{data:l}=(0,i.Ay)(n.V3t.media(t));return l&&l.media.length?(0,s.jsx)(a.$,{highlights:l.media,hideTitle:r}):null}let o=l},33140:(e,t,r)=>{"use strict";r.d(t,{d:()=>o});var s=r(6029),n=r(28349),i=r(76356),a=r(90248),l=r(52466);let o=e=>{let{isOpen:t,onClick:r}=e;return(0,s.jsx)(i.so,{align:"center",justify:"center",p:"lg",children:(0,s.jsx)(i.I4.button,{onClick:r,padding:"0",cursor:"pointer",children:(0,s.jsxs)(i.so,{align:"center",children:[(0,s.jsx)(n.EY,{textStyle:"display.small",color:"primary.default",children:(0,s.jsx)(a.A,{id:t?"show_less":"show_more"})}),t?(0,s.jsx)(l.t8v,{fill:"primary.default",ml:"xs"}):(0,s.jsx)(l.QtO,{fill:"primary.default",ml:"xs"})]})})})}},34431:(e,t,r)=>{"use strict";r.d(t,{O:()=>p});var s=r(6029),n=r(21377),i=r(28349),a=r(947),l=r(90248),o=r(94008),d=r(67020),c=r(73498),u=r(52466);let p=e=>{let{id:t,type:r,sport:p,secondId:h}=e,{formatMessage:x}=(0,a.A)(),{isMobile:m}=(0,i.$c)(),g="player"===r||p===n.QCR.Tennis?u.cSg:u.l3$;return(0,s.jsx)(o.A,{routeKey:"comparison",query:(0,d.k9)(h?[t,h]:[t]),params:{sport:p,entityType:r},"aria-label":x({id:"compare"}),children:m?(0,s.jsxs)(i.$n,{size:"tertiary",children:[(0,s.jsx)(g,{}),(0,s.jsx)(l.A,{id:"compare"})]}):(0,s.jsx)(c.u,{label:x({id:"compare"}),children:(0,s.jsx)(g,{})})})}},40163:(e,t,r)=>{"use strict";r.d(t,{A:()=>c,y:()=>d});var s=r(6029),n=r(76356),i=r(55729),a=r(46222),l=r(4917),o=r(94156);let d=(0,n.I4)("div",{base:{"& span":{color:"neutrals.nLv1 !important"},"& ins, & a":{color:"primary.default",textDecoration:"none",_hover:{opacity:.7}},"& h2, & h3, & h4":{textStyle:"display.medium"},"& p, & li ":{textStyle:"body.mediumParagraph"}}}),c=function(e){let{player:t}=e,{seoContent:r}=(0,i.useContext)(l.xV);return!t.deceased&&(null==r?void 0:r.about)?(0,s.jsxs)(a.Zp,{children:[(0,s.jsx)(a.Zp.Header,{title:(0,s.jsx)(o.c,{entity:t}),as:"h3"}),(0,s.jsx)(n.az,{px:"lg",pb:"lg",children:(0,s.jsx)(d,{dangerouslySetInnerHTML:{__html:r.about}})})]}):null}},41090:(e,t,r)=>{"use strict";r.d(t,{o:()=>l});var s=r(6029),n=r(90248);let i=JSON.parse('{"out":"injury_status_out","dayToDay":"injury_day_to_day","outForSeason":"injury_season","outIndefinitely":"injury_indefinitely","unknown":"injury_unknown","injuredReserve":"injury_reserve","Undisclosed":"injury_undisclosed","Abdominal":"injury_abdominal","Knee":"injury_knee","Leg":"injury_leg","Blood Clotting":"injury_blood_clotting","Lower Body":"injury_lower_body","Lower-Body":"injury_lower_body","Foot":"injury_foot","Illness":"injury_illness","Neck":"injury_neck","Wrist":"injury_wrist","Concussion":"injury_concussion","Personal":"injury_personal","Pectoral Muscle":"injury_pectoral_muscle","Shoulder":"injury_shoulder","Shouler":"injury_shoulder","Clavicle Fracture":"injury_clavicle_fracture","Back":"injury_back","Achilles":"injury_achilles","Concussion Protocol":"injury_concussion_protocol","Hand":"injury_hand","Groin":"injury_groin","Pectoral":"injury_pectoral","Jaw":"injury_jaw","Head":"injury_head","Upper body":"injury_upper_body","Upper-Body":"injury_upper_body","Upper Body":"injury_upper_body","Hip":"injury_hip","Ankle":"injury_ankle","Mid-Body":"injury_mid_body","Finger":"injury_finger","Nose":"injury_nose"}');var a=r(91113);let l=e=>{let{id:t}=e;return(0,s.jsx)(n.A,{id:(0,a.O)(i,t)})}},48524:(e,t,r)=>{"use strict";r.d(t,{K:()=>v});var s=r(6029),n=r(28349),i=r(76356),a=r(9127),l=r(90112),o=r(12364),d=r.n(o),c=r(55729),u=r(90248),p=r(494),h=r(87919),x=r(52466),m=r(36882),g=r(15341),f=r(35152),y=r(15340);let j=(0,a.m)(i.az);function v(e){let{id:t,name:r,entity:a,children:o,threshold:v=144,type:b}=e,[_,w]=(0,c.useState)(0),[k,S]=(0,g.A)("sticky_follow_header_closed_".concat(a),!1),A=(0,f.Pz)(a),C=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1e3,[r,s]=(0,c.useState)(e);return(0,c.useEffect)(()=>{let r=setTimeout(()=>{s(e)},t);return()=>clearTimeout(r)},[e]),r}((0,p.d4)(e=>e.favorites.lists[A[0]].includes(t)||2===A.length&&e.favorites.lists[A[1]].includes(t)));return(0,c.useEffect)(()=>{if(k)return;let e=d()(()=>{window.requestAnimationFrame(()=>{w(window.scrollY)})},300);return window.addEventListener("scroll",e),()=>window.removeEventListener("scroll",e)},[_,k]),(0,s.jsx)(l.N,{children:_>v&&!C&&(0,s.jsx)(j,{position:"fixed",left:"0",right:"0",mt:"0 !important",h:"[168px]",bg:"surface.sp",textAlign:"center",initial:{top:-160,opacity:0},animate:{top:0,opacity:1},exit:{top:-160,opacity:0},transition:{type:"spring",bounce:.3,restDelta:.5},zIndex:"subheader",elevation:"3",children:(0,s.jsx)(i.az,{position:"absolute",bottom:"0",left:"0",right:"0",children:(0,s.jsx)(h.m,{h:"5xl",py:"sm",children:(0,s.jsxs)(i.so,{h:"[40px]",children:[(0,s.jsx)(i.so,{onClick:()=>{window.scrollTo({top:0,behavior:"smooth"})},justify:"flex-end",align:"center",flex:"[1 1 50%]",children:(0,s.jsxs)(i.so,{backgroundColor:"surface.s2",align:"center",px:"sm",py:"xs",br:"lg",cursor:"pointer",children:[o,(0,s.jsx)(y.e,{id:t,entity:a,type:b,location:m.y.FloatingHeader})]})}),(0,s.jsx)(i.so,{align:"center",flex:"[1 1 50%]",children:(0,s.jsx)(n.EY,{textStyle:"assistive.default",ml:"lg",children:(0,s.jsx)(u.A,{id:"add_to_favorites_text",values:{name:r}})})}),(0,s.jsx)(i.so,{align:"center",children:(0,s.jsx)(n.$n,{variant:"clear",p:"0",onClick:()=>{S(!0),w(0)},children:(0,s.jsx)(x.zQC,{icon:"close"})})})]})})})})})}},50284:(e,t,r)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/player",function(){return r(98145)}])},53554:(e,t,r)=>{"use strict";r.d(t,{T:()=>i,n:()=>n});var s=r(21377);function n(e){return e.fullName?e.fullName.split(",").reverse().map(e=>e.trim()).join(" "):e.name}function i(e,t){return e.slug===s.QCR.Football?t.players.length>10:t.players.length>4}},53684:(e,t,r)=>{"use strict";r.d(t,{G:()=>s.A,e:()=>n.e});var s=r(94400),n=r(33480)},54075:(e,t,r)=>{"use strict";r.d(t,{M:()=>s.MR});var s=r(19991)},57719:(e,t,r)=>{"use strict";r.d(t,{F:()=>c});var s=r(6029),n=r(21377),i=r(55729),a=r(90248),l=r(18970);let o=JSON.parse('{"football":{"Dlong":"football_defender","DLlong":"football_left_defender","DClong":"football_centre_defender","DRlong":"football_right_defender","DMlong":"football_defensive_midfielder","Mlong":"football_midfielder","MLlong":"football_left_midfielder","MRlong":"football_right_midfielder","MClong":"football_centre_midfielder","AMlong":"football_attacking_midfielder","Flong":"football_forward","LWlong":"football_left_winger","RWlong":"football_right_winger","STlong":"football_striker","Glong":"goalkeeper","GKlong":"goalkeeper","Dshort":"position.defender.short","DLshort":"position.defenderLeft.short","DCshort":"position.defenderCenter.short","DRshort":"position.defenderRight.short","DMshort":"position.defensiveMidfielder","Mshort":"position.midfielder.short","MLshort":"position.midfielderLeft.short","MRshort":"position.midfielderRight.short","MCshort":"position.midfielderCenter.short","AMshort":"position.attackingMidfielder.short","Fshort":"position.forward.short","LWshort":"position.leftWinger.short","RWshort":"position.rightWinger.short","STshort":"position.striker.short","Gshort":"position.goalkeeper.short","GfantasyShort":"position.goalkeeper.fantasyShort","DfantasyShort":"position.defender.fantasyShort","MfantasyShort":"position.midfielder.fantasyShort","FfantasyShort":"position.forward.fantasyShort"},"basketball":{"Clong":"basketball.center","CFlong":"centerForward","Flong":"basketball.forward","FClong":"forwardCenter","FGlong":"forwardGuard","Glong":"guard","GFlong":"guardForward","Cshort":"position.basketball.center.short","CFshort":"position.centerForward.short","Fshort":"position.basketball.forward.short","FCshort":"position.forwardCenter.short","FGshort":"position.forwardGuard.short","Gshort":"position.guard.short","GFshort":"position.guardForward.short"},"ice-hockey":{"Dlong":"defenseman","Glong":"goalie","Clong":"hockey.center","Llong":"leftWing","Rlong":"rightWing","Flong":"football_forward","Dshort":"position.defenseman.short","Gshort":"position.goalie.short","Cshort":"position.hockey.short.center","Lshort":"position.leftWing.short","Rshort":"position.rightWing.short","Fshort":"position.forward.short"},"baseball":{"Plong":"pitcher","Clong":"catcher","1Blong":"1stBase","2Blong":"2ndBase","3Blong":"3rdBase","SSlong":"shortstop","LFlong":"leftField","CFlong":"centerField","RFlong":"rightField","DHlong":"designatedHitter","SPlong":"startingPitcher","CPlong":"closer","PHlong":"pinchHitter","PRlong":"pinchRunner","BRlong":"baseRunner","OFlong":"outfield","IFlong":"infield","RPlong":"reliefPitcher","UTlong":"util","UIlong":"utilInfielder","UOlong":"utilOutfielder","RHPlong":"rhPitcher","LHPlong":"lhPitcher","RHSlong":"rhStarted","LHSlong":"lhStarter","LHRlong":"lhReliever","RHRlong":"rhReliever","Blong":"batter","Pshort":"position.pitcher.short","Cshort":"position.catcher.short","1Bshort":"position.1stBase.short","2Bshort":"position.2ndBase.short","3Bshort":"position.3rdBase.short","SSshort":"position.shortstop.short","LFshort":"position.leftField.short","CFshort":"position.centerField.short","RFshort":"position.rightField.short","DHshort":"position.designatedHitter.short","SPshort":"position.startingPitcher.short","CPshort":"position.closer.short","PHshort":"position.pinchHitter.short","PRshort":"position.pinchRunner.short","BRshort":"position.baseRunner.short","OFshort":"position.outfield.short","IFshort":"position.infield.short","RPshort":"position.reliefPitcher.short","UTshort":"position.util.short","UIshort":"position.utilInfielder.short","UOshort":"position.utilOutfielder.short","RHPshort":"position.rhPitcher.short","LHPshort":"position.lhPitcher.short","RHSshort":"position.rhStarted.short","LHSshort":"position.lhStarter.short","LHRshort":"position.lhReliever.short","RHRshort":"position.rhReliever.short","Bshort":"position.batter.short"},"american-football":{"Plong":"punter","PRlong":"puntReturner","LSlong":"longSnapper","Klong":"kicker","Tlong":"tackle","OTlong":"offensiveTackle","OLlong":"offensiveLineman","OGlong":"offensiveGuard","Glong":"amf.guard","Clong":"amf.center","QBlong":"quarterback","RBlong":"runningBack","FBlong":"fullback","TElong":"tightEnd","WRlong":"wideReceiver","SSlong":"strongSafety","SAFlong":"safety","FSlong":"freeSafety","DLlong":"defensiveLineman","DBlong":"defensiveBack","CBlong":"cornerBack","NTlong":"noseTackle","DTlong":"defensiveTackle","DElong":"defensiveEnd","OLBlong":"outsideLinebacker","MLBlong":"middleLinebacker","LBlong":"linebacker","ILBlong":"insideLinebacker","Pshort":"position.punter.short","PRshort":"position.puntReturner.short","LSshort":"position.longSnapper.short","Kshort":"position.kicker.short","Tshort":"position.tackle.short","OTshort":"position.offensiveTackle.short","OLshort":"position.offensiveLineman.short","OGshort":"position.offensiveGuard.short","Gshort":"position.amf.guard.short","Cshort":"position.amf.center.short","QBshort":"position.quarterback.short","RBshort":"position.runningBack.short","FBshort":"position.fullback.short","TEshort":"position.tightEnd.short","WRshort":"position.wideReceiver.short","SSshort":"position.strongSafety.short","SAFshort":"position.safety.short","FSshort":"position.freeSafety.short","DLshort":"position.defensiveLineman.short","DBshort":"position.defensiveBack.short","CBshort":"position.cornerBack.short","NTshort":"position.noseTackle.short","DTshort":"position.defensiveTackle.short","DEshort":"position.defensiveEnd.short","OLBshort":"position.outsideLinebacker.short","MLBshort":"position.middleLinebacker.short","LBshort":"position.linebacker.short","ILBshort":"position.insideLinebacker.short"},"handball":{"Glong":"goalkeeper","Gshort":"position.goalkeeper.short","RWlong":"rightWing","RWshort":"position.rightWinger.short","LWlong":"leftWing","LWshort":"position.leftWinger.short","RBlong":"rightBack","RBshort":"position.rightBack.short","LBlong":"leftBack","LBshort":"position.leftBack.short","CBlong":"handball_position_centre_back","CBshort":"position.centralBack.short","Plong":"pivot","Pshort":"position.pivot.short"},"cricket":{"BMlong":"position.batter","ARlong":"position.all.rounder","WKlong":"position.wicket.keeper","Blong":"position.bowler","BMshort":"position.batter","ARshort":"position.all.rounder","WKshort":"position.wicket.keeper","Bshort":"position.bowler"},"minifootball":{"Glong":"goalkeeper","Gshort":"position.goalkeeper.short","OFshort":"minifootball_outfield_player_short","OFlong":"minifootball_outfield_player","Fshort":"minifootball_outfield_player_short","Flong":"minifootball_outfield_player"},"volleyball":{"OHshort":"volleyball_player_position_outside_hitter_short","MBshort":"volleyball_player_position_middle_blocker_short","Lshort":"volleyball_player_position_libero_short","Oshort":"volleyball_player_position_opposite_short","Sshort":"volleyball_player_position_setter_short","OHlong":"volleyball_player_position_outside_hitter","MBlong":"volleyball_player_position_middle_blocker","Llong":"volleyball_player_position_libero","Olong":"volleyball_player_position_opposite","Slong":"volleyball_player_position_setter"}}');var d=r(91113);let c=e=>{let{id:t,fantasyShort:r,short:c,sport:u,gender:p=n.YT8.Male}=e,h=(0,i.useContext)(l.Ws),x=u||h,m=r&&x===n.QCR.Football?"fantasyShort":c||r?"short":"long",g=(0,d.O)(o,t+m,x,t);return(0,s.jsx)(a.A,{id:g,values:{gender:p}})}},57760:e=>{e.exports=function(e,t){for(var r,s=-1,n=e.length;++s{"use strict";r.d(t,{_:()=>d});var s=r(6029),n=r(21377),i=r(947),a=r(14617),l=r(85339),o=r(22932);let d=e=>{let{page:t}=e,r=(0,o._)(t,l.d),d=(0,i.A)();return r?(0,s.jsx)(a.Q,{banner:{copy:{action:d.formatMessage({id:"claim_offer"}),description:d.formatMessage({id:"euro_basket_promo_body"}),sectionTitle:d.formatMessage({id:"euro_basket_promo_header"})},type:n.$pL.LogoBanner,background:n.jae.Image,detailImageUrl:{ltr:"/static/images/courtside-1891/logo.png",rtl:"/static/images/courtside-1891/logo.png"},campaignName:l.d.promotionName,url:l.d.url},bgImageUrl:"/static/images/courtside-1891/banner-bg.png",location:t.location}):null}},60080:(e,t,r)=>{"use strict";r.d(t,{dq:()=>s.default,OE:()=>o,mw:()=>c.TeamMedia,in:()=>d});var s=r(64093),n=r(6029),i=r(21377),a=r(45860),l=r(96983);function o(e){let{playerId:t}=e,{data:r}=(0,a.Ay)(i.qvj.media(t));return r?(0,n.jsx)(l.$,{highlights:r.media}):null}function d(e){let{tournamentId:t}=e,{data:r}=(0,a.Ay)(i.yKR.media(t));return r&&r.media.length?(0,n.jsx)(l.$,{highlights:r.media}):null}r(20991),r(32035);var c=r(62990)},60408:(e,t,r)=>{"use strict";r.d(t,{A:()=>W});var s=r(6029),n=r(21377),i=r(76356),a=r(95816),l=r.n(a),o=r(46222),d=r(74610),c=r(61379),u=r(54075),p=r(28349),h=r(93338),x=r(97481),m=r.n(x),g=r(55729),f=r(90248),y=r(947),j=r(52466),v=r(28446);let b=(0,v.A)().domain([5,9]).range([0,108]);var _=r(21501),w=r(56591),k=r(41735);let S=k.default.svg.withConfig({componentId:"sc-d652293c-0"})(["position:absolute;top:44px;left:",";height:","px;pointer-events:none;"],e=>e.theme.spacing.sm,()=>108);function A(e){let{injuries:t,transfers:r,yearAvgRating:n,containerId:i,graphId:a}=e,l=(0,g.useContext)(k.ThemeContext);return(0,_.st)(()=>{let e=(0,w.A)("#".concat(i));e.append("defs").attr("id","mainDefs");let s=document.getElementById(a);if(!s)return;let o=s.clientWidth-20;e.style("width","".concat(o,"px")).style("overflow","visible"),"rtl"===l.settings.textDirection&&e.style("transform","scaleX(-1)"),function(e,t,r,s){let{formattedRating:n,ratingColorKey:i}=(0,u.M)(r,"sideBox"),a=b(Number(n)),[l,o]=i.split("."),d=s.colors[l][o],c=e.selectAll("line.avg-line").data([{x1:0,x2:t,y1:a,y2:a}]);c.enter().append("line").merge(c).attr("stroke",d).classed("avg-line",!0).style("stroke-dasharray","3, 4").style("stroke-width",2).attr("y1",e=>108-e.y1).attr("y2",e=>108-e.y2).attr("x1",e=>e.x1).attr("x2",e=>e.x2)}(e,o,n,l),(null==t?void 0:t.length)&&function(e,t,r,s,n){let i=s.colors.error.default,a=(0,v.A)().domain(c.aQ()).range([0,t]).clamp(!0),l=r.map(e=>{let t=a(1e3*e.timestamp),r=a((e.timestamp+Number(e.value))*1e3);return{y:0,x:t<0?0:t,width:t<0?r:r-t,height:108}}),o=(0,w.A)("#".concat(n,"-defs")).selectAll("clipPath").data(l);o.exit().remove(),o.enter().append("clipPath").attr("id",(e,t)=>"round-corner-".concat(t)).append("rect").merge(o).each(function(e){("rect"===this.nodeName?(0,w.A)(this):(0,w.A)(this).selectChild("rect")).attr("width",e.width).attr("height",e.height+2).attr("rx",2).attr("ry",2).attr("x",e.x).attr("y",e.y)});let d=e.selectAll("rect.bar").data(l);d.exit().remove(),d.enter().append("rect").classed("bar",!0).merge(d).attr("y",e=>e.y).attr("x",e=>e.x).attr("width",e=>e.width).attr("height",e=>e.height).attr("fill",i).attr("opacity",.15).attr("clip-path",(e,t)=>"url(#round-corner-".concat(t,")"));let u=e.selectAll("svg.injury").data(l);u.exit().remove(),u.enter().append("svg").attr("width",24).attr("height",24).attr("viewBox","0 0 24 24").merge(u).attr("y",0).attr("x",e=>e.x+e.width/2-12).classed("injury",!0).append("path").attr("d","M15 4.5V9h4.5v6h-4.501L15 19.5H9L8.999 15H4.5V9H9V4.5h6z").attr("fill",i)}(e,o,t,l,a),(null==r?void 0:r.length)&&function(e,t,r,s){let n=s.colors.primary.default,i=(0,v.A)().domain(c.aQ()).range([0,t]),a=e.selectAll("line.transfer-date").data(r),l=e.selectAll("svg.transfer").data(r);a.exit().remove(),l.exit().remove(),a.enter().append("line").merge(a).attr("stroke",n).classed("transfer-date",!0).style("stroke-width",2).attr("y1",22).attr("y2",108).attr("x1",e=>i(1e3*e.timestamp)).attr("x2",e=>i(1e3*e.timestamp)),l.enter().append("svg").attr("width",24).attr("height",24).attr("viewBox","0 0 24 24").merge(l).attr("y",0).attr("x",e=>i(1e3*e.timestamp)-12).classed("transfer",!0).append("path").attr("d","M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 16h-1v-4.5H5v-3h7V6h1l7 6-7 6z").attr("fill",n)}(e,o,r,l)},100,[n]),(0,s.jsx)(S,{id:i})}function C(){return(0,s.jsxs)(i.az,{pb:"[18px]",pt:"2xl",ml:"xs",children:[(0,s.jsxs)(i.so,{align:"end",gap:"2xs",children:[(0,s.jsx)(i.az,{h:"[18px]",w:"[6px]",bg:"rating.s80",borderTopRadius:"2xs"}),(0,s.jsx)(p.EY,{textStyle:"table.small",color:"rating.s80",children:"8"})]}),(0,s.jsxs)(i.so,{align:"end",gap:"2xs",children:[(0,s.jsx)(i.az,{h:"[36px]",w:"[6px]",bg:"rating.s70"}),(0,s.jsx)(p.EY,{textStyle:"table.small",color:"rating.s70",children:"7"})]}),(0,s.jsx)(i.az,{h:"[18px]",w:"[6px]",bg:"rating.s65"}),(0,s.jsxs)(i.so,{align:"end",gap:"2xs",children:[(0,s.jsx)(i.az,{h:"[18px]",w:"[6px]",bg:"rating.s60"}),(0,s.jsx)(p.EY,{textStyle:"table.small",color:"rating.s60",children:"6"})]}),(0,s.jsx)(i.az,{h:"[18px]",w:"[6px]",bg:"rating.s10"})]})}function T(e){let{showInjury:t,showTransfer:r}=e,{isMobile:n}=(0,p.$c)();return(0,s.jsxs)(i.zt,{gap:"2xl",px:"lg",py:"xs",children:[(0,s.jsxs)(p.EY,{lineHeight:"24px",textStyle:"assistive.default",color:"neutrals.nLv3",children:[(0,s.jsx)(j.wjs,{mr:"sm",fill:"secondary.default"}),(0,s.jsx)(f.A,{id:"click_image_to_swap",values:{isMobile:n}})]}),(0,s.jsxs)(i.so,{gap:"2xl",children:[t&&(0,s.jsxs)(i.so,{children:[(0,s.jsxs)(i.az,{position:"relative",w:"xl",h:"xl",mr:"sm",children:[(0,s.jsx)(i.az,{position:"absolute",w:"xl",h:"xl",bg:"status.error.default",style:{opacity:.15},br:"2xs"}),(0,s.jsx)(j.p5Z,{position:"absolute",fill:"error.default",width:24,height:24})]}),(0,s.jsx)(p.EY,{lineHeight:"24px",textStyle:"assistive.default",color:"neutrals.nLv3",children:(0,s.jsx)(f.A,{id:"player_injured"})})]}),r&&(0,s.jsxs)(p.EY,{lineHeight:"24px",textStyle:"assistive.default",color:"neutrals.nLv3",textTransform:"capitalize",children:[(0,s.jsx)(j.G4W,{fill:"primary.default",mr:"sm",width:24,height:24}),(0,s.jsx)(f.A,{id:"player.transferLoan"})]})]})]})}function L(e){let{month:t,avgRating:r,appearances:n,showAppearances:a,showMonth:l}=e,o=(0,y.A)(),[d,x]=t.split("-").map(Number),m=new Date(d,x,0).getTime(),{formattedRating:g,ratingColorKey:f}=(0,u.M)(r),j=h.S.var(c.Et(f)),v=b(Number(g));return(0,s.jsxs)(i.so,{direction:"column",justify:"space-between",px:"xs",grow:"1",children:[(0,s.jsx)(p.EY,{h:"lg",textAlign:"center",textStyle:"assistive.default",color:"neutrals.nLv3",display:"block",mb:"lg",children:l&&o.formatDate(m,{month:"short"}).slice(0,3)}),(0,s.jsx)(i.so,{direction:"column",justify:"flex-end",mb:"xs",style:{height:108},children:(0,s.jsx)(i.az,{borderTopRadius:"2xs",style:{backgroundColor:j,height:"".concat(v,"%")}})}),r&&(!a||n)?a?(0,s.jsx)(p.EY,{textStyle:"table.small",color:"neutrals.nLv3",textAlign:"center",display:"block",children:n}):(0,s.jsx)(p.EY,{textStyle:"table.small",textAlign:"center",lineClamp:1,display:"block",style:{color:j},children:g}):(0,s.jsx)(p.EY,{textStyle:"table.small",color:"neutrals.nLv3",textAlign:"center",display:"block",children:"-"})]})}let P=function(e){var t,r;let[a,l]=(0,g.useState)(!1),o=(0,g.useMemo)(()=>{let t=c.o5(),r=c.mR(e.summary);return m()(t,r)},[e.summary]),d=Object.keys(o).sort(),u=d.map(e=>{let t=o[e];return(null==t?void 0:t.length)?c.AG(t.map(e=>e.value)):0}),h=(0,g.useCallback)(()=>l(e=>!e),[]),x=null==(t=e.summary)?void 0:t.filter(e=>e.type===n.XFZ.Injury),y=null==(r=e.summary)?void 0:r.filter(e=>e.type===n.XFZ.Transfer);return(0,s.jsxs)(i.BJ,{gap:"sm",children:[(0,s.jsxs)(i.az,{id:"LYS-graph-root",cursor:"pointer",onClick:h,children:[(0,s.jsxs)(i.so,{id:e.graphId,py:"md",px:"xs",position:"relative",children:[d.map((e,t)=>{var r;return(0,s.jsx)(i.az,{style:{width:"".concat(100/d.length,"%")},children:(0,s.jsx)(L,{month:e,avgRating:u[t],appearances:(null==(r=o[e])?void 0:r.length)||0,showAppearances:a,showMonth:t%2!=0})},e)}),(0,s.jsx)(C,{}),(0,s.jsx)(A,{injuries:x,transfers:y,yearAvgRating:e.yearAvgRating,containerId:e.containerId,graphId:e.graphId})]}),(0,s.jsx)(p.EY,{textStyle:"assistive.micro",color:"neutrals.nLv3",px:"sm",pb:"lg",children:(0,s.jsx)(f.A,{id:a?"season_rating_graph_description_matches":"season_rating_graph_description_ratings"})})]}),(0,s.jsx)(T,{showInjury:!!(null==x?void 0:x.length),showTransfer:!!(null==y?void 0:y.length)})]})};var R=r(53684),M=r(13731),F=r.n(M),E=r(1139),B=r.n(E),I=r(26194),z=r.n(I),H=r(22275),D=r(79634),O=r(64006),Y=r(82346);function U(e){let{uniqueTournamentsMap:t,summary:r}=e,n=Object.values(t),a=r.filter(e=>e.uniqueTournamentId),l=F()(a,"uniqueTournamentId");n=z()(n,e=>-1*l[e.id].length);let o=Object.keys(t).reduce((e,t)=>{let r=B()(l[t],e=>Number(e.value));return e[t]=r,e},{});return(0,s.jsx)(H.n,{children:n.map((e,t)=>(0,s.jsx)(O.tQ,{tournament:e,children:(0,s.jsxs)(i.so,{px:"lg",cursor:"pointer",gap:"lg",align:"center",_hover:{bg:"surface.s2"},children:[(0,s.jsx)(R.e,{id:e.id,size:40}),(0,s.jsxs)(i.so,{grow:1,borderTopColor:"neutrals.nLv4",borderTop:t?"1px solid":void 0,gap:"lg",align:"center",children:[(0,s.jsxs)(i.az,{py:"sm",children:[(0,s.jsx)(p.EY,{textStyle:"body.medium",color:"neutrals.nLv1",mb:"xs",display:"block",children:(0,s.jsx)(Y.O,{uniqueTournament:e})}),(0,s.jsx)(p.EY,{textStyle:"assistive.default",color:"neutrals.nLv3",textTransform:"capitalize",children:(0,s.jsx)(f.A,{id:"player.tournamentAppearances",values:{number:l[e.id].length}})})]}),(0,s.jsx)(D.q,{persist:!0,children:(0,s.jsx)(R.G,{rating:o[e.id],format:"sideBox"})})]})]})},e.id))})}function W(e){let{lastYearSummary:t,uniqueTournamentsMap:r,containerId:a,graphId:u}=e;if(!(null==t?void 0:t.length))return null;let p=(0,c.AG)(t.filter(e=>e.type===n.XFZ.Event).map(e=>e.value));return(0,s.jsx)(d.t,{tag:"LastYearSummary",children:(0,s.jsxs)(o.Zp,{children:[(0,s.jsx)(o.Zp.Header,{titleId:"season_rating_graph_title"}),(0,s.jsx)(i.az,{w:"100%",px:"sm",children:(0,s.jsx)(P,{summary:t,yearAvgRating:p,containerId:a,graphId:u})}),l()(r)?(0,s.jsx)(o.Zp.Footer,{}):(0,s.jsx)(i.az,{pt:"xs",children:(0,s.jsx)(U,{summary:t,uniqueTournamentsMap:r})})]})})}},61379:(e,t,r)=>{"use strict";r.d(t,{AG:()=>a,Et:()=>u,aQ:()=>c,mR:()=>o,o5:()=>d});var s=r(21377),n=r(13731),i=r.n(n);let a=e=>e.reduce((e,t)=>e+Number(t),0)/e.length,l=e=>"".concat(e.getFullYear(),"-").concat(9>e.getMonth()?"0":"").concat(e.getMonth()+1);function o(e){let t=e.filter(e=>e.type===s.XFZ.Event);return i()(t,e=>l(new Date(1e3*e.timestamp)))}function d(){let e={},t=new Date;for(let r=0;r<12;r++)e[l(t)]=void 0,t.setMonth(t.getMonth()-1);return e}function c(){let e=new Date;return[new Date(e.getFullYear(),e.getMonth()-11,1).getTime(),new Date(e.getFullYear(),e.getMonth()+1,0).getTime()]}function u(e){return"colors.rating".concat(e.replace("scoreRating",""))}},62875:(e,t,r)=>{"use strict";r.d(t,{F0:()=>n,N8:()=>a,qT:()=>i});var s=r(21377);let n=[s.QCR.Football,s.QCR.Futsal,s.QCR.Handball,s.QCR.Basketball,s.QCR.AmericanFootball,s.QCR.IceHockey,s.QCR.Tennis,s.QCR.Volleyball],i=[s.QCR.AmericanFootball,s.QCR.Handball,s.QCR.Baseball],a=["overall","playoffs","regularSeason","top16"]},62990:(e,t,r)=>{"use strict";r.r(t),r.d(t,{TeamMedia:()=>o,default:()=>d});var s=r(6029),n=r(21377),i=r(45860),a=r(96983),l=r(23963);function o(e){let{teamId:t,hideTitle:r}=e,{data:o,isLoading:d,error:c}=(0,i.Ay)(n.cWY.media(t));return d?(0,s.jsx)(l.n,{}):!o||c?null:(0,s.jsx)(a.$,{highlights:o.media,hideTitle:r})}let d=o},64093:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>o});var s=r(6029),n=r(21377),i=r(45860),a=r(79634),l=r(96983);function o(e){let{eventId:t,hideTitle:r,eventHighlightId:o}=e,{data:d}=(0,i.Ay)(n.bnp.eventHighlights(t));return d?(0,s.jsx)(a.q,{persist:!0,children:(0,s.jsx)(l.$,{highlights:d.highlights,hideTitle:r,eventHighlightId:o})}):null}},67086:(e,t,r)=>{"use strict";r.d(t,{N:()=>n});var s=r(49856);function n(e,t){return"en"===t||t===s.vo[e]}},70344:(e,t,r)=>{"use strict";r.d(t,{n:()=>s.n});var s=r(78762)},73060:(e,t,r)=>{"use strict";r.d(t,{Y:()=>c});var s=r(6029),n=r(21377),i=r(947),a=r(494),l=r(14617),o=r(28567),d=r(72753);let c=e=>{let{utId:t,location:r,bgImageUrl:c}=e,u=(0,a.d4)(d.LQ),p=(0,i.A)();return u&&o.p.includes(u)&&t===n.G6l.NBA?(0,s.jsx)(l.Q,{banner:{copy:{action:p.formatMessage({id:"link_visit_nba"}),description:p.formatMessage({id:"banner_nba_league_pass_description"}),sectionTitle:p.formatMessage({id:"banner_nba_league_pass_title"})},type:n.$pL.LogoBanner,background:n.jae.EntityHeader,detailImageUrl:{ltr:"/static/images/nba-league-pass/league-pass-logo.svg",rtl:"/static/images/nba-league-pass/league-pass-logo.svg"},campaignName:"nba_league_pass",url:"https://nba.sjv.io/c/5441787/2176796/16284"},bgImageUrl:c,location:r}):null}},76393:(e,t,r)=>{"use strict";r.d(t,{S:()=>s.A});var s=r(47151)},78203:(e,t,r)=>{"use strict";r.d(t,{A:()=>T});var s=r(6029),n=r(21377),i=r(28349),a=r(21501),l=r(76356),o=r(93338),d=r(99064),c=r(55729),u=r(45860),p=r(46222),h=r(74610),x=r(51951),m=r(57719),g=r(90248),f=function(e){return e.strengths="strengths",e.weaknesses="weaknesses",e}(f||{});function y(e){let{characteristics:t,type:r}=e;return t.length?(0,s.jsx)(l.az,{children:t.map(e=>(0,s.jsx)(i.EY,{display:"block",mb:"xs",children:(0,s.jsx)(g.A,{id:e})},e))}):(0,s.jsx)(i.EY,{display:"block",children:(0,s.jsx)(g.A,{id:"strengths"===r?"no_strengths":"no_weaknesses"})})}let j=(0,c.memo)(e=>{let{strengths:t,weaknesses:r}=e;return(0,s.jsxs)(l.so,{minH:"[172px]",direction:"column",justify:"space-between",border:"1",children:[(0,s.jsxs)(l.az,{pb:"xl",children:[(0,s.jsx)(i.EY,{textStyle:"display.small",color:"status.success.default",mb:"sm",display:"block",children:(0,s.jsx)(g.A,{id:"player_strengths"})}),(0,s.jsx)(y,{characteristics:t,type:"strengths"})]}),(0,s.jsxs)(l.az,{pb:"xl",children:[(0,s.jsx)(i.EY,{textStyle:"display.small",color:"status.error.default",mb:"sm",display:"block",children:(0,s.jsx)(g.A,{id:"player_weaknesses"})}),(0,s.jsx)(y,{characteristics:r,type:"weaknesses"})]})]})},function(e,t){return e.player.id===t.player.id}),v={1:"football_anchor_play",2:"football_penalty_taking",3:"directFreeKicks",4:"longShots",5:"football_finishing",6:"passing",7:"football_playmaking",9:"football_tackling",10:"ballInterception",11:"football_consistency",12:"crossing",13:"football_long_balls",14:"football_ball_control",15:"football_ground_duels",16:"football_aerial_duels",17:"errorProneness",18:"football_discipline",19:"penaltySaving",20:"football_reflexes",21:"runsOut",22:"highClaims",23:"football_ball_handling",24:"longShotsSaving",25:"football_positioning",26:"football_high_pressing"},b={[n.dl9.Striker]:"colors.playerPosition.forward",[n.dl9.LeftWinger]:"colors.playerPosition.forward",[n.dl9.RightWinger]:"colors.playerPosition.forward",[n.dl9.AttackingMidfielder]:"colors.playerPosition.midfield",[n.dl9.MidfielderLeft]:"colors.playerPosition.midfield",[n.dl9.MidfielderCenter]:"colors.playerPosition.midfield",[n.dl9.MidfielderRight]:"colors.playerPosition.midfield",[n.dl9.DefensiveMidfielder]:"colors.playerPosition.midfield",[n.dl9.DefenderLeft]:"colors.playerPosition.defender",[n.dl9.DefenderCenter]:"colors.playerPosition.defender",[n.dl9.DefenderRight]:"colors.playerPosition.defender",[n.dl9.Goalkeeper]:"colors.playerPosition.goalkeeper"};var _=r(62042);let w=function(e){let{children:t}=e;return(0,s.jsxs)("svg",{width:"120",height:"180",viewBox:"0 0 120 180",children:[(0,s.jsxs)("g",{fill:"none",fillRule:"evenodd",children:[(0,s.jsx)("rect",{className:(0,_.AH)({fill:"graphics.terrain.football"}),width:"120",height:"180",rx:"4"}),(0,s.jsx)("path",{className:(0,_.AH)({stroke:"surface.s1"}),strokeWidth:"2",strokeLinejoin:"round",d:"M4 4h112v86H4z"}),(0,s.jsx)("path",{d:"M72 90c0-6.627-5.373-12-12-12s-12 5.373-12 12M31 4h58v26H31zM50 30c.156.28.322.555.499.82 2.084 3.13 5.562 5.18 9.5 5.18 3.942 0 7.422-2.052 9.505-5.184.176-.264.34-.537.496-.816",className:(0,_.AH)({stroke:"surface.s1"}),strokeWidth:"2",strokeLinejoin:"round"}),(0,s.jsx)("path",{className:(0,_.AH)({stroke:"surface.s1"}),strokeWidth:"2",strokeLinejoin:"round",d:"M46 4h28v8H46z"}),(0,s.jsx)("circle",{cx:"1",cy:"1",r:"1",transform:"translate(59 22)",className:(0,_.AH)({fill:"surface.s1"})}),(0,s.jsx)("path",{d:"M4 8a4 4 0 0 0 4-4M112 4a4 4 0 0 0 4 4",className:(0,_.AH)({stroke:"surface.s1"}),strokeWidth:"2",strokeLinejoin:"round"}),(0,s.jsxs)("g",{children:[(0,s.jsx)("path",{className:(0,_.AH)({stroke:"surface.s1"}),strokeWidth:"2",strokeLinejoin:"round",d:"M4 176h112V90H4z"}),(0,s.jsx)("path",{d:"M72 90c0 6.627-5.373 12-12 12s-12-5.373-12-12M31 176h58v-26H31zM50 150c.156-.28.322-.555.499-.82 2.084-3.13 5.562-5.18 9.5-5.18 3.942 0 7.422 2.052 9.505 5.184.176.264.34.537.496.816",className:(0,_.AH)({stroke:"surface.s1"}),strokeWidth:"2",strokeLinejoin:"round"}),(0,s.jsx)("path",{className:(0,_.AH)({stroke:"surface.s1"}),strokeWidth:"2",strokeLinejoin:"round",d:"M46 176h28v-8H46z"}),(0,s.jsx)("circle",{cx:"1",cy:"1",r:"1",transform:"matrix(1 0 0 -1 59 158)",className:(0,_.AH)({fill:"surface.s1"})}),(0,s.jsx)("path",{d:"M4 172a4 4 0 0 1 4 4M112 176a4 4 0 0 1 4-4",className:(0,_.AH)({stroke:"surface.s1"}),strokeWidth:"2",strokeLinejoin:"round"})]})]}),(0,s.jsx)("g",{style:{top:0,left:0,background:"red"},width:"100%",height:"100%",children:t})]})},k={[n.dl9.Goalkeeper]:{x:60,y:164},[n.dl9.DefenderLeft]:{x:25,y:146},[n.dl9.DefenderCenter]:{x:60,y:146},[n.dl9.DefenderRight]:{x:95,y:146},[n.dl9.DefensiveMidfielder]:{x:60,y:118},[n.dl9.MidfielderLeft]:{x:25,y:90},[n.dl9.MidfielderCenter]:{x:60,y:90},[n.dl9.MidfielderRight]:{x:95,y:90},[n.dl9.AttackingMidfielder]:{x:60,y:62},[n.dl9.LeftWinger]:{x:25,y:34},[n.dl9.RightWinger]:{x:95,y:34},[n.dl9.Striker]:{x:60,y:20}};function S(e){let{position:t,attr:r}=e;return(0,s.jsxs)("g",{children:[(0,s.jsx)("circle",{cx:r.x,cy:r.y,r:"12",className:(0,_.AH)({fill:"surface.s1"})}),(0,s.jsx)("text",{className:(0,_.AH)({textStyle:"assistive.default"}),style:{fill:o.S.var(b[t.toLowerCase()])},y:r.y,x:r.x,dy:"4",textAnchor:"middle",children:t.toUpperCase()})]})}let A=function(e){let{positions:t}=e;return(0,s.jsx)(w,{children:t&&t.map(e=>(0,s.jsx)(S,{position:e,attr:k[e.toLowerCase()]},e))})},C=e=>v[e.type];function T(e){let t,{player:r}=e,g=r.team.sport.slug===n.QCR.Football,f=(0,a.hX)(),[y,v]=(0,c.useState)(!1),{data:_,error:w,isLoading:k}=(0,u.Ay)(n.qvj.characteristics(r.id)),S=!_&&!w;if(f||k)return(0,s.jsx)(p.Zp,{children:(0,s.jsx)(l.az,{style:{height:"212px"}})});if(w)return null;let T=!S&&!_||_&&0===_.positions.length||!g,L=r.retired||r.deceased;return L&&T?null:(0,s.jsxs)(h.t,{tag:"CharacteristicsContainer",children:[(0,s.jsxs)(p.Zp,{children:[(0,s.jsx)(p.Zp.Header,{titleId:"player_positions"}),(0,s.jsxs)(l.so,{p:"lg",gap:"sm",align:"center",justify:L?"center":"space-between",children:[!L&&(0,s.jsx)(j,{player:r,weaknesses:_.negative.map(C),strengths:_.positive.map(C)}),!T&&(0,s.jsx)(l.az,{onClick:()=>v(!0),cursor:"pointer",children:(0,s.jsx)(A,{positions:_.positions})})]})]}),(0,s.jsx)(x.A,{isOpen:y,setIsOpen:v,header:"playerPositions",children:Object.keys(b).map((e,a)=>{let u=b[e],p=0!==a&&u!==t;return t=u,(0,s.jsxs)(c.Fragment,{children:[p&&(0,s.jsx)(d.cG,{my:"md"}),(0,s.jsxs)(l.so,{mb:"sm",justify:"space-between",px:"md",children:[(0,s.jsx)(i.EY,{fontWeight:"bold",style:{color:o.S.var(b[e])},children:e.toUpperCase()}),(0,s.jsx)(i.EY,{color:"neutrals.nLv2",textStyle:"body.medium",children:(0,s.jsx)(m.F,{id:e.toUpperCase(),sport:n.QCR.Football,gender:r.team.gender})})]})]},e)})})]})}},78492:(e,t,r)=>{var s=r(50956);e.exports=function(e,t,r,n){return s(e,function(e,s,i){t(n,e,r(e),i)}),n}},81648:e=>{e.exports=function(e,t,r,s){for(var n=-1,i=null==e?0:e.length;++n{"use strict";r.d(t,{Ay:()=>m,mb:()=>h,op:()=>x});var s=r(6029),n=r(21377),i=r(28349),a=r(76356),l=r(55729),o=r(90248),d=r(25282),c=r(90438),u=r(80055),p=r(14831);let h="_player_has_form",x="_player_has_pentagon",m=function(e){let{player:t,locale:r,isEmbedModalVisible:m,setIsEmbedModalVisible:g}=e,[f,y]=(0,l.useState)(void 0),[j,v]=(0,l.useState)(void 0),b=(0,c.vf)(r),_="".concat(n.yuv).concat(b?"/".concat(b):"","/embed/player/").concat(t.id,"?widgetTheme=light"),w="sofa-player-embed-".concat(t.id),k="height:".concat(418+232*!!f+180*!!j,"px!important;max-width:730px!important;width:100%!important;"),S=''),A=(0,u.s)(t,r),C=async()=>{let e=await (0,p._9)(t.id+h),r=await (0,p._9)(t.id+x);v("true"===e),y("true"===r)};return(0,l.useEffect)(()=>{v(void 0),y(void 0)},[t.id]),(0,l.useEffect)(()=>{C()},[m]),(0,s.jsx)(i.aF,{isOpen:m,onClose:()=>g(!1),onOutsideClick:()=>g(!1),children:(0,s.jsxs)(a.az,{br:"lg",mx:"auto",elevation:"3",bg:"surface.sp",w:"[360px]",children:[(0,s.jsx)(i.EY,{textStyle:"display.large",p:{md:"lg"},display:"block",children:(0,s.jsx)(o.A,{id:"player_info_embed",values:{playerName:A}})}),(0,s.jsx)(a.az,{px:"sm",children:(0,s.jsx)(d.P,{embedString:S})}),(0,s.jsx)(a.so,{justify:"flex-end",children:(0,s.jsx)(a.az,{p:"lg",children:(0,s.jsx)(i.$n,{onClick:()=>g(!1),variant:"clear",children:(0,s.jsx)(o.A,{id:"close_window_button"})})})})]})})}},90117:(e,t,r)=>{"use strict";r.d(t,{A:()=>p});var s=r(6029),n=r(28349),i=r(76356),a=r(55729),l=r(90248),o=r(52466),d=r(82536),c=r(97233),u=r(98366);let p=e=>{let{attributes:t}=e,[r,p]=(0,a.useState)(!1);return t?(0,s.jsxs)(i.az,{position:"relative",children:[(0,s.jsx)(o.G_L,{fill:"onSurface.nLv1",cursor:"pointer",onClick:()=>p(!0)}),(0,s.jsx)(d.A,{isOpen:r,setIsOpen:p,header:"player.info.attributeOverview",children:(0,s.jsxs)(i.az,{px:"lg",maxW:{md:"[280px]"},children:[(0,s.jsx)(n.EY,{textStyle:"body.mediumParagraph",mb:"lg",display:"block",children:(0,s.jsx)(l.A,{id:"player.info.attributeOverviewDescription"})}),t.sort().map(e=>{var t;return(0,s.jsxs)(i.az,{py:"sm",children:[(0,s.jsx)(n.EY,{textStyle:"assistive.default",color:"neutrals.nLv3",textTransform:"uppercase",mr:"lg",children:c.HU[e]}),(0,s.jsx)(n.EY,{textStyle:"body.small",children:(0,s.jsx)(l.A,{id:null!=(t=u.Q1[e])?t:e})})]},e)})]})})]}):null}},91824:(e,t,r)=>{"use strict";r.d(t,{s:()=>o});var s=r(21377),n=r(55729),i=r(45860),a=r(18970),l=r(98366);function o(e){let t=(0,n.useContext)(a.Ws)===s.QCR.Football,{data:r,isLoading:o,error:d}=(0,i.Ay)(t&&e?s.qvj.pentagon(e):null);return{pentagons:!d&&r?(0,l.TC)(r):null,isPentagonDataLoading:o,isError:d}}},92895:(e,t,r)=>{"use strict";r.d(t,{A:()=>c});var s=r(6029),n=r(21377),i=r(28349),a=r(76356),l=r(90248),o=r(46222),d=r(74664);function c(){let e=(0,d.o)(),{isDesktop:t}=(0,i.$c)();return(0,s.jsxs)(o.Zp,{children:[(0,s.jsxs)(a.so,{direction:"column",gap:"md",p:"md",borderBottom:{md:"1px solid {colors.neutrals.nLv4}"},children:[e===n.QCR.Football&&t&&(0,s.jsx)(a.az,{h:"4xl",bg:"surface.s2",br:"md"}),(0,s.jsx)(a.az,{h:"2xl",bg:"surface.s2",br:"md"}),(0,s.jsxs)(a.so,{align:"center",gap:"lg",children:[(0,s.jsx)(i.EY,{textStyle:"display.micro",display:"block",children:(0,s.jsx)(l.A,{id:"team"})}),(0,s.jsx)(a.az,{h:"2xl",bg:"surface.s2",br:"md",flexGrow:1})]})]}),(0,s.jsx)(a.az,{h:"[600px]"})]})}},93081:(e,t,r)=>{"use strict";r.d(t,{A:()=>y});var s=r(6029),n=r(21377),i=r(21501),a=r(99064),l=r(78383),o=r.n(l),d=r(90248),c=r(46222),u=r(52466),p=r(53960),h=r(14831),x=r(15341),m=function(e){return e.HIGHER="UP",e.LOWER="DOWN",e}(m||{});function g(e){let{currencySign:t,selected:r,inverted:n,voted:i,vote:l}=e;return(0,s.jsxs)(a.so,{bg:"surface.s1",br:"50%",align:"center",justify:"center",w:48,h:48,elevation:2,onClick:()=>{r||i||(l(),(0,h.MZ)((0,s.jsxs)(a.so,{align:"center",children:[(0,s.jsx)(u.G_L,{fill:"onColor.primary",mr:"lg"}),(0,s.jsx)(a.EY,{block:!0,color:"onColor.primary",font:"display.small",children:(0,s.jsx)(d.A,{id:"thank_you_contribution"})})]}),{autoClose:3e3,closeButton:!1,className:"sofa-toast--info",position:"bottom-center"}))},direction:n?"column-reverse":"column",cursor:i?"default":"pointer",p:6,border:r?"primary.default":void 0,children:[(0,s.jsx)(u.tSt,{fill:n?"error.default":"success.default",style:{transform:"rotate(".concat(180*!!n,"deg)")}}),(0,s.jsx)(a.az,{my:"xs",br:"50%",bg:"neutral.default",h:16,w:16,children:(0,s.jsx)(a.EY,{lineHeight:"16px",font:"assistive.default",color:"surface.s1",align:"center",as:"div",children:t})})]})}function f(e){let{playerId:t,proposedMarketValueRaw:r}=e,i=(0,n.oaz)(r),{canUserVote:l,voteRecord:o,voteHigher:d,voteLower:c,isRehydrated:u}=function(e,t){let[r,s,n]=(0,x.A)("pv_".concat(e),null),i=r?(e=>{let[t,r]=e.split(":");return{proposedMarketValue:Number(r),vote:t}})(r):null,a=(null==i?void 0:i.proposedMarketValue)!==t.value,l=e=>{let r;a&&t&&s((r={vote:e,proposedMarketValue:t.value},"".concat(r.vote).concat(":").concat(r.proposedMarketValue)))};return{canUserVote:a,voteRecord:i,voteHigher:()=>l("UP"),voteLower:()=>l("DOWN"),isRehydrated:n}}(t,r),p=!!u&&!l&&(null==o?void 0:o.vote)==="DOWN",h=!!u&&!l&&(null==o?void 0:o.vote)==="UP";return(0,s.jsxs)(a.so,{gap:"sm",children:[(0,s.jsx)(g,{vote:d,currencySign:i.currencySign,selected:h,voted:!l}),(0,s.jsx)(g,{vote:c,currencySign:i.currencySign,selected:p,voted:!l,inverted:!0})]})}let y=function(e){let t=(0,i.hX)(),r=(0,n.oaz)(e.proposedMarketValueRaw);return(0,s.jsxs)(c.Zp,{children:[(0,s.jsx)(c.Zp.Header,{titleId:"player.value",visibility:"desktop-only"}),(0,s.jsxs)(a.so,{gap:"sm",align:"center",px:"lg",py:"sm",children:[(0,s.jsxs)(a.so,{gap:"sm",align:"center",justify:"space-between",children:[(0,s.jsxs)(a.az,{children:[(0,s.jsx)(a.EY,{font:"assistive.micro",color:"onSurface.nLv3",mb:"xxs",align:"center",as:"div",textTransform:"uppercase",whiteSpace:"nowrap",children:(0,s.jsx)(d.A,{id:"market_value"})}),(0,s.jsx)(a.EY,{font:"display.medium",color:"sofaSingles.value",align:"center",as:"div",children:(0,s.jsx)(p.o,{parsedMoney:r})})]}),(0,s.jsx)(a.cG,{vertical:!0}),(0,s.jsx)(a.EY,{font:"assistive.default",color:"onSurface.nLv1",children:(0,s.jsx)(d.A,{id:"is_market_value_higher_or_lower"})})]}),t?(0,s.jsxs)(a.so,{gap:"sm",children:[(0,s.jsx)(g,{vote:o(),currencySign:r.currencySign,selected:!1,voted:!1}),(0,s.jsx)(g,{vote:o(),currencySign:r.currencySign,selected:!1,voted:!1,inverted:!0})]}):(0,s.jsx)(f,{...e})]}),(0,s.jsx)(c.Zp.Footer,{defaultHeight:"sm"})]})}},94711:(e,t,r)=>{"use strict";r.d(t,{l:()=>n,v:()=>i});var s=r(21377);let n=[s.QCR.Basketball,s.QCR.AmericanFootball],i=[s.QCR.Football,s.QCR.Basketball,s.QCR.AmericanFootball]},96688:(e,t,r)=>{"use strict";function s(e){let t=(null==e?void 0:e.toLowerCase())||"",r=["hr","es","pt"].includes(t);return"https://corporate.sofascore.com".concat(r?"/".concat(t):"","/about/rating")}r.d(t,{y:()=>s})},96983:(e,t,r)=>{"use strict";r.d(t,{$:()=>S});var s=r(6029),n=r(4967),i=r(28349),a=r(76356),l=r(93338),o=r(99064),d=r(55729),c=r(90248),u=r(494),p=r(46222),h=r(18970),x=r(52466),m=r(74610),g=r(47402),f=r(95084),y=r(72753);let j=(0,a.I4)("div",{base:{display:"grid",w:"[144px]",h:"8xl",position:"absolute",top:"0",left:"0",bg:"overlay.darken1","& svg":{margin:"auto"}}}),v=(0,a.I4)("div",{base:{"& a:visited":{"& .media-component-seen-notice":{color:"neutral.default !important"}},"& img":{display:"block",br:"2xs"}}});var b=r(21377);let _=/sofascore.com\/news\//g,w=[b.zut.MEDIA_VIDEO,b.zut.MEDIA_NEWS_VIDEO,b.zut.MEDIA_YOUTUBE_VIDEO],k=e=>{let t,r,{highlight:d}=e;return(0,s.jsx)(a.I4.a,{href:d.url,target:"_blank",rel:d.doFollow||(t=d.url,_.test(t))?void 0:"nofollow",onClick:()=>(0,f.Xy)(d.title),children:(0,s.jsxs)(a.so,{gap:"lg",children:[(0,s.jsxs)(a.az,{position:"relative",children:[(0,s.jsx)(o._V,{src:d.thumbnailUrl||(e=>{if(e){let r=(e=>{let t=document.createElement("a");return t.href=e,t.host})(e);if("www.youtube.com"===r){let t=new URL(e).searchParams.get("v");return"https://img.youtube.com/vi/".concat(t,"/0.jpg")}if("youtu.be"===r){var t;let r=null==(t=new URL(e).pathname)?void 0:t.slice(1);return"https://img.youtube.com/vi/".concat(r,"/0.jpg")}}})(d.url),width:"144",height:"80",fallback:(0,s.jsx)(a.az,{w:"[144px]",h:"8xl",bg:"neutrals.nLv4",display:"grid",br:"2xs",children:(0,s.jsx)(x.dwH,{m:"auto",fill:l.S.var("colors.neutrals.nLv4")})}),alt:"thumbnail"}),(r=d.mediaType,-1!==w.indexOf(r)&&(0,s.jsx)(j,{children:(0,s.jsx)(x.reY,{fill:"white"})}))]}),(0,s.jsxs)(a.so,{direction:"column",justify:"space-between",grow:1,style:{maxWidth:"calc(100% - 144px)"},children:[(0,s.jsxs)(a.so,{direction:"column",align:"start",gap:"xs",children:[(0,s.jsx)(i.Ym,{textStyle:"display.small",display:"block",lineClamp:2,children:d.title}),(0,s.jsx)(i.EY,{textStyle:"assistive.default",color:"neutrals.nLv3",w:"100%",lineClamp:1,children:d.subtitle})]}),(0,s.jsxs)(a.so,{justify:"space-between",pt:"xs",children:[(0,s.jsx)(i.Ym,{textStyle:"body.small",color:"neutrals.nLv3",w:"100%",_firstLetter:{textTransform:"capitalize"},truncate:!0,children:(0,s.jsx)(g.v,{timestamp:(0,n.pp)(d.createdAtTimestamp).getTime()})}),(0,s.jsx)(i.EY,{"aria-hidden":"true",userSelect:"none",textStyle:"body.small",color:"[transparent]",className:"media-component-seen-notice",w:"100%",textAlign:"end",truncate:!0,children:(0,s.jsx)(c.A,{id:"basic.seen"})})]})]})]})})},S=e=>{let{highlights:t,hideTitle:r,eventHighlightId:n}=e,[l,o]=(0,d.useState)(!1),c=(0,u.d4)(y.JV),x=(0,u.d4)(y.LQ),{location:g}=(0,d.useContext)(h.y$),f=g===h.cb.Widget,{isDesktop:j}=(0,i.$c)(),b=!j||f,_=(function(e){let{media:t,selectedLocale:r,geoIPAlpha2:s,n=10}=e;return t.sort((e,t)=>t.createdAtTimestamp-e.createdAtTimestamp).filter(e=>!e.forCountries||!e.forCountries.length||-1!==e.forCountries.indexOf(r.toUpperCase())||-1!==e.forCountries.indexOf(s.toUpperCase())).slice(0,n)})({media:[...t],selectedLocale:c,geoIPAlpha2:x||""}).filter(e=>e.id!==n),w=_.length>3,S=l||b?_:_.slice(0,3);return S.length?(0,s.jsx)(m.t,{tag:"Media",children:(0,s.jsxs)(p.Zp,{children:[!r&&(0,s.jsx)(p.Zp.Header,{titleId:"media",as:"h4"}),(0,s.jsx)(a.az,{py:b?"sm":void 0,children:(0,s.jsx)(v,{children:(0,s.jsx)(p.BU,{children:S.map(e=>(0,s.jsx)(k,{highlight:e},e.id))})})}),!b&&(0,s.jsx)(p.Zp.Footer,{ctaParams:w?{messageId:l?"show_less":"show_more",onClick:()=>o(e=>!e),icon:l?p.Xb.Up:p.Xb.Down}:void 0})]})}):null}},97233:(e,t,r)=>{"use strict";r.d(t,{HU:()=>d.HU,KG:()=>o,Sz:()=>d.Sz,Bg:()=>d.Bg});var s=r(6029),n=r(78383),i=r.n(n),a=r(23631),l=r(6644);function o(e){let{attributes:t,pentagonLayers:r,isAnotherPlayerCompare:n,onGraphClick:o=i()}=e;return(0,s.jsx)(a.A,{data:t,isAnotherPlayerCompare:n,children:(0,s.jsx)(l.A,{data:r,onGraphClick:o})})}var d=r(98366)},98145:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>ti});var s=r(6029),n=r(21377),i=r(90438),a=r(88715),l=r(4917),o=r(55729),d=r(18970),c=r(23123),u=r(78767),p=r(39979),h=r(73232),x=r(95084),m=r(95669),g=r.n(m),f=r(67086),y=r(94164),j=r(31830),v=r(19947),b=r(80055);function _(e){var t,r;let{player:n}=e,i=(0,j.A)(),o=n.team.sport.slug,d=a.z.getTranslatedCanonicalRoute(i,"player",{id:n.id,slug:n.slug,sport:o}).route,c=null!=(r=null==(t=n.country.alpha2)?void 0:t.toLowerCase())?r:"",u=n.createdByEditor?!(0,f.N)(c,i):(0,y.v)(o,i);return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)(g(),{children:[(0,s.jsx)("link",{rel:"canonical",href:"https://www.sofascore.com".concat(d)}),u&&(0,s.jsx)("meta",{name:"robots",content:"noindex, nofollow"})]}),(0,s.jsx)(v.N9,{player:n}),(0,s.jsx)(l.Ay,{metaKey:"player",values:{player:(0,b.s)(n,i),team:(0,b.s)(n.team,i)}})]})}var w=r(28349),k=r(76356),S=r(81278),A=r(90248),C=r(46222),T=r(6813),L=r(20945),P=r(76393),R=r(79300),M=r(2920),F=r(56132),E=r(94711),B=r(11996),I=r(79082),z=r(88658),H=r(79131),D=r(64006),O=r(99306),Y=r(82346);function U(e){var t;let{player:r,sport:n,uniqueTournament:i}=e,{seoContent:a}=(0,o.useContext)(l.xV);return(0,s.jsxs)(z.B,{children:[(0,s.jsx)(z.B.Item,{children:(0,s.jsx)(D.di,{translatedParams:{sport:n.slug},children:(0,s.jsx)(O.o,{sportSlug:n.slug})})}),i?(0,s.jsx)(z.B.Item,{children:(0,s.jsx)(D.Z6,{category:i.category,children:(0,s.jsx)(H.m,{slug:null==i?void 0:i.category.slug,name:(null==i?void 0:i.category.name)||(null==(t=r.team.country)?void 0:t.name)||"N/A"})})}):null,i?(0,s.jsx)(z.B.Item,{children:(0,s.jsx)(D.tQ,{tournament:i,children:(0,s.jsx)(Y.O,{uniqueTournament:i})})}):null,(0,s.jsx)(z.B.Title,{children:(null==a?void 0:a.heading)||"".concat(r.name," - Sofascore")})]})}var W=r(15322),N=r(62875),G=r(74610),q=r(79634),Q=r(95404),K=r(60080),Z=r(60067),V=r(73060);let X=(0,o.memo)(function(e){var t;let{player:r}=e,{isFantasyEnabled:i}=(0,R.t)(),{showFantasyStatistics:a}=(0,B.A)({showFantasyStatistics:{route:n.lVT.playerCompetitions(r.id),skipCheck:!i}},[r.id,i]);return(0,s.jsxs)(G.t,{tag:"PlayerSidebar",children:[(0,s.jsx)(Z._,{page:{location:x.XN.PlayerScreen,entity:r}}),(0,s.jsx)(V.Y,{utId:null==(t=r.team.primaryUniqueTournament)?void 0:t.id,location:x.XN.PlayerScreen,bgImageUrl:n.cWY.image(r.team.id)}),a&&(0,s.jsx)(Q.pk,{utIds:null}),(0,s.jsx)(q.q,{persist:!0,children:(0,s.jsx)(K.OE,{playerId:r.id})})]})},function(e,t){return e.player.id===t.player.id});var $=r(40163),J=r(99064),ee=r(71024),et=r.n(ee),er=r(92895);let es=et()(()=>r.e(81957).then(r.bind(r,81957)),{loadableGenerated:{webpack:()=>[81957]},loading:()=>(0,s.jsx)(k.az,{pb:"lg",children:(0,s.jsx)(er.A,{})})});function en(e){let{player:t}=e;return(0,s.jsx)(J.tU.Panel,{tabKey:F.x.Career,children:(0,s.jsx)(es,{player:t})})}var ei=r(74664);let ea=et()(()=>Promise.all([r.e(81889),r.e(70105)]).then(r.bind(r,70105)),{loadableGenerated:{webpack:()=>[70105]},ssr:!1,loading:()=>(0,s.jsx)(k.az,{h:"[1100px]"})}),el=et()(()=>Promise.all([r.e(81889),r.e(9331)]).then(r.bind(r,9331)),{loadableGenerated:{webpack:()=>[9331]},ssr:!1,loading:()=>(0,s.jsx)(k.az,{h:"[496px]"})});function eo(e){let t=(0,ei.o)();return E.l.includes(t)?(0,s.jsx)(ec,{player:e.player,transfers:e.transfers}):(0,s.jsx)(ed,{...e})}function ed(e){return(0,s.jsx)(J.tU.Panel,{tabKey:F.x.Details,children:(0,s.jsx)(ea,{...e})})}function ec(e){return(0,s.jsx)(J.tU.Panel,{tabKey:F.x.Info,children:(0,s.jsx)(el,{...e})})}let eu=et()(()=>Promise.all([r.e(26733),r.e(63126)]).then(r.bind(r,63126)),{loadableGenerated:{webpack:()=>[63126]},ssr:!1,loading:()=>(0,s.jsx)(k.az,{h:"[1000px]"})});function ep(e){let{playerId:t}=e;return(0,s.jsx)(J.tU.Panel,{tabKey:F.x.PlayerFantasy,children:(0,s.jsx)(eu,{playerId:t})})}let eh=et()(()=>Promise.all([r.e(54012),r.e(62639),r.e(43409),r.e(14541)]).then(r.bind(r,14541)),{loadableGenerated:{webpack:()=>[14541]},loading:()=>(0,s.jsx)(k.az,{h:"[1000px]"})});function ex(e){let{player:t,sport:r}=e;return(0,s.jsx)(J.tU.Panel,{tabKey:E.v.includes(r)?F.x.Season:F.x.Statistics,children:(0,s.jsx)(eh,{player:t,sport:t.team.sport.slug})})}var em=r(14831);function eg(e,t){return e===n.QCR.Volleyball?F.x.Statistics:E.l.includes(e)?t.find(e=>e.tabKey===F.x.Season&&!1===e.isHidden)?F.x.Season:F.x.Info:F.x.Details}function ef(e){let t=function(e){e.startsWith("#")&&(e=e.slice(1));let t={};return e.split(",").forEach(e=>{let[r,s]=e.split(":");r&&(t[r]=s)}),t}(window.location.hash);delete t[e],window.location.hash=Object.entries(t).map(e=>{let[t,r]=e;return"".concat(t,":").concat(r)}).join(",")}var ey=r(14348);function ej(e){let{player:t,...r}=e,{isFantasyEnabled:l,showFantasyEntry:o}=(0,R.t)(),d=(0,j.A)(),u=(0,S.useRouter)(),p=t.team.sport,[h,x]=(0,I.Ay)({routeKey:i.xW.Player,params:{slug:t.slug,id:t.id,sport:p.slug}}),{isEmpty:m}=(0,ey.z)({player:t,...r}),{hasStatisticsTab:g,hasFantasyData:f,hasCareerData:y}=(0,B.A)({hasStatisticsTab:{route:n.qvj.uniqueTournamentSeasons(t.id),skipCheck:!N.F0.includes(p.slug)},hasFantasyData:{route:n.lVT.playerCompetitions(t.id),skipCheck:!l},hasCareerData:{route:n.qvj.uniqueTournamentSeasonsStatistics(t.id),skipCheck:!E.v.includes(p.slug)}},[t.id,l]),v=t.team.primaryUniqueTournament,b=!1===m,_=o&&f,z=y&&g,H=function(e,t,r,s,n){if(E.l.includes(e))return[{tabKey:F.x.Season,item:"season",isHidden:!r},{tabKey:F.x.Career,item:"am_football_career_tab",isHidden:!s},{tabKey:F.x.Info,item:"info",isHidden:!t},{tabKey:F.x.PlayerFantasy,item:"fantasy",isHidden:!n}];let i=E.v.includes(e);return[{tabKey:F.x.Details,item:"details",isHidden:!t},{tabKey:i?F.x.Season:F.x.Statistics,item:i?"season":"statistics",isHidden:!r},{tabKey:F.x.Career,item:"am_football_career_tab",isHidden:!s},{tabKey:F.x.PlayerFantasy,item:"fantasy",isHidden:!n}]}(p.slug,b,g,z,_),D=(null==h?void 0:h.tab)||eg(p.slug,H),O=[b,g,z,_].every(e=>!1===e);return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(U,{player:t,sport:p,uniqueTournament:v}),(0,s.jsx)(W.A,{player:t}),(0,s.jsxs)(L.xA,{py:"md",children:[(0,s.jsxs)(L.fv,{flexGrow:1,children:[(0,s.jsx)(k.az,{className:"player-matches-section",children:(0,s.jsx)(P.S,{id:t.id,entity:n.wNW.Player,player:t,transfers:r.transfers})}),(0,s.jsx)(X,{player:t}),(0,s.jsx)(c.Aq,{route:i.xW.Player})]}),(0,s.jsxs)(L.fv,{flexGrow:2,children:[(0,s.jsx)(C.Zp,{children:O?(0,s.jsxs)(k.BJ,{gap:"0",align:"center",mb:"4xl",children:[(0,s.jsx)(T.p,{titleMessageId:"player_empty_state_header",descriptionMessageId:"player_empty_state_body",graphic:"add-item"}),(0,s.jsx)(w.$n,{variant:"outline",onClick:()=>{var e;(null==(e=window.history)?void 0:e.length)>1?u.back():u.push(a.z.getTranslatedRoute(d,"eventList",{sport:p.slug}).route)},children:(0,s.jsx)(A.A,{id:"button_go_back"})})]}):(0,s.jsx)(C.WC,{variant:"square-desktop",children:(0,s.jsxs)(M.A,{id:t.id,location:F.C.PlayerPage,initialTabKey:D,customControls:[D,e=>{x("tab",e),ef("defaultUniqueTournamentId"),ef("defaultSeasonId"),ef("defaultSeasonType")}],tabs:H,children:[b&&(0,s.jsx)(eo,{player:t,...r}),g&&(0,s.jsx)(ex,{player:t,sport:p.slug}),z&&(0,s.jsx)(en,{player:t}),_&&(0,s.jsx)(ep,{playerId:t.id})]})})}),(0,s.jsx)($.A,{player:t})]})]})]})}var ev=r(8329),eb=r(4967),e_=r(947),ew=r(90510),ek=r(52466),eS=r(30821),eA=r(57719),eC=r(98133);let eT=e=>{let{label:t,value:r,inLine:n,children:i,onClick:a}=e;return r||i?(0,s.jsxs)(J.az,{w:n?"auto":"33%",pt:"md",pb:10,px:"lg",onClick:a,cursor:a?"pointer":void 0,children:[(0,s.jsx)(J.EY,{font:"assistive.micro",color:"onSurface.nLv3",align:"center",mb:"xxs",as:"div",textTransform:"uppercase",children:t}),(0,s.jsx)(J.EY,{font:"display.medium",color:"onSurface.nLv1",align:"center",as:"div",children:r||i})]}):null},eL=e=>{var t,r;let{player:i,inLine:a}=e,l=(0,e_.A)(),c=(0,o.useContext)(d.Ws),[u,p]=(0,o.useState)(!1),h=(0,s.jsx)(ew.XU,{value:new Date(1e3*i.dateOfBirthTimestamp),...eb.or.dateWithShortMonth,timeZone:"UTC"}),x=[n.QCR.Handball,n.QCR.Football,n.QCR.Basketball,n.QCR.IceHockey,n.QCR.Baseball,n.QCR.AmericanFootball].includes(c),m=async()=>{u||(p(!0),setTimeout(()=>{p(!1)},3e3),await (0,em.MZ)((0,s.jsxs)(J.so,{align:"center",children:[(0,s.jsx)(ek.G_L,{fill:"onColor.primary",mr:"lg"}),(0,s.jsx)(J.EY,{block:!0,color:"onColor.primary",font:"display.small",children:(0,s.jsx)(eA.F,{id:i.position,sport:c})})]})))};return(0,s.jsxs)(J.so,{justify:a?"space-around":void 0,wrap:"wrap",children:[(null==(t=i.country)?void 0:t.alpha2)&&(0,s.jsx)(eT,{label:(0,s.jsx)(A.A,{id:"nationality"}),inLine:a,children:(0,s.jsxs)(J.so,{align:"center",justify:"center",gap:"xs",children:[(0,s.jsx)(ev.w,{alpha2:i.country.alpha2,name:i.country.alpha2,size:16,national:!0}),(0,s.jsx)("span",{children:(0,eC.KH)(i.country.alpha2)})]})}),i.deceased&&i.dateOfBirthTimestamp&&(0,s.jsx)(eT,{label:h,value:(0,s.jsx)(A.A,{id:"deceasedYear",values:{year:i.dateOfDeathTimestamp?(0,s.jsx)(ew.XU,{value:1e3*i.dateOfDeathTimestamp,year:"numeric"}):void 0}}),inLine:a}),i.dateOfBirthTimestamp&&!i.deceased&&(0,s.jsx)(eT,{label:h,value:"".concat((0,eb.KW)(i.dateOfBirthTimestamp)," ").concat(l.formatMessage({id:"years_short"},{n:(0,eb.KW)(i.dateOfBirthTimestamp)})),inLine:a}),i.height&&(0,s.jsx)(eT,{label:(0,s.jsx)(A.A,{id:"player_height"}),value:(0,s.jsx)(eS.Z,{value:i.height,fromUnit:"cm"}),inLine:a}),i.preferredFoot&&(0,s.jsx)(eT,{label:(0,s.jsx)(A.A,{id:"player_preferred_foot"}),value:l.formatMessage({id:"foot.".concat(i.preferredFoot.toLowerCase()),defaultMessage:i.preferredFoot}),inLine:a}),i.position&&(0,s.jsx)(eT,{label:(0,s.jsx)(A.A,{id:"position"}),value:(0,s.jsx)(eA.F,{id:i.position,short:!0,gender:null==(r=i.team)?void 0:r.gender}),inLine:a,onClick:x?m:void 0}),i.cricketPlayerInfo&&Object.keys(i.cricketPlayerInfo).filter(e=>!e.startsWith("is")).map(e=>{let t=i.cricketPlayerInfo[e];return(0,s.jsx)(eT,{label:(0,s.jsx)(A.A,{id:e}),value:(0,s.jsx)(A.A,{id:t}),inLine:a},e)}),(0,s.jsx)(eT,{label:(0,s.jsx)(A.A,{id:"player_shirt_number"}),value:i.jerseyNumber,inLine:a})]})};var eP=r(41090);function eR(e){let{player:t}=e;return(0,s.jsx)(J.az,{w:["100%","50%"],p:[0,"sm"],children:(0,s.jsx)(C.Zp,{children:(0,s.jsxs)(J.so,{direction:"column",gap:"lg",pt:"md",px:"lg",pb:"lg",br:"sm",children:[(0,s.jsxs)(J.so,{direction:"row",justify:"space-between",align:"center",children:[(0,s.jsxs)(J.so,{align:"center",children:[(0,s.jsx)(ek.p5Z,{fill:"error.default"}),(0,s.jsx)(J.EY,{font:"display.medium",color:"error.default",pl:"sm",children:(0,s.jsx)(eP.o,{id:t.injury.status})})]}),(0,s.jsxs)(J.so,{direction:"column",align:"flex-end",children:[(0,s.jsx)(J.EY,{font:"body.small",color:"onSurface.nLv3",pl:"sm",children:(0,s.jsx)(A.A,{id:"lastUpdated"})}),(0,s.jsx)(J.EY,{font:"body.small",color:"onSurface.nLv3",pl:"sm",children:(0,s.jsx)(ew.XU,{value:new Date(1e3*t.injury.updateDateTimestamp),...eb.or.dateWithShortMonth,timeZone:"UTC"})})]})]}),(0,s.jsxs)(J.so,{direction:"row",justify:"space-between",align:"center",children:[(0,s.jsx)(J.EY,{font:"body.medium",color:"onSurface.nLv1",children:(0,s.jsx)(A.A,{id:"details"})}),(0,s.jsx)(J.EY,{font:"body.medium",children:(0,s.jsx)(eP.o,{id:t.injury.reason})})]}),(0,s.jsxs)(J.so,{direction:"row",justify:"space-between",align:"center",children:[(0,s.jsx)(J.EY,{font:"body.medium",children:(0,s.jsx)(A.A,{id:"startDate"})}),(0,s.jsx)(J.EY,{font:"body.medium",children:(0,s.jsx)(ew.XU,{value:new Date(1e3*t.injury.startDateTimestamp),...eb.or.dateWithShortMonth,timeZone:"UTC"})})]})]})})})}var eM=r(33144),eF=r(88505);let eE=e=>{let{player:t,expectedTransfer:r}=e,n=t.team.disabled?null:{sport:t.team.sport.slug,team:t.team},i=n?D.gT:o.Fragment,a=(0,o.useContext)(d.Ws),l=t.retired||"no-team"===t.team.slug;return(0,s.jsxs)(J.so,{justify:"space-between",children:[(0,s.jsx)(J.az,{display:["block","none"],children:(0,s.jsx)(i,{sport:null==n?void 0:n.sport,team:null==n?void 0:n.team,children:(0,s.jsxs)(J.so,{py:"sm",px:["sm","lg"],align:"center",cursor:l?"default":"pointer",children:[(0,s.jsx)(J.az,{w:"40",h:"40",children:(0,s.jsx)(eM.p,{id:t.retired?-1:t.team.id,name:t.retired?void 0:t.team.slug,size:40})}),(0,s.jsxs)(J.az,{ml:"lg",children:[(0,s.jsx)(J.EY,{font:"display.medium",color:"onSurface.nLv1",hover:!l,as:"div",children:t.retired?(0,s.jsx)(A.A,{id:"career_retired"}):(0,s.jsx)(eF.Rm,{team:t.team})}),t.contractUntilTimestamp&&(0,s.jsxs)(J.EY,{lineHeight:"16px",font:"assistive.default",color:"onSurface.nLv3",as:"div",children:[(0,s.jsx)(A.A,{id:"contract_until"})," ",(0,s.jsx)(ew.XU,{value:1e3*t.contractUntilTimestamp,...eb.or.dateWithShortMonth,timeZone:"UTC"})]})]})]})})}),r&&!t.retired&&(0,s.jsxs)(J.az,{p:"sm",pr:"lg",children:[(0,s.jsxs)(J.so,{mb:"xxs",gap:"xxs",align:"center",children:[r.transferFrom&&(0,s.jsx)(D.gT,{team:r.transferFrom,sport:a,children:(0,s.jsx)(eM.p,{id:r.transferFrom.id,name:r.transferFrom.name,size:20})}),(0,s.jsx)(ek.ZmP,{fill:"onSurface.nLv1"}),r.transferTo&&(0,s.jsx)(D.gT,{team:r.transferTo,sport:a,children:(0,s.jsx)(eM.p,{id:r.transferTo.id,name:r.transferTo.name,size:20})})]}),(0,s.jsx)(J.EY,{font:"assistive.default",color:"onSurface.nLv3",align:"right",as:"div",children:(0,s.jsx)(ew.XU,{value:new Date(1e3*r.transferDateTimestamp),...eb.or.dateWithShortMonth})})]})]})};var eB=r(3411),eI=r(78203),ez=r(60408),eH=r(93081);function eD(e){let{player:t,lastYearSummary:r,expectedTransfer:i,hasPentagon:a,uniqueTournamentsMap:l}=e,{slug:o}=t.team.sport,d=o===n.QCR.Football,c=o===n.QCR.Cricket,u=o===n.QCR.IceHockey,p=o===n.QCR.Basketball,h=!!(t.injury&&(u||p)),x=t.team.primaryUniqueTournament&&t.proposedMarketValueRaw;return(0,s.jsx)(G.t,{tag:"PlayerDetailsMobile",children:(0,s.jsxs)(J.so,{direction:"column",gap:"sm",children:[!t.deceased&&(0,s.jsx)(C.Zp,{children:(0,s.jsx)(eE,{player:t,expectedTransfer:i})}),(0,s.jsxs)(C.Zp,{children:[(0,s.jsx)(eL,{player:t,inLine:!d&&!c&&!u||u&&!t.injury}),x&&(0,s.jsx)(k.az,{p:"sm",children:(0,s.jsx)(C.WC,{variant:"inverse",children:(0,s.jsx)(eH.A,{playerId:t.id,proposedMarketValueRaw:t.proposedMarketValueRaw})})})]}),!!r&&(0,s.jsx)(ez.A,{lastYearSummary:r,uniqueTournamentsMap:l,containerId:"LYS-incidents-mobile",graphId:"js-LYS-ref-graph-mobile"}),a&&(0,s.jsx)(eB.W,{player:t}),d&&(0,s.jsx)(eI.A,{player:t}),h&&(0,s.jsx)(eR,{player:t})]})})}var eO=r(21704);let eY=()=>(0,s.jsxs)(C.Zp,{children:[(0,s.jsx)(C.Zp.Header,{titleId:"transfer_history"}),(0,s.jsxs)(k.so,{direction:{base:"column",md:"row"},children:[(0,s.jsx)(k.az,{w:{base:"100%",md:"1/2"},h:{base:"[278px]",md:"[328px]"},p:"sm",children:(0,s.jsx)(k.az,{h:"[174px]",bg:"surface.s2",br:"lg"})}),(0,s.jsx)(k.az,{w:{base:"100%",md:"1/2"},mdDown:{mt:"sm",pt:"sm",borderTop:"1px solid",borderTopColor:"neutrals.nLv4"},pb:"lg",h:{base:"[337px]",md:"[328px]"}})]})]}),eU=et()(()=>r.e(81889).then(r.bind(r,81889)),{loadableGenerated:{webpack:()=>[81889]},ssr:!1,loading:()=>(0,s.jsx)(eY,{})});function eW(e){var t;let{player:r,transfers:i,...a}=e,l=r.team.sport.slug===n.QCR.Football,o=r.team.sport.slug===n.QCR.Basketball,d=r.team.sport.slug===n.QCR.AmericanFootball,c=i?i.sort((e,t)=>t.transferDateTimestamp-e.transferDateTimestamp):null,u=c&&1e3*c[0].transferDateTimestamp>Date.now()?c[0]:null;return(0,s.jsx)(J.tU.Panel,{tabKey:o||d?F.x.Info:F.x.Details,children:(0,s.jsxs)(C.BU,{children:[(0,s.jsx)(eD,{player:r,expectedTransfer:u,...a}),(l||o)&&(0,s.jsx)(eU,{playerId:r.id,transfers:i,sport:r.team.sport.slug,proposedMarketValueRaw:r.proposedMarketValueRaw}),(0,s.jsx)(Z._,{page:{location:x.XN.PlayerScreen,entity:r}}),(0,s.jsx)(V.Y,{utId:null==(t=r.team.primaryUniqueTournament)?void 0:t.id,location:x.XN.PlayerScreen,bgImageUrl:n.cWY.image(r.team.id)}),(0,s.jsx)(eO.Ay,{playerId:r.id}),(0,s.jsx)($.A,{player:r})]})})}let eN=et()(()=>Promise.all([r.e(26733),r.e(63126)]).then(r.bind(r,63126)),{loadableGenerated:{webpack:()=>[63126]},ssr:!1,loading:()=>(0,s.jsx)(k.az,{h:"[1000px]"})});function eG(e){let{playerId:t}=e;return(0,s.jsx)(J.tU.Panel,{tabKey:F.x.PlayerFantasy,children:(0,s.jsx)(eN,{playerId:t})})}var eq=r(45860),eQ=r(64536);let eK=et()(()=>r.e(69965).then(r.bind(r,69965)),{loadableGenerated:{webpack:()=>[69965]}});function eZ(e){let{player:t,transfers:r}=e,{hasMatches:i}=(0,B.A)({hasMatches:{route:n.qvj.events(t.id)}}),a=(e=>{let t=(0,ei.o)(),[r,s]=(0,o.useState)(void 0),[i,a]=(0,o.useState)((0,eQ.Ci)(t)),{data:l,isLoading:d}=(0,eq.Ay)(n.qvj.uniqueTournaments(e));return{selectedTournament:r,setSelectedTournament:s,uniqueTournaments:(null==l?void 0:l.uniqueTournaments)||[],isFetching:d,statisticFilter:i,setStatisticFilter:a}})(t.id);return(0,s.jsx)(J.tU.Panel,{tabKey:F.x.Matches,children:i?(0,s.jsx)(eK,{id:t.id,entity:n.wNW.Player,player:t,transfers:r,playerFilters:a}):(0,s.jsx)(J.az,{p:"sm",children:(0,s.jsx)(C.Zp,{children:(0,s.jsx)(T.p,{graphic:"no-events",titleMessageId:"basic.noEvents",descriptionMessageId:"eventList.noAvailableEvents"})})})})}let eV=et()(()=>Promise.all([r.e(54012),r.e(62639),r.e(43409),r.e(14541)]).then(r.bind(r,14541)),{loadableGenerated:{webpack:()=>[14541]}});function eX(e){let{player:t,sport:r}=e;return(0,s.jsx)(J.tU.Panel,{tabKey:E.v.includes(r)?F.x.Season:F.x.Statistics,children:(0,s.jsx)(eV,{player:t,sport:t.team.sport.slug})})}var e$=r(94446),eJ=r(34431),e0=r(28377),e1=r(15340),e2=r(36882),e4=r(70344),e6=r(94156);let e3=e=>{let{id:t,slug:r}=e,{isMobile:n}=(0,w.$c)();return(0,s.jsx)(D.N_,{routeKey:"manager",params:{id:t,slug:r},children:(0,s.jsxs)(J.so,{px:"md",py:"xs",bg:["primary.default","overlay.darken1"],align:"center",br:"lg",children:[(0,s.jsx)(J.EY,{lineHeight:"16px",font:"assistive.default",c:["surface.s1","onColor.primary"],mr:"xxs",children:(0,s.jsx)(A.A,{id:"manager_profile"})}),(0,s.jsx)(ek.CCT,{fill:n?"surface.s1":"onColor.primary"})]})})},e9=e=>{let{id:t,sport:r}=e,{data:i}=(0,eq.Ay)([n.qvj.uniqueTournamentSeasons(t),"HEAD"],{fetcher:e4.n});return i?(0,s.jsx)(eJ.O,{type:"player",id:t,sport:r}):null},e5=function(e){var t,r;let{player:a}=e,l=n.USm.includes(a.team.sport.slug),o=null==(r=a.country)||null==(t=r.alpha2)?void 0:t.toLowerCase(),d=o?(0,n.RHm)(o):void 0,c=a.team.id&&!(a.retired||"no-team"===a.team.slug)?n.cWY.image(a.team.id):d,u=a.team.sport.slug,p=a.deceased,h=a.retired,x=i.mz.includes(u);return(0,s.jsx)(e0.z4,{bgImageSrc:c,flexProps:{px:0,py:0},elevation:[void 0,2],children:(0,s.jsxs)(J.so,{w:"100%",justify:"space-between",align:"center",p:["lg","xl"],pr:["lg","sm"],children:[(0,s.jsxs)(J.so,{grow:2,w:"100%",align:"center",children:[(0,s.jsx)(e$.t,{id:a.id,name:a.slug,size:112,mr:["lg","xl"],grayscale:a.deceased}),(0,s.jsxs)(J.so,{align:"flex-start",direction:"column",children:[(0,s.jsx)(J.so,{gap:"sm",align:"center",mb:["xxs","sm"],children:(0,s.jsx)(J.EY,{font:["display.large","display.extraLarge"],c:["onSurface.nLv1","onColor.primary"],m:0,as:"h2",ellipsis:!0,whiteSpace:"nowrap",overflow:"hidden",maxW:"400px",children:(0,s.jsx)(e6.c,{entity:a})})}),(0,s.jsxs)(J.so,{wrap:"wrap",align:"center",gap:"md",children:[a.deceased&&(0,s.jsxs)(J.so,{align:"center",children:[(0,s.jsx)(e$.p,{id:a.team.id,name:a.team.name,national:a.team.national,size:16,mr:"xs"}),(0,s.jsx)(J.EY,{font:["assistive.default","display.medium"],c:["onSurface.nLv3","onColor.primary"],children:(0,s.jsx)(A.A,{id:"deceasedYear",values:{year:void 0}})})]}),x&&(0,s.jsx)(e9,{id:a.id,sport:u}),a.managerId&&(0,s.jsx)(e3,{id:a.managerId,slug:u})]})]})]}),(0,s.jsx)(J.az,{children:l&&!p&&!h&&(0,s.jsx)(e1.e,{id:a.id,entity:n.bq7.Players,location:e2.y.Header,type:e2.b.Player})})]})})},e8=et()(()=>r.e(81957).then(r.bind(r,81957)),{loadableGenerated:{webpack:()=>[81957]}});function e7(e){let{player:t}=e;return(0,s.jsx)(J.tU.Panel,{tabKey:F.x.Career,children:(0,s.jsx)(e8,{player:t})})}function te(e){let{player:t,transfers:r,...a}=e,l=t.team.sport,o=t.team.primaryUniqueTournament,{isFantasyEnabled:d,showFantasyEntry:c}=(0,R.t)(),[u,p]=(0,I.Ay)({routeKey:i.xW.Player,params:{slug:t.slug,id:t.id,sport:l.slug}}),{hasStatisticsTab:h,hasFantasyData:x,hasCareerData:m}=(0,B.A)({hasStatisticsTab:{route:n.qvj.uniqueTournamentSeasons(t.id),skipCheck:!N.F0.includes(l.slug)},hasFantasyData:{route:n.lVT.playerCompetitions(t.id),skipCheck:!d},hasCareerData:{route:n.qvj.uniqueTournamentSeasonsStatistics(t.id),skipCheck:!E.v.includes(l.slug)}},[t.id,d]),g=c&&x,f=m&&h,y=function(e,t,r,s){if(E.l.includes(e))return[{tabKey:F.x.Season,item:"season",isHidden:!t},{tabKey:F.x.Matches,item:"games",values:{sport:(0,em.ap)(e)}},{tabKey:F.x.Career,item:"am_football_career_tab",isHidden:!r},{tabKey:F.x.Info,item:"info"},{tabKey:F.x.PlayerFantasy,item:"fantasy",isHidden:!s}];let n=E.v.includes(e);return[{tabKey:F.x.Details,item:"details"},{tabKey:n?F.x.Season:F.x.Statistics,item:n?"season":"statistics",isHidden:!t},{tabKey:F.x.Matches,item:"matches",values:{sport:(0,em.ap)(e)}},{tabKey:F.x.Career,item:"am_football_career_tab",isHidden:!r},{tabKey:F.x.PlayerFantasy,item:"fantasy",isHidden:!s}]}(l.slug,h,f,g),j=(null==u?void 0:u.tab)||eg(l.slug,y);return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)(k.az,{bg:"surface.s1",children:[(0,s.jsx)(U,{player:t,sport:l,uniqueTournament:o}),(0,s.jsx)(e5,{player:t})]}),(0,s.jsx)(M.A,{id:t.id,location:M.C.PlayerPage,initialTabKey:j,customControls:[j,e=>{p("tab",e),ef("defaultUniqueTournamentId"),ef("defaultSeasonId"),ef("defaultSeasonType")}],tabs:y,children:(0,s.jsxs)(k.az,{bg:"surface.s0",children:[(0,s.jsx)(eW,{player:t,transfers:r,...a}),h&&(0,s.jsx)(eX,{player:t,sport:l.slug}),f&&(0,s.jsx)(e7,{player:t}),(0,s.jsx)(eZ,{player:t,transfers:r}),g&&(0,s.jsx)(eG,{playerId:t.id})]})})]})}let tt=(0,o.memo)(function(e){var t;let{player:r}=e,a=null==r?void 0:r.deceased,l=null==r?void 0:r.retired;return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(_,{player:r}),(0,s.jsxs)(d.Ws.Provider,{value:r.team.sport.slug,children:[(0,s.jsx)(u.$B,{children:(0,s.jsx)(te,{...e})}),(0,s.jsx)(u.h6,{children:(0,s.jsx)(c.JR,{route:i.xW.Player,children:(0,s.jsx)(ej,{...e})})}),!0!==a&&!0!==l&&(0,s.jsx)(p.A,{entity:n.bq7.MutedPlayers,entityGroup:"player",id:r.id,entityTournamentId:null==(t=r.team.primaryUniqueTournament)?void 0:t.id}),(0,s.jsx)(h.N,{page:{location:x.XN.PlayerScreen,entity:r}})]})]})},function(e,t){return e.player.id===t.player.id});var tr=r(61306),ts=r(18153),tn=r(45906);function ti(e){return"error"in e?(0,s.jsx)(tn.default,{statusCode:e.error.code||404}):(0,s.jsx)(l.an,{value:{seoContent:e.seoContent},children:(0,s.jsx)(tt,{...e})})}ti.getInitialProps=tr.A.getInitialPageProps(e=>async function(t){let{req:r,res:s,query:l,...o}=t,d=r?r._originalUrl:o.asPath,c=a.z.getCurrentLocale(d),u=r&&r.params?r.params:l,p=Number(u.id),h=u.slug,[x,m,g,f,y]=await Promise.allSettled([n.uuS.fetchPlayerDetails(p),n.uuS.fetchPlayerTransferHistory(p),n.uuS.hasPlayerPentagon(p),n.uuS.fetchPlayerLastYearSummary(p),n.sdF.getSeoContent(n.wNW.Player,p,c)]);try{let t,r;if("rejected"===x.status)throw Error(x.reason);"fulfilled"===f.status&&f.value.summary.length&&(t=f.value.summary,r=f.value.uniqueTournamentsMap);let n=x.value.player,l="fulfilled"===m.status?m.value.transferHistory:void 0,o="fulfilled"===y.status?y.value.content:void 0,d="fulfilled"===g.status&&g.value,j=u.sport||n.team.sport.slug;if(!i.Hk.includes(j))throw Error("Unsupported sport");return s&&(n.slug!==h||n.id!==p)&&(s.writeHead(301,{Location:a.z.getTranslatedRoute(c,"player",{id:n.id,slug:n.slug,sport:j}).route}),s.end()),e.dispatch((0,ts.Vy)(j)),{player:n,transfers:l,seoContent:o,lastYearSummary:t,uniqueTournamentsMap:r,hasPentagon:d}}catch(e){return{error:{code:404}}}})},98366:(e,t,r)=>{"use strict";r.d(t,{Bg:()=>x,HU:()=>i,Q1:()=>n,Sz:()=>h,TC:()=>p,W6:()=>u,cS:()=>c,eM:()=>a,mc:()=>o,tO:()=>d});let s=[["attacking","saves"],["runsOut","technical","anticipation","runs-out"],["tactical"],["defending","ballDistribution","ball-distribution"],["creativity","aerial"]],n={attacking:"attacking",creativity:"player_ability_creativity",defending:"defending",tactical:"player_ability_tactical",technical:"player_ability_technical",aerial:"player_ability_aerial_reach",anticipation:"player_ability_anticipation",ballDistribution:"player_ability_ball_distribution",saves:"player_ability_saves"},i={saves:"SAV",anticipation:"ANT",tactical:"TAC",ballDistribution:"BAL",aerial:"AER",attacking:"ATT",technical:"TEC",defending:"DEF",creativity:"CRE"},a={AVG:Symbol("AVG"),BASE:Symbol("BASE"),COMPARE:Symbol("COMPARE"),COMPARE_SELF:Symbol("COMPARE_SELF")};function l(e){return Math.PI/180*e}function o(e){let t=[];return s.forEach((r,s)=>{r.forEach(r=>{r in e&&(t[s]={value:e[r],name:r})})}),t}function d(e){return e.map((e,t)=>(function(e,t){let r=-(100*Math.cos(l(72*t)));return[100*Math.sin(l(72*t)),r].map(t=>t*e/100+100)})(Number(e),t))}function c(e){return e.reduce((e,t)=>"".concat(e).concat(t[0],",").concat(t[1]," "),"").trim()}function u(e){return e>=90?"colors.rating.s90":e>=80?"colors.rating.s80":e>=70?"colors.rating.s70":e>=65?"colors.rating.s65":e>=60?"colors.rating.s60":e>=10?"colors.rating.s10":"colors.rating.s00"}function p(e){return e?{playerPentagons:e.playerAttributeOverviews,averagePentagons:e.averageAttributeOverviews}:null}function h(e,t){return e.find(e=>e.yearShift===t)||null}function x(e,t,r,s){let n=[],i=[],{playerPentagons:l,averagePentagons:d}={...e};if(null==l?void 0:l.length){let e=h(l,t?r:0);if(e&&(e.__type=a.BASE),n.push(e?o(e):null),i.push(e),s)i.push(null);else{let e=null,s=null;t?t&&(e=h(t.playerPentagons,r))&&(e.__type=a.COMPARE,s=o(e)):r?(e=h(l,r))&&(e.__type=a.COMPARE_SELF,s=o(e)):(null==d?void 0:d.length)&&((e=d[0]).__type=a.AVG),n.push(s),i.push(e)}i.reverse()}return{attributes:n,pentagonLayers:i}}}},e=>{e.O(0,[14092,56591,19888,10395,14632,58621,80187,12155,28018,19960,20288,93785,3074,14617,29145,8521,19947,26260,90636,46593,38792],()=>e(e.s=50284)),_N_E=e.O()}]);