!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]="c7238153-9dbf-4fdf-88e4-296164680b69",e._sentryDebugIdIdentifier="sentry-dbid-c7238153-9dbf-4fdf-88e4-296164680b69")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[339,2088,9169],{2424:(e,t,s)=>{s.d(t,{A:()=>l});var a=s(6029),i=s(39895);function l(e){return(0,a.jsx)(i.A,Object.assign({width:"24",height:"24",viewBox:"0 0 24 24"},e,{children:(0,a.jsx)("path",{d:"M4 2v14h16V2h2v20h-2v-4H4v4H2V2h2zm8.104.5c.707 0 1.337.118 1.9.344.572.227 1.008.57 1.337 1.014.32.452.485 1.003.485 1.662 0 .59-.136 1.131-.417 1.594-.203.324-.533.62-.989.865.33.138.62.296.844.473.349.295.6.63.736 1.003.146.384.214.787.214 1.23 0 .718-.175 1.318-.533 1.81-.36.492-.844.866-1.464 1.121-.62.256-1.318.384-2.094.384-1.23 0-2.22-.315-2.956-.925v.02c-.737-.61-1.173-1.456-1.309-2.538-.029-.108.02-.158.136-.158H9.68c.096 0 .155.05.174.158.068.502.29.885.66 1.16.358.276.89.414 1.57.414.726 0 1.26-.158 1.608-.453.35-.295.524-.688.524-1.17 0-.256-.058-.512-.184-.738a1.383 1.383 0 0 0-.601-.551c-.272-.138-.64-.207-1.105-.207h-1.474c-.106 0-.155-.049-.155-.157V7.34c0-.108.049-.157.155-.157h1.454c.553 0 .93-.138 1.164-.414.222-.275.339-.61.339-.983 0-.413-.146-.748-.446-1.004-.3-.255-.727-.383-1.29-.383-.6 0-1.075.128-1.414.383-.34.256-.553.61-.62 1.063-.03.108-.078.157-.175.157H8.178c-.107 0-.155-.05-.136-.157.146-1.053.563-1.87 1.27-2.46.708-.59 1.638-.885 2.792-.885z",fill:e.fill,fillRule:"evenodd"})}))}},4653:(e,t,s)=>{s.d(t,{A:()=>r});var a=s(6029),i=s(41735),l=s(39895);function r(e){let t=(0,i.useTheme)();return(0,a.jsx)(l.A,Object.assign({width:24,height:24,viewBox:"0 0 24 24"},e,{children:(0,a.jsxs)("g",Object.assign({fill:t.colors.secondary.default,fillRule:"evenodd"},{children:[(0,a.jsx)("path",{d:"m21.746 13.238-2.37-4.092c-.303-.533-1.125-1.382-3.235-1.084a8.223 8.223 0 0 0-1.27.298c-.291.09-.89.32-1.796.686-.626.28-1.26.597-1.922.985-4.04 2.358-5.908 4.941-4.871 6.757v.018l2.36 4.083C9.07 21.629 9.839 22 10.885 22c1.466 0 3.486-.714 5.909-2.132 1.877-1.093 3.325-2.231 4.2-3.297 1.36-1.653 1.047-2.8.743-3.342l.009.009zM7.828 15.885c-.196-.353.456-2.096 4.22-4.291 2.109-1.229 3.521-1.626 4.343-1.744.975-.135 1.368.073 1.44.2.071.117.035.541-.573 1.273-.518.623-1.582 1.635-3.718 2.881-3.817 2.223-5.524 2.006-5.712 1.671v.01zm11.808-.461c-.518.623-1.582 1.635-3.718 2.881-3.817 2.223-5.524 2.006-5.712 1.672l-.778.451.769-.451-1.216-2.096c1.422-.127 3.272-.831 5.453-2.105 1.877-1.093 3.325-2.231 4.2-3.297.135-.163.233-.307.34-.46l1.234 2.122c.098.163-.045.632-.572 1.274v.009z"}),(0,a.jsx)("g",Object.assign({fill:t.colors.success.default,fillRule:"nonzero"},{children:(0,a.jsx)("path",{d:"M1 7.902c0 .059.04.098.098.098h1.064c.059 0 .098-.04.098-.098V5.549h1.595c1.31 0 2.393-.768 2.393-2.304C6.248 1.748 5.165 1 3.855 1H1.098C1.04 1 1 1.04 1 1.098v6.804zm2.865-5.72c.66 0 1.083.354 1.083 1.073 0 .738-.443 1.112-1.132 1.112H2.26V2.181h1.605zM7.134 7.902c0 .059.039.098.098.098h1.063c.06 0 .099-.04.099-.098V5.549h1.595c1.31 0 2.392-.768 2.392-2.304C12.381 1.748 11.298 1 9.99 1H7.232c-.059 0-.098.04-.098.098v6.804zm2.865-5.72c.66 0 1.083.354 1.083 1.073 0 .738-.443 1.112-1.133 1.112H8.394V2.181h1.605z"})}))]}))}))}},5173:(e,t,s)=>{s.d(t,{A:()=>l});var a=s(6029),i=s(39895);function l(e){return(0,a.jsx)(i.A,Object.assign({width:"14",height:"14",viewBox:"0 0 14 14"},e,{children:(0,a.jsxs)("g",Object.assign({clipPath:"url(#clip0_1_842)"},{children:[(0,a.jsx)("path",{d:"M9.49999 5.83008L6.73999 6.83008V9.85008L8.81999 10.6601L10.89 8.37008L9.49999 5.83008Z",fill:e.fill}),(0,a.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})]}))}))}},5326:(e,t,s)=>{s.d(t,{EN:()=>o,Oi:()=>n,aS:()=>i,sI:()=>r,v1:()=>l});var a=s(21377);let i="goalkeeperGroup",l="goalkeepersGroup",r="G",n={[a.QCR.Football]:{summaryGroup:"rating",attackGroup:"rating",defenceGroup:"rating",passingGroup:"rating",duelsGroup:"rating",goalkeeperGroup:"rating"},[a.QCR.Basketball]:{summaryGroup:"points",pointsGroup:"points",reboundsGroup:"rebounds",otherGroup:"assists"},[a.QCR.Handball]:{playersGroup:"goals",goalkeepersGroup:"goalkeeperEfficiencyPercentage"},[a.QCR.IceHockey]:{summaryGroup:"goals",attackingGroup:"goals",defensiveGroup:"blocked",goalkeeperGroup:"goalkeeperEfficiencyPercentage",otherGroup:"plusMinus"},[a.QCR.AmericanFootball]:{passingGroup:"passingYards",rushingGroup:"rushingAttempts",receivingGroup:"receivingReceptions",defensiveGroup:"defensiveCombineTackles",interceptionsGroup:"defensiveInterceptions",fumblesGroup:"fumbleFumbles",kickingGroup:"kickingTotalPoints",puntingGroup:"puntingTotal",kickReturnsGroup:"kickReturnsTotal",puntReturnsGroup:"puntReturnsTotal"}},o={[a.QCR.Football]:["G","D","M","F"],[a.QCR.Basketball]:["G","GF","FG","F","FC","CF","C"],[a.QCR.IceHockey]:["F","C","L","R","M","D","G"],[a.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"],[a.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"]}},10953:(e,t,s)=>{s.d(t,{A:()=>r});var a=s(90142),i=s(6029),l=s(39895);function r(e){var{fill:t="sentiment-positive"}=e,s=(0,a.T)(e,["fill"]);return(0,i.jsx)(l.A,Object.assign({width:"24",height:"24",viewBox:"0 0 24 24",fill:t},s,{children:(0,i.jsx)("path",{d:"M21 2H2v9h2V4h16v7h2V2h-1zm-9 20a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5z",fill:t,fillRule:"evenodd"})}))}},11663:(e,t,s)=>{s.d(t,{A:()=>r});var a=s(90142),i=s(6029),l=s(39895);function r(e){var{fill:t="#39B57A"}=e,s=(0,a.T)(e,["fill"]);return(0,i.jsx)(l.A,Object.assign({width:"12",height:"14",viewBox:"0 0 12 14",fill:t},s,{children:(0,i.jsxs)("g",Object.assign({clipPath:"url(#clip0_2019_94513)"},{children:[(0,i.jsx)("path",{d:"M1.5 8V10.25H7.75V8H8.75L11.75 11L8.75 14H7.75V11.75H0V8H1.5Z",fill:t}),(0,i.jsx)("path",{d:"M3.75 8H5.25V4.75H8.5V3.25H5.25V0H3.75V3.25H0.5V4.75H3.75V8Z",fill:"#E35C47"})]}))}))}},12174:(e,t,s)=>{s.d(t,{f:()=>_,Y:()=>r});var a=s(21377),i=s(45860),l=s(71046);function r(e){let t=e.tournament.category.sport.slug!==a.QCR.Football||e.status.type!==a.XUj.Finished,{data:s,isLoading:r}=(0,i.Ay)(t?null:a.bnp.bestPlayersSummary(e.id),(0,l.rf)(e)),n=null==s?void 0:s.playerOfTheMatch,o=null==s?void 0:s.bestHomeTeamPlayers.find(e=>e.player.id===(null==n?void 0:n.player.id));return{isLoading:!t&&r,bestPlayer:(null==n?void 0:n.label)==="rating"?n:void 0,team:n?o?e.homeTeam:e.awayTeam:void 0}}var n=s(6029),o=s(32190),c=s(89875),d=s(21501),u=s(76356),h=s(55729),f=s(90248),p=s(65789),g=s(62859),m=s(54409),x=s(61703),y=s(59754),v=s(16620),j=s(48886);function b(){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 w(){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 C=e=>{let{bestPlayer:t,team:s}=e;return(0,n.jsxs)(u.so,{p:"lg",align:"center",justify:"space-between",children:[(0,n.jsxs)(u.so,{align:"center",children:[(0,n.jsx)(o.tg,{id:t.player.id,name:t.player.name,h:48,w:48}),(0,n.jsxs)(u.az,{ml:"sm",children:[(0,n.jsx)(c.EY,{textStyle:"display.medium",mb:"xs",display:"block",children:t.player.name}),(0,n.jsxs)(u.so,{align:"center",children:[(0,n.jsx)(o.pY,{id:s.id,name:s.name,h:16,w:16,mr:"xs"}),(0,n.jsx)(c.EY,{textStyle:"assistive.default",color:"neutrals.nLv3",children:(0,n.jsx)(f.A,{id:s.slug,defaultMessage:s.name})})]})]})]}),(0,n.jsx)(o.GW,{rating:t.value})]})};function _(e){let{event:t}=e,{isLoading:s,bestPlayer:i,team:l}=r(t),{openEventPlayerStatistics:_}=(0,v.d)(),S=(0,y.Z)(t,"playerOfTheMatch"),M=(0,d.hX)(),{location:k}=(0,h.useContext)(g.y$),H=k===g.cb.Widget;return t.tournament.category.sport.slug===a.QCR.Football&&t.status.type===a.XUj.Finished&&(M||s)?(0,n.jsx)(p.Zp,{isNewCard:!0,children:(0,n.jsx)(u.az,{h:"[120px]"})}):s||i?(0,n.jsx)(p.HH,{isCard:!H&&!S,isNewCard:!0,children:(0,n.jsx)(x.b,{entityId:t.id,isInverseDesktop:H,branding:S,location:"event_potm",children:(0,n.jsxs)(u.so,{position:"relative",h:"[120px]",justify:"space-between",bg:"surface.s2",elevation:{mdDown:"2"},roundedTop:S?void 0:"lg",roundedBottom:"lg",overflow:"hidden",cursor:"pointer",onClick:()=>i&&_({event:t,player:i.player},j._.PlayerOfTheMatch),children:[(0,n.jsx)(b,{}),(0,n.jsx)(w,{}),(0,n.jsxs)(u.az,{position:"absolute",top:"0",left:"0",w:"100%",children:[(0,n.jsxs)(u.so,{pt:"md",px:"lg",pb:"xs",align:"center",children:[(0,n.jsx)(m.ue7,{mr:"sm",w:24,h:24,fill:(0,o.Et)(null==i?void 0:i.value)}),(0,n.jsx)(c.EY,{textStyle:"display.medium",lineHeight:"24px",children:(0,n.jsx)(f.A,{id:"details.manOfMatch"})})]}),(0,n.jsx)(u.az,{minH:"8xl",children:i&&l&&(0,n.jsx)(C,{bestPlayer:i,team:l})})]})]})})}):null}},12275:(e,t,s)=>{s.d(t,{A:()=>l});var a=s(6029),i=s(39895);function l(e){return(0,a.jsx)(i.A,Object.assign({width:"24",height:"24",viewBox:"0 0 24 24"},e,{children:(0,a.jsx)("path",{d:"M12 8.5c3.72 0 6.75 3.03 6.75 6.75S15.72 22 12 22s-6.75-3.03-6.75-6.75S8.28 8.5 12 8.5zm-.03 1c-.25 0-.5.02-.74.05l1.02 1.14-1.31 2.03H8.61l-.41-1.81c-.23.2-.44.42-.64.65l.34 1.52L6.97 15h-.75c-.01.09-.01.17-.01.25 0 .17.01.35.03.52l.59.01h-.02l1.39 2.14-.35 1.34c.2.21.42.4.65.57l.37-1.42h2.18l1.68 1.68-.33.88c.29-.03.59-.07.87-.14l.17-.46 2.47-1.28.2.12c.18-.19.35-.39.5-.6l-.23-.13-.48-2.69.95-1.26.83.22.01-.01c-.03-.28-.08-.56-.14-.83l-.78-.2-.85-1.99.36-.25a5.71 5.71 0 0 0-.55-.55l-.36.25-2.33-.75-.81-.91c-.09-.01-.17-.01-.26-.01zm.87 6.14 2.34.48.4 2.28-2.27 1.18-1.61-1.6 1.14-2.34zM11 13.49l1.16 1.78-1.15 2.37H8.93l-1.37-2.1 1-2.05H11zm1.85-2.32 2.31.74.98 2.28-.87 1.16-2.47-.51-1.16-1.79 1.21-1.88zM22 2v9h-2V4H4v7H2V2h20z",fill:e.fill,fillRule:"evenodd"})}))}},13181:(e,t,s)=>{s.d(t,{A:()=>l});var a=s(6029),i=s(39895);function l(e){return(0,a.jsx)(i.A,Object.assign({width:"24",height:"24",viewBox:"0 0 24 24"},e,{children:(0,a.jsx)("path",{d:"m2 12.607 1.414 1.414L14.021 3.414 12.607 2 2 12.607zM21.26 8.79l-.07-.07c-.82-.68-2.03-.73-3.1-.68-2.68.12-5.12 1.17-7.06 3.05-1.89 1.95-2.94 4.39-3.06 7.07 0 .19-.01.37-.01.54 0 1.19.22 1.98.7 2.55l.07.07c.82.68 2.03.73 3.1.68 2.68-.12 5.12-1.17 7.06-3.05 1.89-1.95 2.94-4.39 3.06-7.08.07-1.47-.13-2.44-.68-3.1l-.01.02zm-2.49 5.47-.76.76-1.14-1.14-1.14 1.14 1.14 1.14-.76.76-1.14-1.14-1.14 1.14 1.14 1.14-.76.76-1.14-1.14-1.14 1.14-.76-.76 1.14-1.14-1.14-1.14.76-.76 1.14 1.14 1.14-1.14-1.14-1.14.76-.76 1.14 1.14 1.14-1.14-1.14-1.14.76-.76 1.14 1.14 1.14-1.14.76.76-1.14 1.14 1.14 1.14z",fill:e.fill,fillRule:"evenodd"})}))}},13429:(e,t,s)=>{s.d(t,{A:()=>K});var a=s(6029),i=s(43681),l=s(10953),r=s(91289),n=s(97080),o=s(13181),c=s(45079),d=s(84684),u=s(86877),h=s(39895);function f(e){return(0,a.jsxs)(h.A,Object.assign({width:"20",height:"20",viewBox:"0 0 20 20"},e,{children:[(0,a.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,a.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,a.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,a.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,a.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,a.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,a.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,a.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,a.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,a.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 p(e){return(0,a.jsxs)(h.A,Object.assign({width:"24",height:"24",viewBox:"0 0 24 24"},e,{children:[(0,a.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,a.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,a.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,a.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,a.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,a.jsx)("path",{d:"M0 0V9H2V2H18V9H20V0H0Z",fill:e.fill}),(0,a.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 g=s(77749),m=s(80339),x=s(14532);function y(e){return(0,a.jsxs)(h.A,Object.assign({width:"20",height:"20",viewBox:"0 0 20 20"},e,{children:[(0,a.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,a.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,a.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,a.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,a.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 v(e){return(0,a.jsxs)(h.A,Object.assign({width:"20",height:"20",viewBox:"0 0 20 20"},e,{children:[(0,a.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,a.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,a.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,a.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,a.jsx)("path",{d:"M20 0H0V9H2V2H18V9H20V0Z",fill:e.fill}),(0,a.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 j=s(35518),b=s(31698),w=s(32256),C=s(51555),_=s(12275),S=s(44742),M=s(57773),k=s(65549),H=s(49336),z=s(26624),A=s(4653),L=s(67996),O=s(61390),P=s(84262),V=s(55217),I=s(61848),R=s(79826),T=s(23147),E=s(33787),B=s(2424),Z=s(75341),F=s(86838),G=s(20191),N=s(63788),D=s(27974),W=s(55807),Y=s(87234),U=s(18682);let $={card:{yellow:{fill:"scoreRating.s65",Icon:e=>(0,a.jsx)(x.A,Object.assign({},e))},yellowRed:{Icon:e=>(0,a.jsx)(g.A,Object.assign({},e))},red:{fill:"error.default",Icon:e=>(0,a.jsx)(m.default,Object.assign({},e))}},goal:{football:{regular:{fill:"secondary.default",Icon:e=>(0,a.jsx)(j.A,Object.assign({},e))},penalty:{fill:"secondary.default",Icon:e=>(0,a.jsx)(w.A,Object.assign({},e))},ownGoal:{fill:"error.default",Icon:e=>(0,a.jsx)(b.A,Object.assign({},e))}},futsal:{regular:{fill:"secondary.default",Icon:e=>(0,a.jsx)(j.A,Object.assign({},e))},penalty:{fill:"secondary.default",Icon:e=>(0,a.jsx)(w.A,Object.assign({},e))},ownGoal:{fill:"error.default",Icon:e=>(0,a.jsx)(b.A,Object.assign({},e))},accumulatedPenalty:{fill:"secondary.default",Icon:e=>(0,a.jsx)(l.A,Object.assign({},e))}},minifootball:{regular:{fill:"secondary.default",Icon:e=>(0,a.jsx)(j.A,Object.assign({},e))},penalty:{fill:"secondary.default",Icon:e=>(0,a.jsx)(w.A,Object.assign({},e))},accumulatedPenalty:{fill:"secondary.default",Icon:e=>(0,a.jsx)(l.A,Object.assign({},e))},ownGoal:{fill:"error.default",Icon:e=>(0,a.jsx)(b.A,Object.assign({},e))}},"american-football":{fieldGoal:{fill:"secondary.default",Icon:e=>(0,a.jsx)(n.A,Object.assign({},e))},rouge:{fill:"secondary.default",Icon:e=>(0,a.jsx)(o.A,Object.assign({},e))},twoPointConversion:{fill:"secondary.default",Icon:e=>(0,a.jsx)(u.A,Object.assign({},e))},touchdown:{fill:"secondary.default",Icon:e=>(0,a.jsx)(d.A,Object.assign({},e))},extraPoint:{fill:"secondary.default",Icon:e=>(0,a.jsx)(r.A,Object.assign({},e))},safety:{fill:"secondary.default",Icon:e=>(0,a.jsx)(c.A,Object.assign({},e))}},rugby:{onePoint:{fill:"secondary.default",Icon:e=>(0,a.jsx)(T.A,Object.assign({},e))},twoPoints:{fill:"secondary.default",Icon:e=>(0,a.jsx)(F.A,Object.assign({},e))},threePoints:{fill:"secondary.default",Icon:e=>(0,a.jsx)(B.A,Object.assign({},e))},try:{fill:"secondary.default",Icon:e=>(0,a.jsx)(Z.A,Object.assign({},e))},penaltyTry:{fill:"secondary.default",Icon:e=>(0,a.jsx)(E.A,Object.assign({},e))}},"ice-hockey":{regular:{fill:"secondary.default",Icon:e=>(0,a.jsx)(k.A,Object.assign({},e))},emptynet:{fill:"secondary.default",Icon:e=>(0,a.jsx)(k.A,Object.assign({},e))},ownGoal:{fill:"error.default",Icon:e=>(0,a.jsx)(H.A,Object.assign({},e))},penalty:{fill:"secondary.default",Icon:e=>(0,a.jsx)(z.A,Object.assign({},e))},powerplay:{fill:"secondary.default",Icon:e=>(0,a.jsx)(A.A,Object.assign({},e))},shorthanded:{fill:"secondary.default",Icon:e=>(0,a.jsx)(L.A,Object.assign({},e))}},handball:{regular:{fill:"secondary.default",Icon:e=>(0,a.jsx)(C.A,Object.assign({},e))},penalty:{fill:"secondary.default",Icon:e=>(0,a.jsx)(_.A,Object.assign({},e))}},waterpolo:{regular:{fill:"secondary.default",Icon:e=>(0,a.jsx)(Y.A,Object.assign({},e))},penalty:{fill:"secondary.default",Icon:e=>(0,a.jsx)(U.A,Object.assign({},e))}},bandy:{regular:{fill:"onSurface.nLv1",Icon:e=>(0,a.jsx)(f,Object.assign({},e))},penalty:{fill:"onSurface.nLv1",Icon:e=>(0,a.jsx)(p,Object.assign({},e))}},floorball:{regular:{fill:"onSurface.nLv1",Icon:e=>(0,a.jsx)(y,Object.assign({},e))},penalty:{fill:"onSurface.nLv1",Icon:e=>(0,a.jsx)(v,Object.assign({},e))}},regular:{Icon:()=>null}},substitution:{"ice-hockey":{goalkeeperIn:{fill:"primary.default",Icon:e=>(0,a.jsx)(S.A,Object.assign({},e))},goalkeeperOut:{fill:"primary.default",Icon:e=>(0,a.jsx)(M.A,Object.assign({},e))}},injury:{fill:"primary.default",Icon:e=>(0,a.jsx)(N.A,Object.assign({},e))},temporary:{fill:"primary.default",Icon:e=>(0,a.jsx)(D.A,Object.assign({},e))},regular:{fill:"primary.default",Icon:e=>(0,a.jsx)(G.A,Object.assign({},e))}},penaltyShootout:{"ice-hockey":{scored:{fill:"secondary.default",Icon:e=>(0,a.jsx)(z.A,Object.assign({},e))}},waterpolo:{scored:{fill:"secondary.default",Icon:e=>(0,a.jsx)(U.A,Object.assign({},e))}},rugby:{scored:{fill:"secondary.default",Icon:e=>(0,a.jsx)(I.A,Object.assign({},e))},missed:{fill:"error.default",Icon:e=>(0,a.jsx)(V.A,Object.assign({},e))}},taker:{fill:"secondary.default",Icon:e=>(0,a.jsx)(R.A,Object.assign({},e))},scored:{fill:"secondary.default",Icon:e=>(0,a.jsx)(w.A,Object.assign({},e))},missed:{fill:"error.default",Icon:e=>(0,a.jsx)(P.A,Object.assign({},e))}},inGamePenalty:{taker:{fill:"secondary.default",Icon:e=>(0,a.jsx)(R.A,Object.assign({},e))},scored:{fill:"secondary.default",Icon:e=>(0,a.jsx)(w.A,Object.assign({},e))},missed:{fill:"error.default",Icon:e=>(0,a.jsx)(P.A,Object.assign({},e))}},varDecision:{regular:{fill:"primary.default",Icon:e=>(0,a.jsx)(W.A,Object.assign({},e))}},suspension:{minifootball:{regular:{fill:"error.default",Icon:e=>(0,a.jsx)(i.A,Object.assign({},e))}},handball:{regular:{fill:"error.default",Icon:e=>(0,a.jsx)(i.A,Object.assign({},e))}},twoMinutes:{fill:"error.default",Icon:e=>(0,a.jsx)(i.A,Object.assign({},e))},"ice-hockey":{zeroMinutes:{fill:"error.default",Icon:e=>(0,a.jsx)(O.A,Object.assign({},e))},twoMinutes:{fill:"error.default",Icon:e=>(0,a.jsx)(O.A,Object.assign({},e))},fourMinutes:{fill:"error.default",Icon:e=>(0,a.jsx)(O.A,Object.assign({},e))},fiveMinutes:{fill:"error.default",Icon:e=>(0,a.jsx)(O.A,Object.assign({},e))},tenMinutes:{fill:"error.default",Icon:e=>(0,a.jsx)(O.A,Object.assign({},e))},regular:{fill:"error.default",Icon:e=>(0,a.jsx)(O.A,Object.assign({},e))}}}};function K({incidentType:e,incidentClass:t,sport:s,title:i,svgProps:l,fallback:r=null}){var n,o,c,d,u,h;let f=(null==(o=null==(n=$[e])?void 0:n[s])?void 0:o.regular)||(null==(c=$[e])?void 0:c.regular);if(t&&(f=(null==(u=null==(d=$[e])?void 0:d[s])?void 0:u[t])||(null==(h=$[e])?void 0:h[t])||$[e].regular),!(null==f?void 0:f.Icon))return r;let p=f.Icon;return(0,a.jsx)(p,Object.assign({width:24,height:24,fill:f.fill,title:i,style:{minWidth:(null==l?void 0:l.width)||"24px",display:"inline-block"}},l))}},14532:(e,t,s)=>{s.d(t,{A:()=>r});var a=s(90142),i=s(6029),l=s(39895);function r(e){var{fill:t="scoreRating.s65"}=e,s=(0,a.T)(e,["fill"]);return(0,i.jsx)(l.A,Object.assign({width:"16",height:"16",viewBox:"0 0 16 16",fill:t},s,{children:(0,i.jsx)("path",{fill:t,d:"M3 1h10v14H3z",fillRule:"evenodd"})}))}},16206:(e,t,s)=>{s.r(t),s.d(t,{default:()=>K});var a=s(6029),i=s(89875),l=s(21501),r=s(76356),n=s(99064),o=s(55729),c=s(62859),d=s(73011),u=s(9489),h=s(21377),f=s(48886),p=s(5326);let g=e=>{let t=e.statistics;for(let e=0;e0)return!0}return!1},m=(e,t,s)=>t===h.QCR.Football&&e===p.aS?s.player.position===p.sI:t===h.QCR.Handball?e!==p.v1||g(s):t===h.QCR.IceHockey?e!==p.aS||g(s):t!==h.QCR.AmericanFootball||g(s),x=(e,t)=>{var s,a,i,l,r;return!!e.value&&null!=(s=t.statistics)&&!!s[e.value]||!!e.secondaryValue&&null!=(a=t.statistics)&&!!a[e.secondaryValue]||!!e.madesValue&&null!=(i=t.statistics)&&!!i[e.madesValue]||!!e.attemptsValue&&null!=(l=t.statistics)&&!!l[e.attemptsValue]||e.replacementValue&&!!(null==(r=t.statistics)?void 0:r[e.replacementValue])},y=(e,t,s)=>s===h.QCR.AmericanFootball?Object.keys(e).filter(s=>e[s].find(e=>!!t.left.players.find(t=>x(e,t))||!!t.right.players.find(t=>x(e,t)))):Object.keys(e),v=e=>{let t={};return Object.keys(e).forEach(s=>{t[s]={stat:e[s],dir:f.U.DESC}}),t};var j=s(16620),b=s(40237),w=s(90248),C=s(69559),_=s(54409),S=s(35474),M=s(82707),k=s(94493),H=s(24159),z=s(54917),A=s(85306);let L=e=>{let{teamId:t,teamName:s}=e;return(0,a.jsx)(n.XI.Cell,{children:(0,a.jsx)(r.az,{py:"xs",px:"sm",children:(0,a.jsx)(b.p,{id:t,name:s,size:24})})})},O=e=>{let{player:t,onClick:s}=e,l=(0,C.o)(),o=l===h.QCR.Basketball&&!!t.ejected;return(0,a.jsx)(n.XI.Cell,{children:(0,a.jsx)(M.uc,{player:t,onClick:e=>s(e,t),sportSlug:l,children:(0,a.jsxs)(r.so,{direction:"column",py:"sm",px:"lg",align:"flex-start",children:[(0,a.jsx)(i.EY,{textStyle:"body.small",_hover:{color:"primary.default"},children:(0,a.jsx)(H.c,{entity:t})}),o&&(0,a.jsx)(r.so,{bg:"status.error.default",display:"inline-flex",h:"md",align:"center",br:"md",px:"sm",children:(0,a.jsx)(i.EY,{textStyle:"assistive.micro",color:"surface.s1",children:(0,a.jsx)(w.A,{id:"basketball_player_ejected_long"})})})]})})})},P=e=>{let{statistic:t,isSortBy:s,position:l}=e,o=t.configStatsKey.replacementValue,c=o&&"number"==typeof t.stats[o]?o:t.configStatsKey.value,d=(0,S.Rs)(t.stats,t.configStatsKey);return(0,a.jsxs)(n.XI.Cell,{style:{position:"relative",whiteSpace:"nowrap"},children:[(0,a.jsx)(r.az,{position:"absolute",top:"0",left:"0",w:"100%",h:"100%",bg:s?"surface.s2":void 0}),(0,a.jsx)(i.EY,{py:"sm",px:"lg",textStyle:"body.small",textAlign:"center",display:"block",position:"relative",children:c===A.K.ExpectedGoals?(0,a.jsx)(a.Fragment,{children:d||"-"}):c===A.K.Rating?(0,a.jsx)(r.so,{justify:"center",children:(0,a.jsx)(b.G,{rating:t.stats[c]})}):c===A.K.Position?l?(0,a.jsx)(z.F,{id:l,short:!0}):"-":c!==A.K.Notes?d:d.split("\n").map(e=>e.length?(0,a.jsx)("div",{children:e},e):null)})]})},V=e=>{let{filteredTeamId:t,onFilterClick:s,leftTeam:l,rightTeam:o}=e;return(0,a.jsx)(n.XI.HeadCell,{w:170,maxW:170,minW:160,children:(0,a.jsxs)(r.so,{py:"md",px:"sm",gap:"sm",align:"center",justify:"center",children:[(0,a.jsxs)(r.az,{minW:"fit",p:"xs",br:"[20px]",border:t?"none":"primary.highlight",bg:t?"surface.s2":"primary.highlight",onClick:()=>s(void 0),cursor:"pointer",children:[(0,a.jsx)(b.p,{id:l.id,name:l.name,size:24,style:{verticalAlign:"top"}}),(0,a.jsx)(i.EY,{textStyle:"assistive.default",color:"neutrals.nLv3",mx:"xs",children:"+"}),(0,a.jsx)(b.p,{id:o.id,name:o.name,size:24,style:{verticalAlign:"top"}})]}),(0,a.jsx)(r.az,{p:"xs",br:"50%",border:t===l.id?"primary.highlight":"none",bg:t===l.id?"primary.highlight":"surface.s2",onClick:()=>s(l.id),cursor:"pointer",children:(0,a.jsx)(b.p,{id:l.id,name:l.name,size:24,style:{verticalAlign:"top"}})}),(0,a.jsx)(r.az,{p:"xs",br:"50%",border:t===o.id?"primary.highlight":"none",bg:t===o.id?"primary.highlight":"surface.s2",onClick:()=>s(o.id),cursor:"pointer",children:(0,a.jsx)(b.p,{id:o.id,name:o.name,size:24,style:{verticalAlign:"top"}})})]})})},I=e=>{let{statistic:t,sortConfig:s,onColumnClick:l,sport:o}=e,c=t.configStatsKey.replacementValue,d="";d=c&&"number"==typeof t.stats[c]?c:t.configStatsKey.value;let u=s.stat.value===t.configStatsKey.value,p=u&&s.dir===f.U.ASC,g=d===A.K.Notes;return(0,a.jsx)(n.XI.HeadCell,{onClick:()=>{d!==A.K.Notes&&l(t.configStatsKey)},style:{position:"relative"},children:(0,a.jsxs)(r.az,{minW:g?"[124px]":o===h.QCR.AmericanFootball?"[100px]":void 0,p:"xs",textAlign:"center",cursor:g?"default":"pointer",children:[(0,a.jsx)(r.so,{position:"absolute",top:"0",left:"0",w:"100%",h:"100%",bg:u?"surface.s2":void 0}),(0,a.jsx)(r.ov,{minH:"2xl",position:"relative",children:(0,a.jsx)(i.EY,{textStyle:"body.small",color:"neutrals.nLv3",textAlign:"center",children:(0,a.jsx)(k.w,{id:d})})}),(0,a.jsx)(_.Bfd,{fill:g?"transparent":u?"primary.default":"onSurface.nLv4",style:{transition:"transform 0.3s ease-in-out",transform:" rotate(".concat(180*!!p,"deg)")}})]})})};var R=s(947),T=s(99586),E=s(50677),B=s(27892),Z=s(4967);let F=(e,t,s)=>{let a=[];for(let i of e.players){let l=[];for(let s of t){let{statistics:t}=i;if(!e.players.every(e=>{var t;return!s.textualDescription&&!(null==(t=e.statistics)?void 0:t[s.value])&&s.hideIfNone})&&t){let e={stats:{},configStatsKey:{...s}};if(e.stats[s.value]=s.value in t?t[s.value]:0,"minutesPlayed"===s.value&&"number"==typeof e.stats[s.value]&&(e.stats[s.value]="".concat(e.stats[s.value],"'")),s.secondaryValue&&(e.stats[s.secondaryValue]=s.secondaryValue in t?t[s.secondaryValue]:0),s.madesValue&&(e.stats[s.madesValue]=s.madesValue in t?t[s.madesValue]:0),s.attemptsValue&&(e.stats[s.attemptsValue]=s.attemptsValue in t?t[s.attemptsValue]:0),s.textualDescription){let a=Object.keys(s.textualDescription),i={};for(let e of a)i[e]=Number(t[e]||0);e.stats[s.value]=i}s.replacementValue&&"number"==typeof t[s.replacementValue]&&(e.stats[s.replacementValue]=t[s.replacementValue]),l.push(e)}}a.push({player:{...i.player,...s(i.player.id),position:i.position,ejected:i.ejected},statistics:l})}return a},G=(e,t)=>{let s={};for(let a of e)if(a.statistics){if((t===h.QCR.Football||t===h.QCR.Basketball)&&!("minutesPlayed"in a.statistics)&&!("secondsPlayed"in a.statistics))continue;let e=Number(a.statistics.totalClearance||0)+Number(a.statistics.outfielderBlock||0)+Number(a.statistics.interceptionWon||0)+Number(a.statistics.totalTackle||0),i=Number(a.statistics.duelWon||0)+Number(a.statistics.duelLost||0),l=Number(a.statistics.aerialWon||0)+Number(a.statistics.aerialLost||0),r=i-l,n=a.statistics.aerialWon||i-r-Number(a.statistics.aerialLost||0),o=a.statistics.groundWon||Number(a.statistics.duelWon)-Number(n),c=Number(a.statistics.faceOffTaken||0),d=Number(a.statistics.kickingFgAttempts||0),u=a.statistics.minutesPlayed,f="-";!u&&a.statistics.secondsPlayed&&(t===h.QCR.IceHockey?f=(0,Z.OV)(Number(a.statistics.secondsPlayed)):u=Math.floor(Number(a.statistics.secondsPlayed)/60));let p=0;"number"==typeof a.statistics.saves&&"number"==typeof a.statistics.gkShots&&a.statistics.gkShots>0&&(p=Number(a.statistics.saves)/Number(a.statistics.gkShots)*100),"number"==typeof a.statistics.saves&&"number"==typeof a.statistics.shotsAgainst&&a.statistics.shotsAgainst>0&&(p=Number(a.statistics.saves)/Number(a.statistics.shotsAgainst)*100);let g=0;"number"==typeof a.statistics.goals&&"number"==typeof a.statistics.shotsTaken&&a.statistics.shotsTaken>0&&(g=Number(a.statistics.goals)/Number(a.statistics.shotsTaken)*100);let m=0;(0,S.Kk)(a.statistics)&&(m=(0,S.C2)(a.statistics)),s[a.player.id]={...a,statistics:{...a.statistics,totalDefensiveActions:e,totalDuels:i,totalAerialDuels:l,totalGroundDuels:r,aerialWon:n,groundWon:o,duelWon:a.statistics.duelWon||0,minutesPlayed:u,timeOnIce:f,faceOffTakenOnly:c,kickingFg:d,goalkeeperEfficiencyPercentage:p,shotAccuracy:g,position:a.position||0,passingRating:m}}}return s},N=(e,t,s)=>{for(let a of e.statistics)if(a.configStatsKey.textualDescription)for(let e of Object.keys(a.configStatsKey.textualDescription))a.configStatsKey.textualDescription[e]=t.formatMessage({id:(0,B.O)(E,e,s)});return e},D=(e,t,s,a,i,l)=>{let{event:r,leftTeam:n,rightTeam:d}=(0,o.useContext)(c.y$),u=(0,R.A)(),h=r.tournament.category.sport.slug,f={},p={},g=(e,t)=>{l&&l!==t.id||(f[e.player.id]={teamId:t.id,teamName:t.name},p[e.player.id]=e)};a.left.players.forEach(e=>g(e,n)),a.right.players.forEach(e=>g(e,d));let x=G(Object.values(p),h);return F({players:Object.values((0,T.C)(x,e,i,h))},s,e=>f[e]).filter(e=>m(t,h,e)).map(e=>N(e,u,h))};var W=s(71046);let Y=e=>{let{sortConfig:t,updateSortStatistic:s,filteredTeamId:i,onFilterClick:l,defaultSortStat:d,stats:u,lineups:h,groupName:p}=e,{event:g,leftTeam:m,rightTeam:x}=(0,o.useContext)(c.y$),{openEventPlayerStatistics:y}=(0,j.d)(),v=(e,t)=>{e.preventDefault(),g.hasEventPlayerStatistics&&y({event:g,player:t},f._.PlayerStats)},b=D(t,p,u,h,d,i);return b.length?(0,a.jsxs)(n.XI,{w:"100%",children:[(0,a.jsx)(n.XI.Head,{children:(0,a.jsxs)(n.XI.Row,{children:[(0,a.jsx)(n.XI.HeadCell,{maxW:40,w:40,children:(0,a.jsx)(r.az,{w:"3xl",h:"xl"})}),(0,a.jsx)(V,{filteredTeamId:i,onFilterClick:l,leftTeam:m,rightTeam:x}),b[0].statistics.map(e=>(0,a.jsx)(I,{sport:(0,W.c5)(g),statistic:e,sortConfig:t,onColumnClick:()=>s(e.configStatsKey,p)},e.configStatsKey.value))]})}),(0,a.jsx)(n.XI.Body,{children:b.map(e=>(0,a.jsxs)(n.XI.Row,{children:[(0,a.jsx)(L,{teamId:e.player.teamId,teamName:e.player.teamName}),(0,a.jsx)(O,{player:e.player,onClick:v}),e.statistics.map(s=>(0,a.jsx)(P,{statistic:s,isSortBy:s.configStatsKey.value===t.stat.value,position:e.player.position},s.configStatsKey.value))]},e.player.id))})]}):null};var U=s(71306);let $=(e,t)=>{let s=(0,o.useMemo)(()=>{let s={};return Object.keys(p.Oi[e]).forEach(a=>{let i=p.Oi[e][a];s[a]=t[a].find(e=>e.value===i)||t[a][0]}),s},[e]),[a,i]=(0,o.useState)(()=>v(s));return{defaultSorts:s,sortConfigs:a,updateSortStatistic:(e,t)=>{i(s=>({...s,[t]:(0,U.I)(s[t],e)}))}}},K=e=>{let{lineups:t}=e,s=(0,o.useContext)(c.Ws),h=(0,d.nm)(s),f=y(h,t,s),p=(0,o.useRef)(null),g=(0,l.uc)(p),[m,x]=(0,o.useState)(f[0]),[v,j]=(0,o.useState)(),{defaultSorts:b,sortConfigs:w,updateSortStatistic:C}=$(s,h),_=(0,o.useCallback)(e=>j(e),[]);return f?(0,a.jsxs)(n.tU,{variant:"quaternary",initialValue:0,value:m||0,onChange:e=>x(e),children:[(0,a.jsx)(r.az,{py:"sm",px:"lg",children:f.map(e=>(0,a.jsx)(n.tU.Tab,{ml:0,tabKey:e,children:(0,a.jsx)(u.R,{id:e})},e))}),f.map(e=>(0,a.jsx)(n.tU.Panel,{tabKey:e,children:(0,a.jsx)(r.az,{pb:"lg",ref:p,children:(0,a.jsx)(i.tR,{scrollButtonTopPosition:38,children:(0,a.jsx)(r.az,{style:{minWidth:g},children:(0,a.jsx)(Y,{sortConfig:w[e],updateSortStatistic:C,defaultSortStat:b[e],filteredTeamId:v,onFilterClick:_,stats:h[e],lineups:t,groupName:e})})})})},e))]}):null}},17485:(e,t,s)=>{s.d(t,{u:()=>N});var a=s(6029),i=s(21377),l=s(89875),r=s(99064),n=s(55729),o=s(65789),c=s(62859),d=s(33144),u=s(8703),h=s(16620),f=s(48886),p=s(82707),g=s(24159),m=s(54863),x=s(55529),y=s(58991),v=s(23332),j=s(41735);let b=()=>{let{colors:e}=(0,j.useTheme)();return(0,a.jsx)("svg",{viewBox:"0 0 344 608",children:(0,a.jsxs)("g",{fill:"none",fillRule:"evenodd",children:[(0,a.jsx)("path",{fill:e.graphicsTerrain.football,d:"M0 0h344v608H0z"}),(0,a.jsx)("g",{fill:e.onSurface.nLv5,children:(0,a.jsx)("path",{d:"M4 52h336v72H4zM4 196h336v72H4zM4 340h336v72H4zM4 484h336v72H4z"})}),(0,a.jsxs)("g",{fill:e.surface.s1,fillRule:"nonzero",children:[(0,a.jsx)("path",{d:"M340 303H4v289h336V303zM5.953 305.001h332.094v285H5.953v-285z"}),(0,a.jsx)("path",{d:"M4 556.011h336v-2.054H4zM4 446.011h336v-2.054H4z"}),(0,a.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,a.jsxs)("g",{children:[(0,a.jsx)("path",{d:"M340 305.011H4v-289h336v289zM5.953 303.01h332.094v-285H5.953v285z"}),(0,a.jsx)("path",{d:"M4 52h336v2.054H4zM4 162h336v2.054H4z"}),(0,a.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"})]})]})]})})},w=e=>{let{type:t,children:s}=e;return(0,a.jsxs)(r.az,{position:"relative",children:[(0,a.jsx)(b,{}),(0,a.jsx)(r.az,{position:"absolute",w:"100%",h:"100%",px:"1%",py:"15%",left:0,top:0,children:(0,a.jsx)(r.az,{w:"100%",h:"100%",display:"grid",style:{gridTemplateColumns:"repeat(".concat("fifteens"===t?5:4,", 1fr)"),gridTemplateRows:"repeat(".concat(7,", 1fr)")},children:s})})]})};var C=s(94400),_=s(48485),S=s(19991),M=s(90248),k=s(54409),H=s(84942),z=s(19558),A=s(73488);let L=(0,j.default)(p.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;}"],r.Py.Button);function O(e){var t,s,l;let{player:o,incidents:c,onClick:d,jersey:u,color:h,useShortName:f,showSubstitutionNames:p=!0,showGoalScorer:g=!0,nameWidth:m,hasRatings:x,isPlayerOfTheMatch:y}=e,v=(0,n.useMemo)(()=>c?(0,_.h)({id:o.player.id,incidents:c,useShortName:f}):{},[o,c]),j=null==(t=o.statistics)?void 0:t.rating,b=1;void 0===j&&o.avgRating&&(j=o.avgRating,b=2);let w=(0,H.z)(o.player,(0,z.kx)(o,f)),O=(0,z.sP)(w,o.captain);return(0,a.jsxs)(L,{onClick:d,player:o.player,sportSlug:i.QCR.Rugby,children:[y&&(0,a.jsx)(k.ue7,{w:16,h:16,fill:(0,S.Et)(null==(s=o.statistics)?void 0:s.rating),position:"absolute",top:-16,left:"calc(50% - 8px)"}),(0,a.jsx)(r._V,{w:"28px",h:"32px",src:u,alt:""}),(0,a.jsx)(r.EY,{position:"absolute",top:"3px",left:"calc(50% - 12px)",align:"center",w:"xl",font:"table.large",fontSize:o.jerseyNumber&&o.jerseyNumber.length>=3?12:void 0,letterSpacing:"-0.2px",mt:o.jerseyNumber&&o.jerseyNumber.length>=3?"xxs":void 0,color:h?"#".concat(h.fancyNumber):"onSurface.nLv1",children:o.jerseyNumber}),v.substitutionIn&&(0,a.jsx)(r.az,{position:"absolute",top:"0",left:"-2",children:(0,a.jsx)(A.FU,{isInjury:v.substitutionIn.isInjury})}),!v.substitutionIn&&v.substitutionOut&&(0,a.jsx)(r.az,{position:"absolute",top:"0",left:"-2",children:(0,a.jsx)(A.FU,{isInjury:v.substitutionOut.isInjury})}),x&&(0,a.jsx)(r.az,{position:"absolute",top:"lg",left:-2,children:(0,a.jsx)(C.A,{rating:j,format:"box",size:"sm",decimalPoints:b})}),(0,a.jsx)(r.EY,{align:"center",lineHeight:1,font:"assistive.default",color:"onSurface.nLv1",pt:"xs",title:O,w:m,style:{hyphens:"auto"},children:O}),p&&(null==(l=v.substitutionIn)?void 0:l.forPlayer)&&(0,a.jsxs)(r.EY,{align:"center",lineHeight:1,font:"table.small",color:"onSurface.nLv3",title:v.substitutionIn.forPlayer,children:[(0,a.jsx)(M.A,{id:"injury_status_out"}),": ",v.substitutionIn.forPlayer]}),(0,a.jsx)(r.az,{position:"absolute",top:"0",right:"-2",children:(0,a.jsx)(A.AG,{...v})}),g&&(0,a.jsx)(r.az,{position:"absolute",top:"lg",right:"-2",children:(0,a.jsx)(A.X0,{...v,inField:!0})})]})}let P=e=>{let{type:t="fifteens",players:s,incidents:i,jersey:l,jerseyNumberColor:n,onPlayerClick:o}=e,c="fifteens"===t?x.vD:x.Xj,d="fifteens"===t?x.Cy:x.uU,u=(e,t)=>{o&&(e.preventDefault(),o(t))};return(0,a.jsx)(w,{type:t,children:s.map(e=>e.shirtNumber?(0,a.jsx)(r.so,{position:"relative",justify:"center",align:"center",style:c[e.shirtNumber],children:(0,a.jsx)(r.az,{position:"absolute",style:d[e.shirtNumber],children:(0,a.jsx)(O,{player:e,incidents:i,jersey:l,color:n,nameWidth:64,showSubstitutionNames:!1,showGoalScorer:!1,onClick:t=>u(t,e.player)})})},e.player.id):null)})},V=()=>{let{event:e,team:t,incidents:s,manager:i,jersey:l,startingPlayers:n,jerseyNumberColor:o,substitutePlayers:c}=(0,m.rR)(),{openEventPlayerStatistics:j}=(0,h.d)();return e.isEditor?(0,a.jsxs)(r.so,{direction:"column",gap:"md",children:[(0,a.jsx)(p.gT,{team:t,sport:(0,u.c5)(e),children:(0,a.jsxs)(r.so,{gap:"lg",align:"center",children:[(0,a.jsx)(d.p,{size:40,id:t.id,name:t.name}),(0,a.jsx)(r.EY,{font:"display.large",children:(0,a.jsx)(g.c,{entity:t})})]})}),(0,a.jsx)(r.az,{br:"sm",overflow:"hidden",children:(0,a.jsx)(P,{type:e.tournament.category.sportVariant===x.WM?"sevens":"fifteens",players:n,incidents:s,jersey:l,jerseyNumberColor:o,onPlayerClick:e.hasEventPlayerStatistics?t=>j({event:e,player:t},f._.Lineups):void 0})}),i&&(0,a.jsx)(y.A,{manager:i,incidents:null==s?void 0:s.filter(e=>e.manager),isCard:!0,isBorderHidden:!0})]}):(0,a.jsxs)(r.so,{direction:"column",children:[(0,a.jsx)(p.gT,{team:t,sport:(0,u.c5)(e),children:(0,a.jsxs)(r.so,{gap:"lg",align:"center",px:"lg",py:"sm",hoverBg:"surface.s2",children:[(0,a.jsx)(d.p,{size:40,id:t.id,name:t.name}),(0,a.jsx)(r.EY,{font:"display.large",children:(0,a.jsx)(g.c,{entity:t})})]})}),(0,a.jsx)(v.A,{manager:i,hideTeamHeader:!0,team:t,event:e,players:[...n,...c],incidents:s})]})};var I=s(45527);let R=()=>{let{event:e,team:t,substitutePlayers:s,incidents:i}=(0,m.rR)();return(0,a.jsx)(v.A,{hideTeamHeader:!0,event:e,team:t,players:s,incidents:i})},T=()=>{let{event:e}=(0,n.useContext)(c.y$),{lineups:t}=(0,m.Ir)();return e.isEditor&&(0,z.kr)(t)?(0,a.jsxs)(r.az,{children:[(0,a.jsx)(r.EY,{font:"display.medium",align:"center",display:"block",pt:"xl",pb:"lg",children:(0,a.jsx)(M.A,{id:"substitutions"})}),(0,a.jsxs)(r.so,{children:[(0,a.jsx)(r.az,{flex:"1 1 0",children:(0,a.jsx)(I.i,{side:"left",children:(0,a.jsx)(R,{})})}),(0,a.jsx)(r.cG,{vertical:!0,mx:"md"}),(0,a.jsx)(r.az,{flex:"1 1 0",children:(0,a.jsx)(I.i,{side:"right",children:(0,a.jsx)(R,{})})})]})]}):null},E=()=>(0,a.jsxs)(r.az,{py:"sm",children:[(0,a.jsxs)(r.so,{children:[(0,a.jsx)(r.az,{flex:"1 1 0",children:(0,a.jsx)(I.i,{side:"left",children:(0,a.jsx)(V,{})})}),(0,a.jsx)(r.cG,{vertical:!0,mx:"md"}),(0,a.jsx)(r.az,{flex:"1 1 0",children:(0,a.jsx)(I.i,{side:"right",children:(0,a.jsx)(V,{})})})]}),(0,a.jsx)(T,{})]}),B=()=>{let{openEventPlayerStatistics:e}=(0,h.d)(),{event:t,team:s,manager:i,incidents:n,jersey:o,startingPlayers:c,substitutePlayers:d,jerseyNumberColor:u}=(0,m.rR)(),{isDesktop:p}=(0,l.$c)();return t.isEditor?(0,a.jsxs)(r.az,{children:[(0,a.jsx)(P,{type:t.tournament.category.sportVariant===x.WM?"sevens":"fifteens",players:c,incidents:n,jersey:o,jerseyNumberColor:u,onPlayerClick:t.hasEventPlayerStatistics?s=>e({event:t,player:s},f._.Lineups):void 0}),(0,a.jsxs)(r.so,{direction:"column",py:"md",children:[i&&(0,a.jsx)(r.az,{px:"sm",children:(0,a.jsx)(y.A,{manager:i,incidents:null==n?void 0:n.filter(e=>e.manager),isCard:!0,isBorderHidden:!0})}),d.length>0&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(r.EY,{font:"display.medium",align:"center",pt:"xl",children:(0,a.jsx)(M.A,{id:"substitutions"})}),(0,a.jsx)(v.A,{hideTeamHeader:!0,team:s,event:t,players:d,incidents:n})]})]})]}):(0,a.jsxs)(a.Fragment,{children:[i&&(0,a.jsx)(r.az,{px:"sm",py:"sm",children:(0,a.jsx)(y.A,{manager:i,incidents:null==n?void 0:n.filter(e=>e.manager),isCard:p,isBorderHidden:!0})}),(0,a.jsx)(v.A,{hideTeamHeader:!0,team:s,event:t,players:[...c,...d],incidents:n})]})},Z={height:"32px",display:"flex",justifyContent:"center",alignItems:"center",padding:0},F=()=>{let{team:e}=(0,m.rR)();return(0,a.jsx)(d.p,{size:24,id:e.id,name:e.name})},G=()=>(0,a.jsx)(r.az,{p:"sm",children:(0,a.jsx)(o.Zp,{isInverseDesktop:!0,children:(0,a.jsxs)(r.tU,{variant:"secondary",initialValue:i.cxP.Left,fullWidthTabs:!0,children:[(0,a.jsxs)(r.so,{p:"sm",children:[(0,a.jsx)(r.tU.Tab,{tabKey:i.cxP.Left,style:Z,children:(0,a.jsx)(I.i,{side:"left",children:(0,a.jsx)(F,{})})}),(0,a.jsx)(r.az,{w:"lg"}),(0,a.jsx)(r.tU.Tab,{tabKey:i.cxP.Right,style:Z,children:(0,a.jsx)(I.i,{side:"right",children:(0,a.jsx)(F,{})})})]}),(0,a.jsx)(r.tU.Panel,{tabKey:i.cxP.Left,children:(0,a.jsx)(I.i,{side:"left",children:(0,a.jsx)(B,{})})}),(0,a.jsx)(r.tU.Panel,{tabKey:i.cxP.Right,children:(0,a.jsx)(I.i,{side:"right",children:(0,a.jsx)(B,{})})})]})})});function N(){let{event:e,location:t}=(0,n.useContext)(c.y$),{isDesktop:s}=(0,l.$c)(),d=s&&t===c.cb.EventPage,{lineups:u,error:h}=(0,m.Ir)({jerseyStyle:"fancy"});return h?null:d?(0,a.jsxs)(o.Zp,{variant:"mobile-only",children:[(0,a.jsx)(o.Zp.Header,{titleId:"players",values:{gender:e.gender||i.YT8.Male}}),u?(0,a.jsx)(E,{}):(0,a.jsx)(r.az,{h:900})]}):u?(0,a.jsx)(G,{}):(0,a.jsx)(r.az,{h:900})}},18682:(e,t,s)=>{s.d(t,{A:()=>l});var a=s(6029),i=s(39895);function l(e){return(0,a.jsx)(i.A,Object.assign({width:"24",height:"24",viewBox:"0 0 24 24"},e,{children:(0,a.jsx)("path",{d:"M18.2665289,14.9148591 L19.25,15.4927746 L19.25,17.2554169 L17.5,20.7518056 L14,22.5 L13.1756198,22.5 L16.4008264,19.0902986 L18.2665289,14.9148591 Z M17.1818182,14.6836929 L15.5330579,18.4256958 L12.6549587,21.5464394 L10.3698347,22.4422085 L7.62190083,21.0696591 L9.28512397,20.708462 L12.2210744,18.136738 L13.9710744,14.6836929 L17.1818182,14.6836929 Z M6.73966942,10.7683154 L6.2768595,13.0799774 L8.56198347,16.8942197 L10.731405,17.9922591 L8.77892562,19.7115577 L6.69628099,20.1594422 L5.25,17.2554169 L5.25,13.7590281 L6.73966942,10.7683154 Z M10.4710744,8.51444789 L10.2541322,10.6238366 L12.9008264,14.3802873 L11.5268595,17.1831774 L9.34297521,16.0706901 L7.4338843,12.8921549 L8.05578512,9.72806754 L10.4710744,8.51444789 Z M16.1115702,11.0428253 L18.3243802,11.9241464 L19.25,13.7590281 L19.25,14.2358084 L18.1652893,13.6001014 L13.6818182,13.6001014 L11.8739669,11.0428253 L16.1115702,11.0428253 Z M22,2 L22,11 L20,11 L20,4 L4,4 L4,11 L2,11 L2,2 L22,2 Z M14,8.5 L17.4855372,10.2626394 L17.5867769,10.4649098 L16.4152893,10.0025774 L11.411157,9.95923374 L11.5557851,8.5 L14,8.5 Z",id:"Colored-Shape",fill:e.fill})}))}},19558:(e,t,s)=>{s.d(t,{sP:()=>p,ZB:()=>o,lV:()=>d,kr:()=>u,kx:()=>f});var a=s(38709),i=s(4967);function l(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 r(e,t){let s={sum:0,count:0};return e.forEach(e=>{e.forEach(e=>{e.player.dateOfBirthTimestamp&&(s.sum+=(0,i.Dr)(e.player.dateOfBirthTimestamp,t),s.count+=1)})}),s.count>=7?Math.round(10*s.sum/s.count)/10:void 0}function n(e){let t={sum:0,count:0,currency:""};return e.forEach(e=>{e.forEach(e=>{var s;(null==(s=e.player.proposedMarketValueRaw)?void 0:s.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 o(e,t,s){let i={};return i[a.k.Age]={messageId:"football_lineups_starters_average_age",leftTeamValue:r(e,s),rightTeamValue:r(t,s)},i[a.k.MarketValue]={messageId:"football_lineups_starters_total_market_value",leftTeamValue:n(e),rightTeamValue:n(t)},i[a.k.Height]={messageId:"football_lineups_starters_average_height",leftTeamValue:l(e),rightTeamValue:l(t)},i}var c=s(25766);function d(e,t){if(t===c.V.Confirmed){var s;return(null==(s=e.statistics)?void 0:s.rating)||e.avgRating}if(t===c.V.Possible)return e.avgRating}function u(e){let t=null==e?void 0:e.left.players.filter(e=>e.substitute),s=null==e?void 0:e.right.players.filter(e=>e.substitute);return!!(t&&t.length>0||s&&s.length>0)}let h=(e,t)=>e.split(" ").map(e=>{let s=e;return e.length!==t||e.includes("-")||(s=e.slice(0,e.length/2)+"\xad"+e.slice(e.length/2)),s}).join(" ");function f(e,t){var s;return t||e.player.name.length>24||(null==(s=e.player.country)?void 0:s.alpha2)==="MG"}function p(e,t,s){let a=Math.max(...e.split(" ").map(e=>e.length));return a>=12&&(e=h(e,a)),t?s?"".concat(e," (c)"):"(c) ".concat(e):e}s(44259)},20191:(e,t,s)=>{s.d(t,{A:()=>r});var a=s(90142),i=s(6029),l=s(39895);function r(e){var{fill:t="primary.default"}=e,s=(0,a.T)(e,["fill"]);return(0,i.jsx)(l.A,Object.assign({width:"24",height:"24",viewBox:"0 0 24 24",fill:t},s,{children:(0,i.jsx)("path",{d:"M19 12v5l-2 2H7v3H6l-4-4 4-4h1v3h10v-5h2zM18 2l4 4-4 4h-1V7H7v5H5V7l2-2h10V2h1z",fill:t,fillRule:"evenodd"})}))}},22088:(e,t,s)=>{s.r(t),s.d(t,{default:()=>eC,excludedSeasonIds:()=>ej});var a=s(6029),i=s(21377),l=s(89875),r=s(76356),n=s(99064),o=s(55729),c=s(45860),d=s(65789),u=s(62859),h=s(25811),f=s(8703),p=s(16206),g=s(30182),m=s(10292),x=s(947),y=s(54409),v=s(52839),j=s(82707),b=s(30971),w=s(73959),C=s(24159),_=s(41078),S=s(56008),M=s(65078);function k(e){let{statistic:t,topPlayer:s,sport:i,first:n,left:o}=e;return s?(0,a.jsxs)(r.so,{h:"5xl",w:"100%",align:"center",direction:o?"row":"row-reverse",gap:"lg",overflow:"hidden",_hover:{bg:"surface.s2"},cursor:"pointer",pl:o?"lg":void 0,pr:o?void 0:"lg",children:[(0,a.jsx)(m.t,{size:40,id:s.player.id,style:{display:"block"}}),(0,a.jsxs)(r.so,{overflow:"hidden",direction:"column",justify:"center",align:o?"flex-start":"flex-end",gap:"xs",children:[(0,a.jsx)(l.EY,{children:(0,a.jsx)(b.A,{sport:i,stat:s.statistics,selectedStat:t})}),(0,a.jsx)(l.EY,{w:"100%",textStyle:"assistive.default",color:"neutrals.nLv3",truncate:!0,display:"block",children:(0,a.jsx)(C.c,{entity:s.player,short:!0})})]})]}):n?(0,a.jsx)(_.A,{messageId:"yet.to.perform",isInverted:!o}):null}function H(e){let{statistic:t,homePlayer:s,awayPlayer:i,sport:l,first:n}=e;if(!s&&!i)return null;let c=(null==s?void 0:s.player)?j.uc:o.Fragment,d=(null==i?void 0:i.player)?j.uc:o.Fragment;return(0,a.jsxs)(r.so,{justify:s||n?"space-between":"flex-end",children:[(0,a.jsx)(c,{player:null==s?void 0:s.player,style:{width:"50%"},children:(0,a.jsx)(k,{statistic:t,topPlayer:s,sport:l,first:n,left:!0})}),(0,a.jsx)(d,{player:null==i?void 0:i.player,style:{width:"50%"},children:(0,a.jsx)(k,{statistic:t,topPlayer:i,sport:l,first:n})})]})}function z(e){let{statistic:t,homePlayers:s,awayPlayers:n,sport:c,type:d}=e,u=(0,x.A)(),[h,f]=(0,o.useState)(!1);return s.length||n.length?(0,a.jsxs)(r.az,{style:{userSelect:"none"},children:[(0,a.jsxs)(r.so,{bg:h?"surface.s2":void 0,pt:"md",pb:"xs",align:"center",justify:"center",onClick:()=>f(e=>!e),cursor:"pointer",children:[(0,a.jsx)(l.EY,{textStyle:"assistive.default",color:"neutrals.nLv3",mr:"xs",children:(0,w.y)(u,t,c,d===i.Vw_.playoffs)}),(0,a.jsx)(y.zQC,{icon:h?"chevron-up":"chevron-down",width:24,height:24,fill:"onSurface.nLv1"})]}),(0,a.jsx)(H,{statistic:t,homePlayer:s[0],awayPlayer:n[0],sport:c,first:!0}),h&&Array.from({length:4}).map((e,i)=>{let l=i+1;return(0,a.jsx)(H,{statistic:t,homePlayer:s[l],awayPlayer:n[l],sport:c},t+l)})]}):null}function A(e){let{homeTeamId:t,awayTeamId:s,sport:l,uniqueTournamentId:n,seasonId:u,type:h,gender:f}=e,{data:p,error:g}=(0,c.Ay)(i.cWY.topPlayers(t,n,u,h)),{data:m,error:x}=(0,c.Ay)(i.cWY.topPlayers(s,n,u,h)),y=(0,o.useMemo)(()=>(0,v.t)(l),[n]);return g&&x||!y?null:((null==p?void 0:p.topPlayers)||g)&&((null==m?void 0:m.topPlayers)||x)?(0,a.jsxs)(d.Zp,{variant:"mobile-only",children:[(0,a.jsx)(d.Zp.Header,{titleId:"top_players",values:{gender:null!=f?f:i.YT8.Male}}),(0,a.jsx)(r.az,{pb:{base:"sm",md:"md"},children:y.map(e=>(0,a.jsx)(z,{sport:l,statistic:e,homePlayers:((null==p?void 0:p.topPlayers[e])||[]).filter(e=>e.playedEnough),awayPlayers:((null==m?void 0:m.topPlayers[e])||[]).filter(e=>e.playedEnough),type:h},e))})]}):(0,a.jsx)(S.A,{})}function L(e){var t,s;let{event:i}=e,l=i.tournament.category.sport.slug,r=(0,M.g3)();return i.seasonStatisticsType&&(null==(t=i.tournament.uniqueTournament)?void 0:t.id)&&(null==(s=i.season)?void 0:s.id)&&-1!==v.u.indexOf(l)?(0,a.jsx)(A,{homeTeamId:r?i.awayTeam.id:i.homeTeam.id,awayTeamId:r?i.homeTeam.id:i.awayTeam.id,sport:l,uniqueTournamentId:i.tournament.uniqueTournament.id,seasonId:i.season.id,type:i.seasonStatisticsType,gender:i.awayTeam.gender}):null}var O=s(79853),P=s(22835),V=s(54863),I=s(90248),R=s(12174),T=s(26331),E=s(73088),B=s(58047),Z=s(90715),F=s(62827),G=s(83260),N=s(30479),D=s(35532),W=s(79377),Y=s(19673),U=s(10234),$=s(52695);function K(e){let{event:t}=e,s=(0,T.A)(),n=(0,Y.y)(s);if(t.tournament.category.sport.slug!==i.QCR.Football||!t.hasEventPlayerStatistics)return null;let o=t.tournament.uniqueTournament?(0,a.jsx)($.O,{uniqueTournament:t.tournament.uniqueTournament}):(0,a.jsx)(U.J,{tournament:t.tournament});return(0,a.jsx)(d.Zp,{variant:"mobile-only",children:(0,a.jsxs)(r.so,{p:"md",gap:"lg",md:{bg:"surface.s2",rounded:"lg"},children:[(0,a.jsx)(y.G_L,{fill:"onSurface.nLv3",width:"24",height:"24",minW:24}),(0,a.jsxs)(r.az,{children:[(0,a.jsx)(l.EY,{display:"block",textStyle:"body.small",color:"neutrals.nLv1",mb:"sm",children:(0,a.jsx)(I.A,{id:"rating_lineups_info",values:{name:o}})}),(0,a.jsxs)("a",{href:n,target:"_blank",rel:"noreferrer",children:[(0,a.jsx)(l.EY,{textStyle:"assistive.default",color:"primary.default",children:(0,a.jsx)(I.A,{id:"read_more"})}),(0,a.jsx)(y.CCT,{width:"16",height:"16",ml:"xxs",fill:"primary.default",style:{verticalAlign:"middle"}})]})]})]})})}var Q=s(67717),X=s(12047),J=s(58991),q=s(5276),ee=s(8329),et=s(95543),es=s(41735),ea=s(28971);function ei(e){let{value:t,iconColor:s,games:i}=e;return t&&i?(0,a.jsxs)(r.so,{align:"center",gap:"xs",children:[(0,a.jsx)(y.PhV,{fill:s}),(0,a.jsx)(l.EY,{textStyle:"body.small",children:(0,et.M)(t/i,2)})]}):null}let el=function(e){let{referee:t}=e,s=(0,o.useContext)(es.ThemeContext);return(0,a.jsx)(ea.A,{referee:t,children:(0,a.jsxs)(r.so,{direction:"column",gap:"xs",align:"center",children:[(0,a.jsxs)(r.so,{gap:"xs",justify:"center",children:[(0,a.jsx)(ee.w,{alpha2:t.country.alpha2,size:16}),(0,a.jsx)(l.EY,{children:null==t?void 0:t.name})]}),(0,a.jsxs)(r.so,{gap:"sm",alignItems:"center",justify:"center",children:[(0,a.jsx)(l.EY,{textStyle:"body.small",color:"neutrals.nLv3",children:(0,a.jsx)(I.A,{id:"average_cards"})}),(0,a.jsxs)(r.so,{gap:"xs",alignContent:"center",children:[(0,a.jsx)(ei,{value:t.redCards,games:t.games,iconColor:s.colors.error.default}),(0,a.jsx)(ei,{value:t.yellowCards,games:t.games,iconColor:s.colors.scoreRating.s65})]})]})]})})};var er=s(23332);function en(e){var t,s,l,n,c,h,f,p,g,m,x,y;let{event:v,leftTeam:j,rightTeam:b}=(0,o.useContext)(u.y$),w=v.tournament.category.sport.slug===i.QCR.Football,C=e.lineups.left.players.some(e=>e.substitute)||e.lineups.right.players.some(e=>e.substitute),_=!!(e.lineups.left.players.find(e=>e.statistics&&e.statistics.rating)||e.lineups.right.players.find(e=>e.statistics&&e.statistics.rating)),S=(null==(t=e.managers)?void 0:t.leftManager)||(null==(s=e.managers)?void 0:s.rightManager);return(0,a.jsxs)(r.so,{direction:"column",gap:"sm",children:[w&&(null==v?void 0:v.referee)&&(0,a.jsxs)(d.Zp,{variant:"mobile-only",children:[(0,a.jsx)(d.Zp.Header,{titleId:"referee"}),(0,a.jsx)(r.az,{my:"xs",children:(0,a.jsx)(el,{referee:v.referee})})]}),w&&S&&(0,a.jsxs)(d.Zp,{variant:"mobile-only",children:[(0,a.jsx)(d.Zp.Header,{titleId:"managers"}),(0,a.jsxs)(r.so,{gap:"sm",children:[(0,a.jsx)(r.so,{w:"100%",maxW:"1/2",grow:1,children:(null==(l=e.managers)?void 0:l.leftManager)&&(0,a.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,a.jsx)(r.az,{w:"[1px]",background:"neutrals.nLv4",mt:"sm",mb:"md",mx:"sm"}),(0,a.jsx)(r.so,{w:"100%",maxW:"1/2",grow:1,children:(null==(h=e.managers)?void 0:h.rightManager)&&(0,a.jsx)(J.A,{manager:null==(f=e.managers)?void 0:f.rightManager,isBorderHidden:!0,incidents:null==(p=e.incidents)?void 0:p.filter(e=>e.manager)})})]})]}),!e.hasFormation&&w&&(0,a.jsxs)(d.Zp,{variant:"mobile-only",children:[(0,a.jsx)(d.Zp.Header,{titleId:"startingEleven.title"}),(0,a.jsxs)(r.so,{children:[(0,a.jsx)(er.A,{players:e.lineups.left.players.filter(e=>!e.substitute),team:j,manager:null==(g=e.managers)?void 0:g.leftManager,highlightStarters:!1,hasRating:_,event:v,...e},"left"),(0,a.jsx)(r.az,{w:"[1px]",background:"neutrals.nLv4",mt:"sm",mb:"md",mx:"sm"}),(0,a.jsx)(er.A,{players:e.lineups.right.players.filter(e=>!e.substitute),team:b,manager:null==(m=e.managers)?void 0:m.rightManager,hasTopBorder:!1,highlightStarters:!1,hasRating:_,event:v,...e},"right")]})]}),C&&(0,a.jsxs)(d.Zp,{variant:"mobile-only",children:[w&&(0,a.jsx)(d.Zp.Header,{titleId:"substitutions"}),(0,a.jsxs)(r.so,{children:[(0,a.jsx)(er.A,{players:w?e.lineups.left.players.filter(e=>e.substitute):e.lineups.left.players,team:j,manager:null==(x=e.managers)?void 0:x.leftManager,hasRating:_,event:v,...e},"left"),(0,a.jsx)(r.az,{w:"[1px]",background:"neutrals.nLv4",mt:"sm",mb:"md",mx:"sm"}),(0,a.jsx)(er.A,{players:w?e.lineups.right.players.filter(e=>e.substitute):e.lineups.right.players,team:b,manager:null==(y=e.managers)?void 0:y.rightManager,hasTopBorder:!1,hasRating:_,event:v,...e},"right")]})]}),(0,a.jsx)(q.PM,{left:e.lineups.left.missingPlayers,right:e.lineups.right.missingPlayers})]})}function eo(e){var t,s,l;let c=(0,X.Ay)({isSportMenuVisible:!0,isInMobileTabs:!0}),[h,f]=(0,o.useState)(i.cxP.Left),p=h===i.cxP.Left?e.lineups.left:e.lineups.right,{event:g,leftTeam:m,rightTeam:x}=(0,o.useContext)(u.y$),y=e.hasFormation?p.players.filter(e=>e.substitute):p.players,v=g.tournament.category.sport.slug===i.QCR.Football,j=h===i.cxP.Left?null==(t=e.managers)?void 0:t.leftManager:null==(s=e.managers)?void 0:s.rightManager,b=e.lineups.left.players.some(e=>e.substitute)||e.lineups.right.players.some(e=>e.substitute),w=e.lineups[h].players.filter(e=>!e.substitute),C=e.lineups[h].players.filter(e=>e.substitute),_=!!(e.lineups.left.players.find(e=>e.statistics&&e.statistics.rating)||e.lineups.right.players.find(e=>e.statistics&&e.statistics.rating)),S=v&&!!w.length;return(0,a.jsxs)(r.az,{px:"sm",children:[(0,a.jsx)(n.PI,{top:c,children:e=>(0,a.jsx)(r.az,{md:{bg:"surface.s1"},mt:"-sm",mx:"-sm",px:"sm",py:e?"0":"sm",children:(0,a.jsx)(r.az,{bg:"surface.s1",w:{base:e?"[100vw]":"100%",md:"100%"},mx:{base:e?"-sm":"0",md:"0"},py:{base:"sm",md:"0"},children:(0,a.jsx)(Q.n,{px:{mdDown:"sm"},gap:"sm",activeTeam:h,onTeamClick:f})})})}),(0,a.jsxs)(r.so,{direction:"column",gap:"sm",children:[j&&(0,a.jsx)(J.A,{manager:j,incidents:null==(l=e.incidents)?void 0:l.filter(e=>e.manager),isCard:!0,isBorderHidden:!0}),!e.hasFormation&&(0,a.jsxs)(d.Zp,{isInverseDesktop:!0,children:[S&&(0,a.jsx)(d.Zp.Header,{titleId:"startingEleven.title",as:"h4"}),(0,a.jsx)(er.A,{hideTeamHeader:!0,players:v?w:y,team:h===i.cxP.Left?m:x,highlightStarters:!v,hasRating:_,event:g,...e},h)]}),b&&v&&!!C.length&&(0,a.jsxs)(d.Zp,{isInverseDesktop:!0,children:[(0,a.jsx)(d.Zp.Header,{titleId:"substitutions",as:"h4"}),(0,a.jsx)(er.A,{hideTeamHeader:!0,players:C,team:h===i.cxP.Left?m:x,hasRating:_,event:g,...e},h)]}),!!(e.lineups.left.missingPlayers||e.lineups.right.missingPlayers)&&(0,a.jsx)(q.Sb,{missingPlayers:p.missingPlayers})]})]})}function ec(e){let{isMobile:t,isDesktop:s}=(0,l.$c)(),{location:i}=(0,o.useContext)(u.y$),r=s&&i===u.cb.EventPage;return t||!r?(0,a.jsx)(eo,{...e}):(0,a.jsx)(en,{...e})}function ed(e){let t,i,r=(0,T.A)(),{event:c,location:d}=(0,o.useContext)(u.y$),{bestPlayer:h}=(0,R.Y)(c),{isDesktop:f}=(0,l.$c)(),p=f&&d===u.cb.EventPage;try{t=e.lineups.left.formation?(0,Z.V)(e.lineups.left.formation,e.lineups.left.players.filter(e=>!e.substitute)):void 0,i=e.lineups.right.formation?(0,Z.V)(e.lineups.right.formation,e.lineups.right.players.filter(e=>!e.substitute)):void 0}catch(e){console.error(e)}let g=!!(t&&i),m=window.location.host+E.z.getTranslatedRoute(r,"event",{id:c.customId,name:c.slug,sport:c.tournament.category.sport.slug}).route,x="#"+(0,N.HL)({id:c.id,tab:B.x.Lineups}),{isShareEnabled:v,componentRef:j,shareButton:b}=function(e,t){var i;let[l,r,c]=(0,G.A)("sofa.isComponentShareEnabled",!!(null==(i=window.navigator.clipboard)?void 0:i.write)),[d,u]=(0,o.useState)(!1),h=(0,o.useRef)(null),f={autoClose:5e3,closeButton:!1,className:"sofa-toast--info",position:"bottom-center"},p=(0,o.useCallback)(async()=>{if(h.current&&l)try{u(!0);let e=(await s.e(3933).then(s.t.bind(s,63067,23))).default,i=await e(h.current,{useCORS:!0,allowTaint:!0}),l=await new Promise(e=>i.toBlob(e)),r=new Blob([t||""],{type:"text/plain"});l&&(await window.navigator.clipboard.write([new ClipboardItem({"image/png":l,"text/plain":r})]),(0,F.MZ)((0,a.jsxs)(n.so,{align:"center",children:[(0,a.jsx)(y.G_L,{fill:"onColor.primary",mr:"lg"}),(0,a.jsx)(n.EY,{block:!0,color:"onColor.primary",font:"display.small",children:(0,a.jsx)(I.A,{id:"basic.copiedToClipboard"})})]}),f))}catch(e){r(!1),(0,F.MZ)((0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(n.so,{align:"center",children:[(0,a.jsx)(y.cgL,{fill:"onColor.primary",mr:"md"}),(0,a.jsx)(n.EY,{block:!0,c:"onColor.primary",font:"display.small",children:(0,a.jsx)(I.A,{id:"error.anErrorOccurred"})})]}),e.message&&(0,a.jsx)(n.EY,{block:!0,c:"onColor.primary",font:"body.small",mt:"sm",children:e.message})]}),{...f,className:"sofa-toast--error"})}finally{u(!1)}},[h.current,d,l]),g=c&&l?(0,a.jsx)(I.A,{id:"basic.share",children:t=>(0,a.jsx)(n.$n,{"aria-label":String(t),size:"xs",tertiary:!0,disabled:d,style:d?{cursor:"wait"}:void 0,onClick:p,children:e||(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(I.A,{id:"basic.share"}),(0,a.jsx)(y.VJ,{fill:"surface.s1",ml:"xxs",width:16,height:16})]})})}):null;return{isGeneratingScreenshot:d,shareButton:g,componentRef:h,isShareEnabled:l}}((0,a.jsxs)(n.so,{justify:"center",align:"center",children:[(0,a.jsx)(I.A,{id:"share_match_lineups"}),(0,a.jsx)(y.VJ,{fill:"surface.s1",ml:"xxs",width:"16",height:"16"})]}),m+x);return(0,a.jsxs)(n.az,{children:[g&&(0,a.jsx)(n.az,{bg:["surface.s1",void 0],children:(0,a.jsx)(W.Ko,{...e,leftFormation:t,rightFormation:i,ref:j,playerOfTheMatchId:null==h?void 0:h.player.id,isShareEnabled:v,shareButton:b})}),(0,a.jsxs)(n.so,{direction:"column",gap:"sm",py:"sm",children:[(0,a.jsx)(n.so,{direction:p?"column-reverse":"column",gap:"sm",children:(0,a.jsx)(ec,{...e,hasFormation:g,playerOfTheMatchId:null==h?void 0:h.player.id})}),(0,a.jsx)(n.az,{px:"sm",children:(0,a.jsx)(K,{event:c})}),(0,a.jsx)(D.K,{isHorizontalLayout:p})]})]})}var eu=s(76868);let eh=e=>{let{lineups:t,managers:s}=e,[n,c]=(0,o.useState)(i.cxP.Left),{event:h,leftTeam:f,rightTeam:p}=(0,o.useContext)(u.y$),g=(0,X.Ay)(),{isMobile:m}=(0,l.$c)(),[x,y,v]=n===i.cxP.Left?[f,s.leftManager,t.left]:[p,s.rightManager,t.right];return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(r.az,{bg:"surface.s1",w:"100%",position:{mdDown:"sticky"},style:{top:m?g:void 0},zIndex:"sticky",p:"sm",children:(0,a.jsx)(Q.n,{activeTeam:n,onTeamClick:e=>c(e)})}),(0,a.jsxs)(r.so,{p:"sm",gap:"sm",direction:"column",children:[(0,a.jsxs)(d.Zp,{isInverseDesktop:!0,children:[(0,a.jsx)(d.Zp.Header,{titleId:"probable_pitchers"}),(0,a.jsx)(er.A,{players:v.players,team:x,event:h,hideTeamHeader:!0}),0===v.players.length&&(0,a.jsx)(eu.p,{graphic:"no-data",descriptionMessageId:"probable_pitchers_empty"})]}),!!(t.left.missingPlayers||t.right.missingPlayers)&&(0,a.jsx)(q.Sb,{missingPlayers:v.missingPlayers})]})]})},ef=e=>{let{lineups:t}=e,{event:s,leftTeam:i,rightTeam:l}=(0,o.useContext)(u.y$);return(0,a.jsxs)(r.so,{direction:"column",children:[(0,a.jsx)(d.Zp.Header,{titleId:"probable_pitchers"}),(0,a.jsxs)(r.so,{children:[(0,a.jsx)(r.az,{flexGrow:1,flexShrink:1,flexBasis:"1/2",children:(0,a.jsx)(er.A,{players:t.left.players,team:i,event:s,hideTeamHeader:!0})}),(0,a.jsx)(r.az,{w:"[1px]",bg:"neutrals.nLv4",my:"xs"}),(0,a.jsx)(r.az,{flexGrow:1,flexShrink:1,flexBasis:"1/2",children:(0,a.jsx)(er.A,{players:t.right.players,team:l,event:s,hideTeamHeader:!0})})]}),(0,a.jsx)(d.Zp.Footer,{})]})};function ep(e){let{lineups:t,managers:s}=e,{isDesktop:i}=(0,l.$c)(),{location:r}=(0,o.useContext)(u.y$);return i&&r===u.cb.EventPage?(0,a.jsx)(ef,{lineups:t,managers:s}):(0,a.jsx)(eh,{lineups:t,managers:s})}function eg(){return(0,a.jsx)(n.az,{h:900})}function em(){let{event:e}=(0,o.useContext)(u.y$),{managers:t}=(0,O.K)(e),{lineups:s,confirmed:l,error:r}=(0,V.Ir)({jerseyStyle:"fancy"}),{data:n}=(0,c.Ay)(i.bnp.incidents(e.id),(0,f.rf)(e));return r?null:s?l?(0,a.jsx)(ed,{lineups:s,incidents:null==n?void 0:n.incidents,managers:t,confirmed:l,showPlayerStatistics:!1}):(0,a.jsx)(ep,{lineups:s,managers:t}):(0,a.jsx)(eg,{})}var ex=s(26468),ey=s(27778),ev=s(17485);let ej=[17564,17565,17566,17567,17568,17569,17570,17571,1151,2636,16,2531,7528],eb=[{tabKey:1,tabValue:"lineups"},{tabKey:2,tabValue:"player_stats"}],ew=e=>{let{showPlayerStatistics:t}=e,[s,m]=(0,o.useState)(1),{event:x}=(0,o.useContext)(u.y$),y=x.tournament.category.sport.slug,{managers:v}=(0,O.K)(x),{lineups:j,confirmed:b,error:w}=(0,V.Ir)({jerseyStyle:y===i.QCR.Football?"clean":"fancy"}),{data:C}=(0,c.Ay)(i.bnp.incidents(x.id),(0,f.rf)(x)),{hasPregameTopPlayers:_}=(0,P.M)(x),{isDesktop:S}=(0,l.$c)(),M=x.season&&ej.includes(x.season.id);if(_&&(w||j&&!b))return(0,a.jsxs)(n.so,{direction:"column",p:["sm",0],gap:["sm","md"],children:[(0,a.jsx)(L,{event:x}),(0,a.jsx)(g.m,{home:null==j?void 0:j.left.missingPlayers,away:null==j?void 0:j.right.missingPlayers})]});if(!j)return(0,a.jsx)(ey.A,{});let k=y!==i.QCR.Football?(0,a.jsx)(d.Zp.Header,{titleId:"players",values:{gender:x.gender||i.YT8.Male},as:"h2"}):null;return S&&t?(0,a.jsxs)(r.az,{pt:"sm",children:[k,(0,a.jsx)(h.n,{activeTabKey:s,onChange:e=>m(e),tabs:eb,variant:"secondary",children:(0,a.jsxs)(r.az,{pt:"sm",children:[(0,a.jsx)(n.tU.Panel,{tabKey:eb[0].tabKey,children:(0,a.jsx)(ed,{lineups:j,incidents:null==C?void 0:C.incidents,managers:v,confirmed:b})}),!M&&(0,a.jsx)(n.tU.Panel,{tabKey:eb[1].tabKey,children:(0,a.jsx)(p.default,{lineups:j})})]})})]}):(0,a.jsxs)(a.Fragment,{children:[k,(0,a.jsx)(ed,{lineups:j,incidents:null==C?void 0:C.incidents,managers:v,confirmed:b,showPlayerStatistics:t})]})};function eC(e){let{hasLineups:t,showPlayerStatistics:s}=e,{event:l}=(0,o.useContext)(u.y$),r=l.tournament.category.sport.slug,n=r===i.QCR.ESports&&(0,f.f2)(l.tournament.category.id),{couldHavePregameTopPlayers:c}=(0,P.M)(l);return n||!1===t&&!c?null:r===i.QCR.Cricket?(0,a.jsx)(ex.A,{}):r===i.QCR.Rugby?(0,a.jsx)(ev.u,{}):r===i.QCR.Baseball?(0,a.jsx)(em,{}):(0,a.jsx)(ew,{showPlayerStatistics:s})}},22835:(e,t,s)=>{s.d(t,{M:()=>n});var a=s(21377),i=s(4967),l=s(52839),r=s(86679);let n=e=>{let t=t=>e.status.type===a.XUj.NotStarted&&e.season&&e.tournament.uniqueTournament&&e.seasonStatisticsType&&l.u.includes(e.tournament.category.sport.slug)?a.cWY.topPlayers(t,e.tournament.uniqueTournament.id,e.season.id,e.seasonStatisticsType):void 0,s=t(e.homeTeam.id),n=t(e.awayTeam.id),{hasHome:o,hasAway:c}=(0,r.A)({hasHome:{route:t(e.homeTeam.id),skipCheck:!s,deduplicationInterval:15*i.pY},hasAway:{route:t(e.awayTeam.id),skipCheck:!n,deduplicationInterval:15*i.pY}},[s,n]);return{hasPregameTopPlayers:!!o&&!!c,couldHavePregameTopPlayers:!1!==o&&!1!==c&&!!s&&!!n}}},23147:(e,t,s)=>{s.d(t,{A:()=>l});var a=s(6029),i=s(39895);function l(e){return(0,a.jsx)(i.A,Object.assign({width:"24",height:"24",viewBox:"0 0 24 24"},e,{children:(0,a.jsx)("path",{d:"M4 2v14h16V2h2v20h-2v-4H4v4H2V2h2zm8.922.5c.111 0 .162.05.162.162v11.176c0 .111-.05.162-.162.162h-1.748c-.111 0-.162-.05-.162-.162V6.047h-1.95c-.111 0-.162-.05-.162-.162V4.268c0-.11.05-.161.162-.161h1.233c.232 0 .414-.06.545-.182.132-.121.202-.303.202-.566v-.697c0-.111.05-.162.162-.162z",fill:e.fill,fillRule:"evenodd"})}))}},23332:(e,t,s)=>{s.d(t,{A:()=>M});var a=s(6029),i=s(33144),l=s(21377),r=s(99064),n=s(55729),o=s(16620),c=s(48886),d=s(82707),u=s(94604),h=s(58991),f=s(91407),p=s(94400),g=s(48485),m=s(19991),x=s(90248),y=s(62859),v=s(54409),j=s(54917),b=s(84942),w=s(73488),C=s(19558);let _=e=>{let{summary:t,type:s}=e;return(0,a.jsxs)(r.so,{align:"center",mt:"xs",children:[(0,a.jsx)(w.FU,{isInjury:t.isInjury}),(0,a.jsx)(r.EY,{font:"assistive.default",color:"onSurface.nLv3",mx:"xxs",ml:"xs",children:t.time&&"".concat(t.time,"'")}),t.forPlayer&&(0,a.jsxs)(r.EY,{font:"assistive.default",color:"onSurface.nLv3",mx:"xxs",children:[(0,a.jsx)(x.A,{id:"out"===s?"substitution.in":"substitution_out"}),": \xa0",t.forPlayer]})]})};function S(e){var t,s,i,o,c,u;let{player:h,onClick:S,incidents:M,hasRating:k,isLast:H,isNotStarted:z,highlightStarter:A=!0,isPlayerOfTheMatch:L}=e,O=(null==h||null==(t=h.statistics)?void 0:t.rating)?Number(h.statistics.rating):void 0,{name:P,id:V}=h.player,I=(0,n.useMemo)(()=>M?(0,g.h)({id:h.player.id,incidents:M,useShortName:h.substitute}):{},[h,M]),R=(0,b.z)(h.player),T=(0,C.sP)(R,h.captain,!0),E=(0,n.useContext)(y.Ws),B=E===l.QCR.Cricket,Z="rtl"===document.dir,F=!h.substitute&&A;return!O&&z&&h.avgRating&&(O=h.avgRating),(0,a.jsx)(d.uc,{player:h.player,onClick:S,sportSlug:E,children:(0,a.jsxs)(r.so,{hoverBg:h.player.disabled?void 0:"surface.s2",cursor:h.player.disabled?"not-allowed":"pointer",children:[(0,a.jsx)(r.az,{py:"xxs",children:(0,a.jsx)(r.az,{w:4,h:"100%",bg:F?"sofaSingles.value":"transparent"})}),(0,a.jsxs)(r.az,{position:"relative",pl:"md",pr:"lg",py:"sm",children:[(0,a.jsx)(f.t,{size:40,id:V,name:P}),L&&(0,a.jsx)(v.ue7,{position:"absolute",fill:(0,m.Et)(null==(s=h.statistics)?void 0:s.rating),bottom:8,left:16,w:16,h:16}),F&&(0,a.jsx)(r.az,{position:"absolute",bottom:4,left:"50%",style:{transform:Z?"translateX(50%)":"translateX(-50%)"},bg:"sofaSingles.value",br:6,children:(0,a.jsx)(r.EY,{px:"6px",font:"assistive.micro",color:"surface.s1",as:"div",children:(0,a.jsx)(x.A,{id:"starter"})})})]}),(0,a.jsxs)(r.so,{borderBottom:H?void 0:"onSurface.nLv4",align:"center",flex:"1 1 auto",mr:"lg",children:[(0,a.jsxs)(r.az,{flex:"1 1 auto",children:[(0,a.jsxs)(r.so,{title:T,align:"center",children:[(0,a.jsxs)(r.EY,{font:"body.medium",color:"onSurface.nLv1",mr:"xs",children:[h.jerseyNumber&&(0,a.jsx)(r.az,{as:"bdi",mr:"xs",children:h.jerseyNumber}),(0,a.jsx)(r.az,{as:"span",children:T})]}),(0,a.jsx)(w.AG,{...I}),(0,a.jsx)(w.X0,{...I})]}),(null==(i=I.substitutionIn)?void 0:i.time)&&(null==(o=I.substitutionIn)?void 0:o.forPlayer)&&(0,a.jsx)(_,{summary:I.substitutionIn,type:"in"}),(null==(c=I.substitutionOut)?void 0:c.time)&&(0,a.jsx)(_,{summary:I.substitutionOut,type:"out"}),B&&h.position&&(0,a.jsx)(r.EY,{font:"assistive.default",color:"onSurface.nLv3",mx:"xxs",ml:"xs",children:(0,a.jsx)(j.F,{id:h.position})})]}),k||h.avgRating?(0,a.jsx)(r.az,{children:O||(null==(u=I.substitutionIn)?void 0:u.time)?(0,a.jsx)(p.A,{rating:O,format:k?"box":"sideBox"}):null}):null]})]})})}function M(e){let{players:t,team:s,event:f,manager:p,incidents:g,showLastMatches:m,hasTopBorder:x,hideTeamHeader:y,highlightStarters:v=!0,hasRating:j,playerOfTheMatchId:b}=e,w=f.tournament.category.sport.slug,{openEventPlayerStatistics:C}=(0,o.d)(),_=(0,n.useCallback)(e=>t=>{!e.disabled&&(m||f.hasEventPlayerStatistics)&&(t.preventDefault(),C({event:f,player:e},c._.Lineups))},[f,t,C]),M=t.length>0,k=!!p,H=w===l.QCR.Football;return M||k?(0,a.jsxs)(r.az,{pt:"sm",pb:["sm","md"],flex:"1 1 50%",borderTop:x?"onSurface.nLv4":void 0,children:[!y&&!H&&(0,a.jsx)(d.gT,{team:s,sport:w,children:(0,a.jsxs)(r.so,{align:"center",hoverBg:"surface.s2",cursor:"pointer",children:[(0,a.jsx)(r.az,{px:"lg",py:"sm",children:(0,a.jsx)(i.p,{id:s.id,name:s.name,size:40})}),(0,a.jsx)(r.az,{children:(0,a.jsx)(r.EY,{font:"display.large",children:(0,a.jsx)(u.Rm,{team:s})})})]})}),k&&!H&&(0,a.jsx)(h.A,{manager:p,isBorderHidden:!M,incidents:null==g?void 0:g.filter(e=>e.manager)}),t.map((e,s)=>(0,a.jsx)(S,{player:e,incidents:g,hasRating:j,onClick:_(e.player),isNotStarted:f.status.type===l.XUj.NotStarted,isLast:s===t.length-1,highlightStarter:v,isPlayerOfTheMatch:b===e.player.id},e.player.id))]}):null}},25766:(e,t,s)=>{var a,i;s.d(t,{V:()=>a,k:()=>i}),function(e){e.Possible="possible",e.Confirmed="confirmed"}(a||(a={})),function(e){e.Performance="performance",e.Club="club",e.Nationality="nationality",e.Age="age",e.MarketValue="marketValue",e.Height="height"}(i||(i={}))},26468:(e,t,s)=>{s.d(t,{A:()=>C});var a=s(6029),i=s(21377),l=s(89875),r=s(99064),n=s(55729),o=s(65789),c=s(62859),d=s(67717),u=s(79853),h=s(54863),f=s(5276),p=s(33243),g=s(23332);function m(){return(0,a.jsx)(r.az,{h:900})}var x=s(76356);function y(e){let{team:t,event:s,lineups:i}=e,l=i.players.filter(e=>!e.substitute);return 0===l.length?null:(0,a.jsx)(x.so,{direction:"column",py:"sm",gap:"sm",children:(0,a.jsx)(g.A,{players:l,team:t,event:s,hideTeamHeader:!0,highlightStarters:!1})})}function v(e){let{team:t,event:s,lineups:i}=e,l=i.players.filter(e=>e.substitute);return 0===l.length?null:(0,a.jsx)(x.so,{direction:"column",py:"sm",gap:"sm",children:(0,a.jsx)(g.A,{players:l,team:t,event:s,hideTeamHeader:!0})})}function j(e){let{manager:t,lineups:s}=e;return t||s.supportStaff&&s.supportStaff.length>0?(0,a.jsx)(x.so,{direction:"column",py:"sm",gap:"sm",children:(0,a.jsx)(p.A,{manager:t,supportStaff:s.supportStaff||[]})}):null}function b(e){var t;let{lineups:s}=e;return(null==s||null==(t=s.missingPlayers)?void 0:t.length)?(0,a.jsx)(x.so,{direction:"column",py:"sm",gap:"sm",children:(0,a.jsx)(f.cW,{missingPlayers:s.missingPlayers})}):null}function w(){let{event:e,leftTeam:t,rightTeam:s}=(0,n.useContext)(c.y$),{managers:i}=(0,u.K)(e),{lineups:l}=(0,h.Ir)({jerseyStyle:"fancy"});if(!l)return null;let d=l.left.players.filter(e=>!e.substitute),f=l.right.players.filter(e=>!e.substitute),p=d.length>0||f.length>0,g=l.left.players.filter(e=>e.substitute),m=l.right.players.filter(e=>e.substitute),w=g.length>0||m.length>0,C=!!(null==i?void 0:i.leftManager)||l.left.supportStaff&&l.left.supportStaff.length>0||!!(null==i?void 0:i.rightManager)||l.right.supportStaff&&l.right.supportStaff.length>0,_=l.left.missingPlayers&&l.left.missingPlayers.length>0||l.right.missingPlayers&&l.right.missingPlayers.length>0;return(0,a.jsxs)(o.Zp,{variant:"mobile-only",children:[p&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(o.Zp.Header,{titleId:"team_playing_eleven"}),(0,a.jsxs)(x.so,{children:[(0,a.jsx)(x.az,{flexGrow:1,flexShrink:1,flexBasis:"1/2",children:(0,a.jsx)(y,{team:t,event:e,lineups:l.left})}),(0,a.jsx)(r.cG,{vertical:!0,mx:"md"}),(0,a.jsx)(x.az,{flexGrow:1,flexShrink:1,flexBasis:"1/2",children:(0,a.jsx)(y,{team:s,event:e,lineups:l.right})})]})]}),w&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(o.Zp.Header,{titleId:"rest_of_squad"}),(0,a.jsxs)(x.so,{children:[(0,a.jsx)(x.az,{flexGrow:1,flexShrink:1,flexBasis:"1/2",children:(0,a.jsx)(v,{team:t,event:e,lineups:l.left})}),(0,a.jsx)(r.cG,{vertical:!0,mx:"md"}),(0,a.jsx)(x.az,{flexGrow:1,flexShrink:1,flexBasis:"1/2",children:(0,a.jsx)(v,{team:s,event:e,lineups:l.right})})]})]}),C&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(o.Zp.Header,{titleId:"support_staff"}),(0,a.jsxs)(x.so,{children:[(0,a.jsx)(x.az,{flexGrow:1,flexShrink:1,flexBasis:"1/2",children:(0,a.jsx)(j,{manager:null==i?void 0:i.leftManager,lineups:l.left})}),(0,a.jsx)(r.cG,{vertical:!0,mx:"md"}),(0,a.jsx)(x.az,{flexGrow:1,flexShrink:1,flexBasis:"1/2",children:(0,a.jsx)(j,{manager:null==i?void 0:i.rightManager,lineups:l.right})})]})]}),_&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(o.Zp.Header,{titleId:"injuries_and_suspensions"}),(0,a.jsxs)(x.so,{children:[(0,a.jsx)(x.az,{flexGrow:1,flexShrink:1,flexBasis:"1/2",children:(0,a.jsx)(b,{lineups:l.left})}),(0,a.jsx)(r.cG,{vertical:!0,mx:"md"}),(0,a.jsx)(x.az,{flexGrow:1,flexShrink:1,flexBasis:"1/2",children:(0,a.jsx)(b,{lineups:l.right})})]})]}),(0,a.jsx)(o.Zp.Footer,{})]})}function C(){var e;let{event:t,leftTeam:s,rightTeam:x,location:y}=(0,n.useContext)(c.y$),{managers:v}=(0,u.K)(t),{lineups:j,error:b}=(0,h.Ir)({jerseyStyle:"fancy"}),[C,_]=(0,n.useState)(i.cxP.Left),{isDesktop:S}=(0,l.$c)(),M=S&&y===c.cb.EventPage;if(b)return null;if(!j)return(0,a.jsx)(m,{});let[k,H,z]=C===i.cxP.Left?[s,null==v?void 0:v.leftManager,j.left]:[x,null==v?void 0:v.rightManager,j.right],A=z.players.filter(e=>!e.substitute),L=z.players.filter(e=>e.substitute),O=!!H||z.supportStaff&&(null==(e=z.supportStaff)?void 0:e.length)>0;return M?(0,a.jsx)(w,{}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(r.az,{bg:"surface.s1",w:"100%",position:"sticky",top:[50,0],zIndex:r.Py.Sticky,p:"sm",children:(0,a.jsx)(d.n,{activeTeam:C,onTeamClick:e=>_(e)})}),(0,a.jsxs)(r.so,{direction:"column",p:"sm",gap:"sm",children:[!!A.length&&(0,a.jsxs)(o.Zp,{isInverseDesktop:!0,children:[(0,a.jsx)(o.Zp.Header,{titleId:"team_playing_eleven"}),(0,a.jsx)(g.A,{players:A,team:k,event:t,hideTeamHeader:!0,highlightStarters:!1})]}),!!L.length&&(0,a.jsxs)(o.Zp,{isInverseDesktop:!0,children:[(0,a.jsx)(o.Zp.Header,{titleId:"rest_of_squad"}),(0,a.jsx)(g.A,{players:L,team:k,event:t,hideTeamHeader:!0})]}),O&&(0,a.jsxs)(o.Zp,{isInverseDesktop:!0,children:[(0,a.jsx)(o.Zp.Header,{titleId:"support_staff"}),(0,a.jsx)(p.A,{manager:H,supportStaff:z.supportStaff||[]})]}),!!(j.left.missingPlayers||j.right.missingPlayers)&&(0,a.jsx)(f.Sb,{missingPlayers:z.missingPlayers})]})]})}},26624:(e,t,s)=>{s.d(t,{A:()=>l});var a=s(6029),i=s(39895);function l(e){return(0,a.jsx)(i.A,Object.assign({width:"24",height:"24",viewBox:"0 0 24 24"},e,{children:(0,a.jsx)("path",{d:"M14.07 8.19c2.14-.31 2.99.56 3.31 1.11l2.33 3.99c1.04 1.81-.75 4.23-4.91 6.63-2.4 1.39-4.41 2.09-5.88 2.09-1.08 0-1.87-.38-2.31-1.14l-2.32-3.98c-.01-.01-.01-.02-.01-.02-.32-.56-.64-1.73.69-3.43.87-1.11 2.31-2.26 4.15-3.32 1.84-1.06 3.56-1.73 4.95-1.93zm2.8 4.19c-.08.11-.14.2-.23.31-.87 1.05-2.31 2.17-4.17 3.24-2.06 1.2-3.84 1.88-5.23 2.05l1.1 1.89-.86.5.87-.5c.14.24 1.8.44 5.46-1.68v-.01c3.67-2.12 4.32-3.65 4.18-3.89zm-1.2-2.07c-.06-.1-.45-.26-1.3-.14-.8.12-2.18.5-4.24 1.69-2.06 1.18-3.08 2.19-3.58 2.82-.53.67-.58 1.1-.53 1.19h.01c.14.24 1.8.44 5.46-1.68 2.09-1.2 3.13-2.18 3.63-2.78.58-.69.58-1.05.55-1.1zM22 2v9h-2V4H4v7H2V2h20z",fill:e.fill,fillRule:"evenodd"})}))}},27778:(e,t,s)=>{s.d(t,{A:()=>p});var a=s(6029),i=s(21377),l=s(89875),r=s(21501),n=s(99064),o=s(55729),c=s(65789),d=s(62859),u=s(69559),h=s(56008),f=s(22835);function p(){let e=(0,u.o)(),{event:t,location:s,initialHasLineups:p}=(0,o.useContext)(d.y$),{couldHavePregameTopPlayers:g}=(0,f.M)(t),{isDesktop:m}=(0,l.$c)(),x=m&&s===d.cb.EventPage,y=(0,r.hX)();return e!==i.QCR.Football&&g?(0,a.jsx)(h.A,{}):y&&!p?null:x?(0,a.jsx)(c.Zp,{children:(0,a.jsxs)(n.az,{display:["none","block"],children:[(0,a.jsx)(n.az,{h:46}),(0,a.jsx)(n.az,{h:48}),(0,a.jsxs)(n.so,{pb:"sm",px:"sm",gap:"sm",children:[(0,a.jsx)(n.az,{h:72,w:"50%",bg:"surface.s2",br:"lg"}),(0,a.jsx)(n.az,{h:72,w:"50%",bg:"surface.s2",br:"lg"})]}),(0,a.jsx)(n.az,{h:432,bg:"surface.s2",mx:"sm"}),(0,a.jsx)(n.az,{h:56,m:"sm",bg:"surface.s2",br:"lg"}),(0,a.jsx)(n.az,{h:240})]})}):(0,a.jsx)(n.az,{display:["block","none"],h:946})}},27974:(e,t,s)=>{s.d(t,{A:()=>l});var a=s(6029),i=s(39895);function l(e){return(0,a.jsx)(i.A,Object.assign({width:"24",height:"24",viewBox:"0 0 24 24"},e,{children:(0,a.jsx)("path",{d:"M7 14v3h3v2H7v3H6l-4-4 4-4h1zm10-2c2.76 0 5 2.24 5 5s-2.24 5-5 5-5-2.24-5-5 2.24-5 5-5zm.58 1.5h-1.13v3.969l2.403 2.397.797-.797-2.07-2.07V13.5zM18 2l4 4-4 4h-1V7H6v5H4V7l2-2h11V2h1z",fill:e.fill,fillRule:"evenodd"})}))}},28971:(e,t,s)=>{s.d(t,{A:()=>r});var a=s(6029),i=s(55729),l=s(12153);let r=(0,i.forwardRef)((e,t)=>{let{referee:s,children:i,...r}=e;return(0,a.jsx)(l.A,{...r,routeKey:"referee",params:{id:s.id,slug:s.slug},ref:t,children:i})})},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"})},30182:(e,t,s)=>{s.d(t,{m:()=>g});var a=s(6029),i=s(10292),l=s(89875),r=s(76356),n=s(55729),o=s(65789),c=s(5276),d=s(82707),u=s(24159),h=s(41078);function f(e){let{missingPlayer:t,left:s,first:n}=e;return t?(0,a.jsxs)(r.so,{h:"5xl",w:"100%",align:"center",direction:s?"row":"row-reverse",gap:"lg",overflow:"hidden",pl:s?"lg":void 0,pr:s?void 0:"lg",cursor:"pointer",_hover:{bg:"surface.s2"},children:[(0,a.jsx)(i.t,{size:40,id:t.player.id,style:{display:"block"}}),(0,a.jsxs)(r.so,{overflow:"hidden",direction:"column",justify:"center",align:s?"flex-start":"flex-end",gap:"xs",children:[(0,a.jsx)(l.EY,{children:(0,a.jsx)(u.c,{entity:t.player,short:!0})}),(0,a.jsx)(c.Ck,{missingPlayer:t})]})]}):n?(0,a.jsx)(h.A,{messageId:"no_missing_players",isInverted:!s}):null}function p(e){let{home:t,away:s,first:i}=e,l=(null==t?void 0:t.player)?d.uc:n.Fragment,o=(null==s?void 0:s.player)?d.uc:n.Fragment;return(0,a.jsxs)(r.so,{justify:t||i?"space-between":"flex-end",children:[(0,a.jsx)(l,{player:null==t?void 0:t.player,style:{width:"50%"},children:(0,a.jsx)(f,{missingPlayer:t,first:!!i,left:!0})}),(0,a.jsx)(o,{player:null==s?void 0:s.player,style:{width:"50%"},children:(0,a.jsx)(f,{missingPlayer:s,first:!!i})})]})}function g(e){let{home:t,away:s}=e;if(void 0===t&&void 0===s)return null;let i=Math.max((null==t?void 0:t.length)||0,(null==s?void 0:s.length)||0);return(0,a.jsxs)(o.Zp,{children:[(0,a.jsx)(o.Zp.Header,{titleId:"injuries_and_suspensions"}),Array.from({length:i}).map((e,i)=>{var l,r,n,o;return(0,a.jsx)(p,{home:null==t?void 0:t[i],away:null==s?void 0:s[i],first:0===i},"".concat(null==t||null==(r=t[i])||null==(l=r.player)?void 0:l.id).concat(null==s||null==(o=s[i])||null==(n=o.player)?void 0:n.id))}),(0,a.jsx)(o.Zp.Footer,{})]})}},31698:(e,t,s)=>{s.d(t,{A:()=>l});var a=s(6029),i=s(39895);function l(e){return(0,a.jsx)(i.A,Object.assign({width:"24",height:"24",viewBox:"0 0 24 24"},e,{children:(0,a.jsx)("path",{d:"M7 2v3h10l2 2 .001 3.461A6.73 6.73 0 0 1 21 15.25c0 3.72-3.03 6.75-6.75 6.75S7.5 18.97 7.5 15.25s3.03-6.75 6.75-6.75c.979 0 1.91.21 2.751.587L17 7H7v3H6L2 6l4-4h1zm7.24 8.17c-1.29 0-2.47.5-3.37 1.3l.88.53-.64 2.39-1.94.69v.17c0 .65.13 1.26.35 1.83l.9-.46 1.5 1.67-.24 1.33a5.017 5.017 0 0 0 2.29.702l.276.008.198-.004a5.089 5.089 0 0 0 4.862-4.862l.004-.214c0-1.46-.62-2.77-1.61-3.7l-.84.78-2.62-1.11.28-1.04c-.1-.01-.19-.01-.28-.01zm2.42 3.95L18 16.58l-2 2.2-2-.78v-2.91l2.66-.97z",fill:e.fill,fillRule:"evenodd"})}))}},32190:(e,t,s)=>{s.d(t,{Et:()=>r.Et,GW:()=>i.A,pY:()=>l.p,tg:()=>a.t});var a=s(91407),i=s(94400),l=s(91603),r=s(19991)},32256:(e,t,s)=>{s.d(t,{A:()=>l});var a=s(6029),i=s(39895);function l(e){return(0,a.jsx)(i.A,Object.assign({width:"24",height:"24",viewBox:"0 0 24 24"},e,{children:(0,a.jsx)("path",{d:"M12 8.5c3.72 0 6.75 3.03 6.75 6.75S15.72 22 12 22s-6.75-3.03-6.75-6.75S8.28 8.5 12 8.5zm-.01 1.67c-1.29 0-2.47.5-3.37 1.3l.88.53-.64 2.39-1.94.69v.17c0 .65.13 1.26.35 1.83l.9-.46 1.5 1.67-.24 1.33a5.017 5.017 0 0 0 2.29.702l.276.008.198-.004a5.089 5.089 0 0 0 4.862-4.862l.004-.214c0-1.46-.62-2.77-1.61-3.7l-.84.78-2.62-1.11.28-1.04c-.1-.01-.19-.01-.28-.01zm2.42 3.95 1.34 2.46-2 2.2-2-.78v-2.91l2.66-.97zM22 2v9h-2V4H4v7H2V2h20z",fill:e.fill,fillRule:"evenodd"})}))}},33787:(e,t,s)=>{s.d(t,{A:()=>l});var a=s(6029),i=s(39895);function l(e){return(0,a.jsx)(i.A,Object.assign({width:"24",height:"24",viewBox:"0 0 24 24"},e,{children:(0,a.jsxs)("g",Object.assign({fill:"none",fillRule:"evenodd"},{children:[(0,a.jsx)("path",{d:"m16.21 8.93-.97 2.29-4.21 4.21-2.29.97-.52.05c.4-2.02 1.36-3.86 2.85-5.39a10.71 10.71 0 0 1 5.21-2.81l-.07.68zM13.6 21.26l.97-2.29 4.21-4.22 2.29-.97.67-.07c-.42 1.96-1.37 3.74-2.82 5.22a10.678 10.678 0 0 1-5.38 2.84l.05-.52.01.01zm-5.53-3.8.99-.11 2.61-1.14 4.46-4.51 1.07-2.59.11-1.02c.27-.03.55-.06.83-.07 1.07-.05 2.29 0 3.1.68l.07.07c.55.65.75 1.62.68 3.09-.01.29-.04.57-.07.85l-1.16.13-2.61 1.14-4.46 4.51-1.07 2.59-.09.85c-.22.02-.44.05-.66.06-1.07.05-2.29 0-3.1-.68l-.07-.07c-.48-.57-.7-1.36-.7-2.55 0-.18 0-.35.01-.54.01-.23.04-.45.06-.68v-.01zM3.5 4c.28 0 .53.08.75.21.51-1.29 1.76-2.2 3.23-2.21H9l1 1h1V2h6l-1 2-5 2-.05.03A3.49 3.49 0 0 1 7.5 9c-1.48 0-2.73-.92-3.25-2.21-.22.13-.48.21-.75.21C2.67 7 2 6.33 2 5.5S2.67 4 3.5 4zm0 2c.28 0 .5-.22.5-.5S3.78 5 3.5 5s-.5.22-.5.5.22.5.5.5z",fill:e.fill}),(0,a.jsxs)("g",Object.assign({fill:e.fill},{children:[(0,a.jsx)("path",{d:"m16.21 8.93-.97 2.29-4.21 4.21-2.29.97-.52.05c.4-2.02 1.36-3.86 2.85-5.39a10.71 10.71 0 0 1 5.21-2.81l-.07.68zM13.6 21.26l.97-2.29 4.21-4.22 2.29-.97.67-.07c-.42 1.96-1.37 3.74-2.82 5.22a10.678 10.678 0 0 1-5.38 2.84l.05-.52.01.01z"}),(0,a.jsx)("path",{d:"m8.07 17.46.99-.11 2.61-1.14 4.46-4.51 1.07-2.59.11-1.02c.27-.03.55-.06.83-.07 1.07-.05 2.29 0 3.1.68l.07.07c.55.65.75 1.62.68 3.09-.01.29-.04.57-.07.85l-1.16.13-2.61 1.14-4.46 4.51-1.07 2.59-.09.85c-.22.02-.44.05-.66.06-1.07.05-2.29 0-3.1-.68l-.07-.07c-.48-.57-.7-1.36-.7-2.55 0-.18 0-.35.01-.54.01-.23.04-.45.06-.68v-.01z"}),(0,a.jsx)("path",{d:"M3.5 4c.28 0 .53.08.75.21.51-1.29 1.76-2.2 3.23-2.21H9l1 1h1V2h6l-1 2-5 2-.05.03A3.49 3.49 0 0 1 7.5 9c-1.48 0-2.73-.92-3.25-2.21-.22.13-.48.21-.75.21C2.67 7 2 6.33 2 5.5S2.67 4 3.5 4zm0 2c.28 0 .5-.22.5-.5S3.78 5 3.5 5s-.5.22-.5.5.22.5.5.5z",fillRule:"nonzero"})]}))]}))}))}},35518:(e,t,s)=>{s.d(t,{A:()=>l});var a=s(6029),i=s(39895);function l(e){return(0,a.jsx)(i.A,Object.assign({width:"24",height:"24",viewBox:"0 0 24 24"},e,{children:(0,a.jsxs)("g",Object.assign({fill:"none",fillRule:"evenodd"},{children:[(0,a.jsx)("path",{fill:"none",d:"M0 0h24v24H0z"}),(0,a.jsx)("path",{d:"M22 12c0-.09-.01-.18-.01-.28C21.84 6.33 17.43 2 12 2 6.57 2 2 6.48 2 12s4.48 10 10 10 9.84-4.33 9.99-9.72c0-.09.01-.18.01-.28zm-1.94-2.67-.92-.11-.93-2.99c.82.88 1.46 1.94 1.85 3.11v-.01zm-16 3.89 2.03 2.4-.93 1.4c-.81-1.1-1.36-2.4-1.56-3.81h.46v.01zm.91-.51 1.32-3.9h3.99l1.75 3.31-1.56 3.07H7.09l-2.11-2.48h-.01zm6.22-4.39 2.41-2.44 3.62.75.98 2.97-1.71 2.8-3.48-.57-1.83-3.51h.01zm-.18-4.75 1.67 1.8-2.36 2.39H6.36l-.67-1.4v-.02a8.415 8.415 0 0 1 5.32-2.77zM5.86 17.86l1.09-1.65h3.26l2.59 2.59-.56 1.68c-.08 0-.16.01-.24.01-2.42 0-4.59-1.02-6.14-2.64v.01zm7.5 2.52.33-1 3.78-1.91.67.4a8.511 8.511 0 0 1-4.78 2.52v-.01zm5.45-3.32-1.11-.66-.53-3.14v-.01l1.87-3.03 1.3.16a8.389 8.389 0 0 1-1.53 6.68z",fill:e.fill})]}))}))}},35532:(e,t,s)=>{s.d(t,{K:()=>F});var a=s(6029),i=s(21377),l=s(4967),r=s(76356),n=s(55729),o=s(45860),c=s(65789),d=s(62859),u=s(7263),h=s(8703),f=s(67717),p=s(28446),g=s(90112),m=s(9127),x=s(65078),y=s(89875),v=s(99064),j=s(90248),b=s(44259);function w(e){let{selectedPlayer:t,setSelectedPlayer:s,showSubstitutes:i,substitutionIds:l,setShowSubstitutes:r,selectedSide:o,players:c}=e,{event:u}=(0,n.useContext)(d.y$),h=Array.from(l).reduce((e,t)=>{let s=c.find(e=>e.player.id===t);return s?[...e,s]:e},[]),f=(null==t?void 0:t.id)&&l.has(t.id);return(0,n.useEffect)(()=>{f&&!i&&r(!0)},[t]),(0,a.jsxs)(v.so,{br:"24",h:"92",mb:"xs",align:"flex-start",direction:"column",children:[(0,a.jsx)(v.Sc,{px:"lg",name:"showSubstitutes-".concat(u.id,"-").concat(o),onChange:e=>{let t=e.currentTarget.checked;r(t),(!t&&f||t&&!f)&&s(void 0)},checked:i,style:{overflow:"hidden"},boxColor:"onColor.primary",children:(0,a.jsx)(v.EY,{color:"onColor.primary",children:(0,a.jsx)(j.A,{id:"show_substitutions"})})}),(0,a.jsx)(y.tR,{buttonStyle:"clipped",colorPalette:"primary",children:(0,a.jsx)(v.so,{px:"lg",w:"fit-content",align:"center",h:44,children:(0,a.jsx)(g.N,{initial:!1,children:h.map(e=>{let{player:i,jersey:l,fillColor:r,numberColor:n,hasLowPoints:o}=e;return(0,a.jsx)(m.m.div,{initial:{opacity:0},animate:{opacity:(0,b.cl)(o,!!t,(null==t?void 0:t.id)===i.id)},exit:{opacity:0},transition:{duration:.2},onClick:()=>s(i),style:{cursor:"pointer"},children:(0,a.jsx)(v.so,{align:"center",p:"xs",w:"32",h:"32",br:"50%",ml:"xs",textAlign:"center",justify:"center",bg:r,style:{pointerEvents:"none",userSelect:"none"},children:(0,a.jsx)(v.EY,{font:"display.medium",color:n,children:l})})},i.id)})},o)})})]})}var C=s(10292),_=s(54409),S=s(24159);function M(e){let{selectedPlayer:t,players:s,setSelectedPlayer:i}=e;return t?(0,a.jsx)(v.so,{position:"absolute",justify:"center",w:"100%",bottom:0,children:(0,a.jsxs)(v.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:()=>i(void 0),cursor:"pointer",children:[(0,a.jsxs)(v.so,{align:"center",children:[(0,a.jsx)(C.t,{size:40,id:t.id}),(0,a.jsxs)(v.az,{pl:"md",children:[(0,a.jsx)(v.EY,{block:!0,font:"display.medium",color:"onSurface.nLv1",children:(0,a.jsx)(S.c,{entity:t})}),s.find(e=>{let{player:s,hasLowPoints:a}=e;return s.id===t.id&&a})&&(0,a.jsx)(v.EY,{font:"assistive.default",color:"onSurface.nLv3",mt:"xxs",children:(0,a.jsx)(j.A,{id:"low_player_involvement"})})]})]}),(0,a.jsx)(v.$n,{w:"36",h:"36",p:"0",variant:"unshielded",children:(0,a.jsx)(_.zQC,{icon:"close",fill:"onSurface.nLv1"})})]})}):null}var k=s(41735),H=s(5961),z=s(94497);let A=(0,k.default)(v.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)"),z.qG),L={WIDTH:280,HEIGHT:420},O=e=>{let{heatmap:t,heatmapTransform:s,teamId:i,theme:l,isLineupsBackground:r}=e,o="".concat(i,"-avg-positions"),{textDirection:c}=(0,y.$c)();return((0,n.useEffect)(()=>{t&&(0,H.IJ)(t,{containerId:o,width:L.HEIGHT-16,height:L.WIDTH-16},l,r)},[t,o]),t)?(0,a.jsx)(A,{id:o,position:"absolute",w:L.WIDTH-16,h:L.HEIGHT-16,top:"sm",left:"sm",xTranslate:"rtl"===c?"70px":"-70px",style:{transform:s,overflow:"hidden"}}):null},P=e=>{let{teamId:t,heatmap:s,heatmapTransform:i,children:l,isLineupsBackground:r,...n}=e,o=(0,k.useTheme)(),c=o.colors;return(0,a.jsxs)(v.az,{position:"relative",m:"auto",w:L.WIDTH,h:L.HEIGHT,children:[(0,a.jsx)("svg",{style:{position:"absolute",top:0,left:0},width:L.WIDTH,height:L.HEIGHT,viewBox:"0 0 ".concat(L.WIDTH," ").concat(L.HEIGHT),xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)("g",{fill:"none",fillRule:"evenodd",children:(0,a.jsx)("rect",{fill:c.graphicsTerrain.footballLineups,width:L.WIDTH,height:L.HEIGHT,rx:"4"})})}),(0,a.jsx)(O,{heatmap:s,heatmapTransform:i,theme:o,teamId:t,isLineupsBackground:r}),(0,a.jsx)("svg",{style:{position:"absolute",top:0,left:0},width:L.WIDTH,height:L.HEIGHT,viewBox:"0 0 ".concat(L.WIDTH," ").concat(L.HEIGHT),xmlns:"http://www.w3.org/2000/svg",...n,children:(0,a.jsx)("g",{fill:"none",fillRule:"evenodd",children:(0,a.jsxs)("g",{children:[(0,a.jsx)("path",{stroke:c.onColor.primary,strokeWidth:"2",strokeLinejoin:"round",d:"M9.333 9.333h261.333V210H9.333z"}),(0,a.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,a.jsx)("path",{stroke:c.onColor.primary,strokeWidth:"2",strokeLinejoin:"round",d:"M107.333 9.333h65.333V28h-65.333z"}),(0,a.jsx)("circle",{cx:"2.333",cy:"2.333",r:"2.333",transform:"translate(137.667 51.333)",fill:c.onColor.primary}),(0,a.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,a.jsxs)("g",{children:[(0,a.jsx)("path",{stroke:c.onColor.primary,strokeWidth:"2",strokeLinejoin:"round",d:"M9.333 410.667h261.333V210H9.333z"}),(0,a.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,a.jsx)("path",{stroke:c.onColor.primary,strokeWidth:"2",strokeLinejoin:"round",d:"M107.333 410.667h65.333V392h-65.333z"}),(0,a.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,a.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,a.jsx)("g",{children:l})]})})})]})};var V=s(54863);let I={left:{group:void 0,text:(0,b.$8)()?"translate(0 4)":void 0,heatmap:"scale(1, -1)"},right:{group:"matrix(-1 0 0 -1 0 0), translate(-".concat(L.WIDTH," -").concat(L.HEIGHT,")"),text:"scale(-1 -1) ".concat((0,b.$8)()?"translate(0 4)":""),heatmap:"scale(-1, 1)"}},R=(0,p.A)().domain([0,100]).range([8,L.WIDTH-8]),T=(0,p.A)().domain([0,100]).range([8,L.HEIGHT-8]);function E(e){let{selectedSide:t}=e,{event:s}=(0,n.useContext)(d.y$),[l,c]=(0,n.useState)(!1),[u,f]=(0,n.useState)(void 0),[{group:p,text:y,heatmap:v},j]=(0,n.useState)(I[t]),{data:C,error:_}=(0,o.Ay)(i.bnp.averagePositions(s.id),(0,h.rf)(s)),{data:S}=(0,o.Ay)(u?i.bnp.playerHeatmap(s.id,u.id):null),[k,H]=(0,x.jr)(C,"home","away"),{lineups:z,error:A}=(0,V.Ir)();(0,n.useLayoutEffect)(()=>{j(I[t]),f(void 0),c(!1)},[t]);let L="left"===t?k:H;if(!C)return(0,a.jsx)(r.az,{h:"[420px]"});if(_||A)return null;let O={in:new Set,out:new Set},E=C.substitutions.sort((e,t)=>{var s,a;return(null!=(s=e.time)?s:0)-(null!=(a=t.time)?a:0)});for(let e=0;e({x:R(e.averageY),y:T(e.averageX),jersey:B[t].get(e.player.id),player:e.player,hasLowPoints:(0,b.XU)(e.pointsCount),...(0,b.jM)(e.player,null==z?void 0:z[t])}))),F=e=>()=>{(null==u?void 0:u.id)===e.id?f(void 0):f(e)};return(0,a.jsxs)(r.az,{position:{base:"initial",md:"relative"},bg:"graphics.terrain.footballLineups",m:"auto",textAlign:"center",pt:"sm",pb:"4xl",w:"100%",children:[(0,a.jsx)(w,{selectedPlayer:u,setSelectedPlayer:f,substitutionIds:O.in,showSubstitutes:l,setShowSubstitutes:c,selectedSide:t,players:Z}),(0,a.jsx)(r.az,{position:"relative",children:(0,a.jsx)(P,{teamId:t===i.cxP.Left?s.homeTeam.id:s.awayTeam.id,heatmap:null==S?void 0:S.heatmap,heatmapTransform:v,isLineupsBackground:!0,children:(0,a.jsx)("g",{transform:p,textAnchor:"middle",fontSize:"16px",fontWeight:"700",fontFamily:"'Sofascore Sans', sans-serif",children:(0,a.jsxs)(g.N,{children:[(0,a.jsxs)(m.m.g,{fill:"white",initial:{opacity:0},animate:{opacity:.5},transform:"translate(136 136)",children:[(0,a.jsx)("rect",{width:"8",height:"116"}),(0,a.jsx)("path",{d:"M16 8 4 16V0zM0 6h4v4H0z",transform:"translate(0 116), rotate(90), scale(2)",style:{transformOrigin:"4px 8px"}})]},t),Z.map(e=>{let{x:t,y:s,player:i,fillColor:r,hasLowPoints:n}=e;return(l?O.out.has(i.id):O.in.has(i.id))?null:(0,a.jsx)(m.m.circle,{initial:{opacity:0,r:0},animate:{opacity:(0,b.cl)(n,!!u,i.id===(null==u?void 0:u.id)),r:16},transition:l&&!u?{delay:.2}:void 0,fill:r,cx:t,cy:s,style:{cursor:"pointer"},onClick:F(i)},i.id+"circle")}),Z.map(e=>{let{x:t,y:s,player:i,jersey:r,numberColor:n,hasLowPoints:o}=e;return(l?O.out.has(i.id):O.in.has(i.id))?null:(0,a.jsx)(m.m.text,{initial:{opacity:0},animate:{opacity:(0,b.cl)(o,!!u,i.id===(null==u?void 0:u.id))},transition:l&&!u?{delay:.2}:void 0,x:t,y:s+1,style:{transformOrigin:"".concat(t,"px ").concat(s,"px"),zIndex:1,cursor:"pointer"},transform:y,fill:n,alignmentBaseline:"middle",onClick:F(i),children:r},i.id+"txt")})]})})})}),(0,a.jsx)(M,{selectedPlayer:u,setSelectedPlayer:f,players:Z})]})}let B=(0,r.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 Z(){let{event:e,location:t}=(0,n.useContext)(d.y$),[s,l]=(0,n.useState)(i.cxP.Left),c=t===d.cb.Widget,{data:u,error:p}=(0,o.Ay)(i.bnp.averagePositions(e.id),(0,h.rf)(e));if(!u)return(0,a.jsx)(r.az,{h:"[420px]"});if(p)return null;let g={in:new Set,out:new Set},m=u.substitutions.sort((e,t)=>{var s,a;return(null!=(s=e.time)?s:0)-(null!=(a=t.time)?a:0)});for(let e=0;e(0,l.Ui)(Date.now(),s.startTimestamp,"minutes"),f=!1;return(c?f=!0:s.status.type===i.XUj.InProgress&&(f=h&&1===s.detailId),f)?h?null:t?(0,a.jsx)(G,{}):(0,a.jsx)(N,{}):void 0===c&&1===s.detailId&&s.status.type!==i.XUj.NotStarted?(0,a.jsx)(r.az,{h:"5xl"}):null}function G(){return(0,a.jsxs)(c.Zp,{variant:"mobile-only",children:[(0,a.jsx)(c.Zp.Header,{titleId:"players_average_positions"}),(0,a.jsxs)(r.so,{gap:"sm",px:"lg",py:"sm",children:[(0,a.jsx)(E,{selectedSide:i.cxP.Left}),(0,a.jsx)(E,{selectedSide:i.cxP.Right})]})]})}function N(){return(0,a.jsx)(r.az,{px:"sm",children:(0,a.jsxs)(c.Zp,{isInverseDesktop:!0,children:[(0,a.jsx)(c.Zp.Header,{titleId:"players_average_positions",as:"h4"}),(0,a.jsx)(Z,{})]})})}},38709:(e,t,s)=>{s.d(t,{k:()=>a.k});var a=s(25766)},39169:(e,t,s)=>{s.r(t),s.d(t,{default:()=>p});var a,i,l,r,n=s(90142),o=s(6029),c=s(39895);s(30079);var d=s(62283);s(60449),s(82823);var u=s(55729);s(97481);var h=s(41735);let f={xs:480,sm:768,md:992,lg:1344};function p(e){var{fill:t="primary.default"}=e,s=(0,n.T)(e,["fill"]);return(0,o.jsx)(c.A,Object.assign({w:12,h:12,viewBox:"0 0 12 12",fill:t},s,{children:(0,o.jsxs)("g",{children:[(0,o.jsx)("rect",{width:"12",height:"12",rx:"6"}),(0,o.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:d.A.onColor.primary})]})}))}(0,u.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"}(a||(a={})),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"}(i||(i={})),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'}(l||(l={})),i.Micro,i.Small,i.Regular,i.Medium,i.Large,i.HeaderTitle,i.ExtraLarge,i.ExtraExtraLarge,a.Regular,a.Medium,a.Bold,l.SofascoreSans,l.SofascoreSansCondensed,a.Medium,i.HeaderTitle,l.SofascoreSans,a.Medium,i.HeaderTitle,l.SofascoreSans,a.Medium,i.Regular,l.SofascoreSans,a.Bold,i.Small,l.SofascoreSans,a.Bold,i.Regular,l.SofascoreSansCondensed,a.Medium,i.Regular,l.SofascoreSans,a.Medium,i.Small,l.SofascoreSans,a.Bold,i.ExtraLarge,l.SofascoreSans,a.Bold,i.Large,l.SofascoreSans,a.Bold,i.Medium,l.SofascoreSans,a.Bold,i.Regular,l.SofascoreSans,a.Bold,i.Small,l.SofascoreSans,a.Regular,i.Medium,l.SofascoreSans,a.Regular,i.Regular,l.SofascoreSans,a.Regular,i.Regular,l.SofascoreSans,a.Regular,i.Small,l.SofascoreSans,a.Regular,i.Small,l.SofascoreSans,a.Medium,i.Small,l.SofascoreSans,a.Medium,i.Micro,l.SofascoreSans,a.Bold,i.Large,l.SofascoreSansCondensed,a.Regular,i.Regular,l.SofascoreSansCondensed,a.Bold,i.Small,l.SofascoreSansCondensed,a.Regular,i.Micro,l.SofascoreSans,a.Bold,i.Regular,l.SofascoreSansCondensed,(0,h.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=f){let t=function(e){let t=Object.keys(e),s={};return t.forEach(t=>{s[t]=e[t],s[t+"Min"]=e[t],s[t+"Max"]=e[t]-1}),s}(e);Object.keys(t).reduce((e,s)=>(e[s]=(e,...a)=>(0,h.css)` @media (${s.match(/Max/)?"max-width":"min-width"}: ${t[s]}px) { ${(0,h.css)(e,...a)} } `,e),{})}(),"undefined"!=typeof window&&(null==(r=window.matchMedia)||r.call(window,"(prefers-color-scheme: dark)"))},39895:(e,t,s)=>{s.d(t,{A:()=>h});var a=s(90142),i=s(6029),l=s(60449),r=s.n(l),n=s(55729),o=s(41735);s(82823);var c=s(83509),d=s(63296);let u=o.default.svg.withConfig({componentId:"SvgWrapper"})` ${c.G} ${d.x} ${e=>e.isRtl&&"\n transform: scaleX(-1);\n "} `,h=e=>{var{fill:t,fillOpacity:s,width:l=24,height:c=24,viewBox:d="0 0 24 24",title:h,children:f,style:p={},isRtlPrevented:g}=e,m=(0,a.T)(e,["fill","fillOpacity","width","height","viewBox","title","children","style","isRtlPrevented"]);let x=(0,n.useContext)(o.ThemeContext),y=r()(x.colors,t||"",t),{transform:v}=p,j=(0,a.T)(p,["transform"]),b="rtl"===x.settings.textDirection&&!g;return(0,i.jsxs)(u,Object.assign({width:l,height:c,viewBox:d,fill:y,style:p},m,{isRtl:b},{children:[h&&(0,i.jsx)("title",{children:h}),n.Children.map(f,e=>{let t=Object.assign(Object.assign({},m),{style:j,fill:y,fillOpacity:s});return t["data-testid"]=void 0,(0,n.isValidElement)(e)?(0,n.cloneElement)(e,t):e})]}))}},41078:(e,t,s)=>{s.d(t,{A:()=>o});var a=s(6029),i=s(89875),l=s(76356),r=s(90248),n=s(54409);function o(e){let{messageId:t,isInverted:s}=e;return(0,a.jsxs)(l.so,{direction:s?"row-reverse":"row",gap:"sm",align:"center",h:"5xl",maxW:"100%",px:"sm",children:[(0,a.jsx)(n.G_L,{width:24,height:24,fill:"onSurface.nLv3",style:{display:"block",minWidth:"24px"}}),(0,a.jsx)(i.EY,{textStyle:"body.medium",color:"neutrals.nLv3",display:"block",children:(0,a.jsx)(r.A,{id:t})})]})}},43681:(e,t,s)=>{s.d(t,{A:()=>r});var a=s(90142),i=s(6029),l=s(39895);function r(e){var{fill:t="error.default"}=e,s=(0,a.T)(e,["fill"]);return(0,i.jsx)(l.A,Object.assign({width:"24",height:"24",viewBox:"0 0 24 24",fill:t},s,{children:(0,i.jsx)("path",{d:"M7.842 5.356c-.016.092.049.153.145.153h1.738c.097 0 .161-.061.177-.153.129-.96.773-1.525 2.012-1.525 1.094 0 1.69.625 1.69 1.48 0 .885-.516 1.602-1.69 1.8-2.591.442-4.007 1.327-4.007 3.768v1.968c0 .092.064.153.16.153h7.612c.097 0 .161-.061.161-.153v-1.525c0-.092-.064-.153-.16-.153h-5.65v-.503c0-1.297.645-1.541 1.996-1.8 2.22-.428 3.717-1.435 3.717-3.601C15.743 3.19 14.166 2 11.962 2 9.5 2 8.084 3.266 7.842 5.356zM4 22.476c0 .06.04.1.1.1h1.06c.06 0 .1-.04.1-.1v-3.16c0-.68.45-.95.9-.95.52 0 .92.34.92.97v3.14c0 .06.04.1.1.1h1.06c.06 0 .1-.04.1-.1v-3.14c0-.7.45-.97.9-.97.51 0 .91.34.91.97v3.14c0 .06.04.1.1.1h1.06c.06 0 .1-.04.1-.1v-3.29c0-1.26-.82-1.99-1.96-1.99-.63 0-1.09.14-1.5.65-.39-.52-.9-.65-1.41-.65-.63 0-1.07.2-1.37.69v-.49c0-.06-.04-.1-.1-.1H4.1c-.06 0-.1.04-.1.1v5.08zm8.51-6.11c0 .06.04.1.1.1h1.28c.06 0 .1-.04.1-.1v-1.19c0-.06-.04-.1-.1-.1h-1.28c-.06 0-.1.04-.1.1v1.19zm.11 6.11c0 .06.04.1.1.1h1.06c.06 0 .1-.04.1-.1v-5.08c0-.06-.04-.1-.1-.1h-1.06c-.06 0-.1.04-.1.1v5.08zm2.52 0c0 .06.04.1.1.1h1.06c.06 0 .1-.04.1-.1v-2.98c0-.81.52-1.13 1.03-1.13.59 0 1.04.37 1.04 1.07v3.04c0 .06.04.1.1.1h1.06c.06 0 .1-.04.1-.1v-3.2c0-1.31-.87-2.08-2.01-2.08-.59 0-1.08.18-1.41.69v-.49c0-.06-.04-.1-.1-.1h-.97c-.06 0-.1.04-.1.1v5.08z",fill:t,fillRule:"evenodd"})}))}},44259:(e,t,s)=>{s.d(t,{$8:()=>o,T0:()=>r,XU:()=>c,cl:()=>d,eA:()=>l,jM:()=>n});var a=s(21377);class i{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 i(0,0);return Math.atan2(this.y-e.y,this.x-e.x)}add(e,t){let s=this.atan(t);return this.x+=e*Math.cos(s),Math.abs(s-Math.PI)>.005&&(this.y+=e*Math.sin(s)),[this.x,this.y]}constructor(e,t){this.x=e,this.y=t}}function l(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:24,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:4,a=e.map(e=>{let{x:t,y:s}=e;return new i(t,s)}),l=0;do for(let s=0;s({...e,...a[t]}))}let r=e=>{let t=new Map;if(e)for(let s=0;s{var s,a,i,l,r,n,o,c;let d=(null==t||null==(s=t.playerColor)?void 0:s.primary)||(null==t||null==(a=t.playerColor)?void 0:a.outline),u=(null==t||null==(i=t.playerColor)?void 0:i.fancyNumber)||(null==t||null==(l=t.playerColor)?void 0:l.number);return"G"===e.position&&(d=(null==t||null==(r=t.goalkeeperColor)?void 0:r.primary)||(null==t||null==(n=t.goalkeeperColor)?void 0:n.outline),u=(null==t||null==(o=t.goalkeeperColor)?void 0:o.fancyNumber)||(null==t||null==(c=t.goalkeeperColor)?void 0:c.number)),{fillColor:d=(null==d?void 0:d.startsWith("#"))?"#fff":"#"+d,numberColor:u=(null==u?void 0:u.startsWith("#"))?"#000":"#"+u}};function o(){let e=!1;return!(0,a.S$s)()&&"navigator"in window&&(e=/Firefox/.test(window.navigator.userAgent)),e}function c(e){return e>1&&e<=7}function d(e,t,s){return t?e?s?.75:.25:s?1:.5:e?.5:1}},44565:(e,t,s)=>{s.d(t,{A:()=>c});var a=s(21377),i=s(55729),l=s(45860),r=s(62859),n=s(8703),o=s(30720);function c(){let{swrConfig:e,event:t,shouldFetch:s=!0,jerseyStyle:c="fancy"}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{shouldFetch:!0},d={refreshInterval:6e4,...e},{event:u}=(0,i.useContext)(r.y$),h=s?t||u:void 0,{data:f,error:p,isLoading:g}=(0,l.Ay)(h?a.bnp.lineups(h.id):null,h?(0,n.rf)(h,d):d),[m,x]=(0,o.A)(f,"home","away"),y=h?{leftJerseyUrls:{player:a.bnp.playerJersey(h.id,"home",c),goalkeeper:a.bnp.goalkeeperJersey(h.id,"home",c)},rightJerseyUrls:{player:a.bnp.playerJersey(h.id,"away",c),goalkeeper:a.bnp.goalkeeperJersey(h.id,"away",c)}}:{leftJerseyUrls:{player:"",goalkeeper:""},rightJerseyUrls:{player:"",goalkeeper:""}},[v,j]=(0,o.A)(y,"leftJerseyUrls","rightJerseyUrls");return{lineups:f?{left:m,right:x,leftJerseyUrls:v,rightJerseyUrls:j}:void 0,isLoading:g,confirmed:null==f?void 0:f.confirmed,error:p}}},44742:(e,t,s)=>{s.d(t,{A:()=>r});var a=s(6029),i=s(41735),l=s(39895);function r(e){let{colors:t}=(0,i.useTheme)();return(0,a.jsx)(l.A,Object.assign({width:"16",height:"16",viewBox:"0 0 16 16"},e,{children:(0,a.jsxs)("g",Object.assign({fill:"none",fillRule:"evenodd"},{children:[(0,a.jsx)("path",{fill:"none",d:"M0 0h16v16H0z"}),(0,a.jsx)("path",{d:"M12 9v2.25h3v1.5h-3V15h-1l-3-3 3-3h1z",fill:t.success.default}),(0,a.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})]}))}))}},45079:(e,t,s)=>{s.d(t,{A:()=>l});var a=s(6029),i=s(39895);function l(e){return(0,a.jsx)(i.A,Object.assign({width:"24",height:"24",viewBox:"0 0 24 24"},e,{children:(0,a.jsxs)("g",Object.assign({fill:"none",fillRule:"evenodd"},{children:[(0,a.jsx)("path",{fill:"none",d:"M0 0h24v24H0z"}),(0,a.jsx)("path",{d:"M10.54 8.75 9.12 13H7.54l1.92-5.75h1.79V2H10l-4.5 8 .5 7-3 5h6l2.25-4.5V8.75h-.71zM18 17l.5-7L14 2h-1.25v5.25h1.79L16.46 13h-1.58l-1.42-4.25h-.71v8.75L15 22h6l-3-5z",fill:e.fill})]}))}))}},45527:(e,t,s)=>{s.d(t,{N:()=>i,i:()=>l});var a=s(6029);let i=(0,s(55729).createContext)("left"),l=e=>{let{side:t,children:s}=e;return(0,a.jsx)(i.Provider,{value:t,children:s})}},48485:(e,t,s)=>{s.d(t,{h:()=>a});let a=({id:e,incidents:t,useShortName:s})=>t.filter(t=>{var s,a,i,l,r;return"player"in t&&(null==(s=t.player)?void 0:s.id)===e||"manager"in t&&(null==(a=t.manager)?void 0:a.id)===e||(null==(i=t.playerOut)?void 0:i.id)===e||(null==(l=t.playerIn)?void 0:l.id)===e||(null==(r=t.assist1)?void 0:r.id)===e}).reduce((t,a)=>{var i,l,r,n,o,c,d;switch(a.incidentType){case"card":switch(a.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==(i=a.player)?void 0:i.id)===e)switch(a.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==(l=a.assist1)?void 0:l.id)===e)return Object.assign(Object.assign({},t),{goalsAssisted:(t.goalsAssisted||0)+1});return t;case"substitution":if((null==(r=a.playerOut)?void 0:r.id)===e)return Object.assign(Object.assign({},t),{substitutionOut:{forPlayer:(s?null==(n=a.playerIn)?void 0:n.shortName:null==(o=a.playerIn)?void 0:o.name)||a.playerNameIn,time:a.time,isInjury:"injury"===a.incidentClass}});return Object.assign(Object.assign({},t),{substitutionIn:{forPlayer:(s?null==(c=a.playerOut)?void 0:c.shortName:null==(d=a.playerOut)?void 0:d.name)||a.playerNameOut,time:a.time,isInjury:"injury"===a.incidentClass}});default:return t}},{})},49336:(e,t,s)=>{s.d(t,{A:()=>l});var a=s(6029),i=s(39895);function l(e){return(0,a.jsx)(i.A,Object.assign({width:"24",height:"24",viewBox:"0 0 24 24"},e,{children:(0,a.jsx)("g",Object.assign({id:"Asset-Exportable/Icon/Incident/Ice-Hockey/ic_pak_autogoal",stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd"},{children:(0,a.jsxs)("g",Object.assign({id:"ic_pak_autogoal"},{children:[(0,a.jsx)("rect",{id:"Bounds",fillOpacity:"0.4",fill:e.fill,opacity:"0",x:"0",y:"0",width:"24",height:"24"}),(0,a.jsx)("path",{d:"M22.7,12.31 L20.05,7.78 C19.71,7.19 18.79,6.25 16.43,6.58 C15.99,6.64 15.5,6.76 15.01,6.91 L15.01,5 L7,5 L7,2 L6,2 L2,6 L6,10 L7,10 L7,7 L13,7 L13,7.67 C12.3,7.98 11.59,8.33 10.85,8.76 C6.33,11.37 4.24,14.23 5.4,16.24 C5.4,16.24 5.4,16.25 5.4,16.26 L8.04,20.78 C8.52,21.6 9.38,22.01 10.55,22.01 C12.19,22.01 14.45,21.22 17.16,19.65 C19.26,18.44 20.88,17.18 21.86,16 C23.38,14.17 23.03,12.9 22.69,12.3 L22.7,12.31 Z M7.13,15.24 C6.91,14.85 7.64,12.92 11.85,10.49 C14.21,9.13 15.79,8.69 16.71,8.56 C17.8,8.41 18.24,8.64 18.32,8.78 C18.4,8.91 18.36,9.38 17.68,10.19 C17.1,10.88 15.91,12 13.52,13.38 C9.25,15.84 7.34,15.6 7.13,15.23 L7.13,15.24 Z M20.34,14.73 C19.76,15.42 18.57,16.54 16.18,17.92 C11.91,20.38 10,20.14 9.79,19.77 L8.92,20.27 L9.78,19.77 L8.42,17.45 C10.01,17.31 12.08,16.53 14.52,15.12 C16.62,13.91 18.24,12.65 19.22,11.47 C19.37,11.29 19.48,11.13 19.6,10.96 L20.98,13.31 C21.09,13.49 20.93,14.01 20.34,14.72 L20.34,14.73 Z",id:"Colored-Shape",fill:e.fill})]}))}))}))}},51555:(e,t,s)=>{s.d(t,{A:()=>l});var a=s(6029),i=s(39895);function l(e){return(0,a.jsx)(i.A,Object.assign({width:"24",height:"24",viewBox:"0 0 24 24"},e,{children:(0,a.jsx)("path",{d:"m10.248 16.897 3.153 3.152-.58 1.8-.04.111c-.26.02-.52.04-.791.04-.58 0-1.141-.06-1.692-.15-.48-.08-.95-.19-1.401-.34-.951-.31-1.842-.76-2.643-1.32-.2-.141-.4-.281-.59-.441l.72-2.832-.01-.02h3.874zm8.319 1.381.79.47a10.037 10.037 0 0 1-3.763 2.572c-.52.2-1.071.37-1.632.48l.45-1.4v-.01l4.155-2.112zm-5.476-5.863 4.244.71.721 4.223-3.874 1.97-3.053-3.04 1.962-3.863zm-9.93.2 2.222 3.842-.62 2.471c-.34-.36-.66-.74-.951-1.15a10.2 10.2 0 0 1-1.382-2.761c-.13-.42-.22-.84-.3-1.281-.06-.37-.1-.74-.13-1.12h1.161zm16.997-2.25 1.752.36v.01l.09.02v1.25c0 2.221-.73 4.272-1.962 5.933l-.9-.55-.782-4.583 1.802-2.44zM5.754 8.452l4.284.01 2.142 3.412-2.012 3.962-3.884.01-2.192-3.772 1.662-3.622zm7.607-4.002 4.094 1.22 1.802 4.113-1.701 2.311-4.465-.75-2.112-3.392 2.382-3.502zm-8.959 1.03.46 2.372-1.69 3.702H2c.02-.43.07-.87.14-1.29.11-.651.29-1.282.52-1.882a9.759 9.759 0 0 1 1.742-2.901zm14.725-.5A9.985 9.985 0 0 1 21.7 9.594l-1.502-.31-1.702-3.872.631-.43zM10.8 2.07l1.651 1.82-2.382 3.513v-.02H5.854l-.55-2.822a10.008 10.008 0 0 1 5.495-2.491zM12.18 2c2.323.04 4.455.87 6.136 2.251l-.57.4-.01-.01-4.355-1.3L12.181 2z",fill:e.fill,fillRule:"evenodd"})}))}},52839:(e,t,s)=>{s.d(t,{t:()=>l,u:()=>i});var a=s(21377);let i=[a.QCR.AmericanFootball,a.QCR.Basketball,a.QCR.Handball,a.QCR.IceHockey];function l(e){switch(e){case a.QCR.AmericanFootball:return["passingTouchdowns","rushingTouchdowns","receivingTouchdowns","passingCompletionPercentage","rushingYardsPerAttempt","receivingYardsPerReception","defensiveInterceptions","defensiveTotalTackles","defensiveSacks","kickingFgMade"];case a.QCR.Basketball:return["points","rebounds","assists","steals","blocks","turnovers","fieldGoalsPercentage","threePointsPercentage"];case a.QCR.Handball:return["goals","assists","goals7m","steals","twoMinutePenalties","saves","goalkeeperEfficiencyPercentage","gk7mSaves"];case a.QCR.IceHockey:return["points","goals","assists","plusMinus","timeOnIce","blocked","hits","goalsAgainstAverage","savePercentage","shutouts"];default:return null}}},54863:(e,t,s)=>{s.d(t,{Ir:()=>a.A,ax:()=>c,rR:()=>f});var a=s(44565),i=s(21377),l=s(55729),r=s(45860),n=s(62859);function o(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,l.useContext)(n.y$),s=o(e.left.players),a=o(e.right.players),c=!!s&&!!a,{data:d}=(0,r.Ay)(c?null:i.bnp.prematchStandings(t.id));return((null==d?void 0:d.homeTeam.avgRating)||(null==d?void 0:d.awayTeam.avgRating))&&(s=null==d?void 0:d.homeTeam.avgRating,a=null==d?void 0:d.awayTeam.avgRating),[s,a]}var d=s(34765),u=s(79853),h=s(45527);function f(){let{event:e,leftTeam:t,rightTeam:s}=(0,l.useContext)(n.y$),{managers:i}=(0,u.K)(e),{lineups:r}=(0,a.A)(),{incidents:o}=(0,d.L)(),c=(0,l.useContext)(h.N);if(void 0===c)throw Error("useLineupSide must be used within a SideProvider");return"left"===c?{event:e,team:t,manager:i.leftManager,lineups:null==r?void 0:r.left,incidents:o,jersey:null==r?void 0:r.leftJerseyUrls.player,jerseyNumberColor:null==r?void 0:r.left.playerColor,startingPlayers:(null==r?void 0:r.left.players.filter(e=>!e.substitute))||[],substitutePlayers:(null==r?void 0:r.left.players.filter(e=>e.substitute))||[]}:{event:e,team:s,manager:i.rightManager,lineups:null==r?void 0:r.right,incidents:o,jersey:null==r?void 0:r.rightJerseyUrls.player,jerseyNumberColor:null==r?void 0:r.right.playerColor,startingPlayers:(null==r?void 0:r.right.players.filter(e=>!e.substitute))||[],substitutePlayers:(null==r?void 0:r.right.players.filter(e=>e.substitute))||[]}}},55217:(e,t,s)=>{s.d(t,{A:()=>l});var a=s(6029),i=s(39895);function l(e){return(0,a.jsx)(i.A,Object.assign({width:"24",height:"24",viewBox:"0 0 24 24"},e,{children:(0,a.jsx)("path",{d:"M4 2v14h16V2h2v20h-2v-4H4v4H2V2h2zm12.035 1L17.5 4.465 13.445 8.51l4.024 4.035L16.014 14 11.99 9.976 7.965 14 6.5 12.545l4.024-4.035-3.993-3.993 1.455-1.465 4.004 4.003L16.035 3z",fill:e.fill,fillRule:"evenodd"})}))}},55529:(e,t,s)=>{s.d(t,{vD:()=>r,Cy:()=>n,Xj:()=>o,uU:()=>c,WM:()=>l,fP:()=>i});var a=s(38709);let i={[a.k.Performance]:"manager.performance",[a.k.Nationality]:"nationality",[a.k.Club]:"lineups_chip_club",[a.k.Age]:"age",[a.k.MarketValue]:"market_value",[a.k.Height]:"player_height"},l=2,r={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}},n={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%"}},o={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}},c={1:{top:"-10%"},2:{top:"25%"},3:{top:"-10%"},4:{top:"55%"},5:{top:"5%"},6:{top:"60%"},7:{top:"25%"}}},55807:(e,t,s)=>{s.d(t,{A:()=>l});var a=s(6029),i=s(39895);function l(e){return(0,a.jsx)(i.A,Object.assign({width:"24",height:"24",viewBox:"0 0 24 24"},e,{children:(0,a.jsx)("path",{d:"M22 4v14h-5v2H7v-2H2V4h20zM4.24 7.63h-1.1c-.07 0-.09.03-.07.09l2 6.56c.02.07.06.1.12.1h1.83c.06 0 .1-.04.12-.1l2.01-6.56c.02-.06-.01-.09-.07-.09H8c-.06 0-.1.03-.12.09l-1.63 5.56H6L4.36 7.72c-.02-.06-.06-.09-.12-.09zm8.6 0h-1.78c-.06 0-.1.03-.12.09l-2.12 6.56c-.01.07.01.1.07.1h1.07c.06 0 .1-.04.12-.1l.46-1.46h2.78l.46 1.46c.02.07.06.1.12.1h1.09c.07 0 .09-.04.07-.1l-2.1-6.56c-.02-.06-.06-.09-.12-.09zm5.84 0h-2.81c-.07 0-.1.03-.1.09v6.56c0 .07.04.1.1.1h1.03c.07 0 .1-.04.1-.1v-2.6h1.49l1.01 2.61c.02.06.06.09.13.09h1.08c.06 0 .09-.03.06-.09l-.01.01-1.09-2.77c.42-.21.73-.45.92-.73.23-.33.34-.74.34-1.22 0-.42-.1-.77-.29-1.06-.19-.29-.45-.51-.79-.66-.34-.15-.73-.23-1.17-.23zm-6.64 1.18.91 2.87h-2.06l.91-2.87h.24zm6.53-.04c.36 0 .63.07.82.21.2.14.29.34.29.61 0 .31-.08.54-.25.71-.17.17-.41.25-.72.25h-1.72V8.77z",fill:e.fill,fillRule:"evenodd"})}))}},56008:(e,t,s)=>{s.d(t,{A:()=>r});var a=s(6029),i=s(21377),l=s(65789);function r(){return(0,a.jsxs)(l.Zp,{children:[(0,a.jsx)(l.Zp.Header,{titleId:"top_players",values:{gender:i.YT8.Male}}),(0,a.jsx)("div",{style:{height:780}})]})}},57773:(e,t,s)=>{s.d(t,{A:()=>r});var a=s(6029),i=s(41735),l=s(39895);function r(e){let{colors:t}=(0,i.useTheme)();return(0,a.jsx)(l.A,Object.assign({width:"16",height:"16",viewBox:"0 0 16 16"},e,{children:(0,a.jsxs)("g",Object.assign({fill:"none",fillRule:"evenodd"},{children:[(0,a.jsx)("path",{fill:"none",d:"M0 0h16v16H0z"}),(0,a.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,a.jsx)("path",{d:"M11 9v2.25H8v1.5h3V15h1l3-3-3-3h-1z",fill:t.error.default})]}))}))}},58991:(e,t,s)=>{s.d(t,{A:()=>f});var a=s(6029),i=s(25635),l=s(48485),r=s(99064),n=s(55729),o=s(90248),c=s(65789),d=s(82707),u=s(84942),h=s(73488);function f(e){let{manager:t,incidents:s,isBorderHidden:f,isCard:p=!1}=e,g=(0,u.z)(t),m=(0,n.useMemo)(()=>s?(0,l.h)({id:t.id,incidents:s}):{},[t,s]);return(0,a.jsx)(d.yI,{manager:t,style:{width:"100%"},children:(0,a.jsx)(c.HH,{isInverseDesktop:!0,isCard:!!p,children:(0,a.jsxs)(r.so,{children:[(0,a.jsx)(r.az,{px:"lg",py:"sm",children:(0,a.jsx)(i.d,{size:40,id:t.id,name:g})}),(0,a.jsx)(r.so,{borderBottom:f?void 0:"onSurface.nLv4",align:"center",flex:"1 1 auto",mr:"lg",children:(0,a.jsxs)(r.az,{flex:"1 1 auto",children:[(0,a.jsx)(r.so,{title:g,align:"center",children:(0,a.jsxs)(r.EY,{font:"body.medium",color:"onSurface.nLv1",mr:"xs",children:[(0,a.jsx)(r.az,{as:"span",mr:"xs",children:g}),m&&(0,a.jsx)(h.AG,{...m})]})}),(0,a.jsx)(r.EY,{font:"assistive.default",color:"primary.default",mr:"xxs",children:(0,a.jsx)(o.A,{id:"manager"})})]})})]})})})}},59395:(e,t,s)=>{s.d(t,{A:()=>l});var a=s(6029),i=s(39895);function l(e){return(0,a.jsx)(i.A,Object.assign({width:"16",height:"16",viewBox:"0 0 16 16"},e,{children:(0,a.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"})}))}},61185:(e,t,s)=>{s.d(t,{A:()=>d});var a=s(6029),i=s(33144),l=s(21377),r=s(76356),n=s(55729),o=s(62859);function c(e){let{team:t,side:s,activeTeam:l,isBackgroundInverse:o,onTeamClick:c}=e,d=(0,n.useCallback)(()=>c(s),[c,s]),u=l===s;return(0,a.jsx)(r.ov,{h:"2xl",flexGrow:1,userSelect:"none",bg:u?"primary.highlight":o?"surface.s1":"surface.s2",br:"sm",onClick:d,cursor:"pointer",children:(0,a.jsx)(i.p,{size:24,id:t.id,name:t.name})})}function d(e){let{activeTeam:t,isBackgroundInverse:s,onTeamClick:i,...d}=e,{leftTeam:u,rightTeam:h}=(0,n.useContext)(o.y$);return(0,a.jsxs)(r.so,{justify:"space-between",gap:"lg",...d,children:[(0,a.jsx)(c,{team:u,side:l.cxP.Left,activeTeam:t,onTeamClick:i,isBackgroundInverse:s}),(0,a.jsx)(c,{team:h,side:l.cxP.Right,activeTeam:t,onTeamClick:i,isBackgroundInverse:s})]})}},61390:(e,t,s)=>{s.d(t,{A:()=>r});var a=s(90142),i=s(6029),l=s(39895);function r(e){var{fill:t="error.default"}=e,s=(0,a.T)(e,["fill"]);return(0,i.jsx)(l.A,Object.assign({width:24,height:24,fill:t,viewBox:"0 0 24 24"},s,{children:(0,i.jsx)("g",Object.assign({fill:"none",fillRule:"evenodd"},{children:(0,i.jsx)("path",{d:"M4 2v14h16V2h2v20H2V2h2zm10 7 3 2v4H7v-4l3-2h4zm-2-7a3 3 0 1 1 0 6 3 3 0 0 1 0-6z"})}))}))}},61848:(e,t,s)=>{s.d(t,{A:()=>l});var a=s(6029),i=s(39895);function l(e){return(0,a.jsx)(i.A,Object.assign({width:"24",height:"24",viewBox:"0 0 24 24"},e,{children:(0,a.jsxs)("g",Object.assign({fill:e.fill,fillRule:"evenodd"},{children:[(0,a.jsx)("path",{d:"M20 2v14H4V2H2v20h2v-4h16v4h2V2z"}),(0,a.jsx)("path",{d:"m9.974 12.638.667-1.58 4.412-4.412 1.747-.708 1.147-.12c.018-.168.036-.336.042-.504.06-1.261-.114-2.09-.589-2.654l-.06-.06c-.696-.588-1.735-.63-2.653-.588-.174.006-.342.03-.51.048l-.157 1.315-.666 1.578-4.412 4.413-1.747.708-1.141.12c-.018.168-.036.33-.042.505-.006.162-.012.312-.012.468 0 1.02.186 1.699.6 2.191l.06.06c.703.588 1.741.624 2.66.588.174-.006.342-.03.51-.048l.156-1.314-.012-.006zM6.978 8.886l1.28-.54 4.081-4.083.54-1.279.079-.738a9.147 9.147 0 0 0-4.323 2.377 9.14 9.14 0 0 0-2.395 4.34l.738-.077zM17.016 7.12l-1.279.54-4.076 4.076-.54 1.279-.078.738a9.194 9.194 0 0 0 4.328-2.377 9.133 9.133 0 0 0 2.39-4.334l-.739.078h-.006z"})]}))}))}},62283:(e,t,s)=>{s.d(t,{A:()=>a});var a={onColor:{primary:"var(--on-color-primary)"},onSurface:{nLv1:"var(--on-surface-nLv1)"},social:{facebook:"var(--social-facebook)"},editor:{pink:"var(--editor-pink)"}}},63296:(e,t,s)=>{s.d(t,{x:()=>o});var a=s(83217),i=s(60449),l=s.n(i);s(82823);let r={xxs:"2px",xs:"4px",sm:"8px",md:"12px",lg:"16px",xl:"24px",xxl:"32px"},n=e=>"string"==typeof e?e.split(" ").map(e=>l()(r,e,e)).join(" "):e,o=(0,a.n)({h:{property:"height",domain:"spacing"},maxH:{property:"maxHeight",domain:"spacing"},minH:{property:"minHeight",domain:"spacing"},w:{property:"width",domain:"spacing"},maxW:{property:"maxWidth",domain:"spacing"},minW:{property:"minWidth",domain:"spacing"},m:{property:"margin",domain:"spacing",transform:n},mt:{property:"marginTop",domain:"spacing"},mb:{property:"marginBottom",domain:"spacing"},ml:{property:"marginLeft",domain:"spacing",rtlProperty:"marginRight"},mr:{property:"marginRight",domain:"spacing",rtlProperty:"marginLeft"},mx:{properties:["marginLeft","marginRight"],domain:"spacing"},my:{properties:["marginTop","marginBottom"],domain:"spacing"},p:{property:"padding",domain:"spacing",transform:n},pt:{property:"paddingTop",domain:"spacing"},pb:{property:"paddingBottom",domain:"spacing"},pl:{property:"paddingLeft",domain:"spacing",rtlProperty:"paddingRight"},pr:{property:"paddingRight",domain:"spacing",rtlProperty:"paddingLeft"},px:{properties:["paddingLeft","paddingRight"],domain:"spacing"},py:{properties:["paddingTop","paddingBottom"],domain:"spacing"}})},63788:(e,t,s)=>{s.d(t,{A:()=>r});var a=s(90142),i=s(6029),l=s(39895);function r(e){var{fill:t="primary.default"}=e,s=(0,a.T)(e,["fill"]);return(0,i.jsx)(l.A,Object.assign({width:"24",height:"24",viewBox:"0 0 24 24",fill:t},s,{children:(0,i.jsxs)("g",Object.assign({fill:"none",fillRule:"evenodd"},{children:[(0,i.jsx)("path",{d:"M7 7h10v3h1l4-4-4-4h-1v3H7L5 7v5h2V7zm0 7H6l-4 4 4 4h1v-3h5v-2H7v-3z",fill:t}),(0,i.jsx)("path",{fill:"#C7361F",d:"M22 17h-3v-3h-2v3h-3v2h3v3h2v-3h3z"})]}))}))}},65549:(e,t,s)=>{s.d(t,{A:()=>l});var a=s(6029),i=s(39895);function l(e){return(0,a.jsx)(i.A,Object.assign({width:"24",height:"24",viewBox:"0 0 24 24"},e,{children:(0,a.jsx)("path",{d:"m21.69 9.499-3-5.13c-.37-.64-1.38-1.66-3.97-1.29-1.75.25-3.92 1.1-6.26 2.45-5.04 2.91-7.39 6.08-6.12 8.29 0 0 0 .01.01.02l2.99 5.12c.51.87 1.44 1.3 2.73 1.3 1.84 0 4.4-.89 7.41-2.63 2.36-1.36 4.19-2.78 5.28-4.1 1.67-2.01 1.3-3.39.93-4.03zm-17.62 3.31c-.37-.64.84-2.92 5.39-5.55 2.68-1.55 4.5-2.05 5.55-2.2 1.21-.17 1.81.06 1.96.31.14.24.03.83-.74 1.75-.66.79-2.02 2.07-4.75 3.64-4.82 2.78-7.11 2.57-7.41 2.05zm15.16-.56c-.66.79-2.02 2.07-4.75 3.64-4.82 2.78-7.11 2.57-7.41 2.05l-.87.5.86-.5-1.65-2.83c1.81-.1 4.24-.98 7.07-2.62 2.36-1.36 4.19-2.78 5.28-4.1.21-.25.39-.5.54-.73l1.66 2.84c.14.24.03.83-.74 1.75h.01z",fill:e.fill,fillRule:"evenodd"})}))}},67717:(e,t,s)=>{s.d(t,{n:()=>a.A});var a=s(61185)},67996:(e,t,s)=>{s.d(t,{A:()=>r});var a=s(6029),i=s(41735),l=s(39895);function r(e){let t=(0,i.useTheme)();return(0,a.jsx)(l.A,Object.assign({width:24,height:24,viewBox:"0 0 24 24"},e,{children:(0,a.jsxs)("g",Object.assign({fill:"none",fillRule:"evenodd"},{children:[(0,a.jsx)("path",{d:"m21.746 13.238-2.37-4.092c-.303-.533-1.125-1.382-3.235-1.084a8.223 8.223 0 0 0-1.27.298c-.291.09-.89.32-1.796.686-.626.28-1.26.597-1.922.985-4.04 2.358-5.908 4.941-4.871 6.757v.018l2.36 4.083C9.07 21.629 9.839 22 10.885 22c1.466 0 3.486-.714 5.909-2.132 1.877-1.093 3.325-2.231 4.2-3.297 1.36-1.653 1.047-2.8.743-3.342l.009.009zM7.828 15.885c-.196-.353.456-2.096 4.22-4.291 2.109-1.229 3.521-1.626 4.343-1.744.975-.135 1.368.073 1.44.2.071.117.035.541-.573 1.273-.518.623-1.582 1.635-3.718 2.881-3.817 2.223-5.524 2.006-5.712 1.671v.01zm11.808-.461c-.518.623-1.582 1.635-3.718 2.881-3.817 2.223-5.524 2.006-5.712 1.672l-.778.451.769-.451-1.216-2.096c1.422-.127 3.272-.831 5.453-2.105 1.877-1.093 3.325-2.231 4.2-3.297.135-.163.233-.307.34-.46l1.234 2.122c.098.163-.045.632-.572 1.274v.009z",fill:t.colors.secondary.default}),(0,a.jsx)("g",Object.assign({fill:t.colors.error.default,fillRule:"nonzero"},{children:(0,a.jsx)("path",{d:"M1.001 5.845C1.164 7.263 2.198 8 3.721 8c1.542 0 2.614-.89 2.614-2.145 0-1.207-.67-1.886-2.566-2.001-1.053-.067-1.37-.345-1.37-.872 0-.479.422-.852 1.14-.852.795 0 1.283.364 1.37.948.009.057.047.096.105.096h1.091c.058 0 .096-.039.087-.096C6.029 1.795 5.062 1 3.558 1c-1.379 0-2.403.824-2.403 2.01 0 1.39.986 1.868 2.509 1.954.995.058 1.407.336 1.407.939 0 .584-.488.967-1.34.967-.766 0-1.36-.345-1.446-1.025-.01-.057-.048-.095-.106-.095H1.088c-.058 0-.096.038-.087.095zM7.312 7.808c0 .058.038.096.096.096h1.034c.057 0 .096-.038.096-.096V4.974h3.016v2.834c0 .058.038.096.096.096h1.034c.058 0 .096-.038.096-.096V1.192c0-.058-.038-.096-.096-.096H11.65c-.058 0-.096.038-.096.096v2.633H8.538V1.192c0-.058-.039-.096-.096-.096H7.408c-.058 0-.096.038-.096.096v6.616z"})}))]}))}))}},71306:(e,t,s)=>{s.d(t,{A:()=>n,I:()=>r});var a=s(55729),i=s(48886),l=s(99586);let r=(e,t)=>{let s=t.short||e.stat.short;return s&&t.short===e.stat.short||!s&&e.stat.value===t.value?{stat:e.stat,dir:e.dir===i.U.DESC?i.U.ASC:i.U.DESC}:{stat:t,dir:i.U.DESC}},n=(e,t,s)=>{let[n,o]=(0,a.useState)({stat:t,dir:i.U.DESC}),c=(0,l.C)(e,n,t,s),d=(0,a.useCallback)(e=>{o(t=>r(t,e))},[]);return{sortConfig:n,setSortConfig:o,sortedPlayers:c,updateSortStatistic:d}}},72745:(e,t,s)=>{s.d(t,{A:()=>M});var a=s(6029),i=s(99064),l=s(41735),r=s(42181),n=s(86890),o=s(21377),c=s(59395),d=s(5173),u=s(90142),h=s(39895);function f(e){var{fill:t="primary.default"}=e,s=(0,u.T)(e,["fill"]);return(0,a.jsxs)(h.A,Object.assign({width:"12",height:"12",viewBox:"0 0 12 12",fill:t},s,{children:[(0,a.jsxs)("g",Object.assign({"clip-path":"url(#clip0_7324_19939)"},{children:[(0,a.jsx)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M8.25 3.45V5.25H9L11.25 3L9 0.75H8.25V2.55",fill:"#A4A9B3"}),(0,a.jsx)("path",{d:"M3.5625 5.25H2.4375V2.4375H8.25V3.5625H3.5625V5.25Z",fill:"#A4A9B3"}),(0,a.jsx)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M3.75 8.55V6.75H3L0.75 9L3 11.25H3.75V9.45",fill:"#C7361F"}),(0,a.jsx)("path",{d:"M9.5625 9.5625H3.75V8.4375H8.4375V6.75H9.5625V9.5625Z",fill:"#C7361F"})]})),(0,a.jsx)("defs",{children:(0,a.jsx)("clipPath",Object.assign({id:"clip0_7324_19939"},{children:(0,a.jsx)("rect",{width:"10.5",height:"10.5",fill:"white",transform:"translate(0.75 0.75)"})}))})]}))}var p=s(39169),g=s(11663),m=s(13429);let x=({incident:e,isNumber:t})=>(0,a.jsx)(i.so,Object.assign({br:"50%",backgroundColor:t?e.color:"onColor.primary",border:t?"onColor.primary":"neutral.highlight",h:"16px",w:"16px",justify:"center",align:"center",className:"light"},{children:t?(0,a.jsx)(i.EY,Object.assign({font:"display.micro",lineHeight:"14px",fontWeight:700,color:"onColor.primary"},{children:e.count})):"matchMVP"===e.name?(0,a.jsx)(p.default,{w:12,h:12,fill:e.color}):"goalAssist"===e.name?(0,a.jsx)(c.A,{w:12,h:12,fill:e.color}):"goal"===e.name&&("regular"===e.icon||"penalty"===e.icon)?(0,a.jsx)(d.A,{w:12,h:12,fill:e.color}):"substitution"===e.name?"injury"===e.icon?(0,a.jsx)(g.A,{w:12,h:12,fill:e.color,style:{transform:"scaleX(-1)"}}):(0,a.jsx)(f,{}):e.icon&&(0,a.jsx)(m.A,{sport:o.QCR.Football,incidentType:e.name,incidentClass:e.icon,svgProps:{width:13,height:13}})}));function y({alignment:e,incidents:t,compactDisplay:s}){return(0,a.jsx)(i.so,Object.assign({w:"right"===e?void 0:"16px",h:"50px",position:"relative",direction:"column",maxW:"22px",minW:"16px",gap:"1px"},{children:t.map(t=>t.isVisible?(0,a.jsxs)(i.so,Object.assign({align:"center"},{children:[(0,a.jsx)(x,{incident:t}),"right"===e&&t.count&&t.count>=2&&(0,a.jsx)(i.so,Object.assign({position:"absolute",gap:"1px",left:s?"1px":"8px"},{children:(0,a.jsx)(x,{incident:t,isNumber:!0})}))]}),t.name):(0,a.jsx)(i.az,{h:16},t.name))}))}var v=s(25766),j=s(93338),b=s(48485);s(64082),s(21501),s(55729),s(16007),s(47177),s(97824),s(83204);var w=s(19991);function C({player:e,incidents:t,isMatchMVP:s,lineupsType:l,compactDisplay:r}){let{playerLeftStatistics:n,playerRightStatistics:o}=function(e,t,s){var a,i,l;let r=t?(0,b.h)({id:e.player.id,incidents:t,useShortName:!0}):{},n=r.hasYellowCard||r.hasYellowRedCard||r.hasRedCard,o={name:"card",icon:r.hasYellowRedCard?"yellowRed":r.hasRedCard?"red":"yellow",color:r.hasYellowRedCard?void 0:r.hasRedCard?j.S.var("colors.status.error.default"):j.S.var("colors.rating.s65"),isVisible:!!n},c={name:"substitution",icon:(null==(a=r.substitutionOut)?void 0:a.isInjury)?"injury":"regular",isVisible:!!r.substitutionOut,color:(null==(i=r.substitutionOut)?void 0:i.isInjury)?j.S.var("colors.status.error.default"):void 0},d={name:"goal",icon:r.goalsScored===r.penaltiesScored&&r.hasScoredPenalty?"penalty":"regular",count:r.goalsScored,color:j.S.var("colors.surface.t"),isVisible:!!r.goalsScored},u={name:"goalAssist",icon:"football-assist",count:r.goalsAssisted,color:j.S.var("colors.surface.t"),isVisible:!!r.goalsAssisted},h={name:"goal",icon:"ownGoal",count:r.ownGoalsScored,color:j.S.var("colors.status.error.default"),isVisible:!!r.ownGoalsScored};return{playerLeftStatistics:[o,c,{name:"matchMVP",color:(0,w.Et)(null==(l=e.statistics)?void 0:l.rating),isVisible:!!s}],playerRightStatistics:[d,u,h]}}(e,t,s);return(0,a.jsx)(a.Fragment,{children:(0,a.jsxs)(i.so,Object.assign({w:"100%",h:"100%",px:r?void 0:"3px",position:"absolute",justify:l===v.V.Confirmed?"space-between":"flex-start"},{children:[n&&(0,a.jsx)(y,{alignment:"left",incidents:n}),l===v.V.Confirmed&&o&&(0,a.jsx)(y,{alignment:"right",incidents:o,compactDisplay:r})]}))})}s(52462);var _=s(91407);let S=({player:e,event:t,isMatchMVP:s,incidents:l,chipType:r,lineupsType:n,numberOfPlayersInRow:o,hasRating:c,getPlayerCharacteristicLabel:d=()=>null,getTranslatedPlayerName:u=e=>e.player.shortName})=>{var h;let{mediaBreakpoint:f,isDesktopMedium:p}=(0,i.$c)(),g=r===v.k.Performance,m=(null==l?void 0:l.filter(t=>{var s;return(null==(s=null==t?void 0:t.player)?void 0:s.id)===e.player.id&&("red"===t.incidentClass||"yellowRed"===t.incidentClass)}).length)!==0&&g;return(0,a.jsxs)(i.so,Object.assign({direction:"column",align:"center"},{children:[(0,a.jsxs)(i.so,Object.assign({position:"relative",direction:"column",justify:"center",align:"center",w:"100%",h:"100%",maxW:"68px",maxH:"52px"},{children:[(0,a.jsx)(i.az,Object.assign({w:"40px",h:"40px",br:"50%",bg:"surface.s0"},{children:(0,a.jsx)(_.t,{size:40,id:null==(h=e.player)?void 0:h.id,style:{opacity:m?.5:1}})})),g&&(0,a.jsx)(C,{player:e,incidents:l,isMatchMVP:s,lineupsType:n,compactDisplay:p||"xxs"===f&&5===o}),d({player:e,event:t,chipType:r,lineupsType:n,hasRating:c})]})),u(e)]}))};function M({teamSide:e,playerFormation:t,incidents:s,playerOfTheMatchId:o,playerCharacteristic:c,lineupsType:d,isHorizontalLayout:u,event:h,hasRatings:f,order:p,getPlayerCharacteristicLabel:g,getTranslatedPlayerName:m,onPlayerClick:x}){let y="rtl"===(0,l.useTheme)().settings.textDirection,{mediaBreakpoint:v,isDesktopMedium:j}=(0,i.$c)(),b=j||"xxs"===v&&5===t.length;return(0,a.jsxs)(r.XF,Object.assign({side:e,isHorizontalLayout:u,mx:u?0:"sm",order:p},{children:[(0,a.jsx)(r.mi,Object.assign({side:e,isHorizontalLayout:u},{children:t.map((l,r)=>{let n=u?e===(y?"left":"right")?"column":"column-reverse":e===(y?"right":"left")?"row":"row-reverse";return(0,a.jsx)(i.so,Object.assign({flex:"1 1 auto",align:"center",justify:"space-evenly",direction:n},{children:(0,a.jsx)(i.so,Object.assign({w:u?void 0:"100%",h:u?"100%":void 0,justify:"space-evenly",direction:n},{children:l.map(e=>(0,a.jsx)(i.so,Object.assign({direction:"column",justify:"flex-start",align:"center",flex:"1 1 100%",w:b?"60px":void 0,maxW:[112,5===t.length?86:108],minW:"60px",maxH:"76px",pt:u?0:"6px",cursor:e.player.disabled?"not-allowed":"pointer",onClick:()=>{x&&x(e)}},{children:(0,a.jsx)(i.az,Object.assign({w:"100%"},{children:(0,a.jsx)(S,{player:e,isMatchMVP:e.player.id===o,incidents:s,chipType:c,lineupsType:d,numberOfPlayersInRow:l.length,event:h,hasRating:!!f,getPlayerCharacteristicLabel:g,getTranslatedPlayerName:m},e.player.id)}))}),e.player.id))}))}),r)})})),(0,a.jsx)(n.A,{side:e,linesColor:r.ob,isHorizontalLayout:u})]}))}},73488:(e,t,s)=>{s.d(t,{AG:()=>o,FU:()=>n,X0:()=>c});var a=s(6029),i=s(99064),l=s(54409),r=s(83616);let n=e=>{let{isInjury:t}=e;return t?(0,a.jsx)(l.NcS,{icon:"substitution-injured"}):(0,a.jsx)(l.NcS,{icon:"substitution"})},o=e=>{let{hasYellowCard:t,hasRedCard:s,hasYellowRedCard:i}=e;return i?(0,a.jsx)(l.NcS,{icon:"card-double-yellow",width:"16",height:"16"}):s?(0,a.jsx)(l.NcS,{icon:"card",width:"16",height:"16",fill:"error.default"}):t?(0,a.jsx)(l.NcS,{icon:"card",width:"16",height:"16",fill:"scoreRating.s65"}):null},c=e=>{let{goalsScored:t,hasScoredPenalty:s,hasScoredOwnGoal:n,inField:o}=e;if(n&&!t)return(0,a.jsx)(l.NcS,{icon:"football-own-goal",width:"16",height:"16",fill:"error.default"});if(s&&1===t)return(0,a.jsx)(l.NcS,{icon:"football-penalty",width:"16",height:"16",fill:"secondary.default"});if(t){if(o){let e=t>1;return(0,a.jsxs)(i.az,{position:"relative",left:e?"6":void 0,ml:"xxs",children:[e&&(0,a.jsx)(i.EY,{font:"table.small",color:"secondary.default",position:"relative",children:t}),(0,a.jsx)(r.M,{incidentType:"goal",incidentClass:"regular",svgProps:{fill:"secondary.default",width:16,height:16}})]})}return(0,a.jsx)(i.az,{position:"relative",ml:"xxs",children:Array(t).fill(0).map((e,t)=>(0,a.jsx)(r.M,{incidentType:"goal",incidentClass:"regular",svgProps:{fill:"secondary.default",width:16,height:16}},"goal-".concat(t)))})}return null}},75341:(e,t,s)=>{s.d(t,{A:()=>l});var a=s(6029),i=s(39895);function l(e){return(0,a.jsx)(i.A,Object.assign({width:"24",height:"24",viewBox:"0 0 24 24"},e,{children:(0,a.jsx)("path",{d:"m8.62 19.72 1.11-2.63 7.35-7.35 2.91-1.18 1.91-.2c.03-.28.06-.56.07-.84.1-2.1-.19-3.48-.98-4.42l-.1-.1c-1.16-.98-2.89-1.05-4.42-.98-.29.01-.57.05-.85.08l-.26 2.19-1.11 2.63-7.35 7.35-2.91 1.18-1.9.2c-.03.28-.06.55-.07.84-.01.27-.02.52-.02.78 0 1.7.31 2.83 1 3.65l.1.1C4.27 22 6 22.06 7.53 22c.29-.01.57-.05.85-.08l.26-2.19-.02-.01zm-4.99-6.25 2.13-.9 6.8-6.8.9-2.13.13-1.23c-2.7.63-5.15 1.97-7.2 3.96C4.37 8.44 3.03 10.9 2.4 13.6l1.23-.13zm16.72-2.94-2.13.9-6.79 6.79-.9 2.13-.13 1.23c2.7-.63 5.15-1.97 7.21-3.96 2.01-2.06 3.35-4.52 3.98-7.22l-1.23.13h-.01z",fill:e.fill,fillRule:"evenodd"})}))}},77749:(e,t,s)=>{s.d(t,{A:()=>o});var a=s(90142),i=s(6029),l=s(55729),r=s(41735),n=s(39895);function o(e){var{fill:t}=e,s=(0,a.T)(e,["fill"]);let o=(0,l.useContext)(r.ThemeContext);return(0,i.jsx)(n.A,Object.assign({width:"24",height:"24",viewBox:"0 0 24 24"},s,{children:(0,i.jsxs)("g",Object.assign({fill:"none",fillRule:"evenodd"},{children:[(0,i.jsx)("path",{d:"M7 7v12h8v3H4V7h3z",fill:o.colors.scoreRating.s65}),(0,i.jsx)("path",{fill:o.colors.error.default,d:"M9 2h11v15H9z"})]}))}))}},78944:(e,t,s)=>{s.d(t,{H7:()=>f,q6:()=>h});var a=s(6029),i=s(55729),l=s(947),r=s(90248),n=s(62859);let o=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","minor":"penalty_minor","major":"penalty_major","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"},"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"}');var c=s(27892);let d="DEFAULT",u=(e,t)=>(0,c.O)(o,e,t,d),h=(e,t,s)=>{let a=u(t?"".concat(e,".").concat(t):e,s);return a!==d||t&&(a=u(t,s))!==d?a:(a=u(e,s))!==d?a:void 0},f=e=>{let{id:t}=e,s=(0,l.A)(),o=u(t,(0,i.useContext)(n.Ws));if(o!==d)return(0,a.jsx)(r.A,{id:o});let c=s.formatMessage({id:t});return c!==t?(0,a.jsx)(a.Fragment,{children:c}):null}},79377:(e,t,s)=>{s.d(t,{Ko:()=>N});var a=s(6029),i=s(38709),l=s(4967),r=s(99064),n=s(90248),o=s(12047),c=s(55529);function d(e){let{isNational:t,eventTimestamp:s,isHorizontalLayout:d,onTabChange:u,order:h}=e,f=(0,o.Ay)({isSportMenuVisible:!0,isInMobileTabs:!0}),p=1>(0,l.CF)(s),g=Object.values(i.k).filter(e=>(e!==i.k.MarketValue||!!p)&&(t?e!==i.k.Nationality:e!==i.k.Club));return(0,a.jsxs)(r.PI,{px:[0,"sm"],top:f,w:"100%",order:h,zIndex:r.Py.Sticky-1,bg:"surface.s1",children:[(0,a.jsx)(r.tU,{variant:"quaternary",initialValue:i.k.Performance,onChange:u,children:(0,a.jsx)(r.tU.List,{px:d?void 0:"xs",py:"sm",children:g.map(e=>(0,a.jsx)(r.tU.Tab,{tabKey:e,children:(0,a.jsx)(n.A,{id:c.fP[e]})},"tab-".concat(e)))})}),!d&&(0,a.jsx)(r.cG,{})]})}var u=s(25766),h=s(94400),f=s(91603),p=s(21377),g=s(55729),m=s(41735),x=s(56602),y=s(34851),v=s(3518),j=s(85685),b=s(94604);let w=function(){let[e,t]=(0,g.useState)(320);return(0,g.useEffect)(()=>{t(window.innerWidth);let e=()=>t(window.innerWidth);return window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]),e};function C(e){let{team:t,avgRating:s,teamSide:i,formation:l,jersey:o,isNotStarted:c,avgMessageId:d,avgData:C,chipType:_,isHorizontalLayout:S,order:M}=e,k=[u.k.Age,u.k.MarketValue,u.k.Height].includes(_)&&C,H=w(),z="rtl"===(0,g.useContext)(m.ThemeContext).settings.textDirection;return(0,a.jsx)(r.az,{w:"100%",h:"72px",maxH:"82px",br:[void 0,"lg"],flex:S?"1 1 45%":"1 1 100%",m:S?"left"===i?z?"0 sm sm xs":"0 xs sm sm":z?"0 xs sm sm":"0 sm sm xs":void 0,p:S?"0 sm":"sm sm",order:M,children:(0,a.jsxs)(r.so,{w:"100%",h:"100%",justify:"space-between",align:"center",direction:"left"!==i&&S?"row-reverse":"row",children:[(0,a.jsxs)(r.so,{h:"100%",align:"center",direction:"left"!==i&&S?"row-reverse":"row",children:[H>360&&!S&&(0,a.jsx)(f.p,{id:t.id,size:32,m:"left"===i?"0 sm 0 0":"0 0 0 sm"}),(0,a.jsxs)(r.so,{direction:"column",gap:"xs",align:"left"!==i&&S?"flex-end":"flex-start",ml:"sm",children:[(0,a.jsxs)(r.so,{gap:"sm",align:"center",h:"100%",grow:1,children:[(0,a.jsx)(r.EY,{font:"display.medium",lineHeight:"20px",lineClamp:2,children:(0,a.jsx)(b.Rm,{team:t,short:!0})}),s&&(0,a.jsxs)(r.so,{align:"center",h:"100%",children:[(0,a.jsx)(h.A,{rating:s,format:"sideBox"}),(0,a.jsx)(x.D,{type:c?y.J.AverageRatingTeam:y.J.AverageRating,rating:s,renderImage:e=>(0,a.jsx)(f.p,{id:t.id,...e})})]})]}),k&&(0,a.jsxs)(r.so,{direction:"row",justify:"left"!==i&&S?"flex-end":"flex-start",align:"center",wrap:"wrap",children:[(0,a.jsxs)(r.EY,{font:"body.small",lineHeight:"16px",color:"onSurface.nLv3",children:[(0,a.jsx)(n.A,{id:d})," • "]}),"\xa0",(0,a.jsx)(r.EY,{font:"display.micro",fontWeight:700,lineHeight:"14px",children:_===u.k.Age?(0,a.jsxs)(a.Fragment,{children:[C," ",(0,a.jsx)(n.A,{id:"years_short",values:{n:Math.round("number"==typeof C?C:C.value)}})]}):_===u.k.MarketValue?(0,a.jsx)(j.o,{parsedMoney:(0,p.oaz)(C)}):_===u.k.Height?(0,a.jsx)(v.Z,{value:C,fromUnit:"cm"}):void 0})]})]})]}),(0,a.jsxs)(r.so,{minW:"56px",w:"56px",direction:"column",justify:"center",align:"center",m:"xs",children:[(0,a.jsx)(r.EY,{font:"display.small",color:"onSurface.nLv1",children:l}),(0,a.jsx)(r.so,{w:"36px",h:"36px",br:"sm",backgroundColor:"neutral.highlight",justify:"center",align:"center",children:(0,a.jsx)(r._V,{w:"28px",h:"32px",src:o,alt:"Team jersey"})})]})]})})}function _(e){let{eventStatus:t,isConfirmed:s,shareButton:i,order:l}=e;return[p.XUj.Finished,p.XUj.InProgress].includes(t)?null:(0,a.jsxs)(r.so,{order:l,pt:"md",pb:"xs",px:"sm",w:"100%",justify:[i?"space-between":"center","space-between"],align:"center",children:[(0,a.jsx)(r.EY,{font:"display.medium",lineHeight:"24px",children:(0,a.jsx)(n.A,{id:s?"football_confirmed_lineups":"football_possible_lineups"})}),i]})}var S=s(72745),M=s(89875),k=s(81278),H=s(62859),z=s(16620),A=s(48886),L=s(26331),O=s(73088),P=s(61836),V=s(87827);let I=e=>{var t;let{player:s,rating:i}=e;return(0,a.jsx)(r.so,{position:"absolute",top:"33px",children:(0,a.jsx)(V.G,{rating:i,format:"box",decimalPoints:(null==(t=s.statistics)?void 0:t.rating)?void 0:2,size:"sm",isOnColor:!0})})};var R=s(53192);let T=e=>{var t,s;let{chipType:i,player:l}=e,n=null==(s=l.player)||null==(t=s.country)?void 0:t.alpha2;return(0,a.jsxs)(r.so,{p:"xxs",br:"xxs",bg:"onColor.primary",elevation:2,justify:"center",align:"center",position:"absolute",top:"31px",children:[i===u.k.Club&&(0,a.jsx)(f.p,{id:l.teamId,size:16}),i===u.k.Nationality&&(n?(0,a.jsx)(R.w,{alpha2:n,size:16}):(0,a.jsx)(r.az,{w:"lg",h:"lg",bg:"neutral.default",br:"50%"}))]})};var E=s(19558);function B(e){let{player:t,event:s,chipType:o,lineupsType:c,hasRating:d}=e,u=(0,E.lV)(t,c),h=(()=>{var e,s,a;switch(o){case i.k.Age:return null==(e=t.player)?void 0:e.dateOfBirthTimestamp;case i.k.MarketValue:return null==(s=t.player)?void 0:s.proposedMarketValueRaw;case i.k.Height:return null==(a=t.player)?void 0:a.height;default:return}})();return o===i.k.Performance?d?(0,a.jsx)(I,{player:t,rating:u}):null:[i.k.Club,i.k.Nationality].includes(o)?(0,a.jsx)(T,{chipType:o,player:t}):(0,a.jsx)(r.so,{border:"onColor.primary",minW:"24px",maxH:"16px",justify:"center",align:"center",px:"xs",bg:"surface.s1",position:"absolute",top:"34px",children:(0,a.jsx)(r.EY,{font:"assistive.default",lineHeight:"16px",color:h?void 0:"onSurface.nLv3",style:{textWrap:"nowrap"},children:h?(0,a.jsxs)(a.Fragment,{children:[o===i.k.Age&&(0,a.jsxs)(a.Fragment,{children:[(0,l.Dr)(h,s.startTimestamp)," ",(0,a.jsx)(n.A,{id:"years_shorter",values:{n:(0,l.Dr)(h,s.startTimestamp)}})]}),o===i.k.MarketValue&&(0,a.jsx)(j.o,{parsedMoney:(0,p.oaz)(h)}),o===i.k.Height&&(0,a.jsx)(v.Z,{value:h,fromUnit:"cm"})]}):"-"})})}var Z=s(84942);function F(e){let t=(0,Z.z)(e.player,!0);return(0,a.jsxs)(r.EY,{font:"table.small",lineHeight:"12px",color:"onColor.primary",align:"center",mt:"md",px:"xs",w:"100%",children:[(0,a.jsx)(r.EY,{font:"table.small",lineHeight:"12px",color:"onColor.secondary",display:"inline-block",mr:"xxs",children:e.jerseyNumber}),e.captain?"(c) ".concat(t):t]})}var G=s(54863);let N=(0,g.forwardRef)((e,t)=>{let s=(0,k.useRouter)(),i=(0,L.A)(),{location:l,event:n,leftTeam:o,rightTeam:c}=(0,g.useContext)(H.y$),{isDesktop:h}=(0,M.$c)(),{openEventPlayerStatistics:f}=(0,z.d)(),{leftFormation:m,rightFormation:x,playerOfTheMatchId:y,shareButton:v}=e,j=n.tournament.category.sport.slug,b=n.status.type===p.XUj.NotStarted&&j===p.QCR.Football,w=h&&l===H.cb.EventPage,[V,I]=(0,g.useState)(u.k.Performance),[R,T]=(0,G.ax)(e.lineups);if(!m||!x)return null;let Z=(0,E.ZB)(m,x,n.startTimestamp),N=e.lineups.left.players.some(e=>!!e.avgRating)||e.lineups.right.players.some(e=>!!e.avgRating),D=[...m||[],...x||[]].some(e=>e.some(e=>{var t;return null==(t=e.statistics)?void 0:t.rating})),W=n.status.type===p.XUj.NotStarted,Y=j===p.QCR.Football?n.status.type===p.XUj.NotStarted?N:D:void 0,U=n.status.type===p.XUj.Finished||e.confirmed?u.V.Confirmed:u.V.Possible,$=[u.k.Age,u.k.MarketValue,u.k.Height].includes(V),K=e=>{e.player.disabled||(b||n.hasEventPlayerStatistics?f({event:n,player:e.player},A._.Lineups):s.push(O.z.getTranslatedRoute(i,"player",{id:e.player.id,slug:e.player.slug,sport:j}).route))};return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(r.az,{px:w?"sm":void 0,children:[(0,a.jsx)(_,{isConfirmed:e.confirmed,eventStatus:n.status.type,shareButton:v,order:w?1:2}),(0,a.jsx)(d,{isNational:!!n.homeTeam.national&&!!n.awayTeam.national,eventTimestamp:n.startTimestamp,onTabChange:e=>{(0,P.ke)({action:"click",location:"event_lineups",type:e===u.k.MarketValue?"market_value":e}),I(e)},order:w?2:1,isHorizontalLayout:!!w})]}),(0,a.jsxs)(r.so,{ref:t,position:"relative",w:"100%",direction:w?"row":"column",justify:"space-between",wrap:"wrap",children:[(0,a.jsx)(C,{team:o,teamSide:p.cxP.Left,formation:e.lineups.left.formation,jersey:e.lineups.leftJerseyUrls.player,chipType:V,avgRating:R,avgData:$?Z[V].leftTeamValue:void 0,avgMessageId:$?Z[V].messageId:void 0,isHorizontalLayout:w,isNotStarted:W,order:3}),(0,a.jsx)(S.A,{teamSide:p.cxP.Left,playerFormation:m,incidents:e.incidents,playerOfTheMatchId:y,lineupsType:U,playerCharacteristic:V,isHorizontalLayout:w,hasRatings:Y,event:n,order:w?4:3,getPlayerCharacteristicLabel:B,getTranslatedPlayerName:F,onPlayerClick:K}),(0,a.jsx)(S.A,{teamSide:p.cxP.Right,playerFormation:x,incidents:e.incidents,playerOfTheMatchId:y,lineupsType:U,playerCharacteristic:V,isHorizontalLayout:w,hasRatings:Y,event:n,order:w?5:4,getPlayerCharacteristicLabel:B,getTranslatedPlayerName:F,onPlayerClick:K}),(0,a.jsx)(C,{team:c,teamSide:p.cxP.Right,formation:e.lineups.right.formation,jersey:e.lineups.rightJerseyUrls.player,chipType:V,avgRating:T,avgData:$?Z[V].rightTeamValue:void 0,avgMessageId:$?Z[V].messageId:void 0,isHorizontalLayout:w,isNotStarted:W,order:w?3:5})]})]})})},79826:(e,t,s)=>{s.d(t,{A:()=>l});var a=s(6029),i=s(39895);function l(e){return(0,a.jsx)(i.A,Object.assign({width:"24",height:"24",viewBox:"0 0 24 24"},e,{children:(0,a.jsx)("path",{d:"M21 2H2v9h2V4h16v7h2V2h-1zm-9 20a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5z",fill:e.fill,fillRule:"evenodd"})}))}},79853:(e,t,s)=>{s.d(t,{K:()=>o});var a=s(21377),i=s(55729),l=s(45860),r=s(62859),n=s(30720);function o(e){let t=(0,i.useContext)(r.y$),s=e||t.event,{data:o,error:c}=(0,l.Ay)(a.bnp.managers(s.id)),[d,u]=(0,n.A)(o,"homeManager","awayManager",s),[h,f]=(0,n.A)(o,"homeManagerName","awayManagerName",s);return{managers:{leftManager:d,leftManagerName:h,rightManager:u,rightManagerName:f},error:c}}},80339:(e,t,s)=>{s.r(t),s.d(t,{default:()=>r});var a=s(90142),i=s(6029),l=s(39895);function r(e){var{fill:t="error.default"}=e,s=(0,a.T)(e,["fill"]);return(0,i.jsx)(l.A,Object.assign({width:"16",height:"16",viewBox:"0 0 16 16",fill:t},s,{children:(0,i.jsx)("path",{fill:t,d:"M3 1h10v14H3z",fillRule:"evenodd"})}))}},82823:(e,t,s)=>{var a;!function(e){e[e.Backdrop=0]="Backdrop",e[e.Button=1]="Button",e[e.Sticky=99]="Sticky",e[e.Dropdown=100]="Dropdown",e[e.Fixed=101]="Fixed",e[e.Popover=102]="Popover",e[e.Subheader=103]="Subheader",e[e.Header=104]="Header",e[e.MobileMenu=105]="MobileMenu",e[e.BottomNavigation=106]="BottomNavigation",e[e.FloatingCTA=107]="FloatingCTA",e[e.ModalBackdrop=108]="ModalBackdrop",e[e.Modal=109]="Modal",e[e.Alert=110]="Alert"}(a||(a={}))},83217:(e,t,s)=>{s.d(t,{n:()=>h});var a=s(60449),i=s.n(a);let l=/Max/,r=(e,t)=>t[e]?`${l.test(e)?"max-width":"min-width"}: ${t[e]}px`:e,n={2:["mdMax","mdMin"],3:["mdMax",["mdMin","lgMax"],"lgMin"],4:["smMax",["smMin","mdMax"],["mdMin","lgMax"],"lgMin"],5:["xsMax",["xsMin","smMax"],["smMin","mdMax"],["mdMin","lgMax"],"lgMin"]},o=(e,t)=>{if(!t)return e;let s=i()(t,e,e);return"number"==typeof e?s=`${e}px`:"string"!=typeof e||isNaN(+e)||(s=`${e}px`),s},c=e=>"left"===e?"right":"right"===e?"left":e,d=(e,t,s)=>{let a={};return e.forEach(e=>{if(s){let i=a[s];i?i[e]=t:a[s]={[e]:t}}else a[e]=t}),a},u=(e,t)=>Array.isArray(e)?`@media ${e.map(e=>`(${r(e,t)})`).join(" and ")}`:`@media (${r(e,t)})`,h=e=>t=>{let s=t.theme.settings.textDirection,a=t.theme.breakpoints.sizes;return Object.keys(e).reduce((l,r)=>{let h=e[r],f="rtl"===s&&!["ltr","auto"].includes(t.dir),p=f&&"object"==typeof h&&"rtlProperty"in h,g=f&&"object"==typeof h&&h.rtlTransform,m="object"==typeof h&&"function"==typeof h.rtlTransform?h.rtlTransform:c,x=i()(h,p?"rtlProperty":"property",r),y=i()(h,"properties",[x]);if(void 0===t[r])return l;let v=i()(h,"transform",o),j=i()(h,"selector"),b="object"==typeof h?i()(t.theme,h.domain||"",void 0):void 0;if(Array.isArray(t[r]))n[t[r].length].forEach((e,s)=>{let i=l[u(e,a)],n=v(t[r][s],b);f&&g&&(n=m(n,b)),i=i?Object.assign(Object.assign({},i),d(y,n,j)):d(y,n,j),l[u(e,a)]=i});else{let e=v(t[r],b);f&&g&&(e=m(e,b)),Object.assign(l,d(y,e,j))}return l},{})}},83509:(e,t,s)=>{s.d(t,{G:()=>a});let a=(0,s(83217).n)({position:!0,top:{domain:"spacing"},right:{domain:"spacing",rtlProperty:"left"},bottom:{domain:"spacing"},left:{domain:"spacing",rtlProperty:"right"},inset:{domain:"spacing"},zIndex:!0})},83616:(e,t,s)=>{s.d(t,{M:()=>d});var a=s(6029),i=s(13429),l=s(76356),r=s(55729),n=s(947),o=s(62859),c=s(78944);let d=e=>{var t;let s=(0,n.A)(),d=(0,r.useContext)(o.Ws),u=null!=(t=e.sport)?t:d,h=(0,c.q6)(e.incidentType,e.incidentClass,u),f=h?s.formatMessage({id:h}):void 0;return(0,a.jsx)(i.A,{...e,sport:u,title:f,fallback:(0,a.jsx)(l.az,{w:"lg"})})}},84262:(e,t,s)=>{s.d(t,{A:()=>l});var a=s(6029),i=s(39895);function l(e){return(0,a.jsx)(i.A,Object.assign({width:"24",height:"24",viewBox:"0 0 24 24"},e,{children:(0,a.jsx)("path",{d:"M21 2H2v9h2V4h16v7h2V2h-1zm-5.09 9.34-3.92 3.93-3.88-3.88-1.41 1.42 3.87 3.87-3.9 3.91L8.09 22l3.9-3.9 3.9 3.9 1.41-1.41-3.9-3.91 3.93-3.92-1.42-1.42z",fill:e.fill,fillRule:"evenodd"})}))}},84684:(e,t,s)=>{s.d(t,{A:()=>l});var a=s(6029),i=s(39895);function l(e){return(0,a.jsx)(i.A,Object.assign({width:"24",height:"24",viewBox:"0 0 24 24"},e,{children:(0,a.jsx)("path",{d:"M2.02 16.48c.17-3.83 1.67-7.33 4.37-10.11 2.77-2.68 6.25-4.18 10.09-4.35 1.53-.07 3.26 0 4.43.98l.1.1c.78.93 1.07 2.32.97 4.42-.17 3.84-1.67 7.33-4.37 10.11-2.77 2.68-6.25 4.18-10.08 4.35-1.54.06-3.26 0-4.43-.98l-.1-.1c-.69-.82-1-1.94-1-3.65 0-.25 0-.51.02-.78v.01zm4.32-.23 1.41 1.41 1.41-1.41 1.41 1.41 1.41-1.41-1.41-1.41 1.41-1.41 1.41 1.41 1.41-1.41-1.41-1.41 1.41-1.41 1.41 1.41 1.41-1.41-1.41-1.41 1.41-1.41-1.41-1.41-1.41 1.41-1.41-1.41-1.41 1.41 1.41 1.41-1.41 1.41-1.41-1.41-1.41 1.41 1.41 1.41-1.41 1.41-1.41-1.41-1.41 1.41 1.41 1.41-1.41 1.41z",fill:e.fill,fillRule:"evenodd"})}))}},85306:(e,t,s)=>{s.d(t,{K:()=>a});var a=function(e){return e.Position="position",e.Rating="rating",e.Notes="notes",e.ExpectedGoals="expectedGoals",e}({})},86838:(e,t,s)=>{s.d(t,{A:()=>l});var a=s(6029),i=s(39895);function l(e){return(0,a.jsx)(i.A,Object.assign({width:"24",height:"24",viewBox:"0 0 24 24"},e,{children:(0,a.jsx)("path",{d:"M4 2v14h16V2h2v20h-2v-4H4v4H2V2h2zm8.155.5c.78 0 1.458.13 2.055.398a3.314 3.314 0 0 1 1.396 1.165c.334.518.506 1.125.506 1.852 0 .767-.161 1.394-.495 1.902-.324.508-.78.906-1.367 1.205-.587.298-1.265.517-2.044.657-.496.1-.91.199-1.224.318-.314.12-.557.3-.709.528-.152.23-.233.578-.233 1.036v.527h6.012c.111 0 .162.05.162.16v1.593c0 .11-.051.159-.162.159H8.067c-.111 0-.162-.05-.162-.16v-2.05c0-.847.162-1.534.486-2.061.324-.528.8-.936 1.427-1.225.627-.299 1.396-.508 2.287-.647.648-.1 1.123-.319 1.417-.657a1.81 1.81 0 0 0 .445-1.225c0-.448-.162-.817-.486-1.105-.324-.289-.78-.438-1.376-.438-.668 0-1.184.149-1.538.458-.355.308-.577.746-.648 1.294-.02.11-.081.16-.182.16H7.986l.01-.02c-.111 0-.162-.05-.142-.16.132-1.145.557-2.031 1.286-2.688.728-.647 1.73-.976 3.015-.976z",fill:e.fill,fillRule:"evenodd"})}))}},86877:(e,t,s)=>{s.d(t,{A:()=>l});var a=s(6029),i=s(39895);function l(e){return(0,a.jsx)(i.A,Object.assign({width:"24",height:"24",viewBox:"0 0 24 24"},e,{children:(0,a.jsx)("path",{d:"m21.355 9.79-.06-.06c-.76-.64-1.88-.68-2.88-.64-2.49.11-4.76 1.09-6.56 2.83a9.905 9.905 0 0 0-2.84 6.57c0 .18-.01.34-.01.51 0 1.11.2 1.84.65 2.37l.06.07c.76.64 1.88.68 2.88.64 2.49-.11 4.76-1.09 6.56-2.83a9.905 9.905 0 0 0 2.84-6.57c.06-1.36-.12-2.27-.64-2.88v-.01zm-2.32 5.08-.71.71-1.06-1.06-1.06 1.06 1.06 1.06-.71.71-1.06-1.06-1.06 1.06 1.06 1.06-.71.71-1.06-1.06-1.06 1.06-.71-.71 1.06-1.06-1.06-1.06.71-.71 1.06 1.06 1.06-1.06-1.06-1.06.71-.71 1.06 1.06 1.06-1.06-1.06-1.06.71-.71 1.06 1.06 1.06-1.06.71.71-1.06 1.06 1.06 1.06zm-9.93-4.47h-5.19v-.46c0-.4.07-.7.2-.91.13-.21.34-.36.62-.46.28-.1.63-.2 1.06-.28.67-.12 1.26-.31 1.76-.57.5-.26.9-.61 1.18-1.06.28-.44.43-1 .43-1.67 0-.63-.15-1.18-.44-1.62-.29-.45-.7-.79-1.21-1.02-.51-.23-1.11-.35-1.78-.35-1.11-.01-1.98.28-2.61.85-.63.58-1 1.36-1.12 2.36-.02.09.02.14.13.14h1.51c.08 0 .14-.05.15-.14.07-.49.25-.86.56-1.13.31-.27.75-.41 1.33-.41.51 0 .91.13 1.19.39.28.26.42.58.42.97 0 .42-.13.78-.38 1.08-.26.3-.67.49-1.23.57-.77.12-1.43.31-1.97.57-.54.26-.95.62-1.23 1.08-.28.46-.42 1.07-.42 1.81v1.81c0 .09.05.14.14.14h6.9c.09 0 .14-.05.14-.14v-1.4c0-.09-.05-.14-.14-.14v-.01z",fill:e.fill,fillRule:"evenodd"})}))}},87234:(e,t,s)=>{s.d(t,{A:()=>l});var a=s(6029),i=s(39895);function l(e){return(0,a.jsx)(i.A,Object.assign({width:"24",height:"24",viewBox:"0 0 24 24"},e,{children:(0,a.jsx)("path",{d:"M19.2787318,9.43386243 L22,10.4259259 L22,14.4338624 C22,14.473545 21.9735799,14.5529101 21.9735799,14.5529101 L19.5429326,19.4206349 C19.5165125,19.473545 19.4240423,19.5396825 19.4240423,19.5396825 L14.5495376,21.973545 C14.5099075,22 14.4306473,22 14.4306473,22 L10.4544254,22 L12.6472919,21.2724868 C12.6869221,21.2592593 12.7529723,21.2063492 12.7529723,21.2063492 L18.2615588,15.2142857 C18.3011889,15.1746032 18.327609,15.0820106 18.327609,15.0820106 L18.340819,15.0687831 L19.2787318,9.43386243 Z M18.6182299,9.34126984 L17.7067371,14.7910053 C17.6935271,14.8439153 17.6406869,14.9232804 17.6406869,14.9232804 L12.3830911,20.6507937 L12.3698811,20.6243386 C12.343461,20.6507937 12.2642008,20.6904762 12.2642008,20.6904762 L9.02774108,21.7751323 L4.57595773,19.5396825 L8.4332893,18.2698413 C8.47291942,18.2566138 8.53896962,18.2037037 8.53896962,18.2037037 L12.7133421,14.0767196 C12.7397622,14.0502646 12.7793923,13.9708995 12.7793923,13.9708995 L14.1928666,9.52645503 C14.2324967,9.42063492 14.324967,9.34126984 14.4438573,9.34126984 L18.6182299,9.34126984 Z M2.01321004,11.4312169 L4.72126816,16.1798942 L4.76089828,16.2592593 L4.77410832,16.2724868 L7.58784676,17.8730159 L4.2324967,18.984127 L2.03963012,14.5793651 C2.01321004,14.5396825 2.01321004,14.4603175 2.01321004,14.4603175 L2.01321004,11.4312169 Z M6.35931308,3.58730159 L5.68560106,6.97354497 C5.67239102,7.03968254 5.71202114,7.15873016 5.71202114,7.15873016 L8.73712021,12.1984127 C8.76354029,12.2513228 8.84280053,12.3042328 8.84280053,12.3042328 L11.9735799,13.8915344 L8.34081902,17.5291005 L5.31571995,15.8095238 L5.30250991,15.8227513 C5.26287979,15.8095238 5.21003963,15.7301587 5.21003963,15.7301587 L2,10.1084656 L2,9.57936508 C2,9.53968254 2.02642008,9.46031746 2.02642008,9.46031746 L4.45706737,4.60582011 C4.48348745,4.55291005 4.57595773,4.48677249 4.57595773,4.48677249 L6.35931308,3.58730159 Z M10.8903567,2.02645503 L10.678996,4.01058201 C10.678996,4.06349206 10.7186262,4.16931217 10.7186262,4.16931217 L13.651255,9.06349206 L12.330251,13.3359788 L9.31836196,11.8015873 C9.27873184,11.7751323 9.21268164,11.6957672 9.21268164,11.6957672 L6.41215324,7.03968254 L6.41215324,7.05291005 C6.38573316,7 6.38573316,6.86772487 6.38573316,6.86772487 L7.11228534,3.23015873 L9.43725231,2.05291005 C9.4669749,2.03306878 9.51898943,2.02810847 9.54313904,2.02686839 L10.8903567,2.02645503 Z M15.8837517,4.32804233 L15.8969617,4.34126984 C15.9233818,4.34126984 15.989432,4.35449735 15.989432,4.35449735 L20.2298547,6.06084656 L21.9471598,9.46031746 C21.9669749,9.49007937 21.9719287,9.5421627 21.9731671,9.56634425 L21.9735799,9.75132275 L19.1466314,8.71957672 C19.1202114,8.70634921 19.0541612,8.67989418 19.0541612,8.67989418 L14.1796565,8.67989418 L11.5772787,4.32804233 L15.8837517,4.32804233 Z M14.4174373,2 C14.4570674,2 14.5363276,2.02645503 14.5363276,2.02645503 L19.3712021,4.47354497 C19.4240423,4.5 19.4900925,4.59259259 19.4900925,4.59259259 L19.7807133,5.16137566 L16.1743725,3.71957672 C16.1479524,3.70634921 16.0819022,3.70634921 16.0819022,3.70634921 L11.3791281,3.67989418 L11.3659181,3.67989418 L11.5508587,2 Z",id:"Combined-Shape",fill:e.fill})}))}},90142:(e,t,s)=>{function a(e,t){var s={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&0>t.indexOf(a)&&(s[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(a=Object.getOwnPropertySymbols(e);it.indexOf(a[i])&&Object.prototype.propertyIsEnumerable.call(e,a[i])&&(s[a[i]]=e[a[i]])}return s}s.d(t,{T:()=>a}),"function"==typeof SuppressedError&&SuppressedError},91289:(e,t,s)=>{s.d(t,{A:()=>l});var a=s(6029),i=s(39895);function l(e){return(0,a.jsx)(i.A,Object.assign({width:"24",height:"24",viewBox:"0 0 24 24"},e,{children:(0,a.jsx)("path",{d:"M20 2.001v14H4v-14H2v16h9v4h2v-4h9v-16h-2zm-2.6.66-.06-.06c-.56-.48-1.39-.65-2.65-.59-2.3.1-4.4 1-6.07 2.62a9.132 9.132 0 0 0-2.61 6.05c-.04.92 0 1.96.59 2.66l.06.06c.49.41 1.17.6 2.19.6.15 0 .3 0 .47-.01 2.3-.1 4.4-1 6.06-2.62a9.132 9.132 0 0 0 2.61-6.05c.04-.92 0-1.96-.59-2.66zm-2.57 5.34-1.06-1.06-1.06 1.06 1.06 1.06-.71.71L12 8.712l-1.06 1.06 1.06 1.06-.71.71-1.06-1.06-1.06 1.06-.71-.71 1.06-1.06-1.06-1.06.71-.71 1.06 1.06 1.06-1.06-1.06-1.06.71-.71L12 7.292l1.06-1.06L12 5.172l.71-.71 1.06 1.06 1.06-1.06.71.71-1.06 1.06 1.06 1.06-.71.71z",fill:e.fill,fillRule:"evenodd"})}))}},97080:(e,t,s)=>{s.d(t,{A:()=>l});var a=s(6029),i=s(39895);function l(e){return(0,a.jsx)(i.A,Object.assign({width:"24",height:"24",viewBox:"0 0 24 24"},e,{children:(0,a.jsx)("path",{fill:e.fill,d:"M20 2v14H4V2H2v16h9v4h2.076v-4H22V2z",fillRule:"evenodd"})}))}},99586:(e,t,s)=>{s.d(t,{C:()=>o});var a=s(99452),i=s.n(a),l=s(5326),r=s(85306),n=s(48886);function o(e,t,s,a){let o=t.stat,c=t.dir,d=[],u=[];if(o.value===r.K.Position&&(d.push(e=>l.EN[a].indexOf(e.position)),u.push(t.dir)),o.percentageOnly&&(d.push(e=>{let t=e.statistics&&o.madesValue?e.statistics[o.madesValue]:0,s=e.statistics&&o.attemptsValue?e.statistics[o.attemptsValue]:0;return t&&s?t/s:0}),u.push(t.dir)),o.madesValue){let e=o.madesValue;if(d.push(t=>{var s,a;return null!=(a=null==(s=t.statistics)?void 0:s[e])?a:0}),u.push(c),o.attemptsValue&&o.reverseSecondCompare){let e=o.attemptsValue;d.push(t=>{var s,a;return null!=(a=null==(s=t.statistics)?void 0:s[e])?a:0}),u.push(c===n.U.ASC?n.U.DESC:n.U.ASC)}}let h=o.compareValue;return h&&(d.push(e=>{var t,s;return null!=(s=null==(t=e.statistics)?void 0:t[h])?s:0}),u.push(c)),d.push(e=>{var t,s;return null!=(s=null==(t=e.statistics)?void 0:t[o.value])?s:0}),u.push(c),d.push(e=>{var t,a;return null!=(a=null==(t=e.statistics)?void 0:t[s.value])?a:0}),u.push(n.U.DESC),d.push(e=>{var t;return null!=(t=e.player.shortName)?t:""}),u.push(n.U.ASC),i()(e,d,u)}}}]);