@mjsz-vbr-elements/extended 2.43.2 → 2.45.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.iife.js +2 -2
- package/dist/index.iife.js.br +0 -0
- package/dist/index.iife.js.gz +0 -0
- package/dist/index.js +484 -478
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* name: @mjsz-vbr-elements/extended
|
|
3
|
-
* version: v2.
|
|
3
|
+
* version: v2.45.0 - 03/05/2026, 10:31:32
|
|
4
4
|
* (c) 2026
|
|
5
5
|
* description: Data visualization for MJSZ VBR
|
|
6
6
|
* author: Ákos Stegner <akos.stegner@gmail.com>
|
|
@@ -8,10 +8,10 @@
|
|
|
8
8
|
import { Fragment as e, Transition as t, computed as n, createBlock as r, createCommentVNode as i, createElementBlock as a, createElementVNode as o, createTextVNode as s, createVNode as c, customRef as l, defineCustomElement as u, getCurrentInstance as d, getCurrentScope as f, guardReactiveProps as p, inject as m, isMemoSame as h, isRef as g, mergeProps as _, nextTick as v, normalizeClass as y, normalizeProps as b, normalizeStyle as x, onMounted as S, onScopeDispose as C, onUnmounted as w, openBlock as T, provide as ee, reactive as E, readonly as te, ref as D, renderList as O, renderSlot as k, resolveDynamicComponent as ne, setBlockTracking as A, shallowReadonly as re, shallowRef as j, toDisplayString as M, toHandlers as ie, toRef as ae, toRefs as oe, toValue as N, triggerRef as se, unref as P, useId as ce, useTemplateRef as le, vModelText as ue, watch as F, withCtx as I, withDirectives as de } from "vue";
|
|
9
9
|
import { AdditionalStandingsText as fe, BaseSelect as pe, DataTable as me, ErrorNotice as he, ErrorProvider as ge, FetchMoreObserver as _e, FloatingPanel as ve, FormField as ye, I18NProvider as L, Image as R, LoadingIndicator as be, Paginator as xe, ResponsiveTable as Se, StatisticsTable as Ce } from "@mjsz-vbr-elements/core/components";
|
|
10
10
|
import { gameProps as we } from "@mjsz-vbr-elements/core/props";
|
|
11
|
-
import { InvalidSeasonName as Te, WidgetError as Ee,
|
|
12
|
-
import { COLUMNS_STANDINGS_SHORT as
|
|
13
|
-
import { fetchVBRData as
|
|
14
|
-
import { COLUMNS_FIELD_PLAYERS as
|
|
11
|
+
import { InvalidSeasonName as Te, WidgetError as Ee, addColumn as De, convert as Oe, convertPhaseName as ke, convertSeasons as Ae, convertTimesMinToMinSec as je, convertTimesSecToMin as Me, externalGameLinkResolver as Ne, externalPlayerLinkResolver as Pe, externalTeamLinkResolver as Fe, filterAndSortSections as Ie, format as z, getLocalTimezone as Le, head as B, isAfter as Re, isBefore as ze, isEmpty as Be, last as Ve, offsetName as He, omit as Ue, path as We, pick as Ge, pipe as Ke, playerName as qe, rawConvert as Je, reject as Ye, scheduleOptionalRowClass as Xe, selectFirstSectionId as Ze, sortByDomNode as Qe, sortByPhaseId as $e, sortGames as et, sum as tt, teamName as nt } from "@mjsz-vbr-elements/core/utils";
|
|
12
|
+
import { COLUMNS_STANDINGS_SHORT as rt, addDays as it, convertGameNames as at, convertGamePeriodResults as ot, currentWeekStartEnd as st, endOfMonth as ct, gameProps as lt, isAfter as ut, isBefore as dt, rawConvert as ft, startOfMonth as pt, subtractDays as mt } from "@mjsz-vbr-elements/core";
|
|
13
|
+
import { fetchVBRData as ht, useColumns as gt, useError as _t, useErrorProvider as vt, useI18n as V, useLazyLoadingState as yt, usePage as bt, useServices as H, useSort as xt, useVisibilityChange as St } from "@mjsz-vbr-elements/core/composables";
|
|
14
|
+
import { COLUMNS_FIELD_PLAYERS as Ct, COLUMNS_FIELD_PLAYERS_PENALTY as wt, COLUMNS_GOALIES as Tt, COLUMNS_SCHEDULE as Et, COLUMNS_SCORING_EFFICIENCY as Dt, COLUMNS_STANDINGS_P_3 as Ot, COLUMNS_STANDINGS_P_PER as kt, COLUMNS_TEAMS_FAIRPLAY as At, COLUMNS_TEAMS_PENALTY_KILLING as jt, COLUMNS_TEAMS_POWERPLAY as Mt } from "@mjsz-vbr-elements/core/columns";
|
|
15
15
|
import { SORT_STATE_DESCEND as U } from "@mjsz-vbr-elements/core/constants";
|
|
16
16
|
var W = {
|
|
17
17
|
schedule: "Schedule",
|
|
@@ -207,45 +207,45 @@ var W = {
|
|
|
207
207
|
recruitmentContactEmail: "E-mail",
|
|
208
208
|
recruitmentContactUrl: "Honlap"
|
|
209
209
|
}
|
|
210
|
-
}, K = "gamesPlayed",
|
|
211
|
-
function
|
|
210
|
+
}, K = "gamesPlayed", Nt = "todaysGames", Pt = "nextGames", Ft = "weekGames";
|
|
211
|
+
function It(e, t) {
|
|
212
212
|
return t.value = {
|
|
213
213
|
firstGame: e.firstGame,
|
|
214
214
|
lastGame: e.lastGame
|
|
215
|
-
},
|
|
215
|
+
}, ft(e.games, ot, at);
|
|
216
216
|
}
|
|
217
|
-
var q = /* @__PURE__ */ new Date(),
|
|
217
|
+
var q = /* @__PURE__ */ new Date(), Lt = (/* @__PURE__ */ new Map()).set(Nt, () => ({
|
|
218
218
|
min: q,
|
|
219
219
|
max: q,
|
|
220
220
|
month: null,
|
|
221
221
|
id: null
|
|
222
|
-
})).set(
|
|
223
|
-
min:
|
|
224
|
-
max:
|
|
222
|
+
})).set(Ft, () => ({
|
|
223
|
+
min: st().startDate,
|
|
224
|
+
max: st().endDate,
|
|
225
225
|
month: null,
|
|
226
226
|
id: null
|
|
227
227
|
})).set(K, (e = null) => {
|
|
228
|
-
let { year: t, month: n } =
|
|
228
|
+
let { year: t, month: n } = Ht(e);
|
|
229
229
|
return {
|
|
230
|
-
min:
|
|
231
|
-
max:
|
|
230
|
+
min: Ut(new Date(t, n, 1), !0),
|
|
231
|
+
max: Wt(new Date(t, n, 1), !0),
|
|
232
232
|
id: `${t}-${n}`
|
|
233
233
|
};
|
|
234
|
-
}).set(
|
|
235
|
-
let { year: t, month: n } =
|
|
234
|
+
}).set(Pt, (e = null) => {
|
|
235
|
+
let { year: t, month: n } = Ht(e);
|
|
236
236
|
return {
|
|
237
|
-
min:
|
|
238
|
-
max:
|
|
237
|
+
min: Ut(new Date(t, n, 1)),
|
|
238
|
+
max: Wt(new Date(t, n, 1)),
|
|
239
239
|
id: `${t}-${n}`
|
|
240
240
|
};
|
|
241
|
-
}),
|
|
242
|
-
function Rt(e, t, n) {
|
|
243
|
-
return ut(e, t) ? [] : lt(e, n) ? [t, n] : [t, e];
|
|
244
|
-
}
|
|
241
|
+
}), Rt = (/* @__PURE__ */ new Map()).set(Nt, () => []).set(K, (e, t) => zt(mt(q, 1), e, t)).set(Pt, (e, t) => Bt(it(q, 1), e, t)).set(Ft, () => []);
|
|
245
242
|
function zt(e, t, n) {
|
|
246
|
-
return
|
|
243
|
+
return dt(e, t) ? [] : ut(e, n) ? [t, n] : [t, e];
|
|
244
|
+
}
|
|
245
|
+
function Bt(e, t, n) {
|
|
246
|
+
return dt(e, t) ? [t, n] : ut(e, n) ? [] : [e, n];
|
|
247
247
|
}
|
|
248
|
-
function
|
|
248
|
+
function Vt(e, t, n, r = "hu") {
|
|
249
249
|
e = new Date(e), t = new Date(t);
|
|
250
250
|
let i = [], a = e;
|
|
251
251
|
for (; a.getTime() <= t.getTime();) o(a.toLocaleString(r, { month: "short" })), a.setDate(1), a.setMonth(a.getMonth() + 1);
|
|
@@ -258,7 +258,7 @@ function Bt(e, t, n, r = "hu") {
|
|
|
258
258
|
}
|
|
259
259
|
return i;
|
|
260
260
|
}
|
|
261
|
-
function
|
|
261
|
+
function Ht(e) {
|
|
262
262
|
if (!e) return {
|
|
263
263
|
year: q.getFullYear(),
|
|
264
264
|
month: q.getMonth()
|
|
@@ -269,27 +269,27 @@ function Vt(e) {
|
|
|
269
269
|
month: n
|
|
270
270
|
};
|
|
271
271
|
}
|
|
272
|
-
function
|
|
273
|
-
if (t) return
|
|
274
|
-
let n =
|
|
275
|
-
return
|
|
272
|
+
function Ut(e, t) {
|
|
273
|
+
if (t) return pt(e);
|
|
274
|
+
let n = it(q, 1);
|
|
275
|
+
return dt(pt(e), n) ? n : pt(e);
|
|
276
276
|
}
|
|
277
|
-
function
|
|
277
|
+
function Wt(e, t = !1) {
|
|
278
278
|
if (t) {
|
|
279
|
-
let t =
|
|
280
|
-
return
|
|
279
|
+
let t = mt(q, 1);
|
|
280
|
+
return ut(ct(e), t) ? t : ct(e);
|
|
281
281
|
}
|
|
282
|
-
return
|
|
282
|
+
return ct(e);
|
|
283
283
|
}
|
|
284
284
|
//#endregion
|
|
285
285
|
//#region ../../node_modules/.pnpm/@vueuse+shared@14.2.1_vue@3.5.30_typescript@5.7.3_/node_modules/@vueuse/shared/dist/index.js
|
|
286
|
-
function
|
|
286
|
+
function Gt(e, t) {
|
|
287
287
|
return f() ? (C(e, t), !0) : !1;
|
|
288
288
|
}
|
|
289
|
-
var
|
|
289
|
+
var Kt = typeof window < "u" && typeof document < "u";
|
|
290
290
|
typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
|
|
291
|
-
var
|
|
292
|
-
function
|
|
291
|
+
var qt = (e) => e !== void 0, Jt = (e) => e != null, Yt = Object.prototype.toString, Xt = (e) => Yt.call(e) === "[object Object]", J = () => {};
|
|
292
|
+
function Zt(...e) {
|
|
293
293
|
if (e.length !== 1) return ae(...e);
|
|
294
294
|
let t = e[0];
|
|
295
295
|
return typeof t == "function" ? te(l(() => ({
|
|
@@ -297,7 +297,7 @@ function Xt(...e) {
|
|
|
297
297
|
set: J
|
|
298
298
|
}))) : D(t);
|
|
299
299
|
}
|
|
300
|
-
function
|
|
300
|
+
function Qt(e, t) {
|
|
301
301
|
function n(...n) {
|
|
302
302
|
return new Promise((r, i) => {
|
|
303
303
|
Promise.resolve(e(() => t.apply(this, n), {
|
|
@@ -309,8 +309,8 @@ function Zt(e, t) {
|
|
|
309
309
|
}
|
|
310
310
|
return n;
|
|
311
311
|
}
|
|
312
|
-
var
|
|
313
|
-
function
|
|
312
|
+
var $t = (e) => e();
|
|
313
|
+
function en(e, t = {}) {
|
|
314
314
|
let n, r, i = J, a = (e) => {
|
|
315
315
|
clearTimeout(e), i(), i = J;
|
|
316
316
|
}, o;
|
|
@@ -325,7 +325,7 @@ function $t(e, t = {}) {
|
|
|
325
325
|
});
|
|
326
326
|
};
|
|
327
327
|
}
|
|
328
|
-
function
|
|
328
|
+
function tn(...e) {
|
|
329
329
|
let t = 0, n, r = !0, i = J, a, o, s, c, l;
|
|
330
330
|
!g(e[0]) && typeof e[0] == "object" ? {delay: o, trailing: s = !0, leading: c = !0, rejectOnCancel: l = !1} = e[0] : [o, s = !0, c = !0, l = !1] = e;
|
|
331
331
|
let u = () => {
|
|
@@ -340,8 +340,8 @@ function en(...e) {
|
|
|
340
340
|
})), !c && !n && (n = setTimeout(() => r = !0, d)), r = !1, a);
|
|
341
341
|
};
|
|
342
342
|
}
|
|
343
|
-
function
|
|
344
|
-
let { initialState: n = "active" } = t, r =
|
|
343
|
+
function nn(e = $t, t = {}) {
|
|
344
|
+
let { initialState: n = "active" } = t, r = Zt(n === "active");
|
|
345
345
|
function i() {
|
|
346
346
|
r.value = !1;
|
|
347
347
|
}
|
|
@@ -357,37 +357,37 @@ function tn(e = Qt, t = {}) {
|
|
|
357
357
|
}
|
|
358
358
|
};
|
|
359
359
|
}
|
|
360
|
-
function
|
|
360
|
+
function rn(e, t = !1, n = "Timeout") {
|
|
361
361
|
return new Promise((r, i) => {
|
|
362
362
|
t ? setTimeout(() => i(n), e) : setTimeout(r, e);
|
|
363
363
|
});
|
|
364
364
|
}
|
|
365
|
-
function
|
|
365
|
+
function an(e) {
|
|
366
366
|
return Array.isArray(e) ? e : [e];
|
|
367
367
|
}
|
|
368
|
-
function
|
|
368
|
+
function on(e) {
|
|
369
369
|
return e || d();
|
|
370
370
|
}
|
|
371
|
-
function on(e, t = 200, n = {}) {
|
|
372
|
-
return Zt($t(t, n), e);
|
|
373
|
-
}
|
|
374
371
|
function sn(e, t = 200, n = {}) {
|
|
375
|
-
|
|
372
|
+
return Qt(en(t, n), e);
|
|
373
|
+
}
|
|
374
|
+
function cn(e, t = 200, n = {}) {
|
|
375
|
+
let r = D(N(e)), i = sn(() => {
|
|
376
376
|
r.value = e.value;
|
|
377
377
|
}, t, n);
|
|
378
378
|
return F(e, () => i()), re(r);
|
|
379
379
|
}
|
|
380
|
-
function
|
|
381
|
-
return
|
|
382
|
-
}
|
|
383
|
-
function ln(e, t, n = {}) {
|
|
384
|
-
let { eventFilter: r = Qt, ...i } = n;
|
|
385
|
-
return F(e, Zt(r, t), i);
|
|
380
|
+
function ln(e, t = 200, n = !1, r = !0, i = !1) {
|
|
381
|
+
return Qt(tn(t, n, r, i), e);
|
|
386
382
|
}
|
|
387
383
|
function un(e, t, n = {}) {
|
|
388
|
-
let { eventFilter: r
|
|
384
|
+
let { eventFilter: r = $t, ...i } = n;
|
|
385
|
+
return F(e, Qt(r, t), i);
|
|
386
|
+
}
|
|
387
|
+
function dn(e, t, n = {}) {
|
|
388
|
+
let { eventFilter: r, initialState: i = "active", ...a } = n, { eventFilter: o, pause: s, resume: c, isActive: l } = nn(r, { initialState: i });
|
|
389
389
|
return {
|
|
390
|
-
stop:
|
|
390
|
+
stop: un(e, t, {
|
|
391
391
|
...a,
|
|
392
392
|
eventFilter: o
|
|
393
393
|
}),
|
|
@@ -396,10 +396,10 @@ function un(e, t, n = {}) {
|
|
|
396
396
|
isActive: l
|
|
397
397
|
};
|
|
398
398
|
}
|
|
399
|
-
function
|
|
400
|
-
|
|
399
|
+
function fn(e, t = !0, n) {
|
|
400
|
+
on(n) ? S(e, n) : t ? e() : v(e);
|
|
401
401
|
}
|
|
402
|
-
function
|
|
402
|
+
function pn(e, t = !1) {
|
|
403
403
|
function n(n, { flush: r = "sync", deep: i = !1, timeout: a, throwOnTimeout: o } = {}) {
|
|
404
404
|
let s = null, c = [new Promise((a) => {
|
|
405
405
|
s = F(e, (e) => {
|
|
@@ -410,7 +410,7 @@ function fn(e, t = !1) {
|
|
|
410
410
|
immediate: !0
|
|
411
411
|
});
|
|
412
412
|
})];
|
|
413
|
-
return a != null && c.push(
|
|
413
|
+
return a != null && c.push(rn(a, o).then(() => N(e)).finally(() => s?.())), Promise.race(c);
|
|
414
414
|
}
|
|
415
415
|
function r(r, i) {
|
|
416
416
|
if (!g(r)) return n((e) => e === r, i);
|
|
@@ -423,7 +423,7 @@ function fn(e, t = !1) {
|
|
|
423
423
|
immediate: !0
|
|
424
424
|
});
|
|
425
425
|
})];
|
|
426
|
-
return s != null && u.push(
|
|
426
|
+
return s != null && u.push(rn(s, c).then(() => N(e)).finally(() => (l?.(), N(e)))), Promise.race(u);
|
|
427
427
|
}
|
|
428
428
|
function i(e) {
|
|
429
429
|
return n((e) => !!e, e);
|
|
@@ -456,7 +456,7 @@ function fn(e, t = !1) {
|
|
|
456
456
|
changed: l,
|
|
457
457
|
changedTimes: u,
|
|
458
458
|
get not() {
|
|
459
|
-
return
|
|
459
|
+
return pn(e, !t);
|
|
460
460
|
}
|
|
461
461
|
} : {
|
|
462
462
|
toMatch: n,
|
|
@@ -468,14 +468,14 @@ function fn(e, t = !1) {
|
|
|
468
468
|
changed: l,
|
|
469
469
|
changedTimes: u,
|
|
470
470
|
get not() {
|
|
471
|
-
return
|
|
471
|
+
return pn(e, !t);
|
|
472
472
|
}
|
|
473
473
|
};
|
|
474
474
|
}
|
|
475
|
-
function
|
|
476
|
-
return
|
|
475
|
+
function mn(e) {
|
|
476
|
+
return pn(e);
|
|
477
477
|
}
|
|
478
|
-
function
|
|
478
|
+
function hn(e, t = 1e3, n = {}) {
|
|
479
479
|
let { immediate: r = !0, immediateCallback: i = !1 } = n, a = null, o = j(!1);
|
|
480
480
|
function s() {
|
|
481
481
|
a &&= (clearInterval(a), null);
|
|
@@ -487,15 +487,15 @@ function mn(e, t = 1e3, n = {}) {
|
|
|
487
487
|
let n = N(t);
|
|
488
488
|
n <= 0 || (o.value = !0, i && e(), s(), o.value && (a = setInterval(e, n)));
|
|
489
489
|
}
|
|
490
|
-
return r &&
|
|
491
|
-
o.value &&
|
|
492
|
-
})),
|
|
490
|
+
return r && Kt && l(), (g(t) || typeof t == "function") && Gt(F(t, () => {
|
|
491
|
+
o.value && Kt && l();
|
|
492
|
+
})), Gt(c), {
|
|
493
493
|
isActive: re(o),
|
|
494
494
|
pause: c,
|
|
495
495
|
resume: l
|
|
496
496
|
};
|
|
497
497
|
}
|
|
498
|
-
function
|
|
498
|
+
function gn(e, t, n) {
|
|
499
499
|
return F(e, t, {
|
|
500
500
|
...n,
|
|
501
501
|
immediate: !0
|
|
@@ -503,46 +503,46 @@ function hn(e, t, n) {
|
|
|
503
503
|
}
|
|
504
504
|
//#endregion
|
|
505
505
|
//#region ../../node_modules/.pnpm/@vueuse+core@14.2.1_vue@3.5.30_typescript@5.7.3_/node_modules/@vueuse/core/dist/index.js
|
|
506
|
-
var
|
|
507
|
-
|
|
506
|
+
var _n = Kt ? window : void 0;
|
|
507
|
+
Kt && window.document, Kt && window.navigator, Kt && window.location;
|
|
508
508
|
function Y(e) {
|
|
509
509
|
let t = N(e);
|
|
510
510
|
return t?.$el ?? t;
|
|
511
511
|
}
|
|
512
|
-
function
|
|
512
|
+
function vn(...e) {
|
|
513
513
|
let t = (e, t, n, r) => (e.addEventListener(t, n, r), () => e.removeEventListener(t, n, r)), r = n(() => {
|
|
514
|
-
let t =
|
|
514
|
+
let t = an(N(e[0])).filter((e) => e != null);
|
|
515
515
|
return t.every((e) => typeof e != "string") ? t : void 0;
|
|
516
516
|
});
|
|
517
|
-
return
|
|
518
|
-
r.value?.map((e) => Y(e)) ?? [
|
|
519
|
-
|
|
520
|
-
|
|
517
|
+
return gn(() => [
|
|
518
|
+
r.value?.map((e) => Y(e)) ?? [_n].filter((e) => e != null),
|
|
519
|
+
an(N(r.value ? e[1] : e[0])),
|
|
520
|
+
an(P(r.value ? e[2] : e[1])),
|
|
521
521
|
N(r.value ? e[3] : e[2])
|
|
522
522
|
], ([e, n, r, i], a, o) => {
|
|
523
523
|
if (!e?.length || !n?.length || !r?.length) return;
|
|
524
|
-
let s =
|
|
524
|
+
let s = Xt(i) ? { ...i } : i, c = e.flatMap((e) => n.flatMap((n) => r.map((r) => t(e, n, r, s))));
|
|
525
525
|
o(() => {
|
|
526
526
|
c.forEach((e) => e());
|
|
527
527
|
});
|
|
528
528
|
}, { flush: "post" });
|
|
529
529
|
}
|
|
530
|
-
function
|
|
530
|
+
function yn() {
|
|
531
531
|
let e = j(!1), t = d();
|
|
532
532
|
return t && S(() => {
|
|
533
533
|
e.value = !0;
|
|
534
534
|
}, t), e;
|
|
535
535
|
}
|
|
536
536
|
/* @__NO_SIDE_EFFECTS__ */
|
|
537
|
-
function
|
|
538
|
-
let t =
|
|
537
|
+
function bn(e) {
|
|
538
|
+
let t = yn();
|
|
539
539
|
return n(() => (t.value, !!e()));
|
|
540
540
|
}
|
|
541
|
-
function
|
|
542
|
-
let { window: i =
|
|
541
|
+
function xn(e, t, r = {}) {
|
|
542
|
+
let { window: i = _n, ...a } = r, o, s = /* @__PURE__ */ bn(() => i && "MutationObserver" in i), c = () => {
|
|
543
543
|
o &&= (o.disconnect(), void 0);
|
|
544
544
|
}, l = F(n(() => {
|
|
545
|
-
let t =
|
|
545
|
+
let t = an(N(e)).map(Y).filter(Jt);
|
|
546
546
|
return new Set(t);
|
|
547
547
|
}), (e) => {
|
|
548
548
|
c(), s.value && e.size && (o = new MutationObserver(t), e.forEach((e) => o.observe(e, a)));
|
|
@@ -552,13 +552,13 @@ function bn(e, t, r = {}) {
|
|
|
552
552
|
}), u = () => o?.takeRecords(), d = () => {
|
|
553
553
|
l(), c();
|
|
554
554
|
};
|
|
555
|
-
return
|
|
555
|
+
return Gt(d), {
|
|
556
556
|
isSupported: s,
|
|
557
557
|
stop: d,
|
|
558
558
|
takeRecords: u
|
|
559
559
|
};
|
|
560
560
|
}
|
|
561
|
-
function
|
|
561
|
+
function Sn(e, t) {
|
|
562
562
|
let { interrupt: n = !0, onError: r = J, onFinished: i = J, signal: a } = t || {}, o = {
|
|
563
563
|
aborted: "aborted",
|
|
564
564
|
fulfilled: "fulfilled",
|
|
@@ -585,23 +585,23 @@ function xn(e, t) {
|
|
|
585
585
|
return;
|
|
586
586
|
}
|
|
587
587
|
let r = u(t).then((t) => (l(o.fulfilled, t), c.value === e.length - 1 && i(), t));
|
|
588
|
-
return a ? Promise.race([r,
|
|
588
|
+
return a ? Promise.race([r, Cn(a)]) : r;
|
|
589
589
|
}).catch((t) => a?.aborted ? (l(o.aborted, t), t) : (l(o.rejected, t), r(), c.value === e.length - 1 && i(), t)), Promise.resolve()), {
|
|
590
590
|
activeIndex: c,
|
|
591
591
|
result: s
|
|
592
592
|
};
|
|
593
593
|
}
|
|
594
|
-
function
|
|
594
|
+
function Cn(e) {
|
|
595
595
|
return new Promise((t, n) => {
|
|
596
596
|
let r = /* @__PURE__ */ Error("aborted");
|
|
597
597
|
e.aborted ? n(r) : e.addEventListener("abort", () => n(r), { once: !0 });
|
|
598
598
|
});
|
|
599
599
|
}
|
|
600
|
-
function
|
|
600
|
+
function wn(e, t, n) {
|
|
601
601
|
let { immediate: r = !0, delay: i = 0, onError: a = globalThis.reportError ?? J, onSuccess: o = J, resetOnExecute: s = !0, shallow: c = !0, throwError: l } = n ?? {}, u = c ? j(t) : D(t), d = j(!1), f = j(!1), p = j(void 0), m = 0;
|
|
602
602
|
async function h(n = 0, ...r) {
|
|
603
603
|
let i = m += 1;
|
|
604
|
-
s && (u.value = N(t)), p.value = void 0, d.value = !1, f.value = !0, n > 0 && await
|
|
604
|
+
s && (u.value = N(t)), p.value = void 0, d.value = !1, f.value = !0, n > 0 && await rn(n);
|
|
605
605
|
let c = typeof e == "function" ? e(...r) : e;
|
|
606
606
|
try {
|
|
607
607
|
let e = await c;
|
|
@@ -623,7 +623,7 @@ function Cn(e, t, n) {
|
|
|
623
623
|
};
|
|
624
624
|
function _() {
|
|
625
625
|
return new Promise((e, t) => {
|
|
626
|
-
|
|
626
|
+
mn(f).toBe(!1).then(() => e(g)).catch(t);
|
|
627
627
|
});
|
|
628
628
|
}
|
|
629
629
|
return {
|
|
@@ -633,11 +633,11 @@ function Cn(e, t, n) {
|
|
|
633
633
|
}
|
|
634
634
|
};
|
|
635
635
|
}
|
|
636
|
-
function
|
|
636
|
+
function Tn(e) {
|
|
637
637
|
return JSON.parse(JSON.stringify(e));
|
|
638
638
|
}
|
|
639
|
-
function
|
|
640
|
-
let { window: i =
|
|
639
|
+
function En(e, t, r = {}) {
|
|
640
|
+
let { window: i = _n, ...a } = r, o, s = /* @__PURE__ */ bn(() => i && "ResizeObserver" in i), c = () => {
|
|
641
641
|
o &&= (o.disconnect(), void 0);
|
|
642
642
|
}, l = F(n(() => {
|
|
643
643
|
let t = N(e);
|
|
@@ -653,13 +653,13 @@ function Tn(e, t, r = {}) {
|
|
|
653
653
|
}), u = () => {
|
|
654
654
|
c(), l();
|
|
655
655
|
};
|
|
656
|
-
return
|
|
656
|
+
return Gt(u), {
|
|
657
657
|
isSupported: s,
|
|
658
658
|
stop: u
|
|
659
659
|
};
|
|
660
660
|
}
|
|
661
|
-
var
|
|
662
|
-
function
|
|
661
|
+
var Dn = 1;
|
|
662
|
+
function On(e, t = {}) {
|
|
663
663
|
let { throttle: r = 0, idle: i = 200, onStop: a = J, onScroll: o = J, offset: s = {
|
|
664
664
|
left: 0,
|
|
665
665
|
right: 0,
|
|
@@ -668,7 +668,7 @@ function Dn(e, t = {}) {
|
|
|
668
668
|
}, observe: c = { mutation: !1 }, eventListenerOptions: l = {
|
|
669
669
|
capture: !1,
|
|
670
670
|
passive: !0
|
|
671
|
-
}, behavior: u = "auto", window: d =
|
|
671
|
+
}, behavior: u = "auto", window: d = _n, onError: f = (e) => {
|
|
672
672
|
console.error(e);
|
|
673
673
|
} } = t, p = typeof c == "boolean" ? { mutation: c } : c, m = j(0), h = j(0), g = n({
|
|
674
674
|
get() {
|
|
@@ -710,21 +710,21 @@ function Dn(e, t = {}) {
|
|
|
710
710
|
bottom: !1
|
|
711
711
|
}), S = (e) => {
|
|
712
712
|
y.value && (y.value = !1, x.left = !1, x.right = !1, x.top = !1, x.bottom = !1, a(e));
|
|
713
|
-
}, C =
|
|
713
|
+
}, C = sn(S, r + i), w = (e) => {
|
|
714
714
|
var t;
|
|
715
715
|
if (!d) return;
|
|
716
716
|
let n = (e == null || (t = e.document) == null ? void 0 : t.documentElement) || e?.documentElement || Y(e), { display: r, flexDirection: i, direction: a } = d.getComputedStyle(n), o = a === "rtl" ? -1 : 1, c = n.scrollLeft;
|
|
717
717
|
x.left = c < m.value, x.right = c > m.value;
|
|
718
|
-
let l = Math.abs(c * o) <= (s.left || 0), u = Math.abs(c * o) + n.clientWidth >= n.scrollWidth - (s.right || 0) -
|
|
718
|
+
let l = Math.abs(c * o) <= (s.left || 0), u = Math.abs(c * o) + n.clientWidth >= n.scrollWidth - (s.right || 0) - Dn;
|
|
719
719
|
r === "flex" && i === "row-reverse" ? (b.left = u, b.right = l) : (b.left = l, b.right = u), m.value = c;
|
|
720
720
|
let f = n.scrollTop;
|
|
721
721
|
e === d.document && !f && (f = d.document.body.scrollTop), x.top = f < h.value, x.bottom = f > h.value;
|
|
722
|
-
let p = Math.abs(f) <= (s.top || 0), g = Math.abs(f) + n.clientHeight >= n.scrollHeight - (s.bottom || 0) -
|
|
722
|
+
let p = Math.abs(f) <= (s.top || 0), g = Math.abs(f) + n.clientHeight >= n.scrollHeight - (s.bottom || 0) - Dn;
|
|
723
723
|
r === "flex" && i === "column-reverse" ? (b.top = g, b.bottom = p) : (b.top = p, b.bottom = g), h.value = f;
|
|
724
724
|
}, T = (e) => {
|
|
725
725
|
d && (w(e.target.documentElement ?? e.target), y.value = !0, C(e), o(e));
|
|
726
726
|
};
|
|
727
|
-
return
|
|
727
|
+
return vn(e, "scroll", r ? ln(T, r, !0, !1) : T, l), fn(() => {
|
|
728
728
|
try {
|
|
729
729
|
let t = N(e);
|
|
730
730
|
if (!t) return;
|
|
@@ -732,14 +732,14 @@ function Dn(e, t = {}) {
|
|
|
732
732
|
} catch (e) {
|
|
733
733
|
f(e);
|
|
734
734
|
}
|
|
735
|
-
}), p?.mutation && e != null && e !== d && e !== document &&
|
|
735
|
+
}), p?.mutation && e != null && e !== d && e !== document && xn(e, () => {
|
|
736
736
|
let t = N(e);
|
|
737
737
|
t && w(t);
|
|
738
738
|
}, {
|
|
739
739
|
attributes: !0,
|
|
740
740
|
childList: !0,
|
|
741
741
|
subtree: !0
|
|
742
|
-
}),
|
|
742
|
+
}), vn(e, "scrollend", S, l), {
|
|
743
743
|
x: g,
|
|
744
744
|
y: _,
|
|
745
745
|
isScrolling: y,
|
|
@@ -751,8 +751,8 @@ function Dn(e, t = {}) {
|
|
|
751
751
|
}
|
|
752
752
|
};
|
|
753
753
|
}
|
|
754
|
-
function
|
|
755
|
-
let { initialValue: n = {}, removeNullishValues: r = !0, removeFalsyValues: i = !1, write: a = !0, writeMode: o = "replace", window: s =
|
|
754
|
+
function kn(e = "history", t = {}) {
|
|
755
|
+
let { initialValue: n = {}, removeNullishValues: r = !0, removeFalsyValues: i = !1, write: a = !0, writeMode: o = "replace", window: s = _n, stringify: c = (e) => e.toString() } = t;
|
|
756
756
|
if (!s) return E(n);
|
|
757
757
|
let l = E({});
|
|
758
758
|
function u() {
|
|
@@ -780,7 +780,7 @@ function On(e = "history", t = {}) {
|
|
|
780
780
|
}
|
|
781
781
|
Array.from(t).forEach((e) => delete l[e]);
|
|
782
782
|
}
|
|
783
|
-
let { pause: m, resume: h } =
|
|
783
|
+
let { pause: m, resume: h } = dn(l, () => {
|
|
784
784
|
let e = new URLSearchParams("");
|
|
785
785
|
Object.keys(l).forEach((t) => {
|
|
786
786
|
let n = l[t];
|
|
@@ -794,15 +794,15 @@ function On(e = "history", t = {}) {
|
|
|
794
794
|
a && g(f(), !0, !1);
|
|
795
795
|
}
|
|
796
796
|
let y = { passive: !0 };
|
|
797
|
-
|
|
797
|
+
vn(s, "popstate", _, y), e !== "history" && vn(s, "hashchange", _, y);
|
|
798
798
|
let b = f();
|
|
799
799
|
return b.keys().next().value ? p(b) : Object.assign(l, n), l;
|
|
800
800
|
}
|
|
801
|
-
function
|
|
801
|
+
function An(e, t, r, i = {}) {
|
|
802
802
|
var a, o;
|
|
803
803
|
let { clone: s = !1, passive: c = !1, eventName: l, deep: u = !1, defaultValue: f, shouldEmit: p } = i, m = d(), h = r || m?.emit || (m == null || (a = m.$emit) == null ? void 0 : a.bind(m)) || (m == null || (o = m.proxy) == null || (o = o.$emit) == null ? void 0 : o.bind(m?.proxy)), g = l;
|
|
804
804
|
t ||= "modelValue", g ||= `update:${t.toString()}`;
|
|
805
|
-
let _ = (e) => s ? typeof s == "function" ? s(e) :
|
|
805
|
+
let _ = (e) => s ? typeof s == "function" ? s(e) : Tn(e) : e, y = () => qt(e[t]) ? _(e[t]) : f, b = (e) => {
|
|
806
806
|
p ? p(e) && h(g, e) : h(g, e);
|
|
807
807
|
};
|
|
808
808
|
if (c) {
|
|
@@ -821,14 +821,14 @@ function kn(e, t, r, i = {}) {
|
|
|
821
821
|
}
|
|
822
822
|
});
|
|
823
823
|
}
|
|
824
|
-
function
|
|
824
|
+
function jn(e, t, n = {}) {
|
|
825
825
|
let r = {};
|
|
826
|
-
for (let i in e) r[i] =
|
|
826
|
+
for (let i in e) r[i] = An(e, i, t, n);
|
|
827
827
|
return r;
|
|
828
828
|
}
|
|
829
829
|
//#endregion
|
|
830
830
|
//#region src/components/calendar/DataProvider.vue
|
|
831
|
-
var
|
|
831
|
+
var Mn = 20, Nn = {
|
|
832
832
|
__name: "DataProvider",
|
|
833
833
|
props: {
|
|
834
834
|
locale: {
|
|
@@ -849,7 +849,7 @@ var jn = 20, Mn = {
|
|
|
849
849
|
}
|
|
850
850
|
},
|
|
851
851
|
setup(e) {
|
|
852
|
-
let t = e, { timezone: r, locale: i } = oe(t), { onError: a } =
|
|
852
|
+
let t = e, { timezone: r, locale: i } = oe(t), { onError: a } = _t(), o = kn("history"), s = D(o.panel || "todaysGames"), c = D(null), l = D(0), u = j({
|
|
853
853
|
firstGame: q,
|
|
854
854
|
lastGame: q
|
|
855
855
|
}), d = j({
|
|
@@ -866,11 +866,11 @@ var jn = 20, Mn = {
|
|
|
866
866
|
})),
|
|
867
867
|
resetOnExecute: !0
|
|
868
868
|
},
|
|
869
|
-
transform: (e) =>
|
|
869
|
+
transform: (e) => It(e, u),
|
|
870
870
|
onError: a
|
|
871
|
-
}), g = n(() =>
|
|
871
|
+
}), g = n(() => Oe(f.value).reverse(s.value === K).schedule(r.value, i.value).more(0, l.value * Mn + Mn).groupByDays().value()), _ = n(() => Vt(...Rt.get(s.value)(u.value.firstGame, u.value.lastGame), s.value === K, i.value));
|
|
872
872
|
F(s, async (e) => {
|
|
873
|
-
let { min: t, max: n, id: r } =
|
|
873
|
+
let { min: t, max: n, id: r } = Lt.get(e)(o.month);
|
|
874
874
|
d.value = {
|
|
875
875
|
min: z(t, "YYYY-MM-DD"),
|
|
876
876
|
max: z(n, "YYYY-MM-DD")
|
|
@@ -880,7 +880,7 @@ var jn = 20, Mn = {
|
|
|
880
880
|
s.value = e, o.panel = e, l.value = 0, o.month = null;
|
|
881
881
|
}
|
|
882
882
|
function y(e) {
|
|
883
|
-
let { min: t, max: n, id: r } =
|
|
883
|
+
let { min: t, max: n, id: r } = Lt.get(s.value)(e.id);
|
|
884
884
|
c.value = r, o.month = r, d.value = {
|
|
885
885
|
min: z(t, "YYYY-MM-DD"),
|
|
886
886
|
max: z(n, "YYYY-MM-DD")
|
|
@@ -892,15 +892,15 @@ var jn = 20, Mn = {
|
|
|
892
892
|
function S() {
|
|
893
893
|
if (!["gamesPlayed", "nextGames"].includes(s.value)) return;
|
|
894
894
|
let { firstGame: e, lastGame: t } = u.value;
|
|
895
|
-
if (
|
|
896
|
-
let { min: e, max: t, id: n } =
|
|
895
|
+
if (ze(q, e)) {
|
|
896
|
+
let { min: e, max: t, id: n } = Lt.get(s.value)(B(_.value)?.id);
|
|
897
897
|
return d.value = {
|
|
898
898
|
min: z(e, "YYYY-MM-DD"),
|
|
899
899
|
max: z(t, "YYYY-MM-DD")
|
|
900
900
|
}, c.value = n, h();
|
|
901
901
|
}
|
|
902
|
-
if (
|
|
903
|
-
let { min: e, max: t, id: n } =
|
|
902
|
+
if (Re(q, t)) {
|
|
903
|
+
let { min: e, max: t, id: n } = Lt.get(s.value)(Ve(_.value)?.id);
|
|
904
904
|
d.value = {
|
|
905
905
|
min: z(e, "YYYY-MM-DD"),
|
|
906
906
|
max: z(t, "YYYY-MM-DD")
|
|
@@ -920,17 +920,17 @@ var jn = 20, Mn = {
|
|
|
920
920
|
changePanel: v
|
|
921
921
|
})));
|
|
922
922
|
}
|
|
923
|
-
},
|
|
923
|
+
}, Pn = Object.defineProperty, X = (e, t) => {
|
|
924
924
|
let n = {};
|
|
925
|
-
for (var r in e)
|
|
925
|
+
for (var r in e) Pn(n, r, {
|
|
926
926
|
get: e[r],
|
|
927
927
|
enumerable: !0
|
|
928
928
|
});
|
|
929
|
-
return t ||
|
|
930
|
-
},
|
|
931
|
-
default: () =>
|
|
932
|
-
render: () =>
|
|
933
|
-
}),
|
|
929
|
+
return t || Pn(n, Symbol.toStringTag, { value: "Module" }), n;
|
|
930
|
+
}, Fn = /* @__PURE__ */ X({
|
|
931
|
+
default: () => Rn,
|
|
932
|
+
render: () => Ln
|
|
933
|
+
}), In = {
|
|
934
934
|
xmlns: "http://www.w3.org/2000/svg",
|
|
935
935
|
viewBox: "0 0 24 24",
|
|
936
936
|
fill: "none",
|
|
@@ -939,8 +939,8 @@ var jn = 20, Mn = {
|
|
|
939
939
|
"stroke-linecap": "round",
|
|
940
940
|
"stroke-linejoin": "round"
|
|
941
941
|
};
|
|
942
|
-
function
|
|
943
|
-
return T(), a("svg",
|
|
942
|
+
function Ln(e, t) {
|
|
943
|
+
return T(), a("svg", In, [...t[0] ||= [
|
|
944
944
|
o("rect", {
|
|
945
945
|
x: "2",
|
|
946
946
|
y: "3",
|
|
@@ -963,23 +963,23 @@ function In(e, t) {
|
|
|
963
963
|
}, null, -1)
|
|
964
964
|
]]);
|
|
965
965
|
}
|
|
966
|
-
var
|
|
967
|
-
default: () =>
|
|
968
|
-
render: () =>
|
|
969
|
-
}),
|
|
966
|
+
var Rn = { render: Ln }, zn = /* @__PURE__ */ X({
|
|
967
|
+
default: () => Hn,
|
|
968
|
+
render: () => Vn
|
|
969
|
+
}), Bn = {
|
|
970
970
|
xmlns: "http://www.w3.org/2000/svg",
|
|
971
971
|
viewBox: "0 0 24 24"
|
|
972
972
|
};
|
|
973
|
-
function
|
|
974
|
-
return T(), a("svg",
|
|
973
|
+
function Vn(e, t) {
|
|
974
|
+
return T(), a("svg", Bn, [...t[0] ||= [o("path", {
|
|
975
975
|
fill: "currentColor",
|
|
976
976
|
d: "M18 19H6a1 1 0 0 1-1-1V6a1 1 0 0 1 1-1h5c.55 0 1-.45 1-1s-.45-1-1-1H5a2 2 0 0 0-2 2v14c0 1.1.9 2 2 2h14a2 2 0 0 0 2-2v-6c0-.55-.45-1-1-1s-1 .45-1 1v5a1 1 0 0 1-1 1M14 4a1 1 0 0 0 1 1h2.59l-9.13 9.13a1 1 0 1 0 1.41 1.41L19 6.41V9c0 .55.45 1 1 1s1-.45 1-1V3h-6a1 1 0 0 0-1 1"
|
|
977
977
|
}, null, -1)]]);
|
|
978
978
|
}
|
|
979
|
-
var
|
|
980
|
-
default: () =>
|
|
981
|
-
render: () =>
|
|
982
|
-
}),
|
|
979
|
+
var Hn = { render: Vn }, Un = /* @__PURE__ */ X({
|
|
980
|
+
default: () => Kn,
|
|
981
|
+
render: () => Gn
|
|
982
|
+
}), Wn = {
|
|
983
983
|
xmlns: "http://www.w3.org/2000/svg",
|
|
984
984
|
viewBox: "0 0 24 24",
|
|
985
985
|
fill: "none",
|
|
@@ -988,26 +988,26 @@ var Vn = { render: Bn }, Hn = /* @__PURE__ */ X({
|
|
|
988
988
|
"stroke-linecap": "round",
|
|
989
989
|
"stroke-linejoin": "round"
|
|
990
990
|
};
|
|
991
|
-
function
|
|
992
|
-
return T(), a("svg",
|
|
991
|
+
function Gn(e, t) {
|
|
992
|
+
return T(), a("svg", Wn, [...t[0] ||= [o("polyline", { points: "15 18 9 12 15 6" }, null, -1)]]);
|
|
993
993
|
}
|
|
994
|
-
var
|
|
995
|
-
default: () =>
|
|
996
|
-
render: () =>
|
|
997
|
-
}),
|
|
994
|
+
var Kn = { render: Gn }, qn = /* @__PURE__ */ X({
|
|
995
|
+
default: () => Xn,
|
|
996
|
+
render: () => Yn
|
|
997
|
+
}), Jn = {
|
|
998
998
|
xmlns: "http://www.w3.org/2000/svg",
|
|
999
999
|
viewBox: "0 0 24 24"
|
|
1000
1000
|
};
|
|
1001
|
-
function
|
|
1002
|
-
return T(), a("svg",
|
|
1001
|
+
function Yn(e, t) {
|
|
1002
|
+
return T(), a("svg", Jn, [...t[0] ||= [o("path", {
|
|
1003
1003
|
fill: "currentColor",
|
|
1004
1004
|
d: "M3 18h18v-2H3zm0-5h18v-2H3zm0-7v2h18V6z"
|
|
1005
1005
|
}, null, -1)]]);
|
|
1006
1006
|
}
|
|
1007
|
-
var
|
|
1008
|
-
default: () =>
|
|
1009
|
-
render: () =>
|
|
1010
|
-
}),
|
|
1007
|
+
var Xn = { render: Yn }, Zn = /* @__PURE__ */ X({
|
|
1008
|
+
default: () => er,
|
|
1009
|
+
render: () => $n
|
|
1010
|
+
}), Qn = {
|
|
1011
1011
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1012
1012
|
viewBox: "0 0 24 24",
|
|
1013
1013
|
fill: "none",
|
|
@@ -1016,13 +1016,13 @@ var Yn = { render: Jn }, Xn = /* @__PURE__ */ X({
|
|
|
1016
1016
|
"stroke-linecap": "round",
|
|
1017
1017
|
"stroke-linejoin": "round"
|
|
1018
1018
|
};
|
|
1019
|
-
function
|
|
1020
|
-
return T(), a("svg",
|
|
1019
|
+
function $n(e, t) {
|
|
1020
|
+
return T(), a("svg", Qn, [...t[0] ||= [o("polyline", { points: "9 18 15 12 9 6" }, null, -1)]]);
|
|
1021
1021
|
}
|
|
1022
|
-
var
|
|
1023
|
-
default: () =>
|
|
1024
|
-
render: () =>
|
|
1025
|
-
}),
|
|
1022
|
+
var er = { render: $n }, tr = /* @__PURE__ */ X({
|
|
1023
|
+
default: () => ir,
|
|
1024
|
+
render: () => rr
|
|
1025
|
+
}), nr = {
|
|
1026
1026
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1027
1027
|
viewBox: "0 0 24 24",
|
|
1028
1028
|
fill: "none",
|
|
@@ -1031,8 +1031,8 @@ var $n = { render: Qn }, er = /* @__PURE__ */ X({
|
|
|
1031
1031
|
"stroke-linecap": "round",
|
|
1032
1032
|
"stroke-linejoin": "round"
|
|
1033
1033
|
};
|
|
1034
|
-
function
|
|
1035
|
-
return T(), a("svg",
|
|
1034
|
+
function rr(e, t) {
|
|
1035
|
+
return T(), a("svg", nr, [...t[0] ||= [
|
|
1036
1036
|
o("path", { d: "M10.29 3.86L1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0z" }, null, -1),
|
|
1037
1037
|
o("line", {
|
|
1038
1038
|
x1: "12",
|
|
@@ -1048,10 +1048,10 @@ function nr(e, t) {
|
|
|
1048
1048
|
}, null, -1)
|
|
1049
1049
|
]]);
|
|
1050
1050
|
}
|
|
1051
|
-
var
|
|
1052
|
-
default: () =>
|
|
1053
|
-
render: () =>
|
|
1054
|
-
}),
|
|
1051
|
+
var ir = { render: rr }, ar = /* @__PURE__ */ X({
|
|
1052
|
+
default: () => cr,
|
|
1053
|
+
render: () => sr
|
|
1054
|
+
}), or = {
|
|
1055
1055
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1056
1056
|
viewBox: "0 0 24 24",
|
|
1057
1057
|
fill: "none",
|
|
@@ -1060,40 +1060,40 @@ var rr = { render: nr }, ir = /* @__PURE__ */ X({
|
|
|
1060
1060
|
"stroke-linecap": "round",
|
|
1061
1061
|
"stroke-linejoin": "round"
|
|
1062
1062
|
};
|
|
1063
|
-
function
|
|
1064
|
-
return T(), a("svg",
|
|
1063
|
+
function sr(e, t) {
|
|
1064
|
+
return T(), a("svg", or, [...t[0] ||= [o("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), o("polygon", { points: "9.75 15.02 15.5 11.75 9.75 8.48 9.75 15.02" }, null, -1)]]);
|
|
1065
1065
|
}
|
|
1066
|
-
var
|
|
1066
|
+
var cr = { render: sr }, lr = {
|
|
1067
1067
|
class: "text-muted text-sm text-center",
|
|
1068
1068
|
style: { "grid-area": "name" }
|
|
1069
|
-
},
|
|
1069
|
+
}, ur = ["href"], dr = ["href"], fr = {
|
|
1070
1070
|
class: "text-muted text-sm text-center",
|
|
1071
1071
|
style: { "grid-area": "date" }
|
|
1072
|
-
},
|
|
1072
|
+
}, pr = {
|
|
1073
1073
|
class: "responsive-team-name",
|
|
1074
1074
|
style: { "grid-area": "home-team" }
|
|
1075
|
-
},
|
|
1075
|
+
}, mr = { class: "text-end text-highlighted font-bold" }, hr = { class: "team-name-short" }, gr = { class: "team-name-long" }, _r = { style: { "grid-area": "home-team-logo" } }, vr = {
|
|
1076
1076
|
class: "text-center",
|
|
1077
1077
|
style: { "grid-area": "game-data" }
|
|
1078
|
-
},
|
|
1078
|
+
}, yr = {
|
|
1079
1079
|
key: 0,
|
|
1080
1080
|
class: "text-xl font-bold text-highlighted"
|
|
1081
|
-
},
|
|
1081
|
+
}, br = ["href", "target"], xr = {
|
|
1082
1082
|
key: 0,
|
|
1083
1083
|
class: "text-xl font-bold"
|
|
1084
|
-
},
|
|
1084
|
+
}, Sr = {
|
|
1085
1085
|
key: 1,
|
|
1086
1086
|
class: "text-xl font-bold"
|
|
1087
|
-
},
|
|
1087
|
+
}, Cr = {
|
|
1088
1088
|
key: 2,
|
|
1089
1089
|
class: "text-xl font-bold"
|
|
1090
|
-
},
|
|
1090
|
+
}, wr = {
|
|
1091
1091
|
key: 1,
|
|
1092
1092
|
class: "text-sm text-muted is-whitespace-nowrap"
|
|
1093
|
-
},
|
|
1093
|
+
}, Tr = { style: { "grid-area": "away-team-logo" } }, Er = {
|
|
1094
1094
|
class: "responsive-team-name",
|
|
1095
1095
|
style: { "grid-area": "away-team" }
|
|
1096
|
-
},
|
|
1096
|
+
}, Dr = { class: "text-highlighted font-bold" }, Or = { key: 0 }, kr = { class: "team-name-short" }, Ar = { class: "team-name-long" }, jr = {
|
|
1097
1097
|
__name: "Item",
|
|
1098
1098
|
props: {
|
|
1099
1099
|
game: {
|
|
@@ -1120,65 +1120,65 @@ var sr = { render: or }, cr = {
|
|
|
1120
1120
|
setup(t) {
|
|
1121
1121
|
let { t: n } = V();
|
|
1122
1122
|
return (l, u) => (T(), a("div", { class: y(["card-item", { "is-optional": t.game.optional }]) }, [
|
|
1123
|
-
o("div",
|
|
1124
|
-
o("a", { href: t.gameLink(t.game) }, M(t.game.gameName), 9,
|
|
1123
|
+
o("div", lr, [
|
|
1124
|
+
o("a", { href: t.gameLink(t.game) }, M(t.game.gameName), 9, ur),
|
|
1125
1125
|
s("\xA0- " + M(t.game.gameNames) + " ", 1),
|
|
1126
1126
|
o("div", null, [
|
|
1127
1127
|
s(M(t.game.location.locationName) + " ", 1),
|
|
1128
1128
|
t.game.broadcast ? (T(), a(e, { key: 0 }, [
|
|
1129
1129
|
u[0] ||= s(" -\xA0", -1),
|
|
1130
|
-
c(P(
|
|
1130
|
+
c(P(Fn), { height: "16" }),
|
|
1131
1131
|
u[1] ||= s("\xA0 ", -1)
|
|
1132
1132
|
], 64)) : i("", !0),
|
|
1133
1133
|
t.game.video ? (T(), a(e, { key: 1 }, [u[2] ||= s(" -\xA0", -1), o("a", {
|
|
1134
1134
|
href: t.game.video,
|
|
1135
1135
|
target: "_blank"
|
|
1136
|
-
}, [c(P(
|
|
1136
|
+
}, [c(P(ar), { height: "18" })], 8, dr)], 64)) : i("", !0)
|
|
1137
1137
|
])
|
|
1138
1138
|
]),
|
|
1139
|
-
o("div",
|
|
1140
|
-
o("div",
|
|
1141
|
-
o("div",
|
|
1139
|
+
o("div", fr, M(P(z)(t.game.gameDate, "L LT", null, t.locale)) + " (" + M(P(He)(t.game.gameDate, t.timezone, t.locale)) + ") ", 1),
|
|
1140
|
+
o("div", pr, [o("div", mr, [o("span", hr, M(t.game.homeTeam.shortName), 1), o("span", gr, M(t.game.homeTeam.longName), 1)])]),
|
|
1141
|
+
o("div", _r, [(T(), r(P(R), {
|
|
1142
1142
|
key: t.game.homeTeam.id,
|
|
1143
1143
|
class: "is-logo-image",
|
|
1144
1144
|
src: t.game.homeTeam.logo
|
|
1145
1145
|
}, null, 8, ["src"]))]),
|
|
1146
|
-
o("div",
|
|
1147
|
-
t.game.gameStatus === 0 ? (T(), a("span",
|
|
1146
|
+
o("div", vr, [
|
|
1147
|
+
t.game.gameStatus === 0 ? (T(), a("span", yr, " - : - ")) : i("", !0),
|
|
1148
1148
|
o("a", {
|
|
1149
1149
|
href: t.gameLink(t.game),
|
|
1150
1150
|
target: t.target,
|
|
1151
1151
|
class: y(["game-result", [{ "is-live": t.game.gameStatus === 1 }]])
|
|
1152
1152
|
}, [
|
|
1153
|
-
t.game.gameStatus > 0 && t.game.gameStatus < 3 ? (T(), a("span",
|
|
1154
|
-
t.game.gameStatus === 3 ? (T(), a("span",
|
|
1155
|
-
t.game.gameStatus === 4 ? (T(), a("span",
|
|
1156
|
-
], 10,
|
|
1157
|
-
t.game.gameStatus > 0 ? (T(), a("div",
|
|
1153
|
+
t.game.gameStatus > 0 && t.game.gameStatus < 3 ? (T(), a("span", xr, M(t.game.homeTeamScore) + " : " + M(t.game.awayTeamScore), 1)) : i("", !0),
|
|
1154
|
+
t.game.gameStatus === 3 ? (T(), a("span", Sr, M(P(n)("game.status.jury")), 1)) : i("", !0),
|
|
1155
|
+
t.game.gameStatus === 4 ? (T(), a("span", Cr, M(P(n)("game.status.delayed")), 1)) : i("", !0)
|
|
1156
|
+
], 10, br),
|
|
1157
|
+
t.game.gameStatus > 0 ? (T(), a("div", wr, M(t.game.periodResults), 1)) : i("", !0)
|
|
1158
1158
|
]),
|
|
1159
|
-
o("div",
|
|
1159
|
+
o("div", Tr, [(T(), r(P(R), {
|
|
1160
1160
|
key: t.game.awayTeam.id,
|
|
1161
1161
|
src: t.game.awayTeam.logo
|
|
1162
1162
|
}, null, 8, ["src"]))]),
|
|
1163
|
-
o("div",
|
|
1164
|
-
Array.isArray(t.game.awayTeam) ? (T(), a("span",
|
|
1165
|
-
o("span",
|
|
1166
|
-
o("span",
|
|
1163
|
+
o("div", Er, [o("div", Dr, [
|
|
1164
|
+
Array.isArray(t.game.awayTeam) ? (T(), a("span", Or, "Torna")) : i("", !0),
|
|
1165
|
+
o("span", kr, M(t.game.awayTeam.shortName), 1),
|
|
1166
|
+
o("span", Ar, M(t.game.awayTeam.longName), 1)
|
|
1167
1167
|
])])
|
|
1168
1168
|
], 2));
|
|
1169
1169
|
}
|
|
1170
|
-
}, Z = "@layer normalize,theme,components.variables,components,utils;:where(:host,:root){--mvw-color-white: #fff;--mvw-color-black: #000;--mvw-color-primary-0: #ffffff;--mvw-color-primary-50: #eceff1;--mvw-color-primary-100: #cfd8dc;--mvw-color-primary-200: #b0bec5;--mvw-color-primary-300: #90a4ae;--mvw-color-primary-400: #78909c;--mvw-color-primary-500: #607d8b;--mvw-color-primary-600: #546e7a;--mvw-color-primary-700: #455a64;--mvw-color-primary-800: #37474f;--mvw-color-primary-900: #263238;--mvw-color-primary-950: #182024}:where(:host,:root){--mvw-color-secondary-100: #dcedc8;--mvw-color-secondary-200: #badb94;--mvw-color-secondary-300: #aed581;--mvw-color-secondary-400: #9ccc65;--mvw-color-secondary-500: #8bc34a;--mvw-color-secondary-700: #689f38;--mvw-color-secondary-800: #558b2f;--mvw-color-secondary-900: #33691e;--mvw-color-secondary-950: #14290c}:where(:host){--radius-1: 2px;--radius-2: 5px;--radius-3: 16px;--radius-4: 32px;--radius-5: 64px;--radius-6: 96px}:where(:host){--font-size-50: .625rem;--font-size-100: .6875rem;--font-size-200: .75rem;--font-size-300: .8125rem;--font-size-400: .875rem;--font-size-500: 1rem;--font-size-600: 1.125rem;--font-size-700: 1.25rem;--font-size-800: 1.5rem;--font-size-900: 1.75rem;--font-size-950: 2rem;--font-lineheight-50: .95;--font-lineheight-100: 1;--font-lineheight-200: 1.1;--font-lineheight-300: 1.25;--font-lineheight-400: 1.375;--font-lineheight-500: 1.5;--font-lineheight-600: 1.75;--font-lineheight-700: 2}:where(:host){--size-1: 1px;--size-2: .125rem;--size-4: .25rem;--size-6: .375rem;--size-8: .5rem;--size-10: .625rem;--size-12: .75rem;--size-16: 1rem;--size-24: 1.5rem;--size-32: 2rem}:where(:host){--shadow-color: 220 3% 15%;--shadow-strength: 1%;--inner-shadow-highlight: inset 0 -.5px 0 0 #fff, inset 0 .5px 0 0 #0001;--shadow-3: 0 -1px 3px 0 hsl(var(--shadow-color) / calc(var(--shadow-strength) + 7%)), 0 1px 2px -5px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 2%)), 0 2px 5px -5px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 4%)), 0 4px 12px -5px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 5%)), 0 12px 15px -5px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 7%));--shadow-6: 0 -1px 2px 0 hsl(var(--shadow-color) / calc(var(--shadow-strength) + 7%)), 0 3px 2px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 3%)), 0 7px 5px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 3%)), 0 12px 10px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 4%)), 0 22px 18px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 5%)), 0 41px 33px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 6%)), 0 100px 80px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 7%))}@media(prefers-color-scheme:dark){:where(:host){--shadow-color: 220 40% 2%;--shadow-strength: 25%;--inner-shadow-highlight: inset 0 -.5px 0 0 #fff1, inset 0 .5px 0 0 #0007}}:where(:host){--ease-spring-1: linear( 0, .009, .035 2.1%, .141, .281 6.7%, .723 12.9%, .938 16.7%, 1.017, 1.077, 1.121, 1.149 24.3%, 1.159, 1.163, 1.161, 1.154 29.9%, 1.129 32.8%, 1.051 39.6%, 1.017 43.1%, .991, .977 51%, .974 53.8%, .975 57.1%, .997 69.8%, 1.003 76.9%, 1.004 83.8%, 1 )}@layer normalize{*,:before,:after{box-sizing:border-box}*{scrollbar-width:thin}:where(img,svg,video,canvas,audio,iframe,embed,object){display:block}:where(img,svg,video){block-size:auto;max-inline-size:100%}:where(img){opacity:0;transition:opacity .5s ease-out}:where(img).is-loaded{opacity:1}:where(svg:not([width])){inline-size:var(--size-16)}:where(input,button,textarea),:where(input[type=file])::-webkit-file-upload-button{color:inherit;font-size:inherit;font:inherit;letter-spacing:inherit}:where(a[href],area,button,[role=button],input,label[for],select,summary,textarea,[tabindex]:not([tabindex*=\"-\"])){-webkit-tap-highlight-color:transparent;touch-action:manipulation}:where(:not(fieldset,progress,meter)){background-origin:border-box;background-repeat:no-repeat;border-style:solid;border-width:0}:where(button){appearance:button;-webkit-appearance:button;background-color:transparent;background-image:none}:where(dd,pre){margin:0}:where(ul,li){margin:0;padding:0}:where(ol,ul){list-style:none}}@layer theme{[data-theme=light],:host-context(.light){color-scheme:only light}[data-theme=dark],:host-context(.dark){color-scheme:only dark}:root,:host{font-family:var(--mvw-font, inherit);--mvw-color-live: #8bc34a;--mvw-color-error: #fb2c36;--mvw-color-warning: #ffc107;--mvw-color-info: #2870ed;--mvw-color-team: #ff6129;--mvw-link-color: light-dark(var(--mvw-color-secondary-700), var(--mvw-color-secondary-400));--mvw-text-pale: light-dark(var(--mvw-color-primary-100), var(--mvw-color-primary-700));--mvw-text-faded: light-dark(var(--mvw-color-primary-200), var(--mvw-color-primary-600));--mvw-text-dimmed: light-dark(var(--mvw-color-primary-400), var(--mvw-color-primary-500));--mvw-text-muted: light-dark(var(--mvw-color-primary-500), var(--mvw-color-primary-400));--mvw-text-toned: light-dark(var(--mvw-color-primary-600), var(--mvw-color-primary-300));--mvw-text-default: light-dark(var(--mvw-color-primary-700), var(--mvw-color-primary-200));--mvw-text-highlighted: light-dark(var(--mvw-color-primary-900), var(--mvw-color-primary-50));--mvw-text-inverted: light-dark(var(--mvw-color-white), var(--mvw-color-primary-950));--mvw-bg-default: light-dark(var(--mvw-color-white), var(--mvw-color-primary-950));--mvw-bg-muted: light-dark(var(--mvw-color-primary-50), var(--mvw-color-primary-900));--mvw-bg-elevated: light-dark(var(--mvw-color-primary-100), var(--mvw-color-primary-800));--mvw-bg-accented: light-dark(var(--mvw-color-primary-200), var(--mvw-color-primary-700));--mvw-bg-highlighted: var(--mvw-color-secondary-500);--mvw-bg-inverted: light-dark(var(--mvw-color-primary-900), var(--mvw-color-primary-50));--mvw-border-faded: light-dark(var(--mvw-color-primary-100), var(--mvw-color-primary-800));--mvw-border-muted: light-dark(var(--mvw-color-primary-200), var(--mvw-color-primary-700));--mvw-border-highlighted: var(--mvw-color-secondary-500)}}@layer components{:where(a[href]){--_lighten: oklch(from var(--mvw-link-color) calc(l*1.15) c h);--_darken: oklch(from var(--mvw-link-color) calc(l*.85) c h);color:var(--mvw-link-color);text-decoration:none}:where(a[href]):hover{color:light-dark(var(--_darken),var(--_lighten))}:where(a[target=_blank]){position:relative}:where(a[target=_blank]):hover:after{transition:all 1s cubic-bezier(.075,.82,.165,1);content:\"\";display:inline-block;margin-inline-start:var(--size-2);background-color:currentColor;-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3C!-- Icon from Lucide by Lucide Contributors - https://github.com/lucide-icons/lucide/blob/main/LICENSE --%3E%3Cpath fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M15 3h6v6m-11 5L21 3m-3 10v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'/%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3C!-- Icon from Lucide by Lucide Contributors - https://github.com/lucide-icons/lucide/blob/main/LICENSE --%3E%3Cpath fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M15 3h6v6m-11 5L21 3m-3 10v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'/%3E%3C/svg%3E\");-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;inline-size:.8em;block-size:.8em}}@layer components{:where(.loading-indicator){padding:var(--size-16);font-weight:600;color:var(--mvw-loading-indicator-text-color, var(--mvw-text-toned));text-align:center}}@layer utils{.font-bold{font-weight:700}.italic{font-style:italic}.uppercase{text-transform:uppercase}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.text-start{text-align:start}.text-end{text-align:end}.text-center{text-align:center}.text-xs{font-size:var(--font-size-200)}.text-sm{font-size:var(--font-size-400)}.text-xl{font-size:var(--font-size-700)}.text-faded{color:var(--mvw-text-faded)}.text-dimmed{color:var(--mvw-text-dimmed)}.text-muted{color:var(--mvw-text-muted)}.text-toned{color:var(--mvw-text-toned)}.text-default{color:var(--mvw-text-default)}.text-highlighted{color:var(--mvw-text-highlighted)}.w-auto{width:auto}.mx-sm{margin-inline:var(--size-8)}.mb-sm{margin-block-end:var(--size-8)}.mb-md{margin-block-end:var(--size-16)}.mb-xl{margin-block-end:calc(var(--size-16) * 2)}.mt-md{margin-block-start:var(--size-16)}.mt-lg{margin-block-start:var(--size-24)}.mt-xl{margin-block-start:calc(var(--size-16) * 2)}.p-sm{padding-block:var(--size-8)}.py-md{padding-block:var(--size-16)}.flex{display:flex}.grid{display:grid}.block{display:block}.rounded{border-radius:1e5px}.sticky{position:sticky;top:var(--mvw-sticky-top-offset, 0);z-index:10}.blured-bg{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.justify-center{justify-items:center}.grid-container{--min-width: 230px;--max-width: 1fr;--gap: var(--size-16);--align-items: center;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(var(--min-width),100%),var(--max-width)));align-items:var(--align-items);gap:var(--gap)}.flex-container{display:flex;flex-wrap:wrap;gap:var(--size-16)}.responsive-team-name{container-type:inline-size;container-name:team-name}.responsive-team-name>*{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.responsive-team-name>* .team-name-short{display:none}@container team-name (max-width: 200px){.responsive-team-name>* .team-name-long{display:none}.responsive-team-name>* .team-name-short{display:inline-block}}}", jr = "@layer components{:where(.card){--_border: none;--_bg-color: light-dark(var(--mvw-color-white), var(--mvw-color-primary-900));container-type:inline-size;container-name:card-wrapper;padding:var(--size-16);background-color:var(--_bg-color);border:var(--_border);border-radius:var(--radius-2);box-shadow:var(--shadow-3)}:where(.card).bordered{--_bg-color: light-dark(var(--mvw-color-primary-50), var(--mvw-color-primary-950));--_border: 1px solid light-dark(var(--mvw-color-primary-100), var(--mvw-color-primary-900));box-shadow:none;border-radius:0}}", Mr = "@layer components.variables{:where(:host){--mvw-color-error-notice-bg-color: color-mix(in oklab, var(--mvw-color-error) 10%, transparent);--mvw-color-error-notice-border-color: color-mix(in oklab, var(--mvw-color-error) 25%, transparent);--mvw-color-error-notice-color: var(--mvw-color-error)}}@layer components{:where(.error-notice){display:flex;align-items:center;justify-items:flex-start;gap:15px;margin:10px 0;padding:10px 20px;background-color:var(--mvw-color-error-notice-bg-color);color:var(--mvw-color-error-notice-color);border:1px solid var(--mvw-color-error-notice-border-color);border-radius:var(--radius-2)}:where(.error-notice) button{text-decoration:underline}}", Nr = "@layer components.variables{:where(:host){--mvw-tab-btn-font-size: var(--font-size-500);--mvw-tab-btn-font-weight: 500;--mvw-tab-btn-color: var(--mvw-text-dimmed);--mvw-tab-btn-border-style: solid;--mvw-tab-btn-border-width: 0 0 3px 0;--mvw-tab-btn-text-transform: uppercase;--mvw-tab-btn-hover-color: var(--mvw-text-muted);--mvw-tab-btn-hover-border-color: transparent;--mvw-tab-btn-active-color: var(--mvw-text-highlighted);--mvw-tab-btn-active-border-color: var(--mvw-border-highlighted);--mvw-tab-btn-group-separator-color: var(--mvw-border-muted);--mvw-toggle-group-gap: var(--size-6);--mvw-toggle-group-nav-padding: 0;--mvw-toggle-group-border-width: 0;--mvw-toggle-group-btn-padding: var(--size-4) var(--size-8);--mvw-toggle-group-btn-size: var(--font-size-400);--mvw-toggle-group-btn-color: light-dark(var(--mvw-color-primary-900), var(--mvw-color-primary-100));--mvw-toggle-group-btn-bg-color: light-dark(var(--mvw-color-primary-50), var(--mvw-color-primary-900));--mvw-toggle-group-btn-active-color: var(--mvw-color-primary-0);--mvw-toggle-group-btn-active-bg-color: var(--mvw-bg-highlighted);--mvw-toggle-group-btn-radius: var(--radius-2)}}@layer components{:where(nav.tabs)>[role=tablist] button{outline-color:transparent;outline-offset:-4px}:where(nav.tabs)>[role=tablist] button:focus-visible{outline:2px solid blue}:where(nav.tabs).underlined>[role=tablist]{border-bottom:1px solid var(--mvw-tab-btn-group-separator-color)}:where(nav.tabs).underlined>[role=tablist] button{background:transparent;color:var(--mvw-tab-btn-color);font-weight:var(--mvw-tab-btn-font-weight);line-height:var(--font-lineheight-4);padding:var(--size-8) var(--size-16);text-transform:var(--mvw-tab-btn-text-transform)}:where(nav.tabs).underlined>[role=tablist] button:focus-visible{border-radius:0}:where(nav.tabs).underlined>[role=tablist] button[aria-selected=true]{border-block-end:3px solid var(--mvw-tab-btn-active-border-color);color:var(--mvw-tab-btn-active-color)}:where(nav.tabs).underlined>[role=tablist] button[aria-selected=false]:hover{color:var(--mvw-tab-btn-hover-color)}:where(nav.tabs).filled>[role=tablist]{display:flex;gap:var(--mvw-toggle-group-gap);border:var(--mvw-toggle-group-border-width) solid var(--mvw-border-muted);border-radius:calc(var(--mvw-toggle-group-btn-radius) + var(--mvw-toggle-group-nav-padding));overflow:hidden;padding:var(--mvw-toggle-group-nav-padding);width:fit-content}:where(nav.tabs).filled>[role=tablist] button{background-color:var(--mvw-toggle-group-btn-bg-color);border-radius:var(--mvw-toggle-group-btn-radius);font-size:var(--mvw-toggle-group-btn-size);color:var(--mvw-toggle-group-btn-color);padding:var(--mvw-toggle-group-btn-padding)}:where(nav.tabs).filled>[role=tablist] button[aria-selected=true]{color:var(--mvw-toggle-group-btn-active-color);background-color:var(--mvw-toggle-group-btn-active-bg-color)}}", Pr = "@layer components{:where(h1,.h1,h2,.h2,h3,.h3,h4,.h4,h5,.h5,h6,.h6){color:var(--mvw-text-highlighted);font-weight:700;text-wrap:pretty}:where(h1,.h1){font-size:var(--font-size-h1, var(--font-size-700));letter-spacing:-.02em;line-height:1.15}:where(h2,.h2){font-size:var(--font-size-h2, var(--font-size-5, 2rem));letter-spacing:-.02em;line-height:1.2}:where(h3,.h3){font-size:var(--font-size-h3, var(--font-size-4, 1.5rem));letter-spacing:-.01em;line-height:1.167}:where(h4,.h4){font-size:var(--font-size-h4, var(--font-size-3, 1.25rem));letter-spacing:-.01em;line-height:1.235}:where(h5,.h5){font-size:var(--font-size-h5, var(--font-size-2, 1.1rem));line-height:1.334}:where(h6,.h6){font-size:var(--font-size-h6, var(--font-size-500, 1rem));line-height:1}}", Fr = "@layer components{:where(.card-item){--_grid-template-areas: \"name name name name name\" \"date date date date date\" \"home-team home-team-logo game-data away-team-logo away-team\";display:grid;grid-gap:var(--size-8);grid-template-columns:1fr 20px 1.5fr 20px 1fr;grid-template-areas:var(--_grid-template-areas);padding:var(--size-16);align-items:center}:where(.card-item):not(:last-of-type){border-bottom:1px solid var(--mvw-border-faded)}:where(.card-item) img{display:block;width:100%;aspect-ratio:1}:where(.card-item) svg{display:inline-block;vertical-align:middle}:where(.card-item) :where(a[target=_blank]):hover:after{content:none}:where(.card-item) .game-result{color:var(--mvw-text-highlighted)}:where(.card-item) .game-result.is-live{color:var(--mvw-color-live)}@container card-wrapper (width > 768px){:where(.card-item){grid-template-columns:2fr 40px 1fr 40px 2fr}}}", Q = (e, t) => {
|
|
1170
|
+
}, Z = "@layer normalize,theme,components.variables,components,utils;:where(:host,:root){--mvw-color-white: #fff;--mvw-color-black: #000;--mvw-color-primary-0: #ffffff;--mvw-color-primary-50: #eceff1;--mvw-color-primary-100: #cfd8dc;--mvw-color-primary-200: #b0bec5;--mvw-color-primary-300: #90a4ae;--mvw-color-primary-400: #78909c;--mvw-color-primary-500: #607d8b;--mvw-color-primary-600: #546e7a;--mvw-color-primary-700: #455a64;--mvw-color-primary-800: #37474f;--mvw-color-primary-900: #263238;--mvw-color-primary-950: #182024}:where(:host,:root){--mvw-color-secondary-100: #dcedc8;--mvw-color-secondary-200: #badb94;--mvw-color-secondary-300: #aed581;--mvw-color-secondary-400: #9ccc65;--mvw-color-secondary-500: #8bc34a;--mvw-color-secondary-700: #689f38;--mvw-color-secondary-800: #558b2f;--mvw-color-secondary-900: #33691e;--mvw-color-secondary-950: #14290c}:where(:host){--radius-1: 2px;--radius-2: 5px;--radius-3: 16px;--radius-4: 32px;--radius-5: 64px;--radius-6: 96px}:where(:host){--font-size-50: .625rem;--font-size-100: .6875rem;--font-size-200: .75rem;--font-size-300: .8125rem;--font-size-400: .875rem;--font-size-500: 1rem;--font-size-600: 1.125rem;--font-size-700: 1.25rem;--font-size-800: 1.5rem;--font-size-900: 1.75rem;--font-size-950: 2rem;--font-lineheight-50: .95;--font-lineheight-100: 1;--font-lineheight-200: 1.1;--font-lineheight-300: 1.25;--font-lineheight-400: 1.375;--font-lineheight-500: 1.5;--font-lineheight-600: 1.75;--font-lineheight-700: 2}:where(:host){--size-1: 1px;--size-2: .125rem;--size-4: .25rem;--size-6: .375rem;--size-8: .5rem;--size-10: .625rem;--size-12: .75rem;--size-16: 1rem;--size-24: 1.5rem;--size-32: 2rem}:where(:host){--shadow-color: 220 3% 15%;--shadow-strength: 1%;--inner-shadow-highlight: inset 0 -.5px 0 0 #fff, inset 0 .5px 0 0 #0001;--shadow-3: 0 -1px 3px 0 hsl(var(--shadow-color) / calc(var(--shadow-strength) + 7%)), 0 1px 2px -5px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 2%)), 0 2px 5px -5px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 4%)), 0 4px 12px -5px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 5%)), 0 12px 15px -5px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 7%));--shadow-6: 0 -1px 2px 0 hsl(var(--shadow-color) / calc(var(--shadow-strength) + 7%)), 0 3px 2px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 3%)), 0 7px 5px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 3%)), 0 12px 10px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 4%)), 0 22px 18px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 5%)), 0 41px 33px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 6%)), 0 100px 80px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 7%))}@media(prefers-color-scheme:dark){:where(:host){--shadow-color: 220 40% 2%;--shadow-strength: 25%;--inner-shadow-highlight: inset 0 -.5px 0 0 #fff1, inset 0 .5px 0 0 #0007}}:where(:host){--ease-spring-1: linear( 0, .009, .035 2.1%, .141, .281 6.7%, .723 12.9%, .938 16.7%, 1.017, 1.077, 1.121, 1.149 24.3%, 1.159, 1.163, 1.161, 1.154 29.9%, 1.129 32.8%, 1.051 39.6%, 1.017 43.1%, .991, .977 51%, .974 53.8%, .975 57.1%, .997 69.8%, 1.003 76.9%, 1.004 83.8%, 1 )}@layer normalize{*,:before,:after{box-sizing:border-box}*{scrollbar-width:thin}:where(img,svg,video,canvas,audio,iframe,embed,object){display:block}:where(img,svg,video){block-size:auto;max-inline-size:100%}:where(img){opacity:0;transition:opacity .5s ease-out}:where(img).is-loaded{opacity:1}:where(svg:not([width])){inline-size:var(--size-16)}:where(input,button,textarea),:where(input[type=file])::-webkit-file-upload-button{color:inherit;font-size:inherit;font:inherit;letter-spacing:inherit}:where(a[href],area,button,[role=button],input,label[for],select,summary,textarea,[tabindex]:not([tabindex*=\"-\"])){-webkit-tap-highlight-color:transparent;touch-action:manipulation}:where(:not(fieldset,progress,meter)){background-origin:border-box;background-repeat:no-repeat;border-style:solid;border-width:0}:where(button){appearance:button;-webkit-appearance:button;background-color:transparent;background-image:none}:where(dd,pre){margin:0}:where(ul,li){margin:0;padding:0}:where(ol,ul){list-style:none}}@layer theme{[data-theme=light],:host-context(.light){color-scheme:only light}[data-theme=dark],:host-context(.dark){color-scheme:only dark}:root,:host{font-family:var(--mvw-font, inherit);--mvw-color-live: #8bc34a;--mvw-color-error: #fb2c36;--mvw-color-warning: #ffc107;--mvw-color-info: #2870ed;--mvw-color-team: #ff6129;--mvw-link-color: light-dark(var(--mvw-color-secondary-700), var(--mvw-color-secondary-400));--mvw-text-pale: light-dark(var(--mvw-color-primary-100), var(--mvw-color-primary-700));--mvw-text-faded: light-dark(var(--mvw-color-primary-200), var(--mvw-color-primary-600));--mvw-text-dimmed: light-dark(var(--mvw-color-primary-400), var(--mvw-color-primary-500));--mvw-text-muted: light-dark(var(--mvw-color-primary-500), var(--mvw-color-primary-400));--mvw-text-toned: light-dark(var(--mvw-color-primary-600), var(--mvw-color-primary-300));--mvw-text-default: light-dark(var(--mvw-color-primary-700), var(--mvw-color-primary-200));--mvw-text-highlighted: light-dark(var(--mvw-color-primary-900), var(--mvw-color-primary-50));--mvw-text-inverted: light-dark(var(--mvw-color-white), var(--mvw-color-primary-950));--mvw-bg-default: light-dark(var(--mvw-color-white), var(--mvw-color-primary-950));--mvw-bg-muted: light-dark(var(--mvw-color-primary-50), var(--mvw-color-primary-900));--mvw-bg-elevated: light-dark(var(--mvw-color-primary-100), var(--mvw-color-primary-800));--mvw-bg-accented: light-dark(var(--mvw-color-primary-200), var(--mvw-color-primary-700));--mvw-bg-highlighted: var(--mvw-color-secondary-500);--mvw-bg-inverted: light-dark(var(--mvw-color-primary-900), var(--mvw-color-primary-50));--mvw-border-faded: light-dark(var(--mvw-color-primary-100), var(--mvw-color-primary-800));--mvw-border-muted: light-dark(var(--mvw-color-primary-200), var(--mvw-color-primary-700));--mvw-border-highlighted: var(--mvw-color-secondary-500)}}@layer components{:where(a[href]){--_lighten: oklch(from var(--mvw-link-color) calc(l*1.15) c h);--_darken: oklch(from var(--mvw-link-color) calc(l*.85) c h);color:var(--mvw-link-color);text-decoration:none}:where(a[href]):hover{color:light-dark(var(--_darken),var(--_lighten))}:where(a[target=_blank]){position:relative}:where(a[target=_blank]):hover:after{transition:all 1s cubic-bezier(.075,.82,.165,1);content:\"\";display:inline-block;margin-inline-start:var(--size-2);background-color:currentColor;-webkit-mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3C!-- Icon from Lucide by Lucide Contributors - https://github.com/lucide-icons/lucide/blob/main/LICENSE --%3E%3Cpath fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M15 3h6v6m-11 5L21 3m-3 10v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'/%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3C!-- Icon from Lucide by Lucide Contributors - https://github.com/lucide-icons/lucide/blob/main/LICENSE --%3E%3Cpath fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M15 3h6v6m-11 5L21 3m-3 10v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'/%3E%3C/svg%3E\");-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;inline-size:.8em;block-size:.8em}}@layer components{:where(.loading-indicator){padding:var(--size-16);font-weight:600;color:var(--mvw-loading-indicator-text-color, var(--mvw-text-toned));text-align:center}}@layer utils{.font-bold{font-weight:700}.italic{font-style:italic}.uppercase{text-transform:uppercase}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.text-start{text-align:start}.text-end{text-align:end}.text-center{text-align:center}.text-xs{font-size:var(--font-size-200)}.text-sm{font-size:var(--font-size-400)}.text-xl{font-size:var(--font-size-700)}.text-faded{color:var(--mvw-text-faded)}.text-dimmed{color:var(--mvw-text-dimmed)}.text-muted{color:var(--mvw-text-muted)}.text-toned{color:var(--mvw-text-toned)}.text-default{color:var(--mvw-text-default)}.text-highlighted{color:var(--mvw-text-highlighted)}.w-auto{width:auto}.mx-sm{margin-inline:var(--size-8)}.mb-sm{margin-block-end:var(--size-8)}.mb-md{margin-block-end:var(--size-16)}.mb-xl{margin-block-end:calc(var(--size-16) * 2)}.mt-md{margin-block-start:var(--size-16)}.mt-lg{margin-block-start:var(--size-24)}.mt-xl{margin-block-start:calc(var(--size-16) * 2)}.p-sm{padding-block:var(--size-8)}.py-md{padding-block:var(--size-16)}.flex{display:flex}.grid{display:grid}.block{display:block}.rounded{border-radius:1e5px}.sticky{position:sticky;top:var(--mvw-sticky-top-offset, 0);z-index:10}.blured-bg{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.justify-center{justify-items:center}.grid-container{--min-width: 230px;--max-width: 1fr;--gap: var(--size-16);--align-items: center;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(var(--min-width),100%),var(--max-width)));align-items:var(--align-items);gap:var(--gap)}.flex-container{display:flex;flex-wrap:wrap;gap:var(--size-16)}.responsive-team-name{container-type:inline-size;container-name:team-name}.responsive-team-name>*{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.responsive-team-name>* .team-name-short{display:none}@container team-name (max-width: 200px){.responsive-team-name>* .team-name-long{display:none}.responsive-team-name>* .team-name-short{display:inline-block}}}", Mr = "@layer components{:where(.card){--_border: none;--_bg-color: light-dark(var(--mvw-color-white), var(--mvw-color-primary-900));container-type:inline-size;container-name:card-wrapper;padding:var(--size-16);background-color:var(--_bg-color);border:var(--_border);border-radius:var(--radius-2);box-shadow:var(--shadow-3)}:where(.card).bordered{--_bg-color: light-dark(var(--mvw-color-primary-50), var(--mvw-color-primary-950));--_border: 1px solid light-dark(var(--mvw-color-primary-100), var(--mvw-color-primary-900));box-shadow:none;border-radius:0}}", Nr = "@layer components.variables{:where(:host){--mvw-color-error-notice-bg-color: color-mix(in oklab, var(--mvw-color-error) 10%, transparent);--mvw-color-error-notice-border-color: color-mix(in oklab, var(--mvw-color-error) 25%, transparent);--mvw-color-error-notice-color: var(--mvw-color-error)}}@layer components{:where(.error-notice){display:flex;align-items:center;justify-items:flex-start;gap:15px;margin:10px 0;padding:10px 20px;background-color:var(--mvw-color-error-notice-bg-color);color:var(--mvw-color-error-notice-color);border:1px solid var(--mvw-color-error-notice-border-color);border-radius:var(--radius-2)}:where(.error-notice) button{text-decoration:underline}}", Pr = "@layer components.variables{:where(:host){--mvw-tab-btn-font-size: var(--font-size-500);--mvw-tab-btn-font-weight: 500;--mvw-tab-btn-color: var(--mvw-text-dimmed);--mvw-tab-btn-border-style: solid;--mvw-tab-btn-border-width: 0 0 3px 0;--mvw-tab-btn-text-transform: uppercase;--mvw-tab-btn-hover-color: var(--mvw-text-muted);--mvw-tab-btn-hover-border-color: transparent;--mvw-tab-btn-active-color: var(--mvw-text-highlighted);--mvw-tab-btn-active-border-color: var(--mvw-border-highlighted);--mvw-tab-btn-group-separator-color: var(--mvw-border-muted);--mvw-toggle-group-gap: var(--size-6);--mvw-toggle-group-nav-padding: 0;--mvw-toggle-group-border-width: 0;--mvw-toggle-group-btn-padding: var(--size-4) var(--size-8);--mvw-toggle-group-btn-size: var(--font-size-400);--mvw-toggle-group-btn-color: light-dark(var(--mvw-color-primary-900), var(--mvw-color-primary-100));--mvw-toggle-group-btn-bg-color: light-dark(var(--mvw-color-primary-50), var(--mvw-color-primary-900));--mvw-toggle-group-btn-active-color: var(--mvw-color-primary-0);--mvw-toggle-group-btn-active-bg-color: var(--mvw-bg-highlighted);--mvw-toggle-group-btn-radius: var(--radius-2)}}@layer components{:where(nav.tabs)>[role=tablist] button{outline-color:transparent;outline-offset:-4px}:where(nav.tabs)>[role=tablist] button:focus-visible{outline:2px solid blue}:where(nav.tabs).underlined>[role=tablist]{border-bottom:1px solid var(--mvw-tab-btn-group-separator-color)}:where(nav.tabs).underlined>[role=tablist] button{background:transparent;color:var(--mvw-tab-btn-color);font-weight:var(--mvw-tab-btn-font-weight);line-height:var(--font-lineheight-4);padding:var(--size-8) var(--size-16);text-transform:var(--mvw-tab-btn-text-transform)}:where(nav.tabs).underlined>[role=tablist] button:focus-visible{border-radius:0}:where(nav.tabs).underlined>[role=tablist] button[aria-selected=true]{border-block-end:3px solid var(--mvw-tab-btn-active-border-color);color:var(--mvw-tab-btn-active-color)}:where(nav.tabs).underlined>[role=tablist] button[aria-selected=false]:hover{color:var(--mvw-tab-btn-hover-color)}:where(nav.tabs).filled>[role=tablist]{display:flex;gap:var(--mvw-toggle-group-gap);border:var(--mvw-toggle-group-border-width) solid var(--mvw-border-muted);border-radius:calc(var(--mvw-toggle-group-btn-radius) + var(--mvw-toggle-group-nav-padding));overflow:hidden;padding:var(--mvw-toggle-group-nav-padding);width:fit-content}:where(nav.tabs).filled>[role=tablist] button{background-color:var(--mvw-toggle-group-btn-bg-color);border-radius:var(--mvw-toggle-group-btn-radius);font-size:var(--mvw-toggle-group-btn-size);color:var(--mvw-toggle-group-btn-color);padding:var(--mvw-toggle-group-btn-padding)}:where(nav.tabs).filled>[role=tablist] button[aria-selected=true]{color:var(--mvw-toggle-group-btn-active-color);background-color:var(--mvw-toggle-group-btn-active-bg-color)}}", Fr = "@layer components{:where(h1,.h1,h2,.h2,h3,.h3,h4,.h4,h5,.h5,h6,.h6){color:var(--mvw-text-highlighted);font-weight:700;text-wrap:pretty}:where(h1,.h1){font-size:var(--font-size-h1, var(--font-size-700));letter-spacing:-.02em;line-height:1.15}:where(h2,.h2){font-size:var(--font-size-h2, var(--font-size-5, 2rem));letter-spacing:-.02em;line-height:1.2}:where(h3,.h3){font-size:var(--font-size-h3, var(--font-size-4, 1.5rem));letter-spacing:-.01em;line-height:1.167}:where(h4,.h4){font-size:var(--font-size-h4, var(--font-size-3, 1.25rem));letter-spacing:-.01em;line-height:1.235}:where(h5,.h5){font-size:var(--font-size-h5, var(--font-size-2, 1.1rem));line-height:1.334}:where(h6,.h6){font-size:var(--font-size-h6, var(--font-size-500, 1rem));line-height:1}}", Ir = "@layer components{:where(.card-item){--_grid-template-areas: \"name name name name name\" \"date date date date date\" \"home-team home-team-logo game-data away-team-logo away-team\";display:grid;grid-gap:var(--size-8);grid-template-columns:1fr 20px 1.5fr 20px 1fr;grid-template-areas:var(--_grid-template-areas);padding:var(--size-16);align-items:center}:where(.card-item):not(:last-of-type){border-bottom:1px solid var(--mvw-border-faded)}:where(.card-item) img{display:block;width:100%;aspect-ratio:1}:where(.card-item) svg{display:inline-block;vertical-align:middle}:where(.card-item) :where(a[target=_blank]):hover:after{content:none}:where(.card-item) .game-result{color:var(--mvw-text-highlighted)}:where(.card-item) .game-result.is-live{color:var(--mvw-color-live)}@container card-wrapper (width > 768px){:where(.card-item){grid-template-columns:2fr 40px 1fr 40px 2fr}}}", Q = (e, t) => {
|
|
1171
1171
|
let n = e.__vccOpts || e;
|
|
1172
1172
|
for (let [e, r] of t) n[e] = r;
|
|
1173
1173
|
return n;
|
|
1174
|
-
},
|
|
1174
|
+
}, Lr = { class: "tabs underlined mb-md" }, Rr = ["aria-label"], zr = ["aria-selected", "onClick"], Br = ["aria-selected", "onClick"], Vr = ["aria-selected", "onClick"], Hr = ["aria-selected", "onClick"], Ur = { class: "tabs filled mb-md" }, Wr = ["aria-label"], Gr = [
|
|
1175
1175
|
"aria-selected",
|
|
1176
1176
|
"disabled",
|
|
1177
1177
|
"onClick"
|
|
1178
|
-
],
|
|
1178
|
+
], Kr = {
|
|
1179
1179
|
key: 0,
|
|
1180
1180
|
class: "text-center text-muted"
|
|
1181
|
-
},
|
|
1181
|
+
}, qr = ["data-gamedate"], Jr = { class: "block h6 text-highlighted mt-xl mb-md" }, Yr = { class: "card" }, Xr = ["onClick"], Zr = /* @__PURE__ */ Q({
|
|
1182
1182
|
__name: "Calendar.ce",
|
|
1183
1183
|
props: {
|
|
1184
1184
|
locale: {
|
|
@@ -1199,7 +1199,7 @@ var sr = { render: or }, cr = {
|
|
|
1199
1199
|
let s = t, l = {
|
|
1200
1200
|
en: W,
|
|
1201
1201
|
hu: G
|
|
1202
|
-
}, u = D(
|
|
1202
|
+
}, u = D(Le()), d = n(() => s.isGameTargetExternal ? "_blank" : "_self"), f = (e) => Ne(s.externalGameResolver || "/game/id/{id}", e);
|
|
1203
1203
|
return (n, p) => (T(), r(P(L), {
|
|
1204
1204
|
locale: s.locale,
|
|
1205
1205
|
messages: l
|
|
@@ -1208,14 +1208,14 @@ var sr = { render: or }, cr = {
|
|
|
1208
1208
|
default: I(({ error: l, hasError: p }) => [p ? (T(), r(P(he), {
|
|
1209
1209
|
key: 0,
|
|
1210
1210
|
error: l
|
|
1211
|
-
}, null, 8, ["error"])) : i("", !0), c(
|
|
1211
|
+
}, null, 8, ["error"])) : i("", !0), c(Nn, {
|
|
1212
1212
|
locale: s.locale,
|
|
1213
1213
|
timezone: u.value,
|
|
1214
1214
|
"season-id": t.seasonId,
|
|
1215
1215
|
"api-key": t.apiKey
|
|
1216
1216
|
}, {
|
|
1217
1217
|
default: I(({ games: s, months: c, isLoading: l, selectedPanel: p, selectedMonth: m, more: h, setMonth: g, changePanel: _ }) => [
|
|
1218
|
-
o("nav",
|
|
1218
|
+
o("nav", Lr, [o("div", {
|
|
1219
1219
|
id: "top",
|
|
1220
1220
|
role: "tablist",
|
|
1221
1221
|
"aria-label": n("selection.sections"),
|
|
@@ -1226,27 +1226,27 @@ var sr = { render: or }, cr = {
|
|
|
1226
1226
|
type: "button",
|
|
1227
1227
|
"aria-selected": p === P(K),
|
|
1228
1228
|
onClick: (e) => _(P(K))
|
|
1229
|
-
}, M(n("calendar.gamesPlayed")), 9,
|
|
1230
|
-
o("button", {
|
|
1231
|
-
role: "tab",
|
|
1232
|
-
type: "button",
|
|
1233
|
-
"aria-selected": p === P(Mt),
|
|
1234
|
-
onClick: (e) => _(P(Mt))
|
|
1235
|
-
}, M(n("calendar.todaysGames")), 9, zr),
|
|
1229
|
+
}, M(n("calendar.gamesPlayed")), 9, zr),
|
|
1236
1230
|
o("button", {
|
|
1237
1231
|
role: "tab",
|
|
1238
1232
|
type: "button",
|
|
1239
1233
|
"aria-selected": p === P(Nt),
|
|
1240
1234
|
onClick: (e) => _(P(Nt))
|
|
1241
|
-
}, M(n("calendar.
|
|
1235
|
+
}, M(n("calendar.todaysGames")), 9, Br),
|
|
1242
1236
|
o("button", {
|
|
1243
1237
|
role: "tab",
|
|
1244
1238
|
type: "button",
|
|
1245
1239
|
"aria-selected": p === P(Pt),
|
|
1246
1240
|
onClick: (e) => _(P(Pt))
|
|
1247
|
-
}, M(n("calendar.
|
|
1248
|
-
|
|
1249
|
-
|
|
1241
|
+
}, M(n("calendar.nextGames")), 9, Vr),
|
|
1242
|
+
o("button", {
|
|
1243
|
+
role: "tab",
|
|
1244
|
+
type: "button",
|
|
1245
|
+
"aria-selected": p === P(Ft),
|
|
1246
|
+
onClick: (e) => _(P(Ft))
|
|
1247
|
+
}, M(n("calendar.weekGames")), 9, Hr)
|
|
1248
|
+
], 8, Rr)]),
|
|
1249
|
+
o("nav", Ur, [o("div", {
|
|
1250
1250
|
role: "tablist",
|
|
1251
1251
|
"aria-label": n("selection.sections")
|
|
1252
1252
|
}, [(T(!0), a(e, null, O(c, (e) => (T(), a("button", {
|
|
@@ -1255,12 +1255,12 @@ var sr = { render: or }, cr = {
|
|
|
1255
1255
|
"aria-selected": m === e.id,
|
|
1256
1256
|
disabled: l,
|
|
1257
1257
|
onClick: (t) => g(e)
|
|
1258
|
-
}, M(e.name), 9,
|
|
1259
|
-
s.totalItems === 0 && !l ? (T(), a("div",
|
|
1258
|
+
}, M(e.name), 9, Gr))), 128))], 8, Wr)]),
|
|
1259
|
+
s.totalItems === 0 && !l ? (T(), a("div", Kr, M(n("calendar.noGame")), 1)) : i("", !0),
|
|
1260
1260
|
o("div", null, [l ? (T(), r(P(be), { key: 0 })) : i("", !0), (T(!0), a(e, null, O(s.rows, (n, i) => (T(), a("div", {
|
|
1261
1261
|
key: i,
|
|
1262
1262
|
"data-gamedate": i
|
|
1263
|
-
}, [o("span",
|
|
1263
|
+
}, [o("span", Jr, M(P(z)(new Date(i), "LL dddd", u.value, t.locale)), 1), o("div", Yr, [(T(!0), a(e, null, O(n, (e) => (T(), r(jr, {
|
|
1264
1264
|
key: e.id,
|
|
1265
1265
|
game: e,
|
|
1266
1266
|
locale: t.locale,
|
|
@@ -1272,13 +1272,13 @@ var sr = { render: or }, cr = {
|
|
|
1272
1272
|
"locale",
|
|
1273
1273
|
"timezone",
|
|
1274
1274
|
"target"
|
|
1275
|
-
]))), 128))])], 8,
|
|
1275
|
+
]))), 128))])], 8, qr))), 128))]),
|
|
1276
1276
|
!l && s.currentItems < s.totalItems ? (T(), r(P(_e), {
|
|
1277
1277
|
key: 1,
|
|
1278
1278
|
options: { rootMargin: "400px" },
|
|
1279
1279
|
onIntersect: h
|
|
1280
1280
|
}, {
|
|
1281
|
-
default: I(() => [o("button", { onClick: h }, M(n("calendar.more")), 9,
|
|
1281
|
+
default: I(() => [o("button", { onClick: h }, M(n("calendar.more")), 9, Xr)]),
|
|
1282
1282
|
_: 2
|
|
1283
1283
|
}, 1032, ["onIntersect"])) : i("", !0)
|
|
1284
1284
|
]),
|
|
@@ -1296,12 +1296,12 @@ var sr = { render: or }, cr = {
|
|
|
1296
1296
|
}
|
|
1297
1297
|
}, [["styles", [
|
|
1298
1298
|
Z,
|
|
1299
|
-
jr,
|
|
1300
1299
|
Mr,
|
|
1301
1300
|
Nr,
|
|
1302
1301
|
Pr,
|
|
1303
|
-
Fr
|
|
1304
|
-
|
|
1302
|
+
Fr,
|
|
1303
|
+
Ir
|
|
1304
|
+
]]]), Qr = { class: "" }, $r = ["value"], ei = { class: "tabs underlined mb-md" }, ti = ["aria-label"], ni = ["aria-selected", "onClick"], ri = {
|
|
1305
1305
|
__name: "SeasonSelector",
|
|
1306
1306
|
props: {
|
|
1307
1307
|
seasons: {
|
|
@@ -1334,7 +1334,7 @@ var sr = { render: or }, cr = {
|
|
|
1334
1334
|
function d(e) {
|
|
1335
1335
|
s("onChangeSection", e);
|
|
1336
1336
|
}
|
|
1337
|
-
return (n, r) => (T(), a(e, null, [o("div",
|
|
1337
|
+
return (n, r) => (T(), a(e, null, [o("div", Qr, [c(P(ye), {
|
|
1338
1338
|
label: P(l)("selection.season"),
|
|
1339
1339
|
name: "season",
|
|
1340
1340
|
class: "mb-md"
|
|
@@ -1347,11 +1347,11 @@ var sr = { render: or }, cr = {
|
|
|
1347
1347
|
default: I(() => [(T(!0), a(e, null, O(t.seasons, (e) => (T(), a("option", {
|
|
1348
1348
|
key: e.championshipId,
|
|
1349
1349
|
value: e.championshipId
|
|
1350
|
-
}, M(e.seasonName), 9,
|
|
1350
|
+
}, M(e.seasonName), 9, $r))), 128))]),
|
|
1351
1351
|
_: 1
|
|
1352
1352
|
}, 8, ["modelValue"])]),
|
|
1353
1353
|
_: 1
|
|
1354
|
-
}, 8, ["label"])]), o("nav",
|
|
1354
|
+
}, 8, ["label"])]), o("nav", ei, [o("div", {
|
|
1355
1355
|
role: "tablist",
|
|
1356
1356
|
"aria-label": P(l)("selection.sections")
|
|
1357
1357
|
}, [(T(!0), a(e, null, O(t.sections, (e) => (T(), a("button", {
|
|
@@ -1359,26 +1359,29 @@ var sr = { render: or }, cr = {
|
|
|
1359
1359
|
role: "tab",
|
|
1360
1360
|
"aria-selected": e.sectionId === t.sectionId,
|
|
1361
1361
|
onClick: (t) => d(e)
|
|
1362
|
-
}, M(e.sectionName), 9,
|
|
1362
|
+
}, M(e.sectionName), 9, ni))), 128))], 8, ti)])], 64));
|
|
1363
1363
|
}
|
|
1364
|
-
},
|
|
1365
|
-
function
|
|
1366
|
-
let r =
|
|
1364
|
+
}, ii = "schedule", ai = "standings", oi = "players", si = "teams";
|
|
1365
|
+
function ci(e, t, n = null) {
|
|
1366
|
+
let r = Ie(e);
|
|
1367
1367
|
t.championships = r, t.selectedChampionshipId = t.championships?.[0]?.sectionId;
|
|
1368
|
-
let i =
|
|
1368
|
+
let i = $e(r?.[0]?.phases ?? []);
|
|
1369
1369
|
t.phaseId = i.findIndex((e) => e.phaseId === Number(n)) > -1 ? Number(n) : i[0]?.phaseId;
|
|
1370
1370
|
}
|
|
1371
|
-
var
|
|
1371
|
+
var li = (/* @__PURE__ */ new Map()).set("schedule", {
|
|
1372
1372
|
api: "/v2/games-list",
|
|
1373
|
-
columns: () =>
|
|
1373
|
+
columns: () => De(Et, 7, { mjszTv: {
|
|
1374
|
+
label: "TV",
|
|
1375
|
+
tooltip: "MJSZ.TV"
|
|
1376
|
+
} }),
|
|
1374
1377
|
sort: {}
|
|
1375
1378
|
}).set("standings", {
|
|
1376
1379
|
api: "/v2/standings",
|
|
1377
|
-
columns: (e) => e ?
|
|
1380
|
+
columns: (e) => e ? kt : Ot,
|
|
1378
1381
|
sort: {}
|
|
1379
1382
|
}).set("points", {
|
|
1380
1383
|
api: "/v2/players-stats",
|
|
1381
|
-
columns: () =>
|
|
1384
|
+
columns: () => Ct,
|
|
1382
1385
|
sort: {
|
|
1383
1386
|
sortTarget: "points",
|
|
1384
1387
|
orders: [{
|
|
@@ -1388,7 +1391,7 @@ var ci = (/* @__PURE__ */ new Map()).set("schedule", {
|
|
|
1388
1391
|
}
|
|
1389
1392
|
}).set("goals", {
|
|
1390
1393
|
api: "/v2/players-stats",
|
|
1391
|
-
columns: () =>
|
|
1394
|
+
columns: () => Ct,
|
|
1392
1395
|
sort: {
|
|
1393
1396
|
sortTarget: "goals",
|
|
1394
1397
|
orders: [{
|
|
@@ -1401,7 +1404,7 @@ var ci = (/* @__PURE__ */ new Map()).set("schedule", {
|
|
|
1401
1404
|
}
|
|
1402
1405
|
}).set("assists", {
|
|
1403
1406
|
api: "/v2/players-stats",
|
|
1404
|
-
columns: () =>
|
|
1407
|
+
columns: () => Ct,
|
|
1405
1408
|
sort: {
|
|
1406
1409
|
sortTarget: "assists",
|
|
1407
1410
|
orders: [{
|
|
@@ -1414,7 +1417,7 @@ var ci = (/* @__PURE__ */ new Map()).set("schedule", {
|
|
|
1414
1417
|
}
|
|
1415
1418
|
}).set("plusminus", {
|
|
1416
1419
|
api: "/v2/players-stats",
|
|
1417
|
-
columns: () =>
|
|
1420
|
+
columns: () => Ct,
|
|
1418
1421
|
sort: {
|
|
1419
1422
|
sortTarget: "plusMinus",
|
|
1420
1423
|
orders: [{
|
|
@@ -1424,7 +1427,7 @@ var ci = (/* @__PURE__ */ new Map()).set("schedule", {
|
|
|
1424
1427
|
}
|
|
1425
1428
|
}).set("playerspenalties", {
|
|
1426
1429
|
api: "/v2/players-penalty",
|
|
1427
|
-
columns: () =>
|
|
1430
|
+
columns: () => wt,
|
|
1428
1431
|
sort: {
|
|
1429
1432
|
sortTarget: "pim",
|
|
1430
1433
|
orders: [{
|
|
@@ -1435,7 +1438,7 @@ var ci = (/* @__PURE__ */ new Map()).set("schedule", {
|
|
|
1435
1438
|
}).set("goalies", {
|
|
1436
1439
|
api: "/v2/players-goalie",
|
|
1437
1440
|
params: { more: !0 },
|
|
1438
|
-
columns: () =>
|
|
1441
|
+
columns: () => Tt,
|
|
1439
1442
|
sort: {
|
|
1440
1443
|
sortTarget: "svsPercent",
|
|
1441
1444
|
orders: [{
|
|
@@ -1446,7 +1449,7 @@ var ci = (/* @__PURE__ */ new Map()).set("schedule", {
|
|
|
1446
1449
|
}).set("goaliesunderlimit", {
|
|
1447
1450
|
api: "/v2/players-goalie",
|
|
1448
1451
|
params: { less: !0 },
|
|
1449
|
-
columns: () =>
|
|
1452
|
+
columns: () => Tt,
|
|
1450
1453
|
sort: {
|
|
1451
1454
|
sortTarget: "svsPercent",
|
|
1452
1455
|
orders: [{
|
|
@@ -1456,7 +1459,7 @@ var ci = (/* @__PURE__ */ new Map()).set("schedule", {
|
|
|
1456
1459
|
}
|
|
1457
1460
|
}).set("teamFairplay", {
|
|
1458
1461
|
api: "/v2/team-fairplay",
|
|
1459
|
-
columns: () =>
|
|
1462
|
+
columns: () => At,
|
|
1460
1463
|
sort: {
|
|
1461
1464
|
sortTarget: "pim",
|
|
1462
1465
|
orders: [{
|
|
@@ -1466,7 +1469,7 @@ var ci = (/* @__PURE__ */ new Map()).set("schedule", {
|
|
|
1466
1469
|
}
|
|
1467
1470
|
}).set("teamPenaltiKilling", {
|
|
1468
1471
|
api: "/v2/team-powerplay",
|
|
1469
|
-
columns: () =>
|
|
1472
|
+
columns: () => jt,
|
|
1470
1473
|
sort: {
|
|
1471
1474
|
sortTarget: "pkPercent",
|
|
1472
1475
|
orders: [{
|
|
@@ -1476,7 +1479,7 @@ var ci = (/* @__PURE__ */ new Map()).set("schedule", {
|
|
|
1476
1479
|
}
|
|
1477
1480
|
}).set("teamPowerplay", {
|
|
1478
1481
|
api: "/v2/team-powerplay",
|
|
1479
|
-
columns: () =>
|
|
1482
|
+
columns: () => Mt,
|
|
1480
1483
|
sort: {
|
|
1481
1484
|
sortTarget: "ppPercent",
|
|
1482
1485
|
orders: [{
|
|
@@ -1486,7 +1489,7 @@ var ci = (/* @__PURE__ */ new Map()).set("schedule", {
|
|
|
1486
1489
|
}
|
|
1487
1490
|
}).set("teamScoringEfficiency", {
|
|
1488
1491
|
api: "/v2/team-scoring-efficiency",
|
|
1489
|
-
columns: () =>
|
|
1492
|
+
columns: () => Dt,
|
|
1490
1493
|
sort: {
|
|
1491
1494
|
sortTarget: "sp",
|
|
1492
1495
|
orders: [{
|
|
@@ -1495,7 +1498,7 @@ var ci = (/* @__PURE__ */ new Map()).set("schedule", {
|
|
|
1495
1498
|
}]
|
|
1496
1499
|
}
|
|
1497
1500
|
});
|
|
1498
|
-
function
|
|
1501
|
+
function ui(e) {
|
|
1499
1502
|
return [
|
|
1500
1503
|
{
|
|
1501
1504
|
name: e("report.points"),
|
|
@@ -1527,7 +1530,7 @@ function li(e) {
|
|
|
1527
1530
|
}
|
|
1528
1531
|
];
|
|
1529
1532
|
}
|
|
1530
|
-
function
|
|
1533
|
+
function di(e) {
|
|
1531
1534
|
return [
|
|
1532
1535
|
{
|
|
1533
1536
|
name: e("report.teamFairplay"),
|
|
@@ -1547,16 +1550,16 @@ function ui(e) {
|
|
|
1547
1550
|
}
|
|
1548
1551
|
];
|
|
1549
1552
|
}
|
|
1550
|
-
var
|
|
1553
|
+
var fi = (e, t) => Ye((t) => e.includes(t.value), t);
|
|
1551
1554
|
//#endregion
|
|
1552
1555
|
//#region src/components/internal.js
|
|
1553
|
-
function
|
|
1556
|
+
function pi(e, t) {
|
|
1554
1557
|
if (e.length === 0) throw new Ee(Te.message, Te.options);
|
|
1555
|
-
t.seasons =
|
|
1558
|
+
t.seasons = Ae(e), t.championshipId ||= B(t.seasons).championshipId;
|
|
1556
1559
|
}
|
|
1557
1560
|
//#endregion
|
|
1558
1561
|
//#region src/components/championship/DataProvider.vue
|
|
1559
|
-
var
|
|
1562
|
+
var mi = {
|
|
1560
1563
|
__name: "DataProvider",
|
|
1561
1564
|
props: {
|
|
1562
1565
|
championshipName: {
|
|
@@ -1601,7 +1604,7 @@ var pi = {
|
|
|
1601
1604
|
}
|
|
1602
1605
|
},
|
|
1603
1606
|
setup(e) {
|
|
1604
|
-
let t = e, r =
|
|
1607
|
+
let t = e, r = kn("history"), i = E({
|
|
1605
1608
|
loading: !1,
|
|
1606
1609
|
seasons: [],
|
|
1607
1610
|
championshipId: Number(r.championshipId) || 0,
|
|
@@ -1610,22 +1613,25 @@ var pi = {
|
|
|
1610
1613
|
selectedChampionshipId: null,
|
|
1611
1614
|
sections: [],
|
|
1612
1615
|
section: r.section || null,
|
|
1613
|
-
selectedPanel:
|
|
1616
|
+
selectedPanel: ii,
|
|
1614
1617
|
api: "/v2/games-list",
|
|
1615
1618
|
apiParams: {},
|
|
1616
|
-
columns:
|
|
1619
|
+
columns: De(Et, 7, { mjszTv: {
|
|
1620
|
+
label: "TV",
|
|
1621
|
+
tooltip: "MJSZ.TV"
|
|
1622
|
+
} }),
|
|
1617
1623
|
sort: null,
|
|
1618
1624
|
report: "points"
|
|
1619
|
-
}), a = ae(t, "timezone"), o = D(""), { onError: s } =
|
|
1625
|
+
}), a = ae(t, "timezone"), o = D(""), { onError: s } = _t(), { sort: c, change: l } = xt({
|
|
1620
1626
|
sortTarget: "",
|
|
1621
1627
|
orders: []
|
|
1622
|
-
}), { page: u, change: d } =
|
|
1628
|
+
}), { page: u, change: d } = bt(), { t: f } = V(), { isLoading: m, execute: h } = H({
|
|
1623
1629
|
options: {
|
|
1624
1630
|
path: "/v2/championship-seasons",
|
|
1625
1631
|
apiKey: t.apiKey,
|
|
1626
1632
|
params: { championshipName: t.championshipName }
|
|
1627
1633
|
},
|
|
1628
|
-
transform: (e) =>
|
|
1634
|
+
transform: (e) => pi(e, i),
|
|
1629
1635
|
onError: s
|
|
1630
1636
|
}), { isLoading: g, execute: _ } = H({
|
|
1631
1637
|
options: {
|
|
@@ -1633,7 +1639,7 @@ var pi = {
|
|
|
1633
1639
|
apiKey: t.apiKey,
|
|
1634
1640
|
params: n(() => ({ championshipId: i.championshipId }))
|
|
1635
1641
|
},
|
|
1636
|
-
transform: (e) =>
|
|
1642
|
+
transform: (e) => ci(e, i, t.initialPhaseId),
|
|
1637
1643
|
onError: s
|
|
1638
1644
|
}), { isLoading: v, state: y, execute: x } = H({
|
|
1639
1645
|
options: {
|
|
@@ -1646,31 +1652,31 @@ var pi = {
|
|
|
1646
1652
|
...i.apiParams
|
|
1647
1653
|
}))
|
|
1648
1654
|
},
|
|
1649
|
-
transform: (e) =>
|
|
1655
|
+
transform: (e) => et(e),
|
|
1650
1656
|
onError: s
|
|
1651
|
-
}), S =
|
|
1657
|
+
}), S = yt([
|
|
1652
1658
|
g,
|
|
1653
1659
|
m,
|
|
1654
1660
|
v
|
|
1655
1661
|
], { delay: 1e3 });
|
|
1656
|
-
|
|
1662
|
+
Sn([
|
|
1657
1663
|
h,
|
|
1658
1664
|
_,
|
|
1659
1665
|
x
|
|
1660
1666
|
]);
|
|
1661
1667
|
let C = n(() => {
|
|
1662
|
-
let e =
|
|
1663
|
-
return t.isGoalieStatsDisabled ?
|
|
1664
|
-
}), w = n(() => i.selectedPanel === "players" ? C.value :
|
|
1668
|
+
let e = ui(f);
|
|
1669
|
+
return t.isGoalieStatsDisabled ? fi(["goalies", "goaliesunderlimit"], e) : e;
|
|
1670
|
+
}), w = n(() => i.selectedPanel === "players" ? C.value : di(f)), T = n(() => ke($e(i.championships.find((e) => e.sectionId === i.selectedChampionshipId)?.phases ?? []))), ee = n(() => i.selectedPanel === "schedule" ? 0 : t.limit), te = n(() => Je(y.value, qe, nt, Xe, je(["mip"]), Me([
|
|
1665
1671
|
"dvgTime",
|
|
1666
1672
|
"dvgTimePP1",
|
|
1667
1673
|
"dvgTimePP2",
|
|
1668
1674
|
"advTime",
|
|
1669
1675
|
"advTimePP1",
|
|
1670
1676
|
"advTimePP2"
|
|
1671
|
-
]))), O = n(() =>
|
|
1677
|
+
]))), O = n(() => Oe(P(te)).filter(P(o), ["name"]).sorted(c).addContinuousIndex().schedule(P(a), P(t.locale)).pagination(P(u), ee.value).value());
|
|
1672
1678
|
function ne(e) {
|
|
1673
|
-
i.championshipId = e, r.championshipId = e,
|
|
1679
|
+
i.championshipId = e, r.championshipId = e, Sn([_, x]);
|
|
1674
1680
|
}
|
|
1675
1681
|
function A(e) {
|
|
1676
1682
|
i.selectedChampionshipId = e.sectionId, i.phaseId = T.value[0]?.phaseId ?? null, x();
|
|
@@ -1681,7 +1687,7 @@ var pi = {
|
|
|
1681
1687
|
function j(e) {
|
|
1682
1688
|
i.selectedPanel = e;
|
|
1683
1689
|
let t = e;
|
|
1684
|
-
e === "players" && (t = B(
|
|
1690
|
+
e === "players" && (t = B(ui(J))?.value), e === "teams" && (t = B(di(J))?.value), i.report = t, oe(t);
|
|
1685
1691
|
}
|
|
1686
1692
|
function M(e) {
|
|
1687
1693
|
oe(e);
|
|
@@ -1690,10 +1696,10 @@ var pi = {
|
|
|
1690
1696
|
o.value = e, d(1);
|
|
1691
1697
|
}
|
|
1692
1698
|
function oe(e) {
|
|
1693
|
-
let n =
|
|
1699
|
+
let n = li.get(e);
|
|
1694
1700
|
i.api = n.api, i.apiParams = n.params, i.columns = n.columns(t.allPeriodVisible), c.sortTarget = n.sort?.sortTarget ?? "", c.orders = n.sort?.orders ?? [], o.value = "", x(), d(1);
|
|
1695
1701
|
}
|
|
1696
|
-
let N = (e) =>
|
|
1702
|
+
let N = (e) => Pe(t.externalPlayerResolver, {
|
|
1697
1703
|
...e,
|
|
1698
1704
|
championshipId: i.championshipId
|
|
1699
1705
|
});
|
|
@@ -1717,10 +1723,10 @@ var pi = {
|
|
|
1717
1723
|
resolveExternalPlayerLink: N
|
|
1718
1724
|
})));
|
|
1719
1725
|
}
|
|
1720
|
-
},
|
|
1726
|
+
}, hi = { class: "flex-container" }, gi = {
|
|
1721
1727
|
key: 0,
|
|
1722
1728
|
value: null
|
|
1723
|
-
},
|
|
1729
|
+
}, _i = ["value"], vi = ["value"], yi = ["placeholder"], bi = {
|
|
1724
1730
|
__name: "Selector",
|
|
1725
1731
|
props: {
|
|
1726
1732
|
phases: {
|
|
@@ -1758,8 +1764,8 @@ var pi = {
|
|
|
1758
1764
|
"update:query"
|
|
1759
1765
|
],
|
|
1760
1766
|
setup(t, { emit: n }) {
|
|
1761
|
-
let s = t, l = n, { t: u } = V(), { phaseId: d, report: f, query: p } =
|
|
1762
|
-
return (n, s) => (T(), a("div",
|
|
1767
|
+
let s = t, l = n, { t: u } = V(), { phaseId: d, report: f, query: p } = jn(s, l);
|
|
1768
|
+
return (n, s) => (T(), a("div", hi, [
|
|
1763
1769
|
c(P(ye), {
|
|
1764
1770
|
label: P(u)("selection.phases"),
|
|
1765
1771
|
name: "phases",
|
|
@@ -1771,10 +1777,10 @@ var pi = {
|
|
|
1771
1777
|
"onUpdate:modelValue": s[0] ||= (e) => g(d) ? d.value = e : null,
|
|
1772
1778
|
disabled: P(d) === null
|
|
1773
1779
|
}, {
|
|
1774
|
-
default: I(() => [P(d) === null ? (T(), a("option",
|
|
1780
|
+
default: I(() => [P(d) === null ? (T(), a("option", gi, M(P(u)("selection.noPhases")), 1)) : i("", !0), (T(!0), a(e, null, O(t.phases, (e) => (T(), a("option", {
|
|
1775
1781
|
key: e.phaseId,
|
|
1776
1782
|
value: e.phaseId
|
|
1777
|
-
}, M(e.phaseName), 9,
|
|
1783
|
+
}, M(e.phaseName), 9, _i))), 128))]),
|
|
1778
1784
|
_: 1
|
|
1779
1785
|
}, 8, ["modelValue", "disabled"])]),
|
|
1780
1786
|
_: 1
|
|
@@ -1792,7 +1798,7 @@ var pi = {
|
|
|
1792
1798
|
default: I(() => [(T(!0), a(e, null, O(t.reports, ({ value: e, name: t }) => (T(), a("option", {
|
|
1793
1799
|
key: e,
|
|
1794
1800
|
value: e
|
|
1795
|
-
}, M(t), 9,
|
|
1801
|
+
}, M(t), 9, vi))), 128))]),
|
|
1796
1802
|
_: 1
|
|
1797
1803
|
}, 8, ["modelValue"])]),
|
|
1798
1804
|
_: 1
|
|
@@ -1808,12 +1814,12 @@ var pi = {
|
|
|
1808
1814
|
placeholder: P(u)("selection.filterName"),
|
|
1809
1815
|
type: "search",
|
|
1810
1816
|
autocomplete: "off"
|
|
1811
|
-
}, null, 8,
|
|
1817
|
+
}, null, 8, yi), [[ue, P(p)]])]),
|
|
1812
1818
|
_: 1
|
|
1813
1819
|
}, 8, ["label"])) : i("", !0)
|
|
1814
1820
|
]));
|
|
1815
1821
|
}
|
|
1816
|
-
}, bi = "@layer components{:where(.table-responsive){container-name:table-wrapper;container-type:inline-size;width:100%;overflow-x:auto}:where(.table-responsive) :where(table){width:100%}}", xi = "@layer components.variables{:where(:host){--mvw-table-header-font-size: var(--font-size-200);--mvw-table-default-column-width: 40px;--mvw-table-default-bg-color: light-dark(var(--mvw-color-white), var(--mvw-color-primary-900));--mvw-table-color: light-dark(var(--mvw-color-primary-800), var(--mvw-color-primary-200));--mvw-table-neutral-color: light-dark(var(--mvw-color-primary-300), var(--mvw-color-primary-700));--mvw-table-header-bg-color: light-dark(var(--mvw-color-primary-800), var(--mvw-color-primary-200));--mvw-table-header-color: light-dark(var(--mvw-color-primary-200), var(--mvw-color-primary-800));--mvw-table-header-hover-bg-color: light-dark(var(--mvw-color-primary-700), var(--mvw-color-primary-300));--mvw-table-header-active-bg-color: light-dark(var(--mvw-color-primary-700), var(--mvw-color-primary-300));--mvw-table-header-active-color: light-dark(var(--mvw-color-white), var(--mvw-color-primary-900));--mvw-table-hover-color: light-dark(var(--mvw-color-primary-900), var(--mvw-color-white));--mvw-table-hover-bg-color: light-dark(var(--mvw-color-secondary-100), var(--mvw-color-primary-950));--mvw-table-active-color: light-dark(var(--mvw-color-secondary-900), var(--mvw-color-secondary-100));--mvw-table-active-bg-color: light-dark(var(--mvw-color-secondary-200), var(--mvw-color-secondary-800));--mvw-table-active-even-bg-color: light-dark(var(--mvw-color-secondary-300), var(--mvw-color-secondary-700));--mvw-table-active-hover-color: light-dark(var(--mvw-color-secondary-900), var(--mvw-color-secondary-100));--mvw-table-active-hover-bg-color: light-dark(var(--mvw-color-secondary-400), var(--mvw-color-secondary-500));--mvw-table-portrait-border-color: light-dark(var(--mvw-color-primary-100), var(--mvw-color-primary-900));--mvw-table-portrait-bg-color: light-dark(var(--mvw-color-primary-50), var(--mvw-color-primary-900));--mvw-table-stripped-bg-color: light-dark( hsl(from var(--mvw-color-primary-50) h s calc(l + 3) ), hsl(from var(--mvw-color-primary-900) h s calc(l + 2) ) );--mvw-table-label-color: light-dark(var(--mvw-color-primary-500), var(--mvw-color-primary-400));--mvw-table-label-bg-color: light-dark(var(--mvw-color-primary-50), var(--mvw-color-primary-900));--mvw-table-cell-logo-size: 20px;--mvw-table-cell-portrait-size: 26px;--mvw-table-caption-color: light-dark(var(--mvw-color-primary-400), var(--mvw-color-primary-600));--mvw-table-caption-font-size: var(--font-size-200)}}@layer components{:where(.table){border-collapse:collapse;max-inline-size:100%;position:relative;color:var(--mvw-table-color);background-color:var(--mvw-table-default-bg-color)}:where(.table) tr{background-color:var(--surface-default);border-top:1px solid var(--border-color)}:where(.table) tr:hover{background-color:oklch(from var(--surface-filled) l c h / 75%)}:where(.table) tr:nth-child(2n){background:var(--mvw-table-stripped-bg-color)}:where(.table) tr:nth-child(2n) td.is-active{background-color:var(--mvw-table-active-even-bg-color)}:where(.table) tr.is-highlighted{color:var(--mvw-color-error)}:where(.table) tr.is-optional{opacity:.5}:where(.table) :is(th,td){padding:var(--size-8);white-space:nowrap;text-align:center}:where(.table) th{background:var(--mvw-table-header-bg-color);color:var(--mvw-table-header-color);font-size:var(--mvw-table-header-font-size);font-weight:700;text-align:center;width:var(--mvw-table-default-column-width)}:where(.table) th:focus-visible,:where(.table) th:hover{background-color:var(--mvw-table-header-hover-bg-color);outline:none}:where(.table) th.is-sortable{position:relative;cursor:pointer}:where(.table) th.is-sortable .is-icon-sort{opacity:.5}:where(.table) th.is-active{background-color:var(--mvw-table-header-active-bg-color);color:var(--mvw-table-header-active-color)}:where(.table) th.is-active .is-icon-sort{opacity:1}:where(.table) th.is-has-image,:where(.table) th.has-avatar{width:0}:where(.table) th .is-icon-sort{display:inline-block;width:var(--size-12);height:var(--size-12);margin-inline-start:var(--size-4)}:where(.table) td.is-active{font-weight:700;color:var(--mvw-table-active-color);background:var(--mvw-table-active-bg-color)}:where(.table) td.has-avatar .avatar{--_width: var(--mvw-table-cell-portrait-size)}:where(.table) td[data-value=\"0\"],:where(.table) td.is-zero{color:var(--mvw-text-faded)}:where(.table) td.is-possible-empty:empty:before{content:\"0\";color:var(--mvw-text-faded)}:where(.table) td.is-horizontal-content{display:inline-flex;align-items:center}:where(.table) td a[target=_blank]:after{content:\"\";position:absolute;left:100%;top:calc(50% - .4em)}:where(.table) td .is-logo-image{display:inline-block;vertical-align:middle;width:var(--mvw-table-cell-logo-size);height:var(--mvw-table-cell-logo-size);max-inline-size:fit-content}:where(.table) td .is-duplicated{color:var(--mvw-table-neutral-color)}:where(.table) td .is-team-name-long{display:inline-block}:where(.table) td .is-team-name-short{display:none}@container table-wrapper (max-width: 768px){:where(.table) td .is-team-name-long{display:none}:where(.table) td .is-team-name-short{display:inline-block}}:where(.table) caption{caption-side:bottom;color:var(--mvw-table-caption-color);font-size:var(--mvw-table-caption-font-size, .75rem);padding:var(--size-12) 0;text-align:start}:where(.table) tbody tr:focus-within,:where(.table) tbody tr:hover{color:var(--mvw-table-hover-color);background-color:var(--mvw-table-hover-bg-color)}:is(:where(.table) tbody tr:focus-within,:where(.table) tbody tr:hover) td.is-active{color:var(--mvw-table-active-hover-color);background-color:var(--mvw-table-active-hover-bg-color)}}", Si = "@layer components.variables{:where(:host){--mvw-tooltip-font-size: var(--font-size-200);--mvw-tooltip-color: light-dark(white, black);--mvw-tooltip-bg-color: light-dark(black, white);--mvw-floating-content-bg-color: light-dark(white, var(--mvw-color-primary-800))}}@layer components{:where(.floating-content).is-tooltip{background-color:var(--mvw-tooltip-bg-color);color:var(--mvw-tooltip-color);font-weight:700;padding:var(--size-4) var(--size-8);border-radius:var(--radius-2);font-size:var(--mvw-tooltip-font-size);white-space:nowrap;pointer-events:none}:where(.floating-content).is-tooltip .is-arrow{background-color:var(--mvw-tooltip-bg-color)}:where(.floating-content).is-content{background-color:var(--mvw-floating-content-bg-color);border-radius:var(--radius-2);box-shadow:var(--shadow-6)}:where(.floating-content).is-content .is-arrow{background-color:var(--mvw-floating-content-bg-color)}:where(.floating-content) .is-arrow{width:8px;height:8px;transform:rotate(45deg)}[data-placement^=top] :is(:where(.floating-content) .is-arrow){bottom:-4px;clip-path:polygon(80% 0,100% 0,100% 100%,0 100%,0 80%)}[data-placement^=bottom] :is(:where(.floating-content) .is-arrow){top:-4px;clip-path:polygon(100% 0,0 0,0 100%)}[data-placement^=left] :is(:where(.floating-content) .is-arrow){right:-4px;clip-path:polygon(100% 0,0 0,100% 100%)}[data-placement^=right] :is(:where(.floating-content) .is-arrow){left:-4px;clip-path:polygon(100% 0,0 0,0 100%)}.transition-fade-enter-active,.transition-fade-leave-active{transition:all .7s var(--ease-spring-1)}.transition-fade-enter-from,.transition-fade-leave-to{opacity:0;transform:translateY(5px)}}", Ci = "@layer components.variables{:where(:host){--mvw-paginator-color: light-dark(var(--mvw-color-primary-500), var(--mvw-color-primary-400));--mvw-paginator-bg-color: light-dark(var(--mvw-color-white), var(--mvw-color-primary-950));--mvw-paginator-hover-color: light-dark(var(--mvw-color-primary-700), var(--mvw-color-primary-300));--mvw-paginator-hover-bg-color: light-dark(var(--mvw-color-primary-100), var(--mvw-color-primary-900));--mvw-paginator-border-color: light-dark(var(--mvw-color-primary-100), var(--mvw-color-primary-700));--mvw-paginator-active-color: light-dark(var(--mvw-color-white), var(--mvw-color-black));--mvw-paginator-active-bg-color: light-dark(var(--mvw-color-primary-900), var(--mvw-color-primary-50));--mvw-paginator-disabled-color: light-dark(var(--mvw-color-primary-200), var(--mvw-color-primary-600))}}@layer components{:where(.paginator){display:flex;flex-direction:row;list-style-type:none;margin:10px 0;padding:0}:where(.paginator) button,:where(.paginator) div{display:flex;align-items:center;justify-content:center;padding:var(--size-6) var(--size-12);text-decoration:none;cursor:pointer;color:var(--mvw-paginator-color);border:1px solid var(--mvw-paginator-border-color);background-color:var(--mvw-paginator-bg-color);margin-left:-1px}:is(:where(.paginator) button,:where(.paginator) div) .icon{width:var(--size-16);height:var(--size-16);margin:0 -4px;max-inline-size:var(--size-16)}:is(:where(.paginator) button,:where(.paginator) div):hover:not(:is(:where(.paginator) button,:where(.paginator) div).is-disabled,:is(:where(.paginator) button,:where(.paginator) div).is-active){color:var(--mvw-paginator-hover-color);background-color:var(--mvw-paginator-hover-bg-color)}:is(:where(.paginator) button,:where(.paginator) div):disabled,:is(:where(.paginator) button,:where(.paginator) div).is-disabled{color:var(--mvw-paginator-disabled-color);background-color:var(--mvw-paginator-bg-color);pointer-events:none;cursor:default}:is(:where(.paginator) button,:where(.paginator) div).is-active{color:var(--mvw-paginator-active-color);background-color:var(--mvw-paginator-active-bg-color);border-color:var(--mvw-paginator-active-bg-color);cursor:default}}", wi = "@layer components.variables{:where(:host){--mvw-form-label-font-size: var(--font-size-200);--mvw-form-label-color: var(--mvw-text-muted);--mvw-input-color: light-dark(var(--mvw-color-primary-800), var(--mvw-color-primary-200));--mvw-input-font-size: var(--font-size-400);--mvw-input-border-color: light-dark(var(--mvw-color-primary-300), var(--mvw-color-primary-700));--mvw-input-bg-color: light-dark(var(--mvw-color-white), var(--mvw-color-primary-950));--mvw-input-border-radius: var(--radius-2)}}@layer components{:where(.form-field){--_border-color: var(--mvw-input-border-color);--_bg-color: var(--mvw-input-bg-color);--_height: var(--size-32);--_color: var(--mvw-input-color);--_field-padding-block: var(--size-6);--_field-padding-inline: var(--size-10);contain:layout;position:relative;color:var(--mvw-text-default)}:where(.form-field) pre,:where(.form-field) input,:where(.form-field) select{appearance:none;block-size:var(--_height);min-inline-size:0;font-family:inherit;font-size:var(--mvw-input-font-size);color:var(--_color);line-height:var(--font-lineheight-100);background-color:var(--_bg-color);border:var(--field-border-width, 1px) solid var(--_border-color);border-radius:var(--mvw-input-border-radius);padding:var(--_field-padding-block) var(--_field-padding-inline)}:where(.form-field) select{background-image:url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23888' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e\");background-repeat:no-repeat;background-position:right var(--size-6) center;background-size:16px 12px;padding-inline-end:var(--size-24)}:where(.form-field) pre{line-height:var(--font-lineheight-500)}:where(.form-field) input::placeholder{color:rgb(from var(--_color) r g b / 50%)}:where(.form-field) label{display:block;font-size:var(--mvw-form-label-font-size);line-height:var(--font-lineheight-700);color:var(--mvw-form-label-color);text-transform:uppercase;font-weight:700}:where(:where(.form-field).full-width input,:where(.form-field).full-width select){inline-size:100%}}", Ti = "@layer components.variables{:where(:host){--mvw-tab-btn-font-size: var(--font-size-500);--mvw-tab-btn-font-weight: 500;--mvw-tab-btn-color: var(--mvw-text-dimmed);--mvw-tab-btn-border-style: solid;--mvw-tab-btn-border-width: 0 0 3px 0;--mvw-tab-btn-text-transform: uppercase;--mvw-tab-btn-hover-color: var(--mvw-text-muted);--mvw-tab-btn-hover-border-color: transparent;--mvw-tab-btn-active-color: var(--mvw-text-highlighted);--mvw-tab-btn-active-border-color: var(--mvw-border-highlighted);--mvw-tab-btn-group-separator-color: var(--mvw-border-muted);--mvw-toggle-group-gap: var(--size-6);--mvw-toggle-group-nav-padding: 0;--mvw-toggle-group-border-width: 0;--mvw-toggle-group-btn-padding: var(--size-4) var(--size-8);--mvw-toggle-group-btn-size: var(--font-size-400);--mvw-toggle-group-btn-color: light-dark(var(--mvw-color-primary-900), var(--mvw-color-primary-100));--mvw-toggle-group-btn-bg-color: light-dark(var(--mvw-color-primary-50), var(--mvw-color-primary-900));--mvw-toggle-group-btn-active-color: var(--mvw-color-primary-0);--mvw-toggle-group-btn-active-bg-color: var(--mvw-bg-highlighted);--mvw-toggle-group-btn-radius: var(--radius-2)}}@layer components{:where(nav.tabs)>[role=tablist] button{outline-color:transparent;outline-offset:-4px}:where(nav.tabs)>[role=tablist] button:focus-visible{outline:2px solid blue}:where(nav.tabs).underlined>[role=tablist]{border-bottom:1px solid var(--mvw-tab-btn-group-separator-color)}:where(nav.tabs).underlined>[role=tablist] button{background:transparent;color:var(--mvw-tab-btn-color);font-weight:var(--mvw-tab-btn-font-weight);line-height:var(--font-lineheight-4);padding:var(--size-8) var(--size-16);text-transform:var(--mvw-tab-btn-text-transform)}:where(nav.tabs).underlined>[role=tablist] button:focus-visible{border-radius:0}:where(nav.tabs).underlined>[role=tablist] button[aria-selected=true]{border-block-end:3px solid var(--mvw-tab-btn-active-border-color);color:var(--mvw-tab-btn-active-color)}:where(nav.tabs).underlined>[role=tablist] button[aria-selected=false]:hover{color:var(--mvw-tab-btn-hover-color)}:where(nav.tabs).filled>[role=tablist]{display:flex;gap:var(--mvw-toggle-group-gap);border:var(--mvw-toggle-group-border-width) solid var(--mvw-border-muted);border-radius:calc(var(--mvw-toggle-group-btn-radius) + var(--mvw-toggle-group-nav-padding));overflow:hidden;padding:var(--mvw-toggle-group-nav-padding);width:fit-content}:where(nav.tabs).filled>[role=tablist] button{background-color:var(--mvw-toggle-group-btn-bg-color);border-radius:var(--mvw-toggle-group-btn-radius);font-size:var(--mvw-toggle-group-btn-size);color:var(--mvw-toggle-group-btn-color);padding:var(--mvw-toggle-group-btn-padding)}:where(nav.tabs).filled>[role=tablist] button[aria-selected=true]{color:var(--mvw-toggle-group-btn-active-color);background-color:var(--mvw-toggle-group-btn-active-bg-color)}}", Ei = "@layer components{:where(.badge){--_bg-color: var(--mvw-bg-muted);--_color: var(--mvw-text-muted);padding:var(--size-2) var(--size-4);display:inline-flex;gap:var(--size-2);font-size:var(--font-size-100);font-weight:700;line-height:var(--font-lineheight-300);color:var(--_color);background-color:var(--_bg-color);border-radius:var(--radius-2)}:where(.badge) svg{fill:currentColor}:where(.badge).inverted{--_bg-color: var(--mvw-bg-inverted);--_color: var(--mvw-text-inverted)}:where(.badge).live{--_bg-color: var(--mvw-color-live);--_color: var(--mvw-color-white)}:where(.badge).error{--_bg-color: var(--mvw-color-error);--_color: var(--mvw-color-white)}:where(.badge).warning{--_bg-color: var(--mvw-color-warning);--_color: var(--mvw-color-white)}:where(.badge).xs{font-size:var(--font-size-50)}:where(.badge).lg{font-size:var(--font-size-300);padding:var(--size-4) var(--size-6)}:where(.badge)+:where(.badge){margin-inline-start:var(--size-4)}}", Di = "@layer components.variables{:where(:host){--mvw-avatar-border-color: light-dark(var(--mvw-color-primary-100), var(--mvw-color-primary-700))}}@layer components{:where(.avatar){--_width: 20px;display:inline-flex;vertical-align:middle;aspect-ratio:1;inline-size:var(--_width);justify-content:center;overflow:clip;position:relative;border-radius:100%;border:1px solid var(--mvw-avatar-border-color)}:where(.avatar) img{block-size:100%;inline-size:100%;inset:0;object-fit:cover;position:absolute}}", Oi = "@layer components.variables{:where(:host){--mvw-color-error-notice-bg-color: color-mix(in oklab, var(--mvw-color-error) 10%, transparent);--mvw-color-error-notice-border-color: color-mix(in oklab, var(--mvw-color-error) 25%, transparent);--mvw-color-error-notice-color: var(--mvw-color-error)}}@layer components{:where(.error-notice){display:flex;align-items:center;justify-items:flex-start;gap:15px;margin:10px 0;padding:10px 20px;background-color:var(--mvw-color-error-notice-bg-color);color:var(--mvw-color-error-notice-color);border:1px solid var(--mvw-color-error-notice-border-color);border-radius:var(--radius-2)}:where(.error-notice) button{text-decoration:underline}}", ki = { class: "tabs underlined" }, Ai = ["aria-label"], ji = ["aria-selected", "onClick"], Mi = ["aria-selected", "onClick"], Ni = ["aria-selected", "onClick"], Pi = ["aria-selected", "onClick"], Fi = /* @__PURE__ */ Q({
|
|
1822
|
+
}, xi = "@layer components{:where(.table-responsive){container-name:table-wrapper;container-type:inline-size;width:100%;overflow-x:auto}:where(.table-responsive) :where(table){width:100%}}", Si = "@layer components.variables{:where(:host){--mvw-table-header-font-size: var(--font-size-200);--mvw-table-default-column-width: 40px;--mvw-table-default-bg-color: light-dark(var(--mvw-color-white), var(--mvw-color-primary-900));--mvw-table-color: light-dark(var(--mvw-color-primary-800), var(--mvw-color-primary-200));--mvw-table-neutral-color: light-dark(var(--mvw-color-primary-300), var(--mvw-color-primary-700));--mvw-table-header-bg-color: light-dark(var(--mvw-color-primary-800), var(--mvw-color-primary-200));--mvw-table-header-color: light-dark(var(--mvw-color-primary-200), var(--mvw-color-primary-800));--mvw-table-header-hover-bg-color: light-dark(var(--mvw-color-primary-700), var(--mvw-color-primary-300));--mvw-table-header-active-bg-color: light-dark(var(--mvw-color-primary-700), var(--mvw-color-primary-300));--mvw-table-header-active-color: light-dark(var(--mvw-color-white), var(--mvw-color-primary-900));--mvw-table-hover-color: light-dark(var(--mvw-color-primary-900), var(--mvw-color-white));--mvw-table-hover-bg-color: light-dark(var(--mvw-color-secondary-100), var(--mvw-color-primary-950));--mvw-table-active-color: light-dark(var(--mvw-color-secondary-900), var(--mvw-color-secondary-100));--mvw-table-active-bg-color: light-dark(var(--mvw-color-secondary-200), var(--mvw-color-secondary-800));--mvw-table-active-even-bg-color: light-dark(var(--mvw-color-secondary-300), var(--mvw-color-secondary-700));--mvw-table-active-hover-color: light-dark(var(--mvw-color-secondary-900), var(--mvw-color-secondary-100));--mvw-table-active-hover-bg-color: light-dark(var(--mvw-color-secondary-400), var(--mvw-color-secondary-500));--mvw-table-portrait-border-color: light-dark(var(--mvw-color-primary-100), var(--mvw-color-primary-900));--mvw-table-portrait-bg-color: light-dark(var(--mvw-color-primary-50), var(--mvw-color-primary-900));--mvw-table-stripped-bg-color: light-dark( hsl(from var(--mvw-color-primary-50) h s calc(l + 3) ), hsl(from var(--mvw-color-primary-900) h s calc(l + 2) ) );--mvw-table-label-color: light-dark(var(--mvw-color-primary-500), var(--mvw-color-primary-400));--mvw-table-label-bg-color: light-dark(var(--mvw-color-primary-50), var(--mvw-color-primary-900));--mvw-table-cell-logo-size: 20px;--mvw-table-cell-portrait-size: 26px;--mvw-table-caption-color: light-dark(var(--mvw-color-primary-400), var(--mvw-color-primary-600));--mvw-table-caption-font-size: var(--font-size-200)}}@layer components{:where(.table){border-collapse:collapse;max-inline-size:100%;position:relative;color:var(--mvw-table-color);background-color:var(--mvw-table-default-bg-color)}:where(.table) tr{background-color:var(--surface-default);border-top:1px solid var(--border-color)}:where(.table) tr:hover{background-color:oklch(from var(--surface-filled) l c h / 75%)}:where(.table) tr:nth-child(2n){background:var(--mvw-table-stripped-bg-color)}:where(.table) tr:nth-child(2n) td.is-active{background-color:var(--mvw-table-active-even-bg-color)}:where(.table) tr.is-highlighted{color:var(--mvw-color-error)}:where(.table) tr.is-optional{opacity:.5}:where(.table) :is(th,td){padding:var(--size-8);white-space:nowrap;text-align:center}:where(.table) th{background:var(--mvw-table-header-bg-color);color:var(--mvw-table-header-color);font-size:var(--mvw-table-header-font-size);font-weight:700;text-align:center;width:var(--mvw-table-default-column-width)}:where(.table) th:focus-visible,:where(.table) th:hover{background-color:var(--mvw-table-header-hover-bg-color);outline:none}:where(.table) th.is-sortable{position:relative;cursor:pointer}:where(.table) th.is-sortable .is-icon-sort{opacity:.5}:where(.table) th.is-active{background-color:var(--mvw-table-header-active-bg-color);color:var(--mvw-table-header-active-color)}:where(.table) th.is-active .is-icon-sort{opacity:1}:where(.table) th.is-has-image,:where(.table) th.has-avatar{width:0}:where(.table) th .is-icon-sort{display:inline-block;width:var(--size-12);height:var(--size-12);margin-inline-start:var(--size-4)}:where(.table) td.is-active{font-weight:700;color:var(--mvw-table-active-color);background:var(--mvw-table-active-bg-color)}:where(.table) td.has-avatar .avatar{--_width: var(--mvw-table-cell-portrait-size)}:where(.table) td[data-value=\"0\"],:where(.table) td.is-zero{color:var(--mvw-text-faded)}:where(.table) td.is-possible-empty:empty:before{content:\"0\";color:var(--mvw-text-faded)}:where(.table) td.is-horizontal-content{display:inline-flex;align-items:center}:where(.table) td a[target=_blank]:after{content:\"\";position:absolute;left:100%;top:calc(50% - .4em)}:where(.table) td .is-logo-image{display:inline-block;vertical-align:middle;width:var(--mvw-table-cell-logo-size);height:var(--mvw-table-cell-logo-size);max-inline-size:fit-content}:where(.table) td .is-duplicated{color:var(--mvw-table-neutral-color)}:where(.table) td .is-team-name-long{display:inline-block}:where(.table) td .is-team-name-short{display:none}@container table-wrapper (max-width: 768px){:where(.table) td .is-team-name-long{display:none}:where(.table) td .is-team-name-short{display:inline-block}}:where(.table) caption{caption-side:bottom;color:var(--mvw-table-caption-color);font-size:var(--mvw-table-caption-font-size, .75rem);padding:var(--size-12) 0;text-align:start}:where(.table) tbody tr:focus-within,:where(.table) tbody tr:hover{color:var(--mvw-table-hover-color);background-color:var(--mvw-table-hover-bg-color)}:is(:where(.table) tbody tr:focus-within,:where(.table) tbody tr:hover) td.is-active{color:var(--mvw-table-active-hover-color);background-color:var(--mvw-table-active-hover-bg-color)}}", Ci = "@layer components.variables{:where(:host){--mvw-tooltip-font-size: var(--font-size-200);--mvw-tooltip-color: light-dark(white, black);--mvw-tooltip-bg-color: light-dark(black, white);--mvw-floating-content-bg-color: light-dark(white, var(--mvw-color-primary-800))}}@layer components{:where(.floating-content).is-tooltip{background-color:var(--mvw-tooltip-bg-color);color:var(--mvw-tooltip-color);font-weight:700;padding:var(--size-4) var(--size-8);border-radius:var(--radius-2);font-size:var(--mvw-tooltip-font-size);white-space:nowrap;pointer-events:none}:where(.floating-content).is-tooltip .is-arrow{background-color:var(--mvw-tooltip-bg-color)}:where(.floating-content).is-content{background-color:var(--mvw-floating-content-bg-color);border-radius:var(--radius-2);box-shadow:var(--shadow-6)}:where(.floating-content).is-content .is-arrow{background-color:var(--mvw-floating-content-bg-color)}:where(.floating-content) .is-arrow{width:8px;height:8px;transform:rotate(45deg)}[data-placement^=top] :is(:where(.floating-content) .is-arrow){bottom:-4px;clip-path:polygon(80% 0,100% 0,100% 100%,0 100%,0 80%)}[data-placement^=bottom] :is(:where(.floating-content) .is-arrow){top:-4px;clip-path:polygon(100% 0,0 0,0 100%)}[data-placement^=left] :is(:where(.floating-content) .is-arrow){right:-4px;clip-path:polygon(100% 0,0 0,100% 100%)}[data-placement^=right] :is(:where(.floating-content) .is-arrow){left:-4px;clip-path:polygon(100% 0,0 0,0 100%)}.transition-fade-enter-active,.transition-fade-leave-active{transition:all .7s var(--ease-spring-1)}.transition-fade-enter-from,.transition-fade-leave-to{opacity:0;transform:translateY(5px)}}", wi = "@layer components.variables{:where(:host){--mvw-paginator-color: light-dark(var(--mvw-color-primary-500), var(--mvw-color-primary-400));--mvw-paginator-bg-color: light-dark(var(--mvw-color-white), var(--mvw-color-primary-950));--mvw-paginator-hover-color: light-dark(var(--mvw-color-primary-700), var(--mvw-color-primary-300));--mvw-paginator-hover-bg-color: light-dark(var(--mvw-color-primary-100), var(--mvw-color-primary-900));--mvw-paginator-border-color: light-dark(var(--mvw-color-primary-100), var(--mvw-color-primary-700));--mvw-paginator-active-color: light-dark(var(--mvw-color-white), var(--mvw-color-black));--mvw-paginator-active-bg-color: light-dark(var(--mvw-color-primary-900), var(--mvw-color-primary-50));--mvw-paginator-disabled-color: light-dark(var(--mvw-color-primary-200), var(--mvw-color-primary-600))}}@layer components{:where(.paginator){display:flex;flex-direction:row;list-style-type:none;margin:10px 0;padding:0}:where(.paginator) button,:where(.paginator) div{display:flex;align-items:center;justify-content:center;padding:var(--size-6) var(--size-12);text-decoration:none;cursor:pointer;color:var(--mvw-paginator-color);border:1px solid var(--mvw-paginator-border-color);background-color:var(--mvw-paginator-bg-color);margin-left:-1px}:is(:where(.paginator) button,:where(.paginator) div) .icon{width:var(--size-16);height:var(--size-16);margin:0 -4px;max-inline-size:var(--size-16)}:is(:where(.paginator) button,:where(.paginator) div):hover:not(:is(:where(.paginator) button,:where(.paginator) div).is-disabled,:is(:where(.paginator) button,:where(.paginator) div).is-active){color:var(--mvw-paginator-hover-color);background-color:var(--mvw-paginator-hover-bg-color)}:is(:where(.paginator) button,:where(.paginator) div):disabled,:is(:where(.paginator) button,:where(.paginator) div).is-disabled{color:var(--mvw-paginator-disabled-color);background-color:var(--mvw-paginator-bg-color);pointer-events:none;cursor:default}:is(:where(.paginator) button,:where(.paginator) div).is-active{color:var(--mvw-paginator-active-color);background-color:var(--mvw-paginator-active-bg-color);border-color:var(--mvw-paginator-active-bg-color);cursor:default}}", Ti = "@layer components.variables{:where(:host){--mvw-form-label-font-size: var(--font-size-200);--mvw-form-label-color: var(--mvw-text-muted);--mvw-input-color: light-dark(var(--mvw-color-primary-800), var(--mvw-color-primary-200));--mvw-input-font-size: var(--font-size-400);--mvw-input-border-color: light-dark(var(--mvw-color-primary-300), var(--mvw-color-primary-700));--mvw-input-bg-color: light-dark(var(--mvw-color-white), var(--mvw-color-primary-950));--mvw-input-border-radius: var(--radius-2)}}@layer components{:where(.form-field){--_border-color: var(--mvw-input-border-color);--_bg-color: var(--mvw-input-bg-color);--_height: var(--size-32);--_color: var(--mvw-input-color);--_field-padding-block: var(--size-6);--_field-padding-inline: var(--size-10);contain:layout;position:relative;color:var(--mvw-text-default)}:where(.form-field) pre,:where(.form-field) input,:where(.form-field) select{appearance:none;block-size:var(--_height);min-inline-size:0;font-family:inherit;font-size:var(--mvw-input-font-size);color:var(--_color);line-height:var(--font-lineheight-100);background-color:var(--_bg-color);border:var(--field-border-width, 1px) solid var(--_border-color);border-radius:var(--mvw-input-border-radius);padding:var(--_field-padding-block) var(--_field-padding-inline)}:where(.form-field) select{background-image:url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23888' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e\");background-repeat:no-repeat;background-position:right var(--size-6) center;background-size:16px 12px;padding-inline-end:var(--size-24)}:where(.form-field) pre{line-height:var(--font-lineheight-500)}:where(.form-field) input::placeholder{color:rgb(from var(--_color) r g b / 50%)}:where(.form-field) label{display:block;font-size:var(--mvw-form-label-font-size);line-height:var(--font-lineheight-700);color:var(--mvw-form-label-color);text-transform:uppercase;font-weight:700}:where(:where(.form-field).full-width input,:where(.form-field).full-width select){inline-size:100%}}", Ei = "@layer components.variables{:where(:host){--mvw-tab-btn-font-size: var(--font-size-500);--mvw-tab-btn-font-weight: 500;--mvw-tab-btn-color: var(--mvw-text-dimmed);--mvw-tab-btn-border-style: solid;--mvw-tab-btn-border-width: 0 0 3px 0;--mvw-tab-btn-text-transform: uppercase;--mvw-tab-btn-hover-color: var(--mvw-text-muted);--mvw-tab-btn-hover-border-color: transparent;--mvw-tab-btn-active-color: var(--mvw-text-highlighted);--mvw-tab-btn-active-border-color: var(--mvw-border-highlighted);--mvw-tab-btn-group-separator-color: var(--mvw-border-muted);--mvw-toggle-group-gap: var(--size-6);--mvw-toggle-group-nav-padding: 0;--mvw-toggle-group-border-width: 0;--mvw-toggle-group-btn-padding: var(--size-4) var(--size-8);--mvw-toggle-group-btn-size: var(--font-size-400);--mvw-toggle-group-btn-color: light-dark(var(--mvw-color-primary-900), var(--mvw-color-primary-100));--mvw-toggle-group-btn-bg-color: light-dark(var(--mvw-color-primary-50), var(--mvw-color-primary-900));--mvw-toggle-group-btn-active-color: var(--mvw-color-primary-0);--mvw-toggle-group-btn-active-bg-color: var(--mvw-bg-highlighted);--mvw-toggle-group-btn-radius: var(--radius-2)}}@layer components{:where(nav.tabs)>[role=tablist] button{outline-color:transparent;outline-offset:-4px}:where(nav.tabs)>[role=tablist] button:focus-visible{outline:2px solid blue}:where(nav.tabs).underlined>[role=tablist]{border-bottom:1px solid var(--mvw-tab-btn-group-separator-color)}:where(nav.tabs).underlined>[role=tablist] button{background:transparent;color:var(--mvw-tab-btn-color);font-weight:var(--mvw-tab-btn-font-weight);line-height:var(--font-lineheight-4);padding:var(--size-8) var(--size-16);text-transform:var(--mvw-tab-btn-text-transform)}:where(nav.tabs).underlined>[role=tablist] button:focus-visible{border-radius:0}:where(nav.tabs).underlined>[role=tablist] button[aria-selected=true]{border-block-end:3px solid var(--mvw-tab-btn-active-border-color);color:var(--mvw-tab-btn-active-color)}:where(nav.tabs).underlined>[role=tablist] button[aria-selected=false]:hover{color:var(--mvw-tab-btn-hover-color)}:where(nav.tabs).filled>[role=tablist]{display:flex;gap:var(--mvw-toggle-group-gap);border:var(--mvw-toggle-group-border-width) solid var(--mvw-border-muted);border-radius:calc(var(--mvw-toggle-group-btn-radius) + var(--mvw-toggle-group-nav-padding));overflow:hidden;padding:var(--mvw-toggle-group-nav-padding);width:fit-content}:where(nav.tabs).filled>[role=tablist] button{background-color:var(--mvw-toggle-group-btn-bg-color);border-radius:var(--mvw-toggle-group-btn-radius);font-size:var(--mvw-toggle-group-btn-size);color:var(--mvw-toggle-group-btn-color);padding:var(--mvw-toggle-group-btn-padding)}:where(nav.tabs).filled>[role=tablist] button[aria-selected=true]{color:var(--mvw-toggle-group-btn-active-color);background-color:var(--mvw-toggle-group-btn-active-bg-color)}}", Di = "@layer components{:where(.badge){--_bg-color: var(--mvw-bg-muted);--_color: var(--mvw-text-muted);padding:var(--size-2) var(--size-4);display:inline-flex;gap:var(--size-2);font-size:var(--font-size-100);font-weight:700;line-height:var(--font-lineheight-300);color:var(--_color);background-color:var(--_bg-color);border-radius:var(--radius-2)}:where(.badge) svg{fill:currentColor}:where(.badge).inverted{--_bg-color: var(--mvw-bg-inverted);--_color: var(--mvw-text-inverted)}:where(.badge).live{--_bg-color: var(--mvw-color-live);--_color: var(--mvw-color-white)}:where(.badge).error{--_bg-color: var(--mvw-color-error);--_color: var(--mvw-color-white)}:where(.badge).warning{--_bg-color: var(--mvw-color-warning);--_color: var(--mvw-color-white)}:where(.badge).xs{font-size:var(--font-size-50)}:where(.badge).lg{font-size:var(--font-size-300);padding:var(--size-4) var(--size-6)}:where(.badge)+:where(.badge){margin-inline-start:var(--size-4)}}", Oi = "@layer components.variables{:where(:host){--mvw-avatar-border-color: light-dark(var(--mvw-color-primary-100), var(--mvw-color-primary-700))}}@layer components{:where(.avatar){--_width: 20px;display:inline-flex;vertical-align:middle;aspect-ratio:1;inline-size:var(--_width);justify-content:center;overflow:clip;position:relative;border-radius:100%;border:1px solid var(--mvw-avatar-border-color)}:where(.avatar) img{block-size:100%;inline-size:100%;inset:0;object-fit:cover;position:absolute}}", ki = "@layer components.variables{:where(:host){--mvw-color-error-notice-bg-color: color-mix(in oklab, var(--mvw-color-error) 10%, transparent);--mvw-color-error-notice-border-color: color-mix(in oklab, var(--mvw-color-error) 25%, transparent);--mvw-color-error-notice-color: var(--mvw-color-error)}}@layer components{:where(.error-notice){display:flex;align-items:center;justify-items:flex-start;gap:15px;margin:10px 0;padding:10px 20px;background-color:var(--mvw-color-error-notice-bg-color);color:var(--mvw-color-error-notice-color);border:1px solid var(--mvw-color-error-notice-border-color);border-radius:var(--radius-2)}:where(.error-notice) button{text-decoration:underline}}", Ai = { class: "tabs underlined" }, ji = ["aria-label"], Mi = ["aria-selected", "onClick"], Ni = ["aria-selected", "onClick"], Pi = ["aria-selected", "onClick"], Fi = ["aria-selected", "onClick"], Ii = /* @__PURE__ */ Q({
|
|
1817
1823
|
__name: "Championship.ce",
|
|
1818
1824
|
props: {
|
|
1819
1825
|
locale: {
|
|
@@ -1862,10 +1868,10 @@ var pi = {
|
|
|
1862
1868
|
}
|
|
1863
1869
|
},
|
|
1864
1870
|
setup(t) {
|
|
1865
|
-
let s = t, l = D(null), u = D(
|
|
1871
|
+
let s = t, l = D(null), u = D(Le()), d = n(() => He(/* @__PURE__ */ new Date(), P(u), s.locale)), f = {
|
|
1866
1872
|
en: W,
|
|
1867
1873
|
hu: G
|
|
1868
|
-
}, p = (e) =>
|
|
1874
|
+
}, p = (e) => Ne(s.externalGameResolver, e), m = (e) => Fe(s.externalTeamResolver, e);
|
|
1869
1875
|
return (n, h) => (T(), a("div", null, [c(P(L), {
|
|
1870
1876
|
locale: s.locale,
|
|
1871
1877
|
messages: f
|
|
@@ -1876,7 +1882,7 @@ var pi = {
|
|
|
1876
1882
|
key: 0,
|
|
1877
1883
|
error: f
|
|
1878
1884
|
}, null, 8, ["error"])) : i("", !0),
|
|
1879
|
-
c(
|
|
1885
|
+
c(mi, {
|
|
1880
1886
|
locale: t.locale,
|
|
1881
1887
|
timezone: u.value,
|
|
1882
1888
|
"championship-name": t.championshipName,
|
|
@@ -1887,7 +1893,7 @@ var pi = {
|
|
|
1887
1893
|
"is-goalie-stats-disabled": t.isGoalieStatsDisabled
|
|
1888
1894
|
}, {
|
|
1889
1895
|
default: I(({ sort: u, page: f, games: h, query: g, phases: _, report: v, phaseId: y, columns: b, seasons: x, reports: S, isLoading: C, selectedPanel: w, championships: ee, championshipId: E, selectedChampionshipId: te, onSort: D, changePanel: O, changePhase: k, changeSeason: ne, onUpdateQuery: A, onChangeReport: re, onPaginatorChange: j, changeChampionship: ie, resolveExternalPlayerLink: ae }) => [
|
|
1890
|
-
c(
|
|
1896
|
+
c(ri, {
|
|
1891
1897
|
seasons: x,
|
|
1892
1898
|
sections: ee,
|
|
1893
1899
|
"championship-id": E,
|
|
@@ -1902,14 +1908,14 @@ var pi = {
|
|
|
1902
1908
|
"onOnChangeSeason",
|
|
1903
1909
|
"onOnChangeSection"
|
|
1904
1910
|
]),
|
|
1905
|
-
c(
|
|
1911
|
+
c(bi, {
|
|
1906
1912
|
query: g,
|
|
1907
1913
|
phases: _,
|
|
1908
1914
|
"phase-id": y,
|
|
1909
1915
|
reports: S,
|
|
1910
1916
|
report: v,
|
|
1911
1917
|
"is-reports-visible": w === P("players") || w === P("teams"),
|
|
1912
|
-
"is-name-filter-visible": w === P(
|
|
1918
|
+
"is-name-filter-visible": w === P(oi),
|
|
1913
1919
|
"onUpdate:phaseId": k,
|
|
1914
1920
|
"onUpdate:report": re,
|
|
1915
1921
|
"onUpdate:query": A
|
|
@@ -1925,35 +1931,35 @@ var pi = {
|
|
|
1925
1931
|
"onUpdate:report",
|
|
1926
1932
|
"onUpdate:query"
|
|
1927
1933
|
]),
|
|
1928
|
-
o("nav",
|
|
1934
|
+
o("nav", Ai, [o("div", {
|
|
1929
1935
|
role: "tablist",
|
|
1930
1936
|
"aria-label": n("selection.sections")
|
|
1931
1937
|
}, [
|
|
1932
|
-
o("button", {
|
|
1933
|
-
role: "tab",
|
|
1934
|
-
type: "button",
|
|
1935
|
-
"aria-selected": w === P(ri),
|
|
1936
|
-
onClick: (e) => O(P(ri))
|
|
1937
|
-
}, M(n("selection.schedule")), 9, ji),
|
|
1938
1938
|
o("button", {
|
|
1939
1939
|
role: "tab",
|
|
1940
1940
|
type: "button",
|
|
1941
1941
|
"aria-selected": w === P(ii),
|
|
1942
1942
|
onClick: (e) => O(P(ii))
|
|
1943
|
-
}, M(n("selection.
|
|
1943
|
+
}, M(n("selection.schedule")), 9, Mi),
|
|
1944
1944
|
o("button", {
|
|
1945
1945
|
role: "tab",
|
|
1946
1946
|
type: "button",
|
|
1947
1947
|
"aria-selected": w === P(ai),
|
|
1948
1948
|
onClick: (e) => O(P(ai))
|
|
1949
|
-
}, M(n("selection.
|
|
1949
|
+
}, M(n("selection.standings")), 9, Ni),
|
|
1950
1950
|
o("button", {
|
|
1951
1951
|
role: "tab",
|
|
1952
1952
|
type: "button",
|
|
1953
1953
|
"aria-selected": w === P(oi),
|
|
1954
1954
|
onClick: (e) => O(P(oi))
|
|
1955
|
-
}, M(n("selection.
|
|
1956
|
-
|
|
1955
|
+
}, M(n("selection.playerStats")), 9, Pi),
|
|
1956
|
+
o("button", {
|
|
1957
|
+
role: "tab",
|
|
1958
|
+
type: "button",
|
|
1959
|
+
"aria-selected": w === P(si),
|
|
1960
|
+
onClick: (e) => O(P(si))
|
|
1961
|
+
}, M(n("selection.teamStats")), 9, Fi)
|
|
1962
|
+
], 8, ji)]),
|
|
1957
1963
|
c(P(Ce), {
|
|
1958
1964
|
columns: b,
|
|
1959
1965
|
rows: h.rows,
|
|
@@ -2023,7 +2029,6 @@ var pi = {
|
|
|
2023
2029
|
}
|
|
2024
2030
|
}, [["styles", [
|
|
2025
2031
|
Z,
|
|
2026
|
-
bi,
|
|
2027
2032
|
xi,
|
|
2028
2033
|
Si,
|
|
2029
2034
|
Ci,
|
|
@@ -2031,19 +2036,20 @@ var pi = {
|
|
|
2031
2036
|
Ti,
|
|
2032
2037
|
Ei,
|
|
2033
2038
|
Di,
|
|
2034
|
-
Oi
|
|
2039
|
+
Oi,
|
|
2040
|
+
ki
|
|
2035
2041
|
]]]);
|
|
2036
2042
|
//#endregion
|
|
2037
2043
|
//#region src/components/countdown/internal.js
|
|
2038
|
-
function
|
|
2044
|
+
function Li(e, t = J) {
|
|
2039
2045
|
let n = D({
|
|
2040
2046
|
days: "00",
|
|
2041
2047
|
hours: "00",
|
|
2042
2048
|
minutes: "00",
|
|
2043
2049
|
seconds: "00"
|
|
2044
|
-
}), r = j(!1), i = j(null), { pause: a, resume: o } =
|
|
2050
|
+
}), r = j(!1), i = j(null), { pause: a, resume: o } = hn(() => {
|
|
2045
2051
|
let e = Date.now(), o = i.value - e;
|
|
2046
|
-
o <= 0 && (a(), o = 0, r.value = !0, t()), n.value =
|
|
2052
|
+
o <= 0 && (a(), o = 0, r.value = !0, t()), n.value = Ri(o);
|
|
2047
2053
|
}, 1e3, {
|
|
2048
2054
|
immediate: !1,
|
|
2049
2055
|
immediateCallback: !0
|
|
@@ -2055,7 +2061,7 @@ function Ii(e, t = J) {
|
|
|
2055
2061
|
finished: r
|
|
2056
2062
|
};
|
|
2057
2063
|
}
|
|
2058
|
-
function
|
|
2064
|
+
function Ri(e) {
|
|
2059
2065
|
return {
|
|
2060
2066
|
days: Math.floor(e / (1e3 * 60 * 60 * 24)).toString().padStart(2, "0").split(""),
|
|
2061
2067
|
hours: Math.floor(e % (1e3 * 60 * 60 * 24) / (1e3 * 60 * 60)).toString().padStart(2, "0").split(""),
|
|
@@ -2065,7 +2071,7 @@ function Li(e) {
|
|
|
2065
2071
|
}
|
|
2066
2072
|
//#endregion
|
|
2067
2073
|
//#region src/components/countdown/Number.vue
|
|
2068
|
-
var
|
|
2074
|
+
var zi = ["data-number"], $ = {
|
|
2069
2075
|
__name: "Number",
|
|
2070
2076
|
props: {
|
|
2071
2077
|
number: [Number, String],
|
|
@@ -2081,9 +2087,9 @@ var Ri = ["data-number"], $ = {
|
|
|
2081
2087
|
}, [c(t, { name: `slide-${e.direction}` }, {
|
|
2082
2088
|
default: I(() => [(T(), a("span", { key: e.number }, M(e.number), 1))]),
|
|
2083
2089
|
_: 1
|
|
2084
|
-
}, 8, ["name"])], 8,
|
|
2090
|
+
}, 8, ["name"])], 8, zi));
|
|
2085
2091
|
}
|
|
2086
|
-
},
|
|
2092
|
+
}, Bi = "@layer components.variables{:where(:host){--mvw-countdown-title-height: calc(var(--size-16) * 2);--mvw-countdown-title-bg: light-dark(var(--mvw-color-primary-900), var(--mvw-color-primary-100));--mvw-countdown-gamedata-height: calc(var(--size-16) * 4);--mvw-countdown-active-color: light-dark(var(--mvw-color-secondary-500), var(--mvw-color-secondary-800));--mvw-countdown-gamedata-bg: light-dark(var(--mvw-color-primary-700), var(--mvw-color-primary-300));--mvw-countdown-result-bg: light-dark(var(--mvw-color-primary-800), var(--mvw-color-primary-200))}}@layer components{:where(.game-countdown){display:grid;grid-template-rows:var(--mvw-countdown-title-height) 1fr var(--mvw-countdown-gamedata-height);box-shadow:0 2px 4px #0003}:where(.game-countdown) .game-countdown-title{text-align:center;font-size:var(--font-size-400);font-weight:700;line-height:var(--mvw-countdown-title-height);color:var(--mvw-text-faded);background-color:var(--mvw-countdown-title-bg)}:where(.game-countdown) .game-countdown-container{display:grid;grid-template-areas:\"stack\";place-items:center;background-color:var(--mvw-countdown-result-bg)}:where(.game-countdown) .game-countdown-container>div{visibility:hidden}:where(.game-countdown) .game-countdown-container>div.is-visible{visibility:visible}:where(.game-countdown) .game-countdown-result{grid-area:stack;display:grid;grid-template-columns:1fr auto 1fr;grid-template-areas:\"period period period\" \"home-score separator away-score\" \"period-results period-results period-results\";gap:0 var(--size-8);align-items:center;color:var(--mvw-text-dimmed);font-weight:700}:where(.game-countdown) .game-countdown-result .is-separator{grid-area:separator;line-height:1;font-size:clamp(2rem,10vw,5rem)}:where(.game-countdown) .game-countdown-result :is(.is-home-score,.is-away-score){display:flex}:where(.game-countdown) .game-countdown-result .is-home-score{grid-area:home-score}:where(.game-countdown) .game-countdown-result .is-away-score{grid-area:away-score}:where(.game-countdown) .game-countdown-result .is-period-results{grid-area:period-results;font-size:var(--font-size-400);text-align:center}:where(.game-countdown) .game-countdown-result .is-period{grid-area:period;font-size:var(--font-size-50);font-weight:700;text-align:center;text-transform:uppercase}:where(.game-countdown) .game-countdown-result .is-live{color:var(--mvw-countdown-active-color)}:where(.game-countdown) .game-countdown-counter{grid-area:stack;display:flex;gap:var(--size-16);justify-content:space-around;padding:var(--size-16);font-size:var(--font-size-100);font-weight:700;text-transform:uppercase;color:var(--mvw-text-dimmed)}:where(.game-countdown) .game-countdown-counter .is-number{color:var(--mvw-countdown-active-color)}:where(.game-countdown) .game-countdown-gamedata{display:grid;grid-template-columns:40px 1fr auto 1fr 40px;grid-template-areas:\"home-team-logo game-date game-date game-date away-team-logo\" \"home-team-logo home-team separator away-team away-team-logo\";gap:0 .5rem;align-content:center;align-items:center;padding-inline:var(--size-16);background-color:var(--mvw-countdown-gamedata-bg);font-size:var(--mvw-font-size-500);font-weight:700;line-height:var(--font-lineheight-400);color:light-dark(var(--mvw-color-primary-50),var(--mvw-color-primary-800))}:where(.game-countdown) .game-countdown-gamedata .is-game-date{grid-area:game-date;text-align:center;color:var(--mvw-text-faded);font-size:var(--font-size-200)}:where(.game-countdown) .game-countdown-gamedata .is-home-team-logo{grid-area:home-team-logo}:where(.game-countdown) .game-countdown-gamedata .is-away-team-logo{grid-area:away-team-logo}:where(.game-countdown) .game-countdown-gamedata :is(.is-home-team,.is-away-team){overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:where(.game-countdown) .game-countdown-gamedata .is-home-team{grid-area:home-team;text-align:end}:where(.game-countdown) .game-countdown-gamedata .is-away-team{grid-area:away-team}:where(.game-countdown) .game-countdown-gamedata .is-separator{grid-area:separator;text-align:center}:where(.game-countdown) .game-countdown-gamedata img{display:block;width:100%;aspect-ratio:1}:where(.game-countdown) .is-number{display:grid;grid-template-areas:\"stack\";justify-items:center;position:relative;overflow:hidden;-webkit-mask-image:linear-gradient(to bottom,transparent 0,black 16%,black 84%,transparent 100%);mask-image:linear-gradient(to bottom,transparent 0,black 16%,black 84%,transparent 100%);animation:.4s fade-in ease-out}:where(.game-countdown) .is-number>span{grid-area:stack;font-size:clamp(3.125rem,10vw,5rem);line-height:1;font-weight:700}@keyframes fade-in{0%{opacity:0}to{opacity:1}}}", Vi = ["href", "target"], Hi = { class: "game-countdown-title" }, Ui = { class: "game-countdown-container" }, Wi = ["textContent"], Gi = ["textContent"], Ki = ["textContent"], qi = { style: { display: "flex" } }, Ji = ["textContent"], Yi = { style: { display: "flex" } }, Xi = ["textContent"], Zi = { style: { display: "flex" } }, Qi = ["textContent"], $i = { style: { display: "flex" } }, ea = { class: "game-countdown-gamedata" }, ta = { class: "is-game-date" }, na = { class: "is-home-team" }, ra = { class: "is-away-team" }, ia = /* @__PURE__ */ Q({
|
|
2087
2093
|
__name: "Countdown.ce",
|
|
2088
2094
|
props: {
|
|
2089
2095
|
locale: {
|
|
@@ -2098,7 +2104,7 @@ var Ri = ["data-number"], $ = {
|
|
|
2098
2104
|
type: String,
|
|
2099
2105
|
default: ""
|
|
2100
2106
|
},
|
|
2101
|
-
...
|
|
2107
|
+
...lt
|
|
2102
2108
|
},
|
|
2103
2109
|
setup(t) {
|
|
2104
2110
|
let l = t, u = {
|
|
@@ -2112,9 +2118,9 @@ var Ri = ["data-number"], $ = {
|
|
|
2112
2118
|
immediate: !0
|
|
2113
2119
|
},
|
|
2114
2120
|
onSuccess: C
|
|
2115
|
-
}), { pause: m, resume: h } =
|
|
2121
|
+
}), { pause: m, resume: h } = hn(() => {
|
|
2116
2122
|
f();
|
|
2117
|
-
}, 3e4, { immediate: !1 }), g = n(() => (d.value.homeTeamScore || 0).toString().padStart(2, "0").split("")), _ = n(() => (d.value.awayTeamScore || 0).toString().padStart(2, "0").split("")), { date: v, finished: b } =
|
|
2123
|
+
}, 3e4, { immediate: !1 }), g = n(() => (d.value.homeTeamScore || 0).toString().padStart(2, "0").split("")), _ = n(() => (d.value.awayTeamScore || 0).toString().padStart(2, "0").split("")), { date: v, finished: b } = Li(n(() => d.value.gameDate), () => h()), x = n(() => Ne(l.externalGameResolver, { gameId: l.gameId })), S = n(() => l.isGameTargetExternal ? "_blank" : "_self");
|
|
2118
2124
|
function C(e) {
|
|
2119
2125
|
e.gameStatus === 1 && h(), e.gameStatus > 1 && m();
|
|
2120
2126
|
}
|
|
@@ -2127,12 +2133,12 @@ var Ri = ["data-number"], $ = {
|
|
|
2127
2133
|
target: S.value,
|
|
2128
2134
|
class: "game-countdown"
|
|
2129
2135
|
}, [
|
|
2130
|
-
o("div",
|
|
2131
|
-
o("div",
|
|
2136
|
+
o("div", Hi, [P(Be)(P(d)) ? i("", !0) : (T(), a(e, { key: 0 }, [s(M(P(d).championshipName) + " - " + M(P(d).divisionName), 1)], 64))]),
|
|
2137
|
+
o("div", Ui, [o("div", { class: y(["game-countdown-result", { "is-visible": P(b) }]) }, [
|
|
2132
2138
|
o("div", {
|
|
2133
2139
|
class: "is-period",
|
|
2134
2140
|
textContent: M(n(P(d).period ? `game.period.${P(d).period}` : ""))
|
|
2135
|
-
}, null, 8,
|
|
2141
|
+
}, null, 8, Wi),
|
|
2136
2142
|
o("div", {
|
|
2137
2143
|
class: y(["is-home-score", { "is-live": P(d).gameStatus === 1 }]),
|
|
2138
2144
|
style: { display: "flex" }
|
|
@@ -2151,30 +2157,30 @@ var Ri = ["data-number"], $ = {
|
|
|
2151
2157
|
o("div", {
|
|
2152
2158
|
class: "is-period-results",
|
|
2153
2159
|
textContent: M(P(d).periodResults)
|
|
2154
|
-
}, null, 8,
|
|
2160
|
+
}, null, 8, Gi)
|
|
2155
2161
|
], 2), o("div", { class: y(["game-countdown-counter", { "is-visible": !P(b) && !P(p) }]) }, [
|
|
2156
|
-
o("div", null, [o("div", { textContent: M(n("countdown.days")) }, null, 8,
|
|
2162
|
+
o("div", null, [o("div", { textContent: M(n("countdown.days")) }, null, 8, Ki), o("div", qi, [c($, {
|
|
2157
2163
|
number: P(v).days[0],
|
|
2158
2164
|
direction: "decrease"
|
|
2159
2165
|
}, null, 8, ["number"]), c($, {
|
|
2160
2166
|
number: P(v).days[1],
|
|
2161
2167
|
direction: "decrease"
|
|
2162
2168
|
}, null, 8, ["number"])])]),
|
|
2163
|
-
o("div", null, [o("div", { textContent: M(n("countdown.hours")) }, null, 8,
|
|
2169
|
+
o("div", null, [o("div", { textContent: M(n("countdown.hours")) }, null, 8, Ji), o("div", Yi, [c($, {
|
|
2164
2170
|
number: P(v).hours[0],
|
|
2165
2171
|
direction: "decrease"
|
|
2166
2172
|
}, null, 8, ["number"]), c($, {
|
|
2167
2173
|
number: P(v).hours[1],
|
|
2168
2174
|
direction: "decrease"
|
|
2169
2175
|
}, null, 8, ["number"])])]),
|
|
2170
|
-
o("div", null, [o("div", { textContent: M(n("countdown.minutes")) }, null, 8,
|
|
2176
|
+
o("div", null, [o("div", { textContent: M(n("countdown.minutes")) }, null, 8, Xi), o("div", Zi, [c($, {
|
|
2171
2177
|
number: P(v).minutes[0],
|
|
2172
2178
|
direction: "decrease"
|
|
2173
2179
|
}, null, 8, ["number"]), c($, {
|
|
2174
2180
|
number: P(v).minutes[1],
|
|
2175
2181
|
direction: "decrease"
|
|
2176
2182
|
}, null, 8, ["number"])])]),
|
|
2177
|
-
o("div", null, [o("div", { textContent: M(n("countdown.seconds")) }, null, 8,
|
|
2183
|
+
o("div", null, [o("div", { textContent: M(n("countdown.seconds")) }, null, 8, Qi), o("div", $i, [c($, {
|
|
2178
2184
|
number: P(v).seconds[0],
|
|
2179
2185
|
direction: "decrease"
|
|
2180
2186
|
}, null, 8, ["number"]), c($, {
|
|
@@ -2182,29 +2188,29 @@ var Ri = ["data-number"], $ = {
|
|
|
2182
2188
|
direction: "decrease"
|
|
2183
2189
|
}, null, 8, ["number"])])])
|
|
2184
2190
|
], 2)]),
|
|
2185
|
-
o("div",
|
|
2186
|
-
o("div",
|
|
2191
|
+
o("div", ea, [
|
|
2192
|
+
o("div", ta, M(P(z)(P(d).gameDate, "L dddd - HH:mm", null, t.locale)), 1),
|
|
2187
2193
|
P(d).homeTeam?.logo ? (T(), r(P(R), {
|
|
2188
2194
|
key: 0,
|
|
2189
2195
|
class: "is-home-team-logo",
|
|
2190
2196
|
src: P(d).homeTeam.logo
|
|
2191
2197
|
}, null, 8, ["src"])) : i("", !0),
|
|
2192
|
-
o("span",
|
|
2198
|
+
o("span", na, M(P(d).homeTeam?.longName), 1),
|
|
2193
2199
|
l[0] ||= o("span", { class: "is-separator" }, "-", -1),
|
|
2194
|
-
o("span",
|
|
2200
|
+
o("span", ra, M(P(d).awayTeam?.longName), 1),
|
|
2195
2201
|
P(d).awayTeam?.logo ? (T(), r(P(R), {
|
|
2196
2202
|
key: 1,
|
|
2197
2203
|
class: "is-away-team-logo",
|
|
2198
2204
|
src: P(d).awayTeam.logo
|
|
2199
2205
|
}, null, 8, ["src"])) : i("", !0)
|
|
2200
2206
|
])
|
|
2201
|
-
], 8,
|
|
2207
|
+
], 8, Vi)]),
|
|
2202
2208
|
_: 1
|
|
2203
2209
|
}, 8, ["locale"]));
|
|
2204
2210
|
}
|
|
2205
|
-
}, [["styles", [Z,
|
|
2206
|
-
function
|
|
2207
|
-
let { execute: t } =
|
|
2211
|
+
}, [["styles", [Z, Bi]]]), aa = Symbol("CarouselContext");
|
|
2212
|
+
function oa({ apiKey: e }) {
|
|
2213
|
+
let { execute: t } = wn((t) => ht("/v2/game-data", e, t).then((e) => ({
|
|
2208
2214
|
...e,
|
|
2209
2215
|
...t
|
|
2210
2216
|
})), {}, {
|
|
@@ -2213,19 +2219,19 @@ function aa({ apiKey: e }) {
|
|
|
2213
2219
|
});
|
|
2214
2220
|
return { execute: t };
|
|
2215
2221
|
}
|
|
2216
|
-
function
|
|
2217
|
-
let r =
|
|
2222
|
+
function sa(e, t, n) {
|
|
2223
|
+
let r = ca(t, n);
|
|
2218
2224
|
return e.reduce((e, t) => (r.has(t.id) ? e.push({
|
|
2219
2225
|
...r.get(t.id),
|
|
2220
2226
|
...t
|
|
2221
2227
|
}) : e.push(t), e), []);
|
|
2222
2228
|
}
|
|
2223
|
-
function
|
|
2229
|
+
function ca(e, t) {
|
|
2224
2230
|
let n = /* @__PURE__ */ new Map();
|
|
2225
2231
|
for (let r of e) n.set(r[t], r);
|
|
2226
2232
|
return n;
|
|
2227
2233
|
}
|
|
2228
|
-
function
|
|
2234
|
+
function la(e) {
|
|
2229
2235
|
return !(e.includes("_int") || [
|
|
2230
2236
|
"wu",
|
|
2231
2237
|
"pre",
|
|
@@ -2235,7 +2241,7 @@ function ca(e) {
|
|
|
2235
2241
|
}
|
|
2236
2242
|
//#endregion
|
|
2237
2243
|
//#region src/components/games-timeline/Carousel.vue
|
|
2238
|
-
var
|
|
2244
|
+
var ua = { class: "games-timeline" }, da = ["disabled"], fa = { ref: "container" }, pa = ["disabled"], ma = {
|
|
2239
2245
|
__name: "Carousel",
|
|
2240
2246
|
props: { initialIndex: {
|
|
2241
2247
|
type: Number,
|
|
@@ -2243,16 +2249,16 @@ var la = { class: "games-timeline" }, ua = ["disabled"], da = { ref: "container"
|
|
|
2243
2249
|
} },
|
|
2244
2250
|
setup(e) {
|
|
2245
2251
|
let t = e, r = le("container"), i = D(t.initialIndex), s = D([]);
|
|
2246
|
-
ee(
|
|
2252
|
+
ee(aa, {
|
|
2247
2253
|
register: (e) => {
|
|
2248
|
-
s.value.includes(e) || (s.value.push(e), s.value =
|
|
2254
|
+
s.value.includes(e) || (s.value.push(e), s.value = Qe(s.value, (e) => Y(r.value).querySelector(`#${e}`)));
|
|
2249
2255
|
},
|
|
2250
2256
|
unregister: (e) => {
|
|
2251
2257
|
let t = s.value.indexOf(e);
|
|
2252
2258
|
t !== -1 && s.value.splice(t, 1);
|
|
2253
2259
|
}
|
|
2254
2260
|
});
|
|
2255
|
-
let { arrivedState: l } =
|
|
2261
|
+
let { arrivedState: l } = On(r, { onStop: m }), u = n(() => Y(r).querySelector(`#${s.value[i.value]}`));
|
|
2256
2262
|
S(() => p()), F(() => t.initialIndex, (e) => {
|
|
2257
2263
|
i.value = e, v(() => p());
|
|
2258
2264
|
});
|
|
@@ -2274,30 +2280,30 @@ var la = { class: "games-timeline" }, ua = ["disabled"], da = { ref: "container"
|
|
|
2274
2280
|
let e = Y(r).getBoundingClientRect()?.left;
|
|
2275
2281
|
i.value = [...Y(r).children].findIndex((t) => Math.round(t.getBoundingClientRect().left - e) >= 0);
|
|
2276
2282
|
}
|
|
2277
|
-
return (e, t) => (T(), a("div",
|
|
2283
|
+
return (e, t) => (T(), a("div", ua, [
|
|
2278
2284
|
o("button", {
|
|
2279
2285
|
type: "button",
|
|
2280
2286
|
disabled: P(l).left,
|
|
2281
2287
|
onClick: d
|
|
2282
|
-
}, [c(P(
|
|
2283
|
-
o("div",
|
|
2288
|
+
}, [c(P(Un))], 8, da),
|
|
2289
|
+
o("div", fa, [k(e.$slots, "default")], 512),
|
|
2284
2290
|
o("button", {
|
|
2285
2291
|
type: "button",
|
|
2286
2292
|
disabled: P(l).right,
|
|
2287
2293
|
onClick: f
|
|
2288
|
-
}, [c(P(
|
|
2294
|
+
}, [c(P(Zn))], 8, pa)
|
|
2289
2295
|
]));
|
|
2290
2296
|
}
|
|
2291
|
-
},
|
|
2297
|
+
}, ha = {
|
|
2292
2298
|
__name: "CarouselItem",
|
|
2293
2299
|
setup(e) {
|
|
2294
|
-
let t = `mjsz-vbr-carousel-item-${ce()}`, n = m(
|
|
2300
|
+
let t = `mjsz-vbr-carousel-item-${ce()}`, n = m(aa, null);
|
|
2295
2301
|
return S(() => n?.register(t)), w(() => n?.unregister(t)), (e, n) => (T(), a("div", {
|
|
2296
2302
|
id: t,
|
|
2297
2303
|
class: "is-slide"
|
|
2298
2304
|
}, [k(e.$slots, "default")]));
|
|
2299
2305
|
}
|
|
2300
|
-
},
|
|
2306
|
+
}, ga = { class: "games-timeline-schedule-link" }, _a = {
|
|
2301
2307
|
__name: "ExternalSchedule",
|
|
2302
2308
|
props: {
|
|
2303
2309
|
title: {
|
|
@@ -2318,20 +2324,20 @@ var la = { class: "games-timeline" }, ua = ["disabled"], da = { ref: "container"
|
|
|
2318
2324
|
target: "_self"
|
|
2319
2325
|
});
|
|
2320
2326
|
}
|
|
2321
|
-
return (t, n) => (T(), a("div",
|
|
2327
|
+
return (t, n) => (T(), a("div", ga, [o("button", {
|
|
2322
2328
|
type: "button",
|
|
2323
2329
|
onClick: i
|
|
2324
|
-
}, [s(M(e.title), 1), c(P(
|
|
2330
|
+
}, [s(M(e.title), 1), c(P(Zn))])]));
|
|
2325
2331
|
}
|
|
2326
|
-
},
|
|
2332
|
+
}, va = ["data-overflow"], ya = {
|
|
2327
2333
|
key: 0,
|
|
2328
2334
|
"aria-hidden": "true"
|
|
2329
|
-
},
|
|
2335
|
+
}, ba = {
|
|
2330
2336
|
__name: "Marquee",
|
|
2331
2337
|
props: { statusText: { type: String } },
|
|
2332
2338
|
setup(e) {
|
|
2333
2339
|
let t = le("root"), n = D(!1), r = D(0);
|
|
2334
|
-
return
|
|
2340
|
+
return En(t, async (e) => {
|
|
2335
2341
|
let t = e[0], i = t.target.firstChild?.clientWidth ?? 0, { width: a } = t.contentRect;
|
|
2336
2342
|
i > a && (n.value = !0, await v(), r.value = t.target.firstChild?.clientWidth ?? 0);
|
|
2337
2343
|
}), (t, s) => (T(), a("div", {
|
|
@@ -2341,30 +2347,30 @@ var la = { class: "games-timeline" }, ua = ["disabled"], da = { ref: "container"
|
|
|
2341
2347
|
}, [o("div", {
|
|
2342
2348
|
class: "marquee-track",
|
|
2343
2349
|
style: x({ "--_width": `${r.value}px` })
|
|
2344
|
-
}, [o("span", null, M(e.statusText), 1), n.value ? (T(), a("span",
|
|
2350
|
+
}, [o("span", null, M(e.statusText), 1), n.value ? (T(), a("span", ya, M(e.statusText), 1)) : i("", !0)], 4)], 8, va));
|
|
2345
2351
|
}
|
|
2346
|
-
},
|
|
2352
|
+
}, xa = { class: "score-display" }, Sa = { class: "is-score" }, Ca = {
|
|
2347
2353
|
__name: "ScoreDisplay",
|
|
2348
2354
|
props: { score: {
|
|
2349
2355
|
type: Number,
|
|
2350
2356
|
default: 0
|
|
2351
2357
|
} },
|
|
2352
2358
|
setup(e) {
|
|
2353
|
-
return (n, r) => (T(), a("div",
|
|
2359
|
+
return (n, r) => (T(), a("div", xa, [o("div", Sa, [c(t, { name: "is-slide-transition" }, {
|
|
2354
2360
|
default: I(() => [(T(), a("span", { key: e.score }, M(e.score), 1))]),
|
|
2355
2361
|
_: 1
|
|
2356
2362
|
})])]));
|
|
2357
2363
|
}
|
|
2358
|
-
},
|
|
2364
|
+
}, wa = {
|
|
2359
2365
|
key: 0,
|
|
2360
2366
|
class: "badge xs"
|
|
2361
|
-
},
|
|
2367
|
+
}, Ta = {
|
|
2362
2368
|
key: 1,
|
|
2363
2369
|
class: "badge xs"
|
|
2364
|
-
},
|
|
2370
|
+
}, Ea = { class: "is-home-team-logo" }, Da = { class: "is-home-team-name" }, Oa = { class: "is-home-team-score" }, ka = { class: "is-away-team-logo" }, Aa = { class: "is-away-team-name" }, ja = { class: "is-away-team-score" }, Ma = {
|
|
2365
2371
|
key: 0,
|
|
2366
2372
|
class: "is-status"
|
|
2367
|
-
},
|
|
2373
|
+
}, Na = {
|
|
2368
2374
|
__name: "Game",
|
|
2369
2375
|
props: {
|
|
2370
2376
|
gameData: {
|
|
@@ -2380,7 +2386,7 @@ var la = { class: "games-timeline" }, ua = ["disabled"], da = { ref: "container"
|
|
|
2380
2386
|
setup(e, { emit: t }) {
|
|
2381
2387
|
let l = e, u = t, { t: d } = V(), f = n(() => {
|
|
2382
2388
|
let { gameStatus: e, championshipName: t, divisionName: n, period: r, periodTime: i, sectionName: a } = l.gameData;
|
|
2383
|
-
return e === 1 ? r &&
|
|
2389
|
+
return e === 1 ? r && la(r) ? `${d(`game.period.${r}`)} - ${i}` : r && !la(r) ? d(`game.period.${r}`) : "" : m({
|
|
2384
2390
|
championshipName: t,
|
|
2385
2391
|
divisionName: n,
|
|
2386
2392
|
sectionName: a
|
|
@@ -2393,7 +2399,7 @@ var la = { class: "games-timeline" }, ua = ["disabled"], da = { ref: "container"
|
|
|
2393
2399
|
target: "_blank"
|
|
2394
2400
|
});
|
|
2395
2401
|
u("navigateTo", {
|
|
2396
|
-
url:
|
|
2402
|
+
url: Ne(l.externalGameResolver, { gameId: t }),
|
|
2397
2403
|
target: "_self"
|
|
2398
2404
|
});
|
|
2399
2405
|
}
|
|
@@ -2410,20 +2416,20 @@ var la = { class: "games-timeline" }, ua = ["disabled"], da = { ref: "container"
|
|
|
2410
2416
|
}, [
|
|
2411
2417
|
o("time", null, [
|
|
2412
2418
|
s(M(e.gameData.gameDateTime) + " ", 1),
|
|
2413
|
-
e.gameData.isShootout ? (T(), a("span",
|
|
2414
|
-
e.gameData.isOvertime ? (T(), a("span",
|
|
2415
|
-
e.gameData.externalGameUrl ? (T(), r(P(
|
|
2419
|
+
e.gameData.isShootout ? (T(), a("span", wa, M(P(d)("common.shootoutShort")), 1)) : i("", !0),
|
|
2420
|
+
e.gameData.isOvertime ? (T(), a("span", Ta, M(P(d)("common.overtimeShort")), 1)) : i("", !0),
|
|
2421
|
+
e.gameData.externalGameUrl ? (T(), r(P(zn), {
|
|
2416
2422
|
key: 2,
|
|
2417
2423
|
width: "14",
|
|
2418
2424
|
height: "14"
|
|
2419
2425
|
})) : i("", !0)
|
|
2420
2426
|
]),
|
|
2421
|
-
o("div",
|
|
2427
|
+
o("div", Ea, [c(P(R), {
|
|
2422
2428
|
src: e.gameData.homeTeam.logo,
|
|
2423
2429
|
class: "is-team-logo"
|
|
2424
2430
|
}, null, 8, ["src"])]),
|
|
2425
|
-
o("div",
|
|
2426
|
-
o("div",
|
|
2431
|
+
o("div", Da, M(e.gameData.homeTeam.longName), 1),
|
|
2432
|
+
o("div", Oa, [e.gameData.homeTeamScore == null ? i("", !0) : (T(), r(Ca, {
|
|
2427
2433
|
key: 0,
|
|
2428
2434
|
class: y(["badge lg", [e.gameData.gameStatus === 1 ? "live" : "inverted"]]),
|
|
2429
2435
|
score: e.gameData.homeTeamScore
|
|
@@ -2431,12 +2437,12 @@ var la = { class: "games-timeline" }, ua = ["disabled"], da = { ref: "container"
|
|
|
2431
2437
|
default: I(() => [s(M(e.gameData.homeTeamScore), 1)]),
|
|
2432
2438
|
_: 1
|
|
2433
2439
|
}, 8, ["class", "score"]))]),
|
|
2434
|
-
o("div",
|
|
2440
|
+
o("div", ka, [c(P(R), {
|
|
2435
2441
|
src: e.gameData.awayTeam.logo,
|
|
2436
2442
|
class: "is-team-logo"
|
|
2437
2443
|
}, null, 8, ["src"])]),
|
|
2438
|
-
o("div",
|
|
2439
|
-
o("div",
|
|
2444
|
+
o("div", Aa, M(e.gameData.awayTeam.longName), 1),
|
|
2445
|
+
o("div", ja, [e.gameData.awayTeamScore == null ? i("", !0) : (T(), r(Ca, {
|
|
2440
2446
|
key: 0,
|
|
2441
2447
|
score: e.gameData.awayTeamScore,
|
|
2442
2448
|
class: y(["badge lg", [e.gameData.gameStatus === 1 ? "live" : "inverted"]])
|
|
@@ -2444,14 +2450,14 @@ var la = { class: "games-timeline" }, ua = ["disabled"], da = { ref: "container"
|
|
|
2444
2450
|
default: I(() => [s(M(e.gameData.awayTeamScore), 1)]),
|
|
2445
2451
|
_: 1
|
|
2446
2452
|
}, 8, ["score", "class"]))]),
|
|
2447
|
-
e.gameData.gameStatus === 1 ? (T(), a("div",
|
|
2453
|
+
e.gameData.gameStatus === 1 ? (T(), a("div", Ma, M(f.value), 1)) : (T(), r(ba, {
|
|
2448
2454
|
key: 1,
|
|
2449
2455
|
"status-text": f.value,
|
|
2450
2456
|
class: "is-status"
|
|
2451
2457
|
}, null, 8, ["status-text"]))
|
|
2452
2458
|
]));
|
|
2453
2459
|
}
|
|
2454
|
-
},
|
|
2460
|
+
}, Pa = { class: "games-timeline-error-indicator" }, Fa = {
|
|
2455
2461
|
__name: "TryAgain",
|
|
2456
2462
|
emits: ["tryAgain"],
|
|
2457
2463
|
setup(e, { emit: t }) {
|
|
@@ -2459,8 +2465,8 @@ var la = { class: "games-timeline" }, ua = ["disabled"], da = { ref: "container"
|
|
|
2459
2465
|
function i() {
|
|
2460
2466
|
n("tryAgain");
|
|
2461
2467
|
}
|
|
2462
|
-
return (e, t) => (T(), a("div",
|
|
2463
|
-
c(P(
|
|
2468
|
+
return (e, t) => (T(), a("div", Pa, [
|
|
2469
|
+
c(P(tr)),
|
|
2464
2470
|
o("div", null, M(P(r)("gamesTimeline.errorText")), 1),
|
|
2465
2471
|
o("button", {
|
|
2466
2472
|
type: "button",
|
|
@@ -2468,13 +2474,13 @@ var la = { class: "games-timeline" }, ua = ["disabled"], da = { ref: "container"
|
|
|
2468
2474
|
}, M(P(r)("gamesTimeline.errorCta")), 1)
|
|
2469
2475
|
]));
|
|
2470
2476
|
}
|
|
2471
|
-
},
|
|
2477
|
+
}, Ia = "@layer components.variables{:where(:host){--mvw-games-timeline-game-date-size: var(--font-size-100);--mvw-games-timeline-game-team-size: var(--font-size-300);--mvw-games-timeline-game-status-size: var(--font-size-200);--mvw-games-timeline-game-hover-bg-color: linear-gradient( light-dark(var(--mvw-color-white), var(--mvw-color-primary-950)), light-dark( hsl(from var(--mvw-color-white) h s calc(l - 5) ), hsl(from var(--mvw-color-primary-950) h s calc(l + 5) ) ) 50%, light-dark(var(--mvw-color-white), var(--mvw-color-primary-950)) )}}@layer components{:where(.games-timeline){display:grid;grid-template-columns:30px 1fr 30px;align-items:center;height:100%;container-type:inline-size;container-name:games-timeline}:where(.games-timeline)>div{display:flex;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;-ms-overflow-style:none;scrollbar-width:none}:where(.games-timeline)>div::-webkit-scrollbar{display:none}:where(.games-timeline) .is-slide{flex-shrink:0;flex-grow:0;flex-basis:100%;scroll-snap-align:start}@container games-timeline (width > 375px){:where(.games-timeline) .is-slide{flex-basis:50%}}@container games-timeline (width > 500px){:where(.games-timeline) .is-slide{flex-basis:33.3334%}}@container games-timeline (width > 700px){:where(.games-timeline) .is-slide{flex-basis:25%}}@container games-timeline (width > 880px){:where(.games-timeline) .is-slide{flex-basis:20%}}:where(.games-timeline)>button{position:relative;display:grid;place-content:center;height:100%}:where(.games-timeline)>button svg{display:block;height:22px;width:22px;color:var(--mvw-text-dimmed);transition:all .2s}:where(.games-timeline)>button:hover svg{color:var(--mvw-text-muted)}:where(.games-timeline)>button:disabled{cursor:not-allowed}:where(.games-timeline)>button:disabled svg{color:var(--mvw-text-faded)}:where(.games-timeline)>button:before,:where(.games-timeline)>button:after{position:absolute;content:\"\";top:10px;height:90px;transition:opacity .2s}:where(.games-timeline)>button:first-of-type:after{right:0;border-right:1px solid var(--mvw-border-faded);box-shadow:1px 0 3px #0000001a}:where(.games-timeline)>button:last-of-type:before{left:0;border-left:1px solid var(--mvw-border-faded);box-shadow:-1px 0 3px #0000001a}:where(.games-timeline)>button:disabled:first-of-type:after,:where(.games-timeline)>button:disabled:last-of-type:before{opacity:0}:where(.games-timeline) .is-no-games{width:100%;text-align:center;color:var(--mvw-text-muted)}.games-timeline-game{display:grid;grid-template-columns:20px 1fr 20px;grid-template-areas:\"gamedate gamedate gamedate\" \"home-logo home-team home-score\" \"away-logo away-team away-score\" \"status status status\";grid-template-rows:1fr 1fr 1fr 1fr;gap:5px;justify-items:center;align-items:center;padding:.625rem;line-height:1;cursor:pointer}.games-timeline-game:hover{background-image:var(--mvw-games-timeline-game-hover-bg-color)}.games-timeline-game time{grid-area:gamedate;display:flex;align-items:center;gap:4px;font-size:var(--mvw-games-timeline-game-date-size);font-weight:700;color:var(--mvw-text-muted)}.games-timeline-game .is-home-team-logo{grid-area:home-logo}.games-timeline-game .is-away-team-logo{grid-area:away-logo}.games-timeline-game :is(.is-home-team-logo,.is-away-team-logo) .is-team-logo{display:block;width:20px;height:20px}.games-timeline-game :is(.is-home-team-name,.is-away-team-name){justify-self:start;font-size:var(--mvw-games-timeline-game-team-size);font-weight:700;color:var(--mvw-text-default);overflow:hidden;width:100%;text-overflow:ellipsis;white-space:nowrap}.games-timeline-game .is-home-team-name{grid-area:home-team}.games-timeline-game .is-away-team-name{grid-area:away-team}.games-timeline-game .is-home-team-score{grid-area:home-score}.games-timeline-game .is-away-team-score{grid-area:away-score}.games-timeline-game .is-status{grid-area:status;font-size:var(--mvw-games-timeline-game-status-size);color:var(--mvw-text-dimmed);overflow:hidden;width:100%;text-overflow:ellipsis;white-space:nowrap;text-align:center}.games-timeline-schedule-link{display:grid;place-content:center;height:100%}.games-timeline-schedule-link:hover{background-image:var(--mvw-games-timeline-game-hover-bg-color)}.games-timeline-schedule-link button{display:flex;align-items:center;font-size:var(--font-size-200);font-weight:700;text-transform:uppercase;color:var(--mvw-text-toned)}.games-timeline-schedule-link button svg{display:inline-block;width:14px}.games-timeline-error-indicator{display:flex;gap:.5rem;align-items:center;place-content:center;width:100%;font-size:var(--font-size-400);font-weight:500;color:var(--mvw-color-error)}.games-timeline-error-indicator svg{display:block;width:20px}.games-timeline-error-indicator button{text-decoration:underline}.score-display{height:20px;padding:0 5px!important}.score-display .is-score{display:grid;grid-template-areas:\"stack\";justify-items:center;position:relative;overflow:hidden;-webkit-mask-image:linear-gradient(to bottom,transparent 0,black 30%,black 70%,transparent 100%);mask-image:linear-gradient(to bottom,transparent 0,black 30%,black 70%,transparent 100%)}.score-display .is-score>span{grid-area:stack;line-height:20px}.score-display .is-slide-transition-enter-active,.score-display .is-slide-transition-leave-active{transition:all .42s linear}.score-display .is-slide-transition-enter-from{transform:translateY(100%)}.score-display .is-slide-transition-enter-to,.score-display .is-slide-transition-leave-from{transform:translateY(0)}.score-display .is-slide-transition-leave-to{transform:translateY(-100%)}}", La = "@layer components{:where(.badge){--_bg-color: var(--mvw-bg-muted);--_color: var(--mvw-text-muted);padding:var(--size-2) var(--size-4);display:inline-flex;gap:var(--size-2);font-size:var(--font-size-100);font-weight:700;line-height:var(--font-lineheight-300);color:var(--_color);background-color:var(--_bg-color);border-radius:var(--radius-2)}:where(.badge) svg{fill:currentColor}:where(.badge).inverted{--_bg-color: var(--mvw-bg-inverted);--_color: var(--mvw-text-inverted)}:where(.badge).live{--_bg-color: var(--mvw-color-live);--_color: var(--mvw-color-white)}:where(.badge).error{--_bg-color: var(--mvw-color-error);--_color: var(--mvw-color-white)}:where(.badge).warning{--_bg-color: var(--mvw-color-warning);--_color: var(--mvw-color-white)}:where(.badge).xs{font-size:var(--font-size-50)}:where(.badge).lg{font-size:var(--font-size-300);padding:var(--size-4) var(--size-6)}:where(.badge)+:where(.badge){margin-inline-start:var(--size-4)}}", Ra = "@layer components{:where(.marquee){--_width: 0px;--_speed: 8s;--_direction: forwards;overflow:clip;-webkit-mask-image:linear-gradient(to right,transparent,black var(--size-16),black calc(100% - var(--size-16)),transparent);mask-image:linear-gradient(to right,transparent,black var(--size-16),black calc(100% - var(--size-16)),transparent)}:where(.marquee) .marquee-track{display:flex;gap:var(--size-16);padding-left:var(--size-16);width:max-content;line-height:initial;--px-width: tan(atan2(var(--_width), 1px));--duration: calc(var(--px-width) / 1000 * var(--_speed))}:where(.marquee)[data-overflow=true]:hover .marquee-track{animation:marquee-move var(--duration) linear infinite var(--_direction)}:where(.marquee)[data-overflow=false] .marquee-track{margin:0 auto;padding:0}@keyframes marquee-move{to{transform:translate(-50%)}}}", za = {
|
|
2472
2478
|
key: 0,
|
|
2473
2479
|
style: { width: "100%" }
|
|
2474
|
-
},
|
|
2480
|
+
}, Ba = {
|
|
2475
2481
|
key: 2,
|
|
2476
2482
|
class: "is-no-games"
|
|
2477
|
-
},
|
|
2483
|
+
}, Va = /* @__PURE__ */ Q({
|
|
2478
2484
|
__name: "GamesTimeline.ce",
|
|
2479
2485
|
props: {
|
|
2480
2486
|
locale: {
|
|
@@ -2502,35 +2508,35 @@ var la = { class: "games-timeline" }, ua = ["disabled"], da = { ref: "container"
|
|
|
2502
2508
|
let i = t, o = {
|
|
2503
2509
|
en: W,
|
|
2504
2510
|
hu: G
|
|
2505
|
-
}, s =
|
|
2511
|
+
}, s = Le(), l = [], u = D(!1), { isLoading: d, state: f, execute: p } = H({
|
|
2506
2512
|
options: {
|
|
2507
2513
|
path: i.servicePath,
|
|
2508
2514
|
apiKey: i.apiKey,
|
|
2509
2515
|
params: {},
|
|
2510
2516
|
immediate: !0
|
|
2511
2517
|
},
|
|
2512
|
-
transform: (e) =>
|
|
2518
|
+
transform: (e) => sa(e, f.value, "id").reverse(),
|
|
2513
2519
|
onError: () => {
|
|
2514
2520
|
u.value = !0;
|
|
2515
2521
|
},
|
|
2516
2522
|
onSuccess: x
|
|
2517
|
-
}), { resume: m, pause: g } =
|
|
2518
|
-
|
|
2523
|
+
}), { resume: m, pause: g } = hn(p, 1e3 * 60 * 5), _ = cn(d, 500);
|
|
2524
|
+
St(!0, () => {
|
|
2519
2525
|
p(), m();
|
|
2520
2526
|
}, () => {
|
|
2521
2527
|
g(), l.map((e) => e?.()), l = [];
|
|
2522
2528
|
});
|
|
2523
|
-
let v = n(() =>
|
|
2529
|
+
let v = n(() => Be(f.value) ? 0 : f.value.findIndex((e) => !Re(new Date(e.gameDate), /* @__PURE__ */ new Date(), "day")) + 1), y = n(() => f.value.map((e) => ({
|
|
2524
2530
|
...e,
|
|
2525
|
-
gameDateTime: `${z(e.gameDate, "L LT", s, i.locale)} (${
|
|
2526
|
-
}))), { execute: b } =
|
|
2531
|
+
gameDateTime: `${z(e.gameDate, "L LT", s, i.locale)} (${He(e.gameDate, s, i.locale)})`
|
|
2532
|
+
}))), { execute: b } = oa({ apiKey: i.apiKey });
|
|
2527
2533
|
async function x() {
|
|
2528
2534
|
u.value = !1, l.map((e) => e?.()), l = [];
|
|
2529
2535
|
let e = f.value.filter((e) => e.gameStatus === 1);
|
|
2530
2536
|
for (let t = 0; t < e.length; t++) {
|
|
2531
2537
|
let n = e[t].id;
|
|
2532
2538
|
b(0, { gameId: n }).then((e) => S(e));
|
|
2533
|
-
let { pause: r } =
|
|
2539
|
+
let { pause: r } = hn(() => b(0, { gameId: n }).then((e) => S(e)), 6e4);
|
|
2534
2540
|
l.push(r);
|
|
2535
2541
|
}
|
|
2536
2542
|
}
|
|
@@ -2548,16 +2554,16 @@ var la = { class: "games-timeline" }, ua = ["disabled"], da = { ref: "container"
|
|
|
2548
2554
|
locale: t.locale,
|
|
2549
2555
|
messages: o
|
|
2550
2556
|
}, {
|
|
2551
|
-
default: I(({ t: n }) => [(T(), r(
|
|
2557
|
+
default: I(({ t: n }) => [(T(), r(ma, {
|
|
2552
2558
|
key: P(_),
|
|
2553
2559
|
"initial-index": v.value
|
|
2554
2560
|
}, {
|
|
2555
|
-
default: I(() => [!u.value && P(_) ? (T(), a("div",
|
|
2561
|
+
default: I(() => [!u.value && P(_) ? (T(), a("div", za, [c(P(be))])) : u.value && P(Be)(P(f)) ? (T(), r(Fa, {
|
|
2556
2562
|
key: 1,
|
|
2557
2563
|
onTryAgain: w
|
|
2558
|
-
})) : y.value.length === 0 ? (T(), a("div",
|
|
2559
|
-
i[0] || (A(-1, !0), (i[0] = c(
|
|
2560
|
-
default: I(() => [c(
|
|
2564
|
+
})) : y.value.length === 0 ? (T(), a("div", Ba, M(n("gamesTimeline.noGames")), 1)) : (T(), a(e, { key: 3 }, [
|
|
2565
|
+
i[0] || (A(-1, !0), (i[0] = c(ha, null, {
|
|
2566
|
+
default: I(() => [c(_a, {
|
|
2561
2567
|
"external-schedule-url": t.externalScheduleUrl,
|
|
2562
2568
|
title: n("gamesTimeline.allSchedule"),
|
|
2563
2569
|
onNavigateTo: C
|
|
@@ -2574,8 +2580,8 @@ var la = { class: "games-timeline" }, ua = ["disabled"], da = { ref: "container"
|
|
|
2574
2580
|
e.actualTime
|
|
2575
2581
|
];
|
|
2576
2582
|
if (a && a.key === e.id && h(a, o)) return a;
|
|
2577
|
-
let s = (T(), r(
|
|
2578
|
-
default: I(() => [c(
|
|
2583
|
+
let s = (T(), r(ha, { key: e.id }, {
|
|
2584
|
+
default: I(() => [c(Na, {
|
|
2579
2585
|
"game-data": e,
|
|
2580
2586
|
"external-game-resolver": t.externalGameResolver,
|
|
2581
2587
|
onNavigateTo: C
|
|
@@ -2584,8 +2590,8 @@ var la = { class: "games-timeline" }, ua = ["disabled"], da = { ref: "container"
|
|
|
2584
2590
|
}, 1024));
|
|
2585
2591
|
return s.memo = o, s;
|
|
2586
2592
|
}, i, 1), 128)),
|
|
2587
|
-
i[3] || (A(-1, !0), (i[3] = c(
|
|
2588
|
-
default: I(() => [c(
|
|
2593
|
+
i[3] || (A(-1, !0), (i[3] = c(ha, null, {
|
|
2594
|
+
default: I(() => [c(_a, {
|
|
2589
2595
|
"external-schedule-url": t.externalScheduleUrl,
|
|
2590
2596
|
title: n("gamesTimeline.allSchedule"),
|
|
2591
2597
|
onNavigateTo: C
|
|
@@ -2600,47 +2606,47 @@ var la = { class: "games-timeline" }, ua = ["disabled"], da = { ref: "container"
|
|
|
2600
2606
|
}
|
|
2601
2607
|
}, [["styles", [
|
|
2602
2608
|
Z,
|
|
2603
|
-
Fa,
|
|
2604
2609
|
Ia,
|
|
2605
|
-
La
|
|
2610
|
+
La,
|
|
2611
|
+
Ra
|
|
2606
2612
|
]]]);
|
|
2607
2613
|
//#endregion
|
|
2608
2614
|
//#region src/components/recruitment-info/internal.js
|
|
2609
|
-
function Va(e) {
|
|
2610
|
-
return e.map(Ha).map(Ua).sort(Ka);
|
|
2611
|
-
}
|
|
2612
2615
|
function Ha(e) {
|
|
2613
|
-
|
|
2616
|
+
return e.map(Ua).map(Wa).sort(qa);
|
|
2617
|
+
}
|
|
2618
|
+
function Ua(e) {
|
|
2619
|
+
let t = Object.keys(e).filter((e) => e.startsWith("recruitment") && e !== "recruitmentName" && e !== "recruitmentTeamName" && e !== "recruitmentCity"), n = Ga(Ge(t, e));
|
|
2614
2620
|
return {
|
|
2615
|
-
...
|
|
2621
|
+
...Ue(t, e),
|
|
2616
2622
|
recruitment: { ...n }
|
|
2617
2623
|
};
|
|
2618
2624
|
}
|
|
2619
|
-
function
|
|
2625
|
+
function Wa(e) {
|
|
2620
2626
|
return {
|
|
2621
2627
|
...e,
|
|
2622
2628
|
recruitmentTeamName: e.recruitmentTeamName || ""
|
|
2623
2629
|
};
|
|
2624
2630
|
}
|
|
2625
|
-
function Wa(e) {
|
|
2626
|
-
return e.recruitmentContactPhone = e.recruitmentContactPhone ? `<a href="tel:${e.recruitmentContactPhone}">${e.recruitmentContactPhone}</a>` : "", e.recruitmentContactEmail = e.recruitmentContactEmail ? `<a href="mailto:${e.recruitmentContactEmail}">${e.recruitmentContactEmail}</a>` : "", e.recruitmentContactUrl = Ga(e.recruitmentContactUrl || ""), e;
|
|
2627
|
-
}
|
|
2628
2631
|
function Ga(e) {
|
|
2632
|
+
return e.recruitmentContactPhone = e.recruitmentContactPhone ? `<a href="tel:${e.recruitmentContactPhone}">${e.recruitmentContactPhone}</a>` : "", e.recruitmentContactEmail = e.recruitmentContactEmail ? `<a href="mailto:${e.recruitmentContactEmail}">${e.recruitmentContactEmail}</a>` : "", e.recruitmentContactUrl = Ka(e.recruitmentContactUrl || ""), e;
|
|
2633
|
+
}
|
|
2634
|
+
function Ka(e) {
|
|
2629
2635
|
return e.startsWith("http") ? `<a href="${e}" target="_blank">${e}</a>` : `<a href="https://${e}" target="_blank">${e}</a>`;
|
|
2630
2636
|
}
|
|
2631
|
-
function
|
|
2637
|
+
function qa(e, t) {
|
|
2632
2638
|
let n = e.organizationName.toUpperCase(), r = t.organizationName.toUpperCase();
|
|
2633
2639
|
return n < r ? -1 : n > r ? 1 : 0;
|
|
2634
2640
|
}
|
|
2635
2641
|
//#endregion
|
|
2636
2642
|
//#region ../shared/assets/css/components/form-field.css?vue&type=style&index=1&src=true&inline&lang.css
|
|
2637
|
-
var
|
|
2643
|
+
var Ja = "@layer components.variables{:where(:host){--mvw-form-label-font-size: var(--font-size-200);--mvw-form-label-color: var(--mvw-text-muted);--mvw-input-color: light-dark(var(--mvw-color-primary-800), var(--mvw-color-primary-200));--mvw-input-font-size: var(--font-size-400);--mvw-input-border-color: light-dark(var(--mvw-color-primary-300), var(--mvw-color-primary-700));--mvw-input-bg-color: light-dark(var(--mvw-color-white), var(--mvw-color-primary-950));--mvw-input-border-radius: var(--radius-2)}}@layer components{:where(.form-field){--_border-color: var(--mvw-input-border-color);--_bg-color: var(--mvw-input-bg-color);--_height: var(--size-32);--_color: var(--mvw-input-color);--_field-padding-block: var(--size-6);--_field-padding-inline: var(--size-10);contain:layout;position:relative;color:var(--mvw-text-default)}:where(.form-field) pre,:where(.form-field) input,:where(.form-field) select{appearance:none;block-size:var(--_height);min-inline-size:0;font-family:inherit;font-size:var(--mvw-input-font-size);color:var(--_color);line-height:var(--font-lineheight-100);background-color:var(--_bg-color);border:var(--field-border-width, 1px) solid var(--_border-color);border-radius:var(--mvw-input-border-radius);padding:var(--_field-padding-block) var(--_field-padding-inline)}:where(.form-field) select{background-image:url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23888' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e\");background-repeat:no-repeat;background-position:right var(--size-6) center;background-size:16px 12px;padding-inline-end:var(--size-24)}:where(.form-field) pre{line-height:var(--font-lineheight-500)}:where(.form-field) input::placeholder{color:rgb(from var(--_color) r g b / 50%)}:where(.form-field) label{display:block;font-size:var(--mvw-form-label-font-size);line-height:var(--font-lineheight-700);color:var(--mvw-form-label-color);text-transform:uppercase;font-weight:700}:where(:where(.form-field).full-width input,:where(.form-field).full-width select){inline-size:100%}}", Ya = "@layer components.variables{:where(:host){--mvw-card-color: light-dark(var(--mvw-color-primary-950), var(--mvw-color-primary-200));--mvw-card-bg-color: light-dark(var(--mvw-color-white), var(--mvw-color-primary-950));--mvw-card-tonal-active-bg-color: light-dark(var(--mvw-color-primary-50), var(--mvw-color-primary-900))}}@layer components{:where(details){--_accordion-transition-time: .2s;--_bg-color: var(--mvw-card-bg-color);--_shadow: none;container-type:inline-size;display:block;background-color:var(--_bg-color);border-radius:var(--radius-2);color:var(--mvw-card-color);box-shadow:var(--_shadow);transition:all var(--_accordion-transition-time) ease-out}@media(prefers-reduced-motion:no-preference){:where(details){interpolate-size:allow-keywords}}:where(details)::details-content{block-size:0;opacity:0;overflow-y:clip;transition:content-visibility var(--_accordion-transition-time) allow-discrete,opacity var(--_accordion-transition-time),block-size var(--_accordion-transition-time)}:where(details)[open]::details-content{block-size:auto;opacity:1}:where(details)>summary{background-color:inherit;cursor:pointer;font-weight:700;padding-block:var(--size-16);-webkit-user-select:none;user-select:none;align-items:center;display:flex;gap:var(--size-8);list-style:none}:where(details)>summary::marker,:where(details)>summary::-webkit-details-marker{display:none}:where(details)>summary strong{flex:1}:where(details)>summary svg{transition:rotate .8s var(--ease-spring-1, ease)}:where(details)[open]>summary svg{rotate:180deg}:where(details).elevated{--_shadow: var(--shadow-3)}:where(details).tonal[open]{background-color:var(--mvw-card-tonal-active-bg-color)}:where(details):where(.tonal)>*{padding-inline:var(--size-16)}}", Xa = "@layer components.variables{:where(:host){--mvw-paginator-color: light-dark(var(--mvw-color-primary-500), var(--mvw-color-primary-400));--mvw-paginator-bg-color: light-dark(var(--mvw-color-white), var(--mvw-color-primary-950));--mvw-paginator-hover-color: light-dark(var(--mvw-color-primary-700), var(--mvw-color-primary-300));--mvw-paginator-hover-bg-color: light-dark(var(--mvw-color-primary-100), var(--mvw-color-primary-900));--mvw-paginator-border-color: light-dark(var(--mvw-color-primary-100), var(--mvw-color-primary-700));--mvw-paginator-active-color: light-dark(var(--mvw-color-white), var(--mvw-color-black));--mvw-paginator-active-bg-color: light-dark(var(--mvw-color-primary-900), var(--mvw-color-primary-50));--mvw-paginator-disabled-color: light-dark(var(--mvw-color-primary-200), var(--mvw-color-primary-600))}}@layer components{:where(.paginator){display:flex;flex-direction:row;list-style-type:none;margin:10px 0;padding:0}:where(.paginator) button,:where(.paginator) div{display:flex;align-items:center;justify-content:center;padding:var(--size-6) var(--size-12);text-decoration:none;cursor:pointer;color:var(--mvw-paginator-color);border:1px solid var(--mvw-paginator-border-color);background-color:var(--mvw-paginator-bg-color);margin-left:-1px}:is(:where(.paginator) button,:where(.paginator) div) .icon{width:var(--size-16);height:var(--size-16);margin:0 -4px;max-inline-size:var(--size-16)}:is(:where(.paginator) button,:where(.paginator) div):hover:not(:is(:where(.paginator) button,:where(.paginator) div).is-disabled,:is(:where(.paginator) button,:where(.paginator) div).is-active){color:var(--mvw-paginator-hover-color);background-color:var(--mvw-paginator-hover-bg-color)}:is(:where(.paginator) button,:where(.paginator) div):disabled,:is(:where(.paginator) button,:where(.paginator) div).is-disabled{color:var(--mvw-paginator-disabled-color);background-color:var(--mvw-paginator-bg-color);pointer-events:none;cursor:default}:is(:where(.paginator) button,:where(.paginator) div).is-active{color:var(--mvw-paginator-active-color);background-color:var(--mvw-paginator-active-bg-color);border-color:var(--mvw-paginator-active-bg-color);cursor:default}}", Za = "@layer components{:where(.definition-list){--_border-style: solid;--_border-width: 1px;--_border-color: var(--mvw-border-muted);display:grid;gap:var(--size-8);padding:0}:where(.definition-list).dotted{--_border-style: dotted;--_border-width: 2px}:where(.definition-list) li{display:grid;margin:0;padding:0}:where(.definition-list) li .term{display:block;font-weight:700;overflow:hidden;position:relative;color:var(--mvw-text-muted)}:where(.definition-list) li hr{display:none;margin:0}@container (width > 30ch){:where(.definition-list){gap:var(--size-8)}:where(.definition-list) li{align-items:baseline;display:grid;gap:var(--size-8);grid-template-columns:1fr auto}:where(.definition-list) li:has(hr){grid-template-columns:auto 1fr auto}:where(.definition-list) li hr{background-color:transparent;border-block-end:var(--_border-width) var(--_border-style) var(--_border-color);block-size:2px;display:block}:where(.definition-list) li .term{inline-size:max-content}:where(.definition-list) li .term:after{display:inline-block}:where(.definition-list) li .description{color:var(--text-color-2);text-align:end}}}", Qa = "@layer components.variables{:where(:host){--mvw-color-error-notice-bg-color: color-mix(in oklab, var(--mvw-color-error) 10%, transparent);--mvw-color-error-notice-border-color: color-mix(in oklab, var(--mvw-color-error) 25%, transparent);--mvw-color-error-notice-color: var(--mvw-color-error)}}@layer components{:where(.error-notice){display:flex;align-items:center;justify-items:flex-start;gap:15px;margin:10px 0;padding:10px 20px;background-color:var(--mvw-color-error-notice-bg-color);color:var(--mvw-color-error-notice-color);border:1px solid var(--mvw-color-error-notice-border-color);border-radius:var(--radius-2)}:where(.error-notice) button{text-decoration:underline}}", $a = ["placeholder"], eo = {
|
|
2638
2644
|
key: 2,
|
|
2639
2645
|
class: "text-muted text-center font-bold"
|
|
2640
|
-
},
|
|
2646
|
+
}, to = ["id", "aria-controls"], no = { key: 0 }, ro = ["id", "aria-labelledby"], io = { class: "definition-list dotted mb-md" }, ao = { class: "term" }, oo = ["innerHTML"], so = { class: "grid-container text-muted" }, co = {
|
|
2641
2647
|
key: 0,
|
|
2642
2648
|
class: "text-end"
|
|
2643
|
-
},
|
|
2649
|
+
}, lo = /* @__PURE__ */ Q({
|
|
2644
2650
|
__name: "RecruitmentInfo.ce",
|
|
2645
2651
|
props: {
|
|
2646
2652
|
locale: {
|
|
@@ -2660,16 +2666,16 @@ var qa = "@layer components.variables{:where(:host){--mvw-form-label-font-size:
|
|
|
2660
2666
|
let l = t, u = {
|
|
2661
2667
|
en: W,
|
|
2662
2668
|
hu: G
|
|
2663
|
-
}, { onError: d, error: f, hasError: p, reset: m } =
|
|
2669
|
+
}, { onError: d, error: f, hasError: p, reset: m } = vt(), { state: h, isLoading: g, execute: _ } = H({
|
|
2664
2670
|
options: {
|
|
2665
2671
|
path: "/v2/recruitment-info",
|
|
2666
2672
|
apiKey: l.apiKey,
|
|
2667
2673
|
params: {},
|
|
2668
2674
|
immediate: !0
|
|
2669
2675
|
},
|
|
2670
|
-
transform:
|
|
2676
|
+
transform: Ha,
|
|
2671
2677
|
onError: d
|
|
2672
|
-
}), v = D(""), { page: y, change: b } =
|
|
2678
|
+
}), v = D(""), { page: y, change: b } = bt(), x = n(() => Oe(h.value).filter(v.value, [
|
|
2673
2679
|
"organizationName",
|
|
2674
2680
|
"recruitmentCity",
|
|
2675
2681
|
"recruitmentTeamName"
|
|
@@ -2697,7 +2703,7 @@ var qa = "@layer components.variables{:where(:host){--mvw-form-label-font-size:
|
|
|
2697
2703
|
placeholder: t("recruitmentInfo.filterByNameAndLocation"),
|
|
2698
2704
|
type: "search",
|
|
2699
2705
|
autocomplete: "off"
|
|
2700
|
-
}, null, 8,
|
|
2706
|
+
}, null, 8, $a), [[ue, v.value]])]),
|
|
2701
2707
|
_: 2
|
|
2702
2708
|
}, 1032, ["label"]),
|
|
2703
2709
|
P(p) ? (T(), r(P(he), {
|
|
@@ -2707,7 +2713,7 @@ var qa = "@layer components.variables{:where(:host){--mvw-form-label-font-size:
|
|
|
2707
2713
|
onRetry: C
|
|
2708
2714
|
}, null, 8, ["error"])) : i("", !0),
|
|
2709
2715
|
P(g) ? (T(), r(P(be), { key: 1 })) : i("", !0),
|
|
2710
|
-
P(h).length > 0 && x.value.rows.length === 0 ? (T(), a("div",
|
|
2716
|
+
P(h).length > 0 && x.value.rows.length === 0 ? (T(), a("div", eo, M(t("recruitmentInfo.noResult")), 1)) : i("", !0),
|
|
2711
2717
|
(T(!0), a(e, null, O(x.value.rows, (n, r) => (T(), a("details", {
|
|
2712
2718
|
key: n.organizationName,
|
|
2713
2719
|
class: "tonal elevated mb-md"
|
|
@@ -2722,7 +2728,7 @@ var qa = "@layer components.variables{:where(:host){--mvw-form-label-font-size:
|
|
|
2722
2728
|
height: 30,
|
|
2723
2729
|
style: { "object-fit": "contain" }
|
|
2724
2730
|
}, null, 8, ["src"]),
|
|
2725
|
-
o("strong", null, [s(M(n.organizationName) + " ", 1), n.recruitmentTeamName ? (T(), a("span",
|
|
2731
|
+
o("strong", null, [s(M(n.organizationName) + " ", 1), n.recruitmentTeamName ? (T(), a("span", no, "(" + M(n.recruitmentTeamName) + ")", 1)) : i("", !0)]),
|
|
2726
2732
|
d[1] ||= o("svg", {
|
|
2727
2733
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2728
2734
|
width: "16",
|
|
@@ -2732,20 +2738,20 @@ var qa = "@layer components.variables{:where(:host){--mvw-form-label-font-size:
|
|
|
2732
2738
|
fill: "currentColor",
|
|
2733
2739
|
d: "M4.293 8.293a1 1 0 0 1 1.414 0L12 14.586l6.293-6.293a1 1 0 1 1 1.414 1.414l-7 7a1 1 0 0 1-1.414 0l-7-7a1 1 0 0 1 0-1.414"
|
|
2734
2740
|
})], -1)
|
|
2735
|
-
], 8,
|
|
2741
|
+
], 8, to), o("div", {
|
|
2736
2742
|
id: `content-${r}`,
|
|
2737
2743
|
class: "content",
|
|
2738
2744
|
role: "region",
|
|
2739
2745
|
"aria-labelledby": `summary-${r}`
|
|
2740
|
-
}, [o("ul",
|
|
2741
|
-
o("span",
|
|
2746
|
+
}, [o("ul", io, [(T(!0), a(e, null, O(n.recruitment, (e, n) => (T(), a("li", { key: n }, [
|
|
2747
|
+
o("span", ao, M(t(`recruitmentInfo.${n}`)), 1),
|
|
2742
2748
|
d[2] ||= o("hr", null, null, -1),
|
|
2743
2749
|
o("span", {
|
|
2744
2750
|
class: "description",
|
|
2745
2751
|
innerHTML: e
|
|
2746
|
-
}, null, 8,
|
|
2747
|
-
]))), 128))])], 8,
|
|
2748
|
-
o("div",
|
|
2752
|
+
}, null, 8, oo)
|
|
2753
|
+
]))), 128))])], 8, ro)]))), 128)),
|
|
2754
|
+
o("div", so, [c(P(xe), {
|
|
2749
2755
|
page: P(y),
|
|
2750
2756
|
"items-per-page": l.limit,
|
|
2751
2757
|
"total-items": x.value.totalItems,
|
|
@@ -2756,7 +2762,7 @@ var qa = "@layer components.variables{:where(:host){--mvw-form-label-font-size:
|
|
|
2756
2762
|
"items-per-page",
|
|
2757
2763
|
"total-items",
|
|
2758
2764
|
"onChange"
|
|
2759
|
-
]), x.value.totalItems > 0 ? (T(), a("div",
|
|
2765
|
+
]), x.value.totalItems > 0 ? (T(), a("div", co, M(t("table.info", {
|
|
2760
2766
|
min: S.value[0],
|
|
2761
2767
|
max: S.value[1],
|
|
2762
2768
|
total: x.value.totalItems
|
|
@@ -2767,20 +2773,20 @@ var qa = "@layer components.variables{:where(:host){--mvw-form-label-font-size:
|
|
|
2767
2773
|
}
|
|
2768
2774
|
}, [["styles", [
|
|
2769
2775
|
Z,
|
|
2770
|
-
qa,
|
|
2771
2776
|
Ja,
|
|
2772
2777
|
Ya,
|
|
2773
2778
|
Xa,
|
|
2774
|
-
Za
|
|
2779
|
+
Za,
|
|
2780
|
+
Qa
|
|
2775
2781
|
]]]);
|
|
2776
2782
|
//#endregion
|
|
2777
2783
|
//#region src/utils/transformers.js
|
|
2778
|
-
function
|
|
2784
|
+
function uo(e, t) {
|
|
2779
2785
|
if (e.length === 0) throw new Ee(Te.message, Te.options);
|
|
2780
|
-
t.seasons =
|
|
2786
|
+
t.seasons = Ae(e), t.championshipId ||= B(t.seasons).championshipId;
|
|
2781
2787
|
}
|
|
2782
|
-
function
|
|
2783
|
-
t.sections =
|
|
2788
|
+
function fo(e, t) {
|
|
2789
|
+
t.sections = Ie(e), t.sectionId = Ze(t.sections), t.phaseId = We([
|
|
2784
2790
|
0,
|
|
2785
2791
|
"phases",
|
|
2786
2792
|
0
|
|
@@ -2788,7 +2794,7 @@ function uo(e, t) {
|
|
|
2788
2794
|
}
|
|
2789
2795
|
//#endregion
|
|
2790
2796
|
//#region src/components/schedule-cup/schedule-cup.internal.js
|
|
2791
|
-
var
|
|
2797
|
+
var po = {
|
|
2792
2798
|
gameName: {
|
|
2793
2799
|
label: "table.gameName.short",
|
|
2794
2800
|
tooltip: "table.gameName.tooltip",
|
|
@@ -2825,7 +2831,7 @@ var fo = {
|
|
|
2825
2831
|
class: "text-start"
|
|
2826
2832
|
}
|
|
2827
2833
|
};
|
|
2828
|
-
function
|
|
2834
|
+
function mo(e) {
|
|
2829
2835
|
return (t) => t.map((t) => ({
|
|
2830
2836
|
...t,
|
|
2831
2837
|
...t.registration && { registration: `${t.registration}/cid/${e}` }
|
|
@@ -2833,7 +2839,7 @@ function po(e) {
|
|
|
2833
2839
|
}
|
|
2834
2840
|
//#endregion
|
|
2835
2841
|
//#region src/components/schedule-cup/DataProvider.vue
|
|
2836
|
-
var
|
|
2842
|
+
var ho = {
|
|
2837
2843
|
__name: "DataProvider",
|
|
2838
2844
|
props: {
|
|
2839
2845
|
championshipName: {
|
|
@@ -2868,13 +2874,13 @@ var mo = {
|
|
|
2868
2874
|
sections: [],
|
|
2869
2875
|
sectionId: null,
|
|
2870
2876
|
phaseId: null
|
|
2871
|
-
}), { onError: i } =
|
|
2877
|
+
}), { onError: i } = _t(), { isLoading: a, execute: o } = H({
|
|
2872
2878
|
options: {
|
|
2873
2879
|
path: "/v2/championship-seasons",
|
|
2874
2880
|
apiKey: t.apiKey,
|
|
2875
2881
|
params: { championshipName: t.championshipName }
|
|
2876
2882
|
},
|
|
2877
|
-
transform: (e) =>
|
|
2883
|
+
transform: (e) => uo(e, r),
|
|
2878
2884
|
onError: i
|
|
2879
2885
|
}), { isLoading: s, execute: c } = H({
|
|
2880
2886
|
options: {
|
|
@@ -2882,7 +2888,7 @@ var mo = {
|
|
|
2882
2888
|
apiKey: t.apiKey,
|
|
2883
2889
|
params: n(() => ({ championshipId: r.championshipId }))
|
|
2884
2890
|
},
|
|
2885
|
-
transform: (e) =>
|
|
2891
|
+
transform: (e) => fo(e, r),
|
|
2886
2892
|
onError: i
|
|
2887
2893
|
}), { isLoading: l, state: u, execute: d } = H({
|
|
2888
2894
|
options: {
|
|
@@ -2893,10 +2899,10 @@ var mo = {
|
|
|
2893
2899
|
phaseId: r.phaseId
|
|
2894
2900
|
}))
|
|
2895
2901
|
},
|
|
2896
|
-
transform: (e) =>
|
|
2902
|
+
transform: (e) => Ke(et, mo(r.championshipId))(e),
|
|
2897
2903
|
onError: i
|
|
2898
|
-
}), f = n(() =>
|
|
2899
|
-
|
|
2904
|
+
}), f = n(() => Oe(u.value).schedule(t.timezone, t.locale).value());
|
|
2905
|
+
Sn([
|
|
2900
2906
|
o,
|
|
2901
2907
|
c,
|
|
2902
2908
|
d
|
|
@@ -2907,10 +2913,10 @@ var mo = {
|
|
|
2907
2913
|
l.value
|
|
2908
2914
|
].some(Boolean));
|
|
2909
2915
|
function h(e) {
|
|
2910
|
-
r.championshipId = e,
|
|
2916
|
+
r.championshipId = e, Sn([c, d]);
|
|
2911
2917
|
}
|
|
2912
2918
|
function g(e) {
|
|
2913
|
-
r.sectionId = e.sectionId, r.phaseId =
|
|
2919
|
+
r.sectionId = e.sectionId, r.phaseId = We([
|
|
2914
2920
|
"phases",
|
|
2915
2921
|
0,
|
|
2916
2922
|
"phaseId"
|
|
@@ -2919,14 +2925,14 @@ var mo = {
|
|
|
2919
2925
|
return (e, t) => k(e.$slots, "default", b(p({
|
|
2920
2926
|
rows: f.value,
|
|
2921
2927
|
isLoading: m.value,
|
|
2922
|
-
values: P(
|
|
2928
|
+
values: P(Ue)(["phaseId"], r),
|
|
2923
2929
|
listeners: {
|
|
2924
2930
|
onChangeSection: g,
|
|
2925
2931
|
onChangeSeason: h
|
|
2926
2932
|
}
|
|
2927
2933
|
})));
|
|
2928
2934
|
}
|
|
2929
|
-
},
|
|
2935
|
+
}, go = ["href"], _o = ["href"], vo = {
|
|
2930
2936
|
__name: "ScheduleCupDataTable",
|
|
2931
2937
|
props: {
|
|
2932
2938
|
columns: {
|
|
@@ -2947,7 +2953,7 @@ var mo = {
|
|
|
2947
2953
|
}
|
|
2948
2954
|
},
|
|
2949
2955
|
setup(e) {
|
|
2950
|
-
let t = e, r = D(null), { columns: o } =
|
|
2956
|
+
let t = e, r = D(null), { columns: o } = gt(t.columns, null, n(() => ({ offsetName: t.offsetName }))), { t: l } = V();
|
|
2951
2957
|
return (t, n) => (T(), a("div", {
|
|
2952
2958
|
ref_key: "tooltipContainer",
|
|
2953
2959
|
ref: r
|
|
@@ -2964,11 +2970,11 @@ var mo = {
|
|
|
2964
2970
|
key: 0,
|
|
2965
2971
|
href: e.schedule,
|
|
2966
2972
|
target: "_blank"
|
|
2967
|
-
}, M(P(l)("schedule")), 9,
|
|
2973
|
+
}, M(P(l)("schedule")), 9, go)) : e.registration ? (T(), a("a", {
|
|
2968
2974
|
key: 1,
|
|
2969
2975
|
href: e.registration,
|
|
2970
2976
|
target: "_blank"
|
|
2971
|
-
}, M(P(l)("registration")), 9,
|
|
2977
|
+
}, M(P(l)("registration")), 9, _o)) : i("", !0)]),
|
|
2972
2978
|
_: 1
|
|
2973
2979
|
}, 8, [
|
|
2974
2980
|
"columns",
|
|
@@ -2979,7 +2985,7 @@ var mo = {
|
|
|
2979
2985
|
_: 1
|
|
2980
2986
|
})], 512));
|
|
2981
2987
|
}
|
|
2982
|
-
},
|
|
2988
|
+
}, yo = /* @__PURE__ */ Q({
|
|
2983
2989
|
__name: "ScheduleCup.ce",
|
|
2984
2990
|
props: {
|
|
2985
2991
|
locale: {
|
|
@@ -2999,7 +3005,7 @@ var mo = {
|
|
|
2999
3005
|
let t = e, a = {
|
|
3000
3006
|
en: W,
|
|
3001
3007
|
hu: G
|
|
3002
|
-
}, o = D(
|
|
3008
|
+
}, o = D(Le()), s = n(() => He(/* @__PURE__ */ new Date(), o.value, t.locale));
|
|
3003
3009
|
return (n, l) => (T(), r(P(L), {
|
|
3004
3010
|
locale: t.locale,
|
|
3005
3011
|
messages: a
|
|
@@ -3008,13 +3014,13 @@ var mo = {
|
|
|
3008
3014
|
default: I(({ error: t, hasError: n }) => [n ? (T(), r(P(he), {
|
|
3009
3015
|
key: 0,
|
|
3010
3016
|
error: t
|
|
3011
|
-
}, null, 8, ["error"])) : i("", !0), c(
|
|
3017
|
+
}, null, 8, ["error"])) : i("", !0), c(ho, {
|
|
3012
3018
|
"championship-name": e.championshipName,
|
|
3013
3019
|
locale: e.locale,
|
|
3014
3020
|
timezone: o.value
|
|
3015
3021
|
}, {
|
|
3016
|
-
default: I(({ rows: e, isLoading: t, values: n, listeners: r }) => [c(
|
|
3017
|
-
columns: P(
|
|
3022
|
+
default: I(({ rows: e, isLoading: t, values: n, listeners: r }) => [c(ri, _(n, ie(r)), null, 16), c(vo, {
|
|
3023
|
+
columns: P(po),
|
|
3018
3024
|
rows: e.rows,
|
|
3019
3025
|
"is-loading": t,
|
|
3020
3026
|
"offset-name": s.value
|
|
@@ -3037,14 +3043,14 @@ var mo = {
|
|
|
3037
3043
|
}
|
|
3038
3044
|
}, [["styles", [
|
|
3039
3045
|
Z,
|
|
3040
|
-
bi,
|
|
3041
3046
|
xi,
|
|
3042
3047
|
Si,
|
|
3043
3048
|
Ci,
|
|
3044
3049
|
wi,
|
|
3045
3050
|
Ti,
|
|
3051
|
+
Ei,
|
|
3046
3052
|
"@layer components.variables{:where(:host){--mvw-color-error-notice-bg-color: color-mix(in oklab, var(--mvw-color-error) 10%, transparent);--mvw-color-error-notice-border-color: color-mix(in oklab, var(--mvw-color-error) 25%, transparent);--mvw-color-error-notice-color: var(--mvw-color-error)}}@layer components{:where(.error-notice){display:flex;align-items:center;justify-items:flex-start;gap:15px;margin:10px 0;padding:10px 20px;background-color:var(--mvw-color-error-notice-bg-color);color:var(--mvw-color-error-notice-color);border:1px solid var(--mvw-color-error-notice-border-color);border-radius:var(--radius-2)}:where(.error-notice) button{text-decoration:underline}}"
|
|
3047
|
-
]]]),
|
|
3053
|
+
]]]), bo = ["data-state", "onClick"], xo = { class: "list" }, So = ["aria-selected", "onClick"], Co = { class: "text" }, wo = /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
|
|
3048
3054
|
__name: "ChampionshipSelector",
|
|
3049
3055
|
props: {
|
|
3050
3056
|
data: {
|
|
@@ -3076,11 +3082,11 @@ var mo = {
|
|
|
3076
3082
|
"data-state": t ? "open" : "closed",
|
|
3077
3083
|
class: "icon-button",
|
|
3078
3084
|
onClick: n
|
|
3079
|
-
}, [c(P(
|
|
3085
|
+
}, [c(P(qn), { style: {
|
|
3080
3086
|
display: "block",
|
|
3081
3087
|
height: "20px"
|
|
3082
|
-
} })], 8,
|
|
3083
|
-
content: I(({ close: n }) => [o("ul",
|
|
3088
|
+
} })], 8, bo)]),
|
|
3089
|
+
content: I(({ close: n }) => [o("ul", xo, [(T(!0), a(e, null, O(t.data, (e) => (T(), a("li", { key: e.championshipId }, [o("button", {
|
|
3084
3090
|
class: y({ "is-selected": t.selected === e.phaseId }),
|
|
3085
3091
|
"aria-selected": t.selected === e.phaseId,
|
|
3086
3092
|
type: "button",
|
|
@@ -3088,22 +3094,22 @@ var mo = {
|
|
|
3088
3094
|
item: e,
|
|
3089
3095
|
close: n(t)
|
|
3090
3096
|
})
|
|
3091
|
-
}, [o("div",
|
|
3097
|
+
}, [o("div", Co, M(e.name) + " - " + M(e.phase), 1)], 10, So)]))), 128))])]),
|
|
3092
3098
|
_: 1
|
|
3093
3099
|
}, 8, ["append-to"]));
|
|
3094
3100
|
}
|
|
3095
3101
|
});
|
|
3096
3102
|
//#endregion
|
|
3097
3103
|
//#region src/components/standings-selector/internal.js
|
|
3098
|
-
function
|
|
3104
|
+
function To(e) {
|
|
3099
3105
|
return e.map((e) => ({
|
|
3100
3106
|
...e,
|
|
3101
|
-
w:
|
|
3107
|
+
w: tt([
|
|
3102
3108
|
e.w,
|
|
3103
3109
|
e.otw,
|
|
3104
3110
|
e.sow
|
|
3105
3111
|
]),
|
|
3106
|
-
l:
|
|
3112
|
+
l: tt([
|
|
3107
3113
|
e.l,
|
|
3108
3114
|
e.otl,
|
|
3109
3115
|
e.sol
|
|
@@ -3112,7 +3118,7 @@ function wo(e) {
|
|
|
3112
3118
|
}
|
|
3113
3119
|
//#endregion
|
|
3114
3120
|
//#region src/components/standings-selector/DataProvider.vue
|
|
3115
|
-
var
|
|
3121
|
+
var Eo = {
|
|
3116
3122
|
__name: "DataProvider",
|
|
3117
3123
|
props: {
|
|
3118
3124
|
apiKey: {
|
|
@@ -3125,7 +3131,7 @@ var To = {
|
|
|
3125
3131
|
}
|
|
3126
3132
|
},
|
|
3127
3133
|
setup(e) {
|
|
3128
|
-
let t = e, { onError: r, reset: i } =
|
|
3134
|
+
let t = e, { onError: r, reset: i } = _t(), a = E({
|
|
3129
3135
|
championshipId: B(t.data).championshipId,
|
|
3130
3136
|
phaseId: B(t.data).phaseId,
|
|
3131
3137
|
path: B(t.data)?.path ?? "",
|
|
@@ -3143,9 +3149,9 @@ var To = {
|
|
|
3143
3149
|
resetOnExecute: !0,
|
|
3144
3150
|
immediate: !0
|
|
3145
3151
|
},
|
|
3146
|
-
transform: (e) =>
|
|
3152
|
+
transform: (e) => To(e),
|
|
3147
3153
|
onError: r
|
|
3148
|
-
}), l = n(() =>
|
|
3154
|
+
}), l = n(() => Oe(o.value).addContinuousIndex().value()), u = n(() => ({
|
|
3149
3155
|
tag: a.path ? "a" : "span",
|
|
3150
3156
|
props: { ...a.path && { href: a.path } }
|
|
3151
3157
|
}));
|
|
@@ -3160,7 +3166,7 @@ var To = {
|
|
|
3160
3166
|
onChange: d
|
|
3161
3167
|
})));
|
|
3162
3168
|
}
|
|
3163
|
-
},
|
|
3169
|
+
}, Do = { class: "playoffs" }, Oo = { class: "section-title" }, ko = { class: "responsive-team-name font-bold text-highlighted" }, Ao = { class: "team-name-short" }, jo = { class: "team-name-long" }, Mo = { class: "badge lg inverted" }, No = { class: "responsive-team-name font-bold text-highlighted" }, Po = { class: "team-name-short" }, Fo = { class: "team-name-long" }, Io = {
|
|
3164
3170
|
__name: "PlayoffsList",
|
|
3165
3171
|
props: {
|
|
3166
3172
|
playoffs: {
|
|
@@ -3175,20 +3181,20 @@ var To = {
|
|
|
3175
3181
|
setup(t) {
|
|
3176
3182
|
let { t: n } = V();
|
|
3177
3183
|
return (s, l) => (T(), r(P(Se), null, {
|
|
3178
|
-
default: I(() => [o("div",
|
|
3184
|
+
default: I(() => [o("div", Do, [t.isLoading ? (T(), r(P(be), { key: 0 })) : i("", !0), (T(!0), a(e, null, O(t.playoffs, (e) => (T(), a("div", {
|
|
3179
3185
|
key: `${e.divisionStage2Name}-${e.divisionStageNumber}`,
|
|
3180
3186
|
class: "section"
|
|
3181
|
-
}, [o("div",
|
|
3182
|
-
o("li",
|
|
3187
|
+
}, [o("div", Oo, M(P(n)(`playoffs.${e.divisionStage2Name}${e.divisionStageNumber || ""}`)), 1), o("ul", null, [
|
|
3188
|
+
o("li", ko, [o("div", null, [o("span", Ao, M(e.homeTeam.shortName), 1), o("span", jo, M(e.homeTeam.longName), 1)])]),
|
|
3183
3189
|
o("li", null, [c(P(R), { src: e.homeTeam.logo }, null, 8, ["src"])]),
|
|
3184
|
-
o("li", null, [o("span",
|
|
3190
|
+
o("li", null, [o("span", Mo, M(e.seriesStandings), 1)]),
|
|
3185
3191
|
o("li", null, [c(P(R), { src: e.awayTeam.logo }, null, 8, ["src"])]),
|
|
3186
|
-
o("li",
|
|
3192
|
+
o("li", No, [o("div", null, [o("span", Po, M(e.awayTeam.shortName), 1), o("span", Fo, M(e.awayTeam.longName), 1)])])
|
|
3187
3193
|
])]))), 128))])]),
|
|
3188
3194
|
_: 1
|
|
3189
3195
|
}));
|
|
3190
3196
|
}
|
|
3191
|
-
}, Io = "@layer components.variables{:where(:host){--mvw-standings-selector-title-size: var(--font-size-500);--mvw-standings-selector-title-color: light-dark(var(--mvw-color-primary-700), var(--mvw-color-primary-300));--mvw-standings-selector-title-transform: none;--mvw-standings-selector-title-padding: 0 .625em .5625em;--mvw-standings-selector-title-bg-color: transparent;--mvw-standings-selector-section-title-bg: light-dark(var(--mvw-color-primary-50), var(--mvw-color-primary-900));--mvw-standings-selector-section-title-size: var(--font-size-400);--mvw-standings-selector-section-title-color: light-dark( var(--mvw-color-primary-700), var(--mvw-color-primary-300) );--mvw-standings-selector-section-title-padding: var(--size-8);--mvw-standings-selector-section-logo-size: 30px}}@layer components{:where(.standings-selector) .standings-selector-title{display:grid;grid-template-columns:1fr auto;align-items:center;padding:var(--mvw-standings-selector-title-padding);text-transform:var(--mvw-standings-selector-title-transform);font-size:var(--mvw-standings-selector-title-size);color:var(--mvw-standings-selector-title-color);background:var(--mvw-standings-selector-title-bg-color)}:where(.standings-selector) .is-title-text svg{display:inline-block;height:16px;vertical-align:middle}:where(.standings-selector) :where(.playoffs) ul{display:grid;grid-template-columns:minmax(0,1fr) var(--mvw-standings-selector-section-logo-size) auto var( --mvw-standings-selector-section-logo-size ) minmax(0,1fr);gap:12px;align-items:center;list-style:none;margin:0;padding:0}:where(.standings-selector) :where(.playoffs) li{padding-block:8px}:where(.standings-selector) :where(.playoffs) li:first-of-type{text-align:end}:where(.standings-selector) :where(.playoffs) img{display:block;width:100%;aspect-ratio:1}:where(.standings-selector) :where(.playoffs) .section-title{padding:var(--mvw-standings-selector-section-title-padding);color:var(--mvw-standings-selector-section-title-color);background-color:var(--mvw-standings-selector-section-title-bg);font-size:var(--mvw-standings-selector-section-title-size);font-weight:700;text-align:center}}", Lo = "@layer components{:where(.table-responsive){container-name:table-wrapper;container-type:inline-size;width:100%;overflow-x:auto}:where(.table-responsive) :where(table){width:100%}}", Ro = "@layer components.variables{:where(:host){--mvw-table-header-font-size: var(--font-size-200);--mvw-table-default-column-width: 40px;--mvw-table-default-bg-color: light-dark(var(--mvw-color-white), var(--mvw-color-primary-900));--mvw-table-color: light-dark(var(--mvw-color-primary-800), var(--mvw-color-primary-200));--mvw-table-neutral-color: light-dark(var(--mvw-color-primary-300), var(--mvw-color-primary-700));--mvw-table-header-bg-color: light-dark(var(--mvw-color-primary-800), var(--mvw-color-primary-200));--mvw-table-header-color: light-dark(var(--mvw-color-primary-200), var(--mvw-color-primary-800));--mvw-table-header-hover-bg-color: light-dark(var(--mvw-color-primary-700), var(--mvw-color-primary-300));--mvw-table-header-active-bg-color: light-dark(var(--mvw-color-primary-700), var(--mvw-color-primary-300));--mvw-table-header-active-color: light-dark(var(--mvw-color-white), var(--mvw-color-primary-900));--mvw-table-hover-color: light-dark(var(--mvw-color-primary-900), var(--mvw-color-white));--mvw-table-hover-bg-color: light-dark(var(--mvw-color-secondary-100), var(--mvw-color-primary-950));--mvw-table-active-color: light-dark(var(--mvw-color-secondary-900), var(--mvw-color-secondary-100));--mvw-table-active-bg-color: light-dark(var(--mvw-color-secondary-200), var(--mvw-color-secondary-800));--mvw-table-active-even-bg-color: light-dark(var(--mvw-color-secondary-300), var(--mvw-color-secondary-700));--mvw-table-active-hover-color: light-dark(var(--mvw-color-secondary-900), var(--mvw-color-secondary-100));--mvw-table-active-hover-bg-color: light-dark(var(--mvw-color-secondary-400), var(--mvw-color-secondary-500));--mvw-table-portrait-border-color: light-dark(var(--mvw-color-primary-100), var(--mvw-color-primary-900));--mvw-table-portrait-bg-color: light-dark(var(--mvw-color-primary-50), var(--mvw-color-primary-900));--mvw-table-stripped-bg-color: light-dark( hsl(from var(--mvw-color-primary-50) h s calc(l + 3) ), hsl(from var(--mvw-color-primary-900) h s calc(l + 2) ) );--mvw-table-label-color: light-dark(var(--mvw-color-primary-500), var(--mvw-color-primary-400));--mvw-table-label-bg-color: light-dark(var(--mvw-color-primary-50), var(--mvw-color-primary-900));--mvw-table-cell-logo-size: 20px;--mvw-table-cell-portrait-size: 26px;--mvw-table-caption-color: light-dark(var(--mvw-color-primary-400), var(--mvw-color-primary-600));--mvw-table-caption-font-size: var(--font-size-200)}}@layer components{:where(.table){border-collapse:collapse;max-inline-size:100%;position:relative;color:var(--mvw-table-color);background-color:var(--mvw-table-default-bg-color)}:where(.table) tr{background-color:var(--surface-default);border-top:1px solid var(--border-color)}:where(.table) tr:hover{background-color:oklch(from var(--surface-filled) l c h / 75%)}:where(.table) tr:nth-child(2n){background:var(--mvw-table-stripped-bg-color)}:where(.table) tr:nth-child(2n) td.is-active{background-color:var(--mvw-table-active-even-bg-color)}:where(.table) tr.is-highlighted{color:var(--mvw-color-error)}:where(.table) tr.is-optional{opacity:.5}:where(.table) :is(th,td){padding:var(--size-8);white-space:nowrap;text-align:center}:where(.table) th{background:var(--mvw-table-header-bg-color);color:var(--mvw-table-header-color);font-size:var(--mvw-table-header-font-size);font-weight:700;text-align:center;width:var(--mvw-table-default-column-width)}:where(.table) th:focus-visible,:where(.table) th:hover{background-color:var(--mvw-table-header-hover-bg-color);outline:none}:where(.table) th.is-sortable{position:relative;cursor:pointer}:where(.table) th.is-sortable .is-icon-sort{opacity:.5}:where(.table) th.is-active{background-color:var(--mvw-table-header-active-bg-color);color:var(--mvw-table-header-active-color)}:where(.table) th.is-active .is-icon-sort{opacity:1}:where(.table) th.is-has-image,:where(.table) th.has-avatar{width:0}:where(.table) th .is-icon-sort{display:inline-block;width:var(--size-12);height:var(--size-12);margin-inline-start:var(--size-4)}:where(.table) td.is-active{font-weight:700;color:var(--mvw-table-active-color);background:var(--mvw-table-active-bg-color)}:where(.table) td.has-avatar .avatar{--_width: var(--mvw-table-cell-portrait-size)}:where(.table) td[data-value=\"0\"],:where(.table) td.is-zero{color:var(--mvw-text-faded)}:where(.table) td.is-possible-empty:empty:before{content:\"0\";color:var(--mvw-text-faded)}:where(.table) td.is-horizontal-content{display:inline-flex;align-items:center}:where(.table) td a[target=_blank]:after{content:\"\";position:absolute;left:100%;top:calc(50% - .4em)}:where(.table) td .is-logo-image{display:inline-block;vertical-align:middle;width:var(--mvw-table-cell-logo-size);height:var(--mvw-table-cell-logo-size);max-inline-size:fit-content}:where(.table) td .is-duplicated{color:var(--mvw-table-neutral-color)}:where(.table) td .is-team-name-long{display:inline-block}:where(.table) td .is-team-name-short{display:none}@container table-wrapper (max-width: 768px){:where(.table) td .is-team-name-long{display:none}:where(.table) td .is-team-name-short{display:inline-block}}:where(.table) caption{caption-side:bottom;color:var(--mvw-table-caption-color);font-size:var(--mvw-table-caption-font-size, .75rem);padding:var(--size-12) 0;text-align:start}:where(.table) tbody tr:focus-within,:where(.table) tbody tr:hover{color:var(--mvw-table-hover-color);background-color:var(--mvw-table-hover-bg-color)}:is(:where(.table) tbody tr:focus-within,:where(.table) tbody tr:hover) td.is-active{color:var(--mvw-table-active-hover-color);background-color:var(--mvw-table-active-hover-bg-color)}}", zo = "@layer components.variables{:where(:host){--mvw-tooltip-font-size: var(--font-size-200);--mvw-tooltip-color: light-dark(white, black);--mvw-tooltip-bg-color: light-dark(black, white);--mvw-floating-content-bg-color: light-dark(white, var(--mvw-color-primary-800))}}@layer components{:where(.floating-content).is-tooltip{background-color:var(--mvw-tooltip-bg-color);color:var(--mvw-tooltip-color);font-weight:700;padding:var(--size-4) var(--size-8);border-radius:var(--radius-2);font-size:var(--mvw-tooltip-font-size);white-space:nowrap;pointer-events:none}:where(.floating-content).is-tooltip .is-arrow{background-color:var(--mvw-tooltip-bg-color)}:where(.floating-content).is-content{background-color:var(--mvw-floating-content-bg-color);border-radius:var(--radius-2);box-shadow:var(--shadow-6)}:where(.floating-content).is-content .is-arrow{background-color:var(--mvw-floating-content-bg-color)}:where(.floating-content) .is-arrow{width:8px;height:8px;transform:rotate(45deg)}[data-placement^=top] :is(:where(.floating-content) .is-arrow){bottom:-4px;clip-path:polygon(80% 0,100% 0,100% 100%,0 100%,0 80%)}[data-placement^=bottom] :is(:where(.floating-content) .is-arrow){top:-4px;clip-path:polygon(100% 0,0 0,0 100%)}[data-placement^=left] :is(:where(.floating-content) .is-arrow){right:-4px;clip-path:polygon(100% 0,0 0,100% 100%)}[data-placement^=right] :is(:where(.floating-content) .is-arrow){left:-4px;clip-path:polygon(100% 0,0 0,0 100%)}.transition-fade-enter-active,.transition-fade-leave-active{transition:all .7s var(--ease-spring-1)}.transition-fade-enter-from,.transition-fade-leave-to{opacity:0;transform:translateY(5px)}}", Bo = "@layer components.variables{:where(:host){--mvw-list-item-font-size: var(--font-size-400);--mvw-list-item-color: light-dark(var(--mvw-color-primary-500), var(--mvw-color-primary-200));--mvw-list-item-hover-color: light-dark(var(--mvw-color-primary-800), var(--mvw-color-primary-50));--mvw-list-item-hover-bg-color: light-dark(var(--mvw-color-primary-50), var(--mvw-color-primary-900));--mvw-list-item-selected-color: light-dark(var(--mvw-color-secondary-700), var(--mvw-color-secondary-300))}}@layer components{:where(.list){list-style:none;margin:0;padding:var(--size-4)}@media(pointer:coarse){:where(.list),:where(.list) *{-webkit-user-select:none;user-select:none}}:where(.list) :where(li,option,[role=group]>label){align-items:center;display:flex;gap:var(--size-4);isolation:isolate;min-block-size:40px;position:relative}:where(.list) :where(li,option,[role=group]>label):before{display:none}:where(.list) :where(li,option,[role=group]>label) *{font-size:inherit}:where(.list) :where(li,option,[role=group]>label):has(>a,>button,>label){background:transparent;display:block;min-block-size:auto;padding:0}:where(.list) :where(li,option,[role=group]>label)>a,:where(.list) :where(li,option,[role=group]>label)>button,:where(.list) :where(li,option,[role=group]>label)>label{align-items:center;color:var(--mvw-list-item-color);cursor:pointer;display:flex;gap:var(--size-8);inline-size:100%;margin:0;outline-offset:-1px;font-size:var(--mvw-list-item-font-size);padding:var(--size-4) var(--size-6);text-align:start;text-decoration:none;border-radius:var(--radius-2);z-index:0}:is(:where(.list) :where(li,option,[role=group]>label)>a,:where(.list) :where(li,option,[role=group]>label)>button,:where(.list) :where(li,option,[role=group]>label)>label):focus,:is(:where(.list) :where(li,option,[role=group]>label)>a,:where(.list) :where(li,option,[role=group]>label)>button,:where(.list) :where(li,option,[role=group]>label)>label):focus-visible,:is(:where(.list) :where(li,option,[role=group]>label)>a,:where(.list) :where(li,option,[role=group]>label)>button,:where(.list) :where(li,option,[role=group]>label)>label):hover{color:var(--mvw-list-item-hover-color);background-color:var(--mvw-list-item-hover-bg-color)}:is(:where(.list) :where(li,option,[role=group]>label)>a,:where(.list) :where(li,option,[role=group]>label)>button,:where(.list) :where(li,option,[role=group]>label)>label)[aria-selected=true]{color:var(--mvw-list-item-selected-color)}:is(:where(.list) :where(li,option,[role=group]>label)>a,:where(.list) :where(li,option,[role=group]>label)>button,:where(.list) :where(li,option,[role=group]>label)>label) .text{flex:1;line-height:1.6}:is(:where(.list) :where(li,option,[role=group]>label)>a,:where(.list) :where(li,option,[role=group]>label)>button,:where(.list) :where(li,option,[role=group]>label)>label) .text :where(h1,h2,h3,h4,h5,h6,p,span){color:inherit;font-weight:400}:is(:where(.list) :where(li,option,[role=group]>label)>a,:where(.list) :where(li,option,[role=group]>label)>button,:where(.list) :where(li,option,[role=group]>label)>label) .text p+p{font-size:var(--font-size-100)}:is(:where(.list) :where(li,option,[role=group]>label)>a,:where(.list) :where(li,option,[role=group]>label)>button,:where(.list) :where(li,option,[role=group]>label)>label) .start{align-self:center;align-items:center;display:grid;z-index:1}:is(:where(.list) :where(li,option,[role=group]>label)>a,:where(.list) :where(li,option,[role=group]>label)>button,:where(.list) :where(li,option,[role=group]>label)>label) .start svg{inline-size:var(--mvw-list-item-font-size)}:where(.unordered-list){display:grid;align-items:center}:where(.unordered-list) li{display:flex;align-items:center;gap:var(--size-4);color:var(--mvw-text-default);padding:var(--size-6) var(--size-4)}:where(.unordered-list) li:not(:first-child){border-top:1px solid var(--mvw-border-muted)}:where(.unordered-list).centered li{justify-content:center}@media(width>500px){:where(.unordered-list){display:flex}:where(.unordered-list) li:not(:first-child){border-top:none}:where(.unordered-list) li:not(:first-of-type):before{content:\"/\";margin-inline-end:var(--size-6);color:var(--mvw-border-muted)}}}", Vo = "@layer components{:where(.badge){--_bg-color: var(--mvw-bg-muted);--_color: var(--mvw-text-muted);padding:var(--size-2) var(--size-4);display:inline-flex;gap:var(--size-2);font-size:var(--font-size-100);font-weight:700;line-height:var(--font-lineheight-300);color:var(--_color);background-color:var(--_bg-color);border-radius:var(--radius-2)}:where(.badge) svg{fill:currentColor}:where(.badge).inverted{--_bg-color: var(--mvw-bg-inverted);--_color: var(--mvw-text-inverted)}:where(.badge).live{--_bg-color: var(--mvw-color-live);--_color: var(--mvw-color-white)}:where(.badge).error{--_bg-color: var(--mvw-color-error);--_color: var(--mvw-color-white)}:where(.badge).warning{--_bg-color: var(--mvw-color-warning);--_color: var(--mvw-color-white)}:where(.badge).xs{font-size:var(--font-size-50)}:where(.badge).lg{font-size:var(--font-size-300);padding:var(--size-4) var(--size-6)}:where(.badge)+:where(.badge){margin-inline-start:var(--size-4)}}", Ho = "@layer components{:where(.icon-button){--_hover-bg-color: color-mix(in oklab, light-dark(var(--mvw-color-black), var(--mvw-color-white)) 10%, transparent);align-items:center;aspect-ratio:1;background-color:transparent;border:0;border-radius:var(--radius-2);display:inline-flex;inline-size:var(--size-24);justify-content:center;padding:0}:where(.icon-button) svg{max-inline-size:var(--size-16);pointer-events:none}:where(.icon-button)[data-state=open],:where(.icon-button):hover{background-color:var(--_hover-bg-color)}:where(.icon-button).xs{border-radius:var(--radius-1)}}", Uo = "@layer components.variables{:where(:host){--mvw-color-error-notice-bg-color: color-mix(in oklab, var(--mvw-color-error) 10%, transparent);--mvw-color-error-notice-border-color: color-mix(in oklab, var(--mvw-color-error) 25%, transparent);--mvw-color-error-notice-color: var(--mvw-color-error)}}@layer components{:where(.error-notice){display:flex;align-items:center;justify-items:flex-start;gap:15px;margin:10px 0;padding:10px 20px;background-color:var(--mvw-color-error-notice-bg-color);color:var(--mvw-color-error-notice-color);border:1px solid var(--mvw-color-error-notice-border-color);border-radius:var(--radius-2)}:where(.error-notice) button{text-decoration:underline}}", Wo = { class: "standings-selector" }, Go = { class: "standings-selector-title" }, Ko = /* @__PURE__ */ Q({
|
|
3197
|
+
}, Lo = "@layer components.variables{:where(:host){--mvw-standings-selector-title-size: var(--font-size-500);--mvw-standings-selector-title-color: light-dark(var(--mvw-color-primary-700), var(--mvw-color-primary-300));--mvw-standings-selector-title-transform: none;--mvw-standings-selector-title-padding: 0 .625em .5625em;--mvw-standings-selector-title-bg-color: transparent;--mvw-standings-selector-section-title-bg: light-dark(var(--mvw-color-primary-50), var(--mvw-color-primary-900));--mvw-standings-selector-section-title-size: var(--font-size-400);--mvw-standings-selector-section-title-color: light-dark( var(--mvw-color-primary-700), var(--mvw-color-primary-300) );--mvw-standings-selector-section-title-padding: var(--size-8);--mvw-standings-selector-section-logo-size: 30px}}@layer components{:where(.standings-selector) .standings-selector-title{display:grid;grid-template-columns:1fr auto;align-items:center;padding:var(--mvw-standings-selector-title-padding);text-transform:var(--mvw-standings-selector-title-transform);font-size:var(--mvw-standings-selector-title-size);color:var(--mvw-standings-selector-title-color);background:var(--mvw-standings-selector-title-bg-color)}:where(.standings-selector) .is-title-text svg{display:inline-block;height:16px;vertical-align:middle}:where(.standings-selector) :where(.playoffs) ul{display:grid;grid-template-columns:minmax(0,1fr) var(--mvw-standings-selector-section-logo-size) auto var( --mvw-standings-selector-section-logo-size ) minmax(0,1fr);gap:12px;align-items:center;list-style:none;margin:0;padding:0}:where(.standings-selector) :where(.playoffs) li{padding-block:8px}:where(.standings-selector) :where(.playoffs) li:first-of-type{text-align:end}:where(.standings-selector) :where(.playoffs) img{display:block;width:100%;aspect-ratio:1}:where(.standings-selector) :where(.playoffs) .section-title{padding:var(--mvw-standings-selector-section-title-padding);color:var(--mvw-standings-selector-section-title-color);background-color:var(--mvw-standings-selector-section-title-bg);font-size:var(--mvw-standings-selector-section-title-size);font-weight:700;text-align:center}}", Ro = "@layer components{:where(.table-responsive){container-name:table-wrapper;container-type:inline-size;width:100%;overflow-x:auto}:where(.table-responsive) :where(table){width:100%}}", zo = "@layer components.variables{:where(:host){--mvw-table-header-font-size: var(--font-size-200);--mvw-table-default-column-width: 40px;--mvw-table-default-bg-color: light-dark(var(--mvw-color-white), var(--mvw-color-primary-900));--mvw-table-color: light-dark(var(--mvw-color-primary-800), var(--mvw-color-primary-200));--mvw-table-neutral-color: light-dark(var(--mvw-color-primary-300), var(--mvw-color-primary-700));--mvw-table-header-bg-color: light-dark(var(--mvw-color-primary-800), var(--mvw-color-primary-200));--mvw-table-header-color: light-dark(var(--mvw-color-primary-200), var(--mvw-color-primary-800));--mvw-table-header-hover-bg-color: light-dark(var(--mvw-color-primary-700), var(--mvw-color-primary-300));--mvw-table-header-active-bg-color: light-dark(var(--mvw-color-primary-700), var(--mvw-color-primary-300));--mvw-table-header-active-color: light-dark(var(--mvw-color-white), var(--mvw-color-primary-900));--mvw-table-hover-color: light-dark(var(--mvw-color-primary-900), var(--mvw-color-white));--mvw-table-hover-bg-color: light-dark(var(--mvw-color-secondary-100), var(--mvw-color-primary-950));--mvw-table-active-color: light-dark(var(--mvw-color-secondary-900), var(--mvw-color-secondary-100));--mvw-table-active-bg-color: light-dark(var(--mvw-color-secondary-200), var(--mvw-color-secondary-800));--mvw-table-active-even-bg-color: light-dark(var(--mvw-color-secondary-300), var(--mvw-color-secondary-700));--mvw-table-active-hover-color: light-dark(var(--mvw-color-secondary-900), var(--mvw-color-secondary-100));--mvw-table-active-hover-bg-color: light-dark(var(--mvw-color-secondary-400), var(--mvw-color-secondary-500));--mvw-table-portrait-border-color: light-dark(var(--mvw-color-primary-100), var(--mvw-color-primary-900));--mvw-table-portrait-bg-color: light-dark(var(--mvw-color-primary-50), var(--mvw-color-primary-900));--mvw-table-stripped-bg-color: light-dark( hsl(from var(--mvw-color-primary-50) h s calc(l + 3) ), hsl(from var(--mvw-color-primary-900) h s calc(l + 2) ) );--mvw-table-label-color: light-dark(var(--mvw-color-primary-500), var(--mvw-color-primary-400));--mvw-table-label-bg-color: light-dark(var(--mvw-color-primary-50), var(--mvw-color-primary-900));--mvw-table-cell-logo-size: 20px;--mvw-table-cell-portrait-size: 26px;--mvw-table-caption-color: light-dark(var(--mvw-color-primary-400), var(--mvw-color-primary-600));--mvw-table-caption-font-size: var(--font-size-200)}}@layer components{:where(.table){border-collapse:collapse;max-inline-size:100%;position:relative;color:var(--mvw-table-color);background-color:var(--mvw-table-default-bg-color)}:where(.table) tr{background-color:var(--surface-default);border-top:1px solid var(--border-color)}:where(.table) tr:hover{background-color:oklch(from var(--surface-filled) l c h / 75%)}:where(.table) tr:nth-child(2n){background:var(--mvw-table-stripped-bg-color)}:where(.table) tr:nth-child(2n) td.is-active{background-color:var(--mvw-table-active-even-bg-color)}:where(.table) tr.is-highlighted{color:var(--mvw-color-error)}:where(.table) tr.is-optional{opacity:.5}:where(.table) :is(th,td){padding:var(--size-8);white-space:nowrap;text-align:center}:where(.table) th{background:var(--mvw-table-header-bg-color);color:var(--mvw-table-header-color);font-size:var(--mvw-table-header-font-size);font-weight:700;text-align:center;width:var(--mvw-table-default-column-width)}:where(.table) th:focus-visible,:where(.table) th:hover{background-color:var(--mvw-table-header-hover-bg-color);outline:none}:where(.table) th.is-sortable{position:relative;cursor:pointer}:where(.table) th.is-sortable .is-icon-sort{opacity:.5}:where(.table) th.is-active{background-color:var(--mvw-table-header-active-bg-color);color:var(--mvw-table-header-active-color)}:where(.table) th.is-active .is-icon-sort{opacity:1}:where(.table) th.is-has-image,:where(.table) th.has-avatar{width:0}:where(.table) th .is-icon-sort{display:inline-block;width:var(--size-12);height:var(--size-12);margin-inline-start:var(--size-4)}:where(.table) td.is-active{font-weight:700;color:var(--mvw-table-active-color);background:var(--mvw-table-active-bg-color)}:where(.table) td.has-avatar .avatar{--_width: var(--mvw-table-cell-portrait-size)}:where(.table) td[data-value=\"0\"],:where(.table) td.is-zero{color:var(--mvw-text-faded)}:where(.table) td.is-possible-empty:empty:before{content:\"0\";color:var(--mvw-text-faded)}:where(.table) td.is-horizontal-content{display:inline-flex;align-items:center}:where(.table) td a[target=_blank]:after{content:\"\";position:absolute;left:100%;top:calc(50% - .4em)}:where(.table) td .is-logo-image{display:inline-block;vertical-align:middle;width:var(--mvw-table-cell-logo-size);height:var(--mvw-table-cell-logo-size);max-inline-size:fit-content}:where(.table) td .is-duplicated{color:var(--mvw-table-neutral-color)}:where(.table) td .is-team-name-long{display:inline-block}:where(.table) td .is-team-name-short{display:none}@container table-wrapper (max-width: 768px){:where(.table) td .is-team-name-long{display:none}:where(.table) td .is-team-name-short{display:inline-block}}:where(.table) caption{caption-side:bottom;color:var(--mvw-table-caption-color);font-size:var(--mvw-table-caption-font-size, .75rem);padding:var(--size-12) 0;text-align:start}:where(.table) tbody tr:focus-within,:where(.table) tbody tr:hover{color:var(--mvw-table-hover-color);background-color:var(--mvw-table-hover-bg-color)}:is(:where(.table) tbody tr:focus-within,:where(.table) tbody tr:hover) td.is-active{color:var(--mvw-table-active-hover-color);background-color:var(--mvw-table-active-hover-bg-color)}}", Bo = "@layer components.variables{:where(:host){--mvw-tooltip-font-size: var(--font-size-200);--mvw-tooltip-color: light-dark(white, black);--mvw-tooltip-bg-color: light-dark(black, white);--mvw-floating-content-bg-color: light-dark(white, var(--mvw-color-primary-800))}}@layer components{:where(.floating-content).is-tooltip{background-color:var(--mvw-tooltip-bg-color);color:var(--mvw-tooltip-color);font-weight:700;padding:var(--size-4) var(--size-8);border-radius:var(--radius-2);font-size:var(--mvw-tooltip-font-size);white-space:nowrap;pointer-events:none}:where(.floating-content).is-tooltip .is-arrow{background-color:var(--mvw-tooltip-bg-color)}:where(.floating-content).is-content{background-color:var(--mvw-floating-content-bg-color);border-radius:var(--radius-2);box-shadow:var(--shadow-6)}:where(.floating-content).is-content .is-arrow{background-color:var(--mvw-floating-content-bg-color)}:where(.floating-content) .is-arrow{width:8px;height:8px;transform:rotate(45deg)}[data-placement^=top] :is(:where(.floating-content) .is-arrow){bottom:-4px;clip-path:polygon(80% 0,100% 0,100% 100%,0 100%,0 80%)}[data-placement^=bottom] :is(:where(.floating-content) .is-arrow){top:-4px;clip-path:polygon(100% 0,0 0,0 100%)}[data-placement^=left] :is(:where(.floating-content) .is-arrow){right:-4px;clip-path:polygon(100% 0,0 0,100% 100%)}[data-placement^=right] :is(:where(.floating-content) .is-arrow){left:-4px;clip-path:polygon(100% 0,0 0,0 100%)}.transition-fade-enter-active,.transition-fade-leave-active{transition:all .7s var(--ease-spring-1)}.transition-fade-enter-from,.transition-fade-leave-to{opacity:0;transform:translateY(5px)}}", Vo = "@layer components.variables{:where(:host){--mvw-list-item-font-size: var(--font-size-400);--mvw-list-item-color: light-dark(var(--mvw-color-primary-500), var(--mvw-color-primary-200));--mvw-list-item-hover-color: light-dark(var(--mvw-color-primary-800), var(--mvw-color-primary-50));--mvw-list-item-hover-bg-color: light-dark(var(--mvw-color-primary-50), var(--mvw-color-primary-900));--mvw-list-item-selected-color: light-dark(var(--mvw-color-secondary-700), var(--mvw-color-secondary-300))}}@layer components{:where(.list){list-style:none;margin:0;padding:var(--size-4)}@media(pointer:coarse){:where(.list),:where(.list) *{-webkit-user-select:none;user-select:none}}:where(.list) :where(li,option,[role=group]>label){align-items:center;display:flex;gap:var(--size-4);isolation:isolate;min-block-size:40px;position:relative}:where(.list) :where(li,option,[role=group]>label):before{display:none}:where(.list) :where(li,option,[role=group]>label) *{font-size:inherit}:where(.list) :where(li,option,[role=group]>label):has(>a,>button,>label){background:transparent;display:block;min-block-size:auto;padding:0}:where(.list) :where(li,option,[role=group]>label)>a,:where(.list) :where(li,option,[role=group]>label)>button,:where(.list) :where(li,option,[role=group]>label)>label{align-items:center;color:var(--mvw-list-item-color);cursor:pointer;display:flex;gap:var(--size-8);inline-size:100%;margin:0;outline-offset:-1px;font-size:var(--mvw-list-item-font-size);padding:var(--size-4) var(--size-6);text-align:start;text-decoration:none;border-radius:var(--radius-2);z-index:0}:is(:where(.list) :where(li,option,[role=group]>label)>a,:where(.list) :where(li,option,[role=group]>label)>button,:where(.list) :where(li,option,[role=group]>label)>label):focus,:is(:where(.list) :where(li,option,[role=group]>label)>a,:where(.list) :where(li,option,[role=group]>label)>button,:where(.list) :where(li,option,[role=group]>label)>label):focus-visible,:is(:where(.list) :where(li,option,[role=group]>label)>a,:where(.list) :where(li,option,[role=group]>label)>button,:where(.list) :where(li,option,[role=group]>label)>label):hover{color:var(--mvw-list-item-hover-color);background-color:var(--mvw-list-item-hover-bg-color)}:is(:where(.list) :where(li,option,[role=group]>label)>a,:where(.list) :where(li,option,[role=group]>label)>button,:where(.list) :where(li,option,[role=group]>label)>label)[aria-selected=true]{color:var(--mvw-list-item-selected-color)}:is(:where(.list) :where(li,option,[role=group]>label)>a,:where(.list) :where(li,option,[role=group]>label)>button,:where(.list) :where(li,option,[role=group]>label)>label) .text{flex:1;line-height:1.6}:is(:where(.list) :where(li,option,[role=group]>label)>a,:where(.list) :where(li,option,[role=group]>label)>button,:where(.list) :where(li,option,[role=group]>label)>label) .text :where(h1,h2,h3,h4,h5,h6,p,span){color:inherit;font-weight:400}:is(:where(.list) :where(li,option,[role=group]>label)>a,:where(.list) :where(li,option,[role=group]>label)>button,:where(.list) :where(li,option,[role=group]>label)>label) .text p+p{font-size:var(--font-size-100)}:is(:where(.list) :where(li,option,[role=group]>label)>a,:where(.list) :where(li,option,[role=group]>label)>button,:where(.list) :where(li,option,[role=group]>label)>label) .start{align-self:center;align-items:center;display:grid;z-index:1}:is(:where(.list) :where(li,option,[role=group]>label)>a,:where(.list) :where(li,option,[role=group]>label)>button,:where(.list) :where(li,option,[role=group]>label)>label) .start svg{inline-size:var(--mvw-list-item-font-size)}:where(.unordered-list){display:grid;align-items:center}:where(.unordered-list) li{display:flex;align-items:center;gap:var(--size-4);color:var(--mvw-text-default);padding:var(--size-6) var(--size-4)}:where(.unordered-list) li:not(:first-child){border-top:1px solid var(--mvw-border-muted)}:where(.unordered-list).centered li{justify-content:center}@media(width>500px){:where(.unordered-list){display:flex}:where(.unordered-list) li:not(:first-child){border-top:none}:where(.unordered-list) li:not(:first-of-type):before{content:\"/\";margin-inline-end:var(--size-6);color:var(--mvw-border-muted)}}}", Ho = "@layer components{:where(.badge){--_bg-color: var(--mvw-bg-muted);--_color: var(--mvw-text-muted);padding:var(--size-2) var(--size-4);display:inline-flex;gap:var(--size-2);font-size:var(--font-size-100);font-weight:700;line-height:var(--font-lineheight-300);color:var(--_color);background-color:var(--_bg-color);border-radius:var(--radius-2)}:where(.badge) svg{fill:currentColor}:where(.badge).inverted{--_bg-color: var(--mvw-bg-inverted);--_color: var(--mvw-text-inverted)}:where(.badge).live{--_bg-color: var(--mvw-color-live);--_color: var(--mvw-color-white)}:where(.badge).error{--_bg-color: var(--mvw-color-error);--_color: var(--mvw-color-white)}:where(.badge).warning{--_bg-color: var(--mvw-color-warning);--_color: var(--mvw-color-white)}:where(.badge).xs{font-size:var(--font-size-50)}:where(.badge).lg{font-size:var(--font-size-300);padding:var(--size-4) var(--size-6)}:where(.badge)+:where(.badge){margin-inline-start:var(--size-4)}}", Uo = "@layer components{:where(.icon-button){--_hover-bg-color: color-mix(in oklab, light-dark(var(--mvw-color-black), var(--mvw-color-white)) 10%, transparent);align-items:center;aspect-ratio:1;background-color:transparent;border:0;border-radius:var(--radius-2);display:inline-flex;inline-size:var(--size-24);justify-content:center;padding:0}:where(.icon-button) svg{max-inline-size:var(--size-16);pointer-events:none}:where(.icon-button)[data-state=open],:where(.icon-button):hover{background-color:var(--_hover-bg-color)}:where(.icon-button).xs{border-radius:var(--radius-1)}}", Wo = "@layer components.variables{:where(:host){--mvw-color-error-notice-bg-color: color-mix(in oklab, var(--mvw-color-error) 10%, transparent);--mvw-color-error-notice-border-color: color-mix(in oklab, var(--mvw-color-error) 25%, transparent);--mvw-color-error-notice-color: var(--mvw-color-error)}}@layer components{:where(.error-notice){display:flex;align-items:center;justify-items:flex-start;gap:15px;margin:10px 0;padding:10px 20px;background-color:var(--mvw-color-error-notice-bg-color);color:var(--mvw-color-error-notice-color);border:1px solid var(--mvw-color-error-notice-border-color);border-radius:var(--radius-2)}:where(.error-notice) button{text-decoration:underline}}", Go = { class: "standings-selector" }, Ko = { class: "standings-selector-title" }, qo = /* @__PURE__ */ Q({
|
|
3192
3198
|
__name: "StandingsSelector.ce",
|
|
3193
3199
|
props: {
|
|
3194
3200
|
locale: {
|
|
@@ -3214,16 +3220,16 @@ var To = {
|
|
|
3214
3220
|
messages: a
|
|
3215
3221
|
}, {
|
|
3216
3222
|
default: I(() => [c(P(ge), null, {
|
|
3217
|
-
default: I(({ error: e, hasError: t }) => [c(
|
|
3218
|
-
default: I(({ convertedRows: e, isLoading: t, path: n, phaseName: a, componentProps: d, championshipName: f, phaseId: p, isPlayoffs: m, onChange: h }) => [o("div",
|
|
3219
|
-
o("div",
|
|
3223
|
+
default: I(({ error: e, hasError: t }) => [c(Eo, { data: u.value }, {
|
|
3224
|
+
default: I(({ convertedRows: e, isLoading: t, path: n, phaseName: a, componentProps: d, championshipName: f, phaseId: p, isPlayoffs: m, onChange: h }) => [o("div", Go, [
|
|
3225
|
+
o("div", Ko, [(T(), r(ne(d.tag), _(d.props, { class: "is-title-text" }), {
|
|
3220
3226
|
default: I(() => [
|
|
3221
3227
|
o("b", null, M(f), 1),
|
|
3222
3228
|
s("\xA0-\xA0" + M(a) + "\xA0", 1),
|
|
3223
|
-
n ? (T(), r(P(
|
|
3229
|
+
n ? (T(), r(P(Zn), { key: 0 })) : i("", !0)
|
|
3224
3230
|
]),
|
|
3225
3231
|
_: 2
|
|
3226
|
-
}, 1040)), u.value.length > 1 ? (T(), r(
|
|
3232
|
+
}, 1040)), u.value.length > 1 ? (T(), r(wo, {
|
|
3227
3233
|
key: 0,
|
|
3228
3234
|
data: u.value,
|
|
3229
3235
|
selected: p,
|
|
@@ -3235,14 +3241,14 @@ var To = {
|
|
|
3235
3241
|
"target",
|
|
3236
3242
|
"onChange"
|
|
3237
3243
|
])) : i("", !0)]),
|
|
3238
|
-
m ? (T(), r(
|
|
3244
|
+
m ? (T(), r(Io, {
|
|
3239
3245
|
key: 0,
|
|
3240
3246
|
playoffs: e.rows,
|
|
3241
3247
|
"is-loading": t
|
|
3242
3248
|
}, null, 8, ["playoffs", "is-loading"])) : (T(), r(P(Ce), {
|
|
3243
3249
|
key: 1,
|
|
3244
3250
|
"is-loading": t,
|
|
3245
|
-
columns: P(
|
|
3251
|
+
columns: P(rt),
|
|
3246
3252
|
rows: e.rows,
|
|
3247
3253
|
"append-to": l.value,
|
|
3248
3254
|
"external-team-resolver": () => {}
|
|
@@ -3276,18 +3282,18 @@ var To = {
|
|
|
3276
3282
|
}
|
|
3277
3283
|
}, [["styles", [
|
|
3278
3284
|
Z,
|
|
3279
|
-
Io,
|
|
3280
3285
|
Lo,
|
|
3281
3286
|
Ro,
|
|
3282
3287
|
zo,
|
|
3283
3288
|
Bo,
|
|
3284
3289
|
Vo,
|
|
3285
3290
|
Ho,
|
|
3286
|
-
Uo
|
|
3287
|
-
|
|
3288
|
-
|
|
3289
|
-
|
|
3291
|
+
Uo,
|
|
3292
|
+
Wo
|
|
3293
|
+
]]]), Jo = u(Zr), Yo = u(Ii), Xo = u(yo), Zo = u(Va), Qo = u(qo), $o = u(ia), es = u(lo);
|
|
3294
|
+
function ts() {
|
|
3295
|
+
customElements.define("mjsz-vbr-calendar", Jo), customElements.define("mjsz-vbr-championship", Yo), customElements.define("mjsz-vbr-schedule-cup", Xo), customElements.define("mjsz-vbr-games-timeline", Zo), customElements.define("mjsz-vbr-standings-selector", Qo), customElements.define("mjsz-vbr-countdown", $o), customElements.define("mjsz-vbr-recruitment-info", es);
|
|
3290
3296
|
}
|
|
3291
|
-
var
|
|
3297
|
+
var ns = { install: () => ts() };
|
|
3292
3298
|
//#endregion
|
|
3293
|
-
export {
|
|
3299
|
+
export { Zr as Calendar, Jo as CalendarCE, Ii as Championship, Yo as ChampionshipCE, ia as Countdown, $o as CountdownCE, Va as GamesTimeline, Zo as GamesTimelineCE, lo as RecruitmentInfo, es as RecruitmentInfoCE, yo as ScheduleCup, Xo as ScheduleCupCE, qo as StandingsSelector, Qo as StandingsSelectorCE, ns as default, ts as register };
|