@golstats/gsc-game-data 1.0.243 → 1.0.244

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.
@@ -11348,7 +11348,7 @@ const Gle = {
11348
11348
  };
11349
11349
  },
11350
11350
  series() {
11351
- return this.showLiveData ? this.dataLive.map((a, r) => ({
11351
+ return (this.gameForAnalysis.is_live || this.gameForAnalysis.game_status === 0) && this.showLiveData ? this.dataLive.map((a, r) => ({
11352
11352
  name: this.teamAcronyms[r],
11353
11353
  data: a
11354
11354
  })) : this.dataStats.map((a, r) => ({
@@ -11446,7 +11446,7 @@ const Gle = {
11446
11446
  return this.containerWidth - this.containerWidth % 50;
11447
11447
  },
11448
11448
  key() {
11449
- return this.showLiveData ? 1 : 2;
11449
+ return (this.gameForAnalysis.is_live || this.gameForAnalysis.game_status === 0) && this.showLiveData ? 1 : 2;
11450
11450
  }
11451
11451
  },
11452
11452
  watch: {
@@ -11520,7 +11520,7 @@ function Wle(e, a, r, P, z, l) {
11520
11520
  }, null, 8, ["options", "series"]))
11521
11521
  ], 512);
11522
11522
  }
11523
- const qle = /* @__PURE__ */ po(Gle, [["render", Wle], ["__scopeId", "data-v-c7837e23"]]), Yle = (e, a) => {
11523
+ const qle = /* @__PURE__ */ po(Gle, [["render", Wle], ["__scopeId", "data-v-07792768"]]), Yle = (e, a) => {
11524
11524
  const r = e.__vccOpts || e;
11525
11525
  for (const [P, z] of a)
11526
11526
  r[P] = z;
@@ -16550,7 +16550,7 @@ function x0e(e, a, r, P, z, l) {
16550
16550
  ], 512);
16551
16551
  }
16552
16552
  const w0e = /* @__PURE__ */ po(v0e, [["render", x0e], ["__scopeId", "data-v-12759086"]]);
16553
- const JS = (e) => (xr("data-v-556acf41"), e = e(), wr(), e), k0e = { class: "statistics-main" }, T0e = { class: "statistics-main__header" }, C0e = { class: "statistics-main__header__filter" }, S0e = {
16553
+ const JS = (e) => (xr("data-v-081beab5"), e = e(), wr(), e), k0e = { class: "statistics-main" }, T0e = { class: "statistics-main__header" }, C0e = { class: "statistics-main__header__filter" }, S0e = {
16554
16554
  key: 0,
16555
16555
  class: "statistics-main__header__live-switch"
16556
16556
  }, A0e = /* @__PURE__ */ JS(() => /* @__PURE__ */ le("div", null, "Este partido", -1)), M0e = /* @__PURE__ */ JS(() => /* @__PURE__ */ le("div", null, "Acumulado", -1)), E0e = { class: "statistics-main__header__info" }, I0e = /* @__PURE__ */ JS(() => /* @__PURE__ */ le("br", null, null, -1)), P0e = pc({
@@ -16651,7 +16651,7 @@ const JS = (e) => (xr("data-v-556acf41"), e = e(), wr(), e), k0e = { class: "sta
16651
16651
  () => r.game,
16652
16652
  (u) => {
16653
16653
  const c = { ...u };
16654
- p.value = !(r.game.is_live || r.game.game_status === 0), r.game.is_live || $S(), h(c), n.value++;
16654
+ r.game.is_live || $S(), h(c), n.value++;
16655
16655
  },
16656
16656
  { deep: !0, immediate: !0 }
16657
16657
  ), Qn(
@@ -16770,7 +16770,7 @@ const JS = (e) => (xr("data-v-556acf41"), e = e(), wr(), e), k0e = { class: "sta
16770
16770
  ]))
16771
16771
  ]));
16772
16772
  }
16773
- }), L0e = /* @__PURE__ */ po(O0e, [["__scopeId", "data-v-556acf41"]]);
16773
+ }), L0e = /* @__PURE__ */ po(O0e, [["__scopeId", "data-v-081beab5"]]);
16774
16774
  function WU(e, a) {
16775
16775
  return function() {
16776
16776
  return e.apply(a, arguments);
@@ -96527,11 +96527,11 @@ const IAt = { class: "dropdown" }, PAt = { class: "selected-item" }, OAt = {
96527
96527
  },
96528
96528
  setup(e) {
96529
96529
  const a = e, r = Zy(
96530
- () => import("./FilterSubcategories-0a921721-ac43004e.js")
96530
+ () => import("./FilterSubcategories-0a921721-2422d905.js")
96531
96531
  ), P = Zy(
96532
- () => import("./FilterConditions-d48a19d8-c4990767.js")
96532
+ () => import("./FilterConditions-d48a19d8-48f01eca.js")
96533
96533
  ), z = Zy(
96534
- () => import("./FilterField-f0b75cf7-37ea8e50.js")
96534
+ () => import("./FilterField-f0b75cf7-a796a570.js")
96535
96535
  ), l = [
96536
96536
  {
96537
96537
  name: "Sub categorías",
@@ -232451,11 +232451,11 @@ const Rna = { class: "dropdown" }, zna = { class: "selected-item" }, Bna = {
232451
232451
  },
232452
232452
  setup(e) {
232453
232453
  const a = e, r = Zy(
232454
- () => import("./FilterSubcategories-0a921721-Da8PVP1K-92e01978.js")
232454
+ () => import("./FilterSubcategories-0a921721-Da8PVP1K-74b16632.js")
232455
232455
  ), P = Zy(
232456
- () => import("./FilterConditions-d48a19d8-BaOW8wbz-f111ff88.js")
232456
+ () => import("./FilterConditions-d48a19d8-BaOW8wbz-15c732e2.js")
232457
232457
  ), z = Zy(
232458
- () => import("./FilterField-f0b75cf7-Dt2ZN6_r-4f36f6b0.js")
232458
+ () => import("./FilterField-f0b75cf7-Dt2ZN6_r-f2cb1159.js")
232459
232459
  ), l = [
232460
232460
  {
232461
232461
  name: "Sub categorías",
@@ -343258,9 +343258,6 @@ const Rxa = Nse(), zxa = [
343258
343258
  updateShowLiveData(e, a) {
343259
343259
  e.showLiveData = a;
343260
343260
  },
343261
- toggleShowLiveData(e) {
343262
- e.showLiveData = !e.showLiveData;
343263
- },
343264
343261
  toggleAdvanceFilter(e) {
343265
343262
  e.showAdvanceFilter = !e.showAdvanceFilter;
343266
343263
  },
@@ -343843,7 +343840,7 @@ const Rxa = Nse(), zxa = [
343843
343840
  // eslint-disable-next-line no-unused-vars
343844
343841
  exitChannel({ state: e, getters: a, rootState: r, rootGetters: P, commit: z }) {
343845
343842
  const l = P["loginGeneral/getPremiumAccount"];
343846
- a.isLive && l && (z("updateShowLiveData", !1), z("clearLiveTotals"), e.livePlays.clear(), Rxa.emit("unsubscribe", {
343843
+ a.isLive && l && (z("updateShowLiveData", !0), z("clearLiveTotals"), e.livePlays.clear(), Rxa.emit("unsubscribe", {
343847
343844
  channel: `game.${e.gameForAnalysis.game_id}.v2`
343848
343845
  }));
343849
343846
  },