@golstats/gsc-landing 1.0.204 → 1.0.206
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/README.md +2 -2
- package/dist/CardBase-FI6JXGHQ-DgZSiy8R.js +127 -0
- package/dist/{CardBaseAllIndividual-VdTcJTWG-BVu0s4Ia.js → CardBaseAllIndividual-DmeCG9Bu-LvinOZnn.js} +14 -14
- package/dist/{CardGeneral-C-VvuOx1-DZ1STmiu.js → CardGeneral-CA0zyzc5-DTGPMgoe.js} +36 -35
- package/dist/{CardGeneralIndividual-Dgeu5sRM-B8G1a9du.js → CardGeneralIndividual-CGvW_cNJ-CWAOLODF.js} +28 -27
- package/dist/{CardGeneralTeams-Bio2uWy5-JwL6999E.js → CardGeneralTeams-B2Mt_1ck-CZairEy1.js} +25 -24
- package/dist/{CardIndividual-C3vZnJKJ-5q9bHalb.js → CardIndividual-CVuyIMNJ-BinEbeF0.js} +72 -71
- package/dist/{CardIndividual1vs1-ayelgnf_-Dzunebe6.js → CardIndividual1vs1-CHGIwVW_-CL09RBuw.js} +19 -18
- package/dist/{CardIndividualAreas-Be04td4J-D8hPG9Ld.js → CardIndividualAreas-CTSkG6vH-DdMX1DPx.js} +109 -108
- package/dist/{CardIndividualCenters-CY_VblPm-tco6UKC3.js → CardIndividualCenters-CtOymA-1-Dia2it8D.js} +22 -21
- package/dist/{CardIndividualDistance-BJMYJrZB-CSYRc_Hh.js → CardIndividualDistance-BEunwEvl-Ck4Eib53.js} +19 -18
- package/dist/{CardIndividualFouls-CBm_fj6Z-BMwjoJEP.js → CardIndividualFouls-BZmy1C5v-tvHPDay7.js} +30 -29
- package/dist/{CardIndividualGoalParticipation-dDcZFtIb-CwBtEPQN.js → CardIndividualGoalParticipation-BfQRXmuo-DMHkdzl5.js} +15 -14
- package/dist/{CardIndividualGoals-Lu8PEJkR-B7Wc968g.js → CardIndividualGoals-DG9vgQml-1hwxM4xL.js} +270 -218
- package/dist/{CardIndividualGold-Ptz6THCG-BRqzfQcT.js → CardIndividualGold-Rwil02C5-Dvg03mET.js} +17 -16
- package/dist/{CardIndividualNoGoalReceived-kUSshVQ5-B_Vte5MR.js → CardIndividualNoGoalReceived-DKrbZDyK-szhW24LN.js} +20 -19
- package/dist/{CardIndividualPerformance-BUOn0sF1-9J7h-EAR.js → CardIndividualPerformance-BxmlC3DF-kLfzL9S9.js} +22 -21
- package/dist/{CardIndividualSaves-DRGasLFI-C3bqv0g3.js → CardIndividualSaves-CpNX7tF6-C0kcQFrp.js} +48 -47
- package/dist/{CardIndividualShotsOnGoal-D9Dx66aR-DAEm50w4.js → CardIndividualShotsOnGoal-Bz2egr4P-Fb4NnBY_.js} +26 -25
- package/dist/{CardIndividualStatistics-QY2fzyFQ-Cx6f8RYu.js → CardIndividualStatistics-SG4MGex_-Ch5fK7Iv.js} +29 -28
- package/dist/{CardPromTournament-BScZREpO-D50kVl_Z.js → CardPromTournament-Crs0KmXt-D89xrrMZ.js} +27 -26
- package/dist/{CardSuccessfulPasses-B3BQ72bh-2Afgc80U.js → CardSuccessfulPasses-BCOa64Fb-DnR3a8mm.js} +112 -111
- package/dist/{CardTheMostProductive-DhsxmRN2-BerzYRSH.js → CardTheMostProductive-BewV6KUX-BJLdMRql.js} +15 -14
- package/dist/{CircleWithDotsBig-ayb1XwYk-BxAR6vi7.js → CircleWithDotsBig-BXHW1pPv-Dt0X3xrN.js} +8 -8
- package/dist/{Shield-DAT34Ykl-aryfBwhm.js → Shield-DrqywZtU-Cjo78NyW.js} +6 -6
- package/dist/TimeSvg-B3vSNjgQ-BbQ6V9Cu.js +56 -0
- package/dist/gsc-landing.js +2 -57698
- package/dist/gsc-landing.umd.cjs +57 -57
- package/dist/index-BfXTbEFT.js +57868 -0
- package/dist/style.css +1 -1
- package/package.json +53 -54
- package/dist/TimeSvg-Cxp_p6OH-cZfI6hDf.js +0 -95
- package/dist/misc-D94RabGe-BRVOC8Yx.js +0 -172
package/README.md
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
# landing-component
|
|
2
|
-
Componente de la pagina principal de Golstats 3.0
|
|
1
|
+
# landing-component
|
|
2
|
+
Componente de la pagina principal de Golstats 3.0
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
import { computed as u, openBlock as t, createElementBlock as o, normalizeClass as n, normalizeStyle as p, createCommentVNode as c, createElementVNode as l, renderSlot as g, pushScopeId as y, popScopeId as f } from "vue";
|
|
2
|
+
import { M as b, z as v } from "./index-BfXTbEFT.js";
|
|
3
|
+
const h = (e, r) => {
|
|
4
|
+
const d = e.__vccOpts || e;
|
|
5
|
+
for (const [i, s] of r)
|
|
6
|
+
d[i] = s;
|
|
7
|
+
return d;
|
|
8
|
+
}, k = (e) => (y("data-v-32f11850"), e = e(), f(), e), m = {
|
|
9
|
+
key: 0,
|
|
10
|
+
class: "card-base__background-image"
|
|
11
|
+
}, w = ["src"], S = {
|
|
12
|
+
key: 1,
|
|
13
|
+
class: "card-base__background-overlay"
|
|
14
|
+
}, _ = { class: "card-base__slot" }, C = /* @__PURE__ */ k(() => /* @__PURE__ */ l("svg", {
|
|
15
|
+
width: "60",
|
|
16
|
+
height: "60",
|
|
17
|
+
viewBox: "0 0 60 60",
|
|
18
|
+
fill: "none",
|
|
19
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
20
|
+
}, [
|
|
21
|
+
/* @__PURE__ */ l("circle", {
|
|
22
|
+
cx: "30",
|
|
23
|
+
cy: "30",
|
|
24
|
+
r: "30",
|
|
25
|
+
fill: "#0E1E2A",
|
|
26
|
+
"fill-opacity": ".96"
|
|
27
|
+
}),
|
|
28
|
+
/* @__PURE__ */ l("circle", {
|
|
29
|
+
cx: "30",
|
|
30
|
+
cy: "30",
|
|
31
|
+
r: "26.6",
|
|
32
|
+
stroke: "#757575",
|
|
33
|
+
"stroke-width": ".8"
|
|
34
|
+
}),
|
|
35
|
+
/* @__PURE__ */ l("path", {
|
|
36
|
+
d: "M25.49 39.862a1.058 1.058 0 0 1-.359-.43 1.396 1.396 0 0 1-.131-.6V20.165a1.4 1.4 0 0 1 .132-.599c.087-.18.21-.329.358-.429a.777.777 0 0 1 .483-.137c.167.01.33.077.47.194l11.143 9.333c.127.107.232.25.304.42.072.17.11.358.11.55 0 .193-.038.382-.11.55-.072.17-.177.314-.304.42l-11.143 9.337a.808.808 0 0 1-.47.194.776.776 0 0 1-.482-.137z",
|
|
37
|
+
fill: "#CBEE6B"
|
|
38
|
+
})
|
|
39
|
+
], -1)), B = [
|
|
40
|
+
C
|
|
41
|
+
], x = {
|
|
42
|
+
__name: "CardBase",
|
|
43
|
+
props: {
|
|
44
|
+
height: {
|
|
45
|
+
type: String,
|
|
46
|
+
default: "445px"
|
|
47
|
+
},
|
|
48
|
+
width: {
|
|
49
|
+
type: String,
|
|
50
|
+
default: "319px"
|
|
51
|
+
},
|
|
52
|
+
backgroundOverlayColor: {
|
|
53
|
+
type: String,
|
|
54
|
+
default: "#000000"
|
|
55
|
+
},
|
|
56
|
+
backgroundOverlayOpacity: {
|
|
57
|
+
type: String,
|
|
58
|
+
default: "0.8"
|
|
59
|
+
},
|
|
60
|
+
backgroundImageSrc: {
|
|
61
|
+
type: String,
|
|
62
|
+
default: ""
|
|
63
|
+
},
|
|
64
|
+
overflow: {
|
|
65
|
+
type: String,
|
|
66
|
+
default: "visible"
|
|
67
|
+
},
|
|
68
|
+
borderRadius: {
|
|
69
|
+
type: String,
|
|
70
|
+
default: "15px"
|
|
71
|
+
},
|
|
72
|
+
isPlayButtonVisible: {
|
|
73
|
+
type: Boolean,
|
|
74
|
+
default: !0
|
|
75
|
+
},
|
|
76
|
+
goldCardType: {
|
|
77
|
+
type: Number,
|
|
78
|
+
default: 0
|
|
79
|
+
},
|
|
80
|
+
showVideos: {
|
|
81
|
+
type: Boolean,
|
|
82
|
+
default: !0
|
|
83
|
+
}
|
|
84
|
+
},
|
|
85
|
+
setup(e) {
|
|
86
|
+
const r = e, d = u(() => ({
|
|
87
|
+
"--height": r.height,
|
|
88
|
+
"--width": r.width,
|
|
89
|
+
"--background-overlay-color": r.backgroundOverlayColor,
|
|
90
|
+
"--overflow": r.overflow,
|
|
91
|
+
"--border-radius": r.borderRadius,
|
|
92
|
+
"--background-overlay-opacity": r.backgroundOverlayOpacity,
|
|
93
|
+
"--background-gold-size": `${r.width} ${r.height}`
|
|
94
|
+
})), i = u(() => {
|
|
95
|
+
const a = [];
|
|
96
|
+
return r.goldCardType && (r.goldCardType === 1 ? a.push("gold-card-1") : r.goldCardType === 2 && a.push("gold-card-2")), a;
|
|
97
|
+
});
|
|
98
|
+
function s() {
|
|
99
|
+
b.emit(v());
|
|
100
|
+
}
|
|
101
|
+
return (a, E) => (t(), o("div", {
|
|
102
|
+
class: n(["card-base", i.value]),
|
|
103
|
+
style: p(d.value)
|
|
104
|
+
}, [
|
|
105
|
+
e.goldCardType ? c("", !0) : (t(), o("div", m, [
|
|
106
|
+
e.backgroundImageSrc ? (t(), o("img", {
|
|
107
|
+
key: 0,
|
|
108
|
+
src: e.backgroundImageSrc,
|
|
109
|
+
alt: ""
|
|
110
|
+
}, null, 8, w)) : c("", !0)
|
|
111
|
+
])),
|
|
112
|
+
e.goldCardType ? c("", !0) : (t(), o("div", S)),
|
|
113
|
+
l("div", _, [
|
|
114
|
+
g(a.$slots, "default", {}, void 0, !0)
|
|
115
|
+
]),
|
|
116
|
+
e.isPlayButtonVisible && e.showVideos ? (t(), o("div", {
|
|
117
|
+
key: 2,
|
|
118
|
+
class: "card-base__play",
|
|
119
|
+
onClick: s
|
|
120
|
+
}, B)) : c("", !0)
|
|
121
|
+
], 6));
|
|
122
|
+
}
|
|
123
|
+
}, V = /* @__PURE__ */ h(x, [["__scopeId", "data-v-32f11850"]]);
|
|
124
|
+
export {
|
|
125
|
+
V as E,
|
|
126
|
+
h as b
|
|
127
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { computed as i, openBlock as o, createElementBlock as a, normalizeStyle as p, createBlock as B, mergeProps as S, withCtx as w, renderSlot as x, createElementVNode as r, createCommentVNode as l, normalizeClass as H, toDisplayString as s, Fragment as
|
|
2
|
-
import {
|
|
3
|
-
const
|
|
1
|
+
import { computed as i, openBlock as o, createElementBlock as a, normalizeStyle as p, createBlock as B, mergeProps as S, withCtx as w, renderSlot as x, createElementVNode as r, createCommentVNode as l, normalizeClass as H, toDisplayString as s, Fragment as b, createVNode as D } from "vue";
|
|
2
|
+
import { b as k, E as P } from "./CardBase-FI6JXGHQ-DgZSiy8R.js";
|
|
3
|
+
const T = { class: "circle__total" }, $ = { class: "total" }, L = { class: "suffix" }, N = ["width", "height", "viewBox"], z = ["stroke"], U = ["stroke"], I = ["stop-color"], M = ["stop-color"], V = {
|
|
4
4
|
__name: "CircleWithDots",
|
|
5
5
|
props: {
|
|
6
6
|
height: {
|
|
@@ -48,7 +48,7 @@ const P = { class: "circle__total" }, $ = { class: "total" }, L = { class: "suff
|
|
|
48
48
|
class: "circle",
|
|
49
49
|
style: p(n.value)
|
|
50
50
|
}, [
|
|
51
|
-
r("div",
|
|
51
|
+
r("div", T, [
|
|
52
52
|
r("span", $, s(e.value), 1),
|
|
53
53
|
r("span", L, s(e.suffix), 1)
|
|
54
54
|
]),
|
|
@@ -92,10 +92,10 @@ const P = { class: "circle__total" }, $ = { class: "total" }, L = { class: "suff
|
|
|
92
92
|
], 8, N))
|
|
93
93
|
], 4));
|
|
94
94
|
}
|
|
95
|
-
}, m = /* @__PURE__ */ k(V, [["__scopeId", "data-v-b9adcb76"]]),
|
|
95
|
+
}, m = /* @__PURE__ */ k(V, [["__scopeId", "data-v-b9adcb76"]]), E = {
|
|
96
96
|
key: 0,
|
|
97
97
|
class: "card-base-individual__content__player-img"
|
|
98
|
-
},
|
|
98
|
+
}, O = ["src"], A = {
|
|
99
99
|
key: 1,
|
|
100
100
|
class: "card-base-individual__content__team-logo"
|
|
101
101
|
}, R = ["src"], j = {
|
|
@@ -260,7 +260,7 @@ const P = { class: "circle__total" }, $ = { class: "total" }, L = { class: "suff
|
|
|
260
260
|
class: "card-base-individual",
|
|
261
261
|
style: p(u.value)
|
|
262
262
|
}, [
|
|
263
|
-
n.value ? (o(), B(
|
|
263
|
+
n.value ? (o(), B(P, S({ key: 0 }, n.value, { width: e.width }), {
|
|
264
264
|
default: w(() => [
|
|
265
265
|
x(d.$slots, "default", {}, () => [
|
|
266
266
|
f.value ? (o(), a("div", {
|
|
@@ -268,15 +268,15 @@ const P = { class: "circle__total" }, $ = { class: "total" }, L = { class: "suff
|
|
|
268
268
|
style: p(u.value),
|
|
269
269
|
class: "card-base-individual__content"
|
|
270
270
|
}, [
|
|
271
|
-
e.playerPhotoUrl ? (o(), a("div",
|
|
271
|
+
e.playerPhotoUrl ? (o(), a("div", E, [
|
|
272
272
|
r("div", null, [
|
|
273
273
|
r("img", {
|
|
274
274
|
src: e.playerPhotoUrl,
|
|
275
275
|
alt: "player"
|
|
276
|
-
}, null, 8,
|
|
276
|
+
}, null, 8, O)
|
|
277
277
|
])
|
|
278
278
|
])) : l("", !0),
|
|
279
|
-
e.teamLogoUrl ? (o(), a("div",
|
|
279
|
+
e.teamLogoUrl ? (o(), a("div", A, [
|
|
280
280
|
r("img", {
|
|
281
281
|
src: e.teamLogoUrl,
|
|
282
282
|
alt: "team"
|
|
@@ -290,9 +290,9 @@ const P = { class: "circle__total" }, $ = { class: "total" }, L = { class: "suff
|
|
|
290
290
|
e.footerHeaderData.title ? (o(), a("div", G, s(e.footerHeaderData.title), 1)) : l("", !0),
|
|
291
291
|
e.footerHeaderData.title ? (o(), a("div", W, s(e.footerHeaderData.subtitle), 1)) : l("", !0)
|
|
292
292
|
])) : l("", !0),
|
|
293
|
-
e.footerHeaderData.total ? (o(), a(
|
|
293
|
+
e.footerHeaderData.total ? (o(), a(b, { key: 1 }, [
|
|
294
294
|
e.footerHeaderData.isTotalPercentage ? (o(), a("div", Y, [
|
|
295
|
-
|
|
295
|
+
D(m, {
|
|
296
296
|
value: e.footerHeaderData.total,
|
|
297
297
|
"text-color": e.footerBodyData.totalTextColor,
|
|
298
298
|
color: e.footerBodyData.totalCircleColor
|
|
@@ -305,9 +305,9 @@ const P = { class: "circle__total" }, $ = { class: "total" }, L = { class: "suff
|
|
|
305
305
|
class: "card-base-individual__content__footer__body__description",
|
|
306
306
|
innerHTML: e.footerBodyData.description
|
|
307
307
|
}, null, 8, K),
|
|
308
|
-
e.footerBodyData.total ? (o(), a(
|
|
308
|
+
e.footerBodyData.total ? (o(), a(b, { key: 0 }, [
|
|
309
309
|
e.footerBodyData.isTotalPercentage ? (o(), a("div", Q, [
|
|
310
|
-
|
|
310
|
+
D(m, {
|
|
311
311
|
value: e.footerBodyData.total,
|
|
312
312
|
"text-color": e.footerBodyData.totalTextColor,
|
|
313
313
|
color: e.footerBodyData.totalCircleColor
|
|
@@ -1,21 +1,22 @@
|
|
|
1
|
-
import { computed as d, openBlock as l, createElementBlock as r, normalizeStyle as
|
|
2
|
-
import {
|
|
3
|
-
|
|
1
|
+
import { computed as d, openBlock as l, createElementBlock as r, normalizeStyle as Z, createBlock as D, mergeProps as B, withCtx as I, renderSlot as U, toDisplayString as v, createCommentVNode as s, unref as L, createElementVNode as e, Fragment as j, renderList as O, pushScopeId as q, popScopeId as T } from "vue";
|
|
2
|
+
import { b as $, E as A } from "./CardBase-FI6JXGHQ-DgZSiy8R.js";
|
|
3
|
+
import { H as m, O as E, R as N } from "./index-BfXTbEFT.js";
|
|
4
|
+
const u = (a) => (q("data-v-d39c4494"), a = a(), T(), a), R = {
|
|
4
5
|
key: 0,
|
|
5
6
|
class: "body-total is-absolute"
|
|
6
|
-
},
|
|
7
|
+
}, P = {
|
|
7
8
|
key: 1,
|
|
8
9
|
class: "team-logo is-absolute"
|
|
9
|
-
},
|
|
10
|
+
}, G = ["src"], J = {
|
|
10
11
|
key: 2,
|
|
11
12
|
class: "whistle-svg is-absolute"
|
|
12
|
-
},
|
|
13
|
+
}, K = {
|
|
13
14
|
width: "42",
|
|
14
15
|
height: "42",
|
|
15
16
|
viewBox: "0 0 42 42",
|
|
16
17
|
fill: "none",
|
|
17
18
|
xmlns: "http://www.w3.org/2000/svg"
|
|
18
|
-
},
|
|
19
|
+
}, Q = {
|
|
19
20
|
id: "mask0_2153_556",
|
|
20
21
|
style: { "mask-type": "luminance" },
|
|
21
22
|
maskUnits: "userSpaceOnUse",
|
|
@@ -43,7 +44,7 @@ const u = (a) => (q("data-v-d39c4494"), a = a(), T(), a), P = {
|
|
|
43
44
|
viewBox: "0 0 52 82",
|
|
44
45
|
fill: "none",
|
|
45
46
|
xmlns: "http://www.w3.org/2000/svg"
|
|
46
|
-
}, h1 = ["fill"], L1 = ["fill"], u1 = ["stroke"], k1 = ["stroke"], c1 = ["stroke"], v1 = ["stroke"], g1 = ["stroke"], m1 = ["stroke"], p1 = ["fill", "stroke"], _1 = { opacity: "0.7" }, M1 = ["stroke"], w1 = ["stroke"], y1 = ["stroke"],
|
|
47
|
+
}, h1 = ["fill"], L1 = ["fill"], u1 = ["stroke"], k1 = ["stroke"], c1 = ["stroke"], v1 = ["stroke"], g1 = ["stroke"], m1 = ["stroke"], p1 = ["fill", "stroke"], _1 = { opacity: "0.7" }, M1 = ["stroke"], w1 = ["stroke"], y1 = ["stroke"], f1 = ["stroke"], Z1 = ["stroke"], x1 = ["stroke"], F1 = {
|
|
47
48
|
key: 5,
|
|
48
49
|
class: "half-field-svg is-absolute"
|
|
49
50
|
}, b1 = {
|
|
@@ -52,16 +53,16 @@ const u = (a) => (q("data-v-d39c4494"), a = a(), T(), a), P = {
|
|
|
52
53
|
viewBox: "0 0 81 128",
|
|
53
54
|
fill: "none",
|
|
54
55
|
xmlns: "http://www.w3.org/2000/svg"
|
|
55
|
-
}, z1 = ["fill"], S1 = ["fill"], H1 = ["stroke"], V1 = ["stroke"], D1 = ["stroke"], B1 = ["stroke"], I1 = ["stroke"], U1 = ["stroke"], j1 = ["fill"], O1 = { opacity: "0.7" }, q1 = ["stroke"], T1 = ["stroke"], $1 = ["stroke"], A1 = ["stroke"], E1 = ["stroke"], N1 = ["stroke"],
|
|
56
|
+
}, z1 = ["fill"], S1 = ["fill"], H1 = ["stroke"], V1 = ["stroke"], D1 = ["stroke"], B1 = ["stroke"], I1 = ["stroke"], U1 = ["stroke"], j1 = ["fill"], O1 = { opacity: "0.7" }, q1 = ["stroke"], T1 = ["stroke"], $1 = ["stroke"], A1 = ["stroke"], E1 = ["stroke"], N1 = ["stroke"], R1 = {
|
|
56
57
|
key: 6,
|
|
57
58
|
class: "centers-field-svg is-absolute"
|
|
58
|
-
},
|
|
59
|
+
}, P1 = {
|
|
59
60
|
width: "119",
|
|
60
61
|
height: "55",
|
|
61
62
|
viewBox: "0 0 119 55",
|
|
62
63
|
fill: "none",
|
|
63
64
|
xmlns: "http://www.w3.org/2000/svg"
|
|
64
|
-
},
|
|
65
|
+
}, G1 = ["fill"], J1 = ["fill"], K1 = ["stroke"], Q1 = ["stroke"], W1 = ["stroke"], X1 = ["stroke"], Y1 = ["stroke"], e2 = ["stroke"], t2 = ["stroke"], o2 = ["stroke"], l2 = /* @__PURE__ */ u(() => /* @__PURE__ */ e("mask", {
|
|
65
66
|
id: "mask0_4146_61854",
|
|
66
67
|
style: { "mask-type": "alpha" },
|
|
67
68
|
maskUnits: "userSpaceOnUse",
|
|
@@ -115,7 +116,7 @@ const u = (a) => (q("data-v-d39c4494"), a = a(), T(), a), P = {
|
|
|
115
116
|
}, m2 = ["src"], p2 = /* @__PURE__ */ u(() => /* @__PURE__ */ e("div", { class: "card-general__content__body" }, null, -1)), _2 = { class: "card-general__content__footer" }, M2 = { class: "card-general__content__footer__header" }, w2 = {
|
|
116
117
|
key: 0,
|
|
117
118
|
class: "card-general__content__footer__header__team-logo"
|
|
118
|
-
}, y2 = ["src"],
|
|
119
|
+
}, y2 = ["src"], f2 = { class: "card-general__content__footer__header__title" }, Z2 = {
|
|
119
120
|
key: 1,
|
|
120
121
|
class: "card-general__content__footer__header__total"
|
|
121
122
|
}, x2 = { class: "card-general__content__footer__body" }, F2 = ["innerHTML"], b2 = {
|
|
@@ -175,13 +176,13 @@ const u = (a) => (q("data-v-d39c4494"), a = a(), T(), a), P = {
|
|
|
175
176
|
"--left-team-logo": g.has(o.data.id) ? "17px" : "unset",
|
|
176
177
|
"--right-team-logo": k.has(o.data.id) ? "17px" : "unset",
|
|
177
178
|
"--font-size-footer-title": M.has(o.data.id) ? "48px" : "29px"
|
|
178
|
-
})),
|
|
179
|
+
})), f = d(() => !o.data || !o.data.thumbnails ? null : {
|
|
179
180
|
backgroundOverlayColor: (o.data.thumbnails.colors.background_color || "#000000").trim(),
|
|
180
181
|
backgroundImageSrc: o.data.is_player && o.data.thumbnails.images.background_player_in_action[0] ? m(o.data.thumbnails.images.background_player_in_action[0]) : m(o.data.thumbnails.images.background_team),
|
|
181
182
|
titleColor: (o.data.thumbnails.colors.font_color_header || "#FFFFFF").trim(),
|
|
182
183
|
textColor: (o.data.thumbnails.colors.font_color_description || "#FFFFFF").trim(),
|
|
183
184
|
totalColor: (o.data.thumbnails.colors.font_color_stats || "#FFFFFF").trim()
|
|
184
|
-
}), S = d(() => o.data ?
|
|
185
|
+
}), S = d(() => o.data ? E(N({ data: o.data, descriptionType: o.descriptionType })) : ""), t = d(() => {
|
|
185
186
|
if (!o.data) return null;
|
|
186
187
|
let C = o.data.team_logo, n = o.data.sections;
|
|
187
188
|
C && (C = C.replace("-80", "-150")), n && (n = n.sort((i, h) => i[0] - h[0]));
|
|
@@ -197,9 +198,9 @@ const u = (a) => (q("data-v-d39c4494"), a = a(), T(), a), P = {
|
|
|
197
198
|
});
|
|
198
199
|
return (C, n) => (l(), r("div", {
|
|
199
200
|
class: "card-general",
|
|
200
|
-
style:
|
|
201
|
+
style: Z(y.value)
|
|
201
202
|
}, [
|
|
202
|
-
|
|
203
|
+
f.value ? (l(), D(A, B({ key: 0 }, f.value, {
|
|
203
204
|
width: a.width,
|
|
204
205
|
"show-videos": a.showVideos
|
|
205
206
|
}), {
|
|
@@ -207,20 +208,20 @@ const u = (a) => (q("data-v-d39c4494"), a = a(), T(), a), P = {
|
|
|
207
208
|
U(C.$slots, "default", {}, () => [
|
|
208
209
|
t.value ? (l(), r("div", {
|
|
209
210
|
key: 0,
|
|
210
|
-
style:
|
|
211
|
+
style: Z(y.value),
|
|
211
212
|
class: "card-general__content"
|
|
212
213
|
}, [
|
|
213
|
-
z.value ? (l(), r("div",
|
|
214
|
-
b.value ? (l(), r("div",
|
|
214
|
+
z.value ? (l(), r("div", R, v(a.data.total), 1)) : s("", !0),
|
|
215
|
+
b.value ? (l(), r("div", P, [
|
|
215
216
|
t.value.teamLogoSrc ? (l(), r("img", {
|
|
216
217
|
key: 0,
|
|
217
218
|
src: t.value.teamLogoSrc,
|
|
218
219
|
alt: "team logo"
|
|
219
|
-
}, null, 8,
|
|
220
|
+
}, null, 8, G)) : s("", !0)
|
|
220
221
|
])) : s("", !0),
|
|
221
|
-
L(M).has(a.data.id) ? (l(), r("div",
|
|
222
|
-
(l(), r("svg",
|
|
223
|
-
e("mask",
|
|
222
|
+
L(M).has(a.data.id) ? (l(), r("div", J, [
|
|
223
|
+
(l(), r("svg", K, [
|
|
224
|
+
e("mask", Q, [
|
|
224
225
|
e("path", {
|
|
225
226
|
d: "M41.2963 41.2961V0.703659H0.703871V41.2961H41.2963Z",
|
|
226
227
|
fill: t.value.iconColor,
|
|
@@ -378,13 +379,13 @@ const u = (a) => (q("data-v-d39c4494"), a = a(), T(), a), P = {
|
|
|
378
379
|
stroke: t.value.svgLineColor,
|
|
379
380
|
"stroke-width": "0.2",
|
|
380
381
|
"stroke-dasharray": "0.4 0.4"
|
|
381
|
-
}, null, 8,
|
|
382
|
+
}, null, 8, f1),
|
|
382
383
|
e("path", {
|
|
383
384
|
d: "M26 81.5L26 1",
|
|
384
385
|
stroke: t.value.svgLineColor,
|
|
385
386
|
"stroke-width": "0.2",
|
|
386
387
|
"stroke-dasharray": "0.4 0.4"
|
|
387
|
-
}, null, 8,
|
|
388
|
+
}, null, 8, Z1),
|
|
388
389
|
e("path", {
|
|
389
390
|
d: "M39 81.5L39 1",
|
|
390
391
|
stroke: t.value.svgLineColor,
|
|
@@ -493,21 +494,21 @@ const u = (a) => (q("data-v-d39c4494"), a = a(), T(), a), P = {
|
|
|
493
494
|
])
|
|
494
495
|
]))
|
|
495
496
|
])) : s("", !0),
|
|
496
|
-
L(_).has(a.data.id) ? (l(), r("div",
|
|
497
|
-
(l(), r("svg",
|
|
497
|
+
L(_).has(a.data.id) ? (l(), r("div", R1, [
|
|
498
|
+
(l(), r("svg", P1, [
|
|
498
499
|
e("rect", {
|
|
499
500
|
opacity: "0.8",
|
|
500
501
|
x: "88.7295",
|
|
501
502
|
width: "29.7177",
|
|
502
503
|
height: "54.3409",
|
|
503
504
|
fill: t.value.svgFillColor
|
|
504
|
-
}, null, 8,
|
|
505
|
+
}, null, 8, G1),
|
|
505
506
|
e("rect", {
|
|
506
507
|
opacity: "0.8",
|
|
507
508
|
width: "29.7177",
|
|
508
509
|
height: "54.3409",
|
|
509
510
|
fill: t.value.svgFillColor
|
|
510
|
-
}, null, 8,
|
|
511
|
+
}, null, 8, J1),
|
|
511
512
|
e("rect", {
|
|
512
513
|
x: "0.133065",
|
|
513
514
|
y: "0.133553",
|
|
@@ -516,7 +517,7 @@ const u = (a) => (q("data-v-d39c4494"), a = a(), T(), a), P = {
|
|
|
516
517
|
stroke: t.value.svgLineColor,
|
|
517
518
|
"stroke-width": "0.26613",
|
|
518
519
|
"stroke-dasharray": "0.53 0.53"
|
|
519
|
-
}, null, 8,
|
|
520
|
+
}, null, 8, K1),
|
|
520
521
|
e("rect", {
|
|
521
522
|
x: "0.310485",
|
|
522
523
|
y: "0.310973",
|
|
@@ -524,7 +525,7 @@ const u = (a) => (q("data-v-d39c4494"), a = a(), T(), a), P = {
|
|
|
524
525
|
height: "54.3791",
|
|
525
526
|
stroke: t.value.svgLineColor,
|
|
526
527
|
"stroke-width": "0.620969"
|
|
527
|
-
}, null, 8,
|
|
528
|
+
}, null, 8, Q1),
|
|
528
529
|
e("rect", {
|
|
529
530
|
x: "0.133065",
|
|
530
531
|
y: "0.133797",
|
|
@@ -653,8 +654,8 @@ const u = (a) => (q("data-v-d39c4494"), a = a(), T(), a), P = {
|
|
|
653
654
|
alt: ""
|
|
654
655
|
}, null, 8, y2)) : s("", !0)
|
|
655
656
|
])),
|
|
656
|
-
e("div",
|
|
657
|
-
a.data.footer && a.data.footer.show_total && !a.data.footer.sections ? (l(), r("div",
|
|
657
|
+
e("div", f2, v(a.data.title), 1),
|
|
658
|
+
a.data.footer && a.data.footer.show_total && !a.data.footer.sections ? (l(), r("div", Z2, v(a.data.total), 1)) : s("", !0)
|
|
658
659
|
]),
|
|
659
660
|
e("div", x2, [
|
|
660
661
|
e("div", {
|
|
@@ -679,7 +680,7 @@ const u = (a) => (q("data-v-d39c4494"), a = a(), T(), a), P = {
|
|
|
679
680
|
}, 16, ["width", "show-videos"])) : s("", !0)
|
|
680
681
|
], 4));
|
|
681
682
|
}
|
|
682
|
-
},
|
|
683
|
+
}, I2 = /* @__PURE__ */ $(H2, [["__scopeId", "data-v-d39c4494"]]);
|
|
683
684
|
export {
|
|
684
|
-
|
|
685
|
+
I2 as default
|
|
685
686
|
};
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import { useCssVars as P, computed as g, openBlock as e, createElementBlock as o, normalizeStyle as p, createBlock as A, mergeProps as
|
|
2
|
-
import {
|
|
3
|
-
|
|
1
|
+
import { useCssVars as P, computed as g, openBlock as e, createElementBlock as o, normalizeStyle as p, createBlock as A, mergeProps as E, withCtx as N, createElementVNode as a, createCommentVNode as r, toDisplayString as V, unref as q, normalizeClass as C, pushScopeId as O, popScopeId as R } from "vue";
|
|
2
|
+
import { b as $, E as D } from "./CardBase-FI6JXGHQ-DgZSiy8R.js";
|
|
3
|
+
import { H as I, O as F, R as z } from "./index-BfXTbEFT.js";
|
|
4
|
+
const f = (i) => (O("data-v-a9874654"), i = i(), R(), i), G = { class: "card-content" }, J = {
|
|
4
5
|
key: 0,
|
|
5
6
|
class: "side-title"
|
|
6
|
-
},
|
|
7
|
+
}, K = {
|
|
7
8
|
key: 0,
|
|
8
9
|
class: "side-title__team-logo bottom",
|
|
9
10
|
width: "40",
|
|
@@ -11,7 +12,7 @@ const f = (i) => ($("data-v-a9874654"), i = i(), E(), i), J = { class: "card-con
|
|
|
11
12
|
viewBox: "0 0 40 40",
|
|
12
13
|
fill: "none",
|
|
13
14
|
xmlns: "http://www.w3.org/2000/svg"
|
|
14
|
-
},
|
|
15
|
+
}, Q = {
|
|
15
16
|
opacity: ".6",
|
|
16
17
|
"clip-path": "url(#5mgq3p4qba)"
|
|
17
18
|
}, U = ["stroke"], W = ["stroke"], X = ["fill"], Y = ["stroke"], Z = { id: "5mgq3p4qba" }, l1 = ["fill"], a1 = ["src"], t1 = {
|
|
@@ -68,7 +69,7 @@ const f = (i) => ($("data-v-a9874654"), i = i(), E(), i), J = { class: "card-con
|
|
|
68
69
|
}, M1 = ["fill"], y1 = ["stroke"], b1 = {
|
|
69
70
|
key: 3,
|
|
70
71
|
class: "top-content-center"
|
|
71
|
-
}, x1 = { class: "text-content" },
|
|
72
|
+
}, x1 = { class: "text-content" }, H1 = ["innerHTML"], L1 = ["src"], B1 = ["src"], T1 = {
|
|
72
73
|
__name: "CardGeneralIndividual",
|
|
73
74
|
props: {
|
|
74
75
|
height: {
|
|
@@ -94,12 +95,12 @@ const f = (i) => ($("data-v-a9874654"), i = i(), E(), i), J = { class: "card-con
|
|
|
94
95
|
},
|
|
95
96
|
setup(i) {
|
|
96
97
|
P((n) => ({
|
|
97
|
-
"5512b426":
|
|
98
|
+
"5512b426": j.value,
|
|
98
99
|
"1095783b": i.data.thumbnails.colors.font_color || "white",
|
|
99
100
|
"7cf086b3": i.data.title_align || "center",
|
|
100
101
|
"5f08f0d2": i.data.header.width || "40px"
|
|
101
102
|
}));
|
|
102
|
-
const l = i,
|
|
103
|
+
const l = i, S = g(() => ({
|
|
103
104
|
"--height": l.height,
|
|
104
105
|
"--width": l.width,
|
|
105
106
|
"--footer-background-color": l.data.thumbnails.colors.background_color_cards || "#000000"
|
|
@@ -108,30 +109,30 @@ const f = (i) => ($("data-v-a9874654"), i = i(), E(), i), J = { class: "card-con
|
|
|
108
109
|
return !l.data || !l.data.thumbnails ? null : {
|
|
109
110
|
idCard: l.data.id,
|
|
110
111
|
backgroundOverlayColor: l.data.thumbnails.colors.background_color || "#000000",
|
|
111
|
-
backgroundImageSrc:
|
|
112
|
+
backgroundImageSrc: I((d = (s = (c = (n = l.data) == null ? void 0 : n.thumbnails) == null ? void 0 : c.images) == null ? void 0 : s.background_player_in_action) != null && d[0] ? l.data.thumbnails.images.background_player_in_action[0] : (h = (m = (u = l.data) == null ? void 0 : u.thumbnails) == null ? void 0 : m.images) != null && h.background_team ? l.data.thumbnails.images.background_team : "")
|
|
112
113
|
};
|
|
113
114
|
}), _ = g(() => {
|
|
114
115
|
var n, c, s, d;
|
|
115
116
|
return l.data ? {
|
|
116
|
-
playerInAction: (d = (s = (c = (n = l.data) == null ? void 0 : n.thumbnails) == null ? void 0 : c.images) == null ? void 0 : s.player_in_action) != null && d[0] ?
|
|
117
|
+
playerInAction: (d = (s = (c = (n = l.data) == null ? void 0 : n.thumbnails) == null ? void 0 : c.images) == null ? void 0 : s.player_in_action) != null && d[0] ? I(l.data.thumbnails.images.player_in_action[0]) : "",
|
|
117
118
|
description: F(z({ data: l.data, descriptionType: l.descriptionType }))
|
|
118
119
|
} : null;
|
|
119
|
-
}),
|
|
120
|
+
}), j = g(() => l.data.categories.some((n) => [2, 20].includes(n)) && l.data.id == "11-g" ? "space-between" : "center");
|
|
120
121
|
return (n, c) => (e(), o("div", {
|
|
121
122
|
class: "card-general",
|
|
122
|
-
style: p(
|
|
123
|
+
style: p(S.value)
|
|
123
124
|
}, [
|
|
124
|
-
k.value ? (e(), A(
|
|
125
|
+
k.value ? (e(), A(D, E({ key: 0 }, k.value, {
|
|
125
126
|
width: i.width,
|
|
126
127
|
"show-videos": i.showVideos
|
|
127
128
|
}), {
|
|
128
|
-
default:
|
|
129
|
-
var s, d, u, m, h, w, v, M, y, b, x,
|
|
129
|
+
default: N(() => {
|
|
130
|
+
var s, d, u, m, h, w, v, M, y, b, x, H, L, B, T;
|
|
130
131
|
return [
|
|
131
|
-
a("div",
|
|
132
|
-
l.data.vertical_title ? (e(), o("div",
|
|
133
|
-
(d = (s = l.data) == null ? void 0 : s.categories) != null && d.some((t) => [17, 50].includes(t)) && l.data.id == "20-g" && l.data.header.show_icon ? (e(), o("svg",
|
|
134
|
-
a("g",
|
|
132
|
+
a("div", G, [
|
|
133
|
+
l.data.vertical_title ? (e(), o("div", J, [
|
|
134
|
+
(d = (s = l.data) == null ? void 0 : s.categories) != null && d.some((t) => [17, 50].includes(t)) && l.data.id == "20-g" && l.data.header.show_icon ? (e(), o("svg", K, [
|
|
135
|
+
a("g", Q, [
|
|
135
136
|
a("path", {
|
|
136
137
|
d: "M26.254 34.062h-12.5a3.125 3.125 0 0 1-3.125-3.125 6.25 6.25 0 0 0-6.25-6.25V19.11c0-8.16 5.966-15.448 14.09-16.223 9.32-.889 17.16 6.416 17.16 15.551v6.25a6.25 6.25 0 0 0-6.25 6.25c0 1.726-1.4 3.125-3.125 3.125zM16.879 30.938v3.125M23.129 30.938v3.125",
|
|
137
138
|
stroke: l.data.thumbnails.colors.icon_color,
|
|
@@ -205,7 +206,7 @@ const f = (i) => ($("data-v-a9874654"), i = i(), E(), i), J = { class: "card-con
|
|
|
205
206
|
"stroke-width": "1.667"
|
|
206
207
|
}, null, 8, c1)
|
|
207
208
|
])) : r("", !0),
|
|
208
|
-
(
|
|
209
|
+
(H = (x = l.data) == null ? void 0 : x.categories) != null && H.some((t) => [17, 50].includes(t)) && l.data.id == "19-g" && l.data.header.show_icon ? (e(), o("svg", u1, [
|
|
209
210
|
a("g", m1, [
|
|
210
211
|
a("path", {
|
|
211
212
|
d: "M26.254 34.062h-12.5a3.125 3.125 0 0 1-3.125-3.125 6.25 6.25 0 0 0-6.25-6.25V19.11c0-8.16 5.966-15.448 14.09-16.223 9.32-.889 17.16 6.416 17.16 15.551v6.25a6.25 6.25 0 0 0-6.25 6.25c0 1.726-1.4 3.125-3.125 3.125zM16.879 30.938v3.125M23.129 30.938v3.125",
|
|
@@ -248,7 +249,7 @@ const f = (i) => ($("data-v-a9874654"), i = i(), E(), i), J = { class: "card-con
|
|
|
248
249
|
style: p({ color: l.data.thumbnails.colors.font_color_description || "white" })
|
|
249
250
|
}, null, 12, w1)
|
|
250
251
|
]),
|
|
251
|
-
(B = (
|
|
252
|
+
(B = (L = l.data) == null ? void 0 : L.categories) != null && B.some((t) => [4].includes(t)) && l.data.id == "6-g" ? (e(), o("svg", v1, [
|
|
252
253
|
a("path", {
|
|
253
254
|
d: "M.1 40.667a4 4 0 1 0 8 0 4 4 0 0 0-8 0zm30.167-18.666.436.61.844-.602-.836-.613-.444.605zM1.322.752l3.484 7.93L9.93 1.7 1.322.752zm.843 1.55a.75.75 0 1 0 .888-1.21l-.888 1.21zm4.104 1.151a.75.75 0 1 0-.888 1.21l.888-1.21zm1.685 3.098a.75.75 0 0 0 .888-1.21l-.888 1.21zm4.104 1.152a.75.75 0 1 0-.888 1.209l.888-1.21zm1.685 3.098a.75.75 0 1 0 .887-1.21l-.887 1.21zm4.104 1.151a.75.75 0 1 0-.888 1.21l.888-1.21zm1.685 3.098a.75.75 0 0 0 .887-1.209l-.887 1.21zm4.104 1.152a.75.75 0 0 0-.888 1.21l.888-1.21zM25.32 19.3a.75.75 0 0 0 .887-1.21l-.887 1.21zm4.104 1.152a.75.75 0 0 0-.888 1.209l.888-1.21zm-1.047 1.975a.75.75 0 0 0 .871 1.221l-.871-1.221zm-2.763 3.814a.75.75 0 1 0-.871-1.221l.87 1.22zm-3.779.853a.75.75 0 0 0 .871 1.22l-.87-1.22zm-2.763 3.813a.75.75 0 0 0-.87-1.22l.87 1.22zm-3.778.853a.75.75 0 1 0 .87 1.221l-.87-1.22zm-2.764 3.814a.75.75 0 1 0-.87-1.221l.87 1.22zm-3.778.853a.75.75 0 0 0 .871 1.221l-.871-1.221zM5.99 40.24a.75.75 0 1 0-.871-1.22l.87 1.22zM5.38 4.662l2.573 1.889.888-1.21-2.573-1.888-.888 1.21zm5.789 4.25 2.573 1.889.887-1.21-2.572-1.888-.888 1.209zm5.789 4.25 2.573 1.888.887-1.209-2.572-1.889-.888 1.21zm5.789 4.25 2.573 1.888.887-1.21-2.572-1.888-.888 1.21zm5.789 4.249 1.286.944.888-1.209-1.286-.944-.888 1.209zm1.295-.271-1.454 1.037.871 1.221 1.454-1.037-.871-1.221zm-5.088 3.63-2.908 2.074.871 1.22 2.908-2.073-.871-1.221zm-6.542 4.666-2.907 2.074.87 1.221 2.908-2.074-.87-1.22zm-6.542 4.667-2.907 2.074.871 1.221 2.907-2.074-.87-1.221zM5.12 39.019l-1.454 1.037.871 1.222L5.99 40.24l-.871-1.22z",
|
|
254
255
|
fill: l.data.thumbnails.colors.icon_color
|
|
@@ -265,17 +266,17 @@ const f = (i) => ($("data-v-a9874654"), i = i(), E(), i), J = { class: "card-con
|
|
|
265
266
|
a("p", {
|
|
266
267
|
innerHTML: q(z)({ data: l.data, descriptionType: l.descriptionType }).replace(/\*([^*]+)\*/g, "<span style='font-family: Poppins-Bold; font-weight: 700;'>$1</span>"),
|
|
267
268
|
style: p({ color: l.data.thumbnails.colors.font_color_description || "white" })
|
|
268
|
-
}, null, 12,
|
|
269
|
+
}, null, 12, H1)
|
|
269
270
|
]),
|
|
270
271
|
a("img", {
|
|
271
|
-
class:
|
|
272
|
+
class: C(["team-logo", l.data.footer.team_logo_position || "left"]),
|
|
272
273
|
src: l.data.team_logo,
|
|
273
274
|
alt: "Logo del equipo"
|
|
274
|
-
}, null, 10,
|
|
275
|
+
}, null, 10, L1)
|
|
275
276
|
])),
|
|
276
|
-
(
|
|
277
|
+
(T = _.value) != null && T.playerInAction ? (e(), o("div", {
|
|
277
278
|
key: 4,
|
|
278
|
-
class:
|
|
279
|
+
class: C(["16-g", "20-g", "6-g"].includes(l.data.id) ? "player-image2" : "player-image")
|
|
279
280
|
}, [
|
|
280
281
|
a("img", {
|
|
281
282
|
src: _.value.playerInAction,
|
|
@@ -289,7 +290,7 @@ const f = (i) => ($("data-v-a9874654"), i = i(), E(), i), J = { class: "card-con
|
|
|
289
290
|
}, 16, ["width", "show-videos"])) : r("", !0)
|
|
290
291
|
], 4));
|
|
291
292
|
}
|
|
292
|
-
}, I1 = /* @__PURE__ */
|
|
293
|
+
}, I1 = /* @__PURE__ */ $(T1, [["__scopeId", "data-v-a9874654"]]);
|
|
293
294
|
export {
|
|
294
295
|
I1 as default
|
|
295
296
|
};
|