!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="9b6a4782-549b-4f1d-a083-e5dc5d4dcec9",e._sentryDebugIdIdentifier="sentry-dbid-9b6a4782-549b-4f1d-a083-e5dc5d4dcec9")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[28105],{3723:(e,t,a)=>{a.d(t,{A:()=>r});var s=a(6029),l=a(39895);function r(e){return(0,s.jsx)(l.A,Object.assign({width:16,height:16,viewBox:"0 0 16 16"},e,{children:(0,s.jsx)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M13.9922 7.3349L14.9932 7.90122V9.74506L13.2415 13.2484L9.73824 15H8.81632L8.89534 14.9605L12.1089 11.5626L13.9922 7.3349ZM13.0045 7.12418L11.3187 10.9436L8.43438 14.0912L6.18226 14.9737L3.29797 13.5249L5.01011 13.1562L7.93391 10.6011L9.68556 7.12418H13.0045ZM2.57361 3.10724L2.08631 5.57008L4.3516 9.34995L6.57737 10.4826L4.54915 12.2474L2.46825 12.6952L1.00635 9.74506V6.25494L2.57361 3.10724ZM6.27446 1L6.05056 3.10724L8.71096 6.87394L7.30174 9.73189L5.04962 8.59925L3.12676 5.3857L3.75893 2.25118L6.24812 1H6.27446ZM11.8587 3.48918L14.0317 4.35842L14.9932 6.25494V6.79492L13.9 6.13641H9.39581L7.52563 3.48918H11.8587ZM9.73824 1L13.2284 2.76482L13.3601 3.0809L12.1484 2.54092L7.10418 2.50141L7.26223 1H9.73824Z",fill:e.fill})}))}},5173:(e,t,a)=>{a.d(t,{A:()=>r});var s=a(6029),l=a(39895);function r(e){return(0,s.jsx)(l.A,Object.assign({width:"14",height:"14",viewBox:"0 0 14 14"},e,{children:(0,s.jsxs)("g",{clipPath:"url(#clip0_1_842)",children:[(0,s.jsx)("path",{d:"M9.49999 5.83008L6.73999 6.83008V9.85008L8.81999 10.6601L10.89 8.37008L9.49999 5.83008Z",fill:e.fill}),(0,s.jsx)("path",{d:"M7 0C3.14 0 0 3.14 0 7C0 10.86 3.14 14 7 14C10.86 14 14 10.86 14 7C14 3.14 10.86 0 7 0ZM7 12.26C6.03 12.26 5.12 11.99 4.34 11.53L4.59 10.15L3.04 8.42L2.1 8.9C1.87 8.31 1.74 7.67 1.74 7C1.74 6.94 1.74 6.88 1.74 6.83L3.75 6.11L4.41 3.63L3.49 3.08C4.42 2.25 5.64 1.73 6.99 1.73C7.09 1.73 7.18 1.73 7.28 1.74L6.99 2.81L9.71 3.96L10.59 3.15C11.61 4.11 12.26 5.47 12.26 6.98C12.26 9.88 9.9 12.25 7 12.25V12.26Z",fill:e.fill})]})}))}},6664:(e,t,a)=>{a.d(t,{K:()=>F});var s=a(6029),l=a(21377),r=a(4967),o=a(76356),n=a(55729),i=a(45860),c=a(46222),u=a(18970),d=a(70344),p=a(41164),h=a(18974),f=a(28446),g=a(14107),m=a(88354),y=a(67087),v=a(28349),x=a(25940),b=a(90248),j=a(12408);function _(e){let{selectedPlayer:t,setSelectedPlayer:a,showSubstitutes:l,substitutionIds:r,setShowSubstitutes:o,selectedSide:i,players:c}=e,{event:d}=(0,n.useContext)(u.y$),p=Array.from(r).reduce((e,t)=>{let a=c.find(e=>e.player.id===t);return a?[...e,a]:e},[]),h=(null==t?void 0:t.id)&&r.has(t.id);return(0,n.useEffect)(()=>{h&&!l&&o(!0)},[t]),(0,s.jsxs)(x.so,{br:"24",h:"92",mb:"xs",align:"flex-start",direction:"column",children:[(0,s.jsx)(x.Sc,{px:"lg",name:"showSubstitutes-".concat(d.id,"-").concat(i),onChange:e=>{let t=e.currentTarget.checked;o(t),(!t&&h||t&&!h)&&a(void 0)},checked:l,style:{overflow:"hidden"},boxColor:"onColor.primary",children:(0,s.jsx)(x.EY,{color:"onColor.primary",children:(0,s.jsx)(b.A,{id:"show_substitutions"})})}),(0,s.jsx)(v.tR,{buttonStyle:"clipped",colorPalette:"primary",children:(0,s.jsx)(x.so,{px:"lg",w:"fit-content",align:"center",h:44,children:(0,s.jsx)(g.N,{initial:!1,children:p.map(e=>{let{player:l,jersey:r,fillColor:o,numberColor:n,hasLowPoints:i}=e;return(0,s.jsx)(m.m.div,{initial:{opacity:0},animate:{opacity:(0,j.cl)(i,!!t,(null==t?void 0:t.id)===l.id)},exit:{opacity:0},transition:{duration:.2},onClick:()=>a(l),style:{cursor:"pointer"},children:(0,s.jsx)(x.so,{align:"center",p:"xs",w:"32",h:"32",br:"50%",ml:"xs",textAlign:"center",justify:"center",bg:o,style:{pointerEvents:"none",userSelect:"none"},children:(0,s.jsx)(x.EY,{font:"display.medium",color:n,children:r})})},l.id)})},i)})})]})}var S=a(10292),k=a(52466),C=a(94156);function w(e){let{selectedPlayer:t,players:a,setSelectedPlayer:l}=e;return t?(0,s.jsx)(x.so,{position:"absolute",justify:"center",w:"100%",bottom:0,children:(0,s.jsxs)(x.so,{br:"xl",h:"48",mb:"xs",mx:"sm",bg:"surface.sp",py:"sm",pl:"xs",pr:"md",w:"100%",maxW:344,align:"center",justify:"space-between",onClick:()=>l(void 0),cursor:"pointer",children:[(0,s.jsxs)(x.so,{align:"center",children:[(0,s.jsx)(S.t,{size:40,id:t.id}),(0,s.jsxs)(x.az,{pl:"md",children:[(0,s.jsx)(x.EY,{block:!0,font:"display.medium",color:"onSurface.nLv1",children:(0,s.jsx)(C.c,{entity:t})}),a.find(e=>{let{player:a,hasLowPoints:s}=e;return a.id===t.id&&s})&&(0,s.jsx)(x.EY,{font:"assistive.default",color:"onSurface.nLv3",mt:"xxs",children:(0,s.jsx)(b.A,{id:"low_player_involvement"})})]})]}),(0,s.jsx)(x.$n,{w:"36",h:"36",p:"0",variant:"unshielded",children:(0,s.jsx)(k.zQC,{icon:"close",fill:"onSurface.nLv1"})})]})}):null}var P=a(41735),M=a(34993),V=a(79261);let L=(0,P.default)(x.az).withConfig({componentId:"sc-404fb467-0"})(["canvas{transform:",";animation:"," 200ms ease-in-out 1;}"],e=>"rotate(-90deg) translate(-70px, ".concat(e.xTranslate,") scale(1, -1)"),V.qG),I={WIDTH:280,HEIGHT:420},T=e=>{let{heatmap:t,heatmapTransform:a,teamId:l,theme:r,isLineupsBackground:o}=e,i="".concat(l,"-avg-positions"),{textDirection:c}=(0,v.$c)();return((0,n.useEffect)(()=>{t&&(0,M.IJ)(t,{containerId:i,width:I.HEIGHT-16,height:I.WIDTH-16},r,o)},[t,i]),t)?(0,s.jsx)(L,{id:i,position:"absolute",w:I.WIDTH-16,h:I.HEIGHT-16,top:"sm",left:"sm",xTranslate:"rtl"===c?"70px":"-70px",style:{transform:a,overflow:"hidden"}}):null},R=e=>{let{teamId:t,heatmap:a,heatmapTransform:l,children:r,isLineupsBackground:o,...n}=e,i=(0,P.useTheme)(),c=i.colors;return(0,s.jsxs)(x.az,{position:"relative",m:"auto",w:I.WIDTH,h:I.HEIGHT,children:[(0,s.jsx)("svg",{style:{position:"absolute",top:0,left:0},width:I.WIDTH,height:I.HEIGHT,viewBox:"0 0 ".concat(I.WIDTH," ").concat(I.HEIGHT),xmlns:"http://www.w3.org/2000/svg",children:(0,s.jsx)("g",{fill:"none",fillRule:"evenodd",children:(0,s.jsx)("rect",{fill:c.graphicsTerrain.footballLineups,width:I.WIDTH,height:I.HEIGHT,rx:"4"})})}),(0,s.jsx)(T,{heatmap:a,heatmapTransform:l,theme:i,teamId:t,isLineupsBackground:o}),(0,s.jsx)("svg",{style:{position:"absolute",top:0,left:0},width:I.WIDTH,height:I.HEIGHT,viewBox:"0 0 ".concat(I.WIDTH," ").concat(I.HEIGHT),xmlns:"http://www.w3.org/2000/svg",...n,children:(0,s.jsx)("g",{fill:"none",fillRule:"evenodd",children:(0,s.jsxs)("g",{children:[(0,s.jsx)("path",{stroke:c.onColor.primary,strokeWidth:"2",strokeLinejoin:"round",d:"M9.333 9.333h261.333V210H9.333z"}),(0,s.jsx)("path",{d:"M168 210c0-15.464-12.536-28-28-28s-28 12.536-28 28M72.333 9.333h135.333V70H72.333zM116.667 70c.365.655.752 1.295 1.164 1.915C122.693 79.216 130.809 84 140 84c9.195 0 17.315-4.787 22.175-12.095A28.66 28.66 0 0 0 163.333 70",stroke:c.onColor.primary,strokeWidth:"2",strokeLinejoin:"round"}),(0,s.jsx)("path",{stroke:c.onColor.primary,strokeWidth:"2",strokeLinejoin:"round",d:"M107.333 9.333h65.333V28h-65.333z"}),(0,s.jsx)("circle",{cx:"2.333",cy:"2.333",r:"2.333",transform:"translate(137.667 51.333)",fill:c.onColor.primary}),(0,s.jsx)("path",{d:"M9.333 18.667a9.333 9.333 0 0 0 9.334-9.334M261.333 9.333a9.333 9.333 0 0 0 9.334 9.334",stroke:c.onColor.primary,strokeWidth:"2",strokeLinejoin:"round"}),(0,s.jsxs)("g",{children:[(0,s.jsx)("path",{stroke:c.onColor.primary,strokeWidth:"2",strokeLinejoin:"round",d:"M9.333 410.667h261.333V210H9.333z"}),(0,s.jsx)("path",{d:"M168 210c0 15.464-12.536 28-28 28s-28-12.536-28-28M72.333 410.667h135.333V350H72.333zM116.667 350c.365-.655.752-1.295 1.164-1.915C122.693 340.784 130.809 336 140 336c9.195 0 17.315 4.787 22.175 12.095.41.618.795 1.254 1.158 1.905",stroke:c.onColor.primary,strokeWidth:"2",strokeLinejoin:"round"}),(0,s.jsx)("path",{stroke:c.onColor.primary,strokeWidth:"2",strokeLinejoin:"round",d:"M107.333 410.667h65.333V392h-65.333z"}),(0,s.jsx)("circle",{cx:"2.333",cy:"2.333",r:"2.333",transform:"matrix(1 0 0 -1 137.667 368.667)",fill:c.onColor.primary}),(0,s.jsx)("path",{d:"M9.333 401.333a9.333 9.333 0 0 1 9.334 9.334M261.333 410.667a9.333 9.333 0 0 1 9.334-9.334",stroke:c.onColor.primary,strokeWidth:"2",strokeLinejoin:"round"})]}),(0,s.jsx)("g",{children:r})]})})})]})};var A=a(92667);let G={left:{group:void 0,text:(0,j.$8)()?"translate(0 4)":void 0,heatmap:"scale(1, -1)"},right:{group:"matrix(-1 0 0 -1 0 0), translate(-".concat(I.WIDTH," -").concat(I.HEIGHT,")"),text:"scale(-1 -1) ".concat((0,j.$8)()?"translate(0 4)":""),heatmap:"scale(-1, 1)"}},H=(0,f.A)().domain([0,100]).range([8,I.WIDTH-8]),O=(0,f.A)().domain([0,100]).range([8,I.HEIGHT-8]);function z(e){let{selectedSide:t}=e,{event:a}=(0,n.useContext)(u.y$),[r,c]=(0,n.useState)(!1),[d,h]=(0,n.useState)(void 0),[{group:f,text:v,heatmap:x},b]=(0,n.useState)(G[t]),{data:S,error:k}=(0,i.Ay)(l.bnp.averagePositions(a.id),(0,p.rf)(a)),{data:C}=(0,i.Ay)(d?l.bnp.playerHeatmap(a.id,d.id):null),[P,M]=(0,y.jr)(S,"home","away"),{lineups:V,error:L}=(0,A.Ir)();(0,n.useLayoutEffect)(()=>{b(G[t]),h(void 0),c(!1)},[t]);let I="left"===t?P:M;if(!S)return(0,s.jsx)(o.az,{h:"[420px]"});if(k||L)return null;let T={in:new Set,out:new Set},z=S.substitutions.sort((e,t)=>{var a,s;return(null!=(a=e.time)?a:0)-(null!=(s=t.time)?s:0)});for(let e=0;e({x:H(e.averageY),y:O(e.averageX),jersey:B[t].get(e.player.id),player:e.player,hasLowPoints:(0,j.XU)(e.pointsCount),...(0,j.jM)(e.player,null==V?void 0:V[t])}))),F=e=>()=>{(null==d?void 0:d.id)===e.id?h(void 0):h(e)};return(0,s.jsxs)(o.az,{position:{base:"initial",md:"relative"},bg:"graphics.terrain.footballLineups",m:"auto",textAlign:"center",pt:"sm",pb:"4xl",w:"100%",children:[(0,s.jsx)(_,{selectedPlayer:d,setSelectedPlayer:h,substitutionIds:T.in,showSubstitutes:r,setShowSubstitutes:c,selectedSide:t,players:N}),(0,s.jsx)(o.az,{position:"relative",children:(0,s.jsx)(R,{teamId:t===l.cxP.Left?a.homeTeam.id:a.awayTeam.id,heatmap:null==C?void 0:C.heatmap,heatmapTransform:x,isLineupsBackground:!0,children:(0,s.jsx)("g",{transform:f,textAnchor:"middle",fontSize:"16px",fontWeight:"700",fontFamily:"'Sofascore Sans', sans-serif",children:(0,s.jsxs)(g.N,{children:[(0,s.jsxs)(m.m.g,{fill:"white",initial:{opacity:0},animate:{opacity:.5},transform:"translate(136 136)",children:[(0,s.jsx)("rect",{width:"8",height:"116"}),(0,s.jsx)("path",{d:"M16 8 4 16V0zM0 6h4v4H0z",transform:"translate(0 116), rotate(90), scale(2)",style:{transformOrigin:"4px 8px"}})]},t),N.map(e=>{let{x:t,y:a,player:l,fillColor:o,hasLowPoints:n}=e;return(r?T.out.has(l.id):T.in.has(l.id))?null:(0,s.jsx)(m.m.circle,{initial:{opacity:0,r:0},animate:{opacity:(0,j.cl)(n,!!d,l.id===(null==d?void 0:d.id)),r:16},transition:r&&!d?{delay:.2}:void 0,fill:o,cx:t,cy:a,style:{cursor:"pointer"},onClick:F(l)},l.id+"circle")}),N.map(e=>{let{x:t,y:a,player:l,jersey:o,numberColor:n,hasLowPoints:i}=e;return(r?T.out.has(l.id):T.in.has(l.id))?null:(0,s.jsx)(m.m.text,{initial:{opacity:0},animate:{opacity:(0,j.cl)(i,!!d,l.id===(null==d?void 0:d.id))},transition:r&&!d?{delay:.2}:void 0,x:t,y:a+1,style:{transformOrigin:"".concat(t,"px ").concat(a,"px"),zIndex:1,cursor:"pointer"},transform:v,fill:n,alignmentBaseline:"middle",onClick:F(l),children:o},l.id+"txt")})]})})})}),(0,s.jsx)(w,{selectedPlayer:d,setSelectedPlayer:h,players:N})]})}let B=(0,o.I4)("div",{base:{position:"absolute",top:"[43px]",borderStart:"{sizes.md} solid transparent",borderEnd:"{sizes.md} solid transparent",borderBottom:"{sizes.sm} solid",borderBottomColor:"graphics.terrain.footballLineups"}});function N(){let{event:e,location:t}=(0,n.useContext)(u.y$),[a,r]=(0,n.useState)(l.cxP.Left),c=t===u.cb.Widget,{data:d,error:f}=(0,i.Ay)(l.bnp.averagePositions(e.id),(0,p.rf)(e));if(!d)return(0,s.jsx)(o.az,{h:"[420px]"});if(f)return null;let g={in:new Set,out:new Set},m=d.substitutions.sort((e,t)=>{var a,s;return(null!=(a=e.time)?a:0)-(null!=(s=t.time)?s:0)});for(let e=0;e(0,r.Ui)(Date.now(),a.startTimestamp,"minutes"),h=!1;return(c?h=!0:a.status.type===l.XUj.InProgress&&(h=p&&1===a.detailId),h)?p?null:t?(0,s.jsx)(E,{}):(0,s.jsx)(D,{}):void 0===c&&1===a.detailId&&a.status.type!==l.XUj.NotStarted?(0,s.jsx)(o.az,{h:"5xl"}):null}function E(){return(0,s.jsx)(o.az,{pb:"sm",borderBottomRadius:"lg",overflow:"hidden",children:(0,s.jsxs)(c.Zp,{variant:"never",children:[(0,s.jsx)(c.Zp.Header,{titleId:"players_average_positions"}),(0,s.jsxs)(o.so,{gap:"sm",px:"sm",children:[(0,s.jsx)(o.az,{flexGrow:1,flexShrink:1,flexBasis:"6xl",br:"sm",overflow:"hidden",children:(0,s.jsx)(z,{selectedSide:l.cxP.Left})}),(0,s.jsx)(o.az,{flexGrow:1,flexShrink:1,flexBasis:"6xl",br:"sm",overflow:"hidden",children:(0,s.jsx)(z,{selectedSide:l.cxP.Right})})]})]})})}function D(){return(0,s.jsx)(o.az,{px:"sm",children:(0,s.jsxs)(c.Zp,{children:[(0,s.jsx)(c.Zp.Header,{titleId:"players_average_positions",as:"h4"}),(0,s.jsx)(N,{})]})})}},9045:(e,t,a)=>{a.d(t,{m:()=>g});var s=a(6029),l=a(10292),r=a(28349),o=a(76356),n=a(55729),i=a(46222),c=a(99913),u=a(64006),d=a(94156),p=a(16805);function h(e){let{missingPlayer:t,left:a,first:n}=e;return t?(0,s.jsxs)(o.so,{h:"5xl",w:"100%",align:"center",direction:a?"row":"row-reverse",gap:"lg",overflow:"hidden",pl:a?"lg":void 0,pr:a?void 0:"lg",cursor:"pointer",_hover:{bg:"surface.s2"},children:[(0,s.jsx)(l.t,{size:40,id:t.player.id,style:{display:"block"}}),(0,s.jsxs)(o.so,{overflow:"hidden",direction:"column",justify:"center",align:a?"flex-start":"flex-end",gap:"xs",children:[(0,s.jsx)(r.EY,{children:(0,s.jsx)(d.c,{entity:t.player,short:!0})}),(0,s.jsx)(c.Ck,{missingPlayer:t})]})]}):n?(0,s.jsx)(p.A,{messageId:"no_missing_players",isInverted:!a}):null}function f(e){let{home:t,away:a,first:l}=e,r=(null==t?void 0:t.player)?u.uc:n.Fragment,i=(null==a?void 0:a.player)?u.uc:n.Fragment;return(0,s.jsxs)(o.so,{justify:t||l?"space-between":"flex-end",children:[(0,s.jsx)(r,{player:null==t?void 0:t.player,style:{width:"50%"},children:(0,s.jsx)(h,{missingPlayer:t,first:!!l,left:!0})}),(0,s.jsx)(i,{player:null==a?void 0:a.player,style:{width:"50%"},children:(0,s.jsx)(h,{missingPlayer:a,first:!!l})})]})}function g(e){let{home:t,away:a}=e;if(void 0===t&&void 0===a)return null;let l=Math.max((null==t?void 0:t.length)||0,(null==a?void 0:a.length)||0);return(0,s.jsxs)(i.Zp,{children:[(0,s.jsx)(i.Zp.Header,{titleId:"injuries_and_suspensions"}),Array.from({length:l}).map((e,l)=>{var r,o,n,i;return(0,s.jsx)(f,{home:null==t?void 0:t[l],away:null==a?void 0:a[l],first:0===l},"".concat(null==t||null==(o=t[l])||null==(r=o.player)?void 0:r.id).concat(null==a||null==(i=a[l])||null==(n=i.player)?void 0:n.id))}),(0,s.jsx)(i.Zp.Footer,{})]})}},9434:(e,t,a)=>{a.d(t,{Mf:()=>o,Nv:()=>i,Wj:()=>n,oz:()=>l,wo:()=>r,zN:()=>s});let s="HIDDEN_STATISTICS_GROUP",l="DEFAULT_GROUP_NAME",r=36,o=40,n=48,i={"american-football":{passing:"passingCompletions",rushing:"rushingAttempts",receiving:"receivingReceptions",defensive:"defensiveCombineTackles",interceptions:"defensiveInterceptions",fumbles:"fumbleFumbles",kicking:"kickingFgMade",punting:"puntingTotal","kick returns":"kickReturnsTotal","punt returns":"puntReturnsTotal"},basketball:{DEFAULT_GROUP_NAME:"points"},"ice-hockey":{skater:"goals",goalkeeper:"savePercentage"},handball:{players:"goals",goalkeepers:"goalkeeperEfficiencyPercentage"}}},9835:(e,t,a)=>{a.d(t,{H7:()=>f,q6:()=>h});var s=a(6029),l=a(55729),r=a(947),o=a(90248),n=a(18970),i=a(57724);let c=JSON.parse('{"rugby":{"goal.onePoint":"rugby.onePointGoal","goal.twoPoints":"rugby.twoPointGoal","goal.threePoints":"rugby.threePointGoal","goal.try":"rugby.try","goal.penaltyTry":"rugby.penaltyTry"},"basketball":{"One point":"basketball.onePoint","Two points":"basketball.twoPoints","Three points":"basketball.threePoints","Four points":"basketball_four_points"},"american-football":{"goal.touchdown":"touchdown","goal.extraPoint":"amf.extraPoint","goal.twoPointConversion":"amf.twoPointConversion","goal.defensive2ptConversion":"amf.defensive2ptConversion","goal.fieldGoal":"amf.fieldGoal","goal.safety":"amf.safety","goal.rouge":"amf.rouge"},"minifootball":{"accumulatedPenalty":"minifootball_accumulated_penalty"},"futsal":{"accumulatedPenalty":"minifootball_accumulated_penalty"},"ice-hockey":{"boarding":"penalty_boarding","broken_stick":"penalty_broken_stick","charging":"penalty_charging","closing_hand_on_puck":"penalty_closing_hand","cross_checking":"penalty_cross_checking","elbowing":"penalty_elbowing","clipping":"penalty_clipping","delay_game":"penalty_delay_of_game","illegal_check_to_head":"penalty_illegal_check","goalie_leave_crease":"penalty_goalie_leave_crease","hi_sticking":"penalty_hi_sticking","holding":"penalty_holding","holding_the_stick":"penalty_holding_the_stick","hooking":"penalty_hooking","illegal_stick":"penalty_illegal_stick","interference":"penalty_interference","instigator":"penalty_instigator","kneeing":"penalty_kneeing","interference_goalkeeper":"penalty_interference_on_gk","roughing":"penalty_roughing","slashing":"penalty_slashing","spearing":"penalty_spearing","tripping":"penalty_tripping","unsportsmanlike_conduct":"penalty_unsportsmanlike_conduct","delay_game_bench":"penalty_delay_of_game_bench","misconduct_10min":"penalty_misconduct","game_misconduct":"penalty_game_misconduct","goalie_participating_beyond_center":"penalty_goalie_beyond_the_center","aggressor":"penalty_aggressor","match_penalty":"penalty_match_penalty","ps_illegal_substitution":"penalty_shot_illegal_substitution","ps_goalkeeper_displaced_net":"penalty_shot_goalkeeper_displaced_net","ps_net_displaced":"penalty_shot_net_displaced","ps_covering_puck_in_crease":"penalty_shot_covering_puck","ps_picking_up_puck_in_crease":"penalty_shot_picking_up_puck","ps_throwing_object_on_ice":"penalty_shot_throwing_object","ps_interference_from_bench":"penalty_shot_interference_from_bench","ps_players_leaving_bench":"penalty_shot_players_leaving_bench","ps_throw_object_at_puck":"penalty_shot_throw_object_at_puck","ps_holding_on_breakaway":"penalty_shot_holding_on_breakaway","ps_holding_stick_on_breakaway":"penalty_shot_holding_stick_on_breakaway","ps_hooking_on_breakaway":"penalty_shot_hooking_on_breakaway","ps_tripping_on_breakaway":"penalty_shot_tripping_on_breakaway","ps_slash_on_breakaway":"penalty_shot_slash_on_breakaway","embellishment":"penalty_embellishment","bench":"penalty_bench","playing_without_a_helmet":"penalty_helmet","removing_opponents_helmet":"penalty_removing_opponents_helmet","goalie_removed_own_mask":"penalty_goalie_removed_mask","delay_game_unsucc_challenge":"penalty_delay_of_game_unsuccessful_challenge","licking":"penalty_kicking","attempt_to_injure":"penalty_attempt_to_injure","deliberate_injury":"penalty_deliberate_injury","checking_from_behind":"penalty_checking_from_behind","interference_bench":"penalty_interference_bench","throwing_stick":"penalty_throwing_stick","abusive_language":"penalty_abusive_language","fighting":"penalty_fighting","abuse_of_officials":"penalty_abuse_of_officials","refusal_to_play":"penalty_refusal_to_play","late_on_ice":"penalty_late_on_ice","not_proceeding_to_dressing_room":"penalty_not_proceeding_to_dressing_room","butt_ending":"penalty_butt_ending","head_butting":"penalty_head_butting","puck_thrown_fwd_goalkeeper":"penalty_puck_thrown_fwd_goalkeeper","removing_sweater":"penalty_removing_sweater","not_proceeding_dir_penbox":"penalty_not_proceeding_dir_penbox","leaving_penalty_box":"penalty_leaving_penalty_box","illegal_substitution":"penalty_illegal_substitution","protective_equipment":"penalty_protective_equipment","objects_on_ice":"penalty_objects_on_ice","interfere_with_official":"penalty_interfere_with_official","player_leaves_bench":"penalty_leaving_players_bench","leaving_players_penalty_bench":"penalty_leaving_penalty_bench","ineligible_player":"penalty_ineligible_player","unsustained_measurement":"penalty_unsustained_measurement","illegal_equipment":"penalty_illegal_equipment","too_many_men_on_ice":"penalty_too_many_men_on_ice","doubleMinor":"penalty_double_minor","goal.emptynet":"hockey_empty_net_goal","substitution.goalkeeperIn":"hockey_match_event_goalie_back_in","substitution.goalkeeperOut":"hockey_match_event_goalie_out"},"volleyball":{"goal.spike":"volleyball_attack","goal.ace":"volleyball_ace","goal.block":"volleyball_block","goal.opponentError":"volleyball_opponent_error"},"Goal":"goal","goal.regular":"goal","Own goal":"ownGoal","goal.ownGoal":"ownGoal","Substitution":"substitution","Substitution in":"substitutionIn","Substitution out":"substitutionOut","substitution.injury":"substitution","substitution.temporary":"rugby_temporary_substitution","Penalty":"penalty","goal.penalty":"penalty","inGamePenalty.scored":"penalty","penaltyShootout.scored":"penalty","Missed Penalty":"missedPenalty","inGamePenalty.missed":"missedPenalty","penaltyShootout.missed":"missedPenalty","Penalty taker":"penaltyTaker","Yellow card":"yellowCard","card.yellow":"yellowCard","2nd Yellow card (Red)":"2ndYellowCard","card.yellowRed":"2ndYellowCard","Red card":"redCard","card.red":"redCard","Argument":"argument","Dangerous play":"dangerousPlay","Simulation":"simulation","Other reason":"otherReason","Unallowed field entering":"unallowedFieldEntering","Fight":"fight","Foul":"foul","Handball":"handball","Leaving field":"leavingField","On bench":"onBench","Off the ball foul":"offTheBallFoul","Persistent fouling":"persistentFouling","Professional foul":"professionalFoul","Professional handball":"professionalHandball","Professional foul last man":"professionalFoulLastMan","Rescinded Card":"rescindedCard","Unsporting behaviour":"unsportingBehaviour","Time wasting":"timeWasting","Violent conduct":"violentConduct","Post match":"postMatch","Off target":"offTarget","Woodwork":"woodwork","Goalkeeper save":"goalkeeperSave","zeroMinutes":"penalty_suspension","twoMinutes":"penalty_two_min_suspension","fourMinutes":"penalty_four_min_suspension","fiveMinutes":"penalty_five_min_suspension","tenMinutes":"penalty_ten_min_suspension","mistakenIdentity.false":"reviewed","cardUpgrade.false":"cardUpgrade.changed","cardUpgrade.true":"cardUpgrade.noChange","review.false":"reviewed","review.true":"reviewed","varDecision.goalAwarded":"varDecision","varDecision.goalNotAwarded":"varDecision","varDecision.penaltyAwarded":"varDecision","varDecision.penaltyNotAwarded":"varDecision","varDecision.redCardGiven":"varDecision","varDecision.cardUpgrade":"varDecision","varDecision.mistakenIdentity":"varDecision","goal.powerplay":"powerplayGoal","goal.shorthanded":"shorthandedGoal","penaltyAwarded":"penaltyNotAwarded.false","vip_for_goal":"football_var_goal","vip_for_penalty":"football_var_penalty","vip_for_red_card":"football_var_red_card","vip_for_no_goal":"football_var_goal","vip_for_no_penalty":"football_var_penalty","vip_for_no_red_card":"football_var_red_card","vip_for_unknown":"football_var_unknown"}');var u=a(91113);let d="DEFAULT",p=(e,t)=>(0,u.O)(c,e,t,d),h=(e,t,a)=>{let s=p(t?"".concat(e,".").concat(t):e,a);return"goal"===s&&a?i.dv.includes(a)?s:void 0:s!==d||t&&(s=p(t,a))!==d?s:(s=p(e,a))!==d?s:void 0},f=e=>{let{id:t}=e,a=(0,r.A)(),i=p(t,(0,l.useContext)(n.Ws));if(i!==d)return(0,s.jsx)(o.A,{id:i});let c=a.formatMessage({id:t});return c!==t?(0,s.jsx)(s.Fragment,{children:c}):null}},11406:(e,t,a)=>{a.d(t,{A:()=>r});var s=a(6029),l=a(39895);function r(e){return(0,s.jsx)(l.A,Object.assign({width:16,height:16,viewBox:"0 0 16 16"},e,{children:(0,s.jsx)("path",{d:"M10.9902 9.92969V11.2461L9.73926 13.749L7.2373 15H6.57812L6.63477 14.9717L8.93066 12.5449L10.2754 9.52539L10.9902 9.92969ZM8.36621 12.1025L6.30566 14.3506L4.69727 14.9814L2.63672 13.9463L3.85938 13.6826L5.94824 11.8584L7.19922 9.37402H9.57031L8.36621 12.1025ZM1.77148 8.26465L3.38965 10.9639L4.97949 11.7734L3.53027 13.0342L2.04395 13.3535L1 11.2461V8.75391L2.11914 6.50488L1.77148 8.26465ZM4.60254 6.50488L6.50293 9.19531L5.49707 11.2373L3.8877 10.4277L2.51465 8.13281L2.96582 5.89355L4.74414 5H4.7627L4.60254 6.50488ZM10.3037 7.39844L10.9902 8.75391V9.13965L10.21 8.66895H6.99219L5.65625 6.77832H8.75195L10.3037 7.39844ZM9.73047 6.26074L9.82422 6.48633L8.95898 6.10059L5.35547 6.07227L5.46875 5H7.2373L9.73047 6.26074ZM14.9922 3.05078L11.6006 6.37695L10.5303 5.32617L13.9209 2L14.9922 3.05078ZM11.9629 2.0498L9.99902 3.97559L8.92871 2.92578L10.8916 1L11.9629 2.0498Z",fill:e.fill})}))}},11663:(e,t,a)=>{a.d(t,{A:()=>o});var s=a(90142),l=a(6029),r=a(39895);function o(e){var{fill:t="#39B57A"}=e,a=(0,s.T)(e,["fill"]);return(0,l.jsx)(r.A,Object.assign({width:"12",height:"14",viewBox:"0 0 12 14",fill:t},a,{children:(0,l.jsxs)("g",{clipPath:"url(#clip0_2019_94513)",children:[(0,l.jsx)("path",{d:"M1.5 8V10.25H7.75V8H8.75L11.75 11L8.75 14H7.75V11.75H0V8H1.5Z",fill:t}),(0,l.jsx)("path",{d:"M3.75 8H5.25V4.75H8.5V3.25H5.25V0H3.75V3.25H0.5V4.75H3.75V8Z",fill:"#E35C47"})]})}))}},12408:(e,t,a)=>{a.d(t,{$8:()=>i,T0:()=>o,XU:()=>c,cl:()=>u,eA:()=>r,jM:()=>n});var s=a(21377);class l{dist(e){return Math.sqrt((e.x-this.x)**2+(e.y-this.y)**2)}atan(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new l(0,0);return Math.atan2(this.y-e.y,this.x-e.x)}add(e,t){let a=this.atan(t);return this.x+=e*Math.cos(a),Math.abs(a-Math.PI)>.005&&(this.y+=e*Math.sin(a)),[this.x,this.y]}constructor(e,t){this.x=e,this.y=t}}function r(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:24,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:4,s=e.map(e=>{let{x:t,y:a}=e;return new l(t,a)}),r=0;do for(let a=0;a({...e,...s[t]}))}let o=e=>{let t=new Map;if(e)for(let a=0;a{var a,s,l,r,o,n,i,c;let u=(null==t||null==(a=t.playerColor)?void 0:a.primary)||(null==t||null==(s=t.playerColor)?void 0:s.outline),d=(null==t||null==(l=t.playerColor)?void 0:l.fancyNumber)||(null==t||null==(r=t.playerColor)?void 0:r.number);return"G"===e.position&&(u=(null==t||null==(o=t.goalkeeperColor)?void 0:o.primary)||(null==t||null==(n=t.goalkeeperColor)?void 0:n.outline),d=(null==t||null==(i=t.goalkeeperColor)?void 0:i.fancyNumber)||(null==t||null==(c=t.goalkeeperColor)?void 0:c.number)),{fillColor:u=(null==u?void 0:u.startsWith("#"))?"#fff":"#"+u,numberColor:d=(null==d?void 0:d.startsWith("#"))?"#000":"#"+d}};function i(){let e=!1;return!(0,s.S$s)()&&"navigator"in window&&(e=/Firefox/.test(window.navigator.userAgent)),e}function c(e){return e>1&&e<=7}function u(e,t,a){return t?e?a?.75:.25:a?1:.5:e?.5:1}},16805:(e,t,a)=>{a.d(t,{A:()=>i});var s=a(6029),l=a(28349),r=a(76356),o=a(90248),n=a(52466);function i(e){let{messageId:t,isInverted:a}=e;return(0,s.jsxs)(r.so,{direction:a?"row-reverse":"row",gap:"sm",align:"center",h:"5xl",maxW:"100%",px:"sm",children:[(0,s.jsx)(n.G_L,{width:24,height:24,fill:"onSurface.nLv3",style:{display:"block",minWidth:"24px"}}),(0,s.jsx)(l.EY,{textStyle:"body.medium",color:"neutrals.nLv3",display:"block",children:(0,s.jsx)(o.A,{id:t})})]})}},18974:(e,t,a)=>{a.d(t,{n:()=>s.A});var s=a(26792)},24414:(e,t,a)=>{a.d(t,{n:()=>c});var s=a(6029),l=a(28349),r=a(62042),o=a(76356),n=a(25940),i=a(90248);function c(e){let{activeTabKey:t,onChange:a,tabs:c,variant:u,children:d,onTabClick:p,fullWidthTabs:h=!1}=e,f="secondary"===u;return(0,s.jsxs)(n.tU,{variant:"quaternary",value:t,onChange:a,children:[(0,s.jsx)(l.tR,{children:(0,s.jsx)(o.so,{gap:f?"xs":"sm",bg:f?"surface.s2":void 0,br:"lg",h:"[34px]",p:"2xs",className:f?(0,r.AH)({"--surface-s2":"transparent"}):void 0,w:h?"100%":"fit",mx:f?"auto":void 0,mb:h?"sm":void 0,children:c.map(e=>(0,s.jsx)(n.tU.Tab,{tabKey:e.tabKey,bg:e.tabKey===t?"neutrals.nLv1":void 0,display:"flex",h:"100%",px:"0",py:"0",br:"lg",ml:"0 !important",mr:"0 !important",onClick:()=>null==p?void 0:p(e.tabKey),w:h?"100%":void 0,children:e.isImage?(0,s.jsx)(o.az,{px:"lg",h:"xl",alignSelf:"center",children:e.tabValue}):(0,s.jsx)(l.EY,{display:"block",px:"tertiary"===u?"md":"lg",textStyle:f?"tab.secondary":"assistive.default",color:e.tabKey===t?"surface.s1":"neutrals.nLv1",textTransform:f?"uppercase":void 0,alignSelf:"center",children:"string"==typeof e.tabValue?(0,s.jsx)(i.A,{id:e.tabValue}):e.tabValue})},e.tabKey))})}),d]})}},24854:(e,t,a)=>{a.d(t,{M:()=>h});var s=a(6029),l=a(28349),r=a(55729),o=a(947),n=a(18970),i=a(9835),c=a(76356),u=a(52466);let d={card:{yellow:{fill:"scoreRating.s65",Icon:e=>(0,s.jsx)(u.NcS,{icon:"card-yellow",...e})},yellowRed:{Icon:e=>(0,s.jsx)(u.NcS,{icon:"card-double-yellow",...e})},red:{fill:"error.default",Icon:e=>(0,s.jsx)(u.NcS,{icon:"card-red",...e})}},goal:{football:{regular:{fill:"onSurface.nLv1",Icon:e=>(0,s.jsx)(u.NcS,{icon:"football-ball",...e})},penalty:{fill:"onSurface.nLv1",Icon:e=>(0,s.jsx)(u.NcS,{icon:"football-penalty",...e})},ownGoal:{fill:"error.default",Icon:e=>(0,s.jsx)(u.NcS,{icon:"football-own-goal",...e})}},futsal:{regular:{fill:"onSurface.nLv1",Icon:e=>(0,s.jsx)(u.NcS,{icon:"football-ball",...e})},penalty:{fill:"onSurface.nLv1",Icon:e=>(0,s.jsx)(u.NcS,{icon:"football-penalty",...e})},ownGoal:{fill:"error.default",Icon:e=>(0,s.jsx)(u.NcS,{icon:"football-own-goal",...e})},accumulatedPenalty:{fill:"onSurface.nLv1",Icon:e=>(0,s.jsx)(u.NcS,{icon:"accumulated-penalty",...e})}},minifootball:{regular:{fill:"onSurface.nLv1",Icon:e=>(0,s.jsx)(u.NcS,{icon:"football-ball",...e})},penalty:{fill:"onSurface.nLv1",Icon:e=>(0,s.jsx)(u.NcS,{icon:"football-penalty",...e})},accumulatedPenalty:{fill:"onSurface.nLv1",Icon:e=>(0,s.jsx)(u.NcS,{icon:"accumulated-penalty",...e})},ownGoal:{fill:"error.default",Icon:e=>(0,s.jsx)(u.NcS,{icon:"football-own-goal",...e})}},volleyball:{regular:{fill:"onSurface.nLv1",Icon:e=>(0,s.jsx)(u.NcS,{icon:"volleyball-spike",...e})},spike:{fill:"onSurface.nLv1",Icon:e=>(0,s.jsx)(u.NcS,{icon:"volleyball-spike",...e})},opponentError:{fill:"onSurface.nLv1",Icon:e=>(0,s.jsx)(u.NcS,{icon:"volleyball-opponent-error",...e})},ace:{fill:"onSurface.nLv1",Icon:e=>(0,s.jsx)(u.NcS,{icon:"volleyball-ace",...e})},block:{fill:"onSurface.nLv1",Icon:e=>(0,s.jsx)(u.NcS,{icon:"volleyball-block",...e})}},basketball:{onePoint:{fill:"primary.default",Icon:()=>(0,s.jsx)(c.so,{alignItems:"center",justifyContent:"center",backgroundColor:"surface.s2",w:"xl",h:"xl",br:"lg",children:(0,s.jsx)(l.EY,{textStyle:"display.large",color:"primary.default",children:"1"})})},twoPoints:{fill:"primary.default",Icon:()=>(0,s.jsx)(c.so,{alignItems:"center",justifyContent:"center",backgroundColor:"surface.s2",w:"xl",h:"xl",br:"lg",children:(0,s.jsx)(l.EY,{textStyle:"display.large",color:"primary.default",children:"2"})})},threePoints:{fill:"primary.default",Icon:()=>(0,s.jsx)(c.so,{alignItems:"center",justifyContent:"center",backgroundColor:"surface.s2",w:"xl",h:"xl",br:"lg",children:(0,s.jsx)(l.EY,{textStyle:"display.large",color:"primary.default",children:"3"})})}},bandy:{regular:{fill:"onSurface.nLv1",Icon:e=>(0,s.jsx)(u.NcS,{icon:"bandy-goal",...e})}},floorball:{regular:{fill:"onSurface.nLv1",Icon:e=>(0,s.jsx)(u.NcS,{icon:"floorball-goal",...e})}},"ice-hockey":{regular:{fill:"onSurface.nLv1",Icon:e=>(0,s.jsx)(u.NcS,{icon:"ice-hockey-puck",...e})},emptynet:{fill:"onSurface.nLv1",Icon:e=>(0,s.jsx)(u.NcS,{icon:"ice-hockey-puck",...e})},penalty:{fill:"onSurface.nLv1",Icon:e=>(0,s.jsx)(u.NcS,{icon:"ice-hockey-penalty-goal",...e})},ownGoal:{fill:"error.default",Icon:e=>(0,s.jsx)(u.NcS,{icon:"ice-hockey-own-goal",...e})},powerplay:{fill:"onSurface.nLv1",Icon:e=>(0,s.jsxs)(c.az,{w:"lg",h:"xl",position:"relative",children:[(0,s.jsx)(u.NcS,{icon:"ice-hockey-puck",...e}),(0,s.jsx)(c.so,{bg:"neutrals.nLv1",w:"lg",h:"md",justify:"center",alignItems:"center",position:"absolute",bottom:"2xs",borderTop:"1px solid",borderColor:"surface.s1",br:"2xs",children:(0,s.jsx)(l.EY,{textStyle:"display.micro",color:"surface.s1",children:"PP"})})]})},shorthanded:{fill:"onSurface.nLv1",Icon:e=>(0,s.jsxs)(c.az,{w:"lg",h:"xl",position:"relative",children:[(0,s.jsx)(u.NcS,{icon:"ice-hockey-puck",...e}),(0,s.jsx)(c.so,{bg:"neutrals.nLv1",w:"lg",h:"md",justify:"center",alignItems:"center",position:"absolute",bottom:"2xs",borderTop:"1px solid",borderColor:"surface.s1",br:"2xs",children:(0,s.jsx)(l.EY,{textStyle:"display.micro",color:"surface.s1",children:"SH"})})]})}},badminton:{regular:{fill:"onSurface.nLv1",Icon:e=>(0,s.jsx)(u.NcS,{icon:"badminton",...e})}},"aussie-rules":{goal:{fill:"primary.default",Icon:()=>(0,s.jsx)(c.so,{alignItems:"center",justifyContent:"center",backgroundColor:"surface.s2",w:"xl",h:"xl",br:"lg",children:(0,s.jsx)(l.EY,{textStyle:"display.large",color:"primary.default",children:"6"})})},behind:{fill:"primary.default",Icon:()=>(0,s.jsx)(c.so,{alignItems:"center",justifyContent:"center",backgroundColor:"surface.s2",w:"xl",h:"xl",br:"lg",children:(0,s.jsx)(l.EY,{textStyle:"display.large",color:"primary.default",children:"1"})})}},"table-tennis":{regular:{fill:"onSurface.nLv1",Icon:e=>(0,s.jsx)(u.NcS,{icon:"table-tennis",...e})}},waterpolo:{regular:{fill:"onSurface.nLv1",Icon:e=>(0,s.jsx)(u.NcS,{icon:"water-polo",...e})},penalty:{fill:"onSurface.nLv1",Icon:e=>(0,s.jsx)(u.NcS,{icon:"water-polo-penalty",...e})}},"american-football":{touchdown:{fill:"onSurface.nLv1",Icon:e=>(0,s.jsx)(u.NcS,{icon:"af-touchdown",...e})},fieldGoal:{fill:"onSurface.nLv1",Icon:e=>(0,s.jsx)(u.NcS,{icon:"af-field-goal",...e})},safety:{fill:"success.default",Icon:e=>(0,s.jsx)(u.NcS,{icon:"af-safety",...e})},extraPoint:{fill:"onSurface.nLv1",Icon:e=>(0,s.jsx)(u.NcS,{icon:"af-extra-point",...e})},rouge:{fill:"onSurface.nLv1",Icon:e=>(0,s.jsx)(u.NcS,{icon:"af-rouge",...e})},twoPointConversion:{fill:"onSurface.nLv1",Icon:e=>(0,s.jsxs)(c.az,{w:"lg",h:"xl",position:"relative",children:[(0,s.jsx)(u.NcS,{icon:"af-touchdown",...e}),(0,s.jsx)(c.so,{bg:"neutrals.nLv1",w:"lg",h:"md",justify:"center",alignItems:"center",position:"absolute",bottom:"[1px]",br:"2xs",borderTop:"1px solid",borderColor:"surface.s1",children:(0,s.jsx)(l.EY,{textStyle:"display.micro",color:"surface.s1",children:"2"})})]})}},rugby:{try:{fill:"onSurface.nLv1",Icon:e=>(0,s.jsx)(u.NcS,{icon:"rugby-try",...e})},penaltyTry:{fill:"onSurface.nLv1",Icon:e=>(0,s.jsx)(u.NcS,{icon:"rugby-penalty-try",...e})},onePoints:{fill:"onSurface.nLv1",Icon:e=>(0,s.jsx)(u.NcS,{icon:"rugby-one-point",...e})},twoPoints:{fill:"onSurface.nLv1",Icon:e=>(0,s.jsx)(u.NcS,{icon:"rugby-two-points",...e})},threePoints:{fill:"onSurface.nLv1",Icon:e=>(0,s.jsx)(u.NcS,{icon:"rugby-three-points",...e})}},handball:{regular:{fill:"onSurface.nLv1",Icon:e=>(0,s.jsx)(u.NcS,{icon:"handball-goal",...e})},penalty:{fill:"onSurface.nLv1",Icon:e=>(0,s.jsx)(u.NcS,{icon:"handball-penalty",...e})}},regular:{fill:"",Icon:()=>null}},substitution:{injury:{fill:"primary.default",Icon:e=>(0,s.jsx)(u.NcS,{icon:"substitution-injured",...e})},regular:{fill:"primary.default",Icon:e=>(0,s.jsx)(u.NcS,{icon:"substitution",...e})}},penaltyShootout:{waterpolo:{scored:{fill:"onSurface.nLv1",Icon:e=>(0,s.jsx)(u.NcS,{icon:"water-polo-penalty",...e})}},handball:{scored:{fill:"onSurface.nLv1",Icon:e=>(0,s.jsx)(u.NcS,{icon:"handball-penalty",...e})}},taker:{fill:"onSurface.nLv1",Icon:e=>(0,s.jsx)(u.NcS,{icon:"penalty-taker",...e})},scored:{fill:"onSurface.nLv1",Icon:e=>(0,s.jsx)(u.NcS,{icon:"football-penalty",...e})},missed:{fill:"error.default",Icon:e=>(0,s.jsx)(u.NcS,{icon:"penalty-missed",...e})}},inGamePenalty:{taker:{fill:"onSurface.nLv1",Icon:e=>(0,s.jsx)(u.NcS,{icon:"penalty-taker",...e})},scored:{fill:"onSurface.nLv1",Icon:e=>(0,s.jsx)(u.NcS,{icon:"football-penalty",...e})},missed:{fill:"error.default",Icon:e=>(0,s.jsx)(u.NcS,{icon:"penalty-missed",...e})}},penaltyAwarded:{regular:{fill:"onSurface.nLv1",Icon:e=>(0,s.jsx)(u.NcS,{icon:"penalty-taker",isRtlPrevented:!0,...e})}},varDecision:{regular:{fill:"primary.default",Icon:e=>(0,s.jsx)(u.NcS,{icon:"var",isRtlPrevented:!0,...e})},vip_for_penalty:{fill:"sofaSingles.live",Icon:e=>(0,s.jsx)(u.NcS,{icon:"var",...e})},vip_for_goal:{fill:"sofaSingles.live",Icon:e=>(0,s.jsx)(u.NcS,{icon:"var",...e})},vip_for_red_card:{fill:"sofaSingles.live",Icon:e=>(0,s.jsx)(u.NcS,{icon:"var",...e})},vip_for_no_goal:{fill:"sofaSingles.live",Icon:e=>(0,s.jsx)(u.NcS,{icon:"var",...e})},vip_for_no_penalty:{fill:"sofaSingles.live",Icon:e=>(0,s.jsx)(u.NcS,{icon:"var",...e})},vip_for_no_red_card:{fill:"sofaSingles.live",Icon:e=>(0,s.jsx)(u.NcS,{icon:"var",...e})},vip_for_unknown:{fill:"sofaSingles.live",Icon:e=>(0,s.jsx)(u.NcS,{icon:"var",...e})}},suspension:{"ice-hockey":{tenMinutes:{fill:"error.default",Icon:e=>(0,s.jsx)(u.NcS,{icon:"ice-hockey-penalty",...e})},twoMinutes:{fill:"error.default",Icon:e=>(0,s.jsx)(u.NcS,{icon:"ice-hockey-penalty",...e})},fiveMinutes:{fill:"error.default",Icon:e=>(0,s.jsx)(u.NcS,{icon:"ice-hockey-penalty",...e})},tensMinutes:{fill:"error.default",Icon:e=>(0,s.jsx)(u.NcS,{icon:"ice-hockey-penalty",...e})}},minifootball:{regular:{fill:"error.default",Icon:e=>(0,s.jsx)(u.NcS,{icon:"2-min-suspension",...e})}},twoMinutes:{fill:"error.default",Icon:e=>(0,s.jsx)(u.NcS,{icon:"2-min-suspension",...e})}}},p=e=>{var t,a,r,n,c,u,p;let{incidentType:h,incidentClass:f,sport:g,svgProps:m,isLeft:y=!1}=e,v=(0,o.A)(),x=g?(null==(a=d[h])||null==(t=a[g])?void 0:t.regular)||(null==(r=d[h])?void 0:r.regular):null==(n=d[h])?void 0:n.regular,{textDirection:b}=(0,l.$c)();g&&f&&(x=(null==(u=d[h])||null==(c=u[g])?void 0:c[f])||(null==(p=d[h])?void 0:p[f])||d[h].regular);let j="substitution"===h,_="substitution"===h&&"injury"===f,S="goal"===h&&"ownGoal"===f;if(null==x||!x.Icon)return(0,s.jsx)("div",{style:{width:16}});{let e=(0,i.q6)(h,f,g);return(0,s.jsx)(x.Icon,{width:16,height:16,fill:x.fill,title:e?v.formatMessage({id:e}):void 0,style:{minWidth:(null==m?void 0:m.width)||"16px",display:"inline-block",transform:((e,t,a,s,l)=>{if(e){if(s)return l?"scale(1,1)":"rotateY(180deg)";if(l&&t&&!a)return"rotate(180deg)"}else{if(l&&t&&!a)return"scale(1,1)";if(a)return l?"scale(1,1)":"rotateY(180deg)";if(t)return l?"rotateY(180deg)":"rotate(180deg)"}})(y,j,_,S,"rtl"===b)},...m})}},h=e=>{let t=(0,r.useContext)(n.Ws);return(0,s.jsx)(p,{...e,sport:e.sport||t})}},25766:(e,t,a)=>{var s,l;a.d(t,{V:()=>s,k:()=>l}),function(e){e.Possible="possible",e.Confirmed="confirmed"}(s||(s={})),function(e){e.Performance="performance",e.Distance="distance",e.Club="club",e.Nationality="nationality",e.Age="age",e.MarketValue="marketValue",e.Height="height"}(l||(l={}))},26435:(e,t,a)=>{a.d(t,{$i:()=>m,C2:()=>g,Kk:()=>f,Rs:()=>p,Tw:()=>y,Ur:()=>d,dw:()=>x,iw:()=>v});var s=a(6029),l=a(21377),r=a(95816),o=a.n(r),n=a(88505),i=a(89827),c=a(88694),u=a(67087);let d=e=>{let{event:t}=e,{leftTeam:a,rightTeam:r,leftScore:o,rightScore:i}=(0,u.mJ)(t.id,{event:t}),c=(0,u.g3)(t);return a&&r?t.status.type===l.XUj.NotStarted?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(n.Rm,{team:a,short:!0})," "," ".concat(c?"@":"-"," "),(0,s.jsx)(n.Rm,{team:r,short:!0})]}):c?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(n.Rm,{team:a,short:!0})," @ ",(0,s.jsx)(n.Rm,{team:r,short:!0}),", ".concat(o.display," - ").concat(i.display)]}):(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(n.Rm,{team:a,short:!0})," ".concat(o.display," - ").concat(i.display," "),(0,s.jsx)(n.Rm,{team:r,short:!0})]}):null};function p(e,t){if(!t.value||void 0!==e[t.value]||!t.hideIfNone){if(t.madesValue&&t.attemptsValue){var a;let s=Number(e[t.madesValue])||0,l=Number(e[t.attemptsValue])||0,r=0===l?"-":(0,i.M)(s/l*100,null!=(a=t.percentageDecimals)?a:0);return void 0!==t.percentageDecimals?"-"===r?"0":"".concat(r):t.percentageOnly?"-"===r?"0%":"".concat(r,"%"):t.hidePercentage||0===l?0===l&&s>0?s.toString():"".concat(s,"/").concat(l):t.hideAttempts?"".concat(s," (").concat(r,"%)"):"".concat(s,"/").concat(l," (").concat(r,"%)")}if(t.secondaryValue)return"".concat(e[t.value]||0," (").concat(e[t.secondaryValue]||0,")");if(t.textualDescription){let a="";for(let s of Object.keys(t.textualDescription)){let l=e[t.value][s];l>0&&(a=a.concat("".concat(t.textualDescription[s],": ").concat(l,"\n")))}return a.length?a:"-"}if(t.replacementValue&&"number"==typeof e[t.replacementValue])return e[t.replacementValue].toString();if(t.value){let a=e[t.value];return a?"string"!=typeof a?a%1!=0&&["expectedGoals","expectedAssists","goalsPrevented"].includes(t.value)?(0,i.M)(a,2):a%1!=0?(0,i.M)(a,1):a.toString():a:"0"}}}function h(e,t){return 0===t?0:e/t}function f(e){let{passingCompletions:t,passingAttempts:a,passingYards:s,passingTouchdowns:l,passingInterceptions:r}=e;return void 0!==t&&void 0!==a&&void 0!==s&&void 0!==l&&void 0!==r}function g(e){let{passingCompletions:t,passingAttempts:a,passingYards:s,passingTouchdowns:l,passingInterceptions:r}=e,o=(h(null!=t?t:0,null!=a?a:0)-.3)*5;o=Math.max(o=Math.min(o,2.375),0);let n=(h(null!=s?s:0,null!=a?a:0)-3)*.25;n=Math.max(n=Math.min(n,2.375),0);let i=20*h(null!=l?l:0,null!=a?a:0);i=Math.max(i=Math.min(i,2.375),0);let c=2.375-25*h(null!=r?r:0,null!=a?a:0);return(o+n+i+(c=Math.max(c=Math.min(c,2.375),0)))/6*100}function m(e){let t={...e,minutesPlayed:e.minutesPlayed||e.secondsPlayed?e.minutesPlayed?"".concat(e.minutesPlayed,"'"):"".concat(Math.round(e.secondsPlayed/60),"'"):0};f(e)&&(t.passingRating=g(e)),e.secondsPlayed&&(t.timeOnIce="".concat(Math.floor(e.secondsPlayed/60),":").concat("0".concat(e.secondsPlayed%60).slice(-2))),e.topSpeed&&(t.topSpeed="".concat((0,i.M)(+t.topSpeed,1)," km/h")),e.kilometersCovered&&(t.kilometersCovered="".concat((0,i.M)(+t.kilometersCovered,1)," km")),void 0!==e.receptionPositivity&&(t.receptionPositivity="".concat((0,i.M)(100*e.receptionPositivity,1))),void 0!==e.receptionPerf&&(t.receptionPerf="".concat((0,i.M)(100*e.receptionPerf,1)));let a=(e.duelWon||0)+(e.duelLost||0);return t.totalAerialDuels=(e.aerialWon||0)+(e.aerialLost||0),t.totalGroundDuels=a-t.totalAerialDuels,t.groundWon=(e.duelWon||0)-(e.aerialWon||0),t}function y(e,t,a,s,l){let r=e.compareValue&&(void 0!==t[e.compareValue]||void 0!==a[e.compareValue])?e.compareValue:e.replacementValue||e.value,o=null==s?void 0:s[r],n=null==l?void 0:l[r];return(o===n&&(r=e.compareSecondValue&&(void 0!==t[e.compareSecondValue]||void 0!==a[e.compareSecondValue])?e.compareSecondValue:e.replacementValue||e.value,o=e.reverseSecondCompare?null==l?void 0:l[r]:null==s?void 0:s[r],n=e.reverseSecondCompare?null==s?void 0:s[r]:null==l?void 0:l[r]),void 0===o&&void 0!==n)?2:void 0===n&&void 0!==o?1:o===n?0:(o||0)>(n||0)?1:2}function v(e,t,a){return a!==l.QCR.Football?[(null==t?void 0:t.filter(t=>t&&t.player.id!==e).map(e=>{var t;return{player:e.player,rating:null==(t=e.statistics)?void 0:t.rating,statistics:e.statistics,position:e.position}}))||[],[]]:t?t.reduce((t,a)=>{let[s,l]=t;if(!o()(a.statistics)&&a.player.id!==e){var r;let e={player:a.player,rating:null==(r=a.statistics)?void 0:r.rating,statistics:a.statistics,position:a.position};a.substitute?l.push(e):s.push(e)}return[s,l]},[[],[]]):[[],[]]}function x(e,t,a){return!a||!!c.qT.includes(e)&&(Object.values(a).filter(e=>!!e).length?t.reduce((e,t)=>{let s=p(a,t);return e&&("0"===s||"0/0"===s||"0 (0)"===s||!s)},!0):!t.reduce((e,t)=>e||Object.keys(a).includes(t.value),!1))}},26792:(e,t,a)=>{a.d(t,{A:()=>u});var s=a(6029),l=a(33144),r=a(21377),o=a(76356),n=a(55729),i=a(18970);function c(e){let{team:t,side:a,activeTeam:r,isBackgroundInverse:i,onTeamClick:c}=e,u=(0,n.useCallback)(()=>c(a),[c,a]),d=r===a;return(0,s.jsx)(o.ov,{h:"2xl",flexGrow:1,userSelect:"none",bg:d?"primary.highlight":i?"surface.s1":"surface.s2",br:"sm",onClick:u,cursor:"pointer",children:(0,s.jsx)(l.p,{size:24,id:t.id,name:t.name})})}function u(e){let{activeTeam:t,isBackgroundInverse:a,onTeamClick:l,...u}=e,{leftTeam:d,rightTeam:p}=(0,n.useContext)(i.y$);return(0,s.jsxs)(o.so,{justify:"space-between",gap:"lg",...u,children:[(0,s.jsx)(c,{team:d,side:r.cxP.Left,activeTeam:t,onTeamClick:l,isBackgroundInverse:a}),(0,s.jsx)(c,{team:p,side:r.cxP.Right,activeTeam:t,onTeamClick:l,isBackgroundInverse:a})]})}},27936:(e,t,a)=>{a.d(t,{w:()=>i});var s=a(6029),l=a(90248),r=a(18970),o=a(50677),n=a(91113);let i=e=>{let{id:t,children:a}=e;return(0,s.jsx)(r.Ws.Consumer,{children:e=>{let r=(0,n.O)(o,t,e);return(0,s.jsx)(l.A,{id:r,children:e=>r===String(e)?null:"function"==typeof a?a(e):(0,s.jsx)(s.Fragment,{children:e})})}})}},28105:(e,t,a)=>{a.r(t),a.d(t,{default:()=>ek,excludedSeasonIds:()=>ej});var s=a(6029),l=a(21377),r=a(28349),o=a(76356),n=a(25940),i=a(55729),c=a(45860),u=a(46222),d=a(18970),p=a(24414),h=a(41164),f=a(54850),g=a(9045),m=a(10292),y=a(947),v=a(52466),x=a(59e3),b=a(64006),j=a(72590),_=a(8900),S=a(94156),k=a(16805),C=a(75853),w=a(67087);function P(e){let{statistic:t,topPlayer:a,sport:l,first:n,left:i}=e;return a?(0,s.jsxs)(o.so,{h:"5xl",w:"100%",align:"center",direction:i?"row":"row-reverse",gap:"lg",overflow:"hidden",_hover:{bg:"surface.s2"},cursor:"pointer",pl:i?"lg":void 0,pr:i?void 0:"lg",children:[(0,s.jsx)(m.t,{size:40,id:a.player.id,style:{display:"block"}}),(0,s.jsxs)(o.so,{overflow:"hidden",direction:"column",justify:"center",align:i?"flex-start":"flex-end",gap:"xs",children:[(0,s.jsx)(r.EY,{children:(0,s.jsx)(j.A,{sport:l,stat:a.statistics,selectedStat:t})}),(0,s.jsx)(r.EY,{w:"100%",textStyle:"assistive.default",color:"neutrals.nLv3",truncate:!0,display:"block",children:(0,s.jsx)(S.c,{entity:a.player,short:!0})})]})]}):n?(0,s.jsx)(k.A,{messageId:"yet.to.perform",isInverted:!i}):null}function M(e){let{statistic:t,homePlayer:a,awayPlayer:l,sport:r,first:n}=e;if(!a&&!l)return null;let c=(null==a?void 0:a.player)?b.uc:i.Fragment,u=(null==l?void 0:l.player)?b.uc:i.Fragment;return(0,s.jsxs)(o.so,{justify:a||n?"space-between":"flex-end",children:[(0,s.jsx)(c,{player:null==a?void 0:a.player,style:{width:"50%"},children:(0,s.jsx)(P,{statistic:t,topPlayer:a,sport:r,first:n,left:!0})}),(0,s.jsx)(u,{player:null==l?void 0:l.player,style:{width:"50%"},children:(0,s.jsx)(P,{statistic:t,topPlayer:l,sport:r,first:n})})]})}function V(e){let{statistic:t,homePlayers:a,awayPlayers:n,sport:c,type:u}=e,d=(0,y.A)(),[p,h]=(0,i.useState)(!1);return a.length||n.length?(0,s.jsxs)(o.az,{style:{userSelect:"none"},children:[(0,s.jsxs)(o.so,{bg:p?"surface.s2":void 0,pt:"md",pb:"xs",align:"center",justify:"center",onClick:()=>h(e=>!e),cursor:"pointer",children:[(0,s.jsx)(r.EY,{textStyle:"assistive.default",color:"neutrals.nLv3",mr:"xs",children:(0,_.y)(d,t,c,u===l.Vw_.playoffs)}),(0,s.jsx)(v.zQC,{icon:p?"chevron-up":"chevron-down",width:24,height:24,fill:"onSurface.nLv1"})]}),(0,s.jsx)(M,{statistic:t,homePlayer:a[0],awayPlayer:n[0],sport:c,first:!0}),p&&Array.from({length:4}).map((e,l)=>{let r=l+1;return(0,s.jsx)(M,{statistic:t,homePlayer:a[r],awayPlayer:n[r],sport:c},t+r)})]}):null}function L(e){let{homeTeamId:t,awayTeamId:a,sport:r,uniqueTournamentId:n,seasonId:d,type:p,gender:h}=e,{data:f,error:g}=(0,c.Ay)(l.cWY.topPlayers(t,n,d,p)),{data:m,error:y}=(0,c.Ay)(l.cWY.topPlayers(a,n,d,p)),v=(0,i.useMemo)(()=>(0,x.t)(r),[n]);return g&&y||!v?null:((null==f?void 0:f.topPlayers)||g)&&((null==m?void 0:m.topPlayers)||y)?(0,s.jsxs)(u.Zp,{children:[(0,s.jsx)(u.Zp.Header,{titleId:"top_players",values:{gender:null!=h?h:l.YT8.Male}}),(0,s.jsx)(o.az,{pb:{base:"sm",md:"md"},children:v.map(e=>(0,s.jsx)(V,{sport:r,statistic:e,homePlayers:((null==f?void 0:f.topPlayers[e])||[]).filter(e=>e.playedEnough),awayPlayers:((null==m?void 0:m.topPlayers[e])||[]).filter(e=>e.playedEnough),type:p},e))})]}):(0,s.jsx)(C.A,{})}function I(e){var t,a;let{event:l}=e,r=l.tournament.category.sport.slug,o=(0,w.g3)();return l.seasonStatisticsType&&(null==(t=l.tournament.uniqueTournament)?void 0:t.id)&&(null==(a=l.season)?void 0:a.id)&&-1!==x.u.indexOf(r)?(0,s.jsx)(L,{homeTeamId:o?l.awayTeam.id:l.homeTeam.id,awayTeamId:o?l.homeTeam.id:l.awayTeam.id,sport:r,uniqueTournamentId:l.tournament.uniqueTournament.id,seasonId:l.season.id,type:l.seasonStatisticsType,gender:l.awayTeam.gender}):null}var T=a(54548),R=a(72696),A=a(92667),G=a(90248),H=a(86931),O=a(31830),z=a(88715),B=a(56132),N=a(29180),F=a(14831),E=a(15341),D=a(79082),Z=a(6664),K=a(64605),Y=a(48827),W=a(96688),Q=a(76155),U=a(82346);function $(e){let{event:t}=e,a=(0,O.A)(),n=(0,W.y)(a);if(t.tournament.category.sport.slug!==l.QCR.Football||!t.hasEventPlayerStatistics)return null;let i=t.tournament.uniqueTournament?(0,s.jsx)(U.O,{uniqueTournament:t.tournament.uniqueTournament}):(0,s.jsx)(Q.J,{tournament:t.tournament});return(0,s.jsx)(u.Zp,{children:(0,s.jsxs)(o.so,{p:"md",gap:"lg",children:[(0,s.jsx)(v.G_L,{fill:"onSurface.nLv3",width:"24",height:"24",minW:24}),(0,s.jsxs)(o.az,{children:[(0,s.jsx)(r.EY,{display:"block",textStyle:"body.small",color:"neutrals.nLv1",mb:"sm",children:(0,s.jsx)(G.A,{id:"rating_lineups_info",values:{name:i}})}),(0,s.jsxs)("a",{href:n,target:"_blank",rel:"noreferrer",children:[(0,s.jsx)(r.EY,{textStyle:"assistive.default",color:"primary.default",children:(0,s.jsx)(G.A,{id:"read_more"})}),(0,s.jsx)(v.CCT,{width:"16",height:"16",ml:"xxs",fill:"primary.default",style:{verticalAlign:"middle"}})]})]})]})})}var X=a(18974),q=a(18858),J=a(99902),ee=a(99913),et=a(8329),ea=a(95543),es=a(41735),el=a(42140);function er(e){let{value:t,iconColor:a,games:l}=e;return t&&l?(0,s.jsxs)(o.so,{align:"center",gap:"xs",children:[(0,s.jsx)(v.PhV,{fill:a}),(0,s.jsx)(r.EY,{textStyle:"body.small",children:(0,ea.M)(t/l,2)})]}):null}let eo=function(e){let{referee:t}=e,a=(0,i.useContext)(es.ThemeContext);return(0,s.jsx)(el.A,{referee:t,children:(0,s.jsxs)(o.so,{direction:"column",gap:"xs",align:"center",children:[(0,s.jsxs)(o.so,{gap:"xs",justify:"center",children:[(0,s.jsx)(et.w,{alpha2:t.country.alpha2,size:16}),(0,s.jsx)(r.EY,{children:null==t?void 0:t.name})]}),(0,s.jsxs)(o.so,{gap:"sm",alignItems:"center",justify:"center",children:[(0,s.jsx)(r.EY,{textStyle:"body.small",color:"neutrals.nLv3",children:(0,s.jsx)(G.A,{id:"average_cards"})}),(0,s.jsxs)(o.so,{gap:"xs",alignContent:"center",children:[(0,s.jsx)(er,{value:t.redCards,games:t.games,iconColor:a.colors.error.default}),(0,s.jsx)(er,{value:t.yellowCards,games:t.games,iconColor:a.colors.scoreRating.s65})]})]})]})})};var en=a(84823);function ei(e){var t,a,r,n,c,p,h,f,g,m,y,v;let{event:x,leftTeam:b,rightTeam:j}=(0,i.useContext)(d.y$),_=x.tournament.category.sport.slug===l.QCR.Football,S=e.lineups.left.players.some(e=>e.substitute)||e.lineups.right.players.some(e=>e.substitute),k=!!(e.lineups.left.players.find(e=>e.statistics&&e.statistics.rating)||e.lineups.right.players.find(e=>e.statistics&&e.statistics.rating)),C=(null==(t=e.managers)?void 0:t.leftManager)||(null==(a=e.managers)?void 0:a.rightManager);return(0,s.jsxs)(o.so,{direction:"column",gap:"sm",children:[_&&(null==x?void 0:x.referee)&&(0,s.jsxs)(u.Zp,{children:[(0,s.jsx)(u.Zp.Header,{titleId:"referee"}),(0,s.jsx)(o.az,{my:"xs",children:(0,s.jsx)(eo,{referee:x.referee})})]}),_&&C&&(0,s.jsxs)(u.Zp,{children:[(0,s.jsx)(u.Zp.Header,{titleId:"managers"}),(0,s.jsxs)(o.so,{gap:"sm",children:[(0,s.jsx)(o.so,{w:"100%",maxW:"1/2",grow:1,children:(null==(r=e.managers)?void 0:r.leftManager)&&(0,s.jsx)(J.A,{manager:null==(n=e.managers)?void 0:n.leftManager,isBorderHidden:!0,incidents:null==(c=e.incidents)?void 0:c.filter(e=>e.manager)})}),(0,s.jsx)(o.az,{w:"[1px]",background:"neutrals.nLv4",mt:"sm",mb:"md",mx:"sm"}),(0,s.jsx)(o.so,{w:"100%",maxW:"1/2",grow:1,children:(null==(p=e.managers)?void 0:p.rightManager)&&(0,s.jsx)(J.A,{manager:null==(h=e.managers)?void 0:h.rightManager,isBorderHidden:!0,incidents:null==(f=e.incidents)?void 0:f.filter(e=>e.manager)})})]})]}),!e.hasFormation&&_&&(0,s.jsxs)(u.Zp,{children:[(0,s.jsx)(u.Zp.Header,{titleId:"startingEleven.title"}),(0,s.jsxs)(o.so,{children:[(0,s.jsx)(en.A,{players:e.lineups.left.players.filter(e=>!e.substitute),team:b,manager:null==(g=e.managers)?void 0:g.leftManager,highlightStarters:!1,hasRating:k,event:x,...e},"left"),(0,s.jsx)(o.az,{w:"[1px]",background:"neutrals.nLv4",mt:"sm",mb:"md",mx:"sm"}),(0,s.jsx)(en.A,{players:e.lineups.right.players.filter(e=>!e.substitute),team:j,manager:null==(m=e.managers)?void 0:m.rightManager,hasTopBorder:!1,highlightStarters:!1,hasRating:k,event:x,...e},"right")]})]}),S&&(0,s.jsxs)(u.Zp,{children:[_&&(0,s.jsx)(u.Zp.Header,{titleId:"substitutions"}),(0,s.jsxs)(o.so,{children:[(0,s.jsx)(en.A,{players:_?e.lineups.left.players.filter(e=>e.substitute):e.lineups.left.players,team:b,manager:null==(y=e.managers)?void 0:y.leftManager,hasRating:k,event:x,...e},"left"),(0,s.jsx)(o.az,{w:"[1px]",background:"neutrals.nLv4",mt:"sm",mb:"md",mx:"sm"}),(0,s.jsx)(en.A,{players:_?e.lineups.right.players.filter(e=>e.substitute):e.lineups.right.players,team:j,manager:null==(v=e.managers)?void 0:v.rightManager,hasTopBorder:!1,hasRating:k,event:x,...e},"right")]})]}),(0,s.jsx)(ee.PM,{left:e.lineups.left.missingPlayers,right:e.lineups.right.missingPlayers})]})}function ec(e){var t,a,n;let c=(0,q.Ay)({isSportMenuVisible:!0,isInMobileTabs:!0}),[p,h]=(0,i.useState)(l.cxP.Left),f=p===l.cxP.Left?e.lineups.left:e.lineups.right,{event:g,leftTeam:m,rightTeam:y}=(0,i.useContext)(d.y$),v=e.hasFormation?f.players.filter(e=>e.substitute):f.players,x=g.tournament.category.sport.slug===l.QCR.Football,b=p===l.cxP.Left?null==(t=e.managers)?void 0:t.leftManager:null==(a=e.managers)?void 0:a.rightManager,j=e.lineups.left.players.some(e=>e.substitute)||e.lineups.right.players.some(e=>e.substitute),_=e.lineups[p].players.filter(e=>!e.substitute),S=e.lineups[p].players.filter(e=>e.substitute),k=!!(e.lineups.left.players.find(e=>e.statistics&&e.statistics.rating)||e.lineups.right.players.find(e=>e.statistics&&e.statistics.rating)),C=x&&!!_.length;return(0,s.jsx)(o.az,{px:"sm",children:(0,s.jsxs)(o.so,{direction:"column",gap:"sm",children:[(0,s.jsx)(r.PI,{top:c,children:e=>(0,s.jsx)(u.WC,{variant:e?"square":void 0,children:(0,s.jsx)(o.az,{mx:e?"-sm":void 0,children:(0,s.jsx)(u.Zp,{children:(0,s.jsx)(X.n,{p:"sm",gap:"sm",activeTeam:p,onTeamClick:h})})})})}),b&&(0,s.jsx)(J.A,{manager:b,incidents:null==(n=e.incidents)?void 0:n.filter(e=>e.manager),isBorderHidden:!0}),!e.hasFormation&&(0,s.jsxs)(u.Zp,{children:[C&&(0,s.jsx)(u.Zp.Header,{titleId:"startingEleven.title",as:"h4"}),(0,s.jsx)(en.A,{hideTeamHeader:!0,players:x?_:v,team:p===l.cxP.Left?m:y,highlightStarters:!x,hasRating:k,event:g,...e},p)]}),j&&x&&!!S.length&&(0,s.jsxs)(u.Zp,{children:[(0,s.jsx)(u.Zp.Header,{titleId:"substitutions",as:"h4"}),(0,s.jsx)(en.A,{hideTeamHeader:!0,players:S,team:p===l.cxP.Left?m:y,hasRating:k,event:g,...e},p)]}),!!(e.lineups.left.missingPlayers||e.lineups.right.missingPlayers)&&(0,s.jsx)(ee.Sb,{missingPlayers:f.missingPlayers})]})})}function eu(e){let{isMobile:t,isDesktop:a}=(0,r.$c)(),{location:l}=(0,i.useContext)(d.y$),o=a&&l===d.cb.EventPage;return t||!o?(0,s.jsx)(ec,{...e}):(0,s.jsx)(ei,{...e})}function ed(e){let t,l,c=(0,O.A)(),{event:u,location:p}=(0,i.useContext)(d.y$),{bestPlayer:h}=(0,H.Y)(u),{isDesktop:f}=(0,r.$c)(),g=f&&p===d.cb.EventPage;try{t=e.lineups.left.formation?(0,N.V)(e.lineups.left.formation,e.lineups.left.players.filter(e=>!e.substitute)):void 0,l=e.lineups.right.formation?(0,N.V)(e.lineups.right.formation,e.lineups.right.players.filter(e=>!e.substitute)):void 0}catch(e){console.error(e)}let m=!!(t&&l),y=window.location.host+z.z.getTranslatedRoute(c,"event",{id:u.customId,name:u.slug,sport:u.tournament.category.sport.slug}).route,x="#"+(0,D.HL)({id:u.id,tab:B.x.Lineups}),{isShareEnabled:b,componentRef:j,shareButton:_}=function(e,t){var l;let[r,o,c]=(0,E.A)("sofa.isComponentShareEnabled",!!(null==(l=window.navigator.clipboard)?void 0:l.write)),[u,d]=(0,i.useState)(!1),p=(0,i.useRef)(null),h={autoClose:5e3,closeButton:!1,className:"sofa-toast--info",position:"bottom-center"},f=(0,i.useCallback)(async()=>{if(p.current&&r)try{d(!0);let e=(await a.e(33933).then(a.t.bind(a,63067,23))).default,l=await e(p.current,{useCORS:!0,allowTaint:!0}),r=await new Promise(e=>l.toBlob(e)),o=new Blob([t||""],{type:"text/plain"});r&&(await window.navigator.clipboard.write([new ClipboardItem({"image/png":r,"text/plain":o})]),(0,F.MZ)((0,s.jsxs)(n.so,{align:"center",children:[(0,s.jsx)(v.G_L,{fill:"onColor.primary",mr:"lg"}),(0,s.jsx)(n.EY,{block:!0,color:"onColor.primary",font:"display.small",children:(0,s.jsx)(G.A,{id:"basic.copiedToClipboard"})})]}),h))}catch(e){o(!1),(0,F.MZ)((0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)(n.so,{align:"center",children:[(0,s.jsx)(v.cgL,{fill:"onColor.primary",mr:"md"}),(0,s.jsx)(n.EY,{block:!0,c:"onColor.primary",font:"display.small",children:(0,s.jsx)(G.A,{id:"error.anErrorOccurred"})})]}),e.message&&(0,s.jsx)(n.EY,{block:!0,c:"onColor.primary",font:"body.small",mt:"sm",children:e.message})]}),{...h,className:"sofa-toast--error"})}finally{d(!1)}},[p.current,u,r]),g=c&&r?(0,s.jsx)(G.A,{id:"basic.share",children:t=>(0,s.jsx)(n.$n,{"aria-label":String(t),size:"xs",tertiary:!0,disabled:u,style:u?{cursor:"wait"}:void 0,onClick:f,children:e||(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(G.A,{id:"basic.share"}),(0,s.jsx)(v.VJ,{fill:"surface.s1",ml:"xxs",width:16,height:16})]})})}):null;return{isGeneratingScreenshot:u,shareButton:g,componentRef:p,isShareEnabled:r}}((0,s.jsxs)(o.so,{justify:"center",align:"center",children:[(0,s.jsx)(G.A,{id:"share_match_lineups"}),(0,s.jsx)(v.VJ,{fill:"surface.s1",ml:"xxs",width:"16",height:"16"})]}),y+x);return(0,s.jsx)(Y.V,{children:(0,s.jsxs)(o.az,{children:[m&&(0,s.jsx)(K.Ko,{...e,leftFormation:t,rightFormation:l,ref:j,playerOfTheMatchId:null==h?void 0:h.player.id,isShareEnabled:b,shareButton:_}),(0,s.jsxs)(o.so,{direction:"column",gap:"sm",pt:"sm",children:[(0,s.jsx)(o.so,{direction:g?"column-reverse":"column",gap:"sm",children:(0,s.jsx)(eu,{...e,hasFormation:m,playerOfTheMatchId:null==h?void 0:h.player.id})}),(0,s.jsx)(o.az,{px:"sm",children:(0,s.jsx)($,{event:u})}),(0,s.jsx)(Z.K,{isHorizontalLayout:g})]})]})})}var ep=a(6813);let eh=e=>{let{lineups:t,managers:a}=e,[n,c]=(0,i.useState)(l.cxP.Left),{event:p,leftTeam:h,rightTeam:f}=(0,i.useContext)(d.y$),g=(0,q.Ay)(),{isMobile:m}=(0,r.$c)(),[y,v,x]=n===l.cxP.Left?[h,a.leftManager,t.left]:[f,a.rightManager,t.right];return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(o.az,{bg:"surface.s1",w:"100%",position:{mdDown:"sticky"},style:{top:m?g:void 0},zIndex:"sticky",p:"sm",children:(0,s.jsx)(X.n,{activeTeam:n,onTeamClick:e=>c(e)})}),(0,s.jsxs)(o.so,{p:"sm",gap:"sm",direction:"column",children:[(0,s.jsxs)(u.Zp,{children:[(0,s.jsx)(u.Zp.Header,{titleId:"probable_pitchers"}),(0,s.jsx)(en.A,{players:x.players,team:y,event:p,hideTeamHeader:!0}),0===x.players.length&&(0,s.jsx)(ep.p,{graphic:"no-data",descriptionMessageId:"probable_pitchers_empty"})]}),!!(t.left.missingPlayers||t.right.missingPlayers)&&(0,s.jsx)(ee.Sb,{missingPlayers:x.missingPlayers})]})]})},ef=e=>{let{lineups:t}=e,{event:a,leftTeam:l,rightTeam:r}=(0,i.useContext)(d.y$);return(0,s.jsxs)(o.so,{direction:"column",children:[(0,s.jsx)(u.Zp.Header,{titleId:"probable_pitchers"}),(0,s.jsxs)(o.so,{children:[(0,s.jsx)(o.az,{flexGrow:1,flexShrink:1,flexBasis:"1/2",children:(0,s.jsx)(en.A,{players:t.left.players,team:l,event:a,hideTeamHeader:!0})}),(0,s.jsx)(o.az,{w:"[1px]",bg:"neutrals.nLv4",my:"xs"}),(0,s.jsx)(o.az,{flexGrow:1,flexShrink:1,flexBasis:"1/2",children:(0,s.jsx)(en.A,{players:t.right.players,team:r,event:a,hideTeamHeader:!0})})]}),(0,s.jsx)(u.Zp.Footer,{})]})};function eg(e){let{lineups:t,managers:a}=e,{isDesktop:l}=(0,r.$c)(),{location:o}=(0,i.useContext)(d.y$);return l&&o===d.cb.EventPage?(0,s.jsx)(ef,{lineups:t,managers:a}):(0,s.jsx)(eh,{lineups:t,managers:a})}function em(){return(0,s.jsx)(n.az,{h:900})}function ey(){let{event:e}=(0,i.useContext)(d.y$),{managers:t}=(0,T.K)(e),{lineups:a,confirmed:r,error:o}=(0,A.Ir)({jerseyStyle:"fancy"}),{data:n}=(0,c.Ay)(l.bnp.incidents(e.id),(0,h.rf)(e));return o?null:a?r?(0,s.jsx)(ed,{lineups:a,incidents:null==n?void 0:n.incidents,managers:t,confirmed:r,showPlayerStatistics:!1}):(0,s.jsx)(eg,{lineups:a,managers:t}):(0,s.jsx)(em,{})}var ev=a(83094),ex=a(84449),eb=a(30685);let ej=[17564,17565,17566,17567,17568,17569,17570,17571,1151,2636,16,2531,7528],e_=[{tabKey:1,tabValue:"lineups"},{tabKey:2,tabValue:"player_stats"}],eS=e=>{let{showPlayerStatistics:t}=e,[a,m]=(0,i.useState)(1),{event:y}=(0,i.useContext)(d.y$),v=y.tournament.category.sport.slug,{managers:x}=(0,T.K)(y),{lineups:b,confirmed:j,error:_}=(0,A.Ir)({jerseyStyle:v===l.QCR.Football?"clean":"fancy"}),{data:S}=(0,c.Ay)(l.bnp.incidents(y.id),(0,h.rf)(y)),{hasPregameTopPlayers:k}=(0,R.M)(y),{isDesktop:C}=(0,r.$c)(),w=y.season&&ej.includes(y.season.id);if(k&&(_||b&&!j))return(0,s.jsxs)(o.so,{direction:"column",gap:{base:"sm",md:"md"},p:{mdDown:"sm"},children:[(0,s.jsx)(I,{event:y}),(0,s.jsx)(g.m,{home:null==b?void 0:b.left.missingPlayers,away:null==b?void 0:b.right.missingPlayers})]});if(!b)return(0,s.jsx)(ex.A,{});let P=v!==l.QCR.Football?(0,s.jsx)(u.Zp.Header,{titleId:"players",values:{gender:y.gender||l.YT8.Male},as:"h2"}):null;return C&&t?(0,s.jsxs)(o.az,{pt:"sm",children:[P,(0,s.jsx)(p.n,{activeTabKey:a,onChange:e=>m(e),tabs:e_,variant:"secondary",children:(0,s.jsxs)(o.az,{pt:"sm",children:[(0,s.jsx)(n.tU.Panel,{tabKey:e_[0].tabKey,children:(0,s.jsx)(ed,{lineups:b,incidents:null==S?void 0:S.incidents,managers:x,confirmed:j})}),!w&&(0,s.jsx)(n.tU.Panel,{tabKey:e_[1].tabKey,children:(0,s.jsx)(f.default,{lineups:b})})]})})]}):(0,s.jsxs)(s.Fragment,{children:[P,(0,s.jsx)(ed,{lineups:b,incidents:null==S?void 0:S.incidents,managers:x,confirmed:j,showPlayerStatistics:t})]})};function ek(e){let{hasLineups:t,showPlayerStatistics:a}=e,{event:r}=(0,i.useContext)(d.y$),o=r.tournament.category.sport.slug,n=o===l.QCR.ESports&&(0,h.f2)(r.tournament.category.id),{couldHavePregameTopPlayers:c}=(0,R.M)(r);return n||!1===t&&!c?null:o===l.QCR.Cricket?(0,s.jsx)(ev.A,{}):o===l.QCR.Rugby?(0,s.jsx)(eb.u,{}):o===l.QCR.Baseball?(0,s.jsx)(ey,{}):(0,s.jsx)(eS,{showPlayerStatistics:a})}},30079:()=>{Object.assign(Object.assign({},{"--primary-default":"#374df5","--primary-variant":"#2c3ec4","--primary-highlight":"rgba(55, 77, 245, 0.15)","--primary-hover":"hsl(233, 90.5%, 63.8%)","--primary-selected":"hsl(233, 90.5%, 53.8%)","--secondary-default":"#0bb32a","--secondary-variant":"#08861f","--secondary-highlight":"rgba(11, 179, 42, 0.15)","--secondary-hover":"hsl(131, 88.4%, 42.3%)","--secondary-selected":"hsl(131, 88.4%, 32.3%)","--tertiary-default":"rgba(202, 194, 133, 1)","--tertiary-variant":"rgba(157, 150, 94, 1)","--tertiary-highlight":"rgba(202, 194, 133, 0.15)","--neutral-default":"#a4a9b3","--neutral-variant":"#51565f","--neutral-highlight":"#e8ecf3","--on-color-primary":"#ffffff","--on-color-secondary":"rgba(255, 255, 255, 0.6)","--on-color-highlight-nLv1":"rgba(255, 255, 255, 0.2)","--on-color-highlight-nLv2":"rgba(255, 255, 255, 0.1)","--on-color-default":"#ffffff","--on-color-hover":"#e6e6e6","--on-color-selected":"#cccccc","--surface-s0":"#edf1f6","--surface-s1":"#ffffff","--surface-s2":"rgba(229, 233, 239, 0.5)","--surface-sp":"#ffffff","--surface-t":"#222226","--on-surface-nLv1":"#222226","--on-surface-nLv2":"rgba(34, 34, 38, 0.7)","--on-surface-nLv3":"rgba(34, 34, 38, 0.45)","--on-surface-nLv4":"rgba(34, 34, 38, 0.15)","--on-surface-nLv5":"rgba(34, 34, 38, 0.06)","--error-default":"#c7361f","--error-hover":"#dd3c23","--error-selected":"#b1301c","--alert-default":"#c7921f","--alert-hover":"#dda223","--alert-selected":"#b1821c","--success-default":"#15b168","--success-hover":"#18c876","--success-selected":"#129a5b","--effect-elevation1":"rgba(34, 34, 38, 0.16)","--effect-elevation2":"rgba(34, 34, 38, 0.16)","--effect-elevation3":"rgba(34, 34, 38, 0.16)","--overlay-darken1":"rgba(0, 0, 0, 0.25)","--overlay-darken2":"rgba(0, 0, 0, 0.5)","--overlay-darken3":"rgba(0, 0, 0, 0.65)","--sofa-singles-live":"#cb1818","--sofa-singles-value":"#e59c03","--sofa-singles-liveHighlight":"rgba(203, 24, 24, 0.1)","--sofa-singles-crowdsourcingLive":"#ff109f","--sofa-singles-crowdsourcingLiveHighlight":"rgba(255, 16, 159, 0.1)","--score-rating-s00":"#a4a9b3","--score-rating-s10":"#dc0c00","--score-rating-s60":"#ed7e07","--score-rating-s65":"#d9af00","--score-rating-s70":"#00c424","--score-rating-s80":"#00adc4","--score-rating-s90":"#374df5","--playoffs-promotion-to-x":"#26943b","--playoffs-promotion-to-x-playoff":"#49cb40","--playoffs-promotion-to-y":"#0056a3","--playoffs-promotion-to-y-playoff":"#0a8dff","--playoffs-promotion-to-z":"#016565","--playoffs-promotion-to-z-playoff":"#018e8d","--playoffs-promotion-to-z-playoff-secondary":"#01b7b6","--playoffs-promotion-to-relegation":"#c1262d","--playoffs-promotion-to-relegation-playoff":"#fea500","--player-position-forward":"#cb1818","--player-position-midfield":"#0bb32a","--player-position-defender":"#374df5","--player-position-goalkeeper":"#e59c03","--heatmap-hm1":"#cbedbf","--heatmap-hm2":"#d5eb86","--heatmap-hm3":"#fffc20","--heatmap-hm4":"#ff8111","--heatmap-hm5":"#ff1f1f","--stage-sports-dtm":"#011c47","--stage-sports-formula1":"#dc351e","--stage-sports-formulaE":"#04afe7","--stage-sports-indycar":"#c61e36","--stage-sports-moto2":"#84273a","--stage-sports-moto3":"#832639","--stage-sports-motoGP":"#3b3536","--stage-sports-nascar":"#007ac2","--stage-sports-superbike":"#bd1f23","--stage-sports-wrc":"#7bad26","--stage-sports-cycling":"#0162af","--stage-sports-generic":"#03af37","--graphics-terrain-football":"#cbedbf","--graphics-terrain-basketball":"#f8d496","--graphics-terrain-dark":"#19191c","--graphics-terrain-footballPale":"#f5fbf2","--graphics-terrain-basketballPale":"#fef6ea","--graphics-terrain-footballLineups":"#3c8063","--terrain-harcourtIndoor":"#30b8ab","--terrain-hardcourtOutdoor":"#5143cc","--terrain-grass":"#62bd40","--terrain-clay":"#eb9a44","--terrain-default":"#808080","--tournaments-wta":"#a42090","--social-twitter":"#00acee","--social-facebook":"#0865FE","--social-apple":"#000000","--social-huawei-symbol":"#CE0E2D","--social-huawei-text":"#262729","--cricket-neutral":"#a4a9b3","--cricket-singleRuns":"#6aac44","--cricket-firstCircleRuns":"#4d82a1","--cricket-secondCircleRuns":"#98458c","--cricket-wicketsDown":"#b8483c","--cricket-errorsAndMistakes":"#be9b3c","--cricket-cricketTerrain":"#cbedbf","--cricket-cricketTerrainSecondary":"#166534","--cricket-dsr":"#5a539c","--sentiment-positive":"#0bb32a","--sentiment-positive-highlight":"rgba(11, 179, 42, 0.25)","--sentiment-negative":"#cb1818","--sentiment-negative-highlight":"rgba(203, 24, 24, 0.25)","--header-default":"#2c3ec4","--mma-red-default":"#ce153a","--mma-red-highlight":"rgba(206, 21, 58, 0.15)","--mma-blue-default":"#1258df","--mma-blue-highlight":"rgba(18, 88, 223, 0.15)","--football-shotmap-home-idle":"#05660f","--football-shotmap-home-selectedHover":"#0bb32a","--football-shotmap-away-idle":"#064683","--football-shotmap-away-selectedHover":"#374df5","--tennis-tournaments-2000":"#3A66AC","--tennis-tournaments-1000":"#D1B04E","--tennis-tournaments-500":"#848E95","--tennis-tournaments-250":"#00AFF0","--hockey-shotmap-shot-background":"#ffffff80","--editor-pink":"#FF407F","--editor-pink-highlight":"rgba(255, 64, 127, 0.15)"}),{"--primary-default":"#7a84ff","--primary-variant":"#000000","--primary-highlight":"rgba(122, 132, 255, 0.25)","--primary-hover":"hsl(235, 100.0%, 78.9%)","--primary-selected":"hsl(235, 100.0%, 68.9%)","--secondary-default":"#46c252","--secondary-variant":"#03692a","--secondary-highlight":"rgba(70, 194, 82, 0.25)","--secondary-hover":"hsl(126, 50.4%, 56.8%)","--secondary-selected":"hsl(126, 50.4%, 46.8%)","--tertiary-default":"rgba(168, 161, 110, 1)","--tertiary-variant":"rgba(130, 124, 77, 1)","--tertiary-highlight":"rgba(168, 161 110, 0.15)","--neutral-default":"#a4a9b3","--neutral-variant":"#BCC2CF","--neutral-highlight":"rgba(54, 63, 83, 0.5)","--on-color-primary":"#FCFCFE","--on-color-highlight-nLv1":"rgba(255, 255, 255, 0.25)","--on-color-hover":"#ffffff","--on-color-selected":"#f2f2f2","--surface-s0":"#000000","--surface-s1":"#171C1F","--surface-s2":"rgba(0, 0, 0, 0.5)","--surface-sp":"#272C32","--surface-t":"#ECEDEF","--on-surface-nLv1":"#ECEDEF","--on-surface-nLv2":"rgba(255, 255, 255, 0.75)","--on-surface-nLv3":"rgba(255, 255, 255, 0.5)","--on-surface-nLv4":"rgba(255, 255, 255, 0.15)","--on-surface-nLv5":"rgba(255, 255, 255, 0.08)","--error-default":"#e35c47","--error-hover":"#e66f5d","--error-selected":"#e04831","--alert-default":"#dbaa3f","--alert-hover":"#dfb355","--alert-selected":"#d7a02a","--success-default":"#39b57a","--success-hover":"#44c486","--success-selected":"#33a26c","--effect-elevation1":"rgba(0, 0, 0, 0.24)","--effect-elevation2":"rgba(0, 0, 0, 0.40)","--effect-elevation3":"rgba(0, 0, 0, 0.48)","--overlay-darken1":"rgba(0, 0, 0, 0.25)","--overlay-darken2":"rgba(0, 0, 0, 0.5)","--sofa-singles-live":"#e73b3b","--sofa-singles-value":"#e8b345","--sofa-singles-liveHighlight":"rgba(231, 59, 59, 0.2)","--playoffs-promotion-to-x":"#3bb552","--playoffs-promotion-to-x-playoff":"#80ea79","--playoffs-promotion-to-y":"#288eea","--playoffs-promotion-to-y-playoff":"#8fcbff","--playoffs-promotion-to-z":"#2f9d9d","--playoffs-promotion-to-z-playoff":"#0ad8d8","--playoffs-promotion-to-z-playoff-secondary":"#befefe","--playoffs-promotion-to-relegation":"#ef5158","--playoffs-promotion-to-relegation-playoff":"#ffb936","--player-position-forward":"#e73b3b","--player-position-midfield":"#1eb85d","--player-position-defender":"#4b9def","--player-position-goalkeeper":"#e8b345","--heatmap-hm1":"#446c46","--heatmap-hm2":"#7d943c","--heatmap-hm3":"#ffd630","--heatmap-hm4":"#f0802b","--heatmap-hm5":"#f03530","--stage-sports-dtm":"#011c47","--stage-sports-formula1":"#dc351e","--stage-sports-formulaE":"#04afe7","--stage-sports-indycar":"#c61e36","--stage-sports-moto2":"#84273a","--stage-sports-moto3":"#832639","--stage-sports-motoGP":"#3b3536","--stage-sports-nascar":"#007ac2","--stage-sports-superbike":"#bd1f23","--stage-sports-wrc":"#7bad26","--stage-sports-cycling":"#0162af","--stage-sports-generic":"#03af37","--graphics-terrain-football":"#446c46","--graphics-terrain-basketball":"#a38a5e","--graphics-terrain-dark":"#0c0c0d","--graphics-terrain-footballPale":"#1d2c29","--graphics-terrain-basketballPale":"#31312e","--graphics-terrain-footballLineups":"#171c1f","--terrain-harcourtIndoor":"#6ee4d9","--terrain-hardcourtOutdoor":"#a59bf5","--terrain-grass":"#488331","--terrain-clay":"#a06b32","--tournaments-wta":"#db5cc7","--social-twitter":"#00acee","--social-facebook":"#ECEDEF","--social-apple":"#ECEDEF","--social-huawei-symbol":"#ECEDEF","--social-huawei-text":"#ECEDEF","--cricket-neutral":"#828ba1","--cricket-cricketTerrain":"#9ccf8a","--cricket-cricketTerrainSecondary":"#166534","--sentiment-positive":"#46c252","--sentiment-positive-highlight":"rgba(70, 194, 82, 0.25)","--sentiment-negative":"#e73b3b","--sentiment-negative-highlight":"rgba(231, 59, 59, 0.25)","--header-default":"#111517","--mma-red-default":"#de4e6b","--mma-red-highlight":"rgba(222, 78, 107, 0.25)","--mma-blue-default":"#467ce5","--mma-blue-highlight":"rgba(70, 124, 229, 0.25)","--football-shotmap-home-idle":"#0b5a13","--football-shotmap-home-selectedHover":"#46c252","--football-shotmap-away-idle":"#2c3596","--football-shotmap-away-selectedHover":"#7a84ff","--hockey-shotmap-shot-background":"#ffffff33","--editor-pink":"#FF7DA8"})},30396:(e,t,a)=>{a.d(t,{R:()=>u});var s=a(6029),l=a(21377),r=a(55729),o=a(90248),n=a(18970);let i=JSON.parse('{"football":{"attackGroup":"attacking","attackingGroup":"football_attacking","cardsGroup":"cards","defenceGroup":"defending","defensiveDefendingGroup":"defensiveDefending","defendingGroup":"defending","duelsGroup":"football_duels","goalkeeperGroup":"goalkeeping","goalkeeperOtherGroup":"goalkeeperOther","goalkeepingGroup":"goalkeeping","matchesGroup":{"id":"matches","values":{"sport":"football"}},"otherGroup":"other","otherPerGameGroup":"other_per_game","passesGroup":"passes","passingGroup":"passing","summaryGroup":"statistics_general","offensiveGroup":"offensive","creativityGroup":"player_ability_creativity","defensiveGroup":"defensive","shootingGroup":"football_shooting_category","teamPlayGroup":"football_team_play_category","additionalGroup":"football_additional_category","physicalGroupPer90":"football_running_performance_per_90","physicalGroupPerGame":"football_running_performance_per_match"},"basketball":{"defenseGroup":"defense","extraGroup":"extra","matchesGroup":{"id":"matches","values":{"sport":"basketball"}},"offenseGroup":"americanFootball.offense","otherGroup":"other","pointsGroup":"points","reboundsGroup":"rebounds","summaryGroup":"statistics_general","pointsPerGameGroup":"points_per_game","reboundsPerGameGroup":"rebounds_per_game","otherPerGameGroup":"other_per_game"},"american-football":{"defensiveGroup":"defensive","fieldGoalKickersGroup":"fieldGoalKickers","fumblesGroup":"fumbles","interceptionsGroup":"football_interceptions","kickReturnsGroup":"kickReturns","kickingGroup":"kicking","kickoffGroup":"kickoff","matchesGroup":{"id":"matches","values":{"sport":"american_football"}},"passingGroup":"passing","puntReturnsGroup":"puntReturns","puntingGroup":"punting","receivingGroup":"receiving","rushingGroup":"rushing","gamesGroup":"am_football_games_tab"},"ice-hockey":{"attackingGroup":"attacking","goaliesGroup":"legend_hockey_goalies","goalkeeperGroup":"goalkeeping","goalkeepingGroup":"goalkeeping","matchesGroup":{"id":"matches","values":{"sport":"ice_hockey"}},"otherGroup":"miscellaneous_statistics","penaltyGroup":"penalty","pointsGroup":"points","savesGroup":"player_ability_saves","scoringGroup":"scoring","skatersGroup":"legend_hockey_skaters","summaryGroup":"statistics_general","timeGroup":"time","overallGroup":"ice_hockey_stat_category_overall","defensiveGroup":"ice_hockey_stat_category_defensive","powerPlayGroup":"ice_hockey_stat_category_power_play","shorthandedGroup":"ice_hockey_stat_category_shorthanded","evenGroup":"ice_hockey_stat_category_even_strength","faceOffGroup":"ice_hockey_stat_category_faceoff"},"handball":{"attackingGroup":"attacking","goalkeepersGroup":"stats.goalkeepers","goalkeepingGroup":"goalkeeping","otherGroup":"miscellaneous_statistics","playersGroup":"players"},"baseball":{"battingGroup":"baseball_group_batting","fieldingGroup":"baseball_group_fielding","pitchingGroup":"baseball_group_pitching"},"futsal":{"matchesGroup":{"id":"matches","values":{"sport":"futsal"}},"summaryGroup":"statistics_general"},"tennis":{"serve":"tennis_service_stat","pressureMetrics":"tennis_pressure_metrics","miscellaneous_statistics":"miscellaneous_statistics"},"volleyball":{"matchesGroup":{"id":"matches","values":{"sport":"volleyball"}},"pointsGroup":"volleyball_points","servesGroup":"volleyball_serve","receptionGroup":"volleyball_reception","attackGroup":"volleyball_attack"}}');var c=a(91113);let u=e=>{var t,a,u;let{id:d}=e,{rightTeam:p,leftTeam:h}=(0,r.useContext)(n.y$),f=(0,r.useContext)(n.Ws),g=(0,c.B)(i,d,f);return(0,s.jsx)(o.A,{id:(0,c.O)(i,d,f),values:{...g,gender:null!=(u=null!=(a=null!=(t=g.gender)?t:null==p?void 0:p.gender)?a:null==h?void 0:h.gender)?u:l.YT8.Male}})}},30685:(e,t,a)=>{a.d(t,{u:()=>D});var s=a(6029),l=a(21377),r=a(28349),o=a(25940),n=a(55729),i=a(46222),c=a(18970),u=a(33144),d=a(41164),p=a(66331),h=a(96861),f=a(64006),g=a(94156),m=a(92667),y=a(40094),v=a(99902),x=a(84823),b=a(41735);let j=()=>{let{colors:e}=(0,b.useTheme)();return(0,s.jsx)("svg",{viewBox:"0 0 344 608",children:(0,s.jsxs)("g",{fill:"none",fillRule:"evenodd",children:[(0,s.jsx)("path",{fill:e.graphicsTerrain.football,d:"M0 0h344v608H0z"}),(0,s.jsx)("g",{fill:e.onSurface.nLv5,children:(0,s.jsx)("path",{d:"M4 52h336v72H4zM4 196h336v72H4zM4 340h336v72H4zM4 484h336v72H4z"})}),(0,s.jsxs)("g",{fill:e.surface.s1,fillRule:"nonzero",children:[(0,s.jsx)("path",{d:"M340 303H4v289h336V303zM5.953 305.001h332.094v285H5.953v-285z"}),(0,s.jsx)("path",{d:"M4 556.011h336v-2.054H4zM4 446.011h336v-2.054H4z"}),(0,s.jsx)("path",{d:"M28 458.011v-26h2v26zM134 532.012h25.436v-2.054H134zM112 356.012h26v-2.054h-26zM159 356.012h26v-2.054h-26zM205 356.012h26v-2.054h-26zM184 532.012h25.436v-2.054H184zM92 532.012H66v-2.054h12v-24.85h2v24.85h12zM92 356.027H80v11.985h-2v-11.985H66v-2.03h12v-11.985h2v11.985h12zM327 356.027h-12v11.985h-2v-11.985h-12v-2.03h12v-11.985h2v11.985h12zM42 356.027H30v11.985h-2v-11.985H16v-2.03h12v-11.985h2v11.985h12zM277 356.027h-12v11.985h-2v-11.985h-12v-2.03h12v-11.985h2v11.985h12zM280.339 532.012H255v-2.054h11.74v-24.85h2.054v24.85h11.545zM330.339 532.012H305v-2.054h11.74v-24.85h2.054v24.85h11.545zM42 532.012H16v-2.054h12v-24.85h2v24.85h12zM78 458.012v-26h2v26zM266.63 458.011v-26h2.054v26zM28 316.012h2v-12h-2zM78 316.012h2v-12h-2zM263 316.012h2v-12h-2zM313 316.012h2v-12h-2zM316.728 458.011v-26h2.055v26zM190.127 600.012l-3.509-34.731h-29.355l-3.507 34.693-1.965-.045 4.314-43.917h2.065l-.71 7.215h28.962l-.703-7.215h1.981l4.774 43.962z"}),(0,s.jsxs)("g",{children:[(0,s.jsx)("path",{d:"M340 305.011H4v-289h336v289zM5.953 303.01h332.094v-285H5.953v285z"}),(0,s.jsx)("path",{d:"M4 52h336v2.054H4zM4 162h336v2.054H4z"}),(0,s.jsx)("path",{d:"M28 150v26h2v-26zM134 75.999h25.436v2.054H134zM112 251.999h26v2.054h-26zM159 251.999h26v2.054h-26zM205 251.999h26v2.054h-26zM184 75.999h25.436v2.054H184zM92 75.999H66v2.054h12v24.85h2v-24.85h12zM92 251.984H80V240h-2v11.985H66v2.03h12v11.985h2v-11.985h12zM327 251.984h-12V240h-2v11.985h-12v2.03h12v11.985h2v-11.985h12zM42 251.984H30V240h-2v11.985H16v2.03h12v11.985h2v-11.985h12zM277 251.984h-12V240h-2v11.985h-12v2.03h12v11.985h2v-11.985h12zM280.339 75.999H255v2.054h11.74v24.85h2.054v-24.85h11.545zM330.339 75.999H305v2.054h11.74v24.85h2.054v-24.85h11.545zM42 75.999H16v2.054h12v24.85h2v-24.85h12zM78 149.999v26h2v-26zM266.63 150v26h2.054v-26zM28 291.999h2v12h-2zM78 291.999h2v12h-2zM263 291.999h2v12h-2zM313 291.999h2v12h-2zM316.728 150v26h2.055v-26zM190.127 7.999l-3.509 34.731h-29.355l-3.507-34.693-1.965.045 4.314 43.917h2.065l-.71-7.215h28.962L185.72 52h1.981l4.774-43.962z"})]})]})]})})},_=e=>{let{type:t,children:a}=e;return(0,s.jsxs)(o.az,{position:"relative",children:[(0,s.jsx)(j,{}),(0,s.jsx)(o.az,{position:"absolute",w:"100%",h:"100%",px:"1%",py:"15%",left:0,top:0,children:(0,s.jsx)(o.az,{w:"100%",h:"100%",display:"grid",style:{gridTemplateColumns:"repeat(".concat("fifteens"===t?5:4,", 1fr)"),gridTemplateRows:"repeat(".concat(7,", 1fr)")},children:a})})]})};var S=a(94400),k=a(48485),C=a(19991),w=a(90248),P=a(52466),M=a(80055),V=a(94536),L=a(33079);let I=(0,b.default)(f.uc).withConfig({componentId:"sc-8ad6c160-0"})(["display:flex;flex-direction:column;justify-content:flex-start;align-items:center;position:relative;z-index:",";border-radius:4px;text-align:center;cursor:pointer;transition:opacity 0.1s ease-in-out;width:56px;height:72px;&:hover{opacity:0.8;}"],o.Py.Button);function T(e){var t,a,r;let{player:i,incidents:c,onClick:u,jersey:d,color:p,useShortName:h,showSubstitutionNames:f=!0,showGoalScorer:g=!0,nameWidth:m,hasRatings:y,isPlayerOfTheMatch:v}=e,x=(0,n.useMemo)(()=>c?(0,k.h)({id:i.player.id,incidents:c,useShortName:h}):{},[i,c]),b=null==(t=i.statistics)?void 0:t.rating,j=1;void 0===b&&i.avgRating&&(b=i.avgRating,j=2);let _=(0,M.z)(i.player,(0,V.kx)(i,h)),T=(0,V.sP)(_,i.captain);return(0,s.jsxs)(I,{onClick:u,player:i.player,sportSlug:l.QCR.Rugby,children:[v&&(0,s.jsx)(P.ue7,{w:16,h:16,fill:(0,C.Et)(null==(a=i.statistics)?void 0:a.rating),position:"absolute",top:-16,left:"calc(50% - 8px)"}),(0,s.jsx)(o._V,{w:"28px",h:"32px",src:d,alt:""}),(0,s.jsx)(o.EY,{position:"absolute",top:"3px",left:"calc(50% - 12px)",align:"center",w:"xl",font:"table.large",fontSize:i.jerseyNumber&&i.jerseyNumber.length>=3?12:void 0,letterSpacing:"-0.2px",mt:i.jerseyNumber&&i.jerseyNumber.length>=3?"xxs":void 0,color:p?"#".concat(p.fancyNumber):"onSurface.nLv1",children:i.jerseyNumber}),x.substitutionIn&&(0,s.jsx)(o.az,{position:"absolute",top:"0",left:"-2",children:(0,s.jsx)(L.FU,{isInjury:x.substitutionIn.isInjury})}),!x.substitutionIn&&x.substitutionOut&&(0,s.jsx)(o.az,{position:"absolute",top:"0",left:"-2",children:(0,s.jsx)(L.FU,{isInjury:x.substitutionOut.isInjury})}),y&&(0,s.jsx)(o.az,{position:"absolute",top:"lg",left:-2,children:(0,s.jsx)(S.A,{rating:b,format:"box",size:"sm",decimalPoints:j})}),(0,s.jsx)(o.EY,{align:"center",lineHeight:1,font:"assistive.default",color:"onSurface.nLv1",pt:"xs",title:T,w:m,style:{hyphens:"auto"},children:T}),f&&(null==(r=x.substitutionIn)?void 0:r.forPlayer)&&(0,s.jsxs)(o.EY,{align:"center",lineHeight:1,font:"table.small",color:"onSurface.nLv3",title:x.substitutionIn.forPlayer,children:[(0,s.jsx)(w.A,{id:"injury_status_out"}),": ",x.substitutionIn.forPlayer]}),(0,s.jsx)(o.az,{position:"absolute",top:"0",right:"-2",children:(0,s.jsx)(L.AG,{...x})}),g&&(0,s.jsx)(o.az,{position:"absolute",top:"lg",right:"-2",children:(0,s.jsx)(L.X0,{...x,inField:!0})})]})}let R=e=>{let{type:t="fifteens",players:a,incidents:l,jersey:r,jerseyNumberColor:n,onPlayerClick:i}=e,c="fifteens"===t?y.vD:y.Xj,u="fifteens"===t?y.Cy:y.uU;return(0,s.jsx)(_,{type:t,children:a.map(e=>e.shirtNumber?(0,s.jsx)(o.so,{position:"relative",justify:"center",align:"center",style:c[e.shirtNumber],children:(0,s.jsx)(o.az,{position:"absolute",style:u[e.shirtNumber],children:(0,s.jsx)(T,{player:e,incidents:l,jersey:r,color:n,nameWidth:64,showSubstitutionNames:!1,showGoalScorer:!1,onClick:t=>{var a;return a=e.player,void(i&&(t.preventDefault(),i(a)))}})})},e.player.id):null)})},A=()=>{let{event:e,team:t,incidents:a,manager:l,jersey:r,startingPlayers:n,jerseyNumberColor:i,substitutePlayers:c}=(0,m.rR)(),{openEventPlayerStatistics:b}=(0,p.d)();return e.isEditor?(0,s.jsxs)(o.so,{direction:"column",gap:"md",children:[(0,s.jsx)(f.gT,{team:t,sport:(0,d.c5)(e),children:(0,s.jsxs)(o.so,{gap:"lg",align:"center",children:[(0,s.jsx)(u.p,{size:40,id:t.id,name:t.name}),(0,s.jsx)(o.EY,{font:"display.large",children:(0,s.jsx)(g.c,{entity:t})})]})}),(0,s.jsx)(o.az,{br:"sm",overflow:"hidden",children:(0,s.jsx)(R,{type:e.tournament.category.sportVariant===y.WM?"sevens":"fifteens",players:n,incidents:a,jersey:r,jerseyNumberColor:i,onPlayerClick:e.hasEventPlayerStatistics?t=>b({event:e,player:t},h._.Lineups):void 0})}),l&&(0,s.jsx)(v.A,{manager:l,incidents:null==a?void 0:a.filter(e=>e.manager),isBorderHidden:!0})]}):(0,s.jsxs)(o.so,{direction:"column",children:[(0,s.jsx)(f.gT,{team:t,sport:(0,d.c5)(e),children:(0,s.jsxs)(o.so,{gap:"lg",align:"center",px:"lg",py:"sm",hoverBg:"surface.s2",children:[(0,s.jsx)(u.p,{size:40,id:t.id,name:t.name}),(0,s.jsx)(o.EY,{font:"display.large",children:(0,s.jsx)(g.c,{entity:t})})]})}),(0,s.jsx)(x.A,{manager:l,hideTeamHeader:!0,team:t,event:e,players:[...n,...c],incidents:a})]})};var G=a(56300);let H=()=>{let{event:e,team:t,substitutePlayers:a,incidents:l}=(0,m.rR)();return(0,s.jsx)(x.A,{hideTeamHeader:!0,event:e,team:t,players:a,incidents:l})},O=()=>{let{event:e}=(0,n.useContext)(c.y$),{lineups:t}=(0,m.Ir)();return e.isEditor&&(0,V.kr)(t)?(0,s.jsxs)(o.az,{children:[(0,s.jsx)(o.EY,{font:"display.medium",align:"center",display:"block",pt:"xl",pb:"lg",children:(0,s.jsx)(w.A,{id:"substitutions"})}),(0,s.jsxs)(o.so,{children:[(0,s.jsx)(o.az,{flex:"1 1 0",children:(0,s.jsx)(G.i,{side:"left",children:(0,s.jsx)(H,{})})}),(0,s.jsx)(o.cG,{vertical:!0,mx:"md"}),(0,s.jsx)(o.az,{flex:"1 1 0",children:(0,s.jsx)(G.i,{side:"right",children:(0,s.jsx)(H,{})})})]})]}):null},z=()=>(0,s.jsxs)(o.az,{py:"sm",children:[(0,s.jsxs)(o.so,{children:[(0,s.jsx)(o.az,{flex:"1 1 0",children:(0,s.jsx)(G.i,{side:"left",children:(0,s.jsx)(A,{})})}),(0,s.jsx)(o.cG,{vertical:!0,mx:"md"}),(0,s.jsx)(o.az,{flex:"1 1 0",children:(0,s.jsx)(G.i,{side:"right",children:(0,s.jsx)(A,{})})})]}),(0,s.jsx)(O,{})]}),B=()=>{let{openEventPlayerStatistics:e}=(0,p.d)(),{event:t,team:a,manager:l,incidents:r,jersey:n,startingPlayers:i,substitutePlayers:c,jerseyNumberColor:u}=(0,m.rR)();return t.isEditor?(0,s.jsxs)(o.az,{children:[(0,s.jsx)(R,{type:t.tournament.category.sportVariant===y.WM?"sevens":"fifteens",players:i,incidents:r,jersey:n,jerseyNumberColor:u,onPlayerClick:t.hasEventPlayerStatistics?a=>e({event:t,player:a},h._.Lineups):void 0}),(0,s.jsxs)(o.so,{direction:"column",py:"md",children:[l&&(0,s.jsx)(o.az,{px:"sm",children:(0,s.jsx)(v.A,{manager:l,incidents:null==r?void 0:r.filter(e=>e.manager),isBorderHidden:!0})}),c.length>0&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(o.EY,{font:"display.medium",align:"center",pt:"xl",children:(0,s.jsx)(w.A,{id:"substitutions"})}),(0,s.jsx)(x.A,{hideTeamHeader:!0,team:a,event:t,players:c,incidents:r})]})]})]}):(0,s.jsxs)(s.Fragment,{children:[l&&(0,s.jsx)(o.az,{px:"sm",py:"sm",children:(0,s.jsx)(v.A,{manager:l,incidents:null==r?void 0:r.filter(e=>e.manager),isBorderHidden:!0})}),(0,s.jsx)(x.A,{hideTeamHeader:!0,team:a,event:t,players:[...i,...c],incidents:r})]})},N={height:"32px",display:"flex",justifyContent:"center",alignItems:"center",padding:0},F=()=>{let{team:e}=(0,m.rR)();return(0,s.jsx)(u.p,{size:24,id:e.id,name:e.name})},E=()=>(0,s.jsx)(o.az,{p:"sm",children:(0,s.jsx)(i.Zp,{children:(0,s.jsxs)(o.tU,{variant:"secondary",initialValue:l.cxP.Left,fullWidthTabs:!0,children:[(0,s.jsxs)(o.so,{p:"sm",children:[(0,s.jsx)(o.tU.Tab,{tabKey:l.cxP.Left,style:N,children:(0,s.jsx)(G.i,{side:"left",children:(0,s.jsx)(F,{})})}),(0,s.jsx)(o.az,{w:"lg"}),(0,s.jsx)(o.tU.Tab,{tabKey:l.cxP.Right,style:N,children:(0,s.jsx)(G.i,{side:"right",children:(0,s.jsx)(F,{})})})]}),(0,s.jsx)(o.tU.Panel,{tabKey:l.cxP.Left,children:(0,s.jsx)(G.i,{side:"left",children:(0,s.jsx)(B,{})})}),(0,s.jsx)(o.tU.Panel,{tabKey:l.cxP.Right,children:(0,s.jsx)(G.i,{side:"right",children:(0,s.jsx)(B,{})})})]})})});function D(){let{event:e,location:t}=(0,n.useContext)(c.y$),{isDesktop:a}=(0,r.$c)(),u=a&&t===c.cb.EventPage,{lineups:d,error:p}=(0,m.Ir)({jerseyStyle:"fancy"});return p?null:u?(0,s.jsxs)(i.Zp,{variant:"mobile-only",children:[(0,s.jsx)(i.Zp.Header,{titleId:"players",values:{gender:e.gender||l.YT8.Male}}),d?(0,s.jsx)(z,{}):(0,s.jsx)(o.az,{h:900})]}):d?(0,s.jsx)(E,{}):(0,s.jsx)(o.az,{h:900})}},32190:(e,t,a)=>{a.d(t,{Et:()=>o.Et,GW:()=>l.A,pY:()=>r.p,tg:()=>s.t});var s=a(91407),l=a(94400),r=a(91603),o=a(19991)},33079:(e,t,a)=>{a.d(t,{AG:()=>i,FU:()=>n,X0:()=>c});var s=a(6029),l=a(25940),r=a(52466),o=a(24854);let n=e=>{let{isInjury:t}=e;return t?(0,s.jsx)(r.NcS,{icon:"substitution-injured"}):(0,s.jsx)(r.NcS,{icon:"substitution"})},i=e=>{let{hasYellowCard:t,hasRedCard:a,hasYellowRedCard:l}=e;return l?(0,s.jsx)(r.NcS,{icon:"card-double-yellow",width:"16",height:"16"}):a?(0,s.jsx)(r.NcS,{icon:"card",width:"16",height:"16",fill:"error.default"}):t?(0,s.jsx)(r.NcS,{icon:"card",width:"16",height:"16",fill:"scoreRating.s65"}):null},c=e=>{let{goalsScored:t,hasScoredPenalty:a,hasScoredOwnGoal:n,inField:i}=e;if(n&&!t)return(0,s.jsx)(r.NcS,{icon:"football-own-goal",width:"16",height:"16",fill:"error.default"});if(a&&1===t)return(0,s.jsx)(r.NcS,{icon:"football-penalty",width:"16",height:"16",fill:"secondary.default"});if(t){if(i){let e=t>1;return(0,s.jsxs)(l.az,{position:"relative",left:e?"6":void 0,ml:"xxs",children:[e&&(0,s.jsx)(l.EY,{font:"table.small",color:"secondary.default",position:"relative",children:t}),(0,s.jsx)(o.M,{incidentType:"goal",incidentClass:"regular",svgProps:{fill:"secondary.default",width:16,height:16}})]})}return(0,s.jsx)(l.az,{position:"relative",ml:"xxs",children:Array(t).fill(0).map((e,t)=>(0,s.jsx)(o.M,{incidentType:"goal",incidentClass:"regular",svgProps:{fill:"secondary.default",width:16,height:16}},"goal-".concat(t)))})}return null}},38709:(e,t,a)=>{a.d(t,{k:()=>s.k});var s=a(25766)},39169:(e,t,a)=>{a.r(t),a.d(t,{default:()=>f});var s,l,r,o,n=a(90142),i=a(6029),c=a(39895);a(30079);var u=a(62283);a(60449),a(82823);var d=a(55729);a(97481);var p=a(41735);let h={xs:480,sm:768,md:992,lg:1344};function f(e){var{fill:t="primary.default"}=e,a=(0,n.T)(e,["fill"]);return(0,i.jsx)(c.A,Object.assign({w:12,h:12,viewBox:"0 0 12 12",fill:t},a,{children:(0,i.jsxs)("g",{children:[(0,i.jsx)("rect",{width:"12",height:"12",rx:"6"}),(0,i.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6 2.25L7.15875 4.5975L9.75 4.97625L7.875 6.8025L8.3175 9.3825L6 8.16375L3.6825 9.3825L4.125 6.8025L2.25 4.97625L4.84125 4.5975L6 2.25Z",fill:u.A.onColor.primary})]})}))}(0,d.createContext)({isMobile:!0,isDesktop:!1,isDesktopMedium:!1,isDesktopLarge:!1,mediaBreakpoint:"sm"}),function(e){e[e.Regular=400]="Regular",e[e.Medium=500]="Medium",e[e.Bold=700]="Bold"}(s||(s={})),function(e){e.Micro="10px",e.Small="12px",e.Regular="14px",e.Medium="16px",e.Large="18px",e.HeaderTitle="20px",e.ExtraLarge="28px",e.ExtraExtraLarge="32px"}(l||(l={})),function(e){e.SofascoreSans='"Sofascore Sans", -apple-system, system-ui, BlinkMacSystemFont, Dubai, "Segoe UI", Tahoma, "Noto Sans Arabic UI","Dejavu Sans", Arial, sans-serif',e.SofascoreSansCondensed='"Sofascore Sans Condensed", -apple-system, system-ui, BlinkMacSystemFont, Dubai, "Segoe UI", Tahoma, "Noto Sans Arabic UI","Dejavu Sans", Arial, sans-serif'}(r||(r={})),l.Micro,l.Small,l.Regular,l.Medium,l.Large,l.HeaderTitle,l.ExtraLarge,l.ExtraExtraLarge,s.Regular,s.Medium,s.Bold,r.SofascoreSans,r.SofascoreSansCondensed,s.Medium,l.HeaderTitle,r.SofascoreSans,s.Medium,l.HeaderTitle,r.SofascoreSans,s.Medium,l.Regular,r.SofascoreSans,s.Bold,l.Small,r.SofascoreSans,s.Bold,l.Regular,r.SofascoreSansCondensed,s.Medium,l.Regular,r.SofascoreSans,s.Medium,l.Small,r.SofascoreSans,s.Bold,l.ExtraLarge,r.SofascoreSans,s.Bold,l.Large,r.SofascoreSans,s.Bold,l.Medium,r.SofascoreSans,s.Bold,l.Regular,r.SofascoreSans,s.Bold,l.Small,r.SofascoreSans,s.Regular,l.Medium,r.SofascoreSans,s.Regular,l.Regular,r.SofascoreSans,s.Regular,l.Regular,r.SofascoreSans,s.Regular,l.Small,r.SofascoreSans,s.Regular,l.Small,r.SofascoreSans,s.Medium,l.Small,r.SofascoreSans,s.Medium,l.Micro,r.SofascoreSans,s.Bold,l.Large,r.SofascoreSansCondensed,s.Regular,l.Regular,r.SofascoreSansCondensed,s.Bold,l.Small,r.SofascoreSansCondensed,s.Regular,l.Micro,r.SofascoreSans,s.Bold,l.Regular,r.SofascoreSansCondensed,(0,p.createGlobalStyle)` /** Sofascore Sans */ @font-face { font-family: 'Sofascore Sans'; src: url('/static/fonts/SofascoreSans/woff2/SofascoreSans-Regular.woff2') format('woff2'), url('/static/fonts/SofascoreSans/woff/SofascoreSans-Regular.woff') format('woff'), url('/static/fonts/SofascoreSans/otf/SofascoreSans-Regular.otf') format('otf'), url('/static/fonts/SofascoreSans/ttf/SofascoreSans-Regular.ttf') format('truetype'); font-weight: 400; font-style: normal; line-height: normal; font-display: swap; } @font-face { font-family: 'Sofascore Sans'; src: url('/static/fonts/SofascoreSans/woff2/SofascoreSans-Medium.woff2') format('woff2'), url('/static/fonts/SofascoreSans/woff/SofascoreSans-Medium.woff') format('woff'), url('/static/fonts/SofascoreSans/otf/SofascoreSans-Medium.otf') format('otf'), url('/static/fonts/SofascoreSans/ttf/SofascoreSans-Medium.ttf') format('truetype'); font-weight: 500; font-style: normal; font-display: swap; } @font-face { font-family: 'Sofascore Sans'; src: url('/static/fonts/SofascoreSans/woff2/SofascoreSans-Bold.woff2') format('woff2'), url('/static/fonts/SofascoreSans/woff/SofascoreSans-Bold.woff') format('woff'), url('/static/fonts/SofascoreSans/otf/SofascoreSans-Bold.otf') format('otf'), url('/static/fonts/SofascoreSans/ttf/SofascoreSans-Bold.ttf') format('truetype'); font-weight: 700; font-style: normal; font-display: swap; } /** Sofascore Sans Condensed */ @font-face { font-family: 'Sofascore Sans Condensed'; src: url('/static/fonts/SofascoreSans/woff2/SofascoreSans-RegularCondensed.woff2') format('woff2'), url('/static/fonts/SofascoreSans/woff/SofascoreSans-RegularCondensed.woff') format('woff'), url('/static/fonts/SofascoreSans/otf/SofascoreSans-RegularCondensed.otf') format('otf'), url('/static/fonts/SofascoreSans/ttf/SofascoreSans-RegularCondensed.ttf') format('truetype'); font-weight: 400; font-style: normal; font-display: swap; } @font-face { font-family: 'Sofascore Sans Condensed'; src: url('/static/fonts/SofascoreSans/woff2/SofascoreSans-MediumCondensed.woff2') format('woff2'), url('/static/fonts/SofascoreSans/woff/SofascoreSans-MediumCondensed.woff') format('woff'), url('/static/fonts/SofascoreSans/otf/SofascoreSans-MediumCondensed.otf') format('otf'), url('/static/fonts/SofascoreSans/ttf/SofascoreSans-MediumCondensed.ttf') format('ttf'); font-weight: 500; font-style: normal; font-display: swap; } @font-face { font-family: 'Sofascore Sans Condensed'; src: url('/static/fonts/SofascoreSans/woff2/SofascoreSans-BoldCondensed.woff2') format('woff2'), url('/static/fonts/SofascoreSans/woff/SofascoreSans-BoldCondensed.woff') format('woff'), url('/static/fonts/SofascoreSans/otf/SofascoreSans-BoldCondensed.otf') format('otf'), url('/static/fonts/SofascoreSans/ttf/SofascoreSans-BoldCondensed.ttf') format('ttf'); font-weight: 700; font-style: normal; font-display: swap; } `,function(e=h){let t=function(e){let t=Object.keys(e),a={};return t.forEach(t=>{a[t]=e[t],a[t+"Min"]=e[t],a[t+"Max"]=e[t]-1}),a}(e);Object.keys(t).reduce((e,a)=>(e[a]=(e,...s)=>(0,p.css)` @media (${a.match(/Max/)?"max-width":"min-width"}: ${t[a]}px) { ${(0,p.css)(e,...s)} } `,e),{})}(),"undefined"!=typeof window&&(null==(o=window.matchMedia)||o.call(window,"(prefers-color-scheme: dark)"))},39836:(e,t,a)=>{a.d(t,{M:()=>x});var s=a(6029),l=a(53192),r=a(25766),o=a(94400),n=a(91603),i=a(98914),c=a(21377),u=a(4967),d=a(28349),p=a(76356),h=a(55729),f=a(90248),g=a(18970),m=a(30821),y=a(53960),v=a(48827);let x=e=>{let{player:t,hasRating:a,rating:x}=e,{event:b}=(0,h.useContext)(g.y$),{playerCharacteristicChip:j}=(0,h.useContext)(v.h),_=(()=>{var e,a,s,l;switch(j){case r.k.Age:return null==(e=t.player)?void 0:e.dateOfBirthTimestamp;case r.k.MarketValue:return null==(a=t.player)?void 0:a.proposedMarketValueRaw;case r.k.Height:return null==(s=t.player)?void 0:s.height;case r.k.Distance:return"statistics"in t?null==(l=t.statistics)?void 0:l.kilometersCovered:void 0;default:return}})();if(j===r.k.Performance)return a&&void 0!==x?(0,s.jsx)(o.A,{rating:x,format:a?"box":"sideBox"}):null;if([r.k.Club,r.k.Nationality].includes(j)){var S,k,C,w;return(0,s.jsxs)(p.so,{justify:"center",align:"center",children:[j===r.k.Club&&"teamId"in t&&t.teamId&&(0,s.jsx)(n.p,{id:t.teamId,size:24}),j===r.k.Nationality&&(null==(k=t.player)||null==(S=k.country)?void 0:S.alpha2)&&(0,s.jsx)(l.w,{alpha2:null==(w=t.player)||null==(C=w.country)?void 0:C.alpha2,size:24})]})}return(0,s.jsx)(d.EY,{display:"block",color:_?void 0:"neutrals.nLv1",children:_?(0,s.jsxs)(s.Fragment,{children:[j===r.k.Age&&(0,s.jsxs)(s.Fragment,{children:[(0,u.Dr)(_,b.startTimestamp)," ",(0,s.jsx)(f.A,{id:"years_shorter",values:{n:(0,u.Dr)(_,b.startTimestamp)}})]}),j===r.k.MarketValue&&(0,s.jsx)(y.o,{parsedMoney:(0,c.oaz)(_)}),j===r.k.Height&&(0,s.jsx)(m.Z,{value:_,fromUnit:"cm"}),j===r.k.Distance&&(0,s.jsx)(s.Fragment,{children:"".concat((0,i.M)(_,1)," km")})]}):"-"})}},40008:(e,t,a)=>{a.d(t,{A:()=>c});var s=a(21377),l=a(55729),r=a(45860),o=a(18970),n=a(41164),i=a(41397);function c(){let{swrConfig:e,event:t,shouldFetch:a=!0,jerseyStyle:c="fancy"}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{shouldFetch:!0},u={refreshInterval:6e4,...e},{event:d}=(0,l.useContext)(o.y$),p=a?t||d:void 0,{data:h,error:f,isLoading:g}=(0,r.Ay)(p?s.bnp.lineups(p.id):null,p?(0,n.rf)(p,u):u),[m,y]=(0,i.A)(h,"home","away"),v=p?{leftJerseyUrls:{player:s.bnp.playerJersey(p.id,"home",c),goalkeeper:s.bnp.goalkeeperJersey(p.id,"home",c)},rightJerseyUrls:{player:s.bnp.playerJersey(p.id,"away",c),goalkeeper:s.bnp.goalkeeperJersey(p.id,"away",c)}}:{leftJerseyUrls:{player:"",goalkeeper:""},rightJerseyUrls:{player:"",goalkeeper:""}},[x,b]=(0,i.A)(v,"leftJerseyUrls","rightJerseyUrls");return{lineups:h?{left:m,right:y,leftJerseyUrls:x,rightJerseyUrls:b}:void 0,isLoading:g,confirmed:null==h?void 0:h.confirmed,error:f}}},40094:(e,t,a)=>{a.d(t,{wf:()=>r,vD:()=>n,Cy:()=>i,Xj:()=>c,uU:()=>u,WM:()=>o,fP:()=>l});var s=a(38709);let l={[s.k.Performance]:"manager.performance",[s.k.Distance]:"football_lineups_chip_running_distance",[s.k.Nationality]:"nationality",[s.k.Club]:"lineups_chip_club",[s.k.Age]:"age",[s.k.MarketValue]:"market_value",[s.k.Height]:"player_height"},r=[s.k.Age,s.k.MarketValue,s.k.Height,s.k.Distance],o=2,n={1:{gridColumn:1,gridRow:1},2:{gridColumn:3,gridRow:1},3:{gridColumn:5,gridRow:1},4:{gridColumn:2,gridRow:2},5:{gridColumn:4,gridRow:2},6:{gridColumn:1,gridRow:3},7:{gridColumn:5,gridRow:3},8:{gridColumn:3,gridRow:3},9:{gridColumn:1,gridRow:4},10:{gridColumn:2,gridRow:5},11:{gridColumn:1,gridRow:7},12:{gridColumn:3,gridRow:5},13:{gridColumn:4,gridRow:5},14:{gridColumn:5,gridRow:7},15:{gridColumn:3,gridRow:7}},i={1:{top:"5%"},2:{top:"5%"},3:{top:"5%"},4:{top:"-10%"},5:{top:"-10%"},6:{top:"-20%"},7:{top:"-20%"},8:{top:"25%"},9:{top:"25%"},10:{top:"-20%"},11:{top:"-50%"},12:{top:"30%"},13:{top:"90%"},14:{top:"-50%"},15:{top:"10%"}},c={1:{gridColumn:1,gridRow:2},2:{gridColumn:2,gridRow:2},3:{gridColumn:3,gridRow:2},4:{gridColumn:1,gridRow:4},5:{gridColumn:2,gridRow:5},6:{gridColumn:3,gridRow:5},7:{gridColumn:4,gridRow:6}},u={1:{top:"-10%"},2:{top:"25%"},3:{top:"-10%"},4:{top:"55%"},5:{top:"5%"},6:{top:"60%"},7:{top:"25%"}}},40237:(e,t,a)=>{a.d(t,{G:()=>s.A,p:()=>l.p});var s=a(94400),l=a(91603)},42140:(e,t,a)=>{a.d(t,{A:()=>o});var s=a(6029),l=a(55729),r=a(94008);let o=(0,l.forwardRef)((e,t)=>{let{referee:a,children:l,...o}=e;return(0,s.jsx)(r.A,{...o,routeKey:"referee",params:{id:a.id,slug:a.slug},ref:t,children:l})})},44742:(e,t,a)=>{a.d(t,{A:()=>o});var s=a(6029),l=a(41735),r=a(39895);function o(e){let{colors:t}=(0,l.useTheme)();return(0,s.jsx)(r.A,Object.assign({width:"16",height:"16",viewBox:"0 0 16 16"},e,{children:(0,s.jsxs)("g",{fill:"none",fillRule:"evenodd",children:[(0,s.jsx)("path",{fill:"none",d:"M0 0h16v16H0z"}),(0,s.jsx)("path",{d:"M12 9v2.25h3v1.5h-3V15h-1l-3-3 3-3h1z",fill:t.success.default}),(0,s.jsx)("path",{d:"M15 7.75h-1.5V2.5h-11v5.25H1V1h14v6.75zM1 15v-1l1.5-1.5h4L8 14v1H1zm3.5-3.25a2 2 0 1 0 0-4 2 2 0 0 0 0 4z",fill:t.primary.default})]})}))}},48485:(e,t,a)=>{a.d(t,{h:()=>s});let s=({id:e,incidents:t,useShortName:a})=>t.filter(t=>{var a,s,l,r,o;return"player"in t&&(null==(a=t.player)?void 0:a.id)===e||"manager"in t&&(null==(s=t.manager)?void 0:s.id)===e||(null==(l=t.playerOut)?void 0:l.id)===e||(null==(r=t.playerIn)?void 0:r.id)===e||(null==(o=t.assist1)?void 0:o.id)===e}).reduce((t,s)=>{var l,r,o,n,i,c,u;switch(s.incidentType){case"card":switch(s.incidentClass){case"red":return Object.assign(Object.assign({},t),{hasRedCard:!0});case"yellow":return Object.assign(Object.assign({},t),{hasYellowCard:!0});case"yellowRed":return Object.assign(Object.assign({},t),{hasYellowRedCard:!0});default:return t}case"goal":if((null==(l=s.player)?void 0:l.id)===e)switch(s.incidentClass){case"ownGoal":return Object.assign(Object.assign({},t),{hasScoredOwnGoal:!0,ownGoalsScored:(t.ownGoalsScored||0)+1});case"penalty":return Object.assign(Object.assign({},t),{hasScoredPenalty:!0,penaltiesScored:(t.penaltiesScored||0)+1,goalsScored:(t.goalsScored||0)+1});default:return Object.assign(Object.assign({},t),{goalsScored:(t.goalsScored||0)+1})}if((null==(r=s.assist1)?void 0:r.id)===e)return Object.assign(Object.assign({},t),{goalsAssisted:(t.goalsAssisted||0)+1});return t;case"substitution":if((null==(o=s.playerOut)?void 0:o.id)===e)return Object.assign(Object.assign({},t),{substitutionOut:{forPlayer:(a?null==(n=s.playerIn)?void 0:n.shortName:null==(i=s.playerIn)?void 0:i.name)||s.playerNameIn,time:s.time,isInjury:"injury"===s.incidentClass}});return Object.assign(Object.assign({},t),{substitutionIn:{forPlayer:(a?null==(c=s.playerOut)?void 0:c.shortName:null==(u=s.playerOut)?void 0:u.name)||s.playerNameOut,time:s.time,isInjury:"injury"===s.incidentClass}});default:return t}},{})},48827:(e,t,a)=>{a.d(t,{V:()=>n,h:()=>o});var s=a(6029),l=a(38709),r=a(55729);let o=(0,r.createContext)({playerCharacteristicChip:l.k.Performance,setPlayerCharacteristicChip:()=>{}}),n=e=>{let{children:t}=e,[a,n]=(0,r.useState)(l.k.Performance);return(0,s.jsx)(o.Provider,{value:{playerCharacteristicChip:a,setPlayerCharacteristicChip:n},children:t})}},54548:(e,t,a)=>{a.d(t,{K:()=>i});var s=a(21377),l=a(55729),r=a(45860),o=a(18970),n=a(41397);function i(e){let t=(0,l.useContext)(o.y$),a=e||t.event,{data:i,error:c}=(0,r.Ay)(s.bnp.managers(a.id)),[u,d]=(0,n.A)(i,"homeManager","awayManager",a),[p,h]=(0,n.A)(i,"homeManagerName","awayManagerName",a);return{managers:{leftManager:u,leftManagerName:p,rightManager:d,rightManagerName:h},error:c}}},54850:(e,t,a)=>{a.r(t),a.d(t,{default:()=>F});var s=a(6029),l=a(28349),r=a(21501),o=a(76356),n=a(25940),i=a(55729),c=a(18970),u=a(88694),d=a(30396),p=a(21377),h=a(96861),f=a(73259);let g=e=>{let t=e.statistics;for(let e=0;e0)return!0}return!1},m=(e,t)=>{var a,s,l,r,o;return!!e.value&&null!=(a=t.statistics)&&!!a[e.value]||!!e.secondaryValue&&null!=(s=t.statistics)&&!!s[e.secondaryValue]||!!e.madesValue&&null!=(l=t.statistics)&&!!l[e.madesValue]||!!e.attemptsValue&&null!=(r=t.statistics)&&!!r[e.attemptsValue]||e.replacementValue&&!!(null==(o=t.statistics)?void 0:o[e.replacementValue])};var y=a(66331),v=a(40237),x=a(90248),b=a(74664),j=a(52466),_=a(26435),S=a(64006),k=a(27936),C=a(94156),w=a(57719),P=a(92859);let M=e=>{let{teamId:t,teamName:a}=e;return(0,s.jsx)(n.XI.Cell,{children:(0,s.jsx)(o.az,{py:"xs",px:"sm",children:(0,s.jsx)(v.p,{id:t,name:a,size:24})})})},V=e=>{let{player:t,onClick:a}=e,r=(0,b.o)(),i=r===p.QCR.Basketball&&!!t.ejected;return(0,s.jsx)(n.XI.Cell,{children:(0,s.jsx)(S.uc,{player:t,onClick:e=>a(e,t),sportSlug:r,children:(0,s.jsxs)(o.so,{direction:"column",py:"sm",px:"lg",align:"flex-start",children:[(0,s.jsx)(l.EY,{textStyle:"body.small",_hover:{color:"primary.default"},children:(0,s.jsx)(C.c,{entity:t})}),i&&(0,s.jsx)(o.so,{bg:"status.error.default",display:"inline-flex",h:"md",align:"center",br:"md",px:"sm",children:(0,s.jsx)(l.EY,{textStyle:"assistive.micro",color:"surface.s1",children:(0,s.jsx)(x.A,{id:"basketball_player_ejected_long"})})})]})})})},L=e=>{let{statistic:t,isSortBy:a,position:r}=e,i=t.configStatsKey.replacementValue,c=i&&"number"==typeof t.stats[i]?i:t.configStatsKey.value,u=(0,_.Rs)(t.stats,t.configStatsKey);return(0,s.jsxs)(n.XI.Cell,{style:{position:"relative",whiteSpace:"nowrap"},children:[(0,s.jsx)(o.az,{position:"absolute",top:"0",left:"0",w:"100%",h:"100%",bg:a?"surface.s2":void 0}),(0,s.jsx)(l.EY,{py:"sm",px:"lg",textStyle:"body.small",textAlign:"center",display:"block",position:"relative",children:c===P.K.ExpectedGoals?(0,s.jsx)(s.Fragment,{children:u||"-"}):c===P.K.Rating?(0,s.jsx)(o.so,{justify:"center",children:(0,s.jsx)(v.G,{rating:t.stats[c]})}):c===P.K.Position?r?(0,s.jsx)(w.F,{id:r,short:!0}):"-":c!==P.K.Notes?u:u.split("\n").map(e=>e.length?(0,s.jsx)("div",{children:e},e):null)})]})},I=e=>{let{filteredTeamId:t,onFilterClick:a,leftTeam:r,rightTeam:i}=e;return(0,s.jsx)(n.XI.HeadCell,{w:170,maxW:170,minW:160,children:(0,s.jsxs)(o.so,{py:"md",px:"sm",gap:"sm",align:"center",justify:"center",children:[(0,s.jsxs)(o.so,{align:"center",gap:"xs",minW:"fit",p:"xs",br:"[20px]",border:"[1px solid]",borderColor:t?"[transparent]":"primary.highlight",bg:t?"surface.s2":"primary.highlight",onClick:()=>a(void 0),cursor:"pointer",children:[(0,s.jsx)(v.p,{id:r.id,name:r.name,size:24}),(0,s.jsx)(l.EY,{textStyle:"assistive.default",color:"neutrals.nLv3",children:"+"}),(0,s.jsx)(v.p,{id:i.id,name:i.name,size:24})]}),(0,s.jsx)(o.az,{p:"xs",br:"50%",border:"[1px solid]",borderColor:t===r.id?"primary.highlight":"[transparent]",bg:t===r.id?"primary.highlight":"surface.s2",onClick:()=>a(r.id),cursor:"pointer",children:(0,s.jsx)(v.p,{id:r.id,name:r.name,size:24,style:{verticalAlign:"top"}})}),(0,s.jsx)(o.az,{p:"xs",br:"50%",border:"[1px solid]",borderColor:t===i.id?"primary.highlight":"[transparent]",bg:t===i.id?"primary.highlight":"surface.s2",onClick:()=>a(i.id),cursor:"pointer",children:(0,s.jsx)(v.p,{id:i.id,name:i.name,size:24,style:{verticalAlign:"top"}})})]})})},T=e=>{let{statistic:t,sortConfig:a,onColumnClick:r,sport:i}=e,c=t.configStatsKey.replacementValue,u="";u=c&&"number"==typeof t.stats[c]?c:t.configStatsKey.value;let d=a.stat.value===t.configStatsKey.value,f=d&&a.dir===h.U.ASC,g=u===P.K.Notes;return(0,s.jsx)(n.XI.HeadCell,{onClick:()=>{u!==P.K.Notes&&r(t.configStatsKey)},style:{position:"relative"},children:(0,s.jsxs)(o.az,{minW:g?"[124px]":i===p.QCR.AmericanFootball?"[100px]":void 0,p:"xs",textAlign:"center",cursor:g?"default":"pointer",children:[(0,s.jsx)(o.so,{position:"absolute",top:"0",left:"0",w:"100%",h:"100%",bg:d?"surface.s2":void 0}),(0,s.jsx)(o.ov,{minH:"2xl",position:"relative",children:(0,s.jsx)(l.EY,{textStyle:"body.small",color:"neutrals.nLv3",textAlign:"center",children:(0,s.jsx)(k.w,{id:u})})}),(0,s.jsx)(j.Bfd,{fill:g?"transparent":d?"primary.default":"onSurface.nLv4",style:{transition:"transform 0.3s ease-in-out",transform:" rotate(".concat(180*!!f,"deg)")}})]})})};var R=a(947),A=a(70047),G=a(50677),H=a(91113),O=a(4967),z=a(63561);let B=e=>{let{sortConfig:t,updateSortStatistic:a,filteredTeamId:l,onFilterClick:r,defaultSortStat:u,stats:d,lineups:m,groupName:v}=e,{event:x,leftTeam:b,rightTeam:j}=(0,i.useContext)(c.y$),{openEventPlayerStatistics:S}=(0,y.d)(),k=(e,t)=>{e.preventDefault(),x.hasEventPlayerStatistics&&S({event:x,player:t},h._.PlayerStats)},C=((e,t,a,s,l,r)=>{let{event:o,leftTeam:n,rightTeam:u}=(0,i.useContext)(c.y$),d=(0,R.A)(),h=o.tournament.category.sport.slug,m={},y={},v=(e,t)=>{r&&r!==t.id||(m[e.player.id]={teamId:t.id,teamName:t.name},y[e.player.id]=e)};s.left.players.forEach(e=>v(e,n)),s.right.players.forEach(e=>v(e,u));let x=((e,t)=>{let a={};for(let s of e)if(s.statistics){if((t===p.QCR.Football||t===p.QCR.Basketball)&&!("minutesPlayed"in s.statistics)&&!("secondsPlayed"in s.statistics))continue;let e=Number(s.statistics.totalClearance||0)+Number(s.statistics.outfielderBlock||0)+Number(s.statistics.interceptionWon||0)+Number(s.statistics.totalTackle||0),l=Number(s.statistics.duelWon||0)+Number(s.statistics.duelLost||0),r=Number(s.statistics.aerialWon||0)+Number(s.statistics.aerialLost||0),o=l-r,n=s.statistics.aerialWon||l-o-Number(s.statistics.aerialLost||0),i=s.statistics.groundWon||Number(s.statistics.duelWon)-Number(n),c=Number(s.statistics.faceOffTaken||0),u=Number(s.statistics.kickingFgAttempts||0),d=s.statistics.minutesPlayed,h="-";!d&&s.statistics.secondsPlayed&&(t===p.QCR.IceHockey?h=(0,O.OV)(Number(s.statistics.secondsPlayed)):d=Math.floor(Number(s.statistics.secondsPlayed)/60));let f=0;"number"==typeof s.statistics.saves&&"number"==typeof s.statistics.gkShots&&s.statistics.gkShots>0&&(f=Number(s.statistics.saves)/Number(s.statistics.gkShots)*100),"number"==typeof s.statistics.saves&&"number"==typeof s.statistics.shotsAgainst&&s.statistics.shotsAgainst>0&&(f=Number(s.statistics.saves)/Number(s.statistics.shotsAgainst)*100);let g=0;"number"==typeof s.statistics.goals&&"number"==typeof s.statistics.shotsTaken&&s.statistics.shotsTaken>0&&(g=Number(s.statistics.goals)/Number(s.statistics.shotsTaken)*100);let m=0;(0,_.Kk)(s.statistics)&&(m=(0,_.C2)(s.statistics)),a[s.player.id]={...s,statistics:{...s.statistics,totalDefensiveActions:e,totalDuels:l,totalAerialDuels:r,totalGroundDuels:o,aerialWon:n,groundWon:i,duelWon:s.statistics.duelWon||0,minutesPlayed:d,timeOnIce:h,faceOffTakenOnly:c,kickingFg:u,goalkeeperEfficiencyPercentage:f,shotAccuracy:g,position:s.position||0,passingRating:m}}}return a})(Object.values(y),h);return((e,t,a)=>{let s=[];for(let l of e.players){let r=[];for(let a of t){let{statistics:t}=l;if(!e.players.every(e=>{var t;return!a.textualDescription&&!(null==(t=e.statistics)?void 0:t[a.value])&&a.hideIfNone})&&t){let e={stats:{},configStatsKey:{...a}};if(e.stats[a.value]=a.value in t?t[a.value]:0,"minutesPlayed"===a.value&&"number"==typeof e.stats[a.value]&&(e.stats[a.value]="".concat(e.stats[a.value],"'")),a.secondaryValue&&(e.stats[a.secondaryValue]=a.secondaryValue in t?t[a.secondaryValue]:0),a.madesValue&&(e.stats[a.madesValue]=a.madesValue in t?t[a.madesValue]:0),a.attemptsValue&&(e.stats[a.attemptsValue]=a.attemptsValue in t?t[a.attemptsValue]:0),a.textualDescription){let s=Object.keys(a.textualDescription),l={};for(let e of s)l[e]=Number(t[e]||0);e.stats[a.value]=l}a.replacementValue&&"number"==typeof t[a.replacementValue]&&(e.stats[a.replacementValue]=t[a.replacementValue]),r.push(e)}}s.push({player:{...l.player,...a(l.player.id),position:l.position,ejected:l.ejected},statistics:r})}return s})({players:Object.values((0,A.C)(x,e,l,h))},a,e=>m[e]).filter(e=>((e,t,a)=>t===p.QCR.Football&&e===f.aS?a.player.position===f.sI:t===p.QCR.Handball?e!==f.v1||g(a):t===p.QCR.IceHockey?e!==f.aS||g(a):t!==p.QCR.AmericanFootball||g(a))(t,h,e)).map(e=>((e,t,a)=>{for(let s of e.statistics)if(s.configStatsKey.textualDescription)for(let e of Object.keys(s.configStatsKey.textualDescription))s.configStatsKey.textualDescription[e]=t.formatMessage({id:(0,H.O)(G,e,a)});return e})(e,d,h))})(t,v,d,m,u,l);return C.length?(0,s.jsxs)(n.XI,{w:"100%",children:[(0,s.jsx)(n.XI.Head,{children:(0,s.jsxs)(n.XI.Row,{children:[(0,s.jsx)(n.XI.HeadCell,{maxW:40,w:40,children:(0,s.jsx)(o.az,{w:"3xl",h:"xl"})}),(0,s.jsx)(I,{filteredTeamId:l,onFilterClick:r,leftTeam:b,rightTeam:j}),C[0].statistics.map(e=>(0,s.jsx)(T,{sport:(0,z.c5)(x),statistic:e,sortConfig:t,onColumnClick:()=>a(e.configStatsKey,v)},e.configStatsKey.value))]})}),(0,s.jsx)(n.XI.Body,{children:C.map(e=>(0,s.jsxs)(n.XI.Row,{children:[(0,s.jsx)(M,{teamId:e.player.teamId,teamName:e.player.teamName}),(0,s.jsx)(V,{player:e.player,onClick:k}),e.statistics.map(a=>(0,s.jsx)(L,{statistic:a,isSortBy:a.configStatsKey.value===t.stat.value,position:e.player.position},a.configStatsKey.value))]},e.player.id))})]}):null};var N=a(73183);let F=e=>{let{lineups:t}=e,a=(0,i.useContext)(c.Ws),g=(0,u.nm)(a),y=((e,t,a)=>a===p.QCR.AmericanFootball?Object.keys(e).filter(a=>e[a].find(e=>!!t.left.players.find(t=>m(e,t))||!!t.right.players.find(t=>m(e,t)))):Object.keys(e))(g,t,a),v=(0,i.useRef)(null),x=(0,r.uc)(v),[b,j]=(0,i.useState)(y[0]),[_,S]=(0,i.useState)(),{defaultSorts:k,sortConfigs:C,updateSortStatistic:w}=((e,t)=>{let a=(0,i.useMemo)(()=>{let a={};return Object.keys(f.Oi[e]).forEach(s=>{let l=f.Oi[e][s];a[s]=t[s].find(e=>e.value===l)||t[s][0]}),a},[e]),[s,l]=(0,i.useState)(()=>(e=>{let t={};return Object.keys(e).forEach(a=>{t[a]={stat:e[a],dir:h.U.DESC}}),t})(a));return{defaultSorts:a,sortConfigs:s,updateSortStatistic:(e,t)=>{l(a=>({...a,[t]:(0,N.I)(a[t],e)}))}}})(a,g),P=(0,i.useCallback)(e=>S(e),[]);return y?(0,s.jsxs)(n.tU,{variant:"quaternary",initialValue:0,value:b||0,onChange:e=>j(e),children:[(0,s.jsx)(o.az,{py:"sm",px:"lg",children:y.map(e=>(0,s.jsx)(n.tU.Tab,{ml:0,tabKey:e,children:(0,s.jsx)(d.R,{id:e})},e))}),y.map(e=>(0,s.jsx)(n.tU.Panel,{tabKey:e,children:(0,s.jsx)(o.az,{pb:"lg",ref:v,children:(0,s.jsx)(l.tR,{scrollButtonTopPosition:38,children:(0,s.jsx)(o.az,{style:{minWidth:x},children:(0,s.jsx)(B,{sortConfig:C[e],updateSortStatistic:w,defaultSortStat:k[e],filteredTeamId:_,onFilterClick:P,stats:g[e],lineups:t,groupName:e})})})})},e))]}):null}},56300:(e,t,a)=>{a.d(t,{N:()=>l,i:()=>r});var s=a(6029);let l=(0,a(55729).createContext)("left"),r=e=>{let{side:t,children:a}=e;return(0,s.jsx)(l.Provider,{value:t,children:a})}},57719:(e,t,a)=>{a.d(t,{F:()=>u});var s=a(6029),l=a(21377),r=a(55729),o=a(90248),n=a(18970);let i=JSON.parse('{"football":{"Dlong":"football_defender","DLlong":"football_left_defender","DClong":"football_centre_defender","DRlong":"football_right_defender","DMlong":"football_defensive_midfielder","Mlong":"football_midfielder","MLlong":"football_left_midfielder","MRlong":"football_right_midfielder","MClong":"football_centre_midfielder","AMlong":"football_attacking_midfielder","Flong":"football_forward","LWlong":"football_left_winger","RWlong":"football_right_winger","STlong":"football_striker","Glong":"goalkeeper","GKlong":"goalkeeper","Dshort":"position.defender.short","DLshort":"position.defenderLeft.short","DCshort":"position.defenderCenter.short","DRshort":"position.defenderRight.short","DMshort":"position.defensiveMidfielder","Mshort":"position.midfielder.short","MLshort":"position.midfielderLeft.short","MRshort":"position.midfielderRight.short","MCshort":"position.midfielderCenter.short","AMshort":"position.attackingMidfielder.short","Fshort":"position.forward.short","LWshort":"position.leftWinger.short","RWshort":"position.rightWinger.short","STshort":"position.striker.short","Gshort":"position.goalkeeper.short","GfantasyShort":"position.goalkeeper.fantasyShort","DfantasyShort":"position.defender.fantasyShort","MfantasyShort":"position.midfielder.fantasyShort","FfantasyShort":"position.forward.fantasyShort"},"basketball":{"Clong":"basketball.center","CFlong":"centerForward","Flong":"basketball.forward","FClong":"forwardCenter","FGlong":"forwardGuard","Glong":"guard","GFlong":"guardForward","Cshort":"position.basketball.center.short","CFshort":"position.centerForward.short","Fshort":"position.basketball.forward.short","FCshort":"position.forwardCenter.short","FGshort":"position.forwardGuard.short","Gshort":"position.guard.short","GFshort":"position.guardForward.short"},"ice-hockey":{"Dlong":"defenseman","Glong":"goalie","Clong":"hockey.center","Llong":"leftWing","Rlong":"rightWing","Flong":"football_forward","Dshort":"position.defenseman.short","Gshort":"position.goalie.short","Cshort":"position.hockey.short.center","Lshort":"position.leftWing.short","Rshort":"position.rightWing.short","Fshort":"position.forward.short"},"baseball":{"Plong":"pitcher","Clong":"catcher","1Blong":"1stBase","2Blong":"2ndBase","3Blong":"3rdBase","SSlong":"shortstop","LFlong":"leftField","CFlong":"centerField","RFlong":"rightField","DHlong":"designatedHitter","SPlong":"startingPitcher","CPlong":"closer","PHlong":"pinchHitter","PRlong":"pinchRunner","BRlong":"baseRunner","OFlong":"outfield","IFlong":"infield","RPlong":"reliefPitcher","UTlong":"util","UIlong":"utilInfielder","UOlong":"utilOutfielder","RHPlong":"rhPitcher","LHPlong":"lhPitcher","RHSlong":"rhStarted","LHSlong":"lhStarter","LHRlong":"lhReliever","RHRlong":"rhReliever","Blong":"batter","Pshort":"position.pitcher.short","Cshort":"position.catcher.short","1Bshort":"position.1stBase.short","2Bshort":"position.2ndBase.short","3Bshort":"position.3rdBase.short","SSshort":"position.shortstop.short","LFshort":"position.leftField.short","CFshort":"position.centerField.short","RFshort":"position.rightField.short","DHshort":"position.designatedHitter.short","SPshort":"position.startingPitcher.short","CPshort":"position.closer.short","PHshort":"position.pinchHitter.short","PRshort":"position.pinchRunner.short","BRshort":"position.baseRunner.short","OFshort":"position.outfield.short","IFshort":"position.infield.short","RPshort":"position.reliefPitcher.short","UTshort":"position.util.short","UIshort":"position.utilInfielder.short","UOshort":"position.utilOutfielder.short","RHPshort":"position.rhPitcher.short","LHPshort":"position.lhPitcher.short","RHSshort":"position.rhStarted.short","LHSshort":"position.lhStarter.short","LHRshort":"position.lhReliever.short","RHRshort":"position.rhReliever.short","Bshort":"position.batter.short"},"american-football":{"Plong":"punter","PRlong":"puntReturner","LSlong":"longSnapper","Klong":"kicker","Tlong":"tackle","OTlong":"offensiveTackle","OLlong":"offensiveLineman","OGlong":"offensiveGuard","Glong":"amf.guard","Clong":"amf.center","QBlong":"quarterback","RBlong":"runningBack","FBlong":"fullback","TElong":"tightEnd","WRlong":"wideReceiver","SSlong":"strongSafety","SAFlong":"safety","FSlong":"freeSafety","DLlong":"defensiveLineman","DBlong":"defensiveBack","CBlong":"cornerBack","NTlong":"noseTackle","DTlong":"defensiveTackle","DElong":"defensiveEnd","OLBlong":"outsideLinebacker","MLBlong":"middleLinebacker","LBlong":"linebacker","ILBlong":"insideLinebacker","Pshort":"position.punter.short","PRshort":"position.puntReturner.short","LSshort":"position.longSnapper.short","Kshort":"position.kicker.short","Tshort":"position.tackle.short","OTshort":"position.offensiveTackle.short","OLshort":"position.offensiveLineman.short","OGshort":"position.offensiveGuard.short","Gshort":"position.amf.guard.short","Cshort":"position.amf.center.short","QBshort":"position.quarterback.short","RBshort":"position.runningBack.short","FBshort":"position.fullback.short","TEshort":"position.tightEnd.short","WRshort":"position.wideReceiver.short","SSshort":"position.strongSafety.short","SAFshort":"position.safety.short","FSshort":"position.freeSafety.short","DLshort":"position.defensiveLineman.short","DBshort":"position.defensiveBack.short","CBshort":"position.cornerBack.short","NTshort":"position.noseTackle.short","DTshort":"position.defensiveTackle.short","DEshort":"position.defensiveEnd.short","OLBshort":"position.outsideLinebacker.short","MLBshort":"position.middleLinebacker.short","LBshort":"position.linebacker.short","ILBshort":"position.insideLinebacker.short"},"handball":{"Glong":"goalkeeper","Gshort":"position.goalkeeper.short","RWlong":"rightWing","RWshort":"position.rightWinger.short","LWlong":"leftWing","LWshort":"position.leftWinger.short","RBlong":"rightBack","RBshort":"position.rightBack.short","LBlong":"leftBack","LBshort":"position.leftBack.short","CBlong":"handball_position_centre_back","CBshort":"position.centralBack.short","Plong":"pivot","Pshort":"position.pivot.short"},"cricket":{"BMlong":"position.batter","ARlong":"position.all.rounder","WKlong":"position.wicket.keeper","Blong":"position.bowler","BMshort":"position.batter","ARshort":"position.all.rounder","WKshort":"position.wicket.keeper","Bshort":"position.bowler"},"minifootball":{"Glong":"goalkeeper","Gshort":"position.goalkeeper.short","OFshort":"minifootball_outfield_player_short","OFlong":"minifootball_outfield_player","Fshort":"minifootball_outfield_player_short","Flong":"minifootball_outfield_player"},"volleyball":{"OHshort":"volleyball_player_position_outside_hitter_short","MBshort":"volleyball_player_position_middle_blocker_short","Lshort":"volleyball_player_position_libero_short","Oshort":"volleyball_player_position_opposite_short","Sshort":"volleyball_player_position_setter_short","OHlong":"volleyball_player_position_outside_hitter","MBlong":"volleyball_player_position_middle_blocker","Llong":"volleyball_player_position_libero","Olong":"volleyball_player_position_opposite","Slong":"volleyball_player_position_setter"}}');var c=a(91113);let u=e=>{let{id:t,fantasyShort:a,short:u,sport:d,gender:p=l.YT8.Male}=e,h=(0,r.useContext)(n.Ws),f=d||h,g=a&&f===l.QCR.Football?"fantasyShort":u||a?"short":"long",m=(0,c.O)(i,t+g,f,t);return(0,s.jsx)(o.A,{id:m,values:{gender:p}})}},57724:(e,t,a)=>{a.d(t,{Di:()=>u,QC:()=>i,dv:()=>r,fS:()=>c,iF:()=>d,jf:()=>o,rt:()=>l});var s=a(21377);let l=[s.QCR.Tennis,s.QCR.Darts],r=[s.QCR.Football,s.QCR.IceHockey,s.QCR.Handball,s.QCR.Futsal,s.QCR.Minifootball,s.QCR.Waterpolo,s.QCR.Floorball,s.QCR.Bandy],o=[...l,s.QCR.Cricket],n=[s.QCR.AussieRules,s.QCR.Basketball,s.QCR.Volleyball,s.QCR.TableTennis,s.QCR.Badminton,s.QCR.BeachVolley],i=[s.QCR.Basketball,s.QCR.AussieRules],c=[s.QCR.IceHockey,s.QCR.Floorball,s.QCR.Bandy];function u(e){return n.includes(e)}let d=e=>"yellow"===e?"yellowCard":"red"===e?"redCard":"yellowRed"===e?"yellowRed":void 0},57773:(e,t,a)=>{a.d(t,{A:()=>o});var s=a(6029),l=a(41735),r=a(39895);function o(e){let{colors:t}=(0,l.useTheme)();return(0,s.jsx)(r.A,Object.assign({width:"16",height:"16",viewBox:"0 0 16 16"},e,{children:(0,s.jsxs)("g",{fill:"none",fillRule:"evenodd",children:[(0,s.jsx)("path",{fill:"none",d:"M0 0h16v16H0z"}),(0,s.jsx)("path",{d:"M15 7.75h-1.5V2.5h-11v5.25H1V1h14v6.75zM1 15v-1l1.5-1.5h4L8 14v1H1zm3.5-3.25a2 2 0 1 0 0-4 2 2 0 0 0 0 4z",fill:t.primary.default}),(0,s.jsx)("path",{d:"M11 9v2.25H8v1.5h3V15h1l3-3-3-3h-1z",fill:t.error.default})]})}))}},59e3:(e,t,a)=>{a.d(t,{t:()=>r,u:()=>l});var s=a(21377);let l=[s.QCR.AmericanFootball,s.QCR.Basketball,s.QCR.Handball,s.QCR.IceHockey];function r(e){switch(e){case s.QCR.AmericanFootball:return["passingTouchdowns","rushingTouchdowns","receivingTouchdowns","passingCompletionPercentage","rushingYardsPerAttempt","receivingYardsPerReception","defensiveInterceptions","defensiveTotalTackles","defensiveSacks","kickingFgMade"];case s.QCR.Basketball:return["points","rebounds","assists","steals","blocks","turnovers","fieldGoalsPercentage","threePointsPercentage"];case s.QCR.Handball:return["goals","assists","goals7m","steals","twoMinutePenalties","saves","goalkeeperEfficiencyPercentage","gk7mSaves"];case s.QCR.IceHockey:return["points","goals","assists","plusMinus","timeOnIce","blocked","hits","goalsAgainstAverage","savePercentage","shutouts"];default:return null}}},59395:(e,t,a)=>{a.d(t,{A:()=>r});var s=a(6029),l=a(39895);function r(e){return(0,s.jsx)(l.A,Object.assign({width:"16",height:"16",viewBox:"0 0 16 16"},e,{children:(0,s.jsx)("path",{d:"m10.5 13.01 1.5 1.5-2.5.5-.5-.5 1.5-1.5zM7.92 1v1l2 1h2l1 6 1.5 4.5-1 1-10-10L5.92 1h2zM8 10.51l1.5 1.5-2.5.5-.5-.5 1.5-1.5zm-2.5-2.5L7 9.51l-2.5.5-.5-.5 1.5-1.5zm5.93.19H9.08l1.41 1.41h1.18l-.24-1.41zM3 5.51l1.5 1.5-2.5.5-.5-.5L3 5.51zm7.91-.01H6.43l1.41 1.41h3.31l-.24-1.41z",fill:e.fill,fillRule:"evenodd"})}))}},62283:(e,t,a)=>{a.d(t,{A:()=>s});var s={onColor:{primary:"var(--on-color-primary)"},onSurface:{nLv1:"var(--on-surface-nLv1)"},social:{facebook:"var(--social-facebook)"},editor:{pink:"var(--editor-pink)"}}},62764:(e,t,a)=>{a.d(t,{A:()=>r});var s=a(6029),l=a(39895);function r(e){return(0,s.jsxs)(l.A,Object.assign({width:16,height:16,viewBox:"0 0 16 16"},e,{children:[(0,s.jsx)("g",{clipPath:"url(#clip0_26093_10000)",children:(0,s.jsx)("path",{d:"M8.80226 2.66663H7.37305L1.66992 12.1133L2.38794 13.3333H13.7874L14.5054 12.1133L8.80226 2.66663ZM8.76806 12H7.40041V10.6666H8.76806V12ZM8.76806 9.33329H7.40041V5.33329H8.76806V9.33329Z",fill:e.fill})}),(0,s.jsx)("defs",{children:(0,s.jsx)("clipPath",{id:"clip0_26093_10000",children:(0,s.jsx)("rect",{width:"12.67",height:"10.6667",fill:"white",transform:"translate(1.66992 2.66663)"})})})]}))}},64605:(e,t,a)=>{a.d(t,{Ko:()=>e6});var s=a(6029),l=a(38709),r=a(4967),o=a(28349),n=a(76356),i=a(25940),c=a(55729),u=a(90248),d=a(18970),p=a(20288),h=a(18858),f=a(40094);function g(e){let{isNational:t,eventTimestamp:a,isHorizontalLayout:g,onTabChange:m,order:y,hasDistance:v}=e,{event:x}=(0,c.useContext)(d.y$),b=(0,h.Ay)({isSportMenuVisible:!0,isInMobileTabs:!0}),j=1>(0,r.CF)(a),_=Object.values(l.k).filter(e=>(e!==l.k.MarketValue||!!j)&&(e!==l.k.Distance||!!v)&&(t?e!==l.k.Nationality:e!==l.k.Club));return(0,s.jsxs)(o.PI,{top:b,w:"100%",order:y,zIndex:"stickySecondary",bg:"surface.s1",children:[(0,s.jsxs)(n.so,{justify:"space-between",align:"center",gap:"lg",pr:"sm",children:[(0,s.jsx)(i.tU,{variant:"quaternary",initialValue:l.k.Performance,onChange:m,children:(0,s.jsx)(i.tU.List,{p:"sm",children:_.map(e=>(0,s.jsx)(i.tU.Tab,{tabKey:e,children:(0,s.jsx)(u.A,{id:f.fP[e]})},"tab-".concat(e)))})}),(0,s.jsx)(p.w,{type:"lineups",event:x})]}),!g&&(0,s.jsx)(i.cG,{})]})}var m=a(25766),y=a(94400),v=a(91603),x=a(21377),b=a(41735),j=a(17152),_=a(15538),S=a(30821),k=a(53960),C=a(88505);let w=function(){let[e,t]=(0,c.useState)(320);return(0,c.useEffect)(()=>{t(window.innerWidth);let e=()=>t(window.innerWidth);return window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]),e};function P(e){let{team:t,avgRating:a,teamSide:l,formation:r,jersey:o,isNotStarted:n,avgMessageId:d,avgData:p,chipType:h,isHorizontalLayout:g,order:P}=e,M=f.wf.includes(h)&&p,V=w(),L="rtl"===(0,c.useContext)(b.ThemeContext).settings.textDirection;return(0,s.jsx)(i.az,{w:"100%",h:"72px",maxH:"82px",br:[void 0,"lg"],flex:g?"1 1 45%":"1 1 100%",m:g?"left"===l?L?"0 sm sm xs":"0 xs sm sm":L?"0 xs sm sm":"0 sm sm xs":void 0,p:g?"0 sm":"sm sm",order:P,children:(0,s.jsxs)(i.so,{w:"100%",h:"100%",justify:"space-between",align:"center",direction:"left"!==l&&g?"row-reverse":"row",children:[(0,s.jsxs)(i.so,{h:"100%",align:"center",direction:"left"!==l&&g?"row-reverse":"row",children:[V>360&&!g&&(0,s.jsx)(v.p,{id:t.id,size:32,m:"left"===l?"0 sm 0 0":"0 0 0 sm"}),(0,s.jsxs)(i.so,{direction:"column",gap:"xs",align:"left"!==l&&g?"flex-end":"flex-start",ml:"sm",children:[(0,s.jsxs)(i.so,{gap:"sm",align:"center",h:"100%",grow:1,children:[(0,s.jsx)(i.EY,{font:"display.medium",lineHeight:"20px",lineClamp:2,children:(0,s.jsx)(C.Rm,{team:t,short:!0})}),a&&(0,s.jsxs)(i.so,{align:"center",h:"100%",children:[(0,s.jsx)(y.A,{rating:a,format:"sideBox"}),(0,s.jsx)(j.D,{type:n?_.J.AverageRatingTeam:_.J.AverageRating,rating:a,renderImage:e=>(0,s.jsx)(v.p,{id:t.id,...e})})]})]}),M&&(0,s.jsxs)(i.so,{direction:"row",justify:"left"!==l&&g?"flex-end":"flex-start",align:"center",wrap:"wrap",children:[(0,s.jsxs)(i.EY,{font:"body.small",lineHeight:"16px",color:"onSurface.nLv3",children:[(0,s.jsx)(u.A,{id:d})," • "]}),"\xa0",(0,s.jsx)(i.EY,{font:"display.micro",fontWeight:700,lineHeight:"14px",children:h===m.k.Age?(0,s.jsxs)(s.Fragment,{children:[p," ",(0,s.jsx)(u.A,{id:"years_short",values:{n:Math.round("number"==typeof p?p:p.value)}})]}):h===m.k.MarketValue?(0,s.jsx)(k.o,{parsedMoney:(0,x.oaz)(p)}):h===m.k.Height?(0,s.jsx)(S.Z,{value:p,fromUnit:"cm"}):h===m.k.Distance?(0,s.jsxs)(s.Fragment,{children:[p," km"]}):void 0})]})]})]}),(0,s.jsxs)(i.so,{minW:"56px",w:"56px",direction:"column",justify:"center",align:"center",m:"xs",children:[(0,s.jsx)(i.EY,{font:"display.small",color:"onSurface.nLv1",children:r}),(0,s.jsx)(i.so,{w:"36px",h:"36px",br:"sm",backgroundColor:"neutral.highlight",justify:"center",align:"center",children:(0,s.jsx)(i._V,{w:"28px",h:"32px",src:o,alt:"Team jersey"})})]})]})})}function M(e){let{eventStatus:t,isConfirmed:a,shareButton:l,order:r}=e;return[x.XUj.Finished,x.XUj.InProgress].includes(t)?null:(0,s.jsxs)(n.so,{pt:"md",pb:"xs",px:"sm",w:"100%",bg:"surface.s1",justify:{base:l?"space-between":"center",md:"space-between"},align:"center",style:{order:r},children:[(0,s.jsx)(o.EY,{textStyle:"display.medium",lineHeight:"xl",children:(0,s.jsx)(u.A,{id:a?"football_confirmed_lineups":"football_possible_lineups"})}),l]})}var V=a(42181),L=a(86890),I=a(93338),T=a(59395),R=a(5173),A=a(90142),G=a(39895);function H(e){var{fill:t="primary.default"}=e,a=(0,A.T)(e,["fill"]);return(0,s.jsxs)(G.A,Object.assign({width:"12",height:"12",viewBox:"0 0 12 12",fill:t},a,{children:[(0,s.jsxs)("g",{"clip-path":"url(#clip0_7324_19939)",children:[(0,s.jsx)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M8.25 3.45V5.25H9L11.25 3L9 0.75H8.25V2.55",fill:"#A4A9B3"}),(0,s.jsx)("path",{d:"M3.5625 5.25H2.4375V2.4375H8.25V3.5625H3.5625V5.25Z",fill:"#A4A9B3"}),(0,s.jsx)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M3.75 8.55V6.75H3L0.75 9L3 11.25H3.75V9.45",fill:"#C7361F"}),(0,s.jsx)("path",{d:"M9.5625 9.5625H3.75V8.4375H8.4375V6.75H9.5625V9.5625Z",fill:"#C7361F"})]}),(0,s.jsx)("defs",{children:(0,s.jsx)("clipPath",{id:"clip0_7324_19939",children:(0,s.jsx)("rect",{width:"10.5",height:"10.5",fill:"white",transform:"translate(0.75 0.75)"})})})]}))}var O=a(39169),z=a(11663),B=a(43681),N=a(10953),F=a(91289),E=a(97080),D=a(13181),Z=a(45079),K=a(84684),Y=a(86877);function W(e){return(0,s.jsxs)(G.A,Object.assign({width:"20",height:"20",viewBox:"0 0 20 20"},e,{children:[(0,s.jsx)("path",{id:"Vector",d:"M10 2C14.41 2 18 5.59 18 10C18 14.41 14.41 18 10 18C5.59 18 2 14.41 2 10C2 5.59 5.59 2 10 2ZM10 0C4.48 0 0 4.48 0 10C0 15.52 4.48 20 10 20C15.52 20 20 15.52 20 10C20 4.48 15.52 0 10 0Z",fill:e.fill}),(0,s.jsx)("path",{id:"Vector_2",d:"M6 15C5.45 15 5 15.45 5 16C5 16.55 5.45 17 6 17C6.55 17 7 16.55 7 16C7 15.45 6.55 15 6 15Z",fill:e.fill}),(0,s.jsx)("path",{id:"Vector_3",d:"M9 12C8.45 12 8 12.45 8 13C8 13.55 8.45 14 9 14C9.55 14 10 13.55 10 13C10 12.45 9.55 12 9 12Z",fill:e.fill}),(0,s.jsx)("path",{id:"Vector_4",d:"M6 9C5.45 9 5 9.45 5 10C5 10.55 5.45 11 6 11C6.55 11 7 10.55 7 10C7 9.45 6.55 9 6 9Z",fill:e.fill}),(0,s.jsx)("path",{id:"Vector_5",d:"M3 12C2.45 12 2 12.45 2 13C2 13.55 2.45 14 3 14C3.55 14 4 13.55 4 13C4 12.45 3.55 12 3 12Z",fill:e.fill}),(0,s.jsx)("path",{id:"Vector_6",d:"M15 12C14.45 12 14 12.45 14 13C14 13.55 14.45 14 15 14C15.55 14 16 13.55 16 13C16 12.45 15.55 12 15 12Z",fill:e.fill}),(0,s.jsx)("path",{id:"Vector_7",d:"M12 15C11.45 15 11 15.45 11 16C11 16.55 11.45 17 12 17C12.55 17 13 16.55 13 16C13 15.45 12.55 15 12 15Z",fill:e.fill}),(0,s.jsx)("path",{id:"Vector_8",d:"M12 9C11.45 9 11 9.45 11 10C11 10.55 11.45 11 12 11C12.55 11 13 10.55 13 10C13 9.45 12.55 9 12 9Z",fill:e.fill}),(0,s.jsx)("path",{id:"Vector_9",d:"M15 6C14.45 6 14 6.45 14 7C14 7.55 14.45 8 15 8C15.55 8 16 7.55 16 7C16 6.45 15.55 6 15 6Z",fill:e.fill}),(0,s.jsx)("path",{id:"Vector_10",d:"M18 9C17.45 9 17 9.45 17 10C17 10.55 17.45 11 18 11C18.55 11 19 10.55 19 10C19 9.45 18.55 9 18 9Z",fill:e.fill})]}))}function Q(e){return(0,s.jsxs)(G.A,Object.assign({width:"24",height:"24",viewBox:"0 0 24 24"},e,{children:[(0,s.jsx)("path",{d:"M7 16C6.45 16 6 16.45 6 17C6 17.55 6.45 18 7 18C7.55 18 8 17.55 8 17C8 16.45 7.55 16 7 16Z",fill:e.fill}),(0,s.jsx)("path",{d:"M10 15C9.45 15 9 15.45 9 16C9 16.55 9.45 17 10 17C10.55 17 11 16.55 11 16C11 15.45 10.55 15 10 15Z",fill:e.fill}),(0,s.jsx)("path",{d:"M13 16C12.45 16 12 16.45 12 17C12 17.55 12.45 18 13 18C13.55 18 14 17.55 14 17C14 16.45 13.55 16 13 16Z",fill:e.fill}),(0,s.jsx)("path",{d:"M13 13C12.45 13 12 13.45 12 14C12 14.55 12.45 15 13 15C13.55 15 14 14.55 14 14C14 13.45 13.55 13 13 13Z",fill:e.fill}),(0,s.jsx)("path",{d:"M15 10C14.45 10 14 10.45 14 11C14 11.55 14.45 12 15 12C15.55 12 16 11.55 16 11C16 10.45 15.55 10 15 10Z",fill:e.fill}),(0,s.jsx)("path",{d:"M0 0V9H2V2H18V9H20V0H0Z",fill:e.fill}),(0,s.jsx)("path",{d:"M10 7.75C12.89 7.75 15.25 10.11 15.25 13C15.25 15.89 12.89 18.25 10 18.25C7.11 18.25 4.75 15.89 4.75 13C4.75 10.11 7.11 7.75 10 7.75ZM10 6C6.13 6 3 9.13 3 13C3 16.87 6.13 20 10 20C13.87 20 17 16.87 17 13C17 9.13 13.87 6 10 6Z",fill:e.fill})]}))}var U=a(77749),$=a(80339),X=a(14532);function q(e){return(0,s.jsxs)(G.A,Object.assign({width:"20",height:"20",viewBox:"0 0 20 20"},e,{children:[(0,s.jsx)("path",{d:"M10 2C14.41 2 18 5.59 18 10C18 14.41 14.41 18 10 18C5.59 18 2 14.41 2 10C2 5.59 5.59 2 10 2ZM10 0C4.48 0 0 4.48 0 10C0 15.52 4.48 20 10 20C15.52 20 20 15.52 20 10C20 4.48 15.52 0 10 0Z",fill:e.fill}),(0,s.jsx)("path",{d:"M13 4C12.175 4 11.5 4.675 11.5 5.5C11.5 6.325 12.175 7 13 7C13.825 7 14.5 6.325 14.5 5.5C14.5 4.675 13.825 4 13 4Z",fill:e.fill}),(0,s.jsx)("path",{d:"M10 8.5C9.175 8.5 8.5 9.175 8.5 10C8.5 10.825 9.175 11.5 10 11.5C10.825 11.5 11.5 10.825 11.5 10C11.5 9.175 10.825 8.5 10 8.5Z",fill:e.fill}),(0,s.jsx)("path",{d:"M7.5 4C6.675 4 6 4.675 6 5.5C6 6.325 6.675 7 7.5 7C8.325 7 9 6.325 9 5.5C9 4.675 8.325 4 7.5 4Z",fill:e.fill}),(0,s.jsx)("path",{d:"M4.5 8.5C3.675 8.5 3 9.175 3 10C3 10.825 3.675 11.5 4.5 11.5C5.325 11.5 6 10.825 6 10C6 9.175 5.325 8.5 4.5 8.5Z",fill:e.fill})]}))}function J(e){return(0,s.jsxs)(G.A,Object.assign({width:"20",height:"20",viewBox:"0 0 20 20"},e,{children:[(0,s.jsx)("path",{d:"M12 9C11.45 9 11 9.45 11 10C11 10.55 11.45 11 12 11C12.55 11 13 10.55 13 10C13 9.45 12.55 9 12 9Z",fill:e.fill}),(0,s.jsx)("path",{d:"M10 12C9.45 12 9 12.45 9 13C9 13.55 9.45 14 10 14C10.55 14 11 13.55 11 13C11 12.45 10.55 12 10 12Z",fill:e.fill}),(0,s.jsx)("path",{d:"M8.5 9C7.95 9 7.5 9.45 7.5 10C7.5 10.55 7.95 11 8.5 11C9.05 11 9.5 10.55 9.5 10C9.5 9.45 9.05 9 8.5 9Z",fill:e.fill}),(0,s.jsx)("path",{d:"M6.5 12C5.95 12 5.5 12.45 5.5 13C5.5 13.55 5.95 14 6.5 14C7.05 14 7.5 13.55 7.5 13C7.5 12.45 7.05 12 6.5 12Z",fill:e.fill}),(0,s.jsx)("path",{d:"M20 0H0V9H2V2H18V9H20V0Z",fill:e.fill}),(0,s.jsx)("path",{d:"M10 7.75C12.89 7.75 15.25 10.11 15.25 13C15.25 15.89 12.89 18.25 10 18.25C7.11 18.25 4.75 15.89 4.75 13C4.75 10.11 7.11 7.75 10 7.75ZM10 6C6.13 6 3 9.13 3 13C3 16.87 6.13 20 10 20C13.87 20 17 16.87 17 13C17 9.13 13.87 6 10 6Z",fill:e.fill})]}))}var ee=a(35518),et=a(31698),ea=a(32256),es=a(51555),el=a(12275),er=a(44742),eo=a(57773),en=a(65549),ei=a(49336),ec=a(26624),eu=a(4653),ed=a(67996),ep=a(61390),eh=a(84262),ef=a(55217),eg=a(61848),em=a(79826),ey=a(23147),ev=a(33787),ex=a(2424),eb=a(75341),ej=a(86838),e_=a(20191),eS=a(63788),ek=a(27974),eC=a(55807),ew=a(11406),eP=a(86876),eM=a(62764),eV=a(3723),eL=a(87234),eI=a(18682);let eT={card:{yellow:{fill:"scoreRating.s65",Icon:e=>(0,s.jsx)(X.A,Object.assign({},e))},yellowRed:{Icon:e=>(0,s.jsx)(U.A,Object.assign({},e))},red:{fill:"error.default",Icon:e=>(0,s.jsx)($.default,Object.assign({},e))}},goal:{football:{regular:{fill:"secondary.default",Icon:e=>(0,s.jsx)(ee.A,Object.assign({},e))},penalty:{fill:"secondary.default",Icon:e=>(0,s.jsx)(ea.A,Object.assign({},e))},ownGoal:{fill:"error.default",Icon:e=>(0,s.jsx)(et.A,Object.assign({},e))}},futsal:{regular:{fill:"secondary.default",Icon:e=>(0,s.jsx)(ee.A,Object.assign({},e))},penalty:{fill:"secondary.default",Icon:e=>(0,s.jsx)(ea.A,Object.assign({},e))},ownGoal:{fill:"error.default",Icon:e=>(0,s.jsx)(et.A,Object.assign({},e))},accumulatedPenalty:{fill:"secondary.default",Icon:e=>(0,s.jsx)(N.A,Object.assign({},e))}},minifootball:{regular:{fill:"secondary.default",Icon:e=>(0,s.jsx)(ee.A,Object.assign({},e))},penalty:{fill:"secondary.default",Icon:e=>(0,s.jsx)(ea.A,Object.assign({},e))},accumulatedPenalty:{fill:"secondary.default",Icon:e=>(0,s.jsx)(N.A,Object.assign({},e))},ownGoal:{fill:"error.default",Icon:e=>(0,s.jsx)(et.A,Object.assign({},e))}},"american-football":{fieldGoal:{fill:"secondary.default",Icon:e=>(0,s.jsx)(E.A,Object.assign({},e))},rouge:{fill:"secondary.default",Icon:e=>(0,s.jsx)(D.A,Object.assign({},e))},twoPointConversion:{fill:"secondary.default",Icon:e=>(0,s.jsx)(Y.A,Object.assign({},e))},touchdown:{fill:"secondary.default",Icon:e=>(0,s.jsx)(K.A,Object.assign({},e))},extraPoint:{fill:"secondary.default",Icon:e=>(0,s.jsx)(F.A,Object.assign({},e))},safety:{fill:"secondary.default",Icon:e=>(0,s.jsx)(Z.A,Object.assign({},e))}},rugby:{onePoint:{fill:"secondary.default",Icon:e=>(0,s.jsx)(ey.A,Object.assign({},e))},twoPoints:{fill:"secondary.default",Icon:e=>(0,s.jsx)(ej.A,Object.assign({},e))},threePoints:{fill:"secondary.default",Icon:e=>(0,s.jsx)(ex.A,Object.assign({},e))},try:{fill:"secondary.default",Icon:e=>(0,s.jsx)(eb.A,Object.assign({},e))},penaltyTry:{fill:"secondary.default",Icon:e=>(0,s.jsx)(ev.A,Object.assign({},e))}},"ice-hockey":{regular:{fill:"secondary.default",Icon:e=>(0,s.jsx)(en.A,Object.assign({},e))},emptynet:{fill:"secondary.default",Icon:e=>(0,s.jsx)(en.A,Object.assign({},e))},ownGoal:{fill:"error.default",Icon:e=>(0,s.jsx)(ei.A,Object.assign({},e))},penalty:{fill:"secondary.default",Icon:e=>(0,s.jsx)(ec.A,Object.assign({},e))},powerplay:{fill:"secondary.default",Icon:e=>(0,s.jsx)(eu.A,Object.assign({},e))},shorthanded:{fill:"secondary.default",Icon:e=>(0,s.jsx)(ed.A,Object.assign({},e))}},handball:{regular:{fill:"secondary.default",Icon:e=>(0,s.jsx)(es.A,Object.assign({},e))},penalty:{fill:"secondary.default",Icon:e=>(0,s.jsx)(el.A,Object.assign({},e))}},waterpolo:{regular:{fill:"secondary.default",Icon:e=>(0,s.jsx)(eL.A,Object.assign({},e))},penalty:{fill:"secondary.default",Icon:e=>(0,s.jsx)(eI.A,Object.assign({},e))}},bandy:{regular:{fill:"onSurface.nLv1",Icon:e=>(0,s.jsx)(W,Object.assign({},e))},penalty:{fill:"onSurface.nLv1",Icon:e=>(0,s.jsx)(Q,Object.assign({},e))}},floorball:{regular:{fill:"onSurface.nLv1",Icon:e=>(0,s.jsx)(q,Object.assign({},e))},penalty:{fill:"onSurface.nLv1",Icon:e=>(0,s.jsx)(J,Object.assign({},e))}},volleyball:{regular:{fill:"secondary.default",Icon:e=>(0,s.jsx)(eV.A,Object.assign({},e))},spike:{fill:"secondary.default",Icon:e=>(0,s.jsx)(eV.A,Object.assign({},e))},opponentError:{fill:"secondary.default",Icon:e=>(0,s.jsx)(eM.A,Object.assign({},e))},ace:{fill:"secondary.default",Icon:e=>(0,s.jsx)(ew.A,Object.assign({},e))},block:{fill:"secondary.default",Icon:e=>(0,s.jsx)(eP.A,Object.assign({},e))}},regular:{Icon:()=>null}},substitution:{"ice-hockey":{goalkeeperIn:{fill:"primary.default",Icon:e=>(0,s.jsx)(er.A,Object.assign({},e))},goalkeeperOut:{fill:"primary.default",Icon:e=>(0,s.jsx)(eo.A,Object.assign({},e))}},injury:{fill:"primary.default",Icon:e=>(0,s.jsx)(eS.A,Object.assign({},e))},temporary:{fill:"primary.default",Icon:e=>(0,s.jsx)(ek.A,Object.assign({},e))},regular:{fill:"primary.default",Icon:e=>(0,s.jsx)(e_.A,Object.assign({},e))}},penaltyShootout:{"ice-hockey":{scored:{fill:"secondary.default",Icon:e=>(0,s.jsx)(ec.A,Object.assign({},e))}},waterpolo:{scored:{fill:"secondary.default",Icon:e=>(0,s.jsx)(eI.A,Object.assign({},e))}},rugby:{scored:{fill:"secondary.default",Icon:e=>(0,s.jsx)(eg.A,Object.assign({},e))},missed:{fill:"error.default",Icon:e=>(0,s.jsx)(ef.A,Object.assign({},e))}},taker:{fill:"secondary.default",Icon:e=>(0,s.jsx)(em.A,Object.assign({},e))},scored:{fill:"secondary.default",Icon:e=>(0,s.jsx)(ea.A,Object.assign({},e))},missed:{fill:"error.default",Icon:e=>(0,s.jsx)(eh.A,Object.assign({},e))}},inGamePenalty:{taker:{fill:"secondary.default",Icon:e=>(0,s.jsx)(em.A,Object.assign({},e))},scored:{fill:"secondary.default",Icon:e=>(0,s.jsx)(ea.A,Object.assign({},e))},missed:{fill:"error.default",Icon:e=>(0,s.jsx)(eh.A,Object.assign({},e))}},varDecision:{regular:{fill:"primary.default",Icon:e=>(0,s.jsx)(eC.default,Object.assign({},e))}},suspension:{minifootball:{regular:{fill:"error.default",Icon:e=>(0,s.jsx)(B.A,Object.assign({},e))}},handball:{regular:{fill:"error.default",Icon:e=>(0,s.jsx)(B.A,Object.assign({},e))}},twoMinutes:{fill:"error.default",Icon:e=>(0,s.jsx)(B.A,Object.assign({},e))},"ice-hockey":{zeroMinutes:{fill:"error.default",Icon:e=>(0,s.jsx)(ep.A,Object.assign({},e))},twoMinutes:{fill:"error.default",Icon:e=>(0,s.jsx)(ep.A,Object.assign({},e))},fourMinutes:{fill:"error.default",Icon:e=>(0,s.jsx)(ep.A,Object.assign({},e))},fiveMinutes:{fill:"error.default",Icon:e=>(0,s.jsx)(ep.A,Object.assign({},e))},tenMinutes:{fill:"error.default",Icon:e=>(0,s.jsx)(ep.A,Object.assign({},e))},regular:{fill:"error.default",Icon:e=>(0,s.jsx)(ep.A,Object.assign({},e))}}}};function eR({incidentType:e,incidentClass:t,sport:a,title:l,svgProps:r,fallback:o=null}){var n,i,c,u,d,p;let h=(null==(i=null==(n=eT[e])?void 0:n[a])?void 0:i.regular)||(null==(c=eT[e])?void 0:c.regular);if(t&&(h=(null==(d=null==(u=eT[e])?void 0:u[a])?void 0:d[t])||(null==(p=eT[e])?void 0:p[t])||eT[e].regular),!(null==h?void 0:h.Icon))return o;let f=h.Icon;return(0,s.jsx)(f,Object.assign({width:24,height:24,fill:h.fill,title:l,style:{minWidth:(null==r?void 0:r.width)||"24px",display:"inline-block"}},r))}function eA({incident:e,isNumber:t}){return t?(0,s.jsx)(o.EY,{textStyle:"display.micro",color:"onColor.primary",children:e.count}):"matchMVP"===e.name?(0,s.jsx)(O.default,{w:12,h:12,fill:e.color}):"goalAssist"===e.name?(0,s.jsx)(T.A,{w:12,h:12,fill:e.color}):"goal"===e.name&&("regular"===e.icon||"penalty"===e.icon)?(0,s.jsx)(R.A,{w:12,h:12,fill:e.color}):"substitution"===e.name?"injury"===e.icon?(0,s.jsx)(z.A,{w:12,h:12,fill:e.color,style:{transform:"scaleX(-1)"}}):(0,s.jsx)(H,{}):e.icon?(0,s.jsx)(eR,{sport:x.QCR.Football,incidentType:e.name,incidentClass:e.icon,svgProps:{width:12,height:12,shapeRendering:"crispEdges"}}):null}let eG=({incident:e,isNumber:t})=>(0,s.jsxs)(n.az,{position:"relative",w:"lg",h:"lg",className:"light",children:[(0,s.jsx)(n.so,{br:"50%",border:"1px solid",borderColor:t?"onColor.primary":"neutral.highlight",h:"lg",w:"lg",justify:"center",align:"center",position:"absolute",top:"[50%]",left:"[50%]",transform:{_ltr:"translate(-50%, -50%)",_rtl:"translate(50%, -50%)"},style:{backgroundColor:t?e.color:I.S.var("colors.onColor.primary")}}),(0,s.jsx)(n.ov,{position:"absolute",top:"[50%]",left:"[50%]",transform:{_ltr:"translate(-50%, -50%)",_rtl:"translate(50%, -50%)"},children:(0,s.jsx)(eA,{incident:e,isNumber:t})})]});function eH({alignment:e,incidents:t,compactDisplay:a}){return(0,s.jsx)(n.so,{width:"right"===e?void 0:"lg",h:"[50px]",position:"relative",direction:"column",maxW:"[22px]",minW:"lg",gap:"[1px]",children:t.map(t=>t.isVisible?(0,s.jsxs)(n.so,{align:"center",children:[(0,s.jsx)(eG,{incident:t}),"right"===e&&t.count&&t.count>=2&&(0,s.jsx)(n.so,{position:"absolute",gap:"[1px]",left:a?"[1px]":"sm",children:(0,s.jsx)(eG,{incident:t,isNumber:!0})})]},t.name):(0,s.jsx)(n.az,{h:"lg"},t.name))})}var eO=a(48485);a(64082),a(21501),a(16007),a(47177),a(97824),a(83204);var ez=a(19991);function eB({player:e,incidents:t,isMatchMVP:a,lineupsType:l,compactDisplay:r}){let{playerLeftStatistics:o,playerRightStatistics:i}=function(e,t,a){var s,l,r;let o=t?(0,eO.h)({id:e.player.id,incidents:t,useShortName:!0}):{},n=o.hasYellowCard||o.hasYellowRedCard||o.hasRedCard,i={name:"card",icon:o.hasYellowRedCard?"yellowRed":o.hasRedCard?"red":"yellow",color:o.hasYellowRedCard?void 0:o.hasRedCard?I.S.var("colors.status.error.default"):I.S.var("colors.rating.s65"),isVisible:!!n},c={name:"substitution",icon:(null==(s=o.substitutionOut)?void 0:s.isInjury)?"injury":"regular",isVisible:!!o.substitutionOut,color:(null==(l=o.substitutionOut)?void 0:l.isInjury)?I.S.var("colors.status.error.default"):void 0},u={name:"goal",icon:o.goalsScored===o.penaltiesScored&&o.hasScoredPenalty?"penalty":"regular",count:o.goalsScored,color:I.S.var("colors.surface.t"),isVisible:!!o.goalsScored},d={name:"goalAssist",icon:"football-assist",count:o.goalsAssisted,color:I.S.var("colors.surface.t"),isVisible:!!o.goalsAssisted},p={name:"goal",icon:"ownGoal",count:o.ownGoalsScored,color:I.S.var("colors.status.error.default"),isVisible:!!o.ownGoalsScored};return{playerLeftStatistics:[i,c,{name:"matchMVP",color:(0,ez.Et)(null==(r=e.statistics)?void 0:r.rating),isVisible:!!a}],playerRightStatistics:[u,d,p]}}(e,t,a);return(0,s.jsx)(s.Fragment,{children:(0,s.jsxs)(n.so,{w:"100%",h:"100%",px:r?void 0:"xs",position:"absolute",justify:l===m.V.Confirmed?"space-between":"flex-start",children:[o&&(0,s.jsx)(eH,{alignment:"left",incidents:o}),l===m.V.Confirmed&&i&&(0,s.jsx)(eH,{alignment:"right",incidents:i,compactDisplay:r})]})})}a(52462);var eN=a(91407);let eF=({player:e,event:t,isMatchMVP:a,incidents:l,chipType:r,lineupsType:i,numberOfPlayersInRow:c,hasRating:u,getPlayerCharacteristicLabel:d=()=>null,getTranslatedPlayerName:p=e=>e.player.shortName})=>{var h;let{mediaBreakpoint:f,isDesktopMedium:g}=(0,o.$c)(),y=r===m.k.Performance,v=(null==l?void 0:l.filter(t=>{var a;return(null==(a=null==t?void 0:t.player)?void 0:a.id)===e.player.id&&("red"===t.incidentClass||"yellowRed"===t.incidentClass)}).length)!==0&&y;return(0,s.jsxs)(n.so,{direction:"column",align:"center",children:[(0,s.jsxs)(n.so,{position:"relative",direction:"column",justify:"center",align:"center",w:"100%",h:"100%",maxW:"[68px]",maxH:"[52px]",children:[(0,s.jsx)(n.az,{w:"3xl",h:"3xl",br:"50%",bg:"surface.s0",children:(0,s.jsx)(eN.t,{size:40,id:null==(h=e.player)?void 0:h.id,style:{opacity:v?.5:1}})}),y&&(0,s.jsx)(eB,{player:e,incidents:l,isMatchMVP:a,lineupsType:i,compactDisplay:g||"xxs"===f&&5===c}),d({player:e,event:t,chipType:r,lineupsType:i,hasRating:u})]}),p(e)]})};function eE({teamSide:e,playerFormation:t,incidents:a,playerOfTheMatchId:l,playerCharacteristic:r,lineupsType:i,isHorizontalLayout:c,event:u,hasRatings:d,order:p,getPlayerCharacteristicLabel:h,getTranslatedPlayerName:f,onPlayerClick:g}){let m="rtl"===(0,b.useTheme)().settings.textDirection,{mediaBreakpoint:y,isDesktopMedium:v}=(0,o.$c)(),x=v||"xxs"===y&&5===t.length;return(0,s.jsxs)(V.XF,{side:e,isHorizontalLayout:c,order:p,children:[(0,s.jsx)(V.mi,{side:e,isHorizontalLayout:c,children:t.map((o,p)=>{let y=c?e===(m?"left":"right")?"column":"column-reverse":e===(m?"right":"left")?"row":"row-reverse";return(0,s.jsx)(n.so,{flex:"[1 1 auto]",align:"center",justify:"space-evenly",direction:y,children:(0,s.jsx)(n.so,{w:c?void 0:"100%",h:c?"100%":void 0,justify:"space-evenly",direction:y,children:o.map(e=>(0,s.jsx)(n.so,{direction:"column",justify:"flex-start",align:"center",flex:"[1 1 100%]",w:x?"[60px]":void 0,maxW:{base:"12xl",md:5===t.length?"[86px]":"[108px]"},minW:"[60px]",maxH:"[76px]",pt:c?"0":"[6px]",cursor:e.player.disabled?"not-allowed":"pointer",onClick:()=>{g&&g(e)},children:(0,s.jsx)(n.az,{w:"100%",children:(0,s.jsx)(eF,{player:e,isMatchMVP:e.player.id===l,incidents:a,chipType:r,lineupsType:i,numberOfPlayersInRow:o.length,event:u,hasRating:!!d,getPlayerCharacteristicLabel:h,getTranslatedPlayerName:f},e.player.id)})},e.player.id))})},p)})}),(0,s.jsx)(L.A,{side:e,linesColor:V.ob,isHorizontalLayout:c})]})}var eD=a(81278),eZ=a(46222),eK=a(66331),eY=a(96861),eW=a(31830),eQ=a(88715),eU=a(95084),e$=a(48827),eX=a(95543),eq=a(87827);let eJ=e=>{var t;let{player:a,rating:l}=e;return(0,s.jsx)(i.so,{position:"absolute",top:"33px",children:(0,s.jsx)(eq.G,{rating:l,format:"box",decimalPoints:(null==(t=a.statistics)?void 0:t.rating)?void 0:2,size:"sm",isOnColor:!0})})};var e0=a(53192);let e1=e=>{var t,a;let{chipType:l,player:r}=e,o=null==(a=r.player)||null==(t=a.country)?void 0:t.alpha2;return(0,s.jsxs)(i.so,{p:"xxs",br:"xxs",bg:"onColor.primary",elevation:2,justify:"center",align:"center",position:"absolute",top:"31px",children:[l===m.k.Club&&(0,s.jsx)(v.p,{id:r.teamId,size:16}),l===m.k.Nationality&&(o?(0,s.jsx)(e0.w,{alpha2:o,size:16}):(0,s.jsx)(i.az,{w:"lg",h:"lg",bg:"neutral.default",br:"50%"}))]})};var e5=a(94536);function e2(e){let{player:t,event:a,chipType:o,lineupsType:n,hasRating:c}=e,d=(0,e5.lV)(t,n),p=(()=>{var e,a,s,r;switch(o){case l.k.Age:return null==(e=t.player)?void 0:e.dateOfBirthTimestamp;case l.k.MarketValue:return null==(a=t.player)?void 0:a.proposedMarketValueRaw;case l.k.Height:return null==(s=t.player)?void 0:s.height;case l.k.Distance:return null==(r=t.statistics)?void 0:r.kilometersCovered;default:return}})();return o===l.k.Performance?c?(0,s.jsx)(eJ,{player:t,rating:d}):null:[l.k.Club,l.k.Nationality].includes(o)?(0,s.jsx)(e1,{chipType:o,player:t}):(0,s.jsx)(i.so,{border:"onColor.primary",minW:"24px",maxH:"16px",justify:"center",align:"center",px:"xs",bg:"surface.s1",position:"absolute",top:"34px",children:(0,s.jsx)(i.EY,{font:"assistive.default",lineHeight:"16px",color:p?void 0:"onSurface.nLv3",style:{textWrap:"nowrap"},children:p?(0,s.jsxs)(s.Fragment,{children:[o===l.k.Age&&(0,s.jsxs)(s.Fragment,{children:[(0,r.Dr)(p,a.startTimestamp)," ",(0,s.jsx)(u.A,{id:"years_shorter",values:{n:(0,r.Dr)(p,a.startTimestamp)}})]}),o===l.k.MarketValue&&(0,s.jsx)(k.o,{parsedMoney:(0,x.oaz)(p)}),o===l.k.Height&&(0,s.jsx)(S.Z,{value:p,fromUnit:"cm"}),o===l.k.Distance&&(0,s.jsx)(s.Fragment,{children:"".concat((0,eX.M)(p,1)," km")})]}):"-"})})}var e3=a(80055);function e9(e){let t=(0,e3.z)(e.player,!0);return(0,s.jsxs)(i.EY,{font:"table.small",lineHeight:"12px",color:"onColor.primary",align:"center",mt:"md",px:"xs",w:"100%",children:[(0,s.jsx)(i.EY,{font:"table.small",lineHeight:"12px",color:"onColor.secondary",display:"inline-block",mr:"xxs",children:e.jerseyNumber}),e.captain?"(c) ".concat(t):t]})}var e4=a(92667);let e6=(0,c.forwardRef)((e,t)=>{let a=(0,eD.useRouter)(),l=(0,eW.A)(),{location:r,event:i,leftTeam:u,rightTeam:p}=(0,c.useContext)(d.y$),{isDesktop:h}=(0,o.$c)(),{openEventPlayerStatistics:y}=(0,eK.d)(),{lineups:v,leftFormation:b,rightFormation:j,playerOfTheMatchId:_,shareButton:S}=e,k=i.tournament.category.sport.slug,C=i.status.type===x.XUj.NotStarted&&k===x.QCR.Football,w=h&&r===d.cb.EventPage,{playerCharacteristicChip:V,setPlayerCharacteristicChip:L}=(0,c.useContext)(e$.h),[I,T]=(0,e4.ax)(v);if(!b||!j)return null;let R=(0,e5.ZB)(b,j,v.left.players,v.right.players,i.startTimestamp),A=v.left.players.some(e=>!!e.avgRating)||v.right.players.some(e=>!!e.avgRating),G=v.left.players.some(e=>{var t;return!!(null==(t=e.statistics)?void 0:t.kilometersCovered)})||v.right.players.some(e=>{var t;return!!(null==(t=e.statistics)?void 0:t.kilometersCovered)}),H=[...b||[],...j||[]].some(e=>e.some(e=>{var t;return null==(t=e.statistics)?void 0:t.rating})),O=i.status.type===x.XUj.NotStarted,z=k===x.QCR.Football?i.status.type===x.XUj.NotStarted?A:H:void 0,B=i.status.type===x.XUj.Finished||e.confirmed?m.V.Confirmed:m.V.Possible,N=f.wf.includes(V),F=e=>{e.player.disabled||(C||i.hasEventPlayerStatistics?y({event:i,player:e.player},eY._.Lineups):a.push(eQ.z.getTranslatedRoute(l,"player",{id:e.player.id,slug:e.player.slug,sport:k}).route))};return(0,s.jsxs)(n.so,{direction:"column",gap:w?void 0:"sm",children:[(0,s.jsxs)(n.az,{px:w?"sm":void 0,children:[(0,s.jsx)(M,{isConfirmed:e.confirmed,eventStatus:i.status.type,shareButton:S,order:w?1:2}),(0,s.jsx)(g,{isNational:!!i.homeTeam.national&&!!i.awayTeam.national,eventTimestamp:i.startTimestamp,onTabChange:e=>{(0,eU.ke)({action:"click",location:"event_lineups",type:e===m.k.MarketValue?"market_value":e}),L(e)},order:w?2:1,isHorizontalLayout:!!w,hasDistance:G})]}),(0,s.jsx)(n.az,{px:w?void 0:"sm",children:(0,s.jsx)(eZ.Zp,{children:(0,s.jsxs)(n.so,{ref:t,position:"relative",w:"100%",direction:w?"row":"column",justify:"space-between",align:"stretch",wrap:"wrap",children:[(0,s.jsx)(P,{team:u,teamSide:x.cxP.Left,formation:v.left.formation,jersey:v.leftJerseyUrls.player,chipType:V,avgRating:I,avgData:N?R[V].leftTeamValue:void 0,avgMessageId:N?R[V].messageId:void 0,isHorizontalLayout:w,isNotStarted:O,order:3}),(0,s.jsx)(eE,{teamSide:x.cxP.Left,playerFormation:b,incidents:e.incidents,playerOfTheMatchId:_,lineupsType:B,playerCharacteristic:V,isHorizontalLayout:w,hasRatings:z,event:i,order:w?4:3,getPlayerCharacteristicLabel:e2,getTranslatedPlayerName:e9,onPlayerClick:F}),(0,s.jsx)(eE,{teamSide:x.cxP.Right,playerFormation:j,incidents:e.incidents,playerOfTheMatchId:_,lineupsType:B,playerCharacteristic:V,isHorizontalLayout:w,hasRatings:z,event:i,order:w?5:4,getPlayerCharacteristicLabel:e2,getTranslatedPlayerName:e9,onPlayerClick:F}),(0,s.jsx)(P,{team:p,teamSide:x.cxP.Right,formation:v.right.formation,jersey:v.rightJerseyUrls.player,chipType:V,avgRating:T,avgData:N?R[V].rightTeamValue:void 0,avgMessageId:N?R[V].messageId:void 0,isHorizontalLayout:w,isNotStarted:O,order:w?3:5})]})})})]})})},70047:(e,t,a)=>{a.d(t,{C:()=>i});var s=a(99452),l=a.n(s),r=a(73259),o=a(92859),n=a(96861);function i(e,t,a,s){let i=t.stat,c=t.dir,u=[],d=[];if(i.value===o.K.Position&&(u.push(e=>r.EN[s].indexOf(e.position)),d.push(t.dir)),i.percentageOnly&&(u.push(e=>{let t=e.statistics&&i.madesValue?e.statistics[i.madesValue]:0,a=e.statistics&&i.attemptsValue?e.statistics[i.attemptsValue]:0;return t&&a?t/a:0}),d.push(t.dir)),i.madesValue){let e=i.madesValue;if(u.push(t=>{var a,s;return null!=(s=null==(a=t.statistics)?void 0:a[e])?s:0}),d.push(c),i.attemptsValue&&i.reverseSecondCompare){let e=i.attemptsValue;u.push(t=>{var a,s;return null!=(s=null==(a=t.statistics)?void 0:a[e])?s:0}),d.push(c===n.U.ASC?n.U.DESC:n.U.ASC)}}let p=i.compareValue;return p&&(u.push(e=>{var t,a;return null!=(a=null==(t=e.statistics)?void 0:t[p])?a:0}),d.push(c)),u.push(e=>{var t,a;return null!=(a=null==(t=e.statistics)?void 0:t[i.value])?a:0}),d.push(c),u.push(e=>{var t,s;return null!=(s=null==(t=e.statistics)?void 0:t[a.value])?s:0}),d.push(n.U.DESC),u.push(e=>{var t;return null!=(t=e.player.shortName)?t:""}),d.push(n.U.ASC),l()(e,u,d)}},72590:(e,t,a)=>{a.d(t,{A:()=>u});var s=a(6029),l=a(87827),r=a(21377),o=a(4967),n=a(95543),i=a(77285);function c(e){let t="rtl"===document.dir;if(100===e||1===e)return"1.00";let a=e<1?e:(0,n.M)(e/100,3),s="".concat(a).substring(1).padEnd(4,"0");return t?s.replace(".","").padEnd(4,"."):s}let u=function(e){var t,a,u,d,p;let{stat:h,sport:f}=e,{selectedStat:g}=e;switch(g=g.split(i.I)[0],f){case r.QCR.Football:return"rating"===(t=g)?(0,s.jsx)(l.G,{format:"sideBox",rating:h[t]}):"accuratePasses"===t?"".concat((0,n.M)(h.accuratePasses/h.appearances,1)," (").concat((0,n.M)(h.accuratePassesPercentage),"%)"):"successfulDribbles"===t?"".concat((0,n.M)(h.successfulDribbles/h.appearances,1)," (").concat((0,n.M)(h.successfulDribblesPercentage),"%)"):"penaltyGoals"===t?h.penaltiesTaken?"".concat(h.penaltyGoals," / ").concat(h.penaltiesTaken):h.penaltyGoals:"freeKickGoal"===t?"".concat(h.freeKickGoal," / ").concat(h.shotFromSetPiece):"scoringFrequency"===t?(0,n.M)(h[t]):"totalShots"===t?"".concat((0,n.M)(h.totalShots/h.appearances,1)):"shotsOnTarget"===t?"".concat((0,n.M)(h.shotsOnTarget/h.appearances,1)):"keyPasses"===t?(0,n.M)(h.keyPasses/h.appearances,1):"accurateLongBalls"===t?(0,n.M)(h.accurateLongBalls/h.appearances,1):"tackles"===t?(0,n.M)(h.tackles/h.appearances,1):"interceptions"===t?(0,n.M)(h.interceptions/h.appearances,1):"possessionLost"===t?(0,n.M)(h.possessionLost/h.appearances,1):"saves"===t?(0,n.M)(h.saves/h.appearances,1):"mostConceded"===t||"leastConceded"===t?(0,n.M)(h.goalsConceded/h.appearances,1):"clearances"===t?(0,n.M)(h.clearances/h.appearances,1):"expectedGoals"===t?"".concat((0,n.M)(h.expectedGoals,2)," (").concat(h.goals,")"):"expectedAssists"===t?"".concat((0,n.M)(h.expectedAssists,2)," (").concat(h.assists||0,")"):"goalsPrevented"===t?"".concat((0,n.M)(h.goalsPrevented,2)):"kilometersCovered"===t?"".concat((0,n.M)(h.kilometersCovered/h.minutesPlayed*90,1)," km"):"numberOfSprints"===t?"".concat((0,n.M)(h.numberOfSprints/h.minutesPlayed*90,1)):"topSpeed"===t?"".concat((0,n.M)(h.topSpeed,1)," km/h"):h[t];case r.QCR.Basketball:return"rating"===(a=g)?(0,s.jsx)(l.G,{format:"sideBox",rating:h[a]}):"secondsPlayed"===a?(0,o.OV)(h.secondsPlayed/h.appearances):"fieldGoalsPercentage"===a?"".concat((0,n.M)(h.fieldGoalsPercentage),"% (").concat((0,n.M)(h.fieldGoalsMade/h.appearances,1),")"):"freeThrowsPercentage"===a?"".concat((0,n.M)(h.freeThrowsPercentage),"% (").concat((0,n.M)(h.freeThrowsMade/h.appearances,1),")"):"threePointsPercentage"===a?"".concat((0,n.M)(h.threePointsPercentage),"% (").concat((0,n.M)(h.threePointsMade/h.appearances,1),")"):"points"===a?(0,n.M)(h.points/h.appearances,1):"rebounds"===a?(0,n.M)(h.rebounds/h.appearances,1):"assists"===a?(0,n.M)(h.assists/h.appearances,1):"defensiveRebounds"===a?(0,n.M)(h.defensiveRebounds/h.appearances,1):"offensiveRebounds"===a?(0,n.M)(h.offensiveRebounds/h.appearances,1):"steals"===a?(0,n.M)(h.steals/h.appearances,1):"turnovers"===a?(0,n.M)(h.turnovers/h.appearances,1):"blocks"===a?(0,n.M)(h.blocks/h.appearances,1):"assistTurnoverRatio"===a?(0,n.M)(h.assistTurnoverRatio,2):"plusMinus"===a?(0,n.M)(h.plusMinus/h.appearances,1):"pir"===a?(0,n.M)(h.pir/h.appearances,1):h[a];case r.QCR.IceHockey:return"shotPercentage"===(u=g)?c(h.shotPercentage):"faceOffPercentage"===u?c(h.faceOffPercentage):"timeOnIce"===u?(0,o.OV)(h.timeOnIce/h.appearances):"penaltyMinutes"===u?(0,n.M)(h.penaltyMinutes/h.appearances,1):"savePercentage"===u?c(h.savePercentage):"goalsAgainstAverage"===u?(0,n.M)(h.goalsAgainstAverage,2):"shortHandedSavePercentage"===u?c(h.shortHandedSavePercentage):"powerPlaySavePercentage"===u?c(h.powerPlaySavePercentage):"evenSavePercentage"===u?c(h.evenSavePercentage):h[u];case r.QCR.AmericanFootball:return"passingCompletionPercentage"===(d=g)?"".concat((0,n.M)(h.passingCompletionPercentage),"% (").concat((0,n.M)(h.passingCompletions/h.appearances,1),")"):"kickingFgMade"===d?"".concat(h.kickingFgMade," / ").concat(h.kickingFgAttempts):"defensiveTotalTackles"===d?(0,n.M)(h.defensiveTotalTackles/h.appearances,1):"defensiveSacks"===d?(0,n.M)(h.defensiveSacks,1):"passingTouchdownInterceptionRatio"===d?(0,n.M)(h.passingTouchdownInterceptionRatio,2):"rushingYardsPerAttempt"===d?(0,n.M)(h.rushingYardsPerAttempt,1):"receivingYardsPerReception"===d?(0,n.M)(h.receivingYardsPerReception,1):h[d];case r.QCR.Handball:return"goalkeeperEfficiencyPercentage"===(p=g)?"".concat((0,n.M)(h.goalkeeperEfficiencyPercentage,2),"%"):"goals7m"===p?"".concat(h.goals7m," / ").concat(h.shots7m," (").concat((0,n.M)(h.goals7m/h.shots7m*100),"%)"):"gk7mSaves"===p?"".concat(h.gk7mSaves," / ").concat(h.gk7mShots," (").concat((0,n.M)(h.gk7mSaves/h.gk7mShots*100),"%)"):h[p];default:return h[g]}}},72696:(e,t,a)=>{a.d(t,{M:()=>n});var s=a(21377),l=a(4967),r=a(59e3),o=a(11996);let n=e=>{let t=t=>e.status.type===s.XUj.NotStarted&&e.season&&e.tournament.uniqueTournament&&e.seasonStatisticsType&&r.u.includes(e.tournament.category.sport.slug)?s.cWY.topPlayers(t,e.tournament.uniqueTournament.id,e.season.id,e.seasonStatisticsType):void 0,a=t(e.homeTeam.id),n=t(e.awayTeam.id),{hasHome:i,hasAway:c}=(0,o.A)({hasHome:{route:t(e.homeTeam.id),skipCheck:!a,deduplicationInterval:15*l.pY},hasAway:{route:t(e.awayTeam.id),skipCheck:!n,deduplicationInterval:15*l.pY}},[a,n]);return{hasPregameTopPlayers:!!i&&!!c,couldHavePregameTopPlayers:!1!==i&&!1!==c&&!!a&&!!n}}},73183:(e,t,a)=>{a.d(t,{A:()=>n,I:()=>o});var s=a(55729),l=a(96861),r=a(70047);let o=(e,t)=>{let a=t.short||e.stat.short;return a&&t.short===e.stat.short||!a&&e.stat.value===t.value?{stat:e.stat,dir:e.dir===l.U.DESC?l.U.ASC:l.U.DESC}:{stat:t,dir:l.U.DESC}},n=(e,t,a)=>{let[n,i]=(0,s.useState)({stat:t,dir:l.U.DESC}),c=(0,r.C)(e,n,t,a),u=(0,s.useCallback)(e=>{i(t=>o(t,e))},[]);return{sortConfig:n,setSortConfig:i,sortedPlayers:c,updateSortStatistic:u}}},73259:(e,t,a)=>{a.d(t,{EN:()=>i,Oi:()=>n,aS:()=>l,sI:()=>o,v1:()=>r});var s=a(21377);let l="goalkeeperGroup",r="goalkeepersGroup",o="G",n={[s.QCR.Football]:{summaryGroup:"rating",attackGroup:"rating",defenceGroup:"rating",passingGroup:"rating",duelsGroup:"rating",goalkeeperGroup:"rating"},[s.QCR.Basketball]:{summaryGroup:"points",pointsGroup:"points",reboundsGroup:"rebounds",otherGroup:"assists"},[s.QCR.Handball]:{playersGroup:"goals",goalkeepersGroup:"goalkeeperEfficiencyPercentage"},[s.QCR.IceHockey]:{summaryGroup:"goals",attackingGroup:"goals",defensiveGroup:"blocked",goalkeeperGroup:"goalkeeperEfficiencyPercentage",otherGroup:"plusMinus"},[s.QCR.AmericanFootball]:{passingGroup:"passingYards",rushingGroup:"rushingAttempts",receivingGroup:"receivingReceptions",defensiveGroup:"defensiveCombineTackles",interceptionsGroup:"defensiveInterceptions",fumblesGroup:"fumbleFumbles",kickingGroup:"kickingTotalPoints",puntingGroup:"puntingTotal",kickReturnsGroup:"kickReturnsTotal",puntReturnsGroup:"puntReturnsTotal"},[s.QCR.Volleyball]:{pointsGroup:"pointsTotal",servesGroup:"serves",receptionGroup:"receptionTotal",attackGroup:"attacksTotal"}},i={[s.QCR.Football]:["G","D","M","F"],[s.QCR.Basketball]:["G","GF","FG","F","FC","CF","C"],[s.QCR.IceHockey]:["F","C","L","R","M","D","G"],[s.QCR.AmericanFootball]:["QB","RB","WR","TE","FB","OT","OG","G","C","T","OL","SS","FS","DB","CB","NT","DT","DE","OLB","LB","ILB","DL","SAF","MLB","P","LS","K","PR"],[s.QCR.Baseball]:["P","SP","RP","CP","RHP","LHP","RHS","LHS","LHR","RHR","C","DH","PH","B","PR","BR","1B","2B","3B","SS","IF","UT","UI","LF","CF","RF","OF","UO"]}},75853:(e,t,a)=>{a.d(t,{A:()=>o});var s=a(6029),l=a(21377),r=a(46222);function o(){return(0,s.jsxs)(r.Zp,{children:[(0,s.jsx)(r.Zp.Header,{titleId:"top_players",values:{gender:l.YT8.Male}}),(0,s.jsx)("div",{style:{height:780}})]})}},83094:(e,t,a)=>{a.d(t,{A:()=>S});var s=a(6029),l=a(21377),r=a(28349),o=a(25940),n=a(55729),i=a(46222),c=a(18970),u=a(18974),d=a(54548),p=a(92667),h=a(99913),f=a(33904),g=a(84823);function m(){return(0,s.jsx)(o.az,{h:900})}var y=a(76356);function v(e){let{team:t,event:a,lineups:l}=e,r=l.players.filter(e=>!e.substitute);return 0===r.length?null:(0,s.jsx)(y.so,{direction:"column",py:"sm",gap:"sm",children:(0,s.jsx)(g.A,{players:r,team:t,event:a,hideTeamHeader:!0,highlightStarters:!1})})}function x(e){let{team:t,event:a,lineups:l}=e,r=l.players.filter(e=>e.substitute);return 0===r.length?null:(0,s.jsx)(y.so,{direction:"column",py:"sm",gap:"sm",children:(0,s.jsx)(g.A,{players:r,team:t,event:a,hideTeamHeader:!0})})}function b(e){let{manager:t,lineups:a}=e;return t||a.supportStaff&&a.supportStaff.length>0?(0,s.jsx)(y.so,{direction:"column",py:"sm",gap:"sm",children:(0,s.jsx)(f.A,{manager:t,supportStaff:a.supportStaff||[]})}):null}function j(e){var t;let{lineups:a}=e;return(null==a||null==(t=a.missingPlayers)?void 0:t.length)?(0,s.jsx)(y.so,{direction:"column",py:"sm",gap:"sm",children:(0,s.jsx)(h.cW,{missingPlayers:a.missingPlayers})}):null}function _(){let{event:e,leftTeam:t,rightTeam:a}=(0,n.useContext)(c.y$),{managers:l}=(0,d.K)(e),{lineups:r}=(0,p.Ir)({jerseyStyle:"fancy"});if(!r)return null;let u=r.left.players.filter(e=>!e.substitute),h=r.right.players.filter(e=>!e.substitute),f=u.length>0||h.length>0,g=r.left.players.filter(e=>e.substitute),m=r.right.players.filter(e=>e.substitute),_=g.length>0||m.length>0,S=!!(null==l?void 0:l.leftManager)||r.left.supportStaff&&r.left.supportStaff.length>0||!!(null==l?void 0:l.rightManager)||r.right.supportStaff&&r.right.supportStaff.length>0,k=r.left.missingPlayers&&r.left.missingPlayers.length>0||r.right.missingPlayers&&r.right.missingPlayers.length>0;return(0,s.jsxs)(i.Zp,{variant:"mobile-only",children:[f&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(i.Zp.Header,{titleId:"team_playing_eleven"}),(0,s.jsxs)(y.so,{children:[(0,s.jsx)(y.az,{flexGrow:1,flexShrink:1,flexBasis:"1/2",children:(0,s.jsx)(v,{team:t,event:e,lineups:r.left})}),(0,s.jsx)(o.cG,{vertical:!0,mx:"md"}),(0,s.jsx)(y.az,{flexGrow:1,flexShrink:1,flexBasis:"1/2",children:(0,s.jsx)(v,{team:a,event:e,lineups:r.right})})]})]}),_&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(i.Zp.Header,{titleId:"rest_of_squad"}),(0,s.jsxs)(y.so,{children:[(0,s.jsx)(y.az,{flexGrow:1,flexShrink:1,flexBasis:"1/2",children:(0,s.jsx)(x,{team:t,event:e,lineups:r.left})}),(0,s.jsx)(o.cG,{vertical:!0,mx:"md"}),(0,s.jsx)(y.az,{flexGrow:1,flexShrink:1,flexBasis:"1/2",children:(0,s.jsx)(x,{team:a,event:e,lineups:r.right})})]})]}),S&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(i.Zp.Header,{titleId:"support_staff"}),(0,s.jsxs)(y.so,{children:[(0,s.jsx)(y.az,{flexGrow:1,flexShrink:1,flexBasis:"1/2",children:(0,s.jsx)(b,{manager:null==l?void 0:l.leftManager,lineups:r.left})}),(0,s.jsx)(o.cG,{vertical:!0,mx:"md"}),(0,s.jsx)(y.az,{flexGrow:1,flexShrink:1,flexBasis:"1/2",children:(0,s.jsx)(b,{manager:null==l?void 0:l.rightManager,lineups:r.right})})]})]}),k&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(i.Zp.Header,{titleId:"injuries_and_suspensions"}),(0,s.jsxs)(y.so,{children:[(0,s.jsx)(y.az,{flexGrow:1,flexShrink:1,flexBasis:"1/2",children:(0,s.jsx)(j,{lineups:r.left})}),(0,s.jsx)(o.cG,{vertical:!0,mx:"md"}),(0,s.jsx)(y.az,{flexGrow:1,flexShrink:1,flexBasis:"1/2",children:(0,s.jsx)(j,{lineups:r.right})})]})]}),(0,s.jsx)(i.Zp.Footer,{})]})}function S(){var e;let{event:t,leftTeam:a,rightTeam:y,location:v}=(0,n.useContext)(c.y$),{managers:x}=(0,d.K)(t),{lineups:b,error:j}=(0,p.Ir)({jerseyStyle:"fancy"}),[S,k]=(0,n.useState)(l.cxP.Left),{isDesktop:C}=(0,r.$c)(),w=C&&v===c.cb.EventPage;if(j)return null;if(!b)return(0,s.jsx)(m,{});let[P,M,V]=S===l.cxP.Left?[a,null==x?void 0:x.leftManager,b.left]:[y,null==x?void 0:x.rightManager,b.right],L=V.players.filter(e=>!e.substitute),I=V.players.filter(e=>e.substitute),T=!!M||V.supportStaff&&(null==(e=V.supportStaff)?void 0:e.length)>0;return w?(0,s.jsx)(_,{}):(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(o.az,{bg:"surface.s1",w:"100%",position:"sticky",top:[50,0],zIndex:o.Py.Sticky,p:"sm",children:(0,s.jsx)(u.n,{activeTeam:S,onTeamClick:e=>k(e)})}),(0,s.jsxs)(o.so,{direction:"column",p:"sm",gap:"sm",children:[!!L.length&&(0,s.jsxs)(i.Zp,{children:[(0,s.jsx)(i.Zp.Header,{titleId:"team_playing_eleven"}),(0,s.jsx)(g.A,{players:L,team:P,event:t,hideTeamHeader:!0,highlightStarters:!1})]}),!!I.length&&(0,s.jsxs)(i.Zp,{children:[(0,s.jsx)(i.Zp.Header,{titleId:"rest_of_squad"}),(0,s.jsx)(g.A,{players:I,team:P,event:t,hideTeamHeader:!0})]}),T&&(0,s.jsxs)(i.Zp,{children:[(0,s.jsx)(i.Zp.Header,{titleId:"support_staff"}),(0,s.jsx)(f.A,{manager:M,supportStaff:V.supportStaff||[]})]}),!!(b.left.missingPlayers||b.right.missingPlayers)&&(0,s.jsx)(h.Sb,{missingPlayers:V.missingPlayers})]})]})}},84449:(e,t,a)=>{a.d(t,{A:()=>f});var s=a(6029),l=a(21377),r=a(28349),o=a(21501),n=a(25940),i=a(55729),c=a(46222),u=a(18970),d=a(74664),p=a(75853),h=a(72696);function f(){let e=(0,d.o)(),{event:t,location:a,initialHasLineups:f}=(0,i.useContext)(u.y$),{couldHavePregameTopPlayers:g}=(0,h.M)(t),{isDesktop:m}=(0,r.$c)(),y=m&&a===u.cb.EventPage,v=(0,o.hX)();return e!==l.QCR.Football&&g?(0,s.jsx)(p.A,{}):v&&!f?null:y?(0,s.jsx)(c.Zp,{children:(0,s.jsxs)(n.az,{display:["none","block"],children:[(0,s.jsx)(n.az,{h:46}),(0,s.jsx)(n.az,{h:48}),(0,s.jsxs)(n.so,{pb:"sm",px:"sm",gap:"sm",children:[(0,s.jsx)(n.az,{h:72,w:"50%",bg:"surface.s2",br:"lg"}),(0,s.jsx)(n.az,{h:72,w:"50%",bg:"surface.s2",br:"lg"})]}),(0,s.jsx)(n.az,{h:432,bg:"surface.s2",mx:"sm"}),(0,s.jsx)(n.az,{h:56,m:"sm",bg:"surface.s2",br:"lg"}),(0,s.jsx)(n.az,{h:240})]})}):(0,s.jsx)(n.az,{display:["block","none"],h:946})}},84823:(e,t,a)=>{a.d(t,{A:()=>M});var s=a(6029),l=a(33144),r=a(21377),o=a(25940),n=a(55729),i=a(66331),c=a(96861),u=a(64006),d=a(88505),p=a(99902),h=a(25766),f=a(91407),g=a(48485),m=a(19991),y=a(90248),v=a(18970),x=a(52466),b=a(57719),j=a(80055),_=a(33079),S=a(94536),k=a(48827),C=a(39836);let w=e=>{let{summary:t,type:a}=e;return(0,s.jsxs)(o.so,{align:"center",mt:"xs",children:[(0,s.jsx)(_.FU,{isInjury:t.isInjury}),(0,s.jsx)(o.EY,{font:"assistive.default",color:"onSurface.nLv3",mx:"xxs",ml:"xs",children:t.time&&"".concat(t.time,"'")}),t.forPlayer&&(0,s.jsxs)(o.EY,{font:"assistive.default",color:"onSurface.nLv3",mx:"xxs",children:[(0,s.jsx)(y.A,{id:"out"===a?"substitution.in":"substitution_out"}),": \xa0",t.forPlayer]})]})};function P(e){var t,a,l,i,c;let{player:d,onClick:p,incidents:P,hasRating:M,isLast:V,isNotStarted:L,highlightStarter:I=!0,isPlayerOfTheMatch:T}=e,R=(null==d||null==(t=d.statistics)?void 0:t.rating)?Number(d.statistics.rating):void 0,{playerCharacteristicChip:A}=(0,n.useContext)(k.h),G=A===h.k.Performance,{name:H,id:O}=d.player,z=(0,n.useMemo)(()=>P?(0,g.h)({id:d.player.id,incidents:P,useShortName:d.substitute}):{},[d,P]),B=(0,j.z)(d.player),N=(0,S.sP)(B,d.captain,!0),F=(0,n.useContext)(v.Ws),E=F===r.QCR.Cricket,D="rtl"===document.dir,Z=!d.substitute&&I;return!R&&L&&d.avgRating&&(R=d.avgRating),(0,s.jsx)(u.uc,{player:d.player,onClick:p,sportSlug:F,children:(0,s.jsxs)(o.so,{hoverBg:d.player.disabled?void 0:"surface.s2",cursor:d.player.disabled?"not-allowed":"pointer",children:[(0,s.jsx)(o.az,{py:"xxs",children:(0,s.jsx)(o.az,{w:4,h:"100%",bg:Z?"sofaSingles.value":"transparent"})}),(0,s.jsxs)(o.az,{position:"relative",pl:"md",pr:"lg",py:"sm",children:[(0,s.jsx)(f.t,{size:40,id:O,name:H}),T&&(0,s.jsx)(x.ue7,{position:"absolute",fill:(0,m.Et)(null==(a=d.statistics)?void 0:a.rating),bottom:8,left:16,w:16,h:16}),Z&&(0,s.jsx)(o.az,{position:"absolute",bottom:4,left:"50%",style:{transform:D?"translateX(50%)":"translateX(-50%)"},bg:"sofaSingles.value",br:6,children:(0,s.jsx)(o.EY,{px:"6px",font:"assistive.micro",color:"surface.s1",as:"div",children:(0,s.jsx)(y.A,{id:"starter"})})})]}),(0,s.jsxs)(o.so,{borderBottom:V?void 0:"onSurface.nLv4",align:"center",flex:"1 1 auto",mr:"lg",children:[(0,s.jsxs)(o.so,{direction:"column",minW:0,flex:"1",children:[(0,s.jsxs)(o.so,{title:N,align:"center",children:[(0,s.jsxs)(o.EY,{font:"body.medium",color:"onSurface.nLv1",mr:"xs",children:[d.jerseyNumber&&(0,s.jsx)(o.az,{as:"bdi",mr:"xs",children:d.jerseyNumber}),(0,s.jsx)(o.az,{as:"span",children:N})]}),G&&(0,s.jsx)(_.AG,{...z}),G&&(0,s.jsx)(_.X0,{...z})]}),(null==(l=z.substitutionIn)?void 0:l.time)&&(null==(i=z.substitutionIn)?void 0:i.forPlayer)&&(0,s.jsx)(w,{summary:z.substitutionIn,type:"in"}),(null==(c=z.substitutionOut)?void 0:c.time)&&(0,s.jsx)(w,{summary:z.substitutionOut,type:"out"}),E&&d.position&&(0,s.jsx)(o.EY,{font:"assistive.default",color:"onSurface.nLv3",mx:"xxs",ml:"xs",children:(0,s.jsx)(b.F,{id:d.position})})]}),(0,s.jsx)(o.so,{align:"center",children:(0,s.jsx)(C.M,{player:d,hasRating:M,rating:R})})]})]})})}function M(e){let{players:t,team:a,event:h,manager:f,incidents:g,showLastMatches:m,hasTopBorder:y,hideTeamHeader:v,highlightStarters:x=!0,hasRating:b,playerOfTheMatchId:j}=e,_=h.tournament.category.sport.slug,{openEventPlayerStatistics:S}=(0,i.d)(),k=(0,n.useCallback)(e=>t=>{!e.disabled&&(m||h.hasEventPlayerStatistics)&&(t.preventDefault(),S({event:h,player:e},c._.Lineups))},[h,t,S]),C=t.length>0,w=!!f,M=_===r.QCR.Football;return C||w?(0,s.jsxs)(o.az,{pt:"sm",pb:["sm","md"],flex:"1 1 50%",borderTop:y?"onSurface.nLv4":void 0,children:[!v&&!M&&(0,s.jsx)(u.gT,{team:a,sport:_,children:(0,s.jsxs)(o.so,{align:"center",hoverBg:"surface.s2",cursor:"pointer",children:[(0,s.jsx)(o.az,{px:"lg",py:"sm",children:(0,s.jsx)(l.p,{id:a.id,name:a.name,size:40})}),(0,s.jsx)(o.az,{children:(0,s.jsx)(o.EY,{font:"display.large",children:(0,s.jsx)(d.Rm,{team:a})})})]})}),w&&!M&&(0,s.jsx)(p.A,{manager:f,isBorderHidden:!C,incidents:null==g?void 0:g.filter(e=>e.manager)}),t.map((e,a)=>(0,s.jsx)(P,{player:e,incidents:g,hasRating:b,onClick:k(e.player),isNotStarted:h.status.type===r.XUj.NotStarted,isLast:a===t.length-1,highlightStarter:x,isPlayerOfTheMatch:j===e.player.id},e.player.id))]}):null}},86876:(e,t,a)=>{a.d(t,{A:()=>r});var s=a(6029),l=a(39895);function r(e){return(0,s.jsx)(l.A,Object.assign({width:16,height:16,viewBox:"0 0 16 16"},e,{children:(0,s.jsx)("path",{d:"M4.75 5.44043H5.5V1.91992H6.25V7L7 5.5L7.75 6L6.5 9L5.5 10V15H1.75V10L1 8.06543V2.32715H1.75V5.44043H2.5V1.5L3.25 1.47754V5.44043H4V1H4.75V5.44043ZM12 5.44043H12.75V1.47754L13.5 1.5V5.44043H14.25V2.32715H15V8.06543L14.25 10V15H10.5V10L9.5 9L8.25 6L9 5.5L9.75 7V1.91992H10.5V5.44043H11.25V1H12V5.44043Z",fill:e.fill})}))}},86931:(e,t,a)=>{a.d(t,{f:()=>C,Y:()=>o});var s=a(21377),l=a(45860),r=a(63561);function o(e){let t=e.tournament.category.sport.slug!==s.QCR.Football||e.status.type!==s.XUj.Finished,{data:a,isLoading:o}=(0,l.Ay)(t?null:s.bnp.bestPlayersSummary(e.id),(0,r.rf)(e)),n=null==a?void 0:a.playerOfTheMatch,i=null==a?void 0:a.bestHomeTeamPlayers.find(e=>e.player.id===(null==n?void 0:n.player.id));return{isLoading:!t&&o,bestPlayer:(null==n?void 0:n.label)==="rating"?n:void 0,team:n?i?e.homeTeam:e.awayTeam:void 0}}var n=a(6029),i=a(32190),c=a(28349),u=a(21501),d=a(76356),p=a(55729),h=a(90248),f=a(46222),g=a(18970),m=a(52466),y=a(41910),v=a(32019),x=a(66331),b=a(96861),j=a(94156);function _(){return(0,n.jsx)("svg",{width:"133",height:"120",viewBox:"0 0 133 120",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,n.jsx)("g",{id:"Symbols",children:(0,n.jsx)("g",{id:"Cards/Player-Of-The-Season-Card-",children:(0,n.jsxs)("g",{id:"Pattern-Left",children:[(0,n.jsx)("path",{id:"Path",d:"M56.9883 114H75.9883V133H56.9883V114Z",fill:"var(--primary-default)",fillOpacity:"0.15"}),(0,n.jsxs)("g",{id:"Group",opacity:"0.8",children:[(0,n.jsx)("path",{id:"Path_2",d:"M38 114H57V133H38V114Z",fill:"var(--primary-default)",fillOpacity:"0.15"}),(0,n.jsx)("path",{id:"Path_3",d:"M76 95.0001H95V114H76V95.0001Z",fill:"var(--primary-default)",fillOpacity:"0.15"}),(0,n.jsx)("path",{id:"Path_4",d:"M95 95.0001H114V114H95V95.0001Z",fill:"var(--primary-default)",fillOpacity:"0.15"}),(0,n.jsx)("path",{id:"Path_5",d:"M57 56.9998H76V76H57V56.9998Z",fill:"var(--primary-default)",fillOpacity:"0.15"}),(0,n.jsx)("path",{id:"Path_6",d:"M95 56.9998H114V76H95V56.9998Z",fill:"var(--primary-default)",fillOpacity:"0.15"}),(0,n.jsx)("path",{id:"Path_7",d:"M114 56.9998H133V76H114V56.9998Z",fill:"var(--primary-default)",fillOpacity:"0.15"}),(0,n.jsx)("path",{id:"Path_8",d:"M0 0H19V19H0V0Z",fill:"var(--primary-default)",fillOpacity:"0.15"}),(0,n.jsx)("path",{id:"Path_9",d:"M57 0H76V19H57V0Z",fill:"var(--primary-default)",fillOpacity:"0.15"})]}),(0,n.jsxs)("g",{id:"Group_2",opacity:"0.5",children:[(0,n.jsx)("path",{id:"Path_10",d:"M76 114H95V133H76V114Z",fill:"var(--primary-default)",fillOpacity:"0.15"}),(0,n.jsx)("path",{id:"Path_11",d:"M0 95H19V114H0V95Z",fill:"var(--primary-default)",fillOpacity:"0.15"}),(0,n.jsx)("path",{id:"Path_12",d:"M57 95H76V114H57V95Z",fill:"var(--primary-default)",fillOpacity:"0.15"}),(0,n.jsx)("path",{id:"Path_13",d:"M76 75.9999H95V94.9996H76V75.9999Z",fill:"var(--primary-default)",fillOpacity:"0.15"}),(0,n.jsx)("path",{id:"Path_14",d:"M95 75.9999H114V94.9996H95V75.9999Z",fill:"var(--primary-default)",fillOpacity:"0.15"}),(0,n.jsx)("path",{id:"Path_15",d:"M38 56.9998H57V75.9999H38V56.9998Z",fill:"var(--primary-default)",fillOpacity:"0.15"}),(0,n.jsx)("path",{id:"Path_16",d:"M76 56.9998H95V75.9999H76V56.9998Z",fill:"var(--primary-default)",fillOpacity:"0.15"}),(0,n.jsx)("path",{id:"Path_17",d:"M38 37.9998H57V56.9998H38V37.9998Z",fill:"var(--primary-default)",fillOpacity:"0.15"}),(0,n.jsx)("path",{id:"Path_18",d:"M76 37.9998H95V56.9998H76V37.9998Z",fill:"var(--primary-default)",fillOpacity:"0.15"}),(0,n.jsx)("path",{id:"Path_19",d:"M0 18.9999H19V37.9999H0V18.9999Z",fill:"var(--primary-default)",fillOpacity:"0.15"})]})]})})})})}function S(){return(0,n.jsx)("svg",{width:"133",height:"120",viewBox:"0 0 133 120",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,n.jsx)("g",{id:"Symbols",children:(0,n.jsx)("g",{id:"Cards/Player-Of-The-Season-Card-",children:(0,n.jsx)("g",{id:"Group-9",children:(0,n.jsxs)("g",{id:"Pattern-Right",children:[(0,n.jsx)("path",{id:"Path",d:"M76.0117 114H57.0117V133H76.0117V114Z",fill:"var(--primary-default)",fillOpacity:"0.15"}),(0,n.jsxs)("g",{id:"Group",opacity:"0.5",children:[(0,n.jsx)("path",{id:"Path_2",d:"M57 114H38V133H57V114Z",fill:"var(--primary-default)",fillOpacity:"0.15"}),(0,n.jsx)("path",{id:"Path_3",d:"M133 94.9998H114V114H133V94.9998Z",fill:"var(--primary-default)",fillOpacity:"0.15"}),(0,n.jsx)("path",{id:"Path_4",d:"M76 94.9998H57V114H76V94.9998Z",fill:"var(--primary-default)",fillOpacity:"0.15"}),(0,n.jsx)("path",{id:"Path_5",d:"M57 76.0002H38V94.9998H57V76.0002Z",fill:"var(--primary-default)",fillOpacity:"0.15"}),(0,n.jsx)("path",{id:"Path_6",d:"M38 76.0002H19V94.9998H38V76.0002Z",fill:"var(--primary-default)",fillOpacity:"0.15"}),(0,n.jsx)("path",{id:"Path_7",d:"M95 57.0001H76V75.9997H95V57.0001Z",fill:"var(--primary-default)",fillOpacity:"0.15"}),(0,n.jsx)("path",{id:"Path_8",d:"M57 57.0001H38V75.9997H57V57.0001Z",fill:"var(--primary-default)",fillOpacity:"0.15"}),(0,n.jsx)("path",{id:"Path_9",d:"M95 38H76V57.0001H95V38Z",fill:"var(--primary-default)",fillOpacity:"0.15"}),(0,n.jsx)("path",{id:"Path_10",d:"M57 38H38V57.0001H57V38Z",fill:"var(--primary-default)",fillOpacity:"0.15"}),(0,n.jsx)("path",{id:"Path_11",d:"M133 19H114V37.9999H133V19Z",fill:"var(--primary-default)",fillOpacity:"0.15"})]}),(0,n.jsxs)("g",{id:"Group_2",opacity:"0.8",children:[(0,n.jsx)("path",{id:"Path_12",d:"M95 114H76V133H95V114Z",fill:"var(--primary-default)",fillOpacity:"0.15"}),(0,n.jsx)("path",{id:"Path_13",d:"M57 94.9998H38V114H57V94.9998Z",fill:"var(--primary-default)",fillOpacity:"0.15"}),(0,n.jsx)("path",{id:"Path_14",d:"M38 94.9998H19V114H38V94.9998Z",fill:"var(--primary-default)",fillOpacity:"0.15"}),(0,n.jsx)("path",{id:"Path_15",d:"M76 57.0001H57V75.9997H76V57.0001Z",fill:"var(--primary-default)",fillOpacity:"0.15"}),(0,n.jsx)("path",{id:"Path_16",d:"M38 57.0001H19V75.9997H38V57.0001Z",fill:"var(--primary-default)",fillOpacity:"0.15"}),(0,n.jsx)("path",{id:"Path_17",d:"M18.9999 57.0001H0V75.9997H18.9999V57.0001Z",fill:"var(--primary-default)",fillOpacity:"0.15"}),(0,n.jsx)("path",{id:"Path_18",d:"M133 0H114V18.9999H133V0Z",fill:"var(--primary-default)",fillOpacity:"0.15"}),(0,n.jsx)("path",{id:"Path_19",d:"M76 0H57V18.9999H76V0Z",fill:"var(--primary-default)",fillOpacity:"0.15"})]})]})})})})})}let k=e=>{let{bestPlayer:t,team:a}=e;return(0,n.jsxs)(d.so,{p:"lg",align:"center",justify:"space-between",children:[(0,n.jsxs)(d.so,{align:"center",children:[(0,n.jsx)(i.tg,{id:t.player.id,name:t.player.name,h:48,w:48}),(0,n.jsxs)(d.az,{ml:"sm",children:[(0,n.jsx)(c.EY,{textStyle:"display.medium",mb:"xs",display:"block",children:(0,n.jsx)(j.c,{entity:t.player})}),(0,n.jsxs)(d.so,{align:"center",children:[(0,n.jsx)(i.pY,{id:a.id,name:a.name,h:16,w:16,mr:"xs"}),(0,n.jsx)(c.EY,{textStyle:"assistive.default",color:"neutrals.nLv3",children:(0,n.jsx)(h.A,{id:a.slug,defaultMessage:a.name})})]})]})]}),(0,n.jsx)(i.GW,{rating:t.value})]})};function C(e){let{event:t}=e,{isLoading:a,bestPlayer:l,team:r}=o(t),{openEventPlayerStatistics:j}=(0,x.d)(),C=(0,v.Z)(t,"playerOfTheMatch"),w=(0,u.hX)(),{location:P}=(0,p.useContext)(g.y$);return t.tournament.category.sport.slug===s.QCR.Football&&t.status.type===s.XUj.Finished&&(w||a)?(0,n.jsx)(f.Zp,{children:(0,n.jsx)(d.az,{h:"[120px]"})}):a||l?(0,n.jsx)(y.b,{entityId:t.id,branding:C,location:"event_potm",children:(0,n.jsxs)(d.so,{br:P===g.cb.Widget?"sm":"lg",overflow:"hidden",position:"relative",h:"[120px]",justify:"space-between",cursor:"pointer",onClick:()=>l&&j({event:t,player:l.player},b._.PlayerOfTheMatch),children:[(0,n.jsx)(_,{}),(0,n.jsx)(S,{}),(0,n.jsxs)(d.az,{position:"absolute",top:"0",left:"0",w:"100%",children:[(0,n.jsxs)(d.so,{pt:"md",px:"lg",pb:"xs",align:"center",children:[(0,n.jsx)(m.ue7,{mr:"sm",w:24,h:24,fill:(0,i.Et)(null==l?void 0:l.value)}),(0,n.jsx)(c.EY,{textStyle:"display.medium",lineHeight:"24px",children:(0,n.jsx)(h.A,{id:"details.manOfMatch"})})]}),(0,n.jsx)(d.az,{minH:"8xl",children:l&&r&&(0,n.jsx)(k,{bestPlayer:l,team:r})})]})]})}):null}},88694:(e,t,a)=>{a.d(t,{bU:()=>aF,qT:()=>aB,Bx:()=>aN,mR:()=>aD,ji:()=>aE,nm:()=>aZ});var s=a(21377);let l={value:"passing",madesValue:"passingCompletions",attemptsValue:"passingAttempts",short:"C/A",sortKey:"passingCompletions",translationKey:"legend_am_football_completions_attempts",wideBoxScore:!0},r={value:"passingYards",short:"YDS"},o={value:"passingNetYards"},n={value:"passingTouchdowns",short:"TD"},i={value:"passingInterceptions",short:"INT"},c={value:"passingYardsPerAttempt",short:"AVG"},u={value:"passingSacked",secondaryValue:"passingSackYards"},d={value:"passingRating",short:"RTG"},p={value:"passingAirYards",short:"AIR"},h={value:"passingDroppedPasses",short:"DRO"},f={value:"passingFirstDowns",short:"1DN"},g={value:"rushingAttempts",short:"CAR"},m={value:"rushingYards",short:"YDS"},y={value:"rushingTouchdowns",short:"TD"},v={value:"rushingYardsPerAttempt",short:"AVG"},x={value:"rushingLongest",short:"LNG"},b={value:"rushingFirstDowns",short:"1DN"},j={value:"rushingRedZoneAttempts",short:"RZA"},_={value:"fumbleFumbles",short:"FUM"},S={value:"fumbleLost",short:"LST"},k={value:"fumbleRecovery",short:"REC"},C={value:"defensiveForcedFumbles",short:"FF"},w={value:"fumbleTouchdownReturns",short:"FTD"},P={value:"fumbleOpponentFumbleRecovery",short:"ROP"},M={value:"fumbleOwnFumbleRecovery",short:"ROW"},V={value:"fumbleOutOfBounds",short:"OOB"},L={value:"receivingReceptions",short:"REC"},I={value:"receivingTargets",short:"TRG"},T={value:"receivingYards",short:"YDS"},R={value:"receivingTouchdowns",short:"TD"},A={value:"receivingYardsPerReception",short:"AVG"},G={value:"receivingLongest",short:"LNG"},H={value:"receivingYardsAfterCatch",short:"YAC"},O={value:"receivingDroppedPasses",short:"DRO"},z={value:"receivingRedZoneTargets",short:"RZT"},B={value:"defensiveCombineTackles",short:"TACK"},N={value:"defensiveAssistTackles",short:"AST"},F={value:"defensiveSacks",short:"SACK"},E={value:"defensivePassesDefensed",short:"PD"},D={value:"defensiveInterceptions",short:"INT"},Z={value:"defensiveInterceptionsTouchdowns",short:"TD"},K={value:"defensiveInterceptionsYards",short:"YDS"},Y={value:"defensiveBattedPasses",short:"BAT"},W={value:"defensiveDefensiveTargets",short:"TGT"},Q={value:"defensiveTacklesForLostYards",short:"TFL"},U={value:"interceptionReturnsAverageYards",short:"AVG"},$={value:"interceptionReturnsLongest",short:"LNG"},X={value:"kickReturnsTotal",short:"NUM"},q={value:"kickReturnsYards",short:"YDS"},J={value:"kickReturnsAverageYards",short:"AVG"},ee={value:"kickReturnsTouchdowns",short:"TD"},et={value:"kickReturnsLong",short:"LNG"},ea={value:"kickReturnsFairCatches",short:"FC"},es={value:"puntingTotal",short:"NUM"},el={value:"puntingYards",short:"YDS"},er={value:"puntingYardsPerPuntAvg",short:"AVG"},eo={value:"puntingInside20",short:"IN20"},en={value:"puntingLongest",short:"LNG"},ei={value:"puntingAverageHangTime",short:"AHT"},ec={value:"puntingHangTime",short:"HT"},eu={value:"kickingFg",madesValue:"kickingFgMade",attemptsValue:"kickingFgAttempts",short:"FG",sortKey:"kickingFgMade"},ed={value:"kickingExtraPoints",madesValue:"kickingExtraMade",attemptsValue:"kickingExtraAttempts",short:"XP",sortKey:"kickingExtraMade"},ep={value:"kickingFgLong",short:"LNG"},eh={value:"kickingTotalPoints",short:"PTS"},ef={value:"kickoffEndZone",short:"TB"},eg={value:"kickoffOutOfBounds",short:"OOB"},em={value:"kickoffInside20",short:"IN20",translationKey:"legend_am_foot_kicks_inside_twenty"},ey=[g,m,y,x,v,{value:"rushingYardsAfterContact"},b,j],ev=[_,S,k,C,w,V,M,P],ex=[L,I,T,R,G,A,H,{value:"receivingFirstDowns"},O,z],eb=[B,N,F,E,D,Z,K,Y,W,Q],ej=[X,q,ee,J,et,ea],e_=[es,el,{value:"puntingNetYards"},en,{value:"puntingBlocked"},{value:"puntingTouchbacks"},eo,er,ei,ec],eS=[eu,ed,{value:"kickingFgBlocked"},ep,eh,ef,eg,em],ek=[{value:"puntReturnsTotal",short:"NUM"},{value:"puntReturnsYards",short:"YDS"},{value:"puntReturnsAverageYards",short:"AVG"},{value:"puntReturnsTouchdowns",short:"TD"},{value:"puntReturnsLong",short:"LNG"},{value:"puntReturnsFairCatches",short:"FC"}],eC=[D,K,Z,U,$],ew={passingGroup:[l,r,o,{value:"passingLongest"},n,i,c,u,p,h,f],rushingGroup:ey,receivingGroup:ex,defensiveGroup:eb,interceptionsGroup:eC,fumblesGroup:ev,kickingGroup:eS,puntingGroup:e_,kickReturnsGroup:ej,puntReturnsGroup:ek},eP={passingGroup:[l,r,o,n,i,c,u,d,p,h,f],rushingGroup:ey,receivingGroup:ex,defensiveGroup:eb,interceptionsGroup:eC,fumblesGroup:ev,kickingGroup:eS,puntingGroup:e_,kickReturnsGroup:ej,puntReturnsGroup:ek},eM={pitchingGroup:[{value:"pitchingEarnedRunsAverage"},{value:"pitchingInningsPitched"},{value:"pitchingHits"},{value:"pitchingRuns"},{value:"pitchingEarnedRuns"},{value:"pitchingHomeRuns"},{value:"pitchingPitchesThrown"},{value:"pitchingBaseOnBalls"},{value:"pitchingStrikeOuts"},{value:"pitchingBattersFaced"},{value:"pitchingOuts"},{value:"pitchingBalls"},{value:"pitchingStrikes"},{value:"pitchingNote"}],battingGroup:[{value:"battingAtBats"},{value:"battingRuns"},{value:"battingHits"},{value:"battingDoubles"},{value:"battingTriples"},{value:"battingHomeRuns"},{value:"battingRbi"},{value:"battingBaseOnBalls"},{value:"battingStrikeOuts"},{value:"battingStolenBases"},{value:"battingCaughtStealing"},{value:"battingHitByPitch"},{value:"battingLeftOnBase"},{value:"battingSacBunts"},{value:"battingSacFlies"},{value:"battingAverage"},{value:"battingNote"},{value:"battingFlyOuts"},{value:"battingGroundOuts"}],fieldingGroup:[{value:"fieldingAssists"},{value:"fieldingPutOuts"},{value:"fieldingErrors"}]},eV={value:"minutesPlayed",compareValue:"secondsPlayed",short:"MIN"},eL={value:"position"},eI={value:"points",short:"PTS"},eT={value:"freeThrows",madesValue:"freeThrowsMade",attemptsValue:"freeThrowAttempts",compareValue:"freeThrowsMade",compareSecondValue:"freeThrowAttempts",reverseSecondCompare:!0},eR={...eT,sortKey:"freeThrowsMade"},eA={...eR,hidePercentage:!0,short:"FT",wideBoxScore:!0},eG={...eR,percentageOnly:!0,short:"FT%",wideBoxScore:!0,translationKey:"freeThrowsPercentage"},eH={value:"twoPt",madesValue:"twoPointsMade",attemptsValue:"twoPointAttempts",compareValue:"twoPointsMade",compareSecondValue:"twoPointAttempts",reverseSecondCompare:!0},eO={...eH,sortKey:"twoPointsMade"},ez={value:"threePt",madesValue:"threePointsMade",attemptsValue:"threePointAttempts",compareValue:"threePointsMade",compareSecondValue:"threePointAttempts",reverseSecondCompare:!0},eB={...ez,sortKey:"threePointsMade"},eN={...eB,hidePercentage:!0,short:"3P",wideBoxScore:!0},eF={...eB,percentageOnly:!0,short:"3P%",wideBoxScore:!0,translationKey:"legend_bball_three_points_pct"},eE={value:"fieldGoals",madesValue:"fieldGoalsMade",attemptsValue:"fieldGoalAttempts",compareValue:"fieldGoalsMade",compareSecondValue:"fieldGoalAttempts",reverseSecondCompare:!0},eD={...eE,sortKey:"fieldGoalsMade"},eZ={...eD,hidePercentage:!0,short:"FG",wideBoxScore:!0},eK={...eD,translationKey:"fieldGoalsPercentage",percentageOnly:!0,short:"FG%",wideBoxScore:!0},eY={value:"rebounds",short:"REB"},eW={value:"defensiveRebounds",short:"DREB"},eQ={value:"offensiveRebounds",short:"OREB"},eU={value:"assists",short:"AST"},e$={value:"turnovers",short:"TOV"},eX={value:"steals",short:"STL"},eq={value:"blocks",short:"BLK"},eJ={value:"personalFouls",short:"PF"},e0={value:"plusMinus",hideIfNone:!0,short:"+/-",translationKey:"legend_bball_plus_minus"},e1={value:"pir",hideIfNone:!0,short:"PIR",translationKey:"legend_bball_performance_index_rating"},e5={summaryGroup:[eV],pointsGroup:[eI,eT,eH,ez,eE],reboundsGroup:[eY,eW,eQ],otherGroup:[eU,e$,eX,eq,eJ,e0,e1]},e2={DEFAULT_GROUP_NAME:[eI,eY,eU,e$,eX,eq]},e3={DEFAULT_GROUP_NAME:[eV,eI,eY,eU,eX,eq,eJ,e$,eQ,eW,eZ,eK,eA,eG,eN,eF,e0,e1]},e9={summaryGroup:[eI,eY,eU,eV,eL,{value:"rating",hideIfNone:!0}],pointsGroup:[eI,eR,eO,eB,eD,eL],reboundsGroup:[eY,eW,eQ,eL],otherGroup:[eU,e$,eX,eq,eJ,eL,{value:"plusMinus",replacementValue:"pir"}]},e4={value:"minutesPlayed"},e6={value:"goals",short:"GLS"},e7={value:"expectedGoals",hideIfNone:!0,translationInfoKey:"football_expected_goals_player_info_text"},e8={value:"goalAssist"},te={value:"expectedAssists",hideIfNone:!0},tt={value:"position"},ta={value:"rating"},ts={value:"kilometersCovered",hideIfNone:!0,isNew:!0},tl={value:"saves"},tr={value:"goalsPrevented",hideIfNone:!0,translationInfoKey:"goals_prevented_info_text"},to={value:"punches"},tn={value:"totalKeeperSweeper",secondaryValue:"accurateKeeperSweeper",compareValue:"accurateKeeperSweeper",compareSecondValue:"totalKeeperSweeper"},ti={value:"goodHighClaim"},tc={value:"touches"},tu={value:"accuratePass",madesValue:"accuratePass",attemptsValue:"totalPass",compareValue:"accuratePass",compareSecondValue:"totalPass"},td={...tu,sortKey:"accuratePass"},tp={value:"keyPass"},th={value:"totalCross",secondaryValue:"accurateCross",compareValue:"totalCross",compareSecondValue:"accurateCross"},tf={value:"totalLongBalls",secondaryValue:"accurateLongBalls",compareValue:"totalLongBalls",compareSecondValue:"accurateLongBalls"},tg={value:"totalDuels",secondaryValue:"duelWon",compareValue:"totalDuels",compareSecondValue:"duelWon"},tm={value:"totalGroundDuels",secondaryValue:"groundWon",compareValue:"totalGroundDuels",compareSecondValue:"groundWon"},ty={value:"totalAerialDuels",secondaryValue:"aerialWon",compareValue:"totalAerialDuels",compareSecondValue:"aerialWon"},tv={value:"possessionLostCtrl"},tx={value:"fouls"},tb={value:"wasFouled",translationKey:"football_was_fouled"},tj={value:"totalOffside",hideIfNone:!0},t_={value:"totalClearance"},tS={value:"outfielderBlock"},tk={value:"interceptionWon"},tC={value:"totalTackle"},tw={value:"challengeLost"},tP={value:"penaltyConceded",hideIfNone:!0,translationKey:"penalty_goals_conceded"},tM={value:"errorLeadToAShot",hideIfNone:!0},tV={value:"errorLeadToAGoal",hideIfNone:!0},tL={value:"onTargetScoringAttempt"},tI={value:"shotOffTarget"},tT={value:"blockedScoringAttempt"},tR={value:"totalContest",secondaryValue:"wonContest",compareValue:"wonContest",compareSecondValue:"totalContest"},tA=[e4,e6,e7,e8,te,ts],tG=[{value:"numberOfSprints",hideIfNone:!0},{value:"topSpeed",hideIfNone:!0}],tH=[tc,tu,tp,th,tf,{value:"bigChanceCreated",hideIfNone:!0}],tO=[tm,ty,tv,tx,tb,tj],tz=[t_,tS,tk,tC,tw,{value:"clearanceOffLine",hideIfNone:!0,translationKey:"clearance_off_line"},{value:"lastManTackle",hideIfNone:!0,translationKey:"last_man_tackle"},{value:"ownGoals",hideIfNone:!0}],tB=[...tz,tM,tV,tP],tN=[tL,tI,tT,tR,{value:"hitWoodwork",hideIfNone:!0},{value:"penaltyWon",hideIfNone:!0},{value:"penaltyMiss",hideIfNone:!0,translationKey:"football_penalties_missed"},{value:"bigChanceMissed",hideIfNone:!0},{value:"penaltyShootoutGoal",hideIfNone:!0},{value:"penaltyShootoutMiss",hideIfNone:!0}],tF={G:{summaryGroup:[e4,{...e6,hideIfNone:!0},{...e7,hideIfNone:!0,translationInfoKey:"football_expected_goals_player_info_text"},{...e8,hideIfNone:!0},{...te,hideIfNone:!0},ts],goalkeeperGroup:[tl,tr,to,tn,ti,{value:"savedShotsFromInsideTheBox",hideIfNone:!0},{value:"penaltySave",hideIfNone:!0,translationKey:"football_penalties_saved"},tM,tV,tP,{value:"penaltyShootoutSave",hideIfNone:!0}],passingGroup:tH,physicalGroup:tG,goalkeeperDefenceGroup:tz,goalkeeperDuelsGroup:[tm,ty,tx,tb,tj],attackGroup:tN},F:{summaryGroup:tA,attackGroup:tN,physicalGroup:tG,passingGroup:tH,duelsGroup:tO,defenceGroup:tB},M:{summaryGroup:tA,physicalGroup:tG,passingGroup:tH,attackGroup:tN,duelsGroup:tO,defenceGroup:tB},D:{summaryGroup:tA,defenceGroup:tB,physicalGroup:tG,duelsGroup:tO,passingGroup:tH,attackGroup:tN},default:{summaryGroup:tA,passingGroup:tH,duelsGroup:tO,attackGroup:tN,defenceGroup:tB}},tE={summaryGroup:[e6,e8,tC,td,tg,tm,ty,e4,tt,ta],attackGroup:[tL,e7,tI,tT,tR,{value:"notes",textualDescription:{hitWoodwork:"hitWoodwork",penaltyMiss:"football_penalties_missed",penaltyWon:"penaltyWon",bigChanceMissed:"bigChanceMissed",penaltyShootoutGoal:"penaltyShootoutGoal",penaltyShootoutMiss:"penaltyShootoutMiss"}},tt,ta],defenceGroup:[{value:"totalDefensiveActions"},t_,tS,tk,tC,tw,{value:"notes",textualDescription:{clearanceOffLine:"clearanceOffLine",lastManTackle:"lastManTackle",errorLeadToAShot:"errorLeadToAShot",errorLeadToAGoal:"errorLeadToAShot",ownGoals:"ownGoals",penaltyConceded:"penaltyConceded"}},tt,ta],passingGroup:[tc,tu,tp,th,tf,{value:"notes",textualDescription:{bigChanceCreated:"bigChanceCreated"}},tt,ta],duelsGroup:[tg,tm,ty,tv,tx,tb,{value:"totalOffside"},tt,ta],goalkeeperGroup:[tl,{...tr,translationInfoKey:"goals_prevented_info_text"},to,tn,ti,{value:"notes",textualDescription:{savedShotsFromInsideTheBox:"savedShotsFromInsideTheBox",penaltySave:"penaltySave",errorLeadToAShot:"errorLeadToAShot",errorLeadToAGoal:"errorLeadToAGoal",penaltyConceded:"penaltyConceded"}},ta]},tD={value:"goals",short:"GLS"},tZ={value:"gkShots",short:"SHT"},tK={value:"goalkeeperEfficiencyPercentage",madesValue:"saves",attemptsValue:"gkShots",percentageOnly:!0,percentageDecimals:1,short:"SV%"},tY={...tK,sortKey:"goalkeeperEfficiencyPercentage"},tW={value:"saves",madesValue:"saves",attemptsValue:"gkShots",short:"SAV",compareValue:"saves",compareSecondValue:"gkShots",reverseSecondCompare:!0,wideBoxScore:!0},tQ={value:"gk7mSaves",short:"7MS"},tU={value:"minutesPlayed",compareValue:"secondsPlayed",short:"MIN",hideIfNone:!0},t$={value:"gkGoalsConceded",short:"GOC",hideIfNone:!0},tX={value:"assists",short:"AST"},tq={value:"steals",short:"STL"},tJ={value:"shotAccuracy",madesValue:"goals",attemptsValue:"shotsTaken",percentageOnly:!0,percentageDecimals:0,short:"SH%"},t0={...tJ,sortKey:"shotAccuracy"},t1={value:"blockedShots",short:"BLK"},t5={value:"twoMinutePenalties",short:"2MP"},t2={goalkeepersGroup:[tW,{value:"gk7mSaves",attemptsValue:"gk7mShots",madesValue:"gk7mSaves",compareValue:"gk7mSaves",compareSecondValue:"gk7mShots",reverseSecondCompare:!0},{value:"gk6mSaves",attemptsValue:"gk6mShots",madesValue:"gk6mSaves",compareValue:"gk6mSaves",compareSecondValue:"gk6mShots",reverseSecondCompare:!0},{value:"gkPivotSaves",attemptsValue:"gkPivotShots",madesValue:"gkPivotSaves",compareValue:"gkPivotSaves",compareSecondValue:"gkPivotShots",reverseSecondCompare:!0},{value:"gk9mSaves",madesValue:"gk9mSaves",attemptsValue:"gk9mShots",compareValue:"gk9mSaves",compareSecondValue:"gk9mShots",reverseSecondCompare:!0},{value:"gkBreakthroughSaves",attemptsValue:"gkBreakthroughShots",madesValue:"gkBreakthroughSaves",compareValue:"gkBreakthroughSaves",compareSecondValue:"gkBreakthroughShots",reverseSecondCompare:!0},{value:"gkFastbreakSaves",attemptsValue:"gkFastbreakShots",madesValue:"gkFastbreakSaves",compareValue:"gkFastbreakSaves",compareSecondValue:"gkFastbreakShots",reverseSecondCompare:!0}],playersGroup:[{value:"goals",madesValue:"goals",attemptsValue:"shotsTaken",compareValue:"goals",compareSecondValue:"shotsTaken",reverseSecondCompare:!0},tX,{value:"goals7m",madesValue:"goals7m",attemptsValue:"shots7m",compareValue:"goals7m",compareSecondValue:"shots7m",reverseSecondCompare:!0},{value:"goals6m",madesValue:"goals6m",attemptsValue:"shots6m",compareValue:"goals6m",compareSecondValue:"shots6m",reverseSecondCompare:!0},{value:"goals9m",madesValue:"goals9m",attemptsValue:"shots9m",compareValue:"goals9m",compareSecondValue:"shots9m",reverseSecondCompare:!0},{value:"breakthroughGoals",madesValue:"breakthroughGoals",attemptsValue:"breakthroughShots",compareValue:"breakthroughGoals",compareSecondValue:"breakthroughShots",reverseSecondCompare:!0},{value:"pivotGoals",madesValue:"pivotGoals",attemptsValue:"pivotShots",compareValue:"pivotGoals",compareSecondValue:"pivotShots",reverseSecondCompare:!0},{value:"fastbreakGoals",madesValue:"fastbreakGoals",attemptsValue:"fastbreakShots",compareValue:"fastbreakGoals",compareSecondValue:"fastbreakShots",reverseSecondCompare:!0},tq,t1],otherGroup:[t5,{value:"technicalFaults"},{value:"yellowCards"}]},t3={playersGroup:[tD,tJ,tX,tq,t1,t5],goalkeepersGroup:[tU,tK,{...tW,hidePercentage:!0},tZ,tQ,t$]},t9={playersGroup:[tD,{value:"shotsTaken"},t0,tX,tq,t1,t5],goalkeepersGroup:[tU,tY,{value:"saves"},tZ,tQ,t$]},t4={value:"goals",short:"GLS"},t6={value:"assists",short:"AST"},t7={value:"position"},t8={value:"timeOnIce",compareValue:"secondsPlayed",hideIfNone:!0,short:"TOI",wideBoxScore:!0},ae={value:"shots",short:"SHT"},at={value:"powerPlayGoals"},aa={value:"powerPlayAssists"},as={value:"penaltyMinutes",short:"PIM"},al={value:"takeaways",short:"TKA"},ar={value:"giveaways",short:"GVA"},ao={value:"hits",short:"HIT"},an={value:"blocked",short:"BLK"},ai={value:"saves",madesValue:"saves",attemptsValue:"shotsAgainst",short:"SAV",compareValue:"saves",compareSecondValue:"shotsAgainst",reverseSecondCompare:!0},ac={value:"shortHandedSaves",madesValue:"shortHandedSaves",attemptsValue:"shortHandedShotsAgainst",compareValue:"shortHandedShotsSaves",compareSecondValue:"shortHandedShotsAgainst",reverseSecondCompare:!0,short:"SHS"},au={value:"evenSaves",madesValue:"evenSaves",attemptsValue:"evenShotsAgainst",compareValue:"evenSaves",compareSecondValue:"evenShotsAgainst",reverseSecondCompare:!0,short:"ES"},ad={value:"powerPlaySaves",madesValue:"powerPlaySaves",attemptsValue:"powerPlayShotsAgainst",compareValue:"powerPlaySaves",compareSecondValue:"powerPlayShotsAgainst",reverseSecondCompare:!0,short:"PPS"},ap={value:"plusMinus",short:"+/-"},ah=[t8],af={G:{summaryGroup:ah,goalkeeperGroup:[ai,ac,ad,au]},default:{summaryGroup:ah,attackingGroup:[t4,ae,t6,at,aa],defensiveGroup:[ao,al,an],otherGroup:[as,{value:"faceOffTaken",secondaryValue:"faceOffWins",compareValue:"faceOffWins",compareSecondValue:"faceOffTaken"},ar,ap]}},ag={skatersGroup:[t4,t6,{value:"points",short:"PTS"},ap,as,ae,ao,an,ar,al,{value:"faceOffTaken",madesValue:"faceOffWins",attemptsValue:"faceOffTaken",percentageOnly:!0,short:"FO%",percentageDecimals:1,wideBoxScore:!0},t8],goaliesGroup:[{...ai,hidePercentage:!0},{value:"savePercentage",short:"SV%"},{...au,hidePercentage:!0},{...ad,hidePercentage:!0},{...ac,hidePercentage:!0},t8]},am={summaryGroup:[t4,t6,ae,t8],attackingGroup:[t4,ae,t6,at,aa,t7],defensiveGroup:[ao,al,an,t7],goalkeeperGroup:[{value:"goalkeeperEfficiencyPercentage",madesValue:"saves",attemptsValue:"shotsAgainst",percentageOnly:!0,short:"SV%",sortKey:"goalkeeperEfficiencyPercentage"},ai,au,ad,ac],otherGroup:[as,{value:"faceOffWins"},{value:"faceOffTakenOnly"},ar,ap]},ay=[{value:"points",short:"PTS",shortTranslationKey:"points_short"},{value:"tries",short:"TRY",shortTranslationKey:"rugby_tries_short"},{value:"tackles",short:"TKL",shortTranslationKey:"rugby_tackles_short"},{value:"penaltyGoals",short:"PG",shortTranslationKey:"rugby_pen_goals_short",translationKey:"rugby.penaltyGoals"},{value:"passes",short:"PAS",shortTranslationKey:"rugby_passes_short"},{value:"carries",short:"CAR",shortTranslationKey:"rugby_carries_short"},{value:"cleanBreaks",short:"CB",shortTranslationKey:"rugby_clean_breaks_short"},{value:"dropGoals",short:"DG",shortTranslationKey:"rugby_drop_goals_short"},{value:"metersRun",short:"MR",shortTranslationKey:"rugby_meters_run_short"},{value:"offloads",short:"OFF",shortTranslationKey:"rugby_offloads_short"},{value:"tacklesMissed",short:"TM",shortTranslationKey:"rugby_tackles_missed_short"},{value:"tryAssists",short:"TA",shortTranslationKey:"rugby_try_assists_short"},{value:"turnoversWon",short:"TW",shortTranslationKey:"rugby_turnovers_won_short"}],av={DEFAULT_GROUP_NAME:ay},ax={DEFAULT_GROUP_NAME:ay};var ab=a(9434);let aj={value:"pointsTotal",short:"TOT",shortTranslationKey:"total_stats_short",translationKey:"total"},a_={value:"breakPoints",short:"BP",shortTranslationKey:"volleyball_break_points_short",translationKey:"volleyball_break_points"},aS={value:"winLoss",short:"W-L",shortTranslationKey:"volleyball_won_lost_points_ratio_short",translationKey:"volleyball_won_lost_points_ratio"},ak={value:"blockPoints",short:"BLK",shortTranslationKey:"volleyball_blocks_short",translationKey:"volleyball_block_points"},aC={value:"serves",short:"TOT",shortTranslationKey:"total_stats_short",translationKey:"total"},aw={value:"serveErrors",short:"ERR",shortTranslationKey:"volleyball_errors_short",translationKey:"volleyball_errors"},aP={value:"aces",short:"ACE",shortTranslationKey:"volleyball_aces_short",translationKey:"volleyball_aces"},aM={value:"receptionsTotal",short:"TOT",shortTranslationKey:"total_stats_short",translationKey:"total"},aV={value:"receptionErrors",short:"ERR",shortTranslationKey:"volleyball_errors_short",translationKey:"volleyball_errors"},aL={value:"receptionPositivity",short:"POS%",shortTranslationKey:"volleyball_positive_reception_percentage_short",translationKey:"volleyball_positive_reception_percentage"},aI={value:"receptionPerf",short:"EXC%",shortTranslationKey:"volleyball_excellent_reception_percentage_short",translationKey:"volleyball_excellent_reception_percentage"},aT={value:"attacksTotal",short:"TOT",shortTranslationKey:"total_stats_short",translationKey:"total"},aR={value:"attackErrors",short:"ERR",shortTranslationKey:"volleyball_errors_short",translationKey:"volleyball_errors"},aA={value:"attacksBlocked",short:"BLK",shortTranslationKey:"volleyball_blocked_attacks_short",translationKey:"volleyball_blocked_attacks"},aG={value:"attackPoints",short:"PTS",shortTranslationKey:"volleyball_points_short",translationKey:"volleyball_points"},aH={value:"attackPointsPercentage",madesValue:"attackPoints",attemptsValue:"attacksTotal",compareValue:"attackPoints",compareSecondValue:"attacksTotal",reverseSecondCompare:!0,percentageOnly:!0,short:"PTS%",percentageDecimals:1,shortTranslationKey:"volleyball_points_percentage_short",translationKey:"volleyball_points_percentage"},aO={pointsGroup:[aj,a_,aS,ak],servesGroup:[aC,aw,aP],receptionGroup:[aM,aV,aL,aI],attackGroup:[aT,aR,aA,aG,aH]},az={pointsGroup:[aj,a_,aS,ak],servesGroup:[aC,aw,aP],receptionGroup:[aM,aV,aL,aI],attackGroup:[aT,aR,aA,aG,aH]},aB=[s.QCR.AmericanFootball,s.QCR.Handball,s.QCR.Baseball],aN=[s.QCR.Football],aF=[s.QCR.AmericanFootball,s.QCR.Basketball,s.QCR.Handball,s.QCR.IceHockey,s.QCR.Rugby,s.QCR.Volleyball];function aE(e){switch(e){case s.QCR.AmericanFootball:return ew;case s.QCR.Baseball:return eM;case s.QCR.Basketball:return e5;case s.QCR.Football:return tF;case s.QCR.Handball:return t2;case s.QCR.IceHockey:return af;case s.QCR.Rugby:return av;case s.QCR.Volleyball:return az;default:return{}}}function aD(e,t){switch(e){case s.QCR.AmericanFootball:let a;return a=!t,{passingGroup:[{...l,hidePercentage:!0,translationKey:"legend_am_football_completions_attempts"},r,n,i,c,d,p,h,f],rushingGroup:[g,m,y,v,x,b,j],receivingGroup:a?[L,T,R]:[L,I,T,R,A,G,O,z,H],defensiveGroup:[B,N,F,E,Y,W,Q],interceptionsGroup:[D,K,Z,U,$],fumblesGroup:[_,S,k,C,w,V,M,P],kickingGroup:[{...eu,hidePercentage:!0},{...ed,hidePercentage:!0},ep,eh,ef,eg,em],puntingGroup:[es,el,er,eo,en,ei,ec],kickReturnsGroup:[X,q,J,ee,et,ea],puntReturnsGroup:ek};case s.QCR.Basketball:return t?e3:e2;case s.QCR.Handball:return t3;case s.QCR.IceHockey:return ag;case s.QCR.Rugby:return ax;case s.QCR.Volleyball:return t?{pointsGroup:[aj,a_,aS,ak],servesGroup:[aC,aw,aP],receptionGroup:[aM,aV,{...aL,hideIfNone:!0},{...aI,hideIfNone:!0}],attackGroup:[aT,aR,aA,aG,aH]}:{[ab.oz]:[{...aj,short:"PTS",shortTranslationKey:"volleyball_points_short",translationKey:"volleyball_points"},{...aT,short:"ATT",shortTranslationKey:"volleyball_attack_short",translationKey:"volleyball_attack"},{...aP,short:"ACE",shortTranslationKey:"volleyball_aces_short",translationKey:"volleyball_aces"},{...ak,short:"BLK",shortTranslationKey:"volleyball_blocks_short",translationKey:"volleyball_blocks"}]};default:return{}}}function aZ(e){switch(e){case s.QCR.AmericanFootball:return eP;case s.QCR.Basketball:return e9;case s.QCR.Football:return tE;case s.QCR.Handball:return t9;case s.QCR.IceHockey:return am;case s.QCR.Volleyball:return aO;default:return{}}}},92667:(e,t,a)=>{a.d(t,{Ir:()=>s.A,ax:()=>c,rR:()=>h});var s=a(40008),l=a(21377),r=a(55729),o=a(45860),n=a(18970);function i(e){let t=e.reduce((e,t)=>t.statistics&&t.statistics.rating?{sum:e.sum+Number(t.statistics.rating),count:e.count+1}:e,{count:0,sum:0});return t.count?t.sum/t.count:void 0}function c(e){let{event:t}=(0,r.useContext)(n.y$),a=i(e.left.players),s=i(e.right.players),c=!!a&&!!s,{data:u}=(0,o.Ay)(c?null:l.bnp.prematchStandings(t.id));return((null==u?void 0:u.homeTeam.avgRating)||(null==u?void 0:u.awayTeam.avgRating))&&(a=null==u?void 0:u.homeTeam.avgRating,s=null==u?void 0:u.awayTeam.avgRating),[a,s]}var u=a(67430),d=a(54548),p=a(56300);function h(){let{event:e,leftTeam:t,rightTeam:a}=(0,r.useContext)(n.y$),{managers:l}=(0,d.K)(e),{lineups:o}=(0,s.A)(),{incidents:i}=(0,u.L)(),c=(0,r.useContext)(p.N);if(void 0===c)throw Error("useLineupSide must be used within a SideProvider");return"left"===c?{event:e,team:t,manager:l.leftManager,lineups:null==o?void 0:o.left,incidents:i,jersey:null==o?void 0:o.leftJerseyUrls.player,jerseyNumberColor:null==o?void 0:o.left.playerColor,startingPlayers:(null==o?void 0:o.left.players.filter(e=>!e.substitute))||[],substitutePlayers:(null==o?void 0:o.left.players.filter(e=>e.substitute))||[]}:{event:e,team:a,manager:l.rightManager,lineups:null==o?void 0:o.right,incidents:i,jersey:null==o?void 0:o.rightJerseyUrls.player,jerseyNumberColor:null==o?void 0:o.right.playerColor,startingPlayers:(null==o?void 0:o.right.players.filter(e=>!e.substitute))||[],substitutePlayers:(null==o?void 0:o.right.players.filter(e=>e.substitute))||[]}}},92859:(e,t,a)=>{a.d(t,{K:()=>s});var s=function(e){return e.Position="position",e.Rating="rating",e.Notes="notes",e.ExpectedGoals="expectedGoals",e}({})},94536:(e,t,a)=>{a.d(t,{sP:()=>f,ZB:()=>c,lV:()=>d,kr:()=>p,kx:()=>h});var s=a(38709),l=a(4967);function r(e){let t={sum:0,count:0};return e.forEach(e=>{e.forEach(e=>{e.player.height&&(t.sum+=e.player.height,t.count+=1)})}),t.count>=7?Math.round(10*t.sum/t.count)/10:void 0}function o(e,t){let a={sum:0,count:0};return e.forEach(e=>{e.forEach(e=>{e.player.dateOfBirthTimestamp&&(a.sum+=(0,l.Dr)(e.player.dateOfBirthTimestamp,t),a.count+=1)})}),a.count>=7?Math.round(10*a.sum/a.count)/10:void 0}function n(e){let t={sum:0,count:0,currency:""};return e.forEach(e=>{e.forEach(e=>{var a;(null==(a=e.player.proposedMarketValueRaw)?void 0:a.value)&&(t.sum+=e.player.proposedMarketValueRaw.value,t.currency=e.player.proposedMarketValueRaw.currency,t.count+=1)})}),t.count>=7?{value:t.sum,currency:t.currency}:void 0}function i(e){let t={sum:0,count:0};return e.forEach(e=>{var a;(null==(a=e.statistics)?void 0:a.kilometersCovered)&&(t.sum+=e.statistics.kilometersCovered,t.count+=1)}),t.count>=7?Math.round(10*t.sum)/10:void 0}function c(e,t,a,l,c){let u={};return u[s.k.Age]={messageId:"football_lineups_starters_average_age",leftTeamValue:o(e,c),rightTeamValue:o(t,c)},u[s.k.MarketValue]={messageId:"football_lineups_starters_total_market_value",leftTeamValue:n(e),rightTeamValue:n(t)},u[s.k.Height]={messageId:"football_lineups_starters_average_height",leftTeamValue:r(e),rightTeamValue:r(t)},u[s.k.Distance]={messageId:"football_total_distance_run",leftTeamValue:i(a),rightTeamValue:i(l)},u}var u=a(25766);function d(e,t){if(t===u.V.Confirmed){var a;return(null==(a=e.statistics)?void 0:a.rating)||e.avgRating}if(t===u.V.Possible)return e.avgRating}function p(e){let t=null==e?void 0:e.left.players.filter(e=>e.substitute),a=null==e?void 0:e.right.players.filter(e=>e.substitute);return!!(t&&t.length>0||a&&a.length>0)}function h(e,t){var a;return t||e.player.name.length>24||(null==(a=e.player.country)?void 0:a.alpha2)==="MG"}function f(e,t,a){let s=Math.max(...e.split(" ").map(e=>e.length));return s>=12&&(e=e.split(" ").map(e=>{let t=e;return e.length!==s||e.includes("-")||(t=e.slice(0,e.length/2)+"\xad"+e.slice(e.length/2)),t}).join(" ")),t?a?"".concat(e," (c)"):"(c) ".concat(e):e}a(12408)},99902:(e,t,a)=>{a.d(t,{A:()=>h});var s=a(6029),l=a(25635),r=a(48485),o=a(25940),n=a(55729),i=a(90248),c=a(46222),u=a(64006),d=a(80055),p=a(33079);function h(e){let{manager:t,incidents:a,isBorderHidden:h}=e,f=(0,d.z)(t),g=(0,n.useMemo)(()=>a?(0,r.h)({id:t.id,incidents:a}):{},[t,a]);return(0,s.jsx)(u.yI,{manager:t,style:{width:"100%"},children:(0,s.jsx)(c.Zp,{children:(0,s.jsxs)(o.so,{children:[(0,s.jsx)(o.az,{px:"lg",py:"sm",children:(0,s.jsx)(l.d,{size:40,id:t.id,name:f})}),(0,s.jsx)(o.so,{borderBottom:h?void 0:"onSurface.nLv4",align:"center",flex:"1 1 auto",mr:"lg",children:(0,s.jsxs)(o.az,{flex:"1 1 auto",children:[(0,s.jsx)(o.so,{title:f,align:"center",children:(0,s.jsxs)(o.EY,{font:"body.medium",color:"onSurface.nLv1",mr:"xs",children:[(0,s.jsx)(o.az,{as:"span",mr:"xs",children:f}),g&&(0,s.jsx)(p.AG,{...g})]})}),(0,s.jsx)(o.EY,{font:"assistive.default",color:"primary.default",mr:"xxs",children:(0,s.jsx)(i.A,{id:"manager"})})]})})]})})})}},99913:(e,t,a)=>{a.d(t,{Ck:()=>_,PM:()=>w,RV:()=>j,Sb:()=>C,cW:()=>k});var s=a(6029),l=a(10292),r=a(21377),o=a(28349),n=a(62042),i=a(76356),c=a(55729),u=a(90248),d=a(46222),p=a(18970),h=a(52466),f=a(6813),g=a(64006),m=a(94156),y=a(39836);let v={[r.evQ.Missing]:"error.default",[r.evQ.Doubtful]:"sofaSingles.value"},x=(0,n.Fj)({base:{ml:"2xs",textStyle:"assistive.default"},variants:{type:{missing:{color:"status.error.default"},doubtful:{color:"status.alert.default"}}}}),b=(0,i.I4)(o.EY,x),j=(e,t)=>t===r.s2G.OnLoan?"missingplayer.onloan":e===r.evQ.Missing?-1!==[r.s2G.Suspended,r.s2G.YellowCard,r.s2G.YellowRedCard,r.s2G.RedCard].indexOf(t)?"player_status_suspended":"injury_status_out":"injury_status_doubtful";function _(e){let{missingPlayer:t}=e;return(0,s.jsxs)(i.so,{align:"center",w:"[fit-content]",mt:"xs",children:[(e=>{let t=v[e.type];switch(e.reason){case r.s2G.Injured:case r.s2G.Ill:return(0,s.jsx)(h.NcS,{icon:"cross",fill:t});case r.s2G.Suspended:return(0,s.jsx)(h.NcS,{icon:"suspended",fill:t});case r.s2G.YellowCard:return(0,s.jsx)(h.NcS,{icon:"card",fill:"scoreRating.s65"});case r.s2G.YellowRedCard:return(0,s.jsx)(h.NcS,{icon:"card-double-yellow"});case r.s2G.RedCard:return(0,s.jsx)(h.NcS,{icon:"card",fill:"error.default"});case r.s2G.OnLoan:return(0,s.jsx)(h.NcS,{icon:"on-loan",fill:t});case r.s2G.Other:default:return(0,s.jsx)(h.NcS,{icon:"player",fill:t})}})(t),(0,s.jsx)(b,{type:t.type===r.evQ.Missing?"missing":"doubtful",children:(0,s.jsx)(u.A,{id:j(t.type,t.reason)})})]})}function S(e){let{missingPlayer:t,isLast:a}=e,r=(0,c.useContext)(p.Ws);return(0,s.jsx)(g.uc,{player:t.player,sportSlug:r,children:(0,s.jsxs)(i.so,{_hover:{bg:"surface.s2"},cursor:"pointer",align:"center",px:"lg",children:[(0,s.jsx)(i.az,{pr:"lg",py:"sm",children:(0,s.jsx)(l.t,{size:40,id:t.player.id,name:t.player.name})}),(0,s.jsx)(i.so,{borderBottom:a?void 0:"onSurface.nLv4",align:"center",flexGrow:1,flexShrink:1,mr:"lg",children:(0,s.jsxs)(i.az,{flexGrow:1,flexShrink:1,children:[(0,s.jsx)(o.EY,{display:"block",color:"neutrals.nLv1",mr:"xs",children:(0,s.jsx)(m.c,{entity:t.player})}),(0,s.jsx)(_,{missingPlayer:t})]})}),(0,s.jsx)(y.M,{player:t})]})})}function k(e){let{missingPlayers:t}=e;return(null==t?void 0:t.length)?(0,s.jsx)(s.Fragment,{children:t.map((e,a)=>(0,s.jsx)(S,{missingPlayer:e,isLast:a===t.length-1},e.player.id))}):(0,s.jsx)(f.p,{graphic:"no-data",descriptionMessageId:"no_missing_players"})}function C(e){let{missingPlayers:t}=e;return(null==t?void 0:t.length)?(0,s.jsxs)(d.Zp,{children:[(0,s.jsx)(d.Zp.Header,{titleId:"injuries_and_suspensions",as:"h4"}),(0,s.jsx)(k,{missingPlayers:t}),(0,s.jsx)(d.Zp.Footer,{defaultHeight:"sm"})]}):null}function w(e){let{left:t,right:a}=e,l=t&&t.length>0,r=a&&a.length>0;return l||r?(0,s.jsxs)(d.Zp,{variant:"mobile-only",children:[(0,s.jsx)(d.Zp.Header,{titleId:"injuries_and_suspensions"}),(0,s.jsxs)(i.so,{pt:"sm",pb:"md",children:[(0,s.jsx)(i.az,{flexGrow:1,flexShrink:1,flexBasis:"1/2",children:(0,s.jsx)(k,{missingPlayers:t})}),(0,s.jsx)(i.az,{w:"[1px]",bg:"neutrals.nLv4",mt:"sm",mb:"md",mx:"sm"}),(0,s.jsx)(i.az,{flexGrow:1,flexShrink:1,flexBasis:"1/2",children:(0,s.jsx)(k,{missingPlayers:a})})]})]}):null}}}]);