@mjsz-vbr-elements/gamecenter 2.14.1 → 2.14.4

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.
package/dist/index.js CHANGED
@@ -1,11 +1,11 @@
1
1
  /**
2
2
  * name: @mjsz-vbr-elements/gamecenter
3
- * version: v2.14.1 - 30/01/2025, 11:11:30
3
+ * version: v2.14.4 - 30/01/2025, 12:09:28
4
4
  * (c) 2025
5
5
  * description: Data visualization for MJSZ VBR
6
6
  * author: Ákos Stegner <akos.stegner@gmail.com>
7
7
  */
8
- import { getCurrentScope as wa, onScopeDispose as xa, ref as C, isRef as ka, watch as be, readonly as Mt, toValue as X, computed as w, reactive as ft, unref as n, getCurrentInstance as Ta, onMounted as Sa, openBlock as m, createElementBlock as b, createElementVNode as l, toDisplayString as g, createBlock as T, Fragment as k, createTextVNode as x, createCommentVNode as y, normalizeStyle as ze, renderList as N, setBlockTracking as B, createVNode as f, normalizeClass as H, renderSlot as W, withCtx as S, mergeProps as ne, toHandlers as oe, resolveDynamicComponent as Lt, TransitionGroup as za, withModifiers as $a, defineCustomElement as Ct } from "vue";
8
+ import { getCurrentScope as wa, onScopeDispose as xa, ref as C, isRef as ka, watch as be, readonly as Mt, toValue as X, computed as w, reactive as ft, unref as n, getCurrentInstance as Ta, onMounted as Sa, openBlock as m, createElementBlock as b, createElementVNode as l, toDisplayString as g, createBlock as T, Fragment as k, createTextVNode as x, createCommentVNode as h, normalizeStyle as ze, renderList as N, setBlockTracking as B, createVNode as f, normalizeClass as H, renderSlot as W, withCtx as S, mergeProps as ne, toHandlers as oe, resolveDynamicComponent as Lt, TransitionGroup as za, withModifiers as $a, defineCustomElement as Ct } from "vue";
9
9
  import { Image as U, FloatingPanel as Q, ResponsiveTable as Pa, DataTable as ja, I18NProvider as Gt, ErrorNotice as Bt } from "@mjsz-vbr-elements/core/components";
10
10
  import { useVisibilityChange as Ea, useI18n as D, useColumns as se, useSort as Na, useServices as Z } from "@mjsz-vbr-elements/core/composables";
11
11
  import { convertSecToMin as R, rawConvert as et, convertTimesSecToMin as Ht, convertMinToSec as Oa, format as $e, offsetName as Pe, playerName as tt, upperCase as Ia, convert as Aa } from "@mjsz-vbr-elements/core/utils";
@@ -160,8 +160,8 @@ function yt(...e) {
160
160
  const v = La(p) ? { ...p } : p;
161
161
  t.push(
162
162
  ...d.flatMap(
163
- (h) => c.flatMap(
164
- (z) => u.map((P) => r(h, z, P, v))
163
+ (y) => c.flatMap(
164
+ (z) => u.map((P) => r(y, z, P, v))
165
165
  )
166
166
  )
167
167
  );
@@ -194,7 +194,7 @@ function Va(e, t, a = {}) {
194
194
  return ke(P).map(Te).filter(Da);
195
195
  });
196
196
  let p = Re;
197
- const v = C(d), h = c.value ? be(
197
+ const v = C(d), y = c.value ? be(
198
198
  () => [u.value, Te(r), v.value],
199
199
  ([P, E]) => {
200
200
  if (p(), !v.value || !P.length)
@@ -213,7 +213,7 @@ function Va(e, t, a = {}) {
213
213
  },
214
214
  { immediate: d, flush: "post" }
215
215
  ) : Re, z = () => {
216
- p(), h(), v.value = !1;
216
+ p(), y(), v.value = !1;
217
217
  };
218
218
  return ce(z), {
219
219
  isSupported: c,
@@ -279,7 +279,7 @@ function it(e = "history", t = {}) {
279
279
  function v() {
280
280
  return new URLSearchParams(u());
281
281
  }
282
- function h(I) {
282
+ function y(I) {
283
283
  const $ = new Set(Object.keys(c));
284
284
  for (const L of I.keys()) {
285
285
  const V = I.getAll(L);
@@ -299,7 +299,7 @@ function it(e = "history", t = {}) {
299
299
  { deep: !0 }
300
300
  );
301
301
  function E(I, $) {
302
- z(), $ && h(I), s === "replace" ? d.history.replaceState(
302
+ z(), $ && y(I), s === "replace" ? d.history.replaceState(
303
303
  d.history.state,
304
304
  d.document.title,
305
305
  d.location.pathname + p(I)
@@ -315,7 +315,7 @@ function it(e = "history", t = {}) {
315
315
  const G = { passive: !0 };
316
316
  yt(d, "popstate", j, G), e !== "history" && yt(d, "hashchange", j, G);
317
317
  const ie = v();
318
- return ie.keys().next().value ? h(ie) : Object.assign(c, a), c;
318
+ return ie.keys().next().value ? y(ie) : Object.assign(c, a), c;
319
319
  }
320
320
  function O(e) {
321
321
  return e != null && typeof e == "object" && e["@@functional/placeholder"] === !0;
@@ -1328,8 +1328,8 @@ function Li(e, t, a, r) {
1328
1328
  return `(${i.join(", ")}) ${o}:${s}`;
1329
1329
  }
1330
1330
  function Ci(e) {
1331
- var d, c, u, p, v, h;
1332
- const t = ((d = e == null ? void 0 : e.home) == null ? void 0 : d.advTime) ?? 0, a = ((c = e == null ? void 0 : e.away) == null ? void 0 : c.advTime) ?? 0, r = ((u = e == null ? void 0 : e.home) == null ? void 0 : u.advTimePP1) ?? 0, i = ((p = e == null ? void 0 : e.away) == null ? void 0 : p.advTimePP1) ?? 0, o = ((v = e == null ? void 0 : e.home) == null ? void 0 : v.advTimePP2) ?? 0, s = ((h = e == null ? void 0 : e.away) == null ? void 0 : h.advTimePP2) ?? 0;
1331
+ var d, c, u, p, v, y;
1332
+ const t = ((d = e == null ? void 0 : e.home) == null ? void 0 : d.advTime) ?? 0, a = ((c = e == null ? void 0 : e.away) == null ? void 0 : c.advTime) ?? 0, r = ((u = e == null ? void 0 : e.home) == null ? void 0 : u.advTimePP1) ?? 0, i = ((p = e == null ? void 0 : e.away) == null ? void 0 : p.advTimePP1) ?? 0, o = ((v = e == null ? void 0 : e.home) == null ? void 0 : v.advTimePP2) ?? 0, s = ((y = e == null ? void 0 : e.away) == null ? void 0 : y.advTimePP2) ?? 0;
1333
1333
  return {
1334
1334
  advTime: `${R(t)} / ${R(a)}`,
1335
1335
  advTimePP1: `${R(r)} / ${R(i)}`,
@@ -1337,13 +1337,13 @@ function Ci(e) {
1337
1337
  };
1338
1338
  }
1339
1339
  function Gi(e) {
1340
- var d, c, u, p, v, h;
1341
- const t = ((d = e == null ? void 0 : e.home) == null ? void 0 : d.adv) ?? 0, a = ((c = e == null ? void 0 : e.home) == null ? void 0 : c.ppgf) ?? 0, r = ((u = e == null ? void 0 : e.away) == null ? void 0 : u.adv) ?? 0, i = ((p = e == null ? void 0 : e.away) == null ? void 0 : p.ppgf) ?? 0, o = (((v = e == null ? void 0 : e.home) == null ? void 0 : v.ppPercent) ?? 0).toFixed(2), s = (((h = e == null ? void 0 : e.away) == null ? void 0 : h.ppPercent) ?? 0).toFixed(2);
1340
+ var d, c, u, p, v, y;
1341
+ const t = ((d = e == null ? void 0 : e.home) == null ? void 0 : d.adv) ?? 0, a = ((c = e == null ? void 0 : e.home) == null ? void 0 : c.ppgf) ?? 0, r = ((u = e == null ? void 0 : e.away) == null ? void 0 : u.adv) ?? 0, i = ((p = e == null ? void 0 : e.away) == null ? void 0 : p.ppgf) ?? 0, o = (((v = e == null ? void 0 : e.home) == null ? void 0 : v.ppPercent) ?? 0).toFixed(2), s = (((y = e == null ? void 0 : e.away) == null ? void 0 : y.ppPercent) ?? 0).toFixed(2);
1342
1342
  return `(${t}/${a}) <b>${o}%</b> / (${r}/${i}) <b>${s}%</b>`;
1343
1343
  }
1344
1344
  function Bi(e) {
1345
- var d, c, u, p, v, h;
1346
- const t = ((d = e == null ? void 0 : e.home) == null ? void 0 : d.dvg) ?? 0, a = ((c = e == null ? void 0 : e.home) == null ? void 0 : c.pk) ?? 0, r = ((u = e == null ? void 0 : e.away) == null ? void 0 : u.dvg) ?? 0, i = ((p = e == null ? void 0 : e.away) == null ? void 0 : p.pk) ?? 0, o = (((v = e == null ? void 0 : e.home) == null ? void 0 : v.pkPercent) ?? 0).toFixed(2), s = (((h = e == null ? void 0 : e.away) == null ? void 0 : h.pkPercent) ?? 0).toFixed(2);
1345
+ var d, c, u, p, v, y;
1346
+ const t = ((d = e == null ? void 0 : e.home) == null ? void 0 : d.dvg) ?? 0, a = ((c = e == null ? void 0 : e.home) == null ? void 0 : c.pk) ?? 0, r = ((u = e == null ? void 0 : e.away) == null ? void 0 : u.dvg) ?? 0, i = ((p = e == null ? void 0 : e.away) == null ? void 0 : p.pk) ?? 0, o = (((v = e == null ? void 0 : e.home) == null ? void 0 : v.pkPercent) ?? 0).toFixed(2), s = (((y = e == null ? void 0 : e.away) == null ? void 0 : y.pkPercent) ?? 0).toFixed(2);
1347
1347
  return `(${t}/${a}) <b>${o}%</b> / (${r}/${i}) <b>${s}%</b>`;
1348
1348
  }
1349
1349
  function ma(e) {
@@ -1358,7 +1358,9 @@ function ga(e = {}) {
1358
1358
  () => jt(i, o, s),
1359
1359
  a,
1360
1360
  { immediate: !1 }
1361
- ), { pause: h } = ht(() => i(), Nt, {
1361
+ ), { pause: y } = ht(() => {
1362
+ i(), d();
1363
+ }, Nt, {
1362
1364
  immediate: !0,
1363
1365
  immediateCallback: !0
1364
1366
  }), { resume: z, pause: P } = ht(
@@ -1370,7 +1372,7 @@ function ga(e = {}) {
1370
1372
  }
1371
1373
  );
1372
1374
  return Ea(c, u, p), be(t, (E) => {
1373
- E.gameStatus < 1 && (c.value = !1), E.gameStatus === 1 && !v.value && (h(), z(), u(), c.value = !0), E.gameStatus > 1 && (c.value = !1, jt(o, s, d), h(), P(), p());
1375
+ E.gameStatus < 1 && (c.value = !1), E.gameStatus === 1 && !v.value && (y(), z(), u(), c.value = !0), E.gameStatus > 1 && (c.value = !1, jt(o, s, d), y(), P(), p());
1374
1376
  }), {
1375
1377
  pause: p
1376
1378
  };
@@ -1430,7 +1432,7 @@ const Ri = { class: "gamecenter-timeline-score-board" }, Ki = { class: "is-team
1430
1432
  l("div", Vi, [
1431
1433
  e.gameData.gameStatus > 0 ? (m(), b(k, { key: 0 }, [
1432
1434
  x(g(n(t)(`periods.${n(Fe)(e.gameData.period)}`)), 1)
1433
- ], 64)) : y("", !0)
1435
+ ], 64)) : h("", !0)
1434
1436
  ]),
1435
1437
  l("div", qi, g(e.gameData.awayTeamScore), 1),
1436
1438
  (m(), T(n(U), {
@@ -1593,9 +1595,9 @@ function Ve(e, t, a, r) {
1593
1595
  let i = 0, o = 0;
1594
1596
  const s = e.reduce((d, c) => {
1595
1597
  var z, P, E;
1596
- const u = ((z = c[t]) == null ? void 0 : z.period) ?? "p1", p = ((P = c[t]) == null ? void 0 : P[r]) ?? 0, v = ((E = c[a]) == null ? void 0 : E[r]) ?? 0, h = p + v;
1598
+ const u = ((z = c[t]) == null ? void 0 : z.period) ?? "p1", p = ((P = c[t]) == null ? void 0 : P[r]) ?? 0, v = ((E = c[a]) == null ? void 0 : E[r]) ?? 0, y = p + v;
1597
1599
  return i += p, o += v, d[u] = {
1598
- max: h,
1600
+ max: y,
1599
1601
  valueStart: p,
1600
1602
  valueEnd: v
1601
1603
  }, d;
@@ -1607,8 +1609,8 @@ function Ve(e, t, a, r) {
1607
1609
  }, s;
1608
1610
  }
1609
1611
  function pn(e) {
1610
- var d, c, u, p, v, h;
1611
- const t = ((d = e == null ? void 0 : e.home) == null ? void 0 : d.advTime) ?? 0, a = ((c = e == null ? void 0 : e.away) == null ? void 0 : c.advTime) ?? 0, r = ((u = e == null ? void 0 : e.home) == null ? void 0 : u.advTimePP1) ?? 0, i = ((p = e == null ? void 0 : e.away) == null ? void 0 : p.advTimePP1) ?? 0, o = ((v = e == null ? void 0 : e.home) == null ? void 0 : v.advTimePP2) ?? 0, s = ((h = e == null ? void 0 : e.away) == null ? void 0 : h.advTimePP2) ?? 0;
1612
+ var d, c, u, p, v, y;
1613
+ const t = ((d = e == null ? void 0 : e.home) == null ? void 0 : d.advTime) ?? 0, a = ((c = e == null ? void 0 : e.away) == null ? void 0 : c.advTime) ?? 0, r = ((u = e == null ? void 0 : e.home) == null ? void 0 : u.advTimePP1) ?? 0, i = ((p = e == null ? void 0 : e.away) == null ? void 0 : p.advTimePP1) ?? 0, o = ((v = e == null ? void 0 : e.home) == null ? void 0 : v.advTimePP2) ?? 0, s = ((y = e == null ? void 0 : e.away) == null ? void 0 : y.advTimePP2) ?? 0;
1612
1614
  return {
1613
1615
  advTime: {
1614
1616
  max: t + a,
@@ -1628,8 +1630,8 @@ function pn(e) {
1628
1630
  };
1629
1631
  }
1630
1632
  function fn(e) {
1631
- var d, c, u, p, v, h;
1632
- const t = ((d = e == null ? void 0 : e.home) == null ? void 0 : d.adv) ?? 0, a = ((c = e == null ? void 0 : e.home) == null ? void 0 : c.ppgf) ?? 0, r = ((u = e == null ? void 0 : e.away) == null ? void 0 : u.adv) ?? 0, i = ((p = e == null ? void 0 : e.away) == null ? void 0 : p.ppgf) ?? 0, o = (((v = e == null ? void 0 : e.home) == null ? void 0 : v.ppPercent) ?? 0).toFixed(2), s = (((h = e == null ? void 0 : e.away) == null ? void 0 : h.ppPercent) ?? 0).toFixed(2);
1633
+ var d, c, u, p, v, y;
1634
+ const t = ((d = e == null ? void 0 : e.home) == null ? void 0 : d.adv) ?? 0, a = ((c = e == null ? void 0 : e.home) == null ? void 0 : c.ppgf) ?? 0, r = ((u = e == null ? void 0 : e.away) == null ? void 0 : u.adv) ?? 0, i = ((p = e == null ? void 0 : e.away) == null ? void 0 : p.ppgf) ?? 0, o = (((v = e == null ? void 0 : e.home) == null ? void 0 : v.ppPercent) ?? 0).toFixed(2), s = (((y = e == null ? void 0 : e.away) == null ? void 0 : y.ppPercent) ?? 0).toFixed(2);
1633
1635
  return {
1634
1636
  powerPlays: {
1635
1637
  max: t + r,
@@ -1652,8 +1654,8 @@ function fn(e) {
1652
1654
  };
1653
1655
  }
1654
1656
  function hn(e) {
1655
- var d, c, u, p, v, h;
1656
- const t = ((d = e == null ? void 0 : e.home) == null ? void 0 : d.dvg) ?? 0, a = ((c = e == null ? void 0 : e.home) == null ? void 0 : c.pk) ?? 0, r = ((u = e == null ? void 0 : e.away) == null ? void 0 : u.dvg) ?? 0, i = ((p = e == null ? void 0 : e.away) == null ? void 0 : p.pk) ?? 0, o = (((v = e == null ? void 0 : e.home) == null ? void 0 : v.pkPercent) ?? 0).toFixed(2), s = (((h = e == null ? void 0 : e.away) == null ? void 0 : h.pkPercent) ?? 0).toFixed(2);
1657
+ var d, c, u, p, v, y;
1658
+ const t = ((d = e == null ? void 0 : e.home) == null ? void 0 : d.dvg) ?? 0, a = ((c = e == null ? void 0 : e.home) == null ? void 0 : c.pk) ?? 0, r = ((u = e == null ? void 0 : e.away) == null ? void 0 : u.dvg) ?? 0, i = ((p = e == null ? void 0 : e.away) == null ? void 0 : p.pk) ?? 0, o = (((v = e == null ? void 0 : e.home) == null ? void 0 : v.pkPercent) ?? 0).toFixed(2), s = (((y = e == null ? void 0 : e.away) == null ? void 0 : y.pkPercent) ?? 0).toFixed(2);
1657
1659
  return {
1658
1660
  penaltyKill: {
1659
1661
  max: t + r,
@@ -1745,7 +1747,7 @@ const wn = { class: "gamecenter-timeline-game-data" }, xn = { class: "is-title-c
1745
1747
  }, [
1746
1748
  f(n(Oe), { class: "is-icon" }),
1747
1749
  x(" " + g(n(a)("sheet")), 1)
1748
- ], 8, zn)) : y("", !0),
1750
+ ], 8, zn)) : h("", !0),
1749
1751
  e.gameData.toiReportUrl ? (m(), b("a", {
1750
1752
  key: 1,
1751
1753
  href: e.gameData.toiReportUrl,
@@ -1753,7 +1755,7 @@ const wn = { class: "gamecenter-timeline-game-data" }, xn = { class: "is-title-c
1753
1755
  }, [
1754
1756
  f(n(Oe), { class: "is-icon" }),
1755
1757
  x(" " + g(n(a)("toiSheet")), 1)
1756
- ], 8, $n)) : y("", !0),
1758
+ ], 8, $n)) : h("", !0),
1757
1759
  e.gameData.video ? (m(), b("a", {
1758
1760
  key: 2,
1759
1761
  href: e.gameData.video,
@@ -1761,7 +1763,7 @@ const wn = { class: "gamecenter-timeline-game-data" }, xn = { class: "is-title-c
1761
1763
  }, [
1762
1764
  f(n(va), { class: "is-icon" }),
1763
1765
  x(" " + g(n(a)("video")), 1)
1764
- ], 8, Pn)) : y("", !0)
1766
+ ], 8, Pn)) : h("", !0)
1765
1767
  ])
1766
1768
  ]),
1767
1769
  l("div", jn, [
@@ -1782,21 +1784,21 @@ const wn = { class: "gamecenter-timeline-game-data" }, xn = { class: "is-title-c
1782
1784
  ])
1783
1785
  ]),
1784
1786
  l("div", null, [
1785
- e.gameData.gameStatus > 1 ? (m(), b("p", On, g(n(a)(`gameStatus.status-${e.gameData.gameStatus}`)), 1)) : y("", !0),
1786
- e.gameData.gameStatus === 1 ? (m(), b("p", In, g(n(a)(`periods.${n(Fe)(e.gameData.period)}`)), 1)) : y("", !0),
1787
+ e.gameData.gameStatus > 1 ? (m(), b("p", On, g(n(a)(`gameStatus.status-${e.gameData.gameStatus}`)), 1)) : h("", !0),
1788
+ e.gameData.gameStatus === 1 ? (m(), b("p", In, g(n(a)(`periods.${n(Fe)(e.gameData.period)}`)), 1)) : h("", !0),
1787
1789
  e.gameData.gameStatus > 1 ? (m(), b(k, { key: 2 }, [
1788
1790
  e.gameData.isOvertime ? (m(), b("p", An, [
1789
1791
  l("span", _n, g(n(a)("afterOvertime")), 1)
1790
- ])) : y("", !0),
1792
+ ])) : h("", !0),
1791
1793
  e.gameData.isShootout ? (m(), b("p", Dn, [
1792
1794
  l("span", Mn, g(n(a)("afterShootout")), 1)
1793
- ])) : y("", !0)
1794
- ], 64)) : y("", !0),
1795
- e.gameData.gameStatus === 1 ? (m(), b("p", Ln, g(e.gameData.actualTime), 1)) : y("", !0),
1795
+ ])) : h("", !0)
1796
+ ], 64)) : h("", !0),
1797
+ e.gameData.gameStatus === 1 ? (m(), b("p", Ln, g(e.gameData.actualTime), 1)) : h("", !0),
1796
1798
  e.gameData.gameStatus === 1 ? (m(), T(ba, {
1797
1799
  key: 4,
1798
1800
  "game-data": e.gameData
1799
- }, null, 8, ["game-data"])) : y("", !0),
1801
+ }, null, 8, ["game-data"])) : h("", !0),
1800
1802
  l("div", {
1801
1803
  class: H(["is-game-result", [{ "is-game-status-live": e.gameData.gameStatus === 1 }]])
1802
1804
  }, [
@@ -1804,13 +1806,13 @@ const wn = { class: "gamecenter-timeline-game-data" }, xn = { class: "is-title-c
1804
1806
  d[3] || (d[3] = x(":")),
1805
1807
  e.gameData.gameStatus === 0 ? (m(), b("span", Bn, "-")) : (m(), b("span", Hn, g(e.gameData.awayTeamScore), 1))
1806
1808
  ], 2),
1807
- e.gameData.attendance ? (m(), b("p", Fn, g(n(a)("gameData.attendance", [e.gameData.attendance])), 1)) : y("", !0),
1809
+ e.gameData.attendance ? (m(), b("p", Fn, g(n(a)("gameData.attendance", [e.gameData.attendance])), 1)) : h("", !0),
1808
1810
  e.gameData.gameStatus > 0 ? (m(), T(dn, {
1809
1811
  key: 6,
1810
1812
  results: r.value,
1811
1813
  "home-team-name": e.gameData.homeTeam.shortName,
1812
1814
  "away-team-name": e.gameData.awayTeam.shortName
1813
- }, null, 8, ["results", "home-team-name", "away-team-name"])) : y("", !0)
1815
+ }, null, 8, ["results", "home-team-name", "away-team-name"])) : h("", !0)
1814
1816
  ]),
1815
1817
  l("div", null, [
1816
1818
  d[2] || (B(-1, !0), (d[2] = f(n(U), {
@@ -1973,8 +1975,8 @@ const pe = { render: qn }, Yn = ["data-team"], Wn = { class: "is-details-title"
1973
1975
  }, {
1974
1976
  title: S(() => [
1975
1977
  x(g(n(r)("eventType.Gól")) + " ", 1),
1976
- e.event.advantage ? (m(), b("span", eo, g(e.event.advantage), 1)) : y("", !0),
1977
- e.event.en ? (m(), b("span", to, " EN ")) : y("", !0),
1978
+ e.event.advantage ? (m(), b("span", eo, g(e.event.advantage), 1)) : h("", !0),
1979
+ e.event.en ? (m(), b("span", to, " EN ")) : h("", !0),
1978
1980
  x(" (" + g(e.event.score) + ") ", 1)
1979
1981
  ]),
1980
1982
  "details-list": S(() => [
@@ -2034,19 +2036,19 @@ const pe = { render: qn }, Yn = ["data-team"], Wn = { class: "is-details-title"
2034
2036
  _: 2
2035
2037
  }, 1032, ["content", "append-to"]))), 128))
2036
2038
  ])
2037
- ])) : y("", !0),
2039
+ ])) : h("", !0),
2038
2040
  l("li", null, [
2039
2041
  e.event.ps || e.event.gws || e.event.gwg ? (m(), b("span", mo, [
2040
2042
  e.event.ps ? (m(), b(k, { key: 0 }, [
2041
2043
  x("PS")
2042
- ], 64)) : y("", !0),
2044
+ ], 64)) : h("", !0),
2043
2045
  e.event.gws ? (m(), b(k, { key: 1 }, [
2044
2046
  x("GWS")
2045
- ], 64)) : y("", !0),
2047
+ ], 64)) : h("", !0),
2046
2048
  e.event.gwg ? (m(), b(k, { key: 2 }, [
2047
2049
  x("GWG")
2048
- ], 64)) : y("", !0)
2049
- ])) : y("", !0)
2050
+ ], 64)) : h("", !0)
2051
+ ])) : h("", !0)
2050
2052
  ])
2051
2053
  ])
2052
2054
  ]),
@@ -2146,19 +2148,19 @@ const yo = { render: ho }, wo = { class: "is-details-list" }, xo = { class: "is-
2146
2148
  width: "24",
2147
2149
  height: "24",
2148
2150
  class: "is-goalie-in-icon"
2149
- })) : y("", !0),
2151
+ })) : h("", !0),
2150
2152
  e.event.gkDirection === "BE" ? (m(), T(n(Xe), {
2151
2153
  key: 1,
2152
2154
  width: "24",
2153
2155
  height: "24",
2154
2156
  class: "is-goalie-in-icon"
2155
- })) : y("", !0),
2157
+ })) : h("", !0),
2156
2158
  e.event.gkDirection === "KI" ? (m(), T(n(pa), {
2157
2159
  key: 2,
2158
2160
  width: "24",
2159
2161
  height: "24",
2160
2162
  class: "is-goalie-out-icon"
2161
- })) : y("", !0)
2163
+ })) : h("", !0)
2162
2164
  ]),
2163
2165
  _: 1
2164
2166
  }, 8, ["timestamp", "is-home-team", "event-type", "event"]));
@@ -2197,11 +2199,11 @@ const fa = { render: zo }, $o = { class: "is-details-list" }, Po = { class: "is-
2197
2199
  x(g(n(a)("events.penaltyLength", [e.event.penaltyLength])) + " ", 1),
2198
2200
  e.event.penaltyEnd ? (m(), b(k, { key: 0 }, [
2199
2201
  x(" (" + g(e.event.penaltyEnd) + ") ", 1)
2200
- ], 64)) : y("", !0)
2201
- ], 64)) : y("", !0),
2202
+ ], 64)) : h("", !0)
2203
+ ], 64)) : h("", !0),
2202
2204
  e.event.perc === 0 ? (m(), b(k, { key: 1 }, [
2203
2205
  x(" PS ")
2204
- ], 64)) : y("", !0)
2206
+ ], 64)) : h("", !0)
2205
2207
  ]),
2206
2208
  "details-list": S(() => [
2207
2209
  l("ul", $o, [
@@ -2441,27 +2443,27 @@ const bt = { render: Lo }, Co = { class: "is-period-header" }, Go = {
2441
2443
  key: v,
2442
2444
  class: H(["gamecenter-timeline-lineups-lines", [{ "is-away-team": v === "away" }]])
2443
2445
  }, [
2444
- (m(!0), b(k, null, N(p, (h) => {
2446
+ (m(!0), b(k, null, N(p, (y) => {
2445
2447
  var z;
2446
2448
  return m(), b("ul", {
2447
- key: h.position,
2448
- class: H(["is-player-wrapper", [`is-${h.position}`]])
2449
+ key: y.position,
2450
+ class: H(["is-player-wrapper", [`is-${y.position}`]])
2449
2451
  }, [
2450
2452
  l("li", null, [
2451
2453
  f(n(U), {
2452
- src: h.player.picture
2454
+ src: y.player.picture
2453
2455
  }, null, 8, ["src"])
2454
2456
  ]),
2455
- l("li", null, g(h.number), 1),
2457
+ l("li", null, g(y.number), 1),
2456
2458
  l("li", null, [
2457
- x(g(((z = n(tt)(h)) == null ? void 0 : z.name) ?? "") + " ", 1),
2459
+ x(g(((z = n(tt)(y)) == null ? void 0 : z.name) ?? "") + " ", 1),
2458
2460
  l("ul", null, [
2459
- (m(!0), b(k, null, N(h.goal, (P) => (m(), b("li", { key: P }, [
2461
+ (m(!0), b(k, null, N(y.goal, (P) => (m(), b("li", { key: P }, [
2460
2462
  f(n(pe))
2461
2463
  ]))), 128))
2462
2464
  ])
2463
2465
  ]),
2464
- l("li", null, g(h.position), 1)
2466
+ l("li", null, g(y.position), 1)
2465
2467
  ], 2);
2466
2468
  }), 128))
2467
2469
  ], 2))), 128))
@@ -2567,28 +2569,28 @@ const es = { render: Xo }, ts = ["onMouseenter", "onMouseleave", "onFocus", "onB
2567
2569
  content: n(o)("bestPlayer"),
2568
2570
  "append-to": i.value
2569
2571
  }, {
2570
- default: S(({ setRef: v, show: h, hide: z }) => [
2572
+ default: S(({ setRef: v, show: y, hide: z }) => [
2571
2573
  l("span", {
2572
2574
  ref: v,
2573
2575
  class: "is-text-dark",
2574
- onMouseenter: h,
2576
+ onMouseenter: y,
2575
2577
  onMouseleave: z,
2576
- onFocus: h,
2578
+ onFocus: y,
2577
2579
  onBlur: z
2578
2580
  }, [
2579
2581
  f(n(es))
2580
2582
  ], 40, ts)
2581
2583
  ]),
2582
2584
  _: 1
2583
- }, 8, ["content", "append-to"])) : y("", !0)
2585
+ }, 8, ["content", "append-to"])) : h("", !0)
2584
2586
  ]),
2585
2587
  "cell-cora": S(({ row: p }) => [
2586
2588
  p.isPlayerC ? (m(), b(k, { key: 0 }, [
2587
2589
  x(" C ")
2588
- ], 64)) : y("", !0),
2590
+ ], 64)) : h("", !0),
2589
2591
  p.isPlayerA ? (m(), b(k, { key: 1 }, [
2590
2592
  x(" A ")
2591
- ], 64)) : y("", !0)
2593
+ ], 64)) : h("", !0)
2592
2594
  ]),
2593
2595
  _: 2
2594
2596
  }, 1032, ["columns", "rows", "append-to", "sort"])
@@ -2723,26 +2725,26 @@ const es = { render: Xo }, ts = ["onMouseenter", "onMouseleave", "onFocus", "onB
2723
2725
  l("h2", ls, g(n(a)("title.fieldPlayers")), 1),
2724
2726
  l("div", cs, [
2725
2727
  f(_e, { rows: o.value }, {
2726
- default: S(({ rows: v, sort: h, onSort: z }) => [
2728
+ default: S(({ rows: v, sort: y, onSort: z }) => [
2727
2729
  f(F, {
2728
2730
  class: "is-home-team 'gamecenter-timeline-data-table",
2729
2731
  columns: n(r),
2730
2732
  rows: v,
2731
2733
  title: e.homeTeamName,
2732
- sort: h,
2734
+ sort: y,
2733
2735
  onSort: z
2734
2736
  }, null, 8, ["columns", "rows", "title", "sort", "onSort"])
2735
2737
  ]),
2736
2738
  _: 1
2737
2739
  }, 8, ["rows"]),
2738
2740
  f(_e, { rows: s.value }, {
2739
- default: S(({ rows: v, sort: h, onSort: z }) => [
2741
+ default: S(({ rows: v, sort: y, onSort: z }) => [
2740
2742
  f(F, {
2741
2743
  class: "is-away-team gamecenter-timeline-data-table",
2742
2744
  columns: n(r),
2743
2745
  rows: v,
2744
2746
  title: e.awayTeamName,
2745
- sort: h,
2747
+ sort: y,
2746
2748
  onSort: z
2747
2749
  }, null, 8, ["columns", "rows", "title", "sort", "onSort"])
2748
2750
  ]),
@@ -2849,7 +2851,7 @@ const es = { render: Xo }, ts = ["onMouseenter", "onMouseleave", "onFocus", "onB
2849
2851
  x(g(e.valueStart) + " ", 1),
2850
2852
  e.valueSuffix ? (m(), b(k, { key: 0 }, [
2851
2853
  x(g(e.valueSuffix), 1)
2852
- ], 64)) : y("", !0)
2854
+ ], 64)) : h("", !0)
2853
2855
  ])
2854
2856
  ]),
2855
2857
  l("div", fs, [
@@ -2869,7 +2871,7 @@ const es = { render: Xo }, ts = ["onMouseenter", "onMouseleave", "onFocus", "onB
2869
2871
  x(g(e.valueEnd) + " ", 1),
2870
2872
  e.valueSuffix ? (m(), b(k, { key: 0 }, [
2871
2873
  x(g(e.valueSuffix), 1)
2872
- ], 64)) : y("", !0)
2874
+ ], 64)) : h("", !0)
2873
2875
  ])
2874
2876
  ]),
2875
2877
  l("div", ws, g(e.title), 1)
@@ -2889,11 +2891,11 @@ const es = { render: Xo }, ts = ["onMouseenter", "onMouseleave", "onFocus", "onB
2889
2891
  },
2890
2892
  setup(e) {
2891
2893
  const t = e, { t: a } = D(), r = w(() => {
2892
- var v, h;
2893
- return ((h = (v = t.gameData) == null ? void 0 : v.homeTeam) == null ? void 0 : h.id) ?? "";
2894
+ var v, y;
2895
+ return ((y = (v = t.gameData) == null ? void 0 : v.homeTeam) == null ? void 0 : y.id) ?? "";
2894
2896
  }), i = w(() => {
2895
- var v, h;
2896
- return ((h = (v = t.gameData) == null ? void 0 : v.awayTeam) == null ? void 0 : h.id) ?? "";
2897
+ var v, y;
2898
+ return ((y = (v = t.gameData) == null ? void 0 : v.awayTeam) == null ? void 0 : y.id) ?? "";
2897
2899
  }), o = w(() => {
2898
2900
  var v;
2899
2901
  return Ve(((v = t.gameStats) == null ? void 0 : v.teamSOG) ?? [], i.value, r.value, "shots");
@@ -2915,7 +2917,7 @@ const es = { render: Xo }, ts = ["onMouseenter", "onMouseleave", "onFocus", "onB
2915
2917
  var v;
2916
2918
  return pn(((v = t.gameStats) == null ? void 0 : v.teamPowerPlay) ?? {});
2917
2919
  });
2918
- return (v, h) => (m(), b("div", xs, [
2920
+ return (v, y) => (m(), b("div", xs, [
2919
2921
  l("h1", ks, g(n(a)("teamsStats.sog")), 1),
2920
2922
  l("div", Ts, [
2921
2923
  (m(!0), b(k, null, N(o.value, ({ max: z, valueStart: P, valueEnd: E }, j) => (m(), T(J, {
@@ -3047,7 +3049,7 @@ const es = { render: Xo }, ts = ["onMouseenter", "onMouseleave", "onFocus", "onB
3047
3049
  threshold: 0.25
3048
3050
  }
3049
3051
  );
3050
- const { errors: d, add: c, remove: u } = ua(), p = w(() => (o == null ? void 0 : o.gameid) || (o == null ? void 0 : o.gameId) || t.gameId), { state: v, execute: h } = Z({
3052
+ const { errors: d, add: c, remove: u } = ua(), p = w(() => (o == null ? void 0 : o.gameid) || (o == null ? void 0 : o.gameId) || t.gameId), { state: v, execute: y } = Z({
3051
3053
  options: {
3052
3054
  path: "/v2/game-data",
3053
3055
  apiKey: t.apiKey,
@@ -3083,7 +3085,7 @@ const es = { render: Xo }, ts = ["onMouseenter", "onMouseleave", "onFocus", "onB
3083
3085
  });
3084
3086
  ga({
3085
3087
  data: v,
3086
- services: { getGameData: h, getGameStats: j, getEvents: P, getGameOfficials: ie },
3088
+ services: { getGameData: y, getGameStats: j, getEvents: P, getGameOfficials: ie },
3087
3089
  interval: Hs
3088
3090
  });
3089
3091
  const I = Qi(v);
@@ -3106,8 +3108,8 @@ const es = { render: Xo }, ts = ["onMouseenter", "onMouseleave", "onFocus", "onB
3106
3108
  key: 0,
3107
3109
  class: H({ "is-visible": i.value }),
3108
3110
  "game-data": n(v)
3109
- }, null, 8, ["class", "game-data"])) : y("", !0),
3110
- n(A)(n(v)) ? y("", !0) : (m(), T(Un, {
3111
+ }, null, 8, ["class", "game-data"])) : h("", !0),
3112
+ n(A)(n(v)) ? h("", !0) : (m(), T(Un, {
3111
3113
  key: 1,
3112
3114
  ref_key: "contentElementRef",
3113
3115
  ref: r,
@@ -3124,7 +3126,7 @@ const es = { render: Xo }, ts = ["onMouseenter", "onMouseleave", "onFocus", "onB
3124
3126
  key: 0,
3125
3127
  "game-events": n(z),
3126
3128
  "game-data": n(v)
3127
- }, null, 8, ["game-events", "game-data"])) : y("", !0),
3129
+ }, null, 8, ["game-events", "game-data"])) : h("", !0),
3128
3130
  s.value === n(We) ? (m(), T(Jo, {
3129
3131
  key: 1,
3130
3132
  data: n(E).players,
@@ -3133,12 +3135,12 @@ const es = { render: Xo }, ts = ["onMouseenter", "onMouseleave", "onFocus", "onB
3133
3135
  "home-team-name": n(v).homeTeam.longName,
3134
3136
  "away-team-id": n(v).awayTeam.id,
3135
3137
  "away-team-name": n(v).awayTeam.longName
3136
- }, null, 8, ["data", "game-officials", "home-team-id", "home-team-name", "away-team-id", "away-team-name"])) : y("", !0),
3138
+ }, null, 8, ["data", "game-officials", "home-team-id", "home-team-name", "away-team-id", "away-team-name"])) : h("", !0),
3137
3139
  s.value === n(Qe) ? (m(), T(_s, {
3138
3140
  key: 2,
3139
3141
  "game-data": n(v),
3140
3142
  "game-stats": n(E)
3141
- }, null, 8, ["game-data", "game-stats"])) : y("", !0),
3143
+ }, null, 8, ["game-data", "game-stats"])) : h("", !0),
3142
3144
  s.value === n(Je) && !n(A)(n(E)) ? (m(), T(gs, {
3143
3145
  key: 3,
3144
3146
  data: n(E),
@@ -3146,14 +3148,14 @@ const es = { render: Xo }, ts = ["onMouseenter", "onMouseleave", "onFocus", "onB
3146
3148
  "home-team-name": n(v).homeTeam.longName,
3147
3149
  "away-team-id": n(v).awayTeam.id,
3148
3150
  "away-team-name": n(v).awayTeam.longName
3149
- }, null, 8, ["data", "home-team-id", "home-team-name", "away-team-id", "away-team-name"])) : y("", !0),
3151
+ }, null, 8, ["data", "home-team-id", "home-team-name", "away-team-id", "away-team-name"])) : h("", !0),
3150
3152
  s.value === n(Ze) && !n(A)(n(G)) && !n(A)(n(v)) ? (m(), T(ss, {
3151
3153
  key: 4,
3152
3154
  "game-officials": n(G),
3153
3155
  "home-team-name": n(v).homeTeam.longName,
3154
3156
  "away-team-name": n(v).awayTeam.longName
3155
- }, null, 8, ["game-officials", "home-team-name", "away-team-name"])) : y("", !0)
3156
- ], 64)) : y("", !0)
3157
+ }, null, 8, ["game-officials", "home-team-name", "away-team-name"])) : h("", !0)
3158
+ ], 64)) : h("", !0)
3157
3159
  ];
3158
3160
  }),
3159
3161
  _: 1
@@ -3202,7 +3204,7 @@ const es = { render: Xo }, ts = ["onMouseenter", "onMouseleave", "onFocus", "onB
3202
3204
  }, [
3203
3205
  f(n(Oe), { class: "is-icon" }),
3204
3206
  x(" " + g(n(t)("sheet")), 1)
3205
- ], 8, qs)) : y("", !0),
3207
+ ], 8, qs)) : h("", !0),
3206
3208
  e.gameData.toiReportUrl ? (m(), b("a", {
3207
3209
  key: 1,
3208
3210
  href: e.gameData.toiReportUrl,
@@ -3210,7 +3212,7 @@ const es = { render: Xo }, ts = ["onMouseenter", "onMouseleave", "onFocus", "onB
3210
3212
  }, [
3211
3213
  f(n(Oe), { class: "is-icon" }),
3212
3214
  x(" " + g(n(t)("toiSheet")), 1)
3213
- ], 8, Ys)) : y("", !0),
3215
+ ], 8, Ys)) : h("", !0),
3214
3216
  e.gameData.video ? (m(), b("a", {
3215
3217
  key: 2,
3216
3218
  href: e.gameData.video,
@@ -3218,7 +3220,7 @@ const es = { render: Xo }, ts = ["onMouseenter", "onMouseleave", "onFocus", "onB
3218
3220
  }, [
3219
3221
  f(n(va), { class: "is-icon" }),
3220
3222
  x(" " + g(n(t)("video")), 1)
3221
- ], 8, Ws)) : y("", !0)
3223
+ ], 8, Ws)) : h("", !0)
3222
3224
  ])
3223
3225
  ]),
3224
3226
  l("div", Qs, [
@@ -3231,21 +3233,21 @@ const es = { render: Xo }, ts = ["onMouseenter", "onMouseleave", "onFocus", "onB
3231
3233
  l("h1", Js, g(e.gameData.homeTeam.longName), 1)
3232
3234
  ])).cacheIndex = 3, B(1), r[3]),
3233
3235
  l("div", null, [
3234
- e.gameData.gameStatus > 1 ? (m(), b("p", Zs, g(n(t)(`gameStatus.status-${e.gameData.gameStatus}`)), 1)) : y("", !0),
3235
- e.gameData.gameStatus === 1 ? (m(), b("p", Xs, g(n(t)(`periods.${n(Fe)(e.gameData.period)}`)), 1)) : y("", !0),
3236
+ e.gameData.gameStatus > 1 ? (m(), b("p", Zs, g(n(t)(`gameStatus.status-${e.gameData.gameStatus}`)), 1)) : h("", !0),
3237
+ e.gameData.gameStatus === 1 ? (m(), b("p", Xs, g(n(t)(`periods.${n(Fe)(e.gameData.period)}`)), 1)) : h("", !0),
3236
3238
  e.gameData.gameStatus > 1 ? (m(), b(k, { key: 2 }, [
3237
3239
  e.gameData.isOvertime ? (m(), b("p", el, [
3238
3240
  l("span", tl, g(n(t)("afterOvertime")), 1)
3239
- ])) : y("", !0),
3241
+ ])) : h("", !0),
3240
3242
  e.gameData.isShootout ? (m(), b("p", al, [
3241
3243
  l("span", rl, g(n(t)("afterShootout")), 1)
3242
- ])) : y("", !0)
3243
- ], 64)) : y("", !0),
3244
- e.gameData.gameStatus === 1 ? (m(), b("p", il, g(e.gameData.actualTime), 1)) : y("", !0),
3244
+ ])) : h("", !0)
3245
+ ], 64)) : h("", !0),
3246
+ e.gameData.gameStatus === 1 ? (m(), b("p", il, g(e.gameData.actualTime), 1)) : h("", !0),
3245
3247
  e.gameData.gameStatus === 1 ? (m(), T(ba, {
3246
3248
  key: 4,
3247
3249
  "game-data": e.gameData
3248
- }, null, 8, ["game-data"])) : y("", !0),
3250
+ }, null, 8, ["game-data"])) : h("", !0),
3249
3251
  l("div", {
3250
3252
  class: H(["is-game-result", [{ "is-game-status-live": e.gameData.gameStatus === 1 }]])
3251
3253
  }, [
@@ -3352,21 +3354,21 @@ const es = { render: Xo }, ts = ["onMouseenter", "onMouseleave", "onFocus", "onB
3352
3354
  ]),
3353
3355
  l("div", pl, g(e.event.score), 1),
3354
3356
  l("div", null, [
3355
- e.event.advantage ? (m(), b("span", fl, g(e.event.advantage), 1)) : y("", !0),
3356
- e.event.en ? (m(), b("span", hl, " EN ")) : y("", !0)
3357
+ e.event.advantage ? (m(), b("span", fl, g(e.event.advantage), 1)) : h("", !0),
3358
+ e.event.en ? (m(), b("span", hl, " EN ")) : h("", !0)
3357
3359
  ]),
3358
3360
  l("div", null, [
3359
3361
  e.event.ps || e.event.gws || e.event.gwg ? (m(), b("span", yl, [
3360
3362
  e.event.ps ? (m(), b(k, { key: 0 }, [
3361
3363
  x("PS")
3362
- ], 64)) : y("", !0),
3364
+ ], 64)) : h("", !0),
3363
3365
  e.event.gws ? (m(), b(k, { key: 1 }, [
3364
3366
  x("GWS")
3365
- ], 64)) : y("", !0),
3367
+ ], 64)) : h("", !0),
3366
3368
  e.event.gwg ? (m(), b(k, { key: 2 }, [
3367
3369
  x("GWG")
3368
- ], 64)) : y("", !0)
3369
- ])) : y("", !0)
3370
+ ], 64)) : h("", !0)
3371
+ ])) : h("", !0)
3370
3372
  ]),
3371
3373
  l("div", null, [
3372
3374
  l("dl", null, [
@@ -3422,7 +3424,7 @@ const es = { render: Xo }, ts = ["onMouseenter", "onMouseleave", "onFocus", "onB
3422
3424
  _: 2
3423
3425
  }, 1032, ["content", "append-to"]))), 128))
3424
3426
  ])
3425
- ])) : y("", !0)
3427
+ ])) : h("", !0)
3426
3428
  ]),
3427
3429
  l("div", {
3428
3430
  ref_key: "tooltipContainer",
@@ -3460,7 +3462,7 @@ const es = { render: Xo }, ts = ["onMouseenter", "onMouseleave", "onFocus", "onB
3460
3462
  width: "24",
3461
3463
  height: "24",
3462
3464
  class: "is-goalie-in-icon"
3463
- })) : y("", !0),
3465
+ })) : h("", !0),
3464
3466
  e.event.gkDirection === "BE" ? (m(), T(n(Xe), {
3465
3467
  key: 1,
3466
3468
  width: "24",
@@ -3538,10 +3540,10 @@ const es = { render: Xo }, ts = ["onMouseenter", "onMouseleave", "onFocus", "onB
3538
3540
  l("div", Gl, [
3539
3541
  e.event.penaltyLength !== 0 ? (m(), b(k, { key: 0 }, [
3540
3542
  x(g(n(r)("events.penaltyLength", [e.event.penaltyLength])), 1)
3541
- ], 64)) : y("", !0),
3543
+ ], 64)) : h("", !0),
3542
3544
  e.event.perc === 0 ? (m(), b(k, { key: 1 }, [
3543
3545
  x(" PS ")
3544
- ], 64)) : y("", !0)
3546
+ ], 64)) : h("", !0)
3545
3547
  ]),
3546
3548
  l("div", Bl, g(e.event.penaltyEnd), 1),
3547
3549
  l("div", Hl, [
@@ -3675,7 +3677,7 @@ const es = { render: Xo }, ts = ["onMouseenter", "onMouseleave", "onFocus", "onB
3675
3677
  return (i, o) => (m(), b("div", ac, [
3676
3678
  (m(!0), b(k, null, N(r.value, (s, d) => (m(), b(k, { key: d }, [
3677
3679
  l("div", rc, g(n(a)(`periods.${n(Fe)(d)}`)), 1),
3678
- s.length === 0 ? (m(), b("div", ic, g(n(a)("events.noEventsInPeriod")), 1)) : y("", !0),
3680
+ s.length === 0 ? (m(), b("div", ic, g(n(a)("events.noEventsInPeriod")), 1)) : h("", !0),
3679
3681
  (m(!0), b(k, null, N(s, (c) => (m(), b("div", {
3680
3682
  key: c.id,
3681
3683
  class: "gamecenter-game-event"
@@ -3766,7 +3768,10 @@ const es = { render: Xo }, ts = ["onMouseenter", "onMouseleave", "onFocus", "onB
3766
3768
  l("dd", { innerHTML: e.data }, null, 8, cc)
3767
3769
  ]));
3768
3770
  }
3769
- }, dc = { class: "gamecenter-game-stats" }, mc = { class: "gamecenter-game-stats-container-wrapper" }, gc = {
3771
+ }, dc = {
3772
+ key: 0,
3773
+ class: "gamecenter-game-stats"
3774
+ }, mc = { class: "gamecenter-game-stats-container-wrapper" }, gc = {
3770
3775
  __name: "GameOfficials",
3771
3776
  props: {
3772
3777
  gameOfficials: {
@@ -3803,7 +3808,7 @@ const es = { render: Xo }, ts = ["onMouseenter", "onMouseleave", "onFocus", "onB
3803
3808
  );
3804
3809
  return (o, s) => {
3805
3810
  var d;
3806
- return m(), b("div", dc, [
3811
+ return !o.isEmpty(r.value) || !o.isEmpty(i.value) ? (m(), b("div", dc, [
3807
3812
  l("div", mc, [
3808
3813
  f(K, {
3809
3814
  title: n(a)("gameStats.referees"),
@@ -3813,12 +3818,13 @@ const es = { render: Xo }, ts = ["onMouseenter", "onMouseleave", "onFocus", "onB
3813
3818
  title: n(a)("gameStats.linesmen"),
3814
3819
  data: i.value
3815
3820
  }, null, 8, ["title", "data"]),
3816
- f(K, {
3821
+ e.gameData.attendance ? (m(), T(K, {
3822
+ key: 0,
3817
3823
  title: n(a)("gameStats.attendance"),
3818
3824
  data: ((d = e.gameData) == null ? void 0 : d.attendance) ?? 0
3819
- }, null, 8, ["title", "data"])
3825
+ }, null, 8, ["title", "data"])) : h("", !0)
3820
3826
  ])
3821
- ]);
3827
+ ])) : h("", !0);
3822
3828
  };
3823
3829
  }
3824
3830
  }, uc = { class: "gamecenter-data-column" }, vc = {
@@ -3922,11 +3928,11 @@ const fc = { render: pc }, hc = { class: "gamecenter-game-stats" }, yc = { class
3922
3928
  },
3923
3929
  setup(e) {
3924
3930
  const t = e, { t: a } = D(), r = w(() => {
3925
- var v, h;
3926
- return ((h = (v = t.gameData) == null ? void 0 : v.homeTeam) == null ? void 0 : h.id) ?? "";
3931
+ var v, y;
3932
+ return ((y = (v = t.gameData) == null ? void 0 : v.homeTeam) == null ? void 0 : y.id) ?? "";
3927
3933
  }), i = w(() => {
3928
- var v, h;
3929
- return ((h = (v = t.gameData) == null ? void 0 : v.awayTeam) == null ? void 0 : h.id) ?? "";
3934
+ var v, y;
3935
+ return ((y = (v = t.gameData) == null ? void 0 : v.awayTeam) == null ? void 0 : y.id) ?? "";
3930
3936
  }), o = w(
3931
3937
  () => {
3932
3938
  var v;
@@ -3962,7 +3968,7 @@ const fc = { render: pc }, hc = { class: "gamecenter-game-stats" }, yc = { class
3962
3968
  var v;
3963
3969
  return Bi(((v = t.gameStats) == null ? void 0 : v.teamPowerPlay) ?? {});
3964
3970
  });
3965
- return (v, h) => (m(), b("div", hc, [
3971
+ return (v, y) => (m(), b("div", hc, [
3966
3972
  l("div", yc, [
3967
3973
  f(K, {
3968
3974
  title: n(a)("teamsStats.sog"),
@@ -4023,7 +4029,7 @@ const fc = { render: pc }, hc = { class: "gamecenter-game-stats" }, yc = { class
4023
4029
  _: 1
4024
4030
  }, 8, ["data"])
4025
4031
  ]),
4026
- h[0] || (h[0] = l("div", { id: "popover-container" }, null, -1))
4032
+ y[0] || (y[0] = l("div", { id: "popover-container" }, null, -1))
4027
4033
  ]));
4028
4034
  }
4029
4035
  }, Tc = { class: "gamecenter-data-columns" }, Sc = {
@@ -4082,7 +4088,7 @@ const fc = { render: pc }, hc = { class: "gamecenter-game-stats" }, yc = { class
4082
4088
  }
4083
4089
  },
4084
4090
  setup(e) {
4085
- const t = e, a = { en: na, hu: oa }, r = it("history"), { errors: i, add: o, remove: s } = ua(), d = w(() => (r == null ? void 0 : r.gameid) ?? t.gameId), { state: c, execute: u } = Z({
4091
+ const t = e, a = { en: na, hu: oa }, r = it("history"), { errors: i, add: o, remove: s } = ua(), d = w(() => r.gameId || r.gameid || r["game-id"] || t.gameId), { state: c, execute: u } = Z({
4086
4092
  options: {
4087
4093
  path: "/v2/game-data",
4088
4094
  apiKey: t.apiKey,
@@ -4099,7 +4105,7 @@ const fc = { render: pc }, hc = { class: "gamecenter-game-stats" }, yc = { class
4099
4105
  transform: (j) => ae(mt(re("eventPeriod")), Ge, te(ut("Period", "type")))(j != null && j.isEmpty ? [] : j),
4100
4106
  onError: (j) => o("gameEvents", j),
4101
4107
  onSuccess: () => s("gameEvents")
4102
- }), { state: h, execute: z } = Z({
4108
+ }), { state: y, execute: z } = Z({
4103
4109
  options: {
4104
4110
  path: "/v2/game-stats",
4105
4111
  apiKey: t.apiKey,
@@ -4132,50 +4138,50 @@ const fc = { render: pc }, hc = { class: "gamecenter-game-stats" }, yc = { class
4132
4138
  key: I.key,
4133
4139
  error: I
4134
4140
  }, null, 8, ["error"]))), 128)),
4135
- n(A)(n(c)) ? y("", !0) : (m(), T(ml, {
4141
+ n(A)(n(c)) ? h("", !0) : (m(), T(ml, {
4136
4142
  key: 0,
4137
4143
  "game-data": n(c),
4138
4144
  locale: t.locale
4139
4145
  }, null, 8, ["game-data", "locale"])),
4140
- ((ie = n(c)) == null ? void 0 : ie.gameStatus) > 0 ? (m(), b(k, { key: 1 }, [
4141
- n(A)(n(c)) ? y("", !0) : (m(), T(gc, {
4146
+ n(A)(n(c)) ? h("", !0) : (m(), T(gc, {
4147
+ key: 1,
4148
+ "game-data": n(c),
4149
+ "game-officials": n(P)
4150
+ }, null, 8, ["game-data", "game-officials"])),
4151
+ ((ie = n(c)) == null ? void 0 : ie.gameStatus) > 0 ? (m(), b(k, { key: 2 }, [
4152
+ n(A)(n(y)) ? h("", !0) : (m(), T(kc, {
4142
4153
  key: 0,
4143
4154
  "game-data": n(c),
4144
- "game-officials": n(P)
4145
- }, null, 8, ["game-data", "game-officials"])),
4146
- n(A)(n(h)) ? y("", !0) : (m(), T(kc, {
4147
- key: 1,
4148
- "game-data": n(c),
4149
- "game-stats": n(h)
4155
+ "game-stats": n(y)
4150
4156
  }, null, 8, ["game-data", "game-stats"])),
4151
4157
  !n(A)(n(p)) && !n(A)(n(c)) ? (m(), T(nc, {
4152
- key: 2,
4158
+ key: 1,
4153
4159
  "game-events": n(p),
4154
4160
  "game-data": n(c)
4155
- }, null, 8, ["game-events", "game-data"])) : y("", !0),
4156
- n(A)(n(h)) ? y("", !0) : (m(), T(vc, {
4157
- key: 3,
4158
- data: n(h).players,
4161
+ }, null, 8, ["game-events", "game-data"])) : h("", !0),
4162
+ n(A)(n(y)) ? h("", !0) : (m(), T(vc, {
4163
+ key: 2,
4164
+ data: n(y).players,
4159
4165
  "home-team-id": n(c).homeTeam.id,
4160
4166
  "home-team-name": n(c).homeTeam.longName,
4161
4167
  "away-team-id": n(c).awayTeam.id,
4162
4168
  "away-team-name": n(c).awayTeam.longName
4163
4169
  }, null, 8, ["data", "home-team-id", "home-team-name", "away-team-id", "away-team-name"])),
4164
- n(A)(n(h)) ? y("", !0) : (m(), T(sc, {
4165
- key: 4,
4166
- data: n(h).goalies,
4170
+ n(A)(n(y)) ? h("", !0) : (m(), T(sc, {
4171
+ key: 3,
4172
+ data: n(y).goalies,
4167
4173
  "home-team-id": n(c).homeTeam.id,
4168
4174
  "home-team-name": n(c).homeTeam.longName,
4169
4175
  "away-team-id": n(c).awayTeam.id,
4170
4176
  "away-team-name": n(c).awayTeam.longName
4171
4177
  }, null, 8, ["data", "home-team-id", "home-team-name", "away-team-id", "away-team-name"])),
4172
4178
  !n(A)(n(P)) && !n(A)(n(c)) ? (m(), T(Sc, {
4173
- key: 5,
4179
+ key: 4,
4174
4180
  "game-officials": n(P),
4175
4181
  "home-team-name": n(c).homeTeam.longName,
4176
4182
  "away-team-name": n(c).awayTeam.longName
4177
- }, null, 8, ["game-officials", "home-team-name", "away-team-name"])) : y("", !0)
4178
- ], 64)) : y("", !0)
4183
+ }, null, 8, ["game-officials", "home-team-name", "away-team-name"])) : h("", !0)
4184
+ ], 64)) : h("", !0)
4179
4185
  ];
4180
4186
  }),
4181
4187
  _: 1