@mjsz-vbr-elements/extended 2.29.1 → 2.29.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 +1258 -1252
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -1,70 +1,70 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* name: @mjsz-vbr-elements/extended
|
|
3
|
-
* version: v2.29.
|
|
3
|
+
* version: v2.29.3 - 01/10/2025, 20:13:16
|
|
4
4
|
* (c) 2025
|
|
5
5
|
* description: Data visualization for MJSZ VBR
|
|
6
6
|
* author: Ákos Stegner <akos.stegner@gmail.com>
|
|
7
7
|
*/
|
|
8
|
-
import { shallowRef as
|
|
9
|
-
import { currentWeekStartEnd as
|
|
10
|
-
import { Image as ge, I18NProvider as ve, ErrorProvider as
|
|
11
|
-
import { format as
|
|
12
|
-
import { useError as De, useServices as
|
|
13
|
-
import { COLUMNS_SCHEDULE as
|
|
8
|
+
import { shallowRef as X, isRef as me, watch as re, shallowReadonly as er, ref as K, toValue as R, getCurrentScope as Lr, onScopeDispose as Pr, onMounted as Qe, nextTick as Ce, readonly as tr, getCurrentInstance as ft, toRef as rr, customRef as Dr, reactive as de, computed as N, unref as n, toRefs as Mr, renderSlot as xe, normalizeProps as Ee, guardReactiveProps as Ae, createElementBlock as w, openBlock as m, createElementVNode as c, normalizeClass as G, createTextVNode as Q, createCommentVNode as L, toDisplayString as p, Fragment as O, createVNode as k, createBlock as P, withCtx as E, renderList as V, Transition as ar, useTemplateRef as jr, provide as Or, useId as Rr, inject as Gr, onUnmounted as Ur, triggerRef as Yr, setBlockTracking as Re, isMemoSame as Br, withDirectives as Kr, vModelText as Fr, mergeProps as or, toHandlers as Vr, withModifiers as qr, resolveDynamicComponent as Hr, defineCustomElement as pe } from "vue";
|
|
9
|
+
import { currentWeekStartEnd as At, subtractDays as ir, addDays as nr, isBefore as yt, isAfter as wt, startOfMonth as lt, endOfMonth as ct, rawConvert as Wr, convertGamePeriodResults as Jr, gameProps as sr, COLUMNS_STANDINGS_SHORT as Xr } from "@mjsz-vbr-elements/core";
|
|
10
|
+
import { Image as ge, I18NProvider as ve, ErrorProvider as Le, ErrorNotice as $e, LoadingIndicator as Ze, FetchMoreObserver as Qr, BaseSelect as ke, StatisticsTable as lr, Paginator as cr, AdditionalStandingsText as Ke, ResponsiveTable as dr, DataTable as Zr, FloatingPanel as ea } from "@mjsz-vbr-elements/core/components";
|
|
11
|
+
import { format as J, convert as Pe, isBefore as ta, isAfter as gr, offsetName as et, getLocalTimezone as tt, externalGameLinkResolver as rt, WidgetError as ur, InvalidSeasonName as Fe, sortGames as mr, convertPhaseName as ra, rawConvert as aa, playerName as oa, teamName as ia, scheduleOptionalRowClass as na, convertTimesMinToMinSec as sa, convertTimesSecToMin as la, externalTeamLinkResolver as ca, sortByDomNode as da } from "@mjsz-vbr-elements/core/utils";
|
|
12
|
+
import { useError as De, useServices as Z, useI18n as ce, useSort as ga, usePage as pr, useLazyLoadingState as ua, fetchVBRData as ma, useVisibilityChange as pa, useErrorProvider as va, useColumns as ba } from "@mjsz-vbr-elements/core/composables";
|
|
13
|
+
import { COLUMNS_SCHEDULE as vr, COLUMNS_STANDINGS_P_PER as ha, COLUMNS_STANDINGS_P_3 as fa, COLUMNS_FIELD_PLAYERS as Ge, COLUMNS_FIELD_PLAYERS_PENALTY as ya, COLUMNS_GOALIES as Lt, COLUMNS_TEAMS_FAIRPLAY as wa, COLUMNS_TEAMS_PENALTY_KILLING as xa, COLUMNS_TEAMS_POWERPLAY as _a, COLUMNS_SCORING_EFFICIENCY as ka } from "@mjsz-vbr-elements/core/columns";
|
|
14
14
|
import { SORT_STATE_DESCEND as te } from "@mjsz-vbr-elements/core/constants";
|
|
15
|
-
const
|
|
16
|
-
schedule:
|
|
17
|
-
registration:
|
|
18
|
-
selection:
|
|
19
|
-
report:
|
|
20
|
-
playoffs:
|
|
21
|
-
table:
|
|
22
|
-
calendar:
|
|
23
|
-
gamesTimeline:
|
|
24
|
-
countdown:
|
|
25
|
-
recruitmentInfo:
|
|
26
|
-
},
|
|
27
|
-
schedule:
|
|
28
|
-
registration:
|
|
29
|
-
selection:
|
|
30
|
-
report:
|
|
31
|
-
playoffs:
|
|
32
|
-
table:
|
|
33
|
-
calendar:
|
|
34
|
-
gamesTimeline:
|
|
35
|
-
countdown:
|
|
36
|
-
recruitmentInfo:
|
|
37
|
-
}, ze = "gamesPlayed", Ne = "todaysGames", Te = "nextGames",
|
|
38
|
-
function
|
|
39
|
-
return t.value = { firstGame: e.firstGame, lastGame: e.lastGame },
|
|
40
|
-
}
|
|
41
|
-
const
|
|
42
|
-
min:
|
|
43
|
-
max:
|
|
15
|
+
const za = "Schedule", Sa = "Application form", $a = { 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", filter: "Filter", 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):" }, Ia = { 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" }, Ca = { 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" }, Na = { section: { short: "Section", tooltip: "Section" }, organizer: { short: "Organizer", tooltip: "Organizer Team" }, document: { short: "Document", tooltip: "Application Form/Schedule" } }, Ta = { gamesPlayed: "Games played", todaysGames: "Today's games", nextGames: "Next games", weekGames: "Games of the week", noGame: "No games can be displayed", more: "More" }, Ea = { allSchedule: "Games Schedule", errorText: "Something went wrong!", errorCta: "Try Again", noGames: "No games can be displayed" }, Aa = { days: "Days", hours: "Hours", minutes: "Minutes", seconds: "Seconds" }, La = { filterByNameAndLocation: "Filter by name or location", noResult: "No results to display", recruitmentTeamName: "Team name", recruitmentArenaName: "Icerink", recruitmentArenaAddress: "Icerink address", recruitmentContactName: "Contact", recruitmentContactPhone: "Phone", recruitmentContactEmail: "E-mail", recruitmentContactUrl: "Website" }, be = {
|
|
16
|
+
schedule: za,
|
|
17
|
+
registration: Sa,
|
|
18
|
+
selection: $a,
|
|
19
|
+
report: Ia,
|
|
20
|
+
playoffs: Ca,
|
|
21
|
+
table: Na,
|
|
22
|
+
calendar: Ta,
|
|
23
|
+
gamesTimeline: Ea,
|
|
24
|
+
countdown: Aa,
|
|
25
|
+
recruitmentInfo: La
|
|
26
|
+
}, Pa = "Sorsolás", Da = "Jelentkezés", Ma = { report: "Riport", video: "Videó", season: "Szezon", seasons: "Szezonok", section: "Szakasz", sections: "Szakaszok", phases: "Szakaszok", phasesDivision: "Fázisok (phase-Name=division)", noPhases: "Nincsenek szakaszok", teams: "Csapatok", filterName: "Szűrés névre", filter: "Szűrés", players: "Játékosok", month: "Hónap", homeOrAway: "Hazai vagy Vendég", home: "Hazai", away: "Vendég", schedule: "Menetrend", standings: "Tabella", playerStats: "Játékos statisztika", teamStats: "Csapat Statisztika", championships: "Bajnokságok", championshipName: "Bajnokság Neve (Championship-Name):", championshipId: "Bajnokság azonosító (Championship-id):", seasonId: "Szezon azonosító (season-Id):" }, ja = { points: "Pontok", goals: "Gólok", assists: "Gólpasszok", penalties: "Büntetések", goalies: "Kapusok", goaliesLimit: "Kapusok 40% jégidő alatt", teamAttendance: "Nézőszám", teamFairplay: "Büntetések", teamPenaltyKilling: "Emberhátrányok", teamPowerplay: "Emberelőnyök", teamScoringEfficiency: "Hatékonyság" }, Oa = { Negyeddöntő1: "Negyeddöntő 1", Negyeddöntő2: "Negyeddöntő 2", Negyeddöntő3: "Negyeddöntő 3", Negyeddöntő4: "Negyeddöntő 4", Elődöntő1: "Elődöntő 1", Elődöntő2: "Elődöntő 2", Döntő: "Döntő" }, Ra = { section: { short: "Szakasz", tooltip: "Szakasz" }, organizer: { short: "Rendező", tooltip: "Rendező csapat" }, document: { short: "Dokumentum", tooltip: "Jelentkezés/Sorsolás" } }, Ga = { gamesPlayed: "Lejátszott mérkőzések", todaysGames: "Mai mérkőzések", nextGames: "Következő mérkőzések", weekGames: "A hét mérkőzései", noGame: "Nincs megjeleníthető mérkőzés", more: "Még több" }, Ua = { allSchedule: "Teljes menetrend", errorText: "Valami hiba történt!", errorCta: "Próbáld újra", noGames: "Nincs megjeleníthető mérkőzés" }, Ya = { days: "Nap", hours: "Óra", minutes: "Perc", seconds: "Másodperc" }, Ba = { filterByNameAndLocation: "Szűrés név vagy település szerint", noResult: "Nincs megjeleníthető találat", recruitmentTeamName: "Csapat név", recruitmentArenaName: "Jégpálya", recruitmentArenaAddress: "Jégpálya címe", recruitmentContactName: "Kapcsolattartó", recruitmentContactPhone: "Telefonszám", recruitmentContactEmail: "E-mail", recruitmentContactUrl: "Honlap" }, he = {
|
|
27
|
+
schedule: Pa,
|
|
28
|
+
registration: Da,
|
|
29
|
+
selection: Ma,
|
|
30
|
+
report: ja,
|
|
31
|
+
playoffs: Oa,
|
|
32
|
+
table: Ra,
|
|
33
|
+
calendar: Ga,
|
|
34
|
+
gamesTimeline: Ua,
|
|
35
|
+
countdown: Ya,
|
|
36
|
+
recruitmentInfo: Ba
|
|
37
|
+
}, ze = "gamesPlayed", Ne = "todaysGames", Te = "nextGames", Ve = "weekGames";
|
|
38
|
+
function Ka(e, t) {
|
|
39
|
+
return t.value = { firstGame: e.firstGame, lastGame: e.lastGame }, Wr(e.games, Jr);
|
|
40
|
+
}
|
|
41
|
+
const q = /* @__PURE__ */ new Date(), Ue = (/* @__PURE__ */ new Map()).set(Ne, () => ({ min: q, max: q, month: null, id: null })).set(Ve, () => ({
|
|
42
|
+
min: At().startDate,
|
|
43
|
+
max: At().endDate,
|
|
44
44
|
month: null,
|
|
45
45
|
id: null
|
|
46
46
|
})).set(ze, (e = null) => {
|
|
47
47
|
const { year: t, month: r } = Pt(e);
|
|
48
48
|
return {
|
|
49
|
-
min:
|
|
50
|
-
max:
|
|
49
|
+
min: Dt(new Date(t, r, 1), !0),
|
|
50
|
+
max: Mt(new Date(t, r, 1), !0),
|
|
51
51
|
id: `${t}-${r}`
|
|
52
52
|
};
|
|
53
53
|
}).set(Te, (e = null) => {
|
|
54
54
|
const { year: t, month: r } = Pt(e);
|
|
55
55
|
return {
|
|
56
|
-
min:
|
|
57
|
-
max:
|
|
56
|
+
min: Dt(new Date(t, r, 1)),
|
|
57
|
+
max: Mt(new Date(t, r, 1)),
|
|
58
58
|
id: `${t}-${r}`
|
|
59
59
|
};
|
|
60
|
-
}),
|
|
61
|
-
function
|
|
62
|
-
return
|
|
60
|
+
}), Fa = (/* @__PURE__ */ new Map()).set(Ne, () => []).set(ze, (e, t) => Va(ir(q, 1), e, t)).set(Te, (e, t) => qa(nr(q, 1), e, t)).set(Ve, () => []);
|
|
61
|
+
function Va(e, t, r) {
|
|
62
|
+
return yt(e, t) ? [] : wt(e, r) ? [t, r] : [t, e];
|
|
63
63
|
}
|
|
64
|
-
function
|
|
65
|
-
return
|
|
64
|
+
function qa(e, t, r) {
|
|
65
|
+
return yt(e, t) ? [t, r] : wt(e, r) ? [] : [e, r];
|
|
66
66
|
}
|
|
67
|
-
function
|
|
67
|
+
function Ha(e, t, r, a = "hu") {
|
|
68
68
|
e = new Date(e), t = new Date(t);
|
|
69
69
|
const o = [], i = e;
|
|
70
70
|
for (; i.getTime() <= t.getTime(); ) {
|
|
@@ -85,37 +85,37 @@ function Va(e, t, r, a = "hu") {
|
|
|
85
85
|
}
|
|
86
86
|
function Pt(e) {
|
|
87
87
|
if (!e)
|
|
88
|
-
return { year:
|
|
88
|
+
return { year: q.getFullYear(), month: q.getMonth() };
|
|
89
89
|
const [t, r] = e.split("-");
|
|
90
90
|
return { year: t, month: r };
|
|
91
91
|
}
|
|
92
|
-
function
|
|
92
|
+
function Dt(e, t) {
|
|
93
93
|
if (t)
|
|
94
|
-
return
|
|
95
|
-
const r =
|
|
96
|
-
return
|
|
94
|
+
return lt(e);
|
|
95
|
+
const r = nr(q, 1);
|
|
96
|
+
return yt(lt(e), r) ? r : lt(e);
|
|
97
97
|
}
|
|
98
|
-
function
|
|
98
|
+
function Mt(e, t = !1) {
|
|
99
99
|
if (t) {
|
|
100
|
-
const r =
|
|
101
|
-
return
|
|
100
|
+
const r = ir(q, 1);
|
|
101
|
+
return wt(ct(e), r) ? r : ct(e);
|
|
102
102
|
}
|
|
103
|
-
return
|
|
103
|
+
return ct(e);
|
|
104
104
|
}
|
|
105
|
-
function
|
|
106
|
-
return
|
|
105
|
+
function qe(e) {
|
|
106
|
+
return Lr() ? (Pr(e), !0) : !1;
|
|
107
107
|
}
|
|
108
|
-
const
|
|
108
|
+
const mt = typeof window < "u" && typeof document < "u";
|
|
109
109
|
typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
|
|
110
|
-
const
|
|
110
|
+
const Wa = (e) => typeof e < "u", Ja = (e) => e != null, Xa = Object.prototype.toString, Qa = (e) => Xa.call(e) === "[object Object]", W = () => {
|
|
111
111
|
};
|
|
112
|
-
function
|
|
112
|
+
function Za(...e) {
|
|
113
113
|
if (e.length !== 1)
|
|
114
|
-
return
|
|
114
|
+
return rr(...e);
|
|
115
115
|
const t = e[0];
|
|
116
|
-
return typeof t == "function" ?
|
|
116
|
+
return typeof t == "function" ? tr(Dr(() => ({ get: t, set: W }))) : K(t);
|
|
117
117
|
}
|
|
118
|
-
function
|
|
118
|
+
function xt(e, t) {
|
|
119
119
|
function r(...a) {
|
|
120
120
|
return new Promise((o, i) => {
|
|
121
121
|
Promise.resolve(e(() => t.apply(this, a), { fn: t, thisArg: this, args: a })).then(o).catch(i);
|
|
@@ -123,43 +123,43 @@ function wt(e, t) {
|
|
|
123
123
|
}
|
|
124
124
|
return r;
|
|
125
125
|
}
|
|
126
|
-
const
|
|
127
|
-
function
|
|
128
|
-
let r, a, o =
|
|
126
|
+
const br = (e) => e();
|
|
127
|
+
function eo(e, t = {}) {
|
|
128
|
+
let r, a, o = W;
|
|
129
129
|
const i = (d) => {
|
|
130
|
-
clearTimeout(d), o(), o =
|
|
130
|
+
clearTimeout(d), o(), o = W;
|
|
131
131
|
};
|
|
132
132
|
let s;
|
|
133
133
|
return (d) => {
|
|
134
134
|
const g = R(e), u = R(t.maxWait);
|
|
135
|
-
return r && i(r), g <= 0 || u !== void 0 && u <= 0 ? (a && (i(a), a = void 0), Promise.resolve(d())) : new Promise((
|
|
136
|
-
o = t.rejectOnCancel ? y :
|
|
137
|
-
r && i(r), a = void 0,
|
|
135
|
+
return r && i(r), g <= 0 || u !== void 0 && u <= 0 ? (a && (i(a), a = void 0), Promise.resolve(d())) : new Promise((v, y) => {
|
|
136
|
+
o = t.rejectOnCancel ? y : v, s = d, u && !a && (a = setTimeout(() => {
|
|
137
|
+
r && i(r), a = void 0, v(s());
|
|
138
138
|
}, u)), r = setTimeout(() => {
|
|
139
|
-
a && i(a), a = void 0,
|
|
139
|
+
a && i(a), a = void 0, v(d());
|
|
140
140
|
}, g);
|
|
141
141
|
});
|
|
142
142
|
};
|
|
143
143
|
}
|
|
144
|
-
function
|
|
145
|
-
let t = 0, r, a = !0, o =
|
|
144
|
+
function to(...e) {
|
|
145
|
+
let t = 0, r, a = !0, o = W, i, s, l, d, g;
|
|
146
146
|
!me(e[0]) && typeof e[0] == "object" ? { delay: s, trailing: l = !0, leading: d = !0, rejectOnCancel: g = !1 } = e[0] : [s, l = !0, d = !0, g = !1] = e;
|
|
147
147
|
const u = () => {
|
|
148
|
-
r && (clearTimeout(r), r = void 0, o(), o =
|
|
148
|
+
r && (clearTimeout(r), r = void 0, o(), o = W);
|
|
149
149
|
};
|
|
150
150
|
return (y) => {
|
|
151
|
-
const
|
|
152
|
-
return u(),
|
|
153
|
-
o = g ?
|
|
154
|
-
t = Date.now(), a = !0,
|
|
155
|
-
}, Math.max(0,
|
|
156
|
-
})), !d && !r && (r = setTimeout(() => a = !0,
|
|
151
|
+
const b = R(s), _ = Date.now() - t, f = () => i = y();
|
|
152
|
+
return u(), b <= 0 ? (t = Date.now(), f()) : (_ > b && (d || !a) ? (t = Date.now(), f()) : l && (i = new Promise(($, z) => {
|
|
153
|
+
o = g ? z : $, r = setTimeout(() => {
|
|
154
|
+
t = Date.now(), a = !0, $(f()), u();
|
|
155
|
+
}, Math.max(0, b - _));
|
|
156
|
+
})), !d && !r && (r = setTimeout(() => a = !0, b)), a = !1, i);
|
|
157
157
|
};
|
|
158
158
|
}
|
|
159
|
-
function
|
|
159
|
+
function ro(e = br, t = {}) {
|
|
160
160
|
const {
|
|
161
161
|
initialState: r = "active"
|
|
162
|
-
} = t, a =
|
|
162
|
+
} = t, a = Za(r === "active");
|
|
163
163
|
function o() {
|
|
164
164
|
a.value = !1;
|
|
165
165
|
}
|
|
@@ -169,52 +169,58 @@ function eo(e = pr, t = {}) {
|
|
|
169
169
|
const s = (...l) => {
|
|
170
170
|
a.value && e(...l);
|
|
171
171
|
};
|
|
172
|
-
return { isActive:
|
|
172
|
+
return { isActive: tr(a), pause: o, resume: i, eventFilter: s };
|
|
173
173
|
}
|
|
174
|
-
function
|
|
174
|
+
function pt(e, t = !1, r = "Timeout") {
|
|
175
175
|
return new Promise((a, o) => {
|
|
176
176
|
setTimeout(t ? () => o(r) : a, e);
|
|
177
177
|
});
|
|
178
178
|
}
|
|
179
|
-
function
|
|
179
|
+
function Ye(e) {
|
|
180
180
|
return Array.isArray(e) ? e : [e];
|
|
181
181
|
}
|
|
182
|
-
function
|
|
183
|
-
return
|
|
182
|
+
function ao(e) {
|
|
183
|
+
return ft();
|
|
184
184
|
}
|
|
185
|
-
function
|
|
186
|
-
return
|
|
187
|
-
|
|
185
|
+
function hr(e, t = 200, r = {}) {
|
|
186
|
+
return xt(
|
|
187
|
+
eo(t, r),
|
|
188
188
|
e
|
|
189
189
|
);
|
|
190
190
|
}
|
|
191
|
-
function
|
|
192
|
-
|
|
193
|
-
|
|
191
|
+
function oo(e, t = 200, r = {}) {
|
|
192
|
+
const a = K(R(e)), o = hr(() => {
|
|
193
|
+
a.value = e.value;
|
|
194
|
+
}, t, r);
|
|
195
|
+
return re(e, () => o()), er(a);
|
|
196
|
+
}
|
|
197
|
+
function io(e, t = 200, r = !1, a = !0, o = !1) {
|
|
198
|
+
return xt(
|
|
199
|
+
to(t, r, a, o),
|
|
194
200
|
e
|
|
195
201
|
);
|
|
196
202
|
}
|
|
197
|
-
function
|
|
203
|
+
function no(e, t, r = {}) {
|
|
198
204
|
const {
|
|
199
|
-
eventFilter: a =
|
|
205
|
+
eventFilter: a = br,
|
|
200
206
|
...o
|
|
201
207
|
} = r;
|
|
202
|
-
return
|
|
208
|
+
return re(
|
|
203
209
|
e,
|
|
204
|
-
|
|
210
|
+
xt(
|
|
205
211
|
a,
|
|
206
212
|
t
|
|
207
213
|
),
|
|
208
214
|
o
|
|
209
215
|
);
|
|
210
216
|
}
|
|
211
|
-
function
|
|
217
|
+
function so(e, t, r = {}) {
|
|
212
218
|
const {
|
|
213
219
|
eventFilter: a,
|
|
214
220
|
initialState: o = "active",
|
|
215
221
|
...i
|
|
216
|
-
} = r, { eventFilter: s, pause: l, resume: d, isActive: g } =
|
|
217
|
-
return { stop:
|
|
222
|
+
} = r, { eventFilter: s, pause: l, resume: d, isActive: g } = ro(a, { initialState: o });
|
|
223
|
+
return { stop: no(
|
|
218
224
|
e,
|
|
219
225
|
t,
|
|
220
226
|
{
|
|
@@ -223,75 +229,75 @@ function io(e, t, r = {}) {
|
|
|
223
229
|
}
|
|
224
230
|
), pause: l, resume: d, isActive: g };
|
|
225
231
|
}
|
|
226
|
-
function
|
|
227
|
-
|
|
232
|
+
function lo(e, t = !0, r) {
|
|
233
|
+
ao() ? Qe(e, r) : t ? e() : Ce(e);
|
|
228
234
|
}
|
|
229
|
-
function
|
|
230
|
-
function r(
|
|
231
|
-
let
|
|
232
|
-
const
|
|
233
|
-
|
|
235
|
+
function vt(e, t = !1) {
|
|
236
|
+
function r(v, { flush: y = "sync", deep: b = !1, timeout: _, throwOnTimeout: f } = {}) {
|
|
237
|
+
let $ = null;
|
|
238
|
+
const C = [new Promise((x) => {
|
|
239
|
+
$ = re(
|
|
234
240
|
e,
|
|
235
|
-
(
|
|
236
|
-
|
|
241
|
+
(h) => {
|
|
242
|
+
v(h) !== t && ($ ? $() : Ce(() => $?.()), x(h));
|
|
237
243
|
},
|
|
238
244
|
{
|
|
239
245
|
flush: y,
|
|
240
|
-
deep:
|
|
246
|
+
deep: b,
|
|
241
247
|
immediate: !0
|
|
242
248
|
}
|
|
243
249
|
);
|
|
244
250
|
})];
|
|
245
|
-
return
|
|
246
|
-
|
|
247
|
-
), Promise.race(
|
|
248
|
-
}
|
|
249
|
-
function a(
|
|
250
|
-
if (!me(
|
|
251
|
-
return r((
|
|
252
|
-
const { flush:
|
|
253
|
-
let
|
|
254
|
-
const x = [new Promise((
|
|
255
|
-
|
|
256
|
-
[e,
|
|
257
|
-
([
|
|
258
|
-
t !== (
|
|
251
|
+
return _ != null && C.push(
|
|
252
|
+
pt(_, f).then(() => R(e)).finally(() => $?.())
|
|
253
|
+
), Promise.race(C);
|
|
254
|
+
}
|
|
255
|
+
function a(v, y) {
|
|
256
|
+
if (!me(v))
|
|
257
|
+
return r((h) => h === v, y);
|
|
258
|
+
const { flush: b = "sync", deep: _ = !1, timeout: f, throwOnTimeout: $ } = y ?? {};
|
|
259
|
+
let z = null;
|
|
260
|
+
const x = [new Promise((h) => {
|
|
261
|
+
z = re(
|
|
262
|
+
[e, v],
|
|
263
|
+
([S, I]) => {
|
|
264
|
+
t !== (S === I) && (z ? z() : Ce(() => z?.()), h(S));
|
|
259
265
|
},
|
|
260
266
|
{
|
|
261
|
-
flush:
|
|
262
|
-
deep:
|
|
267
|
+
flush: b,
|
|
268
|
+
deep: _,
|
|
263
269
|
immediate: !0
|
|
264
270
|
}
|
|
265
271
|
);
|
|
266
272
|
})];
|
|
267
|
-
return
|
|
268
|
-
|
|
273
|
+
return f != null && x.push(
|
|
274
|
+
pt(f, $).then(() => R(e)).finally(() => (z?.(), R(e)))
|
|
269
275
|
), Promise.race(x);
|
|
270
276
|
}
|
|
271
|
-
function o(
|
|
272
|
-
return r((y) => !!y,
|
|
277
|
+
function o(v) {
|
|
278
|
+
return r((y) => !!y, v);
|
|
273
279
|
}
|
|
274
|
-
function i(
|
|
275
|
-
return a(null,
|
|
280
|
+
function i(v) {
|
|
281
|
+
return a(null, v);
|
|
276
282
|
}
|
|
277
|
-
function s(
|
|
278
|
-
return a(void 0,
|
|
283
|
+
function s(v) {
|
|
284
|
+
return a(void 0, v);
|
|
279
285
|
}
|
|
280
|
-
function l(
|
|
281
|
-
return r(Number.isNaN,
|
|
286
|
+
function l(v) {
|
|
287
|
+
return r(Number.isNaN, v);
|
|
282
288
|
}
|
|
283
|
-
function d(
|
|
284
|
-
return r((
|
|
285
|
-
const
|
|
286
|
-
return
|
|
289
|
+
function d(v, y) {
|
|
290
|
+
return r((b) => {
|
|
291
|
+
const _ = Array.from(b);
|
|
292
|
+
return _.includes(v) || _.includes(R(v));
|
|
287
293
|
}, y);
|
|
288
294
|
}
|
|
289
|
-
function g(
|
|
290
|
-
return u(1,
|
|
295
|
+
function g(v) {
|
|
296
|
+
return u(1, v);
|
|
291
297
|
}
|
|
292
|
-
function u(
|
|
293
|
-
let
|
|
294
|
-
return r(() => (
|
|
298
|
+
function u(v = 1, y) {
|
|
299
|
+
let b = -1;
|
|
300
|
+
return r(() => (b += 1, b >= v), y);
|
|
295
301
|
}
|
|
296
302
|
return Array.isArray(R(e)) ? {
|
|
297
303
|
toMatch: r,
|
|
@@ -299,7 +305,7 @@ function pt(e, t = !1) {
|
|
|
299
305
|
changed: g,
|
|
300
306
|
changedTimes: u,
|
|
301
307
|
get not() {
|
|
302
|
-
return
|
|
308
|
+
return vt(e, !t);
|
|
303
309
|
}
|
|
304
310
|
} : {
|
|
305
311
|
toMatch: r,
|
|
@@ -311,20 +317,20 @@ function pt(e, t = !1) {
|
|
|
311
317
|
changed: g,
|
|
312
318
|
changedTimes: u,
|
|
313
319
|
get not() {
|
|
314
|
-
return
|
|
320
|
+
return vt(e, !t);
|
|
315
321
|
}
|
|
316
322
|
};
|
|
317
323
|
}
|
|
318
|
-
function
|
|
319
|
-
return
|
|
324
|
+
function co(e) {
|
|
325
|
+
return vt(e);
|
|
320
326
|
}
|
|
321
|
-
function
|
|
327
|
+
function He(e, t = 1e3, r = {}) {
|
|
322
328
|
const {
|
|
323
329
|
immediate: a = !0,
|
|
324
330
|
immediateCallback: o = !1
|
|
325
331
|
} = r;
|
|
326
332
|
let i = null;
|
|
327
|
-
const s =
|
|
333
|
+
const s = X(!1);
|
|
328
334
|
function l() {
|
|
329
335
|
i && (clearInterval(i), i = null);
|
|
330
336
|
}
|
|
@@ -335,20 +341,20 @@ function qe(e, t = 1e3, r = {}) {
|
|
|
335
341
|
const u = R(t);
|
|
336
342
|
u <= 0 || (s.value = !0, o && e(), l(), s.value && (i = setInterval(e, u)));
|
|
337
343
|
}
|
|
338
|
-
if (a &&
|
|
339
|
-
const u =
|
|
340
|
-
s.value &&
|
|
344
|
+
if (a && mt && g(), me(t) || typeof t == "function") {
|
|
345
|
+
const u = re(t, () => {
|
|
346
|
+
s.value && mt && g();
|
|
341
347
|
});
|
|
342
|
-
|
|
348
|
+
qe(u);
|
|
343
349
|
}
|
|
344
|
-
return
|
|
345
|
-
isActive:
|
|
350
|
+
return qe(d), {
|
|
351
|
+
isActive: er(s),
|
|
346
352
|
pause: d,
|
|
347
353
|
resume: g
|
|
348
354
|
};
|
|
349
355
|
}
|
|
350
|
-
function
|
|
351
|
-
return
|
|
356
|
+
function go(e, t, r) {
|
|
357
|
+
return re(
|
|
352
358
|
e,
|
|
353
359
|
t,
|
|
354
360
|
{
|
|
@@ -357,25 +363,25 @@ function lo(e, t, r) {
|
|
|
357
363
|
}
|
|
358
364
|
);
|
|
359
365
|
}
|
|
360
|
-
const
|
|
366
|
+
const at = mt ? window : void 0;
|
|
361
367
|
function we(e) {
|
|
362
368
|
var t;
|
|
363
369
|
const r = R(e);
|
|
364
370
|
return (t = r?.$el) != null ? t : r;
|
|
365
371
|
}
|
|
366
|
-
function
|
|
372
|
+
function We(...e) {
|
|
367
373
|
const t = [], r = () => {
|
|
368
374
|
t.forEach((l) => l()), t.length = 0;
|
|
369
|
-
}, a = (l, d, g, u) => (l.addEventListener(d, g, u), () => l.removeEventListener(d, g, u)), o =
|
|
370
|
-
const l =
|
|
375
|
+
}, a = (l, d, g, u) => (l.addEventListener(d, g, u), () => l.removeEventListener(d, g, u)), o = N(() => {
|
|
376
|
+
const l = Ye(R(e[0])).filter((d) => d != null);
|
|
371
377
|
return l.every((d) => typeof d != "string") ? l : void 0;
|
|
372
|
-
}), i =
|
|
378
|
+
}), i = go(
|
|
373
379
|
() => {
|
|
374
380
|
var l, d;
|
|
375
381
|
return [
|
|
376
|
-
(d = (l = o.value) == null ? void 0 : l.map((g) => we(g))) != null ? d : [
|
|
377
|
-
|
|
378
|
-
|
|
382
|
+
(d = (l = o.value) == null ? void 0 : l.map((g) => we(g))) != null ? d : [at].filter((g) => g != null),
|
|
383
|
+
Ye(R(o.value ? e[1] : e[0])),
|
|
384
|
+
Ye(n(o.value ? e[2] : e[1])),
|
|
379
385
|
// @ts-expect-error - TypeScript gets the correct types, but somehow still complains
|
|
380
386
|
R(o.value ? e[3] : e[2])
|
|
381
387
|
];
|
|
@@ -383,11 +389,11 @@ function He(...e) {
|
|
|
383
389
|
([l, d, g, u]) => {
|
|
384
390
|
if (r(), !l?.length || !d?.length || !g?.length)
|
|
385
391
|
return;
|
|
386
|
-
const
|
|
392
|
+
const v = Qa(u) ? { ...u } : u;
|
|
387
393
|
t.push(
|
|
388
394
|
...l.flatMap(
|
|
389
395
|
(y) => d.flatMap(
|
|
390
|
-
(
|
|
396
|
+
(b) => g.map((_) => a(y, b, _, v))
|
|
391
397
|
)
|
|
392
398
|
)
|
|
393
399
|
);
|
|
@@ -396,139 +402,139 @@ function He(...e) {
|
|
|
396
402
|
), s = () => {
|
|
397
403
|
i(), r();
|
|
398
404
|
};
|
|
399
|
-
return
|
|
405
|
+
return qe(r), s;
|
|
400
406
|
}
|
|
401
|
-
function
|
|
402
|
-
const e =
|
|
403
|
-
return t &&
|
|
407
|
+
function uo() {
|
|
408
|
+
const e = X(!1), t = ft();
|
|
409
|
+
return t && Qe(() => {
|
|
404
410
|
e.value = !0;
|
|
405
411
|
}, t), e;
|
|
406
412
|
}
|
|
407
|
-
function
|
|
408
|
-
const t =
|
|
409
|
-
return
|
|
413
|
+
function mo(e) {
|
|
414
|
+
const t = uo();
|
|
415
|
+
return N(() => (t.value, !!e()));
|
|
410
416
|
}
|
|
411
|
-
function
|
|
412
|
-
const { window: a =
|
|
417
|
+
function po(e, t, r = {}) {
|
|
418
|
+
const { window: a = at, ...o } = r;
|
|
413
419
|
let i;
|
|
414
|
-
const s =
|
|
420
|
+
const s = mo(() => a && "MutationObserver" in a), l = () => {
|
|
415
421
|
i && (i.disconnect(), i = void 0);
|
|
416
|
-
}, d =
|
|
417
|
-
const y = R(e),
|
|
418
|
-
return new Set(
|
|
419
|
-
}), g =
|
|
422
|
+
}, d = N(() => {
|
|
423
|
+
const y = R(e), b = Ye(y).map(we).filter(Ja);
|
|
424
|
+
return new Set(b);
|
|
425
|
+
}), g = re(
|
|
420
426
|
() => d.value,
|
|
421
427
|
(y) => {
|
|
422
|
-
l(), s.value && y.size && (i = new MutationObserver(t), y.forEach((
|
|
428
|
+
l(), s.value && y.size && (i = new MutationObserver(t), y.forEach((b) => i.observe(b, o)));
|
|
423
429
|
},
|
|
424
430
|
{ immediate: !0, flush: "post" }
|
|
425
|
-
), u = () => i?.takeRecords(),
|
|
431
|
+
), u = () => i?.takeRecords(), v = () => {
|
|
426
432
|
g(), l();
|
|
427
433
|
};
|
|
428
|
-
return
|
|
434
|
+
return qe(v), {
|
|
429
435
|
isSupported: s,
|
|
430
|
-
stop:
|
|
436
|
+
stop: v,
|
|
431
437
|
takeRecords: u
|
|
432
438
|
};
|
|
433
439
|
}
|
|
434
440
|
function Se(e, t) {
|
|
435
441
|
const {
|
|
436
442
|
interrupt: r = !0,
|
|
437
|
-
onError: a =
|
|
438
|
-
onFinished: o =
|
|
443
|
+
onError: a = W,
|
|
444
|
+
onFinished: o = W,
|
|
439
445
|
signal: i
|
|
440
446
|
} = {}, s = {
|
|
441
447
|
aborted: "aborted",
|
|
442
448
|
fulfilled: "fulfilled",
|
|
443
449
|
pending: "pending",
|
|
444
450
|
rejected: "rejected"
|
|
445
|
-
}, l = Array.from(Array.from({ length: e.length }), () => ({ state: s.pending, data: null })), d = de(l), g =
|
|
451
|
+
}, l = Array.from(Array.from({ length: e.length }), () => ({ state: s.pending, data: null })), d = de(l), g = X(-1);
|
|
446
452
|
if (!e || e.length === 0)
|
|
447
453
|
return o(), {
|
|
448
454
|
activeIndex: g,
|
|
449
455
|
result: d
|
|
450
456
|
};
|
|
451
|
-
function u(
|
|
452
|
-
g.value++, d[g.value].data = y, d[g.value].state =
|
|
457
|
+
function u(v, y) {
|
|
458
|
+
g.value++, d[g.value].data = y, d[g.value].state = v;
|
|
453
459
|
}
|
|
454
|
-
return e.reduce((
|
|
455
|
-
var
|
|
460
|
+
return e.reduce((v, y) => v.then((b) => {
|
|
461
|
+
var _;
|
|
456
462
|
if (i?.aborted) {
|
|
457
463
|
u(s.aborted, new Error("aborted"));
|
|
458
464
|
return;
|
|
459
465
|
}
|
|
460
|
-
if (((
|
|
466
|
+
if (((_ = d[g.value]) == null ? void 0 : _.state) === s.rejected && r) {
|
|
461
467
|
o();
|
|
462
468
|
return;
|
|
463
469
|
}
|
|
464
|
-
const
|
|
465
|
-
return i ? Promise.race([
|
|
466
|
-
}).catch((
|
|
470
|
+
const f = y(b).then(($) => (u(s.fulfilled, $), g.value === e.length - 1 && o(), $));
|
|
471
|
+
return i ? Promise.race([f, vo(i)]) : f;
|
|
472
|
+
}).catch((b) => i?.aborted ? (u(s.aborted, b), b) : (u(s.rejected, b), a(), b)), Promise.resolve()), {
|
|
467
473
|
activeIndex: g,
|
|
468
474
|
result: d
|
|
469
475
|
};
|
|
470
476
|
}
|
|
471
|
-
function
|
|
477
|
+
function vo(e) {
|
|
472
478
|
return new Promise((t, r) => {
|
|
473
479
|
const a = new Error("aborted");
|
|
474
480
|
e.aborted ? r(a) : e.addEventListener("abort", () => r(a), { once: !0 });
|
|
475
481
|
});
|
|
476
482
|
}
|
|
477
|
-
function
|
|
483
|
+
function bo(e, t, r) {
|
|
478
484
|
const {
|
|
479
485
|
immediate: a = !0,
|
|
480
486
|
delay: o = 0,
|
|
481
|
-
onError: i =
|
|
482
|
-
onSuccess: s =
|
|
487
|
+
onError: i = W,
|
|
488
|
+
onSuccess: s = W,
|
|
483
489
|
resetOnExecute: l = !0,
|
|
484
490
|
shallow: d = !0,
|
|
485
491
|
throwError: g
|
|
486
|
-
} = r ?? {}, u = d ?
|
|
487
|
-
async function z
|
|
488
|
-
l && (u.value = t),
|
|
489
|
-
const x = typeof e == "function" ? e(...
|
|
492
|
+
} = r ?? {}, u = d ? X(t) : K(t), v = X(!1), y = X(!1), b = X(void 0);
|
|
493
|
+
async function _(z = 0, ...C) {
|
|
494
|
+
l && (u.value = t), b.value = void 0, v.value = !1, y.value = !0, z > 0 && await pt(z);
|
|
495
|
+
const x = typeof e == "function" ? e(...C) : e;
|
|
490
496
|
try {
|
|
491
|
-
const
|
|
492
|
-
u.value =
|
|
493
|
-
} catch (
|
|
494
|
-
if (
|
|
495
|
-
throw
|
|
497
|
+
const h = await x;
|
|
498
|
+
u.value = h, v.value = !0, s(h);
|
|
499
|
+
} catch (h) {
|
|
500
|
+
if (b.value = h, i(h), g)
|
|
501
|
+
throw h;
|
|
496
502
|
} finally {
|
|
497
503
|
y.value = !1;
|
|
498
504
|
}
|
|
499
505
|
return u.value;
|
|
500
506
|
}
|
|
501
|
-
a &&
|
|
502
|
-
const
|
|
507
|
+
a && _(o);
|
|
508
|
+
const f = {
|
|
503
509
|
state: u,
|
|
504
|
-
isReady:
|
|
510
|
+
isReady: v,
|
|
505
511
|
isLoading: y,
|
|
506
|
-
error:
|
|
507
|
-
execute:
|
|
508
|
-
executeImmediate: (
|
|
512
|
+
error: b,
|
|
513
|
+
execute: _,
|
|
514
|
+
executeImmediate: (...z) => _(0, ...z)
|
|
509
515
|
};
|
|
510
|
-
function
|
|
511
|
-
return new Promise((
|
|
512
|
-
|
|
516
|
+
function $() {
|
|
517
|
+
return new Promise((z, C) => {
|
|
518
|
+
co(y).toBe(!1).then(() => z(f)).catch(C);
|
|
513
519
|
});
|
|
514
520
|
}
|
|
515
521
|
return {
|
|
516
|
-
...
|
|
517
|
-
then(
|
|
518
|
-
return
|
|
522
|
+
...f,
|
|
523
|
+
then(z, C) {
|
|
524
|
+
return $().then(z, C);
|
|
519
525
|
}
|
|
520
526
|
};
|
|
521
527
|
}
|
|
522
|
-
function
|
|
528
|
+
function ho(e) {
|
|
523
529
|
return JSON.parse(JSON.stringify(e));
|
|
524
530
|
}
|
|
525
|
-
const
|
|
526
|
-
function
|
|
531
|
+
const jt = 1;
|
|
532
|
+
function fo(e, t = {}) {
|
|
527
533
|
const {
|
|
528
534
|
throttle: r = 0,
|
|
529
535
|
idle: a = 200,
|
|
530
|
-
onStop: o =
|
|
531
|
-
onScroll: i =
|
|
536
|
+
onStop: o = W,
|
|
537
|
+
onScroll: i = W,
|
|
532
538
|
offset: s = {
|
|
533
539
|
left: 0,
|
|
534
540
|
right: 0,
|
|
@@ -543,124 +549,124 @@ function bo(e, t = {}) {
|
|
|
543
549
|
passive: !0
|
|
544
550
|
},
|
|
545
551
|
behavior: g = "auto",
|
|
546
|
-
window: u =
|
|
547
|
-
onError:
|
|
548
|
-
console.error(
|
|
552
|
+
window: u = at,
|
|
553
|
+
onError: v = (T) => {
|
|
554
|
+
console.error(T);
|
|
549
555
|
}
|
|
550
556
|
} = t, y = typeof l == "boolean" ? {
|
|
551
557
|
mutation: l
|
|
552
|
-
} : l,
|
|
558
|
+
} : l, b = X(0), _ = X(0), f = N({
|
|
553
559
|
get() {
|
|
554
|
-
return
|
|
560
|
+
return b.value;
|
|
555
561
|
},
|
|
556
|
-
set(
|
|
557
|
-
|
|
562
|
+
set(T) {
|
|
563
|
+
z(T, void 0);
|
|
558
564
|
}
|
|
559
|
-
}),
|
|
565
|
+
}), $ = N({
|
|
560
566
|
get() {
|
|
561
|
-
return
|
|
567
|
+
return _.value;
|
|
562
568
|
},
|
|
563
|
-
set(
|
|
564
|
-
|
|
569
|
+
set(T) {
|
|
570
|
+
z(void 0, T);
|
|
565
571
|
}
|
|
566
572
|
});
|
|
567
|
-
function
|
|
568
|
-
var
|
|
573
|
+
function z(T, Y) {
|
|
574
|
+
var U, ae, ne, D;
|
|
569
575
|
if (!u)
|
|
570
576
|
return;
|
|
571
577
|
const M = R(e);
|
|
572
578
|
if (!M)
|
|
573
579
|
return;
|
|
574
580
|
(ne = M instanceof Document ? u.document.body : M) == null || ne.scrollTo({
|
|
575
|
-
top: (
|
|
576
|
-
left: (
|
|
581
|
+
top: (U = R(Y)) != null ? U : $.value,
|
|
582
|
+
left: (ae = R(T)) != null ? ae : f.value,
|
|
577
583
|
behavior: R(g)
|
|
578
584
|
});
|
|
579
585
|
const se = ((D = M?.document) == null ? void 0 : D.documentElement) || M?.documentElement || M;
|
|
580
|
-
|
|
586
|
+
f != null && (b.value = se.scrollLeft), $ != null && (_.value = se.scrollTop);
|
|
581
587
|
}
|
|
582
|
-
const
|
|
588
|
+
const C = X(!1), x = de({
|
|
583
589
|
left: !0,
|
|
584
590
|
right: !1,
|
|
585
591
|
top: !0,
|
|
586
592
|
bottom: !1
|
|
587
|
-
}),
|
|
593
|
+
}), h = de({
|
|
588
594
|
left: !1,
|
|
589
595
|
right: !1,
|
|
590
596
|
top: !1,
|
|
591
597
|
bottom: !1
|
|
592
|
-
}),
|
|
593
|
-
|
|
594
|
-
},
|
|
595
|
-
var
|
|
598
|
+
}), S = (T) => {
|
|
599
|
+
C.value && (C.value = !1, h.left = !1, h.right = !1, h.top = !1, h.bottom = !1, o(T));
|
|
600
|
+
}, I = hr(S, r + a), A = (T) => {
|
|
601
|
+
var Y;
|
|
596
602
|
if (!u)
|
|
597
603
|
return;
|
|
598
|
-
const
|
|
599
|
-
|
|
600
|
-
const Oe = Math.abs(se * M) <= (s.left || 0), ie = Math.abs(se * M) +
|
|
601
|
-
|
|
602
|
-
let ue =
|
|
603
|
-
|
|
604
|
-
const
|
|
605
|
-
|
|
606
|
-
},
|
|
607
|
-
var
|
|
604
|
+
const U = ((Y = T?.document) == null ? void 0 : Y.documentElement) || T?.documentElement || we(T), { display: ae, flexDirection: ne, direction: D } = getComputedStyle(U), M = D === "rtl" ? -1 : 1, se = U.scrollLeft;
|
|
605
|
+
h.left = se < b.value, h.right = se > b.value;
|
|
606
|
+
const Oe = Math.abs(se * M) <= (s.left || 0), ie = Math.abs(se * M) + U.clientWidth >= U.scrollWidth - (s.right || 0) - jt;
|
|
607
|
+
ae === "flex" && ne === "row-reverse" ? (x.left = ie, x.right = Oe) : (x.left = Oe, x.right = ie), b.value = se;
|
|
608
|
+
let ue = U.scrollTop;
|
|
609
|
+
T === u.document && !ue && (ue = u.document.body.scrollTop), h.top = ue < _.value, h.bottom = ue > _.value;
|
|
610
|
+
const Tt = Math.abs(ue) <= (s.top || 0), Et = Math.abs(ue) + U.clientHeight >= U.scrollHeight - (s.bottom || 0) - jt;
|
|
611
|
+
ae === "flex" && ne === "column-reverse" ? (x.top = Et, x.bottom = Tt) : (x.top = Tt, x.bottom = Et), _.value = ue;
|
|
612
|
+
}, ee = (T) => {
|
|
613
|
+
var Y;
|
|
608
614
|
if (!u)
|
|
609
615
|
return;
|
|
610
|
-
const
|
|
611
|
-
|
|
616
|
+
const U = (Y = T.target.documentElement) != null ? Y : T.target;
|
|
617
|
+
A(U), C.value = !0, I(T), i(T);
|
|
612
618
|
};
|
|
613
|
-
return
|
|
619
|
+
return We(
|
|
614
620
|
e,
|
|
615
621
|
"scroll",
|
|
616
|
-
r ?
|
|
622
|
+
r ? io(ee, r, !0, !1) : ee,
|
|
617
623
|
d
|
|
618
|
-
),
|
|
624
|
+
), lo(() => {
|
|
619
625
|
try {
|
|
620
|
-
const
|
|
621
|
-
if (!
|
|
626
|
+
const T = R(e);
|
|
627
|
+
if (!T)
|
|
622
628
|
return;
|
|
623
|
-
|
|
624
|
-
} catch (
|
|
625
|
-
|
|
629
|
+
A(T);
|
|
630
|
+
} catch (T) {
|
|
631
|
+
v(T);
|
|
626
632
|
}
|
|
627
|
-
}), y?.mutation && e != null && e !== u && e !== document &&
|
|
633
|
+
}), y?.mutation && e != null && e !== u && e !== document && po(
|
|
628
634
|
e,
|
|
629
635
|
() => {
|
|
630
|
-
const
|
|
631
|
-
|
|
636
|
+
const T = R(e);
|
|
637
|
+
T && A(T);
|
|
632
638
|
},
|
|
633
639
|
{
|
|
634
640
|
attributes: !0,
|
|
635
641
|
childList: !0,
|
|
636
642
|
subtree: !0
|
|
637
643
|
}
|
|
638
|
-
),
|
|
644
|
+
), We(
|
|
639
645
|
e,
|
|
640
646
|
"scrollend",
|
|
641
|
-
|
|
647
|
+
S,
|
|
642
648
|
d
|
|
643
649
|
), {
|
|
644
|
-
x:
|
|
645
|
-
y:
|
|
646
|
-
isScrolling:
|
|
650
|
+
x: f,
|
|
651
|
+
y: $,
|
|
652
|
+
isScrolling: C,
|
|
647
653
|
arrivedState: x,
|
|
648
|
-
directions:
|
|
654
|
+
directions: h,
|
|
649
655
|
measure() {
|
|
650
|
-
const
|
|
651
|
-
u &&
|
|
656
|
+
const T = R(e);
|
|
657
|
+
u && T && A(T);
|
|
652
658
|
}
|
|
653
659
|
};
|
|
654
660
|
}
|
|
655
|
-
function
|
|
661
|
+
function fr(e = "history", t = {}) {
|
|
656
662
|
const {
|
|
657
663
|
initialValue: r = {},
|
|
658
664
|
removeNullishValues: a = !0,
|
|
659
665
|
removeFalsyValues: o = !1,
|
|
660
666
|
write: i = !0,
|
|
661
667
|
writeMode: s = "replace",
|
|
662
|
-
window: l =
|
|
663
|
-
stringify: d = (
|
|
668
|
+
window: l = at,
|
|
669
|
+
stringify: d = (h) => h.toString()
|
|
664
670
|
} = t;
|
|
665
671
|
if (!l)
|
|
666
672
|
return de(r);
|
|
@@ -669,105 +675,105 @@ function vr(e = "history", t = {}) {
|
|
|
669
675
|
if (e === "history")
|
|
670
676
|
return l.location.search || "";
|
|
671
677
|
if (e === "hash") {
|
|
672
|
-
const
|
|
673
|
-
return
|
|
678
|
+
const h = l.location.hash || "", S = h.indexOf("?");
|
|
679
|
+
return S > 0 ? h.slice(S) : "";
|
|
674
680
|
} else
|
|
675
681
|
return (l.location.hash || "").replace(/^#/, "");
|
|
676
682
|
}
|
|
677
|
-
function
|
|
678
|
-
const
|
|
683
|
+
function v(h) {
|
|
684
|
+
const S = d(h);
|
|
679
685
|
if (e === "history")
|
|
680
|
-
return `${
|
|
686
|
+
return `${S ? `?${S}` : ""}${l.location.hash || ""}`;
|
|
681
687
|
if (e === "hash-params")
|
|
682
|
-
return `${l.location.search || ""}${
|
|
683
|
-
const
|
|
684
|
-
return
|
|
688
|
+
return `${l.location.search || ""}${S ? `#${S}` : ""}`;
|
|
689
|
+
const I = l.location.hash || "#", A = I.indexOf("?");
|
|
690
|
+
return A > 0 ? `${l.location.search || ""}${I.slice(0, A)}${S ? `?${S}` : ""}` : `${l.location.search || ""}${I}${S ? `?${S}` : ""}`;
|
|
685
691
|
}
|
|
686
692
|
function y() {
|
|
687
693
|
return new URLSearchParams(u());
|
|
688
694
|
}
|
|
689
|
-
function
|
|
690
|
-
const
|
|
691
|
-
for (const
|
|
692
|
-
const
|
|
693
|
-
g[
|
|
695
|
+
function b(h) {
|
|
696
|
+
const S = new Set(Object.keys(g));
|
|
697
|
+
for (const I of h.keys()) {
|
|
698
|
+
const A = h.getAll(I);
|
|
699
|
+
g[I] = A.length > 1 ? A : h.get(I) || "", S.delete(I);
|
|
694
700
|
}
|
|
695
|
-
Array.from(
|
|
701
|
+
Array.from(S).forEach((I) => delete g[I]);
|
|
696
702
|
}
|
|
697
|
-
const { pause:
|
|
703
|
+
const { pause: _, resume: f } = so(
|
|
698
704
|
g,
|
|
699
705
|
() => {
|
|
700
|
-
const
|
|
701
|
-
Object.keys(g).forEach((
|
|
702
|
-
const
|
|
703
|
-
Array.isArray(
|
|
704
|
-
}),
|
|
706
|
+
const h = new URLSearchParams("");
|
|
707
|
+
Object.keys(g).forEach((S) => {
|
|
708
|
+
const I = g[S];
|
|
709
|
+
Array.isArray(I) ? I.forEach((A) => h.append(S, A)) : a && I == null || o && !I ? h.delete(S) : h.set(S, I);
|
|
710
|
+
}), $(h, !1);
|
|
705
711
|
},
|
|
706
712
|
{ deep: !0 }
|
|
707
713
|
);
|
|
708
|
-
function
|
|
709
|
-
|
|
714
|
+
function $(h, S) {
|
|
715
|
+
_(), S && b(h), s === "replace" ? l.history.replaceState(
|
|
710
716
|
l.history.state,
|
|
711
717
|
l.document.title,
|
|
712
|
-
l.location.pathname +
|
|
718
|
+
l.location.pathname + v(h)
|
|
713
719
|
) : l.history.pushState(
|
|
714
720
|
l.history.state,
|
|
715
721
|
l.document.title,
|
|
716
|
-
l.location.pathname +
|
|
717
|
-
),
|
|
722
|
+
l.location.pathname + v(h)
|
|
723
|
+
), f();
|
|
718
724
|
}
|
|
719
|
-
function
|
|
720
|
-
i &&
|
|
725
|
+
function z() {
|
|
726
|
+
i && $(y(), !0);
|
|
721
727
|
}
|
|
722
|
-
const
|
|
723
|
-
|
|
728
|
+
const C = { passive: !0 };
|
|
729
|
+
We(l, "popstate", z, C), e !== "history" && We(l, "hashchange", z, C);
|
|
724
730
|
const x = y();
|
|
725
|
-
return x.keys().next().value ?
|
|
731
|
+
return x.keys().next().value ? b(x) : Object.assign(g, r), g;
|
|
726
732
|
}
|
|
727
|
-
function
|
|
733
|
+
function yo(e, t, r, a = {}) {
|
|
728
734
|
var o, i, s;
|
|
729
735
|
const {
|
|
730
736
|
clone: l = !1,
|
|
731
737
|
passive: d = !1,
|
|
732
738
|
eventName: g,
|
|
733
739
|
deep: u = !1,
|
|
734
|
-
defaultValue:
|
|
740
|
+
defaultValue: v,
|
|
735
741
|
shouldEmit: y
|
|
736
|
-
} = a,
|
|
737
|
-
let
|
|
738
|
-
t || (t = "modelValue"),
|
|
739
|
-
const
|
|
740
|
-
y ? y(x) &&
|
|
742
|
+
} = a, b = ft(), _ = r || b?.emit || ((o = b?.$emit) == null ? void 0 : o.bind(b)) || ((s = (i = b?.proxy) == null ? void 0 : i.$emit) == null ? void 0 : s.bind(b?.proxy));
|
|
743
|
+
let f = g;
|
|
744
|
+
t || (t = "modelValue"), f = f || `update:${t.toString()}`;
|
|
745
|
+
const $ = (x) => l ? typeof l == "function" ? l(x) : ho(x) : x, z = () => Wa(e[t]) ? $(e[t]) : v, C = (x) => {
|
|
746
|
+
y ? y(x) && _(f, x) : _(f, x);
|
|
741
747
|
};
|
|
742
748
|
if (d) {
|
|
743
|
-
const x =
|
|
744
|
-
let
|
|
745
|
-
return
|
|
749
|
+
const x = z(), h = K(x);
|
|
750
|
+
let S = !1;
|
|
751
|
+
return re(
|
|
746
752
|
() => e[t],
|
|
747
|
-
(
|
|
748
|
-
|
|
753
|
+
(I) => {
|
|
754
|
+
S || (S = !0, h.value = $(I), Ce(() => S = !1));
|
|
749
755
|
}
|
|
750
|
-
),
|
|
751
|
-
|
|
752
|
-
(
|
|
753
|
-
!
|
|
756
|
+
), re(
|
|
757
|
+
h,
|
|
758
|
+
(I) => {
|
|
759
|
+
!S && (I !== e[t] || u) && C(I);
|
|
754
760
|
},
|
|
755
761
|
{ deep: u }
|
|
756
|
-
),
|
|
762
|
+
), h;
|
|
757
763
|
} else
|
|
758
|
-
return
|
|
764
|
+
return N({
|
|
759
765
|
get() {
|
|
760
|
-
return
|
|
766
|
+
return z();
|
|
761
767
|
},
|
|
762
768
|
set(x) {
|
|
763
|
-
|
|
769
|
+
C(x);
|
|
764
770
|
}
|
|
765
771
|
});
|
|
766
772
|
}
|
|
767
|
-
function
|
|
773
|
+
function _t(e, t, r = {}) {
|
|
768
774
|
const a = {};
|
|
769
775
|
for (const o in e)
|
|
770
|
-
a[o] =
|
|
776
|
+
a[o] = yo(
|
|
771
777
|
e,
|
|
772
778
|
o,
|
|
773
779
|
t,
|
|
@@ -778,33 +784,33 @@ function xt(e, t, r = {}) {
|
|
|
778
784
|
function j(e) {
|
|
779
785
|
return e != null && typeof e == "object" && e["@@functional/placeholder"] === !0;
|
|
780
786
|
}
|
|
781
|
-
function
|
|
787
|
+
function B(e) {
|
|
782
788
|
return function t(r) {
|
|
783
789
|
return arguments.length === 0 || j(r) ? t : e.apply(this, arguments);
|
|
784
790
|
};
|
|
785
791
|
}
|
|
786
|
-
function
|
|
792
|
+
function F(e) {
|
|
787
793
|
return function t(r, a) {
|
|
788
794
|
switch (arguments.length) {
|
|
789
795
|
case 0:
|
|
790
796
|
return t;
|
|
791
797
|
case 1:
|
|
792
|
-
return j(r) ? t :
|
|
798
|
+
return j(r) ? t : B(function(o) {
|
|
793
799
|
return e(r, o);
|
|
794
800
|
});
|
|
795
801
|
default:
|
|
796
|
-
return j(r) && j(a) ? t : j(r) ?
|
|
802
|
+
return j(r) && j(a) ? t : j(r) ? B(function(o) {
|
|
797
803
|
return e(o, a);
|
|
798
|
-
}) : j(a) ?
|
|
804
|
+
}) : j(a) ? B(function(o) {
|
|
799
805
|
return e(r, o);
|
|
800
806
|
}) : e(r, a);
|
|
801
807
|
}
|
|
802
808
|
};
|
|
803
809
|
}
|
|
804
|
-
var
|
|
810
|
+
var wo = /* @__PURE__ */ F(function(t, r) {
|
|
805
811
|
return Number(t) + Number(r);
|
|
806
812
|
});
|
|
807
|
-
function
|
|
813
|
+
function ot(e, t) {
|
|
808
814
|
switch (e) {
|
|
809
815
|
case 0:
|
|
810
816
|
return function() {
|
|
@@ -847,77 +853,77 @@ function at(e, t) {
|
|
|
847
853
|
return t.apply(this, arguments);
|
|
848
854
|
};
|
|
849
855
|
case 10:
|
|
850
|
-
return function(r, a, o, i, s, l, d, g, u,
|
|
856
|
+
return function(r, a, o, i, s, l, d, g, u, v) {
|
|
851
857
|
return t.apply(this, arguments);
|
|
852
858
|
};
|
|
853
859
|
default:
|
|
854
860
|
throw new Error("First argument to _arity must be a non-negative integer no greater than ten");
|
|
855
861
|
}
|
|
856
862
|
}
|
|
857
|
-
function
|
|
863
|
+
function yr(e, t, r) {
|
|
858
864
|
return function() {
|
|
859
865
|
for (var a = [], o = 0, i = e, s = 0, l = !1; s < t.length || o < arguments.length; ) {
|
|
860
866
|
var d;
|
|
861
867
|
s < t.length && (!j(t[s]) || o >= arguments.length) ? d = t[s] : (d = arguments[o], o += 1), a[s] = d, j(d) ? l = !0 : i -= 1, s += 1;
|
|
862
868
|
}
|
|
863
|
-
return !l && i <= 0 ? r.apply(this, a) :
|
|
869
|
+
return !l && i <= 0 ? r.apply(this, a) : ot(Math.max(0, i), yr(e, a, r));
|
|
864
870
|
};
|
|
865
871
|
}
|
|
866
|
-
var
|
|
867
|
-
return t === 1 ?
|
|
872
|
+
var xo = /* @__PURE__ */ F(function(t, r) {
|
|
873
|
+
return t === 1 ? B(r) : ot(t, yr(t, [], r));
|
|
868
874
|
});
|
|
869
|
-
function
|
|
875
|
+
function kt(e) {
|
|
870
876
|
return function t(r, a, o) {
|
|
871
877
|
switch (arguments.length) {
|
|
872
878
|
case 0:
|
|
873
879
|
return t;
|
|
874
880
|
case 1:
|
|
875
|
-
return j(r) ? t :
|
|
881
|
+
return j(r) ? t : F(function(i, s) {
|
|
876
882
|
return e(r, i, s);
|
|
877
883
|
});
|
|
878
884
|
case 2:
|
|
879
|
-
return j(r) && j(a) ? t : j(r) ?
|
|
885
|
+
return j(r) && j(a) ? t : j(r) ? F(function(i, s) {
|
|
880
886
|
return e(i, a, s);
|
|
881
|
-
}) : j(a) ?
|
|
887
|
+
}) : j(a) ? F(function(i, s) {
|
|
882
888
|
return e(r, i, s);
|
|
883
|
-
}) :
|
|
889
|
+
}) : B(function(i) {
|
|
884
890
|
return e(r, a, i);
|
|
885
891
|
});
|
|
886
892
|
default:
|
|
887
|
-
return j(r) && j(a) && j(o) ? t : j(r) && j(a) ?
|
|
893
|
+
return j(r) && j(a) && j(o) ? t : j(r) && j(a) ? F(function(i, s) {
|
|
888
894
|
return e(i, s, o);
|
|
889
|
-
}) : j(r) && j(o) ?
|
|
895
|
+
}) : j(r) && j(o) ? F(function(i, s) {
|
|
890
896
|
return e(i, a, s);
|
|
891
|
-
}) : j(a) && j(o) ?
|
|
897
|
+
}) : j(a) && j(o) ? F(function(i, s) {
|
|
892
898
|
return e(r, i, s);
|
|
893
|
-
}) : j(r) ?
|
|
899
|
+
}) : j(r) ? B(function(i) {
|
|
894
900
|
return e(i, a, o);
|
|
895
|
-
}) : j(a) ?
|
|
901
|
+
}) : j(a) ? B(function(i) {
|
|
896
902
|
return e(r, i, o);
|
|
897
|
-
}) : j(o) ?
|
|
903
|
+
}) : j(o) ? B(function(i) {
|
|
898
904
|
return e(r, a, i);
|
|
899
905
|
}) : e(r, a, o);
|
|
900
906
|
}
|
|
901
907
|
};
|
|
902
908
|
}
|
|
903
|
-
const
|
|
909
|
+
const it = Array.isArray || function(t) {
|
|
904
910
|
return t != null && t.length >= 0 && Object.prototype.toString.call(t) === "[object Array]";
|
|
905
911
|
};
|
|
906
|
-
function
|
|
912
|
+
function _o(e) {
|
|
907
913
|
return e != null && typeof e["@@transducer/step"] == "function";
|
|
908
914
|
}
|
|
909
|
-
function
|
|
915
|
+
function ko(e, t, r) {
|
|
910
916
|
return function() {
|
|
911
917
|
if (arguments.length === 0)
|
|
912
918
|
return r();
|
|
913
919
|
var a = arguments[arguments.length - 1];
|
|
914
|
-
if (!
|
|
920
|
+
if (!it(a)) {
|
|
915
921
|
for (var o = 0; o < e.length; ) {
|
|
916
922
|
if (typeof a[e[o]] == "function")
|
|
917
923
|
return a[e[o]].apply(a, Array.prototype.slice.call(arguments, 0, -1));
|
|
918
924
|
o += 1;
|
|
919
925
|
}
|
|
920
|
-
if (
|
|
926
|
+
if (_o(a)) {
|
|
921
927
|
var i = t.apply(null, Array.prototype.slice.call(arguments, 0, -1));
|
|
922
928
|
return i(a);
|
|
923
929
|
}
|
|
@@ -925,7 +931,7 @@ function xo(e, t, r) {
|
|
|
925
931
|
return r.apply(this, arguments);
|
|
926
932
|
};
|
|
927
933
|
}
|
|
928
|
-
const
|
|
934
|
+
const Ot = {
|
|
929
935
|
init: function() {
|
|
930
936
|
return this.xf["@@transducer/init"]();
|
|
931
937
|
},
|
|
@@ -933,12 +939,12 @@ const jt = {
|
|
|
933
939
|
return this.xf["@@transducer/result"](e);
|
|
934
940
|
}
|
|
935
941
|
};
|
|
936
|
-
function
|
|
942
|
+
function Rt(e) {
|
|
937
943
|
for (var t = [], r; !(r = e.next()).done; )
|
|
938
944
|
t.push(r.value);
|
|
939
945
|
return t;
|
|
940
946
|
}
|
|
941
|
-
function
|
|
947
|
+
function Gt(e, t, r) {
|
|
942
948
|
for (var a = 0, o = r.length; a < o; ) {
|
|
943
949
|
if (e(t, r[a]))
|
|
944
950
|
return !0;
|
|
@@ -946,60 +952,60 @@ function Rt(e, t, r) {
|
|
|
946
952
|
}
|
|
947
953
|
return !1;
|
|
948
954
|
}
|
|
949
|
-
function
|
|
955
|
+
function zo(e) {
|
|
950
956
|
var t = String(e).match(/^function (\w*)/);
|
|
951
957
|
return t == null ? "" : t[1];
|
|
952
958
|
}
|
|
953
|
-
function
|
|
959
|
+
function Je(e, t) {
|
|
954
960
|
return Object.prototype.hasOwnProperty.call(t, e);
|
|
955
961
|
}
|
|
956
|
-
function
|
|
962
|
+
function So(e, t) {
|
|
957
963
|
return e === t ? e !== 0 || 1 / e === 1 / t : e !== e && t !== t;
|
|
958
964
|
}
|
|
959
|
-
const
|
|
960
|
-
var
|
|
961
|
-
return
|
|
962
|
-
return
|
|
965
|
+
const dt = typeof Object.is == "function" ? Object.is : So;
|
|
966
|
+
var Ut = Object.prototype.toString, wr = /* @__PURE__ */ function() {
|
|
967
|
+
return Ut.call(arguments) === "[object Arguments]" ? function(t) {
|
|
968
|
+
return Ut.call(t) === "[object Arguments]";
|
|
963
969
|
} : function(t) {
|
|
964
|
-
return
|
|
970
|
+
return Je("callee", t);
|
|
965
971
|
};
|
|
966
|
-
}(),
|
|
972
|
+
}(), $o = !/* @__PURE__ */ {
|
|
967
973
|
toString: null
|
|
968
|
-
}.propertyIsEnumerable("toString"),
|
|
974
|
+
}.propertyIsEnumerable("toString"), Yt = ["constructor", "valueOf", "isPrototypeOf", "toString", "propertyIsEnumerable", "hasOwnProperty", "toLocaleString"], Bt = /* @__PURE__ */ function() {
|
|
969
975
|
return arguments.propertyIsEnumerable("length");
|
|
970
|
-
}(),
|
|
976
|
+
}(), Io = function(t, r) {
|
|
971
977
|
for (var a = 0; a < t.length; ) {
|
|
972
978
|
if (t[a] === r)
|
|
973
979
|
return !0;
|
|
974
980
|
a += 1;
|
|
975
981
|
}
|
|
976
982
|
return !1;
|
|
977
|
-
},
|
|
983
|
+
}, bt = /* @__PURE__ */ B(typeof Object.keys == "function" && !Bt ? function(t) {
|
|
978
984
|
return Object(t) !== t ? [] : Object.keys(t);
|
|
979
985
|
} : function(t) {
|
|
980
986
|
if (Object(t) !== t)
|
|
981
987
|
return [];
|
|
982
|
-
var r, a, o = [], i =
|
|
988
|
+
var r, a, o = [], i = Bt && wr(t);
|
|
983
989
|
for (r in t)
|
|
984
|
-
|
|
985
|
-
if (
|
|
986
|
-
for (a =
|
|
987
|
-
r =
|
|
990
|
+
Je(r, t) && (!i || r !== "length") && (o[o.length] = r);
|
|
991
|
+
if ($o)
|
|
992
|
+
for (a = Yt.length - 1; a >= 0; )
|
|
993
|
+
r = Yt[a], Je(r, t) && !Io(o, r) && (o[o.length] = r), a -= 1;
|
|
988
994
|
return o;
|
|
989
|
-
}), Kt = /* @__PURE__ */
|
|
995
|
+
}), Kt = /* @__PURE__ */ B(function(t) {
|
|
990
996
|
return t === null ? "Null" : t === void 0 ? "Undefined" : Object.prototype.toString.call(t).slice(8, -1);
|
|
991
997
|
});
|
|
992
|
-
function
|
|
993
|
-
var o =
|
|
998
|
+
function Ft(e, t, r, a) {
|
|
999
|
+
var o = Rt(e), i = Rt(t);
|
|
994
1000
|
function s(l, d) {
|
|
995
|
-
return
|
|
1001
|
+
return zt(l, d, r.slice(), a.slice());
|
|
996
1002
|
}
|
|
997
|
-
return !
|
|
998
|
-
return !
|
|
1003
|
+
return !Gt(function(l, d) {
|
|
1004
|
+
return !Gt(s, d, l);
|
|
999
1005
|
}, i, o);
|
|
1000
1006
|
}
|
|
1001
|
-
function
|
|
1002
|
-
if (
|
|
1007
|
+
function zt(e, t, r, a) {
|
|
1008
|
+
if (dt(e, t))
|
|
1003
1009
|
return !0;
|
|
1004
1010
|
var o = Kt(e);
|
|
1005
1011
|
if (o !== Kt(t))
|
|
@@ -1012,17 +1018,17 @@ function kt(e, t, r, a) {
|
|
|
1012
1018
|
case "Arguments":
|
|
1013
1019
|
case "Array":
|
|
1014
1020
|
case "Object":
|
|
1015
|
-
if (typeof e.constructor == "function" &&
|
|
1021
|
+
if (typeof e.constructor == "function" && zo(e.constructor) === "Promise")
|
|
1016
1022
|
return e === t;
|
|
1017
1023
|
break;
|
|
1018
1024
|
case "Boolean":
|
|
1019
1025
|
case "Number":
|
|
1020
1026
|
case "String":
|
|
1021
|
-
if (!(typeof e == typeof t &&
|
|
1027
|
+
if (!(typeof e == typeof t && dt(e.valueOf(), t.valueOf())))
|
|
1022
1028
|
return !1;
|
|
1023
1029
|
break;
|
|
1024
1030
|
case "Date":
|
|
1025
|
-
if (!
|
|
1031
|
+
if (!dt(e.valueOf(), t.valueOf()))
|
|
1026
1032
|
return !1;
|
|
1027
1033
|
break;
|
|
1028
1034
|
case "Error":
|
|
@@ -1039,9 +1045,9 @@ function kt(e, t, r, a) {
|
|
|
1039
1045
|
}
|
|
1040
1046
|
switch (o) {
|
|
1041
1047
|
case "Map":
|
|
1042
|
-
return e.size !== t.size ? !1 :
|
|
1048
|
+
return e.size !== t.size ? !1 : Ft(e.entries(), t.entries(), r.concat([e]), a.concat([t]));
|
|
1043
1049
|
case "Set":
|
|
1044
|
-
return e.size !== t.size ? !1 :
|
|
1050
|
+
return e.size !== t.size ? !1 : Ft(e.values(), t.values(), r.concat([e]), a.concat([t]));
|
|
1045
1051
|
case "Arguments":
|
|
1046
1052
|
case "Array":
|
|
1047
1053
|
case "Object":
|
|
@@ -1065,87 +1071,87 @@ function kt(e, t, r, a) {
|
|
|
1065
1071
|
default:
|
|
1066
1072
|
return !1;
|
|
1067
1073
|
}
|
|
1068
|
-
var s =
|
|
1069
|
-
if (s.length !==
|
|
1074
|
+
var s = bt(e);
|
|
1075
|
+
if (s.length !== bt(t).length)
|
|
1070
1076
|
return !1;
|
|
1071
1077
|
var l = r.concat([e]), d = a.concat([t]);
|
|
1072
1078
|
for (i = s.length - 1; i >= 0; ) {
|
|
1073
1079
|
var g = s[i];
|
|
1074
|
-
if (!(
|
|
1080
|
+
if (!(Je(g, t) && zt(t[g], e[g], l, d)))
|
|
1075
1081
|
return !1;
|
|
1076
1082
|
i -= 1;
|
|
1077
1083
|
}
|
|
1078
1084
|
return !0;
|
|
1079
1085
|
}
|
|
1080
|
-
var
|
|
1081
|
-
return
|
|
1086
|
+
var Co = /* @__PURE__ */ F(function(t, r) {
|
|
1087
|
+
return zt(t, r, [], []);
|
|
1082
1088
|
});
|
|
1083
|
-
function
|
|
1089
|
+
function No(e, t) {
|
|
1084
1090
|
for (var r = 0, a = t.length, o = Array(a); r < a; )
|
|
1085
1091
|
o[r] = e(t[r]), r += 1;
|
|
1086
1092
|
return o;
|
|
1087
1093
|
}
|
|
1088
|
-
function
|
|
1094
|
+
function To(e, t, r) {
|
|
1089
1095
|
for (var a = 0, o = r.length; a < o; )
|
|
1090
1096
|
t = e(t, r[a]), a += 1;
|
|
1091
1097
|
return t;
|
|
1092
1098
|
}
|
|
1093
|
-
function
|
|
1099
|
+
function Eo(e) {
|
|
1094
1100
|
return Object.prototype.toString.call(e) === "[object Object]";
|
|
1095
1101
|
}
|
|
1096
|
-
var
|
|
1102
|
+
var Ao = /* @__PURE__ */ function() {
|
|
1097
1103
|
function e(t, r) {
|
|
1098
1104
|
this.xf = r, this.f = t;
|
|
1099
1105
|
}
|
|
1100
|
-
return e.prototype["@@transducer/init"] =
|
|
1106
|
+
return e.prototype["@@transducer/init"] = Ot.init, e.prototype["@@transducer/result"] = Ot.result, e.prototype["@@transducer/step"] = function(t, r) {
|
|
1101
1107
|
return this.xf["@@transducer/step"](t, this.f(r));
|
|
1102
1108
|
}, e;
|
|
1103
|
-
}(),
|
|
1109
|
+
}(), Lo = function(t) {
|
|
1104
1110
|
return function(r) {
|
|
1105
|
-
return new
|
|
1111
|
+
return new Ao(t, r);
|
|
1106
1112
|
};
|
|
1107
|
-
},
|
|
1113
|
+
}, St = /* @__PURE__ */ F(/* @__PURE__ */ ko(["fantasy-land/map", "map"], Lo, function(t, r) {
|
|
1108
1114
|
switch (Object.prototype.toString.call(r)) {
|
|
1109
1115
|
case "[object Function]":
|
|
1110
|
-
return
|
|
1116
|
+
return xo(r.length, function() {
|
|
1111
1117
|
return t.call(this, r.apply(this, arguments));
|
|
1112
1118
|
});
|
|
1113
1119
|
case "[object Object]":
|
|
1114
|
-
return
|
|
1120
|
+
return To(function(a, o) {
|
|
1115
1121
|
return a[o] = t(r[o]), a;
|
|
1116
|
-
}, {},
|
|
1122
|
+
}, {}, bt(r));
|
|
1117
1123
|
default:
|
|
1118
|
-
return
|
|
1124
|
+
return No(t, r);
|
|
1119
1125
|
}
|
|
1120
1126
|
}));
|
|
1121
|
-
const
|
|
1127
|
+
const xr = Number.isInteger || function(t) {
|
|
1122
1128
|
return t << 0 === t;
|
|
1123
1129
|
};
|
|
1124
|
-
function
|
|
1130
|
+
function nt(e, t) {
|
|
1125
1131
|
var r = e < 0 ? t.length + e : e;
|
|
1126
1132
|
return t[r];
|
|
1127
1133
|
}
|
|
1128
|
-
function
|
|
1134
|
+
function Po(e, t) {
|
|
1129
1135
|
if (t != null)
|
|
1130
|
-
return
|
|
1136
|
+
return xr(e) ? nt(e, t) : t[e];
|
|
1131
1137
|
}
|
|
1132
|
-
var le = /* @__PURE__ */
|
|
1133
|
-
function
|
|
1138
|
+
var le = /* @__PURE__ */ F(Po);
|
|
1139
|
+
function $t(e) {
|
|
1134
1140
|
return Object.prototype.toString.call(e) === "[object String]";
|
|
1135
1141
|
}
|
|
1136
|
-
var
|
|
1137
|
-
return
|
|
1138
|
-
}),
|
|
1139
|
-
function
|
|
1142
|
+
var Do = /* @__PURE__ */ B(function(t) {
|
|
1143
|
+
return it(t) ? !0 : !t || typeof t != "object" || $t(t) ? !1 : t.length === 0 ? !0 : t.length > 0 ? t.hasOwnProperty(0) && t.hasOwnProperty(t.length - 1) : !1;
|
|
1144
|
+
}), Vt = typeof Symbol < "u" ? Symbol.iterator : "@@iterator";
|
|
1145
|
+
function Mo(e, t, r) {
|
|
1140
1146
|
return function(o, i, s) {
|
|
1141
|
-
if (
|
|
1147
|
+
if (Do(s))
|
|
1142
1148
|
return e(o, i, s);
|
|
1143
1149
|
if (s == null)
|
|
1144
1150
|
return i;
|
|
1145
1151
|
if (typeof s["fantasy-land/reduce"] == "function")
|
|
1146
1152
|
return t(o, i, s, "fantasy-land/reduce");
|
|
1147
|
-
if (s[
|
|
1148
|
-
return r(o, i, s[
|
|
1153
|
+
if (s[Vt] != null)
|
|
1154
|
+
return r(o, i, s[Vt]());
|
|
1149
1155
|
if (typeof s.next == "function")
|
|
1150
1156
|
return r(o, i, s);
|
|
1151
1157
|
if (typeof s.reduce == "function")
|
|
@@ -1153,7 +1159,7 @@ function Lo(e, t, r) {
|
|
|
1153
1159
|
throw new TypeError("reduce: list must be array or iterable");
|
|
1154
1160
|
};
|
|
1155
1161
|
}
|
|
1156
|
-
function
|
|
1162
|
+
function jo(e, t, r) {
|
|
1157
1163
|
for (var a = 0, o = r.length; a < o; ) {
|
|
1158
1164
|
if (t = e["@@transducer/step"](t, r[a]), t && t["@@transducer/reduced"]) {
|
|
1159
1165
|
t = t["@@transducer/value"];
|
|
@@ -1163,12 +1169,12 @@ function Do(e, t, r) {
|
|
|
1163
1169
|
}
|
|
1164
1170
|
return e["@@transducer/result"](t);
|
|
1165
1171
|
}
|
|
1166
|
-
var
|
|
1167
|
-
return
|
|
1172
|
+
var Oo = /* @__PURE__ */ F(function(t, r) {
|
|
1173
|
+
return ot(t.length, function() {
|
|
1168
1174
|
return t.apply(r, arguments);
|
|
1169
1175
|
});
|
|
1170
1176
|
});
|
|
1171
|
-
function
|
|
1177
|
+
function Ro(e, t, r) {
|
|
1172
1178
|
for (var a = r.next(); !a.done; ) {
|
|
1173
1179
|
if (t = e["@@transducer/step"](t, a.value), t && t["@@transducer/reduced"]) {
|
|
1174
1180
|
t = t["@@transducer/value"];
|
|
@@ -1178,10 +1184,10 @@ function jo(e, t, r) {
|
|
|
1178
1184
|
}
|
|
1179
1185
|
return e["@@transducer/result"](t);
|
|
1180
1186
|
}
|
|
1181
|
-
function
|
|
1182
|
-
return e["@@transducer/result"](r[a](
|
|
1187
|
+
function Go(e, t, r, a) {
|
|
1188
|
+
return e["@@transducer/result"](r[a](Oo(e["@@transducer/step"], e), t));
|
|
1183
1189
|
}
|
|
1184
|
-
var
|
|
1190
|
+
var Uo = /* @__PURE__ */ Mo(jo, Go, Ro), Yo = /* @__PURE__ */ function() {
|
|
1185
1191
|
function e(t) {
|
|
1186
1192
|
this.f = t;
|
|
1187
1193
|
}
|
|
@@ -1193,89 +1199,89 @@ var Ro = /* @__PURE__ */ Lo(Do, Oo, jo), Go = /* @__PURE__ */ function() {
|
|
|
1193
1199
|
return this.f(t, r);
|
|
1194
1200
|
}, e;
|
|
1195
1201
|
}();
|
|
1196
|
-
function
|
|
1197
|
-
return new
|
|
1202
|
+
function Bo(e) {
|
|
1203
|
+
return new Yo(e);
|
|
1198
1204
|
}
|
|
1199
|
-
var
|
|
1200
|
-
return
|
|
1205
|
+
var _r = /* @__PURE__ */ kt(function(e, t, r) {
|
|
1206
|
+
return Uo(typeof e == "function" ? Bo(e) : e, t, r);
|
|
1201
1207
|
});
|
|
1202
|
-
function
|
|
1208
|
+
function Ko(e, t) {
|
|
1203
1209
|
return function() {
|
|
1204
1210
|
return t.call(this, e.apply(this, arguments));
|
|
1205
1211
|
};
|
|
1206
1212
|
}
|
|
1207
|
-
function
|
|
1213
|
+
function kr(e, t) {
|
|
1208
1214
|
return function() {
|
|
1209
1215
|
var r = arguments.length;
|
|
1210
1216
|
if (r === 0)
|
|
1211
1217
|
return t();
|
|
1212
1218
|
var a = arguments[r - 1];
|
|
1213
|
-
return
|
|
1219
|
+
return it(a) || typeof a[e] != "function" ? t.apply(this, arguments) : a[e].apply(a, Array.prototype.slice.call(arguments, 0, r - 1));
|
|
1214
1220
|
};
|
|
1215
1221
|
}
|
|
1216
|
-
var
|
|
1222
|
+
var Fo = /* @__PURE__ */ kt(/* @__PURE__ */ kr("slice", function(t, r, a) {
|
|
1217
1223
|
return Array.prototype.slice.call(a, t, r);
|
|
1218
|
-
})),
|
|
1224
|
+
})), Vo = /* @__PURE__ */ B(/* @__PURE__ */ kr("tail", /* @__PURE__ */ Fo(1, 1 / 0)));
|
|
1219
1225
|
function Me() {
|
|
1220
1226
|
if (arguments.length === 0)
|
|
1221
1227
|
throw new Error("pipe requires at least one argument");
|
|
1222
|
-
return
|
|
1228
|
+
return ot(arguments[0].length, _r(Ko, arguments[0], Vo(arguments)));
|
|
1223
1229
|
}
|
|
1224
|
-
var
|
|
1225
|
-
return
|
|
1230
|
+
var qo = /* @__PURE__ */ B(function(t) {
|
|
1231
|
+
return $t(t) ? t.split("").reverse().join("") : Array.prototype.slice.call(t, 0).reverse();
|
|
1226
1232
|
});
|
|
1227
|
-
function
|
|
1233
|
+
function It() {
|
|
1228
1234
|
if (arguments.length === 0)
|
|
1229
1235
|
throw new Error("compose requires at least one argument");
|
|
1230
|
-
return Me.apply(this,
|
|
1236
|
+
return Me.apply(this, qo(arguments));
|
|
1231
1237
|
}
|
|
1232
|
-
var
|
|
1233
|
-
return
|
|
1234
|
-
}),
|
|
1238
|
+
var H = /* @__PURE__ */ B(function(e) {
|
|
1239
|
+
return nt(0, e);
|
|
1240
|
+
}), zr = /* @__PURE__ */ kt(function(t, r, a) {
|
|
1235
1241
|
var o = t(r), i = t(a);
|
|
1236
1242
|
return o > i ? -1 : o < i ? 1 : 0;
|
|
1237
|
-
}),
|
|
1238
|
-
return
|
|
1243
|
+
}), Ho = /* @__PURE__ */ B(function(e) {
|
|
1244
|
+
return nt(-1, e);
|
|
1239
1245
|
});
|
|
1240
|
-
function
|
|
1246
|
+
function Wo(e) {
|
|
1241
1247
|
var t = Object.prototype.toString.call(e);
|
|
1242
1248
|
return t === "[object Uint8ClampedArray]" || t === "[object Int8Array]" || t === "[object Uint8Array]" || t === "[object Int16Array]" || t === "[object Uint16Array]" || t === "[object Int32Array]" || t === "[object Uint32Array]" || t === "[object Float32Array]" || t === "[object Float64Array]" || t === "[object BigInt64Array]" || t === "[object BigUint64Array]";
|
|
1243
1249
|
}
|
|
1244
|
-
var
|
|
1245
|
-
return t != null && typeof t["fantasy-land/empty"] == "function" ? t["fantasy-land/empty"]() : t != null && t.constructor != null && typeof t.constructor["fantasy-land/empty"] == "function" ? t.constructor["fantasy-land/empty"]() : t != null && typeof t.empty == "function" ? t.empty() : t != null && t.constructor != null && typeof t.constructor.empty == "function" ? t.constructor.empty() : t == Set || t instanceof Set ? /* @__PURE__ */ new Set() : t == Map || t instanceof Map ? /* @__PURE__ */ new Map() :
|
|
1250
|
+
var Jo = /* @__PURE__ */ B(function(t) {
|
|
1251
|
+
return t != null && typeof t["fantasy-land/empty"] == "function" ? t["fantasy-land/empty"]() : t != null && t.constructor != null && typeof t.constructor["fantasy-land/empty"] == "function" ? t.constructor["fantasy-land/empty"]() : t != null && typeof t.empty == "function" ? t.empty() : t != null && t.constructor != null && typeof t.constructor.empty == "function" ? t.constructor.empty() : t == Set || t instanceof Set ? /* @__PURE__ */ new Set() : t == Map || t instanceof Map ? /* @__PURE__ */ new Map() : it(t) ? [] : $t(t) ? "" : Eo(t) ? {} : wr(t) ? /* @__PURE__ */ function() {
|
|
1246
1252
|
return arguments;
|
|
1247
|
-
}() :
|
|
1248
|
-
}),
|
|
1249
|
-
return t != null &&
|
|
1253
|
+
}() : Wo(t) ? t.constructor.from("") : void 0;
|
|
1254
|
+
}), ht = /* @__PURE__ */ B(function(t) {
|
|
1255
|
+
return t != null && Co(t, Jo(t));
|
|
1250
1256
|
});
|
|
1251
|
-
function
|
|
1257
|
+
function Xo(e, t) {
|
|
1252
1258
|
for (var r = t, a = 0; a < e.length; a += 1) {
|
|
1253
1259
|
if (r == null)
|
|
1254
1260
|
return;
|
|
1255
1261
|
var o = e[a];
|
|
1256
|
-
|
|
1262
|
+
xr(o) ? r = nt(o, r) : r = r[o];
|
|
1257
1263
|
}
|
|
1258
1264
|
return r;
|
|
1259
1265
|
}
|
|
1260
|
-
var
|
|
1266
|
+
var qt = /* @__PURE__ */ _r(wo, 0), Sr = /* @__PURE__ */ F(function(t, r) {
|
|
1261
1267
|
for (var a = {}, o = {}, i = 0, s = t.length; i < s; )
|
|
1262
1268
|
o[t[i]] = 1, i += 1;
|
|
1263
1269
|
for (var l in r)
|
|
1264
1270
|
o.hasOwnProperty(l) || (a[l] = r[l]);
|
|
1265
1271
|
return a;
|
|
1266
|
-
}),
|
|
1272
|
+
}), $r = /* @__PURE__ */ F(Xo), Ct = /* @__PURE__ */ F(function(t, r) {
|
|
1267
1273
|
for (var a = {}, o = 0; o < t.length; )
|
|
1268
1274
|
t[o] in r && (a[t[o]] = r[t[o]]), o += 1;
|
|
1269
1275
|
return a;
|
|
1270
|
-
}),
|
|
1276
|
+
}), Ir = /* @__PURE__ */ F(function(t, r) {
|
|
1271
1277
|
return Array.prototype.slice.call(r, 0).sort(t);
|
|
1272
|
-
}),
|
|
1278
|
+
}), Xe = /* @__PURE__ */ F(function(t, r) {
|
|
1273
1279
|
return Array.prototype.slice.call(r, 0).sort(function(a, o) {
|
|
1274
1280
|
var i = t(a), s = t(o);
|
|
1275
1281
|
return i < s ? -1 : i > s ? 1 : 0;
|
|
1276
1282
|
});
|
|
1277
1283
|
});
|
|
1278
|
-
const
|
|
1284
|
+
const Ht = 20, Qo = {
|
|
1279
1285
|
__name: "DataProvider",
|
|
1280
1286
|
props: {
|
|
1281
1287
|
locale: {
|
|
@@ -1296,88 +1302,88 @@ const qt = 20, Jo = {
|
|
|
1296
1302
|
}
|
|
1297
1303
|
},
|
|
1298
1304
|
setup(e) {
|
|
1299
|
-
const t = e, { timezone: r, locale: a } =
|
|
1300
|
-
firstGame:
|
|
1301
|
-
lastGame:
|
|
1302
|
-
}), u =
|
|
1303
|
-
min:
|
|
1304
|
-
max:
|
|
1305
|
+
const t = e, { timezone: r, locale: a } = Mr(t), { onError: o } = De(), i = fr("history"), s = K(i.panel || Ne), l = K(null), d = K(0), g = X({
|
|
1306
|
+
firstGame: q,
|
|
1307
|
+
lastGame: q
|
|
1308
|
+
}), u = X({
|
|
1309
|
+
min: J(q, "YYYY-MM-DD"),
|
|
1310
|
+
max: J(q, "YYYY-MM-DD")
|
|
1305
1311
|
}), {
|
|
1306
|
-
state:
|
|
1312
|
+
state: v,
|
|
1307
1313
|
isLoading: y,
|
|
1308
|
-
execute:
|
|
1309
|
-
} =
|
|
1314
|
+
execute: b
|
|
1315
|
+
} = Z({
|
|
1310
1316
|
options: {
|
|
1311
1317
|
path: "/v2/calendar",
|
|
1312
1318
|
apiKey: t.apiKey,
|
|
1313
|
-
params:
|
|
1319
|
+
params: N(() => ({
|
|
1314
1320
|
seasonId: t.seasonId,
|
|
1315
1321
|
firstDate: u.value.min,
|
|
1316
1322
|
lastDate: u.value.max
|
|
1317
1323
|
})),
|
|
1318
1324
|
resetOnExecute: !0
|
|
1319
1325
|
},
|
|
1320
|
-
transform: (
|
|
1326
|
+
transform: (h) => Ka(h, g),
|
|
1321
1327
|
onError: o
|
|
1322
|
-
}),
|
|
1323
|
-
() =>
|
|
1324
|
-
),
|
|
1325
|
-
() =>
|
|
1326
|
-
...
|
|
1328
|
+
}), _ = N(
|
|
1329
|
+
() => Pe(v.value).schedule(r.value, a.value).more(0, d.value * Ht + Ht).groupByDays().value()
|
|
1330
|
+
), f = N(
|
|
1331
|
+
() => Ha(
|
|
1332
|
+
...Fa.get(s.value)(g.value.firstGame, g.value.lastGame),
|
|
1327
1333
|
s.value === ze,
|
|
1328
1334
|
a.value
|
|
1329
1335
|
)
|
|
1330
1336
|
);
|
|
1331
|
-
|
|
1337
|
+
re(
|
|
1332
1338
|
s,
|
|
1333
|
-
async (
|
|
1334
|
-
const { min:
|
|
1335
|
-
u.value = { min:
|
|
1339
|
+
async (h) => {
|
|
1340
|
+
const { min: S, max: I, id: A } = Ue.get(h)(i.month);
|
|
1341
|
+
u.value = { min: J(S, "YYYY-MM-DD"), max: J(I, "YYYY-MM-DD") }, l.value = A, await b(), i.month || x();
|
|
1336
1342
|
},
|
|
1337
1343
|
{
|
|
1338
1344
|
immediate: !0
|
|
1339
1345
|
}
|
|
1340
1346
|
);
|
|
1341
|
-
function
|
|
1342
|
-
s.value =
|
|
1347
|
+
function $(h) {
|
|
1348
|
+
s.value = h, i.panel = h, d.value = 0, i.month = null;
|
|
1343
1349
|
}
|
|
1344
|
-
function
|
|
1345
|
-
const { min:
|
|
1346
|
-
l.value =
|
|
1347
|
-
min:
|
|
1348
|
-
max:
|
|
1349
|
-
}, d.value = 0,
|
|
1350
|
+
function z(h) {
|
|
1351
|
+
const { min: S, max: I, id: A } = Ue.get(s.value)(h.id);
|
|
1352
|
+
l.value = A, i.month = A, u.value = {
|
|
1353
|
+
min: J(S, "YYYY-MM-DD"),
|
|
1354
|
+
max: J(I, "YYYY-MM-DD")
|
|
1355
|
+
}, d.value = 0, b();
|
|
1350
1356
|
}
|
|
1351
|
-
function
|
|
1357
|
+
function C() {
|
|
1352
1358
|
d.value += 1;
|
|
1353
1359
|
}
|
|
1354
1360
|
function x() {
|
|
1355
1361
|
if (![ze, Te].includes(s.value))
|
|
1356
1362
|
return;
|
|
1357
|
-
const { firstGame:
|
|
1358
|
-
if (
|
|
1359
|
-
const { min:
|
|
1360
|
-
return u.value = { min:
|
|
1363
|
+
const { firstGame: h, lastGame: S } = g.value;
|
|
1364
|
+
if (ta(q, h)) {
|
|
1365
|
+
const { min: I, max: A, id: ee } = Ue.get(s.value)(H(f.value)?.id);
|
|
1366
|
+
return u.value = { min: J(I, "YYYY-MM-DD"), max: J(A, "YYYY-MM-DD") }, l.value = ee, b();
|
|
1361
1367
|
}
|
|
1362
|
-
if (
|
|
1363
|
-
const { min:
|
|
1364
|
-
u.value = { min:
|
|
1368
|
+
if (gr(q, S)) {
|
|
1369
|
+
const { min: I, max: A, id: ee } = Ue.get(s.value)(Ho(f.value)?.id);
|
|
1370
|
+
u.value = { min: J(I, "YYYY-MM-DD"), max: J(A, "YYYY-MM-DD") }, l.value = ee, b();
|
|
1365
1371
|
}
|
|
1366
1372
|
}
|
|
1367
|
-
return (
|
|
1368
|
-
today: n(
|
|
1369
|
-
months:
|
|
1373
|
+
return (h, S) => xe(h.$slots, "default", Ee(Ae({
|
|
1374
|
+
today: n(q),
|
|
1375
|
+
months: f.value,
|
|
1370
1376
|
isLoading: n(y),
|
|
1371
1377
|
datesFilter: u.value,
|
|
1372
1378
|
selectedMonth: l.value,
|
|
1373
1379
|
selectedPanel: s.value,
|
|
1374
|
-
games:
|
|
1375
|
-
more:
|
|
1376
|
-
setMonth:
|
|
1377
|
-
changePanel:
|
|
1380
|
+
games: _.value,
|
|
1381
|
+
more: C,
|
|
1382
|
+
setMonth: z,
|
|
1383
|
+
changePanel: $
|
|
1378
1384
|
})));
|
|
1379
1385
|
}
|
|
1380
|
-
},
|
|
1386
|
+
}, Zo = {
|
|
1381
1387
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1382
1388
|
viewBox: "0 0 24 24",
|
|
1383
1389
|
fill: "none",
|
|
@@ -1386,8 +1392,8 @@ const qt = 20, Jo = {
|
|
|
1386
1392
|
"stroke-linecap": "round",
|
|
1387
1393
|
"stroke-linejoin": "round"
|
|
1388
1394
|
};
|
|
1389
|
-
function
|
|
1390
|
-
return m(), w("svg",
|
|
1395
|
+
function ei(e, t) {
|
|
1396
|
+
return m(), w("svg", Zo, [...t[0] || (t[0] = [
|
|
1391
1397
|
c("rect", {
|
|
1392
1398
|
x: "2",
|
|
1393
1399
|
y: "3",
|
|
@@ -1408,9 +1414,9 @@ function Qo(e, t) {
|
|
|
1408
1414
|
x2: "12",
|
|
1409
1415
|
y2: "21"
|
|
1410
1416
|
}, null, -1)
|
|
1411
|
-
]));
|
|
1417
|
+
])]);
|
|
1412
1418
|
}
|
|
1413
|
-
const
|
|
1419
|
+
const ti = { render: ei }, ri = {
|
|
1414
1420
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1415
1421
|
viewBox: "0 0 24 24",
|
|
1416
1422
|
fill: "none",
|
|
@@ -1419,28 +1425,28 @@ const Zo = { render: Qo }, ei = {
|
|
|
1419
1425
|
"stroke-linecap": "round",
|
|
1420
1426
|
"stroke-linejoin": "round"
|
|
1421
1427
|
};
|
|
1422
|
-
function
|
|
1423
|
-
return m(), w("svg",
|
|
1428
|
+
function ai(e, t) {
|
|
1429
|
+
return m(), w("svg", ri, [...t[0] || (t[0] = [
|
|
1424
1430
|
c("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),
|
|
1425
1431
|
c("polygon", { points: "9.75 15.02 15.5 11.75 9.75 8.48 9.75 15.02" }, null, -1)
|
|
1426
|
-
]));
|
|
1432
|
+
])]);
|
|
1427
1433
|
}
|
|
1428
|
-
const
|
|
1434
|
+
const oi = { render: ai }, ii = { class: "is-info is-text-sm" }, ni = ["href"], si = ["href"], li = { class: "is-info is-text-sm" }, ci = { class: "is-home-team is-text-base" }, di = { class: "is-team-name-short" }, gi = { class: "is-team-name-long" }, ui = {
|
|
1429
1435
|
key: 0,
|
|
1430
1436
|
class: "is-text-xl is-text-bold"
|
|
1431
|
-
},
|
|
1437
|
+
}, mi = ["href", "target"], pi = {
|
|
1432
1438
|
key: 0,
|
|
1433
1439
|
class: "is-text-xl is-text-bold"
|
|
1434
|
-
},
|
|
1440
|
+
}, vi = {
|
|
1435
1441
|
key: 1,
|
|
1436
1442
|
class: "is-text-xl is-text-bold"
|
|
1437
|
-
},
|
|
1443
|
+
}, bi = {
|
|
1438
1444
|
key: 2,
|
|
1439
1445
|
class: "is-text-xl is-text-bold"
|
|
1440
|
-
},
|
|
1446
|
+
}, hi = {
|
|
1441
1447
|
key: 1,
|
|
1442
1448
|
class: "is-text-sm is-info is-whitespace-nowrap"
|
|
1443
|
-
},
|
|
1449
|
+
}, fi = { class: "is-away-team is-text-base" }, yi = { key: 0 }, wi = { class: "is-team-name-short" }, xi = { class: "is-team-name-long" }, _i = {
|
|
1444
1450
|
__name: "Item",
|
|
1445
1451
|
props: {
|
|
1446
1452
|
game: {
|
|
@@ -1457,7 +1463,7 @@ const ri = { render: ti }, ai = { class: "is-info is-text-sm" }, oi = ["href"],
|
|
|
1457
1463
|
},
|
|
1458
1464
|
gameLink: {
|
|
1459
1465
|
type: Function,
|
|
1460
|
-
default:
|
|
1466
|
+
default: W
|
|
1461
1467
|
},
|
|
1462
1468
|
target: {
|
|
1463
1469
|
type: String,
|
|
@@ -1469,30 +1475,30 @@ const ri = { render: ti }, ai = { class: "is-info is-text-sm" }, oi = ["href"],
|
|
|
1469
1475
|
return (r, a) => (m(), w("div", {
|
|
1470
1476
|
class: G(["card-item", { "is-optional": e.game.optional }])
|
|
1471
1477
|
}, [
|
|
1472
|
-
c("div",
|
|
1478
|
+
c("div", ii, [
|
|
1473
1479
|
c("a", {
|
|
1474
1480
|
href: e.gameLink(e.game)
|
|
1475
|
-
}, p(e.game.gameName), 9,
|
|
1476
|
-
|
|
1481
|
+
}, p(e.game.gameName), 9, ni),
|
|
1482
|
+
Q(" - " + p(e.game.championshipName) + " - " + p(e.game.divisionName) + " - " + p(e.game.location.locationName) + " ", 1),
|
|
1477
1483
|
e.game.broadcast ? (m(), w(O, { key: 0 }, [
|
|
1478
|
-
a[0] || (a[0] =
|
|
1479
|
-
|
|
1480
|
-
a[1] || (a[1] =
|
|
1481
|
-
], 64)) :
|
|
1484
|
+
a[0] || (a[0] = Q(" - ", -1)),
|
|
1485
|
+
k(n(ti), { height: "16" }),
|
|
1486
|
+
a[1] || (a[1] = Q(" ", -1))
|
|
1487
|
+
], 64)) : L("", !0),
|
|
1482
1488
|
e.game.video ? (m(), w(O, { key: 1 }, [
|
|
1483
|
-
a[2] || (a[2] =
|
|
1489
|
+
a[2] || (a[2] = Q(" - ", -1)),
|
|
1484
1490
|
c("a", {
|
|
1485
1491
|
href: e.game.video,
|
|
1486
1492
|
target: "_blank"
|
|
1487
1493
|
}, [
|
|
1488
|
-
|
|
1489
|
-
], 8,
|
|
1490
|
-
], 64)) :
|
|
1494
|
+
k(n(oi), { height: "18" })
|
|
1495
|
+
], 8, si)
|
|
1496
|
+
], 64)) : L("", !0)
|
|
1491
1497
|
]),
|
|
1492
|
-
c("div",
|
|
1493
|
-
c("div",
|
|
1494
|
-
c("span",
|
|
1495
|
-
c("span",
|
|
1498
|
+
c("div", li, p(n(J)(e.game.gameDate, "L LT", null, e.locale)) + " (" + p(n(et)(e.game.gameDate, e.timezone, e.locale)) + ") ", 1),
|
|
1499
|
+
c("div", ci, [
|
|
1500
|
+
c("span", di, p(e.game.homeTeam.shortName), 1),
|
|
1501
|
+
c("span", gi, p(e.game.homeTeam.longName), 1),
|
|
1496
1502
|
(m(), P(n(ge), {
|
|
1497
1503
|
key: e.game.homeTeam.id,
|
|
1498
1504
|
class: "is-logo-image",
|
|
@@ -1502,41 +1508,41 @@ const ri = { render: ti }, ai = { class: "is-info is-text-sm" }, oi = ["href"],
|
|
|
1502
1508
|
c("div", {
|
|
1503
1509
|
class: G(["is-game-data", [{ "is-live": e.game.gameStatus === 1 }]])
|
|
1504
1510
|
}, [
|
|
1505
|
-
e.game.gameStatus === 0 ? (m(), w("span",
|
|
1511
|
+
e.game.gameStatus === 0 ? (m(), w("span", ui, " - : - ")) : L("", !0),
|
|
1506
1512
|
c("a", {
|
|
1507
1513
|
href: e.gameLink(e.game),
|
|
1508
1514
|
target: e.target
|
|
1509
1515
|
}, [
|
|
1510
|
-
e.game.gameStatus > 0 && e.game.gameStatus < 3 ? (m(), w("span",
|
|
1511
|
-
e.game.gameStatus === 3 ? (m(), w("span",
|
|
1512
|
-
e.game.gameStatus === 4 ? (m(), w("span",
|
|
1513
|
-
], 8,
|
|
1514
|
-
e.game.gameStatus > 0 ? (m(), w("div",
|
|
1516
|
+
e.game.gameStatus > 0 && e.game.gameStatus < 3 ? (m(), w("span", pi, p(e.game.homeTeamScore) + " : " + p(e.game.awayTeamScore), 1)) : L("", !0),
|
|
1517
|
+
e.game.gameStatus === 3 ? (m(), w("span", vi, p(n(t)("game.status.jury")), 1)) : L("", !0),
|
|
1518
|
+
e.game.gameStatus === 4 ? (m(), w("span", bi, p(n(t)("game.status.delayed")), 1)) : L("", !0)
|
|
1519
|
+
], 8, mi),
|
|
1520
|
+
e.game.gameStatus > 0 ? (m(), w("div", hi, p(e.game.periodResults), 1)) : L("", !0)
|
|
1515
1521
|
], 2),
|
|
1516
|
-
c("div",
|
|
1517
|
-
Array.isArray(e.game.awayTeam) ? (m(), w("span",
|
|
1522
|
+
c("div", fi, [
|
|
1523
|
+
Array.isArray(e.game.awayTeam) ? (m(), w("span", yi, "Torna")) : L("", !0),
|
|
1518
1524
|
(m(), P(n(ge), {
|
|
1519
1525
|
key: e.game.awayTeam.id,
|
|
1520
1526
|
class: "is-logo-image",
|
|
1521
1527
|
src: e.game.awayTeam.logo
|
|
1522
1528
|
}, null, 8, ["src"])),
|
|
1523
|
-
c("span",
|
|
1524
|
-
c("span",
|
|
1529
|
+
c("span", wi, p(e.game.awayTeam.shortName), 1),
|
|
1530
|
+
c("span", xi, p(e.game.awayTeam.longName), 1)
|
|
1525
1531
|
])
|
|
1526
1532
|
], 2));
|
|
1527
1533
|
}
|
|
1528
|
-
}, fe = "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: .625rem;--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-link-color: var(--vbr-widget-secondary-color-700);--vbr-widget-hover-color: var(--vbr-widget-secondary-color-900);--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-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-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-loading-indicator-text-color: var(--vbr-widget-hover-color);--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;--vbr-widget-standings-selector-section-title-bg: var(--vbr-widget-primary-color-50);--vbr-widget-standings-selector-section-title-size: var(--vbr-widget-typography-font-size-400);--vbr-widget-standings-selector-section-title-color: var(--vbr-widget-primary-color-700);--vbr-widget-standings-selector-section-title-padding: .25em 0;--vbr-widget-standings-selector-section-logo-size: 30px;--vbr-widget-standings-selector-section-team-color: var(--vbr-widget-primary-color-900);--vbr-widget-top-list-bg-color: var(--vbr-widget-primary-color-900);--vbr-widget-top-list-title-color: var(--vbr-widget-primary-color-50);--vbr-widget-top-list-title-separator-color: var(--vbr-widget-primary-color-700);--vbr-widget-top-list-value-color: var(--vbr-widget-primary-color-300);--vbr-widget-top-list-player-separator-color: var(--vbr-widget-primary-color-800);--vbr-widget-top-list-image-border-color: var(--vbr-widget-primary-color-600);--vbr-widget-top-list-image-bg-color: var(--vbr-widget-primary-color-800);--vbr-widget-top-list-selector-border-color: var(--vbr-widget-primary-color-400);--vbr-widget-countdown-title-height: 2rem;--vbr-widget-countdown-title-bg: var(--vbr-widget-primary-color-900);--vbr-widget-countdown-gamedata-height: 4rem;--vbr-widget-countdown-gamedata-bg: var(--vbr-widget-primary-color-700);--vbr-widget-countdown-result-bg: var(--vbr-widget-primary-color-800);--vbr-widget-playoffs-header-bg: var(--vbr-widget-primary-color-800);--vbr-widget-playoffs-header-color: var(--vbr-widget-primary-color-100);--vbr-widget-playoffs-header-size: var(--vbr-widget-typography-font-size-500);--vbr-widget-playoffs-details-bg: var(--vbr-widget-primary-color-50);--ease-spring-1: 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 )}html,body{-webkit-font-smoothing:antialiased}.transition-fade-enter-active,.transition-fade-leave-active{transition:all .7s var(--ease-spring-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)}.loading-indicator{padding:1em;font-weight:600;color:var(--vbr-widget-loading-indicator-text-color);text-align:center}.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;gap:15px;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 button{text-decoration:underline}.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}", nt = ".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}", je = `.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;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)}`, xi = ".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}", ye = (e, t) => {
|
|
1534
|
+
}, fe = "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: .625rem;--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-link-color: var(--vbr-widget-secondary-color-700);--vbr-widget-hover-color: var(--vbr-widget-secondary-color-900);--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-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-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-loading-indicator-text-color: var(--vbr-widget-hover-color);--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;--vbr-widget-standings-selector-section-title-bg: var(--vbr-widget-primary-color-50);--vbr-widget-standings-selector-section-title-size: var(--vbr-widget-typography-font-size-400);--vbr-widget-standings-selector-section-title-color: var(--vbr-widget-primary-color-700);--vbr-widget-standings-selector-section-title-padding: .25em 0;--vbr-widget-standings-selector-section-logo-size: 30px;--vbr-widget-standings-selector-section-team-color: var(--vbr-widget-primary-color-900);--vbr-widget-top-list-bg-color: var(--vbr-widget-primary-color-900);--vbr-widget-top-list-title-color: var(--vbr-widget-primary-color-50);--vbr-widget-top-list-title-separator-color: var(--vbr-widget-primary-color-700);--vbr-widget-top-list-value-color: var(--vbr-widget-primary-color-300);--vbr-widget-top-list-player-separator-color: var(--vbr-widget-primary-color-800);--vbr-widget-top-list-image-border-color: var(--vbr-widget-primary-color-600);--vbr-widget-top-list-image-bg-color: var(--vbr-widget-primary-color-800);--vbr-widget-top-list-selector-border-color: var(--vbr-widget-primary-color-400);--vbr-widget-countdown-title-height: 2rem;--vbr-widget-countdown-title-bg: var(--vbr-widget-primary-color-900);--vbr-widget-countdown-gamedata-height: 4rem;--vbr-widget-countdown-gamedata-bg: var(--vbr-widget-primary-color-700);--vbr-widget-countdown-result-bg: var(--vbr-widget-primary-color-800);--vbr-widget-playoffs-header-bg: var(--vbr-widget-primary-color-800);--vbr-widget-playoffs-header-color: var(--vbr-widget-primary-color-100);--vbr-widget-playoffs-header-size: var(--vbr-widget-typography-font-size-500);--vbr-widget-playoffs-details-bg: var(--vbr-widget-primary-color-50);--ease-spring-1: 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 )}html,body{-webkit-font-smoothing:antialiased}.transition-fade-enter-active,.transition-fade-leave-active{transition:all .7s var(--ease-spring-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)}.loading-indicator{padding:1em;font-weight:600;color:var(--vbr-widget-loading-indicator-text-color);text-align:center}.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;gap:15px;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 button{text-decoration:underline}.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}", st = ".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}", je = `.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;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)}`, ki = ".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}", ye = (e, t) => {
|
|
1529
1535
|
const r = e.__vccOpts || e;
|
|
1530
1536
|
for (const [a, o] of t)
|
|
1531
1537
|
r[a] = o;
|
|
1532
1538
|
return r;
|
|
1533
|
-
},
|
|
1539
|
+
}, zi = {
|
|
1534
1540
|
id: "top",
|
|
1535
1541
|
class: "flex overflow-x-auto is-mb-5"
|
|
1536
|
-
},
|
|
1542
|
+
}, Si = ["onClick"], $i = ["onClick"], Ii = ["onClick"], Ci = ["onClick"], Ni = { class: "toggle-group" }, Ti = ["disabled", "onClick"], Ei = {
|
|
1537
1543
|
key: 0,
|
|
1538
1544
|
class: "is-text-center"
|
|
1539
|
-
},
|
|
1545
|
+
}, Ai = ["data-gamedate"], Li = { class: "is-text-base" }, Pi = { class: "is-card" }, Di = ["onClick"], Mi = {
|
|
1540
1546
|
__name: "Calendar.ce",
|
|
1541
1547
|
props: {
|
|
1542
1548
|
locale: {
|
|
@@ -1551,94 +1557,94 @@ const ri = { render: ti }, ai = { class: "is-info is-text-sm" }, oi = ["href"],
|
|
|
1551
1557
|
type: String,
|
|
1552
1558
|
default: ""
|
|
1553
1559
|
},
|
|
1554
|
-
...
|
|
1560
|
+
...sr
|
|
1555
1561
|
},
|
|
1556
1562
|
setup(e) {
|
|
1557
|
-
const t = e, r = { en: be, hu: he }, a =
|
|
1563
|
+
const t = e, r = { en: be, hu: he }, a = K(tt()), o = N(() => t.isGameTargetExternal ? "_blank" : "_self"), i = (s) => rt(t.externalGameResolver || "/game/id/{id}", s);
|
|
1558
1564
|
return (s, l) => (m(), P(n(ve), {
|
|
1559
1565
|
locale: t.locale,
|
|
1560
1566
|
messages: r
|
|
1561
1567
|
}, {
|
|
1562
1568
|
default: E(({ t: d }) => [
|
|
1563
|
-
|
|
1569
|
+
k(n(Le), null, {
|
|
1564
1570
|
default: E(({ error: g, hasError: u }) => [
|
|
1565
1571
|
u ? (m(), P(n($e), {
|
|
1566
1572
|
key: 0,
|
|
1567
1573
|
error: g
|
|
1568
|
-
}, null, 8, ["error"])) :
|
|
1569
|
-
|
|
1574
|
+
}, null, 8, ["error"])) : L("", !0),
|
|
1575
|
+
k(Qo, {
|
|
1570
1576
|
locale: t.locale,
|
|
1571
1577
|
timezone: a.value,
|
|
1572
1578
|
"season-id": e.seasonId,
|
|
1573
1579
|
"api-key": e.apiKey
|
|
1574
1580
|
}, {
|
|
1575
1581
|
default: E(({
|
|
1576
|
-
games:
|
|
1582
|
+
games: v,
|
|
1577
1583
|
months: y,
|
|
1578
|
-
isLoading:
|
|
1579
|
-
selectedPanel:
|
|
1580
|
-
selectedMonth:
|
|
1581
|
-
more:
|
|
1582
|
-
setMonth:
|
|
1583
|
-
changePanel:
|
|
1584
|
+
isLoading: b,
|
|
1585
|
+
selectedPanel: _,
|
|
1586
|
+
selectedMonth: f,
|
|
1587
|
+
more: $,
|
|
1588
|
+
setMonth: z,
|
|
1589
|
+
changePanel: C
|
|
1584
1590
|
}) => [
|
|
1585
|
-
c("div",
|
|
1591
|
+
c("div", zi, [
|
|
1586
1592
|
c("button", {
|
|
1587
|
-
class: G(["tab-button", { "is-active":
|
|
1588
|
-
onClick: (x) =>
|
|
1589
|
-
}, p(d("calendar.gamesPlayed")), 11,
|
|
1593
|
+
class: G(["tab-button", { "is-active": _ === n(ze) }]),
|
|
1594
|
+
onClick: (x) => C(n(ze))
|
|
1595
|
+
}, p(d("calendar.gamesPlayed")), 11, Si),
|
|
1590
1596
|
c("button", {
|
|
1591
|
-
class: G(["tab-button", { "is-active":
|
|
1592
|
-
onClick: (x) =>
|
|
1593
|
-
}, p(d("calendar.todaysGames")), 11,
|
|
1597
|
+
class: G(["tab-button", { "is-active": _ === n(Ne) }]),
|
|
1598
|
+
onClick: (x) => C(n(Ne))
|
|
1599
|
+
}, p(d("calendar.todaysGames")), 11, $i),
|
|
1594
1600
|
c("button", {
|
|
1595
|
-
class: G(["tab-button", { "is-active":
|
|
1596
|
-
onClick: (x) =>
|
|
1597
|
-
}, p(d("calendar.nextGames")), 11,
|
|
1601
|
+
class: G(["tab-button", { "is-active": _ === n(Te) }]),
|
|
1602
|
+
onClick: (x) => C(n(Te))
|
|
1603
|
+
}, p(d("calendar.nextGames")), 11, Ii),
|
|
1598
1604
|
c("button", {
|
|
1599
|
-
class: G(["tab-button", { "is-active":
|
|
1600
|
-
onClick: (x) =>
|
|
1601
|
-
}, p(d("calendar.weekGames")), 11,
|
|
1605
|
+
class: G(["tab-button", { "is-active": _ === n(Ve) }]),
|
|
1606
|
+
onClick: (x) => C(n(Ve))
|
|
1607
|
+
}, p(d("calendar.weekGames")), 11, Ci)
|
|
1602
1608
|
]),
|
|
1603
|
-
c("div",
|
|
1604
|
-
(m(!0), w(O, null,
|
|
1609
|
+
c("div", Ni, [
|
|
1610
|
+
(m(!0), w(O, null, V(y, (x) => (m(), w("button", {
|
|
1605
1611
|
key: x.id,
|
|
1606
1612
|
type: "button",
|
|
1607
|
-
class: G({ "is-active":
|
|
1608
|
-
disabled:
|
|
1609
|
-
onClick: (
|
|
1610
|
-
}, p(x.name), 11,
|
|
1613
|
+
class: G({ "is-active": f === x.id }),
|
|
1614
|
+
disabled: b,
|
|
1615
|
+
onClick: (h) => z(x)
|
|
1616
|
+
}, p(x.name), 11, Ti))), 128))
|
|
1611
1617
|
]),
|
|
1612
|
-
|
|
1618
|
+
v.totalItems === 0 && !b ? (m(), w("div", Ei, p(d("calendar.noGame")), 1)) : L("", !0),
|
|
1613
1619
|
c("div", null, [
|
|
1614
|
-
|
|
1615
|
-
(m(!0), w(O, null,
|
|
1616
|
-
key:
|
|
1617
|
-
"data-gamedate":
|
|
1620
|
+
b ? (m(), P(n(Ze), { key: 0 })) : L("", !0),
|
|
1621
|
+
(m(!0), w(O, null, V(v.rows, (x, h) => (m(), w("div", {
|
|
1622
|
+
key: h,
|
|
1623
|
+
"data-gamedate": h
|
|
1618
1624
|
}, [
|
|
1619
|
-
c("span",
|
|
1620
|
-
c("div",
|
|
1621
|
-
(m(!0), w(O, null,
|
|
1622
|
-
key:
|
|
1623
|
-
game:
|
|
1625
|
+
c("span", Li, p(n(J)(new Date(h), "LL dddd", a.value, e.locale)), 1),
|
|
1626
|
+
c("div", Pi, [
|
|
1627
|
+
(m(!0), w(O, null, V(x, (S) => (m(), P(_i, {
|
|
1628
|
+
key: S.id,
|
|
1629
|
+
game: S,
|
|
1624
1630
|
locale: e.locale,
|
|
1625
1631
|
timezone: a.value,
|
|
1626
1632
|
"game-link": i,
|
|
1627
1633
|
target: o.value
|
|
1628
1634
|
}, null, 8, ["game", "locale", "timezone", "target"]))), 128))
|
|
1629
1635
|
])
|
|
1630
|
-
], 8,
|
|
1636
|
+
], 8, Ai))), 128))
|
|
1631
1637
|
]),
|
|
1632
|
-
!
|
|
1638
|
+
!b && v.currentItems < v.totalItems ? (m(), P(n(Qr), {
|
|
1633
1639
|
key: 1,
|
|
1634
1640
|
options: { rootMargin: "400px" },
|
|
1635
|
-
onIntersect:
|
|
1641
|
+
onIntersect: $
|
|
1636
1642
|
}, {
|
|
1637
1643
|
default: E(() => [
|
|
1638
|
-
c("button", { onClick:
|
|
1644
|
+
c("button", { onClick: $ }, p(d("calendar.more")), 9, Di)
|
|
1639
1645
|
]),
|
|
1640
1646
|
_: 2
|
|
1641
|
-
}, 1032, ["onIntersect"])) :
|
|
1647
|
+
}, 1032, ["onIntersect"])) : L("", !0)
|
|
1642
1648
|
]),
|
|
1643
1649
|
_: 2
|
|
1644
1650
|
}, 1032, ["locale", "timezone", "season-id", "api-key"])
|
|
@@ -1649,30 +1655,30 @@ const ri = { render: ti }, ai = { class: "is-info is-text-sm" }, oi = ["href"],
|
|
|
1649
1655
|
_: 1
|
|
1650
1656
|
}, 8, ["locale"]));
|
|
1651
1657
|
}
|
|
1652
|
-
},
|
|
1653
|
-
function
|
|
1654
|
-
t.championships =
|
|
1655
|
-
const a =
|
|
1658
|
+
}, ji = /* @__PURE__ */ ye(Mi, [["styles", [fe, st, je, ki]]]), Ie = "schedule", gt = "standings", _e = "players", Be = "teams";
|
|
1659
|
+
function Oi(e, t, r = null) {
|
|
1660
|
+
t.championships = Xe(le("sectionId"))(e), t.selectedChampionshipId = t.championships?.[0]?.sectionId;
|
|
1661
|
+
const a = Xe(le("phaseId"))(e?.[0]?.phases ?? []), o = a.findIndex((i) => i.phaseId === Number(r));
|
|
1656
1662
|
t.phaseId = o > -1 ? Number(r) : a[0]?.phaseId;
|
|
1657
1663
|
}
|
|
1658
|
-
const
|
|
1664
|
+
const Ri = (/* @__PURE__ */ new Map()).set("schedule", {
|
|
1659
1665
|
api: "/v2/games-list",
|
|
1660
|
-
columns: () =>
|
|
1666
|
+
columns: () => vr,
|
|
1661
1667
|
sort: {}
|
|
1662
1668
|
}).set("standings", {
|
|
1663
1669
|
api: "/v2/standings",
|
|
1664
|
-
columns: (e) => e ?
|
|
1670
|
+
columns: (e) => e ? ha : fa,
|
|
1665
1671
|
sort: {}
|
|
1666
1672
|
}).set("points", {
|
|
1667
1673
|
api: "/v2/players-stats",
|
|
1668
|
-
columns: () =>
|
|
1674
|
+
columns: () => Ge,
|
|
1669
1675
|
sort: {
|
|
1670
1676
|
sortTarget: "points",
|
|
1671
1677
|
orders: [{ target: "points", direction: te }]
|
|
1672
1678
|
}
|
|
1673
1679
|
}).set("goals", {
|
|
1674
1680
|
api: "/v2/players-stats",
|
|
1675
|
-
columns: () =>
|
|
1681
|
+
columns: () => Ge,
|
|
1676
1682
|
sort: {
|
|
1677
1683
|
sortTarget: "goals",
|
|
1678
1684
|
orders: [
|
|
@@ -1682,7 +1688,7 @@ const ji = (/* @__PURE__ */ new Map()).set("schedule", {
|
|
|
1682
1688
|
}
|
|
1683
1689
|
}).set("assists", {
|
|
1684
1690
|
api: "/v2/players-stats",
|
|
1685
|
-
columns: () =>
|
|
1691
|
+
columns: () => Ge,
|
|
1686
1692
|
sort: {
|
|
1687
1693
|
sortTarget: "assists",
|
|
1688
1694
|
orders: [
|
|
@@ -1692,14 +1698,14 @@ const ji = (/* @__PURE__ */ new Map()).set("schedule", {
|
|
|
1692
1698
|
}
|
|
1693
1699
|
}).set("plusminus", {
|
|
1694
1700
|
api: "/v2/players-stats",
|
|
1695
|
-
columns: () =>
|
|
1701
|
+
columns: () => Ge,
|
|
1696
1702
|
sort: {
|
|
1697
1703
|
sortTarget: "plusMinus",
|
|
1698
1704
|
orders: [{ target: "plusMinus", direction: te }]
|
|
1699
1705
|
}
|
|
1700
1706
|
}).set("playerspenalties", {
|
|
1701
1707
|
api: "/v2/players-penalty",
|
|
1702
|
-
columns: () =>
|
|
1708
|
+
columns: () => ya,
|
|
1703
1709
|
sort: {
|
|
1704
1710
|
sortTarget: "pim",
|
|
1705
1711
|
orders: [{ target: "pim", direction: te }]
|
|
@@ -1707,7 +1713,7 @@ const ji = (/* @__PURE__ */ new Map()).set("schedule", {
|
|
|
1707
1713
|
}).set("goalies", {
|
|
1708
1714
|
api: "/v2/players-goalie",
|
|
1709
1715
|
params: { more: !0 },
|
|
1710
|
-
columns: () =>
|
|
1716
|
+
columns: () => Lt,
|
|
1711
1717
|
sort: {
|
|
1712
1718
|
sortTarget: "svsPercent",
|
|
1713
1719
|
orders: [{ target: "svsPercent", direction: te }]
|
|
@@ -1715,41 +1721,41 @@ const ji = (/* @__PURE__ */ new Map()).set("schedule", {
|
|
|
1715
1721
|
}).set("goaliesunderlimit", {
|
|
1716
1722
|
api: "/v2/players-goalie",
|
|
1717
1723
|
params: { less: !0 },
|
|
1718
|
-
columns: () =>
|
|
1724
|
+
columns: () => Lt,
|
|
1719
1725
|
sort: {
|
|
1720
1726
|
sortTarget: "svsPercent",
|
|
1721
1727
|
orders: [{ target: "svsPercent", direction: te }]
|
|
1722
1728
|
}
|
|
1723
1729
|
}).set("teamFairplay", {
|
|
1724
1730
|
api: "/v2/team-fairplay",
|
|
1725
|
-
columns: () =>
|
|
1731
|
+
columns: () => wa,
|
|
1726
1732
|
sort: {
|
|
1727
1733
|
sortTarget: "pim",
|
|
1728
1734
|
orders: [{ target: "pim", direction: te }]
|
|
1729
1735
|
}
|
|
1730
1736
|
}).set("teamPenaltiKilling", {
|
|
1731
1737
|
api: "/v2/team-powerplay",
|
|
1732
|
-
columns: () =>
|
|
1738
|
+
columns: () => xa,
|
|
1733
1739
|
sort: {
|
|
1734
1740
|
sortTarget: "pkPercent",
|
|
1735
1741
|
orders: [{ target: "pkPercent", direction: te }]
|
|
1736
1742
|
}
|
|
1737
1743
|
}).set("teamPowerplay", {
|
|
1738
1744
|
api: "/v2/team-powerplay",
|
|
1739
|
-
columns: () =>
|
|
1745
|
+
columns: () => _a,
|
|
1740
1746
|
sort: {
|
|
1741
1747
|
sortTarget: "ppPercent",
|
|
1742
1748
|
orders: [{ target: "ppPercent", direction: te }]
|
|
1743
1749
|
}
|
|
1744
1750
|
}).set("teamScoringEfficiency", {
|
|
1745
1751
|
api: "/v2/team-scoring-efficiency",
|
|
1746
|
-
columns: () =>
|
|
1752
|
+
columns: () => ka,
|
|
1747
1753
|
sort: {
|
|
1748
1754
|
sortTarget: "sp",
|
|
1749
1755
|
orders: [{ target: "sp", direction: te }]
|
|
1750
1756
|
}
|
|
1751
1757
|
});
|
|
1752
|
-
function
|
|
1758
|
+
function Wt(e) {
|
|
1753
1759
|
return [
|
|
1754
1760
|
{
|
|
1755
1761
|
name: e("report.points"),
|
|
@@ -1781,7 +1787,7 @@ function Ht(e) {
|
|
|
1781
1787
|
}
|
|
1782
1788
|
];
|
|
1783
1789
|
}
|
|
1784
|
-
function
|
|
1790
|
+
function Jt(e) {
|
|
1785
1791
|
return [
|
|
1786
1792
|
// {
|
|
1787
1793
|
// name: t('report.teamAttendance'),
|
|
@@ -1805,15 +1811,15 @@ function Wt(e) {
|
|
|
1805
1811
|
}
|
|
1806
1812
|
];
|
|
1807
1813
|
}
|
|
1808
|
-
function
|
|
1814
|
+
function Gi(e, t) {
|
|
1809
1815
|
if (e.length === 0)
|
|
1810
|
-
throw new
|
|
1811
|
-
t.seasons =
|
|
1816
|
+
throw new ur(Fe.message, Fe.options);
|
|
1817
|
+
t.seasons = Ui(e), t.championshipId || (t.championshipId = H(t.seasons).championshipId);
|
|
1812
1818
|
}
|
|
1813
|
-
function
|
|
1814
|
-
return
|
|
1819
|
+
function Ui(e) {
|
|
1820
|
+
return It(Ir(zr(le("seasonName"))), St(Ct(["championshipId", "seasonName"])))(e);
|
|
1815
1821
|
}
|
|
1816
|
-
const
|
|
1822
|
+
const Yi = {
|
|
1817
1823
|
__name: "DataProvider",
|
|
1818
1824
|
props: {
|
|
1819
1825
|
championshipName: {
|
|
@@ -1850,7 +1856,7 @@ const Gi = {
|
|
|
1850
1856
|
}
|
|
1851
1857
|
},
|
|
1852
1858
|
setup(e) {
|
|
1853
|
-
const t = e, r =
|
|
1859
|
+
const t = e, r = fr("history"), a = de({
|
|
1854
1860
|
loading: !1,
|
|
1855
1861
|
seasons: [],
|
|
1856
1862
|
championshipId: Number(r.championshipId) || 0,
|
|
@@ -1862,100 +1868,100 @@ const Gi = {
|
|
|
1862
1868
|
selectedPanel: Ie,
|
|
1863
1869
|
api: "/v2/games-list",
|
|
1864
1870
|
apiParams: {},
|
|
1865
|
-
columns:
|
|
1871
|
+
columns: vr,
|
|
1866
1872
|
sort: null,
|
|
1867
1873
|
report: "points"
|
|
1868
|
-
}), o =
|
|
1874
|
+
}), o = rr(t, "timezone"), { onError: i } = De(), { sort: s, change: l } = ga({
|
|
1869
1875
|
sortTarget: "",
|
|
1870
1876
|
orders: []
|
|
1871
|
-
}), { page: d, change: g } =
|
|
1877
|
+
}), { page: d, change: g } = pr(), { t: u } = ce(), { isLoading: v, execute: y } = Z({
|
|
1872
1878
|
options: {
|
|
1873
1879
|
path: "/v2/championship-seasons",
|
|
1874
1880
|
apiKey: t.apiKey,
|
|
1875
1881
|
params: { championshipName: t.championshipName }
|
|
1876
1882
|
},
|
|
1877
|
-
transform: (D) =>
|
|
1883
|
+
transform: (D) => Gi(D, a),
|
|
1878
1884
|
onError: i
|
|
1879
|
-
}), { isLoading:
|
|
1885
|
+
}), { isLoading: b, execute: _ } = Z({
|
|
1880
1886
|
options: {
|
|
1881
1887
|
path: "/v2/championship-sections",
|
|
1882
1888
|
apiKey: t.apiKey,
|
|
1883
|
-
params:
|
|
1889
|
+
params: N(() => ({ championshipId: a.championshipId }))
|
|
1884
1890
|
},
|
|
1885
|
-
transform: (D) =>
|
|
1891
|
+
transform: (D) => Oi(D, a, t.initialPhaseId),
|
|
1886
1892
|
onError: i
|
|
1887
1893
|
}), {
|
|
1888
|
-
isLoading:
|
|
1889
|
-
state:
|
|
1890
|
-
execute:
|
|
1891
|
-
} =
|
|
1894
|
+
isLoading: f,
|
|
1895
|
+
state: $,
|
|
1896
|
+
execute: z
|
|
1897
|
+
} = Z({
|
|
1892
1898
|
options: {
|
|
1893
|
-
path:
|
|
1899
|
+
path: N(() => a.api),
|
|
1894
1900
|
apiKey: t.apiKey,
|
|
1895
1901
|
resetOnExecute: !0,
|
|
1896
|
-
params:
|
|
1902
|
+
params: N(() => ({ championshipId: a.championshipId, phaseId: a.phaseId, ...a.apiParams }))
|
|
1897
1903
|
},
|
|
1898
|
-
transform: (D) =>
|
|
1904
|
+
transform: (D) => mr(D),
|
|
1899
1905
|
onError: i
|
|
1900
|
-
}),
|
|
1901
|
-
Se([y,
|
|
1902
|
-
const x =
|
|
1903
|
-
() => a.selectedPanel === _e ?
|
|
1904
|
-
),
|
|
1906
|
+
}), C = ua([b, v, f], { delay: 1e3 });
|
|
1907
|
+
Se([y, _, z]);
|
|
1908
|
+
const x = N(
|
|
1909
|
+
() => a.selectedPanel === _e ? Wt(u) : Jt(u)
|
|
1910
|
+
), h = N(() => {
|
|
1905
1911
|
const D = a.championships.find((M) => M.sectionId === a.selectedChampionshipId);
|
|
1906
|
-
return
|
|
1907
|
-
}),
|
|
1908
|
-
() =>
|
|
1909
|
-
|
|
1910
|
-
ra,
|
|
1911
|
-
aa,
|
|
1912
|
+
return ra(Xe(le("phaseId"))(D?.phases ?? []));
|
|
1913
|
+
}), S = N(() => a.selectedPanel === Ie ? 0 : t.limit), I = N(
|
|
1914
|
+
() => aa(
|
|
1915
|
+
$.value,
|
|
1912
1916
|
oa,
|
|
1913
|
-
ia
|
|
1914
|
-
na
|
|
1917
|
+
ia,
|
|
1918
|
+
na,
|
|
1919
|
+
sa(["mip"]),
|
|
1920
|
+
la(["dvgTime", "dvgTimePP1", "dvgTimePP2", "advTime", "advTimePP1", "advTimePP2"])
|
|
1915
1921
|
)
|
|
1916
|
-
),
|
|
1917
|
-
function
|
|
1918
|
-
a.championshipId = D, r.championshipId = D, Se([
|
|
1922
|
+
), A = N(() => Pe(n(I)).sorted(s).addContinuousIndex().schedule(n(o), n(t.locale)).pagination(n(d), S.value).value());
|
|
1923
|
+
function ee(D) {
|
|
1924
|
+
a.championshipId = D, r.championshipId = D, Se([_, z]);
|
|
1919
1925
|
}
|
|
1920
|
-
function
|
|
1921
|
-
a.selectedChampionshipId = D, a.phaseId =
|
|
1926
|
+
function T(D) {
|
|
1927
|
+
a.selectedChampionshipId = D, a.phaseId = h.value[0]?.phaseId ?? null, z();
|
|
1922
1928
|
}
|
|
1923
|
-
function
|
|
1924
|
-
a.phaseId = D,
|
|
1929
|
+
function Y(D) {
|
|
1930
|
+
a.phaseId = D, z();
|
|
1925
1931
|
}
|
|
1926
|
-
function
|
|
1932
|
+
function U(D) {
|
|
1927
1933
|
a.selectedPanel = D;
|
|
1928
1934
|
let M = D;
|
|
1929
|
-
D === _e && (M =
|
|
1935
|
+
D === _e && (M = H(Wt(W))?.value), D === Be && (M = H(Jt(W))?.value), a.report = M, ne(M);
|
|
1930
1936
|
}
|
|
1931
|
-
function
|
|
1937
|
+
function ae(D) {
|
|
1932
1938
|
ne(D);
|
|
1933
1939
|
}
|
|
1934
1940
|
function ne(D) {
|
|
1935
|
-
const M =
|
|
1936
|
-
a.api = M.api, a.apiParams = M.params, a.columns = M.columns(t.allPeriodVisible), s.sortTarget = M.sort?.sortTarget ?? "", s.orders = M.sort?.orders ?? [],
|
|
1941
|
+
const M = Ri.get(D);
|
|
1942
|
+
a.api = M.api, a.apiParams = M.params, a.columns = M.columns(t.allPeriodVisible), s.sortTarget = M.sort?.sortTarget ?? "", s.orders = M.sort?.orders ?? [], z(), g(1);
|
|
1937
1943
|
}
|
|
1938
1944
|
return (D, M) => xe(D.$slots, "default", Ee(Ae({
|
|
1939
1945
|
...a,
|
|
1940
1946
|
sort: n(s),
|
|
1941
1947
|
page: n(d),
|
|
1942
|
-
phases:
|
|
1943
|
-
isLoading: n(
|
|
1944
|
-
games:
|
|
1948
|
+
phases: h.value,
|
|
1949
|
+
isLoading: n(C),
|
|
1950
|
+
games: A.value,
|
|
1945
1951
|
reports: x.value,
|
|
1946
1952
|
onSort: n(l),
|
|
1947
|
-
changePanel:
|
|
1948
|
-
changePhase:
|
|
1949
|
-
changeSeason:
|
|
1950
|
-
onChangeReport:
|
|
1953
|
+
changePanel: U,
|
|
1954
|
+
changePhase: Y,
|
|
1955
|
+
changeSeason: ee,
|
|
1956
|
+
onChangeReport: ae,
|
|
1951
1957
|
onPaginatorChange: n(g),
|
|
1952
|
-
changeChampionship:
|
|
1958
|
+
changeChampionship: T
|
|
1953
1959
|
})));
|
|
1954
1960
|
}
|
|
1955
|
-
},
|
|
1961
|
+
}, Bi = { class: "g-row" }, Ki = {
|
|
1956
1962
|
for: "season",
|
|
1957
1963
|
class: "label"
|
|
1958
|
-
},
|
|
1964
|
+
}, Fi = ["value"], Vi = {
|
|
1959
1965
|
__name: "SeasonSelector",
|
|
1960
1966
|
props: {
|
|
1961
1967
|
seasons: {
|
|
@@ -1969,39 +1975,39 @@ const Gi = {
|
|
|
1969
1975
|
},
|
|
1970
1976
|
emits: ["update:championshipId"],
|
|
1971
1977
|
setup(e, { emit: t }) {
|
|
1972
|
-
const r = e, a = t, { t: o } = ce(), { championshipId: i } =
|
|
1973
|
-
return (s, l) => (m(), w("div",
|
|
1978
|
+
const r = e, a = t, { t: o } = ce(), { championshipId: i } = _t(r, a);
|
|
1979
|
+
return (s, l) => (m(), w("div", Bi, [
|
|
1974
1980
|
c("div", null, [
|
|
1975
|
-
c("label",
|
|
1976
|
-
|
|
1981
|
+
c("label", Ki, p(n(o)("selection.season")), 1),
|
|
1982
|
+
k(n(ke), {
|
|
1977
1983
|
id: "season",
|
|
1978
1984
|
modelValue: n(i),
|
|
1979
1985
|
"onUpdate:modelValue": l[0] || (l[0] = (d) => me(i) ? i.value = d : null)
|
|
1980
1986
|
}, {
|
|
1981
1987
|
default: E(() => [
|
|
1982
|
-
(m(!0), w(O, null,
|
|
1988
|
+
(m(!0), w(O, null, V(e.seasons, (d) => (m(), w("option", {
|
|
1983
1989
|
key: d.championshipId,
|
|
1984
1990
|
value: d.championshipId
|
|
1985
|
-
}, p(d.seasonName), 9,
|
|
1991
|
+
}, p(d.seasonName), 9, Fi))), 128))
|
|
1986
1992
|
]),
|
|
1987
1993
|
_: 1
|
|
1988
1994
|
}, 8, ["modelValue"])
|
|
1989
1995
|
])
|
|
1990
1996
|
]));
|
|
1991
1997
|
}
|
|
1992
|
-
},
|
|
1998
|
+
}, qi = {
|
|
1993
1999
|
class: "g-row",
|
|
1994
2000
|
style: { "column-gap": "8px" }
|
|
1995
|
-
},
|
|
2001
|
+
}, Hi = {
|
|
1996
2002
|
for: "phases",
|
|
1997
2003
|
class: "label"
|
|
1998
|
-
},
|
|
2004
|
+
}, Wi = {
|
|
1999
2005
|
key: 0,
|
|
2000
2006
|
value: null
|
|
2001
|
-
},
|
|
2007
|
+
}, Ji = ["value"], Xi = { key: 0 }, Qi = {
|
|
2002
2008
|
for: "report",
|
|
2003
2009
|
class: "label"
|
|
2004
|
-
},
|
|
2010
|
+
}, Zi = ["value"], en = {
|
|
2005
2011
|
__name: "Selector",
|
|
2006
2012
|
props: {
|
|
2007
2013
|
phases: {
|
|
@@ -2027,45 +2033,45 @@ const Gi = {
|
|
|
2027
2033
|
},
|
|
2028
2034
|
emits: ["update:phaseId", "update:report"],
|
|
2029
2035
|
setup(e, { emit: t }) {
|
|
2030
|
-
const r = e, a = t, { t: o } = ce(), { phaseId: i, report: s } =
|
|
2031
|
-
return (l, d) => (m(), w("div",
|
|
2036
|
+
const r = e, a = t, { t: o } = ce(), { phaseId: i, report: s } = _t(r, a);
|
|
2037
|
+
return (l, d) => (m(), w("div", qi, [
|
|
2032
2038
|
c("div", null, [
|
|
2033
|
-
c("label",
|
|
2034
|
-
|
|
2039
|
+
c("label", Hi, p(n(o)("selection.phases")), 1),
|
|
2040
|
+
k(n(ke), {
|
|
2035
2041
|
id: "phases",
|
|
2036
2042
|
modelValue: n(i),
|
|
2037
2043
|
"onUpdate:modelValue": d[0] || (d[0] = (g) => me(i) ? i.value = g : null),
|
|
2038
2044
|
disabled: n(i) === null
|
|
2039
2045
|
}, {
|
|
2040
2046
|
default: E(() => [
|
|
2041
|
-
n(i) === null ? (m(), w("option",
|
|
2042
|
-
(m(!0), w(O, null,
|
|
2047
|
+
n(i) === null ? (m(), w("option", Wi, p(n(o)("selection.noPhases")), 1)) : L("", !0),
|
|
2048
|
+
(m(!0), w(O, null, V(e.phases, (g) => (m(), w("option", {
|
|
2043
2049
|
key: g.phaseId,
|
|
2044
2050
|
value: g.phaseId
|
|
2045
|
-
}, p(g.phaseName), 9,
|
|
2051
|
+
}, p(g.phaseName), 9, Ji))), 128))
|
|
2046
2052
|
]),
|
|
2047
2053
|
_: 1
|
|
2048
2054
|
}, 8, ["modelValue", "disabled"])
|
|
2049
2055
|
]),
|
|
2050
|
-
e.isReportsVisible ? (m(), w("div",
|
|
2051
|
-
c("label",
|
|
2052
|
-
|
|
2056
|
+
e.isReportsVisible ? (m(), w("div", Xi, [
|
|
2057
|
+
c("label", Qi, p(n(o)("selection.report")), 1),
|
|
2058
|
+
k(n(ke), {
|
|
2053
2059
|
id: "report",
|
|
2054
2060
|
modelValue: n(s),
|
|
2055
2061
|
"onUpdate:modelValue": d[1] || (d[1] = (g) => me(s) ? s.value = g : null)
|
|
2056
2062
|
}, {
|
|
2057
2063
|
default: E(() => [
|
|
2058
|
-
(m(!0), w(O, null,
|
|
2064
|
+
(m(!0), w(O, null, V(e.reports, ({ value: g, name: u }) => (m(), w("option", {
|
|
2059
2065
|
key: g,
|
|
2060
2066
|
value: g
|
|
2061
|
-
}, p(u), 9,
|
|
2067
|
+
}, p(u), 9, Zi))), 128))
|
|
2062
2068
|
]),
|
|
2063
2069
|
_: 1
|
|
2064
2070
|
}, 8, ["modelValue"])
|
|
2065
|
-
])) :
|
|
2071
|
+
])) : L("", !0)
|
|
2066
2072
|
]));
|
|
2067
2073
|
}
|
|
2068
|
-
}, Sr = ".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)}}", $r = ".table-responsive{container-name:table-wrapper;container-type:inline-size;width:100%;overflow-x:auto}.table-responsive table{width:100%}", Ir = '.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-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)}', Cr = ".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}", Zi = ".is-card{container-name:card-row;container-type:inline-size;background-color:#fff;padding:15px;margin-bottom:20px;box-shadow:0 2px 4px #0000001a,0 2px 2px #0000001a}.is-card>div{border-bottom:1px solid var(--vbr-widget-primary-color-100)}.is-card>div:last-of-type{border:none}.is-sticky{position:sticky;top:var(--vbr-widget-sticky-top-offset);z-index:10}.is-blured-bg{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.card-item{display:grid;grid-gap:1rem;grid-template-columns:2fr 1fr 2fr;padding:2rem 0;border-bottom:1px solid var(--vbr-widget-primary-color-100)}.card-item.is-optional{opacity:.4;transition:opacity .3s ease-out}.card-item.is-optional:hover{opacity:1}.card-item svg{display:block}.card-item .is-team-name-short{display:none}@container card-row (max-width: 640px){.card-item .is-team-name-long{display:none}.card-item .is-team-name-short{display:block}}.card-item .is-info{grid-column:1/4;display:flex;justify-content:center;align-items:center;color:var(--vbr-widget-primary-color-500)}.card-item .is-home-team{display:flex;gap:8px;align-items:center;justify-content:flex-end;font-weight:700}.card-item .is-away-team{display:flex;gap:8px;align-items:center;justify-content:flex-start;font-weight:700}.card-item .is-logo-image{width:40px}.card-item .is-game-data{display:flex;flex-direction:column;align-items:center;justify-content:center}.card-item .is-game-data a{display:flex;flex-direction:column;align-items:center;color:var(--vbr-widget-primary-color-900)}.card-item .is-game-data a:hover{color:var(--vbr-widget-primary-color-600)}.card-item .is-game-data.is-live,.card-item .is-game-data.is-live a{color:var(--vbr-widget-live-game-color)}.section-selector{margin:20px 0;border-bottom:1px solid var(--vbr-widget-primary-color-200)}.main-image-wrapper{--overlay-size: 160px;--overlay-radius: 50%;display:grid;grid-template-columns:1fr var(--overlay-size) 1fr;grid-template-rows:1fr 1fr 1fr calc(var(--overlay-size) / 2) calc(var(--overlay-size) / 2);margin-left:var(--vbr-widget-main-image-wrapper-horizontal-margin);margin-right:var(--vbr-widget-main-image-wrapper-horizontal-margin)}.main-image-wrapper:has(img.is-default){min-height:470px}.main-image-wrapper .is-main-image{grid-column:1/4;grid-row:1/5;display:flex;justify-content:center;align-items:center;background-color:var(--vbr-widget-primary-color-50);box-shadow:0 2px 4px #0003}.main-image-wrapper .is-main-image .is-default{filter:grayscale(1);opacity:.3;mix-blend-mode:multiply}.main-image-wrapper .is-main-image img:not(.is-default){width:100%}.main-image-wrapper .is-ovarlay-image{grid-row:4/-1;grid-column:2;justify-self:center;overflow:hidden;border-radius:var(--overlay-radius);z-index:1}.main-image-wrapper .is-ovarlay-image img{width:100%;aspect-ratio:1}", en = ".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}", tn = { class: "section-selector" }, rn = ["onClick"], an = { class: "section-selector" }, on = ["onClick"], nn = ["onClick"], sn = ["onClick"], ln = ["onClick"], cn = {
|
|
2074
|
+
}, Cr = ".g-row{display:flex}.g-row-wrap{display:flex;flex-wrap:wrap}.g-col{flex:1 0 0%}.g-gap-normal{gap:16px}[class^=g-col-]{flex:0 0 auto}.g-col-6{width:50%}.g-col-5{width:41.66666667%}.g-col-3{width:25%}.g-col-auto{width:auto}.g-gap-normal{gap:20px}.g-grid{--columns: repeat(2, 1fr);--columns-tablet: repeat(4, 1fr);display:grid;grid-template-columns:var(--columns)}@media all and (min-width: 768px){.g-grid{grid-template-columns:var(--columns-tablet)}}", Nr = ".table-responsive{container-name:table-wrapper;container-type:inline-size;width:100%;overflow-x:auto}.table-responsive table{width:100%}", Tr = '.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-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)}', Er = ".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}", tn = ".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}", rn = ".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}", an = { class: "section-selector" }, on = ["onClick"], nn = { class: "section-selector" }, sn = ["onClick"], ln = ["onClick"], cn = ["onClick"], dn = ["onClick"], gn = {
|
|
2069
2075
|
__name: "Championship.ce",
|
|
2070
2076
|
props: {
|
|
2071
2077
|
locale: {
|
|
@@ -2102,20 +2108,20 @@ const Gi = {
|
|
|
2102
2108
|
}
|
|
2103
2109
|
},
|
|
2104
2110
|
setup(e) {
|
|
2105
|
-
const t = e, r =
|
|
2111
|
+
const t = e, r = K(null), a = K(tt()), o = N(() => et(/* @__PURE__ */ new Date(), n(a), t.locale)), i = { en: be, hu: he }, s = (d) => rt(t.externalGameResolver, d), l = (d) => ca(t.externalTeamResolver, d);
|
|
2106
2112
|
return (d, g) => (m(), w("div", null, [
|
|
2107
|
-
|
|
2113
|
+
k(n(ve), {
|
|
2108
2114
|
locale: t.locale,
|
|
2109
2115
|
messages: i
|
|
2110
2116
|
}, {
|
|
2111
2117
|
default: E(({ t: u }) => [
|
|
2112
|
-
|
|
2113
|
-
default: E(({ error:
|
|
2118
|
+
k(n(Le), null, {
|
|
2119
|
+
default: E(({ error: v, hasError: y }) => [
|
|
2114
2120
|
y ? (m(), P(n($e), {
|
|
2115
2121
|
key: 0,
|
|
2116
|
-
error:
|
|
2117
|
-
}, null, 8, ["error"])) :
|
|
2118
|
-
|
|
2122
|
+
error: v
|
|
2123
|
+
}, null, 8, ["error"])) : L("", !0),
|
|
2124
|
+
k(Yi, {
|
|
2119
2125
|
locale: e.locale,
|
|
2120
2126
|
timezone: a.value,
|
|
2121
2127
|
"championship-name": e.championshipName,
|
|
@@ -2124,97 +2130,97 @@ const Gi = {
|
|
|
2124
2130
|
"all-period-visible": e.totalPeriodPlayedVisible
|
|
2125
2131
|
}, {
|
|
2126
2132
|
default: E(({
|
|
2127
|
-
sort:
|
|
2128
|
-
page:
|
|
2129
|
-
games:
|
|
2130
|
-
phases:
|
|
2131
|
-
report:
|
|
2132
|
-
phaseId:
|
|
2133
|
+
sort: b,
|
|
2134
|
+
page: _,
|
|
2135
|
+
games: f,
|
|
2136
|
+
phases: $,
|
|
2137
|
+
report: z,
|
|
2138
|
+
phaseId: C,
|
|
2133
2139
|
columns: x,
|
|
2134
|
-
seasons:
|
|
2135
|
-
reports:
|
|
2136
|
-
isLoading:
|
|
2137
|
-
selectedPanel:
|
|
2138
|
-
championships:
|
|
2139
|
-
championshipId:
|
|
2140
|
-
selectedChampionshipId:
|
|
2141
|
-
onSort:
|
|
2142
|
-
changePanel:
|
|
2140
|
+
seasons: h,
|
|
2141
|
+
reports: S,
|
|
2142
|
+
isLoading: I,
|
|
2143
|
+
selectedPanel: A,
|
|
2144
|
+
championships: ee,
|
|
2145
|
+
championshipId: T,
|
|
2146
|
+
selectedChampionshipId: Y,
|
|
2147
|
+
onSort: U,
|
|
2148
|
+
changePanel: ae,
|
|
2143
2149
|
changePhase: ne,
|
|
2144
2150
|
changeSeason: D,
|
|
2145
2151
|
onChangeReport: M,
|
|
2146
2152
|
onPaginatorChange: se,
|
|
2147
2153
|
changeChampionship: Oe
|
|
2148
2154
|
}) => [
|
|
2149
|
-
|
|
2150
|
-
seasons:
|
|
2151
|
-
"championship-id":
|
|
2155
|
+
k(Vi, {
|
|
2156
|
+
seasons: h,
|
|
2157
|
+
"championship-id": T,
|
|
2152
2158
|
"onUpdate:championshipId": D
|
|
2153
2159
|
}, null, 8, ["seasons", "championship-id", "onUpdate:championshipId"]),
|
|
2154
|
-
c("div",
|
|
2155
|
-
(m(!0), w(O, null,
|
|
2160
|
+
c("div", an, [
|
|
2161
|
+
(m(!0), w(O, null, V(ee, (ie) => (m(), w("button", {
|
|
2156
2162
|
key: ie.phaseId,
|
|
2157
|
-
class: G(["tab-button", { "is-active": ie.sectionId ===
|
|
2163
|
+
class: G(["tab-button", { "is-active": ie.sectionId === Y }]),
|
|
2158
2164
|
onClick: (ue) => Oe(ie.sectionId)
|
|
2159
|
-
}, p(ie.sectionName), 11,
|
|
2165
|
+
}, p(ie.sectionName), 11, on))), 128))
|
|
2160
2166
|
]),
|
|
2161
|
-
|
|
2162
|
-
phases:
|
|
2163
|
-
"phase-id":
|
|
2164
|
-
reports:
|
|
2165
|
-
report:
|
|
2166
|
-
"is-reports-visible":
|
|
2167
|
+
k(en, {
|
|
2168
|
+
phases: $,
|
|
2169
|
+
"phase-id": C,
|
|
2170
|
+
reports: S,
|
|
2171
|
+
report: z,
|
|
2172
|
+
"is-reports-visible": A === n(_e) || A === n(Be),
|
|
2167
2173
|
"onUpdate:phaseId": ne,
|
|
2168
2174
|
"onUpdate:report": M
|
|
2169
2175
|
}, null, 8, ["phases", "phase-id", "reports", "report", "is-reports-visible", "onUpdate:phaseId", "onUpdate:report"]),
|
|
2170
|
-
c("div",
|
|
2176
|
+
c("div", nn, [
|
|
2171
2177
|
c("button", {
|
|
2172
|
-
class: G(["tab-button", { "is-active":
|
|
2173
|
-
onClick: (ie) =>
|
|
2174
|
-
}, p(u("selection.schedule")), 11,
|
|
2178
|
+
class: G(["tab-button", { "is-active": A === n(Ie) }]),
|
|
2179
|
+
onClick: (ie) => ae(n(Ie))
|
|
2180
|
+
}, p(u("selection.schedule")), 11, sn),
|
|
2175
2181
|
c("button", {
|
|
2176
|
-
class: G(["tab-button", { "is-active":
|
|
2177
|
-
onClick: (ie) =>
|
|
2178
|
-
}, p(u("selection.standings")), 11,
|
|
2182
|
+
class: G(["tab-button", { "is-active": A === n(gt) }]),
|
|
2183
|
+
onClick: (ie) => ae(n(gt))
|
|
2184
|
+
}, p(u("selection.standings")), 11, ln),
|
|
2179
2185
|
c("button", {
|
|
2180
|
-
class: G(["tab-button", { "is-active":
|
|
2181
|
-
onClick: (ie) =>
|
|
2182
|
-
}, p(u("selection.playerStats")), 11,
|
|
2186
|
+
class: G(["tab-button", { "is-active": A === n(_e) }]),
|
|
2187
|
+
onClick: (ie) => ae(n(_e))
|
|
2188
|
+
}, p(u("selection.playerStats")), 11, cn),
|
|
2183
2189
|
c("button", {
|
|
2184
|
-
class: G(["tab-button", { "is-active":
|
|
2185
|
-
onClick: (ie) =>
|
|
2186
|
-
}, p(u("selection.teamStats")), 11,
|
|
2190
|
+
class: G(["tab-button", { "is-active": A === n(Be) }]),
|
|
2191
|
+
onClick: (ie) => ae(n(Be))
|
|
2192
|
+
}, p(u("selection.teamStats")), 11, dn)
|
|
2187
2193
|
]),
|
|
2188
|
-
|
|
2194
|
+
k(n(lr), {
|
|
2189
2195
|
columns: x,
|
|
2190
|
-
rows:
|
|
2191
|
-
sort:
|
|
2192
|
-
"is-loading":
|
|
2196
|
+
rows: f.rows,
|
|
2197
|
+
sort: b,
|
|
2198
|
+
"is-loading": I,
|
|
2193
2199
|
"offset-name": o.value,
|
|
2194
2200
|
"external-team-resolver": l,
|
|
2195
2201
|
"external-game-resolver": s,
|
|
2196
2202
|
"append-to": r.value,
|
|
2197
|
-
"hide-columns":
|
|
2198
|
-
onSort:
|
|
2203
|
+
"hide-columns": A === n(Ie) ? "broadcast" : "",
|
|
2204
|
+
onSort: U
|
|
2199
2205
|
}, null, 8, ["columns", "rows", "sort", "is-loading", "offset-name", "append-to", "hide-columns", "onSort"]),
|
|
2200
|
-
|
|
2206
|
+
A === n(_e) ? (m(), P(n(cr), {
|
|
2201
2207
|
key: 0,
|
|
2202
|
-
page:
|
|
2208
|
+
page: _,
|
|
2203
2209
|
"items-per-page": t.limit,
|
|
2204
|
-
"total-items":
|
|
2210
|
+
"total-items": f.totalItems,
|
|
2205
2211
|
"range-length": 5,
|
|
2206
2212
|
onChange: se
|
|
2207
|
-
}, null, 8, ["page", "items-per-page", "total-items", "onChange"])) :
|
|
2208
|
-
|
|
2209
|
-
|
|
2210
|
-
rows:
|
|
2213
|
+
}, null, 8, ["page", "items-per-page", "total-items", "onChange"])) : L("", !0),
|
|
2214
|
+
A === n(gt) ? (m(), w(O, { key: 1 }, [
|
|
2215
|
+
k(n(Ke), {
|
|
2216
|
+
rows: f.rows,
|
|
2211
2217
|
"additional-key": "inheritedPoints"
|
|
2212
2218
|
}, null, 8, ["rows"]),
|
|
2213
|
-
|
|
2214
|
-
rows:
|
|
2219
|
+
k(n(Ke), {
|
|
2220
|
+
rows: f.rows,
|
|
2215
2221
|
"additional-key": "penaltyPoints"
|
|
2216
2222
|
}, null, 8, ["rows"])
|
|
2217
|
-
], 64)) :
|
|
2223
|
+
], 64)) : L("", !0)
|
|
2218
2224
|
]),
|
|
2219
2225
|
_: 2
|
|
2220
2226
|
}, 1032, ["locale", "timezone", "championship-name", "limit", "initial-phase-id", "all-period-visible"]),
|
|
@@ -2230,23 +2236,23 @@ const Gi = {
|
|
|
2230
2236
|
}, 8, ["locale"])
|
|
2231
2237
|
]));
|
|
2232
2238
|
}
|
|
2233
|
-
},
|
|
2234
|
-
function
|
|
2235
|
-
const r =
|
|
2239
|
+
}, un = /* @__PURE__ */ ye(gn, [["styles", [fe, st, je, Cr, Nr, Tr, Er, tn, rn]]]);
|
|
2240
|
+
function mn(e, t = W) {
|
|
2241
|
+
const r = K({
|
|
2236
2242
|
days: "00",
|
|
2237
2243
|
hours: "00",
|
|
2238
2244
|
minutes: "00",
|
|
2239
2245
|
seconds: "00"
|
|
2240
|
-
}), a =
|
|
2246
|
+
}), a = X(!1), o = X(null), { pause: i, resume: s } = He(() => {
|
|
2241
2247
|
const l = (/* @__PURE__ */ new Date()).getTime();
|
|
2242
2248
|
let d = o.value - l;
|
|
2243
|
-
d <= 0 && (i(), d = 0, a.value = !0, t()), r.value =
|
|
2249
|
+
d <= 0 && (i(), d = 0, a.value = !0, t()), r.value = pn(d);
|
|
2244
2250
|
}, 1e3, { immediate: !1, immediateCallback: !0 });
|
|
2245
|
-
return
|
|
2251
|
+
return re(() => R(e), (l) => {
|
|
2246
2252
|
o.value = new Date(l).getTime(), s();
|
|
2247
2253
|
}, { immediate: !1 }), { date: r, finished: a };
|
|
2248
2254
|
}
|
|
2249
|
-
function
|
|
2255
|
+
function pn(e) {
|
|
2250
2256
|
return {
|
|
2251
2257
|
days: Math.floor(e / (1e3 * 60 * 60 * 24)).toString().padStart(2, "0").split(""),
|
|
2252
2258
|
hours: Math.floor(e % (1e3 * 60 * 60 * 24) / (1e3 * 60 * 60)).toString().padStart(2, "0").split(""),
|
|
@@ -2254,7 +2260,7 @@ function un(e) {
|
|
|
2254
2260
|
seconds: Math.floor(e % (1e3 * 60) / 1e3).toString().padStart(2, "0").split("")
|
|
2255
2261
|
};
|
|
2256
2262
|
}
|
|
2257
|
-
const
|
|
2263
|
+
const vn = ["data-number"], oe = {
|
|
2258
2264
|
__name: "Number",
|
|
2259
2265
|
props: {
|
|
2260
2266
|
number: [Number, String],
|
|
@@ -2268,7 +2274,7 @@ const mn = ["data-number"], ae = {
|
|
|
2268
2274
|
class: "is-number",
|
|
2269
2275
|
"data-number": e.number
|
|
2270
2276
|
}, [
|
|
2271
|
-
|
|
2277
|
+
k(ar, {
|
|
2272
2278
|
name: `slide-${e.direction}`
|
|
2273
2279
|
}, {
|
|
2274
2280
|
default: E(() => [
|
|
@@ -2276,9 +2282,9 @@ const mn = ["data-number"], ae = {
|
|
|
2276
2282
|
]),
|
|
2277
2283
|
_: 1
|
|
2278
2284
|
}, 8, ["name"])
|
|
2279
|
-
], 8,
|
|
2285
|
+
], 8, vn));
|
|
2280
2286
|
}
|
|
2281
|
-
},
|
|
2287
|
+
}, bn = '.game-countdown{display:grid;grid-template-rows:var(--vbr-widget-countdown-title-height) 1fr var(--vbr-widget-countdown-gamedata-height);box-shadow:0 2px 4px #0003}.game-countdown .game-countdown-title{text-align:center;font-size:var(--vbr-widget-typography-font-size-300);font-weight:700;line-height:var(--vbr-widget-countdown-title-height);color:var(--vbr-widget-primary-color-200);background-color:var(--vbr-widget-countdown-title-bg)}.game-countdown .game-countdown-container{display:grid;grid-template-areas:"stack";place-items:center;background-color:var(--vbr-widget-countdown-result-bg)}.game-countdown .game-countdown-container>div{visibility:hidden}.game-countdown .game-countdown-container>div.is-visible{visibility:visible}.game-countdown .game-countdown-result{grid-area:stack;display:grid;grid-template-columns:1fr auto 1fr;grid-template-areas:"period period period" "home-score separator away-score" "period-results period-results period-results";gap:0 .5rem;align-items:center;color:var(--vbr-widget-primary-color-300);font-weight:700}.game-countdown .game-countdown-result .is-separator{grid-area:separator;font-size:3.125rem;line-height:1;font-size:clamp(2rem,10vw,5rem)}.game-countdown .game-countdown-result :is(.is-home-score,.is-away-score){display:flex}.game-countdown .game-countdown-result .is-home-score{grid-area:home-score}.game-countdown .game-countdown-result .is-away-score{grid-area:away-score}.game-countdown .game-countdown-result .is-period-results{grid-area:period-results;font-size:var(--vbr-widget-typography-font-size-300);text-align:center}.game-countdown .game-countdown-result .is-period{grid-area:period;font-size:var(--vbr-widget-typography-font-size-50);font-weight:700;text-align:center;text-transform:uppercase}.game-countdown .game-countdown-result .is-live{color:var(--vbr-widget-live-game-color)}.game-countdown .game-countdown-counter{grid-area:stack;display:flex;gap:1rem;justify-content:space-around;padding:1rem;font-size:var(--vbr-widget-typography-font-size-50);font-weight:700;text-transform:uppercase;color:var(--vbr-widget-primary-color-300)}.game-countdown .game-countdown-counter .is-number{color:var(--vbr-widget-live-game-color)}.game-countdown .game-countdown-gamedata{display:grid;grid-template-columns:40px 1fr auto 1fr 40px;grid-template-areas:"home-team-logo game-date game-date game-date away-team-logo" "home-team-logo home-team separator away-team away-team-logo";gap:0 .5rem;align-content:center;align-items:center;padding-inline:1rem;background-color:var(--vbr-widget-countdown-gamedata-bg);font-size:var(--vbr-widget-typography-font-size-500);font-weight:700;line-height:var(--vbr-widget-typography-font-lineheight-400);color:var(--vbr-widget-primary-color-50)}.game-countdown .game-countdown-gamedata .is-game-date{grid-area:game-date;text-align:center;color:var(--vbr-widget-primary-color-200);font-size:var(--vbr-widget-typography-font-size-100)}.game-countdown .game-countdown-gamedata .is-home-team-logo{grid-area:home-team-logo}.game-countdown .game-countdown-gamedata .is-away-team-logo{grid-area:away-team-logo}.game-countdown .game-countdown-gamedata :is(.is-home-team,.is-away-team){overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.game-countdown .game-countdown-gamedata .is-home-team{grid-area:home-team;text-align:end}.game-countdown .game-countdown-gamedata .is-away-team{grid-area:away-team}.game-countdown .game-countdown-gamedata .is-separator{grid-area:separator;text-align:center}.game-countdown .game-countdown-gamedata img{display:block;width:100%;aspect-ratio:1}.game-countdown .is-number{display:grid;grid-template-areas:"stack";justify-items:center;position:relative;overflow:hidden;-webkit-mask-image:linear-gradient(to bottom,transparent 0,black 16%,black 84%,transparent 100%);mask-image:linear-gradient(to bottom,transparent 0,black 16%,black 84%,transparent 100%);animation:.4s fade-in ease-out}.game-countdown .is-number>span{grid-area:stack;font-size:clamp(3.125rem,10vw,5rem);line-height:1;font-weight:700}@keyframes fade-in{0%{opacity:0}to{opacity:1}}', hn = ".slide-increase-enter-active,.slide-increase-leave-active{transition:all .8s var(--ease-spring-1)}.slide-increase-enter-from{transform:translateY(100%)}.slide-increase-enter-to,.slide-increase-leave-from{transform:translateY(0)}.slide-increase-leave-to{transform:translateY(-100%)}.slide-decrease-enter-active,.slide-decrease-leave-active{transition:all .8s var(--ease-spring-1)}.slide-decrease-enter-from{transform:translateY(-100%)}.slide-decrease-enter-to,.slide-decrease-leave-from{transform:translateY(0)}.slide-decrease-leave-to{transform:translateY(100%)}", fn = ["href", "target"], yn = { class: "game-countdown-title" }, wn = { class: "game-countdown-container" }, xn = ["textContent"], _n = ["textContent"], kn = ["textContent"], zn = { style: { display: "flex" } }, Sn = ["textContent"], $n = { style: { display: "flex" } }, In = ["textContent"], Cn = { style: { display: "flex" } }, Nn = ["textContent"], Tn = { style: { display: "flex" } }, En = { class: "game-countdown-gamedata" }, An = { class: "is-game-date" }, Ln = { class: "is-home-team" }, Pn = { class: "is-away-team" }, Dn = {
|
|
2282
2288
|
__name: "Countdown.ce",
|
|
2283
2289
|
props: {
|
|
2284
2290
|
locale: {
|
|
@@ -2294,14 +2300,14 @@ const mn = ["data-number"], ae = {
|
|
|
2294
2300
|
default: ""
|
|
2295
2301
|
},
|
|
2296
2302
|
// externalGameResolver, isGameTargetExternal
|
|
2297
|
-
...
|
|
2303
|
+
...sr
|
|
2298
2304
|
},
|
|
2299
2305
|
setup(e) {
|
|
2300
2306
|
const t = e, r = { en: be, hu: he }, {
|
|
2301
2307
|
state: a,
|
|
2302
2308
|
execute: o,
|
|
2303
2309
|
isLoading: i
|
|
2304
|
-
} =
|
|
2310
|
+
} = Z({
|
|
2305
2311
|
options: {
|
|
2306
2312
|
path: "/v2/game-data",
|
|
2307
2313
|
apiKey: t.apiKey,
|
|
@@ -2310,46 +2316,46 @@ const mn = ["data-number"], ae = {
|
|
|
2310
2316
|
},
|
|
2311
2317
|
immediate: !0
|
|
2312
2318
|
},
|
|
2313
|
-
onSuccess:
|
|
2319
|
+
onSuccess: _
|
|
2314
2320
|
// onError,
|
|
2315
|
-
}), { pause: s, resume: l } =
|
|
2321
|
+
}), { pause: s, resume: l } = He(() => {
|
|
2316
2322
|
o();
|
|
2317
|
-
}, 3e4, { immediate: !1 }), d =
|
|
2318
|
-
function
|
|
2319
|
-
|
|
2323
|
+
}, 3e4, { immediate: !1 }), d = N(() => (a.value.homeTeamScore || 0).toString().padStart(2, "0").split("")), g = N(() => (a.value.awayTeamScore || 0).toString().padStart(2, "0").split("")), { date: u, finished: v } = mn(N(() => a.value.gameDate), () => l()), y = N(() => rt(t.externalGameResolver, { gameId: t.gameId })), b = N(() => t.isGameTargetExternal ? "_blank" : "_self");
|
|
2324
|
+
function _(f) {
|
|
2325
|
+
f.gameStatus === 1 && l(), f.gameStatus > 1 && s();
|
|
2320
2326
|
}
|
|
2321
|
-
return (
|
|
2327
|
+
return (f, $) => (m(), P(n(ve), {
|
|
2322
2328
|
locale: e.locale,
|
|
2323
2329
|
messages: r
|
|
2324
2330
|
}, {
|
|
2325
|
-
default: E(({ t:
|
|
2331
|
+
default: E(({ t: z }) => [
|
|
2326
2332
|
c("a", {
|
|
2327
2333
|
href: y.value,
|
|
2328
|
-
target:
|
|
2334
|
+
target: b.value,
|
|
2329
2335
|
class: "game-countdown"
|
|
2330
2336
|
}, [
|
|
2331
|
-
c("div",
|
|
2332
|
-
n(
|
|
2333
|
-
|
|
2337
|
+
c("div", yn, [
|
|
2338
|
+
n(ht)(n(a)) ? L("", !0) : (m(), w(O, { key: 0 }, [
|
|
2339
|
+
Q(p(n(a).championshipName) + " - " + p(n(a).divisionName), 1)
|
|
2334
2340
|
], 64))
|
|
2335
2341
|
]),
|
|
2336
|
-
c("div",
|
|
2342
|
+
c("div", wn, [
|
|
2337
2343
|
c("div", {
|
|
2338
|
-
class: G(["game-countdown-result", { "is-visible": n(
|
|
2344
|
+
class: G(["game-countdown-result", { "is-visible": n(v) }])
|
|
2339
2345
|
}, [
|
|
2340
2346
|
c("div", {
|
|
2341
2347
|
class: "is-period",
|
|
2342
|
-
textContent: p(
|
|
2343
|
-
}, null, 8,
|
|
2348
|
+
textContent: p(z(n(a).period ? `game.period.${n(a).period}` : ""))
|
|
2349
|
+
}, null, 8, xn),
|
|
2344
2350
|
c("div", {
|
|
2345
2351
|
class: G(["is-home-score", { "is-live": n(a).gameStatus === 1 }]),
|
|
2346
2352
|
style: { display: "flex" }
|
|
2347
2353
|
}, [
|
|
2348
|
-
d.value[0] !== "0" ? (m(), P(
|
|
2354
|
+
d.value[0] !== "0" ? (m(), P(oe, {
|
|
2349
2355
|
key: 0,
|
|
2350
2356
|
number: d.value[0]
|
|
2351
|
-
}, null, 8, ["number"])) :
|
|
2352
|
-
|
|
2357
|
+
}, null, 8, ["number"])) : L("", !0),
|
|
2358
|
+
k(oe, {
|
|
2353
2359
|
number: d.value[1]
|
|
2354
2360
|
}, null, 8, ["number"])
|
|
2355
2361
|
], 2),
|
|
@@ -2360,32 +2366,32 @@ const mn = ["data-number"], ae = {
|
|
|
2360
2366
|
class: G(["is-away-score", { "is-live": n(a).gameStatus === 1 }]),
|
|
2361
2367
|
style: { display: "flex" }
|
|
2362
2368
|
}, [
|
|
2363
|
-
g.value[0] !== "0" ? (m(), P(
|
|
2369
|
+
g.value[0] !== "0" ? (m(), P(oe, {
|
|
2364
2370
|
key: 0,
|
|
2365
2371
|
number: g.value[0]
|
|
2366
|
-
}, null, 8, ["number"])) :
|
|
2367
|
-
|
|
2372
|
+
}, null, 8, ["number"])) : L("", !0),
|
|
2373
|
+
k(oe, {
|
|
2368
2374
|
number: g.value[1]
|
|
2369
2375
|
}, null, 8, ["number"])
|
|
2370
2376
|
], 2),
|
|
2371
2377
|
c("div", {
|
|
2372
2378
|
class: "is-period-results",
|
|
2373
2379
|
textContent: p(n(a).periodResults)
|
|
2374
|
-
}, null, 8,
|
|
2380
|
+
}, null, 8, _n)
|
|
2375
2381
|
], 2),
|
|
2376
2382
|
c("div", {
|
|
2377
|
-
class: G(["game-countdown-counter", { "is-visible": !n(
|
|
2383
|
+
class: G(["game-countdown-counter", { "is-visible": !n(v) && !n(i) }])
|
|
2378
2384
|
}, [
|
|
2379
2385
|
c("div", null, [
|
|
2380
2386
|
c("div", {
|
|
2381
|
-
textContent: p(
|
|
2382
|
-
}, null, 8,
|
|
2383
|
-
c("div",
|
|
2384
|
-
|
|
2387
|
+
textContent: p(z("countdown.days"))
|
|
2388
|
+
}, null, 8, kn),
|
|
2389
|
+
c("div", zn, [
|
|
2390
|
+
k(oe, {
|
|
2385
2391
|
number: n(u).days[0],
|
|
2386
2392
|
direction: "decrease"
|
|
2387
2393
|
}, null, 8, ["number"]),
|
|
2388
|
-
|
|
2394
|
+
k(oe, {
|
|
2389
2395
|
number: n(u).days[1],
|
|
2390
2396
|
direction: "decrease"
|
|
2391
2397
|
}, null, 8, ["number"])
|
|
@@ -2393,14 +2399,14 @@ const mn = ["data-number"], ae = {
|
|
|
2393
2399
|
]),
|
|
2394
2400
|
c("div", null, [
|
|
2395
2401
|
c("div", {
|
|
2396
|
-
textContent: p(
|
|
2397
|
-
}, null, 8,
|
|
2398
|
-
c("div",
|
|
2399
|
-
|
|
2402
|
+
textContent: p(z("countdown.hours"))
|
|
2403
|
+
}, null, 8, Sn),
|
|
2404
|
+
c("div", $n, [
|
|
2405
|
+
k(oe, {
|
|
2400
2406
|
number: n(u).hours[0],
|
|
2401
2407
|
direction: "decrease"
|
|
2402
2408
|
}, null, 8, ["number"]),
|
|
2403
|
-
|
|
2409
|
+
k(oe, {
|
|
2404
2410
|
number: n(u).hours[1],
|
|
2405
2411
|
direction: "decrease"
|
|
2406
2412
|
}, null, 8, ["number"])
|
|
@@ -2408,14 +2414,14 @@ const mn = ["data-number"], ae = {
|
|
|
2408
2414
|
]),
|
|
2409
2415
|
c("div", null, [
|
|
2410
2416
|
c("div", {
|
|
2411
|
-
textContent: p(
|
|
2412
|
-
}, null, 8,
|
|
2413
|
-
c("div",
|
|
2414
|
-
|
|
2417
|
+
textContent: p(z("countdown.minutes"))
|
|
2418
|
+
}, null, 8, In),
|
|
2419
|
+
c("div", Cn, [
|
|
2420
|
+
k(oe, {
|
|
2415
2421
|
number: n(u).minutes[0],
|
|
2416
2422
|
direction: "decrease"
|
|
2417
2423
|
}, null, 8, ["number"]),
|
|
2418
|
-
|
|
2424
|
+
k(oe, {
|
|
2419
2425
|
number: n(u).minutes[1],
|
|
2420
2426
|
direction: "decrease"
|
|
2421
2427
|
}, null, 8, ["number"])
|
|
@@ -2423,14 +2429,14 @@ const mn = ["data-number"], ae = {
|
|
|
2423
2429
|
]),
|
|
2424
2430
|
c("div", null, [
|
|
2425
2431
|
c("div", {
|
|
2426
|
-
textContent: p(
|
|
2427
|
-
}, null, 8,
|
|
2428
|
-
c("div",
|
|
2429
|
-
|
|
2432
|
+
textContent: p(z("countdown.seconds"))
|
|
2433
|
+
}, null, 8, Nn),
|
|
2434
|
+
c("div", Tn, [
|
|
2435
|
+
k(oe, {
|
|
2430
2436
|
number: n(u).seconds[0],
|
|
2431
2437
|
direction: "decrease"
|
|
2432
2438
|
}, null, 8, ["number"]),
|
|
2433
|
-
|
|
2439
|
+
k(oe, {
|
|
2434
2440
|
number: n(u).seconds[1],
|
|
2435
2441
|
direction: "decrease"
|
|
2436
2442
|
}, null, 8, ["number"])
|
|
@@ -2438,28 +2444,28 @@ const mn = ["data-number"], ae = {
|
|
|
2438
2444
|
])
|
|
2439
2445
|
], 2)
|
|
2440
2446
|
]),
|
|
2441
|
-
c("div",
|
|
2442
|
-
c("div",
|
|
2447
|
+
c("div", En, [
|
|
2448
|
+
c("div", An, p(n(J)(n(a).gameDate, "L dddd - HH:mm", null, e.locale)), 1),
|
|
2443
2449
|
n(a).homeTeam?.logo ? (m(), P(n(ge), {
|
|
2444
2450
|
key: 0,
|
|
2445
2451
|
class: "is-home-team-logo",
|
|
2446
2452
|
src: n(a).homeTeam.logo
|
|
2447
|
-
}, null, 8, ["src"])) :
|
|
2448
|
-
c("span",
|
|
2449
|
-
|
|
2450
|
-
c("span",
|
|
2453
|
+
}, null, 8, ["src"])) : L("", !0),
|
|
2454
|
+
c("span", Ln, p(n(a).homeTeam?.longName), 1),
|
|
2455
|
+
$[0] || ($[0] = c("span", { class: "is-separator" }, "-", -1)),
|
|
2456
|
+
c("span", Pn, p(n(a).awayTeam?.longName), 1),
|
|
2451
2457
|
n(a).awayTeam?.logo ? (m(), P(n(ge), {
|
|
2452
2458
|
key: 1,
|
|
2453
2459
|
class: "is-away-team-logo",
|
|
2454
2460
|
src: n(a).awayTeam.logo
|
|
2455
|
-
}, null, 8, ["src"])) :
|
|
2461
|
+
}, null, 8, ["src"])) : L("", !0)
|
|
2456
2462
|
])
|
|
2457
|
-
], 8,
|
|
2463
|
+
], 8, fn)
|
|
2458
2464
|
]),
|
|
2459
2465
|
_: 1
|
|
2460
2466
|
}, 8, ["locale"]));
|
|
2461
2467
|
}
|
|
2462
|
-
},
|
|
2468
|
+
}, Mn = /* @__PURE__ */ ye(Dn, [["styles", [fe, bn, hn]]]), jn = {
|
|
2463
2469
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2464
2470
|
viewBox: "0 0 24 24",
|
|
2465
2471
|
fill: "none",
|
|
@@ -2468,12 +2474,12 @@ const mn = ["data-number"], ae = {
|
|
|
2468
2474
|
"stroke-linecap": "round",
|
|
2469
2475
|
"stroke-linejoin": "round"
|
|
2470
2476
|
};
|
|
2471
|
-
function
|
|
2472
|
-
return m(), w("svg",
|
|
2477
|
+
function On(e, t) {
|
|
2478
|
+
return m(), w("svg", jn, [...t[0] || (t[0] = [
|
|
2473
2479
|
c("polyline", { points: "15 18 9 12 15 6" }, null, -1)
|
|
2474
|
-
]));
|
|
2480
|
+
])]);
|
|
2475
2481
|
}
|
|
2476
|
-
const
|
|
2482
|
+
const Rn = { render: On }, Gn = {
|
|
2477
2483
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2478
2484
|
viewBox: "0 0 24 24",
|
|
2479
2485
|
fill: "none",
|
|
@@ -2482,15 +2488,15 @@ const jn = { render: Mn }, On = {
|
|
|
2482
2488
|
"stroke-linecap": "round",
|
|
2483
2489
|
"stroke-linejoin": "round"
|
|
2484
2490
|
};
|
|
2485
|
-
function
|
|
2486
|
-
return m(), w("svg",
|
|
2491
|
+
function Un(e, t) {
|
|
2492
|
+
return m(), w("svg", Gn, [...t[0] || (t[0] = [
|
|
2487
2493
|
c("polyline", { points: "9 18 15 12 9 6" }, null, -1)
|
|
2488
|
-
]));
|
|
2494
|
+
])]);
|
|
2489
2495
|
}
|
|
2490
|
-
const
|
|
2491
|
-
function
|
|
2492
|
-
const { execute: t } =
|
|
2493
|
-
(r) =>
|
|
2496
|
+
const Nt = { render: Un }, Ar = Symbol("CarouselContext");
|
|
2497
|
+
function Yn({ apiKey: e }) {
|
|
2498
|
+
const { execute: t } = bo(
|
|
2499
|
+
(r) => ma("/v2/game-data", e, r).then((a) => ({ ...a, ...r })),
|
|
2494
2500
|
{},
|
|
2495
2501
|
{
|
|
2496
2502
|
immediate: !1,
|
|
@@ -2501,20 +2507,20 @@ function Gn({ apiKey: e }) {
|
|
|
2501
2507
|
execute: t
|
|
2502
2508
|
};
|
|
2503
2509
|
}
|
|
2504
|
-
function
|
|
2505
|
-
const a =
|
|
2510
|
+
function Bn(e, t, r) {
|
|
2511
|
+
const a = Kn(t, r);
|
|
2506
2512
|
return e.reduce((i, s) => (a.has(s.id) ? i.push({ ...a.get(s.id), ...s }) : i.push(s), i), []);
|
|
2507
2513
|
}
|
|
2508
|
-
function
|
|
2514
|
+
function Kn(e, t) {
|
|
2509
2515
|
const r = /* @__PURE__ */ new Map();
|
|
2510
2516
|
for (const a of e)
|
|
2511
2517
|
r.set(a[t], a);
|
|
2512
2518
|
return r;
|
|
2513
2519
|
}
|
|
2514
|
-
function
|
|
2520
|
+
function Xt(e) {
|
|
2515
2521
|
return !(e.includes("_int") || ["wu", "pre", "so", "end"].includes(e));
|
|
2516
2522
|
}
|
|
2517
|
-
const
|
|
2523
|
+
const Fn = { class: "games-timeline" }, Vn = ["disabled"], qn = { ref: "container" }, Hn = ["disabled"], Wn = {
|
|
2518
2524
|
__name: "Carousel",
|
|
2519
2525
|
props: {
|
|
2520
2526
|
initialIndex: {
|
|
@@ -2523,20 +2529,20 @@ const Kn = { class: "games-timeline" }, Bn = ["disabled"], Fn = { ref: "containe
|
|
|
2523
2529
|
}
|
|
2524
2530
|
},
|
|
2525
2531
|
setup(e) {
|
|
2526
|
-
const t = e, r =
|
|
2527
|
-
|
|
2532
|
+
const t = e, r = jr("container"), a = K(t.initialIndex), o = K([]);
|
|
2533
|
+
Or(Ar, {
|
|
2528
2534
|
register: (y) => {
|
|
2529
|
-
o.value.includes(y) || (o.value.push(y), o.value =
|
|
2535
|
+
o.value.includes(y) || (o.value.push(y), o.value = da(o.value, (b) => we(r.value).querySelector(`#${b}`)));
|
|
2530
2536
|
},
|
|
2531
2537
|
unregister: (y) => {
|
|
2532
|
-
const
|
|
2533
|
-
|
|
2538
|
+
const b = o.value.indexOf(y);
|
|
2539
|
+
b !== -1 && o.value.splice(b, 1);
|
|
2534
2540
|
}
|
|
2535
2541
|
});
|
|
2536
|
-
const { arrivedState: s } =
|
|
2542
|
+
const { arrivedState: s } = fo(r, { onStop: v }), l = N(
|
|
2537
2543
|
() => we(r).querySelector(`#${o.value[a.value]}`)
|
|
2538
2544
|
);
|
|
2539
|
-
|
|
2545
|
+
Qe(() => u()), re(
|
|
2540
2546
|
() => t.initialIndex,
|
|
2541
2547
|
(y) => {
|
|
2542
2548
|
a.value = y, Ce(() => u());
|
|
@@ -2549,23 +2555,23 @@ const Kn = { class: "games-timeline" }, Bn = ["disabled"], Fn = { ref: "containe
|
|
|
2549
2555
|
s.right || (a.value++, u({ behavior: "smooth" }));
|
|
2550
2556
|
}
|
|
2551
2557
|
function u(y) {
|
|
2552
|
-
l.value?.scrollIntoView({ inline: "start", block: "nearest", ...y });
|
|
2558
|
+
l.value?.scrollIntoView({ inline: "start", block: "nearest", container: "nearest", ...y });
|
|
2553
2559
|
}
|
|
2554
|
-
function
|
|
2555
|
-
const y = we(r).getBoundingClientRect()?.left,
|
|
2556
|
-
(
|
|
2560
|
+
function v() {
|
|
2561
|
+
const y = we(r).getBoundingClientRect()?.left, b = Array.from(we(r).children).findIndex(
|
|
2562
|
+
(_) => Math.round(_.getBoundingClientRect().left - y) >= 0
|
|
2557
2563
|
);
|
|
2558
|
-
a.value =
|
|
2564
|
+
a.value = b;
|
|
2559
2565
|
}
|
|
2560
|
-
return (y,
|
|
2566
|
+
return (y, b) => (m(), w("div", Fn, [
|
|
2561
2567
|
c("button", {
|
|
2562
2568
|
type: "button",
|
|
2563
2569
|
disabled: n(s).left,
|
|
2564
2570
|
onClick: d
|
|
2565
2571
|
}, [
|
|
2566
|
-
|
|
2567
|
-
], 8,
|
|
2568
|
-
c("div",
|
|
2572
|
+
k(n(Rn))
|
|
2573
|
+
], 8, Vn),
|
|
2574
|
+
c("div", qn, [
|
|
2569
2575
|
xe(y.$slots, "default")
|
|
2570
2576
|
], 512),
|
|
2571
2577
|
c("button", {
|
|
@@ -2573,22 +2579,22 @@ const Kn = { class: "games-timeline" }, Bn = ["disabled"], Fn = { ref: "containe
|
|
|
2573
2579
|
disabled: n(s).right,
|
|
2574
2580
|
onClick: g
|
|
2575
2581
|
}, [
|
|
2576
|
-
|
|
2577
|
-
], 8,
|
|
2582
|
+
k(n(Nt))
|
|
2583
|
+
], 8, Hn)
|
|
2578
2584
|
]));
|
|
2579
2585
|
}
|
|
2580
|
-
},
|
|
2586
|
+
}, ut = {
|
|
2581
2587
|
__name: "CarouselItem",
|
|
2582
2588
|
setup(e) {
|
|
2583
|
-
const t = `mjsz-vbr-carousel-item-${
|
|
2584
|
-
return
|
|
2589
|
+
const t = `mjsz-vbr-carousel-item-${Rr()}`, r = Gr(Ar, null);
|
|
2590
|
+
return Qe(() => r?.register(t)), Ur(() => r?.unregister(t)), (a, o) => (m(), w("div", {
|
|
2585
2591
|
id: t,
|
|
2586
2592
|
class: "is-slide"
|
|
2587
2593
|
}, [
|
|
2588
2594
|
xe(a.$slots, "default")
|
|
2589
2595
|
]));
|
|
2590
2596
|
}
|
|
2591
|
-
},
|
|
2597
|
+
}, Jn = { class: "games-timeline-schedule-link" }, Qt = {
|
|
2592
2598
|
__name: "ExternalSchedule",
|
|
2593
2599
|
props: {
|
|
2594
2600
|
title: {
|
|
@@ -2606,29 +2612,29 @@ const Kn = { class: "games-timeline" }, Bn = ["disabled"], Fn = { ref: "containe
|
|
|
2606
2612
|
function o() {
|
|
2607
2613
|
a("navigateTo", { url: r.externalScheduleUrl, target: "_self" });
|
|
2608
2614
|
}
|
|
2609
|
-
return (i, s) => (m(), w("div",
|
|
2615
|
+
return (i, s) => (m(), w("div", Jn, [
|
|
2610
2616
|
c("button", {
|
|
2611
2617
|
type: "button",
|
|
2612
2618
|
onClick: o
|
|
2613
2619
|
}, [
|
|
2614
|
-
|
|
2615
|
-
|
|
2620
|
+
Q(p(e.title), 1),
|
|
2621
|
+
k(n(Nt))
|
|
2616
2622
|
])
|
|
2617
2623
|
]));
|
|
2618
2624
|
}
|
|
2619
|
-
},
|
|
2625
|
+
}, Xn = {
|
|
2620
2626
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2621
2627
|
viewBox: "0 0 24 24"
|
|
2622
2628
|
};
|
|
2623
|
-
function
|
|
2624
|
-
return m(), w("svg",
|
|
2629
|
+
function Qn(e, t) {
|
|
2630
|
+
return m(), w("svg", Xn, [...t[0] || (t[0] = [
|
|
2625
2631
|
c("path", {
|
|
2626
2632
|
fill: "currentColor",
|
|
2627
2633
|
d: "M18 19H6a1 1 0 0 1-1-1V6a1 1 0 0 1 1-1h5c.55 0 1-.45 1-1s-.45-1-1-1H5a2 2 0 0 0-2 2v14c0 1.1.9 2 2 2h14a2 2 0 0 0 2-2v-6c0-.55-.45-1-1-1s-1 .45-1 1v5a1 1 0 0 1-1 1M14 4a1 1 0 0 0 1 1h2.59l-9.13 9.13a1 1 0 1 0 1.41 1.41L19 6.41V9c0 .55.45 1 1 1s1-.45 1-1V3h-6a1 1 0 0 0-1 1"
|
|
2628
2634
|
}, null, -1)
|
|
2629
|
-
]));
|
|
2635
|
+
])]);
|
|
2630
2636
|
}
|
|
2631
|
-
const
|
|
2637
|
+
const Zn = { render: Qn }, es = { class: "score-display" }, ts = { class: "is-score" }, Zt = {
|
|
2632
2638
|
__name: "ScoreDisplay",
|
|
2633
2639
|
props: {
|
|
2634
2640
|
score: {
|
|
@@ -2637,9 +2643,9 @@ const Xn = { render: Jn }, Qn = { class: "score-display" }, Zn = { class: "is-sc
|
|
|
2637
2643
|
}
|
|
2638
2644
|
},
|
|
2639
2645
|
setup(e) {
|
|
2640
|
-
return (t, r) => (m(), w("div",
|
|
2641
|
-
c("div",
|
|
2642
|
-
|
|
2646
|
+
return (t, r) => (m(), w("div", es, [
|
|
2647
|
+
c("div", ts, [
|
|
2648
|
+
k(ar, { name: "is-slide-transition" }, {
|
|
2643
2649
|
default: E(() => [
|
|
2644
2650
|
(m(), w("span", { key: e.score }, p(e.score), 1))
|
|
2645
2651
|
]),
|
|
@@ -2648,13 +2654,13 @@ const Xn = { render: Jn }, Qn = { class: "score-display" }, Zn = { class: "is-sc
|
|
|
2648
2654
|
])
|
|
2649
2655
|
]));
|
|
2650
2656
|
}
|
|
2651
|
-
},
|
|
2657
|
+
}, rs = {
|
|
2652
2658
|
key: 0,
|
|
2653
2659
|
class: "is-badge"
|
|
2654
|
-
},
|
|
2660
|
+
}, as = {
|
|
2655
2661
|
key: 1,
|
|
2656
2662
|
class: "is-badge"
|
|
2657
|
-
},
|
|
2663
|
+
}, os = { class: "is-home-team-logo" }, is = { class: "is-home-team-name" }, ns = { class: "is-home-team-score" }, ss = { class: "is-away-team-logo" }, ls = { class: "is-away-team-name" }, cs = { class: "is-away-team-score" }, ds = { class: "is-status" }, gs = {
|
|
2658
2664
|
__name: "Game",
|
|
2659
2665
|
props: {
|
|
2660
2666
|
gameData: {
|
|
@@ -2668,15 +2674,15 @@ const Xn = { render: Jn }, Qn = { class: "score-display" }, Zn = { class: "is-sc
|
|
|
2668
2674
|
},
|
|
2669
2675
|
emits: ["navigateTo"],
|
|
2670
2676
|
setup(e, { emit: t }) {
|
|
2671
|
-
const r = e, a = t, { t: o } = ce(), i =
|
|
2672
|
-
const { gameStatus: l, championshipName: d, divisionName: g, period: u, periodTime:
|
|
2673
|
-
return l !== 1 ? `${d} - ${g}` : u &&
|
|
2677
|
+
const r = e, a = t, { t: o } = ce(), i = N(() => {
|
|
2678
|
+
const { gameStatus: l, championshipName: d, divisionName: g, period: u, periodTime: v } = r.gameData;
|
|
2679
|
+
return l !== 1 ? `${d} - ${g}` : u && Xt(u) ? `${o(`game.period.${u}`)} - ${v}` : u && !Xt(u) ? o(`game.period.${u}`) : "";
|
|
2674
2680
|
});
|
|
2675
2681
|
function s() {
|
|
2676
2682
|
const { externalGameUrl: l, id: d } = r.gameData;
|
|
2677
2683
|
if (l)
|
|
2678
2684
|
return a("navigateTo", { url: l, target: "_blank" });
|
|
2679
|
-
const g =
|
|
2685
|
+
const g = rt(r.externalGameResolver, { gameId: d });
|
|
2680
2686
|
a("navigateTo", { url: g, target: "_self" });
|
|
2681
2687
|
}
|
|
2682
2688
|
return (l, d) => (m(), w("div", {
|
|
@@ -2684,57 +2690,57 @@ const Xn = { render: Jn }, Qn = { class: "score-display" }, Zn = { class: "is-sc
|
|
|
2684
2690
|
onClick: s
|
|
2685
2691
|
}, [
|
|
2686
2692
|
c("time", null, [
|
|
2687
|
-
|
|
2688
|
-
e.gameData.isShootout ? (m(), w("span",
|
|
2689
|
-
e.gameData.isOvertime ? (m(), w("span",
|
|
2690
|
-
e.gameData.externalGameUrl ? (m(), P(n(
|
|
2693
|
+
Q(p(e.gameData.gameDateTime) + " ", 1),
|
|
2694
|
+
e.gameData.isShootout ? (m(), w("span", rs, p(n(o)("common.shootoutShort")), 1)) : L("", !0),
|
|
2695
|
+
e.gameData.isOvertime ? (m(), w("span", as, p(n(o)("common.overtimeShort")), 1)) : L("", !0),
|
|
2696
|
+
e.gameData.externalGameUrl ? (m(), P(n(Zn), {
|
|
2691
2697
|
key: 2,
|
|
2692
2698
|
width: "14",
|
|
2693
2699
|
height: "14"
|
|
2694
|
-
})) :
|
|
2700
|
+
})) : L("", !0)
|
|
2695
2701
|
]),
|
|
2696
|
-
c("div",
|
|
2697
|
-
|
|
2702
|
+
c("div", os, [
|
|
2703
|
+
k(n(ge), {
|
|
2698
2704
|
src: e.gameData.homeTeam.logo,
|
|
2699
2705
|
class: "is-team-logo"
|
|
2700
2706
|
}, null, 8, ["src"])
|
|
2701
2707
|
]),
|
|
2702
|
-
c("div",
|
|
2703
|
-
c("div",
|
|
2704
|
-
e.gameData.homeTeamScore != null ? (m(), P(
|
|
2708
|
+
c("div", is, p(e.gameData.homeTeam.longName), 1),
|
|
2709
|
+
c("div", ns, [
|
|
2710
|
+
e.gameData.homeTeamScore != null ? (m(), P(Zt, {
|
|
2705
2711
|
key: 0,
|
|
2706
2712
|
class: G(["is-badge is-extra-large", [e.gameData.gameStatus === 1 ? "is-green" : "is-dark"]]),
|
|
2707
2713
|
score: e.gameData.homeTeamScore
|
|
2708
2714
|
}, {
|
|
2709
2715
|
default: E(() => [
|
|
2710
|
-
|
|
2716
|
+
Q(p(e.gameData.homeTeamScore), 1)
|
|
2711
2717
|
]),
|
|
2712
2718
|
_: 1
|
|
2713
|
-
}, 8, ["class", "score"])) :
|
|
2719
|
+
}, 8, ["class", "score"])) : L("", !0)
|
|
2714
2720
|
]),
|
|
2715
|
-
c("div",
|
|
2716
|
-
|
|
2721
|
+
c("div", ss, [
|
|
2722
|
+
k(n(ge), {
|
|
2717
2723
|
src: e.gameData.awayTeam.logo,
|
|
2718
2724
|
class: "is-team-logo"
|
|
2719
2725
|
}, null, 8, ["src"])
|
|
2720
2726
|
]),
|
|
2721
|
-
c("div",
|
|
2722
|
-
c("div",
|
|
2723
|
-
e.gameData.awayTeamScore != null ? (m(), P(
|
|
2727
|
+
c("div", ls, p(e.gameData.awayTeam.longName), 1),
|
|
2728
|
+
c("div", cs, [
|
|
2729
|
+
e.gameData.awayTeamScore != null ? (m(), P(Zt, {
|
|
2724
2730
|
key: 0,
|
|
2725
2731
|
score: e.gameData.awayTeamScore,
|
|
2726
2732
|
class: G(["is-badge is-extra-large", [e.gameData.gameStatus === 1 ? "is-green" : "is-dark"]])
|
|
2727
2733
|
}, {
|
|
2728
2734
|
default: E(() => [
|
|
2729
|
-
|
|
2735
|
+
Q(p(e.gameData.awayTeamScore), 1)
|
|
2730
2736
|
]),
|
|
2731
2737
|
_: 1
|
|
2732
|
-
}, 8, ["score", "class"])) :
|
|
2738
|
+
}, 8, ["score", "class"])) : L("", !0)
|
|
2733
2739
|
]),
|
|
2734
|
-
c("div",
|
|
2740
|
+
c("div", ds, p(i.value), 1)
|
|
2735
2741
|
]));
|
|
2736
2742
|
}
|
|
2737
|
-
},
|
|
2743
|
+
}, us = {
|
|
2738
2744
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2739
2745
|
viewBox: "0 0 24 24",
|
|
2740
2746
|
fill: "none",
|
|
@@ -2743,8 +2749,8 @@ const Xn = { render: Jn }, Qn = { class: "score-display" }, Zn = { class: "is-sc
|
|
|
2743
2749
|
"stroke-linecap": "round",
|
|
2744
2750
|
"stroke-linejoin": "round"
|
|
2745
2751
|
};
|
|
2746
|
-
function
|
|
2747
|
-
return m(), w("svg",
|
|
2752
|
+
function ms(e, t) {
|
|
2753
|
+
return m(), w("svg", us, [...t[0] || (t[0] = [
|
|
2748
2754
|
c("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),
|
|
2749
2755
|
c("line", {
|
|
2750
2756
|
x1: "12",
|
|
@@ -2758,9 +2764,9 @@ function gs(e, t) {
|
|
|
2758
2764
|
x2: "12.01",
|
|
2759
2765
|
y2: "17"
|
|
2760
2766
|
}, null, -1)
|
|
2761
|
-
]));
|
|
2767
|
+
])]);
|
|
2762
2768
|
}
|
|
2763
|
-
const
|
|
2769
|
+
const ps = { render: ms }, vs = { class: "games-timeline-error-indicator" }, bs = {
|
|
2764
2770
|
__name: "TryAgain",
|
|
2765
2771
|
emits: ["tryAgain"],
|
|
2766
2772
|
setup(e, { emit: t }) {
|
|
@@ -2768,8 +2774,8 @@ const us = { render: gs }, ms = { class: "games-timeline-error-indicator" }, ps
|
|
|
2768
2774
|
function o() {
|
|
2769
2775
|
r("tryAgain");
|
|
2770
2776
|
}
|
|
2771
|
-
return (i, s) => (m(), w("div",
|
|
2772
|
-
|
|
2777
|
+
return (i, s) => (m(), w("div", vs, [
|
|
2778
|
+
k(n(ps)),
|
|
2773
2779
|
c("div", null, p(n(a)("gamesTimeline.errorText")), 1),
|
|
2774
2780
|
c("button", {
|
|
2775
2781
|
type: "button",
|
|
@@ -2777,13 +2783,13 @@ const us = { render: gs }, ms = { class: "games-timeline-error-indicator" }, ps
|
|
|
2777
2783
|
}, p(n(a)("gamesTimeline.errorCta")), 1)
|
|
2778
2784
|
]));
|
|
2779
2785
|
}
|
|
2780
|
-
},
|
|
2786
|
+
}, hs = '.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 .is-no-games{width:100%;text-align:center;color:var(--vbr-widget-games-timeline-game-date-color)}.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;display:flex;align-items:center;gap:4px;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%)}', fs = {
|
|
2781
2787
|
key: 0,
|
|
2782
2788
|
style: { width: "100%" }
|
|
2783
|
-
},
|
|
2789
|
+
}, ys = {
|
|
2784
2790
|
key: 2,
|
|
2785
2791
|
class: "is-no-games"
|
|
2786
|
-
},
|
|
2792
|
+
}, ws = {
|
|
2787
2793
|
__name: "GamesTimeline.ce",
|
|
2788
2794
|
props: {
|
|
2789
2795
|
locale: {
|
|
@@ -2808,120 +2814,120 @@ const us = { render: gs }, ms = { class: "games-timeline-error-indicator" }, ps
|
|
|
2808
2814
|
}
|
|
2809
2815
|
},
|
|
2810
2816
|
setup(e) {
|
|
2811
|
-
const t = e, r = { en: be, hu: he }, a =
|
|
2817
|
+
const t = e, r = { en: be, hu: he }, a = tt();
|
|
2812
2818
|
let o = [];
|
|
2813
|
-
const i =
|
|
2819
|
+
const i = K(!1), { isLoading: s, state: l, execute: d } = Z({
|
|
2814
2820
|
options: {
|
|
2815
2821
|
path: t.servicePath,
|
|
2816
2822
|
apiKey: t.apiKey,
|
|
2817
2823
|
params: {},
|
|
2818
2824
|
immediate: !0
|
|
2819
2825
|
},
|
|
2820
|
-
transform: (
|
|
2826
|
+
transform: (x) => Bn(x, l.value, "id").reverse(),
|
|
2821
2827
|
onError: () => {
|
|
2822
2828
|
i.value = !0;
|
|
2823
2829
|
},
|
|
2824
|
-
onSuccess:
|
|
2825
|
-
}), { resume: g, pause: u } =
|
|
2826
|
-
|
|
2830
|
+
onSuccess: f
|
|
2831
|
+
}), { resume: g, pause: u } = He(d, 1e3 * 60 * 5), v = oo(s, 500);
|
|
2832
|
+
pa(
|
|
2827
2833
|
!0,
|
|
2828
2834
|
() => {
|
|
2829
2835
|
d(), g();
|
|
2830
2836
|
},
|
|
2831
2837
|
() => {
|
|
2832
|
-
u(), o.map((
|
|
2838
|
+
u(), o.map((x) => x?.()), o = [];
|
|
2833
2839
|
}
|
|
2834
2840
|
);
|
|
2835
|
-
const
|
|
2836
|
-
() => l.value.map((
|
|
2837
|
-
...
|
|
2838
|
-
gameDateTime: `${
|
|
2839
|
-
|
|
2841
|
+
const y = N(() => ht(l.value) ? 0 : l.value.findIndex((x) => !gr(new Date(x.gameDate), /* @__PURE__ */ new Date(), "day")) + 1), b = N(
|
|
2842
|
+
() => l.value.map((x) => ({
|
|
2843
|
+
...x,
|
|
2844
|
+
gameDateTime: `${J(x.gameDate, "L LT", a, t.locale)} (${et(
|
|
2845
|
+
x.gameDate,
|
|
2840
2846
|
a,
|
|
2841
2847
|
t.locale
|
|
2842
2848
|
)})`
|
|
2843
2849
|
}))
|
|
2844
|
-
), { execute:
|
|
2845
|
-
async function
|
|
2846
|
-
i.value = !1, o.map((
|
|
2847
|
-
const
|
|
2848
|
-
for (let
|
|
2849
|
-
const
|
|
2850
|
-
|
|
2851
|
-
const { pause:
|
|
2852
|
-
o.push(
|
|
2850
|
+
), { execute: _ } = Yn({ apiKey: t.apiKey });
|
|
2851
|
+
async function f() {
|
|
2852
|
+
i.value = !1, o.map((h) => h?.()), o = [];
|
|
2853
|
+
const x = l.value.filter((h) => h.gameStatus === 1);
|
|
2854
|
+
for (let h = 0; h < x.length; h++) {
|
|
2855
|
+
const S = x[h].id;
|
|
2856
|
+
_(0, { gameId: S }).then((A) => $(A));
|
|
2857
|
+
const { pause: I } = He(() => _(0, { gameId: S }).then((A) => $(A)), 6e4);
|
|
2858
|
+
o.push(I);
|
|
2853
2859
|
}
|
|
2854
2860
|
}
|
|
2855
|
-
function
|
|
2856
|
-
const { gameId:
|
|
2857
|
-
|
|
2861
|
+
function $(x = {}) {
|
|
2862
|
+
const { gameId: h, gameStatus: S, homeTeamScore: I, awayTeamScore: A, period: ee, periodTime: T } = x, Y = l.value.find((U) => U.id === h);
|
|
2863
|
+
Y.gameStatus = S, Y.homeTeamScore = I, Y.awayTeamScore = A, Y.period = ee, Y.periodTime = T, Yr(l);
|
|
2858
2864
|
}
|
|
2859
|
-
function
|
|
2860
|
-
window.open(
|
|
2865
|
+
function z({ url: x, target: h }) {
|
|
2866
|
+
window.open(x, h);
|
|
2861
2867
|
}
|
|
2862
|
-
function
|
|
2868
|
+
function C() {
|
|
2863
2869
|
i.value = !1, d();
|
|
2864
2870
|
}
|
|
2865
|
-
return (
|
|
2871
|
+
return (x, h) => (m(), P(n(ve), {
|
|
2866
2872
|
locale: e.locale,
|
|
2867
2873
|
messages: r
|
|
2868
2874
|
}, {
|
|
2869
|
-
default: E(({ t:
|
|
2870
|
-
(m(), P(
|
|
2871
|
-
key: n(
|
|
2872
|
-
"initial-index":
|
|
2875
|
+
default: E(({ t: S }) => [
|
|
2876
|
+
(m(), P(Wn, {
|
|
2877
|
+
key: n(v),
|
|
2878
|
+
"initial-index": y.value
|
|
2873
2879
|
}, {
|
|
2874
2880
|
default: E(() => [
|
|
2875
|
-
!i.value && n(
|
|
2876
|
-
|
|
2877
|
-
])) : i.value && n(
|
|
2881
|
+
!i.value && n(v) ? (m(), w("div", fs, [
|
|
2882
|
+
k(n(Ze))
|
|
2883
|
+
])) : i.value && n(ht)(n(l)) ? (m(), P(bs, {
|
|
2878
2884
|
key: 1,
|
|
2879
|
-
onTryAgain:
|
|
2880
|
-
})) :
|
|
2881
|
-
|
|
2885
|
+
onTryAgain: C
|
|
2886
|
+
})) : b.value.length === 0 ? (m(), w("div", ys, p(S("gamesTimeline.noGames")), 1)) : (m(), w(O, { key: 3 }, [
|
|
2887
|
+
h[0] || (Re(-1, !0), (h[0] = k(ut, null, {
|
|
2882
2888
|
default: E(() => [
|
|
2883
|
-
|
|
2889
|
+
k(Qt, {
|
|
2884
2890
|
"external-schedule-url": e.externalScheduleUrl,
|
|
2885
|
-
title:
|
|
2886
|
-
onNavigateTo:
|
|
2891
|
+
title: S("gamesTimeline.allSchedule"),
|
|
2892
|
+
onNavigateTo: z
|
|
2887
2893
|
}, null, 8, ["external-schedule-url", "title"])
|
|
2888
2894
|
]),
|
|
2889
2895
|
_: 2
|
|
2890
|
-
}, 1024),
|
|
2891
|
-
(m(!0), w(O, null,
|
|
2892
|
-
const
|
|
2893
|
-
|
|
2894
|
-
|
|
2895
|
-
|
|
2896
|
-
|
|
2897
|
-
|
|
2898
|
-
|
|
2896
|
+
}, 1024)).cacheIndex = 0, Re(1), h[0]),
|
|
2897
|
+
(m(!0), w(O, null, V(b.value, (I, A, ee, T) => {
|
|
2898
|
+
const Y = [
|
|
2899
|
+
I.gameDateTime,
|
|
2900
|
+
I.gameStatus,
|
|
2901
|
+
I.homeTeamScore,
|
|
2902
|
+
I.awayTeamScore,
|
|
2903
|
+
I.period,
|
|
2904
|
+
I.actualTime
|
|
2899
2905
|
];
|
|
2900
|
-
if (
|
|
2901
|
-
const
|
|
2902
|
-
key:
|
|
2906
|
+
if (T && T.key === I.id && Br(T, Y)) return T;
|
|
2907
|
+
const U = (m(), P(ut, {
|
|
2908
|
+
key: I.id
|
|
2903
2909
|
}, {
|
|
2904
2910
|
default: E(() => [
|
|
2905
|
-
|
|
2906
|
-
"game-data":
|
|
2911
|
+
k(gs, {
|
|
2912
|
+
"game-data": I,
|
|
2907
2913
|
"external-game-resolver": e.externalGameResolver,
|
|
2908
|
-
onNavigateTo:
|
|
2914
|
+
onNavigateTo: z
|
|
2909
2915
|
}, null, 8, ["game-data", "external-game-resolver"])
|
|
2910
2916
|
]),
|
|
2911
2917
|
_: 2
|
|
2912
2918
|
}, 1024));
|
|
2913
|
-
return
|
|
2914
|
-
},
|
|
2915
|
-
|
|
2919
|
+
return U.memo = Y, U;
|
|
2920
|
+
}, h, 1), 128)),
|
|
2921
|
+
h[3] || (Re(-1, !0), (h[3] = k(ut, null, {
|
|
2916
2922
|
default: E(() => [
|
|
2917
|
-
|
|
2923
|
+
k(Qt, {
|
|
2918
2924
|
"external-schedule-url": e.externalScheduleUrl,
|
|
2919
|
-
title:
|
|
2920
|
-
onNavigateTo:
|
|
2925
|
+
title: S("gamesTimeline.allSchedule"),
|
|
2926
|
+
onNavigateTo: z
|
|
2921
2927
|
}, null, 8, ["external-schedule-url", "title"])
|
|
2922
2928
|
]),
|
|
2923
2929
|
_: 2
|
|
2924
|
-
}, 1024)
|
|
2930
|
+
}, 1024)).cacheIndex = 3, Re(1), h[3])
|
|
2925
2931
|
], 64))
|
|
2926
2932
|
]),
|
|
2927
2933
|
_: 2
|
|
@@ -2930,17 +2936,17 @@ const us = { render: gs }, ms = { class: "games-timeline-error-indicator" }, ps
|
|
|
2930
2936
|
_: 1
|
|
2931
2937
|
}, 8, ["locale"]));
|
|
2932
2938
|
}
|
|
2933
|
-
},
|
|
2934
|
-
function
|
|
2935
|
-
t.seasonsList = e, t.seasonId = Me(
|
|
2939
|
+
}, xs = /* @__PURE__ */ ye(ws, [["styles", [fe, hs]]]);
|
|
2940
|
+
function _s(e, t) {
|
|
2941
|
+
t.seasonsList = e, t.seasonId = Me(H, le("id"))(e);
|
|
2936
2942
|
}
|
|
2937
|
-
function
|
|
2938
|
-
t.championshipList = e, t.championshipId = Me(
|
|
2943
|
+
function ks(e, t) {
|
|
2944
|
+
t.championshipList = e, t.championshipId = Me(H, le("championshipId"))(e);
|
|
2939
2945
|
}
|
|
2940
|
-
function
|
|
2941
|
-
t.sections = e, t.sectionId = Me(
|
|
2946
|
+
function zs(e, t) {
|
|
2947
|
+
t.sections = e, t.sectionId = Me(H, le("sectionId"))(e);
|
|
2942
2948
|
}
|
|
2943
|
-
const
|
|
2949
|
+
const Ss = {
|
|
2944
2950
|
__name: "DataProvider",
|
|
2945
2951
|
props: {
|
|
2946
2952
|
apiKey: {
|
|
@@ -2960,61 +2966,61 @@ const ks = {
|
|
|
2960
2966
|
championshipId: null,
|
|
2961
2967
|
sections: [],
|
|
2962
2968
|
sectionId: null
|
|
2963
|
-
}), { onError: a } = De(), { isLoading: o, execute: i } =
|
|
2969
|
+
}), { onError: a } = De(), { isLoading: o, execute: i } = Z({
|
|
2964
2970
|
options: {
|
|
2965
2971
|
path: "/v2/all-season-list",
|
|
2966
2972
|
apiKey: t.apiKey,
|
|
2967
2973
|
params: {}
|
|
2968
2974
|
},
|
|
2969
|
-
transform: (
|
|
2975
|
+
transform: (f) => _s(f, r),
|
|
2970
2976
|
onError: a
|
|
2971
|
-
}), { isLoading: s, execute: l } =
|
|
2977
|
+
}), { isLoading: s, execute: l } = Z({
|
|
2972
2978
|
options: {
|
|
2973
2979
|
path: "/v2/championship-list",
|
|
2974
2980
|
apiKey: t.apiKey,
|
|
2975
|
-
params:
|
|
2981
|
+
params: N(() => ({ seasonId: r.seasonId }))
|
|
2976
2982
|
},
|
|
2977
|
-
transform: (
|
|
2983
|
+
transform: (f) => ks(f, r),
|
|
2978
2984
|
onError: a
|
|
2979
2985
|
}), {
|
|
2980
2986
|
isLoading: d,
|
|
2981
2987
|
execute: g
|
|
2982
|
-
} =
|
|
2988
|
+
} = Z({
|
|
2983
2989
|
options: {
|
|
2984
2990
|
path: "/v2/championship-sections",
|
|
2985
2991
|
apiKey: t.apiKey,
|
|
2986
|
-
params:
|
|
2992
|
+
params: N(() => ({ championshipId: r.championshipId }))
|
|
2987
2993
|
},
|
|
2988
|
-
transform: (
|
|
2994
|
+
transform: (f) => zs(f, r),
|
|
2989
2995
|
onError: a
|
|
2990
|
-
}), u =
|
|
2996
|
+
}), u = N(() => r.sections?.find((f) => f.sectionId === r.sectionId)?.phases ?? []);
|
|
2991
2997
|
Se([i, l, g]);
|
|
2992
|
-
const
|
|
2993
|
-
function y(
|
|
2994
|
-
r.seasonId =
|
|
2998
|
+
const v = N(() => [o.value, s.value, d.value].some(Boolean));
|
|
2999
|
+
function y(f) {
|
|
3000
|
+
r.seasonId = f, Se([l, g]);
|
|
2995
3001
|
}
|
|
2996
|
-
function
|
|
2997
|
-
r.championshipId =
|
|
3002
|
+
function b(f) {
|
|
3003
|
+
r.championshipId = f, g();
|
|
2998
3004
|
}
|
|
2999
|
-
function
|
|
3000
|
-
r.sectionId =
|
|
3005
|
+
function _(f) {
|
|
3006
|
+
r.sectionId = f;
|
|
3001
3007
|
}
|
|
3002
|
-
return (
|
|
3008
|
+
return (f, $) => xe(f.$slots, "default", Ee(Ae({
|
|
3003
3009
|
...r,
|
|
3004
|
-
isLoading:
|
|
3010
|
+
isLoading: v.value,
|
|
3005
3011
|
phaseData: u.value,
|
|
3006
3012
|
onChangeSeason: y,
|
|
3007
|
-
onChangeSection:
|
|
3008
|
-
onChangeChampionship:
|
|
3013
|
+
onChangeSection: _,
|
|
3014
|
+
onChangeChampionship: b
|
|
3009
3015
|
})));
|
|
3010
3016
|
}
|
|
3011
|
-
},
|
|
3017
|
+
}, $s = { class: "is-mb-5" }, Is = {
|
|
3012
3018
|
for: "season",
|
|
3013
3019
|
class: "label"
|
|
3014
|
-
},
|
|
3020
|
+
}, Cs = ["value"], Ns = {
|
|
3015
3021
|
for: "season",
|
|
3016
3022
|
class: "label"
|
|
3017
|
-
},
|
|
3023
|
+
}, Ts = ["value"], Es = {
|
|
3018
3024
|
__name: "Selector",
|
|
3019
3025
|
props: {
|
|
3020
3026
|
seasonsList: {
|
|
@@ -3036,46 +3042,46 @@ const ks = {
|
|
|
3036
3042
|
},
|
|
3037
3043
|
emits: ["update:seasonId", "update:championshipId"],
|
|
3038
3044
|
setup(e, { emit: t }) {
|
|
3039
|
-
const r = e, a = t, { t: o } = ce(), { seasonId: i, championshipId: s } =
|
|
3045
|
+
const r = e, a = t, { t: o } = ce(), { seasonId: i, championshipId: s } = _t(r, a);
|
|
3040
3046
|
return (l, d) => (m(), w(O, null, [
|
|
3041
|
-
c("div",
|
|
3042
|
-
c("label",
|
|
3043
|
-
|
|
3047
|
+
c("div", $s, [
|
|
3048
|
+
c("label", Is, p(n(o)("selection.seasons")), 1),
|
|
3049
|
+
k(n(ke), {
|
|
3044
3050
|
id: "season",
|
|
3045
3051
|
modelValue: n(i),
|
|
3046
3052
|
"onUpdate:modelValue": d[0] || (d[0] = (g) => me(i) ? i.value = g : null)
|
|
3047
3053
|
}, {
|
|
3048
3054
|
default: E(() => [
|
|
3049
|
-
(m(!0), w(O, null,
|
|
3055
|
+
(m(!0), w(O, null, V(e.seasonsList, (g) => (m(), w("option", {
|
|
3050
3056
|
key: g.id,
|
|
3051
3057
|
value: g.id
|
|
3052
|
-
}, p(g.seasonName), 9,
|
|
3058
|
+
}, p(g.seasonName), 9, Cs))), 128))
|
|
3053
3059
|
]),
|
|
3054
3060
|
_: 1
|
|
3055
3061
|
}, 8, ["modelValue"])
|
|
3056
3062
|
]),
|
|
3057
3063
|
c("div", null, [
|
|
3058
|
-
c("label",
|
|
3059
|
-
|
|
3064
|
+
c("label", Ns, p(n(o)("selection.championships")), 1),
|
|
3065
|
+
k(n(ke), {
|
|
3060
3066
|
id: "season",
|
|
3061
3067
|
modelValue: n(s),
|
|
3062
3068
|
"onUpdate:modelValue": d[1] || (d[1] = (g) => me(s) ? s.value = g : null)
|
|
3063
3069
|
}, {
|
|
3064
3070
|
default: E(() => [
|
|
3065
|
-
(m(!0), w(O, null,
|
|
3071
|
+
(m(!0), w(O, null, V(e.championshipList, (g) => (m(), w("option", {
|
|
3066
3072
|
key: g.championshipId,
|
|
3067
3073
|
value: g.championshipId
|
|
3068
|
-
}, p(g.championshipName), 9,
|
|
3074
|
+
}, p(g.championshipName), 9, Ts))), 128))
|
|
3069
3075
|
]),
|
|
3070
3076
|
_: 1
|
|
3071
3077
|
}, 8, ["modelValue"])
|
|
3072
3078
|
])
|
|
3073
3079
|
], 64));
|
|
3074
3080
|
}
|
|
3075
|
-
},
|
|
3081
|
+
}, As = ".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}", Ls = { class: "main-layout" }, Ps = { class: "is-mb-5" }, Ds = { for: "seasonId" }, Ms = ["textContent"], js = { class: "is-mb-5" }, Os = { for: "championshipName" }, Rs = ["textContent"], Gs = { class: "is-mb-5" }, Us = { for: "championshipId" }, Ys = ["textContent"], Bs = { class: "is-mb-5" }, Ks = { for: "sections" }, Fs = {
|
|
3076
3082
|
id: "sections",
|
|
3077
3083
|
class: "toggle-group"
|
|
3078
|
-
},
|
|
3084
|
+
}, Vs = ["onClick"], qs = { class: "is-mb-5" }, Hs = { for: "phases" }, Ws = ["textContent"], Js = {
|
|
3079
3085
|
__name: "IvrIdentifiers.ce",
|
|
3080
3086
|
props: {
|
|
3081
3087
|
locale: {
|
|
@@ -3094,74 +3100,74 @@ const ks = {
|
|
|
3094
3100
|
messages: r
|
|
3095
3101
|
}, {
|
|
3096
3102
|
default: E(({ t: i }) => [
|
|
3097
|
-
|
|
3103
|
+
k(n(Le), null, {
|
|
3098
3104
|
default: E(({ error: s, hasError: l }) => [
|
|
3099
3105
|
l ? (m(), P(n($e), {
|
|
3100
3106
|
key: 0,
|
|
3101
3107
|
error: s
|
|
3102
|
-
}, null, 8, ["error"])) :
|
|
3103
|
-
|
|
3108
|
+
}, null, 8, ["error"])) : L("", !0),
|
|
3109
|
+
k(Ss, null, {
|
|
3104
3110
|
default: E(({
|
|
3105
3111
|
seasonsList: d,
|
|
3106
3112
|
seasonId: g,
|
|
3107
3113
|
championshipList: u,
|
|
3108
|
-
championshipId:
|
|
3114
|
+
championshipId: v,
|
|
3109
3115
|
sections: y,
|
|
3110
|
-
sectionId:
|
|
3111
|
-
phaseData:
|
|
3112
|
-
onChangeSeason:
|
|
3113
|
-
onChangeSection:
|
|
3114
|
-
onChangeChampionship:
|
|
3116
|
+
sectionId: b,
|
|
3117
|
+
phaseData: _,
|
|
3118
|
+
onChangeSeason: f,
|
|
3119
|
+
onChangeSection: $,
|
|
3120
|
+
onChangeChampionship: z
|
|
3115
3121
|
}) => [
|
|
3116
|
-
c("div",
|
|
3122
|
+
c("div", Ls, [
|
|
3117
3123
|
c("div", null, [
|
|
3118
|
-
|
|
3124
|
+
k(Es, {
|
|
3119
3125
|
"seasons-list": d,
|
|
3120
3126
|
"season-id": g,
|
|
3121
3127
|
"championship-list": u,
|
|
3122
|
-
"championship-id":
|
|
3123
|
-
"onUpdate:seasonId":
|
|
3124
|
-
"onUpdate:championshipId":
|
|
3128
|
+
"championship-id": v,
|
|
3129
|
+
"onUpdate:seasonId": f,
|
|
3130
|
+
"onUpdate:championshipId": z
|
|
3125
3131
|
}, null, 8, ["seasons-list", "season-id", "championship-list", "championship-id", "onUpdate:seasonId", "onUpdate:championshipId"])
|
|
3126
3132
|
]),
|
|
3127
3133
|
c("div", null, [
|
|
3128
|
-
c("section",
|
|
3129
|
-
c("label",
|
|
3134
|
+
c("section", Ps, [
|
|
3135
|
+
c("label", Ds, p(i("selection.seasonId")), 1),
|
|
3130
3136
|
c("p", {
|
|
3131
3137
|
id: "seasonId",
|
|
3132
3138
|
textContent: p(g)
|
|
3133
|
-
}, null, 8,
|
|
3139
|
+
}, null, 8, Ms)
|
|
3134
3140
|
]),
|
|
3135
|
-
c("section",
|
|
3136
|
-
c("label",
|
|
3141
|
+
c("section", js, [
|
|
3142
|
+
c("label", Os, p(i("selection.championshipName")), 1),
|
|
3137
3143
|
c("p", {
|
|
3138
3144
|
id: "championshipName",
|
|
3139
|
-
textContent: p(u.find((
|
|
3140
|
-
}, null, 8,
|
|
3145
|
+
textContent: p(u.find((C) => C.championshipId === v)?.championshipName)
|
|
3146
|
+
}, null, 8, Rs)
|
|
3141
3147
|
]),
|
|
3142
|
-
c("section",
|
|
3143
|
-
c("label",
|
|
3148
|
+
c("section", Gs, [
|
|
3149
|
+
c("label", Us, p(i("selection.championshipId")), 1),
|
|
3144
3150
|
c("p", {
|
|
3145
3151
|
id: "championshipId",
|
|
3146
|
-
textContent: p(
|
|
3147
|
-
}, null, 8,
|
|
3152
|
+
textContent: p(v)
|
|
3153
|
+
}, null, 8, Ys)
|
|
3148
3154
|
]),
|
|
3149
|
-
c("section",
|
|
3150
|
-
c("label",
|
|
3151
|
-
c("div",
|
|
3152
|
-
(m(!0), w(O, null,
|
|
3153
|
-
key:
|
|
3154
|
-
class: G({ "is-active":
|
|
3155
|
-
onClick: (x) =>
|
|
3156
|
-
}, p(
|
|
3155
|
+
c("section", Bs, [
|
|
3156
|
+
c("label", Ks, p(i("selection.sections")) + ":", 1),
|
|
3157
|
+
c("div", Fs, [
|
|
3158
|
+
(m(!0), w(O, null, V(y, (C) => (m(), w("button", {
|
|
3159
|
+
key: C.sectionId,
|
|
3160
|
+
class: G({ "is-active": C.sectionId === b }),
|
|
3161
|
+
onClick: (x) => $(C.sectionId)
|
|
3162
|
+
}, p(C.sectionName), 11, Vs))), 128))
|
|
3157
3163
|
])
|
|
3158
3164
|
]),
|
|
3159
|
-
c("section",
|
|
3160
|
-
c("label",
|
|
3165
|
+
c("section", qs, [
|
|
3166
|
+
c("label", Hs, p(i("selection.phasesDivision")) + ":", 1),
|
|
3161
3167
|
c("pre", {
|
|
3162
3168
|
id: "phases",
|
|
3163
|
-
textContent: p(
|
|
3164
|
-
}, null, 8,
|
|
3169
|
+
textContent: p(_)
|
|
3170
|
+
}, null, 8, Ws)
|
|
3165
3171
|
])
|
|
3166
3172
|
])
|
|
3167
3173
|
])
|
|
@@ -3175,45 +3181,45 @@ const ks = {
|
|
|
3175
3181
|
_: 1
|
|
3176
3182
|
}, 8, ["locale"]));
|
|
3177
3183
|
}
|
|
3178
|
-
},
|
|
3179
|
-
function
|
|
3180
|
-
return e.map(
|
|
3184
|
+
}, Xs = /* @__PURE__ */ ye(Js, [["styles", [fe, st, je, As]], ["__scopeId", "data-v-10915a30"]]);
|
|
3185
|
+
function Qs(e) {
|
|
3186
|
+
return e.map(Zs).map(el).sort(al);
|
|
3181
3187
|
}
|
|
3182
|
-
function
|
|
3183
|
-
const t = Object.keys(e).filter((o) => o.startsWith("recruitment") && o !== "recruitmentName" && o !== "recruitmentTeamName" && o !== "recruitmentCity"), r =
|
|
3188
|
+
function Zs(e) {
|
|
3189
|
+
const t = Object.keys(e).filter((o) => o.startsWith("recruitment") && o !== "recruitmentName" && o !== "recruitmentTeamName" && o !== "recruitmentCity"), r = Ct(t, e), a = tl(r);
|
|
3184
3190
|
return {
|
|
3185
|
-
...
|
|
3191
|
+
...Sr(t, e),
|
|
3186
3192
|
recruitment: {
|
|
3187
3193
|
...a
|
|
3188
3194
|
}
|
|
3189
3195
|
};
|
|
3190
3196
|
}
|
|
3191
|
-
function
|
|
3197
|
+
function el(e) {
|
|
3192
3198
|
return {
|
|
3193
3199
|
...e,
|
|
3194
3200
|
recruitmentTeamName: e.recruitmentTeamName || ""
|
|
3195
3201
|
};
|
|
3196
3202
|
}
|
|
3197
|
-
function
|
|
3198
|
-
return e.recruitmentContactPhone = e.recruitmentContactPhone ? `<a href="tel:${e.recruitmentContactPhone}">${e.recruitmentContactPhone}</a>` : "", e.recruitmentContactEmail = e.recruitmentContactEmail ? `<a href="mailto:${e.recruitmentContactEmail}">${e.recruitmentContactEmail}</a>` : "", e.recruitmentContactUrl =
|
|
3203
|
+
function tl(e) {
|
|
3204
|
+
return e.recruitmentContactPhone = e.recruitmentContactPhone ? `<a href="tel:${e.recruitmentContactPhone}">${e.recruitmentContactPhone}</a>` : "", e.recruitmentContactEmail = e.recruitmentContactEmail ? `<a href="mailto:${e.recruitmentContactEmail}">${e.recruitmentContactEmail}</a>` : "", e.recruitmentContactUrl = rl(e.recruitmentContactUrl || ""), e;
|
|
3199
3205
|
}
|
|
3200
|
-
function
|
|
3206
|
+
function rl(e) {
|
|
3201
3207
|
return e.startsWith("http") ? `<a href="${e}" target="_blank">${e}</a>` : `<a href="https://${e}" target="_blank">${e}</a>`;
|
|
3202
3208
|
}
|
|
3203
|
-
function
|
|
3209
|
+
function al(e, t) {
|
|
3204
3210
|
const r = e.organizationName.toUpperCase(), a = t.organizationName.toUpperCase();
|
|
3205
3211
|
return r < a ? -1 : r > a ? 1 : 0;
|
|
3206
3212
|
}
|
|
3207
|
-
const
|
|
3213
|
+
const ol = `.recruitment-info-card{--logo-width: 30px;border-radius:var(--vbr-widget-base-input-border-radius);box-shadow:0 2px 4px #0000001a,0 2px 2px #0000001a;transition:all .28s;margin-block-end:1em}.recruitment-info-card summary{display:grid;grid-template-columns:var(--logo-width) 1fr auto;grid-template-rows:var(--logo-width);align-items:center;gap:8px;cursor:pointer;padding:1em}.recruitment-info-card summary img{display:block;width:var(--logo-width);height:auto}.recruitment-info-card summary:after{content:"";width:18px;height:18px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1em' height='1em' viewBox='0 0 24 24'%3E%3C!-- Icon from Google Material Icons by Material Design Authors - https://github.com/material-icons/material-icons/blob/master/LICENSE --%3E%3Cpath fill='currentColor' d='M7.41 8.59L12 13.17l4.59-4.58L18 10l-6 6l-6-6z'/%3E%3C/svg%3E");background-size:cover;margin-inline-start:auto;transition:1s var(--ease-spring-1)}.recruitment-info-card[open]>summary:after{transform:rotate(180deg)}.recruitment-info-card[open]{background-color:var(--vbr-widget-primary-color-50)}.recruitment-info-card ul{display:grid;grid-template-columns:max-content 1fr;gap:10px 16px;padding:0 1em 1em}.recruitment-info-card li{display:contents;color:var(--vbr-widget-primary-color-400)}.recruitment-info-card li>div{color:var(--vbr-widget-primary-color-900)}.recruitment-info-card li span{justify-self:end}.recruitment-info-filter{margin-block-end:1rem}.recruitment-info-filter input{max-width:38%}.no-result{font-weight:700;padding-block:1em;text-align:center;color:var(--vbr-widget-primary-color-300)}.recruitment-paginator-container{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));align-items:center;color:var(--vbr-widget-primary-color-500)}`, il = ".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}", nl = { class: "recruitment-info-filter" }, sl = {
|
|
3208
3214
|
for: "organization",
|
|
3209
3215
|
class: "label"
|
|
3210
|
-
},
|
|
3216
|
+
}, ll = ["placeholder"], cl = {
|
|
3211
3217
|
key: 2,
|
|
3212
3218
|
class: "no-result"
|
|
3213
|
-
},
|
|
3219
|
+
}, dl = { key: 0 }, gl = ["innerHTML"], ul = { class: "recruitment-paginator-container" }, ml = {
|
|
3214
3220
|
key: 0,
|
|
3215
3221
|
style: { "text-align": "right" }
|
|
3216
|
-
},
|
|
3222
|
+
}, pl = {
|
|
3217
3223
|
__name: "RecruitmentInfo.ce",
|
|
3218
3224
|
props: {
|
|
3219
3225
|
locale: {
|
|
@@ -3230,94 +3236,94 @@ const rl = `.recruitment-info-card{--logo-width: 30px;border-radius:var(--vbr-wi
|
|
|
3230
3236
|
}
|
|
3231
3237
|
},
|
|
3232
3238
|
setup(e) {
|
|
3233
|
-
const t = e, r = { en: be, hu: he }, { onError: a, error: o, hasError: i, reset: s } =
|
|
3239
|
+
const t = e, r = { en: be, hu: he }, { onError: a, error: o, hasError: i, reset: s } = va(), {
|
|
3234
3240
|
state: l,
|
|
3235
3241
|
isLoading: d,
|
|
3236
3242
|
execute: g
|
|
3237
|
-
} =
|
|
3243
|
+
} = Z({
|
|
3238
3244
|
options: {
|
|
3239
3245
|
path: "/v2/recruitment-info",
|
|
3240
3246
|
apiKey: t.apiKey,
|
|
3241
3247
|
params: {},
|
|
3242
3248
|
immediate: !0
|
|
3243
3249
|
},
|
|
3244
|
-
transform:
|
|
3250
|
+
transform: Qs,
|
|
3245
3251
|
onError: a
|
|
3246
|
-
}), u =
|
|
3247
|
-
() =>
|
|
3248
|
-
),
|
|
3249
|
-
|
|
3250
|
-
|
|
3252
|
+
}), u = K(""), { page: v, change: y } = pr(), b = N(
|
|
3253
|
+
() => Pe(l.value).filter(u.value, ["organizationName", "recruitmentCity", "recruitmentTeamName"]).pagination(v.value, t.limit).value()
|
|
3254
|
+
), _ = N(() => [(v.value - 1) * t.limit + 1, Math.min(v.value * t.limit, b.value.totalItems)]);
|
|
3255
|
+
re(u, () => {
|
|
3256
|
+
v.value !== 1 && (v.value = 1);
|
|
3251
3257
|
});
|
|
3252
|
-
function
|
|
3258
|
+
function f() {
|
|
3253
3259
|
s(), g();
|
|
3254
3260
|
}
|
|
3255
|
-
return (
|
|
3261
|
+
return ($, z) => (m(), P(n(ve), {
|
|
3256
3262
|
locale: e.locale,
|
|
3257
3263
|
messages: r
|
|
3258
3264
|
}, {
|
|
3259
|
-
default: E(({ t:
|
|
3260
|
-
c("div",
|
|
3261
|
-
c("label",
|
|
3262
|
-
|
|
3265
|
+
default: E(({ t: C }) => [
|
|
3266
|
+
c("div", nl, [
|
|
3267
|
+
c("label", sl, p(C("selection.filter")), 1),
|
|
3268
|
+
Kr(c("input", {
|
|
3263
3269
|
id: "organization",
|
|
3264
|
-
"onUpdate:modelValue":
|
|
3265
|
-
placeholder:
|
|
3270
|
+
"onUpdate:modelValue": z[0] || (z[0] = (x) => u.value = x),
|
|
3271
|
+
placeholder: C("recruitmentInfo.filterByNameAndLocation"),
|
|
3266
3272
|
type: "text",
|
|
3267
3273
|
autocomplete: "off",
|
|
3268
3274
|
class: "base-input"
|
|
3269
|
-
}, null, 8,
|
|
3270
|
-
[
|
|
3275
|
+
}, null, 8, ll), [
|
|
3276
|
+
[Fr, u.value]
|
|
3271
3277
|
])
|
|
3272
3278
|
]),
|
|
3273
3279
|
n(i) ? (m(), P(n($e), {
|
|
3274
3280
|
key: 0,
|
|
3275
3281
|
error: n(o),
|
|
3276
3282
|
"use-retry": "",
|
|
3277
|
-
onRetry:
|
|
3278
|
-
}, null, 8, ["error"])) :
|
|
3279
|
-
n(d) ? (m(), P(n(
|
|
3280
|
-
n(l).length > 0 &&
|
|
3281
|
-
(m(!0), w(O, null,
|
|
3283
|
+
onRetry: f
|
|
3284
|
+
}, null, 8, ["error"])) : L("", !0),
|
|
3285
|
+
n(d) ? (m(), P(n(Ze), { key: 1 })) : L("", !0),
|
|
3286
|
+
n(l).length > 0 && b.value.rows.length === 0 ? (m(), w("div", cl, p(C("recruitmentInfo.noResult")), 1)) : L("", !0),
|
|
3287
|
+
(m(!0), w(O, null, V(b.value.rows, (x) => (m(), w("details", {
|
|
3282
3288
|
key: x.organizationName,
|
|
3283
3289
|
class: "recruitment-info-card"
|
|
3284
3290
|
}, [
|
|
3285
3291
|
c("summary", null, [
|
|
3286
|
-
|
|
3292
|
+
k(n(ge), {
|
|
3287
3293
|
src: `https://ivr-api.icehockey.hu${x.organizationLogo}`,
|
|
3288
3294
|
"default-src": "data:image/svg+xml,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg' fill='%23cfd8dc'%3E%3Ccircle cx='15' cy='15' r='15' /%3E%3C/svg%3E"
|
|
3289
3295
|
}, null, 8, ["src"]),
|
|
3290
3296
|
c("strong", null, [
|
|
3291
|
-
|
|
3292
|
-
x.recruitmentTeamName ? (m(), w("span",
|
|
3297
|
+
Q(p(x.organizationName) + " ", 1),
|
|
3298
|
+
x.recruitmentTeamName ? (m(), w("span", dl, "(" + p(x.recruitmentTeamName) + ")", 1)) : L("", !0)
|
|
3293
3299
|
])
|
|
3294
3300
|
]),
|
|
3295
3301
|
c("ul", null, [
|
|
3296
|
-
(m(!0), w(O, null,
|
|
3297
|
-
c("span", null, p(
|
|
3298
|
-
|
|
3299
|
-
c("div", { innerHTML:
|
|
3302
|
+
(m(!0), w(O, null, V(x.recruitment, (h, S) => (m(), w("li", { key: S }, [
|
|
3303
|
+
c("span", null, p(C(`recruitmentInfo.${S}`)) + ":", 1),
|
|
3304
|
+
z[1] || (z[1] = Q()),
|
|
3305
|
+
c("div", { innerHTML: h }, null, 8, gl)
|
|
3300
3306
|
]))), 128))
|
|
3301
3307
|
])
|
|
3302
3308
|
]))), 128)),
|
|
3303
|
-
c("div",
|
|
3304
|
-
|
|
3305
|
-
page: n(
|
|
3309
|
+
c("div", ul, [
|
|
3310
|
+
k(n(cr), {
|
|
3311
|
+
page: n(v),
|
|
3306
3312
|
"items-per-page": t.limit,
|
|
3307
|
-
"total-items":
|
|
3313
|
+
"total-items": b.value.totalItems,
|
|
3308
3314
|
"range-length": 5,
|
|
3309
3315
|
onChange: n(y)
|
|
3310
3316
|
}, null, 8, ["page", "items-per-page", "total-items", "onChange"]),
|
|
3311
|
-
|
|
3317
|
+
b.value.totalItems > 0 ? (m(), w("div", ml, p(C("table.info", { min: _.value[0], max: _.value[1], total: b.value.totalItems })), 1)) : L("", !0)
|
|
3312
3318
|
])
|
|
3313
3319
|
]),
|
|
3314
3320
|
_: 1
|
|
3315
3321
|
}, 8, ["locale"]));
|
|
3316
3322
|
}
|
|
3317
|
-
},
|
|
3323
|
+
}, vl = /* @__PURE__ */ ye(pl, [["styles", [fe, ol, je, il]]]), bl = { class: "g-row" }, hl = {
|
|
3318
3324
|
for: "season",
|
|
3319
3325
|
class: "label"
|
|
3320
|
-
},
|
|
3326
|
+
}, fl = ["value"], yl = ["onClick"], wl = {
|
|
3321
3327
|
__name: "SeasonSelector",
|
|
3322
3328
|
props: {
|
|
3323
3329
|
seasons: {
|
|
@@ -3339,7 +3345,7 @@ const rl = `.recruitment-info-card{--logo-width: 30px;border-radius:var(--vbr-wi
|
|
|
3339
3345
|
},
|
|
3340
3346
|
emits: ["onChangeSeason", "onChangeSection"],
|
|
3341
3347
|
setup(e, { emit: t }) {
|
|
3342
|
-
const r = e, a = t, { t: o } = ce(), i =
|
|
3348
|
+
const r = e, a = t, { t: o } = ce(), i = N({
|
|
3343
3349
|
get() {
|
|
3344
3350
|
return r.championshipId;
|
|
3345
3351
|
},
|
|
@@ -3351,46 +3357,46 @@ const rl = `.recruitment-info-card{--logo-width: 30px;border-radius:var(--vbr-wi
|
|
|
3351
3357
|
a("onChangeSection", l);
|
|
3352
3358
|
}
|
|
3353
3359
|
return (l, d) => (m(), w(O, null, [
|
|
3354
|
-
c("div",
|
|
3360
|
+
c("div", bl, [
|
|
3355
3361
|
c("div", null, [
|
|
3356
|
-
c("label",
|
|
3357
|
-
|
|
3362
|
+
c("label", hl, p(n(o)("selection.season")), 1),
|
|
3363
|
+
k(n(ke), {
|
|
3358
3364
|
id: "season",
|
|
3359
3365
|
modelValue: i.value,
|
|
3360
3366
|
"onUpdate:modelValue": d[0] || (d[0] = (g) => i.value = g)
|
|
3361
3367
|
}, {
|
|
3362
3368
|
default: E(() => [
|
|
3363
|
-
(m(!0), w(O, null,
|
|
3369
|
+
(m(!0), w(O, null, V(e.seasons, (g) => (m(), w("option", {
|
|
3364
3370
|
key: g.championshipId,
|
|
3365
3371
|
value: g.championshipId
|
|
3366
|
-
}, p(g.seasonName), 9,
|
|
3372
|
+
}, p(g.seasonName), 9, fl))), 128))
|
|
3367
3373
|
]),
|
|
3368
3374
|
_: 1
|
|
3369
3375
|
}, 8, ["modelValue"])
|
|
3370
3376
|
])
|
|
3371
3377
|
]),
|
|
3372
3378
|
c("div", null, [
|
|
3373
|
-
(m(!0), w(O, null,
|
|
3379
|
+
(m(!0), w(O, null, V(e.sections, (g) => (m(), w("button", {
|
|
3374
3380
|
key: g.phaseId,
|
|
3375
3381
|
class: G(["tab-button", { "is-active": g.sectionId === e.sectionId }]),
|
|
3376
3382
|
onClick: (u) => s(g)
|
|
3377
|
-
}, p(g.sectionName), 11,
|
|
3383
|
+
}, p(g.sectionName), 11, yl))), 128))
|
|
3378
3384
|
])
|
|
3379
3385
|
], 64));
|
|
3380
3386
|
}
|
|
3381
3387
|
};
|
|
3382
|
-
function
|
|
3388
|
+
function xl(e, t) {
|
|
3383
3389
|
if (e.length === 0)
|
|
3384
|
-
throw new
|
|
3385
|
-
t.seasons =
|
|
3390
|
+
throw new ur(Fe.message, Fe.options);
|
|
3391
|
+
t.seasons = kl(e), t.championshipId || (t.championshipId = H(t.seasons).championshipId);
|
|
3386
3392
|
}
|
|
3387
|
-
function
|
|
3388
|
-
t.sections =
|
|
3393
|
+
function _l(e, t) {
|
|
3394
|
+
t.sections = Xe(le("sectionId"))(e), t.sectionId = It(le("sectionId"), H)(t.sections), t.phaseId = $r([0, "phases", 0], e)?.phaseId ?? null;
|
|
3389
3395
|
}
|
|
3390
|
-
function
|
|
3391
|
-
return
|
|
3396
|
+
function kl(e) {
|
|
3397
|
+
return It(Ir(zr(le("seasonName"))), St(Ct(["championshipId", "seasonName"])))(e);
|
|
3392
3398
|
}
|
|
3393
|
-
const
|
|
3399
|
+
const zl = {
|
|
3394
3400
|
gameName: {
|
|
3395
3401
|
label: "table.gameName.short",
|
|
3396
3402
|
tooltip: "table.gameName.tooltip",
|
|
@@ -3427,13 +3433,13 @@ const _l = {
|
|
|
3427
3433
|
class: "is-text-left"
|
|
3428
3434
|
}
|
|
3429
3435
|
};
|
|
3430
|
-
function
|
|
3431
|
-
return (t) =>
|
|
3436
|
+
function Sl(e) {
|
|
3437
|
+
return (t) => St((r) => ({
|
|
3432
3438
|
...r,
|
|
3433
3439
|
...r.registration && { registration: `${r.registration}/cid/${e}` }
|
|
3434
3440
|
}))(t);
|
|
3435
3441
|
}
|
|
3436
|
-
const
|
|
3442
|
+
const $l = {
|
|
3437
3443
|
__name: "DataProvider",
|
|
3438
3444
|
props: {
|
|
3439
3445
|
championshipName: {
|
|
@@ -3468,51 +3474,51 @@ const zl = {
|
|
|
3468
3474
|
sections: [],
|
|
3469
3475
|
sectionId: null,
|
|
3470
3476
|
phaseId: null
|
|
3471
|
-
}), { onError: a } = De(), { isLoading: o, execute: i } =
|
|
3477
|
+
}), { onError: a } = De(), { isLoading: o, execute: i } = Z({
|
|
3472
3478
|
options: {
|
|
3473
3479
|
path: "/v2/championship-seasons",
|
|
3474
3480
|
apiKey: t.apiKey,
|
|
3475
3481
|
params: { championshipName: t.championshipName }
|
|
3476
3482
|
},
|
|
3477
|
-
transform: (
|
|
3483
|
+
transform: (f) => xl(f, r),
|
|
3478
3484
|
onError: a
|
|
3479
|
-
}), { isLoading: s, execute: l } =
|
|
3485
|
+
}), { isLoading: s, execute: l } = Z({
|
|
3480
3486
|
options: {
|
|
3481
3487
|
path: "/v2/championship-sections",
|
|
3482
3488
|
apiKey: t.apiKey,
|
|
3483
|
-
params:
|
|
3489
|
+
params: N(() => ({ championshipId: r.championshipId }))
|
|
3484
3490
|
},
|
|
3485
|
-
transform: (
|
|
3491
|
+
transform: (f) => _l(f, r),
|
|
3486
3492
|
onError: a
|
|
3487
3493
|
}), {
|
|
3488
3494
|
isLoading: d,
|
|
3489
3495
|
state: g,
|
|
3490
3496
|
execute: u
|
|
3491
|
-
} =
|
|
3497
|
+
} = Z({
|
|
3492
3498
|
options: {
|
|
3493
3499
|
path: "/v2/games-list",
|
|
3494
3500
|
apiKey: t.apiKey,
|
|
3495
|
-
params:
|
|
3501
|
+
params: N(() => ({ championshipId: r.championshipId, phaseId: r.phaseId }))
|
|
3496
3502
|
},
|
|
3497
|
-
transform: (
|
|
3503
|
+
transform: (f) => Me(mr, Sl(r.championshipId))(f),
|
|
3498
3504
|
onError: a
|
|
3499
|
-
}),
|
|
3505
|
+
}), v = N(() => Pe(g.value).schedule(t.timezone, t.locale).value());
|
|
3500
3506
|
Se([i, l, u]);
|
|
3501
|
-
const y =
|
|
3502
|
-
function
|
|
3503
|
-
r.championshipId =
|
|
3507
|
+
const y = N(() => [s.value, o.value, d.value].some(Boolean));
|
|
3508
|
+
function b(f) {
|
|
3509
|
+
r.championshipId = f, Se([l, u]);
|
|
3504
3510
|
}
|
|
3505
|
-
function
|
|
3506
|
-
r.sectionId =
|
|
3511
|
+
function _(f) {
|
|
3512
|
+
r.sectionId = f.sectionId, r.phaseId = $r(["phases", 0, "phaseId"], f), u();
|
|
3507
3513
|
}
|
|
3508
|
-
return (
|
|
3509
|
-
rows:
|
|
3514
|
+
return (f, $) => xe(f.$slots, "default", Ee(Ae({
|
|
3515
|
+
rows: v.value,
|
|
3510
3516
|
isLoading: y.value,
|
|
3511
|
-
values: n(
|
|
3512
|
-
listeners: { onChangeSection:
|
|
3517
|
+
values: n(Sr)(["phaseId"], r),
|
|
3518
|
+
listeners: { onChangeSection: _, onChangeSeason: b }
|
|
3513
3519
|
})));
|
|
3514
3520
|
}
|
|
3515
|
-
},
|
|
3521
|
+
}, Il = ["href"], Cl = ["href"], Nl = {
|
|
3516
3522
|
__name: "ScheduleCupDataTable",
|
|
3517
3523
|
props: {
|
|
3518
3524
|
columns: {
|
|
@@ -3533,10 +3539,10 @@ const zl = {
|
|
|
3533
3539
|
}
|
|
3534
3540
|
},
|
|
3535
3541
|
setup(e) {
|
|
3536
|
-
const t = e, r =
|
|
3542
|
+
const t = e, r = K(null), { columns: a } = ba(
|
|
3537
3543
|
t.columns,
|
|
3538
3544
|
null,
|
|
3539
|
-
|
|
3545
|
+
N(() => ({
|
|
3540
3546
|
offsetName: t.offsetName
|
|
3541
3547
|
}))
|
|
3542
3548
|
), { t: o } = ce();
|
|
@@ -3544,30 +3550,30 @@ const zl = {
|
|
|
3544
3550
|
ref_key: "tooltipContainer",
|
|
3545
3551
|
ref: r
|
|
3546
3552
|
}, [
|
|
3547
|
-
|
|
3553
|
+
k(n(dr), null, {
|
|
3548
3554
|
default: E(() => [
|
|
3549
|
-
|
|
3555
|
+
k(n(Zr), {
|
|
3550
3556
|
columns: n(a),
|
|
3551
3557
|
rows: e.rows,
|
|
3552
3558
|
"is-loading": e.isLoading,
|
|
3553
3559
|
"append-to": r.value
|
|
3554
3560
|
}, {
|
|
3555
3561
|
"cell-homeTeamName": E(({ row: l }) => [
|
|
3556
|
-
|
|
3562
|
+
Q(p(l.homeTeam?.longName ?? ""), 1)
|
|
3557
3563
|
]),
|
|
3558
3564
|
"cell-location": E(({ row: l }) => [
|
|
3559
|
-
|
|
3565
|
+
Q(p(l.location?.locationName ?? ""), 1)
|
|
3560
3566
|
]),
|
|
3561
3567
|
"cell-document": E(({ row: l }) => [
|
|
3562
3568
|
l.schedule ? (m(), w("a", {
|
|
3563
3569
|
key: 0,
|
|
3564
3570
|
href: l.schedule,
|
|
3565
3571
|
target: "_blank"
|
|
3566
|
-
}, p(n(o)("schedule")), 9,
|
|
3572
|
+
}, p(n(o)("schedule")), 9, Il)) : l.registration ? (m(), w("a", {
|
|
3567
3573
|
key: 1,
|
|
3568
3574
|
href: l.registration,
|
|
3569
3575
|
target: "_blank"
|
|
3570
|
-
}, p(n(o)("registration")), 9,
|
|
3576
|
+
}, p(n(o)("registration")), 9, Cl)) : L("", !0)
|
|
3571
3577
|
]),
|
|
3572
3578
|
_: 1
|
|
3573
3579
|
}, 8, ["columns", "rows", "is-loading", "append-to"])
|
|
@@ -3576,7 +3582,7 @@ const zl = {
|
|
|
3576
3582
|
})
|
|
3577
3583
|
], 512));
|
|
3578
3584
|
}
|
|
3579
|
-
},
|
|
3585
|
+
}, Tl = {
|
|
3580
3586
|
__name: "ScheduleCup.ce",
|
|
3581
3587
|
props: {
|
|
3582
3588
|
locale: {
|
|
@@ -3597,27 +3603,27 @@ const zl = {
|
|
|
3597
3603
|
// },
|
|
3598
3604
|
},
|
|
3599
3605
|
setup(e) {
|
|
3600
|
-
const t = e, r = { en: be, hu: he }, a =
|
|
3606
|
+
const t = e, r = { en: be, hu: he }, a = K(tt()), o = N(() => et(/* @__PURE__ */ new Date(), a.value, t.locale));
|
|
3601
3607
|
return (i, s) => (m(), P(n(ve), {
|
|
3602
3608
|
locale: t.locale,
|
|
3603
3609
|
messages: r
|
|
3604
3610
|
}, {
|
|
3605
3611
|
default: E(() => [
|
|
3606
|
-
|
|
3612
|
+
k(n(Le), null, {
|
|
3607
3613
|
default: E(({ error: l, hasError: d }) => [
|
|
3608
3614
|
d ? (m(), P(n($e), {
|
|
3609
3615
|
key: 0,
|
|
3610
3616
|
error: l
|
|
3611
|
-
}, null, 8, ["error"])) :
|
|
3612
|
-
|
|
3617
|
+
}, null, 8, ["error"])) : L("", !0),
|
|
3618
|
+
k($l, {
|
|
3613
3619
|
"championship-name": e.championshipName,
|
|
3614
3620
|
locale: e.locale,
|
|
3615
3621
|
timezone: a.value
|
|
3616
3622
|
}, {
|
|
3617
|
-
default: E(({ rows: g, isLoading: u, values:
|
|
3618
|
-
|
|
3619
|
-
|
|
3620
|
-
columns: n(
|
|
3623
|
+
default: E(({ rows: g, isLoading: u, values: v, listeners: y }) => [
|
|
3624
|
+
k(wl, or(v, Vr(y)), null, 16),
|
|
3625
|
+
k(Nl, {
|
|
3626
|
+
columns: n(zl),
|
|
3621
3627
|
rows: g.rows,
|
|
3622
3628
|
"is-loading": u,
|
|
3623
3629
|
"offset-name": o.value
|
|
@@ -3632,19 +3638,19 @@ const zl = {
|
|
|
3632
3638
|
_: 1
|
|
3633
3639
|
}, 8, ["locale"]));
|
|
3634
3640
|
}
|
|
3635
|
-
},
|
|
3641
|
+
}, El = /* @__PURE__ */ ye(Tl, [["styles", [fe, st, je, Cr, Nr, Tr, Er]]]), Al = {
|
|
3636
3642
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3637
3643
|
viewBox: "0 0 24 24"
|
|
3638
3644
|
};
|
|
3639
|
-
function
|
|
3640
|
-
return m(), w("svg",
|
|
3645
|
+
function Ll(e, t) {
|
|
3646
|
+
return m(), w("svg", Al, [...t[0] || (t[0] = [
|
|
3641
3647
|
c("path", {
|
|
3642
3648
|
fill: "currentColor",
|
|
3643
3649
|
d: "M3 18h18v-2H3zm0-5h18v-2H3zm0-7v2h18V6z"
|
|
3644
3650
|
}, null, -1)
|
|
3645
|
-
]));
|
|
3651
|
+
])]);
|
|
3646
3652
|
}
|
|
3647
|
-
const
|
|
3653
|
+
const Pl = { render: Ll }, Dl = ["onClick", "onFocus", "onBlur"], Ml = { class: "is-dropdown-menu" }, jl = ["onClick"], Ol = /* @__PURE__ */ Object.assign({
|
|
3648
3654
|
inheritAttrs: !1
|
|
3649
3655
|
}, {
|
|
3650
3656
|
__name: "ChampionshipSelector",
|
|
@@ -3665,7 +3671,7 @@ const Al = { render: El }, Pl = ["onClick", "onFocus", "onBlur"], Ll = { class:
|
|
|
3665
3671
|
emits: ["change"],
|
|
3666
3672
|
setup(e, { emit: t }) {
|
|
3667
3673
|
const r = t;
|
|
3668
|
-
return (a, o) => (m(), P(n(
|
|
3674
|
+
return (a, o) => (m(), P(n(ea), {
|
|
3669
3675
|
offset: 2,
|
|
3670
3676
|
placement: "bottom-end",
|
|
3671
3677
|
theme: "content",
|
|
@@ -3676,30 +3682,30 @@ const Al = { render: El }, Pl = ["onClick", "onFocus", "onBlur"], Ll = { class:
|
|
|
3676
3682
|
c("button", {
|
|
3677
3683
|
ref: i,
|
|
3678
3684
|
type: "button",
|
|
3679
|
-
onClick:
|
|
3685
|
+
onClick: qr(s, ["stop"]),
|
|
3680
3686
|
onFocus: s,
|
|
3681
3687
|
onBlur: l
|
|
3682
3688
|
}, [
|
|
3683
|
-
|
|
3684
|
-
], 40,
|
|
3689
|
+
k(n(Pl), { style: { display: "block", height: "20px" } })
|
|
3690
|
+
], 40, Dl)
|
|
3685
3691
|
]),
|
|
3686
3692
|
content: E(() => [
|
|
3687
|
-
c("ul",
|
|
3688
|
-
(m(!0), w(O, null,
|
|
3693
|
+
c("ul", Ml, [
|
|
3694
|
+
(m(!0), w(O, null, V(e.data, (i) => (m(), w("li", {
|
|
3689
3695
|
key: i.championshipId,
|
|
3690
3696
|
class: G(["is-dropdown-item", { "is-selected": e.selected === i.phaseId }]),
|
|
3691
3697
|
onClick: (s) => r("change", i)
|
|
3692
|
-
}, p(i.name) + " - " + p(i.phase), 11,
|
|
3698
|
+
}, p(i.name) + " - " + p(i.phase), 11, jl))), 128))
|
|
3693
3699
|
])
|
|
3694
3700
|
]),
|
|
3695
3701
|
_: 1
|
|
3696
3702
|
}, 8, ["append-to"]));
|
|
3697
3703
|
}
|
|
3698
3704
|
});
|
|
3699
|
-
function
|
|
3700
|
-
return e.map((t) => ({ ...t, w:
|
|
3705
|
+
function Rl(e) {
|
|
3706
|
+
return e.map((t) => ({ ...t, w: qt([t.w, t.otw, t.sow]), l: qt([t.l, t.otl, t.sol]) }));
|
|
3701
3707
|
}
|
|
3702
|
-
const
|
|
3708
|
+
const Gl = {
|
|
3703
3709
|
__name: "DataProvider",
|
|
3704
3710
|
props: {
|
|
3705
3711
|
apiKey: {
|
|
@@ -3713,34 +3719,34 @@ const Ol = {
|
|
|
3713
3719
|
},
|
|
3714
3720
|
setup(e) {
|
|
3715
3721
|
const t = e, { onError: r, reset: a } = De(), o = de({
|
|
3716
|
-
championshipId:
|
|
3717
|
-
phaseId:
|
|
3718
|
-
path:
|
|
3719
|
-
championshipName:
|
|
3720
|
-
phaseName:
|
|
3721
|
-
isPlayoffs:
|
|
3722
|
-
}), { state: i, isLoading: s, execute: l } =
|
|
3722
|
+
championshipId: H(t.data).championshipId,
|
|
3723
|
+
phaseId: H(t.data).phaseId,
|
|
3724
|
+
path: H(t.data)?.path ?? "",
|
|
3725
|
+
championshipName: H(t.data).name,
|
|
3726
|
+
phaseName: H(t.data)?.phase ?? null,
|
|
3727
|
+
isPlayoffs: H(t.data)?.isPlayoffs ?? !1
|
|
3728
|
+
}), { state: i, isLoading: s, execute: l } = Z({
|
|
3723
3729
|
options: {
|
|
3724
|
-
path:
|
|
3730
|
+
path: N(() => o.isPlayoffs ? "/v2/playoffs-tree" : "/v2/standings"),
|
|
3725
3731
|
apiKey: t.apiKey,
|
|
3726
|
-
params:
|
|
3732
|
+
params: N(() => ({ championshipId: o.championshipId, ...!o.isPlayoffs && { phaseId: o.phaseId } })),
|
|
3727
3733
|
resetOnExecute: !0,
|
|
3728
3734
|
immediate: !0
|
|
3729
3735
|
},
|
|
3730
|
-
transform: (
|
|
3736
|
+
transform: (v) => Rl(v),
|
|
3731
3737
|
onError: r
|
|
3732
|
-
}), d =
|
|
3738
|
+
}), d = N(() => Pe(i.value).addContinuousIndex().value()), g = N(() => ({
|
|
3733
3739
|
tag: o.path ? "a" : "p",
|
|
3734
3740
|
props: {
|
|
3735
3741
|
...o.path && { href: o.path }
|
|
3736
3742
|
}
|
|
3737
3743
|
}));
|
|
3738
|
-
function u({ championshipId:
|
|
3739
|
-
o.championshipId =
|
|
3744
|
+
function u({ championshipId: v, phaseId: y, name: b, path: _, phase: f, isPlayoffs: $ }) {
|
|
3745
|
+
o.championshipId = v, o.path = _ || "", o.phaseId = y, o.championshipName = b, o.phaseName = f, o.isPlayoffs = $ || !1, a(), l();
|
|
3740
3746
|
}
|
|
3741
|
-
return (
|
|
3747
|
+
return (v, y) => xe(v.$slots, "default", Ee(Ae({ convertedRows: d.value, isLoading: n(s), ...o, componentProps: g.value, onChange: u })));
|
|
3742
3748
|
}
|
|
3743
|
-
},
|
|
3749
|
+
}, Ul = { class: "section-title" }, Yl = { class: "is-team" }, Bl = { class: "is-team-name-short" }, Kl = { class: "is-team-name-long" }, Fl = { class: "is-badge is-extra-large is-dark" }, Vl = { class: "is-team" }, ql = { class: "is-team-name-short" }, Hl = { class: "is-team-name-long" }, Wl = {
|
|
3744
3750
|
__name: "PlayoffsList",
|
|
3745
3751
|
props: {
|
|
3746
3752
|
playoffs: {
|
|
@@ -3754,35 +3760,35 @@ const Ol = {
|
|
|
3754
3760
|
},
|
|
3755
3761
|
setup(e) {
|
|
3756
3762
|
const { t } = ce();
|
|
3757
|
-
return (r, a) => (m(), P(n(
|
|
3763
|
+
return (r, a) => (m(), P(n(dr), { class: "playoffs-minimal" }, {
|
|
3758
3764
|
default: E(() => [
|
|
3759
|
-
e.isLoading ? (m(), P(n(
|
|
3760
|
-
(m(!0), w(O, null,
|
|
3765
|
+
e.isLoading ? (m(), P(n(Ze), { key: 0 })) : L("", !0),
|
|
3766
|
+
(m(!0), w(O, null, V(e.playoffs, (o) => (m(), w("div", {
|
|
3761
3767
|
key: `${o.divisionStage2Name}-${o.divisionStageNumber}`,
|
|
3762
3768
|
class: "section"
|
|
3763
3769
|
}, [
|
|
3764
|
-
c("div",
|
|
3770
|
+
c("div", Ul, p(n(t)(`playoffs.${o.divisionStage2Name}${o.divisionStageNumber || ""}`)), 1),
|
|
3765
3771
|
c("ul", null, [
|
|
3766
|
-
c("li",
|
|
3767
|
-
c("span",
|
|
3768
|
-
c("span",
|
|
3772
|
+
c("li", Yl, [
|
|
3773
|
+
c("span", Bl, p(o.homeTeam.shortName), 1),
|
|
3774
|
+
c("span", Kl, p(o.homeTeam.longName), 1)
|
|
3769
3775
|
]),
|
|
3770
3776
|
c("li", null, [
|
|
3771
|
-
|
|
3777
|
+
k(n(ge), {
|
|
3772
3778
|
src: o.homeTeam.logo
|
|
3773
3779
|
}, null, 8, ["src"])
|
|
3774
3780
|
]),
|
|
3775
3781
|
c("li", null, [
|
|
3776
|
-
c("span",
|
|
3782
|
+
c("span", Fl, p(o.seriesStandings), 1)
|
|
3777
3783
|
]),
|
|
3778
3784
|
c("li", null, [
|
|
3779
|
-
|
|
3785
|
+
k(n(ge), {
|
|
3780
3786
|
src: o.awayTeam.logo
|
|
3781
3787
|
}, null, 8, ["src"])
|
|
3782
3788
|
]),
|
|
3783
|
-
c("li",
|
|
3784
|
-
c("span",
|
|
3785
|
-
c("span",
|
|
3789
|
+
c("li", Vl, [
|
|
3790
|
+
c("span", ql, p(o.awayTeam.shortName), 1),
|
|
3791
|
+
c("span", Hl, p(o.awayTeam.longName), 1)
|
|
3786
3792
|
])
|
|
3787
3793
|
])
|
|
3788
3794
|
]))), 128))
|
|
@@ -3790,7 +3796,7 @@ const Ol = {
|
|
|
3790
3796
|
_: 1
|
|
3791
3797
|
}));
|
|
3792
3798
|
}
|
|
3793
|
-
}, Hl = ".standings-selector-title{display:grid;grid-template-columns: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 .is-title-text svg{height:16px;vertical-align:middle}", Wl = '.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-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)}', Jl = ".table-responsive{container-name:table-wrapper;container-type:inline-size;width:100%;overflow-x:auto}.table-responsive table{width:100%}", Xl = ".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}", Ql = ".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}", Zl = ".playoffs .table-grid{display:grid;grid-template-columns:70px 160px 60px minmax(160px,1fr) minmax(40px,60px) 30px minmax(160px,1fr) minmax(180px,1.2fr);color:var(--vbr-widget-table-color)}.playoffs .table-grid:nth-child(odd)>div{background-color:var(--vbr-widget-table-stripped-bg-color)}.playoffs .table-grid:hover>div{background-color:var(--vbr-widget-table-hover-bg-color)}.playoffs .table-grid.is-optional{opacity:.5}.playoffs .table-grid>div{padding:8px}.playoffs .table-grid .is-truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.playoffs .table-grid .is-text-right{text-align:right}.playoffs .table-grid .is-text-center{text-align:center}.playoffs .table-grid .is-text-bold{font-weight:900}.playoffs .table-grid .is-text-light{color:var(--vbr-widget-table-cell-light-color)}.playoffs .table-grid .is-text-dark{color:var(--vbr-widget-table-cell-dark-color)}.playoffs .table-grid .is-text-accent{color:var(--vbr-widget-secondary-color-500)}.playoffs .table-grid .is-team-name-long{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.playoffs .table-grid .is-team-name-short{display:none}@container table-wrapper (max-width: 768px){.playoffs .table-grid .is-team-name-long{display:none}.playoffs .table-grid .is-team-name-short{display:block}}.playoffs .section-title{padding:10px;text-align:center;font-size:var(--vbr-widget-playoffs-header-size);font-weight:700;color:var(--vbr-widget-playoffs-header-color);background-color:var(--vbr-widget-playoffs-header-bg)}.playoffs .section-details{display:grid;grid-template-columns:1fr;align-items:center;justify-items:center;gap:20px;padding:20px;background-color:var(--vbr-widget-playoffs-details-bg)}@media all and (min-width: 576px){.playoffs .section-details{grid-template-columns:1fr fit-content(100px) fit-content(100px) fit-content(100px) 1fr}}.playoffs .section-details .is-team-name-long{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.playoffs .section-details .is-team-name-short{display:none}@container section-details (max-width: 768px){.playoffs .section-details .is-team-name-long{display:none}.playoffs .section-details .is-team-name-short{display:block}}.playoffs .section-details .is-logo-image{width:70px;height:70px}.playoffs .section-details .is-result{font-size:4rem;font-weight:700;text-align:center;color:var(--vbr-widget-primary-color-800)}.playoffs .section-details .is-team-name{font-size:var(--vbr-widget-typography-font-size-700);font-weight:700;color:var(--vbr-widget-primary-color-800)}.playoffs .section-details .is-right{text-align:right}.playoffs-minimal{display:grid;gap:8px}.playoffs-minimal .section .section-title{font-size:var(--vbr-widget-standings-selector-section-title-size);color:var(--vbr-widget-standings-selector-section-title-color);font-weight:700;background:var(--vbr-widget-standings-selector-section-title-bg);text-align:center;padding:var(--vbr-widget-standings-selector-section-title-padding)}.playoffs-minimal .section ul{display:grid;grid-template-columns:minmax(0,1fr) var(--vbr-widget-standings-selector-section-logo-size) auto var(--vbr-widget-standings-selector-section-logo-size) minmax(0,1fr);gap:12px;align-items:center}.playoffs-minimal .section li{padding-block:8px}.playoffs-minimal .section li:first-of-type{text-align:end}.playoffs-minimal .section img{display:block;width:100%;aspect-ratio:1}.playoffs-minimal .section .is-team{font-weight:700;color:var(--vbr-widget-standings-selector-section-team-color);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.playoffs-minimal .section .is-team .is-team-name-short{display:none}@container table-wrapper (max-width: 360px){.playoffs-minimal .section .is-team .is-team-name-long{display:none}.playoffs-minimal .section .is-team .is-team-name-short{display:block}}", ec = { class: "standings-selector" }, tc = { class: "standings-selector-title" }, rc = {
|
|
3799
|
+
}, Jl = ".standings-selector-title{display:grid;grid-template-columns: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 .is-title-text svg{height:16px;vertical-align:middle}", Xl = '.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-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)}', Ql = ".table-responsive{container-name:table-wrapper;container-type:inline-size;width:100%;overflow-x:auto}.table-responsive table{width:100%}", Zl = ".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}", ec = ".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}", tc = ".playoffs .table-grid{display:grid;grid-template-columns:70px 160px 60px minmax(160px,1fr) minmax(40px,60px) 30px minmax(160px,1fr) minmax(180px,1.2fr);color:var(--vbr-widget-table-color)}.playoffs .table-grid:nth-child(odd)>div{background-color:var(--vbr-widget-table-stripped-bg-color)}.playoffs .table-grid:hover>div{background-color:var(--vbr-widget-table-hover-bg-color)}.playoffs .table-grid.is-optional{opacity:.5}.playoffs .table-grid>div{padding:8px}.playoffs .table-grid .is-truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.playoffs .table-grid .is-text-right{text-align:right}.playoffs .table-grid .is-text-center{text-align:center}.playoffs .table-grid .is-text-bold{font-weight:900}.playoffs .table-grid .is-text-light{color:var(--vbr-widget-table-cell-light-color)}.playoffs .table-grid .is-text-dark{color:var(--vbr-widget-table-cell-dark-color)}.playoffs .table-grid .is-text-accent{color:var(--vbr-widget-secondary-color-500)}.playoffs .table-grid .is-team-name-long{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.playoffs .table-grid .is-team-name-short{display:none}@container table-wrapper (max-width: 768px){.playoffs .table-grid .is-team-name-long{display:none}.playoffs .table-grid .is-team-name-short{display:block}}.playoffs .section-title{padding:10px;text-align:center;font-size:var(--vbr-widget-playoffs-header-size);font-weight:700;color:var(--vbr-widget-playoffs-header-color);background-color:var(--vbr-widget-playoffs-header-bg)}.playoffs .section-details{display:grid;grid-template-columns:1fr;align-items:center;justify-items:center;gap:20px;padding:20px;background-color:var(--vbr-widget-playoffs-details-bg)}@media all and (min-width: 576px){.playoffs .section-details{grid-template-columns:1fr fit-content(100px) fit-content(100px) fit-content(100px) 1fr}}.playoffs .section-details .is-team-name-long{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.playoffs .section-details .is-team-name-short{display:none}@container section-details (max-width: 768px){.playoffs .section-details .is-team-name-long{display:none}.playoffs .section-details .is-team-name-short{display:block}}.playoffs .section-details .is-logo-image{width:70px;height:70px}.playoffs .section-details .is-result{font-size:4rem;font-weight:700;text-align:center;color:var(--vbr-widget-primary-color-800)}.playoffs .section-details .is-team-name{font-size:var(--vbr-widget-typography-font-size-700);font-weight:700;color:var(--vbr-widget-primary-color-800)}.playoffs .section-details .is-right{text-align:right}.playoffs-minimal{display:grid;gap:8px}.playoffs-minimal .section .section-title{font-size:var(--vbr-widget-standings-selector-section-title-size);color:var(--vbr-widget-standings-selector-section-title-color);font-weight:700;background:var(--vbr-widget-standings-selector-section-title-bg);text-align:center;padding:var(--vbr-widget-standings-selector-section-title-padding)}.playoffs-minimal .section ul{display:grid;grid-template-columns:minmax(0,1fr) var(--vbr-widget-standings-selector-section-logo-size) auto var(--vbr-widget-standings-selector-section-logo-size) minmax(0,1fr);gap:12px;align-items:center}.playoffs-minimal .section li{padding-block:8px}.playoffs-minimal .section li:first-of-type{text-align:end}.playoffs-minimal .section img{display:block;width:100%;aspect-ratio:1}.playoffs-minimal .section .is-team{font-weight:700;color:var(--vbr-widget-standings-selector-section-team-color);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.playoffs-minimal .section .is-team .is-team-name-short{display:none}@container table-wrapper (max-width: 360px){.playoffs-minimal .section .is-team .is-team-name-long{display:none}.playoffs-minimal .section .is-team .is-team-name-short{display:block}}", rc = { class: "standings-selector" }, ac = { class: "standings-selector-title" }, oc = {
|
|
3794
3800
|
__name: "StandingsSelector.ce",
|
|
3795
3801
|
props: {
|
|
3796
3802
|
locale: {
|
|
@@ -3807,52 +3813,52 @@ const Ol = {
|
|
|
3807
3813
|
}
|
|
3808
3814
|
},
|
|
3809
3815
|
setup(e) {
|
|
3810
|
-
const t = e, r = { en: be, hu: he }, a =
|
|
3816
|
+
const t = e, r = { en: be, hu: he }, a = K(null), o = N(() => typeof t.data == "string" ? JSON.parse(t.data) : t.data);
|
|
3811
3817
|
return (i, s) => (m(), P(n(ve), {
|
|
3812
3818
|
locale: t.locale,
|
|
3813
3819
|
messages: r
|
|
3814
3820
|
}, {
|
|
3815
3821
|
default: E(() => [
|
|
3816
|
-
|
|
3822
|
+
k(n(Le), null, {
|
|
3817
3823
|
default: E(({ error: l, hasError: d }) => [
|
|
3818
|
-
|
|
3819
|
-
default: E(({ convertedRows: g, isLoading: u, path:
|
|
3820
|
-
c("div",
|
|
3821
|
-
c("div",
|
|
3822
|
-
(m(), P(
|
|
3824
|
+
k(Gl, { data: o.value }, {
|
|
3825
|
+
default: E(({ convertedRows: g, isLoading: u, path: v, phaseName: y, componentProps: b, championshipName: _, phaseId: f, isPlayoffs: $, onChange: z }) => [
|
|
3826
|
+
c("div", rc, [
|
|
3827
|
+
c("div", ac, [
|
|
3828
|
+
(m(), P(Hr(b.tag), or(b.props, { class: "is-title-text" }), {
|
|
3823
3829
|
default: E(() => [
|
|
3824
|
-
c("b", null, p(
|
|
3825
|
-
|
|
3826
|
-
|
|
3830
|
+
c("b", null, p(_), 1),
|
|
3831
|
+
Q(" - " + p(y) + " ", 1),
|
|
3832
|
+
v ? (m(), P(n(Nt), { key: 0 })) : L("", !0)
|
|
3827
3833
|
]),
|
|
3828
3834
|
_: 2
|
|
3829
3835
|
}, 1040)),
|
|
3830
|
-
o.value.length > 1 ? (m(), P(
|
|
3836
|
+
o.value.length > 1 ? (m(), P(Ol, {
|
|
3831
3837
|
key: 0,
|
|
3832
3838
|
data: o.value,
|
|
3833
|
-
selected:
|
|
3839
|
+
selected: f,
|
|
3834
3840
|
target: a.value,
|
|
3835
|
-
onChange:
|
|
3836
|
-
}, null, 8, ["data", "selected", "target", "onChange"])) :
|
|
3841
|
+
onChange: z
|
|
3842
|
+
}, null, 8, ["data", "selected", "target", "onChange"])) : L("", !0)
|
|
3837
3843
|
]),
|
|
3838
|
-
|
|
3844
|
+
$ ? (m(), P(Wl, {
|
|
3839
3845
|
key: 0,
|
|
3840
3846
|
playoffs: g.rows,
|
|
3841
3847
|
"is-loading": u
|
|
3842
|
-
}, null, 8, ["playoffs", "is-loading"])) : (m(), P(n(
|
|
3848
|
+
}, null, 8, ["playoffs", "is-loading"])) : (m(), P(n(lr), {
|
|
3843
3849
|
key: 1,
|
|
3844
3850
|
"is-loading": u,
|
|
3845
|
-
columns: n(
|
|
3851
|
+
columns: n(Xr),
|
|
3846
3852
|
rows: g.rows,
|
|
3847
3853
|
"append-to": a.value,
|
|
3848
3854
|
"external-team-resolver": () => {
|
|
3849
3855
|
}
|
|
3850
3856
|
}, null, 8, ["is-loading", "columns", "rows", "append-to"])),
|
|
3851
|
-
|
|
3857
|
+
k(n(Ke), {
|
|
3852
3858
|
rows: g.rows,
|
|
3853
3859
|
"additional-key": "inheritedPoints"
|
|
3854
3860
|
}, null, 8, ["rows"]),
|
|
3855
|
-
|
|
3861
|
+
k(n(Ke), {
|
|
3856
3862
|
rows: g.rows,
|
|
3857
3863
|
"additional-key": "penaltyPoints"
|
|
3858
3864
|
}, null, 8, ["rows"])
|
|
@@ -3867,7 +3873,7 @@ const Ol = {
|
|
|
3867
3873
|
d ? (m(), P(n($e), {
|
|
3868
3874
|
key: 0,
|
|
3869
3875
|
error: l
|
|
3870
|
-
}, null, 8, ["error"])) :
|
|
3876
|
+
}, null, 8, ["error"])) : L("", !0)
|
|
3871
3877
|
]),
|
|
3872
3878
|
_: 1
|
|
3873
3879
|
})
|
|
@@ -3875,30 +3881,30 @@ const Ol = {
|
|
|
3875
3881
|
_: 1
|
|
3876
3882
|
}, 8, ["locale"]));
|
|
3877
3883
|
}
|
|
3878
|
-
},
|
|
3879
|
-
function
|
|
3880
|
-
customElements.define("mjsz-vbr-calendar",
|
|
3884
|
+
}, ic = /* @__PURE__ */ ye(oc, [["styles", [fe, Jl, Xl, Ql, Zl, ec, tc]]]), nc = pe(ji), sc = pe(un), lc = pe(El), cc = pe(Xs), dc = pe(xs), gc = pe(ic), uc = pe(Mn), mc = pe(vl);
|
|
3885
|
+
function pc() {
|
|
3886
|
+
customElements.define("mjsz-vbr-calendar", nc), customElements.define("mjsz-vbr-championship", sc), customElements.define("mjsz-vbr-schedule-cup", lc), customElements.define("mjsz-vbr-ibr-identifiers", cc), customElements.define("mjsz-vbr-games-timeline", dc), customElements.define("mjsz-vbr-standings-selector", gc), customElements.define("mjsz-vbr-countdown", uc), customElements.define("mjsz-vbr-recruitment-info", mc);
|
|
3881
3887
|
}
|
|
3882
|
-
const
|
|
3883
|
-
install: () =>
|
|
3888
|
+
const _c = {
|
|
3889
|
+
install: () => pc()
|
|
3884
3890
|
};
|
|
3885
3891
|
export {
|
|
3886
|
-
|
|
3887
|
-
|
|
3888
|
-
|
|
3889
|
-
|
|
3890
|
-
|
|
3891
|
-
|
|
3892
|
-
|
|
3893
|
-
|
|
3894
|
-
|
|
3895
|
-
|
|
3896
|
-
|
|
3897
|
-
|
|
3898
|
-
|
|
3899
|
-
|
|
3900
|
-
|
|
3901
|
-
|
|
3902
|
-
|
|
3903
|
-
|
|
3892
|
+
ji as Calendar,
|
|
3893
|
+
nc as CalendarCE,
|
|
3894
|
+
un as Championship,
|
|
3895
|
+
sc as ChampionshipCE,
|
|
3896
|
+
Mn as Countdown,
|
|
3897
|
+
uc as CountdownCE,
|
|
3898
|
+
xs as GamesTimeline,
|
|
3899
|
+
dc as GamesTimelineCE,
|
|
3900
|
+
Xs as IVRIdentifiers,
|
|
3901
|
+
cc as IVRIdentifiersCE,
|
|
3902
|
+
vl as RecruitmentInfo,
|
|
3903
|
+
mc as RecruitmentInfoCE,
|
|
3904
|
+
El as ScheduleCup,
|
|
3905
|
+
lc as ScheduleCupCE,
|
|
3906
|
+
ic as StandingsSelector,
|
|
3907
|
+
gc as StandingsSelectorCE,
|
|
3908
|
+
_c as default,
|
|
3909
|
+
pc as register
|
|
3904
3910
|
};
|