@golstats/gsc-relevant-data 1.1.1 → 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-BNBUZGU7-CQL3FKH4.js → CardBase-LHalf2V1-DH_4cIUy.js} +52 -43
  2. package/dist/{CardBaseAllIndividual-D5JoiQqR-DWvua8kU.js → CardBaseAllIndividual-CWBagEwG-uRQJM1eE.js} +7 -7
  3. package/dist/{CardGeneral-DTteAML4-BoCp5vlA.js → CardGeneral-eo3knIIA-DiSDBUxd.js} +139 -135
  4. package/dist/{CardGeneralIndividual-D-FKsjFO-DmczWq_i.js → CardGeneralIndividual-CAzGqXtP-CKucAqIc.js} +97 -93
  5. package/dist/{CardGeneralTeams-C0Z5qzcM-Bh5TOCqP.js → CardGeneralTeams-uDvy9Z7o-4o1o3rmK.js} +226 -222
  6. package/dist/{CardIndividual-BhPQqGlc-CejXGqdX.js → CardIndividual-BKTMzciS-CVYDhxcW.js} +61 -57
  7. package/dist/{CardIndividual1vs1-QeAXN4f--v6tZgRnG.js → CardIndividual1vs1-DnPVKDmp-DnamlHEl.js} +47 -43
  8. package/dist/{CardIndividualAreas-CHLqS1mw-PZoijJ8r.js → CardIndividualAreas-D5l7k_ww-DUXH6N-P.js} +61 -57
  9. package/dist/{CardIndividualCenters-hEROPxzH-CtlPKP5Y.js → CardIndividualCenters-BqtSPfOh-CHUdOS1l.js} +41 -37
  10. package/dist/{CardIndividualDistance-BQ8zwHOn-CA5xiYDZ.js → CardIndividualDistance-DjbQVGp0-BG1JjZiV.js} +26 -22
  11. package/dist/{CardIndividualFouls-ChdbYcE_-B40KY0oC.js → CardIndividualFouls-C-mzTK7G-Cog70HZW.js} +36 -32
  12. package/dist/{CardIndividualGoalParticipation-B9xqQ51i-OsxCuASk.js → CardIndividualGoalParticipation-DvGAjbsL-GeLVQIHO.js} +26 -22
  13. package/dist/{CardIndividualGoals-BtqVuDiw-Bq-a1M0D.js → CardIndividualGoals-CMC_PTbH-BamdFgox.js} +41 -37
  14. package/dist/{CardIndividualGold-BLT3Mk27-CaeXji6h.js → CardIndividualGold-D_-tb2Tk-DHL-TpvC.js} +23 -19
  15. package/dist/{CardIndividualNoGoalReceived-DJoQF9wO-Dxf13B0V.js → CardIndividualNoGoalReceived-DQSO9Yd2-D3O-ZUsH.js} +38 -34
  16. package/dist/{CardIndividualPerformance-lhPwEGlm-B7WXzM3P.js → CardIndividualPerformance-zyTJ5UCy-DF-f26EN.js} +31 -27
  17. package/dist/{CardIndividualSaves-CVjR2-WK-DUwpE6Cq.js → CardIndividualSaves-BecZ6U_G-nCSJXu1D.js} +56 -51
  18. package/dist/{CardIndividualShotsOnGoal-BHHi894T-B--B6LCk.js → CardIndividualShotsOnGoal-C7aZbXYB-CIQP7Eui.js} +61 -57
  19. package/dist/{CardIndividualStatistics-C-kaGAYd-rITqUEcS.js → CardIndividualStatistics-C20JRZ7J-Ft1l0Wp0.js} +31 -27
  20. package/dist/{CardPromTournament-BFRTPeVe-DyS-zRNp.js → CardPromTournament-BuPsC06q-BiAAvgkF.js} +50 -46
  21. package/dist/{CardSuccessfulPasses-C_L5d6hy-BH3ayI_z.js → CardSuccessfulPasses-BlTLO_xO-CqjTwJQB.js} +92 -88
  22. package/dist/{CardTheMostProductive-BBt8B_sf-CljO4w32.js → CardTheMostProductive-CSBkS-Z_-DFac0hnk.js} +26 -22
  23. package/dist/{PlayerProfileCircle-CJTiOj5E-C-JYhyfq.js → PlayerProfileCircle-DPjdqyyS-vdPCwx6y.js} +6 -6
  24. package/dist/{Shield-If5I91AC-A8wl9qI_.js → Shield-CfA9mcrj-w0qszHpb.js} +10 -10
  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-CSLdtYfE.js → index-DpIUU483.js} +2382 -1810
  31. package/package.json +2 -2
@@ -1,6 +1,15 @@
1
- import { computed as d, createElementBlock as s, openBlock as l, normalizeStyle as u, normalizeClass as p, createCommentVNode as c, createElementVNode as n, renderSlot as g, pushScopeId as y, popScopeId as f } from "vue";
2
- import { q as b } from "./index-CSLdtYfE.js";
3
- function E(t = "") {
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
+ if (!e || e <= 1)
5
+ return t;
6
+ const r = new URL(t), o = r.pathname.split("/").filter((g) => g !== "");
7
+ if (o.length === 0)
8
+ return t;
9
+ const [a, ...i] = o, d = [a, e, ...i].join("/");
10
+ return `${r.origin}/${d}${r.search}`;
11
+ }
12
+ function I(t = "") {
4
13
  const e = t.split("");
5
14
  let r = 1;
6
15
  return e.reduce((o, a) => (a === "*" ? (r % 2 === 0 ? o += "</span>" : o += '<span class="text-bold">', r++) : o += a, o), "");
@@ -21,16 +30,16 @@ function T({ data: t, descriptionType: e }) {
21
30
  return t.description;
22
31
  }
23
32
  }
24
- function $(t) {
25
- return `https://golstatsimages.blob.core.windows.net/teams-80/${t}.png`;
33
+ function z(t, e = 1) {
34
+ return p(`https://golstatsimages.blob.core.windows.net/teams-80/${t}.png`, e);
26
35
  }
27
- function I(t) {
28
- 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);
29
38
  }
30
- function z(t) {
31
- 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}`;
32
41
  }
33
- function A(t) {
42
+ function N(t) {
34
43
  if (t.includes("*")) {
35
44
  let e = "";
36
45
  const r = t.match(/\*(.*?)\*/);
@@ -44,45 +53,45 @@ function A(t) {
44
53
  subtitle: ""
45
54
  };
46
55
  }
47
- const h = (t, e) => {
56
+ const v = (t, e) => {
48
57
  const r = t.__vccOpts || t;
49
58
  for (const [o, a] of e)
50
59
  r[o] = a;
51
60
  return r;
52
- }, m = (t) => (y("data-v-949a4643"), t = t(), f(), t), v = {
61
+ }, _ = (t) => (h("data-v-03a48352"), t = t(), m(), t), k = {
53
62
  key: 0,
54
63
  class: "card-base__background-image"
55
- }, _ = ["src"], w = {
64
+ }, S = ["src"], C = {
56
65
  key: 1,
57
66
  class: "card-base__background-overlay"
58
- }, k = { class: "card-base__slot" }, S = /* @__PURE__ */ m(() => /* @__PURE__ */ n("svg", {
67
+ }, $ = { class: "card-base__slot" }, x = /* @__PURE__ */ _(() => /* @__PURE__ */ l("svg", {
59
68
  width: "60",
60
69
  height: "60",
61
70
  viewBox: "0 0 60 60",
62
71
  fill: "none",
63
72
  xmlns: "http://www.w3.org/2000/svg"
64
73
  }, [
65
- /* @__PURE__ */ n("circle", {
74
+ /* @__PURE__ */ l("circle", {
66
75
  cx: "30",
67
76
  cy: "30",
68
77
  r: "30",
69
78
  fill: "#0E1E2A",
70
79
  "fill-opacity": ".96"
71
80
  }),
72
- /* @__PURE__ */ n("circle", {
81
+ /* @__PURE__ */ l("circle", {
73
82
  cx: "30",
74
83
  cy: "30",
75
84
  r: "26.6",
76
85
  stroke: "#757575",
77
86
  "stroke-width": ".8"
78
87
  }),
79
- /* @__PURE__ */ n("path", {
88
+ /* @__PURE__ */ l("path", {
80
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",
81
90
  fill: "#CBEE6B"
82
91
  })
83
- ], -1)), C = [
84
- S
85
- ], x = {
92
+ ], -1)), B = [
93
+ x
94
+ ], O = {
86
95
  __name: "CardBase",
87
96
  props: {
88
97
  height: {
@@ -131,7 +140,7 @@ const h = (t, e) => {
131
140
  }
132
141
  },
133
142
  setup(t) {
134
- const e = t, r = d(() => ({
143
+ const e = t, r = u(() => ({
135
144
  "--height": e.height,
136
145
  "--width": e.width,
137
146
  "--background-overlay-color": e.backgroundOverlayColor,
@@ -139,43 +148,43 @@ const h = (t, e) => {
139
148
  "--border-radius": e.borderRadius,
140
149
  "--background-overlay-opacity": e.backgroundOverlayOpacity,
141
150
  "--background-gold-size": `${e.width} ${e.height}`
142
- })), o = d(() => {
151
+ })), o = u(() => {
143
152
  const i = [];
144
153
  return e.goldCardType && (e.goldCardType === 1 ? i.push("gold-card-1") : e.goldCardType === 2 && i.push("gold-card-2")), i;
145
154
  });
146
155
  function a() {
147
- b.emit(e.idAux);
156
+ w.emit(e.idAux);
148
157
  }
149
- return (i, B) => (l(), s("div", {
150
- class: p(["card-base", o.value]),
151
- style: u(r.value)
158
+ return (i, d) => (s(), n("div", {
159
+ class: f(["card-base", o.value]),
160
+ style: y(r.value)
152
161
  }, [
153
- t.goldCardType ? c("", !0) : (l(), s("div", v, [
154
- t.backgroundImageSrc ? (l(), s("img", {
162
+ t.goldCardType ? c("", !0) : (s(), n("div", k, [
163
+ t.backgroundImageSrc ? (s(), n("img", {
155
164
  key: 0,
156
165
  src: t.backgroundImageSrc,
157
166
  alt: ""
158
- }, null, 8, _)) : c("", !0)
167
+ }, null, 8, S)) : c("", !0)
159
168
  ])),
160
- t.goldCardType ? c("", !0) : (l(), s("div", w)),
161
- n("div", k, [
162
- g(i.$slots, "default", {}, void 0, !0)
169
+ t.goldCardType ? c("", !0) : (s(), n("div", C)),
170
+ l("div", $, [
171
+ b(i.$slots, "default", {}, void 0, !0)
163
172
  ]),
164
- t.isPlayButtonVisible && t.showVideos ? (l(), s("div", {
173
+ t.isPlayButtonVisible && t.showVideos ? (s(), n("div", {
165
174
  key: 2,
166
175
  class: "card-base__play",
167
176
  onClick: a
168
- }, C)) : c("", !0)
177
+ }, B)) : c("", !0)
169
178
  ], 6));
170
179
  }
171
- }, N = /* @__PURE__ */ h(x, [["__scopeId", "data-v-949a4643"]]);
180
+ }, P = /* @__PURE__ */ v(O, [["__scopeId", "data-v-03a48352"]]);
172
181
  export {
173
- A as $,
174
- T as A,
175
- z as E,
176
- $ as O,
177
- E as P,
178
- I as V,
179
- h as m,
180
- N as z
182
+ I as A,
183
+ A as E,
184
+ N as H,
185
+ T as O,
186
+ P as R,
187
+ z as V,
188
+ v as w,
189
+ R as z
181
190
  };
@@ -1,5 +1,5 @@
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 { m as k, z as P } from "./CardBase-BNBUZGU7-CQL3FKH4.js";
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
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: {
@@ -92,10 +92,10 @@ const $ = { class: "circle__total" }, L = { class: "total" }, z = { class: "suff
92
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" }, z = { 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"