@mjsz-vbr-elements/liga 2.19.2 → 2.20.1
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 +913 -912
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* name: @mjsz-vbr-elements/liga
|
|
3
|
-
* version: v2.
|
|
3
|
+
* version: v2.20.1 - 11/03/2025, 18:23:03
|
|
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 { getCurrentScope as
|
|
9
|
-
import { ResponsiveTable as ie, DataTable as ce, FloatingPanel as ha, Image as V, I18NProvider as
|
|
10
|
-
import { useError as
|
|
11
|
-
import { WidgetError as xa, InvalidSeasonName as Ze, yearToNow as
|
|
8
|
+
import { getCurrentScope as gr, onScopeDispose as pr, ref as K, isRef as Ie, watch as se, readonly as ba, nextTick as ma, toValue as $e, reactive as Z, computed as _, getCurrentInstance as ur, unref as n, renderSlot as xe, normalizeProps as ke, guardReactiveProps as _e, openBlock as c, createBlock as $, withCtx as k, createVNode as w, createElementVNode as d, normalizeClass as G, toDisplayString as b, createElementBlock as h, createCommentVNode as I, createTextVNode as W, setBlockTracking as Wt, Fragment as O, renderList as U, toRefs as va, toRef as br, withDirectives as mr, vModelText as vr, mergeProps as hr, toHandlers as fr, defineCustomElement as de } from "vue";
|
|
9
|
+
import { ResponsiveTable as ie, DataTable as ce, FloatingPanel as ha, Image as V, I18NProvider as ge, ErrorProvider as ze, ErrorNotice as Se, SeasonSelector as fa, Paginator as ya, LoadingIndicator as at, BaseSelect as re, TimezoneSelector as yr, AdditionalStandingsText as Yt, StatisticsTable as wr } from "@mjsz-vbr-elements/core/components";
|
|
10
|
+
import { useError as pe, useServices as D, useI18n as Q, useColumns as ee, usePage as wa, useSort as At, useLazyLoadingState as Lt, useScrollToGameDate as xr, useVisibilityChange as kr, fetchVBRData as Be } from "@mjsz-vbr-elements/core/composables";
|
|
11
|
+
import { WidgetError as xa, InvalidSeasonName as Ze, yearToNow as _r, rawConvert as rt, teamName as ot, convertTimesMinToMinSec as ka, sortGames as Ct, gameDateTime as _a, teamResultType as za, gameResult as Sa, teamOpponent as Ta, getLocalTimezone as it, offsetName as Et, externalGameLinkResolver as nt, flagResolver as Ia, playerName as lt, convert as Oe, externalPlayerLinkResolver as Ot, externalTeamLinkResolver as st, format as et, isBetween as zr, scrollToTop as Ht, convertPhaseName as Sr, convertTimesSecToMin as Tr, upperCase as Ir, localeSort as Jt } from "@mjsz-vbr-elements/core/utils";
|
|
12
12
|
import * as xt from "@mjsz-vbr-elements/core";
|
|
13
|
-
import { SORT_STATE_ASCEND as Ce, DEFAULT_PORTRAIT_IMAGE_URL as
|
|
13
|
+
import { SORT_STATE_ASCEND as Ce, DEFAULT_PORTRAIT_IMAGE_URL as Pr, gameProps as Pa, REFRESH_DELAY as Xt, SORT_STATE_DESCEND as B, playerStatsProps as Nr, teamStatsProps as $r } from "@mjsz-vbr-elements/core";
|
|
14
14
|
import { COLUMNS_STANDINGS_P_3 as Ar, COLUMNS_FIELD_PLAYERS as Ve, COLUMNS_FIELD_PLAYERS_PENALTY as Lr, COLUMNS_FIELD_PLAYERS_TOI as Cr, COLUMNS_GOALIES as Qt, COLUMNS_TEAM_ATTENDANCE as Er, COLUMNS_TEAMS_FAIRPLAY as Or, COLUMNS_TEAMS_PENALTY_KILLING as jr, COLUMNS_TEAMS_POWERPLAY as Rr, COLUMNS_SCORING_EFFICIENCY as Fr } from "@mjsz-vbr-elements/core/columns";
|
|
15
15
|
import { DEFAULT_PORTRAIT_IMAGE_URL as Zt } from "@mjsz-vbr-elements/core/constants";
|
|
16
16
|
const Gr = { report: "Report", video: "Video", season: "Season", section: "Section", phases: "Phases", noPhases: "No Phases", teams: "Teams", filterName: "Filter by Name", players: "Players", month: "Month", homeOrAway: "Home or Away", home: "Home", away: "Away" }, Mr = { nationality: { short: "Nationality", tooltip: "Nationality" }, birthDate: { short: "Birth Date", tooltip: "Birth Date" }, birthPlace: { short: "Birth Place", tooltip: "Birth Place" }, season: { short: "Season", tooltip: "Season" }, pp: { short: "PP", tooltip: "powerplay" }, pk: { short: "PK", tooltip: "Penalty Killing" } }, Dr = { toi: "Time On Ice", 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" }, Kr = { Negyeddöntő: "Quarterfinal", Elődöntő: "Semifinal", Döntő: "Final" }, Ur = { tabs: { teamInfo: "Informations", games: "Games" }, goalies: "Goalies", defenders: "Defenders", forwards: "Forwards", fieldPlayers: "Field Players", games: "Games", teamInfo: "Organization Informations", roster: "Roster", playerStats: "Player Stats", info: { organizationName: "Organization name:", organizationCountry: "Organization country:", organizationEmail: "Organization e-mail:", organizationWebpage: "Organization homepage:", organizationPhoneNumber: "Organization phone number:", organizationAddresses: "Organization address:", organizationFoundingDate: "Organization founding year:" } }, Br = { age: "{years} old", games: "Games", seasons: "Seasons" }, Vr = { live: "Live", default: "Overall" }, qr = { hu: "Hungarian", ro: "Romanian", us: "American", il: "Izraelian", ca: "Canadian", lv: "Latvian", ee: "Estonian", ru: "Russian", fi: "Finnish", si: "Slovenian", sk: "Slovakian", nl: "Netherlands", by: "Belarusian", cz: "Czech", ua: "Ukrainian", lt: "Lithuanian", it: "Italian", "gb-eng": "English", rs: "Serbian", se: "Swedish", de: "German", gb: "British", kz: "Kazah", dk: "Danish", pl: "Polish", at: "Austrian", ch: "Swiss", fr: "French", es: "Spanish", hr: "Croatian", no: "Norwegian" }, ue = {
|
|
@@ -33,7 +33,7 @@ const Gr = { report: "Report", video: "Video", season: "Season", section: "Secti
|
|
|
33
33
|
nationality: eo
|
|
34
34
|
};
|
|
35
35
|
function je(e) {
|
|
36
|
-
return
|
|
36
|
+
return gr() ? (pr(e), !0) : !1;
|
|
37
37
|
}
|
|
38
38
|
const Re = typeof window < "u" && typeof document < "u";
|
|
39
39
|
typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
|
|
@@ -47,8 +47,8 @@ function oo(e, t) {
|
|
|
47
47
|
}
|
|
48
48
|
return a;
|
|
49
49
|
}
|
|
50
|
-
const
|
|
51
|
-
function io(e =
|
|
50
|
+
const Na = (e) => e();
|
|
51
|
+
function io(e = Na) {
|
|
52
52
|
const t = K(!0);
|
|
53
53
|
function a() {
|
|
54
54
|
t.value = !1;
|
|
@@ -66,7 +66,7 @@ function kt(e) {
|
|
|
66
66
|
}
|
|
67
67
|
function no(e, t, a = {}) {
|
|
68
68
|
const {
|
|
69
|
-
eventFilter: r =
|
|
69
|
+
eventFilter: r = Na,
|
|
70
70
|
...o
|
|
71
71
|
} = a;
|
|
72
72
|
return se(
|
|
@@ -105,23 +105,23 @@ function so(e, t = 1e3, a = {}) {
|
|
|
105
105
|
function g() {
|
|
106
106
|
l.value = !1, s();
|
|
107
107
|
}
|
|
108
|
-
function
|
|
108
|
+
function u() {
|
|
109
109
|
const v = $e(t);
|
|
110
110
|
v <= 0 || (l.value = !0, o && e(), s(), l.value && (i = setInterval(e, v)));
|
|
111
111
|
}
|
|
112
|
-
if (r && Re &&
|
|
112
|
+
if (r && Re && u(), Ie(t) || typeof t == "function") {
|
|
113
113
|
const v = se(t, () => {
|
|
114
|
-
l.value && Re &&
|
|
114
|
+
l.value && Re && u();
|
|
115
115
|
});
|
|
116
116
|
je(v);
|
|
117
117
|
}
|
|
118
118
|
return je(g), {
|
|
119
119
|
isActive: l,
|
|
120
120
|
pause: g,
|
|
121
|
-
resume:
|
|
121
|
+
resume: u
|
|
122
122
|
};
|
|
123
123
|
}
|
|
124
|
-
function
|
|
124
|
+
function $a(e, t, a = {}) {
|
|
125
125
|
const {
|
|
126
126
|
immediate: r = !0
|
|
127
127
|
} = a, o = K(!1);
|
|
@@ -132,9 +132,9 @@ function Na(e, t, a = {}) {
|
|
|
132
132
|
function s() {
|
|
133
133
|
o.value = !1, l();
|
|
134
134
|
}
|
|
135
|
-
function g(...
|
|
135
|
+
function g(...u) {
|
|
136
136
|
l(), o.value = !0, i = setTimeout(() => {
|
|
137
|
-
o.value = !1, i = null, e(...
|
|
137
|
+
o.value = !1, i = null, e(...u);
|
|
138
138
|
}, $e(t));
|
|
139
139
|
}
|
|
140
140
|
return r && (o.value = !0, Re && g()), je(s), {
|
|
@@ -153,12 +153,12 @@ function co(e, t, a) {
|
|
|
153
153
|
}
|
|
154
154
|
);
|
|
155
155
|
}
|
|
156
|
-
function
|
|
156
|
+
function go(e, t, a) {
|
|
157
157
|
const r = se(e, (...o) => (ma(() => r()), t(...o)), a);
|
|
158
158
|
return r;
|
|
159
159
|
}
|
|
160
|
-
const
|
|
161
|
-
function
|
|
160
|
+
const Aa = Re ? window : void 0;
|
|
161
|
+
function La(e) {
|
|
162
162
|
var t;
|
|
163
163
|
const a = $e(e);
|
|
164
164
|
return (t = a == null ? void 0 : a.$el) != null ? t : a;
|
|
@@ -166,28 +166,28 @@ function Aa(e) {
|
|
|
166
166
|
function ea(...e) {
|
|
167
167
|
const t = [], a = () => {
|
|
168
168
|
t.forEach((s) => s()), t.length = 0;
|
|
169
|
-
}, r = (s, g,
|
|
169
|
+
}, r = (s, g, u, v) => (s.addEventListener(g, u, v), () => s.removeEventListener(g, u, v)), o = _(() => {
|
|
170
170
|
const s = kt($e(e[0])).filter((g) => g != null);
|
|
171
171
|
return s.every((g) => typeof g != "string") ? s : void 0;
|
|
172
172
|
}), i = co(
|
|
173
173
|
() => {
|
|
174
174
|
var s, g;
|
|
175
175
|
return [
|
|
176
|
-
(g = (s = o.value) == null ? void 0 : s.map((
|
|
176
|
+
(g = (s = o.value) == null ? void 0 : s.map((u) => La(u))) != null ? g : [Aa].filter((u) => u != null),
|
|
177
177
|
kt($e(o.value ? e[1] : e[0])),
|
|
178
178
|
kt(n(o.value ? e[2] : e[1])),
|
|
179
179
|
// @ts-expect-error - TypeScript gets the correct types, but somehow still complains
|
|
180
180
|
$e(o.value ? e[3] : e[2])
|
|
181
181
|
];
|
|
182
182
|
},
|
|
183
|
-
([s, g,
|
|
184
|
-
if (a(), !(s != null && s.length) || !(g != null && g.length) || !(
|
|
183
|
+
([s, g, u, v]) => {
|
|
184
|
+
if (a(), !(s != null && s.length) || !(g != null && g.length) || !(u != null && u.length))
|
|
185
185
|
return;
|
|
186
|
-
const
|
|
186
|
+
const f = ro(v) ? { ...v } : v;
|
|
187
187
|
t.push(
|
|
188
188
|
...s.flatMap(
|
|
189
189
|
(m) => g.flatMap(
|
|
190
|
-
(p) =>
|
|
190
|
+
(p) => u.map((x) => r(m, p, x, f))
|
|
191
191
|
)
|
|
192
192
|
)
|
|
193
193
|
);
|
|
@@ -209,33 +209,33 @@ function te(e, t) {
|
|
|
209
209
|
fulfilled: "fulfilled",
|
|
210
210
|
pending: "pending",
|
|
211
211
|
rejected: "rejected"
|
|
212
|
-
}, s = Array.from(Array.from({ length: e.length }), () => ({ state: l.pending, data: null })), g = Z(s),
|
|
212
|
+
}, s = Array.from(Array.from({ length: e.length }), () => ({ state: l.pending, data: null })), g = Z(s), u = K(-1);
|
|
213
213
|
if (!e || e.length === 0)
|
|
214
214
|
return o(), {
|
|
215
|
-
activeIndex:
|
|
215
|
+
activeIndex: u,
|
|
216
216
|
result: g
|
|
217
217
|
};
|
|
218
|
-
function v(
|
|
219
|
-
|
|
218
|
+
function v(f, m) {
|
|
219
|
+
u.value++, g[u.value].data = m, g[u.value].state = f;
|
|
220
220
|
}
|
|
221
|
-
return e.reduce((
|
|
222
|
-
var
|
|
221
|
+
return e.reduce((f, m) => f.then((p) => {
|
|
222
|
+
var x;
|
|
223
223
|
if (i != null && i.aborted) {
|
|
224
224
|
v(l.aborted, new Error("aborted"));
|
|
225
225
|
return;
|
|
226
226
|
}
|
|
227
|
-
if (((
|
|
227
|
+
if (((x = g[u.value]) == null ? void 0 : x.state) === l.rejected && a) {
|
|
228
228
|
o();
|
|
229
229
|
return;
|
|
230
230
|
}
|
|
231
|
-
const P = m(p).then((
|
|
232
|
-
return i ? Promise.race([P,
|
|
231
|
+
const P = m(p).then((A) => (v(l.fulfilled, A), u.value === e.length - 1 && o(), A));
|
|
232
|
+
return i ? Promise.race([P, po(i)]) : P;
|
|
233
233
|
}).catch((p) => i != null && i.aborted ? (v(l.aborted, p), p) : (v(l.rejected, p), r(), p)), Promise.resolve()), {
|
|
234
|
-
activeIndex:
|
|
234
|
+
activeIndex: u,
|
|
235
235
|
result: g
|
|
236
236
|
};
|
|
237
237
|
}
|
|
238
|
-
function
|
|
238
|
+
function po(e) {
|
|
239
239
|
return new Promise((t, a) => {
|
|
240
240
|
const r = new Error("aborted");
|
|
241
241
|
e.aborted ? a(r) : e.addEventListener("abort", () => a(r), { once: !0 });
|
|
@@ -247,7 +247,7 @@ function uo(e) {
|
|
|
247
247
|
function bo(e, t, a = {}) {
|
|
248
248
|
const {
|
|
249
249
|
immediate: r = !0
|
|
250
|
-
} = a, { start: o } =
|
|
250
|
+
} = a, { start: o } = $a(l, t, { immediate: !1 }), i = K(!1);
|
|
251
251
|
async function l() {
|
|
252
252
|
i.value && (await e(), o());
|
|
253
253
|
}
|
|
@@ -270,22 +270,22 @@ function Te(e = "history", t = {}) {
|
|
|
270
270
|
removeFalsyValues: o = !1,
|
|
271
271
|
write: i = !0,
|
|
272
272
|
writeMode: l = "replace",
|
|
273
|
-
window: s =
|
|
273
|
+
window: s = Aa
|
|
274
274
|
} = t;
|
|
275
275
|
if (!s)
|
|
276
276
|
return Z(a);
|
|
277
277
|
const g = Z({});
|
|
278
|
-
function
|
|
278
|
+
function u() {
|
|
279
279
|
if (e === "history")
|
|
280
280
|
return s.location.search || "";
|
|
281
281
|
if (e === "hash") {
|
|
282
|
-
const
|
|
283
|
-
return S > 0 ?
|
|
282
|
+
const y = s.location.hash || "", S = y.indexOf("?");
|
|
283
|
+
return S > 0 ? y.slice(S) : "";
|
|
284
284
|
} else
|
|
285
285
|
return (s.location.hash || "").replace(/^#/, "");
|
|
286
286
|
}
|
|
287
|
-
function v(
|
|
288
|
-
const S =
|
|
287
|
+
function v(y) {
|
|
288
|
+
const S = y.toString();
|
|
289
289
|
if (e === "history")
|
|
290
290
|
return `${S ? `?${S}` : ""}${s.location.hash || ""}`;
|
|
291
291
|
if (e === "hash-params")
|
|
@@ -293,45 +293,45 @@ function Te(e = "history", t = {}) {
|
|
|
293
293
|
const T = s.location.hash || "#", C = T.indexOf("?");
|
|
294
294
|
return C > 0 ? `${s.location.search || ""}${T.slice(0, C)}${S ? `?${S}` : ""}` : `${s.location.search || ""}${T}${S ? `?${S}` : ""}`;
|
|
295
295
|
}
|
|
296
|
-
function
|
|
297
|
-
return new URLSearchParams(
|
|
296
|
+
function f() {
|
|
297
|
+
return new URLSearchParams(u());
|
|
298
298
|
}
|
|
299
|
-
function m(
|
|
299
|
+
function m(y) {
|
|
300
300
|
const S = new Set(Object.keys(g));
|
|
301
|
-
for (const T of
|
|
302
|
-
const C =
|
|
303
|
-
g[T] = C.length > 1 ? C :
|
|
301
|
+
for (const T of y.keys()) {
|
|
302
|
+
const C = y.getAll(T);
|
|
303
|
+
g[T] = C.length > 1 ? C : y.get(T) || "", S.delete(T);
|
|
304
304
|
}
|
|
305
305
|
Array.from(S).forEach((T) => delete g[T]);
|
|
306
306
|
}
|
|
307
|
-
const { pause: p, resume:
|
|
307
|
+
const { pause: p, resume: x } = lo(
|
|
308
308
|
g,
|
|
309
309
|
() => {
|
|
310
|
-
const
|
|
310
|
+
const y = new URLSearchParams("");
|
|
311
311
|
Object.keys(g).forEach((S) => {
|
|
312
312
|
const T = g[S];
|
|
313
|
-
Array.isArray(T) ? T.forEach((C) =>
|
|
314
|
-
}), P(
|
|
313
|
+
Array.isArray(T) ? T.forEach((C) => y.append(S, C)) : r && T == null || o && !T ? y.delete(S) : y.set(S, T);
|
|
314
|
+
}), P(y, !1);
|
|
315
315
|
},
|
|
316
316
|
{ deep: !0 }
|
|
317
317
|
);
|
|
318
|
-
function P(
|
|
319
|
-
p(), S && m(
|
|
318
|
+
function P(y, S) {
|
|
319
|
+
p(), S && m(y), l === "replace" ? s.history.replaceState(
|
|
320
320
|
s.history.state,
|
|
321
321
|
s.document.title,
|
|
322
|
-
s.location.pathname + v(
|
|
322
|
+
s.location.pathname + v(y)
|
|
323
323
|
) : s.history.pushState(
|
|
324
324
|
s.history.state,
|
|
325
325
|
s.document.title,
|
|
326
|
-
s.location.pathname + v(
|
|
327
|
-
),
|
|
326
|
+
s.location.pathname + v(y)
|
|
327
|
+
), x();
|
|
328
328
|
}
|
|
329
|
-
function
|
|
330
|
-
i && P(
|
|
329
|
+
function A() {
|
|
330
|
+
i && P(f(), !0);
|
|
331
331
|
}
|
|
332
|
-
const
|
|
333
|
-
ea(s, "popstate",
|
|
334
|
-
const L =
|
|
332
|
+
const z = { passive: !0 };
|
|
333
|
+
ea(s, "popstate", A, z), e !== "history" && ea(s, "hashchange", A, z);
|
|
334
|
+
const L = f();
|
|
335
335
|
return L.keys().next().value ? m(L) : Object.assign(g, a), g;
|
|
336
336
|
}
|
|
337
337
|
function mo(e, t, a, r = {}) {
|
|
@@ -339,23 +339,23 @@ function mo(e, t, a, r = {}) {
|
|
|
339
339
|
const {
|
|
340
340
|
clone: s = !1,
|
|
341
341
|
passive: g = !1,
|
|
342
|
-
eventName:
|
|
342
|
+
eventName: u,
|
|
343
343
|
deep: v = !1,
|
|
344
|
-
defaultValue:
|
|
344
|
+
defaultValue: f,
|
|
345
345
|
shouldEmit: m
|
|
346
|
-
} = r, p =
|
|
347
|
-
let P =
|
|
346
|
+
} = r, p = ur(), x = a || (p == null ? void 0 : p.emit) || ((o = p == null ? void 0 : p.$emit) == null ? void 0 : o.bind(p)) || ((l = (i = p == null ? void 0 : p.proxy) == null ? void 0 : i.$emit) == null ? void 0 : l.bind(p == null ? void 0 : p.proxy));
|
|
347
|
+
let P = u;
|
|
348
348
|
t || (t = "modelValue"), P = P || `update:${t.toString()}`;
|
|
349
|
-
const
|
|
350
|
-
m ? m(
|
|
349
|
+
const A = (y) => s ? typeof s == "function" ? s(y) : uo(y) : y, z = () => to(e[t]) ? A(e[t]) : f, L = (y) => {
|
|
350
|
+
m ? m(y) && x(P, y) : x(P, y);
|
|
351
351
|
};
|
|
352
352
|
if (g) {
|
|
353
|
-
const
|
|
353
|
+
const y = z(), S = K(y);
|
|
354
354
|
let T = !1;
|
|
355
355
|
return se(
|
|
356
356
|
() => e[t],
|
|
357
357
|
(C) => {
|
|
358
|
-
T || (T = !0, S.value =
|
|
358
|
+
T || (T = !0, S.value = A(C), ma(() => T = !1));
|
|
359
359
|
}
|
|
360
360
|
), se(
|
|
361
361
|
S,
|
|
@@ -367,14 +367,14 @@ function mo(e, t, a, r = {}) {
|
|
|
367
367
|
} else
|
|
368
368
|
return _({
|
|
369
369
|
get() {
|
|
370
|
-
return
|
|
370
|
+
return z();
|
|
371
371
|
},
|
|
372
|
-
set(
|
|
373
|
-
L(
|
|
372
|
+
set(y) {
|
|
373
|
+
L(y);
|
|
374
374
|
}
|
|
375
375
|
});
|
|
376
376
|
}
|
|
377
|
-
function
|
|
377
|
+
function Ca(e, t, a = {}) {
|
|
378
378
|
const r = {};
|
|
379
379
|
for (const o in e)
|
|
380
380
|
r[o] = mo(
|
|
@@ -446,15 +446,15 @@ function ct(e, t) {
|
|
|
446
446
|
return t.apply(this, arguments);
|
|
447
447
|
};
|
|
448
448
|
case 8:
|
|
449
|
-
return function(a, r, o, i, l, s, g,
|
|
449
|
+
return function(a, r, o, i, l, s, g, u) {
|
|
450
450
|
return t.apply(this, arguments);
|
|
451
451
|
};
|
|
452
452
|
case 9:
|
|
453
|
-
return function(a, r, o, i, l, s, g,
|
|
453
|
+
return function(a, r, o, i, l, s, g, u, v) {
|
|
454
454
|
return t.apply(this, arguments);
|
|
455
455
|
};
|
|
456
456
|
case 10:
|
|
457
|
-
return function(a, r, o, i, l, s, g,
|
|
457
|
+
return function(a, r, o, i, l, s, g, u, v, f) {
|
|
458
458
|
return t.apply(this, arguments);
|
|
459
459
|
};
|
|
460
460
|
default:
|
|
@@ -470,7 +470,7 @@ function jt(e, t, a) {
|
|
|
470
470
|
return !s && i <= 0 ? a.apply(this, r) : ct(Math.max(0, i), jt(e, r, a));
|
|
471
471
|
};
|
|
472
472
|
}
|
|
473
|
-
var
|
|
473
|
+
var Ea = /* @__PURE__ */ F(function(t, a) {
|
|
474
474
|
return t === 1 ? M(a) : ct(t, jt(t, [], a));
|
|
475
475
|
});
|
|
476
476
|
function Y(e) {
|
|
@@ -570,7 +570,7 @@ function yo(e, t) {
|
|
|
570
570
|
return e === t ? e !== 0 || 1 / e === 1 / t : e !== e && t !== t;
|
|
571
571
|
}
|
|
572
572
|
const _t = typeof Object.is == "function" ? Object.is : yo;
|
|
573
|
-
var aa = Object.prototype.toString,
|
|
573
|
+
var aa = Object.prototype.toString, Oa = /* @__PURE__ */ function() {
|
|
574
574
|
return aa.call(arguments) === "[object Arguments]" ? function(t) {
|
|
575
575
|
return aa.call(t) === "[object Arguments]";
|
|
576
576
|
} : function(t) {
|
|
@@ -592,7 +592,7 @@ var aa = Object.prototype.toString, Ea = /* @__PURE__ */ function() {
|
|
|
592
592
|
} : function(t) {
|
|
593
593
|
if (Object(t) !== t)
|
|
594
594
|
return [];
|
|
595
|
-
var a, r, o = [], i = oa &&
|
|
595
|
+
var a, r, o = [], i = oa && Oa(t);
|
|
596
596
|
for (a in t)
|
|
597
597
|
X(a, t) && (!i || a !== "length") && (o[o.length] = a);
|
|
598
598
|
if (wo)
|
|
@@ -683,8 +683,8 @@ function Ft(e, t, a, r) {
|
|
|
683
683
|
return !1;
|
|
684
684
|
var s = a.concat([e]), g = r.concat([t]);
|
|
685
685
|
for (i = l.length - 1; i >= 0; ) {
|
|
686
|
-
var
|
|
687
|
-
if (!(X(
|
|
686
|
+
var u = l[i];
|
|
687
|
+
if (!(X(u, t) && Ft(t[u], e[u], s, g)))
|
|
688
688
|
return !1;
|
|
689
689
|
i -= 1;
|
|
690
690
|
}
|
|
@@ -693,7 +693,7 @@ function Ft(e, t, a, r) {
|
|
|
693
693
|
var dt = /* @__PURE__ */ F(function(t, a) {
|
|
694
694
|
return Ft(t, a, [], []);
|
|
695
695
|
});
|
|
696
|
-
function
|
|
696
|
+
function ja(e, t, a) {
|
|
697
697
|
var r, o;
|
|
698
698
|
if (typeof e.indexOf == "function")
|
|
699
699
|
switch (typeof t) {
|
|
@@ -732,7 +732,7 @@ function Oa(e, t, a) {
|
|
|
732
732
|
return -1;
|
|
733
733
|
}
|
|
734
734
|
function ko(e, t) {
|
|
735
|
-
return
|
|
735
|
+
return ja(t, e, 0) >= 0;
|
|
736
736
|
}
|
|
737
737
|
function qe(e, t) {
|
|
738
738
|
for (var a = 0, r = t.length, o = Array(r); a < r; )
|
|
@@ -755,17 +755,17 @@ function zo(e) {
|
|
|
755
755
|
return !e.apply(this, arguments);
|
|
756
756
|
};
|
|
757
757
|
}
|
|
758
|
-
function
|
|
758
|
+
function Ra(e, t, a) {
|
|
759
759
|
for (var r = 0, o = a.length; r < o; )
|
|
760
760
|
t = e(t, a[r]), r += 1;
|
|
761
761
|
return t;
|
|
762
762
|
}
|
|
763
|
-
function
|
|
763
|
+
function Fa(e, t) {
|
|
764
764
|
for (var a = 0, r = t.length, o = []; a < r; )
|
|
765
765
|
e(t[a]) && (o[o.length] = t[a]), a += 1;
|
|
766
766
|
return o;
|
|
767
767
|
}
|
|
768
|
-
function
|
|
768
|
+
function Ga(e) {
|
|
769
769
|
return Object.prototype.toString.call(e) === "[object Object]";
|
|
770
770
|
}
|
|
771
771
|
var So = /* @__PURE__ */ function() {
|
|
@@ -782,19 +782,19 @@ function To(e) {
|
|
|
782
782
|
};
|
|
783
783
|
}
|
|
784
784
|
var Gt = /* @__PURE__ */ F(/* @__PURE__ */ Rt(["fantasy-land/filter", "filter"], To, function(e, t) {
|
|
785
|
-
return
|
|
785
|
+
return Ga(t) ? Ra(function(a, r) {
|
|
786
786
|
return e(t[r]) && (a[r] = t[r]), a;
|
|
787
787
|
}, {}, ye(t)) : (
|
|
788
788
|
// else
|
|
789
|
-
|
|
789
|
+
Fa(e, t)
|
|
790
790
|
);
|
|
791
|
-
})),
|
|
791
|
+
})), gt = /* @__PURE__ */ F(function(t, a) {
|
|
792
792
|
return Gt(zo(t), a);
|
|
793
793
|
});
|
|
794
|
-
function
|
|
794
|
+
function Ma(e, t) {
|
|
795
795
|
var a = function(l) {
|
|
796
796
|
var s = t.concat([e]);
|
|
797
|
-
return ko(l, s) ? "<Circular>" :
|
|
797
|
+
return ko(l, s) ? "<Circular>" : Ma(l, s);
|
|
798
798
|
}, r = function(i, l) {
|
|
799
799
|
return qe(function(s) {
|
|
800
800
|
return zt(s) + ": " + a(i[s]);
|
|
@@ -804,7 +804,7 @@ function Ga(e, t) {
|
|
|
804
804
|
case "[object Arguments]":
|
|
805
805
|
return "(function() { return arguments; }(" + qe(a, e).join(", ") + "))";
|
|
806
806
|
case "[object Array]":
|
|
807
|
-
return "[" + qe(a, e).concat(r(e,
|
|
807
|
+
return "[" + qe(a, e).concat(r(e, gt(function(i) {
|
|
808
808
|
return /^\d+$/.test(i);
|
|
809
809
|
}, ye(e)))).join(", ") + "]";
|
|
810
810
|
case "[object Boolean]":
|
|
@@ -833,7 +833,7 @@ function Ga(e, t) {
|
|
|
833
833
|
}
|
|
834
834
|
}
|
|
835
835
|
var Io = /* @__PURE__ */ M(function(t) {
|
|
836
|
-
return
|
|
836
|
+
return Ma(t, []);
|
|
837
837
|
}), Po = /* @__PURE__ */ function() {
|
|
838
838
|
function e(t, a) {
|
|
839
839
|
this.xf = a, this.f = t;
|
|
@@ -848,18 +848,18 @@ var Io = /* @__PURE__ */ M(function(t) {
|
|
|
848
848
|
}, me = /* @__PURE__ */ F(/* @__PURE__ */ Rt(["fantasy-land/map", "map"], No, function(t, a) {
|
|
849
849
|
switch (Object.prototype.toString.call(a)) {
|
|
850
850
|
case "[object Function]":
|
|
851
|
-
return
|
|
851
|
+
return Ea(a.length, function() {
|
|
852
852
|
return t.call(this, a.apply(this, arguments));
|
|
853
853
|
});
|
|
854
854
|
case "[object Object]":
|
|
855
|
-
return
|
|
855
|
+
return Ra(function(r, o) {
|
|
856
856
|
return r[o] = t(a[o]), r;
|
|
857
857
|
}, {}, ye(a));
|
|
858
858
|
default:
|
|
859
859
|
return qe(t, a);
|
|
860
860
|
}
|
|
861
861
|
}));
|
|
862
|
-
const
|
|
862
|
+
const pt = Number.isInteger || function(t) {
|
|
863
863
|
return t << 0 === t;
|
|
864
864
|
};
|
|
865
865
|
function ut(e) {
|
|
@@ -871,7 +871,7 @@ function bt(e, t) {
|
|
|
871
871
|
}
|
|
872
872
|
var q = /* @__PURE__ */ F(function(t, a) {
|
|
873
873
|
if (a != null)
|
|
874
|
-
return
|
|
874
|
+
return pt(t) ? bt(t, a) : a[t];
|
|
875
875
|
}), $o = /* @__PURE__ */ M(function(t) {
|
|
876
876
|
return Ae(t) ? !0 : !t || typeof t != "object" || ut(t) ? !1 : t.length === 0 ? !0 : t.length > 0 ? t.hasOwnProperty(0) && t.hasOwnProperty(t.length - 1) : !1;
|
|
877
877
|
}), na = typeof Symbol < "u" ? Symbol.iterator : "@@iterator";
|
|
@@ -920,7 +920,7 @@ function Eo(e, t, a) {
|
|
|
920
920
|
function Oo(e, t, a, r) {
|
|
921
921
|
return e["@@transducer/result"](a[r](Co(e["@@transducer/step"], e), t));
|
|
922
922
|
}
|
|
923
|
-
var
|
|
923
|
+
var Da = /* @__PURE__ */ Ao(Lo, Oo, Eo), jo = /* @__PURE__ */ function() {
|
|
924
924
|
function e(t) {
|
|
925
925
|
this.f = t;
|
|
926
926
|
}
|
|
@@ -932,12 +932,12 @@ var Ma = /* @__PURE__ */ Ao(Lo, Oo, Eo), jo = /* @__PURE__ */ function() {
|
|
|
932
932
|
return this.f(t, a);
|
|
933
933
|
}, e;
|
|
934
934
|
}();
|
|
935
|
-
function
|
|
935
|
+
function Ka(e) {
|
|
936
936
|
return new jo(e);
|
|
937
937
|
}
|
|
938
938
|
var Ro = /* @__PURE__ */ Y(function(e, t, a) {
|
|
939
|
-
return
|
|
940
|
-
}),
|
|
939
|
+
return Da(typeof e == "function" ? Ka(e) : e, t, a);
|
|
940
|
+
}), Ua = /* @__PURE__ */ M(function(t) {
|
|
941
941
|
for (var a = ye(t), r = a.length, o = [], i = 0; i < r; )
|
|
942
942
|
o[i] = t[a[i]], i += 1;
|
|
943
943
|
return o;
|
|
@@ -946,7 +946,7 @@ var Ro = /* @__PURE__ */ Y(function(e, t, a) {
|
|
|
946
946
|
return o < i ? -1 : o > i ? 1 : 0;
|
|
947
947
|
});
|
|
948
948
|
function Fo(e, t, a) {
|
|
949
|
-
if (
|
|
949
|
+
if (pt(e) && Ae(a)) {
|
|
950
950
|
var r = [].concat(a);
|
|
951
951
|
return r[e] = t, r;
|
|
952
952
|
}
|
|
@@ -962,7 +962,7 @@ var Go = /* @__PURE__ */ M(function(t) {
|
|
|
962
962
|
return a;
|
|
963
963
|
var o = t[0];
|
|
964
964
|
if (t.length > 1) {
|
|
965
|
-
var i = !Go(r) && X(o, r) && typeof r[o] == "object" ? r[o] :
|
|
965
|
+
var i = !Go(r) && X(o, r) && typeof r[o] == "object" ? r[o] : pt(t[1]) ? [] : {};
|
|
966
966
|
a = e(Array.prototype.slice.call(t, 1), a, i);
|
|
967
967
|
}
|
|
968
968
|
return Fo(o, a, r);
|
|
@@ -1067,18 +1067,18 @@ function Dt(e, t) {
|
|
|
1067
1067
|
var Yo = /* @__PURE__ */ Y(/* @__PURE__ */ Dt("slice", function(t, a, r) {
|
|
1068
1068
|
return Array.prototype.slice.call(r, t, a);
|
|
1069
1069
|
})), Ho = /* @__PURE__ */ M(/* @__PURE__ */ Dt("tail", /* @__PURE__ */ Yo(1, 1 / 0)));
|
|
1070
|
-
function
|
|
1070
|
+
function Ba() {
|
|
1071
1071
|
if (arguments.length === 0)
|
|
1072
1072
|
throw new Error("pipe requires at least one argument");
|
|
1073
1073
|
return ct(arguments[0].length, Ro(Wo, arguments[0], Ho(arguments)));
|
|
1074
1074
|
}
|
|
1075
|
-
var
|
|
1075
|
+
var Va = /* @__PURE__ */ M(function(t) {
|
|
1076
1076
|
return ut(t) ? t.split("").reverse().join("") : Array.prototype.slice.call(t, 0).reverse();
|
|
1077
1077
|
});
|
|
1078
1078
|
function ae() {
|
|
1079
1079
|
if (arguments.length === 0)
|
|
1080
1080
|
throw new Error("compose requires at least one argument");
|
|
1081
|
-
return
|
|
1081
|
+
return Ba.apply(this, Va(arguments));
|
|
1082
1082
|
}
|
|
1083
1083
|
var fe = /* @__PURE__ */ M(function(e) {
|
|
1084
1084
|
return bt(0, e);
|
|
@@ -1104,16 +1104,16 @@ function Xo(e, t, a) {
|
|
|
1104
1104
|
return new Jo(e, t, a, r);
|
|
1105
1105
|
};
|
|
1106
1106
|
}
|
|
1107
|
-
var
|
|
1108
|
-
var i =
|
|
1109
|
-
var g = r(s),
|
|
1110
|
-
return
|
|
1107
|
+
var qa = /* @__PURE__ */ jt(4, [], /* @__PURE__ */ Rt([], Xo, function(t, a, r, o) {
|
|
1108
|
+
var i = Ka(function(l, s) {
|
|
1109
|
+
var g = r(s), u = t(X(g, l) ? l[g] : mt(a, !1), s);
|
|
1110
|
+
return u && u["@@transducer/reduced"] ? ho(l) : (l[g] = u, l);
|
|
1111
1111
|
});
|
|
1112
|
-
return
|
|
1112
|
+
return Da(i, {}, o);
|
|
1113
1113
|
})), Pe = /* @__PURE__ */ Y(function(t, a, r) {
|
|
1114
1114
|
var o = t(a), i = t(r);
|
|
1115
1115
|
return o > i ? -1 : o < i ? 1 : 0;
|
|
1116
|
-
}),
|
|
1116
|
+
}), Wa = /* @__PURE__ */ M(function(e) {
|
|
1117
1117
|
return bt(-1, e);
|
|
1118
1118
|
});
|
|
1119
1119
|
function Qo(e) {
|
|
@@ -1121,17 +1121,17 @@ function Qo(e) {
|
|
|
1121
1121
|
return t === "[object Uint8ClampedArray]" || t === "[object Int8Array]" || t === "[object Uint8Array]" || t === "[object Int16Array]" || t === "[object Uint16Array]" || t === "[object Int32Array]" || t === "[object Uint32Array]" || t === "[object Float32Array]" || t === "[object Float64Array]" || t === "[object BigInt64Array]" || t === "[object BigUint64Array]";
|
|
1122
1122
|
}
|
|
1123
1123
|
var Zo = /* @__PURE__ */ M(function(t) {
|
|
1124
|
-
return t != null && typeof t["fantasy-land/empty"] == "function" ? t["fantasy-land/empty"]() : t != null && t.constructor != null && typeof t.constructor["fantasy-land/empty"] == "function" ? t.constructor["fantasy-land/empty"]() : t != null && typeof t.empty == "function" ? t.empty() : t != null && t.constructor != null && typeof t.constructor.empty == "function" ? t.constructor.empty() : Ae(t) ? [] : ut(t) ? "" :
|
|
1124
|
+
return t != null && typeof t["fantasy-land/empty"] == "function" ? t["fantasy-land/empty"]() : t != null && t.constructor != null && typeof t.constructor["fantasy-land/empty"] == "function" ? t.constructor["fantasy-land/empty"]() : t != null && typeof t.empty == "function" ? t.empty() : t != null && t.constructor != null && typeof t.constructor.empty == "function" ? t.constructor.empty() : Ae(t) ? [] : ut(t) ? "" : Ga(t) ? {} : Oa(t) ? /* @__PURE__ */ function() {
|
|
1125
1125
|
return arguments;
|
|
1126
1126
|
}() : Qo(t) ? t.constructor.from("") : void 0;
|
|
1127
|
-
}), ei = /* @__PURE__ */ F(/* @__PURE__ */ Dt("groupBy", /* @__PURE__ */
|
|
1127
|
+
}), ei = /* @__PURE__ */ F(/* @__PURE__ */ Dt("groupBy", /* @__PURE__ */ qa(function(e, t) {
|
|
1128
1128
|
return e.push(t), e;
|
|
1129
|
-
}, []))), la = /* @__PURE__ */
|
|
1129
|
+
}, []))), la = /* @__PURE__ */ qa(function(e, t) {
|
|
1130
1130
|
return t;
|
|
1131
1131
|
}, null), ti = /* @__PURE__ */ F(function(t, a) {
|
|
1132
|
-
return typeof a.indexOf == "function" && !Ae(a) ? a.indexOf(t) :
|
|
1132
|
+
return typeof a.indexOf == "function" && !Ae(a) ? a.indexOf(t) : ja(a, t, 0);
|
|
1133
1133
|
}), ai = /* @__PURE__ */ Y(function(t, a, r) {
|
|
1134
|
-
return
|
|
1134
|
+
return Fa(function(o) {
|
|
1135
1135
|
return Pt(t, o, r);
|
|
1136
1136
|
}, a);
|
|
1137
1137
|
});
|
|
@@ -1148,8 +1148,8 @@ function ri(e) {
|
|
|
1148
1148
|
return t;
|
|
1149
1149
|
}
|
|
1150
1150
|
const oi = typeof Object.assign == "function" ? Object.assign : ri;
|
|
1151
|
-
var
|
|
1152
|
-
return
|
|
1151
|
+
var Ya = /* @__PURE__ */ F(function(t, a) {
|
|
1152
|
+
return Ea(t + 1, function() {
|
|
1153
1153
|
var r = arguments[t];
|
|
1154
1154
|
if (r != null && Ko(r[a]))
|
|
1155
1155
|
return r[a].apply(r, Array.prototype.slice.call(arguments, 0, t));
|
|
@@ -1157,7 +1157,7 @@ var Wa = /* @__PURE__ */ F(function(t, a) {
|
|
|
1157
1157
|
});
|
|
1158
1158
|
}), ii = /* @__PURE__ */ M(function(t) {
|
|
1159
1159
|
return t != null && dt(t, Zo(t));
|
|
1160
|
-
}), ni = /* @__PURE__ */
|
|
1160
|
+
}), ni = /* @__PURE__ */ Ya(1, "join"), li = /* @__PURE__ */ F(function(t, a) {
|
|
1161
1161
|
return function(r) {
|
|
1162
1162
|
return function(o) {
|
|
1163
1163
|
return me(function(i) {
|
|
@@ -1166,12 +1166,12 @@ var Wa = /* @__PURE__ */ F(function(t, a) {
|
|
|
1166
1166
|
};
|
|
1167
1167
|
};
|
|
1168
1168
|
});
|
|
1169
|
-
function
|
|
1169
|
+
function Ha(e, t) {
|
|
1170
1170
|
for (var a = t, r = 0; r < e.length; r += 1) {
|
|
1171
1171
|
if (a == null)
|
|
1172
1172
|
return;
|
|
1173
1173
|
var o = e[r];
|
|
1174
|
-
|
|
1174
|
+
pt(o) ? a = bt(o, a) : a = a[o];
|
|
1175
1175
|
}
|
|
1176
1176
|
return a;
|
|
1177
1177
|
}
|
|
@@ -1187,7 +1187,7 @@ var si = /* @__PURE__ */ M(function(t) {
|
|
|
1187
1187
|
return o;
|
|
1188
1188
|
}), di = /* @__PURE__ */ F(function(t, a) {
|
|
1189
1189
|
return oi({}, a, t);
|
|
1190
|
-
}),
|
|
1190
|
+
}), gi = /* @__PURE__ */ Y(function(t, a, r) {
|
|
1191
1191
|
return ci(function(o, i, l) {
|
|
1192
1192
|
return t(i, l);
|
|
1193
1193
|
}, a, r);
|
|
@@ -1197,24 +1197,24 @@ var si = /* @__PURE__ */ M(function(t) {
|
|
|
1197
1197
|
for (var s in a)
|
|
1198
1198
|
o.hasOwnProperty(s) || (r[s] = a[s]);
|
|
1199
1199
|
return r;
|
|
1200
|
-
}),
|
|
1200
|
+
}), Ja = function(e) {
|
|
1201
1201
|
return {
|
|
1202
1202
|
value: e,
|
|
1203
1203
|
map: function(t) {
|
|
1204
|
-
return
|
|
1204
|
+
return Ja(t(e));
|
|
1205
1205
|
}
|
|
1206
1206
|
};
|
|
1207
|
-
},
|
|
1207
|
+
}, pi = /* @__PURE__ */ Y(function(t, a, r) {
|
|
1208
1208
|
return t(function(o) {
|
|
1209
|
-
return
|
|
1209
|
+
return Ja(a(o));
|
|
1210
1210
|
})(r).value;
|
|
1211
|
-
}), Ge = /* @__PURE__ */ F(
|
|
1212
|
-
return dt(
|
|
1211
|
+
}), Ge = /* @__PURE__ */ F(Ha), ui = /* @__PURE__ */ Y(function(t, a, r) {
|
|
1212
|
+
return dt(Ha(a, r), t);
|
|
1213
1213
|
}), oe = /* @__PURE__ */ F(function(t, a) {
|
|
1214
1214
|
for (var r = {}, o = 0; o < t.length; )
|
|
1215
1215
|
t[o] in a && (r[t[o]] = a[t[o]]), o += 1;
|
|
1216
1216
|
return r;
|
|
1217
|
-
}),
|
|
1217
|
+
}), Xa = /* @__PURE__ */ Y(function(t, a, r) {
|
|
1218
1218
|
return dt(t, q(a, r));
|
|
1219
1219
|
}), bi = /* @__PURE__ */ Y(function(t, a, r) {
|
|
1220
1220
|
return r.replace(t, a);
|
|
@@ -1231,7 +1231,7 @@ var si = /* @__PURE__ */ M(function(t) {
|
|
|
1231
1231
|
i = t[l](r, o), l += 1;
|
|
1232
1232
|
return i;
|
|
1233
1233
|
});
|
|
1234
|
-
}), vi = /* @__PURE__ */
|
|
1234
|
+
}), vi = /* @__PURE__ */ Ya(0, "toUpperCase");
|
|
1235
1235
|
function ht(e, t) {
|
|
1236
1236
|
if (e.length === 0)
|
|
1237
1237
|
throw new xa(Ze.message, Ze.options);
|
|
@@ -1239,21 +1239,21 @@ function ht(e, t) {
|
|
|
1239
1239
|
}
|
|
1240
1240
|
function hi(e, t) {
|
|
1241
1241
|
const a = (r) => ["Rájátszás", "Újrajátszandó"].includes(r.phaseName);
|
|
1242
|
-
t.sections = ae(
|
|
1242
|
+
t.sections = ae(gt(a), Ge([0, "phases"]))(e), t.section = ae(q("phaseName"), fe)(t.sections);
|
|
1243
1243
|
}
|
|
1244
1244
|
function fi(e, t) {
|
|
1245
|
-
t.sections = [...e], t.section || (t.section = ae(q("name"),
|
|
1245
|
+
t.sections = [...e], t.section || (t.section = ae(q("name"), Wa)(t.sections));
|
|
1246
1246
|
}
|
|
1247
|
-
function
|
|
1247
|
+
function Qa(e) {
|
|
1248
1248
|
return vt(Mt(q("teamName")), e);
|
|
1249
1249
|
}
|
|
1250
1250
|
function yi(e, t) {
|
|
1251
|
-
t.teams =
|
|
1251
|
+
t.teams = Qa(e);
|
|
1252
1252
|
}
|
|
1253
1253
|
function wi(e) {
|
|
1254
1254
|
return ae(vt(Pe(q("seasonName"))), me(oe(["championshipId", "seasonName"])))(e);
|
|
1255
1255
|
}
|
|
1256
|
-
const
|
|
1256
|
+
const Za = {
|
|
1257
1257
|
jerseyNr: {
|
|
1258
1258
|
label: "table.jerseyNumber.short",
|
|
1259
1259
|
tooltip: "table.jerseyNumber.tooltip",
|
|
@@ -1533,16 +1533,16 @@ function xi(e, t) {
|
|
|
1533
1533
|
return {
|
|
1534
1534
|
...e,
|
|
1535
1535
|
name: e.player.nationality.includes("hu") ? `${e.player.lastName} ${e.player.firstName}` : `${e.player.firstName} ${e.player.lastName}`,
|
|
1536
|
-
age:
|
|
1536
|
+
age: _r(e.birthDate, t),
|
|
1537
1537
|
position: vi(e.position)
|
|
1538
1538
|
};
|
|
1539
1539
|
}
|
|
1540
|
-
const ki = (e) => rt(
|
|
1540
|
+
const ki = (e) => rt(Va(e), ot, ka(["mip"]));
|
|
1541
1541
|
function _i(e, t) {
|
|
1542
|
-
return
|
|
1542
|
+
return gt(Xa(e, "championshipId"))(t);
|
|
1543
1543
|
}
|
|
1544
1544
|
function zi(e, t) {
|
|
1545
|
-
return Gt(
|
|
1545
|
+
return Gt(Xa(e, "championshipId"))(t);
|
|
1546
1546
|
}
|
|
1547
1547
|
function Si(e, t, a, r) {
|
|
1548
1548
|
return rt(Ct(e), _a(r, a), za, Sa(t.teamId), Ta);
|
|
@@ -1575,7 +1575,7 @@ const Ti = "/v2/player-season-stats", Ii = "/v2/goalie-season-stats", Pi = "/v2/
|
|
|
1575
1575
|
gamesApi: Pi,
|
|
1576
1576
|
isGoalie: !1,
|
|
1577
1577
|
pane: We
|
|
1578
|
-
}), { onError: i } =
|
|
1578
|
+
}), { onError: i } = pe(), { state: l, isLoading: s } = D({
|
|
1579
1579
|
options: {
|
|
1580
1580
|
path: "/v2/player-data",
|
|
1581
1581
|
apiKey: t.apiKey,
|
|
@@ -1586,11 +1586,11 @@ const Ti = "/v2/player-season-stats", Ii = "/v2/goalie-season-stats", Pi = "/v2/
|
|
|
1586
1586
|
onError: i,
|
|
1587
1587
|
onSuccess: (T) => {
|
|
1588
1588
|
const { position: C } = T;
|
|
1589
|
-
C.toLowerCase() === "gk" && (o.seasonApi = Ii, o.gamesApi = Ni, o.isGoalie = !0),
|
|
1589
|
+
C.toLowerCase() === "gk" && (o.seasonApi = Ii, o.gamesApi = Ni, o.isGoalie = !0), y();
|
|
1590
1590
|
}
|
|
1591
1591
|
}), {
|
|
1592
1592
|
state: g,
|
|
1593
|
-
isLoading:
|
|
1593
|
+
isLoading: u,
|
|
1594
1594
|
execute: v
|
|
1595
1595
|
} = D({
|
|
1596
1596
|
options: {
|
|
@@ -1602,7 +1602,7 @@ const Ti = "/v2/player-season-stats", Ii = "/v2/goalie-season-stats", Pi = "/v2/
|
|
|
1602
1602
|
transform: (T) => ki(T),
|
|
1603
1603
|
onError: i
|
|
1604
1604
|
}), {
|
|
1605
|
-
state:
|
|
1605
|
+
state: f,
|
|
1606
1606
|
isLoading: m,
|
|
1607
1607
|
execute: p
|
|
1608
1608
|
} = D({
|
|
@@ -1614,11 +1614,11 @@ const Ti = "/v2/player-season-stats", Ii = "/v2/goalie-season-stats", Pi = "/v2/
|
|
|
1614
1614
|
},
|
|
1615
1615
|
transform: (T) => Si(T, o, t.locale, a),
|
|
1616
1616
|
onError: i
|
|
1617
|
-
}),
|
|
1617
|
+
}), x = _(
|
|
1618
1618
|
() => _i(o.championshipId, g.value)
|
|
1619
1619
|
), P = _(
|
|
1620
1620
|
() => zi(o.championshipId, g.value)
|
|
1621
|
-
),
|
|
1621
|
+
), A = _(
|
|
1622
1622
|
() => o.isGoalie ? oe(
|
|
1623
1623
|
["teamName", "gkd", "gpi", "mipMin", "mipPercent", "ga", "gaa", "sog", "svs", "svsPercent"],
|
|
1624
1624
|
Ne
|
|
@@ -1639,7 +1639,7 @@ const Ti = "/v2/player-season-stats", Ii = "/v2/goalie-season-stats", Pi = "/v2/
|
|
|
1639
1639
|
],
|
|
1640
1640
|
Ne
|
|
1641
1641
|
)
|
|
1642
|
-
),
|
|
1642
|
+
), z = _(
|
|
1643
1643
|
() => o.isGoalie ? oe(
|
|
1644
1644
|
["season", "teamName", "gkd", "gpi", "mipMin", "ga", "gaa", "sog", "svs", "svsPercent"],
|
|
1645
1645
|
Ne
|
|
@@ -1702,7 +1702,7 @@ const Ti = "/v2/player-season-stats", Ii = "/v2/goalie-season-stats", Pi = "/v2/
|
|
|
1702
1702
|
$t
|
|
1703
1703
|
)
|
|
1704
1704
|
);
|
|
1705
|
-
function
|
|
1705
|
+
function y() {
|
|
1706
1706
|
te([v, p]);
|
|
1707
1707
|
}
|
|
1708
1708
|
function S(T) {
|
|
@@ -1711,15 +1711,15 @@ const Ti = "/v2/player-season-stats", Ii = "/v2/goalie-season-stats", Pi = "/v2/
|
|
|
1711
1711
|
return (T, C) => xe(T.$slots, "default", ke(_e({
|
|
1712
1712
|
pane: o.pane,
|
|
1713
1713
|
isLoadingPlayerData: n(s),
|
|
1714
|
-
isPlayerSeasonsLoading: n(
|
|
1714
|
+
isPlayerSeasonsLoading: n(u),
|
|
1715
1715
|
isGamesLoading: n(m),
|
|
1716
1716
|
playerData: n(l),
|
|
1717
|
-
playerGames: n(
|
|
1718
|
-
playerSeasonStats:
|
|
1717
|
+
playerGames: n(f),
|
|
1718
|
+
playerSeasonStats: x.value,
|
|
1719
1719
|
currentSeasonStats: P.value,
|
|
1720
1720
|
gameColumns: L.value,
|
|
1721
|
-
currentSeasonColumns:
|
|
1722
|
-
seasonColumns:
|
|
1721
|
+
currentSeasonColumns: A.value,
|
|
1722
|
+
seasonColumns: z.value,
|
|
1723
1723
|
onChangePane: S
|
|
1724
1724
|
})));
|
|
1725
1725
|
}
|
|
@@ -1732,7 +1732,7 @@ const Ti = "/v2/player-season-stats", Ii = "/v2/goalie-season-stats", Pi = "/v2/
|
|
|
1732
1732
|
}, ji = {
|
|
1733
1733
|
key: 1,
|
|
1734
1734
|
class: "label"
|
|
1735
|
-
},
|
|
1735
|
+
}, er = {
|
|
1736
1736
|
__name: "GamesDataTable",
|
|
1737
1737
|
props: {
|
|
1738
1738
|
columns: {
|
|
@@ -1763,16 +1763,16 @@ const Ti = "/v2/player-season-stats", Ii = "/v2/goalie-season-stats", Pi = "/v2/
|
|
|
1763
1763
|
},
|
|
1764
1764
|
setup(e) {
|
|
1765
1765
|
const { t } = Q();
|
|
1766
|
-
return (a, r) => (
|
|
1767
|
-
default:
|
|
1766
|
+
return (a, r) => (c(), $(n(ie), null, {
|
|
1767
|
+
default: k(() => [
|
|
1768
1768
|
w(n(ce), {
|
|
1769
1769
|
rows: e.rows,
|
|
1770
1770
|
columns: e.columns,
|
|
1771
1771
|
"is-loading": e.isLoading,
|
|
1772
1772
|
"append-to": e.appendTo
|
|
1773
1773
|
}, {
|
|
1774
|
-
"cell-resultType":
|
|
1775
|
-
|
|
1774
|
+
"cell-resultType": k(({ row: o }) => [
|
|
1775
|
+
d("span", {
|
|
1776
1776
|
class: G(["is-badge", [
|
|
1777
1777
|
{
|
|
1778
1778
|
"is-green": ["W", "OTW", "SOW"].includes(o.resultType),
|
|
@@ -1780,31 +1780,31 @@ const Ti = "/v2/player-season-stats", Ii = "/v2/goalie-season-stats", Pi = "/v2/
|
|
|
1780
1780
|
"is-yellow": o.resultType === "D"
|
|
1781
1781
|
}
|
|
1782
1782
|
]])
|
|
1783
|
-
},
|
|
1783
|
+
}, b(o.resultType), 3)
|
|
1784
1784
|
]),
|
|
1785
|
-
"cell-teamName":
|
|
1785
|
+
"cell-teamName": k(({ row: o }) => {
|
|
1786
1786
|
var i, l;
|
|
1787
1787
|
return [
|
|
1788
|
-
|
|
1789
|
-
|
|
1788
|
+
d("span", Ai, b((i = o.team) == null ? void 0 : i.longName), 1),
|
|
1789
|
+
d("span", Li, b((l = o.team) == null ? void 0 : l.shortName), 1)
|
|
1790
1790
|
];
|
|
1791
1791
|
}),
|
|
1792
|
-
"cell-gameResult":
|
|
1793
|
-
o.gameStatus === 0 ? (
|
|
1792
|
+
"cell-gameResult": k(({ row: o }) => [
|
|
1793
|
+
o.gameStatus === 0 ? (c(), h("span", Ci, "-:-")) : (c(), h("a", {
|
|
1794
1794
|
key: 1,
|
|
1795
1795
|
href: e.gameResolver(o),
|
|
1796
1796
|
class: G({ "is-text-dark": o.gameStatus !== 1, "is-text-accent": o.gameStatus === 1 })
|
|
1797
|
-
},
|
|
1797
|
+
}, b(o.gameResult), 11, Ei))
|
|
1798
1798
|
]),
|
|
1799
|
-
"cell-gameResultType":
|
|
1800
|
-
o.isOvertime ? (
|
|
1801
|
-
o.isShootout ? (
|
|
1799
|
+
"cell-gameResultType": k(({ row: o }) => [
|
|
1800
|
+
o.isOvertime ? (c(), h("span", Oi, b(n(t)("common.overtimeShort")), 1)) : I("", !0),
|
|
1801
|
+
o.isShootout ? (c(), h("span", ji, b(n(t)("common.shootoutShort")), 1)) : I("", !0)
|
|
1802
1802
|
]),
|
|
1803
|
-
"cell-powerplay":
|
|
1804
|
-
W(
|
|
1803
|
+
"cell-powerplay": k(({ row: o }) => [
|
|
1804
|
+
W(b(o.adv) + " / " + b(o.ppgf), 1)
|
|
1805
1805
|
]),
|
|
1806
|
-
"cell-penaltyKilling":
|
|
1807
|
-
W(
|
|
1806
|
+
"cell-penaltyKilling": k(({ row: o }) => [
|
|
1807
|
+
W(b(o.dvg) + " / " + b(o.pk), 1)
|
|
1808
1808
|
]),
|
|
1809
1809
|
_: 1
|
|
1810
1810
|
}, 8, ["rows", "columns", "is-loading", "append-to"])
|
|
@@ -1846,7 +1846,7 @@ const Ti = "/v2/player-season-stats", Ii = "/v2/goalie-season-stats", Pi = "/v2/
|
|
|
1846
1846
|
null,
|
|
1847
1847
|
_(() => ({ offsetName: Et(/* @__PURE__ */ new Date(), null, "hu") }))
|
|
1848
1848
|
), r = (o) => nt(t.gameResolver, o);
|
|
1849
|
-
return (o, i) => (
|
|
1849
|
+
return (o, i) => (c(), $(er, {
|
|
1850
1850
|
rows: e.rows,
|
|
1851
1851
|
columns: n(a),
|
|
1852
1852
|
"is-loading": e.isLoading,
|
|
@@ -1873,27 +1873,27 @@ const Ti = "/v2/player-season-stats", Ii = "/v2/goalie-season-stats", Pi = "/v2/
|
|
|
1873
1873
|
const { t } = Q();
|
|
1874
1874
|
return (a, r) => {
|
|
1875
1875
|
var o, i, l;
|
|
1876
|
-
return n(ii)(e.data) ? I("", !0) : (
|
|
1877
|
-
r[0] || (Wt(-1, !0), (r[0] =
|
|
1878
|
-
W(
|
|
1879
|
-
|
|
1876
|
+
return n(ii)(e.data) ? I("", !0) : (c(), h("div", Fi, [
|
|
1877
|
+
r[0] || (Wt(-1, !0), (r[0] = d("h2", { class: "is-heading-2" }, [
|
|
1878
|
+
W(b(e.data.name) + " ", 1),
|
|
1879
|
+
d("span", Gi, "#" + b(e.data.jerseyNr), 1)
|
|
1880
1880
|
])).cacheIndex = 0, Wt(1), r[0]),
|
|
1881
|
-
|
|
1882
|
-
W(
|
|
1883
|
-
(
|
|
1881
|
+
d("div", Mi, [
|
|
1882
|
+
W(b(e.data.birthDate) + " (" + b(n(t)("players.age", { years: e.data.age })) + ") / ", 1),
|
|
1883
|
+
(c(!0), h(O, null, U(e.data.player.nationality, (s) => (c(), $(n(ha), {
|
|
1884
1884
|
key: s,
|
|
1885
1885
|
placement: "top",
|
|
1886
1886
|
content: n(t)(`nationality.${s}`),
|
|
1887
1887
|
"append-to": e.appendTo
|
|
1888
1888
|
}, {
|
|
1889
|
-
default:
|
|
1890
|
-
|
|
1889
|
+
default: k(({ setRef: g, show: u, hide: v }) => [
|
|
1890
|
+
d("span", {
|
|
1891
1891
|
ref_for: !0,
|
|
1892
1892
|
ref: g,
|
|
1893
1893
|
class: "is-rounded",
|
|
1894
|
-
onMouseenter:
|
|
1894
|
+
onMouseenter: u,
|
|
1895
1895
|
onMouseleave: v,
|
|
1896
|
-
onFocus:
|
|
1896
|
+
onFocus: u,
|
|
1897
1897
|
onBlur: v
|
|
1898
1898
|
}, [
|
|
1899
1899
|
w(n(V), {
|
|
@@ -1903,13 +1903,13 @@ const Ti = "/v2/player-season-stats", Ii = "/v2/goalie-season-stats", Pi = "/v2/
|
|
|
1903
1903
|
]),
|
|
1904
1904
|
_: 2
|
|
1905
1905
|
}, 1032, ["content", "append-to"]))), 128)),
|
|
1906
|
-
W(" " +
|
|
1907
|
-
(
|
|
1906
|
+
W(" " + b(e.data.birthPlace) + " / " + b(e.data.position) + " / ", 1),
|
|
1907
|
+
(c(), $(n(V), {
|
|
1908
1908
|
key: (o = e.data.team) == null ? void 0 : o.id,
|
|
1909
1909
|
class: "is-logo-image is-w-7",
|
|
1910
1910
|
src: (i = e.data.team) == null ? void 0 : i.logo
|
|
1911
1911
|
}, null, 8, ["src"])),
|
|
1912
|
-
W(" " +
|
|
1912
|
+
W(" " + b((l = e.data.team) == null ? void 0 : l.longName), 1)
|
|
1913
1913
|
])
|
|
1914
1914
|
]));
|
|
1915
1915
|
};
|
|
@@ -1936,8 +1936,8 @@ const Ti = "/v2/player-season-stats", Ii = "/v2/goalie-season-stats", Pi = "/v2/
|
|
|
1936
1936
|
},
|
|
1937
1937
|
setup(e) {
|
|
1938
1938
|
const t = e, { columns: a } = ee(_(() => t.columns));
|
|
1939
|
-
return (r, o) => (
|
|
1940
|
-
default:
|
|
1939
|
+
return (r, o) => (c(), $(n(ie), null, {
|
|
1940
|
+
default: k(() => [
|
|
1941
1941
|
w(n(ce), {
|
|
1942
1942
|
rows: e.rows,
|
|
1943
1943
|
columns: n(a),
|
|
@@ -1971,10 +1971,10 @@ const Ti = "/v2/player-season-stats", Ii = "/v2/goalie-season-stats", Pi = "/v2/
|
|
|
1971
1971
|
const t = e, { columns: a } = ee(_(() => t.columns));
|
|
1972
1972
|
return (r, o) => {
|
|
1973
1973
|
var i;
|
|
1974
|
-
return
|
|
1975
|
-
|
|
1974
|
+
return c(), h(O, null, [
|
|
1975
|
+
d("h2", Bi, b(((i = e.rows[0]) == null ? void 0 : i.season) ?? ""), 1),
|
|
1976
1976
|
w(n(ie), null, {
|
|
1977
|
-
default:
|
|
1977
|
+
default: k(() => [
|
|
1978
1978
|
w(n(ce), {
|
|
1979
1979
|
rows: e.rows,
|
|
1980
1980
|
columns: n(a),
|
|
@@ -1987,7 +1987,7 @@ const Ti = "/v2/player-season-stats", Ii = "/v2/goalie-season-stats", Pi = "/v2/
|
|
|
1987
1987
|
], 64);
|
|
1988
1988
|
};
|
|
1989
1989
|
}
|
|
1990
|
-
}, ve = "h1,h2,h3,ul,li,p,dl,dt,dd{margin:0;padding:0}button{font-family:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0;border-width:0;-webkit-appearance:button;background-color:transparent;background-image:none;cursor:pointer}ol,ul{list-style:none}:root,:host{font-family:Roboto Condensed,Avenir,Helvetica,Arial,sans-serif;--vbr-widget-primary-color-0: #ffffff;--vbr-widget-primary-color-50: #eceff1;--vbr-widget-primary-color-100: #cfd8dc;--vbr-widget-primary-color-200: #b0bec5;--vbr-widget-primary-color-300: #90a4ae;--vbr-widget-primary-color-400: #78909c;--vbr-widget-primary-color-500: #607d8b;--vbr-widget-primary-color-600: #546e7a;--vbr-widget-primary-color-700: #455a64;--vbr-widget-primary-color-800: #37474f;--vbr-widget-primary-color-900: #263238;--vbr-widget-secondary-color-100: #dcedc8;--vbr-widget-secondary-color-200: #badb94;--vbr-widget-secondary-color-300: #aed581;--vbr-widget-secondary-color-400: #9ccc65;--vbr-widget-secondary-color-500: #8bc34a;--vbr-widget-secondary-color-700: #689f38;--vbr-widget-secondary-color-800: #558b2f;--vbr-widget-secondary-color-900: #33691e;--vbr-widget-danger-color-50: #ffebee;--vbr-widget-danger-color-100: #ffcdd2;--vbr-widget-danger-color-200: #ef9a9a;--vbr-widget-danger-color-300: #e57373;--vbr-widget-danger-color-400: #ef5350;--vbr-widget-danger-color-500: #f44336;--vbr-widget-danger-color-700: #d32f2f;--vbr-widget-danger-color-900: #b71c1c;--vbr-widget-danger-color-a400: #ff1744;--vbr-widget-live-game-color: #8bc34a;--vbr-widget-neutral-color: #ffc107;--vbr-widget-typography-font-size-50: .625rem;--vbr-widget-typography-font-size-100: .6875rem;--vbr-widget-typography-font-size-200: .75rem;--vbr-widget-typography-font-size-300: .8125rem;--vbr-widget-typography-font-size-400: .875rem;--vbr-widget-typography-font-size-500: 1rem;--vbr-widget-typography-font-size-600: 1.125rem;--vbr-widget-typography-font-size-700: 1.25rem;--vbr-widget-typography-font-size-800: 1.5rem;--vbr-widget-typography-font-size-900: 1.75rem;--vbr-widget-typography-font-size-950: 2rem;--vbr-widget-typography-font-lineheight-50: calc(var(--vbr-widget-typography-font-size-50) * 1.628);--vbr-widget-typography-font-lineheight-100: calc(var(--vbr-widget-typography-font-size-100) * 1.628);--vbr-widget-typography-font-lineheight-200: calc(var(--vbr-widget-typography-font-size-200) * 1.628);--vbr-widget-typography-font-lineheight-300: calc(var(--vbr-widget-typography-font-size-300) * 1.628);--vbr-widget-typography-font-lineheight-400: calc(var(--vbr-widget-typography-font-size-400) * 1.628);--vbr-widget-typography-font-lineheight-500: calc(var(--vbr-widget-typography-font-size-500) * 1.628);--vbr-widget-typography-font-lineheight-600: calc(var(--vbr-widget-typography-font-size-600) * 1.628);--vbr-widget-typography-font-lineheight-700: calc(var(--vbr-widget-typography-font-size-700) * 1.628);--vbr-widget-typography-font-lineheight-800: calc(var(--vbr-widget-typography-font-size-800) * 1.628);--vbr-widget-typography-font-lineheight-900: calc(var(--vbr-widget-typography-font-size-900) * 1.628);--vbr-widget-typography-font-lineheight-950: calc(var(--vbr-widget-typography-font-size-950) * 1.628);--vbr-widget-typography-heading-weight: 500;--vbr-widget-typography-heading-1-size: var(--vbr-widget-typography-font-size-800);--vbr-widget-typography-heading-2-size: var(--vbr-widget-typography-font-size-700);--vbr-widget-typography-heading-3-size: var(--vbr-widget-typography-font-size-600);--vbr-widget-typography-heading-4-size: var(--vbr-widget-typography-font-size-500);--vbr-widget-typography-heading-5-size: var(--vbr-widget-typography-font-size-400);--vbr-widget-typography-heading-6-size: var(--vbr-widget-typography-font-size-200);--vbr-widget-table-header-font-size: var(--vbr-widget-typography-font-size-200);--vbr-widget-table-default-column-width: 30px;--vbr-widget-table-default-bg-color: var(--vbr-widget-primary-color-0);--vbr-widget-table-color: var(--vbr-widget-primary-color-800);--vbr-widget-table-neutral-color: var(--vbr-widget-primary-color-300);--vbr-widget-table-header-bg-color: var(--vbr-widget-primary-color-800);--vbr-widget-table-header-hover-bg-color: var(--vbr-widget-primary-color-700);--vbr-widget-table-header-color: var(--vbr-widget-primary-color-200);--vbr-widget-table-table-header-active-bg-color: var(--vbr-widget-primary-color-700);--vbr-widget-table-header-active-color: var(--vbr-widget-primary-color-0);--vbr-widget-table-hover-color: var(--vbr-widget-secondary-color-900);--vbr-widget-table-hover-bg-color: var(--vbr-widget-secondary-color-100);--vbr-widget-table-active-color: var(--vbr-widget-secondary-color-900);--vbr-widget-table-active-bg-color: var(--vbr-widget-secondary-color-200);--vbr-widget-table-active-even-bg-color: var(--vbr-widget-secondary-color-300);--vbr-widget-table-active-hover-color: var(--vbr-widget-secondary-color-900);--vbr-widget-table-active-hover-bg-color: var(--vbr-widget-secondary-color-400);--vbr-widget-table-portrait-border-color: var(--vbr-widget-primary-color-100);--vbr-widget-table-portrait-bg-color: var(--vbr-widget-primary-color-50);--vbr-widget-table-cell-light-color: var(--vbr-widget-primary-color-400);--vbr-widget-table-cell-dark-color: var(--vbr-widget-primary-color-900);--vbr-widget-table-stripped-bg-color: #f8f9fa;--vbr-widget-table-label-color: var(--vbr-widget-primary-color-500);--vbr-widget-table-label-bg-color: var(--vbr-widget-primary-color-50);--vbr-widget-table-cell-logo-size: 20px;--vbr-widget-table-cell-portrait-size: 26px;--vbr-widget-table-zero-color: var(--vbr-widget-primary-color-200);--vbr-widget-paginator-color: var(--vbr-widget-primary-color-500);--vbr-widget-paginator-bg-color: var(--vbr-widget-primary-color-0);--vbr-widget-paginator-hover-color: var(--vbr-widget-primary-color-700);--vbr-widget-paginator-hover-bg-color: var(--vbr-widget-primary-color-100);--vbr-widget-paginator-border-color: var(--vbr-widget-primary-color-100);--vbr-widget-paginator-active-color: var(--vbr-widget-primary-color-0);--vbr-widget-paginator-active-bg-color: var(--vbr-widget-primary-color-900);--vbr-widget-paginator-disabled-color: var(--vbr-widget-primary-color-200);--vbr-widget-tooltip-font-size: var(--vbr-widget-typography-font-size-200);--vbr-widget-tooltip-color: #ffffff;--vbr-widget-tooltip-bg-color: #000000;--vbr-widget-popover-trigger-hover-bg-color: var(--vbr-widget-secondary-color-200);--vbr-widget-popover-trigger-focus-bg-color: var(--vbr-widget-secondary-color-300);--vbr-widget-popover-bg-color: var(--vbr-widget-primary-color-0);--vbr-widget-dropdown-item-color: var(--vbr-widget-primary-color-500);--vbr-widget-dropdown-item-hover-color: var(--vbr-widget-primary-color-800);--vbr-widget-dropdown-item-hover-bg-color: var(--vbr-widget-primary-color-50);--vbr-widget-dropdown-item-selected-color: var(--vbr-widget-secondary-color-700);--vbr-widget-dropdown-item-selected-hover-bg-color: var(--vbr-widget-secondary-color-100);--vbr-widget-error-notice-bg-color: var(--vbr-widget-danger-color-50);--vbr-widget-error-notice-border-color: var(--vbr-widget-danger-color-100);--vbr-widget-error-notice-color: var(--vbr-widget-danger-color-700);--vbr-widget-link-color: var(--vbr-widget-secondary-color-700);--vbr-widget-hover-color: var(--vbr-widget-secondary-color-900);--vbr-widget-base-input-color: var(--vbr-widget-primary-color-800);--vbr-widget-base-input-font-size: var(--vbr-widget-typography-font-size-400);--vbr-widget-base-input-border-color: var(--vbr-widget-primary-color-300);--vbr-widget-base-input-border-radius: 3px;--vbr-widget-form-label-color: var(--vbr-widget-primary-color-500);--vbr-widget-form-label-font-size: var(--vbr-widget-typography-font-size-200);--vbr-widget-timezone-selector-color: var(--vbr-widget-primary-color-500);--vbr-widget-timezone-selector-font-size: var(--vbr-widget-typography-font-size-400);--vbr-widget-badge-bg-color: var(--vbr-widget-primary-color-50);--vbr-widget-badge-color: var(--vbr-widget-primary-color-400);--vbr-widget-badge-font-size: var(--vbr-widget-typography-font-size-50);--vbr-widget-badge-large-font-size: var(--vbr-widget-typography-font-size-100);--vbr-widget-badge-extra-large-font-size: var(--vbr-widget-typography-font-size-300);--vbr-widget-tab-btn-padding: .625rem 1rem;--vbr-widget-tab-btn-font-size: var(--vbr-widget-typography-font-size-500);--vbr-widget-tab-btn-font-weight: 500;--vbr-widget-tab-btn-bg-color: var(--vbr-widget-primary-color-0);--vbr-widget-tab-btn-color: var(--vbr-widget-primary-color-300);--vbr-widget-tab-btn-border-color: transparent;--vbr-widget-tab-btn-border-style: solid;--vbr-widget-tab-btn-border-width: 0 0 3px 0;--vbr-widget-tab-btn-text-transform: uppercase;--vbr-widget-tab-btn-hover-color: var(--vbr-widget-primary-color-500);--vbr-widget-tab-btn-hover-bg-color: var(--vbr-widget-primary-color-0);--vbr-widget-tab-btn-hover-border-color: transparent;--vbr-widget-tab-btn-active-bg-color: var(--vbr-widget-primary-color-0);--vbr-widget-tab-btn-active-color: var(--vbr-widget-primary-color-900);--vbr-widget-tab-btn-active-border-color: var(--vbr-widget-secondary-color-500);--vbr-widget-toggle-group-gap: .625rem;--vbr-widget-toggle-group-btn-padding: 3px 10px;--vbr-widget-toggle-group-btn-size: var(--vbr-widget-typography-font-size-400);--vbr-widget-toggle-group-btn-bg-color: var(--vbr-widget-primary-color-50);--vbr-widget-toggle-group-btn-active-color: var(--vbr-widget-primary-color-0);--vbr-widget-toggle-group-btn-active-bg-color: var(--vbr-widget-live-game-color);--vbr-widget-toggle-group-btn-radius: 4px;--vbr-widget-progress-height: 10px;--vbr-widget-progress-border-radius: 5px;--vbr-widget-progress-bg-color: var(--vbr-widget-primary-color-50);--vbr-widget-progress-bar-color: var(--vbr-widget-live-game-color);--vbr-widget-progress-bar-stripe-color: rgba(255, 255, 255, .2);--vbr-widget-progress-bar-stripe-angle: 45deg;--vbr-widget-gamecenter-result-size: 6rem;--vbr-widget-gamecenter-result-weight: 700;--vbr-widget-gamecenter-result-color: var(--vbr-widget-primary-color-800);--vbr-widget-gamecenter-teamname-size: var(--vbr-widget-typography-font-size-700);--vbr-widget-gamecenter-teamname-color: var(--vbr-widget-primary-color-800);--vbr-widget-gamecenter-teamname-weight: 700;--vbr-widget-gamecenter-title-color: var(--vbr-widget-primary-color-800);--vbr-widget-gamecenter-title-size: var(--vbr-widget-typography-font-size-500);--vbr-widget-gamecenter-title-weight: 700;--vbr-widget-gamecenter-gamedate-color: var(--vbr-widget-primary-color-500);--vbr-widget-gamecenter-gamedate-size: var(--vbr-widget-typography-font-size-500);--vbr-widget-gamecenter-local-gamedate-color: var(--vbr-widget-primary-color-500);--vbr-widget-gamecenter-local-gamedate-size: var(--vbr-widget-typography-font-size-300);--vbr-widget-gamecenter-gamestatus-color: var(--vbr-widget-primary-color-600);--vbr-widget-gamecenter-gamestatus-size: var(--vbr-widget-typography-font-size-400);--vbr-widget-gamecenter-periodresults-color: var(--vbr-widget-primary-color-600);--vbr-widget-gamecenter-periodresults-size: var(--vbr-widget-typography-font-size-700);--vbr-widget-gamecenter-period-header-bg-color: var(--vbr-widget-primary-color-800);--vbr-widget-gamecenter-period-header-color: var(--vbr-widget-primary-color-0);--vbr-widget-gamecenter-period-header-size: var(--vbr-widget-typography-font-size-300);--vbr-widget-gamecenter-period-header-weight: 500;--vbr-widget-gamecenter-stats-bg-color: var(--vbr-widget-primary-color-50);--vbr-widget-gamecenter-stats-border-color: var(--vbr-widget-primary-color-100);--vbr-widget-gamecenter-stats-title-size: var(--vbr-widget-typography-font-size-300);--vbr-widget-gamecenter-stats-title-color: var(--vbr-widget-primary-color-400);--vbr-widget-gamecenter-stats-size: var(--vbr-widget-typography-font-size-500);--vbr-widget-gamecenter-stats-color: var(--vbr-widget-primary-color-800);--vbr-widget-gamecenter-team-container-title-color: var(--vbr-widget-primary-color-800);--vbr-widget-gamecenter-team-container-title-bg-color: var(--vbr-widget-primary-color-100);--vbr-widget-gamecenter-team-container-border-color: var(--vbr-widget-primary-color-100);--vbr-widget-gamecenter-events-evented-person-size: var(--vbr-widget-typography-font-size-500);--vbr-widget-gamecenter-events-evented-person-weight: 600;--vbr-widget-gamecenter-events-assitst-list-size: var(--vbr-widget-typography-font-size-400);--vbr-widget-gamecenter-events-poi-list-size: var(--vbr-widget-typography-font-size-200);--vbr-widget-gamecenter-events-score-size: var(--vbr-widget-typography-font-size-500);--vbr-widget-gamecenter-events-penalty-size: var(--vbr-widget-typography-font-size-400);--vbr-widget-gamecenter-events-goalie-direction-size: var(--vbr-widget-typography-font-size-400);--vbr-widget-gamecenter-events-timeout-bg-color: #2870ed;--vbr-widget-gamecenter-card-title-color: var(--vbr-widget-primary-color-900);--vbr-widget-gamecenter-card-secondary-color: var(--vbr-widget-primary-color-500);--vbr-widget-gamecenter-card-tertiary-color: var(--vbr-widget-primary-color-300);--vbr-widget-gamecenter-card-border-color: var(--vbr-widget-primary-color-100);--vbr-widget-gamecenter-card-bg-color: var(--vbr-widget-primary-color-0);--vbr-widget-gamecenter-card-event-goal-border-color: var(--vbr-widget-primary-color-700);--vbr-widget-gamecenter-card-event-goal-bg-color: var(--vbr-widget-primary-color-700);--vbr-widget-gamecenter-home-team-identifier-color: #2870ed;--vbr-widget-gamecenter-away-team-identifier-color: #ff6129;--vbr-widget-gamecenter-home-team-identifier-border-color: transparent;--vbr-widget-gamecenter-away-team-identifier-border-color: transparent;--vbr-widget-main-image-wrapper-horizontal-margin: 0;--vbr-widget-sticky-top-offset: 0;--vbr-widget-games-timeline-game-date-size: var(--vbr-widget-typography-font-size-100);--vbr-widget-games-timeline-game-date-color: var(--vbr-widget-primary-color-500);--vbr-widget-games-timeline-game-team-color: var(--vbr-widget-primary-color-700);--vbr-widget-games-timeline-game-team-size: var(--vbr-widget-typography-font-size-300);--vbr-widget-games-timeline-game-status-color: var(--vbr-widget-primary-color-300);--vbr-widget-games-timeline-game-status-size: var(--vbr-widget-typography-font-size-200);--vbr-widget-games-timeline-game-hover-bg-color: linear-gradient(#fff, #f5f6f7 50%, #fff);--vbr-widget-games-timeline-arrow-color: var(--vbr-widget-primary-color-300);--vbr-widget-games-timeline-arrow-hover-color: var(--vbr-widget-primary-color-500);--vbr-widget-games-timeline-arrow-disabled-color: var(--vbr-widget-primary-color-100);--vbr-widget-games-timeline-arrow-border-color: var(--vbr-widget-primary-color-100);--vbr-widget-games-timeline-external-link-color: var(--vbr-widget-primary-color-500);--vbr-widget-games-timeline-external-link-size: var(--vbr-widget-typography-font-size-200);--vbr-widget-standings-selector-title-size: var(--vbr-widget-typography-font-size-500);--vbr-widget-standings-selector-title-color: var(--vbr-widget-primary-color-700);--vbr-widget-standings-selector-title-transform: none;--vbr-widget-standings-selector-title-padding: 0 .625em .5625em;--vbr-widget-standings-selector-title-bg-color: transparent;--vbr-widget-standings-selector-section-title-bg: var(--vbr-widget-primary-color-50);--vbr-widget-standings-selector-section-title-size: var(--vbr-widget-typography-font-size-400);--vbr-widget-standings-selector-section-title-color: var(--vbr-widget-primary-color-700);--vbr-widget-standings-selector-section-title-padding: .25em 0;--vbr-widget-standings-selector-section-logo-size: 30px;--vbr-widget-standings-selector-section-team-color: var(--vbr-widget-primary-color-900);--vbr-widget-countdown-title-height: 2rem;--vbr-widget-countdown-title-bg: var(--vbr-widget-primary-color-900);--vbr-widget-countdown-gamedata-height: 4rem;--vbr-widget-countdown-gamedata-bg: var(--vbr-widget-primary-color-700);--vbr-widget-countdown-result-bg: var(--vbr-widget-primary-color-800);--ease-spring-1: linear( 0, .009, .035 2.1%, .141, .281 6.7%, .723 12.9%, .938 16.7%, 1.017, 1.077, 1.121, 1.149 24.3%, 1.159, 1.163, 1.161, 1.154 29.9%, 1.129 32.8%, 1.051 39.6%, 1.017 43.1%, .991, .977 51%, .974 53.8%, .975 57.1%, .997 69.8%, 1.003 76.9%, 1.004 83.8%, 1 )}html,body{-webkit-font-smoothing:antialiased}.transition-fade-enter-active,.transition-fade-leave-active{transition:all .7s var(--ease-spring-1)}.transition-fade-enter-from,.transition-fade-leave-to{opacity:0;transform:translateY(5px)}.transition-event-move,.transition-event-enter-active,.transition-event-leave-active{transition:all .25s ease}.transition-event-enter-from,.transition-event-leave-to{opacity:0}img{opacity:0;transition:opacity .5s ease-out}img.is-loaded{opacity:1}a{color:var(--vbr-widget-link-color);text-decoration:none}a:hover{color:var(--vbr-widget-hover-color)}.loading-indicator{padding:1em;font-weight:600;color:var(--vbr-widget-primary-color-400);text-align:center}.floating-content.is-tooltip{background-color:var(--vbr-widget-tooltip-bg-color);color:var(--vbr-widget-tooltip-color);font-weight:700;padding:5px 10px;border-radius:4px;font-size:var(--vbr-widget-tooltip-font-size);white-space:nowrap;pointer-events:none}.floating-content.is-tooltip .is-arrow{background-color:var(--vbr-widget-tooltip-bg-color)}.floating-content.is-content{border-radius:4px;box-shadow:2px 14px 23px #00000040}.floating-content.is-content .is-arrow{background-color:var(--vbr-widget-primary-color-50)}.floating-content .is-arrow{position:absolute;width:8px;height:8px;transform:rotate(45deg)}[data-placement^=top] .floating-content .is-arrow{bottom:-4px}[data-placement^=bottom] .floating-content .is-arrow{top:-4px}[data-placement^=left] .floating-content .is-arrow{right:-4px}[data-placement^=right] .floating-content .is-arrow{left:-4px}.error-notice{display:flex;align-items:center;justify-items:flex-start;margin:10px 0;padding:10px 20px;background-color:var(--vbr-widget-error-notice-bg-color);color:var(--vbr-widget-error-notice-color);border:1px solid var(--vbr-widget-error-notice-border-color)}.error-notice .icon{margin-right:15px}.timezone-selector{padding:3px 0;color:var(--vbr-widget-timezone-selector-color);font-size:var(--vbr-widget-timezone-selector-font-size);font-weight:500}.timezone-selector .is-active{font-weight:700}.is-badge{display:inline-block;padding:.125em .25em;color:var(--vbr-widget-badge-color);font-size:var(--vbr-widget-badge-font-size);font-weight:700;text-transform:uppercase;background-color:var(--vbr-widget-badge-bg-color);border-radius:3px}.is-badge+.is-badge{margin-inline-start:3px}.is-badge.is-invert{color:var(--vbr-widget-badge-bg-color);background-color:var(--vbr-widget-badge-color)}.is-badge.is-green{color:var(--vbr-widget-primary-color-0);background-color:var(--vbr-widget-live-game-color)}.is-badge.is-red{color:var(--vbr-widget-primary-color-0);background-color:var(--vbr-widget-danger-color-a400)}.is-badge.is-yellow{color:var(--vbr-widget-primary-color-0);background-color:var(--vbr-widget-neutral-color)}.is-badge.is-dark{color:var(--vbr-widget-primary-color-0);background-color:var(--vbr-widget-primary-color-700)}.is-badge.is-large{font-size:var(--vbr-widget-badge-large-font-size);padding:.15em .35em}.is-badge.is-extra-large{font-size:var(--vbr-widget-badge-extra-large-font-size);padding:.2695em .5165em}", Ke = ".is-text-right{text-align:right}.is-text-center{text-align:center}.is-text-bold{font-weight:700}.is-text-italic{font-style:italic}.is-text-xs{font-size:var(--vbr-widget-typography-font-size-200);line-height:var(--vbr-widget-typography-font-lineheight-200)}.is-text-sm{font-size:var(--vbr-widget-typography-font-size-400);line-height:var(--vbr-widget-typography-font-lineheight-200)}.is-text-base{font-size:var(--vbr-widget-typography-font-size-500);line-height:var(--vbr-widget-typography-font-lineheight-500)}.is-text-lg{font-size:var(--vbr-widget-typography-font-size-600);line-height:var(--vbr-widget-typography-font-lineheight-600)}.is-text-xl{font-size:var(--vbr-widget-typography-font-size-700);line-height:var(--vbr-widget-typography-font-lineheight-700)}.is-text-4xl{font-size:var(--vbr-widget-typography-font-size-950);line-height:var(--vbr-widget-typography-font-lineheight-950)}.is-uppercase{text-transform:uppercase}.is-opacity-20{opacity:.2}.is-opacity-30{opacity:.3}.is-opacity-40{opacity:.4}.is-opacity-50{opacity:.5}.is-mt-5{margin-top:1rem}.is-mb-5{margin-bottom:1rem}.is-whitespace-nowrap{white-space:nowrap}.is-heading-1{font-size:var(--vbr-widget-typography-heading-1-size);line-height:var(--vbr-widget-typography-font-lineheight-700);margin-block-start:var(--vbr-widget-typography-font-size-700);margin-block-end:calc(var(--vbr-widget-typography-font-size-700) / 2);font-weight:var(--vbr-widget-typography-heading-weight)}.is-heading-2{font-size:var(--vbr-widget-typography-heading-2-size);line-height:var(--vbr-widget-typography-font-lineheight-600);font-weight:var(--vbr-widget-typography-heading-weight);margin-block-start:var(--vbr-widget-typography-font-size-600);margin-block-end:calc(var(--vbr-widget-typography-font-size-600) / 2)}.is-heading-3{font-size:var(--vbr-widget-typography-heading-3-size);line-height:var(--vbr-widget-typography-font-lineheight-500);font-weight:var(--vbr-widget-typography-heading-weight);margin-block-start:var(--vbr-widget-typography-font-size-500);margin-block-end:calc(var(--vbr-widget-typography-font-size-500) / 2)}.is-rounded{overflow:hidden;border-radius:100%}.is-rounded+.is-rounded{margin-left:3px}.is-rounded img{display:block}.is-w-5{width:16px}.is-w-7{width:24px}.is-w-10{width:32px}", Kt = ".g-row{display:flex}.g-row-wrap{display:flex;flex-wrap:wrap}.g-col{flex:1 0 0%}.g-gap-normal{gap:16px}[class^=g-col-]{flex:0 0 auto}.g-col-6{width:50%}.g-col-5{width:41.66666667%}.g-col-3{width:25%}.g-col-auto{width:auto}.g-gap-normal{gap:20px}.g-grid{--columns: repeat(2, 1fr);--columns-tablet: repeat(4, 1fr);display:grid;grid-template-columns:var(--columns)}@media all and (min-width: 768px){.g-grid{grid-template-columns:var(--columns-tablet)}}", er = `.base-input{padding:.375rem .75rem;font-family:inherit;color:var(--vbr-widget-base-input-color);border:1px solid var(--vbr-widget-base-input-border-color);border-radius:var(--vbr-widget-base-input-border-radius);width:100%;-moz-padding-start:calc(.75rem - 3px);font-size:var(--vbr-widget-base-input-font-size);font-weight:400;line-height:1.5;background-color:#fff;transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out;-webkit-appearance:none;-moz-appearance:none;appearance:none}.base-input:disabled{opacity:.3}.base-input.is-select{padding-right:2.25rem;background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");background-repeat:no-repeat;background-position:right .75rem center;background-size:16px 12px}label{display:block;margin-bottom:3px;color:var(--vbr-widget-form-label-color);font-size:var(--vbr-widget-form-label-font-size);font-weight:700;text-transform:uppercase}.tab-button{padding:var(--vbr-widget-tab-btn-padding);font-family:inherit;font-size:var(--vbr-widget-tab-btn-font-size);font-weight:var(--vbr-widget-tab-btn-font-weight);color:var(--vbr-widget-tab-btn-color);text-transform:var(--vbr-widget-tab-btn-text-transform);background-color:var(--vbr-widget-tab-btn-bg-color);border-color:var(--vbr-widget-tab-btn-border-color);border-width:var(--vbr-widget-tab-btn-border-width);border-style:var(--vbr-widget-tab-btn-border-style);outline:none;box-shadow:none;cursor:pointer}.tab-button:hover{color:var(--vbr-widget-tab-btn-hover-color);border-color:var(--vbr-widget-tab-btn-hover-border-color);background-color:var(--vbr-widget-tab-btn-hover-bg-color)}.tab-button.is-active{color:var(--vbr-widget-tab-btn-active-color);border-color:var(--vbr-widget-tab-btn-active-border-color);background-color:var(--vbr-widget-tab-btn-active-bg-color)}.toggle-group{display:flex;flex-wrap:wrap;gap:var(--vbr-widget-toggle-group-gap);margin-bottom:15px}.toggle-group button{padding:var(--vbr-widget-toggle-group-btn-padding);font-family:inherit;font-size:var(--vbr-widget-toggle-group-btn-size);background-color:var(--vbr-widget-toggle-group-btn-bg-color);border-radius:var(--vbr-widget-toggle-group-btn-radius)}.toggle-group button.is-active{color:var(--vbr-widget-toggle-group-btn-active-color);background-color:var(--vbr-widget-toggle-group-btn-active-bg-color)}`, qi = ".wrapped-grid{--min-width: 300px;--max-width: 1fr;display:grid;grid-template-columns:repeat(auto-fill,minmax(var(--min-width),var(--max-width)));gap:30px;padding-block:20px;text-align:center}.wrapped-grid a{display:flex;flex-direction:column;align-items:center;row-gap:20px}.wrapped-grid .is-team-logo{display:block;width:100%;aspect-ratio:1}", tr = ".is-card{container-name:card-row;container-type:inline-size;background-color:#fff;padding:15px;margin-bottom:20px;box-shadow:0 2px 4px #0000001a,0 2px 2px #0000001a}.is-card>div{border-bottom:1px solid var(--vbr-widget-primary-color-100)}.is-card>div:last-of-type{border:none}.is-sticky{position:sticky;top:var(--vbr-widget-sticky-top-offset);z-index:10}.is-blured-bg{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.card-item{display:grid;grid-gap:1rem;grid-template-columns:2fr 1fr 2fr;padding:2rem 0;border-bottom:1px solid var(--vbr-widget-primary-color-100)}.card-item.is-optional{opacity:.4;transition:opacity .3s ease-out}.card-item.is-optional:hover{opacity:1}.card-item svg{display:block}.card-item .is-team-name-short{display:none}@container card-row (max-width: 640px){.card-item .is-team-name-long{display:none}.card-item .is-team-name-short{display:block}}.card-item .is-info{grid-column:1/4;display:flex;justify-content:center;align-items:center;color:var(--vbr-widget-primary-color-500)}.card-item .is-home-team{display:flex;gap:8px;align-items:center;justify-content:flex-end;font-weight:700}.card-item .is-away-team{display:flex;gap:8px;align-items:center;justify-content:flex-start;font-weight:700}.card-item .is-logo-image{width:40px}.card-item .is-game-data{display:flex;flex-direction:column;align-items:center;justify-content:center}.card-item .is-game-data a{display:flex;flex-direction:column;align-items:center;color:var(--vbr-widget-primary-color-900)}.card-item .is-game-data a:hover{color:var(--vbr-widget-primary-color-600)}.card-item .is-game-data.is-live,.card-item .is-game-data.is-live a{color:var(--vbr-widget-live-game-color)}.section-selector{margin:20px 0;border-bottom:1px solid var(--vbr-widget-primary-color-200)}.main-image-wrapper{--overlay-size: 160px;--overlay-radius: 50%;display:grid;grid-template-columns:1fr var(--overlay-size) 1fr;grid-template-rows:1fr 1fr 1fr calc(var(--overlay-size) / 2) calc(var(--overlay-size) / 2);margin-left:var(--vbr-widget-main-image-wrapper-horizontal-margin);margin-right:var(--vbr-widget-main-image-wrapper-horizontal-margin)}.main-image-wrapper:has(img.is-default){min-height:470px}.main-image-wrapper .is-main-image{grid-column:1/4;grid-row:1/5;display:flex;justify-content:center;align-items:center;background-color:var(--vbr-widget-primary-color-50);box-shadow:0 2px 4px #0003}.main-image-wrapper .is-main-image .is-default{filter:grayscale(1);opacity:.3;mix-blend-mode:multiply}.main-image-wrapper .is-main-image img:not(.is-default){width:100%}.main-image-wrapper .is-ovarlay-image{grid-row:4/-1;grid-column:2;justify-self:center;overflow:hidden;border-radius:var(--overlay-radius);z-index:1}.main-image-wrapper .is-ovarlay-image img{width:100%;aspect-ratio:1}", Wi = ".paginator{display:flex;flex-direction:row;list-style-type:none;margin:10px 0;padding:0}.paginator button,.paginator div{display:flex;align-items:center;justify-content:center;padding:6px 12px;text-decoration:none;cursor:pointer;color:var(--vbr-widget-paginator-color);border:1px solid var(--vbr-widget-paginator-border-color);background-color:var(--vbr-widget-paginator-bg-color);margin-left:-1px}.paginator button .icon,.paginator div .icon{width:16px;height:16px;margin:0 -4px}.paginator button:hover:not(.paginator button.is-disabled,.paginator button.is-active,.paginator div.is-disabled,.paginator div.is-active),.paginator div:hover:not(.paginator button.is-disabled,.paginator button.is-active,.paginator div.is-disabled,.paginator div.is-active){color:var(--vbr-widget-paginator-hover-color);background-color:var(--vbr-widget-paginator-hover-bg-color)}.paginator button:disabled,.paginator button.is-disabled,.paginator div:disabled,.paginator div.is-disabled{color:var(--vbr-widget-paginator-disabled-color);background-color:var(--vbr-widget-paginator-bg-color);pointer-events:none;cursor:default}.paginator button.is-active,.paginator div.is-active{color:var(--vbr-widget-paginator-active-color);background-color:var(--vbr-widget-paginator-active-bg-color);border-color:var(--vbr-widget-paginator-active-bg-color);cursor:default}", Yi = '.table{border-collapse:collapse;border-spacing:0;color:var(--vbr-widget-table-color);background-color:var(--vbr-widget-table-default-bg-color)}.table table,.table caption,.table tbody,.table tfoot,.table thead,.table tr,.table th,.table td{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}.table :is(th,td){padding:8px;white-space:nowrap;vertical-align:middle;text-align:center}.table :is(th,td).is-text-left{text-align:left}.table :is(th,td).is-text-right{text-align:right}.table th{width:var(--vbr-widget-table-default-column-width);background:var(--vbr-widget-table-header-bg-color);font-size:var(--vbr-widget-table-header-font-size);font-weight:700;color:var(--vbr-widget-table-header-color)}.table th:focus-visible,.table th:hover{background-color:var(--vbr-widget-table-header-hover-bg-color);outline:none}.table th.is-sortable{position:relative;cursor:pointer}.table th.is-sortable .icon-sort{opacity:.5}.table th.is-active{background-color:var(--vbr-widget-table-table-header-active-bg-color);color:var(--vbr-widget-table-header-active-color)}.table th.is-active .icon-sort{opacity:1}.table th.is-asc,.table th.is-desc{position:relative}.table th.is-w-auto{width:auto}.table th .is-icon-sort{width:11px;height:11px;margin-left:5px}.table td.is-active{font-weight:700;color:var(--vbr-widget-table-active-color);background:var(--vbr-widget-table-active-bg-color)}.table td.is-zero{color:var(--vbr-widget-table-zero-color)}.table td.is-possible-empty:empty:before{content:"0";color:var(--vbr-widget-table-zero-color)}.table td .is-text-light,.table td.is-text-light{color:var(--vbr-widget-table-cell-light-color)}.table td .is-text-dark,.table td.is-text-dark{color:var(--vbr-widget-table-cell-dark-color)}.table td .is-logo-image{display:inline-block;vertical-align:middle;width:var(--vbr-widget-table-cell-logo-size);height:var(--vbr-widget-table-cell-logo-size)}.table td .is-portrait-image{display:inline-block;vertical-align:middle;width:var(--vbr-widget-table-cell-portrait-size);height:var(--vbr-widget-table-cell-portrait-size);object-fit:cover;object-position:top;overflow:hidden;border-radius:100%;border:1px solid var(--vbr-widget-primary-color-100)}.table td .is-portrait-image img{width:var(--vbr-widget-table-cell-portrait-size);height:auto}.table td.is-text-bold{font-weight:700}.table td.is-text-italic{font-style:italic}.table td.is-text-xl{font-size:var(--vbr-widget-typography-font-size-700)}.table td .is-text-accent{color:var(--vbr-widget-secondary-color-500)}.table td.is-w-auto{width:auto}.table td.is-horizontal-content{display:inline-flex;align-items:center}.table td.is-text-positive,.table td .is-text-positive{color:var(--vbr-widget-live-game-color)}.table td.is-text-negative,.table td .is-text-negative{color:var(--vbr-widget-danger-color-a400)}.table td.is-has-image{padding:0 2px}.table td .is-duplicated{color:var(--vbr-widget-table-neutral-color)}.table td svg{width:16px;height:16px}.table td button{padding:3px;line-height:0;border:none;outline:none;background-color:transparent}.table td button:hover{background-color:var(--vbr-widget-popover-trigger-hover-bg-color)}.table td button:active,.table td button:focus{background-color:var(--vbr-widget-popover-trigger-focus-bg-color)}.table td a{text-decoration:none}.table td .label{padding:3px 6px;font-size:var(--vbr-widget-typography-font-size-100);font-weight:700;color:var(--vbr-widget-table-label-color);background-color:var(--vbr-widget-table-label-bg-color);border-radius:2px}.table td .label:not(:last-of-type){margin-right:3px}.table td a{color:var(--vbr-widget-link-color)}.table td a:hover{color:var(--vbr-widget-hover-color)}.table td .is-team-name-long{display:block}.table td .is-team-name-short{display:none}@container table-wrapper (max-width: 768px){.table td .is-team-name-long{display:none}.table td .is-team-name-short{display:block}}.table tr.is-highlighted{color:var(--vbr-widget-danger-color-a400)}.table tr.is-optional{opacity:.5}.table tr:nth-child(2n){background:var(--vbr-widget-table-stripped-bg-color)}.table tr:nth-child(2n) td.is-active{background-color:var(--vbr-widget-table-active-even-bg-color)}.table tbody tr:focus-within,.table tbody tr:hover{color:var(--vbr-widget-table-hover-color);background-color:var(--vbr-widget-table-hover-bg-color)}.table tbody tr:focus-within td.is-active,.table tbody tr:hover td.is-active{color:var(--vbr-widget-table-active-hover-color);background-color:var(--vbr-widget-table-active-hover-bg-color)}', Hi = ".table-responsive{container-name:table-wrapper;container-type:inline-size;width:100%;overflow-x:auto}.table-responsive table{width:100%}", he = (e, t) => {
|
|
1990
|
+
}, ve = "h1,h2,h3,ul,li,p,dl,dt,dd{margin:0;padding:0}button{font-family:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0;border-width:0;-webkit-appearance:button;background-color:transparent;background-image:none;cursor:pointer}ol,ul{list-style:none}:root,:host{font-family:Roboto Condensed,Avenir,Helvetica,Arial,sans-serif;--vbr-widget-primary-color-0: #ffffff;--vbr-widget-primary-color-50: #eceff1;--vbr-widget-primary-color-100: #cfd8dc;--vbr-widget-primary-color-200: #b0bec5;--vbr-widget-primary-color-300: #90a4ae;--vbr-widget-primary-color-400: #78909c;--vbr-widget-primary-color-500: #607d8b;--vbr-widget-primary-color-600: #546e7a;--vbr-widget-primary-color-700: #455a64;--vbr-widget-primary-color-800: #37474f;--vbr-widget-primary-color-900: #263238;--vbr-widget-secondary-color-100: #dcedc8;--vbr-widget-secondary-color-200: #badb94;--vbr-widget-secondary-color-300: #aed581;--vbr-widget-secondary-color-400: #9ccc65;--vbr-widget-secondary-color-500: #8bc34a;--vbr-widget-secondary-color-700: #689f38;--vbr-widget-secondary-color-800: #558b2f;--vbr-widget-secondary-color-900: #33691e;--vbr-widget-danger-color-50: #ffebee;--vbr-widget-danger-color-100: #ffcdd2;--vbr-widget-danger-color-200: #ef9a9a;--vbr-widget-danger-color-300: #e57373;--vbr-widget-danger-color-400: #ef5350;--vbr-widget-danger-color-500: #f44336;--vbr-widget-danger-color-700: #d32f2f;--vbr-widget-danger-color-900: #b71c1c;--vbr-widget-danger-color-a400: #ff1744;--vbr-widget-live-game-color: #8bc34a;--vbr-widget-neutral-color: #ffc107;--vbr-widget-typography-font-size-50: .625rem;--vbr-widget-typography-font-size-100: .6875rem;--vbr-widget-typography-font-size-200: .75rem;--vbr-widget-typography-font-size-300: .8125rem;--vbr-widget-typography-font-size-400: .875rem;--vbr-widget-typography-font-size-500: 1rem;--vbr-widget-typography-font-size-600: 1.125rem;--vbr-widget-typography-font-size-700: 1.25rem;--vbr-widget-typography-font-size-800: 1.5rem;--vbr-widget-typography-font-size-900: 1.75rem;--vbr-widget-typography-font-size-950: 2rem;--vbr-widget-typography-font-lineheight-50: calc(var(--vbr-widget-typography-font-size-50) * 1.628);--vbr-widget-typography-font-lineheight-100: calc(var(--vbr-widget-typography-font-size-100) * 1.628);--vbr-widget-typography-font-lineheight-200: calc(var(--vbr-widget-typography-font-size-200) * 1.628);--vbr-widget-typography-font-lineheight-300: calc(var(--vbr-widget-typography-font-size-300) * 1.628);--vbr-widget-typography-font-lineheight-400: calc(var(--vbr-widget-typography-font-size-400) * 1.628);--vbr-widget-typography-font-lineheight-500: calc(var(--vbr-widget-typography-font-size-500) * 1.628);--vbr-widget-typography-font-lineheight-600: calc(var(--vbr-widget-typography-font-size-600) * 1.628);--vbr-widget-typography-font-lineheight-700: calc(var(--vbr-widget-typography-font-size-700) * 1.628);--vbr-widget-typography-font-lineheight-800: calc(var(--vbr-widget-typography-font-size-800) * 1.628);--vbr-widget-typography-font-lineheight-900: calc(var(--vbr-widget-typography-font-size-900) * 1.628);--vbr-widget-typography-font-lineheight-950: calc(var(--vbr-widget-typography-font-size-950) * 1.628);--vbr-widget-typography-heading-weight: 500;--vbr-widget-typography-heading-1-size: var(--vbr-widget-typography-font-size-800);--vbr-widget-typography-heading-2-size: var(--vbr-widget-typography-font-size-700);--vbr-widget-typography-heading-3-size: var(--vbr-widget-typography-font-size-600);--vbr-widget-typography-heading-4-size: var(--vbr-widget-typography-font-size-500);--vbr-widget-typography-heading-5-size: var(--vbr-widget-typography-font-size-400);--vbr-widget-typography-heading-6-size: var(--vbr-widget-typography-font-size-200);--vbr-widget-link-color: var(--vbr-widget-secondary-color-700);--vbr-widget-hover-color: var(--vbr-widget-secondary-color-900);--vbr-widget-table-header-font-size: var(--vbr-widget-typography-font-size-200);--vbr-widget-table-default-column-width: 30px;--vbr-widget-table-default-bg-color: var(--vbr-widget-primary-color-0);--vbr-widget-table-color: var(--vbr-widget-primary-color-800);--vbr-widget-table-neutral-color: var(--vbr-widget-primary-color-300);--vbr-widget-table-header-bg-color: var(--vbr-widget-primary-color-800);--vbr-widget-table-header-hover-bg-color: var(--vbr-widget-primary-color-700);--vbr-widget-table-header-color: var(--vbr-widget-primary-color-200);--vbr-widget-table-header-active-bg-color: var(--vbr-widget-primary-color-700);--vbr-widget-table-header-active-color: var(--vbr-widget-primary-color-0);--vbr-widget-table-hover-color: var(--vbr-widget-secondary-color-900);--vbr-widget-table-hover-bg-color: var(--vbr-widget-secondary-color-100);--vbr-widget-table-active-color: var(--vbr-widget-secondary-color-900);--vbr-widget-table-active-bg-color: var(--vbr-widget-secondary-color-200);--vbr-widget-table-active-even-bg-color: var(--vbr-widget-secondary-color-300);--vbr-widget-table-active-hover-color: var(--vbr-widget-secondary-color-900);--vbr-widget-table-active-hover-bg-color: var(--vbr-widget-secondary-color-400);--vbr-widget-table-portrait-border-color: var(--vbr-widget-primary-color-100);--vbr-widget-table-portrait-bg-color: var(--vbr-widget-primary-color-50);--vbr-widget-table-cell-light-color: var(--vbr-widget-primary-color-400);--vbr-widget-table-cell-dark-color: var(--vbr-widget-primary-color-900);--vbr-widget-table-stripped-bg-color: #f8f9fa;--vbr-widget-table-label-color: var(--vbr-widget-primary-color-500);--vbr-widget-table-label-bg-color: var(--vbr-widget-primary-color-50);--vbr-widget-table-cell-logo-size: 20px;--vbr-widget-table-cell-portrait-size: 26px;--vbr-widget-table-zero-color: var(--vbr-widget-primary-color-200);--vbr-widget-paginator-color: var(--vbr-widget-primary-color-500);--vbr-widget-paginator-bg-color: var(--vbr-widget-primary-color-0);--vbr-widget-paginator-hover-color: var(--vbr-widget-primary-color-700);--vbr-widget-paginator-hover-bg-color: var(--vbr-widget-primary-color-100);--vbr-widget-paginator-border-color: var(--vbr-widget-primary-color-100);--vbr-widget-paginator-active-color: var(--vbr-widget-primary-color-0);--vbr-widget-paginator-active-bg-color: var(--vbr-widget-primary-color-900);--vbr-widget-paginator-disabled-color: var(--vbr-widget-primary-color-200);--vbr-widget-tooltip-font-size: var(--vbr-widget-typography-font-size-200);--vbr-widget-tooltip-color: #ffffff;--vbr-widget-tooltip-bg-color: #000000;--vbr-widget-popover-trigger-hover-bg-color: var(--vbr-widget-secondary-color-200);--vbr-widget-popover-trigger-focus-bg-color: var(--vbr-widget-secondary-color-300);--vbr-widget-popover-bg-color: var(--vbr-widget-primary-color-0);--vbr-widget-dropdown-item-color: var(--vbr-widget-primary-color-500);--vbr-widget-dropdown-item-hover-color: var(--vbr-widget-primary-color-800);--vbr-widget-dropdown-item-hover-bg-color: var(--vbr-widget-primary-color-50);--vbr-widget-dropdown-item-selected-color: var(--vbr-widget-secondary-color-700);--vbr-widget-dropdown-item-selected-hover-bg-color: var(--vbr-widget-secondary-color-100);--vbr-widget-error-notice-bg-color: var(--vbr-widget-danger-color-50);--vbr-widget-error-notice-border-color: var(--vbr-widget-danger-color-100);--vbr-widget-error-notice-color: var(--vbr-widget-danger-color-700);--vbr-widget-base-input-color: var(--vbr-widget-primary-color-800);--vbr-widget-base-input-font-size: var(--vbr-widget-typography-font-size-400);--vbr-widget-base-input-border-color: var(--vbr-widget-primary-color-300);--vbr-widget-base-input-border-radius: 3px;--vbr-widget-form-label-color: var(--vbr-widget-primary-color-500);--vbr-widget-form-label-font-size: var(--vbr-widget-typography-font-size-200);--vbr-widget-timezone-selector-color: var(--vbr-widget-primary-color-500);--vbr-widget-timezone-selector-font-size: var(--vbr-widget-typography-font-size-400);--vbr-widget-badge-bg-color: var(--vbr-widget-primary-color-50);--vbr-widget-badge-color: var(--vbr-widget-primary-color-400);--vbr-widget-badge-font-size: var(--vbr-widget-typography-font-size-50);--vbr-widget-badge-large-font-size: var(--vbr-widget-typography-font-size-100);--vbr-widget-badge-extra-large-font-size: var(--vbr-widget-typography-font-size-300);--vbr-widget-tab-btn-padding: .625rem 1rem;--vbr-widget-tab-btn-font-size: var(--vbr-widget-typography-font-size-500);--vbr-widget-tab-btn-font-weight: 500;--vbr-widget-tab-btn-bg-color: var(--vbr-widget-primary-color-0);--vbr-widget-tab-btn-color: var(--vbr-widget-primary-color-300);--vbr-widget-tab-btn-border-color: transparent;--vbr-widget-tab-btn-border-style: solid;--vbr-widget-tab-btn-border-width: 0 0 3px 0;--vbr-widget-tab-btn-text-transform: uppercase;--vbr-widget-tab-btn-hover-color: var(--vbr-widget-primary-color-500);--vbr-widget-tab-btn-hover-bg-color: var(--vbr-widget-primary-color-0);--vbr-widget-tab-btn-hover-border-color: transparent;--vbr-widget-tab-btn-active-bg-color: var(--vbr-widget-primary-color-0);--vbr-widget-tab-btn-active-color: var(--vbr-widget-primary-color-900);--vbr-widget-tab-btn-active-border-color: var(--vbr-widget-secondary-color-500);--vbr-widget-toggle-group-gap: .625rem;--vbr-widget-toggle-group-btn-padding: 3px 10px;--vbr-widget-toggle-group-btn-size: var(--vbr-widget-typography-font-size-400);--vbr-widget-toggle-group-btn-bg-color: var(--vbr-widget-primary-color-50);--vbr-widget-toggle-group-btn-active-color: var(--vbr-widget-primary-color-0);--vbr-widget-toggle-group-btn-active-bg-color: var(--vbr-widget-live-game-color);--vbr-widget-toggle-group-btn-radius: 4px;--vbr-widget-progress-height: 10px;--vbr-widget-progress-border-radius: 5px;--vbr-widget-progress-bg-color: var(--vbr-widget-primary-color-50);--vbr-widget-progress-bar-color: var(--vbr-widget-live-game-color);--vbr-widget-progress-bar-stripe-color: rgba(255, 255, 255, .2);--vbr-widget-progress-bar-stripe-angle: 45deg;--vbr-widget-gamecenter-result-size: 6rem;--vbr-widget-gamecenter-result-weight: 700;--vbr-widget-gamecenter-result-color: var(--vbr-widget-primary-color-800);--vbr-widget-gamecenter-teamname-size: var(--vbr-widget-typography-font-size-700);--vbr-widget-gamecenter-teamname-color: var(--vbr-widget-primary-color-800);--vbr-widget-gamecenter-teamname-weight: 700;--vbr-widget-gamecenter-title-color: var(--vbr-widget-primary-color-800);--vbr-widget-gamecenter-title-size: var(--vbr-widget-typography-font-size-500);--vbr-widget-gamecenter-title-weight: 700;--vbr-widget-gamecenter-gamedate-color: var(--vbr-widget-primary-color-500);--vbr-widget-gamecenter-gamedate-size: var(--vbr-widget-typography-font-size-500);--vbr-widget-gamecenter-local-gamedate-color: var(--vbr-widget-primary-color-500);--vbr-widget-gamecenter-local-gamedate-size: var(--vbr-widget-typography-font-size-300);--vbr-widget-gamecenter-gamestatus-color: var(--vbr-widget-primary-color-600);--vbr-widget-gamecenter-gamestatus-size: var(--vbr-widget-typography-font-size-400);--vbr-widget-gamecenter-periodresults-color: var(--vbr-widget-primary-color-600);--vbr-widget-gamecenter-periodresults-size: var(--vbr-widget-typography-font-size-700);--vbr-widget-gamecenter-period-header-bg-color: var(--vbr-widget-primary-color-800);--vbr-widget-gamecenter-period-header-color: var(--vbr-widget-primary-color-0);--vbr-widget-gamecenter-period-header-size: var(--vbr-widget-typography-font-size-300);--vbr-widget-gamecenter-period-header-weight: 500;--vbr-widget-gamecenter-stats-bg-color: var(--vbr-widget-primary-color-50);--vbr-widget-gamecenter-stats-border-color: var(--vbr-widget-primary-color-100);--vbr-widget-gamecenter-stats-title-size: var(--vbr-widget-typography-font-size-300);--vbr-widget-gamecenter-stats-title-color: var(--vbr-widget-primary-color-400);--vbr-widget-gamecenter-stats-size: var(--vbr-widget-typography-font-size-500);--vbr-widget-gamecenter-stats-color: var(--vbr-widget-primary-color-800);--vbr-widget-gamecenter-team-container-title-color: var(--vbr-widget-primary-color-800);--vbr-widget-gamecenter-team-container-title-bg-color: var(--vbr-widget-primary-color-100);--vbr-widget-gamecenter-team-container-border-color: var(--vbr-widget-primary-color-100);--vbr-widget-gamecenter-events-evented-person-size: var(--vbr-widget-typography-font-size-500);--vbr-widget-gamecenter-events-evented-person-weight: 600;--vbr-widget-gamecenter-events-assitst-list-size: var(--vbr-widget-typography-font-size-400);--vbr-widget-gamecenter-events-poi-list-size: var(--vbr-widget-typography-font-size-200);--vbr-widget-gamecenter-events-score-size: var(--vbr-widget-typography-font-size-500);--vbr-widget-gamecenter-events-penalty-size: var(--vbr-widget-typography-font-size-400);--vbr-widget-gamecenter-events-goalie-direction-size: var(--vbr-widget-typography-font-size-400);--vbr-widget-gamecenter-events-timeout-bg-color: #2870ed;--vbr-widget-gamecenter-card-title-color: var(--vbr-widget-primary-color-900);--vbr-widget-gamecenter-card-secondary-color: var(--vbr-widget-primary-color-500);--vbr-widget-gamecenter-card-tertiary-color: var(--vbr-widget-primary-color-300);--vbr-widget-gamecenter-card-border-color: var(--vbr-widget-primary-color-100);--vbr-widget-gamecenter-card-bg-color: var(--vbr-widget-primary-color-0);--vbr-widget-gamecenter-card-event-goal-border-color: var(--vbr-widget-primary-color-700);--vbr-widget-gamecenter-card-event-goal-bg-color: var(--vbr-widget-primary-color-700);--vbr-widget-gamecenter-home-team-identifier-color: #2870ed;--vbr-widget-gamecenter-away-team-identifier-color: #ff6129;--vbr-widget-gamecenter-home-team-identifier-border-color: transparent;--vbr-widget-gamecenter-away-team-identifier-border-color: transparent;--vbr-widget-main-image-wrapper-horizontal-margin: 0;--vbr-widget-sticky-top-offset: 0;--vbr-widget-games-timeline-game-date-size: var(--vbr-widget-typography-font-size-100);--vbr-widget-games-timeline-game-date-color: var(--vbr-widget-primary-color-500);--vbr-widget-games-timeline-game-team-color: var(--vbr-widget-primary-color-700);--vbr-widget-games-timeline-game-team-size: var(--vbr-widget-typography-font-size-300);--vbr-widget-games-timeline-game-status-color: var(--vbr-widget-primary-color-300);--vbr-widget-games-timeline-game-status-size: var(--vbr-widget-typography-font-size-200);--vbr-widget-games-timeline-game-hover-bg-color: linear-gradient(#fff, #f5f6f7 50%, #fff);--vbr-widget-games-timeline-arrow-color: var(--vbr-widget-primary-color-300);--vbr-widget-games-timeline-arrow-hover-color: var(--vbr-widget-primary-color-500);--vbr-widget-games-timeline-arrow-disabled-color: var(--vbr-widget-primary-color-100);--vbr-widget-games-timeline-arrow-border-color: var(--vbr-widget-primary-color-100);--vbr-widget-games-timeline-external-link-color: var(--vbr-widget-primary-color-500);--vbr-widget-games-timeline-external-link-size: var(--vbr-widget-typography-font-size-200);--vbr-widget-standings-selector-title-size: var(--vbr-widget-typography-font-size-500);--vbr-widget-standings-selector-title-color: var(--vbr-widget-primary-color-700);--vbr-widget-standings-selector-title-transform: none;--vbr-widget-standings-selector-title-padding: 0 .625em .5625em;--vbr-widget-standings-selector-title-bg-color: transparent;--vbr-widget-standings-selector-section-title-bg: var(--vbr-widget-primary-color-50);--vbr-widget-standings-selector-section-title-size: var(--vbr-widget-typography-font-size-400);--vbr-widget-standings-selector-section-title-color: var(--vbr-widget-primary-color-700);--vbr-widget-standings-selector-section-title-padding: .25em 0;--vbr-widget-standings-selector-section-logo-size: 30px;--vbr-widget-standings-selector-section-team-color: var(--vbr-widget-primary-color-900);--vbr-widget-countdown-title-height: 2rem;--vbr-widget-countdown-title-bg: var(--vbr-widget-primary-color-900);--vbr-widget-countdown-gamedata-height: 4rem;--vbr-widget-countdown-gamedata-bg: var(--vbr-widget-primary-color-700);--vbr-widget-countdown-result-bg: var(--vbr-widget-primary-color-800);--vbr-widget-playoffs-header-bg: var(--vbr-widget-primary-color-800);--vbr-widget-playoffs-header-color: var(--vbr-widget-primary-color-800);--vbr-widget-playoffs-header-size: var(--vbr-widget-typography-font-size-500);--vbr-widget-playoffs-details-bg: var(--vbr-widget-primary-color-50);--ease-spring-1: linear( 0, .009, .035 2.1%, .141, .281 6.7%, .723 12.9%, .938 16.7%, 1.017, 1.077, 1.121, 1.149 24.3%, 1.159, 1.163, 1.161, 1.154 29.9%, 1.129 32.8%, 1.051 39.6%, 1.017 43.1%, .991, .977 51%, .974 53.8%, .975 57.1%, .997 69.8%, 1.003 76.9%, 1.004 83.8%, 1 )}html,body{-webkit-font-smoothing:antialiased}.transition-fade-enter-active,.transition-fade-leave-active{transition:all .7s var(--ease-spring-1)}.transition-fade-enter-from,.transition-fade-leave-to{opacity:0;transform:translateY(5px)}.transition-event-move,.transition-event-enter-active,.transition-event-leave-active{transition:all .25s ease}.transition-event-enter-from,.transition-event-leave-to{opacity:0}img{opacity:0;transition:opacity .5s ease-out}img.is-loaded{opacity:1}a{color:var(--vbr-widget-link-color);text-decoration:none}a:hover{color:var(--vbr-widget-hover-color)}.loading-indicator{padding:1em;font-weight:600;color:var(--vbr-widget-primary-color-400);text-align:center}.floating-content.is-tooltip{background-color:var(--vbr-widget-tooltip-bg-color);color:var(--vbr-widget-tooltip-color);font-weight:700;padding:5px 10px;border-radius:4px;font-size:var(--vbr-widget-tooltip-font-size);white-space:nowrap;pointer-events:none}.floating-content.is-tooltip .is-arrow{background-color:var(--vbr-widget-tooltip-bg-color)}.floating-content.is-content{border-radius:4px;box-shadow:2px 14px 23px #00000040}.floating-content.is-content .is-arrow{background-color:var(--vbr-widget-primary-color-50)}.floating-content .is-arrow{position:absolute;width:8px;height:8px;transform:rotate(45deg)}[data-placement^=top] .floating-content .is-arrow{bottom:-4px}[data-placement^=bottom] .floating-content .is-arrow{top:-4px}[data-placement^=left] .floating-content .is-arrow{right:-4px}[data-placement^=right] .floating-content .is-arrow{left:-4px}.error-notice{display:flex;align-items:center;justify-items:flex-start;margin:10px 0;padding:10px 20px;background-color:var(--vbr-widget-error-notice-bg-color);color:var(--vbr-widget-error-notice-color);border:1px solid var(--vbr-widget-error-notice-border-color)}.error-notice .icon{margin-right:15px}.timezone-selector{padding:3px 0;color:var(--vbr-widget-timezone-selector-color);font-size:var(--vbr-widget-timezone-selector-font-size);font-weight:500}.timezone-selector .is-active{font-weight:700}.is-badge{display:inline-block;padding:.125em .25em;color:var(--vbr-widget-badge-color);font-size:var(--vbr-widget-badge-font-size);font-weight:700;text-transform:uppercase;background-color:var(--vbr-widget-badge-bg-color);border-radius:3px}.is-badge+.is-badge{margin-inline-start:3px}.is-badge.is-invert{color:var(--vbr-widget-badge-bg-color);background-color:var(--vbr-widget-badge-color)}.is-badge.is-green{color:var(--vbr-widget-primary-color-0);background-color:var(--vbr-widget-live-game-color)}.is-badge.is-red{color:var(--vbr-widget-primary-color-0);background-color:var(--vbr-widget-danger-color-a400)}.is-badge.is-yellow{color:var(--vbr-widget-primary-color-0);background-color:var(--vbr-widget-neutral-color)}.is-badge.is-dark{color:var(--vbr-widget-primary-color-0);background-color:var(--vbr-widget-primary-color-700)}.is-badge.is-large{font-size:var(--vbr-widget-badge-large-font-size);padding:.15em .35em}.is-badge.is-extra-large{font-size:var(--vbr-widget-badge-extra-large-font-size);padding:.2695em .5165em}", Ke = ".is-text-right{text-align:right}.is-text-center{text-align:center}.is-text-bold{font-weight:700}.is-text-italic{font-style:italic}.is-text-xs{font-size:var(--vbr-widget-typography-font-size-200);line-height:var(--vbr-widget-typography-font-lineheight-200)}.is-text-sm{font-size:var(--vbr-widget-typography-font-size-400);line-height:var(--vbr-widget-typography-font-lineheight-200)}.is-text-base{font-size:var(--vbr-widget-typography-font-size-500);line-height:var(--vbr-widget-typography-font-lineheight-500)}.is-text-lg{font-size:var(--vbr-widget-typography-font-size-600);line-height:var(--vbr-widget-typography-font-lineheight-600)}.is-text-xl{font-size:var(--vbr-widget-typography-font-size-700);line-height:var(--vbr-widget-typography-font-lineheight-700)}.is-text-4xl{font-size:var(--vbr-widget-typography-font-size-950);line-height:var(--vbr-widget-typography-font-lineheight-950)}.is-uppercase{text-transform:uppercase}.is-opacity-20{opacity:.2}.is-opacity-30{opacity:.3}.is-opacity-40{opacity:.4}.is-opacity-50{opacity:.5}.is-mt-5{margin-top:1rem}.is-mb-5{margin-bottom:1rem}.is-whitespace-nowrap{white-space:nowrap}.is-heading-1{font-size:var(--vbr-widget-typography-heading-1-size);line-height:var(--vbr-widget-typography-font-lineheight-700);margin-block-start:var(--vbr-widget-typography-font-size-700);margin-block-end:calc(var(--vbr-widget-typography-font-size-700) / 2);font-weight:var(--vbr-widget-typography-heading-weight)}.is-heading-2{font-size:var(--vbr-widget-typography-heading-2-size);line-height:var(--vbr-widget-typography-font-lineheight-600);font-weight:var(--vbr-widget-typography-heading-weight);margin-block-start:var(--vbr-widget-typography-font-size-600);margin-block-end:calc(var(--vbr-widget-typography-font-size-600) / 2)}.is-heading-3{font-size:var(--vbr-widget-typography-heading-3-size);line-height:var(--vbr-widget-typography-font-lineheight-500);font-weight:var(--vbr-widget-typography-heading-weight);margin-block-start:var(--vbr-widget-typography-font-size-500);margin-block-end:calc(var(--vbr-widget-typography-font-size-500) / 2)}.is-rounded{overflow:hidden;border-radius:100%}.is-rounded+.is-rounded{margin-left:3px}.is-rounded img{display:block}.is-w-5{width:16px}.is-w-7{width:24px}.is-w-10{width:32px}", Kt = ".g-row{display:flex}.g-row-wrap{display:flex;flex-wrap:wrap}.g-col{flex:1 0 0%}.g-gap-normal{gap:16px}[class^=g-col-]{flex:0 0 auto}.g-col-6{width:50%}.g-col-5{width:41.66666667%}.g-col-3{width:25%}.g-col-auto{width:auto}.g-gap-normal{gap:20px}.g-grid{--columns: repeat(2, 1fr);--columns-tablet: repeat(4, 1fr);display:grid;grid-template-columns:var(--columns)}@media all and (min-width: 768px){.g-grid{grid-template-columns:var(--columns-tablet)}}", tr = `.base-input{padding:.375rem .75rem;font-family:inherit;color:var(--vbr-widget-base-input-color);border:1px solid var(--vbr-widget-base-input-border-color);border-radius:var(--vbr-widget-base-input-border-radius);width:100%;-moz-padding-start:calc(.75rem - 3px);font-size:var(--vbr-widget-base-input-font-size);font-weight:400;line-height:1.5;background-color:#fff;transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out;-webkit-appearance:none;-moz-appearance:none;appearance:none}.base-input:disabled{opacity:.3}.base-input.is-select{padding-right:2.25rem;background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");background-repeat:no-repeat;background-position:right .75rem center;background-size:16px 12px}label{display:block;margin-bottom:3px;color:var(--vbr-widget-form-label-color);font-size:var(--vbr-widget-form-label-font-size);font-weight:700;text-transform:uppercase}.tab-button{padding:var(--vbr-widget-tab-btn-padding);font-family:inherit;font-size:var(--vbr-widget-tab-btn-font-size);font-weight:var(--vbr-widget-tab-btn-font-weight);color:var(--vbr-widget-tab-btn-color);text-transform:var(--vbr-widget-tab-btn-text-transform);background-color:var(--vbr-widget-tab-btn-bg-color);border-color:var(--vbr-widget-tab-btn-border-color);border-width:var(--vbr-widget-tab-btn-border-width);border-style:var(--vbr-widget-tab-btn-border-style);outline:none;box-shadow:none;cursor:pointer}.tab-button:hover{color:var(--vbr-widget-tab-btn-hover-color);border-color:var(--vbr-widget-tab-btn-hover-border-color);background-color:var(--vbr-widget-tab-btn-hover-bg-color)}.tab-button.is-active{color:var(--vbr-widget-tab-btn-active-color);border-color:var(--vbr-widget-tab-btn-active-border-color);background-color:var(--vbr-widget-tab-btn-active-bg-color)}.toggle-group{display:flex;flex-wrap:wrap;gap:var(--vbr-widget-toggle-group-gap);margin-bottom:15px}.toggle-group button{padding:var(--vbr-widget-toggle-group-btn-padding);font-family:inherit;font-size:var(--vbr-widget-toggle-group-btn-size);background-color:var(--vbr-widget-toggle-group-btn-bg-color);border-radius:var(--vbr-widget-toggle-group-btn-radius)}.toggle-group button.is-active{color:var(--vbr-widget-toggle-group-btn-active-color);background-color:var(--vbr-widget-toggle-group-btn-active-bg-color)}`, qi = ".wrapped-grid{--min-width: 300px;--max-width: 1fr;display:grid;grid-template-columns:repeat(auto-fill,minmax(var(--min-width),var(--max-width)));gap:30px;padding-block:20px;text-align:center}.wrapped-grid a{display:flex;flex-direction:column;align-items:center;row-gap:20px}.wrapped-grid .is-team-logo{display:block;width:100%;aspect-ratio:1}", ar = ".is-card{container-name:card-row;container-type:inline-size;background-color:#fff;padding:15px;margin-bottom:20px;box-shadow:0 2px 4px #0000001a,0 2px 2px #0000001a}.is-card>div{border-bottom:1px solid var(--vbr-widget-primary-color-100)}.is-card>div:last-of-type{border:none}.is-sticky{position:sticky;top:var(--vbr-widget-sticky-top-offset);z-index:10}.is-blured-bg{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.card-item{display:grid;grid-gap:1rem;grid-template-columns:2fr 1fr 2fr;padding:2rem 0;border-bottom:1px solid var(--vbr-widget-primary-color-100)}.card-item.is-optional{opacity:.4;transition:opacity .3s ease-out}.card-item.is-optional:hover{opacity:1}.card-item svg{display:block}.card-item .is-team-name-short{display:none}@container card-row (max-width: 640px){.card-item .is-team-name-long{display:none}.card-item .is-team-name-short{display:block}}.card-item .is-info{grid-column:1/4;display:flex;justify-content:center;align-items:center;color:var(--vbr-widget-primary-color-500)}.card-item .is-home-team{display:flex;gap:8px;align-items:center;justify-content:flex-end;font-weight:700}.card-item .is-away-team{display:flex;gap:8px;align-items:center;justify-content:flex-start;font-weight:700}.card-item .is-logo-image{width:40px}.card-item .is-game-data{display:flex;flex-direction:column;align-items:center;justify-content:center}.card-item .is-game-data a{display:flex;flex-direction:column;align-items:center;color:var(--vbr-widget-primary-color-900)}.card-item .is-game-data a:hover{color:var(--vbr-widget-primary-color-600)}.card-item .is-game-data.is-live,.card-item .is-game-data.is-live a{color:var(--vbr-widget-live-game-color)}.section-selector{margin:20px 0;border-bottom:1px solid var(--vbr-widget-primary-color-200)}.main-image-wrapper{--overlay-size: 160px;--overlay-radius: 50%;display:grid;grid-template-columns:1fr var(--overlay-size) 1fr;grid-template-rows:1fr 1fr 1fr calc(var(--overlay-size) / 2) calc(var(--overlay-size) / 2);margin-left:var(--vbr-widget-main-image-wrapper-horizontal-margin);margin-right:var(--vbr-widget-main-image-wrapper-horizontal-margin)}.main-image-wrapper:has(img.is-default){min-height:470px}.main-image-wrapper .is-main-image{grid-column:1/4;grid-row:1/5;display:flex;justify-content:center;align-items:center;background-color:var(--vbr-widget-primary-color-50);box-shadow:0 2px 4px #0003}.main-image-wrapper .is-main-image .is-default{filter:grayscale(1);opacity:.3;mix-blend-mode:multiply}.main-image-wrapper .is-main-image img:not(.is-default){width:100%}.main-image-wrapper .is-ovarlay-image{grid-row:4/-1;grid-column:2;justify-self:center;overflow:hidden;border-radius:var(--overlay-radius);z-index:1}.main-image-wrapper .is-ovarlay-image img{width:100%;aspect-ratio:1}", Wi = ".paginator{display:flex;flex-direction:row;list-style-type:none;margin:10px 0;padding:0}.paginator button,.paginator div{display:flex;align-items:center;justify-content:center;padding:6px 12px;text-decoration:none;cursor:pointer;color:var(--vbr-widget-paginator-color);border:1px solid var(--vbr-widget-paginator-border-color);background-color:var(--vbr-widget-paginator-bg-color);margin-left:-1px}.paginator button .icon,.paginator div .icon{width:16px;height:16px;margin:0 -4px}.paginator button:hover:not(.paginator button.is-disabled,.paginator button.is-active,.paginator div.is-disabled,.paginator div.is-active),.paginator div:hover:not(.paginator button.is-disabled,.paginator button.is-active,.paginator div.is-disabled,.paginator div.is-active){color:var(--vbr-widget-paginator-hover-color);background-color:var(--vbr-widget-paginator-hover-bg-color)}.paginator button:disabled,.paginator button.is-disabled,.paginator div:disabled,.paginator div.is-disabled{color:var(--vbr-widget-paginator-disabled-color);background-color:var(--vbr-widget-paginator-bg-color);pointer-events:none;cursor:default}.paginator button.is-active,.paginator div.is-active{color:var(--vbr-widget-paginator-active-color);background-color:var(--vbr-widget-paginator-active-bg-color);border-color:var(--vbr-widget-paginator-active-bg-color);cursor:default}", Yi = '.table{border-collapse:collapse;border-spacing:0;color:var(--vbr-widget-table-color);background-color:var(--vbr-widget-table-default-bg-color)}.table table,.table caption,.table tbody,.table tfoot,.table thead,.table tr,.table th,.table td{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}.table :is(th,td){padding:8px;white-space:nowrap;vertical-align:middle;text-align:center}.table :is(th,td).is-text-left{text-align:left}.table :is(th,td).is-text-right{text-align:right}.table th{width:var(--vbr-widget-table-default-column-width);background:var(--vbr-widget-table-header-bg-color);font-size:var(--vbr-widget-table-header-font-size);font-weight:700;color:var(--vbr-widget-table-header-color)}.table th:focus-visible,.table th:hover{background-color:var(--vbr-widget-table-header-hover-bg-color);outline:none}.table th.is-sortable{position:relative;cursor:pointer}.table th.is-sortable .icon-sort{opacity:.5}.table th.is-active{background-color:var(--vbr-widget-table-header-active-bg-color);color:var(--vbr-widget-table-header-active-color)}.table th.is-active .icon-sort{opacity:1}.table th.is-asc,.table th.is-desc{position:relative}.table th.is-w-auto{width:auto}.table th .is-icon-sort{width:11px;height:11px;margin-left:5px}.table td.is-active{font-weight:700;color:var(--vbr-widget-table-active-color);background:var(--vbr-widget-table-active-bg-color)}.table td.is-zero{color:var(--vbr-widget-table-zero-color)}.table td.is-possible-empty:empty:before{content:"0";color:var(--vbr-widget-table-zero-color)}.table td .is-text-light,.table td.is-text-light{color:var(--vbr-widget-table-cell-light-color)}.table td .is-text-dark,.table td.is-text-dark{color:var(--vbr-widget-table-cell-dark-color)}.table td .is-logo-image{display:inline-block;vertical-align:middle;width:var(--vbr-widget-table-cell-logo-size);height:var(--vbr-widget-table-cell-logo-size)}.table td .is-portrait-image{display:inline-block;vertical-align:middle;width:var(--vbr-widget-table-cell-portrait-size);height:var(--vbr-widget-table-cell-portrait-size);object-fit:cover;object-position:top;overflow:hidden;border-radius:100%;border:1px solid var(--vbr-widget-primary-color-100)}.table td .is-portrait-image img{width:var(--vbr-widget-table-cell-portrait-size);height:auto}.table td.is-text-bold{font-weight:700}.table td.is-text-italic{font-style:italic}.table td.is-text-xl{font-size:var(--vbr-widget-typography-font-size-700)}.table td .is-text-accent{color:var(--vbr-widget-secondary-color-500)}.table td.is-w-auto{width:auto}.table td.is-horizontal-content{display:inline-flex;align-items:center}.table td.is-text-positive,.table td .is-text-positive{color:var(--vbr-widget-live-game-color)}.table td.is-text-negative,.table td .is-text-negative{color:var(--vbr-widget-danger-color-a400)}.table td.is-has-image{padding:0 2px}.table td .is-duplicated{color:var(--vbr-widget-table-neutral-color)}.table td svg{width:16px;height:16px}.table td button{padding:3px;line-height:0;border:none;outline:none;background-color:transparent}.table td button:hover{background-color:var(--vbr-widget-popover-trigger-hover-bg-color)}.table td button:active,.table td button:focus{background-color:var(--vbr-widget-popover-trigger-focus-bg-color)}.table td a{text-decoration:none}.table td .label{padding:3px 6px;font-size:var(--vbr-widget-typography-font-size-100);font-weight:700;color:var(--vbr-widget-table-label-color);background-color:var(--vbr-widget-table-label-bg-color);border-radius:2px}.table td .label:not(:last-of-type){margin-right:3px}.table td a{color:var(--vbr-widget-link-color)}.table td a:hover{color:var(--vbr-widget-hover-color)}.table td .is-team-name-long{display:block}.table td .is-team-name-short{display:none}@container table-wrapper (max-width: 768px){.table td .is-team-name-long{display:none}.table td .is-team-name-short{display:block}}.table tr.is-highlighted{color:var(--vbr-widget-danger-color-a400)}.table tr.is-optional{opacity:.5}.table tr:nth-child(2n){background:var(--vbr-widget-table-stripped-bg-color)}.table tr:nth-child(2n) td.is-active{background-color:var(--vbr-widget-table-active-even-bg-color)}.table tbody tr:focus-within,.table tbody tr:hover{color:var(--vbr-widget-table-hover-color);background-color:var(--vbr-widget-table-hover-bg-color)}.table tbody tr:focus-within td.is-active,.table tbody tr:hover td.is-active{color:var(--vbr-widget-table-active-hover-color);background-color:var(--vbr-widget-table-active-hover-bg-color)}', Hi = ".table-responsive{container-name:table-wrapper;container-type:inline-size;width:100%;overflow-x:auto}.table-responsive table{width:100%}", he = (e, t) => {
|
|
1991
1991
|
const a = e.__vccOpts || e;
|
|
1992
1992
|
for (const [r, o] of t)
|
|
1993
1993
|
a[r] = o;
|
|
@@ -2025,15 +2025,15 @@ const Ti = "/v2/player-season-stats", Ii = "/v2/goalie-season-stats", Pi = "/v2/
|
|
|
2025
2025
|
},
|
|
2026
2026
|
setup(e) {
|
|
2027
2027
|
const t = e, a = { en: ue, hu: be }, r = K(null);
|
|
2028
|
-
return (o, i) => (
|
|
2029
|
-
w(n(
|
|
2028
|
+
return (o, i) => (c(), h("div", Ji, [
|
|
2029
|
+
w(n(ge), {
|
|
2030
2030
|
locale: t.locale,
|
|
2031
2031
|
messages: a
|
|
2032
2032
|
}, {
|
|
2033
|
-
default:
|
|
2033
|
+
default: k(({ t: l }) => [
|
|
2034
2034
|
w(n(ze), null, {
|
|
2035
|
-
default:
|
|
2036
|
-
g ? (
|
|
2035
|
+
default: k(({ error: s, hasError: g }) => [
|
|
2036
|
+
g ? (c(), $(n(Se), {
|
|
2037
2037
|
key: 0,
|
|
2038
2038
|
error: s
|
|
2039
2039
|
}, null, 8, ["error"])) : I("", !0),
|
|
@@ -2043,32 +2043,32 @@ const Ti = "/v2/player-season-stats", Ii = "/v2/goalie-season-stats", Pi = "/v2/
|
|
|
2043
2043
|
"championship-id": e.championshipId,
|
|
2044
2044
|
"player-id": t.playerId
|
|
2045
2045
|
}, {
|
|
2046
|
-
default:
|
|
2047
|
-
pane:
|
|
2046
|
+
default: k(({
|
|
2047
|
+
pane: u,
|
|
2048
2048
|
isGamesLoading: v,
|
|
2049
|
-
isPlayerSeasonsLoading:
|
|
2049
|
+
isPlayerSeasonsLoading: f,
|
|
2050
2050
|
playerData: m,
|
|
2051
2051
|
playerGames: p,
|
|
2052
|
-
playerSeasonStats:
|
|
2052
|
+
playerSeasonStats: x,
|
|
2053
2053
|
currentSeasonStats: P,
|
|
2054
|
-
gameColumns:
|
|
2055
|
-
seasonColumns:
|
|
2054
|
+
gameColumns: A,
|
|
2055
|
+
seasonColumns: z,
|
|
2056
2056
|
currentSeasonColumns: L,
|
|
2057
|
-
onChangePane:
|
|
2057
|
+
onChangePane: y
|
|
2058
2058
|
}) => {
|
|
2059
2059
|
var S, T, C;
|
|
2060
2060
|
return [
|
|
2061
|
-
|
|
2062
|
-
|
|
2063
|
-
|
|
2064
|
-
(
|
|
2061
|
+
d("h1", Xi, b(m.name), 1),
|
|
2062
|
+
d("div", Qi, [
|
|
2063
|
+
d("div", Zi, [
|
|
2064
|
+
(c(), $(n(V), {
|
|
2065
2065
|
key: (S = m.player) == null ? void 0 : S.playerId,
|
|
2066
2066
|
src: m.playerAction,
|
|
2067
2067
|
"default-src": "https://www.ersteliga.hu/assets/images/logo_liga@2x.png"
|
|
2068
2068
|
}, null, 8, ["src"]))
|
|
2069
2069
|
]),
|
|
2070
|
-
|
|
2071
|
-
(
|
|
2070
|
+
d("div", en, [
|
|
2071
|
+
(c(), $(n(V), {
|
|
2072
2072
|
key: (T = m.player) == null ? void 0 : T.playerId,
|
|
2073
2073
|
src: (C = m == null ? void 0 : m.player) == null ? void 0 : C.picture
|
|
2074
2074
|
}, null, 8, ["src"]))
|
|
@@ -2081,36 +2081,36 @@ const Ti = "/v2/player-season-stats", Ii = "/v2/goalie-season-stats", Pi = "/v2/
|
|
|
2081
2081
|
w(Vi, {
|
|
2082
2082
|
rows: P,
|
|
2083
2083
|
columns: L,
|
|
2084
|
-
"is-loading":
|
|
2084
|
+
"is-loading": f,
|
|
2085
2085
|
"append-to": r.value
|
|
2086
2086
|
}, null, 8, ["rows", "columns", "is-loading", "append-to"]),
|
|
2087
|
-
|
|
2088
|
-
|
|
2087
|
+
d("div", tn, [
|
|
2088
|
+
d("button", {
|
|
2089
2089
|
type: "button",
|
|
2090
|
-
class: G(["tab-button", { "is-active":
|
|
2091
|
-
onClick: (H) =>
|
|
2092
|
-
},
|
|
2093
|
-
|
|
2090
|
+
class: G(["tab-button", { "is-active": u === n(We) }]),
|
|
2091
|
+
onClick: (H) => y(n(We))
|
|
2092
|
+
}, b(l("players.games")), 11, an),
|
|
2093
|
+
d("button", {
|
|
2094
2094
|
type: "button",
|
|
2095
|
-
class: G(["tab-button", { "is-active":
|
|
2096
|
-
onClick: (H) =>
|
|
2097
|
-
},
|
|
2095
|
+
class: G(["tab-button", { "is-active": u === n(St) }]),
|
|
2096
|
+
onClick: (H) => y(n(St))
|
|
2097
|
+
}, b(l("players.seasons")), 11, rn)
|
|
2098
2098
|
]),
|
|
2099
|
-
|
|
2099
|
+
u === n(We) ? (c(), $(Ri, {
|
|
2100
2100
|
key: 0,
|
|
2101
2101
|
rows: p,
|
|
2102
|
-
columns:
|
|
2102
|
+
columns: A,
|
|
2103
2103
|
"is-loading": v,
|
|
2104
2104
|
"append-to": r.value,
|
|
2105
2105
|
"game-resolver": t.externalGameResolver
|
|
2106
2106
|
}, null, 8, ["rows", "columns", "is-loading", "append-to", "game-resolver"])) : I("", !0),
|
|
2107
|
-
|
|
2107
|
+
u === n(St) ? (c(), $(Ui, {
|
|
2108
2108
|
key: 1,
|
|
2109
|
-
rows:
|
|
2110
|
-
columns:
|
|
2109
|
+
rows: x,
|
|
2110
|
+
columns: z,
|
|
2111
2111
|
"append-to": r.value
|
|
2112
2112
|
}, null, 8, ["rows", "columns", "append-to"])) : I("", !0),
|
|
2113
|
-
|
|
2113
|
+
d("div", {
|
|
2114
2114
|
ref_key: "tooltipContainer",
|
|
2115
2115
|
ref: r
|
|
2116
2116
|
}, null, 512)
|
|
@@ -2126,7 +2126,7 @@ const Ti = "/v2/player-season-stats", Ii = "/v2/goalie-season-stats", Pi = "/v2/
|
|
|
2126
2126
|
}, 8, ["locale"])
|
|
2127
2127
|
]));
|
|
2128
2128
|
}
|
|
2129
|
-
}, nn = /* @__PURE__ */ he(on, [["styles", [ve, Ke, Kt,
|
|
2129
|
+
}, nn = /* @__PURE__ */ he(on, [["styles", [ve, Ke, Kt, tr, qi, ar, Wi, Yi, Hi]]]), ln = { class: "is-portrait-image" }, sn = ["href", "textContent"], cn = ["href", "textContent"], dn = { class: "g-row" }, gn = ["onMouseenter", "onMouseleave", "onFocus", "onBlur"], rr = {
|
|
2130
2130
|
__name: "PlayersDataTable",
|
|
2131
2131
|
props: {
|
|
2132
2132
|
columns: {
|
|
@@ -2165,8 +2165,8 @@ const Ti = "/v2/player-season-stats", Ii = "/v2/goalie-season-stats", Pi = "/v2/
|
|
|
2165
2165
|
emits: ["sort"],
|
|
2166
2166
|
setup(e, { emit: t }) {
|
|
2167
2167
|
const a = e, r = t, { t: o } = Q(), { columns: i } = ee(a.columns), l = (s) => r("sort", s);
|
|
2168
|
-
return (s, g) => (
|
|
2169
|
-
default:
|
|
2168
|
+
return (s, g) => (c(), $(n(ie), null, {
|
|
2169
|
+
default: k(() => [
|
|
2170
2170
|
w(n(ce), {
|
|
2171
2171
|
columns: n(i),
|
|
2172
2172
|
rows: e.rows,
|
|
@@ -2175,39 +2175,39 @@ const Ti = "/v2/player-season-stats", Ii = "/v2/goalie-season-stats", Pi = "/v2/
|
|
|
2175
2175
|
sort: e.sort,
|
|
2176
2176
|
onSort: l
|
|
2177
2177
|
}, {
|
|
2178
|
-
"cell-playerPortrait":
|
|
2179
|
-
|
|
2180
|
-
(
|
|
2181
|
-
key:
|
|
2182
|
-
src:
|
|
2183
|
-
"default-src": n(
|
|
2178
|
+
"cell-playerPortrait": k(({ row: u }) => [
|
|
2179
|
+
d("div", ln, [
|
|
2180
|
+
(c(), $(n(V), {
|
|
2181
|
+
key: u.player.playerId,
|
|
2182
|
+
src: u.player.picture,
|
|
2183
|
+
"default-src": n(Pr)
|
|
2184
2184
|
}, null, 8, ["src", "default-src"]))
|
|
2185
2185
|
])
|
|
2186
2186
|
]),
|
|
2187
|
-
"cell-name":
|
|
2188
|
-
|
|
2189
|
-
href: e.playerResolver({ ...
|
|
2190
|
-
textContent: u
|
|
2187
|
+
"cell-name": k(({ row: u }) => [
|
|
2188
|
+
d("a", {
|
|
2189
|
+
href: e.playerResolver({ ...u, championshipId: e.championshipId }),
|
|
2190
|
+
textContent: b(u.name)
|
|
2191
2191
|
}, null, 8, sn)
|
|
2192
2192
|
]),
|
|
2193
|
-
"cell-teamName":
|
|
2194
|
-
|
|
2195
|
-
href: e.teamResolver({ ...
|
|
2196
|
-
textContent: u
|
|
2193
|
+
"cell-teamName": k(({ row: u }) => [
|
|
2194
|
+
d("a", {
|
|
2195
|
+
href: e.teamResolver({ ...u, championshipId: e.championshipId }),
|
|
2196
|
+
textContent: b(u.teamName)
|
|
2197
2197
|
}, null, 8, cn)
|
|
2198
2198
|
]),
|
|
2199
|
-
"cell-nationality":
|
|
2200
|
-
|
|
2201
|
-
(
|
|
2199
|
+
"cell-nationality": k(({ row: u }) => [
|
|
2200
|
+
d("div", dn, [
|
|
2201
|
+
(c(!0), h(O, null, U(u.nationalityCode, (v) => (c(), $(n(ha), {
|
|
2202
2202
|
key: v,
|
|
2203
2203
|
placement: "top",
|
|
2204
2204
|
content: n(o)(`nationality.${v}`),
|
|
2205
2205
|
"append-to": e.appendTo
|
|
2206
2206
|
}, {
|
|
2207
|
-
default:
|
|
2208
|
-
|
|
2207
|
+
default: k(({ setRef: f, show: m, hide: p }) => [
|
|
2208
|
+
d("div", {
|
|
2209
2209
|
ref_for: !0,
|
|
2210
|
-
ref:
|
|
2210
|
+
ref: f,
|
|
2211
2211
|
class: "is-rounded is-w-5",
|
|
2212
2212
|
onMouseenter: m,
|
|
2213
2213
|
onMouseleave: p,
|
|
@@ -2217,16 +2217,16 @@ const Ti = "/v2/player-season-stats", Ii = "/v2/goalie-season-stats", Pi = "/v2/
|
|
|
2217
2217
|
w(n(V), {
|
|
2218
2218
|
src: n(Ia)(v)
|
|
2219
2219
|
}, null, 8, ["src"])
|
|
2220
|
-
], 40,
|
|
2220
|
+
], 40, gn)
|
|
2221
2221
|
]),
|
|
2222
2222
|
_: 2
|
|
2223
2223
|
}, 1032, ["content", "append-to"]))), 128))
|
|
2224
2224
|
])
|
|
2225
2225
|
]),
|
|
2226
|
-
"cell-position":
|
|
2226
|
+
"cell-position": k(({ row: u }) => {
|
|
2227
2227
|
var v;
|
|
2228
2228
|
return [
|
|
2229
|
-
W(
|
|
2229
|
+
W(b((v = u.position) == null ? void 0 : v.toUpperCase()), 1)
|
|
2230
2230
|
];
|
|
2231
2231
|
}),
|
|
2232
2232
|
_: 1
|
|
@@ -2235,7 +2235,7 @@ const Ti = "/v2/player-season-stats", Ii = "/v2/goalie-season-stats", Pi = "/v2/
|
|
|
2235
2235
|
_: 1
|
|
2236
2236
|
}));
|
|
2237
2237
|
}
|
|
2238
|
-
},
|
|
2238
|
+
}, pn = (e) => ae(Me(q("name")), me(ae(lt, ot)))(e), un = {
|
|
2239
2239
|
__name: "DataProvider",
|
|
2240
2240
|
props: {
|
|
2241
2241
|
championshipName: {
|
|
@@ -2261,19 +2261,19 @@ const Ti = "/v2/player-season-stats", Ii = "/v2/goalie-season-stats", Pi = "/v2/
|
|
|
2261
2261
|
seasons: [],
|
|
2262
2262
|
championshipId: Number(a.championshipId) || 0,
|
|
2263
2263
|
query: ""
|
|
2264
|
-
}), { onError: o } =
|
|
2264
|
+
}), { onError: o } = pe(), { page: i, change: l } = wa(), { sort: s, change: g } = At({
|
|
2265
2265
|
sortTarget: "",
|
|
2266
2266
|
orders: []
|
|
2267
|
-
}), { isLoading:
|
|
2267
|
+
}), { isLoading: u, execute: v } = D({
|
|
2268
2268
|
options: {
|
|
2269
2269
|
path: "/v2/championship-seasons",
|
|
2270
2270
|
apiKey: t.apiKey,
|
|
2271
2271
|
params: { championshipName: r.championshipName }
|
|
2272
2272
|
},
|
|
2273
|
-
transform: (
|
|
2273
|
+
transform: (y) => ht(y, r),
|
|
2274
2274
|
onError: o
|
|
2275
2275
|
}), {
|
|
2276
|
-
isLoading:
|
|
2276
|
+
isLoading: f,
|
|
2277
2277
|
state: m,
|
|
2278
2278
|
execute: p
|
|
2279
2279
|
} = D({
|
|
@@ -2284,34 +2284,34 @@ const Ti = "/v2/player-season-stats", Ii = "/v2/goalie-season-stats", Pi = "/v2/
|
|
|
2284
2284
|
championshipId: r.championshipId
|
|
2285
2285
|
}))
|
|
2286
2286
|
},
|
|
2287
|
-
transform: (
|
|
2287
|
+
transform: (y) => pn(y),
|
|
2288
2288
|
onError: o
|
|
2289
|
-
}),
|
|
2289
|
+
}), x = Lt([u, f], { delay: 1e3 });
|
|
2290
2290
|
te([v, p]);
|
|
2291
2291
|
const P = _(
|
|
2292
2292
|
() => Oe(m.value).sorted(s).filter(r.query, [["name"]]).pagination(i.value, t.limit).value()
|
|
2293
|
-
),
|
|
2294
|
-
function
|
|
2295
|
-
l(1), r.championshipId =
|
|
2293
|
+
), A = _(() => [(i.value - 1) * t.limit + 1, Math.min(i.value * t.limit, P.value.totalItems)]);
|
|
2294
|
+
function z(y) {
|
|
2295
|
+
l(1), r.championshipId = y, a.championshipId = y, r.query = "", a.query = null, te([p]);
|
|
2296
2296
|
}
|
|
2297
|
-
function L(
|
|
2298
|
-
const { value: S } =
|
|
2297
|
+
function L(y) {
|
|
2298
|
+
const { value: S } = y.target;
|
|
2299
2299
|
l(1), r.query = S, a.query = S;
|
|
2300
2300
|
}
|
|
2301
|
-
return (
|
|
2301
|
+
return (y, S) => xe(y.$slots, "default", ke(_e({
|
|
2302
2302
|
...r,
|
|
2303
2303
|
sort: n(s),
|
|
2304
2304
|
page: n(i),
|
|
2305
|
-
range:
|
|
2306
|
-
isLoading: n(
|
|
2305
|
+
range: A.value,
|
|
2306
|
+
isLoading: n(x),
|
|
2307
2307
|
players: P.value,
|
|
2308
2308
|
onSort: n(g),
|
|
2309
2309
|
onInput: L,
|
|
2310
|
-
changeSeason:
|
|
2310
|
+
changeSeason: z,
|
|
2311
2311
|
onPaginatorChange: n(l)
|
|
2312
2312
|
})));
|
|
2313
2313
|
}
|
|
2314
|
-
}, Ut = ".is-card{container-name:card-row;container-type:inline-size;background-color:#fff;padding:15px;margin-bottom:20px;box-shadow:0 2px 4px #0000001a,0 2px 2px #0000001a}.is-card>div{border-bottom:1px solid var(--vbr-widget-primary-color-100)}.is-card>div:last-of-type{border:none}.is-sticky{position:sticky;top:var(--vbr-widget-sticky-top-offset);z-index:10}.is-blured-bg{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.card-item{display:grid;grid-gap:1rem;grid-template-columns:2fr 1fr 2fr;padding:2rem 0;border-bottom:1px solid var(--vbr-widget-primary-color-100)}.card-item.is-optional{opacity:.4;transition:opacity .3s ease-out}.card-item.is-optional:hover{opacity:1}.card-item svg{display:block}.card-item .is-team-name-short{display:none}@container card-row (max-width: 640px){.card-item .is-team-name-long{display:none}.card-item .is-team-name-short{display:block}}.card-item .is-info{grid-column:1/4;display:flex;justify-content:center;align-items:center;color:var(--vbr-widget-primary-color-500)}.card-item .is-home-team{display:flex;gap:8px;align-items:center;justify-content:flex-end;font-weight:700}.card-item .is-away-team{display:flex;gap:8px;align-items:center;justify-content:flex-start;font-weight:700}.card-item .is-logo-image{width:40px}.card-item .is-game-data{display:flex;flex-direction:column;align-items:center;justify-content:center}.card-item .is-game-data a{display:flex;flex-direction:column;align-items:center;color:var(--vbr-widget-primary-color-900)}.card-item .is-game-data a:hover{color:var(--vbr-widget-primary-color-600)}.card-item .is-game-data.is-live,.card-item .is-game-data.is-live a{color:var(--vbr-widget-live-game-color)}.section-selector{margin:20px 0;border-bottom:1px solid var(--vbr-widget-primary-color-200)}.main-image-wrapper{--overlay-size: 160px;--overlay-radius: 50%;display:grid;grid-template-columns:1fr var(--overlay-size) 1fr;grid-template-rows:1fr 1fr 1fr calc(var(--overlay-size) / 2) calc(var(--overlay-size) / 2);margin-left:var(--vbr-widget-main-image-wrapper-horizontal-margin);margin-right:var(--vbr-widget-main-image-wrapper-horizontal-margin)}.main-image-wrapper:has(img.is-default){min-height:470px}.main-image-wrapper .is-main-image{grid-column:1/4;grid-row:1/5;display:flex;justify-content:center;align-items:center;background-color:var(--vbr-widget-primary-color-50);box-shadow:0 2px 4px #0003}.main-image-wrapper .is-main-image .is-default{filter:grayscale(1);opacity:.3;mix-blend-mode:multiply}.main-image-wrapper .is-main-image img:not(.is-default){width:100%}.main-image-wrapper .is-ovarlay-image{grid-row:4/-1;grid-column:2;justify-self:center;overflow:hidden;border-radius:var(--overlay-radius);z-index:1}.main-image-wrapper .is-ovarlay-image img{width:100%;aspect-ratio:1}", bn = ".paginator{display:flex;flex-direction:row;list-style-type:none;margin:10px 0;padding:0}.paginator button,.paginator div{display:flex;align-items:center;justify-content:center;padding:6px 12px;text-decoration:none;cursor:pointer;color:var(--vbr-widget-paginator-color);border:1px solid var(--vbr-widget-paginator-border-color);background-color:var(--vbr-widget-paginator-bg-color);margin-left:-1px}.paginator button .icon,.paginator div .icon{width:16px;height:16px;margin:0 -4px}.paginator button:hover:not(.paginator button.is-disabled,.paginator button.is-active,.paginator div.is-disabled,.paginator div.is-active),.paginator div:hover:not(.paginator button.is-disabled,.paginator button.is-active,.paginator div.is-disabled,.paginator div.is-active){color:var(--vbr-widget-paginator-hover-color);background-color:var(--vbr-widget-paginator-hover-bg-color)}.paginator button:disabled,.paginator button.is-disabled,.paginator div:disabled,.paginator div.is-disabled{color:var(--vbr-widget-paginator-disabled-color);background-color:var(--vbr-widget-paginator-bg-color);pointer-events:none;cursor:default}.paginator button.is-active,.paginator div.is-active{color:var(--vbr-widget-paginator-active-color);background-color:var(--vbr-widget-paginator-active-bg-color);border-color:var(--vbr-widget-paginator-active-bg-color);cursor:default}", Bt = ".g-row{display:flex}.g-row-wrap{display:flex;flex-wrap:wrap}.g-col{flex:1 0 0%}.g-gap-normal{gap:16px}[class^=g-col-]{flex:0 0 auto}.g-col-6{width:50%}.g-col-5{width:41.66666667%}.g-col-3{width:25%}.g-col-auto{width:auto}.g-gap-normal{gap:20px}.g-grid{--columns: repeat(2, 1fr);--columns-tablet: repeat(4, 1fr);display:grid;grid-template-columns:var(--columns)}@media all and (min-width: 768px){.g-grid{grid-template-columns:var(--columns-tablet)}}", rr = `.base-input{padding:.375rem .75rem;font-family:inherit;color:var(--vbr-widget-base-input-color);border:1px solid var(--vbr-widget-base-input-border-color);border-radius:var(--vbr-widget-base-input-border-radius);width:100%;-moz-padding-start:calc(.75rem - 3px);font-size:var(--vbr-widget-base-input-font-size);font-weight:400;line-height:1.5;background-color:#fff;transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out;-webkit-appearance:none;-moz-appearance:none;appearance:none}.base-input:disabled{opacity:.3}.base-input.is-select{padding-right:2.25rem;background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");background-repeat:no-repeat;background-position:right .75rem center;background-size:16px 12px}label{display:block;margin-bottom:3px;color:var(--vbr-widget-form-label-color);font-size:var(--vbr-widget-form-label-font-size);font-weight:700;text-transform:uppercase}.tab-button{padding:var(--vbr-widget-tab-btn-padding);font-family:inherit;font-size:var(--vbr-widget-tab-btn-font-size);font-weight:var(--vbr-widget-tab-btn-font-weight);color:var(--vbr-widget-tab-btn-color);text-transform:var(--vbr-widget-tab-btn-text-transform);background-color:var(--vbr-widget-tab-btn-bg-color);border-color:var(--vbr-widget-tab-btn-border-color);border-width:var(--vbr-widget-tab-btn-border-width);border-style:var(--vbr-widget-tab-btn-border-style);outline:none;box-shadow:none;cursor:pointer}.tab-button:hover{color:var(--vbr-widget-tab-btn-hover-color);border-color:var(--vbr-widget-tab-btn-hover-border-color);background-color:var(--vbr-widget-tab-btn-hover-bg-color)}.tab-button.is-active{color:var(--vbr-widget-tab-btn-active-color);border-color:var(--vbr-widget-tab-btn-active-border-color);background-color:var(--vbr-widget-tab-btn-active-bg-color)}.toggle-group{display:flex;flex-wrap:wrap;gap:var(--vbr-widget-toggle-group-gap);margin-bottom:15px}.toggle-group button{padding:var(--vbr-widget-toggle-group-btn-padding);font-family:inherit;font-size:var(--vbr-widget-toggle-group-btn-size);background-color:var(--vbr-widget-toggle-group-btn-bg-color);border-radius:var(--vbr-widget-toggle-group-btn-radius)}.toggle-group button.is-active{color:var(--vbr-widget-toggle-group-btn-active-color);background-color:var(--vbr-widget-toggle-group-btn-active-bg-color)}`, or = '.table{border-collapse:collapse;border-spacing:0;color:var(--vbr-widget-table-color);background-color:var(--vbr-widget-table-default-bg-color)}.table table,.table caption,.table tbody,.table tfoot,.table thead,.table tr,.table th,.table td{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}.table :is(th,td){padding:8px;white-space:nowrap;vertical-align:middle;text-align:center}.table :is(th,td).is-text-left{text-align:left}.table :is(th,td).is-text-right{text-align:right}.table th{width:var(--vbr-widget-table-default-column-width);background:var(--vbr-widget-table-header-bg-color);font-size:var(--vbr-widget-table-header-font-size);font-weight:700;color:var(--vbr-widget-table-header-color)}.table th:focus-visible,.table th:hover{background-color:var(--vbr-widget-table-header-hover-bg-color);outline:none}.table th.is-sortable{position:relative;cursor:pointer}.table th.is-sortable .icon-sort{opacity:.5}.table th.is-active{background-color:var(--vbr-widget-table-table-header-active-bg-color);color:var(--vbr-widget-table-header-active-color)}.table th.is-active .icon-sort{opacity:1}.table th.is-asc,.table th.is-desc{position:relative}.table th.is-w-auto{width:auto}.table th .is-icon-sort{width:11px;height:11px;margin-left:5px}.table td.is-active{font-weight:700;color:var(--vbr-widget-table-active-color);background:var(--vbr-widget-table-active-bg-color)}.table td.is-zero{color:var(--vbr-widget-table-zero-color)}.table td.is-possible-empty:empty:before{content:"0";color:var(--vbr-widget-table-zero-color)}.table td .is-text-light,.table td.is-text-light{color:var(--vbr-widget-table-cell-light-color)}.table td .is-text-dark,.table td.is-text-dark{color:var(--vbr-widget-table-cell-dark-color)}.table td .is-logo-image{display:inline-block;vertical-align:middle;width:var(--vbr-widget-table-cell-logo-size);height:var(--vbr-widget-table-cell-logo-size)}.table td .is-portrait-image{display:inline-block;vertical-align:middle;width:var(--vbr-widget-table-cell-portrait-size);height:var(--vbr-widget-table-cell-portrait-size);object-fit:cover;object-position:top;overflow:hidden;border-radius:100%;border:1px solid var(--vbr-widget-primary-color-100)}.table td .is-portrait-image img{width:var(--vbr-widget-table-cell-portrait-size);height:auto}.table td.is-text-bold{font-weight:700}.table td.is-text-italic{font-style:italic}.table td.is-text-xl{font-size:var(--vbr-widget-typography-font-size-700)}.table td .is-text-accent{color:var(--vbr-widget-secondary-color-500)}.table td.is-w-auto{width:auto}.table td.is-horizontal-content{display:inline-flex;align-items:center}.table td.is-text-positive,.table td .is-text-positive{color:var(--vbr-widget-live-game-color)}.table td.is-text-negative,.table td .is-text-negative{color:var(--vbr-widget-danger-color-a400)}.table td.is-has-image{padding:0 2px}.table td .is-duplicated{color:var(--vbr-widget-table-neutral-color)}.table td svg{width:16px;height:16px}.table td button{padding:3px;line-height:0;border:none;outline:none;background-color:transparent}.table td button:hover{background-color:var(--vbr-widget-popover-trigger-hover-bg-color)}.table td button:active,.table td button:focus{background-color:var(--vbr-widget-popover-trigger-focus-bg-color)}.table td a{text-decoration:none}.table td .label{padding:3px 6px;font-size:var(--vbr-widget-typography-font-size-100);font-weight:700;color:var(--vbr-widget-table-label-color);background-color:var(--vbr-widget-table-label-bg-color);border-radius:2px}.table td .label:not(:last-of-type){margin-right:3px}.table td a{color:var(--vbr-widget-link-color)}.table td a:hover{color:var(--vbr-widget-hover-color)}.table td .is-team-name-long{display:block}.table td .is-team-name-short{display:none}@container table-wrapper (max-width: 768px){.table td .is-team-name-long{display:none}.table td .is-team-name-short{display:block}}.table tr.is-highlighted{color:var(--vbr-widget-danger-color-a400)}.table tr.is-optional{opacity:.5}.table tr:nth-child(2n){background:var(--vbr-widget-table-stripped-bg-color)}.table tr:nth-child(2n) td.is-active{background-color:var(--vbr-widget-table-active-even-bg-color)}.table tbody tr:focus-within,.table tbody tr:hover{color:var(--vbr-widget-table-hover-color);background-color:var(--vbr-widget-table-hover-bg-color)}.table tbody tr:focus-within td.is-active,.table tbody tr:hover td.is-active{color:var(--vbr-widget-table-active-hover-color);background-color:var(--vbr-widget-table-active-hover-bg-color)}', ir = ".table-responsive{container-name:table-wrapper;container-type:inline-size;width:100%;overflow-x:auto}.table-responsive table{width:100%}", mn = {
|
|
2314
|
+
}, Ut = ".is-card{container-name:card-row;container-type:inline-size;background-color:#fff;padding:15px;margin-bottom:20px;box-shadow:0 2px 4px #0000001a,0 2px 2px #0000001a}.is-card>div{border-bottom:1px solid var(--vbr-widget-primary-color-100)}.is-card>div:last-of-type{border:none}.is-sticky{position:sticky;top:var(--vbr-widget-sticky-top-offset);z-index:10}.is-blured-bg{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.card-item{display:grid;grid-gap:1rem;grid-template-columns:2fr 1fr 2fr;padding:2rem 0;border-bottom:1px solid var(--vbr-widget-primary-color-100)}.card-item.is-optional{opacity:.4;transition:opacity .3s ease-out}.card-item.is-optional:hover{opacity:1}.card-item svg{display:block}.card-item .is-team-name-short{display:none}@container card-row (max-width: 640px){.card-item .is-team-name-long{display:none}.card-item .is-team-name-short{display:block}}.card-item .is-info{grid-column:1/4;display:flex;justify-content:center;align-items:center;color:var(--vbr-widget-primary-color-500)}.card-item .is-home-team{display:flex;gap:8px;align-items:center;justify-content:flex-end;font-weight:700}.card-item .is-away-team{display:flex;gap:8px;align-items:center;justify-content:flex-start;font-weight:700}.card-item .is-logo-image{width:40px}.card-item .is-game-data{display:flex;flex-direction:column;align-items:center;justify-content:center}.card-item .is-game-data a{display:flex;flex-direction:column;align-items:center;color:var(--vbr-widget-primary-color-900)}.card-item .is-game-data a:hover{color:var(--vbr-widget-primary-color-600)}.card-item .is-game-data.is-live,.card-item .is-game-data.is-live a{color:var(--vbr-widget-live-game-color)}.section-selector{margin:20px 0;border-bottom:1px solid var(--vbr-widget-primary-color-200)}.main-image-wrapper{--overlay-size: 160px;--overlay-radius: 50%;display:grid;grid-template-columns:1fr var(--overlay-size) 1fr;grid-template-rows:1fr 1fr 1fr calc(var(--overlay-size) / 2) calc(var(--overlay-size) / 2);margin-left:var(--vbr-widget-main-image-wrapper-horizontal-margin);margin-right:var(--vbr-widget-main-image-wrapper-horizontal-margin)}.main-image-wrapper:has(img.is-default){min-height:470px}.main-image-wrapper .is-main-image{grid-column:1/4;grid-row:1/5;display:flex;justify-content:center;align-items:center;background-color:var(--vbr-widget-primary-color-50);box-shadow:0 2px 4px #0003}.main-image-wrapper .is-main-image .is-default{filter:grayscale(1);opacity:.3;mix-blend-mode:multiply}.main-image-wrapper .is-main-image img:not(.is-default){width:100%}.main-image-wrapper .is-ovarlay-image{grid-row:4/-1;grid-column:2;justify-self:center;overflow:hidden;border-radius:var(--overlay-radius);z-index:1}.main-image-wrapper .is-ovarlay-image img{width:100%;aspect-ratio:1}", bn = ".paginator{display:flex;flex-direction:row;list-style-type:none;margin:10px 0;padding:0}.paginator button,.paginator div{display:flex;align-items:center;justify-content:center;padding:6px 12px;text-decoration:none;cursor:pointer;color:var(--vbr-widget-paginator-color);border:1px solid var(--vbr-widget-paginator-border-color);background-color:var(--vbr-widget-paginator-bg-color);margin-left:-1px}.paginator button .icon,.paginator div .icon{width:16px;height:16px;margin:0 -4px}.paginator button:hover:not(.paginator button.is-disabled,.paginator button.is-active,.paginator div.is-disabled,.paginator div.is-active),.paginator div:hover:not(.paginator button.is-disabled,.paginator button.is-active,.paginator div.is-disabled,.paginator div.is-active){color:var(--vbr-widget-paginator-hover-color);background-color:var(--vbr-widget-paginator-hover-bg-color)}.paginator button:disabled,.paginator button.is-disabled,.paginator div:disabled,.paginator div.is-disabled{color:var(--vbr-widget-paginator-disabled-color);background-color:var(--vbr-widget-paginator-bg-color);pointer-events:none;cursor:default}.paginator button.is-active,.paginator div.is-active{color:var(--vbr-widget-paginator-active-color);background-color:var(--vbr-widget-paginator-active-bg-color);border-color:var(--vbr-widget-paginator-active-bg-color);cursor:default}", Bt = ".g-row{display:flex}.g-row-wrap{display:flex;flex-wrap:wrap}.g-col{flex:1 0 0%}.g-gap-normal{gap:16px}[class^=g-col-]{flex:0 0 auto}.g-col-6{width:50%}.g-col-5{width:41.66666667%}.g-col-3{width:25%}.g-col-auto{width:auto}.g-gap-normal{gap:20px}.g-grid{--columns: repeat(2, 1fr);--columns-tablet: repeat(4, 1fr);display:grid;grid-template-columns:var(--columns)}@media all and (min-width: 768px){.g-grid{grid-template-columns:var(--columns-tablet)}}", or = `.base-input{padding:.375rem .75rem;font-family:inherit;color:var(--vbr-widget-base-input-color);border:1px solid var(--vbr-widget-base-input-border-color);border-radius:var(--vbr-widget-base-input-border-radius);width:100%;-moz-padding-start:calc(.75rem - 3px);font-size:var(--vbr-widget-base-input-font-size);font-weight:400;line-height:1.5;background-color:#fff;transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out;-webkit-appearance:none;-moz-appearance:none;appearance:none}.base-input:disabled{opacity:.3}.base-input.is-select{padding-right:2.25rem;background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");background-repeat:no-repeat;background-position:right .75rem center;background-size:16px 12px}label{display:block;margin-bottom:3px;color:var(--vbr-widget-form-label-color);font-size:var(--vbr-widget-form-label-font-size);font-weight:700;text-transform:uppercase}.tab-button{padding:var(--vbr-widget-tab-btn-padding);font-family:inherit;font-size:var(--vbr-widget-tab-btn-font-size);font-weight:var(--vbr-widget-tab-btn-font-weight);color:var(--vbr-widget-tab-btn-color);text-transform:var(--vbr-widget-tab-btn-text-transform);background-color:var(--vbr-widget-tab-btn-bg-color);border-color:var(--vbr-widget-tab-btn-border-color);border-width:var(--vbr-widget-tab-btn-border-width);border-style:var(--vbr-widget-tab-btn-border-style);outline:none;box-shadow:none;cursor:pointer}.tab-button:hover{color:var(--vbr-widget-tab-btn-hover-color);border-color:var(--vbr-widget-tab-btn-hover-border-color);background-color:var(--vbr-widget-tab-btn-hover-bg-color)}.tab-button.is-active{color:var(--vbr-widget-tab-btn-active-color);border-color:var(--vbr-widget-tab-btn-active-border-color);background-color:var(--vbr-widget-tab-btn-active-bg-color)}.toggle-group{display:flex;flex-wrap:wrap;gap:var(--vbr-widget-toggle-group-gap);margin-bottom:15px}.toggle-group button{padding:var(--vbr-widget-toggle-group-btn-padding);font-family:inherit;font-size:var(--vbr-widget-toggle-group-btn-size);background-color:var(--vbr-widget-toggle-group-btn-bg-color);border-radius:var(--vbr-widget-toggle-group-btn-radius)}.toggle-group button.is-active{color:var(--vbr-widget-toggle-group-btn-active-color);background-color:var(--vbr-widget-toggle-group-btn-active-bg-color)}`, ir = '.table{border-collapse:collapse;border-spacing:0;color:var(--vbr-widget-table-color);background-color:var(--vbr-widget-table-default-bg-color)}.table table,.table caption,.table tbody,.table tfoot,.table thead,.table tr,.table th,.table td{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}.table :is(th,td){padding:8px;white-space:nowrap;vertical-align:middle;text-align:center}.table :is(th,td).is-text-left{text-align:left}.table :is(th,td).is-text-right{text-align:right}.table th{width:var(--vbr-widget-table-default-column-width);background:var(--vbr-widget-table-header-bg-color);font-size:var(--vbr-widget-table-header-font-size);font-weight:700;color:var(--vbr-widget-table-header-color)}.table th:focus-visible,.table th:hover{background-color:var(--vbr-widget-table-header-hover-bg-color);outline:none}.table th.is-sortable{position:relative;cursor:pointer}.table th.is-sortable .icon-sort{opacity:.5}.table th.is-active{background-color:var(--vbr-widget-table-header-active-bg-color);color:var(--vbr-widget-table-header-active-color)}.table th.is-active .icon-sort{opacity:1}.table th.is-asc,.table th.is-desc{position:relative}.table th.is-w-auto{width:auto}.table th .is-icon-sort{width:11px;height:11px;margin-left:5px}.table td.is-active{font-weight:700;color:var(--vbr-widget-table-active-color);background:var(--vbr-widget-table-active-bg-color)}.table td.is-zero{color:var(--vbr-widget-table-zero-color)}.table td.is-possible-empty:empty:before{content:"0";color:var(--vbr-widget-table-zero-color)}.table td .is-text-light,.table td.is-text-light{color:var(--vbr-widget-table-cell-light-color)}.table td .is-text-dark,.table td.is-text-dark{color:var(--vbr-widget-table-cell-dark-color)}.table td .is-logo-image{display:inline-block;vertical-align:middle;width:var(--vbr-widget-table-cell-logo-size);height:var(--vbr-widget-table-cell-logo-size)}.table td .is-portrait-image{display:inline-block;vertical-align:middle;width:var(--vbr-widget-table-cell-portrait-size);height:var(--vbr-widget-table-cell-portrait-size);object-fit:cover;object-position:top;overflow:hidden;border-radius:100%;border:1px solid var(--vbr-widget-primary-color-100)}.table td .is-portrait-image img{width:var(--vbr-widget-table-cell-portrait-size);height:auto}.table td.is-text-bold{font-weight:700}.table td.is-text-italic{font-style:italic}.table td.is-text-xl{font-size:var(--vbr-widget-typography-font-size-700)}.table td .is-text-accent{color:var(--vbr-widget-secondary-color-500)}.table td.is-w-auto{width:auto}.table td.is-horizontal-content{display:inline-flex;align-items:center}.table td.is-text-positive,.table td .is-text-positive{color:var(--vbr-widget-live-game-color)}.table td.is-text-negative,.table td .is-text-negative{color:var(--vbr-widget-danger-color-a400)}.table td.is-has-image{padding:0 2px}.table td .is-duplicated{color:var(--vbr-widget-table-neutral-color)}.table td svg{width:16px;height:16px}.table td button{padding:3px;line-height:0;border:none;outline:none;background-color:transparent}.table td button:hover{background-color:var(--vbr-widget-popover-trigger-hover-bg-color)}.table td button:active,.table td button:focus{background-color:var(--vbr-widget-popover-trigger-focus-bg-color)}.table td a{text-decoration:none}.table td .label{padding:3px 6px;font-size:var(--vbr-widget-typography-font-size-100);font-weight:700;color:var(--vbr-widget-table-label-color);background-color:var(--vbr-widget-table-label-bg-color);border-radius:2px}.table td .label:not(:last-of-type){margin-right:3px}.table td a{color:var(--vbr-widget-link-color)}.table td a:hover{color:var(--vbr-widget-hover-color)}.table td .is-team-name-long{display:block}.table td .is-team-name-short{display:none}@container table-wrapper (max-width: 768px){.table td .is-team-name-long{display:none}.table td .is-team-name-short{display:block}}.table tr.is-highlighted{color:var(--vbr-widget-danger-color-a400)}.table tr.is-optional{opacity:.5}.table tr:nth-child(2n){background:var(--vbr-widget-table-stripped-bg-color)}.table tr:nth-child(2n) td.is-active{background-color:var(--vbr-widget-table-active-even-bg-color)}.table tbody tr:focus-within,.table tbody tr:hover{color:var(--vbr-widget-table-hover-color);background-color:var(--vbr-widget-table-hover-bg-color)}.table tbody tr:focus-within td.is-active,.table tbody tr:hover td.is-active{color:var(--vbr-widget-table-active-hover-color);background-color:var(--vbr-widget-table-active-hover-bg-color)}', nr = ".table-responsive{container-name:table-wrapper;container-type:inline-size;width:100%;overflow-x:auto}.table-responsive table{width:100%}", mn = {
|
|
2315
2315
|
for: "player",
|
|
2316
2316
|
class: "label"
|
|
2317
2317
|
}, vn = ["value", "onInput"], hn = { style: { display: "flex", "justify-content": "space-between", "align-items": "center" } }, fn = { key: 0 }, yn = {
|
|
@@ -2344,17 +2344,17 @@ const Ti = "/v2/player-season-stats", Ii = "/v2/goalie-season-stats", Pi = "/v2/
|
|
|
2344
2344
|
},
|
|
2345
2345
|
setup(e) {
|
|
2346
2346
|
const t = e, a = { en: ue, hu: be }, r = K(null), o = (l) => Ot(t.externalPlayerResolver, l), i = (l) => st(t.externalTeamResolver, l);
|
|
2347
|
-
return (l, s) => (
|
|
2348
|
-
w(n(
|
|
2347
|
+
return (l, s) => (c(), h("div", null, [
|
|
2348
|
+
w(n(ge), {
|
|
2349
2349
|
locale: t.locale,
|
|
2350
2350
|
messages: a
|
|
2351
2351
|
}, {
|
|
2352
|
-
default:
|
|
2352
|
+
default: k(({ t: g }) => [
|
|
2353
2353
|
w(n(ze), null, {
|
|
2354
|
-
default:
|
|
2355
|
-
v ? (
|
|
2354
|
+
default: k(({ error: u, hasError: v }) => [
|
|
2355
|
+
v ? (c(), $(n(Se), {
|
|
2356
2356
|
key: 0,
|
|
2357
|
-
error:
|
|
2357
|
+
error: u
|
|
2358
2358
|
}, null, 8, ["error"])) : I("", !0),
|
|
2359
2359
|
w(un, {
|
|
2360
2360
|
"api-key": t.apiKey,
|
|
@@ -2362,16 +2362,16 @@ const Ti = "/v2/player-season-stats", Ii = "/v2/goalie-season-stats", Pi = "/v2/
|
|
|
2362
2362
|
"championship-name": e.championshipName,
|
|
2363
2363
|
limit: e.limit
|
|
2364
2364
|
}, {
|
|
2365
|
-
default:
|
|
2366
|
-
range:
|
|
2365
|
+
default: k(({
|
|
2366
|
+
range: f,
|
|
2367
2367
|
players: m,
|
|
2368
2368
|
seasons: p,
|
|
2369
|
-
isLoading:
|
|
2369
|
+
isLoading: x,
|
|
2370
2370
|
championshipId: P,
|
|
2371
|
-
page:
|
|
2372
|
-
query:
|
|
2371
|
+
page: A,
|
|
2372
|
+
query: z,
|
|
2373
2373
|
changeSeason: L,
|
|
2374
|
-
sort:
|
|
2374
|
+
sort: y,
|
|
2375
2375
|
onSort: S,
|
|
2376
2376
|
onPaginatorChange: T,
|
|
2377
2377
|
onInput: C
|
|
@@ -2382,42 +2382,42 @@ const Ti = "/v2/player-season-stats", Ii = "/v2/goalie-season-stats", Pi = "/v2/
|
|
|
2382
2382
|
"is-section-selection-disabled": "",
|
|
2383
2383
|
onOnChangeSeason: L
|
|
2384
2384
|
}, {
|
|
2385
|
-
default:
|
|
2386
|
-
|
|
2387
|
-
|
|
2388
|
-
|
|
2385
|
+
default: k(() => [
|
|
2386
|
+
d("div", null, [
|
|
2387
|
+
d("label", mn, b(g("selection.filterName")), 1),
|
|
2388
|
+
d("input", {
|
|
2389
2389
|
id: "player",
|
|
2390
2390
|
type: "text",
|
|
2391
2391
|
class: "base-input",
|
|
2392
|
-
value:
|
|
2392
|
+
value: z,
|
|
2393
2393
|
onInput: C
|
|
2394
2394
|
}, null, 40, vn)
|
|
2395
2395
|
])
|
|
2396
2396
|
]),
|
|
2397
2397
|
_: 2
|
|
2398
2398
|
}, 1032, ["seasons", "championship-id", "onOnChangeSeason"]),
|
|
2399
|
-
w(
|
|
2400
|
-
columns: n(
|
|
2399
|
+
w(rr, {
|
|
2400
|
+
columns: n(Za),
|
|
2401
2401
|
rows: m.rows,
|
|
2402
2402
|
"append-to": r.value,
|
|
2403
|
-
sort:
|
|
2404
|
-
"is-loading":
|
|
2403
|
+
sort: y,
|
|
2404
|
+
"is-loading": x,
|
|
2405
2405
|
"championship-id": P,
|
|
2406
2406
|
"player-resolver": o,
|
|
2407
2407
|
"team-resolver": i,
|
|
2408
2408
|
onSort: S
|
|
2409
2409
|
}, null, 8, ["columns", "rows", "append-to", "sort", "is-loading", "championship-id", "onSort"]),
|
|
2410
|
-
|
|
2410
|
+
d("div", hn, [
|
|
2411
2411
|
w(n(ya), {
|
|
2412
|
-
page:
|
|
2412
|
+
page: A,
|
|
2413
2413
|
"items-per-page": t.limit,
|
|
2414
2414
|
"total-items": m.totalItems,
|
|
2415
2415
|
"range-length": 5,
|
|
2416
2416
|
onChange: T
|
|
2417
2417
|
}, null, 8, ["page", "items-per-page", "total-items", "onChange"]),
|
|
2418
|
-
m.totalItems > 0 ? (
|
|
2418
|
+
m.totalItems > 0 ? (c(), h("div", fn, b(f.join("-")) + " / " + b(m.totalItems), 1)) : I("", !0)
|
|
2419
2419
|
]),
|
|
2420
|
-
|
|
2420
|
+
d("div", {
|
|
2421
2421
|
ref_key: "tooltipContainer",
|
|
2422
2422
|
ref: r
|
|
2423
2423
|
}, null, 512)
|
|
@@ -2432,19 +2432,13 @@ const Ti = "/v2/player-season-stats", Ii = "/v2/goalie-season-stats", Pi = "/v2/
|
|
|
2432
2432
|
}, 8, ["locale"])
|
|
2433
2433
|
]));
|
|
2434
2434
|
}
|
|
2435
|
-
}, wn = /* @__PURE__ */ he(yn, [["styles", [ve, Ke, Ut, bn, Bt,
|
|
2435
|
+
}, wn = /* @__PURE__ */ he(yn, [["styles", [ve, Ke, Ut, bn, Bt, or, ir, nr]]]), xn = ".playoffs .table-grid{display:grid;grid-template-columns:70px 160px minmax(60px,.41fr) minmax(160px,1fr) minmax(40px,60px) 30px minmax(160px,1fr) minmax(180px,.9fr);color:var(--vbr-widget-table-color)}.playoffs .table-grid:nth-child(odd)>div{background-color:var(--vbr-widget-table-stripped-bg-color)}.playoffs .table-grid:hover>div{background-color:var(--vbr-widget-table-hover-bg-color)}.playoffs .table-grid.is-optional{opacity:.5}.playoffs .table-grid>div{padding:8px}.playoffs .table-grid .is-truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.playoffs .table-grid .is-text-right{text-align:right}.playoffs .table-grid .is-text-center{text-align:center}.playoffs .table-grid .is-text-bold{font-weight:900}.playoffs .table-grid .is-text-light{color:var(--vbr-widget-table-cell-light-color)}.playoffs .table-grid .is-text-dark{color:var(--vbr-widget-table-cell-dark-color)}.playoffs .table-grid .is-text-accent{color:var(--vbr-widget-secondary-color-500)}.playoffs .table-grid .is-team-name-long{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.playoffs .table-grid .is-team-name-short{display:none}@container table-wrapper (max-width: 768px){.playoffs .table-grid .is-team-name-long{display:none}.playoffs .table-grid .is-team-name-short{display:block}}.playoffs .section-title{padding:10px;text-align:center;font-size:var(--vbr-widget-playoffs-header-size);font-weight:700;color:var(--vbr-widget-playoffs-header-color);background-color:var(--vbr-widget-playoffs-header-bg)}.playoffs .section-details{display:grid;grid-template-columns:1fr;align-items:center;justify-items:center;gap:20px;padding:20px;background-color:var(--vbr-widget-playoffs-details-bg)}@media all and (min-width: 576px){.playoffs .section-details{grid-template-columns:1fr fit-content(100px) fit-content(100px) fit-content(100px) 1fr}}.playoffs .section-details .is-team-name-long{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.playoffs .section-details .is-team-name-short{display:none}@container section-details (max-width: 768px){.playoffs .section-details .is-team-name-long{display:none}.playoffs .section-details .is-team-name-short{display:block}}.playoffs .section-details .is-logo-image{width:70px;height:70px}.playoffs .section-details .is-result{font-size:4rem;font-weight:700;text-align:center;color:var(--vbr-widget-primary-color-800)}.playoffs .section-details .is-team-name{font-size:var(--vbr-widget-typography-font-size-700);font-weight:700;color:var(--vbr-widget-primary-color-800)}.playoffs .section-details .is-right{text-align:right}.playoffs-minimal{display:grid;gap:8px}.playoffs-minimal .section .section-title{font-size:var(--vbr-widget-standings-selector-section-title-size);color:var(--vbr-widget-standings-selector-section-title-color);font-weight:700;background:var(--vbr-widget-standings-selector-section-title-bg);text-align:center;padding:var(--vbr-widget-standings-selector-section-title-padding)}.playoffs-minimal .section ul{display:grid;grid-template-columns:minmax(0,1fr) var(--vbr-widget-standings-selector-section-logo-size) auto var(--vbr-widget-standings-selector-section-logo-size) minmax(0,1fr);gap:12px;align-items:center}.playoffs-minimal .section li{padding-block:8px}.playoffs-minimal .section li:first-of-type{text-align:end}.playoffs-minimal .section img{display:block;width:100%;aspect-ratio:1}.playoffs-minimal .section .is-team{font-weight:700;color:var(--vbr-widget-standings-selector-section-team-color);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.playoffs-minimal .section .is-team .is-team-name-short{display:none}@container table-wrapper (max-width: 360px){.playoffs-minimal .section .is-team .is-team-name-long{display:none}.playoffs-minimal .section .is-team .is-team-name-short{display:block}}", kn = ".table-responsive{container-name:table-wrapper;container-type:inline-size;width:100%;overflow-x:auto}.table-responsive table{width:100%}", lr = '.table{border-collapse:collapse;border-spacing:0;color:var(--vbr-widget-table-color);background-color:var(--vbr-widget-table-default-bg-color)}.table table,.table caption,.table tbody,.table tfoot,.table thead,.table tr,.table th,.table td{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}.table :is(th,td){padding:8px;white-space:nowrap;vertical-align:middle;text-align:center}.table :is(th,td).is-text-left{text-align:left}.table :is(th,td).is-text-right{text-align:right}.table th{width:var(--vbr-widget-table-default-column-width);background:var(--vbr-widget-table-header-bg-color);font-size:var(--vbr-widget-table-header-font-size);font-weight:700;color:var(--vbr-widget-table-header-color)}.table th:focus-visible,.table th:hover{background-color:var(--vbr-widget-table-header-hover-bg-color);outline:none}.table th.is-sortable{position:relative;cursor:pointer}.table th.is-sortable .icon-sort{opacity:.5}.table th.is-active{background-color:var(--vbr-widget-table-header-active-bg-color);color:var(--vbr-widget-table-header-active-color)}.table th.is-active .icon-sort{opacity:1}.table th.is-asc,.table th.is-desc{position:relative}.table th.is-w-auto{width:auto}.table th .is-icon-sort{width:11px;height:11px;margin-left:5px}.table td.is-active{font-weight:700;color:var(--vbr-widget-table-active-color);background:var(--vbr-widget-table-active-bg-color)}.table td.is-zero{color:var(--vbr-widget-table-zero-color)}.table td.is-possible-empty:empty:before{content:"0";color:var(--vbr-widget-table-zero-color)}.table td .is-text-light,.table td.is-text-light{color:var(--vbr-widget-table-cell-light-color)}.table td .is-text-dark,.table td.is-text-dark{color:var(--vbr-widget-table-cell-dark-color)}.table td .is-logo-image{display:inline-block;vertical-align:middle;width:var(--vbr-widget-table-cell-logo-size);height:var(--vbr-widget-table-cell-logo-size)}.table td .is-portrait-image{display:inline-block;vertical-align:middle;width:var(--vbr-widget-table-cell-portrait-size);height:var(--vbr-widget-table-cell-portrait-size);object-fit:cover;object-position:top;overflow:hidden;border-radius:100%;border:1px solid var(--vbr-widget-primary-color-100)}.table td .is-portrait-image img{width:var(--vbr-widget-table-cell-portrait-size);height:auto}.table td.is-text-bold{font-weight:700}.table td.is-text-italic{font-style:italic}.table td.is-text-xl{font-size:var(--vbr-widget-typography-font-size-700)}.table td .is-text-accent{color:var(--vbr-widget-secondary-color-500)}.table td.is-w-auto{width:auto}.table td.is-horizontal-content{display:inline-flex;align-items:center}.table td.is-text-positive,.table td .is-text-positive{color:var(--vbr-widget-live-game-color)}.table td.is-text-negative,.table td .is-text-negative{color:var(--vbr-widget-danger-color-a400)}.table td.is-has-image{padding:0 2px}.table td .is-duplicated{color:var(--vbr-widget-table-neutral-color)}.table td svg{width:16px;height:16px}.table td button{padding:3px;line-height:0;border:none;outline:none;background-color:transparent}.table td button:hover{background-color:var(--vbr-widget-popover-trigger-hover-bg-color)}.table td button:active,.table td button:focus{background-color:var(--vbr-widget-popover-trigger-focus-bg-color)}.table td a{text-decoration:none}.table td .label{padding:3px 6px;font-size:var(--vbr-widget-typography-font-size-100);font-weight:700;color:var(--vbr-widget-table-label-color);background-color:var(--vbr-widget-table-label-bg-color);border-radius:2px}.table td .label:not(:last-of-type){margin-right:3px}.table td a{color:var(--vbr-widget-link-color)}.table td a:hover{color:var(--vbr-widget-hover-color)}.table td .is-team-name-long{display:block}.table td .is-team-name-short{display:none}@container table-wrapper (max-width: 768px){.table td .is-team-name-long{display:none}.table td .is-team-name-short{display:block}}.table tr.is-highlighted{color:var(--vbr-widget-danger-color-a400)}.table tr.is-optional{opacity:.5}.table tr:nth-child(2n){background:var(--vbr-widget-table-stripped-bg-color)}.table tr:nth-child(2n) td.is-active{background-color:var(--vbr-widget-table-active-even-bg-color)}.table tbody tr:focus-within,.table tbody tr:hover{color:var(--vbr-widget-table-hover-color);background-color:var(--vbr-widget-table-hover-bg-color)}.table tbody tr:focus-within td.is-active,.table tbody tr:hover td.is-active{color:var(--vbr-widget-table-active-hover-color);background-color:var(--vbr-widget-table-active-hover-bg-color)}', _n = { class: "playoffs" }, zn = { class: "section-title" }, Sn = { key: 0 }, Tn = { class: "section-details" }, In = { class: "is-team-name is-right" }, Pn = { class: "is-result" }, Nn = { class: "is-team-name" }, $n = { class: "is-text-right is-text-bold" }, An = { class: "is-team-name-long" }, Ln = { class: "is-team-name-short" }, Cn = { class: "is-text-center" }, En = {
|
|
2436
2436
|
key: 0,
|
|
2437
2437
|
class: "is-text-dark"
|
|
2438
|
-
},
|
|
2438
|
+
}, On = ["href", "target"], jn = {
|
|
2439
2439
|
key: 0,
|
|
2440
|
-
class: "
|
|
2441
|
-
},
|
|
2442
|
-
key: 1,
|
|
2443
|
-
class: "label"
|
|
2444
|
-
}, Rn = {
|
|
2445
|
-
key: 2,
|
|
2446
|
-
class: "label"
|
|
2447
|
-
}, Fn = { class: "is-text-bold" }, Gn = { class: "is-team-name-long" }, Mn = { class: "is-team-name-short" }, Dn = { class: "is-text-light is-truncate is-text-right" }, Kn = "/game/id/{gameId}", Un = {
|
|
2440
|
+
class: "is-badge is-dark"
|
|
2441
|
+
}, Rn = { class: "is-text-bold" }, Fn = { class: "is-team-name-long" }, Gn = { class: "is-team-name-short" }, Mn = { class: "is-text-light is-truncate is-text-right" }, Dn = "/game/id/{gameId}", Kn = {
|
|
2448
2442
|
__name: "Playoffs.ce",
|
|
2449
2443
|
props: {
|
|
2450
2444
|
locale: {
|
|
@@ -2458,7 +2452,9 @@ const Ti = "/v2/player-season-stats", Ii = "/v2/goalie-season-stats", Pi = "/v2/
|
|
|
2458
2452
|
championshipId: {
|
|
2459
2453
|
type: Number,
|
|
2460
2454
|
default: 0
|
|
2461
|
-
}
|
|
2455
|
+
},
|
|
2456
|
+
// externalGameResolver, isGameTargetExternal
|
|
2457
|
+
...Pa
|
|
2462
2458
|
},
|
|
2463
2459
|
setup(e) {
|
|
2464
2460
|
const t = e, { state: a, isLoading: r, execute: o } = D({
|
|
@@ -2470,73 +2466,74 @@ const Ti = "/v2/player-season-stats", Ii = "/v2/goalie-season-stats", Pi = "/v2/
|
|
|
2470
2466
|
});
|
|
2471
2467
|
o();
|
|
2472
2468
|
const i = it(), l = { en: ue, hu: be };
|
|
2473
|
-
function s(
|
|
2474
|
-
return nt(t.
|
|
2469
|
+
function s(f) {
|
|
2470
|
+
return nt(t.externalGameResolver || Dn, f);
|
|
2475
2471
|
}
|
|
2476
|
-
const g = (
|
|
2477
|
-
return (
|
|
2478
|
-
w(n(
|
|
2472
|
+
const g = _(() => t.isGameTargetExternal ? "_blank" : "_self"), u = (f) => et(f, "L dddd", i, t.locale), v = (f) => et(f, "HH:mm", i, t.locale);
|
|
2473
|
+
return (f, m) => (c(), h("div", _n, [
|
|
2474
|
+
w(n(ge), {
|
|
2479
2475
|
locale: t.locale,
|
|
2480
2476
|
messages: l
|
|
2481
2477
|
}, {
|
|
2482
|
-
default:
|
|
2483
|
-
n(r) ? (
|
|
2484
|
-
(
|
|
2485
|
-
var
|
|
2486
|
-
return
|
|
2487
|
-
key: `${
|
|
2478
|
+
default: k(({ t: p }) => [
|
|
2479
|
+
n(r) ? (c(), $(n(at), { key: 0 })) : I("", !0),
|
|
2480
|
+
(c(!0), h(O, null, U(n(a), (x) => {
|
|
2481
|
+
var P, A;
|
|
2482
|
+
return c(), h("div", {
|
|
2483
|
+
key: `${x.divisionStage2Name}-${x.divisionStageNumber}`
|
|
2488
2484
|
}, [
|
|
2489
|
-
|
|
2490
|
-
|
|
2491
|
-
c("
|
|
2492
|
-
|
|
2485
|
+
d("div", zn, [
|
|
2486
|
+
W(b(p(`playoffs.${x.divisionStage2Name}`)), 1),
|
|
2487
|
+
x.divisionStageNumber ? (c(), h("span", Sn, "-" + b(x.divisionStageNumber), 1)) : I("", !0)
|
|
2488
|
+
]),
|
|
2489
|
+
d("div", Tn, [
|
|
2490
|
+
d("div", In, b((P = x.homeTeam) == null ? void 0 : P.longName), 1),
|
|
2491
|
+
d("div", null, [
|
|
2493
2492
|
w(n(V), {
|
|
2494
2493
|
class: "is-logo-image",
|
|
2495
|
-
src:
|
|
2494
|
+
src: x.homeTeam.logo
|
|
2496
2495
|
}, null, 8, ["src"])
|
|
2497
2496
|
]),
|
|
2498
|
-
|
|
2499
|
-
|
|
2497
|
+
d("div", Pn, b(x.seriesStandings), 1),
|
|
2498
|
+
d("div", null, [
|
|
2500
2499
|
w(n(V), {
|
|
2501
2500
|
class: "is-logo-image",
|
|
2502
|
-
src:
|
|
2501
|
+
src: x.awayTeam.logo
|
|
2503
2502
|
}, null, 8, ["src"])
|
|
2504
2503
|
]),
|
|
2505
|
-
|
|
2504
|
+
d("div", Nn, b((A = x.awayTeam) == null ? void 0 : A.longName), 1)
|
|
2506
2505
|
]),
|
|
2507
2506
|
w(n(ie), null, {
|
|
2508
|
-
default:
|
|
2509
|
-
(
|
|
2510
|
-
var
|
|
2511
|
-
return
|
|
2512
|
-
key:
|
|
2513
|
-
class: G(["table-grid", { "is-optional":
|
|
2507
|
+
default: k(() => [
|
|
2508
|
+
(c(!0), h(O, null, U(x.games, (z) => {
|
|
2509
|
+
var L, y, S, T, C;
|
|
2510
|
+
return c(), h("div", {
|
|
2511
|
+
key: z.id,
|
|
2512
|
+
class: G(["table-grid", { "is-optional": z.optional }])
|
|
2514
2513
|
}, [
|
|
2515
|
-
|
|
2516
|
-
|
|
2517
|
-
|
|
2518
|
-
|
|
2519
|
-
|
|
2520
|
-
|
|
2514
|
+
d("div", null, b(z.gameName), 1),
|
|
2515
|
+
d("div", null, b(u(z.gameDate)), 1),
|
|
2516
|
+
d("div", null, b(v(z.gameDate)), 1),
|
|
2517
|
+
d("div", $n, [
|
|
2518
|
+
d("span", An, b((L = z.homeTeam) == null ? void 0 : L.longName), 1),
|
|
2519
|
+
d("span", Ln, b((y = z.homeTeam) == null ? void 0 : y.shortName), 1)
|
|
2521
2520
|
]),
|
|
2522
|
-
|
|
2523
|
-
|
|
2521
|
+
d("div", Cn, [
|
|
2522
|
+
z.gameStatus === 0 ? (c(), h("span", En, "-:-")) : (c(), h("a", {
|
|
2524
2523
|
key: 1,
|
|
2525
|
-
href: s(
|
|
2526
|
-
target:
|
|
2527
|
-
class: G(["is-text-bold", [{ "is-text-dark":
|
|
2528
|
-
},
|
|
2524
|
+
href: s(z),
|
|
2525
|
+
target: g.value,
|
|
2526
|
+
class: G(["is-text-bold", [{ "is-text-dark": z.gameStatus !== 1, "is-text-accent": z.gameStatus === 1 }]])
|
|
2527
|
+
}, b(z.homeTeamScore) + ":" + b(z.awayTeamScore), 11, On))
|
|
2529
2528
|
]),
|
|
2530
|
-
|
|
2531
|
-
|
|
2532
|
-
k.isShootout ? (d(), h("span", jn, u(m("common.shootoutShort")), 1)) : I("", !0),
|
|
2533
|
-
k.seriesStandings ? (d(), h("span", Rn, u(k.seriesStandings), 1)) : I("", !0)
|
|
2529
|
+
d("div", null, [
|
|
2530
|
+
z.seriesStandings ? (c(), h("span", jn, b(z.seriesStandings), 1)) : I("", !0)
|
|
2534
2531
|
]),
|
|
2535
|
-
|
|
2536
|
-
|
|
2537
|
-
|
|
2532
|
+
d("div", Rn, [
|
|
2533
|
+
d("span", Fn, b((S = z.awayTeam) == null ? void 0 : S.longName), 1),
|
|
2534
|
+
d("span", Gn, b((T = z.awayTeam) == null ? void 0 : T.shortName), 1)
|
|
2538
2535
|
]),
|
|
2539
|
-
|
|
2536
|
+
d("div", Mn, b(((C = z.location) == null ? void 0 : C.locationName) ?? ""), 1)
|
|
2540
2537
|
], 2);
|
|
2541
2538
|
}), 128))
|
|
2542
2539
|
]),
|
|
@@ -2549,33 +2546,33 @@ const Ti = "/v2/player-season-stats", Ii = "/v2/goalie-season-stats", Pi = "/v2/
|
|
|
2549
2546
|
}, 8, ["locale"])
|
|
2550
2547
|
]));
|
|
2551
2548
|
}
|
|
2552
|
-
},
|
|
2553
|
-
function
|
|
2549
|
+
}, Un = /* @__PURE__ */ he(Kn, [["styles", [ve, xn, kn, lr]]]);
|
|
2550
|
+
function Bn(e = [], t = "hu", a = tt) {
|
|
2554
2551
|
const r = K([]), o = K(null), i = K([]), l = () => {
|
|
2555
|
-
i.value = e.value.reduce((g,
|
|
2552
|
+
i.value = e.value.reduce((g, u) => {
|
|
2556
2553
|
var p;
|
|
2557
|
-
const v = new Date(
|
|
2558
|
-
return g[
|
|
2554
|
+
const v = new Date(u.gameDate), f = (p = new Intl.DateTimeFormat("en-GB", { month: "long" }).format(v)) == null ? void 0 : p.toLowerCase(), m = new Intl.DateTimeFormat(t.value, { month: "long" }).format(v);
|
|
2555
|
+
return g[f] || (g[f] = { value: v.getMonth(), name: Vn(m) }), g;
|
|
2559
2556
|
}, {}), r.value = Object.values(i.value);
|
|
2560
2557
|
}, s = () => {
|
|
2561
|
-
var
|
|
2562
|
-
const g =
|
|
2563
|
-
o.value = v && g ? (/* @__PURE__ */ new Date()).getMonth() : (
|
|
2558
|
+
var f, m, p, x;
|
|
2559
|
+
const g = zr(/* @__PURE__ */ new Date(), (f = fe(e.value)) == null ? void 0 : f.gameDate, (m = Wa(e.value)) == null ? void 0 : m.gameDate), u = (p = new Intl.DateTimeFormat("en-GB", { month: "long" }).format(/* @__PURE__ */ new Date())) == null ? void 0 : p.toLowerCase(), v = oe([u], i.value);
|
|
2560
|
+
o.value = v && g ? (/* @__PURE__ */ new Date()).getMonth() : (x = fe(r.value)) == null ? void 0 : x.value, a(o.value);
|
|
2564
2561
|
};
|
|
2565
|
-
return se([e, t], l),
|
|
2562
|
+
return se([e, t], l), go(e, () => {
|
|
2566
2563
|
l(), s();
|
|
2567
2564
|
}), {
|
|
2568
2565
|
months: r,
|
|
2569
2566
|
selectedMonth: o
|
|
2570
2567
|
};
|
|
2571
2568
|
}
|
|
2572
|
-
function
|
|
2569
|
+
function Vn(e) {
|
|
2573
2570
|
return e[0].toUpperCase() + e.slice(1);
|
|
2574
2571
|
}
|
|
2575
|
-
function
|
|
2572
|
+
function qn(e) {
|
|
2576
2573
|
return Me(({ name: a }) => ti(a, ["Negyeddöntő", "Elődöntő", "Döntő"]))(e);
|
|
2577
2574
|
}
|
|
2578
|
-
const
|
|
2575
|
+
const Wn = {
|
|
2579
2576
|
__name: "DataProvider",
|
|
2580
2577
|
props: {
|
|
2581
2578
|
championshipName: {
|
|
@@ -2632,7 +2629,7 @@ const Yn = {
|
|
|
2632
2629
|
selectedMonth: Number(a.selectedMonth) ?? null,
|
|
2633
2630
|
selectedTeam: Number(a.selectedTeam) || null,
|
|
2634
2631
|
selectedTeamGameType: a.selectedTeamGameType || "all"
|
|
2635
|
-
}), { timezone: o, mainElement: i, scrollOffset: l, scrollToGameDate: s } = va(t), { onError: g } =
|
|
2632
|
+
}), { timezone: o, mainElement: i, scrollOffset: l, scrollToGameDate: s } = va(t), { onError: g } = pe(), u = _(() => {
|
|
2636
2633
|
switch (r.selectedTeamGameType) {
|
|
2637
2634
|
case "all":
|
|
2638
2635
|
return [
|
|
@@ -2644,7 +2641,7 @@ const Yn = {
|
|
|
2644
2641
|
default:
|
|
2645
2642
|
return [["awayTeam", "id"]];
|
|
2646
2643
|
}
|
|
2647
|
-
}), { isLoading: v, execute:
|
|
2644
|
+
}), { isLoading: v, execute: f } = D({
|
|
2648
2645
|
options: {
|
|
2649
2646
|
path: "/v2/championship-seasons",
|
|
2650
2647
|
apiKey: t.apiKey,
|
|
@@ -2660,7 +2657,7 @@ const Yn = {
|
|
|
2660
2657
|
},
|
|
2661
2658
|
transform: (E) => fi(E, r),
|
|
2662
2659
|
onError: g
|
|
2663
|
-
}), { isLoading:
|
|
2660
|
+
}), { isLoading: x, execute: P } = D({
|
|
2664
2661
|
options: {
|
|
2665
2662
|
path: "/v2/championship-teams",
|
|
2666
2663
|
apiKey: t.apiKey,
|
|
@@ -2669,8 +2666,8 @@ const Yn = {
|
|
|
2669
2666
|
transform: (E) => yi(E, r),
|
|
2670
2667
|
onError: g
|
|
2671
2668
|
}), {
|
|
2672
|
-
isLoading:
|
|
2673
|
-
state:
|
|
2669
|
+
isLoading: A,
|
|
2670
|
+
state: z,
|
|
2674
2671
|
execute: L
|
|
2675
2672
|
} = D({
|
|
2676
2673
|
options: {
|
|
@@ -2680,19 +2677,19 @@ const Yn = {
|
|
|
2680
2677
|
},
|
|
2681
2678
|
transform: (E) => Ct(E),
|
|
2682
2679
|
onError: g
|
|
2683
|
-
}),
|
|
2680
|
+
}), y = Lt([m, v, x, A], { delay: 1e3 }), { months: S } = Bn(z, br(t, "locale"), (E) => {
|
|
2684
2681
|
r.selectedMonth = Number(a.selectedMonth) || E;
|
|
2685
2682
|
});
|
|
2686
|
-
|
|
2683
|
+
xr({ items: z, element: i, offset: l, enabled: s });
|
|
2687
2684
|
const { pause: T, resume: C } = bo(L, Xt, { immediate: !1 });
|
|
2688
|
-
|
|
2689
|
-
const H = _(() => Oe(n(
|
|
2685
|
+
kr(t.autoRefresh, C, T);
|
|
2686
|
+
const H = _(() => Oe(n(z)).filter(r.selectedTeam, u.value, !0).schedule(n(o), n(t.locale)).filter(r.subPhase, [["divisionStage2Name"]], !0).gameDateFilter(n(r.selectedMonth)).groupByDays().value()), j = _(() => {
|
|
2690
2687
|
const E = r.sections.find((Ue) => Ue.name === r.section);
|
|
2691
|
-
return
|
|
2688
|
+
return qn((E == null ? void 0 : E.phases) ?? []);
|
|
2692
2689
|
});
|
|
2693
|
-
te([
|
|
2690
|
+
te([f, p, P, L], {
|
|
2694
2691
|
onFinished: () => {
|
|
2695
|
-
t.autoRefresh &&
|
|
2692
|
+
t.autoRefresh && $a(C, Xt);
|
|
2696
2693
|
}
|
|
2697
2694
|
});
|
|
2698
2695
|
function ne(E) {
|
|
@@ -2716,7 +2713,7 @@ const Yn = {
|
|
|
2716
2713
|
return (E, Ue) => xe(E.$slots, "default", ke(_e({
|
|
2717
2714
|
...r,
|
|
2718
2715
|
months: n(S),
|
|
2719
|
-
isLoading: n(
|
|
2716
|
+
isLoading: n(y),
|
|
2720
2717
|
subPhases: j.value,
|
|
2721
2718
|
games: H.value,
|
|
2722
2719
|
changeSeason: ne,
|
|
@@ -2727,7 +2724,7 @@ const Yn = {
|
|
|
2727
2724
|
changeSubSection: ft
|
|
2728
2725
|
})));
|
|
2729
2726
|
}
|
|
2730
|
-
},
|
|
2727
|
+
}, Yn = {
|
|
2731
2728
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2732
2729
|
viewBox: "0 0 24 24",
|
|
2733
2730
|
fill: "none",
|
|
@@ -2736,9 +2733,9 @@ const Yn = {
|
|
|
2736
2733
|
"stroke-linecap": "round",
|
|
2737
2734
|
"stroke-linejoin": "round"
|
|
2738
2735
|
};
|
|
2739
|
-
function
|
|
2740
|
-
return
|
|
2741
|
-
|
|
2736
|
+
function Hn(e, t) {
|
|
2737
|
+
return c(), h("svg", Yn, t[0] || (t[0] = [
|
|
2738
|
+
d("rect", {
|
|
2742
2739
|
x: "2",
|
|
2743
2740
|
y: "3",
|
|
2744
2741
|
width: "20",
|
|
@@ -2746,13 +2743,13 @@ function Jn(e, t) {
|
|
|
2746
2743
|
rx: "2",
|
|
2747
2744
|
ry: "2"
|
|
2748
2745
|
}, null, -1),
|
|
2749
|
-
|
|
2746
|
+
d("line", {
|
|
2750
2747
|
x1: "8",
|
|
2751
2748
|
y1: "21",
|
|
2752
2749
|
x2: "16",
|
|
2753
2750
|
y2: "21"
|
|
2754
2751
|
}, null, -1),
|
|
2755
|
-
|
|
2752
|
+
d("line", {
|
|
2756
2753
|
x1: "12",
|
|
2757
2754
|
y1: "17",
|
|
2758
2755
|
x2: "12",
|
|
@@ -2760,7 +2757,7 @@ function Jn(e, t) {
|
|
|
2760
2757
|
}, null, -1)
|
|
2761
2758
|
]));
|
|
2762
2759
|
}
|
|
2763
|
-
const
|
|
2760
|
+
const Jn = { render: Hn }, Xn = {
|
|
2764
2761
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2765
2762
|
viewBox: "0 0 24 24",
|
|
2766
2763
|
fill: "none",
|
|
@@ -2769,37 +2766,37 @@ const Xn = { render: Jn }, Qn = {
|
|
|
2769
2766
|
"stroke-linecap": "round",
|
|
2770
2767
|
"stroke-linejoin": "round"
|
|
2771
2768
|
};
|
|
2772
|
-
function
|
|
2773
|
-
return
|
|
2774
|
-
|
|
2775
|
-
|
|
2769
|
+
function Qn(e, t) {
|
|
2770
|
+
return c(), h("svg", Xn, t[0] || (t[0] = [
|
|
2771
|
+
d("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),
|
|
2772
|
+
d("polygon", { points: "9.75 15.02 15.5 11.75 9.75 8.48 9.75 15.02" }, null, -1)
|
|
2776
2773
|
]));
|
|
2777
2774
|
}
|
|
2778
|
-
const
|
|
2775
|
+
const Zn = { render: Qn }, el = { class: "is-info is-text-base" }, tl = ["href"], al = { class: "is-home-team is-text-base" }, rl = { class: "is-team-name-short" }, ol = { class: "is-team-name-long" }, il = { class: "g-row" }, nl = {
|
|
2779
2776
|
key: 0,
|
|
2780
2777
|
class: "is-badge is-invert"
|
|
2781
|
-
},
|
|
2778
|
+
}, ll = {
|
|
2782
2779
|
key: 1,
|
|
2783
2780
|
class: "is-badge is-invert"
|
|
2784
|
-
},
|
|
2781
|
+
}, sl = {
|
|
2785
2782
|
key: 2,
|
|
2786
2783
|
class: "is-badge"
|
|
2787
|
-
},
|
|
2784
|
+
}, cl = ["href", "target"], dl = {
|
|
2788
2785
|
key: 0,
|
|
2789
2786
|
class: "is-text-xl is-text-bold"
|
|
2790
2787
|
}, gl = {
|
|
2791
2788
|
key: 1,
|
|
2792
2789
|
class: "is-text-xl is-text-bold"
|
|
2793
|
-
},
|
|
2790
|
+
}, pl = {
|
|
2794
2791
|
key: 2,
|
|
2795
2792
|
class: "is-text-xl is-text-bold"
|
|
2796
|
-
},
|
|
2793
|
+
}, ul = { key: 3 }, bl = {
|
|
2797
2794
|
key: 0,
|
|
2798
2795
|
class: "is-text-xs is-opacity-40"
|
|
2799
|
-
},
|
|
2796
|
+
}, ml = { class: "is-text-sm is-whitespace-nowrap" }, vl = {
|
|
2800
2797
|
key: 0,
|
|
2801
2798
|
class: "is-text-xs is-uppercase is-whitespace-nowrap"
|
|
2802
|
-
},
|
|
2799
|
+
}, hl = { class: "is-away-team is-text-base" }, fl = { class: "is-team-name-short" }, yl = { class: "is-team-name-long" }, wl = {
|
|
2803
2800
|
__name: "Item",
|
|
2804
2801
|
props: {
|
|
2805
2802
|
game: {
|
|
@@ -2821,85 +2818,89 @@ const el = { render: Zn }, tl = { class: "is-info is-text-base" }, al = ["href"]
|
|
|
2821
2818
|
},
|
|
2822
2819
|
setup(e) {
|
|
2823
2820
|
const { t } = Q();
|
|
2824
|
-
return (a, r) => (
|
|
2821
|
+
return (a, r) => (c(), h("div", {
|
|
2825
2822
|
class: G(["card-item", { "is-optional": e.game.optional }])
|
|
2826
2823
|
}, [
|
|
2827
|
-
|
|
2828
|
-
W(
|
|
2829
|
-
e.game.broadcast ? (
|
|
2824
|
+
d("div", el, [
|
|
2825
|
+
W(b(e.game.gameName) + " - " + b(e.game.divisionName) + " - " + b(e.game.location.locationName) + " ", 1),
|
|
2826
|
+
e.game.broadcast ? (c(), h(O, { key: 0 }, [
|
|
2830
2827
|
r[0] || (r[0] = W(" - ")),
|
|
2831
|
-
w(n(
|
|
2828
|
+
w(n(Jn), { height: "16" }),
|
|
2832
2829
|
r[1] || (r[1] = W(" "))
|
|
2833
2830
|
], 64)) : I("", !0),
|
|
2834
|
-
e.game.video ? (
|
|
2831
|
+
e.game.video ? (c(), h(O, { key: 1 }, [
|
|
2835
2832
|
r[2] || (r[2] = W(" - ")),
|
|
2836
|
-
|
|
2833
|
+
d("a", {
|
|
2837
2834
|
href: e.game.video,
|
|
2838
2835
|
target: "_blank"
|
|
2839
2836
|
}, [
|
|
2840
|
-
w(n(
|
|
2841
|
-
], 8,
|
|
2837
|
+
w(n(Zn), { height: "18" })
|
|
2838
|
+
], 8, tl)
|
|
2842
2839
|
], 64)) : I("", !0)
|
|
2843
2840
|
]),
|
|
2844
|
-
|
|
2845
|
-
|
|
2846
|
-
|
|
2847
|
-
|
|
2848
|
-
|
|
2849
|
-
|
|
2850
|
-
|
|
2851
|
-
|
|
2841
|
+
d("div", al, [
|
|
2842
|
+
e.game.homeTeam ? (c(), h(O, { key: 0 }, [
|
|
2843
|
+
d("span", rl, b(e.game.homeTeam.shortName), 1),
|
|
2844
|
+
d("span", ol, b(e.game.homeTeam.longName), 1),
|
|
2845
|
+
(c(), $(n(V), {
|
|
2846
|
+
key: e.game.homeTeam.id,
|
|
2847
|
+
class: "is-logo-image",
|
|
2848
|
+
src: e.game.homeTeam.logo
|
|
2849
|
+
}, null, 8, ["src"]))
|
|
2850
|
+
], 64)) : I("", !0)
|
|
2852
2851
|
]),
|
|
2853
|
-
|
|
2852
|
+
d("div", {
|
|
2854
2853
|
class: G(["is-game-data", [{ "is-live": e.game.gameStatus === 1 }]])
|
|
2855
2854
|
}, [
|
|
2856
|
-
|
|
2857
|
-
e.game.isOvertime ? (
|
|
2858
|
-
e.game.isShootout ? (
|
|
2859
|
-
e.game.seriesStandings ? (
|
|
2855
|
+
d("div", il, [
|
|
2856
|
+
e.game.isOvertime ? (c(), h("span", nl, b(n(t)("common.overtimeShort")), 1)) : I("", !0),
|
|
2857
|
+
e.game.isShootout ? (c(), h("span", ll, b(n(t)("common.shootoutShort")), 1)) : I("", !0),
|
|
2858
|
+
e.game.seriesStandings ? (c(), h("span", sl, b(e.game.seriesStandings), 1)) : I("", !0)
|
|
2860
2859
|
]),
|
|
2861
|
-
|
|
2860
|
+
d("a", {
|
|
2862
2861
|
href: e.gameLink(e.game),
|
|
2863
2862
|
target: e.target
|
|
2864
2863
|
}, [
|
|
2865
|
-
e.game.gameStatus > 0 && e.game.gameStatus < 3 ? (
|
|
2866
|
-
e.game.gameStatus === 3 ? (
|
|
2867
|
-
e.game.gameStatus === 4 ? (
|
|
2868
|
-
e.game.gameStatus === 0 ? (
|
|
2869
|
-
], 8,
|
|
2870
|
-
e.game.gameStatus === 0 ? (
|
|
2871
|
-
e.game.gameStatus > 0 ? (
|
|
2872
|
-
|
|
2873
|
-
e.game.gameStatus !== 2 ? (
|
|
2864
|
+
e.game.gameStatus > 0 && e.game.gameStatus < 3 ? (c(), h("span", dl, b(e.game.homeTeamScore) + " : " + b(e.game.awayTeamScore), 1)) : I("", !0),
|
|
2865
|
+
e.game.gameStatus === 3 ? (c(), h("span", gl, b(n(t)("game.status.jury")), 1)) : I("", !0),
|
|
2866
|
+
e.game.gameStatus === 4 ? (c(), h("span", pl, b(n(t)("game.status.delayed")), 1)) : I("", !0),
|
|
2867
|
+
e.game.gameStatus === 0 ? (c(), h("span", ul, b(e.game.gameDateTime), 1)) : I("", !0)
|
|
2868
|
+
], 8, cl),
|
|
2869
|
+
e.game.gameStatus === 0 ? (c(), h("span", bl, "(" + b(e.offsetName) + ")", 1)) : I("", !0),
|
|
2870
|
+
e.game.gameStatus > 0 ? (c(), h(O, { key: 1 }, [
|
|
2871
|
+
d("div", ml, b(e.game.periodResults), 1),
|
|
2872
|
+
e.game.gameStatus !== 2 ? (c(), h("div", vl, b(n(t)(`game.period.${e.game.period}`)), 1)) : I("", !0)
|
|
2874
2873
|
], 64)) : I("", !0)
|
|
2875
2874
|
], 2),
|
|
2876
|
-
|
|
2877
|
-
(
|
|
2878
|
-
|
|
2879
|
-
|
|
2880
|
-
|
|
2881
|
-
|
|
2882
|
-
|
|
2883
|
-
|
|
2875
|
+
d("div", hl, [
|
|
2876
|
+
e.game.awayTeam ? (c(), h(O, { key: 0 }, [
|
|
2877
|
+
(c(), $(n(V), {
|
|
2878
|
+
key: e.game.awayTeam.id,
|
|
2879
|
+
class: "is-logo-image",
|
|
2880
|
+
src: e.game.awayTeam.logo
|
|
2881
|
+
}, null, 8, ["src"])),
|
|
2882
|
+
d("span", fl, b(e.game.awayTeam.shortName), 1),
|
|
2883
|
+
d("span", yl, b(e.game.awayTeam.longName), 1)
|
|
2884
|
+
], 64)) : I("", !0)
|
|
2884
2885
|
])
|
|
2885
2886
|
], 2));
|
|
2886
2887
|
}
|
|
2887
|
-
},
|
|
2888
|
+
}, xl = {
|
|
2888
2889
|
class: "g-grid",
|
|
2889
2890
|
style: { "column-gap": "8px", "padding-block": "15px", "--columns-tablet": "repeat(4, max-content)" }
|
|
2890
|
-
},
|
|
2891
|
+
}, kl = {
|
|
2891
2892
|
for: "season",
|
|
2892
2893
|
class: "label"
|
|
2893
|
-
},
|
|
2894
|
+
}, _l = ["value"], zl = {
|
|
2894
2895
|
for: "months",
|
|
2895
2896
|
class: "label"
|
|
2896
|
-
},
|
|
2897
|
+
}, Sl = { value: null }, Tl = ["value"], Il = {
|
|
2897
2898
|
for: "teams",
|
|
2898
2899
|
class: "label"
|
|
2899
|
-
},
|
|
2900
|
+
}, Pl = { value: null }, Nl = ["value"], $l = {
|
|
2900
2901
|
for: "type",
|
|
2901
2902
|
class: "label"
|
|
2902
|
-
},
|
|
2903
|
+
}, Al = { value: "all" }, Ll = { value: "home" }, Cl = { value: "away" }, El = {
|
|
2903
2904
|
__name: "ScheduleSelector",
|
|
2904
2905
|
props: {
|
|
2905
2906
|
seasons: {
|
|
@@ -2938,80 +2939,80 @@ const el = { render: Zn }, tl = { class: "is-info is-text-base" }, al = ["href"]
|
|
|
2938
2939
|
"update:selectedTeamGameType"
|
|
2939
2940
|
],
|
|
2940
2941
|
setup(e, { emit: t }) {
|
|
2941
|
-
const a = e, r = t, { t: o } = Q(), { championshipId: i, selectedMonth: l, selectedTeam: s, selectedTeamGameType: g } =
|
|
2942
|
-
return (v,
|
|
2943
|
-
|
|
2944
|
-
|
|
2942
|
+
const a = e, r = t, { t: o } = Q(), { championshipId: i, selectedMonth: l, selectedTeam: s, selectedTeamGameType: g } = Ca(a, r), u = _(() => s.value === null);
|
|
2943
|
+
return (v, f) => (c(), h("div", xl, [
|
|
2944
|
+
d("div", null, [
|
|
2945
|
+
d("label", kl, b(n(o)("selection.season")), 1),
|
|
2945
2946
|
w(n(re), {
|
|
2946
2947
|
id: "season",
|
|
2947
2948
|
modelValue: n(i),
|
|
2948
|
-
"onUpdate:modelValue":
|
|
2949
|
+
"onUpdate:modelValue": f[0] || (f[0] = (m) => Ie(i) ? i.value = m : null)
|
|
2949
2950
|
}, {
|
|
2950
|
-
default:
|
|
2951
|
-
(
|
|
2951
|
+
default: k(() => [
|
|
2952
|
+
(c(!0), h(O, null, U(e.seasons, (m) => (c(), h("option", {
|
|
2952
2953
|
key: m.championshipId,
|
|
2953
2954
|
value: m.championshipId
|
|
2954
|
-
},
|
|
2955
|
+
}, b(m.seasonName), 9, _l))), 128))
|
|
2955
2956
|
]),
|
|
2956
2957
|
_: 1
|
|
2957
2958
|
}, 8, ["modelValue"])
|
|
2958
2959
|
]),
|
|
2959
|
-
|
|
2960
|
-
|
|
2960
|
+
d("div", null, [
|
|
2961
|
+
d("label", zl, b(n(o)("selection.month")), 1),
|
|
2961
2962
|
w(n(re), {
|
|
2962
2963
|
id: "months",
|
|
2963
2964
|
modelValue: n(l),
|
|
2964
|
-
"onUpdate:modelValue":
|
|
2965
|
+
"onUpdate:modelValue": f[1] || (f[1] = (m) => Ie(l) ? l.value = m : null)
|
|
2965
2966
|
}, {
|
|
2966
|
-
default:
|
|
2967
|
-
|
|
2968
|
-
(
|
|
2967
|
+
default: k(() => [
|
|
2968
|
+
d("option", Sl, b(n(o)("common.all")), 1),
|
|
2969
|
+
(c(!0), h(O, null, U(e.months, (m) => (c(), h("option", {
|
|
2969
2970
|
key: m.value,
|
|
2970
2971
|
value: m.value
|
|
2971
|
-
},
|
|
2972
|
+
}, b(m.name), 9, Tl))), 128))
|
|
2972
2973
|
]),
|
|
2973
2974
|
_: 1
|
|
2974
2975
|
}, 8, ["modelValue"])
|
|
2975
2976
|
]),
|
|
2976
|
-
|
|
2977
|
-
|
|
2977
|
+
d("div", null, [
|
|
2978
|
+
d("label", Il, b(n(o)("selection.teams")), 1),
|
|
2978
2979
|
w(n(re), {
|
|
2979
2980
|
id: "teams",
|
|
2980
2981
|
modelValue: n(s),
|
|
2981
|
-
"onUpdate:modelValue":
|
|
2982
|
+
"onUpdate:modelValue": f[2] || (f[2] = (m) => Ie(s) ? s.value = m : null)
|
|
2982
2983
|
}, {
|
|
2983
|
-
default:
|
|
2984
|
-
|
|
2985
|
-
(
|
|
2984
|
+
default: k(() => [
|
|
2985
|
+
d("option", Pl, b(n(o)("common.all")), 1),
|
|
2986
|
+
(c(!0), h(O, null, U(e.teams, (m) => (c(), h("option", {
|
|
2986
2987
|
key: m.teamId,
|
|
2987
2988
|
value: m.teamId
|
|
2988
|
-
},
|
|
2989
|
+
}, b(m.teamName), 9, Nl))), 128))
|
|
2989
2990
|
]),
|
|
2990
2991
|
_: 1
|
|
2991
2992
|
}, 8, ["modelValue"])
|
|
2992
2993
|
]),
|
|
2993
|
-
|
|
2994
|
-
|
|
2994
|
+
d("div", null, [
|
|
2995
|
+
d("label", $l, b(n(o)("selection.homeOrAway")), 1),
|
|
2995
2996
|
w(n(re), {
|
|
2996
2997
|
id: "type",
|
|
2997
2998
|
modelValue: n(g),
|
|
2998
|
-
"onUpdate:modelValue":
|
|
2999
|
-
disabled:
|
|
2999
|
+
"onUpdate:modelValue": f[3] || (f[3] = (m) => Ie(g) ? g.value = m : null),
|
|
3000
|
+
disabled: u.value
|
|
3000
3001
|
}, {
|
|
3001
|
-
default:
|
|
3002
|
-
|
|
3003
|
-
|
|
3004
|
-
|
|
3002
|
+
default: k(() => [
|
|
3003
|
+
d("option", Al, b(n(o)("common.all")), 1),
|
|
3004
|
+
d("option", Ll, b(n(o)("selection.home")), 1),
|
|
3005
|
+
d("option", Cl, b(n(o)("selection.away")), 1)
|
|
3005
3006
|
]),
|
|
3006
3007
|
_: 1
|
|
3007
3008
|
}, 8, ["modelValue", "disabled"])
|
|
3008
3009
|
])
|
|
3009
3010
|
]));
|
|
3010
3011
|
}
|
|
3011
|
-
},
|
|
3012
|
+
}, Ol = ".is-card{container-name:card-row;container-type:inline-size;background-color:#fff;padding:15px;margin-bottom:20px;box-shadow:0 2px 4px #0000001a,0 2px 2px #0000001a}.is-card>div{border-bottom:1px solid var(--vbr-widget-primary-color-100)}.is-card>div:last-of-type{border:none}.is-sticky{position:sticky;top:var(--vbr-widget-sticky-top-offset);z-index:10}.is-blured-bg{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.card-item{display:grid;grid-gap:1rem;grid-template-columns:2fr 1fr 2fr;padding:2rem 0;border-bottom:1px solid var(--vbr-widget-primary-color-100)}.card-item.is-optional{opacity:.4;transition:opacity .3s ease-out}.card-item.is-optional:hover{opacity:1}.card-item svg{display:block}.card-item .is-team-name-short{display:none}@container card-row (max-width: 640px){.card-item .is-team-name-long{display:none}.card-item .is-team-name-short{display:block}}.card-item .is-info{grid-column:1/4;display:flex;justify-content:center;align-items:center;color:var(--vbr-widget-primary-color-500)}.card-item .is-home-team{display:flex;gap:8px;align-items:center;justify-content:flex-end;font-weight:700}.card-item .is-away-team{display:flex;gap:8px;align-items:center;justify-content:flex-start;font-weight:700}.card-item .is-logo-image{width:40px}.card-item .is-game-data{display:flex;flex-direction:column;align-items:center;justify-content:center}.card-item .is-game-data a{display:flex;flex-direction:column;align-items:center;color:var(--vbr-widget-primary-color-900)}.card-item .is-game-data a:hover{color:var(--vbr-widget-primary-color-600)}.card-item .is-game-data.is-live,.card-item .is-game-data.is-live a{color:var(--vbr-widget-live-game-color)}.section-selector{margin:20px 0;border-bottom:1px solid var(--vbr-widget-primary-color-200)}.main-image-wrapper{--overlay-size: 160px;--overlay-radius: 50%;display:grid;grid-template-columns:1fr var(--overlay-size) 1fr;grid-template-rows:1fr 1fr 1fr calc(var(--overlay-size) / 2) calc(var(--overlay-size) / 2);margin-left:var(--vbr-widget-main-image-wrapper-horizontal-margin);margin-right:var(--vbr-widget-main-image-wrapper-horizontal-margin)}.main-image-wrapper:has(img.is-default){min-height:470px}.main-image-wrapper .is-main-image{grid-column:1/4;grid-row:1/5;display:flex;justify-content:center;align-items:center;background-color:var(--vbr-widget-primary-color-50);box-shadow:0 2px 4px #0003}.main-image-wrapper .is-main-image .is-default{filter:grayscale(1);opacity:.3;mix-blend-mode:multiply}.main-image-wrapper .is-main-image img:not(.is-default){width:100%}.main-image-wrapper .is-ovarlay-image{grid-row:4/-1;grid-column:2;justify-self:center;overflow:hidden;border-radius:var(--overlay-radius);z-index:1}.main-image-wrapper .is-ovarlay-image img{width:100%;aspect-ratio:1}", jl = ".is-text-right{text-align:right}.is-text-center{text-align:center}.is-text-bold{font-weight:700}.is-text-italic{font-style:italic}.is-text-xs{font-size:var(--vbr-widget-typography-font-size-200);line-height:var(--vbr-widget-typography-font-lineheight-200)}.is-text-sm{font-size:var(--vbr-widget-typography-font-size-400);line-height:var(--vbr-widget-typography-font-lineheight-200)}.is-text-base{font-size:var(--vbr-widget-typography-font-size-500);line-height:var(--vbr-widget-typography-font-lineheight-500)}.is-text-lg{font-size:var(--vbr-widget-typography-font-size-600);line-height:var(--vbr-widget-typography-font-lineheight-600)}.is-text-xl{font-size:var(--vbr-widget-typography-font-size-700);line-height:var(--vbr-widget-typography-font-lineheight-700)}.is-text-4xl{font-size:var(--vbr-widget-typography-font-size-950);line-height:var(--vbr-widget-typography-font-lineheight-950)}.is-uppercase{text-transform:uppercase}.is-opacity-20{opacity:.2}.is-opacity-30{opacity:.3}.is-opacity-40{opacity:.4}.is-opacity-50{opacity:.5}.is-mt-5{margin-top:1rem}.is-mb-5{margin-bottom:1rem}.is-whitespace-nowrap{white-space:nowrap}.is-heading-1{font-size:var(--vbr-widget-typography-heading-1-size);line-height:var(--vbr-widget-typography-font-lineheight-700);margin-block-start:var(--vbr-widget-typography-font-size-700);margin-block-end:calc(var(--vbr-widget-typography-font-size-700) / 2);font-weight:var(--vbr-widget-typography-heading-weight)}.is-heading-2{font-size:var(--vbr-widget-typography-heading-2-size);line-height:var(--vbr-widget-typography-font-lineheight-600);font-weight:var(--vbr-widget-typography-heading-weight);margin-block-start:var(--vbr-widget-typography-font-size-600);margin-block-end:calc(var(--vbr-widget-typography-font-size-600) / 2)}.is-heading-3{font-size:var(--vbr-widget-typography-heading-3-size);line-height:var(--vbr-widget-typography-font-lineheight-500);font-weight:var(--vbr-widget-typography-heading-weight);margin-block-start:var(--vbr-widget-typography-font-size-500);margin-block-end:calc(var(--vbr-widget-typography-font-size-500) / 2)}.is-rounded{overflow:hidden;border-radius:100%}.is-rounded+.is-rounded{margin-left:3px}.is-rounded img{display:block}.is-w-5{width:16px}.is-w-7{width:24px}.is-w-10{width:32px}", Rl = { class: "section-selector" }, Fl = ["onClick"], Gl = {
|
|
3012
3013
|
key: 0,
|
|
3013
3014
|
class: "toggle-group"
|
|
3014
|
-
},
|
|
3015
|
+
}, Ml = ["onClick"], Dl = ["onClick"], Kl = ["data-gamedate"], Ul = { class: "is-text-base" }, Bl = { class: "is-card" }, Vl = "/game/id/{gameId}", ql = {
|
|
3015
3016
|
__name: "ScheduleLiga.ce",
|
|
3016
3017
|
props: {
|
|
3017
3018
|
locale: {
|
|
@@ -3038,36 +3039,36 @@ const el = { render: Zn }, tl = { class: "is-info is-text-base" }, al = ["href"]
|
|
|
3038
3039
|
type: String,
|
|
3039
3040
|
default: "true"
|
|
3040
3041
|
},
|
|
3041
|
-
...
|
|
3042
|
+
...Pa
|
|
3042
3043
|
},
|
|
3043
3044
|
setup(e) {
|
|
3044
3045
|
const t = e, a = { en: ue, hu: be }, r = K(null), o = K(null), i = K(it()), l = _(() => Et(/* @__PURE__ */ new Date(), n(i), t.locale)), s = _(() => t.scrollToGameDate.toLowerCase() === "true"), g = _(() => {
|
|
3045
3046
|
var m;
|
|
3046
|
-
return ((m =
|
|
3047
|
+
return ((m = La(o)) == null ? void 0 : m.clientHeight) ?? 0;
|
|
3047
3048
|
});
|
|
3048
|
-
function
|
|
3049
|
+
function u(m) {
|
|
3049
3050
|
i.value = m;
|
|
3050
3051
|
}
|
|
3051
3052
|
function v(m) {
|
|
3052
|
-
return nt(t.externalGameResolver ||
|
|
3053
|
+
return nt(t.externalGameResolver || Vl, m);
|
|
3053
3054
|
}
|
|
3054
|
-
const
|
|
3055
|
-
return (m, p) => (
|
|
3055
|
+
const f = _(() => t.isGameTargetExternal ? "_blank" : "_self");
|
|
3056
|
+
return (m, p) => (c(), h("div", {
|
|
3056
3057
|
ref_key: "mainElement",
|
|
3057
3058
|
ref: r
|
|
3058
3059
|
}, [
|
|
3059
|
-
w(n(
|
|
3060
|
+
w(n(ge), {
|
|
3060
3061
|
locale: t.locale,
|
|
3061
3062
|
messages: a
|
|
3062
3063
|
}, {
|
|
3063
|
-
default:
|
|
3064
|
+
default: k(({ t: x }) => [
|
|
3064
3065
|
w(n(ze), null, {
|
|
3065
|
-
default:
|
|
3066
|
-
|
|
3066
|
+
default: k(({ error: P, hasError: A }) => [
|
|
3067
|
+
A ? (c(), $(n(Se), {
|
|
3067
3068
|
key: 0,
|
|
3068
3069
|
error: P
|
|
3069
3070
|
}, null, 8, ["error"])) : I("", !0),
|
|
3070
|
-
w(
|
|
3071
|
+
w(Wn, {
|
|
3071
3072
|
locale: e.locale,
|
|
3072
3073
|
timezone: i.value,
|
|
3073
3074
|
"championship-name": e.championshipName,
|
|
@@ -3076,10 +3077,10 @@ const el = { render: Zn }, tl = { class: "is-info is-text-base" }, al = ["href"]
|
|
|
3076
3077
|
"scroll-offset": g.value,
|
|
3077
3078
|
"scroll-to-game-date": s.value
|
|
3078
3079
|
}, {
|
|
3079
|
-
default:
|
|
3080
|
-
seasons:
|
|
3080
|
+
default: k(({
|
|
3081
|
+
seasons: z,
|
|
3081
3082
|
championshipId: L,
|
|
3082
|
-
sections:
|
|
3083
|
+
sections: y,
|
|
3083
3084
|
section: S,
|
|
3084
3085
|
teams: T,
|
|
3085
3086
|
games: C,
|
|
@@ -3093,15 +3094,15 @@ const el = { render: Zn }, tl = { class: "is-info is-text-base" }, al = ["href"]
|
|
|
3093
3094
|
changeSeason: wt,
|
|
3094
3095
|
changeMonth: E,
|
|
3095
3096
|
changeSection: Ue,
|
|
3096
|
-
changeTeam:
|
|
3097
|
-
changeTeamType:
|
|
3097
|
+
changeTeam: cr,
|
|
3098
|
+
changeTeamType: dr,
|
|
3098
3099
|
changeSubSection: Vt
|
|
3099
3100
|
}) => [
|
|
3100
|
-
w(
|
|
3101
|
+
w(El, {
|
|
3101
3102
|
ref_key: "selectorElement",
|
|
3102
3103
|
ref: o,
|
|
3103
3104
|
class: "is-sticky is-blured-bg",
|
|
3104
|
-
seasons:
|
|
3105
|
+
seasons: z,
|
|
3105
3106
|
"championship-id": L,
|
|
3106
3107
|
months: H,
|
|
3107
3108
|
"selected-month": le,
|
|
@@ -3110,49 +3111,49 @@ const el = { render: Zn }, tl = { class: "is-info is-text-base" }, al = ["href"]
|
|
|
3110
3111
|
"selected-team-game-type": yt,
|
|
3111
3112
|
"onUpdate:championshipId": wt,
|
|
3112
3113
|
"onUpdate:selectedMonth": E,
|
|
3113
|
-
"onUpdate:selectedTeam":
|
|
3114
|
-
"onUpdate:selectedTeamGameType":
|
|
3114
|
+
"onUpdate:selectedTeam": cr,
|
|
3115
|
+
"onUpdate:selectedTeamGameType": dr
|
|
3115
3116
|
}, null, 8, ["seasons", "championship-id", "months", "selected-month", "teams", "selected-team", "selected-team-game-type", "onUpdate:championshipId", "onUpdate:selectedMonth", "onUpdate:selectedTeam", "onUpdate:selectedTeamGameType"]),
|
|
3116
|
-
|
|
3117
|
-
(
|
|
3117
|
+
d("div", Rl, [
|
|
3118
|
+
(c(!0), h(O, null, U(y, (J) => (c(), h("button", {
|
|
3118
3119
|
key: J.id,
|
|
3119
3120
|
class: G(["tab-button", { "is-active": J.name === S }]),
|
|
3120
3121
|
onClick: (Le) => Ue(J.name)
|
|
3121
|
-
},
|
|
3122
|
+
}, b(J.name), 11, Fl))), 128))
|
|
3122
3123
|
]),
|
|
3123
|
-
ne.length > 1 ? (
|
|
3124
|
-
|
|
3124
|
+
ne.length > 1 ? (c(), h("div", Gl, [
|
|
3125
|
+
d("button", {
|
|
3125
3126
|
class: G({ "is-active": N === "" }),
|
|
3126
3127
|
onClick: (J) => Vt("")
|
|
3127
|
-
},
|
|
3128
|
-
(
|
|
3128
|
+
}, b(x("common.all")), 11, Ml),
|
|
3129
|
+
(c(!0), h(O, null, U(ne, ({ name: J }) => (c(), h("button", {
|
|
3129
3130
|
key: J,
|
|
3130
3131
|
class: G({ "is-active": J === N }),
|
|
3131
3132
|
onClick: (Le) => Vt(J)
|
|
3132
|
-
},
|
|
3133
|
+
}, b(J), 11, Dl))), 128))
|
|
3133
3134
|
])) : I("", !0),
|
|
3134
|
-
t.timezoneSelector ? (
|
|
3135
|
+
t.timezoneSelector ? (c(), $(n(yr), {
|
|
3135
3136
|
key: t.locale,
|
|
3136
3137
|
class: "is-mb-5",
|
|
3137
3138
|
locale: t.locale,
|
|
3138
3139
|
"current-zone": i.value,
|
|
3139
|
-
onChange:
|
|
3140
|
+
onChange: u
|
|
3140
3141
|
}, null, 8, ["locale", "current-zone"])) : I("", !0),
|
|
3141
|
-
j ? (
|
|
3142
|
+
j ? (c(), $(n(at), { key: 2 })) : (c(!0), h(O, { key: 3 }, U(C.rows, (J, Le) => (c(), h("div", {
|
|
3142
3143
|
key: Le,
|
|
3143
3144
|
"data-gamedate": Le
|
|
3144
3145
|
}, [
|
|
3145
|
-
|
|
3146
|
-
|
|
3147
|
-
(
|
|
3146
|
+
d("span", Ul, b(n(et)(new Date(Le), "L dddd", i.value, e.locale)), 1),
|
|
3147
|
+
d("div", Bl, [
|
|
3148
|
+
(c(!0), h(O, null, U(J, (qt) => (c(), $(wl, {
|
|
3148
3149
|
key: qt.id,
|
|
3149
3150
|
game: qt,
|
|
3150
3151
|
"offset-name": l.value,
|
|
3151
3152
|
"game-link": v,
|
|
3152
|
-
target:
|
|
3153
|
+
target: f.value
|
|
3153
3154
|
}, null, 8, ["game", "offset-name", "target"]))), 128))
|
|
3154
3155
|
])
|
|
3155
|
-
], 8,
|
|
3156
|
+
], 8, Kl))), 128))
|
|
3156
3157
|
]),
|
|
3157
3158
|
_: 2
|
|
3158
3159
|
}, 1032, ["locale", "timezone", "championship-name", "main-element", "auto-refresh", "scroll-offset", "scroll-to-game-date"])
|
|
@@ -3164,7 +3165,7 @@ const el = { render: Zn }, tl = { class: "is-info is-text-base" }, al = ["href"]
|
|
|
3164
3165
|
}, 8, ["locale"])
|
|
3165
3166
|
], 512));
|
|
3166
3167
|
}
|
|
3167
|
-
},
|
|
3168
|
+
}, Wl = /* @__PURE__ */ he(ql, [["styles", [ve, Ol, Kt, tr, jl]]]), Ye = "live", Tt = "default", Yl = 1e3 * 60 * 2, Hl = {
|
|
3168
3169
|
index: {
|
|
3169
3170
|
label: "table.blank",
|
|
3170
3171
|
class: "is-text-left"
|
|
@@ -3228,28 +3229,28 @@ const el = { render: Zn }, tl = { class: "is-info is-text-base" }, al = ["href"]
|
|
|
3228
3229
|
class: "is-text-bold"
|
|
3229
3230
|
}
|
|
3230
3231
|
};
|
|
3231
|
-
function
|
|
3232
|
-
const a = _(() => (n(t) || []).filter((l) => l.gameStatus === 1) || []), r = _(() => a.value.length > 0), o = _(() =>
|
|
3232
|
+
function Jl(e = [], t = []) {
|
|
3233
|
+
const a = _(() => (n(t) || []).filter((l) => l.gameStatus === 1) || []), r = _(() => a.value.length > 0), o = _(() => Xl(n(e) || [], a.value)), i = _(() => Zl(n(e) || [], o.value));
|
|
3233
3234
|
return {
|
|
3234
3235
|
isActive: r,
|
|
3235
3236
|
rows: i
|
|
3236
3237
|
};
|
|
3237
3238
|
}
|
|
3238
|
-
function
|
|
3239
|
+
function Xl(e = [], t = []) {
|
|
3239
3240
|
return qo(e).map((r) => {
|
|
3240
3241
|
const o = t.find((i) => i.homeTeam.id === r.team.id || i.awayTeam.id === r.team.id);
|
|
3241
3242
|
if (r.isActiveGame = !!o, o) {
|
|
3242
3243
|
const l = r.team.id === o.homeTeam.id ? [o.homeTeamScore, o.awayTeamScore] : [o.awayTeamScore, o.homeTeamScore];
|
|
3243
|
-
r.score = l.join(":"), r.scoreType =
|
|
3244
|
+
r.score = l.join(":"), r.scoreType = es(l), r.points = r.points + Ql(l, o), r.gf = r.gf + l[0], r.ga = r.ga + l[1], r.gd = r.gf - r.ga, r.gamesPlayed = r.gamesPlayed + 1, r.rowClasses = "is-highlighted";
|
|
3244
3245
|
}
|
|
3245
3246
|
return r;
|
|
3246
3247
|
});
|
|
3247
3248
|
}
|
|
3248
|
-
function
|
|
3249
|
+
function Ql(e, t) {
|
|
3249
3250
|
const a = t.isOvertime || t.isShootout;
|
|
3250
3251
|
return e[0] > e[1] ? a ? 2 : 3 : e[0] < e[1] ? a ? 1 : 0 : 1;
|
|
3251
3252
|
}
|
|
3252
|
-
function
|
|
3253
|
+
function Zl(e, t) {
|
|
3253
3254
|
const a = mi([
|
|
3254
3255
|
Pe(q("points")),
|
|
3255
3256
|
Mt(q("gamesPlayed")),
|
|
@@ -3262,10 +3263,10 @@ function es(e, t) {
|
|
|
3262
3263
|
return r.diff = o - i, r;
|
|
3263
3264
|
});
|
|
3264
3265
|
}
|
|
3265
|
-
function
|
|
3266
|
+
function es(e) {
|
|
3266
3267
|
return e[0] > e[1] ? "W" : e[0] < e[1] ? "L" : "D";
|
|
3267
3268
|
}
|
|
3268
|
-
const
|
|
3269
|
+
const ts = {
|
|
3269
3270
|
__name: "DataProvider",
|
|
3270
3271
|
props: {
|
|
3271
3272
|
championshipName: {
|
|
@@ -3290,7 +3291,7 @@ const as = {
|
|
|
3290
3291
|
sections: [],
|
|
3291
3292
|
section: a.section || null,
|
|
3292
3293
|
standingsType: Ye
|
|
3293
|
-
}), { onError: o } =
|
|
3294
|
+
}), { onError: o } = pe(), { sort: i, change: l } = At({
|
|
3294
3295
|
sortTarget: "",
|
|
3295
3296
|
orders: []
|
|
3296
3297
|
}), { isLoading: s, execute: g } = D({
|
|
@@ -3301,7 +3302,7 @@ const as = {
|
|
|
3301
3302
|
},
|
|
3302
3303
|
transform: (j) => ht(j, r),
|
|
3303
3304
|
onError: o
|
|
3304
|
-
}), { isLoading:
|
|
3305
|
+
}), { isLoading: u, execute: v } = D({
|
|
3305
3306
|
options: {
|
|
3306
3307
|
path: "/v2/championship-sections",
|
|
3307
3308
|
apiKey: t.apiKey,
|
|
@@ -3310,7 +3311,7 @@ const as = {
|
|
|
3310
3311
|
transform: (j) => hi(j, r),
|
|
3311
3312
|
onError: o
|
|
3312
3313
|
}), {
|
|
3313
|
-
isLoading:
|
|
3314
|
+
isLoading: f,
|
|
3314
3315
|
state: m,
|
|
3315
3316
|
execute: p
|
|
3316
3317
|
} = D({
|
|
@@ -3320,15 +3321,15 @@ const as = {
|
|
|
3320
3321
|
params: _(() => ({ championshipId: r.championshipId, division: r.section }))
|
|
3321
3322
|
},
|
|
3322
3323
|
onError: o
|
|
3323
|
-
}), { state:
|
|
3324
|
+
}), { state: x, execute: P } = D({
|
|
3324
3325
|
options: {
|
|
3325
3326
|
path: "/v2/games-list",
|
|
3326
3327
|
apiKey: t.apiKey,
|
|
3327
3328
|
params: _(() => ({ championshipId: r.championshipId, division: r.section }))
|
|
3328
3329
|
},
|
|
3329
3330
|
onError: o
|
|
3330
|
-
}), { isActive:
|
|
3331
|
-
te([g, v, p, P]), so(P,
|
|
3331
|
+
}), { isActive: A, rows: z } = Jl(m, x), L = _(() => [u.value, s.value, f.value].some(Boolean)), y = _(() => Oe(n(m)).teamName().sorted(i).addContinuousIndex().value()), S = _(() => Oe(n(z)).addContinuousIndex().value());
|
|
3332
|
+
te([g, v, p, P]), so(P, Yl);
|
|
3332
3333
|
function T(j) {
|
|
3333
3334
|
r.championshipId = j, a.championshipId = j, a.section = null, te([v, p]);
|
|
3334
3335
|
}
|
|
@@ -3342,8 +3343,8 @@ const as = {
|
|
|
3342
3343
|
...r,
|
|
3343
3344
|
sort: n(i),
|
|
3344
3345
|
isLoading: L.value,
|
|
3345
|
-
isLiveStandingsActive: n(
|
|
3346
|
-
teams:
|
|
3346
|
+
isLiveStandingsActive: n(A),
|
|
3347
|
+
teams: y.value,
|
|
3347
3348
|
liveRows: S.value,
|
|
3348
3349
|
onSort: n(l),
|
|
3349
3350
|
changeSeason: T,
|
|
@@ -3351,13 +3352,13 @@ const as = {
|
|
|
3351
3352
|
onChangeStandingsType: H
|
|
3352
3353
|
})));
|
|
3353
3354
|
}
|
|
3354
|
-
},
|
|
3355
|
+
}, as = {
|
|
3355
3356
|
class: "g-row",
|
|
3356
3357
|
style: { "column-gap": "8px", "padding-block-start": "15px" }
|
|
3357
|
-
},
|
|
3358
|
+
}, rs = {
|
|
3358
3359
|
for: "season",
|
|
3359
3360
|
class: "label"
|
|
3360
|
-
},
|
|
3361
|
+
}, os = ["value"], is = {
|
|
3361
3362
|
__name: "Selector",
|
|
3362
3363
|
props: {
|
|
3363
3364
|
seasons: {
|
|
@@ -3396,51 +3397,51 @@ const as = {
|
|
|
3396
3397
|
"update:selectedTeamGameType"
|
|
3397
3398
|
],
|
|
3398
3399
|
setup(e, { emit: t }) {
|
|
3399
|
-
const a = e, r = t, { t: o } = Q(), { championshipId: i } =
|
|
3400
|
-
return (l, s) => (
|
|
3401
|
-
|
|
3402
|
-
|
|
3400
|
+
const a = e, r = t, { t: o } = Q(), { championshipId: i } = Ca(a, r);
|
|
3401
|
+
return (l, s) => (c(), h("div", as, [
|
|
3402
|
+
d("div", null, [
|
|
3403
|
+
d("label", rs, b(n(o)("selection.season")), 1),
|
|
3403
3404
|
w(n(re), {
|
|
3404
3405
|
id: "season",
|
|
3405
3406
|
modelValue: n(i),
|
|
3406
3407
|
"onUpdate:modelValue": s[0] || (s[0] = (g) => Ie(i) ? i.value = g : null)
|
|
3407
3408
|
}, {
|
|
3408
|
-
default:
|
|
3409
|
-
(
|
|
3409
|
+
default: k(() => [
|
|
3410
|
+
(c(!0), h(O, null, U(e.seasons, (g) => (c(), h("option", {
|
|
3410
3411
|
key: g.championshipId,
|
|
3411
3412
|
value: g.championshipId
|
|
3412
|
-
},
|
|
3413
|
+
}, b(g.seasonName), 9, os))), 128))
|
|
3413
3414
|
]),
|
|
3414
3415
|
_: 1
|
|
3415
3416
|
}, 8, ["modelValue"])
|
|
3416
3417
|
])
|
|
3417
3418
|
]));
|
|
3418
3419
|
}
|
|
3419
|
-
},
|
|
3420
|
+
}, ns = {
|
|
3420
3421
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3421
3422
|
viewBox: "0 0 24 24"
|
|
3422
3423
|
};
|
|
3423
|
-
function
|
|
3424
|
-
return
|
|
3425
|
-
|
|
3424
|
+
function ls(e, t) {
|
|
3425
|
+
return c(), h("svg", ns, t[0] || (t[0] = [
|
|
3426
|
+
d("path", {
|
|
3426
3427
|
fill: "currentColor",
|
|
3427
3428
|
d: "M8.12 9.29 12 13.17l3.88-3.88a.996.996 0 1 1 1.41 1.41l-4.59 4.59a.996.996 0 0 1-1.41 0L6.7 10.7a.996.996 0 0 1 0-1.41c.39-.38 1.03-.39 1.42 0z"
|
|
3428
3429
|
}, null, -1)
|
|
3429
3430
|
]));
|
|
3430
3431
|
}
|
|
3431
|
-
const sa = { render:
|
|
3432
|
+
const sa = { render: ls }, ss = {
|
|
3432
3433
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3433
3434
|
viewBox: "0 0 24 24"
|
|
3434
3435
|
};
|
|
3435
|
-
function
|
|
3436
|
-
return
|
|
3437
|
-
|
|
3436
|
+
function cs(e, t) {
|
|
3437
|
+
return c(), h("svg", ss, t[0] || (t[0] = [
|
|
3438
|
+
d("path", {
|
|
3438
3439
|
fill: "currentColor",
|
|
3439
3440
|
d: "M8.12 14.71L12 10.83l3.88 3.88a.996.996 0 1 0 1.41-1.41L12.7 8.71a.996.996 0 0 0-1.41 0L6.7 13.3a.996.996 0 0 0 0 1.41c.39.38 1.03.39 1.42 0"
|
|
3440
3441
|
}, null, -1)
|
|
3441
3442
|
]));
|
|
3442
3443
|
}
|
|
3443
|
-
const ca = { render:
|
|
3444
|
+
const ca = { render: cs }, ds = ["href"], gs = { class: "is-team-name-long" }, ps = { class: "is-team-name-short" }, us = { class: "is-team-name-long" }, bs = { key: 0 }, ms = { class: "is-team-name-short" }, vs = { key: 0 }, da = {
|
|
3444
3445
|
__name: "StandingsTable",
|
|
3445
3446
|
props: {
|
|
3446
3447
|
columns: {
|
|
@@ -3500,7 +3501,7 @@ const ca = { render: ds }, ps = ["href"], gs = { class: "is-team-name-long" }, u
|
|
|
3500
3501
|
},
|
|
3501
3502
|
emits: ["sort"],
|
|
3502
3503
|
setup(e, { emit: t }) {
|
|
3503
|
-
const a = e, r = t, { columns: o, hideColumns: i } = va(a), { onError: l } =
|
|
3504
|
+
const a = e, r = t, { columns: o, hideColumns: i } = va(a), { onError: l } = pe(), { columns: s, error: g } = ee(
|
|
3504
3505
|
o,
|
|
3505
3506
|
i,
|
|
3506
3507
|
_(() => ({
|
|
@@ -3513,101 +3514,101 @@ const ca = { render: ds }, ps = ["href"], gs = { class: "is-team-name-long" }, u
|
|
|
3513
3514
|
cause: { column: g.value }
|
|
3514
3515
|
})
|
|
3515
3516
|
);
|
|
3516
|
-
const
|
|
3517
|
-
return (v,
|
|
3518
|
-
default:
|
|
3517
|
+
const u = (v) => r("sort", v);
|
|
3518
|
+
return (v, f) => (c(), $(n(ie), null, {
|
|
3519
|
+
default: k(({ el: m }) => [
|
|
3519
3520
|
w(n(ce), {
|
|
3520
3521
|
columns: n(s),
|
|
3521
3522
|
sort: a.sort,
|
|
3522
3523
|
rows: a.rows,
|
|
3523
3524
|
"is-loading": e.isLoading,
|
|
3524
3525
|
"append-to": e.appendTo || m,
|
|
3525
|
-
onSort:
|
|
3526
|
+
onSort: u
|
|
3526
3527
|
}, {
|
|
3527
|
-
"cell-index":
|
|
3528
|
-
|
|
3528
|
+
"cell-index": k(({ row: p }) => [
|
|
3529
|
+
d("span", {
|
|
3529
3530
|
class: G(p.indexClass)
|
|
3530
|
-
},
|
|
3531
|
+
}, b(p.index), 3)
|
|
3531
3532
|
]),
|
|
3532
|
-
"cell-teamLogo":
|
|
3533
|
-
var
|
|
3533
|
+
"cell-teamLogo": k(({ row: p }) => {
|
|
3534
|
+
var x, P;
|
|
3534
3535
|
return [
|
|
3535
|
-
(
|
|
3536
|
-
key: ((
|
|
3536
|
+
(c(), $(n(V), {
|
|
3537
|
+
key: ((x = p.team) == null ? void 0 : x.id) ?? p.id,
|
|
3537
3538
|
class: "is-logo-image",
|
|
3538
3539
|
src: (P = p.team) == null ? void 0 : P.logo
|
|
3539
3540
|
}, null, 8, ["src"]))
|
|
3540
3541
|
];
|
|
3541
3542
|
}),
|
|
3542
|
-
"cell-teamName":
|
|
3543
|
-
var
|
|
3543
|
+
"cell-teamName": k(({ row: p }) => {
|
|
3544
|
+
var x, P, A, z, L;
|
|
3544
3545
|
return [
|
|
3545
|
-
e.isTeamLinked ? (
|
|
3546
|
+
e.isTeamLinked ? (c(), h("a", {
|
|
3546
3547
|
key: 0,
|
|
3547
|
-
href: e.externalTeamResolver((
|
|
3548
|
+
href: e.externalTeamResolver((x = p.team) == null ? void 0 : x.longName),
|
|
3548
3549
|
target: "_blank"
|
|
3549
3550
|
}, [
|
|
3550
|
-
|
|
3551
|
-
|
|
3552
|
-
p.isActiveGame && p.diff !== 0 ? (
|
|
3553
|
-
p.diff > 0 ? (
|
|
3551
|
+
d("span", gs, b((P = p.team) == null ? void 0 : P.longName), 1),
|
|
3552
|
+
d("span", ps, b((A = p.team) == null ? void 0 : A.shortName), 1),
|
|
3553
|
+
p.isActiveGame && p.diff !== 0 ? (c(), h(O, { key: 0 }, [
|
|
3554
|
+
p.diff > 0 ? (c(), $(n(ca), {
|
|
3554
3555
|
key: 0,
|
|
3555
3556
|
width: "12",
|
|
3556
3557
|
height: "12",
|
|
3557
3558
|
class: "is-text-positive"
|
|
3558
3559
|
})) : I("", !0),
|
|
3559
|
-
p.diff < 0 ? (
|
|
3560
|
+
p.diff < 0 ? (c(), $(n(sa), {
|
|
3560
3561
|
key: 1,
|
|
3561
3562
|
width: "12",
|
|
3562
3563
|
height: "12",
|
|
3563
3564
|
class: "is-text-negative"
|
|
3564
3565
|
})) : I("", !0),
|
|
3565
|
-
|
|
3566
|
+
d("span", {
|
|
3566
3567
|
class: G({ "is-text-positive": p.diff > 0, "is-text-negative": p.diff < 0 })
|
|
3567
|
-
},
|
|
3568
|
+
}, b(p.diff), 3)
|
|
3568
3569
|
], 64)) : I("", !0)
|
|
3569
|
-
], 8,
|
|
3570
|
-
|
|
3571
|
-
W(
|
|
3572
|
-
p.penaltyPoints ? (
|
|
3573
|
-
|
|
3570
|
+
], 8, ds)) : (c(), h(O, { key: 1 }, [
|
|
3571
|
+
d("span", us, [
|
|
3572
|
+
W(b((z = p.team) == null ? void 0 : z.longName) + " ", 1),
|
|
3573
|
+
p.penaltyPoints ? (c(), h("span", bs, f[0] || (f[0] = [
|
|
3574
|
+
d("sup", null, "*", -1)
|
|
3574
3575
|
]))) : I("", !0)
|
|
3575
3576
|
]),
|
|
3576
|
-
|
|
3577
|
-
W(
|
|
3578
|
-
p.penaltyPoints ? (
|
|
3579
|
-
|
|
3577
|
+
d("span", ms, [
|
|
3578
|
+
W(b((L = p.team) == null ? void 0 : L.shortName) + " ", 1),
|
|
3579
|
+
p.penaltyPoints ? (c(), h("span", vs, f[1] || (f[1] = [
|
|
3580
|
+
d("sup", null, "*", -1)
|
|
3580
3581
|
]))) : I("", !0)
|
|
3581
3582
|
]),
|
|
3582
|
-
p.isActiveGame && p.diff !== 0 ? (
|
|
3583
|
-
p.diff > 0 ? (
|
|
3583
|
+
p.isActiveGame && p.diff !== 0 ? (c(), h(O, { key: 0 }, [
|
|
3584
|
+
p.diff > 0 ? (c(), $(n(ca), {
|
|
3584
3585
|
key: 0,
|
|
3585
3586
|
width: "12",
|
|
3586
3587
|
height: "12",
|
|
3587
3588
|
class: "is-text-positive"
|
|
3588
3589
|
})) : I("", !0),
|
|
3589
|
-
p.diff < 0 ? (
|
|
3590
|
+
p.diff < 0 ? (c(), $(n(sa), {
|
|
3590
3591
|
key: 1,
|
|
3591
3592
|
width: "12",
|
|
3592
3593
|
height: "12",
|
|
3593
3594
|
class: "is-text-negative"
|
|
3594
3595
|
})) : I("", !0),
|
|
3595
|
-
|
|
3596
|
+
d("span", {
|
|
3596
3597
|
class: G({ "is-text-positive": p.diff > 0, "is-text-negative": p.diff < 0 })
|
|
3597
|
-
},
|
|
3598
|
+
}, b(p.diff), 3)
|
|
3598
3599
|
], 64)) : I("", !0)
|
|
3599
3600
|
], 64))
|
|
3600
3601
|
];
|
|
3601
3602
|
}),
|
|
3602
|
-
"cell-score":
|
|
3603
|
-
p.isActiveGame ? (
|
|
3603
|
+
"cell-score": k(({ row: p }) => [
|
|
3604
|
+
p.isActiveGame ? (c(), h("span", {
|
|
3604
3605
|
key: 0,
|
|
3605
3606
|
class: G(["is-badge is-large", [
|
|
3606
3607
|
{ "is-green": p.scoreType === "W", "is-red": p.scoreType === "L", "is-yellow": p.scoreType === "D" }
|
|
3607
3608
|
]])
|
|
3608
|
-
},
|
|
3609
|
+
}, b(p.score), 3)) : I("", !0)
|
|
3609
3610
|
]),
|
|
3610
|
-
loading:
|
|
3611
|
+
loading: k(() => [
|
|
3611
3612
|
w(n(at))
|
|
3612
3613
|
]),
|
|
3613
3614
|
_: 2
|
|
@@ -3616,10 +3617,10 @@ const ca = { render: ds }, ps = ["href"], gs = { class: "is-team-name-long" }, u
|
|
|
3616
3617
|
_: 1
|
|
3617
3618
|
}));
|
|
3618
3619
|
}
|
|
3619
|
-
},
|
|
3620
|
+
}, hs = ".table-responsive{container-name:table-wrapper;container-type:inline-size;width:100%;overflow-x:auto}.table-responsive table{width:100%}", fs = { class: "section-selector" }, ys = ["onClick"], ws = {
|
|
3620
3621
|
key: 0,
|
|
3621
3622
|
class: "toggle-group"
|
|
3622
|
-
},
|
|
3623
|
+
}, xs = ["onClick"], ks = ["onClick"], _s = {
|
|
3623
3624
|
__name: "StandingsLiga.ce",
|
|
3624
3625
|
props: {
|
|
3625
3626
|
locale: {
|
|
@@ -3641,90 +3642,90 @@ const ca = { render: ds }, ps = ["href"], gs = { class: "is-team-name-long" }, u
|
|
|
3641
3642
|
},
|
|
3642
3643
|
setup(e) {
|
|
3643
3644
|
const t = e, a = { en: ue, hu: be }, r = K(null), o = (i) => st(t.externalTeamResolver, i);
|
|
3644
|
-
return (i, l) => (
|
|
3645
|
-
w(n(
|
|
3645
|
+
return (i, l) => (c(), h("div", null, [
|
|
3646
|
+
w(n(ge), {
|
|
3646
3647
|
locale: t.locale,
|
|
3647
3648
|
messages: a
|
|
3648
3649
|
}, {
|
|
3649
|
-
default:
|
|
3650
|
+
default: k(({ t: s }) => [
|
|
3650
3651
|
w(n(ze), null, {
|
|
3651
|
-
default:
|
|
3652
|
-
|
|
3652
|
+
default: k(({ error: g, hasError: u }) => [
|
|
3653
|
+
u ? (c(), $(n(Se), {
|
|
3653
3654
|
key: 0,
|
|
3654
3655
|
error: g
|
|
3655
3656
|
}, null, 8, ["error"])) : I("", !0),
|
|
3656
|
-
w(
|
|
3657
|
+
w(ts, {
|
|
3657
3658
|
locale: e.locale,
|
|
3658
3659
|
"championship-name": e.championshipName
|
|
3659
3660
|
}, {
|
|
3660
|
-
default:
|
|
3661
|
+
default: k(({
|
|
3661
3662
|
sort: v,
|
|
3662
|
-
teams:
|
|
3663
|
+
teams: f,
|
|
3663
3664
|
seasons: m,
|
|
3664
3665
|
section: p,
|
|
3665
|
-
sections:
|
|
3666
|
+
sections: x,
|
|
3666
3667
|
liveRows: P,
|
|
3667
|
-
isLoading:
|
|
3668
|
-
standingsType:
|
|
3668
|
+
isLoading: A,
|
|
3669
|
+
standingsType: z,
|
|
3669
3670
|
championshipId: L,
|
|
3670
|
-
isLiveStandingsActive:
|
|
3671
|
+
isLiveStandingsActive: y,
|
|
3671
3672
|
onSort: S,
|
|
3672
3673
|
changeSeason: T,
|
|
3673
3674
|
changeSection: C,
|
|
3674
3675
|
onChangeStandingsType: H
|
|
3675
3676
|
}) => [
|
|
3676
|
-
w(
|
|
3677
|
+
w(is, {
|
|
3677
3678
|
seasons: m,
|
|
3678
3679
|
"championship-id": L,
|
|
3679
3680
|
"onUpdate:championshipId": T
|
|
3680
3681
|
}, null, 8, ["seasons", "championship-id", "onUpdate:championshipId"]),
|
|
3681
|
-
|
|
3682
|
-
(
|
|
3682
|
+
d("div", fs, [
|
|
3683
|
+
(c(!0), h(O, null, U(x, (j) => (c(), h("button", {
|
|
3683
3684
|
key: j.phaseId,
|
|
3684
3685
|
class: G(["tab-button", { "is-active": j.phaseName === p }]),
|
|
3685
3686
|
onClick: (ne) => C(j.phaseName)
|
|
3686
|
-
},
|
|
3687
|
+
}, b(j.phaseName), 11, ys))), 128))
|
|
3687
3688
|
]),
|
|
3688
|
-
|
|
3689
|
-
|
|
3690
|
-
class: G({ "is-active":
|
|
3689
|
+
y ? (c(), h("div", ws, [
|
|
3690
|
+
d("button", {
|
|
3691
|
+
class: G({ "is-active": z === n(Ye) }),
|
|
3691
3692
|
onClick: (j) => H(n(Ye))
|
|
3692
|
-
},
|
|
3693
|
-
|
|
3694
|
-
class: G({ "is-active":
|
|
3693
|
+
}, b(s("standings.live")), 11, xs),
|
|
3694
|
+
d("button", {
|
|
3695
|
+
class: G({ "is-active": z === n(Tt) }),
|
|
3695
3696
|
onClick: (j) => H(n(Tt))
|
|
3696
|
-
},
|
|
3697
|
+
}, b(s("standings.default")), 11, ks)
|
|
3697
3698
|
])) : I("", !0),
|
|
3698
|
-
|
|
3699
|
+
z === n(Ye) && y ? (c(), $(da, {
|
|
3699
3700
|
key: 1,
|
|
3700
3701
|
rows: P.rows,
|
|
3701
|
-
columns: n(
|
|
3702
|
+
columns: n(Hl),
|
|
3702
3703
|
"external-team-resolver": o,
|
|
3703
|
-
"is-loading":
|
|
3704
|
+
"is-loading": A,
|
|
3704
3705
|
"append-to": r.value
|
|
3705
3706
|
}, null, 8, ["rows", "columns", "is-loading", "append-to"])) : I("", !0),
|
|
3706
|
-
|
|
3707
|
+
z === n(Tt) || !y ? (c(), $(da, {
|
|
3707
3708
|
key: 2,
|
|
3708
|
-
rows:
|
|
3709
|
+
rows: f.rows,
|
|
3709
3710
|
columns: n(Ar),
|
|
3710
3711
|
sort: v,
|
|
3711
3712
|
"external-team-resolver": o,
|
|
3712
3713
|
"append-to": r.value,
|
|
3713
|
-
"is-loading":
|
|
3714
|
+
"is-loading": A,
|
|
3714
3715
|
onSort: S
|
|
3715
3716
|
}, null, 8, ["rows", "columns", "sort", "append-to", "is-loading", "onSort"])) : I("", !0),
|
|
3716
3717
|
w(n(Yt), {
|
|
3717
|
-
rows:
|
|
3718
|
+
rows: f.rows,
|
|
3718
3719
|
"additional-key": "inheritedPoints"
|
|
3719
3720
|
}, null, 8, ["rows"]),
|
|
3720
3721
|
w(n(Yt), {
|
|
3721
|
-
rows:
|
|
3722
|
+
rows: f.rows,
|
|
3722
3723
|
"additional-key": "penaltyPoints"
|
|
3723
3724
|
}, null, 8, ["rows"])
|
|
3724
3725
|
]),
|
|
3725
3726
|
_: 2
|
|
3726
3727
|
}, 1032, ["locale", "championship-name"]),
|
|
3727
|
-
|
|
3728
|
+
d("div", {
|
|
3728
3729
|
ref_key: "tooltipContainer",
|
|
3729
3730
|
ref: r
|
|
3730
3731
|
}, null, 512)
|
|
@@ -3736,7 +3737,7 @@ const ca = { render: ds }, ps = ["href"], gs = { class: "is-team-name-long" }, u
|
|
|
3736
3737
|
}, 8, ["locale"])
|
|
3737
3738
|
]));
|
|
3738
3739
|
}
|
|
3739
|
-
},
|
|
3740
|
+
}, zs = /* @__PURE__ */ he(_s, [["styles", [ve, Ke, Ut, lr, Bt, or, hs]]]), De = "players", ga = "teams", pa = (/* @__PURE__ */ new Map()).set("points", {
|
|
3740
3741
|
api: "/v2/players-stats",
|
|
3741
3742
|
columns: Ve,
|
|
3742
3743
|
sort: {
|
|
@@ -3836,7 +3837,7 @@ const ca = { render: ds }, ps = ["href"], gs = { class: "is-team-name-long" }, u
|
|
|
3836
3837
|
orders: [{ target: "sp", direction: B }]
|
|
3837
3838
|
}
|
|
3838
3839
|
});
|
|
3839
|
-
function
|
|
3840
|
+
function Ss(e) {
|
|
3840
3841
|
return [
|
|
3841
3842
|
{
|
|
3842
3843
|
name: e("report.points"),
|
|
@@ -3872,7 +3873,7 @@ function Ts(e) {
|
|
|
3872
3873
|
}
|
|
3873
3874
|
];
|
|
3874
3875
|
}
|
|
3875
|
-
function
|
|
3876
|
+
function Ts(e) {
|
|
3876
3877
|
return [
|
|
3877
3878
|
{
|
|
3878
3879
|
name: e("report.teamAttendance"),
|
|
@@ -3896,32 +3897,32 @@ function Is(e) {
|
|
|
3896
3897
|
}
|
|
3897
3898
|
];
|
|
3898
3899
|
}
|
|
3899
|
-
function
|
|
3900
|
+
function Is(e) {
|
|
3900
3901
|
return ae(vt(Pe(q("championshipId"))), me(oe(["championshipId", "seasonName"])))(e);
|
|
3901
3902
|
}
|
|
3902
|
-
const
|
|
3903
|
-
function
|
|
3903
|
+
const Ps = (e) => vt(Mt(q("teamName")), e);
|
|
3904
|
+
function Ns(e) {
|
|
3904
3905
|
return e.report ? e.report : e.type ? e.type === De ? "points" : "teamAttandance" : "points";
|
|
3905
3906
|
}
|
|
3906
|
-
const
|
|
3907
|
+
const $s = {
|
|
3907
3908
|
class: "g-row is-mb-5",
|
|
3908
3909
|
style: { "flex-wrap": "wrap", gap: "20px", margin: "20px 0" }
|
|
3909
|
-
},
|
|
3910
|
+
}, As = {
|
|
3910
3911
|
for: "season",
|
|
3911
3912
|
class: "label"
|
|
3912
|
-
},
|
|
3913
|
+
}, Ls = ["value"], Cs = {
|
|
3913
3914
|
for: "section",
|
|
3914
3915
|
class: "label"
|
|
3915
|
-
},
|
|
3916
|
+
}, Es = ["value"], Os = {
|
|
3916
3917
|
for: "report",
|
|
3917
3918
|
class: "label"
|
|
3918
|
-
},
|
|
3919
|
+
}, js = ["value"], Rs = {
|
|
3919
3920
|
for: "teams",
|
|
3920
3921
|
class: "label"
|
|
3921
|
-
},
|
|
3922
|
+
}, Fs = { value: null }, Gs = ["value"], Ms = {
|
|
3922
3923
|
for: "player",
|
|
3923
3924
|
class: "label"
|
|
3924
|
-
},
|
|
3925
|
+
}, Ds = ["disabled"], Ks = {
|
|
3925
3926
|
__name: "StatisticSelector",
|
|
3926
3927
|
props: {
|
|
3927
3928
|
seasons: {
|
|
@@ -3976,121 +3977,121 @@ const As = {
|
|
|
3976
3977
|
setup(e, { emit: t }) {
|
|
3977
3978
|
const a = e, r = t, { t: o } = Q(), i = _({
|
|
3978
3979
|
get: () => a.championshipId,
|
|
3979
|
-
set: (
|
|
3980
|
+
set: (f) => r("onSeasonChange", f)
|
|
3980
3981
|
}), l = _({
|
|
3981
3982
|
get: () => a.phaseId,
|
|
3982
|
-
set: (
|
|
3983
|
+
set: (f) => r("onSectionChange", f)
|
|
3983
3984
|
}), s = _({
|
|
3984
3985
|
get: () => a.currentReport,
|
|
3985
|
-
set: (
|
|
3986
|
+
set: (f) => r("onReportChange", f)
|
|
3986
3987
|
}), g = _({
|
|
3987
3988
|
get: () => a.teamFilter,
|
|
3988
|
-
set: (
|
|
3989
|
-
}),
|
|
3989
|
+
set: (f) => r("onTeamChange", f)
|
|
3990
|
+
}), u = _({
|
|
3990
3991
|
get: () => a.playerFilter,
|
|
3991
|
-
set: (
|
|
3992
|
+
set: (f) => r("onPlayerInput", f)
|
|
3992
3993
|
});
|
|
3993
|
-
function v(
|
|
3994
|
-
r("onStatTypeChange",
|
|
3994
|
+
function v(f) {
|
|
3995
|
+
r("onStatTypeChange", f);
|
|
3995
3996
|
}
|
|
3996
|
-
return (
|
|
3997
|
-
|
|
3998
|
-
|
|
3999
|
-
|
|
3997
|
+
return (f, m) => (c(), h(O, null, [
|
|
3998
|
+
d("div", $s, [
|
|
3999
|
+
d("div", null, [
|
|
4000
|
+
d("label", As, b(n(o)("selection.season")), 1),
|
|
4000
4001
|
w(n(re), {
|
|
4001
4002
|
id: "season",
|
|
4002
4003
|
modelValue: i.value,
|
|
4003
4004
|
"onUpdate:modelValue": m[0] || (m[0] = (p) => i.value = p)
|
|
4004
4005
|
}, {
|
|
4005
|
-
default:
|
|
4006
|
-
(
|
|
4006
|
+
default: k(() => [
|
|
4007
|
+
(c(!0), h(O, null, U(e.seasons, (p) => (c(), h("option", {
|
|
4007
4008
|
key: p.championshipId,
|
|
4008
4009
|
value: p.championshipId
|
|
4009
|
-
},
|
|
4010
|
+
}, b(p.seasonName), 9, Ls))), 128))
|
|
4010
4011
|
]),
|
|
4011
4012
|
_: 1
|
|
4012
4013
|
}, 8, ["modelValue"])
|
|
4013
4014
|
]),
|
|
4014
|
-
|
|
4015
|
-
|
|
4015
|
+
d("div", null, [
|
|
4016
|
+
d("label", Cs, b(n(o)("selection.section")), 1),
|
|
4016
4017
|
w(n(re), {
|
|
4017
4018
|
id: "section",
|
|
4018
4019
|
modelValue: l.value,
|
|
4019
4020
|
"onUpdate:modelValue": m[1] || (m[1] = (p) => l.value = p)
|
|
4020
4021
|
}, {
|
|
4021
|
-
default:
|
|
4022
|
-
(
|
|
4022
|
+
default: k(() => [
|
|
4023
|
+
(c(!0), h(O, null, U(e.sections, (p) => (c(), h("option", {
|
|
4023
4024
|
key: p.phaseId,
|
|
4024
4025
|
value: p.phaseId
|
|
4025
|
-
},
|
|
4026
|
+
}, b(p.phaseName), 9, Es))), 128))
|
|
4026
4027
|
]),
|
|
4027
4028
|
_: 1
|
|
4028
4029
|
}, 8, ["modelValue"])
|
|
4029
4030
|
]),
|
|
4030
|
-
|
|
4031
|
-
|
|
4031
|
+
d("div", null, [
|
|
4032
|
+
d("label", Os, b(n(o)("selection.report")), 1),
|
|
4032
4033
|
w(n(re), {
|
|
4033
4034
|
id: "report",
|
|
4034
4035
|
modelValue: s.value,
|
|
4035
4036
|
"onUpdate:modelValue": m[2] || (m[2] = (p) => s.value = p)
|
|
4036
4037
|
}, {
|
|
4037
|
-
default:
|
|
4038
|
-
(
|
|
4039
|
-
key:
|
|
4040
|
-
value:
|
|
4041
|
-
},
|
|
4038
|
+
default: k(() => [
|
|
4039
|
+
(c(!0), h(O, null, U(e.reports, ({ name: p, value: x }) => (c(), h("option", {
|
|
4040
|
+
key: x,
|
|
4041
|
+
value: x
|
|
4042
|
+
}, b(p), 9, js))), 128))
|
|
4042
4043
|
]),
|
|
4043
4044
|
_: 1
|
|
4044
4045
|
}, 8, ["modelValue"])
|
|
4045
4046
|
]),
|
|
4046
|
-
e.reportType === "players" ? (
|
|
4047
|
-
|
|
4048
|
-
|
|
4047
|
+
e.reportType === "players" ? (c(), h(O, { key: 0 }, [
|
|
4048
|
+
d("div", null, [
|
|
4049
|
+
d("label", Rs, b(n(o)("selection.teams")), 1),
|
|
4049
4050
|
w(n(re), {
|
|
4050
4051
|
id: "teams",
|
|
4051
4052
|
modelValue: g.value,
|
|
4052
4053
|
"onUpdate:modelValue": m[3] || (m[3] = (p) => g.value = p),
|
|
4053
4054
|
disabled: e.reportType !== "players"
|
|
4054
4055
|
}, {
|
|
4055
|
-
default:
|
|
4056
|
-
|
|
4057
|
-
(
|
|
4056
|
+
default: k(() => [
|
|
4057
|
+
d("option", Fs, b(n(o)("common.all")), 1),
|
|
4058
|
+
(c(!0), h(O, null, U(e.teams, ({ teamId: p, teamName: x }) => (c(), h("option", {
|
|
4058
4059
|
key: p,
|
|
4059
4060
|
value: p
|
|
4060
|
-
},
|
|
4061
|
+
}, b(x), 9, Gs))), 128))
|
|
4061
4062
|
]),
|
|
4062
4063
|
_: 1
|
|
4063
4064
|
}, 8, ["modelValue", "disabled"])
|
|
4064
4065
|
]),
|
|
4065
|
-
|
|
4066
|
-
|
|
4067
|
-
|
|
4066
|
+
d("div", null, [
|
|
4067
|
+
d("label", Ms, b(n(o)("selection.filterName")), 1),
|
|
4068
|
+
mr(d("input", {
|
|
4068
4069
|
id: "player",
|
|
4069
|
-
"onUpdate:modelValue": m[4] || (m[4] = (p) =>
|
|
4070
|
+
"onUpdate:modelValue": m[4] || (m[4] = (p) => u.value = p),
|
|
4070
4071
|
type: "text",
|
|
4071
4072
|
class: "base-input",
|
|
4072
4073
|
disabled: e.reportType !== "players"
|
|
4073
|
-
}, null, 8,
|
|
4074
|
-
[
|
|
4074
|
+
}, null, 8, Ds), [
|
|
4075
|
+
[vr, u.value]
|
|
4075
4076
|
])
|
|
4076
4077
|
])
|
|
4077
4078
|
], 64)) : I("", !0)
|
|
4078
4079
|
]),
|
|
4079
|
-
|
|
4080
|
-
|
|
4080
|
+
d("div", null, [
|
|
4081
|
+
d("button", {
|
|
4081
4082
|
type: "button",
|
|
4082
4083
|
class: G(["tab-button", { "is-active": e.reportType === n(De) }]),
|
|
4083
4084
|
onClick: m[5] || (m[5] = (p) => v(n(De)))
|
|
4084
|
-
},
|
|
4085
|
-
|
|
4085
|
+
}, b(n(o)("selection.players")), 3),
|
|
4086
|
+
d("button", {
|
|
4086
4087
|
type: "button",
|
|
4087
|
-
class: G(["tab-button", { "is-active": e.reportType === n(
|
|
4088
|
-
onClick: m[6] || (m[6] = (p) => v(n(
|
|
4089
|
-
},
|
|
4088
|
+
class: G(["tab-button", { "is-active": e.reportType === n(ga) }]),
|
|
4089
|
+
onClick: m[6] || (m[6] = (p) => v(n(ga)))
|
|
4090
|
+
}, b(n(o)("selection.teams")), 3)
|
|
4090
4091
|
])
|
|
4091
4092
|
], 64));
|
|
4092
4093
|
}
|
|
4093
|
-
},
|
|
4094
|
+
}, Us = {
|
|
4094
4095
|
__name: "StatisticsProvider",
|
|
4095
4096
|
props: {
|
|
4096
4097
|
championshipName: {
|
|
@@ -4111,7 +4112,7 @@ const As = {
|
|
|
4111
4112
|
}
|
|
4112
4113
|
},
|
|
4113
4114
|
setup(e) {
|
|
4114
|
-
const t = e, { t: a } = Q(), { onError: r } =
|
|
4115
|
+
const t = e, { t: a } = Q(), { onError: r } = pe(), o = Te("history"), i = Z({
|
|
4115
4116
|
loading: !1,
|
|
4116
4117
|
seasons: [],
|
|
4117
4118
|
championshipId: Number(o.championshipId) || t.championshipId,
|
|
@@ -4123,16 +4124,16 @@ const As = {
|
|
|
4123
4124
|
playerFilter: "",
|
|
4124
4125
|
reportType: o.type || De,
|
|
4125
4126
|
reports: null,
|
|
4126
|
-
currentReport:
|
|
4127
|
+
currentReport: Ns(o),
|
|
4127
4128
|
rows: [],
|
|
4128
4129
|
columns: null,
|
|
4129
4130
|
api: null,
|
|
4130
4131
|
apiParams: {}
|
|
4131
|
-
}), l =
|
|
4132
|
+
}), l = pa.get("points");
|
|
4132
4133
|
i.columns = l.columns, i.api = l.api;
|
|
4133
4134
|
const s = _(
|
|
4134
|
-
() => i.reportType === De ?
|
|
4135
|
-
), { page: g, change:
|
|
4135
|
+
() => i.reportType === De ? Ss(a) : Ts(a)
|
|
4136
|
+
), { page: g, change: u } = wa(), { sort: v, change: f } = At({
|
|
4136
4137
|
sortTarget: "points",
|
|
4137
4138
|
orders: [{ target: "points", direction: B }]
|
|
4138
4139
|
});
|
|
@@ -4144,7 +4145,7 @@ const As = {
|
|
|
4144
4145
|
});
|
|
4145
4146
|
if (N.length === 0)
|
|
4146
4147
|
throw new xa(Ze.message, Ze.options);
|
|
4147
|
-
i.seasons =
|
|
4148
|
+
i.seasons = Is(N), i.championshipId || (i.championshipId = fe(i.seasons).championshipId);
|
|
4148
4149
|
} catch (N) {
|
|
4149
4150
|
r(N);
|
|
4150
4151
|
} finally {
|
|
@@ -4158,16 +4159,16 @@ const As = {
|
|
|
4158
4159
|
const le = await Be("/v2/championship-sections", t.apiKey, {
|
|
4159
4160
|
championshipId: i.championshipId
|
|
4160
4161
|
});
|
|
4161
|
-
i.sections = Me(q("phaseName"))(
|
|
4162
|
+
i.sections = Me(q("phaseName"))(Sr(Ge([0, "phases"], le))), i.phaseId = i.phaseId || ((N = fe(i.sections)) == null ? void 0 : N.phaseId);
|
|
4162
4163
|
} catch (le) {
|
|
4163
4164
|
r(le);
|
|
4164
4165
|
} finally {
|
|
4165
4166
|
i.loading = !1;
|
|
4166
4167
|
}
|
|
4167
4168
|
}
|
|
4168
|
-
async function
|
|
4169
|
+
async function x() {
|
|
4169
4170
|
try {
|
|
4170
|
-
i.loading = !0, i.rows = [],
|
|
4171
|
+
i.loading = !0, i.rows = [], u(1);
|
|
4171
4172
|
const N = await Be(i.api, t.apiKey, {
|
|
4172
4173
|
championshipId: i.championshipId,
|
|
4173
4174
|
phaseId: i.phaseId,
|
|
@@ -4178,7 +4179,7 @@ const As = {
|
|
|
4178
4179
|
lt,
|
|
4179
4180
|
ot,
|
|
4180
4181
|
ka(["mip"]),
|
|
4181
|
-
|
|
4182
|
+
Tr([
|
|
4182
4183
|
"dvgTime",
|
|
4183
4184
|
"dvgTimePP1",
|
|
4184
4185
|
"dvgTimePP2",
|
|
@@ -4211,47 +4212,47 @@ const As = {
|
|
|
4211
4212
|
const N = await Be("/v2/championship-teams", t.apiKey, {
|
|
4212
4213
|
championshipId: i.championshipId
|
|
4213
4214
|
});
|
|
4214
|
-
i.teams =
|
|
4215
|
+
i.teams = Ps(N);
|
|
4215
4216
|
} catch (N) {
|
|
4216
4217
|
r(N);
|
|
4217
4218
|
} finally {
|
|
4218
4219
|
i.loading = !1;
|
|
4219
4220
|
}
|
|
4220
4221
|
}
|
|
4221
|
-
const
|
|
4222
|
+
const A = _(
|
|
4222
4223
|
() => Oe(i.rows).filter(i.teamFilter, [["team", "id"]], !0).filter(i.playerFilter, ["name"]).sorted(v).addIndex(v.sortTarget).pagination(n(g), t.limit).value()
|
|
4223
|
-
),
|
|
4224
|
+
), z = _(() => [(g.value - 1) * t.limit + 1, Math.min(g.value * t.limit, A.value.totalItems)]);
|
|
4224
4225
|
function L() {
|
|
4225
|
-
const N =
|
|
4226
|
+
const N = pa.get(i.currentReport);
|
|
4226
4227
|
i.columns = N.columns, i.api = N.api, i.apiParams = N.params || {}, v.sortTarget = N.sort.sortTarget, v.orders = N.sort.orders;
|
|
4227
4228
|
}
|
|
4228
|
-
async function
|
|
4229
|
-
i.championshipId = N, o.championshipId = N, i.phaseId = null, o.phaseId = null, await p(), o.section = i.section, await P(), await
|
|
4229
|
+
async function y(N) {
|
|
4230
|
+
i.championshipId = N, o.championshipId = N, i.phaseId = null, o.phaseId = null, await p(), o.section = i.section, await P(), await x();
|
|
4230
4231
|
}
|
|
4231
4232
|
async function S(N) {
|
|
4232
|
-
i.phaseId = N, o.phaseId = N, await
|
|
4233
|
+
i.phaseId = N, o.phaseId = N, await x();
|
|
4233
4234
|
}
|
|
4234
4235
|
function T(N) {
|
|
4235
|
-
i.currentReport = N, o.report = N, L(),
|
|
4236
|
+
i.currentReport = N, o.report = N, L(), x();
|
|
4236
4237
|
}
|
|
4237
4238
|
function C(N) {
|
|
4238
|
-
|
|
4239
|
+
u(1), i.teamFilter = Number(N) || null, o.teamFilter = N || null;
|
|
4239
4240
|
}
|
|
4240
4241
|
function H(N) {
|
|
4241
|
-
|
|
4242
|
+
u(1), N instanceof Event && (N = N.target.value), i.playerFilter = N;
|
|
4242
4243
|
}
|
|
4243
4244
|
function j(N) {
|
|
4244
|
-
i.reportType = N, i.currentReport = fe(s.value).value, i.teamFilter = null, i.playerFilter = "", o.report = i.currentReport, o.teamFilter = null, o.type = N, L(),
|
|
4245
|
+
i.reportType = N, i.currentReport = fe(s.value).value, i.teamFilter = null, i.playerFilter = "", o.report = i.currentReport, o.teamFilter = null, o.type = N, L(), x();
|
|
4245
4246
|
}
|
|
4246
4247
|
async function ne() {
|
|
4247
|
-
await m(), await p(), await P(), L(), await
|
|
4248
|
+
await m(), await p(), await P(), L(), await x();
|
|
4248
4249
|
}
|
|
4249
4250
|
return ne(), (N, le) => xe(N.$slots, "default", ke(_e({
|
|
4250
4251
|
...i,
|
|
4251
|
-
rows:
|
|
4252
|
+
rows: A.value,
|
|
4252
4253
|
sort: n(v),
|
|
4253
4254
|
page: n(g),
|
|
4254
|
-
range:
|
|
4255
|
+
range: z.value,
|
|
4255
4256
|
selectorProps: {
|
|
4256
4257
|
reports: s.value,
|
|
4257
4258
|
...n(oe)(
|
|
@@ -4270,21 +4271,21 @@ const As = {
|
|
|
4270
4271
|
)
|
|
4271
4272
|
},
|
|
4272
4273
|
selectorListeners: {
|
|
4273
|
-
onSeasonChange:
|
|
4274
|
+
onSeasonChange: y,
|
|
4274
4275
|
onSectionChange: S,
|
|
4275
4276
|
onReportChange: T,
|
|
4276
4277
|
onStatTypeChange: j,
|
|
4277
4278
|
onTeamChange: C,
|
|
4278
4279
|
onPlayerInput: H
|
|
4279
4280
|
},
|
|
4280
|
-
onPaginatorChange: n(
|
|
4281
|
-
onSort: n(
|
|
4281
|
+
onPaginatorChange: n(u),
|
|
4282
|
+
onSort: n(f)
|
|
4282
4283
|
})));
|
|
4283
4284
|
}
|
|
4284
|
-
},
|
|
4285
|
+
}, Bs = `.base-input{padding:.375rem .75rem;font-family:inherit;color:var(--vbr-widget-base-input-color);border:1px solid var(--vbr-widget-base-input-border-color);border-radius:var(--vbr-widget-base-input-border-radius);width:100%;-moz-padding-start:calc(.75rem - 3px);font-size:var(--vbr-widget-base-input-font-size);font-weight:400;line-height:1.5;background-color:#fff;transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out;-webkit-appearance:none;-moz-appearance:none;appearance:none}.base-input:disabled{opacity:.3}.base-input.is-select{padding-right:2.25rem;background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");background-repeat:no-repeat;background-position:right .75rem center;background-size:16px 12px}label{display:block;margin-bottom:3px;color:var(--vbr-widget-form-label-color);font-size:var(--vbr-widget-form-label-font-size);font-weight:700;text-transform:uppercase}.tab-button{padding:var(--vbr-widget-tab-btn-padding);font-family:inherit;font-size:var(--vbr-widget-tab-btn-font-size);font-weight:var(--vbr-widget-tab-btn-font-weight);color:var(--vbr-widget-tab-btn-color);text-transform:var(--vbr-widget-tab-btn-text-transform);background-color:var(--vbr-widget-tab-btn-bg-color);border-color:var(--vbr-widget-tab-btn-border-color);border-width:var(--vbr-widget-tab-btn-border-width);border-style:var(--vbr-widget-tab-btn-border-style);outline:none;box-shadow:none;cursor:pointer}.tab-button:hover{color:var(--vbr-widget-tab-btn-hover-color);border-color:var(--vbr-widget-tab-btn-hover-border-color);background-color:var(--vbr-widget-tab-btn-hover-bg-color)}.tab-button.is-active{color:var(--vbr-widget-tab-btn-active-color);border-color:var(--vbr-widget-tab-btn-active-border-color);background-color:var(--vbr-widget-tab-btn-active-bg-color)}.toggle-group{display:flex;flex-wrap:wrap;gap:var(--vbr-widget-toggle-group-gap);margin-bottom:15px}.toggle-group button{padding:var(--vbr-widget-toggle-group-btn-padding);font-family:inherit;font-size:var(--vbr-widget-toggle-group-btn-size);background-color:var(--vbr-widget-toggle-group-btn-bg-color);border-radius:var(--vbr-widget-toggle-group-btn-radius)}.toggle-group button.is-active{color:var(--vbr-widget-toggle-group-btn-active-color);background-color:var(--vbr-widget-toggle-group-btn-active-bg-color)}`, Vs = '.table{border-collapse:collapse;border-spacing:0;color:var(--vbr-widget-table-color);background-color:var(--vbr-widget-table-default-bg-color)}.table table,.table caption,.table tbody,.table tfoot,.table thead,.table tr,.table th,.table td{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}.table :is(th,td){padding:8px;white-space:nowrap;vertical-align:middle;text-align:center}.table :is(th,td).is-text-left{text-align:left}.table :is(th,td).is-text-right{text-align:right}.table th{width:var(--vbr-widget-table-default-column-width);background:var(--vbr-widget-table-header-bg-color);font-size:var(--vbr-widget-table-header-font-size);font-weight:700;color:var(--vbr-widget-table-header-color)}.table th:focus-visible,.table th:hover{background-color:var(--vbr-widget-table-header-hover-bg-color);outline:none}.table th.is-sortable{position:relative;cursor:pointer}.table th.is-sortable .icon-sort{opacity:.5}.table th.is-active{background-color:var(--vbr-widget-table-header-active-bg-color);color:var(--vbr-widget-table-header-active-color)}.table th.is-active .icon-sort{opacity:1}.table th.is-asc,.table th.is-desc{position:relative}.table th.is-w-auto{width:auto}.table th .is-icon-sort{width:11px;height:11px;margin-left:5px}.table td.is-active{font-weight:700;color:var(--vbr-widget-table-active-color);background:var(--vbr-widget-table-active-bg-color)}.table td.is-zero{color:var(--vbr-widget-table-zero-color)}.table td.is-possible-empty:empty:before{content:"0";color:var(--vbr-widget-table-zero-color)}.table td .is-text-light,.table td.is-text-light{color:var(--vbr-widget-table-cell-light-color)}.table td .is-text-dark,.table td.is-text-dark{color:var(--vbr-widget-table-cell-dark-color)}.table td .is-logo-image{display:inline-block;vertical-align:middle;width:var(--vbr-widget-table-cell-logo-size);height:var(--vbr-widget-table-cell-logo-size)}.table td .is-portrait-image{display:inline-block;vertical-align:middle;width:var(--vbr-widget-table-cell-portrait-size);height:var(--vbr-widget-table-cell-portrait-size);object-fit:cover;object-position:top;overflow:hidden;border-radius:100%;border:1px solid var(--vbr-widget-primary-color-100)}.table td .is-portrait-image img{width:var(--vbr-widget-table-cell-portrait-size);height:auto}.table td.is-text-bold{font-weight:700}.table td.is-text-italic{font-style:italic}.table td.is-text-xl{font-size:var(--vbr-widget-typography-font-size-700)}.table td .is-text-accent{color:var(--vbr-widget-secondary-color-500)}.table td.is-w-auto{width:auto}.table td.is-horizontal-content{display:inline-flex;align-items:center}.table td.is-text-positive,.table td .is-text-positive{color:var(--vbr-widget-live-game-color)}.table td.is-text-negative,.table td .is-text-negative{color:var(--vbr-widget-danger-color-a400)}.table td.is-has-image{padding:0 2px}.table td .is-duplicated{color:var(--vbr-widget-table-neutral-color)}.table td svg{width:16px;height:16px}.table td button{padding:3px;line-height:0;border:none;outline:none;background-color:transparent}.table td button:hover{background-color:var(--vbr-widget-popover-trigger-hover-bg-color)}.table td button:active,.table td button:focus{background-color:var(--vbr-widget-popover-trigger-focus-bg-color)}.table td a{text-decoration:none}.table td .label{padding:3px 6px;font-size:var(--vbr-widget-typography-font-size-100);font-weight:700;color:var(--vbr-widget-table-label-color);background-color:var(--vbr-widget-table-label-bg-color);border-radius:2px}.table td .label:not(:last-of-type){margin-right:3px}.table td a{color:var(--vbr-widget-link-color)}.table td a:hover{color:var(--vbr-widget-hover-color)}.table td .is-team-name-long{display:block}.table td .is-team-name-short{display:none}@container table-wrapper (max-width: 768px){.table td .is-team-name-long{display:none}.table td .is-team-name-short{display:block}}.table tr.is-highlighted{color:var(--vbr-widget-danger-color-a400)}.table tr.is-optional{opacity:.5}.table tr:nth-child(2n){background:var(--vbr-widget-table-stripped-bg-color)}.table tr:nth-child(2n) td.is-active{background-color:var(--vbr-widget-table-active-even-bg-color)}.table tbody tr:focus-within,.table tbody tr:hover{color:var(--vbr-widget-table-hover-color);background-color:var(--vbr-widget-table-hover-bg-color)}.table tbody tr:focus-within td.is-active,.table tbody tr:hover td.is-active{color:var(--vbr-widget-table-active-hover-color);background-color:var(--vbr-widget-table-active-hover-bg-color)}', qs = ".table-responsive{container-name:table-wrapper;container-type:inline-size;width:100%;overflow-x:auto}.table-responsive table{width:100%}", Ws = ".paginator{display:flex;flex-direction:row;list-style-type:none;margin:10px 0;padding:0}.paginator button,.paginator div{display:flex;align-items:center;justify-content:center;padding:6px 12px;text-decoration:none;cursor:pointer;color:var(--vbr-widget-paginator-color);border:1px solid var(--vbr-widget-paginator-border-color);background-color:var(--vbr-widget-paginator-bg-color);margin-left:-1px}.paginator button .icon,.paginator div .icon{width:16px;height:16px;margin:0 -4px}.paginator button:hover:not(.paginator button.is-disabled,.paginator button.is-active,.paginator div.is-disabled,.paginator div.is-active),.paginator div:hover:not(.paginator button.is-disabled,.paginator button.is-active,.paginator div.is-disabled,.paginator div.is-active){color:var(--vbr-widget-paginator-hover-color);background-color:var(--vbr-widget-paginator-hover-bg-color)}.paginator button:disabled,.paginator button.is-disabled,.paginator div:disabled,.paginator div.is-disabled{color:var(--vbr-widget-paginator-disabled-color);background-color:var(--vbr-widget-paginator-bg-color);pointer-events:none;cursor:default}.paginator button.is-active,.paginator div.is-active{color:var(--vbr-widget-paginator-active-color);background-color:var(--vbr-widget-paginator-active-bg-color);border-color:var(--vbr-widget-paginator-active-bg-color);cursor:default}", Ys = { style: { display: "flex", "align-items": "center" } }, Hs = {
|
|
4285
4286
|
key: 0,
|
|
4286
4287
|
style: { "flex-grow": "1", "text-align": "right" }
|
|
4287
|
-
},
|
|
4288
|
+
}, Js = {
|
|
4288
4289
|
__name: "Statistics.ce",
|
|
4289
4290
|
props: {
|
|
4290
4291
|
locale: {
|
|
@@ -4312,38 +4313,38 @@ const As = {
|
|
|
4312
4313
|
},
|
|
4313
4314
|
setup(e) {
|
|
4314
4315
|
const t = e, a = { en: ue, hu: be }, r = K(null), o = (l) => st(t.externalTeamResolver, l), i = (l) => Ot(t.externalPlayerLink, l);
|
|
4315
|
-
return (l, s) => (
|
|
4316
|
-
w(n(
|
|
4316
|
+
return (l, s) => (c(), h("div", null, [
|
|
4317
|
+
w(n(ge), {
|
|
4317
4318
|
locale: t.locale,
|
|
4318
4319
|
messages: a
|
|
4319
4320
|
}, {
|
|
4320
|
-
default:
|
|
4321
|
+
default: k(() => [
|
|
4321
4322
|
w(n(ze), null, {
|
|
4322
|
-
default:
|
|
4323
|
-
w(
|
|
4323
|
+
default: k(({ hasError: g, error: u }) => [
|
|
4324
|
+
w(Us, {
|
|
4324
4325
|
"championship-name": e.championshipName,
|
|
4325
4326
|
"championship-id": e.championshipId,
|
|
4326
4327
|
limit: t.limit,
|
|
4327
4328
|
"api-key": e.apiKey
|
|
4328
4329
|
}, {
|
|
4329
|
-
default:
|
|
4330
|
+
default: k(({
|
|
4330
4331
|
sort: v,
|
|
4331
|
-
columns:
|
|
4332
|
+
columns: f,
|
|
4332
4333
|
rows: m,
|
|
4333
4334
|
page: p,
|
|
4334
|
-
range:
|
|
4335
|
+
range: x,
|
|
4335
4336
|
loading: P,
|
|
4336
|
-
selectorProps:
|
|
4337
|
-
selectorListeners:
|
|
4337
|
+
selectorProps: A,
|
|
4338
|
+
selectorListeners: z,
|
|
4338
4339
|
onPaginatorChange: L,
|
|
4339
|
-
onSort:
|
|
4340
|
+
onSort: y
|
|
4340
4341
|
}) => [
|
|
4341
|
-
g ? (
|
|
4342
|
+
g ? (c(), $(n(Se), {
|
|
4342
4343
|
key: 0,
|
|
4343
|
-
error:
|
|
4344
|
-
}, null, 8, ["error"])) : (
|
|
4345
|
-
w(n(
|
|
4346
|
-
columns:
|
|
4344
|
+
error: u
|
|
4345
|
+
}, null, 8, ["error"])) : (c(), $(Ks, hr({ key: 1 }, A, fr(z)), null, 16)),
|
|
4346
|
+
w(n(wr), {
|
|
4347
|
+
columns: f,
|
|
4347
4348
|
rows: m.rows,
|
|
4348
4349
|
sort: v,
|
|
4349
4350
|
"is-loading": P,
|
|
@@ -4353,9 +4354,9 @@ const As = {
|
|
|
4353
4354
|
"is-player-linked": l.isPlayerLinked,
|
|
4354
4355
|
"hide-columns": e.hideColumns,
|
|
4355
4356
|
"append-to": r.value,
|
|
4356
|
-
onSort:
|
|
4357
|
+
onSort: y
|
|
4357
4358
|
}, null, 8, ["columns", "rows", "sort", "is-loading", "is-team-linked", "is-player-linked", "hide-columns", "append-to", "onSort"]),
|
|
4358
|
-
|
|
4359
|
+
d("div", Ys, [
|
|
4359
4360
|
w(n(ya), {
|
|
4360
4361
|
page: p,
|
|
4361
4362
|
"items-per-page": t.limit,
|
|
@@ -4363,9 +4364,9 @@ const As = {
|
|
|
4363
4364
|
"range-length": 5,
|
|
4364
4365
|
onChange: L
|
|
4365
4366
|
}, null, 8, ["page", "items-per-page", "total-items", "onChange"]),
|
|
4366
|
-
m.totalItems > 0 ? (
|
|
4367
|
+
m.totalItems > 0 ? (c(), h("div", Hs, b(x.join("-")) + " / " + b(m.totalItems) + " db ", 1)) : I("", !0)
|
|
4367
4368
|
]),
|
|
4368
|
-
|
|
4369
|
+
d("div", {
|
|
4369
4370
|
ref_key: "tooltipContainer",
|
|
4370
4371
|
ref: r
|
|
4371
4372
|
}, null, 512)
|
|
@@ -4380,7 +4381,7 @@ const As = {
|
|
|
4380
4381
|
}, 8, ["locale"])
|
|
4381
4382
|
]));
|
|
4382
4383
|
}
|
|
4383
|
-
},
|
|
4384
|
+
}, Xs = /* @__PURE__ */ he(Js, [["styles", [ve, Bs, Vs, qs, Bt, Ws]]]), He = "Info", Je = "Games", Xe = "Stats", Qe = "Roster", Qs = {
|
|
4384
4385
|
teamKeyIntl: {
|
|
4385
4386
|
label: "table.blank",
|
|
4386
4387
|
class: "is-text-left"
|
|
@@ -4390,51 +4391,51 @@ const As = {
|
|
|
4390
4391
|
class: "is-text-left"
|
|
4391
4392
|
}
|
|
4392
4393
|
};
|
|
4393
|
-
function
|
|
4394
|
+
function Zs(e) {
|
|
4394
4395
|
const t = we(
|
|
4395
4396
|
["team", "organizationType", "organizationShortName", "organizationLogo", "organizationRepresentatives", "arenas"],
|
|
4396
4397
|
e
|
|
4397
4398
|
), a = [];
|
|
4398
4399
|
for (let [r, o] of Object.entries(t))
|
|
4399
|
-
r === "organizationFoundingDate" && (o = et(o, "YYYY")), r === "organizationAddresses" && (o =
|
|
4400
|
+
r === "organizationFoundingDate" && (o = et(o, "YYYY")), r === "organizationAddresses" && (o = oc((o == null ? void 0 : o.headquarter) ?? {})), a.push({ teamKey: r, teamValue: o });
|
|
4400
4401
|
return { team: e == null ? void 0 : e.team, organizationInfo: a };
|
|
4401
4402
|
}
|
|
4402
|
-
function
|
|
4403
|
+
function ec(e) {
|
|
4403
4404
|
return ae(
|
|
4404
|
-
ei(
|
|
4405
|
+
ei(ac),
|
|
4405
4406
|
Me((t) => {
|
|
4406
4407
|
var a, r;
|
|
4407
4408
|
return ["ld", "rd", "d"].includes((a = t.position) == null ? void 0 : a.toLowerCase()) ? 1 : ["lw", "rw", "c"].includes((r = t.position) == null ? void 0 : r.toLowerCase()) ? 2 : 0;
|
|
4408
4409
|
}),
|
|
4409
|
-
Me(
|
|
4410
|
-
me(ae(lt, ot,
|
|
4410
|
+
Me(rc),
|
|
4411
|
+
me(ae(lt, ot, Ir(["position"])))
|
|
4411
4412
|
)(e);
|
|
4412
4413
|
}
|
|
4413
4414
|
function It(e, t) {
|
|
4414
|
-
return
|
|
4415
|
+
return Ba(Gt(ui(t, ["team", "id"])), me(lt))(e);
|
|
4415
4416
|
}
|
|
4416
4417
|
function ua(e, t) {
|
|
4417
|
-
return
|
|
4418
|
+
return Ua(gi(di, la(Ge(["player", "playerId"]), e), la(Ge(["player", "playerId"]), t)));
|
|
4418
4419
|
}
|
|
4419
|
-
function
|
|
4420
|
-
const r = me(Ge(["player", "playerId"]))(e), i =
|
|
4420
|
+
function tc({ goalieStats: e, fieldPlayers: t, playersPenalty: a }) {
|
|
4421
|
+
const r = me(Ge(["player", "playerId"]))(e), i = gt((u) => r.includes(u.player.playerId))(a), l = ai((u, v) => u.player.playerId === v, a, r), s = ua(t, i), g = ua(e, l);
|
|
4421
4422
|
return {
|
|
4422
4423
|
fieldPlayers: Jt(s),
|
|
4423
4424
|
goalies: Jt(g)
|
|
4424
4425
|
};
|
|
4425
4426
|
}
|
|
4426
|
-
function
|
|
4427
|
+
function ac(e) {
|
|
4427
4428
|
var t, a;
|
|
4428
4429
|
return ["ld", "rd"].includes((t = e.position) == null ? void 0 : t.toLowerCase()) ? "defenders" : ["lw", "rw", "c"].includes((a = e.position) == null ? void 0 : a.toLowerCase()) ? "forwards" : "goalies";
|
|
4429
4430
|
}
|
|
4430
|
-
function
|
|
4431
|
+
function rc(e) {
|
|
4431
4432
|
return Number(e.jerseyNr);
|
|
4432
4433
|
}
|
|
4433
|
-
function
|
|
4434
|
-
const t = e.city ?
|
|
4435
|
-
return ae(ni(" "),
|
|
4434
|
+
function oc(e) {
|
|
4435
|
+
const t = e.city ? pi(si("city"), bi(/$/, ",")) : () => ({});
|
|
4436
|
+
return ae(ni(" "), Ua, t, we(["type"]))(e);
|
|
4436
4437
|
}
|
|
4437
|
-
const
|
|
4438
|
+
const ic = {
|
|
4438
4439
|
__name: "DataProvider",
|
|
4439
4440
|
props: {
|
|
4440
4441
|
apiKey: {
|
|
@@ -4461,14 +4462,14 @@ const nc = {
|
|
|
4461
4462
|
championshipId: Number(r.championshipId) || Number(t.championshipId),
|
|
4462
4463
|
statistics: {},
|
|
4463
4464
|
isStatsLoading: !1
|
|
4464
|
-
}), { onError: i } =
|
|
4465
|
+
}), { onError: i } = pe(), { state: l } = D({
|
|
4465
4466
|
options: {
|
|
4466
4467
|
path: "/v2/team-info",
|
|
4467
4468
|
apiKey: t.apiKey,
|
|
4468
4469
|
params: _(() => ({ championshipId: o.championshipId, teamId: o.teamId })),
|
|
4469
4470
|
immediate: !0
|
|
4470
4471
|
},
|
|
4471
|
-
transform: (
|
|
4472
|
+
transform: (y) => Zs(y),
|
|
4472
4473
|
onError: i
|
|
4473
4474
|
}), { state: s, execute: g } = D({
|
|
4474
4475
|
options: {
|
|
@@ -4476,45 +4477,45 @@ const nc = {
|
|
|
4476
4477
|
apiKey: t.apiKey,
|
|
4477
4478
|
params: _(() => ({ championshipId: o.championshipId, teamId: o.teamId }))
|
|
4478
4479
|
},
|
|
4479
|
-
transform: (
|
|
4480
|
-
Ct(
|
|
4480
|
+
transform: (y) => rt(
|
|
4481
|
+
Ct(y),
|
|
4481
4482
|
_a(a, t.locale),
|
|
4482
4483
|
za,
|
|
4483
4484
|
Sa(o.teamId),
|
|
4484
4485
|
Ta
|
|
4485
4486
|
),
|
|
4486
4487
|
onError: i
|
|
4487
|
-
}), { state:
|
|
4488
|
+
}), { state: u, execute: v } = D({
|
|
4488
4489
|
options: {
|
|
4489
4490
|
path: "/v2/championship-players",
|
|
4490
4491
|
apiKey: t.apiKey,
|
|
4491
4492
|
params: _(() => ({ championshipId: o.championshipId, teamId: o.teamId }))
|
|
4492
4493
|
},
|
|
4493
|
-
transform: (
|
|
4494
|
+
transform: (y) => ec(y, o.teamId),
|
|
4494
4495
|
onError: i
|
|
4495
|
-
}), { state:
|
|
4496
|
+
}), { state: f, execute: m } = D({
|
|
4496
4497
|
options: {
|
|
4497
4498
|
path: "/v2/players-stats",
|
|
4498
4499
|
apiKey: t.apiKey,
|
|
4499
4500
|
params: _(() => ({ championshipId: o.championshipId }))
|
|
4500
4501
|
},
|
|
4501
|
-
transform: (
|
|
4502
|
+
transform: (y) => It(y, o.teamId),
|
|
4502
4503
|
onError: i
|
|
4503
|
-
}), { state: p, execute:
|
|
4504
|
+
}), { state: p, execute: x } = D({
|
|
4504
4505
|
options: {
|
|
4505
4506
|
path: "/v2/players-penalty",
|
|
4506
4507
|
apiKey: t.apiKey,
|
|
4507
4508
|
params: _(() => ({ championshipId: o.championshipId }))
|
|
4508
4509
|
},
|
|
4509
|
-
transform: (
|
|
4510
|
+
transform: (y) => It(y, o.teamId),
|
|
4510
4511
|
onError: i
|
|
4511
|
-
}), { state: P, execute:
|
|
4512
|
+
}), { state: P, execute: A } = D({
|
|
4512
4513
|
options: {
|
|
4513
4514
|
path: "/v2/players-goalie",
|
|
4514
4515
|
apiKey: t.apiKey,
|
|
4515
4516
|
params: _(() => ({ championshipId: o.championshipId }))
|
|
4516
4517
|
},
|
|
4517
|
-
transform: (
|
|
4518
|
+
transform: (y) => It(y, o.teamId),
|
|
4518
4519
|
onError: i
|
|
4519
4520
|
});
|
|
4520
4521
|
se(
|
|
@@ -4526,11 +4527,11 @@ const nc = {
|
|
|
4526
4527
|
immediate: !0
|
|
4527
4528
|
}
|
|
4528
4529
|
);
|
|
4529
|
-
function
|
|
4530
|
-
o.page =
|
|
4530
|
+
function z(y) {
|
|
4531
|
+
o.page = y, r.page = y;
|
|
4531
4532
|
}
|
|
4532
|
-
function L(
|
|
4533
|
-
switch (
|
|
4533
|
+
function L(y) {
|
|
4534
|
+
switch (y) {
|
|
4534
4535
|
case Je:
|
|
4535
4536
|
g();
|
|
4536
4537
|
break;
|
|
@@ -4538,11 +4539,11 @@ const nc = {
|
|
|
4538
4539
|
v();
|
|
4539
4540
|
break;
|
|
4540
4541
|
case Xe:
|
|
4541
|
-
o.isStatsLoading = !0, te([
|
|
4542
|
+
o.isStatsLoading = !0, te([A, m, x], {
|
|
4542
4543
|
onFinished: () => {
|
|
4543
|
-
o.isStatsLoading = !1, o.statistics =
|
|
4544
|
+
o.isStatsLoading = !1, o.statistics = tc({
|
|
4544
4545
|
goalieStats: P.value,
|
|
4545
|
-
fieldPlayers:
|
|
4546
|
+
fieldPlayers: f.value,
|
|
4546
4547
|
playersPenalty: p.value
|
|
4547
4548
|
});
|
|
4548
4549
|
}
|
|
@@ -4550,9 +4551,9 @@ const nc = {
|
|
|
4550
4551
|
break;
|
|
4551
4552
|
}
|
|
4552
4553
|
}
|
|
4553
|
-
return (
|
|
4554
|
+
return (y, S) => xe(y.$slots, "default", ke(_e({ ...o, games: n(s), teamInfo: n(l), roster: n(u), fieldPlayers: n(f), fieldPlayersPenalty: n(p), onChangePage: z })));
|
|
4554
4555
|
}
|
|
4555
|
-
},
|
|
4556
|
+
}, nc = { class: "is-heading-2" }, lc = {
|
|
4556
4557
|
__name: "Games",
|
|
4557
4558
|
props: {
|
|
4558
4559
|
data: {
|
|
@@ -4584,21 +4585,21 @@ const nc = {
|
|
|
4584
4585
|
null,
|
|
4585
4586
|
_(() => ({ offsetName: Et(/* @__PURE__ */ new Date(), null, "hu") }))
|
|
4586
4587
|
);
|
|
4587
|
-
return (o, i) => (
|
|
4588
|
-
|
|
4589
|
-
w(
|
|
4588
|
+
return (o, i) => (c(), h(O, null, [
|
|
4589
|
+
d("h2", nc, b(n(a)("teams.games")), 1),
|
|
4590
|
+
w(er, {
|
|
4590
4591
|
rows: e.data,
|
|
4591
4592
|
columns: n(r),
|
|
4592
4593
|
"game-resolver": e.gameResolver,
|
|
4593
4594
|
"append-to": t.value
|
|
4594
4595
|
}, null, 8, ["rows", "columns", "game-resolver", "append-to"]),
|
|
4595
|
-
|
|
4596
|
+
d("div", {
|
|
4596
4597
|
ref_key: "tooltipContainer",
|
|
4597
4598
|
ref: t
|
|
4598
4599
|
}, null, 512)
|
|
4599
4600
|
], 64));
|
|
4600
4601
|
}
|
|
4601
|
-
},
|
|
4602
|
+
}, sc = { class: "is-heading-2" }, cc = ["href"], dc = ["href"], gc = {
|
|
4602
4603
|
__name: "Info",
|
|
4603
4604
|
props: {
|
|
4604
4605
|
data: {
|
|
@@ -4607,39 +4608,39 @@ const nc = {
|
|
|
4607
4608
|
}
|
|
4608
4609
|
},
|
|
4609
4610
|
setup(e) {
|
|
4610
|
-
const t = e, a = K(null), { t: r } = Q(), { columns: o } = ee(
|
|
4611
|
-
return (l, s) => (
|
|
4612
|
-
|
|
4611
|
+
const t = e, a = K(null), { t: r } = Q(), { columns: o } = ee(Qs), i = _(() => me((l) => ({ ...l, teamKeyIntl: r(`teams.info.${l.teamKey}`) }))(t.data));
|
|
4612
|
+
return (l, s) => (c(), h("div", null, [
|
|
4613
|
+
d("h2", sc, b(n(r)("teams.teamInfo")), 1),
|
|
4613
4614
|
w(n(ie), null, {
|
|
4614
|
-
default:
|
|
4615
|
+
default: k(() => [
|
|
4615
4616
|
w(n(ce), {
|
|
4616
4617
|
columns: n(o),
|
|
4617
4618
|
rows: i.value,
|
|
4618
4619
|
"append-to": a.value
|
|
4619
4620
|
}, {
|
|
4620
|
-
"cell-teamValue":
|
|
4621
|
-
g.teamKey === "organizationEmail" ? (
|
|
4621
|
+
"cell-teamValue": k(({ row: g }) => [
|
|
4622
|
+
g.teamKey === "organizationEmail" ? (c(), h("a", {
|
|
4622
4623
|
key: 0,
|
|
4623
4624
|
href: `mailto:${g.teamValue}`
|
|
4624
|
-
},
|
|
4625
|
-
g.teamKey === "organizationWebpage" ? (
|
|
4625
|
+
}, b(g.teamValue), 9, cc)) : I("", !0),
|
|
4626
|
+
g.teamKey === "organizationWebpage" ? (c(), h("a", {
|
|
4626
4627
|
key: 1,
|
|
4627
4628
|
href: `https://${g.teamValue}`,
|
|
4628
4629
|
target: "_blank"
|
|
4629
|
-
},
|
|
4630
|
+
}, b(g.teamValue), 9, dc)) : I("", !0)
|
|
4630
4631
|
]),
|
|
4631
4632
|
_: 1
|
|
4632
4633
|
}, 8, ["columns", "rows", "append-to"])
|
|
4633
4634
|
]),
|
|
4634
4635
|
_: 1
|
|
4635
4636
|
}),
|
|
4636
|
-
|
|
4637
|
+
d("div", {
|
|
4637
4638
|
ref_key: "tooltipContainer",
|
|
4638
4639
|
ref: a
|
|
4639
4640
|
}, null, 512)
|
|
4640
4641
|
]));
|
|
4641
4642
|
}
|
|
4642
|
-
},
|
|
4643
|
+
}, pc = { class: "is-heading-2" }, uc = {
|
|
4643
4644
|
__name: "Roster",
|
|
4644
4645
|
props: {
|
|
4645
4646
|
data: {
|
|
@@ -4660,11 +4661,11 @@ const nc = {
|
|
|
4660
4661
|
}
|
|
4661
4662
|
},
|
|
4662
4663
|
setup(e) {
|
|
4663
|
-
const t = K(null), { t: a } = Q(), { columns: r } = ee(we(["teamName"],
|
|
4664
|
-
return (o, i) => (
|
|
4665
|
-
(
|
|
4666
|
-
|
|
4667
|
-
w(
|
|
4664
|
+
const t = K(null), { t: a } = Q(), { columns: r } = ee(we(["teamName"], Za));
|
|
4665
|
+
return (o, i) => (c(), h(O, null, [
|
|
4666
|
+
(c(!0), h(O, null, U(e.data, (l, s) => (c(), h(O, { key: s }, [
|
|
4667
|
+
d("h2", pc, b(n(a)(`teams.${s}`)), 1),
|
|
4668
|
+
w(rr, {
|
|
4668
4669
|
rows: l,
|
|
4669
4670
|
columns: n(r),
|
|
4670
4671
|
"championship-id": e.championshipId,
|
|
@@ -4672,13 +4673,13 @@ const nc = {
|
|
|
4672
4673
|
"append-to": t.value
|
|
4673
4674
|
}, null, 8, ["rows", "columns", "championship-id", "player-resolver", "append-to"])
|
|
4674
4675
|
], 64))), 128)),
|
|
4675
|
-
|
|
4676
|
+
d("div", {
|
|
4676
4677
|
ref_key: "tooltipContainer",
|
|
4677
4678
|
ref: t
|
|
4678
4679
|
}, null, 512)
|
|
4679
4680
|
], 64));
|
|
4680
4681
|
}
|
|
4681
|
-
},
|
|
4682
|
+
}, bc = { class: "is-heading-2" }, mc = { class: "is-portrait-image" }, vc = ["href", "textContent"], hc = { class: "is-heading-2" }, fc = { class: "is-portrait-image" }, yc = ["href", "textContent"], wc = {
|
|
4682
4683
|
__name: "Statistics",
|
|
4683
4684
|
props: {
|
|
4684
4685
|
fieldPlayers: {
|
|
@@ -4724,75 +4725,75 @@ const nc = {
|
|
|
4724
4725
|
],
|
|
4725
4726
|
Ne
|
|
4726
4727
|
), r = K(null), { t: o } = Q(), { columns: i } = ee(t), { columns: l } = ee(a);
|
|
4727
|
-
return (s, g) => (
|
|
4728
|
-
|
|
4728
|
+
return (s, g) => (c(), h("div", null, [
|
|
4729
|
+
d("h2", bc, b(n(o)("teams.fieldPlayers")), 1),
|
|
4729
4730
|
w(n(ie), null, {
|
|
4730
|
-
default:
|
|
4731
|
+
default: k(() => [
|
|
4731
4732
|
w(n(ce), {
|
|
4732
4733
|
columns: n(i),
|
|
4733
4734
|
rows: e.fieldPlayers,
|
|
4734
4735
|
"is-loading": e.isLoading,
|
|
4735
4736
|
"append-to": r.value
|
|
4736
4737
|
}, {
|
|
4737
|
-
"cell-playerPortrait":
|
|
4738
|
-
|
|
4739
|
-
(
|
|
4740
|
-
key:
|
|
4741
|
-
src:
|
|
4738
|
+
"cell-playerPortrait": k(({ row: u }) => [
|
|
4739
|
+
d("div", mc, [
|
|
4740
|
+
(c(), $(n(V), {
|
|
4741
|
+
key: u.player.playerId,
|
|
4742
|
+
src: u.player.picture,
|
|
4742
4743
|
"default-src": n(Zt)
|
|
4743
4744
|
}, null, 8, ["src", "default-src"]))
|
|
4744
4745
|
])
|
|
4745
4746
|
]),
|
|
4746
|
-
"cell-name":
|
|
4747
|
-
|
|
4748
|
-
href: e.externalPlayerResolver({ ...
|
|
4749
|
-
textContent: u
|
|
4750
|
-
}, null, 8,
|
|
4747
|
+
"cell-name": k(({ row: u }) => [
|
|
4748
|
+
d("a", {
|
|
4749
|
+
href: e.externalPlayerResolver({ ...u, championshipId: e.championshipId }),
|
|
4750
|
+
textContent: b(u.name)
|
|
4751
|
+
}, null, 8, vc)
|
|
4751
4752
|
]),
|
|
4752
4753
|
_: 1
|
|
4753
4754
|
}, 8, ["columns", "rows", "is-loading", "append-to"])
|
|
4754
4755
|
]),
|
|
4755
4756
|
_: 1
|
|
4756
4757
|
}),
|
|
4757
|
-
|
|
4758
|
+
d("h2", hc, b(n(o)("teams.goalies")), 1),
|
|
4758
4759
|
w(n(ie), null, {
|
|
4759
|
-
default:
|
|
4760
|
+
default: k(() => [
|
|
4760
4761
|
w(n(ce), {
|
|
4761
4762
|
columns: n(l),
|
|
4762
4763
|
rows: e.goalies,
|
|
4763
4764
|
"is-loading": e.isLoading,
|
|
4764
4765
|
"append-to": r.value
|
|
4765
4766
|
}, {
|
|
4766
|
-
"cell-playerPortrait":
|
|
4767
|
-
|
|
4768
|
-
(
|
|
4769
|
-
key:
|
|
4770
|
-
src:
|
|
4767
|
+
"cell-playerPortrait": k(({ row: u }) => [
|
|
4768
|
+
d("div", fc, [
|
|
4769
|
+
(c(), $(n(V), {
|
|
4770
|
+
key: u.player.playerId,
|
|
4771
|
+
src: u.player.picture,
|
|
4771
4772
|
"default-src": n(Zt)
|
|
4772
4773
|
}, null, 8, ["src", "default-src"]))
|
|
4773
4774
|
])
|
|
4774
4775
|
]),
|
|
4775
|
-
"cell-name":
|
|
4776
|
-
|
|
4777
|
-
href: e.externalPlayerResolver({ ...
|
|
4778
|
-
textContent: u
|
|
4779
|
-
}, null, 8,
|
|
4776
|
+
"cell-name": k(({ row: u }) => [
|
|
4777
|
+
d("a", {
|
|
4778
|
+
href: e.externalPlayerResolver({ ...u, championshipId: e.championshipId }),
|
|
4779
|
+
textContent: b(u.name)
|
|
4780
|
+
}, null, 8, yc)
|
|
4780
4781
|
]),
|
|
4781
4782
|
_: 1
|
|
4782
4783
|
}, 8, ["columns", "rows", "is-loading", "append-to"])
|
|
4783
4784
|
]),
|
|
4784
4785
|
_: 1
|
|
4785
4786
|
}),
|
|
4786
|
-
|
|
4787
|
+
d("div", {
|
|
4787
4788
|
ref_key: "tooltipContainer",
|
|
4788
4789
|
ref: r
|
|
4789
4790
|
}, null, 512)
|
|
4790
4791
|
]));
|
|
4791
4792
|
}
|
|
4792
|
-
},
|
|
4793
|
+
}, xc = ".g-row{display:flex}.g-row-wrap{display:flex;flex-wrap:wrap}.g-col{flex:1 0 0%}.g-gap-normal{gap:16px}[class^=g-col-]{flex:0 0 auto}.g-col-6{width:50%}.g-col-5{width:41.66666667%}.g-col-3{width:25%}.g-col-auto{width:auto}.g-gap-normal{gap:20px}.g-grid{--columns: repeat(2, 1fr);--columns-tablet: repeat(4, 1fr);display:grid;grid-template-columns:var(--columns)}@media all and (min-width: 768px){.g-grid{grid-template-columns:var(--columns-tablet)}}", sr = `.base-input{padding:.375rem .75rem;font-family:inherit;color:var(--vbr-widget-base-input-color);border:1px solid var(--vbr-widget-base-input-border-color);border-radius:var(--vbr-widget-base-input-border-radius);width:100%;-moz-padding-start:calc(.75rem - 3px);font-size:var(--vbr-widget-base-input-font-size);font-weight:400;line-height:1.5;background-color:#fff;transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out;-webkit-appearance:none;-moz-appearance:none;appearance:none}.base-input:disabled{opacity:.3}.base-input.is-select{padding-right:2.25rem;background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");background-repeat:no-repeat;background-position:right .75rem center;background-size:16px 12px}label{display:block;margin-bottom:3px;color:var(--vbr-widget-form-label-color);font-size:var(--vbr-widget-form-label-font-size);font-weight:700;text-transform:uppercase}.tab-button{padding:var(--vbr-widget-tab-btn-padding);font-family:inherit;font-size:var(--vbr-widget-tab-btn-font-size);font-weight:var(--vbr-widget-tab-btn-font-weight);color:var(--vbr-widget-tab-btn-color);text-transform:var(--vbr-widget-tab-btn-text-transform);background-color:var(--vbr-widget-tab-btn-bg-color);border-color:var(--vbr-widget-tab-btn-border-color);border-width:var(--vbr-widget-tab-btn-border-width);border-style:var(--vbr-widget-tab-btn-border-style);outline:none;box-shadow:none;cursor:pointer}.tab-button:hover{color:var(--vbr-widget-tab-btn-hover-color);border-color:var(--vbr-widget-tab-btn-hover-border-color);background-color:var(--vbr-widget-tab-btn-hover-bg-color)}.tab-button.is-active{color:var(--vbr-widget-tab-btn-active-color);border-color:var(--vbr-widget-tab-btn-active-border-color);background-color:var(--vbr-widget-tab-btn-active-bg-color)}.toggle-group{display:flex;flex-wrap:wrap;gap:var(--vbr-widget-toggle-group-gap);margin-bottom:15px}.toggle-group button{padding:var(--vbr-widget-toggle-group-btn-padding);font-family:inherit;font-size:var(--vbr-widget-toggle-group-btn-size);background-color:var(--vbr-widget-toggle-group-btn-bg-color);border-radius:var(--vbr-widget-toggle-group-btn-radius)}.toggle-group button.is-active{color:var(--vbr-widget-toggle-group-btn-active-color);background-color:var(--vbr-widget-toggle-group-btn-active-bg-color)}`, kc = ".wrapped-grid{--min-width: 300px;--max-width: 1fr;display:grid;grid-template-columns:repeat(auto-fill,minmax(var(--min-width),var(--max-width)));gap:30px;padding-block:20px;text-align:center}.wrapped-grid a{display:flex;flex-direction:column;align-items:center;row-gap:20px}.wrapped-grid .is-team-logo{display:block;width:100%;aspect-ratio:1}", _c = { class: "is-mb-5" }, zc = { class: "is-heading-1 is-uppercase is-mb-5" }, Sc = {
|
|
4793
4794
|
class: "main-image-wrapper",
|
|
4794
4795
|
style: { "--overlay-radius": "0px" }
|
|
4795
|
-
},
|
|
4796
|
+
}, Tc = { class: "is-main-image" }, Ic = { class: "is-ovarlay-image" }, Pc = { class: "is-mt-5" }, Nc = ["onClick"], $c = ["onClick"], Ac = ["onClick"], Lc = ["onClick"], Cc = {
|
|
4796
4797
|
__name: "Team.ce",
|
|
4797
4798
|
props: {
|
|
4798
4799
|
locale: {
|
|
@@ -4822,86 +4823,86 @@ const nc = {
|
|
|
4822
4823
|
},
|
|
4823
4824
|
setup(e) {
|
|
4824
4825
|
const t = e, a = { en: ue, hu: be }, r = (i) => Ot(t.externalPlayerResolver, i), o = (i) => nt(t.externalGameResolver, i);
|
|
4825
|
-
return (i, l) => (
|
|
4826
|
-
w(n(
|
|
4826
|
+
return (i, l) => (c(), h("div", _c, [
|
|
4827
|
+
w(n(ge), {
|
|
4827
4828
|
locale: t.locale,
|
|
4828
4829
|
messages: a
|
|
4829
4830
|
}, {
|
|
4830
|
-
default:
|
|
4831
|
+
default: k(({ t: s }) => [
|
|
4831
4832
|
w(n(ze), null, {
|
|
4832
|
-
default:
|
|
4833
|
-
g ? (
|
|
4833
|
+
default: k(({ hasError: g, error: u }) => [
|
|
4834
|
+
g ? (c(), $(n(Se), {
|
|
4834
4835
|
key: 0,
|
|
4835
|
-
error:
|
|
4836
|
+
error: u
|
|
4836
4837
|
}, null, 8, ["error"])) : I("", !0),
|
|
4837
|
-
w(
|
|
4838
|
+
w(ic, {
|
|
4838
4839
|
"api-key": t.apiKey,
|
|
4839
4840
|
"championship-id": e.championshipId,
|
|
4840
4841
|
"team-id": e.teamId
|
|
4841
4842
|
}, {
|
|
4842
|
-
default:
|
|
4843
|
+
default: k(({
|
|
4843
4844
|
teamInfo: v,
|
|
4844
|
-
page:
|
|
4845
|
+
page: f,
|
|
4845
4846
|
roster: m,
|
|
4846
4847
|
games: p,
|
|
4847
|
-
statistics:
|
|
4848
|
+
statistics: x,
|
|
4848
4849
|
isStatsLoading: P,
|
|
4849
|
-
onChangePage:
|
|
4850
|
+
onChangePage: A
|
|
4850
4851
|
}) => {
|
|
4851
|
-
var
|
|
4852
|
+
var z, L, y, S, T;
|
|
4852
4853
|
return [
|
|
4853
|
-
|
|
4854
|
-
|
|
4855
|
-
|
|
4856
|
-
(
|
|
4854
|
+
d("h1", zc, b((z = v == null ? void 0 : v.team) == null ? void 0 : z.longName), 1),
|
|
4855
|
+
d("div", Sc, [
|
|
4856
|
+
d("div", Tc, [
|
|
4857
|
+
(c(), $(n(V), {
|
|
4857
4858
|
key: (L = v == null ? void 0 : v.team) == null ? void 0 : L.id,
|
|
4858
|
-
src: (
|
|
4859
|
+
src: (y = v == null ? void 0 : v.team) == null ? void 0 : y.teamPhoto,
|
|
4859
4860
|
"default-src": "https://www.ersteliga.hu/assets/images/logo_liga@2x.png"
|
|
4860
4861
|
}, null, 8, ["src"]))
|
|
4861
4862
|
]),
|
|
4862
|
-
|
|
4863
|
-
(
|
|
4863
|
+
d("div", Ic, [
|
|
4864
|
+
(c(), $(n(V), {
|
|
4864
4865
|
key: (S = v == null ? void 0 : v.team) == null ? void 0 : S.id,
|
|
4865
4866
|
src: (T = v == null ? void 0 : v.team) == null ? void 0 : T.logo
|
|
4866
4867
|
}, null, 8, ["src"]))
|
|
4867
4868
|
])
|
|
4868
4869
|
]),
|
|
4869
|
-
|
|
4870
|
-
|
|
4871
|
-
class: G(["tab-button", { "is-active":
|
|
4872
|
-
onClick: (C) =>
|
|
4873
|
-
},
|
|
4874
|
-
|
|
4875
|
-
class: G(["tab-button", { "is-active":
|
|
4876
|
-
onClick: (C) =>
|
|
4877
|
-
},
|
|
4878
|
-
|
|
4879
|
-
class: G(["tab-button", { "is-active":
|
|
4880
|
-
onClick: (C) =>
|
|
4881
|
-
},
|
|
4882
|
-
|
|
4883
|
-
class: G(["tab-button", { "is-active":
|
|
4884
|
-
onClick: (C) =>
|
|
4885
|
-
},
|
|
4870
|
+
d("div", Pc, [
|
|
4871
|
+
d("button", {
|
|
4872
|
+
class: G(["tab-button", { "is-active": f === n(He) }]),
|
|
4873
|
+
onClick: (C) => A(n(He))
|
|
4874
|
+
}, b(s("teams.tabs.teamInfo")), 11, Nc),
|
|
4875
|
+
d("button", {
|
|
4876
|
+
class: G(["tab-button", { "is-active": f === n(Je) }]),
|
|
4877
|
+
onClick: (C) => A(n(Je))
|
|
4878
|
+
}, b(s("teams.tabs.games")), 11, $c),
|
|
4879
|
+
d("button", {
|
|
4880
|
+
class: G(["tab-button", { "is-active": f === n(Xe) }]),
|
|
4881
|
+
onClick: (C) => A(n(Xe))
|
|
4882
|
+
}, b(s("teams.playerStats")), 11, Ac),
|
|
4883
|
+
d("button", {
|
|
4884
|
+
class: G(["tab-button", { "is-active": f === n(Qe) }]),
|
|
4885
|
+
onClick: (C) => A(n(Qe))
|
|
4886
|
+
}, b(s("teams.roster")), 11, Lc)
|
|
4886
4887
|
]),
|
|
4887
|
-
|
|
4888
|
+
f === n(He) ? (c(), $(gc, {
|
|
4888
4889
|
key: 0,
|
|
4889
4890
|
data: v.organizationInfo
|
|
4890
4891
|
}, null, 8, ["data"])) : I("", !0),
|
|
4891
|
-
|
|
4892
|
+
f === n(Je) ? (c(), $(lc, {
|
|
4892
4893
|
key: 1,
|
|
4893
4894
|
data: p,
|
|
4894
4895
|
"game-resolver": o
|
|
4895
4896
|
}, null, 8, ["data"])) : I("", !0),
|
|
4896
|
-
|
|
4897
|
+
f === n(Xe) ? (c(), $(wc, {
|
|
4897
4898
|
key: 2,
|
|
4898
|
-
"field-players":
|
|
4899
|
-
goalies:
|
|
4899
|
+
"field-players": x.fieldPlayers,
|
|
4900
|
+
goalies: x.goalies,
|
|
4900
4901
|
"championship-id": e.championshipId,
|
|
4901
4902
|
"is-loading": P,
|
|
4902
4903
|
"external-player-resolver": r
|
|
4903
4904
|
}, null, 8, ["field-players", "goalies", "championship-id", "is-loading"])) : I("", !0),
|
|
4904
|
-
|
|
4905
|
+
f === n(Qe) ? (c(), $(uc, {
|
|
4905
4906
|
key: 3,
|
|
4906
4907
|
data: m,
|
|
4907
4908
|
"championship-id": e.championshipId,
|
|
@@ -4919,7 +4920,7 @@ const nc = {
|
|
|
4919
4920
|
}, 8, ["locale"])
|
|
4920
4921
|
]));
|
|
4921
4922
|
}
|
|
4922
|
-
},
|
|
4923
|
+
}, Ec = /* @__PURE__ */ he(Cc, [["styles", [ve, Ke, Ut, xc, sr, kc, ir, nr]]]), Oc = {
|
|
4923
4924
|
__name: "DataProvider",
|
|
4924
4925
|
props: {
|
|
4925
4926
|
championshipName: {
|
|
@@ -4940,7 +4941,7 @@ const nc = {
|
|
|
4940
4941
|
championshipName: t.championshipName,
|
|
4941
4942
|
seasons: [],
|
|
4942
4943
|
championshipId: Number(a.championshipId) || 0
|
|
4943
|
-
}), { onError: o } =
|
|
4944
|
+
}), { onError: o } = pe(), { isLoading: i, execute: l } = D({
|
|
4944
4945
|
options: {
|
|
4945
4946
|
path: "/v2/championship-seasons",
|
|
4946
4947
|
apiKey: t.apiKey,
|
|
@@ -4951,32 +4952,32 @@ const nc = {
|
|
|
4951
4952
|
}), {
|
|
4952
4953
|
isLoading: s,
|
|
4953
4954
|
state: g,
|
|
4954
|
-
execute:
|
|
4955
|
+
execute: u
|
|
4955
4956
|
} = D({
|
|
4956
4957
|
options: {
|
|
4957
4958
|
path: "/v2/championship-teams",
|
|
4958
4959
|
apiKey: t.apiKey,
|
|
4959
4960
|
params: _(() => ({ championshipId: r.championshipId }))
|
|
4960
4961
|
},
|
|
4961
|
-
transform:
|
|
4962
|
+
transform: Qa,
|
|
4962
4963
|
onError: o
|
|
4963
4964
|
}), v = Lt([i, s], { delay: 1e3 });
|
|
4964
|
-
te([l,
|
|
4965
|
-
function
|
|
4966
|
-
r.championshipId = m, a.championshipId = m, te([
|
|
4965
|
+
te([l, u]);
|
|
4966
|
+
function f(m) {
|
|
4967
|
+
r.championshipId = m, a.championshipId = m, te([u]);
|
|
4967
4968
|
}
|
|
4968
4969
|
return (m, p) => xe(m.$slots, "default", ke(_e({
|
|
4969
4970
|
...r,
|
|
4970
4971
|
teams: n(g),
|
|
4971
4972
|
isLoading: n(v),
|
|
4972
|
-
changeSeason:
|
|
4973
|
+
changeSeason: f
|
|
4973
4974
|
})));
|
|
4974
4975
|
}
|
|
4975
|
-
},
|
|
4976
|
+
}, jc = ".wrapped-grid{--min-width: 300px;--max-width: 1fr;display:grid;grid-template-columns:repeat(auto-fill,minmax(var(--min-width),var(--max-width)));gap:30px;padding-block:20px;text-align:center}.wrapped-grid a{display:flex;flex-direction:column;align-items:center;row-gap:20px}.wrapped-grid .is-team-logo{display:block;width:100%;aspect-ratio:1}", Rc = {
|
|
4976
4977
|
key: 1,
|
|
4977
4978
|
class: "wrapped-grid",
|
|
4978
4979
|
style: { "--min-width": "80px", "--max-width": "160px" }
|
|
4979
|
-
},
|
|
4980
|
+
}, Fc = ["href"], Gc = {
|
|
4980
4981
|
__name: "Teams.ce",
|
|
4981
4982
|
props: {
|
|
4982
4983
|
locale: {
|
|
@@ -5001,45 +5002,45 @@ const nc = {
|
|
|
5001
5002
|
function r(o, i) {
|
|
5002
5003
|
return st(t.externalTeamResolver, { team: { id: o }, championshipId: i });
|
|
5003
5004
|
}
|
|
5004
|
-
return (o, i) => (
|
|
5005
|
-
w(n(
|
|
5005
|
+
return (o, i) => (c(), h("div", null, [
|
|
5006
|
+
w(n(ge), {
|
|
5006
5007
|
locale: t.locale,
|
|
5007
5008
|
messages: a
|
|
5008
5009
|
}, {
|
|
5009
|
-
default:
|
|
5010
|
+
default: k(() => [
|
|
5010
5011
|
w(n(ze), null, {
|
|
5011
|
-
default:
|
|
5012
|
-
s ? (
|
|
5012
|
+
default: k(({ error: l, hasError: s }) => [
|
|
5013
|
+
s ? (c(), $(n(Se), {
|
|
5013
5014
|
key: 0,
|
|
5014
5015
|
error: l
|
|
5015
5016
|
}, null, 8, ["error"])) : I("", !0),
|
|
5016
|
-
w(
|
|
5017
|
+
w(Oc, {
|
|
5017
5018
|
"api-key": t.apiKey,
|
|
5018
5019
|
locale: e.locale,
|
|
5019
5020
|
"championship-name": e.championshipName
|
|
5020
5021
|
}, {
|
|
5021
|
-
default:
|
|
5022
|
+
default: k(({ teams: g, seasons: u, isLoading: v, championshipId: f, changeSeason: m }) => [
|
|
5022
5023
|
w(n(fa), {
|
|
5023
|
-
seasons:
|
|
5024
|
-
"championship-id":
|
|
5024
|
+
seasons: u,
|
|
5025
|
+
"championship-id": f,
|
|
5025
5026
|
"is-section-selection-disabled": "",
|
|
5026
5027
|
onOnChangeSeason: m
|
|
5027
5028
|
}, null, 8, ["seasons", "championship-id", "onOnChangeSeason"]),
|
|
5028
|
-
v ? (
|
|
5029
|
-
(
|
|
5029
|
+
v ? (c(), $(n(at), { key: 0 })) : (c(), h("ul", Rc, [
|
|
5030
|
+
(c(!0), h(O, null, U(g, (p) => (c(), h("li", {
|
|
5030
5031
|
key: p.teamId
|
|
5031
5032
|
}, [
|
|
5032
|
-
|
|
5033
|
-
href: r(p.teamId,
|
|
5033
|
+
d("a", {
|
|
5034
|
+
href: r(p.teamId, f),
|
|
5034
5035
|
class: "is-text-lg is-text-bold"
|
|
5035
5036
|
}, [
|
|
5036
|
-
(
|
|
5037
|
+
(c(), $(n(V), {
|
|
5037
5038
|
key: p.teamId,
|
|
5038
5039
|
class: "is-team-logo",
|
|
5039
5040
|
src: p.teamLogo
|
|
5040
5041
|
}, null, 8, ["src"])),
|
|
5041
|
-
W(" " +
|
|
5042
|
-
], 8,
|
|
5042
|
+
W(" " + b(p.teamName), 1)
|
|
5043
|
+
], 8, Fc)
|
|
5043
5044
|
]))), 128))
|
|
5044
5045
|
]))
|
|
5045
5046
|
]),
|
|
@@ -5053,30 +5054,30 @@ const nc = {
|
|
|
5053
5054
|
}, 8, ["locale"])
|
|
5054
5055
|
]));
|
|
5055
5056
|
}
|
|
5056
|
-
},
|
|
5057
|
-
function
|
|
5058
|
-
customElements.define("mjsz-vbr-statistics",
|
|
5057
|
+
}, Mc = /* @__PURE__ */ he(Gc, [["styles", [ve, Ke, Kt, jc, sr, ar]]]), Dc = de(Xs), Kc = de(Wl), Uc = de(Un), Bc = de(zs), Vc = de(Mc), qc = de(Ec), Wc = de(wn), Yc = de(nn);
|
|
5058
|
+
function Hc() {
|
|
5059
|
+
customElements.define("mjsz-vbr-statistics", Dc), customElements.define("mjsz-vbr-schedule-liga", Kc), customElements.define("mjsz-vbr-playoffs", Uc), customElements.define("mjsz-vbr-standings-liga", Bc), customElements.define("mjsz-vbr-teams-liga", Vc), customElements.define("mjsz-vbr-players-liga", Wc), customElements.define("mjsz-vbr-player-liga", Yc), customElements.define("mjsz-vbr-team-liga", qc);
|
|
5059
5060
|
}
|
|
5060
|
-
const
|
|
5061
|
-
install: () =>
|
|
5061
|
+
const rd = {
|
|
5062
|
+
install: () => Hc()
|
|
5062
5063
|
};
|
|
5063
5064
|
export {
|
|
5064
5065
|
nn as PlayerLiga,
|
|
5065
|
-
|
|
5066
|
+
Yc as PlayerLigaCE,
|
|
5066
5067
|
wn as PlayersLiga,
|
|
5067
|
-
|
|
5068
|
-
|
|
5069
|
-
|
|
5070
|
-
|
|
5071
|
-
|
|
5072
|
-
|
|
5073
|
-
|
|
5074
|
-
|
|
5075
|
-
|
|
5076
|
-
|
|
5077
|
-
|
|
5078
|
-
|
|
5079
|
-
|
|
5080
|
-
|
|
5081
|
-
|
|
5068
|
+
Wc as PlayersLigaCE,
|
|
5069
|
+
Un as Playoffs,
|
|
5070
|
+
Uc as PlayoffsCE,
|
|
5071
|
+
Wl as ScheduleLiga,
|
|
5072
|
+
Kc as ScheduleLigaCE,
|
|
5073
|
+
zs as StandingsLiga,
|
|
5074
|
+
Bc as StandingsLigaCE,
|
|
5075
|
+
Xs as Statistics,
|
|
5076
|
+
Dc as StatisticsCE,
|
|
5077
|
+
Ec as TeamLiga,
|
|
5078
|
+
qc as TeamLigaCE,
|
|
5079
|
+
Mc as TeamsLiga,
|
|
5080
|
+
Vc as TeamsLigaCE,
|
|
5081
|
+
rd as default,
|
|
5082
|
+
Hc as register
|
|
5082
5083
|
};
|