@mjsz-vbr-elements/extended 2.11.2 → 2.12.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 +1436 -1462
- package/package.json +5 -6
package/dist/index.js
CHANGED
|
@@ -1,720 +1,720 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* name: @mjsz-vbr-elements/extended
|
|
3
|
-
* version: v2.
|
|
3
|
+
* version: v2.12.0 - 19/01/2025, 23:11:30
|
|
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 { ref as
|
|
9
|
-
import { currentWeekStartEnd as
|
|
10
|
-
import { Image as
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import { COLUMNS_SCHEDULE as
|
|
14
|
-
import { SORT_STATE_DESCEND as
|
|
15
|
-
const
|
|
16
|
-
schedule:
|
|
17
|
-
registration:
|
|
18
|
-
selection:
|
|
19
|
-
report:
|
|
20
|
-
playoffs:
|
|
21
|
-
table:
|
|
22
|
-
calendar:
|
|
23
|
-
gamesTimeline:
|
|
24
|
-
},
|
|
25
|
-
schedule:
|
|
26
|
-
registration:
|
|
27
|
-
selection:
|
|
28
|
-
report:
|
|
29
|
-
playoffs:
|
|
30
|
-
table:
|
|
31
|
-
calendar:
|
|
32
|
-
gamesTimeline:
|
|
33
|
-
},
|
|
34
|
-
function
|
|
35
|
-
return e.value = { firstGame: t.firstGame, lastGame: t.lastGame },
|
|
36
|
-
}
|
|
37
|
-
const
|
|
38
|
-
min:
|
|
39
|
-
max:
|
|
8
|
+
import { ref as O, isRef as le, watch as ie, getCurrentScope as vr, onScopeDispose as hr, toValue as U, readonly as br, onMounted as lt, nextTick as fe, getCurrentInstance as Kt, reactive as ce, shallowRef as Ae, computed as A, toRefs as fr, renderSlot as he, normalizeProps as je, guardReactiveProps as Oe, unref as d, openBlock as h, createElementBlock as _, createElementVNode as u, normalizeClass as F, createTextVNode as ae, toDisplayString as x, Fragment as G, createVNode as T, createCommentVNode as M, createBlock as R, withCtx as E, renderList as Q, toRef as yr, useTemplateRef as wr, provide as xr, useId as _r, inject as kr, onUnmounted as Sr, Transition as zr, triggerRef as Ir, isMemoSame as $r, mergeProps as Tr, toHandlers as Cr, defineCustomElement as xe } from "vue";
|
|
9
|
+
import { currentWeekStartEnd as wt, subtractDays as Ft, addDays as Bt, isBefore as ct, isAfter as dt, startOfMonth as Je, endOfMonth as Qe, rawConvert as Nr, convertGamePeriodResults as Ar, gameProps as Er } from "@mjsz-vbr-elements/core";
|
|
10
|
+
import { Image as Ee, I18NProvider as _e, ErrorProvider as Ge, ErrorNotice as Re, LoadingIndicator as qt, FetchMoreObserver as Dr, BaseSelect as me, StatisticsTable as Lr, Paginator as Pr, AdditionalStandingsText as xt, ResponsiveTable as Mr, DataTable as jr } from "@mjsz-vbr-elements/core/components";
|
|
11
|
+
import { format as J, convert as gt, isBefore as Or, isAfter as Wt, offsetName as Ye, getLocalTimezone as Ue, externalGameLinkResolver as ut, WidgetError as Ht, InvalidSeasonName as De, sortGames as Xt, convertPhaseName as Gr, rawConvert as Rr, playerName as Yr, teamName as Ur, scheduleOptionalRowClass as Vr, convertTimesMinToMinSec as Kr, convertTimesSecToMin as Fr, externalTeamLinkResolver as Br, sortByDomNode as qr } from "@mjsz-vbr-elements/core/utils";
|
|
12
|
+
import { useError as Ve, useServices as te, useI18n as se, useSort as Wr, usePage as Hr, useLazyLoadingState as Xr, fetchVBRData as Jr, useVisibilityChange as Qr, useColumns as Zr } from "@mjsz-vbr-elements/core/composables";
|
|
13
|
+
import { COLUMNS_SCHEDULE as Jt, COLUMNS_STANDINGS_P_3 as ea, COLUMNS_FIELD_PLAYERS as Te, COLUMNS_FIELD_PLAYERS_PENALTY as ta, COLUMNS_GOALIES as _t, COLUMNS_TEAMS_FAIRPLAY as ra, COLUMNS_TEAMS_PENALTY_KILLING as aa, COLUMNS_TEAMS_POWERPLAY as oa, COLUMNS_SCORING_EFFICIENCY as ia } from "@mjsz-vbr-elements/core/columns";
|
|
14
|
+
import { SORT_STATE_DESCEND as X } from "@mjsz-vbr-elements/core/constants";
|
|
15
|
+
const na = "Schedule", sa = "Application form", la = { report: "Report", video: "Video", season: "Season", seasons: "Seasons", section: "Section", sections: "Sections", phases: "Phases", phasesDivision: "Phases (phase-Name=division)", noPhases: "No Phases", teams: "Teams", filterName: "Filter by Name", players: "Players", month: "Month", homeOrAway: "Home or Away", home: "Home", away: "Away", schedule: "Schedule", standings: "Standings", playerStats: "Player Statistics", teamStats: "Team Statistics", championships: "Championships", championshipName: "Championship Name (Championship-Name):", championshipId: "Championship Identifier (Championship-id):", seasonId: "Season Identifier (season-Id):" }, ca = { points: "Points", goals: "Goals", assists: "Assists", penalties: "Penalties", goalies: "Goalies", goaliesLimit: "Goalies under 40%", teamAttendance: "Attendance", teamFairplay: "Fairplay", teamPenaltyKilling: "Penalty Killing", teamPowerplay: "Powerplay", teamScoringEfficiency: "Scoring Efficiency" }, da = { Negyeddöntő1: "Quarterfinal 1", Negyeddöntő2: "Quarterfinal 2", Negyeddöntő3: "Quarterfinal 3", Negyeddöntő4: "Quarterfinal 4", Elődöntő1: "Semifinal 1", Elődöntő2: "Semifinal 2", Döntő: "Final" }, ga = { section: { short: "Section", tooltip: "Section" }, organizer: { short: "Organizer", tooltip: "Organizer Team" }, document: { short: "Document", tooltip: "Application Form/Schedule" } }, ua = { gamesPlayed: "Games played", todaysGames: "Today's games", nextGames: "Next games", weekGames: "Games of the week", noGame: "No games can be displayed", more: "More" }, ma = { allSchedule: "Games Schedule", errorText: "Something went wrong!", errorCta: "Try Again" }, ke = {
|
|
16
|
+
schedule: na,
|
|
17
|
+
registration: sa,
|
|
18
|
+
selection: la,
|
|
19
|
+
report: ca,
|
|
20
|
+
playoffs: da,
|
|
21
|
+
table: ga,
|
|
22
|
+
calendar: ua,
|
|
23
|
+
gamesTimeline: ma
|
|
24
|
+
}, pa = "Sorsolás", va = "Jelentkezés", ha = { report: "Riport", video: "Videó", season: "Szezon", seasons: "Szezonok", section: "Szakasz", sections: "Szakaszok", phases: "Szakaszok", phasesDivision: "Fázisok (phase-Name=division)", noPhases: "Nincsenek szakaszok", teams: "Csapatok", filterName: "Szűrés névre", players: "Játékosok", month: "Hónap", homeOrAway: "Hazai vagy Vendég", home: "Hazai", away: "Vendég", schedule: "Menetrend", standings: "Tabella", playerStats: "Játékos statisztika", teamStats: "Csapat Statisztika", championships: "Bajnokságok", championshipName: "Bajnokság Neve (Championship-Name):", championshipId: "Bajnokság azonosító (Championship-id):", seasonId: "Szezon azonosító (season-Id):" }, ba = { points: "Pontok", goals: "Gólok", assists: "Gólpasszok", penalties: "Büntetések", goalies: "Kapusok", goaliesLimit: "Kapusok 40% jégidő alatt", teamAttendance: "Nézőszám", teamFairplay: "Büntetések", teamPenaltyKilling: "Emberhátrányok", teamPowerplay: "Emberelőnyök", teamScoringEfficiency: "Hatékonyság" }, fa = { Negyeddöntő1: "Negyeddöntő 1", Negyeddöntő2: "Negyeddöntő 2", Negyeddöntő3: "Negyeddöntő 3", Negyeddöntő4: "Negyeddöntő 4", Elődöntő1: "Elődöntő 1", Elődöntő2: "Elődöntő 2", Döntő: "Döntő" }, ya = { section: { short: "Szakasz", tooltip: "Szakasz" }, organizer: { short: "Rendező", tooltip: "Rendező csapat" }, document: { short: "Dokumentum", tooltip: "Jelentkezés/Sorsolás" } }, wa = { gamesPlayed: "Lejátszott mérkőzések", todaysGames: "Mai mérkőzések", nextGames: "Következő mérkőzések", weekGames: "A hét mérkőzései", noGame: "Nincs megjeleníthető mérkőzés", more: "Még több" }, xa = { allSchedule: "Teljes menetrend", errorText: "Valami hiba történt!", errorCta: "Próbáld újra" }, Se = {
|
|
25
|
+
schedule: pa,
|
|
26
|
+
registration: va,
|
|
27
|
+
selection: ha,
|
|
28
|
+
report: ba,
|
|
29
|
+
playoffs: fa,
|
|
30
|
+
table: ya,
|
|
31
|
+
calendar: wa,
|
|
32
|
+
gamesTimeline: xa
|
|
33
|
+
}, pe = "gamesPlayed", ye = "todaysGames", we = "nextGames", Le = "weekGames";
|
|
34
|
+
function _a(t, e) {
|
|
35
|
+
return e.value = { firstGame: t.firstGame, lastGame: t.lastGame }, Nr(t.games, Ar);
|
|
36
|
+
}
|
|
37
|
+
const q = /* @__PURE__ */ new Date(), Ce = (/* @__PURE__ */ new Map()).set(ye, () => ({ min: q, max: q, month: null, id: null })).set(Le, () => ({
|
|
38
|
+
min: wt().startDate,
|
|
39
|
+
max: wt().endDate,
|
|
40
40
|
month: null,
|
|
41
41
|
id: null
|
|
42
|
-
})).set(
|
|
43
|
-
const { year: e, month: r } =
|
|
42
|
+
})).set(pe, (t = null) => {
|
|
43
|
+
const { year: e, month: r } = kt(t);
|
|
44
44
|
return {
|
|
45
45
|
min: St(new Date(e, r, 1), !0),
|
|
46
|
-
max:
|
|
46
|
+
max: zt(new Date(e, r, 1), !0),
|
|
47
47
|
id: `${e}-${r}`
|
|
48
48
|
};
|
|
49
|
-
}).set(
|
|
50
|
-
const { year: e, month: r } =
|
|
49
|
+
}).set(we, (t = null) => {
|
|
50
|
+
const { year: e, month: r } = kt(t);
|
|
51
51
|
return {
|
|
52
52
|
min: St(new Date(e, r, 1)),
|
|
53
|
-
max:
|
|
53
|
+
max: zt(new Date(e, r, 1)),
|
|
54
54
|
id: `${e}-${r}`
|
|
55
55
|
};
|
|
56
|
-
}),
|
|
57
|
-
function
|
|
58
|
-
return
|
|
56
|
+
}), ka = (/* @__PURE__ */ new Map()).set(ye, () => []).set(pe, (t, e) => Sa(Ft(q, 1), t, e)).set(we, (t, e) => za(Bt(q, 1), t, e)).set(Le, () => []);
|
|
57
|
+
function Sa(t, e, r) {
|
|
58
|
+
return ct(t, e) ? [] : dt(t, r) ? [e, r] : [e, t];
|
|
59
59
|
}
|
|
60
|
-
function
|
|
61
|
-
return
|
|
60
|
+
function za(t, e, r) {
|
|
61
|
+
return ct(t, e) ? [e, r] : dt(t, r) ? [] : [t, r];
|
|
62
62
|
}
|
|
63
|
-
function
|
|
63
|
+
function Ia(t, e, r, a = "hu") {
|
|
64
64
|
t = new Date(t), e = new Date(e);
|
|
65
|
-
const
|
|
65
|
+
const o = [], i = t;
|
|
66
66
|
for (; i <= e; ) {
|
|
67
|
-
const
|
|
68
|
-
n(
|
|
67
|
+
const s = i.toLocaleString(a, { month: "short" });
|
|
68
|
+
n(s), i.setMonth(i.getMonth() + 1);
|
|
69
69
|
}
|
|
70
70
|
if (i.getMonth() === e.getMonth()) {
|
|
71
|
-
const
|
|
72
|
-
n(
|
|
71
|
+
const s = e.toLocaleString(a, { month: "short" });
|
|
72
|
+
n(s);
|
|
73
73
|
}
|
|
74
|
-
function n(
|
|
75
|
-
|
|
74
|
+
function n(s) {
|
|
75
|
+
o.findIndex((l) => l.name === s) === -1 && o.push({
|
|
76
76
|
id: `${i.getFullYear()}-${i.getMonth()}`,
|
|
77
|
-
name:
|
|
77
|
+
name: s
|
|
78
78
|
});
|
|
79
79
|
}
|
|
80
|
-
return
|
|
80
|
+
return o;
|
|
81
81
|
}
|
|
82
|
-
function
|
|
82
|
+
function kt(t) {
|
|
83
83
|
if (!t)
|
|
84
|
-
return { year:
|
|
84
|
+
return { year: q.getFullYear(), month: q.getMonth() };
|
|
85
85
|
const [e, r] = t.split("-");
|
|
86
86
|
return { year: e, month: r };
|
|
87
87
|
}
|
|
88
88
|
function St(t, e) {
|
|
89
89
|
if (e)
|
|
90
|
-
return
|
|
91
|
-
const r =
|
|
92
|
-
return
|
|
90
|
+
return Je(t);
|
|
91
|
+
const r = Bt(q, 1);
|
|
92
|
+
return ct(Je(t), r) ? r : Je(t);
|
|
93
93
|
}
|
|
94
|
-
function
|
|
94
|
+
function zt(t, e = !1) {
|
|
95
95
|
if (e) {
|
|
96
|
-
const r =
|
|
97
|
-
return
|
|
96
|
+
const r = Ft(q, 1);
|
|
97
|
+
return dt(Qe(t), r) ? r : Qe(t);
|
|
98
98
|
}
|
|
99
|
-
return
|
|
99
|
+
return Qe(t);
|
|
100
100
|
}
|
|
101
101
|
function at(t) {
|
|
102
|
-
return
|
|
102
|
+
return vr() ? (hr(t), !0) : !1;
|
|
103
103
|
}
|
|
104
|
-
const
|
|
104
|
+
const ot = typeof window < "u" && typeof document < "u";
|
|
105
105
|
typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
|
|
106
|
-
const
|
|
106
|
+
const $a = (t) => typeof t < "u", Ta = Object.prototype.toString, Ca = (t) => Ta.call(t) === "[object Object]", W = () => {
|
|
107
107
|
};
|
|
108
|
-
function
|
|
109
|
-
function r(...
|
|
110
|
-
return new Promise((
|
|
111
|
-
Promise.resolve(t(() => e.apply(this,
|
|
108
|
+
function mt(t, e) {
|
|
109
|
+
function r(...a) {
|
|
110
|
+
return new Promise((o, i) => {
|
|
111
|
+
Promise.resolve(t(() => e.apply(this, a), { fn: e, thisArg: this, args: a })).then(o).catch(i);
|
|
112
112
|
});
|
|
113
113
|
}
|
|
114
114
|
return r;
|
|
115
115
|
}
|
|
116
|
-
const
|
|
117
|
-
function
|
|
118
|
-
let r,
|
|
119
|
-
const i = (
|
|
120
|
-
clearTimeout(
|
|
116
|
+
const Qt = (t) => t();
|
|
117
|
+
function Na(t, e = {}) {
|
|
118
|
+
let r, a, o = W;
|
|
119
|
+
const i = (s) => {
|
|
120
|
+
clearTimeout(s), o(), o = W;
|
|
121
121
|
};
|
|
122
|
-
return (
|
|
123
|
-
const
|
|
124
|
-
return r && i(r),
|
|
125
|
-
|
|
126
|
-
r && i(r),
|
|
122
|
+
return (s) => {
|
|
123
|
+
const l = U(t), c = U(e.maxWait);
|
|
124
|
+
return r && i(r), l <= 0 || c !== void 0 && c <= 0 ? (a && (i(a), a = null), Promise.resolve(s())) : new Promise((g, p) => {
|
|
125
|
+
o = e.rejectOnCancel ? p : g, c && !a && (a = setTimeout(() => {
|
|
126
|
+
r && i(r), a = null, g(s());
|
|
127
127
|
}, c)), r = setTimeout(() => {
|
|
128
|
-
|
|
129
|
-
},
|
|
128
|
+
a && i(a), a = null, g(s());
|
|
129
|
+
}, l);
|
|
130
130
|
});
|
|
131
131
|
};
|
|
132
132
|
}
|
|
133
|
-
function
|
|
134
|
-
let e = 0, r,
|
|
135
|
-
!
|
|
133
|
+
function Aa(...t) {
|
|
134
|
+
let e = 0, r, a = !0, o = W, i, n, s, l, c;
|
|
135
|
+
!le(t[0]) && typeof t[0] == "object" ? { delay: n, trailing: s = !0, leading: l = !0, rejectOnCancel: c = !1 } = t[0] : [n, s = !0, l = !0, c = !1] = t;
|
|
136
136
|
const g = () => {
|
|
137
|
-
r && (clearTimeout(r), r = void 0,
|
|
137
|
+
r && (clearTimeout(r), r = void 0, o(), o = W);
|
|
138
138
|
};
|
|
139
|
-
return (
|
|
140
|
-
const
|
|
141
|
-
return g(),
|
|
142
|
-
|
|
143
|
-
e = Date.now(),
|
|
144
|
-
}, Math.max(0,
|
|
145
|
-
})), !
|
|
139
|
+
return (y) => {
|
|
140
|
+
const v = U(n), z = Date.now() - e, b = () => i = y();
|
|
141
|
+
return g(), v <= 0 ? (e = Date.now(), b()) : (z > v && (l || !a) ? (e = Date.now(), b()) : s && (i = new Promise(($, w) => {
|
|
142
|
+
o = c ? w : $, r = setTimeout(() => {
|
|
143
|
+
e = Date.now(), a = !0, $(b()), g();
|
|
144
|
+
}, Math.max(0, v - z));
|
|
145
|
+
})), !l && !r && (r = setTimeout(() => a = !0, v)), a = !1, i);
|
|
146
146
|
};
|
|
147
147
|
}
|
|
148
|
-
function
|
|
149
|
-
const e =
|
|
148
|
+
function Ea(t = Qt) {
|
|
149
|
+
const e = O(!0);
|
|
150
150
|
function r() {
|
|
151
151
|
e.value = !1;
|
|
152
152
|
}
|
|
153
|
-
function
|
|
153
|
+
function a() {
|
|
154
154
|
e.value = !0;
|
|
155
155
|
}
|
|
156
|
-
const
|
|
156
|
+
const o = (...i) => {
|
|
157
157
|
e.value && t(...i);
|
|
158
158
|
};
|
|
159
|
-
return { isActive:
|
|
159
|
+
return { isActive: br(e), pause: r, resume: a, eventFilter: o };
|
|
160
160
|
}
|
|
161
|
-
function
|
|
162
|
-
return new Promise((
|
|
163
|
-
setTimeout(e ? () =>
|
|
161
|
+
function it(t, e = !1, r = "Timeout") {
|
|
162
|
+
return new Promise((a, o) => {
|
|
163
|
+
setTimeout(e ? () => o(r) : a, t);
|
|
164
164
|
});
|
|
165
165
|
}
|
|
166
|
-
function
|
|
167
|
-
return
|
|
166
|
+
function Da(t) {
|
|
167
|
+
return Kt();
|
|
168
168
|
}
|
|
169
|
-
function
|
|
169
|
+
function It(t) {
|
|
170
170
|
return Array.isArray(t) ? t : [t];
|
|
171
171
|
}
|
|
172
|
-
function
|
|
173
|
-
return
|
|
174
|
-
|
|
172
|
+
function La(t, e = 200, r = {}) {
|
|
173
|
+
return mt(
|
|
174
|
+
Na(e, r),
|
|
175
175
|
t
|
|
176
176
|
);
|
|
177
177
|
}
|
|
178
|
-
function
|
|
179
|
-
return
|
|
180
|
-
|
|
178
|
+
function Pa(t, e = 200, r = !1, a = !0, o = !1) {
|
|
179
|
+
return mt(
|
|
180
|
+
Aa(e, r, a, o),
|
|
181
181
|
t
|
|
182
182
|
);
|
|
183
183
|
}
|
|
184
|
-
function
|
|
184
|
+
function Ma(t, e, r = {}) {
|
|
185
185
|
const {
|
|
186
|
-
eventFilter:
|
|
187
|
-
...
|
|
186
|
+
eventFilter: a = Qt,
|
|
187
|
+
...o
|
|
188
188
|
} = r;
|
|
189
|
-
return
|
|
189
|
+
return ie(
|
|
190
190
|
t,
|
|
191
|
-
|
|
192
|
-
|
|
191
|
+
mt(
|
|
192
|
+
a,
|
|
193
193
|
e
|
|
194
194
|
),
|
|
195
|
-
|
|
195
|
+
o
|
|
196
196
|
);
|
|
197
197
|
}
|
|
198
|
-
function
|
|
198
|
+
function ja(t, e, r = {}) {
|
|
199
199
|
const {
|
|
200
|
-
eventFilter:
|
|
201
|
-
...
|
|
202
|
-
} = r, { eventFilter: i, pause: n, resume:
|
|
203
|
-
return { stop:
|
|
200
|
+
eventFilter: a,
|
|
201
|
+
...o
|
|
202
|
+
} = r, { eventFilter: i, pause: n, resume: s, isActive: l } = Ea(a);
|
|
203
|
+
return { stop: Ma(
|
|
204
204
|
t,
|
|
205
205
|
e,
|
|
206
206
|
{
|
|
207
|
-
...
|
|
207
|
+
...o,
|
|
208
208
|
eventFilter: i
|
|
209
209
|
}
|
|
210
|
-
), pause: n, resume:
|
|
210
|
+
), pause: n, resume: s, isActive: l };
|
|
211
211
|
}
|
|
212
|
-
function
|
|
213
|
-
|
|
212
|
+
function Oa(t, e = !0, r) {
|
|
213
|
+
Da() ? lt(t, r) : e ? t() : fe(t);
|
|
214
214
|
}
|
|
215
|
-
function
|
|
216
|
-
function r(
|
|
217
|
-
let
|
|
218
|
-
const
|
|
219
|
-
|
|
215
|
+
function nt(t, e = !1) {
|
|
216
|
+
function r(p, { flush: y = "sync", deep: v = !1, timeout: z, throwOnTimeout: b } = {}) {
|
|
217
|
+
let $ = null;
|
|
218
|
+
const S = [new Promise((f) => {
|
|
219
|
+
$ = ie(
|
|
220
220
|
t,
|
|
221
|
-
(
|
|
222
|
-
|
|
221
|
+
(m) => {
|
|
222
|
+
p(m) !== e && ($ ? $() : fe(() => $ == null ? void 0 : $()), f(m));
|
|
223
223
|
},
|
|
224
224
|
{
|
|
225
|
-
flush:
|
|
226
|
-
deep:
|
|
225
|
+
flush: y,
|
|
226
|
+
deep: v,
|
|
227
227
|
immediate: !0
|
|
228
228
|
}
|
|
229
229
|
);
|
|
230
230
|
})];
|
|
231
|
-
return
|
|
232
|
-
|
|
233
|
-
), Promise.race(
|
|
234
|
-
}
|
|
235
|
-
function
|
|
236
|
-
if (!
|
|
237
|
-
return r((
|
|
238
|
-
const { flush:
|
|
231
|
+
return z != null && S.push(
|
|
232
|
+
it(z, b).then(() => U(t)).finally(() => $ == null ? void 0 : $())
|
|
233
|
+
), Promise.race(S);
|
|
234
|
+
}
|
|
235
|
+
function a(p, y) {
|
|
236
|
+
if (!le(p))
|
|
237
|
+
return r((m) => m === p, y);
|
|
238
|
+
const { flush: v = "sync", deep: z = !1, timeout: b, throwOnTimeout: $ } = y ?? {};
|
|
239
239
|
let w = null;
|
|
240
|
-
const
|
|
241
|
-
w =
|
|
242
|
-
[t,
|
|
243
|
-
([
|
|
244
|
-
e !== (
|
|
240
|
+
const f = [new Promise((m) => {
|
|
241
|
+
w = ie(
|
|
242
|
+
[t, p],
|
|
243
|
+
([I, N]) => {
|
|
244
|
+
e !== (I === N) && (w ? w() : fe(() => w == null ? void 0 : w()), m(I));
|
|
245
245
|
},
|
|
246
246
|
{
|
|
247
|
-
flush:
|
|
248
|
-
deep:
|
|
247
|
+
flush: v,
|
|
248
|
+
deep: z,
|
|
249
249
|
immediate: !0
|
|
250
250
|
}
|
|
251
251
|
);
|
|
252
252
|
})];
|
|
253
|
-
return
|
|
254
|
-
|
|
255
|
-
), Promise.race(
|
|
253
|
+
return b != null && f.push(
|
|
254
|
+
it(b, $).then(() => U(t)).finally(() => (w == null || w(), U(t)))
|
|
255
|
+
), Promise.race(f);
|
|
256
256
|
}
|
|
257
|
-
function
|
|
258
|
-
return r((
|
|
257
|
+
function o(p) {
|
|
258
|
+
return r((y) => !!y, p);
|
|
259
259
|
}
|
|
260
|
-
function i(
|
|
261
|
-
return
|
|
260
|
+
function i(p) {
|
|
261
|
+
return a(null, p);
|
|
262
262
|
}
|
|
263
|
-
function n(
|
|
264
|
-
return
|
|
263
|
+
function n(p) {
|
|
264
|
+
return a(void 0, p);
|
|
265
265
|
}
|
|
266
|
-
function
|
|
267
|
-
return r(Number.isNaN,
|
|
266
|
+
function s(p) {
|
|
267
|
+
return r(Number.isNaN, p);
|
|
268
268
|
}
|
|
269
|
-
function
|
|
270
|
-
return r((
|
|
271
|
-
const
|
|
272
|
-
return
|
|
273
|
-
},
|
|
269
|
+
function l(p, y) {
|
|
270
|
+
return r((v) => {
|
|
271
|
+
const z = Array.from(v);
|
|
272
|
+
return z.includes(p) || z.includes(U(p));
|
|
273
|
+
}, y);
|
|
274
274
|
}
|
|
275
|
-
function c(
|
|
276
|
-
return g(1,
|
|
275
|
+
function c(p) {
|
|
276
|
+
return g(1, p);
|
|
277
277
|
}
|
|
278
|
-
function g(
|
|
279
|
-
let
|
|
280
|
-
return r(() => (
|
|
278
|
+
function g(p = 1, y) {
|
|
279
|
+
let v = -1;
|
|
280
|
+
return r(() => (v += 1, v >= p), y);
|
|
281
281
|
}
|
|
282
|
-
return Array.isArray(
|
|
282
|
+
return Array.isArray(U(t)) ? {
|
|
283
283
|
toMatch: r,
|
|
284
|
-
toContains:
|
|
284
|
+
toContains: l,
|
|
285
285
|
changed: c,
|
|
286
286
|
changedTimes: g,
|
|
287
287
|
get not() {
|
|
288
|
-
return
|
|
288
|
+
return nt(t, !e);
|
|
289
289
|
}
|
|
290
290
|
} : {
|
|
291
291
|
toMatch: r,
|
|
292
|
-
toBe:
|
|
293
|
-
toBeTruthy:
|
|
292
|
+
toBe: a,
|
|
293
|
+
toBeTruthy: o,
|
|
294
294
|
toBeNull: i,
|
|
295
|
-
toBeNaN:
|
|
295
|
+
toBeNaN: s,
|
|
296
296
|
toBeUndefined: n,
|
|
297
297
|
changed: c,
|
|
298
298
|
changedTimes: g,
|
|
299
299
|
get not() {
|
|
300
|
-
return
|
|
300
|
+
return nt(t, !e);
|
|
301
301
|
}
|
|
302
302
|
};
|
|
303
303
|
}
|
|
304
|
-
function
|
|
305
|
-
return
|
|
304
|
+
function Ga(t) {
|
|
305
|
+
return nt(t);
|
|
306
306
|
}
|
|
307
307
|
function $t(t, e = 1e3, r = {}) {
|
|
308
308
|
const {
|
|
309
|
-
immediate:
|
|
310
|
-
immediateCallback:
|
|
309
|
+
immediate: a = !0,
|
|
310
|
+
immediateCallback: o = !1
|
|
311
311
|
} = r;
|
|
312
312
|
let i = null;
|
|
313
|
-
const n =
|
|
314
|
-
function
|
|
313
|
+
const n = O(!1);
|
|
314
|
+
function s() {
|
|
315
315
|
i && (clearInterval(i), i = null);
|
|
316
316
|
}
|
|
317
|
-
function
|
|
318
|
-
n.value = !1,
|
|
317
|
+
function l() {
|
|
318
|
+
n.value = !1, s();
|
|
319
319
|
}
|
|
320
320
|
function c() {
|
|
321
|
-
const g =
|
|
322
|
-
g <= 0 || (n.value = !0,
|
|
321
|
+
const g = U(e);
|
|
322
|
+
g <= 0 || (n.value = !0, o && t(), s(), n.value && (i = setInterval(t, g)));
|
|
323
323
|
}
|
|
324
|
-
if (
|
|
325
|
-
const g =
|
|
326
|
-
n.value &&
|
|
324
|
+
if (a && ot && c(), le(e) || typeof e == "function") {
|
|
325
|
+
const g = ie(e, () => {
|
|
326
|
+
n.value && ot && c();
|
|
327
327
|
});
|
|
328
328
|
at(g);
|
|
329
329
|
}
|
|
330
|
-
return at(
|
|
330
|
+
return at(l), {
|
|
331
331
|
isActive: n,
|
|
332
|
-
pause:
|
|
332
|
+
pause: l,
|
|
333
333
|
resume: c
|
|
334
334
|
};
|
|
335
335
|
}
|
|
336
|
-
const
|
|
337
|
-
function
|
|
336
|
+
const pt = ot ? window : void 0;
|
|
337
|
+
function ge(t) {
|
|
338
338
|
var e;
|
|
339
|
-
const r =
|
|
339
|
+
const r = U(t);
|
|
340
340
|
return (e = r == null ? void 0 : r.$el) != null ? e : r;
|
|
341
341
|
}
|
|
342
|
-
function
|
|
343
|
-
let e, r,
|
|
344
|
-
if (typeof t[0] == "string" || Array.isArray(t[0]) ? ([r,
|
|
345
|
-
return
|
|
346
|
-
r =
|
|
342
|
+
function Pe(...t) {
|
|
343
|
+
let e, r, a, o;
|
|
344
|
+
if (typeof t[0] == "string" || Array.isArray(t[0]) ? ([r, a, o] = t, e = pt) : [e, r, a, o] = t, !e)
|
|
345
|
+
return W;
|
|
346
|
+
r = It(r), a = It(a);
|
|
347
347
|
const i = [], n = () => {
|
|
348
348
|
i.forEach((g) => g()), i.length = 0;
|
|
349
|
-
},
|
|
350
|
-
() => [
|
|
351
|
-
([g,
|
|
349
|
+
}, s = (g, p, y, v) => (g.addEventListener(p, y, v), () => g.removeEventListener(p, y, v)), l = ie(
|
|
350
|
+
() => [ge(e), U(o)],
|
|
351
|
+
([g, p]) => {
|
|
352
352
|
if (n(), !g)
|
|
353
353
|
return;
|
|
354
|
-
const
|
|
354
|
+
const y = Ca(p) ? { ...p } : p;
|
|
355
355
|
i.push(
|
|
356
|
-
...r.flatMap((
|
|
356
|
+
...r.flatMap((v) => a.map((z) => s(g, v, z, y)))
|
|
357
357
|
);
|
|
358
358
|
},
|
|
359
359
|
{ immediate: !0, flush: "post" }
|
|
360
360
|
), c = () => {
|
|
361
|
-
|
|
361
|
+
l(), n();
|
|
362
362
|
};
|
|
363
363
|
return at(c), c;
|
|
364
364
|
}
|
|
365
|
-
function
|
|
365
|
+
function ve(t, e) {
|
|
366
366
|
const {
|
|
367
367
|
interrupt: r = !0,
|
|
368
|
-
onError:
|
|
369
|
-
onFinished:
|
|
368
|
+
onError: a = W,
|
|
369
|
+
onFinished: o = W,
|
|
370
370
|
signal: i
|
|
371
371
|
} = {}, n = {
|
|
372
372
|
aborted: "aborted",
|
|
373
373
|
fulfilled: "fulfilled",
|
|
374
374
|
pending: "pending",
|
|
375
375
|
rejected: "rejected"
|
|
376
|
-
},
|
|
376
|
+
}, s = Array.from(Array.from({ length: t.length }), () => ({ state: n.pending, data: null })), l = ce(s), c = O(-1);
|
|
377
377
|
if (!t || t.length === 0)
|
|
378
|
-
return
|
|
378
|
+
return o(), {
|
|
379
379
|
activeIndex: c,
|
|
380
|
-
result:
|
|
380
|
+
result: l
|
|
381
381
|
};
|
|
382
|
-
function g(
|
|
383
|
-
c.value++,
|
|
382
|
+
function g(p, y) {
|
|
383
|
+
c.value++, l[c.value].data = y, l[c.value].state = p;
|
|
384
384
|
}
|
|
385
|
-
return t.reduce((
|
|
386
|
-
var
|
|
385
|
+
return t.reduce((p, y) => p.then((v) => {
|
|
386
|
+
var z;
|
|
387
387
|
if (i != null && i.aborted) {
|
|
388
388
|
g(n.aborted, new Error("aborted"));
|
|
389
389
|
return;
|
|
390
390
|
}
|
|
391
|
-
if (((
|
|
392
|
-
|
|
391
|
+
if (((z = l[c.value]) == null ? void 0 : z.state) === n.rejected && r) {
|
|
392
|
+
o();
|
|
393
393
|
return;
|
|
394
394
|
}
|
|
395
|
-
const
|
|
396
|
-
return i ? Promise.race([
|
|
397
|
-
}).catch((
|
|
395
|
+
const b = y(v).then(($) => (g(n.fulfilled, $), c.value === t.length - 1 && o(), $));
|
|
396
|
+
return i ? Promise.race([b, Ra(i)]) : b;
|
|
397
|
+
}).catch((v) => i != null && i.aborted ? (g(n.aborted, v), v) : (g(n.rejected, v), a(), v)), Promise.resolve()), {
|
|
398
398
|
activeIndex: c,
|
|
399
|
-
result:
|
|
399
|
+
result: l
|
|
400
400
|
};
|
|
401
401
|
}
|
|
402
|
-
function
|
|
402
|
+
function Ra(t) {
|
|
403
403
|
return new Promise((e, r) => {
|
|
404
|
-
const
|
|
405
|
-
t.aborted ? r(
|
|
404
|
+
const a = new Error("aborted");
|
|
405
|
+
t.aborted ? r(a) : t.addEventListener("abort", () => r(a), { once: !0 });
|
|
406
406
|
});
|
|
407
407
|
}
|
|
408
|
-
function
|
|
408
|
+
function Ya(t, e, r) {
|
|
409
409
|
const {
|
|
410
|
-
immediate:
|
|
411
|
-
delay:
|
|
412
|
-
onError: i =
|
|
413
|
-
onSuccess: n =
|
|
414
|
-
resetOnExecute:
|
|
415
|
-
shallow:
|
|
410
|
+
immediate: a = !0,
|
|
411
|
+
delay: o = 0,
|
|
412
|
+
onError: i = W,
|
|
413
|
+
onSuccess: n = W,
|
|
414
|
+
resetOnExecute: s = !0,
|
|
415
|
+
shallow: l = !0,
|
|
416
416
|
throwError: c
|
|
417
|
-
} = r ?? {}, g =
|
|
418
|
-
async function
|
|
419
|
-
|
|
420
|
-
const
|
|
417
|
+
} = r ?? {}, g = l ? Ae(e) : O(e), p = O(!1), y = O(!1), v = Ae(void 0);
|
|
418
|
+
async function z(w = 0, ...S) {
|
|
419
|
+
s && (g.value = e), v.value = void 0, p.value = !1, y.value = !0, w > 0 && await it(w);
|
|
420
|
+
const f = typeof t == "function" ? t(...S) : t;
|
|
421
421
|
try {
|
|
422
|
-
const
|
|
423
|
-
g.value =
|
|
424
|
-
} catch (
|
|
425
|
-
if (
|
|
426
|
-
throw
|
|
422
|
+
const m = await f;
|
|
423
|
+
g.value = m, p.value = !0, n(m);
|
|
424
|
+
} catch (m) {
|
|
425
|
+
if (v.value = m, i(m), c)
|
|
426
|
+
throw m;
|
|
427
427
|
} finally {
|
|
428
|
-
|
|
428
|
+
y.value = !1;
|
|
429
429
|
}
|
|
430
430
|
return g.value;
|
|
431
431
|
}
|
|
432
|
-
|
|
433
|
-
const
|
|
432
|
+
a && z(o);
|
|
433
|
+
const b = {
|
|
434
434
|
state: g,
|
|
435
|
-
isReady:
|
|
436
|
-
isLoading:
|
|
437
|
-
error:
|
|
438
|
-
execute:
|
|
435
|
+
isReady: p,
|
|
436
|
+
isLoading: y,
|
|
437
|
+
error: v,
|
|
438
|
+
execute: z
|
|
439
439
|
};
|
|
440
|
-
function
|
|
441
|
-
return new Promise((w,
|
|
442
|
-
|
|
440
|
+
function $() {
|
|
441
|
+
return new Promise((w, S) => {
|
|
442
|
+
Ga(y).toBe(!1).then(() => w(b)).catch(S);
|
|
443
443
|
});
|
|
444
444
|
}
|
|
445
445
|
return {
|
|
446
|
-
...
|
|
447
|
-
then(w,
|
|
448
|
-
return
|
|
446
|
+
...b,
|
|
447
|
+
then(w, S) {
|
|
448
|
+
return $().then(w, S);
|
|
449
449
|
}
|
|
450
450
|
};
|
|
451
451
|
}
|
|
452
|
-
function
|
|
452
|
+
function Ua(t) {
|
|
453
453
|
return JSON.parse(JSON.stringify(t));
|
|
454
454
|
}
|
|
455
|
-
const
|
|
456
|
-
function
|
|
455
|
+
const Tt = 1;
|
|
456
|
+
function Va(t, e = {}) {
|
|
457
457
|
const {
|
|
458
458
|
throttle: r = 0,
|
|
459
|
-
idle:
|
|
460
|
-
onStop:
|
|
461
|
-
onScroll: i =
|
|
459
|
+
idle: a = 200,
|
|
460
|
+
onStop: o = W,
|
|
461
|
+
onScroll: i = W,
|
|
462
462
|
offset: n = {
|
|
463
463
|
left: 0,
|
|
464
464
|
right: 0,
|
|
465
465
|
top: 0,
|
|
466
466
|
bottom: 0
|
|
467
467
|
},
|
|
468
|
-
eventListenerOptions:
|
|
468
|
+
eventListenerOptions: s = {
|
|
469
469
|
capture: !1,
|
|
470
470
|
passive: !0
|
|
471
471
|
},
|
|
472
|
-
behavior:
|
|
473
|
-
window: c =
|
|
474
|
-
onError: g = (
|
|
475
|
-
console.error(
|
|
472
|
+
behavior: l = "auto",
|
|
473
|
+
window: c = pt,
|
|
474
|
+
onError: g = (k) => {
|
|
475
|
+
console.error(k);
|
|
476
476
|
}
|
|
477
|
-
} = e,
|
|
477
|
+
} = e, p = O(0), y = O(0), v = A({
|
|
478
478
|
get() {
|
|
479
|
-
return
|
|
479
|
+
return p.value;
|
|
480
480
|
},
|
|
481
|
-
set(
|
|
482
|
-
|
|
481
|
+
set(k) {
|
|
482
|
+
b(k, void 0);
|
|
483
483
|
}
|
|
484
|
-
}),
|
|
484
|
+
}), z = A({
|
|
485
485
|
get() {
|
|
486
|
-
return
|
|
486
|
+
return y.value;
|
|
487
487
|
},
|
|
488
|
-
set(
|
|
489
|
-
|
|
488
|
+
set(k) {
|
|
489
|
+
b(void 0, k);
|
|
490
490
|
}
|
|
491
491
|
});
|
|
492
|
-
function
|
|
493
|
-
var
|
|
492
|
+
function b(k, P) {
|
|
493
|
+
var D, H, oe, Z;
|
|
494
494
|
if (!c)
|
|
495
495
|
return;
|
|
496
|
-
const
|
|
497
|
-
if (!
|
|
496
|
+
const V = U(t);
|
|
497
|
+
if (!V)
|
|
498
498
|
return;
|
|
499
|
-
(oe =
|
|
500
|
-
top: (
|
|
501
|
-
left: (
|
|
502
|
-
behavior:
|
|
499
|
+
(oe = V instanceof Document ? c.document.body : V) == null || oe.scrollTo({
|
|
500
|
+
top: (D = U(P)) != null ? D : z.value,
|
|
501
|
+
left: (H = U(k)) != null ? H : v.value,
|
|
502
|
+
behavior: U(l)
|
|
503
503
|
});
|
|
504
|
-
const
|
|
505
|
-
|
|
504
|
+
const C = ((Z = V == null ? void 0 : V.document) == null ? void 0 : Z.documentElement) || (V == null ? void 0 : V.documentElement) || V;
|
|
505
|
+
v != null && (p.value = C.scrollLeft), z != null && (y.value = C.scrollTop);
|
|
506
506
|
}
|
|
507
|
-
const
|
|
507
|
+
const $ = O(!1), w = ce({
|
|
508
508
|
left: !0,
|
|
509
509
|
right: !1,
|
|
510
510
|
top: !0,
|
|
511
511
|
bottom: !1
|
|
512
|
-
}),
|
|
512
|
+
}), S = ce({
|
|
513
513
|
left: !1,
|
|
514
514
|
right: !1,
|
|
515
515
|
top: !1,
|
|
516
516
|
bottom: !1
|
|
517
|
-
}),
|
|
518
|
-
|
|
519
|
-
},
|
|
517
|
+
}), f = (k) => {
|
|
518
|
+
$.value && ($.value = !1, S.left = !1, S.right = !1, S.top = !1, S.bottom = !1, o(k));
|
|
519
|
+
}, m = La(f, r + a), I = (k) => {
|
|
520
520
|
var P;
|
|
521
521
|
if (!c)
|
|
522
522
|
return;
|
|
523
|
-
const
|
|
524
|
-
|
|
525
|
-
const
|
|
526
|
-
|
|
527
|
-
let
|
|
528
|
-
|
|
529
|
-
const
|
|
530
|
-
|
|
531
|
-
},
|
|
523
|
+
const D = ((P = k == null ? void 0 : k.document) == null ? void 0 : P.documentElement) || (k == null ? void 0 : k.documentElement) || ge(k), { display: H, flexDirection: oe, direction: Z } = getComputedStyle(D), V = Z === "rtl" ? -1 : 1, C = D.scrollLeft;
|
|
524
|
+
S.left = C < p.value, S.right = C > p.value;
|
|
525
|
+
const j = C * V <= (n.left || 0), re = C * V + D.clientWidth >= D.scrollWidth - (n.right || 0) - Tt;
|
|
526
|
+
H === "flex" && oe === "row-reverse" ? (w.left = re, w.right = j) : (w.left = j, w.right = re), p.value = C;
|
|
527
|
+
let B = D.scrollTop;
|
|
528
|
+
k === c.document && !B && (B = c.document.body.scrollTop), S.top = B < y.value, S.bottom = B > y.value;
|
|
529
|
+
const ee = B <= (n.top || 0), Xe = B + D.clientHeight >= D.scrollHeight - (n.bottom || 0) - Tt;
|
|
530
|
+
H === "flex" && oe === "column-reverse" ? (w.top = Xe, w.bottom = ee) : (w.top = ee, w.bottom = Xe), y.value = B;
|
|
531
|
+
}, N = (k) => {
|
|
532
532
|
var P;
|
|
533
533
|
if (!c)
|
|
534
534
|
return;
|
|
535
|
-
const
|
|
536
|
-
|
|
535
|
+
const D = (P = k.target.documentElement) != null ? P : k.target;
|
|
536
|
+
I(D), $.value = !0, m(k), i(k);
|
|
537
537
|
};
|
|
538
|
-
return
|
|
538
|
+
return Pe(
|
|
539
539
|
t,
|
|
540
540
|
"scroll",
|
|
541
|
-
r ?
|
|
542
|
-
|
|
543
|
-
),
|
|
541
|
+
r ? Pa(N, r, !0, !1) : N,
|
|
542
|
+
s
|
|
543
|
+
), Oa(() => {
|
|
544
544
|
try {
|
|
545
|
-
const
|
|
546
|
-
if (!
|
|
545
|
+
const k = U(t);
|
|
546
|
+
if (!k)
|
|
547
547
|
return;
|
|
548
|
-
|
|
549
|
-
} catch (
|
|
550
|
-
g(
|
|
548
|
+
I(k);
|
|
549
|
+
} catch (k) {
|
|
550
|
+
g(k);
|
|
551
551
|
}
|
|
552
|
-
}),
|
|
552
|
+
}), Pe(
|
|
553
553
|
t,
|
|
554
554
|
"scrollend",
|
|
555
|
-
|
|
556
|
-
|
|
555
|
+
f,
|
|
556
|
+
s
|
|
557
557
|
), {
|
|
558
|
-
x:
|
|
559
|
-
y:
|
|
560
|
-
isScrolling:
|
|
558
|
+
x: v,
|
|
559
|
+
y: z,
|
|
560
|
+
isScrolling: $,
|
|
561
561
|
arrivedState: w,
|
|
562
|
-
directions:
|
|
562
|
+
directions: S,
|
|
563
563
|
measure() {
|
|
564
|
-
const
|
|
565
|
-
c &&
|
|
564
|
+
const k = U(t);
|
|
565
|
+
c && k && I(k);
|
|
566
566
|
}
|
|
567
567
|
};
|
|
568
568
|
}
|
|
569
|
-
function
|
|
569
|
+
function Zt(t = "history", e = {}) {
|
|
570
570
|
const {
|
|
571
571
|
initialValue: r = {},
|
|
572
|
-
removeNullishValues:
|
|
573
|
-
removeFalsyValues:
|
|
572
|
+
removeNullishValues: a = !0,
|
|
573
|
+
removeFalsyValues: o = !1,
|
|
574
574
|
write: i = !0,
|
|
575
575
|
writeMode: n = "replace",
|
|
576
|
-
window:
|
|
576
|
+
window: s = pt
|
|
577
577
|
} = e;
|
|
578
|
-
if (!
|
|
579
|
-
return
|
|
580
|
-
const
|
|
578
|
+
if (!s)
|
|
579
|
+
return ce(r);
|
|
580
|
+
const l = ce({});
|
|
581
581
|
function c() {
|
|
582
582
|
if (t === "history")
|
|
583
|
-
return
|
|
583
|
+
return s.location.search || "";
|
|
584
584
|
if (t === "hash") {
|
|
585
|
-
const
|
|
586
|
-
return
|
|
585
|
+
const f = s.location.hash || "", m = f.indexOf("?");
|
|
586
|
+
return m > 0 ? f.slice(m) : "";
|
|
587
587
|
} else
|
|
588
|
-
return (
|
|
588
|
+
return (s.location.hash || "").replace(/^#/, "");
|
|
589
589
|
}
|
|
590
|
-
function g(
|
|
591
|
-
const
|
|
590
|
+
function g(f) {
|
|
591
|
+
const m = f.toString();
|
|
592
592
|
if (t === "history")
|
|
593
|
-
return `${
|
|
593
|
+
return `${m ? `?${m}` : ""}${s.location.hash || ""}`;
|
|
594
594
|
if (t === "hash-params")
|
|
595
|
-
return `${
|
|
596
|
-
const
|
|
597
|
-
return
|
|
595
|
+
return `${s.location.search || ""}${m ? `#${m}` : ""}`;
|
|
596
|
+
const I = s.location.hash || "#", N = I.indexOf("?");
|
|
597
|
+
return N > 0 ? `${s.location.search || ""}${I.slice(0, N)}${m ? `?${m}` : ""}` : `${s.location.search || ""}${I}${m ? `?${m}` : ""}`;
|
|
598
598
|
}
|
|
599
|
-
function
|
|
599
|
+
function p() {
|
|
600
600
|
return new URLSearchParams(c());
|
|
601
601
|
}
|
|
602
|
-
function
|
|
603
|
-
const
|
|
604
|
-
for (const
|
|
605
|
-
const
|
|
606
|
-
|
|
602
|
+
function y(f) {
|
|
603
|
+
const m = new Set(Object.keys(l));
|
|
604
|
+
for (const I of f.keys()) {
|
|
605
|
+
const N = f.getAll(I);
|
|
606
|
+
l[I] = N.length > 1 ? N : f.get(I) || "", m.delete(I);
|
|
607
607
|
}
|
|
608
|
-
Array.from(
|
|
608
|
+
Array.from(m).forEach((I) => delete l[I]);
|
|
609
609
|
}
|
|
610
|
-
const { pause:
|
|
611
|
-
|
|
610
|
+
const { pause: v, resume: z } = ja(
|
|
611
|
+
l,
|
|
612
612
|
() => {
|
|
613
|
-
const
|
|
614
|
-
Object.keys(
|
|
615
|
-
const
|
|
616
|
-
Array.isArray(
|
|
617
|
-
}),
|
|
613
|
+
const f = new URLSearchParams("");
|
|
614
|
+
Object.keys(l).forEach((m) => {
|
|
615
|
+
const I = l[m];
|
|
616
|
+
Array.isArray(I) ? I.forEach((N) => f.append(m, N)) : a && I == null || o && !I ? f.delete(m) : f.set(m, I);
|
|
617
|
+
}), b(f, !1);
|
|
618
618
|
},
|
|
619
619
|
{ deep: !0 }
|
|
620
620
|
);
|
|
621
|
-
function
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
) :
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
),
|
|
631
|
-
}
|
|
632
|
-
function
|
|
633
|
-
i &&
|
|
621
|
+
function b(f, m) {
|
|
622
|
+
v(), m && y(f), n === "replace" ? s.history.replaceState(
|
|
623
|
+
s.history.state,
|
|
624
|
+
s.document.title,
|
|
625
|
+
s.location.pathname + g(f)
|
|
626
|
+
) : s.history.pushState(
|
|
627
|
+
s.history.state,
|
|
628
|
+
s.document.title,
|
|
629
|
+
s.location.pathname + g(f)
|
|
630
|
+
), z();
|
|
631
|
+
}
|
|
632
|
+
function $() {
|
|
633
|
+
i && b(p(), !0);
|
|
634
634
|
}
|
|
635
635
|
const w = { passive: !0 };
|
|
636
|
-
|
|
637
|
-
const
|
|
638
|
-
return
|
|
636
|
+
Pe(s, "popstate", $, w), t !== "history" && Pe(s, "hashchange", $, w);
|
|
637
|
+
const S = p();
|
|
638
|
+
return S.keys().next().value ? y(S) : Object.assign(l, r), l;
|
|
639
639
|
}
|
|
640
|
-
function
|
|
641
|
-
var
|
|
640
|
+
function Ka(t, e, r, a = {}) {
|
|
641
|
+
var o, i, n;
|
|
642
642
|
const {
|
|
643
|
-
clone:
|
|
644
|
-
passive:
|
|
643
|
+
clone: s = !1,
|
|
644
|
+
passive: l = !1,
|
|
645
645
|
eventName: c,
|
|
646
646
|
deep: g = !1,
|
|
647
|
-
defaultValue:
|
|
648
|
-
shouldEmit:
|
|
649
|
-
} =
|
|
650
|
-
let
|
|
651
|
-
e || (e = "modelValue"),
|
|
652
|
-
const
|
|
653
|
-
|
|
647
|
+
defaultValue: p,
|
|
648
|
+
shouldEmit: y
|
|
649
|
+
} = a, v = Kt(), z = r || (v == null ? void 0 : v.emit) || ((o = v == null ? void 0 : v.$emit) == null ? void 0 : o.bind(v)) || ((n = (i = v == null ? void 0 : v.proxy) == null ? void 0 : i.$emit) == null ? void 0 : n.bind(v == null ? void 0 : v.proxy));
|
|
650
|
+
let b = c;
|
|
651
|
+
e || (e = "modelValue"), b = b || `update:${e.toString()}`;
|
|
652
|
+
const $ = (f) => s ? typeof s == "function" ? s(f) : Ua(f) : f, w = () => $a(t[e]) ? $(t[e]) : p, S = (f) => {
|
|
653
|
+
y ? y(f) && z(b, f) : z(b, f);
|
|
654
654
|
};
|
|
655
|
-
if (
|
|
656
|
-
const
|
|
657
|
-
let
|
|
658
|
-
return
|
|
655
|
+
if (l) {
|
|
656
|
+
const f = w(), m = O(f);
|
|
657
|
+
let I = !1;
|
|
658
|
+
return ie(
|
|
659
659
|
() => t[e],
|
|
660
|
-
(
|
|
661
|
-
|
|
660
|
+
(N) => {
|
|
661
|
+
I || (I = !0, m.value = $(N), fe(() => I = !1));
|
|
662
662
|
}
|
|
663
|
-
),
|
|
664
|
-
|
|
665
|
-
(
|
|
666
|
-
!
|
|
663
|
+
), ie(
|
|
664
|
+
m,
|
|
665
|
+
(N) => {
|
|
666
|
+
!I && (N !== t[e] || g) && S(N);
|
|
667
667
|
},
|
|
668
668
|
{ deep: g }
|
|
669
|
-
),
|
|
669
|
+
), m;
|
|
670
670
|
} else
|
|
671
671
|
return A({
|
|
672
672
|
get() {
|
|
673
673
|
return w();
|
|
674
674
|
},
|
|
675
|
-
set(
|
|
676
|
-
|
|
675
|
+
set(f) {
|
|
676
|
+
S(f);
|
|
677
677
|
}
|
|
678
678
|
});
|
|
679
679
|
}
|
|
680
|
-
function
|
|
681
|
-
const
|
|
682
|
-
for (const
|
|
683
|
-
o
|
|
680
|
+
function vt(t, e, r = {}) {
|
|
681
|
+
const a = {};
|
|
682
|
+
for (const o in t)
|
|
683
|
+
a[o] = Ka(
|
|
684
684
|
t,
|
|
685
|
-
|
|
685
|
+
o,
|
|
686
686
|
e,
|
|
687
687
|
r
|
|
688
688
|
);
|
|
689
|
-
return
|
|
689
|
+
return a;
|
|
690
690
|
}
|
|
691
691
|
function L(t) {
|
|
692
692
|
return t != null && typeof t == "object" && t["@@functional/placeholder"] === !0;
|
|
693
693
|
}
|
|
694
|
-
function
|
|
694
|
+
function Y(t) {
|
|
695
695
|
return function e(r) {
|
|
696
696
|
return arguments.length === 0 || L(r) ? e : t.apply(this, arguments);
|
|
697
697
|
};
|
|
698
698
|
}
|
|
699
|
-
function
|
|
700
|
-
return function e(r,
|
|
699
|
+
function K(t) {
|
|
700
|
+
return function e(r, a) {
|
|
701
701
|
switch (arguments.length) {
|
|
702
702
|
case 0:
|
|
703
703
|
return e;
|
|
704
704
|
case 1:
|
|
705
|
-
return L(r) ? e :
|
|
706
|
-
return t(r,
|
|
705
|
+
return L(r) ? e : Y(function(o) {
|
|
706
|
+
return t(r, o);
|
|
707
707
|
});
|
|
708
708
|
default:
|
|
709
|
-
return L(r) && L(
|
|
710
|
-
return t(
|
|
711
|
-
}) : L(
|
|
712
|
-
return t(r,
|
|
713
|
-
}) : t(r,
|
|
709
|
+
return L(r) && L(a) ? e : L(r) ? Y(function(o) {
|
|
710
|
+
return t(o, a);
|
|
711
|
+
}) : L(a) ? Y(function(o) {
|
|
712
|
+
return t(r, o);
|
|
713
|
+
}) : t(r, a);
|
|
714
714
|
}
|
|
715
715
|
};
|
|
716
716
|
}
|
|
717
|
-
function
|
|
717
|
+
function Ke(t, e) {
|
|
718
718
|
switch (t) {
|
|
719
719
|
case 0:
|
|
720
720
|
return function() {
|
|
@@ -725,117 +725,117 @@ function Fe(t, e) {
|
|
|
725
725
|
return e.apply(this, arguments);
|
|
726
726
|
};
|
|
727
727
|
case 2:
|
|
728
|
-
return function(r,
|
|
728
|
+
return function(r, a) {
|
|
729
729
|
return e.apply(this, arguments);
|
|
730
730
|
};
|
|
731
731
|
case 3:
|
|
732
|
-
return function(r,
|
|
732
|
+
return function(r, a, o) {
|
|
733
733
|
return e.apply(this, arguments);
|
|
734
734
|
};
|
|
735
735
|
case 4:
|
|
736
|
-
return function(r,
|
|
736
|
+
return function(r, a, o, i) {
|
|
737
737
|
return e.apply(this, arguments);
|
|
738
738
|
};
|
|
739
739
|
case 5:
|
|
740
|
-
return function(r,
|
|
740
|
+
return function(r, a, o, i, n) {
|
|
741
741
|
return e.apply(this, arguments);
|
|
742
742
|
};
|
|
743
743
|
case 6:
|
|
744
|
-
return function(r,
|
|
744
|
+
return function(r, a, o, i, n, s) {
|
|
745
745
|
return e.apply(this, arguments);
|
|
746
746
|
};
|
|
747
747
|
case 7:
|
|
748
|
-
return function(r,
|
|
748
|
+
return function(r, a, o, i, n, s, l) {
|
|
749
749
|
return e.apply(this, arguments);
|
|
750
750
|
};
|
|
751
751
|
case 8:
|
|
752
|
-
return function(r,
|
|
752
|
+
return function(r, a, o, i, n, s, l, c) {
|
|
753
753
|
return e.apply(this, arguments);
|
|
754
754
|
};
|
|
755
755
|
case 9:
|
|
756
|
-
return function(r,
|
|
756
|
+
return function(r, a, o, i, n, s, l, c, g) {
|
|
757
757
|
return e.apply(this, arguments);
|
|
758
758
|
};
|
|
759
759
|
case 10:
|
|
760
|
-
return function(r,
|
|
760
|
+
return function(r, a, o, i, n, s, l, c, g, p) {
|
|
761
761
|
return e.apply(this, arguments);
|
|
762
762
|
};
|
|
763
763
|
default:
|
|
764
764
|
throw new Error("First argument to _arity must be a non-negative integer no greater than ten");
|
|
765
765
|
}
|
|
766
766
|
}
|
|
767
|
-
function
|
|
767
|
+
function er(t, e, r) {
|
|
768
768
|
return function() {
|
|
769
|
-
for (var
|
|
770
|
-
var
|
|
771
|
-
n < e.length && (!L(e[n]) ||
|
|
769
|
+
for (var a = [], o = 0, i = t, n = 0, s = !1; n < e.length || o < arguments.length; ) {
|
|
770
|
+
var l;
|
|
771
|
+
n < e.length && (!L(e[n]) || o >= arguments.length) ? l = e[n] : (l = arguments[o], o += 1), a[n] = l, L(l) ? s = !0 : i -= 1, n += 1;
|
|
772
772
|
}
|
|
773
|
-
return !
|
|
773
|
+
return !s && i <= 0 ? r.apply(this, a) : Ke(Math.max(0, i), er(t, a, r));
|
|
774
774
|
};
|
|
775
775
|
}
|
|
776
|
-
var
|
|
777
|
-
return e === 1 ?
|
|
776
|
+
var Fa = /* @__PURE__ */ K(function(e, r) {
|
|
777
|
+
return e === 1 ? Y(r) : Ke(e, er(e, [], r));
|
|
778
778
|
});
|
|
779
779
|
function ht(t) {
|
|
780
|
-
return function e(r,
|
|
780
|
+
return function e(r, a, o) {
|
|
781
781
|
switch (arguments.length) {
|
|
782
782
|
case 0:
|
|
783
783
|
return e;
|
|
784
784
|
case 1:
|
|
785
|
-
return L(r) ? e :
|
|
785
|
+
return L(r) ? e : K(function(i, n) {
|
|
786
786
|
return t(r, i, n);
|
|
787
787
|
});
|
|
788
788
|
case 2:
|
|
789
|
-
return L(r) && L(
|
|
790
|
-
return t(i,
|
|
791
|
-
}) : L(
|
|
789
|
+
return L(r) && L(a) ? e : L(r) ? K(function(i, n) {
|
|
790
|
+
return t(i, a, n);
|
|
791
|
+
}) : L(a) ? K(function(i, n) {
|
|
792
792
|
return t(r, i, n);
|
|
793
|
-
}) :
|
|
794
|
-
return t(r,
|
|
793
|
+
}) : Y(function(i) {
|
|
794
|
+
return t(r, a, i);
|
|
795
795
|
});
|
|
796
796
|
default:
|
|
797
|
-
return L(r) && L(
|
|
798
|
-
return t(i, n,
|
|
799
|
-
}) : L(r) && L(
|
|
800
|
-
return t(i,
|
|
801
|
-
}) : L(
|
|
797
|
+
return L(r) && L(a) && L(o) ? e : L(r) && L(a) ? K(function(i, n) {
|
|
798
|
+
return t(i, n, o);
|
|
799
|
+
}) : L(r) && L(o) ? K(function(i, n) {
|
|
800
|
+
return t(i, a, n);
|
|
801
|
+
}) : L(a) && L(o) ? K(function(i, n) {
|
|
802
802
|
return t(r, i, n);
|
|
803
|
-
}) : L(r) ?
|
|
804
|
-
return t(i,
|
|
805
|
-
}) : L(
|
|
806
|
-
return t(r, i,
|
|
807
|
-
}) : L(
|
|
808
|
-
return t(r,
|
|
809
|
-
}) : t(r,
|
|
803
|
+
}) : L(r) ? Y(function(i) {
|
|
804
|
+
return t(i, a, o);
|
|
805
|
+
}) : L(a) ? Y(function(i) {
|
|
806
|
+
return t(r, i, o);
|
|
807
|
+
}) : L(o) ? Y(function(i) {
|
|
808
|
+
return t(r, a, i);
|
|
809
|
+
}) : t(r, a, o);
|
|
810
810
|
}
|
|
811
811
|
};
|
|
812
812
|
}
|
|
813
|
-
const
|
|
813
|
+
const Fe = Array.isArray || function(e) {
|
|
814
814
|
return e != null && e.length >= 0 && Object.prototype.toString.call(e) === "[object Array]";
|
|
815
815
|
};
|
|
816
|
-
function
|
|
816
|
+
function Ba(t) {
|
|
817
817
|
return t != null && typeof t["@@transducer/step"] == "function";
|
|
818
818
|
}
|
|
819
|
-
function
|
|
819
|
+
function qa(t, e, r) {
|
|
820
820
|
return function() {
|
|
821
821
|
if (arguments.length === 0)
|
|
822
822
|
return r();
|
|
823
|
-
var
|
|
824
|
-
if (!
|
|
825
|
-
for (var
|
|
826
|
-
if (typeof
|
|
827
|
-
return
|
|
828
|
-
|
|
823
|
+
var a = arguments[arguments.length - 1];
|
|
824
|
+
if (!Fe(a)) {
|
|
825
|
+
for (var o = 0; o < t.length; ) {
|
|
826
|
+
if (typeof a[t[o]] == "function")
|
|
827
|
+
return a[t[o]].apply(a, Array.prototype.slice.call(arguments, 0, -1));
|
|
828
|
+
o += 1;
|
|
829
829
|
}
|
|
830
|
-
if (
|
|
830
|
+
if (Ba(a)) {
|
|
831
831
|
var i = e.apply(null, Array.prototype.slice.call(arguments, 0, -1));
|
|
832
|
-
return i(
|
|
832
|
+
return i(a);
|
|
833
833
|
}
|
|
834
834
|
}
|
|
835
835
|
return r.apply(this, arguments);
|
|
836
836
|
};
|
|
837
837
|
}
|
|
838
|
-
const
|
|
838
|
+
const Ct = {
|
|
839
839
|
init: function() {
|
|
840
840
|
return this.xf["@@transducer/init"]();
|
|
841
841
|
},
|
|
@@ -843,96 +843,96 @@ const Nt = {
|
|
|
843
843
|
return this.xf["@@transducer/result"](t);
|
|
844
844
|
}
|
|
845
845
|
};
|
|
846
|
-
function
|
|
846
|
+
function Nt(t) {
|
|
847
847
|
for (var e = [], r; !(r = t.next()).done; )
|
|
848
848
|
e.push(r.value);
|
|
849
849
|
return e;
|
|
850
850
|
}
|
|
851
|
-
function
|
|
852
|
-
for (var
|
|
853
|
-
if (t(e, r[
|
|
851
|
+
function At(t, e, r) {
|
|
852
|
+
for (var a = 0, o = r.length; a < o; ) {
|
|
853
|
+
if (t(e, r[a]))
|
|
854
854
|
return !0;
|
|
855
|
-
|
|
855
|
+
a += 1;
|
|
856
856
|
}
|
|
857
857
|
return !1;
|
|
858
858
|
}
|
|
859
|
-
function
|
|
859
|
+
function Wa(t) {
|
|
860
860
|
var e = String(t).match(/^function (\w*)/);
|
|
861
861
|
return e == null ? "" : e[1];
|
|
862
862
|
}
|
|
863
|
-
function
|
|
863
|
+
function Me(t, e) {
|
|
864
864
|
return Object.prototype.hasOwnProperty.call(e, t);
|
|
865
865
|
}
|
|
866
|
-
function
|
|
866
|
+
function Ha(t, e) {
|
|
867
867
|
return t === e ? t !== 0 || 1 / t === 1 / e : t !== t && e !== e;
|
|
868
868
|
}
|
|
869
|
-
const
|
|
870
|
-
var
|
|
871
|
-
return
|
|
872
|
-
return
|
|
869
|
+
const Ze = typeof Object.is == "function" ? Object.is : Ha;
|
|
870
|
+
var Et = Object.prototype.toString, tr = /* @__PURE__ */ function() {
|
|
871
|
+
return Et.call(arguments) === "[object Arguments]" ? function(e) {
|
|
872
|
+
return Et.call(e) === "[object Arguments]";
|
|
873
873
|
} : function(e) {
|
|
874
|
-
return
|
|
874
|
+
return Me("callee", e);
|
|
875
875
|
};
|
|
876
|
-
}(),
|
|
876
|
+
}(), Xa = !/* @__PURE__ */ {
|
|
877
877
|
toString: null
|
|
878
|
-
}.propertyIsEnumerable("toString"),
|
|
878
|
+
}.propertyIsEnumerable("toString"), Dt = ["constructor", "valueOf", "isPrototypeOf", "toString", "propertyIsEnumerable", "hasOwnProperty", "toLocaleString"], Lt = /* @__PURE__ */ function() {
|
|
879
879
|
return arguments.propertyIsEnumerable("length");
|
|
880
|
-
}(),
|
|
881
|
-
for (var
|
|
882
|
-
if (e[
|
|
880
|
+
}(), Ja = function(e, r) {
|
|
881
|
+
for (var a = 0; a < e.length; ) {
|
|
882
|
+
if (e[a] === r)
|
|
883
883
|
return !0;
|
|
884
|
-
|
|
884
|
+
a += 1;
|
|
885
885
|
}
|
|
886
886
|
return !1;
|
|
887
|
-
},
|
|
887
|
+
}, st = /* @__PURE__ */ Y(typeof Object.keys == "function" && !Lt ? function(e) {
|
|
888
888
|
return Object(e) !== e ? [] : Object.keys(e);
|
|
889
889
|
} : function(e) {
|
|
890
890
|
if (Object(e) !== e)
|
|
891
891
|
return [];
|
|
892
|
-
var r,
|
|
892
|
+
var r, a, o = [], i = Lt && tr(e);
|
|
893
893
|
for (r in e)
|
|
894
|
-
|
|
895
|
-
if (
|
|
896
|
-
for (
|
|
897
|
-
r =
|
|
898
|
-
return
|
|
899
|
-
}),
|
|
894
|
+
Me(r, e) && (!i || r !== "length") && (o[o.length] = r);
|
|
895
|
+
if (Xa)
|
|
896
|
+
for (a = Dt.length - 1; a >= 0; )
|
|
897
|
+
r = Dt[a], Me(r, e) && !Ja(o, r) && (o[o.length] = r), a -= 1;
|
|
898
|
+
return o;
|
|
899
|
+
}), Pt = /* @__PURE__ */ Y(function(e) {
|
|
900
900
|
return e === null ? "Null" : e === void 0 ? "Undefined" : Object.prototype.toString.call(e).slice(8, -1);
|
|
901
901
|
});
|
|
902
|
-
function
|
|
903
|
-
var
|
|
904
|
-
function n(
|
|
905
|
-
return
|
|
902
|
+
function Mt(t, e, r, a) {
|
|
903
|
+
var o = Nt(t), i = Nt(e);
|
|
904
|
+
function n(s, l) {
|
|
905
|
+
return bt(s, l, r.slice(), a.slice());
|
|
906
906
|
}
|
|
907
|
-
return !
|
|
908
|
-
return !
|
|
909
|
-
}, i,
|
|
907
|
+
return !At(function(s, l) {
|
|
908
|
+
return !At(n, l, s);
|
|
909
|
+
}, i, o);
|
|
910
910
|
}
|
|
911
|
-
function
|
|
912
|
-
if (
|
|
911
|
+
function bt(t, e, r, a) {
|
|
912
|
+
if (Ze(t, e))
|
|
913
913
|
return !0;
|
|
914
|
-
var
|
|
915
|
-
if (
|
|
914
|
+
var o = Pt(t);
|
|
915
|
+
if (o !== Pt(e))
|
|
916
916
|
return !1;
|
|
917
917
|
if (typeof t["fantasy-land/equals"] == "function" || typeof e["fantasy-land/equals"] == "function")
|
|
918
918
|
return typeof t["fantasy-land/equals"] == "function" && t["fantasy-land/equals"](e) && typeof e["fantasy-land/equals"] == "function" && e["fantasy-land/equals"](t);
|
|
919
919
|
if (typeof t.equals == "function" || typeof e.equals == "function")
|
|
920
920
|
return typeof t.equals == "function" && t.equals(e) && typeof e.equals == "function" && e.equals(t);
|
|
921
|
-
switch (
|
|
921
|
+
switch (o) {
|
|
922
922
|
case "Arguments":
|
|
923
923
|
case "Array":
|
|
924
924
|
case "Object":
|
|
925
|
-
if (typeof t.constructor == "function" &&
|
|
925
|
+
if (typeof t.constructor == "function" && Wa(t.constructor) === "Promise")
|
|
926
926
|
return t === e;
|
|
927
927
|
break;
|
|
928
928
|
case "Boolean":
|
|
929
929
|
case "Number":
|
|
930
930
|
case "String":
|
|
931
|
-
if (!(typeof t == typeof e &&
|
|
931
|
+
if (!(typeof t == typeof e && Ze(t.valueOf(), e.valueOf())))
|
|
932
932
|
return !1;
|
|
933
933
|
break;
|
|
934
934
|
case "Date":
|
|
935
|
-
if (!
|
|
935
|
+
if (!Ze(t.valueOf(), e.valueOf()))
|
|
936
936
|
return !1;
|
|
937
937
|
break;
|
|
938
938
|
case "Error":
|
|
@@ -944,14 +944,14 @@ function ft(t, e, r, o) {
|
|
|
944
944
|
}
|
|
945
945
|
for (var i = r.length - 1; i >= 0; ) {
|
|
946
946
|
if (r[i] === t)
|
|
947
|
-
return
|
|
947
|
+
return a[i] === e;
|
|
948
948
|
i -= 1;
|
|
949
949
|
}
|
|
950
|
-
switch (
|
|
950
|
+
switch (o) {
|
|
951
951
|
case "Map":
|
|
952
|
-
return t.size !== e.size ? !1 :
|
|
952
|
+
return t.size !== e.size ? !1 : Mt(t.entries(), e.entries(), r.concat([t]), a.concat([e]));
|
|
953
953
|
case "Set":
|
|
954
|
-
return t.size !== e.size ? !1 :
|
|
954
|
+
return t.size !== e.size ? !1 : Mt(t.values(), e.values(), r.concat([t]), a.concat([e]));
|
|
955
955
|
case "Arguments":
|
|
956
956
|
case "Array":
|
|
957
957
|
case "Object":
|
|
@@ -975,121 +975,121 @@ function ft(t, e, r, o) {
|
|
|
975
975
|
default:
|
|
976
976
|
return !1;
|
|
977
977
|
}
|
|
978
|
-
var n =
|
|
979
|
-
if (n.length !==
|
|
978
|
+
var n = st(t);
|
|
979
|
+
if (n.length !== st(e).length)
|
|
980
980
|
return !1;
|
|
981
|
-
var
|
|
981
|
+
var s = r.concat([t]), l = a.concat([e]);
|
|
982
982
|
for (i = n.length - 1; i >= 0; ) {
|
|
983
983
|
var c = n[i];
|
|
984
|
-
if (!(
|
|
984
|
+
if (!(Me(c, e) && bt(e[c], t[c], s, l)))
|
|
985
985
|
return !1;
|
|
986
986
|
i -= 1;
|
|
987
987
|
}
|
|
988
988
|
return !0;
|
|
989
989
|
}
|
|
990
|
-
var
|
|
991
|
-
return
|
|
990
|
+
var Qa = /* @__PURE__ */ K(function(e, r) {
|
|
991
|
+
return bt(e, r, [], []);
|
|
992
992
|
});
|
|
993
|
-
function
|
|
994
|
-
for (var r = 0,
|
|
995
|
-
|
|
996
|
-
return
|
|
993
|
+
function Za(t, e) {
|
|
994
|
+
for (var r = 0, a = e.length, o = Array(a); r < a; )
|
|
995
|
+
o[r] = t(e[r]), r += 1;
|
|
996
|
+
return o;
|
|
997
997
|
}
|
|
998
|
-
function
|
|
999
|
-
for (var
|
|
1000
|
-
e = t(e, r[
|
|
998
|
+
function eo(t, e, r) {
|
|
999
|
+
for (var a = 0, o = r.length; a < o; )
|
|
1000
|
+
e = t(e, r[a]), a += 1;
|
|
1001
1001
|
return e;
|
|
1002
1002
|
}
|
|
1003
|
-
function
|
|
1003
|
+
function to(t) {
|
|
1004
1004
|
return Object.prototype.toString.call(t) === "[object Object]";
|
|
1005
1005
|
}
|
|
1006
|
-
var
|
|
1006
|
+
var ro = /* @__PURE__ */ function() {
|
|
1007
1007
|
function t(e, r) {
|
|
1008
1008
|
this.xf = r, this.f = e;
|
|
1009
1009
|
}
|
|
1010
|
-
return t.prototype["@@transducer/init"] =
|
|
1010
|
+
return t.prototype["@@transducer/init"] = Ct.init, t.prototype["@@transducer/result"] = Ct.result, t.prototype["@@transducer/step"] = function(e, r) {
|
|
1011
1011
|
return this.xf["@@transducer/step"](e, this.f(r));
|
|
1012
1012
|
}, t;
|
|
1013
|
-
}(),
|
|
1013
|
+
}(), ao = function(e) {
|
|
1014
1014
|
return function(r) {
|
|
1015
|
-
return new
|
|
1015
|
+
return new ro(e, r);
|
|
1016
1016
|
};
|
|
1017
|
-
},
|
|
1017
|
+
}, ft = /* @__PURE__ */ K(/* @__PURE__ */ qa(["fantasy-land/map", "map"], ao, function(e, r) {
|
|
1018
1018
|
switch (Object.prototype.toString.call(r)) {
|
|
1019
1019
|
case "[object Function]":
|
|
1020
|
-
return
|
|
1020
|
+
return Fa(r.length, function() {
|
|
1021
1021
|
return e.call(this, r.apply(this, arguments));
|
|
1022
1022
|
});
|
|
1023
1023
|
case "[object Object]":
|
|
1024
|
-
return
|
|
1025
|
-
return o
|
|
1026
|
-
}, {},
|
|
1024
|
+
return eo(function(a, o) {
|
|
1025
|
+
return a[o] = e(r[o]), a;
|
|
1026
|
+
}, {}, st(r));
|
|
1027
1027
|
default:
|
|
1028
|
-
return
|
|
1028
|
+
return Za(e, r);
|
|
1029
1029
|
}
|
|
1030
1030
|
}));
|
|
1031
|
-
const
|
|
1031
|
+
const rr = Number.isInteger || function(e) {
|
|
1032
1032
|
return e << 0 === e;
|
|
1033
1033
|
};
|
|
1034
|
-
function
|
|
1034
|
+
function Be(t) {
|
|
1035
1035
|
return Object.prototype.toString.call(t) === "[object String]";
|
|
1036
1036
|
}
|
|
1037
|
-
function
|
|
1037
|
+
function qe(t, e) {
|
|
1038
1038
|
var r = t < 0 ? e.length + t : t;
|
|
1039
|
-
return
|
|
1039
|
+
return Be(e) ? e.charAt(r) : e[r];
|
|
1040
1040
|
}
|
|
1041
|
-
var
|
|
1041
|
+
var de = /* @__PURE__ */ K(function(e, r) {
|
|
1042
1042
|
if (r != null)
|
|
1043
|
-
return
|
|
1044
|
-
}),
|
|
1045
|
-
return
|
|
1046
|
-
}),
|
|
1047
|
-
function
|
|
1048
|
-
return function(
|
|
1049
|
-
if (
|
|
1050
|
-
return t(
|
|
1043
|
+
return rr(e) ? qe(e, r) : r[e];
|
|
1044
|
+
}), oo = /* @__PURE__ */ Y(function(e) {
|
|
1045
|
+
return Fe(e) ? !0 : !e || typeof e != "object" || Be(e) ? !1 : e.length === 0 ? !0 : e.length > 0 ? e.hasOwnProperty(0) && e.hasOwnProperty(e.length - 1) : !1;
|
|
1046
|
+
}), jt = typeof Symbol < "u" ? Symbol.iterator : "@@iterator";
|
|
1047
|
+
function io(t, e, r) {
|
|
1048
|
+
return function(o, i, n) {
|
|
1049
|
+
if (oo(n))
|
|
1050
|
+
return t(o, i, n);
|
|
1051
1051
|
if (n == null)
|
|
1052
1052
|
return i;
|
|
1053
1053
|
if (typeof n["fantasy-land/reduce"] == "function")
|
|
1054
|
-
return e(
|
|
1055
|
-
if (n[
|
|
1056
|
-
return r(
|
|
1054
|
+
return e(o, i, n, "fantasy-land/reduce");
|
|
1055
|
+
if (n[jt] != null)
|
|
1056
|
+
return r(o, i, n[jt]());
|
|
1057
1057
|
if (typeof n.next == "function")
|
|
1058
|
-
return r(
|
|
1058
|
+
return r(o, i, n);
|
|
1059
1059
|
if (typeof n.reduce == "function")
|
|
1060
|
-
return e(
|
|
1060
|
+
return e(o, i, n, "reduce");
|
|
1061
1061
|
throw new TypeError("reduce: list must be array or iterable");
|
|
1062
1062
|
};
|
|
1063
1063
|
}
|
|
1064
|
-
function
|
|
1065
|
-
for (var
|
|
1066
|
-
if (e = t["@@transducer/step"](e, r[
|
|
1064
|
+
function no(t, e, r) {
|
|
1065
|
+
for (var a = 0, o = r.length; a < o; ) {
|
|
1066
|
+
if (e = t["@@transducer/step"](e, r[a]), e && e["@@transducer/reduced"]) {
|
|
1067
1067
|
e = e["@@transducer/value"];
|
|
1068
1068
|
break;
|
|
1069
1069
|
}
|
|
1070
|
-
|
|
1070
|
+
a += 1;
|
|
1071
1071
|
}
|
|
1072
1072
|
return t["@@transducer/result"](e);
|
|
1073
1073
|
}
|
|
1074
|
-
var
|
|
1075
|
-
return
|
|
1074
|
+
var so = /* @__PURE__ */ K(function(e, r) {
|
|
1075
|
+
return Ke(e.length, function() {
|
|
1076
1076
|
return e.apply(r, arguments);
|
|
1077
1077
|
});
|
|
1078
1078
|
});
|
|
1079
|
-
function
|
|
1080
|
-
for (var
|
|
1081
|
-
if (e = t["@@transducer/step"](e,
|
|
1079
|
+
function lo(t, e, r) {
|
|
1080
|
+
for (var a = r.next(); !a.done; ) {
|
|
1081
|
+
if (e = t["@@transducer/step"](e, a.value), e && e["@@transducer/reduced"]) {
|
|
1082
1082
|
e = e["@@transducer/value"];
|
|
1083
1083
|
break;
|
|
1084
1084
|
}
|
|
1085
|
-
|
|
1085
|
+
a = r.next();
|
|
1086
1086
|
}
|
|
1087
1087
|
return t["@@transducer/result"](e);
|
|
1088
1088
|
}
|
|
1089
|
-
function
|
|
1090
|
-
return t["@@transducer/result"](r[
|
|
1089
|
+
function co(t, e, r, a) {
|
|
1090
|
+
return t["@@transducer/result"](r[a](so(t["@@transducer/step"], t), e));
|
|
1091
1091
|
}
|
|
1092
|
-
var
|
|
1092
|
+
var go = /* @__PURE__ */ io(no, co, lo), uo = /* @__PURE__ */ function() {
|
|
1093
1093
|
function t(e) {
|
|
1094
1094
|
this.f = e;
|
|
1095
1095
|
}
|
|
@@ -1101,89 +1101,89 @@ var ma = /* @__PURE__ */ la(ca, va, ga), pa = /* @__PURE__ */ function() {
|
|
|
1101
1101
|
return this.f(e, r);
|
|
1102
1102
|
}, t;
|
|
1103
1103
|
}();
|
|
1104
|
-
function
|
|
1105
|
-
return new
|
|
1104
|
+
function mo(t) {
|
|
1105
|
+
return new uo(t);
|
|
1106
1106
|
}
|
|
1107
|
-
var
|
|
1108
|
-
return
|
|
1107
|
+
var po = /* @__PURE__ */ ht(function(t, e, r) {
|
|
1108
|
+
return go(typeof t == "function" ? mo(t) : t, e, r);
|
|
1109
1109
|
});
|
|
1110
|
-
function
|
|
1110
|
+
function vo(t, e) {
|
|
1111
1111
|
return function() {
|
|
1112
1112
|
return e.call(this, t.apply(this, arguments));
|
|
1113
1113
|
};
|
|
1114
1114
|
}
|
|
1115
|
-
function
|
|
1115
|
+
function ar(t, e) {
|
|
1116
1116
|
return function() {
|
|
1117
1117
|
var r = arguments.length;
|
|
1118
1118
|
if (r === 0)
|
|
1119
1119
|
return e();
|
|
1120
|
-
var
|
|
1121
|
-
return
|
|
1120
|
+
var a = arguments[r - 1];
|
|
1121
|
+
return Fe(a) || typeof a[t] != "function" ? e.apply(this, arguments) : a[t].apply(a, Array.prototype.slice.call(arguments, 0, r - 1));
|
|
1122
1122
|
};
|
|
1123
1123
|
}
|
|
1124
|
-
var
|
|
1125
|
-
return Array.prototype.slice.call(
|
|
1126
|
-
})),
|
|
1127
|
-
function
|
|
1124
|
+
var ho = /* @__PURE__ */ ht(/* @__PURE__ */ ar("slice", function(e, r, a) {
|
|
1125
|
+
return Array.prototype.slice.call(a, e, r);
|
|
1126
|
+
})), bo = /* @__PURE__ */ Y(/* @__PURE__ */ ar("tail", /* @__PURE__ */ ho(1, 1 / 0)));
|
|
1127
|
+
function ze() {
|
|
1128
1128
|
if (arguments.length === 0)
|
|
1129
1129
|
throw new Error("pipe requires at least one argument");
|
|
1130
|
-
return
|
|
1130
|
+
return Ke(arguments[0].length, po(vo, arguments[0], bo(arguments)));
|
|
1131
1131
|
}
|
|
1132
|
-
var
|
|
1133
|
-
return
|
|
1132
|
+
var fo = /* @__PURE__ */ Y(function(e) {
|
|
1133
|
+
return Be(e) ? e.split("").reverse().join("") : Array.prototype.slice.call(e, 0).reverse();
|
|
1134
1134
|
});
|
|
1135
1135
|
function yt() {
|
|
1136
1136
|
if (arguments.length === 0)
|
|
1137
1137
|
throw new Error("compose requires at least one argument");
|
|
1138
|
-
return
|
|
1139
|
-
}
|
|
1140
|
-
var
|
|
1141
|
-
return
|
|
1142
|
-
}),
|
|
1143
|
-
var
|
|
1144
|
-
return
|
|
1145
|
-
}),
|
|
1146
|
-
return
|
|
1138
|
+
return ze.apply(this, fo(arguments));
|
|
1139
|
+
}
|
|
1140
|
+
var ne = /* @__PURE__ */ Y(function(t) {
|
|
1141
|
+
return qe(0, t);
|
|
1142
|
+
}), or = /* @__PURE__ */ ht(function(e, r, a) {
|
|
1143
|
+
var o = e(r), i = e(a);
|
|
1144
|
+
return o > i ? -1 : o < i ? 1 : 0;
|
|
1145
|
+
}), yo = /* @__PURE__ */ Y(function(t) {
|
|
1146
|
+
return qe(-1, t);
|
|
1147
1147
|
});
|
|
1148
|
-
function
|
|
1148
|
+
function wo(t) {
|
|
1149
1149
|
var e = Object.prototype.toString.call(t);
|
|
1150
1150
|
return e === "[object Uint8ClampedArray]" || e === "[object Int8Array]" || e === "[object Uint8Array]" || e === "[object Int16Array]" || e === "[object Uint16Array]" || e === "[object Int32Array]" || e === "[object Uint32Array]" || e === "[object Float32Array]" || e === "[object Float64Array]" || e === "[object BigInt64Array]" || e === "[object BigUint64Array]";
|
|
1151
1151
|
}
|
|
1152
|
-
var
|
|
1153
|
-
return e != null && typeof e["fantasy-land/empty"] == "function" ? e["fantasy-land/empty"]() : e != null && e.constructor != null && typeof e.constructor["fantasy-land/empty"] == "function" ? e.constructor["fantasy-land/empty"]() : e != null && typeof e.empty == "function" ? e.empty() : e != null && e.constructor != null && typeof e.constructor.empty == "function" ? e.constructor.empty() :
|
|
1152
|
+
var xo = /* @__PURE__ */ Y(function(e) {
|
|
1153
|
+
return e != null && typeof e["fantasy-land/empty"] == "function" ? e["fantasy-land/empty"]() : e != null && e.constructor != null && typeof e.constructor["fantasy-land/empty"] == "function" ? e.constructor["fantasy-land/empty"]() : e != null && typeof e.empty == "function" ? e.empty() : e != null && e.constructor != null && typeof e.constructor.empty == "function" ? e.constructor.empty() : Fe(e) ? [] : Be(e) ? "" : to(e) ? {} : tr(e) ? /* @__PURE__ */ function() {
|
|
1154
1154
|
return arguments;
|
|
1155
|
-
}() :
|
|
1156
|
-
}),
|
|
1157
|
-
return e != null &&
|
|
1155
|
+
}() : wo(e) ? e.constructor.from("") : void 0;
|
|
1156
|
+
}), et = /* @__PURE__ */ Y(function(e) {
|
|
1157
|
+
return e != null && Qa(e, xo(e));
|
|
1158
1158
|
});
|
|
1159
|
-
function
|
|
1160
|
-
for (var r = e,
|
|
1159
|
+
function _o(t, e) {
|
|
1160
|
+
for (var r = e, a = 0; a < t.length; a += 1) {
|
|
1161
1161
|
if (r == null)
|
|
1162
1162
|
return;
|
|
1163
|
-
var
|
|
1164
|
-
|
|
1163
|
+
var o = t[a];
|
|
1164
|
+
rr(o) ? r = qe(o, r) : r = r[o];
|
|
1165
1165
|
}
|
|
1166
1166
|
return r;
|
|
1167
1167
|
}
|
|
1168
|
-
var
|
|
1169
|
-
for (var
|
|
1170
|
-
|
|
1171
|
-
for (var
|
|
1172
|
-
|
|
1173
|
-
return
|
|
1174
|
-
}),
|
|
1175
|
-
for (var
|
|
1176
|
-
e[
|
|
1177
|
-
return
|
|
1178
|
-
}),
|
|
1168
|
+
var ko = /* @__PURE__ */ K(function(e, r) {
|
|
1169
|
+
for (var a = {}, o = {}, i = 0, n = e.length; i < n; )
|
|
1170
|
+
o[e[i]] = 1, i += 1;
|
|
1171
|
+
for (var s in r)
|
|
1172
|
+
o.hasOwnProperty(s) || (a[s] = r[s]);
|
|
1173
|
+
return a;
|
|
1174
|
+
}), ir = /* @__PURE__ */ K(_o), nr = /* @__PURE__ */ K(function(e, r) {
|
|
1175
|
+
for (var a = {}, o = 0; o < e.length; )
|
|
1176
|
+
e[o] in r && (a[e[o]] = r[e[o]]), o += 1;
|
|
1177
|
+
return a;
|
|
1178
|
+
}), sr = /* @__PURE__ */ K(function(e, r) {
|
|
1179
1179
|
return Array.prototype.slice.call(r, 0).sort(e);
|
|
1180
|
-
}),
|
|
1181
|
-
return Array.prototype.slice.call(r, 0).sort(function(
|
|
1182
|
-
var i = e(
|
|
1180
|
+
}), lr = /* @__PURE__ */ K(function(e, r) {
|
|
1181
|
+
return Array.prototype.slice.call(r, 0).sort(function(a, o) {
|
|
1182
|
+
var i = e(a), n = e(o);
|
|
1183
1183
|
return i < n ? -1 : i > n ? 1 : 0;
|
|
1184
1184
|
});
|
|
1185
1185
|
});
|
|
1186
|
-
const
|
|
1186
|
+
const Ot = 20, So = {
|
|
1187
1187
|
__name: "DataProvider",
|
|
1188
1188
|
props: {
|
|
1189
1189
|
locale: {
|
|
@@ -1204,17 +1204,17 @@ const Rt = 20, Sa = {
|
|
|
1204
1204
|
}
|
|
1205
1205
|
},
|
|
1206
1206
|
setup(t) {
|
|
1207
|
-
const e = t, { timezone: r, locale:
|
|
1208
|
-
firstGame:
|
|
1209
|
-
lastGame:
|
|
1210
|
-
}), g =
|
|
1211
|
-
min:
|
|
1212
|
-
max:
|
|
1207
|
+
const e = t, { timezone: r, locale: a } = fr(e), { onError: o } = Ve(), i = Zt("history"), n = O(i.panel || ye), s = O(null), l = O(0), c = Ae({
|
|
1208
|
+
firstGame: q,
|
|
1209
|
+
lastGame: q
|
|
1210
|
+
}), g = Ae({
|
|
1211
|
+
min: J(q, "YYYY-MM-DD"),
|
|
1212
|
+
max: J(q, "YYYY-MM-DD")
|
|
1213
1213
|
}), {
|
|
1214
|
-
state:
|
|
1215
|
-
isLoading:
|
|
1216
|
-
execute:
|
|
1217
|
-
} =
|
|
1214
|
+
state: p,
|
|
1215
|
+
isLoading: y,
|
|
1216
|
+
execute: v
|
|
1217
|
+
} = te({
|
|
1218
1218
|
options: {
|
|
1219
1219
|
path: "/v2/games-calendar",
|
|
1220
1220
|
apiKey: e.apiKey,
|
|
@@ -1225,68 +1225,68 @@ const Rt = 20, Sa = {
|
|
|
1225
1225
|
})),
|
|
1226
1226
|
resetOnExecute: !0
|
|
1227
1227
|
},
|
|
1228
|
-
transform: (
|
|
1229
|
-
onError:
|
|
1230
|
-
}),
|
|
1231
|
-
() =>
|
|
1232
|
-
),
|
|
1233
|
-
() =>
|
|
1234
|
-
...
|
|
1235
|
-
n.value ===
|
|
1236
|
-
|
|
1228
|
+
transform: (m) => _a(m, c),
|
|
1229
|
+
onError: o
|
|
1230
|
+
}), z = A(
|
|
1231
|
+
() => gt(p.value).schedule(r.value, a.value).more(0, l.value * Ot + Ot).groupByDays().value()
|
|
1232
|
+
), b = A(
|
|
1233
|
+
() => Ia(
|
|
1234
|
+
...ka.get(n.value)(c.value.firstGame, c.value.lastGame),
|
|
1235
|
+
n.value === pe,
|
|
1236
|
+
a.value
|
|
1237
1237
|
)
|
|
1238
1238
|
);
|
|
1239
|
-
|
|
1239
|
+
ie(
|
|
1240
1240
|
n,
|
|
1241
|
-
async (
|
|
1242
|
-
const { min:
|
|
1243
|
-
g.value = { min:
|
|
1241
|
+
async (m) => {
|
|
1242
|
+
const { min: I, max: N, id: k } = Ce.get(m)(i.month);
|
|
1243
|
+
g.value = { min: J(I, "YYYY-MM-DD"), max: J(N, "YYYY-MM-DD") }, s.value = k, await v(), i.month || f();
|
|
1244
1244
|
},
|
|
1245
1245
|
{
|
|
1246
1246
|
immediate: !0
|
|
1247
1247
|
}
|
|
1248
1248
|
);
|
|
1249
|
-
function
|
|
1250
|
-
n.value =
|
|
1251
|
-
}
|
|
1252
|
-
function w(
|
|
1253
|
-
const { min:
|
|
1254
|
-
|
|
1255
|
-
min:
|
|
1256
|
-
max:
|
|
1257
|
-
},
|
|
1258
|
-
}
|
|
1259
|
-
function
|
|
1260
|
-
|
|
1261
|
-
}
|
|
1262
|
-
function
|
|
1263
|
-
var
|
|
1264
|
-
if (![
|
|
1249
|
+
function $(m) {
|
|
1250
|
+
n.value = m, i.panel = m, l.value = 0, i.month = null;
|
|
1251
|
+
}
|
|
1252
|
+
function w(m) {
|
|
1253
|
+
const { min: I, max: N, id: k } = Ce.get(n.value)(m.id);
|
|
1254
|
+
s.value = k, i.month = k, g.value = {
|
|
1255
|
+
min: J(I, "YYYY-MM-DD"),
|
|
1256
|
+
max: J(N, "YYYY-MM-DD")
|
|
1257
|
+
}, l.value = 0, v();
|
|
1258
|
+
}
|
|
1259
|
+
function S() {
|
|
1260
|
+
l.value += 1;
|
|
1261
|
+
}
|
|
1262
|
+
function f() {
|
|
1263
|
+
var N, k;
|
|
1264
|
+
if (![pe, we].includes(n.value))
|
|
1265
1265
|
return;
|
|
1266
|
-
const { firstGame:
|
|
1267
|
-
if (
|
|
1268
|
-
const { min: P, max:
|
|
1269
|
-
return g.value = { min:
|
|
1266
|
+
const { firstGame: m, lastGame: I } = c.value;
|
|
1267
|
+
if (Or(q, m)) {
|
|
1268
|
+
const { min: P, max: D, id: H } = Ce.get(n.value)((N = ne(b.value)) == null ? void 0 : N.id);
|
|
1269
|
+
return g.value = { min: J(P, "YYYY-MM-DD"), max: J(D, "YYYY-MM-DD") }, s.value = H, v();
|
|
1270
1270
|
}
|
|
1271
|
-
if (
|
|
1272
|
-
const { min: P, max:
|
|
1273
|
-
g.value = { min:
|
|
1271
|
+
if (Wt(q, I)) {
|
|
1272
|
+
const { min: P, max: D, id: H } = Ce.get(n.value)((k = yo(b.value)) == null ? void 0 : k.id);
|
|
1273
|
+
g.value = { min: J(P, "YYYY-MM-DD"), max: J(D, "YYYY-MM-DD") }, s.value = H, v();
|
|
1274
1274
|
}
|
|
1275
1275
|
}
|
|
1276
|
-
return (
|
|
1277
|
-
today:
|
|
1278
|
-
months:
|
|
1279
|
-
isLoading:
|
|
1276
|
+
return (m, I) => he(m.$slots, "default", je(Oe({
|
|
1277
|
+
today: d(q),
|
|
1278
|
+
months: b.value,
|
|
1279
|
+
isLoading: d(y),
|
|
1280
1280
|
datesFilter: g.value,
|
|
1281
|
-
selectedMonth:
|
|
1281
|
+
selectedMonth: s.value,
|
|
1282
1282
|
selectedPanel: n.value,
|
|
1283
|
-
games:
|
|
1284
|
-
more:
|
|
1283
|
+
games: z.value,
|
|
1284
|
+
more: S,
|
|
1285
1285
|
setMonth: w,
|
|
1286
|
-
changePanel:
|
|
1286
|
+
changePanel: $
|
|
1287
1287
|
})));
|
|
1288
1288
|
}
|
|
1289
|
-
},
|
|
1289
|
+
}, zo = {
|
|
1290
1290
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1291
1291
|
viewBox: "0 0 24 24",
|
|
1292
1292
|
fill: "none",
|
|
@@ -1295,9 +1295,9 @@ const Rt = 20, Sa = {
|
|
|
1295
1295
|
"stroke-linecap": "round",
|
|
1296
1296
|
"stroke-linejoin": "round"
|
|
1297
1297
|
};
|
|
1298
|
-
function
|
|
1299
|
-
return
|
|
1300
|
-
|
|
1298
|
+
function Io(t, e) {
|
|
1299
|
+
return h(), _("svg", zo, e[0] || (e[0] = [
|
|
1300
|
+
u("rect", {
|
|
1301
1301
|
x: "2",
|
|
1302
1302
|
y: "3",
|
|
1303
1303
|
width: "20",
|
|
@@ -1305,13 +1305,13 @@ function Ta(t, e) {
|
|
|
1305
1305
|
rx: "2",
|
|
1306
1306
|
ry: "2"
|
|
1307
1307
|
}, null, -1),
|
|
1308
|
-
|
|
1308
|
+
u("line", {
|
|
1309
1309
|
x1: "8",
|
|
1310
1310
|
y1: "21",
|
|
1311
1311
|
x2: "16",
|
|
1312
1312
|
y2: "21"
|
|
1313
1313
|
}, null, -1),
|
|
1314
|
-
|
|
1314
|
+
u("line", {
|
|
1315
1315
|
x1: "12",
|
|
1316
1316
|
y1: "17",
|
|
1317
1317
|
x2: "12",
|
|
@@ -1319,7 +1319,7 @@ function Ta(t, e) {
|
|
|
1319
1319
|
}, null, -1)
|
|
1320
1320
|
]));
|
|
1321
1321
|
}
|
|
1322
|
-
const $
|
|
1322
|
+
const $o = { render: Io }, To = {
|
|
1323
1323
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1324
1324
|
viewBox: "0 0 24 24",
|
|
1325
1325
|
fill: "none",
|
|
@@ -1328,25 +1328,25 @@ const $a = { render: Ta }, Ca = {
|
|
|
1328
1328
|
"stroke-linecap": "round",
|
|
1329
1329
|
"stroke-linejoin": "round"
|
|
1330
1330
|
};
|
|
1331
|
-
function
|
|
1332
|
-
return
|
|
1333
|
-
|
|
1334
|
-
|
|
1331
|
+
function Co(t, e) {
|
|
1332
|
+
return h(), _("svg", To, e[0] || (e[0] = [
|
|
1333
|
+
u("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),
|
|
1334
|
+
u("polygon", { points: "9.75 15.02 15.5 11.75 9.75 8.48 9.75 15.02" }, null, -1)
|
|
1335
1335
|
]));
|
|
1336
1336
|
}
|
|
1337
|
-
const
|
|
1337
|
+
const No = { render: Co }, Ao = { class: "is-info is-text-sm" }, Eo = ["href"], Do = { class: "is-info is-text-sm" }, Lo = { class: "is-home-team is-text-base" }, Po = { class: "is-team-name-short" }, Mo = { class: "is-team-name-long" }, jo = ["href", "target"], Oo = {
|
|
1338
1338
|
key: 0,
|
|
1339
1339
|
class: "is-text-xl is-text-bold"
|
|
1340
|
-
},
|
|
1340
|
+
}, Go = {
|
|
1341
1341
|
key: 1,
|
|
1342
1342
|
class: "is-text-xl is-text-bold"
|
|
1343
|
-
},
|
|
1343
|
+
}, Ro = {
|
|
1344
1344
|
key: 2,
|
|
1345
1345
|
class: "is-text-xl is-text-bold"
|
|
1346
|
-
},
|
|
1346
|
+
}, Yo = {
|
|
1347
1347
|
key: 0,
|
|
1348
1348
|
class: "is-text-sm is-info is-whitespace-nowrap"
|
|
1349
|
-
},
|
|
1349
|
+
}, Uo = { class: "is-away-team is-text-base" }, Vo = { key: 0 }, Ko = { class: "is-team-name-short" }, Fo = { class: "is-team-name-long" }, Bo = {
|
|
1350
1350
|
__name: "Item",
|
|
1351
1351
|
props: {
|
|
1352
1352
|
game: {
|
|
@@ -1363,7 +1363,7 @@ const Aa = { render: Na }, Ea = { class: "is-info is-text-sm" }, Da = ["href"],
|
|
|
1363
1363
|
},
|
|
1364
1364
|
gameLink: {
|
|
1365
1365
|
type: Function,
|
|
1366
|
-
default:
|
|
1366
|
+
default: W
|
|
1367
1367
|
},
|
|
1368
1368
|
target: {
|
|
1369
1369
|
type: String,
|
|
@@ -1371,74 +1371,74 @@ const Aa = { render: Na }, Ea = { class: "is-info is-text-sm" }, Da = ["href"],
|
|
|
1371
1371
|
}
|
|
1372
1372
|
},
|
|
1373
1373
|
setup(t) {
|
|
1374
|
-
const { t: e } =
|
|
1375
|
-
return (r,
|
|
1376
|
-
class:
|
|
1374
|
+
const { t: e } = se();
|
|
1375
|
+
return (r, a) => (h(), _("div", {
|
|
1376
|
+
class: F(["card-item", { "is-optional": t.game.optional }])
|
|
1377
1377
|
}, [
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
t.game.broadcast ? (
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
|
-
|
|
1378
|
+
u("div", Ao, [
|
|
1379
|
+
ae(x(t.game.gameName) + " - " + x(t.game.championshipName) + " - " + x(t.game.divisionName) + " - " + x(t.game.location.locationName) + " ", 1),
|
|
1380
|
+
t.game.broadcast ? (h(), _(G, { key: 0 }, [
|
|
1381
|
+
a[0] || (a[0] = ae(" - ")),
|
|
1382
|
+
T(d($o), { height: "16" }),
|
|
1383
|
+
a[1] || (a[1] = ae(" "))
|
|
1384
1384
|
], 64)) : M("", !0),
|
|
1385
|
-
t.game.video ? (
|
|
1386
|
-
|
|
1387
|
-
|
|
1385
|
+
t.game.video ? (h(), _(G, { key: 1 }, [
|
|
1386
|
+
a[2] || (a[2] = ae(" - ")),
|
|
1387
|
+
u("a", {
|
|
1388
1388
|
href: t.game.video,
|
|
1389
1389
|
target: "_blank"
|
|
1390
1390
|
}, [
|
|
1391
|
-
|
|
1392
|
-
], 8,
|
|
1391
|
+
T(d(No), { height: "18" })
|
|
1392
|
+
], 8, Eo)
|
|
1393
1393
|
], 64)) : M("", !0)
|
|
1394
1394
|
]),
|
|
1395
|
-
|
|
1396
|
-
|
|
1397
|
-
|
|
1398
|
-
|
|
1399
|
-
(
|
|
1395
|
+
u("div", Do, x(d(J)(t.game.gameDate, "L LT", null, t.locale)) + " (" + x(d(Ye)(t.game.gameDate, t.timezone, t.locale)) + ") ", 1),
|
|
1396
|
+
u("div", Lo, [
|
|
1397
|
+
u("span", Po, x(t.game.homeTeam.shortName), 1),
|
|
1398
|
+
u("span", Mo, x(t.game.homeTeam.longName), 1),
|
|
1399
|
+
(h(), R(d(Ee), {
|
|
1400
1400
|
key: t.game.homeTeam.id,
|
|
1401
1401
|
class: "is-logo-image",
|
|
1402
1402
|
src: t.game.homeTeam.logo
|
|
1403
1403
|
}, null, 8, ["src"]))
|
|
1404
1404
|
]),
|
|
1405
|
-
|
|
1406
|
-
class:
|
|
1405
|
+
u("div", {
|
|
1406
|
+
class: F(["is-game-data", [{ "is-live": t.game.gameStatus === 1 }]])
|
|
1407
1407
|
}, [
|
|
1408
|
-
|
|
1408
|
+
u("a", {
|
|
1409
1409
|
href: t.gameLink(t.game),
|
|
1410
1410
|
target: t.target
|
|
1411
1411
|
}, [
|
|
1412
|
-
t.game.gameStatus > 0 && t.game.gameStatus < 3 ? (
|
|
1413
|
-
t.game.gameStatus === 3 ? (
|
|
1414
|
-
t.game.gameStatus === 4 ? (
|
|
1415
|
-
], 8,
|
|
1416
|
-
t.game.gameStatus > 0 ? (
|
|
1412
|
+
t.game.gameStatus > 0 && t.game.gameStatus < 3 ? (h(), _("span", Oo, x(t.game.homeTeamScore) + " - " + x(t.game.awayTeamScore), 1)) : M("", !0),
|
|
1413
|
+
t.game.gameStatus === 3 ? (h(), _("span", Go, x(d(e)("game.status.jury")), 1)) : M("", !0),
|
|
1414
|
+
t.game.gameStatus === 4 ? (h(), _("span", Ro, x(d(e)("game.status.delayed")), 1)) : M("", !0)
|
|
1415
|
+
], 8, jo),
|
|
1416
|
+
t.game.gameStatus > 0 ? (h(), _("div", Yo, x(t.game.periodResults), 1)) : M("", !0)
|
|
1417
1417
|
], 2),
|
|
1418
|
-
|
|
1419
|
-
Array.isArray(t.game.awayTeam) ? (
|
|
1420
|
-
(
|
|
1418
|
+
u("div", Uo, [
|
|
1419
|
+
Array.isArray(t.game.awayTeam) ? (h(), _("span", Vo, "Torna")) : M("", !0),
|
|
1420
|
+
(h(), R(d(Ee), {
|
|
1421
1421
|
key: t.game.awayTeam.id,
|
|
1422
1422
|
class: "is-logo-image",
|
|
1423
1423
|
src: t.game.awayTeam.logo
|
|
1424
1424
|
}, null, 8, ["src"])),
|
|
1425
|
-
|
|
1426
|
-
|
|
1425
|
+
u("span", Ko, x(t.game.awayTeam.shortName), 1),
|
|
1426
|
+
u("span", Fo, x(t.game.awayTeam.longName), 1)
|
|
1427
1427
|
])
|
|
1428
1428
|
], 2));
|
|
1429
1429
|
}
|
|
1430
|
-
}, Ha = ".is-text-right{text-align:right}.is-text-center{text-align:center}.is-text-bold{font-weight:700}.is-text-italic{font-style:italic}.is-text-xs{font-size:var(--vbr-widget-typography-font-size-200);line-height:var(--vbr-widget-typography-font-lineheight-200)}.is-text-sm{font-size:var(--vbr-widget-typography-font-size-400);line-height:var(--vbr-widget-typography-font-lineheight-200)}.is-text-base{font-size:var(--vbr-widget-typography-font-size-500);line-height:var(--vbr-widget-typography-font-lineheight-500)}.is-text-lg{font-size:var(--vbr-widget-typography-font-size-600);line-height:var(--vbr-widget-typography-font-lineheight-600)}.is-text-xl{font-size:var(--vbr-widget-typography-font-size-700);line-height:var(--vbr-widget-typography-font-lineheight-700)}.is-text-4xl{font-size:var(--vbr-widget-typography-font-size-950);line-height:var(--vbr-widget-typography-font-lineheight-950)}.is-uppercase{text-transform:uppercase}.is-opacity-20{opacity:.2}.is-opacity-30{opacity:.3}.is-opacity-40{opacity:.4}.is-opacity-50{opacity:.5}.is-mt-5{margin-top:1rem}.is-mb-5{margin-bottom:1rem}.is-whitespace-nowrap{white-space:nowrap}.is-heading-1{font-size:var(--vbr-widget-typography-heading-1-size);line-height:var(--vbr-widget-typography-font-lineheight-700);margin-block-start:var(--vbr-widget-typography-font-size-700);margin-block-end:calc(var(--vbr-widget-typography-font-size-700) / 2);font-weight:var(--vbr-widget-typography-heading-weight)}.is-heading-2{font-size:var(--vbr-widget-typography-heading-2-size);line-height:var(--vbr-widget-typography-font-lineheight-600);font-weight:var(--vbr-widget-typography-heading-weight);margin-block-start:var(--vbr-widget-typography-font-size-600);margin-block-end:calc(var(--vbr-widget-typography-font-size-600) / 2)}.is-heading-3{font-size:var(--vbr-widget-typography-heading-3-size);line-height:var(--vbr-widget-typography-font-lineheight-500);font-weight:var(--vbr-widget-typography-heading-weight);margin-block-start:var(--vbr-widget-typography-font-size-500);margin-block-end:calc(var(--vbr-widget-typography-font-size-500) / 2)}.is-rounded{overflow:hidden;border-radius:100%}.is-rounded+.is-rounded{margin-left:3px}.is-rounded img{display:block}.is-w-5{width:16px}.is-w-7{width:24px}.is-w-10{width:32px}", Xa = "h1,h2,h3,ul,li,p,dl,dt,dd{margin:0;padding:0}button{font-family:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0;border-width:0;-webkit-appearance:button;background-color:transparent;background-image:none;cursor:pointer}ol,ul{list-style:none}:root,:host{font-family:Roboto Condensed,Avenir,Helvetica,Arial,sans-serif;--vbr-widget-primary-color-0: #ffffff;--vbr-widget-primary-color-50: #eceff1;--vbr-widget-primary-color-100: #cfd8dc;--vbr-widget-primary-color-200: #b0bec5;--vbr-widget-primary-color-300: #90a4ae;--vbr-widget-primary-color-400: #78909c;--vbr-widget-primary-color-500: #607d8b;--vbr-widget-primary-color-600: #546e7a;--vbr-widget-primary-color-700: #455a64;--vbr-widget-primary-color-800: #37474f;--vbr-widget-primary-color-900: #263238;--vbr-widget-secondary-color-100: #dcedc8;--vbr-widget-secondary-color-200: #badb94;--vbr-widget-secondary-color-300: #aed581;--vbr-widget-secondary-color-400: #9ccc65;--vbr-widget-secondary-color-500: #8bc34a;--vbr-widget-secondary-color-700: #689f38;--vbr-widget-secondary-color-800: #558b2f;--vbr-widget-secondary-color-900: #33691e;--vbr-widget-danger-color-50: #ffebee;--vbr-widget-danger-color-100: #ffcdd2;--vbr-widget-danger-color-200: #ef9a9a;--vbr-widget-danger-color-300: #e57373;--vbr-widget-danger-color-400: #ef5350;--vbr-widget-danger-color-500: #f44336;--vbr-widget-danger-color-700: #d32f2f;--vbr-widget-danger-color-900: #b71c1c;--vbr-widget-danger-color-a400: #ff1744;--vbr-widget-live-game-color: #8bc34a;--vbr-widget-neutral-color: #ffc107;--vbr-widget-typography-font-size-50: .6275rem;--vbr-widget-typography-font-size-100: .6875rem;--vbr-widget-typography-font-size-200: .75rem;--vbr-widget-typography-font-size-300: .8125rem;--vbr-widget-typography-font-size-400: .875rem;--vbr-widget-typography-font-size-500: 1rem;--vbr-widget-typography-font-size-600: 1.125rem;--vbr-widget-typography-font-size-700: 1.25rem;--vbr-widget-typography-font-size-800: 1.5rem;--vbr-widget-typography-font-size-900: 1.75rem;--vbr-widget-typography-font-size-950: 2rem;--vbr-widget-typography-font-lineheight-50: calc(var(--vbr-widget-typography-font-size-50) * 1.628);--vbr-widget-typography-font-lineheight-100: calc(var(--vbr-widget-typography-font-size-100) * 1.628);--vbr-widget-typography-font-lineheight-200: calc(var(--vbr-widget-typography-font-size-200) * 1.628);--vbr-widget-typography-font-lineheight-300: calc(var(--vbr-widget-typography-font-size-300) * 1.628);--vbr-widget-typography-font-lineheight-400: calc(var(--vbr-widget-typography-font-size-400) * 1.628);--vbr-widget-typography-font-lineheight-500: calc(var(--vbr-widget-typography-font-size-500) * 1.628);--vbr-widget-typography-font-lineheight-600: calc(var(--vbr-widget-typography-font-size-600) * 1.628);--vbr-widget-typography-font-lineheight-700: calc(var(--vbr-widget-typography-font-size-700) * 1.628);--vbr-widget-typography-font-lineheight-800: calc(var(--vbr-widget-typography-font-size-800) * 1.628);--vbr-widget-typography-font-lineheight-900: calc(var(--vbr-widget-typography-font-size-900) * 1.628);--vbr-widget-typography-font-lineheight-950: calc(var(--vbr-widget-typography-font-size-950) * 1.628);--vbr-widget-typography-heading-weight: 500;--vbr-widget-typography-heading-1-size: var(--vbr-widget-typography-font-size-800);--vbr-widget-typography-heading-2-size: var(--vbr-widget-typography-font-size-700);--vbr-widget-typography-heading-3-size: var(--vbr-widget-typography-font-size-600);--vbr-widget-typography-heading-4-size: var(--vbr-widget-typography-font-size-500);--vbr-widget-typography-heading-5-size: var(--vbr-widget-typography-font-size-400);--vbr-widget-typography-heading-6-size: var(--vbr-widget-typography-font-size-200);--vbr-widget-table-header-font-size: var(--vbr-widget-typography-font-size-200);--vbr-widget-table-default-column-width: 30px;--vbr-widget-table-default-bg-color: var(--vbr-widget-primary-color-0);--vbr-widget-table-color: var(--vbr-widget-primary-color-800);--vbr-widget-table-neutral-color: var(--vbr-widget-primary-color-300);--vbr-widget-table-header-bg-color: var(--vbr-widget-primary-color-800);--vbr-widget-table-header-hover-bg-color: var(--vbr-widget-primary-color-700);--vbr-widget-table-header-color: var(--vbr-widget-primary-color-200);--vbr-widget-table-table-header-active-bg-color: var(--vbr-widget-primary-color-700);--vbr-widget-table-header-active-color: var(--vbr-widget-primary-color-0);--vbr-widget-table-hover-color: var(--vbr-widget-secondary-color-900);--vbr-widget-table-hover-bg-color: var(--vbr-widget-secondary-color-100);--vbr-widget-table-active-color: var(--vbr-widget-secondary-color-900);--vbr-widget-table-active-bg-color: var(--vbr-widget-secondary-color-200);--vbr-widget-table-active-even-bg-color: var(--vbr-widget-secondary-color-300);--vbr-widget-table-active-hover-color: var(--vbr-widget-secondary-color-900);--vbr-widget-table-active-hover-bg-color: var(--vbr-widget-secondary-color-400);--vbr-widget-table-portrait-border-color: var(--vbr-widget-primary-color-100);--vbr-widget-table-portrait-bg-color: var(--vbr-widget-primary-color-50);--vbr-widget-table-cell-light-color: var(--vbr-widget-primary-color-600);--vbr-widget-table-cell-dark-color: var(--vbr-widget-primary-color-900);--vbr-widget-table-stripped-bg-color: #f8f9fa;--vbr-widget-table-label-color: var(--vbr-widget-primary-color-500);--vbr-widget-table-label-bg-color: var(--vbr-widget-primary-color-50);--vbr-widget-table-cell-logo-size: 20px;--vbr-widget-table-cell-portrait-size: 26px;--vbr-widget-table-zero-color: var(--vbr-widget-primary-color-200);--vbr-widget-paginator-color: var(--vbr-widget-primary-color-500);--vbr-widget-paginator-bg-color: var(--vbr-widget-primary-color-0);--vbr-widget-paginator-hover-color: var(--vbr-widget-primary-color-700);--vbr-widget-paginator-hover-bg-color: var(--vbr-widget-primary-color-100);--vbr-widget-paginator-border-color: var(--vbr-widget-primary-color-100);--vbr-widget-paginator-active-color: var(--vbr-widget-primary-color-0);--vbr-widget-paginator-active-bg-color: var(--vbr-widget-primary-color-900);--vbr-widget-paginator-disabled-color: var(--vbr-widget-primary-color-200);--vbr-widget-tooltip-font-size: var(--vbr-widget-typography-font-size-200);--vbr-widget-tooltip-color: #ffffff;--vbr-widget-tooltip-bg-color: #000000;--vbr-widget-popover-trigger-hover-bg-color: var(--vbr-widget-secondary-color-200);--vbr-widget-popover-trigger-focus-bg-color: var(--vbr-widget-secondary-color-300);--vbr-widget-popover-bg-color: var(--vbr-widget-primary-color-0);--vbr-widget-dropdown-item-color: var(--vbr-widget-primary-color-500);--vbr-widget-dropdown-item-hover-color: var(--vbr-widget-primary-color-800);--vbr-widget-dropdown-item-hover-bg-color: var(--vbr-widget-primary-color-50);--vbr-widget-error-notice-bg-color: var(--vbr-widget-danger-color-50);--vbr-widget-error-notice-border-color: var(--vbr-widget-danger-color-100);--vbr-widget-error-notice-color: var(--vbr-widget-danger-color-700);--vbr-widget-link-color: var(--vbr-widget-secondary-color-700);--vbr-widget-hover-color: var(--vbr-widget-secondary-color-900);--vbr-widget-base-input-color: var(--vbr-widget-primary-color-800);--vbr-widget-base-input-font-size: var(--vbr-widget-typography-font-size-400);--vbr-widget-base-input-border-color: var(--vbr-widget-primary-color-300);--vbr-widget-base-input-border-radius: 3px;--vbr-widget-form-label-color: var(--vbr-widget-primary-color-500);--vbr-widget-form-label-font-size: var(--vbr-widget-typography-font-size-200);--vbr-widget-timezone-selector-color: var(--vbr-widget-primary-color-500);--vbr-widget-timezone-selector-font-size: var(--vbr-widget-typography-font-size-400);--vbr-widget-badge-bg-color: var(--vbr-widget-primary-color-50);--vbr-widget-badge-color: var(--vbr-widget-primary-color-400);--vbr-widget-badge-font-size: var(--vbr-widget-typography-font-size-50);--vbr-widget-badge-large-font-size: var(--vbr-widget-typography-font-size-100);--vbr-widget-badge-extra-large-font-size: var(--vbr-widget-typography-font-size-300);--vbr-widget-tab-btn-padding: .625rem 1rem;--vbr-widget-tab-btn-font-size: var(--vbr-widget-typography-font-size-500);--vbr-widget-tab-btn-font-weight: 500;--vbr-widget-tab-btn-bg-color: var(--vbr-widget-primary-color-0);--vbr-widget-tab-btn-color: var(--vbr-widget-primary-color-300);--vbr-widget-tab-btn-border-color: transparent;--vbr-widget-tab-btn-border-style: solid;--vbr-widget-tab-btn-border-width: 0 0 3px 0;--vbr-widget-tab-btn-text-transform: uppercase;--vbr-widget-tab-btn-hover-color: var(--vbr-widget-primary-color-500);--vbr-widget-tab-btn-hover-bg-color: var(--vbr-widget-primary-color-0);--vbr-widget-tab-btn-hover-border-color: transparent;--vbr-widget-tab-btn-active-bg-color: var(--vbr-widget-primary-color-0);--vbr-widget-tab-btn-active-color: var(--vbr-widget-primary-color-900);--vbr-widget-tab-btn-active-border-color: var(--vbr-widget-secondary-color-500);--vbr-widget-toggle-group-gap: .625rem;--vbr-widget-toggle-group-btn-padding: 3px 10px;--vbr-widget-toggle-group-btn-size: var(--vbr-widget-typography-font-size-400);--vbr-widget-toggle-group-btn-bg-color: var(--vbr-widget-primary-color-50);--vbr-widget-toggle-group-btn-active-color: var(--vbr-widget-primary-color-0);--vbr-widget-toggle-group-btn-active-bg-color: var(--vbr-widget-live-game-color);--vbr-widget-toggle-group-btn-radius: 4px;--vbr-widget-progress-height: 10px;--vbr-widget-progress-border-radius: 5px;--vbr-widget-progress-bg-color: var(--vbr-widget-primary-color-50);--vbr-widget-progress-bar-color: var(--vbr-widget-live-game-color);--vbr-widget-progress-bar-stripe-color: rgba(255, 255, 255, .2);--vbr-widget-progress-bar-stripe-angle: 45deg;--vbr-widget-gamecenter-result-size: 6rem;--vbr-widget-gamecenter-result-weight: 700;--vbr-widget-gamecenter-result-color: var(--vbr-widget-primary-color-800);--vbr-widget-gamecenter-teamname-size: var(--vbr-widget-typography-font-size-700);--vbr-widget-gamecenter-teamname-color: var(--vbr-widget-primary-color-800);--vbr-widget-gamecenter-teamname-weight: 700;--vbr-widget-gamecenter-title-color: var(--vbr-widget-primary-color-800);--vbr-widget-gamecenter-title-size: var(--vbr-widget-typography-font-size-500);--vbr-widget-gamecenter-title-weight: 700;--vbr-widget-gamecenter-gamedate-color: var(--vbr-widget-primary-color-500);--vbr-widget-gamecenter-gamedate-size: var(--vbr-widget-typography-font-size-500);--vbr-widget-gamecenter-local-gamedate-color: var(--vbr-widget-primary-color-500);--vbr-widget-gamecenter-local-gamedate-size: var(--vbr-widget-typography-font-size-300);--vbr-widget-gamecenter-gamestatus-color: var(--vbr-widget-primary-color-600);--vbr-widget-gamecenter-gamestatus-size: var(--vbr-widget-typography-font-size-400);--vbr-widget-gamecenter-periodresults-color: var(--vbr-widget-primary-color-600);--vbr-widget-gamecenter-periodresults-size: var(--vbr-widget-typography-font-size-700);--vbr-widget-gamecenter-period-header-bg-color: var(--vbr-widget-primary-color-800);--vbr-widget-gamecenter-period-header-color: var(--vbr-widget-primary-color-0);--vbr-widget-gamecenter-period-header-size: var(--vbr-widget-typography-font-size-300);--vbr-widget-gamecenter-period-header-weight: 500;--vbr-widget-gamecenter-stats-bg-color: var(--vbr-widget-primary-color-50);--vbr-widget-gamecenter-stats-border-color: var(--vbr-widget-primary-color-100);--vbr-widget-gamecenter-stats-title-size: var(--vbr-widget-typography-font-size-300);--vbr-widget-gamecenter-stats-title-color: var(--vbr-widget-primary-color-400);--vbr-widget-gamecenter-stats-size: var(--vbr-widget-typography-font-size-500);--vbr-widget-gamecenter-stats-color: var(--vbr-widget-primary-color-800);--vbr-widget-gamecenter-team-container-title-color: var(--vbr-widget-primary-color-800);--vbr-widget-gamecenter-team-container-title-bg-color: var(--vbr-widget-primary-color-100);--vbr-widget-gamecenter-team-container-border-color: var(--vbr-widget-primary-color-100);--vbr-widget-gamecenter-events-evented-person-size: var(--vbr-widget-typography-font-size-500);--vbr-widget-gamecenter-events-evented-person-weight: 600;--vbr-widget-gamecenter-events-assitst-list-size: var(--vbr-widget-typography-font-size-400);--vbr-widget-gamecenter-events-poi-list-size: var(--vbr-widget-typography-font-size-200);--vbr-widget-gamecenter-events-score-size: var(--vbr-widget-typography-font-size-500);--vbr-widget-gamecenter-events-penalty-size: var(--vbr-widget-typography-font-size-400);--vbr-widget-gamecenter-events-goalie-direction-size: var(--vbr-widget-typography-font-size-400);--vbr-widget-gamecenter-events-timeout-bg-color: #2870ed;--vbr-widget-gamecenter-card-title-color: var(--vbr-widget-primary-color-900);--vbr-widget-gamecenter-card-secondary-color: var(--vbr-widget-primary-color-500);--vbr-widget-gamecenter-card-tertiary-color: var(--vbr-widget-primary-color-300);--vbr-widget-gamecenter-card-border-color: var(--vbr-widget-primary-color-100);--vbr-widget-gamecenter-card-bg-color: var(--vbr-widget-primary-color-0);--vbr-widget-gamecenter-card-event-goal-border-color: var(--vbr-widget-primary-color-700);--vbr-widget-gamecenter-card-event-goal-bg-color: var(--vbr-widget-primary-color-700);--vbr-widget-gamecenter-home-team-identifier-color: #2870ed;--vbr-widget-gamecenter-away-team-identifier-color: #ff6129;--vbr-widget-gamecenter-home-team-identifier-border-color: transparent;--vbr-widget-gamecenter-away-team-identifier-border-color: transparent;--vbr-widget-main-image-wrapper-horizontal-margin: 0;--vbr-widget-sticky-top-offset: 0;--vbr-widget-games-timeline-game-date-size: var(--vbr-widget-typography-font-size-100);--vbr-widget-games-timeline-game-date-color: var(--vbr-widget-primary-color-500);--vbr-widget-games-timeline-game-team-color: var(--vbr-widget-primary-color-700);--vbr-widget-games-timeline-game-team-size: var(--vbr-widget-typography-font-size-300);--vbr-widget-games-timeline-game-status-color: var(--vbr-widget-primary-color-300);--vbr-widget-games-timeline-game-status-size: var(--vbr-widget-typography-font-size-200);--vbr-widget-games-timeline-game-hover-bg-color: linear-gradient(#fff, #f5f6f7 50%, #fff);--vbr-widget-games-timeline-arrow-color: var(--vbr-widget-primary-color-300);--vbr-widget-games-timeline-arrow-hover-color: var(--vbr-widget-primary-color-500);--vbr-widget-games-timeline-arrow-disabled-color: var(--vbr-widget-primary-color-100);--vbr-widget-games-timeline-arrow-border-color: var(--vbr-widget-primary-color-100);--vbr-widget-games-timeline-external-link-color: var(--vbr-widget-primary-color-500);--vbr-widget-games-timeline-external-link-size: var(--vbr-widget-typography-font-size-200)}html,body{-webkit-font-smoothing:antialiased}.transition-fade-enter-active,.transition-fade-leave-active{transition:all .25s ease}.transition-fade-enter-from,.transition-fade-leave-to{opacity:0;transform:translateY(5px)}.transition-event-move,.transition-event-enter-active,.transition-event-leave-active{transition:all .25s ease}.transition-event-enter-from,.transition-event-leave-to{opacity:0}img{opacity:0;transition:opacity .5s ease-out}img.is-loaded{opacity:1}a{color:var(--vbr-widget-link-color);text-decoration:none}a:hover{color:var(--vbr-widget-hover-color)}.floating-content.is-tooltip{background-color:var(--vbr-widget-tooltip-bg-color);color:var(--vbr-widget-tooltip-color);font-weight:700;padding:5px 10px;border-radius:4px;font-size:var(--vbr-widget-tooltip-font-size);white-space:nowrap;pointer-events:none}.floating-content.is-tooltip .is-arrow{background-color:var(--vbr-widget-tooltip-bg-color)}.floating-content.is-content{border-radius:4px;box-shadow:2px 14px 23px #00000040}.floating-content.is-content .is-arrow{background-color:var(--vbr-widget-primary-color-50)}.floating-content .is-arrow{position:absolute;width:8px;height:8px;transform:rotate(45deg)}[data-placement^=top] .floating-content .is-arrow{bottom:-4px}[data-placement^=bottom] .floating-content .is-arrow{top:-4px}[data-placement^=left] .floating-content .is-arrow{right:-4px}[data-placement^=right] .floating-content .is-arrow{left:-4px}.mjsz-vbr-error-notice{display:flex;align-items:center;justify-items:flex-start;margin:10px 0;padding:10px 20px;background-color:var(--vbr-widget-error-notice-bg-color);color:var(--vbr-widget-error-notice-color);border:1px solid var(--vbr-widget-error-notice-border-color)}.mjsz-vbr-error-notice .icon{margin-right:15px}.mjsz-vbr-timezone-selector{padding:3px 0;color:var(--vbr-widget-timezone-selector-color);font-size:var(--vbr-widget-timezone-selector-font-size);font-weight:500}.mjsz-vbr-timezone-selector .is-active{font-weight:700}.is-badge{display:inline-block;padding:.125em .25em;color:var(--vbr-widget-badge-color);font-size:var(--vbr-widget-badge-font-size);font-weight:700;text-transform:uppercase;background-color:var(--vbr-widget-badge-bg-color);border-radius:3px}.is-badge+.is-badge{margin-inline-start:3px}.is-badge.is-invert{color:var(--vbr-widget-badge-bg-color);background-color:var(--vbr-widget-badge-color)}.is-badge.is-green{color:var(--vbr-widget-primary-color-0);background-color:var(--vbr-widget-live-game-color)}.is-badge.is-red{color:var(--vbr-widget-primary-color-0);background-color:var(--vbr-widget-danger-color-a400)}.is-badge.is-yellow{color:var(--vbr-widget-primary-color-0);background-color:var(--vbr-widget-neutral-color)}.is-badge.is-dark{color:var(--vbr-widget-primary-color-0);background-color:var(--vbr-widget-primary-color-700)}.is-badge.is-large{font-size:var(--vbr-widget-badge-large-font-size);padding:.15em .35em}.is-badge.is-extra-large{font-size:var(--vbr-widget-badge-extra-large-font-size);padding:.2695em .5165em}", Xe = `.mjsz-vbr-base-input{padding:.375rem .75rem;font-family:inherit;color:var(--vbr-widget-base-input-color);border:1px solid var(--vbr-widget-base-input-border-color);border-radius:var(--vbr-widget-base-input-border-radius);width:100%;-moz-padding-start:calc(.75rem - 3px);font-size:var(--vbr-widget-base-input-font-size);font-weight:400;line-height:1.5;background-color:#fff;transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out;-webkit-appearance:none;-moz-appearance:none;appearance:none}.mjsz-vbr-base-input:disabled{opacity:.3}.mjsz-vbr-base-input.is-select{padding-right:2.25rem;background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");background-repeat:no-repeat;background-position:right .75rem center;background-size:16px 12px}label{display:block;margin-bottom:3px;color:var(--vbr-widget-form-label-color);font-size:var(--vbr-widget-form-label-font-size);font-weight:700;text-transform:uppercase}.mjsz-vbr-tab-button{padding:var(--vbr-widget-tab-btn-padding);font-family:inherit;font-size:var(--vbr-widget-tab-btn-font-size);font-weight:var(--vbr-widget-tab-btn-font-weight);color:var(--vbr-widget-tab-btn-color);text-transform:var(--vbr-widget-tab-btn-text-transform);background-color:var(--vbr-widget-tab-btn-bg-color);border-color:var(--vbr-widget-tab-btn-border-color);border-width:var(--vbr-widget-tab-btn-border-width);border-style:var(--vbr-widget-tab-btn-border-style);outline:none;box-shadow:none;cursor:pointer}.mjsz-vbr-tab-button:hover{color:var(--vbr-widget-tab-btn-hover-color);border-color:var(--vbr-widget-tab-btn-hover-border-color);background-color:var(--vbr-widget-tab-btn-hover-bg-color)}.mjsz-vbr-tab-button.is-active{color:var(--vbr-widget-tab-btn-active-color);border-color:var(--vbr-widget-tab-btn-active-border-color);background-color:var(--vbr-widget-tab-btn-active-bg-color)}.mjsz-vbr-toggle-group{display:flex;flex-wrap:wrap;gap:var(--vbr-widget-toggle-group-gap);margin-bottom:15px}.mjsz-vbr-toggle-group button{padding:var(--vbr-widget-toggle-group-btn-padding);font-family:inherit;font-size:var(--vbr-widget-toggle-group-btn-size);background-color:var(--vbr-widget-toggle-group-btn-bg-color);border-radius:var(--vbr-widget-toggle-group-btn-radius)}.mjsz-vbr-toggle-group button.is-active{color:var(--vbr-widget-toggle-group-btn-active-color);background-color:var(--vbr-widget-toggle-group-btn-active-bg-color)}`, Ja = ".is-card{container-name:card-row;container-type:inline-size;background-color:#fff;padding:15px;margin-bottom:20px;box-shadow:0 2px 4px #0000001a,0 2px 2px #0000001a}.is-card>div{border-bottom:1px solid var(--vbr-widget-primary-color-100)}.is-card>div:last-of-type{border:none}.is-sticky{position:sticky;top:var(--vbr-widget-sticky-top-offset);z-index:10}.is-blured-bg{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.mjsz-vbr-card-item{display:grid;grid-gap:1rem;grid-template-columns:2fr 1fr 2fr;padding:2rem 0;border-bottom:1px solid var(--vbr-widget-primary-color-100)}.mjsz-vbr-card-item.is-optional{opacity:.4;transition:opacity .3s ease-out}.mjsz-vbr-card-item.is-optional:hover{opacity:1}.mjsz-vbr-card-item svg{display:block}.mjsz-vbr-card-item .is-team-name-short{display:none}@container card-row (max-width: 640px){.mjsz-vbr-card-item .is-team-name-long{display:none}.mjsz-vbr-card-item .is-team-name-short{display:block}}.mjsz-vbr-card-item .is-info{grid-column:1/4;display:flex;justify-content:center;align-items:center;color:var(--vbr-widget-primary-color-500)}.mjsz-vbr-card-item .is-home-team{display:flex;gap:8px;align-items:center;justify-content:flex-end;font-weight:700}.mjsz-vbr-card-item .is-away-team{display:flex;gap:8px;align-items:center;justify-content:flex-start;font-weight:700}.mjsz-vbr-card-item .is-logo-image{width:40px}.mjsz-vbr-card-item .is-game-data{display:flex;flex-direction:column;align-items:center;justify-content:center}.mjsz-vbr-card-item .is-game-data a{display:flex;flex-direction:column;align-items:center;color:var(--vbr-widget-primary-color-900)}.mjsz-vbr-card-item .is-game-data a:hover{color:var(--vbr-widget-primary-color-600)}.mjsz-vbr-card-item .is-game-data.is-live,.mjsz-vbr-card-item .is-game-data.is-live a{color:var(--vbr-widget-live-game-color)}.mjsz-vbr-section-selector{margin:20px 0;border-bottom:1px solid var(--vbr-widget-primary-color-200)}.mjsz-vbr-main-image-wrapper{--overlay-size: 160px;--overlay-radius: 50%;display:grid;grid-template-columns:1fr var(--overlay-size) 1fr;grid-template-rows:1fr 1fr 1fr calc(var(--overlay-size) / 2) calc(var(--overlay-size) / 2);margin-left:var(--vbr-widget-main-image-wrapper-horizontal-margin);margin-right:var(--vbr-widget-main-image-wrapper-horizontal-margin)}.mjsz-vbr-main-image-wrapper:has(img.is-default){min-height:470px}.mjsz-vbr-main-image-wrapper .is-main-image{grid-column:1/4;grid-row:1/5;display:flex;justify-content:center;align-items:center;background-color:var(--vbr-widget-primary-color-50);box-shadow:0 2px 4px #0003}.mjsz-vbr-main-image-wrapper .is-main-image .is-default{filter:grayscale(1);opacity:.3;mix-blend-mode:multiply}.mjsz-vbr-main-image-wrapper .is-main-image img:not(.is-default){width:100%}.mjsz-vbr-main-image-wrapper .is-ovarlay-image{grid-row:4/-1;grid-column:2;justify-self:center;overflow:hidden;border-radius:var(--overlay-radius);z-index:1}.mjsz-vbr-main-image-wrapper .is-ovarlay-image img{width:100%;aspect-ratio:1}", Ie = (t, e) => {
|
|
1430
|
+
}, Ie = "h1,h2,h3,ul,li,p,dl,dt,dd{margin:0;padding:0}button{font-family:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0;border-width:0;-webkit-appearance:button;background-color:transparent;background-image:none;cursor:pointer}ol,ul{list-style:none}:root,:host{font-family:Roboto Condensed,Avenir,Helvetica,Arial,sans-serif;--vbr-widget-primary-color-0: #ffffff;--vbr-widget-primary-color-50: #eceff1;--vbr-widget-primary-color-100: #cfd8dc;--vbr-widget-primary-color-200: #b0bec5;--vbr-widget-primary-color-300: #90a4ae;--vbr-widget-primary-color-400: #78909c;--vbr-widget-primary-color-500: #607d8b;--vbr-widget-primary-color-600: #546e7a;--vbr-widget-primary-color-700: #455a64;--vbr-widget-primary-color-800: #37474f;--vbr-widget-primary-color-900: #263238;--vbr-widget-secondary-color-100: #dcedc8;--vbr-widget-secondary-color-200: #badb94;--vbr-widget-secondary-color-300: #aed581;--vbr-widget-secondary-color-400: #9ccc65;--vbr-widget-secondary-color-500: #8bc34a;--vbr-widget-secondary-color-700: #689f38;--vbr-widget-secondary-color-800: #558b2f;--vbr-widget-secondary-color-900: #33691e;--vbr-widget-danger-color-50: #ffebee;--vbr-widget-danger-color-100: #ffcdd2;--vbr-widget-danger-color-200: #ef9a9a;--vbr-widget-danger-color-300: #e57373;--vbr-widget-danger-color-400: #ef5350;--vbr-widget-danger-color-500: #f44336;--vbr-widget-danger-color-700: #d32f2f;--vbr-widget-danger-color-900: #b71c1c;--vbr-widget-danger-color-a400: #ff1744;--vbr-widget-live-game-color: #8bc34a;--vbr-widget-neutral-color: #ffc107;--vbr-widget-typography-font-size-50: .6275rem;--vbr-widget-typography-font-size-100: .6875rem;--vbr-widget-typography-font-size-200: .75rem;--vbr-widget-typography-font-size-300: .8125rem;--vbr-widget-typography-font-size-400: .875rem;--vbr-widget-typography-font-size-500: 1rem;--vbr-widget-typography-font-size-600: 1.125rem;--vbr-widget-typography-font-size-700: 1.25rem;--vbr-widget-typography-font-size-800: 1.5rem;--vbr-widget-typography-font-size-900: 1.75rem;--vbr-widget-typography-font-size-950: 2rem;--vbr-widget-typography-font-lineheight-50: calc(var(--vbr-widget-typography-font-size-$(variant)) * 1.628);--vbr-widget-typography-font-lineheight-100: calc(var(--vbr-widget-typography-font-size-$(variant)) * 1.628);--vbr-widget-typography-font-lineheight-200: calc(var(--vbr-widget-typography-font-size-$(variant)) * 1.628);--vbr-widget-typography-font-lineheight-300: calc(var(--vbr-widget-typography-font-size-$(variant)) * 1.628);--vbr-widget-typography-font-lineheight-400: calc(var(--vbr-widget-typography-font-size-$(variant)) * 1.628);--vbr-widget-typography-font-lineheight-500: calc(var(--vbr-widget-typography-font-size-$(variant)) * 1.628);--vbr-widget-typography-font-lineheight-600: calc(var(--vbr-widget-typography-font-size-$(variant)) * 1.628);--vbr-widget-typography-font-lineheight-700: calc(var(--vbr-widget-typography-font-size-$(variant)) * 1.628);--vbr-widget-typography-font-lineheight-800: calc(var(--vbr-widget-typography-font-size-$(variant)) * 1.628);--vbr-widget-typography-font-lineheight-900: calc(var(--vbr-widget-typography-font-size-$(variant)) * 1.628);--vbr-widget-typography-font-lineheight-950: calc(var(--vbr-widget-typography-font-size-$(variant)) * 1.628);--vbr-widget-typography-heading-weight: 500;--vbr-widget-typography-heading-1-size: var(--vbr-widget-typography-font-size-800);--vbr-widget-typography-heading-2-size: var(--vbr-widget-typography-font-size-700);--vbr-widget-typography-heading-3-size: var(--vbr-widget-typography-font-size-600);--vbr-widget-typography-heading-4-size: var(--vbr-widget-typography-font-size-500);--vbr-widget-typography-heading-5-size: var(--vbr-widget-typography-font-size-400);--vbr-widget-typography-heading-6-size: var(--vbr-widget-typography-font-size-200);--vbr-widget-table-header-font-size: var(--vbr-widget-typography-font-size-200);--vbr-widget-table-default-column-width: 30px;--vbr-widget-table-default-bg-color: var(--vbr-widget-primary-color-0);--vbr-widget-table-color: var(--vbr-widget-primary-color-800);--vbr-widget-table-neutral-color: var(--vbr-widget-primary-color-300);--vbr-widget-table-header-bg-color: var(--vbr-widget-primary-color-800);--vbr-widget-table-header-hover-bg-color: var(--vbr-widget-primary-color-700);--vbr-widget-table-header-color: var(--vbr-widget-primary-color-200);--vbr-widget-table-table-header-active-bg-color: var(--vbr-widget-primary-color-700);--vbr-widget-table-header-active-color: var(--vbr-widget-primary-color-0);--vbr-widget-table-hover-color: var(--vbr-widget-secondary-color-900);--vbr-widget-table-hover-bg-color: var(--vbr-widget-secondary-color-100);--vbr-widget-table-active-color: var(--vbr-widget-secondary-color-900);--vbr-widget-table-active-bg-color: var(--vbr-widget-secondary-color-200);--vbr-widget-table-active-even-bg-color: var(--vbr-widget-secondary-color-300);--vbr-widget-table-active-hover-color: var(--vbr-widget-secondary-color-900);--vbr-widget-table-active-hover-bg-color: var(--vbr-widget-secondary-color-400);--vbr-widget-table-portrait-border-color: var(--vbr-widget-primary-color-100);--vbr-widget-table-portrait-bg-color: var(--vbr-widget-primary-color-50);--vbr-widget-table-cell-light-color: var(--vbr-widget-primary-color-600);--vbr-widget-table-cell-dark-color: var(--vbr-widget-primary-color-900);--vbr-widget-table-stripped-bg-color: #f8f9fa;--vbr-widget-table-label-color: var(--vbr-widget-primary-color-500);--vbr-widget-table-label-bg-color: var(--vbr-widget-primary-color-50);--vbr-widget-table-cell-logo-size: 20px;--vbr-widget-table-cell-portrait-size: 26px;--vbr-widget-table-zero-color: var(--vbr-widget-primary-color-200);--vbr-widget-paginator-color: var(--vbr-widget-primary-color-500);--vbr-widget-paginator-bg-color: var(--vbr-widget-primary-color-0);--vbr-widget-paginator-hover-color: var(--vbr-widget-primary-color-700);--vbr-widget-paginator-hover-bg-color: var(--vbr-widget-primary-color-100);--vbr-widget-paginator-border-color: var(--vbr-widget-primary-color-100);--vbr-widget-paginator-active-color: var(--vbr-widget-primary-color-0);--vbr-widget-paginator-active-bg-color: var(--vbr-widget-primary-color-900);--vbr-widget-paginator-disabled-color: var(--vbr-widget-primary-color-200);--vbr-widget-tooltip-font-size: var(--vbr-widget-typography-font-size-200);--vbr-widget-tooltip-color: #ffffff;--vbr-widget-tooltip-bg-color: #000000;--vbr-widget-popover-trigger-hover-bg-color: var(--vbr-widget-secondary-color-200);--vbr-widget-popover-trigger-focus-bg-color: var(--vbr-widget-secondary-color-300);--vbr-widget-popover-bg-color: var(--vbr-widget-primary-color-0);--vbr-widget-dropdown-item-color: var(--vbr-widget-primary-color-500);--vbr-widget-dropdown-item-hover-color: var(--vbr-widget-primary-color-800);--vbr-widget-dropdown-item-hover-bg-color: var(--vbr-widget-primary-color-50);--vbr-widget-error-notice-bg-color: var(--vbr-widget-danger-color-50);--vbr-widget-error-notice-border-color: var(--vbr-widget-danger-color-100);--vbr-widget-error-notice-color: var(--vbr-widget-danger-color-700);--vbr-widget-link-color: var(--vbr-widget-secondary-color-700);--vbr-widget-hover-color: var(--vbr-widget-secondary-color-900);--vbr-widget-base-input-color: var(--vbr-widget-primary-color-800);--vbr-widget-base-input-font-size: var(--vbr-widget-typography-font-size-400);--vbr-widget-base-input-border-color: var(--vbr-widget-primary-color-300);--vbr-widget-base-input-border-radius: 3px;--vbr-widget-form-label-color: var(--vbr-widget-primary-color-500);--vbr-widget-form-label-font-size: var(--vbr-widget-typography-font-size-200);--vbr-widget-timezone-selector-color: var(--vbr-widget-primary-color-500);--vbr-widget-timezone-selector-font-size: var(--vbr-widget-typography-font-size-400);--vbr-widget-badge-bg-color: var(--vbr-widget-primary-color-50);--vbr-widget-badge-color: var(--vbr-widget-primary-color-400);--vbr-widget-badge-font-size: var(--vbr-widget-typography-font-size-50);--vbr-widget-badge-large-font-size: var(--vbr-widget-typography-font-size-100);--vbr-widget-badge-extra-large-font-size: var(--vbr-widget-typography-font-size-300);--vbr-widget-tab-btn-padding: .625rem 1rem;--vbr-widget-tab-btn-font-size: var(--vbr-widget-typography-font-size-500);--vbr-widget-tab-btn-font-weight: 500;--vbr-widget-tab-btn-bg-color: var(--vbr-widget-primary-color-0);--vbr-widget-tab-btn-color: var(--vbr-widget-primary-color-300);--vbr-widget-tab-btn-border-color: transparent;--vbr-widget-tab-btn-border-style: solid;--vbr-widget-tab-btn-border-width: 0 0 3px 0;--vbr-widget-tab-btn-text-transform: uppercase;--vbr-widget-tab-btn-hover-color: var(--vbr-widget-primary-color-500);--vbr-widget-tab-btn-hover-bg-color: var(--vbr-widget-primary-color-0);--vbr-widget-tab-btn-hover-border-color: transparent;--vbr-widget-tab-btn-active-bg-color: var(--vbr-widget-primary-color-0);--vbr-widget-tab-btn-active-color: var(--vbr-widget-primary-color-900);--vbr-widget-tab-btn-active-border-color: var(--vbr-widget-secondary-color-500);--vbr-widget-toggle-group-gap: .625rem;--vbr-widget-toggle-group-btn-padding: 3px 10px;--vbr-widget-toggle-group-btn-size: var(--vbr-widget-typography-font-size-400);--vbr-widget-toggle-group-btn-bg-color: var(--vbr-widget-primary-color-50);--vbr-widget-toggle-group-btn-active-color: var(--vbr-widget-primary-color-0);--vbr-widget-toggle-group-btn-active-bg-color: var(--vbr-widget-live-game-color);--vbr-widget-toggle-group-btn-radius: 4px;--vbr-widget-progress-height: 10px;--vbr-widget-progress-border-radius: 5px;--vbr-widget-progress-bg-color: var(--vbr-widget-primary-color-50);--vbr-widget-progress-bar-color: var(--vbr-widget-live-game-color);--vbr-widget-progress-bar-stripe-color: rgba(255, 255, 255, .2);--vbr-widget-progress-bar-stripe-angle: 45deg;--vbr-widget-gamecenter-result-size: 6rem;--vbr-widget-gamecenter-result-weight: 700;--vbr-widget-gamecenter-result-color: var(--vbr-widget-primary-color-800);--vbr-widget-gamecenter-teamname-size: var(--vbr-widget-typography-font-size-700);--vbr-widget-gamecenter-teamname-color: var(--vbr-widget-primary-color-800);--vbr-widget-gamecenter-teamname-weight: 700;--vbr-widget-gamecenter-title-color: var(--vbr-widget-primary-color-800);--vbr-widget-gamecenter-title-size: var(--vbr-widget-typography-font-size-500);--vbr-widget-gamecenter-title-weight: 700;--vbr-widget-gamecenter-gamedate-color: var(--vbr-widget-primary-color-500);--vbr-widget-gamecenter-gamedate-size: var(--vbr-widget-typography-font-size-500);--vbr-widget-gamecenter-local-gamedate-color: var(--vbr-widget-primary-color-500);--vbr-widget-gamecenter-local-gamedate-size: var(--vbr-widget-typography-font-size-300);--vbr-widget-gamecenter-gamestatus-color: var(--vbr-widget-primary-color-600);--vbr-widget-gamecenter-gamestatus-size: var(--vbr-widget-typography-font-size-400);--vbr-widget-gamecenter-periodresults-color: var(--vbr-widget-primary-color-600);--vbr-widget-gamecenter-periodresults-size: var(--vbr-widget-typography-font-size-700);--vbr-widget-gamecenter-period-header-bg-color: var(--vbr-widget-primary-color-800);--vbr-widget-gamecenter-period-header-color: var(--vbr-widget-primary-color-0);--vbr-widget-gamecenter-period-header-size: var(--vbr-widget-typography-font-size-300);--vbr-widget-gamecenter-period-header-weight: 500;--vbr-widget-gamecenter-stats-bg-color: var(--vbr-widget-primary-color-50);--vbr-widget-gamecenter-stats-border-color: var(--vbr-widget-primary-color-100);--vbr-widget-gamecenter-stats-title-size: var(--vbr-widget-typography-font-size-300);--vbr-widget-gamecenter-stats-title-color: var(--vbr-widget-primary-color-400);--vbr-widget-gamecenter-stats-size: var(--vbr-widget-typography-font-size-500);--vbr-widget-gamecenter-stats-color: var(--vbr-widget-primary-color-800);--vbr-widget-gamecenter-team-container-title-color: var(--vbr-widget-primary-color-800);--vbr-widget-gamecenter-team-container-title-bg-color: var(--vbr-widget-primary-color-100);--vbr-widget-gamecenter-team-container-border-color: var(--vbr-widget-primary-color-100);--vbr-widget-gamecenter-events-evented-person-size: var(--vbr-widget-typography-font-size-500);--vbr-widget-gamecenter-events-evented-person-weight: 600;--vbr-widget-gamecenter-events-assitst-list-size: var(--vbr-widget-typography-font-size-400);--vbr-widget-gamecenter-events-poi-list-size: var(--vbr-widget-typography-font-size-200);--vbr-widget-gamecenter-events-score-size: var(--vbr-widget-typography-font-size-500);--vbr-widget-gamecenter-events-penalty-size: var(--vbr-widget-typography-font-size-400);--vbr-widget-gamecenter-events-goalie-direction-size: var(--vbr-widget-typography-font-size-400);--vbr-widget-gamecenter-events-timeout-bg-color: #2870ed;--vbr-widget-gamecenter-card-title-color: var(--vbr-widget-primary-color-900);--vbr-widget-gamecenter-card-secondary-color: var(--vbr-widget-primary-color-500);--vbr-widget-gamecenter-card-tertiary-color: var(--vbr-widget-primary-color-300);--vbr-widget-gamecenter-card-border-color: var(--vbr-widget-primary-color-100);--vbr-widget-gamecenter-card-bg-color: var(--vbr-widget-primary-color-0);--vbr-widget-gamecenter-card-event-goal-border-color: var(--vbr-widget-primary-color-700);--vbr-widget-gamecenter-card-event-goal-bg-color: var(--vbr-widget-primary-color-700);--vbr-widget-gamecenter-home-team-identifier-color: #2870ed;--vbr-widget-gamecenter-away-team-identifier-color: #ff6129;--vbr-widget-gamecenter-home-team-identifier-border-color: transparent;--vbr-widget-gamecenter-away-team-identifier-border-color: transparent;--vbr-widget-main-image-wrapper-horizontal-margin: 0;--vbr-widget-sticky-top-offset: 0;--vbr-widget-games-timeline-game-date-size: var(--vbr-widget-typography-font-size-100);--vbr-widget-games-timeline-game-date-color: var(--vbr-widget-primary-color-500);--vbr-widget-games-timeline-game-team-color: var(--vbr-widget-primary-color-700);--vbr-widget-games-timeline-game-team-size: var(--vbr-widget-typography-font-size-300);--vbr-widget-games-timeline-game-status-color: var(--vbr-widget-primary-color-300);--vbr-widget-games-timeline-game-status-size: var(--vbr-widget-typography-font-size-200);--vbr-widget-games-timeline-game-hover-bg-color: linear-gradient(#fff, #f5f6f7 50%, #fff);--vbr-widget-games-timeline-arrow-color: var(--vbr-widget-primary-color-300);--vbr-widget-games-timeline-arrow-hover-color: var(--vbr-widget-primary-color-500);--vbr-widget-games-timeline-arrow-disabled-color: var(--vbr-widget-primary-color-100);--vbr-widget-games-timeline-arrow-border-color: var(--vbr-widget-primary-color-100);--vbr-widget-games-timeline-external-link-color: var(--vbr-widget-primary-color-500);--vbr-widget-games-timeline-external-link-size: var(--vbr-widget-typography-font-size-200)}html,body{-webkit-font-smoothing:antialiased}.transition-fade-enter-active,.transition-fade-leave-active{transition:all .25s ease}.transition-fade-enter-from,.transition-fade-leave-to{opacity:0;transform:translateY(5px)}.transition-event-move,.transition-event-enter-active,.transition-event-leave-active{transition:all .25s ease}.transition-event-enter-from,.transition-event-leave-to{opacity:0}img{opacity:0;transition:opacity .5s ease-out}img.is-loaded{opacity:1}a{color:var(--vbr-widget-link-color);text-decoration:none}a:hover{color:var(--vbr-widget-hover-color)}.floating-content.is-tooltip{background-color:var(--vbr-widget-tooltip-bg-color);color:var(--vbr-widget-tooltip-color);font-weight:700;padding:5px 10px;border-radius:4px;font-size:var(--vbr-widget-tooltip-font-size);white-space:nowrap;pointer-events:none}.floating-content.is-tooltip .is-arrow{background-color:var(--vbr-widget-tooltip-bg-color)}.floating-content.is-content{border-radius:4px;box-shadow:2px 14px 23px #00000040}.floating-content.is-content .is-arrow{background-color:var(--vbr-widget-primary-color-50)}.floating-content .is-arrow{position:absolute;width:8px;height:8px;transform:rotate(45deg)}[data-placement^=top] .floating-content .is-arrow{bottom:-4px}[data-placement^=bottom] .floating-content .is-arrow{top:-4px}[data-placement^=left] .floating-content .is-arrow{right:-4px}[data-placement^=right] .floating-content .is-arrow{left:-4px}.error-notice{display:flex;align-items:center;justify-items:flex-start;margin:10px 0;padding:10px 20px;background-color:var(--vbr-widget-error-notice-bg-color);color:var(--vbr-widget-error-notice-color);border:1px solid var(--vbr-widget-error-notice-border-color)}.error-notice .icon{margin-right:15px}.timezone-selector{padding:3px 0;color:var(--vbr-widget-timezone-selector-color);font-size:var(--vbr-widget-timezone-selector-font-size);font-weight:500}.timezone-selector .is-active{font-weight:700}.is-badge{display:inline-block;padding:.125em .25em;color:var(--vbr-widget-badge-color);font-size:var(--vbr-widget-badge-font-size);font-weight:700;text-transform:uppercase;background-color:var(--vbr-widget-badge-bg-color);border-radius:3px}.is-badge+.is-badge{margin-inline-start:3px}.is-badge.is-invert{color:var(--vbr-widget-badge-bg-color);background-color:var(--vbr-widget-badge-color)}.is-badge.is-green{color:var(--vbr-widget-primary-color-0);background-color:var(--vbr-widget-live-game-color)}.is-badge.is-red{color:var(--vbr-widget-primary-color-0);background-color:var(--vbr-widget-danger-color-a400)}.is-badge.is-yellow{color:var(--vbr-widget-primary-color-0);background-color:var(--vbr-widget-neutral-color)}.is-badge.is-dark{color:var(--vbr-widget-primary-color-0);background-color:var(--vbr-widget-primary-color-700)}.is-badge.is-large{font-size:var(--vbr-widget-badge-large-font-size);padding:.15em .35em}.is-badge.is-extra-large{font-size:var(--vbr-widget-badge-extra-large-font-size);padding:.2695em .5165em}", We = ".is-text-right{text-align:right}.is-text-center{text-align:center}.is-text-bold{font-weight:700}.is-text-italic{font-style:italic}.is-text-xs{font-size:var(--vbr-widget-typography-font-size-200);line-height:var(--vbr-widget-typography-font-lineheight-200)}.is-text-sm{font-size:var(--vbr-widget-typography-font-size-400);line-height:var(--vbr-widget-typography-font-lineheight-200)}.is-text-base{font-size:var(--vbr-widget-typography-font-size-500);line-height:var(--vbr-widget-typography-font-lineheight-500)}.is-text-lg{font-size:var(--vbr-widget-typography-font-size-600);line-height:var(--vbr-widget-typography-font-lineheight-600)}.is-text-xl{font-size:var(--vbr-widget-typography-font-size-700);line-height:var(--vbr-widget-typography-font-lineheight-700)}.is-text-4xl{font-size:var(--vbr-widget-typography-font-size-950);line-height:var(--vbr-widget-typography-font-lineheight-950)}.is-uppercase{text-transform:uppercase}.is-opacity-20{opacity:.2}.is-opacity-30{opacity:.3}.is-opacity-40{opacity:.4}.is-opacity-50{opacity:.5}.is-mt-5{margin-top:1rem}.is-mb-5{margin-bottom:1rem}.is-whitespace-nowrap{white-space:nowrap}.is-heading-1{font-size:var(--vbr-widget-typography-heading-1-size);line-height:var(--vbr-widget-typography-font-lineheight-700);margin-block-start:var(--vbr-widget-typography-font-size-700);margin-block-end:calc(var(--vbr-widget-typography-font-size-700) / 2);font-weight:var(--vbr-widget-typography-heading-weight)}.is-heading-2{font-size:var(--vbr-widget-typography-heading-2-size);line-height:var(--vbr-widget-typography-font-lineheight-600);font-weight:var(--vbr-widget-typography-heading-weight);margin-block-start:var(--vbr-widget-typography-font-size-600);margin-block-end:calc(var(--vbr-widget-typography-font-size-600) / 2)}.is-heading-3{font-size:var(--vbr-widget-typography-heading-3-size);line-height:var(--vbr-widget-typography-font-lineheight-500);font-weight:var(--vbr-widget-typography-heading-weight);margin-block-start:var(--vbr-widget-typography-font-size-500);margin-block-end:calc(var(--vbr-widget-typography-font-size-500) / 2)}.is-rounded{overflow:hidden;border-radius:100%}.is-rounded+.is-rounded{margin-left:3px}.is-rounded img{display:block}.is-w-5{width:16px}.is-w-7{width:24px}.is-w-10{width:32px}", He = `.base-input{padding:.375rem .75rem;font-family:inherit;color:var(--vbr-widget-base-input-color);border:1px solid var(--vbr-widget-base-input-border-color);border-radius:var(--vbr-widget-base-input-border-radius);width:100%;-moz-padding-start:calc(.75rem - 3px);font-size:var(--vbr-widget-base-input-font-size);font-weight:400;line-height:1.5;background-color:#fff;transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out;-webkit-appearance:none;-moz-appearance:none;appearance:none}.base-input:disabled{opacity:.3}.base-input.is-select{padding-right:2.25rem;background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");background-repeat:no-repeat;background-position:right .75rem center;background-size:16px 12px}label{display:block;margin-bottom:3px;color:var(--vbr-widget-form-label-color);font-size:var(--vbr-widget-form-label-font-size);font-weight:700;text-transform:uppercase}.tab-button{padding:var(--vbr-widget-tab-btn-padding);font-family:inherit;font-size:var(--vbr-widget-tab-btn-font-size);font-weight:var(--vbr-widget-tab-btn-font-weight);color:var(--vbr-widget-tab-btn-color);text-transform:var(--vbr-widget-tab-btn-text-transform);background-color:var(--vbr-widget-tab-btn-bg-color);border-color:var(--vbr-widget-tab-btn-border-color);border-width:var(--vbr-widget-tab-btn-border-width);border-style:var(--vbr-widget-tab-btn-border-style);outline:none;box-shadow:none;cursor:pointer}.tab-button:hover{color:var(--vbr-widget-tab-btn-hover-color);border-color:var(--vbr-widget-tab-btn-hover-border-color);background-color:var(--vbr-widget-tab-btn-hover-bg-color)}.tab-button.is-active{color:var(--vbr-widget-tab-btn-active-color);border-color:var(--vbr-widget-tab-btn-active-border-color);background-color:var(--vbr-widget-tab-btn-active-bg-color)}.toggle-group{display:flex;flex-wrap:wrap;gap:var(--vbr-widget-toggle-group-gap);margin-bottom:15px}.toggle-group button{padding:var(--vbr-widget-toggle-group-btn-padding);font-family:inherit;font-size:var(--vbr-widget-toggle-group-btn-size);background-color:var(--vbr-widget-toggle-group-btn-bg-color);border-radius:var(--vbr-widget-toggle-group-btn-radius)}.toggle-group button.is-active{color:var(--vbr-widget-toggle-group-btn-active-color);background-color:var(--vbr-widget-toggle-group-btn-active-bg-color)}`, qo = ".is-card{container-name:card-row;container-type:inline-size;background-color:#fff;padding:15px;margin-bottom:20px;box-shadow:0 2px 4px #0000001a,0 2px 2px #0000001a}.is-card>div{border-bottom:1px solid var(--vbr-widget-primary-color-100)}.is-card>div:last-of-type{border:none}.is-sticky{position:sticky;top:var(--vbr-widget-sticky-top-offset);z-index:10}.is-blured-bg{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.card-item{display:grid;grid-gap:1rem;grid-template-columns:2fr 1fr 2fr;padding:2rem 0;border-bottom:1px solid var(--vbr-widget-primary-color-100)}.card-item.is-optional{opacity:.4;transition:opacity .3s ease-out}.card-item.is-optional:hover{opacity:1}.card-item svg{display:block}.card-item .is-team-name-short{display:none}@container card-row (max-width: 640px){.card-item .is-team-name-long{display:none}.card-item .is-team-name-short{display:block}}.card-item .is-info{grid-column:1/4;display:flex;justify-content:center;align-items:center;color:var(--vbr-widget-primary-color-500)}.card-item .is-home-team{display:flex;gap:8px;align-items:center;justify-content:flex-end;font-weight:700}.card-item .is-away-team{display:flex;gap:8px;align-items:center;justify-content:flex-start;font-weight:700}.card-item .is-logo-image{width:40px}.card-item .is-game-data{display:flex;flex-direction:column;align-items:center;justify-content:center}.card-item .is-game-data a{display:flex;flex-direction:column;align-items:center;color:var(--vbr-widget-primary-color-900)}.card-item .is-game-data a:hover{color:var(--vbr-widget-primary-color-600)}.card-item .is-game-data.is-live,.card-item .is-game-data.is-live a{color:var(--vbr-widget-live-game-color)}.section-selector{margin:20px 0;border-bottom:1px solid var(--vbr-widget-primary-color-200)}.main-image-wrapper{--overlay-size: 160px;--overlay-radius: 50%;display:grid;grid-template-columns:1fr var(--overlay-size) 1fr;grid-template-rows:1fr 1fr 1fr calc(var(--overlay-size) / 2) calc(var(--overlay-size) / 2);margin-left:var(--vbr-widget-main-image-wrapper-horizontal-margin);margin-right:var(--vbr-widget-main-image-wrapper-horizontal-margin)}.main-image-wrapper:has(img.is-default){min-height:470px}.main-image-wrapper .is-main-image{grid-column:1/4;grid-row:1/5;display:flex;justify-content:center;align-items:center;background-color:var(--vbr-widget-primary-color-50);box-shadow:0 2px 4px #0003}.main-image-wrapper .is-main-image .is-default{filter:grayscale(1);opacity:.3;mix-blend-mode:multiply}.main-image-wrapper .is-main-image img:not(.is-default){width:100%}.main-image-wrapper .is-ovarlay-image{grid-row:4/-1;grid-column:2;justify-self:center;overflow:hidden;border-radius:var(--overlay-radius);z-index:1}.main-image-wrapper .is-ovarlay-image img{width:100%;aspect-ratio:1}", $e = (t, e) => {
|
|
1431
1431
|
const r = t.__vccOpts || t;
|
|
1432
|
-
for (const [
|
|
1433
|
-
r[
|
|
1432
|
+
for (const [a, o] of e)
|
|
1433
|
+
r[a] = o;
|
|
1434
1434
|
return r;
|
|
1435
|
-
},
|
|
1435
|
+
}, Wo = {
|
|
1436
1436
|
id: "top",
|
|
1437
1437
|
class: "flex overflow-x-auto is-mb-5"
|
|
1438
|
-
},
|
|
1438
|
+
}, Ho = ["onClick"], Xo = ["onClick"], Jo = ["onClick"], Qo = ["onClick"], Zo = { class: "toggle-group" }, ei = ["disabled", "onClick"], ti = {
|
|
1439
1439
|
key: 0,
|
|
1440
1440
|
class: "is-text-center"
|
|
1441
|
-
},
|
|
1441
|
+
}, ri = ["data-gamedate"], ai = { class: "is-text-base" }, oi = { class: "is-card" }, ii = ["onClick"], ni = {
|
|
1442
1442
|
__name: "Calendar.ce",
|
|
1443
1443
|
props: {
|
|
1444
1444
|
locale: {
|
|
@@ -1453,105 +1453,91 @@ const Aa = { render: Na }, Ea = { class: "is-info is-text-sm" }, Da = ["href"],
|
|
|
1453
1453
|
type: String,
|
|
1454
1454
|
default: ""
|
|
1455
1455
|
},
|
|
1456
|
-
...
|
|
1456
|
+
...Er
|
|
1457
1457
|
},
|
|
1458
1458
|
setup(t) {
|
|
1459
|
-
const e = t, r = { en:
|
|
1460
|
-
return (
|
|
1459
|
+
const e = t, r = { en: ke, hu: Se }, a = O(Ue()), o = A(() => e.isGameTargetExternal ? "_blank" : "_self"), i = (n) => ut(e.externalGameResolver || "/game/id/{id}", n);
|
|
1460
|
+
return (n, s) => (h(), R(d(_e), {
|
|
1461
1461
|
locale: e.locale,
|
|
1462
1462
|
messages: r
|
|
1463
1463
|
}, {
|
|
1464
|
-
default:
|
|
1465
|
-
|
|
1466
|
-
default:
|
|
1467
|
-
|
|
1464
|
+
default: E(({ t: l }) => [
|
|
1465
|
+
T(d(Ge), null, {
|
|
1466
|
+
default: E(({ error: c, hasError: g }) => [
|
|
1467
|
+
g ? (h(), R(d(Re), {
|
|
1468
1468
|
key: 0,
|
|
1469
|
-
error:
|
|
1469
|
+
error: c
|
|
1470
1470
|
}, null, 8, ["error"])) : M("", !0),
|
|
1471
|
-
|
|
1471
|
+
T(So, {
|
|
1472
1472
|
locale: e.locale,
|
|
1473
|
-
timezone:
|
|
1473
|
+
timezone: a.value,
|
|
1474
1474
|
"season-id": t.seasonId,
|
|
1475
1475
|
"api-key": t.apiKey
|
|
1476
1476
|
}, {
|
|
1477
|
-
default:
|
|
1478
|
-
games:
|
|
1479
|
-
months:
|
|
1480
|
-
isLoading:
|
|
1481
|
-
selectedPanel:
|
|
1482
|
-
selectedMonth:
|
|
1483
|
-
more:
|
|
1484
|
-
setMonth:
|
|
1485
|
-
changePanel:
|
|
1477
|
+
default: E(({
|
|
1478
|
+
games: p,
|
|
1479
|
+
months: y,
|
|
1480
|
+
isLoading: v,
|
|
1481
|
+
selectedPanel: z,
|
|
1482
|
+
selectedMonth: b,
|
|
1483
|
+
more: $,
|
|
1484
|
+
setMonth: w,
|
|
1485
|
+
changePanel: S
|
|
1486
1486
|
}) => [
|
|
1487
|
-
|
|
1488
|
-
|
|
1489
|
-
class:
|
|
1490
|
-
|
|
1491
|
-
|
|
1492
|
-
|
|
1493
|
-
|
|
1494
|
-
|
|
1495
|
-
|
|
1496
|
-
|
|
1497
|
-
|
|
1498
|
-
|
|
1499
|
-
|
|
1500
|
-
|
|
1501
|
-
|
|
1502
|
-
|
|
1503
|
-
|
|
1504
|
-
s(a),
|
|
1505
|
-
{ "is-active": h === s(ze) }
|
|
1506
|
-
]]),
|
|
1507
|
-
onClick: (v) => z(s(ze))
|
|
1508
|
-
}, y(c("calendar.nextGames")), 11, ti),
|
|
1509
|
-
m("button", {
|
|
1510
|
-
class: E(["basis-[fit-content] shrink-0", [
|
|
1511
|
-
s(a),
|
|
1512
|
-
{ "is-active": h === s(Pe) }
|
|
1513
|
-
]]),
|
|
1514
|
-
onClick: (v) => z(s(Pe))
|
|
1515
|
-
}, y(c("calendar.weekGames")), 11, ri)
|
|
1487
|
+
u("div", Wo, [
|
|
1488
|
+
u("button", {
|
|
1489
|
+
class: F(["tab-button", { "is-active": z === d(pe) }]),
|
|
1490
|
+
onClick: (f) => S(d(pe))
|
|
1491
|
+
}, x(l("calendar.gamesPlayed")), 11, Ho),
|
|
1492
|
+
u("button", {
|
|
1493
|
+
class: F(["tab-button", { "is-active": z === d(ye) }]),
|
|
1494
|
+
onClick: (f) => S(d(ye))
|
|
1495
|
+
}, x(l("calendar.todaysGames")), 11, Xo),
|
|
1496
|
+
u("button", {
|
|
1497
|
+
class: F(["tab-button", { "is-active": z === d(we) }]),
|
|
1498
|
+
onClick: (f) => S(d(we))
|
|
1499
|
+
}, x(l("calendar.nextGames")), 11, Jo),
|
|
1500
|
+
u("button", {
|
|
1501
|
+
class: F(["tab-button", { "is-active": z === d(Le) }]),
|
|
1502
|
+
onClick: (f) => S(d(Le))
|
|
1503
|
+
}, x(l("calendar.weekGames")), 11, Qo)
|
|
1516
1504
|
]),
|
|
1517
|
-
|
|
1518
|
-
|
|
1519
|
-
|
|
1520
|
-
(p(!0), x(R, null, Z(f, (v) => (p(), x("button", {
|
|
1521
|
-
key: v.id,
|
|
1505
|
+
u("div", Zo, [
|
|
1506
|
+
(h(!0), _(G, null, Q(y, (f) => (h(), _("button", {
|
|
1507
|
+
key: f.id,
|
|
1522
1508
|
type: "button",
|
|
1523
|
-
class:
|
|
1524
|
-
disabled:
|
|
1525
|
-
onClick: (
|
|
1526
|
-
},
|
|
1527
|
-
]
|
|
1528
|
-
|
|
1529
|
-
|
|
1530
|
-
|
|
1531
|
-
(
|
|
1532
|
-
key:
|
|
1533
|
-
"data-gamedate":
|
|
1509
|
+
class: F({ "is-active": b === f.id }),
|
|
1510
|
+
disabled: v,
|
|
1511
|
+
onClick: (m) => w(f)
|
|
1512
|
+
}, x(f.name), 11, ei))), 128))
|
|
1513
|
+
]),
|
|
1514
|
+
p.totalItems === 0 && !v ? (h(), _("div", ti, x(l("calendar.noGame")), 1)) : M("", !0),
|
|
1515
|
+
u("div", null, [
|
|
1516
|
+
v ? (h(), R(d(qt), { key: 0 })) : M("", !0),
|
|
1517
|
+
(h(!0), _(G, null, Q(p.rows, (f, m) => (h(), _("div", {
|
|
1518
|
+
key: m,
|
|
1519
|
+
"data-gamedate": m
|
|
1534
1520
|
}, [
|
|
1535
|
-
|
|
1536
|
-
|
|
1537
|
-
(
|
|
1538
|
-
key:
|
|
1539
|
-
game:
|
|
1521
|
+
u("span", ai, x(d(J)(new Date(m), "LL dddd", a.value, t.locale)), 1),
|
|
1522
|
+
u("div", oi, [
|
|
1523
|
+
(h(!0), _(G, null, Q(f, (I) => (h(), R(Bo, {
|
|
1524
|
+
key: I.id,
|
|
1525
|
+
game: I,
|
|
1540
1526
|
locale: t.locale,
|
|
1541
|
-
timezone:
|
|
1542
|
-
"game-link":
|
|
1543
|
-
target:
|
|
1527
|
+
timezone: a.value,
|
|
1528
|
+
"game-link": i,
|
|
1529
|
+
target: o.value
|
|
1544
1530
|
}, null, 8, ["game", "locale", "timezone", "target"]))), 128))
|
|
1545
1531
|
])
|
|
1546
|
-
], 8,
|
|
1532
|
+
], 8, ri))), 128))
|
|
1547
1533
|
]),
|
|
1548
|
-
!
|
|
1534
|
+
!v && p.currentItems < p.totalItems ? (h(), R(d(Dr), {
|
|
1549
1535
|
key: 1,
|
|
1550
1536
|
options: { rootMargin: "400px" },
|
|
1551
|
-
onIntersect:
|
|
1537
|
+
onIntersect: $
|
|
1552
1538
|
}, {
|
|
1553
|
-
default:
|
|
1554
|
-
|
|
1539
|
+
default: E(() => [
|
|
1540
|
+
u("button", { onClick: $ }, x(l("calendar.more")), 9, ii)
|
|
1555
1541
|
]),
|
|
1556
1542
|
_: 2
|
|
1557
1543
|
}, 1032, ["onIntersect"])) : M("", !0)
|
|
@@ -1565,106 +1551,106 @@ const Aa = { render: Na }, Ea = { class: "is-info is-text-sm" }, Da = ["href"],
|
|
|
1565
1551
|
_: 1
|
|
1566
1552
|
}, 8, ["locale"]));
|
|
1567
1553
|
}
|
|
1568
|
-
},
|
|
1569
|
-
function
|
|
1570
|
-
var r,
|
|
1571
|
-
e.championships =
|
|
1554
|
+
}, si = /* @__PURE__ */ $e(ni, [["styles", [Ie, We, He, qo]]]), be = "schedule", tt = "standings", ue = "players", Ne = "teams";
|
|
1555
|
+
function li(t, e) {
|
|
1556
|
+
var r, a, o, i;
|
|
1557
|
+
e.championships = lr(de("sectionId"))(t), e.selectedChampionshipId = (a = (r = e.championships) == null ? void 0 : r[0]) == null ? void 0 : a.sectionId, e.phaseId = (i = (o = t == null ? void 0 : t[0]) == null ? void 0 : o.phases[0]) == null ? void 0 : i.phaseId;
|
|
1572
1558
|
}
|
|
1573
|
-
const
|
|
1559
|
+
const ci = (/* @__PURE__ */ new Map()).set("schedule", {
|
|
1574
1560
|
api: "/v2/games-list",
|
|
1575
|
-
columns:
|
|
1561
|
+
columns: Jt,
|
|
1576
1562
|
sort: {}
|
|
1577
1563
|
}).set("standings", {
|
|
1578
1564
|
api: "/v2/standings",
|
|
1579
|
-
columns:
|
|
1565
|
+
columns: ea,
|
|
1580
1566
|
sort: {}
|
|
1581
1567
|
}).set("points", {
|
|
1582
1568
|
api: "/v2/players-stats",
|
|
1583
|
-
columns:
|
|
1569
|
+
columns: Te,
|
|
1584
1570
|
sort: {
|
|
1585
1571
|
sortTarget: "points",
|
|
1586
|
-
orders: [{ target: "points", direction:
|
|
1572
|
+
orders: [{ target: "points", direction: X }]
|
|
1587
1573
|
}
|
|
1588
1574
|
}).set("goals", {
|
|
1589
1575
|
api: "/v2/players-stats",
|
|
1590
|
-
columns:
|
|
1576
|
+
columns: Te,
|
|
1591
1577
|
sort: {
|
|
1592
1578
|
sortTarget: "goals",
|
|
1593
1579
|
orders: [
|
|
1594
|
-
{ target: "goals", direction:
|
|
1595
|
-
{ target: "assists", direction:
|
|
1580
|
+
{ target: "goals", direction: X },
|
|
1581
|
+
{ target: "assists", direction: X }
|
|
1596
1582
|
]
|
|
1597
1583
|
}
|
|
1598
1584
|
}).set("assists", {
|
|
1599
1585
|
api: "/v2/players-stats",
|
|
1600
|
-
columns:
|
|
1586
|
+
columns: Te,
|
|
1601
1587
|
sort: {
|
|
1602
1588
|
sortTarget: "assists",
|
|
1603
1589
|
orders: [
|
|
1604
|
-
{ target: "assists", direction:
|
|
1605
|
-
{ target: "goals", direction:
|
|
1590
|
+
{ target: "assists", direction: X },
|
|
1591
|
+
{ target: "goals", direction: X }
|
|
1606
1592
|
]
|
|
1607
1593
|
}
|
|
1608
1594
|
}).set("plusminus", {
|
|
1609
1595
|
api: "/v2/players-stats",
|
|
1610
|
-
columns:
|
|
1596
|
+
columns: Te,
|
|
1611
1597
|
sort: {
|
|
1612
1598
|
sortTarget: "plusMinus",
|
|
1613
|
-
orders: [{ target: "plusMinus", direction:
|
|
1599
|
+
orders: [{ target: "plusMinus", direction: X }]
|
|
1614
1600
|
}
|
|
1615
1601
|
}).set("playerspenalties", {
|
|
1616
1602
|
api: "/v2/players-penalty",
|
|
1617
|
-
columns:
|
|
1603
|
+
columns: ta,
|
|
1618
1604
|
sort: {
|
|
1619
1605
|
sortTarget: "pim",
|
|
1620
|
-
orders: [{ target: "pim", direction:
|
|
1606
|
+
orders: [{ target: "pim", direction: X }]
|
|
1621
1607
|
}
|
|
1622
1608
|
}).set("goalies", {
|
|
1623
1609
|
api: "/v2/players-goalie",
|
|
1624
1610
|
params: { more: !0 },
|
|
1625
|
-
columns:
|
|
1611
|
+
columns: _t,
|
|
1626
1612
|
sort: {
|
|
1627
1613
|
sortTarget: "svsPercent",
|
|
1628
|
-
orders: [{ target: "svsPercent", direction:
|
|
1614
|
+
orders: [{ target: "svsPercent", direction: X }]
|
|
1629
1615
|
}
|
|
1630
1616
|
}).set("goaliesunderlimit", {
|
|
1631
1617
|
api: "/v2/players-goalie",
|
|
1632
1618
|
params: { less: !0 },
|
|
1633
|
-
columns:
|
|
1619
|
+
columns: _t,
|
|
1634
1620
|
sort: {
|
|
1635
1621
|
sortTarget: "svsPercent",
|
|
1636
|
-
orders: [{ target: "svsPercent", direction:
|
|
1622
|
+
orders: [{ target: "svsPercent", direction: X }]
|
|
1637
1623
|
}
|
|
1638
1624
|
}).set("teamFairplay", {
|
|
1639
1625
|
api: "/v2/team-fairplay",
|
|
1640
|
-
columns:
|
|
1626
|
+
columns: ra,
|
|
1641
1627
|
sort: {
|
|
1642
1628
|
sortTarget: "pim",
|
|
1643
|
-
orders: [{ target: "pim", direction:
|
|
1629
|
+
orders: [{ target: "pim", direction: X }]
|
|
1644
1630
|
}
|
|
1645
1631
|
}).set("teamPenaltiKilling", {
|
|
1646
1632
|
api: "/v2/team-powerplay",
|
|
1647
|
-
columns:
|
|
1633
|
+
columns: aa,
|
|
1648
1634
|
sort: {
|
|
1649
1635
|
sortTarget: "pkPercent",
|
|
1650
|
-
orders: [{ target: "pkPercent", direction:
|
|
1636
|
+
orders: [{ target: "pkPercent", direction: X }]
|
|
1651
1637
|
}
|
|
1652
1638
|
}).set("teamPowerplay", {
|
|
1653
1639
|
api: "/v2/team-powerplay",
|
|
1654
|
-
columns:
|
|
1640
|
+
columns: oa,
|
|
1655
1641
|
sort: {
|
|
1656
1642
|
sortTarget: "ppPercent",
|
|
1657
|
-
orders: [{ target: "ppPercent", direction:
|
|
1643
|
+
orders: [{ target: "ppPercent", direction: X }]
|
|
1658
1644
|
}
|
|
1659
1645
|
}).set("teamScoringEfficiency", {
|
|
1660
1646
|
api: "/v2/team-scoring-efficiency",
|
|
1661
|
-
columns:
|
|
1647
|
+
columns: ia,
|
|
1662
1648
|
sort: {
|
|
1663
1649
|
sortTarget: "sp",
|
|
1664
|
-
orders: [{ target: "sp", direction:
|
|
1650
|
+
orders: [{ target: "sp", direction: X }]
|
|
1665
1651
|
}
|
|
1666
1652
|
});
|
|
1667
|
-
function
|
|
1653
|
+
function Gt(t) {
|
|
1668
1654
|
return [
|
|
1669
1655
|
{
|
|
1670
1656
|
name: t("report.points"),
|
|
@@ -1696,7 +1682,7 @@ function Yt(t) {
|
|
|
1696
1682
|
}
|
|
1697
1683
|
];
|
|
1698
1684
|
}
|
|
1699
|
-
function
|
|
1685
|
+
function Rt(t) {
|
|
1700
1686
|
return [
|
|
1701
1687
|
// {
|
|
1702
1688
|
// name: t('report.teamAttendance'),
|
|
@@ -1720,15 +1706,15 @@ function Ut(t) {
|
|
|
1720
1706
|
}
|
|
1721
1707
|
];
|
|
1722
1708
|
}
|
|
1723
|
-
function
|
|
1709
|
+
function di(t, e) {
|
|
1724
1710
|
if (t.length === 0)
|
|
1725
|
-
throw new
|
|
1726
|
-
e.seasons =
|
|
1711
|
+
throw new Ht(De.message, De.options);
|
|
1712
|
+
e.seasons = gi(t), e.championshipId || (e.championshipId = ne(e.seasons).championshipId);
|
|
1727
1713
|
}
|
|
1728
|
-
function
|
|
1729
|
-
return yt(
|
|
1714
|
+
function gi(t) {
|
|
1715
|
+
return yt(sr(or(de("seasonName"))), ft(nr(["championshipId", "seasonName"])))(t);
|
|
1730
1716
|
}
|
|
1731
|
-
const
|
|
1717
|
+
const ui = {
|
|
1732
1718
|
__name: "DataProvider",
|
|
1733
1719
|
props: {
|
|
1734
1720
|
championshipName: {
|
|
@@ -1757,7 +1743,7 @@ const bi = {
|
|
|
1757
1743
|
}
|
|
1758
1744
|
},
|
|
1759
1745
|
setup(t) {
|
|
1760
|
-
const e = t, r =
|
|
1746
|
+
const e = t, r = Zt("history"), a = ce({
|
|
1761
1747
|
loading: !1,
|
|
1762
1748
|
seasons: [],
|
|
1763
1749
|
championshipId: Number(r.championshipId) || 0,
|
|
@@ -1766,103 +1752,106 @@ const bi = {
|
|
|
1766
1752
|
selectedChampionshipId: null,
|
|
1767
1753
|
sections: [],
|
|
1768
1754
|
section: r.section || null,
|
|
1769
|
-
selectedPanel:
|
|
1755
|
+
selectedPanel: be,
|
|
1770
1756
|
api: "/v2/games-list",
|
|
1771
1757
|
apiParams: {},
|
|
1772
|
-
columns:
|
|
1758
|
+
columns: Jt,
|
|
1773
1759
|
sort: null,
|
|
1774
1760
|
report: "points"
|
|
1775
|
-
}),
|
|
1761
|
+
}), o = yr(e, "timezone"), { onError: i } = Ve(), { sort: n, change: s } = Wr({
|
|
1776
1762
|
sortTarget: "",
|
|
1777
1763
|
orders: []
|
|
1778
|
-
}), { page:
|
|
1764
|
+
}), { page: l, change: c } = Hr(), { t: g } = se(), { isLoading: p, execute: y } = te({
|
|
1779
1765
|
options: {
|
|
1780
1766
|
path: "/v2/championship-seasons",
|
|
1781
1767
|
apiKey: e.apiKey,
|
|
1782
1768
|
params: { championshipName: e.championshipName }
|
|
1783
1769
|
},
|
|
1784
|
-
transform: (
|
|
1770
|
+
transform: (C) => di(C, a),
|
|
1785
1771
|
onError: i
|
|
1786
|
-
}), { isLoading:
|
|
1772
|
+
}), { isLoading: v, execute: z } = te({
|
|
1787
1773
|
options: {
|
|
1788
1774
|
path: "/v2/championship-sections",
|
|
1789
1775
|
apiKey: e.apiKey,
|
|
1790
|
-
params: A(() => ({ championshipId:
|
|
1776
|
+
params: A(() => ({ championshipId: a.championshipId }))
|
|
1791
1777
|
},
|
|
1792
|
-
transform: (
|
|
1778
|
+
transform: (C) => li(C, a),
|
|
1793
1779
|
onError: i
|
|
1794
1780
|
}), {
|
|
1795
|
-
isLoading:
|
|
1796
|
-
state:
|
|
1781
|
+
isLoading: b,
|
|
1782
|
+
state: $,
|
|
1797
1783
|
execute: w
|
|
1798
|
-
} =
|
|
1784
|
+
} = te({
|
|
1799
1785
|
options: {
|
|
1800
|
-
path: A(() =>
|
|
1786
|
+
path: A(() => a.api),
|
|
1801
1787
|
apiKey: e.apiKey,
|
|
1802
1788
|
resetOnExecute: !0,
|
|
1803
|
-
params: A(() => ({ championshipId:
|
|
1789
|
+
params: A(() => ({ championshipId: a.championshipId, phaseId: a.phaseId, ...a.apiParams }))
|
|
1804
1790
|
},
|
|
1805
|
-
transform: (
|
|
1791
|
+
transform: (C) => Xt(C),
|
|
1806
1792
|
onError: i
|
|
1807
|
-
}),
|
|
1808
|
-
|
|
1809
|
-
const
|
|
1810
|
-
() =>
|
|
1811
|
-
),
|
|
1812
|
-
const
|
|
1813
|
-
return
|
|
1814
|
-
}),
|
|
1815
|
-
() =>
|
|
1816
|
-
|
|
1817
|
-
|
|
1818
|
-
|
|
1819
|
-
|
|
1820
|
-
|
|
1821
|
-
|
|
1793
|
+
}), S = Xr([v, p, b], { delay: 1e3 });
|
|
1794
|
+
ve([y, z, w]);
|
|
1795
|
+
const f = A(
|
|
1796
|
+
() => a.selectedPanel === ue ? Gt(g) : Rt(g)
|
|
1797
|
+
), m = A(() => {
|
|
1798
|
+
const C = a.championships.find((j) => j.sectionId === a.selectedChampionshipId);
|
|
1799
|
+
return Gr((C == null ? void 0 : C.phases) ?? []);
|
|
1800
|
+
}), I = A(() => a.selectedPanel === be ? 0 : e.limit), N = A(
|
|
1801
|
+
() => Rr(
|
|
1802
|
+
$.value,
|
|
1803
|
+
Yr,
|
|
1804
|
+
Ur,
|
|
1805
|
+
Vr,
|
|
1806
|
+
Kr(["mip"]),
|
|
1807
|
+
Fr(["dvgTime", "dvgTimePP1", "dvgTimePP2", "advTime", "advTimePP1", "advTimePP2"])
|
|
1822
1808
|
)
|
|
1823
|
-
),
|
|
1824
|
-
function P(
|
|
1825
|
-
|
|
1809
|
+
), k = A(() => gt(d(N)).sorted(n).addContinuousIndex().schedule(d(o), d(e.locale)).pagination(d(l), I.value).value());
|
|
1810
|
+
function P(C) {
|
|
1811
|
+
a.championshipId = C, r.championshipId = C, ve([z, w]);
|
|
1826
1812
|
}
|
|
1827
|
-
function
|
|
1828
|
-
var
|
|
1829
|
-
|
|
1813
|
+
function D(C) {
|
|
1814
|
+
var j;
|
|
1815
|
+
a.selectedChampionshipId = C, a.phaseId = ((j = m.value[0]) == null ? void 0 : j.phaseId) ?? null, w();
|
|
1830
1816
|
}
|
|
1831
|
-
function
|
|
1832
|
-
|
|
1817
|
+
function H(C) {
|
|
1818
|
+
a.phaseId = C, w();
|
|
1833
1819
|
}
|
|
1834
|
-
function oe(
|
|
1835
|
-
var
|
|
1836
|
-
|
|
1837
|
-
let
|
|
1838
|
-
|
|
1820
|
+
function oe(C) {
|
|
1821
|
+
var re, B;
|
|
1822
|
+
a.selectedPanel = C;
|
|
1823
|
+
let j = C;
|
|
1824
|
+
C === ue && (j = (re = ne(Gt(W))) == null ? void 0 : re.value), C === Ne && (j = (B = ne(Rt(W))) == null ? void 0 : B.value), a.report = j, V(j);
|
|
1839
1825
|
}
|
|
1840
|
-
function
|
|
1841
|
-
|
|
1826
|
+
function Z(C) {
|
|
1827
|
+
V(C);
|
|
1842
1828
|
}
|
|
1843
|
-
function
|
|
1844
|
-
var
|
|
1845
|
-
const
|
|
1846
|
-
|
|
1829
|
+
function V(C) {
|
|
1830
|
+
var re, B;
|
|
1831
|
+
const j = ci.get(C);
|
|
1832
|
+
a.api = j.api, a.apiParams = j.params, a.columns = j.columns, n.sortTarget = ((re = j.sort) == null ? void 0 : re.sortTarget) ?? "", n.orders = ((B = j.sort) == null ? void 0 : B.orders) ?? [], w(), c(1);
|
|
1847
1833
|
}
|
|
1848
|
-
return (
|
|
1849
|
-
...
|
|
1850
|
-
sort:
|
|
1851
|
-
page:
|
|
1852
|
-
phases:
|
|
1853
|
-
isLoading:
|
|
1854
|
-
games:
|
|
1855
|
-
reports:
|
|
1856
|
-
onSort: s
|
|
1834
|
+
return (C, j) => he(C.$slots, "default", je(Oe({
|
|
1835
|
+
...a,
|
|
1836
|
+
sort: d(n),
|
|
1837
|
+
page: d(l),
|
|
1838
|
+
phases: m.value,
|
|
1839
|
+
isLoading: d(S),
|
|
1840
|
+
games: k.value,
|
|
1841
|
+
reports: f.value,
|
|
1842
|
+
onSort: d(s),
|
|
1857
1843
|
changePanel: oe,
|
|
1858
|
-
changePhase:
|
|
1844
|
+
changePhase: H,
|
|
1859
1845
|
changeSeason: P,
|
|
1860
|
-
onChangeReport:
|
|
1861
|
-
onPaginatorChange:
|
|
1862
|
-
changeChampionship:
|
|
1846
|
+
onChangeReport: Z,
|
|
1847
|
+
onPaginatorChange: d(c),
|
|
1848
|
+
changeChampionship: D
|
|
1863
1849
|
})));
|
|
1864
1850
|
}
|
|
1865
|
-
},
|
|
1851
|
+
}, mi = { class: "g-row" }, pi = {
|
|
1852
|
+
for: "season",
|
|
1853
|
+
class: "label"
|
|
1854
|
+
}, vi = ["value"], hi = {
|
|
1866
1855
|
__name: "SeasonSelector",
|
|
1867
1856
|
props: {
|
|
1868
1857
|
seasons: {
|
|
@@ -1876,36 +1865,39 @@ const bi = {
|
|
|
1876
1865
|
},
|
|
1877
1866
|
emits: ["update:championshipId"],
|
|
1878
1867
|
setup(t, { emit: e }) {
|
|
1879
|
-
const r = t,
|
|
1880
|
-
return (
|
|
1881
|
-
|
|
1882
|
-
|
|
1883
|
-
|
|
1884
|
-
class: E(s(n))
|
|
1885
|
-
}, y(s(a)("selection.season")), 3),
|
|
1886
|
-
$(s(pe), {
|
|
1868
|
+
const r = t, a = e, { t: o } = se(), { championshipId: i } = vt(r, a);
|
|
1869
|
+
return (n, s) => (h(), _("div", mi, [
|
|
1870
|
+
u("div", null, [
|
|
1871
|
+
u("label", pi, x(d(o)("selection.season")), 1),
|
|
1872
|
+
T(d(me), {
|
|
1887
1873
|
id: "season",
|
|
1888
|
-
modelValue:
|
|
1889
|
-
"onUpdate:modelValue":
|
|
1874
|
+
modelValue: d(i),
|
|
1875
|
+
"onUpdate:modelValue": s[0] || (s[0] = (l) => le(i) ? i.value = l : null)
|
|
1890
1876
|
}, {
|
|
1891
|
-
default:
|
|
1892
|
-
(
|
|
1893
|
-
key:
|
|
1894
|
-
value:
|
|
1895
|
-
},
|
|
1877
|
+
default: E(() => [
|
|
1878
|
+
(h(!0), _(G, null, Q(t.seasons, (l) => (h(), _("option", {
|
|
1879
|
+
key: l.championshipId,
|
|
1880
|
+
value: l.championshipId
|
|
1881
|
+
}, x(l.seasonName), 9, vi))), 128))
|
|
1896
1882
|
]),
|
|
1897
1883
|
_: 1
|
|
1898
1884
|
}, 8, ["modelValue"])
|
|
1899
1885
|
])
|
|
1900
1886
|
]));
|
|
1901
1887
|
}
|
|
1902
|
-
},
|
|
1888
|
+
}, bi = {
|
|
1903
1889
|
class: "g-row",
|
|
1904
1890
|
style: { "column-gap": "8px" }
|
|
1891
|
+
}, fi = {
|
|
1892
|
+
for: "phases",
|
|
1893
|
+
class: "label"
|
|
1905
1894
|
}, yi = {
|
|
1906
1895
|
key: 0,
|
|
1907
1896
|
value: null
|
|
1908
|
-
},
|
|
1897
|
+
}, wi = ["value"], xi = { key: 0 }, _i = {
|
|
1898
|
+
for: "report",
|
|
1899
|
+
class: "label"
|
|
1900
|
+
}, ki = ["value"], Si = {
|
|
1909
1901
|
__name: "Selector",
|
|
1910
1902
|
props: {
|
|
1911
1903
|
phases: {
|
|
@@ -1931,51 +1923,45 @@ const bi = {
|
|
|
1931
1923
|
},
|
|
1932
1924
|
emits: ["update:phaseId", "update:report"],
|
|
1933
1925
|
setup(t, { emit: e }) {
|
|
1934
|
-
const r = t,
|
|
1935
|
-
return (
|
|
1936
|
-
|
|
1937
|
-
|
|
1938
|
-
|
|
1939
|
-
class: E(s(l))
|
|
1940
|
-
}, y(s(a)("selection.phases")), 3),
|
|
1941
|
-
$(s(pe), {
|
|
1926
|
+
const r = t, a = e, { t: o } = se(), { phaseId: i, report: n } = vt(r, a);
|
|
1927
|
+
return (s, l) => (h(), _("div", bi, [
|
|
1928
|
+
u("div", null, [
|
|
1929
|
+
u("label", fi, x(d(o)("selection.phases")), 1),
|
|
1930
|
+
T(d(me), {
|
|
1942
1931
|
id: "phases",
|
|
1943
|
-
modelValue:
|
|
1944
|
-
"onUpdate:modelValue":
|
|
1945
|
-
disabled:
|
|
1932
|
+
modelValue: d(i),
|
|
1933
|
+
"onUpdate:modelValue": l[0] || (l[0] = (c) => le(i) ? i.value = c : null),
|
|
1934
|
+
disabled: d(i) === null
|
|
1946
1935
|
}, {
|
|
1947
|
-
default:
|
|
1948
|
-
|
|
1949
|
-
(
|
|
1950
|
-
key:
|
|
1951
|
-
value:
|
|
1952
|
-
},
|
|
1936
|
+
default: E(() => [
|
|
1937
|
+
d(i) === null ? (h(), _("option", yi, x(d(o)("selection.noPhases")), 1)) : M("", !0),
|
|
1938
|
+
(h(!0), _(G, null, Q(t.phases, (c) => (h(), _("option", {
|
|
1939
|
+
key: c.phaseId,
|
|
1940
|
+
value: c.phaseId
|
|
1941
|
+
}, x(c.phaseName), 9, wi))), 128))
|
|
1953
1942
|
]),
|
|
1954
1943
|
_: 1
|
|
1955
1944
|
}, 8, ["modelValue", "disabled"])
|
|
1956
1945
|
]),
|
|
1957
|
-
t.isReportsVisible ? (
|
|
1958
|
-
|
|
1959
|
-
|
|
1960
|
-
class: E(s(l))
|
|
1961
|
-
}, y(s(a)("selection.report")), 3),
|
|
1962
|
-
$(s(pe), {
|
|
1946
|
+
t.isReportsVisible ? (h(), _("div", xi, [
|
|
1947
|
+
u("label", _i, x(d(o)("selection.report")), 1),
|
|
1948
|
+
T(d(me), {
|
|
1963
1949
|
id: "report",
|
|
1964
|
-
modelValue:
|
|
1965
|
-
"onUpdate:modelValue":
|
|
1950
|
+
modelValue: d(n),
|
|
1951
|
+
"onUpdate:modelValue": l[1] || (l[1] = (c) => le(n) ? n.value = c : null)
|
|
1966
1952
|
}, {
|
|
1967
|
-
default:
|
|
1968
|
-
(
|
|
1969
|
-
key:
|
|
1970
|
-
value:
|
|
1971
|
-
},
|
|
1953
|
+
default: E(() => [
|
|
1954
|
+
(h(!0), _(G, null, Q(t.reports, ({ value: c, name: g }) => (h(), _("option", {
|
|
1955
|
+
key: c,
|
|
1956
|
+
value: c
|
|
1957
|
+
}, x(g), 9, ki))), 128))
|
|
1972
1958
|
]),
|
|
1973
1959
|
_: 1
|
|
1974
1960
|
}, 8, ["modelValue"])
|
|
1975
1961
|
])) : M("", !0)
|
|
1976
1962
|
]));
|
|
1977
1963
|
}
|
|
1978
|
-
}, Je = "h1,h2,h3,ul,li,p,dl,dt,dd{margin:0;padding:0}button{font-family:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0;border-width:0;-webkit-appearance:button;background-color:transparent;background-image:none;cursor:pointer}ol,ul{list-style:none}:root,:host{font-family:Roboto Condensed,Avenir,Helvetica,Arial,sans-serif;--vbr-widget-primary-color-0: #ffffff;--vbr-widget-primary-color-50: #eceff1;--vbr-widget-primary-color-100: #cfd8dc;--vbr-widget-primary-color-200: #b0bec5;--vbr-widget-primary-color-300: #90a4ae;--vbr-widget-primary-color-400: #78909c;--vbr-widget-primary-color-500: #607d8b;--vbr-widget-primary-color-600: #546e7a;--vbr-widget-primary-color-700: #455a64;--vbr-widget-primary-color-800: #37474f;--vbr-widget-primary-color-900: #263238;--vbr-widget-secondary-color-100: #dcedc8;--vbr-widget-secondary-color-200: #badb94;--vbr-widget-secondary-color-300: #aed581;--vbr-widget-secondary-color-400: #9ccc65;--vbr-widget-secondary-color-500: #8bc34a;--vbr-widget-secondary-color-700: #689f38;--vbr-widget-secondary-color-800: #558b2f;--vbr-widget-secondary-color-900: #33691e;--vbr-widget-danger-color-50: #ffebee;--vbr-widget-danger-color-100: #ffcdd2;--vbr-widget-danger-color-200: #ef9a9a;--vbr-widget-danger-color-300: #e57373;--vbr-widget-danger-color-400: #ef5350;--vbr-widget-danger-color-500: #f44336;--vbr-widget-danger-color-700: #d32f2f;--vbr-widget-danger-color-900: #b71c1c;--vbr-widget-danger-color-a400: #ff1744;--vbr-widget-live-game-color: #8bc34a;--vbr-widget-neutral-color: #ffc107;--vbr-widget-typography-font-size-50: .6275rem;--vbr-widget-typography-font-size-100: .6875rem;--vbr-widget-typography-font-size-200: .75rem;--vbr-widget-typography-font-size-300: .8125rem;--vbr-widget-typography-font-size-400: .875rem;--vbr-widget-typography-font-size-500: 1rem;--vbr-widget-typography-font-size-600: 1.125rem;--vbr-widget-typography-font-size-700: 1.25rem;--vbr-widget-typography-font-size-800: 1.5rem;--vbr-widget-typography-font-size-900: 1.75rem;--vbr-widget-typography-font-size-950: 2rem;--vbr-widget-typography-font-lineheight-50: calc(var(--vbr-widget-typography-font-size-50) * 1.628);--vbr-widget-typography-font-lineheight-100: calc(var(--vbr-widget-typography-font-size-100) * 1.628);--vbr-widget-typography-font-lineheight-200: calc(var(--vbr-widget-typography-font-size-200) * 1.628);--vbr-widget-typography-font-lineheight-300: calc(var(--vbr-widget-typography-font-size-300) * 1.628);--vbr-widget-typography-font-lineheight-400: calc(var(--vbr-widget-typography-font-size-400) * 1.628);--vbr-widget-typography-font-lineheight-500: calc(var(--vbr-widget-typography-font-size-500) * 1.628);--vbr-widget-typography-font-lineheight-600: calc(var(--vbr-widget-typography-font-size-600) * 1.628);--vbr-widget-typography-font-lineheight-700: calc(var(--vbr-widget-typography-font-size-700) * 1.628);--vbr-widget-typography-font-lineheight-800: calc(var(--vbr-widget-typography-font-size-800) * 1.628);--vbr-widget-typography-font-lineheight-900: calc(var(--vbr-widget-typography-font-size-900) * 1.628);--vbr-widget-typography-font-lineheight-950: calc(var(--vbr-widget-typography-font-size-950) * 1.628);--vbr-widget-typography-heading-weight: 500;--vbr-widget-typography-heading-1-size: var(--vbr-widget-typography-font-size-800);--vbr-widget-typography-heading-2-size: var(--vbr-widget-typography-font-size-700);--vbr-widget-typography-heading-3-size: var(--vbr-widget-typography-font-size-600);--vbr-widget-typography-heading-4-size: var(--vbr-widget-typography-font-size-500);--vbr-widget-typography-heading-5-size: var(--vbr-widget-typography-font-size-400);--vbr-widget-typography-heading-6-size: var(--vbr-widget-typography-font-size-200);--vbr-widget-table-header-font-size: var(--vbr-widget-typography-font-size-200);--vbr-widget-table-default-column-width: 30px;--vbr-widget-table-default-bg-color: var(--vbr-widget-primary-color-0);--vbr-widget-table-color: var(--vbr-widget-primary-color-800);--vbr-widget-table-neutral-color: var(--vbr-widget-primary-color-300);--vbr-widget-table-header-bg-color: var(--vbr-widget-primary-color-800);--vbr-widget-table-header-hover-bg-color: var(--vbr-widget-primary-color-700);--vbr-widget-table-header-color: var(--vbr-widget-primary-color-200);--vbr-widget-table-table-header-active-bg-color: var(--vbr-widget-primary-color-700);--vbr-widget-table-header-active-color: var(--vbr-widget-primary-color-0);--vbr-widget-table-hover-color: var(--vbr-widget-secondary-color-900);--vbr-widget-table-hover-bg-color: var(--vbr-widget-secondary-color-100);--vbr-widget-table-active-color: var(--vbr-widget-secondary-color-900);--vbr-widget-table-active-bg-color: var(--vbr-widget-secondary-color-200);--vbr-widget-table-active-even-bg-color: var(--vbr-widget-secondary-color-300);--vbr-widget-table-active-hover-color: var(--vbr-widget-secondary-color-900);--vbr-widget-table-active-hover-bg-color: var(--vbr-widget-secondary-color-400);--vbr-widget-table-portrait-border-color: var(--vbr-widget-primary-color-100);--vbr-widget-table-portrait-bg-color: var(--vbr-widget-primary-color-50);--vbr-widget-table-cell-light-color: var(--vbr-widget-primary-color-600);--vbr-widget-table-cell-dark-color: var(--vbr-widget-primary-color-900);--vbr-widget-table-stripped-bg-color: #f8f9fa;--vbr-widget-table-label-color: var(--vbr-widget-primary-color-500);--vbr-widget-table-label-bg-color: var(--vbr-widget-primary-color-50);--vbr-widget-table-cell-logo-size: 20px;--vbr-widget-table-cell-portrait-size: 26px;--vbr-widget-table-zero-color: var(--vbr-widget-primary-color-200);--vbr-widget-paginator-color: var(--vbr-widget-primary-color-500);--vbr-widget-paginator-bg-color: var(--vbr-widget-primary-color-0);--vbr-widget-paginator-hover-color: var(--vbr-widget-primary-color-700);--vbr-widget-paginator-hover-bg-color: var(--vbr-widget-primary-color-100);--vbr-widget-paginator-border-color: var(--vbr-widget-primary-color-100);--vbr-widget-paginator-active-color: var(--vbr-widget-primary-color-0);--vbr-widget-paginator-active-bg-color: var(--vbr-widget-primary-color-900);--vbr-widget-paginator-disabled-color: var(--vbr-widget-primary-color-200);--vbr-widget-tooltip-font-size: var(--vbr-widget-typography-font-size-200);--vbr-widget-tooltip-color: #ffffff;--vbr-widget-tooltip-bg-color: #000000;--vbr-widget-popover-trigger-hover-bg-color: var(--vbr-widget-secondary-color-200);--vbr-widget-popover-trigger-focus-bg-color: var(--vbr-widget-secondary-color-300);--vbr-widget-popover-bg-color: var(--vbr-widget-primary-color-0);--vbr-widget-dropdown-item-color: var(--vbr-widget-primary-color-500);--vbr-widget-dropdown-item-hover-color: var(--vbr-widget-primary-color-800);--vbr-widget-dropdown-item-hover-bg-color: var(--vbr-widget-primary-color-50);--vbr-widget-error-notice-bg-color: var(--vbr-widget-danger-color-50);--vbr-widget-error-notice-border-color: var(--vbr-widget-danger-color-100);--vbr-widget-error-notice-color: var(--vbr-widget-danger-color-700);--vbr-widget-link-color: var(--vbr-widget-secondary-color-700);--vbr-widget-hover-color: var(--vbr-widget-secondary-color-900);--vbr-widget-base-input-color: var(--vbr-widget-primary-color-800);--vbr-widget-base-input-font-size: var(--vbr-widget-typography-font-size-400);--vbr-widget-base-input-border-color: var(--vbr-widget-primary-color-300);--vbr-widget-base-input-border-radius: 3px;--vbr-widget-form-label-color: var(--vbr-widget-primary-color-500);--vbr-widget-form-label-font-size: var(--vbr-widget-typography-font-size-200);--vbr-widget-timezone-selector-color: var(--vbr-widget-primary-color-500);--vbr-widget-timezone-selector-font-size: var(--vbr-widget-typography-font-size-400);--vbr-widget-badge-bg-color: var(--vbr-widget-primary-color-50);--vbr-widget-badge-color: var(--vbr-widget-primary-color-400);--vbr-widget-badge-font-size: var(--vbr-widget-typography-font-size-50);--vbr-widget-badge-large-font-size: var(--vbr-widget-typography-font-size-100);--vbr-widget-badge-extra-large-font-size: var(--vbr-widget-typography-font-size-300);--vbr-widget-tab-btn-padding: .625rem 1rem;--vbr-widget-tab-btn-font-size: var(--vbr-widget-typography-font-size-500);--vbr-widget-tab-btn-font-weight: 500;--vbr-widget-tab-btn-bg-color: var(--vbr-widget-primary-color-0);--vbr-widget-tab-btn-color: var(--vbr-widget-primary-color-300);--vbr-widget-tab-btn-border-color: transparent;--vbr-widget-tab-btn-border-style: solid;--vbr-widget-tab-btn-border-width: 0 0 3px 0;--vbr-widget-tab-btn-text-transform: uppercase;--vbr-widget-tab-btn-hover-color: var(--vbr-widget-primary-color-500);--vbr-widget-tab-btn-hover-bg-color: var(--vbr-widget-primary-color-0);--vbr-widget-tab-btn-hover-border-color: transparent;--vbr-widget-tab-btn-active-bg-color: var(--vbr-widget-primary-color-0);--vbr-widget-tab-btn-active-color: var(--vbr-widget-primary-color-900);--vbr-widget-tab-btn-active-border-color: var(--vbr-widget-secondary-color-500);--vbr-widget-toggle-group-gap: .625rem;--vbr-widget-toggle-group-btn-padding: 3px 10px;--vbr-widget-toggle-group-btn-size: var(--vbr-widget-typography-font-size-400);--vbr-widget-toggle-group-btn-bg-color: var(--vbr-widget-primary-color-50);--vbr-widget-toggle-group-btn-active-color: var(--vbr-widget-primary-color-0);--vbr-widget-toggle-group-btn-active-bg-color: var(--vbr-widget-live-game-color);--vbr-widget-toggle-group-btn-radius: 4px;--vbr-widget-progress-height: 10px;--vbr-widget-progress-border-radius: 5px;--vbr-widget-progress-bg-color: var(--vbr-widget-primary-color-50);--vbr-widget-progress-bar-color: var(--vbr-widget-live-game-color);--vbr-widget-progress-bar-stripe-color: rgba(255, 255, 255, .2);--vbr-widget-progress-bar-stripe-angle: 45deg;--vbr-widget-gamecenter-result-size: 6rem;--vbr-widget-gamecenter-result-weight: 700;--vbr-widget-gamecenter-result-color: var(--vbr-widget-primary-color-800);--vbr-widget-gamecenter-teamname-size: var(--vbr-widget-typography-font-size-700);--vbr-widget-gamecenter-teamname-color: var(--vbr-widget-primary-color-800);--vbr-widget-gamecenter-teamname-weight: 700;--vbr-widget-gamecenter-title-color: var(--vbr-widget-primary-color-800);--vbr-widget-gamecenter-title-size: var(--vbr-widget-typography-font-size-500);--vbr-widget-gamecenter-title-weight: 700;--vbr-widget-gamecenter-gamedate-color: var(--vbr-widget-primary-color-500);--vbr-widget-gamecenter-gamedate-size: var(--vbr-widget-typography-font-size-500);--vbr-widget-gamecenter-local-gamedate-color: var(--vbr-widget-primary-color-500);--vbr-widget-gamecenter-local-gamedate-size: var(--vbr-widget-typography-font-size-300);--vbr-widget-gamecenter-gamestatus-color: var(--vbr-widget-primary-color-600);--vbr-widget-gamecenter-gamestatus-size: var(--vbr-widget-typography-font-size-400);--vbr-widget-gamecenter-periodresults-color: var(--vbr-widget-primary-color-600);--vbr-widget-gamecenter-periodresults-size: var(--vbr-widget-typography-font-size-700);--vbr-widget-gamecenter-period-header-bg-color: var(--vbr-widget-primary-color-800);--vbr-widget-gamecenter-period-header-color: var(--vbr-widget-primary-color-0);--vbr-widget-gamecenter-period-header-size: var(--vbr-widget-typography-font-size-300);--vbr-widget-gamecenter-period-header-weight: 500;--vbr-widget-gamecenter-stats-bg-color: var(--vbr-widget-primary-color-50);--vbr-widget-gamecenter-stats-border-color: var(--vbr-widget-primary-color-100);--vbr-widget-gamecenter-stats-title-size: var(--vbr-widget-typography-font-size-300);--vbr-widget-gamecenter-stats-title-color: var(--vbr-widget-primary-color-400);--vbr-widget-gamecenter-stats-size: var(--vbr-widget-typography-font-size-500);--vbr-widget-gamecenter-stats-color: var(--vbr-widget-primary-color-800);--vbr-widget-gamecenter-team-container-title-color: var(--vbr-widget-primary-color-800);--vbr-widget-gamecenter-team-container-title-bg-color: var(--vbr-widget-primary-color-100);--vbr-widget-gamecenter-team-container-border-color: var(--vbr-widget-primary-color-100);--vbr-widget-gamecenter-events-evented-person-size: var(--vbr-widget-typography-font-size-500);--vbr-widget-gamecenter-events-evented-person-weight: 600;--vbr-widget-gamecenter-events-assitst-list-size: var(--vbr-widget-typography-font-size-400);--vbr-widget-gamecenter-events-poi-list-size: var(--vbr-widget-typography-font-size-200);--vbr-widget-gamecenter-events-score-size: var(--vbr-widget-typography-font-size-500);--vbr-widget-gamecenter-events-penalty-size: var(--vbr-widget-typography-font-size-400);--vbr-widget-gamecenter-events-goalie-direction-size: var(--vbr-widget-typography-font-size-400);--vbr-widget-gamecenter-events-timeout-bg-color: #2870ed;--vbr-widget-gamecenter-card-title-color: var(--vbr-widget-primary-color-900);--vbr-widget-gamecenter-card-secondary-color: var(--vbr-widget-primary-color-500);--vbr-widget-gamecenter-card-tertiary-color: var(--vbr-widget-primary-color-300);--vbr-widget-gamecenter-card-border-color: var(--vbr-widget-primary-color-100);--vbr-widget-gamecenter-card-bg-color: var(--vbr-widget-primary-color-0);--vbr-widget-gamecenter-card-event-goal-border-color: var(--vbr-widget-primary-color-700);--vbr-widget-gamecenter-card-event-goal-bg-color: var(--vbr-widget-primary-color-700);--vbr-widget-gamecenter-home-team-identifier-color: #2870ed;--vbr-widget-gamecenter-away-team-identifier-color: #ff6129;--vbr-widget-gamecenter-home-team-identifier-border-color: transparent;--vbr-widget-gamecenter-away-team-identifier-border-color: transparent;--vbr-widget-main-image-wrapper-horizontal-margin: 0;--vbr-widget-sticky-top-offset: 0;--vbr-widget-games-timeline-game-date-size: var(--vbr-widget-typography-font-size-100);--vbr-widget-games-timeline-game-date-color: var(--vbr-widget-primary-color-500);--vbr-widget-games-timeline-game-team-color: var(--vbr-widget-primary-color-700);--vbr-widget-games-timeline-game-team-size: var(--vbr-widget-typography-font-size-300);--vbr-widget-games-timeline-game-status-color: var(--vbr-widget-primary-color-300);--vbr-widget-games-timeline-game-status-size: var(--vbr-widget-typography-font-size-200);--vbr-widget-games-timeline-game-hover-bg-color: linear-gradient(#fff, #f5f6f7 50%, #fff);--vbr-widget-games-timeline-arrow-color: var(--vbr-widget-primary-color-300);--vbr-widget-games-timeline-arrow-hover-color: var(--vbr-widget-primary-color-500);--vbr-widget-games-timeline-arrow-disabled-color: var(--vbr-widget-primary-color-100);--vbr-widget-games-timeline-arrow-border-color: var(--vbr-widget-primary-color-100);--vbr-widget-games-timeline-external-link-color: var(--vbr-widget-primary-color-500);--vbr-widget-games-timeline-external-link-size: var(--vbr-widget-typography-font-size-200)}html,body{-webkit-font-smoothing:antialiased}.transition-fade-enter-active,.transition-fade-leave-active{transition:all .25s ease}.transition-fade-enter-from,.transition-fade-leave-to{opacity:0;transform:translateY(5px)}.transition-event-move,.transition-event-enter-active,.transition-event-leave-active{transition:all .25s ease}.transition-event-enter-from,.transition-event-leave-to{opacity:0}img{opacity:0;transition:opacity .5s ease-out}img.is-loaded{opacity:1}a{color:var(--vbr-widget-link-color);text-decoration:none}a:hover{color:var(--vbr-widget-hover-color)}.floating-content.is-tooltip{background-color:var(--vbr-widget-tooltip-bg-color);color:var(--vbr-widget-tooltip-color);font-weight:700;padding:5px 10px;border-radius:4px;font-size:var(--vbr-widget-tooltip-font-size);white-space:nowrap;pointer-events:none}.floating-content.is-tooltip .is-arrow{background-color:var(--vbr-widget-tooltip-bg-color)}.floating-content.is-content{border-radius:4px;box-shadow:2px 14px 23px #00000040}.floating-content.is-content .is-arrow{background-color:var(--vbr-widget-primary-color-50)}.floating-content .is-arrow{position:absolute;width:8px;height:8px;transform:rotate(45deg)}[data-placement^=top] .floating-content .is-arrow{bottom:-4px}[data-placement^=bottom] .floating-content .is-arrow{top:-4px}[data-placement^=left] .floating-content .is-arrow{right:-4px}[data-placement^=right] .floating-content .is-arrow{left:-4px}.mjsz-vbr-error-notice{display:flex;align-items:center;justify-items:flex-start;margin:10px 0;padding:10px 20px;background-color:var(--vbr-widget-error-notice-bg-color);color:var(--vbr-widget-error-notice-color);border:1px solid var(--vbr-widget-error-notice-border-color)}.mjsz-vbr-error-notice .icon{margin-right:15px}.mjsz-vbr-timezone-selector{padding:3px 0;color:var(--vbr-widget-timezone-selector-color);font-size:var(--vbr-widget-timezone-selector-font-size);font-weight:500}.mjsz-vbr-timezone-selector .is-active{font-weight:700}.is-badge{display:inline-block;padding:.125em .25em;color:var(--vbr-widget-badge-color);font-size:var(--vbr-widget-badge-font-size);font-weight:700;text-transform:uppercase;background-color:var(--vbr-widget-badge-bg-color);border-radius:3px}.is-badge+.is-badge{margin-inline-start:3px}.is-badge.is-invert{color:var(--vbr-widget-badge-bg-color);background-color:var(--vbr-widget-badge-color)}.is-badge.is-green{color:var(--vbr-widget-primary-color-0);background-color:var(--vbr-widget-live-game-color)}.is-badge.is-red{color:var(--vbr-widget-primary-color-0);background-color:var(--vbr-widget-danger-color-a400)}.is-badge.is-yellow{color:var(--vbr-widget-primary-color-0);background-color:var(--vbr-widget-neutral-color)}.is-badge.is-dark{color:var(--vbr-widget-primary-color-0);background-color:var(--vbr-widget-primary-color-700)}.is-badge.is-large{font-size:var(--vbr-widget-badge-large-font-size);padding:.15em .35em}.is-badge.is-extra-large{font-size:var(--vbr-widget-badge-extra-large-font-size);padding:.2695em .5165em}", zt = ".is-text-right{text-align:right}.is-text-center{text-align:center}.is-text-bold{font-weight:700}.is-text-italic{font-style:italic}.is-text-xs{font-size:var(--vbr-widget-typography-font-size-200);line-height:var(--vbr-widget-typography-font-lineheight-200)}.is-text-sm{font-size:var(--vbr-widget-typography-font-size-400);line-height:var(--vbr-widget-typography-font-lineheight-200)}.is-text-base{font-size:var(--vbr-widget-typography-font-size-500);line-height:var(--vbr-widget-typography-font-lineheight-500)}.is-text-lg{font-size:var(--vbr-widget-typography-font-size-600);line-height:var(--vbr-widget-typography-font-lineheight-600)}.is-text-xl{font-size:var(--vbr-widget-typography-font-size-700);line-height:var(--vbr-widget-typography-font-lineheight-700)}.is-text-4xl{font-size:var(--vbr-widget-typography-font-size-950);line-height:var(--vbr-widget-typography-font-lineheight-950)}.is-uppercase{text-transform:uppercase}.is-opacity-20{opacity:.2}.is-opacity-30{opacity:.3}.is-opacity-40{opacity:.4}.is-opacity-50{opacity:.5}.is-mt-5{margin-top:1rem}.is-mb-5{margin-bottom:1rem}.is-whitespace-nowrap{white-space:nowrap}.is-heading-1{font-size:var(--vbr-widget-typography-heading-1-size);line-height:var(--vbr-widget-typography-font-lineheight-700);margin-block-start:var(--vbr-widget-typography-font-size-700);margin-block-end:calc(var(--vbr-widget-typography-font-size-700) / 2);font-weight:var(--vbr-widget-typography-heading-weight)}.is-heading-2{font-size:var(--vbr-widget-typography-heading-2-size);line-height:var(--vbr-widget-typography-font-lineheight-600);font-weight:var(--vbr-widget-typography-heading-weight);margin-block-start:var(--vbr-widget-typography-font-size-600);margin-block-end:calc(var(--vbr-widget-typography-font-size-600) / 2)}.is-heading-3{font-size:var(--vbr-widget-typography-heading-3-size);line-height:var(--vbr-widget-typography-font-lineheight-500);font-weight:var(--vbr-widget-typography-heading-weight);margin-block-start:var(--vbr-widget-typography-font-size-500);margin-block-end:calc(var(--vbr-widget-typography-font-size-500) / 2)}.is-rounded{overflow:hidden;border-radius:100%}.is-rounded+.is-rounded{margin-left:3px}.is-rounded img{display:block}.is-w-5{width:16px}.is-w-7{width:24px}.is-w-10{width:32px}", gr = ".g-row{display:flex}.g-row-wrap{display:flex;flex-wrap:wrap}.g-col{flex:1 0 0%}.g-gap-normal{gap:16px}[class^=g-col-]{flex:0 0 auto}.g-col-6{width:50%}.g-col-5{width:41.66666667%}.g-col-3{width:25%}.g-col-auto{width:auto}.g-gap-normal{gap:20px}.g-grid{--columns: repeat(2, 1fr);--columns-tablet: repeat(4, 1fr);display:grid;grid-template-columns:var(--columns)}@media all and (min-width: 768px){.g-grid{grid-template-columns:var(--columns-tablet)}}", vr = ".mjsz-vbr-table-responsive{container-name:table-wrapper;container-type:inline-size;width:100%;overflow-x:auto}.mjsz-vbr-table-responsive table{width:100%}", mr = '.mjsz-vbr-table{border-collapse:collapse;border-spacing:0}.mjsz-vbr-table table,.mjsz-vbr-table caption,.mjsz-vbr-table tbody,.mjsz-vbr-table tfoot,.mjsz-vbr-table thead,.mjsz-vbr-table tr,.mjsz-vbr-table th,.mjsz-vbr-table td{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}.mjsz-vbr-table{color:var(--vbr-widget-table-color);background-color:var(--vbr-widget-table-default-bg-color)}.mjsz-vbr-table th{width:var(--vbr-widget-table-default-column-width);background-color:var(--vbr-widget-table-header-bg-color);font-size:var(--vbr-widget-table-header-font-size);font-weight:700;color:var(--vbr-widget-table-header-color);text-align:center}.mjsz-vbr-table th:focus-visible,.mjsz-vbr-table th:hover{background-color:var(--vbr-widget-table-header-hover-bg-color);outline:none}.mjsz-vbr-table th.is-sortable{position:relative;cursor:pointer}.mjsz-vbr-table th.is-sortable .icon-sort{opacity:.5}.mjsz-vbr-table th.is-active{background-color:var(--vbr-widget-table-table-header-active-bg-color);color:var(--vbr-widget-table-header-active-color)}.mjsz-vbr-table th.is-active .icon-sort{opacity:1}.mjsz-vbr-table th.is-asc,.mjsz-vbr-table th.is-desc{position:relative}.mjsz-vbr-table th.is-w-auto{width:auto}.mjsz-vbr-table th .is-icon-sort{width:11px;height:11px;margin-left:5px}.mjsz-vbr-table td{text-align:center}.mjsz-vbr-table td.is-active{font-weight:700;color:var(--vbr-widget-table-active-color);background-color:var(--vbr-widget-table-active-bg-color)}.mjsz-vbr-table td.is-zero{color:var(--vbr-widget-table-zero-color)}.mjsz-vbr-table td.is-possible-empty:empty:before{content:"0";color:var(--vbr-widget-table-zero-color)}.mjsz-vbr-table td .is-text-light,.mjsz-vbr-table td.is-text-light{color:var(--vbr-widget-table-cell-light-color)}.mjsz-vbr-table td .is-text-dark,.mjsz-vbr-table td.is-text-dark{color:var(--vbr-widget-table-cell-dark-color)}.mjsz-vbr-table td .is-logo-image{display:inline-block;vertical-align:middle;width:var(--vbr-widget-table-cell-logo-size);height:var(--vbr-widget-table-cell-logo-size)}.mjsz-vbr-table td .is-portrait-image{display:inline-block;vertical-align:middle;width:var(--vbr-widget-table-cell-portrait-size);height:var(--vbr-widget-table-cell-portrait-size);object-fit:cover;object-position:top;overflow:hidden;border-radius:100%;border:1px solid var(--vbr-widget-primary-color-100)}.mjsz-vbr-table td .is-portrait-image img{width:var(--vbr-widget-table-cell-portrait-size);height:auto}.mjsz-vbr-table td.is-text-bold{font-weight:700}.mjsz-vbr-table td.is-text-italic{font-style:italic}.mjsz-vbr-table td.is-text-xl{font-size:var(--vbr-widget-typography-font-size-700)}.mjsz-vbr-table td .is-text-accent{color:var(--vbr-widget-secondary-color-500)}.mjsz-vbr-table td.is-w-auto{width:auto}.mjsz-vbr-table td.is-horizontal-content{display:inline-flex;align-items:center}.mjsz-vbr-table td.is-text-positive,.mjsz-vbr-table td .is-text-positive{color:var(--vbr-widget-live-game-color)}.mjsz-vbr-table td.is-text-negative,.mjsz-vbr-table td .is-text-negative{color:var(--vbr-widget-danger-color-a400)}.mjsz-vbr-table td svg{width:16px;height:16px}.mjsz-vbr-table td button{padding:3px;line-height:0;border:none;outline:none;background-color:transparent}.mjsz-vbr-table td button:hover{background-color:var(--vbr-widget-popover-trigger-hover-bg-color)}.mjsz-vbr-table td button:active,.mjsz-vbr-table td button:focus{background-color:var(--vbr-widget-popover-trigger-focus-bg-color)}.mjsz-vbr-table td a{text-decoration:none}.mjsz-vbr-table td .label{padding:3px 6px;font-size:var(--vbr-widget-typography-font-size-100);font-weight:700;color:var(--vbr-widget-table-label-color);background-color:var(--vbr-widget-table-label-bg-color);border-radius:2px}.mjsz-vbr-table td .label:not(:last-of-type){margin-right:3px}.mjsz-vbr-table td a{color:var(--vbr-widget-link-color)}.mjsz-vbr-table td a:hover{color:var(--vbr-widget-hover-color)}.mjsz-vbr-table td .is-team-name-long{display:block}.mjsz-vbr-table td .is-team-name-short{display:none}@container table-wrapper (max-width: 768px){.mjsz-vbr-table td .is-team-name-long{display:none}.mjsz-vbr-table td .is-team-name-short{display:block}}.mjsz-vbr-table th,.mjsz-vbr-table td{padding:8px;white-space:nowrap;vertical-align:middle}.mjsz-vbr-table th.is-text-left,.mjsz-vbr-table td.is-text-left{text-align:left}.mjsz-vbr-table th.is-text-right,.mjsz-vbr-table td.is-text-right{text-align:right}.mjsz-vbr-table th.is-has-image,.mjsz-vbr-table td.is-has-image{padding:0 2px}.mjsz-vbr-table th .is-duplicated,.mjsz-vbr-table td .is-duplicated{color:var(--vbr-widget-table-neutral-color)}.mjsz-vbr-table tr.is-highlighted{color:var(--vbr-widget-danger-color-a400)}.mjsz-vbr-table tr.is-optional{opacity:.5}.mjsz-vbr-table tr:nth-child(2n){background-color:var(--vbr-widget-table-stripped-bg-color)}.mjsz-vbr-table tr:nth-child(2n) td.is-active{background-color:var(--vbr-widget-table-active-even-bg-color)}.mjsz-vbr-table tr:focus-within,.mjsz-vbr-table tr:hover{color:var(--vbr-widget-table-hover-color);background-color:var(--vbr-widget-table-hover-bg-color)}.mjsz-vbr-table tr:focus-within td.is-active,.mjsz-vbr-table tr:hover td.is-active{color:var(--vbr-widget-table-active-hover-color);background-color:var(--vbr-widget-table-active-hover-bg-color)}', pr = ".is-dropdown-menu{padding:8px 0;margin:0;min-width:160px;color:#000;list-style:none;background:var(--vbr-widget-popover-bg-color);border-radius:3px;box-shadow:0 5px 30px rgba(black,.3)}.is-dropdown-menu .is-dropdown-item{display:flex;align-items:center;padding:.25rem 1rem;font-family:var(--vbr-widget-font-family);line-height:24px;color:var(--vbr-widget-dropdown-item-color);text-align:inherit;text-decoration:none;white-space:nowrap;background-color:transparent;border:0}.is-dropdown-menu .is-dropdown-item:hover{color:var(--vbr-widget-dropdown-item-hover-color);background-color:var(--vbr-widget-dropdown-item-hover-bg-color)}.is-dropdown-menu .is-dropdown-item svg{margin-right:8px}", _i = ".is-card{container-name:card-row;container-type:inline-size;background-color:#fff;padding:15px;margin-bottom:20px;box-shadow:0 2px 4px #0000001a,0 2px 2px #0000001a}.is-card>div{border-bottom:1px solid var(--vbr-widget-primary-color-100)}.is-card>div:last-of-type{border:none}.is-sticky{position:sticky;top:var(--vbr-widget-sticky-top-offset);z-index:10}.is-blured-bg{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.mjsz-vbr-card-item{display:grid;grid-gap:1rem;grid-template-columns:2fr 1fr 2fr;padding:2rem 0;border-bottom:1px solid var(--vbr-widget-primary-color-100)}.mjsz-vbr-card-item.is-optional{opacity:.4;transition:opacity .3s ease-out}.mjsz-vbr-card-item.is-optional:hover{opacity:1}.mjsz-vbr-card-item svg{display:block}.mjsz-vbr-card-item .is-team-name-short{display:none}@container card-row (max-width: 640px){.mjsz-vbr-card-item .is-team-name-long{display:none}.mjsz-vbr-card-item .is-team-name-short{display:block}}.mjsz-vbr-card-item .is-info{grid-column:1/4;display:flex;justify-content:center;align-items:center;color:var(--vbr-widget-primary-color-500)}.mjsz-vbr-card-item .is-home-team{display:flex;gap:8px;align-items:center;justify-content:flex-end;font-weight:700}.mjsz-vbr-card-item .is-away-team{display:flex;gap:8px;align-items:center;justify-content:flex-start;font-weight:700}.mjsz-vbr-card-item .is-logo-image{width:40px}.mjsz-vbr-card-item .is-game-data{display:flex;flex-direction:column;align-items:center;justify-content:center}.mjsz-vbr-card-item .is-game-data a{display:flex;flex-direction:column;align-items:center;color:var(--vbr-widget-primary-color-900)}.mjsz-vbr-card-item .is-game-data a:hover{color:var(--vbr-widget-primary-color-600)}.mjsz-vbr-card-item .is-game-data.is-live,.mjsz-vbr-card-item .is-game-data.is-live a{color:var(--vbr-widget-live-game-color)}.mjsz-vbr-section-selector{margin:20px 0;border-bottom:1px solid var(--vbr-widget-primary-color-200)}.mjsz-vbr-main-image-wrapper{--overlay-size: 160px;--overlay-radius: 50%;display:grid;grid-template-columns:1fr var(--overlay-size) 1fr;grid-template-rows:1fr 1fr 1fr calc(var(--overlay-size) / 2) calc(var(--overlay-size) / 2);margin-left:var(--vbr-widget-main-image-wrapper-horizontal-margin);margin-right:var(--vbr-widget-main-image-wrapper-horizontal-margin)}.mjsz-vbr-main-image-wrapper:has(img.is-default){min-height:470px}.mjsz-vbr-main-image-wrapper .is-main-image{grid-column:1/4;grid-row:1/5;display:flex;justify-content:center;align-items:center;background-color:var(--vbr-widget-primary-color-50);box-shadow:0 2px 4px #0003}.mjsz-vbr-main-image-wrapper .is-main-image .is-default{filter:grayscale(1);opacity:.3;mix-blend-mode:multiply}.mjsz-vbr-main-image-wrapper .is-main-image img:not(.is-default){width:100%}.mjsz-vbr-main-image-wrapper .is-ovarlay-image{grid-row:4/-1;grid-column:2;justify-self:center;overflow:hidden;border-radius:var(--overlay-radius);z-index:1}.mjsz-vbr-main-image-wrapper .is-ovarlay-image img{width:100%;aspect-ratio:1}", Si = ".mjsz-vbr-paginator{display:flex;flex-direction:row;list-style-type:none;margin:10px 0;padding:0}.mjsz-vbr-paginator button,.mjsz-vbr-paginator div{display:flex;align-items:center;justify-content:center;padding:6px 12px;text-decoration:none;cursor:pointer;color:var(--vbr-widget-paginator-color);border:1px solid var(--vbr-widget-paginator-border-color);background-color:var(--vbr-widget-paginator-bg-color);margin-left:-1px}.mjsz-vbr-paginator button .icon,.mjsz-vbr-paginator div .icon{width:16px;height:16px;margin:0 -4px}.mjsz-vbr-paginator button:hover:not(.mjsz-vbr-paginator button.is-disabled,.mjsz-vbr-paginator button.is-active),.mjsz-vbr-paginator div:hover:not(.mjsz-vbr-paginator div.is-disabled,.mjsz-vbr-paginator div.is-active){color:var(--vbr-widget-paginator-hover-color);background-color:var(--vbr-widget-paginator-hover-bg-color)}.mjsz-vbr-paginator button:disabled,.mjsz-vbr-paginator button.is-disabled,.mjsz-vbr-paginator div:disabled,.mjsz-vbr-paginator div.is-disabled{color:var(--vbr-widget-paginator-disabled-color);background-color:var(--vbr-widget-paginator-bg-color);pointer-events:none;cursor:default}.mjsz-vbr-paginator button.is-active,.mjsz-vbr-paginator div.is-active{color:var(--vbr-widget-paginator-active-color);background-color:var(--vbr-widget-paginator-active-bg-color);border-color:var(--vbr-widget-paginator-active-bg-color);cursor:default}", Ii = ["onClick"], Ti = ["onClick"], $i = ["onClick"], Ci = ["onClick"], Ni = ["onClick"], Ai = {
|
|
1964
|
+
}, cr = ".g-row{display:flex}.g-row-wrap{display:flex;flex-wrap:wrap}.g-col{flex:1 0 0%}.g-gap-normal{gap:16px}[class^=g-col-]{flex:0 0 auto}.g-col-6{width:50%}.g-col-5{width:41.66666667%}.g-col-3{width:25%}.g-col-auto{width:auto}.g-gap-normal{gap:20px}.g-grid{--columns: repeat(2, 1fr);--columns-tablet: repeat(4, 1fr);display:grid;grid-template-columns:var(--columns)}@media all and (min-width: 768px){.g-grid{grid-template-columns:var(--columns-tablet)}}", dr = ".table-responsive{container-name:table-wrapper;container-type:inline-size;width:100%;overflow-x:auto}.table-responsive table{width:100%}", gr = '.table{border-collapse:collapse;border-spacing:0;color:var(--vbr-widget-table-color);background-color:var(--vbr-widget-table-default-bg-color)}.table table,.table caption,.table tbody,.table tfoot,.table thead,.table tr,.table th,.table td{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}.table th{width:var(--vbr-widget-table-default-column-width);background-color:var(--vbr-widget-table-header-bg-color);font-size:var(--vbr-widget-table-header-font-size);font-weight:700;color:var(--vbr-widget-table-header-color);text-align:center}.table th:focus-visible,.table th:hover{background-color:var(--vbr-widget-table-header-hover-bg-color);outline:none}.table th.is-sortable{position:relative;cursor:pointer}.table th.is-sortable .icon-sort{opacity:.5}.table th.is-active{background-color:var(--vbr-widget-table-table-header-active-bg-color);color:var(--vbr-widget-table-header-active-color)}.table th.is-active .icon-sort{opacity:1}.table th.is-asc,.table th.is-desc{position:relative}.table th.is-w-auto{width:auto}.table th .is-icon-sort{width:11px;height:11px;margin-left:5px}.table td{text-align:center}.table td.is-active{font-weight:700;color:var(--vbr-widget-table-active-color);background-color:var(--vbr-widget-table-active-bg-color)}.table td.is-zero{color:var(--vbr-widget-table-zero-color)}.table td.is-possible-empty:empty:before{content:"0";color:var(--vbr-widget-table-zero-color)}.table td .is-text-light,.table td.is-text-light{color:var(--vbr-widget-table-cell-light-color)}.table td .is-text-dark,.table td.is-text-dark{color:var(--vbr-widget-table-cell-dark-color)}.table td .is-logo-image{display:inline-block;vertical-align:middle;width:var(--vbr-widget-table-cell-logo-size);height:var(--vbr-widget-table-cell-logo-size)}.table td .is-portrait-image{display:inline-block;vertical-align:middle;width:var(--vbr-widget-table-cell-portrait-size);height:var(--vbr-widget-table-cell-portrait-size);object-fit:cover;object-position:top;overflow:hidden;border-radius:100%;border:1px solid var(--vbr-widget-primary-color-100)}.table td .is-portrait-image img{width:var(--vbr-widget-table-cell-portrait-size);height:auto}.table td.is-text-bold{font-weight:700}.table td.is-text-italic{font-style:italic}.table td.is-text-xl{font-size:var(--vbr-widget-typography-font-size-700)}.table td .is-text-accent{color:var(--vbr-widget-secondary-color-500)}.table td.is-w-auto{width:auto}.table td.is-horizontal-content{display:inline-flex;align-items:center}.table td.is-text-positive,.table td .is-text-positive{color:var(--vbr-widget-live-game-color)}.table td.is-text-negative,.table td .is-text-negative{color:var(--vbr-widget-danger-color-a400)}.table td svg{width:16px;height:16px}.table td button{padding:3px;line-height:0;border:none;outline:none;background-color:transparent}.table td button:hover{background-color:var(--vbr-widget-popover-trigger-hover-bg-color)}.table td button:active,.table td button:focus{background-color:var(--vbr-widget-popover-trigger-focus-bg-color)}.table td a{text-decoration:none}.table td .label{padding:3px 6px;font-size:var(--vbr-widget-typography-font-size-100);font-weight:700;color:var(--vbr-widget-table-label-color);background-color:var(--vbr-widget-table-label-bg-color);border-radius:2px}.table td .label:not(:last-of-type){margin-right:3px}.table td a{color:var(--vbr-widget-link-color)}.table td a:hover{color:var(--vbr-widget-hover-color)}.table td .is-team-name-long{display:block}.table td .is-team-name-short{display:none}@container table-wrapper (max-width: 768px){.table td .is-team-name-long{display:none}.table td .is-team-name-short{display:block}}.table th,.table td{padding:8px;white-space:nowrap;vertical-align:middle}.table th.is-text-left,.table td.is-text-left{text-align:left}.table th.is-text-right,.table td.is-text-right{text-align:right}.table th.is-has-image,.table td.is-has-image{padding:0 2px}.table th .is-duplicated,.table td .is-duplicated{color:var(--vbr-widget-table-neutral-color)}.table tr.is-highlighted{color:var(--vbr-widget-danger-color-a400)}.table tr.is-optional{opacity:.5}.table tr:nth-child(2n){background-color:var(--vbr-widget-table-stripped-bg-color)}.table tr:nth-child(2n) td.is-active{background-color:var(--vbr-widget-table-active-even-bg-color)}.table tr:focus-within,.table tr:hover{color:var(--vbr-widget-table-hover-color);background-color:var(--vbr-widget-table-hover-bg-color)}.table tr:focus-within td.is-active,.table tr:hover td.is-active{color:var(--vbr-widget-table-active-hover-color);background-color:var(--vbr-widget-table-active-hover-bg-color)}', ur = ".is-dropdown-menu{padding:8px 0;margin:0;min-width:160px;color:#000;list-style:none;background:var(--vbr-widget-popover-bg-color);border-radius:3px;box-shadow:0 5px 30px #0000004d}.is-dropdown-menu .is-dropdown-item{display:flex;align-items:center;padding:.25rem 1rem;font-family:var(--vbr-widget-font-family);line-height:24px;color:var(--vbr-widget-dropdown-item-color);text-align:inherit;text-decoration:none;white-space:nowrap;background-color:transparent;border:0}.is-dropdown-menu .is-dropdown-item:hover{color:var(--vbr-widget-dropdown-item-hover-color);background-color:var(--vbr-widget-dropdown-item-hover-bg-color)}.is-dropdown-menu .is-dropdown-item svg{margin-right:8px}", zi = ".is-card{container-name:card-row;container-type:inline-size;background-color:#fff;padding:15px;margin-bottom:20px;box-shadow:0 2px 4px #0000001a,0 2px 2px #0000001a}.is-card>div{border-bottom:1px solid var(--vbr-widget-primary-color-100)}.is-card>div:last-of-type{border:none}.is-sticky{position:sticky;top:var(--vbr-widget-sticky-top-offset);z-index:10}.is-blured-bg{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.card-item{display:grid;grid-gap:1rem;grid-template-columns:2fr 1fr 2fr;padding:2rem 0;border-bottom:1px solid var(--vbr-widget-primary-color-100)}.card-item.is-optional{opacity:.4;transition:opacity .3s ease-out}.card-item.is-optional:hover{opacity:1}.card-item svg{display:block}.card-item .is-team-name-short{display:none}@container card-row (max-width: 640px){.card-item .is-team-name-long{display:none}.card-item .is-team-name-short{display:block}}.card-item .is-info{grid-column:1/4;display:flex;justify-content:center;align-items:center;color:var(--vbr-widget-primary-color-500)}.card-item .is-home-team{display:flex;gap:8px;align-items:center;justify-content:flex-end;font-weight:700}.card-item .is-away-team{display:flex;gap:8px;align-items:center;justify-content:flex-start;font-weight:700}.card-item .is-logo-image{width:40px}.card-item .is-game-data{display:flex;flex-direction:column;align-items:center;justify-content:center}.card-item .is-game-data a{display:flex;flex-direction:column;align-items:center;color:var(--vbr-widget-primary-color-900)}.card-item .is-game-data a:hover{color:var(--vbr-widget-primary-color-600)}.card-item .is-game-data.is-live,.card-item .is-game-data.is-live a{color:var(--vbr-widget-live-game-color)}.section-selector{margin:20px 0;border-bottom:1px solid var(--vbr-widget-primary-color-200)}.main-image-wrapper{--overlay-size: 160px;--overlay-radius: 50%;display:grid;grid-template-columns:1fr var(--overlay-size) 1fr;grid-template-rows:1fr 1fr 1fr calc(var(--overlay-size) / 2) calc(var(--overlay-size) / 2);margin-left:var(--vbr-widget-main-image-wrapper-horizontal-margin);margin-right:var(--vbr-widget-main-image-wrapper-horizontal-margin)}.main-image-wrapper:has(img.is-default){min-height:470px}.main-image-wrapper .is-main-image{grid-column:1/4;grid-row:1/5;display:flex;justify-content:center;align-items:center;background-color:var(--vbr-widget-primary-color-50);box-shadow:0 2px 4px #0003}.main-image-wrapper .is-main-image .is-default{filter:grayscale(1);opacity:.3;mix-blend-mode:multiply}.main-image-wrapper .is-main-image img:not(.is-default){width:100%}.main-image-wrapper .is-ovarlay-image{grid-row:4/-1;grid-column:2;justify-self:center;overflow:hidden;border-radius:var(--overlay-radius);z-index:1}.main-image-wrapper .is-ovarlay-image img{width:100%;aspect-ratio:1}", Ii = ".paginator{display:flex;flex-direction:row;list-style-type:none;margin:10px 0;padding:0}.paginator button,.paginator div{display:flex;align-items:center;justify-content:center;padding:6px 12px;text-decoration:none;cursor:pointer;color:var(--vbr-widget-paginator-color);border:1px solid var(--vbr-widget-paginator-border-color);background-color:var(--vbr-widget-paginator-bg-color);margin-left:-1px}.paginator button .icon,.paginator div .icon{width:16px;height:16px;margin:0 -4px}.paginator button:hover:not(.paginator button.is-disabled,.paginator button.is-active,.paginator div.is-disabled,.paginator div.is-active),.paginator div:hover:not(.paginator button.is-disabled,.paginator button.is-active,.paginator div.is-disabled,.paginator div.is-active){color:var(--vbr-widget-paginator-hover-color);background-color:var(--vbr-widget-paginator-hover-bg-color)}.paginator button:disabled,.paginator button.is-disabled,.paginator div:disabled,.paginator div.is-disabled{color:var(--vbr-widget-paginator-disabled-color);background-color:var(--vbr-widget-paginator-bg-color);pointer-events:none;cursor:default}.paginator button.is-active,.paginator div.is-active{color:var(--vbr-widget-paginator-active-color);background-color:var(--vbr-widget-paginator-active-bg-color);border-color:var(--vbr-widget-paginator-active-bg-color);cursor:default}", $i = { class: "section-selector" }, Ti = ["onClick"], Ci = { class: "section-selector" }, Ni = ["onClick"], Ai = ["onClick"], Ei = ["onClick"], Di = ["onClick"], Li = {
|
|
1979
1965
|
__name: "Championship.ce",
|
|
1980
1966
|
props: {
|
|
1981
1967
|
locale: {
|
|
@@ -2004,125 +1990,121 @@ const bi = {
|
|
|
2004
1990
|
}
|
|
2005
1991
|
},
|
|
2006
1992
|
setup(t) {
|
|
2007
|
-
const e = t, r =
|
|
2008
|
-
return (
|
|
2009
|
-
|
|
1993
|
+
const e = t, r = O(null), a = O(Ue()), o = A(() => Ye(/* @__PURE__ */ new Date(), d(a), e.locale)), i = { en: ke, hu: Se }, n = (l) => ut(e.externalGameResolver, l), s = (l) => Br(e.externalTeamResolver, l);
|
|
1994
|
+
return (l, c) => (h(), _("div", null, [
|
|
1995
|
+
T(d(_e), {
|
|
2010
1996
|
locale: e.locale,
|
|
2011
|
-
messages:
|
|
1997
|
+
messages: i
|
|
2012
1998
|
}, {
|
|
2013
|
-
default:
|
|
2014
|
-
|
|
2015
|
-
default:
|
|
2016
|
-
|
|
1999
|
+
default: E(({ t: g }) => [
|
|
2000
|
+
T(d(Ge), null, {
|
|
2001
|
+
default: E(({ error: p, hasError: y }) => [
|
|
2002
|
+
y ? (h(), R(d(Re), {
|
|
2017
2003
|
key: 0,
|
|
2018
|
-
error:
|
|
2004
|
+
error: p
|
|
2019
2005
|
}, null, 8, ["error"])) : M("", !0),
|
|
2020
|
-
|
|
2006
|
+
T(ui, {
|
|
2021
2007
|
locale: t.locale,
|
|
2022
|
-
timezone:
|
|
2008
|
+
timezone: a.value,
|
|
2023
2009
|
"championship-name": t.championshipName,
|
|
2024
2010
|
limit: t.limit
|
|
2025
2011
|
}, {
|
|
2026
|
-
default:
|
|
2027
|
-
sort:
|
|
2028
|
-
page:
|
|
2029
|
-
games:
|
|
2030
|
-
phases:
|
|
2031
|
-
report:
|
|
2032
|
-
phaseId:
|
|
2033
|
-
columns:
|
|
2034
|
-
seasons:
|
|
2035
|
-
reports:
|
|
2036
|
-
isLoading:
|
|
2037
|
-
selectedPanel:
|
|
2038
|
-
championships:
|
|
2039
|
-
championshipId:
|
|
2040
|
-
selectedChampionshipId:
|
|
2041
|
-
onSort:
|
|
2042
|
-
changePanel:
|
|
2043
|
-
changePhase:
|
|
2044
|
-
changeSeason:
|
|
2045
|
-
onChangeReport:
|
|
2046
|
-
onPaginatorChange:
|
|
2047
|
-
changeChampionship:
|
|
2012
|
+
default: E(({
|
|
2013
|
+
sort: v,
|
|
2014
|
+
page: z,
|
|
2015
|
+
games: b,
|
|
2016
|
+
phases: $,
|
|
2017
|
+
report: w,
|
|
2018
|
+
phaseId: S,
|
|
2019
|
+
columns: f,
|
|
2020
|
+
seasons: m,
|
|
2021
|
+
reports: I,
|
|
2022
|
+
isLoading: N,
|
|
2023
|
+
selectedPanel: k,
|
|
2024
|
+
championships: P,
|
|
2025
|
+
championshipId: D,
|
|
2026
|
+
selectedChampionshipId: H,
|
|
2027
|
+
onSort: oe,
|
|
2028
|
+
changePanel: Z,
|
|
2029
|
+
changePhase: V,
|
|
2030
|
+
changeSeason: C,
|
|
2031
|
+
onChangeReport: j,
|
|
2032
|
+
onPaginatorChange: re,
|
|
2033
|
+
changeChampionship: B
|
|
2048
2034
|
}) => [
|
|
2049
|
-
|
|
2050
|
-
seasons:
|
|
2051
|
-
"championship-id":
|
|
2052
|
-
"onUpdate:championshipId":
|
|
2035
|
+
T(hi, {
|
|
2036
|
+
seasons: m,
|
|
2037
|
+
"championship-id": D,
|
|
2038
|
+
"onUpdate:championshipId": C
|
|
2053
2039
|
}, null, 8, ["seasons", "championship-id", "onUpdate:championshipId"]),
|
|
2054
|
-
|
|
2055
|
-
|
|
2056
|
-
|
|
2057
|
-
|
|
2058
|
-
|
|
2059
|
-
|
|
2060
|
-
|
|
2061
|
-
|
|
2062
|
-
|
|
2063
|
-
|
|
2064
|
-
|
|
2065
|
-
|
|
2066
|
-
reports:
|
|
2067
|
-
|
|
2068
|
-
"
|
|
2069
|
-
"onUpdate:phaseId": O,
|
|
2070
|
-
"onUpdate:report": q
|
|
2040
|
+
u("div", $i, [
|
|
2041
|
+
(h(!0), _(G, null, Q(P, (ee) => (h(), _("button", {
|
|
2042
|
+
key: ee.phaseId,
|
|
2043
|
+
class: F(["tab-button", { "is-active": ee.sectionId === H }]),
|
|
2044
|
+
onClick: (Xe) => B(ee.sectionId)
|
|
2045
|
+
}, x(ee.sectionName), 11, Ti))), 128))
|
|
2046
|
+
]),
|
|
2047
|
+
T(Si, {
|
|
2048
|
+
phases: $,
|
|
2049
|
+
"phase-id": S,
|
|
2050
|
+
reports: I,
|
|
2051
|
+
report: w,
|
|
2052
|
+
"is-reports-visible": k === d(ue) || k === d(Ne),
|
|
2053
|
+
"onUpdate:phaseId": V,
|
|
2054
|
+
"onUpdate:report": j
|
|
2071
2055
|
}, null, 8, ["phases", "phase-id", "reports", "report", "is-reports-visible", "onUpdate:phaseId", "onUpdate:report"]),
|
|
2072
|
-
|
|
2073
|
-
|
|
2074
|
-
|
|
2075
|
-
|
|
2076
|
-
|
|
2077
|
-
|
|
2078
|
-
|
|
2079
|
-
|
|
2080
|
-
|
|
2081
|
-
|
|
2082
|
-
|
|
2083
|
-
|
|
2084
|
-
|
|
2085
|
-
|
|
2086
|
-
|
|
2087
|
-
|
|
2088
|
-
|
|
2089
|
-
|
|
2090
|
-
|
|
2091
|
-
|
|
2092
|
-
|
|
2093
|
-
|
|
2094
|
-
|
|
2095
|
-
|
|
2096
|
-
"
|
|
2097
|
-
"
|
|
2098
|
-
"external-team-resolver": c,
|
|
2099
|
-
"external-game-resolver": d,
|
|
2056
|
+
u("div", Ci, [
|
|
2057
|
+
u("button", {
|
|
2058
|
+
class: F(["tab-button", { "is-active": k === d(be) }]),
|
|
2059
|
+
onClick: (ee) => Z(d(be))
|
|
2060
|
+
}, x(g("selection.schedule")), 11, Ni),
|
|
2061
|
+
u("button", {
|
|
2062
|
+
class: F(["tab-button", { "is-active": k === d(tt) }]),
|
|
2063
|
+
onClick: (ee) => Z(d(tt))
|
|
2064
|
+
}, x(g("selection.standings")), 11, Ai),
|
|
2065
|
+
u("button", {
|
|
2066
|
+
class: F(["tab-button", { "is-active": k === d(ue) }]),
|
|
2067
|
+
onClick: (ee) => Z(d(ue))
|
|
2068
|
+
}, x(g("selection.playerStats")), 11, Ei),
|
|
2069
|
+
u("button", {
|
|
2070
|
+
class: F(["tab-button", { "is-active": k === d(Ne) }]),
|
|
2071
|
+
onClick: (ee) => Z(d(Ne))
|
|
2072
|
+
}, x(g("selection.teamStats")), 11, Di)
|
|
2073
|
+
]),
|
|
2074
|
+
T(d(Lr), {
|
|
2075
|
+
columns: f,
|
|
2076
|
+
rows: b.rows,
|
|
2077
|
+
sort: v,
|
|
2078
|
+
"is-loading": N,
|
|
2079
|
+
"offset-name": o.value,
|
|
2080
|
+
"external-team-resolver": s,
|
|
2081
|
+
"external-game-resolver": n,
|
|
2100
2082
|
"append-to": r.value,
|
|
2101
|
-
"hide-columns":
|
|
2102
|
-
onSort:
|
|
2083
|
+
"hide-columns": k === d(be) ? "broadcast" : "",
|
|
2084
|
+
onSort: oe
|
|
2103
2085
|
}, null, 8, ["columns", "rows", "sort", "is-loading", "offset-name", "append-to", "hide-columns", "onSort"]),
|
|
2104
|
-
|
|
2086
|
+
k === d(ue) ? (h(), R(d(Pr), {
|
|
2105
2087
|
key: 0,
|
|
2106
|
-
page:
|
|
2088
|
+
page: z,
|
|
2107
2089
|
"items-per-page": e.limit,
|
|
2108
|
-
"total-items":
|
|
2090
|
+
"total-items": b.totalItems,
|
|
2109
2091
|
"range-length": 5,
|
|
2110
|
-
onChange:
|
|
2092
|
+
onChange: re
|
|
2111
2093
|
}, null, 8, ["page", "items-per-page", "total-items", "onChange"])) : M("", !0),
|
|
2112
|
-
|
|
2113
|
-
|
|
2114
|
-
rows:
|
|
2094
|
+
k === d(tt) ? (h(), _(G, { key: 1 }, [
|
|
2095
|
+
T(d(xt), {
|
|
2096
|
+
rows: b.rows,
|
|
2115
2097
|
"additional-key": "inheritedPoints"
|
|
2116
2098
|
}, null, 8, ["rows"]),
|
|
2117
|
-
|
|
2118
|
-
rows:
|
|
2099
|
+
T(d(xt), {
|
|
2100
|
+
rows: b.rows,
|
|
2119
2101
|
"additional-key": "penaltyPoints"
|
|
2120
2102
|
}, null, 8, ["rows"])
|
|
2121
2103
|
], 64)) : M("", !0)
|
|
2122
2104
|
]),
|
|
2123
2105
|
_: 2
|
|
2124
2106
|
}, 1032, ["locale", "timezone", "championship-name", "limit"]),
|
|
2125
|
-
|
|
2107
|
+
u("div", {
|
|
2126
2108
|
ref_key: "tooltipContainer",
|
|
2127
2109
|
ref: r
|
|
2128
2110
|
}, null, 512)
|
|
@@ -2134,7 +2116,7 @@ const bi = {
|
|
|
2134
2116
|
}, 8, ["locale"])
|
|
2135
2117
|
]));
|
|
2136
2118
|
}
|
|
2137
|
-
},
|
|
2119
|
+
}, Pi = /* @__PURE__ */ $e(Li, [["styles", [Ie, We, He, cr, dr, gr, ur, zi, Ii]]]), Mi = {
|
|
2138
2120
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2139
2121
|
viewBox: "0 0 24 24",
|
|
2140
2122
|
fill: "none",
|
|
@@ -2143,12 +2125,12 @@ const bi = {
|
|
|
2143
2125
|
"stroke-linecap": "round",
|
|
2144
2126
|
"stroke-linejoin": "round"
|
|
2145
2127
|
};
|
|
2146
|
-
function
|
|
2147
|
-
return
|
|
2148
|
-
|
|
2128
|
+
function ji(t, e) {
|
|
2129
|
+
return h(), _("svg", Mi, e[0] || (e[0] = [
|
|
2130
|
+
u("polyline", { points: "15 18 9 12 15 6" }, null, -1)
|
|
2149
2131
|
]));
|
|
2150
2132
|
}
|
|
2151
|
-
const
|
|
2133
|
+
const Oi = { render: ji }, Gi = {
|
|
2152
2134
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2153
2135
|
viewBox: "0 0 24 24",
|
|
2154
2136
|
fill: "none",
|
|
@@ -2157,15 +2139,15 @@ const Pi = { render: Li }, Mi = {
|
|
|
2157
2139
|
"stroke-linecap": "round",
|
|
2158
2140
|
"stroke-linejoin": "round"
|
|
2159
2141
|
};
|
|
2160
|
-
function
|
|
2161
|
-
return
|
|
2162
|
-
|
|
2142
|
+
function Ri(t, e) {
|
|
2143
|
+
return h(), _("svg", Gi, e[0] || (e[0] = [
|
|
2144
|
+
u("polyline", { points: "9 18 15 12 9 6" }, null, -1)
|
|
2163
2145
|
]));
|
|
2164
2146
|
}
|
|
2165
|
-
const
|
|
2166
|
-
function
|
|
2167
|
-
const { execute: e } =
|
|
2168
|
-
(r) =>
|
|
2147
|
+
const mr = { render: Ri }, pr = Symbol("CarouselContext");
|
|
2148
|
+
function Yi({ apiKey: t }) {
|
|
2149
|
+
const { execute: e } = Ya(
|
|
2150
|
+
(r) => Jr("/v2/game-data", t, r).then((a) => ({ ...a, ...r })),
|
|
2169
2151
|
{},
|
|
2170
2152
|
{
|
|
2171
2153
|
immediate: !1,
|
|
@@ -2176,20 +2158,20 @@ function Gi({ apiKey: t }) {
|
|
|
2176
2158
|
execute: e
|
|
2177
2159
|
};
|
|
2178
2160
|
}
|
|
2179
|
-
function
|
|
2180
|
-
const
|
|
2181
|
-
return t.reduce((i, n) => (
|
|
2161
|
+
function Ui(t, e, r) {
|
|
2162
|
+
const a = Vi(e, r);
|
|
2163
|
+
return t.reduce((i, n) => (a.has(n.id) ? i.push({ ...a.get(n.id), ...n }) : i.push(n), i), []);
|
|
2182
2164
|
}
|
|
2183
|
-
function
|
|
2165
|
+
function Vi(t, e) {
|
|
2184
2166
|
const r = /* @__PURE__ */ new Map();
|
|
2185
|
-
for (const
|
|
2186
|
-
r.set(
|
|
2167
|
+
for (const a of t)
|
|
2168
|
+
r.set(a[e], a);
|
|
2187
2169
|
return r;
|
|
2188
2170
|
}
|
|
2189
|
-
function
|
|
2171
|
+
function Yt(t) {
|
|
2190
2172
|
return !(t.includes("_int") || ["wu", "pre", "so", "end"].includes(t));
|
|
2191
2173
|
}
|
|
2192
|
-
const
|
|
2174
|
+
const Ki = { class: "games-timeline" }, Fi = ["disabled"], Bi = { ref: "container" }, qi = ["disabled"], Wi = {
|
|
2193
2175
|
__name: "Carousel",
|
|
2194
2176
|
props: {
|
|
2195
2177
|
initialIndex: {
|
|
@@ -2198,76 +2180,74 @@ const Ui = ["disabled"], Vi = { ref: "container" }, Ki = ["disabled"], Bi = {
|
|
|
2198
2180
|
}
|
|
2199
2181
|
},
|
|
2200
2182
|
setup(t) {
|
|
2201
|
-
const e = t, r =
|
|
2202
|
-
|
|
2203
|
-
register: (
|
|
2204
|
-
|
|
2183
|
+
const e = t, r = wr("container"), a = O(e.initialIndex), o = O([]);
|
|
2184
|
+
xr(pr, {
|
|
2185
|
+
register: (y) => {
|
|
2186
|
+
o.value.includes(y) || (o.value.push(y), o.value = qr(o.value, (v) => ge(r.value).querySelector(`#${v}`)));
|
|
2205
2187
|
},
|
|
2206
|
-
unregister: (
|
|
2207
|
-
const
|
|
2208
|
-
|
|
2188
|
+
unregister: (y) => {
|
|
2189
|
+
const v = o.value.indexOf(y);
|
|
2190
|
+
v !== -1 && o.value.splice(v, 1);
|
|
2209
2191
|
}
|
|
2210
2192
|
});
|
|
2211
|
-
const { arrivedState: n } =
|
|
2212
|
-
() =>
|
|
2193
|
+
const { arrivedState: n } = Va(r, { onStop: p }), s = A(
|
|
2194
|
+
() => ge(r).querySelector(`#${o.value[a.value]}`)
|
|
2213
2195
|
);
|
|
2214
|
-
|
|
2196
|
+
lt(() => g()), ie(
|
|
2215
2197
|
() => e.initialIndex,
|
|
2216
|
-
(
|
|
2217
|
-
|
|
2198
|
+
(y) => {
|
|
2199
|
+
a.value = y, fe(() => g());
|
|
2218
2200
|
}
|
|
2219
2201
|
);
|
|
2220
|
-
function
|
|
2221
|
-
n.left || (
|
|
2202
|
+
function l() {
|
|
2203
|
+
n.left || (a.value--, g({ behavior: "smooth" }));
|
|
2222
2204
|
}
|
|
2223
2205
|
function c() {
|
|
2224
|
-
n.right || (
|
|
2206
|
+
n.right || (a.value++, g({ behavior: "smooth" }));
|
|
2225
2207
|
}
|
|
2226
|
-
function g(
|
|
2227
|
-
var
|
|
2228
|
-
(
|
|
2208
|
+
function g(y) {
|
|
2209
|
+
var v;
|
|
2210
|
+
(v = s.value) == null || v.scrollIntoView({ inline: "start", block: "nearest", ...y });
|
|
2229
2211
|
}
|
|
2230
|
-
function
|
|
2231
|
-
var
|
|
2232
|
-
const
|
|
2233
|
-
(
|
|
2212
|
+
function p() {
|
|
2213
|
+
var z;
|
|
2214
|
+
const y = (z = ge(r).getBoundingClientRect()) == null ? void 0 : z.left, v = Array.from(ge(r).children).findIndex(
|
|
2215
|
+
(b) => Math.round(b.getBoundingClientRect().left - y) >= 0
|
|
2234
2216
|
);
|
|
2235
|
-
|
|
2217
|
+
a.value = v;
|
|
2236
2218
|
}
|
|
2237
|
-
return (
|
|
2238
|
-
|
|
2239
|
-
}, [
|
|
2240
|
-
m("button", {
|
|
2219
|
+
return (y, v) => (h(), _("div", Ki, [
|
|
2220
|
+
u("button", {
|
|
2241
2221
|
type: "button",
|
|
2242
|
-
disabled:
|
|
2243
|
-
onClick:
|
|
2222
|
+
disabled: d(n).left,
|
|
2223
|
+
onClick: l
|
|
2244
2224
|
}, [
|
|
2245
|
-
|
|
2246
|
-
], 8,
|
|
2247
|
-
|
|
2248
|
-
he(
|
|
2225
|
+
T(d(Oi))
|
|
2226
|
+
], 8, Fi),
|
|
2227
|
+
u("div", Bi, [
|
|
2228
|
+
he(y.$slots, "default")
|
|
2249
2229
|
], 512),
|
|
2250
|
-
|
|
2230
|
+
u("button", {
|
|
2251
2231
|
type: "button",
|
|
2252
|
-
disabled:
|
|
2232
|
+
disabled: d(n).right,
|
|
2253
2233
|
onClick: c
|
|
2254
2234
|
}, [
|
|
2255
|
-
|
|
2256
|
-
], 8,
|
|
2257
|
-
]
|
|
2235
|
+
T(d(mr))
|
|
2236
|
+
], 8, qi)
|
|
2237
|
+
]));
|
|
2258
2238
|
}
|
|
2259
|
-
},
|
|
2239
|
+
}, rt = {
|
|
2260
2240
|
__name: "CarouselItem",
|
|
2261
2241
|
setup(t) {
|
|
2262
|
-
const e = `mjsz-vbr-carousel-item-${
|
|
2263
|
-
return
|
|
2242
|
+
const e = `mjsz-vbr-carousel-item-${_r()}`, r = kr(pr, null);
|
|
2243
|
+
return lt(() => r == null ? void 0 : r.register(e)), Sr(() => r == null ? void 0 : r.unregister(e)), (a, o) => (h(), _("div", {
|
|
2264
2244
|
id: e,
|
|
2265
2245
|
class: "is-slide"
|
|
2266
2246
|
}, [
|
|
2267
|
-
he(
|
|
2247
|
+
he(a.$slots, "default")
|
|
2268
2248
|
]));
|
|
2269
2249
|
}
|
|
2270
|
-
},
|
|
2250
|
+
}, Hi = { class: "games-timeline-schedule-link" }, Ut = {
|
|
2271
2251
|
__name: "ExternalSchedule",
|
|
2272
2252
|
props: {
|
|
2273
2253
|
title: {
|
|
@@ -2281,23 +2261,21 @@ const Ui = ["disabled"], Vi = { ref: "container" }, Ki = ["disabled"], Bi = {
|
|
|
2281
2261
|
},
|
|
2282
2262
|
emits: ["navigateTo"],
|
|
2283
2263
|
setup(t, { emit: e }) {
|
|
2284
|
-
const r = t,
|
|
2285
|
-
function
|
|
2286
|
-
|
|
2264
|
+
const r = t, a = e;
|
|
2265
|
+
function o() {
|
|
2266
|
+
a("navigateTo", { url: r.externalScheduleUrl, target: "_self" });
|
|
2287
2267
|
}
|
|
2288
|
-
return (i, n) => (
|
|
2289
|
-
|
|
2290
|
-
}, [
|
|
2291
|
-
m("button", {
|
|
2268
|
+
return (i, n) => (h(), _("div", Hi, [
|
|
2269
|
+
u("button", {
|
|
2292
2270
|
type: "button",
|
|
2293
|
-
onClick:
|
|
2271
|
+
onClick: o
|
|
2294
2272
|
}, [
|
|
2295
|
-
|
|
2296
|
-
|
|
2273
|
+
ae(x(t.title), 1),
|
|
2274
|
+
T(d(mr))
|
|
2297
2275
|
])
|
|
2298
|
-
]
|
|
2276
|
+
]));
|
|
2299
2277
|
}
|
|
2300
|
-
},
|
|
2278
|
+
}, Xi = { class: "score-display" }, Ji = { class: "is-score" }, Vt = {
|
|
2301
2279
|
__name: "ScoreDisplay",
|
|
2302
2280
|
props: {
|
|
2303
2281
|
score: {
|
|
@@ -2306,26 +2284,24 @@ const Ui = ["disabled"], Vi = { ref: "container" }, Ki = ["disabled"], Bi = {
|
|
|
2306
2284
|
}
|
|
2307
2285
|
},
|
|
2308
2286
|
setup(t) {
|
|
2309
|
-
return (e, r) => (
|
|
2310
|
-
|
|
2311
|
-
|
|
2312
|
-
|
|
2313
|
-
|
|
2314
|
-
default: D(() => [
|
|
2315
|
-
(p(), x("span", { key: t.score }, y(t.score), 1))
|
|
2287
|
+
return (e, r) => (h(), _("div", Xi, [
|
|
2288
|
+
u("div", Ji, [
|
|
2289
|
+
T(zr, { name: "is-slide-transition" }, {
|
|
2290
|
+
default: E(() => [
|
|
2291
|
+
(h(), _("span", { key: t.score }, x(t.score), 1))
|
|
2316
2292
|
]),
|
|
2317
2293
|
_: 1
|
|
2318
2294
|
})
|
|
2319
2295
|
])
|
|
2320
|
-
]
|
|
2296
|
+
]));
|
|
2321
2297
|
}
|
|
2322
|
-
},
|
|
2298
|
+
}, Qi = {
|
|
2323
2299
|
key: 0,
|
|
2324
2300
|
class: "is-badge"
|
|
2325
|
-
},
|
|
2301
|
+
}, Zi = {
|
|
2326
2302
|
key: 1,
|
|
2327
2303
|
class: "is-badge"
|
|
2328
|
-
},
|
|
2304
|
+
}, en = { class: "is-home-team-logo" }, tn = { class: "is-home-team-name" }, rn = { class: "is-home-team-score" }, an = { class: "is-away-team-logo" }, on = { class: "is-away-team-name" }, nn = { class: "is-away-team-score" }, sn = { class: "is-status" }, ln = {
|
|
2329
2305
|
__name: "Game",
|
|
2330
2306
|
props: {
|
|
2331
2307
|
gameData: {
|
|
@@ -2339,68 +2315,68 @@ const Ui = ["disabled"], Vi = { ref: "container" }, Ki = ["disabled"], Bi = {
|
|
|
2339
2315
|
},
|
|
2340
2316
|
emits: ["navigateTo"],
|
|
2341
2317
|
setup(t, { emit: e }) {
|
|
2342
|
-
const r = t,
|
|
2343
|
-
const { gameStatus:
|
|
2344
|
-
return
|
|
2318
|
+
const r = t, a = e, { t: o } = se(), i = A(() => {
|
|
2319
|
+
const { gameStatus: s, championshipName: l, divisionName: c, period: g, periodTime: p } = r.gameData;
|
|
2320
|
+
return s !== 1 ? `${l} - ${c}` : g && Yt(g) ? `${o(`game.period.${g}`)} - ${p}` : g && !Yt(g) ? o(`game.period.${g}`) : "";
|
|
2345
2321
|
});
|
|
2346
2322
|
function n() {
|
|
2347
|
-
const { externalUrl:
|
|
2348
|
-
if (
|
|
2349
|
-
return
|
|
2350
|
-
const c =
|
|
2351
|
-
|
|
2352
|
-
}
|
|
2353
|
-
return (
|
|
2354
|
-
class:
|
|
2323
|
+
const { externalUrl: s, id: l } = r.gameData;
|
|
2324
|
+
if (s)
|
|
2325
|
+
return a("navigateTo", { url: s, target: "_blank" });
|
|
2326
|
+
const c = ut(r.externalGameResolver, { gameId: l });
|
|
2327
|
+
a("navigateTo", { url: c, target: "_self" });
|
|
2328
|
+
}
|
|
2329
|
+
return (s, l) => (h(), _("div", {
|
|
2330
|
+
class: "games-timeline-game",
|
|
2355
2331
|
onClick: n
|
|
2356
2332
|
}, [
|
|
2357
|
-
|
|
2358
|
-
|
|
2359
|
-
t.gameData.isShootout ? (
|
|
2360
|
-
t.gameData.isOvertime ? (
|
|
2333
|
+
u("time", null, [
|
|
2334
|
+
ae(x(t.gameData.gameDateTime) + " ", 1),
|
|
2335
|
+
t.gameData.isShootout ? (h(), _("span", Qi, x(d(o)("common.shootoutShort")), 1)) : M("", !0),
|
|
2336
|
+
t.gameData.isOvertime ? (h(), _("span", Zi, x(d(o)("common.overtimeShort")), 1)) : M("", !0)
|
|
2361
2337
|
]),
|
|
2362
|
-
|
|
2363
|
-
|
|
2338
|
+
u("div", en, [
|
|
2339
|
+
T(d(Ee), {
|
|
2364
2340
|
src: t.gameData.homeTeam.logo,
|
|
2365
2341
|
class: "is-team-logo"
|
|
2366
2342
|
}, null, 8, ["src"])
|
|
2367
2343
|
]),
|
|
2368
|
-
|
|
2369
|
-
|
|
2370
|
-
t.gameData.homeTeamScore != null ? (
|
|
2344
|
+
u("div", tn, x(t.gameData.homeTeam.longName), 1),
|
|
2345
|
+
u("div", rn, [
|
|
2346
|
+
t.gameData.homeTeamScore != null ? (h(), R(Vt, {
|
|
2371
2347
|
key: 0,
|
|
2372
|
-
class:
|
|
2348
|
+
class: F(["is-badge is-extra-large", [t.gameData.gameStatus === 1 ? "is-green" : "is-dark"]]),
|
|
2373
2349
|
score: t.gameData.homeTeamScore
|
|
2374
2350
|
}, {
|
|
2375
|
-
default:
|
|
2376
|
-
|
|
2351
|
+
default: E(() => [
|
|
2352
|
+
ae(x(t.gameData.homeTeamScore), 1)
|
|
2377
2353
|
]),
|
|
2378
2354
|
_: 1
|
|
2379
2355
|
}, 8, ["class", "score"])) : M("", !0)
|
|
2380
2356
|
]),
|
|
2381
|
-
|
|
2382
|
-
|
|
2357
|
+
u("div", an, [
|
|
2358
|
+
T(d(Ee), {
|
|
2383
2359
|
src: t.gameData.awayTeam.logo,
|
|
2384
2360
|
class: "is-team-logo"
|
|
2385
2361
|
}, null, 8, ["src"])
|
|
2386
2362
|
]),
|
|
2387
|
-
|
|
2388
|
-
|
|
2389
|
-
t.gameData.awayTeamScore != null ? (
|
|
2363
|
+
u("div", on, x(t.gameData.awayTeam.longName), 1),
|
|
2364
|
+
u("div", nn, [
|
|
2365
|
+
t.gameData.awayTeamScore != null ? (h(), R(Vt, {
|
|
2390
2366
|
key: 0,
|
|
2391
2367
|
score: t.gameData.awayTeamScore,
|
|
2392
|
-
class:
|
|
2368
|
+
class: F(["is-badge is-extra-large", [t.gameData.gameStatus === 1 ? "is-green" : "is-dark"]])
|
|
2393
2369
|
}, {
|
|
2394
|
-
default:
|
|
2395
|
-
|
|
2370
|
+
default: E(() => [
|
|
2371
|
+
ae(x(t.gameData.awayTeamScore), 1)
|
|
2396
2372
|
]),
|
|
2397
2373
|
_: 1
|
|
2398
2374
|
}, 8, ["score", "class"])) : M("", !0)
|
|
2399
2375
|
]),
|
|
2400
|
-
|
|
2401
|
-
]
|
|
2376
|
+
u("div", sn, x(i.value), 1)
|
|
2377
|
+
]));
|
|
2402
2378
|
}
|
|
2403
|
-
},
|
|
2379
|
+
}, cn = {
|
|
2404
2380
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2405
2381
|
viewBox: "0 0 24 24",
|
|
2406
2382
|
fill: "none",
|
|
@@ -2409,16 +2385,16 @@ const Ui = ["disabled"], Vi = { ref: "container" }, Ki = ["disabled"], Bi = {
|
|
|
2409
2385
|
"stroke-linecap": "round",
|
|
2410
2386
|
"stroke-linejoin": "round"
|
|
2411
2387
|
};
|
|
2412
|
-
function
|
|
2413
|
-
return
|
|
2414
|
-
|
|
2415
|
-
|
|
2388
|
+
function dn(t, e) {
|
|
2389
|
+
return h(), _("svg", cn, e[0] || (e[0] = [
|
|
2390
|
+
u("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),
|
|
2391
|
+
u("line", {
|
|
2416
2392
|
x1: "12",
|
|
2417
2393
|
y1: "9",
|
|
2418
2394
|
x2: "12",
|
|
2419
2395
|
y2: "13"
|
|
2420
2396
|
}, null, -1),
|
|
2421
|
-
|
|
2397
|
+
u("line", {
|
|
2422
2398
|
x1: "12",
|
|
2423
2399
|
y1: "17",
|
|
2424
2400
|
x2: "12.01",
|
|
@@ -2426,29 +2402,27 @@ function an(t, e) {
|
|
|
2426
2402
|
}, null, -1)
|
|
2427
2403
|
]));
|
|
2428
2404
|
}
|
|
2429
|
-
const
|
|
2405
|
+
const gn = { render: dn }, un = { class: "games-timeline-error-indicator" }, mn = {
|
|
2430
2406
|
__name: "TryAgain",
|
|
2431
2407
|
emits: ["tryAgain"],
|
|
2432
2408
|
setup(t, { emit: e }) {
|
|
2433
|
-
const r = e, { t:
|
|
2434
|
-
function
|
|
2409
|
+
const r = e, { t: a } = se();
|
|
2410
|
+
function o() {
|
|
2435
2411
|
r("tryAgain");
|
|
2436
2412
|
}
|
|
2437
|
-
return (i, n) => (
|
|
2438
|
-
|
|
2439
|
-
|
|
2440
|
-
|
|
2441
|
-
m("div", null, y(s(o)("gamesTimeline.errorText")), 1),
|
|
2442
|
-
m("button", {
|
|
2413
|
+
return (i, n) => (h(), _("div", un, [
|
|
2414
|
+
T(d(gn)),
|
|
2415
|
+
u("div", null, x(d(a)("gamesTimeline.errorText")), 1),
|
|
2416
|
+
u("button", {
|
|
2443
2417
|
type: "button",
|
|
2444
|
-
onClick:
|
|
2445
|
-
},
|
|
2446
|
-
]
|
|
2418
|
+
onClick: o
|
|
2419
|
+
}, x(d(a)("gamesTimeline.errorCta")), 1)
|
|
2420
|
+
]));
|
|
2447
2421
|
}
|
|
2448
|
-
},
|
|
2422
|
+
}, pn = '.games-timeline{display:grid;grid-template-columns:30px 1fr 30px;align-items:center;height:100%;container-type:inline-size;container-name:games-timeline}.games-timeline>div{display:flex;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;-ms-overflow-style:none;scrollbar-width:none}.games-timeline>div::-webkit-scrollbar{display:none}.games-timeline .is-slide{flex-shrink:0;flex-grow:0;flex-basis:100%;scroll-snap-align:start}@container games-timeline (width > 375px){.games-timeline .is-slide{flex-basis:50%}}@container games-timeline (width > 500px){.games-timeline .is-slide{flex-basis:33.3334%}}@container games-timeline (width > 700px){.games-timeline .is-slide{flex-basis:25%}}@container games-timeline (width > 880px){.games-timeline .is-slide{flex-basis:20%}}.games-timeline>button{position:relative;display:grid;place-content:center;height:100%}.games-timeline>button svg{display:block;height:22px;width:22px;color:var(--vbr-widget-games-timeline-arrow-color);transition:all .2s}.games-timeline>button:hover svg{color:var(--vbr-widget-games-timeline-arrow-hover-color)}.games-timeline>button:disabled{cursor:not-allowed}.games-timeline>button:disabled svg{color:var(--vbr-widget-games-timeline-arrow-disabled-color)}.games-timeline>button:before,.games-timeline>button:after{position:absolute;content:"";top:10px;height:90px;transition:opacity .2s}.games-timeline>button:first-of-type:after{right:0;border-right:1px solid var(--vbr-widget-games-timeline-arrow-border-color);box-shadow:1px 0 3px #0000001a}.games-timeline>button:last-of-type:before{left:0;border-left:1px solid var(--vbr-widget-games-timeline-arrow-border-color);box-shadow:-1px 0 3px #0000001a}.games-timeline>button:disabled:first-of-type:after,.games-timeline>button:disabled:last-of-type:before{opacity:0}.games-timeline-game{display:grid;grid-template-columns:20px 1fr 20px;grid-template-areas:"gamedate gamedate gamedate" "home-logo home-team home-score" "away-logo away-team away-score" "status status status";grid-template-rows:1fr 1fr 1fr 1fr;gap:5px;justify-items:center;align-items:center;padding:.625rem;line-height:1;cursor:pointer}.games-timeline-game:hover{background-image:var(--vbr-widget-games-timeline-game-hover-bg-color)}.games-timeline-game time{grid-area:gamedate;font-size:var(--vbr-widget-games-timeline-game-date-size);font-weight:700;color:var(--vbr-widget-games-timeline-game-date-color)}.games-timeline-game .is-home-team-logo{grid-area:home-logo}.games-timeline-game .is-away-team-logo{grid-area:away-logo}.games-timeline-game :is(.is-home-team-logo,.is-away-team-logo) .is-team-logo{display:block;width:20px;height:20px}.games-timeline-game :is(.is-home-team-name,.is-away-team-name){justify-self:start;font-size:var(--vbr-widget-games-timeline-game-team-size);font-weight:700;color:var(--vbr-widget-games-timeline-game-team-color);overflow:hidden;width:100%;text-overflow:ellipsis;white-space:nowrap}.games-timeline-game .is-home-team-name{grid-area:home-team}.games-timeline-game .is-away-team-name{grid-area:away-team}.games-timeline-game .is-home-team-score{grid-area:home-score}.games-timeline-game .is-away-team-score{grid-area:away-score}.games-timeline-game .is-status{grid-area:status;font-size:var(--vbr-widget-games-timeline-game-status-size);color:var(--vbr-widget-games-timeline-game-status-color);overflow:hidden;width:100%;text-overflow:ellipsis;white-space:nowrap;text-align:center}.games-timeline-schedule-link{display:grid;place-content:center;height:100%}.games-timeline-schedule-link:hover{background-image:var(--vbr-widget-games-timeline-game-hover-bg-color)}.games-timeline-schedule-link button{display:flex;align-items:center;font-size:var(--vbr-widget-games-timeline-external-link-size);font-weight:700;text-transform:uppercase;color:var(--vbr-widget-games-timeline-external-link-color)}.games-timeline-schedule-link button svg{display:inline-block;width:14px}.games-timeline-error-indicator{display:flex;gap:.5rem;align-items:center;place-content:center;width:100%;font-size:var(--vbr-widget-typography-font-size-400);font-weight:500;color:var(--vbr-widget-error-notice-color)}.games-timeline-error-indicator svg{display:block;width:20px}.games-timeline-error-indicator button{text-decoration:underline}.score-display{height:20px;padding:0 5px!important}.score-display .is-score{display:grid;grid-template-areas:"stack";justify-items:center;position:relative;overflow:hidden;-webkit-mask-image:linear-gradient(to bottom,transparent 0,black 30%,black 70%,transparent 100%);mask-image:linear-gradient(to bottom,transparent 0,black 30%,black 70%,transparent 100%)}.score-display .is-score>span{grid-area:stack;line-height:20px}.score-display .is-slide-transition-enter-active,.score-display .is-slide-transition-leave-active{transition:all .42s linear}.score-display .is-slide-transition-enter-from{transform:translateY(-100%)}.score-display .is-slide-transition-enter-to,.score-display .is-slide-transition-leave-from{transform:translateY(0)}.score-display .is-slide-transition-leave-to{transform:translateY(100%)}', vn = {
|
|
2449
2423
|
key: 0,
|
|
2450
2424
|
style: { width: "100%" }
|
|
2451
|
-
},
|
|
2425
|
+
}, hn = {
|
|
2452
2426
|
__name: "GamesTimeline.ce",
|
|
2453
2427
|
props: {
|
|
2454
2428
|
locale: {
|
|
@@ -2473,113 +2447,113 @@ const nn = { render: an }, sn = {
|
|
|
2473
2447
|
}
|
|
2474
2448
|
},
|
|
2475
2449
|
setup(t) {
|
|
2476
|
-
const e = t, r = { en:
|
|
2477
|
-
let
|
|
2478
|
-
const i =
|
|
2450
|
+
const e = t, r = { en: ke, hu: Se }, a = Ue();
|
|
2451
|
+
let o = [];
|
|
2452
|
+
const i = O(!1), { state: n, execute: s } = te({
|
|
2479
2453
|
options: {
|
|
2480
2454
|
path: e.servicePath,
|
|
2481
2455
|
apiKey: e.apiKey,
|
|
2482
2456
|
params: {},
|
|
2483
2457
|
immediate: !0
|
|
2484
2458
|
},
|
|
2485
|
-
transform: (w) =>
|
|
2459
|
+
transform: (w) => Ui(w, n.value, "id").reverse(),
|
|
2486
2460
|
onError: () => {
|
|
2487
2461
|
i.value = !0;
|
|
2488
2462
|
},
|
|
2489
|
-
onSuccess:
|
|
2490
|
-
}), { resume:
|
|
2491
|
-
|
|
2463
|
+
onSuccess: v
|
|
2464
|
+
}), { resume: l, pause: c } = $t(s, 1e3 * 60 * 5);
|
|
2465
|
+
Qr(
|
|
2492
2466
|
!0,
|
|
2493
2467
|
() => {
|
|
2494
|
-
|
|
2468
|
+
s(), l();
|
|
2495
2469
|
},
|
|
2496
2470
|
() => {
|
|
2497
|
-
c(),
|
|
2471
|
+
c(), o.map((w) => w == null ? void 0 : w()), o = [];
|
|
2498
2472
|
}
|
|
2499
2473
|
);
|
|
2500
|
-
const g = A(() =>
|
|
2474
|
+
const g = A(() => et(n.value) ? 0 : n.value.findIndex((w) => !Wt(new Date(w.gameDate), /* @__PURE__ */ new Date(), "day")) + 1), p = A(
|
|
2501
2475
|
() => n.value.map((w) => ({
|
|
2502
2476
|
...w,
|
|
2503
|
-
gameDateTime: `${
|
|
2477
|
+
gameDateTime: `${J(w.gameDate, "L LT", a, e.locale)} (${Ye(
|
|
2504
2478
|
w.gameDate,
|
|
2505
|
-
|
|
2479
|
+
a,
|
|
2506
2480
|
e.locale
|
|
2507
2481
|
)})`
|
|
2508
2482
|
}))
|
|
2509
|
-
), { execute:
|
|
2510
|
-
async function
|
|
2511
|
-
i.value = !1,
|
|
2512
|
-
const w = n.value.filter((
|
|
2513
|
-
for (let
|
|
2514
|
-
const
|
|
2515
|
-
|
|
2516
|
-
const { pause:
|
|
2517
|
-
|
|
2483
|
+
), { execute: y } = Yi({ apiKey: e.apiKey });
|
|
2484
|
+
async function v() {
|
|
2485
|
+
i.value = !1, o.map((S) => S == null ? void 0 : S()), o = [];
|
|
2486
|
+
const w = n.value.filter((S) => S.gameStatus === 1);
|
|
2487
|
+
for (let S = 0; S < w.length; S++) {
|
|
2488
|
+
const f = w[S].id;
|
|
2489
|
+
y(0, { gameId: f }).then((I) => z(I));
|
|
2490
|
+
const { pause: m } = $t(() => y(0, { gameId: f }).then((I) => z(I)), 6e4);
|
|
2491
|
+
o.push(m);
|
|
2518
2492
|
}
|
|
2519
2493
|
}
|
|
2520
|
-
function
|
|
2521
|
-
const { gameId:
|
|
2522
|
-
P.gameStatus =
|
|
2494
|
+
function z(w = {}) {
|
|
2495
|
+
const { gameId: S, gameStatus: f, homeTeamScore: m, awayTeamScore: I, period: N, periodTime: k } = w, P = n.value.find((D) => D.id === S);
|
|
2496
|
+
P.gameStatus = f, P.homeTeamScore = m, P.awayTeamScore = I, P.period = N, P.periodTime = k, Ir(n);
|
|
2523
2497
|
}
|
|
2524
|
-
function
|
|
2525
|
-
window.open(w,
|
|
2498
|
+
function b({ url: w, target: S }) {
|
|
2499
|
+
window.open(w, S);
|
|
2526
2500
|
}
|
|
2527
|
-
function
|
|
2528
|
-
i.value = !1,
|
|
2501
|
+
function $() {
|
|
2502
|
+
i.value = !1, s();
|
|
2529
2503
|
}
|
|
2530
|
-
return (w,
|
|
2531
|
-
locale:
|
|
2504
|
+
return (w, S) => (h(), R(d(_e), {
|
|
2505
|
+
locale: t.locale,
|
|
2532
2506
|
messages: r
|
|
2533
2507
|
}, {
|
|
2534
|
-
default:
|
|
2535
|
-
|
|
2536
|
-
default:
|
|
2537
|
-
|
|
2538
|
-
|
|
2539
|
-
])) : i.value &&
|
|
2508
|
+
default: E(({ t: f }) => [
|
|
2509
|
+
T(Wi, { "initial-index": g.value }, {
|
|
2510
|
+
default: E(() => [
|
|
2511
|
+
d(et)(d(n)) && !i.value ? (h(), _("div", vn, [
|
|
2512
|
+
T(d(qt))
|
|
2513
|
+
])) : i.value && d(et)(d(n)) ? (h(), R(mn, {
|
|
2540
2514
|
key: 1,
|
|
2541
|
-
onTryAgain:
|
|
2542
|
-
})) : (
|
|
2543
|
-
|
|
2544
|
-
default:
|
|
2545
|
-
|
|
2515
|
+
onTryAgain: $
|
|
2516
|
+
})) : (h(), _(G, { key: 2 }, [
|
|
2517
|
+
T(rt, null, {
|
|
2518
|
+
default: E(() => [
|
|
2519
|
+
T(Ut, {
|
|
2546
2520
|
"external-schedule-url": t.externalScheduleUrl,
|
|
2547
|
-
title:
|
|
2548
|
-
onNavigateTo:
|
|
2521
|
+
title: f("gamesTimeline.allSchedule"),
|
|
2522
|
+
onNavigateTo: b
|
|
2549
2523
|
}, null, 8, ["external-schedule-url", "title"])
|
|
2550
2524
|
]),
|
|
2551
2525
|
_: 2
|
|
2552
2526
|
}, 1024),
|
|
2553
|
-
(
|
|
2527
|
+
(h(!0), _(G, null, Q(p.value, (m, I, N, k) => {
|
|
2554
2528
|
const P = [
|
|
2555
|
-
|
|
2556
|
-
|
|
2557
|
-
|
|
2558
|
-
|
|
2559
|
-
|
|
2560
|
-
|
|
2529
|
+
m.gameDateTime,
|
|
2530
|
+
m.gameStatus,
|
|
2531
|
+
m.homeTeamScore,
|
|
2532
|
+
m.awayTeamScore,
|
|
2533
|
+
m.period,
|
|
2534
|
+
m.actualTime
|
|
2561
2535
|
];
|
|
2562
|
-
if (
|
|
2563
|
-
const
|
|
2564
|
-
key:
|
|
2536
|
+
if (k && k.key === m.id && $r(k, P)) return k;
|
|
2537
|
+
const D = (h(), R(rt, {
|
|
2538
|
+
key: m.id
|
|
2565
2539
|
}, {
|
|
2566
|
-
default:
|
|
2567
|
-
|
|
2568
|
-
"game-data":
|
|
2540
|
+
default: E(() => [
|
|
2541
|
+
T(ln, {
|
|
2542
|
+
"game-data": m,
|
|
2569
2543
|
"external-game-resolver": t.externalGameResolver,
|
|
2570
|
-
onNavigateTo:
|
|
2544
|
+
onNavigateTo: b
|
|
2571
2545
|
}, null, 8, ["game-data", "external-game-resolver"])
|
|
2572
2546
|
]),
|
|
2573
2547
|
_: 2
|
|
2574
2548
|
}, 1024));
|
|
2575
|
-
return
|
|
2576
|
-
},
|
|
2577
|
-
|
|
2578
|
-
default:
|
|
2579
|
-
|
|
2549
|
+
return D.memo = P, D;
|
|
2550
|
+
}, S, 0), 128)),
|
|
2551
|
+
T(rt, null, {
|
|
2552
|
+
default: E(() => [
|
|
2553
|
+
T(Ut, {
|
|
2580
2554
|
"external-schedule-url": t.externalScheduleUrl,
|
|
2581
|
-
title:
|
|
2582
|
-
onNavigateTo:
|
|
2555
|
+
title: f("gamesTimeline.allSchedule"),
|
|
2556
|
+
onNavigateTo: b
|
|
2583
2557
|
}, null, 8, ["external-schedule-url", "title"])
|
|
2584
2558
|
]),
|
|
2585
2559
|
_: 2
|
|
@@ -2592,17 +2566,17 @@ const nn = { render: an }, sn = {
|
|
|
2592
2566
|
_: 1
|
|
2593
2567
|
}, 8, ["locale"]));
|
|
2594
2568
|
}
|
|
2595
|
-
},
|
|
2596
|
-
function
|
|
2597
|
-
e.seasonsList = t, e.seasonId =
|
|
2569
|
+
}, bn = /* @__PURE__ */ $e(hn, [["styles", [Ie, pn]]]);
|
|
2570
|
+
function fn(t, e) {
|
|
2571
|
+
e.seasonsList = t, e.seasonId = ze(ne, de("id"))(t);
|
|
2598
2572
|
}
|
|
2599
|
-
function
|
|
2600
|
-
e.championshipList = t, e.championshipId =
|
|
2573
|
+
function yn(t, e) {
|
|
2574
|
+
e.championshipList = t, e.championshipId = ze(ne, de("championshipId"))(t);
|
|
2601
2575
|
}
|
|
2602
|
-
function
|
|
2603
|
-
e.sections = t, e.sectionId =
|
|
2576
|
+
function wn(t, e) {
|
|
2577
|
+
e.sections = t, e.sectionId = ze(ne, de("sectionId"))(t);
|
|
2604
2578
|
}
|
|
2605
|
-
const
|
|
2579
|
+
const xn = {
|
|
2606
2580
|
__name: "DataProvider",
|
|
2607
2581
|
props: {
|
|
2608
2582
|
apiKey: {
|
|
@@ -2615,65 +2589,71 @@ const bn = {
|
|
|
2615
2589
|
}
|
|
2616
2590
|
},
|
|
2617
2591
|
setup(t) {
|
|
2618
|
-
const e = t, r =
|
|
2592
|
+
const e = t, r = ce({
|
|
2619
2593
|
seasonsList: [],
|
|
2620
2594
|
seasonId: null,
|
|
2621
2595
|
championshipList: [],
|
|
2622
2596
|
championshipId: null,
|
|
2623
2597
|
sections: [],
|
|
2624
2598
|
sectionId: null
|
|
2625
|
-
}), { onError:
|
|
2599
|
+
}), { onError: a } = Ve(), { isLoading: o, execute: i } = te({
|
|
2626
2600
|
options: {
|
|
2627
2601
|
path: "/v2/all-season-list",
|
|
2628
2602
|
apiKey: e.apiKey,
|
|
2629
2603
|
params: {}
|
|
2630
2604
|
},
|
|
2631
|
-
transform: (
|
|
2632
|
-
onError:
|
|
2633
|
-
}), { isLoading: n, execute:
|
|
2605
|
+
transform: (b) => fn(b, r),
|
|
2606
|
+
onError: a
|
|
2607
|
+
}), { isLoading: n, execute: s } = te({
|
|
2634
2608
|
options: {
|
|
2635
2609
|
path: "/v2/championship-list",
|
|
2636
2610
|
apiKey: e.apiKey,
|
|
2637
2611
|
params: A(() => ({ seasonId: r.seasonId }))
|
|
2638
2612
|
},
|
|
2639
|
-
transform: (
|
|
2640
|
-
onError:
|
|
2613
|
+
transform: (b) => yn(b, r),
|
|
2614
|
+
onError: a
|
|
2641
2615
|
}), {
|
|
2642
|
-
isLoading:
|
|
2616
|
+
isLoading: l,
|
|
2643
2617
|
execute: c
|
|
2644
|
-
} =
|
|
2618
|
+
} = te({
|
|
2645
2619
|
options: {
|
|
2646
2620
|
path: "/v2/championship-sections",
|
|
2647
2621
|
apiKey: e.apiKey,
|
|
2648
2622
|
params: A(() => ({ championshipId: r.championshipId }))
|
|
2649
2623
|
},
|
|
2650
|
-
transform: (
|
|
2651
|
-
onError:
|
|
2624
|
+
transform: (b) => wn(b, r),
|
|
2625
|
+
onError: a
|
|
2652
2626
|
}), g = A(() => {
|
|
2653
|
-
var
|
|
2654
|
-
return ((
|
|
2627
|
+
var b, $;
|
|
2628
|
+
return (($ = (b = r.sections) == null ? void 0 : b.find((w) => w.sectionId === r.sectionId)) == null ? void 0 : $.phases) ?? [];
|
|
2655
2629
|
});
|
|
2656
|
-
|
|
2657
|
-
const
|
|
2658
|
-
function
|
|
2659
|
-
r.seasonId =
|
|
2630
|
+
ve([i, s, c]);
|
|
2631
|
+
const p = A(() => [o.value, n.value, l.value].some(Boolean));
|
|
2632
|
+
function y(b) {
|
|
2633
|
+
r.seasonId = b, ve([s, c]);
|
|
2660
2634
|
}
|
|
2661
|
-
function
|
|
2662
|
-
r.championshipId =
|
|
2635
|
+
function v(b) {
|
|
2636
|
+
r.championshipId = b, c();
|
|
2663
2637
|
}
|
|
2664
|
-
function
|
|
2665
|
-
r.sectionId =
|
|
2638
|
+
function z(b) {
|
|
2639
|
+
r.sectionId = b;
|
|
2666
2640
|
}
|
|
2667
|
-
return (
|
|
2641
|
+
return (b, $) => he(b.$slots, "default", je(Oe({
|
|
2668
2642
|
...r,
|
|
2669
|
-
isLoading:
|
|
2643
|
+
isLoading: p.value,
|
|
2670
2644
|
phaseData: g.value,
|
|
2671
|
-
onChangeSeason:
|
|
2672
|
-
onChangeSection:
|
|
2673
|
-
onChangeChampionship:
|
|
2645
|
+
onChangeSeason: y,
|
|
2646
|
+
onChangeSection: z,
|
|
2647
|
+
onChangeChampionship: v
|
|
2674
2648
|
})));
|
|
2675
2649
|
}
|
|
2676
|
-
},
|
|
2650
|
+
}, _n = { class: "is-mb-5" }, kn = {
|
|
2651
|
+
for: "season",
|
|
2652
|
+
class: "label"
|
|
2653
|
+
}, Sn = ["value"], zn = {
|
|
2654
|
+
for: "season",
|
|
2655
|
+
class: "label"
|
|
2656
|
+
}, In = ["value"], $n = {
|
|
2677
2657
|
__name: "Selector",
|
|
2678
2658
|
props: {
|
|
2679
2659
|
seasonsList: {
|
|
@@ -2695,49 +2675,46 @@ const bn = {
|
|
|
2695
2675
|
},
|
|
2696
2676
|
emits: ["update:seasonId", "update:championshipId"],
|
|
2697
2677
|
setup(t, { emit: e }) {
|
|
2698
|
-
const r = t,
|
|
2699
|
-
return (
|
|
2700
|
-
|
|
2701
|
-
|
|
2702
|
-
|
|
2703
|
-
class: E(s(K)("label"))
|
|
2704
|
-
}, y(s(a)("selection.seasons")), 3),
|
|
2705
|
-
$(s(pe), {
|
|
2678
|
+
const r = t, a = e, { t: o } = se(), { seasonId: i, championshipId: n } = vt(r, a);
|
|
2679
|
+
return (s, l) => (h(), _(G, null, [
|
|
2680
|
+
u("div", _n, [
|
|
2681
|
+
u("label", kn, x(d(o)("selection.seasons")), 1),
|
|
2682
|
+
T(d(me), {
|
|
2706
2683
|
id: "season",
|
|
2707
|
-
modelValue:
|
|
2708
|
-
"onUpdate:modelValue":
|
|
2684
|
+
modelValue: d(i),
|
|
2685
|
+
"onUpdate:modelValue": l[0] || (l[0] = (c) => le(i) ? i.value = c : null)
|
|
2709
2686
|
}, {
|
|
2710
|
-
default:
|
|
2711
|
-
(
|
|
2687
|
+
default: E(() => [
|
|
2688
|
+
(h(!0), _(G, null, Q(t.seasonsList, (c) => (h(), _("option", {
|
|
2712
2689
|
key: c.id,
|
|
2713
2690
|
value: c.id
|
|
2714
|
-
},
|
|
2691
|
+
}, x(c.seasonName), 9, Sn))), 128))
|
|
2715
2692
|
]),
|
|
2716
2693
|
_: 1
|
|
2717
2694
|
}, 8, ["modelValue"])
|
|
2718
2695
|
]),
|
|
2719
|
-
|
|
2720
|
-
|
|
2721
|
-
|
|
2722
|
-
class: E(s(K)("label"))
|
|
2723
|
-
}, y(s(a)("selection.championships")), 3),
|
|
2724
|
-
$(s(pe), {
|
|
2696
|
+
u("div", null, [
|
|
2697
|
+
u("label", zn, x(d(o)("selection.championships")), 1),
|
|
2698
|
+
T(d(me), {
|
|
2725
2699
|
id: "season",
|
|
2726
|
-
modelValue:
|
|
2727
|
-
"onUpdate:modelValue":
|
|
2700
|
+
modelValue: d(n),
|
|
2701
|
+
"onUpdate:modelValue": l[1] || (l[1] = (c) => le(n) ? n.value = c : null)
|
|
2728
2702
|
}, {
|
|
2729
|
-
default:
|
|
2730
|
-
(
|
|
2703
|
+
default: E(() => [
|
|
2704
|
+
(h(!0), _(G, null, Q(t.championshipList, (c) => (h(), _("option", {
|
|
2731
2705
|
key: c.championshipId,
|
|
2732
2706
|
value: c.championshipId
|
|
2733
|
-
},
|
|
2707
|
+
}, x(c.championshipName), 9, In))), 128))
|
|
2734
2708
|
]),
|
|
2735
2709
|
_: 1
|
|
2736
2710
|
}, 8, ["modelValue"])
|
|
2737
2711
|
])
|
|
2738
2712
|
], 64));
|
|
2739
2713
|
}
|
|
2740
|
-
},
|
|
2714
|
+
}, Tn = ".main-layout[data-v-10915a30]{display:flex;flex-wrap:wrap;gap:20px}.main-layout>div[data-v-10915a30]:nth-child(2){flex:1}pre[data-v-10915a30]{padding:10px;white-space:pre-wrap;overflow-x:auto;background-color:var(--vbr-widget-primary-color-50);border-radius:5px}", Cn = { class: "main-layout" }, Nn = { class: "is-mb-5" }, An = { for: "seasonId" }, En = ["textContent"], Dn = { class: "is-mb-5" }, Ln = { for: "championshipName" }, Pn = ["textContent"], Mn = { class: "is-mb-5" }, jn = { for: "championshipId" }, On = ["textContent"], Gn = { class: "is-mb-5" }, Rn = { for: "sections" }, Yn = {
|
|
2715
|
+
id: "sections",
|
|
2716
|
+
class: "toggle-group"
|
|
2717
|
+
}, Un = ["onClick"], Vn = { class: "is-mb-5" }, Kn = { for: "phases" }, Fn = ["textContent"], Bn = {
|
|
2741
2718
|
__name: "IvrIdentifiers.ce",
|
|
2742
2719
|
props: {
|
|
2743
2720
|
locale: {
|
|
@@ -2750,85 +2727,82 @@ const bn = {
|
|
|
2750
2727
|
}
|
|
2751
2728
|
},
|
|
2752
2729
|
setup(t) {
|
|
2753
|
-
const e = t, r = { en:
|
|
2754
|
-
return (
|
|
2730
|
+
const e = t, r = { en: ke, hu: Se };
|
|
2731
|
+
return (a, o) => (h(), R(d(_e), {
|
|
2755
2732
|
locale: e.locale,
|
|
2756
2733
|
messages: r
|
|
2757
2734
|
}, {
|
|
2758
|
-
default:
|
|
2759
|
-
|
|
2760
|
-
default:
|
|
2761
|
-
|
|
2735
|
+
default: E(({ t: i }) => [
|
|
2736
|
+
T(d(Ge), null, {
|
|
2737
|
+
default: E(({ error: n, hasError: s }) => [
|
|
2738
|
+
s ? (h(), R(d(Re), {
|
|
2762
2739
|
key: 0,
|
|
2763
2740
|
error: n
|
|
2764
2741
|
}, null, 8, ["error"])) : M("", !0),
|
|
2765
|
-
|
|
2766
|
-
default:
|
|
2767
|
-
seasonsList:
|
|
2742
|
+
T(xn, null, {
|
|
2743
|
+
default: E(({
|
|
2744
|
+
seasonsList: l,
|
|
2768
2745
|
seasonId: c,
|
|
2769
2746
|
championshipList: g,
|
|
2770
|
-
championshipId:
|
|
2771
|
-
sections:
|
|
2772
|
-
sectionId:
|
|
2773
|
-
phaseData:
|
|
2774
|
-
onChangeSeason:
|
|
2775
|
-
onChangeSection:
|
|
2747
|
+
championshipId: p,
|
|
2748
|
+
sections: y,
|
|
2749
|
+
sectionId: v,
|
|
2750
|
+
phaseData: z,
|
|
2751
|
+
onChangeSeason: b,
|
|
2752
|
+
onChangeSection: $,
|
|
2776
2753
|
onChangeChampionship: w
|
|
2777
2754
|
}) => {
|
|
2778
|
-
var
|
|
2755
|
+
var S;
|
|
2779
2756
|
return [
|
|
2780
|
-
|
|
2781
|
-
|
|
2782
|
-
$
|
|
2783
|
-
"seasons-list":
|
|
2757
|
+
u("div", Cn, [
|
|
2758
|
+
u("div", null, [
|
|
2759
|
+
T($n, {
|
|
2760
|
+
"seasons-list": l,
|
|
2784
2761
|
"season-id": c,
|
|
2785
2762
|
"championship-list": g,
|
|
2786
|
-
"championship-id":
|
|
2787
|
-
"onUpdate:seasonId":
|
|
2763
|
+
"championship-id": p,
|
|
2764
|
+
"onUpdate:seasonId": b,
|
|
2788
2765
|
"onUpdate:championshipId": w
|
|
2789
2766
|
}, null, 8, ["seasons-list", "season-id", "championship-list", "championship-id", "onUpdate:seasonId", "onUpdate:championshipId"])
|
|
2790
2767
|
]),
|
|
2791
|
-
|
|
2792
|
-
|
|
2793
|
-
|
|
2794
|
-
|
|
2768
|
+
u("div", null, [
|
|
2769
|
+
u("section", Nn, [
|
|
2770
|
+
u("label", An, x(i("selection.seasonId")), 1),
|
|
2771
|
+
u("p", {
|
|
2795
2772
|
id: "seasonId",
|
|
2796
|
-
textContent:
|
|
2797
|
-
}, null, 8,
|
|
2773
|
+
textContent: x(c)
|
|
2774
|
+
}, null, 8, En)
|
|
2798
2775
|
]),
|
|
2799
|
-
|
|
2800
|
-
|
|
2801
|
-
|
|
2776
|
+
u("section", Dn, [
|
|
2777
|
+
u("label", Ln, x(i("selection.championshipName")), 1),
|
|
2778
|
+
u("p", {
|
|
2802
2779
|
id: "championshipName",
|
|
2803
|
-
textContent:
|
|
2804
|
-
}, null, 8,
|
|
2780
|
+
textContent: x((S = g.find((f) => f.championshipId === p)) == null ? void 0 : S.championshipName)
|
|
2781
|
+
}, null, 8, Pn)
|
|
2805
2782
|
]),
|
|
2806
|
-
|
|
2807
|
-
|
|
2808
|
-
|
|
2783
|
+
u("section", Mn, [
|
|
2784
|
+
u("label", jn, x(i("selection.championshipId")), 1),
|
|
2785
|
+
u("p", {
|
|
2809
2786
|
id: "championshipId",
|
|
2810
|
-
textContent:
|
|
2811
|
-
}, null, 8,
|
|
2787
|
+
textContent: x(p)
|
|
2788
|
+
}, null, 8, On)
|
|
2812
2789
|
]),
|
|
2813
|
-
|
|
2814
|
-
|
|
2815
|
-
|
|
2816
|
-
|
|
2817
|
-
|
|
2818
|
-
|
|
2819
|
-
|
|
2820
|
-
|
|
2821
|
-
|
|
2822
|
-
onClick: (v) => I(z.sectionId)
|
|
2823
|
-
}, y(z.sectionName), 11, En))), 128))
|
|
2824
|
-
], 2)
|
|
2790
|
+
u("section", Gn, [
|
|
2791
|
+
u("label", Rn, x(i("selection.sections")) + ":", 1),
|
|
2792
|
+
u("div", Yn, [
|
|
2793
|
+
(h(!0), _(G, null, Q(y, (f) => (h(), _("button", {
|
|
2794
|
+
key: f.sectionId,
|
|
2795
|
+
class: F({ "is-active": f.sectionId === v }),
|
|
2796
|
+
onClick: (m) => $(f.sectionId)
|
|
2797
|
+
}, x(f.sectionName), 11, Un))), 128))
|
|
2798
|
+
])
|
|
2825
2799
|
]),
|
|
2826
|
-
|
|
2827
|
-
|
|
2828
|
-
|
|
2800
|
+
u("section", Vn, [
|
|
2801
|
+
u("label", Kn, x(i("selection.phasesDivision")) + ":", 1),
|
|
2802
|
+
u("pre", {
|
|
2829
2803
|
id: "phases",
|
|
2830
|
-
textContent:
|
|
2831
|
-
}, null, 8,
|
|
2804
|
+
textContent: x(z)
|
|
2805
|
+
}, null, 8, Fn)
|
|
2832
2806
|
])
|
|
2833
2807
|
])
|
|
2834
2808
|
])
|
|
@@ -2843,7 +2817,10 @@ const bn = {
|
|
|
2843
2817
|
_: 1
|
|
2844
2818
|
}, 8, ["locale"]));
|
|
2845
2819
|
}
|
|
2846
|
-
},
|
|
2820
|
+
}, qn = /* @__PURE__ */ $e(Bn, [["styles", [Ie, We, He, Tn]], ["__scopeId", "data-v-10915a30"]]), Wn = { class: "g-row" }, Hn = {
|
|
2821
|
+
for: "season",
|
|
2822
|
+
class: "label"
|
|
2823
|
+
}, Xn = ["value"], Jn = ["onClick"], Qn = {
|
|
2847
2824
|
__name: "SeasonSelector",
|
|
2848
2825
|
props: {
|
|
2849
2826
|
seasons: {
|
|
@@ -2865,62 +2842,59 @@ const bn = {
|
|
|
2865
2842
|
},
|
|
2866
2843
|
emits: ["onChangeSeason", "onChangeSection"],
|
|
2867
2844
|
setup(t, { emit: e }) {
|
|
2868
|
-
const r = t,
|
|
2845
|
+
const r = t, a = e, { t: o } = se(), i = A({
|
|
2869
2846
|
get() {
|
|
2870
2847
|
return r.championshipId;
|
|
2871
2848
|
},
|
|
2872
|
-
set(
|
|
2873
|
-
|
|
2849
|
+
set(s) {
|
|
2850
|
+
a("onChangeSeason", s);
|
|
2874
2851
|
}
|
|
2875
2852
|
});
|
|
2876
|
-
function n(
|
|
2877
|
-
|
|
2878
|
-
}
|
|
2879
|
-
return (
|
|
2880
|
-
|
|
2881
|
-
|
|
2882
|
-
|
|
2883
|
-
|
|
2884
|
-
class: E(s(K)("label"))
|
|
2885
|
-
}, y(s(a)("selection.season")), 3),
|
|
2886
|
-
$(s(pe), {
|
|
2853
|
+
function n(s) {
|
|
2854
|
+
a("onChangeSection", s);
|
|
2855
|
+
}
|
|
2856
|
+
return (s, l) => (h(), _(G, null, [
|
|
2857
|
+
u("div", Wn, [
|
|
2858
|
+
u("div", null, [
|
|
2859
|
+
u("label", Hn, x(d(o)("selection.season")), 1),
|
|
2860
|
+
T(d(me), {
|
|
2887
2861
|
id: "season",
|
|
2888
2862
|
modelValue: i.value,
|
|
2889
|
-
"onUpdate:modelValue":
|
|
2863
|
+
"onUpdate:modelValue": l[0] || (l[0] = (c) => i.value = c)
|
|
2890
2864
|
}, {
|
|
2891
|
-
default:
|
|
2892
|
-
(
|
|
2865
|
+
default: E(() => [
|
|
2866
|
+
(h(!0), _(G, null, Q(t.seasons, (c) => (h(), _("option", {
|
|
2893
2867
|
key: c.championshipId,
|
|
2894
2868
|
value: c.championshipId
|
|
2895
|
-
},
|
|
2869
|
+
}, x(c.seasonName), 9, Xn))), 128))
|
|
2896
2870
|
]),
|
|
2897
2871
|
_: 1
|
|
2898
2872
|
}, 8, ["modelValue"])
|
|
2899
2873
|
])
|
|
2900
2874
|
]),
|
|
2901
|
-
|
|
2902
|
-
(
|
|
2875
|
+
u("div", null, [
|
|
2876
|
+
(h(!0), _(G, null, Q(t.sections, (c) => (h(), _("button", {
|
|
2903
2877
|
key: c.phaseId,
|
|
2904
|
-
class:
|
|
2878
|
+
class: F(["tab-button", { "is-active": c.sectionId === t.sectionId }]),
|
|
2905
2879
|
onClick: (g) => n(c)
|
|
2906
|
-
},
|
|
2880
|
+
}, x(c.sectionName), 11, Jn))), 128))
|
|
2907
2881
|
])
|
|
2908
2882
|
], 64));
|
|
2909
2883
|
}
|
|
2910
2884
|
};
|
|
2911
|
-
function
|
|
2885
|
+
function Zn(t, e) {
|
|
2912
2886
|
if (t.length === 0)
|
|
2913
|
-
throw new
|
|
2914
|
-
e.seasons =
|
|
2887
|
+
throw new Ht(De.message, De.options);
|
|
2888
|
+
e.seasons = ts(t), e.championshipId || (e.championshipId = ne(e.seasons).championshipId);
|
|
2915
2889
|
}
|
|
2916
|
-
function
|
|
2890
|
+
function es(t, e) {
|
|
2917
2891
|
var r;
|
|
2918
|
-
e.sections =
|
|
2892
|
+
e.sections = lr(de("sectionId"))(t), e.sectionId = yt(de("sectionId"), ne)(e.sections), e.phaseId = ((r = ir([0, "phases", 0], t)) == null ? void 0 : r.phaseId) ?? null;
|
|
2919
2893
|
}
|
|
2920
|
-
function
|
|
2921
|
-
return yt(
|
|
2894
|
+
function ts(t) {
|
|
2895
|
+
return yt(sr(or(de("seasonName"))), ft(nr(["championshipId", "seasonName"])))(t);
|
|
2922
2896
|
}
|
|
2923
|
-
const
|
|
2897
|
+
const rs = {
|
|
2924
2898
|
gameName: {
|
|
2925
2899
|
label: "table.gameName.short",
|
|
2926
2900
|
tooltip: "table.gameName.tooltip",
|
|
@@ -2957,13 +2931,13 @@ const Fn = {
|
|
|
2957
2931
|
class: "is-text-left"
|
|
2958
2932
|
}
|
|
2959
2933
|
};
|
|
2960
|
-
function
|
|
2961
|
-
return (e) =>
|
|
2934
|
+
function as(t) {
|
|
2935
|
+
return (e) => ft((r) => ({
|
|
2962
2936
|
...r,
|
|
2963
2937
|
...r.registration && { registration: `${r.registration}/cid/${t}` }
|
|
2964
2938
|
}))(e);
|
|
2965
2939
|
}
|
|
2966
|
-
const
|
|
2940
|
+
const os = {
|
|
2967
2941
|
__name: "DataProvider",
|
|
2968
2942
|
props: {
|
|
2969
2943
|
championshipName: {
|
|
@@ -2992,57 +2966,57 @@ const Wn = {
|
|
|
2992
2966
|
}
|
|
2993
2967
|
},
|
|
2994
2968
|
setup(t) {
|
|
2995
|
-
const e = t, r =
|
|
2969
|
+
const e = t, r = ce({
|
|
2996
2970
|
seasons: [],
|
|
2997
2971
|
championshipId: null,
|
|
2998
2972
|
sections: [],
|
|
2999
2973
|
sectionId: null,
|
|
3000
2974
|
phaseId: null
|
|
3001
|
-
}), { onError:
|
|
2975
|
+
}), { onError: a } = Ve(), { isLoading: o, execute: i } = te({
|
|
3002
2976
|
options: {
|
|
3003
2977
|
path: "/v2/championship-seasons",
|
|
3004
2978
|
apiKey: e.apiKey,
|
|
3005
2979
|
params: { championshipName: e.championshipName }
|
|
3006
2980
|
},
|
|
3007
|
-
transform: (
|
|
3008
|
-
onError:
|
|
3009
|
-
}), { isLoading: n, execute:
|
|
2981
|
+
transform: (b) => Zn(b, r),
|
|
2982
|
+
onError: a
|
|
2983
|
+
}), { isLoading: n, execute: s } = te({
|
|
3010
2984
|
options: {
|
|
3011
2985
|
path: "/v2/championship-sections",
|
|
3012
2986
|
apiKey: e.apiKey,
|
|
3013
2987
|
params: A(() => ({ championshipId: r.championshipId }))
|
|
3014
2988
|
},
|
|
3015
|
-
transform: (
|
|
3016
|
-
onError:
|
|
2989
|
+
transform: (b) => es(b, r),
|
|
2990
|
+
onError: a
|
|
3017
2991
|
}), {
|
|
3018
|
-
isLoading:
|
|
2992
|
+
isLoading: l,
|
|
3019
2993
|
state: c,
|
|
3020
2994
|
execute: g
|
|
3021
|
-
} =
|
|
2995
|
+
} = te({
|
|
3022
2996
|
options: {
|
|
3023
2997
|
path: "/v2/games-list",
|
|
3024
2998
|
apiKey: e.apiKey,
|
|
3025
2999
|
params: A(() => ({ championshipId: r.championshipId, phaseId: r.phaseId }))
|
|
3026
3000
|
},
|
|
3027
|
-
transform: (
|
|
3028
|
-
onError:
|
|
3029
|
-
}),
|
|
3030
|
-
|
|
3031
|
-
const
|
|
3032
|
-
function
|
|
3033
|
-
r.championshipId =
|
|
3034
|
-
}
|
|
3035
|
-
function
|
|
3036
|
-
r.sectionId =
|
|
3037
|
-
}
|
|
3038
|
-
return (
|
|
3039
|
-
rows:
|
|
3040
|
-
isLoading:
|
|
3041
|
-
values:
|
|
3042
|
-
listeners: { onChangeSection:
|
|
3001
|
+
transform: (b) => ze(Xt, as(r.championshipId))(b),
|
|
3002
|
+
onError: a
|
|
3003
|
+
}), p = A(() => gt(c.value).schedule(e.timezone, e.locale).value());
|
|
3004
|
+
ve([i, s, g]);
|
|
3005
|
+
const y = A(() => [n.value, o.value, l.value].some(Boolean));
|
|
3006
|
+
function v(b) {
|
|
3007
|
+
r.championshipId = b, ve([s, g]);
|
|
3008
|
+
}
|
|
3009
|
+
function z(b) {
|
|
3010
|
+
r.sectionId = b.sectionId, r.phaseId = ir(["phases", 0, "phaseId"], b), g();
|
|
3011
|
+
}
|
|
3012
|
+
return (b, $) => he(b.$slots, "default", je(Oe({
|
|
3013
|
+
rows: p.value,
|
|
3014
|
+
isLoading: y.value,
|
|
3015
|
+
values: d(ko)(["phaseId"], r),
|
|
3016
|
+
listeners: { onChangeSection: z, onChangeSeason: v }
|
|
3043
3017
|
})));
|
|
3044
3018
|
}
|
|
3045
|
-
},
|
|
3019
|
+
}, is = ["href"], ns = ["href"], ss = {
|
|
3046
3020
|
__name: "ScheduleCupDataTable",
|
|
3047
3021
|
props: {
|
|
3048
3022
|
columns: {
|
|
@@ -3063,47 +3037,47 @@ const Wn = {
|
|
|
3063
3037
|
}
|
|
3064
3038
|
},
|
|
3065
3039
|
setup(t) {
|
|
3066
|
-
const e = t, r =
|
|
3040
|
+
const e = t, r = O(null), { columns: a } = Zr(
|
|
3067
3041
|
e.columns,
|
|
3068
3042
|
null,
|
|
3069
3043
|
A(() => ({
|
|
3070
3044
|
offsetName: e.offsetName
|
|
3071
3045
|
}))
|
|
3072
|
-
), { t:
|
|
3073
|
-
return (i, n) => (
|
|
3046
|
+
), { t: o } = se();
|
|
3047
|
+
return (i, n) => (h(), _("div", {
|
|
3074
3048
|
ref_key: "tooltipContainer",
|
|
3075
3049
|
ref: r
|
|
3076
3050
|
}, [
|
|
3077
|
-
|
|
3078
|
-
default:
|
|
3079
|
-
|
|
3080
|
-
columns:
|
|
3051
|
+
T(d(Mr), null, {
|
|
3052
|
+
default: E(() => [
|
|
3053
|
+
T(d(jr), {
|
|
3054
|
+
columns: d(a),
|
|
3081
3055
|
rows: t.rows,
|
|
3082
3056
|
"is-loading": t.isLoading,
|
|
3083
3057
|
"append-to": r.value
|
|
3084
3058
|
}, {
|
|
3085
|
-
"cell-homeTeamName":
|
|
3086
|
-
var
|
|
3059
|
+
"cell-homeTeamName": E(({ row: s }) => {
|
|
3060
|
+
var l;
|
|
3087
3061
|
return [
|
|
3088
|
-
|
|
3062
|
+
ae(x(((l = s.homeTeam) == null ? void 0 : l.longName) ?? ""), 1)
|
|
3089
3063
|
];
|
|
3090
3064
|
}),
|
|
3091
|
-
"cell-location":
|
|
3092
|
-
var
|
|
3065
|
+
"cell-location": E(({ row: s }) => {
|
|
3066
|
+
var l;
|
|
3093
3067
|
return [
|
|
3094
|
-
|
|
3068
|
+
ae(x(((l = s.location) == null ? void 0 : l.locationName) ?? ""), 1)
|
|
3095
3069
|
];
|
|
3096
3070
|
}),
|
|
3097
|
-
"cell-document":
|
|
3098
|
-
|
|
3071
|
+
"cell-document": E(({ row: s }) => [
|
|
3072
|
+
s.schedule ? (h(), _("a", {
|
|
3099
3073
|
key: 0,
|
|
3100
|
-
href:
|
|
3074
|
+
href: s.schedule,
|
|
3101
3075
|
target: "_blank"
|
|
3102
|
-
},
|
|
3076
|
+
}, x(d(o)("schedule")), 9, is)) : s.registration ? (h(), _("a", {
|
|
3103
3077
|
key: 1,
|
|
3104
|
-
href:
|
|
3078
|
+
href: s.registration,
|
|
3105
3079
|
target: "_blank"
|
|
3106
|
-
},
|
|
3080
|
+
}, x(d(o)("registration")), 9, ns)) : M("", !0)
|
|
3107
3081
|
]),
|
|
3108
3082
|
_: 1
|
|
3109
3083
|
}, 8, ["columns", "rows", "is-loading", "append-to"])
|
|
@@ -3112,7 +3086,7 @@ const Wn = {
|
|
|
3112
3086
|
})
|
|
3113
3087
|
], 512));
|
|
3114
3088
|
}
|
|
3115
|
-
},
|
|
3089
|
+
}, ls = {
|
|
3116
3090
|
__name: "ScheduleCup.ce",
|
|
3117
3091
|
props: {
|
|
3118
3092
|
locale: {
|
|
@@ -3133,30 +3107,30 @@ const Wn = {
|
|
|
3133
3107
|
// },
|
|
3134
3108
|
},
|
|
3135
3109
|
setup(t) {
|
|
3136
|
-
const e = t, r = { en:
|
|
3137
|
-
return (i, n) => (
|
|
3110
|
+
const e = t, r = { en: ke, hu: Se }, a = O(Ue()), o = A(() => Ye(/* @__PURE__ */ new Date(), a.value, e.locale));
|
|
3111
|
+
return (i, n) => (h(), R(d(_e), {
|
|
3138
3112
|
locale: e.locale,
|
|
3139
3113
|
messages: r
|
|
3140
3114
|
}, {
|
|
3141
|
-
default:
|
|
3142
|
-
|
|
3143
|
-
default:
|
|
3144
|
-
|
|
3115
|
+
default: E(() => [
|
|
3116
|
+
T(d(Ge), null, {
|
|
3117
|
+
default: E(({ error: s, hasError: l }) => [
|
|
3118
|
+
l ? (h(), R(d(Re), {
|
|
3145
3119
|
key: 0,
|
|
3146
|
-
error:
|
|
3120
|
+
error: s
|
|
3147
3121
|
}, null, 8, ["error"])) : M("", !0),
|
|
3148
|
-
|
|
3122
|
+
T(os, {
|
|
3149
3123
|
"championship-name": t.championshipName,
|
|
3150
3124
|
locale: t.locale,
|
|
3151
|
-
timezone:
|
|
3125
|
+
timezone: a.value
|
|
3152
3126
|
}, {
|
|
3153
|
-
default:
|
|
3154
|
-
|
|
3155
|
-
|
|
3156
|
-
columns:
|
|
3127
|
+
default: E(({ rows: c, isLoading: g, values: p, listeners: y }) => [
|
|
3128
|
+
T(Qn, Tr(p, Cr(y)), null, 16),
|
|
3129
|
+
T(ss, {
|
|
3130
|
+
columns: d(rs),
|
|
3157
3131
|
rows: c.rows,
|
|
3158
3132
|
"is-loading": g,
|
|
3159
|
-
"offset-name":
|
|
3133
|
+
"offset-name": o.value
|
|
3160
3134
|
}, null, 8, ["columns", "rows", "is-loading", "offset-name"])
|
|
3161
3135
|
]),
|
|
3162
3136
|
_: 1
|
|
@@ -3168,24 +3142,24 @@ const Wn = {
|
|
|
3168
3142
|
_: 1
|
|
3169
3143
|
}, 8, ["locale"]));
|
|
3170
3144
|
}
|
|
3171
|
-
},
|
|
3172
|
-
function
|
|
3173
|
-
customElements.define("mjsz-vbr-calendar",
|
|
3145
|
+
}, cs = /* @__PURE__ */ $e(ls, [["styles", [Ie, We, He, cr, dr, gr, ur]]]), ds = xe(si), gs = xe(Pi), us = xe(cs), ms = xe(qn), ps = xe(bn);
|
|
3146
|
+
function vs() {
|
|
3147
|
+
customElements.define("mjsz-vbr-calendar", ds), customElements.define("mjsz-vbr-championship", gs), customElements.define("mjsz-vbr-schedule-cup", us), customElements.define("mjsz-vbr-ibr-identifiers", ms), customElements.define("mjsz-vbr-games-timeline", ps);
|
|
3174
3148
|
}
|
|
3175
|
-
const
|
|
3176
|
-
install: () =>
|
|
3149
|
+
const ks = {
|
|
3150
|
+
install: () => vs()
|
|
3177
3151
|
};
|
|
3178
3152
|
export {
|
|
3179
|
-
|
|
3180
|
-
|
|
3181
|
-
|
|
3182
|
-
|
|
3183
|
-
|
|
3184
|
-
|
|
3185
|
-
|
|
3186
|
-
|
|
3187
|
-
|
|
3188
|
-
|
|
3189
|
-
|
|
3190
|
-
|
|
3153
|
+
si as Calendar,
|
|
3154
|
+
ds as CalendarCE,
|
|
3155
|
+
Pi as Championship,
|
|
3156
|
+
gs as ChampionshipCE,
|
|
3157
|
+
bn as GamesTimeline,
|
|
3158
|
+
ps as GamesTimelineCE,
|
|
3159
|
+
qn as IVRIdentifiers,
|
|
3160
|
+
ms as IVRIdentifiersCE,
|
|
3161
|
+
cs as ScheduleCup,
|
|
3162
|
+
us as ScheduleCupCE,
|
|
3163
|
+
ks as default,
|
|
3164
|
+
vs as register
|
|
3191
3165
|
};
|