@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,8 +1,8 @@
|
|
|
1
|
-
import { computed as i, openBlock as s, createElementBlock as h, createVNode as w, normalizeProps as
|
|
2
|
-
import {
|
|
3
|
-
import { h as S, z as U, P as O, E, I, O as P } from "./misc-
|
|
1
|
+
import { computed as i, openBlock as s, createElementBlock as h, createVNode as w, normalizeProps as g, guardReactiveProps as y, withCtx as _, createElementVNode as l, createCommentVNode as x, unref as c, pushScopeId as b, popScopeId as D } from "vue";
|
|
2
|
+
import { o as H } from "./CardBaseAllIndividual-CNB7K2M0-nej9DJ8x.js";
|
|
3
|
+
import { h as S, z as U, P as O, E, I, O as P } from "./misc-BbzSgyER-2p2XKW1m.js";
|
|
4
4
|
import { y as T } from "./TimeSvg-Cxp_p6OH-cZfI6hDf.js";
|
|
5
|
-
const
|
|
5
|
+
const e = (o) => (b("data-v-1b8192e1"), o = o(), D(), o), j = { class: "centers" }, B = { class: "centers__body" }, N = { class: "centers-svg" }, q = {
|
|
6
6
|
key: 0,
|
|
7
7
|
class: "chronometer-svg"
|
|
8
8
|
}, R = {
|
|
@@ -12,7 +12,7 @@ const t = (o) => (D("data-v-4465013e"), o = o(), H(), o), j = { class: "centers"
|
|
|
12
12
|
viewBox: "0 0 211 98",
|
|
13
13
|
fill: "none",
|
|
14
14
|
xmlns: "http://www.w3.org/2000/svg"
|
|
15
|
-
}, V = /* @__PURE__ */
|
|
15
|
+
}, V = /* @__PURE__ */ e(() => /* @__PURE__ */ l("path", {
|
|
16
16
|
opacity: ".8",
|
|
17
17
|
fill: "#00D9F5",
|
|
18
18
|
d: "M157.496 0h52.75v96.457h-52.75zM0 0h52.75v96.457H0z"
|
|
@@ -24,7 +24,7 @@ const t = (o) => (D("data-v-4465013e"), o = o(), H(), o), j = { class: "centers"
|
|
|
24
24
|
y: "40",
|
|
25
25
|
width: "87",
|
|
26
26
|
height: "13"
|
|
27
|
-
}, Y = ["fill"], l1 = { mask: "url(#57znalo6ra)" }, a1 = ["stroke"],
|
|
27
|
+
}, Y = ["fill"], l1 = { mask: "url(#57znalo6ra)" }, a1 = ["stroke"], t1 = ["stroke"], e1 = /* @__PURE__ */ e(() => /* @__PURE__ */ l("mask", {
|
|
28
28
|
id: "0gl8404mhb",
|
|
29
29
|
style: { "mask-type": "alpha" },
|
|
30
30
|
maskUnits: "userSpaceOnUse",
|
|
@@ -37,7 +37,7 @@ const t = (o) => (D("data-v-4465013e"), o = o(), H(), o), j = { class: "centers"
|
|
|
37
37
|
fill: "#D9D9D9",
|
|
38
38
|
d: "M204.701 0h6.298v6.298h-6.298z"
|
|
39
39
|
})
|
|
40
|
-
], -1)), o1 = { mask: "url(#0gl8404mhb)" }, r1 = ["stroke"], i1 = /* @__PURE__ */
|
|
40
|
+
], -1)), o1 = { mask: "url(#0gl8404mhb)" }, r1 = ["stroke"], i1 = /* @__PURE__ */ e(() => /* @__PURE__ */ l("mask", {
|
|
41
41
|
id: "jtif3d6akc",
|
|
42
42
|
style: { "mask-type": "alpha" },
|
|
43
43
|
maskUnits: "userSpaceOnUse",
|
|
@@ -58,11 +58,11 @@ const t = (o) => (D("data-v-4465013e"), o = o(), H(), o), j = { class: "centers"
|
|
|
58
58
|
viewBox: "0 0 211 98",
|
|
59
59
|
fill: "none",
|
|
60
60
|
xmlns: "http://www.w3.org/2000/svg"
|
|
61
|
-
}, n1 = /* @__PURE__ */
|
|
61
|
+
}, n1 = /* @__PURE__ */ e(() => /* @__PURE__ */ l("path", {
|
|
62
62
|
opacity: ".8",
|
|
63
63
|
fill: "#00D9F5",
|
|
64
64
|
d: "M0 0h52.75v96.457H0z"
|
|
65
|
-
}, null, -1)), c1 = ["stroke"], z1 = ["stroke"], k1 = ["stroke"], u1 = ["stroke"], p1 = ["stroke"], v1 = ["stroke"], f1 = ["stroke"], w1 = ["stroke"],
|
|
65
|
+
}, null, -1)), c1 = ["stroke"], z1 = ["stroke"], k1 = ["stroke"], u1 = ["stroke"], p1 = ["stroke"], v1 = ["stroke"], f1 = ["stroke"], w1 = ["stroke"], g1 = /* @__PURE__ */ e(() => /* @__PURE__ */ l("mask", {
|
|
66
66
|
id: "jpw45nl9ha",
|
|
67
67
|
style: { "mask-type": "alpha" },
|
|
68
68
|
maskUnits: "userSpaceOnUse",
|
|
@@ -76,7 +76,7 @@ const t = (o) => (D("data-v-4465013e"), o = o(), H(), o), j = { class: "centers"
|
|
|
76
76
|
fill: "#D9D9D9",
|
|
77
77
|
d: "M0 0h85.029v12.68H0z"
|
|
78
78
|
})
|
|
79
|
-
], -1)),
|
|
79
|
+
], -1)), y1 = { mask: "url(#jpw45nl9ha)" }, x1 = ["stroke"], C1 = ["stroke"], M1 = /* @__PURE__ */ e(() => /* @__PURE__ */ l("mask", {
|
|
80
80
|
id: "0nm06crqqb",
|
|
81
81
|
style: { "mask-type": "alpha" },
|
|
82
82
|
maskUnits: "userSpaceOnUse",
|
|
@@ -89,7 +89,7 @@ const t = (o) => (D("data-v-4465013e"), o = o(), H(), o), j = { class: "centers"
|
|
|
89
89
|
fill: "#D9D9D9",
|
|
90
90
|
d: "M204.701 0h6.298v6.298h-6.298z"
|
|
91
91
|
})
|
|
92
|
-
], -1)), L1 = { mask: "url(#0nm06crqqb)" }, F1 = ["stroke"], _1 = /* @__PURE__ */
|
|
92
|
+
], -1)), L1 = { mask: "url(#0nm06crqqb)" }, F1 = ["stroke"], _1 = /* @__PURE__ */ e(() => /* @__PURE__ */ l("mask", {
|
|
93
93
|
id: "m80u8fvcfc",
|
|
94
94
|
style: { "mask-type": "alpha" },
|
|
95
95
|
maskUnits: "userSpaceOnUse",
|
|
@@ -103,18 +103,18 @@ const t = (o) => (D("data-v-4465013e"), o = o(), H(), o), j = { class: "centers"
|
|
|
103
103
|
fill: "#D9D9D9",
|
|
104
104
|
d: "M0 0h6.298v6.298H0z"
|
|
105
105
|
})
|
|
106
|
-
], -1)),
|
|
106
|
+
], -1)), b1 = { mask: "url(#m80u8fvcfc)" }, D1 = ["stroke"], H1 = ["fill"], S1 = {
|
|
107
107
|
key: 3,
|
|
108
108
|
width: "211",
|
|
109
109
|
height: "98",
|
|
110
110
|
viewBox: "0 0 211 98",
|
|
111
111
|
fill: "none",
|
|
112
112
|
xmlns: "http://www.w3.org/2000/svg"
|
|
113
|
-
}, U1 = /* @__PURE__ */
|
|
113
|
+
}, U1 = /* @__PURE__ */ e(() => /* @__PURE__ */ l("path", {
|
|
114
114
|
opacity: ".8",
|
|
115
115
|
fill: "#00D9F5",
|
|
116
116
|
d: "M157.496 0h52.75v96.457h-52.75z"
|
|
117
|
-
}, null, -1)), O1 = ["stroke"], E1 = ["stroke"], I1 = ["stroke"], P1 = ["stroke"], T1 = ["stroke"], j1 = ["stroke"], B1 = ["stroke"], N1 = ["stroke"], q1 = /* @__PURE__ */
|
|
117
|
+
}, null, -1)), O1 = ["stroke"], E1 = ["stroke"], I1 = ["stroke"], P1 = ["stroke"], T1 = ["stroke"], j1 = ["stroke"], B1 = ["stroke"], N1 = ["stroke"], q1 = /* @__PURE__ */ e(() => /* @__PURE__ */ l("mask", {
|
|
118
118
|
id: "drw01xg3sa",
|
|
119
119
|
style: { "mask-type": "alpha" },
|
|
120
120
|
maskUnits: "userSpaceOnUse",
|
|
@@ -128,7 +128,7 @@ const t = (o) => (D("data-v-4465013e"), o = o(), H(), o), j = { class: "centers"
|
|
|
128
128
|
fill: "#D9D9D9",
|
|
129
129
|
d: "M0 0h85.029v12.68H0z"
|
|
130
130
|
})
|
|
131
|
-
], -1)), R1 = { mask: "url(#drw01xg3sa)" }, V1 = ["stroke"], A1 = ["stroke"], $1 = /* @__PURE__ */
|
|
131
|
+
], -1)), R1 = { mask: "url(#drw01xg3sa)" }, V1 = ["stroke"], A1 = ["stroke"], $1 = /* @__PURE__ */ e(() => /* @__PURE__ */ l("mask", {
|
|
132
132
|
id: "xwsxl17tlb",
|
|
133
133
|
style: { "mask-type": "alpha" },
|
|
134
134
|
maskUnits: "userSpaceOnUse",
|
|
@@ -141,7 +141,7 @@ const t = (o) => (D("data-v-4465013e"), o = o(), H(), o), j = { class: "centers"
|
|
|
141
141
|
fill: "#D9D9D9",
|
|
142
142
|
d: "M204.701 0h6.298v6.298h-6.298z"
|
|
143
143
|
})
|
|
144
|
-
], -1)), Z1 = { mask: "url(#xwsxl17tlb)" }, G1 = ["stroke"], J1 = /* @__PURE__ */
|
|
144
|
+
], -1)), Z1 = { mask: "url(#xwsxl17tlb)" }, G1 = ["stroke"], J1 = /* @__PURE__ */ e(() => /* @__PURE__ */ l("mask", {
|
|
145
145
|
id: "du5p5tn5lc",
|
|
146
146
|
style: { "mask-type": "alpha" },
|
|
147
147
|
maskUnits: "userSpaceOnUse",
|
|
@@ -199,50 +199,51 @@ const t = (o) => (D("data-v-4465013e"), o = o(), H(), o), j = { class: "centers"
|
|
|
199
199
|
"38-i",
|
|
200
200
|
"45-i",
|
|
201
201
|
"13-e"
|
|
202
|
-
]),
|
|
203
|
-
var d, n, z, k, u, p, v
|
|
202
|
+
]), t = o, r = i(() => t.data.conditions && t.data.conditions.matchlapse ? t.data.conditions.matchlapse : null), F = i(() => {
|
|
203
|
+
var d, n, z, k, u, p, v;
|
|
204
|
+
const f = t.data.footer.show_percentage;
|
|
204
205
|
return {
|
|
205
|
-
height:
|
|
206
|
-
width:
|
|
206
|
+
height: t.height,
|
|
207
|
+
width: t.width,
|
|
207
208
|
footerHeight: "200px",
|
|
208
|
-
playerPhotoUrl: U(
|
|
209
|
-
teamLogoUrl: O(
|
|
210
|
-
cardColor:
|
|
211
|
-
backgroundImageSrc: E((k = (z = (n = (d =
|
|
209
|
+
playerPhotoUrl: U(t.data.player_id || ""),
|
|
210
|
+
teamLogoUrl: O(t.data.team_id || ""),
|
|
211
|
+
cardColor: t.data.thumbnails.colors.background_color || "#000000",
|
|
212
|
+
backgroundImageSrc: E((k = (z = (n = (d = t.data) == null ? void 0 : d.thumbnails) == null ? void 0 : n.images) == null ? void 0 : z.background_player_in_action) != null && k[0] ? t.data.thumbnails.images.background_player_in_action[0] : (v = (p = (u = t.data) == null ? void 0 : u.thumbnails) == null ? void 0 : p.images) != null && v.background_team ? t.data.thumbnails.images.background_team : ""),
|
|
212
213
|
footerHeaderData: {
|
|
213
214
|
title: "DE LOS CENTROS",
|
|
214
215
|
subtitle: "REALIZADOS",
|
|
215
|
-
total:
|
|
216
|
-
isTotalLeft:
|
|
217
|
-
isTotalPercentage:
|
|
218
|
-
textColor: (
|
|
216
|
+
total: f ? t.data.percentage : t.data.total,
|
|
217
|
+
isTotalLeft: t.data.footer.percentage_position === "left" || t.data.footer.total_position === "left",
|
|
218
|
+
isTotalPercentage: f,
|
|
219
|
+
textColor: (t.data.thumbnails.colors.font_color_header || "#FFFFFF").trim()
|
|
219
220
|
},
|
|
220
221
|
footerBodyData: {
|
|
221
|
-
description: I(P({ data:
|
|
222
|
-
textColor: (
|
|
223
|
-
totalTextColor: (
|
|
224
|
-
totalCircleColor: (
|
|
222
|
+
description: I(P({ data: t.data, descriptionType: t.descriptionType })),
|
|
223
|
+
textColor: (t.data.thumbnails.colors.font_color_description || "#FFFFFF").trim(),
|
|
224
|
+
totalTextColor: (t.data.thumbnails.colors.font_color_stats || "#FFFFFF").trim(),
|
|
225
|
+
totalCircleColor: (t.data.thumbnails.colors.data_color || "#000000").trim()
|
|
225
226
|
}
|
|
226
227
|
};
|
|
227
|
-
}), m = i(() =>
|
|
228
|
-
fieldLineColor: (
|
|
229
|
-
areaColor: (
|
|
228
|
+
}), m = i(() => t.data.id), a = i(() => ({
|
|
229
|
+
fieldLineColor: (t.data.thumbnails.colors.graphic_color || "#FFFFFF").trim(),
|
|
230
|
+
areaColor: (t.data.thumbnails.colors.graphic_color_2 || "#FFFFFF").trim(),
|
|
230
231
|
timeSvgProps: {
|
|
231
|
-
lineColor:
|
|
232
|
-
fillColor:
|
|
233
|
-
conditions:
|
|
232
|
+
lineColor: t.data.thumbnails.colors.icon_color || "#FFFFFF",
|
|
233
|
+
fillColor: t.data.thumbnails.colors.background_icon_color || "#000000",
|
|
234
|
+
conditions: t.data.conditions
|
|
234
235
|
}
|
|
235
236
|
}));
|
|
236
237
|
return i(() => ({
|
|
237
238
|
"--time-svg-top": r.value && r.value === 1 ? "-12px" : "unset",
|
|
238
239
|
"--time-svg-bottom": r.value && r.value === 2 ? "12px" : "unset"
|
|
239
240
|
})), (d, n) => (s(), h("div", j, [
|
|
240
|
-
w(
|
|
241
|
+
w(H, g(y(F.value)), {
|
|
241
242
|
body: _(() => [
|
|
242
243
|
l("div", B, [
|
|
243
244
|
l("div", N, [
|
|
244
245
|
r.value ? (s(), h("div", q, [
|
|
245
|
-
w(T, y(
|
|
246
|
+
w(T, g(y(a.value.timeSvgProps)), null, 16)
|
|
246
247
|
])) : x("", !0),
|
|
247
248
|
c(L).has(m.value) ? (s(), h("svg", R, [
|
|
248
249
|
V,
|
|
@@ -313,8 +314,8 @@ const t = (o) => (D("data-v-4465013e"), o = o(), H(), o), j = { class: "centers"
|
|
|
313
314
|
stroke: a.value.fieldLineColor,
|
|
314
315
|
"stroke-width": "1.102",
|
|
315
316
|
d: "M.552.551h209.897v96.524H.552z"
|
|
316
|
-
}, null, 8,
|
|
317
|
-
|
|
317
|
+
}, null, 8, t1),
|
|
318
|
+
e1,
|
|
318
319
|
l("g", o1, [
|
|
319
320
|
l("rect", {
|
|
320
321
|
x: "205.095",
|
|
@@ -390,8 +391,8 @@ const t = (o) => (D("data-v-4465013e"), o = o(), H(), o), j = { class: "centers"
|
|
|
390
391
|
"stroke-width": "1.102",
|
|
391
392
|
d: "M82.182.551h46.634v20.528H82.182z"
|
|
392
393
|
}, null, 8, w1),
|
|
393
|
-
|
|
394
|
-
l("g",
|
|
394
|
+
g1,
|
|
395
|
+
l("g", y1, [
|
|
395
396
|
l("rect", {
|
|
396
397
|
x: "82.182",
|
|
397
398
|
y: "2.789",
|
|
@@ -420,7 +421,7 @@ const t = (o) => (D("data-v-4465013e"), o = o(), H(), o), j = { class: "centers"
|
|
|
420
421
|
}, null, 8, F1)
|
|
421
422
|
]),
|
|
422
423
|
_1,
|
|
423
|
-
l("g",
|
|
424
|
+
l("g", b1, [
|
|
424
425
|
l("rect", {
|
|
425
426
|
x: "-.394",
|
|
426
427
|
y: ".394",
|
|
@@ -430,12 +431,12 @@ const t = (o) => (D("data-v-4465013e"), o = o(), H(), o), j = { class: "centers"
|
|
|
430
431
|
transform: "matrix(-1 0 0 1 5.512 -6.298)",
|
|
431
432
|
stroke: a.value.fieldLineColor,
|
|
432
433
|
"stroke-width": ".787"
|
|
433
|
-
}, null, 8,
|
|
434
|
+
}, null, 8, D1)
|
|
434
435
|
]),
|
|
435
436
|
l("path", {
|
|
436
437
|
d: "m93.443 13.004-7.908 4.68-.098-9.188 8.006 4.508zm-67.375 71.62a4.244 4.244 0 1 1-8.488 0 4.244 4.244 0 0 1 8.488 0zM88.806 13.95a71.285 71.285 0 0 0-3.077.265l-.172-1.582a73.004 73.004 0 0 1 3.146-.272l.103 1.588zm-6.14.665a70.627 70.627 0 0 0-3.046.533l-.309-1.561a72.064 72.064 0 0 1 3.115-.546l.24 1.574zm-6.064 1.2c-1.004.244-1.999.51-2.985.798l-.445-1.528a71.905 71.905 0 0 1 3.053-.817l.377 1.546zM70.67 17.54c-.977.332-1.945.684-2.903 1.057l-.577-1.483c.98-.381 1.97-.742 2.969-1.081l.511 1.507zm-5.757 2.24c-.944.417-1.878.853-2.8 1.308l-.705-1.426a72.162 72.162 0 0 1 2.863-1.338l.642 1.457zm-5.539 2.737a70.596 70.596 0 0 0-2.675 1.548l-.827-1.36a72.378 72.378 0 0 1 2.735-1.582l.767 1.394zm-5.28 3.21c-.857.574-1.7 1.166-2.53 1.776l-.942-1.283a72.528 72.528 0 0 1 2.587-1.815l.885 1.323zm-4.98 3.659a71.194 71.194 0 0 0-2.367 1.988l-1.05-1.197a72.925 72.925 0 0 1 2.42-2.032l.996 1.24zm-4.645 4.076a71.475 71.475 0 0 0-2.185 2.185l-1.15-1.1a72.74 72.74 0 0 1 2.234-2.234l1.101 1.15zm-4.274 4.463a71.314 71.314 0 0 0-1.988 2.367l-1.24-.997a72.681 72.681 0 0 1 2.032-2.42l1.196 1.05zm-3.87 4.817c-.61.83-1.202 1.674-1.776 2.53l-1.322-.885a72.528 72.528 0 0 1 1.815-2.587l1.282.942zm-3.439 5.136c-.534.879-1.05 1.77-1.547 2.675l-1.395-.767a72.51 72.51 0 0 1 1.583-2.735l1.36.827zm-2.976 5.414a70.436 70.436 0 0 0-1.308 2.8l-1.456-.642a72.08 72.08 0 0 1 1.337-2.863l1.427.705zm-2.491 5.654a70.162 70.162 0 0 0-1.057 2.903l-1.507-.512c.339-1 .7-1.99 1.08-2.969l1.484.578zm-1.986 5.85a70.271 70.271 0 0 0-.798 2.986l-1.546-.377c.25-1.027.523-2.045.816-3.054l1.528.445zm-1.464 6.004a70.654 70.654 0 0 0-.534 3.045l-1.573-.24a72.19 72.19 0 0 1 .546-3.114l1.56.309zm-.933 6.108a71.28 71.28 0 0 0-.266 3.078l-1.588-.103c.068-1.055.159-2.104.272-3.146l1.582.171zm-.398 6.164a72.03 72.03 0 0 0-.017 1.55h-1.592c0-.529.006-1.057.017-1.584l1.591.034zm70.806-70.069-7.908 4.68-.098-9.188 8.006 4.508zm-67.375 71.62a4.244 4.244 0 1 1-8.488 0 4.244 4.244 0 0 1 8.488 0zM88.806 13.95a71.285 71.285 0 0 0-3.077.265l-.172-1.582a73.004 73.004 0 0 1 3.146-.272l.103 1.588zm-6.14.665a70.627 70.627 0 0 0-3.046.533l-.309-1.561a72.064 72.064 0 0 1 3.115-.546l.24 1.574zm-6.064 1.2c-1.004.244-1.999.51-2.985.798l-.445-1.528a71.905 71.905 0 0 1 3.053-.817l.377 1.546zM70.67 17.54c-.977.332-1.945.684-2.903 1.057l-.577-1.483c.98-.381 1.97-.742 2.969-1.081l.511 1.507zm-5.757 2.24c-.944.417-1.878.853-2.8 1.308l-.705-1.426a72.162 72.162 0 0 1 2.863-1.338l.642 1.457zm-5.539 2.737a70.596 70.596 0 0 0-2.675 1.548l-.827-1.36a72.378 72.378 0 0 1 2.735-1.582l.767 1.394zm-5.28 3.21c-.857.574-1.7 1.166-2.53 1.776l-.942-1.283a72.528 72.528 0 0 1 2.587-1.815l.885 1.323zm-4.98 3.659a71.194 71.194 0 0 0-2.367 1.988l-1.05-1.197a72.925 72.925 0 0 1 2.42-2.032l.996 1.24zm-4.645 4.076a71.475 71.475 0 0 0-2.185 2.185l-1.15-1.1a72.74 72.74 0 0 1 2.234-2.234l1.101 1.15zm-4.274 4.463a71.314 71.314 0 0 0-1.988 2.367l-1.24-.997a72.681 72.681 0 0 1 2.032-2.42l1.196 1.05zm-3.87 4.817c-.61.83-1.202 1.674-1.776 2.53l-1.322-.885a72.528 72.528 0 0 1 1.815-2.587l1.282.942zm-3.439 5.136c-.534.879-1.05 1.77-1.547 2.675l-1.395-.767a72.51 72.51 0 0 1 1.583-2.735l1.36.827zm-2.976 5.414a70.436 70.436 0 0 0-1.308 2.8l-1.456-.642a72.08 72.08 0 0 1 1.337-2.863l1.427.705zm-2.491 5.654a70.162 70.162 0 0 0-1.057 2.903l-1.507-.512c.339-1 .7-1.99 1.08-2.969l1.484.578zm-1.986 5.85a70.271 70.271 0 0 0-.798 2.986l-1.546-.377c.25-1.027.523-2.045.816-3.054l1.528.445zm-1.464 6.004a70.654 70.654 0 0 0-.534 3.045l-1.573-.24a72.19 72.19 0 0 1 .546-3.114l1.56.309zm-.933 6.108a71.28 71.28 0 0 0-.266 3.078l-1.588-.103c.068-1.055.159-2.104.272-3.146l1.582.171zm-.398 6.164a72.03 72.03 0 0 0-.017 1.55h-1.592c0-.529.006-1.057.017-1.584l1.591.034z",
|
|
437
438
|
fill: a.value.fieldLineColor
|
|
438
|
-
}, null, 8,
|
|
439
|
+
}, null, 8, H1)
|
|
439
440
|
])) : c(M).has(m.value) ? (s(), h("svg", S1, [
|
|
440
441
|
U1,
|
|
441
442
|
l("path", {
|
|
@@ -537,7 +538,7 @@ const t = (o) => (D("data-v-4465013e"), o = o(), H(), o), j = { class: "centers"
|
|
|
537
538
|
}, 16)
|
|
538
539
|
]));
|
|
539
540
|
}
|
|
540
|
-
},
|
|
541
|
+
}, e0 = /* @__PURE__ */ S(X1, [["__scopeId", "data-v-1b8192e1"]]);
|
|
541
542
|
export {
|
|
542
|
-
|
|
543
|
+
e0 as default
|
|
543
544
|
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { computed as o, openBlock as
|
|
2
|
-
import {
|
|
3
|
-
import { h as
|
|
4
|
-
const
|
|
1
|
+
import { computed as o, openBlock as m, createElementBlock as b, normalizeStyle as p, createVNode as f, normalizeProps as v, guardReactiveProps as x, withCtx as w, createElementVNode as a, toDisplayString as i } from "vue";
|
|
2
|
+
import { o as k } from "./CardBaseAllIndividual-CNB7K2M0-nej9DJ8x.js";
|
|
3
|
+
import { h as P, z as S, P as z, E, I as N, O as T } from "./misc-BbzSgyER-2p2XKW1m.js";
|
|
4
|
+
const B = { class: "distance__body__title-sub" }, H = { class: "distance__body__title-sub__title" }, I = { class: "distance__body__title-sub__sub" }, O = { class: "distance__body__data" }, j = { class: "distance__body__data__total" }, D = {
|
|
5
5
|
width: "106",
|
|
6
6
|
height: "9",
|
|
7
7
|
viewBox: "0 0 106 9",
|
|
8
8
|
fill: "none",
|
|
9
9
|
xmlns: "http://www.w3.org/2000/svg"
|
|
10
|
-
},
|
|
10
|
+
}, M = ["fill"], $ = {
|
|
11
11
|
__name: "CardIndividualDistance",
|
|
12
12
|
props: {
|
|
13
13
|
height: {
|
|
@@ -27,60 +27,60 @@ const I = { class: "distance__body__title-sub" }, j = { class: "distance__body__
|
|
|
27
27
|
default: 4
|
|
28
28
|
}
|
|
29
29
|
},
|
|
30
|
-
setup(
|
|
31
|
-
const t =
|
|
30
|
+
setup(h) {
|
|
31
|
+
const t = h, F = /* @__PURE__ */ new Set([
|
|
32
32
|
"77-i",
|
|
33
33
|
"36-i"
|
|
34
|
-
]),
|
|
35
|
-
var e, l,
|
|
34
|
+
]), g = o(() => {
|
|
35
|
+
var e, l, n, s, c, u, _;
|
|
36
36
|
return {
|
|
37
37
|
height: t.height,
|
|
38
38
|
width: t.width,
|
|
39
39
|
footerHeight: "113px",
|
|
40
40
|
playerPhotoPositionTop: "24px",
|
|
41
|
-
playerPhotoUrl:
|
|
42
|
-
teamLogoUrl:
|
|
41
|
+
playerPhotoUrl: S(t.data.player_id || ""),
|
|
42
|
+
teamLogoUrl: z(t.data.team_id || ""),
|
|
43
43
|
cardColor: (t.data.thumbnails.colors.background_color || "#000000").trim(),
|
|
44
|
-
backgroundImageSrc:
|
|
44
|
+
backgroundImageSrc: E((s = (n = (l = (e = t.data) == null ? void 0 : e.thumbnails) == null ? void 0 : l.images) == null ? void 0 : n.background_player_in_action) != null && s[0] ? t.data.thumbnails.images.background_player_in_action[0] : (_ = (u = (c = t.data) == null ? void 0 : c.thumbnails) == null ? void 0 : u.images) != null && _.background_tean ? t.data.thumbnails.images.background_team : ""),
|
|
45
45
|
footerBodyData: {
|
|
46
|
-
description: T(
|
|
46
|
+
description: N(T({ data: t.data, descriptionType: t.descriptionType })),
|
|
47
47
|
textColor: (t.data.thumbnails.colors.font_color_description || "#FFFFFF").trim()
|
|
48
48
|
}
|
|
49
49
|
};
|
|
50
|
-
}),
|
|
50
|
+
}), y = o(() => ({
|
|
51
51
|
iconColor: (t.data.thumbnails.colors.icon_color || "#FFFFFF").trim(),
|
|
52
52
|
total: t.data.total,
|
|
53
53
|
totalCircleColor: (t.data.thumbnails.colors.data_color || "#cbee6b").trim(),
|
|
54
54
|
totalTextColor: (t.data.thumbnails.colors.font_color_stats || "#FFFFFF").trim()
|
|
55
55
|
})), d = o(() => ({
|
|
56
56
|
title: "mayor distancia",
|
|
57
|
-
subtitle:
|
|
58
|
-
})),
|
|
57
|
+
subtitle: F.has(C.value) ? "este torneo" : "última jornada"
|
|
58
|
+
})), C = o(() => t.data.id), r = o(() => ({
|
|
59
59
|
"--text-color": (t.data.thumbnails.colors.font_color_stats || "#FFFFFF").trim(),
|
|
60
60
|
"--data-color": (t.data.thumbnails.colors.background_color || "#000000").trim(),
|
|
61
61
|
"--title-color": (t.data.thumbnails.colors.font_color_header || "#FFFFFF").trim()
|
|
62
62
|
}));
|
|
63
|
-
return (e, l) => (
|
|
63
|
+
return (e, l) => (m(), b("div", {
|
|
64
64
|
class: "distance",
|
|
65
|
-
style:
|
|
65
|
+
style: p(r.value)
|
|
66
66
|
}, [
|
|
67
|
-
|
|
68
|
-
body:
|
|
67
|
+
f(k, v(x(g.value)), {
|
|
68
|
+
body: w(() => [
|
|
69
69
|
a("div", {
|
|
70
70
|
class: "distance__body",
|
|
71
|
-
style:
|
|
71
|
+
style: p(r.value)
|
|
72
72
|
}, [
|
|
73
|
-
a("div",
|
|
74
|
-
a("div",
|
|
75
|
-
a("div",
|
|
73
|
+
a("div", B, [
|
|
74
|
+
a("div", H, i(d.value.title), 1),
|
|
75
|
+
a("div", I, i(d.value.subtitle), 1)
|
|
76
76
|
]),
|
|
77
|
-
a("div",
|
|
78
|
-
a("div",
|
|
79
|
-
(
|
|
77
|
+
a("div", O, [
|
|
78
|
+
a("div", j, i(Number(t.data.total).toFixed(2)) + " km ", 1),
|
|
79
|
+
(m(), b("svg", D, [
|
|
80
80
|
a("path", {
|
|
81
81
|
d: "M101.016 0.0016293C99.1115 0.0016293 97.4165 1.20163 96.7865 3.00163H8.74649C7.92149 0.661629 5.34149 -0.56837 3.01649 0.25663C0.661489 1.08163 -0.56851 3.66163 0.25649 6.00163C1.09649 8.34163 3.66149 9.57163 6.01649 8.74663C7.29149 8.29663 8.26649 7.27663 8.74649 6.00163H96.8015C97.6265 8.34163 100.206 9.57163 102.516 8.74663C104.886 7.92163 106.116 5.34163 105.291 3.00163C104.646 1.20163 102.936 0.0016293 101.016 0.0016293ZM101.016 6.75163C100.42 6.75163 99.8475 6.51457 99.4255 6.09262C99.0035 5.67066 98.7665 5.09837 98.7665 4.50163C98.7665 3.90489 99.0035 3.3326 99.4255 2.91064C99.8475 2.48868 100.42 2.25163 101.016 2.25163C101.613 2.25163 102.186 2.48868 102.607 2.91064C103.029 3.3326 103.266 3.90489 103.266 4.50163C103.266 5.09837 103.029 5.67066 102.607 6.09262C102.186 6.51457 101.613 6.75163 101.016 6.75163Z",
|
|
82
|
-
fill:
|
|
83
|
-
}, null, 8,
|
|
82
|
+
fill: y.value.iconColor
|
|
83
|
+
}, null, 8, M)
|
|
84
84
|
]))
|
|
85
85
|
])
|
|
86
86
|
], 4)
|
|
@@ -89,7 +89,7 @@ const I = { class: "distance__body__title-sub" }, j = { class: "distance__body__
|
|
|
89
89
|
}, 16)
|
|
90
90
|
], 4));
|
|
91
91
|
}
|
|
92
|
-
},
|
|
92
|
+
}, Z = /* @__PURE__ */ P($, [["__scopeId", "data-v-335107b3"]]);
|
|
93
93
|
export {
|
|
94
|
-
|
|
94
|
+
Z as default
|
|
95
95
|
};
|
package/dist/{CardIndividualFouls-BqWT8Bzx-D0EDbSJl.js → CardIndividualFouls-DF0AvPys-C61mrpb7.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { computed as s, openBlock as i, createElementBlock as a, normalizeStyle as
|
|
2
|
-
import {
|
|
3
|
-
import { h as
|
|
4
|
-
const r = (l) => (
|
|
1
|
+
import { computed as s, openBlock as i, createElementBlock as a, normalizeStyle as x, createVNode as F, normalizeProps as M, guardReactiveProps as b, withCtx as B, createElementVNode as e, unref as k, createCommentVNode as S, pushScopeId as D, popScopeId as I } from "vue";
|
|
2
|
+
import { o as U } from "./CardBaseAllIndividual-CNB7K2M0-nej9DJ8x.js";
|
|
3
|
+
import { h as V, z as q, P as G, E as m, I as H, O as j } from "./misc-BbzSgyER-2p2XKW1m.js";
|
|
4
|
+
const r = (l) => (D("data-v-3c09b094"), l = l(), I(), l), O = { class: "fouls__body" }, A = /* @__PURE__ */ r(() => /* @__PURE__ */ e("div", { class: "fouls__body__title" }, " FALTAS RECIBIDAS ", -1)), T = { class: "fouls-svg" }, Z = { class: "foul-svg" }, E = {
|
|
5
5
|
width: "42",
|
|
6
6
|
height: "42",
|
|
7
7
|
viewBox: "0 0 42 42",
|
|
@@ -76,7 +76,7 @@ const r = (l) => (S("data-v-1b2a4e72"), l = l(), D(), l), O = { class: "fouls__b
|
|
|
76
76
|
viewBox: "0 0 212 137",
|
|
77
77
|
fill: "none",
|
|
78
78
|
xmlns: "http://www.w3.org/2000/svg"
|
|
79
|
-
},
|
|
79
|
+
}, g1 = /* @__PURE__ */ r(() => /* @__PURE__ */ e("rect", {
|
|
80
80
|
opacity: "0.2",
|
|
81
81
|
x: "2",
|
|
82
82
|
y: "136.084",
|
|
@@ -84,7 +84,7 @@ const r = (l) => (S("data-v-1b2a4e72"), l = l(), D(), l), O = { class: "fouls__b
|
|
|
84
84
|
height: "104",
|
|
85
85
|
transform: "rotate(-90 2 136.084)",
|
|
86
86
|
fill: "black"
|
|
87
|
-
}, null, -1)),
|
|
87
|
+
}, null, -1)), _1 = ["fill"], x1 = /* @__PURE__ */ r(() => /* @__PURE__ */ e("rect", {
|
|
88
88
|
x: "211.787",
|
|
89
89
|
y: "136.084",
|
|
90
90
|
width: "211.787",
|
|
@@ -198,35 +198,36 @@ const r = (l) => (S("data-v-1b2a4e72"), l = l(), D(), l), O = { class: "fouls__b
|
|
|
198
198
|
}
|
|
199
199
|
},
|
|
200
200
|
setup(l) {
|
|
201
|
-
const o = l,
|
|
201
|
+
const o = l, y = /* @__PURE__ */ new Set([
|
|
202
202
|
"49-i",
|
|
203
203
|
"52-i",
|
|
204
204
|
"55-i",
|
|
205
205
|
"21-e"
|
|
206
|
-
]),
|
|
206
|
+
]), v = /* @__PURE__ */ new Set([
|
|
207
207
|
"50-i",
|
|
208
208
|
"53-i",
|
|
209
209
|
"56-i",
|
|
210
210
|
"22-e"
|
|
211
|
-
]),
|
|
211
|
+
]), w = /* @__PURE__ */ new Set([
|
|
212
212
|
"48-i",
|
|
213
213
|
"51-i",
|
|
214
214
|
"54-i",
|
|
215
215
|
"20-e"
|
|
216
|
-
]),
|
|
217
|
-
var d, u, h, c, f, p, C
|
|
216
|
+
]), g = s(() => {
|
|
217
|
+
var d, u, h, c, f, p, C;
|
|
218
|
+
const L = o.data.footer.show_percentage;
|
|
218
219
|
return {
|
|
219
220
|
height: o.height,
|
|
220
221
|
width: o.width,
|
|
221
222
|
footerHeight: "137px",
|
|
222
|
-
playerPhotoUrl:
|
|
223
|
-
teamLogoUrl:
|
|
223
|
+
playerPhotoUrl: q(o.data.player_id || ""),
|
|
224
|
+
teamLogoUrl: G(o.data.team_id || ""),
|
|
224
225
|
cardColor: (o.data.thumbnails.colors.background_color || "#000000").trim(),
|
|
225
|
-
backgroundImageSrc:
|
|
226
|
+
backgroundImageSrc: m((c = (h = (u = (d = o.data) == null ? void 0 : d.thumbnails) == null ? void 0 : u.images) == null ? void 0 : h.background_player_in_action) != null && c[0] ? o.data.thumbnails.images.background_player_in_action[0] : (C = (p = (f = o.data) == null ? void 0 : f.thumbnails) == null ? void 0 : p.images) != null && C.background_team ? m(o.data.thumbnails.images.background_team) : ""),
|
|
226
227
|
footerBodyData: {
|
|
227
228
|
description: H(j({ data: o.data, descriptionType: o.descriptionType })),
|
|
228
|
-
total: o.data.total,
|
|
229
|
-
isTotalPercentage:
|
|
229
|
+
total: L ? o.data.percentage : o.data.total,
|
|
230
|
+
isTotalPercentage: L,
|
|
230
231
|
textColor: (o.data.thumbnails.colors.font_color_description || "#FFFFFF").trim(),
|
|
231
232
|
totalTextColor: (o.data.thumbnails.colors.font_color_stats || "#FFFFFF").trim(),
|
|
232
233
|
totalCircleColor: (o.data.thumbnails.colors.data_color || "#000000").trim()
|
|
@@ -240,10 +241,10 @@ const r = (l) => (S("data-v-1b2a4e72"), l = l(), D(), l), O = { class: "fouls__b
|
|
|
240
241
|
}));
|
|
241
242
|
return (d, u) => (i(), a("div", {
|
|
242
243
|
class: "fouls",
|
|
243
|
-
style:
|
|
244
|
+
style: x(_.value)
|
|
244
245
|
}, [
|
|
245
|
-
|
|
246
|
-
body:
|
|
246
|
+
F(U, M(b(g.value)), {
|
|
247
|
+
body: B(() => [
|
|
247
248
|
e("div", O, [
|
|
248
249
|
A,
|
|
249
250
|
e("div", T, [
|
|
@@ -309,7 +310,7 @@ const r = (l) => (S("data-v-1b2a4e72"), l = l(), D(), l), O = { class: "fouls__b
|
|
|
309
310
|
])
|
|
310
311
|
]))
|
|
311
312
|
]),
|
|
312
|
-
k(
|
|
313
|
+
k(w).has(n.value) ? (i(), a("svg", X, [
|
|
313
314
|
Y,
|
|
314
315
|
e("mask", {
|
|
315
316
|
id: "path-2-inside-1_2153_796",
|
|
@@ -424,12 +425,12 @@ const r = (l) => (S("data-v-1b2a4e72"), l = l(), D(), l), O = { class: "fouls__b
|
|
|
424
425
|
}, null, 8, y1)
|
|
425
426
|
]),
|
|
426
427
|
v1
|
|
427
|
-
])) : k(
|
|
428
|
-
|
|
428
|
+
])) : k(y).has(n.value) ? (i(), a("svg", w1, [
|
|
429
|
+
g1,
|
|
429
430
|
e("mask", {
|
|
430
431
|
id: "path-2-inside-1_2153_855",
|
|
431
432
|
fill: t.value.fieldLineColor
|
|
432
|
-
}, F1, 8,
|
|
433
|
+
}, F1, 8, _1),
|
|
433
434
|
e("rect", {
|
|
434
435
|
x: "211.787",
|
|
435
436
|
y: "136.084",
|
|
@@ -539,7 +540,7 @@ const r = (l) => (S("data-v-1b2a4e72"), l = l(), D(), l), O = { class: "fouls__b
|
|
|
539
540
|
}, null, 8, E1)
|
|
540
541
|
]),
|
|
541
542
|
R1
|
|
542
|
-
])) : k(
|
|
543
|
+
])) : k(v).has(n.value) ? (i(), a("svg", z1, [
|
|
543
544
|
N1,
|
|
544
545
|
e("mask", {
|
|
545
546
|
id: "path-2-inside-1_2153_913",
|
|
@@ -654,7 +655,7 @@ const r = (l) => (S("data-v-1b2a4e72"), l = l(), D(), l), O = { class: "fouls__b
|
|
|
654
655
|
}, null, 8, ke)
|
|
655
656
|
]),
|
|
656
657
|
he
|
|
657
|
-
])) :
|
|
658
|
+
])) : S("", !0)
|
|
658
659
|
])
|
|
659
660
|
])
|
|
660
661
|
]),
|
|
@@ -662,7 +663,7 @@ const r = (l) => (S("data-v-1b2a4e72"), l = l(), D(), l), O = { class: "fouls__b
|
|
|
662
663
|
}, 16)
|
|
663
664
|
], 4));
|
|
664
665
|
}
|
|
665
|
-
}, Le = /* @__PURE__ */
|
|
666
|
+
}, Le = /* @__PURE__ */ V(ce, [["__scopeId", "data-v-3c09b094"]]);
|
|
666
667
|
export {
|
|
667
668
|
Le as default
|
|
668
669
|
};
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
import { computed as i, openBlock as r, createElementBlock as d, normalizeStyle as g, createVNode as h, normalizeProps as b, guardReactiveProps as v, withCtx as y, createElementVNode as l, toDisplayString as f, pushScopeId as k, popScopeId as C } from "vue";
|
|
2
|
+
import { o as w } from "./CardBaseAllIndividual-CNB7K2M0-nej9DJ8x.js";
|
|
3
|
+
import { h as x, z, P as M, E as P, I as S, O as T } from "./misc-BbzSgyER-2p2XKW1m.js";
|
|
4
|
+
import { G as I } from "./CircleWithDotsBig-5eFuZwDk-n956nNzk.js";
|
|
5
|
+
const B = (e) => (k("data-v-a60035dc"), e = e(), C(), e), E = { class: "goal-participation__body__data" }, G = {
|
|
6
|
+
width: "35",
|
|
7
|
+
height: "47",
|
|
8
|
+
viewBox: "0 0 35 47",
|
|
9
|
+
fill: "none",
|
|
10
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
11
|
+
}, L = ["fill"], N = ["stroke"], D = {
|
|
12
|
+
key: 0,
|
|
13
|
+
class: "goal-participation__body__data__percent"
|
|
14
|
+
}, U = {
|
|
15
|
+
key: 1,
|
|
16
|
+
class: "goal-participation__body__data__total"
|
|
17
|
+
}, H = /* @__PURE__ */ B(() => /* @__PURE__ */ l("div", { class: "goal-participation__body__title" }, " participaciones de gol ", -1)), O = {
|
|
18
|
+
__name: "CardIndividualGoalParticipation",
|
|
19
|
+
props: {
|
|
20
|
+
height: {
|
|
21
|
+
type: String,
|
|
22
|
+
default: "445px"
|
|
23
|
+
},
|
|
24
|
+
width: {
|
|
25
|
+
type: String,
|
|
26
|
+
default: "319px"
|
|
27
|
+
},
|
|
28
|
+
data: {
|
|
29
|
+
type: Object,
|
|
30
|
+
default: () => null
|
|
31
|
+
},
|
|
32
|
+
descriptionType: {
|
|
33
|
+
type: Number,
|
|
34
|
+
default: 0
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
setup(e) {
|
|
38
|
+
const t = e, F = i(() => {
|
|
39
|
+
var o, n, s, p, u, _, m;
|
|
40
|
+
return {
|
|
41
|
+
height: t.height,
|
|
42
|
+
width: t.width,
|
|
43
|
+
footerHeight: "137px",
|
|
44
|
+
playerPhotoUrl: z(t.data.player_id || ""),
|
|
45
|
+
teamLogoUrl: M(t.data.team_id || ""),
|
|
46
|
+
cardColor: (t.data.thumbnails.colors.background_color || "#000000").trim(),
|
|
47
|
+
backgroundImageSrc: P((p = (s = (n = (o = t.data) == null ? void 0 : o.thumbnails) == null ? void 0 : n.images) == null ? void 0 : s.background_player_in_action) != null && p[0] ? t.data.thumbnails.images.background_player_in_action[0] : (m = (_ = (u = t.data) == null ? void 0 : u.thumbnails) == null ? void 0 : _.images) != null && m.background_tean ? t.data.thumbnails.images.background_team : ""),
|
|
48
|
+
footerBodyData: {
|
|
49
|
+
description: S(T({ data: t.data, descriptionType: t.descriptionType })),
|
|
50
|
+
textColor: (t.data.thumbnails.colors.font_color_description || "#FFFFFF").trim()
|
|
51
|
+
}
|
|
52
|
+
};
|
|
53
|
+
}), a = i(() => {
|
|
54
|
+
const o = t.data.body.show_percentage;
|
|
55
|
+
return {
|
|
56
|
+
isTotalPercentage: o,
|
|
57
|
+
iconColor: (t.data.thumbnails.colors.icon_color || "#FFFFFF").trim(),
|
|
58
|
+
total: o ? t.data.percentage : t.data.total,
|
|
59
|
+
totalCircleColor: (t.data.thumbnails.colors.data_color || "#cbee6b").trim(),
|
|
60
|
+
totalTextColor: (t.data.thumbnails.colors.font_color_stats || "#FFFFFF").trim()
|
|
61
|
+
};
|
|
62
|
+
});
|
|
63
|
+
i(() => t.data.id);
|
|
64
|
+
const c = i(() => ({
|
|
65
|
+
"--title-color": (t.data.thumbnails.colors.font_color_header || "#FFFFFF").trim(),
|
|
66
|
+
"--total-color": (t.data.thumbnails.colors.font_color_stats || "#FFFFFF").trim()
|
|
67
|
+
}));
|
|
68
|
+
return (o, n) => (r(), d("div", {
|
|
69
|
+
class: "goal-participation",
|
|
70
|
+
style: g(c.value)
|
|
71
|
+
}, [
|
|
72
|
+
h(w, b(v(F.value)), {
|
|
73
|
+
body: y(() => [
|
|
74
|
+
l("div", {
|
|
75
|
+
class: "goal-participation__body",
|
|
76
|
+
style: g(c.value)
|
|
77
|
+
}, [
|
|
78
|
+
l("div", E, [
|
|
79
|
+
(r(), d("svg", G, [
|
|
80
|
+
l("path", {
|
|
81
|
+
d: "M4.159 42.568a2.667 2.667 0 1 0 5.333 0 2.667 2.667 0 0 0-5.333 0zM29.72 26.235l.29.407.563-.402-.557-.409-.296.404zM1.728 7.642a2.667 2.667 0 1 0 5.333 0 2.667 2.667 0 0 0-5.333 0zm5.388 35.333L30.012 26.64l-.581-.814L6.535 42.161l.58.814zM30.017 25.83 4.69 7.24l-.591.806 25.326 18.593.592-.807z",
|
|
82
|
+
fill: a.value.iconColor
|
|
83
|
+
}, null, 8, L),
|
|
84
|
+
l("path", {
|
|
85
|
+
opacity: ".5",
|
|
86
|
+
d: "M9.217 26.157a2.188 2.188 0 1 1-4.375 0 2.188 2.188 0 0 1 4.375 0zM30.158 9.9a2.187 2.187 0 1 1-4.375 0 2.187 2.187 0 0 1 4.375 0zM30.158 43.1a2.188 2.188 0 1 1-4.375 0 2.188 2.188 0 0 1 4.375 0z",
|
|
87
|
+
stroke: a.value.iconColor,
|
|
88
|
+
"stroke-width": "1.458"
|
|
89
|
+
}, null, 8, N)
|
|
90
|
+
])),
|
|
91
|
+
a.value.isTotalPercentage ? (r(), d("div", D, [
|
|
92
|
+
h(I, {
|
|
93
|
+
"text-color": a.value.totalTextColor,
|
|
94
|
+
color: a.value.totalCircleColor,
|
|
95
|
+
value: a.value.total
|
|
96
|
+
}, null, 8, ["text-color", "color", "value"])
|
|
97
|
+
])) : (r(), d("div", U, [
|
|
98
|
+
l("div", null, f(t.data.total), 1)
|
|
99
|
+
]))
|
|
100
|
+
]),
|
|
101
|
+
H
|
|
102
|
+
], 4)
|
|
103
|
+
]),
|
|
104
|
+
_: 1
|
|
105
|
+
}, 16)
|
|
106
|
+
], 4));
|
|
107
|
+
}
|
|
108
|
+
}, R = /* @__PURE__ */ x(O, [["__scopeId", "data-v-a60035dc"]]);
|
|
109
|
+
export {
|
|
110
|
+
R as default
|
|
111
|
+
};
|