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