@mjsz-vbr-elements/core 2.2.1 → 2.2.3

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,17 +1,17 @@
1
1
  /**
2
2
  * name: @mjsz-vbr-elements/core
3
- * version: v2.2.1 - 04/01/2024, 22:10:50
3
+ * version: v2.2.3 - 27/01/2024, 13:29:55
4
4
  * (c) 2024
5
5
  * description: Data visualization for MJSZ VBR
6
6
  * author: Ákos Stegner <akos.stegner@gmail.com>
7
7
  */
8
- import { computed as A, withDirectives as fe, openBlock as y, createElementBlock as b, normalizeClass as _, unref as p, renderSlot as I, vModelSelect as ge, createElementVNode as w, ref as E, watch as Lt, isRef as ye, Fragment as O, normalizeStyle as It, createVNode as C, Transition as ve, withCtx as T, createTextVNode as K, toDisplayString as x, createCommentVNode as S, toRefs as zt, renderList as tt, createBlock as L, withKeys as Vt, withModifiers as at, defineComponent as we, createSlots as be } from "vue";
9
- import { f as q, o as xe, e as ke, d as lt, a as Te, c as Pe, h as $e, n as Se, i as _e, b as Jt, u as qt, w as ze } from "./useSort-WcJ_BIws.js";
10
- import { v as Yt, w as ft, l as Nt, p as Ae, o as gt, g as Ge } from "./datetime-EyEBo0-h.js";
11
- import { LAZY_LOADING_STATE_DELAY as Ce, SORT_STATE_ORIGINAL as Pt, SORT_STATE_DESCEND as Rt, SORT_STATE_ASCEND as Dt, AVAILABLE_TIMEZONES_BY_COUNTRY as Ee, DEFAULT_PORTRAIT_IMAGE_URL as Le } from "./constants.js";
12
- import { i as Ie, W as Zt, U as yt } from "./convert-PMHuZhPy.js";
13
- import { COLUMNS_SCHEDULE as Ve } from "./columns.js";
14
- const Ne = {
8
+ import { computed as A, withDirectives as fe, openBlock as y, createElementBlock as w, normalizeClass as _, unref as m, renderSlot as I, vModelSelect as ge, createElementVNode as b, ref as E, watch as Lt, isRef as ye, Fragment as M, normalizeStyle as It, createVNode as C, Transition as ve, withCtx as T, createTextVNode as O, toDisplayString as x, createCommentVNode as $, toRefs as zt, renderList as tt, createBlock as L, withKeys as Vt, withModifiers as rt, defineComponent as be, createSlots as we, toRef as xe } from "vue";
9
+ import { f as J, o as ke, e as Te, d as nt, a as Pe, c as $e, j as Se, n as _e, i as ze, b as qt, u as Jt, w as Ae, h as Ge } from "./useAdditionalText-EldMke4U.js";
10
+ import { x as Yt, z as ft, l as Rt, p as Ce, o as gt, g as Ee } from "./datetime--bMmvxSM.js";
11
+ import { LAZY_LOADING_STATE_DELAY as Le, SORT_STATE_ORIGINAL as Pt, SORT_STATE_DESCEND as Nt, SORT_STATE_ASCEND as Dt, AVAILABLE_TIMEZONES_BY_COUNTRY as Ie, DEFAULT_PORTRAIT_IMAGE_URL as Ve } from "./constants.js";
12
+ import { i as Re, W as Zt, U as yt } from "./convert-rWfB71vI.js";
13
+ import { COLUMNS_SCHEDULE as Ne } from "./columns.js";
14
+ const De = {
15
15
  __name: "BaseSelect",
16
16
  props: {
17
17
  modelValue: {
@@ -21,10 +21,10 @@ const Ne = {
21
21
  },
22
22
  emits: ["update:modelValue"],
23
23
  setup(t, { emit: e }) {
24
- const o = t, n = e, a = q("base-input"), s = A({ get: () => o.modelValue, set: (r) => n("update:modelValue", r) });
25
- return (r, c) => fe((y(), b("select", {
24
+ const o = t, n = e, a = J("base-input"), s = A({ get: () => o.modelValue, set: (r) => n("update:modelValue", r) });
25
+ return (r, c) => fe((y(), w("select", {
26
26
  "onUpdate:modelValue": c[0] || (c[0] = (f) => s.value = f),
27
- class: _([p(a), "is-select"])
27
+ class: _([m(a), "is-select"])
28
28
  }, [
29
29
  I(r.$slots, "default")
30
30
  ], 2)), [
@@ -32,7 +32,7 @@ const Ne = {
32
32
  ]);
33
33
  }
34
34
  };
35
- var Re = /* @__PURE__ */ Yt(function(e, o, n) {
35
+ var Oe = /* @__PURE__ */ Yt(function(e, o, n) {
36
36
  var a = {}, s;
37
37
  o = o || {}, n = n || {};
38
38
  for (s in o)
@@ -40,16 +40,16 @@ var Re = /* @__PURE__ */ Yt(function(e, o, n) {
40
40
  for (s in n)
41
41
  ft(s, n) && !ft(s, a) && (a[s] = n[s]);
42
42
  return a;
43
- }), De = /* @__PURE__ */ Yt(function t(e, o, n) {
44
- return Re(function(a, s, r) {
45
- return Nt(s) && Nt(r) ? t(e, s, r) : e(a, s, r);
43
+ }), Me = /* @__PURE__ */ Yt(function t(e, o, n) {
44
+ return Oe(function(a, s, r) {
45
+ return Rt(s) && Rt(r) ? t(e, s, r) : e(a, s, r);
46
46
  }, o, n);
47
- }), Oe = /* @__PURE__ */ Ae(function(e, o) {
48
- return De(function(n, a, s) {
47
+ }), He = /* @__PURE__ */ Ce(function(e, o) {
48
+ return Me(function(n, a, s) {
49
49
  return s;
50
50
  }, e, o);
51
51
  });
52
- const Me = Oe, He = {
52
+ const Be = He, Fe = {
53
53
  "aria-hidden": "true",
54
54
  focusable: "false",
55
55
  "data-prefix": "fas",
@@ -58,16 +58,16 @@ const Me = Oe, He = {
58
58
  role: "img",
59
59
  xmlns: "http://www.w3.org/2000/svg",
60
60
  viewBox: "0 0 320 512"
61
- }, Be = /* @__PURE__ */ w("path", {
61
+ }, je = /* @__PURE__ */ b("path", {
62
62
  fill: "currentColor",
63
63
  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-41zm255-105L177 64c-9.4-9.4-24.6-9.4-33.9 0L24 183c-15.1 15.1-4.4 41 17 41h238c21.4 0 32.1-25.9 17-41z"
64
- }, null, -1), Fe = [
65
- Be
64
+ }, null, -1), We = [
65
+ je
66
66
  ];
67
- function je(t, e) {
68
- return y(), b("svg", He, Fe);
67
+ function Ke(t, e) {
68
+ return y(), w("svg", Fe, We);
69
69
  }
70
- const Ot = { render: je }, We = {
70
+ const Ot = { render: Ke }, Ue = {
71
71
  "aria-hidden": "true",
72
72
  focusable: "false",
73
73
  "data-prefix": "fas",
@@ -76,16 +76,16 @@ const Ot = { render: je }, We = {
76
76
  role: "img",
77
77
  xmlns: "http://www.w3.org/2000/svg",
78
78
  viewBox: "0 0 320 512"
79
- }, Ke = /* @__PURE__ */ w("path", {
79
+ }, qe = /* @__PURE__ */ b("path", {
80
80
  fill: "currentColor",
81
81
  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"
82
- }, null, -1), Ue = [
83
- Ke
82
+ }, null, -1), Je = [
83
+ qe
84
84
  ];
85
- function Je(t, e) {
86
- return y(), b("svg", We, Ue);
85
+ function Ye(t, e) {
86
+ return y(), w("svg", Ue, Je);
87
87
  }
88
- const qe = { render: Je }, Ye = {
88
+ const Ze = { render: Ye }, Xe = {
89
89
  "aria-hidden": "true",
90
90
  focusable: "false",
91
91
  "data-prefix": "fas",
@@ -94,16 +94,16 @@ const qe = { render: Je }, Ye = {
94
94
  role: "img",
95
95
  xmlns: "http://www.w3.org/2000/svg",
96
96
  viewBox: "0 0 320 512"
97
- }, Ze = /* @__PURE__ */ w("path", {
97
+ }, Qe = /* @__PURE__ */ b("path", {
98
98
  fill: "currentColor",
99
99
  d: "M279 224H41c-21.4 0-32.1-25.9-17-41L143 64c9.4-9.4 24.6-9.4 33.9 0l119 119c15.2 15.1 4.5 41-16.9 41z"
100
- }, null, -1), Xe = [
101
- Ze
100
+ }, null, -1), to = [
101
+ Qe
102
102
  ];
103
- function Qe(t, e) {
104
- return y(), b("svg", Ye, Xe);
103
+ function eo(t, e) {
104
+ return y(), w("svg", Xe, to);
105
105
  }
106
- const to = { render: Qe };
106
+ const oo = { render: eo };
107
107
  function pt(t) {
108
108
  return t.split("-")[1];
109
109
  }
@@ -145,14 +145,14 @@ function Mt(t, e, o) {
145
145
  }
146
146
  return u;
147
147
  }
148
- const eo = async (t, e, o) => {
148
+ const no = async (t, e, o) => {
149
149
  const { placement: n = "bottom", strategy: a = "absolute", middleware: s = [], platform: r } = o, c = s.filter(Boolean), f = await (r.isRTL == null ? void 0 : r.isRTL(e));
150
- let d = await r.getElementRects({ reference: t, floating: e, strategy: a }), { x: i, y: u } = Mt(d, n, f), m = n, l = {}, h = 0;
150
+ let d = await r.getElementRects({ reference: t, floating: e, strategy: a }), { x: i, y: u } = Mt(d, n, f), p = n, l = {}, h = 0;
151
151
  for (let g = 0; g < c.length; g++) {
152
- const { name: v, fn: k } = c[g], { x: P, y: $, data: B, reset: G } = await k({ x: i, y: u, initialPlacement: n, placement: m, strategy: a, middlewareData: l, rects: d, platform: r, elements: { reference: t, floating: e } });
153
- i = P ?? i, u = $ ?? u, l = { ...l, [v]: { ...l[v], ...B } }, G && h <= 50 && (h++, typeof G == "object" && (G.placement && (m = G.placement), G.rects && (d = G.rects === !0 ? await r.getElementRects({ reference: t, floating: e, strategy: a }) : G.rects), { x: i, y: u } = Mt(d, m, f)), g = -1);
152
+ const { name: v, fn: k } = c[g], { x: P, y: S, data: F, reset: G } = await k({ x: i, y: u, initialPlacement: n, placement: p, strategy: a, middlewareData: l, rects: d, platform: r, elements: { reference: t, floating: e } });
153
+ i = P ?? i, u = S ?? u, l = { ...l, [v]: { ...l[v], ...F } }, G && h <= 50 && (h++, typeof G == "object" && (G.placement && (p = G.placement), G.rects && (d = G.rects === !0 ? await r.getElementRects({ reference: t, floating: e, strategy: a }) : G.rects), { x: i, y: u } = Mt(d, p, f)), g = -1);
154
154
  }
155
- return { x: i, y: u, placement: m, strategy: a, middlewareData: l };
155
+ return { x: i, y: u, placement: p, strategy: a, middlewareData: l };
156
156
  };
157
157
  function Xt(t) {
158
158
  return typeof t != "number" ? function(e) {
@@ -165,48 +165,48 @@ function vt(t) {
165
165
  async function Qt(t, e) {
166
166
  var o;
167
167
  e === void 0 && (e = {});
168
- const { x: n, y: a, platform: s, rects: r, elements: c, strategy: f } = t, { boundary: d = "clippingAncestors", rootBoundary: i = "viewport", elementContext: u = "floating", altBoundary: m = !1, padding: l = 0 } = e, h = Xt(l), g = c[m ? u === "floating" ? "reference" : "floating" : u], v = vt(await s.getClippingRect({ element: (o = await (s.isElement == null ? void 0 : s.isElement(g))) == null || o ? g : g.contextElement || await (s.getDocumentElement == null ? void 0 : s.getDocumentElement(c.floating)), boundary: d, rootBoundary: i, strategy: f })), k = u === "floating" ? { ...r.floating, x: n, y: a } : r.reference, P = await (s.getOffsetParent == null ? void 0 : s.getOffsetParent(c.floating)), $ = await (s.isElement == null ? void 0 : s.isElement(P)) && await (s.getScale == null ? void 0 : s.getScale(P)) || { x: 1, y: 1 }, B = vt(s.convertOffsetParentRelativeRectToViewportRelativeRect ? await s.convertOffsetParentRelativeRectToViewportRelativeRect({ rect: k, offsetParent: P, strategy: f }) : k);
169
- return { top: (v.top - B.top + h.top) / $.y, bottom: (B.bottom - v.bottom + h.bottom) / $.y, left: (v.left - B.left + h.left) / $.x, right: (B.right - v.right + h.right) / $.x };
168
+ const { x: n, y: a, platform: s, rects: r, elements: c, strategy: f } = t, { boundary: d = "clippingAncestors", rootBoundary: i = "viewport", elementContext: u = "floating", altBoundary: p = !1, padding: l = 0 } = e, h = Xt(l), g = c[p ? u === "floating" ? "reference" : "floating" : u], v = vt(await s.getClippingRect({ element: (o = await (s.isElement == null ? void 0 : s.isElement(g))) == null || o ? g : g.contextElement || await (s.getDocumentElement == null ? void 0 : s.getDocumentElement(c.floating)), boundary: d, rootBoundary: i, strategy: f })), k = u === "floating" ? { ...r.floating, x: n, y: a } : r.reference, P = await (s.getOffsetParent == null ? void 0 : s.getOffsetParent(c.floating)), S = await (s.isElement == null ? void 0 : s.isElement(P)) && await (s.getScale == null ? void 0 : s.getScale(P)) || { x: 1, y: 1 }, F = vt(s.convertOffsetParentRelativeRectToViewportRelativeRect ? await s.convertOffsetParentRelativeRectToViewportRelativeRect({ rect: k, offsetParent: P, strategy: f }) : k);
169
+ return { top: (v.top - F.top + h.top) / S.y, bottom: (F.bottom - v.bottom + h.bottom) / S.y, left: (v.left - F.left + h.left) / S.x, right: (F.right - v.right + h.right) / S.x };
170
170
  }
171
- const oo = Math.min, no = Math.max;
171
+ const so = Math.min, ao = Math.max;
172
172
  function St(t, e, o) {
173
- return no(t, oo(e, o));
173
+ return ao(t, so(e, o));
174
174
  }
175
175
  const Ht = (t) => ({ name: "arrow", options: t, async fn(e) {
176
176
  const { element: o, padding: n = 0 } = t || {}, { x: a, y: s, placement: r, rects: c, platform: f, elements: d } = e;
177
177
  if (o == null)
178
178
  return {};
179
- const i = Xt(n), u = { x: a, y: s }, m = ht(r), l = At(m), h = await f.getDimensions(o), g = m === "y", v = g ? "top" : "left", k = g ? "bottom" : "right", P = g ? "clientHeight" : "clientWidth", $ = c.reference[l] + c.reference[m] - u[m] - c.floating[l], B = u[m] - c.reference[m], G = await (f.getOffsetParent == null ? void 0 : f.getOffsetParent(o));
180
- let j = G ? G[P] : 0;
181
- j && await (f.isElement == null ? void 0 : f.isElement(G)) || (j = d.floating[P] || c.floating[l]);
182
- const Z = $ / 2 - B / 2, X = i[v], it = j - h[l] - i[k], F = j / 2 - h[l] / 2 + Z, z = St(X, F, it), D = pt(r) != null && F != z && c.reference[l] / 2 - (F < X ? i[v] : i[k]) - h[l] / 2 < 0;
183
- return { [m]: u[m] - (D ? F < X ? X - F : it - F : 0), data: { [m]: z, centerOffset: F - z } };
184
- } }), so = ["top", "right", "bottom", "left"];
185
- so.reduce((t, e) => t.concat(e, e + "-start", e + "-end"), []);
186
- const ao = { left: "right", right: "left", bottom: "top", top: "bottom" };
187
- function wt(t) {
188
- return t.replace(/left|right|bottom|top/g, (e) => ao[e]);
179
+ const i = Xt(n), u = { x: a, y: s }, p = ht(r), l = At(p), h = await f.getDimensions(o), g = p === "y", v = g ? "top" : "left", k = g ? "bottom" : "right", P = g ? "clientHeight" : "clientWidth", S = c.reference[l] + c.reference[p] - u[p] - c.floating[l], F = u[p] - c.reference[p], G = await (f.getOffsetParent == null ? void 0 : f.getOffsetParent(o));
180
+ let W = G ? G[P] : 0;
181
+ W && await (f.isElement == null ? void 0 : f.isElement(G)) || (W = d.floating[P] || c.floating[l]);
182
+ const Z = S / 2 - F / 2, X = i[v], it = W - h[l] - i[k], j = W / 2 - h[l] / 2 + Z, z = St(X, j, it), D = pt(r) != null && j != z && c.reference[l] / 2 - (j < X ? i[v] : i[k]) - h[l] / 2 < 0;
183
+ return { [p]: u[p] - (D ? j < X ? X - j : it - j : 0), data: { [p]: z, centerOffset: j - z } };
184
+ } }), ro = ["top", "right", "bottom", "left"];
185
+ ro.reduce((t, e) => t.concat(e, e + "-start", e + "-end"), []);
186
+ const lo = { left: "right", right: "left", bottom: "top", top: "bottom" };
187
+ function bt(t) {
188
+ return t.replace(/left|right|bottom|top/g, (e) => lo[e]);
189
189
  }
190
- function ro(t, e, o) {
190
+ function io(t, e, o) {
191
191
  o === void 0 && (o = !1);
192
192
  const n = pt(t), a = ht(t), s = At(a);
193
193
  let r = a === "x" ? n === (o ? "end" : "start") ? "right" : "left" : n === "start" ? "bottom" : "top";
194
- return e.reference[s] > e.floating[s] && (r = wt(r)), { main: r, cross: wt(r) };
194
+ return e.reference[s] > e.floating[s] && (r = bt(r)), { main: r, cross: bt(r) };
195
195
  }
196
- const lo = { start: "end", end: "start" };
196
+ const co = { start: "end", end: "start" };
197
197
  function $t(t) {
198
- return t.replace(/start|end/g, (e) => lo[e]);
198
+ return t.replace(/start|end/g, (e) => co[e]);
199
199
  }
200
- const io = function(t) {
200
+ const uo = function(t) {
201
201
  return t === void 0 && (t = {}), { name: "flip", options: t, async fn(e) {
202
202
  var o;
203
- const { placement: n, middlewareData: a, rects: s, initialPlacement: r, platform: c, elements: f } = e, { mainAxis: d = !0, crossAxis: i = !0, fallbackPlacements: u, fallbackStrategy: m = "bestFit", fallbackAxisSideDirection: l = "none", flipAlignment: h = !0, ...g } = t, v = et(n), k = et(r) === r, P = await (c.isRTL == null ? void 0 : c.isRTL(f.floating)), $ = u || (k || !h ? [wt(r)] : function(z) {
204
- const D = wt(z);
203
+ const { placement: n, middlewareData: a, rects: s, initialPlacement: r, platform: c, elements: f } = e, { mainAxis: d = !0, crossAxis: i = !0, fallbackPlacements: u, fallbackStrategy: p = "bestFit", fallbackAxisSideDirection: l = "none", flipAlignment: h = !0, ...g } = t, v = et(n), k = et(r) === r, P = await (c.isRTL == null ? void 0 : c.isRTL(f.floating)), S = u || (k || !h ? [bt(r)] : function(z) {
204
+ const D = bt(z);
205
205
  return [$t(z), D, $t(D)];
206
206
  }(r));
207
- u || l === "none" || $.push(...function(z, D, Q, U) {
208
- const W = pt(z);
209
- let N = function(ct, Tt, me) {
207
+ u || l === "none" || S.push(...function(z, D, Q, U) {
208
+ const K = pt(z);
209
+ let R = function(ct, Tt, me) {
210
210
  const Ct = ["left", "right"], Et = ["right", "left"], pe = ["top", "bottom"], he = ["bottom", "top"];
211
211
  switch (ct) {
212
212
  case "top":
@@ -219,25 +219,25 @@ const io = function(t) {
219
219
  return [];
220
220
  }
221
221
  }(et(z), Q === "start", U);
222
- return W && (N = N.map((ct) => ct + "-" + W), D && (N = N.concat(N.map($t)))), N;
222
+ return K && (R = R.map((ct) => ct + "-" + K), D && (R = R.concat(R.map($t)))), R;
223
223
  }(r, h, l, P));
224
- const B = [r, ...$], G = await Qt(e, g), j = [];
224
+ const F = [r, ...S], G = await Qt(e, g), W = [];
225
225
  let Z = ((o = a.flip) == null ? void 0 : o.overflows) || [];
226
- if (d && j.push(G[v]), i) {
227
- const { main: z, cross: D } = ro(n, s, P);
228
- j.push(G[z], G[D]);
226
+ if (d && W.push(G[v]), i) {
227
+ const { main: z, cross: D } = io(n, s, P);
228
+ W.push(G[z], G[D]);
229
229
  }
230
- if (Z = [...Z, { placement: n, overflows: j }], !j.every((z) => z <= 0)) {
230
+ if (Z = [...Z, { placement: n, overflows: W }], !W.every((z) => z <= 0)) {
231
231
  var X, it;
232
- const z = (((X = a.flip) == null ? void 0 : X.index) || 0) + 1, D = B[z];
232
+ const z = (((X = a.flip) == null ? void 0 : X.index) || 0) + 1, D = F[z];
233
233
  if (D)
234
234
  return { data: { index: z, overflows: Z }, reset: { placement: D } };
235
- let Q = (it = Z.filter((U) => U.overflows[0] <= 0).sort((U, W) => U.overflows[1] - W.overflows[1])[0]) == null ? void 0 : it.placement;
235
+ let Q = (it = Z.filter((U) => U.overflows[0] <= 0).sort((U, K) => U.overflows[1] - K.overflows[1])[0]) == null ? void 0 : it.placement;
236
236
  if (!Q)
237
- switch (m) {
237
+ switch (p) {
238
238
  case "bestFit": {
239
- var F;
240
- const U = (F = Z.map((W) => [W.placement, W.overflows.filter((N) => N > 0).reduce((N, ct) => N + ct, 0)]).sort((W, N) => W[1] - N[1])[0]) == null ? void 0 : F[0];
239
+ var j;
240
+ const U = (j = Z.map((K) => [K.placement, K.overflows.filter((R) => R > 0).reduce((R, ct) => R + ct, 0)]).sort((K, R) => K[1] - R[1])[0]) == null ? void 0 : j[0];
241
241
  U && (Q = U);
242
242
  break;
243
243
  }
@@ -249,69 +249,69 @@ const io = function(t) {
249
249
  }
250
250
  return {};
251
251
  } };
252
- }, co = function(t) {
252
+ }, mo = function(t) {
253
253
  return t === void 0 && (t = 0), { name: "offset", options: t, async fn(e) {
254
254
  const { x: o, y: n } = e, a = await async function(s, r) {
255
- const { placement: c, platform: f, elements: d } = s, i = await (f.isRTL == null ? void 0 : f.isRTL(d.floating)), u = et(c), m = pt(c), l = ht(c) === "x", h = ["left", "top"].includes(u) ? -1 : 1, g = i && l ? -1 : 1, v = typeof r == "function" ? r(s) : r;
256
- let { mainAxis: k, crossAxis: P, alignmentAxis: $ } = typeof v == "number" ? { mainAxis: v, crossAxis: 0, alignmentAxis: null } : { mainAxis: 0, crossAxis: 0, alignmentAxis: null, ...v };
257
- return m && typeof $ == "number" && (P = m === "end" ? -1 * $ : $), l ? { x: P * g, y: k * h } : { x: k * h, y: P * g };
255
+ const { placement: c, platform: f, elements: d } = s, i = await (f.isRTL == null ? void 0 : f.isRTL(d.floating)), u = et(c), p = pt(c), l = ht(c) === "x", h = ["left", "top"].includes(u) ? -1 : 1, g = i && l ? -1 : 1, v = typeof r == "function" ? r(s) : r;
256
+ let { mainAxis: k, crossAxis: P, alignmentAxis: S } = typeof v == "number" ? { mainAxis: v, crossAxis: 0, alignmentAxis: null } : { mainAxis: 0, crossAxis: 0, alignmentAxis: null, ...v };
257
+ return p && typeof S == "number" && (P = p === "end" ? -1 * S : S), l ? { x: P * g, y: k * h } : { x: k * h, y: P * g };
258
258
  }(e, t);
259
259
  return { x: o + a.x, y: n + a.y, data: a };
260
260
  } };
261
261
  };
262
- function uo(t) {
262
+ function po(t) {
263
263
  return t === "x" ? "y" : "x";
264
264
  }
265
- const mo = function(t) {
265
+ const ho = function(t) {
266
266
  return t === void 0 && (t = {}), { name: "shift", options: t, async fn(e) {
267
267
  const { x: o, y: n, placement: a } = e, { mainAxis: s = !0, crossAxis: r = !1, limiter: c = { fn: (v) => {
268
268
  let { x: k, y: P } = v;
269
269
  return { x: k, y: P };
270
- } }, ...f } = t, d = { x: o, y: n }, i = await Qt(e, f), u = ht(et(a)), m = uo(u);
271
- let l = d[u], h = d[m];
270
+ } }, ...f } = t, d = { x: o, y: n }, i = await Qt(e, f), u = ht(et(a)), p = po(u);
271
+ let l = d[u], h = d[p];
272
272
  if (s) {
273
273
  const v = u === "y" ? "bottom" : "right";
274
274
  l = St(l + i[u === "y" ? "top" : "left"], l, l - i[v]);
275
275
  }
276
276
  if (r) {
277
- const v = m === "y" ? "bottom" : "right";
278
- h = St(h + i[m === "y" ? "top" : "left"], h, h - i[v]);
277
+ const v = p === "y" ? "bottom" : "right";
278
+ h = St(h + i[p === "y" ? "top" : "left"], h, h - i[v]);
279
279
  }
280
- const g = c.fn({ ...e, [u]: l, [m]: h });
280
+ const g = c.fn({ ...e, [u]: l, [p]: h });
281
281
  return { ...g, data: { x: g.x - o, y: g.y - n } };
282
282
  } };
283
283
  };
284
- function R(t) {
284
+ function N(t) {
285
285
  var e;
286
286
  return ((e = t.ownerDocument) == null ? void 0 : e.defaultView) || window;
287
287
  }
288
- function M(t) {
289
- return R(t).getComputedStyle(t);
288
+ function H(t) {
289
+ return N(t).getComputedStyle(t);
290
290
  }
291
291
  function te(t) {
292
- return t instanceof R(t).Node;
292
+ return t instanceof N(t).Node;
293
293
  }
294
294
  function Y(t) {
295
295
  return te(t) ? (t.nodeName || "").toLowerCase() : "";
296
296
  }
297
- function H(t) {
298
- return t instanceof R(t).HTMLElement;
297
+ function B(t) {
298
+ return t instanceof N(t).HTMLElement;
299
299
  }
300
300
  function V(t) {
301
- return t instanceof R(t).Element;
301
+ return t instanceof N(t).Element;
302
302
  }
303
303
  function Bt(t) {
304
- return typeof ShadowRoot > "u" ? !1 : t instanceof R(t).ShadowRoot || t instanceof ShadowRoot;
304
+ return typeof ShadowRoot > "u" ? !1 : t instanceof N(t).ShadowRoot || t instanceof ShadowRoot;
305
305
  }
306
306
  function mt(t) {
307
- const { overflow: e, overflowX: o, overflowY: n, display: a } = M(t);
307
+ const { overflow: e, overflowX: o, overflowY: n, display: a } = H(t);
308
308
  return /auto|scroll|overlay|hidden|clip/.test(e + n + o) && !["inline", "contents"].includes(a);
309
309
  }
310
- function po(t) {
310
+ function fo(t) {
311
311
  return ["table", "td", "th"].includes(Y(t));
312
312
  }
313
313
  function _t(t) {
314
- const e = Gt(), o = M(t);
314
+ const e = Gt(), o = H(t);
315
315
  return o.transform !== "none" || o.perspective !== "none" || !e && !!o.backdropFilter && o.backdropFilter !== "none" || !e && !!o.filter && o.filter !== "none" || ["transform", "perspective", "filter"].some((n) => (o.willChange || "").includes(n)) || ["paint", "layout", "strict", "content"].some((n) => (o.contain || "").includes(n));
316
316
  }
317
317
  function Gt() {
@@ -320,23 +320,23 @@ function Gt() {
320
320
  function xt(t) {
321
321
  return ["html", "body", "#document"].includes(Y(t));
322
322
  }
323
- const Ft = Math.min, dt = Math.max, bt = Math.round;
323
+ const Ft = Math.min, dt = Math.max, wt = Math.round;
324
324
  function ee(t) {
325
- const e = M(t);
325
+ const e = H(t);
326
326
  let o = parseFloat(e.width) || 0, n = parseFloat(e.height) || 0;
327
- const a = H(t), s = a ? t.offsetWidth : o, r = a ? t.offsetHeight : n, c = bt(o) !== s || bt(n) !== r;
327
+ const a = B(t), s = a ? t.offsetWidth : o, r = a ? t.offsetHeight : n, c = wt(o) !== s || wt(n) !== r;
328
328
  return c && (o = s, n = r), { width: o, height: n, fallback: c };
329
329
  }
330
330
  function oe(t) {
331
331
  return V(t) ? t : t.contextElement;
332
332
  }
333
333
  const ne = { x: 1, y: 1 };
334
- function st(t) {
334
+ function at(t) {
335
335
  const e = oe(t);
336
- if (!H(e))
336
+ if (!B(e))
337
337
  return ne;
338
338
  const o = e.getBoundingClientRect(), { width: n, height: a, fallback: s } = ee(e);
339
- let r = (s ? bt(o.width) : o.width) / n, c = (s ? bt(o.height) : o.height) / a;
339
+ let r = (s ? wt(o.width) : o.width) / n, c = (s ? wt(o.height) : o.height) / a;
340
340
  return r && Number.isFinite(r) || (r = 1), c && Number.isFinite(c) || (c = 1), { x: r, y: c };
341
341
  }
342
342
  const jt = { x: 0, y: 0 };
@@ -344,74 +344,74 @@ function se(t, e, o) {
344
344
  var n, a;
345
345
  if (e === void 0 && (e = !0), !Gt())
346
346
  return jt;
347
- const s = t ? R(t) : window;
347
+ const s = t ? N(t) : window;
348
348
  return !o || e && o !== s ? jt : { x: ((n = s.visualViewport) == null ? void 0 : n.offsetLeft) || 0, y: ((a = s.visualViewport) == null ? void 0 : a.offsetTop) || 0 };
349
349
  }
350
350
  function ot(t, e, o, n) {
351
351
  e === void 0 && (e = !1), o === void 0 && (o = !1);
352
352
  const a = t.getBoundingClientRect(), s = oe(t);
353
353
  let r = ne;
354
- e && (n ? V(n) && (r = st(n)) : r = st(t));
354
+ e && (n ? V(n) && (r = at(n)) : r = at(t));
355
355
  const c = se(s, o, n);
356
356
  let f = (a.left + c.x) / r.x, d = (a.top + c.y) / r.y, i = a.width / r.x, u = a.height / r.y;
357
357
  if (s) {
358
- const m = R(s), l = n && V(n) ? R(n) : n;
359
- let h = m.frameElement;
360
- for (; h && n && l !== m; ) {
361
- const g = st(h), v = h.getBoundingClientRect(), k = getComputedStyle(h);
362
- v.x += (h.clientLeft + parseFloat(k.paddingLeft)) * g.x, v.y += (h.clientTop + parseFloat(k.paddingTop)) * g.y, f *= g.x, d *= g.y, i *= g.x, u *= g.y, f += v.x, d += v.y, h = R(h).frameElement;
358
+ const p = N(s), l = n && V(n) ? N(n) : n;
359
+ let h = p.frameElement;
360
+ for (; h && n && l !== p; ) {
361
+ const g = at(h), v = h.getBoundingClientRect(), k = getComputedStyle(h);
362
+ v.x += (h.clientLeft + parseFloat(k.paddingLeft)) * g.x, v.y += (h.clientTop + parseFloat(k.paddingTop)) * g.y, f *= g.x, d *= g.y, i *= g.x, u *= g.y, f += v.x, d += v.y, h = N(h).frameElement;
363
363
  }
364
364
  }
365
365
  return vt({ width: i, height: u, x: f, y: d });
366
366
  }
367
- function J(t) {
367
+ function q(t) {
368
368
  return ((te(t) ? t.ownerDocument : t.document) || window.document).documentElement;
369
369
  }
370
370
  function kt(t) {
371
371
  return V(t) ? { scrollLeft: t.scrollLeft, scrollTop: t.scrollTop } : { scrollLeft: t.pageXOffset, scrollTop: t.pageYOffset };
372
372
  }
373
373
  function ae(t) {
374
- return ot(J(t)).left + kt(t).scrollLeft;
374
+ return ot(q(t)).left + kt(t).scrollLeft;
375
375
  }
376
- function rt(t) {
376
+ function lt(t) {
377
377
  if (Y(t) === "html")
378
378
  return t;
379
- const e = t.assignedSlot || t.parentNode || Bt(t) && t.host || J(t);
379
+ const e = t.assignedSlot || t.parentNode || Bt(t) && t.host || q(t);
380
380
  return Bt(e) ? e.host : e;
381
381
  }
382
382
  function re(t) {
383
- const e = rt(t);
384
- return xt(e) ? e.ownerDocument.body : H(e) && mt(e) ? e : re(e);
383
+ const e = lt(t);
384
+ return xt(e) ? e.ownerDocument.body : B(e) && mt(e) ? e : re(e);
385
385
  }
386
386
  function ut(t, e) {
387
387
  var o;
388
388
  e === void 0 && (e = []);
389
- const n = re(t), a = n === ((o = t.ownerDocument) == null ? void 0 : o.body), s = R(n);
389
+ const n = re(t), a = n === ((o = t.ownerDocument) == null ? void 0 : o.body), s = N(n);
390
390
  return a ? e.concat(s, s.visualViewport || [], mt(n) ? n : []) : e.concat(n, ut(n));
391
391
  }
392
392
  function Wt(t, e, o) {
393
393
  let n;
394
394
  if (e === "viewport")
395
395
  n = function(a, s) {
396
- const r = R(a), c = J(a), f = r.visualViewport;
397
- let d = c.clientWidth, i = c.clientHeight, u = 0, m = 0;
396
+ const r = N(a), c = q(a), f = r.visualViewport;
397
+ let d = c.clientWidth, i = c.clientHeight, u = 0, p = 0;
398
398
  if (f) {
399
399
  d = f.width, i = f.height;
400
400
  const l = Gt();
401
- (!l || l && s === "fixed") && (u = f.offsetLeft, m = f.offsetTop);
401
+ (!l || l && s === "fixed") && (u = f.offsetLeft, p = f.offsetTop);
402
402
  }
403
- return { width: d, height: i, x: u, y: m };
403
+ return { width: d, height: i, x: u, y: p };
404
404
  }(t, o);
405
405
  else if (e === "document")
406
406
  n = function(a) {
407
- const s = J(a), r = kt(a), c = a.ownerDocument.body, f = dt(s.scrollWidth, s.clientWidth, c.scrollWidth, c.clientWidth), d = dt(s.scrollHeight, s.clientHeight, c.scrollHeight, c.clientHeight);
407
+ const s = q(a), r = kt(a), c = a.ownerDocument.body, f = dt(s.scrollWidth, s.clientWidth, c.scrollWidth, c.clientWidth), d = dt(s.scrollHeight, s.clientHeight, c.scrollHeight, c.clientHeight);
408
408
  let i = -r.scrollLeft + ae(a);
409
409
  const u = -r.scrollTop;
410
- return M(c).direction === "rtl" && (i += dt(s.clientWidth, c.clientWidth) - f), { width: f, height: d, x: i, y: u };
411
- }(J(t));
410
+ return H(c).direction === "rtl" && (i += dt(s.clientWidth, c.clientWidth) - f), { width: f, height: d, x: i, y: u };
411
+ }(q(t));
412
412
  else if (V(e))
413
413
  n = function(a, s) {
414
- const r = ot(a, !0, s === "fixed"), c = r.top + a.clientTop, f = r.left + a.clientLeft, d = H(a) ? st(a) : { x: 1, y: 1 };
414
+ const r = ot(a, !0, s === "fixed"), c = r.top + a.clientTop, f = r.left + a.clientLeft, d = B(a) ? at(a) : { x: 1, y: 1 };
415
415
  return { width: a.clientWidth * d.x, height: a.clientHeight * d.y, x: f * d.x, y: c * d.y };
416
416
  }(e, o);
417
417
  else {
@@ -421,55 +421,55 @@ function Wt(t, e, o) {
421
421
  return vt(n);
422
422
  }
423
423
  function le(t, e) {
424
- const o = rt(t);
425
- return !(o === e || !V(o) || xt(o)) && (M(o).position === "fixed" || le(o, e));
424
+ const o = lt(t);
425
+ return !(o === e || !V(o) || xt(o)) && (H(o).position === "fixed" || le(o, e));
426
426
  }
427
427
  function Kt(t, e) {
428
- return H(t) && M(t).position !== "fixed" ? e ? e(t) : t.offsetParent : null;
428
+ return B(t) && H(t).position !== "fixed" ? e ? e(t) : t.offsetParent : null;
429
429
  }
430
430
  function Ut(t, e) {
431
- const o = R(t);
432
- if (!H(t))
431
+ const o = N(t);
432
+ if (!B(t))
433
433
  return o;
434
434
  let n = Kt(t, e);
435
- for (; n && po(n) && M(n).position === "static"; )
435
+ for (; n && fo(n) && H(n).position === "static"; )
436
436
  n = Kt(n, e);
437
- return n && (Y(n) === "html" || Y(n) === "body" && M(n).position === "static" && !_t(n)) ? o : n || function(a) {
438
- let s = rt(a);
439
- for (; H(s) && !xt(s); ) {
437
+ return n && (Y(n) === "html" || Y(n) === "body" && H(n).position === "static" && !_t(n)) ? o : n || function(a) {
438
+ let s = lt(a);
439
+ for (; B(s) && !xt(s); ) {
440
440
  if (_t(s))
441
441
  return s;
442
- s = rt(s);
442
+ s = lt(s);
443
443
  }
444
444
  return null;
445
445
  }(t) || o;
446
446
  }
447
- function ho(t, e, o) {
448
- const n = H(e), a = J(e), s = o === "fixed", r = ot(t, !0, s, e);
447
+ function go(t, e, o) {
448
+ const n = B(e), a = q(e), s = o === "fixed", r = ot(t, !0, s, e);
449
449
  let c = { scrollLeft: 0, scrollTop: 0 };
450
450
  const f = { x: 0, y: 0 };
451
451
  if (n || !n && !s)
452
- if ((Y(e) !== "body" || mt(a)) && (c = kt(e)), H(e)) {
452
+ if ((Y(e) !== "body" || mt(a)) && (c = kt(e)), B(e)) {
453
453
  const d = ot(e, !0, s, e);
454
454
  f.x = d.x + e.clientLeft, f.y = d.y + e.clientTop;
455
455
  } else
456
456
  a && (f.x = ae(a));
457
457
  return { x: r.left + c.scrollLeft - f.x, y: r.top + c.scrollTop - f.y, width: r.width, height: r.height };
458
458
  }
459
- const fo = { getClippingRect: function(t) {
459
+ const yo = { getClippingRect: function(t) {
460
460
  let { element: e, boundary: o, rootBoundary: n, strategy: a } = t;
461
461
  const s = o === "clippingAncestors" ? function(d, i) {
462
462
  const u = i.get(d);
463
463
  if (u)
464
464
  return u;
465
- let m = ut(d).filter((v) => V(v) && Y(v) !== "body"), l = null;
466
- const h = M(d).position === "fixed";
467
- let g = h ? rt(d) : d;
465
+ let p = ut(d).filter((v) => V(v) && Y(v) !== "body"), l = null;
466
+ const h = H(d).position === "fixed";
467
+ let g = h ? lt(d) : d;
468
468
  for (; V(g) && !xt(g); ) {
469
- const v = M(g), k = _t(g);
470
- k || v.position !== "fixed" || (l = null), (h ? !k && !l : !k && v.position === "static" && l && ["absolute", "fixed"].includes(l.position) || mt(g) && !k && le(d, g)) ? m = m.filter((P) => P !== g) : l = v, g = rt(g);
469
+ const v = H(g), k = _t(g);
470
+ k || v.position !== "fixed" || (l = null), (h ? !k && !l : !k && v.position === "static" && l && ["absolute", "fixed"].includes(l.position) || mt(g) && !k && le(d, g)) ? p = p.filter((P) => P !== g) : l = v, g = lt(g);
471
471
  }
472
- return i.set(d, m), m;
472
+ return i.set(d, p), p;
473
473
  }(e, this._c) : [].concat(o), r = [...s, n], c = r[0], f = r.reduce((d, i) => {
474
474
  const u = Wt(e, i, a);
475
475
  return d.top = dt(u.top, d.top), d.right = Ft(u.right, d.right), d.bottom = Ft(u.bottom, d.bottom), d.left = dt(u.left, d.left), d;
@@ -477,67 +477,67 @@ const fo = { getClippingRect: function(t) {
477
477
  return { width: f.right - f.left, height: f.bottom - f.top, x: f.left, y: f.top };
478
478
  }, convertOffsetParentRelativeRectToViewportRelativeRect: function(t) {
479
479
  let { rect: e, offsetParent: o, strategy: n } = t;
480
- const a = H(o), s = J(o);
480
+ const a = B(o), s = q(o);
481
481
  if (o === s)
482
482
  return e;
483
483
  let r = { scrollLeft: 0, scrollTop: 0 }, c = { x: 1, y: 1 };
484
484
  const f = { x: 0, y: 0 };
485
- if ((a || !a && n !== "fixed") && ((Y(o) !== "body" || mt(s)) && (r = kt(o)), H(o))) {
485
+ if ((a || !a && n !== "fixed") && ((Y(o) !== "body" || mt(s)) && (r = kt(o)), B(o))) {
486
486
  const d = ot(o);
487
- c = st(o), f.x = d.x + o.clientLeft, f.y = d.y + o.clientTop;
487
+ c = at(o), f.x = d.x + o.clientLeft, f.y = d.y + o.clientTop;
488
488
  }
489
489
  return { width: e.width * c.x, height: e.height * c.y, x: e.x * c.x - r.scrollLeft * c.x + f.x, y: e.y * c.y - r.scrollTop * c.y + f.y };
490
490
  }, isElement: V, getDimensions: function(t) {
491
491
  return ee(t);
492
- }, getOffsetParent: Ut, getDocumentElement: J, getScale: st, async getElementRects(t) {
492
+ }, getOffsetParent: Ut, getDocumentElement: q, getScale: at, async getElementRects(t) {
493
493
  let { reference: e, floating: o, strategy: n } = t;
494
494
  const a = this.getOffsetParent || Ut, s = this.getDimensions;
495
- return { reference: ho(e, await a(o), n), floating: { x: 0, y: 0, ...await s(o) } };
496
- }, getClientRects: (t) => Array.from(t.getClientRects()), isRTL: (t) => M(t).direction === "rtl" };
497
- function go(t, e, o, n) {
495
+ return { reference: go(e, await a(o), n), floating: { x: 0, y: 0, ...await s(o) } };
496
+ }, getClientRects: (t) => Array.from(t.getClientRects()), isRTL: (t) => H(t).direction === "rtl" };
497
+ function vo(t, e, o, n) {
498
498
  n === void 0 && (n = {});
499
499
  const { ancestorScroll: a = !0, ancestorResize: s = !0, elementResize: r = !0, animationFrame: c = !1 } = n, f = a || s ? [...V(t) ? ut(t) : t.contextElement ? ut(t.contextElement) : [], ...ut(e)] : [];
500
- f.forEach((m) => {
501
- const l = !V(m) && m.toString().includes("V");
502
- !a || c && !l || m.addEventListener("scroll", o, { passive: !0 }), s && m.addEventListener("resize", o);
500
+ f.forEach((p) => {
501
+ const l = !V(p) && p.toString().includes("V");
502
+ !a || c && !l || p.addEventListener("scroll", o, { passive: !0 }), s && p.addEventListener("resize", o);
503
503
  });
504
504
  let d, i = null;
505
505
  r && (i = new ResizeObserver(() => {
506
506
  o();
507
507
  }), V(t) && !c && i.observe(t), V(t) || !t.contextElement || c || i.observe(t.contextElement), i.observe(e));
508
508
  let u = c ? ot(t) : null;
509
- return c && function m() {
509
+ return c && function p() {
510
510
  const l = ot(t);
511
- !u || l.x === u.x && l.y === u.y && l.width === u.width && l.height === u.height || o(), u = l, d = requestAnimationFrame(m);
511
+ !u || l.x === u.x && l.y === u.y && l.width === u.width && l.height === u.height || o(), u = l, d = requestAnimationFrame(p);
512
512
  }(), o(), () => {
513
- var m;
513
+ var p;
514
514
  f.forEach((l) => {
515
515
  a && l.removeEventListener("scroll", o), s && l.removeEventListener("resize", o);
516
- }), (m = i) == null || m.disconnect(), i = null, c && cancelAnimationFrame(d);
516
+ }), (p = i) == null || p.disconnect(), i = null, c && cancelAnimationFrame(d);
517
517
  };
518
518
  }
519
- const yo = (t, e, o) => {
520
- const n = /* @__PURE__ */ new Map(), a = { platform: fo, ...o }, s = { ...a.platform, _c: n };
521
- return eo(t, e, { ...a, platform: s });
519
+ const bo = (t, e, o) => {
520
+ const n = /* @__PURE__ */ new Map(), a = { platform: yo, ...o }, s = { ...a.platform, _c: n };
521
+ return no(t, e, { ...a, platform: s });
522
522
  };
523
- function vo({ middleware: t, placement: e = null, strategy: o, append: n, enabled: a }) {
524
- const s = E(null), r = E(null), c = E(null), f = E(null), d = E(null), i = E(null), u = E(null), m = E(o ?? "absolute"), l = E(null), h = () => {
525
- !s.value || !r.value || yo(s.value, r.value, {
523
+ function wo({ middleware: t, placement: e = null, strategy: o, append: n, enabled: a }) {
524
+ const s = E(null), r = E(null), c = E(null), f = E(null), d = E(null), i = E(null), u = E(null), p = E(o ?? "absolute"), l = E(null), h = () => {
525
+ !s.value || !r.value || bo(s.value, r.value, {
526
526
  middleware: t,
527
527
  placement: e,
528
528
  strategy: o
529
529
  }).then((v) => {
530
- c.value = v.x, f.value = v.y, m.value = v.strategy, d.value = v.middlewareData.arrow.x, i.value = v.middlewareData.arrow.y, u.value = v.placement;
530
+ c.value = v.x, f.value = v.y, p.value = v.strategy, d.value = v.middlewareData.arrow.x, i.value = v.middlewareData.arrow.y, u.value = v.placement;
531
531
  });
532
532
  };
533
533
  Lt(
534
534
  () => ({
535
- reference: p(s),
536
- floating: p(r),
537
- append: p(n)
535
+ reference: m(s),
536
+ floating: m(r),
537
+ append: m(n)
538
538
  }),
539
539
  ({ floating: v, append: k }) => {
540
- k && Ie(v, k), h();
540
+ k && Re(v, k), h();
541
541
  },
542
542
  { flush: "post" }
543
543
  ), Lt(
@@ -546,7 +546,7 @@ function vo({ middleware: t, placement: e = null, strategy: o, append: n, enable
546
546
  if (!(!s.value || !r.value)) {
547
547
  if (!v)
548
548
  return g();
549
- l.value = go(s.value, r.value, h, {});
549
+ l.value = vo(s.value, r.value, h, {});
550
550
  }
551
551
  },
552
552
  { flush: "post" }
@@ -563,11 +563,11 @@ function vo({ middleware: t, placement: e = null, strategy: o, append: n, enable
563
563
  placement: u,
564
564
  reference: s,
565
565
  floating: r,
566
- strategy: m,
566
+ strategy: p,
567
567
  update: h
568
568
  };
569
569
  }
570
- const wo = (t) => {
570
+ const xo = (t) => {
571
571
  const { element: e, padding: o } = t;
572
572
  return {
573
573
  name: "arrow",
@@ -576,7 +576,7 @@ const wo = (t) => {
576
576
  return ye(e) ? e.value != null ? Ht({ element: e.value, padding: o }).fn(n) : {} : e ? Ht({ element: e, padding: o }).fn(n) : {};
577
577
  }
578
578
  };
579
- }, bo = ["data-placement"], ie = {
579
+ }, ko = ["data-placement"], ie = {
580
580
  __name: "FloatingPanel",
581
581
  props: {
582
582
  disabled: {
@@ -605,41 +605,41 @@ const wo = (t) => {
605
605
  }
606
606
  },
607
607
  setup(t) {
608
- const e = t, o = E(!1), n = E(null), { x: a, y: s, arrowX: r, arrowY: c, placement: f, reference: d, floating: i, strategy: u } = vo({
608
+ const e = t, o = E(!1), n = E(null), { x: a, y: s, arrowX: r, arrowY: c, placement: f, reference: d, floating: i, strategy: u } = wo({
609
609
  placement: e.placement,
610
- middleware: [io(), mo({ padding: 5 }), co(e.offset), wo({ element: n, padding: 5 })],
610
+ middleware: [uo(), ho({ padding: 5 }), mo(e.offset), xo({ element: n, padding: 5 })],
611
611
  append: A(() => e.appendTo),
612
612
  enabled: o
613
- }), m = () => {
613
+ }), p = () => {
614
614
  e.disabled || o.value || (o.value = !0);
615
615
  }, l = (v) => {
616
616
  o.value && v && (o.value = !1);
617
617
  }, h = (v) => {
618
618
  d.value = v;
619
619
  }, g = {
620
- mouseenter: m,
620
+ mouseenter: p,
621
621
  mouseleave: l,
622
- focus: m,
622
+ focus: p,
623
623
  blur: l
624
624
  };
625
- return xe(i, (v) => {
625
+ return ke(i, (v) => {
626
626
  var k;
627
627
  (k = d.value) != null && k.contains(v.target) || l();
628
- }), (v, k) => (y(), b(O, null, [
628
+ }), (v, k) => (y(), w(M, null, [
629
629
  I(v.$slots, "default", {
630
630
  setRef: h,
631
- show: m,
631
+ show: p,
632
632
  hide: l,
633
633
  events: g
634
634
  }),
635
- w("div", {
635
+ b("div", {
636
636
  ref_key: "floating",
637
637
  ref: i,
638
- "data-placement": p(f),
638
+ "data-placement": m(f),
639
639
  style: It({
640
- position: p(u),
641
- top: p(s) ? `${p(s)}px` : "",
642
- left: p(a) ? `${p(a)}px` : ""
640
+ position: m(u),
641
+ top: m(s) ? `${m(s)}px` : "",
642
+ left: m(a) ? `${m(a)}px` : ""
643
643
  })
644
644
  }, [
645
645
  C(ve, {
@@ -647,31 +647,31 @@ const wo = (t) => {
647
647
  mode: "out-in"
648
648
  }, {
649
649
  default: T(() => [
650
- o.value ? (y(), b("div", {
650
+ o.value ? (y(), w("div", {
651
651
  key: 0,
652
652
  class: _(["floating-content", [`is-${e.theme}`]])
653
653
  }, [
654
654
  I(v.$slots, "content", { close: l }, () => [
655
- K(x(t.content), 1)
655
+ O(x(t.content), 1)
656
656
  ]),
657
- w("div", {
657
+ b("div", {
658
658
  ref_key: "arrowRef",
659
659
  ref: n,
660
660
  class: "is-arrow",
661
661
  style: It({
662
- position: p(u),
663
- top: p(c) ? `${p(c)}px` : "",
664
- left: p(r) ? `${p(r)}px` : ""
662
+ position: m(u),
663
+ top: m(c) ? `${m(c)}px` : "",
664
+ left: m(r) ? `${m(r)}px` : ""
665
665
  })
666
666
  }, null, 4)
667
- ], 2)) : S("", !0)
667
+ ], 2)) : $("", !0)
668
668
  ]),
669
669
  _: 3
670
670
  })
671
- ], 12, bo)
671
+ ], 12, ko)
672
672
  ], 64));
673
673
  }
674
- }, xo = ["onMouseenter", "onMouseleave", "onFocus", "onBlur", "onClick", "onKeydown", "tabindex"], ko = { key: 0 }, To = ["colspan"], Po = { key: 1 }, $o = ["colspan"], ce = {
674
+ }, To = ["onMouseenter", "onMouseleave", "onFocus", "onBlur", "onClick", "onKeydown", "tabindex"], Po = { key: 0 }, $o = ["colspan"], So = { key: 1 }, _o = ["colspan"], ce = {
675
675
  __name: "DataTable",
676
676
  props: {
677
677
  columns: {
@@ -697,116 +697,116 @@ const wo = (t) => {
697
697
  },
698
698
  emits: ["sort"],
699
699
  setup(t, { emit: e }) {
700
- const o = t, { isLoading: n, appendTo: a } = zt(o), s = ke(n, { delay: Ce }), r = e, { t: c } = lt(), f = q("table"), d = A(() => o.columns), i = A(() => Object.keys(o.columns).length), u = (m, l) => {
701
- m.sortOrders && r("sort", { target: l, orders: m.sortOrders });
700
+ const o = t, { isLoading: n, appendTo: a } = zt(o), s = Te(n, { delay: Le }), r = e, { t: c } = nt(), f = J("table"), d = A(() => o.columns), i = A(() => Object.keys(o.columns).length), u = (p, l) => {
701
+ p.sortOrders && r("sort", { target: l, orders: p.sortOrders });
702
702
  };
703
- return (m, l) => (y(), b("table", {
704
- class: _(p(f))
703
+ return (p, l) => (y(), w("table", {
704
+ class: _(m(f))
705
705
  }, [
706
- w("thead", null, [
707
- w("tr", null, [
708
- (y(!0), b(O, null, tt(d.value, (h, g) => (y(), L(ie, {
706
+ b("thead", null, [
707
+ b("tr", null, [
708
+ (y(!0), w(M, null, tt(d.value, (h, g) => (y(), L(ie, {
709
709
  key: g,
710
710
  placement: "top",
711
711
  content: h.tooltip,
712
712
  disabled: !h.tooltip,
713
- "append-to": p(a)
713
+ "append-to": m(a)
714
714
  }, {
715
715
  default: T(({ setRef: v, show: k, hide: P }) => [
716
- w("th", {
716
+ b("th", {
717
717
  ref_for: !0,
718
718
  ref: v,
719
719
  class: _([
720
720
  [h.class],
721
721
  {
722
- "is-active": g === t.sort.sortTarget && t.sort.orders[0].direction !== p(Pt),
722
+ "is-active": g === t.sort.sortTarget && t.sort.orders[0].direction !== m(Pt),
723
723
  "is-sortable": h.sortOrders,
724
- "is-desc": g === t.sort.sortTarget && t.sort.orders[0].direction === p(Rt),
725
- "is-asc": g === t.sort.sortTarget && t.sort.orders[0].direction === p(Dt)
724
+ "is-desc": g === t.sort.sortTarget && t.sort.orders[0].direction === m(Nt),
725
+ "is-asc": g === t.sort.sortTarget && t.sort.orders[0].direction === m(Dt)
726
726
  }
727
727
  ]),
728
728
  onMouseenter: k,
729
729
  onMouseleave: P,
730
730
  onFocus: k,
731
731
  onBlur: P,
732
- onClick: ($) => u(h, g),
732
+ onClick: (S) => u(h, g),
733
733
  onKeydown: [
734
- Vt(at(($) => u(h, g), ["prevent"]), ["space"]),
735
- Vt(at(($) => u(h, g), ["prevent"]), ["enter"])
734
+ Vt(rt((S) => u(h, g), ["prevent"]), ["space"]),
735
+ Vt(rt((S) => u(h, g), ["prevent"]), ["enter"])
736
736
  ],
737
737
  tabindex: h.sortOrders ? 0 : -1,
738
738
  role: "button"
739
739
  }, [
740
- I(m.$slots, `header-${g}`, { column: h }, () => [
741
- K(x(h.label), 1)
740
+ I(p.$slots, `header-${g}`, { column: h }, () => [
741
+ O(x(h.label), 1)
742
742
  ]),
743
- h.sortOrders && g !== t.sort.sortTarget ? (y(), L(p(Ot), {
743
+ h.sortOrders && g !== t.sort.sortTarget ? (y(), L(m(Ot), {
744
744
  key: 0,
745
745
  class: "is-icon-sort"
746
- })) : S("", !0),
747
- g === t.sort.sortTarget && t.sort.orders[0].direction === p(Pt) ? (y(), L(p(Ot), {
746
+ })) : $("", !0),
747
+ g === t.sort.sortTarget && t.sort.orders[0].direction === m(Pt) ? (y(), L(m(Ot), {
748
748
  key: 1,
749
749
  class: "is-icon-sort"
750
- })) : S("", !0),
751
- g === t.sort.sortTarget && t.sort.orders[0].direction === p(Rt) ? (y(), L(p(qe), {
750
+ })) : $("", !0),
751
+ g === t.sort.sortTarget && t.sort.orders[0].direction === m(Nt) ? (y(), L(m(Ze), {
752
752
  key: 2,
753
753
  class: "is-icon-sort"
754
- })) : S("", !0),
755
- g === t.sort.sortTarget && t.sort.orders[0].direction === p(Dt) ? (y(), L(p(to), {
754
+ })) : $("", !0),
755
+ g === t.sort.sortTarget && t.sort.orders[0].direction === m(Dt) ? (y(), L(m(oo), {
756
756
  key: 3,
757
757
  class: "is-icon-sort"
758
- })) : S("", !0)
759
- ], 42, xo)
758
+ })) : $("", !0)
759
+ ], 42, To)
760
760
  ]),
761
761
  _: 2
762
762
  }, 1032, ["content", "disabled", "append-to"]))), 128))
763
763
  ])
764
764
  ]),
765
- w("tbody", null, [
766
- (y(!0), b(O, null, tt(o.rows, (h, g) => (y(), b("tr", {
765
+ b("tbody", null, [
766
+ (y(!0), w(M, null, tt(o.rows, (h, g) => (y(), w("tr", {
767
767
  key: g,
768
768
  class: _(h.rowClasses)
769
769
  }, [
770
- (y(!0), b(O, null, tt(d.value, (v, k) => (y(), b("td", {
770
+ (y(!0), w(M, null, tt(d.value, (v, k) => (y(), w("td", {
771
771
  key: k,
772
772
  class: _([
773
773
  [v.class],
774
774
  {
775
- "is-active": k === t.sort.sortTarget && t.sort.orders[0].direction !== p(Pt),
775
+ "is-active": k === t.sort.sortTarget && t.sort.orders[0].direction !== m(Pt),
776
776
  "is-zero": h[k] == 0
777
777
  }
778
778
  ])
779
779
  }, [
780
- I(m.$slots, `cell-${k}`, {
780
+ I(p.$slots, `cell-${k}`, {
781
781
  row: h,
782
782
  prop: k
783
783
  }, () => [
784
- K(x(h[k]), 1)
784
+ O(x(h[k]), 1)
785
785
  ])
786
786
  ], 2))), 128))
787
787
  ], 2))), 128))
788
788
  ]),
789
- p(s) && t.rows.length === 0 ? (y(), b("tfoot", ko, [
790
- w("tr", null, [
791
- w("td", { colspan: i.value }, [
792
- I(m.$slots, "loading", {}, () => [
793
- K(x(p(c)("common.loading")), 1)
789
+ m(s) && t.rows.length === 0 ? (y(), w("tfoot", Po, [
790
+ b("tr", null, [
791
+ b("td", { colspan: i.value }, [
792
+ I(p.$slots, "loading", {}, () => [
793
+ O(x(m(c)("common.loading")), 1)
794
794
  ])
795
- ], 8, To)
795
+ ], 8, $o)
796
796
  ])
797
- ])) : S("", !0),
798
- t.rows.length === 0 && !p(n) && !p(s) ? (y(), b("tfoot", Po, [
799
- w("tr", null, [
800
- w("td", { colspan: i.value }, [
801
- I(m.$slots, "empty", {}, () => [
802
- K(x(p(c)("common.noData")), 1)
797
+ ])) : $("", !0),
798
+ t.rows.length === 0 && !m(n) && !m(s) ? (y(), w("tfoot", So, [
799
+ b("tr", null, [
800
+ b("td", { colspan: i.value }, [
801
+ I(p.$slots, "empty", {}, () => [
802
+ O(x(m(c)("common.noData")), 1)
803
803
  ])
804
- ], 8, $o)
804
+ ], 8, _o)
805
805
  ])
806
- ])) : S("", !0)
806
+ ])) : $("", !0)
807
807
  ], 2));
808
808
  }
809
- }, So = {
809
+ }, zo = {
810
810
  xmlns: "http://www.w3.org/2000/svg",
811
811
  viewBox: "0 0 24 24",
812
812
  fill: "none",
@@ -814,25 +814,25 @@ const wo = (t) => {
814
814
  "stroke-width": "2",
815
815
  "stroke-linecap": "round",
816
816
  "stroke-linejoin": "round"
817
- }, _o = /* @__PURE__ */ w("path", { d: "M10.29 3.86L1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0z" }, null, -1), zo = /* @__PURE__ */ w("line", {
817
+ }, Ao = /* @__PURE__ */ b("path", { d: "M10.29 3.86L1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0z" }, null, -1), Go = /* @__PURE__ */ b("line", {
818
818
  x1: "12",
819
819
  y1: "9",
820
820
  x2: "12",
821
821
  y2: "13"
822
- }, null, -1), Ao = /* @__PURE__ */ w("line", {
822
+ }, null, -1), Co = /* @__PURE__ */ b("line", {
823
823
  x1: "12",
824
824
  y1: "17",
825
825
  x2: "12.01",
826
826
  y2: "17"
827
- }, null, -1), Go = [
828
- _o,
829
- zo,
830
- Ao
827
+ }, null, -1), Eo = [
828
+ Ao,
829
+ Go,
830
+ Co
831
831
  ];
832
- function Co(t, e) {
833
- return y(), b("svg", So, Go);
832
+ function Lo(t, e) {
833
+ return y(), w("svg", zo, Eo);
834
834
  }
835
- const Eo = { render: Co }, _s = {
835
+ const Io = { render: Lo }, Ds = {
836
836
  __name: "ErrorNotice",
837
837
  props: {
838
838
  error: {
@@ -841,36 +841,36 @@ const Eo = { render: Co }, _s = {
841
841
  }
842
842
  },
843
843
  setup(t) {
844
- const e = t, { t: o, hasTranlation: n } = lt(), a = q("error-notice"), s = A(() => {
844
+ const e = t, { t: o, hasTranslation: n } = nt(), a = J("error-notice"), s = A(() => {
845
845
  var r;
846
846
  return n(`errors.${e.error.key}`) ? o(`errors.${e.error.key}`, e.error.cause) : `${e.error.key}: ${(r = e.error) == null ? void 0 : r.message}`;
847
847
  });
848
- return (r, c) => (y(), b("div", {
849
- class: _(p(a))
848
+ return (r, c) => (y(), w("div", {
849
+ class: _(m(a))
850
850
  }, [
851
- C(p(Eo), {
851
+ C(m(Io), {
852
852
  class: "icon",
853
853
  width: "20",
854
854
  height: "20"
855
855
  }),
856
- w("span", null, x(s.value), 1)
856
+ b("span", null, x(s.value), 1)
857
857
  ], 2));
858
858
  }
859
- }, zs = {
859
+ }, Os = {
860
860
  __name: "ErrorProvider",
861
861
  setup(t) {
862
- const { message: e, hasError: o, error: n } = Te();
862
+ const { message: e, hasError: o, error: n } = Pe();
863
863
  return (a, s) => I(a.$slots, "default", {
864
- message: p(e),
865
- error: p(n),
866
- hasError: p(o)
864
+ message: m(e),
865
+ error: m(n),
866
+ hasError: m(o)
867
867
  });
868
868
  }
869
- }, Lo = {
869
+ }, Vo = {
870
870
  "undefined-column": "A(z) {column} oszlop nem létezik!",
871
871
  "invalid-season-name": "Érvénytelen szezon név",
872
872
  "api-key-not-found": "API Kulcs nem megfelelő"
873
- }, Io = {
873
+ }, Ro = {
874
874
  loading: "Töltődés...",
875
875
  noData: "Nincs megjeleníthető adat",
876
876
  selectTimezone: "*Minden időpont a számítógép időzónája szerint jelenik meg ({timezone}). Váltás: ",
@@ -881,7 +881,18 @@ const Eo = { render: Co }, _s = {
881
881
  all: "Mind",
882
882
  report: "Jegyzőkönyv",
883
883
  video: "Videó"
884
- }, Vo = {
884
+ }, No = {
885
+ inheritedPoints: {
886
+ prependix: "A megelőző bajnokság szakaszban elért eredménye alapján",
887
+ content: "{team} csapata {points}",
888
+ appendix: "többletponttal rendelkezik."
889
+ },
890
+ penaltyPoints: {
891
+ prependix: "* Fegyelmi Bizottság döntése alapján:",
892
+ content: "{team} csapatától {points} pont",
893
+ appendix: "levonva."
894
+ }
895
+ }, Do = {
885
896
  blank: "#",
886
897
  team: {
887
898
  short: "Csapat",
@@ -1203,7 +1214,7 @@ const Eo = { render: Co }, _s = {
1203
1214
  short: "#",
1204
1215
  tooltip: "Végeredmény típusa"
1205
1216
  }
1206
- }, No = {
1217
+ }, Oo = {
1207
1218
  data: {
1208
1219
  localTime: "Helyszín szerinti idő"
1209
1220
  },
@@ -1252,16 +1263,17 @@ const Eo = { render: Co }, _s = {
1252
1263
  Végeredmény: "Végeredmény",
1253
1264
  Szétlövés: "Szétlövés"
1254
1265
  }
1255
- }, Ro = {
1256
- errors: Lo,
1257
- common: Io,
1258
- table: Vo,
1259
- game: No
1260
- }, Do = {
1266
+ }, Mo = {
1267
+ errors: Vo,
1268
+ common: Ro,
1269
+ additionalText: No,
1270
+ table: Do,
1271
+ game: Oo
1272
+ }, Ho = {
1261
1273
  "undefined-column": "The {column} column is not exists!",
1262
1274
  "invalid-season-name": "Invalid season name",
1263
1275
  "api-key-not-found": "API Key not found"
1264
- }, Oo = {
1276
+ }, Bo = {
1265
1277
  loading: "Loading...",
1266
1278
  noData: "No data to display",
1267
1279
  selectTimezone: "*All times are displayed according to your computer's time zone ({timezone}). Change: ",
@@ -1272,7 +1284,18 @@ const Eo = { render: Co }, _s = {
1272
1284
  all: "All",
1273
1285
  report: "Report Sheet",
1274
1286
  video: "Video"
1275
- }, Mo = {
1287
+ }, Fo = {
1288
+ inheritedPoints: {
1289
+ prependix: "",
1290
+ content: "{team} has {points} extra point(s)",
1291
+ appendix: "based on its results in the previous championship phase."
1292
+ },
1293
+ penaltyPoints: {
1294
+ prependix: "* ",
1295
+ content: "{points} point(s) deducted from team {team}",
1296
+ appendix: "based on the decision of the Disciplinary Committee."
1297
+ }
1298
+ }, jo = {
1276
1299
  blank: "#",
1277
1300
  team: {
1278
1301
  short: "Team",
@@ -1594,7 +1617,7 @@ const Eo = { render: Co }, _s = {
1594
1617
  short: "#",
1595
1618
  tooltip: "Result Type"
1596
1619
  }
1597
- }, Ho = {
1620
+ }, Wo = {
1598
1621
  data: {
1599
1622
  localTime: "Game local time"
1600
1623
  },
@@ -1642,17 +1665,18 @@ const Eo = { render: Co }, _s = {
1642
1665
  Végeredmény: "Game Completed",
1643
1666
  Szétlövés: "Shoot Out"
1644
1667
  }
1645
- }, Bo = {
1646
- errors: Do,
1647
- common: Oo,
1648
- table: Mo,
1649
- game: Ho
1650
- }, Fo = (t, e) => {
1668
+ }, Ko = {
1669
+ errors: Ho,
1670
+ common: Bo,
1671
+ additionalText: Fo,
1672
+ table: jo,
1673
+ game: Wo
1674
+ }, Uo = (t, e) => {
1651
1675
  const o = t.__vccOpts || t;
1652
1676
  for (const [n, a] of e)
1653
1677
  o[n] = a;
1654
1678
  return o;
1655
- }, jo = we({
1679
+ }, qo = be({
1656
1680
  props: {
1657
1681
  locale: {
1658
1682
  type: String,
@@ -1664,7 +1688,7 @@ const Eo = { render: Co }, _s = {
1664
1688
  }
1665
1689
  },
1666
1690
  setup(t) {
1667
- const e = Me({ hu: Ro, en: Bo }, t.messages), { translate: o } = Pe({
1691
+ const e = Be({ hu: Mo, en: Ko }, t.messages), { translate: o } = $e({
1668
1692
  locale: A(() => t.locale),
1669
1693
  messages: e
1670
1694
  });
@@ -1673,10 +1697,10 @@ const Eo = { render: Co }, _s = {
1673
1697
  };
1674
1698
  }
1675
1699
  });
1676
- function Wo(t, e, o, n, a, s) {
1700
+ function Jo(t, e, o, n, a, s) {
1677
1701
  return I(t.$slots, "default", { t: t.translate });
1678
1702
  }
1679
- const As = /* @__PURE__ */ Fo(jo, [["render", Wo]]), Ko = ["src"], Uo = ["src", "title"], nt = /* @__PURE__ */ Object.assign({
1703
+ const Ms = /* @__PURE__ */ Uo(qo, [["render", Jo]]), Yo = ["src"], Zo = ["src", "title"], st = /* @__PURE__ */ Object.assign({
1680
1704
  inheritAttrs: !1
1681
1705
  }, {
1682
1706
  __name: "Image",
@@ -1695,35 +1719,35 @@ const As = /* @__PURE__ */ Fo(jo, [["render", Wo]]), Ko = ["src"], Uo = ["src",
1695
1719
  }
1696
1720
  },
1697
1721
  setup(t) {
1698
- const e = t, { defaultSrc: o } = zt(e), n = E({ src: e.src }), { error: a, isReady: s } = $e(n, { resetOnExecute: !1, shallow: !1 });
1699
- return (r, c) => (y(), b(O, null, [
1700
- p(a) && p(o) ? (y(), b("img", {
1722
+ const e = t, { defaultSrc: o } = zt(e), n = E({ src: e.src }), { error: a, isReady: s } = Se(n, { resetOnExecute: !1, shallow: !1 });
1723
+ return (r, c) => (y(), w(M, null, [
1724
+ m(a) && m(o) ? (y(), w("img", {
1701
1725
  key: 0,
1702
- src: p(o),
1726
+ src: m(o),
1703
1727
  class: _(["is-loaded is-default", r.$attrs.class])
1704
- }, null, 10, Ko)) : S("", !0),
1705
- p(a) ? S("", !0) : (y(), b("img", {
1728
+ }, null, 10, Yo)) : $("", !0),
1729
+ m(a) ? $("", !0) : (y(), w("img", {
1706
1730
  key: 1,
1707
1731
  src: n.value.src,
1708
- class: _([r.$attrs.class, { "is-loaded": p(s) }]),
1732
+ class: _([r.$attrs.class, { "is-loaded": m(s) }]),
1709
1733
  title: e.title
1710
- }, null, 10, Uo))
1734
+ }, null, 10, Zo))
1711
1735
  ], 64));
1712
1736
  }
1713
- }), Jo = { style: { "text-align": "center" } }, de = {
1737
+ }), Xo = { style: { "text-align": "center" } }, de = {
1714
1738
  __name: "LoadingIndicator",
1715
1739
  setup(t) {
1716
- const { t: e } = lt();
1717
- return (o, n) => (y(), b("div", Jo, x(p(e)("common.loading")), 1));
1740
+ const { t: e } = nt();
1741
+ return (o, n) => (y(), w("div", Xo, x(m(e)("common.loading")), 1));
1718
1742
  }
1719
1743
  };
1720
- function qo({ currentPage: t, itemsPerPage: e = 20, totalItems: o, rangeLength: n = 5, update: a = Se }) {
1721
- const s = A(() => Math.ceil(p(o) / e)), r = A(() => {
1722
- const i = p(t) - 1, u = Array.from({ length: s.value }, (h, g) => g + 1), m = Math.floor(n / 2);
1723
- let l = Math.max(i - m, 0);
1744
+ function Qo({ currentPage: t, itemsPerPage: e = 20, totalItems: o, rangeLength: n = 5, update: a = _e }) {
1745
+ const s = A(() => Math.ceil(m(o) / e)), r = A(() => {
1746
+ const i = m(t) - 1, u = Array.from({ length: s.value }, (h, g) => g + 1), p = Math.floor(n / 2);
1747
+ let l = Math.max(i - p, 0);
1724
1748
  return l + n >= s.value && (l = Math.max(s.value - n, 0)), u.slice(l, l + n);
1725
1749
  }), c = (i) => {
1726
- const u = p(t) + i;
1750
+ const u = m(t) + i;
1727
1751
  d(u) && a(u);
1728
1752
  }, f = (i) => {
1729
1753
  d(i) && a(i);
@@ -1736,7 +1760,7 @@ function qo({ currentPage: t, itemsPerPage: e = 20, totalItems: o, rangeLength:
1736
1760
  pageStep: c
1737
1761
  };
1738
1762
  }
1739
- const Yo = {
1763
+ const tn = {
1740
1764
  xmlns: "http://www.w3.org/2000/svg",
1741
1765
  viewBox: "0 0 24 24",
1742
1766
  fill: "none",
@@ -1744,13 +1768,13 @@ const Yo = {
1744
1768
  "stroke-width": "2",
1745
1769
  "stroke-linecap": "round",
1746
1770
  "stroke-linejoin": "round"
1747
- }, Zo = /* @__PURE__ */ w("polyline", { points: "15 18 9 12 15 6" }, null, -1), Xo = [
1748
- Zo
1771
+ }, en = /* @__PURE__ */ b("polyline", { points: "15 18 9 12 15 6" }, null, -1), on = [
1772
+ en
1749
1773
  ];
1750
- function Qo(t, e) {
1751
- return y(), b("svg", Yo, Xo);
1774
+ function nn(t, e) {
1775
+ return y(), w("svg", tn, on);
1752
1776
  }
1753
- const tn = { render: Qo }, en = {
1777
+ const sn = { render: nn }, an = {
1754
1778
  xmlns: "http://www.w3.org/2000/svg",
1755
1779
  viewBox: "0 0 24 24",
1756
1780
  fill: "none",
@@ -1758,21 +1782,21 @@ const tn = { render: Qo }, en = {
1758
1782
  "stroke-width": "2",
1759
1783
  "stroke-linecap": "round",
1760
1784
  "stroke-linejoin": "round"
1761
- }, on = /* @__PURE__ */ w("polyline", { points: "9 18 15 12 9 6" }, null, -1), nn = [
1762
- on
1785
+ }, rn = /* @__PURE__ */ b("polyline", { points: "9 18 15 12 9 6" }, null, -1), ln = [
1786
+ rn
1763
1787
  ];
1764
- function sn(t, e) {
1765
- return y(), b("svg", en, nn);
1788
+ function cn(t, e) {
1789
+ return y(), w("svg", an, ln);
1766
1790
  }
1767
- const an = { render: sn }, rn = ["disabled"], ln = ["disabled"], cn = {
1791
+ const dn = { render: cn }, un = ["disabled"], mn = ["disabled"], pn = {
1768
1792
  key: 1,
1769
1793
  class: "is-disabled"
1770
- }, dn = ["disabled", "onClick"], un = {
1794
+ }, hn = ["disabled", "onClick"], fn = {
1771
1795
  key: 2,
1772
1796
  class: "is-disabled"
1773
- }, mn = /* @__PURE__ */ w("span", null, "...", -1), pn = [
1774
- mn
1775
- ], hn = ["disabled"], fn = ["disabled"], Gs = {
1797
+ }, gn = /* @__PURE__ */ b("span", null, "...", -1), yn = [
1798
+ gn
1799
+ ], vn = ["disabled"], bn = ["disabled"], Hs = {
1776
1800
  __name: "Paginator",
1777
1801
  props: {
1778
1802
  page: {
@@ -1804,71 +1828,71 @@ const an = { render: sn }, rn = ["disabled"], ln = ["disabled"], cn = {
1804
1828
  },
1805
1829
  emits: ["change"],
1806
1830
  setup(t, { emit: e }) {
1807
- const o = t, n = e, a = q("paginator"), { page: s, pageCount: r, range: c, goTo: f, pageStep: d } = qo({
1831
+ const o = t, n = e, a = J("paginator"), { page: s, pageCount: r, range: c, goTo: f, pageStep: d } = Qo({
1808
1832
  currentPage: A(() => o.page),
1809
1833
  totalItems: A(() => o.totalItems),
1810
1834
  itemsPerPage: o.itemsPerPage,
1811
1835
  rangeLength: o.rangeLength,
1812
1836
  update: (i) => n("change", i)
1813
1837
  });
1814
- return (i, u) => p(r) > 1 ? (y(), b("div", {
1838
+ return (i, u) => m(r) > 1 ? (y(), w("div", {
1815
1839
  key: 0,
1816
- class: _(p(a))
1840
+ class: _(m(a))
1817
1841
  }, [
1818
- w("button", {
1842
+ b("button", {
1819
1843
  type: "button",
1820
- disabled: p(s) === 1,
1821
- onClick: u[0] || (u[0] = (m) => p(d)(-1))
1844
+ disabled: m(s) === 1,
1845
+ onClick: u[0] || (u[0] = (p) => m(d)(-1))
1822
1846
  }, [
1823
1847
  I(i.$slots, "prev", {}, () => [
1824
- C(p(tn), { class: "icon paginator-left" })
1848
+ C(m(sn), { class: "icon paginator-left" })
1825
1849
  ])
1826
- ], 8, rn),
1827
- t.isCompact ? S("", !0) : (y(), b("button", {
1850
+ ], 8, un),
1851
+ t.isCompact ? $("", !0) : (y(), w("button", {
1828
1852
  key: 0,
1829
1853
  type: "button",
1830
- disabled: p(s) === 1,
1831
- onClick: u[1] || (u[1] = (m) => p(f)(1))
1832
- }, "1", 8, ln)),
1833
- t.isCompact ? S("", !0) : (y(), b("div", cn, "...")),
1834
- (y(!0), b(O, null, tt(p(c), (m) => (y(), b("button", {
1854
+ disabled: m(s) === 1,
1855
+ onClick: u[1] || (u[1] = (p) => m(f)(1))
1856
+ }, "1", 8, mn)),
1857
+ t.isCompact ? $("", !0) : (y(), w("div", pn, "...")),
1858
+ (y(!0), w(M, null, tt(m(c), (p) => (y(), w("button", {
1835
1859
  type: "button",
1836
- key: m,
1837
- class: _({ "is-active": m === p(s) }),
1838
- disabled: m === p(s),
1839
- onClick: (l) => p(f)(m)
1840
- }, x(m), 11, dn))), 128)),
1841
- t.isCompact ? S("", !0) : (y(), b("div", un, pn)),
1842
- t.isCompact ? S("", !0) : (y(), b("button", {
1860
+ key: p,
1861
+ class: _({ "is-active": p === m(s) }),
1862
+ disabled: p === m(s),
1863
+ onClick: (l) => m(f)(p)
1864
+ }, x(p), 11, hn))), 128)),
1865
+ t.isCompact ? $("", !0) : (y(), w("div", fn, yn)),
1866
+ t.isCompact ? $("", !0) : (y(), w("button", {
1843
1867
  key: 3,
1844
1868
  type: "button",
1845
- disabled: p(s) === p(r),
1846
- onClick: u[2] || (u[2] = (m) => p(f)(p(r)))
1847
- }, x(p(r)), 9, hn)),
1848
- w("button", {
1869
+ disabled: m(s) === m(r),
1870
+ onClick: u[2] || (u[2] = (p) => m(f)(m(r)))
1871
+ }, x(m(r)), 9, vn)),
1872
+ b("button", {
1849
1873
  type: "button",
1850
- disabled: p(s) === p(r),
1851
- onClick: u[3] || (u[3] = at((m) => p(d)(1), ["prevent"]))
1874
+ disabled: m(s) === m(r),
1875
+ onClick: u[3] || (u[3] = rt((p) => m(d)(1), ["prevent"]))
1852
1876
  }, [
1853
1877
  I(i.$slots, "next", {}, () => [
1854
- C(p(an), { class: "icon paginator-left" })
1878
+ C(m(dn), { class: "icon paginator-left" })
1855
1879
  ])
1856
- ], 8, fn)
1857
- ], 2)) : S("", !0);
1880
+ ], 8, bn)
1881
+ ], 2)) : $("", !0);
1858
1882
  }
1859
1883
  }, ue = {
1860
1884
  __name: "ResponsiveTable",
1861
1885
  setup(t) {
1862
- const e = E(null), o = q("table-responsive");
1863
- return (n, a) => (y(), b("div", {
1886
+ const e = E(null), o = J("table-responsive");
1887
+ return (n, a) => (y(), w("div", {
1864
1888
  ref_key: "el",
1865
1889
  ref: e,
1866
- class: _(p(o))
1890
+ class: _(m(o))
1867
1891
  }, [
1868
1892
  I(n.$slots, "default", { el: e.value })
1869
1893
  ], 2));
1870
1894
  }
1871
- }, gn = ["onClick"], Cs = {
1895
+ }, wn = ["onClick"], Bs = {
1872
1896
  __name: "TimezoneSelector",
1873
1897
  props: {
1874
1898
  locale: {
@@ -1882,38 +1906,42 @@ const an = { render: sn }, rn = ["disabled"], ln = ["disabled"], cn = {
1882
1906
  },
1883
1907
  emits: ["change"],
1884
1908
  setup(t, { emit: e }) {
1885
- const o = t, n = e, { t: a } = lt(), s = q("timezone-selector"), r = A(() => gt(/* @__PURE__ */ new Date(), null, o.locale)), c = Ge(), f = A(() => Array.from(Ee.values()).map((i) => ({
1909
+ const o = t, n = e, { t: a } = nt(), s = J("timezone-selector"), r = A(() => gt(/* @__PURE__ */ new Date(), null, o.locale)), c = Ee(), f = A(() => Array.from(Ie.values()).map((i) => ({
1886
1910
  ...i,
1887
1911
  isActive: gt(/* @__PURE__ */ new Date(), o.currentZone, o.locale) === gt(/* @__PURE__ */ new Date(), i.timezone, o.locale),
1888
1912
  zoneOffsetName: gt(/* @__PURE__ */ new Date(), i.timezone, o.locale)
1889
1913
  }))), d = (i) => n("change", i);
1890
- return (i, u) => (y(), b("div", {
1891
- class: _(p(s))
1914
+ return (i, u) => (y(), w("div", {
1915
+ class: _(m(s))
1892
1916
  }, [
1893
- C(p(_e), {
1917
+ C(m(ze), {
1894
1918
  path: "common.selectTimezone",
1895
1919
  tag: "span"
1896
1920
  }, {
1897
1921
  timezone: T(() => [
1898
- w("a", {
1922
+ b("a", {
1899
1923
  href: "#",
1900
- onClick: u[0] || (u[0] = at((m) => d(p(c)), ["prevent"]))
1924
+ onClick: u[0] || (u[0] = rt((p) => d(m(c)), ["prevent"]))
1901
1925
  }, x(r.value), 1)
1902
1926
  ]),
1903
1927
  _: 1
1904
1928
  }),
1905
- (y(!0), b(O, null, tt(f.value, (m) => (y(), b("a", {
1906
- key: m.countryLabelKey,
1929
+ (y(!0), w(M, null, tt(f.value, (p) => (y(), w("a", {
1930
+ key: p.countryLabelKey,
1907
1931
  href: "#",
1908
- class: _({ "is-active": m.isActive }),
1909
- onClick: at((l) => d(m.timezone), ["prevent"])
1910
- }, x(p(a)(`common.${m.countryLabelKey}`)) + " (" + x(m.zoneOffsetName) + ") ", 11, gn))), 128))
1932
+ class: _({ "is-active": p.isActive }),
1933
+ onClick: rt((l) => d(p.timezone), ["prevent"])
1934
+ }, x(m(a)(`common.${p.countryLabelKey}`)) + " (" + x(p.zoneOffsetName) + ") ", 11, wn))), 128))
1911
1935
  ], 2));
1912
1936
  }
1913
- }, yn = { class: "is-portrait-image" }, vn = { class: "is-team-name-long" }, wn = { class: "is-team-name-short" }, bn = { class: "is-team-name-long" }, xn = { class: "is-team-name-short" }, kn = { class: "is-team-name-long" }, Tn = { class: "is-team-name-short" }, Pn = ["href"], $n = { class: "is-team-name-long" }, Sn = { class: "is-team-name-short" }, _n = ["href"], zn = {
1937
+ }, xn = { class: "is-portrait-image" }, kn = { class: "is-team-name-long" }, Tn = { key: 0 }, Pn = /* @__PURE__ */ b("sup", null, "*", -1), $n = [
1938
+ Pn
1939
+ ], Sn = { class: "is-team-name-short" }, _n = { key: 0 }, zn = /* @__PURE__ */ b("sup", null, "*", -1), An = [
1940
+ zn
1941
+ ], Gn = { class: "is-team-name-long" }, Cn = { class: "is-team-name-short" }, En = { class: "is-team-name-long" }, Ln = { class: "is-team-name-short" }, In = ["href"], Vn = { class: "is-team-name-long" }, Rn = { class: "is-team-name-short" }, Nn = ["href"], Dn = {
1914
1942
  key: 0,
1915
1943
  class: "is-text-dark"
1916
- }, An = ["href", "target"], Es = {
1944
+ }, On = ["href", "target"], Fs = {
1917
1945
  __name: "StatisticsTable",
1918
1946
  props: {
1919
1947
  columns: {
@@ -1973,7 +2001,7 @@ const an = { render: sn }, rn = ["disabled"], ln = ["disabled"], cn = {
1973
2001
  },
1974
2002
  emits: ["sort"],
1975
2003
  setup(t, { emit: e }) {
1976
- const o = t, { columns: n, hideColumns: a } = zt(o), s = e, { onError: r } = Jt(), { columns: c, error: f } = qt(
2004
+ const o = t, { columns: n, hideColumns: a } = zt(o), s = e, { onError: r } = qt(), { columns: c, error: f } = Jt(
1977
2005
  n,
1978
2006
  a,
1979
2007
  A(() => ({
@@ -1988,33 +2016,33 @@ const an = { render: sn }, rn = ["disabled"], ln = ["disabled"], cn = {
1988
2016
  );
1989
2017
  const d = (i) => s("sort", i);
1990
2018
  return (i, u) => (y(), L(ue, null, {
1991
- default: T(({ el: m }) => [
2019
+ default: T(({ el: p }) => [
1992
2020
  C(ce, {
1993
- columns: p(c),
2021
+ columns: m(c),
1994
2022
  sort: o.sort,
1995
2023
  rows: o.rows,
1996
2024
  "is-loading": t.isLoading,
1997
- "append-to": t.appendTo || m,
2025
+ "append-to": t.appendTo || p,
1998
2026
  onSort: d
1999
- }, be({
2027
+ }, we({
2000
2028
  "cell-index": T(({ row: l }) => [
2001
- w("span", {
2029
+ b("span", {
2002
2030
  class: _(l.indexClass)
2003
2031
  }, x(l.index), 3)
2004
2032
  ]),
2005
2033
  "cell-playerPortrait": T(({ row: l }) => [
2006
- w("div", yn, [
2007
- (y(), L(nt, {
2034
+ b("div", xn, [
2035
+ (y(), L(st, {
2008
2036
  key: l.player.playerId,
2009
2037
  src: l.player.picture,
2010
- "default-src": p(Le)
2038
+ "default-src": m(Ve)
2011
2039
  }, null, 8, ["src", "default-src"]))
2012
2040
  ])
2013
2041
  ]),
2014
2042
  "cell-teamLogo": T(({ row: l }) => {
2015
2043
  var h, g;
2016
2044
  return [
2017
- (y(), L(nt, {
2045
+ (y(), L(st, {
2018
2046
  class: "is-logo-image",
2019
2047
  key: ((h = l.team) == null ? void 0 : h.id) ?? l.id,
2020
2048
  src: (g = l.team) == null ? void 0 : g.logo
@@ -2024,7 +2052,7 @@ const an = { render: sn }, rn = ["disabled"], ln = ["disabled"], cn = {
2024
2052
  "cell-homeTeamLogo": T(({ row: l }) => {
2025
2053
  var h, g;
2026
2054
  return [
2027
- (y(), L(nt, {
2055
+ (y(), L(st, {
2028
2056
  class: "is-logo-image is-right",
2029
2057
  key: (h = l.homeTeam) == null ? void 0 : h.id,
2030
2058
  src: (g = l.homeTeam) == null ? void 0 : g.logo
@@ -2034,7 +2062,7 @@ const an = { render: sn }, rn = ["disabled"], ln = ["disabled"], cn = {
2034
2062
  "cell-awayTeamLogo": T(({ row: l }) => {
2035
2063
  var h, g;
2036
2064
  return [
2037
- (y(), L(nt, {
2065
+ (y(), L(st, {
2038
2066
  class: "is-logo-image is-right",
2039
2067
  key: (h = l.awayTeam) == null ? void 0 : h.id,
2040
2068
  src: (g = l.awayTeam) == null ? void 0 : g.logo
@@ -2044,37 +2072,43 @@ const an = { render: sn }, rn = ["disabled"], ln = ["disabled"], cn = {
2044
2072
  "cell-teamName": T(({ row: l }) => {
2045
2073
  var h, g;
2046
2074
  return [
2047
- w("span", vn, x((h = l.team) == null ? void 0 : h.longName), 1),
2048
- w("span", wn, x((g = l.team) == null ? void 0 : g.shortName), 1)
2075
+ b("span", kn, [
2076
+ O(x((h = l.team) == null ? void 0 : h.longName) + " ", 1),
2077
+ l.penaltyPoints ? (y(), w("span", Tn, $n)) : $("", !0)
2078
+ ]),
2079
+ b("span", Sn, [
2080
+ O(x((g = l.team) == null ? void 0 : g.shortName) + " ", 1),
2081
+ l.penaltyPoints ? (y(), w("span", _n, An)) : $("", !0)
2082
+ ])
2049
2083
  ];
2050
2084
  }),
2051
2085
  "cell-homeTeamName": T(({ row: l }) => {
2052
2086
  var h, g;
2053
2087
  return [
2054
- w("span", bn, x((h = l.homeTeam) == null ? void 0 : h.longName), 1),
2055
- w("span", xn, x((g = l.homeTeam) == null ? void 0 : g.shortName), 1)
2088
+ b("span", Gn, x((h = l.homeTeam) == null ? void 0 : h.longName), 1),
2089
+ b("span", Cn, x((g = l.homeTeam) == null ? void 0 : g.shortName), 1)
2056
2090
  ];
2057
2091
  }),
2058
2092
  "cell-awayTeamName": T(({ row: l }) => {
2059
2093
  var h, g;
2060
2094
  return [
2061
- w("span", kn, x((h = l.awayTeam) == null ? void 0 : h.longName), 1),
2062
- w("span", Tn, x((g = l.awayTeam) == null ? void 0 : g.shortName), 1)
2095
+ b("span", En, x((h = l.awayTeam) == null ? void 0 : h.longName), 1),
2096
+ b("span", Ln, x((g = l.awayTeam) == null ? void 0 : g.shortName), 1)
2063
2097
  ];
2064
2098
  }),
2065
2099
  "cell-location": T(({ row: l }) => {
2066
2100
  var h;
2067
2101
  return [
2068
- K(x(((h = l.location) == null ? void 0 : h.locationName) ?? ""), 1)
2102
+ O(x(((h = l.location) == null ? void 0 : h.locationName) ?? ""), 1)
2069
2103
  ];
2070
2104
  }),
2071
2105
  "cell-gameResult": T(({ row: l }) => [
2072
- l.gameStatus === 0 ? (y(), b("span", zn, "-:-")) : (y(), b("a", {
2106
+ l.gameStatus === 0 ? (y(), w("span", Dn, "-:-")) : (y(), w("a", {
2073
2107
  key: 1,
2074
2108
  href: t.externalGameResolver(l),
2075
2109
  target: t.externalGameResolverTarget,
2076
2110
  class: _({ "is-text-dark": l.gameStatus !== 1, "is-text-accent": l.gameStatus === 1 })
2077
- }, x(l.homeTeamScore) + ":" + x(l.awayTeamScore), 11, An))
2111
+ }, x(l.homeTeamScore) + ":" + x(l.awayTeamScore), 11, On))
2078
2112
  ]),
2079
2113
  loading: T(() => [
2080
2114
  C(de)
@@ -2086,13 +2120,13 @@ const an = { render: sn }, rn = ["disabled"], ln = ["disabled"], cn = {
2086
2120
  fn: T(({ row: l }) => {
2087
2121
  var h, g;
2088
2122
  return [
2089
- w("a", {
2123
+ b("a", {
2090
2124
  href: t.externalTeamResolver(l),
2091
2125
  target: "_blank"
2092
2126
  }, [
2093
- w("span", $n, x((h = l.team) == null ? void 0 : h.longName), 1),
2094
- w("span", Sn, x((g = l.team) == null ? void 0 : g.shortName), 1)
2095
- ], 8, Pn)
2127
+ b("span", Vn, x((h = l.team) == null ? void 0 : h.longName), 1),
2128
+ b("span", Rn, x((g = l.team) == null ? void 0 : g.shortName), 1)
2129
+ ], 8, In)
2096
2130
  ];
2097
2131
  }),
2098
2132
  key: "0"
@@ -2100,10 +2134,10 @@ const an = { render: sn }, rn = ["disabled"], ln = ["disabled"], cn = {
2100
2134
  t.isPlayerLinked ? {
2101
2135
  name: "cell-name",
2102
2136
  fn: T(({ row: l }) => [
2103
- w("a", {
2137
+ b("a", {
2104
2138
  href: t.externalPlayerResolver(l),
2105
2139
  target: "_blank"
2106
- }, x(l.name), 9, _n)
2140
+ }, x(l.name), 9, Nn)
2107
2141
  ]),
2108
2142
  key: "1"
2109
2143
  } : void 0
@@ -2112,7 +2146,7 @@ const an = { render: sn }, rn = ["disabled"], ln = ["disabled"], cn = {
2112
2146
  _: 1
2113
2147
  }));
2114
2148
  }
2115
- }, Gn = {
2149
+ }, Mn = {
2116
2150
  xmlns: "http://www.w3.org/2000/svg",
2117
2151
  viewBox: "0 0 24 24",
2118
2152
  fill: "none",
@@ -2120,32 +2154,32 @@ const an = { render: sn }, rn = ["disabled"], ln = ["disabled"], cn = {
2120
2154
  "stroke-width": "2",
2121
2155
  "stroke-linecap": "round",
2122
2156
  "stroke-linejoin": "round"
2123
- }, Cn = /* @__PURE__ */ w("rect", {
2157
+ }, Hn = /* @__PURE__ */ b("rect", {
2124
2158
  x: "2",
2125
2159
  y: "3",
2126
2160
  width: "20",
2127
2161
  height: "14",
2128
2162
  rx: "2",
2129
2163
  ry: "2"
2130
- }, null, -1), En = /* @__PURE__ */ w("line", {
2164
+ }, null, -1), Bn = /* @__PURE__ */ b("line", {
2131
2165
  x1: "8",
2132
2166
  y1: "21",
2133
2167
  x2: "16",
2134
2168
  y2: "21"
2135
- }, null, -1), Ln = /* @__PURE__ */ w("line", {
2169
+ }, null, -1), Fn = /* @__PURE__ */ b("line", {
2136
2170
  x1: "12",
2137
2171
  y1: "17",
2138
2172
  x2: "12",
2139
2173
  y2: "21"
2140
- }, null, -1), In = [
2141
- Cn,
2142
- En,
2143
- Ln
2174
+ }, null, -1), jn = [
2175
+ Hn,
2176
+ Bn,
2177
+ Fn
2144
2178
  ];
2145
- function Vn(t, e) {
2146
- return y(), b("svg", Gn, In);
2179
+ function Wn(t, e) {
2180
+ return y(), w("svg", Mn, jn);
2147
2181
  }
2148
- const Nn = { render: Vn }, Rn = {
2182
+ const Kn = { render: Wn }, Un = {
2149
2183
  xmlns: "http://www.w3.org/2000/svg",
2150
2184
  viewBox: "0 0 24 24",
2151
2185
  fill: "none",
@@ -2153,27 +2187,27 @@ const Nn = { render: Vn }, Rn = {
2153
2187
  "stroke-width": "2",
2154
2188
  "stroke-linecap": "round",
2155
2189
  "stroke-linejoin": "round"
2156
- }, Dn = /* @__PURE__ */ w("circle", {
2190
+ }, qn = /* @__PURE__ */ b("circle", {
2157
2191
  cx: "12",
2158
2192
  cy: "12",
2159
2193
  r: "1"
2160
- }, null, -1), On = /* @__PURE__ */ w("circle", {
2194
+ }, null, -1), Jn = /* @__PURE__ */ b("circle", {
2161
2195
  cx: "12",
2162
2196
  cy: "5",
2163
2197
  r: "1"
2164
- }, null, -1), Mn = /* @__PURE__ */ w("circle", {
2198
+ }, null, -1), Yn = /* @__PURE__ */ b("circle", {
2165
2199
  cx: "12",
2166
2200
  cy: "19",
2167
2201
  r: "1"
2168
- }, null, -1), Hn = [
2169
- Dn,
2170
- On,
2171
- Mn
2202
+ }, null, -1), Zn = [
2203
+ qn,
2204
+ Jn,
2205
+ Yn
2172
2206
  ];
2173
- function Bn(t, e) {
2174
- return y(), b("svg", Rn, Hn);
2207
+ function Xn(t, e) {
2208
+ return y(), w("svg", Un, Zn);
2175
2209
  }
2176
- const Fn = { render: Bn }, jn = {
2210
+ const Qn = { render: Xn }, ts = {
2177
2211
  xmlns: "http://www.w3.org/2000/svg",
2178
2212
  viewBox: "0 0 24 24",
2179
2213
  fill: "none",
@@ -2181,21 +2215,21 @@ const Fn = { render: Bn }, jn = {
2181
2215
  "stroke-width": "2",
2182
2216
  "stroke-linecap": "round",
2183
2217
  "stroke-linejoin": "round"
2184
- }, Wn = /* @__PURE__ */ w("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), Kn = /* @__PURE__ */ w("rect", {
2218
+ }, es = /* @__PURE__ */ b("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), os = /* @__PURE__ */ b("rect", {
2185
2219
  x: "8",
2186
2220
  y: "2",
2187
2221
  width: "8",
2188
2222
  height: "4",
2189
2223
  rx: "1",
2190
2224
  ry: "1"
2191
- }, null, -1), Un = [
2192
- Wn,
2193
- Kn
2225
+ }, null, -1), ns = [
2226
+ es,
2227
+ os
2194
2228
  ];
2195
- function Jn(t, e) {
2196
- return y(), b("svg", jn, Un);
2229
+ function ss(t, e) {
2230
+ return y(), w("svg", ts, ns);
2197
2231
  }
2198
- const qn = { render: Jn }, Yn = {
2232
+ const as = { render: ss }, rs = {
2199
2233
  xmlns: "http://www.w3.org/2000/svg",
2200
2234
  viewBox: "0 0 24 24",
2201
2235
  fill: "none",
@@ -2203,26 +2237,26 @@ const qn = { render: Jn }, Yn = {
2203
2237
  "stroke-width": "2",
2204
2238
  "stroke-linecap": "round",
2205
2239
  "stroke-linejoin": "round"
2206
- }, Zn = /* @__PURE__ */ w("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), Xn = /* @__PURE__ */ w("polygon", { points: "9.75 15.02 15.5 11.75 9.75 8.48 9.75 15.02" }, null, -1), Qn = [
2207
- Zn,
2208
- Xn
2240
+ }, ls = /* @__PURE__ */ b("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), is = /* @__PURE__ */ b("polygon", { points: "9.75 15.02 15.5 11.75 9.75 8.48 9.75 15.02" }, null, -1), cs = [
2241
+ ls,
2242
+ is
2209
2243
  ];
2210
- function ts(t, e) {
2211
- return y(), b("svg", Yn, Qn);
2244
+ function ds(t, e) {
2245
+ return y(), w("svg", rs, cs);
2212
2246
  }
2213
- const es = { render: ts }, os = { class: "is-team-name-long" }, ns = { class: "is-team-name-short" }, ss = { class: "is-team-name-long" }, as = { class: "is-team-name-short" }, rs = {
2247
+ const us = { render: ds }, ms = { class: "is-team-name-long" }, ps = { class: "is-team-name-short" }, hs = { class: "is-team-name-long" }, fs = { class: "is-team-name-short" }, gs = {
2214
2248
  key: 0,
2215
2249
  class: "is-text-dark"
2216
- }, ls = ["href", "target"], is = {
2250
+ }, ys = ["href", "target"], vs = {
2217
2251
  key: 0,
2218
2252
  class: "label"
2219
- }, cs = {
2253
+ }, bs = {
2220
2254
  key: 1,
2221
2255
  class: "label"
2222
- }, ds = {
2256
+ }, ws = {
2223
2257
  key: 2,
2224
2258
  class: "label"
2225
- }, us = { key: 1 }, ms = ["onClick", "onFocus", "onBlur"], ps = { class: "is-dropdown-menu" }, hs = ["href", "target"], fs = { key: 0 }, gs = ["href"], Ls = {
2259
+ }, xs = { key: 1 }, ks = ["onClick", "onFocus", "onBlur"], Ts = { class: "is-dropdown-menu" }, Ps = ["href", "target"], $s = { key: 0 }, Ss = ["href"], js = {
2226
2260
  __name: "ScheduleTable",
2227
2261
  props: {
2228
2262
  rows: {
@@ -2251,14 +2285,14 @@ const es = { render: ts }, os = { class: "is-team-name-long" }, ns = { class: "i
2251
2285
  }
2252
2286
  },
2253
2287
  setup(t) {
2254
- const e = t, o = E(null), { onError: n } = Jt(), { columns: a, error: s } = qt(
2255
- Ve,
2288
+ const e = t, o = E(null), { onError: n } = qt(), { columns: a, error: s } = Jt(
2289
+ Ne,
2256
2290
  A(() => e.hideColumns),
2257
2291
  A(() => ({
2258
2292
  offsetName: e.offsetName
2259
2293
  }))
2260
2294
  );
2261
- ze(
2295
+ Ae(
2262
2296
  s,
2263
2297
  () => n(
2264
2298
  new Zt(yt.message, {
@@ -2270,58 +2304,58 @@ const es = { render: ts }, os = { class: "is-team-name-long" }, ns = { class: "i
2270
2304
  immediate: !0
2271
2305
  }
2272
2306
  );
2273
- const { t: r } = lt();
2274
- return (c, f) => (y(), b(O, null, [
2307
+ const { t: r } = nt();
2308
+ return (c, f) => (y(), w(M, null, [
2275
2309
  C(ue, null, {
2276
2310
  default: T(({ el: d }) => [
2277
2311
  C(ce, {
2278
- columns: p(a),
2312
+ columns: m(a),
2279
2313
  rows: e.rows,
2280
2314
  "is-loading": t.isLoading,
2281
2315
  "append-to": o.value || d
2282
2316
  }, {
2283
2317
  "cell-homeTeamName": T(({ row: i }) => [
2284
- w("span", os, x(i.homeTeam.longName), 1),
2285
- w("span", ns, x(i.homeTeam.shortName), 1)
2318
+ b("span", ms, x(i.homeTeam.longName), 1),
2319
+ b("span", ps, x(i.homeTeam.shortName), 1)
2286
2320
  ]),
2287
2321
  "cell-awayTeamName": T(({ row: i }) => [
2288
- w("span", ss, x(i.awayTeam.longName), 1),
2289
- w("span", as, x(i.awayTeam.shortName), 1)
2322
+ b("span", hs, x(i.awayTeam.longName), 1),
2323
+ b("span", fs, x(i.awayTeam.shortName), 1)
2290
2324
  ]),
2291
2325
  "cell-homeTeamLogo": T(({ row: i }) => [
2292
- (y(), L(nt, {
2326
+ (y(), L(st, {
2293
2327
  class: "is-logo-image is-right",
2294
2328
  key: i.homeTeam.id,
2295
2329
  src: i.homeTeam.logo
2296
2330
  }, null, 8, ["src"]))
2297
2331
  ]),
2298
2332
  "cell-awayTeamLogo": T(({ row: i }) => [
2299
- (y(), L(nt, {
2333
+ (y(), L(st, {
2300
2334
  class: "is-logo-image is-right",
2301
2335
  key: i.awayTeam.id,
2302
2336
  src: i.awayTeam.logo
2303
2337
  }, null, 8, ["src"]))
2304
2338
  ]),
2305
2339
  "cell-gameResult": T(({ row: i }) => [
2306
- i.gameStatus === 0 ? (y(), b("span", rs, "-:-")) : (y(), b("a", {
2340
+ i.gameStatus === 0 ? (y(), w("span", gs, "-:-")) : (y(), w("a", {
2307
2341
  key: 1,
2308
2342
  href: t.externalGameResolver(i.gameId),
2309
2343
  target: t.externalGameResolverTarget,
2310
2344
  class: _({ "is-text-dark": i.gameStatus !== 1, "is-text-accent": i.gameStatus === 1 })
2311
- }, x(i.homeTeamScore) + ":" + x(i.awayTeamScore), 11, ls))
2345
+ }, x(i.homeTeamScore) + ":" + x(i.awayTeamScore), 11, ys))
2312
2346
  ]),
2313
2347
  "cell-gameResultType": T(({ row: i }) => [
2314
- i.isOvertime ? (y(), b("span", is, x(p(r)("common.overtimeShort")), 1)) : S("", !0),
2315
- i.isShootout ? (y(), b("span", cs, x(p(r)("common.shootoutShort")), 1)) : S("", !0),
2316
- i.seriesStandings ? (y(), b("span", ds, x(i.seriesStandings), 1)) : S("", !0)
2348
+ i.isOvertime ? (y(), w("span", vs, x(m(r)("common.overtimeShort")), 1)) : $("", !0),
2349
+ i.isShootout ? (y(), w("span", bs, x(m(r)("common.shootoutShort")), 1)) : $("", !0),
2350
+ i.seriesStandings ? (y(), w("span", ws, x(i.seriesStandings), 1)) : $("", !0)
2317
2351
  ]),
2318
2352
  "cell-broadcast": T(({ row: i }) => [
2319
- i.broadcast ? (y(), L(p(Nn), { key: 0 })) : (y(), b("span", us))
2353
+ i.broadcast ? (y(), L(m(Kn), { key: 0 })) : (y(), w("span", xs))
2320
2354
  ]),
2321
2355
  "cell-location": T(({ row: i }) => {
2322
2356
  var u;
2323
2357
  return [
2324
- K(x(((u = i.location) == null ? void 0 : u.locationName) ?? ""), 1)
2358
+ O(x(((u = i.location) == null ? void 0 : u.locationName) ?? ""), 1)
2325
2359
  ];
2326
2360
  }),
2327
2361
  "cell-more": T(({ row: i }) => [
@@ -2331,38 +2365,38 @@ const es = { render: ts }, os = { class: "is-team-name-long" }, ns = { class: "i
2331
2365
  theme: "content",
2332
2366
  "append-to": d
2333
2367
  }, {
2334
- default: T(({ setRef: u, show: m, hide: l }) => [
2335
- w("button", {
2368
+ default: T(({ setRef: u, show: p, hide: l }) => [
2369
+ b("button", {
2336
2370
  ref: u,
2337
- onClick: at(m, ["stop"]),
2338
- onFocus: m,
2371
+ onClick: rt(p, ["stop"]),
2372
+ onFocus: p,
2339
2373
  onBlur: l
2340
2374
  }, [
2341
- C(p(Fn))
2342
- ], 40, ms)
2375
+ C(m(Qn))
2376
+ ], 40, ks)
2343
2377
  ]),
2344
2378
  content: T(() => [
2345
- w("ul", ps, [
2346
- w("li", null, [
2347
- w("a", {
2379
+ b("ul", Ts, [
2380
+ b("li", null, [
2381
+ b("a", {
2348
2382
  href: t.externalGameResolver(i.gameId),
2349
2383
  class: "is-dropdown-item",
2350
2384
  target: t.externalGameResolverTarget
2351
2385
  }, [
2352
- C(p(qn), { width: "14" }),
2353
- K(" " + x(p(r)("common.report")), 1)
2354
- ], 8, hs)
2386
+ C(m(as), { width: "14" }),
2387
+ O(" " + x(m(r)("common.report")), 1)
2388
+ ], 8, Ps)
2355
2389
  ]),
2356
- i.video ? (y(), b("li", fs, [
2357
- w("a", {
2390
+ i.video ? (y(), w("li", $s, [
2391
+ b("a", {
2358
2392
  href: i.video,
2359
2393
  class: "is-dropdown-item",
2360
2394
  target: "_blank"
2361
2395
  }, [
2362
- C(p(es), { width: "14" }),
2363
- K(" " + x(p(r)("common.video")), 1)
2364
- ], 8, gs)
2365
- ])) : S("", !0)
2396
+ C(m(us), { width: "14" }),
2397
+ O(" " + x(m(r)("common.video")), 1)
2398
+ ], 8, Ss)
2399
+ ])) : $("", !0)
2366
2400
  ])
2367
2401
  ]),
2368
2402
  _: 2
@@ -2376,13 +2410,13 @@ const es = { render: ts }, os = { class: "is-team-name-long" }, ns = { class: "i
2376
2410
  ]),
2377
2411
  _: 1
2378
2412
  }),
2379
- w("div", {
2413
+ b("div", {
2380
2414
  ref_key: "tooltipContainer",
2381
2415
  ref: o
2382
2416
  }, null, 512)
2383
2417
  ], 64));
2384
2418
  }
2385
- }, ys = { class: "g-row g-gap-normal is-mb-5" }, vs = ["value"], ws = { key: 0 }, bs = ["onClick"], Is = {
2419
+ }, _s = { class: "g-row g-gap-normal is-mb-5" }, zs = ["value"], As = { key: 0 }, Gs = ["onClick"], Ws = {
2386
2420
  __name: "SeasonSelector",
2387
2421
  props: {
2388
2422
  seasons: {
@@ -2408,7 +2442,7 @@ const es = { render: ts }, os = { class: "is-team-name-long" }, ns = { class: "i
2408
2442
  },
2409
2443
  emits: ["onChangeSeason", "onChangeSection"],
2410
2444
  setup(t, { emit: e }) {
2411
- const o = t, n = e, { t: a } = lt(), s = A({
2445
+ const o = t, n = e, { t: a } = nt(), s = A({
2412
2446
  get() {
2413
2447
  return o.championshipId;
2414
2448
  },
@@ -2419,52 +2453,73 @@ const es = { render: ts }, os = { class: "is-team-name-long" }, ns = { class: "i
2419
2453
  function r(c) {
2420
2454
  n("onChangeSection", c);
2421
2455
  }
2422
- return (c, f) => (y(), b(O, null, [
2423
- w("div", ys, [
2424
- w("div", null, [
2425
- w("label", {
2456
+ return (c, f) => (y(), w(M, null, [
2457
+ b("div", _s, [
2458
+ b("div", null, [
2459
+ b("label", {
2426
2460
  for: "season",
2427
- class: _(p(q)("label"))
2428
- }, x(p(a)("selection.season")), 3),
2429
- C(Ne, {
2461
+ class: _(m(J)("label"))
2462
+ }, x(m(a)("selection.season")), 3),
2463
+ C(De, {
2430
2464
  id: "season",
2431
2465
  modelValue: s.value,
2432
2466
  "onUpdate:modelValue": f[0] || (f[0] = (d) => s.value = d)
2433
2467
  }, {
2434
2468
  default: T(() => [
2435
- (y(!0), b(O, null, tt(t.seasons, (d) => (y(), b("option", {
2469
+ (y(!0), w(M, null, tt(t.seasons, (d) => (y(), w("option", {
2436
2470
  key: d.championshipId,
2437
2471
  value: d.championshipId
2438
- }, x(d.seasonName), 9, vs))), 128))
2472
+ }, x(d.seasonName), 9, zs))), 128))
2439
2473
  ]),
2440
2474
  _: 1
2441
2475
  }, 8, ["modelValue"])
2442
2476
  ]),
2443
2477
  I(c.$slots, "default")
2444
2478
  ]),
2445
- t.isSectionSelectionDisabled ? S("", !0) : (y(), b("div", ws, [
2446
- (y(!0), b(O, null, tt(t.sections, (d) => (y(), b("button", {
2479
+ t.isSectionSelectionDisabled ? $("", !0) : (y(), w("div", As, [
2480
+ (y(!0), w(M, null, tt(t.sections, (d) => (y(), w("button", {
2447
2481
  key: d.phaseId,
2448
2482
  onClick: (i) => r(d),
2449
- class: _([p(q)("tab-button"), { "is-active": d.sectionId === t.sectionId }])
2450
- }, x(d.sectionName), 11, bs))), 128))
2483
+ class: _([m(J)("tab-button"), { "is-active": d.sectionId === t.sectionId }])
2484
+ }, x(d.sectionName), 11, Gs))), 128))
2451
2485
  ]))
2452
2486
  ], 64));
2453
2487
  }
2488
+ }, Cs = ["textContent"], Ks = {
2489
+ __name: "AdditionalStandingsText",
2490
+ props: {
2491
+ rows: {
2492
+ type: Array,
2493
+ default: () => []
2494
+ },
2495
+ additionalKey: {
2496
+ type: String,
2497
+ required: !0
2498
+ }
2499
+ },
2500
+ setup(t) {
2501
+ const e = t, o = xe(e, "rows"), { t: n, locale: a } = nt(), { isVisible: s, text: r } = Ge(o, e.additionalKey, n, a);
2502
+ return (c, f) => m(s) ? (y(), w("div", {
2503
+ key: 0,
2504
+ class: "is-text-xs is-text-light is-mt-5 is-mb-5",
2505
+ textContent: x(m(r))
2506
+ }, null, 8, Cs)) : $("", !0);
2507
+ }
2454
2508
  };
2455
2509
  export {
2456
- As as I,
2457
- nt as _,
2458
- Gs as a,
2510
+ Ms as I,
2511
+ st as _,
2512
+ Hs as a,
2459
2513
  ce as b,
2460
- Ne as c,
2461
- _s as d,
2462
- zs as e,
2463
- Ls as f,
2514
+ De as c,
2515
+ Ds as d,
2516
+ Os as e,
2517
+ js as f,
2464
2518
  ie as g,
2465
- Is as h,
2466
- Es as i,
2519
+ Ws as h,
2520
+ Fs as i,
2467
2521
  ue as j,
2468
2522
  de as k,
2469
- Cs as l
2523
+ Bs as l,
2524
+ Ks as m
2470
2525
  };