@golstats/gsc-relevant-data 1.0.5 → 1.0.8
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/{CardBaseAllIndividual-BNOgnH6t-D0xjZkGw.js → CardBaseAllIndividual-CNB7K2M0-nej9DJ8x.js} +70 -70
- package/dist/CardGeneral-DyOdaEFZ-DVY9vI50.js +126 -0
- package/dist/{CardGeneralIndividual-BHjZ12n1-BvodKC3y.js → CardGeneralIndividual-DaONNIwT-WoYrg7O0.js} +85 -80
- package/dist/{CardGeneralTeams-ByBEp-8b-CbLocm8U.js → CardGeneralTeams-CCfSIg5--ycGF0WJl.js} +147 -143
- package/dist/{CardIndividual-BR1r5B5u-DqflCygx.js → CardIndividual-B5YHR_4X-DC-zfHLx.js} +44 -44
- package/dist/CardIndividual1vs1-DEBY4dbB-V3PJhhY7.js +108 -0
- package/dist/{CardIndividualAreas-qEYtV2XP-C97pNpBa.js → CardIndividualAreas-D9mHXjfS-DrA6YV1T.js} +56 -55
- package/dist/{CardIndividualCenters-DURH48kE-BAeLhbBk.js → CardIndividualCenters-DeGyy9wB-BftpRpCL.js} +50 -49
- package/dist/{CardIndividualDistance-BKeSbWJ9-B6Vj1YLa.js → CardIndividualDistance-jUf26hS9-BTaa0gSa.js} +31 -31
- package/dist/{CardIndividualFouls-BqWT8Bzx-D0EDbSJl.js → CardIndividualFouls-DF0AvPys-C61mrpb7.js} +27 -26
- package/dist/CardIndividualGoalParticipation-CGVwsTkf-BsIXMNqX.js +111 -0
- package/dist/{CardIndividualGoals-CBAA7DE3-Dco1VuBc.js → CardIndividualGoals-CjrXz7Zv-Cg_lAqNg.js} +54 -53
- package/dist/{CardIndividualGold-BBYsUCND-BhqSGl0q.js → CardIndividualGold-Cp8DsHVJ-nOXX6qdb.js} +31 -30
- package/dist/{CardIndividualNoGoalReceived-HaDOJruE-CKzigvOP.js → CardIndividualNoGoalReceived-BNjVlC0Z-BtnbjfPl.js} +56 -56
- package/dist/{CardIndividualPerformance-CEPnHtE9-Da4MXSxk.js → CardIndividualPerformance-kbuWBDcK-CWDHQrku.js} +34 -30
- package/dist/{CardIndividualSaves-BqBRjEt7-CJBgPvne.js → CardIndividualSaves-BTCuv2ld-BJ7OrOnW.js} +70 -66
- package/dist/{CardIndividualShotsOnGoal-X_3YzAE3-CbiYLtzD.js → CardIndividualShotsOnGoal-B6fysQZQ-2WTo5bAB.js} +58 -48
- package/dist/{CardIndividualStatistics-D769xisE-D2KNSIfX.js → CardIndividualStatistics-B7vL_L1s-BYMwjEJD.js} +38 -38
- package/dist/{CardPromTournament-DFGqM4we-C4dX0pKz.js → CardPromTournament-DMe6axFO-DWI8msi-.js} +23 -23
- package/dist/{CardSuccessfulPasses-CTjMzZAt-Bv_X927S.js → CardSuccessfulPasses-ByzEm7s3-DmSHr8yg.js} +12 -12
- package/dist/CardTheMostProductive-CDDFIo-I-LQ50NbB5.js +75 -0
- package/dist/CircleWithDotsBig-5eFuZwDk-n956nNzk.js +151 -0
- package/dist/{Shield-BjoeEr7g-C7yufXoK.js → Shield-0VkASyDI-Cm8rtKBS.js} +60 -55
- package/dist/gsc-relevant-data.css +1 -1
- package/dist/gsc-relevant-data.js +924 -893
- package/dist/gsc-relevant-data.umd.cjs +6 -6
- package/package.json +2 -2
- package/dist/CardGeneral-D2PYPb95-DycFnfDS.js +0 -116
- package/dist/CardIndividual1vs1-DPov_cGc-DtWs-qcq.js +0 -487
- package/dist/CardIndividualGoalParticipation-CRBepIcB-CBc1Wh03.js +0 -108
- package/dist/CardTheMostProductive-DzbDtzZn-Dewb8MoQ.js +0 -74
- package/dist/CircleWithDotsBig-DfppYko9-BYZNX7zX.js +0 -91
- /package/dist/{misc-BJvl3Yld-2p2XKW1m.js → misc-BbzSgyER-2p2XKW1m.js} +0 -0
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import { computed as r, openBlock as s, createElementBlock as d, normalizeStyle as
|
|
2
|
-
import {
|
|
3
|
-
import { h as
|
|
4
|
-
const n = (a) => (
|
|
1
|
+
import { computed as r, openBlock as s, createElementBlock as d, normalizeStyle as b, createVNode as F, normalizeProps as C, guardReactiveProps as L, withCtx as v, createElementVNode as t, toDisplayString as m, createCommentVNode as y, pushScopeId as x, popScopeId as B } from "vue";
|
|
2
|
+
import { o as S } from "./CardBaseAllIndividual-CNB7K2M0-nej9DJ8x.js";
|
|
3
|
+
import { h as k, z as w, E as I, I as M, O as U, $ as V, P as A } from "./misc-BbzSgyER-2p2XKW1m.js";
|
|
4
|
+
const n = (a) => (x("data-v-3f601ffb"), a = a(), B(), a), G = { class: "statistics__body" }, O = { class: "statistics__body__title-sub" }, $ = { class: "statistics__body__title-sub__title" }, D = { class: "statistics__body__data" }, E = { class: "shield-svg" }, P = { class: "team-logo" }, T = ["src"], z = /* @__PURE__ */ n(() => /* @__PURE__ */ t("div", { class: "ranking" }, [
|
|
5
5
|
/* @__PURE__ */ t("span", { class: "hashtag" }, "#"),
|
|
6
6
|
/* @__PURE__ */ t("span", { class: "number" }, "1")
|
|
7
|
-
], -1)),
|
|
7
|
+
], -1)), N = { class: "subtitle" }, H = {
|
|
8
8
|
width: "217",
|
|
9
9
|
height: "220",
|
|
10
10
|
viewBox: "0 0 217 220",
|
|
11
11
|
fill: "none",
|
|
12
12
|
xmlns: "http://www.w3.org/2000/svg"
|
|
13
|
-
},
|
|
13
|
+
}, R = /* @__PURE__ */ n(() => /* @__PURE__ */ t("g", { filter: "url(#filter0_bd_4070_92224)" }, [
|
|
14
14
|
/* @__PURE__ */ t("path", {
|
|
15
15
|
d: "M108.503 50C115.166 50 121.88 50.4001 128.464 51.1939L129.734 51.3475L131.004 51.5012L131.73 52.5382L132.456 53.5753C137.891 61.3499 147.373 67.1049 158.474 69.3679L160.737 69.8288L163 70.2897V83.6241C163 100.191 158.067 116.237 148.728 130.029C139.392 143.821 126.24 154.496 110.695 160.894L109.597 161.345L108.5 161.796L107.403 161.345L106.305 160.894C90.7599 154.496 77.6079 143.821 68.2722 130.029C58.9365 116.237 54 100.188 54 83.6241V70.2897L56.2631 69.8288L58.5262 69.3679C69.6268 67.1049 79.109 61.3499 84.5437 53.5753L85.2698 52.5382L85.996 51.5012L87.2659 51.3475L88.5359 51.1939C95.12 50.4033 101.838 50 108.497 50L108.503 50Z",
|
|
16
16
|
fill: "white",
|
|
17
17
|
"fill-opacity": "0.12",
|
|
18
18
|
"shape-rendering": "crispEdges"
|
|
19
19
|
})
|
|
20
|
-
], -1)),
|
|
20
|
+
], -1)), Z = { filter: "url(#filter1_bd_4070_92224)" }, j = ["fill"], q = /* @__PURE__ */ n(() => /* @__PURE__ */ t("defs", null, [
|
|
21
21
|
/* @__PURE__ */ t("filter", {
|
|
22
22
|
id: "filter0_bd_4070_92224",
|
|
23
23
|
x: "-37.6419",
|
|
@@ -118,7 +118,7 @@ const n = (a) => (B("data-v-1ad95fc6"), a = a(), S(), a), O = { class: "statisti
|
|
|
118
118
|
result: "shape"
|
|
119
119
|
})
|
|
120
120
|
])
|
|
121
|
-
], -1)),
|
|
121
|
+
], -1)), J = {
|
|
122
122
|
__name: "CardIndividualStatistics",
|
|
123
123
|
props: {
|
|
124
124
|
height: {
|
|
@@ -139,71 +139,71 @@ const n = (a) => (B("data-v-1ad95fc6"), a = a(), S(), a), O = { class: "statisti
|
|
|
139
139
|
}
|
|
140
140
|
},
|
|
141
141
|
setup(a) {
|
|
142
|
-
const e = a,
|
|
143
|
-
var
|
|
142
|
+
const e = a, h = r(() => {
|
|
143
|
+
var l, i, u, c, f, p, _;
|
|
144
144
|
return {
|
|
145
145
|
height: e.height,
|
|
146
146
|
width: e.width,
|
|
147
147
|
footerHeight: "137px",
|
|
148
148
|
playerPhotoPositionTop: "24px",
|
|
149
|
-
playerPhotoUrl:
|
|
149
|
+
playerPhotoUrl: w(e.data.player_id || ""),
|
|
150
150
|
cardColor: (e.data.thumbnails.colors.background_color || "#000000").trim(),
|
|
151
|
-
backgroundImageSrc:
|
|
151
|
+
backgroundImageSrc: I((c = (u = (i = (l = e.data) == null ? void 0 : l.thumbnails) == null ? void 0 : i.images) == null ? void 0 : u.background_player_in_action) != null && c[0] ? e.data.thumbnails.images.background_player_in_action[0] : (_ = (p = (f = e.data) == null ? void 0 : f.thumbnails) == null ? void 0 : p.images) != null && _.background_tean ? e.data.thumbnails.images.background_team : ""),
|
|
152
152
|
footerBodyData: {
|
|
153
|
-
description:
|
|
153
|
+
description: M(U({ data: e.data, descriptionType: e.descriptionType })),
|
|
154
154
|
total: e.data.total,
|
|
155
155
|
textColor: (e.data.thumbnails.colors.font_color_description || "#FFFFFF").trim(),
|
|
156
156
|
totalTextColor: (e.data.thumbnails.colors.font_color_stats || "#FFFFFF").trim()
|
|
157
157
|
}
|
|
158
158
|
};
|
|
159
159
|
}), o = r(() => {
|
|
160
|
-
const { title:
|
|
160
|
+
const { title: l, subtitle: i } = V(e.data.title);
|
|
161
161
|
return {
|
|
162
|
-
title:
|
|
163
|
-
subtitle:
|
|
162
|
+
title: l,
|
|
163
|
+
subtitle: i,
|
|
164
164
|
lineColor: (e.data.thumbnails.colors.line_color || "#FFFFFF").trim(),
|
|
165
|
-
teamLogoUrl:
|
|
165
|
+
teamLogoUrl: A(e.data.team_id || "")
|
|
166
166
|
};
|
|
167
167
|
});
|
|
168
168
|
r(() => e.data.id);
|
|
169
|
-
const
|
|
169
|
+
const g = r(() => ({
|
|
170
170
|
"--title-color": (e.data.thumbnails.colors.font_color_header || "#FFFFFF").trim(),
|
|
171
171
|
"--text-color": (e.data.thumbnails.colors.font_color_description || "#FFFFFF").trim(),
|
|
172
172
|
"--data-color": (e.data.thumbnails.colors.background_color_cards || "#000000").trim(),
|
|
173
173
|
"--border": `1px solid ${e.data.thumbnails.colors.graphic_color || "#FFFFFF"}`
|
|
174
174
|
}));
|
|
175
|
-
return (
|
|
175
|
+
return (l, i) => (s(), d("div", {
|
|
176
176
|
class: "statistics",
|
|
177
|
-
style:
|
|
177
|
+
style: b(g.value)
|
|
178
178
|
}, [
|
|
179
|
-
|
|
180
|
-
body:
|
|
181
|
-
t("div",
|
|
182
|
-
t("div",
|
|
183
|
-
t("div",
|
|
179
|
+
F(S, C(L(h.value)), {
|
|
180
|
+
body: v(() => [
|
|
181
|
+
t("div", G, [
|
|
182
|
+
t("div", O, [
|
|
183
|
+
t("div", $, m(o.value.title), 1)
|
|
184
184
|
]),
|
|
185
|
-
t("div",
|
|
186
|
-
t("div",
|
|
187
|
-
t("div",
|
|
185
|
+
t("div", D, [
|
|
186
|
+
t("div", E, [
|
|
187
|
+
t("div", P, [
|
|
188
188
|
o.value.teamLogoUrl ? (s(), d("img", {
|
|
189
189
|
key: 0,
|
|
190
190
|
src: o.value.teamLogoUrl,
|
|
191
191
|
alt: ""
|
|
192
|
-
}, null, 8,
|
|
192
|
+
}, null, 8, T)) : y("", !0)
|
|
193
193
|
]),
|
|
194
|
-
|
|
195
|
-
t("div",
|
|
196
|
-
(s(), d("svg",
|
|
197
|
-
|
|
198
|
-
t("g",
|
|
194
|
+
z,
|
|
195
|
+
t("div", N, m(o.value.subtitle), 1),
|
|
196
|
+
(s(), d("svg", H, [
|
|
197
|
+
R,
|
|
198
|
+
t("g", Z, [
|
|
199
199
|
t("path", {
|
|
200
200
|
"fill-rule": "evenodd",
|
|
201
201
|
"clip-rule": "evenodd",
|
|
202
202
|
d: "M85.996 51.5012L88.5359 51.1939C95.12 50.4033 101.838 50 108.497 50H108.503C115.166 50 121.88 50.4001 128.464 51.1939L131.004 51.5012L132.456 53.5753C137.891 61.3499 147.373 67.1049 158.474 69.3679L163 70.2897V83.6241C163 100.191 158.067 116.237 148.728 130.029C139.392 143.821 126.24 154.496 110.695 160.894L108.5 161.796L106.305 160.894C90.7599 154.496 77.6079 143.821 68.2722 130.029C58.9365 116.237 54 100.188 54 83.6241V70.2897L58.5262 69.3679C69.6268 67.1049 79.109 61.3499 84.5437 53.5753L85.996 51.5012ZM56 71.9234L58.9253 71.3276C70.4237 68.9836 80.3979 62.9961 86.182 54.7224M86.1829 54.7211L87.1223 53.3795L88.7743 53.1796C95.2793 52.3986 101.918 52 108.497 52H108.503C115.086 52 121.721 52.3954 128.225 53.1795L129.878 53.3795L130.817 54.7211C136.601 62.9955 146.575 68.9834 158.074 71.3275L161 71.9234V83.6241C161 99.7894 156.188 115.445 147.072 128.907C137.958 142.371 125.119 152.794 109.933 159.044L108.5 159.634L107.067 159.044C91.881 152.794 79.0417 142.371 69.9284 128.908C60.8154 115.445 56 99.786 56 83.6241V71.9234",
|
|
203
203
|
fill: o.value.lineColor
|
|
204
|
-
}, null, 8,
|
|
204
|
+
}, null, 8, j)
|
|
205
205
|
]),
|
|
206
|
-
|
|
206
|
+
q
|
|
207
207
|
]))
|
|
208
208
|
])
|
|
209
209
|
])
|
|
@@ -213,7 +213,7 @@ const n = (a) => (B("data-v-1ad95fc6"), a = a(), S(), a), O = { class: "statisti
|
|
|
213
213
|
}, 16)
|
|
214
214
|
], 4));
|
|
215
215
|
}
|
|
216
|
-
},
|
|
216
|
+
}, W = /* @__PURE__ */ k(J, [["__scopeId", "data-v-3f601ffb"]]);
|
|
217
217
|
export {
|
|
218
|
-
|
|
218
|
+
W as default
|
|
219
219
|
};
|
package/dist/{CardPromTournament-DFGqM4we-C4dX0pKz.js → CardPromTournament-DMe6axFO-DWI8msi-.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { useCssVars as _, computed as s, ref as T, openBlock as o, createElementBlock as
|
|
2
|
-
import { h as R, E as v, T as B, I as D, O as M } from "./misc-
|
|
3
|
-
import {
|
|
4
|
-
const
|
|
1
|
+
import { useCssVars as _, computed as s, ref as T, openBlock as o, createElementBlock as c, normalizeStyle as h, createBlock as w, mergeProps as k, withCtx as O, createElementVNode as a, toDisplayString as d, createVNode as I, unref as m, Fragment as P, renderList as E, normalizeClass as N, createCommentVNode as C } from "vue";
|
|
2
|
+
import { h as R, E as v, T as B, I as D, O as M } from "./misc-BbzSgyER-2p2XKW1m.js";
|
|
3
|
+
import { N as S } from "./Shield-0VkASyDI-Cm8rtKBS.js";
|
|
4
|
+
const V = { class: "card-content" }, F = { class: "content-wrapper" }, H = { class: "main-content" }, L = { class: "main-title" }, z = { class: "title-separator" }, j = { class: "footer-text" }, A = ["innerHTML"], W = { class: "seasons-sidebar" }, $ = { class: "sidebar-header" }, q = { class: "seasons-list" }, G = { class: "season-value-box" }, J = { class: "season-label" }, K = "-38px 35px", Q = {
|
|
5
5
|
__name: "CardPromTournament",
|
|
6
6
|
props: {
|
|
7
7
|
height: {
|
|
@@ -21,11 +21,11 @@ const S = { class: "card-content" }, V = { class: "content-wrapper" }, F = { cla
|
|
|
21
21
|
default: 0
|
|
22
22
|
}
|
|
23
23
|
},
|
|
24
|
-
setup(
|
|
24
|
+
setup(u) {
|
|
25
25
|
_((t) => ({
|
|
26
|
-
|
|
26
|
+
"12b7ad86": u.data.thumbnails.colors.background_color
|
|
27
27
|
}));
|
|
28
|
-
const e =
|
|
28
|
+
const e = u, b = s(() => ({
|
|
29
29
|
"--height": e.height,
|
|
30
30
|
"--width": e.width,
|
|
31
31
|
"--footer-background-color": e.data.thumbnails.colors.background_color || "#000000"
|
|
@@ -55,41 +55,41 @@ const S = { class: "card-content" }, V = { class: "content-wrapper" }, F = { cla
|
|
|
55
55
|
var t;
|
|
56
56
|
return (t = e.data) != null && t.averages ? Math.max(...e.data.averages.map((l) => parseFloat(l.average))) : 0;
|
|
57
57
|
});
|
|
58
|
-
return (t, l) => (o(),
|
|
58
|
+
return (t, l) => (o(), c("div", {
|
|
59
59
|
class: "card-general",
|
|
60
60
|
style: h(b.value)
|
|
61
61
|
}, [
|
|
62
|
-
p.value ? (o(), w(B, k({ key: 0 }, p.value, { width:
|
|
62
|
+
p.value ? (o(), w(B, k({ key: 0 }, p.value, { width: u.width }), {
|
|
63
63
|
default: O(() => {
|
|
64
64
|
var r, i;
|
|
65
65
|
return [
|
|
66
|
-
a("div",
|
|
67
|
-
a("div",
|
|
68
|
-
a("div",
|
|
66
|
+
a("div", V, [
|
|
67
|
+
a("div", F, [
|
|
68
|
+
a("div", H, [
|
|
69
69
|
a("h1", L, d(g.value.mainTitle), 1),
|
|
70
70
|
a("div", z, [
|
|
71
|
-
I(
|
|
71
|
+
I(S, {
|
|
72
72
|
"team-logo-src": "https://golstatsimages.blob.core.windows.net/teams-80/" + e.data.team_id + ".png",
|
|
73
73
|
width: 105,
|
|
74
74
|
"inner-image-src": m(v)(e.data.thumbnails.images.player_in_action[0]),
|
|
75
75
|
"team-logo-circle-props": f.value,
|
|
76
|
-
"inner-image-translate":
|
|
76
|
+
"inner-image-translate": K
|
|
77
77
|
}, null, 8, ["team-logo-src", "inner-image-src", "team-logo-circle-props"])
|
|
78
78
|
]),
|
|
79
|
-
a("div",
|
|
79
|
+
a("div", j, [
|
|
80
80
|
a("p", {
|
|
81
81
|
innerHTML: m(D)(m(M)({ data: e.data, descriptionType: e.descriptionType })),
|
|
82
82
|
class: "card-description",
|
|
83
83
|
style: h({ color: ((r = e.data) == null ? void 0 : r.font_color) || "white" })
|
|
84
|
-
}, null, 12,
|
|
84
|
+
}, null, 12, A)
|
|
85
85
|
])
|
|
86
86
|
]),
|
|
87
|
-
a("div",
|
|
88
|
-
a("div",
|
|
87
|
+
a("div", W, [
|
|
88
|
+
a("div", $, d(g.value.sidebarTitle), 1),
|
|
89
89
|
a("div", q, [
|
|
90
|
-
(o(!0),
|
|
90
|
+
(o(!0), c(P, null, E((i = e.data) == null ? void 0 : i.averages, (n, x) => (o(), c("div", {
|
|
91
91
|
key: x,
|
|
92
|
-
class:
|
|
92
|
+
class: N(["season-row", {
|
|
93
93
|
highlighted: n.highlighted,
|
|
94
94
|
"max-value": parseFloat(n.average) === y.value
|
|
95
95
|
}])
|
|
@@ -104,10 +104,10 @@ const S = { class: "card-content" }, V = { class: "content-wrapper" }, F = { cla
|
|
|
104
104
|
];
|
|
105
105
|
}),
|
|
106
106
|
_: 1
|
|
107
|
-
}, 16, ["width"])) :
|
|
107
|
+
}, 16, ["width"])) : C("", !0)
|
|
108
108
|
], 4));
|
|
109
109
|
}
|
|
110
|
-
},
|
|
110
|
+
}, Z = /* @__PURE__ */ R(Q, [["__scopeId", "data-v-5e073402"]]);
|
|
111
111
|
export {
|
|
112
|
-
|
|
112
|
+
Z as default
|
|
113
113
|
};
|
package/dist/{CardSuccessfulPasses-CTjMzZAt-Bv_X927S.js → CardSuccessfulPasses-ByzEm7s3-DmSHr8yg.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { computed as c, openBlock as f, createElementBlock as g, normalizeStyle as p, createVNode as y, normalizeProps as v, guardReactiveProps as k, withCtx as x, createElementVNode as
|
|
2
|
-
import {
|
|
3
|
-
import { h as I, z, P as E, E as O, I as T, O as w, $ as N } from "./misc-
|
|
4
|
-
const $ = (l) => (C("data-v-2d0e60f5"), l = l(), P(), l), j = { class: "passes__body__title-sub" }, B = { class: "passes__body__title-sub__title" }, D = { class: "passes__body__title-sub__sub" }, H = /* @__PURE__ */ $(() => /* @__PURE__ */
|
|
1
|
+
import { computed as c, openBlock as f, createElementBlock as g, normalizeStyle as p, createVNode as y, normalizeProps as v, guardReactiveProps as k, withCtx as x, createElementVNode as i, toDisplayString as m, pushScopeId as C, popScopeId as P } from "vue";
|
|
2
|
+
import { o as S } from "./CardBaseAllIndividual-CNB7K2M0-nej9DJ8x.js";
|
|
3
|
+
import { h as I, z, P as E, E as O, I as T, O as w, $ as N } from "./misc-BbzSgyER-2p2XKW1m.js";
|
|
4
|
+
const $ = (l) => (C("data-v-2d0e60f5"), l = l(), P(), l), j = { class: "passes__body__title-sub" }, B = { class: "passes__body__title-sub__title" }, D = { class: "passes__body__title-sub__sub" }, H = /* @__PURE__ */ $(() => /* @__PURE__ */ i("div", { class: "passes__body__data" }, null, -1)), L = {
|
|
5
5
|
__name: "CardSuccessfulPasses",
|
|
6
6
|
props: {
|
|
7
7
|
height: {
|
|
@@ -23,7 +23,7 @@ const $ = (l) => (C("data-v-2d0e60f5"), l = l(), P(), l), j = { class: "passes__
|
|
|
23
23
|
},
|
|
24
24
|
setup(l) {
|
|
25
25
|
const t = l, b = c(() => {
|
|
26
|
-
var e, o,
|
|
26
|
+
var e, o, d, r, n, a, s;
|
|
27
27
|
return {
|
|
28
28
|
height: t.height,
|
|
29
29
|
width: t.width,
|
|
@@ -32,7 +32,7 @@ const $ = (l) => (C("data-v-2d0e60f5"), l = l(), P(), l), j = { class: "passes__
|
|
|
32
32
|
playerPhotoUrl: z(t.data.player_id || ""),
|
|
33
33
|
teamLogoUrl: E(t.data.team_id || ""),
|
|
34
34
|
cardColor: (t.data.thumbnails.colors.background_color || "#000000").trim(),
|
|
35
|
-
backgroundImageSrc: O((r = (
|
|
35
|
+
backgroundImageSrc: O((r = (d = (o = (e = t.data) == null ? void 0 : e.thumbnails) == null ? void 0 : o.images) == null ? void 0 : d.background_player_in_action) != null && r[0] ? t.data.thumbnails.images.background_player_in_action[0] : (s = (a = (n = t.data) == null ? void 0 : n.thumbnails) == null ? void 0 : a.images) != null && s.background_team ? t.data.thumbnails.images.background_team : ""),
|
|
36
36
|
footerBodyData: {
|
|
37
37
|
description: T(w({ data: t.data, descriptionType: t.descriptionType })),
|
|
38
38
|
textColor: (t.data.thumbnails.colors.font_color_description || "#FFFFFF").trim()
|
|
@@ -42,7 +42,7 @@ const $ = (l) => (C("data-v-2d0e60f5"), l = l(), P(), l), j = { class: "passes__
|
|
|
42
42
|
let e = t.data.sections || [];
|
|
43
43
|
e = e.sort((a, s) => a[0] - s[0]);
|
|
44
44
|
let o = 0;
|
|
45
|
-
const
|
|
45
|
+
const d = e.reduce((a, [s, h], F) => (F % 4 === 0 && (a.push([]), o++), a[o - 1].push([h]), a), []), { title: r, subtitle: n } = N(t.data.title);
|
|
46
46
|
return {
|
|
47
47
|
title: r,
|
|
48
48
|
subtitle: n,
|
|
@@ -53,7 +53,7 @@ const $ = (l) => (C("data-v-2d0e60f5"), l = l(), P(), l), j = { class: "passes__
|
|
|
53
53
|
fieldObject: {
|
|
54
54
|
categoryIds: t.data.categories,
|
|
55
55
|
coordinatePoint: 3,
|
|
56
|
-
data:
|
|
56
|
+
data: d,
|
|
57
57
|
isNegative: !1
|
|
58
58
|
}
|
|
59
59
|
};
|
|
@@ -70,13 +70,13 @@ const $ = (l) => (C("data-v-2d0e60f5"), l = l(), P(), l), j = { class: "passes__
|
|
|
70
70
|
}, [
|
|
71
71
|
y(S, v(k(b.value)), {
|
|
72
72
|
body: x(() => [
|
|
73
|
-
|
|
73
|
+
i("div", {
|
|
74
74
|
class: "passes__body",
|
|
75
75
|
style: p(_.value)
|
|
76
76
|
}, [
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
77
|
+
i("div", j, [
|
|
78
|
+
i("div", B, m(u.value.title), 1),
|
|
79
|
+
i("div", D, m(u.value.subtitle), 1)
|
|
80
80
|
]),
|
|
81
81
|
H
|
|
82
82
|
], 4)
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { computed as d, openBlock as h, createElementBlock as b, createVNode as s, normalizeProps as f, guardReactiveProps as y, withCtx as v, createElementVNode as m, normalizeStyle as F, pushScopeId as x, popScopeId as S } from "vue";
|
|
2
|
+
import { o as k } from "./CardBaseAllIndividual-CNB7K2M0-nej9DJ8x.js";
|
|
3
|
+
import { N as C } from "./Shield-0VkASyDI-Cm8rtKBS.js";
|
|
4
|
+
import { h as I, E as p, I as P, O as w, P as B, z as N } from "./misc-BbzSgyER-2p2XKW1m.js";
|
|
5
|
+
const T = (o) => (x("data-v-d26d27a2"), o = o(), S(), o), z = { class: "productive" }, A = /* @__PURE__ */ T(() => /* @__PURE__ */ m("div", { class: "productive__body__title" }, " MÁS Productivo ", -1)), D = {
|
|
6
|
+
__name: "CardTheMostProductive",
|
|
7
|
+
props: {
|
|
8
|
+
height: {
|
|
9
|
+
type: String,
|
|
10
|
+
default: "445px"
|
|
11
|
+
},
|
|
12
|
+
width: {
|
|
13
|
+
type: String,
|
|
14
|
+
default: "319px"
|
|
15
|
+
},
|
|
16
|
+
data: {
|
|
17
|
+
type: Object,
|
|
18
|
+
default: () => null
|
|
19
|
+
},
|
|
20
|
+
descriptionType: {
|
|
21
|
+
type: Number,
|
|
22
|
+
default: 4
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
setup(o) {
|
|
26
|
+
const a = o, _ = d(() => {
|
|
27
|
+
var e, t, r, i, l, u, c;
|
|
28
|
+
return {
|
|
29
|
+
height: a.height,
|
|
30
|
+
width: a.width,
|
|
31
|
+
footerHeight: "112px",
|
|
32
|
+
cardColor: (a.data.thumbnails.colors.background_color || "#000000").trim(),
|
|
33
|
+
backgroundImageSrc: p((i = (r = (t = (e = a.data) == null ? void 0 : e.thumbnails) == null ? void 0 : t.images) == null ? void 0 : r.background_player_in_action) != null && i[0] ? a.data.thumbnails.images.background_player_in_action[0] : (c = (u = (l = a.data) == null ? void 0 : l.thumbnails) == null ? void 0 : u.images) != null && c.background_team ? a.data.thumbnails.images.background_team : ""),
|
|
34
|
+
footerBodyData: {
|
|
35
|
+
description: P(w({ data: a.data, descriptionType: a.descriptionType })),
|
|
36
|
+
textColor: (a.data.thumbnails.colors.font_color_description || "#FFFFFF").trim()
|
|
37
|
+
}
|
|
38
|
+
};
|
|
39
|
+
}), n = d(() => {
|
|
40
|
+
var e, t, r, i;
|
|
41
|
+
const l = !!((i = (r = (t = (e = a.data) == null ? void 0 : e.thumbnails) == null ? void 0 : t.images) == null ? void 0 : r.player_in_action) != null && i[0]);
|
|
42
|
+
return {
|
|
43
|
+
teamLogoUrl: B(a.data.team_id || ""),
|
|
44
|
+
playerInActionSrc: l ? p(a.data.thumbnails.images.player_in_action[0]) : N(a.data.player_id || ""),
|
|
45
|
+
shieldColor: (a.data.thumbnails.colors.graphic_color || "#5DACFF").trim(),
|
|
46
|
+
translate: l ? "-40px -8px" : "-42px -30px"
|
|
47
|
+
};
|
|
48
|
+
}), g = d(() => ({
|
|
49
|
+
"--title-color": (a.data.thumbnails.colors.font_color_header || "#FFFFFF").trim()
|
|
50
|
+
}));
|
|
51
|
+
return (e, t) => (h(), b("div", z, [
|
|
52
|
+
s(k, f(y(_.value)), {
|
|
53
|
+
body: v(() => [
|
|
54
|
+
m("div", {
|
|
55
|
+
class: "productive__body",
|
|
56
|
+
style: F(g.value)
|
|
57
|
+
}, [
|
|
58
|
+
A,
|
|
59
|
+
s(C, {
|
|
60
|
+
id: a.data.id,
|
|
61
|
+
"team-logo-src": n.value.teamLogoUrl,
|
|
62
|
+
"inner-image-src": n.value.playerInActionSrc,
|
|
63
|
+
color: n.value.shieldColor,
|
|
64
|
+
"inner-image-translate": n.value.translate
|
|
65
|
+
}, null, 8, ["id", "team-logo-src", "inner-image-src", "color", "inner-image-translate"])
|
|
66
|
+
], 4)
|
|
67
|
+
]),
|
|
68
|
+
_: 1
|
|
69
|
+
}, 16)
|
|
70
|
+
]));
|
|
71
|
+
}
|
|
72
|
+
}, O = /* @__PURE__ */ I(D, [["__scopeId", "data-v-d26d27a2"]]);
|
|
73
|
+
export {
|
|
74
|
+
O as default
|
|
75
|
+
};
|
|
@@ -0,0 +1,151 @@
|
|
|
1
|
+
import { computed as p, openBlock as t, createElementBlock as i, normalizeStyle as c, createElementVNode as l, toDisplayString as s, createCommentVNode as f, pushScopeId as C, popScopeId as h } from "vue";
|
|
2
|
+
import { h as v } from "./misc-BbzSgyER-2p2XKW1m.js";
|
|
3
|
+
const d = (e) => (C("data-v-22c8adc8"), e = e(), h(), e), x = { class: "circle__total" }, g = { class: "total" }, y = {
|
|
4
|
+
key: 0,
|
|
5
|
+
class: "suffix"
|
|
6
|
+
}, m = {
|
|
7
|
+
width: "99",
|
|
8
|
+
height: "99",
|
|
9
|
+
viewBox: "0 0 99 99",
|
|
10
|
+
fill: "none",
|
|
11
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
12
|
+
}, S = { opacity: "0.1" }, w = ["fill"], $ = /* @__PURE__ */ d(() => /* @__PURE__ */ l("path", {
|
|
13
|
+
"fill-rule": "evenodd",
|
|
14
|
+
"clip-rule": "evenodd",
|
|
15
|
+
d: "M49.3904 89.2114C71.383 89.2114 89.2114 71.383 89.2114 49.3904C89.2114 27.3979 71.383 9.5694 49.3904 9.5694C27.3979 9.5694 9.5694 27.3979 9.5694 49.3904C9.5694 71.383 27.3979 89.2114 49.3904 89.2114ZM49.3904 98.7808C76.668 98.7808 98.7808 76.668 98.7808 49.3904C98.7808 22.1128 76.668 0 49.3904 0C22.1128 0 0 22.1128 0 49.3904C0 76.668 22.1128 98.7808 49.3904 98.7808Z",
|
|
16
|
+
fill: "black",
|
|
17
|
+
"fill-opacity": "0.2"
|
|
18
|
+
}, null, -1)), M = ["fill"], Z = /* @__PURE__ */ d(() => /* @__PURE__ */ l("path", {
|
|
19
|
+
"fill-rule": "evenodd",
|
|
20
|
+
"clip-rule": "evenodd",
|
|
21
|
+
d: "M49.0829 92.1143C72.8485 92.1143 92.1143 72.8485 92.1143 49.0829C92.1143 25.3173 72.8485 6.05151 49.0829 6.05151C25.3173 6.05151 6.05151 25.3173 6.05151 49.0829C6.05151 72.8485 25.3173 92.1143 49.0829 92.1143ZM49.0829 95.6951C74.8261 95.6951 95.6951 74.8261 95.6951 49.0829C95.6951 23.3397 74.8261 2.4707 49.0829 2.4707C23.3397 2.4707 2.4707 23.3397 2.4707 49.0829C2.4707 74.8261 23.3397 95.6951 49.0829 95.6951Z",
|
|
22
|
+
fill: "black",
|
|
23
|
+
"fill-opacity": "0.2"
|
|
24
|
+
}, null, -1)), b = ["fill"], z = ["stop-color"], N = ["stop-color"], U = ["stop-color"], k = ["stop-color"], D = ["stop-color"], F = ["stop-color"], _ = {
|
|
25
|
+
__name: "CircleWithDotsBig",
|
|
26
|
+
props: {
|
|
27
|
+
height: {
|
|
28
|
+
type: Number,
|
|
29
|
+
default: 68
|
|
30
|
+
},
|
|
31
|
+
width: {
|
|
32
|
+
type: Number,
|
|
33
|
+
default: 69
|
|
34
|
+
},
|
|
35
|
+
color: {
|
|
36
|
+
type: String,
|
|
37
|
+
default: "#4E8AF2"
|
|
38
|
+
},
|
|
39
|
+
textColor: {
|
|
40
|
+
type: String,
|
|
41
|
+
default: "#fff"
|
|
42
|
+
},
|
|
43
|
+
value: {
|
|
44
|
+
type: [Number, String],
|
|
45
|
+
default: 0
|
|
46
|
+
},
|
|
47
|
+
suffix: {
|
|
48
|
+
type: String,
|
|
49
|
+
default: "%"
|
|
50
|
+
},
|
|
51
|
+
valueFontSize: {
|
|
52
|
+
type: Number,
|
|
53
|
+
default: 21.3
|
|
54
|
+
},
|
|
55
|
+
suffixFontSize: {
|
|
56
|
+
type: Number,
|
|
57
|
+
default: 10.1
|
|
58
|
+
}
|
|
59
|
+
},
|
|
60
|
+
setup(e) {
|
|
61
|
+
const o = e;
|
|
62
|
+
p(() => `0 0 ${o.width} ${o.height}`);
|
|
63
|
+
const u = p(() => ({
|
|
64
|
+
"--width": `${o.width}px`,
|
|
65
|
+
"--height": `${o.height}px`,
|
|
66
|
+
"--value-font-size": `${o.valueFontSize}px`,
|
|
67
|
+
"--suffix-font-size": `${o.suffixFontSize}px`,
|
|
68
|
+
"--color": o.textColor
|
|
69
|
+
})), r = `linear-gradient-1-${Date.now()}`, n = `linear-gradient-2-${Date.now()}`, a = `linear-gradient-3-${Date.now()}`;
|
|
70
|
+
return (B, G) => (t(), i("div", {
|
|
71
|
+
class: "circle",
|
|
72
|
+
style: c(u.value)
|
|
73
|
+
}, [
|
|
74
|
+
l("div", x, [
|
|
75
|
+
l("span", g, s(e.value), 1),
|
|
76
|
+
e.suffix ? (t(), i("span", y, s(e.suffix), 1)) : f("", !0)
|
|
77
|
+
]),
|
|
78
|
+
(t(), i("svg", m, [
|
|
79
|
+
l("g", S, [
|
|
80
|
+
l("path", {
|
|
81
|
+
"fill-rule": "evenodd",
|
|
82
|
+
"clip-rule": "evenodd",
|
|
83
|
+
d: "M49.3904 89.2114C71.383 89.2114 89.2114 71.383 89.2114 49.3904C89.2114 27.3979 71.383 9.5694 49.3904 9.5694C27.3979 9.5694 9.5694 27.3979 9.5694 49.3904C9.5694 71.383 27.3979 89.2114 49.3904 89.2114ZM49.3904 98.7808C76.668 98.7808 98.7808 76.668 98.7808 49.3904C98.7808 22.1128 76.668 0 49.3904 0C22.1128 0 0 22.1128 0 49.3904C0 76.668 22.1128 98.7808 49.3904 98.7808Z",
|
|
84
|
+
fill: `url(#${r})`
|
|
85
|
+
}, null, 8, w),
|
|
86
|
+
$
|
|
87
|
+
]),
|
|
88
|
+
l("path", {
|
|
89
|
+
"fill-rule": "evenodd",
|
|
90
|
+
"clip-rule": "evenodd",
|
|
91
|
+
d: "M49.0829 92.1143C72.8485 92.1143 92.1143 72.8485 92.1143 49.0829C92.1143 25.3173 72.8485 6.05151 49.0829 6.05151C25.3173 6.05151 6.05151 25.3173 6.05151 49.0829C6.05151 72.8485 25.3173 92.1143 49.0829 92.1143ZM49.0829 95.6951C74.8261 95.6951 95.6951 74.8261 95.6951 49.0829C95.6951 23.3397 74.8261 2.4707 49.0829 2.4707C23.3397 2.4707 2.4707 23.3397 2.4707 49.0829C2.4707 74.8261 23.3397 95.6951 49.0829 95.6951Z",
|
|
92
|
+
fill: `url(#${n})`
|
|
93
|
+
}, null, 8, M),
|
|
94
|
+
Z,
|
|
95
|
+
l("path", {
|
|
96
|
+
"fill-rule": "evenodd",
|
|
97
|
+
"clip-rule": "evenodd",
|
|
98
|
+
d: "M49.0829 92.1143C72.8485 92.1143 92.1143 72.8485 92.1143 49.0829C92.1143 25.3173 72.8485 6.05151 49.0829 6.05151C25.3173 6.05151 6.05151 25.3173 6.05151 49.0829C6.05151 72.8485 25.3173 92.1143 49.0829 92.1143ZM49.0829 95.6951C74.8261 95.6951 95.6951 74.8261 95.6951 49.0829C95.6951 23.3397 74.8261 2.4707 49.0829 2.4707C23.3397 2.4707 2.4707 23.3397 2.4707 49.0829C2.4707 74.8261 23.3397 95.6951 49.0829 95.6951Z",
|
|
99
|
+
fill: `url(#${a})`
|
|
100
|
+
}, null, 8, b),
|
|
101
|
+
l("defs", null, [
|
|
102
|
+
l("linearGradient", {
|
|
103
|
+
id: r,
|
|
104
|
+
x1: "49.3904",
|
|
105
|
+
y1: "0",
|
|
106
|
+
x2: "49.3904",
|
|
107
|
+
y2: "98.7808",
|
|
108
|
+
gradientUnits: "userSpaceOnUse"
|
|
109
|
+
}, [
|
|
110
|
+
l("stop", { "stop-color": e.color }, null, 8, z),
|
|
111
|
+
l("stop", {
|
|
112
|
+
offset: "1",
|
|
113
|
+
"stop-color": e.color
|
|
114
|
+
}, null, 8, N)
|
|
115
|
+
]),
|
|
116
|
+
l("linearGradient", {
|
|
117
|
+
id: n,
|
|
118
|
+
x1: "49.0829",
|
|
119
|
+
y1: "2.4707",
|
|
120
|
+
x2: "49.0829",
|
|
121
|
+
y2: "95.6951",
|
|
122
|
+
gradientUnits: "userSpaceOnUse"
|
|
123
|
+
}, [
|
|
124
|
+
l("stop", { "stop-color": e.color }, null, 8, U),
|
|
125
|
+
l("stop", {
|
|
126
|
+
offset: "1",
|
|
127
|
+
"stop-color": e.color
|
|
128
|
+
}, null, 8, k)
|
|
129
|
+
]),
|
|
130
|
+
l("linearGradient", {
|
|
131
|
+
id: a,
|
|
132
|
+
x1: "49.0829",
|
|
133
|
+
y1: "2.4707",
|
|
134
|
+
x2: "49.0829",
|
|
135
|
+
y2: "95.6951",
|
|
136
|
+
gradientUnits: "userSpaceOnUse"
|
|
137
|
+
}, [
|
|
138
|
+
l("stop", { "stop-color": e.color }, null, 8, D),
|
|
139
|
+
l("stop", {
|
|
140
|
+
offset: "1",
|
|
141
|
+
"stop-color": e.color
|
|
142
|
+
}, null, 8, F)
|
|
143
|
+
])
|
|
144
|
+
])
|
|
145
|
+
]))
|
|
146
|
+
], 4));
|
|
147
|
+
}
|
|
148
|
+
}, O = /* @__PURE__ */ v(_, [["__scopeId", "data-v-22c8adc8"]]);
|
|
149
|
+
export {
|
|
150
|
+
O as G
|
|
151
|
+
};
|