@mjsz-vbr-elements/extended 2.1.0-beta.39 → 2.1.0-beta.40

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/extended
3
- * version: v2.1.0-beta.39 - 25/10/2023, 10:16:25
3
+ * version: v2.1.0-beta.40 - 27/10/2023, 08:41:18
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 { reactive as Tt, defineComponent as Ur, h as Sn, computed as F, provide as Wr, openBlock as O, createElementBlock as M, normalizeClass as J, unref as v, createVNode as q, createElementVNode as D, toDisplayString as C, renderSlot as lt, toRefs as Ve, createBlock as at, withCtx as R, createSlots as kn, createTextVNode as zt, withDirectives as _n, vModelSelect as jn, ref as V, watch as ft, inject as Kr, Fragment as pt, renderList as kt, withKeys as ar, withModifiers as ir, createCommentVNode as nt, onErrorCaptured as On, readonly as Zr, shallowRef as sr, normalizeStyle as lr, Transition as Pn, getCurrentScope as Jr, onScopeDispose as qr, isRef as ge, getCurrentInstance as An, toRef as Tn, normalizeProps as Xr, guardReactiveProps as Qr, mergeProps as $n, toHandlers as In, defineCustomElement as to } from "vue";
8
+ import { reactive as At, defineComponent as Ur, h as Sn, computed as F, provide as Wr, openBlock as O, createElementBlock as M, normalizeClass as J, unref as v, createVNode as q, createElementVNode as D, toDisplayString as C, renderSlot as lt, toRefs as Ve, createBlock as at, withCtx as R, createSlots as kn, createTextVNode as zt, withDirectives as _n, vModelSelect as jn, ref as V, watch as ft, inject as Kr, Fragment as pt, renderList as kt, withKeys as ar, withModifiers as ir, createCommentVNode as nt, onErrorCaptured as On, readonly as Zr, shallowRef as sr, normalizeStyle as lr, Transition as Pn, getCurrentScope as Jr, onScopeDispose as qr, isRef as ge, getCurrentInstance as Tn, toRef as An, normalizeProps as Xr, guardReactiveProps as Qr, mergeProps as $n, toHandlers as In, defineCustomElement as to } from "vue";
9
9
  const bt = (t) => ({}.VITE_CSS_CLASS_PREFIX || "mjsz-vbr-") + t, Fe = {
10
10
  __name: "BaseSelect",
11
11
  props: {
@@ -39,12 +39,12 @@ function Mn() {
39
39
  var t;
40
40
  return He && ((t = window == null ? void 0 : window.navigator) == null ? void 0 : t.userAgent) && /* @__PURE__ */ /iP(ad|hone|od)/.test(window.navigator.userAgent);
41
41
  }
42
- function Ae(t, e = !1, r = "Timeout") {
42
+ function Te(t, e = !1, r = "Timeout") {
43
43
  return new Promise((o, n) => {
44
44
  setTimeout(e ? () => n(r) : o, t);
45
45
  });
46
46
  }
47
- function Te(t, e = !1) {
47
+ function Ae(t, e = !1) {
48
48
  function r(u, { flush: c = "sync", deep: d = !1, timeout: m, throwOnTimeout: f } = {}) {
49
49
  let h = null;
50
50
  const b = [new Promise((y) => {
@@ -61,7 +61,7 @@ function Te(t, e = !1) {
61
61
  );
62
62
  })];
63
63
  return m != null && b.push(
64
- Ae(m, f).then(() => ht(t)).finally(() => h == null ? void 0 : h())
64
+ Te(m, f).then(() => ht(t)).finally(() => h == null ? void 0 : h())
65
65
  ), Promise.race(b);
66
66
  }
67
67
  function o(u, c) {
@@ -83,7 +83,7 @@ function Te(t, e = !1) {
83
83
  );
84
84
  })];
85
85
  return f != null && y.push(
86
- Ae(f, h).then(() => ht(t)).finally(() => (b == null || b(), ht(t)))
86
+ Te(f, h).then(() => ht(t)).finally(() => (b == null || b(), ht(t)))
87
87
  ), Promise.race(y);
88
88
  }
89
89
  function n(u) {
@@ -117,7 +117,7 @@ function Te(t, e = !1) {
117
117
  changed: p,
118
118
  changedTimes: g,
119
119
  get not() {
120
- return Te(t, !e);
120
+ return Ae(t, !e);
121
121
  }
122
122
  } : {
123
123
  toMatch: r,
@@ -129,12 +129,12 @@ function Te(t, e = !1) {
129
129
  changed: p,
130
130
  changedTimes: g,
131
131
  get not() {
132
- return Te(t, !e);
132
+ return Ae(t, !e);
133
133
  }
134
134
  };
135
135
  }
136
136
  function En(t) {
137
- return Te(t);
137
+ return Ae(t);
138
138
  }
139
139
  function Nn(t, e, r = {}) {
140
140
  const {
@@ -240,7 +240,7 @@ function oo(t, e, r) {
240
240
  throwError: p
241
241
  } = r ?? {}, g = l ? sr(e) : V(e), u = V(!1), c = V(!1), d = sr(void 0);
242
242
  async function m(b = 0, ...y) {
243
- s && (g.value = e), d.value = void 0, u.value = !1, c.value = !0, b > 0 && await Ae(b);
243
+ s && (g.value = e), d.value = void 0, u.value = !1, c.value = !0, b > 0 && await Te(b);
244
244
  const x = typeof t == "function" ? t(...y) : t;
245
245
  try {
246
246
  const j = await x;
@@ -918,11 +918,11 @@ function Pa(t) {
918
918
  var e = Object.prototype.toString.call(t);
919
919
  return e === "[object Function]" || e === "[object AsyncFunction]" || e === "[object GeneratorFunction]" || e === "[object AsyncGeneratorFunction]";
920
920
  }
921
- function Aa(t) {
921
+ function Ta(t) {
922
922
  return new RegExp(t.source, t.flags ? t.flags : (t.global ? "g" : "") + (t.ignoreCase ? "i" : "") + (t.multiline ? "m" : "") + (t.sticky ? "y" : "") + (t.unicode ? "u" : "") + (t.dotAll ? "s" : ""));
923
923
  }
924
924
  function We(t, e, r) {
925
- if (r || (r = new $a()), Ta(t))
925
+ if (r || (r = new $a()), Aa(t))
926
926
  return t;
927
927
  var o = function(n) {
928
928
  var a = r.get(t);
@@ -941,7 +941,7 @@ function We(t, e, r) {
941
941
  case "Date":
942
942
  return new Date(t.valueOf());
943
943
  case "RegExp":
944
- return Aa(t);
944
+ return Ta(t);
945
945
  case "Int8Array":
946
946
  case "Uint8Array":
947
947
  case "Uint8ClampedArray":
@@ -958,7 +958,7 @@ function We(t, e, r) {
958
958
  return t;
959
959
  }
960
960
  }
961
- function Ta(t) {
961
+ function Aa(t) {
962
962
  var e = typeof t;
963
963
  return t == null || e != "object" && e != "function";
964
964
  }
@@ -1168,7 +1168,7 @@ var Bt = `
1168
1168
  } : function(t) {
1169
1169
  return t.trim();
1170
1170
  });
1171
- const ie = mi, yo = Symbol("I18nContext"), rt = Tt({
1171
+ const ie = mi, yo = Symbol("I18nContext"), rt = At({
1172
1172
  messages: {},
1173
1173
  locale: "",
1174
1174
  fallbackLocale: ""
@@ -1266,7 +1266,7 @@ const ki = 1e3, _i = {
1266
1266
  function Pi(t, e) {
1267
1267
  return O(), M("svg", _i, Oi);
1268
1268
  }
1269
- const zr = { render: Pi }, Ai = {
1269
+ const zr = { render: Pi }, Ti = {
1270
1270
  "aria-hidden": "true",
1271
1271
  focusable: "false",
1272
1272
  "data-prefix": "fas",
@@ -1275,14 +1275,14 @@ const zr = { render: Pi }, Ai = {
1275
1275
  role: "img",
1276
1276
  xmlns: "http://www.w3.org/2000/svg",
1277
1277
  viewBox: "0 0 320 512"
1278
- }, Ti = /* @__PURE__ */ D("path", {
1278
+ }, Ai = /* @__PURE__ */ D("path", {
1279
1279
  fill: "currentColor",
1280
1280
  d: "M41 288h238c21.4 0 32.1 25.9 17 41L177 448c-9.4 9.4-24.6 9.4-33.9 0L24 329c-15.1-15.1-4.4-41 17-41z"
1281
1281
  }, null, -1), $i = [
1282
- Ti
1282
+ Ai
1283
1283
  ];
1284
1284
  function Ii(t, e) {
1285
- return O(), M("svg", Ai, $i);
1285
+ return O(), M("svg", Ti, $i);
1286
1286
  }
1287
1287
  const Di = { render: Ii }, Mi = {
1288
1288
  "aria-hidden": "true",
@@ -1309,17 +1309,17 @@ function Xt(t) {
1309
1309
  function Ze(t) {
1310
1310
  return t === "y" ? "height" : "width";
1311
1311
  }
1312
- function At(t) {
1312
+ function Tt(t) {
1313
1313
  return t.split("-")[0];
1314
1314
  }
1315
1315
  function Qt(t) {
1316
- return ["top", "bottom"].includes(At(t)) ? "x" : "y";
1316
+ return ["top", "bottom"].includes(Tt(t)) ? "x" : "y";
1317
1317
  }
1318
1318
  function Sr(t, e, r) {
1319
1319
  let { reference: o, floating: n } = t;
1320
1320
  const a = o.x + o.width / 2 - n.width / 2, i = o.y + o.height / 2 - n.height / 2, s = Qt(e), l = Ze(s), p = o[l] / 2 - n[l] / 2, g = s === "x";
1321
1321
  let u;
1322
- switch (At(e)) {
1322
+ switch (Tt(e)) {
1323
1323
  case "top":
1324
1324
  u = { x: a, y: o.y - n.height };
1325
1325
  break;
@@ -1376,10 +1376,10 @@ const kr = (t) => ({ name: "arrow", options: t, async fn(e) {
1376
1376
  if (r == null)
1377
1377
  return {};
1378
1378
  const g = xo(o), u = { x: n, y: a }, c = Qt(i), d = Ze(c), m = await l.getDimensions(r), f = c === "y", h = f ? "top" : "left", b = f ? "bottom" : "right", y = f ? "clientHeight" : "clientWidth", x = s.reference[d] + s.reference[c] - u[c] - s.floating[d], j = u[c] - s.reference[c], P = await (l.getOffsetParent == null ? void 0 : l.getOffsetParent(r));
1379
- let A = P ? P[y] : 0;
1380
- A && await (l.isElement == null ? void 0 : l.isElement(P)) || (A = p.floating[y] || s.floating[d]);
1381
- const N = x / 2 - j / 2, Y = g[h], E = A - m[d] - g[b], T = A / 2 - m[d] / 2 + N, G = Ne(Y, T, E), Z = Xt(i) != null && T != G && s.reference[d] / 2 - (T < Y ? g[h] : g[b]) - m[d] / 2 < 0;
1382
- return { [c]: u[c] - (Z ? T < Y ? Y - T : E - T : 0), data: { [c]: G, centerOffset: T - G } };
1379
+ let T = P ? P[y] : 0;
1380
+ T && await (l.isElement == null ? void 0 : l.isElement(P)) || (T = p.floating[y] || s.floating[d]);
1381
+ const N = x / 2 - j / 2, Y = g[h], E = T - m[d] - g[b], A = T / 2 - m[d] / 2 + N, G = Ne(Y, A, E), Z = Xt(i) != null && A != G && s.reference[d] / 2 - (A < Y ? g[h] : g[b]) - m[d] / 2 < 0;
1382
+ return { [c]: u[c] - (Z ? A < Y ? Y - A : E - A : 0), data: { [c]: G, centerOffset: A - G } };
1383
1383
  } }), Fi = ["top", "right", "bottom", "left"];
1384
1384
  Fi.reduce((t, e) => t.concat(e, e + "-start", e + "-end"), []);
1385
1385
  const Hi = { left: "right", right: "left", bottom: "top", top: "bottom" };
@@ -1399,7 +1399,7 @@ function je(t) {
1399
1399
  const Ui = function(t) {
1400
1400
  return t === void 0 && (t = {}), { name: "flip", options: t, async fn(e) {
1401
1401
  var r;
1402
- const { placement: o, middlewareData: n, rects: a, initialPlacement: i, platform: s, elements: l } = e, { mainAxis: p = !0, crossAxis: g = !0, fallbackPlacements: u, fallbackStrategy: c = "bestFit", fallbackAxisSideDirection: d = "none", flipAlignment: m = !0, ...f } = t, h = At(o), b = At(i) === i, y = await (s.isRTL == null ? void 0 : s.isRTL(l.floating)), x = u || (b || !m ? [le(i)] : function(G) {
1402
+ const { placement: o, middlewareData: n, rects: a, initialPlacement: i, platform: s, elements: l } = e, { mainAxis: p = !0, crossAxis: g = !0, fallbackPlacements: u, fallbackStrategy: c = "bestFit", fallbackAxisSideDirection: d = "none", flipAlignment: m = !0, ...f } = t, h = Tt(o), b = Tt(i) === i, y = await (s.isRTL == null ? void 0 : s.isRTL(l.floating)), x = u || (b || !m ? [le(i)] : function(G) {
1403
1403
  const Z = le(G);
1404
1404
  return [je(G), Z, je(Z)];
1405
1405
  }(i));
@@ -1417,16 +1417,16 @@ const Ui = function(t) {
1417
1417
  default:
1418
1418
  return [];
1419
1419
  }
1420
- }(At(G), _ === "start", S);
1420
+ }(Tt(G), _ === "start", S);
1421
1421
  return z && (k = k.map((w) => w + "-" + z), Z && (k = k.concat(k.map(je)))), k;
1422
1422
  }(i, m, d, y));
1423
- const j = [i, ...x], P = await zo(e, f), A = [];
1423
+ const j = [i, ...x], P = await zo(e, f), T = [];
1424
1424
  let N = ((r = n.flip) == null ? void 0 : r.overflows) || [];
1425
- if (p && A.push(P[h]), g) {
1425
+ if (p && T.push(P[h]), g) {
1426
1426
  const { main: G, cross: Z } = Bi(o, a, y);
1427
- A.push(P[G], P[Z]);
1427
+ T.push(P[G], P[Z]);
1428
1428
  }
1429
- if (N = [...N, { placement: o, overflows: A }], !A.every((G) => G <= 0)) {
1429
+ if (N = [...N, { placement: o, overflows: T }], !T.every((G) => G <= 0)) {
1430
1430
  var Y, E;
1431
1431
  const G = (((Y = n.flip) == null ? void 0 : Y.index) || 0) + 1, Z = j[G];
1432
1432
  if (Z)
@@ -1435,8 +1435,8 @@ const Ui = function(t) {
1435
1435
  if (!_)
1436
1436
  switch (c) {
1437
1437
  case "bestFit": {
1438
- var T;
1439
- const S = (T = N.map((z) => [z.placement, z.overflows.filter((k) => k > 0).reduce((k, w) => k + w, 0)]).sort((z, k) => z[1] - k[1])[0]) == null ? void 0 : T[0];
1438
+ var A;
1439
+ const S = (A = N.map((z) => [z.placement, z.overflows.filter((k) => k > 0).reduce((k, w) => k + w, 0)]).sort((z, k) => z[1] - k[1])[0]) == null ? void 0 : A[0];
1440
1440
  S && (_ = S);
1441
1441
  break;
1442
1442
  }
@@ -1451,7 +1451,7 @@ const Ui = function(t) {
1451
1451
  }, Wi = function(t) {
1452
1452
  return t === void 0 && (t = 0), { name: "offset", options: t, async fn(e) {
1453
1453
  const { x: r, y: o } = e, n = await async function(a, i) {
1454
- const { placement: s, platform: l, elements: p } = a, g = await (l.isRTL == null ? void 0 : l.isRTL(p.floating)), u = At(s), c = Xt(s), d = Qt(s) === "x", m = ["left", "top"].includes(u) ? -1 : 1, f = g && d ? -1 : 1, h = typeof i == "function" ? i(a) : i;
1454
+ const { placement: s, platform: l, elements: p } = a, g = await (l.isRTL == null ? void 0 : l.isRTL(p.floating)), u = Tt(s), c = Xt(s), d = Qt(s) === "x", m = ["left", "top"].includes(u) ? -1 : 1, f = g && d ? -1 : 1, h = typeof i == "function" ? i(a) : i;
1455
1455
  let { mainAxis: b, crossAxis: y, alignmentAxis: x } = typeof h == "number" ? { mainAxis: h, crossAxis: 0, alignmentAxis: null } : { mainAxis: 0, crossAxis: 0, alignmentAxis: null, ...h };
1456
1456
  return c && typeof x == "number" && (y = c === "end" ? -1 * x : x), d ? { x: y * f, y: b * m } : { x: b * m, y: y * f };
1457
1457
  }(e, t);
@@ -1466,7 +1466,7 @@ const Zi = function(t) {
1466
1466
  const { x: r, y: o, placement: n } = e, { mainAxis: a = !0, crossAxis: i = !1, limiter: s = { fn: (h) => {
1467
1467
  let { x: b, y } = h;
1468
1468
  return { x: b, y };
1469
- } }, ...l } = t, p = { x: r, y: o }, g = await zo(e, l), u = Qt(At(n)), c = Ki(u);
1469
+ } }, ...l } = t, p = { x: r, y: o }, g = await zo(e, l), u = Qt(Tt(n)), c = Ki(u);
1470
1470
  let d = p[u], m = p[c];
1471
1471
  if (a) {
1472
1472
  const h = u === "y" ? "bottom" : "right";
@@ -1578,14 +1578,14 @@ function Rt(t) {
1578
1578
  const e = t.assignedSlot || t.parentNode || _r(t) && t.host || _t(t);
1579
1579
  return _r(e) ? e.host : e;
1580
1580
  }
1581
- function Ao(t) {
1581
+ function To(t) {
1582
1582
  const e = Rt(t);
1583
- return be(e) ? e.ownerDocument.body : mt(e) && qt(e) ? e : Ao(e);
1583
+ return be(e) ? e.ownerDocument.body : mt(e) && qt(e) ? e : To(e);
1584
1584
  }
1585
1585
  function Wt(t, e) {
1586
1586
  var r;
1587
1587
  e === void 0 && (e = []);
1588
- const o = Ao(t), n = o === ((r = t.ownerDocument) == null ? void 0 : r.body), a = ct(o);
1588
+ const o = To(t), n = o === ((r = t.ownerDocument) == null ? void 0 : r.body), a = ct(o);
1589
1589
  return n ? e.concat(a, a.visualViewport || [], qt(o) ? o : []) : e.concat(o, Wt(o));
1590
1590
  }
1591
1591
  function Pr(t, e, r) {
@@ -1619,20 +1619,20 @@ function Pr(t, e, r) {
1619
1619
  }
1620
1620
  return se(o);
1621
1621
  }
1622
- function To(t, e) {
1622
+ function Ao(t, e) {
1623
1623
  const r = Rt(t);
1624
- return !(r === e || !it(r) || be(r)) && (gt(r).position === "fixed" || To(r, e));
1624
+ return !(r === e || !it(r) || be(r)) && (gt(r).position === "fixed" || Ao(r, e));
1625
1625
  }
1626
- function Ar(t, e) {
1626
+ function Tr(t, e) {
1627
1627
  return mt(t) && gt(t).position !== "fixed" ? e ? e(t) : t.offsetParent : null;
1628
1628
  }
1629
- function Tr(t, e) {
1629
+ function Ar(t, e) {
1630
1630
  const r = ct(t);
1631
1631
  if (!mt(t))
1632
1632
  return r;
1633
- let o = Ar(t, e);
1633
+ let o = Tr(t, e);
1634
1634
  for (; o && Ji(o) && gt(o).position === "static"; )
1635
- o = Ar(o, e);
1635
+ o = Tr(o, e);
1636
1636
  return o && (jt(o) === "html" || jt(o) === "body" && gt(o).position === "static" && !Le(o)) ? r : o || function(n) {
1637
1637
  let a = Rt(n);
1638
1638
  for (; mt(a) && !be(a); ) {
@@ -1666,7 +1666,7 @@ const Xi = { getClippingRect: function(t) {
1666
1666
  let f = m ? Rt(p) : p;
1667
1667
  for (; it(f) && !be(f); ) {
1668
1668
  const h = gt(f), b = Le(f);
1669
- b || h.position !== "fixed" || (d = null), (m ? !b && !d : !b && h.position === "static" && d && ["absolute", "fixed"].includes(d.position) || qt(f) && !b && To(p, f)) ? c = c.filter((y) => y !== f) : d = h, f = Rt(f);
1669
+ b || h.position !== "fixed" || (d = null), (m ? !b && !d : !b && h.position === "static" && d && ["absolute", "fixed"].includes(d.position) || qt(f) && !b && Ao(p, f)) ? c = c.filter((y) => y !== f) : d = h, f = Rt(f);
1670
1670
  }
1671
1671
  return g.set(p, c), c;
1672
1672
  }(e, this._c) : [].concat(r), i = [...a, o], s = i[0], l = i.reduce((p, g) => {
@@ -1688,9 +1688,9 @@ const Xi = { getClippingRect: function(t) {
1688
1688
  return { width: e.width * s.x, height: e.height * s.y, x: e.x * s.x - i.scrollLeft * s.x + l.x, y: e.y * s.y - i.scrollTop * s.y + l.y };
1689
1689
  }, isElement: it, getDimensions: function(t) {
1690
1690
  return ko(t);
1691
- }, getOffsetParent: Tr, getDocumentElement: _t, getScale: Nt, async getElementRects(t) {
1691
+ }, getOffsetParent: Ar, getDocumentElement: _t, getScale: Nt, async getElementRects(t) {
1692
1692
  let { reference: e, floating: r, strategy: o } = t;
1693
- const n = this.getOffsetParent || Tr, a = this.getDimensions;
1693
+ const n = this.getOffsetParent || Ar, a = this.getDimensions;
1694
1694
  return { reference: qi(e, await n(r), o), floating: { x: 0, y: 0, ...await a(r) } };
1695
1695
  }, getClientRects: (t) => Array.from(t.getClientRects()), isRTL: (t) => gt(t).direction === "rtl" };
1696
1696
  function Qi(t, e, r, o) {
@@ -2804,7 +2804,7 @@ const Do = Symbol("ErrorProviderContext"), ys = () => {
2804
2804
  short: "Team officials",
2805
2805
  tooltip: "Team officials"
2806
2806
  }
2807
- }, As = {
2807
+ }, Ts = {
2808
2808
  data: {
2809
2809
  localTime: "Game local time"
2810
2810
  },
@@ -2852,11 +2852,11 @@ const Do = Symbol("ErrorProviderContext"), ys = () => {
2852
2852
  Végeredmény: "Game Completed",
2853
2853
  Szétlövés: "Shoot Out"
2854
2854
  }
2855
- }, Ts = {
2855
+ }, As = {
2856
2856
  errors: js,
2857
2857
  common: Os,
2858
2858
  table: Ps,
2859
- game: As
2859
+ game: Ts
2860
2860
  }, $s = (t, e) => {
2861
2861
  const r = t.__vccOpts || t;
2862
2862
  for (const [o, n] of e)
@@ -2874,7 +2874,7 @@ const Do = Symbol("ErrorProviderContext"), ys = () => {
2874
2874
  }
2875
2875
  },
2876
2876
  setup(t) {
2877
- const e = ii({ hu: _s, en: Ts }, t.messages), { translate: r } = hi({
2877
+ const e = ii({ hu: _s, en: As }, t.messages), { translate: r } = hi({
2878
2878
  locale: F(() => t.locale),
2879
2879
  messages: e
2880
2880
  });
@@ -2968,8 +2968,8 @@ var Lo = { exports: {} };
2968
2968
  return { M: u, y: d, w: g, d: p, D: m, h: l, m: s, s: i, ms: a, Q: c }[_] || String(_ || "").toLowerCase().replace(/s$/, "");
2969
2969
  }, u: function(_) {
2970
2970
  return _ === void 0;
2971
- } }, P = "en", A = {};
2972
- A[P] = y;
2971
+ } }, P = "en", T = {};
2972
+ T[P] = y;
2973
2973
  var N = function(_) {
2974
2974
  return _ instanceof G;
2975
2975
  }, Y = function _(S, z, k) {
@@ -2978,13 +2978,13 @@ var Lo = { exports: {} };
2978
2978
  return P;
2979
2979
  if (typeof S == "string") {
2980
2980
  var $ = S.toLowerCase();
2981
- A[$] && (w = $), z && (A[$] = z, w = $);
2981
+ T[$] && (w = $), z && (T[$] = z, w = $);
2982
2982
  var I = S.split("-");
2983
2983
  if (!w && I.length > 1)
2984
2984
  return _(I[0]);
2985
2985
  } else {
2986
2986
  var L = S.name;
2987
- A[L] = S, w = L;
2987
+ T[L] = S, w = L;
2988
2988
  }
2989
2989
  return !k && w && (P = w), w || !k && P;
2990
2990
  }, E = function(_, S) {
@@ -2992,8 +2992,8 @@ var Lo = { exports: {} };
2992
2992
  return _.clone();
2993
2993
  var z = typeof S == "object" ? S : {};
2994
2994
  return z.date = _, z.args = arguments, new G(z);
2995
- }, T = j;
2996
- T.l = Y, T.i = N, T.w = function(_, S) {
2995
+ }, A = j;
2996
+ A.l = Y, A.i = N, A.w = function(_, S) {
2997
2997
  return E(_, { locale: S.$L, utc: S.$u, x: S.$x, $offset: S.$offset });
2998
2998
  };
2999
2999
  var G = function() {
@@ -3006,7 +3006,7 @@ var Lo = { exports: {} };
3006
3006
  var w = k.date, $ = k.utc;
3007
3007
  if (w === null)
3008
3008
  return /* @__PURE__ */ new Date(NaN);
3009
- if (T.u(w))
3009
+ if (A.u(w))
3010
3010
  return /* @__PURE__ */ new Date();
3011
3011
  if (w instanceof Date)
3012
3012
  return new Date(w);
@@ -3023,7 +3023,7 @@ var Lo = { exports: {} };
3023
3023
  var z = this.$d;
3024
3024
  this.$y = z.getFullYear(), this.$M = z.getMonth(), this.$D = z.getDate(), this.$W = z.getDay(), this.$H = z.getHours(), this.$m = z.getMinutes(), this.$s = z.getSeconds(), this.$ms = z.getMilliseconds();
3025
3025
  }, S.$utils = function() {
3026
- return T;
3026
+ return A;
3027
3027
  }, S.isValid = function() {
3028
3028
  return this.$d.toString() !== f;
3029
3029
  }, S.isSame = function(z, k) {
@@ -3034,17 +3034,17 @@ var Lo = { exports: {} };
3034
3034
  }, S.isBefore = function(z, k) {
3035
3035
  return this.endOf(k) < E(z);
3036
3036
  }, S.$g = function(z, k, w) {
3037
- return T.u(z) ? this[k] : this.set(w, z);
3037
+ return A.u(z) ? this[k] : this.set(w, z);
3038
3038
  }, S.unix = function() {
3039
3039
  return Math.floor(this.valueOf() / 1e3);
3040
3040
  }, S.valueOf = function() {
3041
3041
  return this.$d.getTime();
3042
3042
  }, S.startOf = function(z, k) {
3043
- var w = this, $ = !!T.u(k) || k, I = T.p(z), L = function(Et, ot) {
3044
- var xt = T.w(w.$u ? Date.UTC(w.$y, ot, Et) : new Date(w.$y, ot, Et), w);
3043
+ var w = this, $ = !!A.u(k) || k, I = A.p(z), L = function(Et, ot) {
3044
+ var xt = A.w(w.$u ? Date.UTC(w.$y, ot, Et) : new Date(w.$y, ot, Et), w);
3045
3045
  return $ ? xt : xt.endOf(p);
3046
3046
  }, K = function(Et, ot) {
3047
- return T.w(w.toDate()[Et].apply(w.toDate("s"), ($ ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(ot)), w);
3047
+ return A.w(w.toDate()[Et].apply(w.toDate("s"), ($ ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(ot)), w);
3048
3048
  }, U = this.$W, Q = this.$M, wt = this.$D, yt = "set" + (this.$u ? "UTC" : "");
3049
3049
  switch (I) {
3050
3050
  case d:
@@ -3069,7 +3069,7 @@ var Lo = { exports: {} };
3069
3069
  }, S.endOf = function(z) {
3070
3070
  return this.startOf(z, !1);
3071
3071
  }, S.$set = function(z, k) {
3072
- var w, $ = T.p(z), I = "set" + (this.$u ? "UTC" : ""), L = (w = {}, w[p] = I + "Date", w[m] = I + "Date", w[u] = I + "Month", w[d] = I + "FullYear", w[l] = I + "Hours", w[s] = I + "Minutes", w[i] = I + "Seconds", w[a] = I + "Milliseconds", w)[$], K = $ === p ? this.$D + (k - this.$W) : k;
3072
+ var w, $ = A.p(z), I = "set" + (this.$u ? "UTC" : ""), L = (w = {}, w[p] = I + "Date", w[m] = I + "Date", w[u] = I + "Month", w[d] = I + "FullYear", w[l] = I + "Hours", w[s] = I + "Minutes", w[i] = I + "Seconds", w[a] = I + "Milliseconds", w)[$], K = $ === p ? this.$D + (k - this.$W) : k;
3073
3073
  if ($ === u || $ === d) {
3074
3074
  var U = this.clone().set(m, 1);
3075
3075
  U.$d[L](K), U.init(), this.$d = U.set(m, Math.min(this.$D, U.daysInMonth())).$d;
@@ -3079,13 +3079,13 @@ var Lo = { exports: {} };
3079
3079
  }, S.set = function(z, k) {
3080
3080
  return this.clone().$set(z, k);
3081
3081
  }, S.get = function(z) {
3082
- return this[T.p(z)]();
3082
+ return this[A.p(z)]();
3083
3083
  }, S.add = function(z, k) {
3084
3084
  var w, $ = this;
3085
3085
  z = Number(z);
3086
- var I = T.p(k), L = function(Q) {
3086
+ var I = A.p(k), L = function(Q) {
3087
3087
  var wt = E($);
3088
- return T.w(wt.date(wt.date() + Math.round(Q * z)), $);
3088
+ return A.w(wt.date(wt.date() + Math.round(Q * z)), $);
3089
3089
  };
3090
3090
  if (I === u)
3091
3091
  return this.set(u, this.$M + z);
@@ -3096,40 +3096,40 @@ var Lo = { exports: {} };
3096
3096
  if (I === g)
3097
3097
  return L(7);
3098
3098
  var K = (w = {}, w[s] = o, w[l] = n, w[i] = r, w)[I] || 1, U = this.$d.getTime() + z * K;
3099
- return T.w(U, this);
3099
+ return A.w(U, this);
3100
3100
  }, S.subtract = function(z, k) {
3101
3101
  return this.add(-1 * z, k);
3102
3102
  }, S.format = function(z) {
3103
3103
  var k = this, w = this.$locale();
3104
3104
  if (!this.isValid())
3105
3105
  return w.invalidDate || f;
3106
- var $ = z || "YYYY-MM-DDTHH:mm:ssZ", I = T.z(this), L = this.$H, K = this.$m, U = this.$M, Q = w.weekdays, wt = w.months, yt = function(ot, xt, ze, te) {
3106
+ var $ = z || "YYYY-MM-DDTHH:mm:ssZ", I = A.z(this), L = this.$H, K = this.$m, U = this.$M, Q = w.weekdays, wt = w.months, yt = function(ot, xt, ze, te) {
3107
3107
  return ot && (ot[xt] || ot(k, $)) || ze[xt].slice(0, te);
3108
3108
  }, Vt = function(ot) {
3109
- return T.s(L % 12 || 12, ot, "0");
3109
+ return A.s(L % 12 || 12, ot, "0");
3110
3110
  }, Ft = w.meridiem || function(ot, xt, ze) {
3111
3111
  var te = ot < 12 ? "AM" : "PM";
3112
3112
  return ze ? te.toLowerCase() : te;
3113
- }, Et = { YY: String(this.$y).slice(-2), YYYY: this.$y, M: U + 1, MM: T.s(U + 1, 2, "0"), MMM: yt(w.monthsShort, U, wt, 3), MMMM: yt(wt, U), D: this.$D, DD: T.s(this.$D, 2, "0"), d: String(this.$W), dd: yt(w.weekdaysMin, this.$W, Q, 2), ddd: yt(w.weekdaysShort, this.$W, Q, 3), dddd: Q[this.$W], H: String(L), HH: T.s(L, 2, "0"), h: Vt(1), hh: Vt(2), a: Ft(L, K, !0), A: Ft(L, K, !1), m: String(K), mm: T.s(K, 2, "0"), s: String(this.$s), ss: T.s(this.$s, 2, "0"), SSS: T.s(this.$ms, 3, "0"), Z: I };
3113
+ }, Et = { YY: String(this.$y).slice(-2), YYYY: this.$y, M: U + 1, MM: A.s(U + 1, 2, "0"), MMM: yt(w.monthsShort, U, wt, 3), MMMM: yt(wt, U), D: this.$D, DD: A.s(this.$D, 2, "0"), d: String(this.$W), dd: yt(w.weekdaysMin, this.$W, Q, 2), ddd: yt(w.weekdaysShort, this.$W, Q, 3), dddd: Q[this.$W], H: String(L), HH: A.s(L, 2, "0"), h: Vt(1), hh: Vt(2), a: Ft(L, K, !0), A: Ft(L, K, !1), m: String(K), mm: A.s(K, 2, "0"), s: String(this.$s), ss: A.s(this.$s, 2, "0"), SSS: A.s(this.$ms, 3, "0"), Z: I };
3114
3114
  return $.replace(b, function(ot, xt) {
3115
3115
  return xt || Et[ot] || I.replace(":", "");
3116
3116
  });
3117
3117
  }, S.utcOffset = function() {
3118
3118
  return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
3119
3119
  }, S.diff = function(z, k, w) {
3120
- var $, I = T.p(k), L = E(z), K = (L.utcOffset() - this.utcOffset()) * o, U = this - L, Q = T.m(this, L);
3121
- return Q = ($ = {}, $[d] = Q / 12, $[u] = Q, $[c] = Q / 3, $[g] = (U - K) / 6048e5, $[p] = (U - K) / 864e5, $[l] = U / n, $[s] = U / o, $[i] = U / r, $)[I] || U, w ? Q : T.a(Q);
3120
+ var $, I = A.p(k), L = E(z), K = (L.utcOffset() - this.utcOffset()) * o, U = this - L, Q = A.m(this, L);
3121
+ return Q = ($ = {}, $[d] = Q / 12, $[u] = Q, $[c] = Q / 3, $[g] = (U - K) / 6048e5, $[p] = (U - K) / 864e5, $[l] = U / n, $[s] = U / o, $[i] = U / r, $)[I] || U, w ? Q : A.a(Q);
3122
3122
  }, S.daysInMonth = function() {
3123
3123
  return this.endOf(u).$D;
3124
3124
  }, S.$locale = function() {
3125
- return A[this.$L];
3125
+ return T[this.$L];
3126
3126
  }, S.locale = function(z, k) {
3127
3127
  if (!z)
3128
3128
  return this.$L;
3129
3129
  var w = this.clone(), $ = Y(z, k, !0);
3130
3130
  return $ && (w.$L = $), w;
3131
3131
  }, S.clone = function() {
3132
- return T.w(this.$d, this);
3132
+ return A.w(this.$d, this);
3133
3133
  }, S.toDate = function() {
3134
3134
  return new Date(this.valueOf());
3135
3135
  }, S.toJSON = function() {
@@ -3148,7 +3148,7 @@ var Lo = { exports: {} };
3148
3148
  return _.$i || (_(S, G, E), _.$i = !0), E;
3149
3149
  }, E.locale = Y, E.isDayjs = N, E.unix = function(_) {
3150
3150
  return E(1e3 * _);
3151
- }, E.en = A[P], E.Ls = A, E.p = {}, E;
3151
+ }, E.en = T[P], E.Ls = T, E.p = {}, E;
3152
3152
  });
3153
3153
  })(Lo);
3154
3154
  var Co = Lo.exports;
@@ -3189,10 +3189,10 @@ var Go = { exports: {} };
3189
3189
  return this.$u ? 0 : b(this.$offset) ? u.call(this) : this.$offset;
3190
3190
  if (typeof f == "string" && (f = function(P) {
3191
3191
  P === void 0 && (P = "");
3192
- var A = P.match(o);
3193
- if (!A)
3192
+ var T = P.match(o);
3193
+ if (!T)
3194
3194
  return null;
3195
- var N = ("" + A[0]).match(n) || ["-", 0, 0], Y = N[0], E = 60 * +N[1] + +N[2];
3195
+ var N = ("" + T[0]).match(n) || ["-", 0, 0], Y = N[0], E = 60 * +N[1] + +N[2];
3196
3196
  return E === 0 ? 0 : Y === "+" ? E : -E;
3197
3197
  }(f), f === null))
3198
3198
  return this;
@@ -3256,7 +3256,7 @@ var Ro = { exports: {} };
3256
3256
  var b = m[h], y = b.type, x = b.value, j = r[y];
3257
3257
  j >= 0 && (f[j] = parseInt(x, 10));
3258
3258
  }
3259
- var P = f[3], A = P === 24 ? 0 : P, N = f[0] + "-" + f[1] + "-" + f[2] + " " + A + ":" + f[4] + ":" + f[5] + ":000", Y = +c;
3259
+ var P = f[3], T = P === 24 ? 0 : P, N = f[0] + "-" + f[1] + "-" + f[2] + " " + T + ":" + f[4] + ":" + f[5] + ":000", Y = +c;
3260
3260
  return (i.utc(N).valueOf() - (Y -= Y % 1e3)) / 6e4;
3261
3261
  }, g = a.prototype;
3262
3262
  g.tz = function(c, d) {
@@ -3283,12 +3283,12 @@ var Ro = { exports: {} };
3283
3283
  var f = m && d, h = m || d || s, b = p(+i(), h);
3284
3284
  if (typeof c != "string")
3285
3285
  return i(c).tz(h);
3286
- var y = function(A, N, Y) {
3287
- var E = A - 60 * N * 1e3, T = p(E, Y);
3288
- if (N === T)
3286
+ var y = function(T, N, Y) {
3287
+ var E = T - 60 * N * 1e3, A = p(E, Y);
3288
+ if (N === A)
3289
3289
  return [E, N];
3290
- var G = p(E -= 60 * (T - N) * 1e3, Y);
3291
- return T === G ? [E, T] : [A - 60 * Math.min(T, G) * 1e3, Math.max(T, G)];
3290
+ var G = p(E -= 60 * (A - N) * 1e3, Y);
3291
+ return A === G ? [E, A] : [T - 60 * Math.min(A, G) * 1e3, Math.max(A, G)];
3292
3292
  }(i.utc(c, f).valueOf(), b, h), x = y[0], j = y[1], P = i(x).utcOffset(j);
3293
3293
  return P.$x.$timezone = h, P;
3294
3294
  }, i.tz.guess = function() {
@@ -3971,11 +3971,11 @@ function wl(t, e) {
3971
3971
  var y = b.value;
3972
3972
  if (y === void 0)
3973
3973
  return Er(u, c);
3974
- var x = typeof y == "string" ? { target: y } : y, j = x.target, P = x.actions, A = P === void 0 ? [] : P, N = x.cond, Y = N === void 0 ? function() {
3974
+ var x = typeof y == "string" ? { target: y } : y, j = x.target, P = x.actions, T = P === void 0 ? [] : P, N = x.cond, Y = N === void 0 ? function() {
3975
3975
  return !0;
3976
- } : N, E = j === void 0, T = j ?? u, G = t.states[T];
3976
+ } : N, E = j === void 0, A = j ?? u, G = t.states[A];
3977
3977
  if (Y(c, d)) {
3978
- var Z = Ir(Nr((E ? Pe(A) : [].concat(m.exit, A, G.entry).filter(function(w) {
3978
+ var Z = Ir(Nr((E ? Pe(T) : [].concat(m.exit, T, G.entry).filter(function(w) {
3979
3979
  return w;
3980
3980
  })).map(function(w) {
3981
3981
  return Mr(w, a._options.actions);
@@ -4026,7 +4026,7 @@ const xl = wl({
4026
4026
  return xl.transition(t, r).value;
4027
4027
  };
4028
4028
  function Sl(t = {}) {
4029
- const { sortTarget: e = null, orders: r = [] } = t, o = Tt({ sortTarget: e, orders: r });
4029
+ const { sortTarget: e = null, orders: r = [] } = t, o = At({ sortTarget: e, orders: r });
4030
4030
  return {
4031
4031
  sort: o,
4032
4032
  change: ({ target: n, orders: a }) => {
@@ -4126,9 +4126,9 @@ function Ol(t) {
4126
4126
  function Xo(t) {
4127
4127
  return typeof t == "function" ? t() : v(t);
4128
4128
  }
4129
- const Pl = typeof window < "u", Al = (t) => typeof t < "u", Ge = () => {
4129
+ const Pl = typeof window < "u", Tl = (t) => typeof t < "u", Ge = () => {
4130
4130
  };
4131
- function Tl(t, e) {
4131
+ function Al(t, e) {
4132
4132
  function r(...o) {
4133
4133
  return new Promise((n, a) => {
4134
4134
  Promise.resolve(t(() => e.apply(this, o), { fn: e, thisArg: this, args: o })).then(n).catch(a);
@@ -4167,7 +4167,7 @@ function El(t, e, r = {}) {
4167
4167
  ]);
4168
4168
  return ft(
4169
4169
  t,
4170
- Tl(
4170
+ Al(
4171
4171
  n,
4172
4172
  e
4173
4173
  ),
@@ -4239,7 +4239,7 @@ function pe(t, e = {}) {
4239
4239
  pending: "pending",
4240
4240
  rejected: "rejected",
4241
4241
  fulfilled: "fulfilled"
4242
- }, i = Array.from(new Array(t.length), () => ({ state: a.pending, data: null })), s = Tt(i), l = V(-1);
4242
+ }, i = Array.from(new Array(t.length), () => ({ state: a.pending, data: null })), s = At(i), l = V(-1);
4243
4243
  if (!t || t.length === 0)
4244
4244
  return n(), {
4245
4245
  activeIndex: l,
@@ -4272,8 +4272,8 @@ function Yl(t = "history", e = {}) {
4272
4272
  window: i = rn
4273
4273
  } = e;
4274
4274
  if (!i)
4275
- return Tt(r);
4276
- const s = Tt({});
4275
+ return At(r);
4276
+ const s = At({});
4277
4277
  function l() {
4278
4278
  if (t === "history")
4279
4279
  return i.location.search || "";
@@ -4337,10 +4337,10 @@ function Ul(t, e, r, o = {}) {
4337
4337
  deep: g = !1,
4338
4338
  defaultValue: u,
4339
4339
  shouldEmit: c
4340
- } = o, d = An(), m = r || (d == null ? void 0 : d.emit) || ((n = d == null ? void 0 : d.$emit) == null ? void 0 : n.bind(d)) || ((i = (a = d == null ? void 0 : d.proxy) == null ? void 0 : a.$emit) == null ? void 0 : i.bind(d == null ? void 0 : d.proxy));
4340
+ } = o, d = Tn(), m = r || (d == null ? void 0 : d.emit) || ((n = d == null ? void 0 : d.$emit) == null ? void 0 : n.bind(d)) || ((i = (a = d == null ? void 0 : d.proxy) == null ? void 0 : a.$emit) == null ? void 0 : i.bind(d == null ? void 0 : d.proxy));
4341
4341
  let f = p;
4342
4342
  e || (e = "modelValue"), f = p || f || `update:${e.toString()}`;
4343
- const h = (x) => s ? typeof s == "function" ? s(x) : Bl(x) : x, b = () => Al(t[e]) ? h(t[e]) : u, y = (x) => {
4343
+ const h = (x) => s ? typeof s == "function" ? s(x) : Bl(x) : x, b = () => Tl(t[e]) ? h(t[e]) : u, y = (x) => {
4344
4344
  c ? c(x) && m(f, x) : m(f, x);
4345
4345
  };
4346
4346
  if (l) {
@@ -4738,14 +4738,14 @@ var Oc = /* @__PURE__ */ tt(function(e, r) {
4738
4738
  return Oc([e], r)[0];
4739
4739
  });
4740
4740
  const un = Pc;
4741
- var Ac = /* @__PURE__ */ tt(function(e, r) {
4741
+ var Tc = /* @__PURE__ */ tt(function(e, r) {
4742
4742
  for (var o = {}, n = {}, a = 0, i = e.length; a < i; )
4743
4743
  n[e[a]] = 1, a += 1;
4744
4744
  for (var s in r)
4745
4745
  n.hasOwnProperty(s) || (o[s] = r[s]);
4746
4746
  return o;
4747
4747
  });
4748
- const Tc = Ac;
4748
+ const Ac = Tc;
4749
4749
  var $c = /* @__PURE__ */ tt(function(e, r) {
4750
4750
  for (var o = {}, n = 0; n < e.length; )
4751
4751
  e[n] in r && (o[e[n]] = r[e[n]]), n += 1;
@@ -4770,10 +4770,12 @@ const Mc = Dc, Ec = (t, e) => {
4770
4770
  var r, o, n;
4771
4771
  e.championships = Mc(xe("sectionName"))(t), e.selectedChampionshipId = (r = t == null ? void 0 : t[0]) == null ? void 0 : r.sectionId, e.phaseId = (n = (o = t == null ? void 0 : t[0]) == null ? void 0 : o.phases[0]) == null ? void 0 : n.phaseId;
4772
4772
  }, Cc = (t) => t.map((e) => {
4773
- var r;
4773
+ var r, o;
4774
4774
  return {
4775
4775
  ...e,
4776
- phaseName: [e.phaseName, ((r = e.phaseSubType) == null ? void 0 : r.phaseSubTypeName) ?? ""].join(" ")
4776
+ phaseName: [e.phaseName, ((r = e.phaseSubType) == null ? void 0 : r.phaseSubTypeName) ?? "", ((o = e.phaseType) == null ? void 0 : o.phaseTypeName) ?? ""].join(
4777
+ " "
4778
+ )
4777
4779
  };
4778
4780
  }), Gc = (/* @__PURE__ */ new Map()).set("schedule", {
4779
4781
  api: "/v2/games-list",
@@ -4812,7 +4814,7 @@ const Mc = Dc, Ec = (t, e) => {
4812
4814
  }
4813
4815
  },
4814
4816
  setup(t) {
4815
- const e = t, r = Yl("history"), o = Tt({
4817
+ const e = t, r = Yl("history"), o = At({
4816
4818
  loading: !1,
4817
4819
  seasons: [],
4818
4820
  championshipId: Number(r.championshipId) || 0,
@@ -4825,7 +4827,7 @@ const Mc = Dc, Ec = (t, e) => {
4825
4827
  api: "/v2/games-list",
4826
4828
  columns: Ko,
4827
4829
  sort: null
4828
- }), n = Tn(e, "timezone"), { onError: a } = qe(), { sort: i, change: s } = Sl({
4830
+ }), n = An(e, "timezone"), { onError: a } = qe(), { sort: i, change: s } = Sl({
4829
4831
  sortTarget: "",
4830
4832
  orders: []
4831
4833
  }), { isLoading: l, execute: p } = Lt({
@@ -4834,7 +4836,7 @@ const Mc = Dc, Ec = (t, e) => {
4834
4836
  apiKey: e.apiKey,
4835
4837
  params: { championshipName: e.championshipName }
4836
4838
  },
4837
- transform: (A) => Ec(A, o),
4839
+ transform: (T) => Ec(T, o),
4838
4840
  onError: a
4839
4841
  }), { isLoading: g, execute: u } = Lt({
4840
4842
  options: {
@@ -4842,7 +4844,7 @@ const Mc = Dc, Ec = (t, e) => {
4842
4844
  apiKey: e.apiKey,
4843
4845
  params: F(() => ({ championshipId: o.championshipId }))
4844
4846
  },
4845
- transform: (A) => Lc(A, o),
4847
+ transform: (T) => Lc(T, o),
4846
4848
  onError: a
4847
4849
  }), {
4848
4850
  isLoading: c,
@@ -4855,25 +4857,25 @@ const Mc = Dc, Ec = (t, e) => {
4855
4857
  resetOnExecute: !0,
4856
4858
  params: F(() => ({ championshipId: o.championshipId, phaseId: o.phaseId }))
4857
4859
  },
4858
- transform: (A) => Jo(A),
4860
+ transform: (T) => Jo(T),
4859
4861
  onError: a
4860
4862
  }), f = no([g, l, c], { delay: 1e3 });
4861
4863
  pe([p, u, m]);
4862
4864
  const h = F(() => {
4863
- const A = o.championships.find((N) => N.sectionId === o.selectedChampionshipId);
4864
- return Cc((A == null ? void 0 : A.phases) ?? []);
4865
- }), b = F(() => Zo(v(d)).sorted(i).addContinuousIndex().schedule(v(n), v(e.locale)).value()), y = (A) => {
4866
- o.championshipId = A, r.championshipId = A, pe([u, m]);
4867
- }, x = (A) => {
4865
+ const T = o.championships.find((N) => N.sectionId === o.selectedChampionshipId);
4866
+ return Cc((T == null ? void 0 : T.phases) ?? []);
4867
+ }), b = F(() => Zo(v(d)).sorted(i).addContinuousIndex().schedule(v(n), v(e.locale)).value()), y = (T) => {
4868
+ o.championshipId = T, r.championshipId = T, pe([u, m]);
4869
+ }, x = (T) => {
4868
4870
  var N;
4869
- o.selectedChampionshipId = A, o.phaseId = ((N = h.value[0]) == null ? void 0 : N.phaseId) ?? null, m();
4870
- }, j = (A) => {
4871
- o.phaseId = A, m();
4872
- }, P = (A) => {
4873
- const N = Gc.get(A);
4874
- o.selectedPanel = A, o.api = N.api, o.columns = N.columns, m();
4871
+ o.selectedChampionshipId = T, o.phaseId = ((N = h.value[0]) == null ? void 0 : N.phaseId) ?? null, m();
4872
+ }, j = (T) => {
4873
+ o.phaseId = T, m();
4874
+ }, P = (T) => {
4875
+ const N = Gc.get(T);
4876
+ o.selectedPanel = T, o.api = N.api, o.columns = N.columns, m();
4875
4877
  };
4876
- return (A, N) => lt(A.$slots, "default", Xr(Qr({
4878
+ return (T, N) => lt(T.$slots, "default", Xr(Qr({
4877
4879
  ...o,
4878
4880
  sort: v(i),
4879
4881
  phases: h.value,
@@ -5141,11 +5143,11 @@ const Mc = Dc, Ec = (t, e) => {
5141
5143
  seasons: x,
5142
5144
  isLoading: j,
5143
5145
  selectedPanel: P,
5144
- championships: A,
5146
+ championships: T,
5145
5147
  championshipId: N,
5146
5148
  selectedChampionshipId: Y,
5147
5149
  onSort: E,
5148
- changePanel: T,
5150
+ changePanel: A,
5149
5151
  changePhase: G,
5150
5152
  changeSeason: Z,
5151
5153
  changeChampionship: _
@@ -5158,7 +5160,7 @@ const Mc = Dc, Ec = (t, e) => {
5158
5160
  D("div", {
5159
5161
  class: J(v(i))
5160
5162
  }, [
5161
- (O(!0), M(pt, null, kt(A, (S) => (O(), M("button", {
5163
+ (O(!0), M(pt, null, kt(T, (S) => (O(), M("button", {
5162
5164
  key: S.phaseId,
5163
5165
  onClick: (z) => _(S.sectionId),
5164
5166
  class: J([v(a), { "is-active": S.sectionId === Y }])
@@ -5174,11 +5176,11 @@ const Mc = Dc, Ec = (t, e) => {
5174
5176
  }, [
5175
5177
  D("button", {
5176
5178
  class: J([v(a), { "is-active": P === v(oe) }]),
5177
- onClick: (S) => T(v(oe))
5179
+ onClick: (S) => A(v(oe))
5178
5180
  }, " Menetrend ", 10, lu),
5179
5181
  D("button", {
5180
5182
  class: J([v(a), { "is-active": P === v(Yr) }]),
5181
- onClick: (S) => T(v(Yr))
5183
+ onClick: (S) => A(v(Yr))
5182
5184
  }, " Tabella ", 10, cu)
5183
5185
  ], 2),
5184
5186
  q(v(gl), {
@@ -5308,7 +5310,7 @@ const Mc = Dc, Ec = (t, e) => {
5308
5310
  }
5309
5311
  },
5310
5312
  setup(t) {
5311
- const e = t, r = Tt({
5313
+ const e = t, r = At({
5312
5314
  seasons: [],
5313
5315
  championshipId: null,
5314
5316
  sections: [],
@@ -5354,7 +5356,7 @@ const Mc = Dc, Ec = (t, e) => {
5354
5356
  return (f, h) => lt(f.$slots, "default", Xr(Qr({
5355
5357
  rows: u.value,
5356
5358
  isLoading: c.value,
5357
- values: v(Tc)(["phaseId"], r),
5359
+ values: v(Ac)(["phaseId"], r),
5358
5360
  listeners: { onChangeSection: m, onChangeSeason: d }
5359
5361
  })));
5360
5362
  }
@@ -5521,7 +5523,7 @@ const Mc = Dc, Ec = (t, e) => {
5521
5523
  }, 8, ["locale"]));
5522
5524
  }
5523
5525
  }, _u = /* @__PURE__ */ zn(ku, [["styles", [mn, hn, vn, bn, yn, wn, xn]]]), ju = to(du), Ou = to(_u);
5524
- function Au() {
5526
+ function Tu() {
5525
5527
  customElements.define("mjsz-vbr-championship", ju), customElements.define("mjsz-vbr-schedule-cup", Ou);
5526
5528
  }
5527
5529
  export {
@@ -5529,6 +5531,6 @@ export {
5529
5531
  ju as ChampionshipCE,
5530
5532
  _u as ScheduleCup,
5531
5533
  Ou as ScheduleCupCE,
5532
- Au as default,
5533
- Au as register
5534
+ Tu as default,
5535
+ Tu as register
5534
5536
  };