@golstats/gsc-relevant-data 1.1.2 → 1.1.3

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.
Files changed (31) hide show
  1. package/dist/{CardBase-cG4UK8zU-D0uCjRqB.js → CardBase-LHalf2V1-DH_4cIUy.js} +31 -31
  2. package/dist/{CardBaseAllIndividual-DT-pj1sJ-DWZbiML4.js → CardBaseAllIndividual-CWBagEwG-uRQJM1eE.js} +10 -10
  3. package/dist/{CardGeneral-BlZEnnEb-DdWkGjzN.js → CardGeneral-eo3knIIA-DiSDBUxd.js} +138 -134
  4. package/dist/{CardGeneralIndividual-Bnc6oqkd-SgV6nzYK.js → CardGeneralIndividual-CAzGqXtP-CKucAqIc.js} +90 -86
  5. package/dist/{CardGeneralTeams-C3Y4CKGP-D4IEguSo.js → CardGeneralTeams-uDvy9Z7o-4o1o3rmK.js} +228 -224
  6. package/dist/{CardIndividual-BPMbVI3t-C0RFgnSH.js → CardIndividual-BKTMzciS-CVYDhxcW.js} +29 -29
  7. package/dist/{CardIndividual1vs1-CuR4WSxJ-BzG-hQ5T.js → CardIndividual1vs1-DnPVKDmp-DnamlHEl.js} +37 -37
  8. package/dist/{CardIndividualAreas-CfLiKrts-CIunuyhE.js → CardIndividualAreas-D5l7k_ww-DUXH6N-P.js} +13 -13
  9. package/dist/{CardIndividualCenters-QiXO05sk-DZ22hl82.js → CardIndividualCenters-BqtSPfOh-CHUdOS1l.js} +26 -26
  10. package/dist/{CardIndividualDistance-7PJ6nX5x-GJc7QK8v.js → CardIndividualDistance-DjbQVGp0-BG1JjZiV.js} +15 -15
  11. package/dist/{CardIndividualFouls-BG7VCYOa-3FvCHJ4a.js → CardIndividualFouls-C-mzTK7G-Cog70HZW.js} +14 -14
  12. package/dist/{CardIndividualGoalParticipation-BWq87mgE-l0ODFUR-.js → CardIndividualGoalParticipation-DvGAjbsL-GeLVQIHO.js} +13 -13
  13. package/dist/{CardIndividualGoals-DEKwqMXc-DoK7uxe9.js → CardIndividualGoals-CMC_PTbH-BamdFgox.js} +29 -29
  14. package/dist/{CardIndividualGold-Bz4E-z_--pKerDgFk.js → CardIndividualGold-D_-tb2Tk-DHL-TpvC.js} +28 -24
  15. package/dist/{CardIndividualNoGoalReceived-B2BKqCnK-C7jolYFH.js → CardIndividualNoGoalReceived-DQSO9Yd2-D3O-ZUsH.js} +20 -20
  16. package/dist/{CardIndividualPerformance-BcqsLAAU-Cc1M361Q.js → CardIndividualPerformance-zyTJ5UCy-DF-f26EN.js} +24 -20
  17. package/dist/{CardIndividualSaves-BSDQdG6Y-C_q-6hWK.js → CardIndividualSaves-BecZ6U_G-nCSJXu1D.js} +49 -48
  18. package/dist/{CardIndividualShotsOnGoal-CZl8akPo-2aciFqPO.js → CardIndividualShotsOnGoal-C7aZbXYB-CIQP7Eui.js} +43 -43
  19. package/dist/{CardIndividualStatistics-CY-nNio--abAYZXmG.js → CardIndividualStatistics-C20JRZ7J-Ft1l0Wp0.js} +14 -14
  20. package/dist/{CardPromTournament-D7NIcgIG-Dpd3s5PV.js → CardPromTournament-BuPsC06q-BiAAvgkF.js} +38 -38
  21. package/dist/{CardSuccessfulPasses-BmyugNe3-e2iTX0Zk.js → CardSuccessfulPasses-BlTLO_xO-CqjTwJQB.js} +63 -63
  22. package/dist/{CardTheMostProductive-DYe73XmH-BxAK64X0.js → CardTheMostProductive-CSBkS-Z_-DFac0hnk.js} +19 -19
  23. package/dist/{PlayerProfileCircle-B34lIhjM-CdecVB_6.js → PlayerProfileCircle-DPjdqyyS-vdPCwx6y.js} +6 -6
  24. package/dist/{Shield-CPIaGlGA-CpfYAOhz.js → Shield-CfA9mcrj-w0qszHpb.js} +8 -8
  25. package/dist/{TimeSvg-B3vSNjgQ-C-C9O8pw.js → TimeSvg-B3vSNjgQ-BbQ6V9Cu.js} +3 -3
  26. package/dist/{TimeSvg2-BX0bDokD-DUAW7DAH.js → TimeSvg2-BX0bDokD-BWiiXdSp.js} +3 -3
  27. package/dist/gsc-relevant-data.css +1 -1
  28. package/dist/gsc-relevant-data.js +1 -1
  29. package/dist/gsc-relevant-data.umd.cjs +9 -6
  30. package/dist/{index-DkBoHrcA.js → index-DpIUU483.js} +2570 -2016
  31. package/package.json +2 -2
@@ -1,20 +1,20 @@
1
- import { computed as u, createElementBlock as n, openBlock as s, normalizeStyle as g, normalizeClass as y, createCommentVNode as c, createElementVNode as l, renderSlot as f, pushScopeId as h, popScopeId as b } from "vue";
2
- import { O as m } from "./index-DkBoHrcA.js";
3
- function v(t, e) {
1
+ import { computed as u, openBlock as s, createElementBlock as n, normalizeStyle as y, normalizeClass as f, createCommentVNode as c, createElementVNode as l, renderSlot as b, pushScopeId as h, popScopeId as m } from "vue";
2
+ import { O as w } from "./index-DpIUU483.js";
3
+ function p(t, e) {
4
4
  if (!e || e <= 1)
5
5
  return t;
6
- const r = new URL(t), o = r.pathname.split("/").filter((p) => p !== "");
6
+ const r = new URL(t), o = r.pathname.split("/").filter((g) => g !== "");
7
7
  if (o.length === 0)
8
8
  return t;
9
9
  const [a, ...i] = o, d = [a, e, ...i].join("/");
10
10
  return `${r.origin}/${d}${r.search}`;
11
11
  }
12
- function E(t = "") {
12
+ function I(t = "") {
13
13
  const e = t.split("");
14
14
  let r = 1;
15
15
  return e.reduce((o, a) => (a === "*" ? (r % 2 === 0 ? o += "</span>" : o += '<span class="text-bold">', r++) : o += a, o), "");
16
16
  }
17
- function I({ data: t, descriptionType: e }) {
17
+ function T({ data: t, descriptionType: e }) {
18
18
  switch (e) {
19
19
  case 1:
20
20
  return t.finish_first_person_description;
@@ -31,15 +31,15 @@ function I({ data: t, descriptionType: e }) {
31
31
  }
32
32
  }
33
33
  function z(t, e = 1) {
34
- return v(`https://golstatsimages.blob.core.windows.net/teams-80/${t}.png`, e);
34
+ return p(`https://golstatsimages.blob.core.windows.net/teams-80/${t}.png`, e);
35
35
  }
36
- function A(t) {
37
- return `https://golstatsimages.blob.core.windows.net/players-profile/${t}.png`;
36
+ function A(t, e = 1) {
37
+ return p(`https://golstatsimages.blob.core.windows.net/players-profile/${t}.png`, e);
38
38
  }
39
- function N(t) {
40
- return `https://golstatsimages.blob.core.windows.net/images-library/${t}`;
39
+ function R(t, e) {
40
+ return !e || e <= 1 ? `https://golstatsimages.blob.core.windows.net/images-library/${t}` : `https://golstatsimages.blob.core.windows.net/images-library/${e}/${t}`;
41
41
  }
42
- function R(t) {
42
+ function N(t) {
43
43
  if (t.includes("*")) {
44
44
  let e = "";
45
45
  const r = t.match(/\*(.*?)\*/);
@@ -53,18 +53,18 @@ function R(t) {
53
53
  subtitle: ""
54
54
  };
55
55
  }
56
- const _ = (t, e) => {
56
+ const v = (t, e) => {
57
57
  const r = t.__vccOpts || t;
58
58
  for (const [o, a] of e)
59
59
  r[o] = a;
60
60
  return r;
61
- }, w = (t) => (h("data-v-949a4643"), t = t(), b(), t), k = {
61
+ }, _ = (t) => (h("data-v-03a48352"), t = t(), m(), t), k = {
62
62
  key: 0,
63
63
  class: "card-base__background-image"
64
64
  }, S = ["src"], C = {
65
65
  key: 1,
66
66
  class: "card-base__background-overlay"
67
- }, x = { class: "card-base__slot" }, B = /* @__PURE__ */ w(() => /* @__PURE__ */ l("svg", {
67
+ }, $ = { class: "card-base__slot" }, x = /* @__PURE__ */ _(() => /* @__PURE__ */ l("svg", {
68
68
  width: "60",
69
69
  height: "60",
70
70
  viewBox: "0 0 60 60",
@@ -89,9 +89,9 @@ const _ = (t, e) => {
89
89
  d: "M25.49 39.862a1.058 1.058 0 0 1-.359-.43 1.396 1.396 0 0 1-.131-.6V20.165a1.4 1.4 0 0 1 .132-.599c.087-.18.21-.329.358-.429a.777.777 0 0 1 .483-.137c.167.01.33.077.47.194l11.143 9.333c.127.107.232.25.304.42.072.17.11.358.11.55 0 .193-.038.382-.11.55-.072.17-.177.314-.304.42l-11.143 9.337a.808.808 0 0 1-.47.194.776.776 0 0 1-.482-.137z",
90
90
  fill: "#CBEE6B"
91
91
  })
92
- ], -1)), O = [
93
- B
94
- ], $ = {
92
+ ], -1)), B = [
93
+ x
94
+ ], O = {
95
95
  __name: "CardBase",
96
96
  props: {
97
97
  height: {
@@ -153,11 +153,11 @@ const _ = (t, e) => {
153
153
  return e.goldCardType && (e.goldCardType === 1 ? i.push("gold-card-1") : e.goldCardType === 2 && i.push("gold-card-2")), i;
154
154
  });
155
155
  function a() {
156
- m.emit(e.idAux);
156
+ w.emit(e.idAux);
157
157
  }
158
158
  return (i, d) => (s(), n("div", {
159
- class: y(["card-base", o.value]),
160
- style: g(r.value)
159
+ class: f(["card-base", o.value]),
160
+ style: y(r.value)
161
161
  }, [
162
162
  t.goldCardType ? c("", !0) : (s(), n("div", k, [
163
163
  t.backgroundImageSrc ? (s(), n("img", {
@@ -167,24 +167,24 @@ const _ = (t, e) => {
167
167
  }, null, 8, S)) : c("", !0)
168
168
  ])),
169
169
  t.goldCardType ? c("", !0) : (s(), n("div", C)),
170
- l("div", x, [
171
- f(i.$slots, "default", {}, void 0, !0)
170
+ l("div", $, [
171
+ b(i.$slots, "default", {}, void 0, !0)
172
172
  ]),
173
173
  t.isPlayButtonVisible && t.showVideos ? (s(), n("div", {
174
174
  key: 2,
175
175
  class: "card-base__play",
176
176
  onClick: a
177
- }, O)) : c("", !0)
177
+ }, B)) : c("", !0)
178
178
  ], 6));
179
179
  }
180
- }, P = /* @__PURE__ */ _($, [["__scopeId", "data-v-949a4643"]]);
180
+ }, P = /* @__PURE__ */ v(O, [["__scopeId", "data-v-03a48352"]]);
181
181
  export {
182
- E as A,
182
+ I as A,
183
183
  A as E,
184
- R as H,
185
- P as N,
186
- I as O,
184
+ N as H,
185
+ T as O,
186
+ P as R,
187
187
  z as V,
188
- _ as w,
189
- N as z
188
+ v as w,
189
+ R as z
190
190
  };
@@ -1,6 +1,6 @@
1
- import { computed as i, createElementBlock as a, openBlock as o, normalizeStyle as p, createBlock as B, createCommentVNode as l, mergeProps as H, withCtx as w, renderSlot as D, createElementVNode as r, normalizeClass as T, toDisplayString as n, Fragment as m, createVNode as b } from "vue";
2
- import { w as k, N as P } from "./CardBase-cG4UK8zU-D0uCjRqB.js";
3
- const $ = { class: "circle__total" }, L = { class: "total" }, N = { class: "suffix" }, z = ["width", "height", "viewBox"], M = ["stroke"], U = ["stroke"], A = ["stop-color"], I = ["stop-color"], V = {
1
+ import { computed as i, openBlock as o, createElementBlock as a, normalizeStyle as p, createBlock as B, mergeProps as H, withCtx as w, renderSlot as D, createElementVNode as r, createCommentVNode as l, normalizeClass as T, toDisplayString as n, Fragment as m, createVNode as b } from "vue";
2
+ import { w as k, R as P } from "./CardBase-LHalf2V1-DH_4cIUy.js";
3
+ const $ = { class: "circle__total" }, L = { class: "total" }, z = { class: "suffix" }, N = ["width", "height", "viewBox"], M = ["stroke"], U = ["stroke"], A = ["stop-color"], I = ["stop-color"], V = {
4
4
  __name: "CircleWithDots",
5
5
  props: {
6
6
  height: {
@@ -50,7 +50,7 @@ const $ = { class: "circle__total" }, L = { class: "total" }, N = { class: "suff
50
50
  }, [
51
51
  r("div", $, [
52
52
  r("span", L, n(e.value), 1),
53
- r("span", N, n(e.suffix), 1)
53
+ r("span", z, n(e.suffix), 1)
54
54
  ]),
55
55
  (o(), a("svg", {
56
56
  width: s.value["--width"],
@@ -89,13 +89,13 @@ const $ = { class: "circle__total" }, L = { class: "total" }, N = { class: "suff
89
89
  }, null, 8, I)
90
90
  ])
91
91
  ])
92
- ], 8, z))
92
+ ], 8, N))
93
93
  ], 4));
94
94
  }
95
- }, S = /* @__PURE__ */ k(V, [["__scopeId", "data-v-c883293e"]]), O = {
95
+ }, S = /* @__PURE__ */ k(V, [["__scopeId", "data-v-c883293e"]]), R = {
96
96
  key: 0,
97
97
  class: "card-base-individual__content__player-img"
98
- }, E = ["src"], R = {
98
+ }, O = ["src"], E = {
99
99
  key: 1,
100
100
  class: "card-base-individual__content__team-logo"
101
101
  }, j = ["src"], Z = {
@@ -279,15 +279,15 @@ const $ = { class: "circle__total" }, L = { class: "total" }, N = { class: "suff
279
279
  style: p(u.value),
280
280
  class: "card-base-individual__content"
281
281
  }, [
282
- e.playerPhotoUrl ? (o(), a("div", O, [
282
+ e.playerPhotoUrl ? (o(), a("div", R, [
283
283
  r("div", null, [
284
284
  r("img", {
285
285
  src: e.playerPhotoUrl,
286
286
  alt: "player"
287
- }, null, 8, E)
287
+ }, null, 8, O)
288
288
  ])
289
289
  ])) : l("", !0),
290
- e.teamLogoUrl ? (o(), a("div", R, [
290
+ e.teamLogoUrl ? (o(), a("div", E, [
291
291
  r("img", {
292
292
  src: e.teamLogoUrl,
293
293
  alt: "team"