@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,12 +1,12 @@
|
|
|
1
1
|
import { useCssVars as C, computed as p, openBlock as l, createElementBlock as c, normalizeStyle as F, createBlock as _, mergeProps as v, withCtx as M, createElementVNode as t, createVNode as S, toDisplayString as h, createCommentVNode as d, createTextVNode as D, pushScopeId as E, popScopeId as q } from "vue";
|
|
2
|
-
import { h as b, z as T, P as N, E as B, I as P, O as I } from "./misc-
|
|
3
|
-
import {
|
|
2
|
+
import { h as b, z as T, P as N, E as B, I as P, O as I } from "./misc-BbzSgyER-2p2XKW1m.js";
|
|
3
|
+
import { o as O } from "./CardBaseAllIndividual-CNB7K2M0-nej9DJ8x.js";
|
|
4
4
|
const u = {
|
|
5
5
|
props: {
|
|
6
6
|
cancha: {
|
|
7
7
|
type: String,
|
|
8
8
|
required: !0,
|
|
9
|
-
validator: (
|
|
9
|
+
validator: (r) => ["full", "own", "rival"].includes(r)
|
|
10
10
|
},
|
|
11
11
|
stat: {
|
|
12
12
|
type: Number,
|
|
@@ -15,7 +15,7 @@ const u = {
|
|
|
15
15
|
type: {
|
|
16
16
|
type: String,
|
|
17
17
|
default: "box",
|
|
18
|
-
validator: (
|
|
18
|
+
validator: (r) => ["box", "accelerometer"].includes(r)
|
|
19
19
|
},
|
|
20
20
|
colorcancha: {
|
|
21
21
|
type: String,
|
|
@@ -38,21 +38,21 @@ const u = {
|
|
|
38
38
|
},
|
|
39
39
|
canchaType() {
|
|
40
40
|
if (Array.isArray(this.cancha)) {
|
|
41
|
-
const
|
|
42
|
-
return this.cancha.length ===
|
|
41
|
+
const r = [485, 486, 489, 490], o = [487, 488, 491, 492];
|
|
42
|
+
return this.cancha.length === r.length && this.cancha.every((a) => r.includes(Number(a))) ? "rival" : this.cancha.length === o.length && this.cancha.every((a) => o.includes(Number(a))) ? "own" : "full";
|
|
43
43
|
}
|
|
44
44
|
return this.cancha;
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
47
|
}, L = () => {
|
|
48
|
-
C((
|
|
49
|
-
"2f2b7686":
|
|
50
|
-
"8a0fe396":
|
|
51
|
-
"14574b04":
|
|
48
|
+
C((r) => ({
|
|
49
|
+
"2f2b7686": r.colorstat,
|
|
50
|
+
"8a0fe396": r.accelerometerStyle.percentage,
|
|
51
|
+
"14574b04": r.colorcancha
|
|
52
52
|
}));
|
|
53
53
|
}, x = u.setup;
|
|
54
|
-
u.setup = x ? (
|
|
55
|
-
const s = (
|
|
54
|
+
u.setup = x ? (r, o) => (L(), x(r, o)) : L;
|
|
55
|
+
const s = (r) => (E("data-v-e8032436"), r = r(), q(), r), V = { class: "outer-box" }, z = {
|
|
56
56
|
key: 0,
|
|
57
57
|
class: "inner-box"
|
|
58
58
|
}, A = {
|
|
@@ -82,7 +82,7 @@ const s = (o) => (E("data-v-e8032436"), o = o(), q(), o), V = { class: "outer-bo
|
|
|
82
82
|
stroke: "#DFE3E2",
|
|
83
83
|
"stroke-width": "0.450603",
|
|
84
84
|
"stroke-linecap": "square"
|
|
85
|
-
}, null, -1)), J = ["stroke"], Y = ["stroke"], K = ["stroke"], Q = ["stroke"], W = ["stroke"], X = ["stroke"], tt = { opacity: "0.7" }, at = ["stroke"],
|
|
85
|
+
}, null, -1)), J = ["stroke"], Y = ["stroke"], K = ["stroke"], Q = ["stroke"], W = ["stroke"], X = ["stroke"], tt = { opacity: "0.7" }, at = ["stroke"], ot = ["stroke"], rt = ["stroke"], et = ["stroke"], lt = ["stroke"], ct = {
|
|
86
86
|
key: 3,
|
|
87
87
|
width: "212",
|
|
88
88
|
height: "137",
|
|
@@ -131,7 +131,7 @@ const s = (o) => (E("data-v-e8032436"), o = o(), q(), o), V = { class: "outer-bo
|
|
|
131
131
|
"stroke-width": "0.450603",
|
|
132
132
|
"stroke-linecap": "square"
|
|
133
133
|
}, null, -1)), St = ["stroke"], Dt = ["stroke"], Et = ["stroke"], qt = ["stroke"], Tt = ["stroke"], Nt = ["stroke"], Bt = { opacity: "0.7" }, Pt = ["stroke"], It = ["stroke"], Ot = ["stroke"], Vt = ["stroke"], zt = ["stroke"];
|
|
134
|
-
function At(
|
|
134
|
+
function At(r, o, a, y, n, e) {
|
|
135
135
|
return l(), c("div", V, [
|
|
136
136
|
a.type === "box" ? (l(), c("div", z, h(a.stat), 1)) : a.type === "accelerometer" ? (l(), c("div", A, [
|
|
137
137
|
t("div", U, [
|
|
@@ -213,13 +213,13 @@ function At(o, r, a, y, n, e) {
|
|
|
213
213
|
stroke: a.colorcancha,
|
|
214
214
|
"stroke-width": "0.523385",
|
|
215
215
|
"stroke-dasharray": "1.05 1.05"
|
|
216
|
-
}, null, 8,
|
|
216
|
+
}, null, 8, ot),
|
|
217
217
|
t("path", {
|
|
218
218
|
d: "M158.008 136.08L158.008 7.43866e-05",
|
|
219
219
|
stroke: a.colorcancha,
|
|
220
220
|
"stroke-width": "0.523385",
|
|
221
221
|
"stroke-dasharray": "1.05 1.05"
|
|
222
|
-
}, null, 8,
|
|
222
|
+
}, null, 8, rt),
|
|
223
223
|
t("path", {
|
|
224
224
|
d: "M210.673 90.7202L0.0105608 90.7202",
|
|
225
225
|
stroke: a.colorcancha,
|
|
@@ -444,61 +444,61 @@ const Ut = /* @__PURE__ */ b(u, [["render", At], ["__scopeId", "data-v-e8032436"
|
|
|
444
444
|
},
|
|
445
445
|
descriptionType: {
|
|
446
446
|
type: Number,
|
|
447
|
-
default:
|
|
447
|
+
default: 0
|
|
448
448
|
}
|
|
449
449
|
},
|
|
450
|
-
setup(
|
|
450
|
+
setup(r) {
|
|
451
451
|
C((e) => ({
|
|
452
|
-
"
|
|
452
|
+
"17ceb192": o.data.subtitle ? "100%" : "78%"
|
|
453
453
|
}));
|
|
454
|
-
const
|
|
454
|
+
const o = r, a = p(() => {
|
|
455
455
|
var e, i, k, w, m, f, g;
|
|
456
456
|
return {
|
|
457
|
-
height:
|
|
458
|
-
width:
|
|
457
|
+
height: o.height,
|
|
458
|
+
width: o.width,
|
|
459
459
|
footerHeight: "93px",
|
|
460
460
|
footerPadding: "24px 24px 30px 24px",
|
|
461
|
-
playerPhotoUrl: T(
|
|
462
|
-
teamLogoUrl: N(
|
|
463
|
-
cardColor:
|
|
464
|
-
backgroundImageSrc: B((w = (k = (i = (e =
|
|
465
|
-
textColor:
|
|
461
|
+
playerPhotoUrl: T(o.data.player_id || ""),
|
|
462
|
+
teamLogoUrl: N(o.data.team_id || "") || "",
|
|
463
|
+
cardColor: o.data.thumbnails.colors.background_color || "#000000",
|
|
464
|
+
backgroundImageSrc: B((w = (k = (i = (e = o.data) == null ? void 0 : e.thumbnails) == null ? void 0 : i.images) == null ? void 0 : k.background_player_in_action) != null && w[0] ? o.data.thumbnails.images.background_player_in_action[0] : (g = (f = (m = o.data) == null ? void 0 : m.thumbnails) == null ? void 0 : f.images) != null && g.background_team ? o.data.thumbnails.images.background_team : ""),
|
|
465
|
+
textColor: o.data.thumbnails.colors.font_color_description || "#FFFFFF",
|
|
466
466
|
footerBodyData: {
|
|
467
|
-
textColor:
|
|
468
|
-
description: P(I({ data:
|
|
469
|
-
totalTextColor:
|
|
470
|
-
totalCircleColor:
|
|
471
|
-
isTotalPercentage: !!
|
|
467
|
+
textColor: o.data.thumbnails.colors.font_color_stats || "#FFFFFF",
|
|
468
|
+
description: P(I({ data: o.data, descriptionType: o.descriptionType })),
|
|
469
|
+
totalTextColor: o.data.thumbnails.colors.font_color_stats || "#FFFFFF",
|
|
470
|
+
totalCircleColor: o.data.thumbnails.colors.background_color || "#000000",
|
|
471
|
+
isTotalPercentage: !!o.data.footer.show_percentage
|
|
472
472
|
}
|
|
473
473
|
};
|
|
474
474
|
}), y = p(() => ({
|
|
475
|
-
"--title-color":
|
|
475
|
+
"--title-color": o.data.thumbnails.colors.font_color_header || "#FFFFFF"
|
|
476
476
|
})), n = p(() => {
|
|
477
477
|
var e;
|
|
478
478
|
const i = "BALONES RECUPERADOS";
|
|
479
|
-
if (!
|
|
480
|
-
const k =
|
|
479
|
+
if (!o.data.title) return { title: "", subtitle: "" };
|
|
480
|
+
const k = o.data.title.replace(i, "").trim();
|
|
481
481
|
return {
|
|
482
482
|
title: i.replace(/\*/g, ""),
|
|
483
483
|
subtitle: k.replace(/\*/g, ""),
|
|
484
|
-
showPlus: !((e =
|
|
484
|
+
showPlus: !((e = o.data.footer) != null && e.show_percentage)
|
|
485
485
|
};
|
|
486
486
|
});
|
|
487
487
|
return (e, i) => (l(), c("div", {
|
|
488
488
|
class: "card-general",
|
|
489
489
|
style: F(y.value)
|
|
490
490
|
}, [
|
|
491
|
-
a.value ? (l(), _(O, v({ key: 0 }, a.value, { width:
|
|
491
|
+
a.value ? (l(), _(O, v({ key: 0 }, a.value, { width: r.width }), {
|
|
492
492
|
body: M(() => [
|
|
493
493
|
t("div", Zt, [
|
|
494
494
|
t("div", $t, [
|
|
495
495
|
S(Ut, {
|
|
496
|
-
colorfillcancha:
|
|
497
|
-
colorcancha:
|
|
498
|
-
colorstat:
|
|
499
|
-
cancha:
|
|
500
|
-
stat:
|
|
501
|
-
type:
|
|
496
|
+
colorfillcancha: o.data.thumbnails.colors.graphic_color_2,
|
|
497
|
+
colorcancha: o.data.thumbnails.colors.graphic_color,
|
|
498
|
+
colorstat: o.data.thumbnails.colors.data_color,
|
|
499
|
+
cancha: o.data.categories,
|
|
500
|
+
stat: o.data.body && o.data.body.show_percentage == 0 ? o.data.total : o.data.percentage,
|
|
501
|
+
type: o.data.body.show_percentage == 1 ? "accelerometer" : "box"
|
|
502
502
|
}, null, 8, ["colorfillcancha", "colorcancha", "colorstat", "cancha", "stat", "type"])
|
|
503
503
|
]),
|
|
504
504
|
t("div", Rt, [
|
|
@@ -511,7 +511,7 @@ const Ut = /* @__PURE__ */ b(u, [["render", At], ["__scopeId", "data-v-e8032436"
|
|
|
511
511
|
}, 16, ["width"])) : d("", !0)
|
|
512
512
|
], 4));
|
|
513
513
|
}
|
|
514
|
-
}, Qt = /* @__PURE__ */ b(Gt, [["__scopeId", "data-v-
|
|
514
|
+
}, Qt = /* @__PURE__ */ b(Gt, [["__scopeId", "data-v-5d3e9ef1"]]);
|
|
515
515
|
export {
|
|
516
516
|
Qt as default
|
|
517
517
|
};
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
import { computed as i, openBlock as l, createElementBlock as d, normalizeStyle as b, createVNode as f, normalizeProps as v, guardReactiveProps as C, withCtx as w, createElementVNode as o, toDisplayString as F, Fragment as g, pushScopeId as y, popScopeId as L } from "vue";
|
|
2
|
+
import { o as x } from "./CardBaseAllIndividual-CNB7K2M0-nej9DJ8x.js";
|
|
3
|
+
import { h as k, z as S, P as I, E as P, I as z, O as B } from "./misc-BbzSgyER-2p2XKW1m.js";
|
|
4
|
+
const m = (a) => (y("data-v-8b181cf7"), a = a(), L(), a), E = { class: "onevsone__body" }, T = { class: "onevsone__body__title" }, H = { class: "contsvg" }, N = /* @__PURE__ */ m(() => /* @__PURE__ */ o("img", { src: "http://golstatsimages.blob.core.windows.net/tournaments-cards/downloaddefensivo.png" }, null, -1)), D = ["fill"], M = ["fill"], U = /* @__PURE__ */ m(() => /* @__PURE__ */ o("img", { src: "http://golstatsimages.blob.core.windows.net/tournaments-cards/download.png" }, null, -1)), V = ["fill"], Z = ["fill"], O = {
|
|
5
|
+
__name: "CardIndividual1vs1",
|
|
6
|
+
props: {
|
|
7
|
+
height: {
|
|
8
|
+
type: String,
|
|
9
|
+
default: "445px"
|
|
10
|
+
},
|
|
11
|
+
width: {
|
|
12
|
+
type: String,
|
|
13
|
+
default: "319px"
|
|
14
|
+
},
|
|
15
|
+
data: {
|
|
16
|
+
type: Object,
|
|
17
|
+
default: () => null
|
|
18
|
+
},
|
|
19
|
+
descriptionType: {
|
|
20
|
+
type: Number,
|
|
21
|
+
default: 0
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
setup(a) {
|
|
25
|
+
const t = a, h = i(() => {
|
|
26
|
+
var n, r, e, s, c, u, p;
|
|
27
|
+
return {
|
|
28
|
+
height: t.height,
|
|
29
|
+
width: t.width,
|
|
30
|
+
footerHeight: "137px",
|
|
31
|
+
footerPadding: "24px 24px 25px 24px",
|
|
32
|
+
playerPhotoUrl: S(t.data.player_id || ""),
|
|
33
|
+
teamLogoUrl: I(t.data.team_id || "") || "",
|
|
34
|
+
cardColor: t.data.thumbnails.colors.background_color || "#000000",
|
|
35
|
+
backgroundImageSrc: P((s = (e = (r = (n = t.data) == null ? void 0 : n.thumbnails) == null ? void 0 : r.images) == null ? void 0 : e.background_player_in_action) != null && s[0] ? t.data.thumbnails.images.background_player_in_action[0] : (p = (u = (c = t.data) == null ? void 0 : c.thumbnails) == null ? void 0 : u.images) != null && p.background_tean ? t.data.thumbnails.images.background_team : ""),
|
|
36
|
+
textColor: t.data.thumbnails.colors.font_color_description || "#FFFFFF",
|
|
37
|
+
footerBodyData: {
|
|
38
|
+
textColor: t.data.thumbnails.colors.font_color_stats || "#FFFFFF",
|
|
39
|
+
description: z(B({ data: t.data, descriptionType: t.descriptionType })),
|
|
40
|
+
total: t.data.body && t.data.body.show_percentage == 1 ? t.data.percentage : t.data.total,
|
|
41
|
+
totalTextColor: t.data.thumbnails.colors.font_color_stats || "#FFFFFF",
|
|
42
|
+
totalCircleColor: t.data.thumbnails.colors.background_color || "#000000",
|
|
43
|
+
isTotalPercentage: t.data.body && !!t.data.body.show_percentage
|
|
44
|
+
}
|
|
45
|
+
};
|
|
46
|
+
});
|
|
47
|
+
i(() => t.data.id);
|
|
48
|
+
const _ = i(() => ({
|
|
49
|
+
"--title-color": t.data.thumbnails.colors.font_color_header || "#FFFFFF"
|
|
50
|
+
}));
|
|
51
|
+
return (n, r) => (l(), d("div", {
|
|
52
|
+
class: "onevsone",
|
|
53
|
+
style: b(_.value)
|
|
54
|
+
}, [
|
|
55
|
+
f(x, v(C(h.value)), {
|
|
56
|
+
body: w(() => {
|
|
57
|
+
var e;
|
|
58
|
+
return [
|
|
59
|
+
o("div", E, [
|
|
60
|
+
o("div", T, F(t.data.title.replace(/\*/g, "")), 1),
|
|
61
|
+
o("div", H, [
|
|
62
|
+
(e = t.data.categories) != null && e.includes(4) ? (l(), d(g, { key: 1 }, [
|
|
63
|
+
U,
|
|
64
|
+
(l(), d("svg", {
|
|
65
|
+
width: "12",
|
|
66
|
+
class: "arrow",
|
|
67
|
+
height: "75",
|
|
68
|
+
viewBox: "0 0 12 75",
|
|
69
|
+
fill: t.data.thumbnails.colors.icon_color,
|
|
70
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
71
|
+
}, [
|
|
72
|
+
o("path", {
|
|
73
|
+
"fill-rule": "evenodd",
|
|
74
|
+
"clip-rule": "evenodd",
|
|
75
|
+
d: "M5 4.5489L5 75H7L7 4.62807L10.1992 7.86923C10.3268 7.9985 10.4817 8.05853 10.664 8.04929C10.8463 8.04006 11.0013 7.9708 11.1289 7.84153L11.7304 7.23208C11.858 7.1028 11.9218 6.94582 11.9218 6.76114C11.9218 6.57645 11.858 6.41948 11.7304 6.2902L6.34592 0.836174C6.23509 0.741615 6.10676 0.694336 5.96092 0.694336C5.77863 0.694336 5.62368 0.768211 5.49608 0.915955L0.191406 6.2902C0.0638018 6.41948 0 6.57645 0 6.76114C0 6.94582 0.0638018 7.1028 0.191406 7.23208L0.792967 7.84153C0.920571 7.9708 1.07552 8.04006 1.25781 8.04929C1.4401 8.05853 1.59505 7.9985 1.72265 7.86923L5 4.5489Z",
|
|
76
|
+
fill: t.data.thumbnails.colors.icon_color
|
|
77
|
+
}, null, 8, Z)
|
|
78
|
+
], 8, V))
|
|
79
|
+
], 64)) : (l(), d(g, { key: 0 }, [
|
|
80
|
+
N,
|
|
81
|
+
(l(), d("svg", {
|
|
82
|
+
class: "arrow",
|
|
83
|
+
width: "12",
|
|
84
|
+
height: "75",
|
|
85
|
+
viewBox: "0 0 12 75",
|
|
86
|
+
fill: t.data.thumbnails.colors.icon_color,
|
|
87
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
88
|
+
}, [
|
|
89
|
+
o("path", {
|
|
90
|
+
"fill-rule": "evenodd",
|
|
91
|
+
"clip-rule": "evenodd",
|
|
92
|
+
d: "M5 71.1454L5 0.694344H7L7 71.0663L10.1992 67.8251C10.3268 67.6958 10.4817 67.6358 10.664 67.6451C10.8463 67.6543 11.0013 67.7235 11.1289 67.8528L11.7304 68.4623C11.858 68.5915 11.9218 68.7485 11.9218 68.9332C11.9218 69.1179 11.858 69.2749 11.7304 69.4041L6.34592 74.8582C6.23509 74.9527 6.10676 75 5.96092 75C5.77863 75 5.62368 74.9261 5.49608 74.7784L0.191406 69.4041C0.0638018 69.2749 0 69.1179 0 68.9332C0 68.7485 0.0638018 68.5915 0.191406 68.4623L0.792967 67.8528C0.920571 67.7235 1.07552 67.6543 1.25781 67.6451C1.4401 67.6358 1.59505 67.6958 1.72265 67.8251L5 71.1454Z",
|
|
93
|
+
fill: t.data.thumbnails.colors.icon_color
|
|
94
|
+
}, null, 8, M)
|
|
95
|
+
], 8, D))
|
|
96
|
+
], 64))
|
|
97
|
+
])
|
|
98
|
+
])
|
|
99
|
+
];
|
|
100
|
+
}),
|
|
101
|
+
_: 1
|
|
102
|
+
}, 16)
|
|
103
|
+
], 4));
|
|
104
|
+
}
|
|
105
|
+
}, A = /* @__PURE__ */ k(O, [["__scopeId", "data-v-8b181cf7"]]);
|
|
106
|
+
export {
|
|
107
|
+
A as default
|
|
108
|
+
};
|
package/dist/{CardIndividualAreas-qEYtV2XP-C97pNpBa.js → CardIndividualAreas-D9mHXjfS-DrA6YV1T.js}
RENAMED
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { ref as
|
|
2
|
-
import {
|
|
3
|
-
import { h as Z, z as
|
|
4
|
-
const e = (l) => (
|
|
1
|
+
import { ref as k, computed as a, openBlock as d, createElementBlock as s, normalizeStyle as x, createVNode as v, normalizeProps as L, guardReactiveProps as F, withCtx as H, createElementVNode as t, toDisplayString as M, pushScopeId as S, popScopeId as B } from "vue";
|
|
2
|
+
import { o as b } from "./CardBaseAllIndividual-CNB7K2M0-nej9DJ8x.js";
|
|
3
|
+
import { h as Z, z as U, P as G, E as O, I, O as A } from "./misc-BbzSgyER-2p2XKW1m.js";
|
|
4
|
+
const e = (l) => (S("data-v-b93c2987"), l = l(), B(), l), D = { class: "areas__body" }, P = { class: "areas__body__title" }, V = { class: "areas-svg" }, R = {
|
|
5
5
|
key: 0,
|
|
6
6
|
width: "270",
|
|
7
7
|
height: "102",
|
|
8
8
|
viewBox: "0 0 270 102",
|
|
9
9
|
fill: "none",
|
|
10
10
|
xmlns: "http://www.w3.org/2000/svg"
|
|
11
|
-
},
|
|
11
|
+
}, T = ["fill"], z = /* @__PURE__ */ e(() => /* @__PURE__ */ t("path", {
|
|
12
12
|
opacity: "0.6",
|
|
13
13
|
d: "M267.61 94.5L270 102H0L2.31618 94.5H267.61Z",
|
|
14
14
|
fill: "black"
|
|
15
|
-
}, null, -1)),
|
|
15
|
+
}, null, -1)), E = /* @__PURE__ */ e(() => /* @__PURE__ */ t("path", {
|
|
16
16
|
opacity: "0.2",
|
|
17
17
|
d: "M31.1838 0H237.184L267.294 94.5H2L31.1838 0Z",
|
|
18
18
|
fill: "black"
|
|
19
|
-
}, null, -1)),
|
|
19
|
+
}, null, -1)), N = /* @__PURE__ */ e(() => /* @__PURE__ */ t("path", {
|
|
20
20
|
d: "M31.1838 0H237.184L267.294 94.5H2L31.1838 0Z",
|
|
21
21
|
fill: "url(#paint0_linear_2158_1200)"
|
|
22
22
|
}, null, -1)), $ = /* @__PURE__ */ e(() => /* @__PURE__ */ t("path", {
|
|
@@ -24,12 +24,12 @@ const e = (l) => (M("data-v-54e77886"), l = l(), S(), l), A = { class: "areas__b
|
|
|
24
24
|
stroke: "white",
|
|
25
25
|
"stroke-width": "0.548478",
|
|
26
26
|
"stroke-miterlimit": "10"
|
|
27
|
-
}, null, -1)),
|
|
27
|
+
}, null, -1)), j = /* @__PURE__ */ e(() => /* @__PURE__ */ t("path", {
|
|
28
28
|
d: "M101.781 94.5C103.275 84.4059 117.182 76.4963 134.116 76.4963C151.05 76.4963 164.956 84.4059 166.45 94.5",
|
|
29
29
|
stroke: "white",
|
|
30
30
|
"stroke-width": "0.548478",
|
|
31
31
|
"stroke-miterlimit": "10"
|
|
32
|
-
}, null, -1)),
|
|
32
|
+
}, null, -1)), q = /* @__PURE__ */ e(() => /* @__PURE__ */ t("g", { "clip-path": "url(#clip0_2158_1200)" }, [
|
|
33
33
|
/* @__PURE__ */ t("path", {
|
|
34
34
|
d: "M109.648 5.78662V12.589H159.32V5.78662",
|
|
35
35
|
stroke: "white",
|
|
@@ -48,27 +48,27 @@ const e = (l) => (M("data-v-54e77886"), l = l(), S(), l), A = { class: "areas__b
|
|
|
48
48
|
"stroke-width": "0.529565",
|
|
49
49
|
"stroke-miterlimit": "10"
|
|
50
50
|
})
|
|
51
|
-
], -1)),
|
|
51
|
+
], -1)), J = /* @__PURE__ */ e(() => /* @__PURE__ */ t("path", {
|
|
52
52
|
d: "M135.025 15.1789C114.024 15.179 97 33.149 97 55.3161L173.049 55.3161C173.049 33.149 156.025 15.1789 135.025 15.1789Z",
|
|
53
53
|
fill: "url(#paint1_linear_2158_1200)"
|
|
54
|
-
}, null, -1)),
|
|
54
|
+
}, null, -1)), K = /* @__PURE__ */ e(() => /* @__PURE__ */ t("path", {
|
|
55
55
|
"fill-rule": "evenodd",
|
|
56
56
|
"clip-rule": "evenodd",
|
|
57
57
|
d: "M130.894 41.8935L134.901 48.8342L138.908 41.8935L135.595 41.8935L135.595 15.3646L134.207 15.3646L134.207 41.8935L130.894 41.8935Z",
|
|
58
58
|
fill: "white"
|
|
59
|
-
}, null, -1)),
|
|
59
|
+
}, null, -1)), Q = /* @__PURE__ */ e(() => /* @__PURE__ */ t("g", { filter: "url(#filter0_d_2158_1200)" }, [
|
|
60
60
|
/* @__PURE__ */ t("path", {
|
|
61
61
|
d: "M134.9 9.66332C137.744 9.66332 140.049 11.9687 140.049 14.8125C140.049 17.6563 137.744 19.9617 134.9 19.9617C132.056 19.9617 129.751 17.6563 129.751 14.8125C129.751 11.9687 132.056 9.66332 134.9 9.66332Z",
|
|
62
62
|
fill: "#4790FF"
|
|
63
63
|
})
|
|
64
|
-
], -1)),
|
|
64
|
+
], -1)), W = /* @__PURE__ */ e(() => /* @__PURE__ */ t("g", { filter: "url(#filter1_d_2158_1200)" }, [
|
|
65
65
|
/* @__PURE__ */ t("path", {
|
|
66
66
|
"fill-rule": "evenodd",
|
|
67
67
|
"clip-rule": "evenodd",
|
|
68
68
|
d: "M141.534 14.8125C141.534 11.1488 138.564 8.17886 134.9 8.17886C131.237 8.17886 128.267 11.1488 128.267 14.8125C128.267 18.4761 131.237 21.446 134.9 21.446C138.564 21.446 141.534 18.4761 141.534 14.8125ZM140.049 14.8125C140.049 11.9686 137.744 9.66327 134.9 9.66327C132.056 9.66328 129.751 11.9686 129.751 14.8125C129.751 17.6563 132.056 19.9616 134.9 19.9616C137.744 19.9616 140.049 17.6563 140.049 14.8125Z",
|
|
69
69
|
fill: "white"
|
|
70
70
|
})
|
|
71
|
-
], -1)),
|
|
71
|
+
], -1)), X = /* @__PURE__ */ e(() => /* @__PURE__ */ t("defs", null, [
|
|
72
72
|
/* @__PURE__ */ t("filter", {
|
|
73
73
|
id: "filter0_d_2158_1200",
|
|
74
74
|
x: "125.751",
|
|
@@ -195,35 +195,35 @@ const e = (l) => (M("data-v-54e77886"), l = l(), S(), l), A = { class: "areas__b
|
|
|
195
195
|
transform: "translate(77.4746 5.52173)"
|
|
196
196
|
})
|
|
197
197
|
])
|
|
198
|
-
], -1)),
|
|
198
|
+
], -1)), Y = {
|
|
199
199
|
key: 1,
|
|
200
200
|
width: "270",
|
|
201
201
|
height: "113",
|
|
202
202
|
viewBox: "0 0 270 113",
|
|
203
203
|
fill: "none",
|
|
204
204
|
xmlns: "http://www.w3.org/2000/svg"
|
|
205
|
-
},
|
|
205
|
+
}, t1 = ["fill"], e1 = /* @__PURE__ */ e(() => /* @__PURE__ */ t("path", {
|
|
206
206
|
opacity: "0.6",
|
|
207
207
|
d: "M267.61 105.5L270 113H0L2.31618 105.5H267.61Z",
|
|
208
208
|
fill: "black"
|
|
209
|
-
}, null, -1)),
|
|
209
|
+
}, null, -1)), i1 = /* @__PURE__ */ e(() => /* @__PURE__ */ t("path", {
|
|
210
210
|
opacity: "0.2",
|
|
211
211
|
d: "M31.1838 11H237.184L267.294 105.5H2L31.1838 11Z",
|
|
212
212
|
fill: "black"
|
|
213
|
-
}, null, -1)),
|
|
213
|
+
}, null, -1)), l1 = /* @__PURE__ */ e(() => /* @__PURE__ */ t("path", {
|
|
214
214
|
d: "M31.1838 11H237.184L267.294 105.5H2L31.1838 11Z",
|
|
215
215
|
fill: "url(#paint0_linear_2158_1173)"
|
|
216
|
-
}, null, -1)),
|
|
216
|
+
}, null, -1)), a1 = /* @__PURE__ */ e(() => /* @__PURE__ */ t("path", {
|
|
217
217
|
d: "M38.4747 16.8369H228.866L254.033 105.5H14L38.4747 16.8369Z",
|
|
218
218
|
stroke: "white",
|
|
219
219
|
"stroke-width": "0.548478",
|
|
220
220
|
"stroke-miterlimit": "10"
|
|
221
|
-
}, null, -1)),
|
|
221
|
+
}, null, -1)), o1 = /* @__PURE__ */ e(() => /* @__PURE__ */ t("path", {
|
|
222
222
|
d: "M101.781 105.5C103.275 95.4059 117.182 87.4963 134.116 87.4963C151.05 87.4963 164.956 95.4059 166.45 105.5",
|
|
223
223
|
stroke: "white",
|
|
224
224
|
"stroke-width": "0.548478",
|
|
225
225
|
"stroke-miterlimit": "10"
|
|
226
|
-
}, null, -1)),
|
|
226
|
+
}, null, -1)), r1 = /* @__PURE__ */ e(() => /* @__PURE__ */ t("g", { "clip-path": "url(#clip0_2158_1173)" }, [
|
|
227
227
|
/* @__PURE__ */ t("path", {
|
|
228
228
|
d: "M109.648 16.7866V23.589H159.32V16.7866",
|
|
229
229
|
stroke: "white",
|
|
@@ -242,27 +242,27 @@ const e = (l) => (M("data-v-54e77886"), l = l(), S(), l), A = { class: "areas__b
|
|
|
242
242
|
"stroke-width": "0.529565",
|
|
243
243
|
"stroke-miterlimit": "10"
|
|
244
244
|
})
|
|
245
|
-
], -1)),
|
|
245
|
+
], -1)), d1 = /* @__PURE__ */ e(() => /* @__PURE__ */ t("path", {
|
|
246
246
|
d: "M135 40C114.013 40 97 26.5685 97 9.99999L173 10C173 26.5686 155.987 40 135 40Z",
|
|
247
247
|
fill: "url(#paint1_linear_2158_1173)"
|
|
248
|
-
}, null, -1)),
|
|
248
|
+
}, null, -1)), s1 = /* @__PURE__ */ e(() => /* @__PURE__ */ t("path", {
|
|
249
249
|
"fill-rule": "evenodd",
|
|
250
250
|
"clip-rule": "evenodd",
|
|
251
251
|
d: "M130.894 24.2854L134.901 17.3447L138.908 24.2854L135.595 24.2854L135.595 38.8144L134.207 38.8144L134.207 24.2854L130.894 24.2854Z",
|
|
252
252
|
fill: "white"
|
|
253
|
-
}, null, -1)),
|
|
253
|
+
}, null, -1)), n1 = /* @__PURE__ */ e(() => /* @__PURE__ */ t("g", { filter: "url(#filter0_d_2158_1173)" }, [
|
|
254
254
|
/* @__PURE__ */ t("path", {
|
|
255
255
|
d: "M134.9 45.5156C137.744 45.5156 140.049 43.2103 140.049 40.3665C140.049 37.5227 137.744 35.2173 134.9 35.2173C132.056 35.2173 129.751 37.5227 129.751 40.3665C129.751 43.2103 132.056 45.5156 134.9 45.5156Z",
|
|
256
256
|
fill: "#4790FF"
|
|
257
257
|
})
|
|
258
|
-
], -1)),
|
|
258
|
+
], -1)), p1 = /* @__PURE__ */ e(() => /* @__PURE__ */ t("g", { filter: "url(#filter1_d_2158_1173)" }, [
|
|
259
259
|
/* @__PURE__ */ t("path", {
|
|
260
260
|
"fill-rule": "evenodd",
|
|
261
261
|
"clip-rule": "evenodd",
|
|
262
262
|
d: "M141.534 40.3665C141.534 44.0301 138.564 47.0001 134.9 47.0001C131.237 47.0001 128.267 44.0301 128.267 40.3665C128.267 36.7029 131.237 33.7329 134.9 33.7329C138.564 33.7329 141.534 36.7029 141.534 40.3665ZM140.049 40.3665C140.049 43.2103 137.744 45.5157 134.9 45.5157C132.056 45.5157 129.751 43.2103 129.751 40.3665C129.751 37.5227 132.056 35.2173 134.9 35.2173C137.744 35.2173 140.049 37.5227 140.049 40.3665Z",
|
|
263
263
|
fill: "white"
|
|
264
264
|
})
|
|
265
|
-
], -1)),
|
|
265
|
+
], -1)), h1 = /* @__PURE__ */ e(() => /* @__PURE__ */ t("defs", null, [
|
|
266
266
|
/* @__PURE__ */ t("filter", {
|
|
267
267
|
id: "filter0_d_2158_1173",
|
|
268
268
|
x: "125.751",
|
|
@@ -389,7 +389,7 @@ const e = (l) => (M("data-v-54e77886"), l = l(), S(), l), A = { class: "areas__b
|
|
|
389
389
|
transform: "translate(77.4746 16.5217)"
|
|
390
390
|
})
|
|
391
391
|
])
|
|
392
|
-
], -1)),
|
|
392
|
+
], -1)), f1 = {
|
|
393
393
|
__name: "CardIndividualAreas",
|
|
394
394
|
props: {
|
|
395
395
|
height: {
|
|
@@ -410,12 +410,12 @@ const e = (l) => (M("data-v-54e77886"), l = l(), S(), l), A = { class: "areas__b
|
|
|
410
410
|
}
|
|
411
411
|
},
|
|
412
412
|
setup(l) {
|
|
413
|
-
const i = l,
|
|
413
|
+
const i = l, g = /* @__PURE__ */ new Set([
|
|
414
414
|
"74-i",
|
|
415
415
|
"75-i",
|
|
416
416
|
"76-i",
|
|
417
417
|
"35-e"
|
|
418
|
-
]), n =
|
|
418
|
+
]), n = k([
|
|
419
419
|
{
|
|
420
420
|
id: 1,
|
|
421
421
|
name: "Área propia"
|
|
@@ -424,61 +424,61 @@ const e = (l) => (M("data-v-54e77886"), l = l(), S(), l), A = { class: "areas__b
|
|
|
424
424
|
id: 2,
|
|
425
425
|
name: "Área rival"
|
|
426
426
|
}
|
|
427
|
-
]),
|
|
427
|
+
]), w = a(() => {
|
|
428
428
|
var o, r, f, u, c, _;
|
|
429
|
+
const m = i.data.footer.show_percentage;
|
|
429
430
|
return {
|
|
430
431
|
height: i.height,
|
|
431
432
|
width: i.width,
|
|
432
433
|
footerHeight: "137px",
|
|
433
|
-
playerPhotoUrl:
|
|
434
|
-
teamLogoUrl:
|
|
434
|
+
playerPhotoUrl: U(i.data.player_id || ""),
|
|
435
|
+
teamLogoUrl: G(i.data.team_id || ""),
|
|
435
436
|
cardColor: (i.data.thumbnails.colors.background_color || "#000000").trim(),
|
|
436
|
-
backgroundImageSrc:
|
|
437
|
+
backgroundImageSrc: O((f = (r = (o = i.data) == null ? void 0 : o.thumbnails) == null ? void 0 : r.images) != null && f.background_player_in_action[0] ? i.data.thumbnails.images.background_player_in_action[0] : (_ = (c = (u = i.data) == null ? void 0 : u.thumbnails) == null ? void 0 : c.images) != null && _.background_team ? i.data.thumbnails.images.background_team : ""),
|
|
437
438
|
footerBodyData: {
|
|
438
|
-
description:
|
|
439
|
-
total: i.data.total,
|
|
440
|
-
isTotalPercentage:
|
|
439
|
+
description: I(A({ data: i.data, descriptionType: i.descriptionType })),
|
|
440
|
+
total: m ? i.data.percentage : i.data.total,
|
|
441
|
+
isTotalPercentage: m,
|
|
441
442
|
textColor: (i.data.thumbnails.colors.font_color_description || "#FFFFFF").trim(),
|
|
442
443
|
totalTextColor: (i.data.thumbnails.colors.font_color_stats || "#FFFFFF").trim(),
|
|
443
444
|
totalCircleColor: (i.data.thumbnails.colors.data_color || "#000000").trim()
|
|
444
445
|
}
|
|
445
446
|
};
|
|
446
|
-
}),
|
|
447
|
+
}), y = a(() => i.data.id), p = a(() => ({
|
|
447
448
|
fieldColor: (i.data.thumbnails.colors.graphic_color || "#FFFFFF").trim()
|
|
448
|
-
})), h = a(() =>
|
|
449
|
+
})), h = a(() => g.has(y.value) ? n.value[0] : n.value[1]), C = a(() => ({
|
|
449
450
|
"--title-color": i.data.thumbnails.colors.font_color_header || "#FFFFFF"
|
|
450
451
|
}));
|
|
451
452
|
return (o, r) => (d(), s("div", {
|
|
452
453
|
class: "areas",
|
|
453
|
-
style:
|
|
454
|
+
style: x(C.value)
|
|
454
455
|
}, [
|
|
455
|
-
|
|
456
|
-
body:
|
|
457
|
-
t("div",
|
|
458
|
-
t("div", P,
|
|
459
|
-
t("div",
|
|
460
|
-
h.value.id === 1 ? (d(), s("svg",
|
|
456
|
+
v(b, L(F(w.value)), {
|
|
457
|
+
body: H(() => [
|
|
458
|
+
t("div", D, [
|
|
459
|
+
t("div", P, M(h.value.name), 1),
|
|
460
|
+
t("div", V, [
|
|
461
|
+
h.value.id === 1 ? (d(), s("svg", R, [
|
|
461
462
|
t("path", {
|
|
462
463
|
d: "M31.5 0H237.5L270 102H0L31.5 0Z",
|
|
463
464
|
fill: p.value.fieldColor
|
|
464
|
-
}, null, 8,
|
|
465
|
-
T,
|
|
465
|
+
}, null, 8, T),
|
|
466
466
|
z,
|
|
467
467
|
E,
|
|
468
|
-
$,
|
|
469
468
|
N,
|
|
469
|
+
$,
|
|
470
470
|
j,
|
|
471
471
|
q,
|
|
472
472
|
J,
|
|
473
473
|
K,
|
|
474
474
|
Q,
|
|
475
|
-
W
|
|
476
|
-
|
|
475
|
+
W,
|
|
476
|
+
X
|
|
477
|
+
])) : (d(), s("svg", Y, [
|
|
477
478
|
t("path", {
|
|
478
479
|
d: "M31.5 11H237.5L270 113H0L31.5 11Z",
|
|
479
480
|
fill: p.value.fieldColor
|
|
480
|
-
}, null, 8,
|
|
481
|
-
t1,
|
|
481
|
+
}, null, 8, t1),
|
|
482
482
|
e1,
|
|
483
483
|
i1,
|
|
484
484
|
l1,
|
|
@@ -488,7 +488,8 @@ const e = (l) => (M("data-v-54e77886"), l = l(), S(), l), A = { class: "areas__b
|
|
|
488
488
|
d1,
|
|
489
489
|
s1,
|
|
490
490
|
n1,
|
|
491
|
-
p1
|
|
491
|
+
p1,
|
|
492
|
+
h1
|
|
492
493
|
]))
|
|
493
494
|
])
|
|
494
495
|
])
|
|
@@ -497,7 +498,7 @@ const e = (l) => (M("data-v-54e77886"), l = l(), S(), l), A = { class: "areas__b
|
|
|
497
498
|
}, 16)
|
|
498
499
|
], 4));
|
|
499
500
|
}
|
|
500
|
-
},
|
|
501
|
+
}, m1 = /* @__PURE__ */ Z(f1, [["__scopeId", "data-v-b93c2987"]]);
|
|
501
502
|
export {
|
|
502
|
-
|
|
503
|
+
m1 as default
|
|
503
504
|
};
|