@mjsz-vbr-elements/core 2.10.0 → 2.11.1

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,16 +1,16 @@
1
1
  /**
2
2
  * name: @mjsz-vbr-elements/core
3
- * version: v2.10.0 - 13/01/2025, 21:45:11
3
+ * version: v2.11.1 - 14/01/2025, 17:08:27
4
4
  * (c) 2025
5
5
  * description: Data visualization for MJSZ VBR
6
6
  * author: Ákos Stegner <akos.stegner@gmail.com>
7
7
  */
8
- import { computed as _, ref as I, watch as Gt, getCurrentScope as Pe, onScopeDispose as ke, unref as m, getCurrentInstance as Ae, onMounted as Se, defineComponent as ee, onUnmounted as ze, h as Oe, withDirectives as _e, openBlock as v, createElementBlock as b, normalizeClass as O, renderSlot as N, vModelSelect as Ie, createElementVNode as w, isRef as $e, Fragment as M, normalizeStyle as jt, createVNode as G, Transition as Ce, withCtx as P, createTextVNode as D, toDisplayString as x, createCommentVNode as S, toRefs as Lt, renderList as tt, createBlock as R, withKeys as Wt, withModifiers as it, createSlots as Ge, toRef as Ee } from "vue";
9
- import { f as Y, o as Re, e as Ne, d as X, a as Le, c as Ve, j as De, n as Me, i as He, b as oe, u as ne, w as Be, h as Fe } from "./useAdditionalText-DHQEg82L.js";
10
- import { J as se, K as vt, z as Kt, C as je, o as wt, g as We } from "./datetime-P3jKxpvY.js";
11
- import { LAZY_LOADING_STATE_DELAY as Ke, SORT_STATE_ORIGINAL as _t, SORT_STATE_DESCEND as qt, SORT_STATE_ASCEND as Jt, AVAILABLE_TIMEZONES_BY_COUNTRY as qe, DEFAULT_PORTRAIT_IMAGE_URL as Je } from "./constants.js";
12
- import { m as Ue, W as re, U as Tt } from "./convert-HYpfGr9y.js";
13
- import { COLUMNS_SCHEDULE as Ye } from "./columns.js";
8
+ import { computed as _, ref as I, watch as Gt, getCurrentScope as Pe, onScopeDispose as ke, unref as m, getCurrentInstance as Ae, onMounted as Se, defineComponent as ee, onUnmounted as ze, h as Oe, toRef as _e, openBlock as v, createElementBlock as w, toDisplayString as x, createCommentVNode as S, withDirectives as Ie, normalizeClass as O, renderSlot as L, vModelSelect as $e, createElementVNode as b, isRef as Ce, Fragment as D, normalizeStyle as jt, createVNode as G, Transition as Ge, withCtx as k, createTextVNode as M, toRefs as Nt, renderList as tt, createBlock as R, withKeys as Wt, withModifiers as it, createSlots as Ee } from "vue";
9
+ import { n as Re, e as X, u as Le, g as Y, o as Ne, f as Ve, b as De, d as Me, j as He, c as oe, a as ne, w as Be, i as Fe } from "./useSort-fVNzrwPD.js";
10
+ import { LAZY_LOADING_STATE_DELAY as je, SORT_STATE_ORIGINAL as _t, SORT_STATE_DESCEND as Kt, SORT_STATE_ASCEND as qt, DEFAULT_PORTRAIT_IMAGE_URL as We, AVAILABLE_TIMEZONES_BY_COUNTRY as Ke } from "./constants.js";
11
+ import { J as se, K as vt, z as Jt, C as qe, o as wt, g as Je } from "./datetime-DTVWbsTz.js";
12
+ import { COLUMNS_SCHEDULE as Ue } from "./columns.js";
13
+ import { m as Ye, W as re, U as Tt } from "./errors-1KEdp4yb.js";
14
14
  function Ze(t) {
15
15
  return Pe() ? (ke(t), !0) : !1;
16
16
  }
@@ -44,15 +44,15 @@ function no(t, e, o = {}) {
44
44
  threshold: s = 0.1,
45
45
  window: i = to,
46
46
  immediate: c = !0
47
- } = o, f = oo(() => i && "IntersectionObserver" in i), d = _(() => {
47
+ } = o, f = oo(() => i && "IntersectionObserver" in i), u = _(() => {
48
48
  const a = ie(t);
49
49
  return (Array.isArray(a) ? a : [a]).map($t).filter(Qe);
50
50
  });
51
51
  let l = It;
52
- const u = I(c), h = f.value ? Gt(
53
- () => [d.value, $t(n), u.value],
52
+ const d = I(c), h = f.value ? Gt(
53
+ () => [u.value, $t(n), d.value],
54
54
  ([a, y]) => {
55
- if (l(), !u.value || !a.length)
55
+ if (l(), !d.value || !a.length)
56
56
  return;
57
57
  const g = new IntersectionObserver(
58
58
  e,
@@ -68,16 +68,16 @@ function no(t, e, o = {}) {
68
68
  },
69
69
  { immediate: c, flush: "post" }
70
70
  ) : It, p = () => {
71
- l(), h(), u.value = !1;
71
+ l(), h(), d.value = !1;
72
72
  };
73
73
  return Ze(p), {
74
74
  isSupported: f,
75
- isActive: u,
75
+ isActive: d,
76
76
  pause() {
77
- l(), u.value = !1;
77
+ l(), d.value = !1;
78
78
  },
79
79
  resume() {
80
- u.value = !0;
80
+ d.value = !0;
81
81
  },
82
82
  stop: p
83
83
  };
@@ -99,7 +99,67 @@ const Ws = ee({
99
99
  return Oe(t.as || "div", { ref: n }, e.default());
100
100
  };
101
101
  }
102
- }), so = {
102
+ });
103
+ var so = /* @__PURE__ */ se(function(e, o, n) {
104
+ var r = {}, s;
105
+ o = o || {}, n = n || {};
106
+ for (s in o)
107
+ vt(s, o) && (r[s] = vt(s, n) ? e(s, o[s], n[s]) : o[s]);
108
+ for (s in n)
109
+ vt(s, n) && !vt(s, r) && (r[s] = n[s]);
110
+ return r;
111
+ }), ro = /* @__PURE__ */ se(function t(e, o, n) {
112
+ return so(function(r, s, i) {
113
+ return Jt(s) && Jt(i) ? t(e, s, i) : e(r, s, i);
114
+ }, o, n);
115
+ }), io = /* @__PURE__ */ qe(function(e, o) {
116
+ return ro(function(n, r, s) {
117
+ return s;
118
+ }, e, o);
119
+ });
120
+ function ao({ currentPage: t, itemsPerPage: e = 20, totalItems: o, rangeLength: n = 5, update: r = Re }) {
121
+ const s = _(() => Math.ceil(m(o) / e)), i = _(() => {
122
+ const l = m(t) - 1, d = Array.from({ length: s.value }, (a, y) => y + 1), h = Math.floor(n / 2);
123
+ let p = Math.max(l - h, 0);
124
+ return p + n >= s.value && (p = Math.max(s.value - n, 0)), d.slice(p, p + n);
125
+ }), c = (l) => {
126
+ const d = m(t) + l;
127
+ u(d) && r(d);
128
+ }, f = (l) => {
129
+ u(l) && r(l);
130
+ };
131
+ function u(l) {
132
+ return l <= s.value && l > 0;
133
+ }
134
+ return {
135
+ page: t,
136
+ range: i,
137
+ pageCount: s,
138
+ goTo: f,
139
+ pageStep: c
140
+ };
141
+ }
142
+ const lo = ["textContent"], Ks = {
143
+ __name: "AdditionalStandingsText",
144
+ props: {
145
+ rows: {
146
+ type: Array,
147
+ default: () => []
148
+ },
149
+ additionalKey: {
150
+ type: String,
151
+ required: !0
152
+ }
153
+ },
154
+ setup(t) {
155
+ const e = t, o = _e(e, "rows"), { t: n, locale: r } = X(), { isVisible: s, text: i } = Le(o, e.additionalKey, n, r);
156
+ return (c, f) => m(s) ? (v(), w("div", {
157
+ key: 0,
158
+ class: "is-text-xs is-text-light is-mt-5 is-mb-5",
159
+ textContent: x(m(i))
160
+ }, null, 8, lo)) : S("", !0);
161
+ }
162
+ }, co = {
103
163
  __name: "BaseSelect",
104
164
  props: {
105
165
  modelValue: {
@@ -110,34 +170,16 @@ const Ws = ee({
110
170
  emits: ["update:modelValue"],
111
171
  setup(t, { emit: e }) {
112
172
  const o = t, n = e, r = Y("base-input"), s = _({ get: () => o.modelValue, set: (i) => n("update:modelValue", i) });
113
- return (i, c) => _e((v(), b("select", {
173
+ return (i, c) => Ie((v(), w("select", {
114
174
  "onUpdate:modelValue": c[0] || (c[0] = (f) => s.value = f),
115
- class: O([m(r), "is-select"])
175
+ class: O(["is-select", [m(r)]])
116
176
  }, [
117
- N(i.$slots, "default")
177
+ L(i.$slots, "default")
118
178
  ], 2)), [
119
- [Ie, s.value]
179
+ [$e, s.value]
120
180
  ]);
121
181
  }
122
- };
123
- var ro = /* @__PURE__ */ se(function(e, o, n) {
124
- var r = {}, s;
125
- o = o || {}, n = n || {};
126
- for (s in o)
127
- vt(s, o) && (r[s] = vt(s, n) ? e(s, o[s], n[s]) : o[s]);
128
- for (s in n)
129
- vt(s, n) && !vt(s, r) && (r[s] = n[s]);
130
- return r;
131
- }), io = /* @__PURE__ */ se(function t(e, o, n) {
132
- return ro(function(r, s, i) {
133
- return Kt(s) && Kt(i) ? t(e, s, i) : e(r, s, i);
134
- }, o, n);
135
- }), ao = /* @__PURE__ */ je(function(e, o) {
136
- return io(function(n, r, s) {
137
- return s;
138
- }, e, o);
139
- });
140
- const lo = {
182
+ }, uo = {
141
183
  "aria-hidden": "true",
142
184
  focusable: "false",
143
185
  "data-prefix": "fas",
@@ -147,15 +189,15 @@ const lo = {
147
189
  xmlns: "http://www.w3.org/2000/svg",
148
190
  viewBox: "0 0 320 512"
149
191
  };
150
- function co(t, e) {
151
- return v(), b("svg", lo, e[0] || (e[0] = [
152
- w("path", {
192
+ function mo(t, e) {
193
+ return v(), w("svg", uo, e[0] || (e[0] = [
194
+ b("path", {
153
195
  fill: "currentColor",
154
196
  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"
155
197
  }, null, -1)
156
198
  ]));
157
199
  }
158
- const Ut = { render: co }, uo = {
200
+ const Ut = { render: mo }, fo = {
159
201
  "aria-hidden": "true",
160
202
  focusable: "false",
161
203
  "data-prefix": "fas",
@@ -165,15 +207,15 @@ const Ut = { render: co }, uo = {
165
207
  xmlns: "http://www.w3.org/2000/svg",
166
208
  viewBox: "0 0 320 512"
167
209
  };
168
- function mo(t, e) {
169
- return v(), b("svg", uo, e[0] || (e[0] = [
170
- w("path", {
210
+ function po(t, e) {
211
+ return v(), w("svg", fo, e[0] || (e[0] = [
212
+ b("path", {
171
213
  fill: "currentColor",
172
214
  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"
173
215
  }, null, -1)
174
216
  ]));
175
217
  }
176
- const fo = { render: mo }, po = {
218
+ const ho = { render: po }, go = {
177
219
  "aria-hidden": "true",
178
220
  focusable: "false",
179
221
  "data-prefix": "fas",
@@ -183,23 +225,23 @@ const fo = { render: mo }, po = {
183
225
  xmlns: "http://www.w3.org/2000/svg",
184
226
  viewBox: "0 0 320 512"
185
227
  };
186
- function ho(t, e) {
187
- return v(), b("svg", po, e[0] || (e[0] = [
188
- w("path", {
228
+ function yo(t, e) {
229
+ return v(), w("svg", go, e[0] || (e[0] = [
230
+ b("path", {
189
231
  fill: "currentColor",
190
232
  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"
191
233
  }, null, -1)
192
234
  ]));
193
235
  }
194
- const go = { render: ho }, at = Math.min, et = Math.max, xt = Math.round, bt = Math.floor, K = (t) => ({
236
+ const vo = { render: yo }, at = Math.min, et = Math.max, xt = Math.round, bt = Math.floor, K = (t) => ({
195
237
  x: t,
196
238
  y: t
197
- }), yo = {
239
+ }), wo = {
198
240
  left: "right",
199
241
  right: "left",
200
242
  bottom: "top",
201
243
  top: "bottom"
202
- }, vo = {
244
+ }, bo = {
203
245
  start: "end",
204
246
  end: "start"
205
247
  };
@@ -227,20 +269,20 @@ function At(t) {
227
269
  function Dt(t) {
228
270
  return ae(At(t));
229
271
  }
230
- function wo(t, e, o) {
272
+ function To(t, e, o) {
231
273
  o === void 0 && (o = !1);
232
274
  const n = gt(t), r = Dt(t), s = Vt(r);
233
275
  let i = r === "x" ? n === (o ? "end" : "start") ? "right" : "left" : n === "start" ? "bottom" : "top";
234
276
  return e.reference[s] > e.floating[s] && (i = Pt(i)), [i, Pt(i)];
235
277
  }
236
- function bo(t) {
278
+ function xo(t) {
237
279
  const e = Pt(t);
238
280
  return [Rt(t), e, Rt(e)];
239
281
  }
240
282
  function Rt(t) {
241
- return t.replace(/start|end/g, (e) => vo[e]);
283
+ return t.replace(/start|end/g, (e) => bo[e]);
242
284
  }
243
- function To(t, e, o) {
285
+ function Po(t, e, o) {
244
286
  const n = ["left", "right"], r = ["right", "left"], s = ["top", "bottom"], i = ["bottom", "top"];
245
287
  switch (t) {
246
288
  case "top":
@@ -253,15 +295,15 @@ function To(t, e, o) {
253
295
  return [];
254
296
  }
255
297
  }
256
- function xo(t, e, o, n) {
298
+ function ko(t, e, o, n) {
257
299
  const r = gt(t);
258
- let s = To(ot(t), o === "start", n);
300
+ let s = Po(ot(t), o === "start", n);
259
301
  return r && (s = s.map((i) => i + "-" + r), e && (s = s.concat(s.map(Rt)))), s;
260
302
  }
261
303
  function Pt(t) {
262
- return t.replace(/left|right|bottom|top/g, (e) => yo[e]);
304
+ return t.replace(/left|right|bottom|top/g, (e) => wo[e]);
263
305
  }
264
- function Po(t) {
306
+ function Ao(t) {
265
307
  return {
266
308
  top: 0,
267
309
  right: 0,
@@ -271,7 +313,7 @@ function Po(t) {
271
313
  };
272
314
  }
273
315
  function le(t) {
274
- return typeof t != "number" ? Po(t) : {
316
+ return typeof t != "number" ? Ao(t) : {
275
317
  top: t,
276
318
  right: t,
277
319
  bottom: t,
@@ -301,7 +343,7 @@ function Yt(t, e, o) {
301
343
  reference: n,
302
344
  floating: r
303
345
  } = t;
304
- const s = At(e), i = Dt(e), c = Vt(i), f = ot(e), d = s === "y", l = n.x + n.width / 2 - r.width / 2, u = n.y + n.height / 2 - r.height / 2, h = n[c] / 2 - r[c] / 2;
346
+ const s = At(e), i = Dt(e), c = Vt(i), f = ot(e), u = s === "y", l = n.x + n.width / 2 - r.width / 2, d = n.y + n.height / 2 - r.height / 2, h = n[c] / 2 - r[c] / 2;
305
347
  let p;
306
348
  switch (f) {
307
349
  case "top":
@@ -319,13 +361,13 @@ function Yt(t, e, o) {
319
361
  case "right":
320
362
  p = {
321
363
  x: n.x + n.width,
322
- y: u
364
+ y: d
323
365
  };
324
366
  break;
325
367
  case "left":
326
368
  p = {
327
369
  x: n.x - r.width,
328
- y: u
370
+ y: d
329
371
  };
330
372
  break;
331
373
  default:
@@ -336,70 +378,70 @@ function Yt(t, e, o) {
336
378
  }
337
379
  switch (gt(e)) {
338
380
  case "start":
339
- p[i] -= h * (o && d ? -1 : 1);
381
+ p[i] -= h * (o && u ? -1 : 1);
340
382
  break;
341
383
  case "end":
342
- p[i] += h * (o && d ? -1 : 1);
384
+ p[i] += h * (o && u ? -1 : 1);
343
385
  break;
344
386
  }
345
387
  return p;
346
388
  }
347
- const ko = async (t, e, o) => {
389
+ const So = async (t, e, o) => {
348
390
  const {
349
391
  placement: n = "bottom",
350
392
  strategy: r = "absolute",
351
393
  middleware: s = [],
352
394
  platform: i
353
395
  } = o, c = s.filter(Boolean), f = await (i.isRTL == null ? void 0 : i.isRTL(e));
354
- let d = await i.getElementRects({
396
+ let u = await i.getElementRects({
355
397
  reference: t,
356
398
  floating: e,
357
399
  strategy: r
358
400
  }), {
359
401
  x: l,
360
- y: u
361
- } = Yt(d, n, f), h = n, p = {}, a = 0;
402
+ y: d
403
+ } = Yt(u, n, f), h = n, p = {}, a = 0;
362
404
  for (let y = 0; y < c.length; y++) {
363
405
  const {
364
406
  name: g,
365
407
  fn: T
366
408
  } = c[y], {
367
- x: k,
409
+ x: P,
368
410
  y: A,
369
411
  data: $,
370
412
  reset: z
371
413
  } = await T({
372
414
  x: l,
373
- y: u,
415
+ y: d,
374
416
  initialPlacement: n,
375
417
  placement: h,
376
418
  strategy: r,
377
419
  middlewareData: p,
378
- rects: d,
420
+ rects: u,
379
421
  platform: i,
380
422
  elements: {
381
423
  reference: t,
382
424
  floating: e
383
425
  }
384
426
  });
385
- l = k ?? l, u = A ?? u, p = {
427
+ l = P ?? l, d = A ?? d, p = {
386
428
  ...p,
387
429
  [g]: {
388
430
  ...p[g],
389
431
  ...$
390
432
  }
391
- }, z && a <= 50 && (a++, typeof z == "object" && (z.placement && (h = z.placement), z.rects && (d = z.rects === !0 ? await i.getElementRects({
433
+ }, z && a <= 50 && (a++, typeof z == "object" && (z.placement && (h = z.placement), z.rects && (u = z.rects === !0 ? await i.getElementRects({
392
434
  reference: t,
393
435
  floating: e,
394
436
  strategy: r
395
437
  }) : z.rects), {
396
438
  x: l,
397
- y: u
398
- } = Yt(d, h, f)), y = -1);
439
+ y: d
440
+ } = Yt(u, h, f)), y = -1);
399
441
  }
400
442
  return {
401
443
  x: l,
402
- y: u,
444
+ y: d,
403
445
  placement: h,
404
446
  strategy: r,
405
447
  middlewareData: p
@@ -416,17 +458,17 @@ async function ce(t, e) {
416
458
  elements: c,
417
459
  strategy: f
418
460
  } = t, {
419
- boundary: d = "clippingAncestors",
461
+ boundary: u = "clippingAncestors",
420
462
  rootBoundary: l = "viewport",
421
- elementContext: u = "floating",
463
+ elementContext: d = "floating",
422
464
  altBoundary: h = !1,
423
465
  padding: p = 0
424
- } = ht(e, t), a = le(p), g = c[h ? u === "floating" ? "reference" : "floating" : u], T = kt(await s.getClippingRect({
466
+ } = ht(e, t), a = le(p), g = c[h ? d === "floating" ? "reference" : "floating" : d], T = kt(await s.getClippingRect({
425
467
  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)),
426
- boundary: d,
468
+ boundary: u,
427
469
  rootBoundary: l,
428
470
  strategy: f
429
- })), k = u === "floating" ? {
471
+ })), P = d === "floating" ? {
430
472
  ...i.floating,
431
473
  x: n,
432
474
  y: r
@@ -438,10 +480,10 @@ async function ce(t, e) {
438
480
  y: 1
439
481
  }, z = kt(s.convertOffsetParentRelativeRectToViewportRelativeRect ? await s.convertOffsetParentRelativeRectToViewportRelativeRect({
440
482
  elements: c,
441
- rect: k,
483
+ rect: P,
442
484
  offsetParent: A,
443
485
  strategy: f
444
- }) : k);
486
+ }) : P);
445
487
  return {
446
488
  top: (T.top - z.top + a.top) / $.y,
447
489
  bottom: (z.bottom - T.bottom + a.bottom) / $.y,
@@ -449,7 +491,7 @@ async function ce(t, e) {
449
491
  right: (z.right - T.right + a.right) / $.x
450
492
  };
451
493
  }
452
- const Ao = (t) => ({
494
+ const zo = (t) => ({
453
495
  name: "arrow",
454
496
  options: t,
455
497
  async fn(e) {
@@ -462,18 +504,18 @@ const Ao = (t) => ({
462
504
  elements: c,
463
505
  middlewareData: f
464
506
  } = e, {
465
- element: d,
507
+ element: u,
466
508
  padding: l = 0
467
509
  } = ht(t, e) || {};
468
- if (d == null)
510
+ if (u == null)
469
511
  return {};
470
- const u = le(l), h = {
512
+ const d = le(l), h = {
471
513
  x: o,
472
514
  y: n
473
- }, p = Dt(r), a = Vt(p), y = await i.getDimensions(d), g = p === "y", T = g ? "top" : "left", k = g ? "bottom" : "right", A = g ? "clientHeight" : "clientWidth", $ = s.reference[a] + s.reference[p] - h[p] - s.floating[a], z = h[p] - s.reference[p], F = await (i.getOffsetParent == null ? void 0 : i.getOffsetParent(d));
515
+ }, p = Dt(r), a = Vt(p), y = await i.getDimensions(u), g = p === "y", T = g ? "top" : "left", P = g ? "bottom" : "right", A = g ? "clientHeight" : "clientWidth", $ = s.reference[a] + s.reference[p] - h[p] - s.floating[a], z = h[p] - s.reference[p], F = await (i.getOffsetParent == null ? void 0 : i.getOffsetParent(u));
474
516
  let C = F ? F[A] : 0;
475
517
  (!C || !await (i.isElement == null ? void 0 : i.isElement(F))) && (C = c.floating[A] || s.floating[a]);
476
- const Q = $ / 2 - z / 2, dt = C / 2 - y[a] / 2 - 1, ut = at(u[T], dt), mt = at(u[k], dt), V = ut, ft = C - y[a] - mt, E = C / 2 - y[a] / 2 + Q, j = Et(V, E, ft), W = !f.arrow && gt(r) != null && E !== j && s.reference[a] / 2 - (E < V ? ut : mt) - y[a] / 2 < 0, U = W ? E < V ? E - V : E - ft : 0;
518
+ const Q = $ / 2 - z / 2, ut = C / 2 - y[a] / 2 - 1, dt = at(d[T], ut), mt = at(d[P], ut), V = dt, ft = C - y[a] - mt, E = C / 2 - y[a] / 2 + Q, j = Et(V, E, ft), W = !f.arrow && gt(r) != null && E !== j && s.reference[a] / 2 - (E < V ? dt : mt) - y[a] / 2 < 0, U = W ? E < V ? E - V : E - ft : 0;
477
519
  return {
478
520
  [p]: h[p] + U,
479
521
  data: {
@@ -486,7 +528,7 @@ const Ao = (t) => ({
486
528
  reset: W
487
529
  };
488
530
  }
489
- }), So = function(t) {
531
+ }), Oo = function(t) {
490
532
  return t === void 0 && (t = {}), {
491
533
  name: "flip",
492
534
  options: t,
@@ -498,10 +540,10 @@ const Ao = (t) => ({
498
540
  rects: i,
499
541
  initialPlacement: c,
500
542
  platform: f,
501
- elements: d
543
+ elements: u
502
544
  } = e, {
503
545
  mainAxis: l = !0,
504
- crossAxis: u = !0,
546
+ crossAxis: d = !0,
505
547
  fallbackPlacements: h,
506
548
  fallbackStrategy: p = "bestFit",
507
549
  fallbackAxisSideDirection: a = "none",
@@ -510,20 +552,20 @@ const Ao = (t) => ({
510
552
  } = ht(t, e);
511
553
  if ((o = s.arrow) != null && o.alignmentOffset)
512
554
  return {};
513
- const T = ot(r), k = ot(c) === c, A = await (f.isRTL == null ? void 0 : f.isRTL(d.floating)), $ = h || (k || !y ? [Pt(c)] : bo(c));
514
- !h && a !== "none" && $.push(...xo(c, y, a, A));
555
+ const T = ot(r), P = ot(c) === c, A = await (f.isRTL == null ? void 0 : f.isRTL(u.floating)), $ = h || (P || !y ? [Pt(c)] : xo(c));
556
+ !h && a !== "none" && $.push(...ko(c, y, a, A));
515
557
  const z = [c, ...$], F = await ce(e, g), C = [];
516
558
  let Q = ((n = s.flip) == null ? void 0 : n.overflows) || [];
517
- if (l && C.push(F[T]), u) {
518
- const V = wo(r, i, A);
559
+ if (l && C.push(F[T]), d) {
560
+ const V = To(r, i, A);
519
561
  C.push(F[V[0]], F[V[1]]);
520
562
  }
521
563
  if (Q = [...Q, {
522
564
  placement: r,
523
565
  overflows: C
524
566
  }], !C.every((V) => V <= 0)) {
525
- var dt, ut;
526
- const V = (((dt = s.flip) == null ? void 0 : dt.index) || 0) + 1, ft = z[V];
567
+ var ut, dt;
568
+ const V = (((ut = s.flip) == null ? void 0 : ut.index) || 0) + 1, ft = z[V];
527
569
  if (ft)
528
570
  return {
529
571
  data: {
@@ -534,7 +576,7 @@ const Ao = (t) => ({
534
576
  placement: ft
535
577
  }
536
578
  };
537
- let E = (ut = Q.filter((j) => j.overflows[0] <= 0).sort((j, W) => j.overflows[1] - W.overflows[1])[0]) == null ? void 0 : ut.placement;
579
+ let E = (dt = Q.filter((j) => j.overflows[0] <= 0).sort((j, W) => j.overflows[1] - W.overflows[1])[0]) == null ? void 0 : dt.placement;
538
580
  if (!E)
539
581
  switch (p) {
540
582
  case "bestFit": {
@@ -558,35 +600,35 @@ const Ao = (t) => ({
558
600
  }
559
601
  };
560
602
  };
561
- async function zo(t, e) {
603
+ async function _o(t, e) {
562
604
  const {
563
605
  placement: o,
564
606
  platform: n,
565
607
  elements: r
566
- } = t, s = await (n.isRTL == null ? void 0 : n.isRTL(r.floating)), i = ot(o), c = gt(o), f = At(o) === "y", d = ["left", "top"].includes(i) ? -1 : 1, l = s && f ? -1 : 1, u = ht(e, t);
608
+ } = t, s = await (n.isRTL == null ? void 0 : n.isRTL(r.floating)), i = ot(o), c = gt(o), f = At(o) === "y", u = ["left", "top"].includes(i) ? -1 : 1, l = s && f ? -1 : 1, d = ht(e, t);
567
609
  let {
568
610
  mainAxis: h,
569
611
  crossAxis: p,
570
612
  alignmentAxis: a
571
- } = typeof u == "number" ? {
572
- mainAxis: u,
613
+ } = typeof d == "number" ? {
614
+ mainAxis: d,
573
615
  crossAxis: 0,
574
616
  alignmentAxis: null
575
617
  } : {
576
618
  mainAxis: 0,
577
619
  crossAxis: 0,
578
620
  alignmentAxis: null,
579
- ...u
621
+ ...d
580
622
  };
581
623
  return c && typeof a == "number" && (p = c === "end" ? a * -1 : a), f ? {
582
624
  x: p * l,
583
- y: h * d
625
+ y: h * u
584
626
  } : {
585
- x: h * d,
627
+ x: h * u,
586
628
  y: p * l
587
629
  };
588
630
  }
589
- const Oo = function(t) {
631
+ const Io = function(t) {
590
632
  return t === void 0 && (t = 0), {
591
633
  name: "offset",
592
634
  options: t,
@@ -597,7 +639,7 @@ const Oo = function(t) {
597
639
  y: s,
598
640
  placement: i,
599
641
  middlewareData: c
600
- } = e, f = await zo(e, t);
642
+ } = e, f = await _o(e, t);
601
643
  return i === ((o = c.offset) == null ? void 0 : o.placement) && (n = c.arrow) != null && n.alignmentOffset ? {} : {
602
644
  x: r + f.x,
603
645
  y: s + f.y,
@@ -608,7 +650,7 @@ const Oo = function(t) {
608
650
  };
609
651
  }
610
652
  };
611
- }, _o = function(t) {
653
+ }, $o = function(t) {
612
654
  return t === void 0 && (t = {}), {
613
655
  name: "shift",
614
656
  options: t,
@@ -624,32 +666,32 @@ const Oo = function(t) {
624
666
  fn: (g) => {
625
667
  let {
626
668
  x: T,
627
- y: k
669
+ y: P
628
670
  } = g;
629
671
  return {
630
672
  x: T,
631
- y: k
673
+ y: P
632
674
  };
633
675
  }
634
676
  },
635
677
  ...f
636
- } = ht(t, e), d = {
678
+ } = ht(t, e), u = {
637
679
  x: o,
638
680
  y: n
639
- }, l = await ce(e, f), u = At(ot(r)), h = ae(u);
640
- let p = d[h], a = d[u];
681
+ }, l = await ce(e, f), d = At(ot(r)), h = ae(d);
682
+ let p = u[h], a = u[d];
641
683
  if (s) {
642
- const g = h === "y" ? "top" : "left", T = h === "y" ? "bottom" : "right", k = p + l[g], A = p - l[T];
643
- p = Et(k, p, A);
684
+ const g = h === "y" ? "top" : "left", T = h === "y" ? "bottom" : "right", P = p + l[g], A = p - l[T];
685
+ p = Et(P, p, A);
644
686
  }
645
687
  if (i) {
646
- const g = u === "y" ? "top" : "left", T = u === "y" ? "bottom" : "right", k = a + l[g], A = a - l[T];
647
- a = Et(k, a, A);
688
+ const g = d === "y" ? "top" : "left", T = d === "y" ? "bottom" : "right", P = a + l[g], A = a - l[T];
689
+ a = Et(P, a, A);
648
690
  }
649
691
  const y = c.fn({
650
692
  ...e,
651
693
  [h]: p,
652
- [u]: a
694
+ [d]: a
653
695
  });
654
696
  return {
655
697
  ...y,
@@ -665,27 +707,27 @@ function St() {
665
707
  return typeof window < "u";
666
708
  }
667
709
  function ct(t) {
668
- return de(t) ? (t.nodeName || "").toLowerCase() : "#document";
710
+ return ue(t) ? (t.nodeName || "").toLowerCase() : "#document";
669
711
  }
670
- function L(t) {
712
+ function N(t) {
671
713
  var e;
672
714
  return (t == null || (e = t.ownerDocument) == null ? void 0 : e.defaultView) || window;
673
715
  }
674
716
  function J(t) {
675
717
  var e;
676
- return (e = (de(t) ? t.ownerDocument : t.document) || window.document) == null ? void 0 : e.documentElement;
718
+ return (e = (ue(t) ? t.ownerDocument : t.document) || window.document) == null ? void 0 : e.documentElement;
677
719
  }
678
- function de(t) {
679
- return St() ? t instanceof Node || t instanceof L(t).Node : !1;
720
+ function ue(t) {
721
+ return St() ? t instanceof Node || t instanceof N(t).Node : !1;
680
722
  }
681
723
  function H(t) {
682
- return St() ? t instanceof Element || t instanceof L(t).Element : !1;
724
+ return St() ? t instanceof Element || t instanceof N(t).Element : !1;
683
725
  }
684
726
  function q(t) {
685
- return St() ? t instanceof HTMLElement || t instanceof L(t).HTMLElement : !1;
727
+ return St() ? t instanceof HTMLElement || t instanceof N(t).HTMLElement : !1;
686
728
  }
687
729
  function Zt(t) {
688
- return !St() || typeof ShadowRoot > "u" ? !1 : t instanceof ShadowRoot || t instanceof L(t).ShadowRoot;
730
+ return !St() || typeof ShadowRoot > "u" ? !1 : t instanceof ShadowRoot || t instanceof N(t).ShadowRoot;
689
731
  }
690
732
  function yt(t) {
691
733
  const {
@@ -696,7 +738,7 @@ function yt(t) {
696
738
  } = B(t);
697
739
  return /auto|scroll|overlay|hidden|clip/.test(e + n + o) && !["inline", "contents"].includes(r);
698
740
  }
699
- function Io(t) {
741
+ function Co(t) {
700
742
  return ["table", "td", "th"].includes(ct(t));
701
743
  }
702
744
  function zt(t) {
@@ -712,7 +754,7 @@ function Mt(t) {
712
754
  const e = Ht(), o = H(t) ? B(t) : t;
713
755
  return ["transform", "translate", "scale", "rotate", "perspective"].some((n) => o[n] ? o[n] !== "none" : !1) || (o.containerType ? o.containerType !== "normal" : !1) || !e && (o.backdropFilter ? o.backdropFilter !== "none" : !1) || !e && (o.filter ? o.filter !== "none" : !1) || ["transform", "translate", "scale", "rotate", "perspective", "filter"].some((n) => (o.willChange || "").includes(n)) || ["paint", "layout", "strict", "content"].some((n) => (o.contain || "").includes(n));
714
756
  }
715
- function $o(t) {
757
+ function Go(t) {
716
758
  let e = Z(t);
717
759
  for (; q(e) && !lt(e); ) {
718
760
  if (Mt(e))
@@ -730,7 +772,7 @@ function lt(t) {
730
772
  return ["html", "body", "#document"].includes(ct(t));
731
773
  }
732
774
  function B(t) {
733
- return L(t).getComputedStyle(t);
775
+ return N(t).getComputedStyle(t);
734
776
  }
735
777
  function Ot(t) {
736
778
  return H(t) ? {
@@ -753,21 +795,21 @@ function Z(t) {
753
795
  );
754
796
  return Zt(e) ? e.host : e;
755
797
  }
756
- function ue(t) {
798
+ function de(t) {
757
799
  const e = Z(t);
758
- return lt(e) ? t.ownerDocument ? t.ownerDocument.body : t.body : q(e) && yt(e) ? e : ue(e);
800
+ return lt(e) ? t.ownerDocument ? t.ownerDocument.body : t.body : q(e) && yt(e) ? e : de(e);
759
801
  }
760
802
  function pt(t, e, o) {
761
803
  var n;
762
804
  e === void 0 && (e = []), o === void 0 && (o = !0);
763
- const r = ue(t), s = r === ((n = t.ownerDocument) == null ? void 0 : n.body), i = L(r);
805
+ const r = de(t), s = r === ((n = t.ownerDocument) == null ? void 0 : n.body), i = N(r);
764
806
  if (s) {
765
- const c = Nt(i);
807
+ const c = Lt(i);
766
808
  return e.concat(i, i.visualViewport || [], yt(r) ? r : [], c && o ? pt(c) : []);
767
809
  }
768
810
  return e.concat(r, pt(r, [], o));
769
811
  }
770
- function Nt(t) {
812
+ function Lt(t) {
771
813
  return t.parent && Object.getPrototypeOf(t.parent) ? t.frameElement : null;
772
814
  }
773
815
  function me(t) {
@@ -798,37 +840,37 @@ function rt(t) {
798
840
  y: c
799
841
  };
800
842
  }
801
- const Co = /* @__PURE__ */ K(0);
843
+ const Eo = /* @__PURE__ */ K(0);
802
844
  function fe(t) {
803
- const e = L(t);
804
- return !Ht() || !e.visualViewport ? Co : {
845
+ const e = N(t);
846
+ return !Ht() || !e.visualViewport ? Eo : {
805
847
  x: e.visualViewport.offsetLeft,
806
848
  y: e.visualViewport.offsetTop
807
849
  };
808
850
  }
809
- function Go(t, e, o) {
810
- return e === void 0 && (e = !1), !o || e && o !== L(t) ? !1 : e;
851
+ function Ro(t, e, o) {
852
+ return e === void 0 && (e = !1), !o || e && o !== N(t) ? !1 : e;
811
853
  }
812
854
  function nt(t, e, o, n) {
813
855
  e === void 0 && (e = !1), o === void 0 && (o = !1);
814
856
  const r = t.getBoundingClientRect(), s = Bt(t);
815
857
  let i = K(1);
816
858
  e && (n ? H(n) && (i = rt(n)) : i = rt(t));
817
- const c = Go(s, o, n) ? fe(s) : K(0);
818
- let f = (r.left + c.x) / i.x, d = (r.top + c.y) / i.y, l = r.width / i.x, u = r.height / i.y;
859
+ const c = Ro(s, o, n) ? fe(s) : K(0);
860
+ let f = (r.left + c.x) / i.x, u = (r.top + c.y) / i.y, l = r.width / i.x, d = r.height / i.y;
819
861
  if (s) {
820
- const h = L(s), p = n && H(n) ? L(n) : n;
821
- let a = h, y = Nt(a);
862
+ const h = N(s), p = n && H(n) ? N(n) : n;
863
+ let a = h, y = Lt(a);
822
864
  for (; y && n && p !== a; ) {
823
- const g = rt(y), T = y.getBoundingClientRect(), k = B(y), A = T.left + (y.clientLeft + parseFloat(k.paddingLeft)) * g.x, $ = T.top + (y.clientTop + parseFloat(k.paddingTop)) * g.y;
824
- f *= g.x, d *= g.y, l *= g.x, u *= g.y, f += A, d += $, a = L(y), y = Nt(a);
865
+ const g = rt(y), T = y.getBoundingClientRect(), P = B(y), A = T.left + (y.clientLeft + parseFloat(P.paddingLeft)) * g.x, $ = T.top + (y.clientTop + parseFloat(P.paddingTop)) * g.y;
866
+ f *= g.x, u *= g.y, l *= g.x, d *= g.y, f += A, u += $, a = N(y), y = Lt(a);
825
867
  }
826
868
  }
827
869
  return kt({
828
870
  width: l,
829
- height: u,
871
+ height: d,
830
872
  x: f,
831
- y: d
873
+ y: u
832
874
  });
833
875
  }
834
876
  function Ft(t, e) {
@@ -846,7 +888,7 @@ function pe(t, e, o) {
846
888
  y: s
847
889
  };
848
890
  }
849
- function Eo(t) {
891
+ function Lo(t) {
850
892
  let {
851
893
  elements: e,
852
894
  rect: o,
@@ -859,24 +901,24 @@ function Eo(t) {
859
901
  let f = {
860
902
  scrollLeft: 0,
861
903
  scrollTop: 0
862
- }, d = K(1);
863
- const l = K(0), u = q(n);
864
- if ((u || !u && !s) && ((ct(n) !== "body" || yt(i)) && (f = Ot(n)), q(n))) {
904
+ }, u = K(1);
905
+ const l = K(0), d = q(n);
906
+ if ((d || !d && !s) && ((ct(n) !== "body" || yt(i)) && (f = Ot(n)), q(n))) {
865
907
  const p = nt(n);
866
- d = rt(n), l.x = p.x + n.clientLeft, l.y = p.y + n.clientTop;
908
+ u = rt(n), l.x = p.x + n.clientLeft, l.y = p.y + n.clientTop;
867
909
  }
868
- const h = i && !u && !s ? pe(i, f, !0) : K(0);
910
+ const h = i && !d && !s ? pe(i, f, !0) : K(0);
869
911
  return {
870
- width: o.width * d.x,
871
- height: o.height * d.y,
872
- x: o.x * d.x - f.scrollLeft * d.x + l.x + h.x,
873
- y: o.y * d.y - f.scrollTop * d.y + l.y + h.y
912
+ width: o.width * u.x,
913
+ height: o.height * u.y,
914
+ x: o.x * u.x - f.scrollLeft * u.x + l.x + h.x,
915
+ y: o.y * u.y - f.scrollTop * u.y + l.y + h.y
874
916
  };
875
917
  }
876
- function Ro(t) {
918
+ function No(t) {
877
919
  return Array.from(t.getClientRects());
878
920
  }
879
- function No(t) {
921
+ function Vo(t) {
880
922
  const e = J(t), o = Ot(t), n = t.ownerDocument.body, r = et(e.scrollWidth, e.clientWidth, n.scrollWidth, n.clientWidth), s = et(e.scrollHeight, e.clientHeight, n.scrollHeight, n.clientHeight);
881
923
  let i = -o.scrollLeft + Ft(t);
882
924
  const c = -o.scrollTop;
@@ -887,13 +929,13 @@ function No(t) {
887
929
  y: c
888
930
  };
889
931
  }
890
- function Lo(t, e) {
891
- const o = L(t), n = J(t), r = o.visualViewport;
932
+ function Do(t, e) {
933
+ const o = N(t), n = J(t), r = o.visualViewport;
892
934
  let s = n.clientWidth, i = n.clientHeight, c = 0, f = 0;
893
935
  if (r) {
894
936
  s = r.width, i = r.height;
895
- const d = Ht();
896
- (!d || d && e === "fixed") && (c = r.offsetLeft, f = r.offsetTop);
937
+ const u = Ht();
938
+ (!u || u && e === "fixed") && (c = r.offsetLeft, f = r.offsetTop);
897
939
  }
898
940
  return {
899
941
  width: s,
@@ -902,23 +944,23 @@ function Lo(t, e) {
902
944
  y: f
903
945
  };
904
946
  }
905
- function Vo(t, e) {
906
- const o = nt(t, !0, e === "fixed"), n = o.top + t.clientTop, r = o.left + t.clientLeft, s = q(t) ? rt(t) : K(1), i = t.clientWidth * s.x, c = t.clientHeight * s.y, f = r * s.x, d = n * s.y;
947
+ function Mo(t, e) {
948
+ const o = nt(t, !0, e === "fixed"), n = o.top + t.clientTop, r = o.left + t.clientLeft, s = q(t) ? rt(t) : K(1), i = t.clientWidth * s.x, c = t.clientHeight * s.y, f = r * s.x, u = n * s.y;
907
949
  return {
908
950
  width: i,
909
951
  height: c,
910
952
  x: f,
911
- y: d
953
+ y: u
912
954
  };
913
955
  }
914
956
  function Xt(t, e, o) {
915
957
  let n;
916
958
  if (e === "viewport")
917
- n = Lo(t, o);
959
+ n = Do(t, o);
918
960
  else if (e === "document")
919
- n = No(J(t));
961
+ n = Vo(J(t));
920
962
  else if (H(e))
921
- n = Vo(e, o);
963
+ n = Mo(e, o);
922
964
  else {
923
965
  const r = fe(t);
924
966
  n = {
@@ -934,7 +976,7 @@ function he(t, e) {
934
976
  const o = Z(t);
935
977
  return o === e || !H(o) || lt(o) ? !1 : B(o).position === "fixed" || he(o, e);
936
978
  }
937
- function Do(t, e) {
979
+ function Ho(t, e) {
938
980
  const o = e.get(t);
939
981
  if (o)
940
982
  return o;
@@ -947,16 +989,16 @@ function Do(t, e) {
947
989
  }
948
990
  return e.set(t, n), n;
949
991
  }
950
- function Mo(t) {
992
+ function Bo(t) {
951
993
  let {
952
994
  element: e,
953
995
  boundary: o,
954
996
  rootBoundary: n,
955
997
  strategy: r
956
998
  } = t;
957
- const i = [...o === "clippingAncestors" ? zt(e) ? [] : Do(e, this._c) : [].concat(o), n], c = i[0], f = i.reduce((d, l) => {
958
- const u = Xt(e, l, r);
959
- return d.top = et(u.top, d.top), d.right = at(u.right, d.right), d.bottom = at(u.bottom, d.bottom), d.left = et(u.left, d.left), d;
999
+ const i = [...o === "clippingAncestors" ? zt(e) ? [] : Ho(e, this._c) : [].concat(o), n], c = i[0], f = i.reduce((u, l) => {
1000
+ const d = Xt(e, l, r);
1001
+ return u.top = et(d.top, u.top), u.right = at(d.right, u.right), u.bottom = at(d.bottom, u.bottom), u.left = et(d.left, u.left), u;
960
1002
  }, Xt(e, c, r));
961
1003
  return {
962
1004
  width: f.right - f.left,
@@ -965,7 +1007,7 @@ function Mo(t) {
965
1007
  y: f.top
966
1008
  };
967
1009
  }
968
- function Ho(t) {
1010
+ function Fo(t) {
969
1011
  const {
970
1012
  width: e,
971
1013
  height: o
@@ -975,7 +1017,7 @@ function Ho(t) {
975
1017
  height: o
976
1018
  };
977
1019
  }
978
- function Bo(t, e, o) {
1020
+ function jo(t, e, o) {
979
1021
  const n = q(e), r = J(e), s = o === "fixed", i = nt(t, !0, s, e);
980
1022
  let c = {
981
1023
  scrollLeft: 0,
@@ -987,10 +1029,10 @@ function Bo(t, e, o) {
987
1029
  const h = nt(e, !0, s, e);
988
1030
  f.x = h.x + e.clientLeft, f.y = h.y + e.clientTop;
989
1031
  } else r && (f.x = Ft(r));
990
- const d = r && !n && !s ? pe(r, c) : K(0), l = i.left + c.scrollLeft - f.x - d.x, u = i.top + c.scrollTop - f.y - d.y;
1032
+ const u = r && !n && !s ? pe(r, c) : K(0), l = i.left + c.scrollLeft - f.x - u.x, d = i.top + c.scrollTop - f.y - u.y;
991
1033
  return {
992
1034
  x: l,
993
- y: u,
1035
+ y: d,
994
1036
  width: i.width,
995
1037
  height: i.height
996
1038
  };
@@ -1007,7 +1049,7 @@ function Qt(t, e) {
1007
1049
  return J(t) === o && (o = o.ownerDocument.body), o;
1008
1050
  }
1009
1051
  function ge(t, e) {
1010
- const o = L(t);
1052
+ const o = N(t);
1011
1053
  if (zt(t))
1012
1054
  return o;
1013
1055
  if (!q(t)) {
@@ -1020,14 +1062,14 @@ function ge(t, e) {
1020
1062
  return o;
1021
1063
  }
1022
1064
  let n = Qt(t, e);
1023
- for (; n && Io(n) && Ct(n); )
1065
+ for (; n && Co(n) && Ct(n); )
1024
1066
  n = Qt(n, e);
1025
- return n && lt(n) && Ct(n) && !Mt(n) ? o : n || $o(t) || o;
1067
+ return n && lt(n) && Ct(n) && !Mt(n) ? o : n || Go(t) || o;
1026
1068
  }
1027
- const Fo = async function(t) {
1069
+ const Wo = async function(t) {
1028
1070
  const e = this.getOffsetParent || ge, o = this.getDimensions, n = await o(t.floating);
1029
1071
  return {
1030
- reference: Bo(t.reference, await e(t.floating), t.strategy),
1072
+ reference: jo(t.reference, await e(t.floating), t.strategy),
1031
1073
  floating: {
1032
1074
  x: 0,
1033
1075
  y: 0,
@@ -1036,25 +1078,25 @@ const Fo = async function(t) {
1036
1078
  }
1037
1079
  };
1038
1080
  };
1039
- function jo(t) {
1081
+ function Ko(t) {
1040
1082
  return B(t).direction === "rtl";
1041
1083
  }
1042
- const Wo = {
1043
- convertOffsetParentRelativeRectToViewportRelativeRect: Eo,
1084
+ const qo = {
1085
+ convertOffsetParentRelativeRectToViewportRelativeRect: Lo,
1044
1086
  getDocumentElement: J,
1045
- getClippingRect: Mo,
1087
+ getClippingRect: Bo,
1046
1088
  getOffsetParent: ge,
1047
- getElementRects: Fo,
1048
- getClientRects: Ro,
1049
- getDimensions: Ho,
1089
+ getElementRects: Wo,
1090
+ getClientRects: No,
1091
+ getDimensions: Fo,
1050
1092
  getScale: rt,
1051
1093
  isElement: H,
1052
- isRTL: jo
1094
+ isRTL: Ko
1053
1095
  };
1054
1096
  function ye(t, e) {
1055
1097
  return t.x === e.x && t.y === e.y && t.width === e.width && t.height === e.height;
1056
1098
  }
1057
- function Ko(t, e) {
1099
+ function Jo(t, e) {
1058
1100
  let o = null, n;
1059
1101
  const r = J(t);
1060
1102
  function s() {
@@ -1063,15 +1105,15 @@ function Ko(t, e) {
1063
1105
  }
1064
1106
  function i(c, f) {
1065
1107
  c === void 0 && (c = !1), f === void 0 && (f = 1), s();
1066
- const d = t.getBoundingClientRect(), {
1108
+ const u = t.getBoundingClientRect(), {
1067
1109
  left: l,
1068
- top: u,
1110
+ top: d,
1069
1111
  width: h,
1070
1112
  height: p
1071
- } = d;
1113
+ } = u;
1072
1114
  if (c || e(), !h || !p)
1073
1115
  return;
1074
- const a = bt(u), y = bt(r.clientWidth - (l + h)), g = bt(r.clientHeight - (u + p)), T = bt(l), A = {
1116
+ const a = bt(d), y = bt(r.clientWidth - (l + h)), g = bt(r.clientHeight - (d + p)), T = bt(l), A = {
1075
1117
  rootMargin: -a + "px " + -y + "px " + -g + "px " + -T + "px",
1076
1118
  threshold: et(0, at(1, f)) || 1
1077
1119
  };
@@ -1085,7 +1127,7 @@ function Ko(t, e) {
1085
1127
  i(!1, 1e-7);
1086
1128
  }, 1e3);
1087
1129
  }
1088
- C === 1 && !ye(d, t.getBoundingClientRect()) && i(), $ = !1;
1130
+ C === 1 && !ye(u, t.getBoundingClientRect()) && i(), $ = !1;
1089
1131
  }
1090
1132
  try {
1091
1133
  o = new IntersectionObserver(z, {
@@ -1100,7 +1142,7 @@ function Ko(t, e) {
1100
1142
  }
1101
1143
  return i(!0), s;
1102
1144
  }
1103
- function qo(t, e, o, n) {
1145
+ function Uo(t, e, o, n) {
1104
1146
  n === void 0 && (n = {});
1105
1147
  const {
1106
1148
  ancestorScroll: r = !0,
@@ -1108,21 +1150,21 @@ function qo(t, e, o, n) {
1108
1150
  elementResize: i = typeof ResizeObserver == "function",
1109
1151
  layoutShift: c = typeof IntersectionObserver == "function",
1110
1152
  animationFrame: f = !1
1111
- } = n, d = Bt(t), l = r || s ? [...d ? pt(d) : [], ...pt(e)] : [];
1153
+ } = n, u = Bt(t), l = r || s ? [...u ? pt(u) : [], ...pt(e)] : [];
1112
1154
  l.forEach((T) => {
1113
1155
  r && T.addEventListener("scroll", o, {
1114
1156
  passive: !0
1115
1157
  }), s && T.addEventListener("resize", o);
1116
1158
  });
1117
- const u = d && c ? Ko(d, o) : null;
1159
+ const d = u && c ? Jo(u, o) : null;
1118
1160
  let h = -1, p = null;
1119
1161
  i && (p = new ResizeObserver((T) => {
1120
- let [k] = T;
1121
- k && k.target === d && p && (p.unobserve(e), cancelAnimationFrame(h), h = requestAnimationFrame(() => {
1162
+ let [P] = T;
1163
+ P && P.target === u && p && (p.unobserve(e), cancelAnimationFrame(h), h = requestAnimationFrame(() => {
1122
1164
  var A;
1123
1165
  (A = p) == null || A.observe(e);
1124
1166
  })), o();
1125
- }), d && !f && p.observe(d), p.observe(e));
1167
+ }), u && !f && p.observe(u), p.observe(e));
1126
1168
  let a, y = f ? nt(t) : null;
1127
1169
  f && g();
1128
1170
  function g() {
@@ -1131,32 +1173,32 @@ function qo(t, e, o, n) {
1131
1173
  }
1132
1174
  return o(), () => {
1133
1175
  var T;
1134
- l.forEach((k) => {
1135
- r && k.removeEventListener("scroll", o), s && k.removeEventListener("resize", o);
1136
- }), u == null || u(), (T = p) == null || T.disconnect(), p = null, f && cancelAnimationFrame(a);
1176
+ l.forEach((P) => {
1177
+ r && P.removeEventListener("scroll", o), s && P.removeEventListener("resize", o);
1178
+ }), d == null || d(), (T = p) == null || T.disconnect(), p = null, f && cancelAnimationFrame(a);
1137
1179
  };
1138
1180
  }
1139
- const Jo = Oo, Uo = _o, Yo = So, te = Ao, Zo = (t, e, o) => {
1181
+ const Yo = Io, Zo = $o, Xo = Oo, te = zo, Qo = (t, e, o) => {
1140
1182
  const n = /* @__PURE__ */ new Map(), r = {
1141
- platform: Wo,
1183
+ platform: qo,
1142
1184
  ...o
1143
1185
  }, s = {
1144
1186
  ...r.platform,
1145
1187
  _c: n
1146
1188
  };
1147
- return ko(t, e, {
1189
+ return So(t, e, {
1148
1190
  ...r,
1149
1191
  platform: s
1150
1192
  });
1151
1193
  };
1152
- function Xo({ middleware: t, placement: e = null, strategy: o, append: n, enabled: r }) {
1153
- const s = I(null), i = I(null), c = I(null), f = I(null), d = I(null), l = I(null), u = I(null), h = I(o ?? "absolute"), p = I(null), a = () => {
1154
- !s.value || !i.value || Zo(s.value, i.value, {
1194
+ function tn({ middleware: t, placement: e = null, strategy: o, append: n, enabled: r }) {
1195
+ const s = I(null), i = I(null), c = I(null), f = I(null), u = I(null), l = I(null), d = I(null), h = I(o ?? "absolute"), p = I(null), a = () => {
1196
+ !s.value || !i.value || Qo(s.value, i.value, {
1155
1197
  middleware: t,
1156
1198
  placement: e,
1157
1199
  strategy: o
1158
1200
  }).then((g) => {
1159
- c.value = g.x, f.value = g.y, h.value = g.strategy, d.value = g.middlewareData.arrow.x, l.value = g.middlewareData.arrow.y, u.value = g.placement;
1201
+ c.value = g.x, f.value = g.y, h.value = g.strategy, u.value = g.middlewareData.arrow.x, l.value = g.middlewareData.arrow.y, d.value = g.placement;
1160
1202
  });
1161
1203
  };
1162
1204
  Gt(
@@ -1166,45 +1208,47 @@ function Xo({ middleware: t, placement: e = null, strategy: o, append: n, enable
1166
1208
  append: m(n)
1167
1209
  }),
1168
1210
  ({ floating: g, append: T }) => {
1169
- T && Ue(g, T), a();
1211
+ T && Ye(g, T), a();
1170
1212
  },
1171
1213
  { flush: "post" }
1172
1214
  ), Gt(
1173
1215
  r,
1174
1216
  (g) => {
1175
1217
  if (!(!s.value || !i.value)) {
1176
- if (!g) return y();
1177
- p.value = qo(s.value, i.value, a, {});
1218
+ if (!g)
1219
+ return y();
1220
+ p.value = Uo(s.value, i.value, a, {});
1178
1221
  }
1179
1222
  },
1180
1223
  { flush: "post" }
1181
1224
  );
1182
- const y = () => {
1225
+ function y() {
1183
1226
  var g;
1184
1227
  (g = p.value) == null || g.call(p), p.value = null;
1185
- };
1228
+ }
1186
1229
  return {
1187
1230
  x: c,
1188
1231
  y: f,
1189
- arrowX: d,
1232
+ arrowX: u,
1190
1233
  arrowY: l,
1191
- placement: u,
1234
+ placement: d,
1192
1235
  reference: s,
1193
1236
  floating: i,
1194
1237
  strategy: h,
1195
1238
  update: a
1196
1239
  };
1197
1240
  }
1198
- const Qo = (t) => {
1241
+ function en(t) {
1199
1242
  const { element: e, padding: o } = t;
1200
1243
  return {
1201
1244
  name: "arrow",
1202
1245
  options: t,
1203
1246
  fn(n) {
1204
- return $e(e) ? e.value != null ? te({ element: e.value, padding: o }).fn(n) : {} : e ? te({ element: e, padding: o }).fn(n) : {};
1247
+ return Ce(e) ? e.value != null ? te({ element: e.value, padding: o }).fn(n) : {} : e ? te({ element: e, padding: o }).fn(n) : {};
1205
1248
  }
1206
1249
  };
1207
- }, tn = ["data-placement"], ve = {
1250
+ }
1251
+ const on = ["data-placement"], ve = {
1208
1252
  __name: "FloatingPanel",
1209
1253
  props: {
1210
1254
  disabled: {
@@ -1233,61 +1277,65 @@ const Qo = (t) => {
1233
1277
  }
1234
1278
  },
1235
1279
  setup(t) {
1236
- const e = t, o = I(!1), n = I(null), { x: r, y: s, arrowX: i, arrowY: c, placement: f, reference: d, floating: l, strategy: u } = Xo({
1280
+ const e = t, o = I(!1), n = I(null), { x: r, y: s, arrowX: i, arrowY: c, placement: f, reference: u, floating: l, strategy: d } = tn({
1237
1281
  placement: e.placement,
1238
- middleware: [Yo(), Uo({ padding: 5 }), Jo(e.offset), Qo({ element: n, padding: 5 })],
1282
+ middleware: [Xo(), Zo({ padding: 5 }), Yo(e.offset), en({ element: n, padding: 5 })],
1239
1283
  append: _(() => e.appendTo),
1240
1284
  enabled: o
1241
- }), h = () => {
1285
+ });
1286
+ function h() {
1242
1287
  e.disabled || o.value || (o.value = !0);
1243
- }, p = (g) => {
1288
+ }
1289
+ function p(g) {
1244
1290
  o.value && g && (o.value = !1);
1245
- }, a = (g) => {
1246
- d.value = g;
1247
- }, y = {
1291
+ }
1292
+ function a(g) {
1293
+ u.value = g;
1294
+ }
1295
+ const y = {
1248
1296
  mouseenter: h,
1249
1297
  mouseleave: p,
1250
1298
  focus: h,
1251
1299
  blur: p
1252
1300
  };
1253
- return Re(l, (g) => {
1301
+ return Ne(l, (g) => {
1254
1302
  var T;
1255
- (T = d.value) != null && T.contains(g.target) || p();
1256
- }), (g, T) => (v(), b(M, null, [
1257
- N(g.$slots, "default", {
1303
+ (T = u.value) != null && T.contains(g.target) || p();
1304
+ }), (g, T) => (v(), w(D, null, [
1305
+ L(g.$slots, "default", {
1258
1306
  setRef: a,
1259
1307
  show: h,
1260
1308
  hide: p,
1261
1309
  events: y
1262
1310
  }),
1263
- w("div", {
1311
+ b("div", {
1264
1312
  ref_key: "floating",
1265
1313
  ref: l,
1266
1314
  "data-placement": m(f),
1267
1315
  style: jt({
1268
- position: m(u),
1316
+ position: m(d),
1269
1317
  top: m(s) ? `${m(s)}px` : "",
1270
1318
  left: m(r) ? `${m(r)}px` : ""
1271
1319
  })
1272
1320
  }, [
1273
- G(Ce, {
1321
+ G(Ge, {
1274
1322
  name: "transition-fade",
1275
1323
  mode: "out-in"
1276
1324
  }, {
1277
- default: P(() => [
1278
- o.value ? (v(), b("div", {
1325
+ default: k(() => [
1326
+ o.value ? (v(), w("div", {
1279
1327
  key: 0,
1280
- class: O(["floating-content", [`is-${e.theme}`]])
1328
+ class: O(["floating-content", [[`is-${e.theme}`]]])
1281
1329
  }, [
1282
- N(g.$slots, "content", { close: p }, () => [
1283
- D(x(t.content), 1)
1330
+ L(g.$slots, "content", { close: p }, () => [
1331
+ M(x(t.content), 1)
1284
1332
  ]),
1285
- w("div", {
1333
+ b("div", {
1286
1334
  ref_key: "arrowRef",
1287
1335
  ref: n,
1288
1336
  class: "is-arrow",
1289
1337
  style: jt({
1290
- position: m(u),
1338
+ position: m(d),
1291
1339
  top: m(c) ? `${m(c)}px` : "",
1292
1340
  left: m(i) ? `${m(i)}px` : ""
1293
1341
  })
@@ -1296,10 +1344,10 @@ const Qo = (t) => {
1296
1344
  ]),
1297
1345
  _: 3
1298
1346
  })
1299
- ], 12, tn)
1347
+ ], 12, on)
1300
1348
  ], 64));
1301
1349
  }
1302
- }, en = ["onMouseenter", "onMouseleave", "onFocus", "onBlur", "onClick", "onKeydown", "tabindex"], on = { key: 0 }, nn = ["colspan"], sn = { key: 1 }, rn = ["colspan"], we = {
1350
+ }, nn = ["tabindex", "onMouseenter", "onMouseleave", "onFocus", "onBlur", "onClick", "onKeydown"], sn = { key: 0 }, rn = ["colspan"], an = { key: 1 }, ln = ["colspan"], we = {
1303
1351
  __name: "DataTable",
1304
1352
  props: {
1305
1353
  columns: {
@@ -1325,23 +1373,24 @@ const Qo = (t) => {
1325
1373
  },
1326
1374
  emits: ["sort"],
1327
1375
  setup(t, { emit: e }) {
1328
- const o = t, { isLoading: n, appendTo: r } = Lt(o), s = Ne(n, { delay: Ke }), i = e, { t: c } = X(), f = Y("table"), d = _(() => o.columns), l = _(() => Object.keys(o.columns).length), u = (h, p) => {
1329
- h.sortOrders && i("sort", { target: p, orders: h.sortOrders });
1330
- };
1331
- return (h, p) => (v(), b("table", {
1376
+ const o = t, n = e, { isLoading: r, appendTo: s } = Nt(o), i = Ve(r, { delay: je }), { t: c } = X(), f = Y("table"), u = _(() => o.columns), l = _(() => Object.keys(o.columns).length);
1377
+ function d(h, p) {
1378
+ h.sortOrders && n("sort", { target: p, orders: h.sortOrders });
1379
+ }
1380
+ return (h, p) => (v(), w("table", {
1332
1381
  class: O(m(f))
1333
1382
  }, [
1334
- w("thead", null, [
1335
- w("tr", null, [
1336
- (v(!0), b(M, null, tt(d.value, (a, y) => (v(), R(ve, {
1383
+ b("thead", null, [
1384
+ b("tr", null, [
1385
+ (v(!0), w(D, null, tt(u.value, (a, y) => (v(), R(ve, {
1337
1386
  key: y,
1338
1387
  placement: "top",
1339
1388
  content: a.tooltip,
1340
1389
  disabled: !a.tooltip,
1341
- "append-to": m(r)
1390
+ "append-to": m(s)
1342
1391
  }, {
1343
- default: P(({ setRef: g, show: T, hide: k }) => [
1344
- w("th", {
1392
+ default: k(({ setRef: g, show: T, hide: P }) => [
1393
+ b("th", {
1345
1394
  ref_for: !0,
1346
1395
  ref: g,
1347
1396
  class: O([
@@ -1349,24 +1398,24 @@ const Qo = (t) => {
1349
1398
  {
1350
1399
  "is-active": y === t.sort.sortTarget && t.sort.orders[0].direction !== m(_t),
1351
1400
  "is-sortable": a.sortOrders,
1352
- "is-desc": y === t.sort.sortTarget && t.sort.orders[0].direction === m(qt),
1353
- "is-asc": y === t.sort.sortTarget && t.sort.orders[0].direction === m(Jt)
1401
+ "is-desc": y === t.sort.sortTarget && t.sort.orders[0].direction === m(Kt),
1402
+ "is-asc": y === t.sort.sortTarget && t.sort.orders[0].direction === m(qt)
1354
1403
  }
1355
1404
  ]),
1405
+ tabindex: a.sortOrders ? 0 : -1,
1406
+ role: "button",
1356
1407
  onMouseenter: T,
1357
- onMouseleave: k,
1408
+ onMouseleave: P,
1358
1409
  onFocus: T,
1359
- onBlur: k,
1360
- onClick: (A) => u(a, y),
1410
+ onBlur: P,
1411
+ onClick: (A) => d(a, y),
1361
1412
  onKeydown: [
1362
- Wt(it((A) => u(a, y), ["prevent"]), ["space"]),
1363
- Wt(it((A) => u(a, y), ["prevent"]), ["enter"])
1364
- ],
1365
- tabindex: a.sortOrders ? 0 : -1,
1366
- role: "button"
1413
+ Wt(it((A) => d(a, y), ["prevent"]), ["space"]),
1414
+ Wt(it((A) => d(a, y), ["prevent"]), ["enter"])
1415
+ ]
1367
1416
  }, [
1368
- N(h.$slots, `header-${y}`, { column: a }, () => [
1369
- D(x(a.label), 1)
1417
+ L(h.$slots, `header-${y}`, { column: a }, () => [
1418
+ M(x(a.label), 1)
1370
1419
  ]),
1371
1420
  a.sortOrders && y !== t.sort.sortTarget ? (v(), R(m(Ut), {
1372
1421
  key: 0,
@@ -1376,65 +1425,65 @@ const Qo = (t) => {
1376
1425
  key: 1,
1377
1426
  class: "is-icon-sort"
1378
1427
  })) : S("", !0),
1379
- y === t.sort.sortTarget && t.sort.orders[0].direction === m(qt) ? (v(), R(m(fo), {
1428
+ y === t.sort.sortTarget && t.sort.orders[0].direction === m(Kt) ? (v(), R(m(ho), {
1380
1429
  key: 2,
1381
1430
  class: "is-icon-sort"
1382
1431
  })) : S("", !0),
1383
- y === t.sort.sortTarget && t.sort.orders[0].direction === m(Jt) ? (v(), R(m(go), {
1432
+ y === t.sort.sortTarget && t.sort.orders[0].direction === m(qt) ? (v(), R(m(vo), {
1384
1433
  key: 3,
1385
1434
  class: "is-icon-sort"
1386
1435
  })) : S("", !0)
1387
- ], 42, en)
1436
+ ], 42, nn)
1388
1437
  ]),
1389
1438
  _: 2
1390
1439
  }, 1032, ["content", "disabled", "append-to"]))), 128))
1391
1440
  ])
1392
1441
  ]),
1393
- w("tbody", null, [
1394
- (v(!0), b(M, null, tt(o.rows, (a, y) => (v(), b("tr", {
1442
+ b("tbody", null, [
1443
+ (v(!0), w(D, null, tt(o.rows, (a, y) => (v(), w("tr", {
1395
1444
  key: y,
1396
1445
  class: O(a.rowClasses)
1397
1446
  }, [
1398
- (v(!0), b(M, null, tt(d.value, (g, T) => (v(), b("td", {
1447
+ (v(!0), w(D, null, tt(u.value, (g, T) => (v(), w("td", {
1399
1448
  key: T,
1400
1449
  class: O([
1401
1450
  [g.class],
1402
1451
  {
1403
1452
  "is-active": T === t.sort.sortTarget && t.sort.orders[0].direction !== m(_t),
1404
- "is-zero": a[T] == 0 || a[T] == "00:00"
1453
+ "is-zero": a[T] === 0 || a[T] === "00:00"
1405
1454
  }
1406
1455
  ])
1407
1456
  }, [
1408
- N(h.$slots, `cell-${T}`, {
1457
+ L(h.$slots, `cell-${T}`, {
1409
1458
  row: a,
1410
1459
  prop: T
1411
1460
  }, () => [
1412
- D(x(a[T]), 1)
1461
+ M(x(a[T]), 1)
1413
1462
  ])
1414
1463
  ], 2))), 128))
1415
1464
  ], 2))), 128))
1416
1465
  ]),
1417
- m(s) && t.rows.length === 0 ? (v(), b("tfoot", on, [
1418
- w("tr", null, [
1419
- w("td", { colspan: l.value }, [
1420
- N(h.$slots, "loading", {}, () => [
1421
- D(x(m(c)("common.loading")), 1)
1466
+ m(i) && t.rows.length === 0 ? (v(), w("tfoot", sn, [
1467
+ b("tr", null, [
1468
+ b("td", { colspan: l.value }, [
1469
+ L(h.$slots, "loading", {}, () => [
1470
+ M(x(m(c)("common.loading")), 1)
1422
1471
  ])
1423
- ], 8, nn)
1472
+ ], 8, rn)
1424
1473
  ])
1425
1474
  ])) : S("", !0),
1426
- t.rows.length === 0 && !m(n) && !m(s) ? (v(), b("tfoot", sn, [
1427
- w("tr", null, [
1428
- w("td", { colspan: l.value }, [
1429
- N(h.$slots, "empty", {}, () => [
1430
- D(x(m(c)("common.noData")), 1)
1475
+ t.rows.length === 0 && !m(r) && !m(i) ? (v(), w("tfoot", an, [
1476
+ b("tr", null, [
1477
+ b("td", { colspan: l.value }, [
1478
+ L(h.$slots, "empty", {}, () => [
1479
+ M(x(m(c)("common.noData")), 1)
1431
1480
  ])
1432
- ], 8, rn)
1481
+ ], 8, ln)
1433
1482
  ])
1434
1483
  ])) : S("", !0)
1435
1484
  ], 2));
1436
1485
  }
1437
- }, an = {
1486
+ }, cn = {
1438
1487
  xmlns: "http://www.w3.org/2000/svg",
1439
1488
  viewBox: "0 0 24 24",
1440
1489
  fill: "none",
@@ -1443,16 +1492,16 @@ const Qo = (t) => {
1443
1492
  "stroke-linecap": "round",
1444
1493
  "stroke-linejoin": "round"
1445
1494
  };
1446
- function ln(t, e) {
1447
- return v(), b("svg", an, e[0] || (e[0] = [
1448
- 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),
1449
- w("line", {
1495
+ function un(t, e) {
1496
+ return v(), w("svg", cn, e[0] || (e[0] = [
1497
+ 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),
1498
+ b("line", {
1450
1499
  x1: "12",
1451
1500
  y1: "9",
1452
1501
  x2: "12",
1453
1502
  y2: "13"
1454
1503
  }, null, -1),
1455
- w("line", {
1504
+ b("line", {
1456
1505
  x1: "12",
1457
1506
  y1: "17",
1458
1507
  x2: "12.01",
@@ -1460,7 +1509,7 @@ function ln(t, e) {
1460
1509
  }, null, -1)
1461
1510
  ]));
1462
1511
  }
1463
- const cn = { render: ln }, Ks = {
1512
+ const dn = { render: un }, qs = {
1464
1513
  __name: "ErrorNotice",
1465
1514
  props: {
1466
1515
  error: {
@@ -1473,45 +1522,45 @@ const cn = { render: ln }, Ks = {
1473
1522
  var i;
1474
1523
  return n(`errors.${e.error.key}`) ? o(`errors.${e.error.key}`, e.error.cause) : `${e.error.key}: ${(i = e.error) == null ? void 0 : i.message}`;
1475
1524
  });
1476
- return (i, c) => (v(), b("div", {
1525
+ return (i, c) => (v(), w("div", {
1477
1526
  class: O(m(r))
1478
1527
  }, [
1479
- G(m(cn), {
1528
+ G(m(dn), {
1480
1529
  class: "icon",
1481
1530
  width: "20",
1482
1531
  height: "20"
1483
1532
  }),
1484
- w("span", null, x(s.value), 1)
1533
+ b("span", null, x(s.value), 1)
1485
1534
  ], 2));
1486
1535
  }
1487
- }, qs = {
1536
+ }, Js = {
1488
1537
  __name: "ErrorProvider",
1489
1538
  setup(t) {
1490
- const { message: e, hasError: o, error: n } = Le();
1491
- return (r, s) => N(r.$slots, "default", {
1539
+ const { message: e, hasError: o, error: n } = De();
1540
+ return (r, s) => L(r.$slots, "default", {
1492
1541
  message: m(e),
1493
1542
  error: m(n),
1494
1543
  hasError: m(o)
1495
1544
  });
1496
1545
  }
1497
- }, dn = { "undefined-column": "A(z) {column} oszlop nem létezik!", "invalid-season-name": "Érvénytelen szezon név", "api-key-not-found": "API Kulcs nem megfelelő" }, un = { loading: "Töltődés...", noData: "Nincs megjeleníthető adat", selectTimezone: "*Minden időpont a számítógép időzónája szerint jelenik meg ({timezone}). Váltás: ", hungary: "Magyarország", romania: "Románia", shootoutShort: "SO", overtimeShort: "OT", all: "Mind", report: "Jegyzőkönyv", video: "Videó" }, mn = { inheritedPoints: { prependix: "A megelőző bajnokság szakaszban elért eredménye alapján", content: "{team} csapata {points}", appendix: "többletponttal rendelkezik." }, penaltyPoints: { prependix: "* Fegyelmi Bizottság döntése alapján:", content: "{team} csapatától {points} pont", appendix: "levonva." } }, fn = { blank: "#", team: { short: "Csapat", tooltip: "Csapatnév" }, game: { short: "GP", tooltip: "Mérkőzésszám" }, wins: { short: "W", tooltip: "Győzelem" }, draw: { short: "D", tooltip: "Döntetlen" }, otw: { short: "OTW", tooltip: "Győzelem Hosszabbításban" }, sow: { short: "SOW", tooltip: "Győzelem Szétlövésben" }, sol: { short: "SOL", tooltip: "Vereség Szétlövésben" }, otl: { short: "OTL", tooltip: "Vereség Hosszabbításban" }, losses: { short: "L", tooltip: "Vereség" }, goalFor: { short: "GF", tooltip: "Szerzett Gól" }, goalAgainst: { short: "GA", tooltip: "Kapott Gól" }, goalDiff: { short: "GD", tooltip: "Gólkülönbség" }, name: { short: "Név", tooltip: "Játékosnév" }, goals: { short: "G", tooltip: "Gólok" }, assists: { short: "A", tooltip: "Gólpasszok" }, points: { short: "P", tooltip: "Pontok" }, plusMinus: { short: "+/-", tooltip: "Plussz/Minusz" }, sog: { short: "S", tooltip: "Lövések" }, sogPercent: { short: "S%", tooltip: "Lövés Hatékonyság" }, gameName: { short: "#", tooltip: "Mérkőzés Sorszáma" }, gameDate: { short: "Dátum", tooltip: "Mérkőzés Dátuma" }, gameDateTime: { short: "*Idő ({offsetName})", tooltip: "Mérkőzés kezdési ideje (Zóna neve)" }, homeTeam: { short: "Hazai", tooltip: "Hazai Csapat" }, awayTeam: { short: "Vendég", tooltip: "Vendég Csapat" }, location: { short: "Helyszín", tooltip: "Mérkőzés Helyszíne" }, broadcast: { short: "TV", tooltip: "TV Közvetítés" }, minorPenalties: { short: "MINOR", tooltip: "Kisbüntetés (2p)" }, majorPenalties: { short: "MAJOR", tooltip: "Büntetés (5p)" }, misconducts: { short: "MISC", tooltip: "Fegyelmi büntetés (10p)" }, gameMisconducts: { short: "GA-MI", tooltip: "Fegyelmi büntetés (20p)" }, matchPenalties: { short: "MATCH", tooltip: "Végleges kiállítások (25p)" }, pim: { short: "BÜP", tooltip: "Büntetés Percek" }, pimPerGame: { short: "BÜP/M", tooltip: "Mérkőzésenkénti Büntetés Percek" }, gpgk: { short: "GP", tooltip: "Mérkőzésre Nevezve" }, gpi: { short: "GPI", tooltip: "Mérkőzésen Játszott" }, toi: { short: "TOI", tooltip: "Jégen Töltött Idő" }, toiPercent: { short: "TOI%", tooltip: "Jégen Töltött Idő Százalék" }, ga: { short: "GA", tooltip: "Kapott Gól" }, gaa: { short: "GAA", tooltip: "Kapott Gólátlag" }, sa: { short: "SA", tooltip: "Kapott Lövés" }, svs: { short: "SVS", tooltip: "Védett Lövés" }, svsPercent: { short: "VH%", tooltip: "Védés Hatékonyság" }, homeHeader: { short: "Hazai:", tooltip: "" }, awayHeader: { short: "Vendég:", tooltip: "" }, totalHeader: { short: "Összes:", tooltip: "" }, homeGame: { short: "M", tooltip: "Hazai Mérkőzés" }, awayGame: { short: "M", tooltip: "Vendég Mérkőzés" }, totalGame: { short: "M", tooltip: "Összes Mérkőzés" }, homeAttendance: { short: "Nézőszám", tooltip: "Hazai Néző" }, awayAttendance: { short: "Nézőszám", tooltip: "Vendég Néző" }, totalAttendance: { short: "Nézőszám", tooltip: "Összes Néző" }, homeAttendanceAvg: { short: "Átlag", tooltip: "Hazi Néző Átlag" }, awayAttendanceAvg: { short: "Átlag", tooltip: "Vendég Néző Átlag" }, totalAttendanceAvg: { short: "Átlag", tooltip: "Összes Néző Átlag" }, powerplayDisadvantages: { short: "DVG", tooltip: "Emberhátrányok" }, dvgTime: { short: "DVG-T", tooltip: "Emberhátrányban Töltött Idő" }, dvgTimePP1: { short: "DVG-T PP1", tooltip: "Szimpla emberhátrányban töltött idő" }, dvgTimePP2: { short: "DVG-T PP2", tooltip: "Kettős emberhátrányban töltött idő" }, ppga: { short: "PPGA", tooltip: "Emberhátrányban kapott gólok" }, shgf: { short: "SHGF", tooltip: "Emberhátrányban szerzett gól" }, pkPercent: { short: "PK%", tooltip: "Emberhátrány kivédekezés" }, adv: { short: "ADV", tooltip: "Emberelőnyök száma" }, advTime: { short: "ADV-T", tooltip: "Emberelőnyben töltött idő" }, advTimePP1: { short: "ADV-T PP1", tooltip: "Szimpla emberelőnyben töltött idő" }, advTimePP2: { short: "ADV-T PP2", tooltip: "Kettős emberelőnyben töltött idő" }, ppgf: { short: "PPGF", tooltip: "Emberelőnyben szerzett gólok" }, shga: { short: "SHGA", tooltip: "Emberelőnyben kapott gólok" }, ppPercent: { short: "PP%", tooltip: "Emberelőny kihasználás" }, gfgp: { short: "GF/GP", tooltip: "Szerzett gólátlag" }, gagp: { short: "GA/GP", tooltip: "Kapott gólátlag" }, sogp: { short: "Shots/GP", tooltip: "Átlagos lövésszám" }, sagp: { short: "SA/GP", tooltip: "Átlagos kapott lövésszám" }, jerseyNumber: { short: "#", tooltip: "Mezszám" }, row: { short: "Sor", tooltip: "Sor" }, position: { short: "Po", tooltip: "Poszt" }, teamOfficials: { short: "Hivatalos Személyek", tooltip: "Hivatalos Személyek" }, score: { short: "Eredmény", tooltip: "Aktuális eredmény" }, opponent: { short: "Ellenfél", tooltip: "Ellenfél" }, result: { short: "Eredmény", tooltip: "Végeredmény" }, resultType: { short: "#", tooltip: "Végeredmény típusa" }, atoi: { short: "ATOI", tooltip: "Átlagos jégen töltött idő" }, shf: { short: "SHF", tooltip: "Jégre lépések száma" }, ashf: { short: "ASHF", tooltip: "Jégre lépések száma átlagosan" }, eqToi: { short: "EQ-TOI", tooltip: "Jégen töltött idő azonos létszámban" }, pp1Toi: { short: "PP1-TOI", tooltip: "Jégen töltött idő egyszeres emberelőnyben" }, pp2Toi: { short: "PP2-TOI", tooltip: "Jégen töltött idő kétszeres emberelőnyben" }, sh1Toi: { short: "SH1-TOI", tooltip: "Jégen töltött idő egyszeres emberhátrányban" }, sh2Toi: { short: "SH2-TOI", tooltip: "Jégen töltött idő kétszeres emberhátrányban" }, eqAToi: { short: "EQ-A-TOI", tooltip: "Átlagos jégen töltött idő azonos létszámban" }, pp1AToi: { short: "PP1-A-TOI", tooltip: "Átlagos jégen töltött idő egyszeres emberelőnyben" }, pp2AToi: { short: "PP2-A-TOI", tooltip: "Átlagos jégen töltött idő kétszeres emberelőnyben" }, sh1AToi: { short: "SH1-A-TOI", tooltip: "Átlagos jégen töltött idő egyszeres emberhátrányban" }, sh2AToi: { short: "SH2-A-TOI", tooltip: "Átlagos jégen töltött idő kétszeres emberhátrányban" }, role: { short: "Szerep", tooltip: "Szerep" } }, pn = { data: { localTime: "Helyszín szerinti idő" }, status: { jury: "Versenybíróság", delayed: "Elhalasztva" }, period: { wu: "Bemelegítés", pre: "Bemelegítés vége", p1: "I. játékrész", p1_int: "I. játékrész vége", p2: "II. játékrész", p2_int: "II. játékrész vége", p3: "III. játékrész", p3_int: "III. játékrész vége", p4: "IV. játékrész", p4_int: "IV. játékrész vége", p5: "V. játékrész", p5_int: "V. játékrész vége", p6: "VI. játékrész", p6_int: "VI. játékrész vége", ot: "Hosszabbítás", ot_int: "Hosszabbítás vége", so: "Szétlövés", so_int: "Szétlövés vége", end: "Végeredmény", Bemelegítés: "Bemelegítés", "Bemelegítés vége": "Bemelegítés Vége", "1. harmad": "I. harmad", "1. harmad vége": "I. harmad Vége", "2. harmad": "II. harmad", "2. harmad vége": "II. harmad Vége", "3. harmad": "III. harmad", "3. harmad vége": "III. harmad Vége", "4. harmad": "IV. harmad", "4. harmad vége": "IV. harmad Vége", "5. harmad": "V. harmad", "5. harmad vége": "V. harmad Vége", "6. harmad": "VI. harmad", "6. harmad vége": "VI. harmad Vége", Hosszabbítás: "Hosszabbítás", "Hosszabbítás vége": "Hosszabbítás vége", Büntetők: "Szétlövés", "Büntetők vége": "Szétlövés vége", Végeredmény: "Végeredmény", Szétlövés: "Szétlövés" } }, hn = {
1498
- errors: dn,
1499
- common: un,
1500
- additionalText: mn,
1501
- table: fn,
1502
- game: pn
1503
- }, gn = { "undefined-column": "The {column} column is not exists!", "invalid-season-name": "Invalid season name", "api-key-not-found": "API Key not found" }, yn = { loading: "Loading...", noData: "No data to display", selectTimezone: "*All times are displayed according to your computer's time zone ({timezone}). Change: ", hungary: "Hungary", romania: "Romania", shootoutShort: "SO", overtimeShort: "OT", all: "All", report: "Report Sheet", video: "Video" }, vn = { inheritedPoints: { prependix: "", content: "{team} has {points} extra point(s)", appendix: "based on its results in the previous championship phase." }, penaltyPoints: { prependix: "* ", content: "{points} point(s) deducted from team {team}", appendix: "based on the decision of the Disciplinary Committee." } }, wn = { blank: "#", team: { short: "Team", tooltip: "Team name" }, game: { short: "GP", tooltip: "Game Played" }, wins: { short: "W", tooltip: "Wins" }, draw: { short: "D", tooltip: "Draw" }, otw: { short: "OTW", tooltip: "Overtime Wins" }, sow: { short: "SOW", tooltip: "Shoot Out Wins" }, sol: { short: "SOL", tooltip: "Shoot Out Losses" }, otl: { short: "OTL", tooltip: "Overtime Losses" }, losses: { short: "L", tooltip: "Losses" }, goalFor: { short: "GF", tooltip: "Goals For" }, goalAgainst: { short: "GA", tooltip: "Goals Against" }, goalDiff: { short: "GD", tooltip: "Goal Differential" }, points: { short: "P", tooltip: "Points" }, name: { short: "Name", tooltip: "Player name" }, goals: { short: "G", tooltip: "Goals" }, assists: { short: "A", tooltip: "Assists" }, plusMinus: { short: "+/-", tooltip: "Plus/Minus" }, sog: { short: "S", tooltip: "Shots on Goal" }, sogPercent: { short: "S%", tooltip: "Shooting percentage" }, gameName: { short: "#", tooltip: "Game name" }, gameDate: { short: "Date", tooltip: "Scheduled Date" }, gameDateTime: { short: "*Time ({offsetName})", tooltip: "Scheduled Time (Offset Name)" }, homeTeam: { short: "Home", tooltip: "Home Team" }, awayTeam: { short: "Away", tooltip: "Away Team" }, location: { short: "Location", tooltip: "Game Location" }, broadcast: { short: "Broadcast", tooltip: "Television Broadcast" }, minorPenalties: { short: "MINOR", tooltip: "Penalties Minor" }, majorPenalties: { short: "MAJOR", tooltip: "Penalties Major" }, misconducts: { short: "MISC", tooltip: "Penalties Misconduct" }, gameMisconducts: { short: "GA-MI", tooltip: "Penalties Game Misconduct" }, matchPenalties: { short: "MATCH", tooltip: "Penalties Match" }, pim: { short: "PIM", tooltip: "Penalty Minutes" }, pimPerGame: { short: "PIM/G", tooltip: "Penalty Minutes per Game" }, gpgk: { short: "GP", tooltip: "Games Played" }, gpi: { short: "GPI", tooltip: "Games Played In" }, toi: { short: "TOI", tooltip: "Time On Ice" }, toiPercent: { short: "TOI%", tooltip: "Time On Ice as Percentage" }, ga: { short: "GA", tooltip: "Goals Against" }, gaa: { short: "GAA", tooltip: "Goals Against Average" }, sa: { short: "SA", tooltip: "Shots Against" }, svs: { short: "SVS", tooltip: "Saves" }, svsPercent: { short: "SV%", tooltip: "Save Percentage" }, homeHeader: { short: "Home:", tooltip: "" }, awayHeader: { short: "Away:", tooltip: "" }, totalHeader: { short: "Total:", tooltip: "" }, homeGame: { short: "GP", tooltip: "Home Games Played" }, awayGame: { short: "GP", tooltip: "Away Games Played" }, totalGame: { short: "GP", tooltip: "Total Games Played" }, homeAttendance: { short: "Att", tooltip: "Home Attendance" }, awayAttendance: { short: "Att", tooltip: "Away Attendance" }, totalAttendance: { short: "Att", tooltip: "Total Attendance" }, homeAttendanceAvg: { short: "Avg", tooltip: "Home Average Attendance" }, awayAttendanceAvg: { short: "Avg", tooltip: "Away Average Attendance" }, totalAttendanceAvg: { short: "Avg", tooltip: "Total Average Attendance" }, powerplayDisadvantages: { short: "DVG", tooltip: "Disadvantages (Number of Times Shorthanded)" }, dvgTime: { short: "DVG-T", tooltip: "Disadvantages Time" }, dvgTimePP1: { short: "DVG-T PP1", tooltip: "Disadvantages Time (Period of PP1)" }, dvgTimePP2: { short: "DVG-T PP2", tooltip: "Disadvantages Time (Period of PP2)" }, ppga: { short: "PPGA", tooltip: "Powerplay Goals Against" }, shgf: { short: "SHGF", tooltip: "Shorthanded Goals For" }, pkPercent: { short: "PK%", tooltip: "Penalty Killing Percentage" }, adv: { short: "ADV", tooltip: "Advantages (Times on Powerplay)" }, advTime: { short: "ADV-T", tooltip: "Advantages Time (Period of Powerplay)" }, advTimePP1: { short: "ADV-T PP1", tooltip: "Advantages Time (Period of PP1)" }, advTimePP2: { short: "ADV-T PP2", tooltip: "Advantages Time (Period of PP2)" }, ppgf: { short: "PPGF", tooltip: "Powerplay Goals For" }, shga: { short: "SHGA", tooltip: "Shorthanded Goals Against" }, ppPercent: { short: "PP%", tooltip: "Powerplay Percentage" }, gfgp: { short: "GF/GP", tooltip: "Szerzett gólátlag" }, gagp: { short: "GA/GP", tooltip: "Kapott gólátlag" }, sogp: { short: "Shots/GP", tooltip: "Átlagos lövésszám" }, sagp: { short: "SA/GP", tooltip: "Shots Against per Game" }, jerseyNumber: { short: "#", tooltip: "Jersey Number" }, row: { short: "Row", tooltip: "Row" }, position: { short: "Position", tooltip: "Position" }, teamOfficials: { short: "Team officials", tooltip: "Team officials" }, score: { short: "Score", tooltip: "Actual Game Score" }, opponent: { short: "Opponent", tooltip: "Opponent" }, result: { short: "Result", tooltip: "Result" }, resultType: { short: "#", tooltip: "Result Type" }, atoi: { short: "ATOI", tooltip: "Average Time On Ice" }, shf: { short: "SHF", tooltip: "Shifts" }, ashf: { short: "ASHF", tooltip: "Average Shifts" }, eqToi: { short: "EQ-TOI", tooltip: "Time On Ice in Equal" }, pp1Toi: { short: "PP1-TOI", tooltip: "Time On Ice in PowerPlay 1" }, pp2Toi: { short: "PP2-TOI", tooltip: "Time On Ice in PowerPlay 2" }, sh1Toi: { short: "SH1-TOI", tooltip: "Time On Ice in Shorthanded 1" }, sh2Toi: { short: "SH2-TOI", tooltip: "Time On Ice in Shorthanded 2" }, eqAToi: { short: "EQ-A-TOI", tooltip: "Average Time On Ice in Equal" }, pp1AToi: { short: "PP1-A-TOI", tooltip: "Average Time On Ice in PowerPlay 1" }, pp2AToi: { short: "PP2-A-TOI", tooltip: "Average Time On Ice in PowerPlay 2" }, sh1AToi: { short: "SH1-A-TOI", tooltip: "Average Time On Ice in Shorthanded 1" }, sh2AToi: { short: "SH2-A-TOI", tooltip: "Average Time On Ice in Shorthanded 2" }, role: { short: "Role", tooltip: "Role" } }, bn = { data: { localTime: "Game local time" }, status: { jury: "Jury result", delayed: "Game delayed" }, period: { wu: "Preparation", pre: "Preparation Ended", p1: "First Period", p1_int: "First Period Ended", p2: "Second Period", p2_int: "Second Period Ended", p3: "Third Period", p3_int: "Third Period Ended", p4: "Fourth Period", p4_int: "Fourth Period Ended", p5: "Fifth Period", p5_int: "Fifth Period Ended", p6: "Sixth Period", p6_int: "Sixth Period Ended", ot: "Overtime", ot_int: "Overtime Ended", so: "Shoot Out", so_int: "Shoot Out Ended", end: "Game Ended", Bemelegítés: "Warm-up", "Bemelegítés vége": "Warm-up End", "1. harmad": "First period", "1. harmad vége": "First period End", "2. harmad": "Second period", "2. harmad vége": "Second period End", "3. harmad": "Third period", "3. harmad vége": "Third period End", "4. harmad": "IV. period", "4. harmad vége": "IV. period End", "5. harmad": "V. period", "5. harmad vége": "V. period End", "6. harmad": "VI. period", "6. harmad vége": "VI. period End", Hosszabbítás: "Overtime", "Hosszabbítás vége": "Overtime End", Büntetőlövések: "Penalty Shot", Végeredmény: "Game Completed", Szétlövés: "Shoot Out" } }, Tn = {
1504
- errors: gn,
1505
- common: yn,
1506
- additionalText: vn,
1507
- table: wn,
1508
- game: bn
1509
- }, xn = (t, e) => {
1546
+ }, mn = { "undefined-column": "The {column} column is not exists!", "invalid-season-name": "Invalid season name", "api-key-not-found": "API Key not found" }, fn = { loading: "Loading...", noData: "No data to display", selectTimezone: "*All times are displayed according to your computer's time zone ({timezone}). Change: ", hungary: "Hungary", romania: "Romania", shootoutShort: "SO", overtimeShort: "OT", all: "All", report: "Report Sheet", video: "Video" }, pn = { inheritedPoints: { prependix: "", content: "{team} has {points} extra point(s)", appendix: "based on its results in the previous championship phase." }, penaltyPoints: { prependix: "* ", content: "{points} point(s) deducted from team {team}", appendix: "based on the decision of the Disciplinary Committee." } }, hn = { blank: "#", team: { short: "Team", tooltip: "Team name" }, game: { short: "GP", tooltip: "Game Played" }, wins: { short: "W", tooltip: "Wins" }, draw: { short: "D", tooltip: "Draw" }, otw: { short: "OTW", tooltip: "Overtime Wins" }, sow: { short: "SOW", tooltip: "Shoot Out Wins" }, sol: { short: "SOL", tooltip: "Shoot Out Losses" }, otl: { short: "OTL", tooltip: "Overtime Losses" }, losses: { short: "L", tooltip: "Losses" }, goalFor: { short: "GF", tooltip: "Goals For" }, goalAgainst: { short: "GA", tooltip: "Goals Against" }, goalDiff: { short: "GD", tooltip: "Goal Differential" }, points: { short: "P", tooltip: "Points" }, name: { short: "Name", tooltip: "Player name" }, goals: { short: "G", tooltip: "Goals" }, assists: { short: "A", tooltip: "Assists" }, plusMinus: { short: "+/-", tooltip: "Plus/Minus" }, sog: { short: "S", tooltip: "Shots on Goal" }, sogPercent: { short: "S%", tooltip: "Shooting percentage" }, gameName: { short: "#", tooltip: "Game name" }, gameDate: { short: "Date", tooltip: "Scheduled Date" }, gameDateTime: { short: "*Time ({offsetName})", tooltip: "Scheduled Time (Offset Name)" }, homeTeam: { short: "Home", tooltip: "Home Team" }, awayTeam: { short: "Away", tooltip: "Away Team" }, location: { short: "Location", tooltip: "Game Location" }, broadcast: { short: "Broadcast", tooltip: "Television Broadcast" }, minorPenalties: { short: "MINOR", tooltip: "Penalties Minor" }, majorPenalties: { short: "MAJOR", tooltip: "Penalties Major" }, misconducts: { short: "MISC", tooltip: "Penalties Misconduct" }, gameMisconducts: { short: "GA-MI", tooltip: "Penalties Game Misconduct" }, matchPenalties: { short: "MATCH", tooltip: "Penalties Match" }, pim: { short: "PIM", tooltip: "Penalty Minutes" }, pimPerGame: { short: "PIM/G", tooltip: "Penalty Minutes per Game" }, gpgk: { short: "GP", tooltip: "Games Played" }, gpi: { short: "GPI", tooltip: "Games Played In" }, toi: { short: "TOI", tooltip: "Time On Ice" }, toiPercent: { short: "TOI%", tooltip: "Time On Ice as Percentage" }, ga: { short: "GA", tooltip: "Goals Against" }, gaa: { short: "GAA", tooltip: "Goals Against Average" }, sa: { short: "SA", tooltip: "Shots Against" }, svs: { short: "SVS", tooltip: "Saves" }, svsPercent: { short: "SV%", tooltip: "Save Percentage" }, homeHeader: { short: "Home:", tooltip: "" }, awayHeader: { short: "Away:", tooltip: "" }, totalHeader: { short: "Total:", tooltip: "" }, homeGame: { short: "GP", tooltip: "Home Games Played" }, awayGame: { short: "GP", tooltip: "Away Games Played" }, totalGame: { short: "GP", tooltip: "Total Games Played" }, homeAttendance: { short: "Att", tooltip: "Home Attendance" }, awayAttendance: { short: "Att", tooltip: "Away Attendance" }, totalAttendance: { short: "Att", tooltip: "Total Attendance" }, homeAttendanceAvg: { short: "Avg", tooltip: "Home Average Attendance" }, awayAttendanceAvg: { short: "Avg", tooltip: "Away Average Attendance" }, totalAttendanceAvg: { short: "Avg", tooltip: "Total Average Attendance" }, powerplayDisadvantages: { short: "DVG", tooltip: "Disadvantages (Number of Times Shorthanded)" }, dvgTime: { short: "DVG-T", tooltip: "Disadvantages Time" }, dvgTimePP1: { short: "DVG-T PP1", tooltip: "Disadvantages Time (Period of PP1)" }, dvgTimePP2: { short: "DVG-T PP2", tooltip: "Disadvantages Time (Period of PP2)" }, ppga: { short: "PPGA", tooltip: "Powerplay Goals Against" }, shgf: { short: "SHGF", tooltip: "Shorthanded Goals For" }, pkPercent: { short: "PK%", tooltip: "Penalty Killing Percentage" }, adv: { short: "ADV", tooltip: "Advantages (Times on Powerplay)" }, advTime: { short: "ADV-T", tooltip: "Advantages Time (Period of Powerplay)" }, advTimePP1: { short: "ADV-T PP1", tooltip: "Advantages Time (Period of PP1)" }, advTimePP2: { short: "ADV-T PP2", tooltip: "Advantages Time (Period of PP2)" }, ppgf: { short: "PPGF", tooltip: "Powerplay Goals For" }, shga: { short: "SHGA", tooltip: "Shorthanded Goals Against" }, ppPercent: { short: "PP%", tooltip: "Powerplay Percentage" }, gfgp: { short: "GF/GP", tooltip: "Szerzett gólátlag" }, gagp: { short: "GA/GP", tooltip: "Kapott gólátlag" }, sogp: { short: "Shots/GP", tooltip: "Átlagos lövésszám" }, sagp: { short: "SA/GP", tooltip: "Shots Against per Game" }, jerseyNumber: { short: "#", tooltip: "Jersey Number" }, row: { short: "Row", tooltip: "Row" }, position: { short: "Position", tooltip: "Position" }, teamOfficials: { short: "Team officials", tooltip: "Team officials" }, score: { short: "Score", tooltip: "Actual Game Score" }, opponent: { short: "Opponent", tooltip: "Opponent" }, result: { short: "Result", tooltip: "Result" }, resultType: { short: "#", tooltip: "Result Type" }, atoi: { short: "ATOI", tooltip: "Average Time On Ice" }, shf: { short: "SHF", tooltip: "Shifts" }, ashf: { short: "ASHF", tooltip: "Average Shifts" }, eqToi: { short: "EQ-TOI", tooltip: "Time On Ice in Equal" }, pp1Toi: { short: "PP1-TOI", tooltip: "Time On Ice in PowerPlay 1" }, pp2Toi: { short: "PP2-TOI", tooltip: "Time On Ice in PowerPlay 2" }, sh1Toi: { short: "SH1-TOI", tooltip: "Time On Ice in Shorthanded 1" }, sh2Toi: { short: "SH2-TOI", tooltip: "Time On Ice in Shorthanded 2" }, eqAToi: { short: "EQ-A-TOI", tooltip: "Average Time On Ice in Equal" }, pp1AToi: { short: "PP1-A-TOI", tooltip: "Average Time On Ice in PowerPlay 1" }, pp2AToi: { short: "PP2-A-TOI", tooltip: "Average Time On Ice in PowerPlay 2" }, sh1AToi: { short: "SH1-A-TOI", tooltip: "Average Time On Ice in Shorthanded 1" }, sh2AToi: { short: "SH2-A-TOI", tooltip: "Average Time On Ice in Shorthanded 2" }, role: { short: "Role", tooltip: "Role" } }, gn = { data: { localTime: "Game local time" }, status: { jury: "Jury result", delayed: "Game delayed" }, period: { wu: "Preparation", pre: "Preparation Ended", p1: "First Period", p1_int: "First Period Ended", p2: "Second Period", p2_int: "Second Period Ended", p3: "Third Period", p3_int: "Third Period Ended", p4: "Fourth Period", p4_int: "Fourth Period Ended", p5: "Fifth Period", p5_int: "Fifth Period Ended", p6: "Sixth Period", p6_int: "Sixth Period Ended", ot: "Overtime", ot_int: "Overtime Ended", so: "Shoot Out", so_int: "Shoot Out Ended", end: "Game Ended", Bemelegítés: "Warm-up", "Bemelegítés vége": "Warm-up End", "1. harmad": "First period", "1. harmad vége": "First period End", "2. harmad": "Second period", "2. harmad vége": "Second period End", "3. harmad": "Third period", "3. harmad vége": "Third period End", "4. harmad": "IV. period", "4. harmad vége": "IV. period End", "5. harmad": "V. period", "5. harmad vége": "V. period End", "6. harmad": "VI. period", "6. harmad vége": "VI. period End", Hosszabbítás: "Overtime", "Hosszabbítás vége": "Overtime End", Büntetőlövések: "Penalty Shot", Végeredmény: "Game Completed", Szétlövés: "Shoot Out" } }, yn = {
1547
+ errors: mn,
1548
+ common: fn,
1549
+ additionalText: pn,
1550
+ table: hn,
1551
+ game: gn
1552
+ }, vn = { "undefined-column": "A(z) {column} oszlop nem létezik!", "invalid-season-name": "Érvénytelen szezon név", "api-key-not-found": "API Kulcs nem megfelelő" }, wn = { loading: "Töltődés...", noData: "Nincs megjeleníthető adat", selectTimezone: "*Minden időpont a számítógép időzónája szerint jelenik meg ({timezone}). Váltás: ", hungary: "Magyarország", romania: "Románia", shootoutShort: "SO", overtimeShort: "OT", all: "Mind", report: "Jegyzőkönyv", video: "Videó" }, bn = { inheritedPoints: { prependix: "A megelőző bajnokság szakaszban elért eredménye alapján", content: "{team} csapata {points}", appendix: "többletponttal rendelkezik." }, penaltyPoints: { prependix: "* Fegyelmi Bizottság döntése alapján:", content: "{team} csapatától {points} pont", appendix: "levonva." } }, Tn = { blank: "#", team: { short: "Csapat", tooltip: "Csapatnév" }, game: { short: "GP", tooltip: "Mérkőzésszám" }, wins: { short: "W", tooltip: "Győzelem" }, draw: { short: "D", tooltip: "Döntetlen" }, otw: { short: "OTW", tooltip: "Győzelem Hosszabbításban" }, sow: { short: "SOW", tooltip: "Győzelem Szétlövésben" }, sol: { short: "SOL", tooltip: "Vereség Szétlövésben" }, otl: { short: "OTL", tooltip: "Vereség Hosszabbításban" }, losses: { short: "L", tooltip: "Vereség" }, goalFor: { short: "GF", tooltip: "Szerzett Gól" }, goalAgainst: { short: "GA", tooltip: "Kapott Gól" }, goalDiff: { short: "GD", tooltip: "Gólkülönbség" }, name: { short: "Név", tooltip: "Játékosnév" }, goals: { short: "G", tooltip: "Gólok" }, assists: { short: "A", tooltip: "Gólpasszok" }, points: { short: "P", tooltip: "Pontok" }, plusMinus: { short: "+/-", tooltip: "Plussz/Minusz" }, sog: { short: "S", tooltip: "Lövések" }, sogPercent: { short: "S%", tooltip: "Lövés Hatékonyság" }, gameName: { short: "#", tooltip: "Mérkőzés Sorszáma" }, gameDate: { short: "Dátum", tooltip: "Mérkőzés Dátuma" }, gameDateTime: { short: "*Idő ({offsetName})", tooltip: "Mérkőzés kezdési ideje (Zóna neve)" }, homeTeam: { short: "Hazai", tooltip: "Hazai Csapat" }, awayTeam: { short: "Vendég", tooltip: "Vendég Csapat" }, location: { short: "Helyszín", tooltip: "Mérkőzés Helyszíne" }, broadcast: { short: "TV", tooltip: "TV Közvetítés" }, minorPenalties: { short: "MINOR", tooltip: "Kisbüntetés (2p)" }, majorPenalties: { short: "MAJOR", tooltip: "Büntetés (5p)" }, misconducts: { short: "MISC", tooltip: "Fegyelmi büntetés (10p)" }, gameMisconducts: { short: "GA-MI", tooltip: "Fegyelmi büntetés (20p)" }, matchPenalties: { short: "MATCH", tooltip: "Végleges kiállítások (25p)" }, pim: { short: "BÜP", tooltip: "Büntetés Percek" }, pimPerGame: { short: "BÜP/M", tooltip: "Mérkőzésenkénti Büntetés Percek" }, gpgk: { short: "GP", tooltip: "Mérkőzésre Nevezve" }, gpi: { short: "GPI", tooltip: "Mérkőzésen Játszott" }, toi: { short: "TOI", tooltip: "Jégen Töltött Idő" }, toiPercent: { short: "TOI%", tooltip: "Jégen Töltött Idő Százalék" }, ga: { short: "GA", tooltip: "Kapott Gól" }, gaa: { short: "GAA", tooltip: "Kapott Gólátlag" }, sa: { short: "SA", tooltip: "Kapott Lövés" }, svs: { short: "SVS", tooltip: "Védett Lövés" }, svsPercent: { short: "VH%", tooltip: "Védés Hatékonyság" }, homeHeader: { short: "Hazai:", tooltip: "" }, awayHeader: { short: "Vendég:", tooltip: "" }, totalHeader: { short: "Összes:", tooltip: "" }, homeGame: { short: "M", tooltip: "Hazai Mérkőzés" }, awayGame: { short: "M", tooltip: "Vendég Mérkőzés" }, totalGame: { short: "M", tooltip: "Összes Mérkőzés" }, homeAttendance: { short: "Nézőszám", tooltip: "Hazai Néző" }, awayAttendance: { short: "Nézőszám", tooltip: "Vendég Néző" }, totalAttendance: { short: "Nézőszám", tooltip: "Összes Néző" }, homeAttendanceAvg: { short: "Átlag", tooltip: "Hazi Néző Átlag" }, awayAttendanceAvg: { short: "Átlag", tooltip: "Vendég Néző Átlag" }, totalAttendanceAvg: { short: "Átlag", tooltip: "Összes Néző Átlag" }, powerplayDisadvantages: { short: "DVG", tooltip: "Emberhátrányok" }, dvgTime: { short: "DVG-T", tooltip: "Emberhátrányban Töltött Idő" }, dvgTimePP1: { short: "DVG-T PP1", tooltip: "Szimpla emberhátrányban töltött idő" }, dvgTimePP2: { short: "DVG-T PP2", tooltip: "Kettős emberhátrányban töltött idő" }, ppga: { short: "PPGA", tooltip: "Emberhátrányban kapott gólok" }, shgf: { short: "SHGF", tooltip: "Emberhátrányban szerzett gól" }, pkPercent: { short: "PK%", tooltip: "Emberhátrány kivédekezés" }, adv: { short: "ADV", tooltip: "Emberelőnyök száma" }, advTime: { short: "ADV-T", tooltip: "Emberelőnyben töltött idő" }, advTimePP1: { short: "ADV-T PP1", tooltip: "Szimpla emberelőnyben töltött idő" }, advTimePP2: { short: "ADV-T PP2", tooltip: "Kettős emberelőnyben töltött idő" }, ppgf: { short: "PPGF", tooltip: "Emberelőnyben szerzett gólok" }, shga: { short: "SHGA", tooltip: "Emberelőnyben kapott gólok" }, ppPercent: { short: "PP%", tooltip: "Emberelőny kihasználás" }, gfgp: { short: "GF/GP", tooltip: "Szerzett gólátlag" }, gagp: { short: "GA/GP", tooltip: "Kapott gólátlag" }, sogp: { short: "Shots/GP", tooltip: "Átlagos lövésszám" }, sagp: { short: "SA/GP", tooltip: "Átlagos kapott lövésszám" }, jerseyNumber: { short: "#", tooltip: "Mezszám" }, row: { short: "Sor", tooltip: "Sor" }, position: { short: "Po", tooltip: "Poszt" }, teamOfficials: { short: "Hivatalos Személyek", tooltip: "Hivatalos Személyek" }, score: { short: "Eredmény", tooltip: "Aktuális eredmény" }, opponent: { short: "Ellenfél", tooltip: "Ellenfél" }, result: { short: "Eredmény", tooltip: "Végeredmény" }, resultType: { short: "#", tooltip: "Végeredmény típusa" }, atoi: { short: "ATOI", tooltip: "Átlagos jégen töltött idő" }, shf: { short: "SHF", tooltip: "Jégre lépések száma" }, ashf: { short: "ASHF", tooltip: "Jégre lépések száma átlagosan" }, eqToi: { short: "EQ-TOI", tooltip: "Jégen töltött idő azonos létszámban" }, pp1Toi: { short: "PP1-TOI", tooltip: "Jégen töltött idő egyszeres emberelőnyben" }, pp2Toi: { short: "PP2-TOI", tooltip: "Jégen töltött idő kétszeres emberelőnyben" }, sh1Toi: { short: "SH1-TOI", tooltip: "Jégen töltött idő egyszeres emberhátrányban" }, sh2Toi: { short: "SH2-TOI", tooltip: "Jégen töltött idő kétszeres emberhátrányban" }, eqAToi: { short: "EQ-A-TOI", tooltip: "Átlagos jégen töltött idő azonos létszámban" }, pp1AToi: { short: "PP1-A-TOI", tooltip: "Átlagos jégen töltött idő egyszeres emberelőnyben" }, pp2AToi: { short: "PP2-A-TOI", tooltip: "Átlagos jégen töltött idő kétszeres emberelőnyben" }, sh1AToi: { short: "SH1-A-TOI", tooltip: "Átlagos jégen töltött idő egyszeres emberhátrányban" }, sh2AToi: { short: "SH2-A-TOI", tooltip: "Átlagos jégen töltött idő kétszeres emberhátrányban" }, role: { short: "Szerep", tooltip: "Szerep" } }, xn = { data: { localTime: "Helyszín szerinti idő" }, status: { jury: "Versenybíróság", delayed: "Elhalasztva" }, period: { wu: "Bemelegítés", pre: "Bemelegítés vége", p1: "I. játékrész", p1_int: "I. játékrész vége", p2: "II. játékrész", p2_int: "II. játékrész vége", p3: "III. játékrész", p3_int: "III. játékrész vége", p4: "IV. játékrész", p4_int: "IV. játékrész vége", p5: "V. játékrész", p5_int: "V. játékrész vége", p6: "VI. játékrész", p6_int: "VI. játékrész vége", ot: "Hosszabbítás", ot_int: "Hosszabbítás vége", so: "Szétlövés", so_int: "Szétlövés vége", end: "Végeredmény", Bemelegítés: "Bemelegítés", "Bemelegítés vége": "Bemelegítés Vége", "1. harmad": "I. harmad", "1. harmad vége": "I. harmad Vége", "2. harmad": "II. harmad", "2. harmad vége": "II. harmad Vége", "3. harmad": "III. harmad", "3. harmad vége": "III. harmad Vége", "4. harmad": "IV. harmad", "4. harmad vége": "IV. harmad Vége", "5. harmad": "V. harmad", "5. harmad vége": "V. harmad Vége", "6. harmad": "VI. harmad", "6. harmad vége": "VI. harmad Vége", Hosszabbítás: "Hosszabbítás", "Hosszabbítás vége": "Hosszabbítás vége", Büntetők: "Szétlövés", "Büntetők vége": "Szétlövés vége", Végeredmény: "Végeredmény", Szétlövés: "Szétlövés" } }, Pn = {
1553
+ errors: vn,
1554
+ common: wn,
1555
+ additionalText: bn,
1556
+ table: Tn,
1557
+ game: xn
1558
+ }, kn = (t, e) => {
1510
1559
  const o = t.__vccOpts || t;
1511
1560
  for (const [n, r] of e)
1512
1561
  o[n] = r;
1513
1562
  return o;
1514
- }, Pn = ee({
1563
+ }, An = ee({
1515
1564
  props: {
1516
1565
  locale: {
1517
1566
  type: String,
@@ -1523,7 +1572,7 @@ const cn = { render: ln }, Ks = {
1523
1572
  }
1524
1573
  },
1525
1574
  setup(t) {
1526
- const e = ao({ hu: hn, en: Tn }, t.messages), { translate: o } = Ve({
1575
+ const e = io({ hu: Pn, en: yn }, t.messages), { translate: o } = Me({
1527
1576
  locale: _(() => t.locale),
1528
1577
  messages: e
1529
1578
  });
@@ -1532,10 +1581,10 @@ const cn = { render: ln }, Ks = {
1532
1581
  };
1533
1582
  }
1534
1583
  });
1535
- function kn(t, e, o, n, r, s) {
1536
- return N(t.$slots, "default", { t: t.translate });
1584
+ function Sn(t, e, o, n, r, s) {
1585
+ return L(t.$slots, "default", { t: t.translate });
1537
1586
  }
1538
- const Js = /* @__PURE__ */ xn(Pn, [["render", kn]]), An = ["src"], Sn = ["src", "title"], st = /* @__PURE__ */ Object.assign({
1587
+ const Us = /* @__PURE__ */ kn(An, [["render", Sn]]), zn = ["src"], On = ["src", "title"], st = /* @__PURE__ */ Object.assign({
1539
1588
  inheritAttrs: !1
1540
1589
  }, {
1541
1590
  __name: "Image",
@@ -1554,49 +1603,29 @@ const Js = /* @__PURE__ */ xn(Pn, [["render", kn]]), An = ["src"], Sn = ["src",
1554
1603
  }
1555
1604
  },
1556
1605
  setup(t) {
1557
- const e = t, { defaultSrc: o } = Lt(e), n = I({ src: e.src }), { error: r, isReady: s } = De(n, { resetOnExecute: !1, shallow: !1 });
1558
- return (i, c) => (v(), b(M, null, [
1559
- m(r) && m(o) ? (v(), b("img", {
1606
+ const e = t, { defaultSrc: o } = Nt(e), n = I({ src: e.src }), { error: r, isReady: s } = He(n, { resetOnExecute: !1, shallow: !1 });
1607
+ return (i, c) => (v(), w(D, null, [
1608
+ m(r) && m(o) ? (v(), w("img", {
1560
1609
  key: 0,
1561
1610
  src: m(o),
1562
- class: O(["is-loaded is-default", i.$attrs.class])
1563
- }, null, 10, An)) : S("", !0),
1564
- m(r) ? S("", !0) : (v(), b("img", {
1611
+ class: O(["is-loaded is-default", [i.$attrs.class]])
1612
+ }, null, 10, zn)) : S("", !0),
1613
+ m(r) ? S("", !0) : (v(), w("img", {
1565
1614
  key: 1,
1566
1615
  src: n.value.src,
1567
1616
  class: O([i.$attrs.class, { "is-loaded": m(s) }]),
1568
1617
  title: e.title,
1569
1618
  loading: "lazy"
1570
- }, null, 10, Sn))
1619
+ }, null, 10, On))
1571
1620
  ], 64));
1572
1621
  }
1573
- }), zn = { style: { "text-align": "center" } }, be = {
1622
+ }), _n = { style: { "text-align": "center" } }, be = {
1574
1623
  __name: "LoadingIndicator",
1575
1624
  setup(t) {
1576
1625
  const { t: e } = X();
1577
- return (o, n) => (v(), b("div", zn, x(m(e)("common.loading")), 1));
1626
+ return (o, n) => (v(), w("div", _n, x(m(e)("common.loading")), 1));
1578
1627
  }
1579
- };
1580
- function On({ currentPage: t, itemsPerPage: e = 20, totalItems: o, rangeLength: n = 5, update: r = Me }) {
1581
- const s = _(() => Math.ceil(m(o) / e)), i = _(() => {
1582
- const l = m(t) - 1, u = Array.from({ length: s.value }, (a, y) => y + 1), h = Math.floor(n / 2);
1583
- let p = Math.max(l - h, 0);
1584
- return p + n >= s.value && (p = Math.max(s.value - n, 0)), u.slice(p, p + n);
1585
- }), c = (l) => {
1586
- const u = m(t) + l;
1587
- d(u) && r(u);
1588
- }, f = (l) => {
1589
- d(l) && r(l);
1590
- }, d = (l) => l <= s.value && l > 0;
1591
- return {
1592
- page: t,
1593
- range: i,
1594
- pageCount: s,
1595
- goTo: f,
1596
- pageStep: c
1597
- };
1598
- }
1599
- const _n = {
1628
+ }, In = {
1600
1629
  xmlns: "http://www.w3.org/2000/svg",
1601
1630
  viewBox: "0 0 24 24",
1602
1631
  fill: "none",
@@ -1605,12 +1634,12 @@ const _n = {
1605
1634
  "stroke-linecap": "round",
1606
1635
  "stroke-linejoin": "round"
1607
1636
  };
1608
- function In(t, e) {
1609
- return v(), b("svg", _n, e[0] || (e[0] = [
1610
- w("polyline", { points: "15 18 9 12 15 6" }, null, -1)
1637
+ function $n(t, e) {
1638
+ return v(), w("svg", In, e[0] || (e[0] = [
1639
+ b("polyline", { points: "15 18 9 12 15 6" }, null, -1)
1611
1640
  ]));
1612
1641
  }
1613
- const $n = { render: In }, Cn = {
1642
+ const Cn = { render: $n }, Gn = {
1614
1643
  xmlns: "http://www.w3.org/2000/svg",
1615
1644
  viewBox: "0 0 24 24",
1616
1645
  fill: "none",
@@ -1619,18 +1648,18 @@ const $n = { render: In }, Cn = {
1619
1648
  "stroke-linecap": "round",
1620
1649
  "stroke-linejoin": "round"
1621
1650
  };
1622
- function Gn(t, e) {
1623
- return v(), b("svg", Cn, e[0] || (e[0] = [
1624
- w("polyline", { points: "9 18 15 12 9 6" }, null, -1)
1651
+ function En(t, e) {
1652
+ return v(), w("svg", Gn, e[0] || (e[0] = [
1653
+ b("polyline", { points: "9 18 15 12 9 6" }, null, -1)
1625
1654
  ]));
1626
1655
  }
1627
- const En = { render: Gn }, Rn = ["disabled"], Nn = ["disabled"], Ln = {
1656
+ const Rn = { render: En }, Ln = ["disabled"], Nn = ["disabled"], Vn = {
1628
1657
  key: 1,
1629
1658
  class: "is-disabled"
1630
- }, Vn = ["disabled", "onClick"], Dn = {
1659
+ }, Dn = ["disabled", "onClick"], Mn = {
1631
1660
  key: 2,
1632
1661
  class: "is-disabled"
1633
- }, Mn = ["disabled"], Hn = ["disabled"], Us = {
1662
+ }, Hn = ["disabled"], Bn = ["disabled"], Ys = {
1634
1663
  __name: "Paginator",
1635
1664
  props: {
1636
1665
  page: {
@@ -1662,341 +1691,73 @@ const En = { render: Gn }, Rn = ["disabled"], Nn = ["disabled"], Ln = {
1662
1691
  },
1663
1692
  emits: ["change"],
1664
1693
  setup(t, { emit: e }) {
1665
- const o = t, n = e, r = Y("paginator"), { page: s, pageCount: i, range: c, goTo: f, pageStep: d } = On({
1694
+ const o = t, n = e, r = Y("paginator"), { page: s, pageCount: i, range: c, goTo: f, pageStep: u } = ao({
1666
1695
  currentPage: _(() => o.page),
1667
1696
  totalItems: _(() => o.totalItems),
1668
1697
  itemsPerPage: o.itemsPerPage,
1669
1698
  rangeLength: o.rangeLength,
1670
1699
  update: (l) => n("change", l)
1671
1700
  });
1672
- return (l, u) => m(i) > 1 ? (v(), b("div", {
1701
+ return (l, d) => m(i) > 1 ? (v(), w("div", {
1673
1702
  key: 0,
1674
1703
  class: O(m(r))
1675
1704
  }, [
1676
- w("button", {
1705
+ b("button", {
1677
1706
  type: "button",
1678
1707
  disabled: m(s) === 1,
1679
- onClick: u[0] || (u[0] = (h) => m(d)(-1))
1708
+ onClick: d[0] || (d[0] = (h) => m(u)(-1))
1680
1709
  }, [
1681
- N(l.$slots, "prev", {}, () => [
1682
- G(m($n), { class: "icon paginator-left" })
1710
+ L(l.$slots, "prev", {}, () => [
1711
+ G(m(Cn), { class: "icon paginator-left" })
1683
1712
  ])
1684
- ], 8, Rn),
1685
- t.isCompact ? S("", !0) : (v(), b("button", {
1713
+ ], 8, Ln),
1714
+ t.isCompact ? S("", !0) : (v(), w("button", {
1686
1715
  key: 0,
1687
1716
  type: "button",
1688
1717
  disabled: m(s) === 1,
1689
- onClick: u[1] || (u[1] = (h) => m(f)(1))
1690
- }, "1", 8, Nn)),
1691
- t.isCompact ? S("", !0) : (v(), b("div", Ln, "...")),
1692
- (v(!0), b(M, null, tt(m(c), (h) => (v(), b("button", {
1693
- type: "button",
1718
+ onClick: d[1] || (d[1] = (h) => m(f)(1))
1719
+ }, " 1 ", 8, Nn)),
1720
+ t.isCompact ? S("", !0) : (v(), w("div", Vn, " ... ")),
1721
+ (v(!0), w(D, null, tt(m(c), (h) => (v(), w("button", {
1694
1722
  key: h,
1723
+ type: "button",
1695
1724
  class: O({ "is-active": h === m(s) }),
1696
1725
  disabled: h === m(s),
1697
1726
  onClick: (p) => m(f)(h)
1698
- }, x(h), 11, Vn))), 128)),
1699
- t.isCompact ? S("", !0) : (v(), b("div", Dn, u[4] || (u[4] = [
1700
- w("span", null, "...", -1)
1727
+ }, x(h), 11, Dn))), 128)),
1728
+ t.isCompact ? S("", !0) : (v(), w("div", Mn, d[4] || (d[4] = [
1729
+ b("span", null, "...", -1)
1701
1730
  ]))),
1702
- t.isCompact ? S("", !0) : (v(), b("button", {
1731
+ t.isCompact ? S("", !0) : (v(), w("button", {
1703
1732
  key: 3,
1704
1733
  type: "button",
1705
1734
  disabled: m(s) === m(i),
1706
- onClick: u[2] || (u[2] = (h) => m(f)(m(i)))
1707
- }, x(m(i)), 9, Mn)),
1708
- w("button", {
1735
+ onClick: d[2] || (d[2] = (h) => m(f)(m(i)))
1736
+ }, x(m(i)), 9, Hn)),
1737
+ b("button", {
1709
1738
  type: "button",
1710
1739
  disabled: m(s) === m(i),
1711
- onClick: u[3] || (u[3] = it((h) => m(d)(1), ["prevent"]))
1740
+ onClick: d[3] || (d[3] = it((h) => m(u)(1), ["prevent"]))
1712
1741
  }, [
1713
- N(l.$slots, "next", {}, () => [
1714
- G(m(En), { class: "icon paginator-left" })
1742
+ L(l.$slots, "next", {}, () => [
1743
+ G(m(Rn), { class: "icon paginator-left" })
1715
1744
  ])
1716
- ], 8, Hn)
1745
+ ], 8, Bn)
1717
1746
  ], 2)) : S("", !0);
1718
1747
  }
1719
1748
  }, Te = {
1720
1749
  __name: "ResponsiveTable",
1721
1750
  setup(t) {
1722
1751
  const e = I(null), o = Y("table-responsive");
1723
- return (n, r) => (v(), b("div", {
1752
+ return (n, r) => (v(), w("div", {
1724
1753
  ref_key: "el",
1725
1754
  ref: e,
1726
1755
  class: O(m(o))
1727
1756
  }, [
1728
- N(n.$slots, "default", { el: e.value })
1729
- ], 2));
1730
- }
1731
- }, Bn = ["onClick"], Ys = {
1732
- __name: "TimezoneSelector",
1733
- props: {
1734
- locale: {
1735
- type: String,
1736
- default: "hu"
1737
- },
1738
- currentZone: {
1739
- type: String,
1740
- required: !0
1741
- }
1742
- },
1743
- emits: ["change"],
1744
- setup(t, { emit: e }) {
1745
- const o = t, n = e, { t: r } = X(), s = Y("timezone-selector"), i = _(() => wt(/* @__PURE__ */ new Date(), null, o.locale)), c = We(), f = _(() => Array.from(qe.values()).map((l) => ({
1746
- ...l,
1747
- isActive: wt(/* @__PURE__ */ new Date(), o.currentZone, o.locale) === wt(/* @__PURE__ */ new Date(), l.timezone, o.locale),
1748
- zoneOffsetName: wt(/* @__PURE__ */ new Date(), l.timezone, o.locale)
1749
- }))), d = (l) => n("change", l);
1750
- return (l, u) => (v(), b("div", {
1751
- class: O(m(s))
1752
- }, [
1753
- G(m(He), {
1754
- path: "common.selectTimezone",
1755
- tag: "span"
1756
- }, {
1757
- timezone: P(() => [
1758
- w("a", {
1759
- href: "#",
1760
- onClick: u[0] || (u[0] = it((h) => d(m(c)), ["prevent"]))
1761
- }, x(i.value), 1)
1762
- ]),
1763
- _: 1
1764
- }),
1765
- (v(!0), b(M, null, tt(f.value, (h) => (v(), b("a", {
1766
- key: h.countryLabelKey,
1767
- href: "#",
1768
- class: O({ "is-active": h.isActive }),
1769
- onClick: it((p) => d(h.timezone), ["prevent"])
1770
- }, x(m(r)(`common.${h.countryLabelKey}`)) + " (" + x(h.zoneOffsetName) + ") ", 11, Bn))), 128))
1757
+ L(n.$slots, "default", { el: e.value })
1771
1758
  ], 2));
1772
1759
  }
1773
- }, Fn = { class: "is-portrait-image" }, jn = { class: "is-team-name-long" }, Wn = { key: 0 }, Kn = { class: "is-team-name-short" }, qn = { key: 0 }, Jn = { class: "is-team-name-long" }, Un = { class: "is-team-name-short" }, Yn = { class: "is-team-name-long" }, Zn = { class: "is-team-name-short" }, Xn = ["href"], Qn = { class: "is-team-name-long" }, ts = { class: "is-team-name-short" }, es = ["href"], os = {
1774
- key: 0,
1775
- class: "is-text-dark"
1776
- }, ns = ["href", "target"], ss = {
1777
- key: 0,
1778
- class: "label"
1779
- }, rs = {
1780
- key: 1,
1781
- class: "label"
1782
- }, is = {
1783
- key: 2,
1784
- class: "label"
1785
- }, Zs = {
1786
- __name: "StatisticsTable",
1787
- props: {
1788
- columns: {
1789
- type: Object,
1790
- required: !0
1791
- },
1792
- rows: {
1793
- type: Array,
1794
- default: () => []
1795
- },
1796
- isLoading: {
1797
- type: Boolean,
1798
- deafult: !1
1799
- },
1800
- hideColumns: {
1801
- type: String,
1802
- default: ""
1803
- },
1804
- sort: {
1805
- type: Object,
1806
- default: () => ({})
1807
- },
1808
- externalTeamResolver: {
1809
- type: Function,
1810
- required: !0
1811
- },
1812
- externalPlayerResolver: {
1813
- type: Function,
1814
- default: () => {
1815
- }
1816
- },
1817
- externalGameResolver: {
1818
- type: Function,
1819
- default: () => {
1820
- }
1821
- },
1822
- externalGameResolverTarget: {
1823
- type: String,
1824
- default: "_self"
1825
- },
1826
- isTeamLinked: {
1827
- type: Boolean,
1828
- default: !1
1829
- },
1830
- isPlayerLinked: {
1831
- type: Boolean,
1832
- default: !1
1833
- },
1834
- appendTo: {
1835
- type: [Object, String],
1836
- default: null
1837
- },
1838
- offsetName: {
1839
- type: String,
1840
- default: ""
1841
- }
1842
- },
1843
- emits: ["sort"],
1844
- setup(t, { emit: e }) {
1845
- const o = t, { columns: n, hideColumns: r } = Lt(o), s = e, { onError: i } = oe(), { t: c } = X(), { columns: f, error: d } = ne(
1846
- n,
1847
- r,
1848
- _(() => ({
1849
- offsetName: o.offsetName
1850
- }))
1851
- );
1852
- d.value && i(
1853
- new re(Tt.message, {
1854
- ...Tt.options,
1855
- cause: { column: d.value }
1856
- })
1857
- );
1858
- const l = (u) => s("sort", u);
1859
- return (u, h) => (v(), R(Te, null, {
1860
- default: P(({ el: p }) => [
1861
- G(we, {
1862
- columns: m(f),
1863
- sort: o.sort,
1864
- rows: o.rows,
1865
- "is-loading": t.isLoading,
1866
- "append-to": t.appendTo || p,
1867
- onSort: l
1868
- }, Ge({
1869
- "cell-index": P(({ row: a }) => [
1870
- w("span", {
1871
- class: O(a.indexClass)
1872
- }, x(a.index), 3)
1873
- ]),
1874
- "cell-playerPortrait": P(({ row: a }) => [
1875
- w("div", Fn, [
1876
- (v(), R(st, {
1877
- key: a.player.playerId,
1878
- src: a.player.picture,
1879
- "default-src": m(Je)
1880
- }, null, 8, ["src", "default-src"]))
1881
- ])
1882
- ]),
1883
- "cell-teamLogo": P(({ row: a }) => {
1884
- var y, g;
1885
- return [
1886
- (v(), R(st, {
1887
- class: "is-logo-image",
1888
- key: ((y = a.team) == null ? void 0 : y.id) ?? a.id,
1889
- src: (g = a.team) == null ? void 0 : g.logo
1890
- }, null, 8, ["src"]))
1891
- ];
1892
- }),
1893
- "cell-homeTeamLogo": P(({ row: a }) => {
1894
- var y, g;
1895
- return [
1896
- (v(), R(st, {
1897
- class: "is-logo-image is-right",
1898
- key: (y = a.homeTeam) == null ? void 0 : y.id,
1899
- src: (g = a.homeTeam) == null ? void 0 : g.logo
1900
- }, null, 8, ["src"]))
1901
- ];
1902
- }),
1903
- "cell-awayTeamLogo": P(({ row: a }) => {
1904
- var y, g;
1905
- return [
1906
- (v(), R(st, {
1907
- class: "is-logo-image is-right",
1908
- key: (y = a.awayTeam) == null ? void 0 : y.id,
1909
- src: (g = a.awayTeam) == null ? void 0 : g.logo
1910
- }, null, 8, ["src"]))
1911
- ];
1912
- }),
1913
- "cell-teamName": P(({ row: a }) => {
1914
- var y, g;
1915
- return [
1916
- w("span", jn, [
1917
- D(x((y = a.team) == null ? void 0 : y.longName) + " ", 1),
1918
- a.penaltyPoints ? (v(), b("span", Wn, h[0] || (h[0] = [
1919
- w("sup", null, "*", -1)
1920
- ]))) : S("", !0)
1921
- ]),
1922
- w("span", Kn, [
1923
- D(x((g = a.team) == null ? void 0 : g.shortName) + " ", 1),
1924
- a.penaltyPoints ? (v(), b("span", qn, h[1] || (h[1] = [
1925
- w("sup", null, "*", -1)
1926
- ]))) : S("", !0)
1927
- ])
1928
- ];
1929
- }),
1930
- "cell-homeTeamName": P(({ row: a }) => {
1931
- var y, g;
1932
- return [
1933
- w("span", Jn, x((y = a.homeTeam) == null ? void 0 : y.longName), 1),
1934
- w("span", Un, x((g = a.homeTeam) == null ? void 0 : g.shortName), 1)
1935
- ];
1936
- }),
1937
- "cell-awayTeamName": P(({ row: a }) => {
1938
- var y, g;
1939
- return [
1940
- w("span", Yn, x((y = a.awayTeam) == null ? void 0 : y.longName), 1),
1941
- w("span", Zn, x((g = a.awayTeam) == null ? void 0 : g.shortName), 1)
1942
- ];
1943
- }),
1944
- "cell-location": P(({ row: a }) => {
1945
- var y;
1946
- return [
1947
- D(x(((y = a.location) == null ? void 0 : y.locationName) ?? ""), 1)
1948
- ];
1949
- }),
1950
- "cell-gameResult": P(({ row: a }) => [
1951
- a.gameStatus === 0 ? (v(), b("span", os, "-:-")) : (v(), b("a", {
1952
- key: 1,
1953
- href: t.externalGameResolver(a),
1954
- target: t.externalGameResolverTarget,
1955
- class: O({ "is-text-dark": a.gameStatus !== 1, "is-text-accent": a.gameStatus === 1 })
1956
- }, x(a.homeTeamScore) + ":" + x(a.awayTeamScore), 11, ns))
1957
- ]),
1958
- "cell-gameResultType": P(({ row: a }) => [
1959
- a.isOvertime ? (v(), b("span", ss, x(m(c)("common.overtimeShort")), 1)) : S("", !0),
1960
- a.isShootout ? (v(), b("span", rs, x(m(c)("common.shootoutShort")), 1)) : S("", !0),
1961
- a.seriesStandings ? (v(), b("span", is, x(a.seriesStandings), 1)) : S("", !0)
1962
- ]),
1963
- loading: P(() => [
1964
- G(be)
1965
- ]),
1966
- _: 2
1967
- }, [
1968
- t.isTeamLinked ? {
1969
- name: "cell-teamName",
1970
- fn: P(({ row: a }) => {
1971
- var y, g;
1972
- return [
1973
- w("a", {
1974
- href: t.externalTeamResolver(a),
1975
- target: "_blank"
1976
- }, [
1977
- w("span", Qn, x((y = a.team) == null ? void 0 : y.longName), 1),
1978
- w("span", ts, x((g = a.team) == null ? void 0 : g.shortName), 1)
1979
- ], 8, Xn)
1980
- ];
1981
- }),
1982
- key: "0"
1983
- } : void 0,
1984
- t.isPlayerLinked ? {
1985
- name: "cell-name",
1986
- fn: P(({ row: a }) => [
1987
- w("a", {
1988
- href: t.externalPlayerResolver(a),
1989
- target: "_blank"
1990
- }, x(a.name), 9, es)
1991
- ]),
1992
- key: "1"
1993
- } : void 0
1994
- ]), 1032, ["columns", "sort", "rows", "is-loading", "append-to"])
1995
- ]),
1996
- _: 1
1997
- }));
1998
- }
1999
- }, as = {
1760
+ }, Fn = {
2000
1761
  xmlns: "http://www.w3.org/2000/svg",
2001
1762
  viewBox: "0 0 24 24",
2002
1763
  fill: "none",
@@ -2005,9 +1766,9 @@ const En = { render: Gn }, Rn = ["disabled"], Nn = ["disabled"], Ln = {
2005
1766
  "stroke-linecap": "round",
2006
1767
  "stroke-linejoin": "round"
2007
1768
  };
2008
- function ls(t, e) {
2009
- return v(), b("svg", as, e[0] || (e[0] = [
2010
- w("rect", {
1769
+ function jn(t, e) {
1770
+ return v(), w("svg", Fn, e[0] || (e[0] = [
1771
+ b("rect", {
2011
1772
  x: "2",
2012
1773
  y: "3",
2013
1774
  width: "20",
@@ -2015,13 +1776,13 @@ function ls(t, e) {
2015
1776
  rx: "2",
2016
1777
  ry: "2"
2017
1778
  }, null, -1),
2018
- w("line", {
1779
+ b("line", {
2019
1780
  x1: "8",
2020
1781
  y1: "21",
2021
1782
  x2: "16",
2022
1783
  y2: "21"
2023
1784
  }, null, -1),
2024
- w("line", {
1785
+ b("line", {
2025
1786
  x1: "12",
2026
1787
  y1: "17",
2027
1788
  x2: "12",
@@ -2029,7 +1790,7 @@ function ls(t, e) {
2029
1790
  }, null, -1)
2030
1791
  ]));
2031
1792
  }
2032
- const cs = { render: ls }, ds = {
1793
+ const Wn = { render: jn }, Kn = {
2033
1794
  xmlns: "http://www.w3.org/2000/svg",
2034
1795
  viewBox: "0 0 24 24",
2035
1796
  fill: "none",
@@ -2038,26 +1799,26 @@ const cs = { render: ls }, ds = {
2038
1799
  "stroke-linecap": "round",
2039
1800
  "stroke-linejoin": "round"
2040
1801
  };
2041
- function us(t, e) {
2042
- return v(), b("svg", ds, e[0] || (e[0] = [
2043
- w("circle", {
1802
+ function qn(t, e) {
1803
+ return v(), w("svg", Kn, e[0] || (e[0] = [
1804
+ b("circle", {
2044
1805
  cx: "12",
2045
1806
  cy: "12",
2046
1807
  r: "1"
2047
1808
  }, null, -1),
2048
- w("circle", {
1809
+ b("circle", {
2049
1810
  cx: "12",
2050
1811
  cy: "5",
2051
1812
  r: "1"
2052
1813
  }, null, -1),
2053
- w("circle", {
1814
+ b("circle", {
2054
1815
  cx: "12",
2055
1816
  cy: "19",
2056
1817
  r: "1"
2057
1818
  }, null, -1)
2058
1819
  ]));
2059
1820
  }
2060
- const ms = { render: us }, fs = {
1821
+ const Jn = { render: qn }, Un = {
2061
1822
  xmlns: "http://www.w3.org/2000/svg",
2062
1823
  viewBox: "0 0 24 24",
2063
1824
  fill: "none",
@@ -2066,10 +1827,10 @@ const ms = { render: us }, fs = {
2066
1827
  "stroke-linecap": "round",
2067
1828
  "stroke-linejoin": "round"
2068
1829
  };
2069
- function ps(t, e) {
2070
- return v(), b("svg", fs, e[0] || (e[0] = [
2071
- 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),
2072
- w("rect", {
1830
+ function Yn(t, e) {
1831
+ return v(), w("svg", Un, e[0] || (e[0] = [
1832
+ 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),
1833
+ b("rect", {
2073
1834
  x: "8",
2074
1835
  y: "2",
2075
1836
  width: "8",
@@ -2079,7 +1840,7 @@ function ps(t, e) {
2079
1840
  }, null, -1)
2080
1841
  ]));
2081
1842
  }
2082
- const hs = { render: ps }, gs = {
1843
+ const Zn = { render: Yn }, Xn = {
2083
1844
  xmlns: "http://www.w3.org/2000/svg",
2084
1845
  viewBox: "0 0 24 24",
2085
1846
  fill: "none",
@@ -2088,25 +1849,25 @@ const hs = { render: ps }, gs = {
2088
1849
  "stroke-linecap": "round",
2089
1850
  "stroke-linejoin": "round"
2090
1851
  };
2091
- function ys(t, e) {
2092
- return v(), b("svg", gs, e[0] || (e[0] = [
2093
- 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),
2094
- w("polygon", { points: "9.75 15.02 15.5 11.75 9.75 8.48 9.75 15.02" }, null, -1)
1852
+ function Qn(t, e) {
1853
+ return v(), w("svg", Xn, e[0] || (e[0] = [
1854
+ 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),
1855
+ b("polygon", { points: "9.75 15.02 15.5 11.75 9.75 8.48 9.75 15.02" }, null, -1)
2095
1856
  ]));
2096
1857
  }
2097
- const vs = { render: ys }, ws = { class: "is-team-name-long" }, bs = { class: "is-team-name-short" }, Ts = { class: "is-team-name-long" }, xs = { class: "is-team-name-short" }, Ps = {
1858
+ const ts = { render: Qn }, es = { class: "is-team-name-long" }, os = { class: "is-team-name-short" }, ns = { class: "is-team-name-long" }, ss = { class: "is-team-name-short" }, rs = {
2098
1859
  key: 0,
2099
1860
  class: "is-text-dark"
2100
- }, ks = ["href", "target"], As = {
1861
+ }, is = ["href", "target"], as = {
2101
1862
  key: 0,
2102
1863
  class: "label"
2103
- }, Ss = {
1864
+ }, ls = {
2104
1865
  key: 1,
2105
1866
  class: "label"
2106
- }, zs = {
1867
+ }, cs = {
2107
1868
  key: 2,
2108
1869
  class: "label"
2109
- }, Os = { key: 1 }, _s = ["onClick", "onFocus", "onBlur"], Is = { class: "is-dropdown-menu" }, $s = ["href", "target"], Cs = { key: 0 }, Gs = ["href"], Xs = {
1870
+ }, us = { key: 1 }, ds = ["onClick", "onFocus", "onBlur"], ms = { class: "is-dropdown-menu" }, fs = ["href", "target"], ps = { key: 0 }, hs = ["href"], Zs = {
2110
1871
  __name: "ScheduleTable",
2111
1872
  props: {
2112
1873
  rows: {
@@ -2136,7 +1897,7 @@ const vs = { render: ys }, ws = { class: "is-team-name-long" }, bs = { class: "i
2136
1897
  },
2137
1898
  setup(t) {
2138
1899
  const e = t, o = I(null), { onError: n } = oe(), { columns: r, error: s } = ne(
2139
- Ye,
1900
+ Ue,
2140
1901
  _(() => e.hideColumns),
2141
1902
  _(() => ({
2142
1903
  offsetName: e.offsetName
@@ -2155,104 +1916,104 @@ const vs = { render: ys }, ws = { class: "is-team-name-long" }, bs = { class: "i
2155
1916
  }
2156
1917
  );
2157
1918
  const { t: i } = X();
2158
- return (c, f) => (v(), b(M, null, [
1919
+ return (c, f) => (v(), w(D, null, [
2159
1920
  G(Te, null, {
2160
- default: P(({ el: d }) => [
1921
+ default: k(({ el: u }) => [
2161
1922
  G(we, {
2162
1923
  columns: m(r),
2163
1924
  rows: e.rows,
2164
1925
  "is-loading": t.isLoading,
2165
- "append-to": o.value || d
1926
+ "append-to": o.value || u
2166
1927
  }, {
2167
- "cell-homeTeamName": P(({ row: l }) => [
2168
- w("span", ws, x(l.homeTeam.longName), 1),
2169
- w("span", bs, x(l.homeTeam.shortName), 1)
1928
+ "cell-homeTeamName": k(({ row: l }) => [
1929
+ b("span", es, x(l.homeTeam.longName), 1),
1930
+ b("span", os, x(l.homeTeam.shortName), 1)
2170
1931
  ]),
2171
- "cell-awayTeamName": P(({ row: l }) => [
2172
- w("span", Ts, x(l.awayTeam.longName), 1),
2173
- w("span", xs, x(l.awayTeam.shortName), 1)
1932
+ "cell-awayTeamName": k(({ row: l }) => [
1933
+ b("span", ns, x(l.awayTeam.longName), 1),
1934
+ b("span", ss, x(l.awayTeam.shortName), 1)
2174
1935
  ]),
2175
- "cell-homeTeamLogo": P(({ row: l }) => [
1936
+ "cell-homeTeamLogo": k(({ row: l }) => [
2176
1937
  (v(), R(st, {
2177
- class: "is-logo-image is-right",
2178
1938
  key: l.homeTeam.id,
1939
+ class: "is-logo-image is-right",
2179
1940
  src: l.homeTeam.logo
2180
1941
  }, null, 8, ["src"]))
2181
1942
  ]),
2182
- "cell-awayTeamLogo": P(({ row: l }) => [
1943
+ "cell-awayTeamLogo": k(({ row: l }) => [
2183
1944
  (v(), R(st, {
2184
- class: "is-logo-image is-right",
2185
1945
  key: l.awayTeam.id,
1946
+ class: "is-logo-image is-right",
2186
1947
  src: l.awayTeam.logo
2187
1948
  }, null, 8, ["src"]))
2188
1949
  ]),
2189
- "cell-gameResult": P(({ row: l }) => [
2190
- l.gameStatus === 0 ? (v(), b("span", Ps, "-:-")) : (v(), b("a", {
1950
+ "cell-gameResult": k(({ row: l }) => [
1951
+ l.gameStatus === 0 ? (v(), w("span", rs, "-:-")) : (v(), w("a", {
2191
1952
  key: 1,
2192
1953
  href: t.externalGameResolver(l.gameId),
2193
1954
  target: t.externalGameResolverTarget,
2194
1955
  class: O({ "is-text-dark": l.gameStatus !== 1, "is-text-accent": l.gameStatus === 1 })
2195
- }, x(l.homeTeamScore) + ":" + x(l.awayTeamScore), 11, ks))
1956
+ }, x(l.homeTeamScore) + ":" + x(l.awayTeamScore), 11, is))
2196
1957
  ]),
2197
- "cell-gameResultType": P(({ row: l }) => [
2198
- l.isOvertime ? (v(), b("span", As, x(m(i)("common.overtimeShort")), 1)) : S("", !0),
2199
- l.isShootout ? (v(), b("span", Ss, x(m(i)("common.shootoutShort")), 1)) : S("", !0),
2200
- l.seriesStandings ? (v(), b("span", zs, x(l.seriesStandings), 1)) : S("", !0)
1958
+ "cell-gameResultType": k(({ row: l }) => [
1959
+ l.isOvertime ? (v(), w("span", as, x(m(i)("common.overtimeShort")), 1)) : S("", !0),
1960
+ l.isShootout ? (v(), w("span", ls, x(m(i)("common.shootoutShort")), 1)) : S("", !0),
1961
+ l.seriesStandings ? (v(), w("span", cs, x(l.seriesStandings), 1)) : S("", !0)
2201
1962
  ]),
2202
- "cell-broadcast": P(({ row: l }) => [
2203
- l.broadcast ? (v(), R(m(cs), { key: 0 })) : (v(), b("span", Os))
1963
+ "cell-broadcast": k(({ row: l }) => [
1964
+ l.broadcast ? (v(), R(m(Wn), { key: 0 })) : (v(), w("span", us))
2204
1965
  ]),
2205
- "cell-location": P(({ row: l }) => {
2206
- var u;
1966
+ "cell-location": k(({ row: l }) => {
1967
+ var d;
2207
1968
  return [
2208
- D(x(((u = l.location) == null ? void 0 : u.locationName) ?? ""), 1)
1969
+ M(x(((d = l.location) == null ? void 0 : d.locationName) ?? ""), 1)
2209
1970
  ];
2210
1971
  }),
2211
- "cell-more": P(({ row: l }) => [
1972
+ "cell-more": k(({ row: l }) => [
2212
1973
  G(ve, {
2213
1974
  offset: 2,
2214
1975
  placement: "left",
2215
1976
  theme: "content",
2216
- "append-to": d
1977
+ "append-to": u
2217
1978
  }, {
2218
- default: P(({ setRef: u, show: h, hide: p }) => [
2219
- w("button", {
2220
- ref: u,
1979
+ default: k(({ setRef: d, show: h, hide: p }) => [
1980
+ b("button", {
1981
+ ref: d,
2221
1982
  onClick: it(h, ["stop"]),
2222
1983
  onFocus: h,
2223
1984
  onBlur: p
2224
1985
  }, [
2225
- G(m(ms))
2226
- ], 40, _s)
1986
+ G(m(Jn))
1987
+ ], 40, ds)
2227
1988
  ]),
2228
- content: P(() => [
2229
- w("ul", Is, [
2230
- w("li", null, [
2231
- w("a", {
1989
+ content: k(() => [
1990
+ b("ul", ms, [
1991
+ b("li", null, [
1992
+ b("a", {
2232
1993
  href: t.externalGameResolver(l.gameId),
2233
1994
  class: "is-dropdown-item",
2234
1995
  target: t.externalGameResolverTarget
2235
1996
  }, [
2236
- G(m(hs), { width: "14" }),
2237
- D(" " + x(m(i)("common.report")), 1)
2238
- ], 8, $s)
1997
+ G(m(Zn), { width: "14" }),
1998
+ M(" " + x(m(i)("common.report")), 1)
1999
+ ], 8, fs)
2239
2000
  ]),
2240
- l.video ? (v(), b("li", Cs, [
2241
- w("a", {
2001
+ l.video ? (v(), w("li", ps, [
2002
+ b("a", {
2242
2003
  href: l.video,
2243
2004
  class: "is-dropdown-item",
2244
2005
  target: "_blank"
2245
2006
  }, [
2246
- G(m(vs), { width: "14" }),
2247
- D(" " + x(m(i)("common.video")), 1)
2248
- ], 8, Gs)
2007
+ G(m(ts), { width: "14" }),
2008
+ M(" " + x(m(i)("common.video")), 1)
2009
+ ], 8, hs)
2249
2010
  ])) : S("", !0)
2250
2011
  ])
2251
2012
  ]),
2252
2013
  _: 2
2253
2014
  }, 1032, ["append-to"])
2254
2015
  ]),
2255
- loading: P(() => [
2016
+ loading: k(() => [
2256
2017
  G(be)
2257
2018
  ]),
2258
2019
  _: 2
@@ -2260,13 +2021,13 @@ const vs = { render: ys }, ws = { class: "is-team-name-long" }, bs = { class: "i
2260
2021
  ]),
2261
2022
  _: 1
2262
2023
  }),
2263
- w("div", {
2024
+ b("div", {
2264
2025
  ref_key: "tooltipContainer",
2265
2026
  ref: o
2266
2027
  }, null, 512)
2267
2028
  ], 64));
2268
2029
  }
2269
- }, Es = { class: "g-row g-gap-normal is-mb-5" }, Rs = ["value"], Ns = { key: 0 }, Ls = ["onClick"], Qs = {
2030
+ }, gs = { class: "g-row g-gap-normal is-mb-5" }, ys = ["value"], vs = { key: 0 }, ws = ["onClick"], Xs = {
2270
2031
  __name: "SeasonSelector",
2271
2032
  props: {
2272
2033
  seasons: {
@@ -2303,74 +2064,315 @@ const vs = { render: ys }, ws = { class: "is-team-name-long" }, bs = { class: "i
2303
2064
  function i(c) {
2304
2065
  n("onChangeSection", c);
2305
2066
  }
2306
- return (c, f) => (v(), b(M, null, [
2307
- w("div", Es, [
2308
- w("div", null, [
2309
- w("label", {
2067
+ return (c, f) => (v(), w(D, null, [
2068
+ b("div", gs, [
2069
+ b("div", null, [
2070
+ b("label", {
2310
2071
  for: "season",
2311
2072
  class: O(m(Y)("label"))
2312
2073
  }, x(m(r)("selection.season")), 3),
2313
- G(so, {
2074
+ G(co, {
2314
2075
  id: "season",
2315
2076
  modelValue: s.value,
2316
- "onUpdate:modelValue": f[0] || (f[0] = (d) => s.value = d)
2077
+ "onUpdate:modelValue": f[0] || (f[0] = (u) => s.value = u)
2317
2078
  }, {
2318
- default: P(() => [
2319
- (v(!0), b(M, null, tt(t.seasons, (d) => (v(), b("option", {
2320
- key: d.championshipId,
2321
- value: d.championshipId
2322
- }, x(d.seasonName), 9, Rs))), 128))
2079
+ default: k(() => [
2080
+ (v(!0), w(D, null, tt(t.seasons, (u) => (v(), w("option", {
2081
+ key: u.championshipId,
2082
+ value: u.championshipId
2083
+ }, x(u.seasonName), 9, ys))), 128))
2323
2084
  ]),
2324
2085
  _: 1
2325
2086
  }, 8, ["modelValue"])
2326
2087
  ]),
2327
- N(c.$slots, "default")
2088
+ L(c.$slots, "default")
2328
2089
  ]),
2329
- t.isSectionSelectionDisabled ? S("", !0) : (v(), b("div", Ns, [
2330
- (v(!0), b(M, null, tt(t.sections, (d) => (v(), b("button", {
2331
- key: d.phaseId,
2332
- onClick: (l) => i(d),
2333
- class: O([m(Y)("tab-button"), { "is-active": d.sectionId === t.sectionId }])
2334
- }, x(d.sectionName), 11, Ls))), 128))
2090
+ t.isSectionSelectionDisabled ? S("", !0) : (v(), w("div", vs, [
2091
+ (v(!0), w(D, null, tt(t.sections, (u) => (v(), w("button", {
2092
+ key: u.phaseId,
2093
+ class: O([m(Y)("tab-button"), { "is-active": u.sectionId === t.sectionId }]),
2094
+ onClick: (l) => i(u)
2095
+ }, x(u.sectionName), 11, ws))), 128))
2335
2096
  ]))
2336
2097
  ], 64));
2337
2098
  }
2338
- }, Vs = ["textContent"], tr = {
2339
- __name: "AdditionalStandingsText",
2099
+ }, bs = { class: "is-portrait-image" }, Ts = ["href"], xs = { class: "is-team-name-long" }, Ps = { class: "is-team-name-short" }, ks = { class: "is-team-name-long" }, As = { key: 0 }, Ss = { class: "is-team-name-short" }, zs = { key: 0 }, Os = { class: "is-team-name-long" }, _s = { class: "is-team-name-short" }, Is = { class: "is-team-name-long" }, $s = { class: "is-team-name-short" }, Cs = ["href"], Gs = {
2100
+ key: 0,
2101
+ class: "is-text-dark"
2102
+ }, Es = ["href", "target"], Rs = {
2103
+ key: 0,
2104
+ class: "label"
2105
+ }, Ls = {
2106
+ key: 1,
2107
+ class: "label"
2108
+ }, Ns = {
2109
+ key: 2,
2110
+ class: "label"
2111
+ }, Qs = {
2112
+ __name: "StatisticsTable",
2340
2113
  props: {
2114
+ columns: {
2115
+ type: Object,
2116
+ required: !0
2117
+ },
2341
2118
  rows: {
2342
2119
  type: Array,
2343
2120
  default: () => []
2344
2121
  },
2345
- additionalKey: {
2122
+ isLoading: {
2123
+ type: Boolean,
2124
+ deafult: !1
2125
+ },
2126
+ hideColumns: {
2346
2127
  type: String,
2128
+ default: ""
2129
+ },
2130
+ sort: {
2131
+ type: Object,
2132
+ default: () => ({})
2133
+ },
2134
+ externalTeamResolver: {
2135
+ type: Function,
2347
2136
  required: !0
2137
+ },
2138
+ externalPlayerResolver: {
2139
+ type: Function,
2140
+ default: () => {
2141
+ }
2142
+ },
2143
+ externalGameResolver: {
2144
+ type: Function,
2145
+ default: () => {
2146
+ }
2147
+ },
2148
+ externalGameResolverTarget: {
2149
+ type: String,
2150
+ default: "_self"
2151
+ },
2152
+ isTeamLinked: {
2153
+ type: Boolean,
2154
+ default: !1
2155
+ },
2156
+ isPlayerLinked: {
2157
+ type: Boolean,
2158
+ default: !1
2159
+ },
2160
+ appendTo: {
2161
+ type: [Object, String],
2162
+ default: null
2163
+ },
2164
+ offsetName: {
2165
+ type: String,
2166
+ default: ""
2348
2167
  }
2349
2168
  },
2350
- setup(t) {
2351
- const e = t, o = Ee(e, "rows"), { t: n, locale: r } = X(), { isVisible: s, text: i } = Fe(o, e.additionalKey, n, r);
2352
- return (c, f) => m(s) ? (v(), b("div", {
2353
- key: 0,
2354
- class: "is-text-xs is-text-light is-mt-5 is-mb-5",
2355
- textContent: x(m(i))
2356
- }, null, 8, Vs)) : S("", !0);
2169
+ emits: ["sort"],
2170
+ setup(t, { emit: e }) {
2171
+ const o = t, n = e, { columns: r, hideColumns: s } = Nt(o), { onError: i } = oe(), { t: c } = X(), { columns: f, error: u } = ne(
2172
+ r,
2173
+ s,
2174
+ _(() => ({
2175
+ offsetName: o.offsetName
2176
+ }))
2177
+ );
2178
+ u.value && i(
2179
+ new re(Tt.message, {
2180
+ ...Tt.options,
2181
+ cause: { column: u.value }
2182
+ })
2183
+ );
2184
+ const l = (d) => n("sort", d);
2185
+ return (d, h) => (v(), R(Te, null, {
2186
+ default: k(({ el: p }) => [
2187
+ G(we, {
2188
+ columns: m(f),
2189
+ sort: o.sort,
2190
+ rows: o.rows,
2191
+ "is-loading": t.isLoading,
2192
+ "append-to": t.appendTo || p,
2193
+ onSort: l
2194
+ }, Ee({
2195
+ "cell-index": k(({ row: a }) => [
2196
+ b("span", {
2197
+ class: O(a.indexClass)
2198
+ }, x(a.index), 3)
2199
+ ]),
2200
+ "cell-playerPortrait": k(({ row: a }) => [
2201
+ b("div", bs, [
2202
+ (v(), R(st, {
2203
+ key: a.player.playerId,
2204
+ src: a.player.picture,
2205
+ "default-src": m(We)
2206
+ }, null, 8, ["src", "default-src"]))
2207
+ ])
2208
+ ]),
2209
+ "cell-teamLogo": k(({ row: a }) => {
2210
+ var y, g;
2211
+ return [
2212
+ (v(), R(st, {
2213
+ key: ((y = a.team) == null ? void 0 : y.id) ?? a.id,
2214
+ class: "is-logo-image",
2215
+ src: (g = a.team) == null ? void 0 : g.logo
2216
+ }, null, 8, ["src"]))
2217
+ ];
2218
+ }),
2219
+ "cell-homeTeamLogo": k(({ row: a }) => {
2220
+ var y, g;
2221
+ return [
2222
+ (v(), R(st, {
2223
+ key: (y = a.homeTeam) == null ? void 0 : y.id,
2224
+ class: "is-logo-image is-right",
2225
+ src: (g = a.homeTeam) == null ? void 0 : g.logo
2226
+ }, null, 8, ["src"]))
2227
+ ];
2228
+ }),
2229
+ "cell-awayTeamLogo": k(({ row: a }) => {
2230
+ var y, g;
2231
+ return [
2232
+ (v(), R(st, {
2233
+ key: (y = a.awayTeam) == null ? void 0 : y.id,
2234
+ class: "is-logo-image is-right",
2235
+ src: (g = a.awayTeam) == null ? void 0 : g.logo
2236
+ }, null, 8, ["src"]))
2237
+ ];
2238
+ }),
2239
+ "cell-teamName": k(({ row: a }) => {
2240
+ var y, g, T, P;
2241
+ return [
2242
+ t.isTeamLinked ? (v(), w("a", {
2243
+ key: 0,
2244
+ href: t.externalTeamResolver(a),
2245
+ target: "_blank"
2246
+ }, [
2247
+ b("span", xs, x((y = a.team) == null ? void 0 : y.longName), 1),
2248
+ b("span", Ps, x((g = a.team) == null ? void 0 : g.shortName), 1)
2249
+ ], 8, Ts)) : (v(), w(D, { key: 1 }, [
2250
+ b("span", ks, [
2251
+ M(x((T = a.team) == null ? void 0 : T.longName) + " ", 1),
2252
+ a.penaltyPoints ? (v(), w("span", As, h[0] || (h[0] = [
2253
+ b("sup", null, "*", -1)
2254
+ ]))) : S("", !0)
2255
+ ]),
2256
+ b("span", Ss, [
2257
+ M(x((P = a.team) == null ? void 0 : P.shortName) + " ", 1),
2258
+ a.penaltyPoints ? (v(), w("span", zs, h[1] || (h[1] = [
2259
+ b("sup", null, "*", -1)
2260
+ ]))) : S("", !0)
2261
+ ])
2262
+ ], 64))
2263
+ ];
2264
+ }),
2265
+ "cell-homeTeamName": k(({ row: a }) => {
2266
+ var y, g;
2267
+ return [
2268
+ b("span", Os, x((y = a.homeTeam) == null ? void 0 : y.longName), 1),
2269
+ b("span", _s, x((g = a.homeTeam) == null ? void 0 : g.shortName), 1)
2270
+ ];
2271
+ }),
2272
+ "cell-awayTeamName": k(({ row: a }) => {
2273
+ var y, g;
2274
+ return [
2275
+ b("span", Is, x((y = a.awayTeam) == null ? void 0 : y.longName), 1),
2276
+ b("span", $s, x((g = a.awayTeam) == null ? void 0 : g.shortName), 1)
2277
+ ];
2278
+ }),
2279
+ "cell-location": k(({ row: a }) => {
2280
+ var y;
2281
+ return [
2282
+ M(x(((y = a.location) == null ? void 0 : y.locationName) ?? ""), 1)
2283
+ ];
2284
+ }),
2285
+ "cell-gameResult": k(({ row: a }) => [
2286
+ a.gameStatus === 0 ? (v(), w("span", Gs, "-:-")) : (v(), w("a", {
2287
+ key: 1,
2288
+ href: t.externalGameResolver(a),
2289
+ target: t.externalGameResolverTarget,
2290
+ class: O({ "is-text-dark": a.gameStatus !== 1, "is-text-accent": a.gameStatus === 1 })
2291
+ }, x(a.homeTeamScore) + ":" + x(a.awayTeamScore), 11, Es))
2292
+ ]),
2293
+ "cell-gameResultType": k(({ row: a }) => [
2294
+ a.isOvertime ? (v(), w("span", Rs, x(m(c)("common.overtimeShort")), 1)) : S("", !0),
2295
+ a.isShootout ? (v(), w("span", Ls, x(m(c)("common.shootoutShort")), 1)) : S("", !0),
2296
+ a.seriesStandings ? (v(), w("span", Ns, x(a.seriesStandings), 1)) : S("", !0)
2297
+ ]),
2298
+ loading: k(() => [
2299
+ G(be)
2300
+ ]),
2301
+ _: 2
2302
+ }, [
2303
+ t.isPlayerLinked ? {
2304
+ name: "cell-name",
2305
+ fn: k(({ row: a }) => [
2306
+ b("a", {
2307
+ href: t.externalPlayerResolver(a),
2308
+ target: "_blank"
2309
+ }, x(a.name), 9, Cs)
2310
+ ]),
2311
+ key: "0"
2312
+ } : void 0
2313
+ ]), 1032, ["columns", "sort", "rows", "is-loading", "append-to"])
2314
+ ]),
2315
+ _: 1
2316
+ }));
2317
+ }
2318
+ }, Vs = ["onClick"], tr = {
2319
+ __name: "TimezoneSelector",
2320
+ props: {
2321
+ locale: {
2322
+ type: String,
2323
+ default: "hu"
2324
+ },
2325
+ currentZone: {
2326
+ type: String,
2327
+ required: !0
2328
+ }
2329
+ },
2330
+ emits: ["change"],
2331
+ setup(t, { emit: e }) {
2332
+ const o = t, n = e, { t: r } = X(), s = Y("timezone-selector"), i = _(() => wt(/* @__PURE__ */ new Date(), null, o.locale)), c = Je(), f = _(() => Array.from(Ke.values()).map((l) => ({
2333
+ ...l,
2334
+ isActive: wt(/* @__PURE__ */ new Date(), o.currentZone, o.locale) === wt(/* @__PURE__ */ new Date(), l.timezone, o.locale),
2335
+ zoneOffsetName: wt(/* @__PURE__ */ new Date(), l.timezone, o.locale)
2336
+ }))), u = (l) => n("change", l);
2337
+ return (l, d) => (v(), w("div", {
2338
+ class: O(m(s))
2339
+ }, [
2340
+ G(m(Fe), {
2341
+ path: "common.selectTimezone",
2342
+ tag: "span"
2343
+ }, {
2344
+ timezone: k(() => [
2345
+ b("a", {
2346
+ href: "#",
2347
+ onClick: d[0] || (d[0] = it((h) => u(m(c)), ["prevent"]))
2348
+ }, x(i.value), 1)
2349
+ ]),
2350
+ _: 1
2351
+ }),
2352
+ (v(!0), w(D, null, tt(f.value, (h) => (v(), w("a", {
2353
+ key: h.countryLabelKey,
2354
+ href: "#",
2355
+ class: O({ "is-active": h.isActive }),
2356
+ onClick: it((p) => u(h.timezone), ["prevent"])
2357
+ }, x(m(r)(`common.${h.countryLabelKey}`)) + " (" + x(h.zoneOffsetName) + ") ", 11, Vs))), 128))
2358
+ ], 2));
2357
2359
  }
2358
2360
  };
2359
2361
  export {
2360
- Js as I,
2361
- st as _,
2362
- Us as a,
2362
+ Us as I,
2363
+ Ks as _,
2364
+ co as a,
2363
2365
  we as b,
2364
- so as c,
2365
- Ks as d,
2366
- qs as e,
2367
- Xs as f,
2368
- ve as g,
2369
- Qs as h,
2370
- Zs as i,
2366
+ qs as c,
2367
+ Js as d,
2368
+ Ws as e,
2369
+ ve as f,
2370
+ st as g,
2371
+ be as h,
2372
+ Ys as i,
2371
2373
  Te as j,
2372
- be as k,
2373
- Ys as l,
2374
- Ws as m,
2374
+ Zs as k,
2375
+ Xs as l,
2376
+ Qs as m,
2375
2377
  tr as n
2376
2378
  };