PageSourceSearch

https://www.goalsfootball.co.uk/_next/static/chunks/cf42f9a605b2bc04.js

js goalsfootball.co.uk collected 2026-10-02 06:29:35 UTC 63,675 bytes, 438 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,380023,126617,e=>{"use strict";var t=e.i(391398),a=e.i(422276),s=e.i(191788),n=e.i(72279),r=e.i(203828),i=e.i(719542),o=e.i(575489),l=e.i(898597),d=e.i(17637),c=e.i(109854),u=e.i(269326),m=e.i(760814),p=e.i(818506),_=e.i(438999),h=e.i(271361),f=e.i(206789),y=e.i(802906),T=e.i(753002),g=e.i(150268),I=e.i(243952);let E=m.default.div.withConfig({displayName:"corporate-tournament-picker-widget.styles__BlockContainer",componentId:"sc-dc12d442-0"})`
2    
3`,N=m.default.div.withConfig({displayName:"corporate-tournament-picker-widget.styles__BlockContainerInner",componentId:"sc-dc12d442-1"})`
4    ${(0,I.padding)(`${y.spacing.lg}px 0`)}
5    background-color: ${T.colours.bg.trinary};
6
7    input{
8        margin-bottom:0!important;
9    }
10`,C=(0,m.default)(p.default).withConfig({displayName:"corporate-tournament-picker-widget.styles__Container",componentId:"sc-dc12d442-2"})`
11
12`,S=(0,m.default)(_.default).withConfig({displayName:"corporate-tournament-picker-widget.styles__Row",componentId:"sc-dc12d442-3"})`
13
14`,x=(0,m.default)(h.default).withConfig({displayName:"corporate-tournament-picker-widget.styles__Col",componentId:"sc-dc12d442-4"})`
15
16`,b=(0,m.default)(S).withConfig({displayName:"corporate-tournament-picker-widget.styles__TopFields",componentId:"sc-dc12d442-5"})`
17
18`;m.default.div.withConfig({displayName:"corporate-tournament-picker-widget.styles__BottomFields",componentId:"sc-dc12d442-6"})`
19    ${(0,I.marginTop)(`${y.spacing.md}px`)}
20    ${(0,I.paddingTop)(`${y.spacing.lg}px`)}
21    border-top: 1px solid ${T.colours.ui.borderDark};
22`;let R=m.default.div.withConfig({displayName:"corporate-tournament-picker-widget.styles__FieldsAside",componentId:"sc-dc12d442-7"})`
23    align-items: center;
24`,w=m.default.aside.withConfig({displayName:"corporate-tournament-picker-widget.styles__Aside",componentId:"sc-dc12d442-8"})`
25`,A=m.default.div.withConfig({displayName:"corporate-tournament-picker-widget.styles__AsideHeader",componentId:"sc-dc12d442-9"})`
26    @media(max-width: 576px) {
27        ${(0,I.marginBottom)(`${y.spacing.md}px`)}
28    }
29`,P=m.default.h2.withConfig({displayName:"corporate-tournament-picker-widget.styles__AsideTitle",componentId:"sc-dc12d442-10"})`
30    padding-bottom: 0;
31    ${(0,I.fontSize)(`${g.fontSizes.h2}px`)}
32    text-transform: uppercase;
33    color: ${T.colours.text.secondary};
34
35    &.sm {
36        ${(0,I.fontSize)(`${g.fontSizes.h3}px`)}
37    }
38`,U=m.default.h3.withConfig({displayName:"corporate-tournament-picker-widget.styles__AsideSubtitle",componentId:"sc-dc12d442-11"})`
39    padding-bottom: 0;
40    font-family: ${g.fonts.heading};
41    ${(0,I.fontSize)(`${g.fontSizes.h3}px`)}
42    text-transform: uppercase;
43    line-height: 1;
44    color: ${T.colours.text.trinary};
45`,L=(0,m.default)(S).withConfig({displayName:"corporate-tournament-picker-widget.styles__Fields",componentId:"sc-dc12d442-12"})`
46
47`;(0,m.default)(S).withConfig({displayName:"corporate-tournament-picker-widget.styles__FieldsRow",componentId:"sc-dc12d442-13"})`
48
49`;let F=(0,m.default)(x).withConfig({displayName:"corporate-tournament-picker-widget.styles__Field",componentId:"sc-dc12d442-14"})`
50    label {
51        ${(0,I.marginBottom)(`${y.spacing.sm}px !important`)}
52        color: ${T.colours.text.secondary} !important;
53    }
54`,$=m.default.div.withConfig({displayName:"corporate-tournament-picker-widget.styles__ActionsContainer",componentId:"sc-dc12d442-15"})`
55
56`,v=m.default.div.withConfig({displayName:"corporate-tournament-picker-widget.styles__Actions",componentId:"sc-dc12d442-16"})`
57    height: 100%;
58    display: flex;
59    align-items: center;
60    justify-content: flex-end;
61
62    @media (max-width: 576px) {
63        display:block;
64    }
65`,D=m.default.div.withConfig({displayName:"corporate-tournament-picker-widget.styles__Action",componentId:"sc-dc12d442-17"})`
66
67`,M=(0,m.default)(f.Button).withConfig({displayName:"corporate-tournament-picker-widget.styles__ActionButton",componentId:"sc-dc12d442-18"})`
68
69`;e.s(["CorporateTournamentPickerWidget",0,({asideTitle:e="Results",asideSubtitle:m="Company",buttonText:p="Get Results",initialWebCode:_="",redirectToPageOnClickCTA:h=!1,onClickGetResults:f=e=>null,onChangeWebCode:y=e=>null,onInputKeyPress:T=e=>null})=>{let g=(0,a.useDispatch)(),I=(0,r.useRouter)();(0,a.useSelector)(l.selectCurrentCorporateTournamentResults),(0,a.useSelector)(l.selectCurrentCorporateTournamentResultsMulti);let j=(0,a.useSelector)(l.selectCurrentCorporateTournamentWebCode),O=(0,a.useSelector)(l.selectIsLoading);(0,a.useSelector)(l.selectError),(0,a.useSelector)(i.selectCurrentBranch),(0,a.useSelector)(i.selectCurrentBranches),(0,a.useSelector)(i.selectIsLoading),(0,a.useSelector)(i.selectError);
69let[B,k]=(0,s.useState)(_?.length?_:j),H=e=>{(0,c.isNullOrWhiteSpace)(B)?(0,u.popToast)({content:"Please enter a tournament code",opts:{type:"error"}}):(g((0,o.setCurrentCorporateTournamentWebCode)(B)),g((0,o.fetchCorporateTournamentResultsStartAsync)({webCode:B})),h&&I.push(`${d.URIS.RESULTS.replace(d.URI_PLACEHOLDERS.WEBCODE,B)}`),f&&f(e))};return(0,s.useEffect)(()=>{g((0,o.setCurrentCorporateTournamentWebCode)(_)),k(_)},[_]),(0,t.jsx)(E,{children:(0,t.jsx)(N,{children:(0,t.jsx)(C,{children:(0,t.jsx)(S,{children:(0,t.jsx)(x,{className:"col-md-12",children:(0,t.jsxs)(b,{children:[(0,t.jsx)(R,{className:"col-12 col-md-10",children:(0,t.jsxs)(S,{className:"align-items-center",children:[(0,t.jsx)(w,{className:"col-16 col-md-3",children:(0,t.jsxs)(A,{children:[(0,t.jsx)(U,{children:m?.length?m:"Company"}),(0,t.jsx)(P,{className:e?.length>7?"sm":"",children:e?.length?e:"Results"})]})}),(0,t.jsx)(L,{className:"col-12 col-md-9",children:(0,t.jsx)(F,{className:"col-12 col-md-8",children:(0,t.jsx)(n.default,{defaultValue:B,value:B,placeholder:"Enter your code...",disabled:O,onChange:e=>{k(e.target.value),y&&y(e)},onKeyUp:e=>{"Enter"===e.key&&H(void 0)}})})})]})}),(0,t.jsx)($,{className:"col-12 col-md-2",children:(0,t.jsx)(v,{children:(0,t.jsx)(D,{children:(0,t.jsx)(M,{text:p?.length?p:"Get Results",disabled:O,onClick:H})})})})]})})})})})})}],380023);var j=e.i(834492),O=e.i(523986),B=e.i(601587),k=e.i(722685),H=e.i(126019),Y=e.i(805315);let X=m.default.div.withConfig({displayName:"corporate-tournament-final-results-summary.styles__Container",componentId:"sc-b6202f7-0"})`
70
71`,G=(0,m.default)(_.default).withConfig({displayName:"corporate-tournament-final-results-summary.styles__Row",componentId:"sc-b6202f7-1"})`
72    justify-content: space-between;
73`,K=(0,m.default)(h.default).withConfig({displayName:"corporate-tournament-final-results-summary.styles__Col",componentId:"sc-b6202f7-2"})`
74
75`;m.default.div.withConfig({displayName:"corporate-tournament-final-results-summary.styles__WinnerBanner",componentId:"sc-b6202f7-3"})`
76
77`,m.default.h3.withConfig({displayName:"corporate-tournament-final-results-summary.styles__WinnerBannerTitle",componentId:"sc-b6202f7-4"})`
78
79`,m.default.span.withConfig({displayName:"corporate-tournament-final-results-summary.styles__WinnerBannerTeam",componentId:"sc-b6202f7-5"})`
80
81`;let W=m.default.div.withConfig({displayName:"corporate-tournament-final-results-summary.styles__FixturesContainer",componentId:"sc-b6202f7-6"})`
82    ${e=>(0,I.marginRight)(`${!e.isRight&&e.hasPlate?y.spacing.md:0}px`)}
83    ${(0,I.marginBottom)(`${y.spacing.lg}px`)}
84    ${e=>(0,I.marginLeft)(`${e.isRight&&e.hasCup?y.spacing.md:0}px`)}
85
86    &:last-child {
87        margin-bottom: 0;
88    }
89`,Q=m.default.div.withConfig({displayName:"corporate-tournament-final-results-summary.styles__FixturesHeader",componentId:"sc-b6202f7-7"})`
90    ${(0,I.marginBottom)(`${y.spacing.md}px`)}
91    text-align: center;
92    background-color: ${T.colours.bg.black};
93`,q=m.default.h4.withConfig({displayName:"corporate-tournament-final-results-summary.styles__FixturesHeaderTitle",componentId:"sc-b6202f7-8"})`
94    ${(0,I.padding)(`${y.spacing.xs}px ${y.spacing.xs}px ${y.spacing.xs}px`)}
95    background-color: ${T.colours.bg.tableHeader};
96`,z=m.default.h5.withConfig({displayName:"corporate-tournament-final-results-summary.styles__FixturesHeaderSubtitle",componentId:"sc-b6202f7-9"})`
97    ${(0,I.padding)(`${y.spacing.xxs}px ${y.spacing.xxs}px ${y.spacing.xxs}px`)}
98    ${(0,I.fontSize)(`${g.fontSizes.h5}px`)}
99    color: ${T.colours.text.secondary};
100`,V=m.default.ul.withConfig({displayName:"corporate-tournament-final-results-summary.styles__Fixtures",componentId:"sc-b6202f7-10"})`
101
102`,J=m.default.li.withConfig({displayName:"corporate-tournament-final-results-summary.styles__Fixture",componentId:"sc-b6202f7-11"})`
103    ${(0,I.marginBottom)(`${y.spacing.md}px`)}
104`,Z=m.default.div.withConfig({displayName:"corporate-tournament-final-results-summary.styles__FixtureDetails",componentId:"sc-b6202f7-12"})`
105
106`,ee=m.default.h4.withConfig({displayName:"corporate-tournament-final-results-summary.styles__FixtureRoundName",componentId:"sc-b6202f7-13"})`
107    padding-bottom: 0;
108    font-family: ${g.fonts.heading};
109    ${(0,I.fontSize)(`${g.fontSizes.h3Md}px`)}
110    text-align: center;
111    text-transform: uppercase;
112`,et=m.default.div.withConfig({displayName:"corporate-tournament-final-results-summary.styles__FixtureResult",componentId:"sc-b6202f7-14"})`
113
114`,ea=m.default.div.withConfig({displayName:"corporate-tournament-final-results-summary.styles__Scores",componentId:"sc-b6202f7-15"})`
115    display: flex;
116    align-items: center;
117    justify-content: center;
118    font-family: ${g.fonts.bodyBold};
119    ${(0,I.fontSize)(`${g.fontSizes.h5}px`)}
120`,es=m.default.div.withConfig({displayName:"corporate-tournament-final-results-summary.styles__ScoreSeparator",componentId:"sc-b6202f7-16"})`
121    ${(0,I.margin)(`0 ${y.spacing.xs}px`)}
122`,en=m.default.div.withConfig({displayName:"corporate-tournament-final-results-summary.styles__Team",componentId:"sc-b6202f7-17"})`
123    ${e=>e.isLast?"text-align: right":""};
124`,er=m.default.h5.withConfig({displayName:"corporate-tournament-final-results-summary.styles__TeamName",componentId:"sc-b6202f7-18"})`
125    padding-bottom: 0;
126    ${(0,I.fontSize)(`${g.fontSizes.h4}px`)}
127`,ei=m.default.div.withConfig({displayName:"corporate-tournament-final-results-summary.styles__TeamScore",componentId:"sc-b6202f7-19"})`
128
129`,eo=({results:e=null,showFinal:a=!0,showSemis:n=!0,showQuarters:r=!0,showKnockout:i=!0,showPlate:o=!0,showHeaders:l=!0})=>
129{let[d,c]=(0,s.useState)([]),[u,m]=(0,s.useState)([]),p=(0,s.useCallback)((e,a)=>(0,t.jsxs)(J,{className:"fixture",children:[(0,t.jsx)(Z,{className:"fixture-details",children:(0,t.jsx)(ee,{className:"round-name",children:e.roundName})}),(0,t.jsxs)(et,{className:"fixture-result row",children:[(0,t.jsx)(en,{className:"team-name team-1 col-md-5",children:(0,t.jsx)(er,{children:e.team1Name?.length?e.team1Name:"TBC"})}),(0,t.jsxs)(ea,{className:"result col-md-2",children:[(0,t.jsx)(ei,{className:"score",children:e.team1Score}),(0,t.jsx)(es,{className:"separator",children:"-"}),(0,t.jsx)(ei,{className:"score",children:e.team2Score})]}),(0,t.jsx)(en,{className:"team-name team-2 col-md-5",isLast:!0,children:(0,t.jsx)(er,{children:e.team2Name?.length?e.team2Name:"TBC"})})]})]},`${e.roundName}-${a}`),[]);return((0,s.useEffect)(()=>{if(!e?.knockOutMatches?.length&&!e?.plateMatches?.length)return;let t=e?.knockOutMatches?.length?[...e.knockOutMatches].sort((e,t)=>t.roundNumber-e.roundNumber):[],a=e?.hasPlate&&e?.plateMatches?.length?[...e.plateMatches].sort((e,t)=>t.roundNumber-e.roundNumber):[];t.length>1&&t[0].roundName.match(/play off/gi)&&(t=((e,t,a)=>{if(!e?.length)return e;let s=e[t];return e.splice(t,1),e.splice(a,0,s),e})(t,0,1)),c(t),m(a)},[e]),e)?(0,t.jsx)(X,{className:"tournament-results-summary",children:(0,t.jsxs)(G,{className:"justify-content-center",children:[i&&d?.length?(0,t.jsx)(K,{className:"col-12 col-md-6",children:(0,t.jsxs)(W,{className:"fixtures-container",hasCup:d.length>0&&i,hasPlate:e?.hasPlate&&o,children:[l?(0,t.jsxs)(Q,{className:"fixtures-header",children:[(0,t.jsx)(q,{className:"title",children:"Cup Stage"}),(0,t.jsx)(z,{className:"subtitle",children:"Final, Semi-Finals and Quarter Finals"})]}):null,(0,t.jsx)(V,{className:"fixtures",children:d.map((e,t)=>p(e,t))})]})}):null,o&&e?.hasPlate&&u?.length?(0,t.jsx)(K,{className:"col-12 col-md-6",children:(0,t.jsxs)(W,{className:"fixtures-container",hasCup:d.length>0&&i,hasPlate:e?.hasPlate&&o,isRight:!0,children:[l?(0,t.jsxs)(Q,{children:[(0,t.jsx)(q,{children:"Plate Stage"}),(0,t.jsx)(z,{children:"Final, Semi-Finals and Quarter Finals"})]}):null,(0,t.jsx)(V,{children:u.map((e,t)=>p(e,t))})]})}):null]})}):null};var el=e.i(579338);let ed=m.default.div.withConfig({displayName:"corporate-tournament-sponsor-details.styles__Container",componentId:"sc-2c50f931-0"})`
130
131`,ec=m.default.div.withConfig({displayName:"corporate-tournament-sponsor-details.styles__SponsorNameDesc",componentId:"sc-2c50f931-1"})`
132
133`,eu=m.default.h4.withConfig({displayName:"corporate-tournament-sponsor-details.styles__SponsorName",componentId:"sc-2c50f931-2"})`
134    padding-bottom: 0;
135`,em=m.default.div.withConfig({displayName:"corporate-tournament-sponsor-details.styles__SponsorDesc",componentId:"sc-2c50f931-3"})`
136
137`,ep=m.default.figure.withConfig({displayName:"corporate-tournament-sponsor-details.styles__SponsorImageContainer",componentId:"sc-2c50f931-4"})`
138    position: relative;
139`,e_=({results:e=null})=>{if(!e)return null;let{sponsorName:a,sponsorText:s,sponsorImage:n}=e;return(0,t.jsxs)(ed,{children:[n?.length?(0,t.jsx)(ep,{children:(0,t.jsx)(H.default,{src:n,alt:"Sponsor Logo",layout:"fill",loader:el.default})}):null,(0,t.jsxs)(ec,{children:[a?.length?(0,t.jsx)(eu,{children:a}):null,s?.length?(0,t.jsx)(em,{dangerouslySetInnerHTML:{__html:(0,k.autop)(s)}}):null]})]})};var eh=e.i(481590);let ef=m.default.div.withConfig({displayName:"league-division-fixtures-multi.styles__Container",componentId:"sc-fac4ba2f-0"})`
140
141`,ey=m.default.ul.withConfig({displayName:"league-division-fixtures-multi.styles__List",componentId:"sc-fac4ba2f-1"})`
142
143`,eT=m.default.li.withConfig({displayName:"league-division-fixtures-multi.styles__ItemContainer",componentId:"sc-fac4ba2f-2"})`
144
145`,eg=m.default.p.withConfig({displayName:"league-division-fixtures-multi.styles__NoResultsTitle",componentId:"sc-fac4ba2f-3"})`
146    ${(0,I.padding)(`${y.spacing.md}px`)}
147`,eI=({items:e=[],noResultsTitle:a="No fixtures available"})=>(0,t.jsx)(ef,{children:e.length?(0,t.jsx)(ey,{children:e.map((e,a)=>(0,t.jsx)(eT,{children:(0,t.jsx)(eh.LeagueDivisionFixtures,{...e})},`${e.division?.id}-${a}`))}):(0,t.jsx)(eg,{children:a})});var eE=e.i(574331);let eN=m.default.div.withConfig({displayName:"corporate-tournament-download-l
147inks.styles__Container",componentId:"sc-43ae59a6-0"})`
148
149`,eC=m.default.ul.withConfig({displayName:"corporate-tournament-download-links.styles__List",componentId:"sc-43ae59a6-1"})`
150    ${e=>e.isLast?"":`${(0,I.marginBottom)(`${y.spacing.md}px`)}`};
151    display: flex;
152    justify-content: center;
153`,eS=m.default.li.withConfig({displayName:"corporate-tournament-download-links.styles__ItemContainer",componentId:"sc-43ae59a6-2"})`
154    ${(0,I.marginRight)(`${y.spacing.md}px`)}
155
156    &:last-child { 
157        margin-right: 0;
158    }
159`,ex=m.default.a.withConfig({displayName:"corporate-tournament-download-links.styles__ActionButton",componentId:"sc-43ae59a6-3"})`
160    ${(0,I.borderRadius)(`${y.spacing.xl}px`)}
161    overflow: hidden;
162`,eb=({results:e=null,webCode:a="",showDownloadKnockoutsButton:s=!1,showPrintButton:n=!1,showDownloadButton:r=!0,onClick:i=null})=>{if(!e)return null;let o=(e,t)=>{i&&i(e,t)};return(0,t.jsxs)(eN,{children:[s?(0,t.jsx)(eC,{children:(0,t.jsx)(eS,{children:(0,t.jsx)(ex,{href:(0,eE.getTournamentReportLink)({tournamentId:e.id,reportType:"fixture-knockouts"}),target:"_blank",className:"button",onClick:t=>o(t,(0,eE.getTournamentReportLink)({tournamentId:e.id,reportType:"fixture-knockouts"})),children:"Download Knockouts"})})}):null,n||r?(0,t.jsxs)(eC,{isLast:!0,children:[n?(0,t.jsx)(eS,{children:(0,t.jsx)(ex,{href:(0,eE.getTournamentReportLink)({tournamentId:e.id,reportType:"fixture-list"}),target:"_blank",className:"button",onClick:t=>o(t,(0,eE.getTournamentReportLink)({tournamentId:e.id,reportType:"fixture-list"})),children:"Print All"})}):null,r&&a?.length?(0,t.jsx)(eS,{children:(0,t.jsx)(ex,{href:(0,eE.getDownloadAllLink)(a),target:"_blank",className:"button",onClick:e=>o(e,(0,eE.getDownloadAllLink)(a)),children:"Download All"})}):null]}):null]})};var eR=e.i(883063);let ew=m.default.div.withConfig({displayName:"corporate-tournament-results-widget.styles__BlockContainer",componentId:"sc-94e91be4-0"})`
163    ${e=>e.isLoading?"opacity: 0.5":""};
164`;(0,m.default)(p.default).withConfig({displayName:"corporate-tournament-results-widget.styles__Container",componentId:"sc-94e91be4-1"})`
165
166`;let eA=(0,m.default)(_.default).withConfig({displayName:"corporate-tournament-results-widget.styles__Row",componentId:"sc-94e91be4-2"})`
167
168`,eP=(0,m.default)(h.default).withConfig({displayName:"corporate-tournament-results-widget.styles__Col",componentId:"sc-94e91be4-3"})`
169
170`,eU=m.default.div.withConfig({displayName:"corporate-tournament-results-widget.styles__TournamentDetails",componentId:"sc-94e91be4-4"})`
171
172`,eL=m.default.div.withConfig({displayName:"corporate-tournament-results-widget.styles__HeaderDesc",componentId:"sc-94e91be4-5"})`
173
174`,eF=m.default.div.withConfig({displayName:"corporate-tournament-results-widget.styles__Header",componentId:"sc-94e91be4-6"})`
175
176`,e$=m.default.h3.withConfig({displayName:"corporate-tournament-results-widget.styles__Title",componentId:"sc-94e91be4-7"})`
177    padding-bottom: 0;
178`,ev=m.default.h4.withConfig({displayName:"corporate-tournament-results-widget.styles__Subtitle",componentId:"sc-94e91be4-8"})`
179
180`,eD=m.default.div.withConfig({displayName:"corporate-tournament-results-widget.styles__Description",componentId:"sc-94e91be4-9"})`
181
182`,eM=m.default.figure.withConfig({displayName:"corporate-tournament-results-widget.styles__LogoContainer",componentId:"sc-94e91be4-10"})`
183    position: relative;
184`,ej=m.default.div.withConfig({displayName:"corporate-tournament-results-widget.styles__WinnerBanner",componentId:"sc-94e91be4-11"})`
185    ${(0,I.marginBottom)(`${y.spacing.lg}px`)}
186    ${(0,I.padding)(`${y.spacing.md}px`)}
187    background-color: ${T.colours.ui.primary};
188    text-align: center;
189`,eO=m.default.h3.withConfig({displayName:"corporate-tournament-results-widget.styles__WinnerBannerTitle",componentId:"sc-94e91be4-12"})`
190    padding-bottom: 0;
191`,eB=m.default.span.withConfig({displayName:"corporate-tournament-results-widget.styles__WinnerBannerTeam",componentId:"sc-94e91be4-13"})`
192
193`,ek=m.default.div.withConfig({displayName:"corporate-tournament-results-widget.styles__TournamentMeta",componentId:"sc-94e91be4-14"})`
194    ${(0,I.marginBottom)(`${y.spacing.xl}px`)}
195    ${(0,I.padding)(`${y.spacing.lg}px 0`)}
196    border-top: 1px solid ${T.colours.ui.borderMd};
197    border-bottom: 1px solid ${T.colours.ui.borderMd};
198`,eH=(0,m.default)(ek).withConfig({displayName:"corporate-tournament-results-widget.styles__FinalResultsMeta",componentId:"sc-94e91be4-15"})`
199    margin-bottom: 0;
200    border-bottom: none;
201`;m.default.h5.withConfig({displayName:"corporate-tournament-results-widget.styles__TournamentMetaTitle",componentId:"sc-94e91be4-16"})`
202    padding-bottom: 0;
203    font-family: ${g.fonts.heading};
204    ${(0,I.fontSize)(`${g.fontSizes.h3Md}px`)}
205    text-align: center;
206    text-transform: uppercase;
207`,m.default.ul.withConfig({displayName:"corporate-tournament-results-widget.styles__TournamentMetaList",componentId:"sc-94e91be4-17"})`
208
209`,m.default.li.withConfig({displayName:"corporate-tournament-results-widget.styles__Item
209Container",componentId:"sc-94e91be4-18"})`
210    display: flex;
211    justify-content: space-between;
212`,m.default.span.withConfig({displayName:"corporate-tournament-results-widget.styles__Label",componentId:"sc-94e91be4-19"})`
213    font-family: ${g.fonts.bodyBold};
214`,m.default.span.withConfig({displayName:"corporate-tournament-results-widget.styles__Value",componentId:"sc-94e91be4-20"})`
215
216`,m.default.div.withConfig({displayName:"corporate-tournament-results-widget.styles__FinalFixture",componentId:"sc-94e91be4-21"})`
217    width: 100%;
218    display: flex;
219    justify-content: space-between;
220`,m.default.div.withConfig({displayName:"corporate-tournament-results-widget.styles__Scores",componentId:"sc-94e91be4-22"})`
221    ${(0,I.margin)(`0 ${y.spacing.md}px`)}
222    display: flex;
223`,m.default.div.withConfig({displayName:"corporate-tournament-results-widget.styles__ScoreSeparator",componentId:"sc-94e91be4-23"})`
224    ${(0,I.margin)(`0 ${y.spacing.xs}px`)}
225`,m.default.div.withConfig({displayName:"corporate-tournament-results-widget.styles__Team",componentId:"sc-94e91be4-24"})`
226    ${e=>e.isLast?"text-align: right":""};
227`,m.default.h5.withConfig({displayName:"corporate-tournament-results-widget.styles__TeamName",componentId:"sc-94e91be4-25"})`
228
229`,m.default.div.withConfig({displayName:"corporate-tournament-results-widget.styles__TeamScore",componentId:"sc-94e91be4-26"})`
230
231`;let eY=m.default.div.withConfig({displayName:"corporate-tournament-results-widget.styles__KnockoutDownloadLinks",componentId:"sc-94e91be4-27"})`
232    ${(0,I.margin)(`${y.spacing.lg}px 0`)}
233`,eX=m.default.div.withConfig({displayName:"corporate-tournament-results-widget.styles__SponsorDetails",componentId:"sc-94e91be4-28"})`
234
235`;m.default.div.withConfig({displayName:"corporate-tournament-results-widget.styles__SponsorNameDesc",componentId:"sc-94e91be4-29"})`
236
237`,m.default.h4.withConfig({displayName:"corporate-tournament-results-widget.styles__SponsorName",componentId:"sc-94e91be4-30"})`
238    padding-bottom: 0;
239`,m.default.div.withConfig({displayName:"corporate-tournament-results-widget.styles__SponsorDesc",componentId:"sc-94e91be4-31"})`
240
241`,m.default.figure.withConfig({displayName:"corporate-tournament-results-widget.styles__SponsorImageContainer",componentId:"sc-94e91be4-32"})`
242
243`,m.default.div.withConfig({displayName:"corporate-tournament-results-widget.styles__TabControls",componentId:"sc-94e91be4-33"})`
244
245`;let eG=m.default.div.withConfig({displayName:"corporate-tournament-results-widget.styles__Controls",componentId:"sc-94e91be4-34"})`
246    background-color: ${T.colours.bg.black};
247    overflow: hidden;
248`,eK=(0,m.default)(_.default).withConfig({displayName:"corporate-tournament-results-widget.styles__ControlsList",componentId:"sc-94e91be4-35"})`
249    width: 100%;
250`,eW=(0,m.default)(h.default).withConfig({displayName:"corporate-tournament-results-widget.styles__ControlItem",componentId:"sc-94e91be4-36"})`
251    
252`,eQ=m.default.button.withConfig({displayName:"corporate-tournament-results-widget.styles__Control",componentId:"sc-94e91be4-37"})`
253    width: 100%;
254    min-width: 200px;
255    ${(0,I.padding)(`${y.spacing.md}px ${y.spacing.lg}px`)}
256    text-align: center;
257    font-family: ${g.fonts.heading};
258    ${(0,I.fontSize)(`${g.fontSizes.h3Md}px`)}
259    text-transform: uppercase;
260    line-height: 1;
261    color: ${T.colours.text.secondary};
262    background-color: ${e=>e.isActive?`${T.colours.bg.greyAlt}`:`${T.colours.bg.black}`};
263    color: ${e=>e.isActive?`${T.colours.bg.black}`:`${T.colours.bg.greyAlt}`};
264    border: none;
265    border-radius:0;
266
267    overflow: hidden;
268
269    &:hover {
270        background-color: ${T.colours.bg.greyAlt};
271        color: ${T.colours.text.primary};
272    }
273    @media (max-width:991px){
274        min-width:initial;
275    }
276`,eq=m.default.span.withConfig({displayName:"corporate-tournament-results-widget.styles__ControlLabel",componentId:"sc-94e91be4-38"})`
277    @media (max-width:991px){
278        font-size:1.6rem;
279    }
280`,ez=m.default.div.withConfig({displayName:"corporate-tournament-results-widget.styles__TabsContent",componentId:"sc-94e91be4-39"})`
281    height: 100%;
282    background-color: ${T.colours.bg.greyAlt};
283`,eV=m.default.ul.withConfig({displayName:"corporate-tournament-results-widget.styles__TabsContentList",componentId:"sc-94e91be4-40"})`
284
285`,eJ=m.default.li.withConfig({displayName:"corporate-tournament-results-widget.styles__TabContent",componentId:"sc-94e91be4-41"})`
286    display: ${e=>e.isActive?"block":"none"};
287`,eZ=m.default.div.withConfig({displayName:"corporate-tournament-results-widget.styles__LeagueTableContainer",componentId:"sc-94e91be4-42"})`
288    // ${(0,I.marginBottom)(`${y.spacing.lg}px`)}
289    // ${(0,I.paddingBottom)(`${y.spacing.xs}px`)}
290    border-bottom: 1px solid ${T.colours.ui.border};
291`;e.s(["CorporateTournamentResultsWidget",0,({sortFixturesByRoundNum:e=!1})=>{let n=(0,a.useDispatch)(),r=(0,a.useSelector)(l.selectCurrentCorporateTournamentResults);(0,a.useSelector)(l.selectCurrentCorporateTournamentResultsMulti);let d=(0,a.useSelector)(l.selectCurrentCorporateTournamentWebCode);(0,a.useSelector)(l.selectCurrentCorporateTournamentLeagueDays);let u=(0,a.useSelector)(l.selectCurrentCorporateTournamentTables),m=(0,a.useSelector)(l.selectCurrentCorporateTournamentFixtures),p=(0,a.useSelector)(l.selectIsLoading);(0,a.useSelector)(l.selectError),(0,a.useSelector)(i.selectCurrentBranch),(0,a.useSelector)(i.selectCurrentBranches),(0,a.useSelector)(i.selectIsLoading),(0,a.useSelector)(i.selectError);let _=(0,eR.zeroDtTime)({dt:new Date(Date.now()),zeroHrs:!1}
291),[h,f]=(0,s.useState)(0),[y,T]=(0,s.useState)([]),[g,I]=(0,s.useState)([]),[E,N]=(0,s.useState)([]);(0,s.useEffect)(()=>{(0,c.isNullOrWhiteSpace)(d)||n((0,o.fetchCorporateTournamentResultsStartAsync)({webCode:d}))},[d]),(0,s.useEffect)(()=>{r?(n((0,o.fetchCorporateTournamentLeagueDaysStartAsync)({branchId:r.branchId})),n((0,o.fetchCorporateTournamentFixturesStartAsync)({leagueId:r.leagueId,fromDate:(0,B.subDays)(_,365),toDate:(0,j.addDays)(_,365)})),n((0,o.fetchCorporateTournamentTablesStartAsync)({leagueId:r.leagueId}))):T([])},[r]),(0,s.useEffect)(()=>{T(u)},[u]),(0,s.useEffect)(()=>{if(!m?.leagueMatch?.divisions?.length){I([]),N([]);return}let t=[],a=[];m.leagueMatch.divisions.forEach((s,n)=>{let i=s.matches,o=i?.[0];if(!o||!o?.matchDate?.length)return null;let l=(0,O.parseISO)(o.matchDate)<_,d=[...s.matches].sort((t,a)=>{let s=t.matchDate?.length?(0,O.parseISO)(t.matchDate):"",n=a.matchDate?.length?(0,O.parseISO)(a.matchDate):"";return e&&t.round>a.round||!e&&s<n?-1:e&&t.round<a.round||e&&s>n?1:0}),c={division:{...s,matches:d},leagueDay:null,league:{leagueId:r?.leagueId},showResults:l,showRoundNumber:!0,fromDate:(0,B.subDays)(_,365),toDate:(0,j.addDays)(_,365),showDivisionNoticeboardDownloadButton:!0,groupByWeek:!0};l?t.push(c):a.push(c)}),I(t),N(a)},[m]);let{branchId:C=0,branchName:S="",date:x="",description:b="",endDate:R="",hasPlate:w=!1,hoursToGo:A=0,id:P=0,knockOutDate:U="",knockOutMatches:L=[],leagueId:F=0,logo:$="",loserName:v="",loserScore:D=0,name:M="",plateMatches:X=[],sponsorImage:G="",sponsorName:K="",sponsorText:W="",status:Q=0,winnerName:q="",winnerScore:z=0}=r||{};x?.length&&(0,O.parseISO)(x),R?.length&&(0,O.parseISO)(R);let V=[{id:0,label:"Tables"},{id:1,label:"Fixtures",hide:q?.length},{id:2,label:"Results"}],J=[{id:0,contentComponent:(0,t.jsx)(t.Fragment,{children:u?.length?u.map((e,a)=>(0,t.jsx)(eZ,{className:"league-table-container",children:(0,t.jsx)(Y.LeagueTable,{leagueDay:null,league:{leagueId:r?.leagueId},table:e,rows:e.rows,showOrdinalTableHeader:!1,showLeagueDayHeader:!1,showRecentForm:!0,showTeamComparator:!0,showDivisionNoticeboardDownloadButton:!0,padLeagueHeaders:!0,padPosition:!0,padBody:!0})},`${e.id}-${a}`)):null})},{id:1,contentComponent:(0,t.jsx)(eI,{items:E,noResultsTitle:"No upcoming fixtures"}),hide:q?.length},{id:2,contentComponent:(0,t.jsx)(eI,{items:g})}];return(0,t.jsxs)(ew,{isLoading:p,children:[r?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(eU,{className:"tournament-details",children:[$?.length?(0,t.jsx)(eM,{className:"logo-container",children:(0,t.jsx)(H.default,{src:$,alt:"Tournament Logo",layout:"fill",loader:el.default})}):null,(0,t.jsxs)(eL,{className:"header-desc",children:[(0,t.jsxs)(eF,{className:"header",children:[M?.length?(0,t.jsx)(e$,{className:"title",children:M}):null,S?(0,t.jsx)(ev,{className:"subtitle",children:S}):null]}),b?.length?(0,t.jsx)(eD,{className:"description",dangerouslySetInnerHTML:{__html:(0,k.autop)(b)}}):null]})]}),0===A?(0,t.jsxs)(eH,{className:"final-results",children:[q?.length?(0,t.jsx)(eA,{className:"winner-container",children:(0,t.jsx)(eP,{className:"col-12 col-md-12",children:(0,t.jsx)(ej,{className:"winner-banner",children:(0,t.jsxs)(eO,{className:"title",children:["Congratulations to ",(0,t.jsx)(eB,{className:"team-name",children:q}),", the winner of the ",M," Tournament."]})})})}):null,(0,t.jsx)(eA,{className:"final-results-summary justify-content-center",children:(0,t.jsx)(eP,{className:"col-12 col-md-12",children:(0,t.jsx)(eo,{results:r})})}
291),(0,t.jsx)(eA,{className:"download-links justify-content-center",children:(0,t.jsx)(eP,{className:"col-12 col-md-6",children:(0,t.jsx)(eY,{children:(0,t.jsx)(eb,{results:r,webCode:d})})})})]}):null,(0,t.jsx)(eX,{className:"sponsor-details",children:(0,t.jsx)(e_,{results:r})})]}):null,(0,t.jsx)(eG,{className:"controls",children:(0,t.jsx)(eK,{children:V?.length?V.map((e,a)=>{if(e.hide)return null;let s=a===h;return(0,t.jsx)(eW,{isActive:s,className:q?.length?"col-6 col-md-6":"col-4 col-md-4",children:(0,t.jsx)(eQ,{isActive:s,onClick:e=>{f(a)},children:(0,t.jsx)(eq,{isActive:s,children:e.label})})},a)}):null})}),(0,t.jsx)(ez,{className:"tabs",children:(0,t.jsx)(eV,{children:J?.length?J.map((e,a)=>e.hide?null:(0,t.jsx)(eJ,{isActive:a===h,isTablesContent:1===a,className:"tab-content",children:e.contentComponent},a)):null})})]})}],126617)},646722,651245,e=>{"use strict";var t=e.i(503316);let a={SPIN_TO_WIN_WIDGET_ACTIVE:!1,SPIN_TO_WIN_BOOKING_TYPE_INDICES:[t.OnlineBookingType.BlockBooking,t.OnlineBookingType.CasualBooking],SPIN_TO_WIN_IFRAME_SRC:"https://locker-room.goalsfootball.co.uk/spin-to-win",SPIN_TO_WIN_BOOKING_ID_PARAM_KEY:"booking_id",SPIN_TO_WIN_FULLNAME_PARAM_KEY:"fullname",SPIN_TO_WIN_EMAIL_PARAM_KEY:"email",SPIN_TO_WIN_TELEPHONE_PARAM_KEY:"telephone",SPIN_TO_WIN_CLUB_PARAM_KEY:"club",DEVICE_TYPE:"WEB"};e.s(["SETTINGS",0,a],651245),e.s(["buildSpinToWinUrl",0,e=>{let t=new URL(a.SPIN_TO_WIN_IFRAME_SRC);if(!e)return t.toString();let s=e.telephone?.length?e.telephone:e.mobileNum;return t.searchParams.append(a.SPIN_TO_WIN_BOOKING_ID_PARAM_KEY,e.bookingId),t.searchParams.append(a.SPIN_TO_WIN_FULLNAME_PARAM_KEY,e.fullName),t.searchParams.append(a.SPIN_TO_WIN_EMAIL_PARAM_KEY,e.email),t.searchParams.append(a.SPIN_TO_WIN_TELEPHONE_PARAM_KEY,s||""),t.searchParams.append(a.SPIN_TO_WIN_CLUB_PARAM_KEY,e.branch),t.toString()},"showSpinToWinForSelectionType",0,e=>void 0!==e&&a.SPIN_TO_WIN_BOOKING_TYPE_INDICES.includes(e),"transformReviewsToCards",0,e=>e?.length?e.map(e=>e?{title:e.name,subtitle:e.club,description:e.comments,descriptionSecondary:e.rating?`${e.rating}`:"",review:e}:null).filter(e=>!!e):[]],646722)},325016,(e,t,a)=>{var s=0/0,n=/^\s+|\s+$/g,r=/^[-+]0x[0-9a-f]+$/i,i=/^0b[01]+$/i,o=/^0o[0-7]+$/i,l=parseInt,d=e.g&&e.g.Object===Object&&e.g,c="object"==typeof self&&self&&self.Object===Object&&self,u=d||c||Function("return this")(),m=Object.prototype.toString,p=Math.max,_=Math.min,h=function(){return u.Date.now()};function f(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function y(e){if("number"==typeof e)return e;if("symbol"==typeof(t=e)||t&&"object"==typeof t&&"[object Symbol]"==m.call(t))return s;if(f(e)){var t,a="function"==typeof e.valueOf?e.valueOf():e;e=f(a)?a+"":a}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(n,"");var d=i.test(e);return d||o.test(e)?l(e.slice(2),d?2:8):r.test(e)?s:+e}t.exports=function(e,t,a){var s,n,r,i,o,l,d=0,c=!1,u=!1,m=!0;if("function"!=typeof e)throw TypeError("Expected a function");function T(t){var a=s,r=n;return s=n=void 0,d=t,i=e.apply(r,a)}function g(e){var a=e-l,s=e-d;return void 0===l||a>=t||a<0||u&&s>=r}function I(){var e,a,s,n=h();if(g(n))return E(n);o=setTimeout(I,(e=n-l,a=n-d,s=t-e,u?_(s,r-a):s))}function E(e){return(o=void 0,m&&s)?T(e):(s=n=void 0,i)}function N(){var e,a=h(),r=g(a);if(s=arguments,n=this,l=a,r){if(void 0===o)return d=e=l,o=setTimeout(I,t),c?T(e):i;if(u)return o=setTimeout(I,t),T(l)}return void 0===o&&(o=setTimeout(I,t)),i}return t=y(t)||0,f(a)&&(c=!!a.leading,r=(u="maxWait"in a)?p(y(a.maxWait)||0,t):r,m="trailing"in a?!!a.trailing:m),N.cancel=function(){void 0!==o&&clearTimeout(o),d=0,s=l=n=o=void 0},N.flush=function(){return void 0===o?i:E(h())},N}},946833,e=>{"use strict";var t=e.i(388302),a=e.i(741997);let s={currentContentCache:[],currentPageModel:null,currentContentItem:null,isLoading:!1,error:null},n=(0,t.createReducer)(s,e=>e.addCase(a.resetToInitialState,(e,t)=>({...s})).addCase(a.setCurrentContentCache,(e,t)=>({...e,currentContentCache:t.payload})).addCase(a.setCurrentPageModel,(e,t)=>({...e,currentPageModel:t.payload})).addCase(a.setCurrentContentItem,(e,t)=>({...e,currentContentItem:t.payload})).addDefaultCase((e,t)=>
291e));e.s(["KEY",0,"content","default",0,n])},178244,e=>{"use strict";var t=e.i(270808),a=e.i(77412),s=e.i(279607),n=e.i(146497);let r="/Content",i={FILTER:`${r}/Filter`,GET_BY_ID:`${r}/GetById`,GET_BY_UDI:`${r}/GetByUdi`,GET_BY_UDIS:`${r}/GetByUdis`,GET_BY_URL_PATH:`${r}/GetByUrlPath`,GET_SIBLINGS:`${r}/GetSiblings`,GET_CHILDREN:`${r}/GetChildren`,GET_DESCENDANTS:`${r}/GetDescendants`,GET_HIERARCHY_META:`${r}/GetHierarchyMeta`,GET_SITEMAP_XML:`${r}/GetSitemapXml`},o=e=>e,l=e=>new Promise((r,o)=>{if(n.SETTINGS.useMocks){let t={};t||o(`Node not found for Path: ${e}`),r(t);return}(0,a.createProxyRequestAsync)({url:`${i.GET_BY_URL_PATH}`,method:s.TYPES.GET,params:{path:e},headers:{[t.PROXY_TYPE_HEADER_KEY]:t.PROXY_REQ_TYPES.CONTENT}}).then(e=>{r(e.data)}).catch(e=>{o(e)})}),d=async e=>{try{return new Promise((r,o)=>{if(n.SETTINGS.useMocks){let t={};t||o(`Nodes not found for Filter: ${e}`),r(t);return}(0,a.createProxyRequestAsync)({url:`${i.FILTER}`,method:s.TYPES.POST,headers:{[t.PROXY_TYPE_HEADER_KEY]:t.PROXY_REQ_TYPES.CONTENT},data:e}).then(e=>{r(e.data)}).catch(e=>{o(e)})}).then(o).then(e=>e).catch(e=>console.error(e?.response?.data))}catch(e){console.error(e)}},c=[404,410],u=e=>new Promise(t=>setTimeout(t,e)),m=async e=>{for(let t=1;t<=3;t++)try{return await l(e).then(o)}catch(a){if(c.includes(a?.response?.status))return void console.error(`Content API says path "${e}" does not exist (status: ${a.response.status})`,a?.response?.data);if(t<3){console.warn(`Content API request failed for path "${e}" (status: ${a?.response?.status??"none"}), retrying (attempt ${t} of 3)`),await u(750*t);continue}throw console.error(`Content API request failed for path "${e}" after 3 attempts (status: ${a?.response?.status??"none"})`,a?.message?a.message:a),a}};e.s(["getByFilterAsync",0,d,"getByUrlPathAsync",0,m],178244)},102404,367004,110911,374389,454596,e=>{"use strict";var t=e.i(388302);let a="ENQUIRIES/",s={RESET_TO_INITIAL_STATE:a+"RESET_TO_INITIAL_STATE",SET_CURRENT_ENQUIRY_EMAIL_RESPONSE:a+"SET_CURRENT_ENQUIRY_EMAIL_RESPONSE",SEND_ENQUIRY_EMAIL_START:a+"SEND_ENQUIRY_EMAIL_START",SEND_ENQUIRY_EMAIL_SUCCESS:a+"SEND_ENQUIRY_EMAIL_SUCCESS",SEND_ENQUIRY_EMAIL_FAILURE:a+"SEND_ENQUIRY_EMAIL_FAILURE",SEND_ENQUIRY_EMAIL_START_THUNK:a+"SEND_ENQUIRY_EMAIL_START_THUNK"};e.s(["default",0,s],367004);var n=e.i(77412),r=e.i(279607),i=e.i(270808),o=e.i(146497);let l={SEND_MAIL_SUCCESS_MSG:"Enquiry e-mail sent successfully",SEND_MAIL_FAILURE_MSG:"An error may have occurred while sending your e-mail",USE_MOCKS_FOR_SEND_MAIL:!1};e.s(["SETTINGS",0,l],110911);let d="/enquiry",c={CONTACT_US:"/customer-service/contact-us",SEND_ENQUIRY_MAIL:`${d}/send`,SEND_ENQUIRY_MAIL_SUCCESS:`${d}/success`};e.s(["URIS",0,c],374389);var u=e.i(460199);let m=e=>e,p=(0,t.createAction)(s.RESET_TO_INITIAL_STATE),_=(0,t.createAction)(s.SET_CURRENT_ENQUIRY_EMAIL_RESPONSE),h=(0,t.createAction)(s.SEND_ENQUIRY_EMAIL_START),f=(0,t.createAction)(s.SEND_ENQUIRY_EMAIL_SUCCESS),y=(0,t.createAction)(s.SEND_ENQUIRY_EMAIL_FAILURE),T=(0,t.createAsyncThunk)(s.SEND_ENQUIRY_EMAIL_START_THUNK,async(e,{dispatch:t})=>{try{t(h()),new Promise((t,a)=>{if(o.SETTINGS.useMocks||l.USE_MOCKS_FOR_SEND_MAIL){let s={};s||a(`Enquiry e-mail could not be sent for args: ${e}`),t(s);return}(0,n.createProxyRequestAsync)({url:c.SEND_ENQUIRY_MAIL,method:r.TYPES.POST,data:e,headers:{[i.PROXY_TYPE_HEADER_KEY]:i.PROXY_REQ_TYPES.ENQUIRY}}).then(e=>{t(e.data)}).catch(e=>{a((0,u.getProxyError)(e))})}).then(m).then(e=>{t(f(e))}).catch(e=>t(y(e)))}catch(e){console.error(e),t(y(e))}});e.s(["resetToInitialState",0,p,"sendEnquiryEmailFailure",0,y,"sendEnquiryEmailStart",0,h,"sendEnquiryEmailStartAsync",0,T,"sendEnquiryEmailSuccess",0,f,"setCurrentEnquiryEmailResponse",0,_],454596);let g={currentEnquiryEmailResponse:null,isLoading:!1,error:null},I=(0,t.createReducer)(g,e=>e.addCase(p,(e,t)=>({...g})).addCase(_,(e,t)=>({...e,currentEnquiryEmailResponse:t.payload})).addCase(h,(e,t)=>({...e,isLoading:!0,error:null})).addCase(f,(e,t)=>({...e,currentEnquiryEmailResponse:t.payload,isLoading:!1,error:null})).addCase(y,(e,t)=>({...e,currentEnquiryEmailResponse:null,isLoading:!1,error:t.payload})).addDefaultCase((e,t)=>
291e));e.s(["KEY",0,"enquiry","default",0,I],102404)},358032,e=>{"use strict";var t=e.i(503316),a=e.i(203828),s=e.i(299903),n=e.i(719278);e.s(["enquiryRedirectToSuccess",0,(e=t.InterestType.GeneralEnquiry,r)=>{let i=r||a.default,o=(0,n.getKeyByValue)(t.InterestType,e);i.push({pathname:s.SETTINGS.BRANCH_ENQUIRY_MAIL_SUCCESS_REDIRECT_URI,query:`${s.SETTINGS.BRANCH_ENQUIRY_TYPE_QUERY_PARAM_KEY}=${o||""}`})},"resolveInterestTypeIdFromLabel",0,e=>{switch(e.toLowerCase()){case t.InterestTypeLabels.GENERAL_ENQUIRY.toLowerCase():return t.InterestType.GeneralEnquiry;case t.InterestTypeLabels.FOOTBALL_BOOKING.toLowerCase():return t.InterestType.Booking;case t.InterestTypeLabels.COACHING.toLowerCase():return t.InterestType.Coaching;case t.InterestTypeLabels.CORPORATE_EVENTS.toLowerCase():return t.InterestType.CorporateEvents;case t.InterestTypeLabels.FACILITIES.toLowerCase():return t.InterestType.Facilities;case t.InterestTypeLabels.KIDS_PARTY.toLowerCase():return t.InterestType.KidsParty;case t.InterestTypeLabels.LEAGUES.toLowerCase():return t.InterestType.Leagues;case t.InterestTypeLabels.TOURNAMENTS.toLowerCase():return t.InterestType.Tournaments;case t.InterestTypeLabels.BOOK_TOURNAMENT.toLowerCase():return t.InterestType.BookTournament;case t.InterestTypeLabels.BOOK_KIDS_PARTY.toLowerCase():return t.InterestType.BookKidsParty;case t.InterestTypeLabels.LINK_TO_A_TEAM.toLowerCase():return t.InterestType.LinkToATeam;case t.InterestTypeLabels.JOIN_A_LEAGUE.toLowerCase():return t.InterestType.JoinALeague;case t.InterestTypeLabels.CALLBACK.toLowerCase():return t.InterestType.Callback;case t.InterestTypeLabels.LIVE_THE_DREAM.toLowerCase():return t.InterestType.LiveTheDream;case t.InterestTypeLabels.PRIVATE_FUNCTIONS.toLowerCase():return t.InterestType.PrivateFunctions;case t.InterestTypeLabels.BUBBLE_FOOTBALL.toLowerCase():return t.InterestType.BubbleFootball;case t.InterestTypeLabels.COMMERCIAL_ENQUIRIES.toLowerCase():return t.InterestType.CommercialEnquiry;case t.InterestTypeLabels.GIRLS_HOUR_ENQUIRIES.toLowerCase():return t.InterestType.GirlsHourEnquiry;default:return t.InterestType.GeneralEnquiry}}])},853689,e=>{"use strict";e.s(["SETTINGS",0,{DEFAULT_MAP_LAT:55.8316901,DEFAULT_MAP_LNG:-4.2784664,DEFAULT_MAP_ZOOM:17}])},953047,e=>{"use strict";var t=e.i(760814),a=e.i(818506),s=e.i(438999),n=e.i(271361),r=e.i(802906),i=e.i(243952);let o=t.default.div.withConfig({displayName:"branch.screen.styles__ScreenContainer",componentId:"sc-57e2ca60-0"})`
292
293`,l=t.default.div.withConfig({displayName:"branch.screen.styles__BannerContainer",componentId:"sc-57e2ca60-1"})`
294    ${(0,i.marginBottom)(`${r.spacing.md}px`)}
295`,d=(0,t.default)(a.default).withConfig({displayName:"branch.screen.styles__Container",componentId:"sc-57e2ca60-2"})`
296
297`,c=(0,t.default)(s.default).withConfig({displayName:"branch.screen.styles__Row",componentId:"sc-57e2ca60-3"})`
298
299`,u=(0,t.default)(n.default).withConfig({displayName:"branch.screen.styles__Col",componentId:"sc-57e2ca60-4"})`
300
301`,m=t.default.div.withConfig({displayName:"branch.screen.styles__BranchQuickBarContainer",componentId:"sc-57e2ca60-5"})`
302
303`,p=t.default.div.withConfig({displayName:"branch.screen.styles__BranchContact",componentId:"sc-57e2ca60-6"})`
304    ${(0,i.margin)(`${r.spacing.xxl}px 0`)}
305`;t.default.div.withConfig({displayName:"branch.screen.styles__FixturesSlider",componentId:"sc-57e2ca60-7"})`
306    ${(0,i.margin)(`${r.spacing.xxl}px 0`)}
307`;let _=t.default.div.withConfig({displayName:"branch.screen.styles__LeagueTables",componentId:"sc-57e2ca60-8"})`
308    ${(0,i.margin)(`${r.spacing.xxl}px 0`)}
309`,h=t.default.div.withConfig({displayName:"branch.screen.styles__LeaguePicker",componentId:"sc-57e2ca60-9"})`
310    ${(0,i.margin)(`${r.spacing.xxl}px 0`)}
311`,f=t.default.div.withConfig({displayName:"branch.screen.styles__LeagueFixturesTablesResults",componentId:"sc-57e2ca60-10"})`
312    ${(0,i.margin)(`${r.spacing.xxl}px 0`)}
313`;t.default.div.withConfig({displayName:"branch.screen.styles__Ads",componentId:"sc-57e2ca60-11"})`
314    ${(0,i.marginTop)(`${r.spacing.lg}px`)}
315`,t.default.div.withConfig({displayName:"branch.screen.styles__BranchFoodRatingWidgetContainer",componentId:"sc-57e2ca60-12"})`
316    ${(0,i.margin)(`${r.spacing.lg}px 0`)}
317`,e.s(["BannerContainer",0,l,"BranchContact",0,p,"BranchQuickBarContainer",0,m,"Col",0,u,"Container",0,d,"LeagueFixturesTablesResults",0,f,"LeaguePicker",0,h,"LeagueTables",0,_,"Row",0,c,"ScreenContainer",0,o])},481590,e=>{"use strict";var t=e.i(391398),a=e.i(191788),s=e.i(792042),n=e.i(523986),r=e.i(796858),i=e.i(760814);let o=i.default.div.withConfig({displayName:"league-fixtures.styles__Container",componentId:"sc-77fbd825-0"})`
318
319`,l=i.default.div.withConfig({displayName:"league-fixtures.styles__ContainerInner",componentId:"sc-77fbd825-1"})`
320
321`;i.default.div.withConfig({displayName:"league-fixtures.styles__LeagueDayHeader",componentId:"sc-77fbd825-2"})`
322
323`,i.default.h3.withConfig({displayName:"league-fixtures.styles__LeagueDayHeaderTitle",componentId:"sc-77fbd825-3"})`
324
325`,i.default.div.withConfig({displayName:"league-fixtures.styles__LeagueHeader",componentId:"sc-77fbd825-4"})`
326
327`,i.default.h4.withConfig({displayName:"league-fixtures.styles__LeagueHeaderTitle",componentId:"sc-77fbd825-5"})`
328
329`,i.default.div.withConfig({displayName:"league-fixtures.styles__Header",componentId:"sc-77fbd825-6"})`
330
331`,i.default.h4.withConfig({displayName:"league-fixtures.styles__Title",componentId:"sc-77fbd825-7"})`
332
333`;let d=i.default.div.withConfig({displayName:"league-fixtures.styles__Fixtures",componentId:"sc-77fbd825-8"})`
334
335`,c=({fixtures:e=[],showMatchTime:a=!0,showMatchDate:s=!1,showResc
335heduledMatchOnly:n=!1,showRoundNumber:i=!1,showResults:c=!1,showMatchStatsButton:u=!0,onClickViewStats:m=null})=>(0,t.jsx)(o,{className:"league-fixtures",children:(0,t.jsx)(l,{children:(0,t.jsx)(d,{className:"fixtures",children:e?.length&&e.map((o,l)=>o.isRescheduled&&!o.isRescheduledDate&&n?null:(0,t.jsx)(r.LeagueFixtureRow,{row:o,showResult:c,showMatchTime:a,showMatchDate:s,showRoundNumber:i,showMatchStatsButton:u,isLast:l===e.length-1,onClickViewStats:m},`item-${l}`))})})});var u=e.i(719278),m=e.i(995458),p=e.i(753002),_=e.i(150268),h=e.i(802906),f=e.i(243952);let y=i.default.div.withConfig({displayName:"league-division-fixtures.styles__Container",componentId:"sc-14db7d53-0"})`
336
337`,T=i.default.div.withConfig({displayName:"league-division-fixtures.styles__ContainerInner",componentId:"sc-14db7d53-1"})`
338
339`,g=i.default.div.withConfig({displayName:"league-division-fixtures.styles__Header",componentId:"sc-14db7d53-2"})`
340    padding: ${h.spacing.lg}px;
341    background-color: ${p.colours.bg.black};
342    color: ${p.colours.text.secondary};
343    text-transform: uppercase;
344    text-align: center;
345
346`,I=i.default.div.withConfig({displayName:"league-division-fixtures.styles__LeagueDayHeader",componentId:"sc-14db7d53-3"})`
347
348`,E=i.default.h3.withConfig({displayName:"league-division-fixtures.styles__LeagueDayHeaderTitle",componentId:"sc-14db7d53-4"})`
349    padding-bottom: ${h.spacing.sm}px;
350`;i.default.div.withConfig({displayName:"league-division-fixtures.styles__LeagueHeader",componentId:"sc-14db7d53-5"})`
351
352`,i.default.h4.withConfig({displayName:"league-division-fixtures.styles__LeagueHeaderTitle",componentId:"sc-14db7d53-6"})`
353    padding-bottom: 0;
354`;let N=i.default.div.withConfig({displayName:"league-division-fixtures.styles__DivisionHeader",componentId:"sc-14db7d53-7"})`
355    
356`,C=i.default.h4.withConfig({displayName:"league-division-fixtures.styles__DivisionHeaderTitle",componentId:"sc-14db7d53-8"})`
357    padding-bottom: 0;
358    font-family: ${_.fonts.body};
359    color: ${p.colours.text.trinary};
360
361    @media print {
362        color: ${p.colours.text.primary};
363    }
364`;i.default.div.withConfig({displayName:"league-division-fixtures.styles__LeagueDivisionNoticeboardContainer",componentId:"sc-14db7d53-9"})`
365    ${(0,f.marginTop)(`${h.spacing.md}px`)}
366`,i.default.a.withConfig({displayName:"league-division-fixtures.styles__LeagueDivisionNoticeboardDownloadButton",componentId:"sc-14db7d53-10"})`
367    ${(0,f.borderRadius)(`${h.spacing.xl}px`)}
368    overflow: hidden;
369`,i.default.h4.withConfig({displayName:"league-division-fixtures.styles__Title",componentId:"sc-14db7d53-11"})`
370
371`,i.default.div.withConfig({displayName:"league-division-fixtures.styles__FixtureGroups",componentId:"sc-14db7d53-12"})`
372
373`;let S=i.default.div.withConfig({displayName:"league-division-fixtures.styles__FixtureGroupContainer",componentId:"sc-14db7d53-13"})`
374    margin-bottom: ${h.spacing.md}px;
375`,x=i.default.div.withConfig({displayName:"league-division-fixtures.styles__FixtureGroupHeader",componentId:"sc-14db7d53-14"})`
376    text-align: center;
377`,b=i.default.h5.withConfig({displayName:"league-division-fixtures.styles__FixtureGroupHeaderTitle",componentId:"sc-14db7d53-15"})`
378    padding-bottom: 0;
379    background:#fffc00;
380    padding:10px;
381
382    text-transform:uppercase;
383    font-size:0.9rem;
384
385`,R=i.default.div.withConfig({displayName:"league-division-fixtures.styles__Fixtures",componentId:"sc-14db7d53-16"})`
386
387`,w=i.default.p.withConfig({displayName:"league-division-fixtures.styles__NoFixturesMessage",componentId:"sc-14db7d53-17"})`
388    ${(0,f.padding)(`${h.spacing.md}px`)}
389`;e.s(["LeagueDivisionFixtures",0,({division:e=null,leagueDay:r=null,league:i=null,initialFixtureGroups:o=[],showLeagueDayHeader:l=!0,showDivisionHeader:d=!0,showResults:p=!1,showRescheduledMatchOnly:_=!0,groupByWeek:h=!1,fromDate:f=null,toDate:A=null,noFixturesMessage:P="No fixtures available",showMatchStatsButton:U=!0,onClickViewStats:L=null})=>{let[F,$]=(0,a.useState)(null),[v,D]=(0,a.useState)(null),[M,j]=(0,a.useState)(o?.length?o:[]),[O,B]=(0,a.useState)([]),{name:k=null,dayOfWeek:H=null}=r||{},{leagueName:Y=null,alternateLeagueName:X=null}=i||{},{id:G=null,name:K=null}=e||{};return(0,a.useEffect)(()=>{$(f)},[f]),(0,a.useEffect)(()=>{D(A)},[A]),(0,a.useEffect)(()=>
389{if(!e?.matches?.length)return void j([]);if(!h)return void j([{division:e,matches:e.matches,round:-1,weekNum:-1}]);let t=[];(0,u.groupBy)(e.matches,e=>{let t=e.matchDate?.length?(0,n.parseISO)(e.matchDate):new Date(Date.now());return(0,s.format)(t,"yyyy-MM-dd")}).forEach((a,s)=>{t.push({division:e,matches:a,weekNum:a?.[0]?.weekNumber,round:a?.[0]?.round})}),j((0,m.sortFixtureGroupsByDate)(t))},[e]),(0,a.useEffect)(()=>{M?.length?B(M.filter((e,t)=>{let{matches:a}=e,s=a;if((null!=f||null!=A)&&(null!=f&&null!=F&&(s=s.filter(e=>{let t=e.matchDate?(0,n.parseISO)(e.matchDate):null;return t&&t>=F})),null!=A&&null!=v&&(s=s.filter(e=>{let t=e.matchDate?(0,n.parseISO)(e.matchDate):null;return t&&t<=v}))),s.length)return s}).map((e,t)=>e)):B([])},[M]),(0,t.jsx)(y,{className:"league-division-fixtures",children:(0,t.jsxs)(T,{children:[(l||d)&&(r||e)?(0,t.jsxs)(g,{className:"league-division-headers",children:[l&&r?(0,t.jsx)(I,{className:"league-division-header",children:(0,t.jsxs)(E,{className:"title",children:[k," - ",X]})}):null,d&&e?(0,t.jsx)(N,{className:"league-division-header",children:(0,t.jsx)(C,{className:"title",children:K})}):null]}):null,(0,t.jsx)(R,{className:"fixtures",children:O?.length?O.map((e,a)=>{let{matches:r,weekNum:i}=e,o=r?.length?(0,n.parseISO)(r[0].matchDate):null,l=o?(0,s.format)(o,"EEEE do MMMM yyyy"):"";return r.length?(0,t.jsxs)(S,{className:"fixture-group-container",children:[h&&(0,t.jsx)(x,{className:"fixture-group-header",children:(0,t.jsx)(b,{className:"title",children:`${o?`${l} - `:""}Week number: ${i}`})}),(0,t.jsx)(c,{fixtures:r,showRescheduledMatchOnly:_,showResults:p,showMatchStatsButton:U,onClickViewStats:L})]},`${e.division.id}-${a}`):null}):(0,t.jsx)(w,{children:P})})]})})}],481590)},796858,e=>{"use strict";var t=e.i(391398),a=e.i(792042),s=e.i(523986),n=e.i(760814),r=e.i(438999),i=e.i(271361),o=e.i(802906),l=e.i(753002),d=e.i(150268),c=e.i(243952),u=e.i(206789);let m=n.default.div.withConfig({displayName:"league-fixture-row.styles__Container",componentId:"sc-cbc2b206-0"})`
390
391`,p=n.default.div.withConfig({displayName:"league-fixture-row.styles__ContainerInner",componentId:"sc-cbc2b206-1"})`
392    ${(0,c.padding)(`${o.spacing.md}px 0`)}
393    border-bottom-width: 1px;
394    border-bottom-style: solid;
395    border-bottom-color: ${e=>e.isLast?l.colours.ui.transparent:l.colours.ui.borderDark};
396`,_=(0,n.default)(r.default).withConfig({displayName:"league-fixture-row.styles__Cells",componentId:"sc-cbc2b206-2"})`
397    justify-content: space-between;
398`,h=(0,n.default)(i.default).withConfig({displayName:"league-fixture-row.styles__Cell",componentId:"sc-cbc2b206-3"})`
399
400`,f=n.default.span.withConfig({displayName:"league-fixture-row.styles__Value",componentId:"sc-cbc2b206-4"})`
401
402`,y=n.default.span.withConfig({displayName:"league-fixture-row.styles__RescheduledLabel",componentId:"sc-cbc2b206-5"})`
403    font-family: ${d.fonts.bodyBold};
404`,T=n.default.span.withConfig({displayName:"league-fixture-row.styles__TeamNameLabel",componentId:"sc-cbc2b206-6"})`
405    font-size:2.3rem;
406    text-transform:uppercase;
407    font-family:"Dharma Gothic M W01 ExBold It";
408    @media (max-width:991px){
409        font-size:1.8rem;
410    }
411`,g=(0,n.default)(h).withConfig({displayName:"league-fixture-row.styles__Team1",componentId:"sc-cbc2b206-7"})`
412    text-align: center;
413`,I=(0,n.default)(h).withConfig({displayName:"league-fixture-row.styles__Result",componentId:"sc-cbc2b206-8"})`
414    text-align: center;
415`,E=n.default.span.withConfig({displayName:"league-fixture-row.styles__Score",componentId:"sc-cbc2b206-9"})`
416font-family:"Dharma Gothic M W01 ExBold It";
417${(0,c.fontSize)(`${d.fontSizes.h3Lg}px`)}
418line-height:1;
419`,N=n.default.span.withConfig({displayName:"league-fixture-row.styles__ScoreSeparator",componentId:"sc-cbc2b206-10"})`
420font-family:"Dharma Gothic M W01 ExBold It";
421${(0,c.fontSize)(`${d.fontSizes.h3Lg}px`)}
422line-height:1;
423
424`,C=(0,n.default)(E).withConfig({displayName:"league-fixture-row.styles__Team1Score",componentId:"sc-cbc2b206-11"})`
425
426`,S=(0,n.default)(E).withConfig({displayName:"league-fixture-row.styles__Team2Score",componentId:"sc-cbc2b206-12"})`
427
428`,x=(0,n.default)(h).withConfig({displayName:"league-fixture-row.styles__Team2",componentId:"sc-cbc2b206-13"})`
429    text-align: center;
430
431`,b=(0,n.default)(h).withConfig({displayName:"league-fixture-row.styles__MatchDate",componentId:"sc-cbc2b206-14"})`
432    display: flex;
433    flex-direction: column;
434`,R=n.default.div.withConfig({displayName:"league-fixture-row.styles__StatsActions",componentId:"sc-cbc2b206-15"})`
435
436`,w=(0,n.default)(u.Button).withConfig({displayName:"league-fixture-row.styles__StatAction",componentId:"sc-cbc2b206-16"})`
437
438`;e.s(["LeagueFixtureRow",0,({row:e,showResult:n=!1,showMatchTime:r=!0,showMatchDate:i=!1,showMatchDtOnOneLine:o=!1,showRoundNumber:l=!1,showMatchStatsButton:d=!0,isLast:c=!1,onClickViewStats:u=null})=>{if(!e)return null;let{matchId:h,matchDate:E,round:A,weekNumber:P,team1:U,team1Score:L,team2:F,team2Score:$,isPlayed:v,isCancelled:D,isRescheduled:M,isRescheduledDate:j}=e,O=E?(0,s.parseISO)(E):null,B=O?(0,a.format)(O,"kk:mm"):null,k=O?(0,a.format)(O,"dd/MM/yyyy"):null,H=async t=>{u&&u(t,e)};return(0,t.jsx)(m,{className:`league-fixture-row matchId-${h}`,isLast:c,children:(0,t.jsx)(p,{className:"league-fixture-row-inner",isLast:c,children:(0,t.jsxs)(_,{className:"cells",children:[(0,t.jsx)(g,{className:"cell team-1 col-5 col-md-4",children:(0,t.jsx)(T,{className:"team-name",children:U?U.name:""})}),(0,t.jsxs)(I,{className:"cell result col-2 col-md-4",children:[(0,t.jsxs)(f,{className:"scores",children:[n&&(0,t.jsx)(C,{className:"score",children:L}),(0,t.jsx)(N,{className:"separator",children:"-"}),n&&(0,t.jsx)(S,{className:"score",children:$})]}),(0,t.jsxs)(b,{className:"match-date",children:[M?(0,t.jsx)(y,{className:"dt",children:j?"Rescheduled Date":"Rescheduled Below To"}):null,D?(0,t.jsx)(y,{className:"dt",children:"Cancelled"}):null,!o&&i?(0,t.jsx)(f,{className:"dt",children:k}):null,!o&&r?(0,t.jsx)(f,{className:"dt",children:B}):null,O&&o?(0,t.jsx)(f,{className:"dt",children:`${k} ${B}`}):null,l?(0,t.jsxs)(f,{className:"round",children:["Round: ",A]}):null]}),d&&O&&O.getTime()<new Date(Date.now()).getTime()&&v&&!D?(0,t.jsx)(R,{className:"stats-actions",children:(0,t.jsx)(w,{text:"View Stats",onClick:H})}):null]}),(0,t.jsx)(x,{className:"col-5 col-md-4",children:(0,t.jsx)(T,{className:"team-name",children:F?F.name:""})})]})})})}],796858)},46457,213026,e=>{"use strict";let t="FIXTURE/",a={RESET_TO_INITIAL_STATE:t+"RESET_TO_INITIAL_STATE",SET_CURRENT_FIXTURE:t+"SET_CURRENT_FIXTURE",UPDATE_FIXTURE_ATTENDANCE_START:t+"UPDATE_FIXTURE_ATTENDANCE_START",UPDATE_FIXTURE_ATTENDANCE_SUCCESS:t+"UPDATE_FIXTURE_ATTENDANCE_SUCCESS",UPDATE_FIXTURE_ATTENDANCE_FAILURE:t+"UPDATE_FIXTURE_ATTENDANCE_FAILURE",UPDATE_FIXTURE_ATTENDANCE_START_THUNK:t+"UPDATE_FIXTURE_ATTENDANCE_START_THUNK",SET_CURRENT_FIXTURE_LINEUP:t+"SET_CURRENT_FIXTURE_LINEUP",FETCH_FIXTURE_LINEUP_START:t+"FETCH_FIXTURE_LINEUP_START",FETCH_FIXTURE_LINEUP_SUCCESS:t+"FETCH_FIXTURE_LINEUP_SUCCESS",FETCH_FIXTURE_LINEUP_FAILURE:t+"FETCH_FIXTURE_LINEUP_FAILURE",FETCH_FIXTURE_LINEUP_START_THUNK:t+"FETCH_FIXTURE_LINEUP_START_THUNK",UPDATE_FIXTURE_LINEUP_START:t+"UPDATE_FIXTURE_LINEUP_START",UPDATE_FIXTURE_LINEUP_SUCCESS:t+"UPDATE_FIXTURE_LINEUP_SUCCESS",UPDATE_FIXTURE_LINEUP_FAILURE:t+"UPDATE_FIXTURE_LINEUP_FAILURE",UPDATE_FIXTURE_LINEUP_START_THUNK:t+"UPDATE_FIXTURE_LINEUP_START_THUNK",FETCH_BREAKDOWN_START:t+"FETCH_BREAKDOWN_START",FETCH_BREAKDOWN_SUCCESS:t+"FETCH_BREAKDOWN_SUCCESS",FETCH_BREAKDOWN_FAILURE:t+"FETCH_BREAKDOWN_FAILURE",FETCH_BREAKDOWN_START_THUNK:t+"FETCH_BREAKDOWN_START_THUNK",SET_CURRENT_FIXTURE_STATS_RES:t+"SET_CURRENT_FIXTURE_STATS_RES",SET_CURRENT_FIXTURE_STATS_CACHE:t+"SET_CURRENT_FIXTURE_STATS_CACHE",FETCH_FIXTURE_STATS_START:t+"FETCH_FIXTURE_STATS_START",FETCH_FIXTURE_STATS_SUCCESS:t+"FETCH_FIXTURE_STATS_SUCCESS",FETCH_FIXTURE_STATS_FAILURE:t+"FETCH_FIXTURE_STATS_FAILURE",FETCH_FIXTURE_STATS_START_THUNK:t+"FETCH_FIXTURE_STATS_START_THUNK"};e.s(["default",0,a],213026);var s=e.i(388302),n=e.i(77412),r=e.i(279607),i=e.i(270808),o=e.i(146497);let l="/fixtures",d="{fixtureId}",c={UPDATE_ATTENDANCE:`${l}/${d}
438/attendance`,GET_LINEUP:`${l}/${d}/lineup`,MANAGE_LINEUP:`${l}/${d}/lineup`,GET_BREAKDOWN:`${l}/${d}/breakdown`,GET_STATS:`${l}/stats`};var u=e.i(503316),m=e.i(460199);let p=e=>e,_=e=>e,h=e=>e,f=e=>e,y=e=>e,T=(0,s.createAction)(a.RESET_TO_INITIAL_STATE),g=(0,s.createAction)(a.SET_CURRENT_FIXTURE),I=(0,s.createAction)(a.UPDATE_FIXTURE_ATTENDANCE_START),E=(0,s.createAction)(a.UPDATE_FIXTURE_ATTENDANCE_SUCCESS),N=(0,s.createAction)(a.UPDATE_FIXTURE_ATTENDANCE_FAILURE);(0,s.createAsyncThunk)(a.UPDATE_FIXTURE_ATTENDANCE_START_THUNK,async(e,{dispatch:t})=>{try{t(I()),new Promise((t,a)=>{if(o.SETTINGS.useMocks){let s={};s||a(`Could not update fixture attendance for args: ${e}`),t(s);return}(0,n.createProxyRequestAsync)({url:c.UPDATE_ATTENDANCE.replace(d,e.fixtureId?.toString()),method:r.TYPES.PUT,data:e,headers:{[i.PROXY_TYPE_HEADER_KEY]:i.PROXY_REQ_TYPES.API}}).then(e=>{t(e.data)}).catch(e=>{a((0,m.getProxyError)(e))})}).then(p).then(e=>{t(E(e))}).catch(e=>t(N(e)))}catch(e){console.error(e),t(N(e))}});let C=(0,s.createAction)(a.SET_CURRENT_FIXTURE_LINEUP),S=(0,s.createAction)(a.FETCH_FIXTURE_LINEUP_START),x=(0,s.createAction)(a.FETCH_FIXTURE_LINEUP_SUCCESS),b=(0,s.createAction)(a.FETCH_FIXTURE_LINEUP_FAILURE),R=(0,s.createAsyncThunk)(a.FETCH_FIXTURE_LINEUP_START_THUNK,async(e,{dispatch:t})=>{try{t(S()),new Promise((t,a)=>{if(o.SETTINGS.useMocks){let s={};s||a(`Could not get fixture lineup for args: ${e}`),t(s);return}(0,n.createProxyRequestAsync)({url:c.GET_LINEUP.replace(d,e.fixtureId?.toString()),method:r.TYPES.GET,headers:{[i.PROXY_TYPE_HEADER_KEY]:i.PROXY_REQ_TYPES.API}}).then(e=>{t(e.data)}).catch(e=>{a((0,m.getProxyError)(e))})}).then(_).then(e=>{t(x(e))}).catch(e=>t(b(e)))}catch(e){console.error(e),t(b(e))}}),w=(0,s.createAction)(a.UPDATE_FIXTURE_LINEUP_START),A=(0,s.createAction)(a.UPDATE_FIXTURE_LINEUP_SUCCESS),P=(0,s.createAction)(a.UPDATE_FIXTURE_LINEUP_FAILURE);(0,s.createAsyncThunk)(a.UPDATE_FIXTURE_LINEUP_START_THUNK,async(e,{dispatch:t})=>{try{t(w()),new Promise((t,a)=>{if(o.SETTINGS.useMocks){let s={};s||a(`Could not manage fixture lineup for args: ${e}`),t(s);return}(0,n.createProxyRequestAsync)({url:c.MANAGE_LINEUP.replace(d,e.fixtureId?.toString()),method:r.TYPES.POST,data:e,headers:{[i.PROXY_TYPE_HEADER_KEY]:i.PROXY_REQ_TYPES.API}}).then(e=>{t(e.data)}).catch(e=>{a((0,m.getProxyError)(e))})}).then(h).then(e=>{t(A(e))}).catch(e=>t(P(e)))}catch(e){console.error(e),t(P(e))}});let U=(0,s.createAction)(a.FETCH_BREAKDOWN_START),L=(0,s.createAction)(a.FETCH_BREAKDOWN_SUCCESS),F=(0,s.createAction)(a.FETCH_BREAKDOWN_FAILURE);(0,s.createAsyncThunk)(a.FETCH_BREAKDOWN_START_THUNK,async(e,{dispatch:t})=>{try{t(U()),new Promise((t,a)=>{if(o.SETTINGS.useMocks){let s={};s||a(`Could not get fixture breakdown for args: ${e}`),t(s);return}(0,n.createProxyRequestAsync)({url:c.GET_BREAKDOWN.replace(d,e.fixtureId?.toString()),method:r.TYPES.GET,data:e,headers:{[i.PROXY_TYPE_HEADER_KEY]:i.PROXY_REQ_TYPES.API}}).then(e=>{t(e.data)}).catch(e=>{a((0,m.getProxyError)(e))})}).then(f).then(e=>{t(L(e))}).catch(e=>t(F(e)))}catch(e){console.error(e),t(F(e))}});let $=(0,s.createAction)(a.SET_CURRENT_FIXTURE_STATS_RES),v=(0,s.createAction)(a.SET_CURRENT_FIXTURE_STATS_CACHE),D=(0,s.createAction)(a.FETCH_FIXTURE_STATS_START),M=(0,s.createAction)(a.FETCH_FIXTURE_STATS_SUCCESS),j=(0,s.createAction)(a.FETCH_FIXTURE_STATS_FAILURE),O=(0,s.createAsyncThunk)(a.FETCH_FIXTURE_STATS_START_THUNK,async(e,{dispatch:t})=>{try{t(D()),new Promise((t,a)=>{if(o.SETTINGS.useMocks){let s={branchId:e.branchId,fixtureId:e.fixtureId,leagueMatchId:e.matchRRId??0,homeTeamStats:{fixtureId:e.fixtureId,branchId:e.branchId,teamId:1,team:{id:0,vTeamId:0,name:"Foo Team",goldStars:5,silverStars:10},lineUp:[{name:"Foo Player",isCaptain:!0,isPlayingInMatch:!0,hasPaid:!0,memberId:0,playerMemberId:0},{name:"Foo Player #2",isCaptain:!0,isPlayingInMatch:!0,hasPaid:!0,memberId:0,playerMemberId:0},{name:"Foo Player #3",isCaptain:!0,isPlayingInMatch:!0,hasPaid:!0,memberId:0,playerMemberId:0},{name:"Foo Player #4",isCaptain:!0,isPlayingInMatch:!0,hasPaid:!0,memberId:0,playerMemberId:0},{name:"Foo Player #5",isCaptain:!0,isPlayingInMatch:!0,hasPaid:!0,memberId:0,playerMemberId:0}],scorers:[{matchRRId:0,memberId:0,isHomeTeam:!0,matchStatType:u.MatchStatType.Goal,userId:0,player:{name:"Foo Player",isCaptain:!0,isPlayingInMatch:!0,hasPaid:!0,memberId:0,playerMemberId:0}}],ownGoalScorers:[{matchRRId:0,memberId:0,isHomeTeam:!0,matchStatType:u.MatchStatType.OwnGoal,userId:0,player:{name:"Foo Player",isCaptain:!0,isPlayingInMatch:!0,hasPaid:!0,memberId:0,playerMemberId:0}}],yellowCards:[{matchRRId:0,memberId:0,isHomeTeam:!0,matchStatType:u.MatchStatType.YellowCard,userId:0,player:{name:"Foo Player",isCaptain:!0,isPlayingInMatch:!0,hasPaid:!0,memberId:0,playerMemberId:0}}],redCards:[{matchRRId:0,memberId:0,isHomeTeam:!0,matchStatType:u.MatchStatType.RedCard,userId:0,player:{name:"Foo Player",isCaptain:!0,isPlayingInMatch:!0,hasPaid:!0,memberId:0,playerMemberId:0}}],played:[{matchRRId:0,memberId:0,isHomeTeam:!0,matchStatType:u.MatchStatType.Played,userId:0,player:{name:"Foo Player",isCaptain:!0,isPlayingInMatch:!0,hasPaid:!0,memberId:0,playerMemberId:0}}],subs:[{matchRRId:0,memberId:0,isHomeTeam:!0,matchStatType:u.MatchStatType.Sub,userId:0,player:{name:"Foo Player",isCaptain:!0,isPlayingInMatch:!0,hasPaid:!0,memberId:0,playerMemberId:0}}],playersOfTheMatch:[{matchRRId:0,memberId:0,isHomeTeam:!0,matchStatType:u.MatchStatType.POTM,userId:0,player:{name:"Foo Player",isCaptain:!0,isPlayingInMatch:!0,hasPaid:!0,memberId:0,playerMemberId:0}}]},awayTeamStats:{fixtureId:e.fixtureId,branchId:e.branchId,teamId:1,team:{id:0,vTeamId:0,name:"Bar Team",goldStars:5,silverStars:10},lineUp:[{name:"Bar Player",isCaptain:!0,isPlayingInMatch:!0,hasPaid:!0,memberId:0,playerMemberId:0},{name:"Bar Player #2",isCaptain:!0,isPlayingInMatch:!0,hasPaid:!0,memberId:0,playerMemberId:0},{name:"Bar Player #3",isCaptain:!0,isPlayingInMatch:!0,hasPaid:!0,memberId:0,playerMemberId:0},{name:"Bar Player #4",isCaptain:!0,isPlayingInMatch:!0,hasPaid:!0,memberId:0,playerMemberId:0},{name:"Bar Player #5",isCaptain:!0,isPlayingInMatch:!0,hasPaid:!0,memberId:0,playerMemberId:0}],scorers:[{matchRRId:0,memberId:0,isHomeTeam:!0,matchStatType:u.MatchStatType.Goal,userId:0,player:{name:"Bar Player",isCaptain:!0,isPlayingInMatch:!0,hasPaid:!0,memberId:0,playerMemberId:0}}],ownGoalScorers:[{matchRRId:0,memberId:0,isHomeTeam:!0,matchStatType:u.MatchStatType.OwnGoal,userId:0,player:{name:"Bar Player",isCaptain:!0,isPlayingInMatch:!0,hasPaid:!0,memberId:0,playerMemberId:0}}],yellowCards:[{matchRRId:0,memberId:0,isHomeTeam:!0,matchStatType:u.MatchStatType.YellowCard,userId:0,player:{name:"Bar Player",isCaptain:!0,isPlayingInMatch:!0,hasPaid:!0,memberId:0,playerMemberId:0}}],redCards:[{matchRRId:0,memberId:0,isHomeTeam:!0,matchStatType:u.MatchStatType.RedCard,userId:0,player:{name:"Bar Player",isCaptain:!0,isPlayingInMatch:!0,hasPaid:!0,memberId:0,playerMemberId:0}}],played:[{matchRRId:0,memberId:0,isHomeTeam:!0,matchStatType:u.MatchStatType.Played,userId:0,player:{name:"Bar Player",isCaptain:!0,isPlayingInMatch:!0,hasPaid:!0,memberId:0,playerMemberId:0}}],subs:[{matchRRId:0,memberId:0,isHomeTeam:!0,matchStatType:u.MatchStatType.Sub,userId:0,player:{name:"Bar Player",isCaptain:!0,isPlayingInMatch:!0,hasPaid:!0,memberId:0,playerMemberId:0}}],playersOfTheMatch:[{matchRRId:0,memberId:0,isHomeTeam:!0,matchStatType:u.MatchStatType.POTM,userId:0,player:{name:"Bar Player",isCaptain:!0,isPlayingInMatch:!0,hasPaid:!0,memberId:0,playerMemberId:0}}]}};s||a(`Could not get fixture stats for args: ${e}`),t(s);return}(0,n.createProxyRequestAsync)({url:c.GET_STATS,method:r.TYPES.POST,data:e,headers:{[i.PROXY_TYPE_HEADER_KEY]:i.PROXY_REQ_TYPES.API}}).then(e=>{t(e.data)}).catch(e=>{a((0,m.getProxyError)(e))})}).then(y).then(e=>{t(M(e))}).catch(e=>t(j(e)))}catch(e){console.error(e),t(j(e))}});e.s(["fetchBreakdownFailure",0,F,"fetchBreakdownStart",0,U,"fetchBreakdownSuccess",0,L,"fetchFixtureLineUpFailure",0,b,"fetchFixtureLineUpStart",0,S,"fetchFixtureLineUpStartAsync",0,R,"fetchFixtureLineUpSuccess",0,x,"fetchFixtureStatsFailure",0,j,"fetchFixtureStatsStart",0,D,"fetchFixtureStatsStartAsync",0,O,"fetchFixtureStatsSuccess",0,M,"resetToInitialState",0,T,"setCurrentFixture",0,g,"setCurrentFixtureLineUp",0,C,"setCurrentFixtureStatsCache",0,v,"setCurrentFixtureStatsRes",0,$,"updateFixtureAttendanceFailure",0,N,"updateFixtureAttendanceStart",0,I,"updateFixtureAttendanceSuccess",0,E,"updateFixtureLineUpFailure",0,P,"updateFixtureLineUpStart",0,w,"updateFixtureLineUpSuccess",0,A],46457)}]);

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.