!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]="d1709d7c-0204-4aef-8f17-750762ef21cd",e._sentryDebugIdIdentifier="sentry-dbid-d1709d7c-0204-4aef-8f17-750762ef21cd")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8056,35729,87887],{1139:(e,t,r)=>{var s=r(68988),a=r(20648);e.exports=function(e,t){return a(e,s(t,2))}},1689:(e,t,r)=>{"use strict";r.d(t,{A:()=>x});var s=r(6029),a=r(36729),n=r(56591);r(14632);var l=r(55729),i=r(41735),o=r(77552),d=r(72555);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"}}},p=(e,t,r)=>{let s=e.selectAll("polygon").data(t,(e,t)=>t.toString());s.enter().append("polygon").merge(s).transition("Pentagon transition").ease(a.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=>r.getColorFromVar(u(null==e?void 0:e.__type,r).fill)).attr("stroke",e=>r.getColorFromVar(u(null==e?void 0:e.__type,r).stroke))};function x(e){let{data:t,onGraphClick:r}=e,a=(0,l.useContext)(i.ThemeContext),[d,c]=(0,l.useState)(),u=(0,l.useRef)(null);return(0,l.useEffect)(()=>{if(d)p(d,t,a);else{let e=u.current;c((0,n.A)(e).append("g").on("click",r))}},[d,t]),(0,s.jsx)(o.A,{ref:u})}},3898:(e,t,r)=>{"use strict";r.d(t,{dq:()=>s.default,OE:()=>o,mw:()=>c.TeamMedia,in:()=>d});var s=r(5884),a=r(6029),n=r(21377),l=r(45860),i=r(17239);function o(e){let{playerId:t}=e,{data:r}=(0,l.Ay)(n.qvj.media(t));return r?(0,a.jsx)(i.$,{highlights:r.media}):null}function d(e){let{tournamentId:t}=e,{data:r}=(0,l.Ay)(n.yKR.media(t));return r&&r.media.length?(0,a.jsx)(i.$,{highlights:r.media}):null}r(55342),r(8056);var c=r(35729)},5884:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>o});var s=r(6029),a=r(21377),n=r(45860),l=r(42621),i=r(17239);function o(e){let{eventId:t,hideTitle:r,eventHighlightId:o}=e,{data:d}=(0,n.Ay)(a.bnp.eventHighlights(t));return d?(0,s.jsx)(l.q,{persist:!0,children:(0,s.jsx)(i.$,{highlights:d.highlights,hideTitle:r,eventHighlightId:o})}):null}},8056:(e,t,r)=>{"use strict";r.r(t),r.d(t,{UniqueTournamentMedia:()=>i,default:()=>o});var s=r(6029),a=r(21377),n=r(45860),l=r(17239);function i(e){let{uniqueTournamentId:t,hideTitle:r}=e,{data:i}=(0,n.Ay)(a.V3t.media(t));return i&&i.media.length?(0,s.jsx)(l.$,{highlights:i.media,hideTitle:r}):null}let o=i},11998:(e,t,r)=>{"use strict";r.d(t,{n:()=>l});var s=r(6029),a=r(76356),n=r(48683);function l(){return(0,s.jsxs)(n.Zp,{children:[(0,s.jsx)(n.Zp.Header,{titleId:"media"}),(0,s.jsx)(a.az,{h:"[800px]"})]})}},13062:(e,t,r)=>{"use strict";r.d(t,{W:()=>g});var s=r(6029),a=r(21501),n=r(71024),l=r.n(n),i=r(48683),o=r(80932),d=r(28349),c=r(76356),u=r(90248),p=r(54409);r(93024);var x=r(77552);r(1689);var m=r(47430);function h(){return(0,s.jsxs)(i.Zp,{children:[(0,s.jsx)(i.Zp.Header,{titleId:"player.info.attributeOverview",actionComponent:(0,s.jsx)(m.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)(x.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 y=l()(()=>r.e(55571).then(r.bind(r,55571)),{loadableGenerated:{webpack:()=>[55571]},ssr:!1,loading:()=>(0,s.jsx)(h,{})});function g(e){let{player:t}=e,{pentagons:r,isPentagonDataLoading:n,isError:l}=(0,o.s)(t.id),d=(0,a.hX)(),c=(null==r?void 0:r.playerPentagons.length)&&0!==r.playerPentagons[0].yearShift?null:r;return l||null===c&&!n?null:(0,s.jsxs)(i.Zp,{children:[(d||n)&&(0,s.jsx)(h,{}),!d&&!n&&!!c&&(0,s.jsx)(y,{basePlayer:t,basePentagons:c})]})}},13731:(e,t,r)=>{var s=r(53325),a=r(25725),n=Object.prototype.hasOwnProperty;e.exports=a(function(e,t,r){n.call(e,r)?e[r].push(t):s(e,r,[t])})},14196:(e,t,r)=>{"use strict";r.d(t,{G:()=>a,v:()=>n});var s=r(21377);let a=[s.QCR.AmericanFootball,s.QCR.Basketball],n=[s.QCR.AmericanFootball,s.QCR.Basketball,s.QCR.Football]},17239:(e,t,r)=>{"use strict";r.d(t,{$:()=>E});var s=r(6029),a=r(4967),n=r(28349),l=r(76356),i=r(93338),o=r(99064),d=r(55729),c=r(90248),u=r(494),p=r(48683),x=r(62859),m=r(54409),h=r(75751),y=r(47146),g=r(61836),j=r(10794);let f=(0,l.I4)("div",{base:{display:"grid",w:"[144px]",h:"8xl",position:"absolute",top:"0",left:"0",bg:"overlay.darken1","& svg":{margin:"auto"}}}),v=(0,l.I4)("div",{base:{"& a:visited":{"& .media-component-seen-notice":{color:"neutral.default !important"}},"& img":{display:"block",br:"2xs"}}});var b=r(21377);let w=/sofascore.com\/news\//g,_=[b.zut.MEDIA_VIDEO,b.zut.MEDIA_NEWS_VIDEO,b.zut.MEDIA_YOUTUBE_VIDEO],S=e=>w.test(e),A=e=>-1!==_.indexOf(e),k=e=>{let t=document.createElement("a");return t.href=e,t.host},C=e=>{if(e){let r=k(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")}}},T=e=>{let{highlight:t}=e;return(0,s.jsx)(l.I4.a,{href:t.url,target:"_blank",rel:t.doFollow||S(t.url)?void 0:"nofollow",onClick:()=>(0,g.Xy)(t.title),children:(0,s.jsxs)(l.so,{gap:"lg",children:[(0,s.jsxs)(l.az,{position:"relative",children:[(0,s.jsx)(o._V,{src:t.thumbnailUrl||C(t.url),width:"144",height:"80",fallback:(0,s.jsx)(l.az,{w:"[144px]",h:"8xl",bg:"neutrals.nLv4",display:"grid",br:"2xs",children:(0,s.jsx)(m.dwH,{m:"auto",fill:i.S.var("colors.neutrals.nLv4")})}),alt:"thumbnail"}),A(t.mediaType)&&(0,s.jsx)(f,{children:(0,s.jsx)(m.reY,{fill:"white"})})]}),(0,s.jsxs)(l.so,{direction:"column",justify:"space-between",grow:1,style:{maxWidth:"calc(100% - 144px)"},children:[(0,s.jsxs)(l.so,{direction:"column",align:"start",gap:"xs",children:[(0,s.jsx)(n.Ym,{textStyle:"display.small",display:"block",lineClamp:2,children:t.title}),(0,s.jsx)(n.EY,{textStyle:"assistive.default",color:"neutrals.nLv3",w:"100%",lineClamp:1,children:t.subtitle})]}),(0,s.jsxs)(l.so,{justify:"space-between",pt:"xs",children:[(0,s.jsx)(n.Ym,{textStyle:"body.small",color:"neutrals.nLv3",w:"100%",_firstLetter:{textTransform:"capitalize"},truncate:!0,children:(0,s.jsx)(y.v,{timestamp:(0,a.pp)(t.createdAtTimestamp).getTime()})}),(0,s.jsx)(n.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"})})]})]})]})})},E=e=>{let{highlights:t,hideTitle:r,eventHighlightId:a}=e,[i,o]=(0,d.useState)(!1),c=(0,u.d4)(j.JV),m=(0,u.d4)(j.LQ),{location:y}=(0,d.useContext)(x.y$),g=y===x.cb.Widget,{isDesktop:f}=(0,n.$c)(),b=!f||g,w=(function(e){let{media:t,selectedLocale:r,geoIPAlpha2:s,n:a=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,a)})({media:[...t],selectedLocale:c,geoIPAlpha2:m||""}).filter(e=>e.id!==a),_=w.length>3,S=i||b?w:w.slice(0,3);return S.length?(0,s.jsx)(h.t,{tag:"Media",children:(0,s.jsxs)(p.Zp,{children:[!r&&(0,s.jsx)(p.Zp.Header,{titleId:"media",as:"h4"}),(0,s.jsx)(l.az,{py:b?"sm":void 0,children:(0,s.jsx)(v,{children:(0,s.jsx)(p.BU,{children:S.map(e=>(0,s.jsx)(T,{highlight:e},e.id))})})}),!b&&(0,s.jsx)(p.Zp.Footer,{ctaParams:_?{messageId:i?"show_less":"show_more",onClick:()=>o(e=>!e),icon:i?p.Xb.Up:p.Xb.Down}:void 0})]})}):null}},18040:(e,t,r)=>{"use strict";r.d(t,{O:()=>u});var s=r(6029),a=r(21377),n=r(28349),l=r(947),i=r(90248),o=r(12153),d=r(14444),c=r(54409);let u=e=>{let{id:t,type:r,sport:u,iconOnly:p,secondId:x}=e,{isMobile:m}=(0,n.$c)(),h="player"===r||u===a.QCR.Tennis?c.cSg:c.l3$,{formatMessage:y}=(0,l.A)();return(0,s.jsx)(o.A,{routeKey:"comparison",query:(0,d.k9)(x?[t,x]:[t]),params:{sport:u,entityType:r},"aria-label":y({id:"compare"}),children:p?(0,s.jsx)(n.D7,{children:(0,s.jsx)(h,{style:{width:24,height:24}})}):(0,s.jsxs)(n.$n,{size:m?"tertiary":"secondary",children:[(0,s.jsx)(h,{}),(0,s.jsx)(i.A,{id:"compare"})]})})}},18645:(e,t,r)=>{"use strict";r.d(t,{eD:()=>n.e,pY:()=>a.p,tg:()=>s.t});var s=r(91407),a=r(91603),n=r(33480)},18916:(e,t,r)=>{"use strict";r.d(t,{F0:()=>a,N8:()=>l,qT:()=>n});var s=r(21377);let a=[s.QCR.Football,s.QCR.Futsal,s.QCR.Handball,s.QCR.Basketball,s.QCR.AmericanFootball,s.QCR.IceHockey,s.QCR.Tennis,s.QCR.Volleyball],n=[s.QCR.AmericanFootball,s.QCR.Handball,s.QCR.Baseball],l=["overall","playoffs","regularSeason","top16"]},20339:(e,t,r)=>{"use strict";r.d(t,{A:()=>y});var s=r(6029),a=r(33144),n=r(21377),l=r(4967),i=r(28349),o=r(76356),d=r(90248),c=r(90510),u=r(45860),p=r(48683),x=r(13266),m=r(94604);function h(e){let{id:t,children:r}=e;return(0,s.jsxs)(o.so,{direction:"column",align:"center",children:[(0,s.jsx)(i.EY,{textStyle:"assistive.micro",textTransform:"uppercase",color:"neutrals.nLv3",children:(0,s.jsx)(d.A,{id:t})}),(0,s.jsx)(i.EY,{textStyle:"display.medium",children:r})]})}let y=function(e){var t;let{playerId:r}=e,{data:y}=(0,u.Ay)(n.qvj.nationalTeamStatistics(r));return(null==y||null==(t=y.statistics)?void 0:t.length)?(0,s.jsxs)(p.Zp,{children:[(0,s.jsx)(p.Zp.Header,{titleId:"national_team"}),y.statistics.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)(x.gT,{team:t,sport:t.sport.slug,children:(0,s.jsxs)(o.so,{align:"center",gap:"lg",children:[(0,s.jsx)(a.p,{national:!0,size:40,id:t.id}),(0,s.jsxs)(o.BJ,{gap:"0",children:[(0,s.jsx)(i.EY,{textStyle:"display.medium",children:(0,s.jsx)(m.Rm,{team:t,showFemaleSuffix:t.gender===n.YT8.Female})}),(0,s.jsx)(i.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)(h,{id:"national_team_debut",children:(0,s.jsx)(c.XU,{value:new Date(1e3*p),timeZone:"UTC",...l.or.dateWithShortMonth})}),(0,s.jsx)(h,{id:"match_appearances",children:r}),(0,s.jsx)(h,{id:"goals",children:u})]})]},"".concat(t.id,"-").concat(p))}),(0,s.jsx)(p.Zp.Footer,{defaultHeight:"sm"})]}):null}},20648:(e,t,r)=>{var s=r(57760),a=0/0;e.exports=function(e,t){var r=null==e?0:e.length;return r?s(e,t)/r:a}},21295:(e,t,r)=>{"use strict";r.d(t,{A:()=>M});var s=r(6029),a=r(21377),n=r(494),l=r(70116),i=r(73411),o=r(1300),d=r(61836),c=r(10794),u=r(28349),p=r(21501),x=r(76356),m=r(90248),h=r(18645);let y=e=>{let{entityId:t,entity:r}=e;switch(r){case a.bq7.MutedPlayers:return(0,s.jsx)(h.tg,{id:t,size:40});case a.bq7.MutedTeams:return(0,s.jsx)(h.pY,{id:t,size:40});case a.bq7.MutedTournaments:return(0,s.jsx)(h.eD,{id:t,size:40});default:return null}};var g=r(54409),j=r(70757),f=r(8973);let v=e=>{switch(e){case"player":return f.b.Player;case"team":return f.b.Team;case"tournament":return f.b.UniqueTournament;default:return}},b=e=>{let{id:t,entity:r,entityGroup:a,onClick:l}=e,i=(0,n.wA)(),o=v(a);return(0,s.jsx)(u.$n,{py:"sm",pr:"md",onClick:()=>{o&&(0,d.g2)({id:t,type:o,location:f.y.Popup,isFollowed:!0}),i((0,j.UQ)(r,t)),l()},children:(0,s.jsxs)(x.zt,{gap:"xs",children:[(0,s.jsx)(u.EY,{textStyle:"action.button.primary",color:"onColor.primary",children:(0,s.jsx)(m.A,{id:"button_favourite"})}),(0,s.jsx)(g.zQC,{icon:"follow-default",className:"follow-indicator-icon",width:"24",height:"24",fill:"onColor.primary"})]})})};var w=r(4967),_=r(55729),S=r(83260),A=r(62827);let k="follow.entity.popup.",C="".concat(k,"dontShowAgain");if(!(0,a.S$s)())try{let e=(0,A.yN)("".concat(k,"organization"));null!=e&&Object.values(e).some(e=>"number"==typeof e)&&(0,A.UI)("".concat(k,"organization"))}catch(e){console.error("Error reading from localStorage:",e)}let T=e=>{try{let t="".concat(k).concat(e);for(let e=0;e{switch(e){case"player":return"add_favorite_player";case"team":return"add_favorite_team";case"tournament":return"add_favorite_league";default:return""}},P=(e,t,r)=>{let s="".concat(k).concat(t),[a,l]=(0,S.A)(s,{}),[i,o]=(0,S.A)("".concat(s,"_queue"),[]),[c,u]=(0,_.useState)(!1),[p,x]=(0,_.useState)(!1),[m,h]=(0,S.A)("".concat(C,".").concat(t),!1),[y,g]=(0,S.A)("".concat(s,"_pausedUntil"),void 0),j=(0,n.d4)(t=>t.favorites.lists[e].includes(r)||t.favorites.lists.favoriteLeagues.includes(r));(0,_.useEffect)(()=>{c&&(0,d.Ex)({id:r,source:"other",type:E(t)})},[c]),(0,_.useEffect)(()=>{if(m||y&&Date.now()e!==r):[...i];e.push(r);let t=a[r]?{count:a[r].count+1,timestamp:Date.now()}:{count:1,timestamp:Date.now()};if(4===t.count){let{[r]:t,...s}=a;l(s),o(e.filter(e=>e!==r)),u(!0);return}if(e.length>20){let s=e.shift(),{[s]:n,...i}=a;l({...i,[r]:t})}else l({...a,[r]:t});o(e)},[r]);let f=()=>{u(!1);let{[r]:e,...s}=a;l(s),p||g(Date.now()+w.d_),T(t)},v=()=>{p&&h(!0),T(t)};return{isFollowed:j,isOpen:c,handleNoThanksClose:()=>{p&&v(),f(),(0,d.t9)({action:"close",choice:p?"no_show_again":"show_again",id:r,source:"other",type:E(t)})},handleClose:()=>{u(!1)},isDontShowAgainSelected:p,toggleIsDontShowAgainSelected:()=>{x(!p)}}},z=e=>{let{entityId:t,entityGroup:r,entity:a}=e,n=(0,p.hX)(),{isFollowed:l,isOpen:i,handleNoThanksClose:o,handleClose:d,isDontShowAgainSelected:c,toggleIsDontShowAgainSelected:h}=P(a,r,t);return n||l?null:(0,s.jsxs)(u.aF,{isOpen:i,gap:"sm",p:"lg",maxW:"[380px]",children:[(0,s.jsxs)(x.az,{children:[(0,s.jsxs)(x.so,{justify:"flex-start",align:"center",gap:"md",children:[(0,s.jsx)(y,{entityId:t,entity:a}),(0,s.jsx)(u.EY,{textStyle:"display.large",children:(0,s.jsx)(m.A,{id:"popover_favourites_proposal"})})]}),(0,s.jsx)(u.EY,{mt:"lg",mb:"sm",display:"block",children:(0,s.jsx)(m.A,{id:"popover_favourites_proposal_description"})}),(0,s.jsx)(u.Sc,{checked:c,onChange:h,py:"md",children:(0,s.jsx)(u.EY,{children:(0,s.jsx)(m.A,{id:"exit_checkbox"})})})]}),(0,s.jsxs)(x.az,{alignSelf:"flex-end",pt:"lg",children:[(0,s.jsx)(u.$n,{variant:"clear",mr:"sm",onClick:o,children:(0,s.jsx)(m.A,{id:"button_not_now"})}),(0,s.jsx)(b,{id:t,entity:a,entityGroup:r,onClick:d})]})]})},L={[a.bq7.MutedTournaments]:d.XN.LeagueScreen,[a.bq7.Tournaments]:d.XN.LeagueScreen,[a.bq7.MutedTeams]:d.XN.TeamScreen,[a.bq7.Teams]:d.XN.TeamScreen,[a.bq7.MutedPlayers]:d.XN.PlayerScreen,[a.bq7.Players]:d.XN.PlayerScreen},M=e=>{let{entityGroup:t,entity:r,id:a,entityTournamentId:d}=e,{priorityModal:u}=(0,l.Z)(),{isNBAModalOpen:p,setIsNBAModalOpen:x}=(0,o.z)(d),m=(0,n.d4)(c.fg);return p&&L[r]?(0,s.jsx)(i.s,{isOpen:p,setIsOpen:x,location:L[r]}):u||m?null:(0,s.jsx)(z,{entity:r,entityId:a,entityGroup:t})}},25725:(e,t,r)=>{var s=r(81648),a=r(78492),n=r(68988),l=r(91544);e.exports=function(e,t){return function(r,i){var o=l(r)?s:a,d=t?t():{};return o(r,e,n(i,2),d)}}},26194:(e,t,r)=>{var s=r(83965),a=r(37390),n=r(45895),l=r(48877);e.exports=n(function(e,t){if(null==e)return[];var r=t.length;return r>1&&l(e,t[0],t[1])?t=[]:r>2&&l(t[0],t[1],t[2])&&(t=[t[0]]),a(e,s(t,1),[])})},34264:(e,t,r)=>{"use strict";r.d(t,{HU:()=>d.HU,KG:()=>o,Sz:()=>d.Sz,Bg:()=>d.Bg});var s=r(6029),a=r(78383),n=r.n(a),l=r(93024),i=r(1689);function o(e){let{attributes:t,pentagonLayers:r,isAnotherPlayerCompare:a,onGraphClick:o=n()}=e;return(0,s.jsx)(l.A,{data:t,isAnotherPlayerCompare:a,children:(0,s.jsx)(i.A,{data:r,onGraphClick:o})})}var d=r(72555)},35729:(e,t,r)=>{"use strict";r.r(t),r.d(t,{TeamMedia:()=>o,default:()=>d});var s=r(6029),a=r(21377),n=r(45860),l=r(17239),i=r(11998);function o(e){let{teamId:t,hideTitle:r}=e,{data:o,isLoading:d,error:c}=(0,n.Ay)(a.cWY.media(t));return d?(0,s.jsx)(i.n,{}):!o||c?null:(0,s.jsx)(l.$,{highlights:o.media,hideTitle:r})}let d=o},42525:(e,t,r)=>{"use strict";r.d(t,{C:()=>x,P:()=>p});var s=r(6029),a=r(28349),n=r(76356),l=r(93338),i=r(55729),o=r(90248),d=r(54409),c=r(62827);let u=(0,n.I4)("input",{base:{width:"100%",height:"2xl",paddingInlineEnd:"3xl",bg:"surface.s2",textStyle:"assistive.default",color:"neutrals.nLv3",border:"1px solid",borderColor:"neutrals.nLv4",borderRadius:"sm",textOverflow:"ellipsis",outline:"none",cursor:"pointer",transitionProperty:"[box-shadow, background-color]",transitionDuration:"[300ms]",_focus:{outline:"none",bg:"neutral.highlight",boxShadow:"[0 0 0 3px]",boxShadowColor:"neutral.highlight"}}});function p(e){let{embedString:t,onToggle:r}=e,[p,x]=(0,i.useState)(!1),m=(0,i.useCallback)(async e=>{p||(x(!0),setTimeout(()=>{x(!1)},3e3),"writeText"in window.navigator.clipboard?(await window.navigator.clipboard.writeText(t),(0,c.MZ)((0,s.jsxs)(n.so,{align:"center",children:[(0,s.jsx)(d.G_L,{fill:"surface.s1",mr:"lg"}),(0,s.jsx)(a.EY,{display:"block",color:"surface.s1",textStyle:"display.small",children:(0,s.jsx)(o.A,{id:"basic.copiedToClipboard"})})]}))):(e.currentTarget.focus(),e.currentTarget.select()))},[t,p]);return(0,s.jsxs)(n.az,{position:"relative",mx:{base:"[0px]",md:"xs"},my:"xs",children:[(0,s.jsx)(u,{id:t,type:"text",readOnly:!0,value:t,onClick:m,onBlur:r}),(0,s.jsx)("label",{htmlFor:t,children:(0,s.jsx)(d.i2C,{width:"24",height:"24",fill:l.S.var("colors.action.primary.default"),style:{position:"absolute",top:4,right:8,cursor:"pointer"}})})]})}function x(e){let{id:t,callToAction:r,embedString:o,inverted:c,inHeader:u,onCallToActionClick:x,...m}=e,[h,y]=(0,i.useState)(!1),{isMobile:g}=(0,a.$c)();return(0,i.useEffect)(()=>{y(!1)},[t]),g?null:(0,s.jsx)(n.az,{px:"sm",mt:"sm",...m,children:(0,s.jsxs)(n.az,{cursor:"pointer",bg:{md:c?void 0:"surface.s2"},_hover:{bg:u?"primary.highlight":void 0},br:"sm",p:{md:u?"xs":"sm"},children:[(0,s.jsxs)(n.so,{justify:"flex-end",align:"center",onClick:()=>{y(!h),null==x||x()},children:[(0,s.jsx)(a.EY,{color:c?"onColor.primary":"action.primary.default",pt:"sm",px:"sm",pb:u&&h?"xs":"sm",textStyle:{base:"assistive.default",md:"display.small"},display:"block",children:r}),(0,s.jsx)(n.az,{flexShrink:0,children:(0,s.jsx)(d.zQC,{icon:h?"chevron-up":"chevron-down",width:24,height:24,fill:c?l.S.var("colors.onColor.primary"):l.S.var("colors.action.primary.default"),mx:"xs"})})]}),h&&(0,s.jsx)(p,{embedString:o})]})})}},42621:(e,t,r)=>{"use strict";r.d(t,{q:()=>s.q});var s=r(1440)},45384:(e,t,r)=>{"use strict";r.d(t,{A:()=>W});var s=r(6029),a=r(21377),n=r(76356),l=r(95816),i=r.n(l),o=r(48683),d=r(75751),c=r(90536),u=r(54075),p=r(28349),x=r(93338),m=r(97481),h=r.n(m),y=r(55729),g=r(90248),j=r(947),f=r(54409),v=r(28446);let b=(0,v.A)().domain([5,9]).range([0,108]);var w=r(21501),_=r(56591),S=r(41735);let A=S.default.svg.withConfig({componentId:"sc-d652293c-0"})(["position:absolute;top:44px;left:",";height:","px;pointer-events:none;"],e=>e.theme.spacing.sm,()=>108);function k(e){let{injuries:t,transfers:r,yearAvgRating:a,containerId:n,graphId:l}=e,i=(0,y.useContext)(S.ThemeContext);return(0,w.st)(()=>{let e=(0,_.A)("#".concat(n));e.append("defs").attr("id","mainDefs");let s=document.getElementById(l);if(!s)return;let o=s.clientWidth-20;e.style("width","".concat(o,"px")).style("overflow","visible"),"rtl"===i.settings.textDirection&&e.style("transform","scaleX(-1)"),function(e,t,r,s){let{formattedRating:a,ratingColorKey:n}=(0,u.M)(r,"sideBox"),l=b(Number(a)),[i,o]=n.split("."),d=s.colors[i][o],c=e.selectAll("line.avg-line").data([{x1:0,x2:t,y1:l,y2:l}]);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,a,i),(null==t?void 0:t.length)&&function(e,t,r,s,a){let n=s.colors.error.default,l=(0,v.A)().domain(c.aQ()).range([0,t]).clamp(!0),i=r.map(e=>{let t=l(1e3*e.timestamp),r=l((e.timestamp+Number(e.value))*1e3);return{y:0,x:t<0?0:t,width:t<0?r:r-t,height:108}}),o=(0,_.A)("#".concat(a,"-defs")).selectAll("clipPath").data(i);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,_.A)(this):(0,_.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(i);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",n).attr("opacity",.15).attr("clip-path",(e,t)=>"url(#round-corner-".concat(t,")"));let u=e.selectAll("svg.injury").data(i);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",n)}(e,o,t,i,l),(null==r?void 0:r.length)&&function(e,t,r,s){let a=s.colors.primary.default,n=(0,v.A)().domain(c.aQ()).range([0,t]),l=e.selectAll("line.transfer-date").data(r),i=e.selectAll("svg.transfer").data(r);l.exit().remove(),i.exit().remove(),l.enter().append("line").merge(l).attr("stroke",a).classed("transfer-date",!0).style("stroke-width",2).attr("y1",22).attr("y2",108).attr("x1",e=>n(1e3*e.timestamp)).attr("x2",e=>n(1e3*e.timestamp)),i.enter().append("svg").attr("width",24).attr("height",24).attr("viewBox","0 0 24 24").merge(i).attr("y",0).attr("x",e=>n(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",a)}(e,o,r,i)},100,[a]),(0,s.jsx)(A,{id:n})}function C(){return(0,s.jsxs)(n.az,{pb:"[18px]",pt:"2xl",ml:"xs",children:[(0,s.jsxs)(n.so,{align:"end",gap:"2xs",children:[(0,s.jsx)(n.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)(n.so,{align:"end",gap:"2xs",children:[(0,s.jsx)(n.az,{h:"[36px]",w:"[6px]",bg:"rating.s70"}),(0,s.jsx)(p.EY,{textStyle:"table.small",color:"rating.s70",children:"7"})]}),(0,s.jsx)(n.az,{h:"[18px]",w:"[6px]",bg:"rating.s65"}),(0,s.jsxs)(n.so,{align:"end",gap:"2xs",children:[(0,s.jsx)(n.az,{h:"[18px]",w:"[6px]",bg:"rating.s60"}),(0,s.jsx)(p.EY,{textStyle:"table.small",color:"rating.s60",children:"6"})]}),(0,s.jsx)(n.az,{h:"[18px]",w:"[6px]",bg:"rating.s10"})]})}function T(e){let{showInjury:t,showTransfer:r}=e,{isMobile:a}=(0,p.$c)();return(0,s.jsxs)(n.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)(f.wjs,{mr:"sm",fill:"secondary.default"}),(0,s.jsx)(g.A,{id:"click_image_to_swap",values:{isMobile:a}})]}),(0,s.jsxs)(n.so,{gap:"2xl",children:[t&&(0,s.jsxs)(n.so,{children:[(0,s.jsxs)(n.az,{position:"relative",w:"xl",h:"xl",mr:"sm",children:[(0,s.jsx)(n.az,{position:"absolute",w:"xl",h:"xl",bg:"status.error.default",style:{opacity:.15},br:"2xs"}),(0,s.jsx)(f.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)(g.A,{id:"player_injured"})})]}),r&&(0,s.jsxs)(p.EY,{lineHeight:"24px",textStyle:"assistive.default",color:"neutrals.nLv3",textTransform:"capitalize",children:[(0,s.jsx)(f.G4W,{fill:"primary.default",mr:"sm",width:24,height:24}),(0,s.jsx)(g.A,{id:"player.transferLoan"})]})]})]})}function E(e){let{month:t,avgRating:r,appearances:a,showAppearances:l,showMonth:i}=e,o=(0,j.A)(),[d,m]=t.split("-").map(Number),h=new Date(d,m,0).getTime(),{formattedRating:y,ratingColorKey:g}=(0,u.M)(r),f=x.S.var(c.Et(g)),v=b(Number(y));return(0,s.jsxs)(n.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:i&&o.formatDate(h,{month:"short"}).slice(0,3)}),(0,s.jsx)(n.so,{direction:"column",justify:"flex-end",mb:"xs",style:{height:108},children:(0,s.jsx)(n.az,{borderTopRadius:"2xs",style:{backgroundColor:f,height:"".concat(v,"%")}})}),r&&(!l||a)?l?(0,s.jsx)(p.EY,{textStyle:"table.small",color:"neutrals.nLv3",textAlign:"center",display:"block",children:a}):(0,s.jsx)(p.EY,{textStyle:"table.small",textAlign:"center",lineClamp:1,display:"block",style:{color:f},children:y}):(0,s.jsx)(p.EY,{textStyle:"table.small",color:"neutrals.nLv3",textAlign:"center",display:"block",children:"-"})]})}let P=function(e){var t,r;let[l,i]=(0,y.useState)(!1),o=(0,y.useMemo)(()=>{let t=c.o5(),r=c.mR(e.summary);return h()(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}),x=(0,y.useCallback)(()=>i(e=>!e),[]),m=null==(t=e.summary)?void 0:t.filter(e=>e.type===a.XFZ.Injury),j=null==(r=e.summary)?void 0:r.filter(e=>e.type===a.XFZ.Transfer);return(0,s.jsxs)(n.BJ,{gap:"sm",children:[(0,s.jsxs)(n.az,{id:"LYS-graph-root",cursor:"pointer",onClick:x,children:[(0,s.jsxs)(n.so,{id:e.graphId,py:"md",px:"xs",position:"relative",children:[d.map((e,t)=>{var r;return(0,s.jsx)(n.az,{style:{width:"".concat(100/d.length,"%")},children:(0,s.jsx)(E,{month:e,avgRating:u[t],appearances:(null==(r=o[e])?void 0:r.length)||0,showAppearances:l,showMonth:t%2!=0})},e)}),(0,s.jsx)(C,{}),(0,s.jsx)(k,{injuries:m,transfers:j,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)(g.A,{id:l?"season_rating_graph_description_matches":"season_rating_graph_description_ratings"})})]}),(0,s.jsx)(T,{showInjury:!!(null==m?void 0:m.length),showTransfer:!!(null==j?void 0:j.length)})]})};var z=r(53684),L=r(13731),M=r.n(L),I=r(1139),F=r.n(I),R=r(26194),Y=r.n(R),H=r(80734),D=r(42621),U=r(13266),O=r(52695);function N(e){let{uniqueTournamentsMap:t,summary:r}=e,a=Object.values(t),l=r.filter(e=>e.uniqueTournamentId),i=M()(l,"uniqueTournamentId");a=Y()(a,e=>-1*i[e.id].length);let o=Object.keys(t).reduce((e,t)=>{let r=F()(i[t],e=>Number(e.value));return e[t]=r,e},{}),d=e=>i[e].length;return(0,s.jsx)(H.n,{children:a.map((e,t)=>(0,s.jsx)(U.tQ,{tournament:e,children:(0,s.jsxs)(n.so,{px:"lg",cursor:"pointer",gap:"lg",align:"center",_hover:{bg:"surface.s2"},children:[(0,s.jsx)(z.e,{id:e.id,size:40}),(0,s.jsxs)(n.so,{grow:1,borderTopColor:"neutrals.nLv4",borderTop:t?"1px solid":void 0,gap:"lg",align:"center",children:[(0,s.jsxs)(n.az,{py:"sm",children:[(0,s.jsx)(p.EY,{textStyle:"body.medium",color:"neutrals.nLv1",mb:"xs",display:"block",children:(0,s.jsx)(O.O,{uniqueTournament:e})}),(0,s.jsx)(p.EY,{textStyle:"assistive.default",color:"neutrals.nLv3",textTransform:"capitalize",children:(0,s.jsx)(g.A,{id:"player.tournamentAppearances",values:{number:d(e.id)}})})]}),(0,s.jsx)(D.q,{persist:!0,children:(0,s.jsx)(z.G,{rating:o[e.id],format:"sideBox"})})]})]})},e.id))})}function W(e){let{lastYearSummary:t,uniqueTournamentsMap:r,containerId:l,graphId:u}=e;if(!(null==t?void 0:t.length))return null;let p=(0,c.AG)(t.filter(e=>e.type===a.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)(n.az,{w:"100%",px:"sm",children:(0,s.jsx)(P,{summary:t,yearAvgRating:p,containerId:l,graphId:u})}),i()(r)?(0,s.jsx)(o.Zp.Footer,{}):(0,s.jsx)(n.az,{pt:"xs",children:(0,s.jsx)(N,{summary:t,uniqueTournamentsMap:r})})]})})}},47430:(e,t,r)=>{"use strict";r.d(t,{A:()=>p});var s=r(6029),a=r(28349),n=r(76356),l=r(55729),i=r(90248),o=r(54409),d=r(54053),c=r(34264),u=r(72555);let p=e=>{let{attributes:t}=e,[r,p]=(0,l.useState)(!1);return t?(0,s.jsxs)(n.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)(n.az,{px:"lg",maxW:{md:"[280px]"},children:[(0,s.jsx)(a.EY,{textStyle:"body.mediumParagraph",mb:"lg",display:"block",children:(0,s.jsx)(i.A,{id:"player.info.attributeOverviewDescription"})}),t.sort().map(e=>{var t;return(0,s.jsxs)(n.az,{py:"sm",children:[(0,s.jsx)(a.EY,{textStyle:"assistive.default",color:"neutrals.nLv3",textTransform:"uppercase",mr:"lg",children:c.HU[e]}),(0,s.jsx)(a.EY,{textStyle:"body.small",children:(0,s.jsx)(i.A,{id:null!=(t=u.Q1[e])?t:e})})]},e)})]})})]}):null}},50284:(e,t,r)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/player",function(){return r(54606)}])},51246:(e,t,r)=>{"use strict";r.d(t,{Ay:()=>h,mb:()=>x,op:()=>m});var s=r(6029),a=r(21377),n=r(28349),l=r(76356),i=r(55729),o=r(90248),d=r(42525),c=r(19451),u=r(84942),p=r(62827);let x="_player_has_form",m="_player_has_pentagon",h=function(e){let{player:t,locale:r,isEmbedModalVisible:h,setIsEmbedModalVisible:y}=e,[g,j]=(0,i.useState)(void 0),[f,v]=(0,i.useState)(void 0),b=(0,c.vf)(r),w="".concat(a.yuv).concat(b?"/".concat(b):"","/embed/player/").concat(t.id,"?widgetTheme=light"),_="sofa-player-embed-".concat(t.id),S="height:".concat(418+232*!!g+180*!!f,"px!important;max-width:730px!important;width:100%!important;"),A=''),k=(0,u.s)(t,r),C=async()=>{let e=await (0,p._9)(t.id+x),r=await (0,p._9)(t.id+m);v("true"===e),j("true"===r)};return(0,i.useEffect)(()=>{v(void 0),j(void 0)},[t.id]),(0,i.useEffect)(()=>{C()},[h]),(0,s.jsx)(n.aF,{isOpen:h,onClose:()=>y(!1),onOutsideClick:()=>y(!1),children:(0,s.jsxs)(l.az,{br:"lg",mx:"auto",elevation:"3",bg:"surface.sp",w:"[360px]",children:[(0,s.jsx)(n.EY,{textStyle:"display.large",p:{md:"lg"},display:"block",children:(0,s.jsx)(o.A,{id:"player_info_embed",values:{playerName:k}})}),(0,s.jsx)(l.az,{px:"sm",children:(0,s.jsx)(d.P,{embedString:A})}),(0,s.jsx)(l.so,{justify:"flex-end",children:(0,s.jsx)(l.az,{p:"lg",children:(0,s.jsx)(n.$n,{onClick:()=>y(!1),variant:"clear",children:(0,s.jsx)(o.A,{id:"close_window_button"})})})})]})})}},54075:(e,t,r)=>{"use strict";r.d(t,{M:()=>s.MR});var s=r(19991)},54606:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>ty});var s=r(6029),a=r(21377),n=r(19451),l=r(73088),i=r(52951),o=r(55729),d=r(62859),c=r(39676),u=r(42678),p=r(21295),x=r(87526),m=r(61836),h=r(95669),y=r.n(h),g=r(19643),j=r(50417),f=r(26331),v=r(6675),b=r(84942);function w(e){var t,r;let{player:a}=e,n=(0,f.A)(),o=a.team.sport.slug,d=l.z.getTranslatedCanonicalRoute(n,"player",{id:a.id,slug:a.slug,sport:o}).route,c=null!=(r=null==(t=a.country.alpha2)?void 0:t.toLowerCase())?r:"",u=a.createdByEditor?!(0,g.N)(c,n):(0,j.v)(o,n);return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)(y(),{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:a}),(0,s.jsx)(i.Ay,{metaKey:"player",values:{player:(0,b.s)(a,n),team:(0,b.s)(a.team,n)}})]})}var _=r(28349),S=r(76356),A=r(81278),k=r(90248),C=r(48683),T=r(76868),E=r(70010),P=r(97944),z=r(84677),L=r(38296),M=r(58047),I=r(14196),F=r(86679),R=r(30479),Y=r(33752),H=r(98449),D=r(13266),U=r(27289),O=r(52695);function N(e){var t;let{player:r,sport:a,uniqueTournament:n}=e,{seoContent:l}=(0,o.useContext)(i.xV);return(0,s.jsxs)(Y.B,{children:[(0,s.jsx)(Y.B.Item,{children:(0,s.jsx)(D.di,{translatedParams:{sport:a.slug},children:(0,s.jsx)(U.o,{sportSlug:a.slug})})}),n?(0,s.jsx)(Y.B.Item,{children:(0,s.jsx)(D.Z6,{category:n.category,children:(0,s.jsx)(H.m,{slug:null==n?void 0:n.category.slug,name:(null==n?void 0:n.category.name)||(null==(t=r.team.country)?void 0:t.name)||"N/A"})})}):null,n?(0,s.jsx)(Y.B.Item,{children:(0,s.jsx)(D.tQ,{tournament:n,children:(0,s.jsx)(O.O,{uniqueTournament:n})})}):null,(0,s.jsx)(Y.B.Title,{children:(null==l?void 0:l.heading)||"".concat(r.name," - Sofascore")})]})}var W=r(53192),q=r(91407),B=r(94400),Q=r(91603),Z=r(4967),V=r(947),K=r(90510),G=r(494),X=r(18040),$=r(54409),J=r(14419),ee=r(56602),et=r(46009),er=r(64073),es=r(8973),ea=r(3518),en=r(10794),el=r(24159),ei=r(54917),eo=r(51246),ed=r(90536);function ec(e){let{icon:t,graphic:r,text:a}=e;return(0,s.jsxs)(S.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)(_.EY,{textStyle:"display.micro",color:"neutrals.nLv3",children:a})]})}function eu(e){var t,r,l;let{player:i,lastYearSummary:d}=e,[c,u]=(0,o.useState)(!1),p=(0,V.A)(),x=(0,G.d4)(en.JV),m=i.team.sport.slug,h=i.deceased,y=i.retired,g=i.dateOfDeathTimestamp?(0,Z.pp)(i.dateOfDeathTimestamp).getFullYear():void 0,j=a.USm.includes(i.team.sport.slug),f=n.mz.includes(m),v=(0,Z.KW)(i.dateOfBirthTimestamp),b=(null==d?void 0:d.length)?(0,ed.AG)(d.filter(e=>e.type===a.XFZ.Event).map(e=>e.value)):void 0,w=m===a.QCR.Cricket;return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(J.Fs,{image:(0,s.jsx)(q.t,{id:i.id,name:i.slug,size:112,grayscale:i.deceased}),name:(0,s.jsxs)(S.so,{gap:"lg",align:"center",children:[(0,s.jsx)(el.c,{entity:i}),"number"==typeof b&&(0,s.jsxs)(S.so,{align:"center",children:[(0,s.jsx)(B.A,{rating:b,format:"sideBox"}),(0,s.jsx)(ee.D,{type:ee.D.type.AverageRatingPlayer,rating:b,renderImage:e=>(0,s.jsx)(q.t,{id:i.id,...e}),children:e=>{let{setIsOpen:t}=e;return(0,s.jsx)(_.K0,{variant:"clear",onClick:()=>t(!0),children:(0,s.jsx)($.G_L,{fill:"onSurface.nLv3",w:"24",h:"24"})})}})]})]}),subtitleItems:i.team&&!i.deceased&&(0,s.jsx)(D.gT,{sport:m,team:i.team,children:(0,s.jsxs)(S.so,{align:"center",gap:"sm",color:"neutrals.nLv1",_hover:{color:i.team?"primary.default":void 0},children:[(0,s.jsx)(Q.p,{id:i.team.id,name:i.team.name,national:i.team.national,size:32}),(0,s.jsxs)(S.so,{direction:"column",justify:"center",gap:"2xs",children:[(0,s.jsx)(_.EY,{textStyle:i.contractUntilTimestamp?"body.medium":"display.medium",color:"[inherit]",children:(0,s.jsx)(el.c,{entity:i.team})}),i.contractUntilTimestamp&&(0,s.jsxs)(_.EY,{textStyle:"assistive.default",color:"neutrals.nLv3",lineHeight:1,children:[(0,s.jsx)(k.A,{id:"contract_until"}),": ",(0,s.jsx)(K.XU,{value:1e3*i.contractUntilTimestamp,...Z.or.dateWithShortMonth,timeZone:"UTC"})]})]})]})}),actions:(0,s.jsxs)(s.Fragment,{children:[i.managerId&&(0,s.jsx)(D.N_,{routeKey:"manager",params:{id:i.managerId,slug:m},children:(0,s.jsxs)(_.$n,{size:"secondary",children:[(0,s.jsx)($.AdY,{}),(0,s.jsx)(k.A,{id:"manager_profile"})]})}),f&&(0,s.jsx)(_.m_,{label:p.formatMessage({id:"compare_player_stats"}),strategy:"hover",colorPalette:"secondary",children:(0,s.jsx)(X.O,{type:"player",id:i.id,sport:m,iconOnly:!!i.managerId})}),j&&!h&&!y&&(0,s.jsx)(_.m_,{label:p.formatMessage({id:"add_to_favourites"}),strategy:"hover",colorPalette:"secondary",children:(0,s.jsx)(et.e,{id:i.id,entity:a.bq7.Players,location:es.y.Header,type:es.b.Player,isNewButton:!0})}),v>=16&&(0,s.jsx)(_.m_,{label:p.formatMessage({id:"embed_widget"}),strategy:"hover",colorPalette:"secondary",children:(0,s.jsx)(_.D7,{onClick:()=>u(!0),children:(0,s.jsx)($.Q4p,{style:{width:24,height:24}})})})]}),footer:(0,s.jsxs)(s.Fragment,{children:[void 0!==i.country.alpha2&&(0,s.jsx)(ec,{graphic:(0,s.jsx)(W.w,{alpha2:i.country.alpha2,name:i.country.alpha2,size:16,national:!0}),text:i.country.name}),!!i.dateOfBirthTimestamp&&(0,s.jsx)(ec,{icon:$.X78,text:(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(K.XU,{value:new Date(1e3*i.dateOfBirthTimestamp),...Z.or.dateWithLongMonth,timeZone:"UTC"})," ","(",h?"number"==typeof g?(0,s.jsx)(k.A,{id:"deceasedYear",values:{year:g}}):(0,s.jsx)(k.A,{id:"deceased",values:{gender:null!=(l=i.gender)?l:i.team.gender}}):(0,Z.KW)(i.dateOfBirthTimestamp),")"]})}),"string"==typeof i.position&&(0,s.jsx)(ec,{icon:$.fEU,text:(0,s.jsx)(ei.F,{id:i.position,sport:m,gender:i.team.gender})}),w&&"string"==typeof(null==(t=i.cricketPlayerInfo)?void 0:t.batting)&&(0,s.jsx)(ec,{icon:$.BM3,text:(0,s.jsx)(k.A,{id:i.cricketPlayerInfo.batting})}),w&&"string"==typeof(null==(r=i.cricketPlayerInfo)?void 0:r.bowling)&&(0,s.jsx)(ec,{icon:$.Pvq,text:(0,s.jsx)(k.A,{id:i.cricketPlayerInfo.bowling})}),"number"==typeof i.height&&(0,s.jsx)(ec,{icon:$.f6o,text:(0,s.jsx)(ea.Z,{value:i.height,fromUnit:"cm"})}),"string"==typeof i.preferredFoot&&(0,s.jsx)(ec,{icon:$.SdB,text:(0,s.jsx)(k.A,{id:"foot.".concat(i.preferredFoot.toLowerCase()),defaultMessage:i.preferredFoot})}),"string"==typeof i.jerseyNumber&&(0,s.jsx)(ec,{icon:$.kDU,text:(0,s.jsx)(k.A,{id:"jersey_number",values:{jerseyNumber:i.jerseyNumber}})})]})}),j&&!h&&!y&&(0,s.jsxs)(er.K,{id:i.id,name:i.name,entity:a.bq7.Players,type:es.b.Player,children:[(0,s.jsx)(q.t,{size:32,mr:"sm",style:{verticalAlign:"top"},id:i.id,name:i.slug,grayscale:i.deceased}),(0,s.jsx)(_.EY,{textStyle:"display.medium",color:"primary.default",mr:"sm",children:(0,s.jsx)(el.c,{entity:i})})]}),(0,s.jsx)(eo.Ay,{player:i,locale:x,isEmbedModalVisible:c,setIsEmbedModalVisible:u})]})}var ep=r(18916),ex=r(75751),em=r(42621),eh=r(99326),ey=r(3898),eg=r(60908),ej=r(23685);let ef=(0,o.memo)(function(e){var t;let{player:r}=e,{isFantasyEnabled:n}=(0,z.t)(),{showFantasyStatistics:l}=(0,F.A)({showFantasyStatistics:{route:a.lVT.playerCompetitions(r.id),skipCheck:!n}},[r.id,n]);return(0,s.jsxs)(ex.t,{tag:"PlayerSidebar",children:[(0,s.jsx)(eg._,{page:{location:m.XN.PlayerScreen,entity:r}}),(0,s.jsx)(ej.Y,{utId:null==(t=r.team.primaryUniqueTournament)?void 0:t.id,location:m.XN.PlayerScreen,bgImageUrl:a.cWY.image(r.team.id)}),l&&(0,s.jsx)(eh.pk,{utIds:null}),(0,s.jsx)(em.q,{persist:!0,children:(0,s.jsx)(ey.OE,{playerId:r.id})})]})},function(e,t){return e.player.id===t.player.id});var ev=r(56566),eb=r(99064),ew=r(71024),e_=r.n(ew),eS=r(69964);let eA=e_()(()=>r.e(67658).then(r.bind(r,67658)),{loadableGenerated:{webpack:()=>[67658]},loading:()=>(0,s.jsx)(S.az,{pb:"lg",children:(0,s.jsx)(eS.A,{})})});function ek(e){let{player:t}=e;return(0,s.jsx)(eb.tU.Panel,{tabKey:M.x.Career,children:(0,s.jsx)(eA,{player:t})})}var eC=r(69559);let eT=e_()(()=>Promise.all([r.e(50612),r.e(24484)]).then(r.bind(r,24484)),{loadableGenerated:{webpack:()=>[24484]},ssr:!1,loading:()=>(0,s.jsx)(S.az,{h:"[1100px]"})}),eE=e_()(()=>Promise.all([r.e(50612),r.e(8904)]).then(r.bind(r,8904)),{loadableGenerated:{webpack:()=>[8904]},ssr:!1,loading:()=>(0,s.jsx)(S.az,{h:"[496px]"})});function eP(e){let t=(0,eC.o)();return I.G.includes(t)?(0,s.jsx)(eL,{player:e.player,transfers:e.transfers}):(0,s.jsx)(ez,{...e})}function ez(e){return(0,s.jsx)(eb.tU.Panel,{tabKey:M.x.Details,children:(0,s.jsx)(eT,{...e})})}function eL(e){return(0,s.jsx)(eb.tU.Panel,{tabKey:M.x.Info,children:(0,s.jsx)(eE,{...e})})}let eM=e_()(()=>Promise.all([r.e(54802),r.e(77632),r.e(90234)]).then(r.bind(r,91944)),{loadableGenerated:{webpack:()=>[91944]},ssr:!1,loading:()=>(0,s.jsx)(S.az,{h:"[1000px]"})});function eI(e){let{playerId:t}=e;return(0,s.jsx)(eb.tU.Panel,{tabKey:M.x.PlayerFantasy,children:(0,s.jsx)(eM,{playerId:t})})}let eF=e_()(()=>Promise.all([r.e(43139),r.e(21632),r.e(87120),r.e(53224),r.e(23296)]).then(r.bind(r,23296)),{loadableGenerated:{webpack:()=>[23296]},loading:()=>(0,s.jsx)(S.az,{h:"[1000px]"})});function eR(e){let{player:t,sport:r}=e;return(0,s.jsx)(eb.tU.Panel,{tabKey:I.G.includes(r)?M.x.Season:M.x.Statistics,children:(0,s.jsx)(eF,{player:t,sport:t.team.sport.slug})})}var eY=r(62827);function eH(e,t){return e===a.QCR.Volleyball?M.x.Statistics:I.G.includes(e)?t.find(e=>e.tabKey===M.x.Season&&!1===e.isHidden)?M.x.Season:M.x.Info:M.x.Details}function eD(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 eU=r(76735);function eO(e){var t;let{player:r,...i}=e,{isFantasyEnabled:o,showFantasyEntry:d}=(0,z.t)(),u=(0,f.A)(),p=(0,A.useRouter)(),x=r.team.sport,[m,h]=(0,R.Ay)({routeKey:n.xW.Player,params:{slug:r.slug,id:r.id,sport:x.slug}}),{isEmpty:y}=(0,eU.z)({player:r,...i}),{hasStatisticsTab:g,hasFantasyData:j,hasCareerData:v}=(0,F.A)({hasStatisticsTab:{route:a.qvj.uniqueTournamentSeasons(r.id),skipCheck:!ep.F0.includes(x.slug)},hasFantasyData:{route:a.lVT.playerCompetitions(r.id),skipCheck:!o},hasCareerData:{route:a.qvj.uniqueTournamentSeasonsStatistics(r.id),skipCheck:!I.v.includes(x.slug)}},[r.id,o]),b=r.team.primaryUniqueTournament,w=!1===y,Y=d&&j,H=v&&g,D=(t=x.slug,I.G.includes(t)?[{tabKey:M.x.Season,item:"season",isHidden:!g},{tabKey:M.x.Career,item:"am_football_career_tab",isHidden:!H},{tabKey:M.x.Info,item:"info",isHidden:!w},{tabKey:M.x.PlayerFantasy,item:"fantasy_game",isHidden:!Y}]:[{tabKey:M.x.Details,item:"details",isHidden:!w},{tabKey:M.x.Statistics,item:"statistics",isHidden:!g},{tabKey:M.x.Career,item:"am_football_career_tab",isHidden:!H},{tabKey:M.x.PlayerFantasy,item:"fantasy_game",isHidden:!Y}]),U=(null==m?void 0:m.tab)||eH(x.slug,D),O=[w,g,H,Y].every(e=>!1===e);return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(N,{player:r,sport:x,uniqueTournament:b}),(0,s.jsx)(eu,{player:r}),(0,s.jsxs)(E.xA,{py:"md",children:[(0,s.jsxs)(E.fv,{flexGrow:1,children:[(0,s.jsx)(S.az,{className:"player-matches-section",children:(0,s.jsx)(P.S,{id:r.id,entity:a.wNW.Player,player:r,transfers:i.transfers})}),(0,s.jsx)(ef,{player:r}),(0,s.jsx)(c.Aq,{route:n.xW.Player})]}),(0,s.jsxs)(E.fv,{flexGrow:2,children:[(0,s.jsx)(C.Zp,{children:O?(0,s.jsxs)(S.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)(_.$n,{variant:"outline",onClick:()=>{var e;(null==(e=window.history)?void 0:e.length)>1?p.back():p.push(l.z.getTranslatedRoute(u,"eventList",{sport:x.slug}).route)},children:(0,s.jsx)(k.A,{id:"button_go_back"})})]}):(0,s.jsx)(C.WC,{variant:"square-desktop",children:(0,s.jsxs)(L.A,{id:r.id,location:M.C.PlayerPage,initialTabKey:U,customControls:[U,e=>{h("tab",e),eD("defaultUniqueTournamentId"),eD("defaultSeasonId"),eD("defaultSeasonType")}],tabs:D,children:[w&&(0,s.jsx)(eP,{player:r,...i}),g&&(0,s.jsx)(eR,{player:r,sport:x.slug}),H&&(0,s.jsx)(ek,{player:r}),Y&&(0,s.jsx)(eI,{playerId:r.id})]})})}),(0,s.jsx)(ev.A,{player:r})]})]})]})}var eN=r(8329),eW=r(55938);let eq=e=>{let{label:t,value:r,inLine:a,children:n,onClick:l}=e;return r||n?(0,s.jsxs)(eb.az,{w:a?"auto":"33%",pt:"md",pb:10,px:"lg",onClick:l,cursor:l?"pointer":void 0,children:[(0,s.jsx)(eb.EY,{font:"assistive.micro",color:"onSurface.nLv3",align:"center",mb:"xxs",as:"div",textTransform:"uppercase",children:t}),(0,s.jsx)(eb.EY,{font:"display.medium",color:"onSurface.nLv1",align:"center",as:"div",children:r||n})]}):null},eB=e=>{var t,r;let{player:n,inLine:l}=e,i=(0,V.A)(),c=(0,o.useContext)(d.Ws),[u,p]=(0,o.useState)(!1),x=(0,s.jsx)(K.XU,{value:new Date(1e3*n.dateOfBirthTimestamp),...Z.or.dateWithShortMonth,timeZone:"UTC"}),m=[a.QCR.Handball,a.QCR.Football,a.QCR.Basketball,a.QCR.IceHockey,a.QCR.Baseball,a.QCR.AmericanFootball].includes(c),h=async()=>{u||(p(!0),setTimeout(()=>{p(!1)},3e3),await (0,eY.MZ)((0,s.jsxs)(eb.so,{align:"center",children:[(0,s.jsx)($.G_L,{fill:"onColor.primary",mr:"lg"}),(0,s.jsx)(eb.EY,{block:!0,color:"onColor.primary",font:"display.small",children:(0,s.jsx)(ei.F,{id:n.position,sport:c})})]})))};return(0,s.jsxs)(eb.so,{justify:l?"space-around":void 0,wrap:"wrap",children:[(null==(t=n.country)?void 0:t.alpha2)&&(0,s.jsx)(eq,{label:(0,s.jsx)(k.A,{id:"nationality"}),inLine:l,children:(0,s.jsxs)(eb.so,{align:"center",justify:"center",gap:"xs",children:[(0,s.jsx)(eN.w,{alpha2:n.country.alpha2,name:n.country.alpha2,size:16,national:!0}),(0,s.jsx)("span",{children:(0,eW.KH)(n.country.alpha2)})]})}),n.deceased&&n.dateOfBirthTimestamp&&(0,s.jsx)(eq,{label:x,value:(0,s.jsx)(k.A,{id:"deceasedYear",values:{year:n.dateOfDeathTimestamp?(0,s.jsx)(K.XU,{value:1e3*n.dateOfDeathTimestamp,year:"numeric"}):void 0}}),inLine:l}),n.dateOfBirthTimestamp&&!n.deceased&&(0,s.jsx)(eq,{label:x,value:"".concat((0,Z.KW)(n.dateOfBirthTimestamp)," ").concat(i.formatMessage({id:"years_short"},{n:(0,Z.KW)(n.dateOfBirthTimestamp)})),inLine:l}),n.height&&(0,s.jsx)(eq,{label:(0,s.jsx)(k.A,{id:"player_height"}),value:(0,s.jsx)(ea.Z,{value:n.height,fromUnit:"cm"}),inLine:l}),n.preferredFoot&&(0,s.jsx)(eq,{label:(0,s.jsx)(k.A,{id:"player_preferred_foot"}),value:i.formatMessage({id:"foot.".concat(n.preferredFoot.toLowerCase()),defaultMessage:n.preferredFoot}),inLine:l}),n.position&&(0,s.jsx)(eq,{label:(0,s.jsx)(k.A,{id:"position"}),value:(0,s.jsx)(ei.F,{id:n.position,short:!0,gender:null==(r=n.team)?void 0:r.gender}),inLine:l,onClick:m?h:void 0}),n.cricketPlayerInfo&&Object.keys(n.cricketPlayerInfo).filter(e=>!e.startsWith("is")).map(e=>{let t=n.cricketPlayerInfo[e];return(0,s.jsx)(eq,{label:(0,s.jsx)(k.A,{id:e}),value:(0,s.jsx)(k.A,{id:t}),inLine:l},e)}),(0,s.jsx)(eq,{label:(0,s.jsx)(k.A,{id:"player_shirt_number"}),value:n.jerseyNumber,inLine:l})]})};var eQ=r(70862);function eZ(e){let{player:t}=e;return(0,s.jsx)(eb.az,{w:["100%","50%"],p:[0,"sm"],children:(0,s.jsx)(C.Zp,{children:(0,s.jsxs)(eb.so,{direction:"column",gap:"lg",pt:"md",px:"lg",pb:"lg",br:"sm",children:[(0,s.jsxs)(eb.so,{direction:"row",justify:"space-between",align:"center",children:[(0,s.jsxs)(eb.so,{align:"center",children:[(0,s.jsx)($.p5Z,{fill:"error.default"}),(0,s.jsx)(eb.EY,{font:"display.medium",color:"error.default",pl:"sm",children:(0,s.jsx)(eQ.o,{id:t.injury.status})})]}),(0,s.jsxs)(eb.so,{direction:"column",align:"flex-end",children:[(0,s.jsx)(eb.EY,{font:"body.small",color:"onSurface.nLv3",pl:"sm",children:(0,s.jsx)(k.A,{id:"lastUpdated"})}),(0,s.jsx)(eb.EY,{font:"body.small",color:"onSurface.nLv3",pl:"sm",children:(0,s.jsx)(K.XU,{value:new Date(1e3*t.injury.updateDateTimestamp),...Z.or.dateWithShortMonth,timeZone:"UTC"})})]})]}),(0,s.jsxs)(eb.so,{direction:"row",justify:"space-between",align:"center",children:[(0,s.jsx)(eb.EY,{font:"body.medium",color:"onSurface.nLv1",children:(0,s.jsx)(k.A,{id:"details"})}),(0,s.jsx)(eb.EY,{font:"body.medium",children:(0,s.jsx)(eQ.o,{id:t.injury.reason})})]}),(0,s.jsxs)(eb.so,{direction:"row",justify:"space-between",align:"center",children:[(0,s.jsx)(eb.EY,{font:"body.medium",children:(0,s.jsx)(k.A,{id:"startDate"})}),(0,s.jsx)(eb.EY,{font:"body.medium",children:(0,s.jsx)(K.XU,{value:new Date(1e3*t.injury.startDateTimestamp),...Z.or.dateWithShortMonth,timeZone:"UTC"})})]})]})})})}var eV=r(33144),eK=r(94604);let eG=e=>{let{player:t,expectedTransfer:r}=e,a=t.team.disabled?null:{sport:t.team.sport.slug,team:t.team},n=a?D.gT:o.Fragment,l=(0,o.useContext)(d.Ws),i=t.retired||"no-team"===t.team.slug;return(0,s.jsxs)(eb.so,{justify:"space-between",children:[(0,s.jsx)(eb.az,{display:["block","none"],children:(0,s.jsx)(n,{sport:null==a?void 0:a.sport,team:null==a?void 0:a.team,children:(0,s.jsxs)(eb.so,{py:"sm",px:["sm","lg"],align:"center",cursor:i?"default":"pointer",children:[(0,s.jsx)(eb.az,{w:"40",h:"40",children:(0,s.jsx)(eV.p,{id:t.retired?-1:t.team.id,name:t.retired?void 0:t.team.slug,size:40})}),(0,s.jsxs)(eb.az,{ml:"lg",children:[(0,s.jsx)(eb.EY,{font:"display.medium",color:"onSurface.nLv1",hover:!i,as:"div",children:t.retired?(0,s.jsx)(k.A,{id:"career_retired"}):(0,s.jsx)(eK.Rm,{team:t.team})}),t.contractUntilTimestamp&&(0,s.jsxs)(eb.EY,{lineHeight:"16px",font:"assistive.default",color:"onSurface.nLv3",as:"div",children:[(0,s.jsx)(k.A,{id:"contract_until"})," ",(0,s.jsx)(K.XU,{value:1e3*t.contractUntilTimestamp,...Z.or.dateWithShortMonth,timeZone:"UTC"})]})]})]})})}),r&&!t.retired&&(0,s.jsxs)(eb.az,{p:"sm",pr:"lg",children:[(0,s.jsxs)(eb.so,{mb:"xxs",gap:"xxs",align:"center",children:[r.transferFrom&&(0,s.jsx)(D.gT,{team:r.transferFrom,sport:l,children:(0,s.jsx)(eV.p,{id:r.transferFrom.id,name:r.transferFrom.name,size:20})}),(0,s.jsx)($.ZmP,{fill:"onSurface.nLv1"}),r.transferTo&&(0,s.jsx)(D.gT,{team:r.transferTo,sport:l,children:(0,s.jsx)(eV.p,{id:r.transferTo.id,name:r.transferTo.name,size:20})})]}),(0,s.jsx)(eb.EY,{font:"assistive.default",color:"onSurface.nLv3",align:"right",as:"div",children:(0,s.jsx)(K.XU,{value:new Date(1e3*r.transferDateTimestamp),...Z.or.dateWithShortMonth})})]})]})};var eX=r(13062),e$=r(82798),eJ=r(45384),e0=r(73674);function e1(e){let{player:t,lastYearSummary:r,expectedTransfer:n,hasPentagon:l,uniqueTournamentsMap:i}=e,{slug:o}=t.team.sport,d=o===a.QCR.Football,c=o===a.QCR.Cricket,u=o===a.QCR.IceHockey,p=o===a.QCR.Basketball,x=!!(t.injury&&(u||p)),m=t.team.primaryUniqueTournament&&t.proposedMarketValueRaw;return(0,s.jsx)(ex.t,{tag:"PlayerDetailsMobile",children:(0,s.jsxs)(eb.so,{direction:"column",gap:"sm",children:[!t.deceased&&(0,s.jsx)(C.Zp,{children:(0,s.jsx)(eG,{player:t,expectedTransfer:n})}),(0,s.jsxs)(C.Zp,{children:[(0,s.jsx)(eB,{player:t,inLine:!d&&!c&&!u||u&&!t.injury}),m&&(0,s.jsx)(S.az,{p:"sm",children:(0,s.jsx)(C.WC,{variant:"inverse",children:(0,s.jsx)(e0.A,{playerId:t.id,proposedMarketValueRaw:t.proposedMarketValueRaw})})})]}),!!r&&(0,s.jsx)(eJ.A,{lastYearSummary:r,uniqueTournamentsMap:i,containerId:"LYS-incidents-mobile",graphId:"js-LYS-ref-graph-mobile"}),l&&(0,s.jsx)(eX.W,{player:t}),d&&(0,s.jsx)(e$.A,{player:t}),x&&(0,s.jsx)(eZ,{player:t})]})})}var e2=r(20339);let e4=()=>(0,s.jsxs)(C.Zp,{children:[(0,s.jsx)(C.Zp.Header,{titleId:"transfer_history"}),(0,s.jsxs)(S.so,{direction:{base:"column",md:"row"},children:[(0,s.jsx)(S.az,{w:{base:"100%",md:"1/2"},h:{base:"[278px]",md:"[328px]"},p:"sm",children:(0,s.jsx)(S.az,{h:"[174px]",bg:"surface.s2",br:"lg"})}),(0,s.jsx)(S.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]"}})]})]}),e6=e_()(()=>r.e(50612).then(r.bind(r,50612)),{loadableGenerated:{webpack:()=>[50612]},ssr:!1,loading:()=>(0,s.jsx)(e4,{})});function e9(e){var t;let{player:r,transfers:n,...l}=e,i=r.team.sport.slug===a.QCR.Football,o=r.team.sport.slug===a.QCR.Basketball,d=r.team.sport.slug===a.QCR.AmericanFootball,c=n?n.sort((e,t)=>t.transferDateTimestamp-e.transferDateTimestamp):null,u=c&&1e3*c[0].transferDateTimestamp>Date.now()?c[0]:null;return(0,s.jsx)(eb.tU.Panel,{tabKey:o||d?M.x.Info:M.x.Details,children:(0,s.jsxs)(C.BU,{children:[(0,s.jsx)(e1,{player:r,expectedTransfer:u,...l}),(i||o)&&(0,s.jsx)(e6,{playerId:r.id,transfers:n,sport:r.team.sport.slug,proposedMarketValueRaw:r.proposedMarketValueRaw}),(0,s.jsx)(eg._,{page:{location:m.XN.PlayerScreen,entity:r}}),(0,s.jsx)(ej.Y,{utId:null==(t=r.team.primaryUniqueTournament)?void 0:t.id,location:m.XN.PlayerScreen,bgImageUrl:a.cWY.image(r.team.id)}),(0,s.jsx)(e2.A,{playerId:r.id}),(0,s.jsx)(ev.A,{player:r})]})})}let e5=e_()(()=>Promise.all([r.e(54802),r.e(77632),r.e(90234)]).then(r.bind(r,91944)),{loadableGenerated:{webpack:()=>[91944]},ssr:!1,loading:()=>(0,s.jsx)(S.az,{h:"[1000px]"})});function e3(e){let{playerId:t}=e;return(0,s.jsx)(eb.tU.Panel,{tabKey:M.x.PlayerFantasy,children:(0,s.jsx)(e5,{playerId:t})})}var e7=r(45860);let e8=e=>{let[t,r]=(0,o.useState)(void 0),{data:s,isLoading:n}=(0,e7.Ay)(a.qvj.uniqueTournaments(e));return{selectedTournament:t,setSelectedTournament:r,uniqueTournaments:(null==s?void 0:s.uniqueTournaments)||[],isFetching:n}},te=e_()(()=>r.e(93572).then(r.bind(r,93572)),{loadableGenerated:{webpack:()=>[93572]}});function tt(e){let{player:t,transfers:r}=e,{hasMatches:n}=(0,F.A)({hasMatches:{route:a.qvj.events(t.id)}}),l=e8(t.id);return(0,s.jsx)(eb.tU.Panel,{tabKey:M.x.Matches,children:n?(0,s.jsx)(te,{id:t.id,entity:a.wNW.Player,player:t,transfers:r,playerFilters:l}):(0,s.jsx)(eb.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 tr=e_()(()=>Promise.all([r.e(43139),r.e(21632),r.e(87120),r.e(53224),r.e(23296)]).then(r.bind(r,23296)),{loadableGenerated:{webpack:()=>[23296]}});function ts(e){let{player:t,sport:r}=e;return(0,s.jsx)(eb.tU.Panel,{tabKey:[a.QCR.AmericanFootball,a.QCR.Basketball].includes(r)?M.x.Season:M.x.Statistics,children:(0,s.jsx)(tr,{player:t,sport:t.team.sport.slug})})}var ta=r(94446),tn=r(7263);let tl=e=>{let{id:t,slug:r}=e,{isMobile:a}=(0,_.$c)();return(0,s.jsx)(D.N_,{routeKey:"manager",params:{id:t,slug:r},children:(0,s.jsxs)(eb.so,{px:"md",py:"xs",bg:["primary.default","overlay.darken1"],align:"center",br:"lg",children:[(0,s.jsx)(eb.EY,{lineHeight:"16px",font:"assistive.default",c:["surface.s1","onColor.primary"],mr:"xxs",children:(0,s.jsx)(k.A,{id:"manager_profile"})}),(0,s.jsx)($.CCT,{fill:a?"surface.s1":"onColor.primary"})]})})},ti=e=>{let{id:t,sport:r}=e,{data:n}=(0,e7.Ay)([a.qvj.uniqueTournamentSeasons(t),"HEAD"],{fetcher:tn.n});return n?(0,s.jsx)(X.O,{type:"player",id:t,sport:r}):null},to=function(e){var t,r;let{player:l}=e,i=a.USm.includes(l.team.sport.slug),o=null==(r=l.country)||null==(t=r.alpha2)?void 0:t.toLowerCase(),d=o?(0,a.RHm)(o):void 0,c=l.team.id&&!(l.retired||"no-team"===l.team.slug)?a.cWY.image(l.team.id):d,u=l.team.sport.slug,p=l.deceased,x=l.retired,m=n.mz.includes(u);return(0,s.jsx)(J.z4,{bgImageSrc:c,flexProps:{px:0,py:0},elevation:[void 0,2],children:(0,s.jsxs)(eb.so,{w:"100%",justify:"space-between",align:"center",p:["lg","xl"],pr:["lg","sm"],children:[(0,s.jsxs)(eb.so,{grow:2,w:"100%",align:"center",children:[(0,s.jsx)(ta.t,{id:l.id,name:l.slug,size:112,mr:["lg","xl"],grayscale:l.deceased}),(0,s.jsxs)(eb.so,{align:"flex-start",direction:"column",children:[(0,s.jsx)(eb.so,{gap:"sm",align:"center",mb:["xxs","sm"],children:(0,s.jsx)(eb.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)(el.c,{entity:l})})}),(0,s.jsxs)(eb.so,{wrap:"wrap",align:"center",gap:"md",children:[l.deceased&&(0,s.jsxs)(eb.so,{align:"center",children:[(0,s.jsx)(ta.p,{id:l.team.id,name:l.team.name,national:l.team.national,size:16,mr:"xs"}),(0,s.jsx)(eb.EY,{font:["assistive.default","display.medium"],c:["onSurface.nLv3","onColor.primary"],children:(0,s.jsx)(k.A,{id:"deceasedYear",values:{year:void 0}})})]}),m&&(0,s.jsx)(ti,{id:l.id,sport:u}),l.managerId&&(0,s.jsx)(tl,{id:l.managerId,slug:u})]})]})]}),(0,s.jsx)(eb.az,{children:i&&!p&&!x&&(0,s.jsx)(et.e,{id:l.id,entity:a.bq7.Players,location:es.y.Header,type:es.b.Player})})]})})},td=e_()(()=>r.e(67658).then(r.bind(r,67658)),{loadableGenerated:{webpack:()=>[67658]}});function tc(e){let{player:t}=e;return(0,s.jsx)(eb.tU.Panel,{tabKey:M.x.Career,children:(0,s.jsx)(td,{player:t})})}function tu(e){var t;let{player:r,transfers:l,...i}=e,o=r.team.sport,d=r.team.primaryUniqueTournament,{isFantasyEnabled:c,showFantasyEntry:u}=(0,z.t)(),[p,x]=(0,R.Ay)({routeKey:n.xW.Player,params:{slug:r.slug,id:r.id,sport:o.slug}}),{hasStatisticsTab:m,hasFantasyData:h,hasCareerData:y}=(0,F.A)({hasStatisticsTab:{route:a.qvj.uniqueTournamentSeasons(r.id),skipCheck:!ep.F0.includes(o.slug)},hasFantasyData:{route:a.lVT.playerCompetitions(r.id),skipCheck:!c},hasCareerData:{route:a.qvj.uniqueTournamentSeasonsStatistics(r.id),skipCheck:!I.v.includes(o.slug)}},[r.id,c]),g=u&&h,j=y&&m,f=(t=o.slug,I.G.includes(t)?[{tabKey:M.x.Season,item:"season",isHidden:!m},{tabKey:M.x.Matches,item:"games",values:{sport:(0,eY.ap)(t)}},{tabKey:M.x.Career,item:"am_football_career_tab",isHidden:!j},{tabKey:M.x.Info,item:"info"},{tabKey:M.x.PlayerFantasy,item:"fantasy_game",isHidden:!g}]:[{tabKey:M.x.Details,item:"details"},{tabKey:M.x.Statistics,item:"statistics",isHidden:!m},{tabKey:M.x.Matches,item:"matches",values:{sport:(0,eY.ap)(t)}},{tabKey:M.x.Career,item:"am_football_career_tab",isHidden:!j},{tabKey:M.x.PlayerFantasy,item:"fantasy_game",isHidden:!g}]),v=(null==p?void 0:p.tab)||eH(o.slug,f);return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)(S.az,{bg:"surface.s1",children:[(0,s.jsx)(N,{player:r,sport:o,uniqueTournament:d}),(0,s.jsx)(to,{player:r})]}),(0,s.jsx)(L.A,{id:r.id,location:L.C.PlayerPage,initialTabKey:v,customControls:[v,e=>{x("tab",e),eD("defaultUniqueTournamentId"),eD("defaultSeasonId"),eD("defaultSeasonType")}],tabs:f,children:(0,s.jsxs)(S.az,{bg:"surface.s0",children:[(0,s.jsx)(e9,{player:r,transfers:l,...i}),m&&(0,s.jsx)(ts,{player:r,sport:o.slug}),j&&(0,s.jsx)(tc,{player:r}),(0,s.jsx)(tt,{player:r,transfers:l}),g&&(0,s.jsx)(e3,{playerId:r.id})]})})]})}let tp=(0,o.memo)(function(e){var t;let{player:r}=e,l=null==r?void 0:r.deceased,i=null==r?void 0:r.retired;return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(w,{player:r}),(0,s.jsxs)(d.Ws.Provider,{value:r.team.sport.slug,children:[(0,s.jsx)(u.$B,{children:(0,s.jsx)(tu,{...e})}),(0,s.jsx)(u.h6,{children:(0,s.jsx)(c.JR,{route:n.xW.Player,children:(0,s.jsx)(eO,{...e})})}),!0!==l&&!0!==i&&(0,s.jsx)(p.A,{entity:a.bq7.MutedPlayers,entityGroup:"player",id:r.id,entityTournamentId:null==(t=r.team.primaryUniqueTournament)?void 0:t.id}),(0,s.jsx)(x.N,{page:{location:m.XN.PlayerScreen,entity:r}})]})]})},function(e,t){return e.player.id===t.player.id});var tx=r(71937),tm=r(25862),th=r(65097);function ty(e){return"error"in e?(0,s.jsx)(th.default,{statusCode:e.error.code||404}):(0,s.jsx)(i.an,{value:{seoContent:e.seoContent},children:(0,s.jsx)(tp,{...e})})}ty.getInitialProps=tx.A.getInitialPageProps(e=>async function(t){let{req:r,res:s,query:i,...o}=t,d=r?r._originalUrl:o.asPath,c=l.z.getCurrentLocale(d),u=r&&r.params?r.params:i,p=Number(u.id),x=u.slug,[m,h,y,g,j]=await Promise.allSettled([a.uuS.fetchPlayerDetails(p),a.uuS.fetchPlayerTransferHistory(p),a.uuS.hasPlayerPentagon(p),a.uuS.fetchPlayerLastYearSummary(p),a.sdF.getSeoContent(a.wNW.Player,p,c)]);try{let t,r;if("rejected"===m.status)throw Error(m.reason);"fulfilled"===g.status&&g.value.summary.length&&(t=g.value.summary,r=g.value.uniqueTournamentsMap);let a=m.value.player,i="fulfilled"===h.status?h.value.transferHistory:void 0,o="fulfilled"===j.status?j.value.content:void 0,d="fulfilled"===y.status&&y.value,f=u.sport||a.team.sport.slug;if(!n.Hk.includes(f))throw Error("Unsupported sport");return s&&(a.slug!==x||a.id!==p)&&(s.writeHead(301,{Location:l.z.getTranslatedRoute(c,"player",{id:a.id,slug:a.slug,sport:f}).route}),s.end()),e.dispatch((0,tm.Vy)(f)),{player:a,transfers:i,seoContent:o,lastYearSummary:t,uniqueTournamentsMap:r,hasPentagon:d}}catch(e){return{error:{code:404}}}})},55342:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var s=r(6029),a=r(21377),n=r(45860),l=r(48683),i=r(17239);function o(e){let{id:t}=e,{data:r}=(0,n.Ay)(a.dVR.highlights(t));return r&&r.highlights.length?(0,s.jsx)(l.WC,{variant:"inverse-desktop",children:(0,s.jsx)(l.BU,{children:(0,s.jsx)(i.$,{highlights:r.highlights,hideTitle:!0})})}):null}},56566:(e,t,r)=>{"use strict";r.d(t,{A:()=>c,y:()=>d});var s=r(6029),a=r(76356),n=r(55729),l=r(48683),i=r(52951),o=r(24159);let d=(0,a.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":{textStyle:"body.mediumParagraph"}}}),c=function(e){let{player:t}=e,{seoContent:r}=(0,n.useContext)(i.xV);return!t.deceased&&(null==r?void 0:r.about)?(0,s.jsxs)(l.Zp,{children:[(0,s.jsx)(l.Zp.Header,{title:(0,s.jsx)(o.c,{entity:t}),as:"h3"}),(0,s.jsx)(a.az,{px:"lg",pb:"lg",children:(0,s.jsx)(d,{dangerouslySetInnerHTML:{__html:r.about}})})]}):null}},57760:e=>{e.exports=function(e,t){for(var r,s=-1,a=e.length;++s{"use strict";r.d(t,{d:()=>o});var s=r(6029),a=r(28349),n=r(76356),l=r(90248),i=r(54409);let o=e=>{let{isOpen:t,onClick:r}=e;return(0,s.jsx)(n.so,{align:"center",justify:"center",p:"lg",children:(0,s.jsx)(n.I4.button,{onClick:r,padding:"0",cursor:"pointer",children:(0,s.jsxs)(n.so,{align:"center",children:[(0,s.jsx)(a.EY,{textStyle:"display.small",color:"primary.default",children:(0,s.jsx)(l.A,{id:t?"show_less":"show_more"})}),t?(0,s.jsx)(i.t8v,{fill:"primary.default",ml:"xs"}):(0,s.jsx)(i.QtO,{fill:"primary.default",ml:"xs"})]})})})}},64073:(e,t,r)=>{"use strict";r.d(t,{K:()=>v});var s=r(6029),a=r(28349),n=r(76356),l=r(9127),i=r(90112),o=r(12364),d=r.n(o),c=r(55729),u=r(90248),p=r(494),x=r(83201),m=r(54409),h=r(8973),y=r(83260),g=r(12759),j=r(46009);let f=(0,l.m)(n.az);function v(e){let{id:t,name:r,entity:l,children:o,threshold:v=144,type:b}=e,[w,_]=(0,c.useState)(0),[S,A]=(0,y.A)("sticky_follow_header_closed_".concat(l),!1),k=(0,g.Pz)(l),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[k[0]].includes(t)||2===k.length&&e.favorites.lists[k[1]].includes(t)));return(0,c.useEffect)(()=>{if(S)return;let e=d()(()=>{window.requestAnimationFrame(()=>{_(window.scrollY)})},300);return window.addEventListener("scroll",e),()=>window.removeEventListener("scroll",e)},[w,S]),(0,s.jsx)(i.N,{children:w>v&&!C&&(0,s.jsx)(f,{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)(n.az,{position:"absolute",bottom:"0",left:"0",right:"0",children:(0,s.jsx)(x.m,{h:"5xl",py:"sm",children:(0,s.jsxs)(n.so,{h:"[40px]",children:[(0,s.jsx)(n.so,{onClick:()=>{window.scrollTo({top:0,behavior:"smooth"})},justify:"flex-end",align:"center",flex:"[1 1 50%]",children:(0,s.jsxs)(n.so,{backgroundColor:"surface.s2",align:"center",px:"sm",py:"xs",br:"lg",cursor:"pointer",children:[o,(0,s.jsx)(j.e,{id:t,entity:l,type:b,location:h.y.FloatingHeader})]})}),(0,s.jsx)(n.so,{align:"center",flex:"[1 1 50%]",children:(0,s.jsx)(a.EY,{textStyle:"assistive.default",ml:"lg",children:(0,s.jsx)(u.A,{id:"add_to_favorites_text",values:{name:r}})})}),(0,s.jsx)(n.so,{align:"center",children:(0,s.jsx)(a.$n,{variant:"clear",p:"0",onClick:()=>{A(!0),_(0)},children:(0,s.jsx)(m.zQC,{icon:"close"})})})]})})})})})}},69964:(e,t,r)=>{"use strict";r.d(t,{A:()=>c});var s=r(6029),a=r(21377),n=r(28349),l=r(76356),i=r(90248),o=r(48683),d=r(69559);function c(){let e=(0,d.o)(),{isDesktop:t}=(0,n.$c)();return(0,s.jsxs)(o.Zp,{children:[(0,s.jsxs)(l.so,{direction:"column",gap:"md",p:"md",borderBottom:{md:"1px solid {colors.neutrals.nLv4}"},children:[e===a.QCR.Football&&t&&(0,s.jsx)(l.az,{h:"4xl",bg:"surface.s2",br:"md"}),(0,s.jsx)(l.az,{h:"2xl",bg:"surface.s2",br:"md"}),(0,s.jsxs)(l.so,{align:"center",gap:"lg",children:[(0,s.jsx)(n.EY,{textStyle:"display.micro",display:"block",children:(0,s.jsx)(i.A,{id:"team"})}),(0,s.jsx)(l.az,{h:"2xl",bg:"surface.s2",br:"md",flexGrow:1})]})]}),(0,s.jsx)(l.az,{h:"[600px]"})]})}},70862:(e,t,r)=>{"use strict";r.d(t,{o:()=>i});var s=r(6029),a=r(90248);let n=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 l=r(27892);let i=e=>{let{id:t}=e;return(0,s.jsx)(a.A,{id:(0,l.O)(n,t)})}},72555:(e,t,r)=>{"use strict";r.d(t,{Bg:()=>m,HU:()=>n,Q1:()=>a,Sz:()=>x,TC:()=>p,W6:()=>u,cS:()=>c,eM:()=>l,mc:()=>o,tO:()=>d});let s=[["attacking","saves"],["runsOut","technical","anticipation","runs-out"],["tactical"],["defending","ballDistribution","ball-distribution"],["creativity","aerial"]],a={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"},n={saves:"SAV",anticipation:"ANT",tactical:"TAC",ballDistribution:"BAL",aerial:"AER",attacking:"ATT",technical:"TEC",defending:"DEF",creativity:"CRE"},l={AVG:Symbol("AVG"),BASE:Symbol("BASE"),COMPARE:Symbol("COMPARE"),COMPARE_SELF:Symbol("COMPARE_SELF")};function i(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(i(72*t)));return[100*Math.sin(i(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 x(e,t){return e.find(e=>e.yearShift===t)||null}function m(e,t,r,s){let a=[],n=[],{playerPentagons:i,averagePentagons:d}={...e};if(null==i?void 0:i.length){let e=x(i,t?r:0);if(e&&(e.__type=l.BASE),a.push(e?o(e):null),n.push(e),s)n.push(null);else{let e=null,s=null;t?t&&(e=x(t.playerPentagons,r))&&(e.__type=l.COMPARE,s=o(e)):r?(e=x(i,r))&&(e.__type=l.COMPARE_SELF,s=o(e)):(null==d?void 0:d.length)&&((e=d[0]).__type=l.AVG),a.push(s),n.push(e)}n.reverse()}return{attributes:a,pentagonLayers:n}}},73674:(e,t,r)=>{"use strict";r.d(t,{A:()=>v});var s=r(6029),a=r(21377),n=r(21501),l=r(99064),i=r(78383),o=r.n(i),d=r(90248),c=r(48683),u=r(54409),p=r(85685),x=r(62827),m=r(83260),h=function(e){return e.HIGHER="UP",e.LOWER="DOWN",e}(h||{});let y=e=>"".concat(e.vote).concat(":").concat(e.proposedMarketValue),g=e=>{let[t,r]=e.split(":");return{proposedMarketValue:Number(r),vote:t}};function j(e){let{currencySign:t,selected:r,inverted:a,voted:n,vote:i}=e;return(0,s.jsxs)(l.so,{bg:"surface.s1",br:"50%",align:"center",justify:"center",w:48,h:48,elevation:2,onClick:()=>{r||n||(i(),(0,x.MZ)((0,s.jsxs)(l.so,{align:"center",children:[(0,s.jsx)(u.G_L,{fill:"onColor.primary",mr:"lg"}),(0,s.jsx)(l.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:a?"column-reverse":"column",cursor:n?"default":"pointer",p:6,border:r?"primary.default":void 0,children:[(0,s.jsx)(u.tSt,{fill:a?"error.default":"success.default",style:{transform:"rotate(".concat(180*!!a,"deg)")}}),(0,s.jsx)(l.az,{my:"xs",br:"50%",bg:"neutral.default",h:16,w:16,children:(0,s.jsx)(l.EY,{lineHeight:"16px",font:"assistive.default",color:"surface.s1",align:"center",as:"div",children:t})})]})}function f(e){let{playerId:t,proposedMarketValueRaw:r}=e,n=(0,a.oaz)(r),{canUserVote:i,voteRecord:o,voteHigher:d,voteLower:c,isRehydrated:u}=function(e,t){let[r,s,a]=(0,m.A)("pv_".concat(e),null),n=r?g(r):null,l=(null==n?void 0:n.proposedMarketValue)!==t.value,i=e=>{l&&t&&s(y({vote:e,proposedMarketValue:t.value}))};return{canUserVote:l,voteRecord:n,voteHigher:()=>i("UP"),voteLower:()=>i("DOWN"),isRehydrated:a}}(t,r),p=!!u&&!i&&(null==o?void 0:o.vote)==="DOWN",x=!!u&&!i&&(null==o?void 0:o.vote)==="UP";return(0,s.jsxs)(l.so,{gap:"sm",children:[(0,s.jsx)(j,{vote:d,currencySign:n.currencySign,selected:x,voted:!i}),(0,s.jsx)(j,{vote:c,currencySign:n.currencySign,selected:p,voted:!i,inverted:!0})]})}let v=function(e){let t=(0,n.hX)(),r=(0,a.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)(l.so,{gap:"sm",align:"center",px:"lg",py:"sm",children:[(0,s.jsxs)(l.so,{gap:"sm",align:"center",justify:"space-between",children:[(0,s.jsxs)(l.az,{children:[(0,s.jsx)(l.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)(l.EY,{font:"display.medium",color:"sofaSingles.value",align:"center",as:"div",children:(0,s.jsx)(p.o,{parsedMoney:r})})]}),(0,s.jsx)(l.cG,{vertical:!0}),(0,s.jsx)(l.EY,{font:"assistive.default",color:"onSurface.nLv1",children:(0,s.jsx)(d.A,{id:"is_market_value_higher_or_lower"})})]}),t?(0,s.jsxs)(l.so,{gap:"sm",children:[(0,s.jsx)(j,{vote:o(),currencySign:r.currencySign,selected:!1,voted:!1}),(0,s.jsx)(j,{vote:o(),currencySign:r.currencySign,selected:!1,voted:!1,inverted:!0})]}):(0,s.jsx)(f,{...e})]}),(0,s.jsx)(c.Zp.Footer,{defaultHeight:"sm"})]})}},76735:(e,t,r)=>{"use strict";r.d(t,{z:()=>i});var s=r(21377),a=r(45860),n=r(69559),l=r(14196);function i(e){var t;let{player:r,lastYearSummary:i,hasPentagon:o,transfers:d}=e,c=(0,n.o)(),u=l.G.includes(c),{data:p}=(0,a.Ay)(u?null:s.qvj.nationalTeamStatistics(r.id));if(u)return{isEmpty:!(null==d?void 0:d.length),hasLastYearSummary:!1,showPlayerValue:!1};let x=void 0!==i,m=!!(r.team.primaryUniqueTournament&&r.proposedMarketValueRaw);return{isEmpty:!(null==p||null==(t=p.statistics)?void 0:t.length)&&!x&&!m&&!o&&!(null==d?void 0:d.length),hasLastYearSummary:x,showPlayerValue:m}}},77552:(e,t,r)=>{"use strict";r.d(t,{A:()=>l});var s=r(6029),a=r(55729),n=r(41735);let l=(0,a.forwardRef)((e,t)=>{let{children:r,...l}=e,{colors:i}=(0,a.useContext)(n.ThemeContext);return(0,s.jsxs)("svg",{height:l.height||"100%",width:l.width||"100%",viewBox:"0 0 200 200",strokeWidth:"2",...l,ref:t,children:[(0,s.jsx)("polygon",{fill:l.fill||i.surface.s2,points:"100,0 195.10565162951534,69.09830056250526 158.77852522924732, 180.90169943749473 41.2214747707527,180.90169943749476 4.894348370484636,69.09830056250527"}),r]})})},78492:(e,t,r)=>{var s=r(50956);e.exports=function(e,t,r,a){return s(e,function(e,s,n){t(a,e,r(e),n)}),a}},79387:(e,t,r)=>{"use strict";r.d(t,{C:()=>s.C});var s=r(42525)},80734:(e,t,r)=>{"use strict";r.d(t,{n:()=>o});var s=r(6029),a=r(21501),n=r(76356),l=r(55729),i=r(58775);function o(e){let t=1===l.Children.count(e.children),r=(0,a.hX)()&&e.openOnServer,[o,d]=(0,l.useState)(r||!1);return(0,s.jsxs)(n.az,{children:[(0,s.jsx)(n.az,{children:e.children[0]}),(0,s.jsx)(n.az,{display:o?"initial":"none",children:e.children.slice(1)}),!t&&(0,s.jsx)(i.d,{isOpen:o,onClick:()=>d(e=>!e)})]})}},80932:(e,t,r)=>{"use strict";r.d(t,{s:()=>o});var s=r(21377),a=r(55729),n=r(45860),l=r(62859),i=r(72555);function o(e){let t=(0,a.useContext)(l.Ws)===s.QCR.Football,{data:r,isLoading:o,error:d}=(0,n.Ay)(t&&e?s.qvj.pentagon(e):null);return{pentagons:!d&&r?(0,i.TC)(r):null,isPentagonDataLoading:o,isError:d}}},81648:e=>{e.exports=function(e,t,r,s){for(var a=-1,n=null==e?0:e.length;++a{"use strict";r.d(t,{A:()=>T});var s=r(6029),a=r(21377),n=r(28349),l=r(21501),i=r(76356),o=r(93338),d=r(99064),c=r(55729),u=r(45860),p=r(48683),x=r(75751),m=r(79392),h=r(54917),y=r(90248),g=function(e){return e.strengths="strengths",e.weaknesses="weaknesses",e}(g||{});function j(e){let{characteristics:t,type:r}=e;return t.length?(0,s.jsx)(i.az,{children:t.map(e=>(0,s.jsx)(n.EY,{display:"block",mb:"xs",children:(0,s.jsx)(y.A,{id:e})},e))}):(0,s.jsx)(n.EY,{display:"block",children:(0,s.jsx)(y.A,{id:"strengths"===r?"no_strengths":"no_weaknesses"})})}let f=(0,c.memo)(e=>{let{strengths:t,weaknesses:r}=e;return(0,s.jsxs)(i.so,{minH:"[172px]",direction:"column",justify:"space-between",border:"1",children:[(0,s.jsxs)(i.az,{pb:"xl",children:[(0,s.jsx)(n.EY,{textStyle:"display.small",color:"status.success.default",mb:"sm",display:"block",children:(0,s.jsx)(y.A,{id:"player_strengths"})}),(0,s.jsx)(j,{characteristics:t,type:"strengths"})]}),(0,s.jsxs)(i.az,{pb:"xl",children:[(0,s.jsx)(n.EY,{textStyle:"display.small",color:"status.error.default",mb:"sm",display:"block",children:(0,s.jsx)(y.A,{id:"player_weaknesses"})}),(0,s.jsx)(j,{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={[a.dl9.Striker]:"colors.playerPosition.forward",[a.dl9.LeftWinger]:"colors.playerPosition.forward",[a.dl9.RightWinger]:"colors.playerPosition.forward",[a.dl9.AttackingMidfielder]:"colors.playerPosition.midfield",[a.dl9.MidfielderLeft]:"colors.playerPosition.midfield",[a.dl9.MidfielderCenter]:"colors.playerPosition.midfield",[a.dl9.MidfielderRight]:"colors.playerPosition.midfield",[a.dl9.DefensiveMidfielder]:"colors.playerPosition.midfield",[a.dl9.DefenderLeft]:"colors.playerPosition.defender",[a.dl9.DefenderCenter]:"colors.playerPosition.defender",[a.dl9.DefenderRight]:"colors.playerPosition.defender",[a.dl9.Goalkeeper]:"colors.playerPosition.goalkeeper"};var w=r(62042);let _=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,w.AH)({fill:"graphics.terrain.football"}),width:"120",height:"180",rx:"4"}),(0,s.jsx)("path",{className:(0,w.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,w.AH)({stroke:"surface.s1"}),strokeWidth:"2",strokeLinejoin:"round"}),(0,s.jsx)("path",{className:(0,w.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,w.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,w.AH)({stroke:"surface.s1"}),strokeWidth:"2",strokeLinejoin:"round"}),(0,s.jsxs)("g",{children:[(0,s.jsx)("path",{className:(0,w.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,w.AH)({stroke:"surface.s1"}),strokeWidth:"2",strokeLinejoin:"round"}),(0,s.jsx)("path",{className:(0,w.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,w.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,w.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})]})},S={[a.dl9.Goalkeeper]:{x:60,y:164},[a.dl9.DefenderLeft]:{x:25,y:146},[a.dl9.DefenderCenter]:{x:60,y:146},[a.dl9.DefenderRight]:{x:95,y:146},[a.dl9.DefensiveMidfielder]:{x:60,y:118},[a.dl9.MidfielderLeft]:{x:25,y:90},[a.dl9.MidfielderCenter]:{x:60,y:90},[a.dl9.MidfielderRight]:{x:95,y:90},[a.dl9.AttackingMidfielder]:{x:60,y:62},[a.dl9.LeftWinger]:{x:25,y:34},[a.dl9.RightWinger]:{x:95,y:34},[a.dl9.Striker]:{x:60,y:20}};function A(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,w.AH)({fill:"surface.s1"})}),(0,s.jsx)("text",{className:(0,w.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 k=function(e){let{positions:t}=e;return(0,s.jsx)(_,{children:t&&t.map(e=>(0,s.jsx)(A,{position:e,attr:S[e.toLowerCase()]},e))})},C=e=>v[e.type];function T(e){let t,{player:r}=e,y=r.team.sport.slug===a.QCR.Football,g=(0,l.hX)(),[j,v]=(0,c.useState)(!1),{data:w,error:_,isLoading:S}=(0,u.Ay)(a.qvj.characteristics(r.id)),A=!w&&!_;if(g||S)return(0,s.jsx)(p.Zp,{children:(0,s.jsx)(i.az,{style:{height:"212px"}})});if(_)return null;let T=!A&&!w||w&&0===w.positions.length||!y,E=r.retired||r.deceased;return E&&T?null:(0,s.jsxs)(x.t,{tag:"CharacteristicsContainer",children:[(0,s.jsxs)(p.Zp,{children:[(0,s.jsx)(p.Zp.Header,{titleId:"player_positions"}),(0,s.jsxs)(i.so,{p:"lg",gap:"sm",align:"center",justify:E?"center":"space-between",children:[!E&&(0,s.jsx)(f,{player:r,weaknesses:w.negative.map(C),strengths:w.positive.map(C)}),!T&&(0,s.jsx)(i.az,{onClick:()=>v(!0),cursor:"pointer",children:(0,s.jsx)(k,{positions:w.positions})})]})]}),(0,s.jsx)(m.A,{isOpen:j,setIsOpen:v,header:"playerPositions",children:Object.keys(b).map((e,l)=>{let u=b[e],p=0!==l&&u!==t;return t=u,(0,s.jsxs)(c.Fragment,{children:[p&&(0,s.jsx)(d.cG,{my:"md"}),(0,s.jsxs)(i.so,{mb:"sm",justify:"space-between",px:"md",children:[(0,s.jsx)(n.EY,{fontWeight:"bold",style:{color:o.S.var(b[e])},children:e.toUpperCase()}),(0,s.jsx)(n.EY,{color:"neutrals.nLv2",textStyle:"body.medium",children:(0,s.jsx)(h.F,{id:e.toUpperCase(),sport:a.QCR.Football,gender:r.team.gender})})]})]},e)})})]})}},87526:(e,t,r)=>{"use strict";r.d(t,{N:()=>C});var s=r(6029),a=r(947),n=r(28349),l=r(76356),i=r(55729),o=r(90248),d=r(54053),c=r(61836);let u=e=>{let{url:t,onClick:r}=e;return(0,s.jsx)(n.$n,{children:(0,s.jsx)(l.I4.a,{color:"onColor.primary",h:"100%",w:"100%",display:"flex",justifyContent:"center",alignItems:"center",href:t,target:"_blank",rel:"noopener",onClick:r,children:(0,s.jsx)(o.A,{id:"claim_offer"})})})},p=e=>{let{logoUrl:t,promotionName:r,bgImageUrl:a,title:p,description:x,isOpen:m,setIsOpen:h,url:y,location:g}=e,{isDesktop:j}=(0,n.$c)(),f={backgroundImage:"url(".concat(a,")"),backgroundSize:"cover",backgroundRepeat:"no-repeat",backgroundPosition:"center"};if((0,i.useEffect)(()=>{m&&(0,c.Z1)({type:"bottom_sheet",name:r,location:g})},[m]),!m)return null;let v=()=>h(!1);return(0,s.jsx)(s.Fragment,{children:(0,s.jsx)(d.A,{isOpen:m,setIsOpen:h,footer:null,renderAdPlaceholder:!1,sheetStyles:f,modalContentStyles:f,width:360,bottomSheetSize:"large",isBottomSheetLocked:!0,children:(0,s.jsxs)(l.so,{direction:"column",justifyContent:"space-between",h:"100%",style:j?f:void 0,br:"lg",children:[(0,s.jsx)(l.so,{h:"8xl",px:"xl",pt:{md:"xl"},children:(0,s.jsx)(l.az,{w:"4xl",h:"4xl",children:(0,s.jsx)(n._V,{src:t,h:"4xl",w:"4xl",alt:r})})}),(0,s.jsxs)(l.so,{direction:"column",justify:"flex-end",minH:"[400px]",px:"lg",pb:"lg",gap:"2xl",children:[(0,s.jsxs)(l.so,{direction:"column",gap:"lg",children:[(0,s.jsx)(l.az,{textStyle:"display.extraLarge",color:"onColor.primary",children:p}),(0,s.jsx)(l.az,{textStyle:"body.mediumParagraph",color:"onColor.primary",children:x})]}),(0,s.jsxs)(l.so,{direction:"column",gap:"sm",pt:"xs",children:[(0,s.jsx)(u,{url:y,onClick:()=>{(0,c.AW)({type:"bottom_sheet",name:r,location:g}),v()}}),(0,s.jsx)(n.$n,{variant:"clear",color:"onColor.primary",onClick:v,children:(0,s.jsx)(o.A,{id:"maybe_later"})})]})]})]})})})};var x=r(66062);let m=e=>{let{isOpen:t,setIsOpen:r,location:n}=e,l=(0,a.A)();return(0,s.jsx)(p,{logoUrl:"/static/images/courtside-1891/logo.png",bgImageUrl:"/static/images/courtside-1891/modal-bg.png",promotionName:x.d.promotionName,title:l.formatMessage({id:"euro_basket_promo_drawer_header"}),description:l.formatMessage({id:"euro_basket_promo_drawer_body"}),url:x.d.url,isOpen:t,setIsOpen:r,location:n})};var h=r(83151),y=r(21501),g=r(494),j=r(41888),f=r(70116),v=r(10794),b=r(62827),w=r(83260),_=r(89606),S=r(32097);let A=(e,t)=>{let r=new Date().getTime();if(!e.hasModal||!e.modalCooldown||e.maxTotalViews&&(null==t?void 0:t.totalViews)&&e.maxTotalViews>t.totalViews)return!1;let s=null==t?void 0:t.lastView;return!s||r-s>e.modalCooldown},k=e=>{let t=(0,y.hX)(),{priorityModal:r,setModalAvailable:s,dismiss:a,isDismissed:n}=(0,f.Z)(),l=(0,g.d4)(v.LQ),[o,d]=(0,b.bL)("promotion-in-session",void 0),[c,u]=(0,i.useState)(!1),[p,m]=(0,i.useState)(!1),[h,k,C]=(0,w.A)("last-view-per-promotion",{}),T=t||!C?void 0:x.jI.find(r=>(0,_.y)(r,t,l)&&(0,S.H)(e,r)&&A(r,h[r.id]));return(0,i.useEffect)(()=>{T?s(j.w.PromotionModal,!0):r||n||s(j.w.PromotionModal,!1)},[T]),(0,i.useEffect)(()=>{if(r===j.w.PromotionModal&&T){let e=new Date().getTime();d(T.id),u(!0),m(!0),k(t=>{var r,s;let a=Object.keys(t).filter(e=>!!x.jI.find(t=>t.id===e)),n={};return a.forEach(e=>{n[e]=t[e]}),n[T.id]={lastView:e,totalViews:(null!=(s=null==(r=t[T.id])?void 0:r.totalViews)?s:0)+1},n})}},[r]),(0,i.useEffect)(()=>{!c&&p&&a()},[c]),{promotion:o,isOpen:c,setIsOpen:u}},C=e=>{let{page:t}=e,{promotion:r,isOpen:a,setIsOpen:n}=k(t);return r&&a&&r===h.v.Courtside1891?(0,s.jsx)(m,{isOpen:a,setIsOpen:n,location:t.location}):null}},90536:(e,t,r)=>{"use strict";r.d(t,{AG:()=>l,Et:()=>u,aQ:()=>c,mR:()=>o,o5:()=>d});var s=r(21377),a=r(13731),n=r.n(a);let l=e=>e.reduce((e,t)=>e+Number(t),0)/e.length,i=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 n()(t,e=>i(new Date(1e3*e.timestamp)))}function d(){let e={},t=new Date;for(let r=0;r<12;r++)e[i(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",""))}},91811:(e,t,r)=>{"use strict";r.d(t,{T:()=>n,n:()=>a});var s=r(21377);function a(e){return e.fullName?e.fullName.split(",").reverse().map(e=>e.trim()).join(" "):e.name}function n(e,t){return e.slug===s.QCR.Football?t.players.length>10:t.players.length>4}},93024:(e,t,r)=>{"use strict";r.d(t,{A:()=>p});var s=r(6029),a=r(28349),n=r(76356),l=r(93338),i=r(99064),o=r(41735),d=r(72555);let c=(0,o.default)(i.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:i,isComparing:o}=e;return(0,s.jsx)(n.az,{w:"[20px]",h:"[20px]",br:"xs",style:{background:r?l.S.var("colors.surface.s2"):o?i?l.S.var("colors.secondary.default"):l.S.var("colors.neutral.default"):l.S.var((0,d.W6)(t))},children:(0,s.jsx)(a.EY,{lineHeight:"20px",textStyle:"table.small",color:r?i?"secondary.default":"primary.default":"surface.s1",display:"block",textAlign:"center",children:t})})},p=function(e){let{data:t,isAnotherPlayerCompare:r,children:l}=e,[i,p]=t,{settings:x}=(0,o.useTheme)(),m="rtl"===x.textDirection;return i?(0,s.jsx)(n.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:m,children:[l,i.map((e,t)=>(0,s.jsxs)(n.so,{direction:{_ltr:"row",_rtl:"row-reverse"},position:"absolute",className:e.name,gap:"xs",children:[(0,s.jsx)(a.EY,{lineHeight:"".concat(20,"px"),textStyle:"assistive.default",color:"neutrals.nLv3",textTransform:"uppercase",children:d.HU[e.name]}),(0,s.jsxs)(n.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}},97944:(e,t,r)=>{"use strict";r.d(t,{S:()=>s.A});var s=r(73463)}},e=>{var t=t=>e(e.s=t);e.O(0,[14092,19888,56591,10395,14632,58621,84977,50346,60988,857,19907,39462,31254,77536,57632,13134,6675,48590,90636,46593,38792],()=>t(50284)),_N_E=e.O()}]);