fansunited-frontend-components 0.0.94 → 0.0.95

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/Standings.js +277 -269
  2. package/index.js +1 -1
  3. package/package.json +2 -2
package/Standings.js CHANGED
@@ -1,16 +1,16 @@
1
- import { jsxs as w, jsx as r, Fragment as B } from "react/jsx-runtime";
2
- import P, { useState as z, useEffect as me, useMemo as V, useRef as ke } from "react";
3
- import { Box as x, Typography as k, Chip as Le, Sheet as pe, Table as Re, Tabs as fe, TabList as ge, Tab as he, TabPanel as ye } from "@mui/joy";
4
- import { useTranslation as Q } from "react-i18next";
5
- import { hexToRgb as ee, extractSdkErrorMessage as De, useColors as T, useFontFamily as F, useSpacingScale as M, toIntlLocale as q, bidiIsolate as Y, useCornerRadius as H, useConstantContext as Te, ConstantsContext as ve, useIsRtl as Ee, InlineSpinner as Pe, Spinner as Fe, getLanguageDirection as Ke, initializeI18n as Ae, applyDirectionToMount as Oe, widgetCacheKey as Ne, createWidgetCache as ze, ContainerProvider as Ie, ThemeProvider as Me, ConstantsProvider as $e } from "fansunited-frontend-core";
6
- import { MatchFilters as le } from "fansunited-sdk-esm";
7
- import Ue from "@mui/icons-material/EmojiEvents";
8
- import { createPortal as xe } from "react-dom";
9
- import { CacheProvider as We } from "@emotion/react";
10
- const Be = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1 $2").replace(/[_-]+/g, " ").trim().replace(
1
+ import { jsxs as C, jsx as r, Fragment as _ } from "react/jsx-runtime";
2
+ import E, { useState as N, useEffect as ge, useMemo as G, useRef as Te } from "react";
3
+ import { Box as x, Typography as k, Chip as ve, Sheet as he, Table as Ee, Tabs as ye, TabList as xe, Tab as Se, TabPanel as be } from "@mui/joy";
4
+ import { useTranslation as Y } from "react-i18next";
5
+ import { hexToRgb as ee, extractSdkErrorMessage as Pe, useColors as D, useFontFamily as P, useSpacingScale as $, toIntlLocale as q, bidiIsolate as V, useCornerRadius as j, useConstantContext as Fe, ConstantsContext as Ke, useIsRtl as Ae, InlineSpinner as Oe, Spinner as Ne, getLanguageDirection as ze, initializeI18n as Ie, applyDirectionToMount as Me, widgetCacheKey as $e, createWidgetCache as Ue, ContainerProvider as We, ThemeProvider as Be, ConstantsProvider as _e } from "fansunited-frontend-core";
6
+ import { MatchFilters as de } from "fansunited-sdk-esm";
7
+ import He from "@mui/icons-material/EmojiEvents";
8
+ import { createPortal as Ce } from "react-dom";
9
+ import { CacheProvider as Ge } from "@emotion/react";
10
+ const je = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1 $2").replace(/[_-]+/g, " ").trim().replace(
11
11
  /\S+/g,
12
12
  (n) => n.charAt(0).toUpperCase() + n.slice(1).toLowerCase()
13
- ), _e = [
13
+ ), Ze = [
14
14
  "championsLeague",
15
15
  "championsLeagueQual",
16
16
  "europaLeague",
@@ -28,10 +28,10 @@ const Be = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1 $2").replace(/[_-]+/g, " "
28
28
  "championshipGroup",
29
29
  "europaClGroup",
30
30
  "relegationGroup"
31
- ], te = (e) => e.toLowerCase().replace(/[^a-z0-9]/g, ""), He = _e.reduce(
31
+ ], te = (e) => e.toLowerCase().replace(/[^a-z0-9]/g, ""), Ve = Ze.reduce(
32
32
  (e, t) => (e[te(t)] = t, e),
33
33
  {}
34
- ), Se = (e) => He[te(e)] ?? null, Ge = {
34
+ ), we = (e) => Ve[te(e)] ?? null, Ye = {
35
35
  championsLeague: "primary",
36
36
  championshipGroup: "primary",
37
37
  playOffs: "primary",
@@ -49,15 +49,15 @@ const Be = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1 $2").replace(/[_-]+/g, " "
49
49
  relegationPlayOffs: "warning",
50
50
  relegationGroup: "warning",
51
51
  relegation: "danger"
52
- }, je = {
52
+ }, Qe = {
53
53
  primary: 0,
54
54
  success: 1,
55
55
  warning: 2,
56
56
  danger: 3
57
- }, Ze = (e, t) => t === 0 ? e : `rgba(${ee(e)}, ${Math.max(0.25, 1 - t * 0.25)})`, Ve = (e, t) => {
57
+ }, Xe = (e, t) => t === 0 ? e : `rgba(${ee(e)}, ${Math.max(0.25, 1 - t * 0.25)})`, qe = (e, t) => {
58
58
  const n = te(e);
59
59
  return n.includes("relegation") ? n.includes("playoff") || n.includes("group") ? "warning" : "danger" : t ? "primary" : "success";
60
- }, Ye = (e, t, n) => {
60
+ }, Je = (e, t, n) => {
61
61
  const o = /* @__PURE__ */ new Map();
62
62
  if (e.forEach((s, u) => {
63
63
  if (!s) return;
@@ -69,23 +69,23 @@ const Be = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1 $2").replace(/[_-]+/g, " "
69
69
  return u.reduce((f, h) => f + h, 0) / u.length;
70
70
  }, l = Array.from(o.keys()).sort(
71
71
  (s, u) => a(s) - a(u)
72
- ), d = l.map((s) => Se(s)), i = l.map((s, u) => {
72
+ ), d = l.map((s) => we(s)), i = l.map((s, u) => {
73
73
  const f = d[u];
74
- return f ? Ge[f] : Ve(s, u === 0);
74
+ return f ? Ye[f] : qe(s, u === 0);
75
75
  }), p = /* @__PURE__ */ new Map(), c = l.map((s, u) => {
76
76
  const f = i[u], h = p.get(f) ?? 0;
77
- return p.set(f, h + 1), Ze(t[f], h);
77
+ return p.set(f, h + 1), Xe(t[f], h);
78
78
  });
79
79
  return l.map((s, u) => {
80
80
  const f = d[u], h = f ? n == null ? void 0 : n[f] : void 0;
81
81
  return {
82
82
  key: s,
83
83
  color: h ?? c[u],
84
- label: Be(s),
85
- tierRank: je[i[u]]
84
+ label: je(s),
85
+ tierRank: Qe[i[u]]
86
86
  };
87
87
  }).sort((s, u) => s.tierRank - u.tierRank).map(({ key: s, color: u, label: f }) => ({ key: s, color: u, label: f }));
88
- }, Qe = (e, t) => {
88
+ }, et = (e, t) => {
89
89
  var n;
90
90
  if (!e) return [];
91
91
  if (t) {
@@ -93,47 +93,47 @@ const Be = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1 $2").replace(/[_-]+/g, " "
93
93
  return o && o.type === "standing" ? [o] : [];
94
94
  }
95
95
  return (e.stages ?? []).filter((o) => o.type === "standing");
96
- }, be = (e) => {
96
+ }, ke = (e) => {
97
97
  var t;
98
98
  return ((t = e == null ? void 0 : e.find((n) => n.key === "LOGO")) == null ? void 0 : t.value) ?? null;
99
- }, I = (e, t) => {
99
+ }, M = (e, t) => {
100
100
  const n = e.find((o) => {
101
101
  var a;
102
102
  return ((a = o.key) == null ? void 0 : a.toLowerCase()) === t;
103
103
  });
104
104
  return n && Number(n.value) || 0;
105
- }, Xe = (e, t) => e.some((n) => {
105
+ }, tt = (e, t) => e.some((n) => {
106
106
  var o;
107
107
  return ((o = n.key) == null ? void 0 : o.toLowerCase()) === t;
108
- }), qe = (e) => {
109
- const t = I(e, "goals_for"), n = I(e, "goals_against"), o = I(e, "played"), a = I(e, "won");
108
+ }), nt = (e) => {
109
+ const t = M(e, "goals_for"), n = M(e, "goals_against"), o = M(e, "played"), a = M(e, "won");
110
110
  return {
111
111
  played: o,
112
112
  won: a,
113
- drawn: I(e, "drawn"),
114
- lost: I(e, "lost"),
113
+ drawn: M(e, "drawn"),
114
+ lost: M(e, "lost"),
115
115
  goalsFor: t,
116
116
  goalsAgainst: n,
117
117
  // Derived rather than trusting the (possibly absent) goals_difference stat key.
118
118
  goalsDifference: t - n,
119
- points: I(e, "points"),
119
+ points: M(e, "points"),
120
120
  winPercentage: o > 0 ? a / o : 0
121
121
  };
122
- }, Je = (e, t) => t == null ? null : e === t ? "same" : e < t ? "up" : "down", et = (e, t) => {
122
+ }, ot = (e, t) => t == null ? null : e === t ? "same" : e < t ? "up" : "down", rt = (e, t) => {
123
123
  var a;
124
124
  const n = e.competitorModel, o = e.rank ?? 0;
125
125
  return {
126
126
  competitorId: e.competitorId,
127
127
  rank: o,
128
128
  lastRank: e.lastRank,
129
- rankChange: Je(o, e.lastRank),
129
+ rankChange: ot(o, e.lastRank),
130
130
  teamName: (n == null ? void 0 : n.name) ?? t,
131
131
  teamShortName: (n == null ? void 0 : n.shortName) ?? null,
132
- logoUrl: be(n == null ? void 0 : n.assets),
133
- stats: qe(e.stats ?? []),
132
+ logoUrl: ke(n == null ? void 0 : n.assets),
133
+ stats: nt(e.stats ?? []),
134
134
  zoneKey: ((a = e.rules) == null ? void 0 : a[0]) ?? null
135
135
  };
136
- }, tt = (e, t, n) => {
136
+ }, at = (e, t, n) => {
137
137
  if (t == null && n == null) return e;
138
138
  const o = e.map((p) => p.rank ?? 0);
139
139
  if (!o.length) return e;
@@ -142,21 +142,21 @@ const Be = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1 $2").replace(/[_-]+/g, " "
142
142
  const c = p.rank ?? 0;
143
143
  return c >= d && c <= i;
144
144
  });
145
- }, nt = (e, t, n, o, a, l) => {
146
- const d = tt(e.standings ?? [], a, l), i = d.map((s) => et(s, o)), p = Ye(
145
+ }, st = (e, t, n, o, a, l) => {
146
+ const d = at(e.standings ?? [], a, l), i = d.map((s) => rt(s, o)), p = Je(
147
147
  i.map((s) => s.zoneKey),
148
148
  t,
149
149
  n
150
150
  ), c = d.some(
151
- (s) => Xe(s.stats ?? [], "points")
151
+ (s) => tt(s.stats ?? [], "points")
152
152
  );
153
153
  return { id: e.id, name: e.name, rows: i, zones: p, hasPoints: c };
154
- }, ot = (e) => e ? {
154
+ }, lt = (e) => e ? {
155
155
  name: e.name ?? null,
156
156
  year: e.year ?? null,
157
157
  startDate: e.startDate ?? null,
158
158
  endDate: e.endDate ?? null
159
- } : null, rt = (e, t, n, o, a, l, d) => {
159
+ } : null, it = (e, t, n, o, a, l, d) => {
160
160
  var c;
161
161
  const i = e.groups ?? [], p = a && a.length ? i.filter(
162
162
  (s) => s.id !== null && a.includes(s.id)
@@ -167,7 +167,7 @@ const Be = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1 $2").replace(/[_-]+/g, " "
167
167
  startDate: e.startDate ?? null,
168
168
  endDate: e.endDate ?? null,
169
169
  groups: p.map(
170
- (s) => nt(
170
+ (s) => st(
171
171
  s,
172
172
  t,
173
173
  n,
@@ -177,9 +177,9 @@ const Be = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1 $2").replace(/[_-]+/g, " "
177
177
  )
178
178
  )
179
179
  };
180
- }, at = (e, t, n, o, a, l, d, i) => {
181
- const c = Qe(e.season, i).map(
182
- (s) => rt(
180
+ }, ct = (e, t, n, o, a, l, d, i) => {
181
+ const c = et(e.season, i).map(
182
+ (s) => it(
183
183
  s,
184
184
  t,
185
185
  n,
@@ -193,26 +193,26 @@ const Be = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1 $2").replace(/[_-]+/g, " "
193
193
  competitionId: e.id,
194
194
  competitionName: e.name ?? e.shortName ?? e.id,
195
195
  sport: e.sport ?? null,
196
- logoUrl: be(e.assets),
197
- season: ot(e.season),
196
+ logoUrl: ke(e.assets),
197
+ season: lt(e.season),
198
198
  stageFound: c.length > 0,
199
199
  stages: c
200
200
  };
201
- }, st = (e, t, n, o, a, l, d, i, p) => {
202
- const [c, s] = z(null), [u, f] = z(!0), [h, b] = z(null);
203
- return me(() => {
201
+ }, dt = (e, t, n, o, a, l, d, i, p) => {
202
+ const [c, s] = N(null), [u, f] = N(!0), [h, b] = N(null);
203
+ return ge(() => {
204
204
  if (!e || !t) return;
205
205
  let g = !1;
206
206
  return f(!0), b(null), t.sports.getCompetitionById(e, d ? { seasonId: d } : void 0).then((m) => {
207
207
  g || s(m);
208
208
  }).catch((m) => {
209
- g || b(De(m, t));
209
+ g || b(Pe(m, t));
210
210
  }).finally(() => {
211
211
  g || f(!1);
212
212
  }), () => {
213
213
  g = !0;
214
214
  };
215
- }, [e, t, d]), { data: V(() => c ? at(
215
+ }, [e, t, d]), { data: G(() => c ? ct(
216
216
  c,
217
217
  n,
218
218
  a,
@@ -231,51 +231,51 @@ const Be = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1 $2").replace(/[_-]+/g, " "
231
231
  i == null ? void 0 : i.endRank,
232
232
  p
233
233
  ]), loading: u, error: h };
234
- }, lt = 50, it = (e, t) => e > t ? "win" : e < t ? "loss" : "draw", ct = (e, t) => {
234
+ }, ut = 50, mt = (e, t) => e > t ? "win" : e < t ? "loss" : "draw", pt = (e, t) => {
235
235
  var p, c;
236
236
  const n = e.homeTeam.id === t, o = e.scores, a = Number(((p = o == null ? void 0 : o.ftScore) == null ? void 0 : p.homeGoals) ?? 0), l = Number(((c = o == null ? void 0 : o.ftScore) == null ? void 0 : c.awayGoals) ?? 0), d = n ? a : l, i = n ? l : a;
237
237
  return {
238
- result: it(d, i),
238
+ result: mt(d, i),
239
239
  isHome: n,
240
240
  opponentId: n ? e.awayTeam.id : e.homeTeam.id,
241
241
  teamScore: d,
242
242
  opponentScore: i,
243
243
  kickoffAt: e.kickoffAt
244
244
  };
245
- }, ie = 12, dt = (e, t) => {
245
+ }, ue = 12, ft = (e, t) => {
246
246
  const n = new Date(e);
247
247
  return n.setUTCHours(n.getUTCHours() + t), n.toISOString().replace(/\.\d{3}Z$/, "Z");
248
- }, ce = (e, t) => {
248
+ }, me = (e, t) => {
249
249
  if (!e) return null;
250
250
  const a = `${e.slice(0, 10)}T${t === "start" ? "00:00:00" : "23:59:59"}Z`;
251
- return dt(
251
+ return ft(
252
252
  a,
253
- t === "start" ? -ie : ie
253
+ t === "start" ? -ue : ue
254
254
  );
255
- }, ut = (e) => e.map(
255
+ }, gt = (e) => e.map(
256
256
  (t) => `${t.stageId}:${t.teamIds.join(",")}:${t.fromDate ?? ""}:${t.toDate ?? ""}`
257
- ).join("|"), mt = async (e, t, n) => {
257
+ ).join("|"), ht = async (e, t, n) => {
258
258
  var i, p;
259
259
  const o = {
260
260
  competitionIds: [n],
261
261
  status: "finished",
262
262
  sortField: "date",
263
263
  sortOrder: "desc",
264
- limit: lt,
265
- fromDate: ce(t.fromDate, "start"),
266
- toDate: ce(t.toDate, "end")
264
+ limit: ut,
265
+ fromDate: me(t.fromDate, "start"),
266
+ toDate: me(t.toDate, "end")
267
267
  }, a = await e.football.getMatches(
268
- new le({ ...o, page: 1 })
268
+ new de({ ...o, page: 1 })
269
269
  ), l = [...a.data ?? []], d = ((p = (i = a.meta) == null ? void 0 : i.pagination) == null ? void 0 : p.numberOfPages) ?? 1;
270
270
  return d > 1 && (await Promise.all(
271
271
  Array.from(
272
272
  { length: d - 1 },
273
- (s, u) => e.football.getMatches(new le({ ...o, page: u + 2 })).then((f) => f.data ?? []).catch(() => [])
273
+ (s, u) => e.football.getMatches(new de({ ...o, page: u + 2 })).then((f) => f.data ?? []).catch(() => [])
274
274
  )
275
275
  )).forEach((s) => l.push(...s)), l;
276
- }, pt = (e, t, n, o) => {
277
- const [a, l] = z({}), [d, i] = z(!1), p = ut(t);
278
- return me(() => {
276
+ }, yt = (e, t, n, o) => {
277
+ const [a, l] = N({}), [d, i] = N(!1), p = gt(t);
278
+ return ge(() => {
279
279
  if (!o || !t.length) {
280
280
  l({}), i(!1);
281
281
  return;
@@ -283,7 +283,7 @@ const Be = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1 $2").replace(/[_-]+/g, " "
283
283
  let c = !1;
284
284
  return i(!0), Promise.all(
285
285
  t.map(
286
- (s) => mt(e, s, n).then((u) => [s.stageId, s.teamIds, u]).catch(
286
+ (s) => ht(e, s, n).then((u) => [s.stageId, s.teamIds, u]).catch(
287
287
  () => [s.stageId, s.teamIds, []]
288
288
  )
289
289
  )
@@ -291,19 +291,18 @@ const Be = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1 $2").replace(/[_-]+/g, " "
291
291
  if (c) return;
292
292
  const u = {};
293
293
  s.forEach(([f, h, b]) => {
294
- console.log(b);
295
294
  const S = {};
296
295
  h.forEach((g) => {
297
296
  S[g] = b.filter(
298
297
  (m) => m.homeTeam.id === g || m.awayTeam.id === g
299
- ).slice(0, 5).map((m) => ct(m, g));
298
+ ).slice(0, 5).map((m) => pt(m, g));
300
299
  }), u[f] = S;
301
300
  }), l(u), i(!1);
302
301
  }), () => {
303
302
  c = !0;
304
303
  };
305
304
  }, [e, p, n, o]), { formByStageAndTeam: a, loading: d };
306
- }, de = (e, t) => {
305
+ }, pe = (e, t) => {
307
306
  if (!e) return null;
308
307
  const n = new Date(e);
309
308
  return Number.isNaN(n.getTime()) ? null : n.toLocaleDateString(q(t), {
@@ -311,14 +310,14 @@ const Be = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1 $2").replace(/[_-]+/g, " "
311
310
  month: "short",
312
311
  year: "numeric"
313
312
  });
314
- }, ft = ({
313
+ }, xt = ({
315
314
  title: e,
316
315
  logoUrl: t,
317
316
  season: n,
318
317
  language: o
319
318
  }) => {
320
- const a = T(), l = F(), d = M(), i = de((n == null ? void 0 : n.startDate) ?? null, o), p = de((n == null ? void 0 : n.endDate) ?? null, o), c = i && p ? `${i} – ${p}` : null, s = (n == null ? void 0 : n.year) ?? (n == null ? void 0 : n.name) ?? null;
321
- return /* @__PURE__ */ w(
319
+ const a = D(), l = P(), d = $(), i = pe((n == null ? void 0 : n.startDate) ?? null, o), p = pe((n == null ? void 0 : n.endDate) ?? null, o), c = i && p ? `${i} – ${p}` : null, s = (n == null ? void 0 : n.year) ?? (n == null ? void 0 : n.name) ?? null;
320
+ return /* @__PURE__ */ C(
322
321
  x,
323
322
  {
324
323
  sx: {
@@ -358,15 +357,15 @@ const Be = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1 $2").replace(/[_-]+/g, " "
358
357
  overflow: "hidden"
359
358
  },
360
359
  children: /* @__PURE__ */ r(
361
- Ue,
360
+ He,
362
361
  {
363
362
  sx: { fontSize: "1.25em", color: a.textSecondary }
364
363
  }
365
364
  )
366
365
  }
367
366
  ),
368
- /* @__PURE__ */ w(x, { sx: { minWidth: 0 }, children: [
369
- /* @__PURE__ */ w(
367
+ /* @__PURE__ */ C(x, { sx: { minWidth: 0 }, children: [
368
+ /* @__PURE__ */ C(
370
369
  x,
371
370
  {
372
371
  sx: {
@@ -389,7 +388,7 @@ const Be = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1 $2").replace(/[_-]+/g, " "
389
388
  }
390
389
  ),
391
390
  s && /* @__PURE__ */ r(
392
- Le,
391
+ ve,
393
392
  {
394
393
  size: "sm",
395
394
  sx: {
@@ -462,7 +461,7 @@ const Be = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1 $2").replace(/[_-]+/g, " "
462
461
  shortLabelKey: "standings.columns.form",
463
462
  fullLabelKey: "standings.columns.form"
464
463
  }
465
- ], gt = [
464
+ ], St = [
466
465
  {
467
466
  key: "goalsFor",
468
467
  shortLabelKey: "standings.columns.goalsForShort",
@@ -478,24 +477,24 @@ const Be = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1 $2").replace(/[_-]+/g, " "
478
477
  shortLabelKey: "standings.columns.goalsDifferenceShort",
479
478
  fullLabelKey: "standings.columns.goalsDifference"
480
479
  }
481
- ], ht = [
480
+ ], bt = [
482
481
  ...J.slice(0, 5),
483
- ...gt,
482
+ ...St,
484
483
  ...J.slice(5)
485
- ], yt = {
484
+ ], Ct = {
486
485
  hockey: ["drawn", "form"],
487
486
  // No ties, no goal-based scoring (points are the score itself, not a standings-only
488
487
  // stat), and no match-event data yet — leaves just played/won/lost/points.
489
488
  basketball: ["drawn", "form", "goals", "goalsFor", "goalsAgainst", "goalsDifference"]
490
- }, xt = (e, t, n = !0) => {
489
+ }, wt = (e, t, n = !0) => {
491
490
  const o = new Set(
492
- t ? yt[t.toLowerCase()] ?? [] : []
491
+ t ? Ct[t.toLowerCase()] ?? [] : []
493
492
  );
494
- return o.add(n ? "winPercentage" : "points"), (!e || e.length === 0 ? J : ht.filter((l) => e.includes(l.key))).filter((l) => !o.has(l.key));
495
- }, St = ({ rankChange: e }) => {
496
- const t = T();
493
+ return o.add(n ? "winPercentage" : "points"), (!e || e.length === 0 ? J : bt.filter((l) => e.includes(l.key))).filter((l) => !o.has(l.key));
494
+ }, kt = ({ rankChange: e }) => {
495
+ const t = D();
497
496
  if (e === null || e === "same")
498
- return /* @__PURE__ */ r(B, {});
497
+ return /* @__PURE__ */ r(_, {});
499
498
  const n = e === "up" ? "▲" : "▼", o = e === "up" ? t.palette.success.plainColor : t.palette.danger.plainColor;
500
499
  return /* @__PURE__ */ r(
501
500
  x,
@@ -510,9 +509,9 @@ const Be = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1 $2").replace(/[_-]+/g, " "
510
509
  children: n
511
510
  }
512
511
  );
513
- }, bt = ({ row: e, highlighted: t, compact: n }) => {
514
- const o = T(), a = F(), l = M(), d = n ? 22 : 28, i = (e.teamShortName ?? e.teamName).slice(0, 2).toUpperCase();
515
- return /* @__PURE__ */ w(
512
+ }, Lt = ({ row: e, highlighted: t, compact: n }) => {
513
+ const o = D(), a = P(), l = $(), d = n ? 22 : 28, i = (e.teamShortName ?? e.teamName).slice(0, 2).toUpperCase();
514
+ return /* @__PURE__ */ C(
516
515
  x,
517
516
  {
518
517
  sx: {
@@ -583,9 +582,9 @@ const Be = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1 $2").replace(/[_-]+/g, " "
583
582
  ]
584
583
  }
585
584
  );
586
- }, wt = ({ stats: e }) => {
587
- const t = T(), n = F(), o = e.goalsDifference > 0 ? t.palette.success.plainColor : e.goalsDifference < 0 ? t.palette.danger.plainColor : t.textSecondary, a = e.goalsDifference > 0 ? Y(`+${e.goalsDifference}`) : Y(e.goalsDifference);
588
- return /* @__PURE__ */ w(
585
+ }, Rt = ({ stats: e }) => {
586
+ const t = D(), n = P(), o = e.goalsDifference > 0 ? t.palette.success.plainColor : e.goalsDifference < 0 ? t.palette.danger.plainColor : t.textSecondary, a = e.goalsDifference > 0 ? V(`+${e.goalsDifference}`) : V(e.goalsDifference);
587
+ return /* @__PURE__ */ C(
589
588
  x,
590
589
  {
591
590
  sx: {
@@ -596,7 +595,7 @@ const Be = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1 $2").replace(/[_-]+/g, " "
596
595
  lineHeight: 1.2
597
596
  },
598
597
  children: [
599
- /* @__PURE__ */ w(
598
+ /* @__PURE__ */ C(
600
599
  k,
601
600
  {
602
601
  sx: {
@@ -626,7 +625,7 @@ const Be = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1 $2").replace(/[_-]+/g, " "
626
625
  ]
627
626
  }
628
627
  );
629
- }, ue = 200, Ct = (e, t) => {
628
+ }, fe = 200, Dt = (e, t) => {
630
629
  const n = new Date(e);
631
630
  if (Number.isNaN(n.getTime())) return "";
632
631
  const o = n.toLocaleDateString(q(t), {
@@ -638,15 +637,15 @@ const Be = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1 $2").replace(/[_-]+/g, " "
638
637
  minute: "2-digit"
639
638
  });
640
639
  return `${o} · ${a}`;
641
- }, kt = ({
640
+ }, Tt = ({
642
641
  teamName: e,
643
642
  teamLogoUrl: t,
644
643
  matches: n,
645
644
  loading: o
646
645
  }) => {
647
- const { t: a, i18n: l } = Q("common"), d = T(), i = F(), p = H(), { shadowRootElement: c } = Te(ve), s = Ee(), [u, f] = z(null), h = ke([]), b = [...n].reverse();
646
+ const { t: a, i18n: l } = Y("common"), d = D(), i = P(), p = j(), { shadowRootElement: c } = Fe(Ke), s = Ae(), [u, f] = N(null), h = Te([]), b = [...n].reverse();
648
647
  if (o)
649
- return /* @__PURE__ */ r(x, { sx: { display: "flex", justifyContent: "center" }, children: /* @__PURE__ */ r(Pe, {}) });
648
+ return /* @__PURE__ */ r(x, { sx: { display: "flex", justifyContent: "center" }, children: /* @__PURE__ */ r(Oe, {}) });
650
649
  if (!b.length)
651
650
  return /* @__PURE__ */ r(
652
651
  k,
@@ -660,39 +659,39 @@ const Be = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1 $2").replace(/[_-]+/g, " "
660
659
  children: a("standings.formNotAvailable")
661
660
  }
662
661
  );
663
- const S = (L) => L === "win" ? d.palette.success.plainColor : L === "loss" ? d.palette.danger.plainColor : d.palette.neutral.plainColor, g = (L) => {
664
- const E = h.current[L];
665
- E && f({ index: L, rect: E.getBoundingClientRect() });
666
- }, m = u ? b[u.index] : null, R = u ? u.rect.left + u.rect.width / 2 : 0, D = typeof window < "u" ? Math.max(
667
- ue / 2 + 8,
668
- Math.min(R, window.innerWidth - ue / 2 - 8)
669
- ) : R, C = s && typeof window < "u" ? window.innerWidth - D : D, y = u ? u.rect.top - 8 : 0, K = {
662
+ const S = (T) => T === "win" ? d.palette.success.plainColor : T === "loss" ? d.palette.danger.plainColor : d.palette.neutral.plainColor, g = (T) => {
663
+ const y = h.current[T];
664
+ y && f({ index: T, rect: y.getBoundingClientRect() });
665
+ }, m = u ? b[u.index] : null, L = u ? u.rect.left + u.rect.width / 2 : 0, R = typeof window < "u" ? Math.max(
666
+ fe / 2 + 8,
667
+ Math.min(L, window.innerWidth - fe / 2 - 8)
668
+ ) : L, w = s && typeof window < "u" ? window.innerWidth - R : R, F = u ? u.rect.top - 8 : 0, z = {
670
669
  fontFamily: i.primary,
671
670
  fontWeight: 600,
672
671
  fontSize: "0.8125em",
673
672
  color: d.textPrimary,
674
673
  whiteSpace: "nowrap"
675
- }, A = {
674
+ }, I = {
676
675
  width: 16,
677
676
  height: 16,
678
677
  objectFit: "contain",
679
678
  flexShrink: 0
680
679
  };
681
- return /* @__PURE__ */ w(
680
+ return /* @__PURE__ */ C(
682
681
  x,
683
682
  {
684
683
  sx: { display: "flex", gap: "3px", justifyContent: "center" },
685
684
  onMouseLeave: () => f(null),
686
685
  children: [
687
- b.map((L, E) => /* @__PURE__ */ r(
686
+ b.map((T, y) => /* @__PURE__ */ r(
688
687
  x,
689
688
  {
690
689
  component: "span",
691
- ref: ($) => {
692
- h.current[E] = $;
690
+ ref: (K) => {
691
+ h.current[y] = K;
693
692
  },
694
693
  sx: { display: "inline-flex", cursor: "pointer" },
695
- onMouseEnter: () => g(E),
694
+ onMouseEnter: () => g(y),
696
695
  children: /* @__PURE__ */ r(
697
696
  x,
698
697
  {
@@ -700,21 +699,21 @@ const Be = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1 $2").replace(/[_-]+/g, " "
700
699
  width: 9,
701
700
  height: 9,
702
701
  borderRadius: "50%",
703
- backgroundColor: S(L.result)
702
+ backgroundColor: S(T.result)
704
703
  }
705
704
  }
706
705
  )
707
706
  },
708
- E
707
+ y
709
708
  )),
710
- u && m && xe(
709
+ u && m && Ce(
711
710
  /* @__PURE__ */ r(
712
711
  x,
713
712
  {
714
713
  sx: {
715
714
  position: "fixed",
716
- left: `${C}px`,
717
- top: `${y}px`,
715
+ left: `${w}px`,
716
+ top: `${F}px`,
718
717
  transform: "translate(-50%, -100%)",
719
718
  zIndex: 9999,
720
719
  display: "flex",
@@ -731,8 +730,8 @@ const Be = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1 $2").replace(/[_-]+/g, " "
731
730
  pointerEvents: "none"
732
731
  },
733
732
  children: (() => {
734
- const L = m.isHome ? e : m.opponentName, E = m.isHome ? m.opponentName : e, $ = m.isHome ? t : m.opponentLogoUrl, _ = m.isHome ? m.opponentLogoUrl : t, G = m.isHome ? m.teamScore : m.opponentScore, j = m.isHome ? m.opponentScore : m.teamScore;
735
- return /* @__PURE__ */ w(B, { children: [
733
+ const T = m.isHome ? e : m.opponentName, y = m.isHome ? m.opponentName : e, K = m.isHome ? t : m.opponentLogoUrl, U = m.isHome ? m.opponentLogoUrl : t, H = m.isHome ? m.teamScore : m.opponentScore, Q = m.isHome ? m.opponentScore : m.teamScore;
734
+ return /* @__PURE__ */ C(_, { children: [
736
735
  /* @__PURE__ */ r(
737
736
  k,
738
737
  {
@@ -742,13 +741,13 @@ const Be = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1 $2").replace(/[_-]+/g, " "
742
741
  color: d.textSecondary,
743
742
  whiteSpace: "nowrap"
744
743
  },
745
- children: Ct(m.kickoffAt, l.language)
744
+ children: Dt(m.kickoffAt, l.language)
746
745
  }
747
746
  ),
748
- /* @__PURE__ */ w(x, { sx: { display: "flex", alignItems: "center", gap: "6px" }, children: [
749
- /* @__PURE__ */ r(k, { sx: K, children: L }),
750
- $ && /* @__PURE__ */ r(x, { component: "img", src: $, sx: A }),
751
- /* @__PURE__ */ w(
747
+ /* @__PURE__ */ C(x, { sx: { display: "flex", alignItems: "center", gap: "6px" }, children: [
748
+ /* @__PURE__ */ r(k, { sx: z, children: T }),
749
+ K && /* @__PURE__ */ r(x, { component: "img", src: K, sx: I }),
750
+ /* @__PURE__ */ C(
752
751
  k,
753
752
  {
754
753
  sx: {
@@ -759,14 +758,14 @@ const Be = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1 $2").replace(/[_-]+/g, " "
759
758
  whiteSpace: "nowrap"
760
759
  },
761
760
  children: [
762
- G,
761
+ H,
763
762
  " : ",
764
- j
763
+ Q
765
764
  ]
766
765
  }
767
766
  ),
768
- _ && /* @__PURE__ */ r(x, { component: "img", src: _, sx: A }),
769
- /* @__PURE__ */ r(k, { sx: K, children: E })
767
+ U && /* @__PURE__ */ r(x, { component: "img", src: U, sx: I }),
768
+ /* @__PURE__ */ r(k, { sx: z, children: y })
770
769
  ] })
771
770
  ] });
772
771
  })()
@@ -777,7 +776,7 @@ const Be = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1 $2").replace(/[_-]+/g, " "
777
776
  ]
778
777
  }
779
778
  );
780
- }, Lt = ({
779
+ }, vt = ({
781
780
  row: e,
782
781
  zone: t,
783
782
  columns: n,
@@ -788,7 +787,7 @@ const Be = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1 $2").replace(/[_-]+/g, " "
788
787
  form: i,
789
788
  formLoading: p
790
789
  }) => {
791
- const c = T(), s = F(), u = d ? "none" : `1px solid ${c.outlineEnabledBorder}`, f = {
790
+ const c = D(), s = P(), u = d ? "none" : `1px solid ${c.outlineEnabledBorder}`, f = {
792
791
  fontFamily: s.secondary,
793
792
  fontSize: l ? "0.6875em" : "0.75em",
794
793
  color: c.textBody,
@@ -815,8 +814,8 @@ const Be = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1 $2").replace(/[_-]+/g, " "
815
814
  default:
816
815
  return e.stats.points;
817
816
  }
818
- }, b = (m) => m.toFixed(3).replace(/^0(?=\.)/, ""), S = (m) => m > 0 ? c.palette.success.plainColor : m < 0 ? c.palette.danger.plainColor : c.textSecondary, g = (m) => m > 0 ? Y(`+${m}`) : Y(m);
819
- return /* @__PURE__ */ w(
817
+ }, b = (m) => m.toFixed(3).replace(/^0(?=\.)/, ""), S = (m) => m > 0 ? c.palette.success.plainColor : m < 0 ? c.palette.danger.plainColor : c.textSecondary, g = (m) => m > 0 ? V(`+${m}`) : V(m);
818
+ return /* @__PURE__ */ C(
820
819
  "tr",
821
820
  {
822
821
  style: a ? {
@@ -834,7 +833,7 @@ const Be = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1 $2").replace(/[_-]+/g, " "
834
833
  }
835
834
  }
836
835
  ) }),
837
- /* @__PURE__ */ r("td", { style: { padding: "10px 4px", textAlign: "center", borderBottom: u }, children: /* @__PURE__ */ w(
836
+ /* @__PURE__ */ r("td", { style: { padding: "10px 4px", textAlign: "center", borderBottom: u }, children: /* @__PURE__ */ C(
838
837
  x,
839
838
  {
840
839
  sx: {
@@ -857,16 +856,16 @@ const Be = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1 $2").replace(/[_-]+/g, " "
857
856
  children: e.rank
858
857
  }
859
858
  ),
860
- o && /* @__PURE__ */ r(St, { rankChange: e.rankChange })
859
+ o && /* @__PURE__ */ r(kt, { rankChange: e.rankChange })
861
860
  ]
862
861
  }
863
862
  ) }),
864
- /* @__PURE__ */ r("td", { style: { padding: "10px 6px", textAlign: "start", borderBottom: u }, children: /* @__PURE__ */ r(bt, { row: e, highlighted: a, compact: l }) }),
863
+ /* @__PURE__ */ r("td", { style: { padding: "10px 6px", textAlign: "start", borderBottom: u }, children: /* @__PURE__ */ r(Lt, { row: e, highlighted: a, compact: l }) }),
865
864
  n.map((m) => {
866
865
  if (m.key === "goals")
867
- return /* @__PURE__ */ r("td", { style: { padding: "8px 6px", borderBottom: u }, children: /* @__PURE__ */ r(wt, { stats: e.stats }) }, m.key);
866
+ return /* @__PURE__ */ r("td", { style: { padding: "8px 6px", borderBottom: u }, children: /* @__PURE__ */ r(Rt, { stats: e.stats }) }, m.key);
868
867
  if (m.key === "goalsDifference") {
869
- const D = e.stats.goalsDifference;
868
+ const R = e.stats.goalsDifference;
870
869
  return /* @__PURE__ */ r("td", { style: { padding: "10px 6px", borderBottom: u }, children: /* @__PURE__ */ r(
871
870
  k,
872
871
  {
@@ -874,16 +873,16 @@ const Be = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1 $2").replace(/[_-]+/g, " "
874
873
  fontFamily: s.primary,
875
874
  fontSize: l ? "0.6875em" : "0.75em",
876
875
  fontWeight: 700,
877
- color: S(D),
876
+ color: S(R),
878
877
  textAlign: "center"
879
878
  },
880
- children: g(D)
879
+ children: g(R)
881
880
  }
882
881
  ) }, m.key);
883
882
  }
884
883
  if (m.key === "form")
885
884
  return /* @__PURE__ */ r("td", { style: { padding: "10px 6px", borderBottom: u }, children: /* @__PURE__ */ r(
886
- kt,
885
+ Tt,
887
886
  {
888
887
  teamName: e.teamName,
889
888
  teamLogoUrl: e.logoUrl,
@@ -891,11 +890,11 @@ const Be = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1 $2").replace(/[_-]+/g, " "
891
890
  loading: !!p
892
891
  }
893
892
  ) }, m.key);
894
- const R = m.key === "points" || m.key === "winPercentage";
893
+ const L = m.key === "points" || m.key === "winPercentage";
895
894
  return /* @__PURE__ */ r("td", { style: { padding: "10px 6px", borderBottom: u }, children: /* @__PURE__ */ r(
896
895
  k,
897
896
  {
898
- sx: R ? {
897
+ sx: L ? {
899
898
  fontFamily: s.primary,
900
899
  fontWeight: 700,
901
900
  fontSize: l ? "0.75em" : "0.875em",
@@ -909,8 +908,8 @@ const Be = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1 $2").replace(/[_-]+/g, " "
909
908
  ]
910
909
  }
911
910
  );
912
- }, Rt = ({ colSpan: e }) => {
913
- const t = T();
911
+ }, Et = ({ colSpan: e }) => {
912
+ const t = D();
914
913
  return /* @__PURE__ */ r("tr", { children: /* @__PURE__ */ r(
915
914
  "td",
916
915
  {
@@ -923,8 +922,8 @@ const Be = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1 $2").replace(/[_-]+/g, " "
923
922
  }
924
923
  }
925
924
  ) });
926
- }, we = ({ zones: e, zoneLabels: t }) => {
927
- const { t: n } = Q("common"), o = T(), a = F(), l = M();
925
+ }, Le = ({ zones: e, zoneLabels: t }) => {
926
+ const { t: n } = Y("common"), o = D(), a = P(), l = $();
928
927
  return e.length ? /* @__PURE__ */ r(
929
928
  x,
930
929
  {
@@ -938,8 +937,8 @@ const Be = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1 $2").replace(/[_-]+/g, " "
938
937
  fontSize: "1em"
939
938
  },
940
939
  children: e.map((d) => {
941
- const i = Se(d.key), c = (i ? t == null ? void 0 : t[i] : void 0) ?? (i ? n(`standings.rules.${i}`, d.label) : d.label);
942
- return /* @__PURE__ */ w(
940
+ const i = we(d.key), c = (i ? t == null ? void 0 : t[i] : void 0) ?? (i ? n(`standings.rules.${i}`, d.label) : d.label);
941
+ return /* @__PURE__ */ C(
943
942
  x,
944
943
  {
945
944
  sx: { display: "flex", alignItems: "center", gap: "6px" },
@@ -987,14 +986,14 @@ const Be = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1 $2").replace(/[_-]+/g, " "
987
986
  formLoading: c,
988
987
  sport: s
989
988
  }) => {
990
- const { t: u } = Q("common"), f = T(), h = F(), b = H(), S = xt(t, s, e.hasPoints), g = new Map(e.zones.map((C) => [C.key, C])), m = 3 + S.length, R = {
989
+ const { t: u } = Y("common"), f = D(), h = P(), b = j(), S = wt(t, s, e.hasPoints), g = new Map(e.zones.map((w) => [w.key, w])), m = 3 + S.length, L = {
991
990
  backgroundColor: "transparent",
992
991
  borderBottom: `1px solid ${f.outlineEnabledBorder}`,
993
992
  padding: 0
994
- }, D = (C = "center") => ({
993
+ }, R = (w = "center") => ({
995
994
  display: "flex",
996
995
  alignItems: "center",
997
- justifyContent: C === "left" ? "flex-start" : "center",
996
+ justifyContent: w === "left" ? "flex-start" : "center",
998
997
  padding: l ? "0.375em" : "0.625em 0.375em",
999
998
  color: f.textSecondary,
1000
999
  fontFamily: h.primary,
@@ -1004,8 +1003,8 @@ const Be = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1 $2").replace(/[_-]+/g, " "
1004
1003
  letterSpacing: "0.5px",
1005
1004
  whiteSpace: "nowrap"
1006
1005
  });
1007
- return /* @__PURE__ */ w(
1008
- pe,
1006
+ return /* @__PURE__ */ C(
1007
+ he,
1009
1008
  {
1010
1009
  variant: "outlined",
1011
1010
  sx: {
@@ -1016,8 +1015,8 @@ const Be = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1 $2").replace(/[_-]+/g, " "
1016
1015
  borderColor: f.outlineEnabledBorder
1017
1016
  },
1018
1017
  children: [
1019
- /* @__PURE__ */ r(x, { sx: { overflowX: "auto" }, children: /* @__PURE__ */ w(
1020
- Re,
1018
+ /* @__PURE__ */ r(x, { sx: { overflowX: "auto" }, children: /* @__PURE__ */ C(
1019
+ Ee,
1021
1020
  {
1022
1021
  variant: "plain",
1023
1022
  borderAxis: "none",
@@ -1036,17 +1035,17 @@ const Be = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1 $2").replace(/[_-]+/g, " "
1036
1035
  }
1037
1036
  },
1038
1037
  children: [
1039
- /* @__PURE__ */ r("thead", { children: /* @__PURE__ */ w("tr", { children: [
1038
+ /* @__PURE__ */ r("thead", { children: /* @__PURE__ */ C("tr", { children: [
1040
1039
  d ? /* @__PURE__ */ r(
1041
1040
  "th",
1042
1041
  {
1043
1042
  colSpan: 3,
1044
- style: { ...R, minWidth: l ? 90 : 160 },
1043
+ style: { ...L, minWidth: l ? 90 : 160 },
1045
1044
  children: /* @__PURE__ */ r(
1046
1045
  x,
1047
1046
  {
1048
1047
  sx: {
1049
- ...D("left"),
1048
+ ...R("left"),
1050
1049
  textTransform: "none",
1051
1050
  letterSpacing: "normal",
1052
1051
  fontSize: "0.6875em",
@@ -1057,9 +1056,9 @@ const Be = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1 $2").replace(/[_-]+/g, " "
1057
1056
  }
1058
1057
  )
1059
1058
  }
1060
- ) : /* @__PURE__ */ w(B, { children: [
1061
- /* @__PURE__ */ r("th", { style: { ...R, width: 4, padding: 0 } }),
1062
- /* @__PURE__ */ r("th", { style: R, title: u("leaderboard.position"), children: /* @__PURE__ */ r(x, { sx: D(), children: /* @__PURE__ */ w(
1059
+ ) : /* @__PURE__ */ C(_, { children: [
1060
+ /* @__PURE__ */ r("th", { style: { ...L, width: 4, padding: 0 } }),
1061
+ /* @__PURE__ */ r("th", { style: L, title: u("leaderboard.position"), children: /* @__PURE__ */ r(x, { sx: R(), children: /* @__PURE__ */ C(
1063
1062
  x,
1064
1063
  {
1065
1064
  sx: {
@@ -1073,46 +1072,46 @@ const Be = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1 $2").replace(/[_-]+/g, " "
1073
1072
  ]
1074
1073
  }
1075
1074
  ) }) }),
1076
- /* @__PURE__ */ r("th", { style: { ...R, minWidth: l ? 90 : 160 }, children: /* @__PURE__ */ r(x, { sx: D("left"), children: u("standings.columns.team") }) })
1075
+ /* @__PURE__ */ r("th", { style: { ...L, minWidth: l ? 90 : 160 }, children: /* @__PURE__ */ r(x, { sx: R("left"), children: u("standings.columns.team") }) })
1077
1076
  ] }),
1078
- S.map((C) => /* @__PURE__ */ r(
1077
+ S.map((w) => /* @__PURE__ */ r(
1079
1078
  "th",
1080
1079
  {
1081
- style: R,
1082
- title: u(C.fullLabelKey),
1083
- children: /* @__PURE__ */ r(x, { sx: D(), children: u(C.shortLabelKey) })
1080
+ style: L,
1081
+ title: u(w.fullLabelKey),
1082
+ children: /* @__PURE__ */ r(x, { sx: R(), children: u(w.shortLabelKey) })
1084
1083
  },
1085
- C.key
1084
+ w.key
1086
1085
  ))
1087
1086
  ] }) }),
1088
- /* @__PURE__ */ r("tbody", { children: e.rows.map((C, y) => {
1089
- const K = y > 0 ? e.rows[y - 1].zoneKey : null, A = y > 0 && K !== C.zoneKey;
1090
- return /* @__PURE__ */ w(P.Fragment, { children: [
1091
- A && /* @__PURE__ */ r(Rt, { colSpan: m }),
1087
+ /* @__PURE__ */ r("tbody", { children: e.rows.map((w, F) => {
1088
+ const z = F > 0 ? e.rows[F - 1].zoneKey : null, I = F > 0 && z !== w.zoneKey;
1089
+ return /* @__PURE__ */ C(E.Fragment, { children: [
1090
+ I && /* @__PURE__ */ r(Et, { colSpan: m }),
1092
1091
  /* @__PURE__ */ r(
1093
- Lt,
1092
+ vt,
1094
1093
  {
1095
- row: C,
1096
- zone: C.zoneKey ? g.get(C.zoneKey) : void 0,
1094
+ row: w,
1095
+ zone: w.zoneKey ? g.get(w.zoneKey) : void 0,
1097
1096
  columns: S,
1098
1097
  showRankChange: n,
1099
- highlighted: !!(a != null && a.includes(C.competitorId)),
1098
+ highlighted: !!(a != null && a.includes(w.competitorId)),
1100
1099
  compact: l,
1101
- isLast: y === e.rows.length - 1,
1102
- form: p == null ? void 0 : p[C.competitorId],
1100
+ isLast: F === e.rows.length - 1,
1101
+ form: p == null ? void 0 : p[w.competitorId],
1103
1102
  formLoading: c
1104
1103
  }
1105
1104
  )
1106
- ] }, C.competitorId);
1105
+ ] }, w.competitorId);
1107
1106
  }) })
1108
1107
  ]
1109
1108
  }
1110
1109
  ) }),
1111
- o && /* @__PURE__ */ r(we, { zones: e.zones, zoneLabels: i })
1110
+ o && /* @__PURE__ */ r(Le, { zones: e.zones, zoneLabels: i })
1112
1111
  ]
1113
1112
  }
1114
1113
  );
1115
- }, Dt = ({
1114
+ }, Pt = ({
1116
1115
  groups: e,
1117
1116
  columns: t,
1118
1117
  showRankChange: n,
@@ -1123,16 +1122,16 @@ const Be = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1 $2").replace(/[_-]+/g, " "
1123
1122
  formLoading: i,
1124
1123
  sport: p
1125
1124
  }) => {
1126
- const c = T(), s = F(), u = H(), f = M(), [h, b] = z(0);
1127
- return /* @__PURE__ */ w(
1128
- fe,
1125
+ const c = D(), s = P(), u = j(), f = $(), [h, b] = N(0);
1126
+ return /* @__PURE__ */ C(
1127
+ ye,
1129
1128
  {
1130
1129
  value: h,
1131
1130
  onChange: (S, g) => b(g),
1132
1131
  sx: { fontSize: "1em", backgroundColor: "transparent" },
1133
1132
  children: [
1134
1133
  /* @__PURE__ */ r(
1135
- ge,
1134
+ xe,
1136
1135
  {
1137
1136
  variant: "plain",
1138
1137
  sx: {
@@ -1151,7 +1150,7 @@ const Be = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1 $2").replace(/[_-]+/g, " "
1151
1150
  "--ListItem-radius": "0px"
1152
1151
  },
1153
1152
  children: e.map((S, g) => /* @__PURE__ */ r(
1154
- he,
1153
+ Se,
1155
1154
  {
1156
1155
  variant: "plain",
1157
1156
  color: "neutral",
@@ -1192,7 +1191,7 @@ const Be = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1 $2").replace(/[_-]+/g, " "
1192
1191
  }
1193
1192
  ),
1194
1193
  e.map((S, g) => /* @__PURE__ */ r(
1195
- ye,
1194
+ be,
1196
1195
  {
1197
1196
  value: g,
1198
1197
  sx: { padding: 0, fontSize: "1em" },
@@ -1216,12 +1215,12 @@ const Be = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1 $2").replace(/[_-]+/g, " "
1216
1215
  ]
1217
1216
  }
1218
1217
  );
1219
- }, Tt = [
1218
+ }, Ft = [
1220
1219
  "won",
1221
1220
  "drawn",
1222
1221
  "lost",
1223
1222
  "points"
1224
- ], vt = ({
1223
+ ], Kt = ({
1225
1224
  group: e,
1226
1225
  columns: t,
1227
1226
  highlightedCompetitorIds: n,
@@ -1232,7 +1231,7 @@ const Be = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1 $2").replace(/[_-]+/g, " "
1232
1231
  ne,
1233
1232
  {
1234
1233
  group: e,
1235
- columns: t ?? Tt,
1234
+ columns: t ?? Ft,
1236
1235
  showLegend: !1,
1237
1236
  highlightedCompetitorIds: n,
1238
1237
  groupLabel: e.name ?? void 0,
@@ -1241,14 +1240,14 @@ const Be = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1 $2").replace(/[_-]+/g, " "
1241
1240
  sport: l,
1242
1241
  compact: !0
1243
1242
  }
1244
- ), Et = (e) => {
1243
+ ), At = (e) => {
1245
1244
  const t = /* @__PURE__ */ new Set(), n = [];
1246
1245
  return e.forEach((o) => {
1247
1246
  o.zones.forEach((a) => {
1248
1247
  t.has(a.key) || (t.add(a.key), n.push(a));
1249
1248
  });
1250
1249
  }), n;
1251
- }, Ce = ({
1250
+ }, Re = ({
1252
1251
  groups: e,
1253
1252
  groupsView: t,
1254
1253
  columns: n,
@@ -1260,7 +1259,7 @@ const Be = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1 $2").replace(/[_-]+/g, " "
1260
1259
  formLoading: p,
1261
1260
  sport: c
1262
1261
  }) => {
1263
- const s = M();
1262
+ const s = $();
1264
1263
  return e.length <= 1 ? /* @__PURE__ */ r(
1265
1264
  ne,
1266
1265
  {
@@ -1275,7 +1274,7 @@ const Be = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1 $2").replace(/[_-]+/g, " "
1275
1274
  sport: c
1276
1275
  }
1277
1276
  ) : t === "detailed" ? /* @__PURE__ */ r(
1278
- Dt,
1277
+ Pt,
1279
1278
  {
1280
1279
  groups: e,
1281
1280
  columns: n,
@@ -1287,7 +1286,7 @@ const Be = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1 $2").replace(/[_-]+/g, " "
1287
1286
  formLoading: p,
1288
1287
  sport: c
1289
1288
  }
1290
- ) : /* @__PURE__ */ w(B, { children: [
1289
+ ) : /* @__PURE__ */ C(_, { children: [
1291
1290
  /* @__PURE__ */ r(
1292
1291
  x,
1293
1292
  {
@@ -1298,7 +1297,7 @@ const Be = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1 $2").replace(/[_-]+/g, " "
1298
1297
  padding: s.sm
1299
1298
  },
1300
1299
  children: e.map((u, f) => /* @__PURE__ */ r(
1301
- vt,
1300
+ Kt,
1302
1301
  {
1303
1302
  group: u,
1304
1303
  columns: n,
@@ -1311,9 +1310,9 @@ const Be = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1 $2").replace(/[_-]+/g, " "
1311
1310
  ))
1312
1311
  }
1313
1312
  ),
1314
- a && /* @__PURE__ */ r(we, { zones: Et(e), zoneLabels: d })
1313
+ a && /* @__PURE__ */ r(Le, { zones: At(e), zoneLabels: d })
1315
1314
  ] });
1316
- }, Pt = ({
1315
+ }, Ot = ({
1317
1316
  stages: e,
1318
1317
  groupsView: t,
1319
1318
  columns: n,
@@ -1325,16 +1324,16 @@ const Be = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1 $2").replace(/[_-]+/g, " "
1325
1324
  formLoading: p,
1326
1325
  sport: c
1327
1326
  }) => {
1328
- const s = T(), u = F(), f = H(), h = M(), [b, S] = z(0);
1329
- return /* @__PURE__ */ w(
1330
- fe,
1327
+ const s = D(), u = P(), f = j(), h = $(), [b, S] = N(0);
1328
+ return /* @__PURE__ */ C(
1329
+ ye,
1331
1330
  {
1332
1331
  value: b,
1333
1332
  onChange: (g, m) => S(m),
1334
1333
  sx: { fontSize: "1em", backgroundColor: "transparent" },
1335
1334
  children: [
1336
1335
  /* @__PURE__ */ r(
1337
- ge,
1336
+ xe,
1338
1337
  {
1339
1338
  variant: "plain",
1340
1339
  sx: {
@@ -1353,7 +1352,7 @@ const Be = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1 $2").replace(/[_-]+/g, " "
1353
1352
  "--ListItem-radius": "0px"
1354
1353
  },
1355
1354
  children: e.map((g, m) => /* @__PURE__ */ r(
1356
- he,
1355
+ Se,
1357
1356
  {
1358
1357
  variant: "plain",
1359
1358
  color: "neutral",
@@ -1394,12 +1393,12 @@ const Be = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1 $2").replace(/[_-]+/g, " "
1394
1393
  }
1395
1394
  ),
1396
1395
  e.map((g, m) => /* @__PURE__ */ r(
1397
- ye,
1396
+ be,
1398
1397
  {
1399
1398
  value: m,
1400
1399
  sx: { padding: 0, fontSize: "1em" },
1401
1400
  children: /* @__PURE__ */ r(
1402
- Ce,
1401
+ Re,
1403
1402
  {
1404
1403
  groups: g.groups,
1405
1404
  groupsView: t,
@@ -1419,7 +1418,7 @@ const Be = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1 $2").replace(/[_-]+/g, " "
1419
1418
  ]
1420
1419
  }
1421
1420
  );
1422
- }, Ft = ({
1421
+ }, Nt = ({
1423
1422
  entityId: e,
1424
1423
  sdk: t,
1425
1424
  language: n,
@@ -1436,98 +1435,107 @@ const Be = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1 $2").replace(/[_-]+/g, " "
1436
1435
  seasonId: h,
1437
1436
  range: b
1438
1437
  }) => {
1439
- var se;
1440
- const { t: S } = Q("common"), g = T(), m = F(), R = H(), D = M(), C = {
1441
- success: g.palette.success.plainColor,
1442
- primary: g.palette.primary.plainColor,
1443
- warning: g.palette.warning.plainColor,
1444
- danger: g.palette.danger.plainColor
1445
- }, { data: y, loading: K, error: A } = st(
1438
+ var ce;
1439
+ const { t: S } = Y("common"), g = D(), m = P(), L = j(), R = $(), { success: w, primary: F, warning: z, danger: I } = g.palette, T = G(
1440
+ () => ({
1441
+ success: w.plainColor,
1442
+ primary: F.plainColor,
1443
+ warning: z.plainColor,
1444
+ danger: I.plainColor
1445
+ }),
1446
+ [
1447
+ w.plainColor,
1448
+ F.plainColor,
1449
+ z.plainColor,
1450
+ I.plainColor
1451
+ ]
1452
+ ), { data: y, loading: K, error: U } = dt(
1446
1453
  e,
1447
1454
  t,
1448
- C,
1455
+ T,
1449
1456
  S("standings.unknownTeam"),
1450
1457
  p,
1451
1458
  f,
1452
1459
  h,
1453
1460
  b,
1454
1461
  o
1455
- ), L = !s || s.includes("form"), E = ((se = y == null ? void 0 : y.sport) == null ? void 0 : se.toLowerCase()) === "football", $ = V(() => !y || !L ? [] : y.stages.map((v) => {
1456
- var U, N;
1457
- const O = /* @__PURE__ */ new Set();
1462
+ ), H = !s || s.includes("form"), Q = ((ce = y == null ? void 0 : y.sport) == null ? void 0 : ce.toLowerCase()) === "football", De = G(() => !y || !H ? [] : y.stages.map((v) => {
1463
+ var W, O;
1464
+ const A = /* @__PURE__ */ new Set();
1458
1465
  return v.groups.forEach(
1459
- (X) => X.rows.forEach((Z) => O.add(Z.competitorId))
1466
+ (X) => X.rows.forEach((Z) => A.add(Z.competitorId))
1460
1467
  ), {
1461
1468
  stageId: v.id,
1462
- teamIds: Array.from(O),
1469
+ teamIds: Array.from(A),
1463
1470
  // Some stages don't carry their own startDate/endDate (empty string, not
1464
1471
  // null/undefined — hence `||` rather than `??`) — fall back to the season's,
1465
1472
  // since a stage's window is always within its season's anyway. If even that's
1466
1473
  // missing, default the upper bound to today rather than sending no `toDate` at
1467
- // all, which would let "last 5 matches" spill into a later season.
1468
- fromDate: v.startDate || ((U = y.season) == null ? void 0 : U.startDate) || null,
1469
- toDate: v.endDate || ((N = y.season) == null ? void 0 : N.endDate) || (/* @__PURE__ */ new Date()).toISOString()
1474
+ // all, which would let "last 5 matches" spill into a later season. Date-only, so
1475
+ // the value (and useTeamsForm's effect key) doesn't change on every render.
1476
+ fromDate: v.startDate || ((W = y.season) == null ? void 0 : W.startDate) || null,
1477
+ toDate: v.endDate || ((O = y.season) == null ? void 0 : O.endDate) || (/* @__PURE__ */ new Date()).toISOString().slice(0, 10)
1470
1478
  };
1471
- }), [y, L]), _ = V(() => {
1479
+ }), [y, H]), oe = G(() => {
1472
1480
  const v = /* @__PURE__ */ new Map();
1473
1481
  return y == null || y.stages.forEach(
1474
- (O) => O.groups.forEach(
1475
- (U) => U.rows.forEach((N) => {
1476
- v.set(N.competitorId, {
1477
- name: N.teamName,
1478
- logoUrl: N.logoUrl
1482
+ (A) => A.groups.forEach(
1483
+ (W) => W.rows.forEach((O) => {
1484
+ v.set(O.competitorId, {
1485
+ name: O.teamName,
1486
+ logoUrl: O.logoUrl
1479
1487
  });
1480
1488
  })
1481
1489
  )
1482
1490
  ), v;
1483
- }, [y]), { formByStageAndTeam: G, loading: j } = pt(t, $, e, L && E), oe = V(() => {
1491
+ }, [y]), { formByStageAndTeam: re, loading: ae } = yt(t, De, e, H && Q), se = G(() => {
1484
1492
  const v = S("standings.unknownTeam");
1485
1493
  return Object.fromEntries(
1486
- Object.entries(G).map(([O, U]) => [
1487
- O,
1494
+ Object.entries(re).map(([A, W]) => [
1495
+ A,
1488
1496
  Object.fromEntries(
1489
- Object.entries(U).map(([N, X]) => [
1490
- N,
1497
+ Object.entries(W).map(([O, X]) => [
1498
+ O,
1491
1499
  X.map((Z) => {
1492
- const W = _.get(Z.opponentId);
1500
+ const B = oe.get(Z.opponentId);
1493
1501
  return {
1494
1502
  ...Z,
1495
- opponentName: (W == null ? void 0 : W.name) ?? v,
1496
- opponentLogoUrl: (W == null ? void 0 : W.logoUrl) ?? null
1503
+ opponentName: (B == null ? void 0 : B.name) ?? v,
1504
+ opponentLogoUrl: (B == null ? void 0 : B.logoUrl) ?? null
1497
1505
  };
1498
1506
  })
1499
1507
  ])
1500
1508
  )
1501
1509
  ])
1502
1510
  );
1503
- }, [G, _, S]), re = !y || y.stages.every(
1504
- (v) => v.groups.every((O) => O.rows.length === 0)
1505
- ), ae = {
1511
+ }, [re, oe, S]), le = !y || y.stages.every(
1512
+ (v) => v.groups.every((A) => A.rows.length === 0)
1513
+ ), ie = {
1506
1514
  fontFamily: m.secondary,
1507
1515
  fontSize: "1em",
1508
1516
  color: g.textSecondary,
1509
1517
  textAlign: "center",
1510
- padding: D.lg
1518
+ padding: R.lg
1511
1519
  };
1512
- return /* @__PURE__ */ w(
1513
- pe,
1520
+ return /* @__PURE__ */ C(
1521
+ he,
1514
1522
  {
1515
1523
  variant: "outlined",
1516
1524
  sx: {
1517
1525
  fontSize: "1em",
1518
1526
  fontFamily: m.primary,
1519
- borderRadius: R.md,
1527
+ borderRadius: L.md,
1520
1528
  overflow: "hidden",
1521
1529
  backgroundColor: g.surface,
1522
1530
  borderColor: g.outlineEnabledBorder
1523
1531
  },
1524
1532
  children: [
1525
- K && /* @__PURE__ */ r(Fe, { my: 10 }),
1526
- !K && A && /* @__PURE__ */ r(k, { sx: ae, children: S("standings.loadFailed") }),
1527
- !K && !A && re && /* @__PURE__ */ r(k, { sx: ae, children: S("standings.noStandingsAvailable") }),
1528
- !K && !A && y && !re && /* @__PURE__ */ w(B, { children: [
1533
+ K && /* @__PURE__ */ r(Ne, { my: 10 }),
1534
+ !K && U && /* @__PURE__ */ r(k, { sx: ie, children: S("standings.loadFailed") }),
1535
+ !K && !U && le && /* @__PURE__ */ r(k, { sx: ie, children: S("standings.noStandingsAvailable") }),
1536
+ !K && !U && y && !le && /* @__PURE__ */ C(_, { children: [
1529
1537
  a && /* @__PURE__ */ r(
1530
- ft,
1538
+ xt,
1531
1539
  {
1532
1540
  title: y.competitionName,
1533
1541
  logoUrl: y.logoUrl,
@@ -1536,7 +1544,7 @@ const Be = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1 $2").replace(/[_-]+/g, " "
1536
1544
  }
1537
1545
  ),
1538
1546
  y.stages.length > 1 ? /* @__PURE__ */ r(
1539
- Pt,
1547
+ Ot,
1540
1548
  {
1541
1549
  stages: y.stages,
1542
1550
  groupsView: u,
@@ -1545,12 +1553,12 @@ const Be = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1 $2").replace(/[_-]+/g, " "
1545
1553
  showLegend: d,
1546
1554
  highlightedCompetitorIds: i,
1547
1555
  zoneLabels: c,
1548
- formByStageId: oe,
1549
- formLoading: j,
1556
+ formByStageId: se,
1557
+ formLoading: ae,
1550
1558
  sport: y.sport
1551
1559
  }
1552
1560
  ) : /* @__PURE__ */ r(
1553
- Ce,
1561
+ Re,
1554
1562
  {
1555
1563
  groups: y.stages[0].groups,
1556
1564
  groupsView: u,
@@ -1559,8 +1567,8 @@ const Be = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1 $2").replace(/[_-]+/g, " "
1559
1567
  showLegend: d,
1560
1568
  highlightedCompetitorIds: i,
1561
1569
  zoneLabels: c,
1562
- formByTeamId: oe[y.stages[0].id] ?? {},
1563
- formLoading: j,
1570
+ formByTeamId: se[y.stages[0].id] ?? {},
1571
+ formLoading: ae,
1564
1572
  sport: y.sport
1565
1573
  }
1566
1574
  )
@@ -1568,20 +1576,20 @@ const Be = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1 $2").replace(/[_-]+/g, " "
1568
1576
  ]
1569
1577
  }
1570
1578
  );
1571
- }, Kt = (e) => {
1572
- const [t, n] = P.useState(!1), [o, a] = P.useState(!1), l = Ke(e.language), d = P.useRef(
1579
+ }, zt = (e) => {
1580
+ const [t, n] = E.useState(!1), [o, a] = E.useState(!1), l = ze(e.language), d = E.useRef(
1573
1581
  `$standings-shadow-root-${Math.random().toString(36).substring(2, 11)}`
1574
- ), i = P.useRef(null), p = P.useRef(null), c = P.useRef(null), [s, u] = P.useState(null);
1575
- P.useEffect(() => {
1576
- Ae(e.language || "en").finally(() => a(!0));
1577
- }, [e.language]), P.useEffect(() => {
1582
+ ), i = E.useRef(null), p = E.useRef(null), c = E.useRef(null), [s, u] = E.useState(null);
1583
+ E.useEffect(() => {
1584
+ Ie(e.language || "en").finally(() => a(!0));
1585
+ }, [e.language]), E.useEffect(() => {
1578
1586
  if (!i.current) return;
1579
1587
  i.current.shadowRoot ? (p.current = i.current.shadowRoot, c.current = p.current.getElementById(
1580
1588
  d.current
1581
- ), c.current || (c.current = document.createElement("div"), c.current.id = d.current, c.current.style.height = "100%", p.current.appendChild(c.current))) : (p.current = i.current.attachShadow({ mode: "open" }), c.current = document.createElement("div"), c.current.id = d.current, c.current.style.height = "100%", p.current.appendChild(c.current)), Oe(c.current, l);
1582
- const S = Ne("standings", l);
1589
+ ), c.current || (c.current = document.createElement("div"), c.current.id = d.current, c.current.style.height = "100%", p.current.appendChild(c.current))) : (p.current = i.current.attachShadow({ mode: "open" }), c.current = document.createElement("div"), c.current.id = d.current, c.current.style.height = "100%", p.current.appendChild(c.current)), Me(c.current, l);
1590
+ const S = $e("standings", l);
1583
1591
  return u(
1584
- (g) => (g == null ? void 0 : g.key) === S ? g : ze(
1592
+ (g) => (g == null ? void 0 : g.key) === S ? g : Ue(
1585
1593
  "standings",
1586
1594
  p.current,
1587
1595
  l
@@ -1590,19 +1598,19 @@ const Be = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1 $2").replace(/[_-]+/g, " "
1590
1598
  n(!1);
1591
1599
  };
1592
1600
  }, [l]);
1593
- const f = e.themeOptions, h = /* @__PURE__ */ r(x, { ref: i, lang: e.language || "en", sx: { height: "100%", display: "block" } }), b = t && o && c.current && s ? xe(
1601
+ const f = e.themeOptions, h = /* @__PURE__ */ r(x, { ref: i, lang: e.language || "en", sx: { height: "100%", display: "block" } }), b = t && o && c.current && s ? Ce(
1594
1602
  // Keyed on the cache, not on `direction`: it must change in the same
1595
1603
  // render that adopts the new cache, or CssVarsProvider writes its CSS
1596
1604
  // variables into the outgoing cache and never repeats.
1597
- /* @__PURE__ */ r(We, { value: s, children: /* @__PURE__ */ r(Ie, { containerRef: i, children: /* @__PURE__ */ r(
1598
- Me,
1605
+ /* @__PURE__ */ r(Ge, { value: s, children: /* @__PURE__ */ r(We, { containerRef: i, children: /* @__PURE__ */ r(
1606
+ Be,
1599
1607
  {
1600
1608
  customTheme: f,
1601
1609
  mode: f == null ? void 0 : f.mode,
1602
1610
  shadowRootElement: c.current,
1603
1611
  direction: l,
1604
1612
  children: /* @__PURE__ */ r(
1605
- $e,
1613
+ _e,
1606
1614
  {
1607
1615
  shadowRootElement: c.current,
1608
1616
  leadPhoneCountryCode: null,
@@ -1616,11 +1624,11 @@ const Be = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1 $2").replace(/[_-]+/g, " "
1616
1624
  ) }) }, s.key),
1617
1625
  c.current
1618
1626
  ) : null;
1619
- return /* @__PURE__ */ w(B, { children: [
1627
+ return /* @__PURE__ */ C(_, { children: [
1620
1628
  h,
1621
1629
  b
1622
1630
  ] });
1623
- }, At = (e) => /* @__PURE__ */ r(Kt, { ...e, children: /* @__PURE__ */ r(Ft, { ...e }) }), _t = At;
1631
+ }, It = (e) => /* @__PURE__ */ r(zt, { ...e, children: /* @__PURE__ */ r(Nt, { ...e }) }), Zt = It;
1624
1632
  export {
1625
- _t as Standings
1633
+ Zt as Standings
1626
1634
  };