@golstats/gsc-relevant-data 1.1.2 → 1.1.4
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.
- package/dist/{CardBase-cG4UK8zU-D0uCjRqB.js → CardBase-LHalf2V1-BkjBJOoZ.js} +31 -31
- package/dist/{CardBaseAllIndividual-DT-pj1sJ-DWZbiML4.js → CardBaseAllIndividual-CWBagEwG-WYeZjIka.js} +10 -10
- package/dist/{CardGeneral-BlZEnnEb-DdWkGjzN.js → CardGeneral-eo3knIIA-DUPE1Dfb.js} +138 -134
- package/dist/{CardGeneralIndividual-Bnc6oqkd-SgV6nzYK.js → CardGeneralIndividual-CAzGqXtP-BdBJFQ09.js} +90 -86
- package/dist/{CardGeneralTeams-C3Y4CKGP-D4IEguSo.js → CardGeneralTeams-uDvy9Z7o-CfDpI2Jy.js} +228 -224
- package/dist/{CardIndividual-BPMbVI3t-C0RFgnSH.js → CardIndividual-BKTMzciS-bAkDqbEx.js} +29 -29
- package/dist/{CardIndividual1vs1-CuR4WSxJ-BzG-hQ5T.js → CardIndividual1vs1-DnPVKDmp-D8zIkP0F.js} +37 -37
- package/dist/{CardIndividualAreas-CfLiKrts-CIunuyhE.js → CardIndividualAreas-D5l7k_ww-ZI9FlDw7.js} +13 -13
- package/dist/{CardIndividualCenters-QiXO05sk-DZ22hl82.js → CardIndividualCenters-BqtSPfOh-gVhYSRFZ.js} +26 -26
- package/dist/{CardIndividualDistance-7PJ6nX5x-GJc7QK8v.js → CardIndividualDistance-DjbQVGp0-BTHxRu7C.js} +15 -15
- package/dist/{CardIndividualFouls-BG7VCYOa-3FvCHJ4a.js → CardIndividualFouls-C-mzTK7G-CMnZRtUN.js} +14 -14
- package/dist/{CardIndividualGoalParticipation-BWq87mgE-l0ODFUR-.js → CardIndividualGoalParticipation-DvGAjbsL-C6qgax00.js} +13 -13
- package/dist/{CardIndividualGoals-DEKwqMXc-DoK7uxe9.js → CardIndividualGoals-CMC_PTbH-D3rE6MxM.js} +29 -29
- package/dist/{CardIndividualGold-Bz4E-z_--pKerDgFk.js → CardIndividualGold-D_-tb2Tk-D9w5Yg_j.js} +28 -24
- package/dist/{CardIndividualNoGoalReceived-B2BKqCnK-C7jolYFH.js → CardIndividualNoGoalReceived-DQSO9Yd2-DuHshlTl.js} +20 -20
- package/dist/{CardIndividualPerformance-BcqsLAAU-Cc1M361Q.js → CardIndividualPerformance-zyTJ5UCy-spLlL8Pd.js} +24 -20
- package/dist/{CardIndividualSaves-BSDQdG6Y-C_q-6hWK.js → CardIndividualSaves-BecZ6U_G-Bwby7fUk.js} +49 -48
- package/dist/{CardIndividualShotsOnGoal-CZl8akPo-2aciFqPO.js → CardIndividualShotsOnGoal-C7aZbXYB-DQJKzLam.js} +43 -43
- package/dist/{CardIndividualStatistics-CY-nNio--abAYZXmG.js → CardIndividualStatistics-C20JRZ7J-BvOMIun9.js} +14 -14
- package/dist/{CardPromTournament-D7NIcgIG-Dpd3s5PV.js → CardPromTournament-BuPsC06q-Dp1iTQ06.js} +38 -38
- package/dist/{CardSuccessfulPasses-BmyugNe3-e2iTX0Zk.js → CardSuccessfulPasses-BlTLO_xO-CYzXmOio.js} +63 -63
- package/dist/{CardTheMostProductive-DYe73XmH-BxAK64X0.js → CardTheMostProductive-CSBkS-Z_-DtpW0WrL.js} +19 -19
- package/dist/{PlayerProfileCircle-B34lIhjM-CdecVB_6.js → PlayerProfileCircle-DPjdqyyS-CLRVPbbe.js} +6 -6
- package/dist/{Shield-CPIaGlGA-CpfYAOhz.js → Shield-CfA9mcrj-CjVso2r4.js} +8 -8
- package/dist/{TimeSvg-B3vSNjgQ-C-C9O8pw.js → TimeSvg-B3vSNjgQ-BbQ6V9Cu.js} +3 -3
- package/dist/{TimeSvg2-BX0bDokD-DUAW7DAH.js → TimeSvg2-BX0bDokD-BWiiXdSp.js} +3 -3
- package/dist/gsc-relevant-data.css +1 -1
- package/dist/gsc-relevant-data.js +1 -1
- package/dist/gsc-relevant-data.umd.cjs +9 -6
- package/dist/{index-DkBoHrcA.js → index-Dxh1q8_z.js} +2615 -2011
- package/package.json +3 -3
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { computed as u,
|
|
2
|
-
import { O as
|
|
3
|
-
function
|
|
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-Dxh1q8_z.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((
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
-
},
|
|
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
|
-
},
|
|
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)),
|
|
93
|
-
|
|
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
|
-
|
|
156
|
+
w.emit(e.idAux);
|
|
157
157
|
}
|
|
158
158
|
return (i, d) => (s(), n("div", {
|
|
159
|
-
class:
|
|
160
|
-
style:
|
|
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",
|
|
171
|
-
|
|
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
|
-
},
|
|
177
|
+
}, B)) : c("", !0)
|
|
178
178
|
], 6));
|
|
179
179
|
}
|
|
180
|
-
}, P = /* @__PURE__ */
|
|
180
|
+
}, P = /* @__PURE__ */ v(O, [["__scopeId", "data-v-03a48352"]]);
|
|
181
181
|
export {
|
|
182
|
-
|
|
182
|
+
I as A,
|
|
183
183
|
A as E,
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
184
|
+
N as H,
|
|
185
|
+
T as O,
|
|
186
|
+
P as R,
|
|
187
187
|
z as V,
|
|
188
|
-
|
|
189
|
-
|
|
188
|
+
v as w,
|
|
189
|
+
R as z
|
|
190
190
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { computed as i,
|
|
2
|
-
import { w as k,
|
|
3
|
-
const $ = { class: "circle__total" }, L = { class: "total" },
|
|
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-BkjBJOoZ.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",
|
|
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,
|
|
92
|
+
], 8, N))
|
|
93
93
|
], 4));
|
|
94
94
|
}
|
|
95
|
-
}, S = /* @__PURE__ */ k(V, [["__scopeId", "data-v-c883293e"]]),
|
|
95
|
+
}, S = /* @__PURE__ */ k(V, [["__scopeId", "data-v-c883293e"]]), R = {
|
|
96
96
|
key: 0,
|
|
97
97
|
class: "card-base-individual__content__player-img"
|
|
98
|
-
},
|
|
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",
|
|
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,
|
|
287
|
+
}, null, 8, O)
|
|
288
288
|
])
|
|
289
289
|
])) : l("", !0),
|
|
290
|
-
e.teamLogoUrl ? (o(), a("div",
|
|
290
|
+
e.teamLogoUrl ? (o(), a("div", E, [
|
|
291
291
|
r("img", {
|
|
292
292
|
src: e.teamLogoUrl,
|
|
293
293
|
alt: "team"
|