@mjsz-vbr-elements/liga 2.16.0 → 2.18.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,15 +1,15 @@
1
1
  /**
2
2
  * name: @mjsz-vbr-elements/liga
3
- * version: v2.16.0 - 05/02/2025, 20:50:34
3
+ * version: v2.18.0 - 25/02/2025, 20:34:13
4
4
  * (c) 2025
5
5
  * description: Data visualization for MJSZ VBR
6
6
  * author: Ákos Stegner <akos.stegner@gmail.com>
7
7
  */
8
- import { getCurrentScope as dr, onScopeDispose as pr, ref as K, isRef as Ie, watch as se, readonly as ba, nextTick as ma, toValue as $e, reactive as Z, computed as _, getCurrentInstance as gr, unref as n, renderSlot as xe, normalizeProps as ke, guardReactiveProps as _e, openBlock as d, createBlock as $, withCtx as k, createVNode as x, createElementVNode as c, normalizeClass as G, toDisplayString as b, createElementBlock as h, createCommentVNode as I, createTextVNode as W, setBlockTracking as Wt, Fragment as O, renderList as U, toRefs as va, toRef as ur, withDirectives as br, vModelText as mr, mergeProps as vr, toHandlers as hr, defineCustomElement as de } from "vue";
9
- import { ResponsiveTable as ie, DataTable as ce, FloatingPanel as ha, Image as V, I18NProvider as pe, ErrorProvider as ze, ErrorNotice as Se, SeasonSelector as fa, Paginator as ya, BaseSelect as re, TimezoneSelector as fr, LoadingIndicator as $t, AdditionalStandingsText as Yt, StatisticsTable as yr } from "@mjsz-vbr-elements/core/components";
8
+ import { getCurrentScope as dr, onScopeDispose as pr, ref as K, isRef as Ie, watch as se, readonly as ba, nextTick as ma, toValue as $e, reactive as Z, computed as _, getCurrentInstance as gr, unref as n, renderSlot as xe, normalizeProps as ke, guardReactiveProps as _e, openBlock as d, createBlock as $, withCtx as x, createVNode as w, createElementVNode as c, normalizeClass as G, toDisplayString as u, createElementBlock as h, createCommentVNode as I, createTextVNode as W, setBlockTracking as Wt, Fragment as O, renderList as U, toRefs as va, toRef as ur, withDirectives as br, vModelText as mr, mergeProps as vr, toHandlers as hr, defineCustomElement as de } from "vue";
9
+ import { ResponsiveTable as ie, DataTable as ce, FloatingPanel as ha, Image as V, I18NProvider as pe, ErrorProvider as ze, ErrorNotice as Se, SeasonSelector as fa, Paginator as ya, LoadingIndicator as at, BaseSelect as re, TimezoneSelector as fr, AdditionalStandingsText as Yt, StatisticsTable as yr } from "@mjsz-vbr-elements/core/components";
10
10
  import { useError as ge, useServices as D, useI18n as Q, useColumns as ee, usePage as wa, useSort as At, useLazyLoadingState as Lt, useScrollToGameDate as wr, useVisibilityChange as xr, fetchVBRData as Be } from "@mjsz-vbr-elements/core/composables";
11
- import { WidgetError as xa, InvalidSeasonName as Ze, yearToNow as kr, rawConvert as at, teamName as rt, convertTimesMinToMinSec as ka, sortGames as Ct, gameDateTime as _a, teamResultType as za, gameResult as Sa, teamOpponent as Ta, getLocalTimezone as ot, offsetName as Et, externalGameLinkResolver as it, flagResolver as Ia, playerName as nt, convert as Oe, externalPlayerLinkResolver as Ot, externalTeamLinkResolver as lt, format as et, isBetween as _r, scrollToTop as Ht, convertPhaseName as zr, convertTimesSecToMin as Sr, upperCase as Tr, localeSort as Jt } from "@mjsz-vbr-elements/core/utils";
12
- import * as wt from "@mjsz-vbr-elements/core";
11
+ import { WidgetError as xa, InvalidSeasonName as Ze, yearToNow as kr, rawConvert as rt, teamName as ot, convertTimesMinToMinSec as ka, sortGames as Ct, gameDateTime as _a, teamResultType as za, gameResult as Sa, teamOpponent as Ta, getLocalTimezone as it, offsetName as Et, externalGameLinkResolver as nt, flagResolver as Ia, playerName as lt, convert as Oe, externalPlayerLinkResolver as Ot, externalTeamLinkResolver as st, format as et, isBetween as _r, scrollToTop as Ht, convertPhaseName as zr, convertTimesSecToMin as Sr, upperCase as Tr, localeSort as Jt } from "@mjsz-vbr-elements/core/utils";
12
+ import * as xt from "@mjsz-vbr-elements/core";
13
13
  import { SORT_STATE_ASCEND as Ce, DEFAULT_PORTRAIT_IMAGE_URL as Ir, REFRESH_DELAY as Xt, gameProps as Pr, SORT_STATE_DESCEND as B, playerStatsProps as Nr, teamStatsProps as $r } from "@mjsz-vbr-elements/core";
14
14
  import { COLUMNS_STANDINGS_P_3 as Ar, COLUMNS_FIELD_PLAYERS as Ve, COLUMNS_FIELD_PLAYERS_PENALTY as Lr, COLUMNS_FIELD_PLAYERS_TOI as Cr, COLUMNS_GOALIES as Qt, COLUMNS_TEAM_ATTENDANCE as Er, COLUMNS_TEAMS_FAIRPLAY as Or, COLUMNS_TEAMS_PENALTY_KILLING as jr, COLUMNS_TEAMS_POWERPLAY as Rr, COLUMNS_SCORING_EFFICIENCY as Fr } from "@mjsz-vbr-elements/core/columns";
15
15
  import { DEFAULT_PORTRAIT_IMAGE_URL as Zt } from "@mjsz-vbr-elements/core/constants";
@@ -61,7 +61,7 @@ function io(e = Pa) {
61
61
  };
62
62
  return { isActive: ba(t), pause: a, resume: r, eventFilter: o };
63
63
  }
64
- function xt(e) {
64
+ function kt(e) {
65
65
  return Array.isArray(e) ? e : [e];
66
66
  }
67
67
  function no(e, t, a = {}) {
@@ -82,7 +82,7 @@ function lo(e, t, a = {}) {
82
82
  const {
83
83
  eventFilter: r,
84
84
  ...o
85
- } = a, { eventFilter: i, pause: l, resume: s, isActive: p } = io(r);
85
+ } = a, { eventFilter: i, pause: l, resume: s, isActive: g } = io(r);
86
86
  return { stop: no(
87
87
  e,
88
88
  t,
@@ -90,7 +90,7 @@ function lo(e, t, a = {}) {
90
90
  ...o,
91
91
  eventFilter: i
92
92
  }
93
- ), pause: l, resume: s, isActive: p };
93
+ ), pause: l, resume: s, isActive: g };
94
94
  }
95
95
  function so(e, t = 1e3, a = {}) {
96
96
  const {
@@ -102,23 +102,23 @@ function so(e, t = 1e3, a = {}) {
102
102
  function s() {
103
103
  i && (clearInterval(i), i = null);
104
104
  }
105
- function p() {
105
+ function g() {
106
106
  l.value = !1, s();
107
107
  }
108
- function u() {
108
+ function b() {
109
109
  const v = $e(t);
110
110
  v <= 0 || (l.value = !0, o && e(), s(), l.value && (i = setInterval(e, v)));
111
111
  }
112
- if (r && Re && u(), Ie(t) || typeof t == "function") {
112
+ if (r && Re && b(), Ie(t) || typeof t == "function") {
113
113
  const v = se(t, () => {
114
- l.value && Re && u();
114
+ l.value && Re && b();
115
115
  });
116
116
  je(v);
117
117
  }
118
- return je(p), {
118
+ return je(g), {
119
119
  isActive: l,
120
- pause: p,
121
- resume: u
120
+ pause: g,
121
+ resume: b
122
122
  };
123
123
  }
124
124
  function Na(e, t, a = {}) {
@@ -132,14 +132,14 @@ function Na(e, t, a = {}) {
132
132
  function s() {
133
133
  o.value = !1, l();
134
134
  }
135
- function p(...u) {
135
+ function g(...b) {
136
136
  l(), o.value = !0, i = setTimeout(() => {
137
- o.value = !1, i = null, e(...u);
137
+ o.value = !1, i = null, e(...b);
138
138
  }, $e(t));
139
139
  }
140
- return r && (o.value = !0, Re && p()), je(s), {
140
+ return r && (o.value = !0, Re && g()), je(s), {
141
141
  isPending: ba(o),
142
- start: p,
142
+ start: g,
143
143
  stop: s
144
144
  };
145
145
  }
@@ -166,28 +166,28 @@ function Aa(e) {
166
166
  function ea(...e) {
167
167
  const t = [], a = () => {
168
168
  t.forEach((s) => s()), t.length = 0;
169
- }, r = (s, p, u, v) => (s.addEventListener(p, u, v), () => s.removeEventListener(p, u, v)), o = _(() => {
170
- const s = xt($e(e[0])).filter((p) => p != null);
171
- return s.every((p) => typeof p != "string") ? s : void 0;
169
+ }, r = (s, g, b, v) => (s.addEventListener(g, b, v), () => s.removeEventListener(g, b, v)), o = _(() => {
170
+ const s = kt($e(e[0])).filter((g) => g != null);
171
+ return s.every((g) => typeof g != "string") ? s : void 0;
172
172
  }), i = co(
173
173
  () => {
174
- var s, p;
174
+ var s, g;
175
175
  return [
176
- (p = (s = o.value) == null ? void 0 : s.map((u) => Aa(u))) != null ? p : [$a].filter((u) => u != null),
177
- xt($e(o.value ? e[1] : e[0])),
178
- xt(n(o.value ? e[2] : e[1])),
176
+ (g = (s = o.value) == null ? void 0 : s.map((b) => Aa(b))) != null ? g : [$a].filter((b) => b != null),
177
+ kt($e(o.value ? e[1] : e[0])),
178
+ kt(n(o.value ? e[2] : e[1])),
179
179
  // @ts-expect-error - TypeScript gets the correct types, but somehow still complains
180
180
  $e(o.value ? e[3] : e[2])
181
181
  ];
182
182
  },
183
- ([s, p, u, v]) => {
184
- if (a(), !(s != null && s.length) || !(p != null && p.length) || !(u != null && u.length))
183
+ ([s, g, b, v]) => {
184
+ if (a(), !(s != null && s.length) || !(g != null && g.length) || !(b != null && b.length))
185
185
  return;
186
- const f = ro(v) ? { ...v } : v;
186
+ const y = ro(v) ? { ...v } : v;
187
187
  t.push(
188
188
  ...s.flatMap(
189
- (m) => p.flatMap(
190
- (g) => u.map((z) => r(m, g, z, f))
189
+ (m) => g.flatMap(
190
+ (p) => b.map((z) => r(m, p, z, y))
191
191
  )
192
192
  )
193
193
  );
@@ -209,30 +209,30 @@ function te(e, t) {
209
209
  fulfilled: "fulfilled",
210
210
  pending: "pending",
211
211
  rejected: "rejected"
212
- }, s = Array.from(Array.from({ length: e.length }), () => ({ state: l.pending, data: null })), p = Z(s), u = K(-1);
212
+ }, s = Array.from(Array.from({ length: e.length }), () => ({ state: l.pending, data: null })), g = Z(s), b = K(-1);
213
213
  if (!e || e.length === 0)
214
214
  return o(), {
215
- activeIndex: u,
216
- result: p
215
+ activeIndex: b,
216
+ result: g
217
217
  };
218
- function v(f, m) {
219
- u.value++, p[u.value].data = m, p[u.value].state = f;
218
+ function v(y, m) {
219
+ b.value++, g[b.value].data = m, g[b.value].state = y;
220
220
  }
221
- return e.reduce((f, m) => f.then((g) => {
221
+ return e.reduce((y, m) => y.then((p) => {
222
222
  var z;
223
223
  if (i != null && i.aborted) {
224
224
  v(l.aborted, new Error("aborted"));
225
225
  return;
226
226
  }
227
- if (((z = p[u.value]) == null ? void 0 : z.state) === l.rejected && a) {
227
+ if (((z = g[b.value]) == null ? void 0 : z.state) === l.rejected && a) {
228
228
  o();
229
229
  return;
230
230
  }
231
- const w = m(g).then((N) => (v(l.fulfilled, N), u.value === e.length - 1 && o(), N));
232
- return i ? Promise.race([w, go(i)]) : w;
233
- }).catch((g) => i != null && i.aborted ? (v(l.aborted, g), g) : (v(l.rejected, g), r(), g)), Promise.resolve()), {
234
- activeIndex: u,
235
- result: p
231
+ const P = m(p).then((k) => (v(l.fulfilled, k), b.value === e.length - 1 && o(), k));
232
+ return i ? Promise.race([P, go(i)]) : P;
233
+ }).catch((p) => i != null && i.aborted ? (v(l.aborted, p), p) : (v(l.rejected, p), r(), p)), Promise.resolve()), {
234
+ activeIndex: b,
235
+ result: g
236
236
  };
237
237
  }
238
238
  function go(e) {
@@ -254,12 +254,12 @@ function bo(e, t, a = {}) {
254
254
  function s() {
255
255
  i.value || (i.value = !0, l());
256
256
  }
257
- function p() {
257
+ function g() {
258
258
  i.value = !1;
259
259
  }
260
- return r && Re && s(), je(p), {
260
+ return r && Re && s(), je(g), {
261
261
  isActive: i,
262
- pause: p,
262
+ pause: g,
263
263
  resume: s
264
264
  };
265
265
  }
@@ -274,18 +274,18 @@ function Te(e = "history", t = {}) {
274
274
  } = t;
275
275
  if (!s)
276
276
  return Z(a);
277
- const p = Z({});
278
- function u() {
277
+ const g = Z({});
278
+ function b() {
279
279
  if (e === "history")
280
280
  return s.location.search || "";
281
281
  if (e === "hash") {
282
- const y = s.location.hash || "", S = y.indexOf("?");
283
- return S > 0 ? y.slice(S) : "";
282
+ const f = s.location.hash || "", S = f.indexOf("?");
283
+ return S > 0 ? f.slice(S) : "";
284
284
  } else
285
285
  return (s.location.hash || "").replace(/^#/, "");
286
286
  }
287
- function v(y) {
288
- const S = y.toString();
287
+ function v(f) {
288
+ const S = f.toString();
289
289
  if (e === "history")
290
290
  return `${S ? `?${S}` : ""}${s.location.hash || ""}`;
291
291
  if (e === "hash-params")
@@ -293,69 +293,69 @@ function Te(e = "history", t = {}) {
293
293
  const T = s.location.hash || "#", C = T.indexOf("?");
294
294
  return C > 0 ? `${s.location.search || ""}${T.slice(0, C)}${S ? `?${S}` : ""}` : `${s.location.search || ""}${T}${S ? `?${S}` : ""}`;
295
295
  }
296
- function f() {
297
- return new URLSearchParams(u());
296
+ function y() {
297
+ return new URLSearchParams(b());
298
298
  }
299
- function m(y) {
300
- const S = new Set(Object.keys(p));
301
- for (const T of y.keys()) {
302
- const C = y.getAll(T);
303
- p[T] = C.length > 1 ? C : y.get(T) || "", S.delete(T);
299
+ function m(f) {
300
+ const S = new Set(Object.keys(g));
301
+ for (const T of f.keys()) {
302
+ const C = f.getAll(T);
303
+ g[T] = C.length > 1 ? C : f.get(T) || "", S.delete(T);
304
304
  }
305
- Array.from(S).forEach((T) => delete p[T]);
305
+ Array.from(S).forEach((T) => delete g[T]);
306
306
  }
307
- const { pause: g, resume: z } = lo(
308
- p,
307
+ const { pause: p, resume: z } = lo(
308
+ g,
309
309
  () => {
310
- const y = new URLSearchParams("");
311
- Object.keys(p).forEach((S) => {
312
- const T = p[S];
313
- Array.isArray(T) ? T.forEach((C) => y.append(S, C)) : r && T == null || o && !T ? y.delete(S) : y.set(S, T);
314
- }), w(y, !1);
310
+ const f = new URLSearchParams("");
311
+ Object.keys(g).forEach((S) => {
312
+ const T = g[S];
313
+ Array.isArray(T) ? T.forEach((C) => f.append(S, C)) : r && T == null || o && !T ? f.delete(S) : f.set(S, T);
314
+ }), P(f, !1);
315
315
  },
316
316
  { deep: !0 }
317
317
  );
318
- function w(y, S) {
319
- g(), S && m(y), l === "replace" ? s.history.replaceState(
318
+ function P(f, S) {
319
+ p(), S && m(f), l === "replace" ? s.history.replaceState(
320
320
  s.history.state,
321
321
  s.document.title,
322
- s.location.pathname + v(y)
322
+ s.location.pathname + v(f)
323
323
  ) : s.history.pushState(
324
324
  s.history.state,
325
325
  s.document.title,
326
- s.location.pathname + v(y)
326
+ s.location.pathname + v(f)
327
327
  ), z();
328
328
  }
329
- function N() {
330
- i && w(f(), !0);
329
+ function k() {
330
+ i && P(y(), !0);
331
331
  }
332
332
  const A = { passive: !0 };
333
- ea(s, "popstate", N, A), e !== "history" && ea(s, "hashchange", N, A);
334
- const L = f();
335
- return L.keys().next().value ? m(L) : Object.assign(p, a), p;
333
+ ea(s, "popstate", k, A), e !== "history" && ea(s, "hashchange", k, A);
334
+ const L = y();
335
+ return L.keys().next().value ? m(L) : Object.assign(g, a), g;
336
336
  }
337
337
  function mo(e, t, a, r = {}) {
338
338
  var o, i, l;
339
339
  const {
340
340
  clone: s = !1,
341
- passive: p = !1,
342
- eventName: u,
341
+ passive: g = !1,
342
+ eventName: b,
343
343
  deep: v = !1,
344
- defaultValue: f,
344
+ defaultValue: y,
345
345
  shouldEmit: m
346
- } = r, g = gr(), z = a || (g == null ? void 0 : g.emit) || ((o = g == null ? void 0 : g.$emit) == null ? void 0 : o.bind(g)) || ((l = (i = g == null ? void 0 : g.proxy) == null ? void 0 : i.$emit) == null ? void 0 : l.bind(g == null ? void 0 : g.proxy));
347
- let w = u;
348
- t || (t = "modelValue"), w = w || `update:${t.toString()}`;
349
- const N = (y) => s ? typeof s == "function" ? s(y) : uo(y) : y, A = () => to(e[t]) ? N(e[t]) : f, L = (y) => {
350
- m ? m(y) && z(w, y) : z(w, y);
346
+ } = r, p = gr(), z = a || (p == null ? void 0 : p.emit) || ((o = p == null ? void 0 : p.$emit) == null ? void 0 : o.bind(p)) || ((l = (i = p == null ? void 0 : p.proxy) == null ? void 0 : i.$emit) == null ? void 0 : l.bind(p == null ? void 0 : p.proxy));
347
+ let P = b;
348
+ t || (t = "modelValue"), P = P || `update:${t.toString()}`;
349
+ const k = (f) => s ? typeof s == "function" ? s(f) : uo(f) : f, A = () => to(e[t]) ? k(e[t]) : y, L = (f) => {
350
+ m ? m(f) && z(P, f) : z(P, f);
351
351
  };
352
- if (p) {
353
- const y = A(), S = K(y);
352
+ if (g) {
353
+ const f = A(), S = K(f);
354
354
  let T = !1;
355
355
  return se(
356
356
  () => e[t],
357
357
  (C) => {
358
- T || (T = !0, S.value = N(C), ma(() => T = !1));
358
+ T || (T = !0, S.value = k(C), ma(() => T = !1));
359
359
  }
360
360
  ), se(
361
361
  S,
@@ -369,8 +369,8 @@ function mo(e, t, a, r = {}) {
369
369
  get() {
370
370
  return A();
371
371
  },
372
- set(y) {
373
- L(y);
372
+ set(f) {
373
+ L(f);
374
374
  }
375
375
  });
376
376
  }
@@ -411,7 +411,7 @@ function F(e) {
411
411
  }
412
412
  };
413
413
  }
414
- function st(e, t) {
414
+ function ct(e, t) {
415
415
  switch (e) {
416
416
  case 0:
417
417
  return function() {
@@ -442,19 +442,19 @@ function st(e, t) {
442
442
  return t.apply(this, arguments);
443
443
  };
444
444
  case 7:
445
- return function(a, r, o, i, l, s, p) {
445
+ return function(a, r, o, i, l, s, g) {
446
446
  return t.apply(this, arguments);
447
447
  };
448
448
  case 8:
449
- return function(a, r, o, i, l, s, p, u) {
449
+ return function(a, r, o, i, l, s, g, b) {
450
450
  return t.apply(this, arguments);
451
451
  };
452
452
  case 9:
453
- return function(a, r, o, i, l, s, p, u, v) {
453
+ return function(a, r, o, i, l, s, g, b, v) {
454
454
  return t.apply(this, arguments);
455
455
  };
456
456
  case 10:
457
- return function(a, r, o, i, l, s, p, u, v, f) {
457
+ return function(a, r, o, i, l, s, g, b, v, y) {
458
458
  return t.apply(this, arguments);
459
459
  };
460
460
  default:
@@ -464,14 +464,14 @@ function st(e, t) {
464
464
  function jt(e, t, a) {
465
465
  return function() {
466
466
  for (var r = [], o = 0, i = e, l = 0, s = !1; l < t.length || o < arguments.length; ) {
467
- var p;
468
- l < t.length && (!R(t[l]) || o >= arguments.length) ? p = t[l] : (p = arguments[o], o += 1), r[l] = p, R(p) ? s = !0 : i -= 1, l += 1;
467
+ var g;
468
+ l < t.length && (!R(t[l]) || o >= arguments.length) ? g = t[l] : (g = arguments[o], o += 1), r[l] = g, R(g) ? s = !0 : i -= 1, l += 1;
469
469
  }
470
- return !s && i <= 0 ? a.apply(this, r) : st(Math.max(0, i), jt(e, r, a));
470
+ return !s && i <= 0 ? a.apply(this, r) : ct(Math.max(0, i), jt(e, r, a));
471
471
  };
472
472
  }
473
473
  var Ca = /* @__PURE__ */ F(function(t, a) {
474
- return t === 1 ? M(a) : st(t, jt(t, [], a));
474
+ return t === 1 ? M(a) : ct(t, jt(t, [], a));
475
475
  });
476
476
  function Y(e) {
477
477
  return function t(a, r, o) {
@@ -551,7 +551,7 @@ function ta(e) {
551
551
  t.push(a.value);
552
552
  return t;
553
553
  }
554
- function It(e, t, a) {
554
+ function Pt(e, t, a) {
555
555
  for (var r = 0, o = a.length; r < o; ) {
556
556
  if (e(t, a[r]))
557
557
  return !0;
@@ -569,7 +569,7 @@ function X(e, t) {
569
569
  function yo(e, t) {
570
570
  return e === t ? e !== 0 || 1 / e === 1 / t : e !== e && t !== t;
571
571
  }
572
- const kt = typeof Object.is == "function" ? Object.is : yo;
572
+ const _t = typeof Object.is == "function" ? Object.is : yo;
573
573
  var aa = Object.prototype.toString, Ea = /* @__PURE__ */ function() {
574
574
  return aa.call(arguments) === "[object Arguments]" ? function(t) {
575
575
  return aa.call(t) === "[object Arguments]";
@@ -599,23 +599,23 @@ var aa = Object.prototype.toString, Ea = /* @__PURE__ */ function() {
599
599
  for (r = ra.length - 1; r >= 0; )
600
600
  a = ra[r], X(a, t) && !xo(o, a) && (o[o.length] = a), r -= 1;
601
601
  return o;
602
- }), Pt = /* @__PURE__ */ M(function(t) {
602
+ }), Nt = /* @__PURE__ */ M(function(t) {
603
603
  return t === null ? "Null" : t === void 0 ? "Undefined" : Object.prototype.toString.call(t).slice(8, -1);
604
604
  });
605
605
  function ia(e, t, a, r) {
606
606
  var o = ta(e), i = ta(t);
607
- function l(s, p) {
608
- return Ft(s, p, a.slice(), r.slice());
607
+ function l(s, g) {
608
+ return Ft(s, g, a.slice(), r.slice());
609
609
  }
610
- return !It(function(s, p) {
611
- return !It(l, p, s);
610
+ return !Pt(function(s, g) {
611
+ return !Pt(l, g, s);
612
612
  }, i, o);
613
613
  }
614
614
  function Ft(e, t, a, r) {
615
- if (kt(e, t))
615
+ if (_t(e, t))
616
616
  return !0;
617
- var o = Pt(e);
618
- if (o !== Pt(t))
617
+ var o = Nt(e);
618
+ if (o !== Nt(t))
619
619
  return !1;
620
620
  if (typeof e["fantasy-land/equals"] == "function" || typeof t["fantasy-land/equals"] == "function")
621
621
  return typeof e["fantasy-land/equals"] == "function" && e["fantasy-land/equals"](t) && typeof t["fantasy-land/equals"] == "function" && t["fantasy-land/equals"](e);
@@ -631,11 +631,11 @@ function Ft(e, t, a, r) {
631
631
  case "Boolean":
632
632
  case "Number":
633
633
  case "String":
634
- if (!(typeof e == typeof t && kt(e.valueOf(), t.valueOf())))
634
+ if (!(typeof e == typeof t && _t(e.valueOf(), t.valueOf())))
635
635
  return !1;
636
636
  break;
637
637
  case "Date":
638
- if (!kt(e.valueOf(), t.valueOf()))
638
+ if (!_t(e.valueOf(), t.valueOf()))
639
639
  return !1;
640
640
  break;
641
641
  case "Error":
@@ -681,16 +681,16 @@ function Ft(e, t, a, r) {
681
681
  var l = ye(e);
682
682
  if (l.length !== ye(t).length)
683
683
  return !1;
684
- var s = a.concat([e]), p = r.concat([t]);
684
+ var s = a.concat([e]), g = r.concat([t]);
685
685
  for (i = l.length - 1; i >= 0; ) {
686
- var u = l[i];
687
- if (!(X(u, t) && Ft(t[u], e[u], s, p)))
686
+ var b = l[i];
687
+ if (!(X(b, t) && Ft(t[b], e[b], s, g)))
688
688
  return !1;
689
689
  i -= 1;
690
690
  }
691
691
  return !0;
692
692
  }
693
- var ct = /* @__PURE__ */ F(function(t, a) {
693
+ var dt = /* @__PURE__ */ F(function(t, a) {
694
694
  return Ft(t, a, [], []);
695
695
  });
696
696
  function Oa(e, t, a) {
@@ -725,7 +725,7 @@ function Oa(e, t, a) {
725
725
  return e.indexOf(t, a);
726
726
  }
727
727
  for (; a < e.length; ) {
728
- if (ct(e[a], t))
728
+ if (dt(e[a], t))
729
729
  return a;
730
730
  a += 1;
731
731
  }
@@ -739,7 +739,7 @@ function qe(e, t) {
739
739
  o[a] = e(t[a]), a += 1;
740
740
  return o;
741
741
  }
742
- function _t(e) {
742
+ function zt(e) {
743
743
  var t = e.replace(/\\/g, "\\\\").replace(/[\b]/g, "\\b").replace(/\f/g, "\\f").replace(/\n/g, "\\n").replace(/\r/g, "\\r").replace(/\t/g, "\\t").replace(/\v/g, "\\v").replace(/\0/g, "\\0");
744
744
  return '"' + t.replace(/"/g, '\\"') + '"';
745
745
  }
@@ -788,7 +788,7 @@ var Gt = /* @__PURE__ */ F(/* @__PURE__ */ Rt(["fantasy-land/filter", "filter"],
788
788
  // else
789
789
  Ra(e, t)
790
790
  );
791
- })), dt = /* @__PURE__ */ F(function(t, a) {
791
+ })), pt = /* @__PURE__ */ F(function(t, a) {
792
792
  return Gt(zo(t), a);
793
793
  });
794
794
  function Ga(e, t) {
@@ -797,20 +797,20 @@ function Ga(e, t) {
797
797
  return ko(l, s) ? "<Circular>" : Ga(l, s);
798
798
  }, r = function(i, l) {
799
799
  return qe(function(s) {
800
- return _t(s) + ": " + a(i[s]);
800
+ return zt(s) + ": " + a(i[s]);
801
801
  }, l.slice().sort());
802
802
  };
803
803
  switch (Object.prototype.toString.call(e)) {
804
804
  case "[object Arguments]":
805
805
  return "(function() { return arguments; }(" + qe(a, e).join(", ") + "))";
806
806
  case "[object Array]":
807
- return "[" + qe(a, e).concat(r(e, dt(function(i) {
807
+ return "[" + qe(a, e).concat(r(e, pt(function(i) {
808
808
  return /^\d+$/.test(i);
809
809
  }, ye(e)))).join(", ") + "]";
810
810
  case "[object Boolean]":
811
811
  return typeof e == "object" ? "new Boolean(" + a(e.valueOf()) + ")" : e.toString();
812
812
  case "[object Date]":
813
- return "new Date(" + (isNaN(e.valueOf()) ? a(NaN) : _t(_o(e))) + ")";
813
+ return "new Date(" + (isNaN(e.valueOf()) ? a(NaN) : zt(_o(e))) + ")";
814
814
  case "[object Map]":
815
815
  return "new Map(" + a(Array.from(e)) + ")";
816
816
  case "[object Null]":
@@ -820,7 +820,7 @@ function Ga(e, t) {
820
820
  case "[object Set]":
821
821
  return "new Set(" + a(Array.from(e).sort()) + ")";
822
822
  case "[object String]":
823
- return typeof e == "object" ? "new String(" + a(e.valueOf()) + ")" : _t(e);
823
+ return typeof e == "object" ? "new String(" + a(e.valueOf()) + ")" : zt(e);
824
824
  case "[object Undefined]":
825
825
  return "undefined";
826
826
  default:
@@ -859,21 +859,21 @@ var Io = /* @__PURE__ */ M(function(t) {
859
859
  return qe(t, a);
860
860
  }
861
861
  }));
862
- const pt = Number.isInteger || function(t) {
862
+ const gt = Number.isInteger || function(t) {
863
863
  return t << 0 === t;
864
864
  };
865
- function gt(e) {
865
+ function ut(e) {
866
866
  return Object.prototype.toString.call(e) === "[object String]";
867
867
  }
868
- function ut(e, t) {
868
+ function bt(e, t) {
869
869
  var a = e < 0 ? t.length + e : e;
870
- return gt(t) ? t.charAt(a) : t[a];
870
+ return ut(t) ? t.charAt(a) : t[a];
871
871
  }
872
872
  var q = /* @__PURE__ */ F(function(t, a) {
873
873
  if (a != null)
874
- return pt(t) ? ut(t, a) : a[t];
874
+ return gt(t) ? bt(t, a) : a[t];
875
875
  }), $o = /* @__PURE__ */ M(function(t) {
876
- return Ae(t) ? !0 : !t || typeof t != "object" || gt(t) ? !1 : t.length === 0 ? !0 : t.length > 0 ? t.hasOwnProperty(0) && t.hasOwnProperty(t.length - 1) : !1;
876
+ return Ae(t) ? !0 : !t || typeof t != "object" || ut(t) ? !1 : t.length === 0 ? !0 : t.length > 0 ? t.hasOwnProperty(0) && t.hasOwnProperty(t.length - 1) : !1;
877
877
  }), na = typeof Symbol < "u" ? Symbol.iterator : "@@iterator";
878
878
  function Ao(e, t, a) {
879
879
  return function(o, i, l) {
@@ -903,7 +903,7 @@ function Lo(e, t, a) {
903
903
  return e["@@transducer/result"](t);
904
904
  }
905
905
  var Co = /* @__PURE__ */ F(function(t, a) {
906
- return st(t.length, function() {
906
+ return ct(t.length, function() {
907
907
  return t.apply(a, arguments);
908
908
  });
909
909
  });
@@ -946,7 +946,7 @@ var Ro = /* @__PURE__ */ Y(function(e, t, a) {
946
946
  return o < i ? -1 : o > i ? 1 : 0;
947
947
  });
948
948
  function Fo(e, t, a) {
949
- if (pt(e) && Ae(a)) {
949
+ if (gt(e) && Ae(a)) {
950
950
  var r = [].concat(a);
951
951
  return r[e] = t, r;
952
952
  }
@@ -962,7 +962,7 @@ var Go = /* @__PURE__ */ M(function(t) {
962
962
  return a;
963
963
  var o = t[0];
964
964
  if (t.length > 1) {
965
- var i = !Go(r) && X(o, r) && typeof r[o] == "object" ? r[o] : pt(t[1]) ? [] : {};
965
+ var i = !Go(r) && X(o, r) && typeof r[o] == "object" ? r[o] : gt(t[1]) ? [] : {};
966
966
  a = e(Array.prototype.slice.call(t, 1), a, i);
967
967
  }
968
968
  return Fo(o, a, r);
@@ -976,7 +976,7 @@ function Ko(e) {
976
976
  function Uo(e) {
977
977
  return new RegExp(e.source, e.flags ? e.flags : (e.global ? "g" : "") + (e.ignoreCase ? "i" : "") + (e.multiline ? "m" : "") + (e.sticky ? "y" : "") + (e.unicode ? "u" : "") + (e.dotAll ? "s" : ""));
978
978
  }
979
- function bt(e, t, a) {
979
+ function mt(e, t, a) {
980
980
  if (a || (a = new Vo()), Bo(e))
981
981
  return e;
982
982
  var r = function(i) {
@@ -985,10 +985,10 @@ function bt(e, t, a) {
985
985
  return l;
986
986
  a.set(e, i);
987
987
  for (var s in e)
988
- Object.prototype.hasOwnProperty.call(e, s) && (i[s] = t ? bt(e[s], !0, a) : e[s]);
988
+ Object.prototype.hasOwnProperty.call(e, s) && (i[s] = t ? mt(e[s], !0, a) : e[s]);
989
989
  return i;
990
990
  };
991
- switch (Pt(e)) {
991
+ switch (Nt(e)) {
992
992
  case "Object":
993
993
  return r(Object.create(Object.getPrototypeOf(e)));
994
994
  case "Array":
@@ -1048,7 +1048,7 @@ var Vo = /* @__PURE__ */ function() {
1048
1048
  }
1049
1049
  }, e;
1050
1050
  }(), qo = /* @__PURE__ */ M(function(t) {
1051
- return t != null && typeof t.clone == "function" ? t.clone() : bt(t, !0);
1051
+ return t != null && typeof t.clone == "function" ? t.clone() : mt(t, !0);
1052
1052
  });
1053
1053
  function Wo(e, t) {
1054
1054
  return function() {
@@ -1070,10 +1070,10 @@ var Yo = /* @__PURE__ */ Y(/* @__PURE__ */ Dt("slice", function(t, a, r) {
1070
1070
  function Ua() {
1071
1071
  if (arguments.length === 0)
1072
1072
  throw new Error("pipe requires at least one argument");
1073
- return st(arguments[0].length, Ro(Wo, arguments[0], Ho(arguments)));
1073
+ return ct(arguments[0].length, Ro(Wo, arguments[0], Ho(arguments)));
1074
1074
  }
1075
1075
  var Ba = /* @__PURE__ */ M(function(t) {
1076
- return gt(t) ? t.split("").reverse().join("") : Array.prototype.slice.call(t, 0).reverse();
1076
+ return ut(t) ? t.split("").reverse().join("") : Array.prototype.slice.call(t, 0).reverse();
1077
1077
  });
1078
1078
  function ae() {
1079
1079
  if (arguments.length === 0)
@@ -1081,7 +1081,7 @@ function ae() {
1081
1081
  return Ua.apply(this, Ba(arguments));
1082
1082
  }
1083
1083
  var fe = /* @__PURE__ */ M(function(e) {
1084
- return ut(0, e);
1084
+ return bt(0, e);
1085
1085
  }), Jo = /* @__PURE__ */ function() {
1086
1086
  function e(t, a, r, o) {
1087
1087
  this.valueFn = t, this.valueAcc = a, this.keyFn = r, this.xf = o, this.inputs = {};
@@ -1096,7 +1096,7 @@ var fe = /* @__PURE__ */ M(function(e) {
1096
1096
  return this.inputs = null, this.xf["@@transducer/result"](t);
1097
1097
  }, e.prototype["@@transducer/step"] = function(t, a) {
1098
1098
  var r = this.keyFn(a);
1099
- return this.inputs[r] = this.inputs[r] || [r, bt(this.valueAcc, !1)], this.inputs[r][1] = this.valueFn(this.inputs[r][1], a), t;
1099
+ return this.inputs[r] = this.inputs[r] || [r, mt(this.valueAcc, !1)], this.inputs[r][1] = this.valueFn(this.inputs[r][1], a), t;
1100
1100
  }, e;
1101
1101
  }();
1102
1102
  function Xo(e, t, a) {
@@ -1106,22 +1106,22 @@ function Xo(e, t, a) {
1106
1106
  }
1107
1107
  var Va = /* @__PURE__ */ jt(4, [], /* @__PURE__ */ Rt([], Xo, function(t, a, r, o) {
1108
1108
  var i = Da(function(l, s) {
1109
- var p = r(s), u = t(X(p, l) ? l[p] : bt(a, !1), s);
1110
- return u && u["@@transducer/reduced"] ? ho(l) : (l[p] = u, l);
1109
+ var g = r(s), b = t(X(g, l) ? l[g] : mt(a, !1), s);
1110
+ return b && b["@@transducer/reduced"] ? ho(l) : (l[g] = b, l);
1111
1111
  });
1112
1112
  return Ma(i, {}, o);
1113
1113
  })), Pe = /* @__PURE__ */ Y(function(t, a, r) {
1114
1114
  var o = t(a), i = t(r);
1115
1115
  return o > i ? -1 : o < i ? 1 : 0;
1116
1116
  }), qa = /* @__PURE__ */ M(function(e) {
1117
- return ut(-1, e);
1117
+ return bt(-1, e);
1118
1118
  });
1119
1119
  function Qo(e) {
1120
1120
  var t = Object.prototype.toString.call(e);
1121
1121
  return t === "[object Uint8ClampedArray]" || t === "[object Int8Array]" || t === "[object Uint8Array]" || t === "[object Int16Array]" || t === "[object Uint16Array]" || t === "[object Int32Array]" || t === "[object Uint32Array]" || t === "[object Float32Array]" || t === "[object Float64Array]" || t === "[object BigInt64Array]" || t === "[object BigUint64Array]";
1122
1122
  }
1123
1123
  var Zo = /* @__PURE__ */ M(function(t) {
1124
- return t != null && typeof t["fantasy-land/empty"] == "function" ? t["fantasy-land/empty"]() : t != null && t.constructor != null && typeof t.constructor["fantasy-land/empty"] == "function" ? t.constructor["fantasy-land/empty"]() : t != null && typeof t.empty == "function" ? t.empty() : t != null && t.constructor != null && typeof t.constructor.empty == "function" ? t.constructor.empty() : Ae(t) ? [] : gt(t) ? "" : Fa(t) ? {} : Ea(t) ? /* @__PURE__ */ function() {
1124
+ return t != null && typeof t["fantasy-land/empty"] == "function" ? t["fantasy-land/empty"]() : t != null && t.constructor != null && typeof t.constructor["fantasy-land/empty"] == "function" ? t.constructor["fantasy-land/empty"]() : t != null && typeof t.empty == "function" ? t.empty() : t != null && t.constructor != null && typeof t.constructor.empty == "function" ? t.constructor.empty() : Ae(t) ? [] : ut(t) ? "" : Fa(t) ? {} : Ea(t) ? /* @__PURE__ */ function() {
1125
1125
  return arguments;
1126
1126
  }() : Qo(t) ? t.constructor.from("") : void 0;
1127
1127
  }), ei = /* @__PURE__ */ F(/* @__PURE__ */ Dt("groupBy", /* @__PURE__ */ Va(function(e, t) {
@@ -1132,7 +1132,7 @@ var Zo = /* @__PURE__ */ M(function(t) {
1132
1132
  return typeof a.indexOf == "function" && !Ae(a) ? a.indexOf(t) : Oa(a, t, 0);
1133
1133
  }), ai = /* @__PURE__ */ Y(function(t, a, r) {
1134
1134
  return Ra(function(o) {
1135
- return It(t, o, r);
1135
+ return Pt(t, o, r);
1136
1136
  }, a);
1137
1137
  });
1138
1138
  function ri(e) {
@@ -1156,7 +1156,7 @@ var Wa = /* @__PURE__ */ F(function(t, a) {
1156
1156
  throw new TypeError(Io(r) + ' does not have a method named "' + a + '"');
1157
1157
  });
1158
1158
  }), ii = /* @__PURE__ */ M(function(t) {
1159
- return t != null && ct(t, Zo(t));
1159
+ return t != null && dt(t, Zo(t));
1160
1160
  }), ni = /* @__PURE__ */ Wa(1, "join"), li = /* @__PURE__ */ F(function(t, a) {
1161
1161
  return function(r) {
1162
1162
  return function(o) {
@@ -1171,7 +1171,7 @@ function Ya(e, t) {
1171
1171
  if (a == null)
1172
1172
  return;
1173
1173
  var o = e[r];
1174
- pt(o) ? a = ut(o, a) : a = a[o];
1174
+ gt(o) ? a = bt(o, a) : a = a[o];
1175
1175
  }
1176
1176
  return a;
1177
1177
  }
@@ -1209,16 +1209,16 @@ var si = /* @__PURE__ */ M(function(t) {
1209
1209
  return Ha(a(o));
1210
1210
  })(r).value;
1211
1211
  }), Ge = /* @__PURE__ */ F(Ya), ui = /* @__PURE__ */ Y(function(t, a, r) {
1212
- return ct(Ya(a, r), t);
1212
+ return dt(Ya(a, r), t);
1213
1213
  }), oe = /* @__PURE__ */ F(function(t, a) {
1214
1214
  for (var r = {}, o = 0; o < t.length; )
1215
1215
  t[o] in a && (r[t[o]] = a[t[o]]), o += 1;
1216
1216
  return r;
1217
1217
  }), Ja = /* @__PURE__ */ Y(function(t, a, r) {
1218
- return ct(t, q(a, r));
1218
+ return dt(t, q(a, r));
1219
1219
  }), bi = /* @__PURE__ */ Y(function(t, a, r) {
1220
1220
  return r.replace(t, a);
1221
- }), mt = /* @__PURE__ */ F(function(t, a) {
1221
+ }), vt = /* @__PURE__ */ F(function(t, a) {
1222
1222
  return Array.prototype.slice.call(a, 0).sort(t);
1223
1223
  }), Me = /* @__PURE__ */ F(function(t, a) {
1224
1224
  return Array.prototype.slice.call(a, 0).sort(function(r, o) {
@@ -1232,26 +1232,26 @@ var si = /* @__PURE__ */ M(function(t) {
1232
1232
  return i;
1233
1233
  });
1234
1234
  }), vi = /* @__PURE__ */ Wa(0, "toUpperCase");
1235
- function vt(e, t) {
1235
+ function ht(e, t) {
1236
1236
  if (e.length === 0)
1237
1237
  throw new xa(Ze.message, Ze.options);
1238
1238
  t.seasons = wi(e), t.championshipId || (t.championshipId = fe(t.seasons).championshipId);
1239
1239
  }
1240
1240
  function hi(e, t) {
1241
1241
  const a = (r) => ["Rájátszás", "Újrajátszandó"].includes(r.phaseName);
1242
- t.sections = ae(dt(a), Ge([0, "phases"]))(e), t.section = ae(q("phaseName"), fe)(t.sections);
1242
+ t.sections = ae(pt(a), Ge([0, "phases"]))(e), t.section = ae(q("phaseName"), fe)(t.sections);
1243
1243
  }
1244
1244
  function fi(e, t) {
1245
1245
  t.sections = [...e], t.section || (t.section = ae(q("name"), qa)(t.sections));
1246
1246
  }
1247
1247
  function Xa(e) {
1248
- return mt(Mt(q("teamName")), e);
1248
+ return vt(Mt(q("teamName")), e);
1249
1249
  }
1250
1250
  function yi(e, t) {
1251
1251
  t.teams = Xa(e);
1252
1252
  }
1253
1253
  function wi(e) {
1254
- return ae(mt(Pe(q("seasonName"))), me(oe(["championshipId", "seasonName"])))(e);
1254
+ return ae(vt(Pe(q("seasonName"))), me(oe(["championshipId", "seasonName"])))(e);
1255
1255
  }
1256
1256
  const Qa = {
1257
1257
  jerseyNr: {
@@ -1296,7 +1296,7 @@ const Qa = {
1296
1296
  class: "is-text-right",
1297
1297
  sortOrders: [{ target: "birthPlace", direction: Ce }]
1298
1298
  }
1299
- }, Nt = {
1299
+ }, $t = {
1300
1300
  gameDateDate: {
1301
1301
  label: "table.gameDate.short",
1302
1302
  tooltip: "table.gameDate.tooltip",
@@ -1528,7 +1528,7 @@ const Qa = {
1528
1528
  label: "table.pimPerGame.short",
1529
1529
  tooltip: "table.pimPerGame.tooltip"
1530
1530
  }
1531
- }, We = "games", zt = "seasons";
1531
+ }, We = "games", St = "seasons";
1532
1532
  function xi(e, t) {
1533
1533
  return {
1534
1534
  ...e,
@@ -1537,15 +1537,15 @@ function xi(e, t) {
1537
1537
  position: vi(e.position)
1538
1538
  };
1539
1539
  }
1540
- const ki = (e) => at(Ba(e), rt, ka(["mip"]));
1540
+ const ki = (e) => rt(Ba(e), ot, ka(["mip"]));
1541
1541
  function _i(e, t) {
1542
- return dt(Ja(e, "championshipId"))(t);
1542
+ return pt(Ja(e, "championshipId"))(t);
1543
1543
  }
1544
1544
  function zi(e, t) {
1545
1545
  return Gt(Ja(e, "championshipId"))(t);
1546
1546
  }
1547
1547
  function Si(e, t, a, r) {
1548
- return at(Ct(e), _a(r, a), za, Sa(t.teamId), Ta);
1548
+ return rt(Ct(e), _a(r, a), za, Sa(t.teamId), Ta);
1549
1549
  }
1550
1550
  const Ti = "/v2/player-season-stats", Ii = "/v2/goalie-season-stats", Pi = "/v2/player-games", Ni = "/v2/goalie-games", $i = {
1551
1551
  __name: "DataProvider",
@@ -1568,7 +1568,7 @@ const Ti = "/v2/player-season-stats", Ii = "/v2/goalie-season-stats", Pi = "/v2/
1568
1568
  }
1569
1569
  },
1570
1570
  setup(e) {
1571
- const t = e, a = ot(), r = Te("history"), o = Z({
1571
+ const t = e, a = it(), r = Te("history"), o = Z({
1572
1572
  playerId: Number(r.playerId) || Number(t.playerId),
1573
1573
  championshipId: Number(r.championshipId) || Number(t.championshipId),
1574
1574
  seasonApi: Ti,
@@ -1586,11 +1586,11 @@ const Ti = "/v2/player-season-stats", Ii = "/v2/goalie-season-stats", Pi = "/v2/
1586
1586
  onError: i,
1587
1587
  onSuccess: (T) => {
1588
1588
  const { position: C } = T;
1589
- C.toLowerCase() === "gk" && (o.seasonApi = Ii, o.gamesApi = Ni, o.isGoalie = !0), y();
1589
+ C.toLowerCase() === "gk" && (o.seasonApi = Ii, o.gamesApi = Ni, o.isGoalie = !0), f();
1590
1590
  }
1591
1591
  }), {
1592
- state: p,
1593
- isLoading: u,
1592
+ state: g,
1593
+ isLoading: b,
1594
1594
  execute: v
1595
1595
  } = D({
1596
1596
  options: {
@@ -1602,9 +1602,9 @@ const Ti = "/v2/player-season-stats", Ii = "/v2/goalie-season-stats", Pi = "/v2/
1602
1602
  transform: (T) => ki(T),
1603
1603
  onError: i
1604
1604
  }), {
1605
- state: f,
1605
+ state: y,
1606
1606
  isLoading: m,
1607
- execute: g
1607
+ execute: p
1608
1608
  } = D({
1609
1609
  options: {
1610
1610
  path: _(() => o.gamesApi),
@@ -1615,10 +1615,10 @@ const Ti = "/v2/player-season-stats", Ii = "/v2/goalie-season-stats", Pi = "/v2/
1615
1615
  transform: (T) => Si(T, o, t.locale, a),
1616
1616
  onError: i
1617
1617
  }), z = _(
1618
- () => _i(o.championshipId, p.value)
1619
- ), w = _(
1620
- () => zi(o.championshipId, p.value)
1621
- ), N = _(
1618
+ () => _i(o.championshipId, g.value)
1619
+ ), P = _(
1620
+ () => zi(o.championshipId, g.value)
1621
+ ), k = _(
1622
1622
  () => o.isGoalie ? oe(
1623
1623
  ["teamName", "gkd", "gpi", "mipMin", "mipPercent", "ga", "gaa", "sog", "svs", "svsPercent"],
1624
1624
  Ne
@@ -1681,7 +1681,7 @@ const Ti = "/v2/player-season-stats", Ii = "/v2/goalie-season-stats", Pi = "/v2/
1681
1681
  "gaa",
1682
1682
  "svsPercent"
1683
1683
  ],
1684
- Nt
1684
+ $t
1685
1685
  ) : oe(
1686
1686
  [
1687
1687
  "gameDateDate",
@@ -1699,11 +1699,11 @@ const Ti = "/v2/player-season-stats", Ii = "/v2/goalie-season-stats", Pi = "/v2/
1699
1699
  "shotPercent",
1700
1700
  "pim"
1701
1701
  ],
1702
- Nt
1702
+ $t
1703
1703
  )
1704
1704
  );
1705
- function y() {
1706
- te([v, g]);
1705
+ function f() {
1706
+ te([v, p]);
1707
1707
  }
1708
1708
  function S(T) {
1709
1709
  o.pane = T;
@@ -1711,14 +1711,14 @@ const Ti = "/v2/player-season-stats", Ii = "/v2/goalie-season-stats", Pi = "/v2/
1711
1711
  return (T, C) => xe(T.$slots, "default", ke(_e({
1712
1712
  pane: o.pane,
1713
1713
  isLoadingPlayerData: n(s),
1714
- isPlayerSeasonsLoading: n(u),
1714
+ isPlayerSeasonsLoading: n(b),
1715
1715
  isGamesLoading: n(m),
1716
1716
  playerData: n(l),
1717
- playerGames: n(f),
1717
+ playerGames: n(y),
1718
1718
  playerSeasonStats: z.value,
1719
- currentSeasonStats: w.value,
1719
+ currentSeasonStats: P.value,
1720
1720
  gameColumns: L.value,
1721
- currentSeasonColumns: N.value,
1721
+ currentSeasonColumns: k.value,
1722
1722
  seasonColumns: A.value,
1723
1723
  onChangePane: S
1724
1724
  })));
@@ -1764,14 +1764,14 @@ const Ti = "/v2/player-season-stats", Ii = "/v2/goalie-season-stats", Pi = "/v2/
1764
1764
  setup(e) {
1765
1765
  const { t } = Q();
1766
1766
  return (a, r) => (d(), $(n(ie), null, {
1767
- default: k(() => [
1768
- x(n(ce), {
1767
+ default: x(() => [
1768
+ w(n(ce), {
1769
1769
  rows: e.rows,
1770
1770
  columns: e.columns,
1771
1771
  "is-loading": e.isLoading,
1772
1772
  "append-to": e.appendTo
1773
1773
  }, {
1774
- "cell-resultType": k(({ row: o }) => [
1774
+ "cell-resultType": x(({ row: o }) => [
1775
1775
  c("span", {
1776
1776
  class: G(["is-badge", [
1777
1777
  {
@@ -1780,31 +1780,31 @@ const Ti = "/v2/player-season-stats", Ii = "/v2/goalie-season-stats", Pi = "/v2/
1780
1780
  "is-yellow": o.resultType === "D"
1781
1781
  }
1782
1782
  ]])
1783
- }, b(o.resultType), 3)
1783
+ }, u(o.resultType), 3)
1784
1784
  ]),
1785
- "cell-teamName": k(({ row: o }) => {
1785
+ "cell-teamName": x(({ row: o }) => {
1786
1786
  var i, l;
1787
1787
  return [
1788
- c("span", Ai, b((i = o.team) == null ? void 0 : i.longName), 1),
1789
- c("span", Li, b((l = o.team) == null ? void 0 : l.shortName), 1)
1788
+ c("span", Ai, u((i = o.team) == null ? void 0 : i.longName), 1),
1789
+ c("span", Li, u((l = o.team) == null ? void 0 : l.shortName), 1)
1790
1790
  ];
1791
1791
  }),
1792
- "cell-gameResult": k(({ row: o }) => [
1792
+ "cell-gameResult": x(({ row: o }) => [
1793
1793
  o.gameStatus === 0 ? (d(), h("span", Ci, "-:-")) : (d(), h("a", {
1794
1794
  key: 1,
1795
1795
  href: e.gameResolver(o),
1796
1796
  class: G({ "is-text-dark": o.gameStatus !== 1, "is-text-accent": o.gameStatus === 1 })
1797
- }, b(o.gameResult), 11, Ei))
1797
+ }, u(o.gameResult), 11, Ei))
1798
1798
  ]),
1799
- "cell-gameResultType": k(({ row: o }) => [
1800
- o.isOvertime ? (d(), h("span", Oi, b(n(t)("common.overtimeShort")), 1)) : I("", !0),
1801
- o.isShootout ? (d(), h("span", ji, b(n(t)("common.shootoutShort")), 1)) : I("", !0)
1799
+ "cell-gameResultType": x(({ row: o }) => [
1800
+ o.isOvertime ? (d(), h("span", Oi, u(n(t)("common.overtimeShort")), 1)) : I("", !0),
1801
+ o.isShootout ? (d(), h("span", ji, u(n(t)("common.shootoutShort")), 1)) : I("", !0)
1802
1802
  ]),
1803
- "cell-powerplay": k(({ row: o }) => [
1804
- W(b(o.adv) + " / " + b(o.ppgf), 1)
1803
+ "cell-powerplay": x(({ row: o }) => [
1804
+ W(u(o.adv) + " / " + u(o.ppgf), 1)
1805
1805
  ]),
1806
- "cell-penaltyKilling": k(({ row: o }) => [
1807
- W(b(o.dvg) + " / " + b(o.pk), 1)
1806
+ "cell-penaltyKilling": x(({ row: o }) => [
1807
+ W(u(o.dvg) + " / " + u(o.pk), 1)
1808
1808
  ]),
1809
1809
  _: 1
1810
1810
  }, 8, ["rows", "columns", "is-loading", "append-to"])
@@ -1845,7 +1845,7 @@ const Ti = "/v2/player-season-stats", Ii = "/v2/goalie-season-stats", Pi = "/v2/
1845
1845
  _(() => t.columns),
1846
1846
  null,
1847
1847
  _(() => ({ offsetName: Et(/* @__PURE__ */ new Date(), null, "hu") }))
1848
- ), r = (o) => it(t.gameResolver, o);
1848
+ ), r = (o) => nt(t.gameResolver, o);
1849
1849
  return (o, i) => (d(), $(Za, {
1850
1850
  rows: e.rows,
1851
1851
  columns: n(a),
@@ -1875,41 +1875,41 @@ const Ti = "/v2/player-season-stats", Ii = "/v2/goalie-season-stats", Pi = "/v2/
1875
1875
  var o, i, l;
1876
1876
  return n(ii)(e.data) ? I("", !0) : (d(), h("div", Fi, [
1877
1877
  r[0] || (Wt(-1, !0), (r[0] = c("h2", { class: "is-heading-2" }, [
1878
- W(b(e.data.name) + " ", 1),
1879
- c("span", Gi, "#" + b(e.data.jerseyNr), 1)
1878
+ W(u(e.data.name) + " ", 1),
1879
+ c("span", Gi, "#" + u(e.data.jerseyNr), 1)
1880
1880
  ])).cacheIndex = 0, Wt(1), r[0]),
1881
1881
  c("div", Mi, [
1882
- W(b(e.data.birthDate) + " (" + b(n(t)("players.age", { years: e.data.age })) + ") /  ", 1),
1882
+ W(u(e.data.birthDate) + " (" + u(n(t)("players.age", { years: e.data.age })) + ") /  ", 1),
1883
1883
  (d(!0), h(O, null, U(e.data.player.nationality, (s) => (d(), $(n(ha), {
1884
1884
  key: s,
1885
1885
  placement: "top",
1886
1886
  content: n(t)(`nationality.${s}`),
1887
1887
  "append-to": e.appendTo
1888
1888
  }, {
1889
- default: k(({ setRef: p, show: u, hide: v }) => [
1889
+ default: x(({ setRef: g, show: b, hide: v }) => [
1890
1890
  c("span", {
1891
1891
  ref_for: !0,
1892
- ref: p,
1892
+ ref: g,
1893
1893
  class: "is-rounded",
1894
- onMouseenter: u,
1894
+ onMouseenter: b,
1895
1895
  onMouseleave: v,
1896
- onFocus: u,
1896
+ onFocus: b,
1897
1897
  onBlur: v
1898
1898
  }, [
1899
- x(n(V), {
1899
+ w(n(V), {
1900
1900
  src: n(Ia)(s)
1901
1901
  }, null, 8, ["src"])
1902
1902
  ], 40, Di)
1903
1903
  ]),
1904
1904
  _: 2
1905
1905
  }, 1032, ["content", "append-to"]))), 128)),
1906
- W("  " + b(e.data.birthPlace) + " / " + b(e.data.position) + " /  ", 1),
1906
+ W("  " + u(e.data.birthPlace) + " / " + u(e.data.position) + " /  ", 1),
1907
1907
  (d(), $(n(V), {
1908
1908
  key: (o = e.data.team) == null ? void 0 : o.id,
1909
1909
  class: "is-logo-image is-w-7",
1910
1910
  src: (i = e.data.team) == null ? void 0 : i.logo
1911
1911
  }, null, 8, ["src"])),
1912
- W(" " + b((l = e.data.team) == null ? void 0 : l.longName), 1)
1912
+ W(" " + u((l = e.data.team) == null ? void 0 : l.longName), 1)
1913
1913
  ])
1914
1914
  ]));
1915
1915
  };
@@ -1937,8 +1937,8 @@ const Ti = "/v2/player-season-stats", Ii = "/v2/goalie-season-stats", Pi = "/v2/
1937
1937
  setup(e) {
1938
1938
  const t = e, { columns: a } = ee(_(() => t.columns));
1939
1939
  return (r, o) => (d(), $(n(ie), null, {
1940
- default: k(() => [
1941
- x(n(ce), {
1940
+ default: x(() => [
1941
+ w(n(ce), {
1942
1942
  rows: e.rows,
1943
1943
  columns: n(a),
1944
1944
  "append-to": e.appendTo
@@ -1972,10 +1972,10 @@ const Ti = "/v2/player-season-stats", Ii = "/v2/goalie-season-stats", Pi = "/v2/
1972
1972
  return (r, o) => {
1973
1973
  var i;
1974
1974
  return d(), h(O, null, [
1975
- c("h2", Bi, b(((i = e.rows[0]) == null ? void 0 : i.season) ?? ""), 1),
1976
- x(n(ie), null, {
1977
- default: k(() => [
1978
- x(n(ce), {
1975
+ c("h2", Bi, u(((i = e.rows[0]) == null ? void 0 : i.season) ?? ""), 1),
1976
+ w(n(ie), null, {
1977
+ default: x(() => [
1978
+ w(n(ce), {
1979
1979
  rows: e.rows,
1980
1980
  columns: n(a),
1981
1981
  "is-loading": e.isLoading,
@@ -2026,39 +2026,39 @@ const Ti = "/v2/player-season-stats", Ii = "/v2/goalie-season-stats", Pi = "/v2/
2026
2026
  setup(e) {
2027
2027
  const t = e, a = { en: ue, hu: be }, r = K(null);
2028
2028
  return (o, i) => (d(), h("div", Ji, [
2029
- x(n(pe), {
2029
+ w(n(pe), {
2030
2030
  locale: t.locale,
2031
2031
  messages: a
2032
2032
  }, {
2033
- default: k(({ t: l }) => [
2034
- x(n(ze), null, {
2035
- default: k(({ error: s, hasError: p }) => [
2036
- p ? (d(), $(n(Se), {
2033
+ default: x(({ t: l }) => [
2034
+ w(n(ze), null, {
2035
+ default: x(({ error: s, hasError: g }) => [
2036
+ g ? (d(), $(n(Se), {
2037
2037
  key: 0,
2038
2038
  error: s
2039
2039
  }, null, 8, ["error"])) : I("", !0),
2040
- x($i, {
2040
+ w($i, {
2041
2041
  "api-key": t.apiKey,
2042
2042
  locale: e.locale,
2043
2043
  "championship-id": e.championshipId,
2044
2044
  "player-id": t.playerId
2045
2045
  }, {
2046
- default: k(({
2047
- pane: u,
2046
+ default: x(({
2047
+ pane: b,
2048
2048
  isGamesLoading: v,
2049
- isPlayerSeasonsLoading: f,
2049
+ isPlayerSeasonsLoading: y,
2050
2050
  playerData: m,
2051
- playerGames: g,
2051
+ playerGames: p,
2052
2052
  playerSeasonStats: z,
2053
- currentSeasonStats: w,
2054
- gameColumns: N,
2053
+ currentSeasonStats: P,
2054
+ gameColumns: k,
2055
2055
  seasonColumns: A,
2056
2056
  currentSeasonColumns: L,
2057
- onChangePane: y
2057
+ onChangePane: f
2058
2058
  }) => {
2059
2059
  var S, T, C;
2060
2060
  return [
2061
- c("h1", Xi, b(m.name), 1),
2061
+ c("h1", Xi, u(m.name), 1),
2062
2062
  c("div", Qi, [
2063
2063
  c("div", Zi, [
2064
2064
  (d(), $(n(V), {
@@ -2074,37 +2074,37 @@ const Ti = "/v2/player-season-stats", Ii = "/v2/goalie-season-stats", Pi = "/v2/
2074
2074
  }, null, 8, ["src"]))
2075
2075
  ])
2076
2076
  ]),
2077
- x(Ki, {
2077
+ w(Ki, {
2078
2078
  data: m,
2079
2079
  "append-to": r.value
2080
2080
  }, null, 8, ["data", "append-to"]),
2081
- x(Vi, {
2082
- rows: w,
2081
+ w(Vi, {
2082
+ rows: P,
2083
2083
  columns: L,
2084
- "is-loading": f,
2084
+ "is-loading": y,
2085
2085
  "append-to": r.value
2086
2086
  }, null, 8, ["rows", "columns", "is-loading", "append-to"]),
2087
2087
  c("div", tn, [
2088
2088
  c("button", {
2089
2089
  type: "button",
2090
- class: G(["tab-button", { "is-active": u === n(We) }]),
2091
- onClick: (H) => y(n(We))
2092
- }, b(l("players.games")), 11, an),
2090
+ class: G(["tab-button", { "is-active": b === n(We) }]),
2091
+ onClick: (H) => f(n(We))
2092
+ }, u(l("players.games")), 11, an),
2093
2093
  c("button", {
2094
2094
  type: "button",
2095
- class: G(["tab-button", { "is-active": u === n(zt) }]),
2096
- onClick: (H) => y(n(zt))
2097
- }, b(l("players.seasons")), 11, rn)
2095
+ class: G(["tab-button", { "is-active": b === n(St) }]),
2096
+ onClick: (H) => f(n(St))
2097
+ }, u(l("players.seasons")), 11, rn)
2098
2098
  ]),
2099
- u === n(We) ? (d(), $(Ri, {
2099
+ b === n(We) ? (d(), $(Ri, {
2100
2100
  key: 0,
2101
- rows: g,
2102
- columns: N,
2101
+ rows: p,
2102
+ columns: k,
2103
2103
  "is-loading": v,
2104
2104
  "append-to": r.value,
2105
2105
  "game-resolver": t.externalGameResolver
2106
2106
  }, null, 8, ["rows", "columns", "is-loading", "append-to", "game-resolver"])) : I("", !0),
2107
- u === n(zt) ? (d(), $(Ui, {
2107
+ b === n(St) ? (d(), $(Ui, {
2108
2108
  key: 1,
2109
2109
  rows: z,
2110
2110
  columns: A,
@@ -2165,9 +2165,9 @@ const Ti = "/v2/player-season-stats", Ii = "/v2/goalie-season-stats", Pi = "/v2/
2165
2165
  emits: ["sort"],
2166
2166
  setup(e, { emit: t }) {
2167
2167
  const a = e, r = t, { t: o } = Q(), { columns: i } = ee(a.columns), l = (s) => r("sort", s);
2168
- return (s, p) => (d(), $(n(ie), null, {
2169
- default: k(() => [
2170
- x(n(ce), {
2168
+ return (s, g) => (d(), $(n(ie), null, {
2169
+ default: x(() => [
2170
+ w(n(ce), {
2171
2171
  columns: n(i),
2172
2172
  rows: e.rows,
2173
2173
  "is-loading": e.isLoading,
@@ -2175,46 +2175,46 @@ const Ti = "/v2/player-season-stats", Ii = "/v2/goalie-season-stats", Pi = "/v2/
2175
2175
  sort: e.sort,
2176
2176
  onSort: l
2177
2177
  }, {
2178
- "cell-playerPortrait": k(({ row: u }) => [
2178
+ "cell-playerPortrait": x(({ row: b }) => [
2179
2179
  c("div", ln, [
2180
2180
  (d(), $(n(V), {
2181
- key: u.player.playerId,
2182
- src: u.player.picture,
2181
+ key: b.player.playerId,
2182
+ src: b.player.picture,
2183
2183
  "default-src": n(Ir)
2184
2184
  }, null, 8, ["src", "default-src"]))
2185
2185
  ])
2186
2186
  ]),
2187
- "cell-name": k(({ row: u }) => [
2187
+ "cell-name": x(({ row: b }) => [
2188
2188
  c("a", {
2189
- href: e.playerResolver({ ...u, championshipId: e.championshipId }),
2190
- textContent: b(u.name)
2189
+ href: e.playerResolver({ ...b, championshipId: e.championshipId }),
2190
+ textContent: u(b.name)
2191
2191
  }, null, 8, sn)
2192
2192
  ]),
2193
- "cell-teamName": k(({ row: u }) => [
2193
+ "cell-teamName": x(({ row: b }) => [
2194
2194
  c("a", {
2195
- href: e.teamResolver({ ...u, championshipId: e.championshipId }),
2196
- textContent: b(u.teamName)
2195
+ href: e.teamResolver({ ...b, championshipId: e.championshipId }),
2196
+ textContent: u(b.teamName)
2197
2197
  }, null, 8, cn)
2198
2198
  ]),
2199
- "cell-nationality": k(({ row: u }) => [
2199
+ "cell-nationality": x(({ row: b }) => [
2200
2200
  c("div", dn, [
2201
- (d(!0), h(O, null, U(u.nationalityCode, (v) => (d(), $(n(ha), {
2201
+ (d(!0), h(O, null, U(b.nationalityCode, (v) => (d(), $(n(ha), {
2202
2202
  key: v,
2203
2203
  placement: "top",
2204
2204
  content: n(o)(`nationality.${v}`),
2205
2205
  "append-to": e.appendTo
2206
2206
  }, {
2207
- default: k(({ setRef: f, show: m, hide: g }) => [
2207
+ default: x(({ setRef: y, show: m, hide: p }) => [
2208
2208
  c("div", {
2209
2209
  ref_for: !0,
2210
- ref: f,
2210
+ ref: y,
2211
2211
  class: "is-rounded is-w-5",
2212
2212
  onMouseenter: m,
2213
- onMouseleave: g,
2213
+ onMouseleave: p,
2214
2214
  onFocus: m,
2215
- onBlur: g
2215
+ onBlur: p
2216
2216
  }, [
2217
- x(n(V), {
2217
+ w(n(V), {
2218
2218
  src: n(Ia)(v)
2219
2219
  }, null, 8, ["src"])
2220
2220
  ], 40, pn)
@@ -2223,10 +2223,10 @@ const Ti = "/v2/player-season-stats", Ii = "/v2/goalie-season-stats", Pi = "/v2/
2223
2223
  }, 1032, ["content", "append-to"]))), 128))
2224
2224
  ])
2225
2225
  ]),
2226
- "cell-position": k(({ row: u }) => {
2226
+ "cell-position": x(({ row: b }) => {
2227
2227
  var v;
2228
2228
  return [
2229
- W(b((v = u.position) == null ? void 0 : v.toUpperCase()), 1)
2229
+ W(u((v = b.position) == null ? void 0 : v.toUpperCase()), 1)
2230
2230
  ];
2231
2231
  }),
2232
2232
  _: 1
@@ -2235,7 +2235,7 @@ const Ti = "/v2/player-season-stats", Ii = "/v2/goalie-season-stats", Pi = "/v2/
2235
2235
  _: 1
2236
2236
  }));
2237
2237
  }
2238
- }, gn = (e) => ae(Me(q("name")), me(ae(nt, rt)))(e), un = {
2238
+ }, gn = (e) => ae(Me(q("name")), me(ae(lt, ot)))(e), un = {
2239
2239
  __name: "DataProvider",
2240
2240
  props: {
2241
2241
  championshipName: {
@@ -2261,21 +2261,21 @@ const Ti = "/v2/player-season-stats", Ii = "/v2/goalie-season-stats", Pi = "/v2/
2261
2261
  seasons: [],
2262
2262
  championshipId: Number(a.championshipId) || 0,
2263
2263
  query: ""
2264
- }), { onError: o } = ge(), { page: i, change: l } = wa(), { sort: s, change: p } = At({
2264
+ }), { onError: o } = ge(), { page: i, change: l } = wa(), { sort: s, change: g } = At({
2265
2265
  sortTarget: "",
2266
2266
  orders: []
2267
- }), { isLoading: u, execute: v } = D({
2267
+ }), { isLoading: b, execute: v } = D({
2268
2268
  options: {
2269
2269
  path: "/v2/championship-seasons",
2270
2270
  apiKey: t.apiKey,
2271
2271
  params: { championshipName: r.championshipName }
2272
2272
  },
2273
- transform: (y) => vt(y, r),
2273
+ transform: (f) => ht(f, r),
2274
2274
  onError: o
2275
2275
  }), {
2276
- isLoading: f,
2276
+ isLoading: y,
2277
2277
  state: m,
2278
- execute: g
2278
+ execute: p
2279
2279
  } = D({
2280
2280
  options: {
2281
2281
  path: "/v2/championship-players",
@@ -2284,28 +2284,28 @@ const Ti = "/v2/player-season-stats", Ii = "/v2/goalie-season-stats", Pi = "/v2/
2284
2284
  championshipId: r.championshipId
2285
2285
  }))
2286
2286
  },
2287
- transform: (y) => gn(y),
2287
+ transform: (f) => gn(f),
2288
2288
  onError: o
2289
- }), z = Lt([u, f], { delay: 1e3 });
2290
- te([v, g]);
2291
- const w = _(
2289
+ }), z = Lt([b, y], { delay: 1e3 });
2290
+ te([v, p]);
2291
+ const P = _(
2292
2292
  () => Oe(m.value).sorted(s).filter(r.query, [["name"]]).pagination(i.value, t.limit).value()
2293
- ), N = _(() => [(i.value - 1) * t.limit + 1, Math.min(i.value * t.limit, w.value.totalItems)]);
2294
- function A(y) {
2295
- l(1), r.championshipId = y, a.championshipId = y, r.query = "", a.query = null, te([g]);
2293
+ ), k = _(() => [(i.value - 1) * t.limit + 1, Math.min(i.value * t.limit, P.value.totalItems)]);
2294
+ function A(f) {
2295
+ l(1), r.championshipId = f, a.championshipId = f, r.query = "", a.query = null, te([p]);
2296
2296
  }
2297
- function L(y) {
2298
- const { value: S } = y.target;
2297
+ function L(f) {
2298
+ const { value: S } = f.target;
2299
2299
  l(1), r.query = S, a.query = S;
2300
2300
  }
2301
- return (y, S) => xe(y.$slots, "default", ke(_e({
2301
+ return (f, S) => xe(f.$slots, "default", ke(_e({
2302
2302
  ...r,
2303
2303
  sort: n(s),
2304
2304
  page: n(i),
2305
- range: N.value,
2305
+ range: k.value,
2306
2306
  isLoading: n(z),
2307
- players: w.value,
2308
- onSort: n(p),
2307
+ players: P.value,
2308
+ onSort: n(g),
2309
2309
  onInput: L,
2310
2310
  changeSeason: A,
2311
2311
  onPaginatorChange: n(l)
@@ -2343,48 +2343,48 @@ const Ti = "/v2/player-season-stats", Ii = "/v2/goalie-season-stats", Pi = "/v2/
2343
2343
  }
2344
2344
  },
2345
2345
  setup(e) {
2346
- const t = e, a = { en: ue, hu: be }, r = K(null), o = (l) => Ot(t.externalPlayerResolver, l), i = (l) => lt(t.externalTeamResolver, l);
2346
+ const t = e, a = { en: ue, hu: be }, r = K(null), o = (l) => Ot(t.externalPlayerResolver, l), i = (l) => st(t.externalTeamResolver, l);
2347
2347
  return (l, s) => (d(), h("div", null, [
2348
- x(n(pe), {
2348
+ w(n(pe), {
2349
2349
  locale: t.locale,
2350
2350
  messages: a
2351
2351
  }, {
2352
- default: k(({ t: p }) => [
2353
- x(n(ze), null, {
2354
- default: k(({ error: u, hasError: v }) => [
2352
+ default: x(({ t: g }) => [
2353
+ w(n(ze), null, {
2354
+ default: x(({ error: b, hasError: v }) => [
2355
2355
  v ? (d(), $(n(Se), {
2356
2356
  key: 0,
2357
- error: u
2357
+ error: b
2358
2358
  }, null, 8, ["error"])) : I("", !0),
2359
- x(un, {
2359
+ w(un, {
2360
2360
  "api-key": t.apiKey,
2361
2361
  locale: e.locale,
2362
2362
  "championship-name": e.championshipName,
2363
2363
  limit: e.limit
2364
2364
  }, {
2365
- default: k(({
2366
- range: f,
2365
+ default: x(({
2366
+ range: y,
2367
2367
  players: m,
2368
- seasons: g,
2368
+ seasons: p,
2369
2369
  isLoading: z,
2370
- championshipId: w,
2371
- page: N,
2370
+ championshipId: P,
2371
+ page: k,
2372
2372
  query: A,
2373
2373
  changeSeason: L,
2374
- sort: y,
2374
+ sort: f,
2375
2375
  onSort: S,
2376
2376
  onPaginatorChange: T,
2377
2377
  onInput: C
2378
2378
  }) => [
2379
- x(n(fa), {
2380
- seasons: g,
2381
- "championship-id": w,
2379
+ w(n(fa), {
2380
+ seasons: p,
2381
+ "championship-id": P,
2382
2382
  "is-section-selection-disabled": "",
2383
2383
  onOnChangeSeason: L
2384
2384
  }, {
2385
- default: k(() => [
2385
+ default: x(() => [
2386
2386
  c("div", null, [
2387
- c("label", mn, b(p("selection.filterName")), 1),
2387
+ c("label", mn, u(g("selection.filterName")), 1),
2388
2388
  c("input", {
2389
2389
  id: "player",
2390
2390
  type: "text",
@@ -2396,26 +2396,26 @@ const Ti = "/v2/player-season-stats", Ii = "/v2/goalie-season-stats", Pi = "/v2/
2396
2396
  ]),
2397
2397
  _: 2
2398
2398
  }, 1032, ["seasons", "championship-id", "onOnChangeSeason"]),
2399
- x(ar, {
2399
+ w(ar, {
2400
2400
  columns: n(Qa),
2401
2401
  rows: m.rows,
2402
2402
  "append-to": r.value,
2403
- sort: y,
2403
+ sort: f,
2404
2404
  "is-loading": z,
2405
- "championship-id": w,
2405
+ "championship-id": P,
2406
2406
  "player-resolver": o,
2407
2407
  "team-resolver": i,
2408
2408
  onSort: S
2409
2409
  }, null, 8, ["columns", "rows", "append-to", "sort", "is-loading", "championship-id", "onSort"]),
2410
2410
  c("div", hn, [
2411
- x(n(ya), {
2412
- page: N,
2411
+ w(n(ya), {
2412
+ page: k,
2413
2413
  "items-per-page": t.limit,
2414
2414
  "total-items": m.totalItems,
2415
2415
  "range-length": 5,
2416
2416
  onChange: T
2417
2417
  }, null, 8, ["page", "items-per-page", "total-items", "onChange"]),
2418
- m.totalItems > 0 ? (d(), h("div", fn, b(f.join("-")) + " / " + b(m.totalItems), 1)) : I("", !0)
2418
+ m.totalItems > 0 ? (d(), h("div", fn, u(y.join("-")) + " / " + u(m.totalItems), 1)) : I("", !0)
2419
2419
  ]),
2420
2420
  c("div", {
2421
2421
  ref_key: "tooltipContainer",
@@ -2432,7 +2432,7 @@ const Ti = "/v2/player-season-stats", Ii = "/v2/goalie-season-stats", Pi = "/v2/
2432
2432
  }, 8, ["locale"])
2433
2433
  ]));
2434
2434
  }
2435
- }, wn = /* @__PURE__ */ he(yn, [["styles", [ve, Ke, Ut, bn, Bt, rr, or, ir]]]), xn = ".playoffs .table-grid{display:grid;grid-template-columns:60px 160px minmax(60px,.41fr) minmax(160px,1fr) minmax(40px,60px) 70px minmax(160px,1fr) minmax(180px,.9fr);color:var(--vbr-widget-table-color)}.playoffs .table-grid:nth-child(odd)>div{background-color:var(--vbr-widget-table-stripped-bg-color)}.playoffs .table-grid.is-optional{opacity:.5}.playoffs .table-grid>div{padding:8px}.playoffs .table-grid .is-truncate{overflow:visible;text-overflow:ellipsis;white-space:nowrap}.playoffs .table-grid .is-text-right{text-align:right}.playoffs .table-grid .is-text-center{text-align:center}.playoffs .table-grid .is-text-bold{font-weight:900}.playoffs .table-grid .is-text-light{color:var(--vbr-widget-table-cell-light-color)}.playoffs .table-grid .is-text-dark{color:var(--vbr-widget-table-cell-dark-color)}.playoffs .table-grid .is-text-accent{color:var(--vbr-widget-secondary-color-500)}.playoffs .table-grid .label{padding:3px 6px;font-size:var(--vbr-widget-typography-font-size-100);font-weight:700;color:var(--vbr-widget-table-label-color);background-color:var(--vbr-widget-table-label-bg-color);border-radius:2px}.playoffs .table-grid .label:not(:last-of-type){margin-right:3px}.playoffs .table-grid .is-team-name-long{display:block}.playoffs .table-grid .is-team-name-short{display:none}@container table-wrapper (max-width: 768px){.playoffs .table-grid .is-team-name-long{display:none}.playoffs .table-grid .is-team-name-short{display:block}}.playoffs .section-title{padding:10px;text-align:center;font-size:var(--vbr-widget-typography-font-size-500);font-weight:700;color:var(--vbr-widget-primary-color-100);background-color:var(--vbr-widget-primary-color-700)}.playoffs .section-details{display:grid;grid-template-columns:1fr;align-items:center;justify-items:center;gap:20px;padding:20px;background-color:var(--vbr-widget-primary-color-50)}@media all and (min-width: 576px){.playoffs .section-details{grid-template-columns:1fr fit-content(100px) fit-content(100px) fit-content(100px) 1fr}}.playoffs .section-details .is-team-name-long{display:block}.playoffs .section-details .is-team-name-short{display:none}@container section-details (max-width: 768px){.playoffs .section-details .is-team-name-long{display:none}.playoffs .section-details .is-team-name-short{display:block}}.playoffs .section-details .is-logo-image{width:70px;height:70px}.playoffs .section-details .is-result{font-size:4rem;font-weight:700;text-align:center;color:var(--vbr-widget-primary-color-800)}.playoffs .section-details .is-team-name{font-size:var(--vbr-widget-typography-font-size-700);font-weight:700;color:var(--vbr-widget-primary-color-800)}.playoffs .section-details .is-right{text-align:right}.playoffs-minimal{display:grid;gap:8px}.playoffs-minimal .section .section-title{font-size:var(--vbr-widget-standings-selector-section-title-size);color:var(--vbr-widget-standings-selector-section-title-color);font-weight:700;background:var(--vbr-widget-standings-selector-section-title-bg);text-align:center;padding:var(--vbr-widget-standings-selector-section-title-padding)}.playoffs-minimal .section ul{display:grid;grid-template-columns:minmax(0,1fr) var(--vbr-widget-standings-selector-section-logo-size) auto var(--vbr-widget-standings-selector-section-logo-size) minmax(0,1fr);gap:12px;align-items:center}.playoffs-minimal .section li{padding-block:8px}.playoffs-minimal .section li:first-of-type{text-align:end}.playoffs-minimal .section img{display:block;width:100%;aspect-ratio:1}.playoffs-minimal .section .is-team{font-weight:700;color:var(--vbr-widget-standings-selector-section-team-color);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.playoffs-minimal .section .is-team .is-team-name-short{display:none}@container table-wrapper (max-width: 360px){.playoffs-minimal .section .is-team .is-team-name-long{display:none}.playoffs-minimal .section .is-team .is-team-name-short{display:block}}", kn = ".table-responsive{container-name:table-wrapper;container-type:inline-size;width:100%;overflow-x:auto}.table-responsive table{width:100%}", nr = '.table{border-collapse:collapse;border-spacing:0;color:var(--vbr-widget-table-color);background-color:var(--vbr-widget-table-default-bg-color)}.table table,.table caption,.table tbody,.table tfoot,.table thead,.table tr,.table th,.table td{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}.table :is(th,td){padding:8px;white-space:nowrap;vertical-align:middle;text-align:center}.table :is(th,td).is-text-left{text-align:left}.table :is(th,td).is-text-right{text-align:right}.table th{width:var(--vbr-widget-table-default-column-width);background:var(--vbr-widget-table-header-bg-color);font-size:var(--vbr-widget-table-header-font-size);font-weight:700;color:var(--vbr-widget-table-header-color)}.table th:focus-visible,.table th:hover{background-color:var(--vbr-widget-table-header-hover-bg-color);outline:none}.table th.is-sortable{position:relative;cursor:pointer}.table th.is-sortable .icon-sort{opacity:.5}.table th.is-active{background-color:var(--vbr-widget-table-table-header-active-bg-color);color:var(--vbr-widget-table-header-active-color)}.table th.is-active .icon-sort{opacity:1}.table th.is-asc,.table th.is-desc{position:relative}.table th.is-w-auto{width:auto}.table th .is-icon-sort{width:11px;height:11px;margin-left:5px}.table td.is-active{font-weight:700;color:var(--vbr-widget-table-active-color);background:var(--vbr-widget-table-active-bg-color)}.table td.is-zero{color:var(--vbr-widget-table-zero-color)}.table td.is-possible-empty:empty:before{content:"0";color:var(--vbr-widget-table-zero-color)}.table td .is-text-light,.table td.is-text-light{color:var(--vbr-widget-table-cell-light-color)}.table td .is-text-dark,.table td.is-text-dark{color:var(--vbr-widget-table-cell-dark-color)}.table td .is-logo-image{display:inline-block;vertical-align:middle;width:var(--vbr-widget-table-cell-logo-size);height:var(--vbr-widget-table-cell-logo-size)}.table td .is-portrait-image{display:inline-block;vertical-align:middle;width:var(--vbr-widget-table-cell-portrait-size);height:var(--vbr-widget-table-cell-portrait-size);object-fit:cover;object-position:top;overflow:hidden;border-radius:100%;border:1px solid var(--vbr-widget-primary-color-100)}.table td .is-portrait-image img{width:var(--vbr-widget-table-cell-portrait-size);height:auto}.table td.is-text-bold{font-weight:700}.table td.is-text-italic{font-style:italic}.table td.is-text-xl{font-size:var(--vbr-widget-typography-font-size-700)}.table td .is-text-accent{color:var(--vbr-widget-secondary-color-500)}.table td.is-w-auto{width:auto}.table td.is-horizontal-content{display:inline-flex;align-items:center}.table td.is-text-positive,.table td .is-text-positive{color:var(--vbr-widget-live-game-color)}.table td.is-text-negative,.table td .is-text-negative{color:var(--vbr-widget-danger-color-a400)}.table td.is-has-image{padding:0 2px}.table td .is-duplicated{color:var(--vbr-widget-table-neutral-color)}.table td svg{width:16px;height:16px}.table td button{padding:3px;line-height:0;border:none;outline:none;background-color:transparent}.table td button:hover{background-color:var(--vbr-widget-popover-trigger-hover-bg-color)}.table td button:active,.table td button:focus{background-color:var(--vbr-widget-popover-trigger-focus-bg-color)}.table td a{text-decoration:none}.table td .label{padding:3px 6px;font-size:var(--vbr-widget-typography-font-size-100);font-weight:700;color:var(--vbr-widget-table-label-color);background-color:var(--vbr-widget-table-label-bg-color);border-radius:2px}.table td .label:not(:last-of-type){margin-right:3px}.table td a{color:var(--vbr-widget-link-color)}.table td a:hover{color:var(--vbr-widget-hover-color)}.table td .is-team-name-long{display:block}.table td .is-team-name-short{display:none}@container table-wrapper (max-width: 768px){.table td .is-team-name-long{display:none}.table td .is-team-name-short{display:block}}.table tr.is-highlighted{color:var(--vbr-widget-danger-color-a400)}.table tr.is-optional{opacity:.5}.table tr:nth-child(2n){background:var(--vbr-widget-table-stripped-bg-color)}.table tr:nth-child(2n) td.is-active{background-color:var(--vbr-widget-table-active-even-bg-color)}.table tbody tr:focus-within,.table tbody tr:hover{color:var(--vbr-widget-table-hover-color);background-color:var(--vbr-widget-table-hover-bg-color)}.table tbody tr:focus-within td.is-active,.table tbody tr:hover td.is-active{color:var(--vbr-widget-table-active-hover-color);background-color:var(--vbr-widget-table-active-hover-bg-color)}', _n = { class: "playoffs" }, zn = { class: "section-title" }, Sn = { class: "section-details" }, Tn = { class: "is-team-name is-right" }, In = { class: "is-result" }, Pn = { class: "is-team-name" }, Nn = { class: "is-text-right is-text-bold" }, $n = { class: "is-team-name-long" }, An = { class: "is-team-name-short" }, Ln = { class: "is-text-center" }, Cn = {
2435
+ }, wn = /* @__PURE__ */ he(yn, [["styles", [ve, Ke, Ut, bn, Bt, rr, or, ir]]]), xn = ".playoffs .table-grid{display:grid;grid-template-columns:60px 160px minmax(60px,.41fr) minmax(160px,1fr) minmax(40px,60px) 70px minmax(160px,1fr) minmax(180px,.9fr);color:var(--vbr-widget-table-color)}.playoffs .table-grid:nth-child(odd)>div{background-color:var(--vbr-widget-table-stripped-bg-color)}.playoffs .table-grid.is-optional{opacity:.5}.playoffs .table-grid>div{padding:8px}.playoffs .table-grid .is-truncate{overflow:visible;text-overflow:ellipsis;white-space:nowrap}.playoffs .table-grid .is-text-right{text-align:right}.playoffs .table-grid .is-text-center{text-align:center}.playoffs .table-grid .is-text-bold{font-weight:900}.playoffs .table-grid .is-text-light{color:var(--vbr-widget-table-cell-light-color)}.playoffs .table-grid .is-text-dark{color:var(--vbr-widget-table-cell-dark-color)}.playoffs .table-grid .is-text-accent{color:var(--vbr-widget-secondary-color-500)}.playoffs .table-grid .label{padding:3px 6px;font-size:var(--vbr-widget-typography-font-size-100);font-weight:700;color:var(--vbr-widget-table-label-color);background-color:var(--vbr-widget-table-label-bg-color);border-radius:2px}.playoffs .table-grid .label:not(:last-of-type){margin-right:3px}.playoffs .table-grid .is-team-name-long{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.playoffs .table-grid .is-team-name-short{display:none}@container table-wrapper (max-width: 768px){.playoffs .table-grid .is-team-name-long{display:none}.playoffs .table-grid .is-team-name-short{display:block}}.playoffs .section-title{padding:10px;text-align:center;font-size:var(--vbr-widget-typography-font-size-500);font-weight:700;color:var(--vbr-widget-primary-color-100);background-color:var(--vbr-widget-primary-color-700)}.playoffs .section-details{display:grid;grid-template-columns:1fr;align-items:center;justify-items:center;gap:20px;padding:20px;background-color:var(--vbr-widget-primary-color-50)}@media all and (min-width: 576px){.playoffs .section-details{grid-template-columns:1fr fit-content(100px) fit-content(100px) fit-content(100px) 1fr}}.playoffs .section-details .is-team-name-long{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.playoffs .section-details .is-team-name-short{display:none}@container section-details (max-width: 768px){.playoffs .section-details .is-team-name-long{display:none}.playoffs .section-details .is-team-name-short{display:block}}.playoffs .section-details .is-logo-image{width:70px;height:70px}.playoffs .section-details .is-result{font-size:4rem;font-weight:700;text-align:center;color:var(--vbr-widget-primary-color-800)}.playoffs .section-details .is-team-name{font-size:var(--vbr-widget-typography-font-size-700);font-weight:700;color:var(--vbr-widget-primary-color-800)}.playoffs .section-details .is-right{text-align:right}.playoffs-minimal{display:grid;gap:8px}.playoffs-minimal .section .section-title{font-size:var(--vbr-widget-standings-selector-section-title-size);color:var(--vbr-widget-standings-selector-section-title-color);font-weight:700;background:var(--vbr-widget-standings-selector-section-title-bg);text-align:center;padding:var(--vbr-widget-standings-selector-section-title-padding)}.playoffs-minimal .section ul{display:grid;grid-template-columns:minmax(0,1fr) var(--vbr-widget-standings-selector-section-logo-size) auto var(--vbr-widget-standings-selector-section-logo-size) minmax(0,1fr);gap:12px;align-items:center}.playoffs-minimal .section li{padding-block:8px}.playoffs-minimal .section li:first-of-type{text-align:end}.playoffs-minimal .section img{display:block;width:100%;aspect-ratio:1}.playoffs-minimal .section .is-team{font-weight:700;color:var(--vbr-widget-standings-selector-section-team-color);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.playoffs-minimal .section .is-team .is-team-name-short{display:none}@container table-wrapper (max-width: 360px){.playoffs-minimal .section .is-team .is-team-name-long{display:none}.playoffs-minimal .section .is-team .is-team-name-short{display:block}}", kn = ".table-responsive{container-name:table-wrapper;container-type:inline-size;width:100%;overflow-x:auto}.table-responsive table{width:100%}", nr = '.table{border-collapse:collapse;border-spacing:0;color:var(--vbr-widget-table-color);background-color:var(--vbr-widget-table-default-bg-color)}.table table,.table caption,.table tbody,.table tfoot,.table thead,.table tr,.table th,.table td{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}.table :is(th,td){padding:8px;white-space:nowrap;vertical-align:middle;text-align:center}.table :is(th,td).is-text-left{text-align:left}.table :is(th,td).is-text-right{text-align:right}.table th{width:var(--vbr-widget-table-default-column-width);background:var(--vbr-widget-table-header-bg-color);font-size:var(--vbr-widget-table-header-font-size);font-weight:700;color:var(--vbr-widget-table-header-color)}.table th:focus-visible,.table th:hover{background-color:var(--vbr-widget-table-header-hover-bg-color);outline:none}.table th.is-sortable{position:relative;cursor:pointer}.table th.is-sortable .icon-sort{opacity:.5}.table th.is-active{background-color:var(--vbr-widget-table-table-header-active-bg-color);color:var(--vbr-widget-table-header-active-color)}.table th.is-active .icon-sort{opacity:1}.table th.is-asc,.table th.is-desc{position:relative}.table th.is-w-auto{width:auto}.table th .is-icon-sort{width:11px;height:11px;margin-left:5px}.table td.is-active{font-weight:700;color:var(--vbr-widget-table-active-color);background:var(--vbr-widget-table-active-bg-color)}.table td.is-zero{color:var(--vbr-widget-table-zero-color)}.table td.is-possible-empty:empty:before{content:"0";color:var(--vbr-widget-table-zero-color)}.table td .is-text-light,.table td.is-text-light{color:var(--vbr-widget-table-cell-light-color)}.table td .is-text-dark,.table td.is-text-dark{color:var(--vbr-widget-table-cell-dark-color)}.table td .is-logo-image{display:inline-block;vertical-align:middle;width:var(--vbr-widget-table-cell-logo-size);height:var(--vbr-widget-table-cell-logo-size)}.table td .is-portrait-image{display:inline-block;vertical-align:middle;width:var(--vbr-widget-table-cell-portrait-size);height:var(--vbr-widget-table-cell-portrait-size);object-fit:cover;object-position:top;overflow:hidden;border-radius:100%;border:1px solid var(--vbr-widget-primary-color-100)}.table td .is-portrait-image img{width:var(--vbr-widget-table-cell-portrait-size);height:auto}.table td.is-text-bold{font-weight:700}.table td.is-text-italic{font-style:italic}.table td.is-text-xl{font-size:var(--vbr-widget-typography-font-size-700)}.table td .is-text-accent{color:var(--vbr-widget-secondary-color-500)}.table td.is-w-auto{width:auto}.table td.is-horizontal-content{display:inline-flex;align-items:center}.table td.is-text-positive,.table td .is-text-positive{color:var(--vbr-widget-live-game-color)}.table td.is-text-negative,.table td .is-text-negative{color:var(--vbr-widget-danger-color-a400)}.table td.is-has-image{padding:0 2px}.table td .is-duplicated{color:var(--vbr-widget-table-neutral-color)}.table td svg{width:16px;height:16px}.table td button{padding:3px;line-height:0;border:none;outline:none;background-color:transparent}.table td button:hover{background-color:var(--vbr-widget-popover-trigger-hover-bg-color)}.table td button:active,.table td button:focus{background-color:var(--vbr-widget-popover-trigger-focus-bg-color)}.table td a{text-decoration:none}.table td .label{padding:3px 6px;font-size:var(--vbr-widget-typography-font-size-100);font-weight:700;color:var(--vbr-widget-table-label-color);background-color:var(--vbr-widget-table-label-bg-color);border-radius:2px}.table td .label:not(:last-of-type){margin-right:3px}.table td a{color:var(--vbr-widget-link-color)}.table td a:hover{color:var(--vbr-widget-hover-color)}.table td .is-team-name-long{display:block}.table td .is-team-name-short{display:none}@container table-wrapper (max-width: 768px){.table td .is-team-name-long{display:none}.table td .is-team-name-short{display:block}}.table tr.is-highlighted{color:var(--vbr-widget-danger-color-a400)}.table tr.is-optional{opacity:.5}.table tr:nth-child(2n){background:var(--vbr-widget-table-stripped-bg-color)}.table tr:nth-child(2n) td.is-active{background-color:var(--vbr-widget-table-active-even-bg-color)}.table tbody tr:focus-within,.table tbody tr:hover{color:var(--vbr-widget-table-hover-color);background-color:var(--vbr-widget-table-hover-bg-color)}.table tbody tr:focus-within td.is-active,.table tbody tr:hover td.is-active{color:var(--vbr-widget-table-active-hover-color);background-color:var(--vbr-widget-table-active-hover-bg-color)}', _n = { class: "playoffs" }, zn = { class: "section-title" }, Sn = { class: "section-details" }, Tn = { class: "is-team-name is-right" }, In = { class: "is-result" }, Pn = { class: "is-team-name" }, Nn = { class: "is-text-right is-text-bold" }, $n = { class: "is-team-name-long" }, An = { class: "is-team-name-short" }, Ln = { class: "is-text-center" }, Cn = {
2436
2436
  key: 0,
2437
2437
  class: "is-text-dark"
2438
2438
  }, En = ["href"], On = {
@@ -2461,81 +2461,82 @@ const Ti = "/v2/player-season-stats", Ii = "/v2/goalie-season-stats", Pi = "/v2/
2461
2461
  }
2462
2462
  },
2463
2463
  setup(e) {
2464
- const t = e, { state: a, execute: r } = D({
2464
+ const t = e, { state: a, isLoading: r, execute: o } = D({
2465
2465
  options: {
2466
2466
  path: "/v2/playoffs-tree",
2467
2467
  apiKey: t.apiKey,
2468
2468
  params: _(() => ({ championshipId: t.championshipId }))
2469
2469
  }
2470
2470
  });
2471
- r();
2472
- const o = ot(), i = { en: ue, hu: be };
2473
- function l(u) {
2474
- return it(t.externalGameLink || Kn, u);
2471
+ o();
2472
+ const i = it(), l = { en: ue, hu: be };
2473
+ function s(v) {
2474
+ return nt(t.externalGameLink || Kn, v);
2475
2475
  }
2476
- const s = (u) => et(u, "L dddd", o, t.locale), p = (u) => et(u, "HH:mm", o, t.locale);
2477
- return (u, v) => (d(), h("div", _n, [
2478
- x(n(pe), {
2476
+ const g = (v) => et(v, "L dddd", i, t.locale), b = (v) => et(v, "HH:mm", i, t.locale);
2477
+ return (v, y) => (d(), h("div", _n, [
2478
+ w(n(pe), {
2479
2479
  locale: t.locale,
2480
- messages: i
2480
+ messages: l
2481
2481
  }, {
2482
- default: k(({ t: f }) => [
2483
- (d(!0), h(O, null, U(n(a), (m) => {
2484
- var g, z;
2482
+ default: x(({ t: m }) => [
2483
+ n(r) ? (d(), $(n(at), { key: 0 })) : I("", !0),
2484
+ (d(!0), h(O, null, U(n(a), (p) => {
2485
+ var z, P;
2485
2486
  return d(), h("div", {
2486
- key: `${m.divisionStage2Name}-${m.divisionStageNumber}`
2487
+ key: `${p.divisionStage2Name}-${p.divisionStageNumber}`
2487
2488
  }, [
2488
- c("div", zn, b(f(`playoffs.${m.divisionStage2Name}`)) + "-" + b(m.divisionStageNumber), 1),
2489
+ c("div", zn, u(m(`playoffs.${p.divisionStage2Name}`)) + "-" + u(p.divisionStageNumber), 1),
2489
2490
  c("div", Sn, [
2490
- c("div", Tn, b((g = m.homeTeam) == null ? void 0 : g.longName), 1),
2491
+ c("div", Tn, u((z = p.homeTeam) == null ? void 0 : z.longName), 1),
2491
2492
  c("div", null, [
2492
- x(n(V), {
2493
+ w(n(V), {
2493
2494
  class: "is-logo-image",
2494
- src: m.homeTeam.logo
2495
+ src: p.homeTeam.logo
2495
2496
  }, null, 8, ["src"])
2496
2497
  ]),
2497
- c("div", In, b(m.seriesStandings), 1),
2498
+ c("div", In, u(p.seriesStandings), 1),
2498
2499
  c("div", null, [
2499
- x(n(V), {
2500
+ w(n(V), {
2500
2501
  class: "is-logo-image",
2501
- src: m.awayTeam.logo
2502
+ src: p.awayTeam.logo
2502
2503
  }, null, 8, ["src"])
2503
2504
  ]),
2504
- c("div", Pn, b((z = m.awayTeam) == null ? void 0 : z.longName), 1)
2505
+ c("div", Pn, u((P = p.awayTeam) == null ? void 0 : P.longName), 1)
2505
2506
  ]),
2506
- x(n(ie), null, {
2507
- default: k(() => [
2508
- (d(!0), h(O, null, U(m.games, (w) => {
2509
- var N, A, L, y, S;
2507
+ w(n(ie), null, {
2508
+ default: x(() => [
2509
+ (d(!0), h(O, null, U(p.games, (k) => {
2510
+ var A, L, f, S, T;
2510
2511
  return d(), h("div", {
2511
- key: w.id,
2512
- class: G(["table-grid", { "is-optional": w.optional }])
2512
+ key: k.id,
2513
+ class: G(["table-grid", { "is-optional": k.optional }])
2513
2514
  }, [
2514
- c("div", null, b(w.gameName), 1),
2515
- c("div", null, b(s(w.gameDate)), 1),
2516
- c("div", null, b(p(w.gameDate)), 1),
2515
+ c("div", null, u(k.gameName), 1),
2516
+ c("div", null, u(g(k.gameDate)), 1),
2517
+ c("div", null, u(b(k.gameDate)), 1),
2517
2518
  c("div", Nn, [
2518
- c("span", $n, b((N = w.homeTeam) == null ? void 0 : N.longName), 1),
2519
- c("span", An, b((A = w.homeTeam) == null ? void 0 : A.shortName), 1)
2519
+ c("span", $n, u((A = k.homeTeam) == null ? void 0 : A.longName), 1),
2520
+ c("span", An, u((L = k.homeTeam) == null ? void 0 : L.shortName), 1)
2520
2521
  ]),
2521
2522
  c("div", Ln, [
2522
- w.gameStatus === 0 ? (d(), h("span", Cn, "-:-")) : (d(), h("a", {
2523
+ k.gameStatus === 0 ? (d(), h("span", Cn, "-:-")) : (d(), h("a", {
2523
2524
  key: 1,
2524
- href: l(w),
2525
+ href: s(k),
2525
2526
  target: "_blank",
2526
- class: G(["is-text-bold", [{ "is-text-dark": w.gameStatus !== 1, "is-text-accent": w.gameStatus === 1 }]])
2527
- }, b(w.homeTeamScore) + ":" + b(w.awayTeamScore), 11, En))
2527
+ class: G(["is-text-bold", [{ "is-text-dark": k.gameStatus !== 1, "is-text-accent": k.gameStatus === 1 }]])
2528
+ }, u(k.homeTeamScore) + ":" + u(k.awayTeamScore), 11, En))
2528
2529
  ]),
2529
2530
  c("div", null, [
2530
- w.isOvertime ? (d(), h("span", On, b(f("common.overtimeShort")), 1)) : I("", !0),
2531
- w.isShootout ? (d(), h("span", jn, b(f("common.shootoutShort")), 1)) : I("", !0),
2532
- w.seriesStandings ? (d(), h("span", Rn, b(w.seriesStandings), 1)) : I("", !0)
2531
+ k.isOvertime ? (d(), h("span", On, u(m("common.overtimeShort")), 1)) : I("", !0),
2532
+ k.isShootout ? (d(), h("span", jn, u(m("common.shootoutShort")), 1)) : I("", !0),
2533
+ k.seriesStandings ? (d(), h("span", Rn, u(k.seriesStandings), 1)) : I("", !0)
2533
2534
  ]),
2534
2535
  c("div", Fn, [
2535
- c("span", Gn, b((L = w.awayTeam) == null ? void 0 : L.longName), 1),
2536
- c("span", Mn, b((y = w.awayTeam) == null ? void 0 : y.shortName), 1)
2536
+ c("span", Gn, u((f = k.awayTeam) == null ? void 0 : f.longName), 1),
2537
+ c("span", Mn, u((S = k.awayTeam) == null ? void 0 : S.shortName), 1)
2537
2538
  ]),
2538
- c("div", Dn, b(((S = w.location) == null ? void 0 : S.locationName) ?? ""), 1)
2539
+ c("div", Dn, u(((T = k.location) == null ? void 0 : T.locationName) ?? ""), 1)
2539
2540
  ], 2);
2540
2541
  }), 128))
2541
2542
  ]),
@@ -2551,15 +2552,15 @@ const Ti = "/v2/player-season-stats", Ii = "/v2/goalie-season-stats", Pi = "/v2/
2551
2552
  }, Bn = /* @__PURE__ */ he(Un, [["styles", [ve, xn, kn, nr]]]);
2552
2553
  function Vn(e = [], t = "hu", a = tt) {
2553
2554
  const r = K([]), o = K(null), i = K([]), l = () => {
2554
- i.value = e.value.reduce((p, u) => {
2555
- var g;
2556
- const v = new Date(u.gameDate), f = (g = new Intl.DateTimeFormat("en-GB", { month: "long" }).format(v)) == null ? void 0 : g.toLowerCase(), m = new Intl.DateTimeFormat(t.value, { month: "long" }).format(v);
2557
- return p[f] || (p[f] = { value: v.getMonth(), name: qn(m) }), p;
2555
+ i.value = e.value.reduce((g, b) => {
2556
+ var p;
2557
+ const v = new Date(b.gameDate), y = (p = new Intl.DateTimeFormat("en-GB", { month: "long" }).format(v)) == null ? void 0 : p.toLowerCase(), m = new Intl.DateTimeFormat(t.value, { month: "long" }).format(v);
2558
+ return g[y] || (g[y] = { value: v.getMonth(), name: qn(m) }), g;
2558
2559
  }, {}), r.value = Object.values(i.value);
2559
2560
  }, s = () => {
2560
- var f, m, g, z;
2561
- const p = _r(/* @__PURE__ */ new Date(), (f = fe(e.value)) == null ? void 0 : f.gameDate, (m = qa(e.value)) == null ? void 0 : m.gameDate), u = (g = new Intl.DateTimeFormat("en-GB", { month: "long" }).format(/* @__PURE__ */ new Date())) == null ? void 0 : g.toLowerCase(), v = oe([u], i.value);
2562
- o.value = v && p ? (/* @__PURE__ */ new Date()).getMonth() : (z = fe(r.value)) == null ? void 0 : z.value, a(o.value);
2561
+ var y, m, p, z;
2562
+ const g = _r(/* @__PURE__ */ new Date(), (y = fe(e.value)) == null ? void 0 : y.gameDate, (m = qa(e.value)) == null ? void 0 : m.gameDate), b = (p = new Intl.DateTimeFormat("en-GB", { month: "long" }).format(/* @__PURE__ */ new Date())) == null ? void 0 : p.toLowerCase(), v = oe([b], i.value);
2563
+ o.value = v && g ? (/* @__PURE__ */ new Date()).getMonth() : (z = fe(r.value)) == null ? void 0 : z.value, a(o.value);
2563
2564
  };
2564
2565
  return se([e, t], l), po(e, () => {
2565
2566
  l(), s();
@@ -2631,7 +2632,7 @@ const Yn = {
2631
2632
  selectedMonth: Number(a.selectedMonth) ?? null,
2632
2633
  selectedTeam: Number(a.selectedTeam) || null,
2633
2634
  selectedTeamGameType: a.selectedTeamGameType || "all"
2634
- }), { timezone: o, mainElement: i, scrollOffset: l, scrollToGameDate: s } = va(t), { onError: p } = ge(), u = _(() => {
2635
+ }), { timezone: o, mainElement: i, scrollOffset: l, scrollToGameDate: s } = va(t), { onError: g } = ge(), b = _(() => {
2635
2636
  switch (r.selectedTeamGameType) {
2636
2637
  case "all":
2637
2638
  return [
@@ -2643,32 +2644,32 @@ const Yn = {
2643
2644
  default:
2644
2645
  return [["awayTeam", "id"]];
2645
2646
  }
2646
- }), { isLoading: v, execute: f } = D({
2647
+ }), { isLoading: v, execute: y } = D({
2647
2648
  options: {
2648
2649
  path: "/v2/championship-seasons",
2649
2650
  apiKey: t.apiKey,
2650
2651
  params: { championshipName: r.championshipName }
2651
2652
  },
2652
- transform: (E) => vt(E, r),
2653
- onError: p
2654
- }), { isLoading: m, execute: g } = D({
2653
+ transform: (E) => ht(E, r),
2654
+ onError: g
2655
+ }), { isLoading: m, execute: p } = D({
2655
2656
  options: {
2656
2657
  path: "/v2/championship-phases",
2657
2658
  apiKey: t.apiKey,
2658
2659
  params: _(() => ({ championshipId: r.championshipId }))
2659
2660
  },
2660
2661
  transform: (E) => fi(E, r),
2661
- onError: p
2662
- }), { isLoading: z, execute: w } = D({
2662
+ onError: g
2663
+ }), { isLoading: z, execute: P } = D({
2663
2664
  options: {
2664
2665
  path: "/v2/championship-teams",
2665
2666
  apiKey: t.apiKey,
2666
2667
  params: _(() => ({ championshipId: r.championshipId }))
2667
2668
  },
2668
2669
  transform: (E) => yi(E, r),
2669
- onError: p
2670
+ onError: g
2670
2671
  }), {
2671
- isLoading: N,
2672
+ isLoading: k,
2672
2673
  state: A,
2673
2674
  execute: L
2674
2675
  } = D({
@@ -2678,52 +2679,52 @@ const Yn = {
2678
2679
  params: _(() => ({ championshipId: r.championshipId, division: r.section }))
2679
2680
  },
2680
2681
  transform: (E) => Ct(E),
2681
- onError: p
2682
- }), y = Lt([m, v, z, N], { delay: 1e3 }), { months: S } = Vn(A, ur(t, "locale"), (E) => {
2682
+ onError: g
2683
+ }), f = Lt([m, v, z, k], { delay: 1e3 }), { months: S } = Vn(A, ur(t, "locale"), (E) => {
2683
2684
  r.selectedMonth = Number(a.selectedMonth) || E;
2684
2685
  });
2685
2686
  wr({ items: A, element: i, offset: l, enabled: s });
2686
2687
  const { pause: T, resume: C } = bo(L, Xt, { immediate: !1 });
2687
2688
  xr(t.autoRefresh, C, T);
2688
- const H = _(() => Oe(n(A)).filter(r.selectedTeam, u.value, !0).schedule(n(o), n(t.locale)).filter(r.subPhase, [["divisionStage2Name"]], !0).gameDateFilter(n(r.selectedMonth)).groupByDays().value()), j = _(() => {
2689
+ const H = _(() => Oe(n(A)).filter(r.selectedTeam, b.value, !0).schedule(n(o), n(t.locale)).filter(r.subPhase, [["divisionStage2Name"]], !0).gameDateFilter(n(r.selectedMonth)).groupByDays().value()), j = _(() => {
2689
2690
  const E = r.sections.find((Ue) => Ue.name === r.section);
2690
2691
  return Wn((E == null ? void 0 : E.phases) ?? []);
2691
2692
  });
2692
- te([f, g, w, L], {
2693
+ te([y, p, P, L], {
2693
2694
  onFinished: () => {
2694
2695
  t.autoRefresh && Na(C, Xt);
2695
2696
  }
2696
2697
  });
2697
2698
  function ne(E) {
2698
- r.championshipId = E, a.championshipId = E, t.autoRefresh && C(), r.selectedTeam = null, a.selectedTeam = null, r.selectedMonth = null, a.selectedMonth = null, r.selectedTeamGameType = "all", a.selectedTeamGameType = null, r.subPhase = "", te([g, w, L]), t.autoRefresh && C(), Ht();
2699
+ r.championshipId = E, a.championshipId = E, t.autoRefresh && C(), r.selectedTeam = null, a.selectedTeam = null, r.selectedMonth = null, a.selectedMonth = null, r.selectedTeamGameType = "all", a.selectedTeamGameType = null, r.subPhase = "", te([p, P, L]), t.autoRefresh && C(), Ht();
2699
2700
  }
2700
- function P(E) {
2701
+ function N(E) {
2701
2702
  r.selectedMonth = E, a.selectedMonth = E, Ht();
2702
2703
  }
2703
2704
  function le(E) {
2704
2705
  r.section = E, a.section = E, r.selectedMonth = null, a.selectedMonth = null, r.subPhase = "", L();
2705
2706
  }
2706
- function ht(E) {
2707
+ function ft(E) {
2707
2708
  r.subPhase = E;
2708
2709
  }
2709
- function ft(E) {
2710
+ function yt(E) {
2710
2711
  r.selectedTeam = E, a.selectedTeam = E, E || (r.selectedTeamGameType = "all", a.selectedTeamGameType = null);
2711
2712
  }
2712
- function yt(E) {
2713
+ function wt(E) {
2713
2714
  r.selectedTeamGameType = E, a.selectedTeamGameType = E;
2714
2715
  }
2715
2716
  return (E, Ue) => xe(E.$slots, "default", ke(_e({
2716
2717
  ...r,
2717
2718
  months: n(S),
2718
- isLoading: n(y),
2719
+ isLoading: n(f),
2719
2720
  subPhases: j.value,
2720
2721
  games: H.value,
2721
2722
  changeSeason: ne,
2722
- changeMonth: P,
2723
+ changeMonth: N,
2723
2724
  changeSection: le,
2724
- changeTeam: ft,
2725
- changeTeamType: yt,
2726
- changeSubSection: ht
2725
+ changeTeam: yt,
2726
+ changeTeamType: wt,
2727
+ changeSubSection: ft
2727
2728
  })));
2728
2729
  }
2729
2730
  }, Hn = {
@@ -2824,10 +2825,10 @@ const el = { render: Zn }, tl = { class: "is-info is-text-base" }, al = ["href"]
2824
2825
  class: G(["card-item", { "is-optional": e.game.optional }])
2825
2826
  }, [
2826
2827
  c("div", tl, [
2827
- W(b(e.game.gameName) + " - " + b(e.game.divisionName) + " - " + b(e.game.location.locationName) + " ", 1),
2828
+ W(u(e.game.gameName) + " - " + u(e.game.divisionName) + " - " + u(e.game.location.locationName) + " ", 1),
2828
2829
  e.game.broadcast ? (d(), h(O, { key: 0 }, [
2829
2830
  r[0] || (r[0] = W(" - ")),
2830
- x(n(Xn), { height: "16" }),
2831
+ w(n(Xn), { height: "16" }),
2831
2832
  r[1] || (r[1] = W("  "))
2832
2833
  ], 64)) : I("", !0),
2833
2834
  e.game.video ? (d(), h(O, { key: 1 }, [
@@ -2836,13 +2837,13 @@ const el = { render: Zn }, tl = { class: "is-info is-text-base" }, al = ["href"]
2836
2837
  href: e.game.video,
2837
2838
  target: "_blank"
2838
2839
  }, [
2839
- x(n(el), { height: "18" })
2840
+ w(n(el), { height: "18" })
2840
2841
  ], 8, al)
2841
2842
  ], 64)) : I("", !0)
2842
2843
  ]),
2843
2844
  c("div", rl, [
2844
- c("span", ol, b(e.game.homeTeam.shortName), 1),
2845
- c("span", il, b(e.game.homeTeam.longName), 1),
2845
+ c("span", ol, u(e.game.homeTeam.shortName), 1),
2846
+ c("span", il, u(e.game.homeTeam.longName), 1),
2846
2847
  (d(), $(n(V), {
2847
2848
  key: e.game.homeTeam.id,
2848
2849
  class: "is-logo-image",
@@ -2853,23 +2854,23 @@ const el = { render: Zn }, tl = { class: "is-info is-text-base" }, al = ["href"]
2853
2854
  class: G(["is-game-data", [{ "is-live": e.game.gameStatus === 1 }]])
2854
2855
  }, [
2855
2856
  c("div", nl, [
2856
- e.game.isOvertime ? (d(), h("span", ll, b(n(t)("common.overtimeShort")), 1)) : I("", !0),
2857
- e.game.isShootout ? (d(), h("span", sl, b(n(t)("common.shootoutShort")), 1)) : I("", !0),
2858
- e.game.seriesStandings ? (d(), h("span", cl, b(e.game.seriesStandings), 1)) : I("", !0)
2857
+ e.game.isOvertime ? (d(), h("span", ll, u(n(t)("common.overtimeShort")), 1)) : I("", !0),
2858
+ e.game.isShootout ? (d(), h("span", sl, u(n(t)("common.shootoutShort")), 1)) : I("", !0),
2859
+ e.game.seriesStandings ? (d(), h("span", cl, u(e.game.seriesStandings), 1)) : I("", !0)
2859
2860
  ]),
2860
2861
  c("a", {
2861
2862
  href: e.gameLink(e.game),
2862
2863
  target: e.target
2863
2864
  }, [
2864
- e.game.gameStatus > 0 && e.game.gameStatus < 3 ? (d(), h("span", pl, b(e.game.homeTeamScore) + " : " + b(e.game.awayTeamScore), 1)) : I("", !0),
2865
- e.game.gameStatus === 3 ? (d(), h("span", gl, b(n(t)("game.status.jury")), 1)) : I("", !0),
2866
- e.game.gameStatus === 4 ? (d(), h("span", ul, b(n(t)("game.status.delayed")), 1)) : I("", !0),
2867
- e.game.gameStatus === 0 ? (d(), h("span", bl, b(e.game.gameDateTime), 1)) : I("", !0)
2865
+ e.game.gameStatus > 0 && e.game.gameStatus < 3 ? (d(), h("span", pl, u(e.game.homeTeamScore) + " : " + u(e.game.awayTeamScore), 1)) : I("", !0),
2866
+ e.game.gameStatus === 3 ? (d(), h("span", gl, u(n(t)("game.status.jury")), 1)) : I("", !0),
2867
+ e.game.gameStatus === 4 ? (d(), h("span", ul, u(n(t)("game.status.delayed")), 1)) : I("", !0),
2868
+ e.game.gameStatus === 0 ? (d(), h("span", bl, u(e.game.gameDateTime), 1)) : I("", !0)
2868
2869
  ], 8, dl),
2869
- e.game.gameStatus === 0 ? (d(), h("span", ml, "(" + b(e.offsetName) + ")", 1)) : I("", !0),
2870
+ e.game.gameStatus === 0 ? (d(), h("span", ml, "(" + u(e.offsetName) + ")", 1)) : I("", !0),
2870
2871
  e.game.gameStatus > 0 ? (d(), h(O, { key: 1 }, [
2871
- c("div", vl, b(e.game.periodResults), 1),
2872
- e.game.gameStatus !== 2 ? (d(), h("div", hl, b(n(t)(`game.period.${e.game.period}`)), 1)) : I("", !0)
2872
+ c("div", vl, u(e.game.periodResults), 1),
2873
+ e.game.gameStatus !== 2 ? (d(), h("div", hl, u(n(t)(`game.period.${e.game.period}`)), 1)) : I("", !0)
2873
2874
  ], 64)) : I("", !0)
2874
2875
  ], 2),
2875
2876
  c("div", fl, [
@@ -2878,8 +2879,8 @@ const el = { render: Zn }, tl = { class: "is-info is-text-base" }, al = ["href"]
2878
2879
  class: "is-logo-image",
2879
2880
  src: e.game.awayTeam.logo
2880
2881
  }, null, 8, ["src"])),
2881
- c("span", yl, b(e.game.awayTeam.shortName), 1),
2882
- c("span", wl, b(e.game.awayTeam.longName), 1)
2882
+ c("span", yl, u(e.game.awayTeam.shortName), 1),
2883
+ c("span", wl, u(e.game.awayTeam.longName), 1)
2883
2884
  ])
2884
2885
  ], 2));
2885
2886
  }
@@ -2937,70 +2938,70 @@ const el = { render: Zn }, tl = { class: "is-info is-text-base" }, al = ["href"]
2937
2938
  "update:selectedTeamGameType"
2938
2939
  ],
2939
2940
  setup(e, { emit: t }) {
2940
- const a = e, r = t, { t: o } = Q(), { championshipId: i, selectedMonth: l, selectedTeam: s, selectedTeamGameType: p } = La(a, r), u = _(() => s.value === null);
2941
- return (v, f) => (d(), h("div", kl, [
2941
+ const a = e, r = t, { t: o } = Q(), { championshipId: i, selectedMonth: l, selectedTeam: s, selectedTeamGameType: g } = La(a, r), b = _(() => s.value === null);
2942
+ return (v, y) => (d(), h("div", kl, [
2942
2943
  c("div", null, [
2943
- c("label", _l, b(n(o)("selection.season")), 1),
2944
- x(n(re), {
2944
+ c("label", _l, u(n(o)("selection.season")), 1),
2945
+ w(n(re), {
2945
2946
  id: "season",
2946
2947
  modelValue: n(i),
2947
- "onUpdate:modelValue": f[0] || (f[0] = (m) => Ie(i) ? i.value = m : null)
2948
+ "onUpdate:modelValue": y[0] || (y[0] = (m) => Ie(i) ? i.value = m : null)
2948
2949
  }, {
2949
- default: k(() => [
2950
+ default: x(() => [
2950
2951
  (d(!0), h(O, null, U(e.seasons, (m) => (d(), h("option", {
2951
2952
  key: m.championshipId,
2952
2953
  value: m.championshipId
2953
- }, b(m.seasonName), 9, zl))), 128))
2954
+ }, u(m.seasonName), 9, zl))), 128))
2954
2955
  ]),
2955
2956
  _: 1
2956
2957
  }, 8, ["modelValue"])
2957
2958
  ]),
2958
2959
  c("div", null, [
2959
- c("label", Sl, b(n(o)("selection.month")), 1),
2960
- x(n(re), {
2960
+ c("label", Sl, u(n(o)("selection.month")), 1),
2961
+ w(n(re), {
2961
2962
  id: "months",
2962
2963
  modelValue: n(l),
2963
- "onUpdate:modelValue": f[1] || (f[1] = (m) => Ie(l) ? l.value = m : null)
2964
+ "onUpdate:modelValue": y[1] || (y[1] = (m) => Ie(l) ? l.value = m : null)
2964
2965
  }, {
2965
- default: k(() => [
2966
- c("option", Tl, b(n(o)("common.all")), 1),
2966
+ default: x(() => [
2967
+ c("option", Tl, u(n(o)("common.all")), 1),
2967
2968
  (d(!0), h(O, null, U(e.months, (m) => (d(), h("option", {
2968
2969
  key: m.value,
2969
2970
  value: m.value
2970
- }, b(m.name), 9, Il))), 128))
2971
+ }, u(m.name), 9, Il))), 128))
2971
2972
  ]),
2972
2973
  _: 1
2973
2974
  }, 8, ["modelValue"])
2974
2975
  ]),
2975
2976
  c("div", null, [
2976
- c("label", Pl, b(n(o)("selection.teams")), 1),
2977
- x(n(re), {
2977
+ c("label", Pl, u(n(o)("selection.teams")), 1),
2978
+ w(n(re), {
2978
2979
  id: "teams",
2979
2980
  modelValue: n(s),
2980
- "onUpdate:modelValue": f[2] || (f[2] = (m) => Ie(s) ? s.value = m : null)
2981
+ "onUpdate:modelValue": y[2] || (y[2] = (m) => Ie(s) ? s.value = m : null)
2981
2982
  }, {
2982
- default: k(() => [
2983
- c("option", Nl, b(n(o)("common.all")), 1),
2983
+ default: x(() => [
2984
+ c("option", Nl, u(n(o)("common.all")), 1),
2984
2985
  (d(!0), h(O, null, U(e.teams, (m) => (d(), h("option", {
2985
2986
  key: m.teamId,
2986
2987
  value: m.teamId
2987
- }, b(m.teamName), 9, $l))), 128))
2988
+ }, u(m.teamName), 9, $l))), 128))
2988
2989
  ]),
2989
2990
  _: 1
2990
2991
  }, 8, ["modelValue"])
2991
2992
  ]),
2992
2993
  c("div", null, [
2993
- c("label", Al, b(n(o)("selection.homeOrAway")), 1),
2994
- x(n(re), {
2994
+ c("label", Al, u(n(o)("selection.homeOrAway")), 1),
2995
+ w(n(re), {
2995
2996
  id: "type",
2996
- modelValue: n(p),
2997
- "onUpdate:modelValue": f[3] || (f[3] = (m) => Ie(p) ? p.value = m : null),
2998
- disabled: u.value
2997
+ modelValue: n(g),
2998
+ "onUpdate:modelValue": y[3] || (y[3] = (m) => Ie(g) ? g.value = m : null),
2999
+ disabled: b.value
2999
3000
  }, {
3000
- default: k(() => [
3001
- c("option", Ll, b(n(o)("common.all")), 1),
3002
- c("option", Cl, b(n(o)("selection.home")), 1),
3003
- c("option", El, b(n(o)("selection.away")), 1)
3001
+ default: x(() => [
3002
+ c("option", Ll, u(n(o)("common.all")), 1),
3003
+ c("option", Cl, u(n(o)("selection.home")), 1),
3004
+ c("option", El, u(n(o)("selection.away")), 1)
3004
3005
  ]),
3005
3006
  _: 1
3006
3007
  }, 8, ["modelValue", "disabled"])
@@ -3040,63 +3041,63 @@ const el = { render: Zn }, tl = { class: "is-info is-text-base" }, al = ["href"]
3040
3041
  ...Pr
3041
3042
  },
3042
3043
  setup(e) {
3043
- const t = e, a = { en: ue, hu: be }, r = K(null), o = K(null), i = K(ot()), l = _(() => Et(/* @__PURE__ */ new Date(), n(i), t.locale)), s = _(() => t.scrollToGameDate.toLowerCase() === "true"), p = _(() => {
3044
+ const t = e, a = { en: ue, hu: be }, r = K(null), o = K(null), i = K(it()), l = _(() => Et(/* @__PURE__ */ new Date(), n(i), t.locale)), s = _(() => t.scrollToGameDate.toLowerCase() === "true"), g = _(() => {
3044
3045
  var m;
3045
3046
  return ((m = Aa(o)) == null ? void 0 : m.clientHeight) ?? 0;
3046
3047
  });
3047
- function u(m) {
3048
+ function b(m) {
3048
3049
  i.value = m;
3049
3050
  }
3050
3051
  function v(m) {
3051
- return it(t.externalGameResolver || ql, m);
3052
+ return nt(t.externalGameResolver || ql, m);
3052
3053
  }
3053
- const f = _(() => t.isGameTargetExternal ? "_blank" : "_self");
3054
- return (m, g) => (d(), h("div", {
3054
+ const y = _(() => t.isGameTargetExternal ? "_blank" : "_self");
3055
+ return (m, p) => (d(), h("div", {
3055
3056
  ref_key: "mainElement",
3056
3057
  ref: r
3057
3058
  }, [
3058
- x(n(pe), {
3059
+ w(n(pe), {
3059
3060
  locale: t.locale,
3060
3061
  messages: a
3061
3062
  }, {
3062
- default: k(({ t: z }) => [
3063
- x(n(ze), null, {
3064
- default: k(({ error: w, hasError: N }) => [
3065
- N ? (d(), $(n(Se), {
3063
+ default: x(({ t: z }) => [
3064
+ w(n(ze), null, {
3065
+ default: x(({ error: P, hasError: k }) => [
3066
+ k ? (d(), $(n(Se), {
3066
3067
  key: 0,
3067
- error: w
3068
+ error: P
3068
3069
  }, null, 8, ["error"])) : I("", !0),
3069
- x(Yn, {
3070
+ w(Yn, {
3070
3071
  locale: e.locale,
3071
3072
  timezone: i.value,
3072
3073
  "championship-name": e.championshipName,
3073
3074
  "main-element": r.value,
3074
3075
  "auto-refresh": t.autoRefresh,
3075
- "scroll-offset": p.value,
3076
+ "scroll-offset": g.value,
3076
3077
  "scroll-to-game-date": s.value
3077
3078
  }, {
3078
- default: k(({
3079
+ default: x(({
3079
3080
  seasons: A,
3080
3081
  championshipId: L,
3081
- sections: y,
3082
+ sections: f,
3082
3083
  section: S,
3083
3084
  teams: T,
3084
3085
  games: C,
3085
3086
  months: H,
3086
3087
  isLoading: j,
3087
3088
  subPhases: ne,
3088
- subPhase: P,
3089
+ subPhase: N,
3089
3090
  selectedMonth: le,
3090
- selectedTeam: ht,
3091
- selectedTeamGameType: ft,
3092
- changeSeason: yt,
3091
+ selectedTeam: ft,
3092
+ selectedTeamGameType: yt,
3093
+ changeSeason: wt,
3093
3094
  changeMonth: E,
3094
3095
  changeSection: Ue,
3095
3096
  changeTeam: sr,
3096
3097
  changeTeamType: cr,
3097
3098
  changeSubSection: Vt
3098
3099
  }) => [
3099
- x(Ol, {
3100
+ w(Ol, {
3100
3101
  ref_key: "selectorElement",
3101
3102
  ref: o,
3102
3103
  class: "is-sticky is-blured-bg",
@@ -3105,50 +3106,50 @@ const el = { render: Zn }, tl = { class: "is-info is-text-base" }, al = ["href"]
3105
3106
  months: H,
3106
3107
  "selected-month": le,
3107
3108
  teams: T,
3108
- "selected-team": ht,
3109
- "selected-team-game-type": ft,
3110
- "onUpdate:championshipId": yt,
3109
+ "selected-team": ft,
3110
+ "selected-team-game-type": yt,
3111
+ "onUpdate:championshipId": wt,
3111
3112
  "onUpdate:selectedMonth": E,
3112
3113
  "onUpdate:selectedTeam": sr,
3113
3114
  "onUpdate:selectedTeamGameType": cr
3114
3115
  }, null, 8, ["seasons", "championship-id", "months", "selected-month", "teams", "selected-team", "selected-team-game-type", "onUpdate:championshipId", "onUpdate:selectedMonth", "onUpdate:selectedTeam", "onUpdate:selectedTeamGameType"]),
3115
3116
  c("div", Fl, [
3116
- (d(!0), h(O, null, U(y, (J) => (d(), h("button", {
3117
+ (d(!0), h(O, null, U(f, (J) => (d(), h("button", {
3117
3118
  key: J.id,
3118
3119
  class: G(["tab-button", { "is-active": J.name === S }]),
3119
3120
  onClick: (Le) => Ue(J.name)
3120
- }, b(J.name), 11, Gl))), 128))
3121
+ }, u(J.name), 11, Gl))), 128))
3121
3122
  ]),
3122
3123
  ne.length > 1 ? (d(), h("div", Ml, [
3123
3124
  c("button", {
3124
- class: G({ "is-active": P === "" }),
3125
+ class: G({ "is-active": N === "" }),
3125
3126
  onClick: (J) => Vt("")
3126
- }, b(z("common.all")), 11, Dl),
3127
+ }, u(z("common.all")), 11, Dl),
3127
3128
  (d(!0), h(O, null, U(ne, ({ name: J }) => (d(), h("button", {
3128
3129
  key: J,
3129
- class: G({ "is-active": J === P }),
3130
+ class: G({ "is-active": J === N }),
3130
3131
  onClick: (Le) => Vt(J)
3131
- }, b(J), 11, Kl))), 128))
3132
+ }, u(J), 11, Kl))), 128))
3132
3133
  ])) : I("", !0),
3133
3134
  t.timezoneSelector ? (d(), $(n(fr), {
3134
3135
  key: t.locale,
3135
3136
  class: "is-mb-5",
3136
3137
  locale: t.locale,
3137
3138
  "current-zone": i.value,
3138
- onChange: u
3139
+ onChange: b
3139
3140
  }, null, 8, ["locale", "current-zone"])) : I("", !0),
3140
- j ? (d(), $(n($t), { key: 2 })) : (d(!0), h(O, { key: 3 }, U(C.rows, (J, Le) => (d(), h("div", {
3141
+ j ? (d(), $(n(at), { key: 2 })) : (d(!0), h(O, { key: 3 }, U(C.rows, (J, Le) => (d(), h("div", {
3141
3142
  key: Le,
3142
3143
  "data-gamedate": Le
3143
3144
  }, [
3144
- c("span", Bl, b(n(et)(new Date(Le), "L dddd", i.value, e.locale)), 1),
3145
+ c("span", Bl, u(n(et)(new Date(Le), "L dddd", i.value, e.locale)), 1),
3145
3146
  c("div", Vl, [
3146
3147
  (d(!0), h(O, null, U(J, (qt) => (d(), $(xl, {
3147
3148
  key: qt.id,
3148
3149
  game: qt,
3149
3150
  "offset-name": l.value,
3150
3151
  "game-link": v,
3151
- target: f.value
3152
+ target: y.value
3152
3153
  }, null, 8, ["game", "offset-name", "target"]))), 128))
3153
3154
  ])
3154
3155
  ], 8, Ul))), 128))
@@ -3163,7 +3164,7 @@ const el = { render: Zn }, tl = { class: "is-info is-text-base" }, al = ["href"]
3163
3164
  }, 8, ["locale"])
3164
3165
  ], 512));
3165
3166
  }
3166
- }, Yl = /* @__PURE__ */ he(Wl, [["styles", [ve, jl, Kt, er, Rl]]]), Ye = "live", St = "default", Hl = 1e3 * 60 * 2, Jl = {
3167
+ }, Yl = /* @__PURE__ */ he(Wl, [["styles", [ve, jl, Kt, er, Rl]]]), Ye = "live", Tt = "default", Hl = 1e3 * 60 * 2, Jl = {
3167
3168
  index: {
3168
3169
  label: "table.blank",
3169
3170
  class: "is-text-left"
@@ -3292,15 +3293,15 @@ const as = {
3292
3293
  }), { onError: o } = ge(), { sort: i, change: l } = At({
3293
3294
  sortTarget: "",
3294
3295
  orders: []
3295
- }), { isLoading: s, execute: p } = D({
3296
+ }), { isLoading: s, execute: g } = D({
3296
3297
  options: {
3297
3298
  path: "/v2/championship-seasons",
3298
3299
  apiKey: t.apiKey,
3299
3300
  params: { championshipName: r.championshipName }
3300
3301
  },
3301
- transform: (j) => vt(j, r),
3302
+ transform: (j) => ht(j, r),
3302
3303
  onError: o
3303
- }), { isLoading: u, execute: v } = D({
3304
+ }), { isLoading: b, execute: v } = D({
3304
3305
  options: {
3305
3306
  path: "/v2/championship-sections",
3306
3307
  apiKey: t.apiKey,
@@ -3309,9 +3310,9 @@ const as = {
3309
3310
  transform: (j) => hi(j, r),
3310
3311
  onError: o
3311
3312
  }), {
3312
- isLoading: f,
3313
+ isLoading: y,
3313
3314
  state: m,
3314
- execute: g
3315
+ execute: p
3315
3316
  } = D({
3316
3317
  options: {
3317
3318
  path: "/v2/standings",
@@ -3319,20 +3320,20 @@ const as = {
3319
3320
  params: _(() => ({ championshipId: r.championshipId, division: r.section }))
3320
3321
  },
3321
3322
  onError: o
3322
- }), { state: z, execute: w } = D({
3323
+ }), { state: z, execute: P } = D({
3323
3324
  options: {
3324
3325
  path: "/v2/games-list",
3325
3326
  apiKey: t.apiKey,
3326
3327
  params: _(() => ({ championshipId: r.championshipId, division: r.section }))
3327
3328
  },
3328
3329
  onError: o
3329
- }), { isActive: N, rows: A } = Xl(m, z), L = _(() => [u.value, s.value, f.value].some(Boolean)), y = _(() => Oe(n(m)).teamName().sorted(i).addContinuousIndex().value()), S = _(() => Oe(n(A)).addContinuousIndex().value());
3330
- te([p, v, g, w]), so(w, Hl);
3330
+ }), { isActive: k, rows: A } = Xl(m, z), L = _(() => [b.value, s.value, y.value].some(Boolean)), f = _(() => Oe(n(m)).teamName().sorted(i).addContinuousIndex().value()), S = _(() => Oe(n(A)).addContinuousIndex().value());
3331
+ te([g, v, p, P]), so(P, Hl);
3331
3332
  function T(j) {
3332
- r.championshipId = j, a.championshipId = j, a.section = null, te([v, g]);
3333
+ r.championshipId = j, a.championshipId = j, a.section = null, te([v, p]);
3333
3334
  }
3334
3335
  function C(j) {
3335
- r.section = j, a.section = j, g();
3336
+ r.section = j, a.section = j, p();
3336
3337
  }
3337
3338
  function H(j) {
3338
3339
  r.standingsType = j;
@@ -3341,8 +3342,8 @@ const as = {
3341
3342
  ...r,
3342
3343
  sort: n(i),
3343
3344
  isLoading: L.value,
3344
- isLiveStandingsActive: n(N),
3345
- teams: y.value,
3345
+ isLiveStandingsActive: n(k),
3346
+ teams: f.value,
3346
3347
  liveRows: S.value,
3347
3348
  onSort: n(l),
3348
3349
  changeSeason: T,
@@ -3398,17 +3399,17 @@ const as = {
3398
3399
  const a = e, r = t, { t: o } = Q(), { championshipId: i } = La(a, r);
3399
3400
  return (l, s) => (d(), h("div", rs, [
3400
3401
  c("div", null, [
3401
- c("label", os, b(n(o)("selection.season")), 1),
3402
- x(n(re), {
3402
+ c("label", os, u(n(o)("selection.season")), 1),
3403
+ w(n(re), {
3403
3404
  id: "season",
3404
3405
  modelValue: n(i),
3405
- "onUpdate:modelValue": s[0] || (s[0] = (p) => Ie(i) ? i.value = p : null)
3406
+ "onUpdate:modelValue": s[0] || (s[0] = (g) => Ie(i) ? i.value = g : null)
3406
3407
  }, {
3407
- default: k(() => [
3408
- (d(!0), h(O, null, U(e.seasons, (p) => (d(), h("option", {
3409
- key: p.championshipId,
3410
- value: p.championshipId
3411
- }, b(p.seasonName), 9, is))), 128))
3408
+ default: x(() => [
3409
+ (d(!0), h(O, null, U(e.seasons, (g) => (d(), h("option", {
3410
+ key: g.championshipId,
3411
+ value: g.championshipId
3412
+ }, u(g.seasonName), 9, is))), 128))
3412
3413
  ]),
3413
3414
  _: 1
3414
3415
  }, 8, ["modelValue"])
@@ -3499,115 +3500,115 @@ const ca = { render: ds }, ps = ["href"], gs = { class: "is-team-name-long" }, u
3499
3500
  },
3500
3501
  emits: ["sort"],
3501
3502
  setup(e, { emit: t }) {
3502
- const a = e, r = t, { columns: o, hideColumns: i } = va(a), { onError: l } = ge(), { columns: s, error: p } = ee(
3503
+ const a = e, r = t, { columns: o, hideColumns: i } = va(a), { onError: l } = ge(), { columns: s, error: g } = ee(
3503
3504
  o,
3504
3505
  i,
3505
3506
  _(() => ({
3506
3507
  offsetName: a.offsetName
3507
3508
  }))
3508
3509
  );
3509
- p.value && l(
3510
- new wt.WidgetError(wt.UndefinedColumn.message, {
3511
- ...wt.UndefinedColumn.options,
3512
- cause: { column: p.value }
3510
+ g.value && l(
3511
+ new xt.WidgetError(xt.UndefinedColumn.message, {
3512
+ ...xt.UndefinedColumn.options,
3513
+ cause: { column: g.value }
3513
3514
  })
3514
3515
  );
3515
- const u = (v) => r("sort", v);
3516
- return (v, f) => (d(), $(n(ie), null, {
3517
- default: k(({ el: m }) => [
3518
- x(n(ce), {
3516
+ const b = (v) => r("sort", v);
3517
+ return (v, y) => (d(), $(n(ie), null, {
3518
+ default: x(({ el: m }) => [
3519
+ w(n(ce), {
3519
3520
  columns: n(s),
3520
3521
  sort: a.sort,
3521
3522
  rows: a.rows,
3522
3523
  "is-loading": e.isLoading,
3523
3524
  "append-to": e.appendTo || m,
3524
- onSort: u
3525
+ onSort: b
3525
3526
  }, {
3526
- "cell-index": k(({ row: g }) => [
3527
+ "cell-index": x(({ row: p }) => [
3527
3528
  c("span", {
3528
- class: G(g.indexClass)
3529
- }, b(g.index), 3)
3529
+ class: G(p.indexClass)
3530
+ }, u(p.index), 3)
3530
3531
  ]),
3531
- "cell-teamLogo": k(({ row: g }) => {
3532
- var z, w;
3532
+ "cell-teamLogo": x(({ row: p }) => {
3533
+ var z, P;
3533
3534
  return [
3534
3535
  (d(), $(n(V), {
3535
- key: ((z = g.team) == null ? void 0 : z.id) ?? g.id,
3536
+ key: ((z = p.team) == null ? void 0 : z.id) ?? p.id,
3536
3537
  class: "is-logo-image",
3537
- src: (w = g.team) == null ? void 0 : w.logo
3538
+ src: (P = p.team) == null ? void 0 : P.logo
3538
3539
  }, null, 8, ["src"]))
3539
3540
  ];
3540
3541
  }),
3541
- "cell-teamName": k(({ row: g }) => {
3542
- var z, w, N, A, L;
3542
+ "cell-teamName": x(({ row: p }) => {
3543
+ var z, P, k, A, L;
3543
3544
  return [
3544
3545
  e.isTeamLinked ? (d(), h("a", {
3545
3546
  key: 0,
3546
- href: e.externalTeamResolver((z = g.team) == null ? void 0 : z.longName),
3547
+ href: e.externalTeamResolver((z = p.team) == null ? void 0 : z.longName),
3547
3548
  target: "_blank"
3548
3549
  }, [
3549
- c("span", gs, b((w = g.team) == null ? void 0 : w.longName), 1),
3550
- c("span", us, b((N = g.team) == null ? void 0 : N.shortName), 1),
3551
- g.isActiveGame && g.diff !== 0 ? (d(), h(O, { key: 0 }, [
3552
- g.diff > 0 ? (d(), $(n(ca), {
3550
+ c("span", gs, u((P = p.team) == null ? void 0 : P.longName), 1),
3551
+ c("span", us, u((k = p.team) == null ? void 0 : k.shortName), 1),
3552
+ p.isActiveGame && p.diff !== 0 ? (d(), h(O, { key: 0 }, [
3553
+ p.diff > 0 ? (d(), $(n(ca), {
3553
3554
  key: 0,
3554
3555
  width: "12",
3555
3556
  height: "12",
3556
3557
  class: "is-text-positive"
3557
3558
  })) : I("", !0),
3558
- g.diff < 0 ? (d(), $(n(sa), {
3559
+ p.diff < 0 ? (d(), $(n(sa), {
3559
3560
  key: 1,
3560
3561
  width: "12",
3561
3562
  height: "12",
3562
3563
  class: "is-text-negative"
3563
3564
  })) : I("", !0),
3564
3565
  c("span", {
3565
- class: G({ "is-text-positive": g.diff > 0, "is-text-negative": g.diff < 0 })
3566
- }, b(g.diff), 3)
3566
+ class: G({ "is-text-positive": p.diff > 0, "is-text-negative": p.diff < 0 })
3567
+ }, u(p.diff), 3)
3567
3568
  ], 64)) : I("", !0)
3568
3569
  ], 8, ps)) : (d(), h(O, { key: 1 }, [
3569
3570
  c("span", bs, [
3570
- W(b((A = g.team) == null ? void 0 : A.longName) + " ", 1),
3571
- g.penaltyPoints ? (d(), h("span", ms, f[0] || (f[0] = [
3571
+ W(u((A = p.team) == null ? void 0 : A.longName) + " ", 1),
3572
+ p.penaltyPoints ? (d(), h("span", ms, y[0] || (y[0] = [
3572
3573
  c("sup", null, "*", -1)
3573
3574
  ]))) : I("", !0)
3574
3575
  ]),
3575
3576
  c("span", vs, [
3576
- W(b((L = g.team) == null ? void 0 : L.shortName) + " ", 1),
3577
- g.penaltyPoints ? (d(), h("span", hs, f[1] || (f[1] = [
3577
+ W(u((L = p.team) == null ? void 0 : L.shortName) + " ", 1),
3578
+ p.penaltyPoints ? (d(), h("span", hs, y[1] || (y[1] = [
3578
3579
  c("sup", null, "*", -1)
3579
3580
  ]))) : I("", !0)
3580
3581
  ]),
3581
- g.isActiveGame && g.diff !== 0 ? (d(), h(O, { key: 0 }, [
3582
- g.diff > 0 ? (d(), $(n(ca), {
3582
+ p.isActiveGame && p.diff !== 0 ? (d(), h(O, { key: 0 }, [
3583
+ p.diff > 0 ? (d(), $(n(ca), {
3583
3584
  key: 0,
3584
3585
  width: "12",
3585
3586
  height: "12",
3586
3587
  class: "is-text-positive"
3587
3588
  })) : I("", !0),
3588
- g.diff < 0 ? (d(), $(n(sa), {
3589
+ p.diff < 0 ? (d(), $(n(sa), {
3589
3590
  key: 1,
3590
3591
  width: "12",
3591
3592
  height: "12",
3592
3593
  class: "is-text-negative"
3593
3594
  })) : I("", !0),
3594
3595
  c("span", {
3595
- class: G({ "is-text-positive": g.diff > 0, "is-text-negative": g.diff < 0 })
3596
- }, b(g.diff), 3)
3596
+ class: G({ "is-text-positive": p.diff > 0, "is-text-negative": p.diff < 0 })
3597
+ }, u(p.diff), 3)
3597
3598
  ], 64)) : I("", !0)
3598
3599
  ], 64))
3599
3600
  ];
3600
3601
  }),
3601
- "cell-score": k(({ row: g }) => [
3602
- g.isActiveGame ? (d(), h("span", {
3602
+ "cell-score": x(({ row: p }) => [
3603
+ p.isActiveGame ? (d(), h("span", {
3603
3604
  key: 0,
3604
3605
  class: G(["is-badge is-large", [
3605
- { "is-green": g.scoreType === "W", "is-red": g.scoreType === "L", "is-yellow": g.scoreType === "D" }
3606
+ { "is-green": p.scoreType === "W", "is-red": p.scoreType === "L", "is-yellow": p.scoreType === "D" }
3606
3607
  ]])
3607
- }, b(g.score), 3)) : I("", !0)
3608
+ }, u(p.score), 3)) : I("", !0)
3608
3609
  ]),
3609
- loading: k(() => [
3610
- x(n($t))
3610
+ loading: x(() => [
3611
+ w(n(at))
3611
3612
  ]),
3612
3613
  _: 2
3613
3614
  }, 1032, ["columns", "sort", "rows", "is-loading", "append-to"])
@@ -3639,40 +3640,40 @@ const ca = { render: ds }, ps = ["href"], gs = { class: "is-team-name-long" }, u
3639
3640
  }
3640
3641
  },
3641
3642
  setup(e) {
3642
- const t = e, a = { en: ue, hu: be }, r = K(null), o = (i) => lt(t.externalTeamResolver, i);
3643
+ const t = e, a = { en: ue, hu: be }, r = K(null), o = (i) => st(t.externalTeamResolver, i);
3643
3644
  return (i, l) => (d(), h("div", null, [
3644
- x(n(pe), {
3645
+ w(n(pe), {
3645
3646
  locale: t.locale,
3646
3647
  messages: a
3647
3648
  }, {
3648
- default: k(({ t: s }) => [
3649
- x(n(ze), null, {
3650
- default: k(({ error: p, hasError: u }) => [
3651
- u ? (d(), $(n(Se), {
3649
+ default: x(({ t: s }) => [
3650
+ w(n(ze), null, {
3651
+ default: x(({ error: g, hasError: b }) => [
3652
+ b ? (d(), $(n(Se), {
3652
3653
  key: 0,
3653
- error: p
3654
+ error: g
3654
3655
  }, null, 8, ["error"])) : I("", !0),
3655
- x(as, {
3656
+ w(as, {
3656
3657
  locale: e.locale,
3657
3658
  "championship-name": e.championshipName
3658
3659
  }, {
3659
- default: k(({
3660
+ default: x(({
3660
3661
  sort: v,
3661
- teams: f,
3662
+ teams: y,
3662
3663
  seasons: m,
3663
- section: g,
3664
+ section: p,
3664
3665
  sections: z,
3665
- liveRows: w,
3666
- isLoading: N,
3666
+ liveRows: P,
3667
+ isLoading: k,
3667
3668
  standingsType: A,
3668
3669
  championshipId: L,
3669
- isLiveStandingsActive: y,
3670
+ isLiveStandingsActive: f,
3670
3671
  onSort: S,
3671
3672
  changeSeason: T,
3672
3673
  changeSection: C,
3673
3674
  onChangeStandingsType: H
3674
3675
  }) => [
3675
- x(ns, {
3676
+ w(ns, {
3676
3677
  seasons: m,
3677
3678
  "championship-id": L,
3678
3679
  "onUpdate:championshipId": T
@@ -3680,44 +3681,44 @@ const ca = { render: ds }, ps = ["href"], gs = { class: "is-team-name-long" }, u
3680
3681
  c("div", ys, [
3681
3682
  (d(!0), h(O, null, U(z, (j) => (d(), h("button", {
3682
3683
  key: j.phaseId,
3683
- class: G(["tab-button", { "is-active": j.phaseName === g }]),
3684
+ class: G(["tab-button", { "is-active": j.phaseName === p }]),
3684
3685
  onClick: (ne) => C(j.phaseName)
3685
- }, b(j.phaseName), 11, ws))), 128))
3686
+ }, u(j.phaseName), 11, ws))), 128))
3686
3687
  ]),
3687
- y ? (d(), h("div", xs, [
3688
+ f ? (d(), h("div", xs, [
3688
3689
  c("button", {
3689
3690
  class: G({ "is-active": A === n(Ye) }),
3690
3691
  onClick: (j) => H(n(Ye))
3691
- }, b(s("standings.live")), 11, ks),
3692
+ }, u(s("standings.live")), 11, ks),
3692
3693
  c("button", {
3693
- class: G({ "is-active": A === n(St) }),
3694
- onClick: (j) => H(n(St))
3695
- }, b(s("standings.default")), 11, _s)
3694
+ class: G({ "is-active": A === n(Tt) }),
3695
+ onClick: (j) => H(n(Tt))
3696
+ }, u(s("standings.default")), 11, _s)
3696
3697
  ])) : I("", !0),
3697
- A === n(Ye) && y ? (d(), $(da, {
3698
+ A === n(Ye) && f ? (d(), $(da, {
3698
3699
  key: 1,
3699
- rows: w.rows,
3700
+ rows: P.rows,
3700
3701
  columns: n(Jl),
3701
3702
  "external-team-resolver": o,
3702
- "is-loading": N,
3703
+ "is-loading": k,
3703
3704
  "append-to": r.value
3704
3705
  }, null, 8, ["rows", "columns", "is-loading", "append-to"])) : I("", !0),
3705
- A === n(St) || !y ? (d(), $(da, {
3706
+ A === n(Tt) || !f ? (d(), $(da, {
3706
3707
  key: 2,
3707
- rows: f.rows,
3708
+ rows: y.rows,
3708
3709
  columns: n(Ar),
3709
3710
  sort: v,
3710
3711
  "external-team-resolver": o,
3711
3712
  "append-to": r.value,
3712
- "is-loading": N,
3713
+ "is-loading": k,
3713
3714
  onSort: S
3714
3715
  }, null, 8, ["rows", "columns", "sort", "append-to", "is-loading", "onSort"])) : I("", !0),
3715
- x(n(Yt), {
3716
- rows: f.rows,
3716
+ w(n(Yt), {
3717
+ rows: y.rows,
3717
3718
  "additional-key": "inheritedPoints"
3718
3719
  }, null, 8, ["rows"]),
3719
- x(n(Yt), {
3720
- rows: f.rows,
3720
+ w(n(Yt), {
3721
+ rows: y.rows,
3721
3722
  "additional-key": "penaltyPoints"
3722
3723
  }, null, 8, ["rows"])
3723
3724
  ]),
@@ -3896,9 +3897,9 @@ function Is(e) {
3896
3897
  ];
3897
3898
  }
3898
3899
  function Ps(e) {
3899
- return ae(mt(Pe(q("championshipId"))), me(oe(["championshipId", "seasonName"])))(e);
3900
+ return ae(vt(Pe(q("championshipId"))), me(oe(["championshipId", "seasonName"])))(e);
3900
3901
  }
3901
- const Ns = (e) => mt(Mt(q("teamName")), e);
3902
+ const Ns = (e) => vt(Mt(q("teamName")), e);
3902
3903
  function $s(e) {
3903
3904
  return e.report ? e.report : e.type ? e.type === De ? "points" : "teamAttandance" : "points";
3904
3905
  }
@@ -3975,102 +3976,102 @@ const As = {
3975
3976
  setup(e, { emit: t }) {
3976
3977
  const a = e, r = t, { t: o } = Q(), i = _({
3977
3978
  get: () => a.championshipId,
3978
- set: (f) => r("onSeasonChange", f)
3979
+ set: (y) => r("onSeasonChange", y)
3979
3980
  }), l = _({
3980
3981
  get: () => a.phaseId,
3981
- set: (f) => r("onSectionChange", f)
3982
+ set: (y) => r("onSectionChange", y)
3982
3983
  }), s = _({
3983
3984
  get: () => a.currentReport,
3984
- set: (f) => r("onReportChange", f)
3985
- }), p = _({
3985
+ set: (y) => r("onReportChange", y)
3986
+ }), g = _({
3986
3987
  get: () => a.teamFilter,
3987
- set: (f) => r("onTeamChange", f)
3988
- }), u = _({
3988
+ set: (y) => r("onTeamChange", y)
3989
+ }), b = _({
3989
3990
  get: () => a.playerFilter,
3990
- set: (f) => r("onPlayerInput", f)
3991
+ set: (y) => r("onPlayerInput", y)
3991
3992
  });
3992
- function v(f) {
3993
- r("onStatTypeChange", f);
3993
+ function v(y) {
3994
+ r("onStatTypeChange", y);
3994
3995
  }
3995
- return (f, m) => (d(), h(O, null, [
3996
+ return (y, m) => (d(), h(O, null, [
3996
3997
  c("div", As, [
3997
3998
  c("div", null, [
3998
- c("label", Ls, b(n(o)("selection.season")), 1),
3999
- x(n(re), {
3999
+ c("label", Ls, u(n(o)("selection.season")), 1),
4000
+ w(n(re), {
4000
4001
  id: "season",
4001
4002
  modelValue: i.value,
4002
- "onUpdate:modelValue": m[0] || (m[0] = (g) => i.value = g)
4003
+ "onUpdate:modelValue": m[0] || (m[0] = (p) => i.value = p)
4003
4004
  }, {
4004
- default: k(() => [
4005
- (d(!0), h(O, null, U(e.seasons, (g) => (d(), h("option", {
4006
- key: g.championshipId,
4007
- value: g.championshipId
4008
- }, b(g.seasonName), 9, Cs))), 128))
4005
+ default: x(() => [
4006
+ (d(!0), h(O, null, U(e.seasons, (p) => (d(), h("option", {
4007
+ key: p.championshipId,
4008
+ value: p.championshipId
4009
+ }, u(p.seasonName), 9, Cs))), 128))
4009
4010
  ]),
4010
4011
  _: 1
4011
4012
  }, 8, ["modelValue"])
4012
4013
  ]),
4013
4014
  c("div", null, [
4014
- c("label", Es, b(n(o)("selection.section")), 1),
4015
- x(n(re), {
4015
+ c("label", Es, u(n(o)("selection.section")), 1),
4016
+ w(n(re), {
4016
4017
  id: "section",
4017
4018
  modelValue: l.value,
4018
- "onUpdate:modelValue": m[1] || (m[1] = (g) => l.value = g)
4019
+ "onUpdate:modelValue": m[1] || (m[1] = (p) => l.value = p)
4019
4020
  }, {
4020
- default: k(() => [
4021
- (d(!0), h(O, null, U(e.sections, (g) => (d(), h("option", {
4022
- key: g.phaseId,
4023
- value: g.phaseId
4024
- }, b(g.phaseName), 9, Os))), 128))
4021
+ default: x(() => [
4022
+ (d(!0), h(O, null, U(e.sections, (p) => (d(), h("option", {
4023
+ key: p.phaseId,
4024
+ value: p.phaseId
4025
+ }, u(p.phaseName), 9, Os))), 128))
4025
4026
  ]),
4026
4027
  _: 1
4027
4028
  }, 8, ["modelValue"])
4028
4029
  ]),
4029
4030
  c("div", null, [
4030
- c("label", js, b(n(o)("selection.report")), 1),
4031
- x(n(re), {
4031
+ c("label", js, u(n(o)("selection.report")), 1),
4032
+ w(n(re), {
4032
4033
  id: "report",
4033
4034
  modelValue: s.value,
4034
- "onUpdate:modelValue": m[2] || (m[2] = (g) => s.value = g)
4035
+ "onUpdate:modelValue": m[2] || (m[2] = (p) => s.value = p)
4035
4036
  }, {
4036
- default: k(() => [
4037
- (d(!0), h(O, null, U(e.reports, ({ name: g, value: z }) => (d(), h("option", {
4037
+ default: x(() => [
4038
+ (d(!0), h(O, null, U(e.reports, ({ name: p, value: z }) => (d(), h("option", {
4038
4039
  key: z,
4039
4040
  value: z
4040
- }, b(g), 9, Rs))), 128))
4041
+ }, u(p), 9, Rs))), 128))
4041
4042
  ]),
4042
4043
  _: 1
4043
4044
  }, 8, ["modelValue"])
4044
4045
  ]),
4045
4046
  e.reportType === "players" ? (d(), h(O, { key: 0 }, [
4046
4047
  c("div", null, [
4047
- c("label", Fs, b(n(o)("selection.teams")), 1),
4048
- x(n(re), {
4048
+ c("label", Fs, u(n(o)("selection.teams")), 1),
4049
+ w(n(re), {
4049
4050
  id: "teams",
4050
- modelValue: p.value,
4051
- "onUpdate:modelValue": m[3] || (m[3] = (g) => p.value = g),
4051
+ modelValue: g.value,
4052
+ "onUpdate:modelValue": m[3] || (m[3] = (p) => g.value = p),
4052
4053
  disabled: e.reportType !== "players"
4053
4054
  }, {
4054
- default: k(() => [
4055
- c("option", Gs, b(n(o)("common.all")), 1),
4056
- (d(!0), h(O, null, U(e.teams, ({ teamId: g, teamName: z }) => (d(), h("option", {
4057
- key: g,
4058
- value: g
4059
- }, b(z), 9, Ms))), 128))
4055
+ default: x(() => [
4056
+ c("option", Gs, u(n(o)("common.all")), 1),
4057
+ (d(!0), h(O, null, U(e.teams, ({ teamId: p, teamName: z }) => (d(), h("option", {
4058
+ key: p,
4059
+ value: p
4060
+ }, u(z), 9, Ms))), 128))
4060
4061
  ]),
4061
4062
  _: 1
4062
4063
  }, 8, ["modelValue", "disabled"])
4063
4064
  ]),
4064
4065
  c("div", null, [
4065
- c("label", Ds, b(n(o)("selection.filterName")), 1),
4066
+ c("label", Ds, u(n(o)("selection.filterName")), 1),
4066
4067
  br(c("input", {
4067
4068
  id: "player",
4068
- "onUpdate:modelValue": m[4] || (m[4] = (g) => u.value = g),
4069
+ "onUpdate:modelValue": m[4] || (m[4] = (p) => b.value = p),
4069
4070
  type: "text",
4070
4071
  class: "base-input",
4071
4072
  disabled: e.reportType !== "players"
4072
4073
  }, null, 8, Ks), [
4073
- [mr, u.value]
4074
+ [mr, b.value]
4074
4075
  ])
4075
4076
  ])
4076
4077
  ], 64)) : I("", !0)
@@ -4079,13 +4080,13 @@ const As = {
4079
4080
  c("button", {
4080
4081
  type: "button",
4081
4082
  class: G(["tab-button", { "is-active": e.reportType === n(De) }]),
4082
- onClick: m[5] || (m[5] = (g) => v(n(De)))
4083
- }, b(n(o)("selection.players")), 3),
4083
+ onClick: m[5] || (m[5] = (p) => v(n(De)))
4084
+ }, u(n(o)("selection.players")), 3),
4084
4085
  c("button", {
4085
4086
  type: "button",
4086
4087
  class: G(["tab-button", { "is-active": e.reportType === n(pa) }]),
4087
- onClick: m[6] || (m[6] = (g) => v(n(pa)))
4088
- }, b(n(o)("selection.teams")), 3)
4088
+ onClick: m[6] || (m[6] = (p) => v(n(pa)))
4089
+ }, u(n(o)("selection.teams")), 3)
4089
4090
  ])
4090
4091
  ], 64));
4091
4092
  }
@@ -4131,33 +4132,33 @@ const As = {
4131
4132
  i.columns = l.columns, i.api = l.api;
4132
4133
  const s = _(
4133
4134
  () => i.reportType === De ? Ts(a) : Is(a)
4134
- ), { page: p, change: u } = wa(), { sort: v, change: f } = At({
4135
+ ), { page: g, change: b } = wa(), { sort: v, change: y } = At({
4135
4136
  sortTarget: "points",
4136
4137
  orders: [{ target: "points", direction: B }]
4137
4138
  });
4138
4139
  async function m() {
4139
4140
  try {
4140
4141
  i.loading = !0;
4141
- const P = await Be("/v2/championship-seasons", t.apiKey, {
4142
+ const N = await Be("/v2/championship-seasons", t.apiKey, {
4142
4143
  championshipName: t.championshipName
4143
4144
  });
4144
- if (P.length === 0)
4145
+ if (N.length === 0)
4145
4146
  throw new xa(Ze.message, Ze.options);
4146
- i.seasons = Ps(P), i.championshipId || (i.championshipId = fe(i.seasons).championshipId);
4147
- } catch (P) {
4148
- r(P);
4147
+ i.seasons = Ps(N), i.championshipId || (i.championshipId = fe(i.seasons).championshipId);
4148
+ } catch (N) {
4149
+ r(N);
4149
4150
  } finally {
4150
4151
  i.loading = !1;
4151
4152
  }
4152
4153
  }
4153
- async function g() {
4154
- var P;
4154
+ async function p() {
4155
+ var N;
4155
4156
  try {
4156
4157
  i.loading = !0;
4157
4158
  const le = await Be("/v2/championship-sections", t.apiKey, {
4158
4159
  championshipId: i.championshipId
4159
4160
  });
4160
- i.sections = Me(q("phaseName"))(zr(Ge([0, "phases"], le))), i.phaseId = i.phaseId || ((P = fe(i.sections)) == null ? void 0 : P.phaseId);
4161
+ i.sections = Me(q("phaseName"))(zr(Ge([0, "phases"], le))), i.phaseId = i.phaseId || ((N = fe(i.sections)) == null ? void 0 : N.phaseId);
4161
4162
  } catch (le) {
4162
4163
  r(le);
4163
4164
  } finally {
@@ -4166,16 +4167,16 @@ const As = {
4166
4167
  }
4167
4168
  async function z() {
4168
4169
  try {
4169
- i.loading = !0, i.rows = [], u(1);
4170
- const P = await Be(i.api, t.apiKey, {
4170
+ i.loading = !0, i.rows = [], b(1);
4171
+ const N = await Be(i.api, t.apiKey, {
4171
4172
  championshipId: i.championshipId,
4172
4173
  phaseId: i.phaseId,
4173
4174
  ...i.apiParams
4174
4175
  });
4175
- i.rows = at(
4176
- P,
4177
- nt,
4178
- rt,
4176
+ i.rows = rt(
4177
+ N,
4178
+ lt,
4179
+ ot,
4179
4180
  ka(["mip"]),
4180
4181
  Sr([
4181
4182
  "dvgTime",
@@ -4198,58 +4199,58 @@ const As = {
4198
4199
  "sh2AToi"
4199
4200
  ])
4200
4201
  );
4201
- } catch (P) {
4202
- r(P);
4202
+ } catch (N) {
4203
+ r(N);
4203
4204
  } finally {
4204
4205
  i.loading = !1;
4205
4206
  }
4206
4207
  }
4207
- async function w() {
4208
+ async function P() {
4208
4209
  try {
4209
4210
  i.loading = !0, i.rows = [];
4210
- const P = await Be("/v2/championship-teams", t.apiKey, {
4211
+ const N = await Be("/v2/championship-teams", t.apiKey, {
4211
4212
  championshipId: i.championshipId
4212
4213
  });
4213
- i.teams = Ns(P);
4214
- } catch (P) {
4215
- r(P);
4214
+ i.teams = Ns(N);
4215
+ } catch (N) {
4216
+ r(N);
4216
4217
  } finally {
4217
4218
  i.loading = !1;
4218
4219
  }
4219
4220
  }
4220
- const N = _(
4221
- () => Oe(i.rows).filter(i.teamFilter, [["team", "id"]], !0).filter(i.playerFilter, ["name"]).sorted(v).addIndex(v.sortTarget).pagination(n(p), t.limit).value()
4222
- ), A = _(() => [(p.value - 1) * t.limit + 1, Math.min(p.value * t.limit, N.value.totalItems)]);
4221
+ const k = _(
4222
+ () => Oe(i.rows).filter(i.teamFilter, [["team", "id"]], !0).filter(i.playerFilter, ["name"]).sorted(v).addIndex(v.sortTarget).pagination(n(g), t.limit).value()
4223
+ ), A = _(() => [(g.value - 1) * t.limit + 1, Math.min(g.value * t.limit, k.value.totalItems)]);
4223
4224
  function L() {
4224
- const P = ga.get(i.currentReport);
4225
- i.columns = P.columns, i.api = P.api, i.apiParams = P.params || {}, v.sortTarget = P.sort.sortTarget, v.orders = P.sort.orders;
4225
+ const N = ga.get(i.currentReport);
4226
+ i.columns = N.columns, i.api = N.api, i.apiParams = N.params || {}, v.sortTarget = N.sort.sortTarget, v.orders = N.sort.orders;
4226
4227
  }
4227
- async function y(P) {
4228
- i.championshipId = P, o.championshipId = P, i.phaseId = null, o.phaseId = null, await g(), o.section = i.section, await w(), await z();
4228
+ async function f(N) {
4229
+ i.championshipId = N, o.championshipId = N, i.phaseId = null, o.phaseId = null, await p(), o.section = i.section, await P(), await z();
4229
4230
  }
4230
- async function S(P) {
4231
- i.phaseId = P, o.phaseId = P, await z();
4231
+ async function S(N) {
4232
+ i.phaseId = N, o.phaseId = N, await z();
4232
4233
  }
4233
- function T(P) {
4234
- i.currentReport = P, o.report = P, L(), z();
4234
+ function T(N) {
4235
+ i.currentReport = N, o.report = N, L(), z();
4235
4236
  }
4236
- function C(P) {
4237
- u(1), i.teamFilter = Number(P) || null, o.teamFilter = P || null;
4237
+ function C(N) {
4238
+ b(1), i.teamFilter = Number(N) || null, o.teamFilter = N || null;
4238
4239
  }
4239
- function H(P) {
4240
- u(1), P instanceof Event && (P = P.target.value), i.playerFilter = P;
4240
+ function H(N) {
4241
+ b(1), N instanceof Event && (N = N.target.value), i.playerFilter = N;
4241
4242
  }
4242
- function j(P) {
4243
- i.reportType = P, i.currentReport = fe(s.value).value, i.teamFilter = null, i.playerFilter = "", o.report = i.currentReport, o.teamFilter = null, o.type = P, L(), z();
4243
+ function j(N) {
4244
+ i.reportType = N, i.currentReport = fe(s.value).value, i.teamFilter = null, i.playerFilter = "", o.report = i.currentReport, o.teamFilter = null, o.type = N, L(), z();
4244
4245
  }
4245
4246
  async function ne() {
4246
- await m(), await g(), await w(), L(), await z();
4247
+ await m(), await p(), await P(), L(), await z();
4247
4248
  }
4248
- return ne(), (P, le) => xe(P.$slots, "default", ke(_e({
4249
+ return ne(), (N, le) => xe(N.$slots, "default", ke(_e({
4249
4250
  ...i,
4250
- rows: N.value,
4251
+ rows: k.value,
4251
4252
  sort: n(v),
4252
- page: n(p),
4253
+ page: n(g),
4253
4254
  range: A.value,
4254
4255
  selectorProps: {
4255
4256
  reports: s.value,
@@ -4269,15 +4270,15 @@ const As = {
4269
4270
  )
4270
4271
  },
4271
4272
  selectorListeners: {
4272
- onSeasonChange: y,
4273
+ onSeasonChange: f,
4273
4274
  onSectionChange: S,
4274
4275
  onReportChange: T,
4275
4276
  onStatTypeChange: j,
4276
4277
  onTeamChange: C,
4277
4278
  onPlayerInput: H
4278
4279
  },
4279
- onPaginatorChange: n(u),
4280
- onSort: n(f)
4280
+ onPaginatorChange: n(b),
4281
+ onSort: n(y)
4281
4282
  })));
4282
4283
  }
4283
4284
  }, Vs = `.base-input{padding:.375rem .75rem;font-family:inherit;color:var(--vbr-widget-base-input-color);border:1px solid var(--vbr-widget-base-input-border-color);border-radius:var(--vbr-widget-base-input-border-radius);width:100%;-moz-padding-start:calc(.75rem - 3px);font-size:var(--vbr-widget-base-input-font-size);font-weight:400;line-height:1.5;background-color:#fff;transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out;-webkit-appearance:none;-moz-appearance:none;appearance:none}.base-input:disabled{opacity:.3}.base-input.is-select{padding-right:2.25rem;background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");background-repeat:no-repeat;background-position:right .75rem center;background-size:16px 12px}label{display:block;margin-bottom:3px;color:var(--vbr-widget-form-label-color);font-size:var(--vbr-widget-form-label-font-size);font-weight:700;text-transform:uppercase}.tab-button{padding:var(--vbr-widget-tab-btn-padding);font-family:inherit;font-size:var(--vbr-widget-tab-btn-font-size);font-weight:var(--vbr-widget-tab-btn-font-weight);color:var(--vbr-widget-tab-btn-color);text-transform:var(--vbr-widget-tab-btn-text-transform);background-color:var(--vbr-widget-tab-btn-bg-color);border-color:var(--vbr-widget-tab-btn-border-color);border-width:var(--vbr-widget-tab-btn-border-width);border-style:var(--vbr-widget-tab-btn-border-style);outline:none;box-shadow:none;cursor:pointer}.tab-button:hover{color:var(--vbr-widget-tab-btn-hover-color);border-color:var(--vbr-widget-tab-btn-hover-border-color);background-color:var(--vbr-widget-tab-btn-hover-bg-color)}.tab-button.is-active{color:var(--vbr-widget-tab-btn-active-color);border-color:var(--vbr-widget-tab-btn-active-border-color);background-color:var(--vbr-widget-tab-btn-active-bg-color)}.toggle-group{display:flex;flex-wrap:wrap;gap:var(--vbr-widget-toggle-group-gap);margin-bottom:15px}.toggle-group button{padding:var(--vbr-widget-toggle-group-btn-padding);font-family:inherit;font-size:var(--vbr-widget-toggle-group-btn-size);background-color:var(--vbr-widget-toggle-group-btn-bg-color);border-radius:var(--vbr-widget-toggle-group-btn-radius)}.toggle-group button.is-active{color:var(--vbr-widget-toggle-group-btn-active-color);background-color:var(--vbr-widget-toggle-group-btn-active-bg-color)}`, qs = '.table{border-collapse:collapse;border-spacing:0;color:var(--vbr-widget-table-color);background-color:var(--vbr-widget-table-default-bg-color)}.table table,.table caption,.table tbody,.table tfoot,.table thead,.table tr,.table th,.table td{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}.table :is(th,td){padding:8px;white-space:nowrap;vertical-align:middle;text-align:center}.table :is(th,td).is-text-left{text-align:left}.table :is(th,td).is-text-right{text-align:right}.table th{width:var(--vbr-widget-table-default-column-width);background:var(--vbr-widget-table-header-bg-color);font-size:var(--vbr-widget-table-header-font-size);font-weight:700;color:var(--vbr-widget-table-header-color)}.table th:focus-visible,.table th:hover{background-color:var(--vbr-widget-table-header-hover-bg-color);outline:none}.table th.is-sortable{position:relative;cursor:pointer}.table th.is-sortable .icon-sort{opacity:.5}.table th.is-active{background-color:var(--vbr-widget-table-table-header-active-bg-color);color:var(--vbr-widget-table-header-active-color)}.table th.is-active .icon-sort{opacity:1}.table th.is-asc,.table th.is-desc{position:relative}.table th.is-w-auto{width:auto}.table th .is-icon-sort{width:11px;height:11px;margin-left:5px}.table td.is-active{font-weight:700;color:var(--vbr-widget-table-active-color);background:var(--vbr-widget-table-active-bg-color)}.table td.is-zero{color:var(--vbr-widget-table-zero-color)}.table td.is-possible-empty:empty:before{content:"0";color:var(--vbr-widget-table-zero-color)}.table td .is-text-light,.table td.is-text-light{color:var(--vbr-widget-table-cell-light-color)}.table td .is-text-dark,.table td.is-text-dark{color:var(--vbr-widget-table-cell-dark-color)}.table td .is-logo-image{display:inline-block;vertical-align:middle;width:var(--vbr-widget-table-cell-logo-size);height:var(--vbr-widget-table-cell-logo-size)}.table td .is-portrait-image{display:inline-block;vertical-align:middle;width:var(--vbr-widget-table-cell-portrait-size);height:var(--vbr-widget-table-cell-portrait-size);object-fit:cover;object-position:top;overflow:hidden;border-radius:100%;border:1px solid var(--vbr-widget-primary-color-100)}.table td .is-portrait-image img{width:var(--vbr-widget-table-cell-portrait-size);height:auto}.table td.is-text-bold{font-weight:700}.table td.is-text-italic{font-style:italic}.table td.is-text-xl{font-size:var(--vbr-widget-typography-font-size-700)}.table td .is-text-accent{color:var(--vbr-widget-secondary-color-500)}.table td.is-w-auto{width:auto}.table td.is-horizontal-content{display:inline-flex;align-items:center}.table td.is-text-positive,.table td .is-text-positive{color:var(--vbr-widget-live-game-color)}.table td.is-text-negative,.table td .is-text-negative{color:var(--vbr-widget-danger-color-a400)}.table td.is-has-image{padding:0 2px}.table td .is-duplicated{color:var(--vbr-widget-table-neutral-color)}.table td svg{width:16px;height:16px}.table td button{padding:3px;line-height:0;border:none;outline:none;background-color:transparent}.table td button:hover{background-color:var(--vbr-widget-popover-trigger-hover-bg-color)}.table td button:active,.table td button:focus{background-color:var(--vbr-widget-popover-trigger-focus-bg-color)}.table td a{text-decoration:none}.table td .label{padding:3px 6px;font-size:var(--vbr-widget-typography-font-size-100);font-weight:700;color:var(--vbr-widget-table-label-color);background-color:var(--vbr-widget-table-label-bg-color);border-radius:2px}.table td .label:not(:last-of-type){margin-right:3px}.table td a{color:var(--vbr-widget-link-color)}.table td a:hover{color:var(--vbr-widget-hover-color)}.table td .is-team-name-long{display:block}.table td .is-team-name-short{display:none}@container table-wrapper (max-width: 768px){.table td .is-team-name-long{display:none}.table td .is-team-name-short{display:block}}.table tr.is-highlighted{color:var(--vbr-widget-danger-color-a400)}.table tr.is-optional{opacity:.5}.table tr:nth-child(2n){background:var(--vbr-widget-table-stripped-bg-color)}.table tr:nth-child(2n) td.is-active{background-color:var(--vbr-widget-table-active-even-bg-color)}.table tbody tr:focus-within,.table tbody tr:hover{color:var(--vbr-widget-table-hover-color);background-color:var(--vbr-widget-table-hover-bg-color)}.table tbody tr:focus-within td.is-active,.table tbody tr:hover td.is-active{color:var(--vbr-widget-table-active-hover-color);background-color:var(--vbr-widget-table-active-hover-bg-color)}', Ws = ".table-responsive{container-name:table-wrapper;container-type:inline-size;width:100%;overflow-x:auto}.table-responsive table{width:100%}", Ys = ".paginator{display:flex;flex-direction:row;list-style-type:none;margin:10px 0;padding:0}.paginator button,.paginator div{display:flex;align-items:center;justify-content:center;padding:6px 12px;text-decoration:none;cursor:pointer;color:var(--vbr-widget-paginator-color);border:1px solid var(--vbr-widget-paginator-border-color);background-color:var(--vbr-widget-paginator-bg-color);margin-left:-1px}.paginator button .icon,.paginator div .icon{width:16px;height:16px;margin:0 -4px}.paginator button:hover:not(.paginator button.is-disabled,.paginator button.is-active,.paginator div.is-disabled,.paginator div.is-active),.paginator div:hover:not(.paginator button.is-disabled,.paginator button.is-active,.paginator div.is-disabled,.paginator div.is-active){color:var(--vbr-widget-paginator-hover-color);background-color:var(--vbr-widget-paginator-hover-bg-color)}.paginator button:disabled,.paginator button.is-disabled,.paginator div:disabled,.paginator div.is-disabled{color:var(--vbr-widget-paginator-disabled-color);background-color:var(--vbr-widget-paginator-bg-color);pointer-events:none;cursor:default}.paginator button.is-active,.paginator div.is-active{color:var(--vbr-widget-paginator-active-color);background-color:var(--vbr-widget-paginator-active-bg-color);border-color:var(--vbr-widget-paginator-active-bg-color);cursor:default}", Hs = { style: { display: "flex", "align-items": "center" } }, Js = {
@@ -4310,59 +4311,59 @@ const As = {
4310
4311
  ...$r
4311
4312
  },
4312
4313
  setup(e) {
4313
- const t = e, a = { en: ue, hu: be }, r = K(null), o = (l) => lt(t.externalTeamResolver, l), i = (l) => Ot(t.externalPlayerLink, l);
4314
+ const t = e, a = { en: ue, hu: be }, r = K(null), o = (l) => st(t.externalTeamResolver, l), i = (l) => Ot(t.externalPlayerLink, l);
4314
4315
  return (l, s) => (d(), h("div", null, [
4315
- x(n(pe), {
4316
+ w(n(pe), {
4316
4317
  locale: t.locale,
4317
4318
  messages: a
4318
4319
  }, {
4319
- default: k(() => [
4320
- x(n(ze), null, {
4321
- default: k(({ hasError: p, error: u }) => [
4322
- x(Bs, {
4320
+ default: x(() => [
4321
+ w(n(ze), null, {
4322
+ default: x(({ hasError: g, error: b }) => [
4323
+ w(Bs, {
4323
4324
  "championship-name": e.championshipName,
4324
4325
  "championship-id": e.championshipId,
4325
4326
  limit: t.limit,
4326
4327
  "api-key": e.apiKey
4327
4328
  }, {
4328
- default: k(({
4329
+ default: x(({
4329
4330
  sort: v,
4330
- columns: f,
4331
+ columns: y,
4331
4332
  rows: m,
4332
- page: g,
4333
+ page: p,
4333
4334
  range: z,
4334
- loading: w,
4335
- selectorProps: N,
4335
+ loading: P,
4336
+ selectorProps: k,
4336
4337
  selectorListeners: A,
4337
4338
  onPaginatorChange: L,
4338
- onSort: y
4339
+ onSort: f
4339
4340
  }) => [
4340
- p ? (d(), $(n(Se), {
4341
+ g ? (d(), $(n(Se), {
4341
4342
  key: 0,
4342
- error: u
4343
- }, null, 8, ["error"])) : (d(), $(Us, vr({ key: 1 }, N, hr(A)), null, 16)),
4344
- x(n(yr), {
4345
- columns: f,
4343
+ error: b
4344
+ }, null, 8, ["error"])) : (d(), $(Us, vr({ key: 1 }, k, hr(A)), null, 16)),
4345
+ w(n(yr), {
4346
+ columns: y,
4346
4347
  rows: m.rows,
4347
4348
  sort: v,
4348
- "is-loading": w,
4349
+ "is-loading": P,
4349
4350
  "external-team-resolver": o,
4350
4351
  "external-player-resolver": i,
4351
4352
  "is-team-linked": l.isTeamLinked,
4352
4353
  "is-player-linked": l.isPlayerLinked,
4353
4354
  "hide-columns": e.hideColumns,
4354
4355
  "append-to": r.value,
4355
- onSort: y
4356
+ onSort: f
4356
4357
  }, null, 8, ["columns", "rows", "sort", "is-loading", "is-team-linked", "is-player-linked", "hide-columns", "append-to", "onSort"]),
4357
4358
  c("div", Hs, [
4358
- x(n(ya), {
4359
- page: g,
4359
+ w(n(ya), {
4360
+ page: p,
4360
4361
  "items-per-page": t.limit,
4361
4362
  "total-items": m.totalItems,
4362
4363
  "range-length": 5,
4363
4364
  onChange: L
4364
4365
  }, null, 8, ["page", "items-per-page", "total-items", "onChange"]),
4365
- m.totalItems > 0 ? (d(), h("div", Js, b(z.join("-")) + " / " + b(m.totalItems) + " db ", 1)) : I("", !0)
4366
+ m.totalItems > 0 ? (d(), h("div", Js, u(z.join("-")) + " / " + u(m.totalItems) + " db ", 1)) : I("", !0)
4366
4367
  ]),
4367
4368
  c("div", {
4368
4369
  ref_key: "tooltipContainer",
@@ -4406,20 +4407,20 @@ function tc(e) {
4406
4407
  return ["ld", "rd", "d"].includes((a = t.position) == null ? void 0 : a.toLowerCase()) ? 1 : ["lw", "rw", "c"].includes((r = t.position) == null ? void 0 : r.toLowerCase()) ? 2 : 0;
4407
4408
  }),
4408
4409
  Me(oc),
4409
- me(ae(nt, rt, Tr(["position"])))
4410
+ me(ae(lt, ot, Tr(["position"])))
4410
4411
  )(e);
4411
4412
  }
4412
- function Tt(e, t) {
4413
- return Ua(Gt(ui(t, ["team", "id"])), me(nt))(e);
4413
+ function It(e, t) {
4414
+ return Ua(Gt(ui(t, ["team", "id"])), me(lt))(e);
4414
4415
  }
4415
4416
  function ua(e, t) {
4416
4417
  return Ka(pi(di, la(Ge(["player", "playerId"]), e), la(Ge(["player", "playerId"]), t)));
4417
4418
  }
4418
4419
  function ac({ goalieStats: e, fieldPlayers: t, playersPenalty: a }) {
4419
- const r = me(Ge(["player", "playerId"]))(e), i = dt((u) => r.includes(u.player.playerId))(a), l = ai((u, v) => u.player.playerId === v, a, r), s = ua(t, i), p = ua(e, l);
4420
+ const r = me(Ge(["player", "playerId"]))(e), i = pt((b) => r.includes(b.player.playerId))(a), l = ai((b, v) => b.player.playerId === v, a, r), s = ua(t, i), g = ua(e, l);
4420
4421
  return {
4421
4422
  fieldPlayers: Jt(s),
4422
- goalies: Jt(p)
4423
+ goalies: Jt(g)
4423
4424
  };
4424
4425
  }
4425
4426
  function rc(e) {
@@ -4454,7 +4455,7 @@ const nc = {
4454
4455
  }
4455
4456
  },
4456
4457
  setup(e) {
4457
- const t = e, a = ot(), r = Te("history"), o = Z({
4458
+ const t = e, a = it(), r = Te("history"), o = Z({
4458
4459
  page: r.page || He,
4459
4460
  teamId: Number(r.teamId) || Number(t.teamId),
4460
4461
  championshipId: Number(r.championshipId) || Number(t.championshipId),
@@ -4467,53 +4468,53 @@ const nc = {
4467
4468
  params: _(() => ({ championshipId: o.championshipId, teamId: o.teamId })),
4468
4469
  immediate: !0
4469
4470
  },
4470
- transform: (y) => ec(y),
4471
+ transform: (f) => ec(f),
4471
4472
  onError: i
4472
- }), { state: s, execute: p } = D({
4473
+ }), { state: s, execute: g } = D({
4473
4474
  options: {
4474
4475
  path: "/v2/team-games",
4475
4476
  apiKey: t.apiKey,
4476
4477
  params: _(() => ({ championshipId: o.championshipId, teamId: o.teamId }))
4477
4478
  },
4478
- transform: (y) => at(
4479
- Ct(y),
4479
+ transform: (f) => rt(
4480
+ Ct(f),
4480
4481
  _a(a, t.locale),
4481
4482
  za,
4482
4483
  Sa(o.teamId),
4483
4484
  Ta
4484
4485
  ),
4485
4486
  onError: i
4486
- }), { state: u, execute: v } = D({
4487
+ }), { state: b, execute: v } = D({
4487
4488
  options: {
4488
4489
  path: "/v2/championship-players",
4489
4490
  apiKey: t.apiKey,
4490
4491
  params: _(() => ({ championshipId: o.championshipId, teamId: o.teamId }))
4491
4492
  },
4492
- transform: (y) => tc(y, o.teamId),
4493
+ transform: (f) => tc(f, o.teamId),
4493
4494
  onError: i
4494
- }), { state: f, execute: m } = D({
4495
+ }), { state: y, execute: m } = D({
4495
4496
  options: {
4496
4497
  path: "/v2/players-stats",
4497
4498
  apiKey: t.apiKey,
4498
4499
  params: _(() => ({ championshipId: o.championshipId }))
4499
4500
  },
4500
- transform: (y) => Tt(y, o.teamId),
4501
+ transform: (f) => It(f, o.teamId),
4501
4502
  onError: i
4502
- }), { state: g, execute: z } = D({
4503
+ }), { state: p, execute: z } = D({
4503
4504
  options: {
4504
4505
  path: "/v2/players-penalty",
4505
4506
  apiKey: t.apiKey,
4506
4507
  params: _(() => ({ championshipId: o.championshipId }))
4507
4508
  },
4508
- transform: (y) => Tt(y, o.teamId),
4509
+ transform: (f) => It(f, o.teamId),
4509
4510
  onError: i
4510
- }), { state: w, execute: N } = D({
4511
+ }), { state: P, execute: k } = D({
4511
4512
  options: {
4512
4513
  path: "/v2/players-goalie",
4513
4514
  apiKey: t.apiKey,
4514
4515
  params: _(() => ({ championshipId: o.championshipId }))
4515
4516
  },
4516
- transform: (y) => Tt(y, o.teamId),
4517
+ transform: (f) => It(f, o.teamId),
4517
4518
  onError: i
4518
4519
  });
4519
4520
  se(
@@ -4525,31 +4526,31 @@ const nc = {
4525
4526
  immediate: !0
4526
4527
  }
4527
4528
  );
4528
- function A(y) {
4529
- o.page = y, r.page = y;
4529
+ function A(f) {
4530
+ o.page = f, r.page = f;
4530
4531
  }
4531
- function L(y) {
4532
- switch (y) {
4532
+ function L(f) {
4533
+ switch (f) {
4533
4534
  case Je:
4534
- p();
4535
+ g();
4535
4536
  break;
4536
4537
  case Qe:
4537
4538
  v();
4538
4539
  break;
4539
4540
  case Xe:
4540
- o.isStatsLoading = !0, te([N, m, z], {
4541
+ o.isStatsLoading = !0, te([k, m, z], {
4541
4542
  onFinished: () => {
4542
4543
  o.isStatsLoading = !1, o.statistics = ac({
4543
- goalieStats: w.value,
4544
- fieldPlayers: f.value,
4545
- playersPenalty: g.value
4544
+ goalieStats: P.value,
4545
+ fieldPlayers: y.value,
4546
+ playersPenalty: p.value
4546
4547
  });
4547
4548
  }
4548
4549
  });
4549
4550
  break;
4550
4551
  }
4551
4552
  }
4552
- return (y, S) => xe(y.$slots, "default", ke(_e({ ...o, games: n(s), teamInfo: n(l), roster: n(u), fieldPlayers: n(f), fieldPlayersPenalty: n(g), onChangePage: A })));
4553
+ return (f, S) => xe(f.$slots, "default", ke(_e({ ...o, games: n(s), teamInfo: n(l), roster: n(b), fieldPlayers: n(y), fieldPlayersPenalty: n(p), onChangePage: A })));
4553
4554
  }
4554
4555
  }, lc = { class: "is-heading-2" }, sc = {
4555
4556
  __name: "Games",
@@ -4578,14 +4579,14 @@ const nc = {
4578
4579
  "powerplay",
4579
4580
  "penaltyKilling"
4580
4581
  ],
4581
- Nt
4582
+ $t
4582
4583
  ),
4583
4584
  null,
4584
4585
  _(() => ({ offsetName: Et(/* @__PURE__ */ new Date(), null, "hu") }))
4585
4586
  );
4586
4587
  return (o, i) => (d(), h(O, null, [
4587
- c("h2", lc, b(n(a)("teams.games")), 1),
4588
- x(Za, {
4588
+ c("h2", lc, u(n(a)("teams.games")), 1),
4589
+ w(Za, {
4589
4590
  rows: e.data,
4590
4591
  columns: n(r),
4591
4592
  "game-resolver": e.gameResolver,
@@ -4608,24 +4609,24 @@ const nc = {
4608
4609
  setup(e) {
4609
4610
  const t = e, a = K(null), { t: r } = Q(), { columns: o } = ee(Zs), i = _(() => me((l) => ({ ...l, teamKeyIntl: r(`teams.info.${l.teamKey}`) }))(t.data));
4610
4611
  return (l, s) => (d(), h("div", null, [
4611
- c("h2", cc, b(n(r)("teams.teamInfo")), 1),
4612
- x(n(ie), null, {
4613
- default: k(() => [
4614
- x(n(ce), {
4612
+ c("h2", cc, u(n(r)("teams.teamInfo")), 1),
4613
+ w(n(ie), null, {
4614
+ default: x(() => [
4615
+ w(n(ce), {
4615
4616
  columns: n(o),
4616
4617
  rows: i.value,
4617
4618
  "append-to": a.value
4618
4619
  }, {
4619
- "cell-teamValue": k(({ row: p }) => [
4620
- p.teamKey === "organizationEmail" ? (d(), h("a", {
4620
+ "cell-teamValue": x(({ row: g }) => [
4621
+ g.teamKey === "organizationEmail" ? (d(), h("a", {
4621
4622
  key: 0,
4622
- href: `mailto:${p.teamValue}`
4623
- }, b(p.teamValue), 9, dc)) : I("", !0),
4624
- p.teamKey === "organizationWebpage" ? (d(), h("a", {
4623
+ href: `mailto:${g.teamValue}`
4624
+ }, u(g.teamValue), 9, dc)) : I("", !0),
4625
+ g.teamKey === "organizationWebpage" ? (d(), h("a", {
4625
4626
  key: 1,
4626
- href: `https://${p.teamValue}`,
4627
+ href: `https://${g.teamValue}`,
4627
4628
  target: "_blank"
4628
- }, b(p.teamValue), 9, pc)) : I("", !0)
4629
+ }, u(g.teamValue), 9, pc)) : I("", !0)
4629
4630
  ]),
4630
4631
  _: 1
4631
4632
  }, 8, ["columns", "rows", "append-to"])
@@ -4662,8 +4663,8 @@ const nc = {
4662
4663
  const t = K(null), { t: a } = Q(), { columns: r } = ee(we(["teamName"], Qa));
4663
4664
  return (o, i) => (d(), h(O, null, [
4664
4665
  (d(!0), h(O, null, U(e.data, (l, s) => (d(), h(O, { key: s }, [
4665
- c("h2", uc, b(n(a)(`teams.${s}`)), 1),
4666
- x(ar, {
4666
+ c("h2", uc, u(n(a)(`teams.${s}`)), 1),
4667
+ w(ar, {
4667
4668
  rows: l,
4668
4669
  columns: n(r),
4669
4670
  "championship-id": e.championshipId,
@@ -4723,29 +4724,29 @@ const nc = {
4723
4724
  ],
4724
4725
  Ne
4725
4726
  ), r = K(null), { t: o } = Q(), { columns: i } = ee(t), { columns: l } = ee(a);
4726
- return (s, p) => (d(), h("div", null, [
4727
- c("h2", mc, b(n(o)("teams.fieldPlayers")), 1),
4728
- x(n(ie), null, {
4729
- default: k(() => [
4730
- x(n(ce), {
4727
+ return (s, g) => (d(), h("div", null, [
4728
+ c("h2", mc, u(n(o)("teams.fieldPlayers")), 1),
4729
+ w(n(ie), null, {
4730
+ default: x(() => [
4731
+ w(n(ce), {
4731
4732
  columns: n(i),
4732
4733
  rows: e.fieldPlayers,
4733
4734
  "is-loading": e.isLoading,
4734
4735
  "append-to": r.value
4735
4736
  }, {
4736
- "cell-playerPortrait": k(({ row: u }) => [
4737
+ "cell-playerPortrait": x(({ row: b }) => [
4737
4738
  c("div", vc, [
4738
4739
  (d(), $(n(V), {
4739
- key: u.player.playerId,
4740
- src: u.player.picture,
4740
+ key: b.player.playerId,
4741
+ src: b.player.picture,
4741
4742
  "default-src": n(Zt)
4742
4743
  }, null, 8, ["src", "default-src"]))
4743
4744
  ])
4744
4745
  ]),
4745
- "cell-name": k(({ row: u }) => [
4746
+ "cell-name": x(({ row: b }) => [
4746
4747
  c("a", {
4747
- href: e.externalPlayerResolver({ ...u, championshipId: e.championshipId }),
4748
- textContent: b(u.name)
4748
+ href: e.externalPlayerResolver({ ...b, championshipId: e.championshipId }),
4749
+ textContent: u(b.name)
4749
4750
  }, null, 8, hc)
4750
4751
  ]),
4751
4752
  _: 1
@@ -4753,28 +4754,28 @@ const nc = {
4753
4754
  ]),
4754
4755
  _: 1
4755
4756
  }),
4756
- c("h2", fc, b(n(o)("teams.goalies")), 1),
4757
- x(n(ie), null, {
4758
- default: k(() => [
4759
- x(n(ce), {
4757
+ c("h2", fc, u(n(o)("teams.goalies")), 1),
4758
+ w(n(ie), null, {
4759
+ default: x(() => [
4760
+ w(n(ce), {
4760
4761
  columns: n(l),
4761
4762
  rows: e.goalies,
4762
4763
  "is-loading": e.isLoading,
4763
4764
  "append-to": r.value
4764
4765
  }, {
4765
- "cell-playerPortrait": k(({ row: u }) => [
4766
+ "cell-playerPortrait": x(({ row: b }) => [
4766
4767
  c("div", yc, [
4767
4768
  (d(), $(n(V), {
4768
- key: u.player.playerId,
4769
- src: u.player.picture,
4769
+ key: b.player.playerId,
4770
+ src: b.player.picture,
4770
4771
  "default-src": n(Zt)
4771
4772
  }, null, 8, ["src", "default-src"]))
4772
4773
  ])
4773
4774
  ]),
4774
- "cell-name": k(({ row: u }) => [
4775
+ "cell-name": x(({ row: b }) => [
4775
4776
  c("a", {
4776
- href: e.externalPlayerResolver({ ...u, championshipId: e.championshipId }),
4777
- textContent: b(u.name)
4777
+ href: e.externalPlayerResolver({ ...b, championshipId: e.championshipId }),
4778
+ textContent: u(b.name)
4778
4779
  }, null, 8, wc)
4779
4780
  ]),
4780
4781
  _: 1
@@ -4820,41 +4821,41 @@ const nc = {
4820
4821
  }
4821
4822
  },
4822
4823
  setup(e) {
4823
- const t = e, a = { en: ue, hu: be }, r = (i) => Ot(t.externalPlayerResolver, i), o = (i) => it(t.externalGameResolver, i);
4824
+ const t = e, a = { en: ue, hu: be }, r = (i) => Ot(t.externalPlayerResolver, i), o = (i) => nt(t.externalGameResolver, i);
4824
4825
  return (i, l) => (d(), h("div", zc, [
4825
- x(n(pe), {
4826
+ w(n(pe), {
4826
4827
  locale: t.locale,
4827
4828
  messages: a
4828
4829
  }, {
4829
- default: k(({ t: s }) => [
4830
- x(n(ze), null, {
4831
- default: k(({ hasError: p, error: u }) => [
4832
- p ? (d(), $(n(Se), {
4830
+ default: x(({ t: s }) => [
4831
+ w(n(ze), null, {
4832
+ default: x(({ hasError: g, error: b }) => [
4833
+ g ? (d(), $(n(Se), {
4833
4834
  key: 0,
4834
- error: u
4835
+ error: b
4835
4836
  }, null, 8, ["error"])) : I("", !0),
4836
- x(nc, {
4837
+ w(nc, {
4837
4838
  "api-key": t.apiKey,
4838
4839
  "championship-id": e.championshipId,
4839
4840
  "team-id": e.teamId
4840
4841
  }, {
4841
- default: k(({
4842
+ default: x(({
4842
4843
  teamInfo: v,
4843
- page: f,
4844
+ page: y,
4844
4845
  roster: m,
4845
- games: g,
4846
+ games: p,
4846
4847
  statistics: z,
4847
- isStatsLoading: w,
4848
- onChangePage: N
4848
+ isStatsLoading: P,
4849
+ onChangePage: k
4849
4850
  }) => {
4850
- var A, L, y, S, T;
4851
+ var A, L, f, S, T;
4851
4852
  return [
4852
- c("h1", Sc, b((A = v == null ? void 0 : v.team) == null ? void 0 : A.longName), 1),
4853
+ c("h1", Sc, u((A = v == null ? void 0 : v.team) == null ? void 0 : A.longName), 1),
4853
4854
  c("div", Tc, [
4854
4855
  c("div", Ic, [
4855
4856
  (d(), $(n(V), {
4856
4857
  key: (L = v == null ? void 0 : v.team) == null ? void 0 : L.id,
4857
- src: (y = v == null ? void 0 : v.team) == null ? void 0 : y.teamPhoto,
4858
+ src: (f = v == null ? void 0 : v.team) == null ? void 0 : f.teamPhoto,
4858
4859
  "default-src": "https://www.ersteliga.hu/assets/images/logo_liga@2x.png"
4859
4860
  }, null, 8, ["src"]))
4860
4861
  ]),
@@ -4867,40 +4868,40 @@ const nc = {
4867
4868
  ]),
4868
4869
  c("div", Nc, [
4869
4870
  c("button", {
4870
- class: G(["tab-button", { "is-active": f === n(He) }]),
4871
- onClick: (C) => N(n(He))
4872
- }, b(s("teams.tabs.teamInfo")), 11, $c),
4871
+ class: G(["tab-button", { "is-active": y === n(He) }]),
4872
+ onClick: (C) => k(n(He))
4873
+ }, u(s("teams.tabs.teamInfo")), 11, $c),
4873
4874
  c("button", {
4874
- class: G(["tab-button", { "is-active": f === n(Je) }]),
4875
- onClick: (C) => N(n(Je))
4876
- }, b(s("teams.tabs.games")), 11, Ac),
4875
+ class: G(["tab-button", { "is-active": y === n(Je) }]),
4876
+ onClick: (C) => k(n(Je))
4877
+ }, u(s("teams.tabs.games")), 11, Ac),
4877
4878
  c("button", {
4878
- class: G(["tab-button", { "is-active": f === n(Xe) }]),
4879
- onClick: (C) => N(n(Xe))
4880
- }, b(s("teams.playerStats")), 11, Lc),
4879
+ class: G(["tab-button", { "is-active": y === n(Xe) }]),
4880
+ onClick: (C) => k(n(Xe))
4881
+ }, u(s("teams.playerStats")), 11, Lc),
4881
4882
  c("button", {
4882
- class: G(["tab-button", { "is-active": f === n(Qe) }]),
4883
- onClick: (C) => N(n(Qe))
4884
- }, b(s("teams.roster")), 11, Cc)
4883
+ class: G(["tab-button", { "is-active": y === n(Qe) }]),
4884
+ onClick: (C) => k(n(Qe))
4885
+ }, u(s("teams.roster")), 11, Cc)
4885
4886
  ]),
4886
- f === n(He) ? (d(), $(gc, {
4887
+ y === n(He) ? (d(), $(gc, {
4887
4888
  key: 0,
4888
4889
  data: v.organizationInfo
4889
4890
  }, null, 8, ["data"])) : I("", !0),
4890
- f === n(Je) ? (d(), $(sc, {
4891
+ y === n(Je) ? (d(), $(sc, {
4891
4892
  key: 1,
4892
- data: g,
4893
+ data: p,
4893
4894
  "game-resolver": o
4894
4895
  }, null, 8, ["data"])) : I("", !0),
4895
- f === n(Xe) ? (d(), $(xc, {
4896
+ y === n(Xe) ? (d(), $(xc, {
4896
4897
  key: 2,
4897
4898
  "field-players": z.fieldPlayers,
4898
4899
  goalies: z.goalies,
4899
4900
  "championship-id": e.championshipId,
4900
- "is-loading": w,
4901
+ "is-loading": P,
4901
4902
  "external-player-resolver": r
4902
4903
  }, null, 8, ["field-players", "goalies", "championship-id", "is-loading"])) : I("", !0),
4903
- f === n(Qe) ? (d(), $(bc, {
4904
+ y === n(Qe) ? (d(), $(bc, {
4904
4905
  key: 3,
4905
4906
  data: m,
4906
4907
  "championship-id": e.championshipId,
@@ -4945,12 +4946,12 @@ const nc = {
4945
4946
  apiKey: t.apiKey,
4946
4947
  params: { championshipName: r.championshipName }
4947
4948
  },
4948
- transform: (m) => vt(m, r),
4949
+ transform: (m) => ht(m, r),
4949
4950
  onError: o
4950
4951
  }), {
4951
4952
  isLoading: s,
4952
- state: p,
4953
- execute: u
4953
+ state: g,
4954
+ execute: b
4954
4955
  } = D({
4955
4956
  options: {
4956
4957
  path: "/v2/championship-teams",
@@ -4960,15 +4961,15 @@ const nc = {
4960
4961
  transform: Xa,
4961
4962
  onError: o
4962
4963
  }), v = Lt([i, s], { delay: 1e3 });
4963
- te([l, u]);
4964
- function f(m) {
4965
- r.championshipId = m, a.championshipId = m, te([u]);
4964
+ te([l, b]);
4965
+ function y(m) {
4966
+ r.championshipId = m, a.championshipId = m, te([b]);
4966
4967
  }
4967
- return (m, g) => xe(m.$slots, "default", ke(_e({
4968
+ return (m, p) => xe(m.$slots, "default", ke(_e({
4968
4969
  ...r,
4969
- teams: n(p),
4970
+ teams: n(g),
4970
4971
  isLoading: n(v),
4971
- changeSeason: f
4972
+ changeSeason: y
4972
4973
  })));
4973
4974
  }
4974
4975
  }, Rc = ".wrapped-grid{--min-width: 300px;--max-width: 1fr;display:grid;grid-template-columns:repeat(auto-fill,minmax(var(--min-width),var(--max-width)));gap:30px;padding-block:20px;text-align:center}.wrapped-grid a{display:flex;flex-direction:column;align-items:center;row-gap:20px}.wrapped-grid .is-team-logo{display:block;width:100%;aspect-ratio:1}", Fc = {
@@ -4998,46 +4999,46 @@ const nc = {
4998
4999
  setup(e) {
4999
5000
  const t = e, a = { en: ue, hu: be };
5000
5001
  function r(o, i) {
5001
- return lt(t.externalTeamResolver, { team: { id: o }, championshipId: i });
5002
+ return st(t.externalTeamResolver, { team: { id: o }, championshipId: i });
5002
5003
  }
5003
5004
  return (o, i) => (d(), h("div", null, [
5004
- x(n(pe), {
5005
+ w(n(pe), {
5005
5006
  locale: t.locale,
5006
5007
  messages: a
5007
5008
  }, {
5008
- default: k(() => [
5009
- x(n(ze), null, {
5010
- default: k(({ error: l, hasError: s }) => [
5009
+ default: x(() => [
5010
+ w(n(ze), null, {
5011
+ default: x(({ error: l, hasError: s }) => [
5011
5012
  s ? (d(), $(n(Se), {
5012
5013
  key: 0,
5013
5014
  error: l
5014
5015
  }, null, 8, ["error"])) : I("", !0),
5015
- x(jc, {
5016
+ w(jc, {
5016
5017
  "api-key": t.apiKey,
5017
5018
  locale: e.locale,
5018
5019
  "championship-name": e.championshipName
5019
5020
  }, {
5020
- default: k(({ teams: p, seasons: u, isLoading: v, championshipId: f, changeSeason: m }) => [
5021
- x(n(fa), {
5022
- seasons: u,
5023
- "championship-id": f,
5021
+ default: x(({ teams: g, seasons: b, isLoading: v, championshipId: y, changeSeason: m }) => [
5022
+ w(n(fa), {
5023
+ seasons: b,
5024
+ "championship-id": y,
5024
5025
  "is-section-selection-disabled": "",
5025
5026
  onOnChangeSeason: m
5026
5027
  }, null, 8, ["seasons", "championship-id", "onOnChangeSeason"]),
5027
- v ? (d(), $(n($t), { key: 0 })) : (d(), h("ul", Fc, [
5028
- (d(!0), h(O, null, U(p, (g) => (d(), h("li", {
5029
- key: g.teamId
5028
+ v ? (d(), $(n(at), { key: 0 })) : (d(), h("ul", Fc, [
5029
+ (d(!0), h(O, null, U(g, (p) => (d(), h("li", {
5030
+ key: p.teamId
5030
5031
  }, [
5031
5032
  c("a", {
5032
- href: r(g.teamId, f),
5033
+ href: r(p.teamId, y),
5033
5034
  class: "is-text-lg is-text-bold"
5034
5035
  }, [
5035
5036
  (d(), $(n(V), {
5036
- key: g.teamId,
5037
+ key: p.teamId,
5037
5038
  class: "is-team-logo",
5038
- src: g.teamLogo
5039
+ src: p.teamLogo
5039
5040
  }, null, 8, ["src"])),
5040
- W(" " + b(g.teamName), 1)
5041
+ W(" " + u(p.teamName), 1)
5041
5042
  ], 8, Gc)
5042
5043
  ]))), 128))
5043
5044
  ]))