@golstats/gsc-landing 1.0.191 → 1.0.193
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/CardBaseAllIndividual-DW2NMKgR-HgCTNwsl.js +325 -0
- package/dist/CardGeneral-Ck1sE8Nk-nYRMD1Jp.js +116 -0
- package/dist/CardGeneralIndividual-KAcHT3zU-v50O2Zlq.js +283 -0
- package/dist/CardGeneralTeams-CwKmM2ip-1ajycpU3.js +654 -0
- package/dist/CardIndividual-OuxjYR6m-BJwKI5HZ.js +517 -0
- package/dist/CardIndividual1vs1-C6nQbFeh-DfQyFZf0.js +487 -0
- package/dist/CardIndividualAreas-DGRNgB7W-BXnQ-9tF.js +503 -0
- package/dist/CardIndividualCenters-0K7CYu6z-C1If3cnK.js +543 -0
- package/dist/CardIndividualDistance-DPP7-JWN-CiCspi8H.js +95 -0
- package/dist/CardIndividualFouls-CbvYRQjI-CVZKAmd3.js +668 -0
- package/dist/CardIndividualGoalParticipation-DBwh-Kcv-DIgeIQTB.js +108 -0
- package/dist/CardIndividualGoals-no1WpbpS-DaNagxNS.js +733 -0
- package/dist/CardIndividualGold-CkAyS4hx-DXmFVXpp.js +112 -0
- package/dist/CardIndividualNoGoalReceived-Bg-pQ5GI-7vmSeaL6.js +194 -0
- package/dist/CardIndividualPerformance-BZJ8PBWe-1n4ucmaO.js +99 -0
- package/dist/CardIndividualSaves-DboDAV9z-DW3t5zbf.js +241 -0
- package/dist/CardIndividualShotsOnGoal-Czqe0JAs-DQ1fY0Cd.js +169 -0
- package/dist/CardIndividualStatistics-Chw1TBSy-EkmKWR9X.js +219 -0
- package/dist/CardPromTournament-BbjTP9KD-CWu7JvYP.js +113 -0
- package/dist/CardSuccessfulPasses-UsTNXLy8-Creea-3D.js +426 -0
- package/dist/CardTheMostProductive-BGExgYBM-twyrFU3-.js +74 -0
- package/dist/CircleWithDotsBig-EzIr2wuY-TMr2eIat.js +91 -0
- package/dist/Shield-Dnuj3Yd--DAk7-Zio.js +150 -0
- package/dist/TimeSvg-Cxp_p6OH-cZfI6hDf.js +95 -0
- package/dist/gsc-landing.js +30847 -20928
- package/dist/gsc-landing.umd.cjs +65 -45
- package/dist/misc-CeQ5H5LP-DeaiNpCH.js +168 -0
- package/dist/style.css +1 -1
- package/package.json +53 -51
|
@@ -0,0 +1,169 @@
|
|
|
1
|
+
import { computed as r, openBlock as d, createElementBlock as n, normalizeStyle as F, createVNode as f, normalizeProps as m, guardReactiveProps as M, withCtx as v, createElementVNode as t, createCommentVNode as g, pushScopeId as k, popScopeId as b } from "vue";
|
|
2
|
+
import { d as y } from "./CardBaseAllIndividual-DW2NMKgR-HgCTNwsl.js";
|
|
3
|
+
import { y as w } from "./TimeSvg-Cxp_p6OH-cZfI6hDf.js";
|
|
4
|
+
import { h as x, z as S, P, E as I, I as O, O as T } from "./misc-CeQ5H5LP-DeaiNpCH.js";
|
|
5
|
+
const L = (o) => (k("data-v-65ca73c5"), o = o(), b(), o), z = { class: "shots__body" }, E = /* @__PURE__ */ L(() => /* @__PURE__ */ t("div", { class: "shots__body__title" }, " TIROS A GOL ", -1)), N = { class: "shots-svg" }, B = {
|
|
6
|
+
key: 0,
|
|
7
|
+
class: "time-svg"
|
|
8
|
+
}, V = {
|
|
9
|
+
width: "162",
|
|
10
|
+
height: "125",
|
|
11
|
+
viewBox: "0 0 162 125",
|
|
12
|
+
fill: "none",
|
|
13
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
14
|
+
}, $ = { "clip-path": "url(#clip0_153_9715)" }, G = ["stroke"], R = ["stroke"], U = ["fill"], j = /* @__PURE__ */ L(() => /* @__PURE__ */ t("path", {
|
|
15
|
+
"fill-rule": "evenodd",
|
|
16
|
+
"clip-rule": "evenodd",
|
|
17
|
+
d: "M56.04 0.749809L56.04 18.8563C56.04 19.6572 56.6913 20.3054 57.4922 20.3017L103.497 20.0877C104.292 20.084 104.935 19.438 104.935 18.6423L104.935 1.08777"
|
|
18
|
+
}, null, -1)), q = [
|
|
19
|
+
j
|
|
20
|
+
], A = ["fill"], D = /* @__PURE__ */ L(() => /* @__PURE__ */ t("mask", {
|
|
21
|
+
id: "path-5-inside-2_153_9715",
|
|
22
|
+
fill: "white"
|
|
23
|
+
}, [
|
|
24
|
+
/* @__PURE__ */ t("path", {
|
|
25
|
+
"fill-rule": "evenodd",
|
|
26
|
+
"clip-rule": "evenodd",
|
|
27
|
+
d: "M42.0635 0.755306L42.0635 32.8316C42.0635 33.6328 42.7151 34.2811 43.5163 34.2771L117.461 33.9019C118.256 33.8978 118.899 33.2518 118.899 32.4564L118.899 1.33467"
|
|
28
|
+
})
|
|
29
|
+
], -1)), H = ["fill"], J = ["stroke"], K = ["fill", "stroke"], Q = ["fill"], W = { id: "clip0_153_9715" }, X = ["fill"], Y = {
|
|
30
|
+
__name: "CardIndividualShotsOnGoal",
|
|
31
|
+
props: {
|
|
32
|
+
height: {
|
|
33
|
+
type: String,
|
|
34
|
+
default: "445px"
|
|
35
|
+
},
|
|
36
|
+
width: {
|
|
37
|
+
type: String,
|
|
38
|
+
default: "319px"
|
|
39
|
+
},
|
|
40
|
+
data: {
|
|
41
|
+
type: Object,
|
|
42
|
+
default: () => null
|
|
43
|
+
},
|
|
44
|
+
descriptionType: {
|
|
45
|
+
type: Number,
|
|
46
|
+
default: 0
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
setup(o) {
|
|
50
|
+
const l = o, _ = r(() => {
|
|
51
|
+
var a, i, s, C, c, u, h, p;
|
|
52
|
+
return {
|
|
53
|
+
height: l.height,
|
|
54
|
+
width: l.width,
|
|
55
|
+
footerHeight: "137px",
|
|
56
|
+
playerPhotoUrl: S(l.data.player_id || ""),
|
|
57
|
+
teamLogoUrl: P(l.data.team_id || ""),
|
|
58
|
+
cardColor: (l.data.thumbnails.colors.background_color || "#000000").trim(),
|
|
59
|
+
backgroundImageSrc: I((C = (s = (i = (a = l.data) == null ? void 0 : a.thumbnails) == null ? void 0 : i.images) == null ? void 0 : s.background_player_in_action) != null && C[0] ? l.data.thumbnails.images.background_player_in_action[0] : (p = (h = (u = (c = l.data) == null ? void 0 : c.thumbnails) == null ? void 0 : u.images) == null ? void 0 : h.team_in_action) != null && p[0] ? l.data.thumbnails.images.team_in_action[0] : ""),
|
|
60
|
+
footerBodyData: {
|
|
61
|
+
description: O(T({ data: l.data, descriptionType: l.descriptionType })),
|
|
62
|
+
total: l.data.total,
|
|
63
|
+
textColor: (l.data.thumbnails.colors.font_color_description || "#FFFFFF").trim(),
|
|
64
|
+
totalTextColor: (l.data.thumbnails.colors.font_color_stats || "#FFFFFF").trim(),
|
|
65
|
+
totalCircleColor: (l.data.thumbnails.colors.data_color || "#000000").trim(),
|
|
66
|
+
isTotalPercentage: l.data.footer.show_percentage
|
|
67
|
+
}
|
|
68
|
+
};
|
|
69
|
+
}), e = r(() => ({
|
|
70
|
+
fieldLineColor: l.data.thumbnails.colors.graphic_color || "#FFFFFF",
|
|
71
|
+
arrowColor: l.data.thumbnails.colors.graphic_color_2 || "#FFFFFF",
|
|
72
|
+
hasMatchLapse: l.conditions && l.conditions.matchlapse,
|
|
73
|
+
timeSvgProps: {
|
|
74
|
+
lineColor: l.data.thumbnails.colors.icon_color || "#FFFFFF",
|
|
75
|
+
fillColor: l.data.thumbnails.colors.background_icon_color || "#000000",
|
|
76
|
+
conditions: l.data.conditions
|
|
77
|
+
}
|
|
78
|
+
})), Z = r(() => ({
|
|
79
|
+
"--title-color": l.data.thumbnails.colors.font_color_header || "#FFFFFF"
|
|
80
|
+
}));
|
|
81
|
+
return (a, i) => (d(), n("div", {
|
|
82
|
+
class: "shots",
|
|
83
|
+
style: F(Z.value)
|
|
84
|
+
}, [
|
|
85
|
+
f(y, m(M(_.value)), {
|
|
86
|
+
body: v(() => [
|
|
87
|
+
t("div", z, [
|
|
88
|
+
E,
|
|
89
|
+
t("div", N, [
|
|
90
|
+
e.value.hasMatchLapse ? (d(), n("div", B, [
|
|
91
|
+
f(w, m(M(e.value.timeSvgProps)), null, 16)
|
|
92
|
+
])) : g("", !0),
|
|
93
|
+
(d(), n("svg", V, [
|
|
94
|
+
t("g", $, [
|
|
95
|
+
t("rect", {
|
|
96
|
+
x: "0.558697",
|
|
97
|
+
y: "124.445",
|
|
98
|
+
width: "123.89",
|
|
99
|
+
height: "160.002",
|
|
100
|
+
rx: "0.89069",
|
|
101
|
+
transform: "rotate(-90 0.558697 124.445)",
|
|
102
|
+
fill: "#070707",
|
|
103
|
+
"fill-opacity": "0.17",
|
|
104
|
+
stroke: e.value.fieldLineColor,
|
|
105
|
+
"stroke-width": "1.10958"
|
|
106
|
+
}, null, 8, G),
|
|
107
|
+
t("path", {
|
|
108
|
+
d: "M0.865234 124.752L160.124 124.752",
|
|
109
|
+
stroke: e.value.fieldLineColor,
|
|
110
|
+
"stroke-width": "0.531453",
|
|
111
|
+
"stroke-linecap": "square"
|
|
112
|
+
}, null, 8, R),
|
|
113
|
+
t("mask", {
|
|
114
|
+
id: "path-3-inside-1_153_9715",
|
|
115
|
+
fill: e.value.fieldLineColor
|
|
116
|
+
}, q, 8, U),
|
|
117
|
+
t("path", {
|
|
118
|
+
d: "M54.9305 0.749809L54.9305 18.8563L57.1496 18.8563L57.1496 0.749809L54.9305 0.749809ZM57.4974 21.4113L103.502 21.1973L103.491 18.9782L57.4871 19.1921L57.4974 21.4113ZM106.045 18.6423L106.045 1.08777L103.826 1.08777L103.826 18.6423L106.045 18.6423ZM103.502 21.1973C104.908 21.1908 106.045 20.0488 106.045 18.6423L103.826 18.6423C103.826 18.8272 103.676 18.9773 103.491 18.9782L103.502 21.1973ZM54.9305 18.8563C54.9305 20.272 56.0817 21.4179 57.4974 21.4113L57.4871 19.1921C57.301 19.193 57.1496 19.0424 57.1496 18.8563L54.9305 18.8563Z",
|
|
119
|
+
fill: e.value.fieldLineColor,
|
|
120
|
+
mask: "url(#path-3-inside-1_153_9715)"
|
|
121
|
+
}, null, 8, A),
|
|
122
|
+
D,
|
|
123
|
+
t("path", {
|
|
124
|
+
d: "M40.9539 0.755306L40.9539 32.8316L43.1731 32.8316L43.1731 0.755306L40.9539 0.755306ZM43.5219 35.3866L117.466 35.0114L117.455 32.7923L43.5107 33.1675L43.5219 35.3866ZM120.008 32.4564L120.008 1.33467L117.789 1.33467L117.789 32.4564L120.008 32.4564ZM117.466 35.0114C118.872 35.0043 120.008 33.8625 120.008 32.4564L117.789 32.4564C117.789 32.6412 117.64 32.7913 117.455 32.7923L117.466 35.0114ZM40.9539 32.8316C40.9539 34.2478 42.1058 35.3938 43.5219 35.3866L43.5107 33.1675C43.3245 33.1684 43.1731 33.0178 43.1731 32.8316L40.9539 32.8316Z",
|
|
125
|
+
fill: e.value.fieldLineColor,
|
|
126
|
+
mask: "url(#path-5-inside-2_153_9715)"
|
|
127
|
+
}, null, 8, H),
|
|
128
|
+
t("path", {
|
|
129
|
+
d: "M80.475 90.3827C99.4573 90.3827 114.845 105.771 114.845 124.754C114.845 143.737 99.4573 159.126 80.475 159.126C61.4928 159.126 46.1046 143.737 46.1046 124.754C46.1046 105.771 61.4928 90.3827 80.475 90.3827Z",
|
|
130
|
+
stroke: e.value.fieldLineColor,
|
|
131
|
+
"stroke-width": "1.10958"
|
|
132
|
+
}, null, 8, J),
|
|
133
|
+
t("ellipse", {
|
|
134
|
+
cx: "80.474",
|
|
135
|
+
cy: "124.768",
|
|
136
|
+
rx: "3.49262",
|
|
137
|
+
ry: "3.49252",
|
|
138
|
+
transform: "rotate(-90 80.474 124.768)",
|
|
139
|
+
fill: e.value.fieldLineColor,
|
|
140
|
+
stroke: e.value.fieldLineColor,
|
|
141
|
+
"stroke-width": "0.531453"
|
|
142
|
+
}, null, 8, K)
|
|
143
|
+
]),
|
|
144
|
+
t("path", {
|
|
145
|
+
d: "M80.0693 7.64746L77.944 14.2482L84.7231 12.7884L80.0693 7.64746ZM49.2923 59.8762C47.5671 60.267 46.4853 61.9823 46.876 63.7075C47.2667 65.4327 48.982 66.5145 50.7072 66.1238C52.4324 65.7331 53.5143 64.0177 53.1235 62.2925C52.7328 60.5673 51.0175 59.4855 49.2923 59.8762ZM80.1397 11.1767C80.2618 11.939 80.3667 12.6999 80.4548 13.4587L81.6479 13.3202C81.5578 12.5442 81.4505 11.7662 81.3257 10.9868L80.1397 11.1767ZM80.6707 15.7521C80.7262 16.5217 80.7645 17.2887 80.786 18.0525L81.9866 18.0189C81.9647 17.2375 81.9255 16.4529 81.8687 15.6657L80.6707 15.7521ZM80.7995 20.3556C80.7868 21.1267 80.757 21.8939 80.7102 22.6567L81.909 22.7302C81.9569 21.9495 81.9875 21.1643 82.0004 20.3752L80.7995 20.3556ZM80.5174 24.9512C80.4354 25.7177 80.3363 26.4789 80.2203 27.2342L81.4075 27.4165C81.5262 26.643 81.6277 25.8636 81.7117 25.0789L80.5174 24.9512ZM79.8185 29.5009C79.6664 30.2562 79.4973 31.0047 79.3115 31.7459L80.4765 32.038C80.6669 31.2785 80.8401 30.5116 80.9959 29.7379L79.8185 29.5009ZM78.6991 33.9641C78.4766 34.7013 78.2372 35.4301 77.9814 36.1499L79.1131 36.5522C79.3754 35.814 79.6209 35.0668 79.849 34.3112L78.6991 33.9641ZM77.1583 38.2977C76.8653 39.0093 76.5558 39.7108 76.2302 40.4016L77.3166 40.9138C77.6508 40.2048 77.9684 39.4849 78.2689 38.755L77.1583 38.2977ZM75.1975 42.4554C74.8347 43.1332 74.4557 43.7993 74.0609 44.4528L75.089 45.0738C75.4946 44.4024 75.8839 43.7182 76.2564 43.0222L75.1975 42.4554ZM72.8212 46.3878C72.3897 47.0234 71.9424 47.6455 71.4797 48.2531L72.4354 48.9807C72.9113 48.3556 73.3713 47.7159 73.8149 47.0624L72.8212 46.3878ZM70.0386 50.0414C69.5409 50.6251 69.0279 51.1934 68.5002 51.7454L69.3684 52.5753C69.9119 52.0067 70.4401 51.4216 70.9525 50.8208L70.0386 50.0414ZM66.8673 53.3578C66.307 53.8797 65.7322 54.3845 65.1434 54.8712L65.9086 55.7969C66.5159 55.295 67.1085 54.7746 67.686 54.2366L66.8673 53.3578ZM63.3327 56.2785C62.7153 56.729 62.0843 57.1607 61.4401 57.5727L62.0873 58.5846C62.7523 58.1592 63.4036 57.7136 64.0407 57.2487L63.3327 56.2785ZM59.4715 58.7474C58.8048 59.1174 58.1256 59.4673 57.4341 59.7961L57.9499 60.8808C58.6642 60.5411 59.3659 60.1797 60.0544 59.7975L59.4715 58.7474ZM55.3349 60.7141C54.6287 60.9966 53.9109 61.258 53.182 61.4973L53.5567 62.6384C54.3098 62.3912 55.0514 62.1212 55.7811 61.8292L55.3349 60.7141ZM50.9836 62.1429C50.6141 62.2389 50.2419 62.3294 49.8671 62.4143L50.1324 63.5857C50.5194 63.4981 50.9039 63.4046 51.2856 63.3054L50.9836 62.1429ZM80.0693 7.64746L77.944 14.2482L84.7231 12.7884L80.0693 7.64746ZM49.2923 59.8762C47.5671 60.267 46.4853 61.9823 46.876 63.7075C47.2667 65.4327 48.982 66.5145 50.7072 66.1238C52.4324 65.7331 53.5143 64.0177 53.1235 62.2925C52.7328 60.5673 51.0175 59.4855 49.2923 59.8762ZM80.1397 11.1767C80.2618 11.939 80.3667 12.6999 80.4548 13.4587L81.6479 13.3202C81.5578 12.5442 81.4505 11.7662 81.3257 10.9868L80.1397 11.1767ZM80.6707 15.7521C80.7262 16.5217 80.7645 17.2887 80.786 18.0525L81.9866 18.0189C81.9647 17.2375 81.9255 16.4529 81.8687 15.6657L80.6707 15.7521ZM80.7995 20.3556C80.7868 21.1267 80.757 21.8939 80.7102 22.6567L81.909 22.7302C81.9569 21.9495 81.9875 21.1643 82.0004 20.3752L80.7995 20.3556ZM80.5174 24.9512C80.4354 25.7177 80.3363 26.4789 80.2203 27.2342L81.4075 27.4165C81.5262 26.643 81.6277 25.8636 81.7117 25.0789L80.5174 24.9512ZM79.8185 29.5009C79.6664 30.2562 79.4973 31.0047 79.3115 31.7459L80.4765 32.038C80.6669 31.2785 80.8401 30.5116 80.9959 29.7379L79.8185 29.5009ZM78.6991 33.9641C78.4766 34.7013 78.2372 35.4301 77.9814 36.1499L79.1131 36.5522C79.3754 35.814 79.6209 35.0668 79.849 34.3112L78.6991 33.9641ZM77.1583 38.2977C76.8653 39.0093 76.5558 39.7108 76.2302 40.4016L77.3166 40.9138C77.6508 40.2048 77.9684 39.4849 78.2689 38.755L77.1583 38.2977ZM75.1975 42.4554C74.8347 43.1332 74.4557 43.7993 74.0609 44.4528L75.089 45.0738C75.4946 44.4024 75.8839 43.7182 76.2564 43.0222L75.1975 42.4554ZM72.8212 46.3878C72.3897 47.0234 71.9424 47.6455 71.4797 48.2531L72.4354 48.9807C72.9113 48.3556 73.3713 47.7159 73.8149 47.0624L72.8212 46.3878ZM70.0386 50.0414C69.5409 50.6251 69.0279 51.1934 68.5002 51.7454L69.3684 52.5753C69.9119 52.0067 70.4401 51.4216 70.9525 50.8208L70.0386 50.0414ZM66.8673 53.3578C66.307 53.8797 65.7322 54.3845 65.1434 54.8712L65.9086 55.7969C66.5159 55.295 67.1085 54.7746 67.686 54.2366L66.8673 53.3578ZM63.3327 56.2785C62.7153 56.729 62.0843 57.1607 61.4401 57.5727L62.0873 58.5846C62.7523 58.1592 63.4036 57.7136 64.0407 57.2487L63.3327 56.2785ZM59.4715 58.7474C58.8048 59.1174 58.1256 59.4673 57.4341 59.7961L57.9499 60.8808C58.6642 60.5411 59.3659 60.1797 60.0544 59.7975L59.4715 58.7474ZM55.3349 60.7141C54.6287 60.9966 53.9109 61.258 53.182 61.4973L53.5567 62.6384C54.3098 62.3912 55.0514 62.1212 55.7811 61.8292L55.3349 60.7141ZM50.9836 62.1429C50.6141 62.2389 50.2419 62.3294 49.8671 62.4143L50.1324 63.5857C50.5194 63.4981 50.9039 63.4046 51.2856 63.3054L50.9836 62.1429Z",
|
|
146
|
+
fill: e.value.fieldLineColor
|
|
147
|
+
}, null, 8, Q),
|
|
148
|
+
t("defs", null, [
|
|
149
|
+
t("clipPath", W, [
|
|
150
|
+
t("rect", {
|
|
151
|
+
width: "161.111",
|
|
152
|
+
height: "125",
|
|
153
|
+
fill: e.value.fieldLineColor,
|
|
154
|
+
transform: "translate(0.00390625)"
|
|
155
|
+
}, null, 8, X)
|
|
156
|
+
])
|
|
157
|
+
])
|
|
158
|
+
]))
|
|
159
|
+
])
|
|
160
|
+
])
|
|
161
|
+
]),
|
|
162
|
+
_: 1
|
|
163
|
+
}, 16)
|
|
164
|
+
], 4));
|
|
165
|
+
}
|
|
166
|
+
}, a5 = /* @__PURE__ */ x(Y, [["__scopeId", "data-v-65ca73c5"]]);
|
|
167
|
+
export {
|
|
168
|
+
a5 as default
|
|
169
|
+
};
|
|
@@ -0,0 +1,219 @@
|
|
|
1
|
+
import { computed as r, openBlock as s, createElementBlock as d, normalizeStyle as C, createVNode as b, normalizeProps as L, guardReactiveProps as v, withCtx as y, createElementVNode as t, toDisplayString as h, createCommentVNode as x, pushScopeId as B, popScopeId as S } from "vue";
|
|
2
|
+
import { d as k } from "./CardBaseAllIndividual-DW2NMKgR-HgCTNwsl.js";
|
|
3
|
+
import { h as w, z as I, E as U, I as V, O as A, $ as G, P as M } from "./misc-CeQ5H5LP-DeaiNpCH.js";
|
|
4
|
+
const n = (a) => (B("data-v-1ad95fc6"), a = a(), S(), a), O = { class: "statistics__body" }, $ = { class: "statistics__body__title-sub" }, D = { class: "statistics__body__title-sub__title" }, E = { class: "statistics__body__data" }, P = { class: "shield-svg" }, T = { class: "team-logo" }, z = ["src"], N = /* @__PURE__ */ n(() => /* @__PURE__ */ t("div", { class: "ranking" }, [
|
|
5
|
+
/* @__PURE__ */ t("span", { class: "hashtag" }, "#"),
|
|
6
|
+
/* @__PURE__ */ t("span", { class: "number" }, "1")
|
|
7
|
+
], -1)), H = { class: "subtitle" }, R = {
|
|
8
|
+
width: "217",
|
|
9
|
+
height: "220",
|
|
10
|
+
viewBox: "0 0 217 220",
|
|
11
|
+
fill: "none",
|
|
12
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
13
|
+
}, Z = /* @__PURE__ */ n(() => /* @__PURE__ */ t("g", { filter: "url(#filter0_bd_4070_92224)" }, [
|
|
14
|
+
/* @__PURE__ */ t("path", {
|
|
15
|
+
d: "M108.503 50C115.166 50 121.88 50.4001 128.464 51.1939L129.734 51.3475L131.004 51.5012L131.73 52.5382L132.456 53.5753C137.891 61.3499 147.373 67.1049 158.474 69.3679L160.737 69.8288L163 70.2897V83.6241C163 100.191 158.067 116.237 148.728 130.029C139.392 143.821 126.24 154.496 110.695 160.894L109.597 161.345L108.5 161.796L107.403 161.345L106.305 160.894C90.7599 154.496 77.6079 143.821 68.2722 130.029C58.9365 116.237 54 100.188 54 83.6241V70.2897L56.2631 69.8288L58.5262 69.3679C69.6268 67.1049 79.109 61.3499 84.5437 53.5753L85.2698 52.5382L85.996 51.5012L87.2659 51.3475L88.5359 51.1939C95.12 50.4033 101.838 50 108.497 50L108.503 50Z",
|
|
16
|
+
fill: "white",
|
|
17
|
+
"fill-opacity": "0.12",
|
|
18
|
+
"shape-rendering": "crispEdges"
|
|
19
|
+
})
|
|
20
|
+
], -1)), j = { filter: "url(#filter1_bd_4070_92224)" }, q = ["fill"], J = /* @__PURE__ */ n(() => /* @__PURE__ */ t("defs", null, [
|
|
21
|
+
/* @__PURE__ */ t("filter", {
|
|
22
|
+
id: "filter0_bd_4070_92224",
|
|
23
|
+
x: "-37.6419",
|
|
24
|
+
y: "-41.6419",
|
|
25
|
+
width: "292.284",
|
|
26
|
+
height: "295.08",
|
|
27
|
+
filterUnits: "userSpaceOnUse",
|
|
28
|
+
"color-interpolation-filters": "sRGB"
|
|
29
|
+
}, [
|
|
30
|
+
/* @__PURE__ */ t("feFlood", {
|
|
31
|
+
"flood-opacity": "0",
|
|
32
|
+
result: "BackgroundImageFix"
|
|
33
|
+
}),
|
|
34
|
+
/* @__PURE__ */ t("feGaussianBlur", {
|
|
35
|
+
in: "BackgroundImageFix",
|
|
36
|
+
stdDeviation: "45.821"
|
|
37
|
+
}),
|
|
38
|
+
/* @__PURE__ */ t("feComposite", {
|
|
39
|
+
in2: "SourceAlpha",
|
|
40
|
+
operator: "in",
|
|
41
|
+
result: "effect1_backgroundBlur_4070_92224"
|
|
42
|
+
}),
|
|
43
|
+
/* @__PURE__ */ t("feColorMatrix", {
|
|
44
|
+
in: "SourceAlpha",
|
|
45
|
+
type: "matrix",
|
|
46
|
+
values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",
|
|
47
|
+
result: "hardAlpha"
|
|
48
|
+
}),
|
|
49
|
+
/* @__PURE__ */ t("feOffset", { dy: "4" }),
|
|
50
|
+
/* @__PURE__ */ t("feGaussianBlur", { stdDeviation: "27" }),
|
|
51
|
+
/* @__PURE__ */ t("feComposite", {
|
|
52
|
+
in2: "hardAlpha",
|
|
53
|
+
operator: "out"
|
|
54
|
+
}),
|
|
55
|
+
/* @__PURE__ */ t("feColorMatrix", {
|
|
56
|
+
type: "matrix",
|
|
57
|
+
values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.35 0"
|
|
58
|
+
}),
|
|
59
|
+
/* @__PURE__ */ t("feBlend", {
|
|
60
|
+
mode: "normal",
|
|
61
|
+
in2: "effect1_backgroundBlur_4070_92224",
|
|
62
|
+
result: "effect2_dropShadow_4070_92224"
|
|
63
|
+
}),
|
|
64
|
+
/* @__PURE__ */ t("feBlend", {
|
|
65
|
+
mode: "normal",
|
|
66
|
+
in: "SourceGraphic",
|
|
67
|
+
in2: "effect2_dropShadow_4070_92224",
|
|
68
|
+
result: "shape"
|
|
69
|
+
})
|
|
70
|
+
]),
|
|
71
|
+
/* @__PURE__ */ t("filter", {
|
|
72
|
+
id: "filter1_bd_4070_92224",
|
|
73
|
+
x: "-37.6419",
|
|
74
|
+
y: "-41.6419",
|
|
75
|
+
width: "292.284",
|
|
76
|
+
height: "295.08",
|
|
77
|
+
filterUnits: "userSpaceOnUse",
|
|
78
|
+
"color-interpolation-filters": "sRGB"
|
|
79
|
+
}, [
|
|
80
|
+
/* @__PURE__ */ t("feFlood", {
|
|
81
|
+
"flood-opacity": "0",
|
|
82
|
+
result: "BackgroundImageFix"
|
|
83
|
+
}),
|
|
84
|
+
/* @__PURE__ */ t("feGaussianBlur", {
|
|
85
|
+
in: "BackgroundImageFix",
|
|
86
|
+
stdDeviation: "45.821"
|
|
87
|
+
}),
|
|
88
|
+
/* @__PURE__ */ t("feComposite", {
|
|
89
|
+
in2: "SourceAlpha",
|
|
90
|
+
operator: "in",
|
|
91
|
+
result: "effect1_backgroundBlur_4070_92224"
|
|
92
|
+
}),
|
|
93
|
+
/* @__PURE__ */ t("feColorMatrix", {
|
|
94
|
+
in: "SourceAlpha",
|
|
95
|
+
type: "matrix",
|
|
96
|
+
values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",
|
|
97
|
+
result: "hardAlpha"
|
|
98
|
+
}),
|
|
99
|
+
/* @__PURE__ */ t("feOffset", { dy: "4" }),
|
|
100
|
+
/* @__PURE__ */ t("feGaussianBlur", { stdDeviation: "27" }),
|
|
101
|
+
/* @__PURE__ */ t("feComposite", {
|
|
102
|
+
in2: "hardAlpha",
|
|
103
|
+
operator: "out"
|
|
104
|
+
}),
|
|
105
|
+
/* @__PURE__ */ t("feColorMatrix", {
|
|
106
|
+
type: "matrix",
|
|
107
|
+
values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.35 0"
|
|
108
|
+
}),
|
|
109
|
+
/* @__PURE__ */ t("feBlend", {
|
|
110
|
+
mode: "normal",
|
|
111
|
+
in2: "effect1_backgroundBlur_4070_92224",
|
|
112
|
+
result: "effect2_dropShadow_4070_92224"
|
|
113
|
+
}),
|
|
114
|
+
/* @__PURE__ */ t("feBlend", {
|
|
115
|
+
mode: "normal",
|
|
116
|
+
in: "SourceGraphic",
|
|
117
|
+
in2: "effect2_dropShadow_4070_92224",
|
|
118
|
+
result: "shape"
|
|
119
|
+
})
|
|
120
|
+
])
|
|
121
|
+
], -1)), K = {
|
|
122
|
+
__name: "CardIndividualStatistics",
|
|
123
|
+
props: {
|
|
124
|
+
height: {
|
|
125
|
+
type: String,
|
|
126
|
+
default: "445px"
|
|
127
|
+
},
|
|
128
|
+
width: {
|
|
129
|
+
type: String,
|
|
130
|
+
default: "319px"
|
|
131
|
+
},
|
|
132
|
+
data: {
|
|
133
|
+
type: Object,
|
|
134
|
+
default: () => null
|
|
135
|
+
},
|
|
136
|
+
descriptionType: {
|
|
137
|
+
type: Number,
|
|
138
|
+
default: 0
|
|
139
|
+
}
|
|
140
|
+
},
|
|
141
|
+
setup(a) {
|
|
142
|
+
const e = a, g = r(() => {
|
|
143
|
+
var i, l, u, c, p, f, _, m;
|
|
144
|
+
return {
|
|
145
|
+
height: e.height,
|
|
146
|
+
width: e.width,
|
|
147
|
+
footerHeight: "137px",
|
|
148
|
+
playerPhotoPositionTop: "24px",
|
|
149
|
+
playerPhotoUrl: I(e.data.player_id || ""),
|
|
150
|
+
cardColor: (e.data.thumbnails.colors.background_color || "#000000").trim(),
|
|
151
|
+
backgroundImageSrc: U((c = (u = (l = (i = e.data) == null ? void 0 : i.thumbnails) == null ? void 0 : l.images) == null ? void 0 : u.background_player_in_action) != null && c[0] ? e.data.thumbnails.images.background_player_in_action[0] : (m = (_ = (f = (p = e.data) == null ? void 0 : p.thumbnails) == null ? void 0 : f.images) == null ? void 0 : _.team_in_action) != null && m[0] ? e.data.thumbnails.images.team_in_action[0] : ""),
|
|
152
|
+
footerBodyData: {
|
|
153
|
+
description: V(A({ data: e.data, descriptionType: e.descriptionType })),
|
|
154
|
+
total: e.data.total,
|
|
155
|
+
textColor: (e.data.thumbnails.colors.font_color_description || "#FFFFFF").trim(),
|
|
156
|
+
totalTextColor: (e.data.thumbnails.colors.font_color_stats || "#FFFFFF").trim()
|
|
157
|
+
}
|
|
158
|
+
};
|
|
159
|
+
}), o = r(() => {
|
|
160
|
+
const { title: i, subtitle: l } = G(e.data.title);
|
|
161
|
+
return {
|
|
162
|
+
title: i,
|
|
163
|
+
subtitle: l,
|
|
164
|
+
lineColor: (e.data.thumbnails.colors.line_color || "#FFFFFF").trim(),
|
|
165
|
+
teamLogoUrl: M(e.data.team_id || "")
|
|
166
|
+
};
|
|
167
|
+
});
|
|
168
|
+
r(() => e.data.id);
|
|
169
|
+
const F = r(() => ({
|
|
170
|
+
"--title-color": (e.data.thumbnails.colors.font_color_header || "#FFFFFF").trim(),
|
|
171
|
+
"--text-color": (e.data.thumbnails.colors.font_color_description || "#FFFFFF").trim(),
|
|
172
|
+
"--data-color": (e.data.thumbnails.colors.background_color_cards || "#000000").trim(),
|
|
173
|
+
"--border": `1px solid ${e.data.thumbnails.colors.graphic_color || "#FFFFFF"}`
|
|
174
|
+
}));
|
|
175
|
+
return (i, l) => (s(), d("div", {
|
|
176
|
+
class: "statistics",
|
|
177
|
+
style: C(F.value)
|
|
178
|
+
}, [
|
|
179
|
+
b(k, L(v(g.value)), {
|
|
180
|
+
body: y(() => [
|
|
181
|
+
t("div", O, [
|
|
182
|
+
t("div", $, [
|
|
183
|
+
t("div", D, h(o.value.title), 1)
|
|
184
|
+
]),
|
|
185
|
+
t("div", E, [
|
|
186
|
+
t("div", P, [
|
|
187
|
+
t("div", T, [
|
|
188
|
+
o.value.teamLogoUrl ? (s(), d("img", {
|
|
189
|
+
key: 0,
|
|
190
|
+
src: o.value.teamLogoUrl,
|
|
191
|
+
alt: ""
|
|
192
|
+
}, null, 8, z)) : x("", !0)
|
|
193
|
+
]),
|
|
194
|
+
N,
|
|
195
|
+
t("div", H, h(o.value.subtitle), 1),
|
|
196
|
+
(s(), d("svg", R, [
|
|
197
|
+
Z,
|
|
198
|
+
t("g", j, [
|
|
199
|
+
t("path", {
|
|
200
|
+
"fill-rule": "evenodd",
|
|
201
|
+
"clip-rule": "evenodd",
|
|
202
|
+
d: "M85.996 51.5012L88.5359 51.1939C95.12 50.4033 101.838 50 108.497 50H108.503C115.166 50 121.88 50.4001 128.464 51.1939L131.004 51.5012L132.456 53.5753C137.891 61.3499 147.373 67.1049 158.474 69.3679L163 70.2897V83.6241C163 100.191 158.067 116.237 148.728 130.029C139.392 143.821 126.24 154.496 110.695 160.894L108.5 161.796L106.305 160.894C90.7599 154.496 77.6079 143.821 68.2722 130.029C58.9365 116.237 54 100.188 54 83.6241V70.2897L58.5262 69.3679C69.6268 67.1049 79.109 61.3499 84.5437 53.5753L85.996 51.5012ZM56 71.9234L58.9253 71.3276C70.4237 68.9836 80.3979 62.9961 86.182 54.7224M86.1829 54.7211L87.1223 53.3795L88.7743 53.1796C95.2793 52.3986 101.918 52 108.497 52H108.503C115.086 52 121.721 52.3954 128.225 53.1795L129.878 53.3795L130.817 54.7211C136.601 62.9955 146.575 68.9834 158.074 71.3275L161 71.9234V83.6241C161 99.7894 156.188 115.445 147.072 128.907C137.958 142.371 125.119 152.794 109.933 159.044L108.5 159.634L107.067 159.044C91.881 152.794 79.0417 142.371 69.9284 128.908C60.8154 115.445 56 99.786 56 83.6241V71.9234",
|
|
203
|
+
fill: o.value.lineColor
|
|
204
|
+
}, null, 8, q)
|
|
205
|
+
]),
|
|
206
|
+
J
|
|
207
|
+
]))
|
|
208
|
+
])
|
|
209
|
+
])
|
|
210
|
+
])
|
|
211
|
+
]),
|
|
212
|
+
_: 1
|
|
213
|
+
}, 16)
|
|
214
|
+
], 4));
|
|
215
|
+
}
|
|
216
|
+
}, X = /* @__PURE__ */ w(K, [["__scopeId", "data-v-1ad95fc6"]]);
|
|
217
|
+
export {
|
|
218
|
+
X as default
|
|
219
|
+
};
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
import { useCssVars as _, computed as s, ref as T, openBlock as o, createElementBlock as u, normalizeStyle as h, createBlock as w, mergeProps as k, withCtx as O, createElementVNode as a, toDisplayString as d, createVNode as I, unref as m, Fragment as P, renderList as E, normalizeClass as C, createCommentVNode as H } from "vue";
|
|
2
|
+
import { h as R, E as v, T as B, I as D, O as M } from "./misc-CeQ5H5LP-DeaiNpCH.js";
|
|
3
|
+
import { H as N } from "./Shield-Dnuj3Yd--DAk7-Zio.js";
|
|
4
|
+
const S = { class: "card-content" }, V = { class: "content-wrapper" }, F = { class: "main-content" }, L = { class: "main-title" }, z = { class: "title-separator" }, $ = { class: "footer-text" }, j = ["innerHTML"], A = { class: "seasons-sidebar" }, W = { class: "sidebar-header" }, q = { class: "seasons-list" }, G = { class: "season-value-box" }, J = { class: "season-label" }, K = {
|
|
5
|
+
__name: "CardPromTournament",
|
|
6
|
+
props: {
|
|
7
|
+
height: {
|
|
8
|
+
type: String,
|
|
9
|
+
default: "568px"
|
|
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(c) {
|
|
25
|
+
_((t) => ({
|
|
26
|
+
70570082: c.data.thumbnails.colors.background_color
|
|
27
|
+
}));
|
|
28
|
+
const e = c, b = s(() => ({
|
|
29
|
+
"--height": e.height,
|
|
30
|
+
"--width": e.width,
|
|
31
|
+
"--footer-background-color": e.data.thumbnails.colors.background_color || "#000000"
|
|
32
|
+
})), f = T({
|
|
33
|
+
width: "50px",
|
|
34
|
+
height: "50px",
|
|
35
|
+
bottom: "34px",
|
|
36
|
+
right: "-8px",
|
|
37
|
+
innerImageWidth: "39px",
|
|
38
|
+
innerImageHeight: "39px"
|
|
39
|
+
}), p = s(() => {
|
|
40
|
+
var t, l, r, i;
|
|
41
|
+
return !e.data || !e.data.thumbnails ? null : {
|
|
42
|
+
backgroundOverlayColor: e.data.thumbnails.colors.background_color || "#000000",
|
|
43
|
+
backgroundImageSrc: (i = (r = (l = (t = e.data) == null ? void 0 : t.thumbnails) == null ? void 0 : l.images) == null ? void 0 : r.player_in_action) != null && i[0] ? v(e.data.thumbnails.images.player_in_action[0]) : "",
|
|
44
|
+
isPlayButtonVisible: !0
|
|
45
|
+
};
|
|
46
|
+
}), g = s(() => {
|
|
47
|
+
var t, l, r;
|
|
48
|
+
if (!((t = e.data) != null && t.title)) return { mainTitle: "", sidebarTitle: "PROMEDIO POR PARTIDO" };
|
|
49
|
+
const i = e.data.title.split("*").filter(Boolean);
|
|
50
|
+
return {
|
|
51
|
+
mainTitle: ((l = i[0]) == null ? void 0 : l.trim()) || "",
|
|
52
|
+
sidebarTitle: ((r = i[1]) == null ? void 0 : r.trim()) || "PROMEDIO POR PARTIDO"
|
|
53
|
+
};
|
|
54
|
+
}), y = s(() => {
|
|
55
|
+
var t;
|
|
56
|
+
return (t = e.data) != null && t.averages ? Math.max(...e.data.averages.map((l) => parseFloat(l.average))) : 0;
|
|
57
|
+
});
|
|
58
|
+
return (t, l) => (o(), u("div", {
|
|
59
|
+
class: "card-general",
|
|
60
|
+
style: h(b.value)
|
|
61
|
+
}, [
|
|
62
|
+
p.value ? (o(), w(B, k({ key: 0 }, p.value, { width: c.width }), {
|
|
63
|
+
default: O(() => {
|
|
64
|
+
var r, i;
|
|
65
|
+
return [
|
|
66
|
+
a("div", S, [
|
|
67
|
+
a("div", V, [
|
|
68
|
+
a("div", F, [
|
|
69
|
+
a("h1", L, d(g.value.mainTitle), 1),
|
|
70
|
+
a("div", z, [
|
|
71
|
+
I(N, {
|
|
72
|
+
"team-logo-src": "https://golstatsimages.blob.core.windows.net/teams-80/" + e.data.team_id + ".png",
|
|
73
|
+
width: 105,
|
|
74
|
+
"inner-image-src": m(v)(e.data.thumbnails.images.player_in_action[0]),
|
|
75
|
+
"team-logo-circle-props": f.value,
|
|
76
|
+
"inner-image-translate": "6px 36px"
|
|
77
|
+
}, null, 8, ["team-logo-src", "inner-image-src", "team-logo-circle-props"])
|
|
78
|
+
]),
|
|
79
|
+
a("div", $, [
|
|
80
|
+
a("p", {
|
|
81
|
+
innerHTML: m(D)(m(M)({ data: e.data, descriptionType: e.descriptionType })),
|
|
82
|
+
class: "card-description",
|
|
83
|
+
style: h({ color: ((r = e.data) == null ? void 0 : r.font_color) || "white" })
|
|
84
|
+
}, null, 12, j)
|
|
85
|
+
])
|
|
86
|
+
]),
|
|
87
|
+
a("div", A, [
|
|
88
|
+
a("div", W, d(g.value.sidebarTitle), 1),
|
|
89
|
+
a("div", q, [
|
|
90
|
+
(o(!0), u(P, null, E((i = e.data) == null ? void 0 : i.averages, (n, x) => (o(), u("div", {
|
|
91
|
+
key: x,
|
|
92
|
+
class: C(["season-row", {
|
|
93
|
+
highlighted: n.highlighted,
|
|
94
|
+
"max-value": parseFloat(n.average) === y.value
|
|
95
|
+
}])
|
|
96
|
+
}, [
|
|
97
|
+
a("div", G, d(n.average), 1),
|
|
98
|
+
a("div", J, d(n.season), 1)
|
|
99
|
+
], 2))), 128))
|
|
100
|
+
])
|
|
101
|
+
])
|
|
102
|
+
])
|
|
103
|
+
])
|
|
104
|
+
];
|
|
105
|
+
}),
|
|
106
|
+
_: 1
|
|
107
|
+
}, 16, ["width"])) : H("", !0)
|
|
108
|
+
], 4));
|
|
109
|
+
}
|
|
110
|
+
}, Y = /* @__PURE__ */ R(K, [["__scopeId", "data-v-75ccd902"]]);
|
|
111
|
+
export {
|
|
112
|
+
Y as default
|
|
113
|
+
};
|