@golstats/gsc-landing 1.0.195 → 1.0.197
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-Din4dnnE-9r_ZQ2PD.js → CardBaseAllIndividual-CNB7K2M0-nej9DJ8x.js} +68 -69
- package/dist/{CardGeneral-70CyP1c9-DZjdnAqP.js → CardGeneral-DyOdaEFZ-DVY9vI50.js} +29 -30
- package/dist/{CardGeneralIndividual-CFAG9SL3-BG4lUe_F.js → CardGeneralIndividual-DaONNIwT-WoYrg7O0.js} +22 -23
- package/dist/{CardGeneralTeams-C1b59sT7-DG5cs-Tg.js → CardGeneralTeams-CCfSIg5--ycGF0WJl.js} +35 -36
- package/dist/{CardIndividual-BVJEvLuq-_PhgZvaJ.js → CardIndividual-B5YHR_4X-DC-zfHLx.js} +69 -70
- package/dist/{CardIndividual1vs1-BEIdhWs1-BvsUVyut.js → CardIndividual1vs1-DEBY4dbB-V3PJhhY7.js} +8 -9
- package/dist/{CardIndividualAreas-T43vItFr-Ge11BS0-.js → CardIndividualAreas-D9mHXjfS-DrA6YV1T.js} +56 -56
- package/dist/{CardIndividualCenters-fZNKbbXo-CBcfzVIG.js → CardIndividualCenters-DeGyy9wB-BftpRpCL.js} +108 -108
- package/dist/{CardIndividualDistance-CcU2Vbnx-BA0WjvGk.js → CardIndividualDistance-jUf26hS9-BTaa0gSa.js} +14 -15
- package/dist/{CardIndividualFouls-BYcKqeFK-Cje2Mt8Z.js → CardIndividualFouls-DF0AvPys-C61mrpb7.js} +119 -119
- package/dist/{CardIndividualGoalParticipation-yPoWp2QU-CzPvpOTY.js → CardIndividualGoalParticipation-CGVwsTkf-BsIXMNqX.js} +21 -22
- package/dist/{CardIndividualGoals-C69mSV2s-D6_1_Ya_.js → CardIndividualGoals-CjrXz7Zv-Cg_lAqNg.js} +177 -177
- package/dist/{CardIndividualGold-BxCrvpoF-DAinsnlx.js → CardIndividualGold-Cp8DsHVJ-nOXX6qdb.js} +32 -33
- package/dist/{CardIndividualNoGoalReceived-CqVz1A2y-2wvhoRRn.js → CardIndividualNoGoalReceived-BNjVlC0Z-BtnbjfPl.js} +18 -19
- package/dist/{CardIndividualPerformance-JjUTmJQy-BKKJWuAj.js → CardIndividualPerformance-kbuWBDcK-CWDHQrku.js} +32 -33
- package/dist/{CardIndividualSaves-DEvTL6Uw-ExU597Jv.js → CardIndividualSaves-BTCuv2ld-BJ7OrOnW.js} +13 -14
- package/dist/{CardIndividualShotsOnGoal-BxwPL-4b-CjB-aDIc.js → CardIndividualShotsOnGoal-B6fysQZQ-2WTo5bAB.js} +68 -59
- package/dist/{CardIndividualStatistics-DQRVwOUb-BM8QzAyt.js → CardIndividualStatistics-B7vL_L1s-BYMwjEJD.js} +13 -14
- package/dist/{CardPromTournament-HcWvduRV-DarShqZA.js → CardPromTournament-DMe6axFO-DWI8msi-.js} +31 -32
- package/dist/{CardSuccessfulPasses-D9ZpWlLr-DVijdVau.js → CardSuccessfulPasses-ByzEm7s3-DmSHr8yg.js} +9 -10
- package/dist/{CardTheMostProductive-CNNFBK3--EbF2Re03.js → CardTheMostProductive-CDDFIo-I-LQ50NbB5.js} +14 -15
- package/dist/CircleWithDotsBig-5eFuZwDk-n956nNzk.js +151 -0
- package/dist/{Shield-COMdrYaO-CimHKi7p.js → Shield-0VkASyDI-Cm8rtKBS.js} +1 -1
- package/dist/gsc-landing.js +57596 -2
- package/dist/gsc-landing.umd.cjs +55 -55
- package/dist/misc-BbzSgyER-2p2XKW1m.js +168 -0
- package/dist/style.css +1 -1
- package/package.json +2 -2
- package/dist/CircleWithDotsBig-DOPQy89I-DsMw07Qs.js +0 -91
- package/dist/index-Cf6zNZxW.js +0 -57599
- package/dist/misc-CMAhmOsp-DhvMrB3p.js +0 -163
|
@@ -1,19 +1,6 @@
|
|
|
1
|
-
import { computed as i, openBlock as o, createElementBlock as a, normalizeStyle as
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
const T = (e) => (H("data-v-8506632e"), e = e(), P(), e), L = { class: "circle__total" }, I = { class: "total" }, $ = { class: "suffix" }, N = ["width", "height", "viewBox"], z = /* @__PURE__ */ T(() => /* @__PURE__ */ r("path", {
|
|
5
|
-
d: "M34.5 2C38.7023 2 42.8635 2.8277 46.7459 4.43586C50.6283 6.04401 54.1559 8.40111 57.1274 11.3726C60.0989 14.3441 62.456 17.8717 64.0641 21.7541C65.6723 25.6366 66.5 29.7977 66.5 34C66.5 38.2023 65.6723 42.3635 64.0641 46.2459C62.456 50.1283 60.0989 53.6559 57.1274 56.6274C54.1559 59.5989 50.6283 61.956 46.7459 63.5641C42.8634 65.1723 38.7023 66 34.5 66C30.2977 66 26.1365 65.1723 22.2541 63.5641C18.3717 61.956 14.844 59.5989 11.8726 56.6274C8.9011 53.6559 6.544 50.1283 4.93585 46.2459C3.3277 42.3634 2.5 38.2023 2.5 34C2.5 29.7977 3.32771 25.6365 4.93586 21.7541C6.54401 17.8717 8.90112 14.344 11.8726 11.3726C14.8441 8.4011 18.3717 6.044 22.2541 4.43585C26.1366 2.8277 30.2977 2 34.5 2L34.5 2Z",
|
|
6
|
-
stroke: "url(#paint0_linear_2182_6770)",
|
|
7
|
-
"stroke-width": "3.14",
|
|
8
|
-
"stroke-linecap": "round"
|
|
9
|
-
}, null, -1)), U = ["stroke"], M = {
|
|
10
|
-
id: "paint0_linear_2182_6770",
|
|
11
|
-
x1: "34.5",
|
|
12
|
-
y1: "2",
|
|
13
|
-
x2: "34.5",
|
|
14
|
-
y2: "66",
|
|
15
|
-
gradientUnits: "userSpaceOnUse"
|
|
16
|
-
}, O = ["stop-color"], V = ["stop-color"], A = {
|
|
1
|
+
import { computed as i, openBlock as o, createElementBlock as a, normalizeStyle as p, createBlock as F, mergeProps as k, withCtx as S, renderSlot as v, createElementVNode as r, createCommentVNode as l, normalizeClass as B, toDisplayString as s, Fragment as x, createVNode as m } from "vue";
|
|
2
|
+
import { h as b, T as H } from "./misc-BbzSgyER-2p2XKW1m.js";
|
|
3
|
+
const w = { class: "circle__total" }, P = { class: "total" }, T = { class: "suffix" }, $ = ["width", "height", "viewBox"], L = ["stroke"], N = ["stroke"], z = ["stop-color"], U = ["stop-color"], I = {
|
|
17
4
|
__name: "CircleWithDots",
|
|
18
5
|
props: {
|
|
19
6
|
height: {
|
|
@@ -56,14 +43,14 @@ const T = (e) => (H("data-v-8506632e"), e = e(), P(), e), L = { class: "circle__
|
|
|
56
43
|
"--value-font-size": `${t.valueFontSize}px`,
|
|
57
44
|
"--suffix-font-size": `${t.suffixFontSize}px`,
|
|
58
45
|
"--color": t.textColor
|
|
59
|
-
}))
|
|
60
|
-
return (
|
|
46
|
+
})), c = `linear-gradient-${Date.now()}`;
|
|
47
|
+
return (y, d) => (o(), a("div", {
|
|
61
48
|
class: "circle",
|
|
62
|
-
style:
|
|
49
|
+
style: p(n.value)
|
|
63
50
|
}, [
|
|
64
|
-
r("div",
|
|
65
|
-
r("span",
|
|
66
|
-
r("span",
|
|
51
|
+
r("div", w, [
|
|
52
|
+
r("span", P, s(e.value), 1),
|
|
53
|
+
r("span", T, s(e.suffix), 1)
|
|
67
54
|
]),
|
|
68
55
|
(o(), a("svg", {
|
|
69
56
|
width: n.value["--width"],
|
|
@@ -73,60 +60,72 @@ const T = (e) => (H("data-v-8506632e"), e = e(), P(), e), L = { class: "circle__
|
|
|
73
60
|
fill: "none",
|
|
74
61
|
xmlns: "http://www.w3.org/2000/svg"
|
|
75
62
|
}, [
|
|
76
|
-
|
|
63
|
+
r("path", {
|
|
64
|
+
d: "M34.5 2C38.7023 2 42.8635 2.8277 46.7459 4.43586C50.6283 6.04401 54.1559 8.40111 57.1274 11.3726C60.0989 14.3441 62.456 17.8717 64.0641 21.7541C65.6723 25.6366 66.5 29.7977 66.5 34C66.5 38.2023 65.6723 42.3635 64.0641 46.2459C62.456 50.1283 60.0989 53.6559 57.1274 56.6274C54.1559 59.5989 50.6283 61.956 46.7459 63.5641C42.8634 65.1723 38.7023 66 34.5 66C30.2977 66 26.1365 65.1723 22.2541 63.5641C18.3717 61.956 14.844 59.5989 11.8726 56.6274C8.9011 53.6559 6.544 50.1283 4.93585 46.2459C3.3277 42.3634 2.5 38.2023 2.5 34C2.5 29.7977 3.32771 25.6365 4.93586 21.7541C6.54401 17.8717 8.90112 14.344 11.8726 11.3726C14.8441 8.4011 18.3717 6.044 22.2541 4.43585C26.1366 2.8277 30.2977 2 34.5 2L34.5 2Z",
|
|
65
|
+
stroke: `url(#${c})`,
|
|
66
|
+
"stroke-width": "3.14",
|
|
67
|
+
"stroke-linecap": "round"
|
|
68
|
+
}, null, 8, L),
|
|
77
69
|
r("path", {
|
|
78
70
|
d: "M34.4996 6.63965C38.0926 6.63965 41.6504 7.34734 44.9699 8.72231C48.2893 10.0973 51.3055 12.1126 53.8461 14.6532C56.3867 17.1938 58.402 20.21 59.777 23.5294C61.152 26.8489 61.8597 30.4067 61.8596 33.9997C61.8596 37.5926 61.152 41.1504 59.777 44.4699C58.402 47.7893 56.3867 50.8055 53.8461 53.3461C51.3055 55.8867 48.2893 57.902 44.9699 59.277C41.6504 60.652 38.0926 61.3597 34.4996 61.3596C30.9067 61.3596 27.3489 60.652 24.0294 59.277C20.71 57.902 17.6938 55.8867 15.1532 53.3461C12.6126 50.8055 10.5973 47.7893 9.2223 44.4699C7.84733 41.1504 7.13965 37.5926 7.13965 33.9996C7.13965 30.4067 7.84734 26.8489 9.22231 23.5294C10.5973 20.2099 12.6126 17.1938 15.1532 14.6532C17.6938 12.1126 20.71 10.0973 24.0294 8.7223C27.3489 7.34733 30.9067 6.63965 34.4997 6.63965L34.4996 6.63965Z",
|
|
79
71
|
stroke: e.color,
|
|
80
72
|
"stroke-width": "0.380952",
|
|
81
73
|
"stroke-linecap": "round",
|
|
82
74
|
"stroke-dasharray": "0 0.19 2.61 0 0.19 2.61"
|
|
83
|
-
}, null, 8,
|
|
75
|
+
}, null, 8, N),
|
|
84
76
|
r("defs", null, [
|
|
85
|
-
r("linearGradient",
|
|
86
|
-
|
|
77
|
+
r("linearGradient", {
|
|
78
|
+
id: c,
|
|
79
|
+
x1: "34.5",
|
|
80
|
+
y1: "2",
|
|
81
|
+
x2: "34.5",
|
|
82
|
+
y2: "66",
|
|
83
|
+
gradientUnits: "userSpaceOnUse"
|
|
84
|
+
}, [
|
|
85
|
+
r("stop", { "stop-color": e.color }, null, 8, z),
|
|
87
86
|
r("stop", {
|
|
88
87
|
offset: "1",
|
|
89
88
|
"stop-color": e.color
|
|
90
|
-
}, null, 8,
|
|
89
|
+
}, null, 8, U)
|
|
91
90
|
])
|
|
92
91
|
])
|
|
93
|
-
], 8,
|
|
92
|
+
], 8, $))
|
|
94
93
|
], 4));
|
|
95
94
|
}
|
|
96
|
-
}, D = /* @__PURE__ */ b(
|
|
95
|
+
}, D = /* @__PURE__ */ b(I, [["__scopeId", "data-v-b9adcb76"]]), M = {
|
|
97
96
|
key: 0,
|
|
98
97
|
class: "card-base-individual__content__player-img"
|
|
99
|
-
},
|
|
98
|
+
}, O = ["src"], V = {
|
|
100
99
|
key: 1,
|
|
101
100
|
class: "card-base-individual__content__team-logo"
|
|
102
|
-
},
|
|
101
|
+
}, A = ["src"], E = {
|
|
103
102
|
key: 0,
|
|
104
103
|
class: "card-base-individual__content__footer__header"
|
|
105
|
-
},
|
|
104
|
+
}, R = {
|
|
106
105
|
key: 0,
|
|
107
106
|
class: "card-base-individual__content__footer__header__title-and-sub ts"
|
|
108
|
-
},
|
|
107
|
+
}, j = {
|
|
109
108
|
key: 0,
|
|
110
109
|
class: "card-base-individual__content__footer__header__title"
|
|
111
|
-
},
|
|
110
|
+
}, Z = {
|
|
112
111
|
key: 1,
|
|
113
112
|
class: "card-base-individual__content__footer__header__subtitle"
|
|
114
|
-
},
|
|
113
|
+
}, G = {
|
|
115
114
|
key: 0,
|
|
116
115
|
class: "th"
|
|
117
|
-
},
|
|
116
|
+
}, W = {
|
|
118
117
|
key: 1,
|
|
119
118
|
class: "total th"
|
|
120
|
-
},
|
|
119
|
+
}, Y = {
|
|
121
120
|
key: 1,
|
|
122
121
|
class: "card-base-individual__content__footer__body"
|
|
123
|
-
},
|
|
122
|
+
}, q = ["innerHTML"], J = {
|
|
124
123
|
key: 0,
|
|
125
124
|
class: "total-b"
|
|
126
|
-
},
|
|
125
|
+
}, K = {
|
|
127
126
|
key: 1,
|
|
128
127
|
class: "total total-b"
|
|
129
|
-
},
|
|
128
|
+
}, Q = { class: "card-base-individual__content__body" }, X = {
|
|
130
129
|
__name: "CardBaseAllIndividual",
|
|
131
130
|
props: {
|
|
132
131
|
height: {
|
|
@@ -217,21 +216,21 @@ const T = (e) => (H("data-v-8506632e"), e = e(), P(), e), L = { class: "circle__
|
|
|
217
216
|
},
|
|
218
217
|
setup(e) {
|
|
219
218
|
const t = e, u = i(() => {
|
|
220
|
-
var d,
|
|
221
|
-
const
|
|
219
|
+
var d, f, h, g;
|
|
220
|
+
const _ = t.footerBodyData && t.footerBodyData.description && t.footerBodyData.total, C = t.footerHeaderData && t.footerHeaderData.title && t.footerHeaderData.total;
|
|
222
221
|
return {
|
|
223
222
|
"--height": t.height,
|
|
224
223
|
"--width": t.width,
|
|
225
224
|
"--footer-background-color": t.cardColor || "#000000",
|
|
226
225
|
"--text-color": t.textColor || "#FFFFFF",
|
|
227
226
|
"--footer-body-text-color": ((d = t.footerBodyData) == null ? void 0 : d.textColor) || "#FFFFFF",
|
|
228
|
-
"--footer-header-text-color": ((
|
|
227
|
+
"--footer-header-text-color": ((f = t.footerHeaderData) == null ? void 0 : f.textColor) || "#FFFFFF",
|
|
229
228
|
"--footer-height": t.footerHeight,
|
|
230
229
|
"--footer-width": t.goldCardType ? "263px" : "auto",
|
|
231
230
|
"--footer-padding": t.footerPadding,
|
|
232
|
-
"--total-color": ((h = t.footerBodyData) == null ? void 0 : h.totalTextColor) || ((
|
|
233
|
-
"--description-text-align":
|
|
234
|
-
"--footer-body-template-columns":
|
|
231
|
+
"--total-color": ((h = t.footerBodyData) == null ? void 0 : h.totalTextColor) || ((g = t.footerHeaderData) == null ? void 0 : g.totalTextColor) || "#FFFFFF",
|
|
232
|
+
"--description-text-align": _ || t.footerHeaderData ? "left" : "center",
|
|
233
|
+
"--footer-body-template-columns": _ ? "1fr min-content" : "1fr",
|
|
235
234
|
"--footer-header-template-columns": C ? t.footerHeaderData.isTotalLeft ? "min-content 1fr" : "1fr min-content" : "1fr",
|
|
236
235
|
"--footer-header-grid-areas": C ? t.footerHeaderData.isTotalLeft ? '"th ts"' : '"ts th"' : '"ts"',
|
|
237
236
|
"--player-photo-position-top": t.playerPhotoPositionTop,
|
|
@@ -244,73 +243,73 @@ const T = (e) => (H("data-v-8506632e"), e = e(), P(), e), L = { class: "circle__
|
|
|
244
243
|
backgroundImageSrc: t.backgroundImageSrc,
|
|
245
244
|
isPlayButtonVisible: !0,
|
|
246
245
|
goldCardType: t.goldCardType
|
|
247
|
-
})),
|
|
246
|
+
})), c = i(() => ({}));
|
|
248
247
|
i(() => t.footerBodyData.total ? t.footerBodyData.isTotalPercentage ? `${t.footerBodyData.total}%` : t.footerBodyData.total : "");
|
|
249
248
|
const y = i(() => {
|
|
250
249
|
const d = [];
|
|
251
250
|
return t.goldCardType && (t.goldCardType === 1 ? d.push("gold-card-1") : t.goldCardType === 2 && d.push("gold-card-2")), d;
|
|
252
251
|
});
|
|
253
|
-
return (d,
|
|
252
|
+
return (d, f) => (o(), a("div", {
|
|
254
253
|
class: "card-base-individual",
|
|
255
|
-
style:
|
|
254
|
+
style: p(u.value)
|
|
256
255
|
}, [
|
|
257
|
-
n.value ? (o(), F(
|
|
256
|
+
n.value ? (o(), F(H, k({ key: 0 }, n.value, { width: e.width }), {
|
|
258
257
|
default: S(() => [
|
|
259
258
|
v(d.$slots, "default", {}, () => [
|
|
260
|
-
|
|
259
|
+
c.value ? (o(), a("div", {
|
|
261
260
|
key: 0,
|
|
262
|
-
style:
|
|
261
|
+
style: p(u.value),
|
|
263
262
|
class: "card-base-individual__content"
|
|
264
263
|
}, [
|
|
265
|
-
e.playerPhotoUrl ? (o(), a("div",
|
|
264
|
+
e.playerPhotoUrl ? (o(), a("div", M, [
|
|
266
265
|
r("div", null, [
|
|
267
266
|
r("img", {
|
|
268
267
|
src: e.playerPhotoUrl,
|
|
269
268
|
alt: "player"
|
|
270
|
-
}, null, 8,
|
|
269
|
+
}, null, 8, O)
|
|
271
270
|
])
|
|
272
271
|
])) : l("", !0),
|
|
273
|
-
e.teamLogoUrl ? (o(), a("div",
|
|
272
|
+
e.teamLogoUrl ? (o(), a("div", V, [
|
|
274
273
|
r("img", {
|
|
275
274
|
src: e.teamLogoUrl,
|
|
276
275
|
alt: "team"
|
|
277
|
-
}, null, 8,
|
|
276
|
+
}, null, 8, A)
|
|
278
277
|
])) : l("", !0),
|
|
279
278
|
r("div", {
|
|
280
279
|
class: B(["card-base-individual__content__footer", y.value])
|
|
281
280
|
}, [
|
|
282
|
-
e.footerHeaderData ? (o(), a("div",
|
|
283
|
-
e.footerHeaderData.title ? (o(), a("div",
|
|
284
|
-
e.footerHeaderData.title ? (o(), a("div",
|
|
285
|
-
e.footerHeaderData.title ? (o(), a("div",
|
|
281
|
+
e.footerHeaderData ? (o(), a("div", E, [
|
|
282
|
+
e.footerHeaderData.title ? (o(), a("div", R, [
|
|
283
|
+
e.footerHeaderData.title ? (o(), a("div", j, s(e.footerHeaderData.title), 1)) : l("", !0),
|
|
284
|
+
e.footerHeaderData.title ? (o(), a("div", Z, s(e.footerHeaderData.subtitle), 1)) : l("", !0)
|
|
286
285
|
])) : l("", !0),
|
|
287
286
|
e.footerHeaderData.total ? (o(), a(x, { key: 1 }, [
|
|
288
|
-
e.footerHeaderData.isTotalPercentage ? (o(), a("div",
|
|
287
|
+
e.footerHeaderData.isTotalPercentage ? (o(), a("div", G, [
|
|
289
288
|
m(D, {
|
|
290
289
|
value: e.footerHeaderData.total,
|
|
291
290
|
"text-color": e.footerBodyData.totalTextColor,
|
|
292
291
|
color: e.footerBodyData.totalCircleColor
|
|
293
292
|
}, null, 8, ["value", "text-color", "color"])
|
|
294
|
-
])) : (o(), a("div",
|
|
293
|
+
])) : (o(), a("div", W, s(e.footerHeaderData.total), 1))
|
|
295
294
|
], 64)) : l("", !0)
|
|
296
295
|
])) : l("", !0),
|
|
297
|
-
e.footerBodyData ? (o(), a("div",
|
|
296
|
+
e.footerBodyData ? (o(), a("div", Y, [
|
|
298
297
|
r("div", {
|
|
299
298
|
class: "card-base-individual__content__footer__body__description",
|
|
300
299
|
innerHTML: e.footerBodyData.description
|
|
301
|
-
}, null, 8,
|
|
300
|
+
}, null, 8, q),
|
|
302
301
|
e.footerBodyData.total ? (o(), a(x, { key: 0 }, [
|
|
303
|
-
e.footerBodyData.isTotalPercentage ? (o(), a("div",
|
|
302
|
+
e.footerBodyData.isTotalPercentage ? (o(), a("div", J, [
|
|
304
303
|
m(D, {
|
|
305
304
|
value: e.footerBodyData.total,
|
|
306
305
|
"text-color": e.footerBodyData.totalTextColor,
|
|
307
306
|
color: e.footerBodyData.totalCircleColor
|
|
308
307
|
}, null, 8, ["value", "text-color", "color"])
|
|
309
|
-
])) : (o(), a("div",
|
|
308
|
+
])) : (o(), a("div", K, s(e.footerBodyData.total), 1))
|
|
310
309
|
], 64)) : l("", !0)
|
|
311
310
|
])) : l("", !0)
|
|
312
311
|
], 2),
|
|
313
|
-
r("div",
|
|
312
|
+
r("div", Q, [
|
|
314
313
|
v(d.$slots, "body", {}, void 0, !0)
|
|
315
314
|
])
|
|
316
315
|
], 4)) : l("", !0)
|
|
@@ -320,7 +319,7 @@ const T = (e) => (H("data-v-8506632e"), e = e(), P(), e), L = { class: "circle__
|
|
|
320
319
|
}, 16, ["width"])) : l("", !0)
|
|
321
320
|
], 4));
|
|
322
321
|
}
|
|
323
|
-
},
|
|
322
|
+
}, ot = /* @__PURE__ */ b(X, [["__scopeId", "data-v-c8248477"]]);
|
|
324
323
|
export {
|
|
325
|
-
|
|
324
|
+
ot as o
|
|
326
325
|
};
|
|
@@ -1,13 +1,12 @@
|
|
|
1
|
-
import { computed as u, openBlock as e, createElementBlock as o, normalizeStyle as y, createBlock as k, mergeProps as S, withCtx as x, renderSlot as w, createCommentVNode as
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
const F = (a) => ($("data-v-7fe677bf"), a = a(), L(), a), B = {
|
|
1
|
+
import { computed as u, openBlock as e, createElementBlock as o, normalizeStyle as y, createBlock as k, mergeProps as S, withCtx as x, renderSlot as w, createCommentVNode as i, createElementVNode as l, toDisplayString as m, Fragment as I, renderList as C, pushScopeId as L, popScopeId as T } from "vue";
|
|
2
|
+
import { h as O, E as g, I as A, O as E, T as N } from "./misc-BbzSgyER-2p2XKW1m.js";
|
|
3
|
+
const F = (a) => (L("data-v-4e37e48c"), a = a(), T(), a), $ = {
|
|
5
4
|
key: 0,
|
|
6
5
|
class: "card-general__content__player-img"
|
|
7
|
-
},
|
|
6
|
+
}, B = ["src"], H = {
|
|
8
7
|
key: 1,
|
|
9
8
|
class: "card-general__content__team-img"
|
|
10
|
-
}, M = ["src"],
|
|
9
|
+
}, M = ["src"], V = /* @__PURE__ */ F(() => /* @__PURE__ */ l("div", { class: "card-general__content__body" }, null, -1)), j = { class: "card-general__content__footer" }, z = { class: "card-general__content__footer__header" }, G = { class: "card-general__content__footer__header__team-logo" }, P = ["src"], q = { class: "card-general__content__footer__header__title" }, D = {
|
|
11
10
|
key: 0,
|
|
12
11
|
class: "card-general__content__footer__header__total"
|
|
13
12
|
}, J = { class: "card-general__content__footer__body" }, K = ["innerHTML"], Q = {
|
|
@@ -43,65 +42,65 @@ const F = (a) => ($("data-v-7fe677bf"), a = a(), L(), a), B = {
|
|
|
43
42
|
"--title-color": (t.data.thumbnails.colors.font_color_header || "#FFFFFF").trim(),
|
|
44
43
|
"--total-color": (t.data.thumbnails.colors.font_color_stats || "#FFFFFF").trim(),
|
|
45
44
|
"--border": `1px dashed ${t.data.thumbnails.colors.graphic_color || "#000000"}`
|
|
46
|
-
})), h = u(() =>
|
|
45
|
+
})), h = u(() => !t.data || !t.data.thumbnails ? null : {
|
|
47
46
|
backgroundOverlayColor: (t.data.thumbnails.colors.background_color || "#000000").trim(),
|
|
48
47
|
backgroundImageSrc: t.data.is_player && t.data.thumbnails.images.background_player_in_action[0] ? g(t.data.thumbnails.images.background_player_in_action[0]) : g(t.data.thumbnails.images.background_team),
|
|
49
48
|
titleColor: (t.data.thumbnails.colors.font_color_header || "#FFFFFF").trim(),
|
|
50
49
|
textColor: (t.data.thumbnails.colors.font_color_description || "#FFFFFF").trim(),
|
|
51
50
|
totalColor: (t.data.thumbnails.colors.font_color_stats || "#FFFFFF").trim()
|
|
52
|
-
})
|
|
51
|
+
}), v = u(() => t.data ? A(E({ data: t.data, descriptionType: t.descriptionType })) : ""), n = u(() => {
|
|
53
52
|
if (!t.data) return null;
|
|
54
|
-
let
|
|
55
|
-
|
|
53
|
+
let s = t.data.team_logo, c = t.data.sections;
|
|
54
|
+
s && (s = s.replace("-80", "-150")), c && (c = c.sort((r, d) => r[0] - d[0]));
|
|
56
55
|
let _ = 0;
|
|
57
|
-
return c = c.reduce((r, [
|
|
56
|
+
return c = c.reduce((r, [d, b], f) => (f % 4 === 0 && (r.push([]), _++), r[_ - 1].push([d, b]), r), []).reverse().reduce((r, d) => (r.push(...d), r), []), {
|
|
58
57
|
playerInAction: t.data.thumbnails.images && t.data.thumbnails.images.player_in_action ? g(t.data.thumbnails.images.player_in_action[0]) : "",
|
|
59
|
-
teamLogoSrc:
|
|
58
|
+
teamLogoSrc: s || "",
|
|
60
59
|
sections: c || []
|
|
61
60
|
};
|
|
62
61
|
});
|
|
63
|
-
return (
|
|
62
|
+
return (s, c) => (e(), o("div", {
|
|
64
63
|
class: "card-general",
|
|
65
64
|
style: y(p.value)
|
|
66
65
|
}, [
|
|
67
|
-
h.value ? (e(), k(
|
|
66
|
+
h.value ? (e(), k(N, S({ key: 0 }, h.value, { width: a.width }), {
|
|
68
67
|
default: x(() => [
|
|
69
|
-
w(
|
|
68
|
+
w(s.$slots, "default", {}, () => [
|
|
70
69
|
n.value ? (e(), o("div", {
|
|
71
70
|
key: 0,
|
|
72
71
|
style: y(p.value),
|
|
73
72
|
class: "card-general__content"
|
|
74
73
|
}, [
|
|
75
|
-
a.data.is_player ? (e(), o("div",
|
|
74
|
+
a.data.is_player ? (e(), o("div", $, [
|
|
76
75
|
n.value.playerInAction ? (e(), o("img", {
|
|
77
76
|
key: 0,
|
|
78
77
|
src: n.value.playerInAction,
|
|
79
78
|
alt: "player"
|
|
80
|
-
}, null, 8,
|
|
79
|
+
}, null, 8, B)) : i("", !0)
|
|
81
80
|
])) : (e(), o("div", H, [
|
|
82
81
|
n.value.teamLogoSrc ? (e(), o("img", {
|
|
83
82
|
key: 0,
|
|
84
83
|
src: n.value.teamLogoSrc,
|
|
85
84
|
alt: "team"
|
|
86
|
-
}, null, 8, M)) :
|
|
85
|
+
}, null, 8, M)) : i("", !0)
|
|
87
86
|
])),
|
|
88
|
-
|
|
89
|
-
l("div",
|
|
90
|
-
l("div",
|
|
91
|
-
l("div",
|
|
87
|
+
V,
|
|
88
|
+
l("div", j, [
|
|
89
|
+
l("div", z, [
|
|
90
|
+
l("div", G, [
|
|
92
91
|
a.data.team_logo ? (e(), o("img", {
|
|
93
92
|
key: 0,
|
|
94
93
|
src: a.data.team_logo,
|
|
95
94
|
alt: ""
|
|
96
|
-
}, null, 8,
|
|
95
|
+
}, null, 8, P)) : i("", !0)
|
|
97
96
|
]),
|
|
98
97
|
l("div", q, m(a.data.title), 1),
|
|
99
|
-
a.data.footer && a.data.footer.show_total ? (e(), o("div", D, m(a.data.total), 1)) :
|
|
98
|
+
a.data.footer && a.data.footer.show_total ? (e(), o("div", D, m(a.data.total), 1)) : i("", !0)
|
|
100
99
|
]),
|
|
101
100
|
l("div", J, [
|
|
102
101
|
l("div", {
|
|
103
102
|
class: "card-general__content__footer__body__description",
|
|
104
|
-
innerHTML:
|
|
103
|
+
innerHTML: v.value
|
|
105
104
|
}, null, 8, K),
|
|
106
105
|
n.value.sections && n.value.sections.length ? (e(), o("div", Q, [
|
|
107
106
|
(e(!0), o(I, null, C(n.value.sections, ([_, r]) => (e(), o("div", {
|
|
@@ -111,17 +110,17 @@ const F = (a) => ($("data-v-7fe677bf"), a = a(), L(), a), B = {
|
|
|
111
110
|
l("div", R, m(r), 1),
|
|
112
111
|
U
|
|
113
112
|
]))), 128))
|
|
114
|
-
])) :
|
|
113
|
+
])) : i("", !0)
|
|
115
114
|
])
|
|
116
115
|
])
|
|
117
|
-
], 4)) :
|
|
116
|
+
], 4)) : i("", !0)
|
|
118
117
|
], !0)
|
|
119
118
|
]),
|
|
120
119
|
_: 3
|
|
121
|
-
}, 16, ["width"])) :
|
|
120
|
+
}, 16, ["width"])) : i("", !0)
|
|
122
121
|
], 4));
|
|
123
122
|
}
|
|
124
|
-
},
|
|
123
|
+
}, Z = /* @__PURE__ */ O(W, [["__scopeId", "data-v-4e37e48c"]]);
|
|
125
124
|
export {
|
|
126
|
-
|
|
125
|
+
Z as default
|
|
127
126
|
};
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { useCssVars as P, computed as g, openBlock as e, createElementBlock as o, normalizeStyle as p, createBlock as
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
const f = (i) => (E("data-v-e7f87fcc"), i = i(), O(), i), J = { class: "card-content" }, K = {
|
|
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 s, toDisplayString as q, unref as V, normalizeClass as I, pushScopeId as O, popScopeId as $ } from "vue";
|
|
2
|
+
import { h as D, E as C, I as F, O as z, T as G } from "./misc-BbzSgyER-2p2XKW1m.js";
|
|
3
|
+
const f = (i) => (O("data-v-e7f87fcc"), i = i(), $(), i), J = { class: "card-content" }, K = {
|
|
5
4
|
key: 0,
|
|
6
5
|
class: "side-title"
|
|
7
6
|
}, Q = {
|
|
@@ -69,7 +68,7 @@ const f = (i) => (E("data-v-e7f87fcc"), i = i(), O(), i), J = { class: "card-con
|
|
|
69
68
|
}, M1 = ["fill"], y1 = ["stroke"], b1 = {
|
|
70
69
|
key: 3,
|
|
71
70
|
class: "top-content-center"
|
|
72
|
-
}, x1 = { class: "text-content" }, L1 = ["innerHTML"],
|
|
71
|
+
}, x1 = { class: "text-content" }, L1 = ["innerHTML"], T1 = ["src"], H1 = ["src"], B1 = {
|
|
73
72
|
__name: "CardGeneralIndividual",
|
|
74
73
|
props: {
|
|
75
74
|
height: {
|
|
@@ -91,12 +90,12 @@ const f = (i) => (E("data-v-e7f87fcc"), i = i(), O(), i), J = { class: "card-con
|
|
|
91
90
|
},
|
|
92
91
|
setup(i) {
|
|
93
92
|
P((n) => ({
|
|
94
|
-
"4e30887e":
|
|
93
|
+
"4e30887e": j.value,
|
|
95
94
|
"182d53d6": i.data.thumbnails.colors.font_color || "white",
|
|
96
95
|
"32b0f84e": i.data.title_align || "center",
|
|
97
96
|
"1868f69c": i.data.header.width || "40px"
|
|
98
97
|
}));
|
|
99
|
-
const l = i,
|
|
98
|
+
const l = i, S = g(() => ({
|
|
100
99
|
"--height": l.height,
|
|
101
100
|
"--width": l.width,
|
|
102
101
|
"--footer-background-color": l.data.thumbnails.colors.background_color_cards || "#000000"
|
|
@@ -105,22 +104,22 @@ const f = (i) => (E("data-v-e7f87fcc"), i = i(), O(), i), J = { class: "card-con
|
|
|
105
104
|
return !l.data || !l.data.thumbnails ? null : {
|
|
106
105
|
idCard: l.data.id,
|
|
107
106
|
backgroundOverlayColor: l.data.thumbnails.colors.background_color || "#000000",
|
|
108
|
-
backgroundImageSrc:
|
|
107
|
+
backgroundImageSrc: C((d = (r = (c = (n = l.data) == null ? void 0 : n.thumbnails) == null ? void 0 : c.images) == null ? void 0 : r.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 : "")
|
|
109
108
|
};
|
|
110
109
|
}), _ = g(() => {
|
|
111
110
|
var n, c, r, d;
|
|
112
111
|
return l.data ? {
|
|
113
|
-
playerInAction: (d = (r = (c = (n = l.data) == null ? void 0 : n.thumbnails) == null ? void 0 : c.images) == null ? void 0 : r.player_in_action) != null && d[0] ?
|
|
114
|
-
description:
|
|
112
|
+
playerInAction: (d = (r = (c = (n = l.data) == null ? void 0 : n.thumbnails) == null ? void 0 : c.images) == null ? void 0 : r.player_in_action) != null && d[0] ? C(l.data.thumbnails.images.player_in_action[0]) : "",
|
|
113
|
+
description: F(z({ data: l.data, descriptionType: l.descriptionType }))
|
|
115
114
|
} : null;
|
|
116
|
-
}),
|
|
115
|
+
}), j = g(() => l.data.categories.some((n) => [2, 20].includes(n)) && l.data.id == "11-g" ? "space-between" : "center");
|
|
117
116
|
return (n, c) => (e(), o("div", {
|
|
118
117
|
class: "card-general",
|
|
119
|
-
style: p(
|
|
118
|
+
style: p(S.value)
|
|
120
119
|
}, [
|
|
121
|
-
k.value ? (e(),
|
|
120
|
+
k.value ? (e(), A(G, E({ key: 0 }, k.value, { width: i.width }), {
|
|
122
121
|
default: N(() => {
|
|
123
|
-
var r, d, u, m, h, w, v, M, y, b, x, L,
|
|
122
|
+
var r, d, u, m, h, w, v, M, y, b, x, L, T, H, B;
|
|
124
123
|
return [
|
|
125
124
|
a("div", J, [
|
|
126
125
|
l.data.vertical_title ? (e(), o("div", K, [
|
|
@@ -168,7 +167,7 @@ const f = (i) => (E("data-v-e7f87fcc"), i = i(), O(), i), J = { class: "card-con
|
|
|
168
167
|
])) : s("", !0),
|
|
169
168
|
a("span", {
|
|
170
169
|
style: p({ color: l.data.thumbnails.colors.font_color_header || "white" })
|
|
171
|
-
},
|
|
170
|
+
}, q(l.data.title), 5),
|
|
172
171
|
a("img", {
|
|
173
172
|
class: "side-title__team-logo top",
|
|
174
173
|
src: l.data.team_logo,
|
|
@@ -180,7 +179,7 @@ const f = (i) => (E("data-v-e7f87fcc"), i = i(), O(), i), J = { class: "card-con
|
|
|
180
179
|
"text-align": (m = (u = l.data) == null ? void 0 : u.categories) != null && m.some((t) => [2, 20].includes(t)) && l.data.id == "11-g" || (w = (h = l.data) == null ? void 0 : h.categories) != null && w.some((t) => [4].includes(t)) && l.data.id == "7-g" ? "left !important" : "center !important",
|
|
181
180
|
color: l.data.thumbnails.colors.font_color_header || "white"
|
|
182
181
|
})
|
|
183
|
-
},
|
|
182
|
+
}, q(l.data.title), 5),
|
|
184
183
|
(M = (v = l.data) == null ? void 0 : v.categories) != null && M.some((t) => [2, 20].includes(t)) && l.data.id == "11-g" && l.data.header.show_icon ? (e(), o("svg", e1, [
|
|
185
184
|
a("g", {
|
|
186
185
|
opacity: ".6",
|
|
@@ -238,11 +237,11 @@ const f = (i) => (E("data-v-e7f87fcc"), i = i(), O(), i), J = { class: "card-con
|
|
|
238
237
|
l.data.vertical_title ? (e(), o("div", k1, [
|
|
239
238
|
a("div", _1, [
|
|
240
239
|
a("p", {
|
|
241
|
-
innerHTML:
|
|
240
|
+
innerHTML: V(z)({ data: l.data, descriptionType: l.descriptionType }).replace(/\*([^*]+)\*/g, "<span style='font-family: Poppins-Bold; font-weight: 700;'>$1</span>"),
|
|
242
241
|
style: p({ color: l.data.thumbnails.colors.font_color_description || "white" })
|
|
243
242
|
}, null, 12, w1)
|
|
244
243
|
]),
|
|
245
|
-
(
|
|
244
|
+
(H = (T = l.data) == null ? void 0 : T.categories) != null && H.some((t) => [4].includes(t)) && l.data.id == "6-g" ? (e(), o("svg", v1, [
|
|
246
245
|
a("path", {
|
|
247
246
|
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",
|
|
248
247
|
fill: l.data.thumbnails.colors.icon_color
|
|
@@ -257,7 +256,7 @@ const f = (i) => (E("data-v-e7f87fcc"), i = i(), O(), i), J = { class: "card-con
|
|
|
257
256
|
])) : (e(), o("div", b1, [
|
|
258
257
|
a("div", x1, [
|
|
259
258
|
a("p", {
|
|
260
|
-
innerHTML:
|
|
259
|
+
innerHTML: V(z)({ data: l.data, descriptionType: l.descriptionType }).replace(/\*([^*]+)\*/g, "<span style='font-family: Poppins-Bold; font-weight: 700;'>$1</span>"),
|
|
261
260
|
style: p({ color: l.data.thumbnails.colors.font_color_description || "white" })
|
|
262
261
|
}, null, 12, L1)
|
|
263
262
|
]),
|
|
@@ -265,7 +264,7 @@ const f = (i) => (E("data-v-e7f87fcc"), i = i(), O(), i), J = { class: "card-con
|
|
|
265
264
|
class: I(["team-logo", l.data.footer.team_logo_position || "left"]),
|
|
266
265
|
src: l.data.team_logo,
|
|
267
266
|
alt: "Logo del equipo"
|
|
268
|
-
}, null, 10,
|
|
267
|
+
}, null, 10, T1)
|
|
269
268
|
])),
|
|
270
269
|
(B = _.value) != null && B.playerInAction ? (e(), o("div", {
|
|
271
270
|
key: 4,
|
|
@@ -274,7 +273,7 @@ const f = (i) => (E("data-v-e7f87fcc"), i = i(), O(), i), J = { class: "card-con
|
|
|
274
273
|
a("img", {
|
|
275
274
|
src: _.value.playerInAction,
|
|
276
275
|
alt: "Jugador en acción"
|
|
277
|
-
}, null, 8,
|
|
276
|
+
}, null, 8, H1)
|
|
278
277
|
], 2)) : s("", !0)
|
|
279
278
|
])
|
|
280
279
|
];
|
|
@@ -283,7 +282,7 @@ const f = (i) => (E("data-v-e7f87fcc"), i = i(), O(), i), J = { class: "card-con
|
|
|
283
282
|
}, 16, ["width"])) : s("", !0)
|
|
284
283
|
], 4));
|
|
285
284
|
}
|
|
286
|
-
},
|
|
285
|
+
}, I1 = /* @__PURE__ */ D(B1, [["__scopeId", "data-v-e7f87fcc"]]);
|
|
287
286
|
export {
|
|
288
|
-
|
|
287
|
+
I1 as default
|
|
289
288
|
};
|