@mjsz-vbr-elements/extended 2.10.0 → 2.11.1

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