@mjsz-vbr-elements/extended 2.37.0 → 2.38.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.iife.js +2 -2
- package/dist/index.iife.js.br +0 -0
- package/dist/index.iife.js.gz +0 -0
- package/dist/index.js +515 -515
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* name: @mjsz-vbr-elements/extended
|
|
3
|
-
* version: v2.
|
|
3
|
+
* version: v2.38.0 - 20/12/2025, 12:49: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 H, isRef as
|
|
9
|
-
import { Image as ie, I18NProvider as ue, ErrorProvider as
|
|
10
|
-
import { gameProps as
|
|
11
|
-
import { format as V, convert as
|
|
12
|
-
import { currentWeekStartEnd as ut, subtractDays as
|
|
8
|
+
import { shallowRef as H, isRef as fe, watch as J, shallowReadonly as St, ref as G, toValue as A, getCurrentScope as dr, onScopeDispose as vr, onMounted as Ye, nextTick as _e, readonly as $t, getCurrentInstance as nt, toRef as Ct, customRef as ur, reactive as le, computed as I, unref as a, toRefs as hr, renderSlot as ye, normalizeProps as Be, guardReactiveProps as Fe, createElementBlock as x, openBlock as u, createElementVNode as l, normalizeClass as re, createTextVNode as q, createCommentVNode as P, toDisplayString as b, Fragment as B, createVNode as S, createBlock as L, withCtx as E, renderList as Z, withDirectives as Tt, vModelText as Nt, Transition as It, useTemplateRef as gr, provide as pr, useId as wr, inject as br, onUnmounted as fr, triggerRef as yr, setBlockTracking as Ne, isMemoSame as xr, mergeProps as Et, toHandlers as kr, resolveDynamicComponent as _r, defineCustomElement as ve } from "vue";
|
|
9
|
+
import { Image as ie, I18NProvider as ue, ErrorProvider as Ue, ErrorNotice as $e, LoadingIndicator as Ke, FetchMoreObserver as zr, FormField as xe, BaseSelect as tt, StatisticsTable as Pt, Paginator as Dt, AdditionalStandingsText as Le, ResponsiveTable as Lt, DataTable as Sr, FloatingPanel as $r } from "@mjsz-vbr-elements/core/components";
|
|
10
|
+
import { gameProps as Cr } from "@mjsz-vbr-elements/core/props";
|
|
11
|
+
import { format as V, convert as Ce, isBefore as Tr, head as ee, isAfter as Mt, last as Nr, offsetName as Ve, getLocalTimezone as He, externalGameLinkResolver as We, filterAndSortSections as At, sortByPhaseId as Ot, WidgetError as jt, InvalidSeasonName as Me, convertSeasons as Rt, sortGames as Gt, convertPhaseName as Ir, rawConvert as Er, playerName as Pr, teamName as Dr, scheduleOptionalRowClass as Lr, convertTimesMinToMinSec as Mr, convertTimesSecToMin as Ar, externalTeamLinkResolver as Or, isEmpty as rt, sortByDomNode as jr, pick as Rr, omit as Yt, selectFirstSectionId as Gr, path as Bt, pipe as Yr, sum as vt } from "@mjsz-vbr-elements/core/utils";
|
|
12
|
+
import { currentWeekStartEnd as ut, subtractDays as Ft, addDays as Ut, isBefore as lt, isAfter as st, startOfMonth as Qe, endOfMonth as Xe, rawConvert as Br, convertGamePeriodResults as Fr, gameProps as Ur, COLUMNS_STANDINGS_SHORT as Kr } from "@mjsz-vbr-elements/core";
|
|
13
13
|
import { useError as qe, useServices as te, useI18n as se, useSort as Vr, usePage as Kt, useLazyLoadingState as Hr, fetchVBRData as Wr, useVisibilityChange as qr, useErrorProvider as Jr, useColumns as Qr } from "@mjsz-vbr-elements/core/composables";
|
|
14
14
|
import { COLUMNS_SCHEDULE as Vt, COLUMNS_STANDINGS_P_PER as Xr, COLUMNS_STANDINGS_P_3 as Zr, COLUMNS_FIELD_PLAYERS as Ie, COLUMNS_FIELD_PLAYERS_PENALTY as eo, COLUMNS_GOALIES as ht, COLUMNS_TEAMS_FAIRPLAY as to, COLUMNS_TEAMS_PENALTY_KILLING as ro, COLUMNS_TEAMS_POWERPLAY as oo, COLUMNS_SCORING_EFFICIENCY as ao } from "@mjsz-vbr-elements/core/columns";
|
|
15
15
|
import { SORT_STATE_DESCEND as W } from "@mjsz-vbr-elements/core/constants";
|
|
16
|
-
const io = "Schedule", no = "Application form", lo = { 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):" }, so = { 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" }, co = { 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" }, mo = { section: { short: "Section", tooltip: "Section" }, organizer: { short: "Organizer", tooltip: "Organizer Team" }, document: { short: "Document", tooltip: "Application Form/Schedule" } }, vo = { gamesPlayed: "Games played", todaysGames: "Today's games", nextGames: "Next games", weekGames: "Games of the week", noGame: "No games can be displayed", more: "More" }, uo = { allSchedule: "Games Schedule", errorText: "Something went wrong!", errorCta: "Try Again", noGames: "No games can be displayed" }, ho = { days: "Days", hours: "Hours", minutes: "Minutes", seconds: "Seconds" },
|
|
16
|
+
const io = "Schedule", no = "Application form", lo = { 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):" }, so = { 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" }, co = { 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" }, mo = { section: { short: "Section", tooltip: "Section" }, organizer: { short: "Organizer", tooltip: "Organizer Team" }, document: { short: "Document", tooltip: "Application Form/Schedule" } }, vo = { gamesPlayed: "Games played", todaysGames: "Today's games", nextGames: "Next games", weekGames: "Games of the week", noGame: "No games can be displayed", more: "More" }, uo = { allSchedule: "Games Schedule", errorText: "Something went wrong!", errorCta: "Try Again", noGames: "No games can be displayed" }, ho = { days: "Days", hours: "Hours", minutes: "Minutes", seconds: "Seconds" }, go = { 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" }, he = {
|
|
17
17
|
schedule: io,
|
|
18
18
|
registration: no,
|
|
19
19
|
selection: lo,
|
|
@@ -23,12 +23,12 @@ const io = "Schedule", no = "Application form", lo = { report: "Report", video:
|
|
|
23
23
|
calendar: vo,
|
|
24
24
|
gamesTimeline: uo,
|
|
25
25
|
countdown: ho,
|
|
26
|
-
recruitmentInfo:
|
|
27
|
-
},
|
|
28
|
-
schedule:
|
|
26
|
+
recruitmentInfo: go
|
|
27
|
+
}, po = "Sorsolás", wo = "Jelentkezés", bo = { 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):" }, fo = { 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" }, yo = { 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ő" }, xo = { section: { short: "Szakasz", tooltip: "Szakasz" }, organizer: { short: "Rendező", tooltip: "Rendező csapat" }, document: { short: "Dokumentum", tooltip: "Jelentkezés/Sorsolás" } }, ko = { 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" }, _o = { allSchedule: "Teljes menetrend", errorText: "Valami hiba történt!", errorCta: "Próbáld újra", noGames: "Nincs megjeleníthető mérkőzés" }, zo = { days: "Nap", hours: "Óra", minutes: "Perc", seconds: "Másodperc" }, So = { 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" }, ge = {
|
|
28
|
+
schedule: po,
|
|
29
29
|
registration: wo,
|
|
30
|
-
selection:
|
|
31
|
-
report:
|
|
30
|
+
selection: bo,
|
|
31
|
+
report: fo,
|
|
32
32
|
playoffs: yo,
|
|
33
33
|
table: xo,
|
|
34
34
|
calendar: ko,
|
|
@@ -37,29 +37,29 @@ const io = "Schedule", no = "Application form", lo = { report: "Report", video:
|
|
|
37
37
|
recruitmentInfo: So
|
|
38
38
|
}, de = "gamesPlayed", ze = "todaysGames", Se = "nextGames", Ae = "weekGames";
|
|
39
39
|
function $o(e, t) {
|
|
40
|
-
return t.value = { firstGame: e.firstGame, lastGame: e.lastGame },
|
|
40
|
+
return t.value = { firstGame: e.firstGame, lastGame: e.lastGame }, Br(e.games, Fr);
|
|
41
41
|
}
|
|
42
|
-
const
|
|
42
|
+
const U = /* @__PURE__ */ new Date(), Ee = (/* @__PURE__ */ new Map()).set(ze, () => ({ min: U, max: U, month: null, id: null })).set(Ae, () => ({
|
|
43
43
|
min: ut().startDate,
|
|
44
44
|
max: ut().endDate,
|
|
45
45
|
month: null,
|
|
46
46
|
id: null
|
|
47
47
|
})).set(de, (e = null) => {
|
|
48
|
-
const { year: t, month: o } =
|
|
48
|
+
const { year: t, month: o } = gt(e);
|
|
49
49
|
return {
|
|
50
|
-
min:
|
|
50
|
+
min: pt(new Date(t, o, 1), !0),
|
|
51
51
|
max: wt(new Date(t, o, 1), !0),
|
|
52
52
|
id: `${t}-${o}`
|
|
53
53
|
};
|
|
54
54
|
}).set(Se, (e = null) => {
|
|
55
|
-
const { year: t, month: o } =
|
|
55
|
+
const { year: t, month: o } = gt(e);
|
|
56
56
|
return {
|
|
57
|
-
min:
|
|
57
|
+
min: pt(new Date(t, o, 1)),
|
|
58
58
|
max: wt(new Date(t, o, 1)),
|
|
59
59
|
id: `${t}-${o}`
|
|
60
60
|
};
|
|
61
|
-
}),
|
|
62
|
-
function
|
|
61
|
+
}), Co = (/* @__PURE__ */ new Map()).set(ze, () => []).set(de, (e, t) => To(Ft(U, 1), e, t)).set(Se, (e, t) => No(Ut(U, 1), e, t)).set(Ae, () => []);
|
|
62
|
+
function To(e, t, o) {
|
|
63
63
|
return lt(e, t) ? [] : st(e, o) ? [t, o] : [t, e];
|
|
64
64
|
}
|
|
65
65
|
function No(e, t, o) {
|
|
@@ -84,21 +84,21 @@ function Io(e, t, o, r = "hu") {
|
|
|
84
84
|
}
|
|
85
85
|
return i;
|
|
86
86
|
}
|
|
87
|
-
function
|
|
87
|
+
function gt(e) {
|
|
88
88
|
if (!e)
|
|
89
|
-
return { year:
|
|
89
|
+
return { year: U.getFullYear(), month: U.getMonth() };
|
|
90
90
|
const [t, o] = e.split("-");
|
|
91
91
|
return { year: t, month: o };
|
|
92
92
|
}
|
|
93
|
-
function
|
|
93
|
+
function pt(e, t) {
|
|
94
94
|
if (t)
|
|
95
95
|
return Qe(e);
|
|
96
|
-
const o =
|
|
96
|
+
const o = Ut(U, 1);
|
|
97
97
|
return lt(Qe(e), o) ? o : Qe(e);
|
|
98
98
|
}
|
|
99
99
|
function wt(e, t = !1) {
|
|
100
100
|
if (t) {
|
|
101
|
-
const o =
|
|
101
|
+
const o = Ft(U, 1);
|
|
102
102
|
return st(Xe(e), o) ? o : Xe(e);
|
|
103
103
|
}
|
|
104
104
|
return Xe(e);
|
|
@@ -112,9 +112,9 @@ const Eo = (e) => typeof e < "u", Po = (e) => e != null, Do = Object.prototype.t
|
|
|
112
112
|
};
|
|
113
113
|
function Mo(...e) {
|
|
114
114
|
if (e.length !== 1)
|
|
115
|
-
return
|
|
115
|
+
return Ct(...e);
|
|
116
116
|
const t = e[0];
|
|
117
|
-
return typeof t == "function" ? $t(ur(() => ({ get: t, set: K }))) :
|
|
117
|
+
return typeof t == "function" ? $t(ur(() => ({ get: t, set: K }))) : G(t);
|
|
118
118
|
}
|
|
119
119
|
function ct(e, t) {
|
|
120
120
|
function o(...r) {
|
|
@@ -133,31 +133,31 @@ function Ao(e, t = {}) {
|
|
|
133
133
|
let m;
|
|
134
134
|
return (v) => {
|
|
135
135
|
const d = A(e), s = A(t.maxWait);
|
|
136
|
-
return o && c(o), d <= 0 || s !== void 0 && s <= 0 ? (r && (c(r), r = void 0), Promise.resolve(v())) : new Promise((
|
|
137
|
-
i = t.rejectOnCancel ? w :
|
|
138
|
-
o && c(o), r = void 0,
|
|
136
|
+
return o && c(o), d <= 0 || s !== void 0 && s <= 0 ? (r && (c(r), r = void 0), Promise.resolve(v())) : new Promise((g, w) => {
|
|
137
|
+
i = t.rejectOnCancel ? w : g, m = v, s && !r && (r = setTimeout(() => {
|
|
138
|
+
o && c(o), r = void 0, g(m());
|
|
139
139
|
}, s)), o = setTimeout(() => {
|
|
140
|
-
r && c(r), r = void 0,
|
|
140
|
+
r && c(r), r = void 0, g(v());
|
|
141
141
|
}, d);
|
|
142
142
|
});
|
|
143
143
|
};
|
|
144
144
|
}
|
|
145
145
|
function Oo(...e) {
|
|
146
146
|
let t = 0, o, r = !0, i = K, c, m, n, v, d;
|
|
147
|
-
!
|
|
147
|
+
!fe(e[0]) && typeof e[0] == "object" ? { delay: m, trailing: n = !0, leading: v = !0, rejectOnCancel: d = !1 } = e[0] : [m, n = !0, v = !0, d = !1] = e;
|
|
148
148
|
const s = () => {
|
|
149
149
|
o && (clearTimeout(o), o = void 0, i(), i = K);
|
|
150
150
|
};
|
|
151
151
|
return (w) => {
|
|
152
|
-
const
|
|
153
|
-
return s(),
|
|
154
|
-
i = d ? z :
|
|
155
|
-
t = Date.now(), r = !0,
|
|
156
|
-
}, Math.max(0,
|
|
157
|
-
})), !v && !o && (o = setTimeout(() => r = !0,
|
|
152
|
+
const p = A(m), _ = Date.now() - t, y = () => c = w();
|
|
153
|
+
return s(), p <= 0 ? (t = Date.now(), y()) : (_ > p && (v || !r) ? (t = Date.now(), y()) : n && (c = new Promise((C, z) => {
|
|
154
|
+
i = d ? z : C, o = setTimeout(() => {
|
|
155
|
+
t = Date.now(), r = !0, C(y()), s();
|
|
156
|
+
}, Math.max(0, p - _));
|
|
157
|
+
})), !v && !o && (o = setTimeout(() => r = !0, p)), r = !1, c);
|
|
158
158
|
};
|
|
159
159
|
}
|
|
160
|
-
function
|
|
160
|
+
function jo(e = Ht, t = {}) {
|
|
161
161
|
const {
|
|
162
162
|
initialState: o = "active"
|
|
163
163
|
} = t, r = Mo(o === "active");
|
|
@@ -180,7 +180,7 @@ function at(e, t = !1, o = "Timeout") {
|
|
|
180
180
|
function Pe(e) {
|
|
181
181
|
return Array.isArray(e) ? e : [e];
|
|
182
182
|
}
|
|
183
|
-
function
|
|
183
|
+
function Ro(e) {
|
|
184
184
|
return nt();
|
|
185
185
|
}
|
|
186
186
|
function Wt(e, t = 200, o = {}) {
|
|
@@ -189,8 +189,8 @@ function Wt(e, t = 200, o = {}) {
|
|
|
189
189
|
e
|
|
190
190
|
);
|
|
191
191
|
}
|
|
192
|
-
function
|
|
193
|
-
const r =
|
|
192
|
+
function Go(e, t = 200, o = {}) {
|
|
193
|
+
const r = G(A(e)), i = Wt(() => {
|
|
194
194
|
r.value = e.value;
|
|
195
195
|
}, t, o);
|
|
196
196
|
return J(e, () => i()), St(r);
|
|
@@ -201,7 +201,7 @@ function Yo(e, t = 200, o = !1, r = !0, i = !1) {
|
|
|
201
201
|
e
|
|
202
202
|
);
|
|
203
203
|
}
|
|
204
|
-
function
|
|
204
|
+
function Bo(e, t, o = {}) {
|
|
205
205
|
const {
|
|
206
206
|
eventFilter: r = Ht,
|
|
207
207
|
...i
|
|
@@ -215,13 +215,13 @@ function Fo(e, t, o = {}) {
|
|
|
215
215
|
i
|
|
216
216
|
);
|
|
217
217
|
}
|
|
218
|
-
function
|
|
218
|
+
function Fo(e, t, o = {}) {
|
|
219
219
|
const {
|
|
220
220
|
eventFilter: r,
|
|
221
221
|
initialState: i = "active",
|
|
222
222
|
...c
|
|
223
|
-
} = o, { eventFilter: m, pause: n, resume: v, isActive: d } =
|
|
224
|
-
return { stop:
|
|
223
|
+
} = o, { eventFilter: m, pause: n, resume: v, isActive: d } = jo(r, { initialState: i });
|
|
224
|
+
return { stop: Bo(
|
|
225
225
|
e,
|
|
226
226
|
t,
|
|
227
227
|
{
|
|
@@ -230,75 +230,75 @@ function Uo(e, t, o = {}) {
|
|
|
230
230
|
}
|
|
231
231
|
), pause: n, resume: v, isActive: d };
|
|
232
232
|
}
|
|
233
|
-
function
|
|
234
|
-
|
|
233
|
+
function Uo(e, t = !0, o) {
|
|
234
|
+
Ro() ? Ye(e, o) : t ? e() : _e(e);
|
|
235
235
|
}
|
|
236
236
|
function it(e, t = !1) {
|
|
237
|
-
function o(
|
|
238
|
-
let
|
|
239
|
-
const
|
|
240
|
-
|
|
237
|
+
function o(g, { flush: w = "sync", deep: p = !1, timeout: _, throwOnTimeout: y } = {}) {
|
|
238
|
+
let C = null;
|
|
239
|
+
const T = [new Promise((f) => {
|
|
240
|
+
C = J(
|
|
241
241
|
e,
|
|
242
242
|
(h) => {
|
|
243
|
-
|
|
243
|
+
g(h) !== t && (C ? C() : _e(() => C?.()), f(h));
|
|
244
244
|
},
|
|
245
245
|
{
|
|
246
246
|
flush: w,
|
|
247
|
-
deep:
|
|
247
|
+
deep: p,
|
|
248
248
|
immediate: !0
|
|
249
249
|
}
|
|
250
250
|
);
|
|
251
251
|
})];
|
|
252
|
-
return _ != null &&
|
|
253
|
-
at(_, y).then(() => A(e)).finally(() =>
|
|
254
|
-
), Promise.race(
|
|
255
|
-
}
|
|
256
|
-
function r(
|
|
257
|
-
if (!
|
|
258
|
-
return o((h) => h ===
|
|
259
|
-
const { flush:
|
|
252
|
+
return _ != null && T.push(
|
|
253
|
+
at(_, y).then(() => A(e)).finally(() => C?.())
|
|
254
|
+
), Promise.race(T);
|
|
255
|
+
}
|
|
256
|
+
function r(g, w) {
|
|
257
|
+
if (!fe(g))
|
|
258
|
+
return o((h) => h === g, w);
|
|
259
|
+
const { flush: p = "sync", deep: _ = !1, timeout: y, throwOnTimeout: C } = w ?? {};
|
|
260
260
|
let z = null;
|
|
261
|
-
const
|
|
261
|
+
const f = [new Promise((h) => {
|
|
262
262
|
z = J(
|
|
263
|
-
[e,
|
|
263
|
+
[e, g],
|
|
264
264
|
([k, $]) => {
|
|
265
265
|
t !== (k === $) && (z ? z() : _e(() => z?.()), h(k));
|
|
266
266
|
},
|
|
267
267
|
{
|
|
268
|
-
flush:
|
|
268
|
+
flush: p,
|
|
269
269
|
deep: _,
|
|
270
270
|
immediate: !0
|
|
271
271
|
}
|
|
272
272
|
);
|
|
273
273
|
})];
|
|
274
|
-
return y != null &&
|
|
275
|
-
at(y,
|
|
276
|
-
), Promise.race(
|
|
274
|
+
return y != null && f.push(
|
|
275
|
+
at(y, C).then(() => A(e)).finally(() => (z?.(), A(e)))
|
|
276
|
+
), Promise.race(f);
|
|
277
277
|
}
|
|
278
|
-
function i(
|
|
279
|
-
return o((w) => !!w,
|
|
278
|
+
function i(g) {
|
|
279
|
+
return o((w) => !!w, g);
|
|
280
280
|
}
|
|
281
|
-
function c(
|
|
282
|
-
return r(null,
|
|
281
|
+
function c(g) {
|
|
282
|
+
return r(null, g);
|
|
283
283
|
}
|
|
284
|
-
function m(
|
|
285
|
-
return r(void 0,
|
|
284
|
+
function m(g) {
|
|
285
|
+
return r(void 0, g);
|
|
286
286
|
}
|
|
287
|
-
function n(
|
|
288
|
-
return o(Number.isNaN,
|
|
287
|
+
function n(g) {
|
|
288
|
+
return o(Number.isNaN, g);
|
|
289
289
|
}
|
|
290
|
-
function v(
|
|
291
|
-
return o((
|
|
292
|
-
const _ = Array.from(
|
|
293
|
-
return _.includes(
|
|
290
|
+
function v(g, w) {
|
|
291
|
+
return o((p) => {
|
|
292
|
+
const _ = Array.from(p);
|
|
293
|
+
return _.includes(g) || _.includes(A(g));
|
|
294
294
|
}, w);
|
|
295
295
|
}
|
|
296
|
-
function d(
|
|
297
|
-
return s(1,
|
|
296
|
+
function d(g) {
|
|
297
|
+
return s(1, g);
|
|
298
298
|
}
|
|
299
|
-
function s(
|
|
300
|
-
let
|
|
301
|
-
return o(() => (
|
|
299
|
+
function s(g = 1, w) {
|
|
300
|
+
let p = -1;
|
|
301
|
+
return o(() => (p += 1, p >= g), w);
|
|
302
302
|
}
|
|
303
303
|
return Array.isArray(A(e)) ? {
|
|
304
304
|
toMatch: o,
|
|
@@ -325,7 +325,7 @@ function it(e, t = !1) {
|
|
|
325
325
|
function Ko(e) {
|
|
326
326
|
return it(e);
|
|
327
327
|
}
|
|
328
|
-
function
|
|
328
|
+
function je(e, t = 1e3, o = {}) {
|
|
329
329
|
const {
|
|
330
330
|
immediate: r = !0,
|
|
331
331
|
immediateCallback: i = !1
|
|
@@ -342,7 +342,7 @@ function Re(e, t = 1e3, o = {}) {
|
|
|
342
342
|
const s = A(t);
|
|
343
343
|
s <= 0 || (m.value = !0, i && e(), n(), m.value && (c = setInterval(e, s)));
|
|
344
344
|
}
|
|
345
|
-
if (r && ot && d(),
|
|
345
|
+
if (r && ot && d(), fe(t) || typeof t == "function") {
|
|
346
346
|
const s = J(t, () => {
|
|
347
347
|
m.value && ot && d();
|
|
348
348
|
});
|
|
@@ -370,7 +370,7 @@ function me(e) {
|
|
|
370
370
|
const o = A(e);
|
|
371
371
|
return (t = o?.$el) != null ? t : o;
|
|
372
372
|
}
|
|
373
|
-
function
|
|
373
|
+
function Re(...e) {
|
|
374
374
|
const t = [], o = () => {
|
|
375
375
|
t.forEach((n) => n()), t.length = 0;
|
|
376
376
|
}, r = (n, v, d, s) => (n.addEventListener(v, d, s), () => n.removeEventListener(v, d, s)), i = I(() => {
|
|
@@ -390,11 +390,11 @@ function Ge(...e) {
|
|
|
390
390
|
([n, v, d, s]) => {
|
|
391
391
|
if (o(), !n?.length || !v?.length || !d?.length)
|
|
392
392
|
return;
|
|
393
|
-
const
|
|
393
|
+
const g = Lo(s) ? { ...s } : s;
|
|
394
394
|
t.push(
|
|
395
395
|
...n.flatMap(
|
|
396
396
|
(w) => v.flatMap(
|
|
397
|
-
(
|
|
397
|
+
(p) => d.map((_) => r(w, p, _, g))
|
|
398
398
|
)
|
|
399
399
|
)
|
|
400
400
|
);
|
|
@@ -421,24 +421,24 @@ function qo(e, t, o = {}) {
|
|
|
421
421
|
const m = Wo(() => r && "MutationObserver" in r), n = () => {
|
|
422
422
|
c && (c.disconnect(), c = void 0);
|
|
423
423
|
}, v = I(() => {
|
|
424
|
-
const w = A(e),
|
|
425
|
-
return new Set(
|
|
424
|
+
const w = A(e), p = Pe(w).map(me).filter(Po);
|
|
425
|
+
return new Set(p);
|
|
426
426
|
}), d = J(
|
|
427
427
|
() => v.value,
|
|
428
428
|
(w) => {
|
|
429
|
-
n(), m.value && w.size && (c = new MutationObserver(t), w.forEach((
|
|
429
|
+
n(), m.value && w.size && (c = new MutationObserver(t), w.forEach((p) => c.observe(p, i)));
|
|
430
430
|
},
|
|
431
431
|
{ immediate: !0, flush: "post" }
|
|
432
|
-
), s = () => c?.takeRecords(),
|
|
432
|
+
), s = () => c?.takeRecords(), g = () => {
|
|
433
433
|
d(), n();
|
|
434
434
|
};
|
|
435
|
-
return Oe(
|
|
435
|
+
return Oe(g), {
|
|
436
436
|
isSupported: m,
|
|
437
|
-
stop:
|
|
437
|
+
stop: g,
|
|
438
438
|
takeRecords: s
|
|
439
439
|
};
|
|
440
440
|
}
|
|
441
|
-
function
|
|
441
|
+
function Ge(e, t) {
|
|
442
442
|
const {
|
|
443
443
|
interrupt: o = !0,
|
|
444
444
|
onError: r = K,
|
|
@@ -455,10 +455,10 @@ function je(e, t) {
|
|
|
455
455
|
activeIndex: d,
|
|
456
456
|
result: v
|
|
457
457
|
};
|
|
458
|
-
function s(
|
|
459
|
-
d.value++, v[d.value].data = w, v[d.value].state =
|
|
458
|
+
function s(g, w) {
|
|
459
|
+
d.value++, v[d.value].data = w, v[d.value].state = g;
|
|
460
460
|
}
|
|
461
|
-
return e.reduce((
|
|
461
|
+
return e.reduce((g, w) => g.then((p) => {
|
|
462
462
|
var _;
|
|
463
463
|
if (c?.aborted) {
|
|
464
464
|
s(m.aborted, new Error("aborted"));
|
|
@@ -468,9 +468,9 @@ function je(e, t) {
|
|
|
468
468
|
i();
|
|
469
469
|
return;
|
|
470
470
|
}
|
|
471
|
-
const y = w(
|
|
471
|
+
const y = w(p).then((C) => (s(m.fulfilled, C), d.value === e.length - 1 && i(), C));
|
|
472
472
|
return c ? Promise.race([y, Jo(c)]) : y;
|
|
473
|
-
}).catch((
|
|
473
|
+
}).catch((p) => c?.aborted ? (s(m.aborted, p), p) : (s(m.rejected, p), r(), p)), Promise.resolve()), {
|
|
474
474
|
activeIndex: d,
|
|
475
475
|
result: v
|
|
476
476
|
};
|
|
@@ -490,15 +490,15 @@ function Qo(e, t, o) {
|
|
|
490
490
|
resetOnExecute: n = !0,
|
|
491
491
|
shallow: v = !0,
|
|
492
492
|
throwError: d
|
|
493
|
-
} = o ?? {}, s = v ? H(t) :
|
|
494
|
-
async function _(z = 0, ...
|
|
495
|
-
n && (s.value = t),
|
|
496
|
-
const
|
|
493
|
+
} = o ?? {}, s = v ? H(t) : G(t), g = H(!1), w = H(!1), p = H(void 0);
|
|
494
|
+
async function _(z = 0, ...T) {
|
|
495
|
+
n && (s.value = t), p.value = void 0, g.value = !1, w.value = !0, z > 0 && await at(z);
|
|
496
|
+
const f = typeof e == "function" ? e(...T) : e;
|
|
497
497
|
try {
|
|
498
|
-
const h = await
|
|
499
|
-
s.value = h,
|
|
498
|
+
const h = await f;
|
|
499
|
+
s.value = h, g.value = !0, m(h);
|
|
500
500
|
} catch (h) {
|
|
501
|
-
if (
|
|
501
|
+
if (p.value = h, c(h), d)
|
|
502
502
|
throw h;
|
|
503
503
|
} finally {
|
|
504
504
|
w.value = !1;
|
|
@@ -508,28 +508,28 @@ function Qo(e, t, o) {
|
|
|
508
508
|
r && _(i);
|
|
509
509
|
const y = {
|
|
510
510
|
state: s,
|
|
511
|
-
isReady:
|
|
511
|
+
isReady: g,
|
|
512
512
|
isLoading: w,
|
|
513
|
-
error:
|
|
513
|
+
error: p,
|
|
514
514
|
execute: _,
|
|
515
515
|
executeImmediate: (...z) => _(0, ...z)
|
|
516
516
|
};
|
|
517
|
-
function
|
|
518
|
-
return new Promise((z,
|
|
519
|
-
Ko(w).toBe(!1).then(() => z(y)).catch(
|
|
517
|
+
function C() {
|
|
518
|
+
return new Promise((z, T) => {
|
|
519
|
+
Ko(w).toBe(!1).then(() => z(y)).catch(T);
|
|
520
520
|
});
|
|
521
521
|
}
|
|
522
522
|
return {
|
|
523
523
|
...y,
|
|
524
|
-
then(z,
|
|
525
|
-
return
|
|
524
|
+
then(z, T) {
|
|
525
|
+
return C().then(z, T);
|
|
526
526
|
}
|
|
527
527
|
};
|
|
528
528
|
}
|
|
529
529
|
function Xo(e) {
|
|
530
530
|
return JSON.parse(JSON.stringify(e));
|
|
531
531
|
}
|
|
532
|
-
const
|
|
532
|
+
const bt = 1;
|
|
533
533
|
function Zo(e, t = {}) {
|
|
534
534
|
const {
|
|
535
535
|
throttle: o = 0,
|
|
@@ -551,19 +551,19 @@ function Zo(e, t = {}) {
|
|
|
551
551
|
},
|
|
552
552
|
behavior: d = "auto",
|
|
553
553
|
window: s = Je,
|
|
554
|
-
onError:
|
|
554
|
+
onError: g = (N) => {
|
|
555
555
|
console.error(N);
|
|
556
556
|
}
|
|
557
557
|
} = t, w = typeof n == "boolean" ? {
|
|
558
558
|
mutation: n
|
|
559
|
-
} : n,
|
|
559
|
+
} : n, p = H(0), _ = H(0), y = I({
|
|
560
560
|
get() {
|
|
561
|
-
return
|
|
561
|
+
return p.value;
|
|
562
562
|
},
|
|
563
563
|
set(N) {
|
|
564
564
|
z(N, void 0);
|
|
565
565
|
}
|
|
566
|
-
}),
|
|
566
|
+
}), C = I({
|
|
567
567
|
get() {
|
|
568
568
|
return _.value;
|
|
569
569
|
},
|
|
@@ -571,22 +571,22 @@ function Zo(e, t = {}) {
|
|
|
571
571
|
z(void 0, N);
|
|
572
572
|
}
|
|
573
573
|
});
|
|
574
|
-
function z(N,
|
|
575
|
-
var
|
|
574
|
+
function z(N, R) {
|
|
575
|
+
var j, oe, Q, ne;
|
|
576
576
|
if (!s)
|
|
577
577
|
return;
|
|
578
|
-
const
|
|
579
|
-
if (!
|
|
578
|
+
const F = A(e);
|
|
579
|
+
if (!F)
|
|
580
580
|
return;
|
|
581
|
-
(Q =
|
|
582
|
-
top: (
|
|
581
|
+
(Q = F instanceof Document ? s.document.body : F) == null || Q.scrollTo({
|
|
582
|
+
top: (j = A(R)) != null ? j : C.value,
|
|
583
583
|
left: (oe = A(N)) != null ? oe : y.value,
|
|
584
584
|
behavior: A(d)
|
|
585
585
|
});
|
|
586
|
-
const D = ((ne =
|
|
587
|
-
y != null && (
|
|
586
|
+
const D = ((ne = F?.document) == null ? void 0 : ne.documentElement) || F?.documentElement || F;
|
|
587
|
+
y != null && (p.value = D.scrollLeft), C != null && (_.value = D.scrollTop);
|
|
588
588
|
}
|
|
589
|
-
const
|
|
589
|
+
const T = H(!1), f = le({
|
|
590
590
|
left: !0,
|
|
591
591
|
right: !1,
|
|
592
592
|
top: !0,
|
|
@@ -597,39 +597,39 @@ function Zo(e, t = {}) {
|
|
|
597
597
|
top: !1,
|
|
598
598
|
bottom: !1
|
|
599
599
|
}), k = (N) => {
|
|
600
|
-
|
|
600
|
+
T.value && (T.value = !1, h.left = !1, h.right = !1, h.top = !1, h.bottom = !1, i(N));
|
|
601
601
|
}, $ = Wt(k, o + r), M = (N) => {
|
|
602
|
-
var
|
|
602
|
+
var R;
|
|
603
603
|
if (!s)
|
|
604
604
|
return;
|
|
605
|
-
const
|
|
606
|
-
h.left = D <
|
|
607
|
-
const Y = Math.abs(D *
|
|
608
|
-
oe === "flex" && Q === "row-reverse" ? (
|
|
609
|
-
let ae =
|
|
605
|
+
const j = ((R = N?.document) == null ? void 0 : R.documentElement) || N?.documentElement || me(N), { display: oe, flexDirection: Q, direction: ne } = getComputedStyle(j), F = ne === "rtl" ? -1 : 1, D = j.scrollLeft;
|
|
606
|
+
h.left = D < p.value, h.right = D > p.value;
|
|
607
|
+
const Y = Math.abs(D * F) <= (m.left || 0), Te = Math.abs(D * F) + j.clientWidth >= j.scrollWidth - (m.right || 0) - bt;
|
|
608
|
+
oe === "flex" && Q === "row-reverse" ? (f.left = Te, f.right = Y) : (f.left = Y, f.right = Te), p.value = D;
|
|
609
|
+
let ae = j.scrollTop;
|
|
610
610
|
N === s.document && !ae && (ae = s.document.body.scrollTop), h.top = ae < _.value, h.bottom = ae > _.value;
|
|
611
|
-
const
|
|
612
|
-
oe === "flex" && Q === "column-reverse" ? (
|
|
611
|
+
const be = Math.abs(ae) <= (m.top || 0), dt = Math.abs(ae) + j.clientHeight >= j.scrollHeight - (m.bottom || 0) - bt;
|
|
612
|
+
oe === "flex" && Q === "column-reverse" ? (f.top = dt, f.bottom = be) : (f.top = be, f.bottom = dt), _.value = ae;
|
|
613
613
|
}, O = (N) => {
|
|
614
|
-
var
|
|
614
|
+
var R;
|
|
615
615
|
if (!s)
|
|
616
616
|
return;
|
|
617
|
-
const
|
|
618
|
-
M(
|
|
617
|
+
const j = (R = N.target.documentElement) != null ? R : N.target;
|
|
618
|
+
M(j), T.value = !0, $(N), c(N);
|
|
619
619
|
};
|
|
620
|
-
return
|
|
620
|
+
return Re(
|
|
621
621
|
e,
|
|
622
622
|
"scroll",
|
|
623
623
|
o ? Yo(O, o, !0, !1) : O,
|
|
624
624
|
v
|
|
625
|
-
),
|
|
625
|
+
), Uo(() => {
|
|
626
626
|
try {
|
|
627
627
|
const N = A(e);
|
|
628
628
|
if (!N)
|
|
629
629
|
return;
|
|
630
630
|
M(N);
|
|
631
631
|
} catch (N) {
|
|
632
|
-
|
|
632
|
+
g(N);
|
|
633
633
|
}
|
|
634
634
|
}), w?.mutation && e != null && e !== s && e !== document && qo(
|
|
635
635
|
e,
|
|
@@ -642,16 +642,16 @@ function Zo(e, t = {}) {
|
|
|
642
642
|
childList: !0,
|
|
643
643
|
subtree: !0
|
|
644
644
|
}
|
|
645
|
-
),
|
|
645
|
+
), Re(
|
|
646
646
|
e,
|
|
647
647
|
"scrollend",
|
|
648
648
|
k,
|
|
649
649
|
v
|
|
650
650
|
), {
|
|
651
651
|
x: y,
|
|
652
|
-
y:
|
|
653
|
-
isScrolling:
|
|
654
|
-
arrivedState:
|
|
652
|
+
y: C,
|
|
653
|
+
isScrolling: T,
|
|
654
|
+
arrivedState: f,
|
|
655
655
|
directions: h,
|
|
656
656
|
measure() {
|
|
657
657
|
const N = A(e);
|
|
@@ -681,7 +681,7 @@ function qt(e = "history", t = {}) {
|
|
|
681
681
|
} else
|
|
682
682
|
return (n.location.hash || "").replace(/^#/, "");
|
|
683
683
|
}
|
|
684
|
-
function
|
|
684
|
+
function g(h) {
|
|
685
685
|
const k = v(h);
|
|
686
686
|
if (e === "history")
|
|
687
687
|
return `${k ? `?${k}` : ""}${n.location.hash || ""}`;
|
|
@@ -693,7 +693,7 @@ function qt(e = "history", t = {}) {
|
|
|
693
693
|
function w() {
|
|
694
694
|
return new URLSearchParams(s());
|
|
695
695
|
}
|
|
696
|
-
function
|
|
696
|
+
function p(h) {
|
|
697
697
|
const k = new Set(Object.keys(d));
|
|
698
698
|
for (const $ of h.keys()) {
|
|
699
699
|
const M = h.getAll($);
|
|
@@ -701,35 +701,35 @@ function qt(e = "history", t = {}) {
|
|
|
701
701
|
}
|
|
702
702
|
Array.from(k).forEach(($) => delete d[$]);
|
|
703
703
|
}
|
|
704
|
-
const { pause: _, resume: y } =
|
|
704
|
+
const { pause: _, resume: y } = Fo(
|
|
705
705
|
d,
|
|
706
706
|
() => {
|
|
707
707
|
const h = new URLSearchParams("");
|
|
708
708
|
Object.keys(d).forEach((k) => {
|
|
709
709
|
const $ = d[k];
|
|
710
710
|
Array.isArray($) ? $.forEach((M) => h.append(k, M)) : r && $ == null || i && !$ ? h.delete(k) : h.set(k, $);
|
|
711
|
-
}),
|
|
711
|
+
}), C(h, !1);
|
|
712
712
|
},
|
|
713
713
|
{ deep: !0 }
|
|
714
714
|
);
|
|
715
|
-
function
|
|
716
|
-
_(), k &&
|
|
715
|
+
function C(h, k) {
|
|
716
|
+
_(), k && p(h), m === "replace" ? n.history.replaceState(
|
|
717
717
|
n.history.state,
|
|
718
718
|
n.document.title,
|
|
719
|
-
n.location.pathname +
|
|
719
|
+
n.location.pathname + g(h)
|
|
720
720
|
) : n.history.pushState(
|
|
721
721
|
n.history.state,
|
|
722
722
|
n.document.title,
|
|
723
|
-
n.location.pathname +
|
|
723
|
+
n.location.pathname + g(h)
|
|
724
724
|
), y();
|
|
725
725
|
}
|
|
726
726
|
function z() {
|
|
727
|
-
c &&
|
|
727
|
+
c && C(w(), !0);
|
|
728
728
|
}
|
|
729
|
-
const
|
|
730
|
-
|
|
731
|
-
const
|
|
732
|
-
return
|
|
729
|
+
const T = { passive: !0 };
|
|
730
|
+
Re(n, "popstate", z, T), e !== "history" && Re(n, "hashchange", z, T);
|
|
731
|
+
const f = w();
|
|
732
|
+
return f.keys().next().value ? p(f) : Object.assign(d, o), d;
|
|
733
733
|
}
|
|
734
734
|
function ea(e, t, o, r = {}) {
|
|
735
735
|
var i, c, m;
|
|
@@ -738,26 +738,26 @@ function ea(e, t, o, r = {}) {
|
|
|
738
738
|
passive: v = !1,
|
|
739
739
|
eventName: d,
|
|
740
740
|
deep: s = !1,
|
|
741
|
-
defaultValue:
|
|
741
|
+
defaultValue: g,
|
|
742
742
|
shouldEmit: w
|
|
743
|
-
} = r,
|
|
743
|
+
} = r, p = nt(), _ = o || p?.emit || ((i = p?.$emit) == null ? void 0 : i.bind(p)) || ((m = (c = p?.proxy) == null ? void 0 : c.$emit) == null ? void 0 : m.bind(p?.proxy));
|
|
744
744
|
let y = d;
|
|
745
745
|
t || (t = "modelValue"), y = y || `update:${t.toString()}`;
|
|
746
|
-
const
|
|
747
|
-
w ? w(
|
|
746
|
+
const C = (f) => n ? typeof n == "function" ? n(f) : Xo(f) : f, z = () => Eo(e[t]) ? C(e[t]) : g, T = (f) => {
|
|
747
|
+
w ? w(f) && _(y, f) : _(y, f);
|
|
748
748
|
};
|
|
749
749
|
if (v) {
|
|
750
|
-
const
|
|
750
|
+
const f = z(), h = G(f);
|
|
751
751
|
let k = !1;
|
|
752
752
|
return J(
|
|
753
753
|
() => e[t],
|
|
754
754
|
($) => {
|
|
755
|
-
k || (k = !0, h.value =
|
|
755
|
+
k || (k = !0, h.value = C($), _e(() => k = !1));
|
|
756
756
|
}
|
|
757
757
|
), J(
|
|
758
758
|
h,
|
|
759
759
|
($) => {
|
|
760
|
-
!k && ($ !== e[t] || s) &&
|
|
760
|
+
!k && ($ !== e[t] || s) && T($);
|
|
761
761
|
},
|
|
762
762
|
{ deep: s }
|
|
763
763
|
), h;
|
|
@@ -766,8 +766,8 @@ function ea(e, t, o, r = {}) {
|
|
|
766
766
|
get() {
|
|
767
767
|
return z();
|
|
768
768
|
},
|
|
769
|
-
set(
|
|
770
|
-
|
|
769
|
+
set(f) {
|
|
770
|
+
T(f);
|
|
771
771
|
}
|
|
772
772
|
});
|
|
773
773
|
}
|
|
@@ -782,7 +782,7 @@ function ta(e, t, o = {}) {
|
|
|
782
782
|
);
|
|
783
783
|
return r;
|
|
784
784
|
}
|
|
785
|
-
const
|
|
785
|
+
const ft = 20, ra = {
|
|
786
786
|
__name: "DataProvider",
|
|
787
787
|
props: {
|
|
788
788
|
locale: {
|
|
@@ -803,16 +803,16 @@ const bt = 20, ra = {
|
|
|
803
803
|
}
|
|
804
804
|
},
|
|
805
805
|
setup(e) {
|
|
806
|
-
const t = e, { timezone: o, locale: r } = hr(t), { onError: i } = qe(), c = qt("history"), m =
|
|
807
|
-
firstGame:
|
|
808
|
-
lastGame:
|
|
806
|
+
const t = e, { timezone: o, locale: r } = hr(t), { onError: i } = qe(), c = qt("history"), m = G(c.panel || ze), n = G(null), v = G(0), d = H({
|
|
807
|
+
firstGame: U,
|
|
808
|
+
lastGame: U
|
|
809
809
|
}), s = H({
|
|
810
|
-
min: V(
|
|
811
|
-
max: V(
|
|
810
|
+
min: V(U, "YYYY-MM-DD"),
|
|
811
|
+
max: V(U, "YYYY-MM-DD")
|
|
812
812
|
}), {
|
|
813
|
-
state:
|
|
813
|
+
state: g,
|
|
814
814
|
isLoading: w,
|
|
815
|
-
execute:
|
|
815
|
+
execute: p
|
|
816
816
|
} = te({
|
|
817
817
|
options: {
|
|
818
818
|
path: "/v2/calendar",
|
|
@@ -827,10 +827,10 @@ const bt = 20, ra = {
|
|
|
827
827
|
transform: (h) => $o(h, d),
|
|
828
828
|
onError: i
|
|
829
829
|
}), _ = I(
|
|
830
|
-
() =>
|
|
830
|
+
() => Ce(g.value).reverse(m.value === de).schedule(o.value, r.value).more(0, v.value * ft + ft).groupByDays().value()
|
|
831
831
|
), y = I(
|
|
832
832
|
() => Io(
|
|
833
|
-
...
|
|
833
|
+
...Co.get(m.value)(d.value.firstGame, d.value.lastGame),
|
|
834
834
|
m.value === de,
|
|
835
835
|
r.value
|
|
836
836
|
)
|
|
@@ -839,13 +839,13 @@ const bt = 20, ra = {
|
|
|
839
839
|
m,
|
|
840
840
|
async (h) => {
|
|
841
841
|
const { min: k, max: $, id: M } = Ee.get(h)(c.month);
|
|
842
|
-
s.value = { min: V(k, "YYYY-MM-DD"), max: V($, "YYYY-MM-DD") }, n.value = M, await
|
|
842
|
+
s.value = { min: V(k, "YYYY-MM-DD"), max: V($, "YYYY-MM-DD") }, n.value = M, await p(), c.month || f();
|
|
843
843
|
},
|
|
844
844
|
{
|
|
845
845
|
immediate: !0
|
|
846
846
|
}
|
|
847
847
|
);
|
|
848
|
-
function
|
|
848
|
+
function C(h) {
|
|
849
849
|
m.value = h, c.panel = h, v.value = 0, c.month = null;
|
|
850
850
|
}
|
|
851
851
|
function z(h) {
|
|
@@ -853,35 +853,35 @@ const bt = 20, ra = {
|
|
|
853
853
|
n.value = M, c.month = M, s.value = {
|
|
854
854
|
min: V(k, "YYYY-MM-DD"),
|
|
855
855
|
max: V($, "YYYY-MM-DD")
|
|
856
|
-
}, v.value = 0,
|
|
856
|
+
}, v.value = 0, p();
|
|
857
857
|
}
|
|
858
|
-
function
|
|
858
|
+
function T() {
|
|
859
859
|
v.value += 1;
|
|
860
860
|
}
|
|
861
|
-
function
|
|
861
|
+
function f() {
|
|
862
862
|
if (![de, Se].includes(m.value))
|
|
863
863
|
return;
|
|
864
864
|
const { firstGame: h, lastGame: k } = d.value;
|
|
865
|
-
if (
|
|
865
|
+
if (Tr(U, h)) {
|
|
866
866
|
const { min: $, max: M, id: O } = Ee.get(m.value)(ee(y.value)?.id);
|
|
867
|
-
return s.value = { min: V($, "YYYY-MM-DD"), max: V(M, "YYYY-MM-DD") }, n.value = O,
|
|
867
|
+
return s.value = { min: V($, "YYYY-MM-DD"), max: V(M, "YYYY-MM-DD") }, n.value = O, p();
|
|
868
868
|
}
|
|
869
|
-
if (Mt(
|
|
869
|
+
if (Mt(U, k)) {
|
|
870
870
|
const { min: $, max: M, id: O } = Ee.get(m.value)(Nr(y.value)?.id);
|
|
871
|
-
s.value = { min: V($, "YYYY-MM-DD"), max: V(M, "YYYY-MM-DD") }, n.value = O,
|
|
871
|
+
s.value = { min: V($, "YYYY-MM-DD"), max: V(M, "YYYY-MM-DD") }, n.value = O, p();
|
|
872
872
|
}
|
|
873
873
|
}
|
|
874
|
-
return (h, k) => ye(h.$slots, "default", Fe(
|
|
875
|
-
today: a(
|
|
874
|
+
return (h, k) => ye(h.$slots, "default", Be(Fe({
|
|
875
|
+
today: a(U),
|
|
876
876
|
months: y.value,
|
|
877
877
|
isLoading: a(w),
|
|
878
878
|
datesFilter: s.value,
|
|
879
879
|
selectedMonth: n.value,
|
|
880
880
|
selectedPanel: m.value,
|
|
881
881
|
games: _.value,
|
|
882
|
-
more:
|
|
882
|
+
more: T,
|
|
883
883
|
setMonth: z,
|
|
884
|
-
changePanel:
|
|
884
|
+
changePanel: C
|
|
885
885
|
})));
|
|
886
886
|
}
|
|
887
887
|
}, oa = {
|
|
@@ -971,7 +971,7 @@ const ua = { render: Zt }, ha = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Ob
|
|
|
971
971
|
__proto__: null,
|
|
972
972
|
default: ua,
|
|
973
973
|
render: Zt
|
|
974
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
974
|
+
}, Symbol.toStringTag, { value: "Module" })), ga = {
|
|
975
975
|
xmlns: "http://www.w3.org/2000/svg",
|
|
976
976
|
viewBox: "0 0 24 24",
|
|
977
977
|
fill: "none",
|
|
@@ -981,13 +981,13 @@ const ua = { render: Zt }, ha = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Ob
|
|
|
981
981
|
"stroke-linejoin": "round"
|
|
982
982
|
};
|
|
983
983
|
function er(e, t) {
|
|
984
|
-
return u(), x("svg",
|
|
984
|
+
return u(), x("svg", ga, [...t[0] || (t[0] = [
|
|
985
985
|
l("polyline", { points: "9 18 15 12 9 6" }, null, -1)
|
|
986
986
|
])]);
|
|
987
987
|
}
|
|
988
|
-
const
|
|
988
|
+
const pa = { render: er }, mt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
989
989
|
__proto__: null,
|
|
990
|
-
default:
|
|
990
|
+
default: pa,
|
|
991
991
|
render: er
|
|
992
992
|
}, Symbol.toStringTag, { value: "Module" })), wa = {
|
|
993
993
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1015,9 +1015,9 @@ function tr(e, t) {
|
|
|
1015
1015
|
}, null, -1)
|
|
1016
1016
|
])]);
|
|
1017
1017
|
}
|
|
1018
|
-
const
|
|
1018
|
+
const ba = { render: tr }, fa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1019
1019
|
__proto__: null,
|
|
1020
|
-
default:
|
|
1020
|
+
default: ba,
|
|
1021
1021
|
render: tr
|
|
1022
1022
|
}, Symbol.toStringTag, { value: "Module" })), ya = {
|
|
1023
1023
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1044,10 +1044,10 @@ const xa = { render: rr }, ka = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Ob
|
|
|
1044
1044
|
}, za = ["href"], Sa = ["href"], $a = {
|
|
1045
1045
|
class: "text-muted text-sm text-center",
|
|
1046
1046
|
style: { "grid-area": "date" }
|
|
1047
|
-
},
|
|
1047
|
+
}, Ca = {
|
|
1048
1048
|
class: "responsive-team-name",
|
|
1049
1049
|
style: { "grid-area": "home-team" }
|
|
1050
|
-
},
|
|
1050
|
+
}, Ta = { class: "text-end text-highlighted font-bold" }, Na = { class: "team-name-short" }, Ia = { class: "team-name-long" }, Ea = { style: { "grid-area": "home-team-logo" } }, Pa = {
|
|
1051
1051
|
class: "text-center",
|
|
1052
1052
|
style: { "grid-area": "game-data" }
|
|
1053
1053
|
}, Da = {
|
|
@@ -1062,13 +1062,13 @@ const xa = { render: rr }, ka = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Ob
|
|
|
1062
1062
|
}, Oa = {
|
|
1063
1063
|
key: 2,
|
|
1064
1064
|
class: "text-xl font-bold"
|
|
1065
|
-
},
|
|
1065
|
+
}, ja = {
|
|
1066
1066
|
key: 1,
|
|
1067
1067
|
class: "text-sm text-muted is-whitespace-nowrap"
|
|
1068
|
-
},
|
|
1068
|
+
}, Ra = { style: { "grid-area": "away-team-logo" } }, Ga = {
|
|
1069
1069
|
class: "responsive-team-name",
|
|
1070
1070
|
style: { "grid-area": "away-team" }
|
|
1071
|
-
}, Ya = { class: "text-highlighted font-bold" },
|
|
1071
|
+
}, Ya = { class: "text-highlighted font-bold" }, Ba = { key: 0 }, Fa = { class: "team-name-short" }, Ua = { class: "team-name-long" }, Ka = {
|
|
1072
1072
|
__name: "Item",
|
|
1073
1073
|
props: {
|
|
1074
1074
|
game: {
|
|
@@ -1100,14 +1100,14 @@ const xa = { render: rr }, ka = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Ob
|
|
|
1100
1100
|
l("div", _a, [
|
|
1101
1101
|
l("a", {
|
|
1102
1102
|
href: e.gameLink(e.game)
|
|
1103
|
-
},
|
|
1104
|
-
q(" - " +
|
|
1105
|
-
e.game.broadcast ? (u(), x(
|
|
1103
|
+
}, b(e.game.gameName), 9, za),
|
|
1104
|
+
q(" - " + b(e.game.championshipName) + " - " + b(e.game.divisionName) + " - " + b(e.game.location.locationName) + " ", 1),
|
|
1105
|
+
e.game.broadcast ? (u(), x(B, { key: 0 }, [
|
|
1106
1106
|
r[0] || (r[0] = q(" - ", -1)),
|
|
1107
1107
|
S(a(ia), { height: "16" }),
|
|
1108
1108
|
r[1] || (r[1] = q(" ", -1))
|
|
1109
1109
|
], 64)) : P("", !0),
|
|
1110
|
-
e.game.video ? (u(), x(
|
|
1110
|
+
e.game.video ? (u(), x(B, { key: 1 }, [
|
|
1111
1111
|
r[2] || (r[2] = q(" - ", -1)),
|
|
1112
1112
|
l("a", {
|
|
1113
1113
|
href: e.game.video,
|
|
@@ -1117,11 +1117,11 @@ const xa = { render: rr }, ka = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Ob
|
|
|
1117
1117
|
], 8, Sa)
|
|
1118
1118
|
], 64)) : P("", !0)
|
|
1119
1119
|
]),
|
|
1120
|
-
l("div", $a,
|
|
1121
|
-
l("div",
|
|
1122
|
-
l("div",
|
|
1123
|
-
l("span", Na,
|
|
1124
|
-
l("span", Ia,
|
|
1120
|
+
l("div", $a, b(a(V)(e.game.gameDate, "L LT", null, e.locale)) + " (" + b(a(Ve)(e.game.gameDate, e.timezone, e.locale)) + ") ", 1),
|
|
1121
|
+
l("div", Ca, [
|
|
1122
|
+
l("div", Ta, [
|
|
1123
|
+
l("span", Na, b(e.game.homeTeam.shortName), 1),
|
|
1124
|
+
l("span", Ia, b(e.game.homeTeam.longName), 1)
|
|
1125
1125
|
])
|
|
1126
1126
|
]),
|
|
1127
1127
|
l("div", Ea, [
|
|
@@ -1138,28 +1138,28 @@ const xa = { render: rr }, ka = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Ob
|
|
|
1138
1138
|
target: e.target,
|
|
1139
1139
|
class: re(["game-result", [{ "is-live": e.game.gameStatus === 1 }]])
|
|
1140
1140
|
}, [
|
|
1141
|
-
e.game.gameStatus > 0 && e.game.gameStatus < 3 ? (u(), x("span", Ma,
|
|
1142
|
-
e.game.gameStatus === 3 ? (u(), x("span", Aa,
|
|
1143
|
-
e.game.gameStatus === 4 ? (u(), x("span", Oa,
|
|
1141
|
+
e.game.gameStatus > 0 && e.game.gameStatus < 3 ? (u(), x("span", Ma, b(e.game.homeTeamScore) + " : " + b(e.game.awayTeamScore), 1)) : P("", !0),
|
|
1142
|
+
e.game.gameStatus === 3 ? (u(), x("span", Aa, b(a(t)("game.status.jury")), 1)) : P("", !0),
|
|
1143
|
+
e.game.gameStatus === 4 ? (u(), x("span", Oa, b(a(t)("game.status.delayed")), 1)) : P("", !0)
|
|
1144
1144
|
], 10, La),
|
|
1145
|
-
e.game.gameStatus > 0 ? (u(), x("div",
|
|
1145
|
+
e.game.gameStatus > 0 ? (u(), x("div", ja, b(e.game.periodResults), 1)) : P("", !0)
|
|
1146
1146
|
]),
|
|
1147
|
-
l("div",
|
|
1147
|
+
l("div", Ra, [
|
|
1148
1148
|
(u(), L(a(ie), {
|
|
1149
1149
|
key: e.game.awayTeam.id,
|
|
1150
1150
|
src: e.game.awayTeam.logo
|
|
1151
1151
|
}, null, 8, ["src"]))
|
|
1152
1152
|
]),
|
|
1153
|
-
l("div",
|
|
1153
|
+
l("div", Ga, [
|
|
1154
1154
|
l("div", Ya, [
|
|
1155
|
-
Array.isArray(e.game.awayTeam) ? (u(), x("span",
|
|
1156
|
-
l("span",
|
|
1157
|
-
l("span",
|
|
1155
|
+
Array.isArray(e.game.awayTeam) ? (u(), x("span", Ba, "Torna")) : P("", !0),
|
|
1156
|
+
l("span", Fa, b(e.game.awayTeam.shortName), 1),
|
|
1157
|
+
l("span", Ua, b(e.game.awayTeam.longName), 1)
|
|
1158
1158
|
])
|
|
1159
1159
|
])
|
|
1160
1160
|
], 2));
|
|
1161
1161
|
}
|
|
1162
|
-
}, ge = '@layer normalize,theme,components.variables,components,utils;:where(:host,:root){--mvw-color-white: #fff;--mvw-color-black: #000;--mvw-color-primary-0: #ffffff;--mvw-color-primary-50: #eceff1;--mvw-color-primary-100: #cfd8dc;--mvw-color-primary-200: #b0bec5;--mvw-color-primary-300: #90a4ae;--mvw-color-primary-400: #78909c;--mvw-color-primary-500: #607d8b;--mvw-color-primary-600: #546e7a;--mvw-color-primary-700: #455a64;--mvw-color-primary-800: #37474f;--mvw-color-primary-900: #263238;--mvw-color-primary-950: #182024}:where(:host,:root){--mvw-color-secondary-100: #dcedc8;--mvw-color-secondary-200: #badb94;--mvw-color-secondary-300: #aed581;--mvw-color-secondary-400: #9ccc65;--mvw-color-secondary-500: #8bc34a;--mvw-color-secondary-700: #689f38;--mvw-color-secondary-800: #558b2f;--mvw-color-secondary-900: #33691e;--mvw-color-secondary-950: #14290c}:where(:host){--radius-1: 2px;--radius-2: 5px;--radius-3: 16px;--radius-4: 32px;--radius-5: 64px;--radius-6: 96px}:where(:host){--font-size-50: .625rem;--font-size-100: .6875rem;--font-size-200: .75rem;--font-size-300: .8125rem;--font-size-400: .875rem;--font-size-500: 1rem;--font-size-600: 1.125rem;--font-size-700: 1.25rem;--font-size-800: 1.5rem;--font-size-900: 1.75rem;--font-size-950: 2rem;--font-lineheight-50: .95;--font-lineheight-100: 1;--font-lineheight-200: 1.1;--font-lineheight-300: 1.25;--font-lineheight-400: 1.375;--font-lineheight-500: 1.5;--font-lineheight-600: 1.75;--font-lineheight-700: 2}:where(:host){--size-1: 1px;--size-2: .125rem;--size-4: .25rem;--size-6: .375rem;--size-8: .5rem;--size-10: .625rem;--size-12: .75rem;--size-16: 1rem;--size-24: 1.5rem;--size-32: 2rem}:where(:host){--shadow-color: 220 3% 15%;--shadow-strength: 1%;--inner-shadow-highlight: inset 0 -.5px 0 0 #fff, inset 0 .5px 0 0 #0001;--shadow-3: 0 -1px 3px 0 hsl(var(--shadow-color) / calc(var(--shadow-strength) + 7%)), 0 1px 2px -5px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 2%)), 0 2px 5px -5px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 4%)), 0 4px 12px -5px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 5%)), 0 12px 15px -5px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 7%));--shadow-6: 0 -1px 2px 0 hsl(var(--shadow-color) / calc(var(--shadow-strength) + 7%)), 0 3px 2px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 3%)), 0 7px 5px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 3%)), 0 12px 10px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 4%)), 0 22px 18px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 5%)), 0 41px 33px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 6%)), 0 100px 80px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 7%))}@media (prefers-color-scheme: dark){:where(:host){--shadow-color: 220 40% 2%;--shadow-strength: 25%;--inner-shadow-highlight: inset 0 -.5px 0 0 #fff1, inset 0 .5px 0 0 #0007}}:where(:host){--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 )}@layer normalize{*,:before,:after{box-sizing:border-box}*{scrollbar-width:thin}:where(img,svg,video,canvas,audio,iframe,embed,object){display:block}:where(img,svg,video){block-size:auto;max-inline-size:100%}:where(img){opacity:0;transition:opacity .5s ease-out}:where(img).is-loaded{opacity:1}:where(svg:not([width])){inline-size:var(--size-16)}:where(input,button,textarea),:where(input[type=file])::-webkit-file-upload-button{color:inherit;font-size:inherit;font:inherit;letter-spacing:inherit}:where(a[href],area,button,[role=button],input,label[for],select,summary,textarea,[tabindex]:not([tabindex*="-"])){-webkit-tap-highlight-color:transparent;touch-action:manipulation}:where(:not(fieldset,progress,meter)){background-origin:border-box;background-repeat:no-repeat;border-style:solid;border-width:0}:where(button){appearance:button;-webkit-appearance:button;background-color:transparent;background-image:none}:where(dd,pre){margin:0}:where(ul,li){margin:0;padding:0}:where(ol,ul){list-style:none}}@layer theme{[data-theme=light],:host-context(.light){color-scheme:only light}[data-theme=dark],:host-context(.dark){color-scheme:only dark}:root,:host{font-family:var(--mvw-font, inherit);--mvw-color-live: #8bc34a;--mvw-color-error: #fb2c36;--mvw-color-warning: #ffc107;--mvw-color-info: #2870ed;--mvw-color-team: #ff6129;--mvw-link-color: light-dark(var(--mvw-color-secondary-700), var(--mvw-color-secondary-400));--mvw-link-hover-color: light-dark(var(--mvw-color-secondary-900), var(--mvw-color-secondary-200));--mvw-text-pale: light-dark(var(--mvw-color-primary-100), var(--mvw-color-primary-700));--mvw-text-faded: light-dark(var(--mvw-color-primary-200), var(--mvw-color-primary-600));--mvw-text-dimmed: light-dark(var(--mvw-color-primary-400), var(--mvw-color-primary-500));--mvw-text-muted: light-dark(var(--mvw-color-primary-500), var(--mvw-color-primary-400));--mvw-text-toned: light-dark(var(--mvw-color-primary-600), var(--mvw-color-primary-300));--mvw-text-default: light-dark(var(--mvw-color-primary-700), var(--mvw-color-primary-200));--mvw-text-highlighted: light-dark(var(--mvw-color-primary-900), var(--mvw-color-primary-50));--mvw-text-inverted: light-dark(var(--mvw-color-white), var(--mvw-color-primary-950));--mvw-bg-default: light-dark(var(--mvw-color-white), var(--mvw-color-primary-950));--mvw-bg-muted: light-dark(var(--mvw-color-primary-50), var(--mvw-color-primary-900));--mvw-bg-elevated: light-dark(var(--mvw-color-primary-100), var(--mvw-color-primary-800));--mvw-bg-accented: light-dark(var(--mvw-color-primary-200), var(--mvw-color-primary-700));--mvw-bg-highlighted: var(--mvw-color-secondary-500);--mvw-bg-inverted: light-dark(var(--mvw-color-primary-900), var(--mvw-color-primary-50));--mvw-border-faded: light-dark(var(--mvw-color-primary-100), var(--mvw-color-primary-800));--mvw-border-muted: light-dark(var(--mvw-color-primary-200), var(--mvw-color-primary-700));--mvw-border-highlighted: var(--mvw-color-secondary-500)}:where(a[href]){color:var(--mvw-link-color);text-decoration:none}:where(a[href]):hover{color:var(--mvw-link-hover-color)}:where(a[href]):visited{color:var(--mvw-link-color)}}@layer components{:where(.loading-indicator){padding:var(--size-16);font-weight:600;color:var(--mvw-loading-indicator-text-color, var(--mvw-text-toned));text-align:center}}@layer utils{.font-bold{font-weight:700}.italic{font-style:italic}.uppercase{text-transform:uppercase}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.text-start{text-align:start}.text-end{text-align:end}.text-center{text-align:center}.text-xs{font-size:var(--font-size-200)}.text-sm{font-size:var(--font-size-400)}.text-xl{font-size:var(--font-size-700)}.text-faded{color:var(--mvw-text-faded)}.text-dimmed{color:var(--mvw-text-dimmed)}.text-muted{color:var(--mvw-text-muted)}.text-toned{color:var(--mvw-text-toned)}.text-default{color:var(--mvw-text-default)}.text-highlighted{color:var(--mvw-text-highlighted)}.w-auto{width:auto}.mx-sm{margin-inline:var(--size-8)}.mb-sm{margin-block-end:var(--size-8)}.mb-md{margin-block-end:var(--size-16)}.mb-xl{margin-block-end:calc(var(--size-16) * 2)}.mt-md{margin-block-start:var(--size-16)}.mt-lg{margin-block-start:var(--size-24)}.mt-xl{margin-block-start:calc(var(--size-16) * 2)}.p-sm{padding-block:var(--size-8)}.py-md{padding-block:var(--size-16)}.flex{display:flex}.grid{display:grid}.block{display:block}.rounded{border-radius:1e5px}.sticky{position:sticky;top:var(--mvw-sticky-top-offset, 0);z-index:10}.blured-bg{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.grid-container{--min-width: 230px;--max-width: 1fr;--gap: var(--size-16);--align-items: center;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(var(--min-width),100%),var(--max-width)));align-items:var(--align-items);gap:var(--gap)}.flex-container{display:flex;flex-wrap:wrap;gap:var(--size-16)}.responsive-team-name{container-type:inline-size;container-name:team-name}.responsive-team-name>*{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.responsive-team-name>* .team-name-short{display:none}@container team-name (max-width: 200px){.responsive-team-name>* .team-name-long{display:none}.responsive-team-name>* .team-name-short{display:inline-block}}}', Va = "@layer components{:where(.card){--_border: none;--_bg-color: light-dark(var(--mvw-color-white), var(--mvw-color-primary-900));container-type:inline-size;container-name:card-wrapper;padding:var(--size-16);background-color:var(--_bg-color);border:var(--_border);border-radius:var(--radius-2);box-shadow:var(--shadow-3)}:where(.card).bordered{--_bg-color: light-dark(var(--mvw-color-primary-50), var(--mvw-color-primary-950));--_border: 1px solid light-dark(var(--mvw-color-primary-100), var(--mvw-color-primary-900));box-shadow:none;border-radius:0}}", Ha = "@layer components.variables{:where(:host){--mvw-color-error-notice-bg-color: color-mix(in oklab, var(--mvw-color-error) 10%, transparent);--mvw-color-error-notice-border-color: color-mix(in oklab, var(--mvw-color-error) 25%, transparent);--mvw-color-error-notice-color: var(--mvw-color-error)}}@layer components{:where(.error-notice){display:flex;align-items:center;justify-items:flex-start;gap:15px;margin:10px 0;padding:10px 20px;background-color:var(--mvw-color-error-notice-bg-color);color:var(--mvw-color-error-notice-color);border:1px solid var(--mvw-color-error-notice-border-color);border-radius:var(--radius-2)}:where(.error-notice) button{text-decoration:underline}}", Wa = "@layer components.variables{:where(:host){--mvw-tab-btn-font-size: var(--font-size-500);--mvw-tab-btn-font-weight: 500;--mvw-tab-btn-color: light-dark(var(--mvw-color-primary-300), var(--mvw-color-primary-500));--mvw-tab-btn-border-style: solid;--mvw-tab-btn-border-width: 0 0 3px 0;--mvw-tab-btn-text-transform: uppercase;--mvw-tab-btn-hover-color: light-dark(var(--mvw-color-primary-500), var(--mvw-color-primary-300));--mvw-tab-btn-hover-border-color: transparent;--mvw-tab-btn-active-color: light-dark(var(--mvw-color-primary-900), var(--mvw-color-primary-50));--mvw-tab-btn-active-border-color: var(--mvw-border-highlighted);--mvw-tab-btn-group-separator-color: var(--mvw-border-muted);--mvw-toggle-group-gap: var(--size-6);--mvw-toggle-group-nav-padding: 0;--mvw-toggle-group-border-width: 0;--mvw-toggle-group-btn-padding: var(--size-4) var(--size-8);--mvw-toggle-group-btn-size: var(--font-size-400);--mvw-toggle-group-btn-color: light-dark(var(--mvw-color-primary-900), var(--mvw-color-primary-100));--mvw-toggle-group-btn-bg-color: light-dark(var(--mvw-color-primary-50), var(--mvw-color-primary-900));--mvw-toggle-group-btn-active-color: var(--mvw-color-primary-0);--mvw-toggle-group-btn-active-bg-color: var(--mvw-bg-highlighted);--mvw-toggle-group-btn-radius: var(--radius-2)}}@layer components{:where(nav.tabs)>[role=tablist] button{outline-color:transparent;outline-offset:-4px}:where(nav.tabs)>[role=tablist] button:focus-visible{outline:2px solid blue}:where(nav.tabs).underlined>[role=tablist]{border-bottom:1px solid var(--mvw-tab-btn-group-separator-color)}:where(nav.tabs).underlined>[role=tablist] button{background:transparent;color:var(--mvw-tab-btn-color);font-weight:var(--mvw-tab-btn-font-weight);line-height:var(--font-lineheight-4);padding:var(--size-8) var(--size-16);text-transform:var(--mvw-tab-btn-text-transform)}:where(nav.tabs).underlined>[role=tablist] button:focus-visible{border-radius:0}:where(nav.tabs).underlined>[role=tablist] button[aria-selected=true]{border-block-end:3px solid var(--mvw-tab-btn-active-border-color);color:var(--mvw-tab-btn-active-color)}:where(nav.tabs).underlined>[role=tablist] button[aria-selected=false]:hover{color:var(--mvw-tab-btn-hover-color)}:where(nav.tabs).filled>[role=tablist]{display:flex;gap:var(--mvw-toggle-group-gap);border:var(--mvw-toggle-group-border-width) solid var(--mvw-border-muted);border-radius:calc(var(--mvw-toggle-group-btn-radius) + var(--mvw-toggle-group-nav-padding));overflow:hidden;padding:var(--mvw-toggle-group-nav-padding);width:fit-content}:where(nav.tabs).filled>[role=tablist] button{background-color:var(--mvw-toggle-group-btn-bg-color);border-radius:var(--mvw-toggle-group-btn-radius);font-size:var(--mvw-toggle-group-btn-size);color:var(--mvw-toggle-group-btn-color);padding:var(--mvw-toggle-group-btn-padding)}:where(nav.tabs).filled>[role=tablist] button[aria-selected=true]{color:var(--mvw-toggle-group-btn-active-color);background-color:var(--mvw-toggle-group-btn-active-bg-color)}}", qa = "@layer components{:where(h1,.h1,h2,.h2,h3,.h3,h4,.h4,h5,.h5,h6,.h6){color:var(--mvw-text-highlighted);font-weight:700;text-wrap:pretty}:where(h1,.h1){font-size:var(--font-size-h1, var(--font-size-700));letter-spacing:-.02em;line-height:1.15}:where(h2,.h2){font-size:var(--font-size-h2, var(--font-size-5, 2rem));letter-spacing:-.02em;line-height:1.2}:where(h3,.h3){font-size:var(--font-size-h3, var(--font-size-4, 1.5rem));letter-spacing:-.01em;line-height:1.167}:where(h4,.h4){font-size:var(--font-size-h4, var(--font-size-3, 1.25rem));letter-spacing:-.01em;line-height:1.235}:where(h5,.h5){font-size:var(--font-size-h5, var(--font-size-2, 1.1rem));line-height:1.334}:where(h6,.h6){font-size:var(--font-size-h6, var(--font-size-500, 1rem));line-height:1}}", Ja = '@layer components{:where(.card-item){--_grid-template-areas: "name name name name name" "date date date date date" "home-team home-team-logo game-data away-team-logo away-team";display:grid;grid-gap:var(--size-8);grid-template-columns:1fr 20px 1.5fr 20px 1fr;grid-template-areas:var(--_grid-template-areas);padding:var(--size-16);align-items:center}:where(.card-item):not(:last-of-type){border-bottom:1px solid var(--mvw-border-faded)}:where(.card-item) img{display:block;width:100%;aspect-ratio:1}:where(.card-item) .game-result{color:var(--mvw-text-highlighted)}:where(.card-item) .game-result.is-live{color:var(--mvw-color-live)}@container card-wrapper (width > 768px){:where(.card-item){grid-template-columns:2fr 40px 1fr 40px 2fr}}}', we = (e, t) => {
|
|
1162
|
+
}, pe = `@layer normalize,theme,components.variables,components,utils;:where(:host,:root){--mvw-color-white: #fff;--mvw-color-black: #000;--mvw-color-primary-0: #ffffff;--mvw-color-primary-50: #eceff1;--mvw-color-primary-100: #cfd8dc;--mvw-color-primary-200: #b0bec5;--mvw-color-primary-300: #90a4ae;--mvw-color-primary-400: #78909c;--mvw-color-primary-500: #607d8b;--mvw-color-primary-600: #546e7a;--mvw-color-primary-700: #455a64;--mvw-color-primary-800: #37474f;--mvw-color-primary-900: #263238;--mvw-color-primary-950: #182024}:where(:host,:root){--mvw-color-secondary-100: #dcedc8;--mvw-color-secondary-200: #badb94;--mvw-color-secondary-300: #aed581;--mvw-color-secondary-400: #9ccc65;--mvw-color-secondary-500: #8bc34a;--mvw-color-secondary-700: #689f38;--mvw-color-secondary-800: #558b2f;--mvw-color-secondary-900: #33691e;--mvw-color-secondary-950: #14290c}:where(:host){--radius-1: 2px;--radius-2: 5px;--radius-3: 16px;--radius-4: 32px;--radius-5: 64px;--radius-6: 96px}:where(:host){--font-size-50: .625rem;--font-size-100: .6875rem;--font-size-200: .75rem;--font-size-300: .8125rem;--font-size-400: .875rem;--font-size-500: 1rem;--font-size-600: 1.125rem;--font-size-700: 1.25rem;--font-size-800: 1.5rem;--font-size-900: 1.75rem;--font-size-950: 2rem;--font-lineheight-50: .95;--font-lineheight-100: 1;--font-lineheight-200: 1.1;--font-lineheight-300: 1.25;--font-lineheight-400: 1.375;--font-lineheight-500: 1.5;--font-lineheight-600: 1.75;--font-lineheight-700: 2}:where(:host){--size-1: 1px;--size-2: .125rem;--size-4: .25rem;--size-6: .375rem;--size-8: .5rem;--size-10: .625rem;--size-12: .75rem;--size-16: 1rem;--size-24: 1.5rem;--size-32: 2rem}:where(:host){--shadow-color: 220 3% 15%;--shadow-strength: 1%;--inner-shadow-highlight: inset 0 -.5px 0 0 #fff, inset 0 .5px 0 0 #0001;--shadow-3: 0 -1px 3px 0 hsl(var(--shadow-color) / calc(var(--shadow-strength) + 7%)), 0 1px 2px -5px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 2%)), 0 2px 5px -5px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 4%)), 0 4px 12px -5px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 5%)), 0 12px 15px -5px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 7%));--shadow-6: 0 -1px 2px 0 hsl(var(--shadow-color) / calc(var(--shadow-strength) + 7%)), 0 3px 2px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 3%)), 0 7px 5px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 3%)), 0 12px 10px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 4%)), 0 22px 18px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 5%)), 0 41px 33px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 6%)), 0 100px 80px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 7%))}@media (prefers-color-scheme: dark){:where(:host){--shadow-color: 220 40% 2%;--shadow-strength: 25%;--inner-shadow-highlight: inset 0 -.5px 0 0 #fff1, inset 0 .5px 0 0 #0007}}:where(:host){--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 )}@layer normalize{*,:before,:after{box-sizing:border-box}*{scrollbar-width:thin}:where(img,svg,video,canvas,audio,iframe,embed,object){display:block}:where(img,svg,video){block-size:auto;max-inline-size:100%}:where(img){opacity:0;transition:opacity .5s ease-out}:where(img).is-loaded{opacity:1}:where(svg:not([width])){inline-size:var(--size-16)}:where(input,button,textarea),:where(input[type=file])::-webkit-file-upload-button{color:inherit;font-size:inherit;font:inherit;letter-spacing:inherit}:where(a[href],area,button,[role=button],input,label[for],select,summary,textarea,[tabindex]:not([tabindex*="-"])){-webkit-tap-highlight-color:transparent;touch-action:manipulation}:where(:not(fieldset,progress,meter)){background-origin:border-box;background-repeat:no-repeat;border-style:solid;border-width:0}:where(button){appearance:button;-webkit-appearance:button;background-color:transparent;background-image:none}:where(dd,pre){margin:0}:where(ul,li){margin:0;padding:0}:where(ol,ul){list-style:none}}@layer theme{[data-theme=light],:host-context(.light){color-scheme:only light}[data-theme=dark],:host-context(.dark){color-scheme:only dark}:root,:host{font-family:var(--mvw-font, inherit);--mvw-color-live: #8bc34a;--mvw-color-error: #fb2c36;--mvw-color-warning: #ffc107;--mvw-color-info: #2870ed;--mvw-color-team: #ff6129;--mvw-link-color: light-dark(var(--mvw-color-secondary-700), var(--mvw-color-secondary-400));--mvw-text-pale: light-dark(var(--mvw-color-primary-100), var(--mvw-color-primary-700));--mvw-text-faded: light-dark(var(--mvw-color-primary-200), var(--mvw-color-primary-600));--mvw-text-dimmed: light-dark(var(--mvw-color-primary-400), var(--mvw-color-primary-500));--mvw-text-muted: light-dark(var(--mvw-color-primary-500), var(--mvw-color-primary-400));--mvw-text-toned: light-dark(var(--mvw-color-primary-600), var(--mvw-color-primary-300));--mvw-text-default: light-dark(var(--mvw-color-primary-700), var(--mvw-color-primary-200));--mvw-text-highlighted: light-dark(var(--mvw-color-primary-900), var(--mvw-color-primary-50));--mvw-text-inverted: light-dark(var(--mvw-color-white), var(--mvw-color-primary-950));--mvw-bg-default: light-dark(var(--mvw-color-white), var(--mvw-color-primary-950));--mvw-bg-muted: light-dark(var(--mvw-color-primary-50), var(--mvw-color-primary-900));--mvw-bg-elevated: light-dark(var(--mvw-color-primary-100), var(--mvw-color-primary-800));--mvw-bg-accented: light-dark(var(--mvw-color-primary-200), var(--mvw-color-primary-700));--mvw-bg-highlighted: var(--mvw-color-secondary-500);--mvw-bg-inverted: light-dark(var(--mvw-color-primary-900), var(--mvw-color-primary-50));--mvw-border-faded: light-dark(var(--mvw-color-primary-100), var(--mvw-color-primary-800));--mvw-border-muted: light-dark(var(--mvw-color-primary-200), var(--mvw-color-primary-700));--mvw-border-highlighted: var(--mvw-color-secondary-500)}}@layer components{:where(a[href]){--_lighten: oklch(from var(--mvw-link-color) calc(l*1.15) c h);--_darken: oklch(from var(--mvw-link-color) calc(l*.85) c h);color:var(--mvw-link-color);text-decoration:none}:where(a[href]):hover{color:light-dark(var(--_darken),var(--_lighten))}:where(a[target=_blank]){position:relative}:where(a[target=_blank]):hover:after{transition:all 1s cubic-bezier(.075,.82,.165,1);content:"";display:inline-block;margin-inline-start:var(--size-2);background-color:currentColor;-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3C!-- Icon from Lucide by Lucide Contributors - https://github.com/lucide-icons/lucide/blob/main/LICENSE --%3E%3Cpath fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M15 3h6v6m-11 5L21 3m-3 10v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3C!-- Icon from Lucide by Lucide Contributors - https://github.com/lucide-icons/lucide/blob/main/LICENSE --%3E%3Cpath fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M15 3h6v6m-11 5L21 3m-3 10v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'/%3E%3C/svg%3E");-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;inline-size:.8em;block-size:.8em}}@layer components{:where(.loading-indicator){padding:var(--size-16);font-weight:600;color:var(--mvw-loading-indicator-text-color, var(--mvw-text-toned));text-align:center}}@layer utils{.font-bold{font-weight:700}.italic{font-style:italic}.uppercase{text-transform:uppercase}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.text-start{text-align:start}.text-end{text-align:end}.text-center{text-align:center}.text-xs{font-size:var(--font-size-200)}.text-sm{font-size:var(--font-size-400)}.text-xl{font-size:var(--font-size-700)}.text-faded{color:var(--mvw-text-faded)}.text-dimmed{color:var(--mvw-text-dimmed)}.text-muted{color:var(--mvw-text-muted)}.text-toned{color:var(--mvw-text-toned)}.text-default{color:var(--mvw-text-default)}.text-highlighted{color:var(--mvw-text-highlighted)}.w-auto{width:auto}.mx-sm{margin-inline:var(--size-8)}.mb-sm{margin-block-end:var(--size-8)}.mb-md{margin-block-end:var(--size-16)}.mb-xl{margin-block-end:calc(var(--size-16) * 2)}.mt-md{margin-block-start:var(--size-16)}.mt-lg{margin-block-start:var(--size-24)}.mt-xl{margin-block-start:calc(var(--size-16) * 2)}.p-sm{padding-block:var(--size-8)}.py-md{padding-block:var(--size-16)}.flex{display:flex}.grid{display:grid}.block{display:block}.rounded{border-radius:1e5px}.sticky{position:sticky;top:var(--mvw-sticky-top-offset, 0);z-index:10}.blured-bg{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.grid-container{--min-width: 230px;--max-width: 1fr;--gap: var(--size-16);--align-items: center;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(var(--min-width),100%),var(--max-width)));align-items:var(--align-items);gap:var(--gap)}.flex-container{display:flex;flex-wrap:wrap;gap:var(--size-16)}.responsive-team-name{container-type:inline-size;container-name:team-name}.responsive-team-name>*{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.responsive-team-name>* .team-name-short{display:none}@container team-name (max-width: 200px){.responsive-team-name>* .team-name-long{display:none}.responsive-team-name>* .team-name-short{display:inline-block}}}`, Va = "@layer components{:where(.card){--_border: none;--_bg-color: light-dark(var(--mvw-color-white), var(--mvw-color-primary-900));container-type:inline-size;container-name:card-wrapper;padding:var(--size-16);background-color:var(--_bg-color);border:var(--_border);border-radius:var(--radius-2);box-shadow:var(--shadow-3)}:where(.card).bordered{--_bg-color: light-dark(var(--mvw-color-primary-50), var(--mvw-color-primary-950));--_border: 1px solid light-dark(var(--mvw-color-primary-100), var(--mvw-color-primary-900));box-shadow:none;border-radius:0}}", Ha = "@layer components.variables{:where(:host){--mvw-color-error-notice-bg-color: color-mix(in oklab, var(--mvw-color-error) 10%, transparent);--mvw-color-error-notice-border-color: color-mix(in oklab, var(--mvw-color-error) 25%, transparent);--mvw-color-error-notice-color: var(--mvw-color-error)}}@layer components{:where(.error-notice){display:flex;align-items:center;justify-items:flex-start;gap:15px;margin:10px 0;padding:10px 20px;background-color:var(--mvw-color-error-notice-bg-color);color:var(--mvw-color-error-notice-color);border:1px solid var(--mvw-color-error-notice-border-color);border-radius:var(--radius-2)}:where(.error-notice) button{text-decoration:underline}}", Wa = "@layer components.variables{:where(:host){--mvw-tab-btn-font-size: var(--font-size-500);--mvw-tab-btn-font-weight: 500;--mvw-tab-btn-color: var(--mvw-text-dimmed);--mvw-tab-btn-border-style: solid;--mvw-tab-btn-border-width: 0 0 3px 0;--mvw-tab-btn-text-transform: uppercase;--mvw-tab-btn-hover-color: var(--mvw-text-muted);--mvw-tab-btn-hover-border-color: transparent;--mvw-tab-btn-active-color: var(--mvw-text-highlighted);--mvw-tab-btn-active-border-color: var(--mvw-border-highlighted);--mvw-tab-btn-group-separator-color: var(--mvw-border-muted);--mvw-toggle-group-gap: var(--size-6);--mvw-toggle-group-nav-padding: 0;--mvw-toggle-group-border-width: 0;--mvw-toggle-group-btn-padding: var(--size-4) var(--size-8);--mvw-toggle-group-btn-size: var(--font-size-400);--mvw-toggle-group-btn-color: light-dark(var(--mvw-color-primary-900), var(--mvw-color-primary-100));--mvw-toggle-group-btn-bg-color: light-dark(var(--mvw-color-primary-50), var(--mvw-color-primary-900));--mvw-toggle-group-btn-active-color: var(--mvw-color-primary-0);--mvw-toggle-group-btn-active-bg-color: var(--mvw-bg-highlighted);--mvw-toggle-group-btn-radius: var(--radius-2)}}@layer components{:where(nav.tabs)>[role=tablist] button{outline-color:transparent;outline-offset:-4px}:where(nav.tabs)>[role=tablist] button:focus-visible{outline:2px solid blue}:where(nav.tabs).underlined>[role=tablist]{border-bottom:1px solid var(--mvw-tab-btn-group-separator-color)}:where(nav.tabs).underlined>[role=tablist] button{background:transparent;color:var(--mvw-tab-btn-color);font-weight:var(--mvw-tab-btn-font-weight);line-height:var(--font-lineheight-4);padding:var(--size-8) var(--size-16);text-transform:var(--mvw-tab-btn-text-transform)}:where(nav.tabs).underlined>[role=tablist] button:focus-visible{border-radius:0}:where(nav.tabs).underlined>[role=tablist] button[aria-selected=true]{border-block-end:3px solid var(--mvw-tab-btn-active-border-color);color:var(--mvw-tab-btn-active-color)}:where(nav.tabs).underlined>[role=tablist] button[aria-selected=false]:hover{color:var(--mvw-tab-btn-hover-color)}:where(nav.tabs).filled>[role=tablist]{display:flex;gap:var(--mvw-toggle-group-gap);border:var(--mvw-toggle-group-border-width) solid var(--mvw-border-muted);border-radius:calc(var(--mvw-toggle-group-btn-radius) + var(--mvw-toggle-group-nav-padding));overflow:hidden;padding:var(--mvw-toggle-group-nav-padding);width:fit-content}:where(nav.tabs).filled>[role=tablist] button{background-color:var(--mvw-toggle-group-btn-bg-color);border-radius:var(--mvw-toggle-group-btn-radius);font-size:var(--mvw-toggle-group-btn-size);color:var(--mvw-toggle-group-btn-color);padding:var(--mvw-toggle-group-btn-padding)}:where(nav.tabs).filled>[role=tablist] button[aria-selected=true]{color:var(--mvw-toggle-group-btn-active-color);background-color:var(--mvw-toggle-group-btn-active-bg-color)}}", qa = "@layer components{:where(h1,.h1,h2,.h2,h3,.h3,h4,.h4,h5,.h5,h6,.h6){color:var(--mvw-text-highlighted);font-weight:700;text-wrap:pretty}:where(h1,.h1){font-size:var(--font-size-h1, var(--font-size-700));letter-spacing:-.02em;line-height:1.15}:where(h2,.h2){font-size:var(--font-size-h2, var(--font-size-5, 2rem));letter-spacing:-.02em;line-height:1.2}:where(h3,.h3){font-size:var(--font-size-h3, var(--font-size-4, 1.5rem));letter-spacing:-.01em;line-height:1.167}:where(h4,.h4){font-size:var(--font-size-h4, var(--font-size-3, 1.25rem));letter-spacing:-.01em;line-height:1.235}:where(h5,.h5){font-size:var(--font-size-h5, var(--font-size-2, 1.1rem));line-height:1.334}:where(h6,.h6){font-size:var(--font-size-h6, var(--font-size-500, 1rem));line-height:1}}", Ja = '@layer components{:where(.card-item){--_grid-template-areas: "name name name name name" "date date date date date" "home-team home-team-logo game-data away-team-logo away-team";display:grid;grid-gap:var(--size-8);grid-template-columns:1fr 20px 1.5fr 20px 1fr;grid-template-areas:var(--_grid-template-areas);padding:var(--size-16);align-items:center}:where(.card-item):not(:last-of-type){border-bottom:1px solid var(--mvw-border-faded)}:where(.card-item) img{display:block;width:100%;aspect-ratio:1}:where(.card-item) .game-result{color:var(--mvw-text-highlighted)}:where(.card-item) .game-result.is-live{color:var(--mvw-color-live)}@container card-wrapper (width > 768px){:where(.card-item){grid-template-columns:2fr 40px 1fr 40px 2fr}}}', we = (e, t) => {
|
|
1163
1163
|
const o = e.__vccOpts || e;
|
|
1164
1164
|
for (const [r, i] of t)
|
|
1165
1165
|
o[r] = i;
|
|
@@ -1182,16 +1182,16 @@ const xa = { render: rr }, ka = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Ob
|
|
|
1182
1182
|
type: String,
|
|
1183
1183
|
default: ""
|
|
1184
1184
|
},
|
|
1185
|
-
...
|
|
1185
|
+
...Cr
|
|
1186
1186
|
},
|
|
1187
1187
|
setup(e) {
|
|
1188
|
-
const t = e, o = { en: he, hu:
|
|
1188
|
+
const t = e, o = { en: he, hu: ge }, r = G(He()), i = I(() => t.isGameTargetExternal ? "_blank" : "_self"), c = (m) => We(t.externalGameResolver || "/game/id/{id}", m);
|
|
1189
1189
|
return (m, n) => (u(), L(a(ue), {
|
|
1190
1190
|
locale: t.locale,
|
|
1191
1191
|
messages: o
|
|
1192
1192
|
}, {
|
|
1193
1193
|
default: E(({ t: v }) => [
|
|
1194
|
-
S(a(
|
|
1194
|
+
S(a(Ue), null, {
|
|
1195
1195
|
default: E(({ error: d, hasError: s }) => [
|
|
1196
1196
|
s ? (u(), L(a($e), {
|
|
1197
1197
|
key: 0,
|
|
@@ -1204,14 +1204,14 @@ const xa = { render: rr }, ka = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Ob
|
|
|
1204
1204
|
"api-key": e.apiKey
|
|
1205
1205
|
}, {
|
|
1206
1206
|
default: E(({
|
|
1207
|
-
games:
|
|
1207
|
+
games: g,
|
|
1208
1208
|
months: w,
|
|
1209
|
-
isLoading:
|
|
1209
|
+
isLoading: p,
|
|
1210
1210
|
selectedPanel: _,
|
|
1211
1211
|
selectedMonth: y,
|
|
1212
|
-
more:
|
|
1212
|
+
more: C,
|
|
1213
1213
|
setMonth: z,
|
|
1214
|
-
changePanel:
|
|
1214
|
+
changePanel: T
|
|
1215
1215
|
}) => [
|
|
1216
1216
|
l("nav", Qa, [
|
|
1217
1217
|
l("div", {
|
|
@@ -1224,26 +1224,26 @@ const xa = { render: rr }, ka = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Ob
|
|
|
1224
1224
|
role: "tab",
|
|
1225
1225
|
type: "button",
|
|
1226
1226
|
"aria-selected": _ === a(de),
|
|
1227
|
-
onClick: (
|
|
1228
|
-
},
|
|
1227
|
+
onClick: (f) => T(a(de))
|
|
1228
|
+
}, b(v("calendar.gamesPlayed")), 9, Za),
|
|
1229
1229
|
l("button", {
|
|
1230
1230
|
role: "tab",
|
|
1231
1231
|
type: "button",
|
|
1232
1232
|
"aria-selected": _ === a(ze),
|
|
1233
|
-
onClick: (
|
|
1234
|
-
},
|
|
1233
|
+
onClick: (f) => T(a(ze))
|
|
1234
|
+
}, b(v("calendar.todaysGames")), 9, ei),
|
|
1235
1235
|
l("button", {
|
|
1236
1236
|
role: "tab",
|
|
1237
1237
|
type: "button",
|
|
1238
1238
|
"aria-selected": _ === a(Se),
|
|
1239
|
-
onClick: (
|
|
1240
|
-
},
|
|
1239
|
+
onClick: (f) => T(a(Se))
|
|
1240
|
+
}, b(v("calendar.nextGames")), 9, ti),
|
|
1241
1241
|
l("button", {
|
|
1242
1242
|
role: "tab",
|
|
1243
1243
|
type: "button",
|
|
1244
1244
|
"aria-selected": _ === a(Ae),
|
|
1245
|
-
onClick: (
|
|
1246
|
-
},
|
|
1245
|
+
onClick: (f) => T(a(Ae))
|
|
1246
|
+
}, b(v("calendar.weekGames")), 9, ri)
|
|
1247
1247
|
], 8, Xa)
|
|
1248
1248
|
]),
|
|
1249
1249
|
l("nav", oi, [
|
|
@@ -1251,25 +1251,25 @@ const xa = { render: rr }, ka = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Ob
|
|
|
1251
1251
|
role: "tablist",
|
|
1252
1252
|
"aria-label": v("selection.sections")
|
|
1253
1253
|
}, [
|
|
1254
|
-
(u(!0), x(
|
|
1255
|
-
key:
|
|
1254
|
+
(u(!0), x(B, null, Z(w, (f) => (u(), x("button", {
|
|
1255
|
+
key: f.id,
|
|
1256
1256
|
type: "button",
|
|
1257
|
-
"aria-selected": y ===
|
|
1258
|
-
disabled:
|
|
1259
|
-
onClick: (h) => z(
|
|
1260
|
-
}, f
|
|
1257
|
+
"aria-selected": y === f.id,
|
|
1258
|
+
disabled: p,
|
|
1259
|
+
onClick: (h) => z(f)
|
|
1260
|
+
}, b(f.name), 9, ii))), 128))
|
|
1261
1261
|
], 8, ai)
|
|
1262
1262
|
]),
|
|
1263
|
-
|
|
1263
|
+
g.totalItems === 0 && !p ? (u(), x("div", ni, b(v("calendar.noGame")), 1)) : P("", !0),
|
|
1264
1264
|
l("div", null, [
|
|
1265
|
-
|
|
1266
|
-
(u(!0), x(
|
|
1265
|
+
p ? (u(), L(a(Ke), { key: 0 })) : P("", !0),
|
|
1266
|
+
(u(!0), x(B, null, Z(g.rows, (f, h) => (u(), x("div", {
|
|
1267
1267
|
key: h,
|
|
1268
1268
|
"data-gamedate": h
|
|
1269
1269
|
}, [
|
|
1270
|
-
l("span", si,
|
|
1270
|
+
l("span", si, b(a(V)(new Date(h), "LL dddd", r.value, e.locale)), 1),
|
|
1271
1271
|
l("div", ci, [
|
|
1272
|
-
(u(!0), x(
|
|
1272
|
+
(u(!0), x(B, null, Z(f, (k) => (u(), L(Ka, {
|
|
1273
1273
|
key: k.id,
|
|
1274
1274
|
game: k,
|
|
1275
1275
|
locale: e.locale,
|
|
@@ -1280,13 +1280,13 @@ const xa = { render: rr }, ka = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Ob
|
|
|
1280
1280
|
])
|
|
1281
1281
|
], 8, li))), 128))
|
|
1282
1282
|
]),
|
|
1283
|
-
!
|
|
1283
|
+
!p && g.currentItems < g.totalItems ? (u(), L(a(zr), {
|
|
1284
1284
|
key: 1,
|
|
1285
1285
|
options: { rootMargin: "400px" },
|
|
1286
|
-
onIntersect:
|
|
1286
|
+
onIntersect: C
|
|
1287
1287
|
}, {
|
|
1288
1288
|
default: E(() => [
|
|
1289
|
-
l("button", { onClick:
|
|
1289
|
+
l("button", { onClick: C }, b(v("calendar.more")), 9, mi)
|
|
1290
1290
|
]),
|
|
1291
1291
|
_: 2
|
|
1292
1292
|
}, 1032, ["onIntersect"])) : P("", !0)
|
|
@@ -1300,7 +1300,7 @@ const xa = { render: rr }, ka = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Ob
|
|
|
1300
1300
|
_: 1
|
|
1301
1301
|
}, 8, ["locale"]));
|
|
1302
1302
|
}
|
|
1303
|
-
}, vi = /* @__PURE__ */ we(di, [["styles", [
|
|
1303
|
+
}, vi = /* @__PURE__ */ we(di, [["styles", [pe, Va, Ha, Wa, qa, Ja]]]), ui = { class: "" }, hi = ["value"], gi = { class: "tabs underlined mb-md" }, pi = ["aria-label"], wi = ["aria-selected", "onClick"], or = {
|
|
1304
1304
|
__name: "SeasonSelector",
|
|
1305
1305
|
props: {
|
|
1306
1306
|
seasons: {
|
|
@@ -1333,7 +1333,7 @@ const xa = { render: rr }, ka = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Ob
|
|
|
1333
1333
|
function m(n) {
|
|
1334
1334
|
r("onChangeSection", n);
|
|
1335
1335
|
}
|
|
1336
|
-
return (n, v) => (u(), x(
|
|
1336
|
+
return (n, v) => (u(), x(B, null, [
|
|
1337
1337
|
l("div", ui, [
|
|
1338
1338
|
S(a(xe), {
|
|
1339
1339
|
label: a(i)("selection.season"),
|
|
@@ -1347,10 +1347,10 @@ const xa = { render: rr }, ka = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Ob
|
|
|
1347
1347
|
"onUpdate:modelValue": v[0] || (v[0] = (d) => c.value = d)
|
|
1348
1348
|
}, {
|
|
1349
1349
|
default: E(() => [
|
|
1350
|
-
(u(!0), x(
|
|
1350
|
+
(u(!0), x(B, null, Z(e.seasons, (d) => (u(), x("option", {
|
|
1351
1351
|
key: d.championshipId,
|
|
1352
1352
|
value: d.championshipId
|
|
1353
|
-
},
|
|
1353
|
+
}, b(d.seasonName), 9, hi))), 128))
|
|
1354
1354
|
]),
|
|
1355
1355
|
_: 1
|
|
1356
1356
|
}, 8, ["modelValue"])
|
|
@@ -1358,29 +1358,29 @@ const xa = { render: rr }, ka = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Ob
|
|
|
1358
1358
|
_: 1
|
|
1359
1359
|
}, 8, ["label"])
|
|
1360
1360
|
]),
|
|
1361
|
-
l("nav",
|
|
1361
|
+
l("nav", gi, [
|
|
1362
1362
|
l("div", {
|
|
1363
1363
|
role: "tablist",
|
|
1364
1364
|
"aria-label": a(i)("selection.sections")
|
|
1365
1365
|
}, [
|
|
1366
|
-
(u(!0), x(
|
|
1366
|
+
(u(!0), x(B, null, Z(e.sections, (d) => (u(), x("button", {
|
|
1367
1367
|
key: d.phaseId,
|
|
1368
1368
|
role: "tab",
|
|
1369
1369
|
"aria-selected": d.sectionId === e.sectionId,
|
|
1370
1370
|
onClick: (s) => m(d)
|
|
1371
|
-
},
|
|
1372
|
-
], 8,
|
|
1371
|
+
}, b(d.sectionName), 9, wi))), 128))
|
|
1372
|
+
], 8, pi)
|
|
1373
1373
|
])
|
|
1374
1374
|
], 64));
|
|
1375
1375
|
}
|
|
1376
1376
|
}, ke = "schedule", Ze = "standings", ce = "players", De = "teams";
|
|
1377
|
-
function
|
|
1377
|
+
function bi(e, t, o = null) {
|
|
1378
1378
|
const r = At(e);
|
|
1379
1379
|
t.championships = r, t.selectedChampionshipId = t.championships?.[0]?.sectionId;
|
|
1380
1380
|
const i = Ot(r?.[0]?.phases ?? []), c = i.findIndex((m) => m.phaseId === Number(o));
|
|
1381
1381
|
t.phaseId = c > -1 ? Number(o) : i[0]?.phaseId;
|
|
1382
1382
|
}
|
|
1383
|
-
const
|
|
1383
|
+
const fi = (/* @__PURE__ */ new Map()).set("schedule", {
|
|
1384
1384
|
api: "/v2/games-list",
|
|
1385
1385
|
columns: () => Vt,
|
|
1386
1386
|
sort: {}
|
|
@@ -1532,8 +1532,8 @@ function xt(e) {
|
|
|
1532
1532
|
}
|
|
1533
1533
|
function yi(e, t) {
|
|
1534
1534
|
if (e.length === 0)
|
|
1535
|
-
throw new
|
|
1536
|
-
t.seasons =
|
|
1535
|
+
throw new jt(Me.message, Me.options);
|
|
1536
|
+
t.seasons = Rt(e), t.championshipId || (t.championshipId = ee(t.seasons).championshipId);
|
|
1537
1537
|
}
|
|
1538
1538
|
const xi = {
|
|
1539
1539
|
__name: "DataProvider",
|
|
@@ -1587,10 +1587,10 @@ const xi = {
|
|
|
1587
1587
|
columns: Vt,
|
|
1588
1588
|
sort: null,
|
|
1589
1589
|
report: "points"
|
|
1590
|
-
}), i =
|
|
1590
|
+
}), i = Ct(t, "timezone"), c = G(""), { onError: m } = qe(), { sort: n, change: v } = Vr({
|
|
1591
1591
|
sortTarget: "",
|
|
1592
1592
|
orders: []
|
|
1593
|
-
}), { page: d, change: s } = Kt(), { t:
|
|
1593
|
+
}), { page: d, change: s } = Kt(), { t: g } = se(), { isLoading: w, execute: p } = te({
|
|
1594
1594
|
options: {
|
|
1595
1595
|
path: "/v2/championship-seasons",
|
|
1596
1596
|
apiKey: t.apiKey,
|
|
@@ -1604,12 +1604,12 @@ const xi = {
|
|
|
1604
1604
|
apiKey: t.apiKey,
|
|
1605
1605
|
params: I(() => ({ championshipId: r.championshipId }))
|
|
1606
1606
|
},
|
|
1607
|
-
transform: (D) =>
|
|
1607
|
+
transform: (D) => bi(D, r, t.initialPhaseId),
|
|
1608
1608
|
onError: m
|
|
1609
1609
|
}), {
|
|
1610
|
-
isLoading:
|
|
1610
|
+
isLoading: C,
|
|
1611
1611
|
state: z,
|
|
1612
|
-
execute:
|
|
1612
|
+
execute: T
|
|
1613
1613
|
} = te({
|
|
1614
1614
|
options: {
|
|
1615
1615
|
path: I(() => r.api),
|
|
@@ -1617,12 +1617,12 @@ const xi = {
|
|
|
1617
1617
|
resetOnExecute: !0,
|
|
1618
1618
|
params: I(() => ({ championshipId: r.championshipId, phaseId: r.phaseId, ...r.apiParams }))
|
|
1619
1619
|
},
|
|
1620
|
-
transform: (D) =>
|
|
1620
|
+
transform: (D) => Gt(D),
|
|
1621
1621
|
onError: m
|
|
1622
|
-
}),
|
|
1623
|
-
|
|
1622
|
+
}), f = Hr([_, w, C], { delay: 1e3 });
|
|
1623
|
+
Ge([p, y, T]);
|
|
1624
1624
|
const h = I(
|
|
1625
|
-
() => r.selectedPanel === ce ? yt(
|
|
1625
|
+
() => r.selectedPanel === ce ? yt(g) : xt(g)
|
|
1626
1626
|
), k = I(() => {
|
|
1627
1627
|
const D = r.championships.find((Y) => Y.sectionId === r.selectedChampionshipId);
|
|
1628
1628
|
return Ir(Ot(D?.phases ?? []));
|
|
@@ -1635,54 +1635,54 @@ const xi = {
|
|
|
1635
1635
|
Mr(["mip"]),
|
|
1636
1636
|
Ar(["dvgTime", "dvgTimePP1", "dvgTimePP2", "advTime", "advTimePP1", "advTimePP2"])
|
|
1637
1637
|
)
|
|
1638
|
-
), O = I(() =>
|
|
1638
|
+
), O = I(() => Ce(a(M)).filter(a(c), ["name"]).sorted(n).addContinuousIndex().schedule(a(i), a(t.locale)).pagination(a(d), $.value).value());
|
|
1639
1639
|
function N(D) {
|
|
1640
|
-
r.championshipId = D, o.championshipId = D,
|
|
1641
|
-
}
|
|
1642
|
-
function G(D) {
|
|
1643
|
-
r.selectedChampionshipId = D.sectionId, r.phaseId = k.value[0]?.phaseId ?? null, C();
|
|
1640
|
+
r.championshipId = D, o.championshipId = D, Ge([y, T]);
|
|
1644
1641
|
}
|
|
1645
1642
|
function R(D) {
|
|
1646
|
-
r.
|
|
1643
|
+
r.selectedChampionshipId = D.sectionId, r.phaseId = k.value[0]?.phaseId ?? null, T();
|
|
1644
|
+
}
|
|
1645
|
+
function j(D) {
|
|
1646
|
+
r.phaseId = D, T();
|
|
1647
1647
|
}
|
|
1648
1648
|
function oe(D) {
|
|
1649
1649
|
r.selectedPanel = D;
|
|
1650
1650
|
let Y = D;
|
|
1651
|
-
D === ce && (Y = ee(yt(K))?.value), D === De && (Y = ee(xt(K))?.value), r.report = Y,
|
|
1651
|
+
D === ce && (Y = ee(yt(K))?.value), D === De && (Y = ee(xt(K))?.value), r.report = Y, F(Y);
|
|
1652
1652
|
}
|
|
1653
1653
|
function Q(D) {
|
|
1654
|
-
|
|
1654
|
+
F(D);
|
|
1655
1655
|
}
|
|
1656
1656
|
function ne(D) {
|
|
1657
1657
|
c.value = D, s(1);
|
|
1658
1658
|
}
|
|
1659
|
-
function
|
|
1660
|
-
const Y =
|
|
1661
|
-
r.api = Y.api, r.apiParams = Y.params, r.columns = Y.columns(t.allPeriodVisible), n.sortTarget = Y.sort?.sortTarget ?? "", n.orders = Y.sort?.orders ?? [], c.value = "",
|
|
1659
|
+
function F(D) {
|
|
1660
|
+
const Y = fi.get(D);
|
|
1661
|
+
r.api = Y.api, r.apiParams = Y.params, r.columns = Y.columns(t.allPeriodVisible), n.sortTarget = Y.sort?.sortTarget ?? "", n.orders = Y.sort?.orders ?? [], c.value = "", T(), s(1);
|
|
1662
1662
|
}
|
|
1663
|
-
return (D, Y) => ye(D.$slots, "default", Fe(
|
|
1663
|
+
return (D, Y) => ye(D.$slots, "default", Be(Fe({
|
|
1664
1664
|
...r,
|
|
1665
1665
|
sort: a(n),
|
|
1666
1666
|
page: a(d),
|
|
1667
1667
|
query: c.value,
|
|
1668
1668
|
phases: k.value,
|
|
1669
|
-
isLoading: a(
|
|
1669
|
+
isLoading: a(f),
|
|
1670
1670
|
games: O.value,
|
|
1671
1671
|
reports: h.value,
|
|
1672
1672
|
onSort: a(v),
|
|
1673
1673
|
changePanel: oe,
|
|
1674
|
-
changePhase:
|
|
1674
|
+
changePhase: j,
|
|
1675
1675
|
changeSeason: N,
|
|
1676
1676
|
onUpdateQuery: ne,
|
|
1677
1677
|
onChangeReport: Q,
|
|
1678
1678
|
onPaginatorChange: a(s),
|
|
1679
|
-
changeChampionship:
|
|
1679
|
+
changeChampionship: R
|
|
1680
1680
|
})));
|
|
1681
1681
|
}
|
|
1682
1682
|
}, ki = { class: "flex-container" }, _i = {
|
|
1683
1683
|
key: 0,
|
|
1684
1684
|
value: null
|
|
1685
|
-
}, zi = ["value"], Si = ["value"], $i = ["placeholder"],
|
|
1685
|
+
}, zi = ["value"], Si = ["value"], $i = ["placeholder"], Ci = {
|
|
1686
1686
|
__name: "Selector",
|
|
1687
1687
|
props: {
|
|
1688
1688
|
phases: {
|
|
@@ -1727,15 +1727,15 @@ const xi = {
|
|
|
1727
1727
|
S(a(tt), {
|
|
1728
1728
|
id: "phases",
|
|
1729
1729
|
modelValue: a(c),
|
|
1730
|
-
"onUpdate:modelValue": d[0] || (d[0] = (s) =>
|
|
1730
|
+
"onUpdate:modelValue": d[0] || (d[0] = (s) => fe(c) ? c.value = s : null),
|
|
1731
1731
|
disabled: a(c) === null
|
|
1732
1732
|
}, {
|
|
1733
1733
|
default: E(() => [
|
|
1734
|
-
a(c) === null ? (u(), x("option", _i,
|
|
1735
|
-
(u(!0), x(
|
|
1734
|
+
a(c) === null ? (u(), x("option", _i, b(a(i)("selection.noPhases")), 1)) : P("", !0),
|
|
1735
|
+
(u(!0), x(B, null, Z(e.phases, (s) => (u(), x("option", {
|
|
1736
1736
|
key: s.phaseId,
|
|
1737
1737
|
value: s.phaseId
|
|
1738
|
-
},
|
|
1738
|
+
}, b(s.phaseName), 9, zi))), 128))
|
|
1739
1739
|
]),
|
|
1740
1740
|
_: 1
|
|
1741
1741
|
}, 8, ["modelValue", "disabled"])
|
|
@@ -1751,13 +1751,13 @@ const xi = {
|
|
|
1751
1751
|
S(a(tt), {
|
|
1752
1752
|
id: "report",
|
|
1753
1753
|
modelValue: a(m),
|
|
1754
|
-
"onUpdate:modelValue": d[1] || (d[1] = (s) =>
|
|
1754
|
+
"onUpdate:modelValue": d[1] || (d[1] = (s) => fe(m) ? m.value = s : null)
|
|
1755
1755
|
}, {
|
|
1756
1756
|
default: E(() => [
|
|
1757
|
-
(u(!0), x(
|
|
1757
|
+
(u(!0), x(B, null, Z(e.reports, ({ value: s, name: g }) => (u(), x("option", {
|
|
1758
1758
|
key: s,
|
|
1759
1759
|
value: s
|
|
1760
|
-
},
|
|
1760
|
+
}, b(g), 9, Si))), 128))
|
|
1761
1761
|
]),
|
|
1762
1762
|
_: 1
|
|
1763
1763
|
}, 8, ["modelValue"])
|
|
@@ -1770,9 +1770,9 @@ const xi = {
|
|
|
1770
1770
|
name: "filter"
|
|
1771
1771
|
}, {
|
|
1772
1772
|
default: E(() => [
|
|
1773
|
-
|
|
1773
|
+
Tt(l("input", {
|
|
1774
1774
|
id: "filter",
|
|
1775
|
-
"onUpdate:modelValue": d[2] || (d[2] = (s) =>
|
|
1775
|
+
"onUpdate:modelValue": d[2] || (d[2] = (s) => fe(n) ? n.value = s : null),
|
|
1776
1776
|
placeholder: a(i)("selection.filterName"),
|
|
1777
1777
|
type: "search",
|
|
1778
1778
|
autocomplete: "off"
|
|
@@ -1784,7 +1784,7 @@ const xi = {
|
|
|
1784
1784
|
}, 8, ["label"])) : P("", !0)
|
|
1785
1785
|
]));
|
|
1786
1786
|
}
|
|
1787
|
-
}, ar = "@layer components{:where(.table-responsive){container-name:table-wrapper;container-type:inline-size;width:100%;overflow-x:auto}:where(.table-responsive) :where(table){width:100%}}", ir = '@layer components.variables{:where(:host){--mvw-table-header-font-size: var(--font-size-200);--mvw-table-default-column-width: 40px;--mvw-table-default-bg-color: light-dark(var(--mvw-color-white), var(--mvw-color-primary-900));--mvw-table-color: light-dark(var(--mvw-color-primary-800), var(--mvw-color-primary-200));--mvw-table-neutral-color: light-dark(var(--mvw-color-primary-300), var(--mvw-color-primary-700));--mvw-table-header-bg-color: light-dark(var(--mvw-color-primary-800), var(--mvw-color-primary-200));--mvw-table-header-color: light-dark(var(--mvw-color-primary-200), var(--mvw-color-primary-800));--mvw-table-header-hover-bg-color: light-dark(var(--mvw-color-primary-700), var(--mvw-color-primary-300));--mvw-table-header-active-bg-color: light-dark(var(--mvw-color-primary-700), var(--mvw-color-primary-300));--mvw-table-header-active-color: light-dark(var(--mvw-color-white), var(--mvw-color-primary-900));--mvw-table-hover-color: light-dark(var(--mvw-color-primary-900), var(--mvw-color-white));--mvw-table-hover-bg-color: light-dark(var(--mvw-color-secondary-100), var(--mvw-color-primary-950));--mvw-table-active-color: light-dark(var(--mvw-color-secondary-900), var(--mvw-color-secondary-100));--mvw-table-active-bg-color: light-dark(var(--mvw-color-secondary-200), var(--mvw-color-secondary-800));--mvw-table-active-even-bg-color: light-dark(var(--mvw-color-secondary-300), var(--mvw-color-secondary-700));--mvw-table-active-hover-color: light-dark(var(--mvw-color-secondary-900), var(--mvw-color-secondary-100));--mvw-table-active-hover-bg-color: light-dark(var(--mvw-color-secondary-400), var(--mvw-color-secondary-500));--mvw-table-portrait-border-color: light-dark(var(--mvw-color-primary-100), var(--mvw-color-primary-900));--mvw-table-portrait-bg-color: light-dark(var(--mvw-color-primary-50), var(--mvw-color-primary-900));--mvw-table-stripped-bg-color: light-dark( hsl(from var(--mvw-color-primary-50) h s calc(l + 3) ), hsl(from var(--mvw-color-primary-900) h s calc(l + 2) ) );--mvw-table-label-color: light-dark(var(--mvw-color-primary-500), var(--mvw-color-primary-400));--mvw-table-label-bg-color: light-dark(var(--mvw-color-primary-50), var(--mvw-color-primary-900));--mvw-table-cell-logo-size: 20px;--mvw-table-cell-portrait-size: 26px;--mvw-table-caption-color: light-dark(var(--mvw-color-primary-400), var(--mvw-color-primary-600));--mvw-table-caption-font-size: var(--font-size-200)}}@layer components{:where(.table){border-collapse:collapse;max-inline-size:100%;position:relative;color:var(--mvw-table-color);background-color:var(--mvw-table-default-bg-color)}:where(.table) tr{background-color:var(--surface-default);border-top:1px solid var(--border-color)}:where(.table) tr:hover{background-color:oklch(from var(--surface-filled) l c h / 75%)}:where(.table) tr:nth-child(2n){background:var(--mvw-table-stripped-bg-color)}:where(.table) tr:nth-child(2n) td.is-active{background-color:var(--mvw-table-active-even-bg-color)}:where(.table) tr.is-highlighted{color:var(--mvw-color-error)}:where(.table) tr.is-optional{opacity:.5}:where(.table) :is(th,td){padding:var(--size-8);white-space:nowrap;text-align:center}:where(.table) th{background:var(--mvw-table-header-bg-color);color:var(--mvw-table-header-color);font-size:var(--mvw-table-header-font-size);font-weight:700;text-align:center;width:var(--mvw-table-default-column-width)}:where(.table) th:focus-visible,:where(.table) th:hover{background-color:var(--mvw-table-header-hover-bg-color);outline:none}:where(.table) th.is-sortable{position:relative;cursor:pointer}:where(.table) th.is-sortable .is-icon-sort{opacity:.5}:where(.table) th.is-active{background-color:var(--mvw-table-header-active-bg-color);color:var(--mvw-table-header-active-color)}:where(.table) th.is-active .is-icon-sort{opacity:1}:where(.table) th.is-has-image,:where(.table) th.has-avatar{width:0}:where(.table) th .is-icon-sort{display:inline-block;width:var(--size-12);height:var(--size-12);margin-inline-start:var(--size-4)}:where(.table) td.is-active{font-weight:700;color:var(--mvw-table-active-color);background:var(--mvw-table-active-bg-color)}:where(.table) td.has-avatar .avatar{--_width: var(--mvw-table-cell-portrait-size)}:where(.table) td[data-value="0"],:where(.table) td.is-zero{color:var(--mvw-text-faded)}:where(.table) td.is-possible-empty:empty:before{content:"0";color:var(--mvw-text-faded)}:where(.table) td.is-horizontal-content{display:inline-flex;align-items:center}:where(.table) td .is-logo-image{display:inline-block;vertical-align:middle;width:var(--mvw-table-cell-logo-size);height:var(--mvw-table-cell-logo-size);max-inline-size:fit-content}:where(.table) td .is-duplicated{color:var(--mvw-table-neutral-color)}:where(.table) td .is-team-name-long{display:inline-block}:where(.table) td .is-team-name-short{display:none}@container table-wrapper (max-width: 768px){:where(.table) td .is-team-name-long{display:none}:where(.table) td .is-team-name-short{display:inline-block}}:where(.table) caption{caption-side:bottom;color:var(--mvw-table-caption-color);font-size:var(--mvw-table-caption-font-size, .75rem);padding:var(--size-12) 0;text-align:start}:where(.table) tbody tr:focus-within,:where(.table) tbody tr:hover{color:var(--mvw-table-hover-color);background-color:var(--mvw-table-hover-bg-color)}:is(:where(.table) tbody tr:focus-within,:where(.table) tbody tr:hover) td.is-active{color:var(--mvw-table-active-hover-color);background-color:var(--mvw-table-active-hover-bg-color)}}', nr = "@layer components.variables{:where(:host){--mvw-tooltip-font-size: var(--font-size-200);--mvw-tooltip-color: light-dark(white, black);--mvw-tooltip-bg-color: light-dark(black, white);--mvw-floating-content-bg-color: light-dark(white, var(--mvw-color-primary-800))}}@layer components{:where(.floating-content).is-tooltip{background-color:var(--mvw-tooltip-bg-color);color:var(--mvw-tooltip-color);font-weight:700;padding:var(--size-4) var(--size-8);border-radius:var(--radius-2);font-size:var(--mvw-tooltip-font-size);white-space:nowrap;pointer-events:none}:where(.floating-content).is-tooltip .is-arrow{background-color:var(--mvw-tooltip-bg-color)}:where(.floating-content).is-content{background-color:var(--mvw-floating-content-bg-color);border-radius:var(--radius-2);box-shadow:var(--shadow-6)}:where(.floating-content).is-content .is-arrow{background-color:var(--mvw-floating-content-bg-color)}:where(.floating-content) .is-arrow{width:8px;height:8px;transform:rotate(45deg)}[data-placement^=top] :is(:where(.floating-content) .is-arrow){bottom:-4px;clip-path:polygon(80% 0,100% 0,100% 100%,0 100%,0 80%)}[data-placement^=bottom] :is(:where(.floating-content) .is-arrow){top:-4px;clip-path:polygon(100% 0,0 0,0 100%)}[data-placement^=left] :is(:where(.floating-content) .is-arrow){right:-4px;clip-path:polygon(100% 0,0 0,100% 100%)}[data-placement^=right] :is(:where(.floating-content) .is-arrow){left:-4px;clip-path:polygon(100% 0,0 0,0 100%)}.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)}}", lr = "@layer components.variables{:where(:host){--mvw-paginator-color: light-dark(var(--mvw-color-primary-500), var(--mvw-color-primary-400));--mvw-paginator-bg-color: light-dark(var(--mvw-color-white), var(--mvw-color-primary-950));--mvw-paginator-hover-color: light-dark(var(--mvw-color-primary-700), var(--mvw-color-primary-300));--mvw-paginator-hover-bg-color: light-dark(var(--mvw-color-primary-100), var(--mvw-color-primary-900));--mvw-paginator-border-color: light-dark(var(--mvw-color-primary-100), var(--mvw-color-primary-700));--mvw-paginator-active-color: light-dark(var(--mvw-color-white), var(--mvw-color-black));--mvw-paginator-active-bg-color: light-dark(var(--mvw-color-primary-900), var(--mvw-color-primary-50));--mvw-paginator-disabled-color: light-dark(var(--mvw-color-primary-200), var(--mvw-color-primary-600))}}@layer components{:where(.paginator){display:flex;flex-direction:row;list-style-type:none;margin:10px 0;padding:0}:where(.paginator) button,:where(.paginator) div{display:flex;align-items:center;justify-content:center;padding:var(--size-6) var(--size-12);text-decoration:none;cursor:pointer;color:var(--mvw-paginator-color);border:1px solid var(--mvw-paginator-border-color);background-color:var(--mvw-paginator-bg-color);margin-left:-1px}:is(:where(.paginator) button,:where(.paginator) div) .icon{width:var(--size-16);height:var(--size-16);margin:0 -4px;max-inline-size:var(--size-16)}:is(:where(.paginator) button,:where(.paginator) div):hover:not(:is(:where(.paginator) button,:where(.paginator) div).is-disabled,:is(:where(.paginator) button,:where(.paginator) div).is-active){color:var(--mvw-paginator-hover-color);background-color:var(--mvw-paginator-hover-bg-color)}:is(:where(.paginator) button,:where(.paginator) div):disabled,:is(:where(.paginator) button,:where(.paginator) div).is-disabled{color:var(--mvw-paginator-disabled-color);background-color:var(--mvw-paginator-bg-color);pointer-events:none;cursor:default}:is(:where(.paginator) button,:where(.paginator) div).is-active{color:var(--mvw-paginator-active-color);background-color:var(--mvw-paginator-active-bg-color);border-color:var(--mvw-paginator-active-bg-color);cursor:default}}", sr = `@layer components.variables{:where(:host){--mvw-form-label-font-size: var(--font-size-200);--mvw-form-label-color: var(--mvw-text-muted);--mvw-input-color: light-dark(var(--mvw-color-primary-800), var(--mvw-color-primary-200));--mvw-input-font-size: var(--font-size-400);--mvw-input-border-color: light-dark(var(--mvw-color-primary-300), var(--mvw-color-primary-700));--mvw-input-bg-color: light-dark(var(--mvw-color-white), var(--mvw-color-primary-950));--mvw-input-border-radius: var(--radius-2)}}@layer components{:where(.form-field){--_border-color: var(--mvw-input-border-color);--_bg-color: var(--mvw-input-bg-color);--_height: var(--size-32);--_color: var(--mvw-input-color);--_field-padding-block: var(--size-6);--_field-padding-inline: var(--size-10);contain:layout;position:relative;color:var(--mvw-text-default)}:where(.form-field) pre,:where(.form-field) input,:where(.form-field) select{appearance:none;block-size:var(--_height);min-inline-size:0;font-family:inherit;font-size:var(--mvw-input-font-size);color:var(--_color);line-height:var(--font-lineheight-100);background-color:var(--_bg-color);border:var(--field-border-width, 1px) solid var(--_border-color);border-radius:var(--mvw-input-border-radius);padding:var(--_field-padding-block) var(--_field-padding-inline)}:where(.form-field) select{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='%23888' 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 var(--size-6) center;background-size:16px 12px;padding-inline-end:var(--size-24)}:where(.form-field) pre{line-height:var(--font-lineheight-500)}:where(.form-field) input::placeholder{color:rgb(from var(--_color) r g b / 50%)}:where(.form-field) label{display:block;font-size:var(--mvw-form-label-font-size);line-height:var(--font-lineheight-700);color:var(--mvw-form-label-color);text-transform:uppercase;font-weight:700}:where(:where(.form-field).full-width input,:where(.form-field).full-width select){inline-size:100%}}`, cr = "@layer components.variables{:where(:host){--mvw-tab-btn-font-size: var(--font-size-500);--mvw-tab-btn-font-weight: 500;--mvw-tab-btn-color: light-dark(var(--mvw-color-primary-300), var(--mvw-color-primary-500));--mvw-tab-btn-border-style: solid;--mvw-tab-btn-border-width: 0 0 3px 0;--mvw-tab-btn-text-transform: uppercase;--mvw-tab-btn-hover-color: light-dark(var(--mvw-color-primary-500), var(--mvw-color-primary-300));--mvw-tab-btn-hover-border-color: transparent;--mvw-tab-btn-active-color: light-dark(var(--mvw-color-primary-900), var(--mvw-color-primary-50));--mvw-tab-btn-active-border-color: var(--mvw-border-highlighted);--mvw-tab-btn-group-separator-color: var(--mvw-border-muted);--mvw-toggle-group-gap: var(--size-6);--mvw-toggle-group-nav-padding: 0;--mvw-toggle-group-border-width: 0;--mvw-toggle-group-btn-padding: var(--size-4) var(--size-8);--mvw-toggle-group-btn-size: var(--font-size-400);--mvw-toggle-group-btn-color: light-dark(var(--mvw-color-primary-900), var(--mvw-color-primary-100));--mvw-toggle-group-btn-bg-color: light-dark(var(--mvw-color-primary-50), var(--mvw-color-primary-900));--mvw-toggle-group-btn-active-color: var(--mvw-color-primary-0);--mvw-toggle-group-btn-active-bg-color: var(--mvw-bg-highlighted);--mvw-toggle-group-btn-radius: var(--radius-2)}}@layer components{:where(nav.tabs)>[role=tablist] button{outline-color:transparent;outline-offset:-4px}:where(nav.tabs)>[role=tablist] button:focus-visible{outline:2px solid blue}:where(nav.tabs).underlined>[role=tablist]{border-bottom:1px solid var(--mvw-tab-btn-group-separator-color)}:where(nav.tabs).underlined>[role=tablist] button{background:transparent;color:var(--mvw-tab-btn-color);font-weight:var(--mvw-tab-btn-font-weight);line-height:var(--font-lineheight-4);padding:var(--size-8) var(--size-16);text-transform:var(--mvw-tab-btn-text-transform)}:where(nav.tabs).underlined>[role=tablist] button:focus-visible{border-radius:0}:where(nav.tabs).underlined>[role=tablist] button[aria-selected=true]{border-block-end:3px solid var(--mvw-tab-btn-active-border-color);color:var(--mvw-tab-btn-active-color)}:where(nav.tabs).underlined>[role=tablist] button[aria-selected=false]:hover{color:var(--mvw-tab-btn-hover-color)}:where(nav.tabs).filled>[role=tablist]{display:flex;gap:var(--mvw-toggle-group-gap);border:var(--mvw-toggle-group-border-width) solid var(--mvw-border-muted);border-radius:calc(var(--mvw-toggle-group-btn-radius) + var(--mvw-toggle-group-nav-padding));overflow:hidden;padding:var(--mvw-toggle-group-nav-padding);width:fit-content}:where(nav.tabs).filled>[role=tablist] button{background-color:var(--mvw-toggle-group-btn-bg-color);border-radius:var(--mvw-toggle-group-btn-radius);font-size:var(--mvw-toggle-group-btn-size);color:var(--mvw-toggle-group-btn-color);padding:var(--mvw-toggle-group-btn-padding)}:where(nav.tabs).filled>[role=tablist] button[aria-selected=true]{color:var(--mvw-toggle-group-btn-active-color);background-color:var(--mvw-toggle-group-btn-active-bg-color)}}", Ci = "@layer components{:where(.badge){--_bg-color: var(--mvw-bg-muted);--_color: var(--mvw-text-muted);padding:var(--size-2) var(--size-4);display:inline-flex;gap:var(--size-2);font-size:var(--font-size-100);font-weight:700;line-height:var(--font-lineheight-300);color:var(--_color);background-color:var(--_bg-color);border-radius:var(--radius-2)}:where(.badge) svg{fill:currentColor}:where(.badge).inverted{--_bg-color: var(--mvw-bg-inverted);--_color: var(--mvw-text-inverted)}:where(.badge).live{--_bg-color: var(--mvw-color-live);--_color: var(--mvw-color-white)}:where(.badge).error{--_bg-color: var(--mvw-color-error);--_color: var(--mvw-color-white)}:where(.badge).warning{--_bg-color: var(--mvw-color-warning);--_color: var(--mvw-color-white)}:where(.badge).xs{font-size:var(--font-size-50)}:where(.badge).lg{font-size:var(--font-size-300);padding:var(--size-4) var(--size-6)}:where(.badge)+:where(.badge){margin-inline-start:var(--size-4)}}", Ni = "@layer components.variables{:where(:host){--mvw-avatar-border-color: light-dark(var(--mvw-color-primary-100), var(--mvw-color-primary-700))}}@layer components{:where(.avatar){--_width: 20px;display:inline-flex;vertical-align:middle;aspect-ratio:1;inline-size:var(--_width);justify-content:center;overflow:clip;position:relative;border-radius:100%;border:1px solid var(--mvw-avatar-border-color)}:where(.avatar) img{block-size:100%;inline-size:100%;inset:0;object-fit:cover;position:absolute}}", Ii = "@layer components.variables{:where(:host){--mvw-color-error-notice-bg-color: color-mix(in oklab, var(--mvw-color-error) 10%, transparent);--mvw-color-error-notice-border-color: color-mix(in oklab, var(--mvw-color-error) 25%, transparent);--mvw-color-error-notice-color: var(--mvw-color-error)}}@layer components{:where(.error-notice){display:flex;align-items:center;justify-items:flex-start;gap:15px;margin:10px 0;padding:10px 20px;background-color:var(--mvw-color-error-notice-bg-color);color:var(--mvw-color-error-notice-color);border:1px solid var(--mvw-color-error-notice-border-color);border-radius:var(--radius-2)}:where(.error-notice) button{text-decoration:underline}}", Ei = { class: "tabs underlined" }, Pi = ["aria-label"], Di = ["aria-selected", "onClick"], Li = ["aria-selected", "onClick"], Mi = ["aria-selected", "onClick"], Ai = ["aria-selected", "onClick"], Oi = {
|
|
1787
|
+
}, ar = "@layer components{:where(.table-responsive){container-name:table-wrapper;container-type:inline-size;width:100%;overflow-x:auto}:where(.table-responsive) :where(table){width:100%}}", ir = '@layer components.variables{:where(:host){--mvw-table-header-font-size: var(--font-size-200);--mvw-table-default-column-width: 40px;--mvw-table-default-bg-color: light-dark(var(--mvw-color-white), var(--mvw-color-primary-900));--mvw-table-color: light-dark(var(--mvw-color-primary-800), var(--mvw-color-primary-200));--mvw-table-neutral-color: light-dark(var(--mvw-color-primary-300), var(--mvw-color-primary-700));--mvw-table-header-bg-color: light-dark(var(--mvw-color-primary-800), var(--mvw-color-primary-200));--mvw-table-header-color: light-dark(var(--mvw-color-primary-200), var(--mvw-color-primary-800));--mvw-table-header-hover-bg-color: light-dark(var(--mvw-color-primary-700), var(--mvw-color-primary-300));--mvw-table-header-active-bg-color: light-dark(var(--mvw-color-primary-700), var(--mvw-color-primary-300));--mvw-table-header-active-color: light-dark(var(--mvw-color-white), var(--mvw-color-primary-900));--mvw-table-hover-color: light-dark(var(--mvw-color-primary-900), var(--mvw-color-white));--mvw-table-hover-bg-color: light-dark(var(--mvw-color-secondary-100), var(--mvw-color-primary-950));--mvw-table-active-color: light-dark(var(--mvw-color-secondary-900), var(--mvw-color-secondary-100));--mvw-table-active-bg-color: light-dark(var(--mvw-color-secondary-200), var(--mvw-color-secondary-800));--mvw-table-active-even-bg-color: light-dark(var(--mvw-color-secondary-300), var(--mvw-color-secondary-700));--mvw-table-active-hover-color: light-dark(var(--mvw-color-secondary-900), var(--mvw-color-secondary-100));--mvw-table-active-hover-bg-color: light-dark(var(--mvw-color-secondary-400), var(--mvw-color-secondary-500));--mvw-table-portrait-border-color: light-dark(var(--mvw-color-primary-100), var(--mvw-color-primary-900));--mvw-table-portrait-bg-color: light-dark(var(--mvw-color-primary-50), var(--mvw-color-primary-900));--mvw-table-stripped-bg-color: light-dark( hsl(from var(--mvw-color-primary-50) h s calc(l + 3) ), hsl(from var(--mvw-color-primary-900) h s calc(l + 2) ) );--mvw-table-label-color: light-dark(var(--mvw-color-primary-500), var(--mvw-color-primary-400));--mvw-table-label-bg-color: light-dark(var(--mvw-color-primary-50), var(--mvw-color-primary-900));--mvw-table-cell-logo-size: 20px;--mvw-table-cell-portrait-size: 26px;--mvw-table-caption-color: light-dark(var(--mvw-color-primary-400), var(--mvw-color-primary-600));--mvw-table-caption-font-size: var(--font-size-200)}}@layer components{:where(.table){border-collapse:collapse;max-inline-size:100%;position:relative;color:var(--mvw-table-color);background-color:var(--mvw-table-default-bg-color)}:where(.table) tr{background-color:var(--surface-default);border-top:1px solid var(--border-color)}:where(.table) tr:hover{background-color:oklch(from var(--surface-filled) l c h / 75%)}:where(.table) tr:nth-child(2n){background:var(--mvw-table-stripped-bg-color)}:where(.table) tr:nth-child(2n) td.is-active{background-color:var(--mvw-table-active-even-bg-color)}:where(.table) tr.is-highlighted{color:var(--mvw-color-error)}:where(.table) tr.is-optional{opacity:.5}:where(.table) :is(th,td){padding:var(--size-8);white-space:nowrap;text-align:center}:where(.table) th{background:var(--mvw-table-header-bg-color);color:var(--mvw-table-header-color);font-size:var(--mvw-table-header-font-size);font-weight:700;text-align:center;width:var(--mvw-table-default-column-width)}:where(.table) th:focus-visible,:where(.table) th:hover{background-color:var(--mvw-table-header-hover-bg-color);outline:none}:where(.table) th.is-sortable{position:relative;cursor:pointer}:where(.table) th.is-sortable .is-icon-sort{opacity:.5}:where(.table) th.is-active{background-color:var(--mvw-table-header-active-bg-color);color:var(--mvw-table-header-active-color)}:where(.table) th.is-active .is-icon-sort{opacity:1}:where(.table) th.is-has-image,:where(.table) th.has-avatar{width:0}:where(.table) th .is-icon-sort{display:inline-block;width:var(--size-12);height:var(--size-12);margin-inline-start:var(--size-4)}:where(.table) td.is-active{font-weight:700;color:var(--mvw-table-active-color);background:var(--mvw-table-active-bg-color)}:where(.table) td.has-avatar .avatar{--_width: var(--mvw-table-cell-portrait-size)}:where(.table) td[data-value="0"],:where(.table) td.is-zero{color:var(--mvw-text-faded)}:where(.table) td.is-possible-empty:empty:before{content:"0";color:var(--mvw-text-faded)}:where(.table) td.is-horizontal-content{display:inline-flex;align-items:center}:where(.table) td a[target=_blank]:after{content:"";position:absolute;left:100%;top:calc(50% - .4em)}:where(.table) td .is-logo-image{display:inline-block;vertical-align:middle;width:var(--mvw-table-cell-logo-size);height:var(--mvw-table-cell-logo-size);max-inline-size:fit-content}:where(.table) td .is-duplicated{color:var(--mvw-table-neutral-color)}:where(.table) td .is-team-name-long{display:inline-block}:where(.table) td .is-team-name-short{display:none}@container table-wrapper (max-width: 768px){:where(.table) td .is-team-name-long{display:none}:where(.table) td .is-team-name-short{display:inline-block}}:where(.table) caption{caption-side:bottom;color:var(--mvw-table-caption-color);font-size:var(--mvw-table-caption-font-size, .75rem);padding:var(--size-12) 0;text-align:start}:where(.table) tbody tr:focus-within,:where(.table) tbody tr:hover{color:var(--mvw-table-hover-color);background-color:var(--mvw-table-hover-bg-color)}:is(:where(.table) tbody tr:focus-within,:where(.table) tbody tr:hover) td.is-active{color:var(--mvw-table-active-hover-color);background-color:var(--mvw-table-active-hover-bg-color)}}', nr = "@layer components.variables{:where(:host){--mvw-tooltip-font-size: var(--font-size-200);--mvw-tooltip-color: light-dark(white, black);--mvw-tooltip-bg-color: light-dark(black, white);--mvw-floating-content-bg-color: light-dark(white, var(--mvw-color-primary-800))}}@layer components{:where(.floating-content).is-tooltip{background-color:var(--mvw-tooltip-bg-color);color:var(--mvw-tooltip-color);font-weight:700;padding:var(--size-4) var(--size-8);border-radius:var(--radius-2);font-size:var(--mvw-tooltip-font-size);white-space:nowrap;pointer-events:none}:where(.floating-content).is-tooltip .is-arrow{background-color:var(--mvw-tooltip-bg-color)}:where(.floating-content).is-content{background-color:var(--mvw-floating-content-bg-color);border-radius:var(--radius-2);box-shadow:var(--shadow-6)}:where(.floating-content).is-content .is-arrow{background-color:var(--mvw-floating-content-bg-color)}:where(.floating-content) .is-arrow{width:8px;height:8px;transform:rotate(45deg)}[data-placement^=top] :is(:where(.floating-content) .is-arrow){bottom:-4px;clip-path:polygon(80% 0,100% 0,100% 100%,0 100%,0 80%)}[data-placement^=bottom] :is(:where(.floating-content) .is-arrow){top:-4px;clip-path:polygon(100% 0,0 0,0 100%)}[data-placement^=left] :is(:where(.floating-content) .is-arrow){right:-4px;clip-path:polygon(100% 0,0 0,100% 100%)}[data-placement^=right] :is(:where(.floating-content) .is-arrow){left:-4px;clip-path:polygon(100% 0,0 0,0 100%)}.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)}}", lr = "@layer components.variables{:where(:host){--mvw-paginator-color: light-dark(var(--mvw-color-primary-500), var(--mvw-color-primary-400));--mvw-paginator-bg-color: light-dark(var(--mvw-color-white), var(--mvw-color-primary-950));--mvw-paginator-hover-color: light-dark(var(--mvw-color-primary-700), var(--mvw-color-primary-300));--mvw-paginator-hover-bg-color: light-dark(var(--mvw-color-primary-100), var(--mvw-color-primary-900));--mvw-paginator-border-color: light-dark(var(--mvw-color-primary-100), var(--mvw-color-primary-700));--mvw-paginator-active-color: light-dark(var(--mvw-color-white), var(--mvw-color-black));--mvw-paginator-active-bg-color: light-dark(var(--mvw-color-primary-900), var(--mvw-color-primary-50));--mvw-paginator-disabled-color: light-dark(var(--mvw-color-primary-200), var(--mvw-color-primary-600))}}@layer components{:where(.paginator){display:flex;flex-direction:row;list-style-type:none;margin:10px 0;padding:0}:where(.paginator) button,:where(.paginator) div{display:flex;align-items:center;justify-content:center;padding:var(--size-6) var(--size-12);text-decoration:none;cursor:pointer;color:var(--mvw-paginator-color);border:1px solid var(--mvw-paginator-border-color);background-color:var(--mvw-paginator-bg-color);margin-left:-1px}:is(:where(.paginator) button,:where(.paginator) div) .icon{width:var(--size-16);height:var(--size-16);margin:0 -4px;max-inline-size:var(--size-16)}:is(:where(.paginator) button,:where(.paginator) div):hover:not(:is(:where(.paginator) button,:where(.paginator) div).is-disabled,:is(:where(.paginator) button,:where(.paginator) div).is-active){color:var(--mvw-paginator-hover-color);background-color:var(--mvw-paginator-hover-bg-color)}:is(:where(.paginator) button,:where(.paginator) div):disabled,:is(:where(.paginator) button,:where(.paginator) div).is-disabled{color:var(--mvw-paginator-disabled-color);background-color:var(--mvw-paginator-bg-color);pointer-events:none;cursor:default}:is(:where(.paginator) button,:where(.paginator) div).is-active{color:var(--mvw-paginator-active-color);background-color:var(--mvw-paginator-active-bg-color);border-color:var(--mvw-paginator-active-bg-color);cursor:default}}", sr = `@layer components.variables{:where(:host){--mvw-form-label-font-size: var(--font-size-200);--mvw-form-label-color: var(--mvw-text-muted);--mvw-input-color: light-dark(var(--mvw-color-primary-800), var(--mvw-color-primary-200));--mvw-input-font-size: var(--font-size-400);--mvw-input-border-color: light-dark(var(--mvw-color-primary-300), var(--mvw-color-primary-700));--mvw-input-bg-color: light-dark(var(--mvw-color-white), var(--mvw-color-primary-950));--mvw-input-border-radius: var(--radius-2)}}@layer components{:where(.form-field){--_border-color: var(--mvw-input-border-color);--_bg-color: var(--mvw-input-bg-color);--_height: var(--size-32);--_color: var(--mvw-input-color);--_field-padding-block: var(--size-6);--_field-padding-inline: var(--size-10);contain:layout;position:relative;color:var(--mvw-text-default)}:where(.form-field) pre,:where(.form-field) input,:where(.form-field) select{appearance:none;block-size:var(--_height);min-inline-size:0;font-family:inherit;font-size:var(--mvw-input-font-size);color:var(--_color);line-height:var(--font-lineheight-100);background-color:var(--_bg-color);border:var(--field-border-width, 1px) solid var(--_border-color);border-radius:var(--mvw-input-border-radius);padding:var(--_field-padding-block) var(--_field-padding-inline)}:where(.form-field) select{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='%23888' 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 var(--size-6) center;background-size:16px 12px;padding-inline-end:var(--size-24)}:where(.form-field) pre{line-height:var(--font-lineheight-500)}:where(.form-field) input::placeholder{color:rgb(from var(--_color) r g b / 50%)}:where(.form-field) label{display:block;font-size:var(--mvw-form-label-font-size);line-height:var(--font-lineheight-700);color:var(--mvw-form-label-color);text-transform:uppercase;font-weight:700}:where(:where(.form-field).full-width input,:where(.form-field).full-width select){inline-size:100%}}`, cr = "@layer components.variables{:where(:host){--mvw-tab-btn-font-size: var(--font-size-500);--mvw-tab-btn-font-weight: 500;--mvw-tab-btn-color: var(--mvw-text-dimmed);--mvw-tab-btn-border-style: solid;--mvw-tab-btn-border-width: 0 0 3px 0;--mvw-tab-btn-text-transform: uppercase;--mvw-tab-btn-hover-color: var(--mvw-text-muted);--mvw-tab-btn-hover-border-color: transparent;--mvw-tab-btn-active-color: var(--mvw-text-highlighted);--mvw-tab-btn-active-border-color: var(--mvw-border-highlighted);--mvw-tab-btn-group-separator-color: var(--mvw-border-muted);--mvw-toggle-group-gap: var(--size-6);--mvw-toggle-group-nav-padding: 0;--mvw-toggle-group-border-width: 0;--mvw-toggle-group-btn-padding: var(--size-4) var(--size-8);--mvw-toggle-group-btn-size: var(--font-size-400);--mvw-toggle-group-btn-color: light-dark(var(--mvw-color-primary-900), var(--mvw-color-primary-100));--mvw-toggle-group-btn-bg-color: light-dark(var(--mvw-color-primary-50), var(--mvw-color-primary-900));--mvw-toggle-group-btn-active-color: var(--mvw-color-primary-0);--mvw-toggle-group-btn-active-bg-color: var(--mvw-bg-highlighted);--mvw-toggle-group-btn-radius: var(--radius-2)}}@layer components{:where(nav.tabs)>[role=tablist] button{outline-color:transparent;outline-offset:-4px}:where(nav.tabs)>[role=tablist] button:focus-visible{outline:2px solid blue}:where(nav.tabs).underlined>[role=tablist]{border-bottom:1px solid var(--mvw-tab-btn-group-separator-color)}:where(nav.tabs).underlined>[role=tablist] button{background:transparent;color:var(--mvw-tab-btn-color);font-weight:var(--mvw-tab-btn-font-weight);line-height:var(--font-lineheight-4);padding:var(--size-8) var(--size-16);text-transform:var(--mvw-tab-btn-text-transform)}:where(nav.tabs).underlined>[role=tablist] button:focus-visible{border-radius:0}:where(nav.tabs).underlined>[role=tablist] button[aria-selected=true]{border-block-end:3px solid var(--mvw-tab-btn-active-border-color);color:var(--mvw-tab-btn-active-color)}:where(nav.tabs).underlined>[role=tablist] button[aria-selected=false]:hover{color:var(--mvw-tab-btn-hover-color)}:where(nav.tabs).filled>[role=tablist]{display:flex;gap:var(--mvw-toggle-group-gap);border:var(--mvw-toggle-group-border-width) solid var(--mvw-border-muted);border-radius:calc(var(--mvw-toggle-group-btn-radius) + var(--mvw-toggle-group-nav-padding));overflow:hidden;padding:var(--mvw-toggle-group-nav-padding);width:fit-content}:where(nav.tabs).filled>[role=tablist] button{background-color:var(--mvw-toggle-group-btn-bg-color);border-radius:var(--mvw-toggle-group-btn-radius);font-size:var(--mvw-toggle-group-btn-size);color:var(--mvw-toggle-group-btn-color);padding:var(--mvw-toggle-group-btn-padding)}:where(nav.tabs).filled>[role=tablist] button[aria-selected=true]{color:var(--mvw-toggle-group-btn-active-color);background-color:var(--mvw-toggle-group-btn-active-bg-color)}}", Ti = "@layer components{:where(.badge){--_bg-color: var(--mvw-bg-muted);--_color: var(--mvw-text-muted);padding:var(--size-2) var(--size-4);display:inline-flex;gap:var(--size-2);font-size:var(--font-size-100);font-weight:700;line-height:var(--font-lineheight-300);color:var(--_color);background-color:var(--_bg-color);border-radius:var(--radius-2)}:where(.badge) svg{fill:currentColor}:where(.badge).inverted{--_bg-color: var(--mvw-bg-inverted);--_color: var(--mvw-text-inverted)}:where(.badge).live{--_bg-color: var(--mvw-color-live);--_color: var(--mvw-color-white)}:where(.badge).error{--_bg-color: var(--mvw-color-error);--_color: var(--mvw-color-white)}:where(.badge).warning{--_bg-color: var(--mvw-color-warning);--_color: var(--mvw-color-white)}:where(.badge).xs{font-size:var(--font-size-50)}:where(.badge).lg{font-size:var(--font-size-300);padding:var(--size-4) var(--size-6)}:where(.badge)+:where(.badge){margin-inline-start:var(--size-4)}}", Ni = "@layer components.variables{:where(:host){--mvw-avatar-border-color: light-dark(var(--mvw-color-primary-100), var(--mvw-color-primary-700))}}@layer components{:where(.avatar){--_width: 20px;display:inline-flex;vertical-align:middle;aspect-ratio:1;inline-size:var(--_width);justify-content:center;overflow:clip;position:relative;border-radius:100%;border:1px solid var(--mvw-avatar-border-color)}:where(.avatar) img{block-size:100%;inline-size:100%;inset:0;object-fit:cover;position:absolute}}", Ii = "@layer components.variables{:where(:host){--mvw-color-error-notice-bg-color: color-mix(in oklab, var(--mvw-color-error) 10%, transparent);--mvw-color-error-notice-border-color: color-mix(in oklab, var(--mvw-color-error) 25%, transparent);--mvw-color-error-notice-color: var(--mvw-color-error)}}@layer components{:where(.error-notice){display:flex;align-items:center;justify-items:flex-start;gap:15px;margin:10px 0;padding:10px 20px;background-color:var(--mvw-color-error-notice-bg-color);color:var(--mvw-color-error-notice-color);border:1px solid var(--mvw-color-error-notice-border-color);border-radius:var(--radius-2)}:where(.error-notice) button{text-decoration:underline}}", Ei = { class: "tabs underlined" }, Pi = ["aria-label"], Di = ["aria-selected", "onClick"], Li = ["aria-selected", "onClick"], Mi = ["aria-selected", "onClick"], Ai = ["aria-selected", "onClick"], Oi = {
|
|
1788
1788
|
__name: "Championship.ce",
|
|
1789
1789
|
props: {
|
|
1790
1790
|
locale: {
|
|
@@ -1821,18 +1821,18 @@ const xi = {
|
|
|
1821
1821
|
}
|
|
1822
1822
|
},
|
|
1823
1823
|
setup(e) {
|
|
1824
|
-
const t = e, o =
|
|
1824
|
+
const t = e, o = G(null), r = G(He()), i = I(() => Ve(/* @__PURE__ */ new Date(), a(r), t.locale)), c = { en: he, hu: ge }, m = (v) => We(t.externalGameResolver, v), n = (v) => Or(t.externalTeamResolver, v);
|
|
1825
1825
|
return (v, d) => (u(), x("div", null, [
|
|
1826
1826
|
S(a(ue), {
|
|
1827
1827
|
locale: t.locale,
|
|
1828
1828
|
messages: c
|
|
1829
1829
|
}, {
|
|
1830
1830
|
default: E(({ t: s }) => [
|
|
1831
|
-
S(a(
|
|
1832
|
-
default: E(({ error:
|
|
1831
|
+
S(a(Ue), null, {
|
|
1832
|
+
default: E(({ error: g, hasError: w }) => [
|
|
1833
1833
|
w ? (u(), L(a($e), {
|
|
1834
1834
|
key: 0,
|
|
1835
|
-
error:
|
|
1835
|
+
error: g
|
|
1836
1836
|
}, null, 8, ["error"])) : P("", !0),
|
|
1837
1837
|
S(xi, {
|
|
1838
1838
|
locale: e.locale,
|
|
@@ -1843,44 +1843,44 @@ const xi = {
|
|
|
1843
1843
|
"all-period-visible": e.totalPeriodPlayedVisible
|
|
1844
1844
|
}, {
|
|
1845
1845
|
default: E(({
|
|
1846
|
-
sort:
|
|
1846
|
+
sort: p,
|
|
1847
1847
|
page: _,
|
|
1848
1848
|
games: y,
|
|
1849
|
-
query:
|
|
1849
|
+
query: C,
|
|
1850
1850
|
phases: z,
|
|
1851
|
-
report:
|
|
1852
|
-
phaseId:
|
|
1851
|
+
report: T,
|
|
1852
|
+
phaseId: f,
|
|
1853
1853
|
columns: h,
|
|
1854
1854
|
seasons: k,
|
|
1855
1855
|
reports: $,
|
|
1856
1856
|
isLoading: M,
|
|
1857
1857
|
selectedPanel: O,
|
|
1858
1858
|
championships: N,
|
|
1859
|
-
championshipId:
|
|
1860
|
-
selectedChampionshipId:
|
|
1859
|
+
championshipId: R,
|
|
1860
|
+
selectedChampionshipId: j,
|
|
1861
1861
|
onSort: oe,
|
|
1862
1862
|
changePanel: Q,
|
|
1863
1863
|
changePhase: ne,
|
|
1864
|
-
changeSeason:
|
|
1864
|
+
changeSeason: F,
|
|
1865
1865
|
onUpdateQuery: D,
|
|
1866
1866
|
onChangeReport: Y,
|
|
1867
|
-
onPaginatorChange:
|
|
1867
|
+
onPaginatorChange: Te,
|
|
1868
1868
|
changeChampionship: ae
|
|
1869
1869
|
}) => [
|
|
1870
1870
|
S(or, {
|
|
1871
1871
|
seasons: k,
|
|
1872
1872
|
sections: N,
|
|
1873
|
-
"championship-id":
|
|
1874
|
-
"section-id":
|
|
1875
|
-
onOnChangeSeason:
|
|
1873
|
+
"championship-id": R,
|
|
1874
|
+
"section-id": j,
|
|
1875
|
+
onOnChangeSeason: F,
|
|
1876
1876
|
onOnChangeSection: ae
|
|
1877
1877
|
}, null, 8, ["seasons", "sections", "championship-id", "section-id", "onOnChangeSeason", "onOnChangeSection"]),
|
|
1878
|
-
S(
|
|
1879
|
-
query:
|
|
1878
|
+
S(Ci, {
|
|
1879
|
+
query: C,
|
|
1880
1880
|
phases: z,
|
|
1881
|
-
"phase-id":
|
|
1881
|
+
"phase-id": f,
|
|
1882
1882
|
reports: $,
|
|
1883
|
-
report:
|
|
1883
|
+
report: T,
|
|
1884
1884
|
"is-reports-visible": O === a(ce) || O === a(De),
|
|
1885
1885
|
"is-name-filter-visible": O === a(ce),
|
|
1886
1886
|
"onUpdate:phaseId": ne,
|
|
@@ -1896,32 +1896,32 @@ const xi = {
|
|
|
1896
1896
|
role: "tab",
|
|
1897
1897
|
type: "button",
|
|
1898
1898
|
"aria-selected": O === a(ke),
|
|
1899
|
-
onClick: (
|
|
1900
|
-
},
|
|
1899
|
+
onClick: (be) => Q(a(ke))
|
|
1900
|
+
}, b(s("selection.schedule")), 9, Di),
|
|
1901
1901
|
l("button", {
|
|
1902
1902
|
role: "tab",
|
|
1903
1903
|
type: "button",
|
|
1904
1904
|
"aria-selected": O === a(Ze),
|
|
1905
|
-
onClick: (
|
|
1906
|
-
},
|
|
1905
|
+
onClick: (be) => Q(a(Ze))
|
|
1906
|
+
}, b(s("selection.standings")), 9, Li),
|
|
1907
1907
|
l("button", {
|
|
1908
1908
|
role: "tab",
|
|
1909
1909
|
type: "button",
|
|
1910
1910
|
"aria-selected": O === a(ce),
|
|
1911
|
-
onClick: (
|
|
1912
|
-
},
|
|
1911
|
+
onClick: (be) => Q(a(ce))
|
|
1912
|
+
}, b(s("selection.playerStats")), 9, Mi),
|
|
1913
1913
|
l("button", {
|
|
1914
1914
|
role: "tab",
|
|
1915
1915
|
type: "button",
|
|
1916
1916
|
"aria-selected": O === a(De),
|
|
1917
|
-
onClick: (
|
|
1918
|
-
},
|
|
1917
|
+
onClick: (be) => Q(a(De))
|
|
1918
|
+
}, b(s("selection.teamStats")), 9, Ai)
|
|
1919
1919
|
], 8, Pi)
|
|
1920
1920
|
]),
|
|
1921
1921
|
S(a(Pt), {
|
|
1922
1922
|
columns: h,
|
|
1923
1923
|
rows: y.rows,
|
|
1924
|
-
sort:
|
|
1924
|
+
sort: p,
|
|
1925
1925
|
"is-loading": M,
|
|
1926
1926
|
"offset-name": i.value,
|
|
1927
1927
|
"external-team-resolver": n,
|
|
@@ -1936,9 +1936,9 @@ const xi = {
|
|
|
1936
1936
|
"items-per-page": t.limit,
|
|
1937
1937
|
"total-items": y.totalItems,
|
|
1938
1938
|
"range-length": 5,
|
|
1939
|
-
onChange:
|
|
1939
|
+
onChange: Te
|
|
1940
1940
|
}, null, 8, ["page", "items-per-page", "total-items", "onChange"])) : P("", !0),
|
|
1941
|
-
O === a(Ze) ? (u(), x(
|
|
1941
|
+
O === a(Ze) ? (u(), x(B, { key: 1 }, [
|
|
1942
1942
|
S(a(Le), {
|
|
1943
1943
|
rows: y.rows,
|
|
1944
1944
|
"additional-key": "inheritedPoints"
|
|
@@ -1963,23 +1963,23 @@ const xi = {
|
|
|
1963
1963
|
}, 8, ["locale"])
|
|
1964
1964
|
]));
|
|
1965
1965
|
}
|
|
1966
|
-
},
|
|
1967
|
-
function
|
|
1968
|
-
const o =
|
|
1966
|
+
}, ji = /* @__PURE__ */ we(Oi, [["styles", [pe, ar, ir, nr, lr, sr, cr, Ti, Ni, Ii]]]);
|
|
1967
|
+
function Ri(e, t = K) {
|
|
1968
|
+
const o = G({
|
|
1969
1969
|
days: "00",
|
|
1970
1970
|
hours: "00",
|
|
1971
1971
|
minutes: "00",
|
|
1972
1972
|
seconds: "00"
|
|
1973
|
-
}), r = H(!1), i = H(null), { pause: c, resume: m } =
|
|
1973
|
+
}), r = H(!1), i = H(null), { pause: c, resume: m } = je(() => {
|
|
1974
1974
|
const n = (/* @__PURE__ */ new Date()).getTime();
|
|
1975
1975
|
let v = i.value - n;
|
|
1976
|
-
v <= 0 && (c(), v = 0, r.value = !0, t()), o.value =
|
|
1976
|
+
v <= 0 && (c(), v = 0, r.value = !0, t()), o.value = Gi(v);
|
|
1977
1977
|
}, 1e3, { immediate: !1, immediateCallback: !0 });
|
|
1978
1978
|
return J(() => A(e), (n) => {
|
|
1979
1979
|
i.value = new Date(n).getTime(), m();
|
|
1980
1980
|
}, { immediate: !1 }), { date: o, finished: r };
|
|
1981
1981
|
}
|
|
1982
|
-
function
|
|
1982
|
+
function Gi(e) {
|
|
1983
1983
|
return {
|
|
1984
1984
|
days: Math.floor(e / (1e3 * 60 * 60 * 24)).toString().padStart(2, "0").split(""),
|
|
1985
1985
|
hours: Math.floor(e % (1e3 * 60 * 60 * 24) / (1e3 * 60 * 60)).toString().padStart(2, "0").split(""),
|
|
@@ -2005,13 +2005,13 @@ const Yi = ["data-number"], X = {
|
|
|
2005
2005
|
name: `slide-${e.direction}`
|
|
2006
2006
|
}, {
|
|
2007
2007
|
default: E(() => [
|
|
2008
|
-
(u(), x("span", { key: e.number },
|
|
2008
|
+
(u(), x("span", { key: e.number }, b(e.number), 1))
|
|
2009
2009
|
]),
|
|
2010
2010
|
_: 1
|
|
2011
2011
|
}, 8, ["name"])
|
|
2012
2012
|
], 8, Yi));
|
|
2013
2013
|
}
|
|
2014
|
-
},
|
|
2014
|
+
}, Bi = '@layer components.variables{:where(:host){--mvw-countdown-title-height: calc(var(--size-16) * 2);--mvw-countdown-title-bg: light-dark(var(--mvw-color-primary-900), var(--mvw-color-primary-100));--mvw-countdown-gamedata-height: calc(var(--size-16) * 4);--mvw-countdown-active-color: light-dark(var(--mvw-color-secondary-500), var(--mvw-color-secondary-800));--mvw-countdown-gamedata-bg: light-dark(var(--mvw-color-primary-700), var(--mvw-color-primary-300));--mvw-countdown-result-bg: light-dark(var(--mvw-color-primary-800), var(--mvw-color-primary-200))}}@layer components{:where(.game-countdown){display:grid;grid-template-rows:var(--mvw-countdown-title-height) 1fr var(--mvw-countdown-gamedata-height);box-shadow:0 2px 4px #0003}:where(.game-countdown) .game-countdown-title{text-align:center;font-size:var(--font-size-400);font-weight:700;line-height:var(--mvw-countdown-title-height);color:var(--mvw-text-faded);background-color:var(--mvw-countdown-title-bg)}:where(.game-countdown) .game-countdown-container{display:grid;grid-template-areas:"stack";place-items:center;background-color:var(--mvw-countdown-result-bg)}:where(.game-countdown) .game-countdown-container>div{visibility:hidden}:where(.game-countdown) .game-countdown-container>div.is-visible{visibility:visible}:where(.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 var(--size-8);align-items:center;color:var(--mvw-text-dimmed);font-weight:700}:where(.game-countdown) .game-countdown-result .is-separator{grid-area:separator;line-height:1;font-size:clamp(2rem,10vw,5rem)}:where(.game-countdown) .game-countdown-result :is(.is-home-score,.is-away-score){display:flex}:where(.game-countdown) .game-countdown-result .is-home-score{grid-area:home-score}:where(.game-countdown) .game-countdown-result .is-away-score{grid-area:away-score}:where(.game-countdown) .game-countdown-result .is-period-results{grid-area:period-results;font-size:var(--font-size-400);text-align:center}:where(.game-countdown) .game-countdown-result .is-period{grid-area:period;font-size:var(--font-size-50);font-weight:700;text-align:center;text-transform:uppercase}:where(.game-countdown) .game-countdown-result .is-live{color:var(--mvw-countdown-active-color)}:where(.game-countdown) .game-countdown-counter{grid-area:stack;display:flex;gap:var(--size-16);justify-content:space-around;padding:var(--size-16);font-size:var(--font-size-100);font-weight:700;text-transform:uppercase;color:var(--mvw-text-dimmed)}:where(.game-countdown) .game-countdown-counter .is-number{color:var(--mvw-countdown-active-color)}:where(.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:var(--size-16);background-color:var(--mvw-countdown-gamedata-bg);font-size:var(--mvw-font-size-500);font-weight:700;line-height:var(--font-lineheight-400);color:light-dark(var(--mvw-color-primary-50),var(--mvw-color-primary-800))}:where(.game-countdown) .game-countdown-gamedata .is-game-date{grid-area:game-date;text-align:center;color:var(--mvw-text-faded);font-size:var(--font-size-200)}:where(.game-countdown) .game-countdown-gamedata .is-home-team-logo{grid-area:home-team-logo}:where(.game-countdown) .game-countdown-gamedata .is-away-team-logo{grid-area:away-team-logo}:where(.game-countdown) .game-countdown-gamedata :is(.is-home-team,.is-away-team){overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:where(.game-countdown) .game-countdown-gamedata .is-home-team{grid-area:home-team;text-align:end}:where(.game-countdown) .game-countdown-gamedata .is-away-team{grid-area:away-team}:where(.game-countdown) .game-countdown-gamedata .is-separator{grid-area:separator;text-align:center}:where(.game-countdown) .game-countdown-gamedata img{display:block;width:100%;aspect-ratio:1}:where(.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;@keyframes fade-in{0%{opacity:0}to{opacity:1}}}:where(.game-countdown) .is-number>span{grid-area:stack;font-size:clamp(3.125rem,10vw,5rem);line-height:1;font-weight:700}}', Fi = ["href", "target"], Ui = { class: "game-countdown-title" }, Ki = { class: "game-countdown-container" }, Vi = ["textContent"], Hi = ["textContent"], Wi = ["textContent"], qi = { style: { display: "flex" } }, Ji = ["textContent"], Qi = { style: { display: "flex" } }, Xi = ["textContent"], Zi = { style: { display: "flex" } }, en = ["textContent"], tn = { style: { display: "flex" } }, rn = { class: "game-countdown-gamedata" }, on = { class: "is-game-date" }, an = { class: "is-home-team" }, nn = { class: "is-away-team" }, ln = {
|
|
2015
2015
|
__name: "Countdown.ce",
|
|
2016
2016
|
props: {
|
|
2017
2017
|
locale: {
|
|
@@ -2027,10 +2027,10 @@ const Yi = ["data-number"], X = {
|
|
|
2027
2027
|
default: ""
|
|
2028
2028
|
},
|
|
2029
2029
|
// externalGameResolver, isGameTargetExternal
|
|
2030
|
-
...
|
|
2030
|
+
...Ur
|
|
2031
2031
|
},
|
|
2032
2032
|
setup(e) {
|
|
2033
|
-
const t = e, o = { en: he, hu:
|
|
2033
|
+
const t = e, o = { en: he, hu: ge }, {
|
|
2034
2034
|
state: r,
|
|
2035
2035
|
execute: i,
|
|
2036
2036
|
isLoading: c
|
|
@@ -2045,34 +2045,34 @@ const Yi = ["data-number"], X = {
|
|
|
2045
2045
|
},
|
|
2046
2046
|
onSuccess: _
|
|
2047
2047
|
// onError,
|
|
2048
|
-
}), { pause: m, resume: n } =
|
|
2048
|
+
}), { pause: m, resume: n } = je(() => {
|
|
2049
2049
|
i();
|
|
2050
|
-
}, 3e4, { immediate: !1 }), v = I(() => (r.value.homeTeamScore || 0).toString().padStart(2, "0").split("")), d = I(() => (r.value.awayTeamScore || 0).toString().padStart(2, "0").split("")), { date: s, finished:
|
|
2050
|
+
}, 3e4, { immediate: !1 }), v = I(() => (r.value.homeTeamScore || 0).toString().padStart(2, "0").split("")), d = I(() => (r.value.awayTeamScore || 0).toString().padStart(2, "0").split("")), { date: s, finished: g } = Ri(I(() => r.value.gameDate), () => n()), w = I(() => We(t.externalGameResolver, { gameId: t.gameId })), p = I(() => t.isGameTargetExternal ? "_blank" : "_self");
|
|
2051
2051
|
function _(y) {
|
|
2052
2052
|
y.gameStatus === 1 && n(), y.gameStatus > 1 && m();
|
|
2053
2053
|
}
|
|
2054
|
-
return (y,
|
|
2054
|
+
return (y, C) => (u(), L(a(ue), {
|
|
2055
2055
|
locale: e.locale,
|
|
2056
2056
|
messages: o
|
|
2057
2057
|
}, {
|
|
2058
2058
|
default: E(({ t: z }) => [
|
|
2059
2059
|
l("a", {
|
|
2060
2060
|
href: w.value,
|
|
2061
|
-
target:
|
|
2061
|
+
target: p.value,
|
|
2062
2062
|
class: "game-countdown"
|
|
2063
2063
|
}, [
|
|
2064
|
-
l("div",
|
|
2065
|
-
a(rt)(a(r)) ? P("", !0) : (u(), x(
|
|
2066
|
-
q(
|
|
2064
|
+
l("div", Ui, [
|
|
2065
|
+
a(rt)(a(r)) ? P("", !0) : (u(), x(B, { key: 0 }, [
|
|
2066
|
+
q(b(a(r).championshipName) + " - " + b(a(r).divisionName), 1)
|
|
2067
2067
|
], 64))
|
|
2068
2068
|
]),
|
|
2069
2069
|
l("div", Ki, [
|
|
2070
2070
|
l("div", {
|
|
2071
|
-
class: re(["game-countdown-result", { "is-visible": a(
|
|
2071
|
+
class: re(["game-countdown-result", { "is-visible": a(g) }])
|
|
2072
2072
|
}, [
|
|
2073
2073
|
l("div", {
|
|
2074
2074
|
class: "is-period",
|
|
2075
|
-
textContent:
|
|
2075
|
+
textContent: b(z(a(r).period ? `game.period.${a(r).period}` : ""))
|
|
2076
2076
|
}, null, 8, Vi),
|
|
2077
2077
|
l("div", {
|
|
2078
2078
|
class: re(["is-home-score", { "is-live": a(r).gameStatus === 1 }]),
|
|
@@ -2103,15 +2103,15 @@ const Yi = ["data-number"], X = {
|
|
|
2103
2103
|
], 2),
|
|
2104
2104
|
l("div", {
|
|
2105
2105
|
class: "is-period-results",
|
|
2106
|
-
textContent:
|
|
2106
|
+
textContent: b(a(r).periodResults)
|
|
2107
2107
|
}, null, 8, Hi)
|
|
2108
2108
|
], 2),
|
|
2109
2109
|
l("div", {
|
|
2110
|
-
class: re(["game-countdown-counter", { "is-visible": !a(
|
|
2110
|
+
class: re(["game-countdown-counter", { "is-visible": !a(g) && !a(c) }])
|
|
2111
2111
|
}, [
|
|
2112
2112
|
l("div", null, [
|
|
2113
2113
|
l("div", {
|
|
2114
|
-
textContent:
|
|
2114
|
+
textContent: b(z("countdown.days"))
|
|
2115
2115
|
}, null, 8, Wi),
|
|
2116
2116
|
l("div", qi, [
|
|
2117
2117
|
S(X, {
|
|
@@ -2126,7 +2126,7 @@ const Yi = ["data-number"], X = {
|
|
|
2126
2126
|
]),
|
|
2127
2127
|
l("div", null, [
|
|
2128
2128
|
l("div", {
|
|
2129
|
-
textContent:
|
|
2129
|
+
textContent: b(z("countdown.hours"))
|
|
2130
2130
|
}, null, 8, Ji),
|
|
2131
2131
|
l("div", Qi, [
|
|
2132
2132
|
S(X, {
|
|
@@ -2141,7 +2141,7 @@ const Yi = ["data-number"], X = {
|
|
|
2141
2141
|
]),
|
|
2142
2142
|
l("div", null, [
|
|
2143
2143
|
l("div", {
|
|
2144
|
-
textContent:
|
|
2144
|
+
textContent: b(z("countdown.minutes"))
|
|
2145
2145
|
}, null, 8, Xi),
|
|
2146
2146
|
l("div", Zi, [
|
|
2147
2147
|
S(X, {
|
|
@@ -2156,7 +2156,7 @@ const Yi = ["data-number"], X = {
|
|
|
2156
2156
|
]),
|
|
2157
2157
|
l("div", null, [
|
|
2158
2158
|
l("div", {
|
|
2159
|
-
textContent:
|
|
2159
|
+
textContent: b(z("countdown.seconds"))
|
|
2160
2160
|
}, null, 8, en),
|
|
2161
2161
|
l("div", tn, [
|
|
2162
2162
|
S(X, {
|
|
@@ -2172,27 +2172,27 @@ const Yi = ["data-number"], X = {
|
|
|
2172
2172
|
], 2)
|
|
2173
2173
|
]),
|
|
2174
2174
|
l("div", rn, [
|
|
2175
|
-
l("div", on,
|
|
2175
|
+
l("div", on, b(a(V)(a(r).gameDate, "L dddd - HH:mm", null, e.locale)), 1),
|
|
2176
2176
|
a(r).homeTeam?.logo ? (u(), L(a(ie), {
|
|
2177
2177
|
key: 0,
|
|
2178
2178
|
class: "is-home-team-logo",
|
|
2179
2179
|
src: a(r).homeTeam.logo
|
|
2180
2180
|
}, null, 8, ["src"])) : P("", !0),
|
|
2181
|
-
l("span", an,
|
|
2182
|
-
|
|
2183
|
-
l("span", nn,
|
|
2181
|
+
l("span", an, b(a(r).homeTeam?.longName), 1),
|
|
2182
|
+
C[0] || (C[0] = l("span", { class: "is-separator" }, "-", -1)),
|
|
2183
|
+
l("span", nn, b(a(r).awayTeam?.longName), 1),
|
|
2184
2184
|
a(r).awayTeam?.logo ? (u(), L(a(ie), {
|
|
2185
2185
|
key: 1,
|
|
2186
2186
|
class: "is-away-team-logo",
|
|
2187
2187
|
src: a(r).awayTeam.logo
|
|
2188
2188
|
}, null, 8, ["src"])) : P("", !0)
|
|
2189
2189
|
])
|
|
2190
|
-
], 8,
|
|
2190
|
+
], 8, Fi)
|
|
2191
2191
|
]),
|
|
2192
2192
|
_: 1
|
|
2193
2193
|
}, 8, ["locale"]));
|
|
2194
2194
|
}
|
|
2195
|
-
}, sn = /* @__PURE__ */ we(ln, [["styles", [
|
|
2195
|
+
}, sn = /* @__PURE__ */ we(ln, [["styles", [pe, Bi]]]), mr = Symbol("CarouselContext");
|
|
2196
2196
|
function cn({ apiKey: e }) {
|
|
2197
2197
|
const { execute: t } = Qo(
|
|
2198
2198
|
(o) => Wr("/v2/game-data", e, o).then((r) => ({ ...r, ...o })),
|
|
@@ -2219,7 +2219,7 @@ function dn(e, t) {
|
|
|
2219
2219
|
function kt(e) {
|
|
2220
2220
|
return !(e.includes("_int") || ["wu", "pre", "so", "end"].includes(e));
|
|
2221
2221
|
}
|
|
2222
|
-
const vn = { class: "games-timeline" }, un = ["disabled"], hn = { ref: "container" },
|
|
2222
|
+
const vn = { class: "games-timeline" }, un = ["disabled"], hn = { ref: "container" }, gn = ["disabled"], pn = {
|
|
2223
2223
|
__name: "Carousel",
|
|
2224
2224
|
props: {
|
|
2225
2225
|
initialIndex: {
|
|
@@ -2228,17 +2228,17 @@ const vn = { class: "games-timeline" }, un = ["disabled"], hn = { ref: "containe
|
|
|
2228
2228
|
}
|
|
2229
2229
|
},
|
|
2230
2230
|
setup(e) {
|
|
2231
|
-
const t = e, o =
|
|
2232
|
-
|
|
2231
|
+
const t = e, o = gr("container"), r = G(t.initialIndex), i = G([]);
|
|
2232
|
+
pr(mr, {
|
|
2233
2233
|
register: (w) => {
|
|
2234
|
-
i.value.includes(w) || (i.value.push(w), i.value =
|
|
2234
|
+
i.value.includes(w) || (i.value.push(w), i.value = jr(i.value, (p) => me(o.value).querySelector(`#${p}`)));
|
|
2235
2235
|
},
|
|
2236
2236
|
unregister: (w) => {
|
|
2237
|
-
const
|
|
2238
|
-
|
|
2237
|
+
const p = i.value.indexOf(w);
|
|
2238
|
+
p !== -1 && i.value.splice(p, 1);
|
|
2239
2239
|
}
|
|
2240
2240
|
});
|
|
2241
|
-
const { arrivedState: m } = Zo(o, { onStop:
|
|
2241
|
+
const { arrivedState: m } = Zo(o, { onStop: g }), n = I(
|
|
2242
2242
|
() => me(o).querySelector(`#${i.value[r.value]}`)
|
|
2243
2243
|
);
|
|
2244
2244
|
Ye(() => s()), J(
|
|
@@ -2256,13 +2256,13 @@ const vn = { class: "games-timeline" }, un = ["disabled"], hn = { ref: "containe
|
|
|
2256
2256
|
function s(w) {
|
|
2257
2257
|
n.value?.scrollIntoView({ inline: "start", block: "nearest", container: "nearest", ...w });
|
|
2258
2258
|
}
|
|
2259
|
-
function
|
|
2260
|
-
const w = me(o).getBoundingClientRect()?.left,
|
|
2259
|
+
function g() {
|
|
2260
|
+
const w = me(o).getBoundingClientRect()?.left, p = Array.from(me(o).children).findIndex(
|
|
2261
2261
|
(_) => Math.round(_.getBoundingClientRect().left - w) >= 0
|
|
2262
2262
|
);
|
|
2263
|
-
r.value =
|
|
2263
|
+
r.value = p;
|
|
2264
2264
|
}
|
|
2265
|
-
return (w,
|
|
2265
|
+
return (w, p) => (u(), x("div", vn, [
|
|
2266
2266
|
l("button", {
|
|
2267
2267
|
type: "button",
|
|
2268
2268
|
disabled: a(m).left,
|
|
@@ -2279,14 +2279,14 @@ const vn = { class: "games-timeline" }, un = ["disabled"], hn = { ref: "containe
|
|
|
2279
2279
|
onClick: d
|
|
2280
2280
|
}, [
|
|
2281
2281
|
S(a(mt))
|
|
2282
|
-
], 8,
|
|
2282
|
+
], 8, gn)
|
|
2283
2283
|
]));
|
|
2284
2284
|
}
|
|
2285
2285
|
}, et = {
|
|
2286
2286
|
__name: "CarouselItem",
|
|
2287
2287
|
setup(e) {
|
|
2288
|
-
const t = `mjsz-vbr-carousel-item-${wr()}`, o =
|
|
2289
|
-
return Ye(() => o?.register(t)),
|
|
2288
|
+
const t = `mjsz-vbr-carousel-item-${wr()}`, o = br(mr, null);
|
|
2289
|
+
return Ye(() => o?.register(t)), fr(() => o?.unregister(t)), (r, i) => (u(), x("div", {
|
|
2290
2290
|
id: t,
|
|
2291
2291
|
class: "is-slide"
|
|
2292
2292
|
}, [
|
|
@@ -2316,12 +2316,12 @@ const vn = { class: "games-timeline" }, un = ["disabled"], hn = { ref: "containe
|
|
|
2316
2316
|
type: "button",
|
|
2317
2317
|
onClick: i
|
|
2318
2318
|
}, [
|
|
2319
|
-
q(
|
|
2319
|
+
q(b(e.title), 1),
|
|
2320
2320
|
S(a(mt))
|
|
2321
2321
|
])
|
|
2322
2322
|
]));
|
|
2323
2323
|
}
|
|
2324
|
-
},
|
|
2324
|
+
}, bn = { class: "score-display" }, fn = { class: "is-score" }, zt = {
|
|
2325
2325
|
__name: "ScoreDisplay",
|
|
2326
2326
|
props: {
|
|
2327
2327
|
score: {
|
|
@@ -2330,11 +2330,11 @@ const vn = { class: "games-timeline" }, un = ["disabled"], hn = { ref: "containe
|
|
|
2330
2330
|
}
|
|
2331
2331
|
},
|
|
2332
2332
|
setup(e) {
|
|
2333
|
-
return (t, o) => (u(), x("div",
|
|
2334
|
-
l("div",
|
|
2333
|
+
return (t, o) => (u(), x("div", bn, [
|
|
2334
|
+
l("div", fn, [
|
|
2335
2335
|
S(It, { name: "is-slide-transition" }, {
|
|
2336
2336
|
default: E(() => [
|
|
2337
|
-
(u(), x("span", { key: e.score },
|
|
2337
|
+
(u(), x("span", { key: e.score }, b(e.score), 1))
|
|
2338
2338
|
]),
|
|
2339
2339
|
_: 1
|
|
2340
2340
|
})
|
|
@@ -2347,7 +2347,7 @@ const vn = { class: "games-timeline" }, un = ["disabled"], hn = { ref: "containe
|
|
|
2347
2347
|
}, xn = {
|
|
2348
2348
|
key: 1,
|
|
2349
2349
|
class: "badge xs"
|
|
2350
|
-
}, kn = { class: "is-home-team-logo" }, _n = { class: "is-home-team-name" }, zn = { class: "is-home-team-score" }, Sn = { class: "is-away-team-logo" }, $n = { class: "is-away-team-name" },
|
|
2350
|
+
}, kn = { class: "is-home-team-logo" }, _n = { class: "is-home-team-name" }, zn = { class: "is-home-team-score" }, Sn = { class: "is-away-team-logo" }, $n = { class: "is-away-team-name" }, Cn = { class: "is-away-team-score" }, Tn = { class: "is-status" }, Nn = {
|
|
2351
2351
|
__name: "Game",
|
|
2352
2352
|
props: {
|
|
2353
2353
|
gameData: {
|
|
@@ -2362,8 +2362,8 @@ const vn = { class: "games-timeline" }, un = ["disabled"], hn = { ref: "containe
|
|
|
2362
2362
|
emits: ["navigateTo"],
|
|
2363
2363
|
setup(e, { emit: t }) {
|
|
2364
2364
|
const o = e, r = t, { t: i } = se(), c = I(() => {
|
|
2365
|
-
const { gameStatus: n, championshipName: v, divisionName: d, period: s, periodTime:
|
|
2366
|
-
return n !== 1 ? `${v} - ${d}` : s && kt(s) ? `${i(`game.period.${s}`)} - ${
|
|
2365
|
+
const { gameStatus: n, championshipName: v, divisionName: d, period: s, periodTime: g } = o.gameData;
|
|
2366
|
+
return n !== 1 ? `${v} - ${d}` : s && kt(s) ? `${i(`game.period.${s}`)} - ${g}` : s && !kt(s) ? i(`game.period.${s}`) : "";
|
|
2367
2367
|
});
|
|
2368
2368
|
function m() {
|
|
2369
2369
|
const { externalGameUrl: n, id: v } = o.gameData;
|
|
@@ -2377,9 +2377,9 @@ const vn = { class: "games-timeline" }, un = ["disabled"], hn = { ref: "containe
|
|
|
2377
2377
|
onClick: m
|
|
2378
2378
|
}, [
|
|
2379
2379
|
l("time", null, [
|
|
2380
|
-
q(
|
|
2381
|
-
e.gameData.isShootout ? (u(), x("span", yn,
|
|
2382
|
-
e.gameData.isOvertime ? (u(), x("span", xn,
|
|
2380
|
+
q(b(e.gameData.gameDateTime) + " ", 1),
|
|
2381
|
+
e.gameData.isShootout ? (u(), x("span", yn, b(a(i)("common.shootoutShort")), 1)) : P("", !0),
|
|
2382
|
+
e.gameData.isOvertime ? (u(), x("span", xn, b(a(i)("common.overtimeShort")), 1)) : P("", !0),
|
|
2383
2383
|
e.gameData.externalGameUrl ? (u(), L(a(sa), {
|
|
2384
2384
|
key: 2,
|
|
2385
2385
|
width: "14",
|
|
@@ -2392,7 +2392,7 @@ const vn = { class: "games-timeline" }, un = ["disabled"], hn = { ref: "containe
|
|
|
2392
2392
|
class: "is-team-logo"
|
|
2393
2393
|
}, null, 8, ["src"])
|
|
2394
2394
|
]),
|
|
2395
|
-
l("div", _n,
|
|
2395
|
+
l("div", _n, b(e.gameData.homeTeam.longName), 1),
|
|
2396
2396
|
l("div", zn, [
|
|
2397
2397
|
e.gameData.homeTeamScore != null ? (u(), L(zt, {
|
|
2398
2398
|
key: 0,
|
|
@@ -2400,7 +2400,7 @@ const vn = { class: "games-timeline" }, un = ["disabled"], hn = { ref: "containe
|
|
|
2400
2400
|
score: e.gameData.homeTeamScore
|
|
2401
2401
|
}, {
|
|
2402
2402
|
default: E(() => [
|
|
2403
|
-
q(
|
|
2403
|
+
q(b(e.gameData.homeTeamScore), 1)
|
|
2404
2404
|
]),
|
|
2405
2405
|
_: 1
|
|
2406
2406
|
}, 8, ["class", "score"])) : P("", !0)
|
|
@@ -2411,20 +2411,20 @@ const vn = { class: "games-timeline" }, un = ["disabled"], hn = { ref: "containe
|
|
|
2411
2411
|
class: "is-team-logo"
|
|
2412
2412
|
}, null, 8, ["src"])
|
|
2413
2413
|
]),
|
|
2414
|
-
l("div", $n,
|
|
2415
|
-
l("div",
|
|
2414
|
+
l("div", $n, b(e.gameData.awayTeam.longName), 1),
|
|
2415
|
+
l("div", Cn, [
|
|
2416
2416
|
e.gameData.awayTeamScore != null ? (u(), L(zt, {
|
|
2417
2417
|
key: 0,
|
|
2418
2418
|
score: e.gameData.awayTeamScore,
|
|
2419
2419
|
class: re(["badge lg", [e.gameData.gameStatus === 1 ? "live" : "inverted"]])
|
|
2420
2420
|
}, {
|
|
2421
2421
|
default: E(() => [
|
|
2422
|
-
q(
|
|
2422
|
+
q(b(e.gameData.awayTeamScore), 1)
|
|
2423
2423
|
]),
|
|
2424
2424
|
_: 1
|
|
2425
2425
|
}, 8, ["score", "class"])) : P("", !0)
|
|
2426
2426
|
]),
|
|
2427
|
-
l("div",
|
|
2427
|
+
l("div", Tn, b(c.value), 1)
|
|
2428
2428
|
]));
|
|
2429
2429
|
}
|
|
2430
2430
|
}, In = { class: "games-timeline-error-indicator" }, En = {
|
|
@@ -2436,12 +2436,12 @@ const vn = { class: "games-timeline" }, un = ["disabled"], hn = { ref: "containe
|
|
|
2436
2436
|
o("tryAgain");
|
|
2437
2437
|
}
|
|
2438
2438
|
return (c, m) => (u(), x("div", In, [
|
|
2439
|
-
S(a(
|
|
2440
|
-
l("div", null,
|
|
2439
|
+
S(a(fa)),
|
|
2440
|
+
l("div", null, b(a(r)("gamesTimeline.errorText")), 1),
|
|
2441
2441
|
l("button", {
|
|
2442
2442
|
type: "button",
|
|
2443
2443
|
onClick: i
|
|
2444
|
-
},
|
|
2444
|
+
}, b(a(r)("gamesTimeline.errorCta")), 1)
|
|
2445
2445
|
]));
|
|
2446
2446
|
}
|
|
2447
2447
|
}, Pn = '@layer components.variables{:where(:host){--mvw-games-timeline-game-date-size: var(--font-size-100);--mvw-games-timeline-game-team-size: var(--font-size-300);--mvw-games-timeline-game-status-size: var(--font-size-200);--mvw-games-timeline-game-hover-bg-color: linear-gradient( light-dark(var(--mvw-color-white), var(--mvw-color-primary-950)), light-dark( hsl(from var(--mvw-color-white) h s calc(l - 5) ), hsl(from var(--mvw-color-primary-950) h s calc(l + 5) ) ) 50%, light-dark(var(--mvw-color-white), var(--mvw-color-primary-950)) )}}@layer components{:where(.games-timeline){display:grid;grid-template-columns:30px 1fr 30px;align-items:center;height:100%;container-type:inline-size;container-name:games-timeline}:where(.games-timeline)>div{display:flex;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;-ms-overflow-style:none;scrollbar-width:none}:where(.games-timeline)>div::-webkit-scrollbar{display:none}:where(.games-timeline) .is-slide{flex-shrink:0;flex-grow:0;flex-basis:100%;scroll-snap-align:start}@container games-timeline (width > 375px){:where(.games-timeline) .is-slide{flex-basis:50%}}@container games-timeline (width > 500px){:where(.games-timeline) .is-slide{flex-basis:33.3334%}}@container games-timeline (width > 700px){:where(.games-timeline) .is-slide{flex-basis:25%}}@container games-timeline (width > 880px){:where(.games-timeline) .is-slide{flex-basis:20%}}:where(.games-timeline)>button{position:relative;display:grid;place-content:center;height:100%}:where(.games-timeline)>button svg{display:block;height:22px;width:22px;color:var(--mvw-text-dimmed);transition:all .2s}:where(.games-timeline)>button:hover svg{color:var(--mvw-text-muted)}:where(.games-timeline)>button:disabled{cursor:not-allowed}:where(.games-timeline)>button:disabled svg{color:var(--mvw-text-faded)}:where(.games-timeline)>button:before,:where(.games-timeline)>button:after{position:absolute;content:"";top:10px;height:90px;transition:opacity .2s}:where(.games-timeline)>button:first-of-type:after{right:0;border-right:1px solid var(--mvw-border-faded);box-shadow:1px 0 3px #0000001a}:where(.games-timeline)>button:last-of-type:before{left:0;border-left:1px solid var(--mvw-border-faded);box-shadow:-1px 0 3px #0000001a}:where(.games-timeline)>button:disabled:first-of-type:after,:where(.games-timeline)>button:disabled:last-of-type:before{opacity:0}:where(.games-timeline) .is-no-games{width:100%;text-align:center;color:var(--mvw-text-muted)}.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(--mvw-games-timeline-game-hover-bg-color)}.games-timeline-game time{grid-area:gamedate;display:flex;align-items:center;gap:4px;font-size:var(--mvw-games-timeline-game-date-size);font-weight:700;color:var(--mvw-text-muted)}.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(--mvw-games-timeline-game-team-size);font-weight:700;color:var(--mvw-text-default);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(--mvw-games-timeline-game-status-size);color:var(--mvw-text-dimmed);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(--mvw-games-timeline-game-hover-bg-color)}.games-timeline-schedule-link button{display:flex;align-items:center;font-size:var(--font-size-200);font-weight:700;text-transform:uppercase;color:var(--mvw-text-toned)}.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(--font-size-400);font-weight:500;color:var(--mvw-color-error)}.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%)}}', Dn = "@layer components{:where(.badge){--_bg-color: var(--mvw-bg-muted);--_color: var(--mvw-text-muted);padding:var(--size-2) var(--size-4);display:inline-flex;gap:var(--size-2);font-size:var(--font-size-100);font-weight:700;line-height:var(--font-lineheight-300);color:var(--_color);background-color:var(--_bg-color);border-radius:var(--radius-2)}:where(.badge) svg{fill:currentColor}:where(.badge).inverted{--_bg-color: var(--mvw-bg-inverted);--_color: var(--mvw-text-inverted)}:where(.badge).live{--_bg-color: var(--mvw-color-live);--_color: var(--mvw-color-white)}:where(.badge).error{--_bg-color: var(--mvw-color-error);--_color: var(--mvw-color-white)}:where(.badge).warning{--_bg-color: var(--mvw-color-warning);--_color: var(--mvw-color-white)}:where(.badge).xs{font-size:var(--font-size-50)}:where(.badge).lg{font-size:var(--font-size-300);padding:var(--size-4) var(--size-6)}:where(.badge)+:where(.badge){margin-inline-start:var(--size-4)}}", Ln = {
|
|
@@ -2475,35 +2475,35 @@ const vn = { class: "games-timeline" }, un = ["disabled"], hn = { ref: "containe
|
|
|
2475
2475
|
}
|
|
2476
2476
|
},
|
|
2477
2477
|
setup(e) {
|
|
2478
|
-
const t = e, o = { en: he, hu:
|
|
2478
|
+
const t = e, o = { en: he, hu: ge }, r = He();
|
|
2479
2479
|
let i = [];
|
|
2480
|
-
const c =
|
|
2480
|
+
const c = G(!1), { isLoading: m, state: n, execute: v } = te({
|
|
2481
2481
|
options: {
|
|
2482
2482
|
path: t.servicePath,
|
|
2483
2483
|
apiKey: t.apiKey,
|
|
2484
2484
|
params: {},
|
|
2485
2485
|
immediate: !0
|
|
2486
2486
|
},
|
|
2487
|
-
transform: (
|
|
2487
|
+
transform: (f) => mn(f, n.value, "id").reverse(),
|
|
2488
2488
|
onError: () => {
|
|
2489
2489
|
c.value = !0;
|
|
2490
2490
|
},
|
|
2491
2491
|
onSuccess: y
|
|
2492
|
-
}), { resume: d, pause: s } =
|
|
2492
|
+
}), { resume: d, pause: s } = je(v, 1e3 * 60 * 5), g = Go(m, 500);
|
|
2493
2493
|
qr(
|
|
2494
2494
|
!0,
|
|
2495
2495
|
() => {
|
|
2496
2496
|
v(), d();
|
|
2497
2497
|
},
|
|
2498
2498
|
() => {
|
|
2499
|
-
s(), i.map((
|
|
2499
|
+
s(), i.map((f) => f?.()), i = [];
|
|
2500
2500
|
}
|
|
2501
2501
|
);
|
|
2502
|
-
const w = I(() => rt(n.value) ? 0 : n.value.findIndex((
|
|
2503
|
-
() => n.value.map((
|
|
2504
|
-
...
|
|
2505
|
-
gameDateTime: `${V(
|
|
2506
|
-
|
|
2502
|
+
const w = I(() => rt(n.value) ? 0 : n.value.findIndex((f) => !Mt(new Date(f.gameDate), /* @__PURE__ */ new Date(), "day")) + 1), p = I(
|
|
2503
|
+
() => n.value.map((f) => ({
|
|
2504
|
+
...f,
|
|
2505
|
+
gameDateTime: `${V(f.gameDate, "L LT", r, t.locale)} (${Ve(
|
|
2506
|
+
f.gameDate,
|
|
2507
2507
|
r,
|
|
2508
2508
|
t.locale
|
|
2509
2509
|
)})`
|
|
@@ -2511,40 +2511,40 @@ const vn = { class: "games-timeline" }, un = ["disabled"], hn = { ref: "containe
|
|
|
2511
2511
|
), { execute: _ } = cn({ apiKey: t.apiKey });
|
|
2512
2512
|
async function y() {
|
|
2513
2513
|
c.value = !1, i.map((h) => h?.()), i = [];
|
|
2514
|
-
const
|
|
2515
|
-
for (let h = 0; h <
|
|
2516
|
-
const k =
|
|
2517
|
-
_(0, { gameId: k }).then((M) =>
|
|
2518
|
-
const { pause: $ } =
|
|
2514
|
+
const f = n.value.filter((h) => h.gameStatus === 1);
|
|
2515
|
+
for (let h = 0; h < f.length; h++) {
|
|
2516
|
+
const k = f[h].id;
|
|
2517
|
+
_(0, { gameId: k }).then((M) => C(M));
|
|
2518
|
+
const { pause: $ } = je(() => _(0, { gameId: k }).then((M) => C(M)), 6e4);
|
|
2519
2519
|
i.push($);
|
|
2520
2520
|
}
|
|
2521
2521
|
}
|
|
2522
|
-
function
|
|
2523
|
-
const { gameId: h, gameStatus: k, homeTeamScore: $, awayTeamScore: M, period: O, periodTime: N } =
|
|
2524
|
-
|
|
2522
|
+
function C(f = {}) {
|
|
2523
|
+
const { gameId: h, gameStatus: k, homeTeamScore: $, awayTeamScore: M, period: O, periodTime: N } = f, R = n.value.find((j) => j.id === h);
|
|
2524
|
+
R.gameStatus = k, R.homeTeamScore = $, R.awayTeamScore = M, R.period = O, R.periodTime = N, yr(n);
|
|
2525
2525
|
}
|
|
2526
|
-
function z({ url:
|
|
2527
|
-
window.open(
|
|
2526
|
+
function z({ url: f, target: h }) {
|
|
2527
|
+
window.open(f, h);
|
|
2528
2528
|
}
|
|
2529
|
-
function
|
|
2529
|
+
function T() {
|
|
2530
2530
|
c.value = !1, v();
|
|
2531
2531
|
}
|
|
2532
|
-
return (
|
|
2532
|
+
return (f, h) => (u(), L(a(ue), {
|
|
2533
2533
|
locale: e.locale,
|
|
2534
2534
|
messages: o
|
|
2535
2535
|
}, {
|
|
2536
2536
|
default: E(({ t: k }) => [
|
|
2537
|
-
(u(), L(
|
|
2538
|
-
key: a(
|
|
2537
|
+
(u(), L(pn, {
|
|
2538
|
+
key: a(g),
|
|
2539
2539
|
"initial-index": w.value
|
|
2540
2540
|
}, {
|
|
2541
2541
|
default: E(() => [
|
|
2542
|
-
!c.value && a(
|
|
2542
|
+
!c.value && a(g) ? (u(), x("div", Ln, [
|
|
2543
2543
|
S(a(Ke))
|
|
2544
2544
|
])) : c.value && a(rt)(a(n)) ? (u(), L(En, {
|
|
2545
2545
|
key: 1,
|
|
2546
|
-
onTryAgain:
|
|
2547
|
-
})) :
|
|
2546
|
+
onTryAgain: T
|
|
2547
|
+
})) : p.value.length === 0 ? (u(), x("div", Mn, b(k("gamesTimeline.noGames")), 1)) : (u(), x(B, { key: 3 }, [
|
|
2548
2548
|
h[0] || (Ne(-1, !0), (h[0] = S(et, null, {
|
|
2549
2549
|
default: E(() => [
|
|
2550
2550
|
S(_t, {
|
|
@@ -2555,8 +2555,8 @@ const vn = { class: "games-timeline" }, un = ["disabled"], hn = { ref: "containe
|
|
|
2555
2555
|
]),
|
|
2556
2556
|
_: 2
|
|
2557
2557
|
}, 1024)).cacheIndex = 0, Ne(1), h[0]),
|
|
2558
|
-
(u(!0), x(
|
|
2559
|
-
const
|
|
2558
|
+
(u(!0), x(B, null, Z(p.value, ($, M, O, N) => {
|
|
2559
|
+
const R = [
|
|
2560
2560
|
$.gameDateTime,
|
|
2561
2561
|
$.gameStatus,
|
|
2562
2562
|
$.homeTeamScore,
|
|
@@ -2564,8 +2564,8 @@ const vn = { class: "games-timeline" }, un = ["disabled"], hn = { ref: "containe
|
|
|
2564
2564
|
$.period,
|
|
2565
2565
|
$.actualTime
|
|
2566
2566
|
];
|
|
2567
|
-
if (N && N.key === $.id && xr(N,
|
|
2568
|
-
const
|
|
2567
|
+
if (N && N.key === $.id && xr(N, R)) return N;
|
|
2568
|
+
const j = (u(), L(et, {
|
|
2569
2569
|
key: $.id
|
|
2570
2570
|
}, {
|
|
2571
2571
|
default: E(() => [
|
|
@@ -2577,7 +2577,7 @@ const vn = { class: "games-timeline" }, un = ["disabled"], hn = { ref: "containe
|
|
|
2577
2577
|
]),
|
|
2578
2578
|
_: 2
|
|
2579
2579
|
}, 1024));
|
|
2580
|
-
return
|
|
2580
|
+
return j.memo = R, j;
|
|
2581
2581
|
}, h, 1), 128)),
|
|
2582
2582
|
h[3] || (Ne(-1, !0), (h[3] = S(et, null, {
|
|
2583
2583
|
default: E(() => [
|
|
@@ -2597,12 +2597,12 @@ const vn = { class: "games-timeline" }, un = ["disabled"], hn = { ref: "containe
|
|
|
2597
2597
|
_: 1
|
|
2598
2598
|
}, 8, ["locale"]));
|
|
2599
2599
|
}
|
|
2600
|
-
}, On = /* @__PURE__ */ we(An, [["styles", [
|
|
2601
|
-
function
|
|
2602
|
-
return e.map(
|
|
2600
|
+
}, On = /* @__PURE__ */ we(An, [["styles", [pe, Pn, Dn]]]);
|
|
2601
|
+
function jn(e) {
|
|
2602
|
+
return e.map(Rn).map(Gn).sort(Fn);
|
|
2603
2603
|
}
|
|
2604
|
-
function
|
|
2605
|
-
const t = Object.keys(e).filter((i) => i.startsWith("recruitment") && i !== "recruitmentName" && i !== "recruitmentTeamName" && i !== "recruitmentCity"), o =
|
|
2604
|
+
function Rn(e) {
|
|
2605
|
+
const t = Object.keys(e).filter((i) => i.startsWith("recruitment") && i !== "recruitmentName" && i !== "recruitmentTeamName" && i !== "recruitmentCity"), o = Rr(t, e), r = Yn(o);
|
|
2606
2606
|
return {
|
|
2607
2607
|
...Yt(t, e),
|
|
2608
2608
|
recruitment: {
|
|
@@ -2610,23 +2610,23 @@ function Gn(e) {
|
|
|
2610
2610
|
}
|
|
2611
2611
|
};
|
|
2612
2612
|
}
|
|
2613
|
-
function
|
|
2613
|
+
function Gn(e) {
|
|
2614
2614
|
return {
|
|
2615
2615
|
...e,
|
|
2616
2616
|
recruitmentTeamName: e.recruitmentTeamName || ""
|
|
2617
2617
|
};
|
|
2618
2618
|
}
|
|
2619
2619
|
function Yn(e) {
|
|
2620
|
-
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 =
|
|
2620
|
+
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 = Bn(e.recruitmentContactUrl || ""), e;
|
|
2621
2621
|
}
|
|
2622
|
-
function
|
|
2622
|
+
function Bn(e) {
|
|
2623
2623
|
return e.startsWith("http") ? `<a href="${e}" target="_blank">${e}</a>` : `<a href="https://${e}" target="_blank">${e}</a>`;
|
|
2624
2624
|
}
|
|
2625
|
-
function
|
|
2625
|
+
function Fn(e, t) {
|
|
2626
2626
|
const o = e.organizationName.toUpperCase(), r = t.organizationName.toUpperCase();
|
|
2627
2627
|
return o < r ? -1 : o > r ? 1 : 0;
|
|
2628
2628
|
}
|
|
2629
|
-
const
|
|
2629
|
+
const Un = `@layer components.variables{:where(:host){--mvw-form-label-font-size: var(--font-size-200);--mvw-form-label-color: var(--mvw-text-muted);--mvw-input-color: light-dark(var(--mvw-color-primary-800), var(--mvw-color-primary-200));--mvw-input-font-size: var(--font-size-400);--mvw-input-border-color: light-dark(var(--mvw-color-primary-300), var(--mvw-color-primary-700));--mvw-input-bg-color: light-dark(var(--mvw-color-white), var(--mvw-color-primary-950));--mvw-input-border-radius: var(--radius-2)}}@layer components{:where(.form-field){--_border-color: var(--mvw-input-border-color);--_bg-color: var(--mvw-input-bg-color);--_height: var(--size-32);--_color: var(--mvw-input-color);--_field-padding-block: var(--size-6);--_field-padding-inline: var(--size-10);contain:layout;position:relative;color:var(--mvw-text-default)}:where(.form-field) pre,:where(.form-field) input,:where(.form-field) select{appearance:none;block-size:var(--_height);min-inline-size:0;font-family:inherit;font-size:var(--mvw-input-font-size);color:var(--_color);line-height:var(--font-lineheight-100);background-color:var(--_bg-color);border:var(--field-border-width, 1px) solid var(--_border-color);border-radius:var(--mvw-input-border-radius);padding:var(--_field-padding-block) var(--_field-padding-inline)}:where(.form-field) select{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='%23888' 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 var(--size-6) center;background-size:16px 12px;padding-inline-end:var(--size-24)}:where(.form-field) pre{line-height:var(--font-lineheight-500)}:where(.form-field) input::placeholder{color:rgb(from var(--_color) r g b / 50%)}:where(.form-field) label{display:block;font-size:var(--mvw-form-label-font-size);line-height:var(--font-lineheight-700);color:var(--mvw-form-label-color);text-transform:uppercase;font-weight:700}:where(:where(.form-field).full-width input,:where(.form-field).full-width select){inline-size:100%}}`, Kn = "@layer components.variables{:where(:host){--mvw-card-color: light-dark(var(--mvw-color-primary-950), var(--mvw-color-primary-200));--mvw-card-bg-color: light-dark(var(--mvw-color-white), var(--mvw-color-primary-950));--mvw-card-tonal-active-bg-color: light-dark(var(--mvw-color-primary-50), var(--mvw-color-primary-900))}}@layer components{:where(details){--_accordion-transition-time: .2s;--_bg-color: var(--mvw-card-bg-color);--_shadow: none;container-type:inline-size;display:block;background-color:var(--_bg-color);border-radius:var(--radius-2);color:var(--mvw-card-color);box-shadow:var(--_shadow);transition:all var(--_accordion-transition-time) ease-out}@media (prefers-reduced-motion: no-preference){:where(details){interpolate-size:allow-keywords}}:where(details)::details-content{block-size:0;opacity:0;overflow-y:clip;transition:content-visibility var(--_accordion-transition-time) allow-discrete,opacity var(--_accordion-transition-time),block-size var(--_accordion-transition-time)}:where(details)[open]::details-content{block-size:auto;opacity:1}:where(details)>summary{background-color:inherit;cursor:pointer;font-weight:700;padding-block:var(--size-16);-webkit-user-select:none;user-select:none;align-items:center;display:flex;gap:var(--size-8);list-style:none}:where(details)>summary::marker,:where(details)>summary::-webkit-details-marker{display:none}:where(details)>summary strong{flex:1}:where(details)>summary svg{transition:rotate .8s var(--ease-spring-1, ease)}:where(details)[open]>summary svg{rotate:180deg}:where(details).elevated{--_shadow: var(--shadow-3)}:where(details).tonal[open]{background-color:var(--mvw-card-tonal-active-bg-color)}:where(details):where(.tonal)>*{padding-inline:var(--size-16)}}", Vn = "@layer components.variables{:where(:host){--mvw-paginator-color: light-dark(var(--mvw-color-primary-500), var(--mvw-color-primary-400));--mvw-paginator-bg-color: light-dark(var(--mvw-color-white), var(--mvw-color-primary-950));--mvw-paginator-hover-color: light-dark(var(--mvw-color-primary-700), var(--mvw-color-primary-300));--mvw-paginator-hover-bg-color: light-dark(var(--mvw-color-primary-100), var(--mvw-color-primary-900));--mvw-paginator-border-color: light-dark(var(--mvw-color-primary-100), var(--mvw-color-primary-700));--mvw-paginator-active-color: light-dark(var(--mvw-color-white), var(--mvw-color-black));--mvw-paginator-active-bg-color: light-dark(var(--mvw-color-primary-900), var(--mvw-color-primary-50));--mvw-paginator-disabled-color: light-dark(var(--mvw-color-primary-200), var(--mvw-color-primary-600))}}@layer components{:where(.paginator){display:flex;flex-direction:row;list-style-type:none;margin:10px 0;padding:0}:where(.paginator) button,:where(.paginator) div{display:flex;align-items:center;justify-content:center;padding:var(--size-6) var(--size-12);text-decoration:none;cursor:pointer;color:var(--mvw-paginator-color);border:1px solid var(--mvw-paginator-border-color);background-color:var(--mvw-paginator-bg-color);margin-left:-1px}:is(:where(.paginator) button,:where(.paginator) div) .icon{width:var(--size-16);height:var(--size-16);margin:0 -4px;max-inline-size:var(--size-16)}:is(:where(.paginator) button,:where(.paginator) div):hover:not(:is(:where(.paginator) button,:where(.paginator) div).is-disabled,:is(:where(.paginator) button,:where(.paginator) div).is-active){color:var(--mvw-paginator-hover-color);background-color:var(--mvw-paginator-hover-bg-color)}:is(:where(.paginator) button,:where(.paginator) div):disabled,:is(:where(.paginator) button,:where(.paginator) div).is-disabled{color:var(--mvw-paginator-disabled-color);background-color:var(--mvw-paginator-bg-color);pointer-events:none;cursor:default}:is(:where(.paginator) button,:where(.paginator) div).is-active{color:var(--mvw-paginator-active-color);background-color:var(--mvw-paginator-active-bg-color);border-color:var(--mvw-paginator-active-bg-color);cursor:default}}", Hn = "@layer components{:where(.definition-list){--_border-style: solid;--_border-width: 1px;--_border-color: var(--mvw-border-muted);display:grid;gap:var(--size-8);padding:0}:where(.definition-list).dotted{--_border-style: dotted;--_border-width: 2px}:where(.definition-list) li{display:grid;margin:0;padding:0}:where(.definition-list) li .term{display:block;font-weight:700;overflow:hidden;position:relative;color:var(--mvw-text-muted)}:where(.definition-list) li hr{display:none;margin:0}@container (width > 30ch){:where(.definition-list){gap:var(--size-8)}:where(.definition-list) li{align-items:baseline;display:grid;gap:var(--size-8);grid-template-columns:1fr auto}:where(.definition-list) li:has(hr){grid-template-columns:auto 1fr auto}:where(.definition-list) li hr{background-color:transparent;border-block-end:var(--_border-width) var(--_border-style) var(--_border-color);block-size:2px;display:block}:where(.definition-list) li .term{inline-size:max-content}:where(.definition-list) li .term:after{display:inline-block}:where(.definition-list) li .description{color:var(--text-color-2);text-align:end}}}", Wn = "@layer components.variables{:where(:host){--mvw-color-error-notice-bg-color: color-mix(in oklab, var(--mvw-color-error) 10%, transparent);--mvw-color-error-notice-border-color: color-mix(in oklab, var(--mvw-color-error) 25%, transparent);--mvw-color-error-notice-color: var(--mvw-color-error)}}@layer components{:where(.error-notice){display:flex;align-items:center;justify-items:flex-start;gap:15px;margin:10px 0;padding:10px 20px;background-color:var(--mvw-color-error-notice-bg-color);color:var(--mvw-color-error-notice-color);border:1px solid var(--mvw-color-error-notice-border-color);border-radius:var(--radius-2)}:where(.error-notice) button{text-decoration:underline}}", qn = ["placeholder"], Jn = {
|
|
2630
2630
|
key: 2,
|
|
2631
2631
|
class: "text-muted text-center font-bold"
|
|
2632
2632
|
}, Qn = ["id", "aria-controls"], Xn = { key: 0 }, Zn = ["id", "aria-labelledby"], el = { class: "definition-list dotted mb-md" }, tl = { class: "term" }, rl = ["innerHTML"], ol = { class: "grid-container text-muted" }, al = {
|
|
@@ -2649,7 +2649,7 @@ const Bn = `@layer components.variables{:where(:host){--mvw-form-label-font-size
|
|
|
2649
2649
|
}
|
|
2650
2650
|
},
|
|
2651
2651
|
setup(e) {
|
|
2652
|
-
const t = e, o = { en: he, hu:
|
|
2652
|
+
const t = e, o = { en: he, hu: ge }, { onError: r, error: i, hasError: c, reset: m } = Jr(), {
|
|
2653
2653
|
state: n,
|
|
2654
2654
|
isLoading: v,
|
|
2655
2655
|
execute: d
|
|
@@ -2660,33 +2660,33 @@ const Bn = `@layer components.variables{:where(:host){--mvw-form-label-font-size
|
|
|
2660
2660
|
params: {},
|
|
2661
2661
|
immediate: !0
|
|
2662
2662
|
},
|
|
2663
|
-
transform:
|
|
2663
|
+
transform: jn,
|
|
2664
2664
|
onError: r
|
|
2665
|
-
}), s =
|
|
2666
|
-
() =>
|
|
2667
|
-
), _ = I(() => [(
|
|
2665
|
+
}), s = G(""), { page: g, change: w } = Kt(), p = I(
|
|
2666
|
+
() => Ce(n.value).filter(s.value, ["organizationName", "recruitmentCity", "recruitmentTeamName"]).pagination(g.value, t.limit).value()
|
|
2667
|
+
), _ = I(() => [(g.value - 1) * t.limit + 1, Math.min(g.value * t.limit, p.value.totalItems)]);
|
|
2668
2668
|
J(s, () => {
|
|
2669
|
-
|
|
2669
|
+
g.value !== 1 && (g.value = 1);
|
|
2670
2670
|
});
|
|
2671
2671
|
function y() {
|
|
2672
2672
|
m(), d();
|
|
2673
2673
|
}
|
|
2674
|
-
return (
|
|
2674
|
+
return (C, z) => (u(), L(a(ue), {
|
|
2675
2675
|
locale: e.locale,
|
|
2676
2676
|
messages: o
|
|
2677
2677
|
}, {
|
|
2678
|
-
default: E(({ t:
|
|
2678
|
+
default: E(({ t: T }) => [
|
|
2679
2679
|
S(a(xe), {
|
|
2680
|
-
label:
|
|
2680
|
+
label: T("selection.filter"),
|
|
2681
2681
|
name: "filter",
|
|
2682
2682
|
class: "full-width mb-md",
|
|
2683
2683
|
style: { "max-width": "220px" }
|
|
2684
2684
|
}, {
|
|
2685
2685
|
default: E(() => [
|
|
2686
|
-
|
|
2686
|
+
Tt(l("input", {
|
|
2687
2687
|
id: "filter",
|
|
2688
|
-
"onUpdate:modelValue": z[0] || (z[0] = (
|
|
2689
|
-
placeholder:
|
|
2688
|
+
"onUpdate:modelValue": z[0] || (z[0] = (f) => s.value = f),
|
|
2689
|
+
placeholder: T("recruitmentInfo.filterByNameAndLocation"),
|
|
2690
2690
|
type: "text",
|
|
2691
2691
|
autocomplete: "off"
|
|
2692
2692
|
}, null, 8, qn), [
|
|
@@ -2702,9 +2702,9 @@ const Bn = `@layer components.variables{:where(:host){--mvw-form-label-font-size
|
|
|
2702
2702
|
onRetry: y
|
|
2703
2703
|
}, null, 8, ["error"])) : P("", !0),
|
|
2704
2704
|
a(v) ? (u(), L(a(Ke), { key: 1 })) : P("", !0),
|
|
2705
|
-
a(n).length > 0 &&
|
|
2706
|
-
(u(!0), x(
|
|
2707
|
-
key:
|
|
2705
|
+
a(n).length > 0 && p.value.rows.length === 0 ? (u(), x("div", Jn, b(T("recruitmentInfo.noResult")), 1)) : P("", !0),
|
|
2706
|
+
(u(!0), x(B, null, Z(p.value.rows, (f, h) => (u(), x("details", {
|
|
2707
|
+
key: f.organizationName,
|
|
2708
2708
|
class: "tonal elevated mb-md"
|
|
2709
2709
|
}, [
|
|
2710
2710
|
l("summary", {
|
|
@@ -2712,15 +2712,15 @@ const Bn = `@layer components.variables{:where(:host){--mvw-form-label-font-size
|
|
|
2712
2712
|
"aria-controls": `content-${h}`
|
|
2713
2713
|
}, [
|
|
2714
2714
|
S(a(ie), {
|
|
2715
|
-
src: `https://ivr-api.icehockey.hu${
|
|
2715
|
+
src: `https://ivr-api.icehockey.hu${f.organizationLogo}`,
|
|
2716
2716
|
"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",
|
|
2717
2717
|
width: 30,
|
|
2718
2718
|
height: 30,
|
|
2719
2719
|
style: { "object-fit": "contain" }
|
|
2720
2720
|
}, null, 8, ["src"]),
|
|
2721
2721
|
l("strong", null, [
|
|
2722
|
-
q(f
|
|
2723
|
-
|
|
2722
|
+
q(b(f.organizationName) + " ", 1),
|
|
2723
|
+
f.recruitmentTeamName ? (u(), x("span", Xn, "(" + b(f.recruitmentTeamName) + ")", 1)) : P("", !0)
|
|
2724
2724
|
]),
|
|
2725
2725
|
z[1] || (z[1] = l("svg", {
|
|
2726
2726
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -2741,8 +2741,8 @@ const Bn = `@layer components.variables{:where(:host){--mvw-form-label-font-size
|
|
|
2741
2741
|
"aria-labelledby": `summary-${h}`
|
|
2742
2742
|
}, [
|
|
2743
2743
|
l("ul", el, [
|
|
2744
|
-
(u(!0), x(
|
|
2745
|
-
l("span", tl,
|
|
2744
|
+
(u(!0), x(B, null, Z(f.recruitment, (k, $) => (u(), x("li", { key: $ }, [
|
|
2745
|
+
l("span", tl, b(T(`recruitmentInfo.${$}`)), 1),
|
|
2746
2746
|
z[2] || (z[2] = l("hr", null, null, -1)),
|
|
2747
2747
|
l("span", {
|
|
2748
2748
|
class: "description",
|
|
@@ -2754,26 +2754,26 @@ const Bn = `@layer components.variables{:where(:host){--mvw-form-label-font-size
|
|
|
2754
2754
|
]))), 128)),
|
|
2755
2755
|
l("div", ol, [
|
|
2756
2756
|
S(a(Dt), {
|
|
2757
|
-
page: a(
|
|
2757
|
+
page: a(g),
|
|
2758
2758
|
"items-per-page": t.limit,
|
|
2759
|
-
"total-items":
|
|
2759
|
+
"total-items": p.value.totalItems,
|
|
2760
2760
|
"range-length": 5,
|
|
2761
2761
|
onChange: a(w)
|
|
2762
2762
|
}, null, 8, ["page", "items-per-page", "total-items", "onChange"]),
|
|
2763
|
-
|
|
2763
|
+
p.value.totalItems > 0 ? (u(), x("div", al, b(T("table.info", { min: _.value[0], max: _.value[1], total: p.value.totalItems })), 1)) : P("", !0)
|
|
2764
2764
|
])
|
|
2765
2765
|
]),
|
|
2766
2766
|
_: 1
|
|
2767
2767
|
}, 8, ["locale"]));
|
|
2768
2768
|
}
|
|
2769
|
-
}, nl = /* @__PURE__ */ we(il, [["styles", [
|
|
2769
|
+
}, nl = /* @__PURE__ */ we(il, [["styles", [pe, Un, Kn, Vn, Hn, Wn]]]);
|
|
2770
2770
|
function ll(e, t) {
|
|
2771
2771
|
if (e.length === 0)
|
|
2772
|
-
throw new
|
|
2773
|
-
t.seasons =
|
|
2772
|
+
throw new jt(Me.message, Me.options);
|
|
2773
|
+
t.seasons = Rt(e), t.championshipId || (t.championshipId = ee(t.seasons).championshipId);
|
|
2774
2774
|
}
|
|
2775
2775
|
function sl(e, t) {
|
|
2776
|
-
t.sections = At(e), t.sectionId =
|
|
2776
|
+
t.sections = At(e), t.sectionId = Gr(t.sections), t.phaseId = Bt([0, "phases", 0], e)?.phaseId ?? null;
|
|
2777
2777
|
}
|
|
2778
2778
|
const cl = {
|
|
2779
2779
|
gameName: {
|
|
@@ -2879,22 +2879,22 @@ const dl = {
|
|
|
2879
2879
|
apiKey: t.apiKey,
|
|
2880
2880
|
params: I(() => ({ championshipId: o.championshipId, phaseId: o.phaseId }))
|
|
2881
2881
|
},
|
|
2882
|
-
transform: (y) => Yr(
|
|
2882
|
+
transform: (y) => Yr(Gt, ml(o.championshipId))(y),
|
|
2883
2883
|
onError: r
|
|
2884
|
-
}),
|
|
2885
|
-
|
|
2884
|
+
}), g = I(() => Ce(d.value).schedule(t.timezone, t.locale).value());
|
|
2885
|
+
Ge([c, n, s]);
|
|
2886
2886
|
const w = I(() => [m.value, i.value, v.value].some(Boolean));
|
|
2887
|
-
function
|
|
2888
|
-
o.championshipId = y,
|
|
2887
|
+
function p(y) {
|
|
2888
|
+
o.championshipId = y, Ge([n, s]);
|
|
2889
2889
|
}
|
|
2890
2890
|
function _(y) {
|
|
2891
|
-
o.sectionId = y.sectionId, o.phaseId =
|
|
2891
|
+
o.sectionId = y.sectionId, o.phaseId = Bt(["phases", 0, "phaseId"], y), s();
|
|
2892
2892
|
}
|
|
2893
|
-
return (y,
|
|
2894
|
-
rows:
|
|
2893
|
+
return (y, C) => ye(y.$slots, "default", Be(Fe({
|
|
2894
|
+
rows: g.value,
|
|
2895
2895
|
isLoading: w.value,
|
|
2896
2896
|
values: a(Yt)(["phaseId"], o),
|
|
2897
|
-
listeners: { onChangeSection: _, onChangeSeason:
|
|
2897
|
+
listeners: { onChangeSection: _, onChangeSeason: p }
|
|
2898
2898
|
})));
|
|
2899
2899
|
}
|
|
2900
2900
|
}, vl = ["href"], ul = ["href"], hl = {
|
|
@@ -2918,7 +2918,7 @@ const dl = {
|
|
|
2918
2918
|
}
|
|
2919
2919
|
},
|
|
2920
2920
|
setup(e) {
|
|
2921
|
-
const t = e, o =
|
|
2921
|
+
const t = e, o = G(null), { columns: r } = Qr(
|
|
2922
2922
|
t.columns,
|
|
2923
2923
|
null,
|
|
2924
2924
|
I(() => ({
|
|
@@ -2938,21 +2938,21 @@ const dl = {
|
|
|
2938
2938
|
"append-to": o.value
|
|
2939
2939
|
}, {
|
|
2940
2940
|
"cell-homeTeamName": E(({ row: n }) => [
|
|
2941
|
-
q(
|
|
2941
|
+
q(b(n.homeTeam?.longName ?? ""), 1)
|
|
2942
2942
|
]),
|
|
2943
2943
|
"cell-location": E(({ row: n }) => [
|
|
2944
|
-
q(
|
|
2944
|
+
q(b(n.location?.locationName ?? ""), 1)
|
|
2945
2945
|
]),
|
|
2946
2946
|
"cell-document": E(({ row: n }) => [
|
|
2947
2947
|
n.schedule ? (u(), x("a", {
|
|
2948
2948
|
key: 0,
|
|
2949
2949
|
href: n.schedule,
|
|
2950
2950
|
target: "_blank"
|
|
2951
|
-
},
|
|
2951
|
+
}, b(a(i)("schedule")), 9, vl)) : n.registration ? (u(), x("a", {
|
|
2952
2952
|
key: 1,
|
|
2953
2953
|
href: n.registration,
|
|
2954
2954
|
target: "_blank"
|
|
2955
|
-
},
|
|
2955
|
+
}, b(a(i)("registration")), 9, ul)) : P("", !0)
|
|
2956
2956
|
]),
|
|
2957
2957
|
_: 1
|
|
2958
2958
|
}, 8, ["columns", "rows", "is-loading", "append-to"])
|
|
@@ -2961,7 +2961,7 @@ const dl = {
|
|
|
2961
2961
|
})
|
|
2962
2962
|
], 512));
|
|
2963
2963
|
}
|
|
2964
|
-
},
|
|
2964
|
+
}, gl = "@layer components.variables{:where(:host){--mvw-color-error-notice-bg-color: color-mix(in oklab, var(--mvw-color-error) 10%, transparent);--mvw-color-error-notice-border-color: color-mix(in oklab, var(--mvw-color-error) 25%, transparent);--mvw-color-error-notice-color: var(--mvw-color-error)}}@layer components{:where(.error-notice){display:flex;align-items:center;justify-items:flex-start;gap:15px;margin:10px 0;padding:10px 20px;background-color:var(--mvw-color-error-notice-bg-color);color:var(--mvw-color-error-notice-color);border:1px solid var(--mvw-color-error-notice-border-color);border-radius:var(--radius-2)}:where(.error-notice) button{text-decoration:underline}}", pl = {
|
|
2965
2965
|
__name: "ScheduleCup.ce",
|
|
2966
2966
|
props: {
|
|
2967
2967
|
locale: {
|
|
@@ -2982,13 +2982,13 @@ const dl = {
|
|
|
2982
2982
|
// },
|
|
2983
2983
|
},
|
|
2984
2984
|
setup(e) {
|
|
2985
|
-
const t = e, o = { en: he, hu:
|
|
2985
|
+
const t = e, o = { en: he, hu: ge }, r = G(He()), i = I(() => Ve(/* @__PURE__ */ new Date(), r.value, t.locale));
|
|
2986
2986
|
return (c, m) => (u(), L(a(ue), {
|
|
2987
2987
|
locale: t.locale,
|
|
2988
2988
|
messages: o
|
|
2989
2989
|
}, {
|
|
2990
2990
|
default: E(() => [
|
|
2991
|
-
S(a(
|
|
2991
|
+
S(a(Ue), null, {
|
|
2992
2992
|
default: E(({ error: n, hasError: v }) => [
|
|
2993
2993
|
v ? (u(), L(a($e), {
|
|
2994
2994
|
key: 0,
|
|
@@ -2999,8 +2999,8 @@ const dl = {
|
|
|
2999
2999
|
locale: e.locale,
|
|
3000
3000
|
timezone: r.value
|
|
3001
3001
|
}, {
|
|
3002
|
-
default: E(({ rows: d, isLoading: s, values:
|
|
3003
|
-
S(or, Et(
|
|
3002
|
+
default: E(({ rows: d, isLoading: s, values: g, listeners: w }) => [
|
|
3003
|
+
S(or, Et(g, kr(w)), null, 16),
|
|
3004
3004
|
S(hl, {
|
|
3005
3005
|
columns: a(cl),
|
|
3006
3006
|
rows: d.rows,
|
|
@@ -3017,7 +3017,7 @@ const dl = {
|
|
|
3017
3017
|
_: 1
|
|
3018
3018
|
}, 8, ["locale"]));
|
|
3019
3019
|
}
|
|
3020
|
-
}, wl = /* @__PURE__ */ we(
|
|
3020
|
+
}, wl = /* @__PURE__ */ we(pl, [["styles", [pe, ar, ir, nr, lr, sr, cr, gl]]]), bl = ["data-state", "onClick"], fl = { class: "list" }, yl = ["aria-selected", "onClick"], xl = { class: "text" }, kl = /* @__PURE__ */ Object.assign({
|
|
3021
3021
|
inheritAttrs: !1
|
|
3022
3022
|
}, {
|
|
3023
3023
|
__name: "ChampionshipSelector",
|
|
@@ -3054,11 +3054,11 @@ const dl = {
|
|
|
3054
3054
|
onClick: n
|
|
3055
3055
|
}, [
|
|
3056
3056
|
S(a(ha), { style: { display: "block", height: "20px" } })
|
|
3057
|
-
], 8,
|
|
3057
|
+
], 8, bl)
|
|
3058
3058
|
]),
|
|
3059
3059
|
content: E(({ close: c }) => [
|
|
3060
|
-
l("ul",
|
|
3061
|
-
(u(!0), x(
|
|
3060
|
+
l("ul", fl, [
|
|
3061
|
+
(u(!0), x(B, null, Z(e.data, (m) => (u(), x("li", {
|
|
3062
3062
|
key: m.championshipId
|
|
3063
3063
|
}, [
|
|
3064
3064
|
l("button", {
|
|
@@ -3067,7 +3067,7 @@ const dl = {
|
|
|
3067
3067
|
type: "button",
|
|
3068
3068
|
onClick: (n) => o("change", { item: m, close: c(n) })
|
|
3069
3069
|
}, [
|
|
3070
|
-
l("div", xl,
|
|
3070
|
+
l("div", xl, b(m.name) + " - " + b(m.phase), 1)
|
|
3071
3071
|
], 10, yl)
|
|
3072
3072
|
]))), 128))
|
|
3073
3073
|
])
|
|
@@ -3107,20 +3107,20 @@ const zl = {
|
|
|
3107
3107
|
resetOnExecute: !0,
|
|
3108
3108
|
immediate: !0
|
|
3109
3109
|
},
|
|
3110
|
-
transform: (
|
|
3110
|
+
transform: (g) => _l(g),
|
|
3111
3111
|
onError: o
|
|
3112
|
-
}), v = I(() =>
|
|
3112
|
+
}), v = I(() => Ce(c.value).addContinuousIndex().value()), d = I(() => ({
|
|
3113
3113
|
tag: i.path ? "a" : "span",
|
|
3114
3114
|
props: {
|
|
3115
3115
|
...i.path && { href: i.path }
|
|
3116
3116
|
}
|
|
3117
3117
|
}));
|
|
3118
|
-
function s({ item: { championshipId:
|
|
3119
|
-
i.championshipId =
|
|
3118
|
+
function s({ item: { championshipId: g, phaseId: w, name: p, path: _, phase: y, isPlayoffs: C }, close: z }) {
|
|
3119
|
+
i.championshipId = g, i.path = _ || "", i.phaseId = w, i.championshipName = p, i.phaseName = y, i.isPlayoffs = C || !1, r(), n(), z?.();
|
|
3120
3120
|
}
|
|
3121
|
-
return (
|
|
3121
|
+
return (g, w) => ye(g.$slots, "default", Be(Fe({ convertedRows: v.value, isLoading: a(m), ...i, componentProps: d.value, onChange: s })));
|
|
3122
3122
|
}
|
|
3123
|
-
}, Sl = { class: "playoffs" }, $l = { class: "section-title" },
|
|
3123
|
+
}, Sl = { class: "playoffs" }, $l = { class: "section-title" }, Cl = { class: "responsive-team-name font-bold text-highlighted" }, Tl = { class: "team-name-short" }, Nl = { class: "team-name-long" }, Il = { class: "badge lg inverted" }, El = { class: "responsive-team-name font-bold text-highlighted" }, Pl = { class: "team-name-short" }, Dl = { class: "team-name-long" }, Ll = {
|
|
3124
3124
|
__name: "PlayoffsList",
|
|
3125
3125
|
props: {
|
|
3126
3126
|
playoffs: {
|
|
@@ -3138,16 +3138,16 @@ const zl = {
|
|
|
3138
3138
|
default: E(() => [
|
|
3139
3139
|
l("div", Sl, [
|
|
3140
3140
|
e.isLoading ? (u(), L(a(Ke), { key: 0 })) : P("", !0),
|
|
3141
|
-
(u(!0), x(
|
|
3141
|
+
(u(!0), x(B, null, Z(e.playoffs, (i) => (u(), x("div", {
|
|
3142
3142
|
key: `${i.divisionStage2Name}-${i.divisionStageNumber}`,
|
|
3143
3143
|
class: "section"
|
|
3144
3144
|
}, [
|
|
3145
|
-
l("div", $l,
|
|
3145
|
+
l("div", $l, b(a(t)(`playoffs.${i.divisionStage2Name}${i.divisionStageNumber || ""}`)), 1),
|
|
3146
3146
|
l("ul", null, [
|
|
3147
|
-
l("li",
|
|
3147
|
+
l("li", Cl, [
|
|
3148
3148
|
l("div", null, [
|
|
3149
|
-
l("span",
|
|
3150
|
-
l("span", Nl,
|
|
3149
|
+
l("span", Tl, b(i.homeTeam.shortName), 1),
|
|
3150
|
+
l("span", Nl, b(i.homeTeam.longName), 1)
|
|
3151
3151
|
])
|
|
3152
3152
|
]),
|
|
3153
3153
|
l("li", null, [
|
|
@@ -3156,7 +3156,7 @@ const zl = {
|
|
|
3156
3156
|
}, null, 8, ["src"])
|
|
3157
3157
|
]),
|
|
3158
3158
|
l("li", null, [
|
|
3159
|
-
l("span", Il,
|
|
3159
|
+
l("span", Il, b(i.seriesStandings), 1)
|
|
3160
3160
|
]),
|
|
3161
3161
|
l("li", null, [
|
|
3162
3162
|
S(a(ie), {
|
|
@@ -3165,8 +3165,8 @@ const zl = {
|
|
|
3165
3165
|
]),
|
|
3166
3166
|
l("li", El, [
|
|
3167
3167
|
l("div", null, [
|
|
3168
|
-
l("span", Pl,
|
|
3169
|
-
l("span", Dl,
|
|
3168
|
+
l("span", Pl, b(i.awayTeam.shortName), 1),
|
|
3169
|
+
l("span", Dl, b(i.awayTeam.longName), 1)
|
|
3170
3170
|
])
|
|
3171
3171
|
])
|
|
3172
3172
|
])
|
|
@@ -3176,7 +3176,7 @@ const zl = {
|
|
|
3176
3176
|
_: 1
|
|
3177
3177
|
}));
|
|
3178
3178
|
}
|
|
3179
|
-
}, Ml = "@layer components.variables{:where(:host){--mvw-standings-selector-title-size: var(--font-size-500);--mvw-standings-selector-title-color: light-dark(var(--mvw-color-primary-700), var(--mvw-color-primary-300));--mvw-standings-selector-title-transform: none;--mvw-standings-selector-title-padding: 0 .625em .5625em;--mvw-standings-selector-title-bg-color: transparent;--mvw-standings-selector-section-title-bg: light-dark(var(--mvw-color-primary-50), var(--mvw-color-primary-900));--mvw-standings-selector-section-title-size: var(--font-size-400);--mvw-standings-selector-section-title-color: light-dark( var(--mvw-color-primary-700), var(--mvw-color-primary-300) );--mvw-standings-selector-section-title-padding: var(--size-8);--mvw-standings-selector-section-logo-size: 30px}}@layer components{:where(.standings-selector) .standings-selector-title{display:grid;grid-template-columns:1fr auto;align-items:center;padding:var(--mvw-standings-selector-title-padding);text-transform:var(--mvw-standings-selector-title-transform);font-size:var(--mvw-standings-selector-title-size);color:var(--mvw-standings-selector-title-color);background:var(--mvw-standings-selector-title-bg-color)}:where(.standings-selector) .is-title-text svg{height:16px;vertical-align:middle}:where(.standings-selector) :where(.playoffs) ul{display:grid;grid-template-columns:minmax(0,1fr) var(--mvw-standings-selector-section-logo-size) auto var( --mvw-standings-selector-section-logo-size ) minmax(0,1fr);gap:12px;align-items:center;list-style:none;margin:0;padding:0}:where(.standings-selector) :where(.playoffs) li{padding-block:8px}:where(.standings-selector) :where(.playoffs) li:first-of-type{text-align:end}:where(.standings-selector) :where(.playoffs) img{display:block;width:100%;aspect-ratio:1}:where(.standings-selector) :where(.playoffs) .section-title{padding:var(--mvw-standings-selector-section-title-padding);color:var(--mvw-standings-selector-section-title-color);background-color:var(--mvw-standings-selector-section-title-bg);font-size:var(--mvw-standings-selector-section-title-size);font-weight:700;text-align:center}}", Al = "@layer components{:where(.table-responsive){container-name:table-wrapper;container-type:inline-size;width:100%;overflow-x:auto}:where(.table-responsive) :where(table){width:100%}}", Ol = '@layer components.variables{:where(:host){--mvw-table-header-font-size: var(--font-size-200);--mvw-table-default-column-width: 40px;--mvw-table-default-bg-color: light-dark(var(--mvw-color-white), var(--mvw-color-primary-900));--mvw-table-color: light-dark(var(--mvw-color-primary-800), var(--mvw-color-primary-200));--mvw-table-neutral-color: light-dark(var(--mvw-color-primary-300), var(--mvw-color-primary-700));--mvw-table-header-bg-color: light-dark(var(--mvw-color-primary-800), var(--mvw-color-primary-200));--mvw-table-header-color: light-dark(var(--mvw-color-primary-200), var(--mvw-color-primary-800));--mvw-table-header-hover-bg-color: light-dark(var(--mvw-color-primary-700), var(--mvw-color-primary-300));--mvw-table-header-active-bg-color: light-dark(var(--mvw-color-primary-700), var(--mvw-color-primary-300));--mvw-table-header-active-color: light-dark(var(--mvw-color-white), var(--mvw-color-primary-900));--mvw-table-hover-color: light-dark(var(--mvw-color-primary-900), var(--mvw-color-white));--mvw-table-hover-bg-color: light-dark(var(--mvw-color-secondary-100), var(--mvw-color-primary-950));--mvw-table-active-color: light-dark(var(--mvw-color-secondary-900), var(--mvw-color-secondary-100));--mvw-table-active-bg-color: light-dark(var(--mvw-color-secondary-200), var(--mvw-color-secondary-800));--mvw-table-active-even-bg-color: light-dark(var(--mvw-color-secondary-300), var(--mvw-color-secondary-700));--mvw-table-active-hover-color: light-dark(var(--mvw-color-secondary-900), var(--mvw-color-secondary-100));--mvw-table-active-hover-bg-color: light-dark(var(--mvw-color-secondary-400), var(--mvw-color-secondary-500));--mvw-table-portrait-border-color: light-dark(var(--mvw-color-primary-100), var(--mvw-color-primary-900));--mvw-table-portrait-bg-color: light-dark(var(--mvw-color-primary-50), var(--mvw-color-primary-900));--mvw-table-stripped-bg-color: light-dark( hsl(from var(--mvw-color-primary-50) h s calc(l + 3) ), hsl(from var(--mvw-color-primary-900) h s calc(l + 2) ) );--mvw-table-label-color: light-dark(var(--mvw-color-primary-500), var(--mvw-color-primary-400));--mvw-table-label-bg-color: light-dark(var(--mvw-color-primary-50), var(--mvw-color-primary-900));--mvw-table-cell-logo-size: 20px;--mvw-table-cell-portrait-size: 26px;--mvw-table-caption-color: light-dark(var(--mvw-color-primary-400), var(--mvw-color-primary-600));--mvw-table-caption-font-size: var(--font-size-200)}}@layer components{:where(.table){border-collapse:collapse;max-inline-size:100%;position:relative;color:var(--mvw-table-color);background-color:var(--mvw-table-default-bg-color)}:where(.table) tr{background-color:var(--surface-default);border-top:1px solid var(--border-color)}:where(.table) tr:hover{background-color:oklch(from var(--surface-filled) l c h / 75%)}:where(.table) tr:nth-child(2n){background:var(--mvw-table-stripped-bg-color)}:where(.table) tr:nth-child(2n) td.is-active{background-color:var(--mvw-table-active-even-bg-color)}:where(.table) tr.is-highlighted{color:var(--mvw-color-error)}:where(.table) tr.is-optional{opacity:.5}:where(.table) :is(th,td){padding:var(--size-8);white-space:nowrap;text-align:center}:where(.table) th{background:var(--mvw-table-header-bg-color);color:var(--mvw-table-header-color);font-size:var(--mvw-table-header-font-size);font-weight:700;text-align:center;width:var(--mvw-table-default-column-width)}:where(.table) th:focus-visible,:where(.table) th:hover{background-color:var(--mvw-table-header-hover-bg-color);outline:none}:where(.table) th.is-sortable{position:relative;cursor:pointer}:where(.table) th.is-sortable .is-icon-sort{opacity:.5}:where(.table) th.is-active{background-color:var(--mvw-table-header-active-bg-color);color:var(--mvw-table-header-active-color)}:where(.table) th.is-active .is-icon-sort{opacity:1}:where(.table) th.is-has-image,:where(.table) th.has-avatar{width:0}:where(.table) th .is-icon-sort{display:inline-block;width:var(--size-12);height:var(--size-12);margin-inline-start:var(--size-4)}:where(.table) td.is-active{font-weight:700;color:var(--mvw-table-active-color);background:var(--mvw-table-active-bg-color)}:where(.table) td.has-avatar .avatar{--_width: var(--mvw-table-cell-portrait-size)}:where(.table) td[data-value="0"],:where(.table) td.is-zero{color:var(--mvw-text-faded)}:where(.table) td.is-possible-empty:empty:before{content:"0";color:var(--mvw-text-faded)}:where(.table) td.is-horizontal-content{display:inline-flex;align-items:center}:where(.table) td .is-logo-image{display:inline-block;vertical-align:middle;width:var(--mvw-table-cell-logo-size);height:var(--mvw-table-cell-logo-size);max-inline-size:fit-content}:where(.table) td .is-duplicated{color:var(--mvw-table-neutral-color)}:where(.table) td .is-team-name-long{display:inline-block}:where(.table) td .is-team-name-short{display:none}@container table-wrapper (max-width: 768px){:where(.table) td .is-team-name-long{display:none}:where(.table) td .is-team-name-short{display:inline-block}}:where(.table) caption{caption-side:bottom;color:var(--mvw-table-caption-color);font-size:var(--mvw-table-caption-font-size, .75rem);padding:var(--size-12) 0;text-align:start}:where(.table) tbody tr:focus-within,:where(.table) tbody tr:hover{color:var(--mvw-table-hover-color);background-color:var(--mvw-table-hover-bg-color)}:is(:where(.table) tbody tr:focus-within,:where(.table) tbody tr:hover) td.is-active{color:var(--mvw-table-active-hover-color);background-color:var(--mvw-table-active-hover-bg-color)}}', Rl = "@layer components.variables{:where(:host){--mvw-tooltip-font-size: var(--font-size-200);--mvw-tooltip-color: light-dark(white, black);--mvw-tooltip-bg-color: light-dark(black, white);--mvw-floating-content-bg-color: light-dark(white, var(--mvw-color-primary-800))}}@layer components{:where(.floating-content).is-tooltip{background-color:var(--mvw-tooltip-bg-color);color:var(--mvw-tooltip-color);font-weight:700;padding:var(--size-4) var(--size-8);border-radius:var(--radius-2);font-size:var(--mvw-tooltip-font-size);white-space:nowrap;pointer-events:none}:where(.floating-content).is-tooltip .is-arrow{background-color:var(--mvw-tooltip-bg-color)}:where(.floating-content).is-content{background-color:var(--mvw-floating-content-bg-color);border-radius:var(--radius-2);box-shadow:var(--shadow-6)}:where(.floating-content).is-content .is-arrow{background-color:var(--mvw-floating-content-bg-color)}:where(.floating-content) .is-arrow{width:8px;height:8px;transform:rotate(45deg)}[data-placement^=top] :is(:where(.floating-content) .is-arrow){bottom:-4px;clip-path:polygon(80% 0,100% 0,100% 100%,0 100%,0 80%)}[data-placement^=bottom] :is(:where(.floating-content) .is-arrow){top:-4px;clip-path:polygon(100% 0,0 0,0 100%)}[data-placement^=left] :is(:where(.floating-content) .is-arrow){right:-4px;clip-path:polygon(100% 0,0 0,100% 100%)}[data-placement^=right] :is(:where(.floating-content) .is-arrow){left:-4px;clip-path:polygon(100% 0,0 0,0 100%)}.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)}}", Gl = "@layer components.variables{:where(:host){--mvw-list-item-font-size: var(--font-size-400);--mvw-list-item-color: light-dark(var(--mvw-color-primary-500), var(--mvw-color-primary-200));--mvw-list-item-hover-color: light-dark(var(--mvw-color-primary-800), var(--mvw-color-primary-50));--mvw-list-item-hover-bg-color: light-dark(var(--mvw-color-primary-50), var(--mvw-color-primary-900));--mvw-list-item-selected-color: light-dark(var(--mvw-color-secondary-700), var(--mvw-color-secondary-300))}}@layer components{:where(.list){list-style:none;margin:0;padding:var(--size-4)}@media (pointer: coarse){:where(.list),:where(.list) *{-webkit-user-select:none;user-select:none}}:where(.list) :where(li,option,[role=group]>label){align-items:center;display:flex;gap:var(--size-4);isolation:isolate;min-block-size:40px;position:relative}:where(.list) :where(li,option,[role=group]>label):before{display:none}:where(.list) :where(li,option,[role=group]>label) *{font-size:inherit}:where(.list) :where(li,option,[role=group]>label):has(>a,>button,>label){background:transparent;display:block;min-block-size:auto;padding:0}:where(.list) :where(li,option,[role=group]>label)>a,:where(.list) :where(li,option,[role=group]>label)>button,:where(.list) :where(li,option,[role=group]>label)>label{align-items:center;color:var(--mvw-list-item-color);cursor:pointer;display:flex;gap:var(--size-8);inline-size:100%;margin:0;outline-offset:-1px;font-size:var(--mvw-list-item-font-size);padding:var(--size-4) var(--size-6);text-align:start;text-decoration:none;border-radius:var(--radius-2);z-index:0}:is(:where(.list) :where(li,option,[role=group]>label)>a,:where(.list) :where(li,option,[role=group]>label)>button,:where(.list) :where(li,option,[role=group]>label)>label):focus,:is(:where(.list) :where(li,option,[role=group]>label)>a,:where(.list) :where(li,option,[role=group]>label)>button,:where(.list) :where(li,option,[role=group]>label)>label):focus-visible,:is(:where(.list) :where(li,option,[role=group]>label)>a,:where(.list) :where(li,option,[role=group]>label)>button,:where(.list) :where(li,option,[role=group]>label)>label):hover{color:var(--mvw-list-item-hover-color);background-color:var(--mvw-list-item-hover-bg-color)}:is(:where(.list) :where(li,option,[role=group]>label)>a,:where(.list) :where(li,option,[role=group]>label)>button,:where(.list) :where(li,option,[role=group]>label)>label)[aria-selected=true]{color:var(--mvw-list-item-selected-color)}:is(:where(.list) :where(li,option,[role=group]>label)>a,:where(.list) :where(li,option,[role=group]>label)>button,:where(.list) :where(li,option,[role=group]>label)>label) .text{flex:1;line-height:1.6}:is(:where(.list) :where(li,option,[role=group]>label)>a,:where(.list) :where(li,option,[role=group]>label)>button,:where(.list) :where(li,option,[role=group]>label)>label) .text :where(h1,h2,h3,h4,h5,h6,p,span){color:inherit;font-weight:400}:is(:where(.list) :where(li,option,[role=group]>label)>a,:where(.list) :where(li,option,[role=group]>label)>button,:where(.list) :where(li,option,[role=group]>label)>label) .text p+p{font-size:var(--font-size-100)}:is(:where(.list) :where(li,option,[role=group]>label)>a,:where(.list) :where(li,option,[role=group]>label)>button,:where(.list) :where(li,option,[role=group]>label)>label) .start{align-self:center;align-items:center;display:grid;z-index:1}:is(:where(.list) :where(li,option,[role=group]>label)>a,:where(.list) :where(li,option,[role=group]>label)>button,:where(.list) :where(li,option,[role=group]>label)>label) .start svg{inline-size:var(--mvw-list-item-font-size)}}", jl = "@layer components{:where(.badge){--_bg-color: var(--mvw-bg-muted);--_color: var(--mvw-text-muted);padding:var(--size-2) var(--size-4);display:inline-flex;gap:var(--size-2);font-size:var(--font-size-100);font-weight:700;line-height:var(--font-lineheight-300);color:var(--_color);background-color:var(--_bg-color);border-radius:var(--radius-2)}:where(.badge) svg{fill:currentColor}:where(.badge).inverted{--_bg-color: var(--mvw-bg-inverted);--_color: var(--mvw-text-inverted)}:where(.badge).live{--_bg-color: var(--mvw-color-live);--_color: var(--mvw-color-white)}:where(.badge).error{--_bg-color: var(--mvw-color-error);--_color: var(--mvw-color-white)}:where(.badge).warning{--_bg-color: var(--mvw-color-warning);--_color: var(--mvw-color-white)}:where(.badge).xs{font-size:var(--font-size-50)}:where(.badge).lg{font-size:var(--font-size-300);padding:var(--size-4) var(--size-6)}:where(.badge)+:where(.badge){margin-inline-start:var(--size-4)}}", Yl = "@layer components{:where(.icon-button){--_hover-bg-color: color-mix(in oklab, light-dark(var(--mvw-color-black), var(--mvw-color-white)) 10%, transparent);align-items:center;aspect-ratio:1;background-color:transparent;border:0;border-radius:var(--radius-2);display:inline-flex;inline-size:var(--size-24);justify-content:center;padding:0}:where(.icon-button) svg{max-inline-size:var(--size-16);pointer-events:none}:where(.icon-button)[data-state=open],:where(.icon-button):hover{background-color:var(--_hover-bg-color)}:where(.icon-button).xs{border-radius:var(--radius-1)}}", Fl = "@layer components.variables{:where(:host){--mvw-color-error-notice-bg-color: color-mix(in oklab, var(--mvw-color-error) 10%, transparent);--mvw-color-error-notice-border-color: color-mix(in oklab, var(--mvw-color-error) 25%, transparent);--mvw-color-error-notice-color: var(--mvw-color-error)}}@layer components{:where(.error-notice){display:flex;align-items:center;justify-items:flex-start;gap:15px;margin:10px 0;padding:10px 20px;background-color:var(--mvw-color-error-notice-bg-color);color:var(--mvw-color-error-notice-color);border:1px solid var(--mvw-color-error-notice-border-color);border-radius:var(--radius-2)}:where(.error-notice) button{text-decoration:underline}}", Ul = { class: "standings-selector" }, Bl = { class: "standings-selector-title" }, Kl = {
|
|
3179
|
+
}, Ml = "@layer components.variables{:where(:host){--mvw-standings-selector-title-size: var(--font-size-500);--mvw-standings-selector-title-color: light-dark(var(--mvw-color-primary-700), var(--mvw-color-primary-300));--mvw-standings-selector-title-transform: none;--mvw-standings-selector-title-padding: 0 .625em .5625em;--mvw-standings-selector-title-bg-color: transparent;--mvw-standings-selector-section-title-bg: light-dark(var(--mvw-color-primary-50), var(--mvw-color-primary-900));--mvw-standings-selector-section-title-size: var(--font-size-400);--mvw-standings-selector-section-title-color: light-dark( var(--mvw-color-primary-700), var(--mvw-color-primary-300) );--mvw-standings-selector-section-title-padding: var(--size-8);--mvw-standings-selector-section-logo-size: 30px}}@layer components{:where(.standings-selector) .standings-selector-title{display:grid;grid-template-columns:1fr auto;align-items:center;padding:var(--mvw-standings-selector-title-padding);text-transform:var(--mvw-standings-selector-title-transform);font-size:var(--mvw-standings-selector-title-size);color:var(--mvw-standings-selector-title-color);background:var(--mvw-standings-selector-title-bg-color)}:where(.standings-selector) .is-title-text svg{height:16px;vertical-align:middle}:where(.standings-selector) :where(.playoffs) ul{display:grid;grid-template-columns:minmax(0,1fr) var(--mvw-standings-selector-section-logo-size) auto var( --mvw-standings-selector-section-logo-size ) minmax(0,1fr);gap:12px;align-items:center;list-style:none;margin:0;padding:0}:where(.standings-selector) :where(.playoffs) li{padding-block:8px}:where(.standings-selector) :where(.playoffs) li:first-of-type{text-align:end}:where(.standings-selector) :where(.playoffs) img{display:block;width:100%;aspect-ratio:1}:where(.standings-selector) :where(.playoffs) .section-title{padding:var(--mvw-standings-selector-section-title-padding);color:var(--mvw-standings-selector-section-title-color);background-color:var(--mvw-standings-selector-section-title-bg);font-size:var(--mvw-standings-selector-section-title-size);font-weight:700;text-align:center}}", Al = "@layer components{:where(.table-responsive){container-name:table-wrapper;container-type:inline-size;width:100%;overflow-x:auto}:where(.table-responsive) :where(table){width:100%}}", Ol = '@layer components.variables{:where(:host){--mvw-table-header-font-size: var(--font-size-200);--mvw-table-default-column-width: 40px;--mvw-table-default-bg-color: light-dark(var(--mvw-color-white), var(--mvw-color-primary-900));--mvw-table-color: light-dark(var(--mvw-color-primary-800), var(--mvw-color-primary-200));--mvw-table-neutral-color: light-dark(var(--mvw-color-primary-300), var(--mvw-color-primary-700));--mvw-table-header-bg-color: light-dark(var(--mvw-color-primary-800), var(--mvw-color-primary-200));--mvw-table-header-color: light-dark(var(--mvw-color-primary-200), var(--mvw-color-primary-800));--mvw-table-header-hover-bg-color: light-dark(var(--mvw-color-primary-700), var(--mvw-color-primary-300));--mvw-table-header-active-bg-color: light-dark(var(--mvw-color-primary-700), var(--mvw-color-primary-300));--mvw-table-header-active-color: light-dark(var(--mvw-color-white), var(--mvw-color-primary-900));--mvw-table-hover-color: light-dark(var(--mvw-color-primary-900), var(--mvw-color-white));--mvw-table-hover-bg-color: light-dark(var(--mvw-color-secondary-100), var(--mvw-color-primary-950));--mvw-table-active-color: light-dark(var(--mvw-color-secondary-900), var(--mvw-color-secondary-100));--mvw-table-active-bg-color: light-dark(var(--mvw-color-secondary-200), var(--mvw-color-secondary-800));--mvw-table-active-even-bg-color: light-dark(var(--mvw-color-secondary-300), var(--mvw-color-secondary-700));--mvw-table-active-hover-color: light-dark(var(--mvw-color-secondary-900), var(--mvw-color-secondary-100));--mvw-table-active-hover-bg-color: light-dark(var(--mvw-color-secondary-400), var(--mvw-color-secondary-500));--mvw-table-portrait-border-color: light-dark(var(--mvw-color-primary-100), var(--mvw-color-primary-900));--mvw-table-portrait-bg-color: light-dark(var(--mvw-color-primary-50), var(--mvw-color-primary-900));--mvw-table-stripped-bg-color: light-dark( hsl(from var(--mvw-color-primary-50) h s calc(l + 3) ), hsl(from var(--mvw-color-primary-900) h s calc(l + 2) ) );--mvw-table-label-color: light-dark(var(--mvw-color-primary-500), var(--mvw-color-primary-400));--mvw-table-label-bg-color: light-dark(var(--mvw-color-primary-50), var(--mvw-color-primary-900));--mvw-table-cell-logo-size: 20px;--mvw-table-cell-portrait-size: 26px;--mvw-table-caption-color: light-dark(var(--mvw-color-primary-400), var(--mvw-color-primary-600));--mvw-table-caption-font-size: var(--font-size-200)}}@layer components{:where(.table){border-collapse:collapse;max-inline-size:100%;position:relative;color:var(--mvw-table-color);background-color:var(--mvw-table-default-bg-color)}:where(.table) tr{background-color:var(--surface-default);border-top:1px solid var(--border-color)}:where(.table) tr:hover{background-color:oklch(from var(--surface-filled) l c h / 75%)}:where(.table) tr:nth-child(2n){background:var(--mvw-table-stripped-bg-color)}:where(.table) tr:nth-child(2n) td.is-active{background-color:var(--mvw-table-active-even-bg-color)}:where(.table) tr.is-highlighted{color:var(--mvw-color-error)}:where(.table) tr.is-optional{opacity:.5}:where(.table) :is(th,td){padding:var(--size-8);white-space:nowrap;text-align:center}:where(.table) th{background:var(--mvw-table-header-bg-color);color:var(--mvw-table-header-color);font-size:var(--mvw-table-header-font-size);font-weight:700;text-align:center;width:var(--mvw-table-default-column-width)}:where(.table) th:focus-visible,:where(.table) th:hover{background-color:var(--mvw-table-header-hover-bg-color);outline:none}:where(.table) th.is-sortable{position:relative;cursor:pointer}:where(.table) th.is-sortable .is-icon-sort{opacity:.5}:where(.table) th.is-active{background-color:var(--mvw-table-header-active-bg-color);color:var(--mvw-table-header-active-color)}:where(.table) th.is-active .is-icon-sort{opacity:1}:where(.table) th.is-has-image,:where(.table) th.has-avatar{width:0}:where(.table) th .is-icon-sort{display:inline-block;width:var(--size-12);height:var(--size-12);margin-inline-start:var(--size-4)}:where(.table) td.is-active{font-weight:700;color:var(--mvw-table-active-color);background:var(--mvw-table-active-bg-color)}:where(.table) td.has-avatar .avatar{--_width: var(--mvw-table-cell-portrait-size)}:where(.table) td[data-value="0"],:where(.table) td.is-zero{color:var(--mvw-text-faded)}:where(.table) td.is-possible-empty:empty:before{content:"0";color:var(--mvw-text-faded)}:where(.table) td.is-horizontal-content{display:inline-flex;align-items:center}:where(.table) td a[target=_blank]:after{content:"";position:absolute;left:100%;top:calc(50% - .4em)}:where(.table) td .is-logo-image{display:inline-block;vertical-align:middle;width:var(--mvw-table-cell-logo-size);height:var(--mvw-table-cell-logo-size);max-inline-size:fit-content}:where(.table) td .is-duplicated{color:var(--mvw-table-neutral-color)}:where(.table) td .is-team-name-long{display:inline-block}:where(.table) td .is-team-name-short{display:none}@container table-wrapper (max-width: 768px){:where(.table) td .is-team-name-long{display:none}:where(.table) td .is-team-name-short{display:inline-block}}:where(.table) caption{caption-side:bottom;color:var(--mvw-table-caption-color);font-size:var(--mvw-table-caption-font-size, .75rem);padding:var(--size-12) 0;text-align:start}:where(.table) tbody tr:focus-within,:where(.table) tbody tr:hover{color:var(--mvw-table-hover-color);background-color:var(--mvw-table-hover-bg-color)}:is(:where(.table) tbody tr:focus-within,:where(.table) tbody tr:hover) td.is-active{color:var(--mvw-table-active-hover-color);background-color:var(--mvw-table-active-hover-bg-color)}}', jl = "@layer components.variables{:where(:host){--mvw-tooltip-font-size: var(--font-size-200);--mvw-tooltip-color: light-dark(white, black);--mvw-tooltip-bg-color: light-dark(black, white);--mvw-floating-content-bg-color: light-dark(white, var(--mvw-color-primary-800))}}@layer components{:where(.floating-content).is-tooltip{background-color:var(--mvw-tooltip-bg-color);color:var(--mvw-tooltip-color);font-weight:700;padding:var(--size-4) var(--size-8);border-radius:var(--radius-2);font-size:var(--mvw-tooltip-font-size);white-space:nowrap;pointer-events:none}:where(.floating-content).is-tooltip .is-arrow{background-color:var(--mvw-tooltip-bg-color)}:where(.floating-content).is-content{background-color:var(--mvw-floating-content-bg-color);border-radius:var(--radius-2);box-shadow:var(--shadow-6)}:where(.floating-content).is-content .is-arrow{background-color:var(--mvw-floating-content-bg-color)}:where(.floating-content) .is-arrow{width:8px;height:8px;transform:rotate(45deg)}[data-placement^=top] :is(:where(.floating-content) .is-arrow){bottom:-4px;clip-path:polygon(80% 0,100% 0,100% 100%,0 100%,0 80%)}[data-placement^=bottom] :is(:where(.floating-content) .is-arrow){top:-4px;clip-path:polygon(100% 0,0 0,0 100%)}[data-placement^=left] :is(:where(.floating-content) .is-arrow){right:-4px;clip-path:polygon(100% 0,0 0,100% 100%)}[data-placement^=right] :is(:where(.floating-content) .is-arrow){left:-4px;clip-path:polygon(100% 0,0 0,0 100%)}.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)}}", Rl = "@layer components.variables{:where(:host){--mvw-list-item-font-size: var(--font-size-400);--mvw-list-item-color: light-dark(var(--mvw-color-primary-500), var(--mvw-color-primary-200));--mvw-list-item-hover-color: light-dark(var(--mvw-color-primary-800), var(--mvw-color-primary-50));--mvw-list-item-hover-bg-color: light-dark(var(--mvw-color-primary-50), var(--mvw-color-primary-900));--mvw-list-item-selected-color: light-dark(var(--mvw-color-secondary-700), var(--mvw-color-secondary-300))}}@layer components{:where(.list){list-style:none;margin:0;padding:var(--size-4)}@media (pointer: coarse){:where(.list),:where(.list) *{-webkit-user-select:none;user-select:none}}:where(.list) :where(li,option,[role=group]>label){align-items:center;display:flex;gap:var(--size-4);isolation:isolate;min-block-size:40px;position:relative}:where(.list) :where(li,option,[role=group]>label):before{display:none}:where(.list) :where(li,option,[role=group]>label) *{font-size:inherit}:where(.list) :where(li,option,[role=group]>label):has(>a,>button,>label){background:transparent;display:block;min-block-size:auto;padding:0}:where(.list) :where(li,option,[role=group]>label)>a,:where(.list) :where(li,option,[role=group]>label)>button,:where(.list) :where(li,option,[role=group]>label)>label{align-items:center;color:var(--mvw-list-item-color);cursor:pointer;display:flex;gap:var(--size-8);inline-size:100%;margin:0;outline-offset:-1px;font-size:var(--mvw-list-item-font-size);padding:var(--size-4) var(--size-6);text-align:start;text-decoration:none;border-radius:var(--radius-2);z-index:0}:is(:where(.list) :where(li,option,[role=group]>label)>a,:where(.list) :where(li,option,[role=group]>label)>button,:where(.list) :where(li,option,[role=group]>label)>label):focus,:is(:where(.list) :where(li,option,[role=group]>label)>a,:where(.list) :where(li,option,[role=group]>label)>button,:where(.list) :where(li,option,[role=group]>label)>label):focus-visible,:is(:where(.list) :where(li,option,[role=group]>label)>a,:where(.list) :where(li,option,[role=group]>label)>button,:where(.list) :where(li,option,[role=group]>label)>label):hover{color:var(--mvw-list-item-hover-color);background-color:var(--mvw-list-item-hover-bg-color)}:is(:where(.list) :where(li,option,[role=group]>label)>a,:where(.list) :where(li,option,[role=group]>label)>button,:where(.list) :where(li,option,[role=group]>label)>label)[aria-selected=true]{color:var(--mvw-list-item-selected-color)}:is(:where(.list) :where(li,option,[role=group]>label)>a,:where(.list) :where(li,option,[role=group]>label)>button,:where(.list) :where(li,option,[role=group]>label)>label) .text{flex:1;line-height:1.6}:is(:where(.list) :where(li,option,[role=group]>label)>a,:where(.list) :where(li,option,[role=group]>label)>button,:where(.list) :where(li,option,[role=group]>label)>label) .text :where(h1,h2,h3,h4,h5,h6,p,span){color:inherit;font-weight:400}:is(:where(.list) :where(li,option,[role=group]>label)>a,:where(.list) :where(li,option,[role=group]>label)>button,:where(.list) :where(li,option,[role=group]>label)>label) .text p+p{font-size:var(--font-size-100)}:is(:where(.list) :where(li,option,[role=group]>label)>a,:where(.list) :where(li,option,[role=group]>label)>button,:where(.list) :where(li,option,[role=group]>label)>label) .start{align-self:center;align-items:center;display:grid;z-index:1}:is(:where(.list) :where(li,option,[role=group]>label)>a,:where(.list) :where(li,option,[role=group]>label)>button,:where(.list) :where(li,option,[role=group]>label)>label) .start svg{inline-size:var(--mvw-list-item-font-size)}}", Gl = "@layer components{:where(.badge){--_bg-color: var(--mvw-bg-muted);--_color: var(--mvw-text-muted);padding:var(--size-2) var(--size-4);display:inline-flex;gap:var(--size-2);font-size:var(--font-size-100);font-weight:700;line-height:var(--font-lineheight-300);color:var(--_color);background-color:var(--_bg-color);border-radius:var(--radius-2)}:where(.badge) svg{fill:currentColor}:where(.badge).inverted{--_bg-color: var(--mvw-bg-inverted);--_color: var(--mvw-text-inverted)}:where(.badge).live{--_bg-color: var(--mvw-color-live);--_color: var(--mvw-color-white)}:where(.badge).error{--_bg-color: var(--mvw-color-error);--_color: var(--mvw-color-white)}:where(.badge).warning{--_bg-color: var(--mvw-color-warning);--_color: var(--mvw-color-white)}:where(.badge).xs{font-size:var(--font-size-50)}:where(.badge).lg{font-size:var(--font-size-300);padding:var(--size-4) var(--size-6)}:where(.badge)+:where(.badge){margin-inline-start:var(--size-4)}}", Yl = "@layer components{:where(.icon-button){--_hover-bg-color: color-mix(in oklab, light-dark(var(--mvw-color-black), var(--mvw-color-white)) 10%, transparent);align-items:center;aspect-ratio:1;background-color:transparent;border:0;border-radius:var(--radius-2);display:inline-flex;inline-size:var(--size-24);justify-content:center;padding:0}:where(.icon-button) svg{max-inline-size:var(--size-16);pointer-events:none}:where(.icon-button)[data-state=open],:where(.icon-button):hover{background-color:var(--_hover-bg-color)}:where(.icon-button).xs{border-radius:var(--radius-1)}}", Bl = "@layer components.variables{:where(:host){--mvw-color-error-notice-bg-color: color-mix(in oklab, var(--mvw-color-error) 10%, transparent);--mvw-color-error-notice-border-color: color-mix(in oklab, var(--mvw-color-error) 25%, transparent);--mvw-color-error-notice-color: var(--mvw-color-error)}}@layer components{:where(.error-notice){display:flex;align-items:center;justify-items:flex-start;gap:15px;margin:10px 0;padding:10px 20px;background-color:var(--mvw-color-error-notice-bg-color);color:var(--mvw-color-error-notice-color);border:1px solid var(--mvw-color-error-notice-border-color);border-radius:var(--radius-2)}:where(.error-notice) button{text-decoration:underline}}", Fl = { class: "standings-selector" }, Ul = { class: "standings-selector-title" }, Kl = {
|
|
3180
3180
|
__name: "StandingsSelector.ce",
|
|
3181
3181
|
props: {
|
|
3182
3182
|
locale: {
|
|
@@ -3193,23 +3193,23 @@ const zl = {
|
|
|
3193
3193
|
}
|
|
3194
3194
|
},
|
|
3195
3195
|
setup(e) {
|
|
3196
|
-
const t = e, o = { en: he, hu:
|
|
3196
|
+
const t = e, o = { en: he, hu: ge }, r = G(null), i = I(() => typeof t.data == "string" ? JSON.parse(t.data) : t.data);
|
|
3197
3197
|
return (c, m) => (u(), L(a(ue), {
|
|
3198
3198
|
locale: t.locale,
|
|
3199
3199
|
messages: o
|
|
3200
3200
|
}, {
|
|
3201
3201
|
default: E(() => [
|
|
3202
|
-
S(a(
|
|
3202
|
+
S(a(Ue), null, {
|
|
3203
3203
|
default: E(({ error: n, hasError: v }) => [
|
|
3204
3204
|
S(zl, { data: i.value }, {
|
|
3205
|
-
default: E(({ convertedRows: d, isLoading: s, path:
|
|
3206
|
-
l("div",
|
|
3207
|
-
l("div",
|
|
3208
|
-
(u(), L(_r(
|
|
3205
|
+
default: E(({ convertedRows: d, isLoading: s, path: g, phaseName: w, componentProps: p, championshipName: _, phaseId: y, isPlayoffs: C, onChange: z }) => [
|
|
3206
|
+
l("div", Fl, [
|
|
3207
|
+
l("div", Ul, [
|
|
3208
|
+
(u(), L(_r(p.tag), Et(p.props, { class: "is-title-text" }), {
|
|
3209
3209
|
default: E(() => [
|
|
3210
|
-
l("b", null,
|
|
3211
|
-
q(" - " +
|
|
3212
|
-
|
|
3210
|
+
l("b", null, b(_), 1),
|
|
3211
|
+
q(" - " + b(w) + " ", 1),
|
|
3212
|
+
g ? (u(), L(a(mt), { key: 0 })) : P("", !0)
|
|
3213
3213
|
]),
|
|
3214
3214
|
_: 2
|
|
3215
3215
|
}, 1040)),
|
|
@@ -3221,7 +3221,7 @@ const zl = {
|
|
|
3221
3221
|
onChange: z
|
|
3222
3222
|
}, null, 8, ["data", "selected", "target", "onChange"])) : P("", !0)
|
|
3223
3223
|
]),
|
|
3224
|
-
|
|
3224
|
+
C ? (u(), L(Ll, {
|
|
3225
3225
|
key: 0,
|
|
3226
3226
|
playoffs: d.rows,
|
|
3227
3227
|
"is-loading": s
|
|
@@ -3261,7 +3261,7 @@ const zl = {
|
|
|
3261
3261
|
_: 1
|
|
3262
3262
|
}, 8, ["locale"]));
|
|
3263
3263
|
}
|
|
3264
|
-
}, Vl = /* @__PURE__ */ we(Kl, [["styles", [
|
|
3264
|
+
}, Vl = /* @__PURE__ */ we(Kl, [["styles", [pe, Ml, Al, Ol, jl, Rl, Gl, Yl, Bl]]]), Hl = ve(vi), Wl = ve(ji), ql = ve(wl), Jl = ve(On), Ql = ve(Vl), Xl = ve(sn), Zl = ve(nl);
|
|
3265
3265
|
function es() {
|
|
3266
3266
|
customElements.define("mjsz-vbr-calendar", Hl), customElements.define("mjsz-vbr-championship", Wl), customElements.define("mjsz-vbr-schedule-cup", ql), customElements.define("mjsz-vbr-games-timeline", Jl), customElements.define("mjsz-vbr-standings-selector", Ql), customElements.define("mjsz-vbr-countdown", Xl), customElements.define("mjsz-vbr-recruitment-info", Zl);
|
|
3267
3267
|
}
|
|
@@ -3271,7 +3271,7 @@ const cs = {
|
|
|
3271
3271
|
export {
|
|
3272
3272
|
vi as Calendar,
|
|
3273
3273
|
Hl as CalendarCE,
|
|
3274
|
-
|
|
3274
|
+
ji as Championship,
|
|
3275
3275
|
Wl as ChampionshipCE,
|
|
3276
3276
|
sn as Countdown,
|
|
3277
3277
|
Xl as CountdownCE,
|