@mjsz-vbr-elements/extended 2.14.0 → 2.14.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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 +676 -653
- package/package.json +5 -5
package/dist/index.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* name: @mjsz-vbr-elements/extended
|
|
3
|
-
* version: v2.14.
|
|
3
|
+
* version: v2.14.3 - 30/01/2025, 11:44:40
|
|
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 j, isRef as de, watch as se, getCurrentScope as fr, onScopeDispose as yr, toValue as
|
|
9
|
-
import { currentWeekStartEnd as
|
|
10
|
-
import { Image as Me, I18NProvider as fe, ErrorProvider as
|
|
11
|
-
import { format as
|
|
8
|
+
import { ref as j, isRef as de, watch as se, getCurrentScope as fr, onScopeDispose as yr, toValue as Y, readonly as wr, onMounted as ut, nextTick as ze, getCurrentInstance as Bt, reactive as le, computed as A, shallowRef as Pe, unref as d, toRefs as xr, renderSlot as ge, normalizeProps as $e, guardReactiveProps as Ce, openBlock as p, createElementBlock as _, createElementVNode as u, normalizeClass as V, createTextVNode as oe, toDisplayString as w, Fragment as R, createVNode as $, createCommentVNode as M, createBlock as G, withCtx as N, renderList as H, toRef as _r, useTemplateRef as kr, provide as zr, useId as Sr, inject as Ir, onUnmounted as $r, Transition as Cr, triggerRef as Tr, isMemoSame as Nr, mergeProps as Ar, toHandlers as Er, withModifiers as Dr, defineCustomElement as he } from "vue";
|
|
9
|
+
import { currentWeekStartEnd as kt, subtractDays as qt, addDays as Ht, isBefore as pt, isAfter as mt, startOfMonth as et, endOfMonth as tt, rawConvert as Lr, convertGamePeriodResults as Pr, gameProps as Mr, COLUMNS_STANDINGS_SHORT as jr } from "@mjsz-vbr-elements/core";
|
|
10
|
+
import { Image as Me, I18NProvider as fe, ErrorProvider as Te, ErrorNotice as Ne, LoadingIndicator as Wt, FetchMoreObserver as Or, BaseSelect as me, StatisticsTable as Jt, Paginator as Gr, AdditionalStandingsText as je, ResponsiveTable as Rr, DataTable as Yr, FloatingPanel as Ur } from "@mjsz-vbr-elements/core/components";
|
|
11
|
+
import { format as X, convert as Ke, isBefore as Kr, isAfter as Xt, offsetName as Ve, getLocalTimezone as Fe, externalGameLinkResolver as vt, WidgetError as Qt, InvalidSeasonName as Oe, sortGames as Zt, convertPhaseName as Vr, rawConvert as Fr, playerName as Br, teamName as qr, scheduleOptionalRowClass as Hr, convertTimesMinToMinSec as Wr, convertTimesSecToMin as Jr, externalTeamLinkResolver as Xr, sortByDomNode as Qr } from "@mjsz-vbr-elements/core/utils";
|
|
12
12
|
import { useError as Be, useServices as ee, useI18n as ce, useSort as Zr, usePage as ea, useLazyLoadingState as ta, fetchVBRData as ra, useVisibilityChange as aa, useColumns as oa } from "@mjsz-vbr-elements/core/composables";
|
|
13
|
-
import { COLUMNS_SCHEDULE as er, COLUMNS_STANDINGS_P_3 as ia, COLUMNS_FIELD_PLAYERS as Ee, COLUMNS_FIELD_PLAYERS_PENALTY as na, COLUMNS_GOALIES as
|
|
14
|
-
import { SORT_STATE_DESCEND as
|
|
13
|
+
import { COLUMNS_SCHEDULE as er, COLUMNS_STANDINGS_P_3 as ia, COLUMNS_FIELD_PLAYERS as Ee, COLUMNS_FIELD_PLAYERS_PENALTY as na, COLUMNS_GOALIES as zt, COLUMNS_TEAMS_FAIRPLAY as sa, COLUMNS_TEAMS_PENALTY_KILLING as la, COLUMNS_TEAMS_POWERPLAY as ca, COLUMNS_SCORING_EFFICIENCY as da } from "@mjsz-vbr-elements/core/columns";
|
|
14
|
+
import { SORT_STATE_DESCEND as J } from "@mjsz-vbr-elements/core/constants";
|
|
15
15
|
const ga = "Schedule", ua = "Application form", pa = { 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):" }, ma = { 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" }, va = { 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" }, ba = { section: { short: "Section", tooltip: "Section" }, organizer: { short: "Organizer", tooltip: "Organizer Team" }, document: { short: "Document", tooltip: "Application Form/Schedule" } }, ha = { gamesPlayed: "Games played", todaysGames: "Today's games", nextGames: "Next games", weekGames: "Games of the week", noGame: "No games can be displayed", more: "More" }, fa = { allSchedule: "Games Schedule", errorText: "Something went wrong!", errorCta: "Try Again" }, ye = {
|
|
16
16
|
schedule: ga,
|
|
17
17
|
registration: ua,
|
|
@@ -35,37 +35,37 @@ function $a(t, e) {
|
|
|
35
35
|
return e.value = { firstGame: t.firstGame, lastGame: t.lastGame }, Lr(t.games, Pr);
|
|
36
36
|
}
|
|
37
37
|
const q = /* @__PURE__ */ new Date(), De = (/* @__PURE__ */ new Map()).set(Se, () => ({ min: q, max: q, month: null, id: null })).set(Ge, () => ({
|
|
38
|
-
min:
|
|
39
|
-
max:
|
|
38
|
+
min: kt().startDate,
|
|
39
|
+
max: kt().endDate,
|
|
40
40
|
month: null,
|
|
41
41
|
id: null
|
|
42
42
|
})).set(ve, (t = null) => {
|
|
43
|
-
const { year: e, month: r } =
|
|
43
|
+
const { year: e, month: r } = St(t);
|
|
44
44
|
return {
|
|
45
|
-
min:
|
|
46
|
-
max:
|
|
45
|
+
min: It(new Date(e, r, 1), !0),
|
|
46
|
+
max: $t(new Date(e, r, 1), !0),
|
|
47
47
|
id: `${e}-${r}`
|
|
48
48
|
};
|
|
49
49
|
}).set(Ie, (t = null) => {
|
|
50
|
-
const { year: e, month: r } =
|
|
50
|
+
const { year: e, month: r } = St(t);
|
|
51
51
|
return {
|
|
52
|
-
min:
|
|
53
|
-
max:
|
|
52
|
+
min: It(new Date(e, r, 1)),
|
|
53
|
+
max: $t(new Date(e, r, 1)),
|
|
54
54
|
id: `${e}-${r}`
|
|
55
55
|
};
|
|
56
|
-
}), Ca = (/* @__PURE__ */ new Map()).set(Se, () => []).set(ve, (t, e) =>
|
|
57
|
-
function Na(t, e, r) {
|
|
58
|
-
return ut(t, e) ? [] : pt(t, r) ? [e, r] : [e, t];
|
|
59
|
-
}
|
|
56
|
+
}), Ca = (/* @__PURE__ */ new Map()).set(Se, () => []).set(ve, (t, e) => Ta(qt(q, 1), t, e)).set(Ie, (t, e) => Na(Ht(q, 1), t, e)).set(Ge, () => []);
|
|
60
57
|
function Ta(t, e, r) {
|
|
61
|
-
return
|
|
58
|
+
return pt(t, e) ? [] : mt(t, r) ? [e, r] : [e, t];
|
|
59
|
+
}
|
|
60
|
+
function Na(t, e, r) {
|
|
61
|
+
return pt(t, e) ? [e, r] : mt(t, r) ? [] : [t, r];
|
|
62
62
|
}
|
|
63
63
|
function Aa(t, e, r, a = "hu") {
|
|
64
64
|
t = new Date(t), e = new Date(e);
|
|
65
65
|
const o = [], i = t;
|
|
66
|
-
for (; i <= e; ) {
|
|
66
|
+
for (; i.getTime() <= e.getTime(); ) {
|
|
67
67
|
const s = i.toLocaleString(a, { month: "short" });
|
|
68
|
-
n(s), i.setMonth(i.getMonth() + 1);
|
|
68
|
+
n(s), i.setDate(1), i.setMonth(i.getMonth() + 1);
|
|
69
69
|
}
|
|
70
70
|
if (i.getMonth() === e.getMonth()) {
|
|
71
71
|
const s = e.toLocaleString(a, { month: "short" });
|
|
@@ -79,33 +79,33 @@ function Aa(t, e, r, a = "hu") {
|
|
|
79
79
|
}
|
|
80
80
|
return o;
|
|
81
81
|
}
|
|
82
|
-
function
|
|
82
|
+
function St(t) {
|
|
83
83
|
if (!t)
|
|
84
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
|
-
function
|
|
88
|
+
function It(t, e) {
|
|
89
89
|
if (e)
|
|
90
90
|
return et(t);
|
|
91
91
|
const r = Ht(q, 1);
|
|
92
|
-
return
|
|
92
|
+
return pt(et(t), r) ? r : et(t);
|
|
93
93
|
}
|
|
94
|
-
function
|
|
94
|
+
function $t(t, e = !1) {
|
|
95
95
|
if (e) {
|
|
96
96
|
const r = qt(q, 1);
|
|
97
|
-
return
|
|
97
|
+
return mt(tt(t), r) ? r : tt(t);
|
|
98
98
|
}
|
|
99
99
|
return tt(t);
|
|
100
100
|
}
|
|
101
|
-
function
|
|
101
|
+
function st(t) {
|
|
102
102
|
return fr() ? (yr(t), !0) : !1;
|
|
103
103
|
}
|
|
104
|
-
const
|
|
104
|
+
const lt = typeof window < "u" && typeof document < "u";
|
|
105
105
|
typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
|
|
106
|
-
const Ea = (t) => typeof t < "u", Da = Object.prototype.toString, La = (t) => Da.call(t) === "[object Object]",
|
|
106
|
+
const Ea = (t) => typeof t < "u", Da = Object.prototype.toString, La = (t) => Da.call(t) === "[object Object]", Z = () => {
|
|
107
107
|
};
|
|
108
|
-
function
|
|
108
|
+
function bt(t, e) {
|
|
109
109
|
function r(...a) {
|
|
110
110
|
return new Promise((o, i) => {
|
|
111
111
|
Promise.resolve(t(() => e.apply(this, a), { fn: e, thisArg: this, args: a })).then(o).catch(i);
|
|
@@ -115,34 +115,35 @@ function vt(t, e) {
|
|
|
115
115
|
}
|
|
116
116
|
const tr = (t) => t();
|
|
117
117
|
function Pa(t, e = {}) {
|
|
118
|
-
let r, a, o =
|
|
119
|
-
const i = (
|
|
120
|
-
clearTimeout(
|
|
118
|
+
let r, a, o = Z;
|
|
119
|
+
const i = (l) => {
|
|
120
|
+
clearTimeout(l), o(), o = Z;
|
|
121
121
|
};
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
122
|
+
let n;
|
|
123
|
+
return (l) => {
|
|
124
|
+
const c = Y(t), g = Y(e.maxWait);
|
|
125
|
+
return r && i(r), c <= 0 || g !== void 0 && g <= 0 ? (a && (i(a), a = null), Promise.resolve(l())) : new Promise((m, f) => {
|
|
126
|
+
o = e.rejectOnCancel ? f : m, n = l, g && !a && (a = setTimeout(() => {
|
|
127
|
+
r && i(r), a = null, m(n());
|
|
128
|
+
}, g)), r = setTimeout(() => {
|
|
129
|
+
a && i(a), a = null, m(l());
|
|
130
|
+
}, c);
|
|
130
131
|
});
|
|
131
132
|
};
|
|
132
133
|
}
|
|
133
134
|
function Ma(...t) {
|
|
134
|
-
let e = 0, r, a = !0, o =
|
|
135
|
+
let e = 0, r, a = !0, o = Z, i, n, s, l, c;
|
|
135
136
|
!de(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
137
|
const g = () => {
|
|
137
|
-
r && (clearTimeout(r), r = void 0, o(), o =
|
|
138
|
+
r && (clearTimeout(r), r = void 0, o(), o = Z);
|
|
138
139
|
};
|
|
139
140
|
return (f) => {
|
|
140
|
-
const
|
|
141
|
-
return g(),
|
|
141
|
+
const b = Y(n), S = Date.now() - e, h = () => i = f();
|
|
142
|
+
return g(), b <= 0 ? (e = Date.now(), h()) : (S > b && (l || !a) ? (e = Date.now(), h()) : s && (i = new Promise((C, x) => {
|
|
142
143
|
o = c ? x : C, r = setTimeout(() => {
|
|
143
144
|
e = Date.now(), a = !0, C(h()), g();
|
|
144
|
-
}, Math.max(0,
|
|
145
|
-
})), !l && !r && (r = setTimeout(() => a = !0,
|
|
145
|
+
}, Math.max(0, b - S));
|
|
146
|
+
})), !l && !r && (r = setTimeout(() => a = !0, b)), a = !1, i);
|
|
146
147
|
};
|
|
147
148
|
}
|
|
148
149
|
function ja(t = tr) {
|
|
@@ -158,7 +159,7 @@ function ja(t = tr) {
|
|
|
158
159
|
};
|
|
159
160
|
return { isActive: wr(e), pause: r, resume: a, eventFilter: o };
|
|
160
161
|
}
|
|
161
|
-
function
|
|
162
|
+
function ct(t, e = !1, r = "Timeout") {
|
|
162
163
|
return new Promise((a, o) => {
|
|
163
164
|
setTimeout(e ? () => o(r) : a, t);
|
|
164
165
|
});
|
|
@@ -166,17 +167,17 @@ function lt(t, e = !1, r = "Timeout") {
|
|
|
166
167
|
function Oa(t) {
|
|
167
168
|
return Bt();
|
|
168
169
|
}
|
|
169
|
-
function
|
|
170
|
+
function rt(t) {
|
|
170
171
|
return Array.isArray(t) ? t : [t];
|
|
171
172
|
}
|
|
172
173
|
function Ga(t, e = 200, r = {}) {
|
|
173
|
-
return
|
|
174
|
+
return bt(
|
|
174
175
|
Pa(e, r),
|
|
175
176
|
t
|
|
176
177
|
);
|
|
177
178
|
}
|
|
178
179
|
function Ra(t, e = 200, r = !1, a = !0, o = !1) {
|
|
179
|
-
return
|
|
180
|
+
return bt(
|
|
180
181
|
Ma(e, r, a, o),
|
|
181
182
|
t
|
|
182
183
|
);
|
|
@@ -188,7 +189,7 @@ function Ya(t, e, r = {}) {
|
|
|
188
189
|
} = r;
|
|
189
190
|
return se(
|
|
190
191
|
t,
|
|
191
|
-
|
|
192
|
+
bt(
|
|
192
193
|
a,
|
|
193
194
|
e
|
|
194
195
|
),
|
|
@@ -210,48 +211,48 @@ function Ua(t, e, r = {}) {
|
|
|
210
211
|
), pause: n, resume: s, isActive: l };
|
|
211
212
|
}
|
|
212
213
|
function Ka(t, e = !0, r) {
|
|
213
|
-
Oa() ?
|
|
214
|
+
Oa() ? ut(t, r) : e ? t() : ze(t);
|
|
214
215
|
}
|
|
215
|
-
function
|
|
216
|
-
function r(m, { flush: f = "sync", deep:
|
|
216
|
+
function dt(t, e = !1) {
|
|
217
|
+
function r(m, { flush: f = "sync", deep: b = !1, timeout: S, throwOnTimeout: h } = {}) {
|
|
217
218
|
let C = null;
|
|
218
219
|
const z = [new Promise((y) => {
|
|
219
220
|
C = se(
|
|
220
221
|
t,
|
|
221
|
-
(
|
|
222
|
-
m(
|
|
222
|
+
(v) => {
|
|
223
|
+
m(v) !== e && (C ? C() : ze(() => C == null ? void 0 : C()), y(v));
|
|
223
224
|
},
|
|
224
225
|
{
|
|
225
226
|
flush: f,
|
|
226
|
-
deep:
|
|
227
|
+
deep: b,
|
|
227
228
|
immediate: !0
|
|
228
229
|
}
|
|
229
230
|
);
|
|
230
231
|
})];
|
|
231
232
|
return S != null && z.push(
|
|
232
|
-
|
|
233
|
+
ct(S, h).then(() => Y(t)).finally(() => C == null ? void 0 : C())
|
|
233
234
|
), Promise.race(z);
|
|
234
235
|
}
|
|
235
236
|
function a(m, f) {
|
|
236
237
|
if (!de(m))
|
|
237
|
-
return r((
|
|
238
|
-
const { flush:
|
|
238
|
+
return r((v) => v === m, f);
|
|
239
|
+
const { flush: b = "sync", deep: S = !1, timeout: h, throwOnTimeout: C } = f ?? {};
|
|
239
240
|
let x = null;
|
|
240
|
-
const y = [new Promise((
|
|
241
|
+
const y = [new Promise((v) => {
|
|
241
242
|
x = se(
|
|
242
243
|
[t, m],
|
|
243
244
|
([I, E]) => {
|
|
244
|
-
e !== (I === E) && (x ? x() : ze(() => x == null ? void 0 : x()),
|
|
245
|
+
e !== (I === E) && (x ? x() : ze(() => x == null ? void 0 : x()), v(I));
|
|
245
246
|
},
|
|
246
247
|
{
|
|
247
|
-
flush:
|
|
248
|
+
flush: b,
|
|
248
249
|
deep: S,
|
|
249
250
|
immediate: !0
|
|
250
251
|
}
|
|
251
252
|
);
|
|
252
253
|
})];
|
|
253
254
|
return h != null && y.push(
|
|
254
|
-
|
|
255
|
+
ct(h, C).then(() => Y(t)).finally(() => (x == null || x(), Y(t)))
|
|
255
256
|
), Promise.race(y);
|
|
256
257
|
}
|
|
257
258
|
function o(m) {
|
|
@@ -267,25 +268,25 @@ function ct(t, e = !1) {
|
|
|
267
268
|
return r(Number.isNaN, m);
|
|
268
269
|
}
|
|
269
270
|
function l(m, f) {
|
|
270
|
-
return r((
|
|
271
|
-
const S = Array.from(
|
|
272
|
-
return S.includes(m) || S.includes(
|
|
271
|
+
return r((b) => {
|
|
272
|
+
const S = Array.from(b);
|
|
273
|
+
return S.includes(m) || S.includes(Y(m));
|
|
273
274
|
}, f);
|
|
274
275
|
}
|
|
275
276
|
function c(m) {
|
|
276
277
|
return g(1, m);
|
|
277
278
|
}
|
|
278
279
|
function g(m = 1, f) {
|
|
279
|
-
let
|
|
280
|
-
return r(() => (
|
|
280
|
+
let b = -1;
|
|
281
|
+
return r(() => (b += 1, b >= m), f);
|
|
281
282
|
}
|
|
282
|
-
return Array.isArray(
|
|
283
|
+
return Array.isArray(Y(t)) ? {
|
|
283
284
|
toMatch: r,
|
|
284
285
|
toContains: l,
|
|
285
286
|
changed: c,
|
|
286
287
|
changedTimes: g,
|
|
287
288
|
get not() {
|
|
288
|
-
return
|
|
289
|
+
return dt(t, !e);
|
|
289
290
|
}
|
|
290
291
|
} : {
|
|
291
292
|
toMatch: r,
|
|
@@ -297,12 +298,12 @@ function ct(t, e = !1) {
|
|
|
297
298
|
changed: c,
|
|
298
299
|
changedTimes: g,
|
|
299
300
|
get not() {
|
|
300
|
-
return
|
|
301
|
+
return dt(t, !e);
|
|
301
302
|
}
|
|
302
303
|
};
|
|
303
304
|
}
|
|
304
305
|
function Va(t) {
|
|
305
|
-
return
|
|
306
|
+
return dt(t);
|
|
306
307
|
}
|
|
307
308
|
function Ct(t, e = 1e3, r = {}) {
|
|
308
309
|
const {
|
|
@@ -318,55 +319,77 @@ function Ct(t, e = 1e3, r = {}) {
|
|
|
318
319
|
n.value = !1, s();
|
|
319
320
|
}
|
|
320
321
|
function c() {
|
|
321
|
-
const g =
|
|
322
|
+
const g = Y(e);
|
|
322
323
|
g <= 0 || (n.value = !0, o && t(), s(), n.value && (i = setInterval(t, g)));
|
|
323
324
|
}
|
|
324
|
-
if (a &&
|
|
325
|
+
if (a && lt && c(), de(e) || typeof e == "function") {
|
|
325
326
|
const g = se(e, () => {
|
|
326
|
-
n.value &&
|
|
327
|
+
n.value && lt && c();
|
|
327
328
|
});
|
|
328
|
-
|
|
329
|
+
st(g);
|
|
329
330
|
}
|
|
330
|
-
return
|
|
331
|
+
return st(l), {
|
|
331
332
|
isActive: n,
|
|
332
333
|
pause: l,
|
|
333
334
|
resume: c
|
|
334
335
|
};
|
|
335
336
|
}
|
|
336
|
-
|
|
337
|
+
function Fa(t, e, r) {
|
|
338
|
+
return se(
|
|
339
|
+
t,
|
|
340
|
+
e,
|
|
341
|
+
{
|
|
342
|
+
...r,
|
|
343
|
+
immediate: !0
|
|
344
|
+
}
|
|
345
|
+
);
|
|
346
|
+
}
|
|
347
|
+
const ht = lt ? window : void 0;
|
|
337
348
|
function ue(t) {
|
|
338
349
|
var e;
|
|
339
|
-
const r =
|
|
350
|
+
const r = Y(t);
|
|
340
351
|
return (e = r == null ? void 0 : r.$el) != null ? e : r;
|
|
341
352
|
}
|
|
342
353
|
function Re(...t) {
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
354
|
+
const e = [], r = () => {
|
|
355
|
+
e.forEach((s) => s()), e.length = 0;
|
|
356
|
+
}, a = (s, l, c, g) => (s.addEventListener(l, c, g), () => s.removeEventListener(l, c, g)), o = A(() => {
|
|
357
|
+
const s = rt(Y(t[0])).filter((l) => l != null);
|
|
358
|
+
return s.every((l) => typeof l != "string") ? s : void 0;
|
|
359
|
+
}), i = Fa(
|
|
360
|
+
() => {
|
|
361
|
+
var s, l;
|
|
362
|
+
return [
|
|
363
|
+
(l = (s = o.value) == null ? void 0 : s.map((c) => ue(c))) != null ? l : [ht].filter((c) => c != null),
|
|
364
|
+
rt(Y(o.value ? t[1] : t[0])),
|
|
365
|
+
rt(d(o.value ? t[2] : t[1])),
|
|
366
|
+
// @ts-expect-error - TypeScript gets the correct types, but somehow still complains
|
|
367
|
+
Y(o.value ? t[3] : t[2])
|
|
368
|
+
];
|
|
369
|
+
},
|
|
370
|
+
([s, l, c, g]) => {
|
|
371
|
+
if (r(), !(s != null && s.length) || !(l != null && l.length) || !(c != null && c.length))
|
|
353
372
|
return;
|
|
354
|
-
const
|
|
355
|
-
|
|
356
|
-
...
|
|
373
|
+
const m = La(g) ? { ...g } : g;
|
|
374
|
+
e.push(
|
|
375
|
+
...s.flatMap(
|
|
376
|
+
(f) => l.flatMap(
|
|
377
|
+
(b) => c.map((S) => a(f, b, S, m))
|
|
378
|
+
)
|
|
379
|
+
)
|
|
357
380
|
);
|
|
358
381
|
},
|
|
359
|
-
{
|
|
360
|
-
),
|
|
361
|
-
|
|
382
|
+
{ flush: "post" }
|
|
383
|
+
), n = () => {
|
|
384
|
+
i(), r();
|
|
362
385
|
};
|
|
363
|
-
return
|
|
386
|
+
return st(r), n;
|
|
364
387
|
}
|
|
365
388
|
function be(t, e) {
|
|
366
389
|
const {
|
|
367
390
|
interrupt: r = !0,
|
|
368
|
-
onError: a =
|
|
369
|
-
onFinished: o =
|
|
391
|
+
onError: a = Z,
|
|
392
|
+
onFinished: o = Z,
|
|
370
393
|
signal: i
|
|
371
394
|
} = {}, n = {
|
|
372
395
|
aborted: "aborted",
|
|
@@ -382,7 +405,7 @@ function be(t, e) {
|
|
|
382
405
|
function g(m, f) {
|
|
383
406
|
c.value++, l[c.value].data = f, l[c.value].state = m;
|
|
384
407
|
}
|
|
385
|
-
return t.reduce((m, f) => m.then((
|
|
408
|
+
return t.reduce((m, f) => m.then((b) => {
|
|
386
409
|
var S;
|
|
387
410
|
if (i != null && i.aborted) {
|
|
388
411
|
g(n.aborted, new Error("aborted"));
|
|
@@ -392,38 +415,38 @@ function be(t, e) {
|
|
|
392
415
|
o();
|
|
393
416
|
return;
|
|
394
417
|
}
|
|
395
|
-
const h = f(
|
|
396
|
-
return i ? Promise.race([h,
|
|
397
|
-
}).catch((
|
|
418
|
+
const h = f(b).then((C) => (g(n.fulfilled, C), c.value === t.length - 1 && o(), C));
|
|
419
|
+
return i ? Promise.race([h, Ba(i)]) : h;
|
|
420
|
+
}).catch((b) => i != null && i.aborted ? (g(n.aborted, b), b) : (g(n.rejected, b), a(), b)), Promise.resolve()), {
|
|
398
421
|
activeIndex: c,
|
|
399
422
|
result: l
|
|
400
423
|
};
|
|
401
424
|
}
|
|
402
|
-
function
|
|
425
|
+
function Ba(t) {
|
|
403
426
|
return new Promise((e, r) => {
|
|
404
427
|
const a = new Error("aborted");
|
|
405
428
|
t.aborted ? r(a) : t.addEventListener("abort", () => r(a), { once: !0 });
|
|
406
429
|
});
|
|
407
430
|
}
|
|
408
|
-
function
|
|
431
|
+
function qa(t, e, r) {
|
|
409
432
|
const {
|
|
410
433
|
immediate: a = !0,
|
|
411
434
|
delay: o = 0,
|
|
412
|
-
onError: i =
|
|
413
|
-
onSuccess: n =
|
|
435
|
+
onError: i = Z,
|
|
436
|
+
onSuccess: n = Z,
|
|
414
437
|
resetOnExecute: s = !0,
|
|
415
438
|
shallow: l = !0,
|
|
416
439
|
throwError: c
|
|
417
|
-
} = r ?? {}, g = l ? Pe(e) : j(e), m = j(!1), f = j(!1),
|
|
440
|
+
} = r ?? {}, g = l ? Pe(e) : j(e), m = j(!1), f = j(!1), b = Pe(void 0);
|
|
418
441
|
async function S(x = 0, ...z) {
|
|
419
|
-
s && (g.value = e),
|
|
442
|
+
s && (g.value = e), b.value = void 0, m.value = !1, f.value = !0, x > 0 && await ct(x);
|
|
420
443
|
const y = typeof t == "function" ? t(...z) : t;
|
|
421
444
|
try {
|
|
422
|
-
const
|
|
423
|
-
g.value =
|
|
424
|
-
} catch (
|
|
425
|
-
if (
|
|
426
|
-
throw
|
|
445
|
+
const v = await y;
|
|
446
|
+
g.value = v, m.value = !0, n(v);
|
|
447
|
+
} catch (v) {
|
|
448
|
+
if (b.value = v, i(v), c)
|
|
449
|
+
throw v;
|
|
427
450
|
} finally {
|
|
428
451
|
f.value = !1;
|
|
429
452
|
}
|
|
@@ -434,7 +457,7 @@ function Ba(t, e, r) {
|
|
|
434
457
|
state: g,
|
|
435
458
|
isReady: m,
|
|
436
459
|
isLoading: f,
|
|
437
|
-
error:
|
|
460
|
+
error: b,
|
|
438
461
|
execute: S
|
|
439
462
|
};
|
|
440
463
|
function C() {
|
|
@@ -449,16 +472,16 @@ function Ba(t, e, r) {
|
|
|
449
472
|
}
|
|
450
473
|
};
|
|
451
474
|
}
|
|
452
|
-
function
|
|
475
|
+
function Ha(t) {
|
|
453
476
|
return JSON.parse(JSON.stringify(t));
|
|
454
477
|
}
|
|
455
|
-
const
|
|
456
|
-
function
|
|
478
|
+
const Tt = 1;
|
|
479
|
+
function Wa(t, e = {}) {
|
|
457
480
|
const {
|
|
458
481
|
throttle: r = 0,
|
|
459
482
|
idle: a = 200,
|
|
460
|
-
onStop: o =
|
|
461
|
-
onScroll: i =
|
|
483
|
+
onStop: o = Z,
|
|
484
|
+
onScroll: i = Z,
|
|
462
485
|
offset: n = {
|
|
463
486
|
left: 0,
|
|
464
487
|
right: 0,
|
|
@@ -470,11 +493,11 @@ function Ha(t, e = {}) {
|
|
|
470
493
|
passive: !0
|
|
471
494
|
},
|
|
472
495
|
behavior: l = "auto",
|
|
473
|
-
window: c =
|
|
496
|
+
window: c = ht,
|
|
474
497
|
onError: g = (k) => {
|
|
475
498
|
console.error(k);
|
|
476
499
|
}
|
|
477
|
-
} = e, m = j(0), f = j(0),
|
|
500
|
+
} = e, m = j(0), f = j(0), b = A({
|
|
478
501
|
get() {
|
|
479
502
|
return m.value;
|
|
480
503
|
},
|
|
@@ -490,19 +513,19 @@ function Ha(t, e = {}) {
|
|
|
490
513
|
}
|
|
491
514
|
});
|
|
492
515
|
function h(k, P) {
|
|
493
|
-
var D,
|
|
516
|
+
var D, W, ne, te;
|
|
494
517
|
if (!c)
|
|
495
518
|
return;
|
|
496
|
-
const F =
|
|
519
|
+
const F = Y(t);
|
|
497
520
|
if (!F)
|
|
498
521
|
return;
|
|
499
522
|
(ne = F instanceof Document ? c.document.body : F) == null || ne.scrollTo({
|
|
500
|
-
top: (D =
|
|
501
|
-
left: (
|
|
502
|
-
behavior:
|
|
523
|
+
top: (D = Y(P)) != null ? D : S.value,
|
|
524
|
+
left: (W = Y(k)) != null ? W : b.value,
|
|
525
|
+
behavior: Y(l)
|
|
503
526
|
});
|
|
504
|
-
const
|
|
505
|
-
|
|
527
|
+
const T = ((te = F == null ? void 0 : F.document) == null ? void 0 : te.documentElement) || (F == null ? void 0 : F.documentElement) || F;
|
|
528
|
+
b != null && (m.value = T.scrollLeft), S != null && (f.value = T.scrollTop);
|
|
506
529
|
}
|
|
507
530
|
const C = j(!1), x = le({
|
|
508
531
|
left: !0,
|
|
@@ -516,24 +539,24 @@ function Ha(t, e = {}) {
|
|
|
516
539
|
bottom: !1
|
|
517
540
|
}), y = (k) => {
|
|
518
541
|
C.value && (C.value = !1, z.left = !1, z.right = !1, z.top = !1, z.bottom = !1, o(k));
|
|
519
|
-
},
|
|
542
|
+
}, v = Ga(y, r + a), I = (k) => {
|
|
520
543
|
var P;
|
|
521
544
|
if (!c)
|
|
522
545
|
return;
|
|
523
|
-
const D = ((P = k == null ? void 0 : k.document) == null ? void 0 : P.documentElement) || (k == null ? void 0 : k.documentElement) || ue(k), { display:
|
|
524
|
-
z.left =
|
|
525
|
-
const O =
|
|
526
|
-
|
|
546
|
+
const D = ((P = k == null ? void 0 : k.document) == null ? void 0 : P.documentElement) || (k == null ? void 0 : k.documentElement) || ue(k), { display: W, flexDirection: ne, direction: te } = getComputedStyle(D), F = te === "rtl" ? -1 : 1, T = D.scrollLeft;
|
|
547
|
+
z.left = T < m.value, z.right = T > m.value;
|
|
548
|
+
const O = T * F <= (n.left || 0), ae = T * F + D.clientWidth >= D.scrollWidth - (n.right || 0) - Tt;
|
|
549
|
+
W === "flex" && ne === "row-reverse" ? (x.left = ae, x.right = O) : (x.left = O, x.right = ae), m.value = T;
|
|
527
550
|
let B = D.scrollTop;
|
|
528
551
|
k === c.document && !B && (B = c.document.body.scrollTop), z.top = B < f.value, z.bottom = B > f.value;
|
|
529
|
-
const re = B <= (n.top || 0), Ze = B + D.clientHeight >= D.scrollHeight - (n.bottom || 0) -
|
|
530
|
-
|
|
552
|
+
const re = B <= (n.top || 0), Ze = B + D.clientHeight >= D.scrollHeight - (n.bottom || 0) - Tt;
|
|
553
|
+
W === "flex" && ne === "column-reverse" ? (x.top = Ze, x.bottom = re) : (x.top = re, x.bottom = Ze), f.value = B;
|
|
531
554
|
}, E = (k) => {
|
|
532
555
|
var P;
|
|
533
556
|
if (!c)
|
|
534
557
|
return;
|
|
535
558
|
const D = (P = k.target.documentElement) != null ? P : k.target;
|
|
536
|
-
I(D), C.value = !0,
|
|
559
|
+
I(D), C.value = !0, v(k), i(k);
|
|
537
560
|
};
|
|
538
561
|
return Re(
|
|
539
562
|
t,
|
|
@@ -542,7 +565,7 @@ function Ha(t, e = {}) {
|
|
|
542
565
|
s
|
|
543
566
|
), Ka(() => {
|
|
544
567
|
try {
|
|
545
|
-
const k =
|
|
568
|
+
const k = Y(t);
|
|
546
569
|
if (!k)
|
|
547
570
|
return;
|
|
548
571
|
I(k);
|
|
@@ -555,13 +578,13 @@ function Ha(t, e = {}) {
|
|
|
555
578
|
y,
|
|
556
579
|
s
|
|
557
580
|
), {
|
|
558
|
-
x:
|
|
581
|
+
x: b,
|
|
559
582
|
y: S,
|
|
560
583
|
isScrolling: C,
|
|
561
584
|
arrivedState: x,
|
|
562
585
|
directions: z,
|
|
563
586
|
measure() {
|
|
564
|
-
const k =
|
|
587
|
+
const k = Y(t);
|
|
565
588
|
c && k && I(k);
|
|
566
589
|
}
|
|
567
590
|
};
|
|
@@ -573,7 +596,7 @@ function rr(t = "history", e = {}) {
|
|
|
573
596
|
removeFalsyValues: o = !1,
|
|
574
597
|
write: i = !0,
|
|
575
598
|
writeMode: n = "replace",
|
|
576
|
-
window: s =
|
|
599
|
+
window: s = ht
|
|
577
600
|
} = e;
|
|
578
601
|
if (!s)
|
|
579
602
|
return le(r);
|
|
@@ -582,44 +605,44 @@ function rr(t = "history", e = {}) {
|
|
|
582
605
|
if (t === "history")
|
|
583
606
|
return s.location.search || "";
|
|
584
607
|
if (t === "hash") {
|
|
585
|
-
const y = s.location.hash || "",
|
|
586
|
-
return
|
|
608
|
+
const y = s.location.hash || "", v = y.indexOf("?");
|
|
609
|
+
return v > 0 ? y.slice(v) : "";
|
|
587
610
|
} else
|
|
588
611
|
return (s.location.hash || "").replace(/^#/, "");
|
|
589
612
|
}
|
|
590
613
|
function g(y) {
|
|
591
|
-
const
|
|
614
|
+
const v = y.toString();
|
|
592
615
|
if (t === "history")
|
|
593
|
-
return `${
|
|
616
|
+
return `${v ? `?${v}` : ""}${s.location.hash || ""}`;
|
|
594
617
|
if (t === "hash-params")
|
|
595
|
-
return `${s.location.search || ""}${
|
|
618
|
+
return `${s.location.search || ""}${v ? `#${v}` : ""}`;
|
|
596
619
|
const I = s.location.hash || "#", E = I.indexOf("?");
|
|
597
|
-
return E > 0 ? `${s.location.search || ""}${I.slice(0, E)}${
|
|
620
|
+
return E > 0 ? `${s.location.search || ""}${I.slice(0, E)}${v ? `?${v}` : ""}` : `${s.location.search || ""}${I}${v ? `?${v}` : ""}`;
|
|
598
621
|
}
|
|
599
622
|
function m() {
|
|
600
623
|
return new URLSearchParams(c());
|
|
601
624
|
}
|
|
602
625
|
function f(y) {
|
|
603
|
-
const
|
|
626
|
+
const v = new Set(Object.keys(l));
|
|
604
627
|
for (const I of y.keys()) {
|
|
605
628
|
const E = y.getAll(I);
|
|
606
|
-
l[I] = E.length > 1 ? E : y.get(I) || "",
|
|
629
|
+
l[I] = E.length > 1 ? E : y.get(I) || "", v.delete(I);
|
|
607
630
|
}
|
|
608
|
-
Array.from(
|
|
631
|
+
Array.from(v).forEach((I) => delete l[I]);
|
|
609
632
|
}
|
|
610
|
-
const { pause:
|
|
633
|
+
const { pause: b, resume: S } = Ua(
|
|
611
634
|
l,
|
|
612
635
|
() => {
|
|
613
636
|
const y = new URLSearchParams("");
|
|
614
|
-
Object.keys(l).forEach((
|
|
615
|
-
const I = l[
|
|
616
|
-
Array.isArray(I) ? I.forEach((E) => y.append(
|
|
637
|
+
Object.keys(l).forEach((v) => {
|
|
638
|
+
const I = l[v];
|
|
639
|
+
Array.isArray(I) ? I.forEach((E) => y.append(v, E)) : a && I == null || o && !I ? y.delete(v) : y.set(v, I);
|
|
617
640
|
}), h(y, !1);
|
|
618
641
|
},
|
|
619
642
|
{ deep: !0 }
|
|
620
643
|
);
|
|
621
|
-
function h(y,
|
|
622
|
-
|
|
644
|
+
function h(y, v) {
|
|
645
|
+
b(), v && f(y), n === "replace" ? s.history.replaceState(
|
|
623
646
|
s.history.state,
|
|
624
647
|
s.document.title,
|
|
625
648
|
s.location.pathname + g(y)
|
|
@@ -637,7 +660,7 @@ function rr(t = "history", e = {}) {
|
|
|
637
660
|
const z = m();
|
|
638
661
|
return z.keys().next().value ? f(z) : Object.assign(l, r), l;
|
|
639
662
|
}
|
|
640
|
-
function
|
|
663
|
+
function Ja(t, e, r, a = {}) {
|
|
641
664
|
var o, i, n;
|
|
642
665
|
const {
|
|
643
666
|
clone: s = !1,
|
|
@@ -646,27 +669,27 @@ function Wa(t, e, r, a = {}) {
|
|
|
646
669
|
deep: g = !1,
|
|
647
670
|
defaultValue: m,
|
|
648
671
|
shouldEmit: f
|
|
649
|
-
} = a,
|
|
672
|
+
} = a, b = Bt(), S = r || (b == null ? void 0 : b.emit) || ((o = b == null ? void 0 : b.$emit) == null ? void 0 : o.bind(b)) || ((n = (i = b == null ? void 0 : b.proxy) == null ? void 0 : i.$emit) == null ? void 0 : n.bind(b == null ? void 0 : b.proxy));
|
|
650
673
|
let h = c;
|
|
651
674
|
e || (e = "modelValue"), h = h || `update:${e.toString()}`;
|
|
652
|
-
const C = (y) => s ? typeof s == "function" ? s(y) :
|
|
675
|
+
const C = (y) => s ? typeof s == "function" ? s(y) : Ha(y) : y, x = () => Ea(t[e]) ? C(t[e]) : m, z = (y) => {
|
|
653
676
|
f ? f(y) && S(h, y) : S(h, y);
|
|
654
677
|
};
|
|
655
678
|
if (l) {
|
|
656
|
-
const y = x(),
|
|
679
|
+
const y = x(), v = j(y);
|
|
657
680
|
let I = !1;
|
|
658
681
|
return se(
|
|
659
682
|
() => t[e],
|
|
660
683
|
(E) => {
|
|
661
|
-
I || (I = !0,
|
|
684
|
+
I || (I = !0, v.value = C(E), ze(() => I = !1));
|
|
662
685
|
}
|
|
663
686
|
), se(
|
|
664
|
-
|
|
687
|
+
v,
|
|
665
688
|
(E) => {
|
|
666
689
|
!I && (E !== t[e] || g) && z(E);
|
|
667
690
|
},
|
|
668
691
|
{ deep: g }
|
|
669
|
-
),
|
|
692
|
+
), v;
|
|
670
693
|
} else
|
|
671
694
|
return A({
|
|
672
695
|
get() {
|
|
@@ -677,10 +700,10 @@ function Wa(t, e, r, a = {}) {
|
|
|
677
700
|
}
|
|
678
701
|
});
|
|
679
702
|
}
|
|
680
|
-
function
|
|
703
|
+
function ft(t, e, r = {}) {
|
|
681
704
|
const a = {};
|
|
682
705
|
for (const o in t)
|
|
683
|
-
a[o] =
|
|
706
|
+
a[o] = Ja(
|
|
684
707
|
t,
|
|
685
708
|
o,
|
|
686
709
|
e,
|
|
@@ -691,7 +714,7 @@ function ht(t, e, r = {}) {
|
|
|
691
714
|
function L(t) {
|
|
692
715
|
return t != null && typeof t == "object" && t["@@functional/placeholder"] === !0;
|
|
693
716
|
}
|
|
694
|
-
function
|
|
717
|
+
function U(t) {
|
|
695
718
|
return function e(r) {
|
|
696
719
|
return arguments.length === 0 || L(r) ? e : t.apply(this, arguments);
|
|
697
720
|
};
|
|
@@ -702,19 +725,19 @@ function K(t) {
|
|
|
702
725
|
case 0:
|
|
703
726
|
return e;
|
|
704
727
|
case 1:
|
|
705
|
-
return L(r) ? e :
|
|
728
|
+
return L(r) ? e : U(function(o) {
|
|
706
729
|
return t(r, o);
|
|
707
730
|
});
|
|
708
731
|
default:
|
|
709
|
-
return L(r) && L(a) ? e : L(r) ?
|
|
732
|
+
return L(r) && L(a) ? e : L(r) ? U(function(o) {
|
|
710
733
|
return t(o, a);
|
|
711
|
-
}) : L(a) ?
|
|
734
|
+
}) : L(a) ? U(function(o) {
|
|
712
735
|
return t(r, o);
|
|
713
736
|
}) : t(r, a);
|
|
714
737
|
}
|
|
715
738
|
};
|
|
716
739
|
}
|
|
717
|
-
var
|
|
740
|
+
var Xa = /* @__PURE__ */ K(function(e, r) {
|
|
718
741
|
return Number(e) + Number(r);
|
|
719
742
|
});
|
|
720
743
|
function qe(t, e) {
|
|
@@ -776,10 +799,10 @@ function ar(t, e, r) {
|
|
|
776
799
|
return !s && i <= 0 ? r.apply(this, a) : qe(Math.max(0, i), ar(t, a, r));
|
|
777
800
|
};
|
|
778
801
|
}
|
|
779
|
-
var
|
|
780
|
-
return e === 1 ?
|
|
802
|
+
var Qa = /* @__PURE__ */ K(function(e, r) {
|
|
803
|
+
return e === 1 ? U(r) : qe(e, ar(e, [], r));
|
|
781
804
|
});
|
|
782
|
-
function
|
|
805
|
+
function yt(t) {
|
|
783
806
|
return function e(r, a, o) {
|
|
784
807
|
switch (arguments.length) {
|
|
785
808
|
case 0:
|
|
@@ -793,7 +816,7 @@ function ft(t) {
|
|
|
793
816
|
return t(i, a, n);
|
|
794
817
|
}) : L(a) ? K(function(i, n) {
|
|
795
818
|
return t(r, i, n);
|
|
796
|
-
}) :
|
|
819
|
+
}) : U(function(i) {
|
|
797
820
|
return t(r, a, i);
|
|
798
821
|
});
|
|
799
822
|
default:
|
|
@@ -803,11 +826,11 @@ function ft(t) {
|
|
|
803
826
|
return t(i, a, n);
|
|
804
827
|
}) : L(a) && L(o) ? K(function(i, n) {
|
|
805
828
|
return t(r, i, n);
|
|
806
|
-
}) : L(r) ?
|
|
829
|
+
}) : L(r) ? U(function(i) {
|
|
807
830
|
return t(i, a, o);
|
|
808
|
-
}) : L(a) ?
|
|
831
|
+
}) : L(a) ? U(function(i) {
|
|
809
832
|
return t(r, i, o);
|
|
810
|
-
}) : L(o) ?
|
|
833
|
+
}) : L(o) ? U(function(i) {
|
|
811
834
|
return t(r, a, i);
|
|
812
835
|
}) : t(r, a, o);
|
|
813
836
|
}
|
|
@@ -816,10 +839,10 @@ function ft(t) {
|
|
|
816
839
|
const He = Array.isArray || function(e) {
|
|
817
840
|
return e != null && e.length >= 0 && Object.prototype.toString.call(e) === "[object Array]";
|
|
818
841
|
};
|
|
819
|
-
function
|
|
842
|
+
function Za(t) {
|
|
820
843
|
return t != null && typeof t["@@transducer/step"] == "function";
|
|
821
844
|
}
|
|
822
|
-
function
|
|
845
|
+
function eo(t, e, r) {
|
|
823
846
|
return function() {
|
|
824
847
|
if (arguments.length === 0)
|
|
825
848
|
return r();
|
|
@@ -830,7 +853,7 @@ function Za(t, e, r) {
|
|
|
830
853
|
return a[t[o]].apply(a, Array.prototype.slice.call(arguments, 0, -1));
|
|
831
854
|
o += 1;
|
|
832
855
|
}
|
|
833
|
-
if (
|
|
856
|
+
if (Za(a)) {
|
|
834
857
|
var i = e.apply(null, Array.prototype.slice.call(arguments, 0, -1));
|
|
835
858
|
return i(a);
|
|
836
859
|
}
|
|
@@ -838,7 +861,7 @@ function Za(t, e, r) {
|
|
|
838
861
|
return r.apply(this, arguments);
|
|
839
862
|
};
|
|
840
863
|
}
|
|
841
|
-
const
|
|
864
|
+
const Nt = {
|
|
842
865
|
init: function() {
|
|
843
866
|
return this.xf["@@transducer/init"]();
|
|
844
867
|
},
|
|
@@ -859,35 +882,35 @@ function Et(t, e, r) {
|
|
|
859
882
|
}
|
|
860
883
|
return !1;
|
|
861
884
|
}
|
|
862
|
-
function
|
|
885
|
+
function to(t) {
|
|
863
886
|
var e = String(t).match(/^function (\w*)/);
|
|
864
887
|
return e == null ? "" : e[1];
|
|
865
888
|
}
|
|
866
889
|
function Ye(t, e) {
|
|
867
890
|
return Object.prototype.hasOwnProperty.call(e, t);
|
|
868
891
|
}
|
|
869
|
-
function
|
|
892
|
+
function ro(t, e) {
|
|
870
893
|
return t === e ? t !== 0 || 1 / t === 1 / e : t !== t && e !== e;
|
|
871
894
|
}
|
|
872
|
-
const
|
|
895
|
+
const at = typeof Object.is == "function" ? Object.is : ro;
|
|
873
896
|
var Dt = Object.prototype.toString, or = /* @__PURE__ */ function() {
|
|
874
897
|
return Dt.call(arguments) === "[object Arguments]" ? function(e) {
|
|
875
898
|
return Dt.call(e) === "[object Arguments]";
|
|
876
899
|
} : function(e) {
|
|
877
900
|
return Ye("callee", e);
|
|
878
901
|
};
|
|
879
|
-
}(),
|
|
902
|
+
}(), ao = !/* @__PURE__ */ {
|
|
880
903
|
toString: null
|
|
881
904
|
}.propertyIsEnumerable("toString"), Lt = ["constructor", "valueOf", "isPrototypeOf", "toString", "propertyIsEnumerable", "hasOwnProperty", "toLocaleString"], Pt = /* @__PURE__ */ function() {
|
|
882
905
|
return arguments.propertyIsEnumerable("length");
|
|
883
|
-
}(),
|
|
906
|
+
}(), oo = function(e, r) {
|
|
884
907
|
for (var a = 0; a < e.length; ) {
|
|
885
908
|
if (e[a] === r)
|
|
886
909
|
return !0;
|
|
887
910
|
a += 1;
|
|
888
911
|
}
|
|
889
912
|
return !1;
|
|
890
|
-
},
|
|
913
|
+
}, gt = /* @__PURE__ */ U(typeof Object.keys == "function" && !Pt ? function(e) {
|
|
891
914
|
return Object(e) !== e ? [] : Object.keys(e);
|
|
892
915
|
} : function(e) {
|
|
893
916
|
if (Object(e) !== e)
|
|
@@ -895,24 +918,24 @@ var Dt = Object.prototype.toString, or = /* @__PURE__ */ function() {
|
|
|
895
918
|
var r, a, o = [], i = Pt && or(e);
|
|
896
919
|
for (r in e)
|
|
897
920
|
Ye(r, e) && (!i || r !== "length") && (o[o.length] = r);
|
|
898
|
-
if (
|
|
921
|
+
if (ao)
|
|
899
922
|
for (a = Lt.length - 1; a >= 0; )
|
|
900
|
-
r = Lt[a], Ye(r, e) && !
|
|
923
|
+
r = Lt[a], Ye(r, e) && !oo(o, r) && (o[o.length] = r), a -= 1;
|
|
901
924
|
return o;
|
|
902
|
-
}), Mt = /* @__PURE__ */
|
|
925
|
+
}), Mt = /* @__PURE__ */ U(function(e) {
|
|
903
926
|
return e === null ? "Null" : e === void 0 ? "Undefined" : Object.prototype.toString.call(e).slice(8, -1);
|
|
904
927
|
});
|
|
905
928
|
function jt(t, e, r, a) {
|
|
906
929
|
var o = At(t), i = At(e);
|
|
907
930
|
function n(s, l) {
|
|
908
|
-
return
|
|
931
|
+
return wt(s, l, r.slice(), a.slice());
|
|
909
932
|
}
|
|
910
933
|
return !Et(function(s, l) {
|
|
911
934
|
return !Et(n, l, s);
|
|
912
935
|
}, i, o);
|
|
913
936
|
}
|
|
914
|
-
function
|
|
915
|
-
if (
|
|
937
|
+
function wt(t, e, r, a) {
|
|
938
|
+
if (at(t, e))
|
|
916
939
|
return !0;
|
|
917
940
|
var o = Mt(t);
|
|
918
941
|
if (o !== Mt(e))
|
|
@@ -925,17 +948,17 @@ function yt(t, e, r, a) {
|
|
|
925
948
|
case "Arguments":
|
|
926
949
|
case "Array":
|
|
927
950
|
case "Object":
|
|
928
|
-
if (typeof t.constructor == "function" &&
|
|
951
|
+
if (typeof t.constructor == "function" && to(t.constructor) === "Promise")
|
|
929
952
|
return t === e;
|
|
930
953
|
break;
|
|
931
954
|
case "Boolean":
|
|
932
955
|
case "Number":
|
|
933
956
|
case "String":
|
|
934
|
-
if (!(typeof t == typeof e &&
|
|
957
|
+
if (!(typeof t == typeof e && at(t.valueOf(), e.valueOf())))
|
|
935
958
|
return !1;
|
|
936
959
|
break;
|
|
937
960
|
case "Date":
|
|
938
|
-
if (!
|
|
961
|
+
if (!at(t.valueOf(), e.valueOf()))
|
|
939
962
|
return !1;
|
|
940
963
|
break;
|
|
941
964
|
case "Error":
|
|
@@ -978,57 +1001,57 @@ function yt(t, e, r, a) {
|
|
|
978
1001
|
default:
|
|
979
1002
|
return !1;
|
|
980
1003
|
}
|
|
981
|
-
var n =
|
|
982
|
-
if (n.length !==
|
|
1004
|
+
var n = gt(t);
|
|
1005
|
+
if (n.length !== gt(e).length)
|
|
983
1006
|
return !1;
|
|
984
1007
|
var s = r.concat([t]), l = a.concat([e]);
|
|
985
1008
|
for (i = n.length - 1; i >= 0; ) {
|
|
986
1009
|
var c = n[i];
|
|
987
|
-
if (!(Ye(c, e) &&
|
|
1010
|
+
if (!(Ye(c, e) && wt(e[c], t[c], s, l)))
|
|
988
1011
|
return !1;
|
|
989
1012
|
i -= 1;
|
|
990
1013
|
}
|
|
991
1014
|
return !0;
|
|
992
1015
|
}
|
|
993
|
-
var
|
|
994
|
-
return
|
|
1016
|
+
var io = /* @__PURE__ */ K(function(e, r) {
|
|
1017
|
+
return wt(e, r, [], []);
|
|
995
1018
|
});
|
|
996
|
-
function
|
|
1019
|
+
function no(t, e) {
|
|
997
1020
|
for (var r = 0, a = e.length, o = Array(a); r < a; )
|
|
998
1021
|
o[r] = t(e[r]), r += 1;
|
|
999
1022
|
return o;
|
|
1000
1023
|
}
|
|
1001
|
-
function
|
|
1024
|
+
function so(t, e, r) {
|
|
1002
1025
|
for (var a = 0, o = r.length; a < o; )
|
|
1003
1026
|
e = t(e, r[a]), a += 1;
|
|
1004
1027
|
return e;
|
|
1005
1028
|
}
|
|
1006
|
-
function
|
|
1029
|
+
function lo(t) {
|
|
1007
1030
|
return Object.prototype.toString.call(t) === "[object Object]";
|
|
1008
1031
|
}
|
|
1009
|
-
var
|
|
1032
|
+
var co = /* @__PURE__ */ function() {
|
|
1010
1033
|
function t(e, r) {
|
|
1011
1034
|
this.xf = r, this.f = e;
|
|
1012
1035
|
}
|
|
1013
|
-
return t.prototype["@@transducer/init"] =
|
|
1036
|
+
return t.prototype["@@transducer/init"] = Nt.init, t.prototype["@@transducer/result"] = Nt.result, t.prototype["@@transducer/step"] = function(e, r) {
|
|
1014
1037
|
return this.xf["@@transducer/step"](e, this.f(r));
|
|
1015
1038
|
}, t;
|
|
1016
|
-
}(),
|
|
1039
|
+
}(), go = function(e) {
|
|
1017
1040
|
return function(r) {
|
|
1018
|
-
return new
|
|
1041
|
+
return new co(e, r);
|
|
1019
1042
|
};
|
|
1020
|
-
},
|
|
1043
|
+
}, xt = /* @__PURE__ */ K(/* @__PURE__ */ eo(["fantasy-land/map", "map"], go, function(e, r) {
|
|
1021
1044
|
switch (Object.prototype.toString.call(r)) {
|
|
1022
1045
|
case "[object Function]":
|
|
1023
|
-
return
|
|
1046
|
+
return Qa(r.length, function() {
|
|
1024
1047
|
return e.call(this, r.apply(this, arguments));
|
|
1025
1048
|
});
|
|
1026
1049
|
case "[object Object]":
|
|
1027
|
-
return
|
|
1050
|
+
return so(function(a, o) {
|
|
1028
1051
|
return a[o] = e(r[o]), a;
|
|
1029
|
-
}, {},
|
|
1052
|
+
}, {}, gt(r));
|
|
1030
1053
|
default:
|
|
1031
|
-
return
|
|
1054
|
+
return no(e, r);
|
|
1032
1055
|
}
|
|
1033
1056
|
}));
|
|
1034
1057
|
const ir = Number.isInteger || function(e) {
|
|
@@ -1044,12 +1067,12 @@ function Je(t, e) {
|
|
|
1044
1067
|
var ie = /* @__PURE__ */ K(function(e, r) {
|
|
1045
1068
|
if (r != null)
|
|
1046
1069
|
return ir(e) ? Je(e, r) : r[e];
|
|
1047
|
-
}),
|
|
1070
|
+
}), uo = /* @__PURE__ */ U(function(e) {
|
|
1048
1071
|
return He(e) ? !0 : !e || typeof e != "object" || We(e) ? !1 : e.length === 0 ? !0 : e.length > 0 ? e.hasOwnProperty(0) && e.hasOwnProperty(e.length - 1) : !1;
|
|
1049
1072
|
}), Ot = typeof Symbol < "u" ? Symbol.iterator : "@@iterator";
|
|
1050
|
-
function
|
|
1073
|
+
function po(t, e, r) {
|
|
1051
1074
|
return function(o, i, n) {
|
|
1052
|
-
if (
|
|
1075
|
+
if (uo(n))
|
|
1053
1076
|
return t(o, i, n);
|
|
1054
1077
|
if (n == null)
|
|
1055
1078
|
return i;
|
|
@@ -1064,7 +1087,7 @@ function uo(t, e, r) {
|
|
|
1064
1087
|
throw new TypeError("reduce: list must be array or iterable");
|
|
1065
1088
|
};
|
|
1066
1089
|
}
|
|
1067
|
-
function
|
|
1090
|
+
function mo(t, e, r) {
|
|
1068
1091
|
for (var a = 0, o = r.length; a < o; ) {
|
|
1069
1092
|
if (e = t["@@transducer/step"](e, r[a]), e && e["@@transducer/reduced"]) {
|
|
1070
1093
|
e = e["@@transducer/value"];
|
|
@@ -1074,12 +1097,12 @@ function po(t, e, r) {
|
|
|
1074
1097
|
}
|
|
1075
1098
|
return t["@@transducer/result"](e);
|
|
1076
1099
|
}
|
|
1077
|
-
var
|
|
1100
|
+
var vo = /* @__PURE__ */ K(function(e, r) {
|
|
1078
1101
|
return qe(e.length, function() {
|
|
1079
1102
|
return e.apply(r, arguments);
|
|
1080
1103
|
});
|
|
1081
1104
|
});
|
|
1082
|
-
function
|
|
1105
|
+
function bo(t, e, r) {
|
|
1083
1106
|
for (var a = r.next(); !a.done; ) {
|
|
1084
1107
|
if (e = t["@@transducer/step"](e, a.value), e && e["@@transducer/reduced"]) {
|
|
1085
1108
|
e = e["@@transducer/value"];
|
|
@@ -1089,10 +1112,10 @@ function vo(t, e, r) {
|
|
|
1089
1112
|
}
|
|
1090
1113
|
return t["@@transducer/result"](e);
|
|
1091
1114
|
}
|
|
1092
|
-
function
|
|
1093
|
-
return t["@@transducer/result"](r[a](
|
|
1115
|
+
function ho(t, e, r, a) {
|
|
1116
|
+
return t["@@transducer/result"](r[a](vo(t["@@transducer/step"], t), e));
|
|
1094
1117
|
}
|
|
1095
|
-
var
|
|
1118
|
+
var fo = /* @__PURE__ */ po(mo, ho, bo), yo = /* @__PURE__ */ function() {
|
|
1096
1119
|
function t(e) {
|
|
1097
1120
|
this.f = e;
|
|
1098
1121
|
}
|
|
@@ -1104,13 +1127,13 @@ var ho = /* @__PURE__ */ uo(po, bo, vo), fo = /* @__PURE__ */ function() {
|
|
|
1104
1127
|
return this.f(e, r);
|
|
1105
1128
|
}, t;
|
|
1106
1129
|
}();
|
|
1107
|
-
function
|
|
1108
|
-
return new
|
|
1130
|
+
function wo(t) {
|
|
1131
|
+
return new yo(t);
|
|
1109
1132
|
}
|
|
1110
|
-
var nr = /* @__PURE__ */
|
|
1111
|
-
return
|
|
1133
|
+
var nr = /* @__PURE__ */ yt(function(t, e, r) {
|
|
1134
|
+
return fo(typeof t == "function" ? wo(t) : t, e, r);
|
|
1112
1135
|
});
|
|
1113
|
-
function
|
|
1136
|
+
function xo(t, e) {
|
|
1114
1137
|
return function() {
|
|
1115
1138
|
return e.call(this, t.apply(this, arguments));
|
|
1116
1139
|
};
|
|
@@ -1124,42 +1147,42 @@ function sr(t, e) {
|
|
|
1124
1147
|
return He(a) || typeof a[t] != "function" ? e.apply(this, arguments) : a[t].apply(a, Array.prototype.slice.call(arguments, 0, r - 1));
|
|
1125
1148
|
};
|
|
1126
1149
|
}
|
|
1127
|
-
var
|
|
1150
|
+
var _o = /* @__PURE__ */ yt(/* @__PURE__ */ sr("slice", function(e, r, a) {
|
|
1128
1151
|
return Array.prototype.slice.call(a, e, r);
|
|
1129
|
-
})),
|
|
1152
|
+
})), ko = /* @__PURE__ */ U(/* @__PURE__ */ sr("tail", /* @__PURE__ */ _o(1, 1 / 0)));
|
|
1130
1153
|
function Ae() {
|
|
1131
1154
|
if (arguments.length === 0)
|
|
1132
1155
|
throw new Error("pipe requires at least one argument");
|
|
1133
|
-
return qe(arguments[0].length, nr(
|
|
1156
|
+
return qe(arguments[0].length, nr(xo, arguments[0], ko(arguments)));
|
|
1134
1157
|
}
|
|
1135
|
-
var
|
|
1158
|
+
var zo = /* @__PURE__ */ U(function(e) {
|
|
1136
1159
|
return We(e) ? e.split("").reverse().join("") : Array.prototype.slice.call(e, 0).reverse();
|
|
1137
1160
|
});
|
|
1138
|
-
function
|
|
1161
|
+
function _t() {
|
|
1139
1162
|
if (arguments.length === 0)
|
|
1140
1163
|
throw new Error("compose requires at least one argument");
|
|
1141
|
-
return Ae.apply(this,
|
|
1164
|
+
return Ae.apply(this, zo(arguments));
|
|
1142
1165
|
}
|
|
1143
|
-
var
|
|
1166
|
+
var Q = /* @__PURE__ */ U(function(t) {
|
|
1144
1167
|
return Je(0, t);
|
|
1145
|
-
}), lr = /* @__PURE__ */
|
|
1168
|
+
}), lr = /* @__PURE__ */ yt(function(e, r, a) {
|
|
1146
1169
|
var o = e(r), i = e(a);
|
|
1147
1170
|
return o > i ? -1 : o < i ? 1 : 0;
|
|
1148
|
-
}),
|
|
1171
|
+
}), So = /* @__PURE__ */ U(function(t) {
|
|
1149
1172
|
return Je(-1, t);
|
|
1150
1173
|
});
|
|
1151
|
-
function
|
|
1174
|
+
function Io(t) {
|
|
1152
1175
|
var e = Object.prototype.toString.call(t);
|
|
1153
1176
|
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]";
|
|
1154
1177
|
}
|
|
1155
|
-
var
|
|
1156
|
-
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() : He(e) ? [] : We(e) ? "" :
|
|
1178
|
+
var $o = /* @__PURE__ */ U(function(e) {
|
|
1179
|
+
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() : He(e) ? [] : We(e) ? "" : lo(e) ? {} : or(e) ? /* @__PURE__ */ function() {
|
|
1157
1180
|
return arguments;
|
|
1158
|
-
}() :
|
|
1159
|
-
}),
|
|
1160
|
-
return e != null &&
|
|
1181
|
+
}() : Io(e) ? e.constructor.from("") : void 0;
|
|
1182
|
+
}), ot = /* @__PURE__ */ U(function(e) {
|
|
1183
|
+
return e != null && io(e, $o(e));
|
|
1161
1184
|
});
|
|
1162
|
-
function
|
|
1185
|
+
function Co(t, e) {
|
|
1163
1186
|
for (var r = e, a = 0; a < t.length; a += 1) {
|
|
1164
1187
|
if (r == null)
|
|
1165
1188
|
return;
|
|
@@ -1168,13 +1191,13 @@ function $o(t, e) {
|
|
|
1168
1191
|
}
|
|
1169
1192
|
return r;
|
|
1170
1193
|
}
|
|
1171
|
-
var Gt = /* @__PURE__ */ nr(
|
|
1194
|
+
var Gt = /* @__PURE__ */ nr(Xa, 0), To = /* @__PURE__ */ K(function(e, r) {
|
|
1172
1195
|
for (var a = {}, o = {}, i = 0, n = e.length; i < n; )
|
|
1173
1196
|
o[e[i]] = 1, i += 1;
|
|
1174
1197
|
for (var s in r)
|
|
1175
1198
|
o.hasOwnProperty(s) || (a[s] = r[s]);
|
|
1176
1199
|
return a;
|
|
1177
|
-
}), cr = /* @__PURE__ */ K(
|
|
1200
|
+
}), cr = /* @__PURE__ */ K(Co), dr = /* @__PURE__ */ K(function(e, r) {
|
|
1178
1201
|
for (var a = {}, o = 0; o < e.length; )
|
|
1179
1202
|
e[o] in r && (a[e[o]] = r[e[o]]), o += 1;
|
|
1180
1203
|
return a;
|
|
@@ -1211,12 +1234,12 @@ const Rt = 20, No = {
|
|
|
1211
1234
|
firstGame: q,
|
|
1212
1235
|
lastGame: q
|
|
1213
1236
|
}), g = Pe({
|
|
1214
|
-
min:
|
|
1215
|
-
max:
|
|
1237
|
+
min: X(q, "YYYY-MM-DD"),
|
|
1238
|
+
max: X(q, "YYYY-MM-DD")
|
|
1216
1239
|
}), {
|
|
1217
1240
|
state: m,
|
|
1218
1241
|
isLoading: f,
|
|
1219
|
-
execute:
|
|
1242
|
+
execute: b
|
|
1220
1243
|
} = ee({
|
|
1221
1244
|
options: {
|
|
1222
1245
|
path: "/v2/games-calendar",
|
|
@@ -1228,7 +1251,7 @@ const Rt = 20, No = {
|
|
|
1228
1251
|
})),
|
|
1229
1252
|
resetOnExecute: !0
|
|
1230
1253
|
},
|
|
1231
|
-
transform: (
|
|
1254
|
+
transform: (v) => $a(v, c),
|
|
1232
1255
|
onError: o
|
|
1233
1256
|
}), S = A(
|
|
1234
1257
|
() => Ke(m.value).schedule(r.value, a.value).more(0, l.value * Rt + Rt).groupByDays().value()
|
|
@@ -1241,23 +1264,23 @@ const Rt = 20, No = {
|
|
|
1241
1264
|
);
|
|
1242
1265
|
se(
|
|
1243
1266
|
n,
|
|
1244
|
-
async (
|
|
1245
|
-
const { min: I, max: E, id: k } = De.get(
|
|
1246
|
-
g.value = { min:
|
|
1267
|
+
async (v) => {
|
|
1268
|
+
const { min: I, max: E, id: k } = De.get(v)(i.month);
|
|
1269
|
+
g.value = { min: X(I, "YYYY-MM-DD"), max: X(E, "YYYY-MM-DD") }, s.value = k, await b(), i.month || y();
|
|
1247
1270
|
},
|
|
1248
1271
|
{
|
|
1249
1272
|
immediate: !0
|
|
1250
1273
|
}
|
|
1251
1274
|
);
|
|
1252
|
-
function C(
|
|
1253
|
-
n.value =
|
|
1275
|
+
function C(v) {
|
|
1276
|
+
n.value = v, i.panel = v, l.value = 0, i.month = null;
|
|
1254
1277
|
}
|
|
1255
|
-
function x(
|
|
1256
|
-
const { min: I, max: E, id: k } = De.get(n.value)(
|
|
1278
|
+
function x(v) {
|
|
1279
|
+
const { min: I, max: E, id: k } = De.get(n.value)(v.id);
|
|
1257
1280
|
s.value = k, i.month = k, g.value = {
|
|
1258
|
-
min:
|
|
1259
|
-
max:
|
|
1260
|
-
}, l.value = 0,
|
|
1281
|
+
min: X(I, "YYYY-MM-DD"),
|
|
1282
|
+
max: X(E, "YYYY-MM-DD")
|
|
1283
|
+
}, l.value = 0, b();
|
|
1261
1284
|
}
|
|
1262
1285
|
function z() {
|
|
1263
1286
|
l.value += 1;
|
|
@@ -1266,17 +1289,17 @@ const Rt = 20, No = {
|
|
|
1266
1289
|
var E, k;
|
|
1267
1290
|
if (![ve, Ie].includes(n.value))
|
|
1268
1291
|
return;
|
|
1269
|
-
const { firstGame:
|
|
1270
|
-
if (Kr(q,
|
|
1271
|
-
const { min: P, max: D, id:
|
|
1272
|
-
return g.value = { min:
|
|
1292
|
+
const { firstGame: v, lastGame: I } = c.value;
|
|
1293
|
+
if (Kr(q, v)) {
|
|
1294
|
+
const { min: P, max: D, id: W } = De.get(n.value)((E = Q(h.value)) == null ? void 0 : E.id);
|
|
1295
|
+
return g.value = { min: X(P, "YYYY-MM-DD"), max: X(D, "YYYY-MM-DD") }, s.value = W, b();
|
|
1273
1296
|
}
|
|
1274
1297
|
if (Xt(q, I)) {
|
|
1275
|
-
const { min: P, max: D, id:
|
|
1276
|
-
g.value = { min:
|
|
1298
|
+
const { min: P, max: D, id: W } = De.get(n.value)((k = So(h.value)) == null ? void 0 : k.id);
|
|
1299
|
+
g.value = { min: X(P, "YYYY-MM-DD"), max: X(D, "YYYY-MM-DD") }, s.value = W, b();
|
|
1277
1300
|
}
|
|
1278
1301
|
}
|
|
1279
|
-
return (
|
|
1302
|
+
return (v, I) => ge(v.$slots, "default", $e(Ce({
|
|
1280
1303
|
today: d(q),
|
|
1281
1304
|
months: h.value,
|
|
1282
1305
|
isLoading: d(f),
|
|
@@ -1289,7 +1312,7 @@ const Rt = 20, No = {
|
|
|
1289
1312
|
changePanel: C
|
|
1290
1313
|
})));
|
|
1291
1314
|
}
|
|
1292
|
-
},
|
|
1315
|
+
}, Ao = {
|
|
1293
1316
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1294
1317
|
viewBox: "0 0 24 24",
|
|
1295
1318
|
fill: "none",
|
|
@@ -1298,8 +1321,8 @@ const Rt = 20, No = {
|
|
|
1298
1321
|
"stroke-linecap": "round",
|
|
1299
1322
|
"stroke-linejoin": "round"
|
|
1300
1323
|
};
|
|
1301
|
-
function
|
|
1302
|
-
return p(), _("svg",
|
|
1324
|
+
function Eo(t, e) {
|
|
1325
|
+
return p(), _("svg", Ao, e[0] || (e[0] = [
|
|
1303
1326
|
u("rect", {
|
|
1304
1327
|
x: "2",
|
|
1305
1328
|
y: "3",
|
|
@@ -1322,7 +1345,7 @@ function Ao(t, e) {
|
|
|
1322
1345
|
}, null, -1)
|
|
1323
1346
|
]));
|
|
1324
1347
|
}
|
|
1325
|
-
const
|
|
1348
|
+
const Do = { render: Eo }, Lo = {
|
|
1326
1349
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1327
1350
|
viewBox: "0 0 24 24",
|
|
1328
1351
|
fill: "none",
|
|
@@ -1331,25 +1354,25 @@ const Eo = { render: Ao }, Do = {
|
|
|
1331
1354
|
"stroke-linecap": "round",
|
|
1332
1355
|
"stroke-linejoin": "round"
|
|
1333
1356
|
};
|
|
1334
|
-
function
|
|
1335
|
-
return p(), _("svg",
|
|
1357
|
+
function Po(t, e) {
|
|
1358
|
+
return p(), _("svg", Lo, e[0] || (e[0] = [
|
|
1336
1359
|
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),
|
|
1337
1360
|
u("polygon", { points: "9.75 15.02 15.5 11.75 9.75 8.48 9.75 15.02" }, null, -1)
|
|
1338
1361
|
]));
|
|
1339
1362
|
}
|
|
1340
|
-
const
|
|
1363
|
+
const Mo = { render: Po }, jo = { class: "is-info is-text-sm" }, Oo = ["href"], Go = { class: "is-info is-text-sm" }, Ro = { class: "is-home-team is-text-base" }, Yo = { class: "is-team-name-short" }, Uo = { class: "is-team-name-long" }, Ko = ["href", "target"], Vo = {
|
|
1341
1364
|
key: 0,
|
|
1342
1365
|
class: "is-text-xl is-text-bold"
|
|
1343
|
-
},
|
|
1366
|
+
}, Fo = {
|
|
1344
1367
|
key: 1,
|
|
1345
1368
|
class: "is-text-xl is-text-bold"
|
|
1346
|
-
},
|
|
1369
|
+
}, Bo = {
|
|
1347
1370
|
key: 2,
|
|
1348
1371
|
class: "is-text-xl is-text-bold"
|
|
1349
|
-
},
|
|
1372
|
+
}, qo = {
|
|
1350
1373
|
key: 0,
|
|
1351
1374
|
class: "is-text-sm is-info is-whitespace-nowrap"
|
|
1352
|
-
},
|
|
1375
|
+
}, Ho = { class: "is-away-team is-text-base" }, Wo = { key: 0 }, Jo = { class: "is-team-name-short" }, Xo = { class: "is-team-name-long" }, Qo = {
|
|
1353
1376
|
__name: "Item",
|
|
1354
1377
|
props: {
|
|
1355
1378
|
game: {
|
|
@@ -1366,7 +1389,7 @@ const Po = { render: Lo }, Mo = { class: "is-info is-text-sm" }, jo = ["href"],
|
|
|
1366
1389
|
},
|
|
1367
1390
|
gameLink: {
|
|
1368
1391
|
type: Function,
|
|
1369
|
-
default:
|
|
1392
|
+
default: Z
|
|
1370
1393
|
},
|
|
1371
1394
|
target: {
|
|
1372
1395
|
type: String,
|
|
@@ -1378,11 +1401,11 @@ const Po = { render: Lo }, Mo = { class: "is-info is-text-sm" }, jo = ["href"],
|
|
|
1378
1401
|
return (r, a) => (p(), _("div", {
|
|
1379
1402
|
class: V(["card-item", { "is-optional": t.game.optional }])
|
|
1380
1403
|
}, [
|
|
1381
|
-
u("div",
|
|
1404
|
+
u("div", jo, [
|
|
1382
1405
|
oe(w(t.game.gameName) + " - " + w(t.game.championshipName) + " - " + w(t.game.divisionName) + " - " + w(t.game.location.locationName) + " ", 1),
|
|
1383
1406
|
t.game.broadcast ? (p(), _(R, { key: 0 }, [
|
|
1384
1407
|
a[0] || (a[0] = oe(" - ")),
|
|
1385
|
-
$(d(
|
|
1408
|
+
$(d(Do), { height: "16" }),
|
|
1386
1409
|
a[1] || (a[1] = oe(" "))
|
|
1387
1410
|
], 64)) : M("", !0),
|
|
1388
1411
|
t.game.video ? (p(), _(R, { key: 1 }, [
|
|
@@ -1391,14 +1414,14 @@ const Po = { render: Lo }, Mo = { class: "is-info is-text-sm" }, jo = ["href"],
|
|
|
1391
1414
|
href: t.game.video,
|
|
1392
1415
|
target: "_blank"
|
|
1393
1416
|
}, [
|
|
1394
|
-
$(d(
|
|
1395
|
-
], 8,
|
|
1417
|
+
$(d(Mo), { height: "18" })
|
|
1418
|
+
], 8, Oo)
|
|
1396
1419
|
], 64)) : M("", !0)
|
|
1397
1420
|
]),
|
|
1398
|
-
u("div",
|
|
1399
|
-
u("div",
|
|
1400
|
-
u("span",
|
|
1401
|
-
u("span",
|
|
1421
|
+
u("div", Go, w(d(X)(t.game.gameDate, "L LT", null, t.locale)) + " (" + w(d(Ve)(t.game.gameDate, t.timezone, t.locale)) + ") ", 1),
|
|
1422
|
+
u("div", Ro, [
|
|
1423
|
+
u("span", Yo, w(t.game.homeTeam.shortName), 1),
|
|
1424
|
+
u("span", Uo, w(t.game.homeTeam.longName), 1),
|
|
1402
1425
|
(p(), G(d(Me), {
|
|
1403
1426
|
key: t.game.homeTeam.id,
|
|
1404
1427
|
class: "is-logo-image",
|
|
@@ -1412,36 +1435,36 @@ const Po = { render: Lo }, Mo = { class: "is-info is-text-sm" }, jo = ["href"],
|
|
|
1412
1435
|
href: t.gameLink(t.game),
|
|
1413
1436
|
target: t.target
|
|
1414
1437
|
}, [
|
|
1415
|
-
t.game.gameStatus > 0 && t.game.gameStatus < 3 ? (p(), _("span",
|
|
1416
|
-
t.game.gameStatus === 3 ? (p(), _("span",
|
|
1417
|
-
t.game.gameStatus === 4 ? (p(), _("span",
|
|
1418
|
-
], 8,
|
|
1419
|
-
t.game.gameStatus > 0 ? (p(), _("div",
|
|
1438
|
+
t.game.gameStatus > 0 && t.game.gameStatus < 3 ? (p(), _("span", Vo, w(t.game.homeTeamScore) + " - " + w(t.game.awayTeamScore), 1)) : M("", !0),
|
|
1439
|
+
t.game.gameStatus === 3 ? (p(), _("span", Fo, w(d(e)("game.status.jury")), 1)) : M("", !0),
|
|
1440
|
+
t.game.gameStatus === 4 ? (p(), _("span", Bo, w(d(e)("game.status.delayed")), 1)) : M("", !0)
|
|
1441
|
+
], 8, Ko),
|
|
1442
|
+
t.game.gameStatus > 0 ? (p(), _("div", qo, w(t.game.periodResults), 1)) : M("", !0)
|
|
1420
1443
|
], 2),
|
|
1421
|
-
u("div",
|
|
1422
|
-
Array.isArray(t.game.awayTeam) ? (p(), _("span",
|
|
1444
|
+
u("div", Ho, [
|
|
1445
|
+
Array.isArray(t.game.awayTeam) ? (p(), _("span", Wo, "Torna")) : M("", !0),
|
|
1423
1446
|
(p(), G(d(Me), {
|
|
1424
1447
|
key: t.game.awayTeam.id,
|
|
1425
1448
|
class: "is-logo-image",
|
|
1426
1449
|
src: t.game.awayTeam.logo
|
|
1427
1450
|
}, null, 8, ["src"])),
|
|
1428
|
-
u("span",
|
|
1429
|
-
u("span",
|
|
1451
|
+
u("span", Jo, w(t.game.awayTeam.shortName), 1),
|
|
1452
|
+
u("span", Xo, w(t.game.awayTeam.longName), 1)
|
|
1430
1453
|
])
|
|
1431
1454
|
], 2));
|
|
1432
1455
|
}
|
|
1433
|
-
}, xe = "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-400);--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-dropdown-item-selected-color: var(--vbr-widget-secondary-color-700);--vbr-widget-dropdown-item-selected-hover-bg-color: var(--vbr-widget-secondary-color-100);--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);--vbr-widget-standings-selector-title-size: var(--vbr-widget-typography-font-size-500);--vbr-widget-standings-selector-title-color: var(--vbr-widget-primary-color-700);--vbr-widget-standings-selector-title-transform: none;--vbr-widget-standings-selector-title-padding: 0 .625em .5625em;--vbr-widget-standings-selector-title-bg-color: transparent}html,body{-webkit-font-smoothing:antialiased}.transition-fade-enter-active,.transition-fade-leave-active{transition:all .7s linear(0,.009,.035 2.1%,.141,.281 6.7%,.723 12.9%,.938 16.7%,1.017,1.077,1.121,1.149 24.3%,1.159,1.163,1.161,1.154 29.9%,1.129 32.8%,1.051 39.6%,1.017 43.1%,.991,.977 51%,.974 53.8%,.975 57.1%,.997 69.8%,1.003 76.9%,1.004 83.8%,1)}.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}", Xe = ".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}", Qe = `.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) => {
|
|
1456
|
+
}, xe = "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-400);--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-dropdown-item-selected-color: var(--vbr-widget-secondary-color-700);--vbr-widget-dropdown-item-selected-hover-bg-color: var(--vbr-widget-secondary-color-100);--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);--vbr-widget-standings-selector-title-size: var(--vbr-widget-typography-font-size-500);--vbr-widget-standings-selector-title-color: var(--vbr-widget-primary-color-700);--vbr-widget-standings-selector-title-transform: none;--vbr-widget-standings-selector-title-padding: 0 .625em .5625em;--vbr-widget-standings-selector-title-bg-color: transparent}html,body{-webkit-font-smoothing:antialiased}.transition-fade-enter-active,.transition-fade-leave-active{transition:all .7s linear(0,.009,.035 2.1%,.141,.281 6.7%,.723 12.9%,.938 16.7%,1.017,1.077,1.121,1.149 24.3%,1.159,1.163,1.161,1.154 29.9%,1.129 32.8%,1.051 39.6%,1.017 43.1%,.991,.977 51%,.974 53.8%,.975 57.1%,.997 69.8%,1.003 76.9%,1.004 83.8%,1)}.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}", Xe = ".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}", Qe = `.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)}`, Zo = ".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) => {
|
|
1434
1457
|
const r = t.__vccOpts || t;
|
|
1435
1458
|
for (const [a, o] of e)
|
|
1436
1459
|
r[a] = o;
|
|
1437
1460
|
return r;
|
|
1438
|
-
},
|
|
1461
|
+
}, ei = {
|
|
1439
1462
|
id: "top",
|
|
1440
1463
|
class: "flex overflow-x-auto is-mb-5"
|
|
1441
|
-
},
|
|
1464
|
+
}, ti = ["onClick"], ri = ["onClick"], ai = ["onClick"], oi = ["onClick"], ii = { class: "toggle-group" }, ni = ["disabled", "onClick"], si = {
|
|
1442
1465
|
key: 0,
|
|
1443
1466
|
class: "is-text-center"
|
|
1444
|
-
},
|
|
1467
|
+
}, li = ["data-gamedate"], ci = { class: "is-text-base" }, di = { class: "is-card" }, gi = ["onClick"], ui = {
|
|
1445
1468
|
__name: "Calendar.ce",
|
|
1446
1469
|
props: {
|
|
1447
1470
|
locale: {
|
|
@@ -1459,15 +1482,15 @@ const Po = { render: Lo }, Mo = { class: "is-info is-text-sm" }, jo = ["href"],
|
|
|
1459
1482
|
...Mr
|
|
1460
1483
|
},
|
|
1461
1484
|
setup(t) {
|
|
1462
|
-
const e = t, r = { en: ye, hu: we }, a = j(Fe()), o = A(() => e.isGameTargetExternal ? "_blank" : "_self"), i = (n) =>
|
|
1485
|
+
const e = t, r = { en: ye, hu: we }, a = j(Fe()), o = A(() => e.isGameTargetExternal ? "_blank" : "_self"), i = (n) => vt(e.externalGameResolver || "/game/id/{id}", n);
|
|
1463
1486
|
return (n, s) => (p(), G(d(fe), {
|
|
1464
1487
|
locale: e.locale,
|
|
1465
1488
|
messages: r
|
|
1466
1489
|
}, {
|
|
1467
|
-
default:
|
|
1468
|
-
$(d(
|
|
1469
|
-
default:
|
|
1470
|
-
g ? (p(), G(d(
|
|
1490
|
+
default: N(({ t: l }) => [
|
|
1491
|
+
$(d(Te), null, {
|
|
1492
|
+
default: N(({ error: c, hasError: g }) => [
|
|
1493
|
+
g ? (p(), G(d(Ne), {
|
|
1471
1494
|
key: 0,
|
|
1472
1495
|
error: c
|
|
1473
1496
|
}, null, 8, ["error"])) : M("", !0),
|
|
@@ -1477,53 +1500,53 @@ const Po = { render: Lo }, Mo = { class: "is-info is-text-sm" }, jo = ["href"],
|
|
|
1477
1500
|
"season-id": t.seasonId,
|
|
1478
1501
|
"api-key": t.apiKey
|
|
1479
1502
|
}, {
|
|
1480
|
-
default:
|
|
1503
|
+
default: N(({
|
|
1481
1504
|
games: m,
|
|
1482
1505
|
months: f,
|
|
1483
|
-
isLoading:
|
|
1506
|
+
isLoading: b,
|
|
1484
1507
|
selectedPanel: S,
|
|
1485
1508
|
selectedMonth: h,
|
|
1486
1509
|
more: C,
|
|
1487
1510
|
setMonth: x,
|
|
1488
1511
|
changePanel: z
|
|
1489
1512
|
}) => [
|
|
1490
|
-
u("div",
|
|
1513
|
+
u("div", ei, [
|
|
1491
1514
|
u("button", {
|
|
1492
1515
|
class: V(["tab-button", { "is-active": S === d(ve) }]),
|
|
1493
1516
|
onClick: (y) => z(d(ve))
|
|
1494
|
-
}, w(l("calendar.gamesPlayed")), 11,
|
|
1517
|
+
}, w(l("calendar.gamesPlayed")), 11, ti),
|
|
1495
1518
|
u("button", {
|
|
1496
1519
|
class: V(["tab-button", { "is-active": S === d(Se) }]),
|
|
1497
1520
|
onClick: (y) => z(d(Se))
|
|
1498
|
-
}, w(l("calendar.todaysGames")), 11,
|
|
1521
|
+
}, w(l("calendar.todaysGames")), 11, ri),
|
|
1499
1522
|
u("button", {
|
|
1500
1523
|
class: V(["tab-button", { "is-active": S === d(Ie) }]),
|
|
1501
1524
|
onClick: (y) => z(d(Ie))
|
|
1502
|
-
}, w(l("calendar.nextGames")), 11,
|
|
1525
|
+
}, w(l("calendar.nextGames")), 11, ai),
|
|
1503
1526
|
u("button", {
|
|
1504
1527
|
class: V(["tab-button", { "is-active": S === d(Ge) }]),
|
|
1505
1528
|
onClick: (y) => z(d(Ge))
|
|
1506
|
-
}, w(l("calendar.weekGames")), 11,
|
|
1529
|
+
}, w(l("calendar.weekGames")), 11, oi)
|
|
1507
1530
|
]),
|
|
1508
|
-
u("div",
|
|
1531
|
+
u("div", ii, [
|
|
1509
1532
|
(p(!0), _(R, null, H(f, (y) => (p(), _("button", {
|
|
1510
1533
|
key: y.id,
|
|
1511
1534
|
type: "button",
|
|
1512
1535
|
class: V({ "is-active": h === y.id }),
|
|
1513
|
-
disabled:
|
|
1514
|
-
onClick: (
|
|
1515
|
-
}, w(y.name), 11,
|
|
1536
|
+
disabled: b,
|
|
1537
|
+
onClick: (v) => x(y)
|
|
1538
|
+
}, w(y.name), 11, ni))), 128))
|
|
1516
1539
|
]),
|
|
1517
|
-
m.totalItems === 0 && !
|
|
1540
|
+
m.totalItems === 0 && !b ? (p(), _("div", si, w(l("calendar.noGame")), 1)) : M("", !0),
|
|
1518
1541
|
u("div", null, [
|
|
1519
|
-
|
|
1520
|
-
(p(!0), _(R, null, H(m.rows, (y,
|
|
1521
|
-
key:
|
|
1522
|
-
"data-gamedate":
|
|
1542
|
+
b ? (p(), G(d(Wt), { key: 0 })) : M("", !0),
|
|
1543
|
+
(p(!0), _(R, null, H(m.rows, (y, v) => (p(), _("div", {
|
|
1544
|
+
key: v,
|
|
1545
|
+
"data-gamedate": v
|
|
1523
1546
|
}, [
|
|
1524
|
-
u("span",
|
|
1525
|
-
u("div",
|
|
1526
|
-
(p(!0), _(R, null, H(y, (I) => (p(), G(
|
|
1547
|
+
u("span", ci, w(d(X)(new Date(v), "LL dddd", a.value, t.locale)), 1),
|
|
1548
|
+
u("div", di, [
|
|
1549
|
+
(p(!0), _(R, null, H(y, (I) => (p(), G(Qo, {
|
|
1527
1550
|
key: I.id,
|
|
1528
1551
|
game: I,
|
|
1529
1552
|
locale: t.locale,
|
|
@@ -1532,15 +1555,15 @@ const Po = { render: Lo }, Mo = { class: "is-info is-text-sm" }, jo = ["href"],
|
|
|
1532
1555
|
target: o.value
|
|
1533
1556
|
}, null, 8, ["game", "locale", "timezone", "target"]))), 128))
|
|
1534
1557
|
])
|
|
1535
|
-
], 8,
|
|
1558
|
+
], 8, li))), 128))
|
|
1536
1559
|
]),
|
|
1537
|
-
!
|
|
1560
|
+
!b && m.currentItems < m.totalItems ? (p(), G(d(Or), {
|
|
1538
1561
|
key: 1,
|
|
1539
1562
|
options: { rootMargin: "400px" },
|
|
1540
1563
|
onIntersect: C
|
|
1541
1564
|
}, {
|
|
1542
|
-
default:
|
|
1543
|
-
u("button", { onClick: C }, w(l("calendar.more")), 9,
|
|
1565
|
+
default: N(() => [
|
|
1566
|
+
u("button", { onClick: C }, w(l("calendar.more")), 9, gi)
|
|
1544
1567
|
]),
|
|
1545
1568
|
_: 2
|
|
1546
1569
|
}, 1032, ["onIntersect"])) : M("", !0)
|
|
@@ -1554,14 +1577,14 @@ const Po = { render: Lo }, Mo = { class: "is-info is-text-sm" }, jo = ["href"],
|
|
|
1554
1577
|
_: 1
|
|
1555
1578
|
}, 8, ["locale"]));
|
|
1556
1579
|
}
|
|
1557
|
-
},
|
|
1558
|
-
function
|
|
1580
|
+
}, pi = /* @__PURE__ */ _e(ui, [["styles", [xe, Xe, Qe, Zo]]]), ke = "schedule", it = "standings", pe = "players", Le = "teams";
|
|
1581
|
+
function mi(t, e, r = null) {
|
|
1559
1582
|
var i, n, s, l;
|
|
1560
1583
|
e.championships = Ue(ie("sectionId"))(t), e.selectedChampionshipId = (n = (i = e.championships) == null ? void 0 : i[0]) == null ? void 0 : n.sectionId;
|
|
1561
1584
|
const a = Ue(ie("phaseId"))(((s = t == null ? void 0 : t[0]) == null ? void 0 : s.phases) ?? []), o = a.findIndex((c) => c.phaseId === Number(r));
|
|
1562
1585
|
e.phaseId = o > -1 ? Number(r) : (l = a[0]) == null ? void 0 : l.phaseId;
|
|
1563
1586
|
}
|
|
1564
|
-
const
|
|
1587
|
+
const vi = (/* @__PURE__ */ new Map()).set("schedule", {
|
|
1565
1588
|
api: "/v2/games-list",
|
|
1566
1589
|
columns: er,
|
|
1567
1590
|
sort: {}
|
|
@@ -1574,7 +1597,7 @@ const mi = (/* @__PURE__ */ new Map()).set("schedule", {
|
|
|
1574
1597
|
columns: Ee,
|
|
1575
1598
|
sort: {
|
|
1576
1599
|
sortTarget: "points",
|
|
1577
|
-
orders: [{ target: "points", direction:
|
|
1600
|
+
orders: [{ target: "points", direction: J }]
|
|
1578
1601
|
}
|
|
1579
1602
|
}).set("goals", {
|
|
1580
1603
|
api: "/v2/players-stats",
|
|
@@ -1582,8 +1605,8 @@ const mi = (/* @__PURE__ */ new Map()).set("schedule", {
|
|
|
1582
1605
|
sort: {
|
|
1583
1606
|
sortTarget: "goals",
|
|
1584
1607
|
orders: [
|
|
1585
|
-
{ target: "goals", direction:
|
|
1586
|
-
{ target: "assists", direction:
|
|
1608
|
+
{ target: "goals", direction: J },
|
|
1609
|
+
{ target: "assists", direction: J }
|
|
1587
1610
|
]
|
|
1588
1611
|
}
|
|
1589
1612
|
}).set("assists", {
|
|
@@ -1592,8 +1615,8 @@ const mi = (/* @__PURE__ */ new Map()).set("schedule", {
|
|
|
1592
1615
|
sort: {
|
|
1593
1616
|
sortTarget: "assists",
|
|
1594
1617
|
orders: [
|
|
1595
|
-
{ target: "assists", direction:
|
|
1596
|
-
{ target: "goals", direction:
|
|
1618
|
+
{ target: "assists", direction: J },
|
|
1619
|
+
{ target: "goals", direction: J }
|
|
1597
1620
|
]
|
|
1598
1621
|
}
|
|
1599
1622
|
}).set("plusminus", {
|
|
@@ -1601,58 +1624,58 @@ const mi = (/* @__PURE__ */ new Map()).set("schedule", {
|
|
|
1601
1624
|
columns: Ee,
|
|
1602
1625
|
sort: {
|
|
1603
1626
|
sortTarget: "plusMinus",
|
|
1604
|
-
orders: [{ target: "plusMinus", direction:
|
|
1627
|
+
orders: [{ target: "plusMinus", direction: J }]
|
|
1605
1628
|
}
|
|
1606
1629
|
}).set("playerspenalties", {
|
|
1607
1630
|
api: "/v2/players-penalty",
|
|
1608
1631
|
columns: na,
|
|
1609
1632
|
sort: {
|
|
1610
1633
|
sortTarget: "pim",
|
|
1611
|
-
orders: [{ target: "pim", direction:
|
|
1634
|
+
orders: [{ target: "pim", direction: J }]
|
|
1612
1635
|
}
|
|
1613
1636
|
}).set("goalies", {
|
|
1614
1637
|
api: "/v2/players-goalie",
|
|
1615
1638
|
params: { more: !0 },
|
|
1616
|
-
columns:
|
|
1639
|
+
columns: zt,
|
|
1617
1640
|
sort: {
|
|
1618
1641
|
sortTarget: "svsPercent",
|
|
1619
|
-
orders: [{ target: "svsPercent", direction:
|
|
1642
|
+
orders: [{ target: "svsPercent", direction: J }]
|
|
1620
1643
|
}
|
|
1621
1644
|
}).set("goaliesunderlimit", {
|
|
1622
1645
|
api: "/v2/players-goalie",
|
|
1623
1646
|
params: { less: !0 },
|
|
1624
|
-
columns:
|
|
1647
|
+
columns: zt,
|
|
1625
1648
|
sort: {
|
|
1626
1649
|
sortTarget: "svsPercent",
|
|
1627
|
-
orders: [{ target: "svsPercent", direction:
|
|
1650
|
+
orders: [{ target: "svsPercent", direction: J }]
|
|
1628
1651
|
}
|
|
1629
1652
|
}).set("teamFairplay", {
|
|
1630
1653
|
api: "/v2/team-fairplay",
|
|
1631
1654
|
columns: sa,
|
|
1632
1655
|
sort: {
|
|
1633
1656
|
sortTarget: "pim",
|
|
1634
|
-
orders: [{ target: "pim", direction:
|
|
1657
|
+
orders: [{ target: "pim", direction: J }]
|
|
1635
1658
|
}
|
|
1636
1659
|
}).set("teamPenaltiKilling", {
|
|
1637
1660
|
api: "/v2/team-powerplay",
|
|
1638
1661
|
columns: la,
|
|
1639
1662
|
sort: {
|
|
1640
1663
|
sortTarget: "pkPercent",
|
|
1641
|
-
orders: [{ target: "pkPercent", direction:
|
|
1664
|
+
orders: [{ target: "pkPercent", direction: J }]
|
|
1642
1665
|
}
|
|
1643
1666
|
}).set("teamPowerplay", {
|
|
1644
1667
|
api: "/v2/team-powerplay",
|
|
1645
1668
|
columns: ca,
|
|
1646
1669
|
sort: {
|
|
1647
1670
|
sortTarget: "ppPercent",
|
|
1648
|
-
orders: [{ target: "ppPercent", direction:
|
|
1671
|
+
orders: [{ target: "ppPercent", direction: J }]
|
|
1649
1672
|
}
|
|
1650
1673
|
}).set("teamScoringEfficiency", {
|
|
1651
1674
|
api: "/v2/team-scoring-efficiency",
|
|
1652
1675
|
columns: da,
|
|
1653
1676
|
sort: {
|
|
1654
1677
|
sortTarget: "sp",
|
|
1655
|
-
orders: [{ target: "sp", direction:
|
|
1678
|
+
orders: [{ target: "sp", direction: J }]
|
|
1656
1679
|
}
|
|
1657
1680
|
});
|
|
1658
1681
|
function Yt(t) {
|
|
@@ -1711,15 +1734,15 @@ function Ut(t) {
|
|
|
1711
1734
|
}
|
|
1712
1735
|
];
|
|
1713
1736
|
}
|
|
1714
|
-
function
|
|
1737
|
+
function bi(t, e) {
|
|
1715
1738
|
if (t.length === 0)
|
|
1716
1739
|
throw new Qt(Oe.message, Oe.options);
|
|
1717
|
-
e.seasons =
|
|
1740
|
+
e.seasons = hi(t), e.championshipId || (e.championshipId = Q(e.seasons).championshipId);
|
|
1718
1741
|
}
|
|
1719
|
-
function
|
|
1720
|
-
return
|
|
1742
|
+
function hi(t) {
|
|
1743
|
+
return _t(gr(lr(ie("seasonName"))), xt(dr(["championshipId", "seasonName"])))(t);
|
|
1721
1744
|
}
|
|
1722
|
-
const
|
|
1745
|
+
const fi = {
|
|
1723
1746
|
__name: "DataProvider",
|
|
1724
1747
|
props: {
|
|
1725
1748
|
championshipName: {
|
|
@@ -1776,15 +1799,15 @@ const hi = {
|
|
|
1776
1799
|
apiKey: e.apiKey,
|
|
1777
1800
|
params: { championshipName: e.championshipName }
|
|
1778
1801
|
},
|
|
1779
|
-
transform: (
|
|
1802
|
+
transform: (T) => bi(T, a),
|
|
1780
1803
|
onError: i
|
|
1781
|
-
}), { isLoading:
|
|
1804
|
+
}), { isLoading: b, execute: S } = ee({
|
|
1782
1805
|
options: {
|
|
1783
1806
|
path: "/v2/championship-sections",
|
|
1784
1807
|
apiKey: e.apiKey,
|
|
1785
1808
|
params: A(() => ({ championshipId: a.championshipId }))
|
|
1786
1809
|
},
|
|
1787
|
-
transform: (
|
|
1810
|
+
transform: (T) => mi(T, a, e.initialPhaseId),
|
|
1788
1811
|
onError: i
|
|
1789
1812
|
}), {
|
|
1790
1813
|
isLoading: h,
|
|
@@ -1797,15 +1820,15 @@ const hi = {
|
|
|
1797
1820
|
resetOnExecute: !0,
|
|
1798
1821
|
params: A(() => ({ championshipId: a.championshipId, phaseId: a.phaseId, ...a.apiParams }))
|
|
1799
1822
|
},
|
|
1800
|
-
transform: (
|
|
1823
|
+
transform: (T) => Zt(T),
|
|
1801
1824
|
onError: i
|
|
1802
|
-
}), z = ta([
|
|
1825
|
+
}), z = ta([b, m, h], { delay: 1e3 });
|
|
1803
1826
|
be([f, S, x]);
|
|
1804
1827
|
const y = A(
|
|
1805
1828
|
() => a.selectedPanel === pe ? Yt(g) : Ut(g)
|
|
1806
|
-
),
|
|
1807
|
-
const
|
|
1808
|
-
return Vr(Ue(ie("phaseId"))((
|
|
1829
|
+
), v = A(() => {
|
|
1830
|
+
const T = a.championships.find((O) => O.sectionId === a.selectedChampionshipId);
|
|
1831
|
+
return Vr(Ue(ie("phaseId"))((T == null ? void 0 : T.phases) ?? []));
|
|
1809
1832
|
}), I = A(() => a.selectedPanel === ke ? 0 : e.limit), E = A(
|
|
1810
1833
|
() => Fr(
|
|
1811
1834
|
C.value,
|
|
@@ -1816,51 +1839,51 @@ const hi = {
|
|
|
1816
1839
|
Jr(["dvgTime", "dvgTimePP1", "dvgTimePP2", "advTime", "advTimePP1", "advTimePP2"])
|
|
1817
1840
|
)
|
|
1818
1841
|
), k = A(() => Ke(d(E)).sorted(n).addContinuousIndex().schedule(d(o), d(e.locale)).pagination(d(l), I.value).value());
|
|
1819
|
-
function P(
|
|
1820
|
-
a.championshipId =
|
|
1842
|
+
function P(T) {
|
|
1843
|
+
a.championshipId = T, r.championshipId = T, be([S, x]);
|
|
1821
1844
|
}
|
|
1822
|
-
function D(
|
|
1845
|
+
function D(T) {
|
|
1823
1846
|
var O;
|
|
1824
|
-
a.selectedChampionshipId =
|
|
1847
|
+
a.selectedChampionshipId = T, a.phaseId = ((O = v.value[0]) == null ? void 0 : O.phaseId) ?? null, x();
|
|
1825
1848
|
}
|
|
1826
|
-
function
|
|
1827
|
-
a.phaseId =
|
|
1849
|
+
function W(T) {
|
|
1850
|
+
a.phaseId = T, x();
|
|
1828
1851
|
}
|
|
1829
|
-
function ne(
|
|
1852
|
+
function ne(T) {
|
|
1830
1853
|
var ae, B;
|
|
1831
|
-
a.selectedPanel =
|
|
1832
|
-
let O =
|
|
1833
|
-
|
|
1854
|
+
a.selectedPanel = T;
|
|
1855
|
+
let O = T;
|
|
1856
|
+
T === pe && (O = (ae = Q(Yt(Z))) == null ? void 0 : ae.value), T === Le && (O = (B = Q(Ut(Z))) == null ? void 0 : B.value), a.report = O, F(O);
|
|
1834
1857
|
}
|
|
1835
|
-
function te(
|
|
1836
|
-
F(
|
|
1858
|
+
function te(T) {
|
|
1859
|
+
F(T);
|
|
1837
1860
|
}
|
|
1838
|
-
function F(
|
|
1861
|
+
function F(T) {
|
|
1839
1862
|
var ae, B;
|
|
1840
|
-
const O =
|
|
1863
|
+
const O = vi.get(T);
|
|
1841
1864
|
a.api = O.api, a.apiParams = O.params, a.columns = O.columns, n.sortTarget = ((ae = O.sort) == null ? void 0 : ae.sortTarget) ?? "", n.orders = ((B = O.sort) == null ? void 0 : B.orders) ?? [], x(), c(1);
|
|
1842
1865
|
}
|
|
1843
|
-
return (
|
|
1866
|
+
return (T, O) => ge(T.$slots, "default", $e(Ce({
|
|
1844
1867
|
...a,
|
|
1845
1868
|
sort: d(n),
|
|
1846
1869
|
page: d(l),
|
|
1847
|
-
phases:
|
|
1870
|
+
phases: v.value,
|
|
1848
1871
|
isLoading: d(z),
|
|
1849
1872
|
games: k.value,
|
|
1850
1873
|
reports: y.value,
|
|
1851
1874
|
onSort: d(s),
|
|
1852
1875
|
changePanel: ne,
|
|
1853
|
-
changePhase:
|
|
1876
|
+
changePhase: W,
|
|
1854
1877
|
changeSeason: P,
|
|
1855
1878
|
onChangeReport: te,
|
|
1856
1879
|
onPaginatorChange: d(c),
|
|
1857
1880
|
changeChampionship: D
|
|
1858
1881
|
})));
|
|
1859
1882
|
}
|
|
1860
|
-
},
|
|
1883
|
+
}, yi = { class: "g-row" }, wi = {
|
|
1861
1884
|
for: "season",
|
|
1862
1885
|
class: "label"
|
|
1863
|
-
},
|
|
1886
|
+
}, xi = ["value"], _i = {
|
|
1864
1887
|
__name: "SeasonSelector",
|
|
1865
1888
|
props: {
|
|
1866
1889
|
seasons: {
|
|
@@ -1874,39 +1897,39 @@ const hi = {
|
|
|
1874
1897
|
},
|
|
1875
1898
|
emits: ["update:championshipId"],
|
|
1876
1899
|
setup(t, { emit: e }) {
|
|
1877
|
-
const r = t, a = e, { t: o } = ce(), { championshipId: i } =
|
|
1878
|
-
return (n, s) => (p(), _("div",
|
|
1900
|
+
const r = t, a = e, { t: o } = ce(), { championshipId: i } = ft(r, a);
|
|
1901
|
+
return (n, s) => (p(), _("div", yi, [
|
|
1879
1902
|
u("div", null, [
|
|
1880
|
-
u("label",
|
|
1903
|
+
u("label", wi, w(d(o)("selection.season")), 1),
|
|
1881
1904
|
$(d(me), {
|
|
1882
1905
|
id: "season",
|
|
1883
1906
|
modelValue: d(i),
|
|
1884
1907
|
"onUpdate:modelValue": s[0] || (s[0] = (l) => de(i) ? i.value = l : null)
|
|
1885
1908
|
}, {
|
|
1886
|
-
default:
|
|
1909
|
+
default: N(() => [
|
|
1887
1910
|
(p(!0), _(R, null, H(t.seasons, (l) => (p(), _("option", {
|
|
1888
1911
|
key: l.championshipId,
|
|
1889
1912
|
value: l.championshipId
|
|
1890
|
-
}, w(l.seasonName), 9,
|
|
1913
|
+
}, w(l.seasonName), 9, xi))), 128))
|
|
1891
1914
|
]),
|
|
1892
1915
|
_: 1
|
|
1893
1916
|
}, 8, ["modelValue"])
|
|
1894
1917
|
])
|
|
1895
1918
|
]));
|
|
1896
1919
|
}
|
|
1897
|
-
},
|
|
1920
|
+
}, ki = {
|
|
1898
1921
|
class: "g-row",
|
|
1899
1922
|
style: { "column-gap": "8px" }
|
|
1900
|
-
},
|
|
1923
|
+
}, zi = {
|
|
1901
1924
|
for: "phases",
|
|
1902
1925
|
class: "label"
|
|
1903
|
-
},
|
|
1926
|
+
}, Si = {
|
|
1904
1927
|
key: 0,
|
|
1905
1928
|
value: null
|
|
1906
|
-
},
|
|
1929
|
+
}, Ii = ["value"], $i = { key: 0 }, Ci = {
|
|
1907
1930
|
for: "report",
|
|
1908
1931
|
class: "label"
|
|
1909
|
-
},
|
|
1932
|
+
}, Ti = ["value"], Ni = {
|
|
1910
1933
|
__name: "Selector",
|
|
1911
1934
|
props: {
|
|
1912
1935
|
phases: {
|
|
@@ -1932,45 +1955,45 @@ const hi = {
|
|
|
1932
1955
|
},
|
|
1933
1956
|
emits: ["update:phaseId", "update:report"],
|
|
1934
1957
|
setup(t, { emit: e }) {
|
|
1935
|
-
const r = t, a = e, { t: o } = ce(), { phaseId: i, report: n } =
|
|
1936
|
-
return (s, l) => (p(), _("div",
|
|
1958
|
+
const r = t, a = e, { t: o } = ce(), { phaseId: i, report: n } = ft(r, a);
|
|
1959
|
+
return (s, l) => (p(), _("div", ki, [
|
|
1937
1960
|
u("div", null, [
|
|
1938
|
-
u("label",
|
|
1961
|
+
u("label", zi, w(d(o)("selection.phases")), 1),
|
|
1939
1962
|
$(d(me), {
|
|
1940
1963
|
id: "phases",
|
|
1941
1964
|
modelValue: d(i),
|
|
1942
1965
|
"onUpdate:modelValue": l[0] || (l[0] = (c) => de(i) ? i.value = c : null),
|
|
1943
1966
|
disabled: d(i) === null
|
|
1944
1967
|
}, {
|
|
1945
|
-
default:
|
|
1946
|
-
d(i) === null ? (p(), _("option",
|
|
1968
|
+
default: N(() => [
|
|
1969
|
+
d(i) === null ? (p(), _("option", Si, w(d(o)("selection.noPhases")), 1)) : M("", !0),
|
|
1947
1970
|
(p(!0), _(R, null, H(t.phases, (c) => (p(), _("option", {
|
|
1948
1971
|
key: c.phaseId,
|
|
1949
1972
|
value: c.phaseId
|
|
1950
|
-
}, w(c.phaseName), 9,
|
|
1973
|
+
}, w(c.phaseName), 9, Ii))), 128))
|
|
1951
1974
|
]),
|
|
1952
1975
|
_: 1
|
|
1953
1976
|
}, 8, ["modelValue", "disabled"])
|
|
1954
1977
|
]),
|
|
1955
|
-
t.isReportsVisible ? (p(), _("div",
|
|
1956
|
-
u("label",
|
|
1978
|
+
t.isReportsVisible ? (p(), _("div", $i, [
|
|
1979
|
+
u("label", Ci, w(d(o)("selection.report")), 1),
|
|
1957
1980
|
$(d(me), {
|
|
1958
1981
|
id: "report",
|
|
1959
1982
|
modelValue: d(n),
|
|
1960
1983
|
"onUpdate:modelValue": l[1] || (l[1] = (c) => de(n) ? n.value = c : null)
|
|
1961
1984
|
}, {
|
|
1962
|
-
default:
|
|
1985
|
+
default: N(() => [
|
|
1963
1986
|
(p(!0), _(R, null, H(t.reports, ({ value: c, name: g }) => (p(), _("option", {
|
|
1964
1987
|
key: c,
|
|
1965
1988
|
value: c
|
|
1966
|
-
}, w(g), 9,
|
|
1989
|
+
}, w(g), 9, Ti))), 128))
|
|
1967
1990
|
]),
|
|
1968
1991
|
_: 1
|
|
1969
1992
|
}, 8, ["modelValue"])
|
|
1970
1993
|
])) : M("", !0)
|
|
1971
1994
|
]));
|
|
1972
1995
|
}
|
|
1973
|
-
}, ur = ".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)}}", pr = ".table-responsive{container-name:table-wrapper;container-type:inline-size;width:100%;overflow-x:auto}.table-responsive table{width:100%}", mr = '.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 :is(th,td){padding:8px;white-space:nowrap;vertical-align:middle;text-align:center}.table :is(th,td).is-text-left{text-align:left}.table :is(th,td).is-text-right{text-align:right}.table th{width:var(--vbr-widget-table-default-column-width);background: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)}.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.is-active{font-weight:700;color:var(--vbr-widget-table-active-color);background: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.is-has-image{padding:0 2px}.table td .is-duplicated{color:var(--vbr-widget-table-neutral-color)}.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 tr.is-highlighted{color:var(--vbr-widget-danger-color-a400)}.table tr.is-optional{opacity:.5}.table tr:nth-child(2n){background: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 tbody tr:focus-within,.table tbody tr:hover{color:var(--vbr-widget-table-hover-color);background-color:var(--vbr-widget-table-hover-bg-color)}.table tbody tr:focus-within td.is-active,.table tbody tr:hover td.is-active{color:var(--vbr-widget-table-active-hover-color);background-color:var(--vbr-widget-table-active-hover-bg-color)}', vr = ".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;cursor:pointer}.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.is-selected{color:var(--vbr-widget-dropdown-item-selected-color);background-color:var(--vbr-widget-dropdown-item-selected-hover-bg-color)}.is-dropdown-menu .is-dropdown-item.is-selected:hover{background-color:var(--vbr-widget-dropdown-item-selected-hover-bg-color)}.is-dropdown-menu .is-dropdown-item svg{margin-right:8px}", Ti = ".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}", Ai = ".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}", Ei = { class: "section-selector" }, Di = ["onClick"], Li = { class: "section-selector" }, Pi = ["onClick"], Mi = ["onClick"], ji = ["onClick"], Oi = ["onClick"], Gi = {
|
|
1996
|
+
}, ur = ".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)}}", pr = ".table-responsive{container-name:table-wrapper;container-type:inline-size;width:100%;overflow-x:auto}.table-responsive table{width:100%}", mr = '.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 :is(th,td){padding:8px;white-space:nowrap;vertical-align:middle;text-align:center}.table :is(th,td).is-text-left{text-align:left}.table :is(th,td).is-text-right{text-align:right}.table th{width:var(--vbr-widget-table-default-column-width);background: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)}.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.is-active{font-weight:700;color:var(--vbr-widget-table-active-color);background: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.is-has-image{padding:0 2px}.table td .is-duplicated{color:var(--vbr-widget-table-neutral-color)}.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 tr.is-highlighted{color:var(--vbr-widget-danger-color-a400)}.table tr.is-optional{opacity:.5}.table tr:nth-child(2n){background: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 tbody tr:focus-within,.table tbody tr:hover{color:var(--vbr-widget-table-hover-color);background-color:var(--vbr-widget-table-hover-bg-color)}.table tbody tr:focus-within td.is-active,.table tbody tr:hover td.is-active{color:var(--vbr-widget-table-active-hover-color);background-color:var(--vbr-widget-table-active-hover-bg-color)}', vr = ".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;cursor:pointer}.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.is-selected{color:var(--vbr-widget-dropdown-item-selected-color);background-color:var(--vbr-widget-dropdown-item-selected-hover-bg-color)}.is-dropdown-menu .is-dropdown-item.is-selected:hover{background-color:var(--vbr-widget-dropdown-item-selected-hover-bg-color)}.is-dropdown-menu .is-dropdown-item svg{margin-right:8px}", Ai = ".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}", Ei = ".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}", Di = { class: "section-selector" }, Li = ["onClick"], Pi = { class: "section-selector" }, Mi = ["onClick"], ji = ["onClick"], Oi = ["onClick"], Gi = ["onClick"], Ri = {
|
|
1974
1997
|
__name: "Championship.ce",
|
|
1975
1998
|
props: {
|
|
1976
1999
|
locale: {
|
|
@@ -2003,60 +2026,60 @@ const hi = {
|
|
|
2003
2026
|
}
|
|
2004
2027
|
},
|
|
2005
2028
|
setup(t) {
|
|
2006
|
-
const e = t, r = j(null), a = j(Fe()), o = A(() => Ve(/* @__PURE__ */ new Date(), d(a), e.locale)), i = { en: ye, hu: we }, n = (l) =>
|
|
2029
|
+
const e = t, r = j(null), a = j(Fe()), o = A(() => Ve(/* @__PURE__ */ new Date(), d(a), e.locale)), i = { en: ye, hu: we }, n = (l) => vt(e.externalGameResolver, l), s = (l) => Xr(e.externalTeamResolver, l);
|
|
2007
2030
|
return (l, c) => (p(), _("div", null, [
|
|
2008
2031
|
$(d(fe), {
|
|
2009
2032
|
locale: e.locale,
|
|
2010
2033
|
messages: i
|
|
2011
2034
|
}, {
|
|
2012
|
-
default:
|
|
2013
|
-
$(d(
|
|
2014
|
-
default:
|
|
2015
|
-
f ? (p(), G(d(
|
|
2035
|
+
default: N(({ t: g }) => [
|
|
2036
|
+
$(d(Te), null, {
|
|
2037
|
+
default: N(({ error: m, hasError: f }) => [
|
|
2038
|
+
f ? (p(), G(d(Ne), {
|
|
2016
2039
|
key: 0,
|
|
2017
2040
|
error: m
|
|
2018
2041
|
}, null, 8, ["error"])) : M("", !0),
|
|
2019
|
-
$(
|
|
2042
|
+
$(fi, {
|
|
2020
2043
|
locale: t.locale,
|
|
2021
2044
|
timezone: a.value,
|
|
2022
2045
|
"championship-name": t.championshipName,
|
|
2023
2046
|
limit: t.limit,
|
|
2024
2047
|
"initial-phase-id": t.initialPhaseId
|
|
2025
2048
|
}, {
|
|
2026
|
-
default:
|
|
2027
|
-
sort:
|
|
2049
|
+
default: N(({
|
|
2050
|
+
sort: b,
|
|
2028
2051
|
page: S,
|
|
2029
2052
|
games: h,
|
|
2030
2053
|
phases: C,
|
|
2031
2054
|
report: x,
|
|
2032
2055
|
phaseId: z,
|
|
2033
2056
|
columns: y,
|
|
2034
|
-
seasons:
|
|
2057
|
+
seasons: v,
|
|
2035
2058
|
reports: I,
|
|
2036
2059
|
isLoading: E,
|
|
2037
2060
|
selectedPanel: k,
|
|
2038
2061
|
championships: P,
|
|
2039
2062
|
championshipId: D,
|
|
2040
|
-
selectedChampionshipId:
|
|
2063
|
+
selectedChampionshipId: W,
|
|
2041
2064
|
onSort: ne,
|
|
2042
2065
|
changePanel: te,
|
|
2043
2066
|
changePhase: F,
|
|
2044
|
-
changeSeason:
|
|
2067
|
+
changeSeason: T,
|
|
2045
2068
|
onChangeReport: O,
|
|
2046
2069
|
onPaginatorChange: ae,
|
|
2047
2070
|
changeChampionship: B
|
|
2048
2071
|
}) => [
|
|
2049
|
-
$(
|
|
2050
|
-
seasons:
|
|
2072
|
+
$(_i, {
|
|
2073
|
+
seasons: v,
|
|
2051
2074
|
"championship-id": D,
|
|
2052
|
-
"onUpdate:championshipId":
|
|
2075
|
+
"onUpdate:championshipId": T
|
|
2053
2076
|
}, null, 8, ["seasons", "championship-id", "onUpdate:championshipId"]),
|
|
2054
|
-
u("div",
|
|
2077
|
+
u("div", Di, [
|
|
2055
2078
|
(p(!0), _(R, null, H(P, (re) => (p(), _("button", {
|
|
2056
2079
|
key: re.phaseId,
|
|
2057
|
-
class: V(["tab-button", { "is-active": re.sectionId ===
|
|
2080
|
+
class: V(["tab-button", { "is-active": re.sectionId === W }]),
|
|
2058
2081
|
onClick: (Ze) => B(re.sectionId)
|
|
2059
|
-
}, w(re.sectionName), 11,
|
|
2082
|
+
}, w(re.sectionName), 11, Li))), 128))
|
|
2060
2083
|
]),
|
|
2061
2084
|
$(Ni, {
|
|
2062
2085
|
phases: C,
|
|
@@ -2067,28 +2090,28 @@ const hi = {
|
|
|
2067
2090
|
"onUpdate:phaseId": F,
|
|
2068
2091
|
"onUpdate:report": O
|
|
2069
2092
|
}, null, 8, ["phases", "phase-id", "reports", "report", "is-reports-visible", "onUpdate:phaseId", "onUpdate:report"]),
|
|
2070
|
-
u("div",
|
|
2093
|
+
u("div", Pi, [
|
|
2071
2094
|
u("button", {
|
|
2072
2095
|
class: V(["tab-button", { "is-active": k === d(ke) }]),
|
|
2073
2096
|
onClick: (re) => te(d(ke))
|
|
2074
|
-
}, w(g("selection.schedule")), 11,
|
|
2097
|
+
}, w(g("selection.schedule")), 11, Mi),
|
|
2075
2098
|
u("button", {
|
|
2076
|
-
class: V(["tab-button", { "is-active": k === d(
|
|
2077
|
-
onClick: (re) => te(d(
|
|
2078
|
-
}, w(g("selection.standings")), 11,
|
|
2099
|
+
class: V(["tab-button", { "is-active": k === d(it) }]),
|
|
2100
|
+
onClick: (re) => te(d(it))
|
|
2101
|
+
}, w(g("selection.standings")), 11, ji),
|
|
2079
2102
|
u("button", {
|
|
2080
2103
|
class: V(["tab-button", { "is-active": k === d(pe) }]),
|
|
2081
2104
|
onClick: (re) => te(d(pe))
|
|
2082
|
-
}, w(g("selection.playerStats")), 11,
|
|
2105
|
+
}, w(g("selection.playerStats")), 11, Oi),
|
|
2083
2106
|
u("button", {
|
|
2084
2107
|
class: V(["tab-button", { "is-active": k === d(Le) }]),
|
|
2085
2108
|
onClick: (re) => te(d(Le))
|
|
2086
|
-
}, w(g("selection.teamStats")), 11,
|
|
2109
|
+
}, w(g("selection.teamStats")), 11, Gi)
|
|
2087
2110
|
]),
|
|
2088
2111
|
$(d(Jt), {
|
|
2089
2112
|
columns: y,
|
|
2090
2113
|
rows: h.rows,
|
|
2091
|
-
sort:
|
|
2114
|
+
sort: b,
|
|
2092
2115
|
"is-loading": E,
|
|
2093
2116
|
"offset-name": o.value,
|
|
2094
2117
|
"external-team-resolver": s,
|
|
@@ -2105,7 +2128,7 @@ const hi = {
|
|
|
2105
2128
|
"range-length": 5,
|
|
2106
2129
|
onChange: ae
|
|
2107
2130
|
}, null, 8, ["page", "items-per-page", "total-items", "onChange"])) : M("", !0),
|
|
2108
|
-
k === d(
|
|
2131
|
+
k === d(it) ? (p(), _(R, { key: 1 }, [
|
|
2109
2132
|
$(d(je), {
|
|
2110
2133
|
rows: h.rows,
|
|
2111
2134
|
"additional-key": "inheritedPoints"
|
|
@@ -2130,7 +2153,7 @@ const hi = {
|
|
|
2130
2153
|
}, 8, ["locale"])
|
|
2131
2154
|
]));
|
|
2132
2155
|
}
|
|
2133
|
-
},
|
|
2156
|
+
}, Yi = /* @__PURE__ */ _e(Ri, [["styles", [xe, Xe, Qe, ur, pr, mr, vr, Ai, Ei]]]), Ui = {
|
|
2134
2157
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2135
2158
|
viewBox: "0 0 24 24",
|
|
2136
2159
|
fill: "none",
|
|
@@ -2139,12 +2162,12 @@ const hi = {
|
|
|
2139
2162
|
"stroke-linecap": "round",
|
|
2140
2163
|
"stroke-linejoin": "round"
|
|
2141
2164
|
};
|
|
2142
|
-
function
|
|
2143
|
-
return p(), _("svg",
|
|
2165
|
+
function Ki(t, e) {
|
|
2166
|
+
return p(), _("svg", Ui, e[0] || (e[0] = [
|
|
2144
2167
|
u("polyline", { points: "15 18 9 12 15 6" }, null, -1)
|
|
2145
2168
|
]));
|
|
2146
2169
|
}
|
|
2147
|
-
const
|
|
2170
|
+
const Vi = { render: Ki }, Fi = {
|
|
2148
2171
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2149
2172
|
viewBox: "0 0 24 24",
|
|
2150
2173
|
fill: "none",
|
|
@@ -2153,14 +2176,14 @@ const Ki = { render: Ui }, Vi = {
|
|
|
2153
2176
|
"stroke-linecap": "round",
|
|
2154
2177
|
"stroke-linejoin": "round"
|
|
2155
2178
|
};
|
|
2156
|
-
function
|
|
2157
|
-
return p(), _("svg",
|
|
2179
|
+
function Bi(t, e) {
|
|
2180
|
+
return p(), _("svg", Fi, e[0] || (e[0] = [
|
|
2158
2181
|
u("polyline", { points: "9 18 15 12 9 6" }, null, -1)
|
|
2159
2182
|
]));
|
|
2160
2183
|
}
|
|
2161
|
-
const br = { render:
|
|
2162
|
-
function
|
|
2163
|
-
const { execute: e } =
|
|
2184
|
+
const br = { render: Bi }, hr = Symbol("CarouselContext");
|
|
2185
|
+
function qi({ apiKey: t }) {
|
|
2186
|
+
const { execute: e } = qa(
|
|
2164
2187
|
(r) => ra("/v2/game-data", t, r).then((a) => ({ ...a, ...r })),
|
|
2165
2188
|
{},
|
|
2166
2189
|
{
|
|
@@ -2172,11 +2195,11 @@ function Bi({ apiKey: t }) {
|
|
|
2172
2195
|
execute: e
|
|
2173
2196
|
};
|
|
2174
2197
|
}
|
|
2175
|
-
function
|
|
2176
|
-
const a =
|
|
2198
|
+
function Hi(t, e, r) {
|
|
2199
|
+
const a = Wi(e, r);
|
|
2177
2200
|
return t.reduce((i, n) => (a.has(n.id) ? i.push({ ...a.get(n.id), ...n }) : i.push(n), i), []);
|
|
2178
2201
|
}
|
|
2179
|
-
function
|
|
2202
|
+
function Wi(t, e) {
|
|
2180
2203
|
const r = /* @__PURE__ */ new Map();
|
|
2181
2204
|
for (const a of t)
|
|
2182
2205
|
r.set(a[e], a);
|
|
@@ -2185,7 +2208,7 @@ function Hi(t, e) {
|
|
|
2185
2208
|
function Kt(t) {
|
|
2186
2209
|
return !(t.includes("_int") || ["wu", "pre", "so", "end"].includes(t));
|
|
2187
2210
|
}
|
|
2188
|
-
const
|
|
2211
|
+
const Ji = { class: "games-timeline" }, Xi = ["disabled"], Qi = { ref: "container" }, Zi = ["disabled"], en = {
|
|
2189
2212
|
__name: "Carousel",
|
|
2190
2213
|
props: {
|
|
2191
2214
|
initialIndex: {
|
|
@@ -2197,17 +2220,17 @@ const Wi = { class: "games-timeline" }, Ji = ["disabled"], Xi = { ref: "containe
|
|
|
2197
2220
|
const e = t, r = kr("container"), a = j(e.initialIndex), o = j([]);
|
|
2198
2221
|
zr(hr, {
|
|
2199
2222
|
register: (f) => {
|
|
2200
|
-
o.value.includes(f) || (o.value.push(f), o.value = Qr(o.value, (
|
|
2223
|
+
o.value.includes(f) || (o.value.push(f), o.value = Qr(o.value, (b) => ue(r.value).querySelector(`#${b}`)));
|
|
2201
2224
|
},
|
|
2202
2225
|
unregister: (f) => {
|
|
2203
|
-
const
|
|
2204
|
-
|
|
2226
|
+
const b = o.value.indexOf(f);
|
|
2227
|
+
b !== -1 && o.value.splice(b, 1);
|
|
2205
2228
|
}
|
|
2206
2229
|
});
|
|
2207
|
-
const { arrivedState: n } =
|
|
2230
|
+
const { arrivedState: n } = Wa(r, { onStop: m }), s = A(
|
|
2208
2231
|
() => ue(r).querySelector(`#${o.value[a.value]}`)
|
|
2209
2232
|
);
|
|
2210
|
-
|
|
2233
|
+
ut(() => g()), se(
|
|
2211
2234
|
() => e.initialIndex,
|
|
2212
2235
|
(f) => {
|
|
2213
2236
|
a.value = f, ze(() => g());
|
|
@@ -2220,25 +2243,25 @@ const Wi = { class: "games-timeline" }, Ji = ["disabled"], Xi = { ref: "containe
|
|
|
2220
2243
|
n.right || (a.value++, g({ behavior: "smooth" }));
|
|
2221
2244
|
}
|
|
2222
2245
|
function g(f) {
|
|
2223
|
-
var
|
|
2224
|
-
(
|
|
2246
|
+
var b;
|
|
2247
|
+
(b = s.value) == null || b.scrollIntoView({ inline: "start", block: "nearest", ...f });
|
|
2225
2248
|
}
|
|
2226
2249
|
function m() {
|
|
2227
2250
|
var S;
|
|
2228
|
-
const f = (S = ue(r).getBoundingClientRect()) == null ? void 0 : S.left,
|
|
2251
|
+
const f = (S = ue(r).getBoundingClientRect()) == null ? void 0 : S.left, b = Array.from(ue(r).children).findIndex(
|
|
2229
2252
|
(h) => Math.round(h.getBoundingClientRect().left - f) >= 0
|
|
2230
2253
|
);
|
|
2231
|
-
a.value =
|
|
2254
|
+
a.value = b;
|
|
2232
2255
|
}
|
|
2233
|
-
return (f,
|
|
2256
|
+
return (f, b) => (p(), _("div", Ji, [
|
|
2234
2257
|
u("button", {
|
|
2235
2258
|
type: "button",
|
|
2236
2259
|
disabled: d(n).left,
|
|
2237
2260
|
onClick: l
|
|
2238
2261
|
}, [
|
|
2239
|
-
$(d(
|
|
2240
|
-
], 8,
|
|
2241
|
-
u("div",
|
|
2262
|
+
$(d(Vi))
|
|
2263
|
+
], 8, Xi),
|
|
2264
|
+
u("div", Qi, [
|
|
2242
2265
|
ge(f.$slots, "default")
|
|
2243
2266
|
], 512),
|
|
2244
2267
|
u("button", {
|
|
@@ -2247,21 +2270,21 @@ const Wi = { class: "games-timeline" }, Ji = ["disabled"], Xi = { ref: "containe
|
|
|
2247
2270
|
onClick: c
|
|
2248
2271
|
}, [
|
|
2249
2272
|
$(d(br))
|
|
2250
|
-
], 8,
|
|
2273
|
+
], 8, Zi)
|
|
2251
2274
|
]));
|
|
2252
2275
|
}
|
|
2253
|
-
},
|
|
2276
|
+
}, nt = {
|
|
2254
2277
|
__name: "CarouselItem",
|
|
2255
2278
|
setup(t) {
|
|
2256
2279
|
const e = `mjsz-vbr-carousel-item-${Sr()}`, r = Ir(hr, null);
|
|
2257
|
-
return
|
|
2280
|
+
return ut(() => r == null ? void 0 : r.register(e)), $r(() => r == null ? void 0 : r.unregister(e)), (a, o) => (p(), _("div", {
|
|
2258
2281
|
id: e,
|
|
2259
2282
|
class: "is-slide"
|
|
2260
2283
|
}, [
|
|
2261
2284
|
ge(a.$slots, "default")
|
|
2262
2285
|
]));
|
|
2263
2286
|
}
|
|
2264
|
-
},
|
|
2287
|
+
}, tn = { class: "games-timeline-schedule-link" }, Vt = {
|
|
2265
2288
|
__name: "ExternalSchedule",
|
|
2266
2289
|
props: {
|
|
2267
2290
|
title: {
|
|
@@ -2279,7 +2302,7 @@ const Wi = { class: "games-timeline" }, Ji = ["disabled"], Xi = { ref: "containe
|
|
|
2279
2302
|
function o() {
|
|
2280
2303
|
a("navigateTo", { url: r.externalScheduleUrl, target: "_self" });
|
|
2281
2304
|
}
|
|
2282
|
-
return (i, n) => (p(), _("div",
|
|
2305
|
+
return (i, n) => (p(), _("div", tn, [
|
|
2283
2306
|
u("button", {
|
|
2284
2307
|
type: "button",
|
|
2285
2308
|
onClick: o
|
|
@@ -2289,7 +2312,7 @@ const Wi = { class: "games-timeline" }, Ji = ["disabled"], Xi = { ref: "containe
|
|
|
2289
2312
|
])
|
|
2290
2313
|
]));
|
|
2291
2314
|
}
|
|
2292
|
-
},
|
|
2315
|
+
}, rn = { class: "score-display" }, an = { class: "is-score" }, Ft = {
|
|
2293
2316
|
__name: "ScoreDisplay",
|
|
2294
2317
|
props: {
|
|
2295
2318
|
score: {
|
|
@@ -2298,10 +2321,10 @@ const Wi = { class: "games-timeline" }, Ji = ["disabled"], Xi = { ref: "containe
|
|
|
2298
2321
|
}
|
|
2299
2322
|
},
|
|
2300
2323
|
setup(t) {
|
|
2301
|
-
return (e, r) => (p(), _("div",
|
|
2302
|
-
u("div",
|
|
2324
|
+
return (e, r) => (p(), _("div", rn, [
|
|
2325
|
+
u("div", an, [
|
|
2303
2326
|
$(Cr, { name: "is-slide-transition" }, {
|
|
2304
|
-
default:
|
|
2327
|
+
default: N(() => [
|
|
2305
2328
|
(p(), _("span", { key: t.score }, w(t.score), 1))
|
|
2306
2329
|
]),
|
|
2307
2330
|
_: 1
|
|
@@ -2309,13 +2332,13 @@ const Wi = { class: "games-timeline" }, Ji = ["disabled"], Xi = { ref: "containe
|
|
|
2309
2332
|
])
|
|
2310
2333
|
]));
|
|
2311
2334
|
}
|
|
2312
|
-
},
|
|
2335
|
+
}, on = {
|
|
2313
2336
|
key: 0,
|
|
2314
2337
|
class: "is-badge"
|
|
2315
|
-
},
|
|
2338
|
+
}, nn = {
|
|
2316
2339
|
key: 1,
|
|
2317
2340
|
class: "is-badge"
|
|
2318
|
-
},
|
|
2341
|
+
}, sn = { class: "is-home-team-logo" }, ln = { class: "is-home-team-name" }, cn = { class: "is-home-team-score" }, dn = { class: "is-away-team-logo" }, gn = { class: "is-away-team-name" }, un = { class: "is-away-team-score" }, pn = { class: "is-status" }, mn = {
|
|
2319
2342
|
__name: "Game",
|
|
2320
2343
|
props: {
|
|
2321
2344
|
gameData: {
|
|
@@ -2337,7 +2360,7 @@ const Wi = { class: "games-timeline" }, Ji = ["disabled"], Xi = { ref: "containe
|
|
|
2337
2360
|
const { externalUrl: s, id: l } = r.gameData;
|
|
2338
2361
|
if (s)
|
|
2339
2362
|
return a("navigateTo", { url: s, target: "_blank" });
|
|
2340
|
-
const c =
|
|
2363
|
+
const c = vt(r.externalGameResolver, { gameId: l });
|
|
2341
2364
|
a("navigateTo", { url: c, target: "_self" });
|
|
2342
2365
|
}
|
|
2343
2366
|
return (s, l) => (p(), _("div", {
|
|
@@ -2346,51 +2369,51 @@ const Wi = { class: "games-timeline" }, Ji = ["disabled"], Xi = { ref: "containe
|
|
|
2346
2369
|
}, [
|
|
2347
2370
|
u("time", null, [
|
|
2348
2371
|
oe(w(t.gameData.gameDateTime) + " ", 1),
|
|
2349
|
-
t.gameData.isShootout ? (p(), _("span",
|
|
2350
|
-
t.gameData.isOvertime ? (p(), _("span",
|
|
2372
|
+
t.gameData.isShootout ? (p(), _("span", on, w(d(o)("common.shootoutShort")), 1)) : M("", !0),
|
|
2373
|
+
t.gameData.isOvertime ? (p(), _("span", nn, w(d(o)("common.overtimeShort")), 1)) : M("", !0)
|
|
2351
2374
|
]),
|
|
2352
|
-
u("div",
|
|
2375
|
+
u("div", sn, [
|
|
2353
2376
|
$(d(Me), {
|
|
2354
2377
|
src: t.gameData.homeTeam.logo,
|
|
2355
2378
|
class: "is-team-logo"
|
|
2356
2379
|
}, null, 8, ["src"])
|
|
2357
2380
|
]),
|
|
2358
|
-
u("div",
|
|
2359
|
-
u("div",
|
|
2381
|
+
u("div", ln, w(t.gameData.homeTeam.longName), 1),
|
|
2382
|
+
u("div", cn, [
|
|
2360
2383
|
t.gameData.homeTeamScore != null ? (p(), G(Ft, {
|
|
2361
2384
|
key: 0,
|
|
2362
2385
|
class: V(["is-badge is-extra-large", [t.gameData.gameStatus === 1 ? "is-green" : "is-dark"]]),
|
|
2363
2386
|
score: t.gameData.homeTeamScore
|
|
2364
2387
|
}, {
|
|
2365
|
-
default:
|
|
2388
|
+
default: N(() => [
|
|
2366
2389
|
oe(w(t.gameData.homeTeamScore), 1)
|
|
2367
2390
|
]),
|
|
2368
2391
|
_: 1
|
|
2369
2392
|
}, 8, ["class", "score"])) : M("", !0)
|
|
2370
2393
|
]),
|
|
2371
|
-
u("div",
|
|
2394
|
+
u("div", dn, [
|
|
2372
2395
|
$(d(Me), {
|
|
2373
2396
|
src: t.gameData.awayTeam.logo,
|
|
2374
2397
|
class: "is-team-logo"
|
|
2375
2398
|
}, null, 8, ["src"])
|
|
2376
2399
|
]),
|
|
2377
|
-
u("div",
|
|
2378
|
-
u("div",
|
|
2400
|
+
u("div", gn, w(t.gameData.awayTeam.longName), 1),
|
|
2401
|
+
u("div", un, [
|
|
2379
2402
|
t.gameData.awayTeamScore != null ? (p(), G(Ft, {
|
|
2380
2403
|
key: 0,
|
|
2381
2404
|
score: t.gameData.awayTeamScore,
|
|
2382
2405
|
class: V(["is-badge is-extra-large", [t.gameData.gameStatus === 1 ? "is-green" : "is-dark"]])
|
|
2383
2406
|
}, {
|
|
2384
|
-
default:
|
|
2407
|
+
default: N(() => [
|
|
2385
2408
|
oe(w(t.gameData.awayTeamScore), 1)
|
|
2386
2409
|
]),
|
|
2387
2410
|
_: 1
|
|
2388
2411
|
}, 8, ["score", "class"])) : M("", !0)
|
|
2389
2412
|
]),
|
|
2390
|
-
u("div",
|
|
2413
|
+
u("div", pn, w(i.value), 1)
|
|
2391
2414
|
]));
|
|
2392
2415
|
}
|
|
2393
|
-
},
|
|
2416
|
+
}, vn = {
|
|
2394
2417
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2395
2418
|
viewBox: "0 0 24 24",
|
|
2396
2419
|
fill: "none",
|
|
@@ -2399,8 +2422,8 @@ const Wi = { class: "games-timeline" }, Ji = ["disabled"], Xi = { ref: "containe
|
|
|
2399
2422
|
"stroke-linecap": "round",
|
|
2400
2423
|
"stroke-linejoin": "round"
|
|
2401
2424
|
};
|
|
2402
|
-
function
|
|
2403
|
-
return p(), _("svg",
|
|
2425
|
+
function bn(t, e) {
|
|
2426
|
+
return p(), _("svg", vn, e[0] || (e[0] = [
|
|
2404
2427
|
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),
|
|
2405
2428
|
u("line", {
|
|
2406
2429
|
x1: "12",
|
|
@@ -2416,7 +2439,7 @@ function vn(t, e) {
|
|
|
2416
2439
|
}, null, -1)
|
|
2417
2440
|
]));
|
|
2418
2441
|
}
|
|
2419
|
-
const
|
|
2442
|
+
const hn = { render: bn }, fn = { class: "games-timeline-error-indicator" }, yn = {
|
|
2420
2443
|
__name: "TryAgain",
|
|
2421
2444
|
emits: ["tryAgain"],
|
|
2422
2445
|
setup(t, { emit: e }) {
|
|
@@ -2424,8 +2447,8 @@ const bn = { render: vn }, hn = { class: "games-timeline-error-indicator" }, fn
|
|
|
2424
2447
|
function o() {
|
|
2425
2448
|
r("tryAgain");
|
|
2426
2449
|
}
|
|
2427
|
-
return (i, n) => (p(), _("div",
|
|
2428
|
-
$(d(
|
|
2450
|
+
return (i, n) => (p(), _("div", fn, [
|
|
2451
|
+
$(d(hn)),
|
|
2429
2452
|
u("div", null, w(d(a)("gamesTimeline.errorText")), 1),
|
|
2430
2453
|
u("button", {
|
|
2431
2454
|
type: "button",
|
|
@@ -2433,10 +2456,10 @@ const bn = { render: vn }, hn = { class: "games-timeline-error-indicator" }, fn
|
|
|
2433
2456
|
}, w(d(a)("gamesTimeline.errorCta")), 1)
|
|
2434
2457
|
]));
|
|
2435
2458
|
}
|
|
2436
|
-
},
|
|
2459
|
+
}, wn = '.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%)}', xn = {
|
|
2437
2460
|
key: 0,
|
|
2438
2461
|
style: { width: "100%" }
|
|
2439
|
-
},
|
|
2462
|
+
}, _n = {
|
|
2440
2463
|
__name: "GamesTimeline.ce",
|
|
2441
2464
|
props: {
|
|
2442
2465
|
locale: {
|
|
@@ -2470,11 +2493,11 @@ const bn = { render: vn }, hn = { class: "games-timeline-error-indicator" }, fn
|
|
|
2470
2493
|
params: {},
|
|
2471
2494
|
immediate: !0
|
|
2472
2495
|
},
|
|
2473
|
-
transform: (x) =>
|
|
2496
|
+
transform: (x) => Hi(x, n.value, "id").reverse(),
|
|
2474
2497
|
onError: () => {
|
|
2475
2498
|
i.value = !0;
|
|
2476
2499
|
},
|
|
2477
|
-
onSuccess:
|
|
2500
|
+
onSuccess: b
|
|
2478
2501
|
}), { resume: l, pause: c } = Ct(s, 1e3 * 60 * 5);
|
|
2479
2502
|
aa(
|
|
2480
2503
|
!0,
|
|
@@ -2485,29 +2508,29 @@ const bn = { render: vn }, hn = { class: "games-timeline-error-indicator" }, fn
|
|
|
2485
2508
|
c(), o.map((x) => x == null ? void 0 : x()), o = [];
|
|
2486
2509
|
}
|
|
2487
2510
|
);
|
|
2488
|
-
const g = A(() =>
|
|
2511
|
+
const g = A(() => ot(n.value) ? 0 : n.value.findIndex((x) => !Xt(new Date(x.gameDate), /* @__PURE__ */ new Date(), "day")) + 1), m = A(
|
|
2489
2512
|
() => n.value.map((x) => ({
|
|
2490
2513
|
...x,
|
|
2491
|
-
gameDateTime: `${
|
|
2514
|
+
gameDateTime: `${X(x.gameDate, "L LT", a, e.locale)} (${Ve(
|
|
2492
2515
|
x.gameDate,
|
|
2493
2516
|
a,
|
|
2494
2517
|
e.locale
|
|
2495
2518
|
)})`
|
|
2496
2519
|
}))
|
|
2497
|
-
), { execute: f } =
|
|
2498
|
-
async function
|
|
2520
|
+
), { execute: f } = qi({ apiKey: e.apiKey });
|
|
2521
|
+
async function b() {
|
|
2499
2522
|
i.value = !1, o.map((z) => z == null ? void 0 : z()), o = [];
|
|
2500
2523
|
const x = n.value.filter((z) => z.gameStatus === 1);
|
|
2501
2524
|
for (let z = 0; z < x.length; z++) {
|
|
2502
2525
|
const y = x[z].id;
|
|
2503
2526
|
f(0, { gameId: y }).then((I) => S(I));
|
|
2504
|
-
const { pause:
|
|
2505
|
-
o.push(
|
|
2527
|
+
const { pause: v } = Ct(() => f(0, { gameId: y }).then((I) => S(I)), 6e4);
|
|
2528
|
+
o.push(v);
|
|
2506
2529
|
}
|
|
2507
2530
|
}
|
|
2508
2531
|
function S(x = {}) {
|
|
2509
|
-
const { gameId: z, gameStatus: y, homeTeamScore:
|
|
2510
|
-
P.gameStatus = y, P.homeTeamScore =
|
|
2532
|
+
const { gameId: z, gameStatus: y, homeTeamScore: v, awayTeamScore: I, period: E, periodTime: k } = x, P = n.value.find((D) => D.id === z);
|
|
2533
|
+
P.gameStatus = y, P.homeTeamScore = v, P.awayTeamScore = I, P.period = E, P.periodTime = k, Tr(n);
|
|
2511
2534
|
}
|
|
2512
2535
|
function h({ url: x, target: z }) {
|
|
2513
2536
|
window.open(x, z);
|
|
@@ -2519,17 +2542,17 @@ const bn = { render: vn }, hn = { class: "games-timeline-error-indicator" }, fn
|
|
|
2519
2542
|
locale: t.locale,
|
|
2520
2543
|
messages: r
|
|
2521
2544
|
}, {
|
|
2522
|
-
default:
|
|
2523
|
-
$(
|
|
2524
|
-
default:
|
|
2525
|
-
d(
|
|
2545
|
+
default: N(({ t: y }) => [
|
|
2546
|
+
$(en, { "initial-index": g.value }, {
|
|
2547
|
+
default: N(() => [
|
|
2548
|
+
d(ot)(d(n)) && !i.value ? (p(), _("div", xn, [
|
|
2526
2549
|
$(d(Wt))
|
|
2527
|
-
])) : i.value && d(
|
|
2550
|
+
])) : i.value && d(ot)(d(n)) ? (p(), G(yn, {
|
|
2528
2551
|
key: 1,
|
|
2529
2552
|
onTryAgain: C
|
|
2530
2553
|
})) : (p(), _(R, { key: 2 }, [
|
|
2531
|
-
$(
|
|
2532
|
-
default:
|
|
2554
|
+
$(nt, null, {
|
|
2555
|
+
default: N(() => [
|
|
2533
2556
|
$(Vt, {
|
|
2534
2557
|
"external-schedule-url": t.externalScheduleUrl,
|
|
2535
2558
|
title: y("gamesTimeline.allSchedule"),
|
|
@@ -2538,22 +2561,22 @@ const bn = { render: vn }, hn = { class: "games-timeline-error-indicator" }, fn
|
|
|
2538
2561
|
]),
|
|
2539
2562
|
_: 2
|
|
2540
2563
|
}, 1024),
|
|
2541
|
-
(p(!0), _(R, null, H(m.value, (
|
|
2564
|
+
(p(!0), _(R, null, H(m.value, (v, I, E, k) => {
|
|
2542
2565
|
const P = [
|
|
2543
|
-
|
|
2544
|
-
|
|
2545
|
-
|
|
2546
|
-
|
|
2547
|
-
|
|
2548
|
-
|
|
2566
|
+
v.gameDateTime,
|
|
2567
|
+
v.gameStatus,
|
|
2568
|
+
v.homeTeamScore,
|
|
2569
|
+
v.awayTeamScore,
|
|
2570
|
+
v.period,
|
|
2571
|
+
v.actualTime
|
|
2549
2572
|
];
|
|
2550
|
-
if (k && k.key ===
|
|
2551
|
-
const D = (p(), G(
|
|
2552
|
-
key:
|
|
2573
|
+
if (k && k.key === v.id && Nr(k, P)) return k;
|
|
2574
|
+
const D = (p(), G(nt, {
|
|
2575
|
+
key: v.id
|
|
2553
2576
|
}, {
|
|
2554
|
-
default:
|
|
2555
|
-
$(
|
|
2556
|
-
"game-data":
|
|
2577
|
+
default: N(() => [
|
|
2578
|
+
$(mn, {
|
|
2579
|
+
"game-data": v,
|
|
2557
2580
|
"external-game-resolver": t.externalGameResolver,
|
|
2558
2581
|
onNavigateTo: h
|
|
2559
2582
|
}, null, 8, ["game-data", "external-game-resolver"])
|
|
@@ -2562,8 +2585,8 @@ const bn = { render: vn }, hn = { class: "games-timeline-error-indicator" }, fn
|
|
|
2562
2585
|
}, 1024));
|
|
2563
2586
|
return D.memo = P, D;
|
|
2564
2587
|
}, z, 0), 128)),
|
|
2565
|
-
$(
|
|
2566
|
-
default:
|
|
2588
|
+
$(nt, null, {
|
|
2589
|
+
default: N(() => [
|
|
2567
2590
|
$(Vt, {
|
|
2568
2591
|
"external-schedule-url": t.externalScheduleUrl,
|
|
2569
2592
|
title: y("gamesTimeline.allSchedule"),
|
|
@@ -2580,17 +2603,17 @@ const bn = { render: vn }, hn = { class: "games-timeline-error-indicator" }, fn
|
|
|
2580
2603
|
_: 1
|
|
2581
2604
|
}, 8, ["locale"]));
|
|
2582
2605
|
}
|
|
2583
|
-
},
|
|
2584
|
-
function kn(t, e) {
|
|
2585
|
-
e.seasonsList = t, e.seasonId = Ae(Z, ie("id"))(t);
|
|
2586
|
-
}
|
|
2606
|
+
}, kn = /* @__PURE__ */ _e(_n, [["styles", [xe, wn]]]);
|
|
2587
2607
|
function zn(t, e) {
|
|
2588
|
-
e.
|
|
2608
|
+
e.seasonsList = t, e.seasonId = Ae(Q, ie("id"))(t);
|
|
2589
2609
|
}
|
|
2590
2610
|
function Sn(t, e) {
|
|
2591
|
-
e.
|
|
2611
|
+
e.championshipList = t, e.championshipId = Ae(Q, ie("championshipId"))(t);
|
|
2592
2612
|
}
|
|
2593
|
-
|
|
2613
|
+
function In(t, e) {
|
|
2614
|
+
e.sections = t, e.sectionId = Ae(Q, ie("sectionId"))(t);
|
|
2615
|
+
}
|
|
2616
|
+
const $n = {
|
|
2594
2617
|
__name: "DataProvider",
|
|
2595
2618
|
props: {
|
|
2596
2619
|
apiKey: {
|
|
@@ -2616,7 +2639,7 @@ const In = {
|
|
|
2616
2639
|
apiKey: e.apiKey,
|
|
2617
2640
|
params: {}
|
|
2618
2641
|
},
|
|
2619
|
-
transform: (h) =>
|
|
2642
|
+
transform: (h) => zn(h, r),
|
|
2620
2643
|
onError: a
|
|
2621
2644
|
}), { isLoading: n, execute: s } = ee({
|
|
2622
2645
|
options: {
|
|
@@ -2624,7 +2647,7 @@ const In = {
|
|
|
2624
2647
|
apiKey: e.apiKey,
|
|
2625
2648
|
params: A(() => ({ seasonId: r.seasonId }))
|
|
2626
2649
|
},
|
|
2627
|
-
transform: (h) =>
|
|
2650
|
+
transform: (h) => Sn(h, r),
|
|
2628
2651
|
onError: a
|
|
2629
2652
|
}), {
|
|
2630
2653
|
isLoading: l,
|
|
@@ -2635,7 +2658,7 @@ const In = {
|
|
|
2635
2658
|
apiKey: e.apiKey,
|
|
2636
2659
|
params: A(() => ({ championshipId: r.championshipId }))
|
|
2637
2660
|
},
|
|
2638
|
-
transform: (h) =>
|
|
2661
|
+
transform: (h) => In(h, r),
|
|
2639
2662
|
onError: a
|
|
2640
2663
|
}), g = A(() => {
|
|
2641
2664
|
var h, C;
|
|
@@ -2646,7 +2669,7 @@ const In = {
|
|
|
2646
2669
|
function f(h) {
|
|
2647
2670
|
r.seasonId = h, be([s, c]);
|
|
2648
2671
|
}
|
|
2649
|
-
function
|
|
2672
|
+
function b(h) {
|
|
2650
2673
|
r.championshipId = h, c();
|
|
2651
2674
|
}
|
|
2652
2675
|
function S(h) {
|
|
@@ -2658,16 +2681,16 @@ const In = {
|
|
|
2658
2681
|
phaseData: g.value,
|
|
2659
2682
|
onChangeSeason: f,
|
|
2660
2683
|
onChangeSection: S,
|
|
2661
|
-
onChangeChampionship:
|
|
2684
|
+
onChangeChampionship: b
|
|
2662
2685
|
})));
|
|
2663
2686
|
}
|
|
2664
|
-
},
|
|
2687
|
+
}, Cn = { class: "is-mb-5" }, Tn = {
|
|
2665
2688
|
for: "season",
|
|
2666
2689
|
class: "label"
|
|
2667
|
-
}, Nn = ["value"],
|
|
2690
|
+
}, Nn = ["value"], An = {
|
|
2668
2691
|
for: "season",
|
|
2669
2692
|
class: "label"
|
|
2670
|
-
},
|
|
2693
|
+
}, En = ["value"], Dn = {
|
|
2671
2694
|
__name: "Selector",
|
|
2672
2695
|
props: {
|
|
2673
2696
|
seasonsList: {
|
|
@@ -2689,16 +2712,16 @@ const In = {
|
|
|
2689
2712
|
},
|
|
2690
2713
|
emits: ["update:seasonId", "update:championshipId"],
|
|
2691
2714
|
setup(t, { emit: e }) {
|
|
2692
|
-
const r = t, a = e, { t: o } = ce(), { seasonId: i, championshipId: n } =
|
|
2715
|
+
const r = t, a = e, { t: o } = ce(), { seasonId: i, championshipId: n } = ft(r, a);
|
|
2693
2716
|
return (s, l) => (p(), _(R, null, [
|
|
2694
|
-
u("div",
|
|
2695
|
-
u("label",
|
|
2717
|
+
u("div", Cn, [
|
|
2718
|
+
u("label", Tn, w(d(o)("selection.seasons")), 1),
|
|
2696
2719
|
$(d(me), {
|
|
2697
2720
|
id: "season",
|
|
2698
2721
|
modelValue: d(i),
|
|
2699
2722
|
"onUpdate:modelValue": l[0] || (l[0] = (c) => de(i) ? i.value = c : null)
|
|
2700
2723
|
}, {
|
|
2701
|
-
default:
|
|
2724
|
+
default: N(() => [
|
|
2702
2725
|
(p(!0), _(R, null, H(t.seasonsList, (c) => (p(), _("option", {
|
|
2703
2726
|
key: c.id,
|
|
2704
2727
|
value: c.id
|
|
@@ -2708,27 +2731,27 @@ const In = {
|
|
|
2708
2731
|
}, 8, ["modelValue"])
|
|
2709
2732
|
]),
|
|
2710
2733
|
u("div", null, [
|
|
2711
|
-
u("label",
|
|
2734
|
+
u("label", An, w(d(o)("selection.championships")), 1),
|
|
2712
2735
|
$(d(me), {
|
|
2713
2736
|
id: "season",
|
|
2714
2737
|
modelValue: d(n),
|
|
2715
2738
|
"onUpdate:modelValue": l[1] || (l[1] = (c) => de(n) ? n.value = c : null)
|
|
2716
2739
|
}, {
|
|
2717
|
-
default:
|
|
2740
|
+
default: N(() => [
|
|
2718
2741
|
(p(!0), _(R, null, H(t.championshipList, (c) => (p(), _("option", {
|
|
2719
2742
|
key: c.championshipId,
|
|
2720
2743
|
value: c.championshipId
|
|
2721
|
-
}, w(c.championshipName), 9,
|
|
2744
|
+
}, w(c.championshipName), 9, En))), 128))
|
|
2722
2745
|
]),
|
|
2723
2746
|
_: 1
|
|
2724
2747
|
}, 8, ["modelValue"])
|
|
2725
2748
|
])
|
|
2726
2749
|
], 64));
|
|
2727
2750
|
}
|
|
2728
|
-
},
|
|
2751
|
+
}, Ln = ".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}", Pn = { class: "main-layout" }, Mn = { class: "is-mb-5" }, jn = { for: "seasonId" }, On = ["textContent"], Gn = { class: "is-mb-5" }, Rn = { for: "championshipName" }, Yn = ["textContent"], Un = { class: "is-mb-5" }, Kn = { for: "championshipId" }, Vn = ["textContent"], Fn = { class: "is-mb-5" }, Bn = { for: "sections" }, qn = {
|
|
2729
2752
|
id: "sections",
|
|
2730
2753
|
class: "toggle-group"
|
|
2731
|
-
},
|
|
2754
|
+
}, Hn = ["onClick"], Wn = { class: "is-mb-5" }, Jn = { for: "phases" }, Xn = ["textContent"], Qn = {
|
|
2732
2755
|
__name: "IvrIdentifiers.ce",
|
|
2733
2756
|
props: {
|
|
2734
2757
|
locale: {
|
|
@@ -2746,21 +2769,21 @@ const In = {
|
|
|
2746
2769
|
locale: e.locale,
|
|
2747
2770
|
messages: r
|
|
2748
2771
|
}, {
|
|
2749
|
-
default:
|
|
2750
|
-
$(d(
|
|
2751
|
-
default:
|
|
2752
|
-
s ? (p(), G(d(
|
|
2772
|
+
default: N(({ t: i }) => [
|
|
2773
|
+
$(d(Te), null, {
|
|
2774
|
+
default: N(({ error: n, hasError: s }) => [
|
|
2775
|
+
s ? (p(), G(d(Ne), {
|
|
2753
2776
|
key: 0,
|
|
2754
2777
|
error: n
|
|
2755
2778
|
}, null, 8, ["error"])) : M("", !0),
|
|
2756
|
-
$(
|
|
2757
|
-
default:
|
|
2779
|
+
$($n, null, {
|
|
2780
|
+
default: N(({
|
|
2758
2781
|
seasonsList: l,
|
|
2759
2782
|
seasonId: c,
|
|
2760
2783
|
championshipList: g,
|
|
2761
2784
|
championshipId: m,
|
|
2762
2785
|
sections: f,
|
|
2763
|
-
sectionId:
|
|
2786
|
+
sectionId: b,
|
|
2764
2787
|
phaseData: S,
|
|
2765
2788
|
onChangeSeason: h,
|
|
2766
2789
|
onChangeSection: C,
|
|
@@ -2768,9 +2791,9 @@ const In = {
|
|
|
2768
2791
|
}) => {
|
|
2769
2792
|
var z;
|
|
2770
2793
|
return [
|
|
2771
|
-
u("div",
|
|
2794
|
+
u("div", Pn, [
|
|
2772
2795
|
u("div", null, [
|
|
2773
|
-
$(
|
|
2796
|
+
$(Dn, {
|
|
2774
2797
|
"seasons-list": l,
|
|
2775
2798
|
"season-id": c,
|
|
2776
2799
|
"championship-list": g,
|
|
@@ -2780,43 +2803,43 @@ const In = {
|
|
|
2780
2803
|
}, null, 8, ["seasons-list", "season-id", "championship-list", "championship-id", "onUpdate:seasonId", "onUpdate:championshipId"])
|
|
2781
2804
|
]),
|
|
2782
2805
|
u("div", null, [
|
|
2783
|
-
u("section",
|
|
2784
|
-
u("label",
|
|
2806
|
+
u("section", Mn, [
|
|
2807
|
+
u("label", jn, w(i("selection.seasonId")), 1),
|
|
2785
2808
|
u("p", {
|
|
2786
2809
|
id: "seasonId",
|
|
2787
2810
|
textContent: w(c)
|
|
2788
|
-
}, null, 8,
|
|
2811
|
+
}, null, 8, On)
|
|
2789
2812
|
]),
|
|
2790
|
-
u("section",
|
|
2791
|
-
u("label",
|
|
2813
|
+
u("section", Gn, [
|
|
2814
|
+
u("label", Rn, w(i("selection.championshipName")), 1),
|
|
2792
2815
|
u("p", {
|
|
2793
2816
|
id: "championshipName",
|
|
2794
2817
|
textContent: w((z = g.find((y) => y.championshipId === m)) == null ? void 0 : z.championshipName)
|
|
2795
|
-
}, null, 8,
|
|
2818
|
+
}, null, 8, Yn)
|
|
2796
2819
|
]),
|
|
2797
|
-
u("section",
|
|
2798
|
-
u("label",
|
|
2820
|
+
u("section", Un, [
|
|
2821
|
+
u("label", Kn, w(i("selection.championshipId")), 1),
|
|
2799
2822
|
u("p", {
|
|
2800
2823
|
id: "championshipId",
|
|
2801
2824
|
textContent: w(m)
|
|
2802
|
-
}, null, 8,
|
|
2825
|
+
}, null, 8, Vn)
|
|
2803
2826
|
]),
|
|
2804
|
-
u("section",
|
|
2805
|
-
u("label",
|
|
2806
|
-
u("div",
|
|
2827
|
+
u("section", Fn, [
|
|
2828
|
+
u("label", Bn, w(i("selection.sections")) + ":", 1),
|
|
2829
|
+
u("div", qn, [
|
|
2807
2830
|
(p(!0), _(R, null, H(f, (y) => (p(), _("button", {
|
|
2808
2831
|
key: y.sectionId,
|
|
2809
|
-
class: V({ "is-active": y.sectionId ===
|
|
2810
|
-
onClick: (
|
|
2811
|
-
}, w(y.sectionName), 11,
|
|
2832
|
+
class: V({ "is-active": y.sectionId === b }),
|
|
2833
|
+
onClick: (v) => C(y.sectionId)
|
|
2834
|
+
}, w(y.sectionName), 11, Hn))), 128))
|
|
2812
2835
|
])
|
|
2813
2836
|
]),
|
|
2814
|
-
u("section",
|
|
2815
|
-
u("label",
|
|
2837
|
+
u("section", Wn, [
|
|
2838
|
+
u("label", Jn, w(i("selection.phasesDivision")) + ":", 1),
|
|
2816
2839
|
u("pre", {
|
|
2817
2840
|
id: "phases",
|
|
2818
2841
|
textContent: w(S)
|
|
2819
|
-
}, null, 8,
|
|
2842
|
+
}, null, 8, Xn)
|
|
2820
2843
|
])
|
|
2821
2844
|
])
|
|
2822
2845
|
])
|
|
@@ -2831,10 +2854,10 @@ const In = {
|
|
|
2831
2854
|
_: 1
|
|
2832
2855
|
}, 8, ["locale"]));
|
|
2833
2856
|
}
|
|
2834
|
-
},
|
|
2857
|
+
}, Zn = /* @__PURE__ */ _e(Qn, [["styles", [xe, Xe, Qe, Ln]], ["__scopeId", "data-v-10915a30"]]), es = { class: "g-row" }, ts = {
|
|
2835
2858
|
for: "season",
|
|
2836
2859
|
class: "label"
|
|
2837
|
-
},
|
|
2860
|
+
}, rs = ["value"], as = ["onClick"], os = {
|
|
2838
2861
|
__name: "SeasonSelector",
|
|
2839
2862
|
props: {
|
|
2840
2863
|
seasons: {
|
|
@@ -2868,19 +2891,19 @@ const In = {
|
|
|
2868
2891
|
a("onChangeSection", s);
|
|
2869
2892
|
}
|
|
2870
2893
|
return (s, l) => (p(), _(R, null, [
|
|
2871
|
-
u("div",
|
|
2894
|
+
u("div", es, [
|
|
2872
2895
|
u("div", null, [
|
|
2873
|
-
u("label",
|
|
2896
|
+
u("label", ts, w(d(o)("selection.season")), 1),
|
|
2874
2897
|
$(d(me), {
|
|
2875
2898
|
id: "season",
|
|
2876
2899
|
modelValue: i.value,
|
|
2877
2900
|
"onUpdate:modelValue": l[0] || (l[0] = (c) => i.value = c)
|
|
2878
2901
|
}, {
|
|
2879
|
-
default:
|
|
2902
|
+
default: N(() => [
|
|
2880
2903
|
(p(!0), _(R, null, H(t.seasons, (c) => (p(), _("option", {
|
|
2881
2904
|
key: c.championshipId,
|
|
2882
2905
|
value: c.championshipId
|
|
2883
|
-
}, w(c.seasonName), 9,
|
|
2906
|
+
}, w(c.seasonName), 9, rs))), 128))
|
|
2884
2907
|
]),
|
|
2885
2908
|
_: 1
|
|
2886
2909
|
}, 8, ["modelValue"])
|
|
@@ -2891,24 +2914,24 @@ const In = {
|
|
|
2891
2914
|
key: c.phaseId,
|
|
2892
2915
|
class: V(["tab-button", { "is-active": c.sectionId === t.sectionId }]),
|
|
2893
2916
|
onClick: (g) => n(c)
|
|
2894
|
-
}, w(c.sectionName), 11,
|
|
2917
|
+
}, w(c.sectionName), 11, as))), 128))
|
|
2895
2918
|
])
|
|
2896
2919
|
], 64));
|
|
2897
2920
|
}
|
|
2898
2921
|
};
|
|
2899
|
-
function
|
|
2922
|
+
function is(t, e) {
|
|
2900
2923
|
if (t.length === 0)
|
|
2901
2924
|
throw new Qt(Oe.message, Oe.options);
|
|
2902
|
-
e.seasons =
|
|
2925
|
+
e.seasons = ss(t), e.championshipId || (e.championshipId = Q(e.seasons).championshipId);
|
|
2903
2926
|
}
|
|
2904
|
-
function
|
|
2927
|
+
function ns(t, e) {
|
|
2905
2928
|
var r;
|
|
2906
|
-
e.sections = Ue(ie("sectionId"))(t), e.sectionId =
|
|
2929
|
+
e.sections = Ue(ie("sectionId"))(t), e.sectionId = _t(ie("sectionId"), Q)(e.sections), e.phaseId = ((r = cr([0, "phases", 0], t)) == null ? void 0 : r.phaseId) ?? null;
|
|
2907
2930
|
}
|
|
2908
|
-
function
|
|
2909
|
-
return
|
|
2931
|
+
function ss(t) {
|
|
2932
|
+
return _t(gr(lr(ie("seasonName"))), xt(dr(["championshipId", "seasonName"])))(t);
|
|
2910
2933
|
}
|
|
2911
|
-
const
|
|
2934
|
+
const ls = {
|
|
2912
2935
|
gameName: {
|
|
2913
2936
|
label: "table.gameName.short",
|
|
2914
2937
|
tooltip: "table.gameName.tooltip",
|
|
@@ -2945,13 +2968,13 @@ const ss = {
|
|
|
2945
2968
|
class: "is-text-left"
|
|
2946
2969
|
}
|
|
2947
2970
|
};
|
|
2948
|
-
function
|
|
2949
|
-
return (e) =>
|
|
2971
|
+
function cs(t) {
|
|
2972
|
+
return (e) => xt((r) => ({
|
|
2950
2973
|
...r,
|
|
2951
2974
|
...r.registration && { registration: `${r.registration}/cid/${t}` }
|
|
2952
2975
|
}))(e);
|
|
2953
2976
|
}
|
|
2954
|
-
const
|
|
2977
|
+
const ds = {
|
|
2955
2978
|
__name: "DataProvider",
|
|
2956
2979
|
props: {
|
|
2957
2980
|
championshipName: {
|
|
@@ -2992,7 +3015,7 @@ const cs = {
|
|
|
2992
3015
|
apiKey: e.apiKey,
|
|
2993
3016
|
params: { championshipName: e.championshipName }
|
|
2994
3017
|
},
|
|
2995
|
-
transform: (h) =>
|
|
3018
|
+
transform: (h) => is(h, r),
|
|
2996
3019
|
onError: a
|
|
2997
3020
|
}), { isLoading: n, execute: s } = ee({
|
|
2998
3021
|
options: {
|
|
@@ -3000,7 +3023,7 @@ const cs = {
|
|
|
3000
3023
|
apiKey: e.apiKey,
|
|
3001
3024
|
params: A(() => ({ championshipId: r.championshipId }))
|
|
3002
3025
|
},
|
|
3003
|
-
transform: (h) =>
|
|
3026
|
+
transform: (h) => ns(h, r),
|
|
3004
3027
|
onError: a
|
|
3005
3028
|
}), {
|
|
3006
3029
|
isLoading: l,
|
|
@@ -3012,12 +3035,12 @@ const cs = {
|
|
|
3012
3035
|
apiKey: e.apiKey,
|
|
3013
3036
|
params: A(() => ({ championshipId: r.championshipId, phaseId: r.phaseId }))
|
|
3014
3037
|
},
|
|
3015
|
-
transform: (h) => Ae(Zt,
|
|
3038
|
+
transform: (h) => Ae(Zt, cs(r.championshipId))(h),
|
|
3016
3039
|
onError: a
|
|
3017
3040
|
}), m = A(() => Ke(c.value).schedule(e.timezone, e.locale).value());
|
|
3018
3041
|
be([i, s, g]);
|
|
3019
3042
|
const f = A(() => [n.value, o.value, l.value].some(Boolean));
|
|
3020
|
-
function
|
|
3043
|
+
function b(h) {
|
|
3021
3044
|
r.championshipId = h, be([s, g]);
|
|
3022
3045
|
}
|
|
3023
3046
|
function S(h) {
|
|
@@ -3026,11 +3049,11 @@ const cs = {
|
|
|
3026
3049
|
return (h, C) => ge(h.$slots, "default", $e(Ce({
|
|
3027
3050
|
rows: m.value,
|
|
3028
3051
|
isLoading: f.value,
|
|
3029
|
-
values: d(
|
|
3030
|
-
listeners: { onChangeSection: S, onChangeSeason:
|
|
3052
|
+
values: d(To)(["phaseId"], r),
|
|
3053
|
+
listeners: { onChangeSection: S, onChangeSeason: b }
|
|
3031
3054
|
})));
|
|
3032
3055
|
}
|
|
3033
|
-
},
|
|
3056
|
+
}, gs = ["href"], us = ["href"], ps = {
|
|
3034
3057
|
__name: "ScheduleCupDataTable",
|
|
3035
3058
|
props: {
|
|
3036
3059
|
columns: {
|
|
@@ -3063,35 +3086,35 @@ const cs = {
|
|
|
3063
3086
|
ref: r
|
|
3064
3087
|
}, [
|
|
3065
3088
|
$(d(Rr), null, {
|
|
3066
|
-
default:
|
|
3089
|
+
default: N(() => [
|
|
3067
3090
|
$(d(Yr), {
|
|
3068
3091
|
columns: d(a),
|
|
3069
3092
|
rows: t.rows,
|
|
3070
3093
|
"is-loading": t.isLoading,
|
|
3071
3094
|
"append-to": r.value
|
|
3072
3095
|
}, {
|
|
3073
|
-
"cell-homeTeamName":
|
|
3096
|
+
"cell-homeTeamName": N(({ row: s }) => {
|
|
3074
3097
|
var l;
|
|
3075
3098
|
return [
|
|
3076
3099
|
oe(w(((l = s.homeTeam) == null ? void 0 : l.longName) ?? ""), 1)
|
|
3077
3100
|
];
|
|
3078
3101
|
}),
|
|
3079
|
-
"cell-location":
|
|
3102
|
+
"cell-location": N(({ row: s }) => {
|
|
3080
3103
|
var l;
|
|
3081
3104
|
return [
|
|
3082
3105
|
oe(w(((l = s.location) == null ? void 0 : l.locationName) ?? ""), 1)
|
|
3083
3106
|
];
|
|
3084
3107
|
}),
|
|
3085
|
-
"cell-document":
|
|
3108
|
+
"cell-document": N(({ row: s }) => [
|
|
3086
3109
|
s.schedule ? (p(), _("a", {
|
|
3087
3110
|
key: 0,
|
|
3088
3111
|
href: s.schedule,
|
|
3089
3112
|
target: "_blank"
|
|
3090
|
-
}, w(d(o)("schedule")), 9,
|
|
3113
|
+
}, w(d(o)("schedule")), 9, gs)) : s.registration ? (p(), _("a", {
|
|
3091
3114
|
key: 1,
|
|
3092
3115
|
href: s.registration,
|
|
3093
3116
|
target: "_blank"
|
|
3094
|
-
}, w(d(o)("registration")), 9,
|
|
3117
|
+
}, w(d(o)("registration")), 9, us)) : M("", !0)
|
|
3095
3118
|
]),
|
|
3096
3119
|
_: 1
|
|
3097
3120
|
}, 8, ["columns", "rows", "is-loading", "append-to"])
|
|
@@ -3100,7 +3123,7 @@ const cs = {
|
|
|
3100
3123
|
})
|
|
3101
3124
|
], 512));
|
|
3102
3125
|
}
|
|
3103
|
-
},
|
|
3126
|
+
}, ms = {
|
|
3104
3127
|
__name: "ScheduleCup.ce",
|
|
3105
3128
|
props: {
|
|
3106
3129
|
locale: {
|
|
@@ -3126,22 +3149,22 @@ const cs = {
|
|
|
3126
3149
|
locale: e.locale,
|
|
3127
3150
|
messages: r
|
|
3128
3151
|
}, {
|
|
3129
|
-
default:
|
|
3130
|
-
$(d(
|
|
3131
|
-
default:
|
|
3132
|
-
l ? (p(), G(d(
|
|
3152
|
+
default: N(() => [
|
|
3153
|
+
$(d(Te), null, {
|
|
3154
|
+
default: N(({ error: s, hasError: l }) => [
|
|
3155
|
+
l ? (p(), G(d(Ne), {
|
|
3133
3156
|
key: 0,
|
|
3134
3157
|
error: s
|
|
3135
3158
|
}, null, 8, ["error"])) : M("", !0),
|
|
3136
|
-
$(
|
|
3159
|
+
$(ds, {
|
|
3137
3160
|
"championship-name": t.championshipName,
|
|
3138
3161
|
locale: t.locale,
|
|
3139
3162
|
timezone: a.value
|
|
3140
3163
|
}, {
|
|
3141
|
-
default:
|
|
3142
|
-
$(
|
|
3143
|
-
$(
|
|
3144
|
-
columns: d(
|
|
3164
|
+
default: N(({ rows: c, isLoading: g, values: m, listeners: f }) => [
|
|
3165
|
+
$(os, Ar(m, Er(f)), null, 16),
|
|
3166
|
+
$(ps, {
|
|
3167
|
+
columns: d(ls),
|
|
3145
3168
|
rows: c.rows,
|
|
3146
3169
|
"is-loading": g,
|
|
3147
3170
|
"offset-name": o.value
|
|
@@ -3156,19 +3179,19 @@ const cs = {
|
|
|
3156
3179
|
_: 1
|
|
3157
3180
|
}, 8, ["locale"]));
|
|
3158
3181
|
}
|
|
3159
|
-
},
|
|
3182
|
+
}, vs = /* @__PURE__ */ _e(ms, [["styles", [xe, Xe, Qe, ur, pr, mr, vr]]]), bs = {
|
|
3160
3183
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3161
3184
|
viewBox: "0 0 24 24"
|
|
3162
3185
|
};
|
|
3163
|
-
function
|
|
3164
|
-
return p(), _("svg",
|
|
3186
|
+
function hs(t, e) {
|
|
3187
|
+
return p(), _("svg", bs, e[0] || (e[0] = [
|
|
3165
3188
|
u("path", {
|
|
3166
3189
|
fill: "currentColor",
|
|
3167
3190
|
d: "M3 18h18v-2H3zm0-5h18v-2H3zm0-7v2h18V6z"
|
|
3168
3191
|
}, null, -1)
|
|
3169
3192
|
]));
|
|
3170
3193
|
}
|
|
3171
|
-
const
|
|
3194
|
+
const fs = { render: hs }, ys = ["onClick", "onFocus", "onBlur"], ws = { class: "is-dropdown-menu" }, xs = ["onClick"], _s = /* @__PURE__ */ Object.assign({
|
|
3172
3195
|
inheritAttrs: !1
|
|
3173
3196
|
}, {
|
|
3174
3197
|
__name: "ChampionshipSelector",
|
|
@@ -3196,7 +3219,7 @@ const hs = { render: bs }, fs = ["onClick", "onFocus", "onBlur"], ys = { class:
|
|
|
3196
3219
|
"append-to": t.target,
|
|
3197
3220
|
"is-arrow-visible": !1
|
|
3198
3221
|
}, {
|
|
3199
|
-
default:
|
|
3222
|
+
default: N(({ setRef: i, show: n, hide: s }) => [
|
|
3200
3223
|
u("button", {
|
|
3201
3224
|
ref: i,
|
|
3202
3225
|
type: "button",
|
|
@@ -3204,26 +3227,26 @@ const hs = { render: bs }, fs = ["onClick", "onFocus", "onBlur"], ys = { class:
|
|
|
3204
3227
|
onFocus: n,
|
|
3205
3228
|
onBlur: s
|
|
3206
3229
|
}, [
|
|
3207
|
-
$(d(
|
|
3208
|
-
], 40,
|
|
3230
|
+
$(d(fs), { style: { display: "block", height: "20px" } })
|
|
3231
|
+
], 40, ys)
|
|
3209
3232
|
]),
|
|
3210
|
-
content:
|
|
3211
|
-
u("ul",
|
|
3233
|
+
content: N(() => [
|
|
3234
|
+
u("ul", ws, [
|
|
3212
3235
|
(p(!0), _(R, null, H(t.data, (i) => (p(), _("li", {
|
|
3213
3236
|
key: i.championshipId,
|
|
3214
3237
|
class: V(["is-dropdown-item", { "is-selected": t.selected === i.phaseId }]),
|
|
3215
3238
|
onClick: (n) => r("change", i)
|
|
3216
|
-
}, w(i.name), 11,
|
|
3239
|
+
}, w(i.name), 11, xs))), 128))
|
|
3217
3240
|
])
|
|
3218
3241
|
]),
|
|
3219
3242
|
_: 1
|
|
3220
3243
|
}, 8, ["append-to"]));
|
|
3221
3244
|
}
|
|
3222
3245
|
});
|
|
3223
|
-
function
|
|
3246
|
+
function ks(t) {
|
|
3224
3247
|
return t.map((e) => ({ ...e, w: Gt([e.w, e.otw, e.sow]), l: Gt([e.l, e.otl, e.sol]) }));
|
|
3225
3248
|
}
|
|
3226
|
-
const
|
|
3249
|
+
const zs = {
|
|
3227
3250
|
__name: "DataProvider",
|
|
3228
3251
|
props: {
|
|
3229
3252
|
apiKey: {
|
|
@@ -3237,17 +3260,17 @@ const ks = {
|
|
|
3237
3260
|
},
|
|
3238
3261
|
setup(t) {
|
|
3239
3262
|
const e = t, r = le({
|
|
3240
|
-
championshipId:
|
|
3241
|
-
phaseId:
|
|
3242
|
-
championshipName:
|
|
3243
|
-
phaseName:
|
|
3263
|
+
championshipId: Q(e.data).championshipId,
|
|
3264
|
+
phaseId: Q(e.data).phaseId,
|
|
3265
|
+
championshipName: Q(e.data).name,
|
|
3266
|
+
phaseName: Q(e.data).phase
|
|
3244
3267
|
}), { state: a, isLoading: o, execute: i } = ee({
|
|
3245
3268
|
options: {
|
|
3246
3269
|
path: "/v2/standings",
|
|
3247
3270
|
apiKey: e.apiKey,
|
|
3248
3271
|
params: A(() => ({ championshipId: r.championshipId, phaseId: r.phaseId }))
|
|
3249
3272
|
},
|
|
3250
|
-
transform: (l) =>
|
|
3273
|
+
transform: (l) => ks(l)
|
|
3251
3274
|
// onError,
|
|
3252
3275
|
});
|
|
3253
3276
|
i();
|
|
@@ -3257,7 +3280,7 @@ const ks = {
|
|
|
3257
3280
|
}
|
|
3258
3281
|
return (l, c) => ge(l.$slots, "default", $e(Ce({ convertedRows: n.value, isLoading: d(o), ...r, onChange: s })));
|
|
3259
3282
|
}
|
|
3260
|
-
},
|
|
3283
|
+
}, Ss = ".standings-selector-title{display:grid;grid-template-columns:auto 1fr auto;align-items:center;padding:var(--vbr-widget-standings-selector-title-padding);text-transform:var(--vbr-widget-standings-selector-title-transform);font-size:var(--vbr-widget-standings-selector-title-size);color:var(--vbr-widget-standings-selector-title-color);background:var(--vbr-widget-standings-selector-title-bg-color)}.standings-selector dt{font-weight:700}", Is = '.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 :is(th,td){padding:8px;white-space:nowrap;vertical-align:middle;text-align:center}.table :is(th,td).is-text-left{text-align:left}.table :is(th,td).is-text-right{text-align:right}.table th{width:var(--vbr-widget-table-default-column-width);background: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)}.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.is-active{font-weight:700;color:var(--vbr-widget-table-active-color);background: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.is-has-image{padding:0 2px}.table td .is-duplicated{color:var(--vbr-widget-table-neutral-color)}.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 tr.is-highlighted{color:var(--vbr-widget-danger-color-a400)}.table tr.is-optional{opacity:.5}.table tr:nth-child(2n){background: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 tbody tr:focus-within,.table tbody tr:hover{color:var(--vbr-widget-table-hover-color);background-color:var(--vbr-widget-table-hover-bg-color)}.table tbody tr:focus-within td.is-active,.table tbody tr:hover td.is-active{color:var(--vbr-widget-table-active-hover-color);background-color:var(--vbr-widget-table-active-hover-bg-color)}', $s = ".table-responsive{container-name:table-wrapper;container-type:inline-size;width:100%;overflow-x:auto}.table-responsive table{width:100%}", Cs = ".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;cursor:pointer}.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.is-selected{color:var(--vbr-widget-dropdown-item-selected-color);background-color:var(--vbr-widget-dropdown-item-selected-hover-bg-color)}.is-dropdown-menu .is-dropdown-item.is-selected:hover{background-color:var(--vbr-widget-dropdown-item-selected-hover-bg-color)}.is-dropdown-menu .is-dropdown-item svg{margin-right:8px}", Ts = ".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}", Ns = { class: "standings-selector" }, As = { class: "standings-selector-title" }, Es = {
|
|
3261
3284
|
__name: "StandingsSelector.ce",
|
|
3262
3285
|
props: {
|
|
3263
3286
|
locale: {
|
|
@@ -3279,22 +3302,22 @@ const ks = {
|
|
|
3279
3302
|
locale: e.locale,
|
|
3280
3303
|
messages: r
|
|
3281
3304
|
}, {
|
|
3282
|
-
default:
|
|
3283
|
-
$(d(
|
|
3284
|
-
default:
|
|
3285
|
-
l ? (p(), G(d(
|
|
3305
|
+
default: N(() => [
|
|
3306
|
+
$(d(Te), null, {
|
|
3307
|
+
default: N(({ error: s, hasError: l }) => [
|
|
3308
|
+
l ? (p(), G(d(Ne), {
|
|
3286
3309
|
key: 0,
|
|
3287
3310
|
error: s
|
|
3288
3311
|
}, null, 8, ["error"])) : M("", !0),
|
|
3289
|
-
$(
|
|
3290
|
-
default:
|
|
3312
|
+
$(zs, { data: o.value }, {
|
|
3313
|
+
default: N(({ convertedRows: c, isLoading: g, phaseName: m, championshipName: f, phaseId: b, onChange: S }) => [
|
|
3291
3314
|
u("div", Ns, [
|
|
3292
|
-
u("dl",
|
|
3315
|
+
u("dl", As, [
|
|
3293
3316
|
u("dt", null, w(f), 1),
|
|
3294
3317
|
u("dd", null, " - " + w(m), 1),
|
|
3295
|
-
$(
|
|
3318
|
+
$(_s, {
|
|
3296
3319
|
data: o.value,
|
|
3297
|
-
selected:
|
|
3320
|
+
selected: b,
|
|
3298
3321
|
target: a.value,
|
|
3299
3322
|
onChange: S
|
|
3300
3323
|
}, null, 8, ["data", "selected", "target", "onChange"])
|
|
@@ -3330,26 +3353,26 @@ const ks = {
|
|
|
3330
3353
|
_: 1
|
|
3331
3354
|
}, 8, ["locale"]));
|
|
3332
3355
|
}
|
|
3333
|
-
},
|
|
3334
|
-
function
|
|
3335
|
-
customElements.define("mjsz-vbr-calendar",
|
|
3356
|
+
}, Ds = /* @__PURE__ */ _e(Es, [["styles", [xe, Ss, Is, $s, Cs, Ts]]]), Ls = he(pi), Ps = he(Yi), Ms = he(vs), js = he(Zn), Os = he(kn), Gs = he(Ds);
|
|
3357
|
+
function Rs() {
|
|
3358
|
+
customElements.define("mjsz-vbr-calendar", Ls), customElements.define("mjsz-vbr-championship", Ps), customElements.define("mjsz-vbr-schedule-cup", Ms), customElements.define("mjsz-vbr-ibr-identifiers", js), customElements.define("mjsz-vbr-games-timeline", Os), customElements.define("mjsz-vbr-standings-selector", Gs);
|
|
3336
3359
|
}
|
|
3337
|
-
const
|
|
3338
|
-
install: () =>
|
|
3360
|
+
const Hs = {
|
|
3361
|
+
install: () => Rs()
|
|
3339
3362
|
};
|
|
3340
3363
|
export {
|
|
3341
|
-
|
|
3342
|
-
|
|
3343
|
-
|
|
3344
|
-
|
|
3345
|
-
|
|
3346
|
-
|
|
3347
|
-
|
|
3348
|
-
|
|
3349
|
-
|
|
3350
|
-
|
|
3351
|
-
|
|
3352
|
-
|
|
3353
|
-
|
|
3354
|
-
|
|
3364
|
+
pi as Calendar,
|
|
3365
|
+
Ls as CalendarCE,
|
|
3366
|
+
Yi as Championship,
|
|
3367
|
+
Ps as ChampionshipCE,
|
|
3368
|
+
kn as GamesTimeline,
|
|
3369
|
+
Os as GamesTimelineCE,
|
|
3370
|
+
Zn as IVRIdentifiers,
|
|
3371
|
+
js as IVRIdentifiersCE,
|
|
3372
|
+
vs as ScheduleCup,
|
|
3373
|
+
Ms as ScheduleCupCE,
|
|
3374
|
+
Ds as StandingsSelector,
|
|
3375
|
+
Gs as StandingsSelectorCE,
|
|
3376
|
+
Hs as default,
|
|
3377
|
+
Rs as register
|
|
3355
3378
|
};
|