1;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="adf7832b-a877-6c26-b5c1-99a409bef78e")}catch(e){}}(); 2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,82427,e=>{e.v({gameLineup:"EventGameLineup-module-scss-module__ZrVl8W__gameLineup"})},274301,e=>{e.v({actionBtn:"EventGameTeamsHeader-module-scss-module__b4Cf_W__actionBtn",cancelledText:"EventGameTeamsHeader-module-scss-module__b4Cf_W__cancelledText",editBtn:"EventGameTeamsHeader-module-scss-module__b4Cf_W__editBtn",teamName:"EventGameTeamsHeader-module-scss-module__b4Cf_W__teamName"})},999583,e=>{e.v({greyText:"EventGamesheet-module-scss-module__EGY9ea__greyText",periodTable:"EventGamesheet-module-scss-module__EGY9ea__periodTable",periodTableItem:"EventGamesheet-module-scss-module__EGY9ea__periodTableItem",periodTableItemCenter:"EventGamesheet-module-scss-module__EGY9ea__periodTableItemCenter",periodTableRow:"EventGamesheet-module-scss-module__EGY9ea__periodTableRow",root:"EventGamesheet-module-scss-module__EGY9ea__root"})},109656,e=>{e.v({action:"GameSummaryTemplate-module-scss-module__QeAwYW__action",actionInfo:"GameSummaryTemplate-module-scss-module__QeAwYW__actionInfo",actionLogo:"GameSummaryTemplate-module-scss-module__QeAwYW__actionLogo",actionTime:"GameSummaryTemplate-module-scss-module__QeAwYW__actionTime",actionTimeBlue:"GameSummaryTemplate-module-scss-module__QeAwYW__actionTimeBlue",comment:"GameSummaryTemplate-module-scss-module__QeAwYW__comment",commentsLayout:"GameSummaryTemplate-module-scss-module__QeAwYW__commentsLayout",greyText:"GameSummaryTemplate-module-scss-module__QeAwYW__greyText",sequenceActionsContainerItem:"GameSummaryTemplate-module-scss-module__QeAwYW__sequenceActionsContainerItem",sequenceActionsContainerItems:"GameSummaryTemplate-module-scss-module__QeAwYW__sequenceActionsContainerItems"})},699208,e=>{"use strict";var t=e.i(843476),a=e.i(481926),s=e.i(229160),n=e.i(819646),i=e.i(413518),r=e.i(364384),l=e.i(618566),d=e.i(271645),o=e.i(730640),m=e.i(228488),c=e.i(126863),u=e.i(112458),g=e.i(55428),f=e.i(376925);let h=function({hasGamesheetTab:e,hasLineupTab:a,hasMediaTab:s,gameId:r,tab:l}){let{pathPrefix:d}=(0,i.useClub)(),h=(0,g.buildUrl)(d,`/games/${r}`);if(!e&&!a&&!s)return(0,t.jsx)(t.Fragment,{});let x=e=>{let{children:a}=e;return(0,t.jsx)(c.default,{component:"span",sx:{whiteSpace:"nowrap"},children:a})},_=[{title:(0,t.jsx)(x,{children:(0,t.jsx)(u.FormattedMessage,{...m.eventPageMessages["event.page.menu.details"]})}),link:h,tab:o.GamePageTab.INDEX}];e&&_.push({title:(0,t.jsx)(x,{children:(0,t.jsx)(u.FormattedMessage,{...m.eventPageMessages["event.page.menu.gamesheet"]})}),link:`${h}/${o.GAMESHEET_TAB}`,tab:o.GamePageTab.GAMESHEET}),a&&_.push({title:(0,t.jsx)(x,{children:(0,t.jsx)(u.FormattedMessage,{...m.eventPageMessages["event.page.menu.line_up"]})}),link:`${h}/${o.LINEUP_TAB}`,tab:o.GamePageTab.LINEUP}),s&&_.push({title:(0,t.jsx)(x,{children:(0,t.jsx)(u.FormattedMessage,{...m.eventPageMessages["event.page.menu.media"]})}),link:`${h}/${o.MEDIA_TAB}`,tab:o.GamePageTab.MEDIA});let j=_.findIndex(e=>e.tab===l);return(0,t.jsx)(n.default,{display:"flex",justifyContent:"center",pb:5,children:(0,t.jsx)(n.default,{width:456,children:(0,t.jsx)(f.default,{tabs:_,selectedIndex:j})})})};var x=e.i(324982),_=e.i(262413),j=e.i(224467),p=e.i(186153),y=e.i(790849),v=e.i(702141),b=e.i(306691),M=e.i(927768),T=e.i(124545),A=e.i(363972),E=e.i(194606),I=e.i(650832),w=e.i(659712),S=e.i(845679),F=e.i(937910),N=e.i(210557),P=e.i(11),R=e.i(571709),C=e.i(612049),$=e.i(82427),G=e.i(844722),B=e.i(784348),U=e.i(322469),k=e.i(782547),L=e.i(119530),O=e.i(768167),Y=e.i(33612);e.i(816973);let D=(e,t)=>e.jersey_number>t.jersey_number?1:-1,H=(e,t)=>e.row>t.row?1:-1,W=(e,t,a)=>{var s,n,i,r,l;let d,o,m,c,u=t.filter(({type:e})=>e===a),g=(s=e,1+(a===O.ROSTER_USER_TYPE_STARTER?0:s.starting)),f=(n=e,i=u,r=g,d=n[(l=a)===O.ROSTER_USER_TYPE_STARTER?"starting":"substitutes"]||0,o=i.length,m=i.map(e=>e.row-r+1).filter(e=>e<=d).sort((e,t)=>
2e<t?1:-1)[0]||0,c=O.DEFAULT_MAX_STARTING,c=l===O.ROSTER_USER_TYPE_STARTER?d||O.DEFAULT_MAX_STARTING:m>0&&m>o&&m>O.DEFAULT_MAX_SUBSTITUTES?m:o&&o>O.DEFAULT_MAX_SUBSTITUTES?o:!d||d>O.DEFAULT_MAX_SUBSTITUTES?O.DEFAULT_MAX_SUBSTITUTES:d);return function(e,t,a,s,n=!1){let i=e.slice(),r=[],l=Array(t).fill(null);for(let e of i){let t=e.row-a;t>0&&t<l.length&&!l[t]?l[t]=e:r.push(e)}if(!r.length)return n?l.filter(e=>e):l.map(e=>e||{type:s,captain:!1});r.sort((e,t)=>e.row>t.row?1:-1);let d=l.map((e,t)=>{if(e)return e;let n=r.splice(0,1)[0];return n?{...n,row:t+a}:{type:s,captain:!1}});return n?d.filter(e=>!!e.user_id):d}(u,f,g,a,!0)};function K({teamName:e,teamRosterInfo:a,teamStatsInfo:i,translations:r,teamStaffInfo:l,sportPositionsInfo:o,game:c,getEntityNameNode:g,getEntityNumberNode:f,getFieldKey:h,teamGender:x,hasCaptainHidden:_}){let j="user",p=[70,1035].includes(c.sport.id),y=(0,t.jsx)(u.FormattedMessage,{...w.sectionMessages[1===x?"table.header.player_f":"table.header.player"]}),v=(0,t.jsx)(k.Paragraph2,{children:(0,t.jsx)("strong",{children:(0,t.jsx)(u.FormattedMessage,{...m.eventPageMessages["event.page.title.substitutes"]})})}),{header:b}=i,M="no-background|media-md|cell-white-background|stretch-name",T=(0,d.useMemo)(()=>{if(!b)return r;let e={};return Object.values(b).forEach(({name:t,acronym:a})=>{e[t]=t,e[a]=a}),{...r,...e}},[b,r]),{playerRowsTeam:A,substituteRowsTeam:E}=(0,d.useMemo)(()=>{let e,t,s=a.slice().sort(p?H:D);return p?(e=W(c,s,O.ROSTER_USER_TYPE_STARTER).map(e=>{let t=i.rows.find(t=>t.user.id===e.user_id);return{...t,0:{...t[0],row:e.row}}}),t=W(c,s,O.ROSTER_USER_TYPE_SUBSTITUTE).map(e=>{let t=i.rows.find(t=>t.user.id===e.user_id);return{...t,0:{...t[0],row:e.row}}})):(e=s.filter(({type:e})=>e===O.ROSTER_USER_TYPE_STARTER).map(e=>i.rows.find(t=>t.user.id===e.user_id)),t=s.filter(({type:e})=>e===O.ROSTER_USER_TYPE_SUBSTITUTE).map(e=>i.rows.find(t=>t.user.id===e.user_id))),{playerRowsTeam:e,substituteRowsTeam:t}},[a,i]);return(0,t.jsx)(n.default,{width:"100%",children:(0,t.jsxs)(n.default,{children:[(0,t.jsx)(n.default,{pb:4,children:(0,t.jsx)(k.Headline3,{children:e})}),(0,t.jsxs)(n.default,{children:[(0,t.jsx)(B.default,{sortingMode:L.SortingMode.LOCAL,mods:M,isEditMode:!1,rows:A,header:b,entityKey:j,entityNameHeaderNode:y,getFieldKey:h,getEntityNameNode:g,getEntityNumberNode:f,moveNumber:p,translations:T,children:E.length>0&&(0,t.jsx)(B.default,{renderHeaderAndRows:!0,mods:M,isEditMode:!1,rows:E,header:b,noBgHeader:!0,entityKey:j,entityNameHeaderNode:(0,t.jsx)(n.default,{py:4,children:v}),getFieldKey:h,getEntityNameNode:g,getEntityNumberNode:f,moveNumber:p,hideHeaderExceptName:!0})}),(0,t.jsx)(n.default,{py:2}),(0,Y.default)([l&&l.length>0?(0,t.jsxs)(n.default,{children:[(0,t.jsx)(n.default,{pb:2,children:(0,t.jsx)(k.Paragraph2,{children:(0,t.jsx)("strong",{children:(0,t.jsx)(u.FormattedMessage,{...m.eventPageMessages["gamesheet.title.staff"]})})})}),l.map((e,a)=>{let s=e.position_id?o.staff.find(t=>t.id===e.position_id):null;return(0,t.jsxs)("div",{children:[(0,t.jsxs)(k.Paragraph2,{children:[e.first_name," ",e.last_name,s?(0,t.jsxs)("span",{children:[" (",s.translation,")"]}):""]}),(0,t.jsx)(U.Separator,{py:2})]},`staff-${a}${e.user_id}`)})]},"staff"):null,function(){if(a&&!_){let e=a.filter(e=>e.captain),s=e.some(e=>"number"==typeof e.captain_order)?e.reduce((e,t)=>e.captain_order<t.captain_order?e:t):e[0];if(s)return(0,t.jsxs)(n.default,{children:[(0,t.jsx)(n.default,{pb:2,children:(0,t.jsx)(k.Paragraph2,{children:(0,t.jsx)("strong",{children:(0,t.jsx)(u.FormattedMessage,{...m.eventPageMessages["gamesheet.title.team.captain"]})})})}),(0,t.jsxs)(k.Paragraph2,{children:[" ",s.first_name," ",s.last_name]}),(0,t.jsx)(U.Separator,{py:2})]},"captain")}return null}(),(0,s.isUndefined)(b)?null:(0,t.jsx)(G.default,{children:(0,t.jsx)(n.default,{p:4,children:(0,t.jsx)(k.Paragraph2,{children:Object.values(b).map(e=>`${T[e.acronym]} = ${T[e.name]}`).join(", ")})})},"legend")],(0,t.jsx)(n.default,{py:2}))]})]})})}function q({game:e,categories:a,team1StatsInfo:l,team2StatsInfo:o,team1RosterInfo:m,team2RosterInfo:c,team1StaffInfo:u,team2StaffInfo:g,sportPositionsInfo:f,hasCaptainHidden:h,statsCategories:x,defaultStatsMo
2de:_,defaultStatsCategoryId:G}){let{translations:{messages:B,locale:U},extendTranslations:k}=(0,r.useTranslations)(),{club:L,prefix:O}=(0,i.useClub)(),Y=(0,P.useIntl)(),D=(0,N.useTheme)(),H=x?.length>0,[W,z]=(0,d.useState)(e.team1?.id),[Q,X]=(0,d.useState)(_??"player"),[V,Z]=(0,d.useState)(G??null),[J,ee]=(0,d.useState)(l),[et,ea]=(0,d.useState)(o),[es,en]=(0,d.useState)(null),[ei,er]=(0,d.useState)(!1),[el,ed]=(0,d.useState)(!1),eo=(0,d.useRef)(!1),em=(0,d.useRef)(!1),ec=(0,d.useMemo)(()=>"team"===Q?es?.header:J?.header,[Q,es,J]),eu=(0,d.useMemo)(()=>{let e=Object.values(ec||{}).map(e=>(e.acronym||"").toLowerCase());return e.sort((e,t)=>e.localeCompare(t)),e.join(",")},[ec]);async function eg(t){er(!0);let[a,s]=await Promise.all([e.team1?.id?(0,R.getMatchStatsCategoryPlayers)({clubPrefix:O,sceneId:e.id,teamId:e.team1.id,categoryId:t}).catch(()=>null):Promise.resolve(null),e.team2?.id?(0,R.getMatchStatsCategoryPlayers)({clubPrefix:O,sceneId:e.id,teamId:e.team2.id,categoryId:t}).catch(()=>null):Promise.resolve(null)]);a&&ee(a),s&&ea(s),er(!1)}async function ef(t){er(!0);let a=await (0,R.getSceneStatsCategoryTeams)({clubPrefix:O,sceneId:e.id,categoryId:t}).catch(()=>null);a&&en(a),er(!1)}async function eh(e){ed(!0);let t=await (0,C.getTranslation)(L?.admin_lang||U,(0,A.getSimpleStasInfoArrayPlaceholders)(e)).catch(()=>null);t&&k({[U]:t}),ed(!1)}function ex(e,t,a){return{getStatKey:s=>`${e}-${a}-${t}-${s}`}}function e_(e,a){let s;return(s=a?m.find(({user_id:t})=>t===e.id):c.find(({user_id:t})=>t===e.id))?(0,t.jsx)("span",{children:s.jersey_number}):(0,t.jsx)(t.Fragment,{})}function ej(e,a){let s=a?m:c,i=s?.find(({user_id:t})=>t===e.id);return(0,t.jsxs)(n.default,{display:"flex",alignItems:"center",width:"100%",children:[(0,t.jsx)(n.default,{mr:1,children:(0,t.jsx)(v.Img,{mods:"w24",src:e.pic_thumbnail,failoverImage:p.DEFAULT_USER_ICON})}),(0,t.jsx)("span",{children:[e.firstname,e.lastname].filter(Boolean).join(" ")}),(0,t.jsx)(E.PlayerOptionIcons,{matchingLicenses:i?.matching_licenses})]})}(0,d.useEffect)(()=>{if(H){let e=new URL(window.location.href);"team"===Q?e.searchParams.set("statsType","team"):e.searchParams.delete("statsType"),"number"==typeof V?e.searchParams.set("statsCategory",V.toString()):e.searchParams.delete("statsCategory"),window.history.replaceState(null,"",e.toString())}if(!H||!V){eo.current=!0;return}if(!eo.current){eo.current=!0,"team"===Q&&ef(V);return}"player"===Q?eg(V):ef(V)},[Q,V]),(0,d.useEffect)(()=>{em.current&&"team"===Q&&Object.keys(ec||{}).length&&es&&eh(es),em.current=!0},[eu]);let ep=(0,T.generateTagLabel)(e.team1,null,a,B,{showTeamAdditionalInfo:L?.show_team_additional_info}),ey=(0,T.generateTagLabel)(e.team2,null,a,B,{showTeamAdditionalInfo:L?.show_team_additional_info}),ev=e=>(t,a)=>{z(a?e:0)};return(0,s.isEmpty)(m)&&(0,s.isEmpty)(c)&&(0,s.isEmpty)(u)&&(0,s.isEmpty)(g)?(0,t.jsx)(j.default,{}):(0,t.jsxs)("div",{className:$.default.gameLineup,children:[H?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(n.default,{pb:4,children:(0,t.jsx)(F.default,{container:!0,spacing:"8px",children:(0,t.jsx)(F.default,{size:{xs:12,sm:5,md:5},children:(0,t.jsx)(y.default,{id:"statsMode",value:Q,name:"statsMode",label:Y.formatMessage(w.sectionMessages["section.label.stat.type"]),options:[{label:Y.formatMessage(w.sectionMessages["table.header.player"]),value:"player"},{label:Y.formatMessage(I.gamesMessages.team),value:"team"}],onChange:e=>{let t=e.target.value;X(t);let a=x.find(e=>e.type===t);a&&Z(a.id)}})})})}),(0,t.jsx)(n.default,{pb:3,mb:1,gap:2,display:"flex",sx:{overflowX:"auto"},children:x.filter(e=>e.type===Q).map(e=>(0,t.jsx)(S.default,{label:e.name,variant:e.id===V?"filled":"outlined",sx:{backgroundColor:e.id===V?D.props?.sectionMode?.accent:"transparent",color:e.id===V?D.props?.sectionMode?.text_accent:D.props?.sectionMode?.text_background,cursor:"pointer"},onClick:()=>Z(e.id)},`stats-category__${e.id}`))})]}):null,ei||el?(0,t.jsx)(b.default,{}):"team"===Q&&es?(0,t.jsx)(M.default,{entityKey:"group",stats:es,getEntityNameNode:function(e){return(0,t.jsxs)(n.default,{display:"flex",alignItems:"center",children:[(0,t.jsx)(n.default,{mr:1,children:(0,t.jsx)(v.Img,{mods:"w24",src:e?.pic,failoverImage:p.DEFAULT_TEAM_LOGO})}),(0,t.jsx)("span",{children:e?.fullname||e?.name})]})},entityNameHeaderNode:(0,t.jsx)("span",{children:Y.formatMessage(I.gamesMessages.team)}),getFieldKey:(t,a,s)=>ex(a,s,e.id).getStatKey(t),getEntityNumberNode:(e,t)=>t+1}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(K,{expandedTeamId:W,teamId:e.team1.id,handleTogglePanel:ev,translations:B,teamName:ep,teamRosterInfo:m,teamStatsInfo:J,getEntityNameNode:e=>ej(e,!0),getEntityNumberNode:e=>e_(e,!0),getFieldKey:(t,a,s)=>ex(a,s,e.team1.id).getStatKey(t),teamStaffInfo:u,sportPositionsInfo:f,game:e,teamGender:e.team1.gender,hasCaptainHidden:h}),(0,t.jsx)(n.default,{py:5}),(0,t.jsx)(K,{expandedTeamId:W,teamId:e.team2.id,handleTogglePanel:ev,translations:B,teamName:ey,teamRosterInfo:c,teamStatsInfo:et,getEntityNameNode:e=>ej(e,!1),getEntityNumberNode:e=>e_(e,!1),getFieldKey:(t,a,s)=>ex(a,s,e.team2.id).getStatKey(t),teamStaffInfo:g,sportPositionsInfo:f,game:e,teamGender:e.team2.gender,hasCaptainHidden:h})]})]})}var z=e.i(493734),Q=e.i(356437),X=e.i(528923),V=e.i(838286),Z=e.i(329568),J=e.i(322013),ee=e.i(127167
2),et=e.i(564366),ea=e.i(720331),es=e.i(274301);let en=(0,J.default)("img")({objectFit:"contain",maxWidth:"100%",maxHeight:"100%",width:"48px",height:"48px"});function ei({club:a,gameInfo:s,categoriesInfo:r,translations:l}){let c,[g,f]=(0,d.useState)(""),[h,x]=(0,d.useState)(!1),{user:_,token:j}=(0,ee.useAuth)(),{prefix:y}=(0,i.useClub)(),v=(0,P.useIntl)(),{team1:b,team2:M,cancelled:A,forfeit:E}=s||{},S=s.competition?s.competition.id:0,F=`/steps/edit/groups_of_interests/${s.id}?steps=edit_groups_of_interests,edit_roles,edit_assign_people,edit_invite_people`,N=!!E,R=!(0,Z.checkFutureGame)(s),C=(0,Z.hasScore)(s),$=_?.roles?.includes(ea.ROLE_MATCHES_RANKINGS_EDIT);function B(e){return(0,t.jsxs)(n.default,{className:es.default.teamName,display:"flex",flexDirection:"column",alignItems:"center",children:[(0,t.jsx)(n.default,{pb:4,children:(0,t.jsx)(en,{src:e?.pic||p.DEFAULT_TEAM_LOGO,alt:e?.name||"team-logo"})}),(0,t.jsx)(k.Paragraph2,{children:(0,t.jsx)("strong",{children:(0,T.generateTagLabel)(e,null,r,l,{showTeamAdditionalInfo:a?.show_team_additional_info})||(0,t.jsx)(u.FormattedMessage,{...I.gamesMessages.to_be_announced})})}),N&&(e===b&&"home"===s.forfeit||e===M&&"away"===s.forfeit||"both"===s.forfeit)&&(0,t.jsxs)(k.Paragraph2,{children:[e===b&&"home"===s.forfeit&&v.formatMessage(w.sectionMessages["games.forfeit"]),e===M&&"away"===s.forfeit&&v.formatMessage(w.sectionMessages["games.forfeit"]),"both"===s.forfeit&&v.formatMessage(w.sectionMessages["games.forfeit"])]})]})}async function U(){let t=(await e.A(971396)).default;t.tz.setDefault("Etc/UTC");let a=t(s?.start_date);f(`${a.format("HH")}:${a.format("mm")}`)}return(0,d.useEffect)(()=>{U()},[s]),(0,d.useEffect)(()=>{j&&_?.roles?.includes(ea.ROLE_MATCHES_RANKINGS_EDIT)?(0,et.getMatchRights)(s.id,{clubPrefix:y,token:j}).then(e=>x(!!e?.editable)):x(!1)},[s.id,y,j,_]),(0,t.jsxs)(n.default,{sx:{flexDirection:{xs:"column",md:"row"}},display:"flex",justifyContent:"center",style:{position:"relative"},children:[(0,t.jsxs)(n.default,{sx:{flexDirection:{xs:"column",md:"row"}},pb:4,display:"flex",justifyContent:"space-evenly",style:{minWidth:"75%"},children:[B(b),(0,t.jsxs)(n.default,{height:"100%",display:"flex",flexDirection:"column",p:4,justifyContent:"center",alignItems:"center",textAlign:"center",children:[!R&&!A&&(0,t.jsx)(k.Paragraph2,{children:v.formatMessage(w.sectionMessages["games.kick_off"])}),A&&(0,t.jsx)(k.Paragraph2,{children:v.formatMessage(w.sectionMessages["games.cancelled"])}),(0,t.jsx)(G.default,{children:(0,t.jsxs)(n.default,{p:4,children:[(0,t.jsx)(k.Headline2,{className:A&&C&&es.default.cancelledText,children:R?(0,Z.displayGameScore)(s):g}),"number"==typeof s.score1_penalties&&"number"==typeof s.score2_penalties&&(0,t.jsx)(k.Paragraph2,{children:(0,t.jsx)(X.PenaltyScore,{scorePenalty1:s.score1_penalties,scorePenalty2:s.score2_penalties})})]})})]}),B(M)]}),(c=`/steps/edit/leagues_games/${S||""},${s.season.id},${s.id}?steps=edit_leagues_games`,(0,t.jsxs)("div",{className:es.default.editBtn,children:[!R&&$&&(0,t.jsx)("div",{className:es.default.actionBtn,children:(0,t.jsx)(Q.default,{isClubExternal:!0,href:`${F}&start_page=${V.StartPage.WEB_EVENT}`,startImg:!0,imgSrc:o.addIcon,children:v.formatMessage(m.eventPageMessages["event.page.action.invite"])})}),h&&(0,t.jsx)("div",{className:es.default.actionBtn,children:(0,t.jsx)(z.default,{isClubExternal:!0,href:`${c}&start_page=${V.StartPage.WEB_EVENT}`,imgSrc:"https://dk9pqlttm1g0o.cloudfront.net/2026-06-29-a/images/steps/edit_icon.svg"})})]}))]})}let er=e=>e?.terminologies?.game_sheet_extra_time_abbreviation??"ET";var el=e.i(53800),ed=e.i(640554);let eo=(0,e.i(755742).default)((0,t.jsx)("path",{d:"M16.01 11H4v2h12.01v3L20 12l-3.99-4z"}),"ArrowRightAlt");var em=e.i(207670);function ec({game:e,gameAction:a,translations:n,categories:i,showTeamAdditionalInfo:r}){return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{children:[(0,t.jsx)(eU,{gameAction:a}),(0,t.jsx)(ek,{game:e,gameAction:a,translations:n,categories:i,showTeamAdditionalInfo:r})]}),a.user1&&!(0,s.isEmpty)(a.user1)&&(0,t.jsx)("div",{children:(0,t.jsx)(eL,{user:a.user1,noLabel:!0})})]})}function eu({game:e,gameAction:a,translations:s,categories:n,showTeamAdditionalInfo:i}){return(0,t.jsxs)("div",{children:[(0,t.jsx)(eU,{gameAction:a}),(0,t.jsx)(ek,{game:e,gameAction:a,translations:s,categories:n,showTeamAdditionalInfo:i})]})}var eg=e.i(109656);function ef({game:e,gameAction:a,translations:s,categories:n,showTeamAdditionalInfo:i}){return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{children:[(0,t.jsx)(eU,{gameAction:a}),(0,t.jsx)(ek,{game:e,gameAction:a,translations:s,categories:n,showTeamAdditionalInfo:i})]}),(0,t.jsx)("div",{children:(0,t.jsx)(eY,{gameAction:a})})]})}function eh({game:e,gameAction:a,translations:s,categories:n,showTeamAdditionalInfo:i}){return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{children:[(0,t.jsx)(eU,{gameAction:a}),(0,t.jsx)(ek,{game:e,gameAction:a,translations:s,categories:n,showTeamAdditionalInfo:i})]}),(0,t.jsx)("div",{children:(0,t.jsx)(eY,{gameAction:a})})]})}function ex({game:e,gameAction:a,translations:s,categories:n,showTeamAdditionalInfo:i}){return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{children:[(0,t.jsx)(eU,{gameAction:a}),(0,t.jsx)(ek,{game:e,gameAction:a,translations:s,categories:n,showTeamAdditionalInfo:i})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)(eW,{gameAction:a}),(0,t.jsx)(eK,{gameAction:a})]})]})}function e_({game:e,gameAction:a,translations:s,categories:n,showTeamAdditionalInfo:i}){return(0,t.jsx)(t.Fragment,{children:(0,t.jsx)("div",{children:(0,t.jsx)(ek,{game:e,gameAction:a,translations:s,withDash:!1,categories:n,showTeamAdditionalInfo:i})})})}function ej({game:e,gameAction:a,translations:s,categories:n,showTeamAdditionalInfo:i}){return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{children:[(0,t.jsx)(eU,{gameAction:a}),(0,t.jsx)(ek,{game:e,gameAction:a,translations:s,categories:n,showTeamAdditionalInfo:i})]}),(0,t.jsx)("div",{children:(0,t.jsx)(eO,{gameAction:a})})]})}function ep({game:e,gameAction:a,translations:s,categories:n,showTeamAdditionalInfo:i}){return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{children:[(0,t.jsx)(eU,{gameAction:a}),(0,t.jsx)(ek,{game:e,gameAction:a,translations:s,categories:n,showTeamAdditionalInfo:i})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)(eq,{gameAction:a}),(0,t.jsx)(eO,{gameAction:a})]})]})}function ey({game:e,gameAction:a,translations:s,categories:n,showTeamAdditionalInfo:i}){return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{children:[(0,t.jsx)(eU,{gameAction:a}),(0,t.jsx)(ek,{game:e,gameAction:a,translations:s,categories:n,showTeamAdditionalInfo:i})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)(eY,{gameAction:a}),(0,t.jsx)(eD,{gameAction:a}),(0,t.jsx)(eH,{gameAction:a})]})]})}function ev({game:e,gameAction:a,translations:s,categories:n,showTeamAdditionalInfo:i}){return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{children:[(0,t.jsx)(eU,{gameAction:a}),(0,t.jsx)(ek,{game:e,gameAction:a,translations:s,categories:n,showTeamAdditionalInfo:i})]}),(0,t.jsx)("div",{children:(0,t.jsx)(eO,{gameAction:a})})]})}function eb({game:e,gameAction:a,translations:s,categories:n,showTeamAdditionalInfo:i}){return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{children:[(0,t.jsx)(eU,{gameAction:a}),(0,t.jsx)(ek,{game:e,gameAction:a,translations:s,categories:n,showTeamAdditionalInfo:i})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)(eY,{gameAction:a}),(0,t.jsx)(eD,{gameAction:a})]})]})}function eM({game:e,gameAction:a,translations:s,categories:n,showTeamAdditionalInfo:i}){return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{children:[(0,t.jsx)(eU,{gameAction:a}),(0,t.jsx)(ek,{game:e,gameAction:a,translations:s,categories:n,showTeamAdditionalInfo:i})]}),(0,t.jsx)("div",{children:(0,t.jsx)(eO,{gameAction:a})})]})}function eT({game:e,gameAction:a,translations:s,categories:n,showTeamAdditionalInfo:i}){return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{children:[(0,t.jsx)(eU,{gameAction:a}),(0,t.jsx)(ek,{game:e,gameAction:a,translations:s,categories:n,showTeamAdditionalInfo:i})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)(eW,{gameAction:a}),(0,t.jsx)(eK,{gameAction:a})]})]})}function eA({game:e,gameAction:a,translations:s,categories:n,showTeamAdditionalInfo:i}){return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{children:[(0,t.jsx)(eU,{gameAction:a}),(0,t.jsx)(ek,{game:e,gameAction:a,translations:s,categories:n,showTeamAdditionalInfo:i})]}),(0,t.jsx)("div",{children:(0,t.jsx)(eO,{gameAction:a})})]})}function eE({game:e,gameAction:a,translations:s,categories:n,showTeamAdditionalInfo:i}){return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{children:[(0,t.jsx)(eU,{gameAction:a}),(0,t.jsx)(ek,{game:e,gameAction:a,translations:s,categories:n,showTeamAdditionalInfo:i})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)(eY,{gameAction:a}),(0,t.jsx)(eD,{gameAction:a})]})]})}function eI({game:e,gameAction:a,translations:s,categories:n,showTeamAdditionalInfo:i}){return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{children:[(0,t.jsx)(eU,{gameAction:a}),(0,t.jsx)(ek,{game:e,gameAction:a,translations:s,categories:n,showTeamAdditionalInfo:i})]}),(0,t.jsx)("div",{children:(0,t.jsx)(eO,{gameAction:a})})]})}function ew({game:e,gameAction:a,translations:s,categories:n,showTeamAdditionalInfo:i}){return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{children:[(0,t.jsx)(eU,{gameAction:a}),(0,t.jsx)(ek,{game:e,gameAction:a,translations:s,categories:n,showTeamAdditionalInfo:i})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)(eW,{gameAction:a}),(0,t.jsx)(eK,{gameAction:a})]})]})}function eS({game:e,gameAction:a,translations:s,categories:n,showTeamAdditionalInfo:i}){return(0,t.jsx)(t.Fragment,{children:(0,t.jsx)("div",{children:(0,t.jsx)(ek,{game:e,gameAction:a,translations:s,withDash:!1,categories:n,showTeamAdditionalInfo:i})})})}function eF({game:e,gameAction:a,translations:s,categories:n,showTeamAdditionalInfo:i}){return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{children:[(0,t.jsx)(eU,{gameAction:a}),(0,t.jsx)(ek,{game:e,gameAction:a,translations:s,categories:n,showTeamAdditionalInfo:i})]}),(0,t.jsx)("div",{children:(0,t.jsx)(eO,{gameAction:a})})]})}function eN({game:e,gameAction:a,translations:s,categories:n,showTeamAdditionalInfo:i}){return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{children:[(0,t.jsx)(eU,{gameAction:a}),(0,t.jsx)(ek,{game:e,gameAction:a,translations:s,categories:n,showTeamAdditionalInfo:i})]}),(0,t.jsx)("div",{children:(0,t.jsx)(eO,{gameAction:a})})]})}function eP({game:e,gameAction:a,translations:s,categories:n,showTeamAdditionalInfo:i}){return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{children:[(0,t.jsx)(eU,{gameAction:a}),(0,t.jsx)(ek,{game:e,gameAction:a,translations:s,categories:n,showTeamAdditionalInfo:i})]}),(0,t.jsx)("div",{children:(0,t.jsx)(eO,{gameAction:a})})]})}function eR({game:e,gameAction:a,translations:s,categories:n,showTeamAdditionalInfo:i}){return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{children:[(0,t.jsx)(eU,{gameAction:a}),(0,t.jsx)(ek,{game:e,gameAction:a,translations:s,categories:n,showTeamAdditionalInfo:i})]}),(0,t.jsx)("div",{children:(0,t.jsx)(eO,{gameAction:a})})]})}function eC({gameAction:e}){return(0,t.jsx)("div",{children:(0,t.jsx)(eU,{gameAction:e})})}function e$({game:e,gameAction:a,translations:s,categories:n,showTeamAdditionalInfo:i}){return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{children:[(0,t.jsx)(eU,{gameAction:a}),(0,t.jsx)(ek,{game:e,gameAction:a,translations:s,categories:n,showTeamAdditionalInfo:i})]}),(0,t.jsx)("div",{children:(0,t.jsx)(e3,{gameAction:a})}),(0,t.jsx)("div",{children:(0,t.jsx)(e4,{gameAction:a})})]})}function eG({game:e,gameAction:a,translations:s,categories:n,showTeamAdditionalInfo:i}){return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{children:[(0,t.jsx)(eU,{gameAction:a}),(0,t.jsx)(ek,{game:e,gameAction:a,translations:s,categories:n,showTeamAdditionalInfo:i})]}),(0,t.jsx)("div",{children:(0,t.jsx)(eY,{gameAction:a})}),(0,t.jsx)("div",{children:(0,t.jsx)(e4,{gameAction:a})})]})}let eB=(0,e.i(301005).defineMessages)({player:{id:"v3_gamesandstandings.player",defaultMessage:"Player"},"gamesheet.action.field.player.in":{id:"v3_gamesheet.action.field.player.in",defaultMessage:"###"}
2,"gamesheet.action.field.player.out":{id:"v3_gamesheet.action.field.player.out",defaultMessage:"###"},"gamesheet.action.field.goal.by":{id:"v3_gamesheet.action.field.goal.by",defaultMessage:"###"},"gamesheet.action.field.line_of_scrimmage":{id:"v3_gamesheet.action.field.line_of_scrimmage",defaultMessage:"Line of Scrimmage"},"gamesheet.action.field.optional":{id:"form.optional",defaultMessage:"Optional"},"gamesheet.action.field.to_go":{id:"v3_gamesheet.action.field.to_go",defaultMessage:"To Go"},"gamesheet.action.field.down":{id:"v3_gamesheet.action.field.down",defaultMessage:"Down"},"gamesheet.kicker":{id:"Kicker_11",defaultMessage:"Kicker"},"gamesheet.punter":{id:"Punter_11",defaultMessage:"Punter"},"gamesheet.rusher":{id:"v3_gamesheet.rusher",defaultMessage:"Rusher"},"gamesheet.yards":{id:"yds_title",defaultMessage:"Yards"},"gamesheet.passer":{id:"v3_gamesheet.passer",defaultMessage:"Passer"},"gamesheet.receiver":{id:"v3_gamesheet.receiver",defaultMessage:"Receiver"},"gamesheet.intended_receiver":{id:"v3_gamesheet.intended_receiver",defaultMessage:"Intended Receiver"},"gamesheet.qb_sacked":{id:"v3_gamesheet.qb_sacked",defaultMessage:"QB Sacked"},"gamesheet.sacked_by":{id:"v3_gamesheet.sacked_by",defaultMessage:"Sacked By"},"gamesheet.yards_lost":{id:"v3_gamesheet.yards_lost",defaultMessage:"Yards Lost"},"gamesheet.intercepted_by":{id:"v3_gamesheet.intercepted_by",defaultMessage:"Intercepted By"},"gamesheet.yards.return":{id:"v3_gamesheet.yards.return",defaultMessage:"Return Yards"},"gamesheet.returner":{id:"v3_gamesheet.returner",defaultMessage:"Returner"},"gamesheet.fumbled_by":{id:"v3_gamesheet.fumbled_by",defaultMessage:"Fumbled By"},"gamesheet.forced_by":{id:"v3_gamesheet.forced_by",defaultMessage:"Forced By"},"gamesheet.recovered_by":{id:"v3_gamesheet.recovered_by",defaultMessage:"Recovered By"},"gamesheet.muffed_by":{id:"v3_gamesheet.muffed_by",defaultMessage:"Muffed By"},"gamesheet.blocked_by":{id:"v3_gamesheet.blocked_by",defaultMessage:"Blocked By"},"gamesheet.tackled_by":{id:"v3_gamesheet.tackled_by",defaultMessage:"Tackled By"},"gamesheet.assisted_by":{id:"v3_gamesheet.assisted_by",defaultMessage:"Assisted By"},"gamesheet.caught_by":{id:"v3_gamesheet.caught_by",defaultMessage:"Caught By"},"gamesheet.at_yard_line":{id:"v3_gamesheet.at_yard_line",defaultMessage:"At Yard Line"},"gamesheet.downed_by":{id:"v3_gamesheet.downed_by",defaultMessage:"Downed By"},"gamesheet.on_player":{id:"v3_gamesheet.on_player",defaultMessage:"On Player"},"gamesheet.penalty_type":{id:"penalties.table.penalty_type",defaultMessage:"Penalty type"},"gamesheet.end_play":{id:"v3_gamesheet.end_play",defaultMessage:"End play"},"gamesheet.penalty":{id:"v3_gamesheet.action.penalty",defaultMessage:"Penalty"},"gamesheet.save_and_close":{id:"v3_gamesheet.save_and_close",defaultMessage:"Save and close"},"gamesheet.action.recorded":{id:"v3_gamesheet.action.recorded",defaultMessage:"action recorded"},"gamesheet.actions.recorded":{id:"v3_gamesheet.actions.recorded",defaultMessage:"actions recorded"},"gamesheet.play.summary":{id:"v3_gamesheet.play.summary",defaultMessage:"Play Summary"}});function eU({gameAction:e}){return(0,t.jsx)("span",{children:e.scene_action_type.translate})}function ek({game:e,gameAction:a,categories:n,translations:i,withDash:r=!0,showTeamAdditionalInfo:l}){if(a.group&&!(0,s.isEmpty)(a.group)){let s=e?.team1?.id===a?.group?.id?e?.team1:e?.team2;return(0,t.jsxs)("span",{children:[r?" - ":"",(0,T.generateTagLabel)({is_team:!0,...s},null,n,i,{showTeamAdditionalInfo:l})]})}return(0,t.jsx)(t.Fragment,{})}function eL({user:e,noLabel:a=!1,label:s=""}){let n=`${e.first_name}${e.last_name?` ${e.last_name}`:""}`;return(0,t.jsxs)("span",{children:[s,a?"":" ",void 0!==e.jersey_number&&null!==e.jersey_number&&(0,t.jsx)("strong",{children:(0,t.jsxs)("span",{className:eg.default.greyText,children:["#",e.jersey_number,"Â "]})}),(0,t.jsx)("strong",{children:n})]})}function eO({gameAction:e}){return e.user1&&!(0,s.isEmpty)(e.user1)?(0,t.jsx)("div",{children:(0,t.jsx)(eL,{user:e.user1,noLabel:!0})}):(0,t.jsx)(t.Fragment,{})}function eY({gameAction:e}){return e.user1&&!(0,s.isEmpty)(e.user1)?(0,t.jsx)(eL,{user:e.user1,label:(0,t.jsx)(u.FormattedMessage,{...m.eventPageMessages["gamesheet.action.field.goal.by"]})}):(0,t.jsx)(t.Fragment,{})}function eD({gameAction:e}){return e.user2&&!(0,s.isEmpty)(e.user2)?(0,t.jsx)(eL,{user:e.user2,label:(0,t.jsxs)("span",{children:[", ",(0,t.jsx)(u.FormattedMessage,{...m.eventPageMessages["gamesheet.action.field.assist.by"]})]})}):(0,t.jsx)(t.Fragment,{})}function eH({gameAction:e}){return e.user3&&!(0,s.isEmpty)(e.user3)?(0,t.jsx)(eL,{user:e.user3,label:(0,t.jsxs)("span",{children:[", ",(0,t.jsx)(u.FormattedMessage,{...m.eventPageMessages["gamesheet.action.field.and.assist.by"]})]})}):(0,t.jsx)(t.Fragment,{})}function eW({gameAction:e}){return e.user1&&!(0,s.isEmpty)(e.user1)?(0,t.jsx)("div",{children:(0,t.jsx)(eL,{user:e.user1,label:(0,t.jsxs)("span",{children:[" ",(0,t.jsx)(u.FormattedMessage,{...m.eventPageMessages["gamesheet.action.field.player.out"]})]})})}):(0,t.jsx)(t.Fragment,{})}function eK({gameAction:e}){return e.user2&&!(0,s.isEmpty)(e.user2)?(0,t.jsx)("div",{children:(0,t.jsx)(eL,{user:e.user2,label:(0,t.jsxs)("span",{children:[" ",(0,t.jsx)(u.FormattedMessage,{...m.eventPageMessages["gamesheet.action.field.player.in"]})]})})}):(0,t.jsx)(t.Fragment,{})}function eq({gameAction:e}){return e.value?(0,t.jsxs)("div",{children:[(0,t.jsx)(u.FormattedMessage,{...m.eventPageMessages["gamesheet.action.field.suspension.time"]}),": ",e.value]}):(0,t.jsx)(t.Fragment,{})}function ez({gameAction:e,templateId:a,game:s,phase:n}){let i=`${o.gamesAndStandingsImageUrl}actions/`,r=[1,2,7,8,9,13,18].includes(Number(a)),l=Math.floor(e.time/60),d=e.time%60;return(0,t.jsxs)("div",{className:(0,em.default)(eg.default.actionTime,r&&eg.default.actionTimeBlue),
2children:[(0,t.jsxs)("div",{children:[(0,t.jsx)(e2,{gameAction:e,game:s,phase:n}),l,"'",d.toString().padStart(2,"0"),"''",e.additional_time?(0,t.jsxs)("span",{children:[`+${e.additional_time}`,"'"]}):""]}),e.scene_action_type.icon?(0,t.jsx)("div",{children:(0,t.jsx)("img",{src:`${i}${e.scene_action_type.icon}`,className:eg.default.actionLogo,alt:""})}):""]})}function eQ({children:e,comment:a}){return(0,t.jsxs)("div",{className:eg.default.commentsLayout,children:[(0,t.jsx)("div",{children:e}),(0,t.jsx)("p",{className:eg.default.comment,children:a||""})]})}function eX({gameAction:e,game:a,categories:s,translations:n}){let i=[e,...e.children];return(0,t.jsxs)("div",{children:[(0,t.jsx)(ek,{game:a,gameAction:i[i.length-1],categories:s,translations:n,withDash:!1}),(0,t.jsx)("div",{className:eg.default.sequenceActionsContainerItems,children:i.map((e,a)=>(0,t.jsxs)("div",{className:eg.default.sequenceActionsContainerItem,children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("span",{children:(0,t.jsx)("strong",{children:e.scene_action_type?.translate})}),a<i.length-1&&(0,t.jsx)(eo,{fontSize:"small"})]}),(0,t.jsx)("div",{children:(0,t.jsx)(eV,{action:e})})]},"sequence-action-summary-item__"+e.id))})]})}function eV({action:e}){let a={user1:e.user1,user2:e.user2,user3:e.user3,value:e.value,down:e.down,yard_line:e.yard_line,distance:e.distance,line_of_scrimmage:e.line_of_scrimmage,comment:e.comment};return(0,t.jsxs)("div",{children:[a.user1&&(0,t.jsx)("div",{children:(0,t.jsx)(eL,{user:a.user1,label:(0,t.jsx)(eJ,{action:e})})}),a.user2&&(0,t.jsx)("div",{children:(0,t.jsx)(eL,{user:a.user2,label:(0,t.jsx)(e0,{action:e})})}),a.user3&&(0,t.jsx)("div",{children:(0,t.jsx)(eL,{user:a.user3,label:(0,t.jsx)(u.FormattedMessage,{...eB.player})})}),a.value&&(0,t.jsx)("div",{children:(0,t.jsx)(eZ,{propertyName:null,value:a.value})}),a.comment&&(0,t.jsx)("div",{children:(0,t.jsx)(eZ,{propertyName:null,value:a.comment})}),("number"==typeof a.line_of_scrimmage||"string"==typeof a.line_of_scrimmage)&&(0,t.jsx)("div",{children:(0,t.jsx)(eZ,{propertyName:(0,t.jsx)(u.FormattedMessage,{...eB["gamesheet.action.field.line_of_scrimmage"]}),value:a.line_of_scrimmage})}),("number"==typeof a.down||"string"==typeof a.down)&&(0,t.jsx)("div",{children:(0,t.jsx)(eZ,{propertyName:(0,t.jsx)(u.FormattedMessage,{...eB["gamesheet.action.field.down"]}),value:a.down})}),("number"==typeof a.yard_line||"string"==typeof a.yard_line)&&(0,t.jsx)("div",{children:(0,t.jsx)(eZ,{propertyName:(0,t.jsx)(e1,{action:e}),value:a.yard_line})}),("number"==typeof a.distance||"string"==typeof a.distance)&&(0,t.jsx)("div",{children:(0,t.jsx)(eZ,{propertyName:(0,t.jsx)(u.FormattedMessage,{...w.sectionMessages["i_s_competition.distance"]}),value:a.distance})})]})}function eZ({propertyName:e,value:a}){return(0,t.jsxs)("div",{children:[e&&(0,t.jsx)("span",{children:e}),e?":":""," ",(0,t.jsx)("span",{children:(0,t.jsx)("strong",{children:a})})]})}function eJ({action:e}){return["57"].includes(e.scene_action_type.template)?(0,t.jsx)(u.FormattedMessage,{...eB["gamesheet.action.field.player.out"]}):["24","26","27","28","38"].includes(e.scene_action_type.template)?(0,t.jsx)(u.FormattedMessage,{...eB["gamesheet.kicker"]}):["31","32"].includes(e.scene_action_type.template)?(0,t.jsx)(u.FormattedMessage,{...eB["gamesheet.passer"]}):["29"].includes(e.scene_action_type.template)?(0,t.jsx)(u.FormattedMessage,{...eB["gamesheet.punter"]}):["34"].includes(e.scene_action_type.template)?(0,t.jsx)(u.FormattedMessage,{...eB["gamesheet.intercepted_by"]}):["30"].includes(e.scene_action_type.template)?(0,t.jsx)(u.FormattedMessage,{...eB["gamesheet.rusher"]}):["33"].includes(e.scene_action_type.template)?(0,t.jsx)(u.FormattedMessage,{...eB["gamesheet.qb_sacked"]}):["40","44"].includes(e.scene_action_type.template)?(0,t.jsx)(u.FormattedMessage,{...eB["gamesheet.recovered_by"]}):["36","37"].includes(e.scene_action_type.template)?(0,t.jsx)(u.FormattedMessage,{...eB["gamesheet.returner"]}):["45"].includes(e.scene_action_type.template)?(0,t.jsx)(u.FormattedMessage,{...eB["gamesheet.tackled_by"]}):["46"].includes(e.scene_action_type.template)?(0,t.jsx)(u.FormattedMessage,{...eB["gamesheet.caught_by"]}
2):["51","53"].includes(e.scene_action_type.template)?(0,t.jsx)(u.FormattedMessage,{...eB["gamesheet.action.field.goal.by"]}):["43","52"].includes(e.scene_action_type.template)?(0,t.jsx)(u.FormattedMessage,{...eB["gamesheet.blocked_by"]}):["48","49"].includes(e.scene_action_type.template)?(0,t.jsx)(u.FormattedMessage,{...eB["gamesheet.downed_by"]}):["41","42"].includes(e.scene_action_type.template)?(0,t.jsx)(u.FormattedMessage,{...eB["gamesheet.muffed_by"]}):["54"].includes(e.scene_action_type.template)?(0,t.jsx)(u.FormattedMessage,{...eB["gamesheet.on_player"]}):["39"].includes(e.scene_action_type.template)?(0,t.jsx)(u.FormattedMessage,{...eB["gamesheet.fumbled_by"]}):(0,t.jsx)(u.FormattedMessage,{...eB.player})}function e0({action:e}){return["57"].includes(e.scene_action_type.template)?(0,t.jsx)(u.FormattedMessage,{...eB["gamesheet.action.field.player.in"]}):["34"].includes(e.scene_action_type.template)?(0,t.jsx)(u.FormattedMessage,{...eB["gamesheet.passer"]}):["31"].includes(e.scene_action_type.template)?(0,t.jsx)(u.FormattedMessage,{...eB["gamesheet.receiver"]}):["32"].includes(e.scene_action_type.template)?(0,t.jsx)(u.FormattedMessage,{...eB["gamesheet.intended_receiver"]}):["45"].includes(e.scene_action_type.template)?(0,t.jsx)(u.FormattedMessage,{...eB["gamesheet.assisted_by"]}):["39"].includes(e.scene_action_type.template)?(0,t.jsx)(u.FormattedMessage,{...eB["gamesheet.forced_by"]}):(0,t.jsx)(u.FormattedMessage,{...eB.player})}function e1({action:e}){return["22"].includes(e.scene_action_type.template)?(0,t.jsx)(u.FormattedMessage,{...eB["gamesheet.action.field.to_go"]}):["33"].includes(e.scene_action_type.template)?(0,t.jsx)(u.FormattedMessage,{...eB["gamesheet.yards_lost"]}):["34","36","37","40"].includes(e.scene_action_type.template)?(0,t.jsx)(u.FormattedMessage,{...eB["gamesheet.yards.return"]}):["46","48","49","50"].includes(e.scene_action_type.template)?(0,t.jsx)(u.FormattedMessage,{...eB["gamesheet.at_yard_line"]}):(0,t.jsx)(u.FormattedMessage,{...eB["gamesheet.yards"]})}function e2({gameAction:e,game:a,phase:s}){let{club:n}=(0,i.useClub)();return a.sport?.id===11?(0,t.jsx)("div",{children:function(){if("number"!=typeof e?.period)return"";let t="number"==typeof s?.nb_periods?s.nb_periods:4;return e?.period>t?`${er(n?.sport)}${e.period-t}`:`Q${e?.period}`}()}):(0,t.jsx)(t.Fragment,{})}function e3({gameAction:e}){return e.user1&&!(0,s.isEmpty)(e.user1)?(0,t.jsx)(eL,{user:e.user1,label:(0,t.jsx)(u.FormattedMessage,{...eB["gamesheet.intercepted_by"]})}):(0,t.jsx)(t.Fragment,{})}function e4({gameAction:e}){return e.user2&&!(0,s.isEmpty)(e.user2)?(0,t.jsx)(eL,{user:e.user2,label:(0,t.jsx)(u.FormattedMessage,{...eB["gamesheet.passer"]})}):(0,t.jsx)(t.Fragment,{})}function e6({gameAction:e,isAmericanFootballAdvanced:a,game:n,phase:i,categories:r,translations:l,...d}){if((0,s.isUndefined)(e.scene_action_type?.template))return(0,t.jsx)(t.Fragment,{});let o=Number(e.scene_action_type.template);return(0,t.jsxs)("div",{className:eg.default.action,children:[(0,t.jsx)(ez,{gameAction:e,templateId:o,game:n,phase:i}),(0,t.jsxs)("div",{className:eg.default.actionInfo,children:[a&&(0,t.jsx)(eX,{gameAction:e,game:n,categories:r,translations:l}),!a&&function(e){let{templateId:a}=e,s={1:ef,2:eh,3:ex,4:e_,5:ej,6:ep,7:ey,8:ev,9:eb,10:eM,11:eT,12:eA,13:eE,14:eI,15:ew,16:eS,17:eF,18:eN,19:eP,20:eR,21:eC,34:e$,51:eG,63:ec,65:eu}[Number(a)];if(!s)return"";let n=4===Number(a)||16===Number(a)?e.gameAction?.value:e.gameAction?.comment;return(0,t.jsx)(eQ,{comment:n,children:(0,t.jsx)(s,{...e})})}({templateId:o,gameAction:e,game:n,...d})]})]})}var e9=e.i(999583);function e5({game:e,categories:a,gameSummaryInfo:l,league:o}){let c,g,f,h,{translations:{messages:x}}=(0,r.useTranslations)(),{club:_}=(0,i.useClub)(),[p,y]=(0,d.useState)(!1),v=(0,d.useCallback)(()=>{let e=window.innerWidth<768;p!==e&&y(e)},[p]);(0,d.useEffect)(()=>(v(),window.addEventListener("resize",v),()=>{window.removeEventListener("resize",v)}),[v]);let b=e.sport?.id===11,M=b?l.sort((e,t)=>(0,ed.compare)(e.period,t.period)||-1*(0,ed.compare)(e.time,t.time)):l.sort((e,t)=>-1*(0,ed.compare)(e.time,t.time)),A=o?.game_sheet_type==="american_football_advanced",E=o?.competition_phases.find(t=>t.phase?.id===e.phase?.id);function I(s,n,i,r){return(0,t.jsxs)(F.default,{container:!0,className:e9.default.periodTableRow,children:[(0,t.jsx)(F.default,{size:5,className:e9.default.periodTableItem,children:(0,t.jsx)(k.Paragraph2,{children:(0,T.generateTagLabel)(e[`team${s}`],null,a,x,{showTeamAdditionalInfo:_?.show_team_additional_info})})}),n.map(a=>{let n=e[`score${s}_quarter${a+1}
2`];return(0,t.jsx)(F.default,{size:"grow",className:e9.default.periodTableItemCenter,children:(0,t.jsx)(k.Paragraph2,{children:"number"==typeof n?n:(0,t.jsx)("span",{className:e9.default.greyText,children:"-"})})},`score${s}-${a+1}`)}),i.map(a=>{let i=e[`score${s}_quarter${n.length+a+1}`];return(0,t.jsx)(F.default,{size:"grow",className:e9.default.periodTableItemCenter,children:(0,t.jsx)(k.Paragraph2,{children:"number"==typeof i?i:(0,t.jsx)("span",{className:e9.default.greyText,children:"-"})})},`overtime-score${s}-${a+1}`)}),r&&(0,t.jsx)(F.default,{size:"grow",className:e9.default.periodTableItemCenter,children:(0,t.jsx)(k.Paragraph2,{children:"-"})})]})}let w=!(0,s.isUndefined)(e.score1)||!(0,s.isUndefined)(e.score2)||e.score1>0||e.score2>0;return(0,s.isEmpty)(l)&&w&&0===e.nb_periods||(0,s.isEmpty)(e?.team1)||(0,s.isEmpty)(e?.team2)?(0,t.jsx)(j.default,{}):(0,t.jsxs)("div",{className:e9.default.root,children:[e.nb_periods>0&&(c=(0,el.range)(e.nb_periods),g=e.nb_extra_periods||0,f=(0,el.range)(g).some(t=>{let a=e.nb_periods+t+1;return!!e[`score1_quarter${a}`]||!!e[`score2_quarter${a}`]}),h=e.overtime||f?(0,el.range)(g):[],(0,t.jsx)("div",{className:e9.default.periodTable,children:(0,t.jsx)(G.default,{children:(0,t.jsxs)(n.default,{p:4,children:[(0,t.jsxs)(F.default,{container:!0,className:e9.default.periodTableRow,children:[(0,t.jsx)(F.default,{size:5,className:e9.default.periodTableItem,children:(0,t.jsx)(k.Paragraph2,{children:(0,t.jsx)("strong",{children:(0,t.jsx)(u.FormattedMessage,{...m.eventPageMessages["event.page.title.periods"]})})})}),c.map(e=>(0,t.jsx)(F.default,{size:"grow",className:e9.default.periodTableItemCenter,children:(0,t.jsx)(k.Paragraph2,{children:(0,t.jsx)("strong",{children:e+1})})},e)),h.map(e=>(0,t.jsx)(F.default,{size:"grow",className:e9.default.periodTableItemCenter,children:(0,t.jsx)(k.Paragraph2,{children:(0,t.jsxs)("strong",{children:[b?er(_?.sport):(0,t.jsx)(u.FormattedMessage,{...m.eventPageMessages["event.page.acronym.overtime"]}),e+1]})})},`overtime-${e}`)),!1]}),I(1,c,h,!1),I(2,c,h,!1)]})})})),!(0,s.isEmpty)(l)&&w&&(0,t.jsxs)("div",{children:[p?"":(0,t.jsx)(n.default,{pb:4,children:(0,t.jsx)(k.Headline4,{children:(0,t.jsx)(u.FormattedMessage,{id:"v3_gamesheet.game.summary",defaultMessage:"Game Summary"})})}),(0,s.isEmpty)(l)?(0,t.jsx)(k.Paragraph2,{children:(0,t.jsx)(u.FormattedMessage,{...m.eventPageMessages["gamesheet.no.information.added.message"]})}):M.map(s=>(0,t.jsx)(e6,{hasEditRight:!1,categories:a,game:e,gameAction:s,translations:x,showTeamAdditionalInfo:_?.show_team_additional_info,isAmericanFootballAdvanced:A,phase:E},`game-action-${s.id}`))]})]})}var e7=e.i(588481);function e8({gameNewsInfo:e,gameVideosInfo:a,gameGalleriesInfo:s}){let n=[...e,...a,...s];return(0,t.jsx)(e7.default,{isPage:!0,news:n})}var te=e.i(710269),tt=e.i(869423),ta=e.i(505229),ts=e.i(699056),tn=e.i(174489),ti=e.i(324101),tr=e.i(166540),tl=e.i(666967),td=e.i(295626);function to({gameInfo:e,countriesInfo:a,leagueInfo:n,categoriesInfo:i}){let l,o,c,u,g,f,h,x,_=(0,P.useIntl)(),{translations:{messages:j}}=(0,r.useTranslations)(),p=(0,Z.displayLiveStreamButton)(e);function y(){return e.facility||e.venue_lat||e.venue_lng?(0,t.jsx)("div",{className:td.default.mapRoot,children:(0,t.jsx)("div",{className:td.default.mapContent,children:(0,t.jsx)(d.Suspense,{fallback:null,children:(0,t.jsx)(tt.default,{defaultZoom:13,place:{placeId:void 0,location:e.facility?.lat&&e.facility?.lng?{lat:Number(e.facility.lat),lng:Number(e.facility.lng)}:e.venue_lat&&e.venue_lng?{lat:Number(e.venue_lat),lng:Number(e.venue_lng)}:void 0}})})})}):null}function v(e){return(0,t.jsx)("div",{className:td.default.directionBtnRoot,children:(0,t.jsx)("div",{className:td.default.mapContent,children:(0,t.jsx)("div",{children:(0,t.jsx)(te.default,{href:`http://maps.apple.com/?daddr=${encodeURI(e)}`,children:_.formatMessage(m.eventPageMessages["event.page.show.direction"])})})})})}var b=(l=(0,s.isEmpty)(n)?"":function(e,t,a){let s=e.name,n=e.category.id,i=t.find(({id:e})=>e===n);i.name&&(s+=` ${a[i.name]||""}`);let r=e.gender;if(r){let e=tn.gendersWithMixed[tn.genderIndexMap[r]].short;s+=` ${e}`}return s}(n,i,j),o=(0,ta.getVenueDescription)(e,a,j),c=e.venue_name?e.venue_name:"",u=e.officials.filter(e=>
2e.type===O.ROSTER_USER_TYPE_REFEREE),g=e.officials.filter(e=>e.type===O.ROSTER_USER_TYPE_OFFICIAL),f=e.facility,h=a?.find(e=>e.id===f?.venue_country?.id)?.translate||"",x=[f?.venue_address,f?.venue_city].filter(Boolean).join(", "),[{label:e.end_date?_.formatMessage(m.eventPageMessages["event.page.start"]):_.formatMessage(m.eventPageMessages["event.page.title.date"]),info:`${(0,tr.default)(e.start_date).format(e.end_date?ts.TIME_NO_SEC_EU_FORMAT:ts.DATE_EU_FORMAT)}`},{...!e.end_date&&e.start_date&&{label:_.formatMessage(m.eventPageMessages["event.page.title.time"]),info:`${(0,tr.default)(e.start_date).format(ts.TIME_NO_SEC_EU_FORMAT)}`}},{...e.end_date&&{label:_.formatMessage(m.eventPageMessages["event.page.end"]),info:`${(0,tr.default)(e.end_date).format(ts.DATE_EU_FORMAT)} ${(0,tr.default)(e.end_date).format(ts.TIME_NO_SEC_EU_FORMAT)}`}},{...l&&{label:_.formatMessage(m.eventPageMessages["event.page.title.league"]),info:l}},{...e.game_day&&{label:_.formatMessage(m.eventPageMessages["event.page.title.matchday"]),info:e.game_day}},{...(o||c)&&!f?.venue_address&&{label:_.formatMessage(m.eventPageMessages["event.page.title.venue"]),multiInfo:[...c?[(0,t.jsx)(k.Paragraph2,{children:c},1)]:[],...o?[(0,t.jsx)(k.Paragraph2,{children:o},1),(0,t.jsx)(y,{},"render-map"),v(o)]:[]]}},{...f?.venue_address&&{label:_.formatMessage(m.eventPageMessages["event.page.title.venue"]),multiInfo:[`${f?.name} - ${[f?.venue_address,(0,tl.getFacilityCityString)(f),h].filter(Boolean).join(", ")}`,(0,t.jsx)(y,{},"render-map"),v(x)]}},{...u.length>0&&{label:_.formatMessage(m.eventPageMessages["event.page.title.referees"]),multiInfo:u.map((e,a)=>(0,t.jsx)(k.Paragraph2,{children:`${e.position?`${e.position}: `:""}${e.full_name}`},a))}},{...g.length>0&&{label:_.formatMessage(m.eventPageMessages["event.page.title.officials"]),multiInfo:g.map((e,a)=>(0,t.jsx)(k.Paragraph2,{children:`${e.position?`${e.position}: `:""}${e.full_name}`},a))}},{..."number"==typeof e.spectators&&e.spectators>0&&{label:_.formatMessage(m.eventPageMessages["gamesheet.information.number.of.spectators"]),info:e.spectators}}]);try{return(0,t.jsxs)(t.Fragment,{children:[e.stream_link&&(0,t.jsx)("div",{className:td.default.liveStream,children:(0,t.jsx)(G.default,{children:(0,t.jsxs)("div",{className:td.default.detailsBox,children:[(0,t.jsxs)("div",{className:(0,em.default)(td.default.detailsRow,td.default.detailsRowCentered),children:[(0,t.jsx)(k.Paragraph2,{children:(0,t.jsx)("strong",{children:_.formatMessage(m.eventPageMessages["event.page.live_stream"])})}),p&&(0,t.jsxs)("a",{href:e.stream_link,target:"_blank",rel:"noreferrer",className:td.default.liveStreamButton,children:[(0,t.jsx)("div",{className:td.default.liveStreamButtonCircle}),(0,t.jsx)("span",{className:td.default.liveStreamButtonText,children:_.formatMessage(m.eventPageMessages["event.page.live"])})]})]}),(0,t.jsx)("div",{className:td.default.liveStreamMediaPreviewWrapper,children:(0,t.jsx)("a",{href:e.stream_link,target:"_blank",rel:"noreferrer",children:(0,t.jsx)("img",{src:"https://dk9pqlttm1g0o.cloudfront.net/2026-06-29-a/images/websites/live_stream_cover.png",alt:"live stream cover"})})})]})})}),(0,t.jsx)(G.default,{children:(0,t.jsx)("div",{className:td.default.detailsBox,children:b?.filter(e=>e.label).map(a=>(0,t.jsxs)("div",{className:td.default.detailsRow,children:[(0,t.jsx)("div",{className:td.default.detailsLabel,children:(0,t.jsx)(k.Paragraph2,{children:(0,t.jsx)("strong",{children:a.label})})}),(0,t.jsx)("div",{className:td.default.detailsInfo,children:a.multiInfo?a.multiInfo.map((e,a)=>(0,t.jsx)("div",{children:e},`info-details-${a}`)):(0,t.jsx)(k.Paragraph2,{children:a.info})})]},(0,ti.getListItemKey)("game-detail",e.id)))})})]})}catch(e){return(0,t.jsx)("div",{children:e})}}var tm=e.i(493351),tc=e.i(770703),tu=e.i(20004);let tg=(0,tc.default)(()=>e.A(877013),{loadableGenerated:{modules:[444472]},ssr:!1});function tf({countries:e,categories:a,game:s,league:n,summary:l,team1Stats:d,team2Stats:m,team1Roster:c,team2Roster:u,team1Staff:g,team2Staff:f,sportPositions:j,gameNews:p,gameVideos:y,gameGalleries:v,tab:b,placeholders:M,section:T,rounds:A,statsCategories:E,defaultStatsMo
2de:I,defaultStatsCategoryId:w}){let{translations:{locale:S}}=(0,r.useTranslations)(),{club:F,modes:N}=(0,i.useClub)(),R=(0,P.useIntl)();return(0,t.jsxs)("div",{className:tu.default.root,children:[!!s&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(ei,{club:F,gameInfo:s,categoriesInfo:a,translations:M[S]}),(0,t.jsx)(tg,{color:N.find(e=>e.type===T?.mode.type)?.background,sizes:[[234,60],[300,100]],classes:tu.default.adRoot,blockId:s.id,adType:"gamesheet"}),(0,t.jsx)(h,{gameId:s.id,hasGamesheetTab:!0,hasLineupTab:!0,hasMediaTab:!0,tab:b})]}),function(){switch(b){case o.GAMESHEET_TAB:return(0,t.jsx)(e5,{game:s,categories:a,gameSummaryInfo:l,league:n});case o.LINEUP_TAB:let i;return(0,t.jsx)(q,{game:s,categories:a,team1StatsInfo:d,team2StatsInfo:m,team1RosterInfo:c,team2RosterInfo:u,team1StaffInfo:g,team2StaffInfo:f,sportPositionsInfo:j,hasCaptainHidden:(i=n?.competition_phases?.find(e=>e.phase?.id===s?.phase?.id&&e?.season?.id===s?.season?.id),i?.has_captains_hidden??!1),statsCategories:E,defaultStatsMode:I,defaultStatsCategoryId:w});case o.MEDIA_TAB:return(0,t.jsx)(e8,{gameNewsInfo:p,gameVideosInfo:y,gameGalleriesInfo:v});default:return(0,t.jsxs)(t.Fragment,{children:[!!s&&(0,t.jsx)(_.default,{game:s,isGame:!0}),(0,t.jsx)(to,{gameInfo:function(e,t){let a={...e};if("number"==typeof a.round?.id||a.phase?.type==="knockout"){let e=a.round?.id||Number(a.game_day),s=t?.find(t=>t.id===e)?.name||a.game_day;return{...a,game_day:s}}return a}(s,A),countriesInfo:e,categoriesInfo:a,leagueInfo:n})]})}}(),!!s&&(0,t.jsx)(tm.default,{schema:(0,x.getGameSchema)(s,R)},"game-schema")]})}e.s(["default",0,function(e){let{placeholders:o}=e.data,{section:m}=e,{extendTranslations:c}=(0,r.useTranslations)(),{website:u}=(0,i.useClub)(),g=(0,l.useRouter)();return(0,d.useEffect)(()=>{(0,s.isEmpty)(o)||c(o)},[o]),(0,t.jsxs)(n.default,{children:[(0,t.jsx)(n.default,{pb:6,children:(0,t.jsx)(a.default,{onClick:()=>g.back(),isClubExternal:!u?.new_website})}),(0,t.jsx)(tf,{section:m,...e.data})]})}],699208)},20004,e=>{e.v({adRoot:"GameContent-module-scss-module__uub5-a__adRoot",root:"GameContent-module-scss-module__uub5-a__root"})}]); 3 4//# debugId=adf7832b-a877-6c26-b5c1-99a409bef78e
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.