!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},r=(new e.Error).stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="a8d8f1b5-a0bc-4cf2-b99a-60ca944b0dc9",e._sentryDebugIdIdentifier="sentry-dbid-a8d8f1b5-a0bc-4cf2-b99a-60ca944b0dc9")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[32035,62990,87887],{1139:(e,r,t)=>{var n=t(68988),a=t(20648);e.exports=function(e,r){return a(e,n(r,2))}},3411:(e,r,t)=>{"use strict";t.d(r,{W:()=>m});var n=t(6029),a=t(19621),s=t(71024),i=t.n(s),l=t(46222),o=t(91824),d=t(10174),u=t(76356),c=t(90248),p=t(52466);t(23631);var x=t(21559);t(6644);var y=t(90117);function h(){return(0,n.jsxs)(l.Zp,{children:[(0,n.jsx)(l.Zp.Header,{titleId:"player.info.attributeOverview",actionComponent:(0,n.jsx)(y.A,{attributes:[]})}),(0,n.jsxs)(u.so,{direction:"column",gap:"lg",pt:"md",pb:"lg",px:"sm",children:[(0,n.jsx)(u.az,{maxW:"[360px]",w:"fit",pt:"xl",mb:"sm",mx:"auto",children:(0,n.jsx)(u.az,{mx:{base:"[78px]",lg:"[86px]"},children:(0,n.jsx)(x.A,{})})}),(0,n.jsx)(u.so,{justify:"center",py:"sm",children:(0,n.jsx)(u.az,{w:"[360px]",h:"[36px]",bg:"surface.s2",br:"lg"})}),(0,n.jsx)(u.az,{h:"6xl",bg:"surface.s2",br:"md"}),(0,n.jsxs)(u.so,{align:"center",gap:"sm",px:"sm",children:[(0,n.jsx)(p.G_L,{minW:24,fill:"onSurface.nLv1"}),(0,n.jsx)(d.EY,{textStyle:"assistive.default",color:"neutrals.nLv3",children:(0,n.jsx)(c.A,{id:"click_for_average_values"})})]})]})]})}let j=i()(()=>t.e(94335).then(t.bind(t,94335)),{loadableGenerated:{webpack:()=>[94335]},ssr:!1,loading:()=>(0,n.jsx)(h,{})});function m(e){let{player:r}=e,{pentagons:t,isPentagonDataLoading:s,isError:i}=(0,o.s)(r.id),d=(0,a.hX)(),u=(null==t?void 0:t.playerPentagons.length)&&0!==t.playerPentagons[0].yearShift?null:t;return i||null===u&&!s?null:(0,n.jsxs)(l.Zp,{children:[(d||s)&&(0,n.jsx)(h,{}),!d&&!s&&!!u&&(0,n.jsx)(j,{basePlayer:r,basePentagons:u})]})}},6644:(e,r,t)=>{"use strict";t.d(r,{A:()=>p});var n=t(6029),a=t(36729),s=t(56591);t(14632);var i=t(55729),l=t(41735),o=t(21559),d=t(98366);let u=[100,100,100,100,100],c=(e,r)=>{switch(e){case d.eM.AVG:return{fill:r.colors.surface.s2,stroke:r.colors.sofaSingles.value};case d.eM.BASE:return{fill:r.colors.secondary.highlight,stroke:r.colors.secondary.default};case d.eM.COMPARE:return{fill:r.colors.primary.highlight,stroke:r.colors.primary.default};case d.eM.COMPARE_SELF:return{fill:r.colors.surface.s2,stroke:r.colors.neutral.default};default:return{fill:"transparent",stroke:"transparent"}}};function p(e){let{data:r,onGraphClick:t}=e,p=(0,i.useContext)(l.ThemeContext),[x,y]=(0,i.useState)(),h=(0,i.useRef)(null);return(0,i.useEffect)(()=>{if(x){let e=x.selectAll("polygon").data(r,(e,r)=>r.toString());e.enter().append("polygon").merge(e).transition("Pentagon transition").ease(a.wq).duration(400).attr("points",e=>{let r=e?(0,d.mc)(e).map(e=>e.value):u;return(0,d.cS)((0,d.tO)(r))}).attr("opacity",e=>+(null!==e)).attr("fill",e=>p.getColorFromVar(c(null==e?void 0:e.__type,p).fill)).attr("stroke",e=>p.getColorFromVar(c(null==e?void 0:e.__type,p).stroke))}else{let e=h.current;y((0,s.A)(e).append("g").on("click",t))}},[x,r]),(0,n.jsx)(o.A,{ref:h})}},14348:(e,r,t)=>{"use strict";t.d(r,{z:()=>o});var n=t(46787),a=t(45860),s=t(74664),i=t(94711);let l=[n.QCR.Football,n.QCR.Basketball];function o(e){var r;let{player:t,lastYearSummary:o,hasPentagon:d,transfers:u}=e,c=(0,s.o)(),p=i.l.includes(c),{data:x}=(0,a.Ay)(p?null:n.qvj.nationalTeamStatistics(t.id));if(p)return{isEmpty:!(null==u?void 0:u.length),hasLastYearSummary:!1,showPlayerValue:!1};let y=!!(null==o?void 0:o.length),h=!!(t.team.primaryUniqueTournament&&t.proposedMarketValueRaw),j=void 0!==u&&l.includes(c);return{isEmpty:!(null==x||null==(r=x.statistics)?void 0:r.length)&&!y&&!h&&!d&&!j,hasLastYearSummary:y,showPlayerValue:h}}},17423:(e,r,t)=>{"use strict";t.d(r,{Y:()=>d});var n=t(6029),a=t(46787),s=t(947),i=t(83716),l=t(85339),o=t(22932);let d=e=>{let{page:r}=e,t=(0,o._)(r,l.Vc),d=(0,s.A)();return t?(0,n.jsx)(i.Q,{banner:{copy:{action:d.formatMessage({id:"link_visit_nba"}),description:d.formatMessage({id:"banner_nba_league_pass_description"}),sectionTitle:d.formatMessage({id:"banner_nba_league_pass_title"})},type:a.$pL.CleanBanner,background:a.jae.Surface,detailImageUrl:{ltr:"/static/images/nba-league-pass/league-pass-logo.webp"},detailImageUrlDark:{ltr:"/static/images/nba-league-pass/league-pass-logo-dark.webp"},campaignName:l.Vc.promotionName,url:"https://nba.sjv.io/c/5441787/2176796/16284"},location:r.location}):null}},20648:(e,r,t)=>{var n=t(57760),a=0/0;e.exports=function(e,r){var t=null==e?0:e.length;return t?n(e,r)/t:a}},20991:(e,r,t)=>{"use strict";t.d(r,{A:()=>o});var n=t(6029),a=t(46787),s=t(45860),i=t(46222),l=t(96983);function o(e){let{id:r}=e,{data:t}=(0,s.Ay)(a.dVR.highlights(r));return t&&t.highlights.length?(0,n.jsx)(i.WC,{variant:"inverse-desktop",children:(0,n.jsx)(i.BU,{children:(0,n.jsx)(l.$,{highlights:t.highlights,hideTitle:!0})})}):null}},21559:(e,r,t)=>{"use strict";t.d(r,{A:()=>i});var n=t(6029),a=t(55729),s=t(41735);let i=e=>{let{children:r,ref:t,...i}=e,{colors:l}=(0,a.useContext)(s.ThemeContext);return(0,n.jsxs)("svg",{height:i.height||"100%",width:i.width||"100%",viewBox:"0 0 200 200",strokeWidth:"2",...i,ref:t,children:[(0,n.jsx)("polygon",{fill:i.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,r,t)=>{"use strict";t.d(r,{Ay:()=>g,Sj:()=>m,ld:()=>j});var n=t(6029),a=t(33144),s=t(46787),i=t(22375),l=t(10174),o=t(76356),d=t(90248),u=t(90510),c=t(45860),p=t(46222),x=t(64006),y=t(88505);function h(e){let{id:r,children:t}=e;return(0,n.jsxs)(o.so,{direction:"column",align:"center",children:[(0,n.jsx)(l.EY,{textStyle:"assistive.micro",textTransform:"uppercase",color:"neutrals.nLv3",children:(0,n.jsx)(d.A,{id:r})}),(0,n.jsx)(l.EY,{textStyle:"display.medium",children:t})]})}function j(e){var r;let{data:t}=(0,c.Ay)(s.qvj.nationalTeamStatistics(e.playerId));if(null==t||null==(r=t.statistics)?void 0:r.length)return{statistics:t.statistics}}function m(e){let{statistics:r}=e;return(0,n.jsxs)(p.Zp,{children:[(0,n.jsx)(p.Zp.Header,{titleId:"national_team"}),r.map(e=>{let{team:r,appearances:t,goals:c,debutTimestamp:p}=e;return(0,n.jsxs)(o.BJ,{gap:"lg",px:"lg",py:"sm",children:[(0,n.jsx)(x.gT,{team:r,sport:r.sport.slug,children:(0,n.jsxs)(o.so,{align:"center",gap:"lg",children:[(0,n.jsx)(a.p,{national:!0,size:40,id:r.id}),(0,n.jsxs)(o.BJ,{gap:"0",children:[(0,n.jsx)(l.EY,{textStyle:"display.medium",children:(0,n.jsx)(y.Rm,{team:r,showFemaleSuffix:r.gender===s.YT8.Female})}),(0,n.jsx)(l.EY,{textStyle:"assistive.default",color:"neutrals.nLv3",children:(0,n.jsx)(d.A,{id:"national_team"})})]})]})}),(0,n.jsxs)(o.so,{align:"center",justify:"space-between",children:[(0,n.jsx)(h,{id:"national_team_debut",children:(0,n.jsx)(u.XU,{value:new Date(1e3*p),timeZone:"UTC",...i.or.dateWithShortMonth})}),(0,n.jsx)(h,{id:"match_appearances",children:t}),(0,n.jsx)(h,{id:"goals",children:c})]})]},"".concat(r.id,"-").concat(p))}),(0,n.jsx)(p.Zp.Footer,{defaultHeight:"sm"})]})}function g(e){let r=j(e);return r?(0,n.jsx)(m,{...r}):null}},22275:(e,r,t)=>{"use strict";t.d(r,{n:()=>o});var n=t(6029),a=t(19621),s=t(76356),i=t(55729),l=t(33140);function o(e){let r=1===i.Children.count(e.children),t=(0,a.hX)()&&e.openOnServer,[o,d]=(0,i.useState)(t||!1);return(0,n.jsxs)(s.az,{children:[(0,n.jsx)(s.az,{children:e.children[0]}),(0,n.jsx)(s.az,{display:o?"initial":"none",children:e.children.slice(1)}),!r&&(0,n.jsx)(l.d,{isOpen:o,onClick:()=>d(e=>!e)})]})}},22932:(e,r,t)=>{"use strict";t.d(r,{_:()=>o});var n=t(46787),a=t(85339),s=t(95084),i=t(46340),l=t(78003);let o=(e,r)=>!!(0,l.v)(r)&&((e,r)=>{switch(e.location){case s.XN.PlayerScreen:return((e,r)=>{var t,s;switch(r.id){case i.v.Courtside1891:return e.team.sport.slug===n.QCR.Basketball&&(null==(t=e.country)?void 0:t.alpha2)&&a.bx.includes(e.country.alpha2);case i.v.NBALeaguePass:return(null==(s=e.team.primaryUniqueTournament)?void 0:s.id)===n.G6l.NBA;default:return!1}})(e.entity,r);case s.XN.LeagueScreen:return((e,r)=>{switch(r.id){case i.v.Courtside1891:return e.id===a.MS;case i.v.UclFantasy:return e.id===n.G6l.UEFAChampionsLeague;case i.v.NBALeaguePass:return e.id===n.G6l.NBA;default:return!1}})(e.entity,r);case s.XN.EventScreen:return((e,r)=>{var t,s;switch(r.id){case i.v.Courtside1891:return(null==(t=e.tournament.uniqueTournament)?void 0:t.id)===a.MS;case i.v.NBALeaguePass:return(null==(s=e.tournament.uniqueTournament)?void 0:s.id)===n.G6l.NBA;default:return!1}})(e.entity,r);case s.XN.TeamScreen:return((e,r)=>{var t,s;switch(r.id){case i.v.Courtside1891:return e.sport.slug===n.QCR.Basketball&&(null==(t=e.country)?void 0:t.alpha2)&&a.bx.includes(e.country.alpha2);case i.v.NBALeaguePass:return(null==(s=e.primaryUniqueTournament)?void 0:s.id)===n.G6l.NBA;default:return!1}})(e.entity,r);default:return!1}})(e,r)},23016:(e,r,t)=>{"use strict";t.d(r,{G:()=>l});var n=t(6029),a=t(90248);let s=JSON.parse('{"out":"injury_status_out","dayToDay":"injury_day_to_day","outForSeason":"injury_season","outIndefinitely":"injury_indefinitely","unknown":"injury_unknown","injuredReserve":"injury_reserve","Pectoral Muscle":"injury_pectoral_muscle","Upper Body":"injury_upper_body","Broken Wrist":"injury_reason_broken_wrist","Abdominal":"injury_reason_abdominal","Thumb / Wrist Injury":"injury_reason_thumb_wrist","Non Injury Related":"injury_reason_non_related","Not Injury Related":"injury_reason_non_related","Ankke":"injury_reason_ankle","Ankle":"injury_reason_ankle","Ankle Injury":"injury_reason_ankle","Leg":"injury_reason_leg","Leg Injury":"injury_reason_leg","Conditioning":"injury_reason_conditioning","Blood Clotting":"injury_reason_blood_clotting","Blood clotting":"injury_reason_blood_clotting","Broken Hand":"injury_reason_broken_hand","Ribs":"injury_reason_ribs","Unknown":"injury_reason_unknown","Lower body":"injury_reason_lower_body","Lower-body":"injury_reason_lower_body","Lower Body":"injury_reason_lower_body","Lower-Body":"injury_reason_lower_body","lowe":"injury_reason_lower_body","Shoulder Injury":"injury_reason_shoulder","Shoulder":"injury_reason_shoulder","Shouler":"injury_reason_shoulder","Broken Ankle":"injury_reason_broken_ankle","Pelvis Injury":"injury_reason_pelvis","Ear":"injury_reason_ear","Thigh":"injury_reason_thigh","Thigh Injury":"injury_reason_thigh","Patellar":"injury_reason_patellar","Thumb":"injury_reason_thumb","Broken Arm":"injury_reason_broken_arm","Trade Pending":"missing_reason_trade_pending","Achilles Tendon Rupture":"injury_reason_achilles_tendon_rupture","Calk":"injury_reason_calf_injury","Calf":"injury_reason_calf_injury","Calf Injury":"injury_reason_calf_injury","Throat":"injury_reason_throat","Heart":"injury_reason_heart","Heart Condition":"injury_reason_heart","Arm":"injury_reason_arm","Arm Injury":"injury_reason_arm","Gluteal Strain":"injury_reason_gluteal_strain","Broken Finger":"injury_reason_broken_finger","Broken Foot":"injury_reason_broken_foot","Meniscus":"injury_reason_meniscus","AC Joint":"injury_reason_ac_joint","Obliques":"injury_reason_obliques","MCL Knee Injury":"injury_reason_mcl","Toe Sprain":"injury_reason_toe_sprain","Hernia":"injury_reason_hernia","Soleus":"injury_reason_soleus","Knee Injury":"injury_reason_knee","Knee":"injury_reason_knee","kn":"injury_reason_knee","Illnesss":"injury_reason_illness","Illness":"injury_reason_illness","Mid-Body":"injury_reason_mid_body","Muscle Injury":"injury_reason_muscle","Core":"injury_reason_core","LCL Knee Injury":"injury_reason_lcl","lower-body":"injury_reason_lower_body","Trade Reasons":"missing_reason_trade_related","Trade-related":"missing_reason_trade_related","Undisclosed":"injury_reason_undisclosed","Lower Leg":"injury_reason_lower_leg","Back Injury":"injury_reason_back","Back":"injury_reason_back","Dead Leg":"injury_reason_dead_leg","Appendicitis":"injury_reason_appendicitis","Toe Injury":"injury_reason_toe","Toe":"injury_reason_toe","Dislocated Shoulder":"injury_reason_dislocated_shoulder","Wrist":"injury_reason_wrist","Concussion":"injury_reason_concussion","Sacroiliac Joint":"injury_reason_sacroiliac_joint","Cheek":"injury_reason_cheek","ACL":"injury_reason_acl","Facial Injury":"injury_reason_facial","Rib":"injury_reason_rib","Rib Injury":"injury_reason_rib","Fibula":"injury_reason_fibula","Chest Injury":"injury_reason_chest","Chest":"injury_reason_chest","Elbow":"injury_reason_elbow","Chin Injury":"injury_reason_chin","Neck Injury":"injury_reason_neck","Neck":"injury_reason_neck","Foot Injury":"injury_reason_foot","Foot":"injury_reason_foot","Mid-body":"injury_reason_mid_body","Middle-body":"injury_reason_mid_body","Left leg":"injury_reason_left_leg","Rest":"injury_reason_rest","Knuckle":"injury_reason_knuckle","Therapy":"injury_reason_therapy","Reconditioning":"injury_reason_reconditioning","Coach\'s Decision":"missing_reason_coach_decision","Body":"injury_reason_body","Upper-Body":"injury_reason_upper_body","Upper-body":"injury_reason_upper_body","Upper body":"injury_reason_upper_body","Ankle/Foot Injury":"injury_reason_ankle_foot","Quadriceps":"injury_reason_quadriceps","Quadricep":"injury_reason_quadriceps","Hip/Back":"injury_reason_hip_back","Lung":"injury_reason_lung","Lip":"injury_reason_lip","Hip Injury":"injury_reason_hip","Mouth":"injury_reason_mouth","Mouth Injury":"injury_reason_mouth","Patella":"injury_reason_patella","NHL/NHLPA Player Assistance Program":"injury_reason_mental_health","NHLPA":"injury_reason_mental_health","Broken Nose":"injury_reason_broken_nose","Suspension":"missing_reason_suspension","Collapsed Lung":"injury_reason_collapsed_lung","Broken Toe":"injury_reason_broken_toe","Bursitis":"injury_reason_bursitis","Abdomen":"injury_reason_abdomen","Virus":"injury_reason_virus","Face":"injury_reason_face","Abdominal Strain":"injury_reason_abdominal_strain","PCL Knee Injury":"injury_reason_pcl","Eyes":"injury_reason_eyes","Hamstring":"injury_reason_hamstring","Pelvis":"injury_reason_pelvis","Cervical":"injury_reason_cervical","Stomach":"injury_reason_stomach","Lips":"injury_reason_lips","Nasal":"injury_reason_nasal","Oblique":"injury_reason_oblique","ACL Knee Injury":"injury_reason_acl","Patellofemoral":"injury_reason_patellofemoral","Clavicle Fracture":"injury_reason_clavicle_fracture","Achilles":"injury_reason_achilles","Hand Injury":"injury_reason_hand","Hand":"injury_reason_hand","Concussion Protocol":"injury_reason_concussion_protocol","Sternum":"injury_reason_sternum","Spleen":"injury_reason_spleen","Broken Collarbone":"injury_reason_broken_collarbone","Heel Injury":"injury_reason_heel","Heel":"injury_reason_heel","Quad":"injury_reason_quad","Stress":"injury_reason_stress","Jaw":"injury_reason_jaw","Adductor":"injury_reason_adductor","Hip":"injury_reason_hip","Achilles Strain":"injury_reason_achilles_strain","Nose":"injury_reason_nose","Medical Condition":"injury_reason_medical_condition","Maintenance":"injury_reason_maintenance","Strain":"injury_reason_strain","Eye Injury":"injury_reason_eye","Eye":"injury_reason_eye","Hips":"injury_reason_hips","Collarbone":"injury_reason_collarbone","Tired":"injury_reason_fatigue","Injury Management":"injury_reason_under_treatment","Scratch":"injury_reason_scratch","Return From Injury Management":"injury_reason_treatment_complete","Plantar":"injury_reason_plantar","Appendix":"injury_reason_appendix","Lumbar":"injury_reason_lumbar","Personal":"injury_reason_personal","Broken Leg":"injury_reason_broken_leg","Knock":"injury_reason_knock","Head Injury":"injury_reason_head","Head":"injury_reason_head","Triceps":"injury_reason_triceps","Side":"injury_reason_side","Biceps":"injury_reason_biceps","Bicep":"injury_reason_biceps","Peroneal":"injury_reason_peroneal","Forearm":"injury_reason_forearm","Shin":"injury_reason_shin","Groin Injury":"injury_reason_groin","Groin":"injury_reason_groin","Kneecap":"injury_reason_kneecap","Pectoral":"injury_reason_pectoral","Pelvic":"injury_reason_pelvic","Finger":"injury_reason_finger"}');var i=t(91113);let l=e=>{let{id:r}=e;return(0,n.jsx)(a.A,{id:(0,i.O)(s,r)})}},23631:(e,r,t)=>{"use strict";t.d(r,{A:()=>p});var n=t(6029),a=t(10174),s=t(76356),i=t(93338),l=t(94565),o=t(41735),d=t(98366);let u=(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"),c=e=>{let{value:r,isAnotherPlayerCompare:t,main:l,isComparing:o}=e;return(0,n.jsx)(s.az,{w:"[20px]",h:"[20px]",br:"xs",style:{background:t?i.S.var("colors.surface.s2"):o?l?i.S.var("colors.secondary.default"):i.S.var("colors.neutral.default"):i.S.var((0,d.W6)(r))},children:(0,n.jsx)(a.EY,{lineHeight:"20px",textStyle:"table.small",color:t?l?"secondary.default":"primary.default":"surface.s1",display:"block",textAlign:"center",children:r})})},p=function(e){let{data:r,isAnotherPlayerCompare:t,children:i}=e,[l,p]=r,{settings:x}=(0,o.useTheme)(),y="rtl"===x.textDirection;return l?(0,n.jsx)(s.az,{maxW:"[360px]",w:"fit",style:{paddingTop:28},mx:"auto",mb:"sm",children:(0,n.jsxs)(u,{position:"relative",style:{margin:"0 ".concat(86,"px")},isRTL:y,children:[i,l.map((e,r)=>(0,n.jsxs)(s.so,{direction:{_ltr:"row",_rtl:"row-reverse"},position:"absolute",className:e.name,gap:"xs",children:[(0,n.jsx)(a.EY,{lineHeight:"".concat(20,"px"),textStyle:"assistive.default",color:"neutrals.nLv3",textTransform:"uppercase",children:d.HU[e.name]}),(0,n.jsxs)(s.so,{gap:"xs",children:[(0,n.jsx)(c,{isAnotherPlayerCompare:t,value:e.value,isComparing:!!(p&&p[r]),main:!0}),p&&p[r]&&(0,n.jsx)(c,{isAnotherPlayerCompare:t,value:p[r].value,isComparing:!0})]})]},e.name))]})}):null}},23963:(e,r,t)=>{"use strict";t.d(r,{n:()=>i});var n=t(6029),a=t(76356),s=t(46222);function i(){return(0,n.jsxs)(s.Zp,{children:[(0,n.jsx)(s.Zp.Header,{titleId:"media"}),(0,n.jsx)(a.az,{h:"[800px]"})]})}},26194:(e,r,t)=>{var n=t(83965),a=t(37390),s=t(45895),i=t(48877);e.exports=s(function(e,r){if(null==e)return[];var t=r.length;return t>1&&i(e,r[0],r[1])?r=[]:t>2&&i(r[0],r[1],r[2])&&(r=[r[0]]),a(e,n(r,1),[])})},32035:(e,r,t)=>{"use strict";t.r(r),t.d(r,{UniqueTournamentMedia:()=>l,default:()=>o});var n=t(6029),a=t(46787),s=t(45860),i=t(96983);function l(e){let{uniqueTournamentId:r,hideTitle:t}=e,{data:l}=(0,s.Ay)(a.V3t.media(r));return l&&l.media.length?(0,n.jsx)(i.$,{highlights:l.media,hideTitle:t}):null}let o=l},33140:(e,r,t)=>{"use strict";t.d(r,{d:()=>o});var n=t(6029),a=t(10174),s=t(76356),i=t(90248),l=t(52466);let o=e=>{let{isOpen:r,onClick:t}=e;return(0,n.jsx)(s.so,{align:"center",justify:"center",p:"lg",children:(0,n.jsx)(s.I4.button,{onClick:t,padding:"0",cursor:"pointer",children:(0,n.jsxs)(s.so,{align:"center",children:[(0,n.jsx)(a.EY,{textStyle:"display.small",color:"primary.default",children:(0,n.jsx)(i.A,{id:r?"show_less":"show_more"})}),r?(0,n.jsx)(l.t8v,{fill:"primary.default",ml:"xs"}):(0,n.jsx)(l.QtO,{fill:"primary.default",ml:"xs"})]})})})}},34431:(e,r,t)=>{"use strict";t.d(r,{O:()=>p});var n=t(6029),a=t(46787),s=t(10174),i=t(947),l=t(90248),o=t(94008),d=t(67020),u=t(73498),c=t(52466);let p=e=>{let{id:r,type:t,sport:p,secondId:x}=e,{formatMessage:y}=(0,i.A)(),{isMobile:h}=(0,s.$c)(),j="player"===t||p===a.QCR.Tennis?c.cSg:c.l3$;return(0,n.jsx)(o.A,{routeKey:"comparison",query:(0,d.k9)(x?[r,x]:[r]),params:{sport:p,entityType:t},"aria-label":y({id:"compare"}),children:h?(0,n.jsxs)(s.$n,{size:"tertiary",children:[(0,n.jsx)(j,{}),(0,n.jsx)(l.A,{id:"compare"})]}):(0,n.jsx)(u.u,{label:y({id:"compare"}),children:(0,n.jsx)(j,{})})})}},40163:(e,r,t)=>{"use strict";t.d(r,{A:()=>u,y:()=>d});var n=t(6029),a=t(76356),s=t(55729),i=t(46222),l=t(4917),o=t(94156);let d=(0,a.I4)("div",{base:{textStyle:"body.mediumParagraph","& 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"}}}),u=function(e){let{player:r}=e,{seoContent:t}=(0,s.useContext)(l.x);return!r.deceased&&(null==t?void 0:t.about)?(0,n.jsxs)(i.Zp,{children:[(0,n.jsx)(i.Zp.Header,{title:(0,n.jsx)(o.c,{entity:r}),as:"h3"}),(0,n.jsx)(a.az,{px:"lg",pb:"lg",children:(0,n.jsx)(d,{dangerouslySetInnerHTML:{__html:t.about}})})]}):null}},48524:(e,r,t)=>{"use strict";t.d(r,{K:()=>f});var n=t(6029),a=t(10174),s=t(76356),i=t(88354),l=t(14107),o=t(12364),d=t.n(o),u=t(55729),c=t(90248),p=t(494),x=t(87919),y=t(52466),h=t(36882),j=t(15341),m=t(35152),g=t(15340);let _=(0,i.m)(s.az);function f(e){let{id:r,name:t,entity:i,children:o,threshold:f=144,type:b}=e,[v,k]=(0,u.useState)(0),[w,A]=(0,j.A)("sticky_follow_header_closed_".concat(i),!1),S=(0,m.Pz)(i),C=function(e){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1e3,[t,n]=(0,u.useState)(e);return(0,u.useEffect)(()=>{let t=setTimeout(()=>{n(e)},r);return()=>clearTimeout(t)},[e]),t}((0,p.d4)(e=>e.favorites.lists[S[0]].includes(r)||2===S.length&&e.favorites.lists[S[1]].includes(r)));return(0,u.useEffect)(()=>{if(w)return;let e=d()(()=>{window.requestAnimationFrame(()=>{k(window.scrollY)})},300);return window.addEventListener("scroll",e),()=>window.removeEventListener("scroll",e)},[v,w]),(0,n.jsx)(l.N,{children:v>f&&!C&&(0,n.jsx)(_,{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,n.jsx)(s.az,{position:"absolute",bottom:"0",left:"0",right:"0",children:(0,n.jsx)(x.m,{h:"5xl",py:"sm",children:(0,n.jsxs)(s.so,{h:"[40px]",children:[(0,n.jsx)(s.so,{onClick:()=>{window.scrollTo({top:0,behavior:"smooth"})},justify:"flex-end",align:"center",flex:"[1 1 50%]",children:(0,n.jsxs)(s.so,{backgroundColor:"surface.s2",align:"center",px:"sm",py:"xs",br:"lg",cursor:"pointer",children:[o,(0,n.jsx)(g.e,{id:r,entity:i,type:b,location:h.y.FloatingHeader})]})}),(0,n.jsx)(s.so,{align:"center",flex:"[1 1 50%]",children:(0,n.jsx)(a.EY,{textStyle:"assistive.default",ml:"lg",children:(0,n.jsx)(c.A,{id:"add_to_favorites_text",values:{name:t}})})}),(0,n.jsx)(s.so,{align:"center",children:(0,n.jsx)(a.$n,{variant:"clear",p:"0",onClick:()=>{A(!0),k(0)},children:(0,n.jsx)(y.zQC,{icon:"close"})})})]})})})})})}},50284:(e,r,t)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/player",function(){return t(98145)}])},53554:(e,r,t)=>{"use strict";t.d(r,{T:()=>s,n:()=>a});var n=t(46787);function a(e){return e.fullName?e.fullName.split(",").reverse().map(e=>e.trim()).join(" "):e.name}function s(e,r){return e.slug===n.QCR.Football?r.players.length>10:r.players.length>4}},53684:(e,r,t)=>{"use strict";t.d(r,{G:()=>n.A,e:()=>a.e});var n=t(94400),a=t(33480)},54075:(e,r,t)=>{"use strict";t.d(r,{M:()=>n.MR});var n=t(19991)},57760:e=>{e.exports=function(e,r){for(var t,n=-1,a=e.length;++n{"use strict";t.d(r,{_:()=>d});var n=t(6029),a=t(46787),s=t(947),i=t(83716),l=t(85339),o=t(22932);let d=e=>{let{page:r}=e,t=(0,o._)(r,l.d),d=(0,s.A)();return t?(0,n.jsx)(i.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:a.$pL.LogoBanner,background:a.jae.Image,detailImageUrl:{ltr:"/static/images/courtside-1891/logo.png"},campaignName:l.d.promotionName,url:l.d.url},bgImageUrl:"/static/images/courtside-1891/banner-bg.png",location:r.location}):null}},60080:(e,r,t)=>{"use strict";t.d(r,{dq:()=>n.default,OE:()=>o,mw:()=>u.TeamMedia,in:()=>d});var n=t(64093),a=t(6029),s=t(46787),i=t(45860),l=t(96983);function o(e){let{playerId:r}=e,{data:t}=(0,i.Ay)(s.qvj.media(r));return t?(0,a.jsx)(l.$,{highlights:t.media}):null}function d(e){let{tournamentId:r}=e,{data:t}=(0,i.Ay)(s.yKR.media(r));return t&&t.media.length?(0,a.jsx)(l.$,{highlights:t.media}):null}t(20991),t(32035);var u=t(62990)},60408:(e,r,t)=>{"use strict";t.d(r,{A:()=>W});var n=t(6029),a=t(46787),s=t(76356),i=t(95816),l=t.n(i),o=t(46222),d=t(74610),u=t(61379),c=t(54075),p=t(10174),x=t(93338),y=t(97481),h=t.n(y),j=t(55729),m=t(90248),g=t(947),_=t(52466),f=t(28446);let b=(0,f.A)().domain([5,9]).range([0,108]);var v=t(19621),k=t(94565),w=t(56591),A=t(41735);let S=A.default.svg.withConfig({componentId:"sc-a98868e1-0"})(["position:absolute;top:44px;left:",";height:","px;pointer-events:none;"],e=>e.theme.spacing.sm,()=>108);function C(e){let{injuries:r,transfers:t,yearAvgRating:a,containerId:s,graphId:i}=e,l=(0,j.useContext)(A.ThemeContext);return(0,v.st)(()=>{let e=(0,w.A)("#".concat(s));e.append("defs").attr("id","mainDefs");let n=document.getElementById(i);if(!n)return;let o=n.clientWidth-20;e.style("width","".concat(o,"px")).style("overflow","visible"),"rtl"===l.settings.textDirection&&e.style("transform","scaleX(-1)");let{formattedRating:d,ratingColorKey:p}=(0,c.M)(a,"sideBox"),x=b(Number(d)),y=(0,k.$5)(p),h=e.selectAll("line.avg-line").data([{x1:0,x2:o,y1:x,y2:x}]);h.enter().append("line").merge(h).attr("stroke",y).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),(null==r?void 0:r.length)&&function(e,r,t,n,a){let s=n.colors.error.default,i=(0,f.A)().domain(u.aQ()).range([0,r]).clamp(!0),l=t.map(e=>{let r=i(1e3*e.timestamp),t=i((e.timestamp+Number(e.value))*1e3);return{y:0,x:r<0?0:r,width:r<0?t:t-r,height:108}}),o=(0,w.A)("#".concat(a,"-defs")).selectAll("clipPath").data(l);o.exit().remove(),o.enter().append("clipPath").attr("id",(e,r)=>"round-corner-".concat(r)).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",s).attr("opacity",.15).attr("clip-path",(e,r)=>"url(#round-corner-".concat(r,")"));let c=e.selectAll("svg.injury").data(l);c.exit().remove(),c.enter().append("svg").attr("width",24).attr("height",24).attr("viewBox","0 0 24 24").merge(c).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",s)}(e,o,r,l,i),(null==t?void 0:t.length)&&function(e,r,t,n){let a=n.colors.primary.default,s=(0,f.A)().domain(u.aQ()).range([0,r]),i=e.selectAll("line.transfer-date").data(t),l=e.selectAll("svg.transfer").data(t);i.exit().remove(),l.exit().remove(),i.enter().append("line").merge(i).attr("stroke",a).classed("transfer-date",!0).style("stroke-width",2).attr("y1",22).attr("y2",108).attr("x1",e=>s(1e3*e.timestamp)).attr("x2",e=>s(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=>s(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,t,l)},100,[a]),(0,n.jsx)(S,{id:s})}function T(){return(0,n.jsxs)(s.az,{pb:"[18px]",pt:"2xl",ml:"xs",children:[(0,n.jsxs)(s.so,{align:"end",gap:"2xs",children:[(0,n.jsx)(s.az,{h:"[18px]",w:"[6px]",bg:"rating.s80",borderTopRadius:"2xs"}),(0,n.jsx)(p.EY,{textStyle:"table.small",color:"rating.s80",children:"8"})]}),(0,n.jsxs)(s.so,{align:"end",gap:"2xs",children:[(0,n.jsx)(s.az,{h:"[36px]",w:"[6px]",bg:"rating.s70"}),(0,n.jsx)(p.EY,{textStyle:"table.small",color:"rating.s70",children:"7"})]}),(0,n.jsx)(s.az,{h:"[18px]",w:"[6px]",bg:"rating.s65"}),(0,n.jsxs)(s.so,{align:"end",gap:"2xs",children:[(0,n.jsx)(s.az,{h:"[18px]",w:"[6px]",bg:"rating.s60"}),(0,n.jsx)(p.EY,{textStyle:"table.small",color:"rating.s60",children:"6"})]}),(0,n.jsx)(s.az,{h:"[18px]",w:"[6px]",bg:"rating.s10"})]})}function L(e){let{showInjury:r,showTransfer:t}=e,{isMobile:a}=(0,p.$c)();return(0,n.jsxs)(s.zt,{gap:"2xl",px:"lg",py:"xs",children:[(0,n.jsxs)(p.EY,{lineHeight:"24px",textStyle:"assistive.default",color:"neutrals.nLv3",children:[(0,n.jsx)(_.wjs,{mr:"sm",fill:"secondary.default"}),(0,n.jsx)(m.A,{id:"click_image_to_swap",values:{isMobile:a}})]}),(0,n.jsxs)(s.so,{gap:"2xl",children:[r&&(0,n.jsxs)(s.so,{children:[(0,n.jsxs)(s.az,{position:"relative",w:"xl",h:"xl",mr:"sm",children:[(0,n.jsx)(s.az,{position:"absolute",w:"xl",h:"xl",bg:"status.error.default",style:{opacity:.15},br:"2xs"}),(0,n.jsx)(_.p5Z,{position:"absolute",fill:"error.default",width:24,height:24})]}),(0,n.jsx)(p.EY,{lineHeight:"24px",textStyle:"assistive.default",color:"neutrals.nLv3",children:(0,n.jsx)(m.A,{id:"player_injured"})})]}),t&&(0,n.jsxs)(p.EY,{lineHeight:"24px",textStyle:"assistive.default",color:"neutrals.nLv3",textTransform:"capitalize",children:[(0,n.jsx)(_.G4W,{fill:"primary.default",mr:"sm",width:24,height:24}),(0,n.jsx)(m.A,{id:"player.transferLoan"})]})]})]})}function P(e){let{month:r,avgRating:t,appearances:a,showAppearances:i,showMonth:l}=e,o=(0,g.A)(),[d,y]=r.split("-").map(Number),h=new Date(d,y,0).getTime(),{formattedRating:j,ratingColorKey:m}=(0,c.M)(t),_=x.S.var(u.Et(m)),f=b(Number(j));return(0,n.jsxs)(s.so,{direction:"column",justify:"space-between",px:"xs",grow:"1",children:[(0,n.jsx)(p.EY,{h:"lg",textAlign:"center",textStyle:"assistive.default",color:"neutrals.nLv3",display:"block",mb:"lg",children:l&&o.formatDate(h,{month:"short"}).slice(0,3)}),(0,n.jsx)(s.so,{direction:"column",justify:"flex-end",mb:"xs",style:{height:108},children:(0,n.jsx)(s.az,{borderTopRadius:"2xs",style:{backgroundColor:_,height:"".concat(f,"%")}})}),t&&(!i||a)?i?(0,n.jsx)(p.EY,{textStyle:"table.small",color:"neutrals.nLv3",textAlign:"center",display:"block",children:a}):(0,n.jsx)(p.EY,{textStyle:"table.small",textAlign:"center",lineClamp:1,display:"block",style:{color:_},children:j}):(0,n.jsx)(p.EY,{textStyle:"table.small",color:"neutrals.nLv3",textAlign:"center",display:"block",children:"-"})]})}let I=function(e){var r,t;let[i,l]=(0,j.useState)(!1),o=(0,j.useMemo)(()=>{let r=u.o5(),t=u.mR(e.summary);return h()(r,t)},[e.summary]),d=Object.keys(o).sort(),c=d.map(e=>{let r=o[e];return(null==r?void 0:r.length)?u.AG(r.map(e=>e.value)):0}),x=(0,j.useCallback)(()=>l(e=>!e),[]),y=null==(r=e.summary)?void 0:r.filter(e=>e.type===a.XFZ.Injury),g=null==(t=e.summary)?void 0:t.filter(e=>e.type===a.XFZ.Transfer);return(0,n.jsxs)(s.BJ,{gap:"sm",children:[(0,n.jsxs)(s.az,{id:"LYS-graph-root",cursor:"pointer",onClick:x,children:[(0,n.jsxs)(s.so,{id:e.graphId,py:"md",px:"xs",position:"relative",children:[d.map((e,r)=>{var t;return(0,n.jsx)(s.az,{style:{width:"".concat(100/d.length,"%")},children:(0,n.jsx)(P,{month:e,avgRating:c[r],appearances:(null==(t=o[e])?void 0:t.length)||0,showAppearances:i,showMonth:r%2!=0})},e)}),(0,n.jsx)(T,{}),(0,n.jsx)(C,{injuries:y,transfers:g,yearAvgRating:e.yearAvgRating,containerId:e.containerId,graphId:e.graphId})]}),(0,n.jsx)(p.EY,{textStyle:"assistive.micro",color:"neutrals.nLv3",px:"sm",pb:"lg",children:(0,n.jsx)(m.A,{id:i?"season_rating_graph_description_matches":"season_rating_graph_description_ratings"})})]}),(0,n.jsx)(L,{showInjury:!!(null==y?void 0:y.length),showTransfer:!!(null==g?void 0:g.length)})]})};var E=t(53684),M=t(13731),z=t.n(M),H=t(1139),R=t.n(H),F=t(26194),B=t.n(F),N=t(22275),Y=t(79634),U=t(64006),D=t(82346);function O(e){let{uniqueTournamentsMap:r,summary:t}=e,a=Object.values(r),i=t.filter(e=>e.uniqueTournamentId),l=z()(i,"uniqueTournamentId");a=B()(a,e=>-1*l[e.id].length);let o=Object.keys(r).reduce((e,r)=>{let t=R()(l[r],e=>Number(e.value));return e[+r]=t,e},{});return(0,n.jsx)(N.n,{children:a.map((e,r)=>(0,n.jsx)(U.tQ,{tournament:e,children:(0,n.jsxs)(s.so,{px:"lg",cursor:"pointer",gap:"lg",align:"center",_hover:{bg:"surface.s2"},children:[(0,n.jsx)(E.e,{id:e.id,size:40}),(0,n.jsxs)(s.so,{grow:1,borderTopColor:"neutrals.nLv4",borderTop:r?"1px solid":void 0,gap:"lg",align:"center",children:[(0,n.jsxs)(s.az,{py:"sm",children:[(0,n.jsx)(p.EY,{textStyle:"body.medium",color:"neutrals.nLv1",mb:"xs",display:"block",children:(0,n.jsx)(D.O,{uniqueTournament:e})}),(0,n.jsx)(p.EY,{textStyle:"assistive.default",color:"neutrals.nLv3",textTransform:"capitalize",children:(0,n.jsx)(m.A,{id:"player.tournamentAppearances",values:{number:l[e.id].length}})})]}),(0,n.jsx)(Y.q,{persist:!0,children:(0,n.jsx)(E.G,{rating:o[e.id],format:"sideBox"})})]})]})},e.id))})}function W(e){let{lastYearSummary:r,uniqueTournamentsMap:t,containerId:i,graphId:c}=e;if(!(null==r?void 0:r.length))return null;let p=(0,u.AG)(r.filter(e=>e.type===a.XFZ.Event).map(e=>e.value));return(0,n.jsx)(d.t,{tag:"LastYearSummary",children:(0,n.jsxs)(o.Zp,{children:[(0,n.jsx)(o.Zp.Header,{titleId:"season_rating_graph_title"}),(0,n.jsx)(s.az,{w:"100%",px:"sm",children:(0,n.jsx)(I,{summary:r,yearAvgRating:p,containerId:i,graphId:c})}),l()(t)?(0,n.jsx)(o.Zp.Footer,{}):(0,n.jsx)(s.az,{pt:"xs",children:(0,n.jsx)(O,{summary:r,uniqueTournamentsMap:t})})]})})}},62875:(e,r,t)=>{"use strict";t.d(r,{F0:()=>a,N8:()=>i,qT:()=>s});var n=t(46787);let a=[n.QCR.Football,n.QCR.Futsal,n.QCR.Handball,n.QCR.Basketball,n.QCR.AmericanFootball,n.QCR.IceHockey,n.QCR.Tennis,n.QCR.Volleyball],s=[n.QCR.AmericanFootball,n.QCR.Handball,n.QCR.Baseball],i=["overall","playoffs","regularSeason","top16"]},62990:(e,r,t)=>{"use strict";t.r(r),t.d(r,{TeamMedia:()=>o,default:()=>d});var n=t(6029),a=t(46787),s=t(45860),i=t(96983),l=t(23963);function o(e){let{teamId:r,hideTitle:t}=e,{data:o,isLoading:d,error:u}=(0,s.Ay)(a.cWY.media(r));return d?(0,n.jsx)(l.n,{}):!o||u?null:(0,n.jsx)(i.$,{highlights:o.media,hideTitle:t})}let d=o},64093:(e,r,t)=>{"use strict";t.r(r),t.d(r,{default:()=>o});var n=t(6029),a=t(46787),s=t(45860),i=t(79634),l=t(96983);function o(e){let{eventId:r,hideTitle:t,eventHighlightId:o}=e,{data:d}=(0,s.Ay)(a.bnp.eventHighlights(r));return d?(0,n.jsx)(i.q,{persist:!0,children:(0,n.jsx)(l.$,{highlights:d.highlights,hideTitle:t,eventHighlightId:o})}):null}},78203:(e,r,t)=>{"use strict";t.d(r,{A:()=>C});var n=t(6029),a=t(46787),s=t(10174),i=t(19621),l=t(76356),o=t(93338),d=t(55729),u=t(45860),c=t(46222),p=t(74610),x=t(51951),y=t(57719),h=t(90248),j=function(e){return e.strengths="strengths",e.weaknesses="weaknesses",e}(j||{});function m(e){let{characteristics:r,type:t}=e;return r.length?(0,n.jsx)(l.az,{children:r.map(e=>(0,n.jsx)(s.EY,{display:"block",mb:"xs",children:(0,n.jsx)(h.A,{id:e})},e))}):(0,n.jsx)(s.EY,{display:"block",children:(0,n.jsx)(h.A,{id:"strengths"===t?"no_strengths":"no_weaknesses"})})}let g=(0,d.memo)(e=>{let{strengths:r,weaknesses:t}=e;return(0,n.jsxs)(l.so,{minH:"[172px]",direction:"column",justify:"space-between",border:"1",children:[(0,n.jsxs)(l.az,{pb:"xl",children:[(0,n.jsx)(s.EY,{textStyle:"display.small",color:"status.success.default",mb:"sm",display:"block",children:(0,n.jsx)(h.A,{id:"player_strengths"})}),(0,n.jsx)(m,{characteristics:r,type:"strengths"})]}),(0,n.jsxs)(l.az,{pb:"xl",children:[(0,n.jsx)(s.EY,{textStyle:"display.small",color:"status.error.default",mb:"sm",display:"block",children:(0,n.jsx)(h.A,{id:"player_weaknesses"})}),(0,n.jsx)(m,{characteristics:t,type:"weaknesses"})]})]})},function(e,r){return e.player.id===r.player.id}),_={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"},f={[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 b=t(62042);let v=function(e){let{children:r}=e;return(0,n.jsxs)("svg",{width:"120",height:"180",viewBox:"0 0 120 180",children:[(0,n.jsxs)("g",{fill:"none",fillRule:"evenodd",children:[(0,n.jsx)("rect",{className:(0,b.AH)({fill:"graphics.terrain.football"}),width:"120",height:"180",rx:"4"}),(0,n.jsx)("path",{className:(0,b.AH)({stroke:"surface.s1"}),strokeWidth:"2",strokeLinejoin:"round",d:"M4 4h112v86H4z"}),(0,n.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,b.AH)({stroke:"surface.s1"}),strokeWidth:"2",strokeLinejoin:"round"}),(0,n.jsx)("path",{className:(0,b.AH)({stroke:"surface.s1"}),strokeWidth:"2",strokeLinejoin:"round",d:"M46 4h28v8H46z"}),(0,n.jsx)("circle",{cx:"1",cy:"1",r:"1",transform:"translate(59 22)",className:(0,b.AH)({fill:"surface.s1"})}),(0,n.jsx)("path",{d:"M4 8a4 4 0 0 0 4-4M112 4a4 4 0 0 0 4 4",className:(0,b.AH)({stroke:"surface.s1"}),strokeWidth:"2",strokeLinejoin:"round"}),(0,n.jsxs)("g",{children:[(0,n.jsx)("path",{className:(0,b.AH)({stroke:"surface.s1"}),strokeWidth:"2",strokeLinejoin:"round",d:"M4 176h112V90H4z"}),(0,n.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,b.AH)({stroke:"surface.s1"}),strokeWidth:"2",strokeLinejoin:"round"}),(0,n.jsx)("path",{className:(0,b.AH)({stroke:"surface.s1"}),strokeWidth:"2",strokeLinejoin:"round",d:"M46 176h28v-8H46z"}),(0,n.jsx)("circle",{cx:"1",cy:"1",r:"1",transform:"matrix(1 0 0 -1 59 158)",className:(0,b.AH)({fill:"surface.s1"})}),(0,n.jsx)("path",{d:"M4 172a4 4 0 0 1 4 4M112 176a4 4 0 0 1 4-4",className:(0,b.AH)({stroke:"surface.s1"}),strokeWidth:"2",strokeLinejoin:"round"})]})]}),(0,n.jsx)("g",{style:{top:0,left:0,background:"red"},width:"100%",height:"100%",children:r})]})},k={[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 w(e){let{position:r,attr:t}=e;return(0,n.jsxs)("g",{children:[(0,n.jsx)("circle",{cx:t.x,cy:t.y,r:"12",className:(0,b.AH)({fill:"surface.s1"})}),(0,n.jsx)("text",{className:(0,b.AH)({textStyle:"assistive.default"}),style:{fill:o.S.var(f[r.toLowerCase()])},y:t.y,x:t.x,dy:"4",textAnchor:"middle",children:r.toUpperCase()})]})}let A=function(e){let{positions:r}=e;return(0,n.jsx)(v,{children:r&&r.map(e=>(0,n.jsx)(w,{position:e,attr:k[e.toLowerCase()]},e))})},S=e=>_[e.type];function C(e){let r,{player:t}=e,h=t.team.sport.slug===a.QCR.Football,j=(0,i.hX)(),[m,_]=(0,d.useState)(!1),{data:b,error:v,isLoading:k}=(0,u.Ay)(a.qvj.characteristics(t.id)),w=!b&&!v;if(j||k)return(0,n.jsx)(c.Zp,{children:(0,n.jsx)(l.az,{style:{height:"212px"}})});if(v)return null;let C=!w&&!b||b&&0===b.positions.length||!h,T=t.retired||t.deceased;return T&&C?null:(0,n.jsxs)(p.t,{tag:"CharacteristicsContainer",children:[(0,n.jsxs)(c.Zp,{children:[(0,n.jsx)(c.Zp.Header,{titleId:"player_positions"}),(0,n.jsxs)(l.so,{p:"lg",gap:"sm",align:"center",justify:T?"center":"space-between",children:[!T&&(0,n.jsx)(g,{player:t,weaknesses:b.negative.map(S),strengths:b.positive.map(S)}),!C&&(0,n.jsx)(l.az,{onClick:()=>_(!0),cursor:"pointer",children:(0,n.jsx)(A,{positions:b.positions})})]})]}),(0,n.jsx)(x.A,{isOpen:m,setIsOpen:_,header:"playerPositions",children:Object.keys(f).map((e,i)=>{let u=f[e],c=0!==i&&u!==r;return r=u,(0,n.jsxs)(d.Fragment,{children:[c&&(0,n.jsx)(l.cG,{my:"md"}),(0,n.jsxs)(l.so,{mb:"sm",justify:"space-between",px:"md",children:[(0,n.jsx)(s.EY,{fontWeight:"bold",style:{color:o.S.var(f[e])},children:e.toUpperCase()}),(0,n.jsx)(s.EY,{color:"neutrals.nLv2",textStyle:"body.medium",children:(0,n.jsx)(y.F,{id:e.toUpperCase(),sport:a.QCR.Football,gender:t.team.gender})})]})]},e)})})]})}},90117:(e,r,t)=>{"use strict";t.d(r,{A:()=>p});var n=t(6029),a=t(10174),s=t(76356),i=t(55729),l=t(90248),o=t(52466),d=t(82536),u=t(97233),c=t(98366);let p=e=>{let{attributes:r}=e,[t,p]=(0,i.useState)(!1);return r?(0,n.jsxs)(s.az,{position:"relative",children:[(0,n.jsx)(o.G_L,{fill:"onSurface.nLv1",cursor:"pointer",onClick:()=>p(!0)}),(0,n.jsx)(d.A,{isOpen:t,setIsOpen:p,header:"player.info.attributeOverview",children:(0,n.jsxs)(s.az,{px:"lg",maxW:{md:"[280px]"},children:[(0,n.jsx)(a.EY,{textStyle:"body.mediumParagraph",mb:"lg",display:"block",children:(0,n.jsx)(l.A,{id:"player.info.attributeOverviewDescription"})}),r.sort().map(e=>{var r;return(0,n.jsxs)(s.az,{py:"sm",children:[(0,n.jsx)(a.EY,{textStyle:"assistive.default",color:"neutrals.nLv3",textTransform:"uppercase",mr:"lg",children:u.HU[e]}),(0,n.jsx)(a.EY,{textStyle:"body.small",children:(0,n.jsx)(l.A,{id:null!=(r=c.Q1[e])?r:e})})]},e)})]})})]}):null}},91824:(e,r,t)=>{"use strict";t.d(r,{s:()=>o});var n=t(46787),a=t(55729),s=t(45860),i=t(18970),l=t(98366);function o(e){let r=(0,a.useContext)(i.Ws)===n.QCR.Football,{data:t,isLoading:o,error:d}=(0,s.Ay)(r&&e?n.qvj.pentagon(e):null);return{pentagons:!d&&t?(0,l.TC)(t):null,isPentagonDataLoading:o,isError:d}}},92895:(e,r,t)=>{"use strict";t.d(r,{A:()=>u});var n=t(6029),a=t(46787),s=t(10174),i=t(76356),l=t(90248),o=t(46222),d=t(74664);function u(){let e=(0,d.o)(),{isDesktop:r}=(0,s.$c)();return(0,n.jsxs)(o.Zp,{children:[(0,n.jsxs)(i.so,{direction:"column",gap:"md",p:"md",borderBottom:{md:"1px solid {colors.neutrals.nLv4}"},children:[e===a.QCR.Football&&r&&(0,n.jsx)(i.az,{h:"4xl",bg:"surface.s2",br:"md"}),(0,n.jsx)(i.az,{h:"2xl",bg:"surface.s2",br:"md"}),(0,n.jsxs)(i.so,{align:"center",gap:"lg",children:[(0,n.jsx)(s.EY,{textStyle:"display.micro",display:"block",children:(0,n.jsx)(l.A,{id:"team"})}),(0,n.jsx)(i.az,{h:"2xl",bg:"surface.s2",br:"md",flexGrow:1})]})]}),(0,n.jsx)(i.az,{h:"[600px]"})]})}},93081:(e,r,t)=>{"use strict";t.d(r,{A:()=>_});var n=t(6029),a=t(46787),s=t(19621),i=t(76356),l=t(94565),o=t(78383),d=t.n(o),u=t(90248),c=t(46222),p=t(52466),x=t(53960),y=t(14831),h=t(15341),j=function(e){return e.HIGHER="UP",e.LOWER="DOWN",e}(j||{});function m(e){let{currencySign:r,selected:t,inverted:a,voted:s,vote:i}=e;return(0,n.jsxs)(l.so,{bg:"surface.s1",br:"50%",align:"center",justify:"center",w:48,h:48,elevation:2,onClick:()=>{t||s||(i(),(0,y.MZ)((0,n.jsxs)(l.so,{align:"center",children:[(0,n.jsx)(p.G_L,{fill:"onColor.primary",mr:"lg"}),(0,n.jsx)(l.EY,{block:!0,color:"onColor.primary",font:"display.small",children:(0,n.jsx)(u.A,{id:"thank_you_contribution"})})]}),{autoClose:3e3,closeButton:!1,className:"sofa-toast--info",position:"bottom-center"}))},direction:a?"column-reverse":"column",cursor:s?"default":"pointer",p:6,border:t?"primary.default":void 0,children:[(0,n.jsx)(p.tSt,{fill:a?"error.default":"success.default",style:{transform:"rotate(".concat(180*!!a,"deg)")}}),(0,n.jsx)(l.az,{my:"xs",br:"50%",bg:"neutral.default",h:16,w:16,children:(0,n.jsx)(l.EY,{lineHeight:"16px",font:"assistive.default",color:"surface.s1",align:"center",as:"div",children:r})})]})}function g(e){let{playerId:r,proposedMarketValueRaw:t}=e,s=(0,a.oaz)(t),{canUserVote:i,voteRecord:o,voteHigher:d,voteLower:u,isRehydrated:c}=function(e,r){let[t,n,a]=(0,h.A)("pv_".concat(e),null),s=t?(e=>{let[r,t]=e.split(":");return{proposedMarketValue:Number(t),vote:r}})(t):null,i=(null==s?void 0:s.proposedMarketValue)!==r.value,l=e=>{let t;i&&r&&n((t={vote:e,proposedMarketValue:r.value},"".concat(t.vote).concat(":").concat(t.proposedMarketValue)))};return{canUserVote:i,voteRecord:s,voteHigher:()=>l("UP"),voteLower:()=>l("DOWN"),isRehydrated:a}}(r,t),p=!!c&&!i&&(null==o?void 0:o.vote)==="DOWN",x=!!c&&!i&&(null==o?void 0:o.vote)==="UP";return(0,n.jsxs)(l.so,{gap:"sm",children:[(0,n.jsx)(m,{vote:d,currencySign:s.currencySign,selected:x,voted:!i}),(0,n.jsx)(m,{vote:u,currencySign:s.currencySign,selected:p,voted:!i,inverted:!0})]})}let _=function(e){let r=(0,s.hX)(),t=(0,a.oaz)(e.proposedMarketValueRaw);return(0,n.jsxs)(c.Zp,{children:[(0,n.jsx)(c.Zp.Header,{titleId:"player.value",visibility:"desktop-only"}),(0,n.jsxs)(l.so,{gap:"sm",align:"center",px:"lg",py:"sm",children:[(0,n.jsxs)(l.so,{gap:"sm",align:"center",justify:"space-between",children:[(0,n.jsxs)(l.az,{children:[(0,n.jsx)(l.EY,{font:"assistive.micro",color:"onSurface.nLv3",mb:"xxs",align:"center",as:"div",textTransform:"uppercase",whiteSpace:"nowrap",children:(0,n.jsx)(u.A,{id:"market_value"})}),(0,n.jsx)(l.EY,{font:"display.medium",color:"sofaSingles.value",align:"center",as:"div",children:(0,n.jsx)(x.o,{parsedMoney:t})})]}),(0,n.jsx)(i.cG,{orientation:"vertical"}),(0,n.jsx)(l.EY,{font:"assistive.default",color:"onSurface.nLv1",children:(0,n.jsx)(u.A,{id:"is_market_value_higher_or_lower"})})]}),r?(0,n.jsxs)(l.so,{gap:"sm",children:[(0,n.jsx)(m,{vote:d(),currencySign:t.currencySign,selected:!1,voted:!1}),(0,n.jsx)(m,{vote:d(),currencySign:t.currencySign,selected:!1,voted:!1,inverted:!0})]}):(0,n.jsx)(g,{...e})]}),(0,n.jsx)(c.Zp.Footer,{defaultHeight:"sm"})]})}},94711:(e,r,t)=>{"use strict";t.d(r,{l:()=>a,v:()=>s});var n=t(46787);let a=[n.QCR.Basketball,n.QCR.AmericanFootball],s=[n.QCR.Football,n.QCR.Basketball,n.QCR.AmericanFootball]},96983:(e,r,t)=>{"use strict";t.d(r,{$:()=>w});var n=t(6029),a=t(22375),s=t(10174),i=t(76356),l=t(93338),o=t(55729),d=t(90248),u=t(494),c=t(46222),p=t(18970),x=t(52466),y=t(74610),h=t(90339),j=t(95084),m=t(72753);let g=(0,i.I4)("div",{base:{display:"grid",w:"[144px]",h:"8xl",position:"absolute",top:"0",left:"0",bg:"overlay.darken1","& svg":{margin:"auto"}}}),_=(0,i.I4)("div",{base:{"& a:visited":{"& .media-component-seen-notice":{color:"neutral.default !important"}},"& img":{display:"block",br:"2xs"}}});var f=t(46787);let b=/sofascore.com\/news\//g,v=[f.zut.MEDIA_VIDEO,f.zut.MEDIA_NEWS_VIDEO,f.zut.MEDIA_YOUTUBE_VIDEO],k=e=>{let r,t,{highlight:o}=e;return(0,n.jsx)(i.I4.a,{href:o.url,target:"_blank",rel:o.doFollow||(r=o.url,b.test(r))?void 0:"nofollow",onClick:()=>(0,j.Xy)(o.title),children:(0,n.jsxs)(i.so,{gap:"lg",children:[(0,n.jsxs)(i.az,{position:"relative",children:[(0,n.jsx)(s._V,{src:o.thumbnailUrl||(e=>{if(e){let t=(e=>{let r=document.createElement("a");return r.href=e,r.host})(e);if("www.youtube.com"===t){let r=new URL(e).searchParams.get("v");return"https://img.youtube.com/vi/".concat(r,"/0.jpg")}if("youtu.be"===t){var r;let t=null==(r=new URL(e).pathname)?void 0:r.slice(1);return"https://img.youtube.com/vi/".concat(t,"/0.jpg")}}})(o.url),width:"[144px]",height:"[80px]",fallback:(0,n.jsx)(i.az,{w:"[144px]",h:"8xl",bg:"neutrals.nLv4",display:"grid",br:"2xs",children:(0,n.jsx)(x.dwH,{m:"auto",fill:l.S.var("colors.neutrals.nLv4")})}),alt:"thumbnail"}),(t=o.mediaType,-1!==v.indexOf(t)&&(0,n.jsx)(g,{children:(0,n.jsx)(x.reY,{fill:"white"})}))]}),(0,n.jsxs)(i.so,{direction:"column",justify:"space-between",grow:1,style:{maxWidth:"calc(100% - 144px)"},children:[(0,n.jsxs)(i.so,{direction:"column",align:"start",gap:"xs",children:[(0,n.jsx)(s.Ym,{textStyle:"display.small",display:"block",lineClamp:2,children:o.title}),(0,n.jsx)(s.EY,{textStyle:"assistive.default",color:"neutrals.nLv3",w:"100%",lineClamp:1,children:o.subtitle})]}),(0,n.jsxs)(i.so,{justify:"space-between",pt:"xs",children:[(0,n.jsx)(s.Ym,{textStyle:"body.small",color:"neutrals.nLv3",w:"100%",_firstLetter:{textTransform:"capitalize"},truncate:!0,children:(0,n.jsx)(h.v,{timestamp:(0,a.pp)(o.createdAtTimestamp).getTime()})}),(0,n.jsx)(s.EY,{"aria-hidden":"true",userSelect:"none",textStyle:"body.small",color:"[transparent]",className:"media-component-seen-notice",w:"100%",textAlign:"end",truncate:!0,children:(0,n.jsx)(d.A,{id:"basic.seen"})})]})]})]})})},w=e=>{let{highlights:r,hideTitle:t,eventHighlightId:a}=e,[l,d]=(0,o.useState)(!1),x=(0,u.d4)(m.JV),h=(0,u.d4)(m.LQ),{location:j}=(0,o.useContext)(p.y$),g=j===p.cb.Widget,{isDesktop:f}=(0,s.$c)(),b=!f||g,v=(function(e){let{media:r,selectedLocale:t,geoIPAlpha2:n,n:a=10}=e;return r.sort((e,r)=>r.createdAtTimestamp-e.createdAtTimestamp).filter(e=>!e.forCountries||!e.forCountries.length||-1!==e.forCountries.indexOf(t.toUpperCase())||-1!==e.forCountries.indexOf(n.toUpperCase())).slice(0,a)})({media:[...r],selectedLocale:x,geoIPAlpha2:h||""}).filter(e=>e.id!==a),w=v.length>3,A=l||b?v:v.slice(0,3);return A.length?(0,n.jsx)(y.t,{tag:"Media",children:(0,n.jsxs)(c.Zp,{children:[!t&&(0,n.jsx)(c.Zp.Header,{titleId:"media",as:"h4"}),(0,n.jsx)(i.az,{py:b?"sm":void 0,children:(0,n.jsx)(_,{children:(0,n.jsx)(c.BU,{children:A.map(e=>(0,n.jsx)(k,{highlight:e},e.id))})})}),!b&&(0,n.jsx)(c.Zp.Footer,{ctaParams:w?{messageId:l?"show_less":"show_more",onClick:()=>d(e=>!e),icon:l?c.Xb.Up:c.Xb.Down}:void 0})]})}):null}},97233:(e,r,t)=>{"use strict";t.d(r,{HU:()=>d.HU,KG:()=>o,Sz:()=>d.Sz,Bg:()=>d.Bg});var n=t(6029),a=t(78383),s=t.n(a),i=t(23631),l=t(6644);function o(e){let{attributes:r,pentagonLayers:t,isAnotherPlayerCompare:a,onGraphClick:o=s()}=e;return(0,n.jsx)(i.A,{data:r,isAnotherPlayerCompare:a,children:(0,n.jsx)(l.A,{data:t,onGraphClick:o})})}var d=t(98366)},98145:(e,r,t)=>{"use strict";t.r(r),t.d(r,{default:()=>ri});var n=t(6029),a=t(46787),s=t(90438),i=t(88715),l=t(4917),o=t(55729),d=t(18970),u=t(52763),c=t(78767),p=t(39979),x=t(73232),y=t(95084),h=t(95669),j=t.n(h),m=t(67086),g=t(94164),_=t(31830),f=t(19947),b=t(80055);function v(e){var r,t;let{player:a}=e,s=(0,_.A)(),o=a.team.sport.slug,d=i.z.getTranslatedCanonicalRoute(s,"player",{id:a.id,slug:a.slug,sport:o}).route,u=null!=(t=null==(r=a.country.alpha2)?void 0:r.toLowerCase())?t:"",c=a.createdByEditor?!(0,m.N)(u,s):(0,g.v)(o,s);return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(j(),{children:[(0,n.jsx)("link",{rel:"canonical",href:"https://www.sofascore.com".concat(d)}),c&&(0,n.jsx)("meta",{name:"robots",content:"noindex, nofollow"})]}),(0,n.jsx)(f.N9,{player:a}),(0,n.jsx)(l.A,{metaKey:"player",values:{player:(0,b.s)(a,s),team:(0,b.s)(a.team,s)}})]})}var k=t(10174),w=t(76356),A=t(81278),S=t(90248),C=t(46222),T=t(6813),L=t(20945),P=t(76393),I=t(79300),E=t(2920),M=t(56132),z=t(94711),H=t(11996),R=t(79082),F=t(88658),B=t(60475),N=t(64006),Y=t(99306),U=t(82346);function D(e){var r;let{player:t,sport:a,uniqueTournament:s}=e,{seoContent:i}=(0,o.useContext)(l.x);return(0,n.jsxs)(F.B,{children:[(0,n.jsx)(F.B.Item,{children:(0,n.jsx)(N.di,{translatedParams:{sport:a.slug},children:(0,n.jsx)(Y.o,{sportSlug:a.slug})})}),s?(0,n.jsx)(F.B.Item,{children:(0,n.jsx)(N.Z6,{category:s.category,children:(0,n.jsx)(B.md,{slug:null==s?void 0:s.category.slug,name:(null==s?void 0:s.category.name)||(null==(r=t.team.country)?void 0:r.name)||"N/A",fieldTranslations:null==s?void 0:s.category.fieldTranslations})})}):null,s?(0,n.jsx)(F.B.Item,{children:(0,n.jsx)(N.tQ,{tournament:s,children:(0,n.jsx)(U.O,{uniqueTournament:s})})}):null,(0,n.jsx)(F.B.Title,{children:(null==i?void 0:i.heading)||"".concat(t.name," - Sofascore")})]})}var O=t(15322),W=t(62875),q=t(74610),K=t(79634),Q=t(95404),G=t(60080),Z=t(60067),V=t(17423);let X=(0,o.memo)(function(e){let{player:r}=e,{isFantasyEnabled:t}=(0,I.t)(),{showFantasyStatistics:s}=(0,H.A)({showFantasyStatistics:{route:a.lVT.playerCompetitions(r.id),skipCheck:!t}},[r.id,t]);return(0,n.jsxs)(q.t,{tag:"PlayerSidebar",children:[(0,n.jsx)(Z._,{page:{location:y.XN.PlayerScreen,entity:r}}),(0,n.jsx)(V.Y,{page:{location:y.XN.PlayerScreen,entity:r}}),s&&(0,n.jsx)(Q.pk,{utIds:null}),(0,n.jsx)(K.q,{persist:!0,children:(0,n.jsx)(G.OE,{playerId:r.id})})]})},function(e,r){return e.player.id===r.player.id});var $=t(40163),J=t(71024),ee=t.n(J),er=t(92895);let et=ee()(()=>t.e(81957).then(t.bind(t,81957)),{loadableGenerated:{webpack:()=>[81957]},loading:()=>(0,n.jsx)(w.az,{pb:"lg",children:(0,n.jsx)(er.A,{})})});function en(e){let{player:r}=e;return(0,n.jsx)(k.tU.Panel,{tabKey:M.x.Career,children:(0,n.jsx)(et,{player:r})})}var ea=t(74664);let es=ee()(()=>Promise.all([t.e(81889),t.e(70105)]).then(t.bind(t,70105)),{loadableGenerated:{webpack:()=>[70105]},ssr:!1,loading:()=>(0,n.jsx)(w.az,{h:"[1100px]"})}),ei=ee()(()=>Promise.all([t.e(81889),t.e(9331)]).then(t.bind(t,9331)),{loadableGenerated:{webpack:()=>[9331]},ssr:!1,loading:()=>(0,n.jsx)(w.az,{h:"[496px]"})});function el(e){let r=(0,ea.o)();return z.l.includes(r)?(0,n.jsx)(ed,{player:e.player,transfers:e.transfers}):(0,n.jsx)(eo,{...e})}function eo(e){return(0,n.jsx)(k.tU.Panel,{tabKey:M.x.Details,children:(0,n.jsx)(es,{...e})})}function ed(e){return(0,n.jsx)(k.tU.Panel,{tabKey:M.x.Info,children:(0,n.jsx)(ei,{...e})})}let eu=ee()(()=>Promise.all([t.e(88620),t.e(89185),t.e(63126)]).then(t.bind(t,63126)),{loadableGenerated:{webpack:()=>[63126]},ssr:!1,loading:()=>(0,n.jsx)(w.az,{h:"[1000px]"})});function ec(e){let{playerId:r}=e;return(0,n.jsx)(k.tU.Panel,{tabKey:M.x.PlayerFantasy,children:(0,n.jsx)(eu,{playerId:r})})}let ep=ee()(()=>Promise.all([t.e(82565),t.e(62639),t.e(13551),t.e(14541)]).then(t.bind(t,14541)),{loadableGenerated:{webpack:()=>[14541]},loading:()=>(0,n.jsx)(w.az,{h:"[1000px]"})});function ex(e){let{player:r,sport:t}=e;return(0,n.jsx)(k.tU.Panel,{tabKey:z.v.includes(t)?M.x.Season:M.x.Statistics,children:(0,n.jsx)(ep,{player:r,sport:r.team.sport.slug})})}var ey=t(14831);function eh(e,r){return e===a.QCR.Volleyball?M.x.Statistics:z.l.includes(e)?r.find(e=>e.tabKey===M.x.Season&&!1===e.isHidden)?M.x.Season:M.x.Info:M.x.Details}function ej(e){let r=function(e){e.startsWith("#")&&(e=e.slice(1));let r={};return e.split(",").forEach(e=>{let[t,n]=e.split(":");t&&(r[t]=n)}),r}(window.location.hash);delete r[e],window.location.hash=Object.entries(r).map(e=>{let[r,t]=e;return"".concat(r,":").concat(t)}).join(",")}var em=t(14348);function eg(e){let{player:r,...t}=e,{isFantasyEnabled:l,showFantasyEntry:o}=(0,I.t)(),d=(0,_.A)(),c=(0,A.useRouter)(),p=r.team.sport,[x,y]=(0,R.Ay)({routeKey:s.xW.Player,params:{slug:r.slug,id:r.id,sport:p.slug}}),{isEmpty:h}=(0,em.z)({player:r,...t}),{hasStatisticsTab:j,hasFantasyData:m,hasCareerData:g}=(0,H.A)({hasStatisticsTab:{route:a.qvj.uniqueTournamentSeasons(r.id),skipCheck:!W.F0.includes(p.slug)},hasFantasyData:{route:a.lVT.playerCompetitions(r.id),skipCheck:!l},hasCareerData:{route:a.qvj.uniqueTournamentSeasonsStatistics(r.id),skipCheck:!z.v.includes(p.slug)}},[r.id,l]),f=r.team.primaryUniqueTournament,b=!1===h,v=o&&m,F=g&&j,B=function(e,r,t,n,a){if(z.l.includes(e))return[{tabKey:M.x.Season,item:"season",isHidden:!t},{tabKey:M.x.Career,item:"am_football_career_tab",isHidden:!n},{tabKey:M.x.Info,item:"info",isHidden:!r},{tabKey:M.x.PlayerFantasy,item:"fantasy",isHidden:!a}];let s=z.v.includes(e);return[{tabKey:M.x.Details,item:"details",isHidden:!r},{tabKey:s?M.x.Season:M.x.Statistics,item:s?"season":"statistics",isHidden:!t},{tabKey:M.x.Career,item:"am_football_career_tab",isHidden:!n},{tabKey:M.x.PlayerFantasy,item:"fantasy",isHidden:!a}]}(p.slug,b,j,F,v),N=(null==x?void 0:x.tab)||function(e,r,t){let n=eh(e,r);return t?n:r.find(e=>e.tabKey===M.x.Season&&!1===e.isHidden)?M.x.Season:M.x.Statistics}(p.slug,B,b),Y=[b,j,F,v].every(e=>!1===e);return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(D,{player:r,sport:p,uniqueTournament:f}),(0,n.jsx)(O.A,{player:r}),(0,n.jsxs)(L.xA,{py:"md",children:[(0,n.jsxs)(L.fv,{flexGrow:1,children:[(0,n.jsx)(w.az,{className:"player-matches-section",children:(0,n.jsx)(P.S,{id:r.id,entity:a.wNW.Player,player:r,transfers:t.transfers})}),(0,n.jsx)(X,{player:r}),(0,n.jsx)(u.Aq,{route:s.xW.Player})]}),(0,n.jsxs)(L.fv,{flexGrow:2,children:[(0,n.jsx)(C.Zp,{children:Y?(0,n.jsxs)(w.BJ,{gap:"0",align:"center",mb:"4xl",children:[(0,n.jsx)(T.p,{titleMessageId:"player_empty_state_header",descriptionMessageId:"player_empty_state_body",graphic:"add-item"}),(0,n.jsx)(k.$n,{variant:"outline",onClick:()=>{var e;(null==(e=window.history)?void 0:e.length)>1?c.back():c.push(i.z.getTranslatedRoute(d,"eventList",{sport:p.slug}).route)},children:(0,n.jsx)(S.A,{id:"button_go_back"})})]}):(0,n.jsx)(C.WC,{variant:"square-desktop",children:(0,n.jsx)(w.so,{w:"100%",overflow:"hidden",br:"lg",children:(0,n.jsxs)(E.A,{id:r.id,location:M.C.PlayerPage,initialTabKey:N,customControls:[N,e=>{y("tab",e),ej("defaultUniqueTournamentId"),ej("defaultSeasonId"),ej("defaultSeasonType")}],tabs:B,children:[b&&(0,n.jsx)(el,{player:r,...t}),j&&(0,n.jsx)(ex,{player:r,sport:p.slug}),F&&(0,n.jsx)(en,{player:r}),v&&(0,n.jsx)(ec,{playerId:r.id})]})})})}),(0,n.jsx)($.A,{player:r})]})]})]})}var e_=t(94565),ef=t(8329),eb=t(22375),ev=t(947),ek=t(90510),ew=t(52466),eA=t(30821),eS=t(57719),eC=t(98133);let eT=e=>{let{label:r,value:t,inLine:a,children:s,onClick:i}=e;return t||s?(0,n.jsxs)(e_.az,{w:a?"auto":"33%",pt:"md",pb:10,px:"lg",onClick:i,cursor:i?"pointer":void 0,children:[(0,n.jsx)(e_.EY,{font:"assistive.micro",color:"onSurface.nLv3",align:"center",mb:"xxs",as:"div",textTransform:"uppercase",children:r}),(0,n.jsx)(e_.EY,{font:"display.medium",color:"onSurface.nLv1",align:"center",as:"div",children:t||s})]}):null},eL=e=>{var r,t;let{player:s,inLine:i}=e,l=(0,ev.A)(),u=(0,o.useContext)(d.Ws),[c,p]=(0,o.useState)(!1),x=(0,n.jsx)(ek.XU,{value:new Date(1e3*s.dateOfBirthTimestamp),...eb.or.dateWithShortMonth,timeZone:"UTC"}),y=[a.QCR.Handball,a.QCR.Football,a.QCR.Basketball,a.QCR.IceHockey,a.QCR.Baseball,a.QCR.AmericanFootball].includes(u),h=async()=>{c||(p(!0),setTimeout(()=>{p(!1)},3e3),await (0,ey.MZ)((0,n.jsxs)(e_.so,{align:"center",children:[(0,n.jsx)(ew.G_L,{fill:"onColor.primary",mr:"lg"}),(0,n.jsx)(e_.EY,{block:!0,color:"onColor.primary",font:"display.small",children:(0,n.jsx)(eS.F,{id:s.position,sport:u})})]})))};return(0,n.jsxs)(e_.so,{justify:i?"space-around":void 0,wrap:"wrap",children:[(null==(r=s.country)?void 0:r.alpha2)&&(0,n.jsx)(eT,{label:(0,n.jsx)(S.A,{id:"nationality"}),inLine:i,children:(0,n.jsxs)(e_.so,{align:"center",justify:"center",gap:"xs",children:[(0,n.jsx)(ef.w,{alpha2:s.country.alpha2,name:s.country.alpha2,size:16,national:!0}),(0,n.jsx)("span",{children:(0,eC.KH)(s.country.alpha2)})]})}),s.deceased&&s.dateOfBirthTimestamp&&(0,n.jsx)(eT,{label:x,value:(0,n.jsx)(S.A,{id:"deceasedYear",values:{year:s.dateOfDeathTimestamp?(0,n.jsx)(ek.XU,{value:1e3*s.dateOfDeathTimestamp,year:"numeric"}):void 0}}),inLine:i}),s.dateOfBirthTimestamp&&!s.deceased&&(0,n.jsx)(eT,{label:x,value:"".concat((0,eb.KW)(s.dateOfBirthTimestamp)," ").concat(l.formatMessage({id:"years_short"},{n:(0,eb.KW)(s.dateOfBirthTimestamp)})),inLine:i}),s.height&&(0,n.jsx)(eT,{label:(0,n.jsx)(S.A,{id:"player_height"}),value:(0,n.jsx)(eA.Z,{value:s.height,fromUnit:"cm"}),inLine:i}),s.preferredFoot&&(0,n.jsx)(eT,{label:(0,n.jsx)(S.A,{id:"player_preferred_foot"}),value:l.formatMessage({id:"foot.".concat(s.preferredFoot.toLowerCase()),defaultMessage:s.preferredFoot}),inLine:i}),s.position&&(0,n.jsx)(eT,{label:(0,n.jsx)(S.A,{id:"position"}),value:(0,n.jsx)(eS.F,{id:s.position,short:!0,gender:null==(t=s.team)?void 0:t.gender}),inLine:i,onClick:y?h:void 0}),s.cricketPlayerInfo&&Object.keys(s.cricketPlayerInfo).filter(e=>!e.startsWith("is")).map(e=>{let r=s.cricketPlayerInfo[e];return(0,n.jsx)(eT,{label:(0,n.jsx)(S.A,{id:e}),value:(0,n.jsx)(S.A,{id:r}),inLine:i},e)}),(0,n.jsx)(eT,{label:(0,n.jsx)(S.A,{id:"player_shirt_number"}),value:s.jerseyNumber,inLine:i})]})};var eP=t(23016);function eI(e){let{player:r}=e;return(0,n.jsx)(e_.az,{w:["100%","50%"],p:[0,"sm"],children:(0,n.jsx)(C.Zp,{children:(0,n.jsxs)(e_.so,{direction:"column",gap:"lg",pt:"md",px:"lg",pb:"lg",br:"sm",children:[(0,n.jsxs)(e_.so,{direction:"row",justify:"space-between",align:"center",children:[(0,n.jsxs)(e_.so,{align:"center",children:[(0,n.jsx)(ew.p5Z,{fill:"error.default"}),(0,n.jsx)(e_.EY,{font:"display.medium",color:"error.default",pl:"sm",children:(0,n.jsx)(eP.G,{id:r.injury.status})})]}),(0,n.jsxs)(e_.so,{direction:"column",align:"flex-end",children:[(0,n.jsx)(e_.EY,{font:"body.small",color:"onSurface.nLv3",pl:"sm",children:(0,n.jsx)(S.A,{id:"lastUpdated"})}),(0,n.jsx)(e_.EY,{font:"body.small",color:"onSurface.nLv3",pl:"sm",children:(0,n.jsx)(ek.XU,{value:new Date(1e3*r.injury.updateDateTimestamp),...eb.or.dateWithShortMonth,timeZone:"UTC"})})]})]}),(0,n.jsxs)(e_.so,{direction:"row",justify:"space-between",align:"center",children:[(0,n.jsx)(e_.EY,{font:"body.medium",color:"onSurface.nLv1",children:(0,n.jsx)(S.A,{id:"details"})}),(0,n.jsx)(e_.EY,{font:"body.medium",children:(0,n.jsx)(eP.G,{id:r.injury.reason})})]}),(0,n.jsxs)(e_.so,{direction:"row",justify:"space-between",align:"center",children:[(0,n.jsx)(e_.EY,{font:"body.medium",children:(0,n.jsx)(S.A,{id:"startDate"})}),(0,n.jsx)(e_.EY,{font:"body.medium",children:(0,n.jsx)(ek.XU,{value:new Date(1e3*r.injury.startDateTimestamp),...eb.or.dateWithShortMonth,timeZone:"UTC"})})]})]})})})}var eE=t(33144),eM=t(88505);let ez=e=>{let{player:r,expectedTransfer:t}=e,a=r.team.disabled?null:{sport:r.team.sport.slug,team:r.team},s=a?N.gT:o.Fragment,i=(0,o.useContext)(d.Ws),l=r.retired||"no-team"===r.team.slug;return(0,n.jsxs)(e_.so,{justify:"space-between",children:[(0,n.jsx)(e_.az,{display:["block","none"],children:(0,n.jsx)(s,{sport:null==a?void 0:a.sport,team:null==a?void 0:a.team,children:(0,n.jsxs)(e_.so,{py:"sm",px:["sm","lg"],align:"center",cursor:l?"default":"pointer",children:[(0,n.jsx)(e_.az,{w:"40",h:"40",children:(0,n.jsx)(eE.p,{id:r.retired?-1:r.team.id,name:r.retired?void 0:r.team.slug,size:40})}),(0,n.jsxs)(e_.az,{ml:"lg",children:[(0,n.jsx)(e_.EY,{font:"display.medium",color:"onSurface.nLv1",hover:!l,as:"div",children:r.retired?(0,n.jsx)(S.A,{id:"career_retired"}):(0,n.jsx)(eM.Rm,{team:r.team})}),r.contractUntilTimestamp&&(0,n.jsxs)(e_.EY,{lineHeight:"16px",font:"assistive.default",color:"onSurface.nLv3",as:"div",children:[(0,n.jsx)(S.A,{id:"contract_until"})," ",(0,n.jsx)(ek.XU,{value:1e3*r.contractUntilTimestamp,...eb.or.dateWithShortMonth,timeZone:"UTC"})]})]})]})})}),t&&!r.retired&&(0,n.jsxs)(e_.az,{p:"sm",pr:"lg",children:[(0,n.jsxs)(e_.so,{mb:"xxs",gap:"xxs",align:"center",children:[t.transferFrom&&(0,n.jsx)(N.gT,{team:t.transferFrom,sport:i,children:(0,n.jsx)(eE.p,{id:t.transferFrom.id,name:t.transferFrom.name,size:20})}),(0,n.jsx)(ew.ZmP,{fill:"onSurface.nLv1"}),t.transferTo&&(0,n.jsx)(N.gT,{team:t.transferTo,sport:i,children:(0,n.jsx)(eE.p,{id:t.transferTo.id,name:t.transferTo.name,size:20})})]}),(0,n.jsx)(e_.EY,{font:"assistive.default",color:"onSurface.nLv3",align:"right",as:"div",children:(0,n.jsx)(ek.XU,{value:new Date(1e3*t.transferDateTimestamp),...eb.or.dateWithShortMonth})})]})]})};var eH=t(3411),eR=t(78203),eF=t(60408),eB=t(93081);function eN(e){let{player:r,lastYearSummary:t,expectedTransfer:s,hasPentagon:i,uniqueTournamentsMap:l}=e,{slug:o}=r.team.sport,d=o===a.QCR.Football,u=o===a.QCR.Cricket,c=o===a.QCR.IceHockey,p=o===a.QCR.Basketball,x=!!(r.injury&&(c||p)),y=r.team.primaryUniqueTournament&&r.proposedMarketValueRaw;return(0,n.jsx)(q.t,{tag:"PlayerDetailsMobile",children:(0,n.jsxs)(e_.so,{direction:"column",gap:"sm",children:[!r.deceased&&(0,n.jsx)(C.Zp,{children:(0,n.jsx)(ez,{player:r,expectedTransfer:s})}),(0,n.jsxs)(C.Zp,{children:[(0,n.jsx)(eL,{player:r,inLine:!d&&!u&&!c||c&&!r.injury}),y&&(0,n.jsx)(w.az,{p:"sm",children:(0,n.jsx)(C.WC,{variant:"inverse",children:(0,n.jsx)(eB.A,{playerId:r.id,proposedMarketValueRaw:r.proposedMarketValueRaw})})})]}),!!t&&(0,n.jsx)(eF.A,{lastYearSummary:t,uniqueTournamentsMap:l,containerId:"LYS-incidents-mobile",graphId:"js-LYS-ref-graph-mobile"}),i&&(0,n.jsx)(eH.W,{player:r}),d&&(0,n.jsx)(eR.A,{player:r}),x&&(0,n.jsx)(eI,{player:r})]})})}var eY=t(21704);let eU=()=>(0,n.jsxs)(C.Zp,{children:[(0,n.jsx)(C.Zp.Header,{titleId:"transfer_history"}),(0,n.jsxs)(w.so,{direction:{base:"column",md:"row"},children:[(0,n.jsx)(w.az,{w:{base:"100%",md:"1/2"},h:{base:"[278px]",md:"[328px]"},p:"sm",children:(0,n.jsx)(w.az,{h:"[174px]",bg:"surface.s2",br:"lg"})}),(0,n.jsx)(w.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]"}})]})]}),eD=ee()(()=>t.e(81889).then(t.bind(t,81889)),{loadableGenerated:{webpack:()=>[81889]},ssr:!1,loading:()=>(0,n.jsx)(eU,{})});function eO(e){let{player:r,transfers:t,...s}=e,i=r.team.sport.slug===a.QCR.Football,l=r.team.sport.slug===a.QCR.Basketball,o=r.team.sport.slug===a.QCR.AmericanFootball,d=t?t.sort((e,r)=>r.transferDateTimestamp-e.transferDateTimestamp):null,u=d&&1e3*d[0].transferDateTimestamp>Date.now()?d[0]:null;return(0,n.jsx)(k.tU.Panel,{tabKey:l||o?M.x.Info:M.x.Details,children:(0,n.jsxs)(C.BU,{children:[(0,n.jsx)(eN,{player:r,expectedTransfer:u,...s}),(i||l)&&(0,n.jsx)(eD,{playerId:r.id,transfers:t,sport:r.team.sport.slug,proposedMarketValueRaw:r.proposedMarketValueRaw}),(0,n.jsx)(Z._,{page:{location:y.XN.PlayerScreen,entity:r}}),(0,n.jsx)(V.Y,{page:{location:y.XN.PlayerScreen,entity:r}}),(0,n.jsx)(eY.Ay,{playerId:r.id}),(0,n.jsx)($.A,{player:r})]})})}let eW=ee()(()=>Promise.all([t.e(88620),t.e(89185),t.e(63126)]).then(t.bind(t,63126)),{loadableGenerated:{webpack:()=>[63126]},ssr:!1,loading:()=>(0,n.jsx)(w.az,{h:"[1000px]"})});function eq(e){let{playerId:r}=e;return(0,n.jsx)(k.tU.Panel,{tabKey:M.x.PlayerFantasy,children:(0,n.jsx)(eW,{playerId:r})})}var eK=t(45860),eQ=t(64536);let eG=ee()(()=>t.e(69965).then(t.bind(t,69965)),{loadableGenerated:{webpack:()=>[69965]}});function eZ(e){let{player:r,transfers:t}=e,{hasMatches:s}=(0,H.A)({hasMatches:{route:a.qvj.events(r.id)}}),i=(e=>{let r=(0,ea.o)(),[t,n]=(0,o.useState)(void 0),[s,i]=(0,o.useState)((0,eQ.Ci)(r)),{data:l,isLoading:d}=(0,eK.Ay)(a.qvj.uniqueTournaments(e));return{selectedTournament:t,setSelectedTournament:n,uniqueTournaments:(null==l?void 0:l.uniqueTournaments)||[],isFetching:d,statisticFilter:s,setStatisticFilter:i}})(r.id);return(0,n.jsx)(k.tU.Panel,{tabKey:M.x.Matches,children:s?(0,n.jsx)(eG,{id:r.id,entity:a.wNW.Player,player:r,transfers:t,playerFilters:i}):(0,n.jsx)(w.az,{p:"sm",children:(0,n.jsx)(C.Zp,{children:(0,n.jsx)(T.p,{graphic:"no-events",titleMessageId:"basic.noEvents",descriptionMessageId:"eventList.noAvailableEvents"})})})})}let eV=ee()(()=>Promise.all([t.e(82565),t.e(62639),t.e(13551),t.e(14541)]).then(t.bind(t,14541)),{loadableGenerated:{webpack:()=>[14541]}});function eX(e){let{player:r,sport:t}=e;return(0,n.jsx)(k.tU.Panel,{tabKey:z.v.includes(t)?M.x.Season:M.x.Statistics,children:(0,n.jsx)(eV,{player:r,sport:r.team.sport.slug})})}var e$=t(94446),eJ=t(62042),e0=t(34431),e1=t(28377),e2=t(15340),e4=t(36882),e6=t(70344),e9=t(94156);let e3=e=>{let{id:r,slug:t}=e,{isMobile:a}=(0,k.$c)();return(0,n.jsx)(N.N_,{routeKey:"manager",params:{id:r,slug:t},children:(0,n.jsxs)(e_.so,{px:"md",py:"xs",bg:["primary.default","overlay.darken1"],align:"center",br:"lg",children:[(0,n.jsx)(e_.EY,{lineHeight:"16px",font:"assistive.default",c:["surface.s1","onColor.primary"],mr:"xxs",children:(0,n.jsx)(S.A,{id:"manager_profile"})}),(0,n.jsx)(ew.CCT,{fill:a?"surface.s1":"onColor.primary"})]})})},e5=e=>{let{id:r,sport:t}=e,{data:s}=(0,eK.Ay)([a.qvj.uniqueTournamentSeasons(r),"HEAD"],{fetcher:e6.n});return s?(0,n.jsx)(e0.O,{type:"player",id:r,sport:t}):null},e8=function(e){let{player:r}=e,t=a.USm.includes(r.team.sport.slug),i=r.team.sport.slug,l=r.deceased,o=r.retired,d=s.mz.includes(i);return(0,n.jsx)(e1.z,{className:(0,eJ.AH)({px:"0",py:"0",elevation:{mdDown:"2"}}),children:(0,n.jsxs)(e_.so,{w:"100%",justify:"space-between",align:"center",p:["lg","xl"],pr:["lg","sm"],children:[(0,n.jsxs)(e_.so,{grow:2,w:"100%",align:"center",children:[(0,n.jsx)(e$.t,{id:r.id,name:r.slug,size:112,mr:["lg","xl"],grayscale:r.deceased}),(0,n.jsxs)(e_.so,{align:"flex-start",direction:"column",children:[(0,n.jsx)(e_.so,{gap:"sm",align:"center",mb:["xxs","sm"],children:(0,n.jsx)(e_.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,n.jsx)(e9.c,{entity:r})})}),(0,n.jsxs)(e_.so,{wrap:"wrap",align:"center",gap:"md",children:[r.deceased&&(0,n.jsxs)(e_.so,{align:"center",children:[(0,n.jsx)(e$.p,{id:r.team.id,name:r.team.name,national:r.team.national,size:16,mr:"xs"}),(0,n.jsx)(e_.EY,{font:["assistive.default","display.medium"],c:["onSurface.nLv3","onColor.primary"],children:(0,n.jsx)(S.A,{id:"deceasedYear",values:{year:void 0}})})]}),d&&(0,n.jsx)(e5,{id:r.id,sport:i}),r.managerId&&(0,n.jsx)(e3,{id:r.managerId,slug:i})]})]})]}),(0,n.jsx)(e_.az,{children:t&&!l&&!o&&(0,n.jsx)(e2.e,{id:r.id,entity:a.bq7.Players,location:e4.y.Header,type:e4.b.Player})})]})})},e7=ee()(()=>t.e(81957).then(t.bind(t,81957)),{loadableGenerated:{webpack:()=>[81957]}});function re(e){let{player:r}=e;return(0,n.jsx)(k.tU.Panel,{tabKey:M.x.Career,children:(0,n.jsx)(e7,{player:r})})}function rr(e){let{player:r,transfers:t,...i}=e,l=r.team.sport,o=r.team.primaryUniqueTournament,{isFantasyEnabled:d,showFantasyEntry:u}=(0,I.t)(),[c,p]=(0,R.Ay)({routeKey:s.xW.Player,params:{slug:r.slug,id:r.id,sport:l.slug}}),{hasStatisticsTab:x,hasFantasyData:y,hasCareerData:h}=(0,H.A)({hasStatisticsTab:{route:a.qvj.uniqueTournamentSeasons(r.id),skipCheck:!W.F0.includes(l.slug)},hasFantasyData:{route:a.lVT.playerCompetitions(r.id),skipCheck:!d},hasCareerData:{route:a.qvj.uniqueTournamentSeasonsStatistics(r.id),skipCheck:!z.v.includes(l.slug)}},[r.id,d]),j=u&&y,m=h&&x,g=function(e,r,t,n){if(z.l.includes(e))return[{tabKey:M.x.Season,item:"season",isHidden:!r},{tabKey:M.x.Matches,item:"games",values:{sport:(0,ey.ap)(e)}},{tabKey:M.x.Career,item:"am_football_career_tab",isHidden:!t},{tabKey:M.x.Info,item:"info"},{tabKey:M.x.PlayerFantasy,item:"fantasy",isHidden:!n}];let a=z.v.includes(e);return[{tabKey:M.x.Details,item:"details"},{tabKey:a?M.x.Season:M.x.Statistics,item:a?"season":"statistics",isHidden:!r},{tabKey:M.x.Matches,item:"matches",values:{sport:(0,ey.ap)(e)}},{tabKey:M.x.Career,item:"am_football_career_tab",isHidden:!t},{tabKey:M.x.PlayerFantasy,item:"fantasy",isHidden:!n}]}(l.slug,x,m,j),_=(null==c?void 0:c.tab)||eh(l.slug,g);return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(w.az,{bg:"surface.s1",children:[(0,n.jsx)(D,{player:r,sport:l,uniqueTournament:o}),(0,n.jsx)(e8,{player:r})]}),(0,n.jsx)(E.A,{id:r.id,location:E.C.PlayerPage,initialTabKey:_,customControls:[_,e=>{p("tab",e),ej("defaultUniqueTournamentId"),ej("defaultSeasonId"),ej("defaultSeasonType")}],tabs:g,children:(0,n.jsxs)(w.az,{bg:"surface.s0",children:[(0,n.jsx)(eO,{player:r,transfers:t,...i}),x&&(0,n.jsx)(eX,{player:r,sport:l.slug}),m&&(0,n.jsx)(re,{player:r}),(0,n.jsx)(eZ,{player:r,transfers:t}),j&&(0,n.jsx)(eq,{playerId:r.id})]})})]})}let rt=(0,o.memo)(function(e){let{player:r}=e,t=null==r?void 0:r.deceased,i=null==r?void 0:r.retired;return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(v,{player:r}),(0,n.jsxs)(d.Ws,{value:r.team.sport.slug,children:[(0,n.jsx)(c.$B,{children:(0,n.jsx)(rr,{...e})}),(0,n.jsx)(c.h6,{children:(0,n.jsx)(u.JR,{route:s.xW.Player,children:(0,n.jsx)(eg,{...e})})}),!0!==t&&!0!==i&&(0,n.jsx)(p.A,{entity:a.bq7.MutedPlayers,entityGroup:"player",id:r.id}),(0,n.jsx)(x.N,{page:{location:y.XN.PlayerScreen,entity:r}})]})]})},function(e,r){return e.player.id===r.player.id});var rn=t(61306),ra=t(18153),rs=t(45906);function ri(e){return"error"in e?(0,n.jsx)(rs.default,{statusCode:e.error.code||404}):(0,n.jsx)(l.x,{value:{seoContent:e.seoContent},children:(0,n.jsx)(rt,{...e})})}ri.getInitialProps=rn.A.getInitialPageProps(e=>async function(r){let{req:t,res:n,query:l,...o}=r,d=t?t._originalUrl:o.asPath,u=i.z.getCurrentLocale(d),c=t&&t.params?t.params:l,p=Number(c.id),x=c.slug,[y,h,j,m,g]=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,u)]);try{let r,t;if("rejected"===y.status)throw Error(y.reason);"fulfilled"===m.status&&m.value.summary.length&&(r=m.value.summary,t=m.value.uniqueTournamentsMap);let a=y.value.player,l="fulfilled"===h.status?h.value.transferHistory:void 0,o="fulfilled"===g.status?g.value.content:void 0,d="fulfilled"===j.status&&j.value,_=c.sport||a.team.sport.slug;if(!s.Hk.includes(_))throw Error("Unsupported sport");return n&&(a.slug!==x||a.id!==p)&&(n.writeHead(301,{Location:i.z.getTranslatedRoute(u,"player",{id:a.id,slug:a.slug,sport:_}).route}),n.end()),e.dispatch((0,ra.Vy)(_)),{player:a,transfers:l,seoContent:o,lastYearSummary:r,uniqueTournamentsMap:t,hasPentagon:d}}catch(e){return{error:{code:404}}}})},98366:(e,r,t)=>{"use strict";t.d(r,{Bg:()=>y,HU:()=>s,Q1:()=>a,Sz:()=>x,TC:()=>p,W6:()=>c,cS:()=>u,eM:()=>i,mc:()=>o,tO:()=>d});let n=[["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"},s={saves:"SAV",anticipation:"ANT",tactical:"TAC",ballDistribution:"BAL",aerial:"AER",attacking:"ATT",technical:"TEC",defending:"DEF",creativity:"CRE"},i={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 r=[];return n.forEach((t,n)=>{t.forEach(t=>{t in e&&(r[n]={value:e[t],name:t})})}),r}function d(e){return e.map((e,r)=>(function(e,r){let t=-(100*Math.cos(l(72*r)));return[100*Math.sin(l(72*r)),t].map(r=>r*e/100+100)})(Number(e),r))}function u(e){return e.reduce((e,r)=>"".concat(e).concat(r[0],",").concat(r[1]," "),"").trim()}function c(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,r){return e.find(e=>e.yearShift===r)||null}function y(e,r,t,n){let a=[],s=[],{playerPentagons:l,averagePentagons:d}={...e};if(null==l?void 0:l.length){let e=x(l,r?t:0);if(e&&(e.__type=i.BASE),a.push(e?o(e):null),s.push(e),n)s.push(null);else{let e=null,n=null;r?r&&(e=x(r.playerPentagons,t))&&(e.__type=i.COMPARE,n=o(e)):t?(e=x(l,t))&&(e.__type=i.COMPARE_SELF,n=o(e)):(null==d?void 0:d.length)&&((e=d[0]).__type=i.AVG),a.push(n),s.push(e)}s.reverse()}return{attributes:a,pentagonLayers:s}}}},e=>{e.O(0,[14092,56591,28446,14632,43786,12155,17135,36678,20288,93785,3074,83716,40996,8521,19947,37790,90636,46593,38792],()=>e(e.s=50284)),_N_E=e.O()}]);