@mjsz-vbr-elements/extended 2.17.0 → 2.19.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.js CHANGED
@@ -1,111 +1,113 @@
1
1
  /**
2
2
  * name: @mjsz-vbr-elements/extended
3
- * version: v2.17.0 - 15/02/2025, 13:12:02
3
+ * version: v2.19.0 - 03/03/2025, 17:48:13
4
4
  * (c) 2025
5
5
  * description: Data visualization for MJSZ VBR
6
6
  * author: Ákos Stegner <akos.stegner@gmail.com>
7
7
  */
8
- import { ref as O, isRef as de, watch as le, getCurrentScope as wr, onScopeDispose as xr, toValue as Y, readonly as _r, onMounted as pt, nextTick as Se, getCurrentInstance as Ht, reactive as ce, computed as A, shallowRef as je, unref as d, toRefs as kr, renderSlot as ge, normalizeProps as Te, guardReactiveProps as Ne, openBlock as u, createElementBlock as _, createElementVNode as g, normalizeClass as B, toDisplayString as f, createTextVNode as ae, Fragment as R, createVNode as T, createCommentVNode as D, createBlock as P, withCtx as C, renderList as W, toRef as zr, useTemplateRef as Sr, provide as Ir, useId as $r, inject as Tr, onUnmounted as Nr, Transition as Cr, triggerRef as Ar, isMemoSame as Er, mergeProps as Wt, toHandlers as Dr, withModifiers as Pr, resolveDynamicComponent as Lr, defineCustomElement as fe } from "vue";
9
- import { currentWeekStartEnd as St, subtractDays as Jt, addDays as Xt, isBefore as ut, isAfter as mt, startOfMonth as et, endOfMonth as tt, rawConvert as Mr, convertGamePeriodResults as jr, gameProps as Or, COLUMNS_STANDINGS_SHORT as Gr } from "@mjsz-vbr-elements/core";
10
- import { Image as me, I18NProvider as ye, ErrorProvider as Ce, ErrorNotice as Ae, LoadingIndicator as vt, FetchMoreObserver as Rr, BaseSelect as ve, StatisticsTable as Qt, Paginator as Yr, AdditionalStandingsText as Oe, ResponsiveTable as Zt, DataTable as Ur, FloatingPanel as Kr } from "@mjsz-vbr-elements/core/components";
11
- import { format as Q, convert as Be, isBefore as Br, isAfter as er, offsetName as Ve, getLocalTimezone as Fe, externalGameLinkResolver as bt, WidgetError as tr, InvalidSeasonName as Ge, sortGames as rr, convertPhaseName as Vr, rawConvert as Fr, playerName as qr, teamName as Hr, scheduleOptionalRowClass as Wr, convertTimesMinToMinSec as Jr, convertTimesSecToMin as Xr, externalTeamLinkResolver as Qr, sortByDomNode as Zr } from "@mjsz-vbr-elements/core/utils";
12
- import { useError as Ee, useServices as ee, useI18n as ne, useSort as ea, usePage as ta, useLazyLoadingState as ra, fetchVBRData as aa, useVisibilityChange as oa, useColumns as ia } from "@mjsz-vbr-elements/core/composables";
13
- import { COLUMNS_SCHEDULE as ar, COLUMNS_STANDINGS_P_3 as na, COLUMNS_FIELD_PLAYERS as Pe, COLUMNS_FIELD_PLAYERS_PENALTY as sa, COLUMNS_GOALIES as It, COLUMNS_TEAMS_FAIRPLAY as la, COLUMNS_TEAMS_PENALTY_KILLING as ca, COLUMNS_TEAMS_POWERPLAY as da, COLUMNS_SCORING_EFFICIENCY as ga } from "@mjsz-vbr-elements/core/columns";
14
- import { SORT_STATE_DESCEND as X } from "@mjsz-vbr-elements/core/constants";
15
- const pa = "Schedule", ua = "Application form", ma = { report: "Report", video: "Video", season: "Season", seasons: "Seasons", section: "Section", sections: "Sections", phases: "Phases", phasesDivision: "Phases (phase-Name=division)", noPhases: "No Phases", teams: "Teams", filterName: "Filter by Name", players: "Players", month: "Month", homeOrAway: "Home or Away", home: "Home", away: "Away", schedule: "Schedule", standings: "Standings", playerStats: "Player Statistics", teamStats: "Team Statistics", championships: "Championships", championshipName: "Championship Name (Championship-Name):", championshipId: "Championship Identifier (Championship-id):", seasonId: "Season Identifier (season-Id):" }, va = { points: "Points", goals: "Goals", assists: "Assists", penalties: "Penalties", goalies: "Goalies", goaliesLimit: "Goalies under 40%", teamAttendance: "Attendance", teamFairplay: "Fairplay", teamPenaltyKilling: "Penalty Killing", teamPowerplay: "Powerplay", teamScoringEfficiency: "Scoring Efficiency" }, ba = { Negyeddöntő1: "Quarterfinal 1", Negyeddöntő2: "Quarterfinal 2", Negyeddöntő3: "Quarterfinal 3", Negyeddöntő4: "Quarterfinal 4", Elődöntő1: "Semifinal 1", Elődöntő2: "Semifinal 2", Döntő: "Final" }, ha = { section: { short: "Section", tooltip: "Section" }, organizer: { short: "Organizer", tooltip: "Organizer Team" }, document: { short: "Document", tooltip: "Application Form/Schedule" } }, fa = { gamesPlayed: "Games played", todaysGames: "Today's games", nextGames: "Next games", weekGames: "Games of the week", noGame: "No games can be displayed", more: "More" }, ya = { allSchedule: "Games Schedule", errorText: "Something went wrong!", errorCta: "Try Again" }, we = {
8
+ import { ref as O, isRef as ge, watch as ne, getCurrentScope as kr, onScopeDispose as zr, toValue as U, readonly as Sr, onMounted as vt, nextTick as Ie, getCurrentInstance as Wt, reactive as de, computed as T, shallowRef as _e, unref as s, toRefs as $r, renderSlot as pe, normalizeProps as Ne, guardReactiveProps as Ee, openBlock as p, createElementBlock as _, createElementVNode as g, normalizeClass as G, toDisplayString as m, createTextVNode as re, Fragment as R, createVNode as S, createCommentVNode as A, createBlock as D, withCtx as N, renderList as W, toRef as Ir, Transition as Jt, useTemplateRef as Cr, provide as Tr, useId as Nr, inject as Er, onUnmounted as Ar, triggerRef as Dr, isMemoSame as Lr, mergeProps as Xt, toHandlers as Pr, withModifiers as Mr, resolveDynamicComponent as jr, defineCustomElement as me } from "vue";
9
+ import { currentWeekStartEnd as It, subtractDays as Qt, addDays as Zt, isBefore as bt, isAfter as ht, startOfMonth as ot, endOfMonth as it, rawConvert as Or, convertGamePeriodResults as Gr, gameProps as er, COLUMNS_STANDINGS_SHORT as Rr } from "@mjsz-vbr-elements/core";
10
+ import { Image as ue, I18NProvider as ve, ErrorProvider as Ae, ErrorNotice as De, LoadingIndicator as ft, FetchMoreObserver as Yr, BaseSelect as ke, StatisticsTable as tr, Paginator as Ur, AdditionalStandingsText as Re, ResponsiveTable as rr, DataTable as Kr, FloatingPanel as Br } from "@mjsz-vbr-elements/core/components";
11
+ import { format as J, convert as qe, isBefore as Vr, isAfter as ar, offsetName as He, getLocalTimezone as We, externalGameLinkResolver as Je, WidgetError as or, InvalidSeasonName as Ye, sortGames as ir, convertPhaseName as Fr, rawConvert as qr, playerName as Hr, teamName as Wr, scheduleOptionalRowClass as Jr, convertTimesMinToMinSec as Xr, convertTimesSecToMin as Qr, externalTeamLinkResolver as Zr, sortByDomNode as ea } from "@mjsz-vbr-elements/core/utils";
12
+ import { useError as Le, useServices as ee, useI18n as le, useSort as ta, usePage as ra, useLazyLoadingState as aa, fetchVBRData as oa, useVisibilityChange as ia, useColumns as na } from "@mjsz-vbr-elements/core/composables";
13
+ import { COLUMNS_SCHEDULE as nr, COLUMNS_STANDINGS_P_3 as sa, COLUMNS_FIELD_PLAYERS as Me, COLUMNS_FIELD_PLAYERS_PENALTY as la, COLUMNS_GOALIES as Ct, COLUMNS_TEAMS_FAIRPLAY as ca, COLUMNS_TEAMS_PENALTY_KILLING as da, COLUMNS_TEAMS_POWERPLAY as ga, COLUMNS_SCORING_EFFICIENCY as ua } from "@mjsz-vbr-elements/core/columns";
14
+ import { SORT_STATE_DESCEND as Z } from "@mjsz-vbr-elements/core/constants";
15
+ const pa = "Schedule", ma = "Application form", va = { report: "Report", video: "Video", season: "Season", seasons: "Seasons", section: "Section", sections: "Sections", phases: "Phases", phasesDivision: "Phases (phase-Name=division)", noPhases: "No Phases", teams: "Teams", filterName: "Filter by Name", players: "Players", month: "Month", homeOrAway: "Home or Away", home: "Home", away: "Away", schedule: "Schedule", standings: "Standings", playerStats: "Player Statistics", teamStats: "Team Statistics", championships: "Championships", championshipName: "Championship Name (Championship-Name):", championshipId: "Championship Identifier (Championship-id):", seasonId: "Season Identifier (season-Id):" }, ba = { points: "Points", goals: "Goals", assists: "Assists", penalties: "Penalties", goalies: "Goalies", goaliesLimit: "Goalies under 40%", teamAttendance: "Attendance", teamFairplay: "Fairplay", teamPenaltyKilling: "Penalty Killing", teamPowerplay: "Powerplay", teamScoringEfficiency: "Scoring Efficiency" }, ha = { Negyeddöntő1: "Quarterfinal 1", Negyeddöntő2: "Quarterfinal 2", Negyeddöntő3: "Quarterfinal 3", Negyeddöntő4: "Quarterfinal 4", Elődöntő1: "Semifinal 1", Elődöntő2: "Semifinal 2", Döntő: "Final" }, fa = { section: { short: "Section", tooltip: "Section" }, organizer: { short: "Organizer", tooltip: "Organizer Team" }, document: { short: "Document", tooltip: "Application Form/Schedule" } }, ya = { gamesPlayed: "Games played", todaysGames: "Today's games", nextGames: "Next games", weekGames: "Games of the week", noGame: "No games can be displayed", more: "More" }, wa = { allSchedule: "Games Schedule", errorText: "Something went wrong!", errorCta: "Try Again" }, xa = { days: "Days", hours: "Hours", minutes: "Minutes", seconds: "Seconds" }, be = {
16
16
  schedule: pa,
17
- registration: ua,
18
- selection: ma,
19
- report: va,
20
- playoffs: ba,
21
- table: ha,
22
- calendar: fa,
23
- gamesTimeline: ya
24
- }, wa = "Sorsolás", xa = "Jelentkezés", _a = { report: "Riport", video: "Videó", season: "Szezon", seasons: "Szezonok", section: "Szakasz", sections: "Szakaszok", phases: "Szakaszok", phasesDivision: "Fázisok (phase-Name=division)", noPhases: "Nincsenek szakaszok", teams: "Csapatok", filterName: "Szűrés névre", players: "Játékosok", month: "Hónap", homeOrAway: "Hazai vagy Vendég", home: "Hazai", away: "Vendég", schedule: "Menetrend", standings: "Tabella", playerStats: "Játékos statisztika", teamStats: "Csapat Statisztika", championships: "Bajnokságok", championshipName: "Bajnokság Neve (Championship-Name):", championshipId: "Bajnokság azonosító (Championship-id):", seasonId: "Szezon azonosító (season-Id):" }, ka = { points: "Pontok", goals: "Gólok", assists: "Gólpasszok", penalties: "Büntetések", goalies: "Kapusok", goaliesLimit: "Kapusok 40% jégidő alatt", teamAttendance: "Nézőszám", teamFairplay: "Büntetések", teamPenaltyKilling: "Emberhátrányok", teamPowerplay: "Emberelőnyök", teamScoringEfficiency: "Hatékonyság" }, za = { Negyeddöntő1: "Negyeddöntő 1", Negyeddöntő2: "Negyeddöntő 2", Negyeddöntő3: "Negyeddöntő 3", Negyeddöntő4: "Negyeddöntő 4", Elődöntő1: "Elődöntő 1", Elődöntő2: "Elődöntő 2", Döntő: "Döntő" }, Sa = { section: { short: "Szakasz", tooltip: "Szakasz" }, organizer: { short: "Rendező", tooltip: "Rendező csapat" }, document: { short: "Dokumentum", tooltip: "Jelentkezés/Sorsolás" } }, Ia = { gamesPlayed: "Lejátszott mérkőzések", todaysGames: "Mai mérkőzések", nextGames: "Következő mérkőzések", weekGames: "A hét mérkőzései", noGame: "Nincs megjeleníthető mérkőzés", more: "Még több" }, $a = { allSchedule: "Teljes menetrend", errorText: "Valami hiba történt!", errorCta: "Próbáld újra" }, xe = {
25
- schedule: wa,
26
- registration: xa,
27
- selection: _a,
28
- report: ka,
29
- playoffs: za,
30
- table: Sa,
31
- calendar: Ia,
32
- gamesTimeline: $a
33
- }, be = "gamesPlayed", Ie = "todaysGames", $e = "nextGames", Re = "weekGames";
34
- function Ta(t, e) {
35
- return e.value = { firstGame: t.firstGame, lastGame: t.lastGame }, Mr(t.games, jr);
36
- }
37
- const q = /* @__PURE__ */ new Date(), Le = (/* @__PURE__ */ new Map()).set(Ie, () => ({ min: q, max: q, month: null, id: null })).set(Re, () => ({
38
- min: St().startDate,
39
- max: St().endDate,
17
+ registration: ma,
18
+ selection: va,
19
+ report: ba,
20
+ playoffs: ha,
21
+ table: fa,
22
+ calendar: ya,
23
+ gamesTimeline: wa,
24
+ countdown: xa
25
+ }, _a = "Sorsolás", ka = "Jelentkezés", za = { report: "Riport", video: "Videó", season: "Szezon", seasons: "Szezonok", section: "Szakasz", sections: "Szakaszok", phases: "Szakaszok", phasesDivision: "Fázisok (phase-Name=division)", noPhases: "Nincsenek szakaszok", teams: "Csapatok", filterName: "Szűrés névre", players: "Játékosok", month: "Hónap", homeOrAway: "Hazai vagy Vendég", home: "Hazai", away: "Vendég", schedule: "Menetrend", standings: "Tabella", playerStats: "Játékos statisztika", teamStats: "Csapat Statisztika", championships: "Bajnokságok", championshipName: "Bajnokság Neve (Championship-Name):", championshipId: "Bajnokság azonosító (Championship-id):", seasonId: "Szezon azonosító (season-Id):" }, Sa = { points: "Pontok", goals: "Gólok", assists: "Gólpasszok", penalties: "Büntetések", goalies: "Kapusok", goaliesLimit: "Kapusok 40% jégidő alatt", teamAttendance: "Nézőszám", teamFairplay: "Büntetések", teamPenaltyKilling: "Emberhátrányok", teamPowerplay: "Emberelőnyök", teamScoringEfficiency: "Hatékonyság" }, $a = { Negyeddöntő1: "Negyeddöntő 1", Negyeddöntő2: "Negyeddöntő 2", Negyeddöntő3: "Negyeddöntő 3", Negyeddöntő4: "Negyeddöntő 4", Elődöntő1: "Elődöntő 1", Elődöntő2: "Elődöntő 2", Döntő: "Döntő" }, Ia = { section: { short: "Szakasz", tooltip: "Szakasz" }, organizer: { short: "Rendező", tooltip: "Rendező csapat" }, document: { short: "Dokumentum", tooltip: "Jelentkezés/Sorsolás" } }, Ca = { gamesPlayed: "Lejátszott mérkőzések", todaysGames: "Mai mérkőzések", nextGames: "Következő mérkőzések", weekGames: "A hét mérkőzései", noGame: "Nincs megjeleníthető mérkőzés", more: "Még több" }, Ta = { allSchedule: "Teljes menetrend", errorText: "Valami hiba történt!", errorCta: "Próbáld újra" }, Na = { days: "Nap", hours: "Óra", minutes: "Perc", seconds: "Másodperc" }, he = {
26
+ schedule: _a,
27
+ registration: ka,
28
+ selection: za,
29
+ report: Sa,
30
+ playoffs: $a,
31
+ table: Ia,
32
+ calendar: Ca,
33
+ gamesTimeline: Ta,
34
+ countdown: Na
35
+ }, ze = "gamesPlayed", Ce = "todaysGames", Te = "nextGames", Ue = "weekGames";
36
+ function Ea(t, e) {
37
+ return e.value = { firstGame: t.firstGame, lastGame: t.lastGame }, Or(t.games, Gr);
38
+ }
39
+ const q = /* @__PURE__ */ new Date(), je = (/* @__PURE__ */ new Map()).set(Ce, () => ({ min: q, max: q, month: null, id: null })).set(Ue, () => ({
40
+ min: It().startDate,
41
+ max: It().endDate,
40
42
  month: null,
41
43
  id: null
42
- })).set(be, (t = null) => {
43
- const { year: e, month: r } = $t(t);
44
+ })).set(ze, (t = null) => {
45
+ const { year: e, month: r } = Tt(t);
44
46
  return {
45
- min: Tt(new Date(e, r, 1), !0),
46
- max: Nt(new Date(e, r, 1), !0),
47
+ min: Nt(new Date(e, r, 1), !0),
48
+ max: Et(new Date(e, r, 1), !0),
47
49
  id: `${e}-${r}`
48
50
  };
49
- }).set($e, (t = null) => {
50
- const { year: e, month: r } = $t(t);
51
+ }).set(Te, (t = null) => {
52
+ const { year: e, month: r } = Tt(t);
51
53
  return {
52
- min: Tt(new Date(e, r, 1)),
53
- max: Nt(new Date(e, r, 1)),
54
+ min: Nt(new Date(e, r, 1)),
55
+ max: Et(new Date(e, r, 1)),
54
56
  id: `${e}-${r}`
55
57
  };
56
- }), Na = (/* @__PURE__ */ new Map()).set(Ie, () => []).set(be, (t, e) => Ca(Jt(q, 1), t, e)).set($e, (t, e) => Aa(Xt(q, 1), t, e)).set(Re, () => []);
57
- function Ca(t, e, r) {
58
- return ut(t, e) ? [] : mt(t, r) ? [e, r] : [e, t];
58
+ }), Aa = (/* @__PURE__ */ new Map()).set(Ce, () => []).set(ze, (t, e) => Da(Qt(q, 1), t, e)).set(Te, (t, e) => La(Zt(q, 1), t, e)).set(Ue, () => []);
59
+ function Da(t, e, r) {
60
+ return bt(t, e) ? [] : ht(t, r) ? [e, r] : [e, t];
59
61
  }
60
- function Aa(t, e, r) {
61
- return ut(t, e) ? [e, r] : mt(t, r) ? [] : [t, r];
62
+ function La(t, e, r) {
63
+ return bt(t, e) ? [e, r] : ht(t, r) ? [] : [t, r];
62
64
  }
63
- function Ea(t, e, r, a = "hu") {
65
+ function Pa(t, e, r, a = "hu") {
64
66
  t = new Date(t), e = new Date(e);
65
67
  const o = [], i = t;
66
68
  for (; i.getTime() <= e.getTime(); ) {
67
- const s = i.toLocaleString(a, { month: "short" });
68
- n(s), i.setDate(1), i.setMonth(i.getMonth() + 1);
69
+ const l = i.toLocaleString(a, { month: "short" });
70
+ n(l), i.setDate(1), i.setMonth(i.getMonth() + 1);
69
71
  }
70
72
  if (i.getMonth() === e.getMonth()) {
71
- const s = e.toLocaleString(a, { month: "short" });
72
- n(s);
73
+ const l = e.toLocaleString(a, { month: "short" });
74
+ n(l);
73
75
  }
74
- function n(s) {
75
- o.findIndex((l) => l.name === s) === -1 && o.push({
76
+ function n(l) {
77
+ o.findIndex((c) => c.name === l) === -1 && o.push({
76
78
  id: `${i.getFullYear()}-${i.getMonth()}`,
77
- name: s
79
+ name: l
78
80
  });
79
81
  }
80
82
  return o;
81
83
  }
82
- function $t(t) {
84
+ function Tt(t) {
83
85
  if (!t)
84
86
  return { year: q.getFullYear(), month: q.getMonth() };
85
87
  const [e, r] = t.split("-");
86
88
  return { year: e, month: r };
87
89
  }
88
- function Tt(t, e) {
90
+ function Nt(t, e) {
89
91
  if (e)
90
- return et(t);
91
- const r = Xt(q, 1);
92
- return ut(et(t), r) ? r : et(t);
92
+ return ot(t);
93
+ const r = Zt(q, 1);
94
+ return bt(ot(t), r) ? r : ot(t);
93
95
  }
94
- function Nt(t, e = !1) {
96
+ function Et(t, e = !1) {
95
97
  if (e) {
96
- const r = Jt(q, 1);
97
- return mt(tt(t), r) ? r : tt(t);
98
+ const r = Qt(q, 1);
99
+ return ht(it(t), r) ? r : it(t);
98
100
  }
99
- return tt(t);
101
+ return it(t);
100
102
  }
101
- function st(t) {
102
- return wr() ? (xr(t), !0) : !1;
103
+ function dt(t) {
104
+ return kr() ? (zr(t), !0) : !1;
103
105
  }
104
- const lt = typeof window < "u" && typeof document < "u";
106
+ const gt = typeof window < "u" && typeof document < "u";
105
107
  typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
106
- const Da = (t) => typeof t < "u", Pa = Object.prototype.toString, La = (t) => Pa.call(t) === "[object Object]", Z = () => {
108
+ const Ma = (t) => typeof t < "u", ja = Object.prototype.toString, Oa = (t) => ja.call(t) === "[object Object]", X = () => {
107
109
  };
108
- function ht(t, e) {
110
+ function yt(t, e) {
109
111
  function r(...a) {
110
112
  return new Promise((o, i) => {
111
113
  Promise.resolve(t(() => e.apply(this, a), { fn: e, thisArg: this, args: a })).then(o).catch(i);
@@ -113,40 +115,40 @@ function ht(t, e) {
113
115
  }
114
116
  return r;
115
117
  }
116
- const or = (t) => t();
117
- function Ma(t, e = {}) {
118
- let r, a, o = Z;
119
- const i = (l) => {
120
- clearTimeout(l), o(), o = Z;
118
+ const sr = (t) => t();
119
+ function Ga(t, e = {}) {
120
+ let r, a, o = X;
121
+ const i = (c) => {
122
+ clearTimeout(c), o(), o = X;
121
123
  };
122
124
  let n;
123
- return (l) => {
124
- const c = Y(t), p = Y(e.maxWait);
125
- return r && i(r), c <= 0 || p !== void 0 && p <= 0 ? (a && (i(a), a = null), Promise.resolve(l())) : new Promise((m, y) => {
126
- o = e.rejectOnCancel ? y : m, n = l, p && !a && (a = setTimeout(() => {
127
- r && i(r), a = null, m(n());
128
- }, p)), r = setTimeout(() => {
129
- a && i(a), a = null, m(l());
130
- }, c);
125
+ return (c) => {
126
+ const d = U(t), u = U(e.maxWait);
127
+ return r && i(r), d <= 0 || u !== void 0 && u <= 0 ? (a && (i(a), a = null), Promise.resolve(c())) : new Promise((b, w) => {
128
+ o = e.rejectOnCancel ? w : b, n = c, u && !a && (a = setTimeout(() => {
129
+ r && i(r), a = null, b(n());
130
+ }, u)), r = setTimeout(() => {
131
+ a && i(a), a = null, b(c());
132
+ }, d);
131
133
  });
132
134
  };
133
135
  }
134
- function ja(...t) {
135
- let e = 0, r, a = !0, o = Z, i, n, s, l, c;
136
- !de(t[0]) && typeof t[0] == "object" ? { delay: n, trailing: s = !0, leading: l = !0, rejectOnCancel: c = !1 } = t[0] : [n, s = !0, l = !0, c = !1] = t;
137
- const p = () => {
138
- r && (clearTimeout(r), r = void 0, o(), o = Z);
136
+ function Ra(...t) {
137
+ let e = 0, r, a = !0, o = X, i, n, l, c, d;
138
+ !ge(t[0]) && typeof t[0] == "object" ? { delay: n, trailing: l = !0, leading: c = !0, rejectOnCancel: d = !1 } = t[0] : [n, l = !0, c = !0, d = !1] = t;
139
+ const u = () => {
140
+ r && (clearTimeout(r), r = void 0, o(), o = X);
139
141
  };
140
- return (y) => {
141
- const v = Y(n), k = Date.now() - e, b = () => i = y();
142
- return p(), v <= 0 ? (e = Date.now(), b()) : (k > v && (l || !a) ? (e = Date.now(), b()) : s && (i = new Promise((I, x) => {
143
- o = c ? x : I, r = setTimeout(() => {
144
- e = Date.now(), a = !0, I(b()), p();
145
- }, Math.max(0, v - k));
146
- })), !l && !r && (r = setTimeout(() => a = !0, v)), a = !1, i);
142
+ return (w) => {
143
+ const h = U(n), k = Date.now() - e, v = () => i = w();
144
+ return u(), h <= 0 ? (e = Date.now(), v()) : (k > h && (c || !a) ? (e = Date.now(), v()) : l && (i = new Promise((I, y) => {
145
+ o = d ? y : I, r = setTimeout(() => {
146
+ e = Date.now(), a = !0, I(v()), u();
147
+ }, Math.max(0, h - k));
148
+ })), !c && !r && (r = setTimeout(() => a = !0, h)), a = !1, i);
147
149
  };
148
150
  }
149
- function Oa(t = or) {
151
+ function Ya(t = sr) {
150
152
  const e = O(!0);
151
153
  function r() {
152
154
  e.value = !1;
@@ -157,185 +159,185 @@ function Oa(t = or) {
157
159
  const o = (...i) => {
158
160
  e.value && t(...i);
159
161
  };
160
- return { isActive: _r(e), pause: r, resume: a, eventFilter: o };
162
+ return { isActive: Sr(e), pause: r, resume: a, eventFilter: o };
161
163
  }
162
- function ct(t, e = !1, r = "Timeout") {
164
+ function ut(t, e = !1, r = "Timeout") {
163
165
  return new Promise((a, o) => {
164
166
  setTimeout(e ? () => o(r) : a, t);
165
167
  });
166
168
  }
167
- function Ga(t) {
168
- return Ht();
169
+ function Ua(t) {
170
+ return Wt();
169
171
  }
170
- function rt(t) {
172
+ function nt(t) {
171
173
  return Array.isArray(t) ? t : [t];
172
174
  }
173
- function Ra(t, e = 200, r = {}) {
174
- return ht(
175
- Ma(e, r),
175
+ function Ka(t, e = 200, r = {}) {
176
+ return yt(
177
+ Ga(e, r),
176
178
  t
177
179
  );
178
180
  }
179
- function Ya(t, e = 200, r = !1, a = !0, o = !1) {
180
- return ht(
181
- ja(e, r, a, o),
181
+ function Ba(t, e = 200, r = !1, a = !0, o = !1) {
182
+ return yt(
183
+ Ra(e, r, a, o),
182
184
  t
183
185
  );
184
186
  }
185
- function Ua(t, e, r = {}) {
187
+ function Va(t, e, r = {}) {
186
188
  const {
187
- eventFilter: a = or,
189
+ eventFilter: a = sr,
188
190
  ...o
189
191
  } = r;
190
- return le(
192
+ return ne(
191
193
  t,
192
- ht(
194
+ yt(
193
195
  a,
194
196
  e
195
197
  ),
196
198
  o
197
199
  );
198
200
  }
199
- function Ka(t, e, r = {}) {
201
+ function Fa(t, e, r = {}) {
200
202
  const {
201
203
  eventFilter: a,
202
204
  ...o
203
- } = r, { eventFilter: i, pause: n, resume: s, isActive: l } = Oa(a);
204
- return { stop: Ua(
205
+ } = r, { eventFilter: i, pause: n, resume: l, isActive: c } = Ya(a);
206
+ return { stop: Va(
205
207
  t,
206
208
  e,
207
209
  {
208
210
  ...o,
209
211
  eventFilter: i
210
212
  }
211
- ), pause: n, resume: s, isActive: l };
213
+ ), pause: n, resume: l, isActive: c };
212
214
  }
213
- function Ba(t, e = !0, r) {
214
- Ga() ? pt(t, r) : e ? t() : Se(t);
215
+ function qa(t, e = !0, r) {
216
+ Ua() ? vt(t, r) : e ? t() : Ie(t);
215
217
  }
216
- function dt(t, e = !1) {
217
- function r(m, { flush: y = "sync", deep: v = !1, timeout: k, throwOnTimeout: b } = {}) {
218
+ function pt(t, e = !1) {
219
+ function r(b, { flush: w = "sync", deep: h = !1, timeout: k, throwOnTimeout: v } = {}) {
218
220
  let I = null;
219
- const z = [new Promise((w) => {
220
- I = le(
221
+ const z = [new Promise((x) => {
222
+ I = ne(
221
223
  t,
222
- (h) => {
223
- m(h) !== e && (I ? I() : Se(() => I == null ? void 0 : I()), w(h));
224
+ (f) => {
225
+ b(f) !== e && (I ? I() : Ie(() => I == null ? void 0 : I()), x(f));
224
226
  },
225
227
  {
226
- flush: y,
227
- deep: v,
228
+ flush: w,
229
+ deep: h,
228
230
  immediate: !0
229
231
  }
230
232
  );
231
233
  })];
232
234
  return k != null && z.push(
233
- ct(k, b).then(() => Y(t)).finally(() => I == null ? void 0 : I())
235
+ ut(k, v).then(() => U(t)).finally(() => I == null ? void 0 : I())
234
236
  ), Promise.race(z);
235
237
  }
236
- function a(m, y) {
237
- if (!de(m))
238
- return r((h) => h === m, y);
239
- const { flush: v = "sync", deep: k = !1, timeout: b, throwOnTimeout: I } = y ?? {};
240
- let x = null;
241
- const w = [new Promise((h) => {
242
- x = le(
243
- [t, m],
244
- ([$, E]) => {
245
- e !== ($ === E) && (x ? x() : Se(() => x == null ? void 0 : x()), h($));
238
+ function a(b, w) {
239
+ if (!ge(b))
240
+ return r((f) => f === b, w);
241
+ const { flush: h = "sync", deep: k = !1, timeout: v, throwOnTimeout: I } = w ?? {};
242
+ let y = null;
243
+ const x = [new Promise((f) => {
244
+ y = ne(
245
+ [t, b],
246
+ ([C, L]) => {
247
+ e !== (C === L) && (y ? y() : Ie(() => y == null ? void 0 : y()), f(C));
246
248
  },
247
249
  {
248
- flush: v,
250
+ flush: h,
249
251
  deep: k,
250
252
  immediate: !0
251
253
  }
252
254
  );
253
255
  })];
254
- return b != null && w.push(
255
- ct(b, I).then(() => Y(t)).finally(() => (x == null || x(), Y(t)))
256
- ), Promise.race(w);
256
+ return v != null && x.push(
257
+ ut(v, I).then(() => U(t)).finally(() => (y == null || y(), U(t)))
258
+ ), Promise.race(x);
257
259
  }
258
- function o(m) {
259
- return r((y) => !!y, m);
260
+ function o(b) {
261
+ return r((w) => !!w, b);
260
262
  }
261
- function i(m) {
262
- return a(null, m);
263
+ function i(b) {
264
+ return a(null, b);
263
265
  }
264
- function n(m) {
265
- return a(void 0, m);
266
+ function n(b) {
267
+ return a(void 0, b);
266
268
  }
267
- function s(m) {
268
- return r(Number.isNaN, m);
269
+ function l(b) {
270
+ return r(Number.isNaN, b);
269
271
  }
270
- function l(m, y) {
271
- return r((v) => {
272
- const k = Array.from(v);
273
- return k.includes(m) || k.includes(Y(m));
274
- }, y);
272
+ function c(b, w) {
273
+ return r((h) => {
274
+ const k = Array.from(h);
275
+ return k.includes(b) || k.includes(U(b));
276
+ }, w);
275
277
  }
276
- function c(m) {
277
- return p(1, m);
278
+ function d(b) {
279
+ return u(1, b);
278
280
  }
279
- function p(m = 1, y) {
280
- let v = -1;
281
- return r(() => (v += 1, v >= m), y);
281
+ function u(b = 1, w) {
282
+ let h = -1;
283
+ return r(() => (h += 1, h >= b), w);
282
284
  }
283
- return Array.isArray(Y(t)) ? {
285
+ return Array.isArray(U(t)) ? {
284
286
  toMatch: r,
285
- toContains: l,
286
- changed: c,
287
- changedTimes: p,
287
+ toContains: c,
288
+ changed: d,
289
+ changedTimes: u,
288
290
  get not() {
289
- return dt(t, !e);
291
+ return pt(t, !e);
290
292
  }
291
293
  } : {
292
294
  toMatch: r,
293
295
  toBe: a,
294
296
  toBeTruthy: o,
295
297
  toBeNull: i,
296
- toBeNaN: s,
298
+ toBeNaN: l,
297
299
  toBeUndefined: n,
298
- changed: c,
299
- changedTimes: p,
300
+ changed: d,
301
+ changedTimes: u,
300
302
  get not() {
301
- return dt(t, !e);
303
+ return pt(t, !e);
302
304
  }
303
305
  };
304
306
  }
305
- function Va(t) {
306
- return dt(t);
307
+ function Ha(t) {
308
+ return pt(t);
307
309
  }
308
- function Ct(t, e = 1e3, r = {}) {
310
+ function Ke(t, e = 1e3, r = {}) {
309
311
  const {
310
312
  immediate: a = !0,
311
313
  immediateCallback: o = !1
312
314
  } = r;
313
315
  let i = null;
314
316
  const n = O(!1);
315
- function s() {
316
- i && (clearInterval(i), i = null);
317
- }
318
317
  function l() {
319
- n.value = !1, s();
318
+ i && (clearInterval(i), i = null);
320
319
  }
321
320
  function c() {
322
- const p = Y(e);
323
- p <= 0 || (n.value = !0, o && t(), s(), n.value && (i = setInterval(t, p)));
321
+ n.value = !1, l();
322
+ }
323
+ function d() {
324
+ const u = U(e);
325
+ u <= 0 || (n.value = !0, o && t(), l(), n.value && (i = setInterval(t, u)));
324
326
  }
325
- if (a && lt && c(), de(e) || typeof e == "function") {
326
- const p = le(e, () => {
327
- n.value && lt && c();
327
+ if (a && gt && d(), ge(e) || typeof e == "function") {
328
+ const u = ne(e, () => {
329
+ n.value && gt && d();
328
330
  });
329
- st(p);
331
+ dt(u);
330
332
  }
331
- return st(l), {
333
+ return dt(c), {
332
334
  isActive: n,
333
- pause: l,
334
- resume: c
335
+ pause: c,
336
+ resume: d
335
337
  };
336
338
  }
337
- function Fa(t, e, r) {
338
- return le(
339
+ function Wa(t, e, r) {
340
+ return ne(
339
341
  t,
340
342
  e,
341
343
  {
@@ -344,37 +346,37 @@ function Fa(t, e, r) {
344
346
  }
345
347
  );
346
348
  }
347
- const ft = lt ? window : void 0;
348
- function pe(t) {
349
+ const wt = gt ? window : void 0;
350
+ function we(t) {
349
351
  var e;
350
- const r = Y(t);
352
+ const r = U(t);
351
353
  return (e = r == null ? void 0 : r.$el) != null ? e : r;
352
354
  }
353
- function Ye(...t) {
355
+ function Be(...t) {
354
356
  const e = [], r = () => {
355
- e.forEach((s) => s()), e.length = 0;
356
- }, a = (s, l, c, p) => (s.addEventListener(l, c, p), () => s.removeEventListener(l, c, p)), o = A(() => {
357
- const s = rt(Y(t[0])).filter((l) => l != null);
358
- return s.every((l) => typeof l != "string") ? s : void 0;
359
- }), i = Fa(
357
+ e.forEach((l) => l()), e.length = 0;
358
+ }, a = (l, c, d, u) => (l.addEventListener(c, d, u), () => l.removeEventListener(c, d, u)), o = T(() => {
359
+ const l = nt(U(t[0])).filter((c) => c != null);
360
+ return l.every((c) => typeof c != "string") ? l : void 0;
361
+ }), i = Wa(
360
362
  () => {
361
- var s, l;
363
+ var l, c;
362
364
  return [
363
- (l = (s = o.value) == null ? void 0 : s.map((c) => pe(c))) != null ? l : [ft].filter((c) => c != null),
364
- rt(Y(o.value ? t[1] : t[0])),
365
- rt(d(o.value ? t[2] : t[1])),
365
+ (c = (l = o.value) == null ? void 0 : l.map((d) => we(d))) != null ? c : [wt].filter((d) => d != null),
366
+ nt(U(o.value ? t[1] : t[0])),
367
+ nt(s(o.value ? t[2] : t[1])),
366
368
  // @ts-expect-error - TypeScript gets the correct types, but somehow still complains
367
- Y(o.value ? t[3] : t[2])
369
+ U(o.value ? t[3] : t[2])
368
370
  ];
369
371
  },
370
- ([s, l, c, p]) => {
371
- if (r(), !(s != null && s.length) || !(l != null && l.length) || !(c != null && c.length))
372
+ ([l, c, d, u]) => {
373
+ if (r(), !(l != null && l.length) || !(c != null && c.length) || !(d != null && d.length))
372
374
  return;
373
- const m = La(p) ? { ...p } : p;
375
+ const b = Oa(u) ? { ...u } : u;
374
376
  e.push(
375
- ...s.flatMap(
376
- (y) => l.flatMap(
377
- (v) => c.map((k) => a(y, v, k, m))
377
+ ...l.flatMap(
378
+ (w) => c.flatMap(
379
+ (h) => d.map((k) => a(w, h, k, b))
378
380
  )
379
381
  )
380
382
  );
@@ -383,327 +385,327 @@ function Ye(...t) {
383
385
  ), n = () => {
384
386
  i(), r();
385
387
  };
386
- return st(r), n;
388
+ return dt(r), n;
387
389
  }
388
- function he(t, e) {
390
+ function Se(t, e) {
389
391
  const {
390
392
  interrupt: r = !0,
391
- onError: a = Z,
392
- onFinished: o = Z,
393
+ onError: a = X,
394
+ onFinished: o = X,
393
395
  signal: i
394
396
  } = {}, n = {
395
397
  aborted: "aborted",
396
398
  fulfilled: "fulfilled",
397
399
  pending: "pending",
398
400
  rejected: "rejected"
399
- }, s = Array.from(Array.from({ length: t.length }), () => ({ state: n.pending, data: null })), l = ce(s), c = O(-1);
401
+ }, l = Array.from(Array.from({ length: t.length }), () => ({ state: n.pending, data: null })), c = de(l), d = O(-1);
400
402
  if (!t || t.length === 0)
401
403
  return o(), {
402
- activeIndex: c,
403
- result: l
404
+ activeIndex: d,
405
+ result: c
404
406
  };
405
- function p(m, y) {
406
- c.value++, l[c.value].data = y, l[c.value].state = m;
407
+ function u(b, w) {
408
+ d.value++, c[d.value].data = w, c[d.value].state = b;
407
409
  }
408
- return t.reduce((m, y) => m.then((v) => {
410
+ return t.reduce((b, w) => b.then((h) => {
409
411
  var k;
410
412
  if (i != null && i.aborted) {
411
- p(n.aborted, new Error("aborted"));
413
+ u(n.aborted, new Error("aborted"));
412
414
  return;
413
415
  }
414
- if (((k = l[c.value]) == null ? void 0 : k.state) === n.rejected && r) {
416
+ if (((k = c[d.value]) == null ? void 0 : k.state) === n.rejected && r) {
415
417
  o();
416
418
  return;
417
419
  }
418
- const b = y(v).then((I) => (p(n.fulfilled, I), c.value === t.length - 1 && o(), I));
419
- return i ? Promise.race([b, qa(i)]) : b;
420
- }).catch((v) => i != null && i.aborted ? (p(n.aborted, v), v) : (p(n.rejected, v), a(), v)), Promise.resolve()), {
421
- activeIndex: c,
422
- result: l
420
+ const v = w(h).then((I) => (u(n.fulfilled, I), d.value === t.length - 1 && o(), I));
421
+ return i ? Promise.race([v, Ja(i)]) : v;
422
+ }).catch((h) => i != null && i.aborted ? (u(n.aborted, h), h) : (u(n.rejected, h), a(), h)), Promise.resolve()), {
423
+ activeIndex: d,
424
+ result: c
423
425
  };
424
426
  }
425
- function qa(t) {
427
+ function Ja(t) {
426
428
  return new Promise((e, r) => {
427
429
  const a = new Error("aborted");
428
430
  t.aborted ? r(a) : t.addEventListener("abort", () => r(a), { once: !0 });
429
431
  });
430
432
  }
431
- function Ha(t, e, r) {
433
+ function Xa(t, e, r) {
432
434
  const {
433
435
  immediate: a = !0,
434
436
  delay: o = 0,
435
- onError: i = Z,
436
- onSuccess: n = Z,
437
- resetOnExecute: s = !0,
438
- shallow: l = !0,
439
- throwError: c
440
- } = r ?? {}, p = l ? je(e) : O(e), m = O(!1), y = O(!1), v = je(void 0);
441
- async function k(x = 0, ...z) {
442
- s && (p.value = e), v.value = void 0, m.value = !1, y.value = !0, x > 0 && await ct(x);
443
- const w = typeof t == "function" ? t(...z) : t;
437
+ onError: i = X,
438
+ onSuccess: n = X,
439
+ resetOnExecute: l = !0,
440
+ shallow: c = !0,
441
+ throwError: d
442
+ } = r ?? {}, u = c ? _e(e) : O(e), b = O(!1), w = O(!1), h = _e(void 0);
443
+ async function k(y = 0, ...z) {
444
+ l && (u.value = e), h.value = void 0, b.value = !1, w.value = !0, y > 0 && await ut(y);
445
+ const x = typeof t == "function" ? t(...z) : t;
444
446
  try {
445
- const h = await w;
446
- p.value = h, m.value = !0, n(h);
447
- } catch (h) {
448
- if (v.value = h, i(h), c)
449
- throw h;
447
+ const f = await x;
448
+ u.value = f, b.value = !0, n(f);
449
+ } catch (f) {
450
+ if (h.value = f, i(f), d)
451
+ throw f;
450
452
  } finally {
451
- y.value = !1;
453
+ w.value = !1;
452
454
  }
453
- return p.value;
455
+ return u.value;
454
456
  }
455
457
  a && k(o);
456
- const b = {
457
- state: p,
458
- isReady: m,
459
- isLoading: y,
460
- error: v,
458
+ const v = {
459
+ state: u,
460
+ isReady: b,
461
+ isLoading: w,
462
+ error: h,
461
463
  execute: k
462
464
  };
463
465
  function I() {
464
- return new Promise((x, z) => {
465
- Va(y).toBe(!1).then(() => x(b)).catch(z);
466
+ return new Promise((y, z) => {
467
+ Ha(w).toBe(!1).then(() => y(v)).catch(z);
466
468
  });
467
469
  }
468
470
  return {
469
- ...b,
470
- then(x, z) {
471
- return I().then(x, z);
471
+ ...v,
472
+ then(y, z) {
473
+ return I().then(y, z);
472
474
  }
473
475
  };
474
476
  }
475
- function Wa(t) {
477
+ function Qa(t) {
476
478
  return JSON.parse(JSON.stringify(t));
477
479
  }
478
480
  const At = 1;
479
- function Ja(t, e = {}) {
481
+ function Za(t, e = {}) {
480
482
  const {
481
483
  throttle: r = 0,
482
484
  idle: a = 200,
483
- onStop: o = Z,
484
- onScroll: i = Z,
485
+ onStop: o = X,
486
+ onScroll: i = X,
485
487
  offset: n = {
486
488
  left: 0,
487
489
  right: 0,
488
490
  top: 0,
489
491
  bottom: 0
490
492
  },
491
- eventListenerOptions: s = {
493
+ eventListenerOptions: l = {
492
494
  capture: !1,
493
495
  passive: !0
494
496
  },
495
- behavior: l = "auto",
496
- window: c = ft,
497
- onError: p = (S) => {
498
- console.error(S);
497
+ behavior: c = "auto",
498
+ window: d = wt,
499
+ onError: u = ($) => {
500
+ console.error($);
499
501
  }
500
- } = e, m = O(0), y = O(0), v = A({
502
+ } = e, b = O(0), w = O(0), h = T({
501
503
  get() {
502
- return m.value;
504
+ return b.value;
503
505
  },
504
- set(S) {
505
- b(S, void 0);
506
+ set($) {
507
+ v($, void 0);
506
508
  }
507
- }), k = A({
509
+ }), k = T({
508
510
  get() {
509
- return y.value;
511
+ return w.value;
510
512
  },
511
- set(S) {
512
- b(void 0, S);
513
+ set($) {
514
+ v(void 0, $);
513
515
  }
514
516
  });
515
- function b(S, j) {
516
- var L, J, se, te;
517
- if (!c)
517
+ function v($, j) {
518
+ var P, Q, ce, ae;
519
+ if (!d)
518
520
  return;
519
- const V = Y(t);
521
+ const V = U(t);
520
522
  if (!V)
521
523
  return;
522
- (se = V instanceof Document ? c.document.body : V) == null || se.scrollTo({
523
- top: (L = Y(j)) != null ? L : k.value,
524
- left: (J = Y(S)) != null ? J : v.value,
525
- behavior: Y(l)
524
+ (ce = V instanceof Document ? d.document.body : V) == null || ce.scrollTo({
525
+ top: (P = U(j)) != null ? P : k.value,
526
+ left: (Q = U($)) != null ? Q : h.value,
527
+ behavior: U(c)
526
528
  });
527
- const N = ((te = V == null ? void 0 : V.document) == null ? void 0 : te.documentElement) || (V == null ? void 0 : V.documentElement) || V;
528
- v != null && (m.value = N.scrollLeft), k != null && (y.value = N.scrollTop);
529
+ const E = ((ae = V == null ? void 0 : V.document) == null ? void 0 : ae.documentElement) || (V == null ? void 0 : V.documentElement) || V;
530
+ h != null && (b.value = E.scrollLeft), k != null && (w.value = E.scrollTop);
529
531
  }
530
- const I = O(!1), x = ce({
532
+ const I = O(!1), y = de({
531
533
  left: !0,
532
534
  right: !1,
533
535
  top: !0,
534
536
  bottom: !1
535
- }), z = ce({
537
+ }), z = de({
536
538
  left: !1,
537
539
  right: !1,
538
540
  top: !1,
539
541
  bottom: !1
540
- }), w = (S) => {
541
- I.value && (I.value = !1, z.left = !1, z.right = !1, z.top = !1, z.bottom = !1, o(S));
542
- }, h = Ra(w, r + a), $ = (S) => {
542
+ }), x = ($) => {
543
+ I.value && (I.value = !1, z.left = !1, z.right = !1, z.top = !1, z.bottom = !1, o($));
544
+ }, f = Ka(x, r + a), C = ($) => {
543
545
  var j;
544
- if (!c)
546
+ if (!d)
545
547
  return;
546
- const L = ((j = S == null ? void 0 : S.document) == null ? void 0 : j.documentElement) || (S == null ? void 0 : S.documentElement) || pe(S), { display: J, flexDirection: se, direction: te } = getComputedStyle(L), V = te === "rtl" ? -1 : 1, N = L.scrollLeft;
547
- z.left = N < m.value, z.right = N > m.value;
548
- const G = N * V <= (n.left || 0), oe = N * V + L.clientWidth >= L.scrollWidth - (n.right || 0) - At;
549
- J === "flex" && se === "row-reverse" ? (x.left = oe, x.right = G) : (x.left = G, x.right = oe), m.value = N;
550
- let F = L.scrollTop;
551
- S === c.document && !F && (F = c.document.body.scrollTop), z.top = F < y.value, z.bottom = F > y.value;
552
- const re = F <= (n.top || 0), Ze = F + L.clientHeight >= L.scrollHeight - (n.bottom || 0) - At;
553
- J === "flex" && se === "column-reverse" ? (x.top = Ze, x.bottom = re) : (x.top = re, x.bottom = Ze), y.value = F;
554
- }, E = (S) => {
548
+ const P = ((j = $ == null ? void 0 : $.document) == null ? void 0 : j.documentElement) || ($ == null ? void 0 : $.documentElement) || we($), { display: Q, flexDirection: ce, direction: ae } = getComputedStyle(P), V = ae === "rtl" ? -1 : 1, E = P.scrollLeft;
549
+ z.left = E < b.value, z.right = E > b.value;
550
+ const Y = E * V <= (n.left || 0), ie = E * V + P.clientWidth >= P.scrollWidth - (n.right || 0) - At;
551
+ Q === "flex" && ce === "row-reverse" ? (y.left = ie, y.right = Y) : (y.left = Y, y.right = ie), b.value = E;
552
+ let F = P.scrollTop;
553
+ $ === d.document && !F && (F = d.document.body.scrollTop), z.top = F < w.value, z.bottom = F > w.value;
554
+ const oe = F <= (n.top || 0), at = F + P.clientHeight >= P.scrollHeight - (n.bottom || 0) - At;
555
+ Q === "flex" && ce === "column-reverse" ? (y.top = at, y.bottom = oe) : (y.top = oe, y.bottom = at), w.value = F;
556
+ }, L = ($) => {
555
557
  var j;
556
- if (!c)
558
+ if (!d)
557
559
  return;
558
- const L = (j = S.target.documentElement) != null ? j : S.target;
559
- $(L), I.value = !0, h(S), i(S);
560
+ const P = (j = $.target.documentElement) != null ? j : $.target;
561
+ C(P), I.value = !0, f($), i($);
560
562
  };
561
- return Ye(
563
+ return Be(
562
564
  t,
563
565
  "scroll",
564
- r ? Ya(E, r, !0, !1) : E,
565
- s
566
- ), Ba(() => {
566
+ r ? Ba(L, r, !0, !1) : L,
567
+ l
568
+ ), qa(() => {
567
569
  try {
568
- const S = Y(t);
569
- if (!S)
570
+ const $ = U(t);
571
+ if (!$)
570
572
  return;
571
- $(S);
572
- } catch (S) {
573
- p(S);
573
+ C($);
574
+ } catch ($) {
575
+ u($);
574
576
  }
575
- }), Ye(
577
+ }), Be(
576
578
  t,
577
579
  "scrollend",
578
- w,
579
- s
580
+ x,
581
+ l
580
582
  ), {
581
- x: v,
583
+ x: h,
582
584
  y: k,
583
585
  isScrolling: I,
584
- arrivedState: x,
586
+ arrivedState: y,
585
587
  directions: z,
586
588
  measure() {
587
- const S = Y(t);
588
- c && S && $(S);
589
+ const $ = U(t);
590
+ d && $ && C($);
589
591
  }
590
592
  };
591
593
  }
592
- function ir(t = "history", e = {}) {
594
+ function lr(t = "history", e = {}) {
593
595
  const {
594
596
  initialValue: r = {},
595
597
  removeNullishValues: a = !0,
596
598
  removeFalsyValues: o = !1,
597
599
  write: i = !0,
598
600
  writeMode: n = "replace",
599
- window: s = ft
601
+ window: l = wt
600
602
  } = e;
601
- if (!s)
602
- return ce(r);
603
- const l = ce({});
604
- function c() {
603
+ if (!l)
604
+ return de(r);
605
+ const c = de({});
606
+ function d() {
605
607
  if (t === "history")
606
- return s.location.search || "";
608
+ return l.location.search || "";
607
609
  if (t === "hash") {
608
- const w = s.location.hash || "", h = w.indexOf("?");
609
- return h > 0 ? w.slice(h) : "";
610
+ const x = l.location.hash || "", f = x.indexOf("?");
611
+ return f > 0 ? x.slice(f) : "";
610
612
  } else
611
- return (s.location.hash || "").replace(/^#/, "");
613
+ return (l.location.hash || "").replace(/^#/, "");
612
614
  }
613
- function p(w) {
614
- const h = w.toString();
615
+ function u(x) {
616
+ const f = x.toString();
615
617
  if (t === "history")
616
- return `${h ? `?${h}` : ""}${s.location.hash || ""}`;
618
+ return `${f ? `?${f}` : ""}${l.location.hash || ""}`;
617
619
  if (t === "hash-params")
618
- return `${s.location.search || ""}${h ? `#${h}` : ""}`;
619
- const $ = s.location.hash || "#", E = $.indexOf("?");
620
- return E > 0 ? `${s.location.search || ""}${$.slice(0, E)}${h ? `?${h}` : ""}` : `${s.location.search || ""}${$}${h ? `?${h}` : ""}`;
620
+ return `${l.location.search || ""}${f ? `#${f}` : ""}`;
621
+ const C = l.location.hash || "#", L = C.indexOf("?");
622
+ return L > 0 ? `${l.location.search || ""}${C.slice(0, L)}${f ? `?${f}` : ""}` : `${l.location.search || ""}${C}${f ? `?${f}` : ""}`;
621
623
  }
622
- function m() {
623
- return new URLSearchParams(c());
624
+ function b() {
625
+ return new URLSearchParams(d());
624
626
  }
625
- function y(w) {
626
- const h = new Set(Object.keys(l));
627
- for (const $ of w.keys()) {
628
- const E = w.getAll($);
629
- l[$] = E.length > 1 ? E : w.get($) || "", h.delete($);
627
+ function w(x) {
628
+ const f = new Set(Object.keys(c));
629
+ for (const C of x.keys()) {
630
+ const L = x.getAll(C);
631
+ c[C] = L.length > 1 ? L : x.get(C) || "", f.delete(C);
630
632
  }
631
- Array.from(h).forEach(($) => delete l[$]);
633
+ Array.from(f).forEach((C) => delete c[C]);
632
634
  }
633
- const { pause: v, resume: k } = Ka(
634
- l,
635
+ const { pause: h, resume: k } = Fa(
636
+ c,
635
637
  () => {
636
- const w = new URLSearchParams("");
637
- Object.keys(l).forEach((h) => {
638
- const $ = l[h];
639
- Array.isArray($) ? $.forEach((E) => w.append(h, E)) : a && $ == null || o && !$ ? w.delete(h) : w.set(h, $);
640
- }), b(w, !1);
638
+ const x = new URLSearchParams("");
639
+ Object.keys(c).forEach((f) => {
640
+ const C = c[f];
641
+ Array.isArray(C) ? C.forEach((L) => x.append(f, L)) : a && C == null || o && !C ? x.delete(f) : x.set(f, C);
642
+ }), v(x, !1);
641
643
  },
642
644
  { deep: !0 }
643
645
  );
644
- function b(w, h) {
645
- v(), h && y(w), n === "replace" ? s.history.replaceState(
646
- s.history.state,
647
- s.document.title,
648
- s.location.pathname + p(w)
649
- ) : s.history.pushState(
650
- s.history.state,
651
- s.document.title,
652
- s.location.pathname + p(w)
646
+ function v(x, f) {
647
+ h(), f && w(x), n === "replace" ? l.history.replaceState(
648
+ l.history.state,
649
+ l.document.title,
650
+ l.location.pathname + u(x)
651
+ ) : l.history.pushState(
652
+ l.history.state,
653
+ l.document.title,
654
+ l.location.pathname + u(x)
653
655
  ), k();
654
656
  }
655
657
  function I() {
656
- i && b(m(), !0);
658
+ i && v(b(), !0);
657
659
  }
658
- const x = { passive: !0 };
659
- Ye(s, "popstate", I, x), t !== "history" && Ye(s, "hashchange", I, x);
660
- const z = m();
661
- return z.keys().next().value ? y(z) : Object.assign(l, r), l;
660
+ const y = { passive: !0 };
661
+ Be(l, "popstate", I, y), t !== "history" && Be(l, "hashchange", I, y);
662
+ const z = b();
663
+ return z.keys().next().value ? w(z) : Object.assign(c, r), c;
662
664
  }
663
- function Xa(t, e, r, a = {}) {
665
+ function eo(t, e, r, a = {}) {
664
666
  var o, i, n;
665
667
  const {
666
- clone: s = !1,
667
- passive: l = !1,
668
- eventName: c,
669
- deep: p = !1,
670
- defaultValue: m,
671
- shouldEmit: y
672
- } = a, v = Ht(), k = r || (v == null ? void 0 : v.emit) || ((o = v == null ? void 0 : v.$emit) == null ? void 0 : o.bind(v)) || ((n = (i = v == null ? void 0 : v.proxy) == null ? void 0 : i.$emit) == null ? void 0 : n.bind(v == null ? void 0 : v.proxy));
673
- let b = c;
674
- e || (e = "modelValue"), b = b || `update:${e.toString()}`;
675
- const I = (w) => s ? typeof s == "function" ? s(w) : Wa(w) : w, x = () => Da(t[e]) ? I(t[e]) : m, z = (w) => {
676
- y ? y(w) && k(b, w) : k(b, w);
668
+ clone: l = !1,
669
+ passive: c = !1,
670
+ eventName: d,
671
+ deep: u = !1,
672
+ defaultValue: b,
673
+ shouldEmit: w
674
+ } = a, h = Wt(), k = r || (h == null ? void 0 : h.emit) || ((o = h == null ? void 0 : h.$emit) == null ? void 0 : o.bind(h)) || ((n = (i = h == null ? void 0 : h.proxy) == null ? void 0 : i.$emit) == null ? void 0 : n.bind(h == null ? void 0 : h.proxy));
675
+ let v = d;
676
+ e || (e = "modelValue"), v = v || `update:${e.toString()}`;
677
+ const I = (x) => l ? typeof l == "function" ? l(x) : Qa(x) : x, y = () => Ma(t[e]) ? I(t[e]) : b, z = (x) => {
678
+ w ? w(x) && k(v, x) : k(v, x);
677
679
  };
678
- if (l) {
679
- const w = x(), h = O(w);
680
- let $ = !1;
681
- return le(
680
+ if (c) {
681
+ const x = y(), f = O(x);
682
+ let C = !1;
683
+ return ne(
682
684
  () => t[e],
683
- (E) => {
684
- $ || ($ = !0, h.value = I(E), Se(() => $ = !1));
685
+ (L) => {
686
+ C || (C = !0, f.value = I(L), Ie(() => C = !1));
685
687
  }
686
- ), le(
687
- h,
688
- (E) => {
689
- !$ && (E !== t[e] || p) && z(E);
688
+ ), ne(
689
+ f,
690
+ (L) => {
691
+ !C && (L !== t[e] || u) && z(L);
690
692
  },
691
- { deep: p }
692
- ), h;
693
+ { deep: u }
694
+ ), f;
693
695
  } else
694
- return A({
696
+ return T({
695
697
  get() {
696
- return x();
698
+ return y();
697
699
  },
698
- set(w) {
699
- z(w);
700
+ set(x) {
701
+ z(x);
700
702
  }
701
703
  });
702
704
  }
703
- function yt(t, e, r = {}) {
705
+ function xt(t, e, r = {}) {
704
706
  const a = {};
705
707
  for (const o in t)
706
- a[o] = Xa(
708
+ a[o] = eo(
707
709
  t,
708
710
  o,
709
711
  e,
@@ -714,33 +716,33 @@ function yt(t, e, r = {}) {
714
716
  function M(t) {
715
717
  return t != null && typeof t == "object" && t["@@functional/placeholder"] === !0;
716
718
  }
717
- function U(t) {
719
+ function K(t) {
718
720
  return function e(r) {
719
721
  return arguments.length === 0 || M(r) ? e : t.apply(this, arguments);
720
722
  };
721
723
  }
722
- function K(t) {
724
+ function B(t) {
723
725
  return function e(r, a) {
724
726
  switch (arguments.length) {
725
727
  case 0:
726
728
  return e;
727
729
  case 1:
728
- return M(r) ? e : U(function(o) {
730
+ return M(r) ? e : K(function(o) {
729
731
  return t(r, o);
730
732
  });
731
733
  default:
732
- return M(r) && M(a) ? e : M(r) ? U(function(o) {
734
+ return M(r) && M(a) ? e : M(r) ? K(function(o) {
733
735
  return t(o, a);
734
- }) : M(a) ? U(function(o) {
736
+ }) : M(a) ? K(function(o) {
735
737
  return t(r, o);
736
738
  }) : t(r, a);
737
739
  }
738
740
  };
739
741
  }
740
- var Qa = /* @__PURE__ */ K(function(e, r) {
742
+ var to = /* @__PURE__ */ B(function(e, r) {
741
743
  return Number(e) + Number(r);
742
744
  });
743
- function qe(t, e) {
745
+ function Xe(t, e) {
744
746
  switch (t) {
745
747
  case 0:
746
748
  return function() {
@@ -767,93 +769,93 @@ function qe(t, e) {
767
769
  return e.apply(this, arguments);
768
770
  };
769
771
  case 6:
770
- return function(r, a, o, i, n, s) {
772
+ return function(r, a, o, i, n, l) {
771
773
  return e.apply(this, arguments);
772
774
  };
773
775
  case 7:
774
- return function(r, a, o, i, n, s, l) {
776
+ return function(r, a, o, i, n, l, c) {
775
777
  return e.apply(this, arguments);
776
778
  };
777
779
  case 8:
778
- return function(r, a, o, i, n, s, l, c) {
780
+ return function(r, a, o, i, n, l, c, d) {
779
781
  return e.apply(this, arguments);
780
782
  };
781
783
  case 9:
782
- return function(r, a, o, i, n, s, l, c, p) {
784
+ return function(r, a, o, i, n, l, c, d, u) {
783
785
  return e.apply(this, arguments);
784
786
  };
785
787
  case 10:
786
- return function(r, a, o, i, n, s, l, c, p, m) {
788
+ return function(r, a, o, i, n, l, c, d, u, b) {
787
789
  return e.apply(this, arguments);
788
790
  };
789
791
  default:
790
792
  throw new Error("First argument to _arity must be a non-negative integer no greater than ten");
791
793
  }
792
794
  }
793
- function nr(t, e, r) {
795
+ function cr(t, e, r) {
794
796
  return function() {
795
- for (var a = [], o = 0, i = t, n = 0, s = !1; n < e.length || o < arguments.length; ) {
796
- var l;
797
- n < e.length && (!M(e[n]) || o >= arguments.length) ? l = e[n] : (l = arguments[o], o += 1), a[n] = l, M(l) ? s = !0 : i -= 1, n += 1;
797
+ for (var a = [], o = 0, i = t, n = 0, l = !1; n < e.length || o < arguments.length; ) {
798
+ var c;
799
+ n < e.length && (!M(e[n]) || o >= arguments.length) ? c = e[n] : (c = arguments[o], o += 1), a[n] = c, M(c) ? l = !0 : i -= 1, n += 1;
798
800
  }
799
- return !s && i <= 0 ? r.apply(this, a) : qe(Math.max(0, i), nr(t, a, r));
801
+ return !l && i <= 0 ? r.apply(this, a) : Xe(Math.max(0, i), cr(t, a, r));
800
802
  };
801
803
  }
802
- var Za = /* @__PURE__ */ K(function(e, r) {
803
- return e === 1 ? U(r) : qe(e, nr(e, [], r));
804
+ var ro = /* @__PURE__ */ B(function(e, r) {
805
+ return e === 1 ? K(r) : Xe(e, cr(e, [], r));
804
806
  });
805
- function wt(t) {
807
+ function _t(t) {
806
808
  return function e(r, a, o) {
807
809
  switch (arguments.length) {
808
810
  case 0:
809
811
  return e;
810
812
  case 1:
811
- return M(r) ? e : K(function(i, n) {
813
+ return M(r) ? e : B(function(i, n) {
812
814
  return t(r, i, n);
813
815
  });
814
816
  case 2:
815
- return M(r) && M(a) ? e : M(r) ? K(function(i, n) {
817
+ return M(r) && M(a) ? e : M(r) ? B(function(i, n) {
816
818
  return t(i, a, n);
817
- }) : M(a) ? K(function(i, n) {
819
+ }) : M(a) ? B(function(i, n) {
818
820
  return t(r, i, n);
819
- }) : U(function(i) {
821
+ }) : K(function(i) {
820
822
  return t(r, a, i);
821
823
  });
822
824
  default:
823
- return M(r) && M(a) && M(o) ? e : M(r) && M(a) ? K(function(i, n) {
825
+ return M(r) && M(a) && M(o) ? e : M(r) && M(a) ? B(function(i, n) {
824
826
  return t(i, n, o);
825
- }) : M(r) && M(o) ? K(function(i, n) {
827
+ }) : M(r) && M(o) ? B(function(i, n) {
826
828
  return t(i, a, n);
827
- }) : M(a) && M(o) ? K(function(i, n) {
829
+ }) : M(a) && M(o) ? B(function(i, n) {
828
830
  return t(r, i, n);
829
- }) : M(r) ? U(function(i) {
831
+ }) : M(r) ? K(function(i) {
830
832
  return t(i, a, o);
831
- }) : M(a) ? U(function(i) {
833
+ }) : M(a) ? K(function(i) {
832
834
  return t(r, i, o);
833
- }) : M(o) ? U(function(i) {
835
+ }) : M(o) ? K(function(i) {
834
836
  return t(r, a, i);
835
837
  }) : t(r, a, o);
836
838
  }
837
839
  };
838
840
  }
839
- const He = Array.isArray || function(e) {
841
+ const Qe = Array.isArray || function(e) {
840
842
  return e != null && e.length >= 0 && Object.prototype.toString.call(e) === "[object Array]";
841
843
  };
842
- function eo(t) {
844
+ function ao(t) {
843
845
  return t != null && typeof t["@@transducer/step"] == "function";
844
846
  }
845
- function to(t, e, r) {
847
+ function oo(t, e, r) {
846
848
  return function() {
847
849
  if (arguments.length === 0)
848
850
  return r();
849
851
  var a = arguments[arguments.length - 1];
850
- if (!He(a)) {
852
+ if (!Qe(a)) {
851
853
  for (var o = 0; o < t.length; ) {
852
854
  if (typeof a[t[o]] == "function")
853
855
  return a[t[o]].apply(a, Array.prototype.slice.call(arguments, 0, -1));
854
856
  o += 1;
855
857
  }
856
- if (eo(a)) {
858
+ if (ao(a)) {
857
859
  var i = e.apply(null, Array.prototype.slice.call(arguments, 0, -1));
858
860
  return i(a);
859
861
  }
@@ -861,7 +863,7 @@ function to(t, e, r) {
861
863
  return r.apply(this, arguments);
862
864
  };
863
865
  }
864
- const Et = {
866
+ const Dt = {
865
867
  init: function() {
866
868
  return this.xf["@@transducer/init"]();
867
869
  },
@@ -869,7 +871,7 @@ const Et = {
869
871
  return this.xf["@@transducer/result"](t);
870
872
  }
871
873
  };
872
- function Dt(t) {
874
+ function Lt(t) {
873
875
  for (var e = [], r; !(r = t.next()).done; )
874
876
  e.push(r.value);
875
877
  return e;
@@ -882,63 +884,63 @@ function Pt(t, e, r) {
882
884
  }
883
885
  return !1;
884
886
  }
885
- function ro(t) {
887
+ function io(t) {
886
888
  var e = String(t).match(/^function (\w*)/);
887
889
  return e == null ? "" : e[1];
888
890
  }
889
- function Ue(t, e) {
891
+ function Ve(t, e) {
890
892
  return Object.prototype.hasOwnProperty.call(e, t);
891
893
  }
892
- function ao(t, e) {
894
+ function no(t, e) {
893
895
  return t === e ? t !== 0 || 1 / t === 1 / e : t !== t && e !== e;
894
896
  }
895
- const at = typeof Object.is == "function" ? Object.is : ao;
896
- var Lt = Object.prototype.toString, sr = /* @__PURE__ */ function() {
897
- return Lt.call(arguments) === "[object Arguments]" ? function(e) {
898
- return Lt.call(e) === "[object Arguments]";
897
+ const st = typeof Object.is == "function" ? Object.is : no;
898
+ var Mt = Object.prototype.toString, dr = /* @__PURE__ */ function() {
899
+ return Mt.call(arguments) === "[object Arguments]" ? function(e) {
900
+ return Mt.call(e) === "[object Arguments]";
899
901
  } : function(e) {
900
- return Ue("callee", e);
902
+ return Ve("callee", e);
901
903
  };
902
- }(), oo = !/* @__PURE__ */ {
904
+ }(), so = !/* @__PURE__ */ {
903
905
  toString: null
904
- }.propertyIsEnumerable("toString"), Mt = ["constructor", "valueOf", "isPrototypeOf", "toString", "propertyIsEnumerable", "hasOwnProperty", "toLocaleString"], jt = /* @__PURE__ */ function() {
906
+ }.propertyIsEnumerable("toString"), jt = ["constructor", "valueOf", "isPrototypeOf", "toString", "propertyIsEnumerable", "hasOwnProperty", "toLocaleString"], Ot = /* @__PURE__ */ function() {
905
907
  return arguments.propertyIsEnumerable("length");
906
- }(), io = function(e, r) {
908
+ }(), lo = function(e, r) {
907
909
  for (var a = 0; a < e.length; ) {
908
910
  if (e[a] === r)
909
911
  return !0;
910
912
  a += 1;
911
913
  }
912
914
  return !1;
913
- }, gt = /* @__PURE__ */ U(typeof Object.keys == "function" && !jt ? function(e) {
915
+ }, mt = /* @__PURE__ */ K(typeof Object.keys == "function" && !Ot ? function(e) {
914
916
  return Object(e) !== e ? [] : Object.keys(e);
915
917
  } : function(e) {
916
918
  if (Object(e) !== e)
917
919
  return [];
918
- var r, a, o = [], i = jt && sr(e);
920
+ var r, a, o = [], i = Ot && dr(e);
919
921
  for (r in e)
920
- Ue(r, e) && (!i || r !== "length") && (o[o.length] = r);
921
- if (oo)
922
- for (a = Mt.length - 1; a >= 0; )
923
- r = Mt[a], Ue(r, e) && !io(o, r) && (o[o.length] = r), a -= 1;
922
+ Ve(r, e) && (!i || r !== "length") && (o[o.length] = r);
923
+ if (so)
924
+ for (a = jt.length - 1; a >= 0; )
925
+ r = jt[a], Ve(r, e) && !lo(o, r) && (o[o.length] = r), a -= 1;
924
926
  return o;
925
- }), Ot = /* @__PURE__ */ U(function(e) {
927
+ }), Gt = /* @__PURE__ */ K(function(e) {
926
928
  return e === null ? "Null" : e === void 0 ? "Undefined" : Object.prototype.toString.call(e).slice(8, -1);
927
929
  });
928
- function Gt(t, e, r, a) {
929
- var o = Dt(t), i = Dt(e);
930
- function n(s, l) {
931
- return xt(s, l, r.slice(), a.slice());
930
+ function Rt(t, e, r, a) {
931
+ var o = Lt(t), i = Lt(e);
932
+ function n(l, c) {
933
+ return kt(l, c, r.slice(), a.slice());
932
934
  }
933
- return !Pt(function(s, l) {
934
- return !Pt(n, l, s);
935
+ return !Pt(function(l, c) {
936
+ return !Pt(n, c, l);
935
937
  }, i, o);
936
938
  }
937
- function xt(t, e, r, a) {
938
- if (at(t, e))
939
+ function kt(t, e, r, a) {
940
+ if (st(t, e))
939
941
  return !0;
940
- var o = Ot(t);
941
- if (o !== Ot(e))
942
+ var o = Gt(t);
943
+ if (o !== Gt(e))
942
944
  return !1;
943
945
  if (typeof t["fantasy-land/equals"] == "function" || typeof e["fantasy-land/equals"] == "function")
944
946
  return typeof t["fantasy-land/equals"] == "function" && t["fantasy-land/equals"](e) && typeof e["fantasy-land/equals"] == "function" && e["fantasy-land/equals"](t);
@@ -948,17 +950,17 @@ function xt(t, e, r, a) {
948
950
  case "Arguments":
949
951
  case "Array":
950
952
  case "Object":
951
- if (typeof t.constructor == "function" && ro(t.constructor) === "Promise")
953
+ if (typeof t.constructor == "function" && io(t.constructor) === "Promise")
952
954
  return t === e;
953
955
  break;
954
956
  case "Boolean":
955
957
  case "Number":
956
958
  case "String":
957
- if (!(typeof t == typeof e && at(t.valueOf(), e.valueOf())))
959
+ if (!(typeof t == typeof e && st(t.valueOf(), e.valueOf())))
958
960
  return !1;
959
961
  break;
960
962
  case "Date":
961
- if (!at(t.valueOf(), e.valueOf()))
963
+ if (!st(t.valueOf(), e.valueOf()))
962
964
  return !1;
963
965
  break;
964
966
  case "Error":
@@ -975,9 +977,9 @@ function xt(t, e, r, a) {
975
977
  }
976
978
  switch (o) {
977
979
  case "Map":
978
- return t.size !== e.size ? !1 : Gt(t.entries(), e.entries(), r.concat([t]), a.concat([e]));
980
+ return t.size !== e.size ? !1 : Rt(t.entries(), e.entries(), r.concat([t]), a.concat([e]));
979
981
  case "Set":
980
- return t.size !== e.size ? !1 : Gt(t.values(), e.values(), r.concat([t]), a.concat([e]));
982
+ return t.size !== e.size ? !1 : Rt(t.values(), e.values(), r.concat([t]), a.concat([e]));
981
983
  case "Arguments":
982
984
  case "Array":
983
985
  case "Object":
@@ -1001,85 +1003,85 @@ function xt(t, e, r, a) {
1001
1003
  default:
1002
1004
  return !1;
1003
1005
  }
1004
- var n = gt(t);
1005
- if (n.length !== gt(e).length)
1006
+ var n = mt(t);
1007
+ if (n.length !== mt(e).length)
1006
1008
  return !1;
1007
- var s = r.concat([t]), l = a.concat([e]);
1009
+ var l = r.concat([t]), c = a.concat([e]);
1008
1010
  for (i = n.length - 1; i >= 0; ) {
1009
- var c = n[i];
1010
- if (!(Ue(c, e) && xt(e[c], t[c], s, l)))
1011
+ var d = n[i];
1012
+ if (!(Ve(d, e) && kt(e[d], t[d], l, c)))
1011
1013
  return !1;
1012
1014
  i -= 1;
1013
1015
  }
1014
1016
  return !0;
1015
1017
  }
1016
- var no = /* @__PURE__ */ K(function(e, r) {
1017
- return xt(e, r, [], []);
1018
+ var co = /* @__PURE__ */ B(function(e, r) {
1019
+ return kt(e, r, [], []);
1018
1020
  });
1019
- function so(t, e) {
1021
+ function go(t, e) {
1020
1022
  for (var r = 0, a = e.length, o = Array(a); r < a; )
1021
1023
  o[r] = t(e[r]), r += 1;
1022
1024
  return o;
1023
1025
  }
1024
- function lo(t, e, r) {
1026
+ function uo(t, e, r) {
1025
1027
  for (var a = 0, o = r.length; a < o; )
1026
1028
  e = t(e, r[a]), a += 1;
1027
1029
  return e;
1028
1030
  }
1029
- function co(t) {
1031
+ function po(t) {
1030
1032
  return Object.prototype.toString.call(t) === "[object Object]";
1031
1033
  }
1032
- var go = /* @__PURE__ */ function() {
1034
+ var mo = /* @__PURE__ */ function() {
1033
1035
  function t(e, r) {
1034
1036
  this.xf = r, this.f = e;
1035
1037
  }
1036
- return t.prototype["@@transducer/init"] = Et.init, t.prototype["@@transducer/result"] = Et.result, t.prototype["@@transducer/step"] = function(e, r) {
1038
+ return t.prototype["@@transducer/init"] = Dt.init, t.prototype["@@transducer/result"] = Dt.result, t.prototype["@@transducer/step"] = function(e, r) {
1037
1039
  return this.xf["@@transducer/step"](e, this.f(r));
1038
1040
  }, t;
1039
- }(), po = function(e) {
1041
+ }(), vo = function(e) {
1040
1042
  return function(r) {
1041
- return new go(e, r);
1043
+ return new mo(e, r);
1042
1044
  };
1043
- }, _t = /* @__PURE__ */ K(/* @__PURE__ */ to(["fantasy-land/map", "map"], po, function(e, r) {
1045
+ }, zt = /* @__PURE__ */ B(/* @__PURE__ */ oo(["fantasy-land/map", "map"], vo, function(e, r) {
1044
1046
  switch (Object.prototype.toString.call(r)) {
1045
1047
  case "[object Function]":
1046
- return Za(r.length, function() {
1048
+ return ro(r.length, function() {
1047
1049
  return e.call(this, r.apply(this, arguments));
1048
1050
  });
1049
1051
  case "[object Object]":
1050
- return lo(function(a, o) {
1052
+ return uo(function(a, o) {
1051
1053
  return a[o] = e(r[o]), a;
1052
- }, {}, gt(r));
1054
+ }, {}, mt(r));
1053
1055
  default:
1054
- return so(e, r);
1056
+ return go(e, r);
1055
1057
  }
1056
1058
  }));
1057
- const lr = Number.isInteger || function(e) {
1059
+ const gr = Number.isInteger || function(e) {
1058
1060
  return e << 0 === e;
1059
1061
  };
1060
- function We(t) {
1062
+ function Ze(t) {
1061
1063
  return Object.prototype.toString.call(t) === "[object String]";
1062
1064
  }
1063
- function Je(t, e) {
1065
+ function et(t, e) {
1064
1066
  var r = t < 0 ? e.length + t : t;
1065
- return We(e) ? e.charAt(r) : e[r];
1067
+ return Ze(e) ? e.charAt(r) : e[r];
1066
1068
  }
1067
- var ie = /* @__PURE__ */ K(function(e, r) {
1069
+ var se = /* @__PURE__ */ B(function(e, r) {
1068
1070
  if (r != null)
1069
- return lr(e) ? Je(e, r) : r[e];
1070
- }), uo = /* @__PURE__ */ U(function(e) {
1071
- return He(e) ? !0 : !e || typeof e != "object" || We(e) ? !1 : e.length === 0 ? !0 : e.length > 0 ? e.hasOwnProperty(0) && e.hasOwnProperty(e.length - 1) : !1;
1072
- }), Rt = typeof Symbol < "u" ? Symbol.iterator : "@@iterator";
1073
- function mo(t, e, r) {
1071
+ return gr(e) ? et(e, r) : r[e];
1072
+ }), bo = /* @__PURE__ */ K(function(e) {
1073
+ return Qe(e) ? !0 : !e || typeof e != "object" || Ze(e) ? !1 : e.length === 0 ? !0 : e.length > 0 ? e.hasOwnProperty(0) && e.hasOwnProperty(e.length - 1) : !1;
1074
+ }), Yt = typeof Symbol < "u" ? Symbol.iterator : "@@iterator";
1075
+ function ho(t, e, r) {
1074
1076
  return function(o, i, n) {
1075
- if (uo(n))
1077
+ if (bo(n))
1076
1078
  return t(o, i, n);
1077
1079
  if (n == null)
1078
1080
  return i;
1079
1081
  if (typeof n["fantasy-land/reduce"] == "function")
1080
1082
  return e(o, i, n, "fantasy-land/reduce");
1081
- if (n[Rt] != null)
1082
- return r(o, i, n[Rt]());
1083
+ if (n[Yt] != null)
1084
+ return r(o, i, n[Yt]());
1083
1085
  if (typeof n.next == "function")
1084
1086
  return r(o, i, n);
1085
1087
  if (typeof n.reduce == "function")
@@ -1087,7 +1089,7 @@ function mo(t, e, r) {
1087
1089
  throw new TypeError("reduce: list must be array or iterable");
1088
1090
  };
1089
1091
  }
1090
- function vo(t, e, r) {
1092
+ function fo(t, e, r) {
1091
1093
  for (var a = 0, o = r.length; a < o; ) {
1092
1094
  if (e = t["@@transducer/step"](e, r[a]), e && e["@@transducer/reduced"]) {
1093
1095
  e = e["@@transducer/value"];
@@ -1097,12 +1099,12 @@ function vo(t, e, r) {
1097
1099
  }
1098
1100
  return t["@@transducer/result"](e);
1099
1101
  }
1100
- var bo = /* @__PURE__ */ K(function(e, r) {
1101
- return qe(e.length, function() {
1102
+ var yo = /* @__PURE__ */ B(function(e, r) {
1103
+ return Xe(e.length, function() {
1102
1104
  return e.apply(r, arguments);
1103
1105
  });
1104
1106
  });
1105
- function ho(t, e, r) {
1107
+ function wo(t, e, r) {
1106
1108
  for (var a = r.next(); !a.done; ) {
1107
1109
  if (e = t["@@transducer/step"](e, a.value), e && e["@@transducer/reduced"]) {
1108
1110
  e = e["@@transducer/value"];
@@ -1112,10 +1114,10 @@ function ho(t, e, r) {
1112
1114
  }
1113
1115
  return t["@@transducer/result"](e);
1114
1116
  }
1115
- function fo(t, e, r, a) {
1116
- return t["@@transducer/result"](r[a](bo(t["@@transducer/step"], t), e));
1117
+ function xo(t, e, r, a) {
1118
+ return t["@@transducer/result"](r[a](yo(t["@@transducer/step"], t), e));
1117
1119
  }
1118
- var yo = /* @__PURE__ */ mo(vo, fo, ho), wo = /* @__PURE__ */ function() {
1120
+ var _o = /* @__PURE__ */ ho(fo, xo, wo), ko = /* @__PURE__ */ function() {
1119
1121
  function t(e) {
1120
1122
  this.f = e;
1121
1123
  }
@@ -1127,89 +1129,89 @@ var yo = /* @__PURE__ */ mo(vo, fo, ho), wo = /* @__PURE__ */ function() {
1127
1129
  return this.f(e, r);
1128
1130
  }, t;
1129
1131
  }();
1130
- function xo(t) {
1131
- return new wo(t);
1132
+ function zo(t) {
1133
+ return new ko(t);
1132
1134
  }
1133
- var cr = /* @__PURE__ */ wt(function(t, e, r) {
1134
- return yo(typeof t == "function" ? xo(t) : t, e, r);
1135
+ var ur = /* @__PURE__ */ _t(function(t, e, r) {
1136
+ return _o(typeof t == "function" ? zo(t) : t, e, r);
1135
1137
  });
1136
- function _o(t, e) {
1138
+ function So(t, e) {
1137
1139
  return function() {
1138
1140
  return e.call(this, t.apply(this, arguments));
1139
1141
  };
1140
1142
  }
1141
- function dr(t, e) {
1143
+ function pr(t, e) {
1142
1144
  return function() {
1143
1145
  var r = arguments.length;
1144
1146
  if (r === 0)
1145
1147
  return e();
1146
1148
  var a = arguments[r - 1];
1147
- return He(a) || typeof a[t] != "function" ? e.apply(this, arguments) : a[t].apply(a, Array.prototype.slice.call(arguments, 0, r - 1));
1149
+ return Qe(a) || typeof a[t] != "function" ? e.apply(this, arguments) : a[t].apply(a, Array.prototype.slice.call(arguments, 0, r - 1));
1148
1150
  };
1149
1151
  }
1150
- var ko = /* @__PURE__ */ wt(/* @__PURE__ */ dr("slice", function(e, r, a) {
1152
+ var $o = /* @__PURE__ */ _t(/* @__PURE__ */ pr("slice", function(e, r, a) {
1151
1153
  return Array.prototype.slice.call(a, e, r);
1152
- })), zo = /* @__PURE__ */ U(/* @__PURE__ */ dr("tail", /* @__PURE__ */ ko(1, 1 / 0)));
1153
- function De() {
1154
+ })), Io = /* @__PURE__ */ K(/* @__PURE__ */ pr("tail", /* @__PURE__ */ $o(1, 1 / 0)));
1155
+ function Pe() {
1154
1156
  if (arguments.length === 0)
1155
1157
  throw new Error("pipe requires at least one argument");
1156
- return qe(arguments[0].length, cr(_o, arguments[0], zo(arguments)));
1158
+ return Xe(arguments[0].length, ur(So, arguments[0], Io(arguments)));
1157
1159
  }
1158
- var So = /* @__PURE__ */ U(function(e) {
1159
- return We(e) ? e.split("").reverse().join("") : Array.prototype.slice.call(e, 0).reverse();
1160
+ var Co = /* @__PURE__ */ K(function(e) {
1161
+ return Ze(e) ? e.split("").reverse().join("") : Array.prototype.slice.call(e, 0).reverse();
1160
1162
  });
1161
- function kt() {
1163
+ function St() {
1162
1164
  if (arguments.length === 0)
1163
1165
  throw new Error("compose requires at least one argument");
1164
- return De.apply(this, So(arguments));
1166
+ return Pe.apply(this, Co(arguments));
1165
1167
  }
1166
- var H = /* @__PURE__ */ U(function(t) {
1167
- return Je(0, t);
1168
- }), gr = /* @__PURE__ */ wt(function(e, r, a) {
1168
+ var H = /* @__PURE__ */ K(function(t) {
1169
+ return et(0, t);
1170
+ }), mr = /* @__PURE__ */ _t(function(e, r, a) {
1169
1171
  var o = e(r), i = e(a);
1170
1172
  return o > i ? -1 : o < i ? 1 : 0;
1171
- }), Io = /* @__PURE__ */ U(function(t) {
1172
- return Je(-1, t);
1173
+ }), To = /* @__PURE__ */ K(function(t) {
1174
+ return et(-1, t);
1173
1175
  });
1174
- function $o(t) {
1176
+ function No(t) {
1175
1177
  var e = Object.prototype.toString.call(t);
1176
1178
  return e === "[object Uint8ClampedArray]" || e === "[object Int8Array]" || e === "[object Uint8Array]" || e === "[object Int16Array]" || e === "[object Uint16Array]" || e === "[object Int32Array]" || e === "[object Uint32Array]" || e === "[object Float32Array]" || e === "[object Float64Array]" || e === "[object BigInt64Array]" || e === "[object BigUint64Array]";
1177
1179
  }
1178
- var To = /* @__PURE__ */ U(function(e) {
1179
- return e != null && typeof e["fantasy-land/empty"] == "function" ? e["fantasy-land/empty"]() : e != null && e.constructor != null && typeof e.constructor["fantasy-land/empty"] == "function" ? e.constructor["fantasy-land/empty"]() : e != null && typeof e.empty == "function" ? e.empty() : e != null && e.constructor != null && typeof e.constructor.empty == "function" ? e.constructor.empty() : He(e) ? [] : We(e) ? "" : co(e) ? {} : sr(e) ? /* @__PURE__ */ function() {
1180
+ var Eo = /* @__PURE__ */ K(function(e) {
1181
+ return e != null && typeof e["fantasy-land/empty"] == "function" ? e["fantasy-land/empty"]() : e != null && e.constructor != null && typeof e.constructor["fantasy-land/empty"] == "function" ? e.constructor["fantasy-land/empty"]() : e != null && typeof e.empty == "function" ? e.empty() : e != null && e.constructor != null && typeof e.constructor.empty == "function" ? e.constructor.empty() : Qe(e) ? [] : Ze(e) ? "" : po(e) ? {} : dr(e) ? /* @__PURE__ */ function() {
1180
1182
  return arguments;
1181
- }() : $o(e) ? e.constructor.from("") : void 0;
1182
- }), ot = /* @__PURE__ */ U(function(e) {
1183
- return e != null && no(e, To(e));
1183
+ }() : No(e) ? e.constructor.from("") : void 0;
1184
+ }), Oe = /* @__PURE__ */ K(function(e) {
1185
+ return e != null && co(e, Eo(e));
1184
1186
  });
1185
- function No(t, e) {
1187
+ function Ao(t, e) {
1186
1188
  for (var r = e, a = 0; a < t.length; a += 1) {
1187
1189
  if (r == null)
1188
1190
  return;
1189
1191
  var o = t[a];
1190
- lr(o) ? r = Je(o, r) : r = r[o];
1192
+ gr(o) ? r = et(o, r) : r = r[o];
1191
1193
  }
1192
1194
  return r;
1193
1195
  }
1194
- var Yt = /* @__PURE__ */ cr(Qa, 0), Co = /* @__PURE__ */ K(function(e, r) {
1196
+ var Ut = /* @__PURE__ */ ur(to, 0), Do = /* @__PURE__ */ B(function(e, r) {
1195
1197
  for (var a = {}, o = {}, i = 0, n = e.length; i < n; )
1196
1198
  o[e[i]] = 1, i += 1;
1197
- for (var s in r)
1198
- o.hasOwnProperty(s) || (a[s] = r[s]);
1199
+ for (var l in r)
1200
+ o.hasOwnProperty(l) || (a[l] = r[l]);
1199
1201
  return a;
1200
- }), pr = /* @__PURE__ */ K(No), ur = /* @__PURE__ */ K(function(e, r) {
1202
+ }), vr = /* @__PURE__ */ B(Ao), br = /* @__PURE__ */ B(function(e, r) {
1201
1203
  for (var a = {}, o = 0; o < e.length; )
1202
1204
  e[o] in r && (a[e[o]] = r[e[o]]), o += 1;
1203
1205
  return a;
1204
- }), mr = /* @__PURE__ */ K(function(e, r) {
1206
+ }), hr = /* @__PURE__ */ B(function(e, r) {
1205
1207
  return Array.prototype.slice.call(r, 0).sort(e);
1206
- }), Ke = /* @__PURE__ */ K(function(e, r) {
1208
+ }), Fe = /* @__PURE__ */ B(function(e, r) {
1207
1209
  return Array.prototype.slice.call(r, 0).sort(function(a, o) {
1208
1210
  var i = e(a), n = e(o);
1209
1211
  return i < n ? -1 : i > n ? 1 : 0;
1210
1212
  });
1211
1213
  });
1212
- const Ut = 20, Ao = {
1214
+ const Kt = 20, Lo = {
1213
1215
  __name: "DataProvider",
1214
1216
  props: {
1215
1217
  locale: {
@@ -1230,89 +1232,89 @@ const Ut = 20, Ao = {
1230
1232
  }
1231
1233
  },
1232
1234
  setup(t) {
1233
- const e = t, { timezone: r, locale: a } = kr(e), { onError: o } = Ee(), i = ir("history"), n = O(i.panel || Ie), s = O(null), l = O(0), c = je({
1235
+ const e = t, { timezone: r, locale: a } = $r(e), { onError: o } = Le(), i = lr("history"), n = O(i.panel || Ce), l = O(null), c = O(0), d = _e({
1234
1236
  firstGame: q,
1235
1237
  lastGame: q
1236
- }), p = je({
1237
- min: Q(q, "YYYY-MM-DD"),
1238
- max: Q(q, "YYYY-MM-DD")
1238
+ }), u = _e({
1239
+ min: J(q, "YYYY-MM-DD"),
1240
+ max: J(q, "YYYY-MM-DD")
1239
1241
  }), {
1240
- state: m,
1241
- isLoading: y,
1242
- execute: v
1242
+ state: b,
1243
+ isLoading: w,
1244
+ execute: h
1243
1245
  } = ee({
1244
1246
  options: {
1245
1247
  path: "/v2/games-calendar",
1246
1248
  apiKey: e.apiKey,
1247
- params: A(() => ({
1249
+ params: T(() => ({
1248
1250
  seasonId: e.seasonId,
1249
- firstDate: p.value.min,
1250
- lastDate: p.value.max
1251
+ firstDate: u.value.min,
1252
+ lastDate: u.value.max
1251
1253
  })),
1252
1254
  resetOnExecute: !0
1253
1255
  },
1254
- transform: (h) => Ta(h, c),
1256
+ transform: (f) => Ea(f, d),
1255
1257
  onError: o
1256
- }), k = A(
1257
- () => Be(m.value).schedule(r.value, a.value).more(0, l.value * Ut + Ut).groupByDays().value()
1258
- ), b = A(
1259
- () => Ea(
1260
- ...Na.get(n.value)(c.value.firstGame, c.value.lastGame),
1261
- n.value === be,
1258
+ }), k = T(
1259
+ () => qe(b.value).schedule(r.value, a.value).more(0, c.value * Kt + Kt).groupByDays().value()
1260
+ ), v = T(
1261
+ () => Pa(
1262
+ ...Aa.get(n.value)(d.value.firstGame, d.value.lastGame),
1263
+ n.value === ze,
1262
1264
  a.value
1263
1265
  )
1264
1266
  );
1265
- le(
1267
+ ne(
1266
1268
  n,
1267
- async (h) => {
1268
- const { min: $, max: E, id: S } = Le.get(h)(i.month);
1269
- p.value = { min: Q($, "YYYY-MM-DD"), max: Q(E, "YYYY-MM-DD") }, s.value = S, await v(), i.month || w();
1269
+ async (f) => {
1270
+ const { min: C, max: L, id: $ } = je.get(f)(i.month);
1271
+ u.value = { min: J(C, "YYYY-MM-DD"), max: J(L, "YYYY-MM-DD") }, l.value = $, await h(), i.month || x();
1270
1272
  },
1271
1273
  {
1272
1274
  immediate: !0
1273
1275
  }
1274
1276
  );
1275
- function I(h) {
1276
- n.value = h, i.panel = h, l.value = 0, i.month = null;
1277
+ function I(f) {
1278
+ n.value = f, i.panel = f, c.value = 0, i.month = null;
1277
1279
  }
1278
- function x(h) {
1279
- const { min: $, max: E, id: S } = Le.get(n.value)(h.id);
1280
- s.value = S, i.month = S, p.value = {
1281
- min: Q($, "YYYY-MM-DD"),
1282
- max: Q(E, "YYYY-MM-DD")
1283
- }, l.value = 0, v();
1280
+ function y(f) {
1281
+ const { min: C, max: L, id: $ } = je.get(n.value)(f.id);
1282
+ l.value = $, i.month = $, u.value = {
1283
+ min: J(C, "YYYY-MM-DD"),
1284
+ max: J(L, "YYYY-MM-DD")
1285
+ }, c.value = 0, h();
1284
1286
  }
1285
1287
  function z() {
1286
- l.value += 1;
1288
+ c.value += 1;
1287
1289
  }
1288
- function w() {
1289
- var E, S;
1290
- if (![be, $e].includes(n.value))
1290
+ function x() {
1291
+ var L, $;
1292
+ if (![ze, Te].includes(n.value))
1291
1293
  return;
1292
- const { firstGame: h, lastGame: $ } = c.value;
1293
- if (Br(q, h)) {
1294
- const { min: j, max: L, id: J } = Le.get(n.value)((E = H(b.value)) == null ? void 0 : E.id);
1295
- return p.value = { min: Q(j, "YYYY-MM-DD"), max: Q(L, "YYYY-MM-DD") }, s.value = J, v();
1294
+ const { firstGame: f, lastGame: C } = d.value;
1295
+ if (Vr(q, f)) {
1296
+ const { min: j, max: P, id: Q } = je.get(n.value)((L = H(v.value)) == null ? void 0 : L.id);
1297
+ return u.value = { min: J(j, "YYYY-MM-DD"), max: J(P, "YYYY-MM-DD") }, l.value = Q, h();
1296
1298
  }
1297
- if (er(q, $)) {
1298
- const { min: j, max: L, id: J } = Le.get(n.value)((S = Io(b.value)) == null ? void 0 : S.id);
1299
- p.value = { min: Q(j, "YYYY-MM-DD"), max: Q(L, "YYYY-MM-DD") }, s.value = J, v();
1299
+ if (ar(q, C)) {
1300
+ const { min: j, max: P, id: Q } = je.get(n.value)(($ = To(v.value)) == null ? void 0 : $.id);
1301
+ u.value = { min: J(j, "YYYY-MM-DD"), max: J(P, "YYYY-MM-DD") }, l.value = Q, h();
1300
1302
  }
1301
1303
  }
1302
- return (h, $) => ge(h.$slots, "default", Te(Ne({
1303
- today: d(q),
1304
- months: b.value,
1305
- isLoading: d(y),
1306
- datesFilter: p.value,
1307
- selectedMonth: s.value,
1304
+ return (f, C) => pe(f.$slots, "default", Ne(Ee({
1305
+ today: s(q),
1306
+ months: v.value,
1307
+ isLoading: s(w),
1308
+ datesFilter: u.value,
1309
+ selectedMonth: l.value,
1308
1310
  selectedPanel: n.value,
1309
1311
  games: k.value,
1310
1312
  more: z,
1311
- setMonth: x,
1313
+ setMonth: y,
1312
1314
  changePanel: I
1313
1315
  })));
1314
1316
  }
1315
- }, Eo = {
1317
+ }, Po = {
1316
1318
  xmlns: "http://www.w3.org/2000/svg",
1317
1319
  viewBox: "0 0 24 24",
1318
1320
  fill: "none",
@@ -1321,8 +1323,8 @@ const Ut = 20, Ao = {
1321
1323
  "stroke-linecap": "round",
1322
1324
  "stroke-linejoin": "round"
1323
1325
  };
1324
- function Do(t, e) {
1325
- return u(), _("svg", Eo, e[0] || (e[0] = [
1326
+ function Mo(t, e) {
1327
+ return p(), _("svg", Po, e[0] || (e[0] = [
1326
1328
  g("rect", {
1327
1329
  x: "2",
1328
1330
  y: "3",
@@ -1345,7 +1347,7 @@ function Do(t, e) {
1345
1347
  }, null, -1)
1346
1348
  ]));
1347
1349
  }
1348
- const Po = { render: Do }, Lo = {
1350
+ const jo = { render: Mo }, Oo = {
1349
1351
  xmlns: "http://www.w3.org/2000/svg",
1350
1352
  viewBox: "0 0 24 24",
1351
1353
  fill: "none",
@@ -1354,28 +1356,28 @@ const Po = { render: Do }, Lo = {
1354
1356
  "stroke-linecap": "round",
1355
1357
  "stroke-linejoin": "round"
1356
1358
  };
1357
- function Mo(t, e) {
1358
- return u(), _("svg", Lo, e[0] || (e[0] = [
1359
+ function Go(t, e) {
1360
+ return p(), _("svg", Oo, e[0] || (e[0] = [
1359
1361
  g("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),
1360
1362
  g("polygon", { points: "9.75 15.02 15.5 11.75 9.75 8.48 9.75 15.02" }, null, -1)
1361
1363
  ]));
1362
1364
  }
1363
- const jo = { render: Mo }, Oo = { class: "is-info is-text-sm" }, Go = ["href"], Ro = ["href"], Yo = { class: "is-info is-text-sm" }, Uo = { class: "is-home-team is-text-base" }, Ko = { class: "is-team-name-short" }, Bo = { class: "is-team-name-long" }, Vo = {
1365
+ const Ro = { render: Go }, Yo = { class: "is-info is-text-sm" }, Uo = ["href"], Ko = ["href"], Bo = { class: "is-info is-text-sm" }, Vo = { class: "is-home-team is-text-base" }, Fo = { class: "is-team-name-short" }, qo = { class: "is-team-name-long" }, Ho = {
1364
1366
  key: 0,
1365
1367
  class: "is-text-xl is-text-bold"
1366
- }, Fo = ["href", "target"], qo = {
1368
+ }, Wo = ["href", "target"], Jo = {
1367
1369
  key: 0,
1368
1370
  class: "is-text-xl is-text-bold"
1369
- }, Ho = {
1371
+ }, Xo = {
1370
1372
  key: 1,
1371
1373
  class: "is-text-xl is-text-bold"
1372
- }, Wo = {
1374
+ }, Qo = {
1373
1375
  key: 2,
1374
1376
  class: "is-text-xl is-text-bold"
1375
- }, Jo = {
1377
+ }, Zo = {
1376
1378
  key: 1,
1377
1379
  class: "is-text-sm is-info is-whitespace-nowrap"
1378
- }, Xo = { class: "is-away-team is-text-base" }, Qo = { key: 0 }, Zo = { class: "is-team-name-short" }, ei = { class: "is-team-name-long" }, ti = {
1380
+ }, ei = { class: "is-away-team is-text-base" }, ti = { key: 0 }, ri = { class: "is-team-name-short" }, ai = { class: "is-team-name-long" }, oi = {
1379
1381
  __name: "Item",
1380
1382
  props: {
1381
1383
  game: {
@@ -1392,7 +1394,7 @@ const jo = { render: Mo }, Oo = { class: "is-info is-text-sm" }, Go = ["href"],
1392
1394
  },
1393
1395
  gameLink: {
1394
1396
  type: Function,
1395
- default: Z
1397
+ default: X
1396
1398
  },
1397
1399
  target: {
1398
1400
  type: String,
@@ -1400,78 +1402,78 @@ const jo = { render: Mo }, Oo = { class: "is-info is-text-sm" }, Go = ["href"],
1400
1402
  }
1401
1403
  },
1402
1404
  setup(t) {
1403
- const { t: e } = ne();
1404
- return (r, a) => (u(), _("div", {
1405
- class: B(["card-item", { "is-optional": t.game.optional }])
1405
+ const { t: e } = le();
1406
+ return (r, a) => (p(), _("div", {
1407
+ class: G(["card-item", { "is-optional": t.game.optional }])
1406
1408
  }, [
1407
- g("div", Oo, [
1409
+ g("div", Yo, [
1408
1410
  g("a", {
1409
1411
  href: t.gameLink(t.game)
1410
- }, f(t.game.gameName), 9, Go),
1411
- ae(" - " + f(t.game.championshipName) + " - " + f(t.game.divisionName) + " - " + f(t.game.location.locationName) + " ", 1),
1412
- t.game.broadcast ? (u(), _(R, { key: 0 }, [
1413
- a[0] || (a[0] = ae(" - ")),
1414
- T(d(Po), { height: "16" }),
1415
- a[1] || (a[1] = ae("  "))
1416
- ], 64)) : D("", !0),
1417
- t.game.video ? (u(), _(R, { key: 1 }, [
1418
- a[2] || (a[2] = ae(" - ")),
1412
+ }, m(t.game.gameName), 9, Uo),
1413
+ re(" - " + m(t.game.championshipName) + " - " + m(t.game.divisionName) + " - " + m(t.game.location.locationName) + " ", 1),
1414
+ t.game.broadcast ? (p(), _(R, { key: 0 }, [
1415
+ a[0] || (a[0] = re(" - ")),
1416
+ S(s(jo), { height: "16" }),
1417
+ a[1] || (a[1] = re("  "))
1418
+ ], 64)) : A("", !0),
1419
+ t.game.video ? (p(), _(R, { key: 1 }, [
1420
+ a[2] || (a[2] = re(" - ")),
1419
1421
  g("a", {
1420
1422
  href: t.game.video,
1421
1423
  target: "_blank"
1422
1424
  }, [
1423
- T(d(jo), { height: "18" })
1424
- ], 8, Ro)
1425
- ], 64)) : D("", !0)
1425
+ S(s(Ro), { height: "18" })
1426
+ ], 8, Ko)
1427
+ ], 64)) : A("", !0)
1426
1428
  ]),
1427
- g("div", Yo, f(d(Q)(t.game.gameDate, "L LT", null, t.locale)) + " (" + f(d(Ve)(t.game.gameDate, t.timezone, t.locale)) + ") ", 1),
1428
- g("div", Uo, [
1429
- g("span", Ko, f(t.game.homeTeam.shortName), 1),
1430
- g("span", Bo, f(t.game.homeTeam.longName), 1),
1431
- (u(), P(d(me), {
1429
+ g("div", Bo, m(s(J)(t.game.gameDate, "L LT", null, t.locale)) + " (" + m(s(He)(t.game.gameDate, t.timezone, t.locale)) + ") ", 1),
1430
+ g("div", Vo, [
1431
+ g("span", Fo, m(t.game.homeTeam.shortName), 1),
1432
+ g("span", qo, m(t.game.homeTeam.longName), 1),
1433
+ (p(), D(s(ue), {
1432
1434
  key: t.game.homeTeam.id,
1433
1435
  class: "is-logo-image",
1434
1436
  src: t.game.homeTeam.logo
1435
1437
  }, null, 8, ["src"]))
1436
1438
  ]),
1437
1439
  g("div", {
1438
- class: B(["is-game-data", [{ "is-live": t.game.gameStatus === 1 }]])
1440
+ class: G(["is-game-data", [{ "is-live": t.game.gameStatus === 1 }]])
1439
1441
  }, [
1440
- t.game.gameStatus === 0 ? (u(), _("span", Vo, " - : - ")) : D("", !0),
1442
+ t.game.gameStatus === 0 ? (p(), _("span", Ho, " - : - ")) : A("", !0),
1441
1443
  g("a", {
1442
1444
  href: t.gameLink(t.game),
1443
1445
  target: t.target
1444
1446
  }, [
1445
- t.game.gameStatus > 0 && t.game.gameStatus < 3 ? (u(), _("span", qo, f(t.game.homeTeamScore) + " : " + f(t.game.awayTeamScore), 1)) : D("", !0),
1446
- t.game.gameStatus === 3 ? (u(), _("span", Ho, f(d(e)("game.status.jury")), 1)) : D("", !0),
1447
- t.game.gameStatus === 4 ? (u(), _("span", Wo, f(d(e)("game.status.delayed")), 1)) : D("", !0)
1448
- ], 8, Fo),
1449
- t.game.gameStatus > 0 ? (u(), _("div", Jo, f(t.game.periodResults), 1)) : D("", !0)
1447
+ t.game.gameStatus > 0 && t.game.gameStatus < 3 ? (p(), _("span", Jo, m(t.game.homeTeamScore) + " : " + m(t.game.awayTeamScore), 1)) : A("", !0),
1448
+ t.game.gameStatus === 3 ? (p(), _("span", Xo, m(s(e)("game.status.jury")), 1)) : A("", !0),
1449
+ t.game.gameStatus === 4 ? (p(), _("span", Qo, m(s(e)("game.status.delayed")), 1)) : A("", !0)
1450
+ ], 8, Wo),
1451
+ t.game.gameStatus > 0 ? (p(), _("div", Zo, m(t.game.periodResults), 1)) : A("", !0)
1450
1452
  ], 2),
1451
- g("div", Xo, [
1452
- Array.isArray(t.game.awayTeam) ? (u(), _("span", Qo, "Torna")) : D("", !0),
1453
- (u(), P(d(me), {
1453
+ g("div", ei, [
1454
+ Array.isArray(t.game.awayTeam) ? (p(), _("span", ti, "Torna")) : A("", !0),
1455
+ (p(), D(s(ue), {
1454
1456
  key: t.game.awayTeam.id,
1455
1457
  class: "is-logo-image",
1456
1458
  src: t.game.awayTeam.logo
1457
1459
  }, null, 8, ["src"])),
1458
- g("span", Zo, f(t.game.awayTeam.shortName), 1),
1459
- g("span", ei, f(t.game.awayTeam.longName), 1)
1460
+ g("span", ri, m(t.game.awayTeam.shortName), 1),
1461
+ g("span", ai, m(t.game.awayTeam.longName), 1)
1460
1462
  ])
1461
1463
  ], 2));
1462
1464
  }
1463
- }, _e = "h1,h2,h3,ul,li,p,dl,dt,dd{margin:0;padding:0}button{font-family:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0;border-width:0;-webkit-appearance:button;background-color:transparent;background-image:none;cursor:pointer}ol,ul{list-style:none}:root,:host{font-family:Roboto Condensed,Avenir,Helvetica,Arial,sans-serif;--vbr-widget-primary-color-0: #ffffff;--vbr-widget-primary-color-50: #eceff1;--vbr-widget-primary-color-100: #cfd8dc;--vbr-widget-primary-color-200: #b0bec5;--vbr-widget-primary-color-300: #90a4ae;--vbr-widget-primary-color-400: #78909c;--vbr-widget-primary-color-500: #607d8b;--vbr-widget-primary-color-600: #546e7a;--vbr-widget-primary-color-700: #455a64;--vbr-widget-primary-color-800: #37474f;--vbr-widget-primary-color-900: #263238;--vbr-widget-secondary-color-100: #dcedc8;--vbr-widget-secondary-color-200: #badb94;--vbr-widget-secondary-color-300: #aed581;--vbr-widget-secondary-color-400: #9ccc65;--vbr-widget-secondary-color-500: #8bc34a;--vbr-widget-secondary-color-700: #689f38;--vbr-widget-secondary-color-800: #558b2f;--vbr-widget-secondary-color-900: #33691e;--vbr-widget-danger-color-50: #ffebee;--vbr-widget-danger-color-100: #ffcdd2;--vbr-widget-danger-color-200: #ef9a9a;--vbr-widget-danger-color-300: #e57373;--vbr-widget-danger-color-400: #ef5350;--vbr-widget-danger-color-500: #f44336;--vbr-widget-danger-color-700: #d32f2f;--vbr-widget-danger-color-900: #b71c1c;--vbr-widget-danger-color-a400: #ff1744;--vbr-widget-live-game-color: #8bc34a;--vbr-widget-neutral-color: #ffc107;--vbr-widget-typography-font-size-50: .6275rem;--vbr-widget-typography-font-size-100: .6875rem;--vbr-widget-typography-font-size-200: .75rem;--vbr-widget-typography-font-size-300: .8125rem;--vbr-widget-typography-font-size-400: .875rem;--vbr-widget-typography-font-size-500: 1rem;--vbr-widget-typography-font-size-600: 1.125rem;--vbr-widget-typography-font-size-700: 1.25rem;--vbr-widget-typography-font-size-800: 1.5rem;--vbr-widget-typography-font-size-900: 1.75rem;--vbr-widget-typography-font-size-950: 2rem;--vbr-widget-typography-font-lineheight-50: calc(var(--vbr-widget-typography-font-size-50) * 1.628);--vbr-widget-typography-font-lineheight-100: calc(var(--vbr-widget-typography-font-size-100) * 1.628);--vbr-widget-typography-font-lineheight-200: calc(var(--vbr-widget-typography-font-size-200) * 1.628);--vbr-widget-typography-font-lineheight-300: calc(var(--vbr-widget-typography-font-size-300) * 1.628);--vbr-widget-typography-font-lineheight-400: calc(var(--vbr-widget-typography-font-size-400) * 1.628);--vbr-widget-typography-font-lineheight-500: calc(var(--vbr-widget-typography-font-size-500) * 1.628);--vbr-widget-typography-font-lineheight-600: calc(var(--vbr-widget-typography-font-size-600) * 1.628);--vbr-widget-typography-font-lineheight-700: calc(var(--vbr-widget-typography-font-size-700) * 1.628);--vbr-widget-typography-font-lineheight-800: calc(var(--vbr-widget-typography-font-size-800) * 1.628);--vbr-widget-typography-font-lineheight-900: calc(var(--vbr-widget-typography-font-size-900) * 1.628);--vbr-widget-typography-font-lineheight-950: calc(var(--vbr-widget-typography-font-size-950) * 1.628);--vbr-widget-typography-heading-weight: 500;--vbr-widget-typography-heading-1-size: var(--vbr-widget-typography-font-size-800);--vbr-widget-typography-heading-2-size: var(--vbr-widget-typography-font-size-700);--vbr-widget-typography-heading-3-size: var(--vbr-widget-typography-font-size-600);--vbr-widget-typography-heading-4-size: var(--vbr-widget-typography-font-size-500);--vbr-widget-typography-heading-5-size: var(--vbr-widget-typography-font-size-400);--vbr-widget-typography-heading-6-size: var(--vbr-widget-typography-font-size-200);--vbr-widget-table-header-font-size: var(--vbr-widget-typography-font-size-200);--vbr-widget-table-default-column-width: 30px;--vbr-widget-table-default-bg-color: var(--vbr-widget-primary-color-0);--vbr-widget-table-color: var(--vbr-widget-primary-color-800);--vbr-widget-table-neutral-color: var(--vbr-widget-primary-color-300);--vbr-widget-table-header-bg-color: var(--vbr-widget-primary-color-800);--vbr-widget-table-header-hover-bg-color: var(--vbr-widget-primary-color-700);--vbr-widget-table-header-color: var(--vbr-widget-primary-color-200);--vbr-widget-table-table-header-active-bg-color: var(--vbr-widget-primary-color-700);--vbr-widget-table-header-active-color: var(--vbr-widget-primary-color-0);--vbr-widget-table-hover-color: var(--vbr-widget-secondary-color-900);--vbr-widget-table-hover-bg-color: var(--vbr-widget-secondary-color-100);--vbr-widget-table-active-color: var(--vbr-widget-secondary-color-900);--vbr-widget-table-active-bg-color: var(--vbr-widget-secondary-color-200);--vbr-widget-table-active-even-bg-color: var(--vbr-widget-secondary-color-300);--vbr-widget-table-active-hover-color: var(--vbr-widget-secondary-color-900);--vbr-widget-table-active-hover-bg-color: var(--vbr-widget-secondary-color-400);--vbr-widget-table-portrait-border-color: var(--vbr-widget-primary-color-100);--vbr-widget-table-portrait-bg-color: var(--vbr-widget-primary-color-50);--vbr-widget-table-cell-light-color: var(--vbr-widget-primary-color-400);--vbr-widget-table-cell-dark-color: var(--vbr-widget-primary-color-900);--vbr-widget-table-stripped-bg-color: #f8f9fa;--vbr-widget-table-label-color: var(--vbr-widget-primary-color-500);--vbr-widget-table-label-bg-color: var(--vbr-widget-primary-color-50);--vbr-widget-table-cell-logo-size: 20px;--vbr-widget-table-cell-portrait-size: 26px;--vbr-widget-table-zero-color: var(--vbr-widget-primary-color-200);--vbr-widget-paginator-color: var(--vbr-widget-primary-color-500);--vbr-widget-paginator-bg-color: var(--vbr-widget-primary-color-0);--vbr-widget-paginator-hover-color: var(--vbr-widget-primary-color-700);--vbr-widget-paginator-hover-bg-color: var(--vbr-widget-primary-color-100);--vbr-widget-paginator-border-color: var(--vbr-widget-primary-color-100);--vbr-widget-paginator-active-color: var(--vbr-widget-primary-color-0);--vbr-widget-paginator-active-bg-color: var(--vbr-widget-primary-color-900);--vbr-widget-paginator-disabled-color: var(--vbr-widget-primary-color-200);--vbr-widget-tooltip-font-size: var(--vbr-widget-typography-font-size-200);--vbr-widget-tooltip-color: #ffffff;--vbr-widget-tooltip-bg-color: #000000;--vbr-widget-popover-trigger-hover-bg-color: var(--vbr-widget-secondary-color-200);--vbr-widget-popover-trigger-focus-bg-color: var(--vbr-widget-secondary-color-300);--vbr-widget-popover-bg-color: var(--vbr-widget-primary-color-0);--vbr-widget-dropdown-item-color: var(--vbr-widget-primary-color-500);--vbr-widget-dropdown-item-hover-color: var(--vbr-widget-primary-color-800);--vbr-widget-dropdown-item-hover-bg-color: var(--vbr-widget-primary-color-50);--vbr-widget-dropdown-item-selected-color: var(--vbr-widget-secondary-color-700);--vbr-widget-dropdown-item-selected-hover-bg-color: var(--vbr-widget-secondary-color-100);--vbr-widget-error-notice-bg-color: var(--vbr-widget-danger-color-50);--vbr-widget-error-notice-border-color: var(--vbr-widget-danger-color-100);--vbr-widget-error-notice-color: var(--vbr-widget-danger-color-700);--vbr-widget-link-color: var(--vbr-widget-secondary-color-700);--vbr-widget-hover-color: var(--vbr-widget-secondary-color-900);--vbr-widget-base-input-color: var(--vbr-widget-primary-color-800);--vbr-widget-base-input-font-size: var(--vbr-widget-typography-font-size-400);--vbr-widget-base-input-border-color: var(--vbr-widget-primary-color-300);--vbr-widget-base-input-border-radius: 3px;--vbr-widget-form-label-color: var(--vbr-widget-primary-color-500);--vbr-widget-form-label-font-size: var(--vbr-widget-typography-font-size-200);--vbr-widget-timezone-selector-color: var(--vbr-widget-primary-color-500);--vbr-widget-timezone-selector-font-size: var(--vbr-widget-typography-font-size-400);--vbr-widget-badge-bg-color: var(--vbr-widget-primary-color-50);--vbr-widget-badge-color: var(--vbr-widget-primary-color-400);--vbr-widget-badge-font-size: var(--vbr-widget-typography-font-size-50);--vbr-widget-badge-large-font-size: var(--vbr-widget-typography-font-size-100);--vbr-widget-badge-extra-large-font-size: var(--vbr-widget-typography-font-size-300);--vbr-widget-tab-btn-padding: .625rem 1rem;--vbr-widget-tab-btn-font-size: var(--vbr-widget-typography-font-size-500);--vbr-widget-tab-btn-font-weight: 500;--vbr-widget-tab-btn-bg-color: var(--vbr-widget-primary-color-0);--vbr-widget-tab-btn-color: var(--vbr-widget-primary-color-300);--vbr-widget-tab-btn-border-color: transparent;--vbr-widget-tab-btn-border-style: solid;--vbr-widget-tab-btn-border-width: 0 0 3px 0;--vbr-widget-tab-btn-text-transform: uppercase;--vbr-widget-tab-btn-hover-color: var(--vbr-widget-primary-color-500);--vbr-widget-tab-btn-hover-bg-color: var(--vbr-widget-primary-color-0);--vbr-widget-tab-btn-hover-border-color: transparent;--vbr-widget-tab-btn-active-bg-color: var(--vbr-widget-primary-color-0);--vbr-widget-tab-btn-active-color: var(--vbr-widget-primary-color-900);--vbr-widget-tab-btn-active-border-color: var(--vbr-widget-secondary-color-500);--vbr-widget-toggle-group-gap: .625rem;--vbr-widget-toggle-group-btn-padding: 3px 10px;--vbr-widget-toggle-group-btn-size: var(--vbr-widget-typography-font-size-400);--vbr-widget-toggle-group-btn-bg-color: var(--vbr-widget-primary-color-50);--vbr-widget-toggle-group-btn-active-color: var(--vbr-widget-primary-color-0);--vbr-widget-toggle-group-btn-active-bg-color: var(--vbr-widget-live-game-color);--vbr-widget-toggle-group-btn-radius: 4px;--vbr-widget-progress-height: 10px;--vbr-widget-progress-border-radius: 5px;--vbr-widget-progress-bg-color: var(--vbr-widget-primary-color-50);--vbr-widget-progress-bar-color: var(--vbr-widget-live-game-color);--vbr-widget-progress-bar-stripe-color: rgba(255, 255, 255, .2);--vbr-widget-progress-bar-stripe-angle: 45deg;--vbr-widget-gamecenter-result-size: 6rem;--vbr-widget-gamecenter-result-weight: 700;--vbr-widget-gamecenter-result-color: var(--vbr-widget-primary-color-800);--vbr-widget-gamecenter-teamname-size: var(--vbr-widget-typography-font-size-700);--vbr-widget-gamecenter-teamname-color: var(--vbr-widget-primary-color-800);--vbr-widget-gamecenter-teamname-weight: 700;--vbr-widget-gamecenter-title-color: var(--vbr-widget-primary-color-800);--vbr-widget-gamecenter-title-size: var(--vbr-widget-typography-font-size-500);--vbr-widget-gamecenter-title-weight: 700;--vbr-widget-gamecenter-gamedate-color: var(--vbr-widget-primary-color-500);--vbr-widget-gamecenter-gamedate-size: var(--vbr-widget-typography-font-size-500);--vbr-widget-gamecenter-local-gamedate-color: var(--vbr-widget-primary-color-500);--vbr-widget-gamecenter-local-gamedate-size: var(--vbr-widget-typography-font-size-300);--vbr-widget-gamecenter-gamestatus-color: var(--vbr-widget-primary-color-600);--vbr-widget-gamecenter-gamestatus-size: var(--vbr-widget-typography-font-size-400);--vbr-widget-gamecenter-periodresults-color: var(--vbr-widget-primary-color-600);--vbr-widget-gamecenter-periodresults-size: var(--vbr-widget-typography-font-size-700);--vbr-widget-gamecenter-period-header-bg-color: var(--vbr-widget-primary-color-800);--vbr-widget-gamecenter-period-header-color: var(--vbr-widget-primary-color-0);--vbr-widget-gamecenter-period-header-size: var(--vbr-widget-typography-font-size-300);--vbr-widget-gamecenter-period-header-weight: 500;--vbr-widget-gamecenter-stats-bg-color: var(--vbr-widget-primary-color-50);--vbr-widget-gamecenter-stats-border-color: var(--vbr-widget-primary-color-100);--vbr-widget-gamecenter-stats-title-size: var(--vbr-widget-typography-font-size-300);--vbr-widget-gamecenter-stats-title-color: var(--vbr-widget-primary-color-400);--vbr-widget-gamecenter-stats-size: var(--vbr-widget-typography-font-size-500);--vbr-widget-gamecenter-stats-color: var(--vbr-widget-primary-color-800);--vbr-widget-gamecenter-team-container-title-color: var(--vbr-widget-primary-color-800);--vbr-widget-gamecenter-team-container-title-bg-color: var(--vbr-widget-primary-color-100);--vbr-widget-gamecenter-team-container-border-color: var(--vbr-widget-primary-color-100);--vbr-widget-gamecenter-events-evented-person-size: var(--vbr-widget-typography-font-size-500);--vbr-widget-gamecenter-events-evented-person-weight: 600;--vbr-widget-gamecenter-events-assitst-list-size: var(--vbr-widget-typography-font-size-400);--vbr-widget-gamecenter-events-poi-list-size: var(--vbr-widget-typography-font-size-200);--vbr-widget-gamecenter-events-score-size: var(--vbr-widget-typography-font-size-500);--vbr-widget-gamecenter-events-penalty-size: var(--vbr-widget-typography-font-size-400);--vbr-widget-gamecenter-events-goalie-direction-size: var(--vbr-widget-typography-font-size-400);--vbr-widget-gamecenter-events-timeout-bg-color: #2870ed;--vbr-widget-gamecenter-card-title-color: var(--vbr-widget-primary-color-900);--vbr-widget-gamecenter-card-secondary-color: var(--vbr-widget-primary-color-500);--vbr-widget-gamecenter-card-tertiary-color: var(--vbr-widget-primary-color-300);--vbr-widget-gamecenter-card-border-color: var(--vbr-widget-primary-color-100);--vbr-widget-gamecenter-card-bg-color: var(--vbr-widget-primary-color-0);--vbr-widget-gamecenter-card-event-goal-border-color: var(--vbr-widget-primary-color-700);--vbr-widget-gamecenter-card-event-goal-bg-color: var(--vbr-widget-primary-color-700);--vbr-widget-gamecenter-home-team-identifier-color: #2870ed;--vbr-widget-gamecenter-away-team-identifier-color: #ff6129;--vbr-widget-gamecenter-home-team-identifier-border-color: transparent;--vbr-widget-gamecenter-away-team-identifier-border-color: transparent;--vbr-widget-main-image-wrapper-horizontal-margin: 0;--vbr-widget-sticky-top-offset: 0;--vbr-widget-games-timeline-game-date-size: var(--vbr-widget-typography-font-size-100);--vbr-widget-games-timeline-game-date-color: var(--vbr-widget-primary-color-500);--vbr-widget-games-timeline-game-team-color: var(--vbr-widget-primary-color-700);--vbr-widget-games-timeline-game-team-size: var(--vbr-widget-typography-font-size-300);--vbr-widget-games-timeline-game-status-color: var(--vbr-widget-primary-color-300);--vbr-widget-games-timeline-game-status-size: var(--vbr-widget-typography-font-size-200);--vbr-widget-games-timeline-game-hover-bg-color: linear-gradient(#fff, #f5f6f7 50%, #fff);--vbr-widget-games-timeline-arrow-color: var(--vbr-widget-primary-color-300);--vbr-widget-games-timeline-arrow-hover-color: var(--vbr-widget-primary-color-500);--vbr-widget-games-timeline-arrow-disabled-color: var(--vbr-widget-primary-color-100);--vbr-widget-games-timeline-arrow-border-color: var(--vbr-widget-primary-color-100);--vbr-widget-games-timeline-external-link-color: var(--vbr-widget-primary-color-500);--vbr-widget-games-timeline-external-link-size: var(--vbr-widget-typography-font-size-200);--vbr-widget-standings-selector-title-size: var(--vbr-widget-typography-font-size-500);--vbr-widget-standings-selector-title-color: var(--vbr-widget-primary-color-700);--vbr-widget-standings-selector-title-transform: none;--vbr-widget-standings-selector-title-padding: 0 .625em .5625em;--vbr-widget-standings-selector-title-bg-color: transparent;--vbr-widget-standings-selector-section-title-bg: var(--vbr-widget-primary-color-50);--vbr-widget-standings-selector-section-title-size: var(--vbr-widget-typography-font-size-400);--vbr-widget-standings-selector-section-title-color: var(--vbr-widget-primary-color-700);--vbr-widget-standings-selector-section-title-padding: .25em 0;--vbr-widget-standings-selector-section-logo-size: 30px;--vbr-widget-standings-selector-section-team-color: var(--vbr-widget-primary-color-900)}html,body{-webkit-font-smoothing:antialiased}.transition-fade-enter-active,.transition-fade-leave-active{transition:all .7s 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)}.transition-fade-enter-from,.transition-fade-leave-to{opacity:0;transform:translateY(5px)}.transition-event-move,.transition-event-enter-active,.transition-event-leave-active{transition:all .25s ease}.transition-event-enter-from,.transition-event-leave-to{opacity:0}img{opacity:0;transition:opacity .5s ease-out}img.is-loaded{opacity:1}a{color:var(--vbr-widget-link-color);text-decoration:none}a:hover{color:var(--vbr-widget-hover-color)}.loading-indicator{padding:1em;font-weight:600;color:var(--vbr-widget-primary-color-400);text-align:center}.floating-content.is-tooltip{background-color:var(--vbr-widget-tooltip-bg-color);color:var(--vbr-widget-tooltip-color);font-weight:700;padding:5px 10px;border-radius:4px;font-size:var(--vbr-widget-tooltip-font-size);white-space:nowrap;pointer-events:none}.floating-content.is-tooltip .is-arrow{background-color:var(--vbr-widget-tooltip-bg-color)}.floating-content.is-content{border-radius:4px;box-shadow:2px 14px 23px #00000040}.floating-content.is-content .is-arrow{background-color:var(--vbr-widget-primary-color-50)}.floating-content .is-arrow{position:absolute;width:8px;height:8px;transform:rotate(45deg)}[data-placement^=top] .floating-content .is-arrow{bottom:-4px}[data-placement^=bottom] .floating-content .is-arrow{top:-4px}[data-placement^=left] .floating-content .is-arrow{right:-4px}[data-placement^=right] .floating-content .is-arrow{left:-4px}.error-notice{display:flex;align-items:center;justify-items:flex-start;margin:10px 0;padding:10px 20px;background-color:var(--vbr-widget-error-notice-bg-color);color:var(--vbr-widget-error-notice-color);border:1px solid var(--vbr-widget-error-notice-border-color)}.error-notice .icon{margin-right:15px}.timezone-selector{padding:3px 0;color:var(--vbr-widget-timezone-selector-color);font-size:var(--vbr-widget-timezone-selector-font-size);font-weight:500}.timezone-selector .is-active{font-weight:700}.is-badge{display:inline-block;padding:.125em .25em;color:var(--vbr-widget-badge-color);font-size:var(--vbr-widget-badge-font-size);font-weight:700;text-transform:uppercase;background-color:var(--vbr-widget-badge-bg-color);border-radius:3px}.is-badge+.is-badge{margin-inline-start:3px}.is-badge.is-invert{color:var(--vbr-widget-badge-bg-color);background-color:var(--vbr-widget-badge-color)}.is-badge.is-green{color:var(--vbr-widget-primary-color-0);background-color:var(--vbr-widget-live-game-color)}.is-badge.is-red{color:var(--vbr-widget-primary-color-0);background-color:var(--vbr-widget-danger-color-a400)}.is-badge.is-yellow{color:var(--vbr-widget-primary-color-0);background-color:var(--vbr-widget-neutral-color)}.is-badge.is-dark{color:var(--vbr-widget-primary-color-0);background-color:var(--vbr-widget-primary-color-700)}.is-badge.is-large{font-size:var(--vbr-widget-badge-large-font-size);padding:.15em .35em}.is-badge.is-extra-large{font-size:var(--vbr-widget-badge-extra-large-font-size);padding:.2695em .5165em}", Xe = ".is-text-right{text-align:right}.is-text-center{text-align:center}.is-text-bold{font-weight:700}.is-text-italic{font-style:italic}.is-text-xs{font-size:var(--vbr-widget-typography-font-size-200);line-height:var(--vbr-widget-typography-font-lineheight-200)}.is-text-sm{font-size:var(--vbr-widget-typography-font-size-400);line-height:var(--vbr-widget-typography-font-lineheight-200)}.is-text-base{font-size:var(--vbr-widget-typography-font-size-500);line-height:var(--vbr-widget-typography-font-lineheight-500)}.is-text-lg{font-size:var(--vbr-widget-typography-font-size-600);line-height:var(--vbr-widget-typography-font-lineheight-600)}.is-text-xl{font-size:var(--vbr-widget-typography-font-size-700);line-height:var(--vbr-widget-typography-font-lineheight-700)}.is-text-4xl{font-size:var(--vbr-widget-typography-font-size-950);line-height:var(--vbr-widget-typography-font-lineheight-950)}.is-uppercase{text-transform:uppercase}.is-opacity-20{opacity:.2}.is-opacity-30{opacity:.3}.is-opacity-40{opacity:.4}.is-opacity-50{opacity:.5}.is-mt-5{margin-top:1rem}.is-mb-5{margin-bottom:1rem}.is-whitespace-nowrap{white-space:nowrap}.is-heading-1{font-size:var(--vbr-widget-typography-heading-1-size);line-height:var(--vbr-widget-typography-font-lineheight-700);margin-block-start:var(--vbr-widget-typography-font-size-700);margin-block-end:calc(var(--vbr-widget-typography-font-size-700) / 2);font-weight:var(--vbr-widget-typography-heading-weight)}.is-heading-2{font-size:var(--vbr-widget-typography-heading-2-size);line-height:var(--vbr-widget-typography-font-lineheight-600);font-weight:var(--vbr-widget-typography-heading-weight);margin-block-start:var(--vbr-widget-typography-font-size-600);margin-block-end:calc(var(--vbr-widget-typography-font-size-600) / 2)}.is-heading-3{font-size:var(--vbr-widget-typography-heading-3-size);line-height:var(--vbr-widget-typography-font-lineheight-500);font-weight:var(--vbr-widget-typography-heading-weight);margin-block-start:var(--vbr-widget-typography-font-size-500);margin-block-end:calc(var(--vbr-widget-typography-font-size-500) / 2)}.is-rounded{overflow:hidden;border-radius:100%}.is-rounded+.is-rounded{margin-left:3px}.is-rounded img{display:block}.is-w-5{width:16px}.is-w-7{width:24px}.is-w-10{width:32px}", Qe = `.base-input{padding:.375rem .75rem;font-family:inherit;color:var(--vbr-widget-base-input-color);border:1px solid var(--vbr-widget-base-input-border-color);border-radius:var(--vbr-widget-base-input-border-radius);width:100%;-moz-padding-start:calc(.75rem - 3px);font-size:var(--vbr-widget-base-input-font-size);font-weight:400;line-height:1.5;background-color:#fff;transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out;-webkit-appearance:none;-moz-appearance:none;appearance:none}.base-input:disabled{opacity:.3}.base-input.is-select{padding-right:2.25rem;background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");background-repeat:no-repeat;background-position:right .75rem center;background-size:16px 12px}label{display:block;margin-bottom:3px;color:var(--vbr-widget-form-label-color);font-size:var(--vbr-widget-form-label-font-size);font-weight:700;text-transform:uppercase}.tab-button{padding:var(--vbr-widget-tab-btn-padding);font-family:inherit;font-size:var(--vbr-widget-tab-btn-font-size);font-weight:var(--vbr-widget-tab-btn-font-weight);color:var(--vbr-widget-tab-btn-color);text-transform:var(--vbr-widget-tab-btn-text-transform);background-color:var(--vbr-widget-tab-btn-bg-color);border-color:var(--vbr-widget-tab-btn-border-color);border-width:var(--vbr-widget-tab-btn-border-width);border-style:var(--vbr-widget-tab-btn-border-style);outline:none;box-shadow:none;cursor:pointer}.tab-button:hover{color:var(--vbr-widget-tab-btn-hover-color);border-color:var(--vbr-widget-tab-btn-hover-border-color);background-color:var(--vbr-widget-tab-btn-hover-bg-color)}.tab-button.is-active{color:var(--vbr-widget-tab-btn-active-color);border-color:var(--vbr-widget-tab-btn-active-border-color);background-color:var(--vbr-widget-tab-btn-active-bg-color)}.toggle-group{display:flex;flex-wrap:wrap;gap:var(--vbr-widget-toggle-group-gap);margin-bottom:15px}.toggle-group button{padding:var(--vbr-widget-toggle-group-btn-padding);font-family:inherit;font-size:var(--vbr-widget-toggle-group-btn-size);background-color:var(--vbr-widget-toggle-group-btn-bg-color);border-radius:var(--vbr-widget-toggle-group-btn-radius)}.toggle-group button.is-active{color:var(--vbr-widget-toggle-group-btn-active-color);background-color:var(--vbr-widget-toggle-group-btn-active-bg-color)}`, ri = ".is-card{container-name:card-row;container-type:inline-size;background-color:#fff;padding:15px;margin-bottom:20px;box-shadow:0 2px 4px #0000001a,0 2px 2px #0000001a}.is-card>div{border-bottom:1px solid var(--vbr-widget-primary-color-100)}.is-card>div:last-of-type{border:none}.is-sticky{position:sticky;top:var(--vbr-widget-sticky-top-offset);z-index:10}.is-blured-bg{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.card-item{display:grid;grid-gap:1rem;grid-template-columns:2fr 1fr 2fr;padding:2rem 0;border-bottom:1px solid var(--vbr-widget-primary-color-100)}.card-item.is-optional{opacity:.4;transition:opacity .3s ease-out}.card-item.is-optional:hover{opacity:1}.card-item svg{display:block}.card-item .is-team-name-short{display:none}@container card-row (max-width: 640px){.card-item .is-team-name-long{display:none}.card-item .is-team-name-short{display:block}}.card-item .is-info{grid-column:1/4;display:flex;justify-content:center;align-items:center;color:var(--vbr-widget-primary-color-500)}.card-item .is-home-team{display:flex;gap:8px;align-items:center;justify-content:flex-end;font-weight:700}.card-item .is-away-team{display:flex;gap:8px;align-items:center;justify-content:flex-start;font-weight:700}.card-item .is-logo-image{width:40px}.card-item .is-game-data{display:flex;flex-direction:column;align-items:center;justify-content:center}.card-item .is-game-data a{display:flex;flex-direction:column;align-items:center;color:var(--vbr-widget-primary-color-900)}.card-item .is-game-data a:hover{color:var(--vbr-widget-primary-color-600)}.card-item .is-game-data.is-live,.card-item .is-game-data.is-live a{color:var(--vbr-widget-live-game-color)}.section-selector{margin:20px 0;border-bottom:1px solid var(--vbr-widget-primary-color-200)}.main-image-wrapper{--overlay-size: 160px;--overlay-radius: 50%;display:grid;grid-template-columns:1fr var(--overlay-size) 1fr;grid-template-rows:1fr 1fr 1fr calc(var(--overlay-size) / 2) calc(var(--overlay-size) / 2);margin-left:var(--vbr-widget-main-image-wrapper-horizontal-margin);margin-right:var(--vbr-widget-main-image-wrapper-horizontal-margin)}.main-image-wrapper:has(img.is-default){min-height:470px}.main-image-wrapper .is-main-image{grid-column:1/4;grid-row:1/5;display:flex;justify-content:center;align-items:center;background-color:var(--vbr-widget-primary-color-50);box-shadow:0 2px 4px #0003}.main-image-wrapper .is-main-image .is-default{filter:grayscale(1);opacity:.3;mix-blend-mode:multiply}.main-image-wrapper .is-main-image img:not(.is-default){width:100%}.main-image-wrapper .is-ovarlay-image{grid-row:4/-1;grid-column:2;justify-self:center;overflow:hidden;border-radius:var(--overlay-radius);z-index:1}.main-image-wrapper .is-ovarlay-image img{width:100%;aspect-ratio:1}", ke = (t, e) => {
1465
+ }, fe = "h1,h2,h3,ul,li,p,dl,dt,dd{margin:0;padding:0}button{font-family:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0;border-width:0;-webkit-appearance:button;background-color:transparent;background-image:none;cursor:pointer}ol,ul{list-style:none}:root,:host{font-family:Roboto Condensed,Avenir,Helvetica,Arial,sans-serif;--vbr-widget-primary-color-0: #ffffff;--vbr-widget-primary-color-50: #eceff1;--vbr-widget-primary-color-100: #cfd8dc;--vbr-widget-primary-color-200: #b0bec5;--vbr-widget-primary-color-300: #90a4ae;--vbr-widget-primary-color-400: #78909c;--vbr-widget-primary-color-500: #607d8b;--vbr-widget-primary-color-600: #546e7a;--vbr-widget-primary-color-700: #455a64;--vbr-widget-primary-color-800: #37474f;--vbr-widget-primary-color-900: #263238;--vbr-widget-secondary-color-100: #dcedc8;--vbr-widget-secondary-color-200: #badb94;--vbr-widget-secondary-color-300: #aed581;--vbr-widget-secondary-color-400: #9ccc65;--vbr-widget-secondary-color-500: #8bc34a;--vbr-widget-secondary-color-700: #689f38;--vbr-widget-secondary-color-800: #558b2f;--vbr-widget-secondary-color-900: #33691e;--vbr-widget-danger-color-50: #ffebee;--vbr-widget-danger-color-100: #ffcdd2;--vbr-widget-danger-color-200: #ef9a9a;--vbr-widget-danger-color-300: #e57373;--vbr-widget-danger-color-400: #ef5350;--vbr-widget-danger-color-500: #f44336;--vbr-widget-danger-color-700: #d32f2f;--vbr-widget-danger-color-900: #b71c1c;--vbr-widget-danger-color-a400: #ff1744;--vbr-widget-live-game-color: #8bc34a;--vbr-widget-neutral-color: #ffc107;--vbr-widget-typography-font-size-50: .625rem;--vbr-widget-typography-font-size-100: .6875rem;--vbr-widget-typography-font-size-200: .75rem;--vbr-widget-typography-font-size-300: .8125rem;--vbr-widget-typography-font-size-400: .875rem;--vbr-widget-typography-font-size-500: 1rem;--vbr-widget-typography-font-size-600: 1.125rem;--vbr-widget-typography-font-size-700: 1.25rem;--vbr-widget-typography-font-size-800: 1.5rem;--vbr-widget-typography-font-size-900: 1.75rem;--vbr-widget-typography-font-size-950: 2rem;--vbr-widget-typography-font-lineheight-50: calc(var(--vbr-widget-typography-font-size-50) * 1.628);--vbr-widget-typography-font-lineheight-100: calc(var(--vbr-widget-typography-font-size-100) * 1.628);--vbr-widget-typography-font-lineheight-200: calc(var(--vbr-widget-typography-font-size-200) * 1.628);--vbr-widget-typography-font-lineheight-300: calc(var(--vbr-widget-typography-font-size-300) * 1.628);--vbr-widget-typography-font-lineheight-400: calc(var(--vbr-widget-typography-font-size-400) * 1.628);--vbr-widget-typography-font-lineheight-500: calc(var(--vbr-widget-typography-font-size-500) * 1.628);--vbr-widget-typography-font-lineheight-600: calc(var(--vbr-widget-typography-font-size-600) * 1.628);--vbr-widget-typography-font-lineheight-700: calc(var(--vbr-widget-typography-font-size-700) * 1.628);--vbr-widget-typography-font-lineheight-800: calc(var(--vbr-widget-typography-font-size-800) * 1.628);--vbr-widget-typography-font-lineheight-900: calc(var(--vbr-widget-typography-font-size-900) * 1.628);--vbr-widget-typography-font-lineheight-950: calc(var(--vbr-widget-typography-font-size-950) * 1.628);--vbr-widget-typography-heading-weight: 500;--vbr-widget-typography-heading-1-size: var(--vbr-widget-typography-font-size-800);--vbr-widget-typography-heading-2-size: var(--vbr-widget-typography-font-size-700);--vbr-widget-typography-heading-3-size: var(--vbr-widget-typography-font-size-600);--vbr-widget-typography-heading-4-size: var(--vbr-widget-typography-font-size-500);--vbr-widget-typography-heading-5-size: var(--vbr-widget-typography-font-size-400);--vbr-widget-typography-heading-6-size: var(--vbr-widget-typography-font-size-200);--vbr-widget-table-header-font-size: var(--vbr-widget-typography-font-size-200);--vbr-widget-table-default-column-width: 30px;--vbr-widget-table-default-bg-color: var(--vbr-widget-primary-color-0);--vbr-widget-table-color: var(--vbr-widget-primary-color-800);--vbr-widget-table-neutral-color: var(--vbr-widget-primary-color-300);--vbr-widget-table-header-bg-color: var(--vbr-widget-primary-color-800);--vbr-widget-table-header-hover-bg-color: var(--vbr-widget-primary-color-700);--vbr-widget-table-header-color: var(--vbr-widget-primary-color-200);--vbr-widget-table-table-header-active-bg-color: var(--vbr-widget-primary-color-700);--vbr-widget-table-header-active-color: var(--vbr-widget-primary-color-0);--vbr-widget-table-hover-color: var(--vbr-widget-secondary-color-900);--vbr-widget-table-hover-bg-color: var(--vbr-widget-secondary-color-100);--vbr-widget-table-active-color: var(--vbr-widget-secondary-color-900);--vbr-widget-table-active-bg-color: var(--vbr-widget-secondary-color-200);--vbr-widget-table-active-even-bg-color: var(--vbr-widget-secondary-color-300);--vbr-widget-table-active-hover-color: var(--vbr-widget-secondary-color-900);--vbr-widget-table-active-hover-bg-color: var(--vbr-widget-secondary-color-400);--vbr-widget-table-portrait-border-color: var(--vbr-widget-primary-color-100);--vbr-widget-table-portrait-bg-color: var(--vbr-widget-primary-color-50);--vbr-widget-table-cell-light-color: var(--vbr-widget-primary-color-400);--vbr-widget-table-cell-dark-color: var(--vbr-widget-primary-color-900);--vbr-widget-table-stripped-bg-color: #f8f9fa;--vbr-widget-table-label-color: var(--vbr-widget-primary-color-500);--vbr-widget-table-label-bg-color: var(--vbr-widget-primary-color-50);--vbr-widget-table-cell-logo-size: 20px;--vbr-widget-table-cell-portrait-size: 26px;--vbr-widget-table-zero-color: var(--vbr-widget-primary-color-200);--vbr-widget-paginator-color: var(--vbr-widget-primary-color-500);--vbr-widget-paginator-bg-color: var(--vbr-widget-primary-color-0);--vbr-widget-paginator-hover-color: var(--vbr-widget-primary-color-700);--vbr-widget-paginator-hover-bg-color: var(--vbr-widget-primary-color-100);--vbr-widget-paginator-border-color: var(--vbr-widget-primary-color-100);--vbr-widget-paginator-active-color: var(--vbr-widget-primary-color-0);--vbr-widget-paginator-active-bg-color: var(--vbr-widget-primary-color-900);--vbr-widget-paginator-disabled-color: var(--vbr-widget-primary-color-200);--vbr-widget-tooltip-font-size: var(--vbr-widget-typography-font-size-200);--vbr-widget-tooltip-color: #ffffff;--vbr-widget-tooltip-bg-color: #000000;--vbr-widget-popover-trigger-hover-bg-color: var(--vbr-widget-secondary-color-200);--vbr-widget-popover-trigger-focus-bg-color: var(--vbr-widget-secondary-color-300);--vbr-widget-popover-bg-color: var(--vbr-widget-primary-color-0);--vbr-widget-dropdown-item-color: var(--vbr-widget-primary-color-500);--vbr-widget-dropdown-item-hover-color: var(--vbr-widget-primary-color-800);--vbr-widget-dropdown-item-hover-bg-color: var(--vbr-widget-primary-color-50);--vbr-widget-dropdown-item-selected-color: var(--vbr-widget-secondary-color-700);--vbr-widget-dropdown-item-selected-hover-bg-color: var(--vbr-widget-secondary-color-100);--vbr-widget-error-notice-bg-color: var(--vbr-widget-danger-color-50);--vbr-widget-error-notice-border-color: var(--vbr-widget-danger-color-100);--vbr-widget-error-notice-color: var(--vbr-widget-danger-color-700);--vbr-widget-link-color: var(--vbr-widget-secondary-color-700);--vbr-widget-hover-color: var(--vbr-widget-secondary-color-900);--vbr-widget-base-input-color: var(--vbr-widget-primary-color-800);--vbr-widget-base-input-font-size: var(--vbr-widget-typography-font-size-400);--vbr-widget-base-input-border-color: var(--vbr-widget-primary-color-300);--vbr-widget-base-input-border-radius: 3px;--vbr-widget-form-label-color: var(--vbr-widget-primary-color-500);--vbr-widget-form-label-font-size: var(--vbr-widget-typography-font-size-200);--vbr-widget-timezone-selector-color: var(--vbr-widget-primary-color-500);--vbr-widget-timezone-selector-font-size: var(--vbr-widget-typography-font-size-400);--vbr-widget-badge-bg-color: var(--vbr-widget-primary-color-50);--vbr-widget-badge-color: var(--vbr-widget-primary-color-400);--vbr-widget-badge-font-size: var(--vbr-widget-typography-font-size-50);--vbr-widget-badge-large-font-size: var(--vbr-widget-typography-font-size-100);--vbr-widget-badge-extra-large-font-size: var(--vbr-widget-typography-font-size-300);--vbr-widget-tab-btn-padding: .625rem 1rem;--vbr-widget-tab-btn-font-size: var(--vbr-widget-typography-font-size-500);--vbr-widget-tab-btn-font-weight: 500;--vbr-widget-tab-btn-bg-color: var(--vbr-widget-primary-color-0);--vbr-widget-tab-btn-color: var(--vbr-widget-primary-color-300);--vbr-widget-tab-btn-border-color: transparent;--vbr-widget-tab-btn-border-style: solid;--vbr-widget-tab-btn-border-width: 0 0 3px 0;--vbr-widget-tab-btn-text-transform: uppercase;--vbr-widget-tab-btn-hover-color: var(--vbr-widget-primary-color-500);--vbr-widget-tab-btn-hover-bg-color: var(--vbr-widget-primary-color-0);--vbr-widget-tab-btn-hover-border-color: transparent;--vbr-widget-tab-btn-active-bg-color: var(--vbr-widget-primary-color-0);--vbr-widget-tab-btn-active-color: var(--vbr-widget-primary-color-900);--vbr-widget-tab-btn-active-border-color: var(--vbr-widget-secondary-color-500);--vbr-widget-toggle-group-gap: .625rem;--vbr-widget-toggle-group-btn-padding: 3px 10px;--vbr-widget-toggle-group-btn-size: var(--vbr-widget-typography-font-size-400);--vbr-widget-toggle-group-btn-bg-color: var(--vbr-widget-primary-color-50);--vbr-widget-toggle-group-btn-active-color: var(--vbr-widget-primary-color-0);--vbr-widget-toggle-group-btn-active-bg-color: var(--vbr-widget-live-game-color);--vbr-widget-toggle-group-btn-radius: 4px;--vbr-widget-progress-height: 10px;--vbr-widget-progress-border-radius: 5px;--vbr-widget-progress-bg-color: var(--vbr-widget-primary-color-50);--vbr-widget-progress-bar-color: var(--vbr-widget-live-game-color);--vbr-widget-progress-bar-stripe-color: rgba(255, 255, 255, .2);--vbr-widget-progress-bar-stripe-angle: 45deg;--vbr-widget-gamecenter-result-size: 6rem;--vbr-widget-gamecenter-result-weight: 700;--vbr-widget-gamecenter-result-color: var(--vbr-widget-primary-color-800);--vbr-widget-gamecenter-teamname-size: var(--vbr-widget-typography-font-size-700);--vbr-widget-gamecenter-teamname-color: var(--vbr-widget-primary-color-800);--vbr-widget-gamecenter-teamname-weight: 700;--vbr-widget-gamecenter-title-color: var(--vbr-widget-primary-color-800);--vbr-widget-gamecenter-title-size: var(--vbr-widget-typography-font-size-500);--vbr-widget-gamecenter-title-weight: 700;--vbr-widget-gamecenter-gamedate-color: var(--vbr-widget-primary-color-500);--vbr-widget-gamecenter-gamedate-size: var(--vbr-widget-typography-font-size-500);--vbr-widget-gamecenter-local-gamedate-color: var(--vbr-widget-primary-color-500);--vbr-widget-gamecenter-local-gamedate-size: var(--vbr-widget-typography-font-size-300);--vbr-widget-gamecenter-gamestatus-color: var(--vbr-widget-primary-color-600);--vbr-widget-gamecenter-gamestatus-size: var(--vbr-widget-typography-font-size-400);--vbr-widget-gamecenter-periodresults-color: var(--vbr-widget-primary-color-600);--vbr-widget-gamecenter-periodresults-size: var(--vbr-widget-typography-font-size-700);--vbr-widget-gamecenter-period-header-bg-color: var(--vbr-widget-primary-color-800);--vbr-widget-gamecenter-period-header-color: var(--vbr-widget-primary-color-0);--vbr-widget-gamecenter-period-header-size: var(--vbr-widget-typography-font-size-300);--vbr-widget-gamecenter-period-header-weight: 500;--vbr-widget-gamecenter-stats-bg-color: var(--vbr-widget-primary-color-50);--vbr-widget-gamecenter-stats-border-color: var(--vbr-widget-primary-color-100);--vbr-widget-gamecenter-stats-title-size: var(--vbr-widget-typography-font-size-300);--vbr-widget-gamecenter-stats-title-color: var(--vbr-widget-primary-color-400);--vbr-widget-gamecenter-stats-size: var(--vbr-widget-typography-font-size-500);--vbr-widget-gamecenter-stats-color: var(--vbr-widget-primary-color-800);--vbr-widget-gamecenter-team-container-title-color: var(--vbr-widget-primary-color-800);--vbr-widget-gamecenter-team-container-title-bg-color: var(--vbr-widget-primary-color-100);--vbr-widget-gamecenter-team-container-border-color: var(--vbr-widget-primary-color-100);--vbr-widget-gamecenter-events-evented-person-size: var(--vbr-widget-typography-font-size-500);--vbr-widget-gamecenter-events-evented-person-weight: 600;--vbr-widget-gamecenter-events-assitst-list-size: var(--vbr-widget-typography-font-size-400);--vbr-widget-gamecenter-events-poi-list-size: var(--vbr-widget-typography-font-size-200);--vbr-widget-gamecenter-events-score-size: var(--vbr-widget-typography-font-size-500);--vbr-widget-gamecenter-events-penalty-size: var(--vbr-widget-typography-font-size-400);--vbr-widget-gamecenter-events-goalie-direction-size: var(--vbr-widget-typography-font-size-400);--vbr-widget-gamecenter-events-timeout-bg-color: #2870ed;--vbr-widget-gamecenter-card-title-color: var(--vbr-widget-primary-color-900);--vbr-widget-gamecenter-card-secondary-color: var(--vbr-widget-primary-color-500);--vbr-widget-gamecenter-card-tertiary-color: var(--vbr-widget-primary-color-300);--vbr-widget-gamecenter-card-border-color: var(--vbr-widget-primary-color-100);--vbr-widget-gamecenter-card-bg-color: var(--vbr-widget-primary-color-0);--vbr-widget-gamecenter-card-event-goal-border-color: var(--vbr-widget-primary-color-700);--vbr-widget-gamecenter-card-event-goal-bg-color: var(--vbr-widget-primary-color-700);--vbr-widget-gamecenter-home-team-identifier-color: #2870ed;--vbr-widget-gamecenter-away-team-identifier-color: #ff6129;--vbr-widget-gamecenter-home-team-identifier-border-color: transparent;--vbr-widget-gamecenter-away-team-identifier-border-color: transparent;--vbr-widget-main-image-wrapper-horizontal-margin: 0;--vbr-widget-sticky-top-offset: 0;--vbr-widget-games-timeline-game-date-size: var(--vbr-widget-typography-font-size-100);--vbr-widget-games-timeline-game-date-color: var(--vbr-widget-primary-color-500);--vbr-widget-games-timeline-game-team-color: var(--vbr-widget-primary-color-700);--vbr-widget-games-timeline-game-team-size: var(--vbr-widget-typography-font-size-300);--vbr-widget-games-timeline-game-status-color: var(--vbr-widget-primary-color-300);--vbr-widget-games-timeline-game-status-size: var(--vbr-widget-typography-font-size-200);--vbr-widget-games-timeline-game-hover-bg-color: linear-gradient(#fff, #f5f6f7 50%, #fff);--vbr-widget-games-timeline-arrow-color: var(--vbr-widget-primary-color-300);--vbr-widget-games-timeline-arrow-hover-color: var(--vbr-widget-primary-color-500);--vbr-widget-games-timeline-arrow-disabled-color: var(--vbr-widget-primary-color-100);--vbr-widget-games-timeline-arrow-border-color: var(--vbr-widget-primary-color-100);--vbr-widget-games-timeline-external-link-color: var(--vbr-widget-primary-color-500);--vbr-widget-games-timeline-external-link-size: var(--vbr-widget-typography-font-size-200);--vbr-widget-standings-selector-title-size: var(--vbr-widget-typography-font-size-500);--vbr-widget-standings-selector-title-color: var(--vbr-widget-primary-color-700);--vbr-widget-standings-selector-title-transform: none;--vbr-widget-standings-selector-title-padding: 0 .625em .5625em;--vbr-widget-standings-selector-title-bg-color: transparent;--vbr-widget-standings-selector-section-title-bg: var(--vbr-widget-primary-color-50);--vbr-widget-standings-selector-section-title-size: var(--vbr-widget-typography-font-size-400);--vbr-widget-standings-selector-section-title-color: var(--vbr-widget-primary-color-700);--vbr-widget-standings-selector-section-title-padding: .25em 0;--vbr-widget-standings-selector-section-logo-size: 30px;--vbr-widget-standings-selector-section-team-color: var(--vbr-widget-primary-color-900);--ease-spring-1: linear( 0, .009, .035 2.1%, .141, .281 6.7%, .723 12.9%, .938 16.7%, 1.017, 1.077, 1.121, 1.149 24.3%, 1.159, 1.163, 1.161, 1.154 29.9%, 1.129 32.8%, 1.051 39.6%, 1.017 43.1%, .991, .977 51%, .974 53.8%, .975 57.1%, .997 69.8%, 1.003 76.9%, 1.004 83.8%, 1 )}html,body{-webkit-font-smoothing:antialiased}.transition-fade-enter-active,.transition-fade-leave-active{transition:all .7s var(--ease-spring-1)}.transition-fade-enter-from,.transition-fade-leave-to{opacity:0;transform:translateY(5px)}.transition-event-move,.transition-event-enter-active,.transition-event-leave-active{transition:all .25s ease}.transition-event-enter-from,.transition-event-leave-to{opacity:0}img{opacity:0;transition:opacity .5s ease-out}img.is-loaded{opacity:1}a{color:var(--vbr-widget-link-color);text-decoration:none}a:hover{color:var(--vbr-widget-hover-color)}.loading-indicator{padding:1em;font-weight:600;color:var(--vbr-widget-primary-color-400);text-align:center}.floating-content.is-tooltip{background-color:var(--vbr-widget-tooltip-bg-color);color:var(--vbr-widget-tooltip-color);font-weight:700;padding:5px 10px;border-radius:4px;font-size:var(--vbr-widget-tooltip-font-size);white-space:nowrap;pointer-events:none}.floating-content.is-tooltip .is-arrow{background-color:var(--vbr-widget-tooltip-bg-color)}.floating-content.is-content{border-radius:4px;box-shadow:2px 14px 23px #00000040}.floating-content.is-content .is-arrow{background-color:var(--vbr-widget-primary-color-50)}.floating-content .is-arrow{position:absolute;width:8px;height:8px;transform:rotate(45deg)}[data-placement^=top] .floating-content .is-arrow{bottom:-4px}[data-placement^=bottom] .floating-content .is-arrow{top:-4px}[data-placement^=left] .floating-content .is-arrow{right:-4px}[data-placement^=right] .floating-content .is-arrow{left:-4px}.error-notice{display:flex;align-items:center;justify-items:flex-start;margin:10px 0;padding:10px 20px;background-color:var(--vbr-widget-error-notice-bg-color);color:var(--vbr-widget-error-notice-color);border:1px solid var(--vbr-widget-error-notice-border-color)}.error-notice .icon{margin-right:15px}.timezone-selector{padding:3px 0;color:var(--vbr-widget-timezone-selector-color);font-size:var(--vbr-widget-timezone-selector-font-size);font-weight:500}.timezone-selector .is-active{font-weight:700}.is-badge{display:inline-block;padding:.125em .25em;color:var(--vbr-widget-badge-color);font-size:var(--vbr-widget-badge-font-size);font-weight:700;text-transform:uppercase;background-color:var(--vbr-widget-badge-bg-color);border-radius:3px}.is-badge+.is-badge{margin-inline-start:3px}.is-badge.is-invert{color:var(--vbr-widget-badge-bg-color);background-color:var(--vbr-widget-badge-color)}.is-badge.is-green{color:var(--vbr-widget-primary-color-0);background-color:var(--vbr-widget-live-game-color)}.is-badge.is-red{color:var(--vbr-widget-primary-color-0);background-color:var(--vbr-widget-danger-color-a400)}.is-badge.is-yellow{color:var(--vbr-widget-primary-color-0);background-color:var(--vbr-widget-neutral-color)}.is-badge.is-dark{color:var(--vbr-widget-primary-color-0);background-color:var(--vbr-widget-primary-color-700)}.is-badge.is-large{font-size:var(--vbr-widget-badge-large-font-size);padding:.15em .35em}.is-badge.is-extra-large{font-size:var(--vbr-widget-badge-extra-large-font-size);padding:.2695em .5165em}", tt = ".is-text-right{text-align:right}.is-text-center{text-align:center}.is-text-bold{font-weight:700}.is-text-italic{font-style:italic}.is-text-xs{font-size:var(--vbr-widget-typography-font-size-200);line-height:var(--vbr-widget-typography-font-lineheight-200)}.is-text-sm{font-size:var(--vbr-widget-typography-font-size-400);line-height:var(--vbr-widget-typography-font-lineheight-200)}.is-text-base{font-size:var(--vbr-widget-typography-font-size-500);line-height:var(--vbr-widget-typography-font-lineheight-500)}.is-text-lg{font-size:var(--vbr-widget-typography-font-size-600);line-height:var(--vbr-widget-typography-font-lineheight-600)}.is-text-xl{font-size:var(--vbr-widget-typography-font-size-700);line-height:var(--vbr-widget-typography-font-lineheight-700)}.is-text-4xl{font-size:var(--vbr-widget-typography-font-size-950);line-height:var(--vbr-widget-typography-font-lineheight-950)}.is-uppercase{text-transform:uppercase}.is-opacity-20{opacity:.2}.is-opacity-30{opacity:.3}.is-opacity-40{opacity:.4}.is-opacity-50{opacity:.5}.is-mt-5{margin-top:1rem}.is-mb-5{margin-bottom:1rem}.is-whitespace-nowrap{white-space:nowrap}.is-heading-1{font-size:var(--vbr-widget-typography-heading-1-size);line-height:var(--vbr-widget-typography-font-lineheight-700);margin-block-start:var(--vbr-widget-typography-font-size-700);margin-block-end:calc(var(--vbr-widget-typography-font-size-700) / 2);font-weight:var(--vbr-widget-typography-heading-weight)}.is-heading-2{font-size:var(--vbr-widget-typography-heading-2-size);line-height:var(--vbr-widget-typography-font-lineheight-600);font-weight:var(--vbr-widget-typography-heading-weight);margin-block-start:var(--vbr-widget-typography-font-size-600);margin-block-end:calc(var(--vbr-widget-typography-font-size-600) / 2)}.is-heading-3{font-size:var(--vbr-widget-typography-heading-3-size);line-height:var(--vbr-widget-typography-font-lineheight-500);font-weight:var(--vbr-widget-typography-heading-weight);margin-block-start:var(--vbr-widget-typography-font-size-500);margin-block-end:calc(var(--vbr-widget-typography-font-size-500) / 2)}.is-rounded{overflow:hidden;border-radius:100%}.is-rounded+.is-rounded{margin-left:3px}.is-rounded img{display:block}.is-w-5{width:16px}.is-w-7{width:24px}.is-w-10{width:32px}", rt = `.base-input{padding:.375rem .75rem;font-family:inherit;color:var(--vbr-widget-base-input-color);border:1px solid var(--vbr-widget-base-input-border-color);border-radius:var(--vbr-widget-base-input-border-radius);width:100%;-moz-padding-start:calc(.75rem - 3px);font-size:var(--vbr-widget-base-input-font-size);font-weight:400;line-height:1.5;background-color:#fff;transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out;-webkit-appearance:none;-moz-appearance:none;appearance:none}.base-input:disabled{opacity:.3}.base-input.is-select{padding-right:2.25rem;background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");background-repeat:no-repeat;background-position:right .75rem center;background-size:16px 12px}label{display:block;margin-bottom:3px;color:var(--vbr-widget-form-label-color);font-size:var(--vbr-widget-form-label-font-size);font-weight:700;text-transform:uppercase}.tab-button{padding:var(--vbr-widget-tab-btn-padding);font-family:inherit;font-size:var(--vbr-widget-tab-btn-font-size);font-weight:var(--vbr-widget-tab-btn-font-weight);color:var(--vbr-widget-tab-btn-color);text-transform:var(--vbr-widget-tab-btn-text-transform);background-color:var(--vbr-widget-tab-btn-bg-color);border-color:var(--vbr-widget-tab-btn-border-color);border-width:var(--vbr-widget-tab-btn-border-width);border-style:var(--vbr-widget-tab-btn-border-style);outline:none;box-shadow:none;cursor:pointer}.tab-button:hover{color:var(--vbr-widget-tab-btn-hover-color);border-color:var(--vbr-widget-tab-btn-hover-border-color);background-color:var(--vbr-widget-tab-btn-hover-bg-color)}.tab-button.is-active{color:var(--vbr-widget-tab-btn-active-color);border-color:var(--vbr-widget-tab-btn-active-border-color);background-color:var(--vbr-widget-tab-btn-active-bg-color)}.toggle-group{display:flex;flex-wrap:wrap;gap:var(--vbr-widget-toggle-group-gap);margin-bottom:15px}.toggle-group button{padding:var(--vbr-widget-toggle-group-btn-padding);font-family:inherit;font-size:var(--vbr-widget-toggle-group-btn-size);background-color:var(--vbr-widget-toggle-group-btn-bg-color);border-radius:var(--vbr-widget-toggle-group-btn-radius)}.toggle-group button.is-active{color:var(--vbr-widget-toggle-group-btn-active-color);background-color:var(--vbr-widget-toggle-group-btn-active-bg-color)}`, ii = ".is-card{container-name:card-row;container-type:inline-size;background-color:#fff;padding:15px;margin-bottom:20px;box-shadow:0 2px 4px #0000001a,0 2px 2px #0000001a}.is-card>div{border-bottom:1px solid var(--vbr-widget-primary-color-100)}.is-card>div:last-of-type{border:none}.is-sticky{position:sticky;top:var(--vbr-widget-sticky-top-offset);z-index:10}.is-blured-bg{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.card-item{display:grid;grid-gap:1rem;grid-template-columns:2fr 1fr 2fr;padding:2rem 0;border-bottom:1px solid var(--vbr-widget-primary-color-100)}.card-item.is-optional{opacity:.4;transition:opacity .3s ease-out}.card-item.is-optional:hover{opacity:1}.card-item svg{display:block}.card-item .is-team-name-short{display:none}@container card-row (max-width: 640px){.card-item .is-team-name-long{display:none}.card-item .is-team-name-short{display:block}}.card-item .is-info{grid-column:1/4;display:flex;justify-content:center;align-items:center;color:var(--vbr-widget-primary-color-500)}.card-item .is-home-team{display:flex;gap:8px;align-items:center;justify-content:flex-end;font-weight:700}.card-item .is-away-team{display:flex;gap:8px;align-items:center;justify-content:flex-start;font-weight:700}.card-item .is-logo-image{width:40px}.card-item .is-game-data{display:flex;flex-direction:column;align-items:center;justify-content:center}.card-item .is-game-data a{display:flex;flex-direction:column;align-items:center;color:var(--vbr-widget-primary-color-900)}.card-item .is-game-data a:hover{color:var(--vbr-widget-primary-color-600)}.card-item .is-game-data.is-live,.card-item .is-game-data.is-live a{color:var(--vbr-widget-live-game-color)}.section-selector{margin:20px 0;border-bottom:1px solid var(--vbr-widget-primary-color-200)}.main-image-wrapper{--overlay-size: 160px;--overlay-radius: 50%;display:grid;grid-template-columns:1fr var(--overlay-size) 1fr;grid-template-rows:1fr 1fr 1fr calc(var(--overlay-size) / 2) calc(var(--overlay-size) / 2);margin-left:var(--vbr-widget-main-image-wrapper-horizontal-margin);margin-right:var(--vbr-widget-main-image-wrapper-horizontal-margin)}.main-image-wrapper:has(img.is-default){min-height:470px}.main-image-wrapper .is-main-image{grid-column:1/4;grid-row:1/5;display:flex;justify-content:center;align-items:center;background-color:var(--vbr-widget-primary-color-50);box-shadow:0 2px 4px #0003}.main-image-wrapper .is-main-image .is-default{filter:grayscale(1);opacity:.3;mix-blend-mode:multiply}.main-image-wrapper .is-main-image img:not(.is-default){width:100%}.main-image-wrapper .is-ovarlay-image{grid-row:4/-1;grid-column:2;justify-self:center;overflow:hidden;border-radius:var(--overlay-radius);z-index:1}.main-image-wrapper .is-ovarlay-image img{width:100%;aspect-ratio:1}", ye = (t, e) => {
1464
1466
  const r = t.__vccOpts || t;
1465
1467
  for (const [a, o] of e)
1466
1468
  r[a] = o;
1467
1469
  return r;
1468
- }, ai = {
1470
+ }, ni = {
1469
1471
  id: "top",
1470
1472
  class: "flex overflow-x-auto is-mb-5"
1471
- }, oi = ["onClick"], ii = ["onClick"], ni = ["onClick"], si = ["onClick"], li = { class: "toggle-group" }, ci = ["disabled", "onClick"], di = {
1473
+ }, si = ["onClick"], li = ["onClick"], ci = ["onClick"], di = ["onClick"], gi = { class: "toggle-group" }, ui = ["disabled", "onClick"], pi = {
1472
1474
  key: 0,
1473
1475
  class: "is-text-center"
1474
- }, gi = ["data-gamedate"], pi = { class: "is-text-base" }, ui = { class: "is-card" }, mi = ["onClick"], vi = {
1476
+ }, mi = ["data-gamedate"], vi = { class: "is-text-base" }, bi = { class: "is-card" }, hi = ["onClick"], fi = {
1475
1477
  __name: "Calendar.ce",
1476
1478
  props: {
1477
1479
  locale: {
@@ -1486,94 +1488,94 @@ const jo = { render: Mo }, Oo = { class: "is-info is-text-sm" }, Go = ["href"],
1486
1488
  type: String,
1487
1489
  default: ""
1488
1490
  },
1489
- ...Or
1491
+ ...er
1490
1492
  },
1491
1493
  setup(t) {
1492
- const e = t, r = { en: we, hu: xe }, a = O(Fe()), o = A(() => e.isGameTargetExternal ? "_blank" : "_self"), i = (n) => bt(e.externalGameResolver || "/game/id/{id}", n);
1493
- return (n, s) => (u(), P(d(ye), {
1494
+ const e = t, r = { en: be, hu: he }, a = O(We()), o = T(() => e.isGameTargetExternal ? "_blank" : "_self"), i = (n) => Je(e.externalGameResolver || "/game/id/{id}", n);
1495
+ return (n, l) => (p(), D(s(ve), {
1494
1496
  locale: e.locale,
1495
1497
  messages: r
1496
1498
  }, {
1497
- default: C(({ t: l }) => [
1498
- T(d(Ce), null, {
1499
- default: C(({ error: c, hasError: p }) => [
1500
- p ? (u(), P(d(Ae), {
1499
+ default: N(({ t: c }) => [
1500
+ S(s(Ae), null, {
1501
+ default: N(({ error: d, hasError: u }) => [
1502
+ u ? (p(), D(s(De), {
1501
1503
  key: 0,
1502
- error: c
1503
- }, null, 8, ["error"])) : D("", !0),
1504
- T(Ao, {
1504
+ error: d
1505
+ }, null, 8, ["error"])) : A("", !0),
1506
+ S(Lo, {
1505
1507
  locale: e.locale,
1506
1508
  timezone: a.value,
1507
1509
  "season-id": t.seasonId,
1508
1510
  "api-key": t.apiKey
1509
1511
  }, {
1510
- default: C(({
1511
- games: m,
1512
- months: y,
1513
- isLoading: v,
1512
+ default: N(({
1513
+ games: b,
1514
+ months: w,
1515
+ isLoading: h,
1514
1516
  selectedPanel: k,
1515
- selectedMonth: b,
1517
+ selectedMonth: v,
1516
1518
  more: I,
1517
- setMonth: x,
1519
+ setMonth: y,
1518
1520
  changePanel: z
1519
1521
  }) => [
1520
- g("div", ai, [
1522
+ g("div", ni, [
1521
1523
  g("button", {
1522
- class: B(["tab-button", { "is-active": k === d(be) }]),
1523
- onClick: (w) => z(d(be))
1524
- }, f(l("calendar.gamesPlayed")), 11, oi),
1524
+ class: G(["tab-button", { "is-active": k === s(ze) }]),
1525
+ onClick: (x) => z(s(ze))
1526
+ }, m(c("calendar.gamesPlayed")), 11, si),
1525
1527
  g("button", {
1526
- class: B(["tab-button", { "is-active": k === d(Ie) }]),
1527
- onClick: (w) => z(d(Ie))
1528
- }, f(l("calendar.todaysGames")), 11, ii),
1528
+ class: G(["tab-button", { "is-active": k === s(Ce) }]),
1529
+ onClick: (x) => z(s(Ce))
1530
+ }, m(c("calendar.todaysGames")), 11, li),
1529
1531
  g("button", {
1530
- class: B(["tab-button", { "is-active": k === d($e) }]),
1531
- onClick: (w) => z(d($e))
1532
- }, f(l("calendar.nextGames")), 11, ni),
1532
+ class: G(["tab-button", { "is-active": k === s(Te) }]),
1533
+ onClick: (x) => z(s(Te))
1534
+ }, m(c("calendar.nextGames")), 11, ci),
1533
1535
  g("button", {
1534
- class: B(["tab-button", { "is-active": k === d(Re) }]),
1535
- onClick: (w) => z(d(Re))
1536
- }, f(l("calendar.weekGames")), 11, si)
1536
+ class: G(["tab-button", { "is-active": k === s(Ue) }]),
1537
+ onClick: (x) => z(s(Ue))
1538
+ }, m(c("calendar.weekGames")), 11, di)
1537
1539
  ]),
1538
- g("div", li, [
1539
- (u(!0), _(R, null, W(y, (w) => (u(), _("button", {
1540
- key: w.id,
1540
+ g("div", gi, [
1541
+ (p(!0), _(R, null, W(w, (x) => (p(), _("button", {
1542
+ key: x.id,
1541
1543
  type: "button",
1542
- class: B({ "is-active": b === w.id }),
1543
- disabled: v,
1544
- onClick: (h) => x(w)
1545
- }, f(w.name), 11, ci))), 128))
1544
+ class: G({ "is-active": v === x.id }),
1545
+ disabled: h,
1546
+ onClick: (f) => y(x)
1547
+ }, m(x.name), 11, ui))), 128))
1546
1548
  ]),
1547
- m.totalItems === 0 && !v ? (u(), _("div", di, f(l("calendar.noGame")), 1)) : D("", !0),
1549
+ b.totalItems === 0 && !h ? (p(), _("div", pi, m(c("calendar.noGame")), 1)) : A("", !0),
1548
1550
  g("div", null, [
1549
- v ? (u(), P(d(vt), { key: 0 })) : D("", !0),
1550
- (u(!0), _(R, null, W(m.rows, (w, h) => (u(), _("div", {
1551
- key: h,
1552
- "data-gamedate": h
1551
+ h ? (p(), D(s(ft), { key: 0 })) : A("", !0),
1552
+ (p(!0), _(R, null, W(b.rows, (x, f) => (p(), _("div", {
1553
+ key: f,
1554
+ "data-gamedate": f
1553
1555
  }, [
1554
- g("span", pi, f(d(Q)(new Date(h), "LL dddd", a.value, t.locale)), 1),
1555
- g("div", ui, [
1556
- (u(!0), _(R, null, W(w, ($) => (u(), P(ti, {
1557
- key: $.id,
1558
- game: $,
1556
+ g("span", vi, m(s(J)(new Date(f), "LL dddd", a.value, t.locale)), 1),
1557
+ g("div", bi, [
1558
+ (p(!0), _(R, null, W(x, (C) => (p(), D(oi, {
1559
+ key: C.id,
1560
+ game: C,
1559
1561
  locale: t.locale,
1560
1562
  timezone: a.value,
1561
1563
  "game-link": i,
1562
1564
  target: o.value
1563
1565
  }, null, 8, ["game", "locale", "timezone", "target"]))), 128))
1564
1566
  ])
1565
- ], 8, gi))), 128))
1567
+ ], 8, mi))), 128))
1566
1568
  ]),
1567
- !v && m.currentItems < m.totalItems ? (u(), P(d(Rr), {
1569
+ !h && b.currentItems < b.totalItems ? (p(), D(s(Yr), {
1568
1570
  key: 1,
1569
1571
  options: { rootMargin: "400px" },
1570
1572
  onIntersect: I
1571
1573
  }, {
1572
- default: C(() => [
1573
- g("button", { onClick: I }, f(l("calendar.more")), 9, mi)
1574
+ default: N(() => [
1575
+ g("button", { onClick: I }, m(c("calendar.more")), 9, hi)
1574
1576
  ]),
1575
1577
  _: 2
1576
- }, 1032, ["onIntersect"])) : D("", !0)
1578
+ }, 1032, ["onIntersect"])) : A("", !0)
1577
1579
  ]),
1578
1580
  _: 2
1579
1581
  }, 1032, ["locale", "timezone", "season-id", "api-key"])
@@ -1584,108 +1586,108 @@ const jo = { render: Mo }, Oo = { class: "is-info is-text-sm" }, Go = ["href"],
1584
1586
  _: 1
1585
1587
  }, 8, ["locale"]));
1586
1588
  }
1587
- }, bi = /* @__PURE__ */ ke(vi, [["styles", [_e, Xe, Qe, ri]]]), ze = "schedule", it = "standings", ue = "players", Me = "teams";
1588
- function hi(t, e, r = null) {
1589
- var i, n, s, l;
1590
- e.championships = Ke(ie("sectionId"))(t), e.selectedChampionshipId = (n = (i = e.championships) == null ? void 0 : i[0]) == null ? void 0 : n.sectionId;
1591
- const a = Ke(ie("phaseId"))(((s = t == null ? void 0 : t[0]) == null ? void 0 : s.phases) ?? []), o = a.findIndex((c) => c.phaseId === Number(r));
1592
- e.phaseId = o > -1 ? Number(r) : (l = a[0]) == null ? void 0 : l.phaseId;
1589
+ }, yi = /* @__PURE__ */ ye(fi, [["styles", [fe, tt, rt, ii]]]), $e = "schedule", lt = "standings", xe = "players", Ge = "teams";
1590
+ function wi(t, e, r = null) {
1591
+ var i, n, l, c;
1592
+ e.championships = Fe(se("sectionId"))(t), e.selectedChampionshipId = (n = (i = e.championships) == null ? void 0 : i[0]) == null ? void 0 : n.sectionId;
1593
+ const a = Fe(se("phaseId"))(((l = t == null ? void 0 : t[0]) == null ? void 0 : l.phases) ?? []), o = a.findIndex((d) => d.phaseId === Number(r));
1594
+ e.phaseId = o > -1 ? Number(r) : (c = a[0]) == null ? void 0 : c.phaseId;
1593
1595
  }
1594
- const fi = (/* @__PURE__ */ new Map()).set("schedule", {
1596
+ const xi = (/* @__PURE__ */ new Map()).set("schedule", {
1595
1597
  api: "/v2/games-list",
1596
- columns: ar,
1598
+ columns: nr,
1597
1599
  sort: {}
1598
1600
  }).set("standings", {
1599
1601
  api: "/v2/standings",
1600
- columns: na,
1602
+ columns: sa,
1601
1603
  sort: {}
1602
1604
  }).set("points", {
1603
1605
  api: "/v2/players-stats",
1604
- columns: Pe,
1606
+ columns: Me,
1605
1607
  sort: {
1606
1608
  sortTarget: "points",
1607
- orders: [{ target: "points", direction: X }]
1609
+ orders: [{ target: "points", direction: Z }]
1608
1610
  }
1609
1611
  }).set("goals", {
1610
1612
  api: "/v2/players-stats",
1611
- columns: Pe,
1613
+ columns: Me,
1612
1614
  sort: {
1613
1615
  sortTarget: "goals",
1614
1616
  orders: [
1615
- { target: "goals", direction: X },
1616
- { target: "assists", direction: X }
1617
+ { target: "goals", direction: Z },
1618
+ { target: "assists", direction: Z }
1617
1619
  ]
1618
1620
  }
1619
1621
  }).set("assists", {
1620
1622
  api: "/v2/players-stats",
1621
- columns: Pe,
1623
+ columns: Me,
1622
1624
  sort: {
1623
1625
  sortTarget: "assists",
1624
1626
  orders: [
1625
- { target: "assists", direction: X },
1626
- { target: "goals", direction: X }
1627
+ { target: "assists", direction: Z },
1628
+ { target: "goals", direction: Z }
1627
1629
  ]
1628
1630
  }
1629
1631
  }).set("plusminus", {
1630
1632
  api: "/v2/players-stats",
1631
- columns: Pe,
1633
+ columns: Me,
1632
1634
  sort: {
1633
1635
  sortTarget: "plusMinus",
1634
- orders: [{ target: "plusMinus", direction: X }]
1636
+ orders: [{ target: "plusMinus", direction: Z }]
1635
1637
  }
1636
1638
  }).set("playerspenalties", {
1637
1639
  api: "/v2/players-penalty",
1638
- columns: sa,
1640
+ columns: la,
1639
1641
  sort: {
1640
1642
  sortTarget: "pim",
1641
- orders: [{ target: "pim", direction: X }]
1643
+ orders: [{ target: "pim", direction: Z }]
1642
1644
  }
1643
1645
  }).set("goalies", {
1644
1646
  api: "/v2/players-goalie",
1645
1647
  params: { more: !0 },
1646
- columns: It,
1648
+ columns: Ct,
1647
1649
  sort: {
1648
1650
  sortTarget: "svsPercent",
1649
- orders: [{ target: "svsPercent", direction: X }]
1651
+ orders: [{ target: "svsPercent", direction: Z }]
1650
1652
  }
1651
1653
  }).set("goaliesunderlimit", {
1652
1654
  api: "/v2/players-goalie",
1653
1655
  params: { less: !0 },
1654
- columns: It,
1656
+ columns: Ct,
1655
1657
  sort: {
1656
1658
  sortTarget: "svsPercent",
1657
- orders: [{ target: "svsPercent", direction: X }]
1659
+ orders: [{ target: "svsPercent", direction: Z }]
1658
1660
  }
1659
1661
  }).set("teamFairplay", {
1660
1662
  api: "/v2/team-fairplay",
1661
- columns: la,
1663
+ columns: ca,
1662
1664
  sort: {
1663
1665
  sortTarget: "pim",
1664
- orders: [{ target: "pim", direction: X }]
1666
+ orders: [{ target: "pim", direction: Z }]
1665
1667
  }
1666
1668
  }).set("teamPenaltiKilling", {
1667
1669
  api: "/v2/team-powerplay",
1668
- columns: ca,
1670
+ columns: da,
1669
1671
  sort: {
1670
1672
  sortTarget: "pkPercent",
1671
- orders: [{ target: "pkPercent", direction: X }]
1673
+ orders: [{ target: "pkPercent", direction: Z }]
1672
1674
  }
1673
1675
  }).set("teamPowerplay", {
1674
1676
  api: "/v2/team-powerplay",
1675
- columns: da,
1677
+ columns: ga,
1676
1678
  sort: {
1677
1679
  sortTarget: "ppPercent",
1678
- orders: [{ target: "ppPercent", direction: X }]
1680
+ orders: [{ target: "ppPercent", direction: Z }]
1679
1681
  }
1680
1682
  }).set("teamScoringEfficiency", {
1681
1683
  api: "/v2/team-scoring-efficiency",
1682
- columns: ga,
1684
+ columns: ua,
1683
1685
  sort: {
1684
1686
  sortTarget: "sp",
1685
- orders: [{ target: "sp", direction: X }]
1687
+ orders: [{ target: "sp", direction: Z }]
1686
1688
  }
1687
1689
  });
1688
- function Kt(t) {
1690
+ function Bt(t) {
1689
1691
  return [
1690
1692
  {
1691
1693
  name: t("report.points"),
@@ -1717,7 +1719,7 @@ function Kt(t) {
1717
1719
  }
1718
1720
  ];
1719
1721
  }
1720
- function Bt(t) {
1722
+ function Vt(t) {
1721
1723
  return [
1722
1724
  // {
1723
1725
  // name: t('report.teamAttendance'),
@@ -1741,15 +1743,15 @@ function Bt(t) {
1741
1743
  }
1742
1744
  ];
1743
1745
  }
1744
- function yi(t, e) {
1746
+ function _i(t, e) {
1745
1747
  if (t.length === 0)
1746
- throw new tr(Ge.message, Ge.options);
1747
- e.seasons = wi(t), e.championshipId || (e.championshipId = H(e.seasons).championshipId);
1748
+ throw new or(Ye.message, Ye.options);
1749
+ e.seasons = ki(t), e.championshipId || (e.championshipId = H(e.seasons).championshipId);
1748
1750
  }
1749
- function wi(t) {
1750
- return kt(mr(gr(ie("seasonName"))), _t(ur(["championshipId", "seasonName"])))(t);
1751
+ function ki(t) {
1752
+ return St(hr(mr(se("seasonName"))), zt(br(["championshipId", "seasonName"])))(t);
1751
1753
  }
1752
- const xi = {
1754
+ const zi = {
1753
1755
  __name: "DataProvider",
1754
1756
  props: {
1755
1757
  championshipName: {
@@ -1782,7 +1784,7 @@ const xi = {
1782
1784
  }
1783
1785
  },
1784
1786
  setup(t) {
1785
- const e = t, r = ir("history"), a = ce({
1787
+ const e = t, r = lr("history"), a = de({
1786
1788
  loading: !1,
1787
1789
  seasons: [],
1788
1790
  championshipId: Number(r.championshipId) || 0,
@@ -1791,106 +1793,106 @@ const xi = {
1791
1793
  selectedChampionshipId: null,
1792
1794
  sections: [],
1793
1795
  section: r.section || null,
1794
- selectedPanel: ze,
1796
+ selectedPanel: $e,
1795
1797
  api: "/v2/games-list",
1796
1798
  apiParams: {},
1797
- columns: ar,
1799
+ columns: nr,
1798
1800
  sort: null,
1799
1801
  report: "points"
1800
- }), o = zr(e, "timezone"), { onError: i } = Ee(), { sort: n, change: s } = ea({
1802
+ }), o = Ir(e, "timezone"), { onError: i } = Le(), { sort: n, change: l } = ta({
1801
1803
  sortTarget: "",
1802
1804
  orders: []
1803
- }), { page: l, change: c } = ta(), { t: p } = ne(), { isLoading: m, execute: y } = ee({
1805
+ }), { page: c, change: d } = ra(), { t: u } = le(), { isLoading: b, execute: w } = ee({
1804
1806
  options: {
1805
1807
  path: "/v2/championship-seasons",
1806
1808
  apiKey: e.apiKey,
1807
1809
  params: { championshipName: e.championshipName }
1808
1810
  },
1809
- transform: (N) => yi(N, a),
1811
+ transform: (E) => _i(E, a),
1810
1812
  onError: i
1811
- }), { isLoading: v, execute: k } = ee({
1813
+ }), { isLoading: h, execute: k } = ee({
1812
1814
  options: {
1813
1815
  path: "/v2/championship-sections",
1814
1816
  apiKey: e.apiKey,
1815
- params: A(() => ({ championshipId: a.championshipId }))
1817
+ params: T(() => ({ championshipId: a.championshipId }))
1816
1818
  },
1817
- transform: (N) => hi(N, a, e.initialPhaseId),
1819
+ transform: (E) => wi(E, a, e.initialPhaseId),
1818
1820
  onError: i
1819
1821
  }), {
1820
- isLoading: b,
1822
+ isLoading: v,
1821
1823
  state: I,
1822
- execute: x
1824
+ execute: y
1823
1825
  } = ee({
1824
1826
  options: {
1825
- path: A(() => a.api),
1827
+ path: T(() => a.api),
1826
1828
  apiKey: e.apiKey,
1827
1829
  resetOnExecute: !0,
1828
- params: A(() => ({ championshipId: a.championshipId, phaseId: a.phaseId, ...a.apiParams }))
1830
+ params: T(() => ({ championshipId: a.championshipId, phaseId: a.phaseId, ...a.apiParams }))
1829
1831
  },
1830
- transform: (N) => rr(N),
1832
+ transform: (E) => ir(E),
1831
1833
  onError: i
1832
- }), z = ra([v, m, b], { delay: 1e3 });
1833
- he([y, k, x]);
1834
- const w = A(
1835
- () => a.selectedPanel === ue ? Kt(p) : Bt(p)
1836
- ), h = A(() => {
1837
- const N = a.championships.find((G) => G.sectionId === a.selectedChampionshipId);
1838
- return Vr(Ke(ie("phaseId"))((N == null ? void 0 : N.phases) ?? []));
1839
- }), $ = A(() => a.selectedPanel === ze ? 0 : e.limit), E = A(
1840
- () => Fr(
1834
+ }), z = aa([h, b, v], { delay: 1e3 });
1835
+ Se([w, k, y]);
1836
+ const x = T(
1837
+ () => a.selectedPanel === xe ? Bt(u) : Vt(u)
1838
+ ), f = T(() => {
1839
+ const E = a.championships.find((Y) => Y.sectionId === a.selectedChampionshipId);
1840
+ return Fr(Fe(se("phaseId"))((E == null ? void 0 : E.phases) ?? []));
1841
+ }), C = T(() => a.selectedPanel === $e ? 0 : e.limit), L = T(
1842
+ () => qr(
1841
1843
  I.value,
1842
- qr,
1843
1844
  Hr,
1844
1845
  Wr,
1845
- Jr(["mip"]),
1846
- Xr(["dvgTime", "dvgTimePP1", "dvgTimePP2", "advTime", "advTimePP1", "advTimePP2"])
1846
+ Jr,
1847
+ Xr(["mip"]),
1848
+ Qr(["dvgTime", "dvgTimePP1", "dvgTimePP2", "advTime", "advTimePP1", "advTimePP2"])
1847
1849
  )
1848
- ), S = A(() => Be(d(E)).sorted(n).addContinuousIndex().schedule(d(o), d(e.locale)).pagination(d(l), $.value).value());
1849
- function j(N) {
1850
- a.championshipId = N, r.championshipId = N, he([k, x]);
1850
+ ), $ = T(() => qe(s(L)).sorted(n).addContinuousIndex().schedule(s(o), s(e.locale)).pagination(s(c), C.value).value());
1851
+ function j(E) {
1852
+ a.championshipId = E, r.championshipId = E, Se([k, y]);
1851
1853
  }
1852
- function L(N) {
1853
- var G;
1854
- a.selectedChampionshipId = N, a.phaseId = ((G = h.value[0]) == null ? void 0 : G.phaseId) ?? null, x();
1854
+ function P(E) {
1855
+ var Y;
1856
+ a.selectedChampionshipId = E, a.phaseId = ((Y = f.value[0]) == null ? void 0 : Y.phaseId) ?? null, y();
1855
1857
  }
1856
- function J(N) {
1857
- a.phaseId = N, x();
1858
+ function Q(E) {
1859
+ a.phaseId = E, y();
1858
1860
  }
1859
- function se(N) {
1860
- var oe, F;
1861
- a.selectedPanel = N;
1862
- let G = N;
1863
- N === ue && (G = (oe = H(Kt(Z))) == null ? void 0 : oe.value), N === Me && (G = (F = H(Bt(Z))) == null ? void 0 : F.value), a.report = G, V(G);
1861
+ function ce(E) {
1862
+ var ie, F;
1863
+ a.selectedPanel = E;
1864
+ let Y = E;
1865
+ E === xe && (Y = (ie = H(Bt(X))) == null ? void 0 : ie.value), E === Ge && (Y = (F = H(Vt(X))) == null ? void 0 : F.value), a.report = Y, V(Y);
1864
1866
  }
1865
- function te(N) {
1866
- V(N);
1867
+ function ae(E) {
1868
+ V(E);
1867
1869
  }
1868
- function V(N) {
1869
- var oe, F;
1870
- const G = fi.get(N);
1871
- a.api = G.api, a.apiParams = G.params, a.columns = G.columns, n.sortTarget = ((oe = G.sort) == null ? void 0 : oe.sortTarget) ?? "", n.orders = ((F = G.sort) == null ? void 0 : F.orders) ?? [], x(), c(1);
1870
+ function V(E) {
1871
+ var ie, F;
1872
+ const Y = xi.get(E);
1873
+ a.api = Y.api, a.apiParams = Y.params, a.columns = Y.columns, n.sortTarget = ((ie = Y.sort) == null ? void 0 : ie.sortTarget) ?? "", n.orders = ((F = Y.sort) == null ? void 0 : F.orders) ?? [], y(), d(1);
1872
1874
  }
1873
- return (N, G) => ge(N.$slots, "default", Te(Ne({
1875
+ return (E, Y) => pe(E.$slots, "default", Ne(Ee({
1874
1876
  ...a,
1875
- sort: d(n),
1876
- page: d(l),
1877
- phases: h.value,
1878
- isLoading: d(z),
1879
- games: S.value,
1880
- reports: w.value,
1881
- onSort: d(s),
1882
- changePanel: se,
1883
- changePhase: J,
1877
+ sort: s(n),
1878
+ page: s(c),
1879
+ phases: f.value,
1880
+ isLoading: s(z),
1881
+ games: $.value,
1882
+ reports: x.value,
1883
+ onSort: s(l),
1884
+ changePanel: ce,
1885
+ changePhase: Q,
1884
1886
  changeSeason: j,
1885
- onChangeReport: te,
1886
- onPaginatorChange: d(c),
1887
- changeChampionship: L
1887
+ onChangeReport: ae,
1888
+ onPaginatorChange: s(d),
1889
+ changeChampionship: P
1888
1890
  })));
1889
1891
  }
1890
- }, _i = { class: "g-row" }, ki = {
1892
+ }, Si = { class: "g-row" }, $i = {
1891
1893
  for: "season",
1892
1894
  class: "label"
1893
- }, zi = ["value"], Si = {
1895
+ }, Ii = ["value"], Ci = {
1894
1896
  __name: "SeasonSelector",
1895
1897
  props: {
1896
1898
  seasons: {
@@ -1904,39 +1906,39 @@ const xi = {
1904
1906
  },
1905
1907
  emits: ["update:championshipId"],
1906
1908
  setup(t, { emit: e }) {
1907
- const r = t, a = e, { t: o } = ne(), { championshipId: i } = yt(r, a);
1908
- return (n, s) => (u(), _("div", _i, [
1909
+ const r = t, a = e, { t: o } = le(), { championshipId: i } = xt(r, a);
1910
+ return (n, l) => (p(), _("div", Si, [
1909
1911
  g("div", null, [
1910
- g("label", ki, f(d(o)("selection.season")), 1),
1911
- T(d(ve), {
1912
+ g("label", $i, m(s(o)("selection.season")), 1),
1913
+ S(s(ke), {
1912
1914
  id: "season",
1913
- modelValue: d(i),
1914
- "onUpdate:modelValue": s[0] || (s[0] = (l) => de(i) ? i.value = l : null)
1915
+ modelValue: s(i),
1916
+ "onUpdate:modelValue": l[0] || (l[0] = (c) => ge(i) ? i.value = c : null)
1915
1917
  }, {
1916
- default: C(() => [
1917
- (u(!0), _(R, null, W(t.seasons, (l) => (u(), _("option", {
1918
- key: l.championshipId,
1919
- value: l.championshipId
1920
- }, f(l.seasonName), 9, zi))), 128))
1918
+ default: N(() => [
1919
+ (p(!0), _(R, null, W(t.seasons, (c) => (p(), _("option", {
1920
+ key: c.championshipId,
1921
+ value: c.championshipId
1922
+ }, m(c.seasonName), 9, Ii))), 128))
1921
1923
  ]),
1922
1924
  _: 1
1923
1925
  }, 8, ["modelValue"])
1924
1926
  ])
1925
1927
  ]));
1926
1928
  }
1927
- }, Ii = {
1929
+ }, Ti = {
1928
1930
  class: "g-row",
1929
1931
  style: { "column-gap": "8px" }
1930
- }, $i = {
1932
+ }, Ni = {
1931
1933
  for: "phases",
1932
1934
  class: "label"
1933
- }, Ti = {
1935
+ }, Ei = {
1934
1936
  key: 0,
1935
1937
  value: null
1936
- }, Ni = ["value"], Ci = { key: 0 }, Ai = {
1938
+ }, Ai = ["value"], Di = { key: 0 }, Li = {
1937
1939
  for: "report",
1938
1940
  class: "label"
1939
- }, Ei = ["value"], Di = {
1941
+ }, Pi = ["value"], Mi = {
1940
1942
  __name: "Selector",
1941
1943
  props: {
1942
1944
  phases: {
@@ -1962,45 +1964,45 @@ const xi = {
1962
1964
  },
1963
1965
  emits: ["update:phaseId", "update:report"],
1964
1966
  setup(t, { emit: e }) {
1965
- const r = t, a = e, { t: o } = ne(), { phaseId: i, report: n } = yt(r, a);
1966
- return (s, l) => (u(), _("div", Ii, [
1967
+ const r = t, a = e, { t: o } = le(), { phaseId: i, report: n } = xt(r, a);
1968
+ return (l, c) => (p(), _("div", Ti, [
1967
1969
  g("div", null, [
1968
- g("label", $i, f(d(o)("selection.phases")), 1),
1969
- T(d(ve), {
1970
+ g("label", Ni, m(s(o)("selection.phases")), 1),
1971
+ S(s(ke), {
1970
1972
  id: "phases",
1971
- modelValue: d(i),
1972
- "onUpdate:modelValue": l[0] || (l[0] = (c) => de(i) ? i.value = c : null),
1973
- disabled: d(i) === null
1973
+ modelValue: s(i),
1974
+ "onUpdate:modelValue": c[0] || (c[0] = (d) => ge(i) ? i.value = d : null),
1975
+ disabled: s(i) === null
1974
1976
  }, {
1975
- default: C(() => [
1976
- d(i) === null ? (u(), _("option", Ti, f(d(o)("selection.noPhases")), 1)) : D("", !0),
1977
- (u(!0), _(R, null, W(t.phases, (c) => (u(), _("option", {
1978
- key: c.phaseId,
1979
- value: c.phaseId
1980
- }, f(c.phaseName), 9, Ni))), 128))
1977
+ default: N(() => [
1978
+ s(i) === null ? (p(), _("option", Ei, m(s(o)("selection.noPhases")), 1)) : A("", !0),
1979
+ (p(!0), _(R, null, W(t.phases, (d) => (p(), _("option", {
1980
+ key: d.phaseId,
1981
+ value: d.phaseId
1982
+ }, m(d.phaseName), 9, Ai))), 128))
1981
1983
  ]),
1982
1984
  _: 1
1983
1985
  }, 8, ["modelValue", "disabled"])
1984
1986
  ]),
1985
- t.isReportsVisible ? (u(), _("div", Ci, [
1986
- g("label", Ai, f(d(o)("selection.report")), 1),
1987
- T(d(ve), {
1987
+ t.isReportsVisible ? (p(), _("div", Di, [
1988
+ g("label", Li, m(s(o)("selection.report")), 1),
1989
+ S(s(ke), {
1988
1990
  id: "report",
1989
- modelValue: d(n),
1990
- "onUpdate:modelValue": l[1] || (l[1] = (c) => de(n) ? n.value = c : null)
1991
+ modelValue: s(n),
1992
+ "onUpdate:modelValue": c[1] || (c[1] = (d) => ge(n) ? n.value = d : null)
1991
1993
  }, {
1992
- default: C(() => [
1993
- (u(!0), _(R, null, W(t.reports, ({ value: c, name: p }) => (u(), _("option", {
1994
- key: c,
1995
- value: c
1996
- }, f(p), 9, Ei))), 128))
1994
+ default: N(() => [
1995
+ (p(!0), _(R, null, W(t.reports, ({ value: d, name: u }) => (p(), _("option", {
1996
+ key: d,
1997
+ value: d
1998
+ }, m(u), 9, Pi))), 128))
1997
1999
  ]),
1998
2000
  _: 1
1999
2001
  }, 8, ["modelValue"])
2000
- ])) : D("", !0)
2002
+ ])) : A("", !0)
2001
2003
  ]));
2002
2004
  }
2003
- }, vr = ".g-row{display:flex}.g-row-wrap{display:flex;flex-wrap:wrap}.g-col{flex:1 0 0%}.g-gap-normal{gap:16px}[class^=g-col-]{flex:0 0 auto}.g-col-6{width:50%}.g-col-5{width:41.66666667%}.g-col-3{width:25%}.g-col-auto{width:auto}.g-gap-normal{gap:20px}.g-grid{--columns: repeat(2, 1fr);--columns-tablet: repeat(4, 1fr);display:grid;grid-template-columns:var(--columns)}@media all and (min-width: 768px){.g-grid{grid-template-columns:var(--columns-tablet)}}", br = ".table-responsive{container-name:table-wrapper;container-type:inline-size;width:100%;overflow-x:auto}.table-responsive table{width:100%}", hr = '.table{border-collapse:collapse;border-spacing:0;color:var(--vbr-widget-table-color);background-color:var(--vbr-widget-table-default-bg-color)}.table table,.table caption,.table tbody,.table tfoot,.table thead,.table tr,.table th,.table td{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}.table :is(th,td){padding:8px;white-space:nowrap;vertical-align:middle;text-align:center}.table :is(th,td).is-text-left{text-align:left}.table :is(th,td).is-text-right{text-align:right}.table th{width:var(--vbr-widget-table-default-column-width);background:var(--vbr-widget-table-header-bg-color);font-size:var(--vbr-widget-table-header-font-size);font-weight:700;color:var(--vbr-widget-table-header-color)}.table th:focus-visible,.table th:hover{background-color:var(--vbr-widget-table-header-hover-bg-color);outline:none}.table th.is-sortable{position:relative;cursor:pointer}.table th.is-sortable .icon-sort{opacity:.5}.table th.is-active{background-color:var(--vbr-widget-table-table-header-active-bg-color);color:var(--vbr-widget-table-header-active-color)}.table th.is-active .icon-sort{opacity:1}.table th.is-asc,.table th.is-desc{position:relative}.table th.is-w-auto{width:auto}.table th .is-icon-sort{width:11px;height:11px;margin-left:5px}.table td.is-active{font-weight:700;color:var(--vbr-widget-table-active-color);background:var(--vbr-widget-table-active-bg-color)}.table td.is-zero{color:var(--vbr-widget-table-zero-color)}.table td.is-possible-empty:empty:before{content:"0";color:var(--vbr-widget-table-zero-color)}.table td .is-text-light,.table td.is-text-light{color:var(--vbr-widget-table-cell-light-color)}.table td .is-text-dark,.table td.is-text-dark{color:var(--vbr-widget-table-cell-dark-color)}.table td .is-logo-image{display:inline-block;vertical-align:middle;width:var(--vbr-widget-table-cell-logo-size);height:var(--vbr-widget-table-cell-logo-size)}.table td .is-portrait-image{display:inline-block;vertical-align:middle;width:var(--vbr-widget-table-cell-portrait-size);height:var(--vbr-widget-table-cell-portrait-size);object-fit:cover;object-position:top;overflow:hidden;border-radius:100%;border:1px solid var(--vbr-widget-primary-color-100)}.table td .is-portrait-image img{width:var(--vbr-widget-table-cell-portrait-size);height:auto}.table td.is-text-bold{font-weight:700}.table td.is-text-italic{font-style:italic}.table td.is-text-xl{font-size:var(--vbr-widget-typography-font-size-700)}.table td .is-text-accent{color:var(--vbr-widget-secondary-color-500)}.table td.is-w-auto{width:auto}.table td.is-horizontal-content{display:inline-flex;align-items:center}.table td.is-text-positive,.table td .is-text-positive{color:var(--vbr-widget-live-game-color)}.table td.is-text-negative,.table td .is-text-negative{color:var(--vbr-widget-danger-color-a400)}.table td.is-has-image{padding:0 2px}.table td .is-duplicated{color:var(--vbr-widget-table-neutral-color)}.table td svg{width:16px;height:16px}.table td button{padding:3px;line-height:0;border:none;outline:none;background-color:transparent}.table td button:hover{background-color:var(--vbr-widget-popover-trigger-hover-bg-color)}.table td button:active,.table td button:focus{background-color:var(--vbr-widget-popover-trigger-focus-bg-color)}.table td a{text-decoration:none}.table td .label{padding:3px 6px;font-size:var(--vbr-widget-typography-font-size-100);font-weight:700;color:var(--vbr-widget-table-label-color);background-color:var(--vbr-widget-table-label-bg-color);border-radius:2px}.table td .label:not(:last-of-type){margin-right:3px}.table td a{color:var(--vbr-widget-link-color)}.table td a:hover{color:var(--vbr-widget-hover-color)}.table td .is-team-name-long{display:block}.table td .is-team-name-short{display:none}@container table-wrapper (max-width: 768px){.table td .is-team-name-long{display:none}.table td .is-team-name-short{display:block}}.table tr.is-highlighted{color:var(--vbr-widget-danger-color-a400)}.table tr.is-optional{opacity:.5}.table tr:nth-child(2n){background:var(--vbr-widget-table-stripped-bg-color)}.table tr:nth-child(2n) td.is-active{background-color:var(--vbr-widget-table-active-even-bg-color)}.table tbody tr:focus-within,.table tbody tr:hover{color:var(--vbr-widget-table-hover-color);background-color:var(--vbr-widget-table-hover-bg-color)}.table tbody tr:focus-within td.is-active,.table tbody tr:hover td.is-active{color:var(--vbr-widget-table-active-hover-color);background-color:var(--vbr-widget-table-active-hover-bg-color)}', fr = ".is-dropdown-menu{padding:8px 0;margin:0;min-width:160px;color:#000;list-style:none;background:var(--vbr-widget-popover-bg-color);border-radius:3px;box-shadow:0 5px 30px #0000004d}.is-dropdown-menu .is-dropdown-item{display:flex;align-items:center;padding:.25rem 1rem;font-family:var(--vbr-widget-font-family);line-height:24px;color:var(--vbr-widget-dropdown-item-color);text-align:inherit;text-decoration:none;white-space:nowrap;background-color:transparent;border:0;cursor:pointer}.is-dropdown-menu .is-dropdown-item:hover{color:var(--vbr-widget-dropdown-item-hover-color);background-color:var(--vbr-widget-dropdown-item-hover-bg-color)}.is-dropdown-menu .is-dropdown-item.is-selected{color:var(--vbr-widget-dropdown-item-selected-color);background-color:var(--vbr-widget-dropdown-item-selected-hover-bg-color)}.is-dropdown-menu .is-dropdown-item.is-selected:hover{background-color:var(--vbr-widget-dropdown-item-selected-hover-bg-color)}.is-dropdown-menu .is-dropdown-item svg{margin-right:8px}", Pi = ".is-card{container-name:card-row;container-type:inline-size;background-color:#fff;padding:15px;margin-bottom:20px;box-shadow:0 2px 4px #0000001a,0 2px 2px #0000001a}.is-card>div{border-bottom:1px solid var(--vbr-widget-primary-color-100)}.is-card>div:last-of-type{border:none}.is-sticky{position:sticky;top:var(--vbr-widget-sticky-top-offset);z-index:10}.is-blured-bg{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.card-item{display:grid;grid-gap:1rem;grid-template-columns:2fr 1fr 2fr;padding:2rem 0;border-bottom:1px solid var(--vbr-widget-primary-color-100)}.card-item.is-optional{opacity:.4;transition:opacity .3s ease-out}.card-item.is-optional:hover{opacity:1}.card-item svg{display:block}.card-item .is-team-name-short{display:none}@container card-row (max-width: 640px){.card-item .is-team-name-long{display:none}.card-item .is-team-name-short{display:block}}.card-item .is-info{grid-column:1/4;display:flex;justify-content:center;align-items:center;color:var(--vbr-widget-primary-color-500)}.card-item .is-home-team{display:flex;gap:8px;align-items:center;justify-content:flex-end;font-weight:700}.card-item .is-away-team{display:flex;gap:8px;align-items:center;justify-content:flex-start;font-weight:700}.card-item .is-logo-image{width:40px}.card-item .is-game-data{display:flex;flex-direction:column;align-items:center;justify-content:center}.card-item .is-game-data a{display:flex;flex-direction:column;align-items:center;color:var(--vbr-widget-primary-color-900)}.card-item .is-game-data a:hover{color:var(--vbr-widget-primary-color-600)}.card-item .is-game-data.is-live,.card-item .is-game-data.is-live a{color:var(--vbr-widget-live-game-color)}.section-selector{margin:20px 0;border-bottom:1px solid var(--vbr-widget-primary-color-200)}.main-image-wrapper{--overlay-size: 160px;--overlay-radius: 50%;display:grid;grid-template-columns:1fr var(--overlay-size) 1fr;grid-template-rows:1fr 1fr 1fr calc(var(--overlay-size) / 2) calc(var(--overlay-size) / 2);margin-left:var(--vbr-widget-main-image-wrapper-horizontal-margin);margin-right:var(--vbr-widget-main-image-wrapper-horizontal-margin)}.main-image-wrapper:has(img.is-default){min-height:470px}.main-image-wrapper .is-main-image{grid-column:1/4;grid-row:1/5;display:flex;justify-content:center;align-items:center;background-color:var(--vbr-widget-primary-color-50);box-shadow:0 2px 4px #0003}.main-image-wrapper .is-main-image .is-default{filter:grayscale(1);opacity:.3;mix-blend-mode:multiply}.main-image-wrapper .is-main-image img:not(.is-default){width:100%}.main-image-wrapper .is-ovarlay-image{grid-row:4/-1;grid-column:2;justify-self:center;overflow:hidden;border-radius:var(--overlay-radius);z-index:1}.main-image-wrapper .is-ovarlay-image img{width:100%;aspect-ratio:1}", Li = ".paginator{display:flex;flex-direction:row;list-style-type:none;margin:10px 0;padding:0}.paginator button,.paginator div{display:flex;align-items:center;justify-content:center;padding:6px 12px;text-decoration:none;cursor:pointer;color:var(--vbr-widget-paginator-color);border:1px solid var(--vbr-widget-paginator-border-color);background-color:var(--vbr-widget-paginator-bg-color);margin-left:-1px}.paginator button .icon,.paginator div .icon{width:16px;height:16px;margin:0 -4px}.paginator button:hover:not(.paginator button.is-disabled,.paginator button.is-active,.paginator div.is-disabled,.paginator div.is-active),.paginator div:hover:not(.paginator button.is-disabled,.paginator button.is-active,.paginator div.is-disabled,.paginator div.is-active){color:var(--vbr-widget-paginator-hover-color);background-color:var(--vbr-widget-paginator-hover-bg-color)}.paginator button:disabled,.paginator button.is-disabled,.paginator div:disabled,.paginator div.is-disabled{color:var(--vbr-widget-paginator-disabled-color);background-color:var(--vbr-widget-paginator-bg-color);pointer-events:none;cursor:default}.paginator button.is-active,.paginator div.is-active{color:var(--vbr-widget-paginator-active-color);background-color:var(--vbr-widget-paginator-active-bg-color);border-color:var(--vbr-widget-paginator-active-bg-color);cursor:default}", Mi = { class: "section-selector" }, ji = ["onClick"], Oi = { class: "section-selector" }, Gi = ["onClick"], Ri = ["onClick"], Yi = ["onClick"], Ui = ["onClick"], Ki = {
2005
+ }, fr = ".g-row{display:flex}.g-row-wrap{display:flex;flex-wrap:wrap}.g-col{flex:1 0 0%}.g-gap-normal{gap:16px}[class^=g-col-]{flex:0 0 auto}.g-col-6{width:50%}.g-col-5{width:41.66666667%}.g-col-3{width:25%}.g-col-auto{width:auto}.g-gap-normal{gap:20px}.g-grid{--columns: repeat(2, 1fr);--columns-tablet: repeat(4, 1fr);display:grid;grid-template-columns:var(--columns)}@media all and (min-width: 768px){.g-grid{grid-template-columns:var(--columns-tablet)}}", yr = ".table-responsive{container-name:table-wrapper;container-type:inline-size;width:100%;overflow-x:auto}.table-responsive table{width:100%}", wr = '.table{border-collapse:collapse;border-spacing:0;color:var(--vbr-widget-table-color);background-color:var(--vbr-widget-table-default-bg-color)}.table table,.table caption,.table tbody,.table tfoot,.table thead,.table tr,.table th,.table td{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}.table :is(th,td){padding:8px;white-space:nowrap;vertical-align:middle;text-align:center}.table :is(th,td).is-text-left{text-align:left}.table :is(th,td).is-text-right{text-align:right}.table th{width:var(--vbr-widget-table-default-column-width);background:var(--vbr-widget-table-header-bg-color);font-size:var(--vbr-widget-table-header-font-size);font-weight:700;color:var(--vbr-widget-table-header-color)}.table th:focus-visible,.table th:hover{background-color:var(--vbr-widget-table-header-hover-bg-color);outline:none}.table th.is-sortable{position:relative;cursor:pointer}.table th.is-sortable .icon-sort{opacity:.5}.table th.is-active{background-color:var(--vbr-widget-table-table-header-active-bg-color);color:var(--vbr-widget-table-header-active-color)}.table th.is-active .icon-sort{opacity:1}.table th.is-asc,.table th.is-desc{position:relative}.table th.is-w-auto{width:auto}.table th .is-icon-sort{width:11px;height:11px;margin-left:5px}.table td.is-active{font-weight:700;color:var(--vbr-widget-table-active-color);background:var(--vbr-widget-table-active-bg-color)}.table td.is-zero{color:var(--vbr-widget-table-zero-color)}.table td.is-possible-empty:empty:before{content:"0";color:var(--vbr-widget-table-zero-color)}.table td .is-text-light,.table td.is-text-light{color:var(--vbr-widget-table-cell-light-color)}.table td .is-text-dark,.table td.is-text-dark{color:var(--vbr-widget-table-cell-dark-color)}.table td .is-logo-image{display:inline-block;vertical-align:middle;width:var(--vbr-widget-table-cell-logo-size);height:var(--vbr-widget-table-cell-logo-size)}.table td .is-portrait-image{display:inline-block;vertical-align:middle;width:var(--vbr-widget-table-cell-portrait-size);height:var(--vbr-widget-table-cell-portrait-size);object-fit:cover;object-position:top;overflow:hidden;border-radius:100%;border:1px solid var(--vbr-widget-primary-color-100)}.table td .is-portrait-image img{width:var(--vbr-widget-table-cell-portrait-size);height:auto}.table td.is-text-bold{font-weight:700}.table td.is-text-italic{font-style:italic}.table td.is-text-xl{font-size:var(--vbr-widget-typography-font-size-700)}.table td .is-text-accent{color:var(--vbr-widget-secondary-color-500)}.table td.is-w-auto{width:auto}.table td.is-horizontal-content{display:inline-flex;align-items:center}.table td.is-text-positive,.table td .is-text-positive{color:var(--vbr-widget-live-game-color)}.table td.is-text-negative,.table td .is-text-negative{color:var(--vbr-widget-danger-color-a400)}.table td.is-has-image{padding:0 2px}.table td .is-duplicated{color:var(--vbr-widget-table-neutral-color)}.table td svg{width:16px;height:16px}.table td button{padding:3px;line-height:0;border:none;outline:none;background-color:transparent}.table td button:hover{background-color:var(--vbr-widget-popover-trigger-hover-bg-color)}.table td button:active,.table td button:focus{background-color:var(--vbr-widget-popover-trigger-focus-bg-color)}.table td a{text-decoration:none}.table td .label{padding:3px 6px;font-size:var(--vbr-widget-typography-font-size-100);font-weight:700;color:var(--vbr-widget-table-label-color);background-color:var(--vbr-widget-table-label-bg-color);border-radius:2px}.table td .label:not(:last-of-type){margin-right:3px}.table td a{color:var(--vbr-widget-link-color)}.table td a:hover{color:var(--vbr-widget-hover-color)}.table td .is-team-name-long{display:block}.table td .is-team-name-short{display:none}@container table-wrapper (max-width: 768px){.table td .is-team-name-long{display:none}.table td .is-team-name-short{display:block}}.table tr.is-highlighted{color:var(--vbr-widget-danger-color-a400)}.table tr.is-optional{opacity:.5}.table tr:nth-child(2n){background:var(--vbr-widget-table-stripped-bg-color)}.table tr:nth-child(2n) td.is-active{background-color:var(--vbr-widget-table-active-even-bg-color)}.table tbody tr:focus-within,.table tbody tr:hover{color:var(--vbr-widget-table-hover-color);background-color:var(--vbr-widget-table-hover-bg-color)}.table tbody tr:focus-within td.is-active,.table tbody tr:hover td.is-active{color:var(--vbr-widget-table-active-hover-color);background-color:var(--vbr-widget-table-active-hover-bg-color)}', xr = ".is-dropdown-menu{padding:8px 0;margin:0;min-width:160px;color:#000;list-style:none;background:var(--vbr-widget-popover-bg-color);border-radius:3px;box-shadow:0 5px 30px #0000004d}.is-dropdown-menu .is-dropdown-item{display:flex;align-items:center;padding:.25rem 1rem;font-family:var(--vbr-widget-font-family);line-height:24px;color:var(--vbr-widget-dropdown-item-color);text-align:inherit;text-decoration:none;white-space:nowrap;background-color:transparent;border:0;cursor:pointer}.is-dropdown-menu .is-dropdown-item:hover{color:var(--vbr-widget-dropdown-item-hover-color);background-color:var(--vbr-widget-dropdown-item-hover-bg-color)}.is-dropdown-menu .is-dropdown-item.is-selected{color:var(--vbr-widget-dropdown-item-selected-color);background-color:var(--vbr-widget-dropdown-item-selected-hover-bg-color)}.is-dropdown-menu .is-dropdown-item.is-selected:hover{background-color:var(--vbr-widget-dropdown-item-selected-hover-bg-color)}.is-dropdown-menu .is-dropdown-item svg{margin-right:8px}", ji = ".is-card{container-name:card-row;container-type:inline-size;background-color:#fff;padding:15px;margin-bottom:20px;box-shadow:0 2px 4px #0000001a,0 2px 2px #0000001a}.is-card>div{border-bottom:1px solid var(--vbr-widget-primary-color-100)}.is-card>div:last-of-type{border:none}.is-sticky{position:sticky;top:var(--vbr-widget-sticky-top-offset);z-index:10}.is-blured-bg{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.card-item{display:grid;grid-gap:1rem;grid-template-columns:2fr 1fr 2fr;padding:2rem 0;border-bottom:1px solid var(--vbr-widget-primary-color-100)}.card-item.is-optional{opacity:.4;transition:opacity .3s ease-out}.card-item.is-optional:hover{opacity:1}.card-item svg{display:block}.card-item .is-team-name-short{display:none}@container card-row (max-width: 640px){.card-item .is-team-name-long{display:none}.card-item .is-team-name-short{display:block}}.card-item .is-info{grid-column:1/4;display:flex;justify-content:center;align-items:center;color:var(--vbr-widget-primary-color-500)}.card-item .is-home-team{display:flex;gap:8px;align-items:center;justify-content:flex-end;font-weight:700}.card-item .is-away-team{display:flex;gap:8px;align-items:center;justify-content:flex-start;font-weight:700}.card-item .is-logo-image{width:40px}.card-item .is-game-data{display:flex;flex-direction:column;align-items:center;justify-content:center}.card-item .is-game-data a{display:flex;flex-direction:column;align-items:center;color:var(--vbr-widget-primary-color-900)}.card-item .is-game-data a:hover{color:var(--vbr-widget-primary-color-600)}.card-item .is-game-data.is-live,.card-item .is-game-data.is-live a{color:var(--vbr-widget-live-game-color)}.section-selector{margin:20px 0;border-bottom:1px solid var(--vbr-widget-primary-color-200)}.main-image-wrapper{--overlay-size: 160px;--overlay-radius: 50%;display:grid;grid-template-columns:1fr var(--overlay-size) 1fr;grid-template-rows:1fr 1fr 1fr calc(var(--overlay-size) / 2) calc(var(--overlay-size) / 2);margin-left:var(--vbr-widget-main-image-wrapper-horizontal-margin);margin-right:var(--vbr-widget-main-image-wrapper-horizontal-margin)}.main-image-wrapper:has(img.is-default){min-height:470px}.main-image-wrapper .is-main-image{grid-column:1/4;grid-row:1/5;display:flex;justify-content:center;align-items:center;background-color:var(--vbr-widget-primary-color-50);box-shadow:0 2px 4px #0003}.main-image-wrapper .is-main-image .is-default{filter:grayscale(1);opacity:.3;mix-blend-mode:multiply}.main-image-wrapper .is-main-image img:not(.is-default){width:100%}.main-image-wrapper .is-ovarlay-image{grid-row:4/-1;grid-column:2;justify-self:center;overflow:hidden;border-radius:var(--overlay-radius);z-index:1}.main-image-wrapper .is-ovarlay-image img{width:100%;aspect-ratio:1}", Oi = ".paginator{display:flex;flex-direction:row;list-style-type:none;margin:10px 0;padding:0}.paginator button,.paginator div{display:flex;align-items:center;justify-content:center;padding:6px 12px;text-decoration:none;cursor:pointer;color:var(--vbr-widget-paginator-color);border:1px solid var(--vbr-widget-paginator-border-color);background-color:var(--vbr-widget-paginator-bg-color);margin-left:-1px}.paginator button .icon,.paginator div .icon{width:16px;height:16px;margin:0 -4px}.paginator button:hover:not(.paginator button.is-disabled,.paginator button.is-active,.paginator div.is-disabled,.paginator div.is-active),.paginator div:hover:not(.paginator button.is-disabled,.paginator button.is-active,.paginator div.is-disabled,.paginator div.is-active){color:var(--vbr-widget-paginator-hover-color);background-color:var(--vbr-widget-paginator-hover-bg-color)}.paginator button:disabled,.paginator button.is-disabled,.paginator div:disabled,.paginator div.is-disabled{color:var(--vbr-widget-paginator-disabled-color);background-color:var(--vbr-widget-paginator-bg-color);pointer-events:none;cursor:default}.paginator button.is-active,.paginator div.is-active{color:var(--vbr-widget-paginator-active-color);background-color:var(--vbr-widget-paginator-active-bg-color);border-color:var(--vbr-widget-paginator-active-bg-color);cursor:default}", Gi = { class: "section-selector" }, Ri = ["onClick"], Yi = { class: "section-selector" }, Ui = ["onClick"], Ki = ["onClick"], Bi = ["onClick"], Vi = ["onClick"], Fi = {
2004
2006
  __name: "Championship.ce",
2005
2007
  props: {
2006
2008
  locale: {
@@ -2033,118 +2035,118 @@ const xi = {
2033
2035
  }
2034
2036
  },
2035
2037
  setup(t) {
2036
- const e = t, r = O(null), a = O(Fe()), o = A(() => Ve(/* @__PURE__ */ new Date(), d(a), e.locale)), i = { en: we, hu: xe }, n = (l) => bt(e.externalGameResolver, l), s = (l) => Qr(e.externalTeamResolver, l);
2037
- return (l, c) => (u(), _("div", null, [
2038
- T(d(ye), {
2038
+ const e = t, r = O(null), a = O(We()), o = T(() => He(/* @__PURE__ */ new Date(), s(a), e.locale)), i = { en: be, hu: he }, n = (c) => Je(e.externalGameResolver, c), l = (c) => Zr(e.externalTeamResolver, c);
2039
+ return (c, d) => (p(), _("div", null, [
2040
+ S(s(ve), {
2039
2041
  locale: e.locale,
2040
2042
  messages: i
2041
2043
  }, {
2042
- default: C(({ t: p }) => [
2043
- T(d(Ce), null, {
2044
- default: C(({ error: m, hasError: y }) => [
2045
- y ? (u(), P(d(Ae), {
2044
+ default: N(({ t: u }) => [
2045
+ S(s(Ae), null, {
2046
+ default: N(({ error: b, hasError: w }) => [
2047
+ w ? (p(), D(s(De), {
2046
2048
  key: 0,
2047
- error: m
2048
- }, null, 8, ["error"])) : D("", !0),
2049
- T(xi, {
2049
+ error: b
2050
+ }, null, 8, ["error"])) : A("", !0),
2051
+ S(zi, {
2050
2052
  locale: t.locale,
2051
2053
  timezone: a.value,
2052
2054
  "championship-name": t.championshipName,
2053
2055
  limit: t.limit,
2054
2056
  "initial-phase-id": t.initialPhaseId
2055
2057
  }, {
2056
- default: C(({
2057
- sort: v,
2058
+ default: N(({
2059
+ sort: h,
2058
2060
  page: k,
2059
- games: b,
2061
+ games: v,
2060
2062
  phases: I,
2061
- report: x,
2063
+ report: y,
2062
2064
  phaseId: z,
2063
- columns: w,
2064
- seasons: h,
2065
- reports: $,
2066
- isLoading: E,
2067
- selectedPanel: S,
2065
+ columns: x,
2066
+ seasons: f,
2067
+ reports: C,
2068
+ isLoading: L,
2069
+ selectedPanel: $,
2068
2070
  championships: j,
2069
- championshipId: L,
2070
- selectedChampionshipId: J,
2071
- onSort: se,
2072
- changePanel: te,
2071
+ championshipId: P,
2072
+ selectedChampionshipId: Q,
2073
+ onSort: ce,
2074
+ changePanel: ae,
2073
2075
  changePhase: V,
2074
- changeSeason: N,
2075
- onChangeReport: G,
2076
- onPaginatorChange: oe,
2076
+ changeSeason: E,
2077
+ onChangeReport: Y,
2078
+ onPaginatorChange: ie,
2077
2079
  changeChampionship: F
2078
2080
  }) => [
2079
- T(Si, {
2080
- seasons: h,
2081
- "championship-id": L,
2082
- "onUpdate:championshipId": N
2081
+ S(Ci, {
2082
+ seasons: f,
2083
+ "championship-id": P,
2084
+ "onUpdate:championshipId": E
2083
2085
  }, null, 8, ["seasons", "championship-id", "onUpdate:championshipId"]),
2084
- g("div", Mi, [
2085
- (u(!0), _(R, null, W(j, (re) => (u(), _("button", {
2086
- key: re.phaseId,
2087
- class: B(["tab-button", { "is-active": re.sectionId === J }]),
2088
- onClick: (Ze) => F(re.sectionId)
2089
- }, f(re.sectionName), 11, ji))), 128))
2086
+ g("div", Gi, [
2087
+ (p(!0), _(R, null, W(j, (oe) => (p(), _("button", {
2088
+ key: oe.phaseId,
2089
+ class: G(["tab-button", { "is-active": oe.sectionId === Q }]),
2090
+ onClick: (at) => F(oe.sectionId)
2091
+ }, m(oe.sectionName), 11, Ri))), 128))
2090
2092
  ]),
2091
- T(Di, {
2093
+ S(Mi, {
2092
2094
  phases: I,
2093
2095
  "phase-id": z,
2094
- reports: $,
2095
- report: x,
2096
- "is-reports-visible": S === d(ue) || S === d(Me),
2096
+ reports: C,
2097
+ report: y,
2098
+ "is-reports-visible": $ === s(xe) || $ === s(Ge),
2097
2099
  "onUpdate:phaseId": V,
2098
- "onUpdate:report": G
2100
+ "onUpdate:report": Y
2099
2101
  }, null, 8, ["phases", "phase-id", "reports", "report", "is-reports-visible", "onUpdate:phaseId", "onUpdate:report"]),
2100
- g("div", Oi, [
2102
+ g("div", Yi, [
2101
2103
  g("button", {
2102
- class: B(["tab-button", { "is-active": S === d(ze) }]),
2103
- onClick: (re) => te(d(ze))
2104
- }, f(p("selection.schedule")), 11, Gi),
2104
+ class: G(["tab-button", { "is-active": $ === s($e) }]),
2105
+ onClick: (oe) => ae(s($e))
2106
+ }, m(u("selection.schedule")), 11, Ui),
2105
2107
  g("button", {
2106
- class: B(["tab-button", { "is-active": S === d(it) }]),
2107
- onClick: (re) => te(d(it))
2108
- }, f(p("selection.standings")), 11, Ri),
2108
+ class: G(["tab-button", { "is-active": $ === s(lt) }]),
2109
+ onClick: (oe) => ae(s(lt))
2110
+ }, m(u("selection.standings")), 11, Ki),
2109
2111
  g("button", {
2110
- class: B(["tab-button", { "is-active": S === d(ue) }]),
2111
- onClick: (re) => te(d(ue))
2112
- }, f(p("selection.playerStats")), 11, Yi),
2112
+ class: G(["tab-button", { "is-active": $ === s(xe) }]),
2113
+ onClick: (oe) => ae(s(xe))
2114
+ }, m(u("selection.playerStats")), 11, Bi),
2113
2115
  g("button", {
2114
- class: B(["tab-button", { "is-active": S === d(Me) }]),
2115
- onClick: (re) => te(d(Me))
2116
- }, f(p("selection.teamStats")), 11, Ui)
2116
+ class: G(["tab-button", { "is-active": $ === s(Ge) }]),
2117
+ onClick: (oe) => ae(s(Ge))
2118
+ }, m(u("selection.teamStats")), 11, Vi)
2117
2119
  ]),
2118
- T(d(Qt), {
2119
- columns: w,
2120
- rows: b.rows,
2121
- sort: v,
2122
- "is-loading": E,
2120
+ S(s(tr), {
2121
+ columns: x,
2122
+ rows: v.rows,
2123
+ sort: h,
2124
+ "is-loading": L,
2123
2125
  "offset-name": o.value,
2124
- "external-team-resolver": s,
2126
+ "external-team-resolver": l,
2125
2127
  "external-game-resolver": n,
2126
2128
  "append-to": r.value,
2127
- "hide-columns": S === d(ze) ? "broadcast" : "",
2128
- onSort: se
2129
+ "hide-columns": $ === s($e) ? "broadcast" : "",
2130
+ onSort: ce
2129
2131
  }, null, 8, ["columns", "rows", "sort", "is-loading", "offset-name", "append-to", "hide-columns", "onSort"]),
2130
- S === d(ue) ? (u(), P(d(Yr), {
2132
+ $ === s(xe) ? (p(), D(s(Ur), {
2131
2133
  key: 0,
2132
2134
  page: k,
2133
2135
  "items-per-page": e.limit,
2134
- "total-items": b.totalItems,
2136
+ "total-items": v.totalItems,
2135
2137
  "range-length": 5,
2136
- onChange: oe
2137
- }, null, 8, ["page", "items-per-page", "total-items", "onChange"])) : D("", !0),
2138
- S === d(it) ? (u(), _(R, { key: 1 }, [
2139
- T(d(Oe), {
2140
- rows: b.rows,
2138
+ onChange: ie
2139
+ }, null, 8, ["page", "items-per-page", "total-items", "onChange"])) : A("", !0),
2140
+ $ === s(lt) ? (p(), _(R, { key: 1 }, [
2141
+ S(s(Re), {
2142
+ rows: v.rows,
2141
2143
  "additional-key": "inheritedPoints"
2142
2144
  }, null, 8, ["rows"]),
2143
- T(d(Oe), {
2144
- rows: b.rows,
2145
+ S(s(Re), {
2146
+ rows: v.rows,
2145
2147
  "additional-key": "penaltyPoints"
2146
2148
  }, null, 8, ["rows"])
2147
- ], 64)) : D("", !0)
2149
+ ], 64)) : A("", !0)
2148
2150
  ]),
2149
2151
  _: 2
2150
2152
  }, 1032, ["locale", "timezone", "championship-name", "limit", "initial-phase-id"]),
@@ -2160,7 +2162,239 @@ const xi = {
2160
2162
  }, 8, ["locale"])
2161
2163
  ]));
2162
2164
  }
2163
- }, Bi = /* @__PURE__ */ ke(Ki, [["styles", [_e, Xe, Qe, vr, br, hr, fr, Pi, Li]]]), Vi = {
2165
+ }, qi = /* @__PURE__ */ ye(Fi, [["styles", [fe, tt, rt, fr, yr, wr, xr, ji, Oi]]]);
2166
+ function Hi(t, e = X) {
2167
+ const r = O({
2168
+ days: "00",
2169
+ hours: "00",
2170
+ minutes: "00",
2171
+ seconds: "00"
2172
+ }), a = _e(!1), o = _e(null), { pause: i, resume: n } = Ke(() => {
2173
+ const l = (/* @__PURE__ */ new Date()).getTime();
2174
+ let c = o.value - l;
2175
+ c <= 0 && (i(), c = 0, a.value = !0, e()), r.value = Wi(c);
2176
+ }, 1e3, { immediate: !1, immediateCallback: !0 });
2177
+ return ne(() => U(t), (l) => {
2178
+ o.value = new Date(l).getTime(), n();
2179
+ }, { immediate: !1 }), { date: r, finished: a };
2180
+ }
2181
+ function Wi(t) {
2182
+ return {
2183
+ days: Math.floor(t / (1e3 * 60 * 60 * 24)).toString().padStart(2, "0").split(""),
2184
+ hours: Math.floor(t % (1e3 * 60 * 60 * 24) / (1e3 * 60 * 60)).toString().padStart(2, "0").split(""),
2185
+ minutes: Math.floor(t % (1e3 * 60 * 60) / (1e3 * 60)).toString().padStart(2, "0").split(""),
2186
+ seconds: Math.floor(t % (1e3 * 60) / 1e3).toString().padStart(2, "0").split("")
2187
+ };
2188
+ }
2189
+ const Ji = ["data-number"], te = {
2190
+ __name: "Number",
2191
+ props: {
2192
+ number: [Number, String],
2193
+ direction: {
2194
+ type: String,
2195
+ default: "increase"
2196
+ }
2197
+ },
2198
+ setup(t) {
2199
+ return (e, r) => (p(), _("div", {
2200
+ class: "is-number",
2201
+ "data-number": t.number
2202
+ }, [
2203
+ S(Jt, {
2204
+ name: `slide-${t.direction}`
2205
+ }, {
2206
+ default: N(() => [
2207
+ (p(), _("span", { key: t.number }, m(t.number), 1))
2208
+ ]),
2209
+ _: 1
2210
+ }, 8, ["name"])
2211
+ ], 8, Ji));
2212
+ }
2213
+ }, Xi = '.game-countdown{--title-height: 2rem;display:grid;grid-template-rows:var(--title-height) 1fr 4rem;box-shadow:0 2px 4px #0003}.game-countdown .game-countdown-title{text-align:center;font-size:var(--vbr-widget-typography-font-size-300);font-weight:700;line-height:var(--title-height);color:var(--vbr-widget-primary-color-200);background-color:var(--vbr-widget-primary-color-900)}.game-countdown .game-countdown-container{display:grid;grid-template-areas:"stack";place-items:center;background-color:var(--vbr-widget-primary-color-800)}.game-countdown .game-countdown-container>div{visibility:hidden}.game-countdown .game-countdown-container>div.is-visible{visibility:visible}.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 .5rem;align-items:center;color:var(--vbr-widget-primary-color-300);font-weight:700}.game-countdown .game-countdown-result .is-separator{grid-area:separator;font-size:3.125rem;line-height:1;font-size:clamp(2rem,10vw,5rem)}.game-countdown .game-countdown-result :is(.is-home-score,.is-away-score){display:flex}.game-countdown .game-countdown-result .is-home-score{grid-area:home-score}.game-countdown .game-countdown-result .is-away-score{grid-area:away-score}.game-countdown .game-countdown-result .is-period-results{grid-area:period-results;font-size:var(--vbr-widget-typography-font-size-300);text-align:center}.game-countdown .game-countdown-result .is-period{grid-area:period;font-size:var(--vbr-widget-typography-font-size-50);font-weight:700;text-align:center;text-transform:uppercase}.game-countdown .game-countdown-result .is-live{color:var(--vbr-widget-live-game-color)}.game-countdown .game-countdown-counter{grid-area:stack;display:flex;gap:1rem;justify-content:space-around;padding:1rem;font-size:var(--vbr-widget-typography-font-size-50);font-weight:700;text-transform:uppercase;color:var(--vbr-widget-primary-color-300)}.game-countdown .game-countdown-counter .is-number{color:var(--vbr-widget-live-game-color)}.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:1rem;background-color:var(--vbr-widget-primary-color-700);font-size:var(--vbr-widget-typography-font-size-500);font-weight:700;line-height:var(--vbr-widget-typography-font-lineheight-400);color:var(--vbr-widget-primary-color-50)}.game-countdown .game-countdown-gamedata .is-game-date{grid-area:game-date;text-align:center;color:var(--vbr-widget-primary-color-200);font-size:var(--vbr-widget-typography-font-size-100)}.game-countdown .game-countdown-gamedata .is-home-team-logo{grid-area:home-team-logo}.game-countdown .game-countdown-gamedata .is-away-team-logo{grid-area:away-team-logo}.game-countdown .game-countdown-gamedata :is(.is-home-team,.is-away-team){overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.game-countdown .game-countdown-gamedata .is-home-team{grid-area:home-team;text-align:end}.game-countdown .game-countdown-gamedata .is-away-team{grid-area:away-team}.game-countdown .game-countdown-gamedata .is-separator{grid-area:separator;text-align:center}.game-countdown .game-countdown-gamedata img{display:block;width:100%;aspect-ratio:1}.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}.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}}', Qi = ".slide-increase-enter-active,.slide-increase-leave-active{transition:all .8s var(--ease-spring-1)}.slide-increase-enter-from{transform:translateY(100%)}.slide-increase-enter-to,.slide-increase-leave-from{transform:translateY(0)}.slide-increase-leave-to{transform:translateY(-100%)}.slide-decrease-enter-active,.slide-decrease-leave-active{transition:all .8s var(--ease-spring-1)}.slide-decrease-enter-from{transform:translateY(-100%)}.slide-decrease-enter-to,.slide-decrease-leave-from{transform:translateY(0)}.slide-decrease-leave-to{transform:translateY(100%)}", Zi = ["href", "target"], en = { class: "game-countdown-title" }, tn = { class: "game-countdown-container" }, rn = ["textContent"], an = ["textContent"], on = ["textContent"], nn = { style: { display: "flex" } }, sn = ["textContent"], ln = { style: { display: "flex" } }, cn = ["textContent"], dn = { style: { display: "flex" } }, gn = ["textContent"], un = { style: { display: "flex" } }, pn = { class: "game-countdown-gamedata" }, mn = { class: "is-game-date" }, vn = { class: "is-home-team" }, bn = { class: "is-away-team" }, hn = {
2214
+ __name: "Countdown.ce",
2215
+ props: {
2216
+ locale: {
2217
+ type: String,
2218
+ default: "hu"
2219
+ },
2220
+ apiKey: {
2221
+ type: String,
2222
+ default: ""
2223
+ },
2224
+ gameId: {
2225
+ type: String,
2226
+ default: ""
2227
+ },
2228
+ // externalGameResolver, isGameTargetExternal
2229
+ ...er
2230
+ },
2231
+ setup(t) {
2232
+ const e = t, r = { en: be, hu: he }, {
2233
+ state: a,
2234
+ execute: o,
2235
+ isLoading: i
2236
+ } = ee({
2237
+ options: {
2238
+ path: "/v2/game-data",
2239
+ apiKey: e.apiKey,
2240
+ params: {
2241
+ gameId: e.gameId
2242
+ },
2243
+ immediate: !0
2244
+ },
2245
+ onSuccess: k
2246
+ // onError,
2247
+ }), { pause: n, resume: l } = Ke(() => {
2248
+ o();
2249
+ }, 3e4, { immediate: !1 }), c = T(() => (a.value.homeTeamScore || 0).toString().padStart(2, "0").split("")), d = T(() => (a.value.awayTeamScore || 0).toString().padStart(2, "0").split("")), { date: u, finished: b } = Hi(T(() => a.value.gameDate), () => l()), w = T(() => Je(e.externalGameResolver, { gameId: e.gameId })), h = T(() => e.isGameTargetExternal ? "_blank" : "_self");
2250
+ function k(v) {
2251
+ v.gameStatus === 1 && l(), v.gameStatus > 1 && n();
2252
+ }
2253
+ return (v, I) => (p(), D(s(ve), {
2254
+ locale: t.locale,
2255
+ messages: r
2256
+ }, {
2257
+ default: N(({ t: y }) => {
2258
+ var z, x, f, C;
2259
+ return [
2260
+ g("a", {
2261
+ href: w.value,
2262
+ target: h.value,
2263
+ class: "game-countdown"
2264
+ }, [
2265
+ g("div", en, [
2266
+ s(Oe)(s(a)) ? A("", !0) : (p(), _(R, { key: 0 }, [
2267
+ re(m(s(a).championshipName) + " - " + m(s(a).divisionName), 1)
2268
+ ], 64))
2269
+ ]),
2270
+ g("div", tn, [
2271
+ g("div", {
2272
+ class: G(["game-countdown-result", { "is-visible": s(b) }])
2273
+ }, [
2274
+ g("div", {
2275
+ class: "is-period",
2276
+ textContent: m(y(s(a).period ? `game.period.${s(a).period}` : ""))
2277
+ }, null, 8, rn),
2278
+ g("div", {
2279
+ class: G(["is-home-score", { "is-live": s(a).gameStatus === 1 }]),
2280
+ style: { display: "flex" }
2281
+ }, [
2282
+ c.value[0] !== "0" ? (p(), D(te, {
2283
+ key: 0,
2284
+ number: c.value[0]
2285
+ }, null, 8, ["number"])) : A("", !0),
2286
+ S(te, {
2287
+ number: c.value[1]
2288
+ }, null, 8, ["number"])
2289
+ ], 2),
2290
+ g("span", {
2291
+ class: G(["is-separator", { "is-live": s(a).gameStatus === 1 }])
2292
+ }, ":", 2),
2293
+ g("div", {
2294
+ class: G(["is-away-score", { "is-live": s(a).gameStatus === 1 }]),
2295
+ style: { display: "flex" }
2296
+ }, [
2297
+ d.value[0] !== "0" ? (p(), D(te, {
2298
+ key: 0,
2299
+ number: d.value[0]
2300
+ }, null, 8, ["number"])) : A("", !0),
2301
+ S(te, {
2302
+ number: d.value[1]
2303
+ }, null, 8, ["number"])
2304
+ ], 2),
2305
+ g("div", {
2306
+ class: "is-period-results",
2307
+ textContent: m(s(a).periodResults)
2308
+ }, null, 8, an)
2309
+ ], 2),
2310
+ g("div", {
2311
+ class: G(["game-countdown-counter", { "is-visible": !s(b) && !s(i) }])
2312
+ }, [
2313
+ g("div", null, [
2314
+ g("div", {
2315
+ textContent: m(y("countdown.days"))
2316
+ }, null, 8, on),
2317
+ g("div", nn, [
2318
+ S(te, {
2319
+ number: s(u).days[0],
2320
+ direction: "decrease"
2321
+ }, null, 8, ["number"]),
2322
+ S(te, {
2323
+ number: s(u).days[1],
2324
+ direction: "decrease"
2325
+ }, null, 8, ["number"])
2326
+ ])
2327
+ ]),
2328
+ g("div", null, [
2329
+ g("div", {
2330
+ textContent: m(y("countdown.hours"))
2331
+ }, null, 8, sn),
2332
+ g("div", ln, [
2333
+ S(te, {
2334
+ number: s(u).hours[0],
2335
+ direction: "decrease"
2336
+ }, null, 8, ["number"]),
2337
+ S(te, {
2338
+ number: s(u).hours[1],
2339
+ direction: "decrease"
2340
+ }, null, 8, ["number"])
2341
+ ])
2342
+ ]),
2343
+ g("div", null, [
2344
+ g("div", {
2345
+ textContent: m(y("countdown.minutes"))
2346
+ }, null, 8, cn),
2347
+ g("div", dn, [
2348
+ S(te, {
2349
+ number: s(u).minutes[0],
2350
+ direction: "decrease"
2351
+ }, null, 8, ["number"]),
2352
+ S(te, {
2353
+ number: s(u).minutes[1],
2354
+ direction: "decrease"
2355
+ }, null, 8, ["number"])
2356
+ ])
2357
+ ]),
2358
+ g("div", null, [
2359
+ g("div", {
2360
+ textContent: m(y("countdown.seconds"))
2361
+ }, null, 8, gn),
2362
+ g("div", un, [
2363
+ S(te, {
2364
+ number: s(u).seconds[0],
2365
+ direction: "decrease"
2366
+ }, null, 8, ["number"]),
2367
+ S(te, {
2368
+ number: s(u).seconds[1],
2369
+ direction: "decrease"
2370
+ }, null, 8, ["number"])
2371
+ ])
2372
+ ])
2373
+ ], 2)
2374
+ ]),
2375
+ g("div", pn, [
2376
+ g("div", mn, m(s(J)(s(a).gameDate, "L dddd - HH:mm", null, t.locale)), 1),
2377
+ (z = s(a).homeTeam) != null && z.logo ? (p(), D(s(ue), {
2378
+ key: 0,
2379
+ class: "is-home-team-logo",
2380
+ src: s(a).homeTeam.logo
2381
+ }, null, 8, ["src"])) : A("", !0),
2382
+ g("span", vn, m((x = s(a).homeTeam) == null ? void 0 : x.longName), 1),
2383
+ I[0] || (I[0] = g("span", { class: "is-separator" }, "-", -1)),
2384
+ g("span", bn, m((f = s(a).awayTeam) == null ? void 0 : f.longName), 1),
2385
+ (C = s(a).awayTeam) != null && C.logo ? (p(), D(s(ue), {
2386
+ key: 1,
2387
+ class: "is-away-team-logo",
2388
+ src: s(a).awayTeam.logo
2389
+ }, null, 8, ["src"])) : A("", !0)
2390
+ ])
2391
+ ], 8, Zi)
2392
+ ];
2393
+ }),
2394
+ _: 1
2395
+ }, 8, ["locale"]));
2396
+ }
2397
+ }, fn = /* @__PURE__ */ ye(hn, [["styles", [fe, Xi, Qi]]]), yn = {
2164
2398
  xmlns: "http://www.w3.org/2000/svg",
2165
2399
  viewBox: "0 0 24 24",
2166
2400
  fill: "none",
@@ -2169,12 +2403,12 @@ const xi = {
2169
2403
  "stroke-linecap": "round",
2170
2404
  "stroke-linejoin": "round"
2171
2405
  };
2172
- function Fi(t, e) {
2173
- return u(), _("svg", Vi, e[0] || (e[0] = [
2406
+ function wn(t, e) {
2407
+ return p(), _("svg", yn, e[0] || (e[0] = [
2174
2408
  g("polyline", { points: "15 18 9 12 15 6" }, null, -1)
2175
2409
  ]));
2176
2410
  }
2177
- const qi = { render: Fi }, Hi = {
2411
+ const xn = { render: wn }, _n = {
2178
2412
  xmlns: "http://www.w3.org/2000/svg",
2179
2413
  viewBox: "0 0 24 24",
2180
2414
  fill: "none",
@@ -2183,15 +2417,15 @@ const qi = { render: Fi }, Hi = {
2183
2417
  "stroke-linecap": "round",
2184
2418
  "stroke-linejoin": "round"
2185
2419
  };
2186
- function Wi(t, e) {
2187
- return u(), _("svg", Hi, e[0] || (e[0] = [
2420
+ function kn(t, e) {
2421
+ return p(), _("svg", _n, e[0] || (e[0] = [
2188
2422
  g("polyline", { points: "9 18 15 12 9 6" }, null, -1)
2189
2423
  ]));
2190
2424
  }
2191
- const zt = { render: Wi }, yr = Symbol("CarouselContext");
2192
- function Ji({ apiKey: t }) {
2193
- const { execute: e } = Ha(
2194
- (r) => aa("/v2/game-data", t, r).then((a) => ({ ...a, ...r })),
2425
+ const $t = { render: kn }, _r = Symbol("CarouselContext");
2426
+ function zn({ apiKey: t }) {
2427
+ const { execute: e } = Xa(
2428
+ (r) => oa("/v2/game-data", t, r).then((a) => ({ ...a, ...r })),
2195
2429
  {},
2196
2430
  {
2197
2431
  immediate: !1,
@@ -2202,20 +2436,20 @@ function Ji({ apiKey: t }) {
2202
2436
  execute: e
2203
2437
  };
2204
2438
  }
2205
- function Xi(t, e, r) {
2206
- const a = Qi(e, r);
2439
+ function Sn(t, e, r) {
2440
+ const a = $n(e, r);
2207
2441
  return t.reduce((i, n) => (a.has(n.id) ? i.push({ ...a.get(n.id), ...n }) : i.push(n), i), []);
2208
2442
  }
2209
- function Qi(t, e) {
2443
+ function $n(t, e) {
2210
2444
  const r = /* @__PURE__ */ new Map();
2211
2445
  for (const a of t)
2212
2446
  r.set(a[e], a);
2213
2447
  return r;
2214
2448
  }
2215
- function Vt(t) {
2449
+ function Ft(t) {
2216
2450
  return !(t.includes("_int") || ["wu", "pre", "so", "end"].includes(t));
2217
2451
  }
2218
- const Zi = { class: "games-timeline" }, en = ["disabled"], tn = { ref: "container" }, rn = ["disabled"], an = {
2452
+ const In = { class: "games-timeline" }, Cn = ["disabled"], Tn = { ref: "container" }, Nn = ["disabled"], En = {
2219
2453
  __name: "Carousel",
2220
2454
  props: {
2221
2455
  initialIndex: {
@@ -2224,74 +2458,74 @@ const Zi = { class: "games-timeline" }, en = ["disabled"], tn = { ref: "containe
2224
2458
  }
2225
2459
  },
2226
2460
  setup(t) {
2227
- const e = t, r = Sr("container"), a = O(e.initialIndex), o = O([]);
2228
- Ir(yr, {
2229
- register: (y) => {
2230
- o.value.includes(y) || (o.value.push(y), o.value = Zr(o.value, (v) => pe(r.value).querySelector(`#${v}`)));
2461
+ const e = t, r = Cr("container"), a = O(e.initialIndex), o = O([]);
2462
+ Tr(_r, {
2463
+ register: (w) => {
2464
+ o.value.includes(w) || (o.value.push(w), o.value = ea(o.value, (h) => we(r.value).querySelector(`#${h}`)));
2231
2465
  },
2232
- unregister: (y) => {
2233
- const v = o.value.indexOf(y);
2234
- v !== -1 && o.value.splice(v, 1);
2466
+ unregister: (w) => {
2467
+ const h = o.value.indexOf(w);
2468
+ h !== -1 && o.value.splice(h, 1);
2235
2469
  }
2236
2470
  });
2237
- const { arrivedState: n } = Ja(r, { onStop: m }), s = A(
2238
- () => pe(r).querySelector(`#${o.value[a.value]}`)
2471
+ const { arrivedState: n } = Za(r, { onStop: b }), l = T(
2472
+ () => we(r).querySelector(`#${o.value[a.value]}`)
2239
2473
  );
2240
- pt(() => p()), le(
2474
+ vt(() => u()), ne(
2241
2475
  () => e.initialIndex,
2242
- (y) => {
2243
- a.value = y, Se(() => p());
2476
+ (w) => {
2477
+ a.value = w, Ie(() => u());
2244
2478
  }
2245
2479
  );
2246
- function l() {
2247
- n.left || (a.value--, p({ behavior: "smooth" }));
2248
- }
2249
2480
  function c() {
2250
- n.right || (a.value++, p({ behavior: "smooth" }));
2481
+ n.left || (a.value--, u({ behavior: "smooth" }));
2251
2482
  }
2252
- function p(y) {
2253
- var v;
2254
- (v = s.value) == null || v.scrollIntoView({ inline: "start", block: "nearest", ...y });
2483
+ function d() {
2484
+ n.right || (a.value++, u({ behavior: "smooth" }));
2255
2485
  }
2256
- function m() {
2486
+ function u(w) {
2487
+ var h;
2488
+ (h = l.value) == null || h.scrollIntoView({ inline: "start", block: "nearest", ...w });
2489
+ }
2490
+ function b() {
2257
2491
  var k;
2258
- const y = (k = pe(r).getBoundingClientRect()) == null ? void 0 : k.left, v = Array.from(pe(r).children).findIndex(
2259
- (b) => Math.round(b.getBoundingClientRect().left - y) >= 0
2492
+ const w = (k = we(r).getBoundingClientRect()) == null ? void 0 : k.left, h = Array.from(we(r).children).findIndex(
2493
+ (v) => Math.round(v.getBoundingClientRect().left - w) >= 0
2260
2494
  );
2261
- a.value = v;
2495
+ a.value = h;
2262
2496
  }
2263
- return (y, v) => (u(), _("div", Zi, [
2497
+ return (w, h) => (p(), _("div", In, [
2264
2498
  g("button", {
2265
2499
  type: "button",
2266
- disabled: d(n).left,
2267
- onClick: l
2500
+ disabled: s(n).left,
2501
+ onClick: c
2268
2502
  }, [
2269
- T(d(qi))
2270
- ], 8, en),
2271
- g("div", tn, [
2272
- ge(y.$slots, "default")
2503
+ S(s(xn))
2504
+ ], 8, Cn),
2505
+ g("div", Tn, [
2506
+ pe(w.$slots, "default")
2273
2507
  ], 512),
2274
2508
  g("button", {
2275
2509
  type: "button",
2276
- disabled: d(n).right,
2277
- onClick: c
2510
+ disabled: s(n).right,
2511
+ onClick: d
2278
2512
  }, [
2279
- T(d(zt))
2280
- ], 8, rn)
2513
+ S(s($t))
2514
+ ], 8, Nn)
2281
2515
  ]));
2282
2516
  }
2283
- }, nt = {
2517
+ }, ct = {
2284
2518
  __name: "CarouselItem",
2285
2519
  setup(t) {
2286
- const e = `mjsz-vbr-carousel-item-${$r()}`, r = Tr(yr, null);
2287
- return pt(() => r == null ? void 0 : r.register(e)), Nr(() => r == null ? void 0 : r.unregister(e)), (a, o) => (u(), _("div", {
2520
+ const e = `mjsz-vbr-carousel-item-${Nr()}`, r = Er(_r, null);
2521
+ return vt(() => r == null ? void 0 : r.register(e)), Ar(() => r == null ? void 0 : r.unregister(e)), (a, o) => (p(), _("div", {
2288
2522
  id: e,
2289
2523
  class: "is-slide"
2290
2524
  }, [
2291
- ge(a.$slots, "default")
2525
+ pe(a.$slots, "default")
2292
2526
  ]));
2293
2527
  }
2294
- }, on = { class: "games-timeline-schedule-link" }, Ft = {
2528
+ }, An = { class: "games-timeline-schedule-link" }, qt = {
2295
2529
  __name: "ExternalSchedule",
2296
2530
  props: {
2297
2531
  title: {
@@ -2309,17 +2543,17 @@ const Zi = { class: "games-timeline" }, en = ["disabled"], tn = { ref: "containe
2309
2543
  function o() {
2310
2544
  a("navigateTo", { url: r.externalScheduleUrl, target: "_self" });
2311
2545
  }
2312
- return (i, n) => (u(), _("div", on, [
2546
+ return (i, n) => (p(), _("div", An, [
2313
2547
  g("button", {
2314
2548
  type: "button",
2315
2549
  onClick: o
2316
2550
  }, [
2317
- ae(f(t.title), 1),
2318
- T(d(zt))
2551
+ re(m(t.title), 1),
2552
+ S(s($t))
2319
2553
  ])
2320
2554
  ]));
2321
2555
  }
2322
- }, nn = { class: "score-display" }, sn = { class: "is-score" }, qt = {
2556
+ }, Dn = { class: "score-display" }, Ln = { class: "is-score" }, Ht = {
2323
2557
  __name: "ScoreDisplay",
2324
2558
  props: {
2325
2559
  score: {
@@ -2328,24 +2562,24 @@ const Zi = { class: "games-timeline" }, en = ["disabled"], tn = { ref: "containe
2328
2562
  }
2329
2563
  },
2330
2564
  setup(t) {
2331
- return (e, r) => (u(), _("div", nn, [
2332
- g("div", sn, [
2333
- T(Cr, { name: "is-slide-transition" }, {
2334
- default: C(() => [
2335
- (u(), _("span", { key: t.score }, f(t.score), 1))
2565
+ return (e, r) => (p(), _("div", Dn, [
2566
+ g("div", Ln, [
2567
+ S(Jt, { name: "is-slide-transition" }, {
2568
+ default: N(() => [
2569
+ (p(), _("span", { key: t.score }, m(t.score), 1))
2336
2570
  ]),
2337
2571
  _: 1
2338
2572
  })
2339
2573
  ])
2340
2574
  ]));
2341
2575
  }
2342
- }, ln = {
2576
+ }, Pn = {
2343
2577
  key: 0,
2344
2578
  class: "is-badge"
2345
- }, cn = {
2579
+ }, Mn = {
2346
2580
  key: 1,
2347
2581
  class: "is-badge"
2348
- }, dn = { class: "is-home-team-logo" }, gn = { class: "is-home-team-name" }, pn = { class: "is-home-team-score" }, un = { class: "is-away-team-logo" }, mn = { class: "is-away-team-name" }, vn = { class: "is-away-team-score" }, bn = { class: "is-status" }, hn = {
2582
+ }, jn = { class: "is-home-team-logo" }, On = { class: "is-home-team-name" }, Gn = { class: "is-home-team-score" }, Rn = { class: "is-away-team-logo" }, Yn = { class: "is-away-team-name" }, Un = { class: "is-away-team-score" }, Kn = { class: "is-status" }, Bn = {
2349
2583
  __name: "Game",
2350
2584
  props: {
2351
2585
  gameData: {
@@ -2359,68 +2593,68 @@ const Zi = { class: "games-timeline" }, en = ["disabled"], tn = { ref: "containe
2359
2593
  },
2360
2594
  emits: ["navigateTo"],
2361
2595
  setup(t, { emit: e }) {
2362
- const r = t, a = e, { t: o } = ne(), i = A(() => {
2363
- const { gameStatus: s, championshipName: l, divisionName: c, period: p, periodTime: m } = r.gameData;
2364
- return s !== 1 ? `${l} - ${c}` : p && Vt(p) ? `${o(`game.period.${p}`)} - ${m}` : p && !Vt(p) ? o(`game.period.${p}`) : "";
2596
+ const r = t, a = e, { t: o } = le(), i = T(() => {
2597
+ const { gameStatus: l, championshipName: c, divisionName: d, period: u, periodTime: b } = r.gameData;
2598
+ return l !== 1 ? `${c} - ${d}` : u && Ft(u) ? `${o(`game.period.${u}`)} - ${b}` : u && !Ft(u) ? o(`game.period.${u}`) : "";
2365
2599
  });
2366
2600
  function n() {
2367
- const { externalGameUrl: s, id: l } = r.gameData;
2368
- if (s)
2369
- return a("navigateTo", { url: s, target: "_blank" });
2370
- const c = bt(r.externalGameResolver, { gameId: l });
2371
- a("navigateTo", { url: c, target: "_self" });
2601
+ const { externalGameUrl: l, id: c } = r.gameData;
2602
+ if (l)
2603
+ return a("navigateTo", { url: l, target: "_blank" });
2604
+ const d = Je(r.externalGameResolver, { gameId: c });
2605
+ a("navigateTo", { url: d, target: "_self" });
2372
2606
  }
2373
- return (s, l) => (u(), _("div", {
2607
+ return (l, c) => (p(), _("div", {
2374
2608
  class: "games-timeline-game",
2375
2609
  onClick: n
2376
2610
  }, [
2377
2611
  g("time", null, [
2378
- ae(f(t.gameData.gameDateTime) + " ", 1),
2379
- t.gameData.isShootout ? (u(), _("span", ln, f(d(o)("common.shootoutShort")), 1)) : D("", !0),
2380
- t.gameData.isOvertime ? (u(), _("span", cn, f(d(o)("common.overtimeShort")), 1)) : D("", !0)
2612
+ re(m(t.gameData.gameDateTime) + " ", 1),
2613
+ t.gameData.isShootout ? (p(), _("span", Pn, m(s(o)("common.shootoutShort")), 1)) : A("", !0),
2614
+ t.gameData.isOvertime ? (p(), _("span", Mn, m(s(o)("common.overtimeShort")), 1)) : A("", !0)
2381
2615
  ]),
2382
- g("div", dn, [
2383
- T(d(me), {
2616
+ g("div", jn, [
2617
+ S(s(ue), {
2384
2618
  src: t.gameData.homeTeam.logo,
2385
2619
  class: "is-team-logo"
2386
2620
  }, null, 8, ["src"])
2387
2621
  ]),
2388
- g("div", gn, f(t.gameData.homeTeam.longName), 1),
2389
- g("div", pn, [
2390
- t.gameData.homeTeamScore != null ? (u(), P(qt, {
2622
+ g("div", On, m(t.gameData.homeTeam.longName), 1),
2623
+ g("div", Gn, [
2624
+ t.gameData.homeTeamScore != null ? (p(), D(Ht, {
2391
2625
  key: 0,
2392
- class: B(["is-badge is-extra-large", [t.gameData.gameStatus === 1 ? "is-green" : "is-dark"]]),
2626
+ class: G(["is-badge is-extra-large", [t.gameData.gameStatus === 1 ? "is-green" : "is-dark"]]),
2393
2627
  score: t.gameData.homeTeamScore
2394
2628
  }, {
2395
- default: C(() => [
2396
- ae(f(t.gameData.homeTeamScore), 1)
2629
+ default: N(() => [
2630
+ re(m(t.gameData.homeTeamScore), 1)
2397
2631
  ]),
2398
2632
  _: 1
2399
- }, 8, ["class", "score"])) : D("", !0)
2633
+ }, 8, ["class", "score"])) : A("", !0)
2400
2634
  ]),
2401
- g("div", un, [
2402
- T(d(me), {
2635
+ g("div", Rn, [
2636
+ S(s(ue), {
2403
2637
  src: t.gameData.awayTeam.logo,
2404
2638
  class: "is-team-logo"
2405
2639
  }, null, 8, ["src"])
2406
2640
  ]),
2407
- g("div", mn, f(t.gameData.awayTeam.longName), 1),
2408
- g("div", vn, [
2409
- t.gameData.awayTeamScore != null ? (u(), P(qt, {
2641
+ g("div", Yn, m(t.gameData.awayTeam.longName), 1),
2642
+ g("div", Un, [
2643
+ t.gameData.awayTeamScore != null ? (p(), D(Ht, {
2410
2644
  key: 0,
2411
2645
  score: t.gameData.awayTeamScore,
2412
- class: B(["is-badge is-extra-large", [t.gameData.gameStatus === 1 ? "is-green" : "is-dark"]])
2646
+ class: G(["is-badge is-extra-large", [t.gameData.gameStatus === 1 ? "is-green" : "is-dark"]])
2413
2647
  }, {
2414
- default: C(() => [
2415
- ae(f(t.gameData.awayTeamScore), 1)
2648
+ default: N(() => [
2649
+ re(m(t.gameData.awayTeamScore), 1)
2416
2650
  ]),
2417
2651
  _: 1
2418
- }, 8, ["score", "class"])) : D("", !0)
2652
+ }, 8, ["score", "class"])) : A("", !0)
2419
2653
  ]),
2420
- g("div", bn, f(i.value), 1)
2654
+ g("div", Kn, m(i.value), 1)
2421
2655
  ]));
2422
2656
  }
2423
- }, fn = {
2657
+ }, Vn = {
2424
2658
  xmlns: "http://www.w3.org/2000/svg",
2425
2659
  viewBox: "0 0 24 24",
2426
2660
  fill: "none",
@@ -2429,8 +2663,8 @@ const Zi = { class: "games-timeline" }, en = ["disabled"], tn = { ref: "containe
2429
2663
  "stroke-linecap": "round",
2430
2664
  "stroke-linejoin": "round"
2431
2665
  };
2432
- function yn(t, e) {
2433
- return u(), _("svg", fn, e[0] || (e[0] = [
2666
+ function Fn(t, e) {
2667
+ return p(), _("svg", Vn, e[0] || (e[0] = [
2434
2668
  g("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),
2435
2669
  g("line", {
2436
2670
  x1: "12",
@@ -2446,27 +2680,27 @@ function yn(t, e) {
2446
2680
  }, null, -1)
2447
2681
  ]));
2448
2682
  }
2449
- const wn = { render: yn }, xn = { class: "games-timeline-error-indicator" }, _n = {
2683
+ const qn = { render: Fn }, Hn = { class: "games-timeline-error-indicator" }, Wn = {
2450
2684
  __name: "TryAgain",
2451
2685
  emits: ["tryAgain"],
2452
2686
  setup(t, { emit: e }) {
2453
- const r = e, { t: a } = ne();
2687
+ const r = e, { t: a } = le();
2454
2688
  function o() {
2455
2689
  r("tryAgain");
2456
2690
  }
2457
- return (i, n) => (u(), _("div", xn, [
2458
- T(d(wn)),
2459
- g("div", null, f(d(a)("gamesTimeline.errorText")), 1),
2691
+ return (i, n) => (p(), _("div", Hn, [
2692
+ S(s(qn)),
2693
+ g("div", null, m(s(a)("gamesTimeline.errorText")), 1),
2460
2694
  g("button", {
2461
2695
  type: "button",
2462
2696
  onClick: o
2463
- }, f(d(a)("gamesTimeline.errorCta")), 1)
2697
+ }, m(s(a)("gamesTimeline.errorCta")), 1)
2464
2698
  ]));
2465
2699
  }
2466
- }, kn = '.games-timeline{display:grid;grid-template-columns:30px 1fr 30px;align-items:center;height:100%;container-type:inline-size;container-name:games-timeline}.games-timeline>div{display:flex;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;-ms-overflow-style:none;scrollbar-width:none}.games-timeline>div::-webkit-scrollbar{display:none}.games-timeline .is-slide{flex-shrink:0;flex-grow:0;flex-basis:100%;scroll-snap-align:start}@container games-timeline (width > 375px){.games-timeline .is-slide{flex-basis:50%}}@container games-timeline (width > 500px){.games-timeline .is-slide{flex-basis:33.3334%}}@container games-timeline (width > 700px){.games-timeline .is-slide{flex-basis:25%}}@container games-timeline (width > 880px){.games-timeline .is-slide{flex-basis:20%}}.games-timeline>button{position:relative;display:grid;place-content:center;height:100%}.games-timeline>button svg{display:block;height:22px;width:22px;color:var(--vbr-widget-games-timeline-arrow-color);transition:all .2s}.games-timeline>button:hover svg{color:var(--vbr-widget-games-timeline-arrow-hover-color)}.games-timeline>button:disabled{cursor:not-allowed}.games-timeline>button:disabled svg{color:var(--vbr-widget-games-timeline-arrow-disabled-color)}.games-timeline>button:before,.games-timeline>button:after{position:absolute;content:"";top:10px;height:90px;transition:opacity .2s}.games-timeline>button:first-of-type:after{right:0;border-right:1px solid var(--vbr-widget-games-timeline-arrow-border-color);box-shadow:1px 0 3px #0000001a}.games-timeline>button:last-of-type:before{left:0;border-left:1px solid var(--vbr-widget-games-timeline-arrow-border-color);box-shadow:-1px 0 3px #0000001a}.games-timeline>button:disabled:first-of-type:after,.games-timeline>button:disabled:last-of-type:before{opacity:0}.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(--vbr-widget-games-timeline-game-hover-bg-color)}.games-timeline-game time{grid-area:gamedate;font-size:var(--vbr-widget-games-timeline-game-date-size);font-weight:700;color:var(--vbr-widget-games-timeline-game-date-color)}.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(--vbr-widget-games-timeline-game-team-size);font-weight:700;color:var(--vbr-widget-games-timeline-game-team-color);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(--vbr-widget-games-timeline-game-status-size);color:var(--vbr-widget-games-timeline-game-status-color);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(--vbr-widget-games-timeline-game-hover-bg-color)}.games-timeline-schedule-link button{display:flex;align-items:center;font-size:var(--vbr-widget-games-timeline-external-link-size);font-weight:700;text-transform:uppercase;color:var(--vbr-widget-games-timeline-external-link-color)}.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(--vbr-widget-typography-font-size-400);font-weight:500;color:var(--vbr-widget-error-notice-color)}.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%)}', zn = {
2700
+ }, Jn = '.games-timeline{display:grid;grid-template-columns:30px 1fr 30px;align-items:center;height:100%;container-type:inline-size;container-name:games-timeline}.games-timeline>div{display:flex;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;-ms-overflow-style:none;scrollbar-width:none}.games-timeline>div::-webkit-scrollbar{display:none}.games-timeline .is-slide{flex-shrink:0;flex-grow:0;flex-basis:100%;scroll-snap-align:start}@container games-timeline (width > 375px){.games-timeline .is-slide{flex-basis:50%}}@container games-timeline (width > 500px){.games-timeline .is-slide{flex-basis:33.3334%}}@container games-timeline (width > 700px){.games-timeline .is-slide{flex-basis:25%}}@container games-timeline (width > 880px){.games-timeline .is-slide{flex-basis:20%}}.games-timeline>button{position:relative;display:grid;place-content:center;height:100%}.games-timeline>button svg{display:block;height:22px;width:22px;color:var(--vbr-widget-games-timeline-arrow-color);transition:all .2s}.games-timeline>button:hover svg{color:var(--vbr-widget-games-timeline-arrow-hover-color)}.games-timeline>button:disabled{cursor:not-allowed}.games-timeline>button:disabled svg{color:var(--vbr-widget-games-timeline-arrow-disabled-color)}.games-timeline>button:before,.games-timeline>button:after{position:absolute;content:"";top:10px;height:90px;transition:opacity .2s}.games-timeline>button:first-of-type:after{right:0;border-right:1px solid var(--vbr-widget-games-timeline-arrow-border-color);box-shadow:1px 0 3px #0000001a}.games-timeline>button:last-of-type:before{left:0;border-left:1px solid var(--vbr-widget-games-timeline-arrow-border-color);box-shadow:-1px 0 3px #0000001a}.games-timeline>button:disabled:first-of-type:after,.games-timeline>button:disabled:last-of-type:before{opacity:0}.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(--vbr-widget-games-timeline-game-hover-bg-color)}.games-timeline-game time{grid-area:gamedate;font-size:var(--vbr-widget-games-timeline-game-date-size);font-weight:700;color:var(--vbr-widget-games-timeline-game-date-color)}.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(--vbr-widget-games-timeline-game-team-size);font-weight:700;color:var(--vbr-widget-games-timeline-game-team-color);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(--vbr-widget-games-timeline-game-status-size);color:var(--vbr-widget-games-timeline-game-status-color);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(--vbr-widget-games-timeline-game-hover-bg-color)}.games-timeline-schedule-link button{display:flex;align-items:center;font-size:var(--vbr-widget-games-timeline-external-link-size);font-weight:700;text-transform:uppercase;color:var(--vbr-widget-games-timeline-external-link-color)}.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(--vbr-widget-typography-font-size-400);font-weight:500;color:var(--vbr-widget-error-notice-color)}.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%)}', Xn = {
2467
2701
  key: 0,
2468
2702
  style: { width: "100%" }
2469
- }, Sn = {
2703
+ }, Qn = {
2470
2704
  __name: "GamesTimeline.ce",
2471
2705
  props: {
2472
2706
  locale: {
@@ -2491,113 +2725,113 @@ const wn = { render: yn }, xn = { class: "games-timeline-error-indicator" }, _n
2491
2725
  }
2492
2726
  },
2493
2727
  setup(t) {
2494
- const e = t, r = { en: we, hu: xe }, a = Fe();
2728
+ const e = t, r = { en: be, hu: he }, a = We();
2495
2729
  let o = [];
2496
- const i = O(!1), { state: n, execute: s } = ee({
2730
+ const i = O(!1), { state: n, execute: l } = ee({
2497
2731
  options: {
2498
2732
  path: e.servicePath,
2499
2733
  apiKey: e.apiKey,
2500
2734
  params: {},
2501
2735
  immediate: !0
2502
2736
  },
2503
- transform: (x) => Xi(x, n.value, "id").reverse(),
2737
+ transform: (y) => Sn(y, n.value, "id").reverse(),
2504
2738
  onError: () => {
2505
2739
  i.value = !0;
2506
2740
  },
2507
- onSuccess: v
2508
- }), { resume: l, pause: c } = Ct(s, 1e3 * 60 * 5);
2509
- oa(
2741
+ onSuccess: h
2742
+ }), { resume: c, pause: d } = Ke(l, 1e3 * 60 * 5);
2743
+ ia(
2510
2744
  !0,
2511
2745
  () => {
2512
- s(), l();
2746
+ l(), c();
2513
2747
  },
2514
2748
  () => {
2515
- c(), o.map((x) => x == null ? void 0 : x()), o = [];
2749
+ d(), o.map((y) => y == null ? void 0 : y()), o = [];
2516
2750
  }
2517
2751
  );
2518
- const p = A(() => ot(n.value) ? 0 : n.value.findIndex((x) => !er(new Date(x.gameDate), /* @__PURE__ */ new Date(), "day")) + 1), m = A(
2519
- () => n.value.map((x) => ({
2520
- ...x,
2521
- gameDateTime: `${Q(x.gameDate, "L LT", a, e.locale)} (${Ve(
2522
- x.gameDate,
2752
+ const u = T(() => Oe(n.value) ? 0 : n.value.findIndex((y) => !ar(new Date(y.gameDate), /* @__PURE__ */ new Date(), "day")) + 1), b = T(
2753
+ () => n.value.map((y) => ({
2754
+ ...y,
2755
+ gameDateTime: `${J(y.gameDate, "L LT", a, e.locale)} (${He(
2756
+ y.gameDate,
2523
2757
  a,
2524
2758
  e.locale
2525
2759
  )})`
2526
2760
  }))
2527
- ), { execute: y } = Ji({ apiKey: e.apiKey });
2528
- async function v() {
2761
+ ), { execute: w } = zn({ apiKey: e.apiKey });
2762
+ async function h() {
2529
2763
  i.value = !1, o.map((z) => z == null ? void 0 : z()), o = [];
2530
- const x = n.value.filter((z) => z.gameStatus === 1);
2531
- for (let z = 0; z < x.length; z++) {
2532
- const w = x[z].id;
2533
- y(0, { gameId: w }).then(($) => k($));
2534
- const { pause: h } = Ct(() => y(0, { gameId: w }).then(($) => k($)), 6e4);
2535
- o.push(h);
2764
+ const y = n.value.filter((z) => z.gameStatus === 1);
2765
+ for (let z = 0; z < y.length; z++) {
2766
+ const x = y[z].id;
2767
+ w(0, { gameId: x }).then((C) => k(C));
2768
+ const { pause: f } = Ke(() => w(0, { gameId: x }).then((C) => k(C)), 6e4);
2769
+ o.push(f);
2536
2770
  }
2537
2771
  }
2538
- function k(x = {}) {
2539
- const { gameId: z, gameStatus: w, homeTeamScore: h, awayTeamScore: $, period: E, periodTime: S } = x, j = n.value.find((L) => L.id === z);
2540
- j.gameStatus = w, j.homeTeamScore = h, j.awayTeamScore = $, j.period = E, j.periodTime = S, Ar(n);
2772
+ function k(y = {}) {
2773
+ const { gameId: z, gameStatus: x, homeTeamScore: f, awayTeamScore: C, period: L, periodTime: $ } = y, j = n.value.find((P) => P.id === z);
2774
+ j.gameStatus = x, j.homeTeamScore = f, j.awayTeamScore = C, j.period = L, j.periodTime = $, Dr(n);
2541
2775
  }
2542
- function b({ url: x, target: z }) {
2543
- window.open(x, z);
2776
+ function v({ url: y, target: z }) {
2777
+ window.open(y, z);
2544
2778
  }
2545
2779
  function I() {
2546
- i.value = !1, s();
2780
+ i.value = !1, l();
2547
2781
  }
2548
- return (x, z) => (u(), P(d(ye), {
2782
+ return (y, z) => (p(), D(s(ve), {
2549
2783
  locale: t.locale,
2550
2784
  messages: r
2551
2785
  }, {
2552
- default: C(({ t: w }) => [
2553
- T(an, { "initial-index": p.value }, {
2554
- default: C(() => [
2555
- d(ot)(d(n)) && !i.value ? (u(), _("div", zn, [
2556
- T(d(vt))
2557
- ])) : i.value && d(ot)(d(n)) ? (u(), P(_n, {
2786
+ default: N(({ t: x }) => [
2787
+ S(En, { "initial-index": u.value }, {
2788
+ default: N(() => [
2789
+ s(Oe)(s(n)) && !i.value ? (p(), _("div", Xn, [
2790
+ S(s(ft))
2791
+ ])) : i.value && s(Oe)(s(n)) ? (p(), D(Wn, {
2558
2792
  key: 1,
2559
2793
  onTryAgain: I
2560
- })) : (u(), _(R, { key: 2 }, [
2561
- T(nt, null, {
2562
- default: C(() => [
2563
- T(Ft, {
2794
+ })) : (p(), _(R, { key: 2 }, [
2795
+ S(ct, null, {
2796
+ default: N(() => [
2797
+ S(qt, {
2564
2798
  "external-schedule-url": t.externalScheduleUrl,
2565
- title: w("gamesTimeline.allSchedule"),
2566
- onNavigateTo: b
2799
+ title: x("gamesTimeline.allSchedule"),
2800
+ onNavigateTo: v
2567
2801
  }, null, 8, ["external-schedule-url", "title"])
2568
2802
  ]),
2569
2803
  _: 2
2570
2804
  }, 1024),
2571
- (u(!0), _(R, null, W(m.value, (h, $, E, S) => {
2805
+ (p(!0), _(R, null, W(b.value, (f, C, L, $) => {
2572
2806
  const j = [
2573
- h.gameDateTime,
2574
- h.gameStatus,
2575
- h.homeTeamScore,
2576
- h.awayTeamScore,
2577
- h.period,
2578
- h.actualTime
2807
+ f.gameDateTime,
2808
+ f.gameStatus,
2809
+ f.homeTeamScore,
2810
+ f.awayTeamScore,
2811
+ f.period,
2812
+ f.actualTime
2579
2813
  ];
2580
- if (S && S.key === h.id && Er(S, j)) return S;
2581
- const L = (u(), P(nt, {
2582
- key: h.id
2814
+ if ($ && $.key === f.id && Lr($, j)) return $;
2815
+ const P = (p(), D(ct, {
2816
+ key: f.id
2583
2817
  }, {
2584
- default: C(() => [
2585
- T(hn, {
2586
- "game-data": h,
2818
+ default: N(() => [
2819
+ S(Bn, {
2820
+ "game-data": f,
2587
2821
  "external-game-resolver": t.externalGameResolver,
2588
- onNavigateTo: b
2822
+ onNavigateTo: v
2589
2823
  }, null, 8, ["game-data", "external-game-resolver"])
2590
2824
  ]),
2591
2825
  _: 2
2592
2826
  }, 1024));
2593
- return L.memo = j, L;
2827
+ return P.memo = j, P;
2594
2828
  }, z, 0), 128)),
2595
- T(nt, null, {
2596
- default: C(() => [
2597
- T(Ft, {
2829
+ S(ct, null, {
2830
+ default: N(() => [
2831
+ S(qt, {
2598
2832
  "external-schedule-url": t.externalScheduleUrl,
2599
- title: w("gamesTimeline.allSchedule"),
2600
- onNavigateTo: b
2833
+ title: x("gamesTimeline.allSchedule"),
2834
+ onNavigateTo: v
2601
2835
  }, null, 8, ["external-schedule-url", "title"])
2602
2836
  ]),
2603
2837
  _: 2
@@ -2610,17 +2844,17 @@ const wn = { render: yn }, xn = { class: "games-timeline-error-indicator" }, _n
2610
2844
  _: 1
2611
2845
  }, 8, ["locale"]));
2612
2846
  }
2613
- }, In = /* @__PURE__ */ ke(Sn, [["styles", [_e, kn]]]);
2614
- function $n(t, e) {
2615
- e.seasonsList = t, e.seasonId = De(H, ie("id"))(t);
2847
+ }, Zn = /* @__PURE__ */ ye(Qn, [["styles", [fe, Jn]]]);
2848
+ function es(t, e) {
2849
+ e.seasonsList = t, e.seasonId = Pe(H, se("id"))(t);
2616
2850
  }
2617
- function Tn(t, e) {
2618
- e.championshipList = t, e.championshipId = De(H, ie("championshipId"))(t);
2851
+ function ts(t, e) {
2852
+ e.championshipList = t, e.championshipId = Pe(H, se("championshipId"))(t);
2619
2853
  }
2620
- function Nn(t, e) {
2621
- e.sections = t, e.sectionId = De(H, ie("sectionId"))(t);
2854
+ function rs(t, e) {
2855
+ e.sections = t, e.sectionId = Pe(H, se("sectionId"))(t);
2622
2856
  }
2623
- const Cn = {
2857
+ const as = {
2624
2858
  __name: "DataProvider",
2625
2859
  props: {
2626
2860
  apiKey: {
@@ -2633,71 +2867,71 @@ const Cn = {
2633
2867
  }
2634
2868
  },
2635
2869
  setup(t) {
2636
- const e = t, r = ce({
2870
+ const e = t, r = de({
2637
2871
  seasonsList: [],
2638
2872
  seasonId: null,
2639
2873
  championshipList: [],
2640
2874
  championshipId: null,
2641
2875
  sections: [],
2642
2876
  sectionId: null
2643
- }), { onError: a } = Ee(), { isLoading: o, execute: i } = ee({
2877
+ }), { onError: a } = Le(), { isLoading: o, execute: i } = ee({
2644
2878
  options: {
2645
2879
  path: "/v2/all-season-list",
2646
2880
  apiKey: e.apiKey,
2647
2881
  params: {}
2648
2882
  },
2649
- transform: (b) => $n(b, r),
2883
+ transform: (v) => es(v, r),
2650
2884
  onError: a
2651
- }), { isLoading: n, execute: s } = ee({
2885
+ }), { isLoading: n, execute: l } = ee({
2652
2886
  options: {
2653
2887
  path: "/v2/championship-list",
2654
2888
  apiKey: e.apiKey,
2655
- params: A(() => ({ seasonId: r.seasonId }))
2889
+ params: T(() => ({ seasonId: r.seasonId }))
2656
2890
  },
2657
- transform: (b) => Tn(b, r),
2891
+ transform: (v) => ts(v, r),
2658
2892
  onError: a
2659
2893
  }), {
2660
- isLoading: l,
2661
- execute: c
2894
+ isLoading: c,
2895
+ execute: d
2662
2896
  } = ee({
2663
2897
  options: {
2664
2898
  path: "/v2/championship-sections",
2665
2899
  apiKey: e.apiKey,
2666
- params: A(() => ({ championshipId: r.championshipId }))
2900
+ params: T(() => ({ championshipId: r.championshipId }))
2667
2901
  },
2668
- transform: (b) => Nn(b, r),
2902
+ transform: (v) => rs(v, r),
2669
2903
  onError: a
2670
- }), p = A(() => {
2671
- var b, I;
2672
- return ((I = (b = r.sections) == null ? void 0 : b.find((x) => x.sectionId === r.sectionId)) == null ? void 0 : I.phases) ?? [];
2904
+ }), u = T(() => {
2905
+ var v, I;
2906
+ return ((I = (v = r.sections) == null ? void 0 : v.find((y) => y.sectionId === r.sectionId)) == null ? void 0 : I.phases) ?? [];
2673
2907
  });
2674
- he([i, s, c]);
2675
- const m = A(() => [o.value, n.value, l.value].some(Boolean));
2676
- function y(b) {
2677
- r.seasonId = b, he([s, c]);
2908
+ Se([i, l, d]);
2909
+ const b = T(() => [o.value, n.value, c.value].some(Boolean));
2910
+ function w(v) {
2911
+ r.seasonId = v, Se([l, d]);
2678
2912
  }
2679
- function v(b) {
2680
- r.championshipId = b, c();
2913
+ function h(v) {
2914
+ r.championshipId = v, d();
2681
2915
  }
2682
- function k(b) {
2683
- r.sectionId = b;
2916
+ function k(v) {
2917
+ r.sectionId = v;
2684
2918
  }
2685
- return (b, I) => ge(b.$slots, "default", Te(Ne({
2919
+ return (v, I) => pe(v.$slots, "default", Ne(Ee({
2686
2920
  ...r,
2687
- isLoading: m.value,
2688
- phaseData: p.value,
2689
- onChangeSeason: y,
2921
+ isLoading: b.value,
2922
+ phaseData: u.value,
2923
+ onChangeSeason: w,
2690
2924
  onChangeSection: k,
2691
- onChangeChampionship: v
2925
+ onChangeChampionship: h
2692
2926
  })));
2693
2927
  }
2694
- }, An = { class: "is-mb-5" }, En = {
2928
+ }, os = { class: "is-mb-5" }, is = {
2695
2929
  for: "season",
2696
2930
  class: "label"
2697
- }, Dn = ["value"], Pn = {
2931
+ }, ns = ["value"], ss = {
2698
2932
  for: "season",
2699
2933
  class: "label"
2700
- }, Ln = ["value"], Mn = {
2934
+ }, ls = ["value"], cs = {
2701
2935
  __name: "Selector",
2702
2936
  props: {
2703
2937
  seasonsList: {
@@ -2719,46 +2953,46 @@ const Cn = {
2719
2953
  },
2720
2954
  emits: ["update:seasonId", "update:championshipId"],
2721
2955
  setup(t, { emit: e }) {
2722
- const r = t, a = e, { t: o } = ne(), { seasonId: i, championshipId: n } = yt(r, a);
2723
- return (s, l) => (u(), _(R, null, [
2724
- g("div", An, [
2725
- g("label", En, f(d(o)("selection.seasons")), 1),
2726
- T(d(ve), {
2956
+ const r = t, a = e, { t: o } = le(), { seasonId: i, championshipId: n } = xt(r, a);
2957
+ return (l, c) => (p(), _(R, null, [
2958
+ g("div", os, [
2959
+ g("label", is, m(s(o)("selection.seasons")), 1),
2960
+ S(s(ke), {
2727
2961
  id: "season",
2728
- modelValue: d(i),
2729
- "onUpdate:modelValue": l[0] || (l[0] = (c) => de(i) ? i.value = c : null)
2962
+ modelValue: s(i),
2963
+ "onUpdate:modelValue": c[0] || (c[0] = (d) => ge(i) ? i.value = d : null)
2730
2964
  }, {
2731
- default: C(() => [
2732
- (u(!0), _(R, null, W(t.seasonsList, (c) => (u(), _("option", {
2733
- key: c.id,
2734
- value: c.id
2735
- }, f(c.seasonName), 9, Dn))), 128))
2965
+ default: N(() => [
2966
+ (p(!0), _(R, null, W(t.seasonsList, (d) => (p(), _("option", {
2967
+ key: d.id,
2968
+ value: d.id
2969
+ }, m(d.seasonName), 9, ns))), 128))
2736
2970
  ]),
2737
2971
  _: 1
2738
2972
  }, 8, ["modelValue"])
2739
2973
  ]),
2740
2974
  g("div", null, [
2741
- g("label", Pn, f(d(o)("selection.championships")), 1),
2742
- T(d(ve), {
2975
+ g("label", ss, m(s(o)("selection.championships")), 1),
2976
+ S(s(ke), {
2743
2977
  id: "season",
2744
- modelValue: d(n),
2745
- "onUpdate:modelValue": l[1] || (l[1] = (c) => de(n) ? n.value = c : null)
2978
+ modelValue: s(n),
2979
+ "onUpdate:modelValue": c[1] || (c[1] = (d) => ge(n) ? n.value = d : null)
2746
2980
  }, {
2747
- default: C(() => [
2748
- (u(!0), _(R, null, W(t.championshipList, (c) => (u(), _("option", {
2749
- key: c.championshipId,
2750
- value: c.championshipId
2751
- }, f(c.championshipName), 9, Ln))), 128))
2981
+ default: N(() => [
2982
+ (p(!0), _(R, null, W(t.championshipList, (d) => (p(), _("option", {
2983
+ key: d.championshipId,
2984
+ value: d.championshipId
2985
+ }, m(d.championshipName), 9, ls))), 128))
2752
2986
  ]),
2753
2987
  _: 1
2754
2988
  }, 8, ["modelValue"])
2755
2989
  ])
2756
2990
  ], 64));
2757
2991
  }
2758
- }, jn = ".main-layout[data-v-10915a30]{display:flex;flex-wrap:wrap;gap:20px}.main-layout>div[data-v-10915a30]:nth-child(2){flex:1}pre[data-v-10915a30]{padding:10px;white-space:pre-wrap;overflow-x:auto;background-color:var(--vbr-widget-primary-color-50);border-radius:5px}", On = { class: "main-layout" }, Gn = { class: "is-mb-5" }, Rn = { for: "seasonId" }, Yn = ["textContent"], Un = { class: "is-mb-5" }, Kn = { for: "championshipName" }, Bn = ["textContent"], Vn = { class: "is-mb-5" }, Fn = { for: "championshipId" }, qn = ["textContent"], Hn = { class: "is-mb-5" }, Wn = { for: "sections" }, Jn = {
2992
+ }, ds = ".main-layout[data-v-10915a30]{display:flex;flex-wrap:wrap;gap:20px}.main-layout>div[data-v-10915a30]:nth-child(2){flex:1}pre[data-v-10915a30]{padding:10px;white-space:pre-wrap;overflow-x:auto;background-color:var(--vbr-widget-primary-color-50);border-radius:5px}", gs = { class: "main-layout" }, us = { class: "is-mb-5" }, ps = { for: "seasonId" }, ms = ["textContent"], vs = { class: "is-mb-5" }, bs = { for: "championshipName" }, hs = ["textContent"], fs = { class: "is-mb-5" }, ys = { for: "championshipId" }, ws = ["textContent"], xs = { class: "is-mb-5" }, _s = { for: "sections" }, ks = {
2759
2993
  id: "sections",
2760
2994
  class: "toggle-group"
2761
- }, Xn = ["onClick"], Qn = { class: "is-mb-5" }, Zn = { for: "phases" }, es = ["textContent"], ts = {
2995
+ }, zs = ["onClick"], Ss = { class: "is-mb-5" }, $s = { for: "phases" }, Is = ["textContent"], Cs = {
2762
2996
  __name: "IvrIdentifiers.ce",
2763
2997
  props: {
2764
2998
  locale: {
@@ -2771,82 +3005,82 @@ const Cn = {
2771
3005
  }
2772
3006
  },
2773
3007
  setup(t) {
2774
- const e = t, r = { en: we, hu: xe };
2775
- return (a, o) => (u(), P(d(ye), {
3008
+ const e = t, r = { en: be, hu: he };
3009
+ return (a, o) => (p(), D(s(ve), {
2776
3010
  locale: e.locale,
2777
3011
  messages: r
2778
3012
  }, {
2779
- default: C(({ t: i }) => [
2780
- T(d(Ce), null, {
2781
- default: C(({ error: n, hasError: s }) => [
2782
- s ? (u(), P(d(Ae), {
3013
+ default: N(({ t: i }) => [
3014
+ S(s(Ae), null, {
3015
+ default: N(({ error: n, hasError: l }) => [
3016
+ l ? (p(), D(s(De), {
2783
3017
  key: 0,
2784
3018
  error: n
2785
- }, null, 8, ["error"])) : D("", !0),
2786
- T(Cn, null, {
2787
- default: C(({
2788
- seasonsList: l,
2789
- seasonId: c,
2790
- championshipList: p,
2791
- championshipId: m,
2792
- sections: y,
2793
- sectionId: v,
3019
+ }, null, 8, ["error"])) : A("", !0),
3020
+ S(as, null, {
3021
+ default: N(({
3022
+ seasonsList: c,
3023
+ seasonId: d,
3024
+ championshipList: u,
3025
+ championshipId: b,
3026
+ sections: w,
3027
+ sectionId: h,
2794
3028
  phaseData: k,
2795
- onChangeSeason: b,
3029
+ onChangeSeason: v,
2796
3030
  onChangeSection: I,
2797
- onChangeChampionship: x
3031
+ onChangeChampionship: y
2798
3032
  }) => {
2799
3033
  var z;
2800
3034
  return [
2801
- g("div", On, [
3035
+ g("div", gs, [
2802
3036
  g("div", null, [
2803
- T(Mn, {
2804
- "seasons-list": l,
2805
- "season-id": c,
2806
- "championship-list": p,
2807
- "championship-id": m,
2808
- "onUpdate:seasonId": b,
2809
- "onUpdate:championshipId": x
3037
+ S(cs, {
3038
+ "seasons-list": c,
3039
+ "season-id": d,
3040
+ "championship-list": u,
3041
+ "championship-id": b,
3042
+ "onUpdate:seasonId": v,
3043
+ "onUpdate:championshipId": y
2810
3044
  }, null, 8, ["seasons-list", "season-id", "championship-list", "championship-id", "onUpdate:seasonId", "onUpdate:championshipId"])
2811
3045
  ]),
2812
3046
  g("div", null, [
2813
- g("section", Gn, [
2814
- g("label", Rn, f(i("selection.seasonId")), 1),
3047
+ g("section", us, [
3048
+ g("label", ps, m(i("selection.seasonId")), 1),
2815
3049
  g("p", {
2816
3050
  id: "seasonId",
2817
- textContent: f(c)
2818
- }, null, 8, Yn)
3051
+ textContent: m(d)
3052
+ }, null, 8, ms)
2819
3053
  ]),
2820
- g("section", Un, [
2821
- g("label", Kn, f(i("selection.championshipName")), 1),
3054
+ g("section", vs, [
3055
+ g("label", bs, m(i("selection.championshipName")), 1),
2822
3056
  g("p", {
2823
3057
  id: "championshipName",
2824
- textContent: f((z = p.find((w) => w.championshipId === m)) == null ? void 0 : z.championshipName)
2825
- }, null, 8, Bn)
3058
+ textContent: m((z = u.find((x) => x.championshipId === b)) == null ? void 0 : z.championshipName)
3059
+ }, null, 8, hs)
2826
3060
  ]),
2827
- g("section", Vn, [
2828
- g("label", Fn, f(i("selection.championshipId")), 1),
3061
+ g("section", fs, [
3062
+ g("label", ys, m(i("selection.championshipId")), 1),
2829
3063
  g("p", {
2830
3064
  id: "championshipId",
2831
- textContent: f(m)
2832
- }, null, 8, qn)
3065
+ textContent: m(b)
3066
+ }, null, 8, ws)
2833
3067
  ]),
2834
- g("section", Hn, [
2835
- g("label", Wn, f(i("selection.sections")) + ":", 1),
2836
- g("div", Jn, [
2837
- (u(!0), _(R, null, W(y, (w) => (u(), _("button", {
2838
- key: w.sectionId,
2839
- class: B({ "is-active": w.sectionId === v }),
2840
- onClick: (h) => I(w.sectionId)
2841
- }, f(w.sectionName), 11, Xn))), 128))
3068
+ g("section", xs, [
3069
+ g("label", _s, m(i("selection.sections")) + ":", 1),
3070
+ g("div", ks, [
3071
+ (p(!0), _(R, null, W(w, (x) => (p(), _("button", {
3072
+ key: x.sectionId,
3073
+ class: G({ "is-active": x.sectionId === h }),
3074
+ onClick: (f) => I(x.sectionId)
3075
+ }, m(x.sectionName), 11, zs))), 128))
2842
3076
  ])
2843
3077
  ]),
2844
- g("section", Qn, [
2845
- g("label", Zn, f(i("selection.phasesDivision")) + ":", 1),
3078
+ g("section", Ss, [
3079
+ g("label", $s, m(i("selection.phasesDivision")) + ":", 1),
2846
3080
  g("pre", {
2847
3081
  id: "phases",
2848
- textContent: f(k)
2849
- }, null, 8, es)
3082
+ textContent: m(k)
3083
+ }, null, 8, Is)
2850
3084
  ])
2851
3085
  ])
2852
3086
  ])
@@ -2861,10 +3095,10 @@ const Cn = {
2861
3095
  _: 1
2862
3096
  }, 8, ["locale"]));
2863
3097
  }
2864
- }, rs = /* @__PURE__ */ ke(ts, [["styles", [_e, Xe, Qe, jn]], ["__scopeId", "data-v-10915a30"]]), as = { class: "g-row" }, os = {
3098
+ }, Ts = /* @__PURE__ */ ye(Cs, [["styles", [fe, tt, rt, ds]], ["__scopeId", "data-v-10915a30"]]), Ns = { class: "g-row" }, Es = {
2865
3099
  for: "season",
2866
3100
  class: "label"
2867
- }, is = ["value"], ns = ["onClick"], ss = {
3101
+ }, As = ["value"], Ds = ["onClick"], Ls = {
2868
3102
  __name: "SeasonSelector",
2869
3103
  props: {
2870
3104
  seasons: {
@@ -2886,59 +3120,59 @@ const Cn = {
2886
3120
  },
2887
3121
  emits: ["onChangeSeason", "onChangeSection"],
2888
3122
  setup(t, { emit: e }) {
2889
- const r = t, a = e, { t: o } = ne(), i = A({
3123
+ const r = t, a = e, { t: o } = le(), i = T({
2890
3124
  get() {
2891
3125
  return r.championshipId;
2892
3126
  },
2893
- set(s) {
2894
- a("onChangeSeason", s);
3127
+ set(l) {
3128
+ a("onChangeSeason", l);
2895
3129
  }
2896
3130
  });
2897
- function n(s) {
2898
- a("onChangeSection", s);
3131
+ function n(l) {
3132
+ a("onChangeSection", l);
2899
3133
  }
2900
- return (s, l) => (u(), _(R, null, [
2901
- g("div", as, [
3134
+ return (l, c) => (p(), _(R, null, [
3135
+ g("div", Ns, [
2902
3136
  g("div", null, [
2903
- g("label", os, f(d(o)("selection.season")), 1),
2904
- T(d(ve), {
3137
+ g("label", Es, m(s(o)("selection.season")), 1),
3138
+ S(s(ke), {
2905
3139
  id: "season",
2906
3140
  modelValue: i.value,
2907
- "onUpdate:modelValue": l[0] || (l[0] = (c) => i.value = c)
3141
+ "onUpdate:modelValue": c[0] || (c[0] = (d) => i.value = d)
2908
3142
  }, {
2909
- default: C(() => [
2910
- (u(!0), _(R, null, W(t.seasons, (c) => (u(), _("option", {
2911
- key: c.championshipId,
2912
- value: c.championshipId
2913
- }, f(c.seasonName), 9, is))), 128))
3143
+ default: N(() => [
3144
+ (p(!0), _(R, null, W(t.seasons, (d) => (p(), _("option", {
3145
+ key: d.championshipId,
3146
+ value: d.championshipId
3147
+ }, m(d.seasonName), 9, As))), 128))
2914
3148
  ]),
2915
3149
  _: 1
2916
3150
  }, 8, ["modelValue"])
2917
3151
  ])
2918
3152
  ]),
2919
3153
  g("div", null, [
2920
- (u(!0), _(R, null, W(t.sections, (c) => (u(), _("button", {
2921
- key: c.phaseId,
2922
- class: B(["tab-button", { "is-active": c.sectionId === t.sectionId }]),
2923
- onClick: (p) => n(c)
2924
- }, f(c.sectionName), 11, ns))), 128))
3154
+ (p(!0), _(R, null, W(t.sections, (d) => (p(), _("button", {
3155
+ key: d.phaseId,
3156
+ class: G(["tab-button", { "is-active": d.sectionId === t.sectionId }]),
3157
+ onClick: (u) => n(d)
3158
+ }, m(d.sectionName), 11, Ds))), 128))
2925
3159
  ])
2926
3160
  ], 64));
2927
3161
  }
2928
3162
  };
2929
- function ls(t, e) {
3163
+ function Ps(t, e) {
2930
3164
  if (t.length === 0)
2931
- throw new tr(Ge.message, Ge.options);
2932
- e.seasons = ds(t), e.championshipId || (e.championshipId = H(e.seasons).championshipId);
3165
+ throw new or(Ye.message, Ye.options);
3166
+ e.seasons = js(t), e.championshipId || (e.championshipId = H(e.seasons).championshipId);
2933
3167
  }
2934
- function cs(t, e) {
3168
+ function Ms(t, e) {
2935
3169
  var r;
2936
- e.sections = Ke(ie("sectionId"))(t), e.sectionId = kt(ie("sectionId"), H)(e.sections), e.phaseId = ((r = pr([0, "phases", 0], t)) == null ? void 0 : r.phaseId) ?? null;
3170
+ e.sections = Fe(se("sectionId"))(t), e.sectionId = St(se("sectionId"), H)(e.sections), e.phaseId = ((r = vr([0, "phases", 0], t)) == null ? void 0 : r.phaseId) ?? null;
2937
3171
  }
2938
- function ds(t) {
2939
- return kt(mr(gr(ie("seasonName"))), _t(ur(["championshipId", "seasonName"])))(t);
3172
+ function js(t) {
3173
+ return St(hr(mr(se("seasonName"))), zt(br(["championshipId", "seasonName"])))(t);
2940
3174
  }
2941
- const gs = {
3175
+ const Os = {
2942
3176
  gameName: {
2943
3177
  label: "table.gameName.short",
2944
3178
  tooltip: "table.gameName.tooltip",
@@ -2975,13 +3209,13 @@ const gs = {
2975
3209
  class: "is-text-left"
2976
3210
  }
2977
3211
  };
2978
- function ps(t) {
2979
- return (e) => _t((r) => ({
3212
+ function Gs(t) {
3213
+ return (e) => zt((r) => ({
2980
3214
  ...r,
2981
3215
  ...r.registration && { registration: `${r.registration}/cid/${t}` }
2982
3216
  }))(e);
2983
3217
  }
2984
- const us = {
3218
+ const Rs = {
2985
3219
  __name: "DataProvider",
2986
3220
  props: {
2987
3221
  championshipName: {
@@ -3010,57 +3244,57 @@ const us = {
3010
3244
  }
3011
3245
  },
3012
3246
  setup(t) {
3013
- const e = t, r = ce({
3247
+ const e = t, r = de({
3014
3248
  seasons: [],
3015
3249
  championshipId: null,
3016
3250
  sections: [],
3017
3251
  sectionId: null,
3018
3252
  phaseId: null
3019
- }), { onError: a } = Ee(), { isLoading: o, execute: i } = ee({
3253
+ }), { onError: a } = Le(), { isLoading: o, execute: i } = ee({
3020
3254
  options: {
3021
3255
  path: "/v2/championship-seasons",
3022
3256
  apiKey: e.apiKey,
3023
3257
  params: { championshipName: e.championshipName }
3024
3258
  },
3025
- transform: (b) => ls(b, r),
3259
+ transform: (v) => Ps(v, r),
3026
3260
  onError: a
3027
- }), { isLoading: n, execute: s } = ee({
3261
+ }), { isLoading: n, execute: l } = ee({
3028
3262
  options: {
3029
3263
  path: "/v2/championship-sections",
3030
3264
  apiKey: e.apiKey,
3031
- params: A(() => ({ championshipId: r.championshipId }))
3265
+ params: T(() => ({ championshipId: r.championshipId }))
3032
3266
  },
3033
- transform: (b) => cs(b, r),
3267
+ transform: (v) => Ms(v, r),
3034
3268
  onError: a
3035
3269
  }), {
3036
- isLoading: l,
3037
- state: c,
3038
- execute: p
3270
+ isLoading: c,
3271
+ state: d,
3272
+ execute: u
3039
3273
  } = ee({
3040
3274
  options: {
3041
3275
  path: "/v2/games-list",
3042
3276
  apiKey: e.apiKey,
3043
- params: A(() => ({ championshipId: r.championshipId, phaseId: r.phaseId }))
3277
+ params: T(() => ({ championshipId: r.championshipId, phaseId: r.phaseId }))
3044
3278
  },
3045
- transform: (b) => De(rr, ps(r.championshipId))(b),
3279
+ transform: (v) => Pe(ir, Gs(r.championshipId))(v),
3046
3280
  onError: a
3047
- }), m = A(() => Be(c.value).schedule(e.timezone, e.locale).value());
3048
- he([i, s, p]);
3049
- const y = A(() => [n.value, o.value, l.value].some(Boolean));
3050
- function v(b) {
3051
- r.championshipId = b, he([s, p]);
3052
- }
3053
- function k(b) {
3054
- r.sectionId = b.sectionId, r.phaseId = pr(["phases", 0, "phaseId"], b), p();
3055
- }
3056
- return (b, I) => ge(b.$slots, "default", Te(Ne({
3057
- rows: m.value,
3058
- isLoading: y.value,
3059
- values: d(Co)(["phaseId"], r),
3060
- listeners: { onChangeSection: k, onChangeSeason: v }
3281
+ }), b = T(() => qe(d.value).schedule(e.timezone, e.locale).value());
3282
+ Se([i, l, u]);
3283
+ const w = T(() => [n.value, o.value, c.value].some(Boolean));
3284
+ function h(v) {
3285
+ r.championshipId = v, Se([l, u]);
3286
+ }
3287
+ function k(v) {
3288
+ r.sectionId = v.sectionId, r.phaseId = vr(["phases", 0, "phaseId"], v), u();
3289
+ }
3290
+ return (v, I) => pe(v.$slots, "default", Ne(Ee({
3291
+ rows: b.value,
3292
+ isLoading: w.value,
3293
+ values: s(Do)(["phaseId"], r),
3294
+ listeners: { onChangeSection: k, onChangeSeason: h }
3061
3295
  })));
3062
3296
  }
3063
- }, ms = ["href"], vs = ["href"], bs = {
3297
+ }, Ys = ["href"], Us = ["href"], Ks = {
3064
3298
  __name: "ScheduleCupDataTable",
3065
3299
  props: {
3066
3300
  columns: {
@@ -3081,47 +3315,47 @@ const us = {
3081
3315
  }
3082
3316
  },
3083
3317
  setup(t) {
3084
- const e = t, r = O(null), { columns: a } = ia(
3318
+ const e = t, r = O(null), { columns: a } = na(
3085
3319
  e.columns,
3086
3320
  null,
3087
- A(() => ({
3321
+ T(() => ({
3088
3322
  offsetName: e.offsetName
3089
3323
  }))
3090
- ), { t: o } = ne();
3091
- return (i, n) => (u(), _("div", {
3324
+ ), { t: o } = le();
3325
+ return (i, n) => (p(), _("div", {
3092
3326
  ref_key: "tooltipContainer",
3093
3327
  ref: r
3094
3328
  }, [
3095
- T(d(Zt), null, {
3096
- default: C(() => [
3097
- T(d(Ur), {
3098
- columns: d(a),
3329
+ S(s(rr), null, {
3330
+ default: N(() => [
3331
+ S(s(Kr), {
3332
+ columns: s(a),
3099
3333
  rows: t.rows,
3100
3334
  "is-loading": t.isLoading,
3101
3335
  "append-to": r.value
3102
3336
  }, {
3103
- "cell-homeTeamName": C(({ row: s }) => {
3104
- var l;
3337
+ "cell-homeTeamName": N(({ row: l }) => {
3338
+ var c;
3105
3339
  return [
3106
- ae(f(((l = s.homeTeam) == null ? void 0 : l.longName) ?? ""), 1)
3340
+ re(m(((c = l.homeTeam) == null ? void 0 : c.longName) ?? ""), 1)
3107
3341
  ];
3108
3342
  }),
3109
- "cell-location": C(({ row: s }) => {
3110
- var l;
3343
+ "cell-location": N(({ row: l }) => {
3344
+ var c;
3111
3345
  return [
3112
- ae(f(((l = s.location) == null ? void 0 : l.locationName) ?? ""), 1)
3346
+ re(m(((c = l.location) == null ? void 0 : c.locationName) ?? ""), 1)
3113
3347
  ];
3114
3348
  }),
3115
- "cell-document": C(({ row: s }) => [
3116
- s.schedule ? (u(), _("a", {
3349
+ "cell-document": N(({ row: l }) => [
3350
+ l.schedule ? (p(), _("a", {
3117
3351
  key: 0,
3118
- href: s.schedule,
3352
+ href: l.schedule,
3119
3353
  target: "_blank"
3120
- }, f(d(o)("schedule")), 9, ms)) : s.registration ? (u(), _("a", {
3354
+ }, m(s(o)("schedule")), 9, Ys)) : l.registration ? (p(), _("a", {
3121
3355
  key: 1,
3122
- href: s.registration,
3356
+ href: l.registration,
3123
3357
  target: "_blank"
3124
- }, f(d(o)("registration")), 9, vs)) : D("", !0)
3358
+ }, m(s(o)("registration")), 9, Us)) : A("", !0)
3125
3359
  ]),
3126
3360
  _: 1
3127
3361
  }, 8, ["columns", "rows", "is-loading", "append-to"])
@@ -3130,7 +3364,7 @@ const us = {
3130
3364
  })
3131
3365
  ], 512));
3132
3366
  }
3133
- }, hs = {
3367
+ }, Bs = {
3134
3368
  __name: "ScheduleCup.ce",
3135
3369
  props: {
3136
3370
  locale: {
@@ -3151,29 +3385,29 @@ const us = {
3151
3385
  // },
3152
3386
  },
3153
3387
  setup(t) {
3154
- const e = t, r = { en: we, hu: xe }, a = O(Fe()), o = A(() => Ve(/* @__PURE__ */ new Date(), a.value, e.locale));
3155
- return (i, n) => (u(), P(d(ye), {
3388
+ const e = t, r = { en: be, hu: he }, a = O(We()), o = T(() => He(/* @__PURE__ */ new Date(), a.value, e.locale));
3389
+ return (i, n) => (p(), D(s(ve), {
3156
3390
  locale: e.locale,
3157
3391
  messages: r
3158
3392
  }, {
3159
- default: C(() => [
3160
- T(d(Ce), null, {
3161
- default: C(({ error: s, hasError: l }) => [
3162
- l ? (u(), P(d(Ae), {
3393
+ default: N(() => [
3394
+ S(s(Ae), null, {
3395
+ default: N(({ error: l, hasError: c }) => [
3396
+ c ? (p(), D(s(De), {
3163
3397
  key: 0,
3164
- error: s
3165
- }, null, 8, ["error"])) : D("", !0),
3166
- T(us, {
3398
+ error: l
3399
+ }, null, 8, ["error"])) : A("", !0),
3400
+ S(Rs, {
3167
3401
  "championship-name": t.championshipName,
3168
3402
  locale: t.locale,
3169
3403
  timezone: a.value
3170
3404
  }, {
3171
- default: C(({ rows: c, isLoading: p, values: m, listeners: y }) => [
3172
- T(ss, Wt(m, Dr(y)), null, 16),
3173
- T(bs, {
3174
- columns: d(gs),
3175
- rows: c.rows,
3176
- "is-loading": p,
3405
+ default: N(({ rows: d, isLoading: u, values: b, listeners: w }) => [
3406
+ S(Ls, Xt(b, Pr(w)), null, 16),
3407
+ S(Ks, {
3408
+ columns: s(Os),
3409
+ rows: d.rows,
3410
+ "is-loading": u,
3177
3411
  "offset-name": o.value
3178
3412
  }, null, 8, ["columns", "rows", "is-loading", "offset-name"])
3179
3413
  ]),
@@ -3186,19 +3420,19 @@ const us = {
3186
3420
  _: 1
3187
3421
  }, 8, ["locale"]));
3188
3422
  }
3189
- }, fs = /* @__PURE__ */ ke(hs, [["styles", [_e, Xe, Qe, vr, br, hr, fr]]]), ys = {
3423
+ }, Vs = /* @__PURE__ */ ye(Bs, [["styles", [fe, tt, rt, fr, yr, wr, xr]]]), Fs = {
3190
3424
  xmlns: "http://www.w3.org/2000/svg",
3191
3425
  viewBox: "0 0 24 24"
3192
3426
  };
3193
- function ws(t, e) {
3194
- return u(), _("svg", ys, e[0] || (e[0] = [
3427
+ function qs(t, e) {
3428
+ return p(), _("svg", Fs, e[0] || (e[0] = [
3195
3429
  g("path", {
3196
3430
  fill: "currentColor",
3197
3431
  d: "M3 18h18v-2H3zm0-5h18v-2H3zm0-7v2h18V6z"
3198
3432
  }, null, -1)
3199
3433
  ]));
3200
3434
  }
3201
- const xs = { render: ws }, _s = ["onClick", "onFocus", "onBlur"], ks = { class: "is-dropdown-menu" }, zs = ["onClick"], Ss = /* @__PURE__ */ Object.assign({
3435
+ const Hs = { render: qs }, Ws = ["onClick", "onFocus", "onBlur"], Js = { class: "is-dropdown-menu" }, Xs = ["onClick"], Qs = /* @__PURE__ */ Object.assign({
3202
3436
  inheritAttrs: !1
3203
3437
  }, {
3204
3438
  __name: "ChampionshipSelector",
@@ -3219,41 +3453,41 @@ const xs = { render: ws }, _s = ["onClick", "onFocus", "onBlur"], ks = { class:
3219
3453
  emits: ["change"],
3220
3454
  setup(t, { emit: e }) {
3221
3455
  const r = e;
3222
- return (a, o) => (u(), P(d(Kr), {
3456
+ return (a, o) => (p(), D(s(Br), {
3223
3457
  offset: 2,
3224
3458
  placement: "bottom-end",
3225
3459
  theme: "content",
3226
3460
  "append-to": t.target,
3227
3461
  "is-arrow-visible": !1
3228
3462
  }, {
3229
- default: C(({ setRef: i, show: n, hide: s }) => [
3463
+ default: N(({ setRef: i, show: n, hide: l }) => [
3230
3464
  g("button", {
3231
3465
  ref: i,
3232
3466
  type: "button",
3233
- onClick: Pr(n, ["stop"]),
3467
+ onClick: Mr(n, ["stop"]),
3234
3468
  onFocus: n,
3235
- onBlur: s
3469
+ onBlur: l
3236
3470
  }, [
3237
- T(d(xs), { style: { display: "block", height: "20px" } })
3238
- ], 40, _s)
3471
+ S(s(Hs), { style: { display: "block", height: "20px" } })
3472
+ ], 40, Ws)
3239
3473
  ]),
3240
- content: C(() => [
3241
- g("ul", ks, [
3242
- (u(!0), _(R, null, W(t.data, (i) => (u(), _("li", {
3474
+ content: N(() => [
3475
+ g("ul", Js, [
3476
+ (p(!0), _(R, null, W(t.data, (i) => (p(), _("li", {
3243
3477
  key: i.championshipId,
3244
- class: B(["is-dropdown-item", { "is-selected": t.selected === i.phaseId }]),
3478
+ class: G(["is-dropdown-item", { "is-selected": t.selected === i.phaseId }]),
3245
3479
  onClick: (n) => r("change", i)
3246
- }, f(i.name) + " - " + f(i.phase), 11, zs))), 128))
3480
+ }, m(i.name) + " - " + m(i.phase), 11, Xs))), 128))
3247
3481
  ])
3248
3482
  ]),
3249
3483
  _: 1
3250
3484
  }, 8, ["append-to"]));
3251
3485
  }
3252
3486
  });
3253
- function Is(t) {
3254
- return t.map((e) => ({ ...e, w: Yt([e.w, e.otw, e.sow]), l: Yt([e.l, e.otl, e.sol]) }));
3487
+ function Zs(t) {
3488
+ return t.map((e) => ({ ...e, w: Ut([e.w, e.otw, e.sow]), l: Ut([e.l, e.otl, e.sol]) }));
3255
3489
  }
3256
- const $s = {
3490
+ const el = {
3257
3491
  __name: "DataProvider",
3258
3492
  props: {
3259
3493
  apiKey: {
@@ -3266,36 +3500,36 @@ const $s = {
3266
3500
  }
3267
3501
  },
3268
3502
  setup(t) {
3269
- var m, y, v;
3270
- const e = t, { onError: r, reset: a } = Ee(), o = ce({
3503
+ var b, w, h;
3504
+ const e = t, { onError: r, reset: a } = Le(), o = de({
3271
3505
  championshipId: H(e.data).championshipId,
3272
3506
  phaseId: H(e.data).phaseId,
3273
- path: ((m = H(e.data)) == null ? void 0 : m.path) ?? "",
3507
+ path: ((b = H(e.data)) == null ? void 0 : b.path) ?? "",
3274
3508
  championshipName: H(e.data).name,
3275
- phaseName: ((y = H(e.data)) == null ? void 0 : y.phase) ?? null,
3276
- isPlayoffs: ((v = H(e.data)) == null ? void 0 : v.isPlayoffs) ?? !1
3277
- }), { state: i, isLoading: n, execute: s } = ee({
3509
+ phaseName: ((w = H(e.data)) == null ? void 0 : w.phase) ?? null,
3510
+ isPlayoffs: ((h = H(e.data)) == null ? void 0 : h.isPlayoffs) ?? !1
3511
+ }), { state: i, isLoading: n, execute: l } = ee({
3278
3512
  options: {
3279
- path: A(() => o.isPlayoffs ? "/v2/playoffs-tree" : "/v2/standings"),
3513
+ path: T(() => o.isPlayoffs ? "/v2/playoffs-tree" : "/v2/standings"),
3280
3514
  apiKey: e.apiKey,
3281
- params: A(() => ({ championshipId: o.championshipId, ...!o.isPlayoffs && { phaseId: o.phaseId } })),
3515
+ params: T(() => ({ championshipId: o.championshipId, ...!o.isPlayoffs && { phaseId: o.phaseId } })),
3282
3516
  resetOnExecute: !0,
3283
3517
  immediate: !0
3284
3518
  },
3285
- transform: (k) => Is(k),
3519
+ transform: (k) => Zs(k),
3286
3520
  onError: r
3287
- }), l = A(() => Be(i.value).addContinuousIndex().value()), c = A(() => ({
3521
+ }), c = T(() => qe(i.value).addContinuousIndex().value()), d = T(() => ({
3288
3522
  tag: o.path ? "a" : "p",
3289
3523
  props: {
3290
3524
  ...o.path && { href: o.path }
3291
3525
  }
3292
3526
  }));
3293
- function p({ championshipId: k, phaseId: b, name: I, path: x, phase: z, isPlayoffs: w }) {
3294
- o.championshipId = k, o.path = x || "", o.phaseId = b, o.championshipName = I, o.phaseName = z, o.isPlayoffs = w || !1, a(), s();
3527
+ function u({ championshipId: k, phaseId: v, name: I, path: y, phase: z, isPlayoffs: x }) {
3528
+ o.championshipId = k, o.path = y || "", o.phaseId = v, o.championshipName = I, o.phaseName = z, o.isPlayoffs = x || !1, a(), l();
3295
3529
  }
3296
- return (k, b) => ge(k.$slots, "default", Te(Ne({ convertedRows: l.value, isLoading: d(n), ...o, componentProps: c.value, onChange: p })));
3530
+ return (k, v) => pe(k.$slots, "default", Ne(Ee({ convertedRows: c.value, isLoading: s(n), ...o, componentProps: d.value, onChange: u })));
3297
3531
  }
3298
- }, Ts = { class: "section-title" }, Ns = { class: "is-team" }, Cs = { class: "is-team-name-short" }, As = { class: "is-team-name-long" }, Es = { class: "is-badge is-extra-large is-dark" }, Ds = { class: "is-team" }, Ps = { class: "is-team-name-short" }, Ls = { class: "is-team-name-long" }, Ms = {
3532
+ }, tl = { class: "section-title" }, rl = { class: "is-team" }, al = { class: "is-team-name-short" }, ol = { class: "is-team-name-long" }, il = { class: "is-badge is-extra-large is-dark" }, nl = { class: "is-team" }, sl = { class: "is-team-name-short" }, ll = { class: "is-team-name-long" }, cl = {
3299
3533
  __name: "PlayoffsList",
3300
3534
  props: {
3301
3535
  playoffs: {
@@ -3308,36 +3542,36 @@ const $s = {
3308
3542
  }
3309
3543
  },
3310
3544
  setup(t) {
3311
- const { t: e } = ne();
3312
- return (r, a) => (u(), P(d(Zt), { class: "playoffs-minimal" }, {
3313
- default: C(() => [
3314
- t.isLoading ? (u(), P(d(vt), { key: 0 })) : D("", !0),
3315
- (u(!0), _(R, null, W(t.playoffs, (o) => (u(), _("div", {
3545
+ const { t: e } = le();
3546
+ return (r, a) => (p(), D(s(rr), { class: "playoffs-minimal" }, {
3547
+ default: N(() => [
3548
+ t.isLoading ? (p(), D(s(ft), { key: 0 })) : A("", !0),
3549
+ (p(!0), _(R, null, W(t.playoffs, (o) => (p(), _("div", {
3316
3550
  key: `${o.divisionStage2Name}-${o.divisionStageNumber}`,
3317
3551
  class: "section"
3318
3552
  }, [
3319
- g("div", Ts, f(d(e)(`playoffs.${o.divisionStage2Name}${o.divisionStageNumber || ""}`)), 1),
3553
+ g("div", tl, m(s(e)(`playoffs.${o.divisionStage2Name}${o.divisionStageNumber || ""}`)), 1),
3320
3554
  g("ul", null, [
3321
- g("li", Ns, [
3322
- g("span", Cs, f(o.homeTeam.shortName), 1),
3323
- g("span", As, f(o.homeTeam.longName), 1)
3555
+ g("li", rl, [
3556
+ g("span", al, m(o.homeTeam.shortName), 1),
3557
+ g("span", ol, m(o.homeTeam.longName), 1)
3324
3558
  ]),
3325
3559
  g("li", null, [
3326
- T(d(me), {
3560
+ S(s(ue), {
3327
3561
  src: o.homeTeam.logo
3328
3562
  }, null, 8, ["src"])
3329
3563
  ]),
3330
3564
  g("li", null, [
3331
- g("span", Es, f(o.seriesStandings), 1)
3565
+ g("span", il, m(o.seriesStandings), 1)
3332
3566
  ]),
3333
3567
  g("li", null, [
3334
- T(d(me), {
3568
+ S(s(ue), {
3335
3569
  src: o.awayTeam.logo
3336
3570
  }, null, 8, ["src"])
3337
3571
  ]),
3338
- g("li", Ds, [
3339
- g("span", Ps, f(o.awayTeam.shortName), 1),
3340
- g("span", Ls, f(o.awayTeam.longName), 1)
3572
+ g("li", nl, [
3573
+ g("span", sl, m(o.awayTeam.shortName), 1),
3574
+ g("span", ll, m(o.awayTeam.longName), 1)
3341
3575
  ])
3342
3576
  ])
3343
3577
  ]))), 128))
@@ -3345,7 +3579,7 @@ const $s = {
3345
3579
  _: 1
3346
3580
  }));
3347
3581
  }
3348
- }, js = ".standings-selector-title{display:grid;grid-template-columns:1fr auto;align-items:center;padding:var(--vbr-widget-standings-selector-title-padding);text-transform:var(--vbr-widget-standings-selector-title-transform);font-size:var(--vbr-widget-standings-selector-title-size);color:var(--vbr-widget-standings-selector-title-color);background:var(--vbr-widget-standings-selector-title-bg-color)}.standings-selector .is-title-text svg{height:16px;vertical-align:middle}", Os = '.table{border-collapse:collapse;border-spacing:0;color:var(--vbr-widget-table-color);background-color:var(--vbr-widget-table-default-bg-color)}.table table,.table caption,.table tbody,.table tfoot,.table thead,.table tr,.table th,.table td{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}.table :is(th,td){padding:8px;white-space:nowrap;vertical-align:middle;text-align:center}.table :is(th,td).is-text-left{text-align:left}.table :is(th,td).is-text-right{text-align:right}.table th{width:var(--vbr-widget-table-default-column-width);background:var(--vbr-widget-table-header-bg-color);font-size:var(--vbr-widget-table-header-font-size);font-weight:700;color:var(--vbr-widget-table-header-color)}.table th:focus-visible,.table th:hover{background-color:var(--vbr-widget-table-header-hover-bg-color);outline:none}.table th.is-sortable{position:relative;cursor:pointer}.table th.is-sortable .icon-sort{opacity:.5}.table th.is-active{background-color:var(--vbr-widget-table-table-header-active-bg-color);color:var(--vbr-widget-table-header-active-color)}.table th.is-active .icon-sort{opacity:1}.table th.is-asc,.table th.is-desc{position:relative}.table th.is-w-auto{width:auto}.table th .is-icon-sort{width:11px;height:11px;margin-left:5px}.table td.is-active{font-weight:700;color:var(--vbr-widget-table-active-color);background:var(--vbr-widget-table-active-bg-color)}.table td.is-zero{color:var(--vbr-widget-table-zero-color)}.table td.is-possible-empty:empty:before{content:"0";color:var(--vbr-widget-table-zero-color)}.table td .is-text-light,.table td.is-text-light{color:var(--vbr-widget-table-cell-light-color)}.table td .is-text-dark,.table td.is-text-dark{color:var(--vbr-widget-table-cell-dark-color)}.table td .is-logo-image{display:inline-block;vertical-align:middle;width:var(--vbr-widget-table-cell-logo-size);height:var(--vbr-widget-table-cell-logo-size)}.table td .is-portrait-image{display:inline-block;vertical-align:middle;width:var(--vbr-widget-table-cell-portrait-size);height:var(--vbr-widget-table-cell-portrait-size);object-fit:cover;object-position:top;overflow:hidden;border-radius:100%;border:1px solid var(--vbr-widget-primary-color-100)}.table td .is-portrait-image img{width:var(--vbr-widget-table-cell-portrait-size);height:auto}.table td.is-text-bold{font-weight:700}.table td.is-text-italic{font-style:italic}.table td.is-text-xl{font-size:var(--vbr-widget-typography-font-size-700)}.table td .is-text-accent{color:var(--vbr-widget-secondary-color-500)}.table td.is-w-auto{width:auto}.table td.is-horizontal-content{display:inline-flex;align-items:center}.table td.is-text-positive,.table td .is-text-positive{color:var(--vbr-widget-live-game-color)}.table td.is-text-negative,.table td .is-text-negative{color:var(--vbr-widget-danger-color-a400)}.table td.is-has-image{padding:0 2px}.table td .is-duplicated{color:var(--vbr-widget-table-neutral-color)}.table td svg{width:16px;height:16px}.table td button{padding:3px;line-height:0;border:none;outline:none;background-color:transparent}.table td button:hover{background-color:var(--vbr-widget-popover-trigger-hover-bg-color)}.table td button:active,.table td button:focus{background-color:var(--vbr-widget-popover-trigger-focus-bg-color)}.table td a{text-decoration:none}.table td .label{padding:3px 6px;font-size:var(--vbr-widget-typography-font-size-100);font-weight:700;color:var(--vbr-widget-table-label-color);background-color:var(--vbr-widget-table-label-bg-color);border-radius:2px}.table td .label:not(:last-of-type){margin-right:3px}.table td a{color:var(--vbr-widget-link-color)}.table td a:hover{color:var(--vbr-widget-hover-color)}.table td .is-team-name-long{display:block}.table td .is-team-name-short{display:none}@container table-wrapper (max-width: 768px){.table td .is-team-name-long{display:none}.table td .is-team-name-short{display:block}}.table tr.is-highlighted{color:var(--vbr-widget-danger-color-a400)}.table tr.is-optional{opacity:.5}.table tr:nth-child(2n){background:var(--vbr-widget-table-stripped-bg-color)}.table tr:nth-child(2n) td.is-active{background-color:var(--vbr-widget-table-active-even-bg-color)}.table tbody tr:focus-within,.table tbody tr:hover{color:var(--vbr-widget-table-hover-color);background-color:var(--vbr-widget-table-hover-bg-color)}.table tbody tr:focus-within td.is-active,.table tbody tr:hover td.is-active{color:var(--vbr-widget-table-active-hover-color);background-color:var(--vbr-widget-table-active-hover-bg-color)}', Gs = ".table-responsive{container-name:table-wrapper;container-type:inline-size;width:100%;overflow-x:auto}.table-responsive table{width:100%}", Rs = ".is-dropdown-menu{padding:8px 0;margin:0;min-width:160px;color:#000;list-style:none;background:var(--vbr-widget-popover-bg-color);border-radius:3px;box-shadow:0 5px 30px #0000004d}.is-dropdown-menu .is-dropdown-item{display:flex;align-items:center;padding:.25rem 1rem;font-family:var(--vbr-widget-font-family);line-height:24px;color:var(--vbr-widget-dropdown-item-color);text-align:inherit;text-decoration:none;white-space:nowrap;background-color:transparent;border:0;cursor:pointer}.is-dropdown-menu .is-dropdown-item:hover{color:var(--vbr-widget-dropdown-item-hover-color);background-color:var(--vbr-widget-dropdown-item-hover-bg-color)}.is-dropdown-menu .is-dropdown-item.is-selected{color:var(--vbr-widget-dropdown-item-selected-color);background-color:var(--vbr-widget-dropdown-item-selected-hover-bg-color)}.is-dropdown-menu .is-dropdown-item.is-selected:hover{background-color:var(--vbr-widget-dropdown-item-selected-hover-bg-color)}.is-dropdown-menu .is-dropdown-item svg{margin-right:8px}", Ys = ".is-text-right{text-align:right}.is-text-center{text-align:center}.is-text-bold{font-weight:700}.is-text-italic{font-style:italic}.is-text-xs{font-size:var(--vbr-widget-typography-font-size-200);line-height:var(--vbr-widget-typography-font-lineheight-200)}.is-text-sm{font-size:var(--vbr-widget-typography-font-size-400);line-height:var(--vbr-widget-typography-font-lineheight-200)}.is-text-base{font-size:var(--vbr-widget-typography-font-size-500);line-height:var(--vbr-widget-typography-font-lineheight-500)}.is-text-lg{font-size:var(--vbr-widget-typography-font-size-600);line-height:var(--vbr-widget-typography-font-lineheight-600)}.is-text-xl{font-size:var(--vbr-widget-typography-font-size-700);line-height:var(--vbr-widget-typography-font-lineheight-700)}.is-text-4xl{font-size:var(--vbr-widget-typography-font-size-950);line-height:var(--vbr-widget-typography-font-lineheight-950)}.is-uppercase{text-transform:uppercase}.is-opacity-20{opacity:.2}.is-opacity-30{opacity:.3}.is-opacity-40{opacity:.4}.is-opacity-50{opacity:.5}.is-mt-5{margin-top:1rem}.is-mb-5{margin-bottom:1rem}.is-whitespace-nowrap{white-space:nowrap}.is-heading-1{font-size:var(--vbr-widget-typography-heading-1-size);line-height:var(--vbr-widget-typography-font-lineheight-700);margin-block-start:var(--vbr-widget-typography-font-size-700);margin-block-end:calc(var(--vbr-widget-typography-font-size-700) / 2);font-weight:var(--vbr-widget-typography-heading-weight)}.is-heading-2{font-size:var(--vbr-widget-typography-heading-2-size);line-height:var(--vbr-widget-typography-font-lineheight-600);font-weight:var(--vbr-widget-typography-heading-weight);margin-block-start:var(--vbr-widget-typography-font-size-600);margin-block-end:calc(var(--vbr-widget-typography-font-size-600) / 2)}.is-heading-3{font-size:var(--vbr-widget-typography-heading-3-size);line-height:var(--vbr-widget-typography-font-lineheight-500);font-weight:var(--vbr-widget-typography-heading-weight);margin-block-start:var(--vbr-widget-typography-font-size-500);margin-block-end:calc(var(--vbr-widget-typography-font-size-500) / 2)}.is-rounded{overflow:hidden;border-radius:100%}.is-rounded+.is-rounded{margin-left:3px}.is-rounded img{display:block}.is-w-5{width:16px}.is-w-7{width:24px}.is-w-10{width:32px}", Us = ".playoffs .table-grid{display:grid;grid-template-columns:60px 160px minmax(60px,.41fr) minmax(160px,1fr) minmax(40px,60px) 70px minmax(160px,1fr) minmax(180px,.9fr);color:var(--vbr-widget-table-color)}.playoffs .table-grid:nth-child(odd)>div{background-color:var(--vbr-widget-table-stripped-bg-color)}.playoffs .table-grid.is-optional{opacity:.5}.playoffs .table-grid>div{padding:8px}.playoffs .table-grid .is-truncate{overflow:visible;text-overflow:ellipsis;white-space:nowrap}.playoffs .table-grid .is-text-right{text-align:right}.playoffs .table-grid .is-text-center{text-align:center}.playoffs .table-grid .is-text-bold{font-weight:900}.playoffs .table-grid .is-text-light{color:var(--vbr-widget-table-cell-light-color)}.playoffs .table-grid .is-text-dark{color:var(--vbr-widget-table-cell-dark-color)}.playoffs .table-grid .is-text-accent{color:var(--vbr-widget-secondary-color-500)}.playoffs .table-grid .label{padding:3px 6px;font-size:var(--vbr-widget-typography-font-size-100);font-weight:700;color:var(--vbr-widget-table-label-color);background-color:var(--vbr-widget-table-label-bg-color);border-radius:2px}.playoffs .table-grid .label:not(:last-of-type){margin-right:3px}.playoffs .table-grid .is-team-name-long{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.playoffs .table-grid .is-team-name-short{display:none}@container table-wrapper (max-width: 768px){.playoffs .table-grid .is-team-name-long{display:none}.playoffs .table-grid .is-team-name-short{display:block}}.playoffs .section-title{padding:10px;text-align:center;font-size:var(--vbr-widget-typography-font-size-500);font-weight:700;color:var(--vbr-widget-primary-color-100);background-color:var(--vbr-widget-primary-color-700)}.playoffs .section-details{display:grid;grid-template-columns:1fr;align-items:center;justify-items:center;gap:20px;padding:20px;background-color:var(--vbr-widget-primary-color-50)}@media all and (min-width: 576px){.playoffs .section-details{grid-template-columns:1fr fit-content(100px) fit-content(100px) fit-content(100px) 1fr}}.playoffs .section-details .is-team-name-long{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.playoffs .section-details .is-team-name-short{display:none}@container section-details (max-width: 768px){.playoffs .section-details .is-team-name-long{display:none}.playoffs .section-details .is-team-name-short{display:block}}.playoffs .section-details .is-logo-image{width:70px;height:70px}.playoffs .section-details .is-result{font-size:4rem;font-weight:700;text-align:center;color:var(--vbr-widget-primary-color-800)}.playoffs .section-details .is-team-name{font-size:var(--vbr-widget-typography-font-size-700);font-weight:700;color:var(--vbr-widget-primary-color-800)}.playoffs .section-details .is-right{text-align:right}.playoffs-minimal{display:grid;gap:8px}.playoffs-minimal .section .section-title{font-size:var(--vbr-widget-standings-selector-section-title-size);color:var(--vbr-widget-standings-selector-section-title-color);font-weight:700;background:var(--vbr-widget-standings-selector-section-title-bg);text-align:center;padding:var(--vbr-widget-standings-selector-section-title-padding)}.playoffs-minimal .section ul{display:grid;grid-template-columns:minmax(0,1fr) var(--vbr-widget-standings-selector-section-logo-size) auto var(--vbr-widget-standings-selector-section-logo-size) minmax(0,1fr);gap:12px;align-items:center}.playoffs-minimal .section li{padding-block:8px}.playoffs-minimal .section li:first-of-type{text-align:end}.playoffs-minimal .section img{display:block;width:100%;aspect-ratio:1}.playoffs-minimal .section .is-team{font-weight:700;color:var(--vbr-widget-standings-selector-section-team-color);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.playoffs-minimal .section .is-team .is-team-name-short{display:none}@container table-wrapper (max-width: 360px){.playoffs-minimal .section .is-team .is-team-name-long{display:none}.playoffs-minimal .section .is-team .is-team-name-short{display:block}}", Ks = { class: "standings-selector" }, Bs = { class: "standings-selector-title" }, Vs = {
3582
+ }, dl = ".standings-selector-title{display:grid;grid-template-columns:1fr auto;align-items:center;padding:var(--vbr-widget-standings-selector-title-padding);text-transform:var(--vbr-widget-standings-selector-title-transform);font-size:var(--vbr-widget-standings-selector-title-size);color:var(--vbr-widget-standings-selector-title-color);background:var(--vbr-widget-standings-selector-title-bg-color)}.standings-selector .is-title-text svg{height:16px;vertical-align:middle}", gl = '.table{border-collapse:collapse;border-spacing:0;color:var(--vbr-widget-table-color);background-color:var(--vbr-widget-table-default-bg-color)}.table table,.table caption,.table tbody,.table tfoot,.table thead,.table tr,.table th,.table td{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}.table :is(th,td){padding:8px;white-space:nowrap;vertical-align:middle;text-align:center}.table :is(th,td).is-text-left{text-align:left}.table :is(th,td).is-text-right{text-align:right}.table th{width:var(--vbr-widget-table-default-column-width);background:var(--vbr-widget-table-header-bg-color);font-size:var(--vbr-widget-table-header-font-size);font-weight:700;color:var(--vbr-widget-table-header-color)}.table th:focus-visible,.table th:hover{background-color:var(--vbr-widget-table-header-hover-bg-color);outline:none}.table th.is-sortable{position:relative;cursor:pointer}.table th.is-sortable .icon-sort{opacity:.5}.table th.is-active{background-color:var(--vbr-widget-table-table-header-active-bg-color);color:var(--vbr-widget-table-header-active-color)}.table th.is-active .icon-sort{opacity:1}.table th.is-asc,.table th.is-desc{position:relative}.table th.is-w-auto{width:auto}.table th .is-icon-sort{width:11px;height:11px;margin-left:5px}.table td.is-active{font-weight:700;color:var(--vbr-widget-table-active-color);background:var(--vbr-widget-table-active-bg-color)}.table td.is-zero{color:var(--vbr-widget-table-zero-color)}.table td.is-possible-empty:empty:before{content:"0";color:var(--vbr-widget-table-zero-color)}.table td .is-text-light,.table td.is-text-light{color:var(--vbr-widget-table-cell-light-color)}.table td .is-text-dark,.table td.is-text-dark{color:var(--vbr-widget-table-cell-dark-color)}.table td .is-logo-image{display:inline-block;vertical-align:middle;width:var(--vbr-widget-table-cell-logo-size);height:var(--vbr-widget-table-cell-logo-size)}.table td .is-portrait-image{display:inline-block;vertical-align:middle;width:var(--vbr-widget-table-cell-portrait-size);height:var(--vbr-widget-table-cell-portrait-size);object-fit:cover;object-position:top;overflow:hidden;border-radius:100%;border:1px solid var(--vbr-widget-primary-color-100)}.table td .is-portrait-image img{width:var(--vbr-widget-table-cell-portrait-size);height:auto}.table td.is-text-bold{font-weight:700}.table td.is-text-italic{font-style:italic}.table td.is-text-xl{font-size:var(--vbr-widget-typography-font-size-700)}.table td .is-text-accent{color:var(--vbr-widget-secondary-color-500)}.table td.is-w-auto{width:auto}.table td.is-horizontal-content{display:inline-flex;align-items:center}.table td.is-text-positive,.table td .is-text-positive{color:var(--vbr-widget-live-game-color)}.table td.is-text-negative,.table td .is-text-negative{color:var(--vbr-widget-danger-color-a400)}.table td.is-has-image{padding:0 2px}.table td .is-duplicated{color:var(--vbr-widget-table-neutral-color)}.table td svg{width:16px;height:16px}.table td button{padding:3px;line-height:0;border:none;outline:none;background-color:transparent}.table td button:hover{background-color:var(--vbr-widget-popover-trigger-hover-bg-color)}.table td button:active,.table td button:focus{background-color:var(--vbr-widget-popover-trigger-focus-bg-color)}.table td a{text-decoration:none}.table td .label{padding:3px 6px;font-size:var(--vbr-widget-typography-font-size-100);font-weight:700;color:var(--vbr-widget-table-label-color);background-color:var(--vbr-widget-table-label-bg-color);border-radius:2px}.table td .label:not(:last-of-type){margin-right:3px}.table td a{color:var(--vbr-widget-link-color)}.table td a:hover{color:var(--vbr-widget-hover-color)}.table td .is-team-name-long{display:block}.table td .is-team-name-short{display:none}@container table-wrapper (max-width: 768px){.table td .is-team-name-long{display:none}.table td .is-team-name-short{display:block}}.table tr.is-highlighted{color:var(--vbr-widget-danger-color-a400)}.table tr.is-optional{opacity:.5}.table tr:nth-child(2n){background:var(--vbr-widget-table-stripped-bg-color)}.table tr:nth-child(2n) td.is-active{background-color:var(--vbr-widget-table-active-even-bg-color)}.table tbody tr:focus-within,.table tbody tr:hover{color:var(--vbr-widget-table-hover-color);background-color:var(--vbr-widget-table-hover-bg-color)}.table tbody tr:focus-within td.is-active,.table tbody tr:hover td.is-active{color:var(--vbr-widget-table-active-hover-color);background-color:var(--vbr-widget-table-active-hover-bg-color)}', ul = ".table-responsive{container-name:table-wrapper;container-type:inline-size;width:100%;overflow-x:auto}.table-responsive table{width:100%}", pl = ".is-dropdown-menu{padding:8px 0;margin:0;min-width:160px;color:#000;list-style:none;background:var(--vbr-widget-popover-bg-color);border-radius:3px;box-shadow:0 5px 30px #0000004d}.is-dropdown-menu .is-dropdown-item{display:flex;align-items:center;padding:.25rem 1rem;font-family:var(--vbr-widget-font-family);line-height:24px;color:var(--vbr-widget-dropdown-item-color);text-align:inherit;text-decoration:none;white-space:nowrap;background-color:transparent;border:0;cursor:pointer}.is-dropdown-menu .is-dropdown-item:hover{color:var(--vbr-widget-dropdown-item-hover-color);background-color:var(--vbr-widget-dropdown-item-hover-bg-color)}.is-dropdown-menu .is-dropdown-item.is-selected{color:var(--vbr-widget-dropdown-item-selected-color);background-color:var(--vbr-widget-dropdown-item-selected-hover-bg-color)}.is-dropdown-menu .is-dropdown-item.is-selected:hover{background-color:var(--vbr-widget-dropdown-item-selected-hover-bg-color)}.is-dropdown-menu .is-dropdown-item svg{margin-right:8px}", ml = ".is-text-right{text-align:right}.is-text-center{text-align:center}.is-text-bold{font-weight:700}.is-text-italic{font-style:italic}.is-text-xs{font-size:var(--vbr-widget-typography-font-size-200);line-height:var(--vbr-widget-typography-font-lineheight-200)}.is-text-sm{font-size:var(--vbr-widget-typography-font-size-400);line-height:var(--vbr-widget-typography-font-lineheight-200)}.is-text-base{font-size:var(--vbr-widget-typography-font-size-500);line-height:var(--vbr-widget-typography-font-lineheight-500)}.is-text-lg{font-size:var(--vbr-widget-typography-font-size-600);line-height:var(--vbr-widget-typography-font-lineheight-600)}.is-text-xl{font-size:var(--vbr-widget-typography-font-size-700);line-height:var(--vbr-widget-typography-font-lineheight-700)}.is-text-4xl{font-size:var(--vbr-widget-typography-font-size-950);line-height:var(--vbr-widget-typography-font-lineheight-950)}.is-uppercase{text-transform:uppercase}.is-opacity-20{opacity:.2}.is-opacity-30{opacity:.3}.is-opacity-40{opacity:.4}.is-opacity-50{opacity:.5}.is-mt-5{margin-top:1rem}.is-mb-5{margin-bottom:1rem}.is-whitespace-nowrap{white-space:nowrap}.is-heading-1{font-size:var(--vbr-widget-typography-heading-1-size);line-height:var(--vbr-widget-typography-font-lineheight-700);margin-block-start:var(--vbr-widget-typography-font-size-700);margin-block-end:calc(var(--vbr-widget-typography-font-size-700) / 2);font-weight:var(--vbr-widget-typography-heading-weight)}.is-heading-2{font-size:var(--vbr-widget-typography-heading-2-size);line-height:var(--vbr-widget-typography-font-lineheight-600);font-weight:var(--vbr-widget-typography-heading-weight);margin-block-start:var(--vbr-widget-typography-font-size-600);margin-block-end:calc(var(--vbr-widget-typography-font-size-600) / 2)}.is-heading-3{font-size:var(--vbr-widget-typography-heading-3-size);line-height:var(--vbr-widget-typography-font-lineheight-500);font-weight:var(--vbr-widget-typography-heading-weight);margin-block-start:var(--vbr-widget-typography-font-size-500);margin-block-end:calc(var(--vbr-widget-typography-font-size-500) / 2)}.is-rounded{overflow:hidden;border-radius:100%}.is-rounded+.is-rounded{margin-left:3px}.is-rounded img{display:block}.is-w-5{width:16px}.is-w-7{width:24px}.is-w-10{width:32px}", vl = ".playoffs .table-grid{display:grid;grid-template-columns:60px 160px minmax(60px,.41fr) minmax(160px,1fr) minmax(40px,60px) 70px minmax(160px,1fr) minmax(180px,.9fr);color:var(--vbr-widget-table-color)}.playoffs .table-grid:nth-child(odd)>div{background-color:var(--vbr-widget-table-stripped-bg-color)}.playoffs .table-grid.is-optional{opacity:.5}.playoffs .table-grid>div{padding:8px}.playoffs .table-grid .is-truncate{overflow:visible;text-overflow:ellipsis;white-space:nowrap}.playoffs .table-grid .is-text-right{text-align:right}.playoffs .table-grid .is-text-center{text-align:center}.playoffs .table-grid .is-text-bold{font-weight:900}.playoffs .table-grid .is-text-light{color:var(--vbr-widget-table-cell-light-color)}.playoffs .table-grid .is-text-dark{color:var(--vbr-widget-table-cell-dark-color)}.playoffs .table-grid .is-text-accent{color:var(--vbr-widget-secondary-color-500)}.playoffs .table-grid .label{padding:3px 6px;font-size:var(--vbr-widget-typography-font-size-100);font-weight:700;color:var(--vbr-widget-table-label-color);background-color:var(--vbr-widget-table-label-bg-color);border-radius:2px}.playoffs .table-grid .label:not(:last-of-type){margin-right:3px}.playoffs .table-grid .is-team-name-long{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.playoffs .table-grid .is-team-name-short{display:none}@container table-wrapper (max-width: 768px){.playoffs .table-grid .is-team-name-long{display:none}.playoffs .table-grid .is-team-name-short{display:block}}.playoffs .section-title{padding:10px;text-align:center;font-size:var(--vbr-widget-typography-font-size-500);font-weight:700;color:var(--vbr-widget-primary-color-100);background-color:var(--vbr-widget-primary-color-700)}.playoffs .section-details{display:grid;grid-template-columns:1fr;align-items:center;justify-items:center;gap:20px;padding:20px;background-color:var(--vbr-widget-primary-color-50)}@media all and (min-width: 576px){.playoffs .section-details{grid-template-columns:1fr fit-content(100px) fit-content(100px) fit-content(100px) 1fr}}.playoffs .section-details .is-team-name-long{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.playoffs .section-details .is-team-name-short{display:none}@container section-details (max-width: 768px){.playoffs .section-details .is-team-name-long{display:none}.playoffs .section-details .is-team-name-short{display:block}}.playoffs .section-details .is-logo-image{width:70px;height:70px}.playoffs .section-details .is-result{font-size:4rem;font-weight:700;text-align:center;color:var(--vbr-widget-primary-color-800)}.playoffs .section-details .is-team-name{font-size:var(--vbr-widget-typography-font-size-700);font-weight:700;color:var(--vbr-widget-primary-color-800)}.playoffs .section-details .is-right{text-align:right}.playoffs-minimal{display:grid;gap:8px}.playoffs-minimal .section .section-title{font-size:var(--vbr-widget-standings-selector-section-title-size);color:var(--vbr-widget-standings-selector-section-title-color);font-weight:700;background:var(--vbr-widget-standings-selector-section-title-bg);text-align:center;padding:var(--vbr-widget-standings-selector-section-title-padding)}.playoffs-minimal .section ul{display:grid;grid-template-columns:minmax(0,1fr) var(--vbr-widget-standings-selector-section-logo-size) auto var(--vbr-widget-standings-selector-section-logo-size) minmax(0,1fr);gap:12px;align-items:center}.playoffs-minimal .section li{padding-block:8px}.playoffs-minimal .section li:first-of-type{text-align:end}.playoffs-minimal .section img{display:block;width:100%;aspect-ratio:1}.playoffs-minimal .section .is-team{font-weight:700;color:var(--vbr-widget-standings-selector-section-team-color);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.playoffs-minimal .section .is-team .is-team-name-short{display:none}@container table-wrapper (max-width: 360px){.playoffs-minimal .section .is-team .is-team-name-long{display:none}.playoffs-minimal .section .is-team .is-team-name-short{display:block}}", bl = { class: "standings-selector" }, hl = { class: "standings-selector-title" }, fl = {
3349
3583
  __name: "StandingsSelector.ce",
3350
3584
  props: {
3351
3585
  locale: {
@@ -3362,53 +3596,53 @@ const $s = {
3362
3596
  }
3363
3597
  },
3364
3598
  setup(t) {
3365
- const e = t, r = { en: we, hu: xe }, a = O(null), o = A(() => typeof e.data == "string" ? JSON.parse(e.data) : e.data);
3366
- return (i, n) => (u(), P(d(ye), {
3599
+ const e = t, r = { en: be, hu: he }, a = O(null), o = T(() => typeof e.data == "string" ? JSON.parse(e.data) : e.data);
3600
+ return (i, n) => (p(), D(s(ve), {
3367
3601
  locale: e.locale,
3368
3602
  messages: r
3369
3603
  }, {
3370
- default: C(() => [
3371
- T(d(Ce), null, {
3372
- default: C(({ error: s, hasError: l }) => [
3373
- T($s, { data: o.value }, {
3374
- default: C(({ convertedRows: c, isLoading: p, path: m, phaseName: y, componentProps: v, championshipName: k, phaseId: b, isPlayoffs: I, onChange: x }) => [
3375
- g("div", Ks, [
3376
- g("div", Bs, [
3377
- (u(), P(Lr(v.tag), Wt(v.props, { class: "is-title-text" }), {
3378
- default: C(() => [
3379
- g("b", null, f(k), 1),
3380
- ae(" - " + f(y) + " ", 1),
3381
- m ? (u(), P(d(zt), { key: 0 })) : D("", !0)
3604
+ default: N(() => [
3605
+ S(s(Ae), null, {
3606
+ default: N(({ error: l, hasError: c }) => [
3607
+ S(el, { data: o.value }, {
3608
+ default: N(({ convertedRows: d, isLoading: u, path: b, phaseName: w, componentProps: h, championshipName: k, phaseId: v, isPlayoffs: I, onChange: y }) => [
3609
+ g("div", bl, [
3610
+ g("div", hl, [
3611
+ (p(), D(jr(h.tag), Xt(h.props, { class: "is-title-text" }), {
3612
+ default: N(() => [
3613
+ g("b", null, m(k), 1),
3614
+ re(" - " + m(w) + " ", 1),
3615
+ b ? (p(), D(s($t), { key: 0 })) : A("", !0)
3382
3616
  ]),
3383
3617
  _: 2
3384
3618
  }, 1040)),
3385
- o.value.length > 1 ? (u(), P(Ss, {
3619
+ o.value.length > 1 ? (p(), D(Qs, {
3386
3620
  key: 0,
3387
3621
  data: o.value,
3388
- selected: b,
3622
+ selected: v,
3389
3623
  target: a.value,
3390
- onChange: x
3391
- }, null, 8, ["data", "selected", "target", "onChange"])) : D("", !0)
3624
+ onChange: y
3625
+ }, null, 8, ["data", "selected", "target", "onChange"])) : A("", !0)
3392
3626
  ]),
3393
- I ? (u(), P(Ms, {
3627
+ I ? (p(), D(cl, {
3394
3628
  key: 0,
3395
- playoffs: c.rows,
3396
- "is-loading": p
3397
- }, null, 8, ["playoffs", "is-loading"])) : (u(), P(d(Qt), {
3629
+ playoffs: d.rows,
3630
+ "is-loading": u
3631
+ }, null, 8, ["playoffs", "is-loading"])) : (p(), D(s(tr), {
3398
3632
  key: 1,
3399
- "is-loading": p,
3400
- columns: d(Gr),
3401
- rows: c.rows,
3633
+ "is-loading": u,
3634
+ columns: s(Rr),
3635
+ rows: d.rows,
3402
3636
  "append-to": a.value,
3403
3637
  "external-team-resolver": () => {
3404
3638
  }
3405
3639
  }, null, 8, ["is-loading", "columns", "rows", "append-to"])),
3406
- T(d(Oe), {
3407
- rows: c.rows,
3640
+ S(s(Re), {
3641
+ rows: d.rows,
3408
3642
  "additional-key": "inheritedPoints"
3409
3643
  }, null, 8, ["rows"]),
3410
- T(d(Oe), {
3411
- rows: c.rows,
3644
+ S(s(Re), {
3645
+ rows: d.rows,
3412
3646
  "additional-key": "penaltyPoints"
3413
3647
  }, null, 8, ["rows"])
3414
3648
  ]),
@@ -3419,10 +3653,10 @@ const $s = {
3419
3653
  ]),
3420
3654
  _: 1
3421
3655
  }, 8, ["data"]),
3422
- l ? (u(), P(d(Ae), {
3656
+ c ? (p(), D(s(De), {
3423
3657
  key: 0,
3424
- error: s
3425
- }, null, 8, ["error"])) : D("", !0)
3658
+ error: l
3659
+ }, null, 8, ["error"])) : A("", !0)
3426
3660
  ]),
3427
3661
  _: 1
3428
3662
  })
@@ -3430,26 +3664,28 @@ const $s = {
3430
3664
  _: 1
3431
3665
  }, 8, ["locale"]));
3432
3666
  }
3433
- }, Fs = /* @__PURE__ */ ke(Vs, [["styles", [_e, js, Os, Gs, Rs, Ys, Us]]]), qs = fe(bi), Hs = fe(Bi), Ws = fe(fs), Js = fe(rs), Xs = fe(In), Qs = fe(Fs);
3434
- function Zs() {
3435
- customElements.define("mjsz-vbr-calendar", qs), customElements.define("mjsz-vbr-championship", Hs), customElements.define("mjsz-vbr-schedule-cup", Ws), customElements.define("mjsz-vbr-ibr-identifiers", Js), customElements.define("mjsz-vbr-games-timeline", Xs), customElements.define("mjsz-vbr-standings-selector", Qs);
3667
+ }, yl = /* @__PURE__ */ ye(fl, [["styles", [fe, dl, gl, ul, pl, ml, vl]]]), wl = me(yi), xl = me(qi), _l = me(Vs), kl = me(Ts), zl = me(Zn), Sl = me(yl), $l = me(fn);
3668
+ function Il() {
3669
+ customElements.define("mjsz-vbr-calendar", wl), customElements.define("mjsz-vbr-championship", xl), customElements.define("mjsz-vbr-schedule-cup", _l), customElements.define("mjsz-vbr-ibr-identifiers", kl), customElements.define("mjsz-vbr-games-timeline", zl), customElements.define("mjsz-vbr-standings-selector", Sl), customElements.define("mjsz-vbr-countdown", $l);
3436
3670
  }
3437
- const sl = {
3438
- install: () => Zs()
3671
+ const Pl = {
3672
+ install: () => Il()
3439
3673
  };
3440
3674
  export {
3441
- bi as Calendar,
3442
- qs as CalendarCE,
3443
- Bi as Championship,
3444
- Hs as ChampionshipCE,
3445
- In as GamesTimeline,
3446
- Xs as GamesTimelineCE,
3447
- rs as IVRIdentifiers,
3448
- Js as IVRIdentifiersCE,
3449
- fs as ScheduleCup,
3450
- Ws as ScheduleCupCE,
3451
- Fs as StandingsSelector,
3452
- Qs as StandingsSelectorCE,
3453
- sl as default,
3454
- Zs as register
3675
+ yi as Calendar,
3676
+ wl as CalendarCE,
3677
+ qi as Championship,
3678
+ xl as ChampionshipCE,
3679
+ fn as Countdown,
3680
+ $l as CountdownCE,
3681
+ Zn as GamesTimeline,
3682
+ zl as GamesTimelineCE,
3683
+ Ts as IVRIdentifiers,
3684
+ kl as IVRIdentifiersCE,
3685
+ Vs as ScheduleCup,
3686
+ _l as ScheduleCupCE,
3687
+ yl as StandingsSelector,
3688
+ Sl as StandingsSelectorCE,
3689
+ Pl as default,
3690
+ Il as register
3455
3691
  };