!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="5184d6ee-3070-45a2-9822-c21412851e9b",e._sentryDebugIdIdentifier="sentry-dbid-5184d6ee-3070-45a2-9822-c21412851e9b")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7256],{2974:(e,n,s)=>{s.d(n,{A:()=>a});var r=s(6029),i=s(55729),l=s(12153);let a=(0,i.forwardRef)((e,n)=>{let{venue:s,children:i,...a}=e;return s&&!s.hidden&&s.country.slug?(0,r.jsx)(l.A,{...a,routeKey:"venue",params:{country:s.country.slug,slug:s.slug,id:s.id},ref:n,children:i}):(0,r.jsx)(r.Fragment,{children:i})})},11998:(e,n,s)=>{s.d(n,{n:()=>a});var r=s(6029),i=s(99064),l=s(65789);function a(){return(0,r.jsxs)(l.Zp,{children:[(0,r.jsx)(l.Zp.Header,{titleId:"media"}),(0,r.jsx)(i.az,{h:800})]})}},18040:(e,n,s)=>{s.d(n,{O:()=>d});var r=s(6029),i=s(21377),l=s(44194),a=s(90248),t=s(12153),o=s(54409);let d=e=>{let{id:n,type:s,sport:d}=e,{isMobile:c}=(0,l.$c)(),u="player"===s||d===i.QCR.Tennis?o.cSg:o.l3$;return(0,r.jsx)(t.A,{routeKey:"player"===s?"player.compare":"team.compare",query:"player"===s?{leftPlayerId:n}:{leftTeamId:n},params:{sport:d},children:(0,r.jsxs)(l.$n,{size:c?"tertiary":"secondary",md:{bg:"overlay.darken1",color:"onColor.primary"},children:[(0,r.jsx)(a.A,{id:"compare"}),(0,r.jsx)(u,{})]})})}},23166:(e,n,s)=>{s.d(n,{C4:()=>x,Ik:()=>c,Xj:()=>u,hA:()=>p,q6:()=>m});var r=s(6029),i=s(49519),l=s(99064),a=s(90248),t=s(44595),o=s(54917),d=s(55938);let c=e=>{let{position:n,extended:s,placeholder:i,groupPosition:a,noColor:d,gender:c}=e;return n||i?(0,r.jsx)(l.EY,{font:"display.small",color:(0,t.mh)(d?void 0:a||n),ellipsis:!0,children:n?(0,r.jsx)(o.F,{id:n,short:!s,gender:c}):"-"}):null},u=e=>{let{teamId:n,teamCodeName:s,font:a,color:t,placeholder:o}=e;return n&&s||o?n&&s?(0,r.jsxs)(l.so,{align:"center",children:[(0,r.jsx)(i.p,{id:n,name:s,size:16}),(0,r.jsx)(l.EY,{lineHeight:"16px",font:a||"body.medium",color:t||"onSurface.nLv1",ml:"xs",children:s})]}):(0,r.jsx)(l.EY,{lineHeight:"16px",font:a||"body.medium",color:t||"onSurface.nLv1",children:"-"}):null},p=e=>{let{alpha2:n,color:s,font:a,placeholder:t}=e;return n||t?n?(0,r.jsxs)(l.so,{align:"center",children:[(0,r.jsx)(i.w,{size:16,alpha2:n,name:n}),(0,r.jsx)(l.EY,{lineHeight:"16px",font:a||"body.medium",color:s||"onSurface.nLv1",ml:"xs",children:(0,d.KH)(n)})]}):(0,r.jsx)(l.EY,{lineHeight:"16px",font:a||"body.medium",color:s||"onSurface.nLv1",children:"-"}):null},x=e=>{let{absolute:n,jerseyNumber:s}=e;return(0,r.jsx)(l.az,{position:n?"absolute":"static",bottom:0,right:0,w:24,h:24,br:"50%",bg:"neutral.variant",children:(0,r.jsx)(l.EY,{lineHeight:"24px",font:"display.small",color:"surface.s1",align:"center",as:"div",children:s&&"undefined"!==s?s:"-"})})},m=e=>{let{color:n,isDetailedPositionSport:s,mainPosition:i,position:t,gender:o}=e;return(0,r.jsx)(l.az,{children:s?(0,r.jsx)(l.EY,{font:"display.small",color:n,children:(0,r.jsx)(a.A,{id:i,values:{gender:o}})}):t&&"undefined"!==t?(0,r.jsx)(c,{position:t,extended:!0,gender:o}):(0,r.jsx)(l.EY,{font:"display.small",color:n,children:(0,r.jsx)(a.A,{id:"player.position.unknown",values:{gender:o}})})})}},56566:(e,n,s)=>{s.d(n,{A:()=>u,y:()=>c});var r=s(6029),i=s(99064),l=s(55729),a=s(41735),t=s(65789),o=s(52951),d=s(24159);let c=a.default.div.withConfig({componentId:"sc-45a9f748-0"})(["span{color:"," !important;}ins,a{color:",";text-decoration:none;&:hover{opacity:0.7;}}h2,h3,h4{font:",";}p{font:",";}"],e=>e.theme.colors.onSurface.nLv1,e=>e.theme.colors.primary.default,e=>e.theme.typography.font.display.medium,e=>e.theme.typography.font.body.mediumParagraph),u=function(e){let{player:n}=e,{seoContent:s}=(0,l.useContext)(o.xV);return!n.deceased&&(null==s?void 0:s.about)?(0,r.jsxs)(t.Zp,{children:[(0,r.jsx)(t.Zp.Header,{title:(0,r.jsx)(d.c,{entity:n}),as:"h3"}),(0,r.jsx)(i.az,{p:"lg",pt:"0",children:(0,r.jsx)(c,{dangerouslySetInnerHTML:{__html:s.about}})})]}):null}},62927:(e,n,s)=>{s.r(n),s.d(n,{default:()=>D});var r=s(6029),i=s(21377),l=s(44194),a=s(99064),t=s(55729),o=s(947),d=s(65789),c=s(91816),u=s(90248),p=s(62859),x=s(44595),m=s(10292),j=s(54409),h=s(70591),y=s(24159),g=s(23166),f=s(63869);function v(e){var n;let{teamPlayer:{player:s},groupPosition:i,coloredPosition:l}=e,{national:o}=(0,t.useContext)(f.f),d=void 0!==s.jerseyNumber&&!o;return(0,r.jsx)(h.uc,{player:s,sportSlug:s.team.sport.slug,children:(0,r.jsxs)(a.so,{w:134,minH:164,br:"sm",pt:s.injury?void 0:"md",bg:"surface.s2",direction:"column",justify:"space-between",cursor:"pointer",children:[s.injury&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(a.az,{backgroundColor:"error.default",w:"100%",h:"xs",br:"sm sm 0 0"}),(0,r.jsx)(j.gT,{fill:"error.default",ml:"sm",mt:"sm",position:"absolute"})]}),(0,r.jsxs)(a.az,{position:"relative",w:64,h:64,mx:"auto",children:[(0,r.jsx)(m.t,{id:s.id,name:s.name,size:64}),d&&(0,r.jsx)(g.C4,{jerseyNumber:s.jerseyNumber,absolute:!0})]}),(0,r.jsx)(a.so,{w:"100%",h:"36px",justify:"center",align:"center",children:(0,r.jsx)(a.EY,{mx:"sm",font:"display.small",color:"onSurface.nLv1",align:"center",lineClamp:2,as:"div",children:(0,r.jsx)(y.c,{entity:s})})}),(0,r.jsxs)(a.so,{h:32,bg:"surface.s2",p:"sm",br:"0 0 8px 8px",justify:"space-between",children:[s.position?(0,r.jsx)(g.Ik,{position:s.position,groupPosition:i,noColor:!l,gender:s.team.gender}):(0,r.jsx)("div",{}),o&&(0,r.jsx)(g.Xj,{teamId:s.team.id,teamCodeName:s.team.nameCode}),!o&&(0,r.jsx)(g.hA,{alpha2:null==(n=s.country)?void 0:n.alpha2})]})]})})}var b=s(50774);let w=e=>{let{mainPosition:n,players:s,sport:i}=e;if(!s.length)return null;let l=x.FG.includes(i),t=x.jT.includes(i),o=s[0].player.position,d=(0,x.mh)(l?n:o);return(0,r.jsxs)(a.az,{children:[t&&(0,r.jsx)(a.az,{px:"lg",pt:"lg",children:(0,r.jsx)(g.q6,{color:d,position:o,isDetailedPositionSport:l,mainPosition:n,gender:s[0].player.team.gender})}),(0,r.jsx)(a.so,{px:"md",wrap:"wrap",py:"xs",children:s.map(e=>(0,r.jsx)(a.az,{p:"xs",children:(0,r.jsx)(v,{teamPlayer:e,groupPosition:l?n:void 0,coloredPosition:t})},e.player.id))})]})};function I(e){let{staffMember:n}=e;return(0,r.jsxs)(a.so,{w:134,minH:164,br:"sm",pt:"md",bg:"surface.s2",direction:"column",justify:"space-between",children:[(0,r.jsx)(a.az,{position:"relative",border:"onSurface.nLv4",br:"50%",w:64,h:64,mx:"auto",children:(0,r.jsx)(c.d,{id:null==n?void 0:n.id,name:n.name,size:64})}),(0,r.jsx)(a.EY,{my:"md",px:"sm",font:"display.small",color:"onSurface.nLv1",align:"center",lineClamp:2,as:"div",children:n.name}),(0,r.jsx)(a.so,{h:32,bg:"surface.s2",p:"sm",br:"0 0 8px 8px",justify:"space-between",children:(0,r.jsx)(a.EY,{font:"display.small",color:"onSurface.nLv3",ellipsis:!0,children:(0,r.jsx)(b.A,{role:n.role})})})]})}function _(e){let{players:n,supportStaff:s}=e,i=(0,t.useContext)(p.Ws),l=x.jT.includes(i)?(0,x.GM)(n,i):{players:n};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(a.az,{pb:"sm",children:Object.keys(l).map(e=>(0,r.jsx)(w,{mainPosition:e,players:l[e],sport:i},e))}),s.length>0&&(0,r.jsxs)(a.az,{pb:"sm",p:"xs",children:[(0,r.jsx)(a.EY,{as:"div",h:"40px",pt:"14px",px:"lg",font:"display.small",color:"onSurface.nLv1",children:(0,r.jsx)(u.A,{id:"support_staff"})}),(0,r.jsx)(a.so,{px:"md",wrap:"wrap",py:"xs",children:s.map(e=>(0,r.jsx)(a.az,{p:"xs",children:(0,r.jsx)(I,{staffMember:e})},e.id))})]})]})}var S=s(4967),C=s(70862),T=function(e){return e.Players="players",e.Position="position",e.Age="age",e.Nationality="nationality.short",e.Team="team",e.Support_Staff="support_staff",e}({});let Y=e=>{let{staffMember:n,postionColSpan:s}=e;return(0,r.jsxs)(a.XI.Row,{bg:"surface.s1",hoverBg:"surface.s2",children:[(0,r.jsx)(a.XI.Cell,{children:(0,r.jsx)(a.so,{h:32,gap:"lg",align:"center",px:"lg",children:(0,r.jsx)(a.EY,{lineHeight:"24px",font:"body.medium",children:n.name})})}),(0,r.jsx)(a.XI.Cell,{colSpan:s,children:(0,r.jsx)(a.so,{h:32,justify:"center",align:"center",px:"lg",children:(0,r.jsx)(a.EY,{font:"display.small",color:"onSurface.nLv3",ellipsis:!0,children:(0,r.jsx)(b.A,{role:n.role})})})})]})},H=e=>{var n;let{teamPlayer:s,shownColumns:i}=e,{player:l}=s,o=(0,t.useContext)(p.Ws),{national:d}=(0,t.useContext)(f.f),c=x.jT.includes(o),u=x.FG.includes(o)?(0,x.c7)(l.position,o):void 0;return(0,r.jsxs)(a.XI.Row,{bg:"surface.s1",hoverBg:"surface.s2",children:[i.includes("players")&&(0,r.jsx)(a.XI.Cell,{children:(0,r.jsx)(h.uc,{player:l,sportSlug:l.team.sport.slug,children:(0,r.jsxs)(a.so,{h:32,children:[l.injury&&(0,r.jsx)(a.so,{h:"100%",w:"4px",backgroundColor:"error.default"}),(0,r.jsxs)(a.so,{gap:"lg",h:"100%",align:"center",px:l.injury?"md":"lg",children:[d?null:l.jerseyNumber?(0,r.jsx)(g.C4,{jerseyNumber:l.jerseyNumber}):(0,r.jsx)(a.az,{w:"24",h:"24"}),(0,r.jsx)(a.EY,{lineHeight:"24px",font:"body.medium",children:(0,r.jsx)(y.c,{entity:l})}),l.injury&&(0,r.jsxs)(a.so,{h:"100%",align:"center",children:[(0,r.jsx)(j.gT,{fill:"error.default"}),(0,r.jsx)(a.EY,{lineHeight:"24px",ml:"xs",color:"error.default",font:"assistive.default",children:(0,r.jsx)(C.o,{id:l.injury.status})})]})]})]})})}),i.includes("position")&&(0,r.jsx)(a.XI.Cell,{children:(0,r.jsx)(a.so,{h:32,justify:"center",align:"center",px:"lg",children:(0,r.jsx)(g.Ik,{position:l.position,groupPosition:u,extended:!0,placeholder:!0,noColor:!c,gender:l.team.gender})})}),i.includes("age")&&(0,r.jsx)(a.XI.Cell,{children:(0,r.jsx)(a.so,{h:32,justify:"center",align:"center",px:"lg",children:(0,r.jsx)(a.EY,{lineHeight:"16px",font:"body.medium",color:"onSurface.nLv1",as:"div",align:"center",children:l.dateOfBirthTimestamp?(0,r.jsx)(r.Fragment,{children:(0,S.KW)(l.dateOfBirthTimestamp)}):"-"})})}),i.includes("nationality.short")&&(0,r.jsx)(a.XI.Cell,{children:(0,r.jsx)(a.so,{h:32,justify:"center",align:"center",px:"lg",children:(0,r.jsx)(g.hA,{alpha2:null==(n=l.country)?void 0:n.alpha2,placeholder:!0})})}),i.includes("team")&&(0,r.jsx)(a.XI.Cell,{children:(0,r.jsx)(a.so,{h:32,justify:"center",align:"center",px:"lg",children:(0,r.jsx)(g.Xj,{teamId:l.team.id,teamCodeName:l.team.nameCode,placeholder:!0})})})]})},k=e=>{let{players:n,column:s}=e,r="";switch(s){case T.Players:r="name";break;case T.Nationality:r="country.alpha2";break;case T.Age:r="dateOfBirthTimestamp";break;default:r=s}return n.some(e=>{let{player:n}=e;return!!(null==n?void 0:n[r])})},z=e=>{let{players:n,isNational:s}=e,r=[T.Players,T.Position,T.Age,s?T.Team:T.Nationality],i=[];return r.forEach(e=>{k({players:n,column:e})&&i.push(e)}),i},E=e=>{let{messageId:n,align:s="center",...i}=e;return(0,r.jsx)(a.XI.HeadCell,{px:"lg",...i,children:(0,r.jsx)(a.EY,{lineHeight:"40px",font:"body.medium",color:"onSurface.nLv1",align:s,as:"div",children:(0,r.jsx)(u.A,{id:n})})})};function A(e){let{players:n,supportStaff:s}=e,{national:i}=(0,t.useContext)(f.f),l=z({players:n,isNational:i});return(0,r.jsx)(a.az,{py:"lg",children:(0,r.jsxs)(a.XI,{w:"100%",children:[(0,r.jsx)(a.XI.Head,{children:(0,r.jsxs)(a.XI.Row,{children:[l.includes(T.Players)&&(0,r.jsx)(E,{messageId:"players",align:"left"}),l.includes(T.Position)&&(0,r.jsx)(E,{messageId:"position"}),l.includes(T.Age)&&(0,r.jsx)(E,{messageId:"age"}),l.includes(T.Nationality)&&(0,r.jsx)(E,{messageId:"nationality"}),l.includes(T.Team)&&(0,r.jsx)(E,{messageId:"team"})]})}),n.map(e=>(0,r.jsx)(H,{teamPlayer:e,shownColumns:l},e.player.id)),s.length>0&&(0,r.jsx)(a.XI.Head,{children:(0,r.jsxs)(a.XI.Row,{children:[(0,r.jsx)(E,{messageId:"support_staff",align:"left"}),(0,r.jsx)(E,{messageId:"position",colSpan:l.length-1})]})}),s.map(e=>(0,r.jsx)(Y,{staffMember:e,postionColSpan:l.length-1},e.id))]})})}var L=s(26331),P=s(33243),N=s(84942),B=s(46009),R=s(8973),X=s(54917);let Z=e=>{var n,s;let{teamPlayer:l,isLast:o,isDetailedPositionSport:d}=e,{national:c}=(0,t.useContext)(f.f),{player:p}=l,x=i.USm.includes(p.team.sport.slug);return(0,r.jsx)(h.uc,{player:p,sportSlug:p.team.sport.slug,children:(0,r.jsxs)(a.so,{align:"center",cursor:"pointer",children:[(0,r.jsx)(m.t,{id:p.id,name:p.name,size:40,mx:"lg"}),(0,r.jsxs)(a.so,{grow:1,h:"100%",p:"10px lg 10px 0",borderBottom:o?"transparent":"onSurface.nLv4",direction:"row",justify:"space-between",align:"center",children:[(0,r.jsxs)(a.so,{direction:"column",justify:"center",gap:"xs",children:[(0,r.jsx)(a.EY,{font:"body.medium",color:"onSurface.nLv1",as:"div",children:(0,r.jsx)(y.c,{entity:p})}),(0,r.jsxs)(a.so,{gap:"sm",align:"center",children:[!c&&p.jerseyNumber&&"undefined"!==p.jerseyNumber&&(0,r.jsx)(a.EY,{lineHeight:"16px",font:"assistive.default",color:"onSurface.nLv3",children:p.jerseyNumber}),p.dateOfBirthTimestamp&&(0,r.jsxs)(a.EY,{lineHeight:"16px",font:"assistive.default",color:"onSurface.nLv3",children:[(0,S.KW)(p.dateOfBirthTimestamp)," ",(0,r.jsx)(u.A,{id:"years_short"})]}),d&&p.position&&(0,r.jsx)(a.EY,{font:"assistive.default",color:"onSurface.nLv3",children:(0,r.jsx)(X.F,{id:p.position,gender:null==(n=p.team)?void 0:n.gender})}),c&&(0,r.jsx)(g.Xj,{teamId:p.team.id,teamCodeName:p.team.nameCode,color:"onSurface.nLv3",font:"assistive.default"}),!c&&(0,r.jsx)(g.hA,{alpha2:null==(s=p.country)?void 0:s.alpha2,color:"onSurface.nLv3",font:"assistive.default"})]}),p.injury&&(0,r.jsxs)(a.so,{align:"center",children:[(0,r.jsx)(j.gT,{fill:"error.default"}),(0,r.jsx)(a.EY,{ml:"xs",lineHeight:"12px",color:"error.default",font:"assistive.default",children:(0,r.jsx)(C.o,{id:p.injury.status})})]})]}),x&&(0,r.jsx)(B.e,{entity:i.bq7.Players,id:p.id,location:R.y.EventHeader,type:R.b.Player})]})]})})},M=e=>{var n;let{manager:s}=e,i=(0,L.A)();return s&&(null==s?void 0:s.id)&&(null==s?void 0:s.name)?(0,r.jsx)(d.Zp,{children:(0,r.jsx)(h.yI,{manager:s,children:(0,r.jsxs)(a.so,{align:"center",px:"lg",py:"md",children:[(0,r.jsx)(a.az,{w:40,h:40,br:"50%",border:"onSurface.nLv4",children:(0,r.jsx)(c.d,{id:s.id,style:{width:"100%",height:"100%"}})}),(0,r.jsxs)(a.az,{ml:"lg",children:[(0,r.jsx)(a.EY,{font:"display.medium",color:"onSurface.nLv1",as:"div",children:(0,N.s)(s,i)}),(0,r.jsxs)(a.so,{gap:"sm",align:"center",children:[(0,r.jsx)(a.EY,{lineHeight:"16px",font:"assistive.default",color:"onSurface.nLv3",as:"div",children:(0,r.jsx)(u.A,{id:"team_coach"})}),(0,r.jsx)(g.hA,{alpha2:null==(n=s.country)?void 0:n.alpha2,color:"onSurface.nLv3",font:"assistive.default"})]})]})]})})}):(0,r.jsx)(a.az,{w:"100%"})},O=e=>{let{mainPosition:n,players:s,sport:l,gender:t}=e;if(!s.length)return null;let o=x.FG.includes(l),c=s[0].player.position,u=(0,x.mh)(o?n:c);return(0,r.jsx)(d.Zp,{children:(0,r.jsxs)(a.az,{py:"md",children:[x.jT.includes(l)&&(0,r.jsxs)(a.so,{pb:"sm",align:"center",children:[(0,r.jsx)(a.az,{bg:u,w:4,h:48,mr:"lg"}),(0,r.jsx)(g.q6,{color:u,position:c,isDetailedPositionSport:o,mainPosition:n,gender:t})]}),s.map((e,n)=>(0,r.jsx)(Z,{teamPlayer:e,isLast:n===s.length-1,isDetailedPositionSport:o||l===i.QCR.Basketball||l===i.QCR.Cricket},e.player.id))]})})};function q(e){let{players:n,manager:s,supportStaff:l,gender:o=i.YT8.Male}=e,d=(0,t.useContext)(p.Ws),c=x.jT.includes(d)?(0,x.GM)(n,d):{players:n};return(0,r.jsxs)(a.so,{direction:"column",gap:"sm",children:[(0,r.jsx)(M,{manager:s}),Object.keys(c).map(e=>(0,r.jsx)(O,{mainPosition:e,players:c[e],sport:d,gender:o},e)),l.length>0&&(0,r.jsxs)(a.az,{mt:22,pb:"sm",children:[(0,r.jsx)(a.so,{px:"lg",mb:"sm",children:(0,r.jsx)(a.EY,{h:20,font:"display.medium",color:"onSurface.nLv1",children:(0,r.jsx)(u.A,{id:"support_staff"})})}),(0,r.jsx)(P.A,{supportStaff:l})]})]})}var F=function(e){return e.BoxViewOpt="box",e.ListViewOpt="list",e}(F||{});let W="players";function D(e){let{players:n,supportStaff:s,manager:c,gender:u=i.YT8.Male}=e,p=(0,o.A)(),[x,m]=(0,t.useState)("box"),[j]=(0,t.useState)(Math.random()),{isMobile:h}=(0,l.$c)();return((0,t.useEffect)(()=>{h||"box"===x||m("box")},[h]),n.length)?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(a.az,{display:["none","block"],children:(0,r.jsxs)(d.Zp,{children:[(0,r.jsx)(d.Zp.Header,{titleId:"players",values:{gender:u}}),(0,r.jsxs)(a.so,{mb:"xxs",children:[(0,r.jsx)(a.a,{id:"boxTeamPlayers-".concat(j),name:W,label:p.formatMessage({id:"box_view"}),value:"box",checked:"box"===x,onChange:()=>m("box"),gap:"lg",px:"lg",py:"md"}),(0,r.jsx)(a.a,{id:"listTeamPlayers-".concat(j),name:W,label:p.formatMessage({id:"list_view"}),value:"list",checked:"list"===x,onChange:()=>m("list"),gap:"lg",px:"lg",py:"md"})]}),"box"===x?(0,r.jsx)(_,{players:n,supportStaff:s}):(0,r.jsx)(A,{players:n,supportStaff:s})]})}),(0,r.jsx)(a.az,{display:["block","none"],children:(0,r.jsx)(q,{players:n,manager:c,supportStaff:s,gender:u})})]}):null}},63869:(e,n,s)=>{s.d(n,{f:()=>i});let r=(0,s(55729).createContext)({});r.displayName="TeamContext";let i=r},66902:(e,n,s)=>{s.d(n,{Im:()=>c,Y9:()=>w,zY:()=>T,cZ:()=>M,fS:()=>q.f,Ay:()=>O.default,KW:()=>b});var r=s(6029),i=s(99064),l=s(55729),a=s(65789),t=s(52951),o=s(56566),d=s(91811);function c(e){let{team:n}=e,{seoContent:s}=(0,l.useContext)(t.xV),c=(0,d.n)(n);return(null==s?void 0:s.about)?(0,r.jsxs)(a.Zp,{children:[(0,r.jsx)(a.Zp.Header,{titleId:"team.about",values:{team:c},as:"h3"}),(0,r.jsx)(i.az,{px:"lg",pb:"lg",children:(0,r.jsx)(o.y,{dangerouslySetInnerHTML:{__html:s.about}})})]}):null}var u=s(49519),p=s(21377),x=s(44194),m=s(18040),j=s(42901),h=s(98449),y=s(46009),g=s(64073),f=s(8973),v=s(94604);let b=e=>{var n;return e.type===p.YVh.Person&&e.country.alpha2?(0,p.RHm)(e.country.alpha2):e.sport.slug===p.QCR.Minifootball&&(null==(n=e.primaryUniqueTournament)?void 0:n.id)?p.V3t.image(e.primaryUniqueTournament.id):p.cWY.image(e.id)};function w(e){var n;let{team:s,hasStatisticsSeasons:l}=e,{isDesktop:a}=(0,x.$c)(),t=s.type===p.YVh.Person,o=s.sport.slug,d=[p.QCR.Football,p.QCR.Basketball,p.QCR.Tennis].includes(o)&&l;return(0,r.jsx)(i.az,{bg:"surface.s1",br:[void 0,"xl"],py:["lg",0],children:(0,r.jsx)(j.z,{bgImageSrc:b(s),flexProps:{py:[0,"lg"]},children:(0,r.jsxs)(i.so,{w:"100%",grow:1,align:"center",px:"lg",children:[(0,r.jsxs)(i.so,{grow:1,align:"center",maxW:["100%",void 0],children:[(0,r.jsx)(i.az,{br:[0,"xs"],w:[48,112],h:[48,112],ml:[0,"sm"],mr:["lg","xl"],bg:t?void 0:[void 0,"surface.s1"],elevation:t?void 0:[void 0,2],children:(0,r.jsx)(u.p,{id:s.id,name:s.name,w:[48,t?110:88],h:[48,t?110:88],m:[0,t?0:"md"],grayscale:null==(n=s.playerTeamInfo)?void 0:n.deceased,style:{verticalAlign:"top"}})}),(0,r.jsxs)(i.so,{flex:"1 1 auto",direction:"column",align:"flex-start",maxW:["calc(100% - 64px)",200,"100%"],mr:[0,"lg"],gap:["xs","sm"],w:"100%",children:[(0,r.jsxs)(i.so,{gap:"sm",align:"center",children:[(0,r.jsx)(i.EY,{as:"h2",m:0,font:["display.large","display.extraLarge"],c:["onSurface.nLv1","onColor.primary"],w:"100%",children:(0,r.jsx)(v.Rm,{team:s,full:!0})}),a&&(0,r.jsx)(y.e,{id:s.id,entity:p.bq7.Teams,location:f.y.Header,type:f.b.Team,isOnOverlay:!0})]}),!t&&!s.national&&s.country.name&&(0,r.jsxs)(i.so,{align:"center",gap:["xs","sm"],children:[(0,r.jsx)(u.w,{alpha2:s.country.alpha2,name:s.country.name,w:[16,32],h:[16,32]}),(0,r.jsx)(i.EY,{font:["body.medium","display.medium"],c:["onSurface.nLv1","onColor.primary"],children:(0,r.jsx)(h.m,{slug:s.country.slug||"",name:s.country.name})})]}),d&&(0,r.jsx)(m.O,{type:"team",id:s.id,sport:o})]})]}),a?(0,r.jsx)(i.so,{children:(0,r.jsxs)(g.K,{id:s.id,name:(0,r.jsx)(v.Rm,{team:s}),entity:p.bq7.Teams,type:f.b.Team,children:[(0,r.jsx)(u.p,{id:s.id,name:s.name,w:32,h:32,mr:"sm",style:{verticalAlign:"top"}}),(0,r.jsx)(i.EY,{font:"display.medium",color:"primary.default",mr:"sm",children:(0,r.jsx)(v.Rm,{team:s})})]})}):(0,r.jsx)(y.e,{id:s.id,entity:p.bq7.Teams,location:f.y.Header,type:f.b.Team})]})})})}var I=s(33752),_=s(70591),S=s(27289),C=s(52695);function T(e){let{sport:n,uniqueTournament:s,category:a,teamName:o}=e,{seoContent:d}=(0,l.useContext)(t.xV);return(0,r.jsx)(i.az,{bg:["surface.s1","transparent"],children:(0,r.jsxs)(I.B,{children:[(0,r.jsx)(I.B.Item,{children:(0,r.jsx)(_.di,{translatedParams:{sport:n.slug},children:(0,r.jsx)(S.o,{sportSlug:n.slug})})}),(0,r.jsx)(I.B.Item,{children:(0,r.jsx)(_.Z6,{category:a,children:(0,r.jsx)(h.m,{...a})})}),s?(0,r.jsx)(I.B.Item,{children:(0,r.jsx)(_.tQ,{tournament:s,children:(0,r.jsx)(C.O,{uniqueTournament:s})})}):null,(0,r.jsx)(I.B.Title,{children:(null==d?void 0:d.heading)||"".concat(o," - Sofascore")})]})})}var Y=s(4967),H=s(21501),k=s(90248),z=s(947),E=s(90510),A=s(3518),L=s(55938),P=s(45860),N=s(54409),B=s(54053);function R(e){var n;let{id:s}=e,[a,t]=(0,l.useState)(!1),o=(0,z.A)(),{data:d,isLoading:c}=(0,P.Ay)(p.cWY.recentUniqueTournaments(s));if(!(null==d||null==(n=d.uniqueTournaments)?void 0:n.length))return c?(0,r.jsx)(i.az,{h:32}):null;let u=[...d.uniqueTournaments].reverse(),x=u[0].name;return u[0].round&&(x+=", "+(u[0].winner?o.formatMessage({id:"winner"}):u[0].round)),(0,r.jsxs)(i.so,{h:32,px:"lg",py:"sm",justify:"space-between",position:"relative",children:[(0,r.jsxs)(i.az,{position:"relative",grow:1,children:[(0,r.jsx)(i.az,{cursor:"pointer",onClick:()=>t(!0),children:(0,r.jsxs)(i.EY,{lineHeight:"16px",font:"body.medium",color:"primary.default",hover:!0,ellipsis:!0,children:[(0,r.jsx)(k.A,{id:"previous"}),(0,r.jsx)(N.HW5,{ml:"xs",w:16,h:16,fill:"primary.default"})]})}),a&&(0,r.jsx)(B.A,{header:"tennis.previousTournaments",isOpen:a,setIsOpen:t,children:(0,r.jsx)(i.az,{w:["100%",320],pb:"sm",children:u.map(e=>(0,r.jsx)(_.tQ,{tournament:e.uniqueTournament,children:(0,r.jsxs)(i.so,{w:"100%",cursor:"pointer",hoverBg:"surface.s2",p:"lg",justify:"space-between",children:[(0,r.jsx)(i.EY,{font:"body.medium",color:"onSurface.nLv1",maxW:"50%",ellipsis:!0,as:"div",children:(0,r.jsx)(C.O,{uniqueTournament:e.uniqueTournament})}),(0,r.jsxs)(i.so,{w:"50%",justify:"flex-end",children:[(0,r.jsx)(i.EY,{maxW:"calc(100% - 28px)",font:"body.medium",color:"primary.default",ellipsis:!0,as:"div",hover:!0,children:e.winner?o.formatMessage({id:"winner"}):e.round||""}),(0,r.jsx)(N.CCT,{fill:"primary.default",ml:"xs"})]})]})},e.id))})})]}),(0,r.jsx)(i.EY,{pl:"lg",font:"body.medium",color:"onSurface.nLv1",lineClamp:1,children:x})]})}let X=e=>{let{id:n,label:s,value:l,uppercase:a}=e;return l?(0,r.jsxs)(i.so,{px:"lg",py:["sm","md"],minW:140,w:["100%","auto"],justify:["space-between","center"],direction:["row","column"],children:[(0,r.jsx)(i.EY,{font:["body.medium","assistive.micro"],c:["onSurface.nLv1","onSurface.nLv3"],align:"center",mb:"xxs",textTransform:a?"uppercase":void 0,as:"div",children:s||(0,r.jsx)(k.A,{id:n})}),(0,r.jsx)(i.EY,{font:["body.medium","display.medium"],color:"onSurface.nLv1",align:"center",textTransform:a?"uppercase":void 0,as:"div",children:l})]}):null};function Z(e){let{messageId:n,value:s,children:l}=e;return s||l?(0,r.jsxs)(i.so,{w:"100%",px:"lg",py:"sm",justify:"space-between",children:[(0,r.jsx)(i.EY,{font:"body.medium",color:"onSurface.nLv1",children:(0,r.jsx)(k.A,{id:n})}),!l&&(0,r.jsx)(i.EY,{font:"body.medium",color:"onSurface.nLv1",children:s}),!s&&l]}):null}function M(e){let{fullName:n,teamId:s,country:{alpha2:l},playerInfo:{height:t,birthDateTimestamp:o,plays:d,prizeCurrentRaw:c,prizeTotalRaw:u,turnedPro:m,residence:j,birthplace:h,number:y},ranking:g,driverHistory:f}=e,v=(0,z.A)(),{isMobile:b}=(0,x.$c)(),w=(0,H.hX)(),I=b&&!w,S=!!d&&Object.keys(p.u41).some(e=>p.u41[e]===d),C=c&&(0,p.oaz)(c),T=u&&(0,p.oaz)(u),P=C||T,N=(null==g?void 0:g.type)&&p.ruz[g.type],B=(null==g?void 0:g.bestRanking)||(null==g?void 0:g.ranking),M=(null==g?void 0:g.type)===p.sqH.AtpSingles||(null==g?void 0:g.type)===p.sqH.AtpSinglesLive;return(0,r.jsxs)(a.HH,{isCard:!I,children:[!I&&(0,r.jsx)(a.Zp.Header,{titleId:"team.playerInfo"}),(0,r.jsxs)(i.so,{direction:["column","row"],p:[0,"sm"],gap:"sm",children:[(0,r.jsx)(i.so,{w:["100%",B||P?"50%":"100%"],direction:"column",gap:"sm",children:(0,r.jsxs)(a.Zp,{isInverseDesktop:!0,children:[I&&(0,r.jsx)(a.Zp.Header,{titleId:"basic.profile"}),(0,r.jsxs)(i.so,{py:"sm",justify:"center",align:"center",wrap:"wrap",direction:["column","row"],children:[I&&(0,r.jsx)(Z,{messageId:"basic.fullName",value:n}),!!l&&(0,r.jsx)(X,{id:I?"country":"nationality",value:(0,r.jsxs)(i.so,{justify:"center",align:"center",gap:"xs",children:[(0,r.jsx)(i._V,{src:(0,p.RHm)(l),width:16,height:16,br:"50%",alt:l}),(0,r.jsx)("div",{children:(0,L.KH)(l)})]}),uppercase:!I}),I&&(0,r.jsx)(Z,{messageId:"basic.residence",value:j}),I&&(0,r.jsx)(Z,{messageId:"basic.birthplace",value:h}),!!o&&(0,r.jsx)(X,{label:I?void 0:(0,r.jsx)(E.XU,{value:new Date(1e3*o),timeZone:"UTC",...Y.or.dateWithShortMonth}),id:I?"age":void 0,value:(0,r.jsxs)(r.Fragment,{children:["".concat((0,Y.KW)(o)," "),!I&&(0,r.jsx)(k.A,{id:"years_short"}),I&&(0,r.jsxs)(r.Fragment,{children:[" (",(0,r.jsx)(E.XU,{value:new Date(1e3*o),timeZone:"UTC",...Y.or.dateWithShortMonth}),")"]})]}),uppercase:!I}),!y&&!!t&&(0,r.jsx)(X,{id:"player_height",value:(0,r.jsx)(i.EY,{style:{font:"inherit"},textTransform:"lowercase",children:(0,r.jsx)(A.Z,{value:t,fromUnit:"m"})}),uppercase:!I}),!!y&&(0,r.jsx)(X,{id:"helmet.number",value:y,uppercase:!I}),S&&(0,r.jsx)(X,{id:"playerInfo.plays",value:(0,r.jsx)(k.A,{id:"playerInfo.full.".concat(d)}),uppercase:!I}),m&&(0,r.jsx)(X,{id:"playerInfo.turnedPro",value:m,uppercase:!I}),(j||h||f)&&(0,r.jsxs)(r.Fragment,{children:[!I&&(0,r.jsx)(Z,{messageId:"basic.residence",value:j}),!I&&(0,r.jsx)(Z,{messageId:"basic.birthplace",value:h}),(0,r.jsx)(Z,{messageId:"team.championshipTitles",value:null==f?void 0:f.total[0].worldChampionshipTitles}),(0,r.jsx)(Z,{messageId:"gp.starts",value:null==f?void 0:f.total[0].racesStarted}),(0,r.jsx)(Z,{messageId:"podiums",value:null==f?void 0:f.total[0].podiums}),(0,r.jsx)(Z,{messageId:"wins",value:null==f?void 0:f.total[0].victories}),(0,r.jsx)(Z,{messageId:"polePositions",value:null==f?void 0:f.total[0].polePositions})]})]})]})}),(B||P)&&(0,r.jsxs)(i.so,{w:["100%","50%"],direction:"column",gap:"sm",children:[B&&(0,r.jsxs)(a.Zp,{isInverseDesktop:!0,children:[N&&(0,r.jsx)(a.Zp.Header,{title:N}),(0,r.jsxs)(i.az,{pb:["sm","lg"],children:[(0,r.jsx)(Z,{messageId:"team.careerHigh",value:null==g?void 0:g.bestRanking}),(null==g?void 0:g.ranking)&&(null==g?void 0:g.points)&&(0,r.jsx)(Z,{messageId:"team.currentRank",children:(0,r.jsx)(_.N_,{routeKey:"rankings",params:{sport:"tennis",category:"".concat(M?"atp":"wta")},hash:String(s),children:(0,r.jsx)(i.EY,{font:"body.medium",color:N?"primary.default":"onSurface.nLv1",hover:!0,style:{cursor:"pointer"},children:"".concat(null==g?void 0:g.ranking,". (").concat((null==g?void 0:g.points)?(null==g?void 0:g.points)+" "+v.formatMessage({id:"pts"}):"",")")})})}),(0,r.jsx)(R,{id:s})]})]}),P&&(0,r.jsxs)(a.Zp,{isInverseDesktop:!0,children:[(0,r.jsx)(a.Zp.Header,{titleId:"prizeMoney"}),(0,r.jsxs)(i.az,{pb:["sm","lg"],children:[!!C&&(0,r.jsx)(Z,{messageId:"playerInfo.thisYear",value:"".concat(C.parsedValue).concat(C.measure||""," ").concat(C.currencySign)}),!!T&&(0,r.jsx)(Z,{messageId:"playerInfo.careerTotal",value:"".concat(T.parsedValue).concat(T.measure||""," ").concat(T.currencySign)})]})]})]})]})]})}var O=s(62927),q=s(63869)},70862:(e,n,s)=>{s.d(n,{o:()=>t});var r=s(6029),i=s(90248);let l=JSON.parse('{"dayToDay":"injury_day_to_day","outForSeason":"injury_season","outIndefinitely":"injury_indefinitely","unknown":"injury_unknown","injuredReserve":"injury_reserve","Undisclosed":"injury_undisclosed","Abdominal":"injury_abdominal","Knee":"injury_knee","Leg":"injury_leg","Blood Clotting":"injury_blood_clotting","Lower Body":"injury_lower_body","Lower-Body":"injury_lower_body","Foot":"injury_foot","Illness":"injury_illness","Neck":"injury_neck","Wrist":"injury_wrist","Concussion":"injury_concussion","Personal":"injury_personal","Pectoral Muscle":"injury_pectoral_muscle","Shoulder":"injury_shoulder","Shouler":"injury_shoulder","Clavicle Fracture":"injury_clavicle_fracture","Back":"injury_back","Achilles":"injury_achilles","Concussion Protocol":"injury_concussion_protocol","Hand":"injury_hand","Groin":"injury_groin","Pectoral":"injury_pectoral","Jaw":"injury_jaw","Head":"injury_head","Upper body":"injury_upper_body","Upper-Body":"injury_upper_body","Upper Body":"injury_upper_body","Hip":"injury_hip","Ankle":"injury_ankle","Mid-Body":"injury_mid_body","Finger":"injury_finger","Nose":"injury_nose"}');var a=s(27892);let t=e=>{let{id:n}=e;return(0,r.jsx)(i.A,{id:(0,a.O)(l,n)})}},91811:(e,n,s)=>{s.d(n,{T:()=>l,n:()=>i});var r=s(21377);function i(e){return e.fullName?e.fullName.split(",").reverse().map(e=>e.trim()).join(" "):e.name}function l(e,n){return e.slug===r.QCR.Football?n.players.length>10:n.players.length>4}}}]);