@mjsz-vbr-elements/extended 2.10.0 → 2.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1,199 +1,285 @@
1
1
  /**
2
2
  * name: @mjsz-vbr-elements/extended
3
- * version: v2.10.0 - 13/01/2025, 21:45:12
3
+ * version: v2.11.0 - 14/01/2025, 16:53:46
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 ie, getCurrentScope as hr, onScopeDispose as fr, toValue as V, readonly as yr, onMounted as ct, nextTick as ye, getCurrentInstance as Ft, reactive as de, shallowRef as Ee, computed as A, toRefs as wr, 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, useTemplateRef as xr, provide as kr, useSlots as _r, useId as jr, inject as Sr, onUnmounted as Ir, h as $r, Transition as Cr, triggerRef as Tr, 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 oe, 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 Te, COLUMNS_FIELD_PLAYERS_PENALTY as io, COLUMNS_GOALIES as _t, 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" }, _e = {
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
+ }, yo = "Sorsolás", wo = "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ő" }, _o = { section: { short: "Szakasz", tooltip: "Szakasz" }, organizer: { short: "Rendező", tooltip: "Rendező csapat" }, document: { short: "Dokumentum", tooltip: "Jelentkezés/Sorsolás" } }, jo = { 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" }, je = {
25
+ schedule: yo,
26
+ registration: wo,
27
+ selection: zo,
28
+ report: xo,
29
+ playoffs: ko,
30
+ table: _o,
31
+ calendar: jo,
32
+ gamesTimeline: So
33
+ }, be = "gamesPlayed", we = "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(we, () => ({ 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 } = jt(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 } = jt(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
+ }), $o = (/* @__PURE__ */ new Map()).set(we, () => []).set(be, (t, e) => Co(qt(W, 1), t, e)).set(ze, (t, e) => To(Wt(W, 1), t, e)).set(Pe, () => []);
57
+ function Co(t, e, r) {
58
+ return dt(t, e) ? [] : gt(t, r) ? [e, r] : [e, t];
59
+ }
60
+ function To(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 jt(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, p) => {
125
+ a = e.rejectOnCancel ? p : 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();
58
- }, Math.max(0, f - j));
59
- })), !d && !r && (r = setTimeout(() => a = !0, f)), a = !1, i);
139
+ return (b) => {
140
+ const f = V(n), _ = Date.now() - e, h = () => i = b();
141
+ return g(), f <= 0 ? (e = Date.now(), h()) : (_ > f && (d || !o) ? (e = Date.now(), h()) : l && (i = new Promise((I, y) => {
142
+ a = c ? y : I, r = setTimeout(() => {
143
+ e = Date.now(), o = !0, I(h()), g();
144
+ }, Math.max(0, f - _));
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: yr(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 $t(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
189
  return ie(
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() : ye(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(p, { flush: b = "sync", deep: f = !1, timeout: _, throwOnTimeout: h } = {}) {
131
217
  let I = null;
132
- const k = [new Promise((y) => {
218
+ const k = [new Promise((w) => {
133
219
  I = ie(
134
220
  t,
135
- (b) => {
136
- h(b) !== e && (I ? I() : we(() => I == null ? void 0 : I()), y(b));
221
+ (u) => {
222
+ p(u) !== e && (I ? I() : ye(() => I == null ? void 0 : I()), w(u));
137
223
  },
138
224
  {
139
- flush: p,
225
+ flush: b,
140
226
  deep: f,
141
227
  immediate: !0
142
228
  }
143
229
  );
144
230
  })];
145
- return j != null && k.push(
146
- nt(j, u).then(() => K(t)).finally(() => I == null ? void 0 : I())
231
+ return _ != null && k.push(
232
+ nt(_, 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 ?? {};
153
- 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(_));
235
+ function o(p, b) {
236
+ if (!ce(p))
237
+ return r((u) => u === p, b);
238
+ const { flush: f = "sync", deep: _ = !1, timeout: h, throwOnTimeout: I } = b ?? {};
239
+ let y = null;
240
+ const w = [new Promise((u) => {
241
+ y = ie(
242
+ [t, p],
243
+ ([j, T]) => {
244
+ e !== (j === T) && (y ? y() : ye(() => y == null ? void 0 : y()), u(j));
159
245
  },
160
246
  {
161
247
  flush: f,
162
- deep: j,
248
+ deep: _,
163
249
  immediate: !0
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 && w.push(
254
+ nt(h, I).then(() => V(t)).finally(() => (y == null || y(), V(t)))
255
+ ), Promise.race(w);
170
256
  }
171
- function o(h) {
172
- return r((p) => !!p, h);
257
+ function a(p) {
258
+ return r((b) => !!b, p);
173
259
  }
174
- function i(h) {
175
- return a(null, h);
260
+ function i(p) {
261
+ return o(null, p);
176
262
  }
177
- function n(h) {
178
- return a(void 0, h);
263
+ function n(p) {
264
+ return o(void 0, p);
179
265
  }
180
- function l(h) {
181
- return r(Number.isNaN, h);
266
+ function l(p) {
267
+ return r(Number.isNaN, p);
182
268
  }
183
- function d(h, p) {
269
+ function d(p, b) {
184
270
  return r((f) => {
185
- const j = Array.from(f);
186
- return j.includes(h) || j.includes(K(h));
187
- }, p);
271
+ const _ = Array.from(f);
272
+ return _.includes(p) || _.includes(V(p));
273
+ }, b);
188
274
  }
189
- function c(h) {
190
- return g(1, h);
275
+ function c(p) {
276
+ return g(1, p);
191
277
  }
192
- function g(h = 1, p) {
278
+ function g(p = 1, b) {
193
279
  let f = -1;
194
- return r(() => (f += 1, f >= h), p);
280
+ return r(() => (f += 1, f >= p), b);
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 Ct(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") {
324
+ if (o && it && c(), ce(e) || typeof e == "function") {
239
325
  const g = ie(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 = $t(r), o = $t(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, p, b, f) => (g.addEventListener(p, b, f), () => g.removeEventListener(p, b, f)), d = ie(
350
+ () => [ve(e), V(a)],
351
+ ([g, p]) => {
266
352
  if (n(), !g)
267
353
  return;
268
- const p = va(h) ? { ...h } : h;
354
+ const b = Do(p) ? { ...p } : p;
269
355
  i.push(
270
- ...r.flatMap((f) => a.map((j) => l(g, f, j, p)))
356
+ ...r.flatMap((f) => o.map((_) => l(g, f, _, b)))
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(p, b) {
383
+ c.value++, d[c.value].data = b, d[c.value].state = p;
298
384
  }
299
- return t.reduce((h, p) => h.then((f) => {
300
- var j;
385
+ return t.reduce((p, b) => p.then((f) => {
386
+ var _;
301
387
  if (i != null && i.aborted) {
302
388
  g(n.aborted, new Error("aborted"));
303
389
  return;
304
390
  }
305
- if (((j = d[c.value]) == null ? void 0 : j.state) === n.rejected && r) {
306
- o();
391
+ if (((_ = d[c.value]) == null ? void 0 : _.state) === n.rejected && r) {
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 = b(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);
332
- 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;
417
+ } = r ?? {}, g = d ? Ee(e) : G(e), p = G(!1), b = G(!1), f = Ee(void 0);
418
+ async function _(y = 0, ...k) {
419
+ l && (g.value = e), f.value = void 0, p.value = !1, b.value = !0, y > 0 && await nt(y);
420
+ const w = 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 u = await w;
423
+ g.value = u, p.value = !0, n(u);
424
+ } catch (u) {
425
+ if (f.value = u, i(u), c)
426
+ throw u;
341
427
  } finally {
342
- p.value = !1;
428
+ b.value = !1;
343
429
  }
344
430
  return g.value;
345
431
  }
346
- a && j(o);
347
- const u = {
432
+ o && _(a);
433
+ const h = {
348
434
  state: g,
349
- isReady: h,
350
- isLoading: p,
435
+ isReady: p,
436
+ isLoading: b,
351
437
  error: f,
352
- execute: j
438
+ execute: _
353
439
  };
354
440
  function I() {
355
- return new Promise((w, k) => {
356
- xa(p).toBe(!1).then(() => w(u)).catch(k);
441
+ return new Promise((y, k) => {
442
+ Ko(b).toBe(!1).then(() => y(h)).catch(k);
357
443
  });
358
444
  }
359
445
  return {
360
- ...u,
361
- then(w, k) {
362
- return I().then(w, k);
446
+ ...h,
447
+ then(y, k) {
448
+ return I().then(y, 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 Tt = 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,37 +474,37 @@ 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, p = G(0), b = G(0), f = A({
392
478
  get() {
393
- return h.value;
479
+ return p.value;
394
480
  },
395
481
  set(S) {
396
- u(S, void 0);
482
+ h(S, void 0);
397
483
  }
398
- }), j = A({
484
+ }), _ = A({
399
485
  get() {
400
- return p.value;
486
+ return b.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 D, X, ae, 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
- (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)
499
+ (ae = B instanceof Document ? c.document.body : B) == null || ae.scrollTo({
500
+ top: (D = V(P)) != null ? D : _.value,
501
+ left: (X = V(S)) != null ? X : f.value,
502
+ behavior: V(d)
417
503
  });
418
504
  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);
505
+ f != null && (p.value = $.scrollLeft), _ != null && (b.value = $.scrollTop);
420
506
  }
421
- const I = G(!1), w = de({
507
+ const I = G(!1), y = de({
422
508
  left: !0,
423
509
  right: !1,
424
510
  top: !0,
@@ -428,63 +514,63 @@ 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
+ }), w = (S) => {
518
+ I.value && (I.value = !1, k.left = !1, k.right = !1, k.top = !1, k.bottom = !1, a(S));
519
+ }, u = Go(w, r + o), j = (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 = $;
523
+ 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: ae, direction: se } = getComputedStyle(D), B = se === "rtl" ? -1 : 1, $ = D.scrollLeft;
524
+ k.left = $ < p.value, k.right = $ > p.value;
525
+ const O = $ * B <= (n.left || 0), te = $ * B + D.clientWidth >= D.scrollWidth - (n.right || 0) - Tt;
526
+ X === "flex" && ae === "row-reverse" ? (y.left = te, y.right = O) : (y.left = O, y.right = te), p.value = $;
441
527
  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;
528
+ S === c.document && !q && (q = c.document.body.scrollTop), k.top = q < b.value, k.bottom = q > b.value;
529
+ const $e = q <= (n.top || 0), Ce = q + D.clientHeight >= D.scrollHeight - (n.bottom || 0) - Tt;
530
+ X === "flex" && ae === "column-reverse" ? (y.top = Ce, y.bottom = $e) : (y.top = $e, y.bottom = Ce), b.value = q;
445
531
  }, T = (S) => {
446
532
  var P;
447
533
  if (!c)
448
534
  return;
449
535
  const D = (P = S.target.documentElement) != null ? P : S.target;
450
- _(D), I.value = !0, b(S), i(S);
536
+ j(D), I.value = !0, u(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(T, r, !0, !1) : T,
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
- _(S);
548
+ j(S);
463
549
  } catch (S) {
464
550
  g(S);
465
551
  }
466
- }), Pe(
552
+ }), Me(
467
553
  t,
468
554
  "scrollend",
469
- y,
555
+ w,
470
556
  l
471
557
  ), {
472
558
  x: f,
473
- y: j,
559
+ y: _,
474
560
  isScrolling: I,
475
- arrivedState: w,
561
+ arrivedState: y,
476
562
  directions: k,
477
563
  measure() {
478
- const S = K(t);
479
- c && S && _(S);
564
+ const S = V(t);
565
+ c && S && j(S);
480
566
  }
481
567
  };
482
568
  }
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 w = l.location.hash || "", u = w.indexOf("?");
586
+ return u > 0 ? w.slice(u) : "";
501
587
  } else
502
588
  return (l.location.hash || "").replace(/^#/, "");
503
589
  }
504
- function g(y) {
505
- const b = y.toString();
590
+ function g(w) {
591
+ const u = w.toString();
506
592
  if (t === "history")
507
- return `${b ? `?${b}` : ""}${l.location.hash || ""}`;
593
+ return `${u ? `?${u}` : ""}${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 || ""}${u ? `#${u}` : ""}`;
596
+ const j = l.location.hash || "#", T = j.indexOf("?");
597
+ return T > 0 ? `${l.location.search || ""}${j.slice(0, T)}${u ? `?${u}` : ""}` : `${l.location.search || ""}${j}${u ? `?${u}` : ""}`;
512
598
  }
513
- function h() {
599
+ function p() {
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 b(w) {
603
+ const u = new Set(Object.keys(d));
604
+ for (const j of w.keys()) {
605
+ const T = w.getAll(j);
606
+ d[j] = T.length > 1 ? T : w.get(j) || "", u.delete(j);
521
607
  }
522
- Array.from(b).forEach((_) => delete d[_]);
608
+ Array.from(u).forEach((j) => delete d[j]);
523
609
  }
524
- const { pause: f, resume: j } = ya(
610
+ const { pause: f, resume: _ } = 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 w = new URLSearchParams("");
614
+ Object.keys(d).forEach((u) => {
615
+ const j = d[u];
616
+ Array.isArray(j) ? j.forEach((T) => w.append(u, T)) : o && j == null || a && !j ? w.delete(u) : w.set(u, j);
617
+ }), h(w, !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(w, u) {
622
+ f(), u && b(w), 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(w)
540
626
  ) : l.history.pushState(
541
627
  l.history.state,
542
628
  l.document.title,
543
- l.location.pathname + g(y)
544
- ), j();
629
+ l.location.pathname + g(w)
630
+ ), _();
545
631
  }
546
632
  function I() {
547
- i && u(h(), !0);
633
+ i && h(p(), !0);
548
634
  }
549
- 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;
635
+ const y = { passive: !0 };
636
+ Me(l, "popstate", I, y), t !== "history" && Me(l, "hashchange", I, y);
637
+ const k = p();
638
+ return k.keys().next().value ? b(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: p,
648
+ shouldEmit: b
649
+ } = o, f = Ft(), _ = 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 = (w) => l ? typeof l == "function" ? l(w) : qo(w) : w, y = () => Ao(t[e]) ? I(t[e]) : p, k = (w) => {
653
+ b ? b(w) && _(h, w) : _(h, w);
568
654
  };
569
655
  if (d) {
570
- const y = w(), b = G(y);
571
- let _ = !1;
656
+ const w = y(), u = G(w);
657
+ let j = !1;
572
658
  return ie(
573
659
  () => t[e],
574
660
  (T) => {
575
- _ || (_ = !0, b.value = I(T), we(() => _ = !1));
661
+ j || (j = !0, u.value = I(T), ye(() => j = !1));
576
662
  }
577
663
  ), ie(
578
- b,
664
+ u,
579
665
  (T) => {
580
- !_ && (T !== t[e] || g) && k(T);
666
+ !j && (T !== t[e] || g) && k(T);
581
667
  },
582
668
  { deep: g }
583
- ), b;
669
+ ), u;
584
670
  } else
585
671
  return A({
586
672
  get() {
587
- return w();
673
+ return y();
588
674
  },
589
- set(y) {
590
- k(y);
675
+ set(w) {
676
+ k(w);
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, p) {
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
+ }, yt = /* @__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 ya(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 wa = /* @__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__ */ wa(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(ya, 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
- function yt() {
1135
+ function wt() {
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
1140
  var ne = /* @__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 _a(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 ja = /* @__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
+ }() : _a(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, ja(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, $a = {
1164
1187
  __name: "DataProvider",
1165
1188
  props: {
1166
1189
  locale: {
@@ -1181,15 +1204,15 @@ 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 } = wr(e), { onError: a } = Ve(), i = tr("history"), n = G(i.panel || we), 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: p,
1215
+ isLoading: b,
1193
1216
  execute: f
1194
1217
  } = ee({
1195
1218
  options: {
@@ -1202,82 +1225,68 @@ const Rt = 20, vo = {
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: (u) => Io(u, c),
1229
+ onError: a
1230
+ }), _ = A(
1231
+ () => vt(p.value).schedule(r.value, o.value).more(0, d.value * Rt + Rt).groupByDays().value()
1232
+ ), h = A(
1233
+ () => No(
1234
+ ...$o.get(n.value)(c.value.firstGame, c.value.lastGame),
1235
+ n.value === be,
1236
+ o.value
1214
1237
  )
1215
1238
  );
1216
1239
  ie(
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 (u) => {
1242
+ const { min: j, max: T, id: S } = Ne.get(u)(i.month);
1243
+ g.value = { min: Q(j, "YYYY-MM-DD"), max: Q(T, "YYYY-MM-DD") }, l.value = S, await f(), i.month || w();
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(u) {
1250
+ n.value = u, i.panel = u, 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 y(u) {
1253
+ const { min: j, max: T, id: S } = Ne.get(n.value)(u.id);
1231
1254
  l.value = S, i.month = S, g.value = {
1232
- min: Q(_, "YYYY-MM-DD"),
1255
+ min: Q(j, "YYYY-MM-DD"),
1233
1256
  max: Q(T, "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() {
1262
+ function w() {
1240
1263
  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);
1264
+ if (![be, ze].includes(n.value))
1265
+ return;
1266
+ const { firstGame: u, lastGame: j } = c.value;
1267
+ if (Wr(W, u)) {
1268
+ const { min: P, max: D, id: X } = Ne.get(n.value)((T = ne(h.value)) == null ? void 0 : T.id);
1245
1269
  return g.value = { min: Q(P, "YYYY-MM-DD"), max: Q(D, "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);
1271
+ if (Xt(W, j)) {
1272
+ const { min: P, max: D, id: X } = Ne.get(n.value)((S = ka(h.value)) == null ? void 0 : S.id);
1249
1273
  g.value = { min: Q(P, "YYYY-MM-DD"), max: Q(D, "YYYY-MM-DD") }, l.value = X, f();
1250
1274
  }
1251
1275
  }
1252
- return (b, _) => he(b.$slots, "default", Ge(Re({
1276
+ return (u, j) => he(u.$slots, "default", Ge(Re({
1253
1277
  today: s(W),
1254
- months: u.value,
1255
- isLoading: s(p),
1278
+ months: h.value,
1279
+ isLoading: s(b),
1256
1280
  datesFilter: g.value,
1257
1281
  selectedMonth: l.value,
1258
1282
  selectedPanel: n.value,
1259
- games: j.value,
1283
+ games: _.value,
1260
1284
  more: k,
1261
- setMonth: w,
1285
+ setMonth: y,
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
+ }, Ca = {
1281
1290
  xmlns: "http://www.w3.org/2000/svg",
1282
1291
  viewBox: "0 0 24 24",
1283
1292
  fill: "none",
@@ -1286,8 +1295,8 @@ 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] = [
1298
+ function Ta(t, e) {
1299
+ return m(), x("svg", Ca, e[0] || (e[0] = [
1291
1300
  v("rect", {
1292
1301
  x: "2",
1293
1302
  y: "3",
@@ -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: Ta }, 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 m(), x("svg", Aa, e[0] || (e[0] = [
1333
+ 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),
1334
+ v("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 } = oe();
1375
+ return (r, o) => (m(), x("div", {
1376
+ class: E([s(K)("card-item"), { "is-optional": t.game.optional }])
1353
1377
  }, [
1354
- v("div", wo, [
1378
+ v("div", La, [
1355
1379
  re(z(t.game.gameName) + " - " + z(t.game.championshipName) + " - " + z(t.game.divisionName) + " - " + z(t.game.location.locationName) + " ", 1),
1356
1380
  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(" "))
1381
+ o[0] || (o[0] = re(" - ")),
1382
+ C(s(Na), { height: "16" }),
1383
+ o[1] || (o[1] = re("  "))
1360
1384
  ], 64)) : M("", !0),
1361
1385
  t.game.video ? (m(), x(Y, { key: 1 }, [
1362
- a[2] || (a[2] = re("- ")),
1386
+ o[2] || (o[2] = re(" - ")),
1363
1387
  v("a", {
1364
1388
  href: t.game.video,
1365
1389
  target: "_blank"
1366
1390
  }, [
1367
- C(s(bo), { height: "18" })
1368
- ], 8, yo)
1391
+ C(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),
1395
+ v("div", Ma, z(s(Q)(t.game.gameDate, "L LT", null, t.locale)) + " (" + z(s(Ke)(t.game.gameDate, t.timezone, t.locale)) + ") ", 1),
1396
+ v("div", Oa, [
1397
+ v("span", Ga, z(t.game.homeTeam.shortName), 1),
1398
+ v("span", Ra, z(t.game.homeTeam.longName), 1),
1375
1399
  (m(), 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
1405
  v("div", {
1382
- class: E(["is-game-data", { "is-live": t.game.gameStatus === 1 }])
1406
+ class: E(["is-game-data", [{ "is-live": t.game.gameStatus === 1 }]])
1383
1407
  }, [
1384
1408
  v("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 ? (m(), x("span", Ua, z(t.game.homeTeamScore) + " - " + z(t.game.awayTeamScore), 1)) : M("", !0),
1413
+ t.game.gameStatus === 3 ? (m(), x("span", Va, z(s(e)("game.status.jury")), 1)) : M("", !0),
1414
+ t.game.gameStatus === 4 ? (m(), x("span", Ka, z(s(e)("game.status.delayed")), 1)) : M("", !0)
1415
+ ], 8, Ya),
1416
+ t.game.gameStatus > 0 ? (m(), x("div", Ba, z(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),
1418
+ v("div", Fa, [
1419
+ Array.isArray(t.game.awayTeam) ? (m(), x("span", qa, "Torna")) : M("", !0),
1396
1420
  (m(), 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
+ v("span", Wa, z(t.game.awayTeam.shortName), 1),
1426
+ v("span", Ha, z(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}:export{meta:'{"e":".is-text-right","f":[]}'}`, 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}:export{meta:'{"e":"h1,nh2,nh3,nul,nli,np,ndl,ndt,ndd","f":[]}'}`, 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)}:export{meta:'{"e":".base-input","f":[]}'}`, 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}.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}:export{meta:'{"e":".is-card","f":[{"b":[{"e":".is-team-name-long","d":{"display":"none"}},{"e":".is-team-name-short","d":{"display":"block"}}],"a":[[["max-width",":",640]]]}]}'}`, 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);
1459
+ const e = t, r = { en: _e, hu: je }, o = G(Be()), a = K("tab-button"), i = A(() => e.isGameTargetExternal ? "_blank" : "_self"), n = (l) => mt(e.externalGameResolver || "/game/id/{id}", l);
1454
1460
  return (l, d) => (m(), R(s(ke), {
1455
- locale: r.locale,
1456
- messages: e
1461
+ locale: e.locale,
1462
+ messages: r
1457
1463
  }, {
1458
1464
  default: N(({ t: c }) => [
1459
- C(s(Ue), null, {
1460
- default: N(({ error: g, hasError: h }) => [
1461
- h ? (m(), R(s(Ke), {
1465
+ C(s(Ye), null, {
1466
+ default: N(({ error: g, hasError: p }) => [
1467
+ p ? (m(), 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
+ C($a, {
1472
+ locale: e.locale,
1473
+ timezone: o.value,
1474
+ "season-id": t.seasonId,
1475
+ "api-key": t.apiKey
1470
1476
  }, {
1471
1477
  default: N(({
1472
- games: p,
1478
+ games: b,
1473
1479
  months: f,
1474
- isLoading: j,
1475
- selectedPanel: u,
1480
+ isLoading: _,
1481
+ selectedPanel: h,
1476
1482
  selectedMonth: I,
1477
- more: w,
1483
+ more: y,
1478
1484
  setMonth: k,
1479
- changePanel: y
1485
+ changePanel: w
1480
1486
  }) => [
1481
1487
  v("div", ei, [
1482
1488
  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
+ class: E(["basis-[fit-content] shrink-0", [
1490
+ s(a),
1491
+ { "is-active": h === s(be) }
1492
+ ]]),
1493
+ onClick: (u) => w(s(be))
1489
1494
  }, z(c("calendar.gamesPlayed")), 11, ti),
1490
1495
  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))
1496
+ class: E(["basis-[fit-content] shrink-0", [
1497
+ s(a),
1498
+ { "is-active": h === s(we) }
1499
+ ]]),
1500
+ onClick: (u) => w(s(we))
1497
1501
  }, z(c("calendar.todaysGames")), 11, ri),
1498
1502
  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),
1503
+ class: E(["basis-[fit-content] shrink-0", [
1504
+ s(a),
1505
+ { "is-active": h === s(ze) }
1506
+ ]]),
1507
+ onClick: (u) => w(s(ze))
1508
+ }, z(c("calendar.nextGames")), 11, oi),
1506
1509
  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)
1510
+ class: E(["basis-[fit-content] shrink-0", [
1511
+ s(a),
1512
+ { "is-active": h === s(Pe) }
1513
+ ]]),
1514
+ onClick: (u) => w(s(Pe))
1515
+ }, z(c("calendar.weekGames")), 11, ai)
1514
1516
  ]),
1515
1517
  v("div", {
1516
- class: E([s(V)("toggle-group")])
1518
+ class: E([s(K)("toggle-group")])
1517
1519
  }, [
1518
- (m(!0), x(Y, null, Z(f, (b) => (m(), x("button", {
1520
+ (m(!0), x(Y, null, Z(f, (u) => (m(), x("button", {
1521
+ key: u.id,
1519
1522
  type: "button",
1520
- key: b.id,
1521
- class: E({ "is-active": I === b.id }),
1522
- disabled: j,
1523
- onClick: (_) => k(b)
1524
- }, z(b.name), 11, ii))), 128))
1523
+ class: E({ "is-active": I === u.id }),
1524
+ disabled: _,
1525
+ onClick: (j) => k(u)
1526
+ }, z(u.name), 11, ii))), 128))
1525
1527
  ], 2),
1526
- p.totalItems === 0 && !j ? (m(), x("div", ni, z(c("calendar.noGame")), 1)) : M("", !0),
1528
+ b.totalItems === 0 && !_ ? (m(), x("div", ni, z(c("calendar.noGame")), 1)) : M("", !0),
1527
1529
  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", {
1530
- key: _,
1531
- "data-gamedate": _
1530
+ _ ? (m(), R(s(Ht), { key: 0 })) : M("", !0),
1531
+ (m(!0), x(Y, null, Z(b.rows, (u, j) => (m(), x("div", {
1532
+ key: j,
1533
+ "data-gamedate": j
1532
1534
  }, [
1533
- v("span", li, z(s(Q)(new Date(_), "LL dddd", a.value, t.locale)), 1),
1535
+ v("span", li, z(s(Q)(new Date(j), "LL dddd", o.value, t.locale)), 1),
1534
1536
  v("div", ci, [
1535
- (m(!0), x(Y, null, Z(b, (T) => (m(), R(Do, {
1537
+ (m(!0), x(Y, null, Z(u, (T) => (m(), R(Xa, {
1536
1538
  key: T.id,
1537
1539
  game: T,
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
+ !_ && b.currentItems < b.totalItems ? (m(), R(s(Mr), {
1547
1549
  key: 1,
1548
1550
  options: { rootMargin: "400px" },
1549
- onIntersect: w
1551
+ onIntersect: y
1550
1552
  }, {
1551
1553
  default: N(() => [
1552
- v("button", { onClick: w }, z(c("calendar.more")), 9, di)
1554
+ v("button", { onClick: y }, z(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,19 +1565,18 @@ 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",
@@ -1613,7 +1614,7 @@ const fo = { render: ho }, wo = { class: "is-info is-text-sm" }, yo = ["href"],
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 }]
@@ -1621,7 +1622,7 @@ const fo = { render: ho }, wo = { class: "is-info is-text-sm" }, yo = ["href"],
1621
1622
  }).set("goalies", {
1622
1623
  api: "/v2/players-goalie",
1623
1624
  params: { more: !0 },
1624
- columns: jt,
1625
+ columns: _t,
1625
1626
  sort: {
1626
1627
  sortTarget: "svsPercent",
1627
1628
  orders: [{ target: "svsPercent", direction: J }]
@@ -1629,90 +1630,105 @@ const fo = { render: ho }, wo = { class: "is-info is-text-sm" }, yo = ["href"],
1629
1630
  }).set("goaliesunderlimit", {
1630
1631
  api: "/v2/players-goalie",
1631
1632
  params: { less: !0 },
1632
- columns: jt,
1633
+ columns: _t,
1633
1634
  sort: {
1634
1635
  sortTarget: "svsPercent",
1635
1636
  orders: [{ target: "svsPercent", direction: J }]
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 = ne(e.seasons).championshipId);
1727
+ }
1728
+ function ui(t) {
1729
+ return wt(cr(nr(ge("seasonName"))), yt(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,85 +1772,89 @@ 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 } = oe(), { isLoading: p, execute: b } = 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: ($) => bi($, o),
1773
1785
  onError: i
1774
- }), { isLoading: f, execute: j } = ee({
1786
+ }), { isLoading: f, execute: _ } = ee({
1775
1787
  options: {
1776
1788
  path: "/v2/championship-sections",
1777
1789
  apiKey: e.apiKey,
1778
- params: A(() => ({ championshipId: a.championshipId }))
1790
+ params: A(() => ({ championshipId: o.championshipId }))
1779
1791
  },
1780
- transform: ($) => bi($, a),
1792
+ transform: ($) => mi($, o),
1781
1793
  onError: i
1782
1794
  }), {
1783
- isLoading: u,
1795
+ isLoading: h,
1784
1796
  state: I,
1785
- execute: w
1797
+ execute: y
1786
1798
  } = ee({
1787
1799
  options: {
1788
- path: A(() => a.api),
1800
+ path: A(() => o.api),
1789
1801
  apiKey: e.apiKey,
1790
1802
  resetOnExecute: !0,
1791
- params: A(() => ({ championshipId: a.championshipId, phaseId: a.phaseId, ...a.apiParams }))
1803
+ params: A(() => ({ championshipId: o.championshipId, phaseId: o.phaseId, ...o.apiParams }))
1792
1804
  },
1793
- transform: ($) => Xt($),
1805
+ transform: ($) => Qt($),
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, p, h], { delay: 1e3 });
1808
+ ue([b, _, y]);
1809
+ const w = A(
1810
+ () => o.selectedPanel === me ? Yt(g) : Ut(g)
1811
+ ), u = A(() => {
1812
+ const $ = o.championships.find((O) => O.sectionId === o.selectedChampionshipId);
1813
+ return Hr(($ == null ? void 0 : $.phases) ?? []);
1814
+ }), j = A(() => o.selectedPanel === fe ? 0 : e.limit), T = A(
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 = A(() => vt(s(T)).sorted(n).addContinuousIndex().schedule(s(a), s(e.locale)).pagination(s(d), j.value).value());
1824
+ function P($) {
1825
+ o.championshipId = $, r.championshipId = $, ue([_, y]);
1826
+ }
1827
+ function D($) {
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 = $, o.phaseId = ((O = u.value[0]) == null ? void 0 : O.phaseId) ?? null, y();
1830
+ }
1831
+ function X($) {
1832
+ o.phaseId = $, y();
1833
+ }
1834
+ function ae($) {
1819
1835
  var te, q;
1820
- a.selectedPanel = $;
1836
+ o.selectedPanel = $;
1821
1837
  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
- };
1838
+ $ === me && (O = (te = ne(Yt(H))) == null ? void 0 : te.value), $ === Ae && (O = (q = ne(Ut(H))) == null ? void 0 : q.value), o.report = O, B(O);
1839
+ }
1824
1840
  function se($) {
1825
1841
  B($);
1826
1842
  }
1827
1843
  function B($) {
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($);
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) ?? [], y(), c(1);
1831
1847
  }
1832
1848
  return ($, O) => he($.$slots, "default", Ge(Re({
1833
- ...a,
1849
+ ...o,
1834
1850
  sort: s(n),
1835
1851
  page: s(d),
1836
- phases: b.value,
1852
+ phases: u.value,
1837
1853
  isLoading: s(k),
1838
1854
  games: S.value,
1839
- reports: y.value,
1855
+ reports: w.value,
1840
1856
  onSort: s(l),
1841
- changePanel: oe,
1857
+ changePanel: ae,
1842
1858
  changePhase: X,
1843
1859
  changeSeason: P,
1844
1860
  onChangeReport: se,
@@ -1846,7 +1862,7 @@ const fo = { render: ho }, wo = { class: "is-info is-text-sm" }, yo = ["href"],
1846
1862
  changeChampionship: D
1847
1863
  })));
1848
1864
  }
1849
- }, fi = { class: "g-row" }, wi = ["value"], yi = {
1865
+ }, fi = { class: "g-row" }, yi = ["value"], wi = {
1850
1866
  __name: "SeasonSelector",
1851
1867
  props: {
1852
1868
  seasons: {
@@ -1860,13 +1876,13 @@ 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");
1879
+ const r = t, o = e, { t: a } = oe(), { championshipId: i } = ut(r, o), n = K("label");
1864
1880
  return (l, d) => (m(), x("div", fi, [
1865
1881
  v("div", null, [
1866
1882
  v("label", {
1867
1883
  for: "season",
1868
1884
  class: E(s(n))
1869
- }, z(s(o)("selection.season")), 3),
1885
+ }, z(s(a)("selection.season")), 3),
1870
1886
  C(s(pe), {
1871
1887
  id: "season",
1872
1888
  modelValue: s(i),
@@ -1876,7 +1892,7 @@ const fo = { render: ho }, wo = { class: "is-info is-text-sm" }, yo = ["href"],
1876
1892
  (m(!0), x(Y, null, Z(t.seasons, (c) => (m(), x("option", {
1877
1893
  key: c.championshipId,
1878
1894
  value: c.championshipId
1879
- }, z(c.seasonName), 9, wi))), 128))
1895
+ }, z(c.seasonName), 9, yi))), 128))
1880
1896
  ]),
1881
1897
  _: 1
1882
1898
  }, 8, ["modelValue"])
@@ -1889,7 +1905,7 @@ const fo = { render: ho }, wo = { class: "is-info is-text-sm" }, yo = ["href"],
1889
1905
  }, xi = {
1890
1906
  key: 0,
1891
1907
  value: null
1892
- }, ki = ["value"], ji = { key: 0 }, _i = ["value"], Si = {
1908
+ }, ki = ["value"], _i = { key: 0 }, ji = ["value"], Si = {
1893
1909
  __name: "Selector",
1894
1910
  props: {
1895
1911
  phases: {
@@ -1915,13 +1931,13 @@ 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");
1934
+ const r = t, o = e, { t: a } = oe(), { phaseId: i, report: n } = ut(r, o), l = K("label");
1919
1935
  return (d, c) => (m(), x("div", zi, [
1920
1936
  v("div", null, [
1921
1937
  v("label", {
1922
1938
  for: "phases",
1923
1939
  class: E(s(l))
1924
- }, z(s(o)("selection.phases")), 3),
1940
+ }, z(s(a)("selection.phases")), 3),
1925
1941
  C(s(pe), {
1926
1942
  id: "phases",
1927
1943
  modelValue: s(i),
@@ -1929,7 +1945,7 @@ const fo = { render: ho }, wo = { class: "is-info is-text-sm" }, yo = ["href"],
1929
1945
  disabled: s(i) === null
1930
1946
  }, {
1931
1947
  default: N(() => [
1932
- s(i) === null ? (m(), x("option", xi, z(s(o)("selection.noPhases")), 1)) : M("", !0),
1948
+ s(i) === null ? (m(), x("option", xi, z(s(a)("selection.noPhases")), 1)) : M("", !0),
1933
1949
  (m(!0), x(Y, null, Z(t.phases, (g) => (m(), x("option", {
1934
1950
  key: g.phaseId,
1935
1951
  value: g.phaseId
@@ -1938,28 +1954,28 @@ const fo = { render: ho }, wo = { class: "is-info is-text-sm" }, yo = ["href"],
1938
1954
  _: 1
1939
1955
  }, 8, ["modelValue", "disabled"])
1940
1956
  ]),
1941
- t.isReportsVisible ? (m(), x("div", ji, [
1957
+ t.isReportsVisible ? (m(), x("div", _i, [
1942
1958
  v("label", {
1943
1959
  for: "report",
1944
1960
  class: E(s(l))
1945
- }, z(s(o)("selection.report")), 3),
1961
+ }, z(s(a)("selection.report")), 3),
1946
1962
  C(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
1967
  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))
1968
+ (m(!0), x(Y, null, Z(t.reports, ({ value: g, name: p }) => (m(), x("option", {
1969
+ key: g,
1970
+ value: g
1971
+ }, z(p), 9, ji))), 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}:export{meta:'{"e":"h1,nh2,nh3,nul,nli,np,ndl,ndt,ndd","f":[]}'}`, 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}:export{meta:'{"e":".is-text-right","f":[]}'}`, 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)}}:export{meta:'{"e":"table,n caption,n tbody,n tfoot,n thead,n tr,n th,n td","f":[]}'}`, 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%}:export{meta:'{"e":".table-responsive","f":[]}'}`, 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}.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)}:export{meta:'{"e":"table,n caption,n tbody,n tfoot,n thead,n tr,n th,n td","f":[{"b":[{"e":".is-team-name-long","d":{"display":"none"}},{"e":".is-team-name-short","d":{"display":"block"}}],"a":[[["max-width",":",768]]]}]}'}`, 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}:export{meta:'{"e":".is-dropdown-menu","f":[]}'}`, 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}.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}:export{meta:'{"e":".is-card","f":[{"b":[{"e":".is-team-name-long","d":{"display":"none"}},{"e":".is-team-name-short","d":{"display":"block"}}],"a":[[["max-width",":",640]]]}]}'}`, $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}:export{meta:'{"e":".paginator","f":[]}'}`, Ci = ["onClick"], Ti = ["onClick"], Ni = ["onClick"], Ai = ["onClick"], Ei = ["onClick"], Di = {
1963
1979
  __name: "Championship.ce",
1964
1980
  props: {
1965
1981
  locale: {
@@ -1988,39 +2004,39 @@ 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, [
2007
+ const e = t, r = G(null), o = G(Be()), a = A(() => Ke(/* @__PURE__ */ new Date(), s(o), e.locale)), i = K("tab-button"), n = K("section-selector"), l = { en: _e, hu: je }, d = (g) => mt(e.externalGameResolver, g), c = (g) => ro(e.externalTeamResolver, g);
2008
+ return (g, p) => (m(), x("div", null, [
1993
2009
  C(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: N(({ t: b }) => [
2014
+ C(s(Ye), null, {
2015
+ default: N(({ error: f, hasError: _ }) => [
2016
+ _ ? (m(), R(s(Ue), {
2001
2017
  key: 0,
2002
2018
  error: f
2003
2019
  }, null, 8, ["error"])) : M("", !0),
2004
2020
  C(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
2026
  default: N(({
2011
- sort: u,
2027
+ sort: h,
2012
2028
  page: I,
2013
- games: w,
2029
+ games: y,
2014
2030
  phases: k,
2015
- report: y,
2016
- phaseId: b,
2017
- columns: _,
2031
+ report: w,
2032
+ phaseId: u,
2033
+ columns: j,
2018
2034
  seasons: T,
2019
2035
  reports: S,
2020
2036
  isLoading: P,
2021
2037
  selectedPanel: D,
2022
2038
  championships: X,
2023
- championshipId: oe,
2039
+ championshipId: ae,
2024
2040
  selectedChampionshipId: se,
2025
2041
  onSort: B,
2026
2042
  changePanel: $,
@@ -2030,9 +2046,9 @@ const fo = { render: ho }, wo = { class: "is-info is-text-sm" }, yo = ["href"],
2030
2046
  onPaginatorChange: $e,
2031
2047
  changeChampionship: Ce
2032
2048
  }) => [
2033
- C(yi, {
2049
+ C(wi, {
2034
2050
  seasons: T,
2035
- "championship-id": oe,
2051
+ "championship-id": ae,
2036
2052
  "onUpdate:championshipId": te
2037
2053
  }, null, 8, ["seasons", "championship-id", "onUpdate:championshipId"]),
2038
2054
  v("div", {
@@ -2040,15 +2056,15 @@ const fo = { render: ho }, wo = { class: "is-info is-text-sm" }, yo = ["href"],
2040
2056
  }, [
2041
2057
  (m(!0), x(Y, null, Z(X, (le) => (m(), x("button", {
2042
2058
  key: le.phaseId,
2043
- onClick: (ls) => Ce(le.sectionId),
2044
- class: E([s(i), { "is-active": le.sectionId === se }])
2059
+ class: E([s(i), { "is-active": le.sectionId === se }]),
2060
+ onClick: (ls) => Ce(le.sectionId)
2045
2061
  }, z(le.sectionName), 11, Ci))), 128))
2046
2062
  ], 2),
2047
2063
  C(Si, {
2048
2064
  phases: k,
2049
- "phase-id": b,
2065
+ "phase-id": u,
2050
2066
  reports: S,
2051
- report: y,
2067
+ report: w,
2052
2068
  "is-reports-visible": D === s(me) || D === s(Ae),
2053
2069
  "onUpdate:phaseId": O,
2054
2070
  "onUpdate:report": q
@@ -2059,47 +2075,47 @@ const fo = { render: ho }, wo = { class: "is-info is-text-sm" }, yo = ["href"],
2059
2075
  v("button", {
2060
2076
  class: E([s(i), { "is-active": D === s(fe) }]),
2061
2077
  onClick: (le) => $(s(fe))
2062
- }, z(p("selection.schedule")), 11, Ti),
2078
+ }, z(b("selection.schedule")), 11, Ti),
2063
2079
  v("button", {
2064
2080
  class: E([s(i), { "is-active": D === s(rt) }]),
2065
2081
  onClick: (le) => $(s(rt))
2066
- }, z(p("selection.standings")), 11, Ni),
2082
+ }, z(b("selection.standings")), 11, Ni),
2067
2083
  v("button", {
2068
2084
  class: E([s(i), { "is-active": D === s(me) }]),
2069
2085
  onClick: (le) => $(s(me))
2070
- }, z(p("selection.playerStats")), 11, Ai),
2086
+ }, z(b("selection.playerStats")), 11, Ai),
2071
2087
  v("button", {
2072
2088
  class: E([s(i), { "is-active": D === s(Ae) }]),
2073
2089
  onClick: (le) => $(s(Ae))
2074
- }, z(p("selection.teamStats")), 11, Ei)
2090
+ }, z(b("selection.teamStats")), 11, Ei)
2075
2091
  ], 2),
2076
- C(s(Yr), {
2077
- columns: _,
2078
- rows: w.rows,
2079
- sort: u,
2092
+ C(s(Or), {
2093
+ columns: j,
2094
+ rows: y.rows,
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
2101
  "hide-columns": D === 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
+ D === s(me) ? (m(), R(s(Gr), {
2089
2105
  key: 0,
2090
2106
  page: I,
2091
2107
  "items-per-page": e.limit,
2092
- "total-items": w.totalItems,
2108
+ "total-items": y.totalItems,
2093
2109
  "range-length": 5,
2094
2110
  onChange: $e
2095
2111
  }, null, 8, ["page", "items-per-page", "total-items", "onChange"])) : M("", !0),
2096
2112
  D === s(rt) ? (m(), x(Y, { key: 1 }, [
2097
- C(s(xt), {
2098
- rows: w.rows,
2113
+ C(s(kt), {
2114
+ rows: y.rows,
2099
2115
  "additional-key": "inheritedPoints"
2100
2116
  }, null, 8, ["rows"]),
2101
- C(s(xt), {
2102
- rows: w.rows,
2117
+ C(s(kt), {
2118
+ rows: y.rows,
2103
2119
  "additional-key": "penaltyPoints"
2104
2120
  }, null, 8, ["rows"])
2105
2121
  ], 64)) : M("", !0)
@@ -2118,266 +2134,322 @@ 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, $i]]]), 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 m(), x("svg", Pi, e[0] || (e[0] = [
2148
+ v("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 m(), x("svg", Gi, e[0] || (e[0] = [
2162
+ v("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: (b) => {
2204
+ a.value.includes(b) || (a.value.push(b), a.value = oo(a.value, (f) => ve(r.value).querySelector(`#${f}`)));
2146
2205
  },
2147
- set(l) {
2148
- a("onChangeSeason", l);
2206
+ unregister: (b) => {
2207
+ const f = a.value.indexOf(b);
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: p }), l = A(
2212
+ () => ve(r).querySelector(`#${a.value[o.value]}`)
2213
+ );
2214
+ ct(() => g()), ie(
2215
+ () => e.initialIndex,
2216
+ (b) => {
2217
+ o.value = b, ye(() => 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));
2223
+ function c() {
2224
+ n.right || (o.value++, g({ behavior: "smooth" }));
2225
+ }
2226
+ function g(b) {
2227
+ var f;
2228
+ (f = l.value) == null || f.scrollIntoView({ inline: "start", block: "nearest", ...b });
2229
+ }
2230
+ function p() {
2231
+ var _;
2232
+ const b = (_ = ve(r).getBoundingClientRect()) == null ? void 0 : _.left, f = Array.from(ve(r).children).findIndex(
2233
+ (h) => Math.round(h.getBoundingClientRect().left - b) >= 0
2234
+ );
2235
+ o.value = f;
2236
+ }
2237
+ return (b, f) => (m(), x("div", {
2238
+ class: E(s(K)("games-timeline"))
2239
+ }, [
2240
+ v("button", {
2241
+ type: "button",
2242
+ disabled: s(n).left,
2243
+ onClick: d
2244
+ }, [
2245
+ C(s(Oi))
2246
+ ], 8, Ki),
2247
+ v("div", Bi, [
2248
+ he(b.$slots, "default")
2249
+ ], 512),
2250
+ v("button", {
2251
+ type: "button",
2252
+ disabled: s(n).right,
2253
+ onClick: c
2254
+ }, [
2255
+ C(s(br))
2256
+ ], 8, Fi)
2257
+ ], 2));
2184
2258
  }
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"
2259
+ }, ot = {
2260
+ __name: "CarouselItem",
2261
+ setup(t) {
2262
+ const e = _r(), r = `mjsz-vbr-carousel-item-${jr()}`, 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 $r("div", { id: r, class: "is-slide" }, e.default());
2266
+ }
2267
+ return (i, n) => (m(), R(a, null, {
2268
+ default: N(() => [
2269
+ he(i.$slots, "default")
2270
+ ]),
2271
+ _: 3
2272
+ }));
2226
2273
  }
2227
- }, Vi = (t) => (e) => wt((r) => ({
2228
- ...r,
2229
- ...r.registration && { registration: `${r.registration}/cid/${t}` }
2230
- }))(e), Bi = {
2231
- __name: "DataProvider",
2274
+ }, Kt = {
2275
+ __name: "ExternalSchedule",
2232
2276
  props: {
2233
- championshipName: {
2277
+ externalScheduleUrl: {
2234
2278
  type: String,
2235
2279
  default: ""
2236
- },
2237
- championshipId: {
2280
+ }
2281
+ },
2282
+ emits: ["navigateTo"],
2283
+ setup(t, { emit: e }) {
2284
+ const r = t, o = e, { t: a } = oe();
2285
+ function i() {
2286
+ o("navigateTo", { url: r.externalScheduleUrl, target: "_self" });
2287
+ }
2288
+ return (n, l) => (m(), x("div", {
2289
+ class: E(s(K)("games-timeline-schedule-link"))
2290
+ }, [
2291
+ v("button", {
2292
+ type: "button",
2293
+ onClick: i
2294
+ }, [
2295
+ re(z(s(a)("gamesTimeline.allSchedule")), 1),
2296
+ C(s(br))
2297
+ ])
2298
+ ], 2));
2299
+ }
2300
+ }, Wi = { class: "is-score" }, Bt = {
2301
+ __name: "ScoreDisplay",
2302
+ props: {
2303
+ score: {
2238
2304
  type: Number,
2239
2305
  default: 0
2240
- },
2241
- limit: {
2242
- type: Number,
2243
- default: 20
2244
- },
2245
- apiKey: {
2246
- type: String,
2247
- default: ""
2248
- },
2249
- locale: {
2250
- type: String,
2251
- default: "hu"
2252
- },
2253
- timezone: {
2254
- type: String,
2255
- default: ""
2256
2306
  }
2257
2307
  },
2258
2308
  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
- })));
2309
+ return (e, r) => (m(), x("div", {
2310
+ class: E(s(K)("score-display"))
2311
+ }, [
2312
+ v("div", Wi, [
2313
+ C(Cr, { name: "is-slide-transition" }, {
2314
+ default: N(() => [
2315
+ (m(), x("span", { key: t.score }, z(t.score), 1))
2316
+ ]),
2317
+ _: 1
2318
+ })
2319
+ ])
2320
+ ], 2));
2308
2321
  }
2309
- }, Fi = ["href"], qi = ["href"], Wi = {
2310
- __name: "ScheduleCupDataTable",
2322
+ }, Hi = {
2323
+ key: 0,
2324
+ class: "is-badge"
2325
+ }, Xi = {
2326
+ key: 1,
2327
+ class: "is-badge"
2328
+ }, 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 = {
2329
+ __name: "Game",
2311
2330
  props: {
2312
- columns: {
2331
+ gameData: {
2313
2332
  type: Object,
2314
- default: () => ({})
2315
- },
2316
- rows: {
2317
- type: Array,
2318
- default: () => []
2333
+ required: !0
2319
2334
  },
2320
- offsetName: {
2321
- type: String,
2335
+ externalGameResolver: {
2336
+ type: [String, Function],
2322
2337
  default: ""
2323
- },
2324
- isLoading: {
2325
- type: Boolean,
2326
- default: !1
2327
2338
  }
2328
2339
  },
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();
2340
+ emits: ["navigateTo"],
2341
+ setup(t, { emit: e }) {
2342
+ const r = t, o = e, { t: a } = oe(), i = A(() => {
2343
+ const { gameStatus: l, championshipName: d, divisionName: c, period: g, periodTime: p } = r.gameData;
2344
+ return l !== 1 ? `${d} - ${c}` : g && Vt(g) ? `${a(`game.period.${g}`)} - ${p}` : g && !Vt(g) ? a(`game.period.${g}`) : "";
2345
+ });
2346
+ function n() {
2347
+ const { externalUrl: l, id: d } = r.gameData;
2348
+ if (l)
2349
+ return o("navigateTo", { url: l, target: "_blank" });
2350
+ const c = mt(r.externalGameResolver, { gameId: d });
2351
+ o("navigateTo", { url: c, target: "_self" });
2352
+ }
2353
+ return (l, d) => (m(), x("div", {
2354
+ class: E(s(K)("games-timeline-game")),
2355
+ onClick: n
2356
+ }, [
2357
+ v("time", null, [
2358
+ re(z(t.gameData.gameDateTime) + " ", 1),
2359
+ t.gameData.isShootout ? (m(), x("span", Hi, z(s(a)("common.shootoutShort")), 1)) : M("", !0),
2360
+ t.gameData.isOvertime ? (m(), x("span", Xi, z(s(a)("common.overtimeShort")), 1)) : M("", !0)
2361
+ ]),
2362
+ v("div", Ji, [
2363
+ C(s(De), {
2364
+ src: t.gameData.homeTeam.logo,
2365
+ class: "is-team-logo"
2366
+ }, null, 8, ["src"])
2367
+ ]),
2368
+ v("div", Qi, z(t.gameData.homeTeam.longName), 1),
2369
+ v("div", Zi, [
2370
+ t.gameData.homeTeamScore != null ? (m(), R(Bt, {
2371
+ key: 0,
2372
+ class: E(["is-badge is-extra-large", [t.gameData.gameStatus === 1 ? "is-green" : "is-dark"]]),
2373
+ score: t.gameData.homeTeamScore
2374
+ }, {
2375
+ default: N(() => [
2376
+ re(z(t.gameData.homeTeamScore), 1)
2377
+ ]),
2378
+ _: 1
2379
+ }, 8, ["class", "score"])) : M("", !0)
2380
+ ]),
2381
+ v("div", en, [
2382
+ C(s(De), {
2383
+ src: t.gameData.awayTeam.logo,
2384
+ class: "is-team-logo"
2385
+ }, null, 8, ["src"])
2386
+ ]),
2387
+ v("div", tn, z(t.gameData.awayTeam.longName), 1),
2388
+ v("div", rn, [
2389
+ t.gameData.awayTeamScore != null ? (m(), R(Bt, {
2390
+ key: 0,
2391
+ score: t.gameData.awayTeamScore,
2392
+ class: E(["is-badge is-extra-large", [t.gameData.gameStatus === 1 ? "is-green" : "is-dark"]])
2393
+ }, {
2394
+ default: N(() => [
2395
+ re(z(t.gameData.awayTeamScore), 1)
2396
+ ]),
2397
+ _: 1
2398
+ }, 8, ["score", "class"])) : M("", !0)
2399
+ ]),
2400
+ v("div", on, z(i.value), 1)
2401
+ ], 2));
2402
+ }
2403
+ }, nn = {
2404
+ xmlns: "http://www.w3.org/2000/svg",
2405
+ viewBox: "0 0 24 24",
2406
+ fill: "none",
2407
+ stroke: "currentColor",
2408
+ "stroke-width": "2",
2409
+ "stroke-linecap": "round",
2410
+ "stroke-linejoin": "round"
2411
+ };
2412
+ function sn(t, e) {
2413
+ return m(), x("svg", nn, e[0] || (e[0] = [
2414
+ 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),
2415
+ v("line", {
2416
+ x1: "12",
2417
+ y1: "9",
2418
+ x2: "12",
2419
+ y2: "13"
2420
+ }, null, -1),
2421
+ v("line", {
2422
+ x1: "12",
2423
+ y1: "17",
2424
+ x2: "12.01",
2425
+ y2: "17"
2426
+ }, null, -1)
2427
+ ]));
2428
+ }
2429
+ const ln = { render: sn }, cn = {
2430
+ __name: "TryAgain",
2431
+ emits: ["tryAgain"],
2432
+ setup(t, { emit: e }) {
2433
+ const r = e, { t: o } = oe();
2434
+ function a() {
2435
+ r("tryAgain");
2436
+ }
2337
2437
  return (i, n) => (m(), x("div", {
2338
- ref_key: "tooltipContainer",
2339
- ref: r
2438
+ class: E(s(K)("games-timeline-error-indicator"))
2340
2439
  }, [
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));
2440
+ C(s(ln)),
2441
+ v("div", null, z(s(o)("gamesTimeline.errorText")), 1),
2442
+ v("button", {
2443
+ type: "button",
2444
+ onClick: a
2445
+ }, z(s(o)("gamesTimeline.errorCta")), 1)
2446
+ ], 2));
2378
2447
  }
2379
- }, Hi = {
2380
- __name: "ScheduleCup.ce",
2448
+ }, 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}.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%)}:export{meta:'{"e":".games-timeline","f":[]}'}`, gn = {
2449
+ key: 0,
2450
+ style: { width: "100%" }
2451
+ }, vn = {
2452
+ __name: "GamesTimeline.ce",
2381
2453
  props: {
2382
2454
  locale: {
2383
2455
  type: String,
@@ -2387,62 +2459,148 @@ const fo = { render: ho }, wo = { class: "is-info is-text-sm" }, yo = ["href"],
2387
2459
  type: String,
2388
2460
  default: ""
2389
2461
  },
2390
- championshipName: {
2462
+ servicePath: {
2463
+ type: String,
2464
+ default: "/v2/public-calendar?seasonId=217"
2465
+ },
2466
+ externalGameResolver: {
2467
+ type: [String, Function],
2468
+ default: ""
2469
+ },
2470
+ externalScheduleUrl: {
2391
2471
  type: String,
2392
2472
  default: ""
2393
2473
  }
2394
- // timezoneSelector: {
2395
- // type: Boolean,
2396
- // default: false,
2397
- // },
2398
2474
  },
2399
2475
  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), {
2476
+ const e = t, r = { en: _e, hu: je }, o = Be();
2477
+ let a = [];
2478
+ const i = G(!1), { state: n, execute: l } = ee({
2479
+ options: {
2480
+ path: e.servicePath,
2481
+ apiKey: e.apiKey,
2482
+ params: {},
2483
+ immediate: !0
2484
+ },
2485
+ transform: (y) => Ui(y, n.value, "id").reverse(),
2486
+ onError: () => {
2487
+ i.value = !0;
2488
+ },
2489
+ onSuccess: f
2490
+ }), { resume: d, pause: c } = Ct(l, 1e3 * 60 * 5);
2491
+ Fr(
2492
+ !0,
2493
+ () => {
2494
+ l(), d();
2495
+ },
2496
+ () => {
2497
+ c(), a.map((y) => y == null ? void 0 : y()), a = [];
2498
+ }
2499
+ );
2500
+ const g = A(() => tt(n.value) ? 0 : n.value.findIndex((y) => !Xt(new Date(y.gameDate), /* @__PURE__ */ new Date(), "day")) + 1), p = A(
2501
+ () => n.value.map((y) => ({
2502
+ ...y,
2503
+ gameDateTime: `${Q(y.gameDate, "L LT", o, e.locale)} (${Ke(
2504
+ y.gameDate,
2505
+ o,
2506
+ e.locale
2507
+ )})`
2508
+ }))
2509
+ ), { execute: b } = Yi({ apiKey: e.apiKey });
2510
+ async function f() {
2511
+ i.value = !1, a.map((k) => k == null ? void 0 : k()), a = [];
2512
+ const y = n.value.filter((k) => k.gameStatus === 1);
2513
+ for (let k = 0; k < y.length; k++) {
2514
+ const w = y[k].id;
2515
+ b(0, { gameId: w }).then((j) => _(j));
2516
+ const { pause: u } = Ct(() => b(0, { gameId: w }).then((j) => _(j)), 6e4);
2517
+ a.push(u);
2518
+ }
2519
+ }
2520
+ function _(y = {}) {
2521
+ const { gameId: k, gameStatus: w, homeTeamScore: u, awayTeamScore: j, period: T, periodTime: S } = y, P = n.value.find((D) => D.id === k);
2522
+ P.gameStatus = w, P.homeTeamScore = u, P.awayTeamScore = j, P.period = T, P.periodTime = S, Tr(n);
2523
+ }
2524
+ function h({ url: y, target: k }) {
2525
+ window.open(y, k);
2526
+ }
2527
+ function I() {
2528
+ i.value = !1, l();
2529
+ }
2530
+ return (y, k) => (m(), R(s(ke), {
2402
2531
  locale: e.locale,
2403
2532
  messages: r
2404
- }, {
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"])
2533
+ }, {
2534
+ default: N(() => [
2535
+ C(qi, { "initial-index": g.value }, {
2536
+ default: N(() => [
2537
+ s(tt)(s(n)) && !i.value ? (m(), x("div", gn, [
2538
+ C(s(Ht))
2539
+ ])) : i.value && s(tt)(s(n)) ? (m(), R(cn, {
2540
+ key: 1,
2541
+ onTryAgain: I
2542
+ })) : (m(), x(Y, { key: 2 }, [
2543
+ C(ot, null, {
2544
+ default: N(() => [
2545
+ C(Kt, {
2546
+ "external-schedule-url": t.externalScheduleUrl,
2547
+ onNavigateTo: h
2548
+ }, null, 8, ["external-schedule-url"])
2549
+ ]),
2550
+ _: 1
2551
+ }),
2552
+ (m(!0), x(Y, null, Z(p.value, (w, u, j, T) => {
2553
+ const S = [
2554
+ w.gameDateTime,
2555
+ w.gameStatus,
2556
+ w.homeTeamScore,
2557
+ w.awayTeamScore,
2558
+ w.period,
2559
+ w.actualTime
2560
+ ];
2561
+ if (T && T.key === w.id && Nr(T, S)) return T;
2562
+ const P = (m(), R(ot, {
2563
+ key: w.id
2564
+ }, {
2565
+ default: N(() => [
2566
+ C(an, {
2567
+ "game-data": w,
2568
+ "external-game-resolver": t.externalGameResolver,
2569
+ onNavigateTo: h
2570
+ }, null, 8, ["game-data", "external-game-resolver"])
2571
+ ]),
2572
+ _: 2
2573
+ }, 1024));
2574
+ return P.memo = S, P;
2575
+ }, k, 0), 128)),
2576
+ C(ot, null, {
2577
+ default: N(() => [
2578
+ C(Kt, {
2579
+ "external-schedule-url": t.externalScheduleUrl,
2580
+ onNavigateTo: h
2581
+ }, null, 8, ["external-schedule-url"])
2582
+ ]),
2583
+ _: 1
2584
+ })
2585
+ ], 64))
2428
2586
  ]),
2429
2587
  _: 1
2430
- })
2588
+ }, 8, ["initial-index"])
2431
2589
  ]),
2432
2590
  _: 1
2433
2591
  }, 8, ["locale"]));
2434
2592
  }
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);
2593
+ }, mn = /* @__PURE__ */ Ie(vn, [["styles", [Je, dn]]]);
2594
+ function pn(t, e) {
2595
+ e.seasonsList = t, e.seasonId = Se(ne, ge("id"))(t);
2438
2596
  }
2439
- function Qi(t, e) {
2440
- e.championshipList = t, e.championshipId = je(ne, ge("championshipId"))(t);
2597
+ function bn(t, e) {
2598
+ e.championshipList = t, e.championshipId = Se(ne, ge("championshipId"))(t);
2441
2599
  }
2442
- function Zi(t, e) {
2443
- e.sections = t, e.sectionId = je(ne, ge("sectionId"))(t);
2600
+ function un(t, e) {
2601
+ e.sections = t, e.sectionId = Se(ne, ge("sectionId"))(t);
2444
2602
  }
2445
- const en = {
2603
+ const hn = {
2446
2604
  __name: "DataProvider",
2447
2605
  props: {
2448
2606
  apiKey: {
@@ -2462,22 +2620,22 @@ const en = {
2462
2620
  championshipId: null,
2463
2621
  sections: [],
2464
2622
  sectionId: null
2465
- }), { onError: a } = Ye(), { isLoading: o, execute: i } = ee({
2623
+ }), { onError: o } = Ve(), { isLoading: a, execute: i } = ee({
2466
2624
  options: {
2467
2625
  path: "/v2/all-season-list",
2468
2626
  apiKey: e.apiKey,
2469
2627
  params: {}
2470
2628
  },
2471
- transform: (u) => Ji(u, r),
2472
- onError: a
2629
+ transform: (h) => pn(h, r),
2630
+ onError: o
2473
2631
  }), { isLoading: n, execute: l } = ee({
2474
2632
  options: {
2475
2633
  path: "/v2/championship-list",
2476
2634
  apiKey: e.apiKey,
2477
2635
  params: A(() => ({ seasonId: r.seasonId }))
2478
2636
  },
2479
- transform: (u) => Qi(u, r),
2480
- onError: a
2637
+ transform: (h) => bn(h, r),
2638
+ onError: o
2481
2639
  }), {
2482
2640
  isLoading: d,
2483
2641
  execute: c
@@ -2487,33 +2645,33 @@ const en = {
2487
2645
  apiKey: e.apiKey,
2488
2646
  params: A(() => ({ championshipId: r.championshipId }))
2489
2647
  },
2490
- transform: (u) => Zi(u, r),
2491
- onError: a
2648
+ transform: (h) => un(h, r),
2649
+ onError: o
2492
2650
  }), 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) ?? [];
2651
+ var h, I;
2652
+ return ((I = (h = r.sections) == null ? void 0 : h.find((y) => y.sectionId === r.sectionId)) == null ? void 0 : I.phases) ?? [];
2495
2653
  });
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]);
2654
+ ue([i, l, c]);
2655
+ const p = A(() => [a.value, n.value, d.value].some(Boolean));
2656
+ function b(h) {
2657
+ r.seasonId = h, ue([l, c]);
2500
2658
  }
2501
- function f(u) {
2502
- r.championshipId = u, c();
2659
+ function f(h) {
2660
+ r.championshipId = h, c();
2503
2661
  }
2504
- function j(u) {
2505
- r.sectionId = u;
2662
+ function _(h) {
2663
+ r.sectionId = h;
2506
2664
  }
2507
- return (u, I) => he(u.$slots, "default", Ge(Re({
2665
+ return (h, I) => he(h.$slots, "default", Ge(Re({
2508
2666
  ...r,
2509
- isLoading: h.value,
2667
+ isLoading: p.value,
2510
2668
  phaseData: g.value,
2511
- onChangeSeason: p,
2512
- onChangeSection: j,
2669
+ onChangeSeason: b,
2670
+ onChangeSection: _,
2513
2671
  onChangeChampionship: f
2514
2672
  })));
2515
2673
  }
2516
- }, tn = { class: "is-mb-5" }, rn = ["value"], an = ["value"], on = {
2674
+ }, fn = { class: "is-mb-5" }, yn = ["value"], wn = ["value"], zn = {
2517
2675
  __name: "Selector",
2518
2676
  props: {
2519
2677
  seasonsList: {
@@ -2535,13 +2693,13 @@ const en = {
2535
2693
  },
2536
2694
  emits: ["update:seasonId", "update:championshipId"],
2537
2695
  setup(t, { emit: e }) {
2538
- const r = t, a = e, { t: o } = ae(), { seasonId: i, championshipId: n } = ut(r, a);
2696
+ const r = t, o = e, { t: a } = oe(), { seasonId: i, championshipId: n } = ut(r, o);
2539
2697
  return (l, d) => (m(), x(Y, null, [
2540
- v("div", tn, [
2698
+ v("div", fn, [
2541
2699
  v("label", {
2542
2700
  for: "season",
2543
- class: E(s(V)("label"))
2544
- }, z(s(o)("selection.seasons")), 3),
2701
+ class: E(s(K)("label"))
2702
+ }, z(s(a)("selection.seasons")), 3),
2545
2703
  C(s(pe), {
2546
2704
  id: "season",
2547
2705
  modelValue: s(i),
@@ -2551,7 +2709,7 @@ const en = {
2551
2709
  (m(!0), x(Y, null, Z(t.seasonsList, (c) => (m(), x("option", {
2552
2710
  key: c.id,
2553
2711
  value: c.id
2554
- }, z(c.seasonName), 9, rn))), 128))
2712
+ }, z(c.seasonName), 9, yn))), 128))
2555
2713
  ]),
2556
2714
  _: 1
2557
2715
  }, 8, ["modelValue"])
@@ -2559,8 +2717,8 @@ const en = {
2559
2717
  v("div", null, [
2560
2718
  v("label", {
2561
2719
  for: "season",
2562
- class: E(s(V)("label"))
2563
- }, z(s(o)("selection.championships")), 3),
2720
+ class: E(s(K)("label"))
2721
+ }, z(s(a)("selection.championships")), 3),
2564
2722
  C(s(pe), {
2565
2723
  id: "season",
2566
2724
  modelValue: s(n),
@@ -2570,14 +2728,14 @@ const en = {
2570
2728
  (m(!0), x(Y, null, Z(t.championshipList, (c) => (m(), x("option", {
2571
2729
  key: c.championshipId,
2572
2730
  value: c.championshipId
2573
- }, z(c.championshipName), 9, an))), 128))
2731
+ }, z(c.championshipName), 9, wn))), 128))
2574
2732
  ]),
2575
2733
  _: 1
2576
2734
  }, 8, ["modelValue"])
2577
2735
  ])
2578
2736
  ], 64));
2579
2737
  }
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 = {
2738
+ }, 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" }, _n = { class: "is-mb-5" }, jn = { for: "seasonId" }, Sn = ["textContent"], In = { class: "is-mb-5" }, $n = { for: "championshipName" }, Cn = ["textContent"], Tn = { 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
2739
  __name: "IvrIdentifiers.ce",
2582
2740
  props: {
2583
2741
  locale: {
@@ -2590,85 +2748,85 @@ const en = {
2590
2748
  }
2591
2749
  },
2592
2750
  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
2751
+ const e = t, r = { en: _e, hu: je };
2752
+ return (o, a) => (m(), R(s(ke), {
2753
+ locale: e.locale,
2754
+ messages: r
2597
2755
  }, {
2598
2756
  default: N(({ t: i }) => [
2599
- C(s(Ue), null, {
2757
+ C(s(Ye), null, {
2600
2758
  default: N(({ error: n, hasError: l }) => [
2601
- l ? (m(), R(s(Ke), {
2759
+ l ? (m(), R(s(Ue), {
2602
2760
  key: 0,
2603
2761
  error: n
2604
2762
  }, null, 8, ["error"])) : M("", !0),
2605
- C(en, null, {
2763
+ C(hn, null, {
2606
2764
  default: N(({
2607
2765
  seasonsList: d,
2608
2766
  seasonId: c,
2609
2767
  championshipList: g,
2610
- championshipId: h,
2611
- sections: p,
2768
+ championshipId: p,
2769
+ sections: b,
2612
2770
  sectionId: f,
2613
- phaseData: j,
2614
- onChangeSeason: u,
2771
+ phaseData: _,
2772
+ onChangeSeason: h,
2615
2773
  onChangeSection: I,
2616
- onChangeChampionship: w
2774
+ onChangeChampionship: y
2617
2775
  }) => {
2618
2776
  var k;
2619
2777
  return [
2620
- v("div", sn, [
2778
+ v("div", kn, [
2621
2779
  v("div", null, [
2622
- C(on, {
2780
+ C(zn, {
2623
2781
  "seasons-list": d,
2624
2782
  "season-id": c,
2625
2783
  "championship-list": g,
2626
- "championship-id": h,
2627
- "onUpdate:seasonId": u,
2628
- "onUpdate:championshipId": w
2784
+ "championship-id": p,
2785
+ "onUpdate:seasonId": h,
2786
+ "onUpdate:championshipId": y
2629
2787
  }, null, 8, ["seasons-list", "season-id", "championship-list", "championship-id", "onUpdate:seasonId", "onUpdate:championshipId"])
2630
2788
  ]),
2631
2789
  v("div", null, [
2632
- v("section", ln, [
2633
- v("label", cn, z(i("selection.seasonId")), 1),
2790
+ v("section", _n, [
2791
+ v("label", jn, z(i("selection.seasonId")), 1),
2634
2792
  v("p", {
2635
2793
  id: "seasonId",
2636
2794
  textContent: z(c)
2637
- }, null, 8, dn)
2795
+ }, null, 8, Sn)
2638
2796
  ]),
2639
- v("section", gn, [
2640
- v("label", vn, z(i("selection.championshipName")), 1),
2797
+ v("section", In, [
2798
+ v("label", $n, z(i("selection.championshipName")), 1),
2641
2799
  v("p", {
2642
2800
  id: "championshipName",
2643
- textContent: z((k = g.find((y) => y.championshipId === h)) == null ? void 0 : k.championshipName)
2644
- }, null, 8, mn)
2801
+ textContent: z((k = g.find((w) => w.championshipId === p)) == null ? void 0 : k.championshipName)
2802
+ }, null, 8, Cn)
2645
2803
  ]),
2646
- v("section", pn, [
2647
- v("label", bn, z(i("selection.championshipId")), 1),
2804
+ v("section", Tn, [
2805
+ v("label", Nn, z(i("selection.championshipId")), 1),
2648
2806
  v("p", {
2649
2807
  id: "championshipId",
2650
- textContent: z(h)
2651
- }, null, 8, un)
2808
+ textContent: z(p)
2809
+ }, null, 8, An)
2652
2810
  ]),
2653
- v("section", hn, [
2654
- v("label", fn, z(i("selection.sections")) + ":", 1),
2811
+ v("section", En, [
2812
+ v("label", Dn, z(i("selection.sections")) + ":", 1),
2655
2813
  v("div", {
2656
2814
  id: "sections",
2657
- class: E([s(V)("toggle-group")])
2815
+ class: E([s(K)("toggle-group")])
2658
2816
  }, [
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))
2817
+ (m(!0), x(Y, null, Z(b, (w) => (m(), x("button", {
2818
+ key: w.sectionId,
2819
+ class: E({ "is-active": w.sectionId === f }),
2820
+ onClick: (u) => I(w.sectionId)
2821
+ }, z(w.sectionName), 11, Ln))), 128))
2664
2822
  ], 2)
2665
2823
  ]),
2666
- v("section", yn, [
2667
- v("label", zn, z(i("selection.phasesDivision")) + ":", 1),
2824
+ v("section", Pn, [
2825
+ v("label", Mn, z(i("selection.phasesDivision")) + ":", 1),
2668
2826
  v("pre", {
2669
2827
  id: "phases",
2670
- textContent: z(j)
2671
- }, null, 8, xn)
2828
+ textContent: z(_)
2829
+ }, null, 8, On)
2672
2830
  ])
2673
2831
  ])
2674
2832
  ])
@@ -2683,322 +2841,277 @@ const en = {
2683
2841
  _: 1
2684
2842
  }, 8, ["locale"]));
2685
2843
  }
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",
2844
+ }, Rn = /* @__PURE__ */ Ie(Gn, [["styles", [Je, zt, Xe, xn]], ["__scopeId", "data-v-09e92fb0"]]), Yn = { class: "g-row" }, Un = ["value"], Vn = ["onClick"], Kn = {
2845
+ __name: "SeasonSelector",
2743
2846
  props: {
2744
- initialIndex: {
2847
+ seasons: {
2848
+ type: Array,
2849
+ default: () => []
2850
+ },
2851
+ championshipId: {
2852
+ type: Number,
2853
+ default: 0
2854
+ },
2855
+ sections: {
2856
+ type: Array,
2857
+ default: () => []
2858
+ },
2859
+ sectionId: {
2745
2860
  type: Number,
2746
2861
  default: 0
2747
2862
  }
2748
2863
  },
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
- ));
2864
+ emits: ["onChangeSeason", "onChangeSection"],
2865
+ setup(t, { emit: e }) {
2866
+ const r = t, o = e, { t: a } = oe(), i = A({
2867
+ get() {
2868
+ return r.championshipId;
2757
2869
  },
2758
- unregister: (p) => {
2759
- let f = o.value.indexOf(p);
2760
- f !== -1 && o.value.splice(f, 1);
2870
+ set(l) {
2871
+ o("onChangeSeason", l);
2761
2872
  }
2762
2873
  });
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;
2874
+ function n(l) {
2875
+ o("onChangeSection", l);
2788
2876
  }
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")
2877
+ return (l, d) => (m(), x(Y, null, [
2878
+ v("div", Yn, [
2879
+ v("div", null, [
2880
+ v("label", {
2881
+ for: "season",
2882
+ class: E(s(K)("label"))
2883
+ }, z(s(a)("selection.season")), 3),
2884
+ C(s(pe), {
2885
+ id: "season",
2886
+ modelValue: i.value,
2887
+ "onUpdate:modelValue": d[0] || (d[0] = (c) => i.value = c)
2888
+ }, {
2889
+ default: N(() => [
2890
+ (m(!0), x(Y, null, Z(t.seasons, (c) => (m(), x("option", {
2891
+ key: c.championshipId,
2892
+ value: c.championshipId
2893
+ }, z(c.seasonName), 9, Un))), 128))
2894
+ ]),
2895
+ _: 1
2896
+ }, 8, ["modelValue"])
2897
+ ])
2820
2898
  ]),
2821
- _: 3
2822
- }));
2823
- }
2824
- }, Mn = { class: "is-score" }, Vt = {
2825
- __name: "ScoreDisplay",
2826
- props: {
2827
- score: {
2828
- type: Number,
2829
- default: 0
2830
- }
2831
- },
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
- })
2899
+ v("div", null, [
2900
+ (m(!0), x(Y, null, Z(t.sections, (c) => (m(), x("button", {
2901
+ key: c.phaseId,
2902
+ class: E([s(K)("tab-button"), { "is-active": c.sectionId === t.sectionId }]),
2903
+ onClick: (g) => n(c)
2904
+ }, z(c.sectionName), 11, Vn))), 128))
2843
2905
  ])
2844
- ], 2));
2906
+ ], 64));
2845
2907
  }
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",
2854
- props: {
2855
- gameData: {
2856
- type: Object,
2857
- required: !0
2858
- },
2859
- externalGameResolver: {
2860
- type: [String, Function],
2861
- default: ""
2862
- }
2908
+ };
2909
+ function Bn(t, e) {
2910
+ if (t.length === 0)
2911
+ throw new Jt(Le.message, Le.options);
2912
+ e.seasons = qn(t), e.championshipId || (e.championshipId = ne(e.seasons).championshipId);
2913
+ }
2914
+ function Fn(t, e) {
2915
+ var r;
2916
+ e.sections = dr(ge("sectionId"))(t), e.sectionId = wt(ge("sectionId"), ne)(e.sections), e.phaseId = ((r = sr([0, "phases", 0], t)) == null ? void 0 : r.phaseId) ?? null;
2917
+ }
2918
+ function qn(t) {
2919
+ return wt(cr(nr(ge("seasonName"))), yt(lr(["championshipId", "seasonName"])))(t);
2920
+ }
2921
+ const Wn = {
2922
+ gameName: {
2923
+ label: "table.gameName.short",
2924
+ tooltip: "table.gameName.tooltip",
2925
+ class: "is-text-left is-text-light"
2863
2926
  },
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" });
2875
- }
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));
2927
+ gameDateDate: {
2928
+ label: "table.gameDate.short",
2929
+ tooltip: "table.gameDate.tooltip",
2930
+ class: "is-text-left"
2931
+ },
2932
+ gameDateTime: {
2933
+ label: "table.gameDateTime.short",
2934
+ tooltip: "table.gameDateTime.tooltip",
2935
+ class: "is-text-left"
2936
+ },
2937
+ divisionName: {
2938
+ label: "table.section.short",
2939
+ tooltip: "table.section.tooltip",
2940
+ class: "is-has-image is-text-light"
2941
+ },
2942
+ homeTeamName: {
2943
+ label: "table.organizer.short",
2944
+ tooltip: "table.organizer.tooltip",
2945
+ class: "is-text-left is-w-auto is-text-bold"
2946
+ },
2947
+ location: {
2948
+ label: "table.location.short",
2949
+ tooltip: "table.location.tooltip",
2950
+ class: "is-text-left is-w-auto"
2951
+ },
2952
+ document: {
2953
+ label: "table.document.short",
2954
+ tooltip: "table.document.tooltip",
2955
+ class: "is-text-left"
2925
2956
  }
2926
- }, Bt = {
2927
- __name: "ExternalSchedule",
2957
+ };
2958
+ function Hn(t) {
2959
+ return (e) => yt((r) => ({
2960
+ ...r,
2961
+ ...r.registration && { registration: `${r.registration}/cid/${t}` }
2962
+ }))(e);
2963
+ }
2964
+ const Xn = {
2965
+ __name: "DataProvider",
2928
2966
  props: {
2929
- externalScheduleUrl: {
2967
+ championshipName: {
2968
+ type: String,
2969
+ default: ""
2970
+ },
2971
+ championshipId: {
2972
+ type: Number,
2973
+ default: 0
2974
+ },
2975
+ limit: {
2976
+ type: Number,
2977
+ default: 20
2978
+ },
2979
+ apiKey: {
2980
+ type: String,
2981
+ default: ""
2982
+ },
2983
+ locale: {
2984
+ type: String,
2985
+ default: "hu"
2986
+ },
2987
+ timezone: {
2930
2988
  type: String,
2931
2989
  default: ""
2932
2990
  }
2933
2991
  },
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" });
2992
+ setup(t) {
2993
+ const e = t, r = de({
2994
+ seasons: [],
2995
+ championshipId: null,
2996
+ sections: [],
2997
+ sectionId: null,
2998
+ phaseId: null
2999
+ }), { onError: o } = Ve(), { isLoading: a, execute: i } = ee({
3000
+ options: {
3001
+ path: "/v2/championship-seasons",
3002
+ apiKey: e.apiKey,
3003
+ params: { championshipName: e.championshipName }
3004
+ },
3005
+ transform: (h) => Bn(h, r),
3006
+ onError: o
3007
+ }), { isLoading: n, execute: l } = ee({
3008
+ options: {
3009
+ path: "/v2/championship-sections",
3010
+ apiKey: e.apiKey,
3011
+ params: A(() => ({ championshipId: r.championshipId }))
3012
+ },
3013
+ transform: (h) => Fn(h, r),
3014
+ onError: o
3015
+ }), {
3016
+ isLoading: d,
3017
+ state: c,
3018
+ execute: g
3019
+ } = ee({
3020
+ options: {
3021
+ path: "/v2/games-list",
3022
+ apiKey: e.apiKey,
3023
+ params: A(() => ({ championshipId: r.championshipId, phaseId: r.phaseId }))
3024
+ },
3025
+ transform: (h) => Se(Qt, Hn(r.championshipId))(h),
3026
+ onError: o
3027
+ }), p = A(() => vt(c.value).schedule(e.timezone, e.locale).value());
3028
+ ue([i, l, g]);
3029
+ const b = A(() => [n.value, a.value, d.value].some(Boolean));
3030
+ function f(h) {
3031
+ r.championshipId = h, ue([l, g]);
2939
3032
  }
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));
3033
+ function _(h) {
3034
+ r.sectionId = h.sectionId, r.phaseId = sr(["phases", 0, "phaseId"], h), g();
3035
+ }
3036
+ return (h, I) => he(h.$slots, "default", Ge(Re({
3037
+ rows: p.value,
3038
+ isLoading: b.value,
3039
+ values: s(Ia)(["phaseId"], r),
3040
+ listeners: { onChangeSection: _, onChangeSeason: f }
3041
+ })));
2951
3042
  }
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");
3043
+ }, Jn = ["href"], Qn = ["href"], Zn = {
3044
+ __name: "ScheduleCupDataTable",
3045
+ props: {
3046
+ columns: {
3047
+ type: Object,
3048
+ default: () => ({})
3049
+ },
3050
+ rows: {
3051
+ type: Array,
3052
+ default: () => []
3053
+ },
3054
+ offsetName: {
3055
+ type: String,
3056
+ default: ""
3057
+ },
3058
+ isLoading: {
3059
+ type: Boolean,
3060
+ default: !1
2985
3061
  }
3062
+ },
3063
+ setup(t) {
3064
+ const e = t, r = G(null), { columns: o } = qr(
3065
+ e.columns,
3066
+ null,
3067
+ A(() => ({
3068
+ offsetName: e.offsetName
3069
+ }))
3070
+ ), { t: a } = oe();
2986
3071
  return (i, n) => (m(), x("div", {
2987
- class: E(s(V)("games-timeline-error-indicator"))
3072
+ ref_key: "tooltipContainer",
3073
+ ref: r
2988
3074
  }, [
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));
3075
+ C(s(Rr), null, {
3076
+ default: N(() => [
3077
+ C(s(Yr), {
3078
+ columns: s(o),
3079
+ rows: t.rows,
3080
+ "is-loading": t.isLoading,
3081
+ "append-to": r.value
3082
+ }, {
3083
+ "cell-homeTeamName": N(({ row: l }) => {
3084
+ var d;
3085
+ return [
3086
+ re(z(((d = l.homeTeam) == null ? void 0 : d.longName) ?? ""), 1)
3087
+ ];
3088
+ }),
3089
+ "cell-location": N(({ row: l }) => {
3090
+ var d;
3091
+ return [
3092
+ re(z(((d = l.location) == null ? void 0 : d.locationName) ?? ""), 1)
3093
+ ];
3094
+ }),
3095
+ "cell-document": N(({ row: l }) => [
3096
+ l.schedule ? (m(), x("a", {
3097
+ key: 0,
3098
+ href: l.schedule,
3099
+ target: "_blank"
3100
+ }, z(s(a)("schedule")), 9, Jn)) : l.registration ? (m(), x("a", {
3101
+ key: 1,
3102
+ href: l.registration,
3103
+ target: "_blank"
3104
+ }, z(s(a)("registration")), 9, Qn)) : M("", !0)
3105
+ ]),
3106
+ _: 1
3107
+ }, 8, ["columns", "rows", "is-loading", "append-to"])
3108
+ ]),
3109
+ _: 1
3110
+ })
3111
+ ], 512));
2996
3112
  }
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
3113
  }, es = {
3001
- __name: "GamesTimeline.ce",
3114
+ __name: "ScheduleCup.ce",
3002
3115
  props: {
3003
3116
  locale: {
3004
3117
  type: String,
@@ -3008,140 +3121,54 @@ const Xn = { render: Hn }, Jn = {
3008
3121
  type: String,
3009
3122
  default: ""
3010
3123
  },
3011
- servicePath: {
3012
- type: String,
3013
- default: "/v2/public-calendar?seasonId=217"
3014
- },
3015
- externalGameResolver: {
3016
- type: [String, Function],
3017
- default: ""
3018
- },
3019
- externalScheduleUrl: {
3124
+ championshipName: {
3020
3125
  type: String,
3021
3126
  default: ""
3022
3127
  }
3128
+ // timezoneSelector: {
3129
+ // type: Boolean,
3130
+ // default: false,
3131
+ // },
3023
3132
  },
3024
3133
  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
3134
+ const e = t, r = { en: _e, hu: je }, o = G(Be()), a = A(() => Ke(/* @__PURE__ */ new Date(), o.value, e.locale));
3135
+ return (i, n) => (m(), R(s(ke), {
3136
+ locale: e.locale,
3137
+ messages: r
3082
3138
  }, {
3083
3139
  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))
3140
+ C(s(Ye), null, {
3141
+ default: N(({ error: l, hasError: d }) => [
3142
+ d ? (m(), R(s(Ue), {
3143
+ key: 0,
3144
+ error: l
3145
+ }, null, 8, ["error"])) : M("", !0),
3146
+ C(Xn, {
3147
+ "championship-name": t.championshipName,
3148
+ locale: t.locale,
3149
+ timezone: o.value
3150
+ }, {
3151
+ default: N(({ rows: c, isLoading: g, values: p, listeners: b }) => [
3152
+ C(Kn, Ar(p, Er(b)), null, 16),
3153
+ C(Zn, {
3154
+ columns: s(Wn),
3155
+ rows: c.rows,
3156
+ "is-loading": g,
3157
+ "offset-name": a.value
3158
+ }, null, 8, ["columns", "rows", "is-loading", "offset-name"])
3159
+ ]),
3160
+ _: 1
3161
+ }, 8, ["championship-name", "locale", "timezone"])
3135
3162
  ]),
3136
3163
  _: 1
3137
- }, 8, ["initial-index"])
3164
+ })
3138
3165
  ]),
3139
3166
  _: 1
3140
3167
  }, 8, ["locale"]));
3141
3168
  }
3142
- }, ts = /* @__PURE__ */ Ie(es, [["styles", [Je, Qn]]]), rs = xe(vi), as = xe(Li), os = xe(Xi), is = xe(jn), ns = xe(ts);
3169
+ }, 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
3170
  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);
3171
+ 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
3172
  }
3146
3173
  const us = {
3147
3174
  install: () => ss()
@@ -3150,13 +3177,13 @@ export {
3150
3177
  vi as Calendar,
3151
3178
  rs as CalendarCE,
3152
3179
  Li as Championship,
3153
- as as ChampionshipCE,
3154
- ts as GamesTimeline,
3180
+ os as ChampionshipCE,
3181
+ mn as GamesTimeline,
3155
3182
  ns as GamesTimelineCE,
3156
- jn as IVRIdentifiers,
3183
+ Rn as IVRIdentifiers,
3157
3184
  is as IVRIdentifiersCE,
3158
- Xi as ScheduleCup,
3159
- os as ScheduleCupCE,
3185
+ ts as ScheduleCup,
3186
+ as as ScheduleCupCE,
3160
3187
  us as default,
3161
3188
  ss as register
3162
3189
  };