@mjsz-vbr-elements/core 2.20.1 → 2.21.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{TimezoneSelector-BKF4HTHI.js → TimezoneSelector-C9LgL7ma.js} +326 -315
- package/dist/columns.js +1 -1
- package/dist/components.js +2 -2
- package/dist/composables.js +3 -3
- package/dist/constants.js +9 -8
- package/dist/datetime-K_d-hEsO.js +1 -1
- package/dist/{errors-DBdI9YRN.js → errors-CONPaUL0.js} +65 -59
- package/dist/index.iife.js +4 -4
- package/dist/index.iife.js.br +0 -0
- package/dist/index.iife.js.gz +0 -0
- package/dist/index.js +76 -74
- package/dist/{useSort-C4-l1qY2.js → useSort-Day5AwW-.js} +5 -4
- package/dist/utils.js +67 -63
- package/package.json +2 -2
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* name: @mjsz-vbr-elements/core
|
|
3
|
-
* version: v2.
|
|
3
|
+
* version: v2.21.0 - 11/03/2025, 21:56:12
|
|
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 O, ref as _, watch as It, getCurrentScope as we, onScopeDispose as be, unref as h, getCurrentInstance as Te, onMounted as xe, defineComponent as Xt, onUnmounted as Pe, h as ke, toRef as Se, openBlock as g, createElementBlock as v, toDisplayString as x, createCommentVNode as S, withDirectives as Ae, renderSlot as V, vModelSelect as ze, createElementVNode as b, isRef as Oe, Fragment as G, normalizeStyle as Bt, createVNode as C, Transition as _e, withCtx as k, normalizeClass as N, createTextVNode as M, toRefs as Rt, renderList as Q, createBlock as R, withKeys as Ft, withModifiers as
|
|
9
|
-
import { n as Ie, e as Z, u as Ce, o as Ge, f as Ee, b as Re, m as Ve, d as Le, h as De, c as Qt, a as te, w as Ne, i as Me } from "./useSort-
|
|
8
|
+
import { computed as O, ref as _, watch as It, getCurrentScope as we, onScopeDispose as be, unref as h, getCurrentInstance as Te, onMounted as xe, defineComponent as Xt, onUnmounted as Pe, h as ke, toRef as Se, openBlock as g, createElementBlock as v, toDisplayString as x, createCommentVNode as S, withDirectives as Ae, renderSlot as V, vModelSelect as ze, createElementVNode as b, isRef as Oe, Fragment as G, normalizeStyle as Bt, createVNode as C, Transition as _e, withCtx as k, normalizeClass as N, createTextVNode as M, toRefs as Rt, renderList as Q, createBlock as R, withKeys as Ft, withModifiers as rt, createSlots as $e } from "vue";
|
|
9
|
+
import { n as Ie, e as Z, u as Ce, o as Ge, f as Ee, b as Re, m as Ve, d as Le, h as De, c as Qt, a as te, w as Ne, i as Me } from "./useSort-Day5AwW-.js";
|
|
10
10
|
import { LAZY_LOADING_STATE_DELAY as He, SORT_STATE_ORIGINAL as zt, SORT_STATE_DESCEND as jt, SORT_STATE_ASCEND as Wt, DEFAULT_PORTRAIT_IMAGE_URL as Be, AVAILABLE_TIMEZONES_BY_COUNTRY as Fe } from "./constants.js";
|
|
11
11
|
import { o as yt, g as je } from "./datetime-K_d-hEsO.js";
|
|
12
12
|
import { COLUMNS_SCHEDULE as We } from "./columns.js";
|
|
13
|
-
import { m as Ke, W as ee, U as wt } from "./errors-
|
|
13
|
+
import { m as Ke, W as ee, U as wt } from "./errors-CONPaUL0.js";
|
|
14
14
|
function qe(t) {
|
|
15
15
|
return we() ? (be(t), !0) : !1;
|
|
16
16
|
}
|
|
@@ -41,10 +41,10 @@ function Qe(t, e, o = {}) {
|
|
|
41
41
|
const {
|
|
42
42
|
root: n,
|
|
43
43
|
rootMargin: s = "0px",
|
|
44
|
-
threshold:
|
|
45
|
-
window:
|
|
44
|
+
threshold: r = 0.1,
|
|
45
|
+
window: i = Ye,
|
|
46
46
|
immediate: c = !0
|
|
47
|
-
} = o, f = Xe(() =>
|
|
47
|
+
} = o, f = Xe(() => i && "IntersectionObserver" in i), d = O(() => {
|
|
48
48
|
const l = oe(t);
|
|
49
49
|
return (Array.isArray(l) ? l : [l]).map(_t).filter(Ue);
|
|
50
50
|
});
|
|
@@ -59,7 +59,7 @@ function Qe(t, e, o = {}) {
|
|
|
59
59
|
{
|
|
60
60
|
root: _t(y),
|
|
61
61
|
rootMargin: s,
|
|
62
|
-
threshold:
|
|
62
|
+
threshold: r
|
|
63
63
|
}
|
|
64
64
|
);
|
|
65
65
|
l.forEach((T) => T && p.observe(T)), a = () => {
|
|
@@ -82,15 +82,15 @@ function Qe(t, e, o = {}) {
|
|
|
82
82
|
stop: m
|
|
83
83
|
};
|
|
84
84
|
}
|
|
85
|
-
const
|
|
85
|
+
const js = Xt({
|
|
86
86
|
name: "FetchMoreObserver",
|
|
87
87
|
props: ["as", "options"],
|
|
88
88
|
emits: ["intersect"],
|
|
89
89
|
setup(t, { slots: e, emit: o }) {
|
|
90
90
|
const n = _(null), { stop: s } = Qe(
|
|
91
91
|
n,
|
|
92
|
-
([{ isIntersecting:
|
|
93
|
-
|
|
92
|
+
([{ isIntersecting: r }]) => {
|
|
93
|
+
r && o("intersect");
|
|
94
94
|
},
|
|
95
95
|
t.options
|
|
96
96
|
);
|
|
@@ -101,10 +101,10 @@ const Fs = Xt({
|
|
|
101
101
|
}
|
|
102
102
|
});
|
|
103
103
|
function to({ currentPage: t, itemsPerPage: e = 20, totalItems: o, rangeLength: n = 5, update: s = Ie }) {
|
|
104
|
-
const
|
|
105
|
-
const a = h(t) - 1, u = Array.from({ length:
|
|
104
|
+
const r = O(() => Math.ceil(h(o) / e)), i = O(() => {
|
|
105
|
+
const a = h(t) - 1, u = Array.from({ length: r.value }, (l, y) => y + 1), w = Math.floor(n / 2);
|
|
106
106
|
let m = Math.max(a - w, 0);
|
|
107
|
-
return m + n >=
|
|
107
|
+
return m + n >= r.value && (m = Math.max(r.value - n, 0)), u.slice(m, m + n);
|
|
108
108
|
}), c = (a) => {
|
|
109
109
|
const u = h(t) + a;
|
|
110
110
|
d(u) && s(u);
|
|
@@ -112,17 +112,17 @@ function to({ currentPage: t, itemsPerPage: e = 20, totalItems: o, rangeLength:
|
|
|
112
112
|
d(a) && s(a);
|
|
113
113
|
};
|
|
114
114
|
function d(a) {
|
|
115
|
-
return a <=
|
|
115
|
+
return a <= r.value && a > 0;
|
|
116
116
|
}
|
|
117
117
|
return {
|
|
118
118
|
page: t,
|
|
119
|
-
range:
|
|
120
|
-
pageCount:
|
|
119
|
+
range: i,
|
|
120
|
+
pageCount: r,
|
|
121
121
|
goTo: f,
|
|
122
122
|
pageStep: c
|
|
123
123
|
};
|
|
124
124
|
}
|
|
125
|
-
const eo = ["textContent"],
|
|
125
|
+
const eo = ["textContent"], Ws = {
|
|
126
126
|
__name: "AdditionalStandingsText",
|
|
127
127
|
props: {
|
|
128
128
|
rows: {
|
|
@@ -135,11 +135,11 @@ const eo = ["textContent"], js = {
|
|
|
135
135
|
}
|
|
136
136
|
},
|
|
137
137
|
setup(t) {
|
|
138
|
-
const e = t, o = Se(e, "rows"), { t: n, locale: s } = Z(), { isVisible:
|
|
139
|
-
return (c, f) => h(
|
|
138
|
+
const e = t, o = Se(e, "rows"), { t: n, locale: s } = Z(), { isVisible: r, text: i } = Ce(o, e.additionalKey, n, s);
|
|
139
|
+
return (c, f) => h(r) ? (g(), v("div", {
|
|
140
140
|
key: 0,
|
|
141
141
|
class: "is-text-xs is-text-light is-mt-5 is-mb-5",
|
|
142
|
-
textContent: x(h(
|
|
142
|
+
textContent: x(h(i))
|
|
143
143
|
}, null, 8, eo)) : S("", !0);
|
|
144
144
|
}
|
|
145
145
|
}, oo = {
|
|
@@ -152,12 +152,12 @@ const eo = ["textContent"], js = {
|
|
|
152
152
|
},
|
|
153
153
|
emits: ["update:modelValue"],
|
|
154
154
|
setup(t, { emit: e }) {
|
|
155
|
-
const o = t, n = e, s = O({ get: () => o.modelValue, set: (
|
|
156
|
-
return (
|
|
157
|
-
"onUpdate:modelValue":
|
|
155
|
+
const o = t, n = e, s = O({ get: () => o.modelValue, set: (r) => n("update:modelValue", r) });
|
|
156
|
+
return (r, i) => Ae((g(), v("select", {
|
|
157
|
+
"onUpdate:modelValue": i[0] || (i[0] = (c) => s.value = c),
|
|
158
158
|
class: "base-input is-select"
|
|
159
159
|
}, [
|
|
160
|
-
V(
|
|
160
|
+
V(r.$slots, "default")
|
|
161
161
|
], 512)), [
|
|
162
162
|
[ze, s.value]
|
|
163
163
|
]);
|
|
@@ -180,7 +180,7 @@ function so(t, e) {
|
|
|
180
180
|
}, null, -1)
|
|
181
181
|
]));
|
|
182
182
|
}
|
|
183
|
-
const Kt = { render: so },
|
|
183
|
+
const Kt = { render: so }, ro = {
|
|
184
184
|
"aria-hidden": "true",
|
|
185
185
|
focusable: "false",
|
|
186
186
|
"data-prefix": "fas",
|
|
@@ -190,15 +190,15 @@ const Kt = { render: so }, io = {
|
|
|
190
190
|
xmlns: "http://www.w3.org/2000/svg",
|
|
191
191
|
viewBox: "0 0 320 512"
|
|
192
192
|
};
|
|
193
|
-
function
|
|
194
|
-
return g(), v("svg",
|
|
193
|
+
function io(t, e) {
|
|
194
|
+
return g(), v("svg", ro, e[0] || (e[0] = [
|
|
195
195
|
b("path", {
|
|
196
196
|
fill: "currentColor",
|
|
197
197
|
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"
|
|
198
198
|
}, null, -1)
|
|
199
199
|
]));
|
|
200
200
|
}
|
|
201
|
-
const ao = { render:
|
|
201
|
+
const ao = { render: io }, lo = {
|
|
202
202
|
"aria-hidden": "true",
|
|
203
203
|
focusable: "false",
|
|
204
204
|
"data-prefix": "fas",
|
|
@@ -216,7 +216,7 @@ function co(t, e) {
|
|
|
216
216
|
}, null, -1)
|
|
217
217
|
]));
|
|
218
218
|
}
|
|
219
|
-
const uo = { render: co },
|
|
219
|
+
const uo = { render: co }, it = Math.min, tt = Math.max, bt = Math.round, vt = Math.floor, K = (t) => ({
|
|
220
220
|
x: t,
|
|
221
221
|
y: t
|
|
222
222
|
}), mo = {
|
|
@@ -229,7 +229,7 @@ const uo = { render: co }, rt = Math.min, tt = Math.max, bt = Math.round, vt = M
|
|
|
229
229
|
end: "start"
|
|
230
230
|
};
|
|
231
231
|
function Ct(t, e, o) {
|
|
232
|
-
return tt(t,
|
|
232
|
+
return tt(t, it(e, o));
|
|
233
233
|
}
|
|
234
234
|
function pt(t, e) {
|
|
235
235
|
return typeof t == "function" ? t(e) : t;
|
|
@@ -254,9 +254,9 @@ function Lt(t) {
|
|
|
254
254
|
}
|
|
255
255
|
function po(t, e, o) {
|
|
256
256
|
o === void 0 && (o = !1);
|
|
257
|
-
const n = ht(t), s = Lt(t),
|
|
258
|
-
let
|
|
259
|
-
return e.reference[
|
|
257
|
+
const n = ht(t), s = Lt(t), r = Vt(s);
|
|
258
|
+
let i = s === "x" ? n === (o ? "end" : "start") ? "right" : "left" : n === "start" ? "bottom" : "top";
|
|
259
|
+
return e.reference[r] > e.floating[r] && (i = Tt(i)), [i, Tt(i)];
|
|
260
260
|
}
|
|
261
261
|
function ho(t) {
|
|
262
262
|
const e = Tt(t);
|
|
@@ -266,22 +266,22 @@ function Gt(t) {
|
|
|
266
266
|
return t.replace(/start|end/g, (e) => fo[e]);
|
|
267
267
|
}
|
|
268
268
|
function go(t, e, o) {
|
|
269
|
-
const n = ["left", "right"], s = ["right", "left"],
|
|
269
|
+
const n = ["left", "right"], s = ["right", "left"], r = ["top", "bottom"], i = ["bottom", "top"];
|
|
270
270
|
switch (t) {
|
|
271
271
|
case "top":
|
|
272
272
|
case "bottom":
|
|
273
273
|
return o ? e ? s : n : e ? n : s;
|
|
274
274
|
case "left":
|
|
275
275
|
case "right":
|
|
276
|
-
return e ?
|
|
276
|
+
return e ? r : i;
|
|
277
277
|
default:
|
|
278
278
|
return [];
|
|
279
279
|
}
|
|
280
280
|
}
|
|
281
281
|
function yo(t, e, o, n) {
|
|
282
282
|
const s = ht(t);
|
|
283
|
-
let
|
|
284
|
-
return s && (
|
|
283
|
+
let r = go(et(t), o === "start", n);
|
|
284
|
+
return s && (r = r.map((i) => i + "-" + s), e && (r = r.concat(r.map(Gt)))), r;
|
|
285
285
|
}
|
|
286
286
|
function Tt(t) {
|
|
287
287
|
return t.replace(/left|right|bottom|top/g, (e) => mo[e]);
|
|
@@ -326,7 +326,7 @@ function qt(t, e, o) {
|
|
|
326
326
|
reference: n,
|
|
327
327
|
floating: s
|
|
328
328
|
} = t;
|
|
329
|
-
const
|
|
329
|
+
const r = Pt(e), i = Lt(e), c = Vt(i), f = et(e), d = r === "y", a = n.x + n.width / 2 - s.width / 2, u = n.y + n.height / 2 - s.height / 2, w = n[c] / 2 - s[c] / 2;
|
|
330
330
|
let m;
|
|
331
331
|
switch (f) {
|
|
332
332
|
case "top":
|
|
@@ -361,10 +361,10 @@ function qt(t, e, o) {
|
|
|
361
361
|
}
|
|
362
362
|
switch (ht(e)) {
|
|
363
363
|
case "start":
|
|
364
|
-
m[
|
|
364
|
+
m[i] -= w * (o && d ? -1 : 1);
|
|
365
365
|
break;
|
|
366
366
|
case "end":
|
|
367
|
-
m[
|
|
367
|
+
m[i] += w * (o && d ? -1 : 1);
|
|
368
368
|
break;
|
|
369
369
|
}
|
|
370
370
|
return m;
|
|
@@ -373,10 +373,10 @@ const wo = async (t, e, o) => {
|
|
|
373
373
|
const {
|
|
374
374
|
placement: n = "bottom",
|
|
375
375
|
strategy: s = "absolute",
|
|
376
|
-
middleware:
|
|
377
|
-
platform:
|
|
378
|
-
} = o, c =
|
|
379
|
-
let d = await
|
|
376
|
+
middleware: r = [],
|
|
377
|
+
platform: i
|
|
378
|
+
} = o, c = r.filter(Boolean), f = await (i.isRTL == null ? void 0 : i.isRTL(e));
|
|
379
|
+
let d = await i.getElementRects({
|
|
380
380
|
reference: t,
|
|
381
381
|
floating: e,
|
|
382
382
|
strategy: s
|
|
@@ -401,7 +401,7 @@ const wo = async (t, e, o) => {
|
|
|
401
401
|
strategy: s,
|
|
402
402
|
middlewareData: m,
|
|
403
403
|
rects: d,
|
|
404
|
-
platform:
|
|
404
|
+
platform: i,
|
|
405
405
|
elements: {
|
|
406
406
|
reference: t,
|
|
407
407
|
floating: e
|
|
@@ -413,7 +413,7 @@ const wo = async (t, e, o) => {
|
|
|
413
413
|
...m[p],
|
|
414
414
|
...$
|
|
415
415
|
}
|
|
416
|
-
}, z && l <= 50 && (l++, typeof z == "object" && (z.placement && (w = z.placement), z.rects && (d = z.rects === !0 ? await
|
|
416
|
+
}, z && l <= 50 && (l++, typeof z == "object" && (z.placement && (w = z.placement), z.rects && (d = z.rects === !0 ? await i.getElementRects({
|
|
417
417
|
reference: t,
|
|
418
418
|
floating: e,
|
|
419
419
|
strategy: s
|
|
@@ -430,14 +430,14 @@ const wo = async (t, e, o) => {
|
|
|
430
430
|
middlewareData: m
|
|
431
431
|
};
|
|
432
432
|
};
|
|
433
|
-
async function
|
|
433
|
+
async function re(t, e) {
|
|
434
434
|
var o;
|
|
435
435
|
e === void 0 && (e = {});
|
|
436
436
|
const {
|
|
437
437
|
x: n,
|
|
438
438
|
y: s,
|
|
439
|
-
platform:
|
|
440
|
-
rects:
|
|
439
|
+
platform: r,
|
|
440
|
+
rects: i,
|
|
441
441
|
elements: c,
|
|
442
442
|
strategy: f
|
|
443
443
|
} = t, {
|
|
@@ -446,22 +446,22 @@ async function ie(t, e) {
|
|
|
446
446
|
elementContext: u = "floating",
|
|
447
447
|
altBoundary: w = !1,
|
|
448
448
|
padding: m = 0
|
|
449
|
-
} = pt(e, t), l = se(m), p = c[w ? u === "floating" ? "reference" : "floating" : u], T = xt(await
|
|
450
|
-
element: (o = await (
|
|
449
|
+
} = pt(e, t), l = se(m), p = c[w ? u === "floating" ? "reference" : "floating" : u], T = xt(await r.getClippingRect({
|
|
450
|
+
element: (o = await (r.isElement == null ? void 0 : r.isElement(p))) == null || o ? p : p.contextElement || await (r.getDocumentElement == null ? void 0 : r.getDocumentElement(c.floating)),
|
|
451
451
|
boundary: d,
|
|
452
452
|
rootBoundary: a,
|
|
453
453
|
strategy: f
|
|
454
454
|
})), P = u === "floating" ? {
|
|
455
|
-
...
|
|
455
|
+
...i.floating,
|
|
456
456
|
x: n,
|
|
457
457
|
y: s
|
|
458
|
-
} :
|
|
458
|
+
} : i.reference, A = await (r.getOffsetParent == null ? void 0 : r.getOffsetParent(c.floating)), $ = await (r.isElement == null ? void 0 : r.isElement(A)) ? await (r.getScale == null ? void 0 : r.getScale(A)) || {
|
|
459
459
|
x: 1,
|
|
460
460
|
y: 1
|
|
461
461
|
} : {
|
|
462
462
|
x: 1,
|
|
463
463
|
y: 1
|
|
464
|
-
}, z = xt(
|
|
464
|
+
}, z = xt(r.convertOffsetParentRelativeRectToViewportRelativeRect ? await r.convertOffsetParentRelativeRectToViewportRelativeRect({
|
|
465
465
|
elements: c,
|
|
466
466
|
rect: P,
|
|
467
467
|
offsetParent: A,
|
|
@@ -482,8 +482,8 @@ const bo = (t) => ({
|
|
|
482
482
|
x: o,
|
|
483
483
|
y: n,
|
|
484
484
|
placement: s,
|
|
485
|
-
rects:
|
|
486
|
-
platform:
|
|
485
|
+
rects: r,
|
|
486
|
+
platform: i,
|
|
487
487
|
elements: c,
|
|
488
488
|
middlewareData: f
|
|
489
489
|
} = e, {
|
|
@@ -495,10 +495,10 @@ const bo = (t) => ({
|
|
|
495
495
|
const u = se(a), w = {
|
|
496
496
|
x: o,
|
|
497
497
|
y: n
|
|
498
|
-
}, m = Lt(s), l = Vt(m), y = await
|
|
498
|
+
}, m = Lt(s), l = Vt(m), y = await i.getDimensions(d), p = m === "y", T = p ? "top" : "left", P = p ? "bottom" : "right", A = p ? "clientHeight" : "clientWidth", $ = r.reference[l] + r.reference[m] - w[m] - r.floating[l], z = w[m] - r.reference[m], F = await (i.getOffsetParent == null ? void 0 : i.getOffsetParent(d));
|
|
499
499
|
let I = F ? F[A] : 0;
|
|
500
|
-
(!I || !await (
|
|
501
|
-
const X = $ / 2 - z / 2, ct = I / 2 - y[l] / 2 - 1, dt =
|
|
500
|
+
(!I || !await (i.isElement == null ? void 0 : i.isElement(F))) && (I = c.floating[A] || r.floating[l]);
|
|
501
|
+
const X = $ / 2 - z / 2, ct = I / 2 - y[l] / 2 - 1, dt = it(u[T], ct), ut = it(u[P], ct), D = dt, mt = I - y[l] - ut, E = I / 2 - y[l] / 2 + X, j = Ct(D, E, mt), W = !f.arrow && ht(s) != null && E !== j && r.reference[l] / 2 - (E < D ? dt : ut) - y[l] / 2 < 0, U = W ? E < D ? E - D : E - mt : 0;
|
|
502
502
|
return {
|
|
503
503
|
[m]: w[m] + U,
|
|
504
504
|
data: {
|
|
@@ -519,8 +519,8 @@ const bo = (t) => ({
|
|
|
519
519
|
var o, n;
|
|
520
520
|
const {
|
|
521
521
|
placement: s,
|
|
522
|
-
middlewareData:
|
|
523
|
-
rects:
|
|
522
|
+
middlewareData: r,
|
|
523
|
+
rects: i,
|
|
524
524
|
initialPlacement: c,
|
|
525
525
|
platform: f,
|
|
526
526
|
elements: d
|
|
@@ -533,14 +533,14 @@ const bo = (t) => ({
|
|
|
533
533
|
flipAlignment: y = !0,
|
|
534
534
|
...p
|
|
535
535
|
} = pt(t, e);
|
|
536
|
-
if ((o =
|
|
536
|
+
if ((o = r.arrow) != null && o.alignmentOffset)
|
|
537
537
|
return {};
|
|
538
538
|
const T = et(s), P = et(c) === c, A = await (f.isRTL == null ? void 0 : f.isRTL(d.floating)), $ = w || (P || !y ? [Tt(c)] : ho(c));
|
|
539
539
|
!w && l !== "none" && $.push(...yo(c, y, l, A));
|
|
540
|
-
const z = [c, ...$], F = await
|
|
541
|
-
let X = ((n =
|
|
540
|
+
const z = [c, ...$], F = await re(e, p), I = [];
|
|
541
|
+
let X = ((n = r.flip) == null ? void 0 : n.overflows) || [];
|
|
542
542
|
if (a && I.push(F[T]), u) {
|
|
543
|
-
const D = po(s,
|
|
543
|
+
const D = po(s, i, A);
|
|
544
544
|
I.push(F[D[0]], F[D[1]]);
|
|
545
545
|
}
|
|
546
546
|
if (X = [...X, {
|
|
@@ -548,7 +548,7 @@ const bo = (t) => ({
|
|
|
548
548
|
overflows: I
|
|
549
549
|
}], !I.every((D) => D <= 0)) {
|
|
550
550
|
var ct, dt;
|
|
551
|
-
const D = (((ct =
|
|
551
|
+
const D = (((ct = r.flip) == null ? void 0 : ct.index) || 0) + 1, mt = z[D];
|
|
552
552
|
if (mt)
|
|
553
553
|
return {
|
|
554
554
|
data: {
|
|
@@ -588,7 +588,7 @@ async function xo(t, e) {
|
|
|
588
588
|
placement: o,
|
|
589
589
|
platform: n,
|
|
590
590
|
elements: s
|
|
591
|
-
} = t,
|
|
591
|
+
} = t, r = await (n.isRTL == null ? void 0 : n.isRTL(s.floating)), i = et(o), c = ht(o), f = Pt(o) === "y", d = ["left", "top"].includes(i) ? -1 : 1, a = r && f ? -1 : 1, u = pt(e, t);
|
|
592
592
|
let {
|
|
593
593
|
mainAxis: w,
|
|
594
594
|
crossAxis: m,
|
|
@@ -619,16 +619,16 @@ const Po = function(t) {
|
|
|
619
619
|
var o, n;
|
|
620
620
|
const {
|
|
621
621
|
x: s,
|
|
622
|
-
y:
|
|
623
|
-
placement:
|
|
622
|
+
y: r,
|
|
623
|
+
placement: i,
|
|
624
624
|
middlewareData: c
|
|
625
625
|
} = e, f = await xo(e, t);
|
|
626
|
-
return
|
|
626
|
+
return i === ((o = c.offset) == null ? void 0 : o.placement) && (n = c.arrow) != null && n.alignmentOffset ? {} : {
|
|
627
627
|
x: s + f.x,
|
|
628
|
-
y:
|
|
628
|
+
y: r + f.y,
|
|
629
629
|
data: {
|
|
630
630
|
...f,
|
|
631
|
-
placement:
|
|
631
|
+
placement: i
|
|
632
632
|
}
|
|
633
633
|
};
|
|
634
634
|
}
|
|
@@ -643,8 +643,8 @@ const Po = function(t) {
|
|
|
643
643
|
y: n,
|
|
644
644
|
placement: s
|
|
645
645
|
} = e, {
|
|
646
|
-
mainAxis:
|
|
647
|
-
crossAxis:
|
|
646
|
+
mainAxis: r = !0,
|
|
647
|
+
crossAxis: i = !1,
|
|
648
648
|
limiter: c = {
|
|
649
649
|
fn: (p) => {
|
|
650
650
|
let {
|
|
@@ -661,13 +661,13 @@ const Po = function(t) {
|
|
|
661
661
|
} = pt(t, e), d = {
|
|
662
662
|
x: o,
|
|
663
663
|
y: n
|
|
664
|
-
}, a = await
|
|
664
|
+
}, a = await re(e, f), u = Pt(et(s)), w = ne(u);
|
|
665
665
|
let m = d[w], l = d[u];
|
|
666
|
-
if (
|
|
666
|
+
if (r) {
|
|
667
667
|
const p = w === "y" ? "top" : "left", T = w === "y" ? "bottom" : "right", P = m + a[p], A = m - a[T];
|
|
668
668
|
m = Ct(P, m, A);
|
|
669
669
|
}
|
|
670
|
-
if (
|
|
670
|
+
if (i) {
|
|
671
671
|
const p = u === "y" ? "top" : "left", T = u === "y" ? "bottom" : "right", P = l + a[p], A = l - a[T];
|
|
672
672
|
l = Ct(P, l, A);
|
|
673
673
|
}
|
|
@@ -690,7 +690,7 @@ function kt() {
|
|
|
690
690
|
return typeof window < "u";
|
|
691
691
|
}
|
|
692
692
|
function lt(t) {
|
|
693
|
-
return
|
|
693
|
+
return ie(t) ? (t.nodeName || "").toLowerCase() : "#document";
|
|
694
694
|
}
|
|
695
695
|
function L(t) {
|
|
696
696
|
var e;
|
|
@@ -698,9 +698,9 @@ function L(t) {
|
|
|
698
698
|
}
|
|
699
699
|
function J(t) {
|
|
700
700
|
var e;
|
|
701
|
-
return (e = (
|
|
701
|
+
return (e = (ie(t) ? t.ownerDocument : t.document) || window.document) == null ? void 0 : e.documentElement;
|
|
702
702
|
}
|
|
703
|
-
function
|
|
703
|
+
function ie(t) {
|
|
704
704
|
return kt() ? t instanceof Node || t instanceof L(t).Node : !1;
|
|
705
705
|
}
|
|
706
706
|
function H(t) {
|
|
@@ -785,10 +785,10 @@ function ae(t) {
|
|
|
785
785
|
function ft(t, e, o) {
|
|
786
786
|
var n;
|
|
787
787
|
e === void 0 && (e = []), o === void 0 && (o = !0);
|
|
788
|
-
const s = ae(t),
|
|
789
|
-
if (
|
|
790
|
-
const c = Et(
|
|
791
|
-
return e.concat(
|
|
788
|
+
const s = ae(t), r = s === ((n = t.ownerDocument) == null ? void 0 : n.body), i = L(s);
|
|
789
|
+
if (r) {
|
|
790
|
+
const c = Et(i);
|
|
791
|
+
return e.concat(i, i.visualViewport || [], gt(s) ? s : [], c && o ? ft(c) : []);
|
|
792
792
|
}
|
|
793
793
|
return e.concat(s, ft(s, [], o));
|
|
794
794
|
}
|
|
@@ -798,8 +798,8 @@ function Et(t) {
|
|
|
798
798
|
function le(t) {
|
|
799
799
|
const e = B(t);
|
|
800
800
|
let o = parseFloat(e.width) || 0, n = parseFloat(e.height) || 0;
|
|
801
|
-
const s = q(t),
|
|
802
|
-
return c && (o =
|
|
801
|
+
const s = q(t), r = s ? t.offsetWidth : o, i = s ? t.offsetHeight : n, c = bt(o) !== r || bt(n) !== i;
|
|
802
|
+
return c && (o = r, n = i), {
|
|
803
803
|
width: o,
|
|
804
804
|
height: n,
|
|
805
805
|
$: c
|
|
@@ -815,11 +815,11 @@ function st(t) {
|
|
|
815
815
|
const o = e.getBoundingClientRect(), {
|
|
816
816
|
width: n,
|
|
817
817
|
height: s,
|
|
818
|
-
$:
|
|
818
|
+
$: r
|
|
819
819
|
} = le(e);
|
|
820
|
-
let
|
|
821
|
-
return (!
|
|
822
|
-
x:
|
|
820
|
+
let i = (r ? bt(o.width) : o.width) / n, c = (r ? bt(o.height) : o.height) / s;
|
|
821
|
+
return (!i || !Number.isFinite(i)) && (i = 1), (!c || !Number.isFinite(c)) && (c = 1), {
|
|
822
|
+
x: i,
|
|
823
823
|
y: c
|
|
824
824
|
};
|
|
825
825
|
}
|
|
@@ -836,13 +836,13 @@ function Oo(t, e, o) {
|
|
|
836
836
|
}
|
|
837
837
|
function ot(t, e, o, n) {
|
|
838
838
|
e === void 0 && (e = !1), o === void 0 && (o = !1);
|
|
839
|
-
const s = t.getBoundingClientRect(),
|
|
840
|
-
let
|
|
841
|
-
e && (n ? H(n) && (
|
|
842
|
-
const c = Oo(
|
|
843
|
-
let f = (s.left + c.x) /
|
|
844
|
-
if (
|
|
845
|
-
const w = L(
|
|
839
|
+
const s = t.getBoundingClientRect(), r = Mt(t);
|
|
840
|
+
let i = K(1);
|
|
841
|
+
e && (n ? H(n) && (i = st(n)) : i = st(t));
|
|
842
|
+
const c = Oo(r, o, n) ? ce(r) : K(0);
|
|
843
|
+
let f = (s.left + c.x) / i.x, d = (s.top + c.y) / i.y, a = s.width / i.x, u = s.height / i.y;
|
|
844
|
+
if (r) {
|
|
845
|
+
const w = L(r), m = n && H(n) ? L(n) : n;
|
|
846
846
|
let l = w, y = Et(l);
|
|
847
847
|
for (; y && n && m !== l; ) {
|
|
848
848
|
const p = st(y), T = y.getBoundingClientRect(), P = B(y), A = T.left + (y.clientLeft + parseFloat(P.paddingLeft)) * p.x, $ = T.top + (y.clientTop + parseFloat(P.paddingTop)) * p.y;
|
|
@@ -865,10 +865,10 @@ function de(t, e, o) {
|
|
|
865
865
|
const n = t.getBoundingClientRect(), s = n.left + e.scrollLeft - (o ? 0 : (
|
|
866
866
|
// RTL <body> scrollbar.
|
|
867
867
|
Ht(t, n)
|
|
868
|
-
)),
|
|
868
|
+
)), r = n.top + e.scrollTop;
|
|
869
869
|
return {
|
|
870
870
|
x: s,
|
|
871
|
-
y:
|
|
871
|
+
y: r
|
|
872
872
|
};
|
|
873
873
|
}
|
|
874
874
|
function _o(t) {
|
|
@@ -878,19 +878,19 @@ function _o(t) {
|
|
|
878
878
|
offsetParent: n,
|
|
879
879
|
strategy: s
|
|
880
880
|
} = t;
|
|
881
|
-
const
|
|
882
|
-
if (n ===
|
|
881
|
+
const r = s === "fixed", i = J(n), c = e ? St(e.floating) : !1;
|
|
882
|
+
if (n === i || c && r)
|
|
883
883
|
return o;
|
|
884
884
|
let f = {
|
|
885
885
|
scrollLeft: 0,
|
|
886
886
|
scrollTop: 0
|
|
887
887
|
}, d = K(1);
|
|
888
888
|
const a = K(0), u = q(n);
|
|
889
|
-
if ((u || !u && !
|
|
889
|
+
if ((u || !u && !r) && ((lt(n) !== "body" || gt(i)) && (f = At(n)), q(n))) {
|
|
890
890
|
const m = ot(n);
|
|
891
891
|
d = st(n), a.x = m.x + n.clientLeft, a.y = m.y + n.clientTop;
|
|
892
892
|
}
|
|
893
|
-
const w =
|
|
893
|
+
const w = i && !u && !r ? de(i, f, !0) : K(0);
|
|
894
894
|
return {
|
|
895
895
|
width: o.width * d.x,
|
|
896
896
|
height: o.height * d.y,
|
|
@@ -902,35 +902,35 @@ function $o(t) {
|
|
|
902
902
|
return Array.from(t.getClientRects());
|
|
903
903
|
}
|
|
904
904
|
function Io(t) {
|
|
905
|
-
const e = J(t), o = At(t), n = t.ownerDocument.body, s = tt(e.scrollWidth, e.clientWidth, n.scrollWidth, n.clientWidth),
|
|
906
|
-
let
|
|
905
|
+
const e = J(t), o = At(t), n = t.ownerDocument.body, s = tt(e.scrollWidth, e.clientWidth, n.scrollWidth, n.clientWidth), r = tt(e.scrollHeight, e.clientHeight, n.scrollHeight, n.clientHeight);
|
|
906
|
+
let i = -o.scrollLeft + Ht(t);
|
|
907
907
|
const c = -o.scrollTop;
|
|
908
|
-
return B(n).direction === "rtl" && (
|
|
908
|
+
return B(n).direction === "rtl" && (i += tt(e.clientWidth, n.clientWidth) - s), {
|
|
909
909
|
width: s,
|
|
910
|
-
height:
|
|
911
|
-
x:
|
|
910
|
+
height: r,
|
|
911
|
+
x: i,
|
|
912
912
|
y: c
|
|
913
913
|
};
|
|
914
914
|
}
|
|
915
915
|
function Co(t, e) {
|
|
916
916
|
const o = L(t), n = J(t), s = o.visualViewport;
|
|
917
|
-
let
|
|
917
|
+
let r = n.clientWidth, i = n.clientHeight, c = 0, f = 0;
|
|
918
918
|
if (s) {
|
|
919
|
-
|
|
919
|
+
r = s.width, i = s.height;
|
|
920
920
|
const d = Nt();
|
|
921
921
|
(!d || d && e === "fixed") && (c = s.offsetLeft, f = s.offsetTop);
|
|
922
922
|
}
|
|
923
923
|
return {
|
|
924
|
-
width:
|
|
925
|
-
height:
|
|
924
|
+
width: r,
|
|
925
|
+
height: i,
|
|
926
926
|
x: c,
|
|
927
927
|
y: f
|
|
928
928
|
};
|
|
929
929
|
}
|
|
930
930
|
function Go(t, e) {
|
|
931
|
-
const o = ot(t, !0, e === "fixed"), n = o.top + t.clientTop, s = o.left + t.clientLeft,
|
|
931
|
+
const o = ot(t, !0, e === "fixed"), n = o.top + t.clientTop, s = o.left + t.clientLeft, r = q(t) ? st(t) : K(1), i = t.clientWidth * r.x, c = t.clientHeight * r.y, f = s * r.x, d = n * r.y;
|
|
932
932
|
return {
|
|
933
|
-
width:
|
|
933
|
+
width: i,
|
|
934
934
|
height: c,
|
|
935
935
|
x: f,
|
|
936
936
|
y: d
|
|
@@ -964,11 +964,11 @@ function Eo(t, e) {
|
|
|
964
964
|
if (o)
|
|
965
965
|
return o;
|
|
966
966
|
let n = ft(t, [], !1).filter((c) => H(c) && lt(c) !== "body"), s = null;
|
|
967
|
-
const
|
|
968
|
-
let
|
|
969
|
-
for (; H(
|
|
970
|
-
const c = B(
|
|
971
|
-
!f && c.position === "fixed" && (s = null), (
|
|
967
|
+
const r = B(t).position === "fixed";
|
|
968
|
+
let i = r ? Y(t) : t;
|
|
969
|
+
for (; H(i) && !at(i); ) {
|
|
970
|
+
const c = B(i), f = Dt(i);
|
|
971
|
+
!f && c.position === "fixed" && (s = null), (r ? !f && !s : !f && c.position === "static" && !!s && ["absolute", "fixed"].includes(s.position) || gt(i) && !f && ue(t, i)) ? n = n.filter((a) => a !== i) : s = c, i = Y(i);
|
|
972
972
|
}
|
|
973
973
|
return e.set(t, n), n;
|
|
974
974
|
}
|
|
@@ -979,9 +979,9 @@ function Ro(t) {
|
|
|
979
979
|
rootBoundary: n,
|
|
980
980
|
strategy: s
|
|
981
981
|
} = t;
|
|
982
|
-
const
|
|
982
|
+
const i = [...o === "clippingAncestors" ? St(e) ? [] : Eo(e, this._c) : [].concat(o), n], c = i[0], f = i.reduce((d, a) => {
|
|
983
983
|
const u = Ut(e, a, s);
|
|
984
|
-
return d.top = tt(u.top, d.top), d.right =
|
|
984
|
+
return d.top = tt(u.top, d.top), d.right = it(u.right, d.right), d.bottom = it(u.bottom, d.bottom), d.left = tt(u.left, d.left), d;
|
|
985
985
|
}, Ut(e, c, s));
|
|
986
986
|
return {
|
|
987
987
|
width: f.right - f.left,
|
|
@@ -1001,23 +1001,23 @@ function Vo(t) {
|
|
|
1001
1001
|
};
|
|
1002
1002
|
}
|
|
1003
1003
|
function Lo(t, e, o) {
|
|
1004
|
-
const n = q(e), s = J(e),
|
|
1004
|
+
const n = q(e), s = J(e), r = o === "fixed", i = ot(t, !0, r, e);
|
|
1005
1005
|
let c = {
|
|
1006
1006
|
scrollLeft: 0,
|
|
1007
1007
|
scrollTop: 0
|
|
1008
1008
|
};
|
|
1009
1009
|
const f = K(0);
|
|
1010
|
-
if (n || !n && !
|
|
1010
|
+
if (n || !n && !r)
|
|
1011
1011
|
if ((lt(e) !== "body" || gt(s)) && (c = At(e)), n) {
|
|
1012
|
-
const w = ot(e, !0,
|
|
1012
|
+
const w = ot(e, !0, r, e);
|
|
1013
1013
|
f.x = w.x + e.clientLeft, f.y = w.y + e.clientTop;
|
|
1014
1014
|
} else s && (f.x = Ht(s));
|
|
1015
|
-
const d = s && !n && !
|
|
1015
|
+
const d = s && !n && !r ? de(s, c) : K(0), a = i.left + c.scrollLeft - f.x - d.x, u = i.top + c.scrollTop - f.y - d.y;
|
|
1016
1016
|
return {
|
|
1017
1017
|
x: a,
|
|
1018
1018
|
y: u,
|
|
1019
|
-
width:
|
|
1020
|
-
height:
|
|
1019
|
+
width: i.width,
|
|
1020
|
+
height: i.height
|
|
1021
1021
|
};
|
|
1022
1022
|
}
|
|
1023
1023
|
function $t(t) {
|
|
@@ -1082,12 +1082,12 @@ function fe(t, e) {
|
|
|
1082
1082
|
function Ho(t, e) {
|
|
1083
1083
|
let o = null, n;
|
|
1084
1084
|
const s = J(t);
|
|
1085
|
-
function
|
|
1085
|
+
function r() {
|
|
1086
1086
|
var c;
|
|
1087
1087
|
clearTimeout(n), (c = o) == null || c.disconnect(), o = null;
|
|
1088
1088
|
}
|
|
1089
|
-
function
|
|
1090
|
-
c === void 0 && (c = !1), f === void 0 && (f = 1),
|
|
1089
|
+
function i(c, f) {
|
|
1090
|
+
c === void 0 && (c = !1), f === void 0 && (f = 1), r();
|
|
1091
1091
|
const d = t.getBoundingClientRect(), {
|
|
1092
1092
|
left: a,
|
|
1093
1093
|
top: u,
|
|
@@ -1098,19 +1098,19 @@ function Ho(t, e) {
|
|
|
1098
1098
|
return;
|
|
1099
1099
|
const l = vt(u), y = vt(s.clientWidth - (a + w)), p = vt(s.clientHeight - (u + m)), T = vt(a), A = {
|
|
1100
1100
|
rootMargin: -l + "px " + -y + "px " + -p + "px " + -T + "px",
|
|
1101
|
-
threshold: tt(0,
|
|
1101
|
+
threshold: tt(0, it(1, f)) || 1
|
|
1102
1102
|
};
|
|
1103
1103
|
let $ = !0;
|
|
1104
1104
|
function z(F) {
|
|
1105
1105
|
const I = F[0].intersectionRatio;
|
|
1106
1106
|
if (I !== f) {
|
|
1107
1107
|
if (!$)
|
|
1108
|
-
return
|
|
1109
|
-
I ?
|
|
1110
|
-
|
|
1108
|
+
return i();
|
|
1109
|
+
I ? i(!1, I) : n = setTimeout(() => {
|
|
1110
|
+
i(!1, 1e-7);
|
|
1111
1111
|
}, 1e3);
|
|
1112
1112
|
}
|
|
1113
|
-
I === 1 && !fe(d, t.getBoundingClientRect()) &&
|
|
1113
|
+
I === 1 && !fe(d, t.getBoundingClientRect()) && i(), $ = !1;
|
|
1114
1114
|
}
|
|
1115
1115
|
try {
|
|
1116
1116
|
o = new IntersectionObserver(z, {
|
|
@@ -1123,25 +1123,25 @@ function Ho(t, e) {
|
|
|
1123
1123
|
}
|
|
1124
1124
|
o.observe(t);
|
|
1125
1125
|
}
|
|
1126
|
-
return
|
|
1126
|
+
return i(!0), r;
|
|
1127
1127
|
}
|
|
1128
1128
|
function Bo(t, e, o, n) {
|
|
1129
1129
|
n === void 0 && (n = {});
|
|
1130
1130
|
const {
|
|
1131
1131
|
ancestorScroll: s = !0,
|
|
1132
|
-
ancestorResize:
|
|
1133
|
-
elementResize:
|
|
1132
|
+
ancestorResize: r = !0,
|
|
1133
|
+
elementResize: i = typeof ResizeObserver == "function",
|
|
1134
1134
|
layoutShift: c = typeof IntersectionObserver == "function",
|
|
1135
1135
|
animationFrame: f = !1
|
|
1136
|
-
} = n, d = Mt(t), a = s ||
|
|
1136
|
+
} = n, d = Mt(t), a = s || r ? [...d ? ft(d) : [], ...ft(e)] : [];
|
|
1137
1137
|
a.forEach((T) => {
|
|
1138
1138
|
s && T.addEventListener("scroll", o, {
|
|
1139
1139
|
passive: !0
|
|
1140
|
-
}),
|
|
1140
|
+
}), r && T.addEventListener("resize", o);
|
|
1141
1141
|
});
|
|
1142
1142
|
const u = d && c ? Ho(d, o) : null;
|
|
1143
1143
|
let w = -1, m = null;
|
|
1144
|
-
|
|
1144
|
+
i && (m = new ResizeObserver((T) => {
|
|
1145
1145
|
let [P] = T;
|
|
1146
1146
|
P && P.target === d && m && (m.unobserve(e), cancelAnimationFrame(w), w = requestAnimationFrame(() => {
|
|
1147
1147
|
var A;
|
|
@@ -1157,7 +1157,7 @@ function Bo(t, e, o, n) {
|
|
|
1157
1157
|
return o(), () => {
|
|
1158
1158
|
var T;
|
|
1159
1159
|
a.forEach((P) => {
|
|
1160
|
-
s && P.removeEventListener("scroll", o),
|
|
1160
|
+
s && P.removeEventListener("scroll", o), r && P.removeEventListener("resize", o);
|
|
1161
1161
|
}), u == null || u(), (T = m) == null || T.disconnect(), m = null, f && cancelAnimationFrame(l);
|
|
1162
1162
|
};
|
|
1163
1163
|
}
|
|
@@ -1165,18 +1165,18 @@ const Fo = Po, jo = ko, Wo = To, Zt = bo, Ko = (t, e, o) => {
|
|
|
1165
1165
|
const n = /* @__PURE__ */ new Map(), s = {
|
|
1166
1166
|
platform: Mo,
|
|
1167
1167
|
...o
|
|
1168
|
-
},
|
|
1168
|
+
}, r = {
|
|
1169
1169
|
...s.platform,
|
|
1170
1170
|
_c: n
|
|
1171
1171
|
};
|
|
1172
1172
|
return wo(t, e, {
|
|
1173
1173
|
...s,
|
|
1174
|
-
platform:
|
|
1174
|
+
platform: r
|
|
1175
1175
|
});
|
|
1176
1176
|
};
|
|
1177
1177
|
function qo({ middleware: t, placement: e = null, strategy: o, append: n, enabled: s }) {
|
|
1178
|
-
const
|
|
1179
|
-
!
|
|
1178
|
+
const r = _(null), i = _(null), c = _(null), f = _(null), d = _(null), a = _(null), u = _(null), w = _(o ?? "absolute"), m = _(null), l = () => {
|
|
1179
|
+
!r.value || !i.value || Ko(r.value, i.value, {
|
|
1180
1180
|
middleware: t,
|
|
1181
1181
|
placement: e,
|
|
1182
1182
|
strategy: o
|
|
@@ -1186,8 +1186,8 @@ function qo({ middleware: t, placement: e = null, strategy: o, append: n, enable
|
|
|
1186
1186
|
};
|
|
1187
1187
|
It(
|
|
1188
1188
|
() => ({
|
|
1189
|
-
reference: h(
|
|
1190
|
-
floating: h(
|
|
1189
|
+
reference: h(r),
|
|
1190
|
+
floating: h(i),
|
|
1191
1191
|
append: h(n)
|
|
1192
1192
|
}),
|
|
1193
1193
|
({ floating: p, append: T }) => {
|
|
@@ -1197,10 +1197,10 @@ function qo({ middleware: t, placement: e = null, strategy: o, append: n, enable
|
|
|
1197
1197
|
), It(
|
|
1198
1198
|
s,
|
|
1199
1199
|
(p) => {
|
|
1200
|
-
if (!(!
|
|
1200
|
+
if (!(!r.value || !i.value)) {
|
|
1201
1201
|
if (!p)
|
|
1202
1202
|
return y();
|
|
1203
|
-
m.value = Bo(
|
|
1203
|
+
m.value = Bo(r.value, i.value, l, {});
|
|
1204
1204
|
}
|
|
1205
1205
|
},
|
|
1206
1206
|
{ flush: "post" }
|
|
@@ -1215,8 +1215,8 @@ function qo({ middleware: t, placement: e = null, strategy: o, append: n, enable
|
|
|
1215
1215
|
arrowX: d,
|
|
1216
1216
|
arrowY: a,
|
|
1217
1217
|
placement: u,
|
|
1218
|
-
reference:
|
|
1219
|
-
floating:
|
|
1218
|
+
reference: r,
|
|
1219
|
+
floating: i,
|
|
1220
1220
|
strategy: w,
|
|
1221
1221
|
update: l
|
|
1222
1222
|
};
|
|
@@ -1264,7 +1264,7 @@ const Uo = ["data-placement"], pe = {
|
|
|
1264
1264
|
}
|
|
1265
1265
|
},
|
|
1266
1266
|
setup(t) {
|
|
1267
|
-
const e = t, o = _(!1), n = _(null), { x: s, y:
|
|
1267
|
+
const e = t, o = _(!1), n = _(null), { x: s, y: r, arrowX: i, arrowY: c, placement: f, reference: d, floating: a, strategy: u } = qo({
|
|
1268
1268
|
placement: e.placement,
|
|
1269
1269
|
middleware: [Wo(), jo({ padding: 5 }), Fo(e.offset), Jo({ element: n, padding: 5 })],
|
|
1270
1270
|
append: O(() => e.appendTo),
|
|
@@ -1301,7 +1301,7 @@ const Uo = ["data-placement"], pe = {
|
|
|
1301
1301
|
"data-placement": h(f),
|
|
1302
1302
|
style: Bt({
|
|
1303
1303
|
position: h(u),
|
|
1304
|
-
top: h(
|
|
1304
|
+
top: h(r) ? `${h(r)}px` : "",
|
|
1305
1305
|
left: h(s) ? `${h(s)}px` : ""
|
|
1306
1306
|
})
|
|
1307
1307
|
}, [
|
|
@@ -1325,7 +1325,7 @@ const Uo = ["data-placement"], pe = {
|
|
|
1325
1325
|
style: Bt({
|
|
1326
1326
|
position: h(u),
|
|
1327
1327
|
top: h(c) ? `${h(c)}px` : "",
|
|
1328
|
-
left: h(
|
|
1328
|
+
left: h(i) ? `${h(i)}px` : ""
|
|
1329
1329
|
})
|
|
1330
1330
|
}, null, 4)) : S("", !0)
|
|
1331
1331
|
], 2)) : S("", !0)
|
|
@@ -1361,7 +1361,7 @@ const Uo = ["data-placement"], pe = {
|
|
|
1361
1361
|
},
|
|
1362
1362
|
emits: ["sort"],
|
|
1363
1363
|
setup(t, { emit: e }) {
|
|
1364
|
-
const o = t, n = e, { isLoading: s, appendTo:
|
|
1364
|
+
const o = t, n = e, { isLoading: s, appendTo: r } = Rt(o), i = Ee(s, { delay: He }), { t: c } = Z(), f = O(() => o.columns), d = O(() => Object.keys(o.columns).length);
|
|
1365
1365
|
function a(u, w) {
|
|
1366
1366
|
u.sortOrders && n("sort", { target: w, orders: u.sortOrders });
|
|
1367
1367
|
}
|
|
@@ -1373,7 +1373,7 @@ const Uo = ["data-placement"], pe = {
|
|
|
1373
1373
|
placement: "top",
|
|
1374
1374
|
content: m.tooltip,
|
|
1375
1375
|
disabled: !m.tooltip,
|
|
1376
|
-
"append-to": h(
|
|
1376
|
+
"append-to": h(r)
|
|
1377
1377
|
}, {
|
|
1378
1378
|
default: k(({ setRef: y, show: p, hide: T }) => [
|
|
1379
1379
|
b("th", {
|
|
@@ -1396,8 +1396,8 @@ const Uo = ["data-placement"], pe = {
|
|
|
1396
1396
|
onBlur: T,
|
|
1397
1397
|
onClick: (P) => a(m, l),
|
|
1398
1398
|
onKeydown: [
|
|
1399
|
-
Ft(
|
|
1400
|
-
Ft(
|
|
1399
|
+
Ft(rt((P) => a(m, l), ["prevent"]), ["space"]),
|
|
1400
|
+
Ft(rt((P) => a(m, l), ["prevent"]), ["enter"])
|
|
1401
1401
|
]
|
|
1402
1402
|
}, [
|
|
1403
1403
|
V(u.$slots, `header-${l}`, { column: m }, () => [
|
|
@@ -1449,7 +1449,7 @@ const Uo = ["data-placement"], pe = {
|
|
|
1449
1449
|
], 2))), 128))
|
|
1450
1450
|
], 2))), 128))
|
|
1451
1451
|
]),
|
|
1452
|
-
h(
|
|
1452
|
+
h(i) && t.rows.length === 0 ? (g(), v("tfoot", Xo, [
|
|
1453
1453
|
b("tr", null, [
|
|
1454
1454
|
b("td", { colspan: d.value }, [
|
|
1455
1455
|
V(u.$slots, "loading", {}, () => [
|
|
@@ -1458,7 +1458,7 @@ const Uo = ["data-placement"], pe = {
|
|
|
1458
1458
|
], 8, Qo)
|
|
1459
1459
|
])
|
|
1460
1460
|
])) : S("", !0),
|
|
1461
|
-
t.rows.length === 0 && !h(s) && !h(
|
|
1461
|
+
t.rows.length === 0 && !h(s) && !h(i) ? (g(), v("tfoot", tn, [
|
|
1462
1462
|
b("tr", null, [
|
|
1463
1463
|
b("td", { colspan: d.value }, [
|
|
1464
1464
|
V(u.$slots, "empty", {}, () => [
|
|
@@ -1495,56 +1495,67 @@ function nn(t, e) {
|
|
|
1495
1495
|
}, null, -1)
|
|
1496
1496
|
]));
|
|
1497
1497
|
}
|
|
1498
|
-
const sn = { render: nn }, rn = { class: "error-notice" },
|
|
1498
|
+
const sn = { render: nn }, rn = { class: "error-notice" }, an = ["textContent"], Ks = {
|
|
1499
1499
|
__name: "ErrorNotice",
|
|
1500
1500
|
props: {
|
|
1501
1501
|
error: {
|
|
1502
1502
|
type: Object,
|
|
1503
1503
|
default: () => ({})
|
|
1504
|
+
},
|
|
1505
|
+
useRetry: {
|
|
1506
|
+
type: Boolean,
|
|
1507
|
+
default: !1
|
|
1504
1508
|
}
|
|
1505
1509
|
},
|
|
1510
|
+
emits: ["retry"],
|
|
1506
1511
|
setup(t) {
|
|
1507
1512
|
const e = t, { t: o, hasTranslation: n } = Z(), s = O(() => {
|
|
1508
|
-
var
|
|
1509
|
-
return n(`errors.${e.error.key}`) ? o(`errors.${e.error.key}`, e.error.cause || [(
|
|
1513
|
+
var r, i;
|
|
1514
|
+
return n(`errors.${e.error.key}`) ? o(`errors.${e.error.key}`, e.error.cause || [(r = e.error) == null ? void 0 : r.message]) : (i = e.error) == null ? void 0 : i.message;
|
|
1510
1515
|
});
|
|
1511
|
-
return (
|
|
1516
|
+
return (r, i) => (g(), v("div", rn, [
|
|
1512
1517
|
C(h(sn), {
|
|
1513
1518
|
class: "icon",
|
|
1514
1519
|
width: "20",
|
|
1515
1520
|
height: "20"
|
|
1516
1521
|
}),
|
|
1517
|
-
b("span", null, x(s.value), 1)
|
|
1522
|
+
b("span", null, x(s.value), 1),
|
|
1523
|
+
t.useRetry ? (g(), v("button", {
|
|
1524
|
+
key: 0,
|
|
1525
|
+
type: "button",
|
|
1526
|
+
onClick: i[0] || (i[0] = (c) => r.$emit("retry")),
|
|
1527
|
+
textContent: x(h(o)("common.retry"))
|
|
1528
|
+
}, null, 8, an)) : S("", !0)
|
|
1518
1529
|
]));
|
|
1519
1530
|
}
|
|
1520
|
-
},
|
|
1531
|
+
}, qs = {
|
|
1521
1532
|
__name: "ErrorProvider",
|
|
1522
1533
|
setup(t) {
|
|
1523
1534
|
const { message: e, hasError: o, error: n } = Re();
|
|
1524
|
-
return (s,
|
|
1535
|
+
return (s, r) => V(s.$slots, "default", {
|
|
1525
1536
|
message: h(e),
|
|
1526
1537
|
error: h(n),
|
|
1527
1538
|
hasError: h(o)
|
|
1528
1539
|
});
|
|
1529
1540
|
}
|
|
1530
|
-
},
|
|
1531
|
-
errors:
|
|
1532
|
-
common:
|
|
1533
|
-
additionalText:
|
|
1534
|
-
table:
|
|
1535
|
-
game:
|
|
1536
|
-
},
|
|
1537
|
-
errors:
|
|
1538
|
-
common:
|
|
1539
|
-
additionalText:
|
|
1540
|
-
table:
|
|
1541
|
-
game:
|
|
1542
|
-
},
|
|
1541
|
+
}, ln = { "undefined-column": "The {column} column is not exists!", "invalid-season-name": "Invalid season name", "api-key-not-found": "API Key not found", gameData: "Game Data: {0}", gameStats: "Game Stats: {0}", gameEvents: "Game Events: {0}", gameOfficials: "Game Officials : {0}" }, cn = { 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", retry: "Try Again" }, dn = { 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." } }, un = { 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" }, so: { short: "SO", tooltip: "Shutouts" }, 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" } }, mn = { 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" } }, fn = {
|
|
1542
|
+
errors: ln,
|
|
1543
|
+
common: cn,
|
|
1544
|
+
additionalText: dn,
|
|
1545
|
+
table: un,
|
|
1546
|
+
game: mn
|
|
1547
|
+
}, pn = { "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ő", gameData: "Game Data: {0}", gameStats: "Game Stats: {0}", gameEvents: "Game Events: {0}", gameOfficials: "Game Officials: {0}" }, hn = { 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ó", retry: "Újra" }, gn = { 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." } }, yn = { 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" }, so: { short: "SO", tooltip: "Kapott gól nélküli mérkőzé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" } }, vn = { 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" } }, wn = {
|
|
1548
|
+
errors: pn,
|
|
1549
|
+
common: hn,
|
|
1550
|
+
additionalText: gn,
|
|
1551
|
+
table: yn,
|
|
1552
|
+
game: vn
|
|
1553
|
+
}, bn = (t, e) => {
|
|
1543
1554
|
const o = t.__vccOpts || t;
|
|
1544
1555
|
for (const [n, s] of e)
|
|
1545
1556
|
o[n] = s;
|
|
1546
1557
|
return o;
|
|
1547
|
-
},
|
|
1558
|
+
}, Tn = Xt({
|
|
1548
1559
|
props: {
|
|
1549
1560
|
locale: {
|
|
1550
1561
|
type: String,
|
|
@@ -1556,7 +1567,7 @@ const sn = { render: nn }, rn = { class: "error-notice" }, Ws = {
|
|
|
1556
1567
|
}
|
|
1557
1568
|
},
|
|
1558
1569
|
setup(t) {
|
|
1559
|
-
const e = Ve({ hu:
|
|
1570
|
+
const e = Ve({ hu: wn, en: fn }, t.messages), { translate: o } = Le({
|
|
1560
1571
|
locale: O(() => t.locale),
|
|
1561
1572
|
messages: e
|
|
1562
1573
|
});
|
|
@@ -1565,10 +1576,10 @@ const sn = { render: nn }, rn = { class: "error-notice" }, Ws = {
|
|
|
1565
1576
|
};
|
|
1566
1577
|
}
|
|
1567
1578
|
});
|
|
1568
|
-
function
|
|
1579
|
+
function xn(t, e, o, n, s, r) {
|
|
1569
1580
|
return V(t.$slots, "default", { t: t.translate });
|
|
1570
1581
|
}
|
|
1571
|
-
const
|
|
1582
|
+
const Js = /* @__PURE__ */ bn(Tn, [["render", xn]]), Pn = ["src"], kn = ["src", "title"], nt = /* @__PURE__ */ Object.assign({
|
|
1572
1583
|
inheritAttrs: !1
|
|
1573
1584
|
}, {
|
|
1574
1585
|
__name: "Image",
|
|
@@ -1587,29 +1598,29 @@ const qs = /* @__PURE__ */ wn(bn, [["render", Tn]]), xn = ["src"], Pn = ["src",
|
|
|
1587
1598
|
}
|
|
1588
1599
|
},
|
|
1589
1600
|
setup(t) {
|
|
1590
|
-
const e = t, { defaultSrc: o } = Rt(e), n = _({ src: e.src }), { error: s, isReady:
|
|
1591
|
-
return (
|
|
1601
|
+
const e = t, { defaultSrc: o } = Rt(e), n = _({ src: e.src }), { error: s, isReady: r } = De(n, { resetOnExecute: !1, shallow: !1 });
|
|
1602
|
+
return (i, c) => (g(), v(G, null, [
|
|
1592
1603
|
h(s) && h(o) ? (g(), v("img", {
|
|
1593
1604
|
key: 0,
|
|
1594
1605
|
src: h(o),
|
|
1595
|
-
class: N(["is-loaded is-default", [
|
|
1596
|
-
}, null, 10,
|
|
1606
|
+
class: N(["is-loaded is-default", [i.$attrs.class]])
|
|
1607
|
+
}, null, 10, Pn)) : S("", !0),
|
|
1597
1608
|
h(s) ? S("", !0) : (g(), v("img", {
|
|
1598
1609
|
key: 1,
|
|
1599
1610
|
src: n.value.src,
|
|
1600
|
-
class: N([
|
|
1611
|
+
class: N([i.$attrs.class, { "is-loaded": h(r) }]),
|
|
1601
1612
|
title: e.title,
|
|
1602
1613
|
loading: "lazy"
|
|
1603
|
-
}, null, 10,
|
|
1614
|
+
}, null, 10, kn))
|
|
1604
1615
|
], 64));
|
|
1605
1616
|
}
|
|
1606
|
-
}),
|
|
1617
|
+
}), Sn = { class: "loading-indicator" }, ge = {
|
|
1607
1618
|
__name: "LoadingIndicator",
|
|
1608
1619
|
setup(t) {
|
|
1609
1620
|
const { t: e } = Z();
|
|
1610
|
-
return (o, n) => (g(), v("div",
|
|
1621
|
+
return (o, n) => (g(), v("div", Sn, x(h(e)("common.loading")), 1));
|
|
1611
1622
|
}
|
|
1612
|
-
},
|
|
1623
|
+
}, An = {
|
|
1613
1624
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1614
1625
|
viewBox: "0 0 24 24",
|
|
1615
1626
|
fill: "none",
|
|
@@ -1618,12 +1629,12 @@ const qs = /* @__PURE__ */ wn(bn, [["render", Tn]]), xn = ["src"], Pn = ["src",
|
|
|
1618
1629
|
"stroke-linecap": "round",
|
|
1619
1630
|
"stroke-linejoin": "round"
|
|
1620
1631
|
};
|
|
1621
|
-
function
|
|
1622
|
-
return g(), v("svg",
|
|
1632
|
+
function zn(t, e) {
|
|
1633
|
+
return g(), v("svg", An, e[0] || (e[0] = [
|
|
1623
1634
|
b("polyline", { points: "15 18 9 12 15 6" }, null, -1)
|
|
1624
1635
|
]));
|
|
1625
1636
|
}
|
|
1626
|
-
const
|
|
1637
|
+
const On = { render: zn }, _n = {
|
|
1627
1638
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1628
1639
|
viewBox: "0 0 24 24",
|
|
1629
1640
|
fill: "none",
|
|
@@ -1632,21 +1643,21 @@ const zn = { render: An }, On = {
|
|
|
1632
1643
|
"stroke-linecap": "round",
|
|
1633
1644
|
"stroke-linejoin": "round"
|
|
1634
1645
|
};
|
|
1635
|
-
function
|
|
1636
|
-
return g(), v("svg",
|
|
1646
|
+
function $n(t, e) {
|
|
1647
|
+
return g(), v("svg", _n, e[0] || (e[0] = [
|
|
1637
1648
|
b("polyline", { points: "9 18 15 12 9 6" }, null, -1)
|
|
1638
1649
|
]));
|
|
1639
1650
|
}
|
|
1640
|
-
const
|
|
1651
|
+
const In = { render: $n }, Cn = {
|
|
1641
1652
|
key: 0,
|
|
1642
1653
|
class: "paginator"
|
|
1643
|
-
},
|
|
1654
|
+
}, Gn = ["disabled"], En = ["disabled"], Rn = {
|
|
1644
1655
|
key: 1,
|
|
1645
1656
|
class: "is-disabled"
|
|
1646
|
-
},
|
|
1657
|
+
}, Vn = ["disabled", "onClick"], Ln = {
|
|
1647
1658
|
key: 2,
|
|
1648
1659
|
class: "is-disabled"
|
|
1649
|
-
},
|
|
1660
|
+
}, Dn = ["disabled"], Nn = ["disabled"], Us = {
|
|
1650
1661
|
__name: "Paginator",
|
|
1651
1662
|
props: {
|
|
1652
1663
|
page: {
|
|
@@ -1678,55 +1689,55 @@ const $n = { render: _n }, In = {
|
|
|
1678
1689
|
},
|
|
1679
1690
|
emits: ["change"],
|
|
1680
1691
|
setup(t, { emit: e }) {
|
|
1681
|
-
const o = t, n = e, { page: s, pageCount:
|
|
1692
|
+
const o = t, n = e, { page: s, pageCount: r, range: i, goTo: c, pageStep: f } = to({
|
|
1682
1693
|
currentPage: O(() => o.page),
|
|
1683
1694
|
totalItems: O(() => o.totalItems),
|
|
1684
1695
|
itemsPerPage: o.itemsPerPage,
|
|
1685
1696
|
rangeLength: o.rangeLength,
|
|
1686
1697
|
update: (d) => n("change", d)
|
|
1687
1698
|
});
|
|
1688
|
-
return (d, a) => h(
|
|
1699
|
+
return (d, a) => h(r) > 1 ? (g(), v("div", Cn, [
|
|
1689
1700
|
b("button", {
|
|
1690
1701
|
type: "button",
|
|
1691
1702
|
disabled: h(s) === 1,
|
|
1692
1703
|
onClick: a[0] || (a[0] = (u) => h(f)(-1))
|
|
1693
1704
|
}, [
|
|
1694
1705
|
V(d.$slots, "prev", {}, () => [
|
|
1695
|
-
C(h(
|
|
1706
|
+
C(h(On), { class: "icon paginator-left" })
|
|
1696
1707
|
])
|
|
1697
|
-
], 8,
|
|
1708
|
+
], 8, Gn),
|
|
1698
1709
|
t.isCompact ? S("", !0) : (g(), v("button", {
|
|
1699
1710
|
key: 0,
|
|
1700
1711
|
type: "button",
|
|
1701
1712
|
disabled: h(s) === 1,
|
|
1702
1713
|
onClick: a[1] || (a[1] = (u) => h(c)(1))
|
|
1703
|
-
}, " 1 ", 8,
|
|
1704
|
-
t.isCompact ? S("", !0) : (g(), v("div",
|
|
1705
|
-
(g(!0), v(G, null, Q(h(
|
|
1714
|
+
}, " 1 ", 8, En)),
|
|
1715
|
+
t.isCompact ? S("", !0) : (g(), v("div", Rn, " ... ")),
|
|
1716
|
+
(g(!0), v(G, null, Q(h(i), (u) => (g(), v("button", {
|
|
1706
1717
|
key: u,
|
|
1707
1718
|
type: "button",
|
|
1708
1719
|
class: N({ "is-active": u === h(s) }),
|
|
1709
1720
|
disabled: u === h(s),
|
|
1710
1721
|
onClick: (w) => h(c)(u)
|
|
1711
|
-
}, x(u), 11,
|
|
1712
|
-
t.isCompact ? S("", !0) : (g(), v("div",
|
|
1722
|
+
}, x(u), 11, Vn))), 128)),
|
|
1723
|
+
t.isCompact ? S("", !0) : (g(), v("div", Ln, a[4] || (a[4] = [
|
|
1713
1724
|
b("span", null, "...", -1)
|
|
1714
1725
|
]))),
|
|
1715
1726
|
t.isCompact ? S("", !0) : (g(), v("button", {
|
|
1716
1727
|
key: 3,
|
|
1717
1728
|
type: "button",
|
|
1718
|
-
disabled: h(s) === h(
|
|
1719
|
-
onClick: a[2] || (a[2] = (u) => h(c)(h(
|
|
1720
|
-
}, x(h(
|
|
1729
|
+
disabled: h(s) === h(r),
|
|
1730
|
+
onClick: a[2] || (a[2] = (u) => h(c)(h(r)))
|
|
1731
|
+
}, x(h(r)), 9, Dn)),
|
|
1721
1732
|
b("button", {
|
|
1722
1733
|
type: "button",
|
|
1723
|
-
disabled: h(s) === h(
|
|
1724
|
-
onClick: a[3] || (a[3] =
|
|
1734
|
+
disabled: h(s) === h(r),
|
|
1735
|
+
onClick: a[3] || (a[3] = rt((u) => h(f)(1), ["prevent"]))
|
|
1725
1736
|
}, [
|
|
1726
1737
|
V(d.$slots, "next", {}, () => [
|
|
1727
|
-
C(h(
|
|
1738
|
+
C(h(In), { class: "icon paginator-left" })
|
|
1728
1739
|
])
|
|
1729
|
-
], 8,
|
|
1740
|
+
], 8, Nn)
|
|
1730
1741
|
])) : S("", !0);
|
|
1731
1742
|
}
|
|
1732
1743
|
}, ye = {
|
|
@@ -1741,7 +1752,7 @@ const $n = { render: _n }, In = {
|
|
|
1741
1752
|
V(o.$slots, "default", { el: e.value })
|
|
1742
1753
|
], 512));
|
|
1743
1754
|
}
|
|
1744
|
-
},
|
|
1755
|
+
}, Mn = {
|
|
1745
1756
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1746
1757
|
viewBox: "0 0 24 24",
|
|
1747
1758
|
fill: "none",
|
|
@@ -1750,8 +1761,8 @@ const $n = { render: _n }, In = {
|
|
|
1750
1761
|
"stroke-linecap": "round",
|
|
1751
1762
|
"stroke-linejoin": "round"
|
|
1752
1763
|
};
|
|
1753
|
-
function
|
|
1754
|
-
return g(), v("svg",
|
|
1764
|
+
function Hn(t, e) {
|
|
1765
|
+
return g(), v("svg", Mn, e[0] || (e[0] = [
|
|
1755
1766
|
b("rect", {
|
|
1756
1767
|
x: "2",
|
|
1757
1768
|
y: "3",
|
|
@@ -1774,7 +1785,7 @@ function Mn(t, e) {
|
|
|
1774
1785
|
}, null, -1)
|
|
1775
1786
|
]));
|
|
1776
1787
|
}
|
|
1777
|
-
const
|
|
1788
|
+
const Bn = { render: Hn }, Fn = {
|
|
1778
1789
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1779
1790
|
viewBox: "0 0 24 24",
|
|
1780
1791
|
fill: "none",
|
|
@@ -1783,8 +1794,8 @@ const Hn = { render: Mn }, Bn = {
|
|
|
1783
1794
|
"stroke-linecap": "round",
|
|
1784
1795
|
"stroke-linejoin": "round"
|
|
1785
1796
|
};
|
|
1786
|
-
function
|
|
1787
|
-
return g(), v("svg",
|
|
1797
|
+
function jn(t, e) {
|
|
1798
|
+
return g(), v("svg", Fn, e[0] || (e[0] = [
|
|
1788
1799
|
b("circle", {
|
|
1789
1800
|
cx: "12",
|
|
1790
1801
|
cy: "12",
|
|
@@ -1802,7 +1813,7 @@ function Fn(t, e) {
|
|
|
1802
1813
|
}, null, -1)
|
|
1803
1814
|
]));
|
|
1804
1815
|
}
|
|
1805
|
-
const
|
|
1816
|
+
const Wn = { render: jn }, Kn = {
|
|
1806
1817
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1807
1818
|
viewBox: "0 0 24 24",
|
|
1808
1819
|
fill: "none",
|
|
@@ -1811,8 +1822,8 @@ const jn = { render: Fn }, Wn = {
|
|
|
1811
1822
|
"stroke-linecap": "round",
|
|
1812
1823
|
"stroke-linejoin": "round"
|
|
1813
1824
|
};
|
|
1814
|
-
function
|
|
1815
|
-
return g(), v("svg",
|
|
1825
|
+
function qn(t, e) {
|
|
1826
|
+
return g(), v("svg", Kn, e[0] || (e[0] = [
|
|
1816
1827
|
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),
|
|
1817
1828
|
b("rect", {
|
|
1818
1829
|
x: "8",
|
|
@@ -1824,7 +1835,7 @@ function Kn(t, e) {
|
|
|
1824
1835
|
}, null, -1)
|
|
1825
1836
|
]));
|
|
1826
1837
|
}
|
|
1827
|
-
const
|
|
1838
|
+
const Jn = { render: qn }, Un = {
|
|
1828
1839
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1829
1840
|
viewBox: "0 0 24 24",
|
|
1830
1841
|
fill: "none",
|
|
@@ -1833,25 +1844,25 @@ const qn = { render: Kn }, Jn = {
|
|
|
1833
1844
|
"stroke-linecap": "round",
|
|
1834
1845
|
"stroke-linejoin": "round"
|
|
1835
1846
|
};
|
|
1836
|
-
function
|
|
1837
|
-
return g(), v("svg",
|
|
1847
|
+
function Yn(t, e) {
|
|
1848
|
+
return g(), v("svg", Un, e[0] || (e[0] = [
|
|
1838
1849
|
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),
|
|
1839
1850
|
b("polygon", { points: "9.75 15.02 15.5 11.75 9.75 8.48 9.75 15.02" }, null, -1)
|
|
1840
1851
|
]));
|
|
1841
1852
|
}
|
|
1842
|
-
const
|
|
1853
|
+
const Zn = { render: Yn }, Xn = { class: "is-team-name-long" }, Qn = { class: "is-team-name-short" }, ts = { class: "is-team-name-long" }, es = { class: "is-team-name-short" }, os = {
|
|
1843
1854
|
key: 0,
|
|
1844
1855
|
class: "is-text-dark"
|
|
1845
|
-
},
|
|
1856
|
+
}, ns = ["href", "target"], ss = {
|
|
1846
1857
|
key: 0,
|
|
1847
1858
|
class: "label"
|
|
1848
|
-
},
|
|
1859
|
+
}, rs = {
|
|
1849
1860
|
key: 1,
|
|
1850
1861
|
class: "label"
|
|
1851
1862
|
}, is = {
|
|
1852
1863
|
key: 2,
|
|
1853
1864
|
class: "label"
|
|
1854
|
-
},
|
|
1865
|
+
}, as = { key: 1 }, ls = ["onClick", "onFocus", "onBlur"], cs = { class: "is-dropdown-menu" }, ds = ["href", "target"], us = { key: 0 }, ms = ["href"], Ys = {
|
|
1855
1866
|
__name: "ScheduleTable",
|
|
1856
1867
|
props: {
|
|
1857
1868
|
rows: {
|
|
@@ -1880,7 +1891,7 @@ const Yn = { render: Un }, Zn = { class: "is-team-name-long" }, Xn = { class: "i
|
|
|
1880
1891
|
}
|
|
1881
1892
|
},
|
|
1882
1893
|
setup(t) {
|
|
1883
|
-
const e = t, o = _(null), { onError: n } = Qt(), { columns: s, error:
|
|
1894
|
+
const e = t, o = _(null), { onError: n } = Qt(), { columns: s, error: r } = te(
|
|
1884
1895
|
We,
|
|
1885
1896
|
O(() => e.hideColumns),
|
|
1886
1897
|
O(() => ({
|
|
@@ -1888,18 +1899,18 @@ const Yn = { render: Un }, Zn = { class: "is-team-name-long" }, Xn = { class: "i
|
|
|
1888
1899
|
}))
|
|
1889
1900
|
);
|
|
1890
1901
|
Ne(
|
|
1891
|
-
|
|
1902
|
+
r,
|
|
1892
1903
|
() => n(
|
|
1893
1904
|
new ee(wt.message, {
|
|
1894
1905
|
...wt.options,
|
|
1895
|
-
cause: { column:
|
|
1906
|
+
cause: { column: r.value }
|
|
1896
1907
|
})
|
|
1897
1908
|
),
|
|
1898
1909
|
{
|
|
1899
1910
|
immediate: !0
|
|
1900
1911
|
}
|
|
1901
1912
|
);
|
|
1902
|
-
const { t:
|
|
1913
|
+
const { t: i } = Z();
|
|
1903
1914
|
return (c, f) => (g(), v(G, null, [
|
|
1904
1915
|
C(ye, null, {
|
|
1905
1916
|
default: k(({ el: d }) => [
|
|
@@ -1911,14 +1922,14 @@ const Yn = { render: Un }, Zn = { class: "is-team-name-long" }, Xn = { class: "i
|
|
|
1911
1922
|
}, {
|
|
1912
1923
|
"cell-homeTeamName": k(({ row: a }) => [
|
|
1913
1924
|
a.homeTeam ? (g(), v(G, { key: 0 }, [
|
|
1914
|
-
b("span",
|
|
1915
|
-
b("span",
|
|
1925
|
+
b("span", Xn, x(a.homeTeam.longName), 1),
|
|
1926
|
+
b("span", Qn, x(a.homeTeam.shortName), 1)
|
|
1916
1927
|
], 64)) : S("", !0)
|
|
1917
1928
|
]),
|
|
1918
1929
|
"cell-awayTeamName": k(({ row: a }) => [
|
|
1919
1930
|
a.awayTeam ? (g(), v(G, { key: 0 }, [
|
|
1920
|
-
b("span",
|
|
1921
|
-
b("span",
|
|
1931
|
+
b("span", ts, x(a.awayTeam.longName), 1),
|
|
1932
|
+
b("span", es, x(a.awayTeam.shortName), 1)
|
|
1922
1933
|
], 64)) : S("", !0)
|
|
1923
1934
|
]),
|
|
1924
1935
|
"cell-homeTeamLogo": k(({ row: a }) => [
|
|
@@ -1936,20 +1947,20 @@ const Yn = { render: Un }, Zn = { class: "is-team-name-long" }, Xn = { class: "i
|
|
|
1936
1947
|
}, null, 8, ["src"])) : S("", !0)
|
|
1937
1948
|
]),
|
|
1938
1949
|
"cell-gameResult": k(({ row: a }) => [
|
|
1939
|
-
a.gameStatus === 0 ? (g(), v("span",
|
|
1950
|
+
a.gameStatus === 0 ? (g(), v("span", os, "-:-")) : (g(), v("a", {
|
|
1940
1951
|
key: 1,
|
|
1941
1952
|
href: t.externalGameResolver(a.gameId),
|
|
1942
1953
|
target: t.externalGameResolverTarget,
|
|
1943
1954
|
class: N({ "is-text-dark": a.gameStatus !== 1, "is-text-accent": a.gameStatus === 1 })
|
|
1944
|
-
}, x(a.homeTeamScore) + ":" + x(a.awayTeamScore), 11,
|
|
1955
|
+
}, x(a.homeTeamScore) + ":" + x(a.awayTeamScore), 11, ns))
|
|
1945
1956
|
]),
|
|
1946
1957
|
"cell-gameResultType": k(({ row: a }) => [
|
|
1947
|
-
a.isOvertime ? (g(), v("span",
|
|
1948
|
-
a.isShootout ? (g(), v("span",
|
|
1958
|
+
a.isOvertime ? (g(), v("span", ss, x(h(i)("common.overtimeShort")), 1)) : S("", !0),
|
|
1959
|
+
a.isShootout ? (g(), v("span", rs, x(h(i)("common.shootoutShort")), 1)) : S("", !0),
|
|
1949
1960
|
a.seriesStandings ? (g(), v("span", is, x(a.seriesStandings), 1)) : S("", !0)
|
|
1950
1961
|
]),
|
|
1951
1962
|
"cell-broadcast": k(({ row: a }) => [
|
|
1952
|
-
a.broadcast ? (g(), R(h(
|
|
1963
|
+
a.broadcast ? (g(), R(h(Bn), { key: 0 })) : (g(), v("span", as))
|
|
1953
1964
|
]),
|
|
1954
1965
|
"cell-location": k(({ row: a }) => {
|
|
1955
1966
|
var u;
|
|
@@ -1967,34 +1978,34 @@ const Yn = { render: Un }, Zn = { class: "is-team-name-long" }, Xn = { class: "i
|
|
|
1967
1978
|
default: k(({ setRef: u, show: w, hide: m }) => [
|
|
1968
1979
|
b("button", {
|
|
1969
1980
|
ref: u,
|
|
1970
|
-
onClick:
|
|
1981
|
+
onClick: rt(w, ["stop"]),
|
|
1971
1982
|
onFocus: w,
|
|
1972
1983
|
onBlur: m
|
|
1973
1984
|
}, [
|
|
1974
|
-
C(h(
|
|
1975
|
-
], 40,
|
|
1985
|
+
C(h(Wn))
|
|
1986
|
+
], 40, ls)
|
|
1976
1987
|
]),
|
|
1977
1988
|
content: k(() => [
|
|
1978
|
-
b("ul",
|
|
1989
|
+
b("ul", cs, [
|
|
1979
1990
|
b("li", null, [
|
|
1980
1991
|
b("a", {
|
|
1981
1992
|
href: t.externalGameResolver(a.gameId),
|
|
1982
1993
|
class: "is-dropdown-item",
|
|
1983
1994
|
target: t.externalGameResolverTarget
|
|
1984
1995
|
}, [
|
|
1985
|
-
C(h(
|
|
1986
|
-
M(" " + x(h(
|
|
1987
|
-
], 8,
|
|
1996
|
+
C(h(Jn), { width: "14" }),
|
|
1997
|
+
M(" " + x(h(i)("common.report")), 1)
|
|
1998
|
+
], 8, ds)
|
|
1988
1999
|
]),
|
|
1989
|
-
a.video ? (g(), v("li",
|
|
2000
|
+
a.video ? (g(), v("li", us, [
|
|
1990
2001
|
b("a", {
|
|
1991
2002
|
href: a.video,
|
|
1992
2003
|
class: "is-dropdown-item",
|
|
1993
2004
|
target: "_blank"
|
|
1994
2005
|
}, [
|
|
1995
|
-
C(h(
|
|
1996
|
-
M(" " + x(h(
|
|
1997
|
-
], 8,
|
|
2006
|
+
C(h(Zn), { width: "14" }),
|
|
2007
|
+
M(" " + x(h(i)("common.video")), 1)
|
|
2008
|
+
], 8, ms)
|
|
1998
2009
|
])) : S("", !0)
|
|
1999
2010
|
])
|
|
2000
2011
|
]),
|
|
@@ -2015,10 +2026,10 @@ const Yn = { render: Un }, Zn = { class: "is-team-name-long" }, Xn = { class: "i
|
|
|
2015
2026
|
}, null, 512)
|
|
2016
2027
|
], 64));
|
|
2017
2028
|
}
|
|
2018
|
-
},
|
|
2029
|
+
}, fs = { class: "g-row g-gap-normal is-mb-5" }, ps = {
|
|
2019
2030
|
for: "season",
|
|
2020
2031
|
class: "label"
|
|
2021
|
-
},
|
|
2032
|
+
}, hs = ["value"], gs = { key: 0 }, ys = ["onClick"], Zs = {
|
|
2022
2033
|
__name: "SeasonSelector",
|
|
2023
2034
|
props: {
|
|
2024
2035
|
seasons: {
|
|
@@ -2044,7 +2055,7 @@ const Yn = { render: Un }, Zn = { class: "is-team-name-long" }, Xn = { class: "i
|
|
|
2044
2055
|
},
|
|
2045
2056
|
emits: ["onChangeSeason", "onChangeSection"],
|
|
2046
2057
|
setup(t, { emit: e }) {
|
|
2047
|
-
const o = t, n = e, { t: s } = Z(),
|
|
2058
|
+
const o = t, n = e, { t: s } = Z(), r = O({
|
|
2048
2059
|
get() {
|
|
2049
2060
|
return o.championshipId;
|
|
2050
2061
|
},
|
|
@@ -2052,51 +2063,51 @@ const Yn = { render: Un }, Zn = { class: "is-team-name-long" }, Xn = { class: "i
|
|
|
2052
2063
|
n("onChangeSeason", c);
|
|
2053
2064
|
}
|
|
2054
2065
|
});
|
|
2055
|
-
function
|
|
2066
|
+
function i(c) {
|
|
2056
2067
|
n("onChangeSection", c);
|
|
2057
2068
|
}
|
|
2058
2069
|
return (c, f) => (g(), v(G, null, [
|
|
2059
|
-
b("div",
|
|
2070
|
+
b("div", fs, [
|
|
2060
2071
|
b("div", null, [
|
|
2061
|
-
b("label",
|
|
2072
|
+
b("label", ps, x(h(s)("selection.season")), 1),
|
|
2062
2073
|
C(oo, {
|
|
2063
2074
|
id: "season",
|
|
2064
|
-
modelValue:
|
|
2065
|
-
"onUpdate:modelValue": f[0] || (f[0] = (d) =>
|
|
2075
|
+
modelValue: r.value,
|
|
2076
|
+
"onUpdate:modelValue": f[0] || (f[0] = (d) => r.value = d)
|
|
2066
2077
|
}, {
|
|
2067
2078
|
default: k(() => [
|
|
2068
2079
|
(g(!0), v(G, null, Q(t.seasons, (d) => (g(), v("option", {
|
|
2069
2080
|
key: d.championshipId,
|
|
2070
2081
|
value: d.championshipId
|
|
2071
|
-
}, x(d.seasonName), 9,
|
|
2082
|
+
}, x(d.seasonName), 9, hs))), 128))
|
|
2072
2083
|
]),
|
|
2073
2084
|
_: 1
|
|
2074
2085
|
}, 8, ["modelValue"])
|
|
2075
2086
|
]),
|
|
2076
2087
|
V(c.$slots, "default")
|
|
2077
2088
|
]),
|
|
2078
|
-
t.isSectionSelectionDisabled ? S("", !0) : (g(), v("div",
|
|
2089
|
+
t.isSectionSelectionDisabled ? S("", !0) : (g(), v("div", gs, [
|
|
2079
2090
|
(g(!0), v(G, null, Q(t.sections, (d) => (g(), v("button", {
|
|
2080
2091
|
key: d.phaseId,
|
|
2081
2092
|
class: N(["tab-button", { "is-active": d.sectionId === t.sectionId }]),
|
|
2082
|
-
onClick: (a) =>
|
|
2083
|
-
}, x(d.sectionName), 11,
|
|
2093
|
+
onClick: (a) => i(d)
|
|
2094
|
+
}, x(d.sectionName), 11, ys))), 128))
|
|
2084
2095
|
]))
|
|
2085
2096
|
], 64));
|
|
2086
2097
|
}
|
|
2087
|
-
},
|
|
2098
|
+
}, vs = { class: "is-portrait-image" }, ws = ["href"], bs = { class: "is-team-name-long" }, Ts = { class: "is-team-name-short" }, xs = { class: "is-team-name-long" }, Ps = { key: 0 }, ks = { class: "is-team-name-short" }, Ss = { key: 0 }, As = { class: "is-team-name-long" }, zs = { class: "is-team-name-short" }, Os = { class: "is-team-name-long" }, _s = { class: "is-team-name-short" }, $s = ["href"], Is = {
|
|
2088
2099
|
key: 0,
|
|
2089
2100
|
class: "is-text-dark"
|
|
2090
|
-
},
|
|
2101
|
+
}, Cs = ["href", "target"], Gs = {
|
|
2091
2102
|
key: 0,
|
|
2092
2103
|
class: "label"
|
|
2093
|
-
},
|
|
2104
|
+
}, Es = {
|
|
2094
2105
|
key: 1,
|
|
2095
2106
|
class: "label"
|
|
2096
|
-
},
|
|
2107
|
+
}, Rs = {
|
|
2097
2108
|
key: 2,
|
|
2098
2109
|
class: "label"
|
|
2099
|
-
},
|
|
2110
|
+
}, Xs = {
|
|
2100
2111
|
__name: "StatisticsTable",
|
|
2101
2112
|
props: {
|
|
2102
2113
|
columns: {
|
|
@@ -2156,14 +2167,14 @@ const Yn = { render: Un }, Zn = { class: "is-team-name-long" }, Xn = { class: "i
|
|
|
2156
2167
|
},
|
|
2157
2168
|
emits: ["sort"],
|
|
2158
2169
|
setup(t, { emit: e }) {
|
|
2159
|
-
const o = t, n = e, { columns: s, hideColumns:
|
|
2170
|
+
const o = t, n = e, { columns: s, hideColumns: r } = Rt(o), { onError: i } = Qt(), { t: c } = Z(), { columns: f, error: d } = te(
|
|
2160
2171
|
s,
|
|
2161
|
-
|
|
2172
|
+
r,
|
|
2162
2173
|
O(() => ({
|
|
2163
2174
|
offsetName: o.offsetName
|
|
2164
2175
|
}))
|
|
2165
2176
|
);
|
|
2166
|
-
d.value &&
|
|
2177
|
+
d.value && i(
|
|
2167
2178
|
new ee(wt.message, {
|
|
2168
2179
|
...wt.options,
|
|
2169
2180
|
cause: { column: d.value }
|
|
@@ -2186,7 +2197,7 @@ const Yn = { render: Un }, Zn = { class: "is-team-name-long" }, Xn = { class: "i
|
|
|
2186
2197
|
}, x(l.index), 3)
|
|
2187
2198
|
]),
|
|
2188
2199
|
"cell-playerPortrait": k(({ row: l }) => [
|
|
2189
|
-
b("div",
|
|
2200
|
+
b("div", vs, [
|
|
2190
2201
|
(g(), R(nt, {
|
|
2191
2202
|
key: l.player.playerId,
|
|
2192
2203
|
src: l.player.picture,
|
|
@@ -2232,18 +2243,18 @@ const Yn = { render: Un }, Zn = { class: "is-team-name-long" }, Xn = { class: "i
|
|
|
2232
2243
|
href: t.externalTeamResolver(l),
|
|
2233
2244
|
target: "_blank"
|
|
2234
2245
|
}, [
|
|
2235
|
-
b("span",
|
|
2236
|
-
b("span",
|
|
2237
|
-
], 8,
|
|
2238
|
-
b("span",
|
|
2246
|
+
b("span", bs, x((y = l.team) == null ? void 0 : y.longName), 1),
|
|
2247
|
+
b("span", Ts, x((p = l.team) == null ? void 0 : p.shortName), 1)
|
|
2248
|
+
], 8, ws)) : (g(), v(G, { key: 1 }, [
|
|
2249
|
+
b("span", xs, [
|
|
2239
2250
|
M(x((T = l.team) == null ? void 0 : T.longName) + " ", 1),
|
|
2240
|
-
l.penaltyPoints ? (g(), v("span",
|
|
2251
|
+
l.penaltyPoints ? (g(), v("span", Ps, w[0] || (w[0] = [
|
|
2241
2252
|
b("sup", null, "*", -1)
|
|
2242
2253
|
]))) : S("", !0)
|
|
2243
2254
|
]),
|
|
2244
|
-
b("span",
|
|
2255
|
+
b("span", ks, [
|
|
2245
2256
|
M(x((P = l.team) == null ? void 0 : P.shortName) + " ", 1),
|
|
2246
|
-
l.penaltyPoints ? (g(), v("span",
|
|
2257
|
+
l.penaltyPoints ? (g(), v("span", Ss, w[1] || (w[1] = [
|
|
2247
2258
|
b("sup", null, "*", -1)
|
|
2248
2259
|
]))) : S("", !0)
|
|
2249
2260
|
])
|
|
@@ -2253,15 +2264,15 @@ const Yn = { render: Un }, Zn = { class: "is-team-name-long" }, Xn = { class: "i
|
|
|
2253
2264
|
"cell-homeTeamName": k(({ row: l }) => {
|
|
2254
2265
|
var y, p;
|
|
2255
2266
|
return [
|
|
2256
|
-
b("span",
|
|
2257
|
-
b("span",
|
|
2267
|
+
b("span", As, x((y = l.homeTeam) == null ? void 0 : y.longName), 1),
|
|
2268
|
+
b("span", zs, x((p = l.homeTeam) == null ? void 0 : p.shortName), 1)
|
|
2258
2269
|
];
|
|
2259
2270
|
}),
|
|
2260
2271
|
"cell-awayTeamName": k(({ row: l }) => {
|
|
2261
2272
|
var y, p;
|
|
2262
2273
|
return [
|
|
2263
|
-
b("span",
|
|
2264
|
-
b("span",
|
|
2274
|
+
b("span", Os, x((y = l.awayTeam) == null ? void 0 : y.longName), 1),
|
|
2275
|
+
b("span", _s, x((p = l.awayTeam) == null ? void 0 : p.shortName), 1)
|
|
2265
2276
|
];
|
|
2266
2277
|
}),
|
|
2267
2278
|
"cell-location": k(({ row: l }) => {
|
|
@@ -2271,17 +2282,17 @@ const Yn = { render: Un }, Zn = { class: "is-team-name-long" }, Xn = { class: "i
|
|
|
2271
2282
|
];
|
|
2272
2283
|
}),
|
|
2273
2284
|
"cell-gameResult": k(({ row: l }) => [
|
|
2274
|
-
l.gameStatus === 0 ? (g(), v("span",
|
|
2285
|
+
l.gameStatus === 0 ? (g(), v("span", Is, "-:-")) : (g(), v("a", {
|
|
2275
2286
|
key: 1,
|
|
2276
2287
|
href: t.externalGameResolver(l),
|
|
2277
2288
|
target: t.externalGameResolverTarget,
|
|
2278
2289
|
class: N({ "is-text-dark": l.gameStatus !== 1, "is-text-accent": l.gameStatus === 1 })
|
|
2279
|
-
}, x(l.homeTeamScore) + ":" + x(l.awayTeamScore), 11,
|
|
2290
|
+
}, x(l.homeTeamScore) + ":" + x(l.awayTeamScore), 11, Cs))
|
|
2280
2291
|
]),
|
|
2281
2292
|
"cell-gameResultType": k(({ row: l }) => [
|
|
2282
|
-
l.isOvertime ? (g(), v("span",
|
|
2283
|
-
l.isShootout ? (g(), v("span",
|
|
2284
|
-
l.seriesStandings ? (g(), v("span",
|
|
2293
|
+
l.isOvertime ? (g(), v("span", Gs, x(h(c)("common.overtimeShort")), 1)) : S("", !0),
|
|
2294
|
+
l.isShootout ? (g(), v("span", Es, x(h(c)("common.shootoutShort")), 1)) : S("", !0),
|
|
2295
|
+
l.seriesStandings ? (g(), v("span", Rs, x(l.seriesStandings), 1)) : S("", !0)
|
|
2285
2296
|
]),
|
|
2286
2297
|
loading: k(() => [
|
|
2287
2298
|
C(ge)
|
|
@@ -2294,7 +2305,7 @@ const Yn = { render: Un }, Zn = { class: "is-team-name-long" }, Xn = { class: "i
|
|
|
2294
2305
|
b("a", {
|
|
2295
2306
|
href: t.externalPlayerResolver(l),
|
|
2296
2307
|
target: "_blank"
|
|
2297
|
-
}, x(l.name), 9,
|
|
2308
|
+
}, x(l.name), 9, $s)
|
|
2298
2309
|
]),
|
|
2299
2310
|
key: "0"
|
|
2300
2311
|
} : void 0
|
|
@@ -2303,7 +2314,7 @@ const Yn = { render: Un }, Zn = { class: "is-team-name-long" }, Xn = { class: "i
|
|
|
2303
2314
|
_: 1
|
|
2304
2315
|
}));
|
|
2305
2316
|
}
|
|
2306
|
-
},
|
|
2317
|
+
}, Vs = { class: "timezone-selector" }, Ls = ["onClick"], Qs = {
|
|
2307
2318
|
__name: "TimezoneSelector",
|
|
2308
2319
|
props: {
|
|
2309
2320
|
locale: {
|
|
@@ -2317,12 +2328,12 @@ const Yn = { render: Un }, Zn = { class: "is-team-name-long" }, Xn = { class: "i
|
|
|
2317
2328
|
},
|
|
2318
2329
|
emits: ["change"],
|
|
2319
2330
|
setup(t, { emit: e }) {
|
|
2320
|
-
const o = t, n = e, { t: s } = Z(),
|
|
2331
|
+
const o = t, n = e, { t: s } = Z(), r = O(() => yt(/* @__PURE__ */ new Date(), null, o.locale)), i = je(), c = O(() => Array.from(Fe.values()).map((d) => ({
|
|
2321
2332
|
...d,
|
|
2322
2333
|
isActive: yt(/* @__PURE__ */ new Date(), o.currentZone, o.locale) === yt(/* @__PURE__ */ new Date(), d.timezone, o.locale),
|
|
2323
2334
|
zoneOffsetName: yt(/* @__PURE__ */ new Date(), d.timezone, o.locale)
|
|
2324
2335
|
}))), f = (d) => n("change", d);
|
|
2325
|
-
return (d, a) => (g(), v("div",
|
|
2336
|
+
return (d, a) => (g(), v("div", Vs, [
|
|
2326
2337
|
C(h(Me), {
|
|
2327
2338
|
path: "common.selectTimezone",
|
|
2328
2339
|
tag: "span"
|
|
@@ -2330,8 +2341,8 @@ const Yn = { render: Un }, Zn = { class: "is-team-name-long" }, Xn = { class: "i
|
|
|
2330
2341
|
timezone: k(() => [
|
|
2331
2342
|
b("a", {
|
|
2332
2343
|
href: "#",
|
|
2333
|
-
onClick: a[0] || (a[0] =
|
|
2334
|
-
}, x(
|
|
2344
|
+
onClick: a[0] || (a[0] = rt((u) => f(h(i)), ["prevent"]))
|
|
2345
|
+
}, x(r.value), 1)
|
|
2335
2346
|
]),
|
|
2336
2347
|
_: 1
|
|
2337
2348
|
}),
|
|
@@ -2339,26 +2350,26 @@ const Yn = { render: Un }, Zn = { class: "is-team-name-long" }, Xn = { class: "i
|
|
|
2339
2350
|
key: u.countryLabelKey,
|
|
2340
2351
|
href: "#",
|
|
2341
2352
|
class: N({ "is-active": u.isActive }),
|
|
2342
|
-
onClick:
|
|
2343
|
-
}, x(h(s)(`common.${u.countryLabelKey}`)) + " (" + x(u.zoneOffsetName) + ") ", 11,
|
|
2353
|
+
onClick: rt((w) => f(u.timezone), ["prevent"])
|
|
2354
|
+
}, x(h(s)(`common.${u.countryLabelKey}`)) + " (" + x(u.zoneOffsetName) + ") ", 11, Ls))), 128))
|
|
2344
2355
|
]));
|
|
2345
2356
|
}
|
|
2346
2357
|
};
|
|
2347
2358
|
export {
|
|
2348
|
-
|
|
2349
|
-
|
|
2359
|
+
Js as I,
|
|
2360
|
+
Ws as _,
|
|
2350
2361
|
oo as a,
|
|
2351
2362
|
he as b,
|
|
2352
|
-
|
|
2353
|
-
|
|
2354
|
-
|
|
2363
|
+
Ks as c,
|
|
2364
|
+
qs as d,
|
|
2365
|
+
js as e,
|
|
2355
2366
|
pe as f,
|
|
2356
2367
|
nt as g,
|
|
2357
2368
|
ge as h,
|
|
2358
|
-
|
|
2369
|
+
Us as i,
|
|
2359
2370
|
ye as j,
|
|
2360
|
-
|
|
2361
|
-
|
|
2362
|
-
|
|
2363
|
-
|
|
2371
|
+
Ys as k,
|
|
2372
|
+
Zs as l,
|
|
2373
|
+
Xs as m,
|
|
2374
|
+
Qs as n
|
|
2364
2375
|
};
|