@golstats/gsc-relevant-data 1.1.0 → 1.1.2
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-BNBUZGU7-B-3ifIbW.js → CardBase-cG4UK8zU-D0uCjRqB.js} +49 -40
- package/dist/{CardBaseAllIndividual-D5JoiQqR-toSAbTZ-.js → CardBaseAllIndividual-DT-pj1sJ-DWZbiML4.js} +4 -4
- package/dist/{CardGeneral-DTteAML4-BddQmutl.js → CardGeneral-BlZEnnEb-DdWkGjzN.js} +14 -14
- package/dist/{CardGeneralIndividual-D-FKsjFO-DkrLF_fv.js → CardGeneralIndividual-Bnc6oqkd-SgV6nzYK.js} +30 -30
- package/dist/{CardGeneralTeams-C0Z5qzcM-DDeCMH2Y.js → CardGeneralTeams-C3Y4CKGP-D4IEguSo.js} +10 -10
- package/dist/{CardIndividual-BhPQqGlc-CPGWRbfO.js → CardIndividual-BPMbVI3t-C0RFgnSH.js} +50 -46
- package/dist/{CardIndividual1vs1-QeAXN4f--CBfAcO1i.js → CardIndividual1vs1-CuR4WSxJ-BzG-hQ5T.js} +24 -20
- package/dist/{CardIndividualAreas-CHLqS1mw-CfmiwLwT.js → CardIndividualAreas-CfLiKrts-CIunuyhE.js} +57 -53
- package/dist/{CardIndividualCenters-hEROPxzH-J-YeCLIr.js → CardIndividualCenters-QiXO05sk-DZ22hl82.js} +28 -24
- package/dist/{CardIndividualDistance-BQ8zwHOn-av0Fx-e6.js → CardIndividualDistance-7PJ6nX5x-GJc7QK8v.js} +25 -21
- package/dist/{CardIndividualFouls-ChdbYcE_-B4i4MTqN.js → CardIndividualFouls-BG7VCYOa-3FvCHJ4a.js} +28 -24
- package/dist/{CardIndividualGoalParticipation-B9xqQ51i-75Gs7K-A.js → CardIndividualGoalParticipation-BWq87mgE-l0ODFUR-.js} +22 -18
- package/dist/{CardIndividualGoals-BtqVuDiw-Bk3BitBk.js → CardIndividualGoals-DEKwqMXc-DoK7uxe9.js} +43 -39
- package/dist/{CardIndividualGold-BLT3Mk27-BqrTeC3a.js → CardIndividualGold-Bz4E-z_--pKerDgFk.js} +25 -25
- package/dist/{CardIndividualNoGoalReceived-DJoQF9wO-fSG0d07Y.js → CardIndividualNoGoalReceived-B2BKqCnK-C7jolYFH.js} +32 -28
- package/dist/{CardIndividualPerformance-lhPwEGlm-FM4kljrY.js → CardIndividualPerformance-BcqsLAAU-Cc1M361Q.js} +12 -12
- package/dist/{CardIndividualSaves-CVjR2-WK-CoFAzK_Y.js → CardIndividualSaves-BSDQdG6Y-C_q-6hWK.js} +28 -24
- package/dist/{CardIndividualShotsOnGoal-BHHi894T-DA4zP7Tv.js → CardIndividualShotsOnGoal-CZl8akPo-2aciFqPO.js} +35 -31
- package/dist/{CardIndividualStatistics-C-kaGAYd-ttRvMO6y.js → CardIndividualStatistics-CY-nNio--abAYZXmG.js} +23 -19
- package/dist/{CardPromTournament-BFRTPeVe-DC4I4aSa.js → CardPromTournament-D7NIcgIG-Dpd3s5PV.js} +54 -50
- package/dist/{CardSuccessfulPasses-C_L5d6hy-D7q2okvw.js → CardSuccessfulPasses-BmyugNe3-e2iTX0Zk.js} +48 -44
- package/dist/{CardTheMostProductive-BBt8B_sf-CzdcJBqF.js → CardTheMostProductive-DYe73XmH-BxAK64X0.js} +14 -10
- package/dist/{PlayerProfileCircle-CJTiOj5E-Bjw4EJZN.js → PlayerProfileCircle-B34lIhjM-CdecVB_6.js} +1 -1
- package/dist/{Shield-If5I91AC-tV_KmJ2I.js → Shield-CPIaGlGA-CpfYAOhz.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 +6 -6
- package/dist/{index-UfwjVVAK.js → index-DkBoHrcA.js} +1173 -1136
- package/package.json +3 -3
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { computed as i, createElementBlock as s, openBlock as r, createVNode as H, mergeProps as w, withCtx as S, createElementVNode as l, createCommentVNode as g, createBlock as y, normalizeProps as D, unref as c, pushScopeId as U, popScopeId as P } from "vue";
|
|
2
|
-
import { d as O } from "./CardBaseAllIndividual-
|
|
3
|
-
import {
|
|
4
|
-
import { a as
|
|
5
|
-
import { u as
|
|
6
|
-
const e = (o) => (U("data-v-
|
|
2
|
+
import { d as O } from "./CardBaseAllIndividual-DT-pj1sJ-DWZbiML4.js";
|
|
3
|
+
import { w as B, H as I, A as T, z as V, V as j, E as N, O as q } from "./CardBase-cG4UK8zU-D0uCjRqB.js";
|
|
4
|
+
import { a as A } from "./TimeSvg-B3vSNjgQ-C-C9O8pw.js";
|
|
5
|
+
import { u as E } from "./TimeSvg2-BX0bDokD-DUAW7DAH.js";
|
|
6
|
+
const e = (o) => (U("data-v-b3b6eea4"), o = o(), P(), o), $ = { class: "centers" }, G = { class: "centers__body" }, J = { class: "centers-svg" }, K = {
|
|
7
7
|
key: 0,
|
|
8
8
|
class: "chronometer-svg"
|
|
9
9
|
}, Q = {
|
|
@@ -104,18 +104,18 @@ const e = (o) => (U("data-v-e0539fcb"), o = o(), P(), o), E = { class: "centers"
|
|
|
104
104
|
fill: "#D9D9D9",
|
|
105
105
|
d: "M0 0h6.298v6.298H0z"
|
|
106
106
|
})
|
|
107
|
-
], -1)), O1 = { mask: "url(#m80u8fvcfc)" }, B1 = ["stroke"],
|
|
107
|
+
], -1)), O1 = { mask: "url(#m80u8fvcfc)" }, B1 = ["stroke"], I1 = ["fill"], T1 = {
|
|
108
108
|
key: 3,
|
|
109
109
|
width: "211",
|
|
110
110
|
height: "98",
|
|
111
111
|
viewBox: "0 0 211 98",
|
|
112
112
|
fill: "none",
|
|
113
113
|
xmlns: "http://www.w3.org/2000/svg"
|
|
114
|
-
},
|
|
114
|
+
}, V1 = /* @__PURE__ */ e(() => /* @__PURE__ */ l("path", {
|
|
115
115
|
opacity: ".8",
|
|
116
116
|
fill: "#00D9F5",
|
|
117
117
|
d: "M157.496 0h52.75v96.457h-52.75z"
|
|
118
|
-
}, null, -1)),
|
|
118
|
+
}, null, -1)), j1 = ["stroke"], N1 = ["stroke"], q1 = ["stroke"], A1 = ["stroke"], E1 = ["stroke"], $1 = ["stroke"], G1 = ["stroke"], J1 = ["stroke"], K1 = /* @__PURE__ */ e(() => /* @__PURE__ */ l("mask", {
|
|
119
119
|
id: "drw01xg3sa",
|
|
120
120
|
style: { "mask-type": "alpha" },
|
|
121
121
|
maskUnits: "userSpaceOnUse",
|
|
@@ -182,6 +182,10 @@ const e = (o) => (U("data-v-e0539fcb"), o = o(), P(), o), E = { class: "centers"
|
|
|
182
182
|
idAux: {
|
|
183
183
|
type: String,
|
|
184
184
|
default: ""
|
|
185
|
+
},
|
|
186
|
+
providerId: {
|
|
187
|
+
type: Number,
|
|
188
|
+
default: 0
|
|
185
189
|
}
|
|
186
190
|
},
|
|
187
191
|
setup(o) {
|
|
@@ -221,15 +225,15 @@ const e = (o) => (U("data-v-e0539fcb"), o = o(), P(), o), E = { class: "centers"
|
|
|
221
225
|
i(() => t.data.conditions && t.data.conditions.matchlapse ? t.data.conditions.matchlapse : null);
|
|
222
226
|
const F = i(() => {
|
|
223
227
|
var h, d, n, z, k, u, p;
|
|
224
|
-
const v = t.data.footer.show_percentage, { title: b, subtitle: _ } =
|
|
228
|
+
const v = t.data.footer.show_percentage, { title: b, subtitle: _ } = I(t.data.title), f = L.has(t.data.id);
|
|
225
229
|
return {
|
|
226
230
|
height: t.height,
|
|
227
231
|
width: t.width,
|
|
228
232
|
footerHeight: "200px",
|
|
229
|
-
playerPhotoUrl:
|
|
230
|
-
teamLogoUrl:
|
|
233
|
+
playerPhotoUrl: N(t.data.player_id || ""),
|
|
234
|
+
teamLogoUrl: j(t.data.team_id || "", t.providerId),
|
|
231
235
|
cardColor: t.data.thumbnails.colors.background_color || "#000000",
|
|
232
|
-
backgroundImageSrc:
|
|
236
|
+
backgroundImageSrc: V((z = (n = (d = (h = t.data) == null ? void 0 : h.thumbnails) == null ? void 0 : d.images) == null ? void 0 : n.background_player_in_action) != null && z[0] ? t.data.thumbnails.images.background_player_in_action[0] : (p = (u = (k = t.data) == null ? void 0 : k.thumbnails) == null ? void 0 : u.images) != null && p.background_team ? t.data.thumbnails.images.background_team : ""),
|
|
233
237
|
footerHeaderData: {
|
|
234
238
|
title: b,
|
|
235
239
|
subtitle: _,
|
|
@@ -242,7 +246,7 @@ const e = (o) => (U("data-v-e0539fcb"), o = o(), P(), o), E = { class: "centers"
|
|
|
242
246
|
titleFontSize: f ? "21px" : "27px"
|
|
243
247
|
},
|
|
244
248
|
footerBodyData: {
|
|
245
|
-
description:
|
|
249
|
+
description: T(q({ data: t.data, descriptionType: t.descriptionType })),
|
|
246
250
|
textColor: (t.data.thumbnails.colors.font_color_description || "#FFFFFF").trim(),
|
|
247
251
|
totalTextColor: (t.data.thumbnails.colors.font_color_stats || "#FFFFFF").trim(),
|
|
248
252
|
totalCircleColor: (t.data.thumbnails.colors.data_color || "#000000").trim()
|
|
@@ -260,7 +264,7 @@ const e = (o) => (U("data-v-e0539fcb"), o = o(), P(), o), E = { class: "centers"
|
|
|
260
264
|
return i(() => ({
|
|
261
265
|
"--time-svg-top": a.value.timeSvgProps.matchLapse && a.value.timeSvgProps.matchLapse === 1 ? "-12px" : "unset",
|
|
262
266
|
"--time-svg-bottom": a.value.timeSvgProps.matchLapse && a.value.timeSvgProps.matchLapse === 2 ? "12px" : "unset"
|
|
263
|
-
})), (h, d) => (r(), s("div",
|
|
267
|
+
})), (h, d) => (r(), s("div", $, [
|
|
264
268
|
H(O, w(F.value, {
|
|
265
269
|
"show-videos": o.showVideos,
|
|
266
270
|
"id-aux": o.idAux
|
|
@@ -269,7 +273,7 @@ const e = (o) => (U("data-v-e0539fcb"), o = o(), P(), o), E = { class: "centers"
|
|
|
269
273
|
l("div", G, [
|
|
270
274
|
l("div", J, [
|
|
271
275
|
a.value.timeSvgProps.matchLapse ? (r(), s("div", K, [
|
|
272
|
-
a.value.timeSvgProps.matchLapse === 1 ? (r(), y(
|
|
276
|
+
a.value.timeSvgProps.matchLapse === 1 ? (r(), y(A, { key: 0 })) : (r(), y(E, D(w({ key: 1 }, a.value.timeSvgProps)), null, 16))
|
|
273
277
|
])) : g("", !0),
|
|
274
278
|
c(M).has(m.value) ? (r(), s("svg", Q, [
|
|
275
279
|
R,
|
|
@@ -462,20 +466,20 @@ const e = (o) => (U("data-v-e0539fcb"), o = o(), P(), o), E = { class: "centers"
|
|
|
462
466
|
l("path", {
|
|
463
467
|
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",
|
|
464
468
|
fill: a.value.fieldLineColor
|
|
465
|
-
}, null, 8,
|
|
466
|
-
])) : c(C).has(m.value) ? (r(), s("svg",
|
|
467
|
-
|
|
469
|
+
}, null, 8, I1)
|
|
470
|
+
])) : c(C).has(m.value) ? (r(), s("svg", T1, [
|
|
471
|
+
V1,
|
|
468
472
|
l("path", {
|
|
469
473
|
stroke: a.value.fieldLineColor,
|
|
470
474
|
"stroke-width": ".472",
|
|
471
475
|
"stroke-dasharray": "0.94 0.94",
|
|
472
476
|
d: "M.236.237h209.739v48.341H.236z"
|
|
473
|
-
}, null, 8,
|
|
477
|
+
}, null, 8, j1),
|
|
474
478
|
l("path", {
|
|
475
479
|
stroke: a.value.fieldLineColor,
|
|
476
480
|
"stroke-width": "1.102",
|
|
477
481
|
d: "M.551.552h209.897v96.524H.551z"
|
|
478
|
-
}, null, 8,
|
|
482
|
+
}, null, 8, N1),
|
|
479
483
|
l("path", {
|
|
480
484
|
stroke: a.value.fieldLineColor,
|
|
481
485
|
"stroke-width": ".472",
|
|
@@ -487,19 +491,19 @@ const e = (o) => (U("data-v-e0539fcb"), o = o(), P(), o), E = { class: "centers"
|
|
|
487
491
|
"stroke-width": ".472",
|
|
488
492
|
"stroke-dasharray": "0.94 0.94",
|
|
489
493
|
d: "M52.593.237h52.671v97.154H52.593z"
|
|
490
|
-
}, null, 8,
|
|
494
|
+
}, null, 8, A1),
|
|
491
495
|
l("path", {
|
|
492
496
|
stroke: a.value.fieldLineColor,
|
|
493
497
|
"stroke-width": ".472",
|
|
494
498
|
"stroke-dasharray": "0.94 0.94",
|
|
495
499
|
d: "M104.948.237h52.671v97.154h-52.671z"
|
|
496
|
-
}, null, 8,
|
|
500
|
+
}, null, 8, E1),
|
|
497
501
|
l("path", {
|
|
498
502
|
stroke: a.value.fieldLineColor,
|
|
499
503
|
"stroke-width": ".472",
|
|
500
504
|
"stroke-dasharray": "0.94 0.94",
|
|
501
505
|
d: "M157.305.237h52.671v97.154h-52.671z"
|
|
502
|
-
}, null, 8,
|
|
506
|
+
}, null, 8, $1),
|
|
503
507
|
l("path", {
|
|
504
508
|
stroke: a.value.fieldLineColor,
|
|
505
509
|
"stroke-width": "1.102",
|
|
@@ -564,7 +568,7 @@ const e = (o) => (U("data-v-e0539fcb"), o = o(), P(), o), E = { class: "centers"
|
|
|
564
568
|
}, 16, ["show-videos", "id-aux"])
|
|
565
569
|
]));
|
|
566
570
|
}
|
|
567
|
-
}, d0 = /* @__PURE__ */ B(o0, [["__scopeId", "data-v-
|
|
571
|
+
}, d0 = /* @__PURE__ */ B(o0, [["__scopeId", "data-v-b3b6eea4"]]);
|
|
568
572
|
export {
|
|
569
573
|
d0 as default
|
|
570
574
|
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { computed as l, createElementBlock as
|
|
2
|
-
import { d as f } from "./CardBaseAllIndividual-
|
|
3
|
-
import {
|
|
4
|
-
const
|
|
1
|
+
import { computed as l, createElementBlock as p, openBlock as b, normalizeStyle as h, createVNode as g, mergeProps as y, withCtx as C, createElementVNode as a, toDisplayString as d } from "vue";
|
|
2
|
+
import { d as f } from "./CardBaseAllIndividual-DT-pj1sJ-DWZbiML4.js";
|
|
3
|
+
import { w as x, A as w, z as k, V, E as B, O as H, H as N } from "./CardBase-cG4UK8zU-D0uCjRqB.js";
|
|
4
|
+
const S = { class: "distance__body__title-sub" }, A = { class: "distance__body__title-sub__title" }, E = { class: "distance__body__title-sub__sub" }, I = { class: "distance__body__data" }, T = { 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
|
+
}, P = ["fill"], $ = {
|
|
11
11
|
__name: "CardIndividualDistance",
|
|
12
12
|
props: {
|
|
13
13
|
height: {
|
|
@@ -33,6 +33,10 @@ const E = { class: "distance__body__title-sub" }, N = { class: "distance__body__
|
|
|
33
33
|
idAux: {
|
|
34
34
|
type: String,
|
|
35
35
|
default: ""
|
|
36
|
+
},
|
|
37
|
+
providerId: {
|
|
38
|
+
type: Number,
|
|
39
|
+
default: 0
|
|
36
40
|
}
|
|
37
41
|
},
|
|
38
42
|
setup(i) {
|
|
@@ -44,21 +48,21 @@ const E = { class: "distance__body__title-sub" }, N = { class: "distance__body__
|
|
|
44
48
|
footerHeight: "113px",
|
|
45
49
|
playerPhotoPositionTop: "24px",
|
|
46
50
|
playerPhotoUrl: B(t.data.player_id || ""),
|
|
47
|
-
teamLogoUrl: V(t.data.team_id || ""),
|
|
51
|
+
teamLogoUrl: V(t.data.team_id || "", t.providerId),
|
|
48
52
|
cardColor: (t.data.thumbnails.colors.background_color || "#000000").trim(),
|
|
49
53
|
backgroundImageSrc: k((c = (n = (e = (o = t.data) == null ? void 0 : o.thumbnails) == null ? void 0 : e.images) == null ? void 0 : n.background_player_in_action) != null && c[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_team ? t.data.thumbnails.images.background_team : ""),
|
|
50
54
|
footerBodyData: {
|
|
51
|
-
description: w(
|
|
55
|
+
description: w(H({ data: t.data, descriptionType: t.descriptionType })),
|
|
52
56
|
textColor: (t.data.thumbnails.colors.font_color_description || "#FFFFFF").trim()
|
|
53
57
|
}
|
|
54
58
|
};
|
|
55
|
-
}),
|
|
59
|
+
}), v = l(() => ({
|
|
56
60
|
iconColor: (t.data.thumbnails.colors.icon_color || "#FFFFFF").trim(),
|
|
57
61
|
total: t.data.total,
|
|
58
62
|
totalCircleColor: (t.data.thumbnails.colors.data_color || "#cbee6b").trim(),
|
|
59
63
|
totalTextColor: (t.data.thumbnails.colors.font_color_stats || "#FFFFFF").trim()
|
|
60
64
|
})), r = l(() => {
|
|
61
|
-
const { title: o, subtitle: e } =
|
|
65
|
+
const { title: o, subtitle: e } = N(t.data.title);
|
|
62
66
|
return {
|
|
63
67
|
title: o,
|
|
64
68
|
subtitle: e
|
|
@@ -70,11 +74,11 @@ const E = { class: "distance__body__title-sub" }, N = { class: "distance__body__
|
|
|
70
74
|
"--data-color": (t.data.thumbnails.colors.background_color || "#000000").trim(),
|
|
71
75
|
"--title-color": (t.data.thumbnails.colors.font_color_header || "#FFFFFF").trim()
|
|
72
76
|
}));
|
|
73
|
-
return (o, e) => (
|
|
77
|
+
return (o, e) => (b(), p("div", {
|
|
74
78
|
class: "distance",
|
|
75
79
|
style: h(s.value)
|
|
76
80
|
}, [
|
|
77
|
-
|
|
81
|
+
g(f, y(F.value, {
|
|
78
82
|
"show-videos": i.showVideos,
|
|
79
83
|
"id-aux": i.idAux
|
|
80
84
|
}), {
|
|
@@ -83,17 +87,17 @@ const E = { class: "distance__body__title-sub" }, N = { class: "distance__body__
|
|
|
83
87
|
class: "distance__body",
|
|
84
88
|
style: h(s.value)
|
|
85
89
|
}, [
|
|
86
|
-
a("div",
|
|
87
|
-
a("div",
|
|
88
|
-
a("div",
|
|
90
|
+
a("div", S, [
|
|
91
|
+
a("div", A, d(r.value.title), 1),
|
|
92
|
+
a("div", E, d(r.value.subtitle), 1)
|
|
89
93
|
]),
|
|
90
|
-
a("div",
|
|
91
|
-
a("div",
|
|
92
|
-
(
|
|
94
|
+
a("div", I, [
|
|
95
|
+
a("div", T, d(Number(t.data.total).toFixed(2)) + " km ", 1),
|
|
96
|
+
(b(), p("svg", D, [
|
|
93
97
|
a("path", {
|
|
94
98
|
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",
|
|
95
|
-
fill:
|
|
96
|
-
}, null, 8,
|
|
99
|
+
fill: v.value.iconColor
|
|
100
|
+
}, null, 8, P)
|
|
97
101
|
]))
|
|
98
102
|
])
|
|
99
103
|
], 4)
|
|
@@ -102,7 +106,7 @@ const E = { class: "distance__body__title-sub" }, N = { class: "distance__body__
|
|
|
102
106
|
}, 16, ["show-videos", "id-aux"])
|
|
103
107
|
], 4));
|
|
104
108
|
}
|
|
105
|
-
},
|
|
109
|
+
}, M = /* @__PURE__ */ x($, [["__scopeId", "data-v-16a01c1f"]]);
|
|
106
110
|
export {
|
|
107
|
-
|
|
111
|
+
M as default
|
|
108
112
|
};
|
package/dist/{CardIndividualFouls-ChdbYcE_-B4i4MTqN.js → CardIndividualFouls-BG7VCYOa-3FvCHJ4a.js}
RENAMED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { computed as s, createElementBlock as d, openBlock as n, normalizeStyle as x, createVNode as F, mergeProps as M, withCtx as I, createElementVNode as e, createCommentVNode as b, unref as h, pushScopeId as B, popScopeId as V } from "vue";
|
|
2
|
-
import { d as S } from "./CardBaseAllIndividual-
|
|
3
|
-
import {
|
|
4
|
-
const o = (i) => (B("data-v-
|
|
2
|
+
import { d as S } from "./CardBaseAllIndividual-DT-pj1sJ-DWZbiML4.js";
|
|
3
|
+
import { w as $, A as H, z as Z, V as q, E as G, O as U } from "./CardBase-cG4UK8zU-D0uCjRqB.js";
|
|
4
|
+
const o = (i) => (B("data-v-30ce5317"), i = i(), V(), i), A = { class: "fouls__body" }, O = /* @__PURE__ */ o(() => /* @__PURE__ */ e("div", { class: "fouls__body__title" }, " FALTAS RECIBIDAS ", -1)), T = { class: "fouls-svg" }, D = { class: "foul-svg" }, E = {
|
|
5
5
|
width: "42",
|
|
6
6
|
height: "65",
|
|
7
7
|
viewBox: "0 0 64 65",
|
|
8
8
|
fill: "none",
|
|
9
9
|
xmlns: "http://www.w3.org/2000/svg"
|
|
10
|
-
}, N = ["clip-path"],
|
|
10
|
+
}, N = ["clip-path"], R = ["id"], z = /* @__PURE__ */ o(() => /* @__PURE__ */ e("path", {
|
|
11
11
|
d: "M63.0598 64.0237V1.89869H0.934814V64.0237H63.0598Z",
|
|
12
12
|
fill: "white",
|
|
13
13
|
stroke: "white",
|
|
14
14
|
"stroke-width": "1.875"
|
|
15
|
-
}, null, -1)),
|
|
16
|
-
|
|
17
|
-
],
|
|
15
|
+
}, null, -1)), P = [
|
|
16
|
+
z
|
|
17
|
+
], j = ["mask"], J = ["stroke"], K = ["fill"], Q = ["fill"], W = ["fill"], X = ["id"], Y = /* @__PURE__ */ o(() => /* @__PURE__ */ e("rect", {
|
|
18
18
|
width: "64",
|
|
19
19
|
height: "64",
|
|
20
20
|
fill: "white",
|
|
@@ -45,7 +45,7 @@ const o = (i) => (B("data-v-594d0f32"), i = i(), V(), i), A = { class: "fouls__b
|
|
|
45
45
|
transform: "rotate(-180 211.787 136.084)"
|
|
46
46
|
}, null, -1)), a1 = [
|
|
47
47
|
r1
|
|
48
|
-
], i1 = ["stroke", "mask"], s1 = ["stroke"], d1 = ["stroke"], n1 = ["stroke"], u1 = ["stroke"], k1 = ["stroke"], h1 = ["stroke"], f1 = ["fill", "stroke"], c1 = { opacity: "0.7" },
|
|
48
|
+
], i1 = ["stroke", "mask"], s1 = ["stroke"], d1 = ["stroke"], n1 = ["stroke"], u1 = ["stroke"], k1 = ["stroke"], h1 = ["stroke"], f1 = ["fill", "stroke"], c1 = { opacity: "0.7" }, p1 = ["stroke"], C1 = ["stroke"], m1 = ["stroke"], v1 = ["stroke"], L1 = ["stroke"], y1 = ["filter"], w1 = ["fill"], g1 = ["stroke"], _1 = ["id"], x1 = /* @__PURE__ */ o(() => /* @__PURE__ */ e("feFlood", {
|
|
49
49
|
"flood-opacity": "0",
|
|
50
50
|
result: "BackgroundImageFix"
|
|
51
51
|
}, null, -1)), F1 = /* @__PURE__ */ o(() => /* @__PURE__ */ e("feGaussianBlur", {
|
|
@@ -89,7 +89,7 @@ const o = (i) => (B("data-v-594d0f32"), i = i(), V(), i), A = { class: "fouls__b
|
|
|
89
89
|
transform: "rotate(-180 211.787 136.084)"
|
|
90
90
|
}, null, -1)), H1 = [
|
|
91
91
|
$1
|
|
92
|
-
], Z1 = ["stroke", "mask"], q1 = ["stroke"], G1 = ["stroke"], U1 = ["stroke"], A1 = ["stroke"], O1 = ["stroke"], T1 = ["stroke"], D1 = ["fill", "stroke"], E1 = { opacity: "0.7" }, N1 = ["stroke"],
|
|
92
|
+
], Z1 = ["stroke", "mask"], q1 = ["stroke"], G1 = ["stroke"], U1 = ["stroke"], A1 = ["stroke"], O1 = ["stroke"], T1 = ["stroke"], D1 = ["fill", "stroke"], E1 = { opacity: "0.7" }, N1 = ["stroke"], R1 = ["stroke"], z1 = ["stroke"], P1 = ["stroke"], j1 = ["stroke"], J1 = ["filter"], K1 = ["fill"], Q1 = ["stroke"], W1 = ["id"], X1 = /* @__PURE__ */ o(() => /* @__PURE__ */ e("feFlood", {
|
|
93
93
|
"flood-opacity": "0",
|
|
94
94
|
result: "BackgroundImageFix"
|
|
95
95
|
}, null, -1)), Y1 = /* @__PURE__ */ o(() => /* @__PURE__ */ e("feGaussianBlur", {
|
|
@@ -133,7 +133,7 @@ const o = (i) => (B("data-v-594d0f32"), i = i(), V(), i), A = { class: "fouls__b
|
|
|
133
133
|
transform: "rotate(-180 211.787 136.084)"
|
|
134
134
|
}, null, -1)), s8 = [
|
|
135
135
|
i8
|
|
136
|
-
], d8 = ["stroke", "mask"], n8 = ["stroke"], u8 = ["stroke"], k8 = ["stroke"], h8 = ["stroke"], f8 = ["stroke"], c8 = ["stroke"],
|
|
136
|
+
], d8 = ["stroke", "mask"], n8 = ["stroke"], u8 = ["stroke"], k8 = ["stroke"], h8 = ["stroke"], f8 = ["stroke"], c8 = ["stroke"], p8 = ["fill", "stroke"], C8 = { opacity: "0.7" }, m8 = ["stroke"], v8 = ["stroke"], L8 = ["stroke"], y8 = ["stroke"], w8 = ["stroke"], g8 = ["filter"], _8 = ["fill"], x8 = ["stroke"], F8 = ["id"], M8 = /* @__PURE__ */ o(() => /* @__PURE__ */ e("feFlood", {
|
|
137
137
|
"flood-opacity": "0",
|
|
138
138
|
result: "BackgroundImageFix"
|
|
139
139
|
}, null, -1)), I8 = /* @__PURE__ */ o(() => /* @__PURE__ */ e("feGaussianBlur", {
|
|
@@ -179,6 +179,10 @@ const o = (i) => (B("data-v-594d0f32"), i = i(), V(), i), A = { class: "fouls__b
|
|
|
179
179
|
idAux: {
|
|
180
180
|
type: String,
|
|
181
181
|
default: ""
|
|
182
|
+
},
|
|
183
|
+
providerId: {
|
|
184
|
+
type: Number,
|
|
185
|
+
default: 0
|
|
182
186
|
}
|
|
183
187
|
},
|
|
184
188
|
setup(i) {
|
|
@@ -198,16 +202,16 @@ const o = (i) => (B("data-v-594d0f32"), i = i(), V(), i), A = { class: "fouls__b
|
|
|
198
202
|
"54-i",
|
|
199
203
|
"20-e"
|
|
200
204
|
]), g = s(() => {
|
|
201
|
-
var u, k, f, c,
|
|
205
|
+
var u, k, f, c, p, C, m;
|
|
202
206
|
const v = t.data.footer.show_percentage;
|
|
203
207
|
return {
|
|
204
208
|
height: t.height,
|
|
205
209
|
width: t.width,
|
|
206
210
|
footerHeight: "137px",
|
|
207
211
|
playerPhotoUrl: G(t.data.player_id || ""),
|
|
208
|
-
teamLogoUrl: q(t.data.team_id || ""),
|
|
212
|
+
teamLogoUrl: q(t.data.team_id || "", t.providerId),
|
|
209
213
|
cardColor: (t.data.thumbnails.colors.background_color || "#000000").trim(),
|
|
210
|
-
backgroundImageSrc: Z((c = (f = (k = (u = t.data) == null ? void 0 : u.thumbnails) == null ? void 0 : k.images) == null ? void 0 : f.background_player_in_action) != null && c[0] ? t.data.thumbnails.images.background_player_in_action[0] : (m = (
|
|
214
|
+
backgroundImageSrc: Z((c = (f = (k = (u = t.data) == null ? void 0 : u.thumbnails) == null ? void 0 : k.images) == null ? void 0 : f.background_player_in_action) != null && c[0] ? t.data.thumbnails.images.background_player_in_action[0] : (m = (C = (p = t.data) == null ? void 0 : p.thumbnails) == null ? void 0 : C.images) != null && m.background_team ? t.data.thumbnails.images.background_team : ""),
|
|
211
215
|
footerBodyData: {
|
|
212
216
|
description: H(U({ data: t.data, descriptionType: t.descriptionType })),
|
|
213
217
|
total: v ? t.data.percentage : t.data.total,
|
|
@@ -259,7 +263,7 @@ const o = (i) => (B("data-v-594d0f32"), i = i(), V(), i), A = { class: "fouls__b
|
|
|
259
263
|
y: "0",
|
|
260
264
|
width: "65",
|
|
261
265
|
height: "65"
|
|
262
|
-
},
|
|
266
|
+
}, P, 8, R),
|
|
263
267
|
e("g", {
|
|
264
268
|
mask: `url(#${r.value.maskId})`
|
|
265
269
|
}, [
|
|
@@ -289,7 +293,7 @@ const o = (i) => (B("data-v-594d0f32"), i = i(), V(), i), A = { class: "fouls__b
|
|
|
289
293
|
d: "M13.1226 58.2737C9.4982 58.2737 6.56006 55.3355 6.56006 51.7112V49.5144C8.10689 51.426 10.472 52.6482 13.1226 52.6482H31.1987C31.2088 52.6485 31.219 52.6487 31.2292 52.6487H31.8726C33.4258 52.6487 34.6851 53.9078 34.6851 55.4612C34.6851 57.0144 33.4258 58.2737 31.8726 58.2737H13.1226ZM13.1226 50.7732C9.4982 50.7732 6.56006 47.8351 6.56006 44.2107V41.3323C6.86609 41.376 7.17894 41.3987 7.49707 41.3987C10.1181 41.3987 12.3784 39.8619 13.4297 37.6446C13.6515 37.1767 13.452 36.6176 12.9842 36.3958C12.5163 36.174 11.9573 36.3735 11.7355 36.8413C10.9827 38.4289 9.36677 39.5237 7.49707 39.5237C6.95585 39.5237 6.43606 39.432 5.95239 39.2632C5.94087 39.2589 5.92923 39.2548 5.9175 39.2509C4.1058 38.6026 2.80957 36.8708 2.80957 34.8362C2.80957 32.5005 4.51868 30.5623 6.75441 30.2071C7.26577 30.1258 7.61444 29.6454 7.53321 29.1341C7.45197 28.6227 6.97158 28.2741 6.46023 28.3553C3.32821 28.8529 0.93457 31.5641 0.93457 34.8362C0.93457 37.4543 2.46765 39.7143 4.68506 40.7674V44.2107V51.7112C4.68506 56.3711 8.46267 60.1487 13.1226 60.1487H31.8726C34.4613 60.1487 36.5601 58.0499 36.5601 55.4612C36.5601 52.8836 34.4797 50.7921 31.9066 50.7738C31.8953 50.7734 31.884 50.7732 31.8726 50.7732H13.1226Z",
|
|
290
294
|
fill: l.value.fieldLineColor
|
|
291
295
|
}, null, 8, W)
|
|
292
|
-
], 8,
|
|
296
|
+
], 8, j)
|
|
293
297
|
], 8, N),
|
|
294
298
|
e("defs", null, [
|
|
295
299
|
e("clipPath", {
|
|
@@ -365,13 +369,13 @@ const o = (i) => (B("data-v-594d0f32"), i = i(), V(), i), A = { class: "fouls__b
|
|
|
365
369
|
stroke: l.value.fieldLineColor,
|
|
366
370
|
"stroke-width": "0.523385",
|
|
367
371
|
"stroke-dasharray": "1.05 1.05"
|
|
368
|
-
}, null, 8,
|
|
372
|
+
}, null, 8, p1),
|
|
369
373
|
e("path", {
|
|
370
374
|
d: "M105.342 136.08L105.342 7.43866e-05",
|
|
371
375
|
stroke: l.value.fieldLineColor,
|
|
372
376
|
"stroke-width": "0.523385",
|
|
373
377
|
"stroke-dasharray": "1.05 1.05"
|
|
374
|
-
}, null, 8,
|
|
378
|
+
}, null, 8, C1),
|
|
375
379
|
e("path", {
|
|
376
380
|
d: "M158.007 136.08L158.007 7.43866e-05",
|
|
377
381
|
stroke: l.value.fieldLineColor,
|
|
@@ -498,25 +502,25 @@ const o = (i) => (B("data-v-594d0f32"), i = i(), V(), i), A = { class: "fouls__b
|
|
|
498
502
|
stroke: l.value.fieldLineColor,
|
|
499
503
|
"stroke-width": "0.523385",
|
|
500
504
|
"stroke-dasharray": "1.05 1.05"
|
|
501
|
-
}, null, 8,
|
|
505
|
+
}, null, 8, R1),
|
|
502
506
|
e("path", {
|
|
503
507
|
d: "M158.008 136.08L158.008 7.43866e-05",
|
|
504
508
|
stroke: l.value.fieldLineColor,
|
|
505
509
|
"stroke-width": "0.523385",
|
|
506
510
|
"stroke-dasharray": "1.05 1.05"
|
|
507
|
-
}, null, 8,
|
|
511
|
+
}, null, 8, z1),
|
|
508
512
|
e("path", {
|
|
509
513
|
d: "M210.673 90.72L0.0105608 90.72",
|
|
510
514
|
stroke: l.value.fieldLineColor,
|
|
511
515
|
"stroke-width": "0.523385",
|
|
512
516
|
"stroke-dasharray": "1.05 1.05"
|
|
513
|
-
}, null, 8,
|
|
517
|
+
}, null, 8, P1),
|
|
514
518
|
e("path", {
|
|
515
519
|
d: "M210.673 45.3601L0.0105608 45.3601",
|
|
516
520
|
stroke: l.value.fieldLineColor,
|
|
517
521
|
"stroke-width": "0.523385",
|
|
518
522
|
"stroke-dasharray": "1.05 1.05"
|
|
519
|
-
}, null, 8,
|
|
523
|
+
}, null, 8, j1)
|
|
520
524
|
]),
|
|
521
525
|
e("g", {
|
|
522
526
|
filter: `url(#${r.value.maskId5})`
|
|
@@ -612,8 +616,8 @@ const o = (i) => (B("data-v-594d0f32"), i = i(), V(), i), A = { class: "fouls__b
|
|
|
612
616
|
fill: l.value.fieldLineColor,
|
|
613
617
|
stroke: l.value.fieldLineColor,
|
|
614
618
|
"stroke-width": "0.450603"
|
|
615
|
-
}, null, 8,
|
|
616
|
-
e("g",
|
|
619
|
+
}, null, 8, p8),
|
|
620
|
+
e("g", C8, [
|
|
617
621
|
e("path", {
|
|
618
622
|
d: "M52.6768 136.08L52.6768 7.43866e-05",
|
|
619
623
|
stroke: l.value.fieldLineColor,
|
|
@@ -687,7 +691,7 @@ const o = (i) => (B("data-v-594d0f32"), i = i(), V(), i), A = { class: "fouls__b
|
|
|
687
691
|
}, 16, ["show-videos", "id-aux"])
|
|
688
692
|
], 4));
|
|
689
693
|
}
|
|
690
|
-
}, q8 = /* @__PURE__ */ $(S8, [["__scopeId", "data-v-
|
|
694
|
+
}, q8 = /* @__PURE__ */ $(S8, [["__scopeId", "data-v-30ce5317"]]);
|
|
691
695
|
export {
|
|
692
696
|
q8 as default
|
|
693
697
|
};
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { computed as i, createElementBlock as r, openBlock as d, normalizeStyle as h, createVNode as g, mergeProps as y, withCtx as
|
|
2
|
-
import { d as x, B as k } from "./CardBaseAllIndividual-
|
|
3
|
-
import {
|
|
4
|
-
const
|
|
1
|
+
import { computed as i, createElementBlock as r, openBlock as d, normalizeStyle as h, createVNode as g, mergeProps as y, withCtx as b, createElementVNode as e, toDisplayString as F, pushScopeId as f, popScopeId as w } from "vue";
|
|
2
|
+
import { d as x, B as k } from "./CardBaseAllIndividual-DT-pj1sJ-DWZbiML4.js";
|
|
3
|
+
import { w as C, A as z, z as B, V as M, E as S, O as I } from "./CardBase-cG4UK8zU-D0uCjRqB.js";
|
|
4
|
+
const T = (a) => (f("data-v-15e44532"), a = a(), w(), a), V = { class: "goal-participation__body__data" }, A = {
|
|
5
5
|
width: "35",
|
|
6
6
|
height: "47",
|
|
7
7
|
viewBox: "0 0 35 47",
|
|
8
8
|
fill: "none",
|
|
9
9
|
xmlns: "http://www.w3.org/2000/svg"
|
|
10
|
-
}, E = ["fill"],
|
|
10
|
+
}, E = ["fill"], N = ["stroke"], P = {
|
|
11
11
|
key: 0,
|
|
12
12
|
class: "goal-participation__body__data__percent"
|
|
13
|
-
},
|
|
13
|
+
}, L = {
|
|
14
14
|
key: 1,
|
|
15
15
|
class: "goal-participation__body__data__total"
|
|
16
|
-
}, $ = /* @__PURE__ */
|
|
16
|
+
}, $ = /* @__PURE__ */ T(() => /* @__PURE__ */ e("div", { class: "goal-participation__body__title" }, " participaciones de gol ", -1)), D = {
|
|
17
17
|
__name: "CardIndividualGoalParticipation",
|
|
18
18
|
props: {
|
|
19
19
|
height: {
|
|
@@ -39,21 +39,25 @@ const V = (a) => (f("data-v-c225587e"), a = a(), w(), a), P = { class: "goal-par
|
|
|
39
39
|
idAux: {
|
|
40
40
|
type: String,
|
|
41
41
|
default: ""
|
|
42
|
+
},
|
|
43
|
+
providerId: {
|
|
44
|
+
type: Number,
|
|
45
|
+
default: 0
|
|
42
46
|
}
|
|
43
47
|
},
|
|
44
48
|
setup(a) {
|
|
45
49
|
const t = a, v = i(() => {
|
|
46
|
-
var l, n, c,
|
|
50
|
+
var l, n, c, p, u, _, m;
|
|
47
51
|
return {
|
|
48
52
|
height: t.height,
|
|
49
53
|
width: t.width,
|
|
50
54
|
footerHeight: "137px",
|
|
51
55
|
playerPhotoUrl: S(t.data.player_id || ""),
|
|
52
|
-
teamLogoUrl: M(t.data.team_id || ""),
|
|
56
|
+
teamLogoUrl: M(t.data.team_id || "", t.providerId),
|
|
53
57
|
cardColor: (t.data.thumbnails.colors.background_color || "#000000").trim(),
|
|
54
|
-
backgroundImageSrc: B((
|
|
58
|
+
backgroundImageSrc: B((p = (c = (n = (l = t.data) == null ? void 0 : l.thumbnails) == null ? void 0 : n.images) == null ? void 0 : c.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_team ? t.data.thumbnails.images.background_team : ""),
|
|
55
59
|
footerBodyData: {
|
|
56
|
-
description: z(
|
|
60
|
+
description: z(I({ data: t.data, descriptionType: t.descriptionType })),
|
|
57
61
|
textColor: (t.data.thumbnails.colors.font_color_description || "#FFFFFF").trim()
|
|
58
62
|
}
|
|
59
63
|
};
|
|
@@ -82,12 +86,12 @@ const V = (a) => (f("data-v-c225587e"), a = a(), w(), a), P = { class: "goal-par
|
|
|
82
86
|
"show-videos": a.showVideos,
|
|
83
87
|
"id-aux": a.idAux
|
|
84
88
|
}), {
|
|
85
|
-
body:
|
|
89
|
+
body: b(() => [
|
|
86
90
|
e("div", {
|
|
87
91
|
class: "goal-participation__body",
|
|
88
92
|
style: h(s.value)
|
|
89
93
|
}, [
|
|
90
|
-
e("div",
|
|
94
|
+
e("div", V, [
|
|
91
95
|
(d(), r("svg", A, [
|
|
92
96
|
e("path", {
|
|
93
97
|
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",
|
|
@@ -98,16 +102,16 @@ const V = (a) => (f("data-v-c225587e"), a = a(), w(), a), P = { class: "goal-par
|
|
|
98
102
|
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",
|
|
99
103
|
stroke: o.value.iconColor,
|
|
100
104
|
"stroke-width": "1.458"
|
|
101
|
-
}, null, 8,
|
|
105
|
+
}, null, 8, N)
|
|
102
106
|
])),
|
|
103
|
-
o.value.isTotalPercentage ? (d(), r("div",
|
|
107
|
+
o.value.isTotalPercentage ? (d(), r("div", P, [
|
|
104
108
|
g(k, {
|
|
105
109
|
"text-color": o.value.totalTextColor,
|
|
106
110
|
color: o.value.totalCircleColor,
|
|
107
111
|
value: o.value.total
|
|
108
112
|
}, null, 8, ["text-color", "color", "value"])
|
|
109
|
-
])) : (d(), r("div",
|
|
110
|
-
e("div", null,
|
|
113
|
+
])) : (d(), r("div", L, [
|
|
114
|
+
e("div", null, F(t.data.total), 1)
|
|
111
115
|
]))
|
|
112
116
|
]),
|
|
113
117
|
$
|
|
@@ -117,7 +121,7 @@ const V = (a) => (f("data-v-c225587e"), a = a(), w(), a), P = { class: "goal-par
|
|
|
117
121
|
}, 16, ["show-videos", "id-aux"])
|
|
118
122
|
], 4));
|
|
119
123
|
}
|
|
120
|
-
}, j = /* @__PURE__ */ C(D, [["__scopeId", "data-v-
|
|
124
|
+
}, j = /* @__PURE__ */ C(D, [["__scopeId", "data-v-15e44532"]]);
|
|
121
125
|
export {
|
|
122
126
|
j as default
|
|
123
127
|
};
|