@golstats/gsc-game-data 1.0.271 → 1.0.272

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.
@@ -52858,13 +52858,12 @@ const aHe = {
52858
52858
  ] = await Promise.all(t);
52859
52859
  r || this.setGameInfo(v), this.teamsInfoResponse = y, this.gamesBySeasonResponse = v || r, this.bestPlaysBySeasonAndGameResponse = a, this.bestPlaysBySeasonAndHomeTeamResponse = g, this.bestPlaysBySeasonAndAwayTeamResponse = p;
52860
52860
  let h = [], s = {};
52861
- for (let i = 0; i < a.data.games[0].players.length; i++) {
52862
- const o = Math.floor(
52861
+ for (let i = 0; i < a.data.games[0].players.length; i++)
52862
+ Math.floor(
52863
52863
  Math.random() * a.data.games[0].players[i].info_thumbnails.images.background_player_in_action.length
52864
- ), u = Math.floor(
52864
+ ), Math.floor(
52865
52865
  Math.random() * a.data.games[0].players[i].info_thumbnails.images.player_in_action.length
52866
- );
52867
- s = {
52866
+ ), s = {
52868
52867
  background_color_buttons: a.data.games[0].players[i].info_thumbnails.colors.background_color_buttons,
52869
52868
  background_color_cards: a.data.games[0].players[i].info_thumbnails.colors.background_color_cards,
52870
52869
  color_icon_play: a.data.games[0].players[i].info_thumbnails.colors.color_icon_play,
@@ -52874,12 +52873,12 @@ const aHe = {
52874
52873
  colorbackgroundhome: a.data.games[0].players[i].info_thumbnails.colors.background_color,
52875
52874
  colorbackgroundaway: "",
52876
52875
  nameplayer: a.data.games[0].players[i].player_name,
52877
- background: a.data.games[0].players[i].info_thumbnails.images.background_player_in_action[o] ? "https://golstatsimages.blob.core.windows.net/images-library/" + a.data.games[0].players[i].info_thumbnails.images.background_player_in_action[o] : "https://golstatsimages.blob.core.windows.net/images-library/" + a.data.games[0].players[i].info_thumbnails.images.background_default_players[0],
52876
+ background: "https://golstatsimages.blob.core.windows.net/images-library/" + a.data.games[0].players[i].info_thumbnails.images.background_default_teams,
52878
52877
  namecategory: "RESUMEN",
52879
52878
  namehometeam: "",
52880
52879
  nameawayteam: "",
52881
52880
  logohome: a.data.games[0].players[i].team_logo,
52882
- photoprofile: a.data.games[0].players[i].info_thumbnails.images.player_in_action[u] ? "https://golstatsimages.blob.core.windows.net/images-library/" + a.data.games[0].players[i].info_thumbnails.images.player_in_action[u] : `https://az755631.vo.msecnd.net/players-profile/${a.data.games[0].players[i].player_id}.png`,
52881
+ photoprofile: "https://az755631.vo.msecnd.net/teams-150/" + a.data.games[0].players[i].info_thumbnails.team_logo,
52883
52882
  logoaway: "",
52884
52883
  scoreaway: "",
52885
52884
  scorehome: "",
@@ -52888,11 +52887,10 @@ const aHe = {
52888
52887
  category: 0,
52889
52888
  team_id: a.data.games[0].players[i].team_id
52890
52889
  }, h.push(s);
52891
- }
52892
52890
  this.printData = h;
52893
52891
  }
52894
52892
  }
52895
- }, nHe = (e) => (xr("data-v-4dee2984"), e = e(), wr(), e), rHe = {
52893
+ }, nHe = (e) => (xr("data-v-7c17df8c"), e = e(), wr(), e), rHe = {
52896
52894
  ref: "gamesContainer",
52897
52895
  class: "container"
52898
52896
  }, iHe = { class: "video-partido-container" }, oHe = /* @__PURE__ */ nHe(() => /* @__PURE__ */ le("div", { class: "title-video-datos" }, "Este torneo:", -1)), sHe = { key: 0 }, lHe = { key: 1 }, cHe = {
@@ -52953,7 +52951,7 @@ function dHe(e, n, r, P, z, l) {
52953
52951
  l.canPlayVideos.home && z.printData[0] ? (je(), qe(xa, { key: 0 }, [
52954
52952
  z.printData[0].team_id == z.gameInfo.home_team ? (je(), jn(t, {
52955
52953
  key: 0,
52956
- type: 1,
52954
+ type: 5,
52957
52955
  onOnClickVideos: n[0] || (n[0] = (g) => l.onclickPlayVideos({ data: z.printData[0], type: 3 })),
52958
52956
  onOnClickCard: n[1] || (n[1] = (g) => l.onclickPlayVideos({ data: z.printData[0], type: 3 })),
52959
52957
  "click-card": !1,
@@ -52979,7 +52977,7 @@ function dHe(e, n, r, P, z, l) {
52979
52977
  l.canPlayVideos.away && z.printData[1] ? (je(), qe(xa, { key: 0 }, [
52980
52978
  z.printData[1].team_id == z.gameInfo.visiting_team ? (je(), jn(t, {
52981
52979
  key: 0,
52982
- type: 1,
52980
+ type: 5,
52983
52981
  onOnClickVideos: n[2] || (n[2] = (g) => l.onclickPlayVideos({ data: z.printData[1], type: 3 })),
52984
52982
  onOnClickCard: n[3] || (n[3] = (g) => l.onclickPlayVideos({ data: z.printData[1], type: 3 })),
52985
52983
  "click-card": !1,
@@ -53005,7 +53003,7 @@ function dHe(e, n, r, P, z, l) {
53005
53003
  l.canPlayVideos.home && z.printData[0] ? (je(), qe(xa, { key: 0 }, [
53006
53004
  z.printData[0].team_id == z.gameInfo.home_team ? (je(), jn(t, {
53007
53005
  key: 0,
53008
- type: 1,
53006
+ type: 5,
53009
53007
  onOnClickVideos: n[4] || (n[4] = (g) => l.onclickPlayVideos({ data: z.printData[0], type: 3 })),
53010
53008
  onOnClickCard: n[5] || (n[5] = (g) => l.onclickPlayVideos({ data: z.printData[0], type: 3 })),
53011
53009
  "click-card": !1,
@@ -53034,7 +53032,7 @@ function dHe(e, n, r, P, z, l) {
53034
53032
  l.canPlayVideos.away && z.printData[1] ? (je(), qe(xa, { key: 0 }, [
53035
53033
  z.printData[1].team_id == z.gameInfo.visiting_team && !r.isWidget ? (je(), jn(t, {
53036
53034
  key: 0,
53037
- type: 1,
53035
+ type: 5,
53038
53036
  onOnClickVideos: n[6] || (n[6] = (g) => l.onclickPlayVideos({ data: z.printData[1], type: 3 })),
53039
53037
  onOnClickCard: n[7] || (n[7] = (g) => l.onclickPlayVideos({ data: z.printData[1], type: 3 })),
53040
53038
  "click-card": !1,
@@ -53117,7 +53115,7 @@ function dHe(e, n, r, P, z, l) {
53117
53115
  ])
53118
53116
  ], 512);
53119
53117
  }
53120
- const hHe = /* @__PURE__ */ Gb(aHe, [["render", dHe], ["__scopeId", "data-v-4dee2984"]]);
53118
+ const hHe = /* @__PURE__ */ Gb(aHe, [["render", dHe], ["__scopeId", "data-v-7c17df8c"]]);
53121
53119
  let tR = null;
53122
53120
  const pHe = {
53123
53121
  components: {
@@ -53385,13 +53383,12 @@ const pHe = {
53385
53383
  var l = [], f = {}, t = await e.get(
53386
53384
  "https://wlduw4woy3.execute-api.us-east-2.amazonaws.com/prod/live/best-plays/seasons/" + this.config.season_id + "/games/" + this.config.game
53387
53385
  );
53388
- for (let g = 0; g < t.data.games[0].players.length; g++) {
53389
- const p = Math.floor(
53386
+ for (let g = 0; g < t.data.games[0].players.length; g++)
53387
+ Math.floor(
53390
53388
  Math.random() * t.data.games[0].players[g].info_thumbnails.images.background_player_in_action.length
53391
- ), a = Math.floor(
53389
+ ), Math.floor(
53392
53390
  Math.random() * t.data.games[0].players[g].info_thumbnails.images.player_in_action.length
53393
- );
53394
- f = {
53391
+ ), f = {
53395
53392
  background_color_buttons: t.data.games[0].players[g].info_thumbnails.colors.background_color_buttons,
53396
53393
  background_color_cards: t.data.games[0].players[g].info_thumbnails.colors.background_color_cards,
53397
53394
  color_icon_play: t.data.games[0].players[g].info_thumbnails.colors.color_icon_play,
@@ -53401,12 +53398,12 @@ const pHe = {
53401
53398
  colorbackgroundhome: t.data.games[0].players[g].info_thumbnails.colors.background_color,
53402
53399
  colorbackgroundaway: "",
53403
53400
  nameplayer: t.data.games[0].players[g].player_name,
53404
- background: t.data.games[0].players[g].info_thumbnails.images.background_player_in_action[p] ? "https://golstatsimages.blob.core.windows.net/images-library/" + t.data.games[0].players[g].info_thumbnails.images.background_player_in_action[p] : "https://golstatsimages.blob.core.windows.net/images-library/" + t.data.games[0].players[g].info_thumbnails.images.background_default_players[0],
53401
+ background: "https://golstatsimages.blob.core.windows.net/images-library/" + t.data.games[0].players[g].info_thumbnails.images.background_default_teams,
53405
53402
  namecategory: "RESUMEN",
53406
53403
  namehometeam: "",
53407
53404
  nameawayteam: "",
53408
53405
  logohome: t.data.games[0].players[g].team_logo,
53409
- photoprofile: t.data.games[0].players[g].info_thumbnails.images.player_in_action[a] ? "https://golstatsimages.blob.core.windows.net/images-library/" + t.data.games[0].players[g].info_thumbnails.images.player_in_action[a] : `https://az755631.vo.msecnd.net/players-profile/${t.data.games[0].players[g].player_id}.png`,
53406
+ photoprofile: "https://az755631.vo.msecnd.net/teams-150/" + t.data.games[0].players[g].info_thumbnails.team_logo,
53410
53407
  logoaway: "",
53411
53408
  scoreaway: "",
53412
53409
  scorehome: "",
@@ -53415,7 +53412,6 @@ const pHe = {
53415
53412
  category: 0,
53416
53413
  team_id: t.data.games[0].players[g].team_id
53417
53414
  }, l.push(f);
53418
- }
53419
53415
  this.printData = l;
53420
53416
  },
53421
53417
  getBestPlaysUrl({ season: e, player: n, team: r, game: P, category: z }) {
@@ -53537,7 +53533,7 @@ const pHe = {
53537
53533
  this.setUpResizeObserver();
53538
53534
  }, 100), await this.fillData(), await this.getStatsBestPlaysPlayers(), await this.getStatsBestPlaysTeamHome(), await this.getStatsBestPlaysTeamAway();
53539
53535
  }
53540
- }, fHe = (e) => (xr("data-v-e74af248"), e = e(), wr(), e), mHe = {
53536
+ }, fHe = (e) => (xr("data-v-7bf619f3"), e = e(), wr(), e), mHe = {
53541
53537
  ref: "gamesContainer",
53542
53538
  class: "container",
53543
53539
  style: {}
@@ -53597,7 +53593,7 @@ function wHe(e, n, r, P, z, l) {
53597
53593
  z.printData[0] ? (je(), qe(xa, { key: 0 }, [
53598
53594
  z.printData[0].team_id == z.gameInfo.home_team ? (je(), jn(t, {
53599
53595
  key: 0,
53600
- type: 1,
53596
+ type: 5,
53601
53597
  onOnClickVideos: n[3] || (n[3] = (g) => l.onclickPlayVideos({ data: z.printData[0], type: 3 })),
53602
53598
  onOnClickCard: n[4] || (n[4] = (g) => l.onclickPlayVideos({ data: z.printData[0], type: 3 })),
53603
53599
  "click-card": !1,
@@ -53623,7 +53619,7 @@ function wHe(e, n, r, P, z, l) {
53623
53619
  z.printData[1] ? (je(), qe(xa, { key: 0 }, [
53624
53620
  z.printData[1].team_id == z.gameInfo.visiting_team ? (je(), jn(t, {
53625
53621
  key: 0,
53626
- type: 1,
53622
+ type: 5,
53627
53623
  onOnClickVideos: n[5] || (n[5] = (g) => l.onclickPlayVideos({ data: z.printData[1], type: 3 })),
53628
53624
  onOnClickCard: n[6] || (n[6] = (g) => l.onclickPlayVideos({ data: z.printData[1], type: 3 })),
53629
53625
  "click-card": !1,
@@ -53649,7 +53645,7 @@ function wHe(e, n, r, P, z, l) {
53649
53645
  z.printData[0] ? (je(), qe(xa, { key: 0 }, [
53650
53646
  z.printData[0].team_id == z.gameInfo.home_team ? (je(), jn(t, {
53651
53647
  key: 0,
53652
- type: 1,
53648
+ type: 5,
53653
53649
  onOnClickVideos: n[7] || (n[7] = (g) => l.onclickPlayVideos({ data: z.printData[0], type: 3 })),
53654
53650
  onOnClickCard: n[8] || (n[8] = (g) => l.onclickPlayVideos({ data: z.printData[0], type: 3 })),
53655
53651
  "click-card": !1,
@@ -53678,7 +53674,7 @@ function wHe(e, n, r, P, z, l) {
53678
53674
  z.printData[1] && !r.isWidget ? (je(), qe(xa, { key: 0 }, [
53679
53675
  z.printData[1].team_id == z.gameInfo.visiting_team ? (je(), jn(t, {
53680
53676
  key: 0,
53681
- type: 1,
53677
+ type: 5,
53682
53678
  onOnClickVideos: n[9] || (n[9] = (g) => l.onclickPlayVideos({ data: z.printData[1], type: 3 })),
53683
53679
  onOnClickCard: n[10] || (n[10] = (g) => l.onclickPlayVideos({ data: z.printData[1], type: 3 })),
53684
53680
  "click-card": !1,
@@ -53753,7 +53749,7 @@ function wHe(e, n, r, P, z, l) {
53753
53749
  ])
53754
53750
  ], 512);
53755
53751
  }
53756
- const kHe = /* @__PURE__ */ Gb(pHe, [["render", wHe], ["__scopeId", "data-v-e74af248"]]), THe = {
53752
+ const kHe = /* @__PURE__ */ Gb(pHe, [["render", wHe], ["__scopeId", "data-v-7bf619f3"]]), THe = {
53757
53753
  components: {
53758
53754
  GSCVideoGamePreMatch: hHe,
53759
53755
  GSCVideoGamePostMatch: yVe,
@@ -96377,11 +96373,11 @@ const ACt = { class: "dropdown" }, MCt = { class: "selected-item" }, ECt = {
96377
96373
  },
96378
96374
  setup(e) {
96379
96375
  const n = e, r = Uy(
96380
- () => import("./FilterSubcategories-92dfe0dc-166dad92.js")
96376
+ () => import("./FilterSubcategories-92dfe0dc-f504b01a.js")
96381
96377
  ), P = Uy(
96382
- () => import("./FilterConditions-67a56ee9-97cb08fe.js")
96378
+ () => import("./FilterConditions-67a56ee9-8b9f5f80.js")
96383
96379
  ), z = Uy(
96384
- () => import("./FilterField-1d2345af-a677beeb.js")
96380
+ () => import("./FilterField-1d2345af-7ce10511.js")
96385
96381
  ), l = [
96386
96382
  {
96387
96383
  name: "Sub categorías",
@@ -232391,11 +232387,11 @@ const kaa = { class: "dropdown" }, Taa = { class: "selected-item" }, Saa = {
232391
232387
  },
232392
232388
  setup(e) {
232393
232389
  const n = e, r = Uy(
232394
- () => import("./FilterSubcategories-92dfe0dc-kpy809mL-0029fe62.js")
232390
+ () => import("./FilterSubcategories-92dfe0dc-kpy809mL-58d05c31.js")
232395
232391
  ), P = Uy(
232396
- () => import("./FilterConditions-67a56ee9-DJHnVsu6-c1e15872.js")
232392
+ () => import("./FilterConditions-67a56ee9-DJHnVsu6-313a7465.js")
232397
232393
  ), z = Uy(
232398
- () => import("./FilterField-1d2345af-DKrCxsxc-fda3f5fa.js")
232394
+ () => import("./FilterField-1d2345af-DKrCxsxc-5776dff3.js")
232399
232395
  ), l = [
232400
232396
  {
232401
232397
  name: "Sub categorías",
@@ -340550,7 +340546,7 @@ const eba = pc({
340550
340546
  });
340551
340547
  const z = ba(
340552
340548
  "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MCwibmFtZSI6IlVzdWFyaW8gRnJlZSIsInVzZXJuYW1lIjoiZnJlZUBnb2xzdGF0cy5jb20iLCJlbWFpbCI6ImZyZWVAZ29sc3RhdHMuY29tIiwiaWF0IjoxNjA2NzU4Nzk1LCJleHAiOjE2MzgyOTQ3OTV9.kPNmP7yDtk38cAXrUyc7OHRh6J25VFqy-XUNzbK-4YE"
340553
- ), l = ba({ season: [] }), f = ba({}), t = ba(!1), g = ba({}), p = ba(1), a = ba(0), y = 3e4, v = 3e4, h = 3e4, s = 3e4, i = 3e4, o = 3e4, u = 3e4, c = 3e4, d = 3e4, m = ba(null), _ = ba(null), x = ba(null), b = ba([]), T = ba(null), k = ba(!0), S = ba(/* @__PURE__ */ new Set([1, 2])), w = ba({}), A = ba({ minute: "", recent_lapse: 0, score: {} }), C = ba(0), M = ba(
340549
+ ), l = ba({ season: [] }), f = ba({}), t = ba(!1), g = ba({}), p = ba(1), a = ba(0), y = 3e4, v = 3e4, h = 3e4, s = 3e4, i = 3e4, o = 3e4, u = 3e4, c = 3e4, d = 6e4, m = ba(null), _ = ba(null), x = ba(null), b = ba([]), T = ba(null), k = ba(!0), S = ba(/* @__PURE__ */ new Set([1, 2])), w = ba({}), A = ba({ minute: "", recent_lapse: 0, score: {} }), C = ba(0), M = ba(
340554
340550
  "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MCwibmFtZSI6IlVzdWFyaW8gRnJlZSIsInVzZXJuYW1lIjoiZnJlZUBnb2xzdGF0cy5jb20iLCJlbWFpbCI6ImZyZWVAZ29sc3RhdHMuY29tIiwiaWF0IjoxNjA2NzU4Nzk1LCJleHAiOjE2MzgyOTQ3OTV9.kPNmP7yDtk38cAXrUyc7OHRh6J25VFqy-XUNzbK-4YE"
340555
340551
  ), E = ba(
340556
340552
  r.isWidget ? [
@@ -341262,7 +341258,7 @@ const eba = pc({
341262
341258
  ])
341263
341259
  ], 512));
341264
341260
  }
341265
- }), Exa = /* @__PURE__ */ po(tba, [["__scopeId", "data-v-40e492e9"]]);
341261
+ }), Exa = /* @__PURE__ */ po(tba, [["__scopeId", "data-v-8bd22690"]]);
341266
341262
  async function Ph({ url: e, options: n = {}, retries: r = 3 }) {
341267
341263
  return await Au.get(e, n).then((P) => P).catch((P) => r > 0 ? Ph({ url: e, options: n, retries: r - 1 }) : P);
341268
341264
  }