@mjsz-vbr-elements/extended 2.40.5 → 2.41.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 +1169 -1097
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* name: @mjsz-vbr-elements/extended
|
|
3
|
-
* version: v2.
|
|
3
|
+
* version: v2.41.0 - 14/02/2026, 07:52:37
|
|
4
4
|
* (c) 2026
|
|
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 ye, watch as
|
|
9
|
-
import { Image as
|
|
10
|
-
import { gameProps as
|
|
11
|
-
import { format as V, convert as
|
|
12
|
-
import { currentWeekStartEnd as ut, subtractDays as
|
|
13
|
-
import { useError as
|
|
14
|
-
import { COLUMNS_SCHEDULE as
|
|
15
|
-
import { SORT_STATE_DESCEND as
|
|
16
|
-
const
|
|
17
|
-
schedule:
|
|
18
|
-
registration:
|
|
19
|
-
selection:
|
|
20
|
-
report:
|
|
21
|
-
playoffs:
|
|
22
|
-
table:
|
|
23
|
-
calendar:
|
|
24
|
-
gamesTimeline:
|
|
25
|
-
countdown:
|
|
26
|
-
recruitmentInfo:
|
|
27
|
-
},
|
|
28
|
-
schedule:
|
|
29
|
-
registration:
|
|
30
|
-
selection:
|
|
31
|
-
report:
|
|
32
|
-
playoffs:
|
|
33
|
-
table:
|
|
34
|
-
calendar:
|
|
35
|
-
gamesTimeline:
|
|
36
|
-
countdown:
|
|
37
|
-
recruitmentInfo:
|
|
38
|
-
}, ve = "gamesPlayed", Se = "todaysGames", $e = "nextGames",
|
|
39
|
-
function
|
|
40
|
-
return t.value = { firstGame: e.firstGame, lastGame: e.lastGame },
|
|
41
|
-
}
|
|
42
|
-
const U = /* @__PURE__ */ new Date(),
|
|
8
|
+
import { shallowRef as H, isRef as ye, watch as W, shallowReadonly as St, ref as j, toValue as A, getCurrentScope as ur, onScopeDispose as hr, onMounted as Fe, nextTick as xe, readonly as $t, getCurrentInstance as lt, toRef as Ct, customRef as pr, reactive as ce, computed as I, unref as a, toRefs as gr, renderSlot as ke, normalizeProps as Ue, guardReactiveProps as Ke, createElementBlock as y, openBlock as u, createElementVNode as l, normalizeClass as oe, createTextVNode as q, toDisplayString as f, createCommentVNode as E, Fragment as B, createVNode as S, createBlock as D, withCtx as P, renderList as ee, withDirectives as Tt, vModelText as Nt, Transition as It, useTemplateRef as Et, provide as wr, useId as fr, inject as br, onUnmounted as yr, normalizeStyle as xr, triggerRef as kr, setBlockTracking as Pe, isMemoSame as _r, mergeProps as Pt, toHandlers as zr, resolveDynamicComponent as Sr, defineCustomElement as ue } from "vue";
|
|
9
|
+
import { Image as le, I18NProvider as he, ErrorProvider as Ve, ErrorNotice as Te, LoadingIndicator as qe, FetchMoreObserver as $r, FormField as _e, BaseSelect as rt, StatisticsTable as Dt, Paginator as Lt, AdditionalStandingsText as Oe, ResponsiveTable as Mt, DataTable as Cr, FloatingPanel as Tr } from "@mjsz-vbr-elements/core/components";
|
|
10
|
+
import { gameProps as Nr } from "@mjsz-vbr-elements/core/props";
|
|
11
|
+
import { format as V, convert as Ne, isBefore as Ir, head as te, isAfter as At, last as Er, offsetName as He, getLocalTimezone as We, externalGameLinkResolver as Je, filterAndSortSections as Ot, sortByPhaseId as Rt, WidgetError as jt, InvalidSeasonName as Re, convertSeasons as Gt, sortGames as Yt, convertPhaseName as Pr, rawConvert as Dr, playerName as Lr, teamName as Mr, scheduleOptionalRowClass as Ar, convertTimesMinToMinSec as Or, convertTimesSecToMin as Rr, externalPlayerLinkResolver as jr, externalTeamLinkResolver as Gr, isEmpty as ot, sortByDomNode as Yr, pick as Br, omit as Bt, selectFirstSectionId as Fr, path as Ft, pipe as Ur, sum as vt } from "@mjsz-vbr-elements/core/utils";
|
|
12
|
+
import { currentWeekStartEnd as ut, subtractDays as Ut, addDays as Kt, isBefore as st, isAfter as ct, startOfMonth as Xe, endOfMonth as Ze, rawConvert as Kr, convertGamePeriodResults as Vr, convertGameNames as qr, gameProps as Hr, COLUMNS_STANDINGS_SHORT as Wr } from "@mjsz-vbr-elements/core";
|
|
13
|
+
import { useError as Qe, useServices as re, useI18n as me, useSort as Jr, usePage as Vt, useLazyLoadingState as Qr, fetchVBRData as Xr, useVisibilityChange as Zr, useErrorProvider as eo, useColumns as to } from "@mjsz-vbr-elements/core/composables";
|
|
14
|
+
import { COLUMNS_SCHEDULE as qt, COLUMNS_STANDINGS_P_PER as ro, COLUMNS_STANDINGS_P_3 as oo, COLUMNS_FIELD_PLAYERS as De, COLUMNS_FIELD_PLAYERS_PENALTY as ao, COLUMNS_GOALIES as ht, COLUMNS_TEAMS_FAIRPLAY as io, COLUMNS_TEAMS_PENALTY_KILLING as no, COLUMNS_TEAMS_POWERPLAY as lo, COLUMNS_SCORING_EFFICIENCY as so } from "@mjsz-vbr-elements/core/columns";
|
|
15
|
+
import { SORT_STATE_DESCEND as J } from "@mjsz-vbr-elements/core/constants";
|
|
16
|
+
const co = "Schedule", mo = "Application form", vo = { 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):" }, uo = { 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" }, ho = { 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" }, po = { section: { short: "Section", tooltip: "Section" }, organizer: { short: "Organizer", tooltip: "Organizer Team" }, document: { short: "Document", tooltip: "Application Form/Schedule" } }, go = { gamesPlayed: "Games played", todaysGames: "Today's games", nextGames: "Next games", weekGames: "Games of the week", noGame: "No games can be displayed", more: "More" }, wo = { allSchedule: "Games Schedule", errorText: "Something went wrong!", errorCta: "Try Again", noGames: "No games can be displayed" }, fo = { days: "Days", hours: "Hours", minutes: "Minutes", seconds: "Seconds" }, bo = { 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" }, pe = {
|
|
17
|
+
schedule: co,
|
|
18
|
+
registration: mo,
|
|
19
|
+
selection: vo,
|
|
20
|
+
report: uo,
|
|
21
|
+
playoffs: ho,
|
|
22
|
+
table: po,
|
|
23
|
+
calendar: go,
|
|
24
|
+
gamesTimeline: wo,
|
|
25
|
+
countdown: fo,
|
|
26
|
+
recruitmentInfo: bo
|
|
27
|
+
}, yo = "Sorsolás", xo = "Jelentkezés", ko = { 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):" }, _o = { 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" }, zo = { 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ő" }, So = { section: { short: "Szakasz", tooltip: "Szakasz" }, organizer: { short: "Rendező", tooltip: "Rendező csapat" }, document: { short: "Dokumentum", tooltip: "Jelentkezés/Sorsolás" } }, $o = { 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" }, Co = { allSchedule: "Teljes menetrend", errorText: "Valami hiba történt!", errorCta: "Próbáld újra", noGames: "Nincs megjeleníthető mérkőzés" }, To = { days: "Nap", hours: "Óra", minutes: "Perc", seconds: "Másodperc" }, No = { 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: yo,
|
|
29
|
+
registration: xo,
|
|
30
|
+
selection: ko,
|
|
31
|
+
report: _o,
|
|
32
|
+
playoffs: zo,
|
|
33
|
+
table: So,
|
|
34
|
+
calendar: $o,
|
|
35
|
+
gamesTimeline: Co,
|
|
36
|
+
countdown: To,
|
|
37
|
+
recruitmentInfo: No
|
|
38
|
+
}, ve = "gamesPlayed", Se = "todaysGames", $e = "nextGames", je = "weekGames";
|
|
39
|
+
function Io(e, t) {
|
|
40
|
+
return t.value = { firstGame: e.firstGame, lastGame: e.lastGame }, Kr(e.games, Vr, qr);
|
|
41
|
+
}
|
|
42
|
+
const U = /* @__PURE__ */ new Date(), Le = (/* @__PURE__ */ new Map()).set(Se, () => ({ min: U, max: U, month: null, id: null })).set(je, () => ({
|
|
43
43
|
min: ut().startDate,
|
|
44
44
|
max: ut().endDate,
|
|
45
45
|
month: null,
|
|
@@ -58,27 +58,27 @@ const U = /* @__PURE__ */ new Date(), Pe = (/* @__PURE__ */ new Map()).set(Se, (
|
|
|
58
58
|
max: wt(new Date(t, o, 1)),
|
|
59
59
|
id: `${t}-${o}`
|
|
60
60
|
};
|
|
61
|
-
}),
|
|
62
|
-
function
|
|
61
|
+
}), Eo = (/* @__PURE__ */ new Map()).set(Se, () => []).set(ve, (e, t) => Po(Ut(U, 1), e, t)).set($e, (e, t) => Do(Kt(U, 1), e, t)).set(je, () => []);
|
|
62
|
+
function Po(e, t, o) {
|
|
63
63
|
return st(e, t) ? [] : ct(e, o) ? [t, o] : [t, e];
|
|
64
64
|
}
|
|
65
|
-
function
|
|
65
|
+
function Do(e, t, o) {
|
|
66
66
|
return st(e, t) ? [t, o] : ct(e, o) ? [] : [e, o];
|
|
67
67
|
}
|
|
68
|
-
function
|
|
68
|
+
function Lo(e, t, o, r = "hu") {
|
|
69
69
|
e = new Date(e), t = new Date(t);
|
|
70
|
-
const i = [],
|
|
71
|
-
for (;
|
|
72
|
-
const n =
|
|
73
|
-
m(n),
|
|
70
|
+
const i = [], s = e;
|
|
71
|
+
for (; s.getTime() <= t.getTime(); ) {
|
|
72
|
+
const n = s.toLocaleString(r, { month: "short" });
|
|
73
|
+
m(n), s.setDate(1), s.setMonth(s.getMonth() + 1);
|
|
74
74
|
}
|
|
75
|
-
if (
|
|
75
|
+
if (s.getMonth() === t.getMonth()) {
|
|
76
76
|
const n = t.toLocaleString(r, { month: "short" });
|
|
77
77
|
m(n);
|
|
78
78
|
}
|
|
79
79
|
function m(n) {
|
|
80
|
-
i.findIndex((
|
|
81
|
-
id: `${
|
|
80
|
+
i.findIndex((d) => d.name === n) === -1 && i.push({
|
|
81
|
+
id: `${s.getFullYear()}-${s.getMonth()}`,
|
|
82
82
|
name: n
|
|
83
83
|
});
|
|
84
84
|
}
|
|
@@ -93,120 +93,120 @@ function pt(e) {
|
|
|
93
93
|
function gt(e, t) {
|
|
94
94
|
if (t)
|
|
95
95
|
return Xe(e);
|
|
96
|
-
const o =
|
|
96
|
+
const o = Kt(U, 1);
|
|
97
97
|
return st(Xe(e), o) ? o : Xe(e);
|
|
98
98
|
}
|
|
99
99
|
function wt(e, t = !1) {
|
|
100
100
|
if (t) {
|
|
101
|
-
const o =
|
|
101
|
+
const o = Ut(U, 1);
|
|
102
102
|
return ct(Ze(e), o) ? o : Ze(e);
|
|
103
103
|
}
|
|
104
104
|
return Ze(e);
|
|
105
105
|
}
|
|
106
|
-
function
|
|
107
|
-
return
|
|
106
|
+
function Ce(e) {
|
|
107
|
+
return ur() ? (hr(e), !0) : !1;
|
|
108
108
|
}
|
|
109
109
|
const at = typeof window < "u" && typeof document < "u";
|
|
110
110
|
typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
|
|
111
|
-
const
|
|
111
|
+
const Mo = (e) => typeof e < "u", Ao = (e) => e != null, Oo = Object.prototype.toString, Ro = (e) => Oo.call(e) === "[object Object]", K = () => {
|
|
112
112
|
};
|
|
113
|
-
function
|
|
113
|
+
function jo(...e) {
|
|
114
114
|
if (e.length !== 1)
|
|
115
115
|
return Ct(...e);
|
|
116
116
|
const t = e[0];
|
|
117
|
-
return typeof t == "function" ? $t(
|
|
117
|
+
return typeof t == "function" ? $t(pr(() => ({ get: t, set: K }))) : j(t);
|
|
118
118
|
}
|
|
119
119
|
function mt(e, t) {
|
|
120
120
|
function o(...r) {
|
|
121
|
-
return new Promise((i,
|
|
122
|
-
Promise.resolve(e(() => t.apply(this, r), { fn: t, thisArg: this, args: r })).then(i).catch(
|
|
121
|
+
return new Promise((i, s) => {
|
|
122
|
+
Promise.resolve(e(() => t.apply(this, r), { fn: t, thisArg: this, args: r })).then(i).catch(s);
|
|
123
123
|
});
|
|
124
124
|
}
|
|
125
125
|
return o;
|
|
126
126
|
}
|
|
127
127
|
const Ht = (e) => e();
|
|
128
|
-
function
|
|
128
|
+
function Go(e, t = {}) {
|
|
129
129
|
let o, r, i = K;
|
|
130
|
-
const
|
|
131
|
-
clearTimeout(
|
|
130
|
+
const s = (d) => {
|
|
131
|
+
clearTimeout(d), i(), i = K;
|
|
132
132
|
};
|
|
133
133
|
let m;
|
|
134
|
-
return (
|
|
135
|
-
const
|
|
136
|
-
return o &&
|
|
137
|
-
i = t.rejectOnCancel ? w :
|
|
138
|
-
o &&
|
|
139
|
-
},
|
|
140
|
-
r &&
|
|
141
|
-
},
|
|
134
|
+
return (d) => {
|
|
135
|
+
const v = A(e), c = A(t.maxWait);
|
|
136
|
+
return o && s(o), v <= 0 || c !== void 0 && c <= 0 ? (r && (s(r), r = void 0), Promise.resolve(d())) : new Promise((h, w) => {
|
|
137
|
+
i = t.rejectOnCancel ? w : h, m = d, c && !r && (r = setTimeout(() => {
|
|
138
|
+
o && s(o), r = void 0, h(m());
|
|
139
|
+
}, c)), o = setTimeout(() => {
|
|
140
|
+
r && s(r), r = void 0, h(d());
|
|
141
|
+
}, v);
|
|
142
142
|
});
|
|
143
143
|
};
|
|
144
144
|
}
|
|
145
|
-
function
|
|
146
|
-
let t = 0, o, r = !0, i = K,
|
|
147
|
-
!ye(e[0]) && typeof e[0] == "object" ? { delay: m, trailing: n = !0, leading:
|
|
148
|
-
const
|
|
145
|
+
function Yo(...e) {
|
|
146
|
+
let t = 0, o, r = !0, i = K, s, m, n, d, v;
|
|
147
|
+
!ye(e[0]) && typeof e[0] == "object" ? { delay: m, trailing: n = !0, leading: d = !0, rejectOnCancel: v = !1 } = e[0] : [m, n = !0, d = !0, v = !1] = e;
|
|
148
|
+
const c = () => {
|
|
149
149
|
o && (clearTimeout(o), o = void 0, i(), i = K);
|
|
150
150
|
};
|
|
151
151
|
return (w) => {
|
|
152
|
-
const g = A(m), _ = Date.now() - t,
|
|
153
|
-
return
|
|
154
|
-
i =
|
|
155
|
-
t = Date.now(), r = !0, C(
|
|
152
|
+
const g = A(m), _ = Date.now() - t, x = () => s = w();
|
|
153
|
+
return c(), g <= 0 ? (t = Date.now(), x()) : (_ > g && (d || !r) ? (t = Date.now(), x()) : n && (s = new Promise((C, z) => {
|
|
154
|
+
i = v ? z : C, o = setTimeout(() => {
|
|
155
|
+
t = Date.now(), r = !0, C(x()), c();
|
|
156
156
|
}, Math.max(0, g - _));
|
|
157
|
-
})), !
|
|
157
|
+
})), !d && !o && (o = setTimeout(() => r = !0, g)), r = !1, s);
|
|
158
158
|
};
|
|
159
159
|
}
|
|
160
|
-
function
|
|
160
|
+
function Bo(e = Ht, t = {}) {
|
|
161
161
|
const {
|
|
162
162
|
initialState: o = "active"
|
|
163
|
-
} = t, r =
|
|
163
|
+
} = t, r = jo(o === "active");
|
|
164
164
|
function i() {
|
|
165
165
|
r.value = !1;
|
|
166
166
|
}
|
|
167
|
-
function
|
|
167
|
+
function s() {
|
|
168
168
|
r.value = !0;
|
|
169
169
|
}
|
|
170
170
|
const m = (...n) => {
|
|
171
171
|
r.value && e(...n);
|
|
172
172
|
};
|
|
173
|
-
return { isActive: $t(r), pause: i, resume:
|
|
173
|
+
return { isActive: $t(r), pause: i, resume: s, eventFilter: m };
|
|
174
174
|
}
|
|
175
175
|
function it(e, t = !1, o = "Timeout") {
|
|
176
176
|
return new Promise((r, i) => {
|
|
177
177
|
setTimeout(t ? () => i(o) : r, e);
|
|
178
178
|
});
|
|
179
179
|
}
|
|
180
|
-
function
|
|
180
|
+
function Me(e) {
|
|
181
181
|
return Array.isArray(e) ? e : [e];
|
|
182
182
|
}
|
|
183
|
-
function
|
|
183
|
+
function Fo(e) {
|
|
184
184
|
return lt();
|
|
185
185
|
}
|
|
186
186
|
function Wt(e, t = 200, o = {}) {
|
|
187
187
|
return mt(
|
|
188
|
-
|
|
188
|
+
Go(t, o),
|
|
189
189
|
e
|
|
190
190
|
);
|
|
191
191
|
}
|
|
192
|
-
function
|
|
193
|
-
const r =
|
|
192
|
+
function Uo(e, t = 200, o = {}) {
|
|
193
|
+
const r = j(A(e)), i = Wt(() => {
|
|
194
194
|
r.value = e.value;
|
|
195
195
|
}, t, o);
|
|
196
|
-
return
|
|
196
|
+
return W(e, () => i()), St(r);
|
|
197
197
|
}
|
|
198
|
-
function
|
|
198
|
+
function Ko(e, t = 200, o = !1, r = !0, i = !1) {
|
|
199
199
|
return mt(
|
|
200
|
-
|
|
200
|
+
Yo(t, o, r, i),
|
|
201
201
|
e
|
|
202
202
|
);
|
|
203
203
|
}
|
|
204
|
-
function
|
|
204
|
+
function Vo(e, t, o = {}) {
|
|
205
205
|
const {
|
|
206
206
|
eventFilter: r = Ht,
|
|
207
207
|
...i
|
|
208
208
|
} = o;
|
|
209
|
-
return
|
|
209
|
+
return W(
|
|
210
210
|
e,
|
|
211
211
|
mt(
|
|
212
212
|
r,
|
|
@@ -215,32 +215,32 @@ function Fo(e, t, o = {}) {
|
|
|
215
215
|
i
|
|
216
216
|
);
|
|
217
217
|
}
|
|
218
|
-
function
|
|
218
|
+
function qo(e, t, o = {}) {
|
|
219
219
|
const {
|
|
220
220
|
eventFilter: r,
|
|
221
221
|
initialState: i = "active",
|
|
222
|
-
...
|
|
223
|
-
} = o, { eventFilter: m, pause: n, resume:
|
|
224
|
-
return { stop:
|
|
222
|
+
...s
|
|
223
|
+
} = o, { eventFilter: m, pause: n, resume: d, isActive: v } = Bo(r, { initialState: i });
|
|
224
|
+
return { stop: Vo(
|
|
225
225
|
e,
|
|
226
226
|
t,
|
|
227
227
|
{
|
|
228
|
-
...
|
|
228
|
+
...s,
|
|
229
229
|
eventFilter: m
|
|
230
230
|
}
|
|
231
|
-
), pause: n, resume:
|
|
231
|
+
), pause: n, resume: d, isActive: v };
|
|
232
232
|
}
|
|
233
|
-
function
|
|
234
|
-
|
|
233
|
+
function Ho(e, t = !0, o) {
|
|
234
|
+
Fo() ? Fe(e, o) : t ? e() : xe(e);
|
|
235
235
|
}
|
|
236
236
|
function nt(e, t = !1) {
|
|
237
|
-
function o(
|
|
237
|
+
function o(h, { flush: w = "sync", deep: g = !1, timeout: _, throwOnTimeout: x } = {}) {
|
|
238
238
|
let C = null;
|
|
239
|
-
const T = [new Promise((
|
|
240
|
-
C =
|
|
239
|
+
const T = [new Promise((b) => {
|
|
240
|
+
C = W(
|
|
241
241
|
e,
|
|
242
|
-
(
|
|
243
|
-
p
|
|
242
|
+
(p) => {
|
|
243
|
+
h(p) !== t && (C ? C() : xe(() => C?.()), b(p));
|
|
244
244
|
},
|
|
245
245
|
{
|
|
246
246
|
flush: w,
|
|
@@ -250,19 +250,19 @@ function nt(e, t = !1) {
|
|
|
250
250
|
);
|
|
251
251
|
})];
|
|
252
252
|
return _ != null && T.push(
|
|
253
|
-
it(_,
|
|
253
|
+
it(_, x).then(() => A(e)).finally(() => C?.())
|
|
254
254
|
), Promise.race(T);
|
|
255
255
|
}
|
|
256
|
-
function r(
|
|
257
|
-
if (!ye(
|
|
258
|
-
return o((
|
|
259
|
-
const { flush: g = "sync", deep: _ = !1, timeout:
|
|
256
|
+
function r(h, w) {
|
|
257
|
+
if (!ye(h))
|
|
258
|
+
return o((p) => p === h, w);
|
|
259
|
+
const { flush: g = "sync", deep: _ = !1, timeout: x, throwOnTimeout: C } = w ?? {};
|
|
260
260
|
let z = null;
|
|
261
|
-
const
|
|
262
|
-
z =
|
|
263
|
-
[e,
|
|
261
|
+
const b = [new Promise((p) => {
|
|
262
|
+
z = W(
|
|
263
|
+
[e, h],
|
|
264
264
|
([k, $]) => {
|
|
265
|
-
t !== (k === $) && (z ? z() :
|
|
265
|
+
t !== (k === $) && (z ? z() : xe(() => z?.()), p(k));
|
|
266
266
|
},
|
|
267
267
|
{
|
|
268
268
|
flush: g,
|
|
@@ -271,40 +271,40 @@ function nt(e, t = !1) {
|
|
|
271
271
|
}
|
|
272
272
|
);
|
|
273
273
|
})];
|
|
274
|
-
return
|
|
275
|
-
it(
|
|
276
|
-
), Promise.race(
|
|
274
|
+
return x != null && b.push(
|
|
275
|
+
it(x, C).then(() => A(e)).finally(() => (z?.(), A(e)))
|
|
276
|
+
), Promise.race(b);
|
|
277
277
|
}
|
|
278
|
-
function i(
|
|
279
|
-
return o((w) => !!w,
|
|
278
|
+
function i(h) {
|
|
279
|
+
return o((w) => !!w, h);
|
|
280
280
|
}
|
|
281
|
-
function
|
|
282
|
-
return r(null,
|
|
281
|
+
function s(h) {
|
|
282
|
+
return r(null, h);
|
|
283
283
|
}
|
|
284
|
-
function m(
|
|
285
|
-
return r(void 0,
|
|
284
|
+
function m(h) {
|
|
285
|
+
return r(void 0, h);
|
|
286
286
|
}
|
|
287
|
-
function n(
|
|
288
|
-
return o(Number.isNaN,
|
|
287
|
+
function n(h) {
|
|
288
|
+
return o(Number.isNaN, h);
|
|
289
289
|
}
|
|
290
|
-
function
|
|
290
|
+
function d(h, w) {
|
|
291
291
|
return o((g) => {
|
|
292
292
|
const _ = Array.from(g);
|
|
293
|
-
return _.includes(
|
|
293
|
+
return _.includes(h) || _.includes(A(h));
|
|
294
294
|
}, w);
|
|
295
295
|
}
|
|
296
|
-
function
|
|
297
|
-
return
|
|
296
|
+
function v(h) {
|
|
297
|
+
return c(1, h);
|
|
298
298
|
}
|
|
299
|
-
function
|
|
299
|
+
function c(h = 1, w) {
|
|
300
300
|
let g = -1;
|
|
301
|
-
return o(() => (g += 1, g >=
|
|
301
|
+
return o(() => (g += 1, g >= h), w);
|
|
302
302
|
}
|
|
303
303
|
return Array.isArray(A(e)) ? {
|
|
304
304
|
toMatch: o,
|
|
305
|
-
toContains:
|
|
306
|
-
changed:
|
|
307
|
-
changedTimes:
|
|
305
|
+
toContains: d,
|
|
306
|
+
changed: v,
|
|
307
|
+
changedTimes: c,
|
|
308
308
|
get not() {
|
|
309
309
|
return nt(e, !t);
|
|
310
310
|
}
|
|
@@ -312,50 +312,50 @@ function nt(e, t = !1) {
|
|
|
312
312
|
toMatch: o,
|
|
313
313
|
toBe: r,
|
|
314
314
|
toBeTruthy: i,
|
|
315
|
-
toBeNull:
|
|
315
|
+
toBeNull: s,
|
|
316
316
|
toBeNaN: n,
|
|
317
317
|
toBeUndefined: m,
|
|
318
|
-
changed:
|
|
319
|
-
changedTimes:
|
|
318
|
+
changed: v,
|
|
319
|
+
changedTimes: c,
|
|
320
320
|
get not() {
|
|
321
321
|
return nt(e, !t);
|
|
322
322
|
}
|
|
323
323
|
};
|
|
324
324
|
}
|
|
325
|
-
function
|
|
325
|
+
function Wo(e) {
|
|
326
326
|
return nt(e);
|
|
327
327
|
}
|
|
328
|
-
function
|
|
328
|
+
function Ge(e, t = 1e3, o = {}) {
|
|
329
329
|
const {
|
|
330
330
|
immediate: r = !0,
|
|
331
331
|
immediateCallback: i = !1
|
|
332
332
|
} = o;
|
|
333
|
-
let
|
|
333
|
+
let s = null;
|
|
334
334
|
const m = H(!1);
|
|
335
335
|
function n() {
|
|
336
|
-
|
|
336
|
+
s && (clearInterval(s), s = null);
|
|
337
337
|
}
|
|
338
|
-
function
|
|
338
|
+
function d() {
|
|
339
339
|
m.value = !1, n();
|
|
340
340
|
}
|
|
341
|
-
function
|
|
342
|
-
const
|
|
343
|
-
|
|
341
|
+
function v() {
|
|
342
|
+
const c = A(t);
|
|
343
|
+
c <= 0 || (m.value = !0, i && e(), n(), m.value && (s = setInterval(e, c)));
|
|
344
344
|
}
|
|
345
|
-
if (r && at &&
|
|
346
|
-
const
|
|
347
|
-
m.value && at &&
|
|
345
|
+
if (r && at && v(), ye(t) || typeof t == "function") {
|
|
346
|
+
const c = W(t, () => {
|
|
347
|
+
m.value && at && v();
|
|
348
348
|
});
|
|
349
|
-
|
|
349
|
+
Ce(c);
|
|
350
350
|
}
|
|
351
|
-
return
|
|
351
|
+
return Ce(d), {
|
|
352
352
|
isActive: St(m),
|
|
353
|
-
pause:
|
|
354
|
-
resume:
|
|
353
|
+
pause: d,
|
|
354
|
+
resume: v
|
|
355
355
|
};
|
|
356
356
|
}
|
|
357
|
-
function
|
|
358
|
-
return
|
|
357
|
+
function Jo(e, t, o) {
|
|
358
|
+
return W(
|
|
359
359
|
e,
|
|
360
360
|
t,
|
|
361
361
|
{
|
|
@@ -364,151 +364,151 @@ function Ho(e, t, o) {
|
|
|
364
364
|
}
|
|
365
365
|
);
|
|
366
366
|
}
|
|
367
|
-
const
|
|
368
|
-
function
|
|
367
|
+
const Ie = at ? window : void 0;
|
|
368
|
+
function ne(e) {
|
|
369
369
|
var t;
|
|
370
370
|
const o = A(e);
|
|
371
371
|
return (t = o?.$el) != null ? t : o;
|
|
372
372
|
}
|
|
373
|
-
function
|
|
373
|
+
function Ye(...e) {
|
|
374
374
|
const t = [], o = () => {
|
|
375
375
|
t.forEach((n) => n()), t.length = 0;
|
|
376
|
-
}, r = (n,
|
|
377
|
-
const n =
|
|
378
|
-
return n.every((
|
|
379
|
-
}),
|
|
376
|
+
}, r = (n, d, v, c) => (n.addEventListener(d, v, c), () => n.removeEventListener(d, v, c)), i = I(() => {
|
|
377
|
+
const n = Me(A(e[0])).filter((d) => d != null);
|
|
378
|
+
return n.every((d) => typeof d != "string") ? n : void 0;
|
|
379
|
+
}), s = Jo(
|
|
380
380
|
() => {
|
|
381
|
-
var n,
|
|
381
|
+
var n, d;
|
|
382
382
|
return [
|
|
383
|
-
(
|
|
384
|
-
|
|
385
|
-
|
|
383
|
+
(d = (n = i.value) == null ? void 0 : n.map((v) => ne(v))) != null ? d : [Ie].filter((v) => v != null),
|
|
384
|
+
Me(A(i.value ? e[1] : e[0])),
|
|
385
|
+
Me(a(i.value ? e[2] : e[1])),
|
|
386
386
|
// @ts-expect-error - TypeScript gets the correct types, but somehow still complains
|
|
387
387
|
A(i.value ? e[3] : e[2])
|
|
388
388
|
];
|
|
389
389
|
},
|
|
390
|
-
([n,
|
|
391
|
-
if (o(), !n?.length || !
|
|
390
|
+
([n, d, v, c]) => {
|
|
391
|
+
if (o(), !n?.length || !d?.length || !v?.length)
|
|
392
392
|
return;
|
|
393
|
-
const
|
|
393
|
+
const h = Ro(c) ? { ...c } : c;
|
|
394
394
|
t.push(
|
|
395
395
|
...n.flatMap(
|
|
396
|
-
(w) =>
|
|
397
|
-
(g) =>
|
|
396
|
+
(w) => d.flatMap(
|
|
397
|
+
(g) => v.map((_) => r(w, g, _, h))
|
|
398
398
|
)
|
|
399
399
|
)
|
|
400
400
|
);
|
|
401
401
|
},
|
|
402
402
|
{ flush: "post" }
|
|
403
403
|
), m = () => {
|
|
404
|
-
|
|
404
|
+
s(), o();
|
|
405
405
|
};
|
|
406
|
-
return
|
|
406
|
+
return Ce(o), m;
|
|
407
407
|
}
|
|
408
|
-
function
|
|
408
|
+
function Qo() {
|
|
409
409
|
const e = H(!1), t = lt();
|
|
410
|
-
return t &&
|
|
410
|
+
return t && Fe(() => {
|
|
411
411
|
e.value = !0;
|
|
412
412
|
}, t), e;
|
|
413
413
|
}
|
|
414
|
-
function
|
|
415
|
-
const t =
|
|
414
|
+
function Jt(e) {
|
|
415
|
+
const t = Qo();
|
|
416
416
|
return I(() => (t.value, !!e()));
|
|
417
417
|
}
|
|
418
|
-
function
|
|
419
|
-
const { window: r =
|
|
420
|
-
let
|
|
421
|
-
const m =
|
|
422
|
-
|
|
423
|
-
},
|
|
424
|
-
const w = A(e), g =
|
|
418
|
+
function Xo(e, t, o = {}) {
|
|
419
|
+
const { window: r = Ie, ...i } = o;
|
|
420
|
+
let s;
|
|
421
|
+
const m = Jt(() => r && "MutationObserver" in r), n = () => {
|
|
422
|
+
s && (s.disconnect(), s = void 0);
|
|
423
|
+
}, d = I(() => {
|
|
424
|
+
const w = A(e), g = Me(w).map(ne).filter(Ao);
|
|
425
425
|
return new Set(g);
|
|
426
|
-
}),
|
|
427
|
-
() =>
|
|
426
|
+
}), v = W(
|
|
427
|
+
() => d.value,
|
|
428
428
|
(w) => {
|
|
429
|
-
n(), m.value && w.size && (
|
|
429
|
+
n(), m.value && w.size && (s = new MutationObserver(t), w.forEach((g) => s.observe(g, i)));
|
|
430
430
|
},
|
|
431
431
|
{ immediate: !0, flush: "post" }
|
|
432
|
-
),
|
|
433
|
-
|
|
432
|
+
), c = () => s?.takeRecords(), h = () => {
|
|
433
|
+
v(), n();
|
|
434
434
|
};
|
|
435
|
-
return
|
|
435
|
+
return Ce(h), {
|
|
436
436
|
isSupported: m,
|
|
437
|
-
stop:
|
|
438
|
-
takeRecords:
|
|
437
|
+
stop: h,
|
|
438
|
+
takeRecords: c
|
|
439
439
|
};
|
|
440
440
|
}
|
|
441
|
-
function
|
|
441
|
+
function Be(e, t) {
|
|
442
442
|
const {
|
|
443
443
|
interrupt: o = !0,
|
|
444
444
|
onError: r = K,
|
|
445
445
|
onFinished: i = K,
|
|
446
|
-
signal:
|
|
446
|
+
signal: s
|
|
447
447
|
} = {}, m = {
|
|
448
448
|
aborted: "aborted",
|
|
449
449
|
fulfilled: "fulfilled",
|
|
450
450
|
pending: "pending",
|
|
451
451
|
rejected: "rejected"
|
|
452
|
-
}, n = Array.from(Array.from({ length: e.length }), () => ({ state: m.pending, data: null })),
|
|
452
|
+
}, n = Array.from(Array.from({ length: e.length }), () => ({ state: m.pending, data: null })), d = ce(n), v = H(-1);
|
|
453
453
|
if (!e || e.length === 0)
|
|
454
454
|
return i(), {
|
|
455
|
-
activeIndex:
|
|
456
|
-
result:
|
|
455
|
+
activeIndex: v,
|
|
456
|
+
result: d
|
|
457
457
|
};
|
|
458
|
-
function
|
|
459
|
-
|
|
458
|
+
function c(h, w) {
|
|
459
|
+
v.value++, d[v.value].data = w, d[v.value].state = h;
|
|
460
460
|
}
|
|
461
|
-
return e.reduce((
|
|
461
|
+
return e.reduce((h, w) => h.then((g) => {
|
|
462
462
|
var _;
|
|
463
|
-
if (
|
|
464
|
-
|
|
463
|
+
if (s?.aborted) {
|
|
464
|
+
c(m.aborted, new Error("aborted"));
|
|
465
465
|
return;
|
|
466
466
|
}
|
|
467
|
-
if (((_ = v
|
|
467
|
+
if (((_ = d[v.value]) == null ? void 0 : _.state) === m.rejected && o) {
|
|
468
468
|
i();
|
|
469
469
|
return;
|
|
470
470
|
}
|
|
471
|
-
const
|
|
472
|
-
return
|
|
473
|
-
}).catch((g) =>
|
|
474
|
-
activeIndex:
|
|
475
|
-
result:
|
|
471
|
+
const x = w(g).then((C) => (c(m.fulfilled, C), v.value === e.length - 1 && i(), C));
|
|
472
|
+
return s ? Promise.race([x, Zo(s)]) : x;
|
|
473
|
+
}).catch((g) => s?.aborted ? (c(m.aborted, g), g) : (c(m.rejected, g), r(), g)), Promise.resolve()), {
|
|
474
|
+
activeIndex: v,
|
|
475
|
+
result: d
|
|
476
476
|
};
|
|
477
477
|
}
|
|
478
|
-
function
|
|
478
|
+
function Zo(e) {
|
|
479
479
|
return new Promise((t, o) => {
|
|
480
480
|
const r = new Error("aborted");
|
|
481
481
|
e.aborted ? o(r) : e.addEventListener("abort", () => o(r), { once: !0 });
|
|
482
482
|
});
|
|
483
483
|
}
|
|
484
|
-
function
|
|
484
|
+
function ea(e, t, o) {
|
|
485
485
|
const {
|
|
486
486
|
immediate: r = !0,
|
|
487
487
|
delay: i = 0,
|
|
488
|
-
onError:
|
|
488
|
+
onError: s = K,
|
|
489
489
|
onSuccess: m = K,
|
|
490
490
|
resetOnExecute: n = !0,
|
|
491
|
-
shallow:
|
|
492
|
-
throwError:
|
|
493
|
-
} = o ?? {},
|
|
491
|
+
shallow: d = !0,
|
|
492
|
+
throwError: v
|
|
493
|
+
} = o ?? {}, c = d ? H(t) : j(t), h = H(!1), w = H(!1), g = H(void 0);
|
|
494
494
|
async function _(z = 0, ...T) {
|
|
495
|
-
n && (
|
|
496
|
-
const
|
|
495
|
+
n && (c.value = t), g.value = void 0, h.value = !1, w.value = !0, z > 0 && await it(z);
|
|
496
|
+
const b = typeof e == "function" ? e(...T) : e;
|
|
497
497
|
try {
|
|
498
|
-
const
|
|
499
|
-
|
|
500
|
-
} catch (
|
|
501
|
-
if (g.value =
|
|
502
|
-
throw
|
|
498
|
+
const p = await b;
|
|
499
|
+
c.value = p, h.value = !0, m(p);
|
|
500
|
+
} catch (p) {
|
|
501
|
+
if (g.value = p, s(p), v)
|
|
502
|
+
throw p;
|
|
503
503
|
} finally {
|
|
504
504
|
w.value = !1;
|
|
505
505
|
}
|
|
506
|
-
return
|
|
506
|
+
return c.value;
|
|
507
507
|
}
|
|
508
508
|
r && _(i);
|
|
509
|
-
const
|
|
510
|
-
state:
|
|
511
|
-
isReady:
|
|
509
|
+
const x = {
|
|
510
|
+
state: c,
|
|
511
|
+
isReady: h,
|
|
512
512
|
isLoading: w,
|
|
513
513
|
error: g,
|
|
514
514
|
execute: _,
|
|
@@ -516,26 +516,52 @@ function Xo(e, t, o) {
|
|
|
516
516
|
};
|
|
517
517
|
function C() {
|
|
518
518
|
return new Promise((z, T) => {
|
|
519
|
-
|
|
519
|
+
Wo(w).toBe(!1).then(() => z(x)).catch(T);
|
|
520
520
|
});
|
|
521
521
|
}
|
|
522
522
|
return {
|
|
523
|
-
...
|
|
523
|
+
...x,
|
|
524
524
|
then(z, T) {
|
|
525
525
|
return C().then(z, T);
|
|
526
526
|
}
|
|
527
527
|
};
|
|
528
528
|
}
|
|
529
|
-
function
|
|
529
|
+
function ta(e) {
|
|
530
530
|
return JSON.parse(JSON.stringify(e));
|
|
531
531
|
}
|
|
532
|
-
|
|
533
|
-
|
|
532
|
+
function ra(e, t, o = {}) {
|
|
533
|
+
const { window: r = Ie, ...i } = o;
|
|
534
|
+
let s;
|
|
535
|
+
const m = Jt(() => r && "ResizeObserver" in r), n = () => {
|
|
536
|
+
s && (s.disconnect(), s = void 0);
|
|
537
|
+
}, d = I(() => {
|
|
538
|
+
const h = A(e);
|
|
539
|
+
return Array.isArray(h) ? h.map((w) => ne(w)) : [ne(h)];
|
|
540
|
+
}), v = W(
|
|
541
|
+
d,
|
|
542
|
+
(h) => {
|
|
543
|
+
if (n(), m.value && r) {
|
|
544
|
+
s = new ResizeObserver(t);
|
|
545
|
+
for (const w of h)
|
|
546
|
+
w && s.observe(w, i);
|
|
547
|
+
}
|
|
548
|
+
},
|
|
549
|
+
{ immediate: !0, flush: "post" }
|
|
550
|
+
), c = () => {
|
|
551
|
+
n(), v();
|
|
552
|
+
};
|
|
553
|
+
return Ce(c), {
|
|
554
|
+
isSupported: m,
|
|
555
|
+
stop: c
|
|
556
|
+
};
|
|
557
|
+
}
|
|
558
|
+
const ft = 1;
|
|
559
|
+
function oa(e, t = {}) {
|
|
534
560
|
const {
|
|
535
561
|
throttle: o = 0,
|
|
536
562
|
idle: r = 200,
|
|
537
563
|
onStop: i = K,
|
|
538
|
-
onScroll:
|
|
564
|
+
onScroll: s = K,
|
|
539
565
|
offset: m = {
|
|
540
566
|
left: 0,
|
|
541
567
|
right: 0,
|
|
@@ -545,18 +571,18 @@ function ea(e, t = {}) {
|
|
|
545
571
|
observe: n = {
|
|
546
572
|
mutation: !1
|
|
547
573
|
},
|
|
548
|
-
eventListenerOptions:
|
|
574
|
+
eventListenerOptions: d = {
|
|
549
575
|
capture: !1,
|
|
550
576
|
passive: !0
|
|
551
577
|
},
|
|
552
|
-
behavior:
|
|
553
|
-
window:
|
|
554
|
-
onError:
|
|
578
|
+
behavior: v = "auto",
|
|
579
|
+
window: c = Ie,
|
|
580
|
+
onError: h = (N) => {
|
|
555
581
|
console.error(N);
|
|
556
582
|
}
|
|
557
583
|
} = t, w = typeof n == "boolean" ? {
|
|
558
584
|
mutation: n
|
|
559
|
-
} : n, g = H(0), _ = H(0),
|
|
585
|
+
} : n, g = H(0), _ = H(0), x = I({
|
|
560
586
|
get() {
|
|
561
587
|
return g.value;
|
|
562
588
|
},
|
|
@@ -571,67 +597,67 @@ function ea(e, t = {}) {
|
|
|
571
597
|
z(void 0, N);
|
|
572
598
|
}
|
|
573
599
|
});
|
|
574
|
-
function z(N,
|
|
575
|
-
var R, ae, Q,
|
|
576
|
-
if (!
|
|
600
|
+
function z(N, G) {
|
|
601
|
+
var R, ae, Q, se;
|
|
602
|
+
if (!c)
|
|
577
603
|
return;
|
|
578
604
|
const F = A(e);
|
|
579
605
|
if (!F)
|
|
580
606
|
return;
|
|
581
|
-
(Q = F instanceof Document ?
|
|
582
|
-
top: (R = A(
|
|
583
|
-
left: (ae = A(N)) != null ? ae :
|
|
584
|
-
behavior: A(
|
|
607
|
+
(Q = F instanceof Document ? c.document.body : F) == null || Q.scrollTo({
|
|
608
|
+
top: (R = A(G)) != null ? R : C.value,
|
|
609
|
+
left: (ae = A(N)) != null ? ae : x.value,
|
|
610
|
+
behavior: A(v)
|
|
585
611
|
});
|
|
586
|
-
const X = ((
|
|
587
|
-
|
|
612
|
+
const X = ((se = F?.document) == null ? void 0 : se.documentElement) || F?.documentElement || F;
|
|
613
|
+
x != null && (g.value = X.scrollLeft), C != null && (_.value = X.scrollTop);
|
|
588
614
|
}
|
|
589
|
-
const T = H(!1),
|
|
615
|
+
const T = H(!1), b = ce({
|
|
590
616
|
left: !0,
|
|
591
617
|
right: !1,
|
|
592
618
|
top: !0,
|
|
593
619
|
bottom: !1
|
|
594
|
-
}),
|
|
620
|
+
}), p = ce({
|
|
595
621
|
left: !1,
|
|
596
622
|
right: !1,
|
|
597
623
|
top: !1,
|
|
598
624
|
bottom: !1
|
|
599
625
|
}), k = (N) => {
|
|
600
|
-
T.value && (T.value = !1,
|
|
626
|
+
T.value && (T.value = !1, p.left = !1, p.right = !1, p.top = !1, p.bottom = !1, i(N));
|
|
601
627
|
}, $ = Wt(k, o + r), M = (N) => {
|
|
602
|
-
var
|
|
603
|
-
if (!
|
|
628
|
+
var G;
|
|
629
|
+
if (!c)
|
|
604
630
|
return;
|
|
605
|
-
const R = ((
|
|
606
|
-
|
|
607
|
-
const
|
|
608
|
-
ae === "flex" && Q === "row-reverse" ? (
|
|
631
|
+
const R = ((G = N?.document) == null ? void 0 : G.documentElement) || N?.documentElement || ne(N), { display: ae, flexDirection: Q, direction: se } = getComputedStyle(R), F = se === "rtl" ? -1 : 1, X = R.scrollLeft;
|
|
632
|
+
p.left = X < g.value, p.right = X > g.value;
|
|
633
|
+
const L = Math.abs(X * F) <= (m.left || 0), Y = Math.abs(X * F) + R.clientWidth >= R.scrollWidth - (m.right || 0) - ft;
|
|
634
|
+
ae === "flex" && Q === "row-reverse" ? (b.left = Y, b.right = L) : (b.left = L, b.right = Y), g.value = X;
|
|
609
635
|
let ie = R.scrollTop;
|
|
610
|
-
N ===
|
|
611
|
-
const
|
|
612
|
-
ae === "flex" && Q === "column-reverse" ? (
|
|
636
|
+
N === c.document && !ie && (ie = c.document.body.scrollTop), p.top = ie < _.value, p.bottom = ie > _.value;
|
|
637
|
+
const Ee = Math.abs(ie) <= (m.top || 0), be = Math.abs(ie) + R.clientHeight >= R.scrollHeight - (m.bottom || 0) - ft;
|
|
638
|
+
ae === "flex" && Q === "column-reverse" ? (b.top = be, b.bottom = Ee) : (b.top = Ee, b.bottom = be), _.value = ie;
|
|
613
639
|
}, O = (N) => {
|
|
614
|
-
var
|
|
615
|
-
if (!
|
|
640
|
+
var G;
|
|
641
|
+
if (!c)
|
|
616
642
|
return;
|
|
617
|
-
const R = (
|
|
618
|
-
M(R), T.value = !0, $(N),
|
|
643
|
+
const R = (G = N.target.documentElement) != null ? G : N.target;
|
|
644
|
+
M(R), T.value = !0, $(N), s(N);
|
|
619
645
|
};
|
|
620
|
-
return
|
|
646
|
+
return Ye(
|
|
621
647
|
e,
|
|
622
648
|
"scroll",
|
|
623
|
-
o ?
|
|
624
|
-
|
|
625
|
-
),
|
|
649
|
+
o ? Ko(O, o, !0, !1) : O,
|
|
650
|
+
d
|
|
651
|
+
), Ho(() => {
|
|
626
652
|
try {
|
|
627
653
|
const N = A(e);
|
|
628
654
|
if (!N)
|
|
629
655
|
return;
|
|
630
656
|
M(N);
|
|
631
657
|
} catch (N) {
|
|
632
|
-
|
|
658
|
+
h(N);
|
|
633
659
|
}
|
|
634
|
-
}), w?.mutation && e != null && e !==
|
|
660
|
+
}), w?.mutation && e != null && e !== c && e !== document && Xo(
|
|
635
661
|
e,
|
|
636
662
|
() => {
|
|
637
663
|
const N = A(e);
|
|
@@ -642,47 +668,47 @@ function ea(e, t = {}) {
|
|
|
642
668
|
childList: !0,
|
|
643
669
|
subtree: !0
|
|
644
670
|
}
|
|
645
|
-
),
|
|
671
|
+
), Ye(
|
|
646
672
|
e,
|
|
647
673
|
"scrollend",
|
|
648
674
|
k,
|
|
649
|
-
|
|
675
|
+
d
|
|
650
676
|
), {
|
|
651
|
-
x
|
|
677
|
+
x,
|
|
652
678
|
y: C,
|
|
653
679
|
isScrolling: T,
|
|
654
|
-
arrivedState:
|
|
655
|
-
directions:
|
|
680
|
+
arrivedState: b,
|
|
681
|
+
directions: p,
|
|
656
682
|
measure() {
|
|
657
683
|
const N = A(e);
|
|
658
|
-
|
|
684
|
+
c && N && M(N);
|
|
659
685
|
}
|
|
660
686
|
};
|
|
661
687
|
}
|
|
662
|
-
function
|
|
688
|
+
function Qt(e = "history", t = {}) {
|
|
663
689
|
const {
|
|
664
690
|
initialValue: o = {},
|
|
665
691
|
removeNullishValues: r = !0,
|
|
666
692
|
removeFalsyValues: i = !1,
|
|
667
|
-
write:
|
|
693
|
+
write: s = !0,
|
|
668
694
|
writeMode: m = "replace",
|
|
669
|
-
window: n =
|
|
670
|
-
stringify:
|
|
695
|
+
window: n = Ie,
|
|
696
|
+
stringify: d = (p) => p.toString()
|
|
671
697
|
} = t;
|
|
672
698
|
if (!n)
|
|
673
|
-
return
|
|
674
|
-
const
|
|
675
|
-
function
|
|
699
|
+
return ce(o);
|
|
700
|
+
const v = ce({});
|
|
701
|
+
function c() {
|
|
676
702
|
if (e === "history")
|
|
677
703
|
return n.location.search || "";
|
|
678
704
|
if (e === "hash") {
|
|
679
|
-
const
|
|
680
|
-
return k > 0 ?
|
|
705
|
+
const p = n.location.hash || "", k = p.indexOf("?");
|
|
706
|
+
return k > 0 ? p.slice(k) : "";
|
|
681
707
|
} else
|
|
682
708
|
return (n.location.hash || "").replace(/^#/, "");
|
|
683
709
|
}
|
|
684
|
-
function p
|
|
685
|
-
const k =
|
|
710
|
+
function h(p) {
|
|
711
|
+
const k = d(p);
|
|
686
712
|
if (e === "history")
|
|
687
713
|
return `${k ? `?${k}` : ""}${n.location.hash || ""}`;
|
|
688
714
|
if (e === "hash-params")
|
|
@@ -691,90 +717,90 @@ function qt(e = "history", t = {}) {
|
|
|
691
717
|
return M > 0 ? `${n.location.search || ""}${$.slice(0, M)}${k ? `?${k}` : ""}` : `${n.location.search || ""}${$}${k ? `?${k}` : ""}`;
|
|
692
718
|
}
|
|
693
719
|
function w() {
|
|
694
|
-
return new URLSearchParams(
|
|
720
|
+
return new URLSearchParams(c());
|
|
695
721
|
}
|
|
696
|
-
function g(
|
|
697
|
-
const k = new Set(Object.keys(
|
|
698
|
-
for (const $ of
|
|
699
|
-
const M =
|
|
700
|
-
|
|
722
|
+
function g(p) {
|
|
723
|
+
const k = new Set(Object.keys(v));
|
|
724
|
+
for (const $ of p.keys()) {
|
|
725
|
+
const M = p.getAll($);
|
|
726
|
+
v[$] = M.length > 1 ? M : p.get($) || "", k.delete($);
|
|
701
727
|
}
|
|
702
|
-
Array.from(k).forEach(($) => delete
|
|
728
|
+
Array.from(k).forEach(($) => delete v[$]);
|
|
703
729
|
}
|
|
704
|
-
const { pause: _, resume:
|
|
705
|
-
|
|
730
|
+
const { pause: _, resume: x } = qo(
|
|
731
|
+
v,
|
|
706
732
|
() => {
|
|
707
|
-
const
|
|
708
|
-
Object.keys(
|
|
709
|
-
const $ =
|
|
710
|
-
Array.isArray($) ? $.forEach((M) =>
|
|
711
|
-
}), C(
|
|
733
|
+
const p = new URLSearchParams("");
|
|
734
|
+
Object.keys(v).forEach((k) => {
|
|
735
|
+
const $ = v[k];
|
|
736
|
+
Array.isArray($) ? $.forEach((M) => p.append(k, M)) : r && $ == null || i && !$ ? p.delete(k) : p.set(k, $);
|
|
737
|
+
}), C(p, !1);
|
|
712
738
|
},
|
|
713
739
|
{ deep: !0 }
|
|
714
740
|
);
|
|
715
|
-
function C(
|
|
716
|
-
_(), k && g(
|
|
741
|
+
function C(p, k) {
|
|
742
|
+
_(), k && g(p), m === "replace" ? n.history.replaceState(
|
|
717
743
|
n.history.state,
|
|
718
744
|
n.document.title,
|
|
719
|
-
n.location.pathname + p
|
|
745
|
+
n.location.pathname + h(p)
|
|
720
746
|
) : n.history.pushState(
|
|
721
747
|
n.history.state,
|
|
722
748
|
n.document.title,
|
|
723
|
-
n.location.pathname + p
|
|
724
|
-
),
|
|
749
|
+
n.location.pathname + h(p)
|
|
750
|
+
), x();
|
|
725
751
|
}
|
|
726
752
|
function z() {
|
|
727
|
-
|
|
753
|
+
s && C(w(), !0);
|
|
728
754
|
}
|
|
729
755
|
const T = { passive: !0 };
|
|
730
|
-
|
|
731
|
-
const
|
|
732
|
-
return
|
|
756
|
+
Ye(n, "popstate", z, T), e !== "history" && Ye(n, "hashchange", z, T);
|
|
757
|
+
const b = w();
|
|
758
|
+
return b.keys().next().value ? g(b) : Object.assign(v, o), v;
|
|
733
759
|
}
|
|
734
|
-
function
|
|
735
|
-
var i,
|
|
760
|
+
function aa(e, t, o, r = {}) {
|
|
761
|
+
var i, s, m;
|
|
736
762
|
const {
|
|
737
763
|
clone: n = !1,
|
|
738
|
-
passive:
|
|
739
|
-
eventName:
|
|
740
|
-
deep:
|
|
741
|
-
defaultValue:
|
|
764
|
+
passive: d = !1,
|
|
765
|
+
eventName: v,
|
|
766
|
+
deep: c = !1,
|
|
767
|
+
defaultValue: h,
|
|
742
768
|
shouldEmit: w
|
|
743
|
-
} = r, g = lt(), _ = o || g?.emit || ((i = g?.$emit) == null ? void 0 : i.bind(g)) || ((m = (
|
|
744
|
-
let
|
|
745
|
-
t || (t = "modelValue"),
|
|
746
|
-
const C = (
|
|
747
|
-
w ? w(
|
|
769
|
+
} = r, g = lt(), _ = o || g?.emit || ((i = g?.$emit) == null ? void 0 : i.bind(g)) || ((m = (s = g?.proxy) == null ? void 0 : s.$emit) == null ? void 0 : m.bind(g?.proxy));
|
|
770
|
+
let x = v;
|
|
771
|
+
t || (t = "modelValue"), x = x || `update:${t.toString()}`;
|
|
772
|
+
const C = (b) => n ? typeof n == "function" ? n(b) : ta(b) : b, z = () => Mo(e[t]) ? C(e[t]) : h, T = (b) => {
|
|
773
|
+
w ? w(b) && _(x, b) : _(x, b);
|
|
748
774
|
};
|
|
749
|
-
if (
|
|
750
|
-
const
|
|
775
|
+
if (d) {
|
|
776
|
+
const b = z(), p = j(b);
|
|
751
777
|
let k = !1;
|
|
752
|
-
return
|
|
778
|
+
return W(
|
|
753
779
|
() => e[t],
|
|
754
780
|
($) => {
|
|
755
|
-
k || (k = !0,
|
|
781
|
+
k || (k = !0, p.value = C($), xe(() => k = !1));
|
|
756
782
|
}
|
|
757
|
-
),
|
|
758
|
-
|
|
783
|
+
), W(
|
|
784
|
+
p,
|
|
759
785
|
($) => {
|
|
760
|
-
!k && ($ !== e[t] ||
|
|
786
|
+
!k && ($ !== e[t] || c) && T($);
|
|
761
787
|
},
|
|
762
|
-
{ deep:
|
|
763
|
-
),
|
|
788
|
+
{ deep: c }
|
|
789
|
+
), p;
|
|
764
790
|
} else
|
|
765
791
|
return I({
|
|
766
792
|
get() {
|
|
767
793
|
return z();
|
|
768
794
|
},
|
|
769
|
-
set(
|
|
770
|
-
T(
|
|
795
|
+
set(b) {
|
|
796
|
+
T(b);
|
|
771
797
|
}
|
|
772
798
|
});
|
|
773
799
|
}
|
|
774
|
-
function
|
|
800
|
+
function ia(e, t, o = {}) {
|
|
775
801
|
const r = {};
|
|
776
802
|
for (const i in e)
|
|
777
|
-
r[i] =
|
|
803
|
+
r[i] = aa(
|
|
778
804
|
e,
|
|
779
805
|
i,
|
|
780
806
|
t,
|
|
@@ -782,7 +808,7 @@ function ra(e, t, o = {}) {
|
|
|
782
808
|
);
|
|
783
809
|
return r;
|
|
784
810
|
}
|
|
785
|
-
const
|
|
811
|
+
const bt = 20, na = {
|
|
786
812
|
__name: "DataProvider",
|
|
787
813
|
props: {
|
|
788
814
|
locale: {
|
|
@@ -803,14 +829,14 @@ const ft = 20, oa = {
|
|
|
803
829
|
}
|
|
804
830
|
},
|
|
805
831
|
setup(e) {
|
|
806
|
-
const t = e, { timezone: o, locale: r } =
|
|
832
|
+
const t = e, { timezone: o, locale: r } = gr(t), { onError: i } = Qe(), s = Qt("history"), m = j(s.panel || Se), n = j(null), d = j(0), v = H({
|
|
807
833
|
firstGame: U,
|
|
808
834
|
lastGame: U
|
|
809
|
-
}),
|
|
835
|
+
}), c = H({
|
|
810
836
|
min: V(U, "YYYY-MM-DD"),
|
|
811
837
|
max: V(U, "YYYY-MM-DD")
|
|
812
838
|
}), {
|
|
813
|
-
state:
|
|
839
|
+
state: h,
|
|
814
840
|
isLoading: w,
|
|
815
841
|
execute: g
|
|
816
842
|
} = re({
|
|
@@ -819,63 +845,63 @@ const ft = 20, oa = {
|
|
|
819
845
|
apiKey: t.apiKey,
|
|
820
846
|
params: I(() => ({
|
|
821
847
|
seasonId: t.seasonId,
|
|
822
|
-
firstDate:
|
|
823
|
-
lastDate:
|
|
848
|
+
firstDate: c.value.min,
|
|
849
|
+
lastDate: c.value.max
|
|
824
850
|
})),
|
|
825
851
|
resetOnExecute: !0
|
|
826
852
|
},
|
|
827
|
-
transform: (
|
|
853
|
+
transform: (p) => Io(p, v),
|
|
828
854
|
onError: i
|
|
829
855
|
}), _ = I(
|
|
830
|
-
() =>
|
|
831
|
-
),
|
|
832
|
-
() =>
|
|
833
|
-
...
|
|
856
|
+
() => Ne(h.value).reverse(m.value === ve).schedule(o.value, r.value).more(0, d.value * bt + bt).groupByDays().value()
|
|
857
|
+
), x = I(
|
|
858
|
+
() => Lo(
|
|
859
|
+
...Eo.get(m.value)(v.value.firstGame, v.value.lastGame),
|
|
834
860
|
m.value === ve,
|
|
835
861
|
r.value
|
|
836
862
|
)
|
|
837
863
|
);
|
|
838
|
-
|
|
864
|
+
W(
|
|
839
865
|
m,
|
|
840
|
-
async (
|
|
841
|
-
const { min: k, max: $, id: M } =
|
|
842
|
-
|
|
866
|
+
async (p) => {
|
|
867
|
+
const { min: k, max: $, id: M } = Le.get(p)(s.month);
|
|
868
|
+
c.value = { min: V(k, "YYYY-MM-DD"), max: V($, "YYYY-MM-DD") }, n.value = M, await g(), s.month || b();
|
|
843
869
|
},
|
|
844
870
|
{
|
|
845
871
|
immediate: !0
|
|
846
872
|
}
|
|
847
873
|
);
|
|
848
|
-
function C(
|
|
849
|
-
m.value =
|
|
874
|
+
function C(p) {
|
|
875
|
+
m.value = p, s.panel = p, d.value = 0, s.month = null;
|
|
850
876
|
}
|
|
851
|
-
function z(
|
|
852
|
-
const { min: k, max: $, id: M } =
|
|
853
|
-
n.value = M,
|
|
877
|
+
function z(p) {
|
|
878
|
+
const { min: k, max: $, id: M } = Le.get(m.value)(p.id);
|
|
879
|
+
n.value = M, s.month = M, c.value = {
|
|
854
880
|
min: V(k, "YYYY-MM-DD"),
|
|
855
881
|
max: V($, "YYYY-MM-DD")
|
|
856
|
-
},
|
|
882
|
+
}, d.value = 0, g();
|
|
857
883
|
}
|
|
858
884
|
function T() {
|
|
859
|
-
|
|
885
|
+
d.value += 1;
|
|
860
886
|
}
|
|
861
|
-
function
|
|
887
|
+
function b() {
|
|
862
888
|
if (![ve, $e].includes(m.value))
|
|
863
889
|
return;
|
|
864
|
-
const { firstGame:
|
|
865
|
-
if (
|
|
866
|
-
const { min: $, max: M, id: O } =
|
|
867
|
-
return
|
|
890
|
+
const { firstGame: p, lastGame: k } = v.value;
|
|
891
|
+
if (Ir(U, p)) {
|
|
892
|
+
const { min: $, max: M, id: O } = Le.get(m.value)(te(x.value)?.id);
|
|
893
|
+
return c.value = { min: V($, "YYYY-MM-DD"), max: V(M, "YYYY-MM-DD") }, n.value = O, g();
|
|
868
894
|
}
|
|
869
|
-
if (
|
|
870
|
-
const { min: $, max: M, id: O } =
|
|
871
|
-
|
|
895
|
+
if (At(U, k)) {
|
|
896
|
+
const { min: $, max: M, id: O } = Le.get(m.value)(Er(x.value)?.id);
|
|
897
|
+
c.value = { min: V($, "YYYY-MM-DD"), max: V(M, "YYYY-MM-DD") }, n.value = O, g();
|
|
872
898
|
}
|
|
873
899
|
}
|
|
874
|
-
return (
|
|
900
|
+
return (p, k) => ke(p.$slots, "default", Ue(Ke({
|
|
875
901
|
today: a(U),
|
|
876
|
-
months:
|
|
902
|
+
months: x.value,
|
|
877
903
|
isLoading: a(w),
|
|
878
|
-
datesFilter:
|
|
904
|
+
datesFilter: c.value,
|
|
879
905
|
selectedMonth: n.value,
|
|
880
906
|
selectedPanel: m.value,
|
|
881
907
|
games: _.value,
|
|
@@ -884,7 +910,7 @@ const ft = 20, oa = {
|
|
|
884
910
|
changePanel: C
|
|
885
911
|
})));
|
|
886
912
|
}
|
|
887
|
-
},
|
|
913
|
+
}, la = {
|
|
888
914
|
xmlns: "http://www.w3.org/2000/svg",
|
|
889
915
|
viewBox: "0 0 24 24",
|
|
890
916
|
fill: "none",
|
|
@@ -893,8 +919,8 @@ const ft = 20, oa = {
|
|
|
893
919
|
"stroke-linecap": "round",
|
|
894
920
|
"stroke-linejoin": "round"
|
|
895
921
|
};
|
|
896
|
-
function
|
|
897
|
-
return u(),
|
|
922
|
+
function Xt(e, t) {
|
|
923
|
+
return u(), y("svg", la, [...t[0] || (t[0] = [
|
|
898
924
|
l("rect", {
|
|
899
925
|
x: "2",
|
|
900
926
|
y: "3",
|
|
@@ -917,27 +943,27 @@ function Jt(e, t) {
|
|
|
917
943
|
}, null, -1)
|
|
918
944
|
])]);
|
|
919
945
|
}
|
|
920
|
-
const
|
|
946
|
+
const sa = { render: Xt }, ca = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
921
947
|
__proto__: null,
|
|
922
|
-
default:
|
|
923
|
-
render:
|
|
924
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
948
|
+
default: sa,
|
|
949
|
+
render: Xt
|
|
950
|
+
}, Symbol.toStringTag, { value: "Module" })), ma = {
|
|
925
951
|
xmlns: "http://www.w3.org/2000/svg",
|
|
926
952
|
viewBox: "0 0 24 24"
|
|
927
953
|
};
|
|
928
|
-
function
|
|
929
|
-
return u(),
|
|
954
|
+
function Zt(e, t) {
|
|
955
|
+
return u(), y("svg", ma, [...t[0] || (t[0] = [
|
|
930
956
|
l("path", {
|
|
931
957
|
fill: "currentColor",
|
|
932
958
|
d: "M18 19H6a1 1 0 0 1-1-1V6a1 1 0 0 1 1-1h5c.55 0 1-.45 1-1s-.45-1-1-1H5a2 2 0 0 0-2 2v14c0 1.1.9 2 2 2h14a2 2 0 0 0 2-2v-6c0-.55-.45-1-1-1s-1 .45-1 1v5a1 1 0 0 1-1 1M14 4a1 1 0 0 0 1 1h2.59l-9.13 9.13a1 1 0 1 0 1.41 1.41L19 6.41V9c0 .55.45 1 1 1s1-.45 1-1V3h-6a1 1 0 0 0-1 1"
|
|
933
959
|
}, null, -1)
|
|
934
960
|
])]);
|
|
935
961
|
}
|
|
936
|
-
const
|
|
962
|
+
const da = { render: Zt }, va = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
937
963
|
__proto__: null,
|
|
938
|
-
default:
|
|
939
|
-
render:
|
|
940
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
964
|
+
default: da,
|
|
965
|
+
render: Zt
|
|
966
|
+
}, Symbol.toStringTag, { value: "Module" })), ua = {
|
|
941
967
|
xmlns: "http://www.w3.org/2000/svg",
|
|
942
968
|
viewBox: "0 0 24 24",
|
|
943
969
|
fill: "none",
|
|
@@ -946,32 +972,32 @@ const sa = { render: Qt }, ca = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Ob
|
|
|
946
972
|
"stroke-linecap": "round",
|
|
947
973
|
"stroke-linejoin": "round"
|
|
948
974
|
};
|
|
949
|
-
function
|
|
950
|
-
return u(),
|
|
975
|
+
function er(e, t) {
|
|
976
|
+
return u(), y("svg", ua, [...t[0] || (t[0] = [
|
|
951
977
|
l("polyline", { points: "15 18 9 12 15 6" }, null, -1)
|
|
952
978
|
])]);
|
|
953
979
|
}
|
|
954
|
-
const
|
|
980
|
+
const ha = { render: er }, pa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
955
981
|
__proto__: null,
|
|
956
|
-
default:
|
|
957
|
-
render:
|
|
958
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
982
|
+
default: ha,
|
|
983
|
+
render: er
|
|
984
|
+
}, Symbol.toStringTag, { value: "Module" })), ga = {
|
|
959
985
|
xmlns: "http://www.w3.org/2000/svg",
|
|
960
986
|
viewBox: "0 0 24 24"
|
|
961
987
|
};
|
|
962
|
-
function
|
|
963
|
-
return u(),
|
|
988
|
+
function tr(e, t) {
|
|
989
|
+
return u(), y("svg", ga, [...t[0] || (t[0] = [
|
|
964
990
|
l("path", {
|
|
965
991
|
fill: "currentColor",
|
|
966
992
|
d: "M3 18h18v-2H3zm0-5h18v-2H3zm0-7v2h18V6z"
|
|
967
993
|
}, null, -1)
|
|
968
994
|
])]);
|
|
969
995
|
}
|
|
970
|
-
const
|
|
996
|
+
const wa = { render: tr }, fa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
971
997
|
__proto__: null,
|
|
972
|
-
default:
|
|
973
|
-
render:
|
|
974
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
998
|
+
default: wa,
|
|
999
|
+
render: tr
|
|
1000
|
+
}, Symbol.toStringTag, { value: "Module" })), ba = {
|
|
975
1001
|
xmlns: "http://www.w3.org/2000/svg",
|
|
976
1002
|
viewBox: "0 0 24 24",
|
|
977
1003
|
fill: "none",
|
|
@@ -980,16 +1006,16 @@ const ha = { render: Zt }, pa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Ob
|
|
|
980
1006
|
"stroke-linecap": "round",
|
|
981
1007
|
"stroke-linejoin": "round"
|
|
982
1008
|
};
|
|
983
|
-
function
|
|
984
|
-
return u(),
|
|
1009
|
+
function rr(e, t) {
|
|
1010
|
+
return u(), y("svg", ba, [...t[0] || (t[0] = [
|
|
985
1011
|
l("polyline", { points: "9 18 15 12 9 6" }, null, -1)
|
|
986
1012
|
])]);
|
|
987
1013
|
}
|
|
988
|
-
const
|
|
1014
|
+
const ya = { render: rr }, dt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
989
1015
|
__proto__: null,
|
|
990
|
-
default:
|
|
991
|
-
render:
|
|
992
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
1016
|
+
default: ya,
|
|
1017
|
+
render: rr
|
|
1018
|
+
}, Symbol.toStringTag, { value: "Module" })), xa = {
|
|
993
1019
|
xmlns: "http://www.w3.org/2000/svg",
|
|
994
1020
|
viewBox: "0 0 24 24",
|
|
995
1021
|
fill: "none",
|
|
@@ -998,8 +1024,8 @@ const wa = { render: er }, dt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Ob
|
|
|
998
1024
|
"stroke-linecap": "round",
|
|
999
1025
|
"stroke-linejoin": "round"
|
|
1000
1026
|
};
|
|
1001
|
-
function
|
|
1002
|
-
return u(),
|
|
1027
|
+
function or(e, t) {
|
|
1028
|
+
return u(), y("svg", xa, [...t[0] || (t[0] = [
|
|
1003
1029
|
l("path", { d: "M10.29 3.86L1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0z" }, null, -1),
|
|
1004
1030
|
l("line", {
|
|
1005
1031
|
x1: "12",
|
|
@@ -1015,11 +1041,11 @@ function tr(e, t) {
|
|
|
1015
1041
|
}, null, -1)
|
|
1016
1042
|
])]);
|
|
1017
1043
|
}
|
|
1018
|
-
const
|
|
1044
|
+
const ka = { render: or }, _a = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1019
1045
|
__proto__: null,
|
|
1020
|
-
default:
|
|
1021
|
-
render:
|
|
1022
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
1046
|
+
default: ka,
|
|
1047
|
+
render: or
|
|
1048
|
+
}, Symbol.toStringTag, { value: "Module" })), za = {
|
|
1023
1049
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1024
1050
|
viewBox: "0 0 24 24",
|
|
1025
1051
|
fill: "none",
|
|
@@ -1028,47 +1054,47 @@ const fa = { render: tr }, ya = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Ob
|
|
|
1028
1054
|
"stroke-linecap": "round",
|
|
1029
1055
|
"stroke-linejoin": "round"
|
|
1030
1056
|
};
|
|
1031
|
-
function
|
|
1032
|
-
return u(),
|
|
1057
|
+
function ar(e, t) {
|
|
1058
|
+
return u(), y("svg", za, [...t[0] || (t[0] = [
|
|
1033
1059
|
l("path", { d: "M22.54 6.42a2.78 2.78 0 0 0-1.94-2C18.88 4 12 4 12 4s-6.88 0-8.6.46a2.78 2.78 0 0 0-1.94 2A29 29 0 0 0 1 11.75a29 29 0 0 0 .46 5.33A2.78 2.78 0 0 0 3.4 19c1.72.46 8.6.46 8.6.46s6.88 0 8.6-.46a2.78 2.78 0 0 0 1.94-2 29 29 0 0 0 .46-5.25 29 29 0 0 0-.46-5.33z" }, null, -1),
|
|
1034
1060
|
l("polygon", { points: "9.75 15.02 15.5 11.75 9.75 8.48 9.75 15.02" }, null, -1)
|
|
1035
1061
|
])]);
|
|
1036
1062
|
}
|
|
1037
|
-
const
|
|
1063
|
+
const Sa = { render: ar }, $a = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1038
1064
|
__proto__: null,
|
|
1039
|
-
default:
|
|
1040
|
-
render:
|
|
1041
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
1065
|
+
default: Sa,
|
|
1066
|
+
render: ar
|
|
1067
|
+
}, Symbol.toStringTag, { value: "Module" })), Ca = {
|
|
1042
1068
|
class: "text-muted text-sm text-center",
|
|
1043
1069
|
style: { "grid-area": "name" }
|
|
1044
|
-
},
|
|
1070
|
+
}, Ta = ["href"], Na = ["href"], Ia = {
|
|
1045
1071
|
class: "text-muted text-sm text-center",
|
|
1046
1072
|
style: { "grid-area": "date" }
|
|
1047
|
-
},
|
|
1073
|
+
}, Ea = {
|
|
1048
1074
|
class: "responsive-team-name",
|
|
1049
1075
|
style: { "grid-area": "home-team" }
|
|
1050
|
-
},
|
|
1076
|
+
}, Pa = { class: "text-end text-highlighted font-bold" }, Da = { class: "team-name-short" }, La = { class: "team-name-long" }, Ma = { style: { "grid-area": "home-team-logo" } }, Aa = {
|
|
1051
1077
|
class: "text-center",
|
|
1052
1078
|
style: { "grid-area": "game-data" }
|
|
1053
|
-
},
|
|
1079
|
+
}, Oa = {
|
|
1054
1080
|
key: 0,
|
|
1055
1081
|
class: "text-xl font-bold text-highlighted"
|
|
1056
|
-
},
|
|
1082
|
+
}, Ra = ["href", "target"], ja = {
|
|
1057
1083
|
key: 0,
|
|
1058
1084
|
class: "text-xl font-bold"
|
|
1059
|
-
},
|
|
1085
|
+
}, Ga = {
|
|
1060
1086
|
key: 1,
|
|
1061
1087
|
class: "text-xl font-bold"
|
|
1062
|
-
},
|
|
1088
|
+
}, Ya = {
|
|
1063
1089
|
key: 2,
|
|
1064
1090
|
class: "text-xl font-bold"
|
|
1065
|
-
},
|
|
1091
|
+
}, Ba = {
|
|
1066
1092
|
key: 1,
|
|
1067
1093
|
class: "text-sm text-muted is-whitespace-nowrap"
|
|
1068
|
-
},
|
|
1094
|
+
}, Fa = { style: { "grid-area": "away-team-logo" } }, Ua = {
|
|
1069
1095
|
class: "responsive-team-name",
|
|
1070
1096
|
style: { "grid-area": "away-team" }
|
|
1071
|
-
},
|
|
1097
|
+
}, Ka = { class: "text-highlighted font-bold" }, Va = { key: 0 }, qa = { class: "team-name-short" }, Ha = { class: "team-name-long" }, Wa = {
|
|
1072
1098
|
__name: "Item",
|
|
1073
1099
|
props: {
|
|
1074
1100
|
game: {
|
|
@@ -1093,81 +1119,84 @@ const ka = { render: rr }, _a = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Ob
|
|
|
1093
1119
|
}
|
|
1094
1120
|
},
|
|
1095
1121
|
setup(e) {
|
|
1096
|
-
const { t } =
|
|
1097
|
-
return (o, r) => (u(),
|
|
1122
|
+
const { t } = me();
|
|
1123
|
+
return (o, r) => (u(), y("div", {
|
|
1098
1124
|
class: oe(["card-item", { "is-optional": e.game.optional }])
|
|
1099
1125
|
}, [
|
|
1100
|
-
l("div",
|
|
1126
|
+
l("div", Ca, [
|
|
1101
1127
|
l("a", {
|
|
1102
1128
|
href: e.gameLink(e.game)
|
|
1103
|
-
},
|
|
1104
|
-
q(" - " +
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
|
|
1129
|
+
}, f(e.game.gameName), 9, Ta),
|
|
1130
|
+
q(" - " + f(e.game.gameNames) + " ", 1),
|
|
1131
|
+
l("div", null, [
|
|
1132
|
+
q(f(e.game.location.locationName) + " ", 1),
|
|
1133
|
+
e.game.broadcast ? (u(), y(B, { key: 0 }, [
|
|
1134
|
+
r[0] || (r[0] = q(" - ", -1)),
|
|
1135
|
+
S(a(ca), { height: "16" }),
|
|
1136
|
+
r[1] || (r[1] = q(" ", -1))
|
|
1137
|
+
], 64)) : E("", !0),
|
|
1138
|
+
e.game.video ? (u(), y(B, { key: 1 }, [
|
|
1139
|
+
r[2] || (r[2] = q(" - ", -1)),
|
|
1140
|
+
l("a", {
|
|
1141
|
+
href: e.game.video,
|
|
1142
|
+
target: "_blank"
|
|
1143
|
+
}, [
|
|
1144
|
+
S(a($a), { height: "18" })
|
|
1145
|
+
], 8, Na)
|
|
1146
|
+
], 64)) : E("", !0)
|
|
1147
|
+
])
|
|
1119
1148
|
]),
|
|
1120
|
-
l("div",
|
|
1121
|
-
l("div",
|
|
1122
|
-
l("div",
|
|
1123
|
-
l("span",
|
|
1124
|
-
l("span",
|
|
1149
|
+
l("div", Ia, f(a(V)(e.game.gameDate, "L LT", null, e.locale)) + " (" + f(a(He)(e.game.gameDate, e.timezone, e.locale)) + ") ", 1),
|
|
1150
|
+
l("div", Ea, [
|
|
1151
|
+
l("div", Pa, [
|
|
1152
|
+
l("span", Da, f(e.game.homeTeam.shortName), 1),
|
|
1153
|
+
l("span", La, f(e.game.homeTeam.longName), 1)
|
|
1125
1154
|
])
|
|
1126
1155
|
]),
|
|
1127
|
-
l("div",
|
|
1128
|
-
(u(),
|
|
1156
|
+
l("div", Ma, [
|
|
1157
|
+
(u(), D(a(le), {
|
|
1129
1158
|
key: e.game.homeTeam.id,
|
|
1130
1159
|
class: "is-logo-image",
|
|
1131
1160
|
src: e.game.homeTeam.logo
|
|
1132
1161
|
}, null, 8, ["src"]))
|
|
1133
1162
|
]),
|
|
1134
|
-
l("div",
|
|
1135
|
-
e.game.gameStatus === 0 ? (u(),
|
|
1163
|
+
l("div", Aa, [
|
|
1164
|
+
e.game.gameStatus === 0 ? (u(), y("span", Oa, " - : - ")) : E("", !0),
|
|
1136
1165
|
l("a", {
|
|
1137
1166
|
href: e.gameLink(e.game),
|
|
1138
1167
|
target: e.target,
|
|
1139
1168
|
class: oe(["game-result", [{ "is-live": e.game.gameStatus === 1 }]])
|
|
1140
1169
|
}, [
|
|
1141
|
-
e.game.gameStatus > 0 && e.game.gameStatus < 3 ? (u(),
|
|
1142
|
-
e.game.gameStatus === 3 ? (u(),
|
|
1143
|
-
e.game.gameStatus === 4 ? (u(),
|
|
1144
|
-
], 10,
|
|
1145
|
-
e.game.gameStatus > 0 ? (u(),
|
|
1170
|
+
e.game.gameStatus > 0 && e.game.gameStatus < 3 ? (u(), y("span", ja, f(e.game.homeTeamScore) + " : " + f(e.game.awayTeamScore), 1)) : E("", !0),
|
|
1171
|
+
e.game.gameStatus === 3 ? (u(), y("span", Ga, f(a(t)("game.status.jury")), 1)) : E("", !0),
|
|
1172
|
+
e.game.gameStatus === 4 ? (u(), y("span", Ya, f(a(t)("game.status.delayed")), 1)) : E("", !0)
|
|
1173
|
+
], 10, Ra),
|
|
1174
|
+
e.game.gameStatus > 0 ? (u(), y("div", Ba, f(e.game.periodResults), 1)) : E("", !0)
|
|
1146
1175
|
]),
|
|
1147
|
-
l("div",
|
|
1148
|
-
(u(),
|
|
1176
|
+
l("div", Fa, [
|
|
1177
|
+
(u(), D(a(le), {
|
|
1149
1178
|
key: e.game.awayTeam.id,
|
|
1150
1179
|
src: e.game.awayTeam.logo
|
|
1151
1180
|
}, null, 8, ["src"]))
|
|
1152
1181
|
]),
|
|
1153
|
-
l("div",
|
|
1154
|
-
l("div",
|
|
1155
|
-
Array.isArray(e.game.awayTeam) ? (u(),
|
|
1156
|
-
l("span",
|
|
1157
|
-
l("span",
|
|
1182
|
+
l("div", Ua, [
|
|
1183
|
+
l("div", Ka, [
|
|
1184
|
+
Array.isArray(e.game.awayTeam) ? (u(), y("span", Va, "Torna")) : E("", !0),
|
|
1185
|
+
l("span", qa, f(e.game.awayTeam.shortName), 1),
|
|
1186
|
+
l("span", Ha, f(e.game.awayTeam.longName), 1)
|
|
1158
1187
|
])
|
|
1159
1188
|
])
|
|
1160
1189
|
], 2));
|
|
1161
1190
|
}
|
|
1162
|
-
}, we = `@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)}.justify-center{justify-items:center}.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}}}`, Ha = "@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}}", Wa = "@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}}", qa = "@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)}}", Ja = "@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}}", Qa = '@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) svg{display:inline-block;vertical-align:middle}:where(.card-item) :where(a[target=_blank]):hover:after{content:none}: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}}}', be = (e, t) => {
|
|
1191
|
+
}, we = `@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)}.justify-center{justify-items:center}.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}}}`, Ja = "@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}}", Qa = "@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}}", Xa = "@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)}}", Za = "@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}}", ei = '@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) svg{display:inline-block;vertical-align:middle}:where(.card-item) :where(a[target=_blank]):hover:after{content:none}: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}}}', fe = (e, t) => {
|
|
1163
1192
|
const o = e.__vccOpts || e;
|
|
1164
1193
|
for (const [r, i] of t)
|
|
1165
1194
|
o[r] = i;
|
|
1166
1195
|
return o;
|
|
1167
|
-
},
|
|
1196
|
+
}, ti = { class: "tabs underlined mb-md" }, ri = ["aria-label"], oi = ["aria-selected", "onClick"], ai = ["aria-selected", "onClick"], ii = ["aria-selected", "onClick"], ni = ["aria-selected", "onClick"], li = { class: "tabs filled mb-md" }, si = ["aria-label"], ci = ["aria-selected", "disabled", "onClick"], mi = {
|
|
1168
1197
|
key: 0,
|
|
1169
1198
|
class: "text-center text-muted"
|
|
1170
|
-
},
|
|
1199
|
+
}, di = ["data-gamedate"], vi = { class: "block h6 text-highlighted mt-xl mb-md" }, ui = { class: "card" }, hi = ["onClick"], pi = {
|
|
1171
1200
|
__name: "Calendar.ce",
|
|
1172
1201
|
props: {
|
|
1173
1202
|
locale: {
|
|
@@ -1182,114 +1211,114 @@ const ka = { render: rr }, _a = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Ob
|
|
|
1182
1211
|
type: String,
|
|
1183
1212
|
default: ""
|
|
1184
1213
|
},
|
|
1185
|
-
...
|
|
1214
|
+
...Nr
|
|
1186
1215
|
},
|
|
1187
1216
|
setup(e) {
|
|
1188
|
-
const t = e, o = { en: pe, hu: ge }, r =
|
|
1189
|
-
return (m, n) => (u(),
|
|
1217
|
+
const t = e, o = { en: pe, hu: ge }, r = j(We()), i = I(() => t.isGameTargetExternal ? "_blank" : "_self"), s = (m) => Je(t.externalGameResolver || "/game/id/{id}", m);
|
|
1218
|
+
return (m, n) => (u(), D(a(he), {
|
|
1190
1219
|
locale: t.locale,
|
|
1191
1220
|
messages: o
|
|
1192
1221
|
}, {
|
|
1193
|
-
default:
|
|
1194
|
-
S(a(
|
|
1195
|
-
default:
|
|
1196
|
-
|
|
1222
|
+
default: P(({ t: d }) => [
|
|
1223
|
+
S(a(Ve), null, {
|
|
1224
|
+
default: P(({ error: v, hasError: c }) => [
|
|
1225
|
+
c ? (u(), D(a(Te), {
|
|
1197
1226
|
key: 0,
|
|
1198
|
-
error:
|
|
1199
|
-
}, null, 8, ["error"])) :
|
|
1200
|
-
S(
|
|
1227
|
+
error: v
|
|
1228
|
+
}, null, 8, ["error"])) : E("", !0),
|
|
1229
|
+
S(na, {
|
|
1201
1230
|
locale: t.locale,
|
|
1202
1231
|
timezone: r.value,
|
|
1203
1232
|
"season-id": e.seasonId,
|
|
1204
1233
|
"api-key": e.apiKey
|
|
1205
1234
|
}, {
|
|
1206
|
-
default:
|
|
1207
|
-
games:
|
|
1235
|
+
default: P(({
|
|
1236
|
+
games: h,
|
|
1208
1237
|
months: w,
|
|
1209
1238
|
isLoading: g,
|
|
1210
1239
|
selectedPanel: _,
|
|
1211
|
-
selectedMonth:
|
|
1240
|
+
selectedMonth: x,
|
|
1212
1241
|
more: C,
|
|
1213
1242
|
setMonth: z,
|
|
1214
1243
|
changePanel: T
|
|
1215
1244
|
}) => [
|
|
1216
|
-
l("nav",
|
|
1245
|
+
l("nav", ti, [
|
|
1217
1246
|
l("div", {
|
|
1218
1247
|
id: "top",
|
|
1219
1248
|
role: "tablist",
|
|
1220
|
-
"aria-label":
|
|
1249
|
+
"aria-label": d("selection.sections"),
|
|
1221
1250
|
class: "flex overflow-x-auto"
|
|
1222
1251
|
}, [
|
|
1223
1252
|
l("button", {
|
|
1224
1253
|
role: "tab",
|
|
1225
1254
|
type: "button",
|
|
1226
1255
|
"aria-selected": _ === a(ve),
|
|
1227
|
-
onClick: (
|
|
1228
|
-
},
|
|
1256
|
+
onClick: (b) => T(a(ve))
|
|
1257
|
+
}, f(d("calendar.gamesPlayed")), 9, oi),
|
|
1229
1258
|
l("button", {
|
|
1230
1259
|
role: "tab",
|
|
1231
1260
|
type: "button",
|
|
1232
1261
|
"aria-selected": _ === a(Se),
|
|
1233
|
-
onClick: (
|
|
1234
|
-
},
|
|
1262
|
+
onClick: (b) => T(a(Se))
|
|
1263
|
+
}, f(d("calendar.todaysGames")), 9, ai),
|
|
1235
1264
|
l("button", {
|
|
1236
1265
|
role: "tab",
|
|
1237
1266
|
type: "button",
|
|
1238
1267
|
"aria-selected": _ === a($e),
|
|
1239
|
-
onClick: (
|
|
1240
|
-
},
|
|
1268
|
+
onClick: (b) => T(a($e))
|
|
1269
|
+
}, f(d("calendar.nextGames")), 9, ii),
|
|
1241
1270
|
l("button", {
|
|
1242
1271
|
role: "tab",
|
|
1243
1272
|
type: "button",
|
|
1244
|
-
"aria-selected": _ === a(
|
|
1245
|
-
onClick: (
|
|
1246
|
-
},
|
|
1247
|
-
], 8,
|
|
1273
|
+
"aria-selected": _ === a(je),
|
|
1274
|
+
onClick: (b) => T(a(je))
|
|
1275
|
+
}, f(d("calendar.weekGames")), 9, ni)
|
|
1276
|
+
], 8, ri)
|
|
1248
1277
|
]),
|
|
1249
|
-
l("nav",
|
|
1278
|
+
l("nav", li, [
|
|
1250
1279
|
l("div", {
|
|
1251
1280
|
role: "tablist",
|
|
1252
|
-
"aria-label":
|
|
1281
|
+
"aria-label": d("selection.sections")
|
|
1253
1282
|
}, [
|
|
1254
|
-
(u(!0),
|
|
1255
|
-
key:
|
|
1283
|
+
(u(!0), y(B, null, ee(w, (b) => (u(), y("button", {
|
|
1284
|
+
key: b.id,
|
|
1256
1285
|
type: "button",
|
|
1257
|
-
"aria-selected":
|
|
1286
|
+
"aria-selected": x === b.id,
|
|
1258
1287
|
disabled: g,
|
|
1259
|
-
onClick: (
|
|
1260
|
-
}, b
|
|
1261
|
-
], 8,
|
|
1288
|
+
onClick: (p) => z(b)
|
|
1289
|
+
}, f(b.name), 9, ci))), 128))
|
|
1290
|
+
], 8, si)
|
|
1262
1291
|
]),
|
|
1263
|
-
|
|
1292
|
+
h.totalItems === 0 && !g ? (u(), y("div", mi, f(d("calendar.noGame")), 1)) : E("", !0),
|
|
1264
1293
|
l("div", null, [
|
|
1265
|
-
g ? (u(),
|
|
1266
|
-
(u(!0),
|
|
1267
|
-
key:
|
|
1268
|
-
"data-gamedate":
|
|
1294
|
+
g ? (u(), D(a(qe), { key: 0 })) : E("", !0),
|
|
1295
|
+
(u(!0), y(B, null, ee(h.rows, (b, p) => (u(), y("div", {
|
|
1296
|
+
key: p,
|
|
1297
|
+
"data-gamedate": p
|
|
1269
1298
|
}, [
|
|
1270
|
-
l("span",
|
|
1271
|
-
l("div",
|
|
1272
|
-
(u(!0),
|
|
1299
|
+
l("span", vi, f(a(V)(new Date(p), "LL dddd", r.value, e.locale)), 1),
|
|
1300
|
+
l("div", ui, [
|
|
1301
|
+
(u(!0), y(B, null, ee(b, (k) => (u(), D(Wa, {
|
|
1273
1302
|
key: k.id,
|
|
1274
1303
|
game: k,
|
|
1275
1304
|
locale: e.locale,
|
|
1276
1305
|
timezone: r.value,
|
|
1277
|
-
"game-link":
|
|
1306
|
+
"game-link": s,
|
|
1278
1307
|
target: i.value
|
|
1279
1308
|
}, null, 8, ["game", "locale", "timezone", "target"]))), 128))
|
|
1280
1309
|
])
|
|
1281
|
-
], 8,
|
|
1310
|
+
], 8, di))), 128))
|
|
1282
1311
|
]),
|
|
1283
|
-
!g &&
|
|
1312
|
+
!g && h.currentItems < h.totalItems ? (u(), D(a($r), {
|
|
1284
1313
|
key: 1,
|
|
1285
1314
|
options: { rootMargin: "400px" },
|
|
1286
1315
|
onIntersect: C
|
|
1287
1316
|
}, {
|
|
1288
|
-
default:
|
|
1289
|
-
l("button", { onClick: C },
|
|
1317
|
+
default: P(() => [
|
|
1318
|
+
l("button", { onClick: C }, f(d("calendar.more")), 9, hi)
|
|
1290
1319
|
]),
|
|
1291
1320
|
_: 2
|
|
1292
|
-
}, 1032, ["onIntersect"])) :
|
|
1321
|
+
}, 1032, ["onIntersect"])) : E("", !0)
|
|
1293
1322
|
]),
|
|
1294
1323
|
_: 2
|
|
1295
1324
|
}, 1032, ["locale", "timezone", "season-id", "api-key"])
|
|
@@ -1300,7 +1329,7 @@ const ka = { render: rr }, _a = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Ob
|
|
|
1300
1329
|
_: 1
|
|
1301
1330
|
}, 8, ["locale"]));
|
|
1302
1331
|
}
|
|
1303
|
-
},
|
|
1332
|
+
}, gi = /* @__PURE__ */ fe(pi, [["styles", [we, Ja, Qa, Xa, Za, ei]]]), wi = { class: "" }, fi = ["value"], bi = { class: "tabs underlined mb-md" }, yi = ["aria-label"], xi = ["aria-selected", "onClick"], ir = {
|
|
1304
1333
|
__name: "SeasonSelector",
|
|
1305
1334
|
props: {
|
|
1306
1335
|
seasons: {
|
|
@@ -1322,7 +1351,7 @@ const ka = { render: rr }, _a = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Ob
|
|
|
1322
1351
|
},
|
|
1323
1352
|
emits: ["onChangeSeason", "onChangeSection"],
|
|
1324
1353
|
setup(e, { emit: t }) {
|
|
1325
|
-
const o = e, r = t, { t: i } =
|
|
1354
|
+
const o = e, r = t, { t: i } = me(), s = I({
|
|
1326
1355
|
get() {
|
|
1327
1356
|
return o.championshipId;
|
|
1328
1357
|
},
|
|
@@ -1333,24 +1362,24 @@ const ka = { render: rr }, _a = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Ob
|
|
|
1333
1362
|
function m(n) {
|
|
1334
1363
|
r("onChangeSection", n);
|
|
1335
1364
|
}
|
|
1336
|
-
return (n,
|
|
1337
|
-
l("div",
|
|
1338
|
-
S(a(
|
|
1365
|
+
return (n, d) => (u(), y(B, null, [
|
|
1366
|
+
l("div", wi, [
|
|
1367
|
+
S(a(_e), {
|
|
1339
1368
|
label: a(i)("selection.season"),
|
|
1340
1369
|
name: "season",
|
|
1341
1370
|
class: "mb-md"
|
|
1342
1371
|
}, {
|
|
1343
|
-
default:
|
|
1372
|
+
default: P(() => [
|
|
1344
1373
|
S(a(rt), {
|
|
1345
1374
|
id: "season",
|
|
1346
|
-
modelValue:
|
|
1347
|
-
"onUpdate:modelValue":
|
|
1375
|
+
modelValue: s.value,
|
|
1376
|
+
"onUpdate:modelValue": d[0] || (d[0] = (v) => s.value = v)
|
|
1348
1377
|
}, {
|
|
1349
|
-
default:
|
|
1350
|
-
(u(!0),
|
|
1351
|
-
key:
|
|
1352
|
-
value:
|
|
1353
|
-
},
|
|
1378
|
+
default: P(() => [
|
|
1379
|
+
(u(!0), y(B, null, ee(e.seasons, (v) => (u(), y("option", {
|
|
1380
|
+
key: v.championshipId,
|
|
1381
|
+
value: v.championshipId
|
|
1382
|
+
}, f(v.seasonName), 9, fi))), 128))
|
|
1354
1383
|
]),
|
|
1355
1384
|
_: 1
|
|
1356
1385
|
}, 8, ["modelValue"])
|
|
@@ -1358,76 +1387,76 @@ const ka = { render: rr }, _a = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Ob
|
|
|
1358
1387
|
_: 1
|
|
1359
1388
|
}, 8, ["label"])
|
|
1360
1389
|
]),
|
|
1361
|
-
l("nav",
|
|
1390
|
+
l("nav", bi, [
|
|
1362
1391
|
l("div", {
|
|
1363
1392
|
role: "tablist",
|
|
1364
1393
|
"aria-label": a(i)("selection.sections")
|
|
1365
1394
|
}, [
|
|
1366
|
-
(u(!0),
|
|
1367
|
-
key:
|
|
1395
|
+
(u(!0), y(B, null, ee(e.sections, (v) => (u(), y("button", {
|
|
1396
|
+
key: v.phaseId,
|
|
1368
1397
|
role: "tab",
|
|
1369
|
-
"aria-selected":
|
|
1370
|
-
onClick: (
|
|
1371
|
-
},
|
|
1372
|
-
], 8,
|
|
1398
|
+
"aria-selected": v.sectionId === e.sectionId,
|
|
1399
|
+
onClick: (c) => m(v)
|
|
1400
|
+
}, f(v.sectionName), 9, xi))), 128))
|
|
1401
|
+
], 8, yi)
|
|
1373
1402
|
])
|
|
1374
1403
|
], 64));
|
|
1375
1404
|
}
|
|
1376
|
-
},
|
|
1377
|
-
function
|
|
1378
|
-
const r =
|
|
1405
|
+
}, ze = "schedule", et = "standings", de = "players", Ae = "teams";
|
|
1406
|
+
function ki(e, t, o = null) {
|
|
1407
|
+
const r = Ot(e);
|
|
1379
1408
|
t.championships = r, t.selectedChampionshipId = t.championships?.[0]?.sectionId;
|
|
1380
|
-
const i =
|
|
1381
|
-
t.phaseId =
|
|
1409
|
+
const i = Rt(r?.[0]?.phases ?? []), s = i.findIndex((m) => m.phaseId === Number(o));
|
|
1410
|
+
t.phaseId = s > -1 ? Number(o) : i[0]?.phaseId;
|
|
1382
1411
|
}
|
|
1383
|
-
const
|
|
1412
|
+
const _i = (/* @__PURE__ */ new Map()).set("schedule", {
|
|
1384
1413
|
api: "/v2/games-list",
|
|
1385
|
-
columns: () =>
|
|
1414
|
+
columns: () => qt,
|
|
1386
1415
|
sort: {}
|
|
1387
1416
|
}).set("standings", {
|
|
1388
1417
|
api: "/v2/standings",
|
|
1389
|
-
columns: (e) => e ?
|
|
1418
|
+
columns: (e) => e ? ro : oo,
|
|
1390
1419
|
sort: {}
|
|
1391
1420
|
}).set("points", {
|
|
1392
1421
|
api: "/v2/players-stats",
|
|
1393
|
-
columns: () =>
|
|
1422
|
+
columns: () => De,
|
|
1394
1423
|
sort: {
|
|
1395
1424
|
sortTarget: "points",
|
|
1396
|
-
orders: [{ target: "points", direction:
|
|
1425
|
+
orders: [{ target: "points", direction: J }]
|
|
1397
1426
|
}
|
|
1398
1427
|
}).set("goals", {
|
|
1399
1428
|
api: "/v2/players-stats",
|
|
1400
|
-
columns: () =>
|
|
1429
|
+
columns: () => De,
|
|
1401
1430
|
sort: {
|
|
1402
1431
|
sortTarget: "goals",
|
|
1403
1432
|
orders: [
|
|
1404
|
-
{ target: "goals", direction:
|
|
1405
|
-
{ target: "assists", direction:
|
|
1433
|
+
{ target: "goals", direction: J },
|
|
1434
|
+
{ target: "assists", direction: J }
|
|
1406
1435
|
]
|
|
1407
1436
|
}
|
|
1408
1437
|
}).set("assists", {
|
|
1409
1438
|
api: "/v2/players-stats",
|
|
1410
|
-
columns: () =>
|
|
1439
|
+
columns: () => De,
|
|
1411
1440
|
sort: {
|
|
1412
1441
|
sortTarget: "assists",
|
|
1413
1442
|
orders: [
|
|
1414
|
-
{ target: "assists", direction:
|
|
1415
|
-
{ target: "goals", direction:
|
|
1443
|
+
{ target: "assists", direction: J },
|
|
1444
|
+
{ target: "goals", direction: J }
|
|
1416
1445
|
]
|
|
1417
1446
|
}
|
|
1418
1447
|
}).set("plusminus", {
|
|
1419
1448
|
api: "/v2/players-stats",
|
|
1420
|
-
columns: () =>
|
|
1449
|
+
columns: () => De,
|
|
1421
1450
|
sort: {
|
|
1422
1451
|
sortTarget: "plusMinus",
|
|
1423
|
-
orders: [{ target: "plusMinus", direction:
|
|
1452
|
+
orders: [{ target: "plusMinus", direction: J }]
|
|
1424
1453
|
}
|
|
1425
1454
|
}).set("playerspenalties", {
|
|
1426
1455
|
api: "/v2/players-penalty",
|
|
1427
|
-
columns: () =>
|
|
1456
|
+
columns: () => ao,
|
|
1428
1457
|
sort: {
|
|
1429
1458
|
sortTarget: "pim",
|
|
1430
|
-
orders: [{ target: "pim", direction:
|
|
1459
|
+
orders: [{ target: "pim", direction: J }]
|
|
1431
1460
|
}
|
|
1432
1461
|
}).set("goalies", {
|
|
1433
1462
|
api: "/v2/players-goalie",
|
|
@@ -1435,7 +1464,7 @@ const yi = (/* @__PURE__ */ new Map()).set("schedule", {
|
|
|
1435
1464
|
columns: () => ht,
|
|
1436
1465
|
sort: {
|
|
1437
1466
|
sortTarget: "svsPercent",
|
|
1438
|
-
orders: [{ target: "svsPercent", direction:
|
|
1467
|
+
orders: [{ target: "svsPercent", direction: J }]
|
|
1439
1468
|
}
|
|
1440
1469
|
}).set("goaliesunderlimit", {
|
|
1441
1470
|
api: "/v2/players-goalie",
|
|
@@ -1443,35 +1472,35 @@ const yi = (/* @__PURE__ */ new Map()).set("schedule", {
|
|
|
1443
1472
|
columns: () => ht,
|
|
1444
1473
|
sort: {
|
|
1445
1474
|
sortTarget: "svsPercent",
|
|
1446
|
-
orders: [{ target: "svsPercent", direction:
|
|
1475
|
+
orders: [{ target: "svsPercent", direction: J }]
|
|
1447
1476
|
}
|
|
1448
1477
|
}).set("teamFairplay", {
|
|
1449
1478
|
api: "/v2/team-fairplay",
|
|
1450
|
-
columns: () =>
|
|
1479
|
+
columns: () => io,
|
|
1451
1480
|
sort: {
|
|
1452
1481
|
sortTarget: "pim",
|
|
1453
|
-
orders: [{ target: "pim", direction:
|
|
1482
|
+
orders: [{ target: "pim", direction: J }]
|
|
1454
1483
|
}
|
|
1455
1484
|
}).set("teamPenaltiKilling", {
|
|
1456
1485
|
api: "/v2/team-powerplay",
|
|
1457
|
-
columns: () =>
|
|
1486
|
+
columns: () => no,
|
|
1458
1487
|
sort: {
|
|
1459
1488
|
sortTarget: "pkPercent",
|
|
1460
|
-
orders: [{ target: "pkPercent", direction:
|
|
1489
|
+
orders: [{ target: "pkPercent", direction: J }]
|
|
1461
1490
|
}
|
|
1462
1491
|
}).set("teamPowerplay", {
|
|
1463
1492
|
api: "/v2/team-powerplay",
|
|
1464
|
-
columns: () =>
|
|
1493
|
+
columns: () => lo,
|
|
1465
1494
|
sort: {
|
|
1466
1495
|
sortTarget: "ppPercent",
|
|
1467
|
-
orders: [{ target: "ppPercent", direction:
|
|
1496
|
+
orders: [{ target: "ppPercent", direction: J }]
|
|
1468
1497
|
}
|
|
1469
1498
|
}).set("teamScoringEfficiency", {
|
|
1470
1499
|
api: "/v2/team-scoring-efficiency",
|
|
1471
|
-
columns: () =>
|
|
1500
|
+
columns: () => so,
|
|
1472
1501
|
sort: {
|
|
1473
1502
|
sortTarget: "sp",
|
|
1474
|
-
orders: [{ target: "sp", direction:
|
|
1503
|
+
orders: [{ target: "sp", direction: J }]
|
|
1475
1504
|
}
|
|
1476
1505
|
});
|
|
1477
1506
|
function yt(e) {
|
|
@@ -1530,12 +1559,12 @@ function xt(e) {
|
|
|
1530
1559
|
}
|
|
1531
1560
|
];
|
|
1532
1561
|
}
|
|
1533
|
-
function
|
|
1562
|
+
function zi(e, t) {
|
|
1534
1563
|
if (e.length === 0)
|
|
1535
|
-
throw new
|
|
1536
|
-
t.seasons =
|
|
1564
|
+
throw new jt(Re.message, Re.options);
|
|
1565
|
+
t.seasons = Gt(e), t.championshipId || (t.championshipId = te(t.seasons).championshipId);
|
|
1537
1566
|
}
|
|
1538
|
-
const
|
|
1567
|
+
const Si = {
|
|
1539
1568
|
__name: "DataProvider",
|
|
1540
1569
|
props: {
|
|
1541
1570
|
championshipName: {
|
|
@@ -1576,7 +1605,7 @@ const ki = {
|
|
|
1576
1605
|
}
|
|
1577
1606
|
},
|
|
1578
1607
|
setup(e) {
|
|
1579
|
-
const t = e, o =
|
|
1608
|
+
const t = e, o = Qt("history"), r = ce({
|
|
1580
1609
|
loading: !1,
|
|
1581
1610
|
seasons: [],
|
|
1582
1611
|
championshipId: Number(o.championshipId) || 0,
|
|
@@ -1585,30 +1614,30 @@ const ki = {
|
|
|
1585
1614
|
selectedChampionshipId: null,
|
|
1586
1615
|
sections: [],
|
|
1587
1616
|
section: o.section || null,
|
|
1588
|
-
selectedPanel:
|
|
1617
|
+
selectedPanel: ze,
|
|
1589
1618
|
api: "/v2/games-list",
|
|
1590
1619
|
apiParams: {},
|
|
1591
|
-
columns:
|
|
1620
|
+
columns: qt,
|
|
1592
1621
|
sort: null,
|
|
1593
1622
|
report: "points"
|
|
1594
|
-
}), i = Ct(t, "timezone"),
|
|
1623
|
+
}), i = Ct(t, "timezone"), s = j(""), { onError: m } = Qe(), { sort: n, change: d } = Jr({
|
|
1595
1624
|
sortTarget: "",
|
|
1596
1625
|
orders: []
|
|
1597
|
-
}), { page:
|
|
1626
|
+
}), { page: v, change: c } = Vt(), { t: h } = me(), { isLoading: w, execute: g } = re({
|
|
1598
1627
|
options: {
|
|
1599
1628
|
path: "/v2/championship-seasons",
|
|
1600
1629
|
apiKey: t.apiKey,
|
|
1601
1630
|
params: { championshipName: t.championshipName }
|
|
1602
1631
|
},
|
|
1603
|
-
transform: (
|
|
1632
|
+
transform: (L) => zi(L, r),
|
|
1604
1633
|
onError: m
|
|
1605
|
-
}), { isLoading: _, execute:
|
|
1634
|
+
}), { isLoading: _, execute: x } = re({
|
|
1606
1635
|
options: {
|
|
1607
1636
|
path: "/v2/championship-sections",
|
|
1608
1637
|
apiKey: t.apiKey,
|
|
1609
1638
|
params: I(() => ({ championshipId: r.championshipId }))
|
|
1610
1639
|
},
|
|
1611
|
-
transform: (
|
|
1640
|
+
transform: (L) => ki(L, r, t.initialPhaseId),
|
|
1612
1641
|
onError: m
|
|
1613
1642
|
}), {
|
|
1614
1643
|
isLoading: C,
|
|
@@ -1621,74 +1650,74 @@ const ki = {
|
|
|
1621
1650
|
resetOnExecute: !0,
|
|
1622
1651
|
params: I(() => ({ championshipId: r.championshipId, phaseId: r.phaseId, ...r.apiParams }))
|
|
1623
1652
|
},
|
|
1624
|
-
transform: (
|
|
1653
|
+
transform: (L) => Yt(L),
|
|
1625
1654
|
onError: m
|
|
1626
|
-
}),
|
|
1627
|
-
|
|
1628
|
-
const
|
|
1629
|
-
() => r.selectedPanel ===
|
|
1655
|
+
}), b = Qr([_, w, C], { delay: 1e3 });
|
|
1656
|
+
Be([g, x, T]);
|
|
1657
|
+
const p = I(
|
|
1658
|
+
() => r.selectedPanel === de ? yt(h) : xt(h)
|
|
1630
1659
|
), k = I(() => {
|
|
1631
|
-
const
|
|
1632
|
-
return
|
|
1633
|
-
}), $ = I(() => r.selectedPanel ===
|
|
1634
|
-
() =>
|
|
1660
|
+
const L = r.championships.find((Y) => Y.sectionId === r.selectedChampionshipId);
|
|
1661
|
+
return Pr(Rt(L?.phases ?? []));
|
|
1662
|
+
}), $ = I(() => r.selectedPanel === ze ? 0 : t.limit), M = I(
|
|
1663
|
+
() => Dr(
|
|
1635
1664
|
z.value,
|
|
1636
|
-
Pr,
|
|
1637
1665
|
Lr,
|
|
1638
|
-
|
|
1639
|
-
|
|
1640
|
-
|
|
1666
|
+
Mr,
|
|
1667
|
+
Ar,
|
|
1668
|
+
Or(["mip"]),
|
|
1669
|
+
Rr(["dvgTime", "dvgTimePP1", "dvgTimePP2", "advTime", "advTimePP1", "advTimePP2"])
|
|
1641
1670
|
)
|
|
1642
|
-
), O = I(() =>
|
|
1643
|
-
function N(
|
|
1644
|
-
r.championshipId =
|
|
1671
|
+
), O = I(() => Ne(a(M)).filter(a(s), ["name"]).sorted(n).addContinuousIndex().schedule(a(i), a(t.locale)).pagination(a(v), $.value).value());
|
|
1672
|
+
function N(L) {
|
|
1673
|
+
r.championshipId = L, o.championshipId = L, Be([x, T]);
|
|
1645
1674
|
}
|
|
1646
|
-
function
|
|
1647
|
-
r.selectedChampionshipId =
|
|
1675
|
+
function G(L) {
|
|
1676
|
+
r.selectedChampionshipId = L.sectionId, r.phaseId = k.value[0]?.phaseId ?? null, T();
|
|
1648
1677
|
}
|
|
1649
|
-
function R(
|
|
1650
|
-
r.phaseId =
|
|
1678
|
+
function R(L) {
|
|
1679
|
+
r.phaseId = L, T();
|
|
1651
1680
|
}
|
|
1652
|
-
function ae(
|
|
1653
|
-
r.selectedPanel =
|
|
1654
|
-
let Y =
|
|
1655
|
-
|
|
1681
|
+
function ae(L) {
|
|
1682
|
+
r.selectedPanel = L;
|
|
1683
|
+
let Y = L;
|
|
1684
|
+
L === de && (Y = te(yt(K))?.value), L === Ae && (Y = te(xt(K))?.value), r.report = Y, F(Y);
|
|
1656
1685
|
}
|
|
1657
|
-
function Q(
|
|
1658
|
-
F(
|
|
1686
|
+
function Q(L) {
|
|
1687
|
+
F(L);
|
|
1659
1688
|
}
|
|
1660
|
-
function
|
|
1661
|
-
|
|
1689
|
+
function se(L) {
|
|
1690
|
+
s.value = L, c(1);
|
|
1662
1691
|
}
|
|
1663
|
-
function F(
|
|
1664
|
-
const Y =
|
|
1665
|
-
r.api = Y.api, r.apiParams = Y.params, r.columns = Y.columns(t.allPeriodVisible), n.sortTarget = Y.sort?.sortTarget ?? "", n.orders = Y.sort?.orders ?? [],
|
|
1692
|
+
function F(L) {
|
|
1693
|
+
const Y = _i.get(L);
|
|
1694
|
+
r.api = Y.api, r.apiParams = Y.params, r.columns = Y.columns(t.allPeriodVisible), n.sortTarget = Y.sort?.sortTarget ?? "", n.orders = Y.sort?.orders ?? [], s.value = "", T(), c(1);
|
|
1666
1695
|
}
|
|
1667
|
-
const X = (
|
|
1668
|
-
return (
|
|
1696
|
+
const X = (L) => jr(t.externalPlayerResolver, { ...L, championshipId: r.championshipId });
|
|
1697
|
+
return (L, Y) => ke(L.$slots, "default", Ue(Ke({
|
|
1669
1698
|
...r,
|
|
1670
1699
|
sort: a(n),
|
|
1671
|
-
page: a(
|
|
1672
|
-
query:
|
|
1700
|
+
page: a(v),
|
|
1701
|
+
query: s.value,
|
|
1673
1702
|
phases: k.value,
|
|
1674
|
-
isLoading: a(
|
|
1703
|
+
isLoading: a(b),
|
|
1675
1704
|
games: O.value,
|
|
1676
|
-
reports:
|
|
1677
|
-
onSort: a(
|
|
1705
|
+
reports: p.value,
|
|
1706
|
+
onSort: a(d),
|
|
1678
1707
|
changePanel: ae,
|
|
1679
1708
|
changePhase: R,
|
|
1680
1709
|
changeSeason: N,
|
|
1681
|
-
onUpdateQuery:
|
|
1710
|
+
onUpdateQuery: se,
|
|
1682
1711
|
onChangeReport: Q,
|
|
1683
|
-
onPaginatorChange: a(
|
|
1684
|
-
changeChampionship:
|
|
1712
|
+
onPaginatorChange: a(c),
|
|
1713
|
+
changeChampionship: G,
|
|
1685
1714
|
resolveExternalPlayerLink: X
|
|
1686
1715
|
})));
|
|
1687
1716
|
}
|
|
1688
|
-
},
|
|
1717
|
+
}, $i = { class: "flex-container" }, Ci = {
|
|
1689
1718
|
key: 0,
|
|
1690
1719
|
value: null
|
|
1691
|
-
},
|
|
1720
|
+
}, Ti = ["value"], Ni = ["value"], Ii = ["placeholder"], Ei = {
|
|
1692
1721
|
__name: "Selector",
|
|
1693
1722
|
props: {
|
|
1694
1723
|
phases: {
|
|
@@ -1722,75 +1751,75 @@ const ki = {
|
|
|
1722
1751
|
},
|
|
1723
1752
|
emits: ["update:phaseId", "update:report", "update:query"],
|
|
1724
1753
|
setup(e, { emit: t }) {
|
|
1725
|
-
const o = e, r = t, { t: i } =
|
|
1726
|
-
return (
|
|
1727
|
-
S(a(
|
|
1754
|
+
const o = e, r = t, { t: i } = me(), { phaseId: s, report: m, query: n } = ia(o, r);
|
|
1755
|
+
return (d, v) => (u(), y("div", $i, [
|
|
1756
|
+
S(a(_e), {
|
|
1728
1757
|
label: a(i)("selection.phases"),
|
|
1729
1758
|
name: "phases",
|
|
1730
1759
|
class: "mb-md"
|
|
1731
1760
|
}, {
|
|
1732
|
-
default:
|
|
1761
|
+
default: P(() => [
|
|
1733
1762
|
S(a(rt), {
|
|
1734
1763
|
id: "phases",
|
|
1735
|
-
modelValue: a(
|
|
1736
|
-
"onUpdate:modelValue":
|
|
1737
|
-
disabled: a(
|
|
1764
|
+
modelValue: a(s),
|
|
1765
|
+
"onUpdate:modelValue": v[0] || (v[0] = (c) => ye(s) ? s.value = c : null),
|
|
1766
|
+
disabled: a(s) === null
|
|
1738
1767
|
}, {
|
|
1739
|
-
default:
|
|
1740
|
-
a(
|
|
1741
|
-
(u(!0),
|
|
1742
|
-
key:
|
|
1743
|
-
value:
|
|
1744
|
-
},
|
|
1768
|
+
default: P(() => [
|
|
1769
|
+
a(s) === null ? (u(), y("option", Ci, f(a(i)("selection.noPhases")), 1)) : E("", !0),
|
|
1770
|
+
(u(!0), y(B, null, ee(e.phases, (c) => (u(), y("option", {
|
|
1771
|
+
key: c.phaseId,
|
|
1772
|
+
value: c.phaseId
|
|
1773
|
+
}, f(c.phaseName), 9, Ti))), 128))
|
|
1745
1774
|
]),
|
|
1746
1775
|
_: 1
|
|
1747
1776
|
}, 8, ["modelValue", "disabled"])
|
|
1748
1777
|
]),
|
|
1749
1778
|
_: 1
|
|
1750
1779
|
}, 8, ["label"]),
|
|
1751
|
-
e.isReportsVisible ? (u(),
|
|
1780
|
+
e.isReportsVisible ? (u(), D(a(_e), {
|
|
1752
1781
|
key: 0,
|
|
1753
1782
|
label: a(i)("selection.report"),
|
|
1754
1783
|
name: "report"
|
|
1755
1784
|
}, {
|
|
1756
|
-
default:
|
|
1785
|
+
default: P(() => [
|
|
1757
1786
|
S(a(rt), {
|
|
1758
1787
|
id: "report",
|
|
1759
1788
|
modelValue: a(m),
|
|
1760
|
-
"onUpdate:modelValue":
|
|
1789
|
+
"onUpdate:modelValue": v[1] || (v[1] = (c) => ye(m) ? m.value = c : null)
|
|
1761
1790
|
}, {
|
|
1762
|
-
default:
|
|
1763
|
-
(u(!0),
|
|
1764
|
-
key:
|
|
1765
|
-
value:
|
|
1766
|
-
},
|
|
1791
|
+
default: P(() => [
|
|
1792
|
+
(u(!0), y(B, null, ee(e.reports, ({ value: c, name: h }) => (u(), y("option", {
|
|
1793
|
+
key: c,
|
|
1794
|
+
value: c
|
|
1795
|
+
}, f(h), 9, Ni))), 128))
|
|
1767
1796
|
]),
|
|
1768
1797
|
_: 1
|
|
1769
1798
|
}, 8, ["modelValue"])
|
|
1770
1799
|
]),
|
|
1771
1800
|
_: 1
|
|
1772
|
-
}, 8, ["label"])) :
|
|
1773
|
-
e.isNameFilterVisible ? (u(),
|
|
1801
|
+
}, 8, ["label"])) : E("", !0),
|
|
1802
|
+
e.isNameFilterVisible ? (u(), D(a(_e), {
|
|
1774
1803
|
key: 1,
|
|
1775
1804
|
label: a(i)("selection.filter"),
|
|
1776
1805
|
name: "filter"
|
|
1777
1806
|
}, {
|
|
1778
|
-
default:
|
|
1807
|
+
default: P(() => [
|
|
1779
1808
|
Tt(l("input", {
|
|
1780
1809
|
id: "filter",
|
|
1781
|
-
"onUpdate:modelValue":
|
|
1810
|
+
"onUpdate:modelValue": v[2] || (v[2] = (c) => ye(n) ? n.value = c : null),
|
|
1782
1811
|
placeholder: a(i)("selection.filterName"),
|
|
1783
1812
|
type: "search",
|
|
1784
1813
|
autocomplete: "off"
|
|
1785
|
-
}, null, 8,
|
|
1814
|
+
}, null, 8, Ii), [
|
|
1786
1815
|
[Nt, a(n)]
|
|
1787
1816
|
])
|
|
1788
1817
|
]),
|
|
1789
1818
|
_: 1
|
|
1790
|
-
}, 8, ["label"])) :
|
|
1819
|
+
}, 8, ["label"])) : E("", !0)
|
|
1791
1820
|
]));
|
|
1792
1821
|
}
|
|
1793
|
-
}, 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)}}", Ni = "@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)}}", Ii = "@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}}", Ei = "@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}}", Pi = { class: "tabs underlined" }, Li = ["aria-label"], Di = ["aria-selected", "onClick"], Mi = ["aria-selected", "onClick"], Ai = ["aria-selected", "onClick"], Oi = ["aria-selected", "onClick"], Ri = {
|
|
1822
|
+
}, nr = "@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%}}", lr = '@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)}}', sr = "@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)}}", cr = "@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}}", mr = `@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%}}`, dr = "@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)}}", Pi = "@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)}}", Di = "@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}}", Li = "@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}}", Mi = { class: "tabs underlined" }, Ai = ["aria-label"], Oi = ["aria-selected", "onClick"], Ri = ["aria-selected", "onClick"], ji = ["aria-selected", "onClick"], Gi = ["aria-selected", "onClick"], Yi = {
|
|
1794
1823
|
__name: "Championship.ce",
|
|
1795
1824
|
props: {
|
|
1796
1825
|
locale: {
|
|
@@ -1835,20 +1864,20 @@ const ki = {
|
|
|
1835
1864
|
}
|
|
1836
1865
|
},
|
|
1837
1866
|
setup(e) {
|
|
1838
|
-
const t = e, o =
|
|
1839
|
-
return (
|
|
1867
|
+
const t = e, o = j(null), r = j(We()), i = I(() => He(/* @__PURE__ */ new Date(), a(r), t.locale)), s = { en: pe, hu: ge }, m = (d) => Je(t.externalGameResolver, d), n = (d) => Gr(t.externalTeamResolver, d);
|
|
1868
|
+
return (d, v) => (u(), y("div", null, [
|
|
1840
1869
|
S(a(he), {
|
|
1841
1870
|
locale: t.locale,
|
|
1842
|
-
messages:
|
|
1871
|
+
messages: s
|
|
1843
1872
|
}, {
|
|
1844
|
-
default:
|
|
1845
|
-
S(a(
|
|
1846
|
-
default:
|
|
1847
|
-
w ? (u(),
|
|
1873
|
+
default: P(({ t: c }) => [
|
|
1874
|
+
S(a(Ve), null, {
|
|
1875
|
+
default: P(({ error: h, hasError: w }) => [
|
|
1876
|
+
w ? (u(), D(a(Te), {
|
|
1848
1877
|
key: 0,
|
|
1849
|
-
error:
|
|
1850
|
-
}, null, 8, ["error"])) :
|
|
1851
|
-
S(
|
|
1878
|
+
error: h
|
|
1879
|
+
}, null, 8, ["error"])) : E("", !0),
|
|
1880
|
+
S(Si, {
|
|
1852
1881
|
locale: e.locale,
|
|
1853
1882
|
timezone: r.value,
|
|
1854
1883
|
"championship-name": e.championshipName,
|
|
@@ -1857,115 +1886,115 @@ const ki = {
|
|
|
1857
1886
|
"all-period-visible": e.totalPeriodPlayedVisible,
|
|
1858
1887
|
"external-player-resolver": e.externalPlayerResolver
|
|
1859
1888
|
}, {
|
|
1860
|
-
default:
|
|
1889
|
+
default: P(({
|
|
1861
1890
|
sort: g,
|
|
1862
1891
|
page: _,
|
|
1863
|
-
games:
|
|
1892
|
+
games: x,
|
|
1864
1893
|
query: C,
|
|
1865
1894
|
phases: z,
|
|
1866
1895
|
report: T,
|
|
1867
|
-
phaseId:
|
|
1868
|
-
columns:
|
|
1896
|
+
phaseId: b,
|
|
1897
|
+
columns: p,
|
|
1869
1898
|
seasons: k,
|
|
1870
1899
|
reports: $,
|
|
1871
1900
|
isLoading: M,
|
|
1872
1901
|
selectedPanel: O,
|
|
1873
1902
|
championships: N,
|
|
1874
|
-
championshipId:
|
|
1903
|
+
championshipId: G,
|
|
1875
1904
|
selectedChampionshipId: R,
|
|
1876
1905
|
onSort: ae,
|
|
1877
1906
|
changePanel: Q,
|
|
1878
|
-
changePhase:
|
|
1907
|
+
changePhase: se,
|
|
1879
1908
|
changeSeason: F,
|
|
1880
1909
|
onUpdateQuery: X,
|
|
1881
|
-
onChangeReport:
|
|
1910
|
+
onChangeReport: L,
|
|
1882
1911
|
onPaginatorChange: Y,
|
|
1883
1912
|
changeChampionship: ie,
|
|
1884
|
-
resolveExternalPlayerLink:
|
|
1913
|
+
resolveExternalPlayerLink: Ee
|
|
1885
1914
|
}) => [
|
|
1886
|
-
S(
|
|
1915
|
+
S(ir, {
|
|
1887
1916
|
seasons: k,
|
|
1888
1917
|
sections: N,
|
|
1889
|
-
"championship-id":
|
|
1918
|
+
"championship-id": G,
|
|
1890
1919
|
"section-id": R,
|
|
1891
1920
|
onOnChangeSeason: F,
|
|
1892
1921
|
onOnChangeSection: ie
|
|
1893
1922
|
}, null, 8, ["seasons", "sections", "championship-id", "section-id", "onOnChangeSeason", "onOnChangeSection"]),
|
|
1894
|
-
S(
|
|
1923
|
+
S(Ei, {
|
|
1895
1924
|
query: C,
|
|
1896
1925
|
phases: z,
|
|
1897
|
-
"phase-id":
|
|
1926
|
+
"phase-id": b,
|
|
1898
1927
|
reports: $,
|
|
1899
1928
|
report: T,
|
|
1900
|
-
"is-reports-visible": O === a(
|
|
1901
|
-
"is-name-filter-visible": O === a(
|
|
1902
|
-
"onUpdate:phaseId":
|
|
1903
|
-
"onUpdate:report":
|
|
1929
|
+
"is-reports-visible": O === a(de) || O === a(Ae),
|
|
1930
|
+
"is-name-filter-visible": O === a(de),
|
|
1931
|
+
"onUpdate:phaseId": se,
|
|
1932
|
+
"onUpdate:report": L,
|
|
1904
1933
|
"onUpdate:query": X
|
|
1905
1934
|
}, null, 8, ["query", "phases", "phase-id", "reports", "report", "is-reports-visible", "is-name-filter-visible", "onUpdate:phaseId", "onUpdate:report", "onUpdate:query"]),
|
|
1906
|
-
l("nav",
|
|
1935
|
+
l("nav", Mi, [
|
|
1907
1936
|
l("div", {
|
|
1908
1937
|
role: "tablist",
|
|
1909
|
-
"aria-label":
|
|
1938
|
+
"aria-label": c("selection.sections")
|
|
1910
1939
|
}, [
|
|
1911
1940
|
l("button", {
|
|
1912
1941
|
role: "tab",
|
|
1913
1942
|
type: "button",
|
|
1914
|
-
"aria-selected": O === a(
|
|
1915
|
-
onClick: (
|
|
1916
|
-
},
|
|
1943
|
+
"aria-selected": O === a(ze),
|
|
1944
|
+
onClick: (be) => Q(a(ze))
|
|
1945
|
+
}, f(c("selection.schedule")), 9, Oi),
|
|
1917
1946
|
l("button", {
|
|
1918
1947
|
role: "tab",
|
|
1919
1948
|
type: "button",
|
|
1920
1949
|
"aria-selected": O === a(et),
|
|
1921
|
-
onClick: (
|
|
1922
|
-
},
|
|
1950
|
+
onClick: (be) => Q(a(et))
|
|
1951
|
+
}, f(c("selection.standings")), 9, Ri),
|
|
1923
1952
|
l("button", {
|
|
1924
1953
|
role: "tab",
|
|
1925
1954
|
type: "button",
|
|
1926
|
-
"aria-selected": O === a(
|
|
1927
|
-
onClick: (
|
|
1928
|
-
},
|
|
1955
|
+
"aria-selected": O === a(de),
|
|
1956
|
+
onClick: (be) => Q(a(de))
|
|
1957
|
+
}, f(c("selection.playerStats")), 9, ji),
|
|
1929
1958
|
l("button", {
|
|
1930
1959
|
role: "tab",
|
|
1931
1960
|
type: "button",
|
|
1932
|
-
"aria-selected": O === a(
|
|
1933
|
-
onClick: (
|
|
1934
|
-
},
|
|
1935
|
-
], 8,
|
|
1961
|
+
"aria-selected": O === a(Ae),
|
|
1962
|
+
onClick: (be) => Q(a(Ae))
|
|
1963
|
+
}, f(c("selection.teamStats")), 9, Gi)
|
|
1964
|
+
], 8, Ai)
|
|
1936
1965
|
]),
|
|
1937
|
-
S(a(
|
|
1938
|
-
columns:
|
|
1939
|
-
rows:
|
|
1966
|
+
S(a(Dt), {
|
|
1967
|
+
columns: p,
|
|
1968
|
+
rows: x.rows,
|
|
1940
1969
|
sort: g,
|
|
1941
1970
|
"is-loading": M,
|
|
1942
1971
|
"offset-name": i.value,
|
|
1943
1972
|
"is-player-linked": e.isPlayerLinked,
|
|
1944
1973
|
"external-team-resolver": n,
|
|
1945
1974
|
"external-game-resolver": m,
|
|
1946
|
-
"external-player-resolver":
|
|
1975
|
+
"external-player-resolver": Ee,
|
|
1947
1976
|
"append-to": o.value,
|
|
1948
|
-
"hide-columns": O === a(
|
|
1977
|
+
"hide-columns": O === a(ze) ? "broadcast" : "",
|
|
1949
1978
|
onSort: ae
|
|
1950
1979
|
}, null, 8, ["columns", "rows", "sort", "is-loading", "offset-name", "is-player-linked", "external-player-resolver", "append-to", "hide-columns", "onSort"]),
|
|
1951
|
-
O === a(
|
|
1980
|
+
O === a(de) ? (u(), D(a(Lt), {
|
|
1952
1981
|
key: 0,
|
|
1953
1982
|
page: _,
|
|
1954
1983
|
"items-per-page": t.limit,
|
|
1955
|
-
"total-items":
|
|
1984
|
+
"total-items": x.totalItems,
|
|
1956
1985
|
"range-length": 5,
|
|
1957
1986
|
onChange: Y
|
|
1958
|
-
}, null, 8, ["page", "items-per-page", "total-items", "onChange"])) :
|
|
1959
|
-
O === a(et) ? (u(),
|
|
1960
|
-
S(a(
|
|
1961
|
-
rows:
|
|
1987
|
+
}, null, 8, ["page", "items-per-page", "total-items", "onChange"])) : E("", !0),
|
|
1988
|
+
O === a(et) ? (u(), y(B, { key: 1 }, [
|
|
1989
|
+
S(a(Oe), {
|
|
1990
|
+
rows: x.rows,
|
|
1962
1991
|
"additional-key": "inheritedPoints"
|
|
1963
1992
|
}, null, 8, ["rows"]),
|
|
1964
|
-
S(a(
|
|
1965
|
-
rows:
|
|
1993
|
+
S(a(Oe), {
|
|
1994
|
+
rows: x.rows,
|
|
1966
1995
|
"additional-key": "penaltyPoints"
|
|
1967
1996
|
}, null, 8, ["rows"])
|
|
1968
|
-
], 64)) :
|
|
1997
|
+
], 64)) : E("", !0)
|
|
1969
1998
|
]),
|
|
1970
1999
|
_: 2
|
|
1971
2000
|
}, 1032, ["locale", "timezone", "championship-name", "limit", "initial-phase-id", "all-period-visible", "external-player-resolver"]),
|
|
@@ -1981,23 +2010,23 @@ const ki = {
|
|
|
1981
2010
|
}, 8, ["locale"])
|
|
1982
2011
|
]));
|
|
1983
2012
|
}
|
|
1984
|
-
},
|
|
1985
|
-
function
|
|
1986
|
-
const o =
|
|
2013
|
+
}, Bi = /* @__PURE__ */ fe(Yi, [["styles", [we, nr, lr, sr, cr, mr, dr, Pi, Di, Li]]]);
|
|
2014
|
+
function Fi(e, t = K) {
|
|
2015
|
+
const o = j({
|
|
1987
2016
|
days: "00",
|
|
1988
2017
|
hours: "00",
|
|
1989
2018
|
minutes: "00",
|
|
1990
2019
|
seconds: "00"
|
|
1991
|
-
}), r = H(!1), i = H(null), { pause:
|
|
2020
|
+
}), r = H(!1), i = H(null), { pause: s, resume: m } = Ge(() => {
|
|
1992
2021
|
const n = (/* @__PURE__ */ new Date()).getTime();
|
|
1993
|
-
let
|
|
1994
|
-
|
|
2022
|
+
let d = i.value - n;
|
|
2023
|
+
d <= 0 && (s(), d = 0, r.value = !0, t()), o.value = Ui(d);
|
|
1995
2024
|
}, 1e3, { immediate: !1, immediateCallback: !0 });
|
|
1996
|
-
return
|
|
2025
|
+
return W(() => A(e), (n) => {
|
|
1997
2026
|
i.value = new Date(n).getTime(), m();
|
|
1998
2027
|
}, { immediate: !1 }), { date: o, finished: r };
|
|
1999
2028
|
}
|
|
2000
|
-
function
|
|
2029
|
+
function Ui(e) {
|
|
2001
2030
|
return {
|
|
2002
2031
|
days: Math.floor(e / (1e3 * 60 * 60 * 24)).toString().padStart(2, "0").split(""),
|
|
2003
2032
|
hours: Math.floor(e % (1e3 * 60 * 60 * 24) / (1e3 * 60 * 60)).toString().padStart(2, "0").split(""),
|
|
@@ -2005,7 +2034,7 @@ function Yi(e) {
|
|
|
2005
2034
|
seconds: Math.floor(e % (1e3 * 60) / 1e3).toString().padStart(2, "0").split("")
|
|
2006
2035
|
};
|
|
2007
2036
|
}
|
|
2008
|
-
const
|
|
2037
|
+
const Ki = ["data-number"], Z = {
|
|
2009
2038
|
__name: "Number",
|
|
2010
2039
|
props: {
|
|
2011
2040
|
number: [Number, String],
|
|
@@ -2015,21 +2044,21 @@ const Bi = ["data-number"], Z = {
|
|
|
2015
2044
|
}
|
|
2016
2045
|
},
|
|
2017
2046
|
setup(e) {
|
|
2018
|
-
return (t, o) => (u(),
|
|
2047
|
+
return (t, o) => (u(), y("div", {
|
|
2019
2048
|
class: "is-number",
|
|
2020
2049
|
"data-number": e.number
|
|
2021
2050
|
}, [
|
|
2022
2051
|
S(It, {
|
|
2023
2052
|
name: `slide-${e.direction}`
|
|
2024
2053
|
}, {
|
|
2025
|
-
default:
|
|
2026
|
-
(u(),
|
|
2054
|
+
default: P(() => [
|
|
2055
|
+
(u(), y("span", { key: e.number }, f(e.number), 1))
|
|
2027
2056
|
]),
|
|
2028
2057
|
_: 1
|
|
2029
2058
|
}, 8, ["name"])
|
|
2030
|
-
], 8,
|
|
2059
|
+
], 8, Ki));
|
|
2031
2060
|
}
|
|
2032
|
-
},
|
|
2061
|
+
}, Vi = '@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}}', qi = ["href", "target"], Hi = { class: "game-countdown-title" }, Wi = { class: "game-countdown-container" }, Ji = ["textContent"], Qi = ["textContent"], Xi = ["textContent"], Zi = { style: { display: "flex" } }, en = ["textContent"], tn = { style: { display: "flex" } }, rn = ["textContent"], on = { style: { display: "flex" } }, an = ["textContent"], nn = { style: { display: "flex" } }, ln = { class: "game-countdown-gamedata" }, sn = { class: "is-game-date" }, cn = { class: "is-home-team" }, mn = { class: "is-away-team" }, dn = {
|
|
2033
2062
|
__name: "Countdown.ce",
|
|
2034
2063
|
props: {
|
|
2035
2064
|
locale: {
|
|
@@ -2045,13 +2074,13 @@ const Bi = ["data-number"], Z = {
|
|
|
2045
2074
|
default: ""
|
|
2046
2075
|
},
|
|
2047
2076
|
// externalGameResolver, isGameTargetExternal
|
|
2048
|
-
...
|
|
2077
|
+
...Hr
|
|
2049
2078
|
},
|
|
2050
2079
|
setup(e) {
|
|
2051
2080
|
const t = e, o = { en: pe, hu: ge }, {
|
|
2052
2081
|
state: r,
|
|
2053
2082
|
execute: i,
|
|
2054
|
-
isLoading:
|
|
2083
|
+
isLoading: s
|
|
2055
2084
|
} = re({
|
|
2056
2085
|
options: {
|
|
2057
2086
|
path: "/v2/game-data",
|
|
@@ -2063,45 +2092,45 @@ const Bi = ["data-number"], Z = {
|
|
|
2063
2092
|
},
|
|
2064
2093
|
onSuccess: _
|
|
2065
2094
|
// onError,
|
|
2066
|
-
}), { pause: m, resume: n } =
|
|
2095
|
+
}), { pause: m, resume: n } = Ge(() => {
|
|
2067
2096
|
i();
|
|
2068
|
-
}, 3e4, { immediate: !1 }),
|
|
2069
|
-
function _(
|
|
2070
|
-
|
|
2097
|
+
}, 3e4, { immediate: !1 }), d = I(() => (r.value.homeTeamScore || 0).toString().padStart(2, "0").split("")), v = I(() => (r.value.awayTeamScore || 0).toString().padStart(2, "0").split("")), { date: c, finished: h } = Fi(I(() => r.value.gameDate), () => n()), w = I(() => Je(t.externalGameResolver, { gameId: t.gameId })), g = I(() => t.isGameTargetExternal ? "_blank" : "_self");
|
|
2098
|
+
function _(x) {
|
|
2099
|
+
x.gameStatus === 1 && n(), x.gameStatus > 1 && m();
|
|
2071
2100
|
}
|
|
2072
|
-
return (
|
|
2101
|
+
return (x, C) => (u(), D(a(he), {
|
|
2073
2102
|
locale: e.locale,
|
|
2074
2103
|
messages: o
|
|
2075
2104
|
}, {
|
|
2076
|
-
default:
|
|
2105
|
+
default: P(({ t: z }) => [
|
|
2077
2106
|
l("a", {
|
|
2078
2107
|
href: w.value,
|
|
2079
2108
|
target: g.value,
|
|
2080
2109
|
class: "game-countdown"
|
|
2081
2110
|
}, [
|
|
2082
|
-
l("div",
|
|
2083
|
-
a(ot)(a(r)) ?
|
|
2084
|
-
q(
|
|
2111
|
+
l("div", Hi, [
|
|
2112
|
+
a(ot)(a(r)) ? E("", !0) : (u(), y(B, { key: 0 }, [
|
|
2113
|
+
q(f(a(r).championshipName) + " - " + f(a(r).divisionName), 1)
|
|
2085
2114
|
], 64))
|
|
2086
2115
|
]),
|
|
2087
|
-
l("div",
|
|
2116
|
+
l("div", Wi, [
|
|
2088
2117
|
l("div", {
|
|
2089
|
-
class: oe(["game-countdown-result", { "is-visible": a(
|
|
2118
|
+
class: oe(["game-countdown-result", { "is-visible": a(h) }])
|
|
2090
2119
|
}, [
|
|
2091
2120
|
l("div", {
|
|
2092
2121
|
class: "is-period",
|
|
2093
|
-
textContent:
|
|
2094
|
-
}, null, 8,
|
|
2122
|
+
textContent: f(z(a(r).period ? `game.period.${a(r).period}` : ""))
|
|
2123
|
+
}, null, 8, Ji),
|
|
2095
2124
|
l("div", {
|
|
2096
2125
|
class: oe(["is-home-score", { "is-live": a(r).gameStatus === 1 }]),
|
|
2097
2126
|
style: { display: "flex" }
|
|
2098
2127
|
}, [
|
|
2099
|
-
|
|
2128
|
+
d.value[0] !== "0" ? (u(), D(Z, {
|
|
2100
2129
|
key: 0,
|
|
2101
|
-
number:
|
|
2102
|
-
}, null, 8, ["number"])) :
|
|
2130
|
+
number: d.value[0]
|
|
2131
|
+
}, null, 8, ["number"])) : E("", !0),
|
|
2103
2132
|
S(Z, {
|
|
2104
|
-
number:
|
|
2133
|
+
number: d.value[1]
|
|
2105
2134
|
}, null, 8, ["number"])
|
|
2106
2135
|
], 2),
|
|
2107
2136
|
l("span", {
|
|
@@ -2111,109 +2140,109 @@ const Bi = ["data-number"], Z = {
|
|
|
2111
2140
|
class: oe(["is-away-score", { "is-live": a(r).gameStatus === 1 }]),
|
|
2112
2141
|
style: { display: "flex" }
|
|
2113
2142
|
}, [
|
|
2114
|
-
|
|
2143
|
+
v.value[0] !== "0" ? (u(), D(Z, {
|
|
2115
2144
|
key: 0,
|
|
2116
|
-
number:
|
|
2117
|
-
}, null, 8, ["number"])) :
|
|
2145
|
+
number: v.value[0]
|
|
2146
|
+
}, null, 8, ["number"])) : E("", !0),
|
|
2118
2147
|
S(Z, {
|
|
2119
|
-
number:
|
|
2148
|
+
number: v.value[1]
|
|
2120
2149
|
}, null, 8, ["number"])
|
|
2121
2150
|
], 2),
|
|
2122
2151
|
l("div", {
|
|
2123
2152
|
class: "is-period-results",
|
|
2124
|
-
textContent:
|
|
2125
|
-
}, null, 8,
|
|
2153
|
+
textContent: f(a(r).periodResults)
|
|
2154
|
+
}, null, 8, Qi)
|
|
2126
2155
|
], 2),
|
|
2127
2156
|
l("div", {
|
|
2128
|
-
class: oe(["game-countdown-counter", { "is-visible": !a(
|
|
2157
|
+
class: oe(["game-countdown-counter", { "is-visible": !a(h) && !a(s) }])
|
|
2129
2158
|
}, [
|
|
2130
2159
|
l("div", null, [
|
|
2131
2160
|
l("div", {
|
|
2132
|
-
textContent:
|
|
2133
|
-
}, null, 8,
|
|
2134
|
-
l("div",
|
|
2161
|
+
textContent: f(z("countdown.days"))
|
|
2162
|
+
}, null, 8, Xi),
|
|
2163
|
+
l("div", Zi, [
|
|
2135
2164
|
S(Z, {
|
|
2136
|
-
number: a(
|
|
2165
|
+
number: a(c).days[0],
|
|
2137
2166
|
direction: "decrease"
|
|
2138
2167
|
}, null, 8, ["number"]),
|
|
2139
2168
|
S(Z, {
|
|
2140
|
-
number: a(
|
|
2169
|
+
number: a(c).days[1],
|
|
2141
2170
|
direction: "decrease"
|
|
2142
2171
|
}, null, 8, ["number"])
|
|
2143
2172
|
])
|
|
2144
2173
|
]),
|
|
2145
2174
|
l("div", null, [
|
|
2146
2175
|
l("div", {
|
|
2147
|
-
textContent:
|
|
2148
|
-
}, null, 8,
|
|
2149
|
-
l("div",
|
|
2176
|
+
textContent: f(z("countdown.hours"))
|
|
2177
|
+
}, null, 8, en),
|
|
2178
|
+
l("div", tn, [
|
|
2150
2179
|
S(Z, {
|
|
2151
|
-
number: a(
|
|
2180
|
+
number: a(c).hours[0],
|
|
2152
2181
|
direction: "decrease"
|
|
2153
2182
|
}, null, 8, ["number"]),
|
|
2154
2183
|
S(Z, {
|
|
2155
|
-
number: a(
|
|
2184
|
+
number: a(c).hours[1],
|
|
2156
2185
|
direction: "decrease"
|
|
2157
2186
|
}, null, 8, ["number"])
|
|
2158
2187
|
])
|
|
2159
2188
|
]),
|
|
2160
2189
|
l("div", null, [
|
|
2161
2190
|
l("div", {
|
|
2162
|
-
textContent:
|
|
2163
|
-
}, null, 8,
|
|
2164
|
-
l("div",
|
|
2191
|
+
textContent: f(z("countdown.minutes"))
|
|
2192
|
+
}, null, 8, rn),
|
|
2193
|
+
l("div", on, [
|
|
2165
2194
|
S(Z, {
|
|
2166
|
-
number: a(
|
|
2195
|
+
number: a(c).minutes[0],
|
|
2167
2196
|
direction: "decrease"
|
|
2168
2197
|
}, null, 8, ["number"]),
|
|
2169
2198
|
S(Z, {
|
|
2170
|
-
number: a(
|
|
2199
|
+
number: a(c).minutes[1],
|
|
2171
2200
|
direction: "decrease"
|
|
2172
2201
|
}, null, 8, ["number"])
|
|
2173
2202
|
])
|
|
2174
2203
|
]),
|
|
2175
2204
|
l("div", null, [
|
|
2176
2205
|
l("div", {
|
|
2177
|
-
textContent:
|
|
2178
|
-
}, null, 8,
|
|
2179
|
-
l("div",
|
|
2206
|
+
textContent: f(z("countdown.seconds"))
|
|
2207
|
+
}, null, 8, an),
|
|
2208
|
+
l("div", nn, [
|
|
2180
2209
|
S(Z, {
|
|
2181
|
-
number: a(
|
|
2210
|
+
number: a(c).seconds[0],
|
|
2182
2211
|
direction: "decrease"
|
|
2183
2212
|
}, null, 8, ["number"]),
|
|
2184
2213
|
S(Z, {
|
|
2185
|
-
number: a(
|
|
2214
|
+
number: a(c).seconds[1],
|
|
2186
2215
|
direction: "decrease"
|
|
2187
2216
|
}, null, 8, ["number"])
|
|
2188
2217
|
])
|
|
2189
2218
|
])
|
|
2190
2219
|
], 2)
|
|
2191
2220
|
]),
|
|
2192
|
-
l("div",
|
|
2193
|
-
l("div",
|
|
2194
|
-
a(r).homeTeam?.logo ? (u(),
|
|
2221
|
+
l("div", ln, [
|
|
2222
|
+
l("div", sn, f(a(V)(a(r).gameDate, "L dddd - HH:mm", null, e.locale)), 1),
|
|
2223
|
+
a(r).homeTeam?.logo ? (u(), D(a(le), {
|
|
2195
2224
|
key: 0,
|
|
2196
2225
|
class: "is-home-team-logo",
|
|
2197
2226
|
src: a(r).homeTeam.logo
|
|
2198
|
-
}, null, 8, ["src"])) :
|
|
2199
|
-
l("span",
|
|
2227
|
+
}, null, 8, ["src"])) : E("", !0),
|
|
2228
|
+
l("span", cn, f(a(r).homeTeam?.longName), 1),
|
|
2200
2229
|
C[0] || (C[0] = l("span", { class: "is-separator" }, "-", -1)),
|
|
2201
|
-
l("span",
|
|
2202
|
-
a(r).awayTeam?.logo ? (u(),
|
|
2230
|
+
l("span", mn, f(a(r).awayTeam?.longName), 1),
|
|
2231
|
+
a(r).awayTeam?.logo ? (u(), D(a(le), {
|
|
2203
2232
|
key: 1,
|
|
2204
2233
|
class: "is-away-team-logo",
|
|
2205
2234
|
src: a(r).awayTeam.logo
|
|
2206
|
-
}, null, 8, ["src"])) :
|
|
2235
|
+
}, null, 8, ["src"])) : E("", !0)
|
|
2207
2236
|
])
|
|
2208
|
-
], 8,
|
|
2237
|
+
], 8, qi)
|
|
2209
2238
|
]),
|
|
2210
2239
|
_: 1
|
|
2211
2240
|
}, 8, ["locale"]));
|
|
2212
2241
|
}
|
|
2213
|
-
},
|
|
2214
|
-
function
|
|
2215
|
-
const { execute: t } =
|
|
2216
|
-
(o) =>
|
|
2242
|
+
}, vn = /* @__PURE__ */ fe(dn, [["styles", [we, Vi]]]), vr = Symbol("CarouselContext");
|
|
2243
|
+
function un({ apiKey: e }) {
|
|
2244
|
+
const { execute: t } = ea(
|
|
2245
|
+
(o) => Xr("/v2/game-data", e, o).then((r) => ({ ...r, ...o })),
|
|
2217
2246
|
{},
|
|
2218
2247
|
{
|
|
2219
2248
|
immediate: !1,
|
|
@@ -2224,11 +2253,11 @@ function mn({ apiKey: e }) {
|
|
|
2224
2253
|
execute: t
|
|
2225
2254
|
};
|
|
2226
2255
|
}
|
|
2227
|
-
function
|
|
2228
|
-
const r =
|
|
2229
|
-
return e.reduce((
|
|
2256
|
+
function hn(e, t, o) {
|
|
2257
|
+
const r = pn(t, o);
|
|
2258
|
+
return e.reduce((s, m) => (r.has(m.id) ? s.push({ ...r.get(m.id), ...m }) : s.push(m), s), []);
|
|
2230
2259
|
}
|
|
2231
|
-
function
|
|
2260
|
+
function pn(e, t) {
|
|
2232
2261
|
const o = /* @__PURE__ */ new Map();
|
|
2233
2262
|
for (const r of e)
|
|
2234
2263
|
o.set(r[t], r);
|
|
@@ -2237,7 +2266,7 @@ function vn(e, t) {
|
|
|
2237
2266
|
function kt(e) {
|
|
2238
2267
|
return !(e.includes("_int") || ["wu", "pre", "so", "end"].includes(e));
|
|
2239
2268
|
}
|
|
2240
|
-
const
|
|
2269
|
+
const gn = { class: "games-timeline" }, wn = ["disabled"], fn = { ref: "container" }, bn = ["disabled"], yn = {
|
|
2241
2270
|
__name: "Carousel",
|
|
2242
2271
|
props: {
|
|
2243
2272
|
initialIndex: {
|
|
@@ -2246,72 +2275,72 @@ const un = { class: "games-timeline" }, hn = ["disabled"], pn = { ref: "containe
|
|
|
2246
2275
|
}
|
|
2247
2276
|
},
|
|
2248
2277
|
setup(e) {
|
|
2249
|
-
const t = e, o =
|
|
2250
|
-
|
|
2278
|
+
const t = e, o = Et("container"), r = j(t.initialIndex), i = j([]);
|
|
2279
|
+
wr(vr, {
|
|
2251
2280
|
register: (w) => {
|
|
2252
|
-
i.value.includes(w) || (i.value.push(w), i.value =
|
|
2281
|
+
i.value.includes(w) || (i.value.push(w), i.value = Yr(i.value, (g) => ne(o.value).querySelector(`#${g}`)));
|
|
2253
2282
|
},
|
|
2254
2283
|
unregister: (w) => {
|
|
2255
2284
|
const g = i.value.indexOf(w);
|
|
2256
2285
|
g !== -1 && i.value.splice(g, 1);
|
|
2257
2286
|
}
|
|
2258
2287
|
});
|
|
2259
|
-
const { arrivedState: m } =
|
|
2260
|
-
() =>
|
|
2288
|
+
const { arrivedState: m } = oa(o, { onStop: h }), n = I(
|
|
2289
|
+
() => ne(o).querySelector(`#${i.value[r.value]}`)
|
|
2261
2290
|
);
|
|
2262
|
-
|
|
2291
|
+
Fe(() => c()), W(
|
|
2263
2292
|
() => t.initialIndex,
|
|
2264
2293
|
(w) => {
|
|
2265
|
-
r.value = w,
|
|
2294
|
+
r.value = w, xe(() => c());
|
|
2266
2295
|
}
|
|
2267
2296
|
);
|
|
2268
|
-
function v() {
|
|
2269
|
-
m.left || (r.value--, s({ behavior: "smooth" }));
|
|
2270
|
-
}
|
|
2271
2297
|
function d() {
|
|
2272
|
-
m.
|
|
2298
|
+
m.left || (r.value--, c({ behavior: "smooth" }));
|
|
2273
2299
|
}
|
|
2274
|
-
function
|
|
2300
|
+
function v() {
|
|
2301
|
+
m.right || (r.value++, c({ behavior: "smooth" }));
|
|
2302
|
+
}
|
|
2303
|
+
function c(w) {
|
|
2275
2304
|
n.value?.scrollIntoView({ inline: "start", block: "nearest", container: "nearest", ...w });
|
|
2276
2305
|
}
|
|
2277
|
-
function
|
|
2278
|
-
const w =
|
|
2306
|
+
function h() {
|
|
2307
|
+
const w = ne(o).getBoundingClientRect()?.left, g = Array.from(ne(o).children).findIndex(
|
|
2279
2308
|
(_) => Math.round(_.getBoundingClientRect().left - w) >= 0
|
|
2280
2309
|
);
|
|
2281
2310
|
r.value = g;
|
|
2282
2311
|
}
|
|
2283
|
-
return (w, g) => (u(),
|
|
2312
|
+
return (w, g) => (u(), y("div", gn, [
|
|
2284
2313
|
l("button", {
|
|
2285
2314
|
type: "button",
|
|
2286
2315
|
disabled: a(m).left,
|
|
2287
|
-
onClick:
|
|
2316
|
+
onClick: d
|
|
2288
2317
|
}, [
|
|
2289
|
-
S(a(
|
|
2290
|
-
], 8,
|
|
2291
|
-
l("div",
|
|
2292
|
-
|
|
2318
|
+
S(a(pa))
|
|
2319
|
+
], 8, wn),
|
|
2320
|
+
l("div", fn, [
|
|
2321
|
+
ke(w.$slots, "default")
|
|
2293
2322
|
], 512),
|
|
2294
2323
|
l("button", {
|
|
2295
2324
|
type: "button",
|
|
2296
2325
|
disabled: a(m).right,
|
|
2297
|
-
onClick:
|
|
2326
|
+
onClick: v
|
|
2298
2327
|
}, [
|
|
2299
2328
|
S(a(dt))
|
|
2300
|
-
], 8,
|
|
2329
|
+
], 8, bn)
|
|
2301
2330
|
]));
|
|
2302
2331
|
}
|
|
2303
2332
|
}, tt = {
|
|
2304
2333
|
__name: "CarouselItem",
|
|
2305
2334
|
setup(e) {
|
|
2306
|
-
const t = `mjsz-vbr-carousel-item-${
|
|
2307
|
-
return
|
|
2335
|
+
const t = `mjsz-vbr-carousel-item-${fr()}`, o = br(vr, null);
|
|
2336
|
+
return Fe(() => o?.register(t)), yr(() => o?.unregister(t)), (r, i) => (u(), y("div", {
|
|
2308
2337
|
id: t,
|
|
2309
2338
|
class: "is-slide"
|
|
2310
2339
|
}, [
|
|
2311
|
-
|
|
2340
|
+
ke(r.$slots, "default")
|
|
2312
2341
|
]));
|
|
2313
2342
|
}
|
|
2314
|
-
},
|
|
2343
|
+
}, xn = { class: "games-timeline-schedule-link" }, _t = {
|
|
2315
2344
|
__name: "ExternalSchedule",
|
|
2316
2345
|
props: {
|
|
2317
2346
|
title: {
|
|
@@ -2329,17 +2358,46 @@ const un = { class: "games-timeline" }, hn = ["disabled"], pn = { ref: "containe
|
|
|
2329
2358
|
function i() {
|
|
2330
2359
|
r("navigateTo", { url: o.externalScheduleUrl, target: "_self" });
|
|
2331
2360
|
}
|
|
2332
|
-
return (
|
|
2361
|
+
return (s, m) => (u(), y("div", xn, [
|
|
2333
2362
|
l("button", {
|
|
2334
2363
|
type: "button",
|
|
2335
2364
|
onClick: i
|
|
2336
2365
|
}, [
|
|
2337
|
-
q(
|
|
2366
|
+
q(f(e.title), 1),
|
|
2338
2367
|
S(a(dt))
|
|
2339
2368
|
])
|
|
2340
2369
|
]));
|
|
2341
2370
|
}
|
|
2342
|
-
},
|
|
2371
|
+
}, kn = ["data-overflow"], _n = {
|
|
2372
|
+
key: 0,
|
|
2373
|
+
"aria-hidden": "true"
|
|
2374
|
+
}, zn = {
|
|
2375
|
+
__name: "Marquee",
|
|
2376
|
+
props: {
|
|
2377
|
+
statusText: {
|
|
2378
|
+
type: String
|
|
2379
|
+
}
|
|
2380
|
+
},
|
|
2381
|
+
setup(e) {
|
|
2382
|
+
const t = Et("root"), o = j(!1), r = j(0);
|
|
2383
|
+
return ra(t, async (i) => {
|
|
2384
|
+
const s = i[0], m = s.target.firstChild?.clientWidth ?? 0, { width: n } = s.contentRect;
|
|
2385
|
+
m > n && (o.value = !0, await xe(), r.value = s.target.firstChild?.clientWidth ?? 0);
|
|
2386
|
+
}), (i, s) => (u(), y("div", {
|
|
2387
|
+
ref: "root",
|
|
2388
|
+
class: "marquee",
|
|
2389
|
+
"data-overflow": o.value
|
|
2390
|
+
}, [
|
|
2391
|
+
l("div", {
|
|
2392
|
+
class: "marquee-track",
|
|
2393
|
+
style: xr({ "--_width": `${r.value}px` })
|
|
2394
|
+
}, [
|
|
2395
|
+
l("span", null, f(e.statusText), 1),
|
|
2396
|
+
o.value ? (u(), y("span", _n, f(e.statusText), 1)) : E("", !0)
|
|
2397
|
+
], 4)
|
|
2398
|
+
], 8, kn));
|
|
2399
|
+
}
|
|
2400
|
+
}, Sn = { class: "score-display" }, $n = { class: "is-score" }, zt = {
|
|
2343
2401
|
__name: "ScoreDisplay",
|
|
2344
2402
|
props: {
|
|
2345
2403
|
score: {
|
|
@@ -2348,24 +2406,27 @@ const un = { class: "games-timeline" }, hn = ["disabled"], pn = { ref: "containe
|
|
|
2348
2406
|
}
|
|
2349
2407
|
},
|
|
2350
2408
|
setup(e) {
|
|
2351
|
-
return (t, o) => (u(),
|
|
2352
|
-
l("div",
|
|
2409
|
+
return (t, o) => (u(), y("div", Sn, [
|
|
2410
|
+
l("div", $n, [
|
|
2353
2411
|
S(It, { name: "is-slide-transition" }, {
|
|
2354
|
-
default:
|
|
2355
|
-
(u(),
|
|
2412
|
+
default: P(() => [
|
|
2413
|
+
(u(), y("span", { key: e.score }, f(e.score), 1))
|
|
2356
2414
|
]),
|
|
2357
2415
|
_: 1
|
|
2358
2416
|
})
|
|
2359
2417
|
])
|
|
2360
2418
|
]));
|
|
2361
2419
|
}
|
|
2362
|
-
},
|
|
2420
|
+
}, Cn = {
|
|
2363
2421
|
key: 0,
|
|
2364
2422
|
class: "badge xs"
|
|
2365
|
-
},
|
|
2423
|
+
}, Tn = {
|
|
2366
2424
|
key: 1,
|
|
2367
2425
|
class: "badge xs"
|
|
2368
|
-
},
|
|
2426
|
+
}, Nn = { class: "is-home-team-logo" }, In = { class: "is-home-team-name" }, En = { class: "is-home-team-score" }, Pn = { class: "is-away-team-logo" }, Dn = { class: "is-away-team-name" }, Ln = { class: "is-away-team-score" }, Mn = {
|
|
2427
|
+
key: 0,
|
|
2428
|
+
class: "is-status"
|
|
2429
|
+
}, An = {
|
|
2369
2430
|
__name: "Game",
|
|
2370
2431
|
props: {
|
|
2371
2432
|
gameData: {
|
|
@@ -2379,96 +2440,107 @@ const un = { class: "games-timeline" }, hn = ["disabled"], pn = { ref: "containe
|
|
|
2379
2440
|
},
|
|
2380
2441
|
emits: ["navigateTo"],
|
|
2381
2442
|
setup(e, { emit: t }) {
|
|
2382
|
-
const o = e, r = t, { t: i } =
|
|
2383
|
-
const { gameStatus:
|
|
2384
|
-
return
|
|
2443
|
+
const o = e, r = t, { t: i } = me(), s = I(() => {
|
|
2444
|
+
const { gameStatus: d, championshipName: v, divisionName: c, period: h, periodTime: w, sectionName: g } = o.gameData;
|
|
2445
|
+
return d !== 1 ? n({ championshipName: v, divisionName: c, sectionName: g }) : h && kt(h) ? `${i(`game.period.${h}`)} - ${w}` : h && !kt(h) ? i(`game.period.${h}`) : "";
|
|
2385
2446
|
});
|
|
2386
2447
|
function m() {
|
|
2387
|
-
const { externalGameUrl:
|
|
2388
|
-
if (
|
|
2389
|
-
return r("navigateTo", { url:
|
|
2390
|
-
const
|
|
2391
|
-
r("navigateTo", { url:
|
|
2448
|
+
const { externalGameUrl: d, id: v } = o.gameData;
|
|
2449
|
+
if (d)
|
|
2450
|
+
return r("navigateTo", { url: d, target: "_blank" });
|
|
2451
|
+
const c = Je(o.externalGameResolver, { gameId: v });
|
|
2452
|
+
r("navigateTo", { url: c, target: "_self" });
|
|
2453
|
+
}
|
|
2454
|
+
function n(d) {
|
|
2455
|
+
return [
|
|
2456
|
+
d.championshipName,
|
|
2457
|
+
...d.championshipName !== d.sectionName ? [d.sectionName] : [],
|
|
2458
|
+
d.divisionName
|
|
2459
|
+
].join(" - ");
|
|
2392
2460
|
}
|
|
2393
|
-
return (
|
|
2461
|
+
return (d, v) => (u(), y("div", {
|
|
2394
2462
|
class: "games-timeline-game",
|
|
2395
2463
|
onClick: m
|
|
2396
2464
|
}, [
|
|
2397
2465
|
l("time", null, [
|
|
2398
|
-
q(
|
|
2399
|
-
e.gameData.isShootout ? (u(),
|
|
2400
|
-
e.gameData.isOvertime ? (u(),
|
|
2401
|
-
e.gameData.externalGameUrl ? (u(),
|
|
2466
|
+
q(f(e.gameData.gameDateTime) + " ", 1),
|
|
2467
|
+
e.gameData.isShootout ? (u(), y("span", Cn, f(a(i)("common.shootoutShort")), 1)) : E("", !0),
|
|
2468
|
+
e.gameData.isOvertime ? (u(), y("span", Tn, f(a(i)("common.overtimeShort")), 1)) : E("", !0),
|
|
2469
|
+
e.gameData.externalGameUrl ? (u(), D(a(va), {
|
|
2402
2470
|
key: 2,
|
|
2403
2471
|
width: "14",
|
|
2404
2472
|
height: "14"
|
|
2405
|
-
})) :
|
|
2473
|
+
})) : E("", !0)
|
|
2406
2474
|
]),
|
|
2407
|
-
l("div",
|
|
2408
|
-
S(a(
|
|
2475
|
+
l("div", Nn, [
|
|
2476
|
+
S(a(le), {
|
|
2409
2477
|
src: e.gameData.homeTeam.logo,
|
|
2410
2478
|
class: "is-team-logo"
|
|
2411
2479
|
}, null, 8, ["src"])
|
|
2412
2480
|
]),
|
|
2413
|
-
l("div",
|
|
2414
|
-
l("div",
|
|
2415
|
-
e.gameData.homeTeamScore != null ? (u(),
|
|
2481
|
+
l("div", In, f(e.gameData.homeTeam.longName), 1),
|
|
2482
|
+
l("div", En, [
|
|
2483
|
+
e.gameData.homeTeamScore != null ? (u(), D(zt, {
|
|
2416
2484
|
key: 0,
|
|
2417
2485
|
class: oe(["badge lg", [e.gameData.gameStatus === 1 ? "live" : "inverted"]]),
|
|
2418
2486
|
score: e.gameData.homeTeamScore
|
|
2419
2487
|
}, {
|
|
2420
|
-
default:
|
|
2421
|
-
q(
|
|
2488
|
+
default: P(() => [
|
|
2489
|
+
q(f(e.gameData.homeTeamScore), 1)
|
|
2422
2490
|
]),
|
|
2423
2491
|
_: 1
|
|
2424
|
-
}, 8, ["class", "score"])) :
|
|
2492
|
+
}, 8, ["class", "score"])) : E("", !0)
|
|
2425
2493
|
]),
|
|
2426
|
-
l("div",
|
|
2427
|
-
S(a(
|
|
2494
|
+
l("div", Pn, [
|
|
2495
|
+
S(a(le), {
|
|
2428
2496
|
src: e.gameData.awayTeam.logo,
|
|
2429
2497
|
class: "is-team-logo"
|
|
2430
2498
|
}, null, 8, ["src"])
|
|
2431
2499
|
]),
|
|
2432
|
-
l("div",
|
|
2433
|
-
l("div",
|
|
2434
|
-
e.gameData.awayTeamScore != null ? (u(),
|
|
2500
|
+
l("div", Dn, f(e.gameData.awayTeam.longName), 1),
|
|
2501
|
+
l("div", Ln, [
|
|
2502
|
+
e.gameData.awayTeamScore != null ? (u(), D(zt, {
|
|
2435
2503
|
key: 0,
|
|
2436
2504
|
score: e.gameData.awayTeamScore,
|
|
2437
2505
|
class: oe(["badge lg", [e.gameData.gameStatus === 1 ? "live" : "inverted"]])
|
|
2438
2506
|
}, {
|
|
2439
|
-
default:
|
|
2440
|
-
q(
|
|
2507
|
+
default: P(() => [
|
|
2508
|
+
q(f(e.gameData.awayTeamScore), 1)
|
|
2441
2509
|
]),
|
|
2442
2510
|
_: 1
|
|
2443
|
-
}, 8, ["score", "class"])) :
|
|
2511
|
+
}, 8, ["score", "class"])) : E("", !0)
|
|
2444
2512
|
]),
|
|
2445
|
-
|
|
2513
|
+
e.gameData.gameStatus === 1 ? (u(), y("div", Mn, f(s.value), 1)) : (u(), D(zn, {
|
|
2514
|
+
key: 1,
|
|
2515
|
+
"status-text": s.value,
|
|
2516
|
+
class: "is-status"
|
|
2517
|
+
}, null, 8, ["status-text"]))
|
|
2446
2518
|
]));
|
|
2447
2519
|
}
|
|
2448
|
-
},
|
|
2520
|
+
}, On = { class: "games-timeline-error-indicator" }, Rn = {
|
|
2449
2521
|
__name: "TryAgain",
|
|
2450
2522
|
emits: ["tryAgain"],
|
|
2451
2523
|
setup(e, { emit: t }) {
|
|
2452
|
-
const o = t, { t: r } =
|
|
2524
|
+
const o = t, { t: r } = me();
|
|
2453
2525
|
function i() {
|
|
2454
2526
|
o("tryAgain");
|
|
2455
2527
|
}
|
|
2456
|
-
return (
|
|
2457
|
-
S(a(
|
|
2458
|
-
l("div", null,
|
|
2528
|
+
return (s, m) => (u(), y("div", On, [
|
|
2529
|
+
S(a(_a)),
|
|
2530
|
+
l("div", null, f(a(r)("gamesTimeline.errorText")), 1),
|
|
2459
2531
|
l("button", {
|
|
2460
2532
|
type: "button",
|
|
2461
2533
|
onClick: i
|
|
2462
|
-
},
|
|
2534
|
+
}, f(a(r)("gamesTimeline.errorCta")), 1)
|
|
2463
2535
|
]));
|
|
2464
2536
|
}
|
|
2465
|
-
},
|
|
2537
|
+
}, jn = '@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%)}}', Gn = "@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)}}", Yn = "@layer components{:where(.marquee){--_width: 0px;--_speed: 8s;--_direction: forwards;overflow:clip;-webkit-mask-image:linear-gradient(to right,transparent,black var(--size-16),black calc(100% - var(--size-16)),transparent);mask-image:linear-gradient(to right,transparent,black var(--size-16),black calc(100% - var(--size-16)),transparent)}:where(.marquee) .marquee-track{display:flex;gap:var(--size-16);padding-left:var(--size-16);width:max-content;line-height:initial;--px-width: tan(atan2(var(--_width), 1px));--duration: calc(var(--px-width) / 1000 * var(--_speed))}:where(.marquee)[data-overflow=true]:hover .marquee-track{animation:marquee-move var(--duration) linear infinite var(--_direction)}:where(.marquee)[data-overflow=false] .marquee-track{margin:0 auto;padding:0}@keyframes marquee-move{to{transform:translate(-50%)}}}", Bn = {
|
|
2466
2538
|
key: 0,
|
|
2467
2539
|
style: { width: "100%" }
|
|
2468
|
-
},
|
|
2540
|
+
}, Fn = {
|
|
2469
2541
|
key: 2,
|
|
2470
2542
|
class: "is-no-games"
|
|
2471
|
-
},
|
|
2543
|
+
}, Un = {
|
|
2472
2544
|
__name: "GamesTimeline.ce",
|
|
2473
2545
|
props: {
|
|
2474
2546
|
locale: {
|
|
@@ -2495,76 +2567,76 @@ const un = { class: "games-timeline" }, hn = ["disabled"], pn = { ref: "containe
|
|
|
2495
2567
|
setup(e) {
|
|
2496
2568
|
const t = e, o = { en: pe, hu: ge }, r = We();
|
|
2497
2569
|
let i = [];
|
|
2498
|
-
const
|
|
2570
|
+
const s = j(!1), { isLoading: m, state: n, execute: d } = re({
|
|
2499
2571
|
options: {
|
|
2500
2572
|
path: t.servicePath,
|
|
2501
2573
|
apiKey: t.apiKey,
|
|
2502
2574
|
params: {},
|
|
2503
2575
|
immediate: !0
|
|
2504
2576
|
},
|
|
2505
|
-
transform: (
|
|
2577
|
+
transform: (b) => hn(b, n.value, "id").reverse(),
|
|
2506
2578
|
onError: () => {
|
|
2507
|
-
|
|
2579
|
+
s.value = !0;
|
|
2508
2580
|
},
|
|
2509
|
-
onSuccess:
|
|
2510
|
-
}), { resume:
|
|
2511
|
-
|
|
2581
|
+
onSuccess: x
|
|
2582
|
+
}), { resume: v, pause: c } = Ge(d, 1e3 * 60 * 5), h = Uo(m, 500);
|
|
2583
|
+
Zr(
|
|
2512
2584
|
!0,
|
|
2513
2585
|
() => {
|
|
2514
|
-
|
|
2586
|
+
d(), v();
|
|
2515
2587
|
},
|
|
2516
2588
|
() => {
|
|
2517
|
-
|
|
2589
|
+
c(), i.map((b) => b?.()), i = [];
|
|
2518
2590
|
}
|
|
2519
2591
|
);
|
|
2520
|
-
const w = I(() => ot(n.value) ? 0 : n.value.findIndex((
|
|
2521
|
-
() => n.value.map((
|
|
2522
|
-
...
|
|
2523
|
-
gameDateTime: `${V(
|
|
2524
|
-
|
|
2592
|
+
const w = I(() => ot(n.value) ? 0 : n.value.findIndex((b) => !At(new Date(b.gameDate), /* @__PURE__ */ new Date(), "day")) + 1), g = I(
|
|
2593
|
+
() => n.value.map((b) => ({
|
|
2594
|
+
...b,
|
|
2595
|
+
gameDateTime: `${V(b.gameDate, "L LT", r, t.locale)} (${He(
|
|
2596
|
+
b.gameDate,
|
|
2525
2597
|
r,
|
|
2526
2598
|
t.locale
|
|
2527
2599
|
)})`
|
|
2528
2600
|
}))
|
|
2529
|
-
), { execute: _ } =
|
|
2530
|
-
async function
|
|
2531
|
-
|
|
2532
|
-
const
|
|
2533
|
-
for (let
|
|
2534
|
-
const k =
|
|
2601
|
+
), { execute: _ } = un({ apiKey: t.apiKey });
|
|
2602
|
+
async function x() {
|
|
2603
|
+
s.value = !1, i.map((p) => p?.()), i = [];
|
|
2604
|
+
const b = n.value.filter((p) => p.gameStatus === 1);
|
|
2605
|
+
for (let p = 0; p < b.length; p++) {
|
|
2606
|
+
const k = b[p].id;
|
|
2535
2607
|
_(0, { gameId: k }).then((M) => C(M));
|
|
2536
|
-
const { pause: $ } =
|
|
2608
|
+
const { pause: $ } = Ge(() => _(0, { gameId: k }).then((M) => C(M)), 6e4);
|
|
2537
2609
|
i.push($);
|
|
2538
2610
|
}
|
|
2539
2611
|
}
|
|
2540
|
-
function C(
|
|
2541
|
-
const { gameId:
|
|
2542
|
-
|
|
2612
|
+
function C(b = {}) {
|
|
2613
|
+
const { gameId: p, gameStatus: k, homeTeamScore: $, awayTeamScore: M, period: O, periodTime: N } = b, G = n.value.find((R) => R.id === p);
|
|
2614
|
+
G.gameStatus = k, G.homeTeamScore = $, G.awayTeamScore = M, G.period = O, G.periodTime = N, kr(n);
|
|
2543
2615
|
}
|
|
2544
|
-
function z({ url:
|
|
2545
|
-
window.open(
|
|
2616
|
+
function z({ url: b, target: p }) {
|
|
2617
|
+
window.open(b, p);
|
|
2546
2618
|
}
|
|
2547
2619
|
function T() {
|
|
2548
|
-
|
|
2620
|
+
s.value = !1, d();
|
|
2549
2621
|
}
|
|
2550
|
-
return (
|
|
2622
|
+
return (b, p) => (u(), D(a(he), {
|
|
2551
2623
|
locale: e.locale,
|
|
2552
2624
|
messages: o
|
|
2553
2625
|
}, {
|
|
2554
|
-
default:
|
|
2555
|
-
(u(),
|
|
2556
|
-
key: a(
|
|
2626
|
+
default: P(({ t: k }) => [
|
|
2627
|
+
(u(), D(yn, {
|
|
2628
|
+
key: a(h),
|
|
2557
2629
|
"initial-index": w.value
|
|
2558
2630
|
}, {
|
|
2559
|
-
default:
|
|
2560
|
-
!
|
|
2561
|
-
S(a(
|
|
2562
|
-
])) :
|
|
2631
|
+
default: P(() => [
|
|
2632
|
+
!s.value && a(h) ? (u(), y("div", Bn, [
|
|
2633
|
+
S(a(qe))
|
|
2634
|
+
])) : s.value && a(ot)(a(n)) ? (u(), D(Rn, {
|
|
2563
2635
|
key: 1,
|
|
2564
2636
|
onTryAgain: T
|
|
2565
|
-
})) : g.value.length === 0 ? (u(),
|
|
2566
|
-
|
|
2567
|
-
default:
|
|
2637
|
+
})) : g.value.length === 0 ? (u(), y("div", Fn, f(k("gamesTimeline.noGames")), 1)) : (u(), y(B, { key: 3 }, [
|
|
2638
|
+
p[0] || (Pe(-1, !0), (p[0] = S(tt, null, {
|
|
2639
|
+
default: P(() => [
|
|
2568
2640
|
S(_t, {
|
|
2569
2641
|
"external-schedule-url": e.externalScheduleUrl,
|
|
2570
2642
|
title: k("gamesTimeline.allSchedule"),
|
|
@@ -2572,9 +2644,9 @@ const un = { class: "games-timeline" }, hn = ["disabled"], pn = { ref: "containe
|
|
|
2572
2644
|
}, null, 8, ["external-schedule-url", "title"])
|
|
2573
2645
|
]),
|
|
2574
2646
|
_: 2
|
|
2575
|
-
}, 1024)).cacheIndex = 0,
|
|
2576
|
-
(u(!0),
|
|
2577
|
-
const
|
|
2647
|
+
}, 1024)).cacheIndex = 0, Pe(1), p[0]),
|
|
2648
|
+
(u(!0), y(B, null, ee(g.value, ($, M, O, N) => {
|
|
2649
|
+
const G = [
|
|
2578
2650
|
$.gameDateTime,
|
|
2579
2651
|
$.gameStatus,
|
|
2580
2652
|
$.homeTeamScore,
|
|
@@ -2582,12 +2654,12 @@ const un = { class: "games-timeline" }, hn = ["disabled"], pn = { ref: "containe
|
|
|
2582
2654
|
$.period,
|
|
2583
2655
|
$.actualTime
|
|
2584
2656
|
];
|
|
2585
|
-
if (N && N.key === $.id &&
|
|
2586
|
-
const R = (u(),
|
|
2657
|
+
if (N && N.key === $.id && _r(N, G)) return N;
|
|
2658
|
+
const R = (u(), D(tt, {
|
|
2587
2659
|
key: $.id
|
|
2588
2660
|
}, {
|
|
2589
|
-
default:
|
|
2590
|
-
S(
|
|
2661
|
+
default: P(() => [
|
|
2662
|
+
S(An, {
|
|
2591
2663
|
"game-data": $,
|
|
2592
2664
|
"external-game-resolver": e.externalGameResolver,
|
|
2593
2665
|
onNavigateTo: z
|
|
@@ -2595,10 +2667,10 @@ const un = { class: "games-timeline" }, hn = ["disabled"], pn = { ref: "containe
|
|
|
2595
2667
|
]),
|
|
2596
2668
|
_: 2
|
|
2597
2669
|
}, 1024));
|
|
2598
|
-
return R.memo =
|
|
2599
|
-
},
|
|
2600
|
-
|
|
2601
|
-
default:
|
|
2670
|
+
return R.memo = G, R;
|
|
2671
|
+
}, p, 1), 128)),
|
|
2672
|
+
p[3] || (Pe(-1, !0), (p[3] = S(tt, null, {
|
|
2673
|
+
default: P(() => [
|
|
2602
2674
|
S(_t, {
|
|
2603
2675
|
"external-schedule-url": e.externalScheduleUrl,
|
|
2604
2676
|
title: k("gamesTimeline.allSchedule"),
|
|
@@ -2606,7 +2678,7 @@ const un = { class: "games-timeline" }, hn = ["disabled"], pn = { ref: "containe
|
|
|
2606
2678
|
}, null, 8, ["external-schedule-url", "title"])
|
|
2607
2679
|
]),
|
|
2608
2680
|
_: 2
|
|
2609
|
-
}, 1024)).cacheIndex = 3,
|
|
2681
|
+
}, 1024)).cacheIndex = 3, Pe(1), p[3])
|
|
2610
2682
|
], 64))
|
|
2611
2683
|
]),
|
|
2612
2684
|
_: 2
|
|
@@ -2615,42 +2687,42 @@ const un = { class: "games-timeline" }, hn = ["disabled"], pn = { ref: "containe
|
|
|
2615
2687
|
_: 1
|
|
2616
2688
|
}, 8, ["locale"]));
|
|
2617
2689
|
}
|
|
2618
|
-
},
|
|
2619
|
-
function
|
|
2620
|
-
return e.map(
|
|
2690
|
+
}, Kn = /* @__PURE__ */ fe(Un, [["styles", [we, jn, Gn, Yn]]]);
|
|
2691
|
+
function Vn(e) {
|
|
2692
|
+
return e.map(qn).map(Hn).sort(Qn);
|
|
2621
2693
|
}
|
|
2622
|
-
function
|
|
2623
|
-
const t = Object.keys(e).filter((i) => i.startsWith("recruitment") && i !== "recruitmentName" && i !== "recruitmentTeamName" && i !== "recruitmentCity"), o =
|
|
2694
|
+
function qn(e) {
|
|
2695
|
+
const t = Object.keys(e).filter((i) => i.startsWith("recruitment") && i !== "recruitmentName" && i !== "recruitmentTeamName" && i !== "recruitmentCity"), o = Br(t, e), r = Wn(o);
|
|
2624
2696
|
return {
|
|
2625
|
-
...
|
|
2697
|
+
...Bt(t, e),
|
|
2626
2698
|
recruitment: {
|
|
2627
2699
|
...r
|
|
2628
2700
|
}
|
|
2629
2701
|
};
|
|
2630
2702
|
}
|
|
2631
|
-
function
|
|
2703
|
+
function Hn(e) {
|
|
2632
2704
|
return {
|
|
2633
2705
|
...e,
|
|
2634
2706
|
recruitmentTeamName: e.recruitmentTeamName || ""
|
|
2635
2707
|
};
|
|
2636
2708
|
}
|
|
2637
|
-
function
|
|
2638
|
-
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 =
|
|
2709
|
+
function Wn(e) {
|
|
2710
|
+
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 = Jn(e.recruitmentContactUrl || ""), e;
|
|
2639
2711
|
}
|
|
2640
|
-
function
|
|
2712
|
+
function Jn(e) {
|
|
2641
2713
|
return e.startsWith("http") ? `<a href="${e}" target="_blank">${e}</a>` : `<a href="https://${e}" target="_blank">${e}</a>`;
|
|
2642
2714
|
}
|
|
2643
|
-
function
|
|
2715
|
+
function Qn(e, t) {
|
|
2644
2716
|
const o = e.organizationName.toUpperCase(), r = t.organizationName.toUpperCase();
|
|
2645
2717
|
return o < r ? -1 : o > r ? 1 : 0;
|
|
2646
2718
|
}
|
|
2647
|
-
const
|
|
2719
|
+
const Xn = `@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%}}`, Zn = "@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)}}", el = "@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}}", tl = "@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}}}", rl = "@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}}", ol = ["placeholder"], al = {
|
|
2648
2720
|
key: 2,
|
|
2649
2721
|
class: "text-muted text-center font-bold"
|
|
2650
|
-
},
|
|
2722
|
+
}, il = ["id", "aria-controls"], nl = { key: 0 }, ll = ["id", "aria-labelledby"], sl = { class: "definition-list dotted mb-md" }, cl = { class: "term" }, ml = ["innerHTML"], dl = { class: "grid-container text-muted" }, vl = {
|
|
2651
2723
|
key: 0,
|
|
2652
2724
|
class: "text-end"
|
|
2653
|
-
},
|
|
2725
|
+
}, ul = {
|
|
2654
2726
|
__name: "RecruitmentInfo.ce",
|
|
2655
2727
|
props: {
|
|
2656
2728
|
locale: {
|
|
@@ -2667,10 +2739,10 @@ const Kn = `@layer components.variables{:where(:host){--mvw-form-label-font-size
|
|
|
2667
2739
|
}
|
|
2668
2740
|
},
|
|
2669
2741
|
setup(e) {
|
|
2670
|
-
const t = e, o = { en: pe, hu: ge }, { onError: r, error: i, hasError:
|
|
2742
|
+
const t = e, o = { en: pe, hu: ge }, { onError: r, error: i, hasError: s, reset: m } = eo(), {
|
|
2671
2743
|
state: n,
|
|
2672
|
-
isLoading:
|
|
2673
|
-
execute:
|
|
2744
|
+
isLoading: d,
|
|
2745
|
+
execute: v
|
|
2674
2746
|
} = re({
|
|
2675
2747
|
options: {
|
|
2676
2748
|
path: "/v2/recruitment-info",
|
|
@@ -2678,67 +2750,67 @@ const Kn = `@layer components.variables{:where(:host){--mvw-form-label-font-size
|
|
|
2678
2750
|
params: {},
|
|
2679
2751
|
immediate: !0
|
|
2680
2752
|
},
|
|
2681
|
-
transform:
|
|
2753
|
+
transform: Vn,
|
|
2682
2754
|
onError: r
|
|
2683
|
-
}),
|
|
2684
|
-
() =>
|
|
2685
|
-
), _ = I(() => [(
|
|
2686
|
-
|
|
2687
|
-
|
|
2755
|
+
}), c = j(""), { page: h, change: w } = Vt(), g = I(
|
|
2756
|
+
() => Ne(n.value).filter(c.value, ["organizationName", "recruitmentCity", "recruitmentTeamName"]).pagination(h.value, t.limit).value()
|
|
2757
|
+
), _ = I(() => [(h.value - 1) * t.limit + 1, Math.min(h.value * t.limit, g.value.totalItems)]);
|
|
2758
|
+
W(c, () => {
|
|
2759
|
+
h.value !== 1 && (h.value = 1);
|
|
2688
2760
|
});
|
|
2689
|
-
function
|
|
2690
|
-
m(),
|
|
2761
|
+
function x() {
|
|
2762
|
+
m(), v();
|
|
2691
2763
|
}
|
|
2692
|
-
return (C, z) => (u(),
|
|
2764
|
+
return (C, z) => (u(), D(a(he), {
|
|
2693
2765
|
locale: e.locale,
|
|
2694
2766
|
messages: o
|
|
2695
2767
|
}, {
|
|
2696
|
-
default:
|
|
2697
|
-
S(a(
|
|
2768
|
+
default: P(({ t: T }) => [
|
|
2769
|
+
S(a(_e), {
|
|
2698
2770
|
label: T("selection.filter"),
|
|
2699
2771
|
name: "filter",
|
|
2700
2772
|
class: "full-width mb-md",
|
|
2701
2773
|
style: { "max-width": "220px" }
|
|
2702
2774
|
}, {
|
|
2703
|
-
default:
|
|
2775
|
+
default: P(() => [
|
|
2704
2776
|
Tt(l("input", {
|
|
2705
2777
|
id: "filter",
|
|
2706
|
-
"onUpdate:modelValue": z[0] || (z[0] = (
|
|
2778
|
+
"onUpdate:modelValue": z[0] || (z[0] = (b) => c.value = b),
|
|
2707
2779
|
placeholder: T("recruitmentInfo.filterByNameAndLocation"),
|
|
2708
2780
|
type: "search",
|
|
2709
2781
|
autocomplete: "off"
|
|
2710
|
-
}, null, 8,
|
|
2711
|
-
[Nt,
|
|
2782
|
+
}, null, 8, ol), [
|
|
2783
|
+
[Nt, c.value]
|
|
2712
2784
|
])
|
|
2713
2785
|
]),
|
|
2714
2786
|
_: 2
|
|
2715
2787
|
}, 1032, ["label"]),
|
|
2716
|
-
a(
|
|
2788
|
+
a(s) ? (u(), D(a(Te), {
|
|
2717
2789
|
key: 0,
|
|
2718
2790
|
error: a(i),
|
|
2719
2791
|
"use-retry": "",
|
|
2720
|
-
onRetry:
|
|
2721
|
-
}, null, 8, ["error"])) :
|
|
2722
|
-
a(
|
|
2723
|
-
a(n).length > 0 && g.value.rows.length === 0 ? (u(),
|
|
2724
|
-
(u(!0),
|
|
2725
|
-
key:
|
|
2792
|
+
onRetry: x
|
|
2793
|
+
}, null, 8, ["error"])) : E("", !0),
|
|
2794
|
+
a(d) ? (u(), D(a(qe), { key: 1 })) : E("", !0),
|
|
2795
|
+
a(n).length > 0 && g.value.rows.length === 0 ? (u(), y("div", al, f(T("recruitmentInfo.noResult")), 1)) : E("", !0),
|
|
2796
|
+
(u(!0), y(B, null, ee(g.value.rows, (b, p) => (u(), y("details", {
|
|
2797
|
+
key: b.organizationName,
|
|
2726
2798
|
class: "tonal elevated mb-md"
|
|
2727
2799
|
}, [
|
|
2728
2800
|
l("summary", {
|
|
2729
|
-
id: `summary-${
|
|
2730
|
-
"aria-controls": `content-${
|
|
2801
|
+
id: `summary-${p}`,
|
|
2802
|
+
"aria-controls": `content-${p}`
|
|
2731
2803
|
}, [
|
|
2732
|
-
S(a(
|
|
2733
|
-
src: `https://ivr-api.icehockey.hu${
|
|
2804
|
+
S(a(le), {
|
|
2805
|
+
src: `https://ivr-api.icehockey.hu${b.organizationLogo}`,
|
|
2734
2806
|
"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",
|
|
2735
2807
|
width: 30,
|
|
2736
2808
|
height: 30,
|
|
2737
2809
|
style: { "object-fit": "contain" }
|
|
2738
2810
|
}, null, 8, ["src"]),
|
|
2739
2811
|
l("strong", null, [
|
|
2740
|
-
q(b
|
|
2741
|
-
|
|
2812
|
+
q(f(b.organizationName) + " ", 1),
|
|
2813
|
+
b.recruitmentTeamName ? (u(), y("span", nl, "(" + f(b.recruitmentTeamName) + ")", 1)) : E("", !0)
|
|
2742
2814
|
]),
|
|
2743
2815
|
z[1] || (z[1] = l("svg", {
|
|
2744
2816
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -2751,49 +2823,49 @@ const Kn = `@layer components.variables{:where(:host){--mvw-form-label-font-size
|
|
|
2751
2823
|
d: "M4.293 8.293a1 1 0 0 1 1.414 0L12 14.586l6.293-6.293a1 1 0 1 1 1.414 1.414l-7 7a1 1 0 0 1-1.414 0l-7-7a1 1 0 0 1 0-1.414"
|
|
2752
2824
|
})
|
|
2753
2825
|
], -1))
|
|
2754
|
-
], 8,
|
|
2826
|
+
], 8, il),
|
|
2755
2827
|
l("div", {
|
|
2756
|
-
id: `content-${
|
|
2828
|
+
id: `content-${p}`,
|
|
2757
2829
|
class: "content",
|
|
2758
2830
|
role: "region",
|
|
2759
|
-
"aria-labelledby": `summary-${
|
|
2831
|
+
"aria-labelledby": `summary-${p}`
|
|
2760
2832
|
}, [
|
|
2761
|
-
l("ul",
|
|
2762
|
-
(u(!0),
|
|
2763
|
-
l("span",
|
|
2833
|
+
l("ul", sl, [
|
|
2834
|
+
(u(!0), y(B, null, ee(b.recruitment, (k, $) => (u(), y("li", { key: $ }, [
|
|
2835
|
+
l("span", cl, f(T(`recruitmentInfo.${$}`)), 1),
|
|
2764
2836
|
z[2] || (z[2] = l("hr", null, null, -1)),
|
|
2765
2837
|
l("span", {
|
|
2766
2838
|
class: "description",
|
|
2767
2839
|
innerHTML: k
|
|
2768
|
-
}, null, 8,
|
|
2840
|
+
}, null, 8, ml)
|
|
2769
2841
|
]))), 128))
|
|
2770
2842
|
])
|
|
2771
|
-
], 8,
|
|
2843
|
+
], 8, ll)
|
|
2772
2844
|
]))), 128)),
|
|
2773
|
-
l("div",
|
|
2845
|
+
l("div", dl, [
|
|
2774
2846
|
S(a(Lt), {
|
|
2775
|
-
page: a(
|
|
2847
|
+
page: a(h),
|
|
2776
2848
|
"items-per-page": t.limit,
|
|
2777
2849
|
"total-items": g.value.totalItems,
|
|
2778
2850
|
"range-length": 5,
|
|
2779
2851
|
onChange: a(w)
|
|
2780
2852
|
}, null, 8, ["page", "items-per-page", "total-items", "onChange"]),
|
|
2781
|
-
g.value.totalItems > 0 ? (u(),
|
|
2853
|
+
g.value.totalItems > 0 ? (u(), y("div", vl, f(T("table.info", { min: _.value[0], max: _.value[1], total: g.value.totalItems })), 1)) : E("", !0)
|
|
2782
2854
|
])
|
|
2783
2855
|
]),
|
|
2784
2856
|
_: 1
|
|
2785
2857
|
}, 8, ["locale"]));
|
|
2786
2858
|
}
|
|
2787
|
-
},
|
|
2788
|
-
function
|
|
2859
|
+
}, hl = /* @__PURE__ */ fe(ul, [["styles", [we, Xn, Zn, el, tl, rl]]]);
|
|
2860
|
+
function pl(e, t) {
|
|
2789
2861
|
if (e.length === 0)
|
|
2790
|
-
throw new
|
|
2791
|
-
t.seasons =
|
|
2862
|
+
throw new jt(Re.message, Re.options);
|
|
2863
|
+
t.seasons = Gt(e), t.championshipId || (t.championshipId = te(t.seasons).championshipId);
|
|
2792
2864
|
}
|
|
2793
|
-
function
|
|
2794
|
-
t.sections =
|
|
2865
|
+
function gl(e, t) {
|
|
2866
|
+
t.sections = Ot(e), t.sectionId = Fr(t.sections), t.phaseId = Ft([0, "phases", 0], e)?.phaseId ?? null;
|
|
2795
2867
|
}
|
|
2796
|
-
const
|
|
2868
|
+
const wl = {
|
|
2797
2869
|
gameName: {
|
|
2798
2870
|
label: "table.gameName.short",
|
|
2799
2871
|
tooltip: "table.gameName.tooltip",
|
|
@@ -2830,13 +2902,13 @@ const ml = {
|
|
|
2830
2902
|
class: "text-start"
|
|
2831
2903
|
}
|
|
2832
2904
|
};
|
|
2833
|
-
function
|
|
2905
|
+
function fl(e) {
|
|
2834
2906
|
return (t) => t.map((o) => ({
|
|
2835
2907
|
...o,
|
|
2836
2908
|
...o.registration && { registration: `${o.registration}/cid/${e}` }
|
|
2837
2909
|
}));
|
|
2838
2910
|
}
|
|
2839
|
-
const
|
|
2911
|
+
const bl = {
|
|
2840
2912
|
__name: "DataProvider",
|
|
2841
2913
|
props: {
|
|
2842
2914
|
championshipName: {
|
|
@@ -2865,19 +2937,19 @@ const vl = {
|
|
|
2865
2937
|
}
|
|
2866
2938
|
},
|
|
2867
2939
|
setup(e) {
|
|
2868
|
-
const t = e, o =
|
|
2940
|
+
const t = e, o = ce({
|
|
2869
2941
|
seasons: [],
|
|
2870
2942
|
championshipId: null,
|
|
2871
2943
|
sections: [],
|
|
2872
2944
|
sectionId: null,
|
|
2873
2945
|
phaseId: null
|
|
2874
|
-
}), { onError: r } =
|
|
2946
|
+
}), { onError: r } = Qe(), { isLoading: i, execute: s } = re({
|
|
2875
2947
|
options: {
|
|
2876
2948
|
path: "/v2/championship-seasons",
|
|
2877
2949
|
apiKey: t.apiKey,
|
|
2878
2950
|
params: { championshipName: t.championshipName }
|
|
2879
2951
|
},
|
|
2880
|
-
transform: (
|
|
2952
|
+
transform: (x) => pl(x, o),
|
|
2881
2953
|
onError: r
|
|
2882
2954
|
}), { isLoading: m, execute: n } = re({
|
|
2883
2955
|
options: {
|
|
@@ -2885,37 +2957,37 @@ const vl = {
|
|
|
2885
2957
|
apiKey: t.apiKey,
|
|
2886
2958
|
params: I(() => ({ championshipId: o.championshipId }))
|
|
2887
2959
|
},
|
|
2888
|
-
transform: (
|
|
2960
|
+
transform: (x) => gl(x, o),
|
|
2889
2961
|
onError: r
|
|
2890
2962
|
}), {
|
|
2891
|
-
isLoading:
|
|
2892
|
-
state:
|
|
2893
|
-
execute:
|
|
2963
|
+
isLoading: d,
|
|
2964
|
+
state: v,
|
|
2965
|
+
execute: c
|
|
2894
2966
|
} = re({
|
|
2895
2967
|
options: {
|
|
2896
2968
|
path: "/v2/games-list",
|
|
2897
2969
|
apiKey: t.apiKey,
|
|
2898
2970
|
params: I(() => ({ championshipId: o.championshipId, phaseId: o.phaseId }))
|
|
2899
2971
|
},
|
|
2900
|
-
transform: (
|
|
2972
|
+
transform: (x) => Ur(Yt, fl(o.championshipId))(x),
|
|
2901
2973
|
onError: r
|
|
2902
|
-
}),
|
|
2903
|
-
|
|
2904
|
-
const w = I(() => [m.value, i.value,
|
|
2905
|
-
function g(
|
|
2906
|
-
o.championshipId =
|
|
2974
|
+
}), h = I(() => Ne(v.value).schedule(t.timezone, t.locale).value());
|
|
2975
|
+
Be([s, n, c]);
|
|
2976
|
+
const w = I(() => [m.value, i.value, d.value].some(Boolean));
|
|
2977
|
+
function g(x) {
|
|
2978
|
+
o.championshipId = x, Be([n, c]);
|
|
2907
2979
|
}
|
|
2908
|
-
function _(
|
|
2909
|
-
o.sectionId =
|
|
2980
|
+
function _(x) {
|
|
2981
|
+
o.sectionId = x.sectionId, o.phaseId = Ft(["phases", 0, "phaseId"], x), c();
|
|
2910
2982
|
}
|
|
2911
|
-
return (
|
|
2912
|
-
rows:
|
|
2983
|
+
return (x, C) => ke(x.$slots, "default", Ue(Ke({
|
|
2984
|
+
rows: h.value,
|
|
2913
2985
|
isLoading: w.value,
|
|
2914
|
-
values: a(
|
|
2986
|
+
values: a(Bt)(["phaseId"], o),
|
|
2915
2987
|
listeners: { onChangeSection: _, onChangeSeason: g }
|
|
2916
2988
|
})));
|
|
2917
2989
|
}
|
|
2918
|
-
},
|
|
2990
|
+
}, yl = ["href"], xl = ["href"], kl = {
|
|
2919
2991
|
__name: "ScheduleCupDataTable",
|
|
2920
2992
|
props: {
|
|
2921
2993
|
columns: {
|
|
@@ -2936,41 +3008,41 @@ const vl = {
|
|
|
2936
3008
|
}
|
|
2937
3009
|
},
|
|
2938
3010
|
setup(e) {
|
|
2939
|
-
const t = e, o =
|
|
3011
|
+
const t = e, o = j(null), { columns: r } = to(
|
|
2940
3012
|
t.columns,
|
|
2941
3013
|
null,
|
|
2942
3014
|
I(() => ({
|
|
2943
3015
|
offsetName: t.offsetName
|
|
2944
3016
|
}))
|
|
2945
|
-
), { t: i } =
|
|
2946
|
-
return (
|
|
3017
|
+
), { t: i } = me();
|
|
3018
|
+
return (s, m) => (u(), y("div", {
|
|
2947
3019
|
ref_key: "tooltipContainer",
|
|
2948
3020
|
ref: o
|
|
2949
3021
|
}, [
|
|
2950
|
-
S(a(
|
|
2951
|
-
default:
|
|
2952
|
-
S(a(
|
|
3022
|
+
S(a(Mt), null, {
|
|
3023
|
+
default: P(() => [
|
|
3024
|
+
S(a(Cr), {
|
|
2953
3025
|
columns: a(r),
|
|
2954
3026
|
rows: e.rows,
|
|
2955
3027
|
"is-loading": e.isLoading,
|
|
2956
3028
|
"append-to": o.value
|
|
2957
3029
|
}, {
|
|
2958
|
-
"cell-homeTeamName":
|
|
2959
|
-
q(
|
|
3030
|
+
"cell-homeTeamName": P(({ row: n }) => [
|
|
3031
|
+
q(f(n.homeTeam?.longName ?? ""), 1)
|
|
2960
3032
|
]),
|
|
2961
|
-
"cell-location":
|
|
2962
|
-
q(
|
|
3033
|
+
"cell-location": P(({ row: n }) => [
|
|
3034
|
+
q(f(n.location?.locationName ?? ""), 1)
|
|
2963
3035
|
]),
|
|
2964
|
-
"cell-document":
|
|
2965
|
-
n.schedule ? (u(),
|
|
3036
|
+
"cell-document": P(({ row: n }) => [
|
|
3037
|
+
n.schedule ? (u(), y("a", {
|
|
2966
3038
|
key: 0,
|
|
2967
3039
|
href: n.schedule,
|
|
2968
3040
|
target: "_blank"
|
|
2969
|
-
},
|
|
3041
|
+
}, f(a(i)("schedule")), 9, yl)) : n.registration ? (u(), y("a", {
|
|
2970
3042
|
key: 1,
|
|
2971
3043
|
href: n.registration,
|
|
2972
3044
|
target: "_blank"
|
|
2973
|
-
},
|
|
3045
|
+
}, f(a(i)("registration")), 9, xl)) : E("", !0)
|
|
2974
3046
|
]),
|
|
2975
3047
|
_: 1
|
|
2976
3048
|
}, 8, ["columns", "rows", "is-loading", "append-to"])
|
|
@@ -2979,7 +3051,7 @@ const vl = {
|
|
|
2979
3051
|
})
|
|
2980
3052
|
], 512));
|
|
2981
3053
|
}
|
|
2982
|
-
},
|
|
3054
|
+
}, _l = "@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}}", zl = {
|
|
2983
3055
|
__name: "ScheduleCup.ce",
|
|
2984
3056
|
props: {
|
|
2985
3057
|
locale: {
|
|
@@ -3000,29 +3072,29 @@ const vl = {
|
|
|
3000
3072
|
// },
|
|
3001
3073
|
},
|
|
3002
3074
|
setup(e) {
|
|
3003
|
-
const t = e, o = { en: pe, hu: ge }, r =
|
|
3004
|
-
return (
|
|
3075
|
+
const t = e, o = { en: pe, hu: ge }, r = j(We()), i = I(() => He(/* @__PURE__ */ new Date(), r.value, t.locale));
|
|
3076
|
+
return (s, m) => (u(), D(a(he), {
|
|
3005
3077
|
locale: t.locale,
|
|
3006
3078
|
messages: o
|
|
3007
3079
|
}, {
|
|
3008
|
-
default:
|
|
3009
|
-
S(a(
|
|
3010
|
-
default:
|
|
3011
|
-
|
|
3080
|
+
default: P(() => [
|
|
3081
|
+
S(a(Ve), null, {
|
|
3082
|
+
default: P(({ error: n, hasError: d }) => [
|
|
3083
|
+
d ? (u(), D(a(Te), {
|
|
3012
3084
|
key: 0,
|
|
3013
3085
|
error: n
|
|
3014
|
-
}, null, 8, ["error"])) :
|
|
3015
|
-
S(
|
|
3086
|
+
}, null, 8, ["error"])) : E("", !0),
|
|
3087
|
+
S(bl, {
|
|
3016
3088
|
"championship-name": e.championshipName,
|
|
3017
3089
|
locale: e.locale,
|
|
3018
3090
|
timezone: r.value
|
|
3019
3091
|
}, {
|
|
3020
|
-
default:
|
|
3021
|
-
S(
|
|
3022
|
-
S(
|
|
3023
|
-
columns: a(
|
|
3024
|
-
rows:
|
|
3025
|
-
"is-loading":
|
|
3092
|
+
default: P(({ rows: v, isLoading: c, values: h, listeners: w }) => [
|
|
3093
|
+
S(ir, Pt(h, zr(w)), null, 16),
|
|
3094
|
+
S(kl, {
|
|
3095
|
+
columns: a(wl),
|
|
3096
|
+
rows: v.rows,
|
|
3097
|
+
"is-loading": c,
|
|
3026
3098
|
"offset-name": i.value
|
|
3027
3099
|
}, null, 8, ["columns", "rows", "is-loading", "offset-name"])
|
|
3028
3100
|
]),
|
|
@@ -3035,7 +3107,7 @@ const vl = {
|
|
|
3035
3107
|
_: 1
|
|
3036
3108
|
}, 8, ["locale"]));
|
|
3037
3109
|
}
|
|
3038
|
-
},
|
|
3110
|
+
}, Sl = /* @__PURE__ */ fe(zl, [["styles", [we, nr, lr, sr, cr, mr, dr, _l]]]), $l = ["data-state", "onClick"], Cl = { class: "list" }, Tl = ["aria-selected", "onClick"], Nl = { class: "text" }, Il = /* @__PURE__ */ Object.assign({
|
|
3039
3111
|
inheritAttrs: !1
|
|
3040
3112
|
}, {
|
|
3041
3113
|
__name: "ChampionshipSelector",
|
|
@@ -3056,37 +3128,37 @@ const vl = {
|
|
|
3056
3128
|
emits: ["change"],
|
|
3057
3129
|
setup(e, { emit: t }) {
|
|
3058
3130
|
const o = t;
|
|
3059
|
-
return (r, i) => (u(),
|
|
3131
|
+
return (r, i) => (u(), D(a(Tr), {
|
|
3060
3132
|
offset: 2,
|
|
3061
3133
|
placement: "bottom-end",
|
|
3062
3134
|
theme: "content",
|
|
3063
3135
|
"append-to": e.target,
|
|
3064
3136
|
"is-arrow-visible": !1
|
|
3065
3137
|
}, {
|
|
3066
|
-
default:
|
|
3138
|
+
default: P(({ setRef: s, open: m, toggle: n }) => [
|
|
3067
3139
|
l("button", {
|
|
3068
|
-
ref:
|
|
3140
|
+
ref: s,
|
|
3069
3141
|
type: "button",
|
|
3070
3142
|
"data-state": m ? "open" : "closed",
|
|
3071
3143
|
class: "icon-button",
|
|
3072
3144
|
onClick: n
|
|
3073
3145
|
}, [
|
|
3074
|
-
S(a(
|
|
3075
|
-
], 8,
|
|
3146
|
+
S(a(fa), { style: { display: "block", height: "20px" } })
|
|
3147
|
+
], 8, $l)
|
|
3076
3148
|
]),
|
|
3077
|
-
content:
|
|
3078
|
-
l("ul",
|
|
3079
|
-
(u(!0),
|
|
3149
|
+
content: P(({ close: s }) => [
|
|
3150
|
+
l("ul", Cl, [
|
|
3151
|
+
(u(!0), y(B, null, ee(e.data, (m) => (u(), y("li", {
|
|
3080
3152
|
key: m.championshipId
|
|
3081
3153
|
}, [
|
|
3082
3154
|
l("button", {
|
|
3083
3155
|
class: oe({ "is-selected": e.selected === m.phaseId }),
|
|
3084
3156
|
"aria-selected": e.selected === m.phaseId,
|
|
3085
3157
|
type: "button",
|
|
3086
|
-
onClick: (n) => o("change", { item: m, close:
|
|
3158
|
+
onClick: (n) => o("change", { item: m, close: s(n) })
|
|
3087
3159
|
}, [
|
|
3088
|
-
l("div",
|
|
3089
|
-
], 10,
|
|
3160
|
+
l("div", Nl, f(m.name) + " - " + f(m.phase), 1)
|
|
3161
|
+
], 10, Tl)
|
|
3090
3162
|
]))), 128))
|
|
3091
3163
|
])
|
|
3092
3164
|
]),
|
|
@@ -3094,10 +3166,10 @@ const vl = {
|
|
|
3094
3166
|
}, 8, ["append-to"]));
|
|
3095
3167
|
}
|
|
3096
3168
|
});
|
|
3097
|
-
function
|
|
3169
|
+
function El(e) {
|
|
3098
3170
|
return e.map((t) => ({ ...t, w: vt([t.w, t.otw, t.sow]), l: vt([t.l, t.otl, t.sol]) }));
|
|
3099
3171
|
}
|
|
3100
|
-
const
|
|
3172
|
+
const Pl = {
|
|
3101
3173
|
__name: "DataProvider",
|
|
3102
3174
|
props: {
|
|
3103
3175
|
apiKey: {
|
|
@@ -3110,14 +3182,14 @@ const Sl = {
|
|
|
3110
3182
|
}
|
|
3111
3183
|
},
|
|
3112
3184
|
setup(e) {
|
|
3113
|
-
const t = e, { onError: o, reset: r } =
|
|
3185
|
+
const t = e, { onError: o, reset: r } = Qe(), i = ce({
|
|
3114
3186
|
championshipId: te(t.data).championshipId,
|
|
3115
3187
|
phaseId: te(t.data).phaseId,
|
|
3116
3188
|
path: te(t.data)?.path ?? "",
|
|
3117
3189
|
championshipName: te(t.data).name,
|
|
3118
3190
|
phaseName: te(t.data)?.phase ?? null,
|
|
3119
3191
|
isPlayoffs: te(t.data)?.isPlayoffs ?? !1
|
|
3120
|
-
}), { state:
|
|
3192
|
+
}), { state: s, isLoading: m, execute: n } = re({
|
|
3121
3193
|
options: {
|
|
3122
3194
|
path: I(() => i.isPlayoffs ? "/v2/playoffs-tree" : "/v2/standings"),
|
|
3123
3195
|
apiKey: t.apiKey,
|
|
@@ -3125,20 +3197,20 @@ const Sl = {
|
|
|
3125
3197
|
resetOnExecute: !0,
|
|
3126
3198
|
immediate: !0
|
|
3127
3199
|
},
|
|
3128
|
-
transform: (
|
|
3200
|
+
transform: (h) => El(h),
|
|
3129
3201
|
onError: o
|
|
3130
|
-
}),
|
|
3202
|
+
}), d = I(() => Ne(s.value).addContinuousIndex().value()), v = I(() => ({
|
|
3131
3203
|
tag: i.path ? "a" : "span",
|
|
3132
3204
|
props: {
|
|
3133
3205
|
...i.path && { href: i.path }
|
|
3134
3206
|
}
|
|
3135
3207
|
}));
|
|
3136
|
-
function
|
|
3137
|
-
i.championshipId =
|
|
3208
|
+
function c({ item: { championshipId: h, phaseId: w, name: g, path: _, phase: x, isPlayoffs: C }, close: z }) {
|
|
3209
|
+
i.championshipId = h, i.path = _ || "", i.phaseId = w, i.championshipName = g, i.phaseName = x, i.isPlayoffs = C || !1, r(), n(), z?.();
|
|
3138
3210
|
}
|
|
3139
|
-
return (
|
|
3211
|
+
return (h, w) => ke(h.$slots, "default", Ue(Ke({ convertedRows: d.value, isLoading: a(m), ...i, componentProps: v.value, onChange: c })));
|
|
3140
3212
|
}
|
|
3141
|
-
},
|
|
3213
|
+
}, Dl = { class: "playoffs" }, Ll = { class: "section-title" }, Ml = { class: "responsive-team-name font-bold text-highlighted" }, Al = { class: "team-name-short" }, Ol = { class: "team-name-long" }, Rl = { class: "badge lg inverted" }, jl = { class: "responsive-team-name font-bold text-highlighted" }, Gl = { class: "team-name-short" }, Yl = { class: "team-name-long" }, Bl = {
|
|
3142
3214
|
__name: "PlayoffsList",
|
|
3143
3215
|
props: {
|
|
3144
3216
|
playoffs: {
|
|
@@ -3151,40 +3223,40 @@ const Sl = {
|
|
|
3151
3223
|
}
|
|
3152
3224
|
},
|
|
3153
3225
|
setup(e) {
|
|
3154
|
-
const { t } =
|
|
3155
|
-
return (o, r) => (u(),
|
|
3156
|
-
default:
|
|
3157
|
-
l("div",
|
|
3158
|
-
e.isLoading ? (u(),
|
|
3159
|
-
(u(!0),
|
|
3226
|
+
const { t } = me();
|
|
3227
|
+
return (o, r) => (u(), D(a(Mt), null, {
|
|
3228
|
+
default: P(() => [
|
|
3229
|
+
l("div", Dl, [
|
|
3230
|
+
e.isLoading ? (u(), D(a(qe), { key: 0 })) : E("", !0),
|
|
3231
|
+
(u(!0), y(B, null, ee(e.playoffs, (i) => (u(), y("div", {
|
|
3160
3232
|
key: `${i.divisionStage2Name}-${i.divisionStageNumber}`,
|
|
3161
3233
|
class: "section"
|
|
3162
3234
|
}, [
|
|
3163
|
-
l("div",
|
|
3235
|
+
l("div", Ll, f(a(t)(`playoffs.${i.divisionStage2Name}${i.divisionStageNumber || ""}`)), 1),
|
|
3164
3236
|
l("ul", null, [
|
|
3165
|
-
l("li",
|
|
3237
|
+
l("li", Ml, [
|
|
3166
3238
|
l("div", null, [
|
|
3167
|
-
l("span",
|
|
3168
|
-
l("span",
|
|
3239
|
+
l("span", Al, f(i.homeTeam.shortName), 1),
|
|
3240
|
+
l("span", Ol, f(i.homeTeam.longName), 1)
|
|
3169
3241
|
])
|
|
3170
3242
|
]),
|
|
3171
3243
|
l("li", null, [
|
|
3172
|
-
S(a(
|
|
3244
|
+
S(a(le), {
|
|
3173
3245
|
src: i.homeTeam.logo
|
|
3174
3246
|
}, null, 8, ["src"])
|
|
3175
3247
|
]),
|
|
3176
3248
|
l("li", null, [
|
|
3177
|
-
l("span",
|
|
3249
|
+
l("span", Rl, f(i.seriesStandings), 1)
|
|
3178
3250
|
]),
|
|
3179
3251
|
l("li", null, [
|
|
3180
|
-
S(a(
|
|
3252
|
+
S(a(le), {
|
|
3181
3253
|
src: i.awayTeam.logo
|
|
3182
3254
|
}, null, 8, ["src"])
|
|
3183
3255
|
]),
|
|
3184
|
-
l("li",
|
|
3256
|
+
l("li", jl, [
|
|
3185
3257
|
l("div", null, [
|
|
3186
|
-
l("span",
|
|
3187
|
-
l("span",
|
|
3258
|
+
l("span", Gl, f(i.awayTeam.shortName), 1),
|
|
3259
|
+
l("span", Yl, f(i.awayTeam.longName), 1)
|
|
3188
3260
|
])
|
|
3189
3261
|
])
|
|
3190
3262
|
])
|
|
@@ -3194,7 +3266,7 @@ const Sl = {
|
|
|
3194
3266
|
_: 1
|
|
3195
3267
|
}));
|
|
3196
3268
|
}
|
|
3197
|
-
}, Al = "@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{display:inline-block;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}}", Ol = "@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%}}", Rl = '@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)}}", 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)}:where(.unordered-list){display:grid;align-items:center}:where(.unordered-list) li{display:flex;align-items:center;gap:var(--size-4);color:var(--mvw-text-default);padding:var(--size-6) var(--size-4)}:where(.unordered-list) li:not(:first-child){border-top:1px solid var(--mvw-border-muted)}:where(.unordered-list).centered li{justify-content:center}@media (width > 500px){:where(.unordered-list){display:flex}:where(.unordered-list) li:not(:first-child){border-top:none}:where(.unordered-list) li:not(:first-of-type):before{content:"/";margin-inline-end:var(--size-6);color:var(--mvw-border-muted)}}}', Yl = "@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)}}", Bl = "@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" }, Kl = { class: "standings-selector-title" }, Vl = {
|
|
3269
|
+
}, Fl = "@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{display:inline-block;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}}", Ul = "@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%}}", Kl = '@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)}}', Vl = "@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)}}", ql = '@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)}:where(.unordered-list){display:grid;align-items:center}:where(.unordered-list) li{display:flex;align-items:center;gap:var(--size-4);color:var(--mvw-text-default);padding:var(--size-6) var(--size-4)}:where(.unordered-list) li:not(:first-child){border-top:1px solid var(--mvw-border-muted)}:where(.unordered-list).centered li{justify-content:center}@media (width > 500px){:where(.unordered-list){display:flex}:where(.unordered-list) li:not(:first-child){border-top:none}:where(.unordered-list) li:not(:first-of-type):before{content:"/";margin-inline-end:var(--size-6);color:var(--mvw-border-muted)}}}', Hl = "@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)}}", Wl = "@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)}}", Jl = "@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}}", Ql = { class: "standings-selector" }, Xl = { class: "standings-selector-title" }, Zl = {
|
|
3198
3270
|
__name: "StandingsSelector.ce",
|
|
3199
3271
|
props: {
|
|
3200
3272
|
locale: {
|
|
@@ -3211,53 +3283,53 @@ const Sl = {
|
|
|
3211
3283
|
}
|
|
3212
3284
|
},
|
|
3213
3285
|
setup(e) {
|
|
3214
|
-
const t = e, o = { en: pe, hu: ge }, r =
|
|
3215
|
-
return (
|
|
3286
|
+
const t = e, o = { en: pe, hu: ge }, r = j(null), i = I(() => typeof t.data == "string" ? JSON.parse(t.data) : t.data);
|
|
3287
|
+
return (s, m) => (u(), D(a(he), {
|
|
3216
3288
|
locale: t.locale,
|
|
3217
3289
|
messages: o
|
|
3218
3290
|
}, {
|
|
3219
|
-
default:
|
|
3220
|
-
S(a(
|
|
3221
|
-
default:
|
|
3222
|
-
S(
|
|
3223
|
-
default:
|
|
3224
|
-
l("div",
|
|
3225
|
-
l("div",
|
|
3226
|
-
(u(),
|
|
3227
|
-
default:
|
|
3228
|
-
l("b", null,
|
|
3229
|
-
q(" - " +
|
|
3230
|
-
|
|
3291
|
+
default: P(() => [
|
|
3292
|
+
S(a(Ve), null, {
|
|
3293
|
+
default: P(({ error: n, hasError: d }) => [
|
|
3294
|
+
S(Pl, { data: i.value }, {
|
|
3295
|
+
default: P(({ convertedRows: v, isLoading: c, path: h, phaseName: w, componentProps: g, championshipName: _, phaseId: x, isPlayoffs: C, onChange: z }) => [
|
|
3296
|
+
l("div", Ql, [
|
|
3297
|
+
l("div", Xl, [
|
|
3298
|
+
(u(), D(Sr(g.tag), Pt(g.props, { class: "is-title-text" }), {
|
|
3299
|
+
default: P(() => [
|
|
3300
|
+
l("b", null, f(_), 1),
|
|
3301
|
+
q(" - " + f(w) + " ", 1),
|
|
3302
|
+
h ? (u(), D(a(dt), { key: 0 })) : E("", !0)
|
|
3231
3303
|
]),
|
|
3232
3304
|
_: 2
|
|
3233
3305
|
}, 1040)),
|
|
3234
|
-
i.value.length > 1 ? (u(),
|
|
3306
|
+
i.value.length > 1 ? (u(), D(Il, {
|
|
3235
3307
|
key: 0,
|
|
3236
3308
|
data: i.value,
|
|
3237
|
-
selected:
|
|
3309
|
+
selected: x,
|
|
3238
3310
|
target: r.value,
|
|
3239
3311
|
onChange: z
|
|
3240
|
-
}, null, 8, ["data", "selected", "target", "onChange"])) :
|
|
3312
|
+
}, null, 8, ["data", "selected", "target", "onChange"])) : E("", !0)
|
|
3241
3313
|
]),
|
|
3242
|
-
C ? (u(),
|
|
3314
|
+
C ? (u(), D(Bl, {
|
|
3243
3315
|
key: 0,
|
|
3244
|
-
playoffs:
|
|
3245
|
-
"is-loading":
|
|
3246
|
-
}, null, 8, ["playoffs", "is-loading"])) : (u(),
|
|
3316
|
+
playoffs: v.rows,
|
|
3317
|
+
"is-loading": c
|
|
3318
|
+
}, null, 8, ["playoffs", "is-loading"])) : (u(), D(a(Dt), {
|
|
3247
3319
|
key: 1,
|
|
3248
|
-
"is-loading":
|
|
3249
|
-
columns: a(
|
|
3250
|
-
rows:
|
|
3320
|
+
"is-loading": c,
|
|
3321
|
+
columns: a(Wr),
|
|
3322
|
+
rows: v.rows,
|
|
3251
3323
|
"append-to": r.value,
|
|
3252
3324
|
"external-team-resolver": () => {
|
|
3253
3325
|
}
|
|
3254
3326
|
}, null, 8, ["is-loading", "columns", "rows", "append-to"])),
|
|
3255
|
-
S(a(
|
|
3256
|
-
rows:
|
|
3327
|
+
S(a(Oe), {
|
|
3328
|
+
rows: v.rows,
|
|
3257
3329
|
"additional-key": "inheritedPoints"
|
|
3258
3330
|
}, null, 8, ["rows"]),
|
|
3259
|
-
S(a(
|
|
3260
|
-
rows:
|
|
3331
|
+
S(a(Oe), {
|
|
3332
|
+
rows: v.rows,
|
|
3261
3333
|
"additional-key": "penaltyPoints"
|
|
3262
3334
|
}, null, 8, ["rows"])
|
|
3263
3335
|
]),
|
|
@@ -3268,10 +3340,10 @@ const Sl = {
|
|
|
3268
3340
|
]),
|
|
3269
3341
|
_: 1
|
|
3270
3342
|
}, 8, ["data"]),
|
|
3271
|
-
|
|
3343
|
+
d ? (u(), D(a(Te), {
|
|
3272
3344
|
key: 0,
|
|
3273
3345
|
error: n
|
|
3274
|
-
}, null, 8, ["error"])) :
|
|
3346
|
+
}, null, 8, ["error"])) : E("", !0)
|
|
3275
3347
|
]),
|
|
3276
3348
|
_: 1
|
|
3277
3349
|
})
|
|
@@ -3279,28 +3351,28 @@ const Sl = {
|
|
|
3279
3351
|
_: 1
|
|
3280
3352
|
}, 8, ["locale"]));
|
|
3281
3353
|
}
|
|
3282
|
-
},
|
|
3283
|
-
function
|
|
3284
|
-
customElements.define("mjsz-vbr-calendar",
|
|
3354
|
+
}, es = /* @__PURE__ */ fe(Zl, [["styles", [we, Fl, Ul, Kl, Vl, ql, Hl, Wl, Jl]]]), ts = ue(gi), rs = ue(Bi), os = ue(Sl), as = ue(Kn), is = ue(es), ns = ue(vn), ls = ue(hl);
|
|
3355
|
+
function ss() {
|
|
3356
|
+
customElements.define("mjsz-vbr-calendar", ts), customElements.define("mjsz-vbr-championship", rs), customElements.define("mjsz-vbr-schedule-cup", os), customElements.define("mjsz-vbr-games-timeline", as), customElements.define("mjsz-vbr-standings-selector", is), customElements.define("mjsz-vbr-countdown", ns), customElements.define("mjsz-vbr-recruitment-info", ls);
|
|
3285
3357
|
}
|
|
3286
|
-
const
|
|
3287
|
-
install: () =>
|
|
3358
|
+
const ws = {
|
|
3359
|
+
install: () => ss()
|
|
3288
3360
|
};
|
|
3289
3361
|
export {
|
|
3290
|
-
|
|
3291
|
-
|
|
3292
|
-
|
|
3293
|
-
|
|
3294
|
-
|
|
3295
|
-
|
|
3296
|
-
|
|
3297
|
-
|
|
3298
|
-
|
|
3299
|
-
|
|
3300
|
-
|
|
3301
|
-
|
|
3302
|
-
|
|
3303
|
-
|
|
3304
|
-
|
|
3305
|
-
|
|
3362
|
+
gi as Calendar,
|
|
3363
|
+
ts as CalendarCE,
|
|
3364
|
+
Bi as Championship,
|
|
3365
|
+
rs as ChampionshipCE,
|
|
3366
|
+
vn as Countdown,
|
|
3367
|
+
ns as CountdownCE,
|
|
3368
|
+
Kn as GamesTimeline,
|
|
3369
|
+
as as GamesTimelineCE,
|
|
3370
|
+
hl as RecruitmentInfo,
|
|
3371
|
+
ls as RecruitmentInfoCE,
|
|
3372
|
+
Sl as ScheduleCup,
|
|
3373
|
+
os as ScheduleCupCE,
|
|
3374
|
+
es as StandingsSelector,
|
|
3375
|
+
is as StandingsSelectorCE,
|
|
3376
|
+
ws as default,
|
|
3377
|
+
ss as register
|
|
3306
3378
|
};
|