@mjsz-vbr-elements/extended 2.31.1 → 2.32.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/index.iife.js +2 -2
- package/dist/index.iife.js.br +0 -0
- package/dist/index.iife.js.gz +0 -0
- package/dist/index.js +221 -221
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* name: @mjsz-vbr-elements/extended
|
|
3
|
-
* version: v2.
|
|
3
|
+
* version: v2.32.0 - 11/11/2025, 12:46:32
|
|
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 { shallowRef as H, isRef as ce, watch as X, shallowReadonly as Ct, ref as K, toValue as G, getCurrentScope as oa, onScopeDispose as ra, onMounted as Be, nextTick as ze, readonly as Tt, getCurrentInstance as nt, toRef as Nt, customRef as ia, reactive as ne, computed as T, unref as r, toRefs as na, renderSlot as
|
|
8
|
+
import { shallowRef as H, isRef as ce, watch as X, shallowReadonly as Ct, ref as K, toValue as G, getCurrentScope as oa, onScopeDispose as ra, onMounted as Be, nextTick as ze, readonly as Tt, getCurrentInstance as nt, toRef as Nt, customRef as ia, reactive as ne, computed as T, unref as r, toRefs as na, renderSlot as fe, normalizeProps as Ie, guardReactiveProps as Ce, createElementBlock as y, openBlock as m, createElementVNode as s, normalizeClass as j, createTextVNode as W, createCommentVNode as D, toDisplayString as u, Fragment as R, createVNode as _, createBlock as P, withCtx as E, renderList as V, Transition as Et, useTemplateRef as sa, provide as la, useId as ca, inject as da, onUnmounted as ga, triggerRef as ma, setBlockTracking as Pe, isMemoSame as pa, withDirectives as ua, vModelText as va, mergeProps as Lt, toHandlers as ba, withModifiers as ha, resolveDynamicComponent as fa, defineCustomElement as de } from "vue";
|
|
9
9
|
import { currentWeekStartEnd as vt, subtractDays as Dt, addDays as Pt, isBefore as st, isAfter as lt, startOfMonth as Xe, endOfMonth as Ze, rawConvert as wa, convertGamePeriodResults as ya, gameProps as Mt, COLUMNS_STANDINGS_SHORT as xa } from "@mjsz-vbr-elements/core";
|
|
10
|
-
import { Image as se, I18NProvider as ge, ErrorProvider as Te, ErrorNotice as ke, LoadingIndicator as Fe, FetchMoreObserver as ka, BaseSelect as
|
|
10
|
+
import { Image as se, I18NProvider as ge, ErrorProvider as Te, ErrorNotice as ke, LoadingIndicator as Fe, FetchMoreObserver as ka, BaseSelect as ye, StatisticsTable as At, Paginator as Rt, AdditionalStandingsText as je, ResponsiveTable as Gt, DataTable as _a, FloatingPanel as za } from "@mjsz-vbr-elements/core/components";
|
|
11
11
|
import { format as F, convert as Ne, isBefore as Sa, head as te, isAfter as jt, last as $a, offsetName as He, getLocalTimezone as We, externalGameLinkResolver as Je, filterAndSortSections as Ot, sortByPhaseId as Yt, WidgetError as Kt, InvalidSeasonName as Oe, convertSeasons as Vt, sortGames as Ut, convertPhaseName as Ia, rawConvert as Ca, playerName as Ta, teamName as Na, scheduleOptionalRowClass as Ea, convertTimesMinToMinSec as La, convertTimesSecToMin as Da, externalTeamLinkResolver as Pa, isEmpty as at, sortByDomNode as Ma, prop as Aa, pick as Ra, omit as Bt, selectFirstSectionId as Ga, path as Ft, pipe as ja, sum as bt } from "@mjsz-vbr-elements/core/utils";
|
|
12
12
|
import { useError as Ee, useServices as J, useI18n as ie, useSort as Oa, usePage as Ht, useLazyLoadingState as Ya, fetchVBRData as Ka, useVisibilityChange as Va, useErrorProvider as Ua, useColumns as Ba } from "@mjsz-vbr-elements/core/composables";
|
|
13
13
|
import { COLUMNS_SCHEDULE as Wt, COLUMNS_STANDINGS_P_PER as Fa, COLUMNS_STANDINGS_P_3 as Ha, COLUMNS_FIELD_PLAYERS as Me, COLUMNS_FIELD_PLAYERS_PENALTY as Wa, COLUMNS_GOALIES as ht, COLUMNS_TEAMS_FAIRPLAY as Ja, COLUMNS_TEAMS_PENALTY_KILLING as qa, COLUMNS_TEAMS_POWERPLAY as Qa, COLUMNS_SCORING_EFFICIENCY as Xa } from "@mjsz-vbr-elements/core/columns";
|
|
@@ -34,7 +34,7 @@ const Za = "Schedule", eo = "Application form", to = { report: "Report", video:
|
|
|
34
34
|
gamesTimeline: ho,
|
|
35
35
|
countdown: fo,
|
|
36
36
|
recruitmentInfo: wo
|
|
37
|
-
},
|
|
37
|
+
}, he = "gamesPlayed", Se = "todaysGames", $e = "nextGames", Ye = "weekGames";
|
|
38
38
|
function yo(e, t) {
|
|
39
39
|
return t.value = { firstGame: e.firstGame, lastGame: e.lastGame }, wa(e.games, ya);
|
|
40
40
|
}
|
|
@@ -43,7 +43,7 @@ const U = /* @__PURE__ */ new Date(), Ae = (/* @__PURE__ */ new Map()).set(Se, (
|
|
|
43
43
|
max: vt().endDate,
|
|
44
44
|
month: null,
|
|
45
45
|
id: null
|
|
46
|
-
})).set(
|
|
46
|
+
})).set(he, (e = null) => {
|
|
47
47
|
const { year: t, month: a } = ft(e);
|
|
48
48
|
return {
|
|
49
49
|
min: wt(new Date(t, a, 1), !0),
|
|
@@ -57,7 +57,7 @@ const U = /* @__PURE__ */ new Date(), Ae = (/* @__PURE__ */ new Map()).set(Se, (
|
|
|
57
57
|
max: yt(new Date(t, a, 1)),
|
|
58
58
|
id: `${t}-${a}`
|
|
59
59
|
};
|
|
60
|
-
}), xo = (/* @__PURE__ */ new Map()).set(Se, () => []).set(
|
|
60
|
+
}), xo = (/* @__PURE__ */ new Map()).set(Se, () => []).set(he, (e, t) => ko(Dt(U, 1), e, t)).set($e, (e, t) => _o(Pt(U, 1), e, t)).set(Ye, () => []);
|
|
61
61
|
function ko(e, t, a) {
|
|
62
62
|
return st(e, t) ? [] : lt(e, a) ? [t, a] : [t, e];
|
|
63
63
|
}
|
|
@@ -69,13 +69,13 @@ function zo(e, t, a, o = "hu") {
|
|
|
69
69
|
const i = [], l = e;
|
|
70
70
|
for (; l.getTime() <= t.getTime(); ) {
|
|
71
71
|
const n = l.toLocaleString(o, { month: "short" });
|
|
72
|
-
|
|
72
|
+
g(n), l.setDate(1), l.setMonth(l.getMonth() + 1);
|
|
73
73
|
}
|
|
74
74
|
if (l.getMonth() === t.getMonth()) {
|
|
75
75
|
const n = t.toLocaleString(o, { month: "short" });
|
|
76
|
-
|
|
76
|
+
g(n);
|
|
77
77
|
}
|
|
78
|
-
function
|
|
78
|
+
function g(n) {
|
|
79
79
|
i.findIndex((d) => d.name === n) === -1 && i.push({
|
|
80
80
|
id: `${l.getFullYear()}-${l.getMonth()}`,
|
|
81
81
|
name: n
|
|
@@ -129,12 +129,12 @@ function No(e, t = {}) {
|
|
|
129
129
|
const l = (d) => {
|
|
130
130
|
clearTimeout(d), i(), i = B;
|
|
131
131
|
};
|
|
132
|
-
let
|
|
132
|
+
let g;
|
|
133
133
|
return (d) => {
|
|
134
134
|
const c = G(e), p = G(t.maxWait);
|
|
135
135
|
return a && l(a), c <= 0 || p !== void 0 && p <= 0 ? (o && (l(o), o = void 0), Promise.resolve(d())) : new Promise((b, w) => {
|
|
136
|
-
i = t.rejectOnCancel ? w : b,
|
|
137
|
-
a && l(a), o = void 0, b(
|
|
136
|
+
i = t.rejectOnCancel ? w : b, g = d, p && !o && (o = setTimeout(() => {
|
|
137
|
+
a && l(a), o = void 0, b(g());
|
|
138
138
|
}, p)), a = setTimeout(() => {
|
|
139
139
|
o && l(o), o = void 0, b(d());
|
|
140
140
|
}, c);
|
|
@@ -142,13 +142,13 @@ function No(e, t = {}) {
|
|
|
142
142
|
};
|
|
143
143
|
}
|
|
144
144
|
function Eo(...e) {
|
|
145
|
-
let t = 0, a, o = !0, i = B, l,
|
|
146
|
-
!ce(e[0]) && typeof e[0] == "object" ? { delay:
|
|
145
|
+
let t = 0, a, o = !0, i = B, l, g, n, d, c;
|
|
146
|
+
!ce(e[0]) && typeof e[0] == "object" ? { delay: g, trailing: n = !0, leading: d = !0, rejectOnCancel: c = !1 } = e[0] : [g, n = !0, d = !0, c = !1] = e;
|
|
147
147
|
const p = () => {
|
|
148
148
|
a && (clearTimeout(a), a = void 0, i(), i = B);
|
|
149
149
|
};
|
|
150
150
|
return (w) => {
|
|
151
|
-
const v = G(
|
|
151
|
+
const v = G(g), k = Date.now() - t, f = () => l = w();
|
|
152
152
|
return p(), v <= 0 ? (t = Date.now(), f()) : (k > v && (d || !o) ? (t = Date.now(), f()) : n && (l = new Promise(($, z) => {
|
|
153
153
|
i = c ? z : $, a = setTimeout(() => {
|
|
154
154
|
t = Date.now(), o = !0, $(f()), p();
|
|
@@ -166,10 +166,10 @@ function Lo(e = Jt, t = {}) {
|
|
|
166
166
|
function l() {
|
|
167
167
|
o.value = !0;
|
|
168
168
|
}
|
|
169
|
-
const
|
|
169
|
+
const g = (...n) => {
|
|
170
170
|
o.value && e(...n);
|
|
171
171
|
};
|
|
172
|
-
return { isActive: Tt(o), pause: i, resume: l, eventFilter:
|
|
172
|
+
return { isActive: Tt(o), pause: i, resume: l, eventFilter: g };
|
|
173
173
|
}
|
|
174
174
|
function rt(e, t = !1, a = "Timeout") {
|
|
175
175
|
return new Promise((o, i) => {
|
|
@@ -219,13 +219,13 @@ function Ro(e, t, a = {}) {
|
|
|
219
219
|
eventFilter: o,
|
|
220
220
|
initialState: i = "active",
|
|
221
221
|
...l
|
|
222
|
-
} = a, { eventFilter:
|
|
222
|
+
} = a, { eventFilter: g, pause: n, resume: d, isActive: c } = Lo(o, { initialState: i });
|
|
223
223
|
return { stop: Ao(
|
|
224
224
|
e,
|
|
225
225
|
t,
|
|
226
226
|
{
|
|
227
227
|
...l,
|
|
228
|
-
eventFilter:
|
|
228
|
+
eventFilter: g
|
|
229
229
|
}
|
|
230
230
|
), pause: n, resume: d, isActive: c };
|
|
231
231
|
}
|
|
@@ -280,7 +280,7 @@ function it(e, t = !1) {
|
|
|
280
280
|
function l(b) {
|
|
281
281
|
return o(null, b);
|
|
282
282
|
}
|
|
283
|
-
function
|
|
283
|
+
function g(b) {
|
|
284
284
|
return o(void 0, b);
|
|
285
285
|
}
|
|
286
286
|
function n(b) {
|
|
@@ -313,7 +313,7 @@ function it(e, t = !1) {
|
|
|
313
313
|
toBeTruthy: i,
|
|
314
314
|
toBeNull: l,
|
|
315
315
|
toBeNaN: n,
|
|
316
|
-
toBeUndefined:
|
|
316
|
+
toBeUndefined: g,
|
|
317
317
|
changed: c,
|
|
318
318
|
changedTimes: p,
|
|
319
319
|
get not() {
|
|
@@ -330,25 +330,25 @@ function Ve(e, t = 1e3, a = {}) {
|
|
|
330
330
|
immediateCallback: i = !1
|
|
331
331
|
} = a;
|
|
332
332
|
let l = null;
|
|
333
|
-
const
|
|
333
|
+
const g = H(!1);
|
|
334
334
|
function n() {
|
|
335
335
|
l && (clearInterval(l), l = null);
|
|
336
336
|
}
|
|
337
337
|
function d() {
|
|
338
|
-
|
|
338
|
+
g.value = !1, n();
|
|
339
339
|
}
|
|
340
340
|
function c() {
|
|
341
341
|
const p = G(t);
|
|
342
|
-
p <= 0 || (
|
|
342
|
+
p <= 0 || (g.value = !0, i && e(), n(), g.value && (l = setInterval(e, p)));
|
|
343
343
|
}
|
|
344
344
|
if (o && ot && c(), ce(t) || typeof t == "function") {
|
|
345
345
|
const p = X(t, () => {
|
|
346
|
-
|
|
346
|
+
g.value && ot && c();
|
|
347
347
|
});
|
|
348
348
|
Ke(p);
|
|
349
349
|
}
|
|
350
350
|
return Ke(d), {
|
|
351
|
-
isActive: Ct(
|
|
351
|
+
isActive: Ct(g),
|
|
352
352
|
pause: d,
|
|
353
353
|
resume: c
|
|
354
354
|
};
|
|
@@ -399,10 +399,10 @@ function Ue(...e) {
|
|
|
399
399
|
);
|
|
400
400
|
},
|
|
401
401
|
{ flush: "post" }
|
|
402
|
-
),
|
|
402
|
+
), g = () => {
|
|
403
403
|
l(), a();
|
|
404
404
|
};
|
|
405
|
-
return Ke(a),
|
|
405
|
+
return Ke(a), g;
|
|
406
406
|
}
|
|
407
407
|
function Yo() {
|
|
408
408
|
const e = H(!1), t = nt();
|
|
@@ -417,7 +417,7 @@ function Ko(e) {
|
|
|
417
417
|
function Vo(e, t, a = {}) {
|
|
418
418
|
const { window: o = qe, ...i } = a;
|
|
419
419
|
let l;
|
|
420
|
-
const
|
|
420
|
+
const g = Ko(() => o && "MutationObserver" in o), n = () => {
|
|
421
421
|
l && (l.disconnect(), l = void 0);
|
|
422
422
|
}, d = T(() => {
|
|
423
423
|
const w = G(e), v = Re(w).map(be).filter($o);
|
|
@@ -425,14 +425,14 @@ function Vo(e, t, a = {}) {
|
|
|
425
425
|
}), c = X(
|
|
426
426
|
() => d.value,
|
|
427
427
|
(w) => {
|
|
428
|
-
n(),
|
|
428
|
+
n(), g.value && w.size && (l = new MutationObserver(t), w.forEach((v) => l.observe(v, i)));
|
|
429
429
|
},
|
|
430
430
|
{ immediate: !0, flush: "post" }
|
|
431
431
|
), p = () => l?.takeRecords(), b = () => {
|
|
432
432
|
c(), n();
|
|
433
433
|
};
|
|
434
434
|
return Ke(b), {
|
|
435
|
-
isSupported:
|
|
435
|
+
isSupported: g,
|
|
436
436
|
stop: b,
|
|
437
437
|
takeRecords: p
|
|
438
438
|
};
|
|
@@ -443,12 +443,12 @@ function xe(e, t) {
|
|
|
443
443
|
onError: o = B,
|
|
444
444
|
onFinished: i = B,
|
|
445
445
|
signal: l
|
|
446
|
-
} = {},
|
|
446
|
+
} = {}, g = {
|
|
447
447
|
aborted: "aborted",
|
|
448
448
|
fulfilled: "fulfilled",
|
|
449
449
|
pending: "pending",
|
|
450
450
|
rejected: "rejected"
|
|
451
|
-
}, n = Array.from(Array.from({ length: e.length }), () => ({ state:
|
|
451
|
+
}, n = Array.from(Array.from({ length: e.length }), () => ({ state: g.pending, data: null })), d = ne(n), c = H(-1);
|
|
452
452
|
if (!e || e.length === 0)
|
|
453
453
|
return i(), {
|
|
454
454
|
activeIndex: c,
|
|
@@ -460,16 +460,16 @@ function xe(e, t) {
|
|
|
460
460
|
return e.reduce((b, w) => b.then((v) => {
|
|
461
461
|
var k;
|
|
462
462
|
if (l?.aborted) {
|
|
463
|
-
p(
|
|
463
|
+
p(g.aborted, new Error("aborted"));
|
|
464
464
|
return;
|
|
465
465
|
}
|
|
466
|
-
if (((k = d[c.value]) == null ? void 0 : k.state) ===
|
|
466
|
+
if (((k = d[c.value]) == null ? void 0 : k.state) === g.rejected && a) {
|
|
467
467
|
i();
|
|
468
468
|
return;
|
|
469
469
|
}
|
|
470
|
-
const f = w(v).then(($) => (p(
|
|
470
|
+
const f = w(v).then(($) => (p(g.fulfilled, $), c.value === e.length - 1 && i(), $));
|
|
471
471
|
return l ? Promise.race([f, Uo(l)]) : f;
|
|
472
|
-
}).catch((v) => l?.aborted ? (p(
|
|
472
|
+
}).catch((v) => l?.aborted ? (p(g.aborted, v), v) : (p(g.rejected, v), o(), v)), Promise.resolve()), {
|
|
473
473
|
activeIndex: c,
|
|
474
474
|
result: d
|
|
475
475
|
};
|
|
@@ -485,7 +485,7 @@ function Bo(e, t, a) {
|
|
|
485
485
|
immediate: o = !0,
|
|
486
486
|
delay: i = 0,
|
|
487
487
|
onError: l = B,
|
|
488
|
-
onSuccess:
|
|
488
|
+
onSuccess: g = B,
|
|
489
489
|
resetOnExecute: n = !0,
|
|
490
490
|
shallow: d = !0,
|
|
491
491
|
throwError: c
|
|
@@ -495,7 +495,7 @@ function Bo(e, t, a) {
|
|
|
495
495
|
const x = typeof e == "function" ? e(...C) : e;
|
|
496
496
|
try {
|
|
497
497
|
const h = await x;
|
|
498
|
-
p.value = h, b.value = !0,
|
|
498
|
+
p.value = h, b.value = !0, g(h);
|
|
499
499
|
} catch (h) {
|
|
500
500
|
if (v.value = h, l(h), c)
|
|
501
501
|
throw h;
|
|
@@ -535,7 +535,7 @@ function Ho(e, t = {}) {
|
|
|
535
535
|
idle: o = 200,
|
|
536
536
|
onStop: i = B,
|
|
537
537
|
onScroll: l = B,
|
|
538
|
-
offset:
|
|
538
|
+
offset: g = {
|
|
539
539
|
left: 0,
|
|
540
540
|
right: 0,
|
|
541
541
|
top: 0,
|
|
@@ -603,11 +603,11 @@ function Ho(e, t = {}) {
|
|
|
603
603
|
return;
|
|
604
604
|
const O = ((Y = N?.document) == null ? void 0 : Y.documentElement) || N?.documentElement || be(N), { display: Z, flexDirection: oe, direction: M } = getComputedStyle(O), A = M === "rtl" ? -1 : 1, re = O.scrollLeft;
|
|
605
605
|
h.left = re < v.value, h.right = re > v.value;
|
|
606
|
-
const De = Math.abs(re * A) <= (
|
|
606
|
+
const De = Math.abs(re * A) <= (g.left || 0), ae = Math.abs(re * A) + O.clientWidth >= O.scrollWidth - (g.right || 0) - xt;
|
|
607
607
|
Z === "flex" && oe === "row-reverse" ? (x.left = ae, x.right = De) : (x.left = De, x.right = ae), v.value = re;
|
|
608
608
|
let le = O.scrollTop;
|
|
609
609
|
N === p.document && !le && (le = p.document.body.scrollTop), h.top = le < k.value, h.bottom = le > k.value;
|
|
610
|
-
const pt = Math.abs(le) <= (
|
|
610
|
+
const pt = Math.abs(le) <= (g.top || 0), ut = Math.abs(le) + O.clientHeight >= O.scrollHeight - (g.bottom || 0) - xt;
|
|
611
611
|
Z === "flex" && oe === "column-reverse" ? (x.top = ut, x.bottom = pt) : (x.top = pt, x.bottom = ut), k.value = le;
|
|
612
612
|
}, q = (N) => {
|
|
613
613
|
var Y;
|
|
@@ -664,7 +664,7 @@ function Qt(e = "history", t = {}) {
|
|
|
664
664
|
removeNullishValues: o = !0,
|
|
665
665
|
removeFalsyValues: i = !1,
|
|
666
666
|
write: l = !0,
|
|
667
|
-
writeMode:
|
|
667
|
+
writeMode: g = "replace",
|
|
668
668
|
window: n = qe,
|
|
669
669
|
stringify: d = (h) => h.toString()
|
|
670
670
|
} = t;
|
|
@@ -712,7 +712,7 @@ function Qt(e = "history", t = {}) {
|
|
|
712
712
|
{ deep: !0 }
|
|
713
713
|
);
|
|
714
714
|
function $(h, S) {
|
|
715
|
-
k(), S && v(h),
|
|
715
|
+
k(), S && v(h), g === "replace" ? n.history.replaceState(
|
|
716
716
|
n.history.state,
|
|
717
717
|
n.document.title,
|
|
718
718
|
n.location.pathname + b(h)
|
|
@@ -731,7 +731,7 @@ function Qt(e = "history", t = {}) {
|
|
|
731
731
|
return x.keys().next().value ? v(x) : Object.assign(c, a), c;
|
|
732
732
|
}
|
|
733
733
|
function Wo(e, t, a, o = {}) {
|
|
734
|
-
var i, l,
|
|
734
|
+
var i, l, g;
|
|
735
735
|
const {
|
|
736
736
|
clone: n = !1,
|
|
737
737
|
passive: d = !1,
|
|
@@ -739,7 +739,7 @@ function Wo(e, t, a, o = {}) {
|
|
|
739
739
|
deep: p = !1,
|
|
740
740
|
defaultValue: b,
|
|
741
741
|
shouldEmit: w
|
|
742
|
-
} = o, v = nt(), k = a || v?.emit || ((i = v?.$emit) == null ? void 0 : i.bind(v)) || ((
|
|
742
|
+
} = o, v = nt(), k = a || v?.emit || ((i = v?.$emit) == null ? void 0 : i.bind(v)) || ((g = (l = v?.proxy) == null ? void 0 : l.$emit) == null ? void 0 : g.bind(v?.proxy));
|
|
743
743
|
let f = c;
|
|
744
744
|
t || (t = "modelValue"), f = f || `update:${t.toString()}`;
|
|
745
745
|
const $ = (x) => n ? typeof n == "function" ? n(x) : Fo(x) : x, z = () => So(e[t]) ? $(e[t]) : b, C = (x) => {
|
|
@@ -802,7 +802,7 @@ const kt = 20, Jo = {
|
|
|
802
802
|
}
|
|
803
803
|
},
|
|
804
804
|
setup(e) {
|
|
805
|
-
const t = e, { timezone: a, locale: o } = na(t), { onError: i } = Ee(), l = Qt("history"),
|
|
805
|
+
const t = e, { timezone: a, locale: o } = na(t), { onError: i } = Ee(), l = Qt("history"), g = K(l.panel || Se), n = K(null), d = K(0), c = H({
|
|
806
806
|
firstGame: U,
|
|
807
807
|
lastGame: U
|
|
808
808
|
}), p = H({
|
|
@@ -826,16 +826,16 @@ const kt = 20, Jo = {
|
|
|
826
826
|
transform: (h) => yo(h, c),
|
|
827
827
|
onError: i
|
|
828
828
|
}), k = T(
|
|
829
|
-
() => Ne(b.value).schedule(a.value, o.value).more(0, d.value * kt + kt).groupByDays().value()
|
|
829
|
+
() => Ne(b.value).reverse(g.value === he).schedule(a.value, o.value).more(0, d.value * kt + kt).groupByDays().value()
|
|
830
830
|
), f = T(
|
|
831
831
|
() => zo(
|
|
832
|
-
...xo.get(
|
|
833
|
-
|
|
832
|
+
...xo.get(g.value)(c.value.firstGame, c.value.lastGame),
|
|
833
|
+
g.value === he,
|
|
834
834
|
o.value
|
|
835
835
|
)
|
|
836
836
|
);
|
|
837
837
|
X(
|
|
838
|
-
|
|
838
|
+
g,
|
|
839
839
|
async (h) => {
|
|
840
840
|
const { min: S, max: I, id: L } = Ae.get(h)(l.month);
|
|
841
841
|
p.value = { min: F(S, "YYYY-MM-DD"), max: F(I, "YYYY-MM-DD") }, n.value = L, await v(), l.month || x();
|
|
@@ -845,10 +845,10 @@ const kt = 20, Jo = {
|
|
|
845
845
|
}
|
|
846
846
|
);
|
|
847
847
|
function $(h) {
|
|
848
|
-
|
|
848
|
+
g.value = h, l.panel = h, d.value = 0, l.month = null;
|
|
849
849
|
}
|
|
850
850
|
function z(h) {
|
|
851
|
-
const { min: S, max: I, id: L } = Ae.get(
|
|
851
|
+
const { min: S, max: I, id: L } = Ae.get(g.value)(h.id);
|
|
852
852
|
n.value = L, l.month = L, p.value = {
|
|
853
853
|
min: F(S, "YYYY-MM-DD"),
|
|
854
854
|
max: F(I, "YYYY-MM-DD")
|
|
@@ -858,25 +858,25 @@ const kt = 20, Jo = {
|
|
|
858
858
|
d.value += 1;
|
|
859
859
|
}
|
|
860
860
|
function x() {
|
|
861
|
-
if (![
|
|
861
|
+
if (![he, $e].includes(g.value))
|
|
862
862
|
return;
|
|
863
863
|
const { firstGame: h, lastGame: S } = c.value;
|
|
864
864
|
if (Sa(U, h)) {
|
|
865
|
-
const { min: I, max: L, id: q } = Ae.get(
|
|
865
|
+
const { min: I, max: L, id: q } = Ae.get(g.value)(te(f.value)?.id);
|
|
866
866
|
return p.value = { min: F(I, "YYYY-MM-DD"), max: F(L, "YYYY-MM-DD") }, n.value = q, v();
|
|
867
867
|
}
|
|
868
868
|
if (jt(U, S)) {
|
|
869
|
-
const { min: I, max: L, id: q } = Ae.get(
|
|
869
|
+
const { min: I, max: L, id: q } = Ae.get(g.value)($a(f.value)?.id);
|
|
870
870
|
p.value = { min: F(I, "YYYY-MM-DD"), max: F(L, "YYYY-MM-DD") }, n.value = q, v();
|
|
871
871
|
}
|
|
872
872
|
}
|
|
873
|
-
return (h, S) =>
|
|
873
|
+
return (h, S) => fe(h.$slots, "default", Ie(Ce({
|
|
874
874
|
today: r(U),
|
|
875
875
|
months: f.value,
|
|
876
876
|
isLoading: r(w),
|
|
877
877
|
datesFilter: p.value,
|
|
878
878
|
selectedMonth: n.value,
|
|
879
|
-
selectedPanel:
|
|
879
|
+
selectedPanel: g.value,
|
|
880
880
|
games: k.value,
|
|
881
881
|
more: C,
|
|
882
882
|
setMonth: z,
|
|
@@ -893,7 +893,7 @@ const kt = 20, Jo = {
|
|
|
893
893
|
"stroke-linejoin": "round"
|
|
894
894
|
};
|
|
895
895
|
function Qo(e, t) {
|
|
896
|
-
return
|
|
896
|
+
return m(), y("svg", qo, [...t[0] || (t[0] = [
|
|
897
897
|
s("rect", {
|
|
898
898
|
x: "2",
|
|
899
899
|
y: "3",
|
|
@@ -926,7 +926,7 @@ const Xo = { render: Qo }, Zo = {
|
|
|
926
926
|
"stroke-linejoin": "round"
|
|
927
927
|
};
|
|
928
928
|
function er(e, t) {
|
|
929
|
-
return
|
|
929
|
+
return m(), y("svg", Zo, [...t[0] || (t[0] = [
|
|
930
930
|
s("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),
|
|
931
931
|
s("polygon", { points: "9.75 15.02 15.5 11.75 9.75 8.48 9.75 15.02" }, null, -1)
|
|
932
932
|
])]);
|
|
@@ -972,7 +972,7 @@ const tr = { render: er }, ar = { class: "is-info is-text-sm" }, or = ["href"],
|
|
|
972
972
|
},
|
|
973
973
|
setup(e) {
|
|
974
974
|
const { t } = ie();
|
|
975
|
-
return (a, o) => (
|
|
975
|
+
return (a, o) => (m(), y("div", {
|
|
976
976
|
class: j(["card-item", { "is-optional": e.game.optional }])
|
|
977
977
|
}, [
|
|
978
978
|
s("div", ar, [
|
|
@@ -980,12 +980,12 @@ const tr = { render: er }, ar = { class: "is-info is-text-sm" }, or = ["href"],
|
|
|
980
980
|
href: e.gameLink(e.game)
|
|
981
981
|
}, u(e.game.gameName), 9, or),
|
|
982
982
|
W(" - " + u(e.game.championshipName) + " - " + u(e.game.divisionName) + " - " + u(e.game.location.locationName) + " ", 1),
|
|
983
|
-
e.game.broadcast ? (
|
|
983
|
+
e.game.broadcast ? (m(), y(R, { key: 0 }, [
|
|
984
984
|
o[0] || (o[0] = W(" - ", -1)),
|
|
985
985
|
_(r(Xo), { height: "16" }),
|
|
986
986
|
o[1] || (o[1] = W(" ", -1))
|
|
987
987
|
], 64)) : D("", !0),
|
|
988
|
-
e.game.video ? (
|
|
988
|
+
e.game.video ? (m(), y(R, { key: 1 }, [
|
|
989
989
|
o[2] || (o[2] = W(" - ", -1)),
|
|
990
990
|
s("a", {
|
|
991
991
|
href: e.game.video,
|
|
@@ -999,7 +999,7 @@ const tr = { render: er }, ar = { class: "is-info is-text-sm" }, or = ["href"],
|
|
|
999
999
|
s("div", nr, [
|
|
1000
1000
|
s("span", sr, u(e.game.homeTeam.shortName), 1),
|
|
1001
1001
|
s("span", lr, u(e.game.homeTeam.longName), 1),
|
|
1002
|
-
(
|
|
1002
|
+
(m(), P(r(se), {
|
|
1003
1003
|
key: e.game.homeTeam.id,
|
|
1004
1004
|
class: "is-logo-image",
|
|
1005
1005
|
src: e.game.homeTeam.logo
|
|
@@ -1008,20 +1008,20 @@ const tr = { render: er }, ar = { class: "is-info is-text-sm" }, or = ["href"],
|
|
|
1008
1008
|
s("div", {
|
|
1009
1009
|
class: j(["is-game-data", [{ "is-live": e.game.gameStatus === 1 }]])
|
|
1010
1010
|
}, [
|
|
1011
|
-
e.game.gameStatus === 0 ? (
|
|
1011
|
+
e.game.gameStatus === 0 ? (m(), y("span", cr, " - : - ")) : D("", !0),
|
|
1012
1012
|
s("a", {
|
|
1013
1013
|
href: e.gameLink(e.game),
|
|
1014
1014
|
target: e.target
|
|
1015
1015
|
}, [
|
|
1016
|
-
e.game.gameStatus > 0 && e.game.gameStatus < 3 ? (
|
|
1017
|
-
e.game.gameStatus === 3 ? (
|
|
1018
|
-
e.game.gameStatus === 4 ? (
|
|
1016
|
+
e.game.gameStatus > 0 && e.game.gameStatus < 3 ? (m(), y("span", gr, u(e.game.homeTeamScore) + " : " + u(e.game.awayTeamScore), 1)) : D("", !0),
|
|
1017
|
+
e.game.gameStatus === 3 ? (m(), y("span", mr, u(r(t)("game.status.jury")), 1)) : D("", !0),
|
|
1018
|
+
e.game.gameStatus === 4 ? (m(), y("span", pr, u(r(t)("game.status.delayed")), 1)) : D("", !0)
|
|
1019
1019
|
], 8, dr),
|
|
1020
|
-
e.game.gameStatus > 0 ? (
|
|
1020
|
+
e.game.gameStatus > 0 ? (m(), y("div", ur, u(e.game.periodResults), 1)) : D("", !0)
|
|
1021
1021
|
], 2),
|
|
1022
1022
|
s("div", vr, [
|
|
1023
|
-
Array.isArray(e.game.awayTeam) ? (
|
|
1024
|
-
(
|
|
1023
|
+
Array.isArray(e.game.awayTeam) ? (m(), y("span", br, "Torna")) : D("", !0),
|
|
1024
|
+
(m(), P(r(se), {
|
|
1025
1025
|
key: e.game.awayTeam.id,
|
|
1026
1026
|
class: "is-logo-image",
|
|
1027
1027
|
src: e.game.awayTeam.logo
|
|
@@ -1060,15 +1060,15 @@ const tr = { render: er }, ar = { class: "is-info is-text-sm" }, or = ["href"],
|
|
|
1060
1060
|
...Mt
|
|
1061
1061
|
},
|
|
1062
1062
|
setup(e) {
|
|
1063
|
-
const t = e, a = { en: me, hu: pe }, o = K(We()), i = T(() => t.isGameTargetExternal ? "_blank" : "_self"), l = (
|
|
1064
|
-
return (
|
|
1063
|
+
const t = e, a = { en: me, hu: pe }, o = K(We()), i = T(() => t.isGameTargetExternal ? "_blank" : "_self"), l = (g) => Je(t.externalGameResolver || "/game/id/{id}", g);
|
|
1064
|
+
return (g, n) => (m(), P(r(ge), {
|
|
1065
1065
|
locale: t.locale,
|
|
1066
1066
|
messages: a
|
|
1067
1067
|
}, {
|
|
1068
1068
|
default: E(({ t: d }) => [
|
|
1069
1069
|
_(r(Te), null, {
|
|
1070
1070
|
default: E(({ error: c, hasError: p }) => [
|
|
1071
|
-
p ? (
|
|
1071
|
+
p ? (m(), P(r(ke), {
|
|
1072
1072
|
key: 0,
|
|
1073
1073
|
error: c
|
|
1074
1074
|
}, null, 8, ["error"])) : D("", !0),
|
|
@@ -1090,8 +1090,8 @@ const tr = { render: er }, ar = { class: "is-info is-text-sm" }, or = ["href"],
|
|
|
1090
1090
|
}) => [
|
|
1091
1091
|
s("div", xr, [
|
|
1092
1092
|
s("button", {
|
|
1093
|
-
class: j(["tab-button", { "is-active": k === r(
|
|
1094
|
-
onClick: (x) => C(r(
|
|
1093
|
+
class: j(["tab-button", { "is-active": k === r(he) }]),
|
|
1094
|
+
onClick: (x) => C(r(he))
|
|
1095
1095
|
}, u(d("calendar.gamesPlayed")), 11, kr),
|
|
1096
1096
|
s("button", {
|
|
1097
1097
|
class: j(["tab-button", { "is-active": k === r(Se) }]),
|
|
@@ -1107,7 +1107,7 @@ const tr = { render: er }, ar = { class: "is-info is-text-sm" }, or = ["href"],
|
|
|
1107
1107
|
}, u(d("calendar.weekGames")), 11, Sr)
|
|
1108
1108
|
]),
|
|
1109
1109
|
s("div", $r, [
|
|
1110
|
-
(
|
|
1110
|
+
(m(!0), y(R, null, V(w, (x) => (m(), y("button", {
|
|
1111
1111
|
key: x.id,
|
|
1112
1112
|
type: "button",
|
|
1113
1113
|
class: j({ "is-active": f === x.id }),
|
|
@@ -1115,16 +1115,16 @@ const tr = { render: er }, ar = { class: "is-info is-text-sm" }, or = ["href"],
|
|
|
1115
1115
|
onClick: (h) => z(x)
|
|
1116
1116
|
}, u(x.name), 11, Ir))), 128))
|
|
1117
1117
|
]),
|
|
1118
|
-
b.totalItems === 0 && !v ? (
|
|
1118
|
+
b.totalItems === 0 && !v ? (m(), y("div", Cr, u(d("calendar.noGame")), 1)) : D("", !0),
|
|
1119
1119
|
s("div", null, [
|
|
1120
|
-
v ? (
|
|
1121
|
-
(
|
|
1120
|
+
v ? (m(), P(r(Fe), { key: 0 })) : D("", !0),
|
|
1121
|
+
(m(!0), y(R, null, V(b.rows, (x, h) => (m(), y("div", {
|
|
1122
1122
|
key: h,
|
|
1123
1123
|
"data-gamedate": h
|
|
1124
1124
|
}, [
|
|
1125
1125
|
s("span", Nr, u(r(F)(new Date(h), "LL dddd", o.value, e.locale)), 1),
|
|
1126
1126
|
s("div", Er, [
|
|
1127
|
-
(
|
|
1127
|
+
(m(!0), y(R, null, V(x, (S) => (m(), P(wr, {
|
|
1128
1128
|
key: S.id,
|
|
1129
1129
|
game: S,
|
|
1130
1130
|
locale: e.locale,
|
|
@@ -1135,7 +1135,7 @@ const tr = { render: er }, ar = { class: "is-info is-text-sm" }, or = ["href"],
|
|
|
1135
1135
|
])
|
|
1136
1136
|
], 8, Tr))), 128))
|
|
1137
1137
|
]),
|
|
1138
|
-
!v && b.currentItems < b.totalItems ? (
|
|
1138
|
+
!v && b.currentItems < b.totalItems ? (m(), P(r(ka), {
|
|
1139
1139
|
key: 1,
|
|
1140
1140
|
options: { rootMargin: "400px" },
|
|
1141
1141
|
onIntersect: $
|
|
@@ -1155,11 +1155,11 @@ const tr = { render: er }, ar = { class: "is-info is-text-sm" }, or = ["href"],
|
|
|
1155
1155
|
_: 1
|
|
1156
1156
|
}, 8, ["locale"]));
|
|
1157
1157
|
}
|
|
1158
|
-
}, Pr = /* @__PURE__ */ ve(Dr, [["styles", [ue, Qe, Le, yr]]]), _e = "schedule", et = "standings",
|
|
1158
|
+
}, Pr = /* @__PURE__ */ ve(Dr, [["styles", [ue, Qe, Le, yr]]]), _e = "schedule", et = "standings", we = "players", Ge = "teams";
|
|
1159
1159
|
function Mr(e, t, a = null) {
|
|
1160
1160
|
const o = Ot(e);
|
|
1161
1161
|
t.championships = o, t.selectedChampionshipId = t.championships?.[0]?.sectionId;
|
|
1162
|
-
const i = Yt(o?.[0]?.phases ?? []), l = i.findIndex((
|
|
1162
|
+
const i = Yt(o?.[0]?.phases ?? []), l = i.findIndex((g) => g.phaseId === Number(a));
|
|
1163
1163
|
t.phaseId = l > -1 ? Number(a) : i[0]?.phaseId;
|
|
1164
1164
|
}
|
|
1165
1165
|
const Ar = (/* @__PURE__ */ new Map()).set("schedule", {
|
|
@@ -1369,7 +1369,7 @@ const Gr = {
|
|
|
1369
1369
|
columns: Wt,
|
|
1370
1370
|
sort: null,
|
|
1371
1371
|
report: "points"
|
|
1372
|
-
}), i = Nt(t, "timezone"), { onError: l } = Ee(), { sort:
|
|
1372
|
+
}), i = Nt(t, "timezone"), { onError: l } = Ee(), { sort: g, change: n } = Oa({
|
|
1373
1373
|
sortTarget: "",
|
|
1374
1374
|
orders: []
|
|
1375
1375
|
}), { page: d, change: c } = Ht(), { t: p } = ie(), { isLoading: b, execute: w } = J({
|
|
@@ -1404,7 +1404,7 @@ const Gr = {
|
|
|
1404
1404
|
}), C = Ya([v, b, f], { delay: 1e3 });
|
|
1405
1405
|
xe([w, k, z]);
|
|
1406
1406
|
const x = T(
|
|
1407
|
-
() => o.selectedPanel ===
|
|
1407
|
+
() => o.selectedPanel === we ? _t(p) : zt(p)
|
|
1408
1408
|
), h = T(() => {
|
|
1409
1409
|
const M = o.championships.find((A) => A.sectionId === o.selectedChampionshipId);
|
|
1410
1410
|
return Ia(Yt(M?.phases ?? []));
|
|
@@ -1417,7 +1417,7 @@ const Gr = {
|
|
|
1417
1417
|
La(["mip"]),
|
|
1418
1418
|
Da(["dvgTime", "dvgTimePP1", "dvgTimePP2", "advTime", "advTimePP1", "advTimePP2"])
|
|
1419
1419
|
)
|
|
1420
|
-
), L = T(() => Ne(r(I)).sorted(
|
|
1420
|
+
), L = T(() => Ne(r(I)).sorted(g).addContinuousIndex().schedule(r(i), r(t.locale)).pagination(r(d), S.value).value());
|
|
1421
1421
|
function q(M) {
|
|
1422
1422
|
o.championshipId = M, a.championshipId = M, xe([k, z]);
|
|
1423
1423
|
}
|
|
@@ -1430,18 +1430,18 @@ const Gr = {
|
|
|
1430
1430
|
function O(M) {
|
|
1431
1431
|
o.selectedPanel = M;
|
|
1432
1432
|
let A = M;
|
|
1433
|
-
M ===
|
|
1433
|
+
M === we && (A = te(_t(B))?.value), M === Ge && (A = te(zt(B))?.value), o.report = A, oe(A);
|
|
1434
1434
|
}
|
|
1435
1435
|
function Z(M) {
|
|
1436
1436
|
oe(M);
|
|
1437
1437
|
}
|
|
1438
1438
|
function oe(M) {
|
|
1439
1439
|
const A = Ar.get(M);
|
|
1440
|
-
o.api = A.api, o.apiParams = A.params, o.columns = A.columns(t.allPeriodVisible),
|
|
1440
|
+
o.api = A.api, o.apiParams = A.params, o.columns = A.columns(t.allPeriodVisible), g.sortTarget = A.sort?.sortTarget ?? "", g.orders = A.sort?.orders ?? [], z(), c(1);
|
|
1441
1441
|
}
|
|
1442
|
-
return (M, A) =>
|
|
1442
|
+
return (M, A) => fe(M.$slots, "default", Ie(Ce({
|
|
1443
1443
|
...o,
|
|
1444
|
-
sort: r(
|
|
1444
|
+
sort: r(g),
|
|
1445
1445
|
page: r(d),
|
|
1446
1446
|
phases: h.value,
|
|
1447
1447
|
isLoading: r(C),
|
|
@@ -1474,16 +1474,16 @@ const Gr = {
|
|
|
1474
1474
|
emits: ["update:championshipId"],
|
|
1475
1475
|
setup(e, { emit: t }) {
|
|
1476
1476
|
const a = e, o = t, { t: i } = ie(), { championshipId: l } = dt(a, o);
|
|
1477
|
-
return (
|
|
1477
|
+
return (g, n) => (m(), y("div", jr, [
|
|
1478
1478
|
s("div", null, [
|
|
1479
1479
|
s("label", Or, u(r(i)("selection.season")), 1),
|
|
1480
|
-
_(r(
|
|
1480
|
+
_(r(ye), {
|
|
1481
1481
|
id: "season",
|
|
1482
1482
|
modelValue: r(l),
|
|
1483
1483
|
"onUpdate:modelValue": n[0] || (n[0] = (d) => ce(l) ? l.value = d : null)
|
|
1484
1484
|
}, {
|
|
1485
1485
|
default: E(() => [
|
|
1486
|
-
(
|
|
1486
|
+
(m(!0), y(R, null, V(e.seasons, (d) => (m(), y("option", {
|
|
1487
1487
|
key: d.championshipId,
|
|
1488
1488
|
value: d.championshipId
|
|
1489
1489
|
}, u(d.seasonName), 9, Yr))), 128))
|
|
@@ -1531,19 +1531,19 @@ const Gr = {
|
|
|
1531
1531
|
},
|
|
1532
1532
|
emits: ["update:phaseId", "update:report"],
|
|
1533
1533
|
setup(e, { emit: t }) {
|
|
1534
|
-
const a = e, o = t, { t: i } = ie(), { phaseId: l, report:
|
|
1535
|
-
return (n, d) => (
|
|
1534
|
+
const a = e, o = t, { t: i } = ie(), { phaseId: l, report: g } = dt(a, o);
|
|
1535
|
+
return (n, d) => (m(), y("div", Vr, [
|
|
1536
1536
|
s("div", null, [
|
|
1537
1537
|
s("label", Ur, u(r(i)("selection.phases")), 1),
|
|
1538
|
-
_(r(
|
|
1538
|
+
_(r(ye), {
|
|
1539
1539
|
id: "phases",
|
|
1540
1540
|
modelValue: r(l),
|
|
1541
1541
|
"onUpdate:modelValue": d[0] || (d[0] = (c) => ce(l) ? l.value = c : null),
|
|
1542
1542
|
disabled: r(l) === null
|
|
1543
1543
|
}, {
|
|
1544
1544
|
default: E(() => [
|
|
1545
|
-
r(l) === null ? (
|
|
1546
|
-
(
|
|
1545
|
+
r(l) === null ? (m(), y("option", Br, u(r(i)("selection.noPhases")), 1)) : D("", !0),
|
|
1546
|
+
(m(!0), y(R, null, V(e.phases, (c) => (m(), y("option", {
|
|
1547
1547
|
key: c.phaseId,
|
|
1548
1548
|
value: c.phaseId
|
|
1549
1549
|
}, u(c.phaseName), 9, Fr))), 128))
|
|
@@ -1551,15 +1551,15 @@ const Gr = {
|
|
|
1551
1551
|
_: 1
|
|
1552
1552
|
}, 8, ["modelValue", "disabled"])
|
|
1553
1553
|
]),
|
|
1554
|
-
e.isReportsVisible ? (
|
|
1554
|
+
e.isReportsVisible ? (m(), y("div", Hr, [
|
|
1555
1555
|
s("label", Wr, u(r(i)("selection.report")), 1),
|
|
1556
|
-
_(r(
|
|
1556
|
+
_(r(ye), {
|
|
1557
1557
|
id: "report",
|
|
1558
|
-
modelValue: r(
|
|
1559
|
-
"onUpdate:modelValue": d[1] || (d[1] = (c) => ce(
|
|
1558
|
+
modelValue: r(g),
|
|
1559
|
+
"onUpdate:modelValue": d[1] || (d[1] = (c) => ce(g) ? g.value = c : null)
|
|
1560
1560
|
}, {
|
|
1561
1561
|
default: E(() => [
|
|
1562
|
-
(
|
|
1562
|
+
(m(!0), y(R, null, V(e.reports, ({ value: c, name: p }) => (m(), y("option", {
|
|
1563
1563
|
key: c,
|
|
1564
1564
|
value: c
|
|
1565
1565
|
}, u(p), 9, Jr))), 128))
|
|
@@ -1606,8 +1606,8 @@ const Gr = {
|
|
|
1606
1606
|
}
|
|
1607
1607
|
},
|
|
1608
1608
|
setup(e) {
|
|
1609
|
-
const t = e, a = K(null), o = K(We()), i = T(() => He(/* @__PURE__ */ new Date(), r(o), t.locale)), l = { en: me, hu: pe },
|
|
1610
|
-
return (d, c) => (
|
|
1609
|
+
const t = e, a = K(null), o = K(We()), i = T(() => He(/* @__PURE__ */ new Date(), r(o), t.locale)), l = { en: me, hu: pe }, g = (d) => Je(t.externalGameResolver, d), n = (d) => Pa(t.externalTeamResolver, d);
|
|
1610
|
+
return (d, c) => (m(), y("div", null, [
|
|
1611
1611
|
_(r(ge), {
|
|
1612
1612
|
locale: t.locale,
|
|
1613
1613
|
messages: l
|
|
@@ -1615,7 +1615,7 @@ const Gr = {
|
|
|
1615
1615
|
default: E(({ t: p }) => [
|
|
1616
1616
|
_(r(Te), null, {
|
|
1617
1617
|
default: E(({ error: b, hasError: w }) => [
|
|
1618
|
-
w ? (
|
|
1618
|
+
w ? (m(), P(r(ke), {
|
|
1619
1619
|
key: 0,
|
|
1620
1620
|
error: b
|
|
1621
1621
|
}, null, 8, ["error"])) : D("", !0),
|
|
@@ -1656,7 +1656,7 @@ const Gr = {
|
|
|
1656
1656
|
"onUpdate:championshipId": M
|
|
1657
1657
|
}, null, 8, ["seasons", "championship-id", "onUpdate:championshipId"]),
|
|
1658
1658
|
s("div", Zr, [
|
|
1659
|
-
(
|
|
1659
|
+
(m(!0), y(R, null, V(q, (ae) => (m(), y("button", {
|
|
1660
1660
|
key: ae.phaseId,
|
|
1661
1661
|
class: j(["tab-button", { "is-active": ae.sectionId === Y }]),
|
|
1662
1662
|
onClick: (le) => De(ae.sectionId)
|
|
@@ -1667,7 +1667,7 @@ const Gr = {
|
|
|
1667
1667
|
"phase-id": C,
|
|
1668
1668
|
reports: S,
|
|
1669
1669
|
report: z,
|
|
1670
|
-
"is-reports-visible": L === r(
|
|
1670
|
+
"is-reports-visible": L === r(we) || L === r(Ge),
|
|
1671
1671
|
"onUpdate:phaseId": oe,
|
|
1672
1672
|
"onUpdate:report": A
|
|
1673
1673
|
}, null, 8, ["phases", "phase-id", "reports", "report", "is-reports-visible", "onUpdate:phaseId", "onUpdate:report"]),
|
|
@@ -1681,8 +1681,8 @@ const Gr = {
|
|
|
1681
1681
|
onClick: (ae) => Z(r(et))
|
|
1682
1682
|
}, u(p("selection.standings")), 11, oi),
|
|
1683
1683
|
s("button", {
|
|
1684
|
-
class: j(["tab-button", { "is-active": L === r(
|
|
1685
|
-
onClick: (ae) => Z(r(
|
|
1684
|
+
class: j(["tab-button", { "is-active": L === r(we) }]),
|
|
1685
|
+
onClick: (ae) => Z(r(we))
|
|
1686
1686
|
}, u(p("selection.playerStats")), 11, ri),
|
|
1687
1687
|
s("button", {
|
|
1688
1688
|
class: j(["tab-button", { "is-active": L === r(Ge) }]),
|
|
@@ -1696,12 +1696,12 @@ const Gr = {
|
|
|
1696
1696
|
"is-loading": I,
|
|
1697
1697
|
"offset-name": i.value,
|
|
1698
1698
|
"external-team-resolver": n,
|
|
1699
|
-
"external-game-resolver":
|
|
1699
|
+
"external-game-resolver": g,
|
|
1700
1700
|
"append-to": a.value,
|
|
1701
1701
|
"hide-columns": L === r(_e) ? "broadcast" : "",
|
|
1702
1702
|
onSort: O
|
|
1703
1703
|
}, null, 8, ["columns", "rows", "sort", "is-loading", "offset-name", "append-to", "hide-columns", "onSort"]),
|
|
1704
|
-
L === r(
|
|
1704
|
+
L === r(we) ? (m(), P(r(Rt), {
|
|
1705
1705
|
key: 0,
|
|
1706
1706
|
page: k,
|
|
1707
1707
|
"items-per-page": t.limit,
|
|
@@ -1709,7 +1709,7 @@ const Gr = {
|
|
|
1709
1709
|
"range-length": 5,
|
|
1710
1710
|
onChange: re
|
|
1711
1711
|
}, null, 8, ["page", "items-per-page", "total-items", "onChange"])) : D("", !0),
|
|
1712
|
-
L === r(et) ? (
|
|
1712
|
+
L === r(et) ? (m(), y(R, { key: 1 }, [
|
|
1713
1713
|
_(r(je), {
|
|
1714
1714
|
rows: f.rows,
|
|
1715
1715
|
"additional-key": "inheritedPoints"
|
|
@@ -1741,13 +1741,13 @@ function li(e, t = B) {
|
|
|
1741
1741
|
hours: "00",
|
|
1742
1742
|
minutes: "00",
|
|
1743
1743
|
seconds: "00"
|
|
1744
|
-
}), o = H(!1), i = H(null), { pause: l, resume:
|
|
1744
|
+
}), o = H(!1), i = H(null), { pause: l, resume: g } = Ve(() => {
|
|
1745
1745
|
const n = (/* @__PURE__ */ new Date()).getTime();
|
|
1746
1746
|
let d = i.value - n;
|
|
1747
1747
|
d <= 0 && (l(), d = 0, o.value = !0, t()), a.value = ci(d);
|
|
1748
1748
|
}, 1e3, { immediate: !1, immediateCallback: !0 });
|
|
1749
1749
|
return X(() => G(e), (n) => {
|
|
1750
|
-
i.value = new Date(n).getTime(),
|
|
1750
|
+
i.value = new Date(n).getTime(), g();
|
|
1751
1751
|
}, { immediate: !1 }), { date: a, finished: o };
|
|
1752
1752
|
}
|
|
1753
1753
|
function ci(e) {
|
|
@@ -1768,7 +1768,7 @@ const di = ["data-number"], ee = {
|
|
|
1768
1768
|
}
|
|
1769
1769
|
},
|
|
1770
1770
|
setup(e) {
|
|
1771
|
-
return (t, a) => (
|
|
1771
|
+
return (t, a) => (m(), y("div", {
|
|
1772
1772
|
class: "is-number",
|
|
1773
1773
|
"data-number": e.number
|
|
1774
1774
|
}, [
|
|
@@ -1776,7 +1776,7 @@ const di = ["data-number"], ee = {
|
|
|
1776
1776
|
name: `slide-${e.direction}`
|
|
1777
1777
|
}, {
|
|
1778
1778
|
default: E(() => [
|
|
1779
|
-
(
|
|
1779
|
+
(m(), y("span", { key: e.number }, u(e.number), 1))
|
|
1780
1780
|
]),
|
|
1781
1781
|
_: 1
|
|
1782
1782
|
}, 8, ["name"])
|
|
@@ -1816,13 +1816,13 @@ const di = ["data-number"], ee = {
|
|
|
1816
1816
|
},
|
|
1817
1817
|
onSuccess: k
|
|
1818
1818
|
// onError,
|
|
1819
|
-
}), { pause:
|
|
1819
|
+
}), { pause: g, resume: n } = Ve(() => {
|
|
1820
1820
|
i();
|
|
1821
1821
|
}, 3e4, { immediate: !1 }), d = T(() => (o.value.homeTeamScore || 0).toString().padStart(2, "0").split("")), c = T(() => (o.value.awayTeamScore || 0).toString().padStart(2, "0").split("")), { date: p, finished: b } = li(T(() => o.value.gameDate), () => n()), w = T(() => Je(t.externalGameResolver, { gameId: t.gameId })), v = T(() => t.isGameTargetExternal ? "_blank" : "_self");
|
|
1822
1822
|
function k(f) {
|
|
1823
|
-
f.gameStatus === 1 && n(), f.gameStatus > 1 &&
|
|
1823
|
+
f.gameStatus === 1 && n(), f.gameStatus > 1 && g();
|
|
1824
1824
|
}
|
|
1825
|
-
return (f, $) => (
|
|
1825
|
+
return (f, $) => (m(), P(r(ge), {
|
|
1826
1826
|
locale: e.locale,
|
|
1827
1827
|
messages: a
|
|
1828
1828
|
}, {
|
|
@@ -1833,7 +1833,7 @@ const di = ["data-number"], ee = {
|
|
|
1833
1833
|
class: "game-countdown"
|
|
1834
1834
|
}, [
|
|
1835
1835
|
s("div", ui, [
|
|
1836
|
-
r(at)(r(o)) ? D("", !0) : (
|
|
1836
|
+
r(at)(r(o)) ? D("", !0) : (m(), y(R, { key: 0 }, [
|
|
1837
1837
|
W(u(r(o).championshipName) + " - " + u(r(o).divisionName), 1)
|
|
1838
1838
|
], 64))
|
|
1839
1839
|
]),
|
|
@@ -1849,7 +1849,7 @@ const di = ["data-number"], ee = {
|
|
|
1849
1849
|
class: j(["is-home-score", { "is-live": r(o).gameStatus === 1 }]),
|
|
1850
1850
|
style: { display: "flex" }
|
|
1851
1851
|
}, [
|
|
1852
|
-
d.value[0] !== "0" ? (
|
|
1852
|
+
d.value[0] !== "0" ? (m(), P(ee, {
|
|
1853
1853
|
key: 0,
|
|
1854
1854
|
number: d.value[0]
|
|
1855
1855
|
}, null, 8, ["number"])) : D("", !0),
|
|
@@ -1864,7 +1864,7 @@ const di = ["data-number"], ee = {
|
|
|
1864
1864
|
class: j(["is-away-score", { "is-live": r(o).gameStatus === 1 }]),
|
|
1865
1865
|
style: { display: "flex" }
|
|
1866
1866
|
}, [
|
|
1867
|
-
c.value[0] !== "0" ? (
|
|
1867
|
+
c.value[0] !== "0" ? (m(), P(ee, {
|
|
1868
1868
|
key: 0,
|
|
1869
1869
|
number: c.value[0]
|
|
1870
1870
|
}, null, 8, ["number"])) : D("", !0),
|
|
@@ -1944,7 +1944,7 @@ const di = ["data-number"], ee = {
|
|
|
1944
1944
|
]),
|
|
1945
1945
|
s("div", $i, [
|
|
1946
1946
|
s("div", Ii, u(r(F)(r(o).gameDate, "L dddd - HH:mm", null, e.locale)), 1),
|
|
1947
|
-
r(o).homeTeam?.logo ? (
|
|
1947
|
+
r(o).homeTeam?.logo ? (m(), P(r(se), {
|
|
1948
1948
|
key: 0,
|
|
1949
1949
|
class: "is-home-team-logo",
|
|
1950
1950
|
src: r(o).homeTeam.logo
|
|
@@ -1952,7 +1952,7 @@ const di = ["data-number"], ee = {
|
|
|
1952
1952
|
s("span", Ci, u(r(o).homeTeam?.longName), 1),
|
|
1953
1953
|
$[0] || ($[0] = s("span", { class: "is-separator" }, "-", -1)),
|
|
1954
1954
|
s("span", Ti, u(r(o).awayTeam?.longName), 1),
|
|
1955
|
-
r(o).awayTeam?.logo ? (
|
|
1955
|
+
r(o).awayTeam?.logo ? (m(), P(r(se), {
|
|
1956
1956
|
key: 1,
|
|
1957
1957
|
class: "is-away-team-logo",
|
|
1958
1958
|
src: r(o).awayTeam.logo
|
|
@@ -1973,7 +1973,7 @@ const di = ["data-number"], ee = {
|
|
|
1973
1973
|
"stroke-linejoin": "round"
|
|
1974
1974
|
};
|
|
1975
1975
|
function Di(e, t) {
|
|
1976
|
-
return
|
|
1976
|
+
return m(), y("svg", Li, [...t[0] || (t[0] = [
|
|
1977
1977
|
s("polyline", { points: "15 18 9 12 15 6" }, null, -1)
|
|
1978
1978
|
])]);
|
|
1979
1979
|
}
|
|
@@ -1987,7 +1987,7 @@ const Pi = { render: Di }, Mi = {
|
|
|
1987
1987
|
"stroke-linejoin": "round"
|
|
1988
1988
|
};
|
|
1989
1989
|
function Ai(e, t) {
|
|
1990
|
-
return
|
|
1990
|
+
return m(), y("svg", Mi, [...t[0] || (t[0] = [
|
|
1991
1991
|
s("polyline", { points: "9 18 15 12 9 6" }, null, -1)
|
|
1992
1992
|
])]);
|
|
1993
1993
|
}
|
|
@@ -2007,7 +2007,7 @@ function Ri({ apiKey: e }) {
|
|
|
2007
2007
|
}
|
|
2008
2008
|
function Gi(e, t, a) {
|
|
2009
2009
|
const o = ji(t, a);
|
|
2010
|
-
return e.reduce((l,
|
|
2010
|
+
return e.reduce((l, g) => (o.has(g.id) ? l.push({ ...o.get(g.id), ...g }) : l.push(g), l), []);
|
|
2011
2011
|
}
|
|
2012
2012
|
function ji(e, t) {
|
|
2013
2013
|
const a = /* @__PURE__ */ new Map();
|
|
@@ -2037,7 +2037,7 @@ const Oi = { class: "games-timeline" }, Yi = ["disabled"], Ki = { ref: "containe
|
|
|
2037
2037
|
v !== -1 && i.value.splice(v, 1);
|
|
2038
2038
|
}
|
|
2039
2039
|
});
|
|
2040
|
-
const { arrivedState:
|
|
2040
|
+
const { arrivedState: g } = Ho(a, { onStop: b }), n = T(
|
|
2041
2041
|
() => be(a).querySelector(`#${i.value[o.value]}`)
|
|
2042
2042
|
);
|
|
2043
2043
|
Be(() => p()), X(
|
|
@@ -2047,10 +2047,10 @@ const Oi = { class: "games-timeline" }, Yi = ["disabled"], Ki = { ref: "containe
|
|
|
2047
2047
|
}
|
|
2048
2048
|
);
|
|
2049
2049
|
function d() {
|
|
2050
|
-
|
|
2050
|
+
g.left || (o.value--, p({ behavior: "smooth" }));
|
|
2051
2051
|
}
|
|
2052
2052
|
function c() {
|
|
2053
|
-
|
|
2053
|
+
g.right || (o.value++, p({ behavior: "smooth" }));
|
|
2054
2054
|
}
|
|
2055
2055
|
function p(w) {
|
|
2056
2056
|
n.value?.scrollIntoView({ inline: "start", block: "nearest", container: "nearest", ...w });
|
|
@@ -2061,20 +2061,20 @@ const Oi = { class: "games-timeline" }, Yi = ["disabled"], Ki = { ref: "containe
|
|
|
2061
2061
|
);
|
|
2062
2062
|
o.value = v;
|
|
2063
2063
|
}
|
|
2064
|
-
return (w, v) => (
|
|
2064
|
+
return (w, v) => (m(), y("div", Oi, [
|
|
2065
2065
|
s("button", {
|
|
2066
2066
|
type: "button",
|
|
2067
|
-
disabled: r(
|
|
2067
|
+
disabled: r(g).left,
|
|
2068
2068
|
onClick: d
|
|
2069
2069
|
}, [
|
|
2070
2070
|
_(r(Pi))
|
|
2071
2071
|
], 8, Yi),
|
|
2072
2072
|
s("div", Ki, [
|
|
2073
|
-
|
|
2073
|
+
fe(w.$slots, "default")
|
|
2074
2074
|
], 512),
|
|
2075
2075
|
s("button", {
|
|
2076
2076
|
type: "button",
|
|
2077
|
-
disabled: r(
|
|
2077
|
+
disabled: r(g).right,
|
|
2078
2078
|
onClick: c
|
|
2079
2079
|
}, [
|
|
2080
2080
|
_(r(gt))
|
|
@@ -2085,11 +2085,11 @@ const Oi = { class: "games-timeline" }, Yi = ["disabled"], Ki = { ref: "containe
|
|
|
2085
2085
|
__name: "CarouselItem",
|
|
2086
2086
|
setup(e) {
|
|
2087
2087
|
const t = `mjsz-vbr-carousel-item-${ca()}`, a = da(aa, null);
|
|
2088
|
-
return Be(() => a?.register(t)), ga(() => a?.unregister(t)), (o, i) => (
|
|
2088
|
+
return Be(() => a?.register(t)), ga(() => a?.unregister(t)), (o, i) => (m(), y("div", {
|
|
2089
2089
|
id: t,
|
|
2090
2090
|
class: "is-slide"
|
|
2091
2091
|
}, [
|
|
2092
|
-
|
|
2092
|
+
fe(o.$slots, "default")
|
|
2093
2093
|
]));
|
|
2094
2094
|
}
|
|
2095
2095
|
}, Bi = { class: "games-timeline-schedule-link" }, $t = {
|
|
@@ -2110,7 +2110,7 @@ const Oi = { class: "games-timeline" }, Yi = ["disabled"], Ki = { ref: "containe
|
|
|
2110
2110
|
function i() {
|
|
2111
2111
|
o("navigateTo", { url: a.externalScheduleUrl, target: "_self" });
|
|
2112
2112
|
}
|
|
2113
|
-
return (l,
|
|
2113
|
+
return (l, g) => (m(), y("div", Bi, [
|
|
2114
2114
|
s("button", {
|
|
2115
2115
|
type: "button",
|
|
2116
2116
|
onClick: i
|
|
@@ -2125,7 +2125,7 @@ const Oi = { class: "games-timeline" }, Yi = ["disabled"], Ki = { ref: "containe
|
|
|
2125
2125
|
viewBox: "0 0 24 24"
|
|
2126
2126
|
};
|
|
2127
2127
|
function Hi(e, t) {
|
|
2128
|
-
return
|
|
2128
|
+
return m(), y("svg", Fi, [...t[0] || (t[0] = [
|
|
2129
2129
|
s("path", {
|
|
2130
2130
|
fill: "currentColor",
|
|
2131
2131
|
d: "M18 19H6a1 1 0 0 1-1-1V6a1 1 0 0 1 1-1h5c.55 0 1-.45 1-1s-.45-1-1-1H5a2 2 0 0 0-2 2v14c0 1.1.9 2 2 2h14a2 2 0 0 0 2-2v-6c0-.55-.45-1-1-1s-1 .45-1 1v5a1 1 0 0 1-1 1M14 4a1 1 0 0 0 1 1h2.59l-9.13 9.13a1 1 0 1 0 1.41 1.41L19 6.41V9c0 .55.45 1 1 1s1-.45 1-1V3h-6a1 1 0 0 0-1 1"
|
|
@@ -2141,11 +2141,11 @@ const Wi = { render: Hi }, Ji = { class: "score-display" }, qi = { class: "is-sc
|
|
|
2141
2141
|
}
|
|
2142
2142
|
},
|
|
2143
2143
|
setup(e) {
|
|
2144
|
-
return (t, a) => (
|
|
2144
|
+
return (t, a) => (m(), y("div", Ji, [
|
|
2145
2145
|
s("div", qi, [
|
|
2146
2146
|
_(Et, { name: "is-slide-transition" }, {
|
|
2147
2147
|
default: E(() => [
|
|
2148
|
-
(
|
|
2148
|
+
(m(), y("span", { key: e.score }, u(e.score), 1))
|
|
2149
2149
|
]),
|
|
2150
2150
|
_: 1
|
|
2151
2151
|
})
|
|
@@ -2176,22 +2176,22 @@ const Wi = { render: Hi }, Ji = { class: "score-display" }, qi = { class: "is-sc
|
|
|
2176
2176
|
const { gameStatus: n, championshipName: d, divisionName: c, period: p, periodTime: b } = a.gameData;
|
|
2177
2177
|
return n !== 1 ? `${d} - ${c}` : p && St(p) ? `${i(`game.period.${p}`)} - ${b}` : p && !St(p) ? i(`game.period.${p}`) : "";
|
|
2178
2178
|
});
|
|
2179
|
-
function
|
|
2179
|
+
function g() {
|
|
2180
2180
|
const { externalGameUrl: n, id: d } = a.gameData;
|
|
2181
2181
|
if (n)
|
|
2182
2182
|
return o("navigateTo", { url: n, target: "_blank" });
|
|
2183
2183
|
const c = Je(a.externalGameResolver, { gameId: d });
|
|
2184
2184
|
o("navigateTo", { url: c, target: "_self" });
|
|
2185
2185
|
}
|
|
2186
|
-
return (n, d) => (
|
|
2186
|
+
return (n, d) => (m(), y("div", {
|
|
2187
2187
|
class: "games-timeline-game",
|
|
2188
|
-
onClick:
|
|
2188
|
+
onClick: g
|
|
2189
2189
|
}, [
|
|
2190
2190
|
s("time", null, [
|
|
2191
2191
|
W(u(e.gameData.gameDateTime) + " ", 1),
|
|
2192
|
-
e.gameData.isShootout ? (
|
|
2193
|
-
e.gameData.isOvertime ? (
|
|
2194
|
-
e.gameData.externalGameUrl ? (
|
|
2192
|
+
e.gameData.isShootout ? (m(), y("span", Qi, u(r(i)("common.shootoutShort")), 1)) : D("", !0),
|
|
2193
|
+
e.gameData.isOvertime ? (m(), y("span", Xi, u(r(i)("common.overtimeShort")), 1)) : D("", !0),
|
|
2194
|
+
e.gameData.externalGameUrl ? (m(), P(r(Wi), {
|
|
2195
2195
|
key: 2,
|
|
2196
2196
|
width: "14",
|
|
2197
2197
|
height: "14"
|
|
@@ -2205,7 +2205,7 @@ const Wi = { render: Hi }, Ji = { class: "score-display" }, qi = { class: "is-sc
|
|
|
2205
2205
|
]),
|
|
2206
2206
|
s("div", en, u(e.gameData.homeTeam.longName), 1),
|
|
2207
2207
|
s("div", tn, [
|
|
2208
|
-
e.gameData.homeTeamScore != null ? (
|
|
2208
|
+
e.gameData.homeTeamScore != null ? (m(), P(It, {
|
|
2209
2209
|
key: 0,
|
|
2210
2210
|
class: j(["is-badge is-extra-large", [e.gameData.gameStatus === 1 ? "is-green" : "is-dark"]]),
|
|
2211
2211
|
score: e.gameData.homeTeamScore
|
|
@@ -2224,7 +2224,7 @@ const Wi = { render: Hi }, Ji = { class: "score-display" }, qi = { class: "is-sc
|
|
|
2224
2224
|
]),
|
|
2225
2225
|
s("div", on, u(e.gameData.awayTeam.longName), 1),
|
|
2226
2226
|
s("div", rn, [
|
|
2227
|
-
e.gameData.awayTeamScore != null ? (
|
|
2227
|
+
e.gameData.awayTeamScore != null ? (m(), P(It, {
|
|
2228
2228
|
key: 0,
|
|
2229
2229
|
score: e.gameData.awayTeamScore,
|
|
2230
2230
|
class: j(["is-badge is-extra-large", [e.gameData.gameStatus === 1 ? "is-green" : "is-dark"]])
|
|
@@ -2248,7 +2248,7 @@ const Wi = { render: Hi }, Ji = { class: "score-display" }, qi = { class: "is-sc
|
|
|
2248
2248
|
"stroke-linejoin": "round"
|
|
2249
2249
|
};
|
|
2250
2250
|
function cn(e, t) {
|
|
2251
|
-
return
|
|
2251
|
+
return m(), y("svg", ln, [...t[0] || (t[0] = [
|
|
2252
2252
|
s("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),
|
|
2253
2253
|
s("line", {
|
|
2254
2254
|
x1: "12",
|
|
@@ -2272,7 +2272,7 @@ const dn = { render: cn }, gn = { class: "games-timeline-error-indicator" }, mn
|
|
|
2272
2272
|
function i() {
|
|
2273
2273
|
a("tryAgain");
|
|
2274
2274
|
}
|
|
2275
|
-
return (l,
|
|
2275
|
+
return (l, g) => (m(), y("div", gn, [
|
|
2276
2276
|
_(r(dn)),
|
|
2277
2277
|
s("div", null, u(r(o)("gamesTimeline.errorText")), 1),
|
|
2278
2278
|
s("button", {
|
|
@@ -2314,7 +2314,7 @@ const dn = { render: cn }, gn = { class: "games-timeline-error-indicator" }, mn
|
|
|
2314
2314
|
setup(e) {
|
|
2315
2315
|
const t = e, a = { en: me, hu: pe }, o = We();
|
|
2316
2316
|
let i = [];
|
|
2317
|
-
const l = K(!1), { isLoading:
|
|
2317
|
+
const l = K(!1), { isLoading: g, state: n, execute: d } = J({
|
|
2318
2318
|
options: {
|
|
2319
2319
|
path: t.servicePath,
|
|
2320
2320
|
apiKey: t.apiKey,
|
|
@@ -2326,7 +2326,7 @@ const dn = { render: cn }, gn = { class: "games-timeline-error-indicator" }, mn
|
|
|
2326
2326
|
l.value = !0;
|
|
2327
2327
|
},
|
|
2328
2328
|
onSuccess: f
|
|
2329
|
-
}), { resume: c, pause: p } = Ve(d, 1e3 * 60 * 5), b = Po(
|
|
2329
|
+
}), { resume: c, pause: p } = Ve(d, 1e3 * 60 * 5), b = Po(g, 500);
|
|
2330
2330
|
Va(
|
|
2331
2331
|
!0,
|
|
2332
2332
|
() => {
|
|
@@ -2366,22 +2366,22 @@ const dn = { render: cn }, gn = { class: "games-timeline-error-indicator" }, mn
|
|
|
2366
2366
|
function C() {
|
|
2367
2367
|
l.value = !1, d();
|
|
2368
2368
|
}
|
|
2369
|
-
return (x, h) => (
|
|
2369
|
+
return (x, h) => (m(), P(r(ge), {
|
|
2370
2370
|
locale: e.locale,
|
|
2371
2371
|
messages: a
|
|
2372
2372
|
}, {
|
|
2373
2373
|
default: E(({ t: S }) => [
|
|
2374
|
-
(
|
|
2374
|
+
(m(), P(Ui, {
|
|
2375
2375
|
key: r(b),
|
|
2376
2376
|
"initial-index": w.value
|
|
2377
2377
|
}, {
|
|
2378
2378
|
default: E(() => [
|
|
2379
|
-
!l.value && r(b) ? (
|
|
2379
|
+
!l.value && r(b) ? (m(), y("div", un, [
|
|
2380
2380
|
_(r(Fe))
|
|
2381
|
-
])) : l.value && r(at)(r(n)) ? (
|
|
2381
|
+
])) : l.value && r(at)(r(n)) ? (m(), P(mn, {
|
|
2382
2382
|
key: 1,
|
|
2383
2383
|
onTryAgain: C
|
|
2384
|
-
})) : v.value.length === 0 ? (
|
|
2384
|
+
})) : v.value.length === 0 ? (m(), y("div", vn, u(S("gamesTimeline.noGames")), 1)) : (m(), y(R, { key: 3 }, [
|
|
2385
2385
|
h[0] || (Pe(-1, !0), (h[0] = _(tt, null, {
|
|
2386
2386
|
default: E(() => [
|
|
2387
2387
|
_($t, {
|
|
@@ -2392,7 +2392,7 @@ const dn = { render: cn }, gn = { class: "games-timeline-error-indicator" }, mn
|
|
|
2392
2392
|
]),
|
|
2393
2393
|
_: 2
|
|
2394
2394
|
}, 1024)).cacheIndex = 0, Pe(1), h[0]),
|
|
2395
|
-
(
|
|
2395
|
+
(m(!0), y(R, null, V(v.value, (I, L, q, N) => {
|
|
2396
2396
|
const Y = [
|
|
2397
2397
|
I.gameDateTime,
|
|
2398
2398
|
I.gameStatus,
|
|
@@ -2402,7 +2402,7 @@ const dn = { render: cn }, gn = { class: "games-timeline-error-indicator" }, mn
|
|
|
2402
2402
|
I.actualTime
|
|
2403
2403
|
];
|
|
2404
2404
|
if (N && N.key === I.id && pa(N, Y)) return N;
|
|
2405
|
-
const O = (
|
|
2405
|
+
const O = (m(), P(tt, {
|
|
2406
2406
|
key: I.id
|
|
2407
2407
|
}, {
|
|
2408
2408
|
default: E(() => [
|
|
@@ -2472,7 +2472,7 @@ const xn = {
|
|
|
2472
2472
|
},
|
|
2473
2473
|
transform: (f) => fn(f, a),
|
|
2474
2474
|
onError: o
|
|
2475
|
-
}), { isLoading:
|
|
2475
|
+
}), { isLoading: g, execute: n } = J({
|
|
2476
2476
|
options: {
|
|
2477
2477
|
path: "/v2/championship-list",
|
|
2478
2478
|
apiKey: t.apiKey,
|
|
@@ -2493,7 +2493,7 @@ const xn = {
|
|
|
2493
2493
|
onError: o
|
|
2494
2494
|
}), p = T(() => a.sections?.find((f) => f.sectionId === a.sectionId)?.phases ?? []);
|
|
2495
2495
|
xe([l, n, c]);
|
|
2496
|
-
const b = T(() => [i.value,
|
|
2496
|
+
const b = T(() => [i.value, g.value, d.value].some(Boolean));
|
|
2497
2497
|
function w(f) {
|
|
2498
2498
|
a.seasonId = f, xe([n, c]);
|
|
2499
2499
|
}
|
|
@@ -2503,7 +2503,7 @@ const xn = {
|
|
|
2503
2503
|
function k(f) {
|
|
2504
2504
|
a.sectionId = f;
|
|
2505
2505
|
}
|
|
2506
|
-
return (f, $) =>
|
|
2506
|
+
return (f, $) => fe(f.$slots, "default", Ie(Ce({
|
|
2507
2507
|
...a,
|
|
2508
2508
|
isLoading: b.value,
|
|
2509
2509
|
phaseData: p.value,
|
|
@@ -2540,17 +2540,17 @@ const xn = {
|
|
|
2540
2540
|
},
|
|
2541
2541
|
emits: ["update:seasonId", "update:championshipId"],
|
|
2542
2542
|
setup(e, { emit: t }) {
|
|
2543
|
-
const a = e, o = t, { t: i } = ie(), { seasonId: l, championshipId:
|
|
2544
|
-
return (n, d) => (
|
|
2543
|
+
const a = e, o = t, { t: i } = ie(), { seasonId: l, championshipId: g } = dt(a, o);
|
|
2544
|
+
return (n, d) => (m(), y(R, null, [
|
|
2545
2545
|
s("div", kn, [
|
|
2546
2546
|
s("label", _n, u(r(i)("selection.seasons")), 1),
|
|
2547
|
-
_(r(
|
|
2547
|
+
_(r(ye), {
|
|
2548
2548
|
id: "season",
|
|
2549
2549
|
modelValue: r(l),
|
|
2550
2550
|
"onUpdate:modelValue": d[0] || (d[0] = (c) => ce(l) ? l.value = c : null)
|
|
2551
2551
|
}, {
|
|
2552
2552
|
default: E(() => [
|
|
2553
|
-
(
|
|
2553
|
+
(m(!0), y(R, null, V(e.seasonsList, (c) => (m(), y("option", {
|
|
2554
2554
|
key: c.id,
|
|
2555
2555
|
value: c.id
|
|
2556
2556
|
}, u(c.seasonName), 9, zn))), 128))
|
|
@@ -2560,13 +2560,13 @@ const xn = {
|
|
|
2560
2560
|
]),
|
|
2561
2561
|
s("div", null, [
|
|
2562
2562
|
s("label", Sn, u(r(i)("selection.championships")), 1),
|
|
2563
|
-
_(r(
|
|
2563
|
+
_(r(ye), {
|
|
2564
2564
|
id: "season",
|
|
2565
|
-
modelValue: r(
|
|
2566
|
-
"onUpdate:modelValue": d[1] || (d[1] = (c) => ce(
|
|
2565
|
+
modelValue: r(g),
|
|
2566
|
+
"onUpdate:modelValue": d[1] || (d[1] = (c) => ce(g) ? g.value = c : null)
|
|
2567
2567
|
}, {
|
|
2568
2568
|
default: E(() => [
|
|
2569
|
-
(
|
|
2569
|
+
(m(!0), y(R, null, V(e.championshipList, (c) => (m(), y("option", {
|
|
2570
2570
|
key: c.championshipId,
|
|
2571
2571
|
value: c.championshipId
|
|
2572
2572
|
}, u(c.championshipName), 9, $n))), 128))
|
|
@@ -2593,16 +2593,16 @@ const xn = {
|
|
|
2593
2593
|
},
|
|
2594
2594
|
setup(e) {
|
|
2595
2595
|
const t = e, a = { en: me, hu: pe };
|
|
2596
|
-
return (o, i) => (
|
|
2596
|
+
return (o, i) => (m(), P(r(ge), {
|
|
2597
2597
|
locale: t.locale,
|
|
2598
2598
|
messages: a
|
|
2599
2599
|
}, {
|
|
2600
2600
|
default: E(({ t: l }) => [
|
|
2601
2601
|
_(r(Te), null, {
|
|
2602
|
-
default: E(({ error:
|
|
2603
|
-
n ? (
|
|
2602
|
+
default: E(({ error: g, hasError: n }) => [
|
|
2603
|
+
n ? (m(), P(r(ke), {
|
|
2604
2604
|
key: 0,
|
|
2605
|
-
error:
|
|
2605
|
+
error: g
|
|
2606
2606
|
}, null, 8, ["error"])) : D("", !0),
|
|
2607
2607
|
_(xn, null, {
|
|
2608
2608
|
default: E(({
|
|
@@ -2653,7 +2653,7 @@ const xn = {
|
|
|
2653
2653
|
s("section", jn, [
|
|
2654
2654
|
s("label", On, u(l("selection.sections")) + ":", 1),
|
|
2655
2655
|
s("div", Yn, [
|
|
2656
|
-
(
|
|
2656
|
+
(m(!0), y(R, null, V(w, (C) => (m(), y("button", {
|
|
2657
2657
|
key: C.sectionId,
|
|
2658
2658
|
class: j({ "is-active": C.sectionId === v }),
|
|
2659
2659
|
onClick: (x) => $(C.sectionId)
|
|
@@ -2734,7 +2734,7 @@ const es = `.recruitment-info-card{--logo-width: 30px;border-radius:var(--vbr-wi
|
|
|
2734
2734
|
}
|
|
2735
2735
|
},
|
|
2736
2736
|
setup(e) {
|
|
2737
|
-
const t = e, a = { en: me, hu: pe }, { onError: o, error: i, hasError: l, reset:
|
|
2737
|
+
const t = e, a = { en: me, hu: pe }, { onError: o, error: i, hasError: l, reset: g } = Ua(), {
|
|
2738
2738
|
state: n,
|
|
2739
2739
|
isLoading: d,
|
|
2740
2740
|
execute: c
|
|
@@ -2754,9 +2754,9 @@ const es = `.recruitment-info-card{--logo-width: 30px;border-radius:var(--vbr-wi
|
|
|
2754
2754
|
b.value !== 1 && (b.value = 1);
|
|
2755
2755
|
});
|
|
2756
2756
|
function f() {
|
|
2757
|
-
|
|
2757
|
+
g(), c();
|
|
2758
2758
|
}
|
|
2759
|
-
return ($, z) => (
|
|
2759
|
+
return ($, z) => (m(), P(r(ge), {
|
|
2760
2760
|
locale: e.locale,
|
|
2761
2761
|
messages: a
|
|
2762
2762
|
}, {
|
|
@@ -2774,15 +2774,15 @@ const es = `.recruitment-info-card{--logo-width: 30px;border-radius:var(--vbr-wi
|
|
|
2774
2774
|
[va, p.value]
|
|
2775
2775
|
])
|
|
2776
2776
|
]),
|
|
2777
|
-
r(l) ? (
|
|
2777
|
+
r(l) ? (m(), P(r(ke), {
|
|
2778
2778
|
key: 0,
|
|
2779
2779
|
error: r(i),
|
|
2780
2780
|
"use-retry": "",
|
|
2781
2781
|
onRetry: f
|
|
2782
2782
|
}, null, 8, ["error"])) : D("", !0),
|
|
2783
|
-
r(d) ? (
|
|
2784
|
-
r(n).length > 0 && v.value.rows.length === 0 ? (
|
|
2785
|
-
(
|
|
2783
|
+
r(d) ? (m(), P(r(Fe), { key: 1 })) : D("", !0),
|
|
2784
|
+
r(n).length > 0 && v.value.rows.length === 0 ? (m(), y("div", is, u(C("recruitmentInfo.noResult")), 1)) : D("", !0),
|
|
2785
|
+
(m(!0), y(R, null, V(v.value.rows, (x) => (m(), y("details", {
|
|
2786
2786
|
key: x.organizationName,
|
|
2787
2787
|
class: "recruitment-info-card"
|
|
2788
2788
|
}, [
|
|
@@ -2793,11 +2793,11 @@ const es = `.recruitment-info-card{--logo-width: 30px;border-radius:var(--vbr-wi
|
|
|
2793
2793
|
}, null, 8, ["src"]),
|
|
2794
2794
|
s("strong", null, [
|
|
2795
2795
|
W(u(x.organizationName) + " ", 1),
|
|
2796
|
-
x.recruitmentTeamName ? (
|
|
2796
|
+
x.recruitmentTeamName ? (m(), y("span", ns, "(" + u(x.recruitmentTeamName) + ")", 1)) : D("", !0)
|
|
2797
2797
|
])
|
|
2798
2798
|
]),
|
|
2799
2799
|
s("ul", null, [
|
|
2800
|
-
(
|
|
2800
|
+
(m(!0), y(R, null, V(x.recruitment, (h, S) => (m(), y("li", { key: S }, [
|
|
2801
2801
|
s("span", null, u(C(`recruitmentInfo.${S}`)) + ":", 1),
|
|
2802
2802
|
z[1] || (z[1] = W()),
|
|
2803
2803
|
s("div", { innerHTML: h }, null, 8, ss)
|
|
@@ -2812,7 +2812,7 @@ const es = `.recruitment-info-card{--logo-width: 30px;border-radius:var(--vbr-wi
|
|
|
2812
2812
|
"range-length": 5,
|
|
2813
2813
|
onChange: r(w)
|
|
2814
2814
|
}, null, 8, ["page", "items-per-page", "total-items", "onChange"]),
|
|
2815
|
-
v.value.totalItems > 0 ? (
|
|
2815
|
+
v.value.totalItems > 0 ? (m(), y("div", cs, u(C("table.info", { min: k.value[0], max: k.value[1], total: v.value.totalItems })), 1)) : D("", !0)
|
|
2816
2816
|
])
|
|
2817
2817
|
]),
|
|
2818
2818
|
_: 1
|
|
@@ -2851,20 +2851,20 @@ const es = `.recruitment-info-card{--logo-width: 30px;border-radius:var(--vbr-wi
|
|
|
2851
2851
|
o("onChangeSeason", n);
|
|
2852
2852
|
}
|
|
2853
2853
|
});
|
|
2854
|
-
function
|
|
2854
|
+
function g(n) {
|
|
2855
2855
|
o("onChangeSection", n);
|
|
2856
2856
|
}
|
|
2857
|
-
return (n, d) => (
|
|
2857
|
+
return (n, d) => (m(), y(R, null, [
|
|
2858
2858
|
s("div", ms, [
|
|
2859
2859
|
s("div", null, [
|
|
2860
2860
|
s("label", ps, u(r(i)("selection.season")), 1),
|
|
2861
|
-
_(r(
|
|
2861
|
+
_(r(ye), {
|
|
2862
2862
|
id: "season",
|
|
2863
2863
|
modelValue: l.value,
|
|
2864
2864
|
"onUpdate:modelValue": d[0] || (d[0] = (c) => l.value = c)
|
|
2865
2865
|
}, {
|
|
2866
2866
|
default: E(() => [
|
|
2867
|
-
(
|
|
2867
|
+
(m(!0), y(R, null, V(e.seasons, (c) => (m(), y("option", {
|
|
2868
2868
|
key: c.championshipId,
|
|
2869
2869
|
value: c.championshipId
|
|
2870
2870
|
}, u(c.seasonName), 9, us))), 128))
|
|
@@ -2874,10 +2874,10 @@ const es = `.recruitment-info-card{--logo-width: 30px;border-radius:var(--vbr-wi
|
|
|
2874
2874
|
])
|
|
2875
2875
|
]),
|
|
2876
2876
|
s("div", null, [
|
|
2877
|
-
(
|
|
2877
|
+
(m(!0), y(R, null, V(e.sections, (c) => (m(), y("button", {
|
|
2878
2878
|
key: c.phaseId,
|
|
2879
2879
|
class: j(["tab-button", { "is-active": c.sectionId === e.sectionId }]),
|
|
2880
|
-
onClick: (p) =>
|
|
2880
|
+
onClick: (p) => g(c)
|
|
2881
2881
|
}, u(c.sectionName), 11, vs))), 128))
|
|
2882
2882
|
])
|
|
2883
2883
|
], 64));
|
|
@@ -2977,7 +2977,7 @@ const xs = {
|
|
|
2977
2977
|
},
|
|
2978
2978
|
transform: (f) => hs(f, a),
|
|
2979
2979
|
onError: o
|
|
2980
|
-
}), { isLoading:
|
|
2980
|
+
}), { isLoading: g, execute: n } = J({
|
|
2981
2981
|
options: {
|
|
2982
2982
|
path: "/v2/championship-sections",
|
|
2983
2983
|
apiKey: t.apiKey,
|
|
@@ -2995,18 +2995,18 @@ const xs = {
|
|
|
2995
2995
|
apiKey: t.apiKey,
|
|
2996
2996
|
params: T(() => ({ championshipId: a.championshipId, phaseId: a.phaseId }))
|
|
2997
2997
|
},
|
|
2998
|
-
transform: ja(Ut, ys(a.championshipId)),
|
|
2998
|
+
transform: (f) => ja(Ut, ys(a.championshipId))(f),
|
|
2999
2999
|
onError: o
|
|
3000
3000
|
}), b = T(() => Ne(c.value).schedule(t.timezone, t.locale).value());
|
|
3001
3001
|
xe([l, n, p]);
|
|
3002
|
-
const w = T(() => [
|
|
3002
|
+
const w = T(() => [g.value, i.value, d.value].some(Boolean));
|
|
3003
3003
|
function v(f) {
|
|
3004
3004
|
a.championshipId = f, xe([n, p]);
|
|
3005
3005
|
}
|
|
3006
3006
|
function k(f) {
|
|
3007
3007
|
a.sectionId = f.sectionId, a.phaseId = Ft(["phases", 0, "phaseId"], f), p();
|
|
3008
3008
|
}
|
|
3009
|
-
return (f, $) =>
|
|
3009
|
+
return (f, $) => fe(f.$slots, "default", Ie(Ce({
|
|
3010
3010
|
rows: b.value,
|
|
3011
3011
|
isLoading: w.value,
|
|
3012
3012
|
values: r(Bt)(["phaseId"], a),
|
|
@@ -3041,7 +3041,7 @@ const xs = {
|
|
|
3041
3041
|
offsetName: t.offsetName
|
|
3042
3042
|
}))
|
|
3043
3043
|
), { t: i } = ie();
|
|
3044
|
-
return (l,
|
|
3044
|
+
return (l, g) => (m(), y("div", {
|
|
3045
3045
|
ref_key: "tooltipContainer",
|
|
3046
3046
|
ref: a
|
|
3047
3047
|
}, [
|
|
@@ -3060,11 +3060,11 @@ const xs = {
|
|
|
3060
3060
|
W(u(n.location?.locationName ?? ""), 1)
|
|
3061
3061
|
]),
|
|
3062
3062
|
"cell-document": E(({ row: n }) => [
|
|
3063
|
-
n.schedule ? (
|
|
3063
|
+
n.schedule ? (m(), y("a", {
|
|
3064
3064
|
key: 0,
|
|
3065
3065
|
href: n.schedule,
|
|
3066
3066
|
target: "_blank"
|
|
3067
|
-
}, u(r(i)("schedule")), 9, ks)) : n.registration ? (
|
|
3067
|
+
}, u(r(i)("schedule")), 9, ks)) : n.registration ? (m(), y("a", {
|
|
3068
3068
|
key: 1,
|
|
3069
3069
|
href: n.registration,
|
|
3070
3070
|
target: "_blank"
|
|
@@ -3099,14 +3099,14 @@ const xs = {
|
|
|
3099
3099
|
},
|
|
3100
3100
|
setup(e) {
|
|
3101
3101
|
const t = e, a = { en: me, hu: pe }, o = K(We()), i = T(() => He(/* @__PURE__ */ new Date(), o.value, t.locale));
|
|
3102
|
-
return (l,
|
|
3102
|
+
return (l, g) => (m(), P(r(ge), {
|
|
3103
3103
|
locale: t.locale,
|
|
3104
3104
|
messages: a
|
|
3105
3105
|
}, {
|
|
3106
3106
|
default: E(() => [
|
|
3107
3107
|
_(r(Te), null, {
|
|
3108
3108
|
default: E(({ error: n, hasError: d }) => [
|
|
3109
|
-
d ? (
|
|
3109
|
+
d ? (m(), P(r(ke), {
|
|
3110
3110
|
key: 0,
|
|
3111
3111
|
error: n
|
|
3112
3112
|
}, null, 8, ["error"])) : D("", !0),
|
|
@@ -3138,7 +3138,7 @@ const xs = {
|
|
|
3138
3138
|
viewBox: "0 0 24 24"
|
|
3139
3139
|
};
|
|
3140
3140
|
function Cs(e, t) {
|
|
3141
|
-
return
|
|
3141
|
+
return m(), y("svg", Is, [...t[0] || (t[0] = [
|
|
3142
3142
|
s("path", {
|
|
3143
3143
|
fill: "currentColor",
|
|
3144
3144
|
d: "M3 18h18v-2H3zm0-5h18v-2H3zm0-7v2h18V6z"
|
|
@@ -3166,19 +3166,19 @@ const Ts = { render: Cs }, Ns = ["onClick", "onFocus", "onBlur"], Es = { class:
|
|
|
3166
3166
|
emits: ["change"],
|
|
3167
3167
|
setup(e, { emit: t }) {
|
|
3168
3168
|
const a = t;
|
|
3169
|
-
return (o, i) => (
|
|
3169
|
+
return (o, i) => (m(), P(r(za), {
|
|
3170
3170
|
offset: 2,
|
|
3171
3171
|
placement: "bottom-end",
|
|
3172
3172
|
theme: "content",
|
|
3173
3173
|
"append-to": e.target,
|
|
3174
3174
|
"is-arrow-visible": !1
|
|
3175
3175
|
}, {
|
|
3176
|
-
default: E(({ setRef: l, show:
|
|
3176
|
+
default: E(({ setRef: l, show: g, hide: n }) => [
|
|
3177
3177
|
s("button", {
|
|
3178
3178
|
ref: l,
|
|
3179
3179
|
type: "button",
|
|
3180
|
-
onClick: ha(
|
|
3181
|
-
onFocus:
|
|
3180
|
+
onClick: ha(g, ["stop"]),
|
|
3181
|
+
onFocus: g,
|
|
3182
3182
|
onBlur: n
|
|
3183
3183
|
}, [
|
|
3184
3184
|
_(r(Ts), { style: { display: "block", height: "20px" } })
|
|
@@ -3186,10 +3186,10 @@ const Ts = { render: Cs }, Ns = ["onClick", "onFocus", "onBlur"], Es = { class:
|
|
|
3186
3186
|
]),
|
|
3187
3187
|
content: E(() => [
|
|
3188
3188
|
s("ul", Es, [
|
|
3189
|
-
(
|
|
3189
|
+
(m(!0), y(R, null, V(e.data, (l) => (m(), y("li", {
|
|
3190
3190
|
key: l.championshipId,
|
|
3191
3191
|
class: j(["is-dropdown-item", { "is-selected": e.selected === l.phaseId }]),
|
|
3192
|
-
onClick: (
|
|
3192
|
+
onClick: (g) => a("change", l)
|
|
3193
3193
|
}, u(l.name) + " - " + u(l.phase), 11, Ls))), 128))
|
|
3194
3194
|
])
|
|
3195
3195
|
]),
|
|
@@ -3220,7 +3220,7 @@ const Ms = {
|
|
|
3220
3220
|
championshipName: te(t.data).name,
|
|
3221
3221
|
phaseName: te(t.data)?.phase ?? null,
|
|
3222
3222
|
isPlayoffs: te(t.data)?.isPlayoffs ?? !1
|
|
3223
|
-
}), { state: l, isLoading:
|
|
3223
|
+
}), { state: l, isLoading: g, execute: n } = J({
|
|
3224
3224
|
options: {
|
|
3225
3225
|
path: T(() => i.isPlayoffs ? "/v2/playoffs-tree" : "/v2/standings"),
|
|
3226
3226
|
apiKey: t.apiKey,
|
|
@@ -3239,7 +3239,7 @@ const Ms = {
|
|
|
3239
3239
|
function p({ championshipId: b, phaseId: w, name: v, path: k, phase: f, isPlayoffs: $ }) {
|
|
3240
3240
|
i.championshipId = b, i.path = k || "", i.phaseId = w, i.championshipName = v, i.phaseName = f, i.isPlayoffs = $ || !1, o(), n();
|
|
3241
3241
|
}
|
|
3242
|
-
return (b, w) =>
|
|
3242
|
+
return (b, w) => fe(b.$slots, "default", Ie(Ce({ convertedRows: d.value, isLoading: r(g), ...i, componentProps: c.value, onChange: p })));
|
|
3243
3243
|
}
|
|
3244
3244
|
}, As = { class: "section-title" }, Rs = { class: "is-team" }, Gs = { class: "is-team-name-short" }, js = { class: "is-team-name-long" }, Os = { class: "is-badge is-extra-large is-dark" }, Ys = { class: "is-team" }, Ks = { class: "is-team-name-short" }, Vs = { class: "is-team-name-long" }, Us = {
|
|
3245
3245
|
__name: "PlayoffsList",
|
|
@@ -3255,10 +3255,10 @@ const Ms = {
|
|
|
3255
3255
|
},
|
|
3256
3256
|
setup(e) {
|
|
3257
3257
|
const { t } = ie();
|
|
3258
|
-
return (a, o) => (
|
|
3258
|
+
return (a, o) => (m(), P(r(Gt), { class: "playoffs-minimal" }, {
|
|
3259
3259
|
default: E(() => [
|
|
3260
|
-
e.isLoading ? (
|
|
3261
|
-
(
|
|
3260
|
+
e.isLoading ? (m(), P(r(Fe), { key: 0 })) : D("", !0),
|
|
3261
|
+
(m(!0), y(R, null, V(e.playoffs, (i) => (m(), y("div", {
|
|
3262
3262
|
key: `${i.divisionStage2Name}-${i.divisionStageNumber}`,
|
|
3263
3263
|
class: "section"
|
|
3264
3264
|
}, [
|
|
@@ -3309,7 +3309,7 @@ const Ms = {
|
|
|
3309
3309
|
},
|
|
3310
3310
|
setup(e) {
|
|
3311
3311
|
const t = e, a = { en: me, hu: pe }, o = K(null), i = T(() => typeof t.data == "string" ? JSON.parse(t.data) : t.data);
|
|
3312
|
-
return (l,
|
|
3312
|
+
return (l, g) => (m(), P(r(ge), {
|
|
3313
3313
|
locale: t.locale,
|
|
3314
3314
|
messages: a
|
|
3315
3315
|
}, {
|
|
@@ -3320,15 +3320,15 @@ const Ms = {
|
|
|
3320
3320
|
default: E(({ convertedRows: c, isLoading: p, path: b, phaseName: w, componentProps: v, championshipName: k, phaseId: f, isPlayoffs: $, onChange: z }) => [
|
|
3321
3321
|
s("div", Qs, [
|
|
3322
3322
|
s("div", Xs, [
|
|
3323
|
-
(
|
|
3323
|
+
(m(), P(fa(v.tag), Lt(v.props, { class: "is-title-text" }), {
|
|
3324
3324
|
default: E(() => [
|
|
3325
3325
|
s("b", null, u(k), 1),
|
|
3326
3326
|
W(" - " + u(w) + " ", 1),
|
|
3327
|
-
b ? (
|
|
3327
|
+
b ? (m(), P(r(gt), { key: 0 })) : D("", !0)
|
|
3328
3328
|
]),
|
|
3329
3329
|
_: 2
|
|
3330
3330
|
}, 1040)),
|
|
3331
|
-
i.value.length > 1 ? (
|
|
3331
|
+
i.value.length > 1 ? (m(), P(Ds, {
|
|
3332
3332
|
key: 0,
|
|
3333
3333
|
data: i.value,
|
|
3334
3334
|
selected: f,
|
|
@@ -3336,11 +3336,11 @@ const Ms = {
|
|
|
3336
3336
|
onChange: z
|
|
3337
3337
|
}, null, 8, ["data", "selected", "target", "onChange"])) : D("", !0)
|
|
3338
3338
|
]),
|
|
3339
|
-
$ ? (
|
|
3339
|
+
$ ? (m(), P(Us, {
|
|
3340
3340
|
key: 0,
|
|
3341
3341
|
playoffs: c.rows,
|
|
3342
3342
|
"is-loading": p
|
|
3343
|
-
}, null, 8, ["playoffs", "is-loading"])) : (
|
|
3343
|
+
}, null, 8, ["playoffs", "is-loading"])) : (m(), P(r(At), {
|
|
3344
3344
|
key: 1,
|
|
3345
3345
|
"is-loading": p,
|
|
3346
3346
|
columns: r(xa),
|
|
@@ -3365,7 +3365,7 @@ const Ms = {
|
|
|
3365
3365
|
]),
|
|
3366
3366
|
_: 1
|
|
3367
3367
|
}, 8, ["data"]),
|
|
3368
|
-
d ? (
|
|
3368
|
+
d ? (m(), P(r(ke), {
|
|
3369
3369
|
key: 0,
|
|
3370
3370
|
error: n
|
|
3371
3371
|
}, null, 8, ["error"])) : D("", !0)
|