@golstats/gsc-reports 1.0.134 → 1.0.136

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.
@@ -1,4 +1,4 @@
1
- import { defineComponent as fT, inject as z3, reactive as Kg, ref as qi, h as l5, provide as Fx, onMounted as cf, nextTick as Gp, onUnmounted as H2, computed as js, watch as Uc, cloneVNode as TC, Fragment as qo, openBlock as Or, createElementBlock as Kr, createElementVNode as Ht, createVNode as uc, createCommentVNode as di, normalizeProps as n8, guardReactiveProps as Q9, effectScope as xot, createBlock as Gc, Teleport as tF, normalizeStyle as ol, withDirectives as fh, vShow as O0, createTextVNode as Tl, toDisplayString as Ja, renderList as Wc, normalizeClass as Tn, pushScopeId as M0, popScopeId as C0, unref as Tp, mergeProps as q_, withCtx as Rp, defineAsyncComponent as pN, KeepAlive as _ot, resolveDynamicComponent as eF, Transition as mT, withModifiers as Mh, vModelRadio as d6, vModelCheckbox as j9, createStaticVNode as Xg, onBeforeMount as Y7, renderSlot as lv, onBeforeUnmount as i3, useCssVars as Cm, resolveComponent as p0, toValue as sG, getCurrentScope as wot, onScopeDispose as Tot, shallowRef as Sot, getCurrentInstance as kot, vModelText as Hk } from "vue";
1
+ import { defineComponent as fT, inject as z3, reactive as Kg, ref as qi, h as l5, provide as Fx, onMounted as cf, nextTick as Gp, onUnmounted as H2, computed as js, watch as Fc, cloneVNode as TC, Fragment as qo, openBlock as Or, createElementBlock as Kr, createElementVNode as Ht, createVNode as uc, createCommentVNode as di, normalizeProps as n8, guardReactiveProps as Q9, effectScope as xot, createBlock as Gc, Teleport as tF, normalizeStyle as ol, withDirectives as fh, vShow as O0, createTextVNode as Tl, toDisplayString as Ja, renderList as Wc, normalizeClass as Tn, pushScopeId as M0, popScopeId as C0, unref as Tp, mergeProps as q_, withCtx as Rp, defineAsyncComponent as pN, KeepAlive as _ot, resolveDynamicComponent as eF, Transition as mT, withModifiers as Mh, vModelRadio as d6, vModelCheckbox as j9, createStaticVNode as Xg, onBeforeMount as Y7, renderSlot as lv, onBeforeUnmount as i3, useCssVars as Cm, resolveComponent as p0, toValue as sG, getCurrentScope as wot, onScopeDispose as Tot, shallowRef as Sot, getCurrentInstance as kot, vModelText as Hk } from "vue";
2
2
  var Lot = Object.defineProperty, Oot = (t, e, r) => e in t ? Lot(t, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[e] = r, U5 = (t, e, r) => Oot(t, typeof e != "symbol" ? e + "" : e, r);
3
3
  const Y2 = (t, e) => {
4
4
  const r = t.__vccOpts || t;
@@ -70,7 +70,7 @@ const Y2 = (t, e) => {
70
70
  isPostMatch: !1
71
71
  }
72
72
  ]), u = js(() => r.isPostMatch ? $.value : h.value);
73
- Uc(
73
+ Fc(
74
74
  () => u.value,
75
75
  (c) => {
76
76
  const s = c.find((n) => n.id === r.initialCoverId);
@@ -3040,10 +3040,10 @@ var hut = fT({
3040
3040
  g(), S(), A(), N(), vt();
3041
3041
  }
3042
3042
  Object.keys(Nq).forEach((Zt) => {
3043
- ["modelValue"].includes(Zt) || Uc(() => t[Zt], Dt);
3044
- }), Uc(() => t.modelValue, (Zt) => {
3043
+ ["modelValue"].includes(Zt) || Fc(() => t[Zt], Dt);
3044
+ }), Fc(() => t.modelValue, (Zt) => {
3045
3045
  Zt !== w.value && Nt(Number(Zt));
3046
- }), Uc(c, A), r("before-init"), g();
3046
+ }), Fc(c, A), r("before-init"), g();
3047
3047
  const re = {
3048
3048
  config: s,
3049
3049
  slidesCount: c,
@@ -3294,17 +3294,17 @@ const yut = (t, e) => {
3294
3294
  cfb58986: t.secondarySlidesOpacity
3295
3295
  }));
3296
3296
  const $ = qi(null), h = qi({}), u = qi(0), a = qi(!1);
3297
- Uc(
3297
+ Fc(
3298
3298
  $,
3299
3299
  (o) => {
3300
3300
  o && a.value ? (a.value = !1, c(m.items)) : o && o.slideTo && o.slideTo(u.value);
3301
3301
  },
3302
3302
  { deep: !0 }
3303
- ), Uc(() => m.currentItemIndex, (o) => {
3303
+ ), Fc(() => m.currentItemIndex, (o) => {
3304
3304
  u.value !== o && w(o);
3305
- }), Uc(() => m.defaultItemByIndex, (o) => {
3305
+ }), Fc(() => m.defaultItemByIndex, (o) => {
3306
3306
  u.value !== o && w(o);
3307
- }), Uc(
3307
+ }), Fc(
3308
3308
  () => m.items,
3309
3309
  (o) => {
3310
3310
  $.value ? c(o) : a.value = !0;
@@ -3774,7 +3774,7 @@ const Xut = /* @__PURE__ */ Rut(dF, [["render", Kut], ["__scopeId", "data-v-f3ee
3774
3774
  emits: ["input", "click-ready", "update:modelValue"],
3775
3775
  setup(t, { emit: e }) {
3776
3776
  const r = t, m = qi({}), $ = qi(null), h = qi(r.isMultipleOption ? -1 : 0), u = qi(!1);
3777
- Uc(
3777
+ Fc(
3778
3778
  () => r.items,
3779
3779
  (v, d) => {
3780
3780
  if (!r.modelValue && (!r.onlyFirstTime || !d || !d.length) && v && v.length) {
@@ -3789,7 +3789,7 @@ const Xut = /* @__PURE__ */ Rut(dF, [["render", Kut], ["__scopeId", "data-v-f3ee
3789
3789
  }
3790
3790
  },
3791
3791
  { immediate: !0 }
3792
- ), Uc(
3792
+ ), Fc(
3793
3793
  () => r.modelValue,
3794
3794
  (v) => {
3795
3795
  if (v) {
@@ -4054,19 +4054,19 @@ const Xut = /* @__PURE__ */ Rut(dF, [["render", Kut], ["__scopeId", "data-v-f3ee
4054
4054
  const o = r.isFemaleMode ? u.value.filter((l) => l.is_female) : u.value;
4055
4055
  return o.find((l) => l.seasonsIds.has(r.currentSeasonId)) || o[0];
4056
4056
  }), c = js(() => r.isFemaleMode ? u.value.filter((o) => o.is_female) : r.areFemaleVisible ? $.value : $.value.filter((o) => !o.is_female));
4057
- Uc(
4057
+ Fc(
4058
4058
  () => r.isClubesActive,
4059
4059
  () => {
4060
4060
  s();
4061
4061
  },
4062
4062
  { immediate: !0 }
4063
- ), Uc(
4063
+ ), Fc(
4064
4064
  () => r.routeName,
4065
4065
  () => {
4066
4066
  s();
4067
4067
  },
4068
4068
  { immediate: !0 }
4069
- ), Uc(
4069
+ ), Fc(
4070
4070
  () => r.apiUrl,
4071
4071
  () => {
4072
4072
  n();
@@ -4454,7 +4454,7 @@ const vct = /* @__PURE__ */ lct(pF, [["render", gct], ["__scopeId", "data-v-f3ee
4454
4454
  emits: ["input", "click-ready", "update:modelValue"],
4455
4455
  setup(t, { emit: e }) {
4456
4456
  const r = t, m = qi({}), $ = qi(null), h = qi(r.isMultipleOption ? -1 : 0), u = qi(!1);
4457
- Uc(
4457
+ Fc(
4458
4458
  () => r.items,
4459
4459
  (v, d) => {
4460
4460
  if (!r.modelValue && (!r.onlyFirstTime || !d || !d.length) && v && v.length) {
@@ -4469,7 +4469,7 @@ const vct = /* @__PURE__ */ lct(pF, [["render", gct], ["__scopeId", "data-v-f3ee
4469
4469
  }
4470
4470
  },
4471
4471
  { immediate: !0 }
4472
- ), Uc(
4472
+ ), Fc(
4473
4473
  () => r.modelValue,
4474
4474
  (v) => {
4475
4475
  if (v) {
@@ -8587,7 +8587,7 @@ function Vht(t, e, r = {}) {
8587
8587
  }, c = js(() => {
8588
8588
  const T = sG(t);
8589
8589
  return Array.isArray(T) ? T.map((w) => oj(w)) : [oj(T)];
8590
- }), s = Uc(
8590
+ }), s = Fc(
8591
8591
  c,
8592
8592
  (T) => {
8593
8593
  if (a(), u.value && m) {
@@ -8971,12 +8971,12 @@ const uB = (t, e) => {
8971
8971
  const r = t, m = e, $ = qi(r.selectedButtonIndex), h = js(() => ({
8972
8972
  "--grid-template-columns": `repeat(${r.buttons.length}, 1fr)`
8973
8973
  }));
8974
- Uc(
8974
+ Fc(
8975
8975
  () => r.selectedButtonIndex,
8976
8976
  (a) => {
8977
8977
  $.value = a;
8978
8978
  }
8979
- ), Uc($, (a, c) => {
8979
+ ), Fc($, (a, c) => {
8980
8980
  a !== c && m("change", { index: a, button: r.buttons[a] });
8981
8981
  });
8982
8982
  function u(a) {
@@ -109999,7 +109999,7 @@ const cj = /* @__PURE__ */ yft(vft), dj = 1, bft = 800, pj = 300, xft = -46, hj
109999
109999
  const $ = t, h = qi(null), u = qi(null), a = qi(0), c = qi(null), s = qi(0), n = js(() => `volumetric-field-${Date.now()}`), T = js(() => ({
110000
110000
  "--top-surface-plot": s.value > 244 ? "10%" : s.value > 175 ? "10px" : "7%"
110001
110001
  }));
110002
- Uc(
110002
+ Fc(
110003
110003
  () => $.passesPlays,
110004
110004
  (C) => {
110005
110005
  const N = C.reduce((A, V) => (e.has(V[$.playIndexes.categoryId]) && A.push({
@@ -110012,7 +110012,7 @@ const cj = /* @__PURE__ */ yft(vft), dj = 1, bft = 800, pj = 300, xft = -46, hj
110012
110012
  }), A), []);
110013
110013
  k(N);
110014
110014
  }
110015
- ), Uc(
110015
+ ), Fc(
110016
110016
  () => a.value,
110017
110017
  (C, N) => {
110018
110018
  c.value && (p(C), u.value.style.height = `${g(C)}px`, c.value.style.top = `${S(g(C))}px`, s.value = C);
@@ -112114,19 +112114,19 @@ const amt = { class: "volumetric-section-container" }, imt = {
112114
112114
  /*props.isGamePreMatch ? props.teamSelectedPreMatch.teamId : */
112115
112115
  s.value.teamId
112116
112116
  ) || []);
112117
- Uc(
112117
+ Fc(
112118
112118
  () => n.value,
112119
112119
  () => {
112120
112120
  w();
112121
112121
  },
112122
112122
  { immediate: !0 }
112123
- ), Uc(
112123
+ ), Fc(
112124
112124
  () => u.preMatchType,
112125
112125
  () => {
112126
112126
  w();
112127
112127
  },
112128
112128
  { immediate: !0 }
112129
- ), Uc(
112129
+ ), Fc(
112130
112130
  () => u.game.gameId,
112131
112131
  (S) => {
112132
112132
  S && (g(), d(
@@ -117622,7 +117622,7 @@ const T3t = /* @__PURE__ */ LS(PF, [["render", w3t], ["__scopeId", "data-v-7a16c
117622
117622
  };
117623
117623
  return (r.boxPosition === "left" || r.boxPosition === "right") && (s[`margin-${r.boxPosition}`] = r.isBoxOnly ? "0" : r.teamsIds ? "8px" : "10px"), s;
117624
117624
  });
117625
- Uc(
117625
+ Fc(
117626
117626
  () => r.modelValue,
117627
117627
  (s) => {
117628
117628
  s !== m.value && (m.value = s);
@@ -118021,7 +118021,7 @@ const X3t = /* @__PURE__ */ R3t(AF, [["render", K3t], ["__scopeId", "data-v-f3ee
118021
118021
  emits: ["input", "click-ready", "update:modelValue"],
118022
118022
  setup(t, { emit: e }) {
118023
118023
  const r = t, m = qi({}), $ = qi(null), h = qi(r.isMultipleOption ? -1 : 0), u = qi(!1);
118024
- Uc(
118024
+ Fc(
118025
118025
  () => r.items,
118026
118026
  (v, d) => {
118027
118027
  if (!r.modelValue && (!r.onlyFirstTime || !d || !d.length) && v && v.length) {
@@ -118036,7 +118036,7 @@ const X3t = /* @__PURE__ */ R3t(AF, [["render", K3t], ["__scopeId", "data-v-f3ee
118036
118036
  }
118037
118037
  },
118038
118038
  { immediate: !0 }
118039
- ), Uc(
118039
+ ), Fc(
118040
118040
  () => r.modelValue,
118041
118041
  (v) => {
118042
118042
  if (v) {
@@ -118488,7 +118488,7 @@ const cwt = /* @__PURE__ */ twt(RF, [["render", uwt], ["__scopeId", "data-v-f3ee
118488
118488
  };
118489
118489
  return (r.boxPosition === "left" || r.boxPosition === "right") && (s[`margin-${r.boxPosition}`] = r.isBoxOnly ? "0" : r.teamsIds ? "8px" : "10px"), s;
118490
118490
  });
118491
- Uc(
118491
+ Fc(
118492
118492
  () => r.modelValue,
118493
118493
  (s) => {
118494
118494
  s !== m.value && (m.value = s);
@@ -120765,7 +120765,7 @@ const P4t = {
120765
120765
  emits: ["update:modelValue"],
120766
120766
  setup(t, { emit: e }) {
120767
120767
  const r = t, m = qi(null);
120768
- Uc(
120768
+ Fc(
120769
120769
  () => r.modelValue,
120770
120770
  () => {
120771
120771
  $();
@@ -121131,11 +121131,11 @@ const P4t = {
121131
121131
  },
121132
121132
  setup(t) {
121133
121133
  const e = t, r = pN(
121134
- () => import("./FilterSubcategories-a9b32cc9-_h5FCZ4r-CcOSYnA2-DFopG-QX.js")
121134
+ () => import("./FilterSubcategories-a9b32cc9-_h5FCZ4r-CcOSYnA2-DehpS0Vr.js")
121135
121135
  ), m = pN(
121136
- () => import("./FilterConditions-55d68355-DMqzcKBO-BHQbH7qq-Bys9KnLo.js")
121136
+ () => import("./FilterConditions-55d68355-DMqzcKBO-BHQbH7qq-1Je5OX1H.js")
121137
121137
  ), $ = pN(
121138
- () => import("./FilterField-59a73e38-CNaE03Ge-DRYdCw86-DgwfI3MT.js")
121138
+ () => import("./FilterField-59a73e38-CNaE03Ge-DRYdCw86-B1dNUMIC.js")
121139
121139
  ), h = [
121140
121140
  {
121141
121141
  name: "Sub categorías",
@@ -125488,7 +125488,7 @@ const {
125488
125488
  };
125489
125489
  return (r.boxPosition === "left" || r.boxPosition === "right") && (s[`margin-${r.boxPosition}`] = r.isBoxOnly ? "0" : r.teamsIds ? "8px" : "10px"), s;
125490
125490
  });
125491
- Uc(
125491
+ Fc(
125492
125492
  () => r.modelValue,
125493
125493
  (s) => {
125494
125494
  s !== m.value && (m.value = s);
@@ -125810,7 +125810,7 @@ function y9t(t, e, r, m) {
125810
125810
  };
125811
125811
  }
125812
125812
  function g9t(t) {
125813
- Uc(function() {
125813
+ Fc(function() {
125814
125814
  return t._state.data;
125815
125815
  }, function() {
125816
125816
  process.env.NODE_ENV !== "production" && K5(t._committing, "do not mutate vuex store state outside mutation handlers.");
@@ -126257,7 +126257,7 @@ Pw.prototype.subscribeAction = function(t, e) {
126257
126257
  };
126258
126258
  Pw.prototype.watch = function(t, e, r) {
126259
126259
  var m = this;
126260
- return process.env.NODE_ENV !== "production" && K5(typeof t == "function", "store.watch only accepts a function."), Uc(function() {
126260
+ return process.env.NODE_ENV !== "production" && K5(typeof t == "function", "store.watch only accepts a function."), Fc(function() {
126261
126261
  return t(m.state, m.getters);
126262
126262
  }, e, Object.assign({}, r));
126263
126263
  };
@@ -129549,7 +129549,7 @@ const {
129549
129549
  });
129550
129550
  }), i3(() => {
129551
129551
  window.removeEventListener("resize", M);
129552
- }), Uc(
129552
+ }), Fc(
129553
129553
  l,
129554
129554
  () => {
129555
129555
  Gp(() => {
@@ -129557,7 +129557,7 @@ const {
129557
129557
  });
129558
129558
  },
129559
129559
  { deep: !0 }
129560
- ), Uc(S, () => {
129560
+ ), Fc(S, () => {
129561
129561
  if (d.isDefault) {
129562
129562
  const re = X.map((le) => {
129563
129563
  if (!le.event) return le;
@@ -129570,13 +129570,13 @@ const {
129570
129570
  w.value = re, l.value = re.map((le) => le.event);
129571
129571
  } else
129572
129572
  ft();
129573
- }), Uc(
129573
+ }), Fc(
129574
129574
  [r, m, $, h],
129575
129575
  () => {
129576
129576
  Rt();
129577
129577
  },
129578
129578
  { immediate: !0 }
129579
- ), Uc(
129579
+ ), Fc(
129580
129580
  [$],
129581
129581
  () => {
129582
129582
  if (!(j.value || g.value)) {
@@ -129627,7 +129627,7 @@ const {
129627
129627
  }
129628
129628
  },
129629
129629
  { immediate: !0 }
129630
- ), Uc(
129630
+ ), Fc(
129631
129631
  [h],
129632
129632
  () => {
129633
129633
  if (!(j.value || g.value)) {
@@ -129678,7 +129678,7 @@ const {
129678
129678
  }
129679
129679
  },
129680
129680
  { immediate: !0 }
129681
- ), Uc([r], () => {
129681
+ ), Fc([r], () => {
129682
129682
  if (!(j.value || g.value)) {
129683
129683
  if ($.value === "1") {
129684
129684
  const re = w.value.filter((le) => le.match_lapse === 1);
@@ -129718,7 +129718,7 @@ const {
129718
129718
  }
129719
129719
  Dt();
129720
129720
  }
129721
- }), Uc([m], () => {
129721
+ }), Fc([m], () => {
129722
129722
  if (!(j.value || g.value)) {
129723
129723
  if (h.value === "1") {
129724
129724
  const re = w.value.filter((le) => le.match_lapse === 1);
@@ -130085,7 +130085,7 @@ const {
130085
130085
  m.value = a > 0 ? a - 80 : 0;
130086
130086
  }
130087
130087
  }
130088
- return Uc(m, (a, c) => {
130088
+ return Fc(m, (a, c) => {
130089
130089
  a !== c && setTimeout(() => {
130090
130090
  $.value++;
130091
130091
  }, 100);
@@ -134683,10 +134683,10 @@ var HPt = fT({
134683
134683
  g(), S(), A(), N(), vt();
134684
134684
  }
134685
134685
  Object.keys(wW).forEach((Zt) => {
134686
- ["modelValue"].includes(Zt) || Uc(() => t[Zt], Dt);
134687
- }), Uc(() => t.modelValue, (Zt) => {
134686
+ ["modelValue"].includes(Zt) || Fc(() => t[Zt], Dt);
134687
+ }), Fc(() => t.modelValue, (Zt) => {
134688
134688
  Zt !== w.value && Nt(Number(Zt));
134689
- }), Uc(c, A), r("before-init"), g();
134689
+ }), Fc(c, A), r("before-init"), g();
134690
134690
  const re = {
134691
134691
  config: s,
134692
134692
  slidesCount: c,
@@ -134937,17 +134937,17 @@ const $Pt = (t, e) => {
134937
134937
  cfb58986: t.secondarySlidesOpacity
134938
134938
  }));
134939
134939
  const $ = qi(null), h = qi({}), u = qi(0), a = qi(!1);
134940
- Uc(
134940
+ Fc(
134941
134941
  $,
134942
134942
  (o) => {
134943
134943
  o && a.value ? (a.value = !1, c(m.items)) : o && o.slideTo && o.slideTo(u.value);
134944
134944
  },
134945
134945
  { deep: !0 }
134946
- ), Uc(() => m.currentItemIndex, (o) => {
134946
+ ), Fc(() => m.currentItemIndex, (o) => {
134947
134947
  u.value !== o && w(o);
134948
- }), Uc(() => m.defaultItemByIndex, (o) => {
134948
+ }), Fc(() => m.defaultItemByIndex, (o) => {
134949
134949
  u.value !== o && w(o);
134950
- }), Uc(
134950
+ }), Fc(
134951
134951
  () => m.items,
134952
134952
  (o) => {
134953
134953
  $.value ? c(o) : a.value = !0;
@@ -136343,7 +136343,7 @@ const TEt = /* @__PURE__ */ hEt(cU, [["render", wEt], ["__scopeId", "data-v-f3ee
136343
136343
  emits: ["input", "click-ready", "update:modelValue"],
136344
136344
  setup(t, { emit: e }) {
136345
136345
  const r = t, m = qi({}), $ = qi(null), h = qi(r.isMultipleOption ? -1 : 0), u = qi(!1);
136346
- Uc(
136346
+ Fc(
136347
136347
  () => r.items,
136348
136348
  (v, d) => {
136349
136349
  if (!r.modelValue && (!r.onlyFirstTime || !d || !d.length) && v && v.length) {
@@ -136358,7 +136358,7 @@ const TEt = /* @__PURE__ */ hEt(cU, [["render", wEt], ["__scopeId", "data-v-f3ee
136358
136358
  }
136359
136359
  },
136360
136360
  { immediate: !0 }
136361
- ), Uc(
136361
+ ), Fc(
136362
136362
  () => r.modelValue,
136363
136363
  (v) => {
136364
136364
  if (v) {
@@ -136595,9 +136595,9 @@ const TEt = /* @__PURE__ */ hEt(cU, [["render", wEt], ["__scopeId", "data-v-f3ee
136595
136595
  const r = t, m = [{ id: "local", name: "Local" }, { id: "visit", name: "Visitante" }], $ = [{ id: "win", name: "Ganado" }, { id: "draw", name: "Empatados" }, { id: "lose", name: "Perdidos" }], h = qi(null), u = e, a = qi(["local", "visit"]), c = qi(["win", "draw", "lose"]), s = qi(!0), n = qi(!0), T = qi(!0), w = qi(!0), v = qi(["local", "visit"]), d = qi(["win", "draw", "lose"]), o = () => {
136596
136596
  h.value.focus(), a.value = JSON.parse(JSON.stringify(v.value)), c.value = JSON.parse(JSON.stringify(d.value)), s.value = T.value, n.value = w.value;
136597
136597
  };
136598
- Uc(() => r.itemSelect, (S) => {
136598
+ Fc(() => r.itemSelect, (S) => {
136599
136599
  S && (v.value = S.selectedFilterTeam, d.value = S.selectedFilterResults);
136600
- }), Uc(() => r.reset, (S) => {
136600
+ }), Fc(() => r.reset, (S) => {
136601
136601
  S && i();
136602
136602
  });
136603
136603
  const l = (S, k) => {
@@ -142329,7 +142329,7 @@ const VW = {
142329
142329
  ljt()
142330
142330
  ), console.log("dataux: --->", n), n.length ? n[0] : null;
142331
142331
  });
142332
- Uc(() => e.visualizationType, (n) => {
142332
+ Fc(() => e.visualizationType, (n) => {
142333
142333
  e.game && (n === "game" && e.game.gameId && e.game.id ? h() : n === "team" ? console.log("Visualization type changed to team") : n === "player" && c());
142334
142334
  }, { immediate: !0 });
142335
142335
  async function h() {
@@ -144271,7 +144271,7 @@ const {
144271
144271
  w(), c(), v = new ResizeObserver(() => {
144272
144272
  w();
144273
144273
  }), a.value && v.observe(a.value);
144274
- }), Uc(
144274
+ }), Fc(
144275
144275
  [
144276
144276
  () => e.type,
144277
144277
  () => e.typegame,
@@ -144824,7 +144824,7 @@ const iY = {
144824
144824
  teamId: C
144825
144825
  };
144826
144826
  }));
144827
- Uc(
144827
+ Fc(
144828
144828
  () => $.type,
144829
144829
  (S) => {
144830
144830
  n.value = iY[S === "offensive" ? 2 : 3];
@@ -145120,7 +145120,7 @@ const iY = {
145120
145120
  };
145121
145121
  return (r.boxPosition === "left" || r.boxPosition === "right") && (s[`margin-${r.boxPosition}`] = r.isBoxOnly ? "0" : r.teamsIds ? "8px" : "10px"), s;
145122
145122
  });
145123
- Uc(
145123
+ Fc(
145124
145124
  () => r.modelValue,
145125
145125
  (s) => {
145126
145126
  s !== m.value && (m.value = s);
@@ -145333,7 +145333,7 @@ const XWt = {
145333
145333
  gameId: n.value.id || 0
145334
145334
  }));
145335
145335
  });
145336
- Uc(
145336
+ Fc(
145337
145337
  () => $.analysisType,
145338
145338
  (S) => {
145339
145339
  u.value = iY[S === "offensive" ? 2 : 3].map((k) => ({
@@ -145344,7 +145344,7 @@ const XWt = {
145344
145344
  }));
145345
145345
  },
145346
145346
  { immediate: !0 }
145347
- ), Uc(
145347
+ ), Fc(
145348
145348
  () => n.value.id,
145349
145349
  (S) => {
145350
145350
  S && g();
@@ -148689,7 +148689,7 @@ function kBt(t) {
148689
148689
  });
148690
148690
  }), H2(() => {
148691
148691
  r && t.value && (r.unobserve(t.value), r.disconnect(), r = null), window.removeEventListener("resize", m);
148692
- }), Uc(
148692
+ }), Fc(
148693
148693
  () => t.value,
148694
148694
  ($) => {
148695
148695
  $ && r && (r.disconnect(), r.observe($), m());
@@ -153584,7 +153584,7 @@ const LZt = ["x", "y"], OZt = ["fill"], MZt = {
153584
153584
  playsByMoment3: xt
153585
153585
  };
153586
153586
  });
153587
- return Uc(
153587
+ return Fc(
153588
153588
  () => bt.value,
153589
153589
  (Nt) => {
153590
153590
  const It = {
@@ -153984,13 +153984,13 @@ const pJt = { class: "chalkboard-profile__field" }, hJt = { class: "chalkboard-p
153984
153984
  () => [1, 2, 3, 4, 5, 6]
153985
153985
  ), js(() => [1, 2]);
153986
153986
  const p = js(() => dJt()), g = js(() => [...$.categories]), S = js(() => $.categories.reduce((X, M) => (Array.isArray(M.categories) && X.push(...M.categories), X), [])), k = js(() => $.howManyGames === 0 ? "Todos los partidos" : $.howManyGames === 1 ? "Último partido" : `Últimos ${$.howManyGames} partidos`);
153987
- Uc(
153987
+ Fc(
153988
153988
  () => $.categories,
153989
153989
  () => {
153990
153990
  P();
153991
153991
  },
153992
153992
  { deep: !0 }
153993
- ), Uc(
153993
+ ), Fc(
153994
153994
  () => $.analysisType,
153995
153995
  (X, M) => {
153996
153996
  X !== M && P();
@@ -156042,7 +156042,7 @@ const {
156042
156042
  };
156043
156043
  return (r.boxPosition === "left" || r.boxPosition === "right") && (s[`margin-${r.boxPosition}`] = r.isBoxOnly ? "0" : r.teamsIds ? "8px" : "10px"), s;
156044
156044
  });
156045
- Uc(
156045
+ Fc(
156046
156046
  () => r.modelValue,
156047
156047
  (s) => {
156048
156048
  s !== m.value && (m.value = s);
@@ -216587,8 +216587,8 @@ void main() {
216587
216587
  });
216588
216588
  } else if (sa in xa) {
216589
216589
  var zs = xa[sa], ms = zc(zs, function(el, Fs) {
216590
- var El = el.invoke(Fs, zs), Ys = el.shared.context, rl = Fs.def(El, ".x|0"), Hl = Fs.def(El, ".y|0"), lc = Fs.def('"width" in ', El, "?", El, ".width|0:", "(", Ys, ".", Ti, "-", rl, ")"), Fc = Fs.def('"height" in ', El, "?", El, ".height|0:", "(", Ys, ".", io, "-", Hl, ")");
216591
- return [rl, Hl, lc, Fc];
216590
+ var El = el.invoke(Fs, zs), Ys = el.shared.context, rl = Fs.def(El, ".x|0"), Hl = Fs.def(El, ".y|0"), lc = Fs.def('"width" in ', El, "?", El, ".width|0:", "(", Ys, ".", Ti, "-", rl, ")"), Uc = Fs.def('"height" in ', El, "?", El, ".height|0:", "(", Ys, ".", io, "-", Hl, ")");
216591
+ return [rl, Hl, lc, Uc];
216592
216592
  });
216593
216593
  return ln && (ms.thisDep = ms.thisDep || ln.thisDep, ms.contextDep = ms.contextDep || ln.contextDep, ms.propDep = ms.propDep || ln.propDep), ms;
216594
216594
  } else return ln ? new ys(ln.thisDep, ln.contextDep, ln.propDep, function(el, Fs) {
@@ -216676,8 +216676,8 @@ void main() {
216676
216676
  } else Fs && (Fs = xs.getElements(Fs), sa = !0);
216677
216677
  var Ys = Qu(function(Hl, lc) {
216678
216678
  if (Fs) {
216679
- var Fc = Hl.link(Fs);
216680
- return Hl.ELEMENTS = Fc, Fc;
216679
+ var Uc = Hl.link(Fs);
216680
+ return Hl.ELEMENTS = Uc, Uc;
216681
216681
  }
216682
216682
  return Hl.ELEMENTS = null, null;
216683
216683
  });
@@ -216686,7 +216686,7 @@ void main() {
216686
216686
  sa = !0;
216687
216687
  var rl = Ea[er];
216688
216688
  return zc(rl, function(Hl, lc) {
216689
- var Fc = Hl.shared, xd = Fc.isBufferArgs, ap = Fc.elements, qh = Hl.invoke(lc, rl), Qh = lc.def("null"), hh = lc.def(xd, "(", qh, ")"), $h = Hl.cond(hh).then(Qh, "=", ap, ".createStream(", qh, ");").else(Qh, "=", ap, ".getElements(", qh, ");");
216689
+ var Uc = Hl.shared, xd = Uc.isBufferArgs, ap = Uc.elements, qh = Hl.invoke(lc, rl), Qh = lc.def("null"), hh = lc.def(xd, "(", qh, ")"), $h = Hl.cond(hh).then(Qh, "=", ap, ".createStream(", qh, ");").else(Qh, "=", ap, ".getElements(", qh, ");");
216690
216690
  return lc.entry($h), lc.exit(Hl.cond(hh).then(ap, ".destroyStream(", Qh, ");")), Hl.ELEMENTS = Qh, Qh;
216691
216691
  });
216692
216692
  } else if (Oa) return new ys(Xa.thisDep, Xa.contextDep, Xa.propDep, function(Hl, lc) {
@@ -216731,8 +216731,8 @@ void main() {
216731
216731
  } else if (Fs in Ea) {
216732
216732
  var rl = Ea[Fs];
216733
216733
  return zc(rl, function(Hl, lc) {
216734
- var Fc = Hl.invoke(lc, rl);
216735
- return El && (Hl.OFFSET = Fc), Fc;
216734
+ var Uc = Hl.invoke(lc, rl);
216735
+ return El && (Hl.OFFSET = Uc), Uc;
216736
216736
  });
216737
216737
  } else if (El) {
216738
216738
  if (sa) return Qu(function(Hl, lc) {
@@ -216755,31 +216755,31 @@ void main() {
216755
216755
  });
216756
216756
  } else if (Mr in Ea) {
216757
216757
  var El = Ea[Mr];
216758
- return zc(El, function(lc, Fc) {
216759
- var xd = lc.invoke(Fc, El);
216758
+ return zc(El, function(lc, Uc) {
216759
+ var xd = lc.invoke(Uc, El);
216760
216760
  return xd;
216761
216761
  });
216762
216762
  } else if (sa) if (Ku(ga)) {
216763
- if (ga) return yo ? new ys(yo.thisDep, yo.contextDep, yo.propDep, function(lc, Fc) {
216764
- var xd = Fc.def(lc.ELEMENTS, ".vertCount-", lc.OFFSET);
216763
+ if (ga) return yo ? new ys(yo.thisDep, yo.contextDep, yo.propDep, function(lc, Uc) {
216764
+ var xd = Uc.def(lc.ELEMENTS, ".vertCount-", lc.OFFSET);
216765
216765
  return xd;
216766
- }) : Qu(function(lc, Fc) {
216767
- return Fc.def(lc.ELEMENTS, ".vertCount");
216766
+ }) : Qu(function(lc, Uc) {
216767
+ return Uc.def(lc.ELEMENTS, ".vertCount");
216768
216768
  });
216769
216769
  var Ys = Qu(function() {
216770
216770
  return -1;
216771
216771
  });
216772
216772
  return Ys;
216773
216773
  } else {
216774
- var rl = new ys(ga.thisDep || yo.thisDep, ga.contextDep || yo.contextDep, ga.propDep || yo.propDep, function(lc, Fc) {
216774
+ var rl = new ys(ga.thisDep || yo.thisDep, ga.contextDep || yo.contextDep, ga.propDep || yo.propDep, function(lc, Uc) {
216775
216775
  var xd = lc.ELEMENTS;
216776
- return lc.OFFSET ? Fc.def(xd, "?", xd, ".vertCount-", lc.OFFSET, ":-1") : Fc.def(xd, "?", xd, ".vertCount:-1");
216776
+ return lc.OFFSET ? Uc.def(xd, "?", xd, ".vertCount-", lc.OFFSET, ":-1") : Uc.def(xd, "?", xd, ".vertCount:-1");
216777
216777
  });
216778
216778
  return rl;
216779
216779
  }
216780
216780
  else if (Oa) {
216781
- var Hl = new ys(Xa.thisDep, Xa.contextDep, Xa.propDep, function(lc, Fc) {
216782
- return Fc.def(lc.shared.vao, ".currentVAO?", lc.shared.vao, ".currentVAO.count:-1");
216781
+ var Hl = new ys(Xa.thisDep, Xa.contextDep, Xa.propDep, function(lc, Uc) {
216782
+ return Uc.def(lc.shared.vao, ".currentVAO?", lc.shared.vao, ".currentVAO.count:-1");
216783
216783
  });
216784
216784
  return Hl;
216785
216785
  }
@@ -217309,12 +217309,12 @@ void main() {
217309
217309
  }
217310
217310
  if (sa.charAt(0) === "M") {
217311
217311
  ln(Xa, ".uniform", sa, "(", zs, ",");
217312
- var lc = Math.pow(no - Zf + 2, 2), Fc = Vr.global.def("new Float32Array(", lc, ")");
217312
+ var lc = Math.pow(no - Zf + 2, 2), Uc = Vr.global.def("new Float32Array(", lc, ")");
217313
217313
  Array.isArray(ms) ? ln("false,(", W(lc, function(hh) {
217314
- return Fc + "[" + hh + "]=" + ms[hh];
217315
- }), ",", Fc, ")") : ln("false,(Array.isArray(", ms, ")||", ms, " instanceof Float32Array)?", ms, ":(", W(lc, function(hh) {
217316
- return Fc + "[" + hh + "]=" + ms + "[" + hh + "]";
217317
- }), ",", Fc, ")"), ln(");");
217314
+ return Uc + "[" + hh + "]=" + ms[hh];
217315
+ }), ",", Uc, ")") : ln("false,(Array.isArray(", ms, ")||", ms, " instanceof Float32Array)?", ms, ":(", W(lc, function(hh) {
217316
+ return Uc + "[" + hh + "]=" + ms + "[" + hh + "]";
217317
+ }), ",", Uc, ")"), ln(");");
217318
217318
  } else if (rl > 1) {
217319
217319
  for (var xd = [], ap = [], qh = 0; qh < rl; ++qh) Array.isArray(ms) ? ap.push(ms[qh]) : ap.push(ln.def(ms + "[" + qh + "]")), Oa && xd.push(ln.def());
217320
217320
  Oa && ln("if(!", Vr.batchId, "||", xd.map(function(hh, $h) {
@@ -220078,8 +220078,8 @@ void main() {
220078
220078
  });
220079
220079
  } else if (sa in xa) {
220080
220080
  var zs = xa[sa], ms = zc(zs, function(el, Fs) {
220081
- var El = el.invoke(Fs, zs), Ys = el.shared.context, rl = Fs.def(El, ".x|0"), Hl = Fs.def(El, ".y|0"), lc = Fs.def('"width" in ', El, "?", El, ".width|0:", "(", Ys, ".", Ti, "-", rl, ")"), Fc = Fs.def('"height" in ', El, "?", El, ".height|0:", "(", Ys, ".", io, "-", Hl, ")");
220082
- return [rl, Hl, lc, Fc];
220081
+ var El = el.invoke(Fs, zs), Ys = el.shared.context, rl = Fs.def(El, ".x|0"), Hl = Fs.def(El, ".y|0"), lc = Fs.def('"width" in ', El, "?", El, ".width|0:", "(", Ys, ".", Ti, "-", rl, ")"), Uc = Fs.def('"height" in ', El, "?", El, ".height|0:", "(", Ys, ".", io, "-", Hl, ")");
220082
+ return [rl, Hl, lc, Uc];
220083
220083
  });
220084
220084
  return ln && (ms.thisDep = ms.thisDep || ln.thisDep, ms.contextDep = ms.contextDep || ln.contextDep, ms.propDep = ms.propDep || ln.propDep), ms;
220085
220085
  } else return ln ? new ys(ln.thisDep, ln.contextDep, ln.propDep, function(el, Fs) {
@@ -220167,8 +220167,8 @@ void main() {
220167
220167
  } else Fs && (Fs = xs.getElements(Fs), sa = !0);
220168
220168
  var Ys = Qu(function(Hl, lc) {
220169
220169
  if (Fs) {
220170
- var Fc = Hl.link(Fs);
220171
- return Hl.ELEMENTS = Fc, Fc;
220170
+ var Uc = Hl.link(Fs);
220171
+ return Hl.ELEMENTS = Uc, Uc;
220172
220172
  }
220173
220173
  return Hl.ELEMENTS = null, null;
220174
220174
  });
@@ -220177,7 +220177,7 @@ void main() {
220177
220177
  sa = !0;
220178
220178
  var rl = Ea[er];
220179
220179
  return zc(rl, function(Hl, lc) {
220180
- var Fc = Hl.shared, xd = Fc.isBufferArgs, ap = Fc.elements, qh = Hl.invoke(lc, rl), Qh = lc.def("null"), hh = lc.def(xd, "(", qh, ")"), $h = Hl.cond(hh).then(Qh, "=", ap, ".createStream(", qh, ");").else(Qh, "=", ap, ".getElements(", qh, ");");
220180
+ var Uc = Hl.shared, xd = Uc.isBufferArgs, ap = Uc.elements, qh = Hl.invoke(lc, rl), Qh = lc.def("null"), hh = lc.def(xd, "(", qh, ")"), $h = Hl.cond(hh).then(Qh, "=", ap, ".createStream(", qh, ");").else(Qh, "=", ap, ".getElements(", qh, ");");
220181
220181
  return lc.entry($h), lc.exit(Hl.cond(hh).then(ap, ".destroyStream(", Qh, ");")), Hl.ELEMENTS = Qh, Qh;
220182
220182
  });
220183
220183
  } else if (Oa) return new ys(Xa.thisDep, Xa.contextDep, Xa.propDep, function(Hl, lc) {
@@ -220222,8 +220222,8 @@ void main() {
220222
220222
  } else if (Fs in Ea) {
220223
220223
  var rl = Ea[Fs];
220224
220224
  return zc(rl, function(Hl, lc) {
220225
- var Fc = Hl.invoke(lc, rl);
220226
- return El && (Hl.OFFSET = Fc), Fc;
220225
+ var Uc = Hl.invoke(lc, rl);
220226
+ return El && (Hl.OFFSET = Uc), Uc;
220227
220227
  });
220228
220228
  } else if (El) {
220229
220229
  if (sa) return Qu(function(Hl, lc) {
@@ -220246,31 +220246,31 @@ void main() {
220246
220246
  });
220247
220247
  } else if (Mr in Ea) {
220248
220248
  var El = Ea[Mr];
220249
- return zc(El, function(lc, Fc) {
220250
- var xd = lc.invoke(Fc, El);
220249
+ return zc(El, function(lc, Uc) {
220250
+ var xd = lc.invoke(Uc, El);
220251
220251
  return xd;
220252
220252
  });
220253
220253
  } else if (sa) if (Ku(ga)) {
220254
- if (ga) return yo ? new ys(yo.thisDep, yo.contextDep, yo.propDep, function(lc, Fc) {
220255
- var xd = Fc.def(lc.ELEMENTS, ".vertCount-", lc.OFFSET);
220254
+ if (ga) return yo ? new ys(yo.thisDep, yo.contextDep, yo.propDep, function(lc, Uc) {
220255
+ var xd = Uc.def(lc.ELEMENTS, ".vertCount-", lc.OFFSET);
220256
220256
  return xd;
220257
- }) : Qu(function(lc, Fc) {
220258
- return Fc.def(lc.ELEMENTS, ".vertCount");
220257
+ }) : Qu(function(lc, Uc) {
220258
+ return Uc.def(lc.ELEMENTS, ".vertCount");
220259
220259
  });
220260
220260
  var Ys = Qu(function() {
220261
220261
  return -1;
220262
220262
  });
220263
220263
  return Ys;
220264
220264
  } else {
220265
- var rl = new ys(ga.thisDep || yo.thisDep, ga.contextDep || yo.contextDep, ga.propDep || yo.propDep, function(lc, Fc) {
220265
+ var rl = new ys(ga.thisDep || yo.thisDep, ga.contextDep || yo.contextDep, ga.propDep || yo.propDep, function(lc, Uc) {
220266
220266
  var xd = lc.ELEMENTS;
220267
- return lc.OFFSET ? Fc.def(xd, "?", xd, ".vertCount-", lc.OFFSET, ":-1") : Fc.def(xd, "?", xd, ".vertCount:-1");
220267
+ return lc.OFFSET ? Uc.def(xd, "?", xd, ".vertCount-", lc.OFFSET, ":-1") : Uc.def(xd, "?", xd, ".vertCount:-1");
220268
220268
  });
220269
220269
  return rl;
220270
220270
  }
220271
220271
  else if (Oa) {
220272
- var Hl = new ys(Xa.thisDep, Xa.contextDep, Xa.propDep, function(lc, Fc) {
220273
- return Fc.def(lc.shared.vao, ".currentVAO?", lc.shared.vao, ".currentVAO.count:-1");
220272
+ var Hl = new ys(Xa.thisDep, Xa.contextDep, Xa.propDep, function(lc, Uc) {
220273
+ return Uc.def(lc.shared.vao, ".currentVAO?", lc.shared.vao, ".currentVAO.count:-1");
220274
220274
  });
220275
220275
  return Hl;
220276
220276
  }
@@ -220800,12 +220800,12 @@ void main() {
220800
220800
  }
220801
220801
  if (sa.charAt(0) === "M") {
220802
220802
  ln(Xa, ".uniform", sa, "(", zs, ",");
220803
- var lc = Math.pow(no - Zf + 2, 2), Fc = Vr.global.def("new Float32Array(", lc, ")");
220803
+ var lc = Math.pow(no - Zf + 2, 2), Uc = Vr.global.def("new Float32Array(", lc, ")");
220804
220804
  Array.isArray(ms) ? ln("false,(", W(lc, function(hh) {
220805
- return Fc + "[" + hh + "]=" + ms[hh];
220806
- }), ",", Fc, ")") : ln("false,(Array.isArray(", ms, ")||", ms, " instanceof Float32Array)?", ms, ":(", W(lc, function(hh) {
220807
- return Fc + "[" + hh + "]=" + ms + "[" + hh + "]";
220808
- }), ",", Fc, ")"), ln(");");
220805
+ return Uc + "[" + hh + "]=" + ms[hh];
220806
+ }), ",", Uc, ")") : ln("false,(Array.isArray(", ms, ")||", ms, " instanceof Float32Array)?", ms, ":(", W(lc, function(hh) {
220807
+ return Uc + "[" + hh + "]=" + ms + "[" + hh + "]";
220808
+ }), ",", Uc, ")"), ln(");");
220809
220809
  } else if (rl > 1) {
220810
220810
  for (var xd = [], ap = [], qh = 0; qh < rl; ++qh) Array.isArray(ms) ? ap.push(ms[qh]) : ap.push(ln.def(ms + "[" + qh + "]")), Oa && xd.push(ln.def());
220811
220811
  Oa && ln("if(!", Vr.batchId, "||", xd.map(function(hh, $h) {
@@ -228091,10 +228091,10 @@ void main() {
228091
228091
  var en = Hl(dr, B.type), Zn = Er.value, ka = Er.property.specification.type, $a = Er.property.useIntegerZoom, gi = Er.property.specification["property-type"], ji = gi === "cross-faded" || gi === "cross-faded-data-driven";
228092
228092
  if (Zn.kind === "constant") this.binders[dr] = ji ? new ms(Zn.value, en) : new zs(Zn.value, en, ka), Re.push("/u_" + dr);
228093
228093
  else if (Zn.kind === "source" || ji) {
228094
- var to = Fc(dr, ka, "source");
228094
+ var to = Uc(dr, ka, "source");
228095
228095
  this.binders[dr] = ji ? new El(Zn, ka, $a, Ot, to, B.id) : new el(Zn, en, ka, to), Re.push("/a_" + dr);
228096
228096
  } else {
228097
- var go = Fc(dr, ka, "composite");
228097
+ var go = Uc(dr, ka, "composite");
228098
228098
  this.binders[dr] = new Fs(Zn, en, ka, $a, Ot, go), Re.push("/z_" + dr);
228099
228099
  }
228100
228100
  }
@@ -228231,7 +228231,7 @@ void main() {
228231
228231
  var Ot = { "line-pattern": { source: Cl, composite: Cl }, "fill-pattern": { source: Cl, composite: Cl }, "fill-extrusion-pattern": { source: Cl, composite: Cl } };
228232
228232
  return Ot[B];
228233
228233
  }
228234
- function Fc(B, Ot, Jt) {
228234
+ function Uc(B, Ot, Jt) {
228235
228235
  var Re = { color: { source: su, composite: qm }, number: { source: Eh, composite: su } }, dr = lc(B);
228236
228236
  return dr && dr[Jt] || Re[Ot][Jt];
228237
228237
  }
@@ -234726,8 +234726,8 @@ void main() {
234726
234726
  ga.push(Rs.last);
234727
234727
  } else {
234728
234728
  if (Pe && !ae) {
234729
- var El = _l(xa, Lr).point, Ys = Wt.lineStartIndex + Wt.segment + 1, rl = new f.Point(ln.getx(Ys), ln.gety(Ys)), Hl = _l(rl, Lr), lc = Hl.signedDistanceFromCamera > 0 ? Hl.point : np(xa, rl, El, 1, Lr), Fc = cd(Wt.writingMode, El, lc, qa);
234730
- if (Fc) return Fc;
234729
+ var El = _l(xa, Lr).point, Ys = Wt.lineStartIndex + Wt.segment + 1, rl = new f.Point(ln.getx(Ys), ln.gety(Ys)), Hl = _l(rl, Lr), lc = Hl.signedDistanceFromCamera > 0 ? Hl.point : np(xa, rl, El, 1, Lr), Uc = cd(Wt.writingMode, El, lc, qa);
234730
+ if (Uc) return Uc;
234731
234731
  }
234732
234732
  var xd = qd(Xa * Vr.getoffsetX(Wt.glyphStartIndex), sa, Sa, ae, Ea, xa, Wt.segment, Wt.lineStartIndex, Wt.lineStartIndex + Wt.lineLength, ln, pn, Oa);
234733
234733
  if (!xd) return { notEnoughRoom: !0 };
@@ -234783,7 +234783,7 @@ void main() {
234783
234783
  }, uh.prototype.placeCollisionCircles = function(Wt, fe, ae, Pe, Lr, pn, xn, Vr, ln, An, Ea, xa, Oa) {
234784
234784
  var qa = [], Xa = new f.Point(fe.anchorX, fe.anchorY), sa = _l(Xa, pn), Sa = sc(this.transform.cameraToCenterDistance, sa.signedDistanceFromCamera), ga = An ? Lr / Sa : Lr * Sa, bi = ga / f.ONE_EM, no = _l(Xa, xn).point, yo = {}, Rs = fe.lineOffsetX * bi, zs = fe.lineOffsetY * bi, ms = jc(bi, Pe, Rs, zs, !1, no, Xa, fe, ae, xn, yo), el = !1, Fs = !1, El = !0;
234785
234785
  if (ms) {
234786
- for (var Ys = xa * 0.5 * Sa + Oa, rl = new f.Point(-jd, -jd), Hl = new f.Point(this.screenRightBoundary, this.screenBottomBoundary), lc = new Do(), Fc = ms.first, xd = ms.last, ap = [], qh = Fc.path.length - 1; qh >= 1; qh--) ap.push(Fc.path[qh]);
234786
+ for (var Ys = xa * 0.5 * Sa + Oa, rl = new f.Point(-jd, -jd), Hl = new f.Point(this.screenRightBoundary, this.screenBottomBoundary), lc = new Do(), Uc = ms.first, xd = ms.last, ap = [], qh = Uc.path.length - 1; qh >= 1; qh--) ap.push(Uc.path[qh]);
234787
234787
  for (var Qh = 1; Qh < xd.path.length; Qh++) ap.push(xd.path[Qh]);
234788
234788
  var hh = Ys * 2.5;
234789
234789
  if (Vr) {
@@ -234921,25 +234921,25 @@ void main() {
234921
234921
  }, Np.prototype.placeLayerBucketPart = function(Wt, fe, ae) {
234922
234922
  var Pe = this, Lr = Wt.parameters, pn = Lr.bucket, xn = Lr.layout, Vr = Lr.posMatrix, ln = Lr.textLabelPlaneMatrix, An = Lr.labelToScreenMatrix, Ea = Lr.textPixelRatio, xa = Lr.holdingForFade, Oa = Lr.collisionBoxArray, qa = Lr.partiallyEvaluatedTextSize, Xa = Lr.collisionGroup, sa = xn.get("text-optional"), Sa = xn.get("icon-optional"), ga = xn.get("text-allow-overlap"), bi = xn.get("icon-allow-overlap"), no = xn.get("text-rotation-alignment") === "map", yo = xn.get("text-pitch-alignment") === "map", Rs = xn.get("icon-text-fit") !== "none", zs = xn.get("symbol-z-order") === "viewport-y", ms = ga && (bi || !pn.hasIconData() || Sa), el = bi && (ga || !pn.hasTextData() || sa);
234923
234923
  !pn.collisionArrays && Oa && pn.deserializeCollisionBoxes(Oa);
234924
- var Fs = function(Fc, xd) {
234925
- if (!fe[Fc.crossTileID]) {
234924
+ var Fs = function(Uc, xd) {
234925
+ if (!fe[Uc.crossTileID]) {
234926
234926
  if (xa) {
234927
- Pe.placements[Fc.crossTileID] = new vp(!1, !1, !1);
234927
+ Pe.placements[Uc.crossTileID] = new vp(!1, !1, !1);
234928
234928
  return;
234929
234929
  }
234930
234930
  var ap = !1, qh = !1, Qh = !0, hh = null, $h = { box: null, offscreen: null }, t1 = { box: null, offscreen: null }, Mp = null, u0 = null, av = null, l2 = 0, w_ = 0, L3 = 0;
234931
- xd.textFeatureIndex ? l2 = xd.textFeatureIndex : Fc.useRuntimeCollisionCircles && (l2 = Fc.featureIndex), xd.verticalTextFeatureIndex && (w_ = xd.verticalTextFeatureIndex);
234931
+ xd.textFeatureIndex ? l2 = xd.textFeatureIndex : Uc.useRuntimeCollisionCircles && (l2 = Uc.featureIndex), xd.verticalTextFeatureIndex && (w_ = xd.verticalTextFeatureIndex);
234932
234932
  var Jx = xd.textBox;
234933
234933
  if (Jx) {
234934
234934
  var Hx = function(iv) {
234935
234935
  var gb = f.WritingMode.horizontal;
234936
234936
  if (pn.allowVerticalPlacement && !iv && Pe.prevPlacement) {
234937
- var e1 = Pe.prevPlacement.placedOrientations[Fc.crossTileID];
234938
- e1 && (Pe.placedOrientations[Fc.crossTileID] = e1, gb = e1, Pe.markUsedOrientation(pn, gb, Fc));
234937
+ var e1 = Pe.prevPlacement.placedOrientations[Uc.crossTileID];
234938
+ e1 && (Pe.placedOrientations[Uc.crossTileID] = e1, gb = e1, Pe.markUsedOrientation(pn, gb, Uc));
234939
234939
  }
234940
234940
  return gb;
234941
234941
  }, _w = function(iv, gb) {
234942
- if (pn.allowVerticalPlacement && Fc.numVerticalGlyphVertices > 0 && xd.verticalTextBox) for (var e1 = 0, tT = pn.writingModes; e1 < tT.length; e1 += 1) {
234942
+ if (pn.allowVerticalPlacement && Uc.numVerticalGlyphVertices > 0 && xd.verticalTextBox) for (var e1 = 0, tT = pn.writingModes; e1 < tT.length; e1 += 1) {
234943
234943
  var $T = tT[e1];
234944
234944
  if ($T === f.WritingMode.vertical ? ($h = gb(), t1 = $h) : $h = iv(), $h && $h.box && $h.box.length) break;
234945
234945
  }
@@ -234947,15 +234947,15 @@ void main() {
234947
234947
  };
234948
234948
  if (xn.get("text-variable-anchor")) {
234949
234949
  var fx = xn.get("text-variable-anchor");
234950
- if (Pe.prevPlacement && Pe.prevPlacement.variableOffsets[Fc.crossTileID]) {
234951
- var Yx = Pe.prevPlacement.variableOffsets[Fc.crossTileID];
234950
+ if (Pe.prevPlacement && Pe.prevPlacement.variableOffsets[Uc.crossTileID]) {
234951
+ var Yx = Pe.prevPlacement.variableOffsets[Uc.crossTileID];
234952
234952
  fx.indexOf(Yx.anchor) > 0 && (fx = fx.filter(function(iv) {
234953
234953
  return iv !== Yx.anchor;
234954
234954
  }), fx.unshift(Yx.anchor));
234955
234955
  }
234956
234956
  var tx = function(iv, gb, e1) {
234957
- for (var tT = iv.x2 - iv.x1, $T = iv.y2 - iv.y1, fk = Fc.textBoxScale, O1 = Rs && !bi ? gb : null, E5 = { box: [], offscreen: !1 }, mk = ga ? fx.length * 2 : fx.length, eT = 0; eT < mk; ++eT) {
234958
- var Tw = fx[eT % fx.length], W8 = eT >= fx.length, tS = Pe.attemptAnchorPlacement(Tw, iv, tT, $T, fk, no, yo, Ea, Vr, Xa, W8, Fc, pn, e1, O1);
234957
+ for (var tT = iv.x2 - iv.x1, $T = iv.y2 - iv.y1, fk = Uc.textBoxScale, O1 = Rs && !bi ? gb : null, E5 = { box: [], offscreen: !1 }, mk = ga ? fx.length * 2 : fx.length, eT = 0; eT < mk; ++eT) {
234958
+ var Tw = fx[eT % fx.length], W8 = eT >= fx.length, tS = Pe.attemptAnchorPlacement(Tw, iv, tT, $T, fk, no, yo, Ea, Vr, Xa, W8, Uc, pn, e1, O1);
234959
234959
  if (tS && (E5 = tS.placedGlyphBoxes, E5 && E5.box && E5.box.length)) {
234960
234960
  ap = !0, hh = tS.shift;
234961
234961
  break;
@@ -234966,29 +234966,29 @@ void main() {
234966
234966
  return tx(Jx, xd.iconBox, f.WritingMode.horizontal);
234967
234967
  }, W4 = function() {
234968
234968
  var iv = xd.verticalTextBox, gb = $h && $h.box && $h.box.length;
234969
- return pn.allowVerticalPlacement && !gb && Fc.numVerticalGlyphVertices > 0 && iv ? tx(iv, xd.verticalIconBox, f.WritingMode.vertical) : { box: null, offscreen: null };
234969
+ return pn.allowVerticalPlacement && !gb && Uc.numVerticalGlyphVertices > 0 && iv ? tx(iv, xd.verticalIconBox, f.WritingMode.vertical) : { box: null, offscreen: null };
234970
234970
  };
234971
234971
  _w(t5, W4), $h && (ap = $h.box, Qh = $h.offscreen);
234972
234972
  var Qx = Hx($h && $h.box);
234973
234973
  if (!ap && Pe.prevPlacement) {
234974
- var $x = Pe.prevPlacement.variableOffsets[Fc.crossTileID];
234975
- $x && (Pe.variableOffsets[Fc.crossTileID] = $x, Pe.markUsedJustification(pn, $x.anchor, Fc, Qx));
234974
+ var $x = Pe.prevPlacement.variableOffsets[Uc.crossTileID];
234975
+ $x && (Pe.variableOffsets[Uc.crossTileID] = $x, Pe.markUsedJustification(pn, $x.anchor, Uc, Qx));
234976
234976
  }
234977
234977
  } else {
234978
234978
  var mx = function(iv, gb) {
234979
234979
  var e1 = Pe.collisionIndex.placeCollisionBox(iv, ga, Ea, Vr, Xa.predicate);
234980
- return e1 && e1.box && e1.box.length && (Pe.markUsedOrientation(pn, gb, Fc), Pe.placedOrientations[Fc.crossTileID] = gb), e1;
234980
+ return e1 && e1.box && e1.box.length && (Pe.markUsedOrientation(pn, gb, Uc), Pe.placedOrientations[Uc.crossTileID] = gb), e1;
234981
234981
  }, K4 = function() {
234982
234982
  return mx(Jx, f.WritingMode.horizontal);
234983
234983
  }, Y6 = function() {
234984
234984
  var iv = xd.verticalTextBox;
234985
- return pn.allowVerticalPlacement && Fc.numVerticalGlyphVertices > 0 && iv ? mx(iv, f.WritingMode.vertical) : { box: null, offscreen: null };
234985
+ return pn.allowVerticalPlacement && Uc.numVerticalGlyphVertices > 0 && iv ? mx(iv, f.WritingMode.vertical) : { box: null, offscreen: null };
234986
234986
  };
234987
234987
  _w(K4, Y6), Hx($h && $h.box && $h.box.length);
234988
234988
  }
234989
234989
  }
234990
- if (Mp = $h, ap = Mp && Mp.box && Mp.box.length > 0, Qh = Mp && Mp.offscreen, Fc.useRuntimeCollisionCircles) {
234991
- var X4 = pn.text.placedSymbolArray.get(Fc.centerJustifiedTextSymbolIndex), mb = f.evaluateSizeForFeature(pn.textSizeData, qa, X4), N5 = xn.get("text-padding"), Q6 = Fc.collisionCircleDiameter;
234990
+ if (Mp = $h, ap = Mp && Mp.box && Mp.box.length > 0, Qh = Mp && Mp.offscreen, Uc.useRuntimeCollisionCircles) {
234991
+ var X4 = pn.text.placedSymbolArray.get(Uc.centerJustifiedTextSymbolIndex), mb = f.evaluateSizeForFeature(pn.textSizeData, qa, X4), N5 = xn.get("text-padding"), Q6 = Uc.collisionCircleDiameter;
234992
234992
  u0 = Pe.collisionIndex.placeCollisionCircles(ga, X4, pn.lineVertexArray, pn.glyphOffsetArray, mb, Vr, ln, An, ae, yo, Xa.predicate, Q6, N5), ap = ga || u0.circles.length > 0 && !u0.collisionDetected, Qh = Qh && u0.offscreen;
234993
234993
  }
234994
234994
  if (xd.iconFeatureIndex && (L3 = xd.iconFeatureIndex), xd.iconBox) {
@@ -234998,13 +234998,13 @@ void main() {
234998
234998
  };
234999
234999
  t1 && t1.box && t1.box.length && xd.verticalIconBox ? (av = yb(xd.verticalIconBox), qh = av.box.length > 0) : (av = yb(xd.iconBox), qh = av.box.length > 0), Qh = Qh && av.offscreen;
235000
235000
  }
235001
- var G4 = sa || Fc.numHorizontalGlyphVertices === 0 && Fc.numVerticalGlyphVertices === 0, YT = Sa || Fc.numIconVertices === 0;
235001
+ var G4 = sa || Uc.numHorizontalGlyphVertices === 0 && Uc.numVerticalGlyphVertices === 0, YT = Sa || Uc.numIconVertices === 0;
235002
235002
  if (!G4 && !YT ? qh = ap = qh && ap : YT ? G4 || (qh = qh && ap) : ap = qh && ap, ap && Mp && Mp.box && (t1 && t1.box && w_ ? Pe.collisionIndex.insertCollisionBox(Mp.box, xn.get("text-ignore-placement"), pn.bucketInstanceId, w_, Xa.ID) : Pe.collisionIndex.insertCollisionBox(Mp.box, xn.get("text-ignore-placement"), pn.bucketInstanceId, l2, Xa.ID)), qh && av && Pe.collisionIndex.insertCollisionBox(av.box, xn.get("icon-ignore-placement"), pn.bucketInstanceId, L3, Xa.ID), u0 && (ap && Pe.collisionIndex.insertCollisionCircles(u0.circles, xn.get("text-ignore-placement"), pn.bucketInstanceId, l2, Xa.ID), ae)) {
235003
235003
  var QT = pn.bucketInstanceId, ww = Pe.collisionCircleArrays[QT];
235004
235004
  ww === void 0 && (ww = Pe.collisionCircleArrays[QT] = new nd());
235005
235005
  for (var $6 = 0; $6 < u0.circles.length; $6 += 4) ww.circles.push(u0.circles[$6 + 0]), ww.circles.push(u0.circles[$6 + 1]), ww.circles.push(u0.circles[$6 + 2]), ww.circles.push(u0.collisionDetected ? 1 : 0);
235006
235006
  }
235007
- Pe.placements[Fc.crossTileID] = new vp(ap || ms, qh || el, Qh || pn.justReloaded), fe[Fc.crossTileID] = !0;
235007
+ Pe.placements[Uc.crossTileID] = new vp(ap || ms, qh || el, Qh || pn.justReloaded), fe[Uc.crossTileID] = !0;
235008
235008
  }
235009
235009
  };
235010
235010
  if (zs) for (var El = pn.getSortedSymbolIndexes(this.transform.angle), Ys = El.length - 1; Ys >= 0; --Ys) {
@@ -235068,8 +235068,8 @@ void main() {
235068
235068
  if (el) {
235069
235069
  var Hl = j0(ms.text), lc = Ys ? Ec : Hl;
235070
235070
  qa(Wt.text, no, lc);
235071
- var Fc = rl ? Ec : Hl;
235072
- qa(Wt.text, yo, Fc);
235071
+ var Uc = rl ? Ec : Hl;
235072
+ qa(Wt.text, yo, Uc);
235073
235073
  var xd = ms.text.isHidden();
235074
235074
  [bi.rightJustifiedTextSymbolIndex, bi.centerJustifiedTextSymbolIndex, bi.leftJustifiedTextSymbolIndex].forEach(function(L3) {
235075
235075
  L3 >= 0 && (Wt.text.placedSymbolArray.get(L3).hidden = xd || Ys ? 1 : 0);
@@ -236516,8 +236516,8 @@ uniform ` + Ea + " " + xa + " u_" + Oa + `;
236516
236516
  var zs = Wt.useProgram("collisionCircle"), ms = new f.StructArrayLayout2f1f2i16();
236517
236517
  ms.resize(xa * 4), ms._trim();
236518
236518
  for (var el = 0, Fs = 0, El = Ea; Fs < El.length; Fs += 1) for (var Ys = El[Fs], rl = 0; rl < Ys.circleArray.length / 4; rl++) {
236519
- var Hl = rl * 4, lc = Ys.circleArray[Hl + 0], Fc = Ys.circleArray[Hl + 1], xd = Ys.circleArray[Hl + 2], ap = Ys.circleArray[Hl + 3];
236520
- ms.emplace(el++, lc, Fc, xd, ap, 0), ms.emplace(el++, lc, Fc, xd, ap, 1), ms.emplace(el++, lc, Fc, xd, ap, 2), ms.emplace(el++, lc, Fc, xd, ap, 3);
236519
+ var Hl = rl * 4, lc = Ys.circleArray[Hl + 0], Uc = Ys.circleArray[Hl + 1], xd = Ys.circleArray[Hl + 2], ap = Ys.circleArray[Hl + 3];
236520
+ ms.emplace(el++, lc, Uc, xd, ap, 0), ms.emplace(el++, lc, Uc, xd, ap, 1), ms.emplace(el++, lc, Uc, xd, ap, 2), ms.emplace(el++, lc, Uc, xd, ap, 3);
236521
236521
  }
236522
236522
  (!J1 || J1.length < xa * 2) && (J1 = M2(xa));
236523
236523
  for (var qh = Vr.createIndexBuffer(J1, !0), Qh = Vr.createVertexBuffer(ms, f.collisionCircleLayout.members, !0), hh = 0, $h = Ea; hh < $h.length; hh += 1) {
@@ -236568,7 +236568,7 @@ uniform ` + Ea + " " + xa + " u_" + Oa + `;
236568
236568
  else {
236569
236569
  var no = new f.Point(Sa.anchorX, Sa.anchorY), yo = _l(no, ae ? Vr : xn), Rs = sc(pn.cameraToCenterDistance, yo.signedDistanceFromCamera), zs = Lr.evaluateSizeForFeature(Wt.textSizeData, An, Sa) * Rs / f.ONE_EM;
236570
236570
  ae && (zs *= Wt.tilePixelRatio / ln);
236571
- for (var ms = bi.width, el = bi.height, Fs = bi.anchor, El = bi.textOffset, Ys = bi.textBoxScale, rl = be(Fs, ms, el, El, Ys, zs), Hl = ae ? _l(no.add(rl), xn).point : yo.point.add(fe ? rl.rotate(-pn.angle) : rl), lc = Wt.allowVerticalPlacement && Sa.placedOrientation === f.WritingMode.vertical ? Math.PI / 2 : 0, Fc = 0; Fc < Sa.numGlyphs; Fc++) f.addDynamicAttributes(Oa, Hl, lc);
236571
+ for (var ms = bi.width, el = bi.height, Fs = bi.anchor, El = bi.textOffset, Ys = bi.textBoxScale, rl = be(Fs, ms, el, El, Ys, zs), Hl = ae ? _l(no.add(rl), xn).point : yo.point.add(fe ? rl.rotate(-pn.angle) : rl), lc = Wt.allowVerticalPlacement && Sa.placedOrientation === f.WritingMode.vertical ? Math.PI / 2 : 0, Uc = 0; Uc < Sa.numGlyphs; Uc++) f.addDynamicAttributes(Oa, Hl, lc);
236572
236572
  Ea && Sa.associatedIconIndex >= 0 && (Xa[Sa.associatedIconIndex] = { shiftedAnchor: Hl, angle: lc });
236573
236573
  }
236574
236574
  }
@@ -236596,7 +236596,7 @@ uniform ` + Ea + " " + xa + " u_" + Oa + `;
236596
236596
  if (rl) {
236597
236597
  var Hl = Lr ? rl.text : rl.icon;
236598
236598
  if (!(!Hl || !Hl.segments.get().length)) {
236599
- var lc = Hl.programConfigurations.get(ae.id), Fc = Lr || rl.sdfIcons, xd = Lr ? rl.textSizeData : rl.iconSizeData, ap = Sa || Xa.pitch !== 0, qh = Wt.useProgram(Mr(Fc, Lr, rl), lc), Qh = f.evaluateSizeForZoom(xd, Xa.zoom), hh = void 0, $h = [0, 0], t1 = void 0, Mp = void 0, u0 = null, av = void 0;
236599
+ var lc = Hl.programConfigurations.get(ae.id), Uc = Lr || rl.sdfIcons, xd = Lr ? rl.textSizeData : rl.iconSizeData, ap = Sa || Xa.pitch !== 0, qh = Wt.useProgram(Mr(Uc, Lr, rl), lc), Qh = f.evaluateSizeForZoom(xd, Xa.zoom), hh = void 0, $h = [0, 0], t1 = void 0, Mp = void 0, u0 = null, av = void 0;
236600
236600
  if (Lr) {
236601
236601
  if (t1 = Ys.glyphAtlasTexture, Mp = qa.LINEAR, hh = Ys.glyphAtlasTexture.size, rl.iconsInText) {
236602
236602
  $h = Ys.imageAtlasTexture.size, u0 = Ys.imageAtlasTexture;
@@ -236605,13 +236605,13 @@ uniform ` + Ea + " " + xa + " u_" + Oa + `;
236605
236605
  }
236606
236606
  } else {
236607
236607
  var w_ = ae.layout.get("icon-size").constantOr(0) !== 1 || rl.iconsNeedLinear;
236608
- t1 = Ys.imageAtlasTexture, Mp = Fc || Wt.options.rotating || Wt.options.zooming || w_ || ap ? qa.LINEAR : qa.NEAREST, hh = Ys.imageAtlasTexture.size;
236608
+ t1 = Ys.imageAtlasTexture, Mp = Uc || Wt.options.rotating || Wt.options.zooming || w_ || ap ? qa.LINEAR : qa.NEAREST, hh = Ys.imageAtlasTexture.size;
236609
236609
  }
236610
236610
  var L3 = Bp(Ys, 1, Wt.transform.zoom), Jx = hs(El.posMatrix, Sa, sa, Wt.transform, L3), Hx = zu(El.posMatrix, Sa, sa, Wt.transform, L3), _w = zs && rl.hasTextData(), fx = ae.layout.get("icon-text-fit") !== "none" && _w && rl.hasIconData();
236611
236611
  ga && ud(rl, El.posMatrix, Wt, Lr, Jx, Hx, Sa, An);
236612
- var Yx = Wt.translatePosMatrix(El.posMatrix, Ys, pn, xn), tx = ga || Lr && zs || fx ? Nr : Jx, t5 = Wt.translatePosMatrix(Hx, Ys, pn, xn, !0), W4 = Fc && ae.paint.get(Lr ? "text-halo-width" : "icon-halo-width").constantOr(1) !== 0, Qx = void 0;
236613
- Fc ? rl.iconsInText ? Qx = Z1(xd.kind, Qh, bi, Sa, Wt, Yx, tx, t5, hh, $h) : Qx = xg(xd.kind, Qh, bi, Sa, Wt, Yx, tx, t5, Lr, hh) : Qx = L1(xd.kind, Qh, bi, Sa, Wt, Yx, tx, t5, Lr, hh);
236614
- var $x = { program: qh, buffers: Hl, uniformValues: Qx, atlasTexture: t1, atlasTextureIcon: u0, atlasInterpolation: Mp, atlasInterpolationIcon: av, isSDF: Fc, hasHalo: W4 };
236612
+ var Yx = Wt.translatePosMatrix(El.posMatrix, Ys, pn, xn), tx = ga || Lr && zs || fx ? Nr : Jx, t5 = Wt.translatePosMatrix(Hx, Ys, pn, xn, !0), W4 = Uc && ae.paint.get(Lr ? "text-halo-width" : "icon-halo-width").constantOr(1) !== 0, Qx = void 0;
236613
+ Uc ? rl.iconsInText ? Qx = Z1(xd.kind, Qh, bi, Sa, Wt, Yx, tx, t5, hh, $h) : Qx = xg(xd.kind, Qh, bi, Sa, Wt, Yx, tx, t5, Lr, hh) : Qx = L1(xd.kind, Qh, bi, Sa, Wt, Yx, tx, t5, Lr, hh);
236614
+ var $x = { program: qh, buffers: Hl, uniformValues: Qx, atlasTexture: t1, atlasTextureIcon: u0, atlasInterpolation: Mp, atlasInterpolationIcon: av, isSDF: Uc, hasHalo: W4 };
236615
236615
  if (no && rl.canOverlap) {
236616
236616
  yo = !0;
236617
236617
  for (var mx = Hl.segments.get(), K4 = 0, Y6 = mx; K4 < Y6.length; K4 += 1) {
@@ -236657,7 +236657,7 @@ uniform ` + Ea + " " + xa + " u_" + Oa + `;
236657
236657
  return t1.sortKey - Mp.sortKey;
236658
236658
  });
236659
236659
  for (var rl = 0, Hl = qa; rl < Hl.length; rl += 1) {
236660
- var lc = Hl[rl], Fc = lc.state, xd = Fc.programConfiguration, ap = Fc.program, qh = Fc.layoutVertexBuffer, Qh = Fc.indexBuffer, hh = Fc.uniformValues, $h = lc.segments;
236660
+ var lc = Hl[rl], Uc = lc.state, xd = Uc.programConfiguration, ap = Uc.program, qh = Uc.layoutVertexBuffer, Qh = Uc.indexBuffer, hh = Uc.uniformValues, $h = lc.segments;
236661
236661
  ap.draw(ln, An.TRIANGLES, Ea, xa, Oa, Zi.disabled, hh, ae.id, qh, Qh, $h, ae.paint, Wt.transform.zoom, xd);
236662
236662
  }
236663
236663
  }
@@ -236719,14 +236719,14 @@ uniform ` + Ea + " " + xa + " u_" + Oa + `;
236719
236719
  if (Ea) Xa.activeTexture.set(sa.TEXTURE0), yo.imageAtlasTexture.bind(sa.LINEAR, sa.CLAMP_TO_EDGE), zs.updatePaintBuffers(Oa);
236720
236720
  else if (ln && (Fs || Wt.lineAtlas.dirty)) Xa.activeTexture.set(sa.TEXTURE0), Wt.lineAtlas.bind(Xa);
236721
236721
  else if (xa) {
236722
- var Fc = Rs.gradients[ae.id], xd = Fc.texture;
236723
- if (ae.gradientVersion !== Fc.version) {
236722
+ var Uc = Rs.gradients[ae.id], xd = Uc.texture;
236723
+ if (ae.gradientVersion !== Uc.version) {
236724
236724
  var ap = 256;
236725
236725
  if (ae.stepInterpolant) {
236726
236726
  var qh = fe.getSource().maxzoom, Qh = no.canonical.z === qh ? Math.ceil(1 << Wt.transform.maxZoom - no.canonical.z) : 1, hh = Rs.maxLineLength / f.EXTENT, $h = 1024, t1 = hh * $h * Qh;
236727
236727
  ap = f.clamp(f.nextPowerOfTwo(t1), 256, Xa.maxTextureSize);
236728
236728
  }
236729
- Fc.gradient = f.renderColorRamp({ expression: ae.gradientExpression(), evaluationKey: "lineProgress", resolution: ap, image: Fc.gradient || void 0, clips: Rs.lineClipsArray }), Fc.texture ? Fc.texture.update(Fc.gradient) : Fc.texture = new f.Texture(Xa, Fc.gradient, sa.RGBA), Fc.version = ae.gradientVersion, xd = Fc.texture;
236729
+ Uc.gradient = f.renderColorRamp({ expression: ae.gradientExpression(), evaluationKey: "lineProgress", resolution: ap, image: Uc.gradient || void 0, clips: Rs.lineClipsArray }), Uc.texture ? Uc.texture.update(Uc.gradient) : Uc.texture = new f.Texture(Xa, Uc.gradient, sa.RGBA), Uc.version = ae.gradientVersion, xd = Uc.texture;
236730
236730
  }
236731
236731
  Xa.activeTexture.set(sa.TEXTURE0), xd.bind(ae.stepInterpolant ? sa.NEAREST : sa.LINEAR, sa.CLAMP_TO_EDGE);
236732
236732
  }
@@ -238382,16 +238382,16 @@ uniform ` + Ea + " " + xa + " u_" + Oa + `;
238382
238382
  function lc(Mp) {
238383
238383
  return (Math.exp(Mp) - Math.exp(-Mp)) / 2;
238384
238384
  }
238385
- function Fc(Mp) {
238385
+ function Uc(Mp) {
238386
238386
  return (Math.exp(Mp) + Math.exp(-Mp)) / 2;
238387
238387
  }
238388
238388
  function xd(Mp) {
238389
- return lc(Mp) / Fc(Mp);
238389
+ return lc(Mp) / Uc(Mp);
238390
238390
  }
238391
238391
  var ap = Hl(0), qh = function(Mp) {
238392
- return Fc(ap) / Fc(ap + zs * Mp);
238392
+ return Uc(ap) / Uc(ap + zs * Mp);
238393
238393
  }, Qh = function(Mp) {
238394
- return ms * ((Fc(ap) * xd(ap + zs * Mp) - lc(ap)) / rl) / Fs;
238394
+ return ms * ((Uc(ap) * xd(ap + zs * Mp) - lc(ap)) / rl) / Fs;
238395
238395
  }, hh = (Hl(1) - ap) / zs;
238396
238396
  if (Math.abs(Fs) < 1e-6 || !isFinite(hh)) {
238397
238397
  if (Math.abs(ms - el) < 1e-6) return this.easeTo(ae, Pe);
@@ -245693,7 +245693,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
245693
245693
  var Ri = { type: "Feature", geometry: { type: Ca, coordinates: Jn }, properties: this.properties };
245694
245694
  return "id" in this && (Ri.id = this.id), Ri;
245695
245695
  };
245696
- var Fc = Ys, xd = ap;
245696
+ var Uc = Ys, xd = ap;
245697
245697
  function ap(Gt, St) {
245698
245698
  this.version = 1, this.name = null, this.extent = 4096, this.length = 0, this._pbf = Gt, this._keys = [], this._values = [], this._features = [], Gt.readFields(qh, this, St), this.length = this._features.length;
245699
245699
  }
@@ -245710,7 +245710,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
245710
245710
  if (Gt < 0 || Gt >= this._features.length) throw new Error("feature index out of bounds");
245711
245711
  this._pbf.pos = this._features[Gt];
245712
245712
  var St = this._pbf.readVarint() + this._pbf.pos;
245713
- return new Fc(this._pbf, St, this.extent, this._keys, this._values);
245713
+ return new Uc(this._pbf, St, this.extent, this._keys, this._values);
245714
245714
  };
245715
245715
  var Qh = xd;
245716
245716
  function hh(Gt, St, se) {
@@ -266025,7 +266025,7 @@ const iE = /* @__PURE__ */ RQt(FQt), UQt = { id: "main-container" }, VQt = { id:
266025
266025
  let r = 0.75;
266026
266026
  const m = qi(null), $ = qi(null), h = qi(0), u = qi(null), a = qi(`heatmap-${Date.now()}-${Math.random().toString(36).substr(2, 9)}`), c = /* @__PURE__ */ new Set([583, 585, 587, 589]), s = /* @__PURE__ */ new Set([584, 586, 588, 590]), n = /* @__PURE__ */ new Set([122, 128, 136, 142]), T = /* @__PURE__ */ new Set([125, 131, 139, 145]), w = /* @__PURE__ */ new Set([124, 130, 138, 144]), v = /* @__PURE__ */ new Set([123, 129, 137, 143]), d = t;
266027
266027
  let o = null;
266028
- Uc(
266028
+ Fc(
266029
266029
  () => h.value,
266030
266030
  (ot) => {
266031
266031
  i(ot), $.value && ($.value.style.height = `${p(ot)}px`), u.value && (u.value.style.top = `${g(p(ot))}px`);
@@ -266052,18 +266052,18 @@ const iE = /* @__PURE__ */ RQt(FQt), UQt = { id: "main-container" }, VQt = { id:
266052
266052
  function g(ot) {
266053
266053
  return cX + (ot - uX) / (sX - uX) * (QQt - cX);
266054
266054
  }
266055
- Uc(
266055
+ Fc(
266056
266056
  () => d.dataPaintInfo,
266057
266057
  (ot) => {
266058
266058
  M(ot);
266059
266059
  },
266060
266060
  { deep: !0 }
266061
- ), Uc(
266061
+ ), Fc(
266062
266062
  () => d.selected_team,
266063
266063
  (ot) => {
266064
266064
  ot.data.length > 0 && M(ot);
266065
266065
  }
266066
- ), Uc(
266066
+ ), Fc(
266067
266067
  () => d.secondStart,
266068
266068
  (ot) => {
266069
266069
  M(ot);
@@ -268850,7 +268850,7 @@ const hX = /* @__PURE__ */ EL(CU, [["render", m$t], ["__scopeId", "data-v-b0a1f6
268850
268850
  };
268851
268851
  return (r.boxPosition === "left" || r.boxPosition === "right") && (s[`margin-${r.boxPosition}`] = r.isBoxOnly ? "0" : r.teamsIds ? "8px" : "10px"), s;
268852
268852
  });
268853
- Uc(
268853
+ Fc(
268854
268854
  () => r.modelValue,
268855
268855
  (s) => {
268856
268856
  s !== m.value && (m.value = s);
@@ -269418,7 +269418,7 @@ const ite = /* @__PURE__ */ J$t(zU, [["render", ate], ["__scopeId", "data-v-f3ee
269418
269418
  emits: ["input", "click-ready", "update:modelValue"],
269419
269419
  setup(t, { emit: e }) {
269420
269420
  const r = t, m = qi({}), $ = qi(null), h = qi(r.isMultipleOption ? -1 : 0), u = qi(!1);
269421
- Uc(
269421
+ Fc(
269422
269422
  () => r.items,
269423
269423
  (v, d) => {
269424
269424
  if (!r.modelValue && (!r.onlyFirstTime || !d || !d.length) && v && v.length) {
@@ -269433,7 +269433,7 @@ const ite = /* @__PURE__ */ J$t(zU, [["render", ate], ["__scopeId", "data-v-f3ee
269433
269433
  }
269434
269434
  },
269435
269435
  { immediate: !0 }
269436
- ), Uc(
269436
+ ), Fc(
269437
269437
  () => r.modelValue,
269438
269438
  (v) => {
269439
269439
  if (v) {
@@ -270346,7 +270346,7 @@ const tee = ["x", "y"], eee = ["font-size"], ree = ["x", "y"], nee = ["font-size
270346
270346
  isFirstPosition: !0,
270347
270347
  isFinalPosition: !1
270348
270348
  })));
270349
- Uc(
270349
+ Fc(
270350
270350
  () => r.selectedCategory,
270351
270351
  (w) => {
270352
270352
  w == 32 ? m.value = "right" : m.value = "left";
@@ -272606,7 +272606,7 @@ const vM = {
272606
272606
  }
272607
272607
  return [];
272608
272608
  }), Nt = js(() => H.value ? Array.from(H.value.keys()) : []);
272609
- Uc(
272609
+ Fc(
272610
272610
  () => m.advancedFilters,
272611
272611
  (tr) => {
272612
272612
  o.value = tr.areConnectionsVisible, l.value = tr.arePathsVisible;
@@ -272617,12 +272617,12 @@ const vM = {
272617
272617
  immediate: !0,
272618
272618
  deep: !0
272619
272619
  }
272620
- ), Uc(
272620
+ ), Fc(
272621
272621
  () => N.value,
272622
272622
  () => {
272623
272623
  m.isNullCornerData || Me();
272624
272624
  }
272625
- ), Uc(
272625
+ ), Fc(
272626
272626
  () => m.teamIdForAnalysis,
272627
272627
  (tr) => {
272628
272628
  tr && !m.isNullCornerData && Ce();
@@ -272632,7 +272632,7 @@ const vM = {
272632
272632
  }
272633
272633
  );
272634
272634
  const It = js(() => U.value ? m.teamIdForAnalysis === U.value.home_team : !0);
272635
- Uc(
272635
+ Fc(
272636
272636
  () => j.value,
272637
272637
  (tr, Ue) => {
272638
272638
  if (tr !== Ue && (w.value = "0", v.value = ["-1", "0"], U.value)) {
@@ -272645,7 +272645,7 @@ const vM = {
272645
272645
  sr.length > 0 && (sr[0].isSelected = !0);
272646
272646
  }
272647
272647
  }
272648
- ), Uc(
272648
+ ), Fc(
272649
272649
  () => m.filters,
272650
272650
  (tr) => {
272651
272651
  tr && Vt();
@@ -272654,7 +272654,7 @@ const vM = {
272654
272654
  deep: !0,
272655
272655
  immediate: !0
272656
272656
  }
272657
- ), Uc(
272657
+ ), Fc(
272658
272658
  () => m.isTacticVisible,
272659
272659
  (tr) => {
272660
272660
  o.value = !tr;
@@ -280467,12 +280467,12 @@ const Aae = { class: "template-page__header" }, Nae = { class: "template-page__h
280467
280467
  o(h.value[0], S);
280468
280468
  }
280469
280469
  });
280470
- }, 300), Uc(() => m.initialValues, (S) => {
280470
+ }, 300), Fc(() => m.initialValues, (S) => {
280471
280471
  const k = !c(h.value, S), C = S && S.length > 0 && !T && k, N = m.isEditMode && T;
280472
280472
  C && !N ? h.value = [...S] : T ? w && w.length > 0 && (h.value = [...w]) : N && w && w.length > 0 && (h.value = [...w]);
280473
- }, { deep: !0 }), Uc(() => m.isEditMode, (S, k) => {
280473
+ }, { deep: !0 }), Fc(() => m.isEditMode, (S, k) => {
280474
280474
  k === !0 && S === !1 && v();
280475
- }, { immediate: !0 }), Uc(h, (S, k) => {
280475
+ }, { immediate: !0 }), Fc(h, (S, k) => {
280476
280476
  S.some(
280477
280477
  (C) => C != null && (Array.isArray(C) ? C.length > 0 : C !== !1 && C !== "")
280478
280478
  ) && a(S, u) && (u = [...S], $("filters-changed", {
@@ -280480,11 +280480,11 @@ const Aae = { class: "template-page__header" }, Nae = { class: "template-page__h
280480
280480
  filters: S,
280481
280481
  timestamp: (/* @__PURE__ */ new Date()).toISOString()
280482
280482
  }));
280483
- }, { deep: !0, flush: "post" }), Uc(() => h.value[0], (S, k) => {
280483
+ }, { deep: !0, flush: "post" }), Fc(() => h.value[0], (S, k) => {
280484
280484
  S !== k && k !== void 0 ? o(S, !0) : k === void 0 && S !== null && S !== void 0 && o(S, !1);
280485
- }, { immediate: !0 }), Uc(() => h.value, (S, k) => {
280485
+ }, { immediate: !0 }), Fc(() => h.value, (S, k) => {
280486
280486
  m.filters.map((C, N) => C.type === "radio-button" ? N : -1).filter((C) => C !== -1);
280487
- }, { deep: !0 }), Uc(n, () => {
280487
+ }, { deep: !0 }), Fc(n, () => {
280488
280488
  }, { deep: !0 });
280489
280489
  const i = (S) => {
280490
280490
  s.value === S ? s.value = null : s.value = S;
@@ -280679,16 +280679,16 @@ const Aae = { class: "template-page__header" }, Nae = { class: "template-page__h
280679
280679
  w(h.value[0], i);
280680
280680
  }
280681
280681
  });
280682
- }, 300), Uc(() => m.initialValues, (i, p) => {
280682
+ }, 300), Fc(() => m.initialValues, (i, p) => {
280683
280683
  if (!i || i.length === 0) return;
280684
280684
  const g = i.length > 0 && (typeof i[0] == "number" || typeof i[0] == "boolean" || i[0] === null || Array.isArray(i[0])), S = !T(h.value, i), k = i && i.length > 0 && !s && S, C = m.isEditMode && s;
280685
280685
  k && !C ? g ? h.value = [...i] : m.isEditMode ? h.value = m.filters.map((N, A) => {
280686
280686
  const V = i[A];
280687
280687
  return V ? N.type === "radio-button" && V.selectedOption ? V.selectedOption.value : N.type === "select-simple" && V.selectedValue !== void 0 ? Array.isArray(V.selectedValue) ? V.selectedValue[0] : V.selectedValue : N.type === "select" && V.selectedOptions ? V.selectedOptions.map((q) => q.value) : N.type === "check" && V.isChecked !== void 0 ? V.isChecked : V.selectedValue !== void 0 ? V.selectedValue : h.value[A] : h.value[A];
280688
280688
  }) : h.value = [...i] : s ? n && n.length > 0 && (h.value = [...n]) : C && n && n.length > 0 && (h.value = [...n]);
280689
- }, { deep: !0 }), Uc(() => m.isEditMode, (i, p) => {
280689
+ }, { deep: !0 }), Fc(() => m.isEditMode, (i, p) => {
280690
280690
  p === !0 && i === !1 && (n = null);
280691
- }, { immediate: !0 }), Uc(h, (i) => {
280691
+ }, { immediate: !0 }), Fc(h, (i) => {
280692
280692
  i.some(
280693
280693
  (p) => p != null && (Array.isArray(p) ? p.length > 0 : p !== !1 && p !== "")
280694
280694
  ) && (() => {
@@ -280701,7 +280701,7 @@ const Aae = { class: "template-page__header" }, Nae = { class: "template-page__h
280701
280701
  filters: i,
280702
280702
  timestamp: (/* @__PURE__ */ new Date()).toISOString()
280703
280703
  }));
280704
- }, { deep: !0, flush: "post" }), Uc(() => h.value[0], (i, p) => {
280704
+ }, { deep: !0, flush: "post" }), Fc(() => h.value[0], (i, p) => {
280705
280705
  i !== p && p !== void 0 ? w(i, !0) : p === void 0 && i !== null && i !== void 0 && w(i, !1);
280706
280706
  }, { immediate: !0 });
280707
280707
  const d = (i) => {
@@ -280976,7 +280976,7 @@ const Aae = { class: "template-page__header" }, Nae = { class: "template-page__h
280976
280976
  };
280977
280977
  return (r.boxPosition === "left" || r.boxPosition === "right") && (s[`margin-${r.boxPosition}`] = r.isBoxOnly ? "0" : r.teamsIds ? "8px" : "10px"), s;
280978
280978
  });
280979
- Uc(
280979
+ Fc(
280980
280980
  () => r.modelValue,
280981
280981
  (s) => {
280982
280982
  s !== m.value && (m.value = s);
@@ -281351,7 +281351,7 @@ const Joe = /* @__PURE__ */ Ioe(VU, [["render", Zoe], ["__scopeId", "data-v-f3ee
281351
281351
  emits: ["input", "click-ready", "update:modelValue"],
281352
281352
  setup(t, { emit: e }) {
281353
281353
  const r = t, m = qi({}), $ = qi(null), h = qi(r.isMultipleOption ? -1 : 0), u = qi(!1);
281354
- Uc(
281354
+ Fc(
281355
281355
  () => r.items,
281356
281356
  (v, d) => {
281357
281357
  if (!r.modelValue && (!r.onlyFirstTime || !d || !d.length) && v && v.length) {
@@ -281366,7 +281366,7 @@ const Joe = /* @__PURE__ */ Ioe(VU, [["render", Zoe], ["__scopeId", "data-v-f3ee
281366
281366
  }
281367
281367
  },
281368
281368
  { immediate: !0 }
281369
- ), Uc(
281369
+ ), Fc(
281370
281370
  () => r.modelValue,
281371
281371
  (v) => {
281372
281372
  if (v) {
@@ -281934,7 +281934,7 @@ const Joe = /* @__PURE__ */ Ioe(VU, [["render", Zoe], ["__scopeId", "data-v-f3ee
281934
281934
  });
281935
281935
  }), mt;
281936
281936
  }), v = qi(null), d = qi(null), o = qi(null), l = qi(null);
281937
- Uc(
281937
+ Fc(
281938
281938
  () => r.viewConfig,
281939
281939
  (mt) => {
281940
281940
  mt.filters && (v.value || i(), d.value || p(), o.value || g(), l.value || N());
@@ -282033,7 +282033,7 @@ const Joe = /* @__PURE__ */ Ioe(VU, [["render", Zoe], ["__scopeId", "data-v-f3ee
282033
282033
  });
282034
282034
  })), mt;
282035
282035
  }), V = js(() => k.value ? v.value.options.get(k.value.value) || [] : []);
282036
- Uc(
282036
+ Fc(
282037
282037
  () => A.value,
282038
282038
  (mt) => {
282039
282039
  q() && m("change", {
@@ -282399,7 +282399,7 @@ const Joe = /* @__PURE__ */ Ioe(VU, [["render", Zoe], ["__scopeId", "data-v-f3ee
282399
282399
  left: r.leftMenu,
282400
282400
  width: r.menuWidth
282401
282401
  }), c = js(() => $.value ? r.zIndexOpen : 1);
282402
- Uc(
282402
+ Fc(
282403
282403
  () => r.modelValue,
282404
282404
  (v) => {
282405
282405
  v !== $.value && ($.value = v);
@@ -282407,7 +282407,7 @@ const Joe = /* @__PURE__ */ Ioe(VU, [["render", Zoe], ["__scopeId", "data-v-f3ee
282407
282407
  {
282408
282408
  immediate: !0
282409
282409
  }
282410
- ), Uc($, async (v) => {
282410
+ ), Fc($, async (v) => {
282411
282411
  var d;
282412
282412
  if (v) {
282413
282413
  await Gp();
@@ -282915,7 +282915,7 @@ const Joe = /* @__PURE__ */ Ioe(VU, [["render", Zoe], ["__scopeId", "data-v-f3ee
282915
282915
  emits: ["update:modelValue"],
282916
282916
  setup(t, { emit: e }) {
282917
282917
  const r = t, m = e, $ = qi(null);
282918
- Uc(
282918
+ Fc(
282919
282919
  () => r.modelValue,
282920
282920
  () => {
282921
282921
  h();
@@ -283005,7 +283005,7 @@ const Joe = /* @__PURE__ */ Ioe(VU, [["render", Zoe], ["__scopeId", "data-v-f3ee
283005
283005
  }), T = qi(!1), w = qi($.defaultFilters ? $.defaultFilters.isAgainstMode : !1), v = qi($.defaultFilters ? null : (r = n.value) == null ? void 0 : r.options[0]), d = js(() => ({
283006
283006
  ...JR
283007
283007
  }));
283008
- Uc(
283008
+ Fc(
283009
283009
  () => $.viewConfig,
283010
283010
  (N) => {
283011
283011
  N.filters && (n.value || i());
@@ -283018,7 +283018,7 @@ const Joe = /* @__PURE__ */ Ioe(VU, [["render", Zoe], ["__scopeId", "data-v-f3ee
283018
283018
  howManyCorners: a.value ? a.value.value : null,
283019
283019
  advancedFilters: { ...c.value }
283020
283020
  }));
283021
- Uc(
283021
+ Fc(
283022
283022
  () => o.value,
283023
283023
  (N) => {
283024
283024
  h("change", {
@@ -283383,7 +283383,7 @@ const Joe = /* @__PURE__ */ Ioe(VU, [["render", Zoe], ["__scopeId", "data-v-f3ee
283383
283383
  { value: "iba-perdiendo", label: "Iba perdiendo" },
283384
283384
  { value: "iba-empatado", label: "Iba empatado" }
283385
283385
  ], h = qi([]);
283386
- Uc(
283386
+ Fc(
283387
283387
  () => r.selectedValues,
283388
283388
  (T) => {
283389
283389
  var w;
@@ -283516,7 +283516,7 @@ const Joe = /* @__PURE__ */ Ioe(VU, [["render", Zoe], ["__scopeId", "data-v-f3ee
283516
283516
  { value: "61-75", label: "61-75" },
283517
283517
  { value: "76-90", label: "76-90" }
283518
283518
  ], u = [...$, ...h].map((d) => d.value), a = qi([]);
283519
- Uc(
283519
+ Fc(
283520
283520
  () => r.selectedValues,
283521
283521
  (d) => {
283522
283522
  var o;
@@ -283682,7 +283682,7 @@ const Joe = /* @__PURE__ */ Ioe(VU, [["render", Zoe], ["__scopeId", "data-v-f3ee
283682
283682
  count: 1
283683
283683
  }
283684
283684
  ], h = qi([]);
283685
- Uc(
283685
+ Fc(
283686
283686
  () => r.selectedValues,
283687
283687
  (n) => {
283688
283688
  var T;
@@ -283809,7 +283809,7 @@ const Joe = /* @__PURE__ */ Ioe(VU, [["render", Zoe], ["__scopeId", "data-v-f3ee
283809
283809
  emits: ["update-selection", "done"],
283810
283810
  setup(t, { emit: e }) {
283811
283811
  const r = t, m = e, $ = Array.from({ length: 35 }, (v, d) => d + 1), h = qi(!0), u = qi([]), a = js(() => u.value), c = js(() => (/* @__PURE__ */ new Date()).getTime());
283812
- Uc(
283812
+ Fc(
283813
283813
  () => r.selectedValues,
283814
283814
  (v) => {
283815
283815
  var d;
@@ -283841,7 +283841,7 @@ const Joe = /* @__PURE__ */ Ioe(VU, [["render", Zoe], ["__scopeId", "data-v-f3ee
283841
283841
  u.value.length === 0 && (console.log("[ZonaFilter] No se encontraron valores guardados, usando valores por defecto"), u.value = [...$], h.value = !0);
283842
283842
  },
283843
283843
  { immediate: !0, deep: !0 }
283844
- ), Uc(u, (v) => {
283844
+ ), Fc(u, (v) => {
283845
283845
  h.value = v.length === 35, m("update-selection", {
283846
283846
  optionIndex: r.optionIndex,
283847
283847
  values: v
@@ -284431,7 +284431,7 @@ const Joe = /* @__PURE__ */ Ioe(VU, [["render", Zoe], ["__scopeId", "data-v-f3ee
284431
284431
  "rematado-destino-porteria": ["fue-gol", "no-fue-gol"],
284432
284432
  "rematado-sin-destino-porteria": ["ganados-por-portero-rival", "ganados-por-jugador-rival", "sin-destino"]
284433
284433
  }, u = qi([]);
284434
- Uc(
284434
+ Fc(
284435
284435
  () => r.selectedValues,
284436
284436
  (d) => {
284437
284437
  if (!d || !Array.isArray(d)) return;
@@ -284607,7 +284607,7 @@ const Joe = /* @__PURE__ */ Ioe(VU, [["render", Zoe], ["__scopeId", "data-v-f3ee
284607
284607
  emits: ["update-selection", "close"],
284608
284608
  setup(t, { emit: e }) {
284609
284609
  const r = t;
284610
- Uc(
284610
+ Fc(
284611
284611
  () => r.selectedValues,
284612
284612
  (v) => {
284613
284613
  console.log("Acorden inicla 55555555555v [AdvancedSelectAccordion] selectedValues recibidos:", {
@@ -284975,7 +284975,7 @@ const Joe = /* @__PURE__ */ Ioe(VU, [["render", Zoe], ["__scopeId", "data-v-f3ee
284975
284975
  }));
284976
284976
  }, 100);
284977
284977
  });
284978
- }, 300), Uc(() => m.initialValues, (V) => {
284978
+ }, 300), Fc(() => m.initialValues, (V) => {
284979
284979
  if (!V || V.length === 0) return;
284980
284980
  const q = V.length > 0 && (typeof V[0] == "number" || typeof V[0] == "boolean" || V[0] === null || Array.isArray(V[0])), F = !w(h.value, V), j = V && V.length > 0 && !n && F, U = m.isEditMode && n;
284981
284981
  if (j && !U)
@@ -284987,9 +284987,9 @@ const Joe = /* @__PURE__ */ Ioe(VU, [["render", Zoe], ["__scopeId", "data-v-f3ee
284987
284987
  return M ? P.type === "radio-button" && M.selectedOption ? M.selectedOption.value : P.type === "select-simple" && M.selectedValue !== void 0 ? Array.isArray(M.selectedValue) ? M.selectedValue[0] : M.selectedValue : P.type === "select" && M.selectedOptions ? M.selectedOptions.map((H) => H.value) : P.type === "check" && M.isChecked !== void 0 ? M.isChecked : P.type === "switch" && M.isChecked !== void 0 ? (m.filters.findIndex((H) => H.type === "switch") === X && console.log(`[Primer Switch] Se setea valor desde isChecked en índice ${X} (modo edición):`, M.isChecked), M.isChecked) : P.type === "switch" && M.selectedValue !== void 0 ? (m.filters.findIndex((H) => H.type === "switch") === X && console.log(`[Primer Switch] Se setea valor desde selectedValue en índice ${X} (modo edición):`, M.selectedValue), M.selectedValue) : P.type === "advanced-select" && M.selectedValue !== void 0 || M.selectedValue !== void 0 ? M.selectedValue : h.value[X] : h.value[X];
284988
284988
  }) : h.value = [...V];
284989
284989
  else n ? T && T.length > 0 && (h.value = [...T]) : U && T && T.length > 0 && (h.value = [...T]);
284990
- }, { deep: !0 }), Uc(() => m.isEditMode, (V, q) => {
284990
+ }, { deep: !0 }), Fc(() => m.isEditMode, (V, q) => {
284991
284991
  q === !0 && V === !1 && (T = null);
284992
- }, { immediate: !0 }), Uc(h, (V) => {
284992
+ }, { immediate: !0 }), Fc(h, (V) => {
284993
284993
  if (V.some(
284994
284994
  (q) => q != null && (Array.isArray(q) ? q.length > 0 : typeof q == "object" && !Array.isArray(q) ? Object.keys(q).length > 0 : q !== !1 && q !== "")
284995
284995
  )) {
@@ -285020,7 +285020,7 @@ const Joe = /* @__PURE__ */ Ioe(VU, [["render", Zoe], ["__scopeId", "data-v-f3ee
285020
285020
  });
285021
285021
  }
285022
285022
  }
285023
- }, { deep: !0 }), Uc(() => h.value[0], (V, q) => {
285023
+ }, { deep: !0 }), Fc(() => h.value[0], (V, q) => {
285024
285024
  var F;
285025
285025
  if (V == null) {
285026
285026
  const U = m.filters[0];
@@ -285367,9 +285367,9 @@ const Joe = /* @__PURE__ */ Ioe(VU, [["render", Zoe], ["__scopeId", "data-v-f3ee
285367
285367
  var Be, Je;
285368
285368
  return n.value ? ((Be = k.value) == null ? void 0 : Be.filters_edition_mode) || [] : ((Je = k.value) == null ? void 0 : Je.filters) || [];
285369
285369
  });
285370
- Uc(n, (Be) => {
285370
+ Fc(n, (Be) => {
285371
285371
  Be || (T.value = !1);
285372
- }), Uc(k, (Be) => {
285372
+ }), Fc(k, (Be) => {
285373
285373
  var Je, hr;
285374
285374
  if (!Be) {
285375
285375
  C.value = [];
@@ -285493,11 +285493,11 @@ const Joe = /* @__PURE__ */ Ioe(VU, [["render", Zoe], ["__scopeId", "data-v-f3ee
285493
285493
  var cn, Pn;
285494
285494
  Be.id === 4 && n.value && (cn = c == null ? void 0 : c.view) != null && cn.id && a && a.setDynamicFilters(C.value, c.view.id), Be.id === 3 && n.value && (Pn = c == null ? void 0 : c.view) != null && Pn.id && a && a.setDynamicFilters(C.value, c.view.id), te();
285495
285495
  }));
285496
- }, { immediate: !0 }), Uc(() => a, (Be) => {
285496
+ }, { immediate: !0 }), Fc(() => a, (Be) => {
285497
285497
  Be && Be.dynamicFilters && Array.isArray(Be.dynamicFilters) && (v.value = !0, C.value = [...Be.dynamicFilters], Gp(() => {
285498
285498
  v.value = !1;
285499
285499
  }));
285500
- }, { deep: !0 }), Uc(() => a == null ? void 0 : a.dynamicFilters, (Be) => {
285500
+ }, { deep: !0 }), Fc(() => a == null ? void 0 : a.dynamicFilters, (Be) => {
285501
285501
  if (Be && Array.isArray(Be)) {
285502
285502
  if (d.value)
285503
285503
  return;
@@ -285505,7 +285505,7 @@ const Joe = /* @__PURE__ */ Ioe(VU, [["render", Zoe], ["__scopeId", "data-v-f3ee
285505
285505
  v.value = !1;
285506
285506
  });
285507
285507
  }
285508
- }, { deep: !0 }), Uc(() => k.value, (Be) => {
285508
+ }, { deep: !0 }), Fc(() => k.value, (Be) => {
285509
285509
  if (n.value && s && Be && Be.filters) {
285510
285510
  if (v.value || o.value)
285511
285511
  return;
@@ -285521,7 +285521,7 @@ const Joe = /* @__PURE__ */ Ioe(VU, [["render", Zoe], ["__scopeId", "data-v-f3ee
285521
285521
  (!C.value || C.value.length === 0) && (Ue(), Te(), Fe()), Be.id === 4 && sr();
285522
285522
  }, 100);
285523
285523
  }
285524
- }, { deep: !0 }), Uc(() => {
285524
+ }, { deep: !0 }), Fc(() => {
285525
285525
  var Be;
285526
285526
  return (Be = k.value) == null ? void 0 : Be.id;
285527
285527
  }, (Be) => {
@@ -285532,7 +285532,7 @@ const Joe = /* @__PURE__ */ Ioe(VU, [["render", Zoe], ["__scopeId", "data-v-f3ee
285532
285532
  sr();
285533
285533
  }, 200);
285534
285534
  }
285535
- }), Uc(() => C.value, (Be) => {
285535
+ }), Fc(() => C.value, (Be) => {
285536
285536
  if (n.value && s && Be && Be.length > 0) {
285537
285537
  if (v.value || d.value || o.value)
285538
285538
  return;
@@ -287609,7 +287609,7 @@ const Joe = /* @__PURE__ */ Ioe(VU, [["render", Zoe], ["__scopeId", "data-v-f3ee
287609
287609
  "--height-container-main": T.value ? "fit-content" : "calc(100vh - 64px)",
287610
287610
  "--margin-bottom-container-main": (T.value, "0")
287611
287611
  })), V = js(() => u.value + 1);
287612
- Uc(
287612
+ Fc(
287613
287613
  () => a.value,
287614
287614
  (tr) => {
287615
287615
  const Ue = document.getElementById("app");
@@ -287988,7 +287988,7 @@ const Joe = /* @__PURE__ */ Ioe(VU, [["render", Zoe], ["__scopeId", "data-v-f3ee
287988
287988
  }
287989
287989
  }
287990
287990
  const he = t, de = r;
287991
- Uc(
287991
+ Fc(
287992
287992
  () => he.token,
287993
287993
  (tr, Ue) => {
287994
287994
  },
@@ -290829,7 +290829,7 @@ const {
290829
290829
  ])
290830
290830
  ]));
290831
290831
  }
290832
- }, e$ = /* @__PURE__ */ Bv(u0e, [["__scopeId", "data-v-a34cf1b5"]]), o_ = (t) => (M0("data-v-6ba594dc"), t = t(), C0(), t), c0e = { class: "modal-overlay" }, d0e = { class: "modal-content" }, p0e = /* @__PURE__ */ o_(() => /* @__PURE__ */ Ht("img", {
290832
+ }, e$ = /* @__PURE__ */ Bv(u0e, [["__scopeId", "data-v-a34cf1b5"]]), o_ = (t) => (M0("data-v-19950b46"), t = t(), C0(), t), c0e = { class: "modal-overlay" }, d0e = { class: "modal-content" }, p0e = /* @__PURE__ */ o_(() => /* @__PURE__ */ Ht("img", {
290833
290833
  src: "https://golstatsimages.blob.core.windows.net/reports-images/icn-close.svg",
290834
290834
  alt: "Cerrar"
290835
290835
  }, null, -1)), h0e = [
@@ -290976,7 +290976,7 @@ const {
290976
290976
  },
290977
290977
  token: {
290978
290978
  type: String,
290979
- required: !0
290979
+ default: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MCwibmFtZSI6IlVzdWFyaW8gRnJlZSIsInVzZXJuYW1lIjoiZnJlZUBnb2xzdGF0cy5jb20iLCJlbWFpbCI6ImZyZWVAZ29sc3RhdHMuY29tIiwiaWF0IjoxNjA2NzU4Nzk1LCJleHAiOjE2MzgyOTQ3OTV9.kPNmP7yDtk38cAXrUyc7OHRh6J25VFqy-XUNzbK-4YE"
290980
290980
  },
290981
290981
  team: {
290982
290982
  type: Number,
@@ -291020,7 +291020,12 @@ const {
291020
291020
  try {
291021
291021
  d.value = !0;
291022
291022
  const de = await p1.get(
291023
- "https://kefloixzy1.execute-api.us-west-2.amazonaws.com/prod/gs3/tournaments"
291023
+ "https://kefloixzy1.execute-api.us-west-2.amazonaws.com/prod/v2/gs3/tournaments",
291024
+ {
291025
+ headers: {
291026
+ Authorization: r.token
291027
+ }
291028
+ }
291024
291029
  );
291025
291030
  if (de.data && Array.isArray(de.data)) {
291026
291031
  if (k.value = de.data, $.value = de.data.map((Zt) => Zt.tournament).sort((Zt, te) => Zt.order && te.order ? Zt.order - te.order : Zt.order && !te.order ? -1 : !Zt.order && te.order ? 1 : 0), c.value = "", h.value = [], s.value = "", u.value = [], n.value = "", a.value = [], T.value = null, U.value)
@@ -291191,27 +291196,32 @@ const {
291191
291196
  function qt() {
291192
291197
  document.body.style.overflow = "";
291193
291198
  }
291194
- Uc(
291199
+ Fc(
291195
291200
  () => r.showError409OnMount,
291196
291201
  (de) => {
291197
291202
  S.value = de;
291198
291203
  },
291199
291204
  { immediate: !0 }
291205
+ ), Fc(
291206
+ () => r.token,
291207
+ () => {
291208
+ P();
291209
+ }
291200
291210
  ), cf(() => {
291201
291211
  r.showError409OnMount && (S.value = !0), P(), Vt(), Rt(), U.value && (i.value = !0, p.value = !0);
291202
- }), Uc(c, (de, Zt) => {
291212
+ }), Fc(c, (de, Zt) => {
291203
291213
  de && U.value && p.value && !Zt && !g.value && (X(de), setTimeout(() => {
291204
291214
  const te = Dt(U.value.season_id);
291205
291215
  te && (g.value = !0, s.value = te, g.value = !1);
291206
291216
  }, 50));
291207
- }), Uc(s, (de, Zt) => {
291217
+ }), Fc(s, (de, Zt) => {
291208
291218
  de && U.value && p.value && !Zt && !g.value ? setTimeout(() => {
291209
291219
  const te = u.value.find(
291210
291220
  (ne) => ne.id === U.value.matchday_id
291211
291221
  );
291212
291222
  te && (g.value = !0, n.value = te, mt(te), g.value = !1);
291213
291223
  }, 500) : de && Zt && p.value && (p.value = !1, i.value = !1);
291214
- }), Uc(n, (de, Zt) => {
291224
+ }), Fc(n, (de, Zt) => {
291215
291225
  de && U.value && p.value && !Zt && !g.value ? setTimeout(() => {
291216
291226
  const te = a.value.find(
291217
291227
  (Le) => Le.game_id === U.value.game_id || Le.id === U.value.game_id
@@ -291483,7 +291493,7 @@ const {
291483
291493
  ])
291484
291494
  ]));
291485
291495
  }
291486
- }, vme = /* @__PURE__ */ Bv(gme, [["__scopeId", "data-v-6ba594dc"]]), XL = (t) => (M0("data-v-3f4f9ca5"), t = t(), C0(), t), bme = { class: "modal-overlay" }, xme = { class: "modal-content" }, _me = /* @__PURE__ */ XL(() => /* @__PURE__ */ Ht("img", {
291496
+ }, vme = /* @__PURE__ */ Bv(gme, [["__scopeId", "data-v-19950b46"]]), XL = (t) => (M0("data-v-3f4f9ca5"), t = t(), C0(), t), bme = { class: "modal-overlay" }, xme = { class: "modal-content" }, _me = /* @__PURE__ */ XL(() => /* @__PURE__ */ Ht("img", {
291487
291497
  src: "https://golstatsimages.blob.core.windows.net/reports-images/icn-close.svg",
291488
291498
  alt: "Cerrar"
291489
291499
  }, null, -1)), wme = [
@@ -291525,7 +291535,7 @@ const {
291525
291535
  emits: ["close", "rename", "refresh"],
291526
291536
  setup(t, { emit: e }) {
291527
291537
  const r = t, m = e, $ = qi(r.initialName), h = qi(!1), u = qi("");
291528
- Uc(
291538
+ Fc(
291529
291539
  () => r.initialName,
291530
291540
  (c) => {
291531
291541
  $.value = c, u.value = "";
@@ -291631,7 +291641,7 @@ const {
291631
291641
  emits: ["close", "duplicate", "template-duplicated"],
291632
291642
  setup(t, { emit: e }) {
291633
291643
  const r = t, m = e, $ = qi(r.initialName + " copy"), h = qi(!1);
291634
- Uc(
291644
+ Fc(
291635
291645
  () => r.initialName,
291636
291646
  (a) => {
291637
291647
  $.value = a + " copy";
@@ -291844,7 +291854,7 @@ const {
291844
291854
  emits: ["update:modelValue"],
291845
291855
  setup(t, { expose: e, emit: r }) {
291846
291856
  const m = t, $ = r, h = js(() => m.teamLogoUrl ? m.teamLogoUrl : m.teamId ? `https://golstatsimages.blob.core.windows.net/teams-80/${m.teamId}.png` : "https://golstatsimages.blob.core.windows.net/teams-80/2.png"), u = qi([...m.modelValue]), a = Kg({}), c = qi(!1), s = qi(null);
291847
- Uc(
291857
+ Fc(
291848
291858
  () => m.modelValue,
291849
291859
  (bt) => {
291850
291860
  if (Array.isArray(bt)) {
@@ -291877,13 +291887,13 @@ const {
291877
291887
  window.addEventListener("resize", bt), k = bt, q();
291878
291888
  }), i3(() => {
291879
291889
  k && (window.removeEventListener("resize", k), k = null);
291880
- }), Uc(
291890
+ }), Fc(
291881
291891
  () => u.value.slice(),
291882
291892
  async () => {
291883
291893
  await Gp(), o();
291884
291894
  },
291885
291895
  { deep: !0 }
291886
- ), Uc(
291896
+ ), Fc(
291887
291897
  () => [m.seasonId, m.teamId, m.gameId, m.token, m.templateType],
291888
291898
  () => {
291889
291899
  q();
@@ -292290,7 +292300,7 @@ const {
292290
292300
  };
292291
292301
  return (r.boxPosition === "left" || r.boxPosition === "right") && (s[`margin-${r.boxPosition}`] = r.isBoxOnly ? "0" : r.teamsIds ? "8px" : "10px"), s;
292292
292302
  });
292293
- Uc(
292303
+ Fc(
292294
292304
  () => r.modelValue,
292295
292305
  (s) => {
292296
292306
  s !== m.value && (m.value = s);
@@ -292585,7 +292595,7 @@ const IP = (t) => (M0("data-v-7f431c81"), t = t(), C0(), t), uye = { class: "cor
292585
292595
  d.value = Je ? Je.clientWidth : 0, o.value = hr ? hr.scrollWidth : 0;
292586
292596
  }
292587
292597
  const i = js(() => Math.max(0, o.value - d.value)), p = js(() => T.value > 0), g = js(() => T.value < i.value), S = js(() => n.value.filter((Je) => Je.isSelected)), k = js(() => S.value.length === m.teamViews.length), C = qi(0);
292588
- Uc(
292598
+ Fc(
292589
292599
  () => S.value,
292590
292600
  (Je) => {
292591
292601
  setTimeout(() => {
@@ -292668,7 +292678,7 @@ const IP = (t) => (M0("data-v-7f431c81"), t = t(), C0(), t), uye = { class: "cor
292668
292678
  window.addEventListener("resize", Je), Nt = Je;
292669
292679
  }), i3(() => {
292670
292680
  Nt && (window.removeEventListener("resize", Nt), Nt = null);
292671
- }), Uc(
292681
+ }), Fc(
292672
292682
  () => c.value.slice(),
292673
292683
  async () => {
292674
292684
  await Gp(), l();
@@ -292987,7 +292997,7 @@ const IP = (t) => (M0("data-v-7f431c81"), t = t(), C0(), t), uye = { class: "cor
292987
292997
  throw new Error(hr);
292988
292998
  }
292989
292999
  }
292990
- Uc(
293000
+ Fc(
292991
293001
  () => m.configData,
292992
293002
  async (Je) => {
292993
293003
  Je && Je.partido && Je.torneo && await qe(Je.partido.season_id);
@@ -293931,7 +293941,7 @@ const IP = (t) => (M0("data-v-7f431c81"), t = t(), C0(), t), uye = { class: "cor
293931
293941
  emits: ["switch-to-reports", "open-modal-new-template", "edit-template"],
293932
293942
  setup(t, { expose: e, emit: r }) {
293933
293943
  const m = r, $ = t, h = qi(!1), u = qi(null), a = qi(!1), c = qi(!1), s = qi(!1), n = qi(!1), T = qi(!1), w = qi(!1), v = qi(null), d = qi(!1), o = qi(""), l = qi(""), i = qi(""), p = qi(""), g = qi(""), S = qi(""), k = qi(""), C = qi(""), N = qi(""), A = qi(null), V = qi(null), q = qi(null), F = qi(null), j = qi(0), U = qi([]), P = qi(!1), X = qi(null);
293934
- Uc(
293944
+ Fc(
293935
293945
  [() => $.team, () => $.token],
293936
293946
  () => {
293937
293947
  $.team && $.token && H();
@@ -295447,7 +295457,7 @@ ${o}`;
295447
295457
  emits: ["close", "rename", "refresh"],
295448
295458
  setup(t, { emit: e }) {
295449
295459
  const r = t, m = e, $ = qi(r.initialName), h = qi(!1), u = qi("");
295450
- Uc(
295460
+ Fc(
295451
295461
  () => r.initialName,
295452
295462
  (c) => {
295453
295463
  $.value = c, u.value = "";
@@ -295905,7 +295915,7 @@ ${o}`;
295905
295915
  a.value = V < 1028;
295906
295916
  }
295907
295917
  }
295908
- Uc(a, (V) => {
295918
+ Fc(a, (V) => {
295909
295919
  V ? document.body.style.overflow = "hidden" : document.body.style.overflow = "";
295910
295920
  }), i3(() => {
295911
295921
  document.body.style.overflow = "";