@mjsz-vbr-elements/core 2.1.0-beta.40 → 2.1.0-beta.42

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/core
3
- * version: v2.1.0-beta.40 - 27/10/2023, 08:41:09
3
+ * version: v2.1.0-beta.42 - 03/11/2023, 16:54:34
4
4
  * (c) 2023
5
5
  * description: Data visualization for MJSZ VBR
6
6
  * author: Ákos Stegner <akos.stegner@gmail.com>
7
7
  */
8
- import { computed as q, withDirectives as yn, openBlock as S, createElementBlock as O, normalizeClass as tt, unref as y, renderSlot as it, vModelSelect as vn, ref as H, readonly as bn, watch as mt, nextTick as wn, getCurrentScope as $n, onScopeDispose as _n, isRef as yr, shallowRef as je, reactive as vr, defineComponent as br, h as Sn, provide as wr, inject as $r, createElementVNode as P, Fragment as ct, normalizeStyle as Fe, createVNode as nt, Transition as xn, withCtx as G, createTextVNode as gt, toDisplayString as z, createCommentVNode as X, toRefs as Le, renderList as Pt, createBlock as at, withKeys as Be, withModifiers as Nt, onErrorCaptured as Tn, createSlots as Pn } from "vue";
8
+ import { computed as q, withDirectives as yn, openBlock as S, createElementBlock as O, normalizeClass as J, unref as v, renderSlot as it, vModelSelect as vn, ref as H, readonly as bn, watch as mt, nextTick as wn, getCurrentScope as $n, onScopeDispose as _n, isRef as yr, shallowRef as je, reactive as vr, defineComponent as br, h as Sn, provide as wr, inject as $r, createElementVNode as P, Fragment as ct, normalizeStyle as Fe, createVNode as nt, Transition as xn, withCtx as G, createTextVNode as gt, toDisplayString as z, createCommentVNode as X, toRefs as Le, renderList as Pt, createBlock as at, withKeys as Be, withModifiers as Nt, onErrorCaptured as Tn, createSlots as Pn } from "vue";
9
9
  const _t = (t) => ({}.VITE_CSS_CLASS_PREFIX || "mjsz-vbr-") + t, On = {
10
10
  __name: "BaseSelect",
11
11
  props: {
@@ -19,7 +19,7 @@ const _t = (t) => ({}.VITE_CSS_CLASS_PREFIX || "mjsz-vbr-") + t, On = {
19
19
  const r = t, n = _t("base-input"), a = q({ get: () => r.modelValue, set: (o) => e("update:modelValue", o) });
20
20
  return (o, s) => yn((S(), O("select", {
21
21
  "onUpdate:modelValue": s[0] || (s[0] = (i) => a.value = i),
22
- class: tt([y(n), "is-select"])
22
+ class: J([v(n), "is-select"])
23
23
  }, [
24
24
  it(o.$slots, "default")
25
25
  ], 2)), [
@@ -31,7 +31,7 @@ function _r(t) {
31
31
  return $n() ? (_n(t), !0) : !1;
32
32
  }
33
33
  function ft(t) {
34
- return typeof t == "function" ? t() : y(t);
34
+ return typeof t == "function" ? t() : v(t);
35
35
  }
36
36
  const le = typeof window < "u", yt = () => {
37
37
  }, An = /* @__PURE__ */ kn();
@@ -322,8 +322,8 @@ function qn(t, e = {}) {
322
322
  }
323
323
  function Zn(t = [], e = {}) {
324
324
  const { delay: r = 0 } = e, n = H(!1), a = q(() => {
325
- const i = y(t);
326
- return Array.isArray(i) ? i.map((l) => y(l)).some(Boolean) : i;
325
+ const i = v(t);
326
+ return Array.isArray(i) ? i.map((l) => v(l)).some(Boolean) : i;
327
327
  }), { start: o, stop: s } = Dn(() => {
328
328
  n.value = !0;
329
329
  }, r);
@@ -1294,7 +1294,7 @@ const Sa = function(t, e) {
1294
1294
  });
1295
1295
  return () => Sn(t.tag, o);
1296
1296
  }
1297
- }), Ta = "https://api.icehockey.hu/vbr", Pa = "https://www.jegkorongszovetseg.hu/event/game/", Oa = "https://jegkorongszovetseg.hu/assets/images/player_blank.png", Aa = "https://www.ersteliga.hu/stats/players#/player/", ka = "https://www.ersteliga.hu/stats/teams#/team/3314/21096?name=", wt = "original", v = "descend", j = "ascend", Ma = (/* @__PURE__ */ new Map()).set("hu", "hu-hu").set("en", "hu-gb"), Da = (/* @__PURE__ */ new Map()).set("Europe/Budapest", { countryLabelKey: "hungary", timezone: "Europe/Budapest" }).set("Europe/Bucharest", { countryLabelKey: "romania", timezone: "Europe/Bucharest" }), Ul = 1e3 * 60 * 5, La = 1e3, Ea = {
1297
+ }), Ta = "https://api.icehockey.hu/vbr", Pa = "https://www.jegkorongszovetseg.hu/event/game/", Oa = "https://jegkorongszovetseg.hu/assets/images/player_blank.png", Aa = "https://www.ersteliga.hu/stats/players#/player/", ka = "https://www.ersteliga.hu/stats/teams#/team/3314/21096?name=", wt = "original", y = "descend", j = "ascend", Ma = (/* @__PURE__ */ new Map()).set("hu", "hu-hu").set("en", "hu-gb"), Da = (/* @__PURE__ */ new Map()).set("Europe/Budapest", { countryLabelKey: "hungary", timezone: "Europe/Budapest" }).set("Europe/Bucharest", { countryLabelKey: "romania", timezone: "Europe/Bucharest" }), Wl = 1e3 * 60 * 5, La = 1e3, Ea = {
1298
1298
  "aria-hidden": "true",
1299
1299
  focusable: "false",
1300
1300
  "data-prefix": "fas",
@@ -1424,8 +1424,8 @@ const or = (t) => ({ name: "arrow", options: t, async fn(e) {
1424
1424
  const p = Br(n), f = { x: a, y: o }, u = Zt(s), d = Ce(u), m = await l.getDimensions(r), h = u === "y", g = h ? "top" : "left", _ = h ? "bottom" : "right", x = h ? "clientHeight" : "clientWidth", k = i.reference[d] + i.reference[u] - f[u] - i.floating[d], E = f[u] - i.reference[u], I = await (l.getOffsetParent == null ? void 0 : l.getOffsetParent(r));
1425
1425
  let R = I ? I[x] : 0;
1426
1426
  R && await (l.isElement == null ? void 0 : l.isElement(I)) || (R = c.floating[x] || i.floating[d]);
1427
- const B = k / 2 - E / 2, K = p[g], N = R - m[d] - p[_], D = R / 2 - m[d] / 2 + B, F = ke(K, D, N), J = qt(s) != null && D != F && i.reference[d] / 2 - (D < K ? p[g] : p[_]) - m[d] / 2 < 0;
1428
- return { [u]: f[u] - (J ? D < K ? K - D : N - D : 0), data: { [u]: F, centerOffset: D - F } };
1427
+ const B = k / 2 - E / 2, K = p[g], N = R - m[d] - p[_], D = R / 2 - m[d] / 2 + B, F = ke(K, D, N), Q = qt(s) != null && D != F && i.reference[d] / 2 - (D < K ? p[g] : p[_]) - m[d] / 2 < 0;
1428
+ return { [u]: f[u] - (Q ? D < K ? K - D : N - D : 0), data: { [u]: F, centerOffset: D - F } };
1429
1429
  } }), Za = ["top", "right", "bottom", "left"];
1430
1430
  Za.reduce((t, e) => t.concat(e, e + "-start", e + "-end"), []);
1431
1431
  const Xa = { left: "right", right: "left", bottom: "top", top: "bottom" };
@@ -1446,37 +1446,37 @@ const ts = function(t) {
1446
1446
  return t === void 0 && (t = {}), { name: "flip", options: t, async fn(e) {
1447
1447
  var r;
1448
1448
  const { placement: n, middlewareData: a, rects: o, initialPlacement: s, platform: i, elements: l } = e, { mainAxis: c = !0, crossAxis: p = !0, fallbackPlacements: f, fallbackStrategy: u = "bestFit", fallbackAxisSideDirection: d = "none", flipAlignment: m = !0, ...h } = t, g = Ot(n), _ = Ot(s) === s, x = await (i.isRTL == null ? void 0 : i.isRTL(l.floating)), k = f || (_ || !m ? [ae(s)] : function(F) {
1449
- const J = ae(F);
1450
- return [be(F), J, be(J)];
1449
+ const Q = ae(F);
1450
+ return [be(F), Q, be(Q)];
1451
1451
  }(s));
1452
- f || d === "none" || k.push(...function(F, J, A, $) {
1452
+ f || d === "none" || k.push(...function(F, Q, A, $) {
1453
1453
  const w = qt(F);
1454
1454
  let T = function(b, M, L) {
1455
- const C = ["left", "right"], W = ["right", "left"], U = ["top", "bottom"], Q = ["bottom", "top"];
1455
+ const C = ["left", "right"], W = ["right", "left"], U = ["top", "bottom"], tt = ["bottom", "top"];
1456
1456
  switch (b) {
1457
1457
  case "top":
1458
1458
  case "bottom":
1459
1459
  return L ? M ? W : C : M ? C : W;
1460
1460
  case "left":
1461
1461
  case "right":
1462
- return M ? U : Q;
1462
+ return M ? U : tt;
1463
1463
  default:
1464
1464
  return [];
1465
1465
  }
1466
1466
  }(Ot(F), A === "start", $);
1467
- return w && (T = T.map((b) => b + "-" + w), J && (T = T.concat(T.map(be)))), T;
1467
+ return w && (T = T.map((b) => b + "-" + w), Q && (T = T.concat(T.map(be)))), T;
1468
1468
  }(s, m, d, x));
1469
1469
  const E = [s, ...k], I = await Vr(e, h), R = [];
1470
1470
  let B = ((r = a.flip) == null ? void 0 : r.overflows) || [];
1471
1471
  if (c && R.push(I[g]), p) {
1472
- const { main: F, cross: J } = Ja(n, o, x);
1473
- R.push(I[F], I[J]);
1472
+ const { main: F, cross: Q } = Ja(n, o, x);
1473
+ R.push(I[F], I[Q]);
1474
1474
  }
1475
1475
  if (B = [...B, { placement: n, overflows: R }], !R.every((F) => F <= 0)) {
1476
1476
  var K, N;
1477
- const F = (((K = a.flip) == null ? void 0 : K.index) || 0) + 1, J = E[F];
1478
- if (J)
1479
- return { data: { index: F, overflows: B }, reset: { placement: J } };
1477
+ const F = (((K = a.flip) == null ? void 0 : K.index) || 0) + 1, Q = E[F];
1478
+ if (Q)
1479
+ return { data: { index: F, overflows: B }, reset: { placement: Q } };
1480
1480
  let A = (N = B.filter(($) => $.overflows[0] <= 0).sort(($, w) => $.overflows[1] - w.overflows[1])[0]) == null ? void 0 : N.placement;
1481
1481
  if (!A)
1482
1482
  switch (u) {
@@ -1786,9 +1786,9 @@ function us({ middleware: t, placement: e = null, strategy: r, append: n, enable
1786
1786
  };
1787
1787
  mt(
1788
1788
  () => ({
1789
- reference: y(o),
1790
- floating: y(s),
1791
- append: y(n)
1789
+ reference: v(o),
1790
+ floating: v(s),
1791
+ append: v(n)
1792
1792
  }),
1793
1793
  ({ floating: g, append: _ }) => {
1794
1794
  _ && cs(g, _), m();
@@ -1889,11 +1889,11 @@ const ds = (t) => {
1889
1889
  P("div", {
1890
1890
  ref_key: "floating",
1891
1891
  ref: p,
1892
- "data-placement": y(l),
1892
+ "data-placement": v(l),
1893
1893
  style: Fe({
1894
- position: y(f),
1895
- top: y(o) ? `${y(o)}px` : "",
1896
- left: y(a) ? `${y(a)}px` : ""
1894
+ position: v(f),
1895
+ top: v(o) ? `${v(o)}px` : "",
1896
+ left: v(a) ? `${v(a)}px` : ""
1897
1897
  })
1898
1898
  }, [
1899
1899
  nt(xn, {
@@ -1903,7 +1903,7 @@ const ds = (t) => {
1903
1903
  default: G(() => [
1904
1904
  r.value ? (S(), O("div", {
1905
1905
  key: 0,
1906
- class: tt(["floating-content", [`is-${e.theme}`]])
1906
+ class: J(["floating-content", [`is-${e.theme}`]])
1907
1907
  }, [
1908
1908
  it(g.$slots, "content", { close: d }, () => [
1909
1909
  gt(z(t.content), 1)
@@ -1913,9 +1913,9 @@ const ds = (t) => {
1913
1913
  ref: n,
1914
1914
  class: "is-arrow",
1915
1915
  style: Fe({
1916
- position: y(f),
1917
- top: y(i) ? `${y(i)}px` : "",
1918
- left: y(s) ? `${y(s)}px` : ""
1916
+ position: v(f),
1917
+ top: v(i) ? `${v(i)}px` : "",
1918
+ left: v(s) ? `${v(s)}px` : ""
1919
1919
  })
1920
1920
  }, null, 4)
1921
1921
  ], 2)) : X("", !0)
@@ -1955,7 +1955,7 @@ const ds = (t) => {
1955
1955
  f.sortOrders && e("sort", { target: u, orders: f.sortOrders });
1956
1956
  };
1957
1957
  return (f, u) => (S(), O("table", {
1958
- class: tt(y(i))
1958
+ class: J(v(i))
1959
1959
  }, [
1960
1960
  P("thead", null, [
1961
1961
  P("tr", null, [
@@ -1964,19 +1964,19 @@ const ds = (t) => {
1964
1964
  placement: "top",
1965
1965
  content: d.tooltip,
1966
1966
  disabled: !d.tooltip,
1967
- "append-to": y(a)
1967
+ "append-to": v(a)
1968
1968
  }, {
1969
1969
  default: G(({ setRef: h, show: g, hide: _ }) => [
1970
1970
  P("th", {
1971
1971
  ref_for: !0,
1972
1972
  ref: h,
1973
- class: tt([
1973
+ class: J([
1974
1974
  [d.class],
1975
1975
  {
1976
- "is-active": m === t.sort.sortTarget && t.sort.orders[0].direction !== y(wt),
1976
+ "is-active": m === t.sort.sortTarget && t.sort.orders[0].direction !== v(wt),
1977
1977
  "is-sortable": d.sortOrders,
1978
- "is-desc": m === t.sort.sortTarget && t.sort.orders[0].direction === y(v),
1979
- "is-asc": m === t.sort.sortTarget && t.sort.orders[0].direction === y(j)
1978
+ "is-desc": m === t.sort.sortTarget && t.sort.orders[0].direction === v(y),
1979
+ "is-asc": m === t.sort.sortTarget && t.sort.orders[0].direction === v(j)
1980
1980
  }
1981
1981
  ]),
1982
1982
  onMouseenter: g,
@@ -1994,19 +1994,19 @@ const ds = (t) => {
1994
1994
  it(f.$slots, `header-${m}`, { column: d }, () => [
1995
1995
  gt(z(d.label), 1)
1996
1996
  ]),
1997
- d.sortOrders && m !== t.sort.sortTarget ? (S(), at(y(rr), {
1997
+ d.sortOrders && m !== t.sort.sortTarget ? (S(), at(v(rr), {
1998
1998
  key: 0,
1999
1999
  class: "is-icon-sort"
2000
2000
  })) : X("", !0),
2001
- m === t.sort.sortTarget && t.sort.orders[0].direction === y(wt) ? (S(), at(y(rr), {
2001
+ m === t.sort.sortTarget && t.sort.orders[0].direction === v(wt) ? (S(), at(v(rr), {
2002
2002
  key: 1,
2003
2003
  class: "is-icon-sort"
2004
2004
  })) : X("", !0),
2005
- m === t.sort.sortTarget && t.sort.orders[0].direction === y(v) ? (S(), at(y(Fa), {
2005
+ m === t.sort.sortTarget && t.sort.orders[0].direction === v(y) ? (S(), at(v(Fa), {
2006
2006
  key: 2,
2007
2007
  class: "is-icon-sort"
2008
2008
  })) : X("", !0),
2009
- m === t.sort.sortTarget && t.sort.orders[0].direction === y(j) ? (S(), at(y(Ua), {
2009
+ m === t.sort.sortTarget && t.sort.orders[0].direction === v(j) ? (S(), at(v(Ua), {
2010
2010
  key: 3,
2011
2011
  class: "is-icon-sort"
2012
2012
  })) : X("", !0)
@@ -2017,13 +2017,16 @@ const ds = (t) => {
2017
2017
  ])
2018
2018
  ]),
2019
2019
  P("tbody", null, [
2020
- (S(!0), O(ct, null, Pt(r.rows, (d, m) => (S(), O("tr", { key: m }, [
2020
+ (S(!0), O(ct, null, Pt(r.rows, (d, m) => (S(), O("tr", {
2021
+ key: m,
2022
+ class: J(d.rowClasses)
2023
+ }, [
2021
2024
  (S(!0), O(ct, null, Pt(l.value, (h, g) => (S(), O("td", {
2022
2025
  key: g,
2023
- class: tt([
2026
+ class: J([
2024
2027
  [h.class],
2025
2028
  {
2026
- "is-active": g === t.sort.sortTarget && t.sort.orders[0].direction !== y(wt)
2029
+ "is-active": g === t.sort.sortTarget && t.sort.orders[0].direction !== v(wt)
2027
2030
  }
2028
2031
  ])
2029
2032
  }, [
@@ -2034,22 +2037,22 @@ const ds = (t) => {
2034
2037
  gt(z(d[g]), 1)
2035
2038
  ])
2036
2039
  ], 2))), 128))
2037
- ]))), 128))
2040
+ ], 2))), 128))
2038
2041
  ]),
2039
- y(o) && t.rows.length === 0 ? (S(), O("tfoot", ms, [
2042
+ v(o) && t.rows.length === 0 ? (S(), O("tfoot", ms, [
2040
2043
  P("tr", null, [
2041
2044
  P("td", { colspan: c.value }, [
2042
2045
  it(f.$slots, "loading", {}, () => [
2043
- gt(z(y(s)("common.loading")), 1)
2046
+ gt(z(v(s)("common.loading")), 1)
2044
2047
  ])
2045
2048
  ], 8, hs)
2046
2049
  ])
2047
2050
  ])) : X("", !0),
2048
- t.rows.length === 0 && !y(n) && !y(o) ? (S(), O("tfoot", gs, [
2051
+ t.rows.length === 0 && !v(n) && !v(o) ? (S(), O("tfoot", gs, [
2049
2052
  P("tr", null, [
2050
2053
  P("td", { colspan: c.value }, [
2051
2054
  it(f.$slots, "empty", {}, () => [
2052
- gt(z(y(s)("common.noData")), 1)
2055
+ gt(z(v(s)("common.noData")), 1)
2053
2056
  ])
2054
2057
  ], 8, ys)
2055
2058
  ])
@@ -2082,7 +2085,7 @@ const ds = (t) => {
2082
2085
  function Ss(t, e) {
2083
2086
  return S(), O("svg", vs, _s);
2084
2087
  }
2085
- const xs = { render: Ss }, Wl = {
2088
+ const xs = { render: Ss }, Kl = {
2086
2089
  __name: "ErrorNotice",
2087
2090
  props: {
2088
2091
  error: {
@@ -2096,9 +2099,9 @@ const xs = { render: Ss }, Wl = {
2096
2099
  return n(`errors.${e.error.key}`) ? r(`errors.${e.error.key}`, e.error.cause) : `${e.error.key}: ${(s = e.error) == null ? void 0 : s.message}`;
2097
2100
  });
2098
2101
  return (s, i) => (S(), O("div", {
2099
- class: tt(y(a))
2102
+ class: J(v(a))
2100
2103
  }, [
2101
- nt(y(xs), {
2104
+ nt(v(xs), {
2102
2105
  class: "icon",
2103
2106
  width: "20",
2104
2107
  height: "20"
@@ -2115,7 +2118,7 @@ function dr(t, e, r) {
2115
2118
  }
2116
2119
  const tn = Symbol("ErrorProviderContext"), Ps = () => {
2117
2120
  const t = H(""), e = H({}), r = (o) => {
2118
- console.log({ error: o }), t.value = o.message || o.error.message, e.value = {
2121
+ console.error({ error: o }), t.value = o.message || o.error.message, e.value = {
2119
2122
  message: o.message,
2120
2123
  key: o.key || Ts(o.message),
2121
2124
  cause: o.cause
@@ -2127,9 +2130,9 @@ const tn = Symbol("ErrorProviderContext"), Ps = () => {
2127
2130
  t.value = "", e.value = {};
2128
2131
  }
2129
2132
  }), window.onerror = (o) => {
2130
- console.log("WINDOW_ONERROR:", o);
2133
+ console.error("WINDOW_ONERROR:", o);
2131
2134
  }, Tn((o, s, i) => {
2132
- console.log("onErrorCaptured:", o, s, i);
2135
+ console.error("onErrorCaptured:", o, s, i);
2133
2136
  }), {
2134
2137
  hasError: q(() => t.value.length > 0),
2135
2138
  message: t,
@@ -2147,14 +2150,14 @@ const tn = Symbol("ErrorProviderContext"), Ps = () => {
2147
2150
  if (t === null)
2148
2151
  throw new Error("Privider is missing a parent component.");
2149
2152
  return t;
2150
- }, Kl = {
2153
+ }, ql = {
2151
2154
  __name: "ErrorProvider",
2152
2155
  setup(t) {
2153
2156
  const { message: e, hasError: r, error: n } = Ps();
2154
2157
  return (a, o) => it(a.$slots, "default", {
2155
- message: y(e),
2156
- error: y(n),
2157
- hasError: y(r)
2158
+ message: v(e),
2159
+ error: v(n),
2160
+ hasError: v(r)
2158
2161
  });
2159
2162
  }
2160
2163
  }, As = {
@@ -2179,7 +2182,7 @@ const tn = Symbol("ErrorProviderContext"), Ps = () => {
2179
2182
  tooltip: "Csapatnév"
2180
2183
  },
2181
2184
  game: {
2182
- short: "M",
2185
+ short: "GP",
2183
2186
  tooltip: "Mérkőzésszám"
2184
2187
  },
2185
2188
  wins: {
@@ -2307,11 +2310,11 @@ const tn = Symbol("ErrorProviderContext"), Ps = () => {
2307
2310
  tooltip: "Mérkőzésenkénti Büntetés Percek"
2308
2311
  },
2309
2312
  gpgk: {
2310
- short: "M",
2313
+ short: "GP",
2311
2314
  tooltip: "Mérkőzésre Nevezve"
2312
2315
  },
2313
2316
  gpi: {
2314
- short: "LM",
2317
+ short: "GPI",
2315
2318
  tooltip: "Mérkőzésen Játszott"
2316
2319
  },
2317
2320
  toi: {
@@ -2477,6 +2480,10 @@ const tn = Symbol("ErrorProviderContext"), Ps = () => {
2477
2480
  teamOfficials: {
2478
2481
  short: "Hivatalos Személyek",
2479
2482
  tooltip: "Hivatalos Személyek"
2483
+ },
2484
+ score: {
2485
+ short: "Eredmény",
2486
+ tooltip: "Aktuális eredmény"
2480
2487
  }
2481
2488
  }, Ds = {
2482
2489
  data: {
@@ -2852,6 +2859,10 @@ const tn = Symbol("ErrorProviderContext"), Ps = () => {
2852
2859
  teamOfficials: {
2853
2860
  short: "Team officials",
2854
2861
  tooltip: "Team officials"
2862
+ },
2863
+ score: {
2864
+ short: "Score",
2865
+ tooltip: "Actual Game Score"
2855
2866
  }
2856
2867
  }, Ns = {
2857
2868
  data: {
@@ -2935,7 +2946,7 @@ const tn = Symbol("ErrorProviderContext"), Ps = () => {
2935
2946
  function Rs(t, e, r, n, a, o) {
2936
2947
  return it(t.$slots, "default", { t: t.translate });
2937
2948
  }
2938
- const ql = /* @__PURE__ */ rn(Gs, [["render", Rs]]), js = ["src"], Fs = ["src", "title"], It = /* @__PURE__ */ Object.assign({
2949
+ const Zl = /* @__PURE__ */ rn(Gs, [["render", Rs]]), js = ["src"], Fs = ["src", "title"], It = /* @__PURE__ */ Object.assign({
2939
2950
  inheritAttrs: !1
2940
2951
  }, {
2941
2952
  __name: "Image",
@@ -2956,15 +2967,15 @@ const ql = /* @__PURE__ */ rn(Gs, [["render", Rs]]), js = ["src"], Fs = ["src",
2956
2967
  setup(t) {
2957
2968
  const e = t, { defaultSrc: r } = Le(e), n = H({ src: e.src }), { error: a, isReady: o } = qn(n, { resetOnExecute: !1, shallow: !1 });
2958
2969
  return (s, i) => (S(), O(ct, null, [
2959
- y(a) && y(r) ? (S(), O("img", {
2970
+ v(a) && v(r) ? (S(), O("img", {
2960
2971
  key: 0,
2961
- src: y(r),
2962
- class: tt(["is-loaded", s.$attrs.class])
2972
+ src: v(r),
2973
+ class: J(["is-loaded", s.$attrs.class])
2963
2974
  }, null, 10, js)) : X("", !0),
2964
- y(a) ? X("", !0) : (S(), O("img", {
2975
+ v(a) ? X("", !0) : (S(), O("img", {
2965
2976
  key: 1,
2966
2977
  src: n.value.src,
2967
- class: tt([s.$attrs.class, { "is-loaded": y(o) }]),
2978
+ class: J([s.$attrs.class, { "is-loaded": v(o) }]),
2968
2979
  title: e.title
2969
2980
  }, null, 10, Fs))
2970
2981
  ], 64));
@@ -2973,16 +2984,16 @@ const ql = /* @__PURE__ */ rn(Gs, [["render", Rs]]), js = ["src"], Fs = ["src",
2973
2984
  __name: "LoadingIndicator",
2974
2985
  setup(t) {
2975
2986
  const { t: e } = Dt();
2976
- return (r, n) => (S(), O("div", Bs, z(y(e)("common.loading")), 1));
2987
+ return (r, n) => (S(), O("div", Bs, z(v(e)("common.loading")), 1));
2977
2988
  }
2978
2989
  };
2979
2990
  function Vs({ currentPage: t, itemsPerPage: e = 20, totalItems: r, rangeLength: n = 5, update: a = yt }) {
2980
- const o = q(() => Math.ceil(y(r) / e)), s = q(() => {
2981
- const p = y(t) - 1, f = Array.from({ length: o.value }, (m, h) => h + 1), u = Math.floor(n / 2);
2991
+ const o = q(() => Math.ceil(v(r) / e)), s = q(() => {
2992
+ const p = v(t) - 1, f = Array.from({ length: o.value }, (m, h) => h + 1), u = Math.floor(n / 2);
2982
2993
  let d = Math.max(p - u, 0);
2983
2994
  return d + n >= o.value && (d = Math.max(o.value - n, 0)), f.slice(d, d + n);
2984
2995
  }), i = (p) => {
2985
- const f = y(t) + p;
2996
+ const f = v(t) + p;
2986
2997
  c(f) && a(f);
2987
2998
  }, l = (p) => {
2988
2999
  c(p) && a(p);
@@ -3031,7 +3042,7 @@ const Qs = { render: Js }, ti = ["disabled"], ei = ["disabled"], ri = {
3031
3042
  class: "is-disabled"
3032
3043
  }, ai = /* @__PURE__ */ P("span", null, "...", -1), si = [
3033
3044
  ai
3034
- ], ii = ["disabled"], li = ["disabled"], Zl = {
3045
+ ], ii = ["disabled"], li = ["disabled"], Xl = {
3035
3046
  __name: "Paginator",
3036
3047
  props: {
3037
3048
  page: {
@@ -3070,47 +3081,47 @@ const Qs = { render: Js }, ti = ["disabled"], ei = ["disabled"], ri = {
3070
3081
  rangeLength: r.rangeLength,
3071
3082
  update: (c) => e("change", c)
3072
3083
  });
3073
- return (c, p) => y(o) > 1 ? (S(), O("div", {
3084
+ return (c, p) => v(o) > 1 ? (S(), O("div", {
3074
3085
  key: 0,
3075
- class: tt(y(n))
3086
+ class: J(v(n))
3076
3087
  }, [
3077
3088
  P("button", {
3078
3089
  type: "button",
3079
- disabled: y(a) === 1,
3080
- onClick: p[0] || (p[0] = (f) => y(l)(-1))
3090
+ disabled: v(a) === 1,
3091
+ onClick: p[0] || (p[0] = (f) => v(l)(-1))
3081
3092
  }, [
3082
3093
  it(c.$slots, "prev", {}, () => [
3083
- nt(y(Ks), { class: "icon paginator-left" })
3094
+ nt(v(Ks), { class: "icon paginator-left" })
3084
3095
  ])
3085
3096
  ], 8, ti),
3086
3097
  t.isCompact ? X("", !0) : (S(), O("button", {
3087
3098
  key: 0,
3088
3099
  type: "button",
3089
- disabled: y(a) === 1,
3090
- onClick: p[1] || (p[1] = (f) => y(i)(1))
3100
+ disabled: v(a) === 1,
3101
+ onClick: p[1] || (p[1] = (f) => v(i)(1))
3091
3102
  }, "1", 8, ei)),
3092
3103
  t.isCompact ? X("", !0) : (S(), O("div", ri, "...")),
3093
- (S(!0), O(ct, null, Pt(y(s), (f) => (S(), O("button", {
3104
+ (S(!0), O(ct, null, Pt(v(s), (f) => (S(), O("button", {
3094
3105
  type: "button",
3095
3106
  key: f,
3096
- class: tt({ "is-active": f === y(a) }),
3097
- disabled: f === y(a),
3098
- onClick: (u) => y(i)(f)
3107
+ class: J({ "is-active": f === v(a) }),
3108
+ disabled: f === v(a),
3109
+ onClick: (u) => v(i)(f)
3099
3110
  }, z(f), 11, ni))), 128)),
3100
3111
  t.isCompact ? X("", !0) : (S(), O("div", oi, si)),
3101
3112
  t.isCompact ? X("", !0) : (S(), O("button", {
3102
3113
  key: 3,
3103
3114
  type: "button",
3104
- disabled: y(a) === y(o),
3105
- onClick: p[2] || (p[2] = (f) => y(i)(y(o)))
3106
- }, z(y(o)), 9, ii)),
3115
+ disabled: v(a) === v(o),
3116
+ onClick: p[2] || (p[2] = (f) => v(i)(v(o)))
3117
+ }, z(v(o)), 9, ii)),
3107
3118
  P("button", {
3108
3119
  type: "button",
3109
- disabled: y(a) === y(o),
3110
- onClick: p[3] || (p[3] = Nt((f) => y(l)(1), ["prevent"]))
3120
+ disabled: v(a) === v(o),
3121
+ onClick: p[3] || (p[3] = Nt((f) => v(l)(1), ["prevent"]))
3111
3122
  }, [
3112
3123
  it(c.$slots, "next", {}, () => [
3113
- nt(y(Qs), { class: "icon paginator-left" })
3124
+ nt(v(Qs), { class: "icon paginator-left" })
3114
3125
  ])
3115
3126
  ], 8, li)
3116
3127
  ], 2)) : X("", !0);
@@ -3122,7 +3133,7 @@ const Qs = { render: Js }, ti = ["disabled"], ei = ["disabled"], ri = {
3122
3133
  return (n, a) => (S(), O("div", {
3123
3134
  ref_key: "el",
3124
3135
  ref: e,
3125
- class: tt(y(r))
3136
+ class: J(v(r))
3126
3137
  }, [
3127
3138
  it(n.$slots, "default", { el: e.value })
3128
3139
  ], 2));
@@ -3234,15 +3245,15 @@ var an = { exports: {} };
3234
3245
  return M ? bt : bt.endOf(c);
3235
3246
  }, W = function(Et, ot) {
3236
3247
  return D.w(b.toDate()[Et].apply(b.toDate("s"), (M ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(ot)), b);
3237
- }, U = this.$W, Q = this.$M, vt = this.$D, ht = "set" + (this.$u ? "UTC" : "");
3248
+ }, U = this.$W, tt = this.$M, vt = this.$D, ht = "set" + (this.$u ? "UTC" : "");
3238
3249
  switch (L) {
3239
3250
  case d:
3240
3251
  return M ? C(1, 0) : C(31, 11);
3241
3252
  case f:
3242
- return M ? C(1, Q) : C(0, Q + 1);
3253
+ return M ? C(1, tt) : C(0, tt + 1);
3243
3254
  case p:
3244
3255
  var jt = this.$locale().weekStart || 0, Ft = (U < jt ? U + 7 : U) - jt;
3245
- return C(M ? vt - Ft : vt + (6 - Ft), Q);
3256
+ return C(M ? vt - Ft : vt + (6 - Ft), tt);
3246
3257
  case c:
3247
3258
  case m:
3248
3259
  return W(ht + "Hours", 0);
@@ -3272,9 +3283,9 @@ var an = { exports: {} };
3272
3283
  }, $.add = function(w, T) {
3273
3284
  var b, M = this;
3274
3285
  w = Number(w);
3275
- var L = D.p(T), C = function(Q) {
3286
+ var L = D.p(T), C = function(tt) {
3276
3287
  var vt = N(M);
3277
- return D.w(vt.date(vt.date() + Math.round(Q * w)), M);
3288
+ return D.w(vt.date(vt.date() + Math.round(tt * w)), M);
3278
3289
  };
3279
3290
  if (L === f)
3280
3291
  return this.set(f, this.$M + w);
@@ -3292,22 +3303,22 @@ var an = { exports: {} };
3292
3303
  var T = this, b = this.$locale();
3293
3304
  if (!this.isValid())
3294
3305
  return b.invalidDate || h;
3295
- var M = w || "YYYY-MM-DDTHH:mm:ssZ", L = D.z(this), C = this.$H, W = this.$m, U = this.$M, Q = b.weekdays, vt = b.months, ht = function(ot, bt, ge, Xt) {
3306
+ var M = w || "YYYY-MM-DDTHH:mm:ssZ", L = D.z(this), C = this.$H, W = this.$m, U = this.$M, tt = b.weekdays, vt = b.months, ht = function(ot, bt, ge, Xt) {
3296
3307
  return ot && (ot[bt] || ot(T, M)) || ge[bt].slice(0, Xt);
3297
3308
  }, jt = function(ot) {
3298
3309
  return D.s(C % 12 || 12, ot, "0");
3299
3310
  }, Ft = b.meridiem || function(ot, bt, ge) {
3300
3311
  var Xt = ot < 12 ? "AM" : "PM";
3301
3312
  return ge ? Xt.toLowerCase() : Xt;
3302
- }, Et = { YY: String(this.$y).slice(-2), YYYY: this.$y, M: U + 1, MM: D.s(U + 1, 2, "0"), MMM: ht(b.monthsShort, U, vt, 3), MMMM: ht(vt, U), D: this.$D, DD: D.s(this.$D, 2, "0"), d: String(this.$W), dd: ht(b.weekdaysMin, this.$W, Q, 2), ddd: ht(b.weekdaysShort, this.$W, Q, 3), dddd: Q[this.$W], H: String(C), HH: D.s(C, 2, "0"), h: jt(1), hh: jt(2), a: Ft(C, W, !0), A: Ft(C, W, !1), m: String(W), mm: D.s(W, 2, "0"), s: String(this.$s), ss: D.s(this.$s, 2, "0"), SSS: D.s(this.$ms, 3, "0"), Z: L };
3313
+ }, Et = { YY: String(this.$y).slice(-2), YYYY: this.$y, M: U + 1, MM: D.s(U + 1, 2, "0"), MMM: ht(b.monthsShort, U, vt, 3), MMMM: ht(vt, U), D: this.$D, DD: D.s(this.$D, 2, "0"), d: String(this.$W), dd: ht(b.weekdaysMin, this.$W, tt, 2), ddd: ht(b.weekdaysShort, this.$W, tt, 3), dddd: tt[this.$W], H: String(C), HH: D.s(C, 2, "0"), h: jt(1), hh: jt(2), a: Ft(C, W, !0), A: Ft(C, W, !1), m: String(W), mm: D.s(W, 2, "0"), s: String(this.$s), ss: D.s(this.$s, 2, "0"), SSS: D.s(this.$ms, 3, "0"), Z: L };
3303
3314
  return M.replace(_, function(ot, bt) {
3304
3315
  return bt || Et[ot] || L.replace(":", "");
3305
3316
  });
3306
3317
  }, $.utcOffset = function() {
3307
3318
  return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
3308
3319
  }, $.diff = function(w, T, b) {
3309
- var M, L = D.p(T), C = N(w), W = (C.utcOffset() - this.utcOffset()) * n, U = this - C, Q = D.m(this, C);
3310
- return Q = (M = {}, M[d] = Q / 12, M[f] = Q, M[u] = Q / 3, M[p] = (U - W) / 6048e5, M[c] = (U - W) / 864e5, M[l] = U / a, M[i] = U / n, M[s] = U / r, M)[L] || U, b ? Q : D.a(Q);
3320
+ var M, L = D.p(T), C = N(w), W = (C.utcOffset() - this.utcOffset()) * n, U = this - C, tt = D.m(this, C);
3321
+ return tt = (M = {}, M[d] = tt / 12, M[f] = tt, M[u] = tt / 3, M[p] = (U - W) / 6048e5, M[c] = (U - W) / 864e5, M[l] = U / a, M[i] = U / n, M[s] = U / r, M)[L] || U, b ? tt : D.a(tt);
3311
3322
  }, $.daysInMonth = function() {
3312
3323
  return this.endOf(f).$D;
3313
3324
  }, $.$locale = function() {
@@ -3328,9 +3339,9 @@ var an = { exports: {} };
3328
3339
  }, $.toString = function() {
3329
3340
  return this.$d.toUTCString();
3330
3341
  }, A;
3331
- }(), J = F.prototype;
3332
- return N.prototype = J, [["$ms", o], ["$s", s], ["$m", i], ["$H", l], ["$W", c], ["$M", f], ["$y", d], ["$D", m]].forEach(function(A) {
3333
- J[A[1]] = function($) {
3342
+ }(), Q = F.prototype;
3343
+ return N.prototype = Q, [["$ms", o], ["$s", s], ["$m", i], ["$H", l], ["$W", c], ["$M", f], ["$y", d], ["$D", m]].forEach(function(A) {
3344
+ Q[A[1]] = function($) {
3334
3345
  return this.$g($, A[0], A[1]);
3335
3346
  };
3336
3347
  }), N.extend = function(A, $) {
@@ -3652,7 +3663,10 @@ const _i = () => et.tz.guess(), we = (t = "", e = "", r = "", n = "hu") => (r =
3652
3663
  }, xi = (t) => {
3653
3664
  const e = ~~(t / 60), r = ~~t % 60;
3654
3665
  return dr(e, "0", 2) + ":" + dr(r, "0", 2);
3655
- }, Ti = (t, e = "day") => et().isSameOrBefore(et(t), e), Xl = (t, e, r) => et(t).isBetween(e, et(r)), Jl = (t, e, r = "month") => et(t).isSame(e, r), Pi = ["onClick"], Ql = {
3666
+ }, Ti = (t) => {
3667
+ const e = Math.trunc(t), r = Math.round((t - e) / 10 * 60 * 10);
3668
+ return [e.toString().padStart(2, "0"), r.toString().padStart(2, "0")].join(":");
3669
+ }, Pi = (t, e = "day") => et().isSameOrBefore(et(t), e), Jl = (t, e, r) => et(t).isBetween(e, et(r)), Ql = (t, e, r = "month") => et(t).isSame(e, r), Oi = ["onClick"], tc = {
3656
3670
  __name: "TimezoneSelector",
3657
3671
  props: {
3658
3672
  locale: {
@@ -3672,16 +3686,16 @@ const _i = () => et.tz.guess(), we = (t = "", e = "", r = "", n = "hu") => (r =
3672
3686
  zoneOffsetName: Jt(/* @__PURE__ */ new Date(), c.timezone, r.locale)
3673
3687
  }))), l = (c) => e("change", c);
3674
3688
  return (c, p) => (S(), O("div", {
3675
- class: tt(y(a))
3689
+ class: J(v(a))
3676
3690
  }, [
3677
- nt(y(xa), {
3691
+ nt(v(xa), {
3678
3692
  path: "common.selectTimezone",
3679
3693
  tag: "span"
3680
3694
  }, {
3681
3695
  timezone: G(() => [
3682
3696
  P("a", {
3683
3697
  href: "#",
3684
- onClick: p[0] || (p[0] = Nt((f) => l(y(s)), ["prevent"]))
3698
+ onClick: p[0] || (p[0] = Nt((f) => l(v(s)), ["prevent"]))
3685
3699
  }, z(o.value), 1)
3686
3700
  ]),
3687
3701
  _: 1
@@ -3689,31 +3703,31 @@ const _i = () => et.tz.guess(), we = (t = "", e = "", r = "", n = "hu") => (r =
3689
3703
  (S(!0), O(ct, null, Pt(i.value, (f) => (S(), O("a", {
3690
3704
  key: f.countryLabelKey,
3691
3705
  href: "#",
3692
- class: tt({ "is-active": f.isActive }),
3706
+ class: J({ "is-active": f.isActive }),
3693
3707
  onClick: Nt((u) => l(f.timezone), ["prevent"])
3694
- }, z(y(n)(`common.${f.countryLabelKey}`)) + " (" + z(f.zoneOffsetName) + ") ", 11, Pi))), 128))
3708
+ }, z(v(n)(`common.${f.countryLabelKey}`)) + " (" + z(f.zoneOffsetName) + ") ", 11, Oi))), 128))
3695
3709
  ], 2));
3696
3710
  }
3697
3711
  }, hn = (t, e = "", r = {}) => {
3698
3712
  const n = H(""), { t: a } = Dt(), o = q(() => {
3699
- if (y(e))
3713
+ if (v(e))
3700
3714
  try {
3701
- const l = Oi(y(t), y(e));
3702
- return da(l, y(t));
3715
+ const l = Ai(v(t), v(e));
3716
+ return da(l, v(t));
3703
3717
  } catch (l) {
3704
3718
  n.value = l;
3705
3719
  }
3706
- return y(t);
3720
+ return v(t);
3707
3721
  }), s = (l) => ({
3708
3722
  ...l,
3709
- ...l.label && { label: a(l.label ?? "", y(r)) },
3723
+ ...l.label && { label: a(l.label ?? "", v(r)) },
3710
3724
  ...l.tooltip && { tooltip: a(l.tooltip ?? "") }
3711
3725
  });
3712
3726
  return {
3713
3727
  columns: q(() => kt(s, o.value)),
3714
3728
  error: n
3715
3729
  };
3716
- }, Oi = (t, e = "") => {
3730
+ }, Ai = (t, e = "") => {
3717
3731
  const r = kt(ne, Wt(",", e)), n = At(t);
3718
3732
  if (r[0] === "")
3719
3733
  return resolve([]);
@@ -3734,16 +3748,16 @@ const ie = {
3734
3748
  key: "undefined-column",
3735
3749
  cause: {}
3736
3750
  }
3737
- }, tc = {
3751
+ }, ec = {
3738
3752
  message: "Invalid season name",
3739
3753
  options: {
3740
3754
  key: "invalid-season-name",
3741
3755
  cause: {}
3742
3756
  }
3743
- }, Ai = { class: "is-portrait-image" }, ki = { class: "is-team-name-long" }, Mi = { class: "is-team-name-short" }, Di = { class: "is-team-name-long" }, Li = { class: "is-team-name-short" }, Ei = { class: "is-team-name-long" }, Ii = { class: "is-team-name-short" }, zi = ["href"], Ni = { class: "is-team-name-long" }, Ci = { class: "is-team-name-short" }, Gi = ["href"], Ri = {
3757
+ }, ki = { class: "is-portrait-image" }, Mi = { class: "is-team-name-long" }, Di = { class: "is-team-name-short" }, Li = { class: "is-team-name-long" }, Ei = { class: "is-team-name-short" }, Ii = { class: "is-team-name-long" }, zi = { class: "is-team-name-short" }, Ni = ["href"], Ci = { class: "is-team-name-long" }, Gi = { class: "is-team-name-short" }, Ri = ["href"], ji = {
3744
3758
  key: 0,
3745
3759
  class: "is-text-dark"
3746
- }, ji = ["href", "target"], ec = {
3760
+ }, Fi = ["href", "target"], rc = {
3747
3761
  __name: "StatisticsTable",
3748
3762
  props: {
3749
3763
  columns: {
@@ -3793,7 +3807,7 @@ const ie = {
3793
3807
  default: !1
3794
3808
  },
3795
3809
  appendTo: {
3796
- type: HTMLElement,
3810
+ type: [Object, String],
3797
3811
  default: null
3798
3812
  },
3799
3813
  offsetName: {
@@ -3820,7 +3834,7 @@ const ie = {
3820
3834
  return (c, p) => (S(), at(on, null, {
3821
3835
  default: G(({ el: f }) => [
3822
3836
  nt(Qr, {
3823
- columns: y(s),
3837
+ columns: v(s),
3824
3838
  sort: r.sort,
3825
3839
  rows: r.rows,
3826
3840
  "is-loading": t.isLoading,
@@ -3829,15 +3843,15 @@ const ie = {
3829
3843
  }, Pn({
3830
3844
  "cell-index": G(({ row: u }) => [
3831
3845
  P("span", {
3832
- class: tt(u.indexClass)
3846
+ class: J(u.indexClass)
3833
3847
  }, z(u.index), 3)
3834
3848
  ]),
3835
3849
  "cell-playerPortrait": G(({ row: u }) => [
3836
- P("div", Ai, [
3850
+ P("div", ki, [
3837
3851
  (S(), at(It, {
3838
- key: u.id || u.playerId,
3839
- src: u.playerPortrait,
3840
- "default-src": y(Oa)
3852
+ key: u.player.playerId,
3853
+ src: u.player.picture,
3854
+ "default-src": v(Oa)
3841
3855
  }, null, 8, ["src", "default-src"]))
3842
3856
  ])
3843
3857
  ]),
@@ -3874,22 +3888,22 @@ const ie = {
3874
3888
  "cell-teamName": G(({ row: u }) => {
3875
3889
  var d, m;
3876
3890
  return [
3877
- P("span", ki, z((d = u.team) == null ? void 0 : d.longName), 1),
3878
- P("span", Mi, z((m = u.team) == null ? void 0 : m.shortName), 1)
3891
+ P("span", Mi, z((d = u.team) == null ? void 0 : d.longName), 1),
3892
+ P("span", Di, z((m = u.team) == null ? void 0 : m.shortName), 1)
3879
3893
  ];
3880
3894
  }),
3881
3895
  "cell-homeTeamName": G(({ row: u }) => {
3882
3896
  var d, m;
3883
3897
  return [
3884
- P("span", Di, z((d = u.homeTeam) == null ? void 0 : d.longName), 1),
3885
- P("span", Li, z((m = u.homeTeam) == null ? void 0 : m.shortName), 1)
3898
+ P("span", Li, z((d = u.homeTeam) == null ? void 0 : d.longName), 1),
3899
+ P("span", Ei, z((m = u.homeTeam) == null ? void 0 : m.shortName), 1)
3886
3900
  ];
3887
3901
  }),
3888
3902
  "cell-awayTeamName": G(({ row: u }) => {
3889
3903
  var d, m;
3890
3904
  return [
3891
- P("span", Ei, z((d = u.awayTeam) == null ? void 0 : d.longName), 1),
3892
- P("span", Ii, z((m = u.awayTeam) == null ? void 0 : m.shortName), 1)
3905
+ P("span", Ii, z((d = u.awayTeam) == null ? void 0 : d.longName), 1),
3906
+ P("span", zi, z((m = u.awayTeam) == null ? void 0 : m.shortName), 1)
3893
3907
  ];
3894
3908
  }),
3895
3909
  "cell-location": G(({ row: u }) => {
@@ -3899,12 +3913,12 @@ const ie = {
3899
3913
  ];
3900
3914
  }),
3901
3915
  "cell-gameResult": G(({ row: u }) => [
3902
- u.gameStatus === 0 ? (S(), O("span", Ri, "-:-")) : (S(), O("a", {
3916
+ u.gameStatus === 0 ? (S(), O("span", ji, "-:-")) : (S(), O("a", {
3903
3917
  key: 1,
3904
3918
  href: t.externalGameResolver(u.gameId),
3905
3919
  target: t.externalGameResolverTarget,
3906
- class: tt({ "is-text-dark": u.gameStatus !== 1, "is-text-accent": u.gameStatus === 1 })
3907
- }, z(u.homeTeamScore) + ":" + z(u.awayTeamScore), 11, ji))
3920
+ class: J({ "is-text-dark": u.gameStatus !== 1, "is-text-accent": u.gameStatus === 1 })
3921
+ }, z(u.homeTeamScore) + ":" + z(u.awayTeamScore), 11, Fi))
3908
3922
  ]),
3909
3923
  loading: G(() => [
3910
3924
  nt(nn)
@@ -3920,9 +3934,9 @@ const ie = {
3920
3934
  href: t.externalTeamResolver((d = u.team) == null ? void 0 : d.longName),
3921
3935
  target: "_blank"
3922
3936
  }, [
3923
- P("span", Ni, z((m = u.team) == null ? void 0 : m.longName), 1),
3924
- P("span", Ci, z((h = u.team) == null ? void 0 : h.shortName), 1)
3925
- ], 8, zi)
3937
+ P("span", Ci, z((m = u.team) == null ? void 0 : m.longName), 1),
3938
+ P("span", Gi, z((h = u.team) == null ? void 0 : h.shortName), 1)
3939
+ ], 8, Ni)
3926
3940
  ];
3927
3941
  }),
3928
3942
  key: "0"
@@ -3933,7 +3947,7 @@ const ie = {
3933
3947
  P("a", {
3934
3948
  href: t.externalPlayerResolver(u.id),
3935
3949
  target: "_blank"
3936
- }, z(u.name), 9, Gi)
3950
+ }, z(u.name), 9, Ri)
3937
3951
  ]),
3938
3952
  key: "1"
3939
3953
  } : void 0
@@ -3942,7 +3956,7 @@ const ie = {
3942
3956
  _: 1
3943
3957
  }));
3944
3958
  }
3945
- }, Fi = {
3959
+ }, Bi = {
3946
3960
  gameName: {
3947
3961
  label: "table.gameName.short",
3948
3962
  tooltip: "table.gameName.tooltip",
@@ -3996,7 +4010,7 @@ const ie = {
3996
4010
  more: {
3997
4011
  label: ""
3998
4012
  }
3999
- }, rc = {
4013
+ }, nc = {
4000
4014
  index: {
4001
4015
  label: "table.blank",
4002
4016
  class: "is-text-left"
@@ -4014,30 +4028,30 @@ const ie = {
4014
4028
  gamesPlayed: {
4015
4029
  label: "table.game.short",
4016
4030
  tooltip: "table.game.tooltip",
4017
- sortOrders: [{ target: "gamesPlayed", direction: v }]
4031
+ sortOrders: [{ target: "gamesPlayed", direction: y }]
4018
4032
  },
4019
4033
  w: {
4020
4034
  label: "table.wins.short",
4021
4035
  tooltip: "table.wins.tooltip",
4022
4036
  sortOrders: [
4023
- { target: "w", direction: v },
4024
- { target: "otw", direction: v }
4037
+ { target: "w", direction: y },
4038
+ { target: "otw", direction: y }
4025
4039
  ]
4026
4040
  },
4027
4041
  otw: {
4028
4042
  label: "table.otw.short",
4029
4043
  tooltip: "table.otw.tooltip",
4030
- sortOrders: [{ target: "otw", direction: v }]
4044
+ sortOrders: [{ target: "otw", direction: y }]
4031
4045
  },
4032
4046
  sow: {
4033
4047
  label: "table.sow.short",
4034
4048
  tooltip: "table.sow.tooltip",
4035
- sortOrders: [{ target: "sow", direction: v }]
4049
+ sortOrders: [{ target: "sow", direction: y }]
4036
4050
  },
4037
4051
  sol: {
4038
4052
  label: "table.sol.short",
4039
4053
  tooltip: "table.sol.tooltip",
4040
- sortOrders: [{ target: "sol", direction: v }]
4054
+ sortOrders: [{ target: "sol", direction: y }]
4041
4055
  },
4042
4056
  otl: {
4043
4057
  label: "table.otl.short",
@@ -4052,7 +4066,7 @@ const ie = {
4052
4066
  gf: {
4053
4067
  label: "table.goalFor.short",
4054
4068
  tooltip: "table.goalFor.tooltip",
4055
- sortOrders: [{ target: "gf", direction: v }]
4069
+ sortOrders: [{ target: "gf", direction: y }]
4056
4070
  },
4057
4071
  ga: {
4058
4072
  label: "table.goalAgainst.short",
@@ -4062,19 +4076,21 @@ const ie = {
4062
4076
  gd: {
4063
4077
  label: "table.goalDiff.short",
4064
4078
  tooltip: "table.goalDiff.tooltip",
4065
- sortOrders: [{ target: "gd", direction: v }]
4079
+ sortOrders: [{ target: "gd", direction: y }]
4066
4080
  },
4067
4081
  points: {
4068
4082
  label: "table.points.short",
4069
4083
  tooltip: "table.points.tooltip",
4070
4084
  class: "is-text-bold",
4071
4085
  sortOrders: [
4072
- { target: "points", direction: v },
4073
- { target: "gd", direction: v },
4074
- { target: "gf", direction: v }
4086
+ { target: "points", direction: y },
4087
+ { target: "gamesPlayed", direction: j },
4088
+ { target: "w", direction: y },
4089
+ { target: "gd", direction: y },
4090
+ { target: "gf", direction: y }
4075
4091
  ]
4076
4092
  }
4077
- }, nc = {
4093
+ }, oc = {
4078
4094
  index: {
4079
4095
  label: "#",
4080
4096
  class: "is-text-left"
@@ -4092,22 +4108,22 @@ const ie = {
4092
4108
  gamesPlayed: {
4093
4109
  label: "table.game.short",
4094
4110
  tooltip: "table.game.tooltip",
4095
- sortOrders: [{ target: "gamesPlayed", direction: v }]
4111
+ sortOrders: [{ target: "gamesPlayed", direction: y }]
4096
4112
  },
4097
4113
  w: {
4098
4114
  label: "table.wins.short",
4099
4115
  tooltip: "table.wins.tooltip",
4100
4116
  sortOrders: [
4101
- { target: "w", direction: v },
4102
- { target: "d", direction: v }
4117
+ { target: "w", direction: y },
4118
+ { target: "d", direction: y }
4103
4119
  ]
4104
4120
  },
4105
4121
  d: {
4106
4122
  label: "table.draw.short",
4107
4123
  tooltip: "table.draw.tooltip",
4108
4124
  sortOrders: [
4109
- { target: "d", direction: v },
4110
- { target: "w", direction: v }
4125
+ { target: "d", direction: y },
4126
+ { target: "w", direction: y }
4111
4127
  ]
4112
4128
  },
4113
4129
  l: {
@@ -4118,7 +4134,7 @@ const ie = {
4118
4134
  gf: {
4119
4135
  label: "table.goalFor.short",
4120
4136
  tooltip: "table.goalFor.tooltip",
4121
- sortOrders: [{ target: "gf", direction: v }]
4137
+ sortOrders: [{ target: "gf", direction: y }]
4122
4138
  },
4123
4139
  ga: {
4124
4140
  label: "table.goalAgainst.short",
@@ -4128,15 +4144,15 @@ const ie = {
4128
4144
  gd: {
4129
4145
  label: "table.goalDiff.short",
4130
4146
  tooltip: "table.goalDiff.tooltip",
4131
- sortOrders: [{ target: "gd", direction: v }]
4147
+ sortOrders: [{ target: "gd", direction: y }]
4132
4148
  },
4133
4149
  points: {
4134
4150
  label: "table.points.short",
4135
4151
  tooltip: "table.points.tooltip",
4136
4152
  class: "is-text-bold",
4137
- sortOrders: [{ target: "points", direction: v }]
4153
+ sortOrders: [{ target: "points", direction: y }]
4138
4154
  }
4139
- }, oc = {
4155
+ }, ac = {
4140
4156
  index: {
4141
4157
  label: "#",
4142
4158
  class: "is-text-left"
@@ -4164,45 +4180,45 @@ const ie = {
4164
4180
  gp: {
4165
4181
  label: "table.game.short",
4166
4182
  tooltip: "table.game.tooltip",
4167
- sortOrders: [{ target: "gp", direction: v }]
4183
+ sortOrders: [{ target: "gp", direction: y }]
4168
4184
  },
4169
4185
  g: {
4170
4186
  label: "table.goals.short",
4171
4187
  tooltip: "table.goals.tooltip",
4172
4188
  sortOrders: [
4173
- { target: "g", direction: v },
4174
- { target: "a", direction: v }
4189
+ { target: "g", direction: y },
4190
+ { target: "a", direction: y }
4175
4191
  ]
4176
4192
  },
4177
4193
  a: {
4178
4194
  label: "table.assists.short",
4179
4195
  tooltip: "table.assists.tooltip",
4180
4196
  sortOrders: [
4181
- { target: "a", direction: v },
4182
- { target: "g", direction: v }
4197
+ { target: "a", direction: y },
4198
+ { target: "g", direction: y }
4183
4199
  ]
4184
4200
  },
4185
4201
  point: {
4186
4202
  label: "table.points.short",
4187
4203
  tooltip: "table.points.tooltip",
4188
- sortOrders: [{ target: "point", direction: v }]
4204
+ sortOrders: [{ target: "point", direction: y }]
4189
4205
  },
4190
4206
  plusMinus: {
4191
4207
  label: "table.plusMinus.short",
4192
4208
  tooltip: "table.plusMinus.tooltip",
4193
- sortOrders: [{ target: "plusMinus", direction: v }]
4209
+ sortOrders: [{ target: "plusMinus", direction: y }]
4194
4210
  },
4195
4211
  shoot: {
4196
4212
  label: "table.sog.short",
4197
4213
  tooltip: "table.sog.tooltip",
4198
- sortOrders: [{ target: "shoot", direction: v }]
4214
+ sortOrders: [{ target: "shoot", direction: y }]
4199
4215
  },
4200
4216
  shootPercent: {
4201
4217
  label: "table.sogPercent.short",
4202
4218
  tooltip: "table.sogPercent.tooltip",
4203
- sortOrders: [{ target: "shootPercent", direction: v }]
4219
+ sortOrders: [{ target: "shootPercent", direction: y }]
4204
4220
  }
4205
- }, ac = {
4221
+ }, sc = {
4206
4222
  index: {
4207
4223
  label: "table.blank",
4208
4224
  class: "is-text-left"
@@ -4230,54 +4246,54 @@ const ie = {
4230
4246
  gp: {
4231
4247
  label: "table.game.short",
4232
4248
  tooltip: "table.game.tooltip",
4233
- sortOrders: [{ target: "gp", direction: v }]
4249
+ sortOrders: [{ target: "gp", direction: y }]
4234
4250
  },
4235
4251
  p2: {
4236
4252
  label: "table.minorPenalties.short",
4237
4253
  tooltip: "table.minorPenalties.tooltip",
4238
4254
  sortOrders: [
4239
- { target: "p2", direction: v },
4240
- { target: "pim", direction: v }
4255
+ { target: "p2", direction: y },
4256
+ { target: "pim", direction: y }
4241
4257
  ]
4242
4258
  },
4243
4259
  p5: {
4244
4260
  label: "table.majorPenalties.short",
4245
4261
  tooltip: "table.majorPenalties.tooltip",
4246
4262
  sortOrders: [
4247
- { target: "p5", direction: v },
4248
- { target: "pim", direction: v }
4263
+ { target: "p5", direction: y },
4264
+ { target: "pim", direction: y }
4249
4265
  ]
4250
4266
  },
4251
4267
  p10: {
4252
4268
  label: "table.misconducts.short",
4253
4269
  tooltip: "table.misconducts.tooltip",
4254
4270
  sortOrders: [
4255
- { target: "p10", direction: v },
4256
- { target: "pim", direction: v }
4271
+ { target: "p10", direction: y },
4272
+ { target: "pim", direction: y }
4257
4273
  ]
4258
4274
  },
4259
4275
  p20: {
4260
4276
  label: "table.gameMisconducts.short",
4261
4277
  tooltip: "table.gameMisconducts.tooltip",
4262
4278
  sortOrders: [
4263
- { target: "p20", direction: v },
4264
- { target: "pim", direction: v }
4279
+ { target: "p20", direction: y },
4280
+ { target: "pim", direction: y }
4265
4281
  ]
4266
4282
  },
4267
4283
  p25: {
4268
4284
  label: "table.matchPenalties.short",
4269
4285
  tooltip: "table.matchPenalties.tooltip",
4270
4286
  sortOrders: [
4271
- { target: "p25", direction: v },
4272
- { target: "pim", direction: v }
4287
+ { target: "p25", direction: y },
4288
+ { target: "pim", direction: y }
4273
4289
  ]
4274
4290
  },
4275
4291
  pim: {
4276
4292
  label: "table.pim.short",
4277
4293
  tooltip: "table.pim.tooltip",
4278
- sortOrders: [{ target: "pim", direction: v }]
4294
+ sortOrders: [{ target: "pim", direction: y }]
4279
4295
  }
4280
- }, sc = {
4296
+ }, ic = {
4281
4297
  index: {
4282
4298
  label: "table.blank",
4283
4299
  class: "is-text-left"
@@ -4305,49 +4321,49 @@ const ie = {
4305
4321
  gkd: {
4306
4322
  label: "table.gpgk.short",
4307
4323
  tooltip: "table.gpgk.tooltip",
4308
- sortOrders: [{ target: "gkd", direction: v }]
4324
+ sortOrders: [{ target: "gkd", direction: y }]
4309
4325
  },
4310
4326
  gpi: {
4311
4327
  label: "table.gpi.short",
4312
4328
  tooltip: "table.gpi.tooltip",
4313
- sortOrders: [{ target: "gpi", direction: v }]
4329
+ sortOrders: [{ target: "gpi", direction: y }]
4314
4330
  },
4315
- mip: {
4331
+ mipMin: {
4316
4332
  label: "table.toi.short",
4317
4333
  tooltip: "table.toi.tooltip",
4318
- sortOrders: [{ target: "mipSec", direction: v }]
4334
+ sortOrders: [{ target: "mip", direction: y }]
4319
4335
  },
4320
4336
  mipPercent: {
4321
4337
  label: "table.toiPercent.short",
4322
4338
  tooltip: "table.toiPercent.tooltip",
4323
- sortOrders: [{ target: "mipPercent", direction: v }]
4339
+ sortOrders: [{ target: "mipPercent", direction: y }]
4324
4340
  },
4325
4341
  ga: {
4326
4342
  label: "table.ga.short",
4327
4343
  tooltip: "table.ga.tooltip",
4328
- sortOrders: [{ target: "ga", direction: v }]
4344
+ sortOrders: [{ target: "ga", direction: y }]
4329
4345
  },
4330
4346
  gaa: {
4331
4347
  label: "table.gaa.short",
4332
4348
  tooltip: "table.gaa.tooltip",
4333
- sortOrders: [{ target: "gaa", direction: v }]
4349
+ sortOrders: [{ target: "gaa", direction: y }]
4334
4350
  },
4335
- sa: {
4351
+ sog: {
4336
4352
  label: "table.sa.short",
4337
4353
  tooltip: "table.sa.tooltip",
4338
- sortOrders: [{ target: "sa", direction: v }]
4354
+ sortOrders: [{ target: "sog", direction: y }]
4339
4355
  },
4340
4356
  svs: {
4341
4357
  label: "table.svs.short",
4342
4358
  tooltip: "table.svs.tooltip",
4343
- sortOrders: [{ target: "svs", direction: v }]
4359
+ sortOrders: [{ target: "svs", direction: y }]
4344
4360
  },
4345
4361
  svsPercent: {
4346
4362
  label: "table.svsPercent.short",
4347
4363
  tooltip: "table.svsPercent.tooltip",
4348
- sortOrders: [{ target: "svsPercent", direction: v }]
4364
+ sortOrders: [{ target: "svsPercent", direction: y }]
4349
4365
  }
4350
- }, ic = {
4366
+ }, lc = {
4351
4367
  index: {
4352
4368
  label: "table.blank",
4353
4369
  class: "is-text-left"
@@ -4368,17 +4384,17 @@ const ie = {
4368
4384
  homeGame: {
4369
4385
  label: "table.homeGame.short",
4370
4386
  tooltip: "table.homeGame.tooltip",
4371
- sortOrders: [{ target: "homeGame", direction: v }]
4387
+ sortOrders: [{ target: "homeGame", direction: y }]
4372
4388
  },
4373
4389
  homeAttendance: {
4374
4390
  label: "table.homeAttendance.short",
4375
4391
  tooltip: "table.homeAttendance.tooltip",
4376
- sortOrders: [{ target: "homeAttendance", direction: v }]
4392
+ sortOrders: [{ target: "homeAttendance", direction: y }]
4377
4393
  },
4378
4394
  homeAttendanceAvg: {
4379
4395
  label: "table.homeAttendanceAvg.short",
4380
4396
  tooltip: "table.homeAttendanceAvg.tooltip",
4381
- sortOrders: [{ target: "homeAttendanceAvg", direction: v }]
4397
+ sortOrders: [{ target: "homeAttendanceAvg", direction: y }]
4382
4398
  },
4383
4399
  away: {
4384
4400
  label: "table.awayHeader.short"
@@ -4386,17 +4402,17 @@ const ie = {
4386
4402
  awayGame: {
4387
4403
  label: "table.awayGame.short",
4388
4404
  tooltip: "table.awayGame.tooltip",
4389
- sortOrders: [{ target: "awayGame", direction: v }]
4405
+ sortOrders: [{ target: "awayGame", direction: y }]
4390
4406
  },
4391
4407
  awayAttendance: {
4392
4408
  label: "table.awayAttendance.short",
4393
4409
  tooltip: "table.awayAttendance.tooltip",
4394
- sortOrders: [{ target: "awayAttendance", direction: v }]
4410
+ sortOrders: [{ target: "awayAttendance", direction: y }]
4395
4411
  },
4396
4412
  awayAttendanceAvg: {
4397
4413
  label: "table.awayAttendanceAvg.short",
4398
4414
  tooltip: "table.awayAttendanceAvg.tooltip",
4399
- sortOrders: [{ target: "awayAttendanceAvg", direction: v }]
4415
+ sortOrders: [{ target: "awayAttendanceAvg", direction: y }]
4400
4416
  },
4401
4417
  total: {
4402
4418
  label: "table.totalHeader.short"
@@ -4404,19 +4420,19 @@ const ie = {
4404
4420
  totalGame: {
4405
4421
  label: "table.totalGame.short",
4406
4422
  tooltip: "table.totalGame.tooltip",
4407
- sortOrders: [{ target: "totalGame", direction: v }]
4423
+ sortOrders: [{ target: "totalGame", direction: y }]
4408
4424
  },
4409
4425
  totalAttendance: {
4410
4426
  label: "table.totalAttendance.short",
4411
4427
  tooltip: "table.totalAttendance.tooltip",
4412
- sortOrders: [{ target: "totalAttendance", direction: v }]
4428
+ sortOrders: [{ target: "totalAttendance", direction: y }]
4413
4429
  },
4414
4430
  totalAttendanceAvg: {
4415
4431
  label: "table.totalAttendanceAvg.short",
4416
4432
  tooltip: "table.totalAttendanceAvg.tooltip",
4417
- sortOrders: [{ target: "totalAttendanceAvg", direction: v }]
4433
+ sortOrders: [{ target: "totalAttendanceAvg", direction: y }]
4418
4434
  }
4419
- }, lc = {
4435
+ }, cc = {
4420
4436
  index: {
4421
4437
  label: "table.blank",
4422
4438
  class: "is-text-left"
@@ -4434,59 +4450,59 @@ const ie = {
4434
4450
  gp: {
4435
4451
  label: "table.game.short",
4436
4452
  tooltip: "table.game.tooltip",
4437
- sortOrders: [{ target: "gp", direction: v }]
4453
+ sortOrders: [{ target: "gp", direction: y }]
4438
4454
  },
4439
4455
  p2: {
4440
4456
  label: "table.minorPenalties.short",
4441
4457
  tooltip: "table.minorPenalties.tooltip",
4442
4458
  sortOrders: [
4443
- { target: "p2", direction: v },
4444
- { target: "pim", direction: v }
4459
+ { target: "p2", direction: y },
4460
+ { target: "pim", direction: y }
4445
4461
  ]
4446
4462
  },
4447
4463
  p5: {
4448
4464
  label: "table.majorPenalties.short",
4449
4465
  tooltip: "table.majorPenalties.tooltip",
4450
4466
  sortOrders: [
4451
- { target: "p5", direction: v },
4452
- { target: "pim", direction: v }
4467
+ { target: "p5", direction: y },
4468
+ { target: "pim", direction: y }
4453
4469
  ]
4454
4470
  },
4455
4471
  p10: {
4456
4472
  label: "table.misconducts.short",
4457
4473
  tooltip: "table.misconducts.tooltip",
4458
4474
  sortOrders: [
4459
- { target: "p10", direction: v },
4460
- { target: "pim", direction: v }
4475
+ { target: "p10", direction: y },
4476
+ { target: "pim", direction: y }
4461
4477
  ]
4462
4478
  },
4463
4479
  p20: {
4464
4480
  label: "table.gameMisconducts.short",
4465
4481
  tooltip: "table.gameMisconducts.tooltip",
4466
4482
  sortOrders: [
4467
- { target: "p20", direction: v },
4468
- { target: "pim", direction: v }
4483
+ { target: "p20", direction: y },
4484
+ { target: "pim", direction: y }
4469
4485
  ]
4470
4486
  },
4471
4487
  p25: {
4472
4488
  label: "table.matchPenalties.short",
4473
4489
  tooltip: "table.matchPenalties.tooltip",
4474
4490
  sortOrders: [
4475
- { target: "p25", direction: v },
4476
- { target: "pim", direction: v }
4491
+ { target: "p25", direction: y },
4492
+ { target: "pim", direction: y }
4477
4493
  ]
4478
4494
  },
4479
4495
  pimPerGame: {
4480
4496
  label: "table.pimPerGame.short",
4481
4497
  tooltip: "table.pimPerGame.tooltip",
4482
- sortOrders: [{ target: "pimPerGame", direction: v }]
4498
+ sortOrders: [{ target: "pimPerGame", direction: y }]
4483
4499
  },
4484
4500
  pim: {
4485
4501
  label: "table.pim.short",
4486
4502
  tooltip: "table.pim.tooltip",
4487
- sortOrders: [{ target: "pim", direction: v }]
4503
+ sortOrders: [{ target: "pim", direction: y }]
4488
4504
  }
4489
- }, cc = {
4505
+ }, uc = {
4490
4506
  index: {
4491
4507
  label: "table.blank",
4492
4508
  class: "is-text-left"
@@ -4504,44 +4520,44 @@ const ie = {
4504
4520
  gp: {
4505
4521
  label: "table.game.short",
4506
4522
  tooltip: "table.game.tooltip",
4507
- sortOrders: [{ target: "gp", direction: v }]
4523
+ sortOrders: [{ target: "gp", direction: y }]
4508
4524
  },
4509
4525
  dvg: {
4510
4526
  label: "table.powerplayDisadvantages.short",
4511
4527
  tooltip: "table.powerplayDisadvantages.tooltip",
4512
- sortOrders: [{ target: "dvg", direction: v }]
4528
+ sortOrders: [{ target: "dvg", direction: y }]
4513
4529
  },
4514
- dvgTime: {
4530
+ dvgTimeMin: {
4515
4531
  label: "table.dvgTime.short",
4516
4532
  tooltip: "table.dvgTime.tooltip",
4517
- sortOrders: [{ target: "dvgTimeSec", direction: v }]
4533
+ sortOrders: [{ target: "dvgTime", direction: y }]
4518
4534
  },
4519
- dvgTimePP1: {
4535
+ dvgTimePP1Min: {
4520
4536
  label: "table.dvgTimePP1.short",
4521
4537
  tooltip: "table.dvgTimePP1.tooltip",
4522
- sortOrders: [{ target: "dvgTimePP1Sec", direction: v }]
4538
+ sortOrders: [{ target: "dvgTimePP1", direction: y }]
4523
4539
  },
4524
- dvgTimePP2: {
4540
+ dvgTimePP2Min: {
4525
4541
  label: "table.dvgTimePP2.short",
4526
4542
  tooltip: "table.dvgTimePP2.tooltip",
4527
- sortOrders: [{ target: "dvgTimePP2", direction: v }]
4543
+ sortOrders: [{ target: "dvgTimePP2", direction: y }]
4528
4544
  },
4529
4545
  ppga: {
4530
4546
  label: "table.ppga.short",
4531
4547
  tooltip: "table.ppga.tooltip",
4532
- sortOrders: [{ target: "ppga", direction: v }]
4548
+ sortOrders: [{ target: "ppga", direction: y }]
4533
4549
  },
4534
4550
  shgf: {
4535
4551
  label: "table.shgf.short",
4536
4552
  tooltip: "table.shgf.tooltip",
4537
- sortOrders: [{ target: "shgf", direction: v }]
4553
+ sortOrders: [{ target: "shgf", direction: y }]
4538
4554
  },
4539
4555
  pkPercent: {
4540
4556
  label: "table.pkPercent.short",
4541
4557
  tooltip: "table.pkPercent.tooltip",
4542
- sortOrders: [{ target: "pkPercent", direction: v }]
4558
+ sortOrders: [{ target: "pkPercent", direction: y }]
4543
4559
  }
4544
- }, uc = {
4560
+ }, dc = {
4545
4561
  index: {
4546
4562
  label: "table.blank",
4547
4563
  class: "is-text-left"
@@ -4559,44 +4575,44 @@ const ie = {
4559
4575
  gp: {
4560
4576
  label: "table.game.short",
4561
4577
  tooltip: "table.game.tooltip",
4562
- sortOrders: [{ target: "gp", direction: v }]
4578
+ sortOrders: [{ target: "gp", direction: y }]
4563
4579
  },
4564
4580
  adv: {
4565
4581
  label: "table.adv.short",
4566
4582
  tooltip: "table.adv.tooltip",
4567
- sortOrders: [{ target: "adv", direction: v }]
4583
+ sortOrders: [{ target: "adv", direction: y }]
4568
4584
  },
4569
- advTime: {
4585
+ advTimeMin: {
4570
4586
  label: "table.advTime.short",
4571
4587
  tooltip: "table.advTime.tooltip",
4572
- sortOrders: [{ target: "advTimeSec", direction: v }]
4588
+ sortOrders: [{ target: "advTime", direction: y }]
4573
4589
  },
4574
- advTimePP1: {
4590
+ advTimePP1Min: {
4575
4591
  label: "table.advTimePP1.short",
4576
4592
  tooltip: "table.advTimePP1.tooltip",
4577
- sortOrders: [{ target: "advTimePP1Sec", direction: v }]
4593
+ sortOrders: [{ target: "advTimePP1", direction: y }]
4578
4594
  },
4579
- advTimePP2: {
4595
+ advTimePP2Min: {
4580
4596
  label: "table.advTimePP2.short",
4581
4597
  tooltip: "table.advTimePP2.tooltip",
4582
- sortOrders: [{ target: "advTimePP2Sec", direction: v }]
4598
+ sortOrders: [{ target: "advTimePP2", direction: y }]
4583
4599
  },
4584
4600
  ppgf: {
4585
4601
  label: "table.ppgf.short",
4586
4602
  tooltip: "table.ppgf.tooltip",
4587
- sortOrders: [{ target: "ppgf", direction: v }]
4603
+ sortOrders: [{ target: "ppgf", direction: y }]
4588
4604
  },
4589
4605
  shga: {
4590
4606
  label: "table.shga.short",
4591
4607
  tooltip: "table.shga.tooltip",
4592
- sortOrders: [{ target: "shga", direction: v }]
4608
+ sortOrders: [{ target: "shga", direction: y }]
4593
4609
  },
4594
4610
  ppPercent: {
4595
4611
  label: "table.ppPercent.short",
4596
4612
  tooltip: "table.ppPercent.tooltip",
4597
- sortOrders: [{ target: "ppPercent", direction: v }]
4613
+ sortOrders: [{ target: "ppPercent", direction: y }]
4598
4614
  }
4599
- }, dc = {
4615
+ }, fc = {
4600
4616
  index: {
4601
4617
  label: "table.blank",
4602
4618
  class: "is-text-left"
@@ -4614,12 +4630,12 @@ const ie = {
4614
4630
  m: {
4615
4631
  label: "table.game.short",
4616
4632
  tooltip: "table.game.tooltip",
4617
- sortOrders: [{ target: "gp", direction: v }]
4633
+ sortOrders: [{ target: "gp", direction: y }]
4618
4634
  },
4619
4635
  plus: {
4620
4636
  label: "table.goalFor.short",
4621
4637
  tooltip: "table.goalFor.tooltip",
4622
- sortOrders: [{ target: "plus", direction: v }]
4638
+ sortOrders: [{ target: "plus", direction: y }]
4623
4639
  },
4624
4640
  minus: {
4625
4641
  label: "table.goalAgainst.short",
@@ -4629,12 +4645,12 @@ const ie = {
4629
4645
  gk: {
4630
4646
  label: "table.goalDiff.short",
4631
4647
  tooltip: "table.goalDiff.tooltip",
4632
- sortOrders: [{ target: "gk", direction: v }]
4648
+ sortOrders: [{ target: "gk", direction: y }]
4633
4649
  },
4634
4650
  GFGP: {
4635
4651
  label: "table.gfgp.short",
4636
4652
  tooltip: "table.gfgp.tooltip",
4637
- sortOrders: [{ target: "GFGP", direction: v }]
4653
+ sortOrders: [{ target: "GFGP", direction: y }]
4638
4654
  },
4639
4655
  GAGP: {
4640
4656
  label: "table.gagp.short",
@@ -4644,7 +4660,7 @@ const ie = {
4644
4660
  Shots: {
4645
4661
  label: "table.sog.short",
4646
4662
  tooltip: "table.sog.tooltip",
4647
- sortOrders: [{ target: "Shots", direction: v }]
4663
+ sortOrders: [{ target: "Shots", direction: y }]
4648
4664
  },
4649
4665
  SA: {
4650
4666
  label: "table.sa.short",
@@ -4654,7 +4670,7 @@ const ie = {
4654
4670
  ShotsGP: {
4655
4671
  label: "table.sogp.short",
4656
4672
  tooltip: "table.sogp.tooltip",
4657
- sortOrders: [{ target: "ShotsGP", direction: v }]
4673
+ sortOrders: [{ target: "ShotsGP", direction: y }]
4658
4674
  },
4659
4675
  SAGP: {
4660
4676
  label: "table.sagp.short",
@@ -4664,17 +4680,17 @@ const ie = {
4664
4680
  GFShots: {
4665
4681
  label: "table.sogPercent.short",
4666
4682
  tooltip: "table.sogPercent.tooltip",
4667
- sortOrders: [{ target: "GFShots", direction: v }]
4683
+ sortOrders: [{ target: "GFShots", direction: y }]
4668
4684
  }
4669
- }, Bi = async (t, e, r) => {
4670
- const n = `${Ta}${y(t)}?${Vi(r)}`;
4685
+ }, Vi = async (t, e, r) => {
4686
+ const n = `${Ta}${v(t)}?${Hi(r)}`;
4671
4687
  return new Promise((a, o) => {
4672
4688
  fetch(n, {
4673
4689
  method: "GET",
4674
4690
  cache: "no-cache",
4675
4691
  headers: {
4676
4692
  "Content-Type": "application/json",
4677
- "X-API-KEY": Hi(e)
4693
+ "X-API-KEY": Yi(e)
4678
4694
  }
4679
4695
  }).then((s) => s.json()).then((s) => {
4680
4696
  if (s.error)
@@ -4684,15 +4700,15 @@ const ie = {
4684
4700
  o(s);
4685
4701
  });
4686
4702
  });
4687
- }, Vi = (t) => Object.keys(t).map((e) => e + "=" + t[e]).join("&"), Hi = (t) => {
4703
+ }, Hi = (t) => Object.keys(t).map((e) => e + "=" + t[e]).join("&"), Yi = (t) => {
4688
4704
  var e;
4689
4705
  return t || ((e = window.__MJSZ_VBR_WIDGET__) != null && e.apiKey ? window.__MJSZ_VBR_WIDGET__.apiKey : {}.NODE_ENV !== "production" ? "dd8adf5fdb738b3741fa579b5ede5ce69b681f62" : "");
4690
- }, fc = (t = {}) => {
4691
- const { initial: e = 1, items: r = [], limit: n, auto: a = !1 } = t, o = H(e), s = (c) => Ti(c, "day");
4706
+ }, pc = (t = {}) => {
4707
+ const { initial: e = 1, items: r = [], limit: n, auto: a = !1 } = t, o = H(e), s = (c) => Pi(c, "day");
4692
4708
  return Ln(r, () => {
4693
4709
  if (!a)
4694
4710
  return;
4695
- const c = Ko(pa(s, "gameDate"))(y(r));
4711
+ const c = Ko(pa(s, "gameDate"))(v(r));
4696
4712
  o.value = c === -1 ? 1 : Math.floor(c / n) + 1;
4697
4713
  }), {
4698
4714
  page: o,
@@ -4700,13 +4716,13 @@ const ie = {
4700
4716
  o.value = c;
4701
4717
  }
4702
4718
  };
4703
- }, pc = ({ options: t = {}, transform: e = (a) => a, onError: r = yt, onSuccess: n = yt }) => {
4719
+ }, mc = ({ options: t = {}, transform: e = (a) => a, onError: r = yt, onSuccess: n = yt }) => {
4704
4720
  const { path: a, apiKey: o, params: s, resetOnExecute: i = !1, immediate: l = !1 } = t, {
4705
4721
  state: c,
4706
4722
  error: p,
4707
4723
  isLoading: f,
4708
4724
  execute: u
4709
- } = xr(() => Bi(a, o, y(s)).then((d) => e(d)), [], {
4725
+ } = xr(() => Vi(a, o, v(s)).then((d) => e(d)), [], {
4710
4726
  immediate: l,
4711
4727
  resetOnExecute: i,
4712
4728
  onError: r,
@@ -4757,7 +4773,7 @@ var pr;
4757
4773
  (function(t) {
4758
4774
  t[t.NotStarted = 0] = "NotStarted", t[t.Running = 1] = "Running", t[t.Stopped = 2] = "Stopped";
4759
4775
  })(pr || (pr = {}));
4760
- var Yi = { type: "xstate.init" };
4776
+ var Ui = { type: "xstate.init" };
4761
4777
  function $e(t) {
4762
4778
  return t === void 0 ? [] : [].concat(t);
4763
4779
  }
@@ -4769,7 +4785,7 @@ function De(t) {
4769
4785
  return t === e;
4770
4786
  };
4771
4787
  }
4772
- function Ui(t) {
4788
+ function Wi(t) {
4773
4789
  return typeof t == "string" ? { type: t } : t;
4774
4790
  }
4775
4791
  function hr(t, e) {
@@ -4788,12 +4804,12 @@ function gr(t, e, r) {
4788
4804
  return !0;
4789
4805
  }), n, a];
4790
4806
  }
4791
- function Wi(t, e) {
4807
+ function Ki(t, e) {
4792
4808
  e === void 0 && (e = {});
4793
4809
  var r = fr(gr($e(t.states[t.initial].entry).map(function(s) {
4794
4810
  return mr(s, e.actions);
4795
- }), t.context, Yi), 2), n = r[0], a = r[1], o = { config: t, _options: e, initialState: { value: t.initial, actions: n, context: a, matches: De(t.initial) }, transition: function(s, i) {
4796
- var l, c, p = typeof s == "string" ? { value: s, context: t.context } : s, f = p.value, u = p.context, d = Ui(i), m = t.states[f];
4811
+ }), t.context, Ui), 2), n = r[0], a = r[1], o = { config: t, _options: e, initialState: { value: t.initial, actions: n, context: a, matches: De(t.initial) }, transition: function(s, i) {
4812
+ var l, c, p = typeof s == "string" ? { value: s, context: t.context } : s, f = p.value, u = p.context, d = Wi(i), m = t.states[f];
4797
4813
  if (m.on) {
4798
4814
  var h = $e(m.on[d.type]);
4799
4815
  try {
@@ -4814,11 +4830,11 @@ function Wi(t, e) {
4814
4830
  return !0;
4815
4831
  } : B, N = E === void 0, D = E ?? f, F = t.states[D];
4816
4832
  if (K(u, d)) {
4817
- var J = fr(gr((N ? $e(R) : [].concat(m.exit, R, F.entry).filter(function(b) {
4833
+ var Q = fr(gr((N ? $e(R) : [].concat(m.exit, R, F.entry).filter(function(b) {
4818
4834
  return b;
4819
4835
  })).map(function(b) {
4820
4836
  return mr(b, o._options.actions);
4821
- }), u, d), 3), A = J[0], $ = J[1], w = J[2], T = E ?? f;
4837
+ }), u, d), 3), A = Q[0], $ = Q[1], w = Q[2], T = E ?? f;
4822
4838
  return { value: T, context: $, actions: A, changed: E !== f || A.length > 0 || w, matches: De(T) };
4823
4839
  }
4824
4840
  }
@@ -4837,17 +4853,17 @@ function Wi(t, e) {
4837
4853
  } };
4838
4854
  return o;
4839
4855
  }
4840
- const Ki = Wi({
4856
+ const qi = Ki({
4841
4857
  id: "sort",
4842
4858
  initial: wt,
4843
4859
  states: {
4844
4860
  [wt]: {
4845
4861
  on: {
4846
- DIRECTION1: v,
4862
+ DIRECTION1: y,
4847
4863
  DIRECTION2: j
4848
4864
  }
4849
4865
  },
4850
- [v]: {
4866
+ [y]: {
4851
4867
  on: {
4852
4868
  DIRECTION1: j,
4853
4869
  DIRECTION2: wt
@@ -4856,15 +4872,15 @@ const Ki = Wi({
4856
4872
  [j]: {
4857
4873
  on: {
4858
4874
  DIRECTION1: wt,
4859
- DIRECTION2: v
4875
+ DIRECTION2: y
4860
4876
  }
4861
4877
  }
4862
4878
  }
4863
- }), qi = (t, e) => {
4879
+ }), Zi = (t, e) => {
4864
4880
  const r = e === j ? "DIRECTION2" : "DIRECTION1";
4865
- return Ki.transition(t, r).value;
4881
+ return qi.transition(t, r).value;
4866
4882
  };
4867
- function mc(t = {}) {
4883
+ function hc(t = {}) {
4868
4884
  const { sortTarget: e = null, orders: r = [] } = t, n = vr({ sortTarget: e, orders: r });
4869
4885
  return {
4870
4886
  sort: n,
@@ -4875,23 +4891,23 @@ function mc(t = {}) {
4875
4891
  }
4876
4892
  const i = s.map((l, c) => ({
4877
4893
  ...l,
4878
- direction: qi(n.orders[c].direction, l.direction)
4894
+ direction: Zi(n.orders[c].direction, l.direction)
4879
4895
  }));
4880
4896
  n.sortTarget = o, n.orders = i;
4881
4897
  }
4882
4898
  };
4883
4899
  }
4884
- function hc(t = !1, e = yt, r = yt) {
4900
+ function gc(t = !1, e = yt, r = yt) {
4885
4901
  const n = Vn();
4886
4902
  mt(n, (a) => {
4887
- if (y(t)) {
4903
+ if (v(t)) {
4888
4904
  if (a === "visible")
4889
4905
  return e();
4890
4906
  r();
4891
4907
  }
4892
4908
  });
4893
4909
  }
4894
- const gc = (t = []) => ({
4910
+ const yc = (t = []) => ({
4895
4911
  result: [...t],
4896
4912
  filteredRowsLength: 0,
4897
4913
  isFiltered: !1,
@@ -4942,6 +4958,12 @@ const gc = (t = []) => ({
4942
4958
  name: `${e.lastName} ${e.firstName}`
4943
4959
  })), this;
4944
4960
  },
4961
+ teamName() {
4962
+ return this.result = this.result.map((e) => ({
4963
+ ...e,
4964
+ teamName: e.team.longName
4965
+ })), this;
4966
+ },
4945
4967
  schedule(e = "", r = "hu") {
4946
4968
  return this.result = this.result.map((n) => ({
4947
4969
  ...n,
@@ -4959,28 +4981,37 @@ const gc = (t = []) => ({
4959
4981
  groupByDays() {
4960
4982
  return this.result = Zo((e) => we(e.gameDate, "YYYY-MM-DD"))(this.result), this;
4961
4983
  }
4962
- }), yc = (t, ...e) => kt(Nr(...e))(t), vc = (t) => ({
4963
- ...t,
4964
- ...t.lastName && { name: `${t.lastName} ${t.firstName}` }
4965
- }), bc = (t = []) => (e) => {
4984
+ }), vc = (t, ...e) => kt(Nr(...e))(t), bc = (t) => {
4985
+ var e;
4986
+ return {
4987
+ ...t,
4988
+ ...((e = t.player) == null ? void 0 : e.playerId) && { name: `${t.player.lastName} ${t.player.firstName}` }
4989
+ };
4990
+ }, wc = (t) => {
4991
+ var e;
4992
+ return {
4993
+ ...t,
4994
+ ...((e = t == null ? void 0 : t.team) == null ? void 0 : e.id) && { teamName: t.team.longName }
4995
+ };
4996
+ }, $c = (t = []) => (e) => {
4966
4997
  var r;
4967
4998
  return {
4968
4999
  ...e,
4969
5000
  [t]: (r = e[t]) == null ? void 0 : r.toUpperCase()
4970
5001
  };
4971
- }, wc = (t = []) => (e) => (t.map((r) => e[r] ? e[`${r}Sec`] = mn(e[r]) : e), e), $c = (t = []) => (e) => (t.map((r) => e[`${r}Min`] = xi(e[r])), e), Zi = (t, e) => new Date(t.gameDate).getTime() - new Date(e.gameDate).getTime(), _c = Rr([Zi, Pe(Gt("id")), Pe(Gt("gameId"))]), Sc = (t, e) => {
5002
+ }, _c = (t = []) => (e) => (t.map((r) => e[r] ? e[`${r}Sec`] = mn(e[r]) : e), e), Sc = (t = []) => (e) => (t.map((r) => e[r] ? e[`${r}Min`] = Ti(e[r]) : e), e), xc = (t = []) => (e) => (t.map((r) => e[`${r}Min`] = xi(e[r])), e), Xi = (t, e) => new Date(t.gameDate).getTime() - new Date(e.gameDate).getTime(), Tc = Rr([Xi, Pe(Gt("id")), Pe(Gt("gameId"))]), Pc = (t, e) => {
4972
5003
  const r = Re("gameResolver") || t;
4973
- return typeof r == "function" ? r(e) : r ? r + e : Pa + e;
4974
- }, xc = (t, e) => {
5004
+ return console.log(r), typeof r == "function" ? r(e) : r ? r + e : Pa + e;
5005
+ }, Oc = (t, e) => {
4975
5006
  const r = Re("teamResolver") || t;
4976
5007
  return typeof r == "function" ? r(e) : encodeURI(r ? r + e : ka + e);
4977
- }, Tc = (t, e) => {
5008
+ }, Ac = (t, e) => {
4978
5009
  const r = Re("playerResolver") || t;
4979
5010
  return typeof r == "function" ? r(e) : encodeURI(r ? r + e : Aa + e);
4980
5011
  }, Re = (t = "") => {
4981
5012
  var e;
4982
5013
  return (e = window == null ? void 0 : window.__MJSZ_VBR_WIDGET__) == null ? void 0 : e[t];
4983
- }, Xi = {
5014
+ }, Ji = {
4984
5015
  xmlns: "http://www.w3.org/2000/svg",
4985
5016
  viewBox: "0 0 24 24",
4986
5017
  fill: "none",
@@ -4988,32 +5019,32 @@ const gc = (t = []) => ({
4988
5019
  "stroke-width": "2",
4989
5020
  "stroke-linecap": "round",
4990
5021
  "stroke-linejoin": "round"
4991
- }, Ji = /* @__PURE__ */ P("rect", {
5022
+ }, Qi = /* @__PURE__ */ P("rect", {
4992
5023
  x: "2",
4993
5024
  y: "3",
4994
5025
  width: "20",
4995
5026
  height: "14",
4996
5027
  rx: "2",
4997
5028
  ry: "2"
4998
- }, null, -1), Qi = /* @__PURE__ */ P("line", {
5029
+ }, null, -1), tl = /* @__PURE__ */ P("line", {
4999
5030
  x1: "8",
5000
5031
  y1: "21",
5001
5032
  x2: "16",
5002
5033
  y2: "21"
5003
- }, null, -1), tl = /* @__PURE__ */ P("line", {
5034
+ }, null, -1), el = /* @__PURE__ */ P("line", {
5004
5035
  x1: "12",
5005
5036
  y1: "17",
5006
5037
  x2: "12",
5007
5038
  y2: "21"
5008
- }, null, -1), el = [
5009
- Ji,
5039
+ }, null, -1), rl = [
5010
5040
  Qi,
5011
- tl
5041
+ tl,
5042
+ el
5012
5043
  ];
5013
- function rl(t, e) {
5014
- return S(), O("svg", Xi, el);
5044
+ function nl(t, e) {
5045
+ return S(), O("svg", Ji, rl);
5015
5046
  }
5016
- const nl = { render: rl }, ol = {
5047
+ const ol = { render: nl }, al = {
5017
5048
  xmlns: "http://www.w3.org/2000/svg",
5018
5049
  viewBox: "0 0 24 24",
5019
5050
  fill: "none",
@@ -5021,27 +5052,27 @@ const nl = { render: rl }, ol = {
5021
5052
  "stroke-width": "2",
5022
5053
  "stroke-linecap": "round",
5023
5054
  "stroke-linejoin": "round"
5024
- }, al = /* @__PURE__ */ P("circle", {
5055
+ }, sl = /* @__PURE__ */ P("circle", {
5025
5056
  cx: "12",
5026
5057
  cy: "12",
5027
5058
  r: "1"
5028
- }, null, -1), sl = /* @__PURE__ */ P("circle", {
5059
+ }, null, -1), il = /* @__PURE__ */ P("circle", {
5029
5060
  cx: "12",
5030
5061
  cy: "5",
5031
5062
  r: "1"
5032
- }, null, -1), il = /* @__PURE__ */ P("circle", {
5063
+ }, null, -1), ll = /* @__PURE__ */ P("circle", {
5033
5064
  cx: "12",
5034
5065
  cy: "19",
5035
5066
  r: "1"
5036
- }, null, -1), ll = [
5037
- al,
5067
+ }, null, -1), cl = [
5038
5068
  sl,
5039
- il
5069
+ il,
5070
+ ll
5040
5071
  ];
5041
- function cl(t, e) {
5042
- return S(), O("svg", ol, ll);
5072
+ function ul(t, e) {
5073
+ return S(), O("svg", al, cl);
5043
5074
  }
5044
- const ul = { render: cl }, dl = {
5075
+ const dl = { render: ul }, fl = {
5045
5076
  xmlns: "http://www.w3.org/2000/svg",
5046
5077
  viewBox: "0 0 24 24",
5047
5078
  fill: "none",
@@ -5049,21 +5080,21 @@ const ul = { render: cl }, dl = {
5049
5080
  "stroke-width": "2",
5050
5081
  "stroke-linecap": "round",
5051
5082
  "stroke-linejoin": "round"
5052
- }, fl = /* @__PURE__ */ P("path", { d: "M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2" }, null, -1), pl = /* @__PURE__ */ P("rect", {
5083
+ }, pl = /* @__PURE__ */ P("path", { d: "M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2" }, null, -1), ml = /* @__PURE__ */ P("rect", {
5053
5084
  x: "8",
5054
5085
  y: "2",
5055
5086
  width: "8",
5056
5087
  height: "4",
5057
5088
  rx: "1",
5058
5089
  ry: "1"
5059
- }, null, -1), ml = [
5060
- fl,
5061
- pl
5090
+ }, null, -1), hl = [
5091
+ pl,
5092
+ ml
5062
5093
  ];
5063
- function hl(t, e) {
5064
- return S(), O("svg", dl, ml);
5094
+ function gl(t, e) {
5095
+ return S(), O("svg", fl, hl);
5065
5096
  }
5066
- const gl = { render: hl }, yl = {
5097
+ const yl = { render: gl }, vl = {
5067
5098
  xmlns: "http://www.w3.org/2000/svg",
5068
5099
  viewBox: "0 0 24 24",
5069
5100
  fill: "none",
@@ -5071,26 +5102,26 @@ const gl = { render: hl }, yl = {
5071
5102
  "stroke-width": "2",
5072
5103
  "stroke-linecap": "round",
5073
5104
  "stroke-linejoin": "round"
5074
- }, vl = /* @__PURE__ */ P("path", { d: "M22.54 6.42a2.78 2.78 0 0 0-1.94-2C18.88 4 12 4 12 4s-6.88 0-8.6.46a2.78 2.78 0 0 0-1.94 2A29 29 0 0 0 1 11.75a29 29 0 0 0 .46 5.33A2.78 2.78 0 0 0 3.4 19c1.72.46 8.6.46 8.6.46s6.88 0 8.6-.46a2.78 2.78 0 0 0 1.94-2 29 29 0 0 0 .46-5.25 29 29 0 0 0-.46-5.33z" }, null, -1), bl = /* @__PURE__ */ P("polygon", { points: "9.75 15.02 15.5 11.75 9.75 8.48 9.75 15.02" }, null, -1), wl = [
5075
- vl,
5076
- bl
5105
+ }, bl = /* @__PURE__ */ P("path", { d: "M22.54 6.42a2.78 2.78 0 0 0-1.94-2C18.88 4 12 4 12 4s-6.88 0-8.6.46a2.78 2.78 0 0 0-1.94 2A29 29 0 0 0 1 11.75a29 29 0 0 0 .46 5.33A2.78 2.78 0 0 0 3.4 19c1.72.46 8.6.46 8.6.46s6.88 0 8.6-.46a2.78 2.78 0 0 0 1.94-2 29 29 0 0 0 .46-5.25 29 29 0 0 0-.46-5.33z" }, null, -1), wl = /* @__PURE__ */ P("polygon", { points: "9.75 15.02 15.5 11.75 9.75 8.48 9.75 15.02" }, null, -1), $l = [
5106
+ bl,
5107
+ wl
5077
5108
  ];
5078
- function $l(t, e) {
5079
- return S(), O("svg", yl, wl);
5109
+ function _l(t, e) {
5110
+ return S(), O("svg", vl, $l);
5080
5111
  }
5081
- const _l = { render: $l }, Sl = { class: "is-team-name-long" }, xl = { class: "is-team-name-short" }, Tl = { class: "is-team-name-long" }, Pl = { class: "is-team-name-short" }, Ol = {
5112
+ const Sl = { render: _l }, xl = { class: "is-team-name-long" }, Tl = { class: "is-team-name-short" }, Pl = { class: "is-team-name-long" }, Ol = { class: "is-team-name-short" }, Al = {
5082
5113
  key: 0,
5083
5114
  class: "is-text-dark"
5084
- }, Al = ["href", "target"], kl = {
5115
+ }, kl = ["href", "target"], Ml = {
5085
5116
  key: 0,
5086
5117
  class: "label"
5087
- }, Ml = {
5118
+ }, Dl = {
5088
5119
  key: 1,
5089
5120
  class: "label"
5090
- }, Dl = {
5121
+ }, Ll = {
5091
5122
  key: 2,
5092
5123
  class: "label"
5093
- }, Ll = { key: 1 }, El = ["onClick", "onFocus", "onBlur"], Il = { class: "is-dropdown-menu" }, zl = ["href", "target"], Nl = { key: 0 }, Cl = ["href"], Pc = {
5124
+ }, El = { key: 1 }, Il = ["onClick", "onFocus", "onBlur"], zl = { class: "is-dropdown-menu" }, Nl = ["href", "target"], Cl = { key: 0 }, Gl = ["href"], kc = {
5094
5125
  __name: "ScheduleTable",
5095
5126
  props: {
5096
5127
  rows: {
@@ -5120,7 +5151,7 @@ const _l = { render: $l }, Sl = { class: "is-team-name-long" }, xl = { class: "i
5120
5151
  },
5121
5152
  setup(t) {
5122
5153
  const e = t, r = H(null), { onError: n } = en(), { columns: a, error: o } = hn(
5123
- Fi,
5154
+ Bi,
5124
5155
  q(() => e.hideColumns),
5125
5156
  q(() => ({
5126
5157
  offsetName: e.offsetName
@@ -5143,18 +5174,18 @@ const _l = { render: $l }, Sl = { class: "is-team-name-long" }, xl = { class: "i
5143
5174
  nt(on, null, {
5144
5175
  default: G(({ el: c }) => [
5145
5176
  nt(Qr, {
5146
- columns: y(a),
5177
+ columns: v(a),
5147
5178
  rows: e.rows,
5148
5179
  "is-loading": t.isLoading,
5149
5180
  "append-to": r.value || c
5150
5181
  }, {
5151
5182
  "cell-homeTeamName": G(({ row: p }) => [
5152
- P("span", Sl, z(p.homeTeam.longName), 1),
5153
- P("span", xl, z(p.homeTeam.shortName), 1)
5183
+ P("span", xl, z(p.homeTeam.longName), 1),
5184
+ P("span", Tl, z(p.homeTeam.shortName), 1)
5154
5185
  ]),
5155
5186
  "cell-awayTeamName": G(({ row: p }) => [
5156
- P("span", Tl, z(p.awayTeam.longName), 1),
5157
- P("span", Pl, z(p.awayTeam.shortName), 1)
5187
+ P("span", Pl, z(p.awayTeam.longName), 1),
5188
+ P("span", Ol, z(p.awayTeam.shortName), 1)
5158
5189
  ]),
5159
5190
  "cell-homeTeamLogo": G(({ row: p }) => [
5160
5191
  (S(), at(It, {
@@ -5171,20 +5202,20 @@ const _l = { render: $l }, Sl = { class: "is-team-name-long" }, xl = { class: "i
5171
5202
  }, null, 8, ["src"]))
5172
5203
  ]),
5173
5204
  "cell-gameResult": G(({ row: p }) => [
5174
- p.gameStatus === 0 ? (S(), O("span", Ol, "-:-")) : (S(), O("a", {
5205
+ p.gameStatus === 0 ? (S(), O("span", Al, "-:-")) : (S(), O("a", {
5175
5206
  key: 1,
5176
5207
  href: t.externalGameResolver(p.gameId),
5177
5208
  target: t.externalGameResolverTarget,
5178
- class: tt({ "is-text-dark": p.gameStatus !== 1, "is-text-accent": p.gameStatus === 1 })
5179
- }, z(p.homeTeamScore) + ":" + z(p.awayTeamScore), 11, Al))
5209
+ class: J({ "is-text-dark": p.gameStatus !== 1, "is-text-accent": p.gameStatus === 1 })
5210
+ }, z(p.homeTeamScore) + ":" + z(p.awayTeamScore), 11, kl))
5180
5211
  ]),
5181
5212
  "cell-gameResultType": G(({ row: p }) => [
5182
- p.isOvertime ? (S(), O("span", kl, z(y(s)("common.overtimeShort")), 1)) : X("", !0),
5183
- p.isShootout ? (S(), O("span", Ml, z(y(s)("common.shootoutShort")), 1)) : X("", !0),
5184
- p.seriesStandings ? (S(), O("span", Dl, z(p.seriesStandings), 1)) : X("", !0)
5213
+ p.isOvertime ? (S(), O("span", Ml, z(v(s)("common.overtimeShort")), 1)) : X("", !0),
5214
+ p.isShootout ? (S(), O("span", Dl, z(v(s)("common.shootoutShort")), 1)) : X("", !0),
5215
+ p.seriesStandings ? (S(), O("span", Ll, z(p.seriesStandings), 1)) : X("", !0)
5185
5216
  ]),
5186
5217
  "cell-broadcast": G(({ row: p }) => [
5187
- p.broadcast ? (S(), at(y(nl), { key: 0 })) : (S(), O("span", Ll))
5218
+ p.broadcast ? (S(), at(v(ol), { key: 0 })) : (S(), O("span", El))
5188
5219
  ]),
5189
5220
  "cell-location": G(({ row: p }) => {
5190
5221
  var f;
@@ -5206,30 +5237,30 @@ const _l = { render: $l }, Sl = { class: "is-team-name-long" }, xl = { class: "i
5206
5237
  onFocus: u,
5207
5238
  onBlur: d
5208
5239
  }, [
5209
- nt(y(ul))
5210
- ], 40, El)
5240
+ nt(v(dl))
5241
+ ], 40, Il)
5211
5242
  ]),
5212
5243
  content: G(() => [
5213
- P("ul", Il, [
5244
+ P("ul", zl, [
5214
5245
  P("li", null, [
5215
5246
  P("a", {
5216
5247
  href: t.externalGameResolver(p.gameId),
5217
5248
  class: "is-dropdown-item",
5218
5249
  target: t.externalGameResolverTarget
5219
5250
  }, [
5220
- nt(y(gl), { width: "14" }),
5221
- gt(" " + z(y(s)("common.report")), 1)
5222
- ], 8, zl)
5251
+ nt(v(yl), { width: "14" }),
5252
+ gt(" " + z(v(s)("common.report")), 1)
5253
+ ], 8, Nl)
5223
5254
  ]),
5224
- p.video ? (S(), O("li", Nl, [
5255
+ p.video ? (S(), O("li", Cl, [
5225
5256
  P("a", {
5226
5257
  href: p.video,
5227
5258
  class: "is-dropdown-item",
5228
5259
  target: "_blank"
5229
5260
  }, [
5230
- nt(y(_l), { width: "14" }),
5231
- gt(" " + z(y(s)("common.video")), 1)
5232
- ], 8, Cl)
5261
+ nt(v(Sl), { width: "14" }),
5262
+ gt(" " + z(v(s)("common.video")), 1)
5263
+ ], 8, Gl)
5233
5264
  ])) : X("", !0)
5234
5265
  ])
5235
5266
  ]),
@@ -5250,7 +5281,7 @@ const _l = { render: $l }, Sl = { class: "is-team-name-long" }, xl = { class: "i
5250
5281
  }, null, 512)
5251
5282
  ], 64));
5252
5283
  }
5253
- }, Gl = { class: "g-row" }, Rl = ["value"], jl = { key: 0 }, Fl = ["onClick"], Oc = {
5284
+ }, Rl = { class: "g-row" }, jl = ["value"], Fl = { key: 0 }, Bl = ["onClick"], Mc = {
5254
5285
  __name: "SeasonSelector",
5255
5286
  props: {
5256
5287
  seasons: {
@@ -5288,12 +5319,12 @@ const _l = { render: $l }, Sl = { class: "is-team-name-long" }, xl = { class: "i
5288
5319
  e("onChangeSection", s);
5289
5320
  }
5290
5321
  return (s, i) => (S(), O(ct, null, [
5291
- P("div", Gl, [
5322
+ P("div", Rl, [
5292
5323
  P("div", null, [
5293
5324
  P("label", {
5294
5325
  for: "season",
5295
- class: tt(y(_t)("label"))
5296
- }, z(y(n)("selection.season")), 3),
5326
+ class: J(v(_t)("label"))
5327
+ }, z(v(n)("selection.season")), 3),
5297
5328
  nt(On, {
5298
5329
  id: "season",
5299
5330
  modelValue: a.value,
@@ -5303,26 +5334,26 @@ const _l = { render: $l }, Sl = { class: "is-team-name-long" }, xl = { class: "i
5303
5334
  (S(!0), O(ct, null, Pt(t.seasons, (l) => (S(), O("option", {
5304
5335
  key: l.championshipId,
5305
5336
  value: l.championshipId
5306
- }, z(l.seasonName), 9, Rl))), 128))
5337
+ }, z(l.seasonName), 9, jl))), 128))
5307
5338
  ]),
5308
5339
  _: 1
5309
5340
  }, 8, ["modelValue"])
5310
5341
  ])
5311
5342
  ]),
5312
- t.isSectionSelectionDisabled ? X("", !0) : (S(), O("div", jl, [
5343
+ t.isSectionSelectionDisabled ? X("", !0) : (S(), O("div", Fl, [
5313
5344
  (S(!0), O(ct, null, Pt(t.sections, (l) => (S(), O("button", {
5314
5345
  key: l.phaseId,
5315
5346
  onClick: (c) => o(l),
5316
- class: tt([y(_t)("tab-button"), { "is-active": l.sectionId === t.sectionId }])
5317
- }, z(l.sectionName), 11, Fl))), 128))
5347
+ class: J([v(_t)("tab-button"), { "is-active": l.sectionId === t.sectionId }])
5348
+ }, z(l.sectionName), 11, Bl))), 128))
5318
5349
  ]))
5319
5350
  ], 64));
5320
5351
  }
5321
- }, Bl = {};
5322
- function Vl(t, e) {
5352
+ }, Vl = {};
5353
+ function Hl(t, e) {
5323
5354
  return S(), O("div", null, " Test-8 ");
5324
5355
  }
5325
- const Ac = /* @__PURE__ */ rn(Bl, [["render", Vl]]), kc = {
5356
+ const Dc = /* @__PURE__ */ rn(Vl, [["render", Hl]]), Lc = {
5326
5357
  locale: {
5327
5358
  type: String,
5328
5359
  default: "hu"
@@ -5343,7 +5374,7 @@ const Ac = /* @__PURE__ */ rn(Bl, [["render", Vl]]), kc = {
5343
5374
  type: String,
5344
5375
  default: ""
5345
5376
  }
5346
- }, Hl = {
5377
+ }, Yl = {
5347
5378
  externalTeamLink: {
5348
5379
  type: [String, Function],
5349
5380
  default: ""
@@ -5352,7 +5383,7 @@ const Ac = /* @__PURE__ */ rn(Bl, [["render", Vl]]), kc = {
5352
5383
  type: Boolean,
5353
5384
  default: !1
5354
5385
  }
5355
- }, Mc = {
5386
+ }, Ec = {
5356
5387
  limit: {
5357
5388
  type: Number,
5358
5389
  default: 20
@@ -5369,8 +5400,8 @@ const Ac = /* @__PURE__ */ rn(Bl, [["render", Vl]]), kc = {
5369
5400
  type: Boolean,
5370
5401
  default: !1
5371
5402
  },
5372
- ...Hl
5373
- }, Dc = ({ modules: t = [], apiKey: e, gameResolver: r, teamResolver: n, playerResolver: a }) => {
5403
+ ...Yl
5404
+ }, Ic = ({ modules: t = [], apiKey: e, gameResolver: r, teamResolver: n, playerResolver: a }) => {
5374
5405
  if (window.__MJSZ_VBR_WIDGET__ = { apiKey: e, gameResolver: r, teamResolver: n, playerResolver: a }, t.length === 0)
5375
5406
  throw new Error("At least one module must be set");
5376
5407
  t.forEach((o) => {
@@ -5382,82 +5413,85 @@ const Ac = /* @__PURE__ */ rn(Bl, [["render", Vl]]), kc = {
5382
5413
  export {
5383
5414
  Da as AVAILABLE_TIMEZONES_BY_COUNTRY,
5384
5415
  On as BaseSelect,
5385
- oc as COLUMNS_FIELD_PLAYERS,
5386
- ac as COLUMNS_FIELD_PLAYERS_PENALTY,
5387
- sc as COLUMNS_GOALIES,
5388
- Fi as COLUMNS_SCHEDULE,
5389
- dc as COLUMNS_SCORING_EFFICIENCY,
5390
- nc as COLUMNS_STANDINGS_P_2,
5391
- rc as COLUMNS_STANDINGS_P_3,
5392
- lc as COLUMNS_TEAMS_FAIRPLAY,
5393
- cc as COLUMNS_TEAMS_PENALTY_KILLING,
5394
- uc as COLUMNS_TEAMS_POWERPLAY,
5395
- ic as COLUMNS_TEAM_ATTENDANCE,
5416
+ ac as COLUMNS_FIELD_PLAYERS,
5417
+ sc as COLUMNS_FIELD_PLAYERS_PENALTY,
5418
+ ic as COLUMNS_GOALIES,
5419
+ Bi as COLUMNS_SCHEDULE,
5420
+ fc as COLUMNS_SCORING_EFFICIENCY,
5421
+ oc as COLUMNS_STANDINGS_P_2,
5422
+ nc as COLUMNS_STANDINGS_P_3,
5423
+ cc as COLUMNS_TEAMS_FAIRPLAY,
5424
+ uc as COLUMNS_TEAMS_PENALTY_KILLING,
5425
+ dc as COLUMNS_TEAMS_POWERPLAY,
5426
+ lc as COLUMNS_TEAM_ATTENDANCE,
5396
5427
  Pa as DEFAULT_EXTERNAL_BASE_URL,
5397
5428
  Aa as DEFAULT_EXTERNAL_PLAYER_URL,
5398
5429
  ka as DEFAULT_EXTERNAL_TEAM_URL,
5399
5430
  Oa as DEFAULT_PORTRAIT_IMAGE_URL,
5400
5431
  Qr as DataTable,
5401
- Wl as ErrorNotice,
5402
- Kl as ErrorProvider,
5432
+ Kl as ErrorNotice,
5433
+ ql as ErrorProvider,
5403
5434
  Jr as FloatingPanel,
5404
- ql as I18NProvider,
5435
+ Zl as I18NProvider,
5405
5436
  It as Image,
5406
- tc as InvalidSeasonName,
5437
+ ec as InvalidSeasonName,
5407
5438
  La as LAZY_LOADING_STATE_DELAY,
5408
5439
  Ma as LOCALE_FOR_LANG,
5409
5440
  nn as LoadingIndicator,
5410
- Zl as Paginator,
5411
- Ul as REFRESH_DELAY,
5441
+ Xl as Paginator,
5442
+ Wl as REFRESH_DELAY,
5412
5443
  on as ResponsiveTable,
5413
5444
  j as SORT_STATE_ASCEND,
5414
- v as SORT_STATE_DESCEND,
5445
+ y as SORT_STATE_DESCEND,
5415
5446
  wt as SORT_STATE_ORIGINAL,
5416
- Pc as ScheduleTable,
5417
- Oc as SeasonSelector,
5418
- ec as StatisticsTable,
5419
- Ac as Test,
5420
- Ql as TimezoneSelector,
5447
+ kc as ScheduleTable,
5448
+ Mc as SeasonSelector,
5449
+ rc as StatisticsTable,
5450
+ Dc as Test,
5451
+ tc as TimezoneSelector,
5421
5452
  ie as UndefinedColumn,
5422
5453
  Ta as VBR_API_BASE_URL,
5423
5454
  gn as WidgetError,
5424
5455
  cs as appendTo,
5425
- kc as baseProps,
5426
- gc as convert,
5456
+ Lc as baseProps,
5457
+ yc as convert,
5458
+ Ti as convertMinToMinSec,
5427
5459
  mn as convertMinToSec,
5428
5460
  xi as convertSecToMin,
5429
- wc as convertTimes,
5430
- $c as convertTimesSecToMin,
5431
- Dc as createConfig,
5461
+ _c as convertTimes,
5462
+ Sc as convertTimesMinToMinSec,
5463
+ xc as convertTimesSecToMin,
5464
+ Ic as createConfig,
5432
5465
  $a as createI18n,
5433
- Sc as externalGameLinkResolver,
5434
- Tc as externalPlayerLinkResolver,
5435
- xc as externalTeamLinkResolver,
5436
- Bi as fetchVBRData,
5466
+ Pc as externalGameLinkResolver,
5467
+ Ac as externalPlayerLinkResolver,
5468
+ Oc as externalTeamLinkResolver,
5469
+ Vi as fetchVBRData,
5437
5470
  we as format,
5438
5471
  _i as getLocalTimezone,
5439
5472
  xa as i18n,
5440
- Xl as isBetween,
5441
- Jl as isSame,
5442
- Ti as isSameOrBefore,
5473
+ Jl as isBetween,
5474
+ Ql as isSame,
5475
+ Pi as isSameOrBefore,
5443
5476
  Jt as offsetName,
5444
- vc as playerName,
5445
- Mc as playerStatsProps,
5446
- yc as rawConvert,
5447
- _c as sortGames,
5477
+ bc as playerName,
5478
+ Ec as playerStatsProps,
5479
+ vc as rawConvert,
5480
+ Tc as sortGames,
5448
5481
  dr as stringPadLeft,
5449
- Hl as teamStatsProps,
5482
+ wc as teamName,
5483
+ Yl as teamStatsProps,
5450
5484
  Ts as toKebabCase,
5451
- bc as upperCase,
5485
+ $c as upperCase,
5452
5486
  hn as useColumns,
5453
5487
  en as useError,
5454
5488
  Ps as useErrorProvider,
5455
5489
  Dt as useI18n,
5456
5490
  Zn as useLazyLoadingState,
5457
5491
  _t as useMainClass,
5458
- fc as usePage,
5459
- pc as useServices,
5460
- mc as useSort,
5461
- hc as useVisibilityChange,
5462
- Oi as validateColumnsName
5492
+ pc as usePage,
5493
+ mc as useServices,
5494
+ hc as useSort,
5495
+ gc as useVisibilityChange,
5496
+ Ai as validateColumnsName
5463
5497
  };