@mjsz-vbr-elements/gamecenter 2.1.0-rc.4 → 2.1.0-rc.5

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.
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * name: @mjsz-vbr-elements/gamecenter
3
- * version: v2.1.0-rc.4 - 23/11/2023, 16:45:42
3
+ * version: v2.1.0-rc.5 - 24/11/2023, 21:26:42
4
4
  * (c) 2023
5
5
  * description: Data visualization for MJSZ VBR
6
6
  * author: Ákos Stegner <akos.stegner@gmail.com>
Binary file
Binary file
package/dist/index.js CHANGED
@@ -1,18 +1,18 @@
1
1
  /**
2
2
  * name: @mjsz-vbr-elements/gamecenter
3
- * version: v2.1.0-rc.4 - 23/11/2023, 16:45:42
3
+ * version: v2.1.0-rc.5 - 24/11/2023, 21:26:42
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 { getCurrentScope as zn, onScopeDispose as jn, unref as d, ref as B, readonly as cr, watch as he, reactive as St, defineComponent as xn, h as No, computed as E, provide as Lo, openBlock as y, createElementBlock as S, normalizeClass as U, createVNode as N, createElementVNode as b, toDisplayString as P, shallowRef as Or, inject as Co, Fragment as R, renderSlot as fe, normalizeStyle as qt, Transition as Go, withCtx as se, createTextVNode as Y, createCommentVNode as L, toRefs as Sn, isRef as Tn, renderList as Se, createBlock as Z, withKeys as kr, withModifiers as Qt, setBlockTracking as ze, mergeProps as Tt, toHandlers as At, resolveDynamicComponent as Ho, defineCustomElement as Bo } from "vue";
8
+ import { getCurrentScope as zn, onScopeDispose as jn, unref as d, ref as B, readonly as cr, watch as he, reactive as St, defineComponent as xn, h as No, computed as E, provide as Lo, openBlock as y, createElementBlock as S, normalizeClass as U, createVNode as N, createElementVNode as b, toDisplayString as P, shallowRef as Or, inject as Co, Fragment as R, renderSlot as fe, normalizeStyle as Kt, Transition as Go, withCtx as se, createTextVNode as Y, createCommentVNode as L, toRefs as Sn, isRef as Tn, renderList as Se, createBlock as Z, withKeys as kr, withModifiers as Qt, setBlockTracking as ze, mergeProps as Tt, toHandlers as At, resolveDynamicComponent as Ho, defineCustomElement as Bo } from "vue";
9
9
  import { SORT_STATE_ASCEND as bt, SORT_STATE_DESCEND as Oe } from "@mjsz-vbr-elements/core";
10
- function q(e) {
10
+ function K(e) {
11
11
  return e != null && typeof e == "object" && e["@@functional/placeholder"] === !0;
12
12
  }
13
13
  function ae(e) {
14
14
  return function t(r) {
15
- return arguments.length === 0 || q(r) ? t : e.apply(this, arguments);
15
+ return arguments.length === 0 || K(r) ? t : e.apply(this, arguments);
16
16
  };
17
17
  }
18
18
  function te(e) {
@@ -21,13 +21,13 @@ function te(e) {
21
21
  case 0:
22
22
  return t;
23
23
  case 1:
24
- return q(r) ? t : ae(function(o) {
24
+ return K(r) ? t : ae(function(o) {
25
25
  return e(r, o);
26
26
  });
27
27
  default:
28
- return q(r) && q(n) ? t : q(r) ? ae(function(o) {
28
+ return K(r) && K(n) ? t : K(r) ? ae(function(o) {
29
29
  return e(o, n);
30
- }) : q(n) ? ae(function(o) {
30
+ }) : K(n) ? ae(function(o) {
31
31
  return e(r, o);
32
32
  }) : e(r, n);
33
33
  }
@@ -87,7 +87,7 @@ function ur(e, t, r) {
87
87
  return function() {
88
88
  for (var n = [], o = 0, a = e, i = 0; i < t.length || o < arguments.length; ) {
89
89
  var s;
90
- i < t.length && (!q(t[i]) || o >= arguments.length) ? s = t[i] : (s = arguments[o], o += 1), n[i] = s, q(s) || (a -= 1), i += 1;
90
+ i < t.length && (!K(t[i]) || o >= arguments.length) ? s = t[i] : (s = arguments[o], o += 1), n[i] = s, K(s) || (a -= 1), i += 1;
91
91
  }
92
92
  return a <= 0 ? r.apply(this, n) : Dt(a, ur(e, n, r));
93
93
  };
@@ -101,29 +101,29 @@ function ut(e) {
101
101
  case 0:
102
102
  return t;
103
103
  case 1:
104
- return q(r) ? t : te(function(a, i) {
104
+ return K(r) ? t : te(function(a, i) {
105
105
  return e(r, a, i);
106
106
  });
107
107
  case 2:
108
- return q(r) && q(n) ? t : q(r) ? te(function(a, i) {
108
+ return K(r) && K(n) ? t : K(r) ? te(function(a, i) {
109
109
  return e(a, n, i);
110
- }) : q(n) ? te(function(a, i) {
110
+ }) : K(n) ? te(function(a, i) {
111
111
  return e(r, a, i);
112
112
  }) : ae(function(a) {
113
113
  return e(r, n, a);
114
114
  });
115
115
  default:
116
- return q(r) && q(n) && q(o) ? t : q(r) && q(n) ? te(function(a, i) {
116
+ return K(r) && K(n) && K(o) ? t : K(r) && K(n) ? te(function(a, i) {
117
117
  return e(a, i, o);
118
- }) : q(r) && q(o) ? te(function(a, i) {
118
+ }) : K(r) && K(o) ? te(function(a, i) {
119
119
  return e(a, n, i);
120
- }) : q(n) && q(o) ? te(function(a, i) {
120
+ }) : K(n) && K(o) ? te(function(a, i) {
121
121
  return e(r, a, i);
122
- }) : q(r) ? ae(function(a) {
122
+ }) : K(r) ? ae(function(a) {
123
123
  return e(a, n, o);
124
- }) : q(n) ? ae(function(a) {
124
+ }) : K(n) ? ae(function(a) {
125
125
  return e(r, a, o);
126
- }) : q(o) ? ae(function(a) {
126
+ }) : K(o) ? ae(function(a) {
127
127
  return e(r, n, a);
128
128
  }) : e(r, n, o);
129
129
  }
@@ -352,7 +352,7 @@ function On(e, t, r) {
352
352
  }
353
353
  return -1;
354
354
  }
355
- function Ko(e, t) {
355
+ function qo(e, t) {
356
356
  return On(t, e, 0) >= 0;
357
357
  }
358
358
  function wt(e, t) {
@@ -366,7 +366,7 @@ function Vt(e) {
366
366
  }
367
367
  var Je = function(t) {
368
368
  return (t < 10 ? "0" : "") + t;
369
- }, qo = typeof Date.prototype.toISOString == "function" ? function(t) {
369
+ }, Ko = typeof Date.prototype.toISOString == "function" ? function(t) {
370
370
  return t.toISOString();
371
371
  } : function(t) {
372
372
  return t.getUTCFullYear() + "-" + Je(t.getUTCMonth() + 1) + "-" + Je(t.getUTCDate()) + "T" + Je(t.getUTCHours()) + ":" + Je(t.getUTCMinutes()) + ":" + Je(t.getUTCSeconds()) + "." + (t.getUTCMilliseconds() / 1e3).toFixed(3).slice(2, 5) + "Z";
@@ -418,7 +418,7 @@ const Ve = ta;
418
418
  function Mn(e, t) {
419
419
  var r = function(i) {
420
420
  var s = t.concat([e]);
421
- return Ko(i, s) ? "<Circular>" : Mn(i, s);
421
+ return qo(i, s) ? "<Circular>" : Mn(i, s);
422
422
  }, n = function(a, i) {
423
423
  return wt(function(s) {
424
424
  return Vt(s) + ": " + r(a[s]);
@@ -434,7 +434,7 @@ function Mn(e, t) {
434
434
  case "[object Boolean]":
435
435
  return typeof e == "object" ? "new Boolean(" + r(e.valueOf()) + ")" : e.toString();
436
436
  case "[object Date]":
437
- return "new Date(" + (isNaN(e.valueOf()) ? r(NaN) : Vt(qo(e))) + ")";
437
+ return "new Date(" + (isNaN(e.valueOf()) ? r(NaN) : Vt(Ko(e))) + ")";
438
438
  case "[object Map]":
439
439
  return "new Map(" + r(Array.from(e)) + ")";
440
440
  case "[object Null]":
@@ -791,15 +791,15 @@ var Wa = /* @__PURE__ */ te(function(t, r) {
791
791
  return a < i ? -1 : a > i ? 1 : 0;
792
792
  });
793
793
  });
794
- const Ka = Wa;
795
- var qa = /* @__PURE__ */ te(function(t, r) {
794
+ const qa = Wa;
795
+ var Ka = /* @__PURE__ */ te(function(t, r) {
796
796
  return Array.prototype.slice.call(r, 0).sort(function(n, o) {
797
797
  for (var a = 0, i = 0; a === 0 && i < t.length; )
798
798
  a = t[i](n, o), i += 1;
799
799
  return a;
800
800
  });
801
801
  });
802
- const Qa = qa;
802
+ const Qa = Ka;
803
803
  var Za = /* @__PURE__ */ hr(1, "split");
804
804
  const Ja = Za;
805
805
  function Xa(e) {
@@ -1334,7 +1334,7 @@ function ee(e) {
1334
1334
  return arguments.length === 0 || Q(r) ? t : e.apply(this, arguments);
1335
1335
  };
1336
1336
  }
1337
- function K(e) {
1337
+ function q(e) {
1338
1338
  return function t(r, n) {
1339
1339
  switch (arguments.length) {
1340
1340
  case 0:
@@ -1411,7 +1411,7 @@ function wr(e, t, r) {
1411
1411
  return a <= 0 ? r.apply(this, n) : Lt(a, wr(e, n, r));
1412
1412
  };
1413
1413
  }
1414
- var gt = /* @__PURE__ */ K(function(e, t) {
1414
+ var gt = /* @__PURE__ */ q(function(e, t) {
1415
1415
  return e === 1 ? ee(t) : Lt(e, wr(e, [], t));
1416
1416
  });
1417
1417
  function ye(e) {
@@ -1420,23 +1420,23 @@ function ye(e) {
1420
1420
  case 0:
1421
1421
  return t;
1422
1422
  case 1:
1423
- return Q(r) ? t : K(function(a, i) {
1423
+ return Q(r) ? t : q(function(a, i) {
1424
1424
  return e(r, a, i);
1425
1425
  });
1426
1426
  case 2:
1427
- return Q(r) && Q(n) ? t : Q(r) ? K(function(a, i) {
1427
+ return Q(r) && Q(n) ? t : Q(r) ? q(function(a, i) {
1428
1428
  return e(a, n, i);
1429
- }) : Q(n) ? K(function(a, i) {
1429
+ }) : Q(n) ? q(function(a, i) {
1430
1430
  return e(r, a, i);
1431
1431
  }) : ee(function(a) {
1432
1432
  return e(r, n, a);
1433
1433
  });
1434
1434
  default:
1435
- return Q(r) && Q(n) && Q(o) ? t : Q(r) && Q(n) ? K(function(a, i) {
1435
+ return Q(r) && Q(n) && Q(o) ? t : Q(r) && Q(n) ? q(function(a, i) {
1436
1436
  return e(a, i, o);
1437
- }) : Q(r) && Q(o) ? K(function(a, i) {
1437
+ }) : Q(r) && Q(o) ? q(function(a, i) {
1438
1438
  return e(a, n, i);
1439
- }) : Q(n) && Q(o) ? K(function(a, i) {
1439
+ }) : Q(n) && Q(o) ? q(function(a, i) {
1440
1440
  return e(r, a, i);
1441
1441
  }) : Q(r) ? ee(function(a) {
1442
1442
  return e(a, n, o);
@@ -1511,17 +1511,17 @@ function Ui(e, t) {
1511
1511
  return e === t ? e !== 0 || 1 / e === 1 / t : e !== e && t !== t;
1512
1512
  }
1513
1513
  const Yt = typeof Object.is == "function" ? Object.is : Ui;
1514
- var Kr = Object.prototype.toString, Un = /* @__PURE__ */ function() {
1515
- return Kr.call(arguments) === "[object Arguments]" ? function(e) {
1516
- return Kr.call(e) === "[object Arguments]";
1514
+ var qr = Object.prototype.toString, Un = /* @__PURE__ */ function() {
1515
+ return qr.call(arguments) === "[object Arguments]" ? function(e) {
1516
+ return qr.call(e) === "[object Arguments]";
1517
1517
  } : function(e) {
1518
1518
  return pe("callee", e);
1519
1519
  };
1520
1520
  }(), Wi = !/* @__PURE__ */ {
1521
1521
  toString: null
1522
- }.propertyIsEnumerable("toString"), qr = ["constructor", "valueOf", "isPrototypeOf", "toString", "propertyIsEnumerable", "hasOwnProperty", "toLocaleString"], Qr = /* @__PURE__ */ function() {
1522
+ }.propertyIsEnumerable("toString"), Kr = ["constructor", "valueOf", "isPrototypeOf", "toString", "propertyIsEnumerable", "hasOwnProperty", "toLocaleString"], Qr = /* @__PURE__ */ function() {
1523
1523
  return arguments.propertyIsEnumerable("length");
1524
- }(), Ki = function(e, t) {
1524
+ }(), qi = function(e, t) {
1525
1525
  for (var r = 0; r < e.length; ) {
1526
1526
  if (e[r] === t)
1527
1527
  return !0;
@@ -1537,8 +1537,8 @@ var Kr = Object.prototype.toString, Un = /* @__PURE__ */ function() {
1537
1537
  for (t in e)
1538
1538
  pe(t, e) && (!o || t !== "length") && (n[n.length] = t);
1539
1539
  if (Wi)
1540
- for (r = qr.length - 1; r >= 0; )
1541
- t = qr[r], pe(t, e) && !Ki(n, t) && (n[n.length] = t), r -= 1;
1540
+ for (r = Kr.length - 1; r >= 0; )
1541
+ t = Kr[r], pe(t, e) && !qi(n, t) && (n[n.length] = t), r -= 1;
1542
1542
  return n;
1543
1543
  }), tr = /* @__PURE__ */ ee(function(e) {
1544
1544
  return e === null ? "Null" : e === void 0 ? "Undefined" : Object.prototype.toString.call(e).slice(8, -1);
@@ -1631,10 +1631,10 @@ function jr(e, t, r, n) {
1631
1631
  }
1632
1632
  return !0;
1633
1633
  }
1634
- var Ot = /* @__PURE__ */ K(function(e, t) {
1634
+ var Ot = /* @__PURE__ */ q(function(e, t) {
1635
1635
  return jr(e, t, [], []);
1636
1636
  });
1637
- function qi(e, t, r) {
1637
+ function Ki(e, t, r) {
1638
1638
  var n, o;
1639
1639
  if (typeof e.indexOf == "function")
1640
1640
  switch (typeof t) {
@@ -1672,7 +1672,7 @@ function qi(e, t, r) {
1672
1672
  return -1;
1673
1673
  }
1674
1674
  function Wn(e, t) {
1675
- return qi(t, e, 0) >= 0;
1675
+ return Ki(t, e, 0) >= 0;
1676
1676
  }
1677
1677
  function jt(e, t) {
1678
1678
  for (var r = 0, n = t.length, o = Array(n); r < n; )
@@ -1695,7 +1695,7 @@ function Zi(e) {
1695
1695
  return !e.apply(this, arguments);
1696
1696
  };
1697
1697
  }
1698
- function Kn(e, t, r) {
1698
+ function qn(e, t, r) {
1699
1699
  for (var n = 0, o = r.length; n < o; )
1700
1700
  t = e(t, r[n]), n += 1;
1701
1701
  return t;
@@ -1721,17 +1721,17 @@ function es(e) {
1721
1721
  return new Xi(e, t);
1722
1722
  };
1723
1723
  }
1724
- var qn = /* @__PURE__ */ K(
1724
+ var Kn = /* @__PURE__ */ q(
1725
1725
  /* @__PURE__ */ zr(["fantasy-land/filter", "filter"], es, function(e, t) {
1726
- return kt(t) ? Kn(function(r, n) {
1726
+ return kt(t) ? qn(function(r, n) {
1727
1727
  return e(t[n]) && (r[n] = t[n]), r;
1728
1728
  }, {}, Ge(t)) : (
1729
1729
  // else
1730
1730
  Ji(e, t)
1731
1731
  );
1732
1732
  })
1733
- ), ts = /* @__PURE__ */ K(function(e, t) {
1734
- return qn(Zi(e), t);
1733
+ ), ts = /* @__PURE__ */ q(function(e, t) {
1734
+ return Kn(Zi(e), t);
1735
1735
  });
1736
1736
  function Qn(e, t) {
1737
1737
  var r = function(a) {
@@ -1776,7 +1776,7 @@ function Qn(e, t) {
1776
1776
  }
1777
1777
  var rr = /* @__PURE__ */ ee(function(e) {
1778
1778
  return Qn(e, []);
1779
- }), rs = /* @__PURE__ */ K(function(e, t) {
1779
+ }), rs = /* @__PURE__ */ q(function(e, t) {
1780
1780
  if (e === t)
1781
1781
  return t;
1782
1782
  function r(s, l) {
@@ -1802,7 +1802,7 @@ var rr = /* @__PURE__ */ ee(function(e) {
1802
1802
  return function(t) {
1803
1803
  return new ns(e, t);
1804
1804
  };
1805
- }, as = /* @__PURE__ */ K(
1805
+ }, as = /* @__PURE__ */ q(
1806
1806
  /* @__PURE__ */ zr(["fantasy-land/map", "map"], os, function(e, t) {
1807
1807
  switch (Object.prototype.toString.call(t)) {
1808
1808
  case "[object Function]":
@@ -1810,7 +1810,7 @@ var rr = /* @__PURE__ */ ee(function(e) {
1810
1810
  return e.call(this, t.apply(this, arguments));
1811
1811
  });
1812
1812
  case "[object Object]":
1813
- return Kn(function(r, n) {
1813
+ return qn(function(r, n) {
1814
1814
  return r[n] = e(t[n]), r;
1815
1815
  }, {}, Ge(t));
1816
1816
  default:
@@ -1824,15 +1824,15 @@ const _e = as, Ct = Number.isInteger || function(e) {
1824
1824
  function Gt(e) {
1825
1825
  return Object.prototype.toString.call(e) === "[object String]";
1826
1826
  }
1827
- var Zn = /* @__PURE__ */ K(function(e, t) {
1827
+ var Zn = /* @__PURE__ */ q(function(e, t) {
1828
1828
  var r = e < 0 ? t.length + e : e;
1829
1829
  return Gt(t) ? t.charAt(r) : t[r];
1830
- }), is = /* @__PURE__ */ K(function(e, t) {
1830
+ }), is = /* @__PURE__ */ q(function(e, t) {
1831
1831
  if (t != null)
1832
1832
  return Ct(e) ? Zn(e, t) : t[e];
1833
1833
  });
1834
1834
  const Ue = is;
1835
- var ss = /* @__PURE__ */ K(function(e, t) {
1835
+ var ss = /* @__PURE__ */ q(function(e, t) {
1836
1836
  return _e(Ue(e), t);
1837
1837
  }), ls = /* @__PURE__ */ ee(function(e) {
1838
1838
  return mt(e) ? !0 : !e || typeof e != "object" || Gt(e) ? !1 : e.length === 0 ? !0 : e.length > 0 ? e.hasOwnProperty(0) && e.hasOwnProperty(e.length - 1) : !1;
@@ -1864,7 +1864,7 @@ function us(e, t, r) {
1864
1864
  }
1865
1865
  return e["@@transducer/result"](t);
1866
1866
  }
1867
- var ds = /* @__PURE__ */ K(function(e, t) {
1867
+ var ds = /* @__PURE__ */ q(function(e, t) {
1868
1868
  return Lt(e.length, function() {
1869
1869
  return e.apply(t, arguments);
1870
1870
  });
@@ -2117,7 +2117,7 @@ var Rs = /* @__PURE__ */ ee(function(e) {
2117
2117
  return e != null && typeof e["fantasy-land/empty"] == "function" ? e["fantasy-land/empty"]() : e != null && e.constructor != null && typeof e.constructor["fantasy-land/empty"] == "function" ? e.constructor["fantasy-land/empty"]() : e != null && typeof e.empty == "function" ? e.empty() : e != null && e.constructor != null && typeof e.constructor.empty == "function" ? e.constructor.empty() : mt(e) ? [] : Gt(e) ? "" : kt(e) ? {} : Un(e) ? function() {
2118
2118
  return arguments;
2119
2119
  }() : Bs(e) ? e.constructor.from("") : void 0;
2120
- }), Fs = /* @__PURE__ */ K(
2120
+ }), Fs = /* @__PURE__ */ q(
2121
2121
  /* @__PURE__ */ Sr(
2122
2122
  "groupBy",
2123
2123
  /* @__PURE__ */ Cs(function(e, t) {
@@ -2132,9 +2132,9 @@ var Ys = /* @__PURE__ */ ye(function(e, t, r) {
2132
2132
  });
2133
2133
  });
2134
2134
  const Us = Ys;
2135
- var Ws = /* @__PURE__ */ K(Wn);
2136
- const Ks = Ws;
2137
- var qs = /* @__PURE__ */ K(function(e, t) {
2135
+ var Ws = /* @__PURE__ */ q(Wn);
2136
+ const qs = Ws;
2137
+ var Ks = /* @__PURE__ */ q(function(e, t) {
2138
2138
  return gt(e + 1, function() {
2139
2139
  var r = arguments[e];
2140
2140
  if (r != null && Ss(r[t]))
@@ -2142,12 +2142,12 @@ var qs = /* @__PURE__ */ K(function(e, t) {
2142
2142
  throw new TypeError(rr(r) + ' does not have a method named "' + t + '"');
2143
2143
  });
2144
2144
  });
2145
- const ro = qs;
2145
+ const ro = Ks;
2146
2146
  var Qs = /* @__PURE__ */ ee(function(e) {
2147
2147
  return e != null && Ot(e, Rs(e));
2148
2148
  });
2149
2149
  const Zs = Qs;
2150
- var Js = /* @__PURE__ */ K(function(e, t) {
2150
+ var Js = /* @__PURE__ */ q(function(e, t) {
2151
2151
  return function(r) {
2152
2152
  return function(n) {
2153
2153
  return _e(function(o) {
@@ -2155,7 +2155,7 @@ var Js = /* @__PURE__ */ K(function(e, t) {
2155
2155
  }, r(e(n)));
2156
2156
  };
2157
2157
  };
2158
- }), Xs = /* @__PURE__ */ K(function(e, t) {
2158
+ }), Xs = /* @__PURE__ */ q(function(e, t) {
2159
2159
  return e.map(function(r) {
2160
2160
  for (var n = t, o = 0, a; o < r.length; ) {
2161
2161
  if (n == null)
@@ -2164,7 +2164,7 @@ var Js = /* @__PURE__ */ K(function(e, t) {
2164
2164
  }
2165
2165
  return n;
2166
2166
  });
2167
- }), el = /* @__PURE__ */ K(function(e, t) {
2167
+ }), el = /* @__PURE__ */ q(function(e, t) {
2168
2168
  return Xs([e], t)[0];
2169
2169
  });
2170
2170
  const no = el;
@@ -2184,13 +2184,13 @@ var nl = /* @__PURE__ */ ye(function(e, t, r) {
2184
2184
  return nl(function(o, a, i) {
2185
2185
  return kt(a) && kt(i) ? e(t, a, i) : t(o, a, i);
2186
2186
  }, r, n);
2187
- }), al = /* @__PURE__ */ K(function(e, t) {
2187
+ }), al = /* @__PURE__ */ q(function(e, t) {
2188
2188
  return ol(function(r, n, o) {
2189
2189
  return o;
2190
2190
  }, e, t);
2191
2191
  });
2192
2192
  const il = al;
2193
- var sl = /* @__PURE__ */ K(function(e, t) {
2193
+ var sl = /* @__PURE__ */ q(function(e, t) {
2194
2194
  for (var r = {}, n = {}, o = 0, a = e.length; o < a; )
2195
2195
  n[e[o]] = 1, o += 1;
2196
2196
  for (var i in t)
@@ -2215,11 +2215,11 @@ var dl = /* @__PURE__ */ ye(function(e, t, r) {
2215
2215
  return r.replace(e, t);
2216
2216
  });
2217
2217
  const gl = dl;
2218
- var ml = /* @__PURE__ */ K(function(e, t) {
2218
+ var ml = /* @__PURE__ */ q(function(e, t) {
2219
2219
  return Array.prototype.slice.call(t, 0).sort(e);
2220
2220
  });
2221
2221
  const fl = ml;
2222
- var pl = /* @__PURE__ */ K(function(e, t) {
2222
+ var pl = /* @__PURE__ */ q(function(e, t) {
2223
2223
  return Array.prototype.slice.call(t, 0).sort(function(r, n) {
2224
2224
  for (var o = 0, a = 0; o === 0 && a < e.length; )
2225
2225
  o = e[a](r, n), a += 1;
@@ -2466,7 +2466,7 @@ const Wl = { start: "end", end: "start" };
2466
2466
  function Wt(e) {
2467
2467
  return e.replace(/start|end/g, (t) => Wl[t]);
2468
2468
  }
2469
- const Kl = function(e) {
2469
+ const ql = function(e) {
2470
2470
  return e === void 0 && (e = {}), { name: "flip", options: e, async fn(t) {
2471
2471
  var r;
2472
2472
  const { placement: n, middlewareData: o, rects: a, initialPlacement: i, platform: s, elements: l } = t, { mainAxis: u = !0, crossAxis: g = !0, fallbackPlacements: c, fallbackStrategy: m = "bestFit", fallbackAxisSideDirection: f = "none", flipAlignment: h = !0, ...p } = e, v = Le(n), w = Le(i) === i, z = await (s.isRTL == null ? void 0 : s.isRTL(l.floating)), T = c || (w || !h ? [_t(i)] : function(V) {
@@ -2518,7 +2518,7 @@ const Kl = function(e) {
2518
2518
  }
2519
2519
  return {};
2520
2520
  } };
2521
- }, ql = function(e) {
2521
+ }, Kl = function(e) {
2522
2522
  return e === void 0 && (e = 0), { name: "offset", options: e, async fn(t) {
2523
2523
  const { x: r, y: n } = t, o = await async function(a, i) {
2524
2524
  const { placement: s, platform: l, elements: u } = a, g = await (l.isRTL == null ? void 0 : l.isRTL(u.floating)), c = Le(s), m = ft(s), f = pt(s) === "x", h = ["left", "top"].includes(c) ? -1 : 1, p = g && f ? -1 : 1, v = typeof i == "function" ? i(a) : i;
@@ -2854,7 +2854,7 @@ const ac = (e) => {
2854
2854
  return Tn(t) ? t.value != null ? nn({ element: t.value, padding: r }).fn(n) : {} : t ? nn({ element: t, padding: r }).fn(n) : {};
2855
2855
  }
2856
2856
  };
2857
- }, ic = ["data-placement"], Ke = {
2857
+ }, ic = ["data-placement"], qe = {
2858
2858
  __name: "FloatingPanel",
2859
2859
  props: {
2860
2860
  disabled: {
@@ -2885,7 +2885,7 @@ const ac = (e) => {
2885
2885
  setup(e) {
2886
2886
  const t = e, r = B(!1), n = B(null), { x: o, y: a, arrowX: i, arrowY: s, placement: l, reference: u, floating: g, strategy: c } = oc({
2887
2887
  placement: t.placement,
2888
- middleware: [Kl(), Zl({ padding: 5 }), ql(t.offset), ac({ element: n, padding: 5 })],
2888
+ middleware: [ql(), Zl({ padding: 5 }), Kl(t.offset), ac({ element: n, padding: 5 })],
2889
2889
  append: E(() => t.appendTo),
2890
2890
  enabled: r
2891
2891
  }), m = () => {
@@ -2914,7 +2914,7 @@ const ac = (e) => {
2914
2914
  ref_key: "floating",
2915
2915
  ref: g,
2916
2916
  "data-placement": d(l),
2917
- style: qt({
2917
+ style: Kt({
2918
2918
  position: d(c),
2919
2919
  top: d(a) ? `${d(a)}px` : "",
2920
2920
  left: d(o) ? `${d(o)}px` : ""
@@ -2936,7 +2936,7 @@ const ac = (e) => {
2936
2936
  ref_key: "arrowRef",
2937
2937
  ref: n,
2938
2938
  class: "is-arrow",
2939
- style: qt({
2939
+ style: Kt({
2940
2940
  position: d(c),
2941
2941
  top: d(s) ? `${d(s)}px` : "",
2942
2942
  left: d(i) ? `${d(i)}px` : ""
@@ -2983,7 +2983,7 @@ const ac = (e) => {
2983
2983
  }, [
2984
2984
  b("thead", null, [
2985
2985
  b("tr", null, [
2986
- (y(!0), S(R, null, Se(l.value, (f, h) => (y(), Z(Ke, {
2986
+ (y(!0), S(R, null, Se(l.value, (f, h) => (y(), Z(qe, {
2987
2987
  key: h,
2988
2988
  placement: "top",
2989
2989
  content: f.tooltip,
@@ -4456,8 +4456,8 @@ var Ao = { exports: {} };
4456
4456
  };
4457
4457
  });
4458
4458
  })(Ao);
4459
- var Kc = Ao.exports;
4460
- const qc = /* @__PURE__ */ De(Kc);
4459
+ var qc = Ao.exports;
4460
+ const Kc = /* @__PURE__ */ De(qc);
4461
4461
  var Po = { exports: {} };
4462
4462
  (function(e, t) {
4463
4463
  (function(r, n) {
@@ -4543,7 +4543,7 @@ ge.extend(Gc);
4543
4543
  ge.extend(Bc);
4544
4544
  ge.extend(Fc);
4545
4545
  ge.extend(Zc);
4546
- ge.extend(qc);
4546
+ ge.extend(Kc);
4547
4547
  ge.extend(Yc);
4548
4548
  ge.extend(Wc);
4549
4549
  const at = (e = "", t = "", r = "", n = "hu") => (r = r || ge.tz.guess(), ge(e).isValid() ? ge(e).tz(r).locale(n).format(t) : ""), Xc = (e = "", t = "", r = "hu") => {
@@ -4667,7 +4667,7 @@ var gn;
4667
4667
  e[e.NotStarted = 0] = "NotStarted", e[e.Running = 1] = "Running", e[e.Stopped = 2] = "Stopped";
4668
4668
  })(gn || (gn = {}));
4669
4669
  var au = { type: "xstate.init" };
4670
- function Kt(e) {
4670
+ function qt(e) {
4671
4671
  return e === void 0 ? [] : [].concat(e);
4672
4672
  }
4673
4673
  function mn(e, t) {
@@ -4699,12 +4699,12 @@ function pn(e, t, r) {
4699
4699
  }
4700
4700
  function su(e, t) {
4701
4701
  t === void 0 && (t = {});
4702
- var r = dn(pn(Kt(e.states[e.initial].entry).map(function(i) {
4702
+ var r = dn(pn(qt(e.states[e.initial].entry).map(function(i) {
4703
4703
  return mn(i, t.actions);
4704
4704
  }), e.context, au), 2), n = r[0], o = r[1], a = { config: e, _options: t, initialState: { value: e.initial, actions: n, context: o, matches: lr(e.initial) }, transition: function(i, s) {
4705
4705
  var l, u, g = typeof i == "string" ? { value: i, context: e.context } : i, c = g.value, m = g.context, f = iu(s), h = e.states[c];
4706
4706
  if (h.on) {
4707
- var p = Kt(h.on[f.type]);
4707
+ var p = qt(h.on[f.type]);
4708
4708
  try {
4709
4709
  for (var v = function(j) {
4710
4710
  var _ = typeof Symbol == "function" && Symbol.iterator, D = _ && j[_], H = 0;
@@ -4723,7 +4723,7 @@ function su(e, t) {
4723
4723
  return !0;
4724
4724
  } : F, G = k === void 0, I = k ?? c, V = e.states[I];
4725
4725
  if (W(m, f)) {
4726
- var ne = dn(pn((G ? Kt(C) : [].concat(h.exit, C, V.entry).filter(function(j) {
4726
+ var ne = dn(pn((G ? qt(C) : [].concat(h.exit, C, V.entry).filter(function(j) {
4727
4727
  return j;
4728
4728
  })).map(function(j) {
4729
4729
  return mn(j, a._options.actions);
@@ -4814,8 +4814,8 @@ const gu = (e = []) => ({
4814
4814
  filter(t, r = [], n = !1) {
4815
4815
  if (t) {
4816
4816
  const o = r.map(
4817
- (s) => n ? xt(no(s), Ot(t)) : xt(Ue(s), en, Ks(en(t)))
4818
- ), a = Es((s) => s.name ? ul(rl("name"), gl(",", ""), s) : s), i = qn(xt(a, bs([...o])), this.result);
4817
+ (s) => n ? xt(no(s), Ot(t)) : xt(Ue(s), en, qs(en(t)))
4818
+ ), a = Es((s) => s.name ? ul(rl("name"), gl(",", ""), s) : s), i = Kn(xt(a, bs([...o])), this.result);
4819
4819
  this.isFiltered = !0, this.filteredRowsLength = i.length, this.result = i;
4820
4820
  }
4821
4821
  return this;
@@ -5060,7 +5060,7 @@ const Io = (e) => Ln(". ", "-", e || ""), Do = (e) => {
5060
5060
  "entry_official_person_2",
5061
5061
  "entry_official_person_3"
5062
5062
  ]);
5063
- return Ye(Jt(r), Ka(n))(e);
5063
+ return Ye(Jt(r), qa(n))(e);
5064
5064
  }, Au = (e) => ({
5065
5065
  ...e,
5066
5066
  penaltyCause: Ye(ni, Ln("_", "-"))(e.penaltyCause)
@@ -5161,14 +5161,14 @@ const Ru = { render: Bu }, Fu = ["aria-valuenow", "aria-valuemax"], Vu = {
5161
5161
  "progress-bar-animated"
5162
5162
  )}`),
5163
5163
  role: "progressbar",
5164
- style: qt(`width: ${d(n) / d(r) * 100}%`),
5164
+ style: Kt(`width: ${d(n) / d(r) * 100}%`),
5165
5165
  "aria-valuenow": d(n),
5166
5166
  "aria-valuemin": "0",
5167
5167
  "aria-valuemax": d(r)
5168
5168
  }, null, 14, Fu)
5169
5169
  ], 2));
5170
5170
  }
5171
- }, Yu = { class: "is-title-container" }, Uu = { class: "is-external-contents" }, Wu = ["href"], Ku = ["href"], qu = { class: "is-teams-and-results" }, Qu = { class: "is-team-name" }, Zu = {
5171
+ }, Yu = { class: "is-title-container" }, Uu = { class: "is-external-contents" }, Wu = ["href"], qu = ["href"], Ku = { class: "is-teams-and-results" }, Qu = { class: "is-team-name" }, Zu = {
5172
5172
  key: 0,
5173
5173
  class: "is-game-status"
5174
5174
  }, Ju = {
@@ -5220,10 +5220,10 @@ const Ru = { render: Bu }, Fu = ["aria-valuenow", "aria-valuemax"], Vu = {
5220
5220
  }, [
5221
5221
  N(d(Nu), { class: "is-icon" }),
5222
5222
  Y(" " + P(d(t)("video")), 1)
5223
- ], 8, Ku)) : L("", !0)
5223
+ ], 8, qu)) : L("", !0)
5224
5224
  ])
5225
5225
  ]),
5226
- b("div", qu, [
5226
+ b("div", Ku, [
5227
5227
  n[3] || (ze(-1), n[3] = b("div", null, [
5228
5228
  N(d(sr), {
5229
5229
  src: e.gameData.homeTeam.logo,
@@ -5405,7 +5405,7 @@ const hd = { render: vd }, bd = ["innerHTML"], me = {
5405
5405
  }, {
5406
5406
  default: se(() => [
5407
5407
  Y(P(d(r)("teamsStats.advantageTime")) + " ", 1),
5408
- N(d(Ke), {
5408
+ N(d(qe), {
5409
5409
  offset: 2,
5410
5410
  placement: "top",
5411
5411
  theme: "content",
@@ -5473,7 +5473,7 @@ const Eo = { render: Ad }, Pd = ["aria-label"], vt = {
5473
5473
  setup(e) {
5474
5474
  const t = e, r = B(null), n = E(() => t.isHomeTeam ? Mo : _o);
5475
5475
  return (o, a) => (y(), S(R, null, [
5476
- N(d(Ke), {
5476
+ N(d(qe), {
5477
5477
  offset: 2,
5478
5478
  placement: "top",
5479
5479
  theme: "tooltip",
@@ -5571,7 +5571,7 @@ const Eo = { render: Ad }, Pd = ["aria-label"], vt = {
5571
5571
  ]),
5572
5572
  !d(ce)(o.value) || !d(ce)(a.value) ? (y(), S("dd", Cd, [
5573
5573
  b("ul", null, [
5574
- (y(!0), S(R, null, Se(o.value, (l) => (y(), Z(d(Ke), {
5574
+ (y(!0), S(R, null, Se(o.value, (l) => (y(), Z(d(qe), {
5575
5575
  key: l.playerId,
5576
5576
  offset: 2,
5577
5577
  placement: "top",
@@ -5592,7 +5592,7 @@ const Eo = { render: Ad }, Pd = ["aria-label"], vt = {
5592
5592
  ]),
5593
5593
  Hd,
5594
5594
  b("ul", null, [
5595
- (y(!0), S(R, null, Se(a.value, (l) => (y(), Z(d(Ke), {
5595
+ (y(!0), S(R, null, Se(a.value, (l) => (y(), Z(d(qe), {
5596
5596
  key: l.playerId,
5597
5597
  offset: 2,
5598
5598
  placement: "top",
@@ -5629,7 +5629,7 @@ const Eo = { render: Ad }, Pd = ["aria-label"], vt = {
5629
5629
  function Ud(e, t) {
5630
5630
  return y(), S("svg", Fd, Yd);
5631
5631
  }
5632
- const Wd = { render: Ud }, Kd = { class: "is-time-cell" }, qd = { class: "is-team-logo-cell" }, Qd = { class: "is-icon-cell" }, Zd = { class: "is-penalty-cell" }, Jd = ["aria-label"], Xd = { class: "is-light-cell" }, eg = { class: "is-light-cell" }, tg = { class: "is-evented-person" }, rg = { key: 0 }, ng = { class: "is-player-number" }, og = {
5632
+ const Wd = { render: Ud }, qd = { class: "is-time-cell" }, Kd = { class: "is-team-logo-cell" }, Qd = { class: "is-icon-cell" }, Zd = { class: "is-penalty-cell" }, Jd = ["aria-label"], Xd = { class: "is-light-cell" }, eg = { class: "is-light-cell" }, tg = { class: "is-evented-person" }, rg = { key: 0 }, ng = { class: "is-player-number" }, og = {
5633
5633
  __name: "Penalty",
5634
5634
  props: {
5635
5635
  event: {
@@ -5644,8 +5644,8 @@ const Wd = { render: Ud }, Kd = { class: "is-time-cell" }, qd = { class: "is-tea
5644
5644
  setup(e) {
5645
5645
  const t = e, r = B(null), { t: n } = we(), o = E(() => Au(t.event));
5646
5646
  return (a, i) => (y(), S(R, null, [
5647
- b("div", Kd, P(e.event.eventTime), 1),
5648
- b("div", qd, [
5647
+ b("div", qd, P(e.event.eventTime), 1),
5648
+ b("div", Kd, [
5649
5649
  (y(), Z(vt, {
5650
5650
  name: e.event.team.longName,
5651
5651
  logo: e.event.team.logo,
@@ -5661,7 +5661,7 @@ const Wd = { render: Ud }, Kd = { class: "is-time-cell" }, qd = { class: "is-tea
5661
5661
  })
5662
5662
  ]),
5663
5663
  b("div", Zd, [
5664
- N(d(Ke), {
5664
+ N(d(qe), {
5665
5665
  offset: 2,
5666
5666
  placement: "top",
5667
5667
  theme: "tooltip",
@@ -5923,7 +5923,7 @@ const Pg = { render: Ag }, Og = { class: "is-time-cell" }, kg = { class: "is-tea
5923
5923
  Yg
5924
5924
  ], 2));
5925
5925
  }
5926
- }, qe = {
5926
+ }, Ke = {
5927
5927
  __name: "GameDataTable",
5928
5928
  props: {
5929
5929
  columns: {
@@ -6031,7 +6031,7 @@ const Pg = { render: Ag }, Og = { class: "is-time-cell" }, kg = { class: "is-tea
6031
6031
  }, [
6032
6032
  N(yn, { rows: n.value }, {
6033
6033
  default: se(({ rows: s, sort: l, onSort: u }) => [
6034
- N(qe, {
6034
+ N(Ke, {
6035
6035
  columns: d(r),
6036
6036
  rows: s,
6037
6037
  title: e.homeTeamName,
@@ -6043,7 +6043,7 @@ const Pg = { render: Ag }, Og = { class: "is-time-cell" }, kg = { class: "is-tea
6043
6043
  }, 8, ["rows"]),
6044
6044
  N(yn, { rows: o.value }, {
6045
6045
  default: se(({ rows: s, sort: l, onSort: u }) => [
6046
- N(qe, {
6046
+ N(Ke, {
6047
6047
  columns: d(r),
6048
6048
  rows: s,
6049
6049
  title: e.awayTeamName,
@@ -6067,7 +6067,7 @@ const Pg = { render: Ag }, Og = { class: "is-time-cell" }, kg = { class: "is-tea
6067
6067
  const t = e, r = E(() => ko(t.rows, $o, fu(["mip"])));
6068
6068
  return (n, o) => fe(n.$slots, "default", { rows: r.value });
6069
6069
  }
6070
- }, Kg = {
6070
+ }, qg = {
6071
6071
  __name: "GameGoaliesStats",
6072
6072
  props: {
6073
6073
  data: {
@@ -6102,7 +6102,7 @@ const Pg = { render: Ag }, Og = { class: "is-time-cell" }, kg = { class: "is-tea
6102
6102
  }, [
6103
6103
  N(wn, { rows: o.value }, {
6104
6104
  default: se(({ rows: l }) => [
6105
- N(qe, {
6105
+ N(Ke, {
6106
6106
  columns: d(n),
6107
6107
  rows: l,
6108
6108
  title: e.homeTeamName
@@ -6112,7 +6112,7 @@ const Pg = { render: Ag }, Og = { class: "is-time-cell" }, kg = { class: "is-tea
6112
6112
  }, 8, ["rows"]),
6113
6113
  N(wn, { rows: a.value }, {
6114
6114
  default: se(({ rows: l }) => [
6115
- N(qe, {
6115
+ N(Ke, {
6116
6116
  columns: d(n),
6117
6117
  rows: l,
6118
6118
  title: e.awayTeamName
@@ -6122,7 +6122,7 @@ const Pg = { render: Ag }, Og = { class: "is-time-cell" }, kg = { class: "is-tea
6122
6122
  }, 8, ["rows"])
6123
6123
  ], 2));
6124
6124
  }
6125
- }, qg = {
6125
+ }, Kg = {
6126
6126
  __name: "GameOfficials",
6127
6127
  props: {
6128
6128
  gameOfficials: {
@@ -6208,12 +6208,12 @@ const Pg = { render: Ag }, Og = { class: "is-time-cell" }, kg = { class: "is-tea
6208
6208
  return (i, s) => (y(), S("div", {
6209
6209
  class: U(d(re)("gamecenter-data-columns"))
6210
6210
  }, [
6211
- N(qe, {
6211
+ N(Ke, {
6212
6212
  columns: d(r),
6213
6213
  rows: o.value,
6214
6214
  title: e.homeTeamName
6215
6215
  }, null, 8, ["columns", "rows", "title"]),
6216
- N(qe, {
6216
+ N(Ke, {
6217
6217
  columns: d(r),
6218
6218
  rows: a.value,
6219
6219
  title: e.awayTeamName
@@ -6576,7 +6576,7 @@ const Pg = { render: Ag }, Og = { class: "is-time-cell" }, kg = { class: "is-tea
6576
6576
  locale: t.locale
6577
6577
  }, null, 8, ["game-data", "locale"])),
6578
6578
  ((T = d(l)) == null ? void 0 : T.gameStatus) > 0 ? (y(), S(R, { key: 1 }, [
6579
- d(ce)(d(l)) ? L("", !0) : (y(), Z(qg, {
6579
+ d(ce)(d(l)) ? L("", !0) : (y(), Z(Kg, {
6580
6580
  key: 0,
6581
6581
  "game-data": d(l),
6582
6582
  "game-officials": d(h)
@@ -6599,7 +6599,7 @@ const Pg = { render: Ag }, Og = { class: "is-time-cell" }, kg = { class: "is-tea
6599
6599
  "away-team-id": d(l).awayTeam.id,
6600
6600
  "away-team-name": d(l).awayTeam.longName
6601
6601
  }, null, 8, ["data", "home-team-id", "home-team-name", "away-team-id", "away-team-name"])),
6602
- d(ce)(d(m)) ? L("", !0) : (y(), Z(Kg, {
6602
+ d(ce)(d(m)) ? L("", !0) : (y(), Z(qg, {
6603
6603
  key: 4,
6604
6604
  data: d(m).goalies,
6605
6605
  "home-team-id": d(l).homeTeam.id,
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@mjsz-vbr-elements/gamecenter",
3
3
  "description": "Data visualization for MJSZ VBR",
4
4
  "private": false,
5
- "version": "2.1.0-rc.4",
5
+ "version": "2.1.0-rc.5",
6
6
  "author": "Ákos Stegner <akos.stegner@gmail.com>",
7
7
  "homepage": "https://api.icehockey.hu/widgets/docs/v2/",
8
8
  "type": "module",
@@ -20,8 +20,8 @@
20
20
  "@vueuse/core": "^10.1.2",
21
21
  "ramda": "^0.29.0",
22
22
  "vue": "^3.3.4",
23
- "@mjsz-vbr-elements/core": "^2.1.0-rc.4",
24
- "@mjsz-vbr-elements/shared": "^2.1.0-rc.4"
23
+ "@mjsz-vbr-elements/core": "^2.1.0-rc.5",
24
+ "@mjsz-vbr-elements/shared": "^2.1.0-rc.5"
25
25
  },
26
26
  "devDependencies": {
27
27
  "@vitejs/plugin-vue": "^4.1.0",