@golstats/gsc-game-info 1.0.0 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (42) hide show
  1. package/dist/css/fonts.css +91 -0
  2. package/dist/favicon.ico +0 -0
  3. package/dist/fonts/Montserrat-Black.otf +0 -0
  4. package/dist/fonts/Montserrat-BlackItalic.otf +0 -0
  5. package/dist/fonts/Montserrat-Bold.otf +0 -0
  6. package/dist/fonts/Montserrat-BoldItalic.otf +0 -0
  7. package/dist/fonts/Montserrat-ExtraBold.otf +0 -0
  8. package/dist/fonts/Montserrat-ExtraBoldItalic.otf +0 -0
  9. package/dist/fonts/Montserrat-ExtraLight.otf +0 -0
  10. package/dist/fonts/Montserrat-ExtraLightItalic.otf +0 -0
  11. package/dist/fonts/Montserrat-Italic.otf +0 -0
  12. package/dist/fonts/Montserrat-Light.otf +0 -0
  13. package/dist/fonts/Montserrat-LightItalic.otf +0 -0
  14. package/dist/fonts/Montserrat-Medium.otf +0 -0
  15. package/dist/fonts/Montserrat-MediumItalic.otf +0 -0
  16. package/dist/fonts/Montserrat-Regular.otf +0 -0
  17. package/dist/fonts/Montserrat-SemiBold.otf +0 -0
  18. package/dist/fonts/Montserrat-SemiBoldItalic.otf +0 -0
  19. package/dist/fonts/Montserrat-Thin.otf +0 -0
  20. package/dist/fonts/Montserrat-ThinItalic.otf +0 -0
  21. package/dist/fonts/Poppins-Black.otf +0 -0
  22. package/dist/fonts/Poppins-BlackItalic.otf +0 -0
  23. package/dist/fonts/Poppins-Bold.otf +0 -0
  24. package/dist/fonts/Poppins-BoldItalic.otf +0 -0
  25. package/dist/fonts/Poppins-ExtraBold.otf +0 -0
  26. package/dist/fonts/Poppins-ExtraBoldItalic.otf +0 -0
  27. package/dist/fonts/Poppins-ExtraLight.otf +0 -0
  28. package/dist/fonts/Poppins-ExtraLightItalic.otf +0 -0
  29. package/dist/fonts/Poppins-Italic.otf +0 -0
  30. package/dist/fonts/Poppins-Light.otf +0 -0
  31. package/dist/fonts/Poppins-LightItalic.otf +0 -0
  32. package/dist/fonts/Poppins-Medium.otf +0 -0
  33. package/dist/fonts/Poppins-MediumItalic.otf +0 -0
  34. package/dist/fonts/Poppins-Regular.otf +0 -0
  35. package/dist/fonts/Poppins-SemiBold.otf +0 -0
  36. package/dist/fonts/Poppins-SemiBoldItalic.otf +0 -0
  37. package/dist/fonts/Poppins-Thin.otf +0 -0
  38. package/dist/fonts/Poppins-ThinItalic.otf +0 -0
  39. package/dist/gsc-info-game.js +710 -0
  40. package/dist/gsc-info-game.umd.cjs +1 -0
  41. package/dist/style.css +1 -0
  42. package/package.json +1 -1
@@ -0,0 +1,91 @@
1
+
2
+
3
+ /*FUENTES*/
4
+ @font-face {
5
+ font-family: 'Poppins-Black';
6
+ src: url('/fonts/Poppins-Black.otf') format('opentype');
7
+ }
8
+ @font-face {
9
+ font-family: 'Poppins-BlackItalic';
10
+ src: url('/fonts/Poppins-BlackItalic.otf') format('opentype');
11
+ }
12
+ @font-face {
13
+ font-family: 'Poppins-Bold';
14
+ src: url('/fonts/Poppins-Bold.otf') format('opentype');
15
+ }
16
+ @font-face {
17
+ font-family: 'Poppins-BoldItalic';
18
+ src: url('/fonts/Poppins-BoldItalic.otf') format('opentype');
19
+ }
20
+ @font-face {
21
+ font-family: 'Poppins-ExtraBold';
22
+ src: url('/fonts/Poppins-ExtraBold.otf') format('opentype');
23
+ }
24
+ @font-face {
25
+ font-family: 'Poppins-ExtraBoldItalic';
26
+ src: url('/fonts/Poppins-ExtraBoldItalic.otf') format('opentype');
27
+ }
28
+ @font-face {
29
+ font-family: 'Poppins-ExtraLight';
30
+ src: url('/fonts/Poppins-ExtraLight.otf') format('opentype');
31
+ }
32
+ @font-face {
33
+ font-family: 'Poppins-ExtraLightItalic';
34
+ src: url('/fonts/Poppins-ExtraLightItalic.otf') format('opentype');
35
+ }
36
+ @font-face {
37
+ font-family: 'Poppins-Italic';
38
+ src: url('/fonts/Poppins-Italic.otf') format('opentype');
39
+ }
40
+ @font-face {
41
+ font-family: 'Poppins-Light';
42
+ src: url('/fonts/Poppins-Light.otf') format('opentype');
43
+ }
44
+ @font-face {
45
+ font-family: 'Poppins-LightItalic';
46
+ src: url('/fonts/Poppins-LightItalic.otf') format('opentype');
47
+ }
48
+ @font-face {
49
+ font-family: 'Poppins-MediumItalic';
50
+ src: url('/fonts/Poppins-MediumItalic.otf') format('opentype');
51
+ }
52
+ @font-face {
53
+ font-family: 'Poppins-Medium';
54
+ src: url('/fonts/Poppins-Medium.otf') format('opentype');
55
+ }
56
+ @font-face {
57
+ font-family: 'Poppins-Regular';
58
+ src: url('/fonts/Poppins-Regular.otf') format('opentype');
59
+ }
60
+ @font-face {
61
+ font-family: 'Poppins-SemiBold';
62
+ src: url('/fonts/Poppins-SemiBold.otf') format('opentype');
63
+ }
64
+ @font-face {
65
+ font-family: 'Poppins-SemiBoldItalic';
66
+ src: url('/fonts/Poppins-SemiBoldItalic.otf') format('opentype');
67
+ }
68
+ @font-face {
69
+ font-family: 'Poppins-ThinItalic';
70
+ src: url('/fonts/Poppins-ThinItalic.otf') format('opentype');
71
+ }
72
+ @font-face {
73
+ font-family: 'Poppins-Thin';
74
+ src: url('/fonts/Poppins-Thin.otf') format('opentype');
75
+ }
76
+
77
+ /*FUENTES*/
78
+ @font-face {
79
+ font-family: 'Montserrat-SemiBold';
80
+ src: url('/fonts/Montserrat-SemiBold.otf') format('opentype');
81
+ }
82
+
83
+
84
+
85
+
86
+
87
+
88
+
89
+
90
+
91
+
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
@@ -0,0 +1,710 @@
1
+ import { ref as u, onMounted as _, onUnmounted as g, openBlock as n, createElementBlock as l, normalizeClass as e, createElementVNode as a, toDisplayString as o, Fragment as c, createCommentVNode as i, renderList as w, normalizeStyle as v, createTextVNode as m } from "vue";
2
+ function T(t) {
3
+ const r = u({ width: 0, height: 0 });
4
+ function s() {
5
+ const h = t.value.getBoundingClientRect();
6
+ r.value.width = h.width, r.value.height = h.height;
7
+ }
8
+ return _(() => {
9
+ s(), window.addEventListener("resize", s);
10
+ }), g(() => {
11
+ window.removeEventListener("resize", s);
12
+ }), { elementSize: r };
13
+ }
14
+ const $ = {
15
+ PO1: "CFI",
16
+ PO2: "CFV",
17
+ PO3: "SFI",
18
+ PO4: "SFV",
19
+ PO5: "FI",
20
+ PO6: "FV"
21
+ }, f = {
22
+ DF: "Dieciseisavos",
23
+ OF: "Octavos",
24
+ CF: "Cuartos",
25
+ SF: "Semifinales",
26
+ "3ER": "Tercer lugar",
27
+ FINAL: "Final"
28
+ }, P = {
29
+ 4: "Octavos",
30
+ 5: "Cuartos",
31
+ 6: "Semifinales",
32
+ 7: "Final"
33
+ }, k = "_content_dctb7_103", B = "_j_dctb7_117", L = "_jornada_dctb7_129", I = "_live_dctb7_153", S = "_liveButon_dctb7_163", E = "_dateContainer_dctb7_189", j = "_dateContainer473_dctb7_217", D = "_title_dctb7_245", G = "_title473_dctb7_269", z = "_chivasIcon_dctb7_295", F = "_escudos_dctb7_321", V = "_escudosWrapper_dctb7_335", M = "_homeTeamInner_dctb7_355", p = "_homeTeam_dctb7_355", N = "_btnPlayIcon_dctb7_389", O = "_div1_dctb7_399", Z = "_score_dctb7_407", U = "_btnPlay_dctb7_389", W = "_containerTeams_dctb7_441", R = "_containerTeams473_dctb7_459", A = "_jornadaParent_dctb7_483", J = "_jornadaParent473_dctb7_499", q = "_headCard_dctb7_505", H = "_headCard473_dctb7_527", K = "_content1_dctb7_553", Q = "_span_dctb7_565", X = "_partidos_dctb7_571", Y = "_content2_dctb7_577", x = "_totalContainer_dctb7_587", tt = "_rowTable_dctb7_605", et = "_icnPlayIcon_dctb7_627", at = "_content4_dctb7_657", st = "_totalContainer1_dctb7_675", nt = "_rowTable1_dctb7_695", lt = "_rowTable3_dctb7_717", ot = "_rowTable3473_dctb7_741", it = "_rowsContainer_dctb7_765", ct = "_rowTable4_dctb7_781", dt = "_rowTable5_dctb7_803", rt = "_content16_dctb7_825", yt = "_rowTable7_dctb7_837", Ct = "_rowTable7473_dctb7_861", ht = "_containerData_dctb7_885", mt = "_tableContainer_dctb7_905", wt = "_lastGameCard_dctb7_919", vt = "_lastGameCard473_dctb7_949", bt = {
34
+ content: k,
35
+ j: B,
36
+ jornada: L,
37
+ live: I,
38
+ liveButon: S,
39
+ dateContainer: E,
40
+ dateContainer473: j,
41
+ title: D,
42
+ title473: G,
43
+ chivasIcon: z,
44
+ escudos: F,
45
+ escudosWrapper: V,
46
+ homeTeamInner: M,
47
+ homeTeam: p,
48
+ btnPlayIcon: N,
49
+ div1: O,
50
+ score: Z,
51
+ btnPlay: U,
52
+ containerTeams: W,
53
+ containerTeams473: R,
54
+ jornadaParent: A,
55
+ jornadaParent473: J,
56
+ headCard: q,
57
+ headCard473: H,
58
+ content1: K,
59
+ span: Q,
60
+ partidos: X,
61
+ content2: Y,
62
+ totalContainer: x,
63
+ rowTable: tt,
64
+ icnPlayIcon: et,
65
+ content4: at,
66
+ totalContainer1: st,
67
+ rowTable1: nt,
68
+ rowTable3: lt,
69
+ rowTable3473: ot,
70
+ rowsContainer: it,
71
+ rowTable4: ct,
72
+ rowTable5: dt,
73
+ content16: rt,
74
+ rowTable7: yt,
75
+ rowTable7473: Ct,
76
+ containerData: ht,
77
+ tableContainer: mt,
78
+ lastGameCard: wt,
79
+ lastGameCard473: vt
80
+ }, ut = (t, r) => {
81
+ const s = t.__vccOpts || t;
82
+ for (const [h, b] of r)
83
+ s[h] = b;
84
+ return s;
85
+ }, _t = {
86
+ name: "SummaryLastGame",
87
+ components: {},
88
+ data() {
89
+ return {};
90
+ },
91
+ setup() {
92
+ const t = u("myDivLasgameS"), {
93
+ elementSize: r
94
+ } = T(t);
95
+ return {
96
+ myDivLasgameS: t,
97
+ elementSize: r
98
+ };
99
+ },
100
+ watch: {},
101
+ props: {
102
+ match: {
103
+ type: [Object, Array, Number],
104
+ default: () => []
105
+ },
106
+ game: {},
107
+ position: {
108
+ type: Number,
109
+ default: 1
110
+ },
111
+ type: {
112
+ type: Number,
113
+ default: 1
114
+ },
115
+ isCup: {
116
+ type: Boolean,
117
+ default: !1
118
+ }
119
+ },
120
+ computed: {
121
+ jornadaParentClass() {
122
+ return this.elementSize.width < 473 ? this.$style.jornadaParent473 : this.$style.jornadaParent;
123
+ },
124
+ titleClass() {
125
+ return this.elementSize.width < 473 ? this.$style.title473 : this.$style.title;
126
+ },
127
+ headCardClass() {
128
+ return this.elementSize.width < 473 ? this.$style.headCard473 : this.$style.headCard;
129
+ },
130
+ rowTable3Class() {
131
+ return this.elementSize.width < 473 ? this.$style.rowTable3473 : this.$style.rowTable3;
132
+ },
133
+ rowTable7Class() {
134
+ return this.elementSize.width < 473 ? this.$style.rowTable7473 : this.$style.rowTable7;
135
+ },
136
+ dateContainerClass() {
137
+ return this.elementSize.width < 473 ? this.$style.dateContainer473 : this.$style.dateContainer;
138
+ },
139
+ lastGameCardClass() {
140
+ return this.elementSize.width < 473 ? this.$style.lastGameCard473 : this.$style.lastGameCard;
141
+ },
142
+ containerTeamsClass() {
143
+ return this.elementSize.width < 473 ? this.$style.containerTeams473 : this.$style.containerTeams;
144
+ },
145
+ matchDayName() {
146
+ let t = "";
147
+ const r = this.game.matchday_abbreviation.replace("M", ""), s = `J ${r}`;
148
+ return this.isCup ? this.seasonId === 881 ? t = P[r] || s : t = f[this.game.matchday_abbreviation] || s : t = $[this.game.matchday_abbreviation] || s, t;
149
+ }
150
+ },
151
+ methods: {}
152
+ }, gt = ["src"], Tt = /* @__PURE__ */ a("path", {
153
+ d: "M0.515613 9.24748C0.44175 9.20673 0.380014 9.14584 0.337058 9.07139C0.294103 8.99693 0.271558 8.91173 0.271853 8.82497V1.1737C0.271955 1.08724 0.294648 1.00242 0.337519 0.928259C0.38039 0.854099 0.441838 0.793372 0.51533 0.752534C0.588822 0.711696 0.671611 0.692272 0.754897 0.696328C0.838183 0.700383 0.918853 0.727767 0.988331 0.775568L6.52253 4.60165C6.58574 4.64524 6.63758 4.70435 6.67344 4.77374C6.7093 4.84312 6.72806 4.92062 6.72806 4.99934C6.72806 5.07806 6.7093 5.15555 6.67344 5.22494C6.63758 5.29432 6.58574 5.35343 6.52253 5.39702L0.988331 9.22401C0.918959 9.27191 0.838352 9.2994 0.755102 9.30353C0.671852 9.30767 0.589081 9.28829 0.515613 9.24748Z",
154
+ fill: "#CBEE6B"
155
+ }, null, -1), $t = [
156
+ Tt
157
+ ], ft = ["src"], Pt = /* @__PURE__ */ a("path", {
158
+ d: "M0.454162 9.34811C0.391152 9.3064 0.338487 9.24407 0.301843 9.16785C0.265199 9.09163 0.245966 9.00441 0.246218 8.9156V1.0831C0.246305 0.994582 0.265663 0.907752 0.302236 0.831836C0.338808 0.75592 0.391227 0.693755 0.453921 0.651949C0.516615 0.610143 0.58724 0.590259 0.658289 0.594411C0.729338 0.598563 0.798156 0.626596 0.857426 0.675528L5.5785 4.59224C5.63242 4.63686 5.67665 4.69738 5.70723 4.7684C5.73782 4.83943 5.75383 4.91876 5.75383 4.99935C5.75383 5.07993 5.73782 5.15926 5.70723 5.23029C5.67665 5.30131 5.63242 5.36183 5.5785 5.40645L0.857426 9.32409C0.798247 9.37313 0.729482 9.40126 0.658464 9.40549C0.587446 9.40973 0.516836 9.38989 0.454162 9.34811Z",
159
+ fill: "#CBEE6B"
160
+ }, null, -1), kt = [
161
+ Pt
162
+ ], Bt = /* @__PURE__ */ a("path", {
163
+ d: "M0.454162 9.34811C0.391152 9.3064 0.338487 9.24407 0.301843 9.16785C0.265199 9.09163 0.245966 9.00441 0.246218 8.9156V1.0831C0.246305 0.994582 0.265663 0.907752 0.302236 0.831836C0.338808 0.75592 0.391227 0.693755 0.453921 0.651949C0.516615 0.610143 0.58724 0.590259 0.658289 0.594411C0.729338 0.598563 0.798156 0.626596 0.857426 0.675528L5.5785 4.59224C5.63242 4.63686 5.67665 4.69738 5.70723 4.7684C5.73782 4.83943 5.75383 4.91876 5.75383 4.99935C5.75383 5.07993 5.73782 5.15926 5.70723 5.23029C5.67665 5.30131 5.63242 5.36183 5.5785 5.40645L0.857426 9.32409C0.798247 9.37313 0.729482 9.40126 0.658464 9.40549C0.587446 9.40973 0.516836 9.38989 0.454162 9.34811Z",
164
+ fill: "#CBEE6B"
165
+ }, null, -1), Lt = [
166
+ Bt
167
+ ], It = /* @__PURE__ */ a("path", {
168
+ d: "M0.454162 9.34811C0.391152 9.3064 0.338487 9.24407 0.301843 9.16785C0.265199 9.09163 0.245966 9.00441 0.246218 8.9156V1.0831C0.246305 0.994582 0.265663 0.907752 0.302236 0.831836C0.338808 0.75592 0.391227 0.693755 0.453921 0.651949C0.516615 0.610143 0.58724 0.590259 0.658289 0.594411C0.729338 0.598563 0.798156 0.626596 0.857426 0.675528L5.5785 4.59224C5.63242 4.63686 5.67665 4.69738 5.70723 4.7684C5.73782 4.83943 5.75383 4.91876 5.75383 4.99935C5.75383 5.07993 5.73782 5.15926 5.70723 5.23029C5.67665 5.30131 5.63242 5.36183 5.5785 5.40645L0.857426 9.32409C0.798247 9.37313 0.729482 9.40126 0.658464 9.40549C0.587446 9.40973 0.516836 9.38989 0.454162 9.34811Z",
169
+ fill: "#CBEE6B"
170
+ }, null, -1), St = [
171
+ It
172
+ ], Et = /* @__PURE__ */ a("path", {
173
+ d: "M0.454162 9.34811C0.391152 9.3064 0.338487 9.24407 0.301843 9.16785C0.265199 9.09163 0.245966 9.00441 0.246218 8.9156V1.0831C0.246305 0.994582 0.265663 0.907752 0.302236 0.831836C0.338808 0.75592 0.391227 0.693755 0.453921 0.651949C0.516615 0.610143 0.58724 0.590259 0.658289 0.594411C0.729338 0.598563 0.798156 0.626596 0.857426 0.675528L5.5785 4.59224C5.63242 4.63686 5.67665 4.69738 5.70723 4.7684C5.73782 4.83943 5.75383 4.91876 5.75383 4.99935C5.75383 5.07993 5.73782 5.15926 5.70723 5.23029C5.67665 5.30131 5.63242 5.36183 5.5785 5.40645L0.857426 9.32409C0.798247 9.37313 0.729482 9.40126 0.658464 9.40549C0.587446 9.40973 0.516836 9.38989 0.454162 9.34811Z",
174
+ fill: "#CBEE6B"
175
+ }, null, -1), jt = [
176
+ Et
177
+ ], Dt = /* @__PURE__ */ a("path", {
178
+ d: "M0.454162 9.34811C0.391152 9.3064 0.338487 9.24407 0.301843 9.16785C0.265199 9.09163 0.245966 9.00441 0.246218 8.9156V1.0831C0.246305 0.994582 0.265663 0.907752 0.302236 0.831836C0.338808 0.75592 0.391227 0.693755 0.453921 0.651949C0.516615 0.610143 0.58724 0.590259 0.658289 0.594411C0.729338 0.598563 0.798156 0.626596 0.857426 0.675528L5.5785 4.59224C5.63242 4.63686 5.67665 4.69738 5.70723 4.7684C5.73782 4.83943 5.75383 4.91876 5.75383 4.99935C5.75383 5.07993 5.73782 5.15926 5.70723 5.23029C5.67665 5.30131 5.63242 5.36183 5.5785 5.40645L0.857426 9.32409C0.798247 9.37313 0.729482 9.40126 0.658464 9.40549C0.587446 9.40973 0.516836 9.38989 0.454162 9.34811Z",
179
+ fill: "#CBEE6B"
180
+ }, null, -1), Gt = [
181
+ Dt
182
+ ], zt = /* @__PURE__ */ a("path", {
183
+ d: "M0.454162 9.34811C0.391152 9.3064 0.338487 9.24407 0.301843 9.16785C0.265199 9.09163 0.245966 9.00441 0.246218 8.9156V1.0831C0.246305 0.994582 0.265663 0.907752 0.302236 0.831836C0.338808 0.75592 0.391227 0.693755 0.453921 0.651949C0.516615 0.610143 0.58724 0.590259 0.658289 0.594411C0.729338 0.598563 0.798156 0.626596 0.857426 0.675528L5.5785 4.59224C5.63242 4.63686 5.67665 4.69738 5.70723 4.7684C5.73782 4.83943 5.75383 4.91876 5.75383 4.99935C5.75383 5.07993 5.73782 5.15926 5.70723 5.23029C5.67665 5.30131 5.63242 5.36183 5.5785 5.40645L0.857426 9.32409C0.798247 9.37313 0.729482 9.40126 0.658464 9.40549C0.587446 9.40973 0.516836 9.38989 0.454162 9.34811Z",
184
+ fill: "#CBEE6B"
185
+ }, null, -1), Ft = [
186
+ zt
187
+ ], Vt = /* @__PURE__ */ a("path", {
188
+ d: "M0.454162 9.34811C0.391152 9.3064 0.338487 9.24407 0.301843 9.16785C0.265199 9.09163 0.245966 9.00441 0.246218 8.9156V1.0831C0.246305 0.994582 0.265663 0.907752 0.302236 0.831836C0.338808 0.75592 0.391227 0.693755 0.453921 0.651949C0.516615 0.610143 0.58724 0.590259 0.658289 0.594411C0.729338 0.598563 0.798156 0.626596 0.857426 0.675528L5.5785 4.59224C5.63242 4.63686 5.67665 4.69738 5.70723 4.7684C5.73782 4.83943 5.75383 4.91876 5.75383 4.99935C5.75383 5.07993 5.73782 5.15926 5.70723 5.23029C5.67665 5.30131 5.63242 5.36183 5.5785 5.40645L0.857426 9.32409C0.798247 9.37313 0.729482 9.40126 0.658464 9.40549C0.587446 9.40973 0.516836 9.38989 0.454162 9.34811Z",
189
+ fill: "#CBEE6B"
190
+ }, null, -1), Mt = [
191
+ Vt
192
+ ], pt = /* @__PURE__ */ a("path", {
193
+ d: "M0.454162 9.34811C0.391152 9.3064 0.338487 9.24407 0.301843 9.16785C0.265199 9.09163 0.245966 9.00441 0.246218 8.9156V1.0831C0.246305 0.994582 0.265663 0.907752 0.302236 0.831836C0.338808 0.75592 0.391227 0.693755 0.453921 0.651949C0.516615 0.610143 0.58724 0.590259 0.658289 0.594411C0.729338 0.598563 0.798156 0.626596 0.857426 0.675528L5.5785 4.59224C5.63242 4.63686 5.67665 4.69738 5.70723 4.7684C5.73782 4.83943 5.75383 4.91876 5.75383 4.99935C5.75383 5.07993 5.73782 5.15926 5.70723 5.23029C5.67665 5.30131 5.63242 5.36183 5.5785 5.40645L0.857426 9.32409C0.798247 9.37313 0.729482 9.40126 0.658464 9.40549C0.587446 9.40973 0.516836 9.38989 0.454162 9.34811Z",
194
+ fill: "#CBEE6B"
195
+ }, null, -1), Nt = [
196
+ pt
197
+ ], Ot = /* @__PURE__ */ a("path", {
198
+ d: "M0.454162 9.34811C0.391152 9.3064 0.338487 9.24407 0.301843 9.16785C0.265199 9.09163 0.245966 9.00441 0.246218 8.9156V1.0831C0.246305 0.994582 0.265663 0.907752 0.302236 0.831836C0.338808 0.75592 0.391227 0.693755 0.453921 0.651949C0.516615 0.610143 0.58724 0.590259 0.658289 0.594411C0.729338 0.598563 0.798156 0.626596 0.857426 0.675528L5.5785 4.59224C5.63242 4.63686 5.67665 4.69738 5.70723 4.7684C5.73782 4.83943 5.75383 4.91876 5.75383 4.99935C5.75383 5.07993 5.73782 5.15926 5.70723 5.23029C5.67665 5.30131 5.63242 5.36183 5.5785 5.40645L0.857426 9.32409C0.798247 9.37313 0.729482 9.40126 0.658464 9.40549C0.587446 9.40973 0.516836 9.38989 0.454162 9.34811Z",
199
+ fill: "#CBEE6B"
200
+ }, null, -1), Zt = [
201
+ Ot
202
+ ], Ut = /* @__PURE__ */ a("path", {
203
+ d: "M0.454162 9.34811C0.391152 9.3064 0.338487 9.24407 0.301843 9.16785C0.265199 9.09163 0.245966 9.00441 0.246218 8.9156V1.0831C0.246305 0.994582 0.265663 0.907752 0.302236 0.831836C0.338808 0.75592 0.391227 0.693755 0.453921 0.651949C0.516615 0.610143 0.58724 0.590259 0.658289 0.594411C0.729338 0.598563 0.798156 0.626596 0.857426 0.675528L5.5785 4.59224C5.63242 4.63686 5.67665 4.69738 5.70723 4.7684C5.73782 4.83943 5.75383 4.91876 5.75383 4.99935C5.75383 5.07993 5.73782 5.15926 5.70723 5.23029C5.67665 5.30131 5.63242 5.36183 5.5785 5.40645L0.857426 9.32409C0.798247 9.37313 0.729482 9.40126 0.658464 9.40549C0.587446 9.40973 0.516836 9.38989 0.454162 9.34811Z",
204
+ fill: "#CBEE6B"
205
+ }, null, -1), Wt = [
206
+ Ut
207
+ ];
208
+ function Rt(t, r, s, h, b, C) {
209
+ return s.game && Object.keys(s.game).length > 0 ? (n(), l("div", {
210
+ key: 0,
211
+ class: e(C.lastGameCardClass),
212
+ ref: h.myDivLasgameS
213
+ }, [
214
+ a("div", {
215
+ class: e(t.$style.tableContainer),
216
+ id: "card-container"
217
+ }, [
218
+ a("div", {
219
+ class: e(C.headCardClass),
220
+ id: "head-card"
221
+ }, [
222
+ a("div", {
223
+ class: e(C.titleClass)
224
+ }, [
225
+ a("div", {
226
+ class: e(t.$style.content)
227
+ }, "Último partido", 2),
228
+ a("div", {
229
+ class: e(C.dateContainerClass)
230
+ }, [
231
+ a("div", {
232
+ class: e(t.$style.jornada)
233
+ }, [
234
+ a("div", {
235
+ class: e(t.$style.j)
236
+ }, o(C.matchDayName), 3)
237
+ ], 2),
238
+ a("div", {
239
+ class: e(t.$style.liveButon)
240
+ }, [
241
+ a("div", {
242
+ class: e(t.$style.live)
243
+ }, o(new Date(s.game.date_time_utc).toLocaleDateString("es-ES", {
244
+ month: "long",
245
+ day: "numeric"
246
+ }).replace(",", "")[0].toUpperCase() + " " + new Date(s.game.date_time_utc).toLocaleDateString("es-ES", {
247
+ month: "short"
248
+ }).replace(",", "").toUpperCase()), 3)
249
+ ], 2)
250
+ ], 2)
251
+ ], 2),
252
+ a("div", {
253
+ class: e(C.containerTeamsClass)
254
+ }, [
255
+ a("div", {
256
+ class: e(t.$style.homeTeam),
257
+ id: "home-team"
258
+ }, [
259
+ a("div", {
260
+ class: e(t.$style.homeTeamInner)
261
+ }, [
262
+ a("div", {
263
+ class: e(t.$style.escudosWrapper)
264
+ }, [
265
+ a("div", {
266
+ class: e(t.$style.escudos)
267
+ }, [
268
+ a("img", {
269
+ class: e(t.$style.chivasIcon),
270
+ alt: "",
271
+ src: `https://az755631.vo.msecnd.net/teams-80/${s.game.home_team}.png`
272
+ }, null, 10, gt)
273
+ ], 2)
274
+ ], 2)
275
+ ], 2)
276
+ ], 2),
277
+ a("div", {
278
+ class: e(t.$style.score),
279
+ id: "score-mch"
280
+ }, [
281
+ (n(), l("svg", {
282
+ class: e(t.$style.btnPlayIcon),
283
+ width: "7",
284
+ height: "10",
285
+ viewBox: "0 0 7 10",
286
+ fill: "none",
287
+ xmlns: "http://www.w3.org/2000/svg"
288
+ }, $t, 2)),
289
+ a("div", {
290
+ class: e(t.$style.div1)
291
+ }, o(s.game.score[0]), 3),
292
+ a("div", {
293
+ class: e(t.$style.div1)
294
+ }, "-", 2),
295
+ a("div", {
296
+ class: e(t.$style.div1)
297
+ }, o(s.game.score[1]), 3)
298
+ ], 2),
299
+ a("div", {
300
+ class: e(t.$style.homeTeam),
301
+ id: "away-team"
302
+ }, [
303
+ a("div", {
304
+ class: e(t.$style.homeTeamInner)
305
+ }, [
306
+ a("div", {
307
+ class: e(t.$style.escudosWrapper)
308
+ }, [
309
+ a("div", {
310
+ class: e(t.$style.escudos)
311
+ }, [
312
+ a("img", {
313
+ class: e(t.$style.chivasIcon),
314
+ alt: "",
315
+ src: `https://az755631.vo.msecnd.net/teams-80/${s.game.visiting_team}.png`
316
+ }, null, 10, ft)
317
+ ], 2)
318
+ ], 2)
319
+ ], 2)
320
+ ], 2)
321
+ ], 2),
322
+ a("div", {
323
+ class: e(C.jornadaParentClass),
324
+ id: "date-container"
325
+ }, [
326
+ a("div", {
327
+ class: e(t.$style.jornada)
328
+ }, [
329
+ a("div", {
330
+ class: e(t.$style.j)
331
+ }, o(C.matchDayName), 3)
332
+ ], 2),
333
+ a("div", {
334
+ class: e(t.$style.liveButon)
335
+ }, [
336
+ a("div", {
337
+ class: e(t.$style.live)
338
+ }, o(new Date(s.game.date_time_utc).toLocaleDateString("es-ES", {
339
+ month: "long",
340
+ day: "numeric"
341
+ }).replace(",", "")[0].toUpperCase() + " " + new Date(s.game.date_time_utc).toLocaleDateString("es-ES", {
342
+ month: "short"
343
+ }).replace(",", "").toUpperCase()), 3)
344
+ ], 2)
345
+ ], 2)
346
+ ], 2),
347
+ a("div", {
348
+ class: e(t.$style.containerData),
349
+ id: "container-data"
350
+ }, [
351
+ a("div", {
352
+ class: e(t.$style.rowsContainer)
353
+ }, [
354
+ a("div", {
355
+ class: e(t.$style.rowTable)
356
+ }, [
357
+ s.type == 1 ? (n(), l(c, { key: 0 }, [
358
+ a("div", {
359
+ class: e(t.$style.content1)
360
+ }, "Titular: ", 2),
361
+ a("div", {
362
+ class: e(t.$style.totalContainer)
363
+ }, [
364
+ a("div", {
365
+ class: e(t.$style.content2)
366
+ }, [
367
+ a("span", {
368
+ class: e(t.$style.span)
369
+ }, o(s.match.isTitular == 1 ? "Si" : "No"), 3)
370
+ ], 2)
371
+ ], 2)
372
+ ], 64)) : (n(), l(c, { key: 1 }, [
373
+ a("div", {
374
+ class: e(t.$style.content1)
375
+ }, "Resultado: ", 2),
376
+ a("div", {
377
+ class: e(t.$style.totalContainer)
378
+ }, [
379
+ a("div", {
380
+ class: e(t.$style.content2)
381
+ }, [
382
+ a("span", {
383
+ class: e(t.$style.span)
384
+ }, o(s.match.result == 1 ? "Ganado" : s.match.result == 2 ? "Perdido" : "Empatado"), 3)
385
+ ], 2)
386
+ ], 2)
387
+ ], 64))
388
+ ], 2),
389
+ a("div", {
390
+ class: e(t.$style.rowTable1)
391
+ }, [
392
+ s.type == 1 ? (n(), l(c, { key: 0 }, [
393
+ a("div", {
394
+ class: e(t.$style.content1)
395
+ }, "Minutos jugados:", 2),
396
+ a("div", {
397
+ class: e(t.$style.totalContainer1)
398
+ }, [
399
+ s.match.minutes > 0 ? (n(), l("button", {
400
+ key: 0,
401
+ class: e(t.$style.btnPlay),
402
+ id: "btn-play"
403
+ }, [
404
+ (n(), l("svg", {
405
+ width: "6",
406
+ class: e(t.$style.icnPlayIcon),
407
+ height: "10",
408
+ viewBox: "0 0 6 10",
409
+ fill: "none",
410
+ xmlns: "http://www.w3.org/2000/svg"
411
+ }, kt, 2))
412
+ ], 2)) : i("", !0),
413
+ a("div", {
414
+ class: e(t.$style.content4)
415
+ }, o(s.match.minutes), 3)
416
+ ], 2)
417
+ ], 64)) : (n(), l(c, { key: 1 }, [
418
+ a("div", {
419
+ class: e(t.$style.content1)
420
+ }, "xG:", 2),
421
+ s.match.xg ? (n(), l("div", {
422
+ key: 0,
423
+ class: e(t.$style.totalContainer1)
424
+ }, [
425
+ s.match.xg > 0 ? (n(), l("button", {
426
+ key: 0,
427
+ class: e(t.$style.btnPlay),
428
+ id: "btn-play"
429
+ }, [
430
+ (n(), l("svg", {
431
+ width: "6",
432
+ class: e(t.$style.icnPlayIcon),
433
+ height: "10",
434
+ viewBox: "0 0 6 10",
435
+ fill: "none",
436
+ xmlns: "http://www.w3.org/2000/svg"
437
+ }, Lt, 2))
438
+ ], 2)) : i("", !0),
439
+ a("div", {
440
+ class: e(t.$style.content4)
441
+ }, o(s.match.xg.toFixed(2)), 3)
442
+ ], 2)) : i("", !0)
443
+ ], 64))
444
+ ], 2),
445
+ s.type == 2 ? (n(!0), l(c, { key: 0 }, w(s.match.extra_categories, (d, y) => (n(), l(c, {
446
+ key: y + "psep1"
447
+ }, [
448
+ y < 2 ? (n(), l("div", {
449
+ key: 0,
450
+ class: e(t.$style.rowTable5),
451
+ style: v(y % 2 == 0 ? "background: #0d1d29" : "background: #172531")
452
+ }, [
453
+ a("div", {
454
+ class: e(t.$style.content1)
455
+ }, o(d.category_name) + ":", 3),
456
+ a("div", {
457
+ class: e(t.$style.totalContainer1)
458
+ }, [
459
+ d.total > 0 ? (n(), l("button", {
460
+ key: 0,
461
+ class: e(t.$style.btnPlay),
462
+ id: "btn-play"
463
+ }, [
464
+ (n(), l("svg", {
465
+ width: "6",
466
+ class: e(t.$style.icnPlayIcon),
467
+ height: "10",
468
+ viewBox: "0 0 6 10",
469
+ fill: "none",
470
+ xmlns: "http://www.w3.org/2000/svg"
471
+ }, St, 2))
472
+ ], 2)) : i("", !0),
473
+ a("div", {
474
+ class: e(t.$style.content4)
475
+ }, o(d.total), 3)
476
+ ], 2)
477
+ ], 6)) : i("", !0)
478
+ ], 64))), 128)) : i("", !0),
479
+ s.type == 1 ? (n(), l("div", {
480
+ key: 1,
481
+ class: e(t.$style.rowTable)
482
+ }, [
483
+ s.position != 1 ? (n(), l(c, { key: 0 }, [
484
+ a("div", {
485
+ class: e(t.$style.content1)
486
+ }, "Goles", 2),
487
+ a("div", {
488
+ class: e(t.$style.totalContainer1)
489
+ }, [
490
+ s.match.goals > 0 ? (n(), l("button", {
491
+ key: 0,
492
+ class: e(t.$style.btnPlay),
493
+ id: "btn-play"
494
+ }, [
495
+ (n(), l("svg", {
496
+ width: "6",
497
+ class: e(t.$style.icnPlayIcon),
498
+ height: "10",
499
+ viewBox: "0 0 6 10",
500
+ fill: "none",
501
+ xmlns: "http://www.w3.org/2000/svg"
502
+ }, jt, 2))
503
+ ], 2)) : i("", !0),
504
+ a("div", {
505
+ class: e(t.$style.content4)
506
+ }, o(s.match.goals), 3)
507
+ ], 2)
508
+ ], 64)) : (n(), l(c, { key: 1 }, [
509
+ a("div", {
510
+ class: e(t.$style.content1)
511
+ }, "Tarjetas amarillas:", 2),
512
+ a("div", {
513
+ class: e(t.$style.totalContainer1)
514
+ }, [
515
+ s.match.yellowcards > 0 ? (n(), l("button", {
516
+ key: 0,
517
+ class: e(t.$style.btnPlay),
518
+ id: "btn-play"
519
+ }, [
520
+ (n(), l("svg", {
521
+ width: "6",
522
+ class: e(t.$style.icnPlayIcon),
523
+ height: "10",
524
+ viewBox: "0 0 6 10",
525
+ fill: "none",
526
+ xmlns: "http://www.w3.org/2000/svg"
527
+ }, Gt, 2))
528
+ ], 2)) : i("", !0),
529
+ a("div", {
530
+ class: e(t.$style.content4)
531
+ }, o(s.match.yellowcards), 3)
532
+ ], 2)
533
+ ], 64))
534
+ ], 2)) : i("", !0),
535
+ s.type == 1 ? (n(), l("div", {
536
+ key: 2,
537
+ class: e(C.rowTable3Class)
538
+ }, [
539
+ s.position != 1 ? (n(), l(c, { key: 0 }, [
540
+ a("div", {
541
+ class: e(t.$style.content1)
542
+ }, "Tarjetas amarillas", 2),
543
+ a("div", {
544
+ class: e(t.$style.totalContainer1)
545
+ }, [
546
+ s.match.yellowcards > 0 ? (n(), l("button", {
547
+ key: 0,
548
+ class: e(t.$style.btnPlay),
549
+ id: "btn-play"
550
+ }, [
551
+ (n(), l("svg", {
552
+ width: "6",
553
+ class: e(t.$style.icnPlayIcon),
554
+ height: "10",
555
+ viewBox: "0 0 6 10",
556
+ fill: "none",
557
+ xmlns: "http://www.w3.org/2000/svg"
558
+ }, Ft, 2))
559
+ ], 2)) : i("", !0),
560
+ a("div", {
561
+ class: e(t.$style.content4)
562
+ }, o(s.match.yellowcards), 3)
563
+ ], 2)
564
+ ], 64)) : (n(), l(c, { key: 1 }, [
565
+ a("div", {
566
+ class: e(t.$style.content1)
567
+ }, "Tarjetas rojas:", 2),
568
+ a("div", {
569
+ class: e(t.$style.totalContainer1)
570
+ }, [
571
+ s.match.redcards > 0 ? (n(), l("button", {
572
+ key: 0,
573
+ class: e(t.$style.btnPlay),
574
+ id: "btn-play"
575
+ }, [
576
+ (n(), l("svg", {
577
+ width: "6",
578
+ class: e(t.$style.icnPlayIcon),
579
+ height: "10",
580
+ viewBox: "0 0 6 10",
581
+ fill: "none",
582
+ xmlns: "http://www.w3.org/2000/svg"
583
+ }, Mt, 2))
584
+ ], 2)) : i("", !0),
585
+ a("div", {
586
+ class: e(t.$style.content4)
587
+ }, o(s.match.redcards), 3)
588
+ ], 2)
589
+ ], 64))
590
+ ], 2)) : i("", !0)
591
+ ], 2),
592
+ s.match.extra_categories ? (n(), l("div", {
593
+ key: 0,
594
+ class: e(t.$style.rowsContainer)
595
+ }, [
596
+ s.type == 1 && s.position != 1 ? (n(), l("div", {
597
+ key: 0,
598
+ class: e(t.$style.rowTable4)
599
+ }, [
600
+ a("div", {
601
+ class: e(t.$style.content1)
602
+ }, "Tarjetas rojas", 2),
603
+ a("div", {
604
+ class: e(t.$style.totalContainer1)
605
+ }, [
606
+ s.match.redcards > 0 ? (n(), l("button", {
607
+ key: 0,
608
+ class: e(t.$style.btnPlay),
609
+ id: "btn-play"
610
+ }, [
611
+ (n(), l("svg", {
612
+ width: "6",
613
+ class: e(t.$style.icnPlayIcon),
614
+ height: "10",
615
+ viewBox: "0 0 6 10",
616
+ fill: "none",
617
+ xmlns: "http://www.w3.org/2000/svg"
618
+ }, Nt, 2))
619
+ ], 2)) : i("", !0),
620
+ a("div", {
621
+ class: e(t.$style.content4)
622
+ }, o(s.match.redcards), 3)
623
+ ], 2)
624
+ ], 2)) : i("", !0),
625
+ s.type == 2 ? (n(!0), l(c, { key: 1 }, w(s.match.extra_categories, (d, y) => (n(), l(c, {
626
+ key: y + "lsr"
627
+ }, [
628
+ y >= 2 ? (n(), l("div", {
629
+ key: 0,
630
+ class: e(t.$style.rowTable5),
631
+ style: v(y % 2 == 0 ? "background: #0d1d29" : "background: #172531")
632
+ }, [
633
+ a("div", {
634
+ class: e(t.$style.content1)
635
+ }, o(d.category_name) + ":", 3),
636
+ a("div", {
637
+ class: e(t.$style.totalContainer1)
638
+ }, [
639
+ d.total > 0 ? (n(), l("button", {
640
+ key: 0,
641
+ class: e(t.$style.btnPlay),
642
+ id: "btn-play"
643
+ }, [
644
+ (n(), l("svg", {
645
+ width: "6",
646
+ class: e(t.$style.icnPlayIcon),
647
+ height: "10",
648
+ viewBox: "0 0 6 10",
649
+ fill: "none",
650
+ xmlns: "http://www.w3.org/2000/svg"
651
+ }, Zt, 2))
652
+ ], 2)) : i("", !0),
653
+ a("div", {
654
+ class: e(t.$style.content4)
655
+ }, [
656
+ d.category_name == "xG " ? (n(), l(c, { key: 0 }, [
657
+ m(o(d.total.toFixed(2)), 1)
658
+ ], 64)) : (n(), l(c, { key: 1 }, [
659
+ m(o(d.total), 1)
660
+ ], 64))
661
+ ], 2)
662
+ ], 2)
663
+ ], 6)) : i("", !0)
664
+ ], 64))), 128)) : (n(!0), l(c, { key: 2 }, w(s.match.extra_categories, (d, y) => (n(), l("div", {
665
+ key: y + "lsr",
666
+ class: e(t.$style.rowTable5),
667
+ style: v(y % 2 == 0 ? "background: #172531" : "background: #0d1d29")
668
+ }, [
669
+ a("div", {
670
+ class: e(t.$style.content1)
671
+ }, o(d.category_name) + ":", 3),
672
+ a("div", {
673
+ class: e(t.$style.totalContainer1)
674
+ }, [
675
+ d.total > 0 ? (n(), l("button", {
676
+ key: 0,
677
+ class: e(t.$style.btnPlay),
678
+ id: "btn-play"
679
+ }, [
680
+ (n(), l("svg", {
681
+ width: "6",
682
+ class: e(t.$style.icnPlayIcon),
683
+ height: "10",
684
+ viewBox: "0 0 6 10",
685
+ fill: "none",
686
+ xmlns: "http://www.w3.org/2000/svg"
687
+ }, Wt, 2))
688
+ ], 2)) : i("", !0),
689
+ a("div", {
690
+ class: e(t.$style.content4)
691
+ }, [
692
+ d.category_name == "xG " ? (n(), l(c, { key: 0 }, [
693
+ m(o(d.total.toFixed(2)), 1)
694
+ ], 64)) : (n(), l(c, { key: 1 }, [
695
+ m(o(d.total), 1)
696
+ ], 64))
697
+ ], 2)
698
+ ], 2)
699
+ ], 6))), 128))
700
+ ], 2)) : i("", !0)
701
+ ], 2)
702
+ ], 2)
703
+ ], 2)) : i("", !0);
704
+ }
705
+ const At = {
706
+ $style: bt
707
+ }, qt = /* @__PURE__ */ ut(_t, [["render", Rt], ["__cssModules", At]]);
708
+ export {
709
+ qt as GSCInfoGame
710
+ };
@@ -0,0 +1 @@
1
+ (function(r,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],e):(r=typeof globalThis<"u"?globalThis:r||self,e(r.GSCInfoGame={},r.Vue))})(this,function(r,e){"use strict";function d(t){const n=e.ref({width:0,height:0});function a(){const c=t.value.getBoundingClientRect();n.value.width=c.width,n.value.height=c.height}return e.onMounted(()=>{a(),window.addEventListener("resize",a)}),e.onUnmounted(()=>{window.removeEventListener("resize",a)}),{elementSize:n}}const m={PO1:"CFI",PO2:"CFV",PO3:"SFI",PO4:"SFV",PO5:"FI",PO6:"FV"},C={DF:"Dieciseisavos",OF:"Octavos",CF:"Cuartos",SF:"Semifinales","3ER":"Tercer lugar",FINAL:"Final"},y={4:"Octavos",5:"Cuartos",6:"Semifinales",7:"Final"},h={content:"_content_dctb7_103",j:"_j_dctb7_117",jornada:"_jornada_dctb7_129",live:"_live_dctb7_153",liveButon:"_liveButon_dctb7_163",dateContainer:"_dateContainer_dctb7_189",dateContainer473:"_dateContainer473_dctb7_217",title:"_title_dctb7_245",title473:"_title473_dctb7_269",chivasIcon:"_chivasIcon_dctb7_295",escudos:"_escudos_dctb7_321",escudosWrapper:"_escudosWrapper_dctb7_335",homeTeamInner:"_homeTeamInner_dctb7_355",homeTeam:"_homeTeam_dctb7_355",btnPlayIcon:"_btnPlayIcon_dctb7_389",div1:"_div1_dctb7_399",score:"_score_dctb7_407",btnPlay:"_btnPlay_dctb7_389",containerTeams:"_containerTeams_dctb7_441",containerTeams473:"_containerTeams473_dctb7_459",jornadaParent:"_jornadaParent_dctb7_483",jornadaParent473:"_jornadaParent473_dctb7_499",headCard:"_headCard_dctb7_505",headCard473:"_headCard473_dctb7_527",content1:"_content1_dctb7_553",span:"_span_dctb7_565",partidos:"_partidos_dctb7_571",content2:"_content2_dctb7_577",totalContainer:"_totalContainer_dctb7_587",rowTable:"_rowTable_dctb7_605",icnPlayIcon:"_icnPlayIcon_dctb7_627",content4:"_content4_dctb7_657",totalContainer1:"_totalContainer1_dctb7_675",rowTable1:"_rowTable1_dctb7_695",rowTable3:"_rowTable3_dctb7_717",rowTable3473:"_rowTable3473_dctb7_741",rowsContainer:"_rowsContainer_dctb7_765",rowTable4:"_rowTable4_dctb7_781",rowTable5:"_rowTable5_dctb7_803",content16:"_content16_dctb7_825",rowTable7:"_rowTable7_dctb7_837",rowTable7473:"_rowTable7473_dctb7_861",containerData:"_containerData_dctb7_885",tableContainer:"_tableContainer_dctb7_905",lastGameCard:"_lastGameCard_dctb7_919",lastGameCard473:"_lastGameCard473_dctb7_949"},w=(t,n)=>{const a=t.__vccOpts||t;for(const[c,i]of n)a[c]=i;return a},E={name:"SummaryLastGame",components:{},data(){return{}},setup(){const t=e.ref("myDivLasgameS"),{elementSize:n}=d(t);return{myDivLasgameS:t,elementSize:n}},watch:{},props:{match:{type:[Object,Array,Number],default:()=>[]},game:{},position:{type:Number,default:1},type:{type:Number,default:1},isCup:{type:Boolean,default:!1}},computed:{jornadaParentClass(){return this.elementSize.width<473?this.$style.jornadaParent473:this.$style.jornadaParent},titleClass(){return this.elementSize.width<473?this.$style.title473:this.$style.title},headCardClass(){return this.elementSize.width<473?this.$style.headCard473:this.$style.headCard},rowTable3Class(){return this.elementSize.width<473?this.$style.rowTable3473:this.$style.rowTable3},rowTable7Class(){return this.elementSize.width<473?this.$style.rowTable7473:this.$style.rowTable7},dateContainerClass(){return this.elementSize.width<473?this.$style.dateContainer473:this.$style.dateContainer},lastGameCardClass(){return this.elementSize.width<473?this.$style.lastGameCard473:this.$style.lastGameCard},containerTeamsClass(){return this.elementSize.width<473?this.$style.containerTeams473:this.$style.containerTeams},matchDayName(){let t="";const n=this.game.matchday_abbreviation.replace("M",""),a=`J ${n}`;return this.isCup?this.seasonId===881?t=y[n]||a:t=C[this.game.matchday_abbreviation]||a:t=m[this.game.matchday_abbreviation]||a,t}},methods:{}},b=["src"],_=[e.createElementVNode("path",{d:"M0.515613 9.24748C0.44175 9.20673 0.380014 9.14584 0.337058 9.07139C0.294103 8.99693 0.271558 8.91173 0.271853 8.82497V1.1737C0.271955 1.08724 0.294648 1.00242 0.337519 0.928259C0.38039 0.854099 0.441838 0.793372 0.51533 0.752534C0.588822 0.711696 0.671611 0.692272 0.754897 0.696328C0.838183 0.700383 0.918853 0.727767 0.988331 0.775568L6.52253 4.60165C6.58574 4.64524 6.63758 4.70435 6.67344 4.77374C6.7093 4.84312 6.72806 4.92062 6.72806 4.99934C6.72806 5.07806 6.7093 5.15555 6.67344 5.22494C6.63758 5.29432 6.58574 5.35343 6.52253 5.39702L0.988331 9.22401C0.918959 9.27191 0.838352 9.2994 0.755102 9.30353C0.671852 9.30767 0.589081 9.28829 0.515613 9.24748Z",fill:"#CBEE6B"},null,-1)],g=["src"],k=[e.createElementVNode("path",{d:"M0.454162 9.34811C0.391152 9.3064 0.338487 9.24407 0.301843 9.16785C0.265199 9.09163 0.245966 9.00441 0.246218 8.9156V1.0831C0.246305 0.994582 0.265663 0.907752 0.302236 0.831836C0.338808 0.75592 0.391227 0.693755 0.453921 0.651949C0.516615 0.610143 0.58724 0.590259 0.658289 0.594411C0.729338 0.598563 0.798156 0.626596 0.857426 0.675528L5.5785 4.59224C5.63242 4.63686 5.67665 4.69738 5.70723 4.7684C5.73782 4.83943 5.75383 4.91876 5.75383 4.99935C5.75383 5.07993 5.73782 5.15926 5.70723 5.23029C5.67665 5.30131 5.63242 5.36183 5.5785 5.40645L0.857426 9.32409C0.798247 9.37313 0.729482 9.40126 0.658464 9.40549C0.587446 9.40973 0.516836 9.38989 0.454162 9.34811Z",fill:"#CBEE6B"},null,-1)],B=[e.createElementVNode("path",{d:"M0.454162 9.34811C0.391152 9.3064 0.338487 9.24407 0.301843 9.16785C0.265199 9.09163 0.245966 9.00441 0.246218 8.9156V1.0831C0.246305 0.994582 0.265663 0.907752 0.302236 0.831836C0.338808 0.75592 0.391227 0.693755 0.453921 0.651949C0.516615 0.610143 0.58724 0.590259 0.658289 0.594411C0.729338 0.598563 0.798156 0.626596 0.857426 0.675528L5.5785 4.59224C5.63242 4.63686 5.67665 4.69738 5.70723 4.7684C5.73782 4.83943 5.75383 4.91876 5.75383 4.99935C5.75383 5.07993 5.73782 5.15926 5.70723 5.23029C5.67665 5.30131 5.63242 5.36183 5.5785 5.40645L0.857426 9.32409C0.798247 9.37313 0.729482 9.40126 0.658464 9.40549C0.587446 9.40973 0.516836 9.38989 0.454162 9.34811Z",fill:"#CBEE6B"},null,-1)],z=[e.createElementVNode("path",{d:"M0.454162 9.34811C0.391152 9.3064 0.338487 9.24407 0.301843 9.16785C0.265199 9.09163 0.245966 9.00441 0.246218 8.9156V1.0831C0.246305 0.994582 0.265663 0.907752 0.302236 0.831836C0.338808 0.75592 0.391227 0.693755 0.453921 0.651949C0.516615 0.610143 0.58724 0.590259 0.658289 0.594411C0.729338 0.598563 0.798156 0.626596 0.857426 0.675528L5.5785 4.59224C5.63242 4.63686 5.67665 4.69738 5.70723 4.7684C5.73782 4.83943 5.75383 4.91876 5.75383 4.99935C5.75383 5.07993 5.73782 5.15926 5.70723 5.23029C5.67665 5.30131 5.63242 5.36183 5.5785 5.40645L0.857426 9.32409C0.798247 9.37313 0.729482 9.40126 0.658464 9.40549C0.587446 9.40973 0.516836 9.38989 0.454162 9.34811Z",fill:"#CBEE6B"},null,-1)],V=[e.createElementVNode("path",{d:"M0.454162 9.34811C0.391152 9.3064 0.338487 9.24407 0.301843 9.16785C0.265199 9.09163 0.245966 9.00441 0.246218 8.9156V1.0831C0.246305 0.994582 0.265663 0.907752 0.302236 0.831836C0.338808 0.75592 0.391227 0.693755 0.453921 0.651949C0.516615 0.610143 0.58724 0.590259 0.658289 0.594411C0.729338 0.598563 0.798156 0.626596 0.857426 0.675528L5.5785 4.59224C5.63242 4.63686 5.67665 4.69738 5.70723 4.7684C5.73782 4.83943 5.75383 4.91876 5.75383 4.99935C5.75383 5.07993 5.73782 5.15926 5.70723 5.23029C5.67665 5.30131 5.63242 5.36183 5.5785 5.40645L0.857426 9.32409C0.798247 9.37313 0.729482 9.40126 0.658464 9.40549C0.587446 9.40973 0.516836 9.38989 0.454162 9.34811Z",fill:"#CBEE6B"},null,-1)],N=[e.createElementVNode("path",{d:"M0.454162 9.34811C0.391152 9.3064 0.338487 9.24407 0.301843 9.16785C0.265199 9.09163 0.245966 9.00441 0.246218 8.9156V1.0831C0.246305 0.994582 0.265663 0.907752 0.302236 0.831836C0.338808 0.75592 0.391227 0.693755 0.453921 0.651949C0.516615 0.610143 0.58724 0.590259 0.658289 0.594411C0.729338 0.598563 0.798156 0.626596 0.857426 0.675528L5.5785 4.59224C5.63242 4.63686 5.67665 4.69738 5.70723 4.7684C5.73782 4.83943 5.75383 4.91876 5.75383 4.99935C5.75383 5.07993 5.73782 5.15926 5.70723 5.23029C5.67665 5.30131 5.63242 5.36183 5.5785 5.40645L0.857426 9.32409C0.798247 9.37313 0.729482 9.40126 0.658464 9.40549C0.587446 9.40973 0.516836 9.38989 0.454162 9.34811Z",fill:"#CBEE6B"},null,-1)],p=[e.createElementVNode("path",{d:"M0.454162 9.34811C0.391152 9.3064 0.338487 9.24407 0.301843 9.16785C0.265199 9.09163 0.245966 9.00441 0.246218 8.9156V1.0831C0.246305 0.994582 0.265663 0.907752 0.302236 0.831836C0.338808 0.75592 0.391227 0.693755 0.453921 0.651949C0.516615 0.610143 0.58724 0.590259 0.658289 0.594411C0.729338 0.598563 0.798156 0.626596 0.857426 0.675528L5.5785 4.59224C5.63242 4.63686 5.67665 4.69738 5.70723 4.7684C5.73782 4.83943 5.75383 4.91876 5.75383 4.99935C5.75383 5.07993 5.73782 5.15926 5.70723 5.23029C5.67665 5.30131 5.63242 5.36183 5.5785 5.40645L0.857426 9.32409C0.798247 9.37313 0.729482 9.40126 0.658464 9.40549C0.587446 9.40973 0.516836 9.38989 0.454162 9.34811Z",fill:"#CBEE6B"},null,-1)],T=[e.createElementVNode("path",{d:"M0.454162 9.34811C0.391152 9.3064 0.338487 9.24407 0.301843 9.16785C0.265199 9.09163 0.245966 9.00441 0.246218 8.9156V1.0831C0.246305 0.994582 0.265663 0.907752 0.302236 0.831836C0.338808 0.75592 0.391227 0.693755 0.453921 0.651949C0.516615 0.610143 0.58724 0.590259 0.658289 0.594411C0.729338 0.598563 0.798156 0.626596 0.857426 0.675528L5.5785 4.59224C5.63242 4.63686 5.67665 4.69738 5.70723 4.7684C5.73782 4.83943 5.75383 4.91876 5.75383 4.99935C5.75383 5.07993 5.73782 5.15926 5.70723 5.23029C5.67665 5.30131 5.63242 5.36183 5.5785 5.40645L0.857426 9.32409C0.798247 9.37313 0.729482 9.40126 0.658464 9.40549C0.587446 9.40973 0.516836 9.38989 0.454162 9.34811Z",fill:"#CBEE6B"},null,-1)],f=[e.createElementVNode("path",{d:"M0.454162 9.34811C0.391152 9.3064 0.338487 9.24407 0.301843 9.16785C0.265199 9.09163 0.245966 9.00441 0.246218 8.9156V1.0831C0.246305 0.994582 0.265663 0.907752 0.302236 0.831836C0.338808 0.75592 0.391227 0.693755 0.453921 0.651949C0.516615 0.610143 0.58724 0.590259 0.658289 0.594411C0.729338 0.598563 0.798156 0.626596 0.857426 0.675528L5.5785 4.59224C5.63242 4.63686 5.67665 4.69738 5.70723 4.7684C5.73782 4.83943 5.75383 4.91876 5.75383 4.99935C5.75383 5.07993 5.73782 5.15926 5.70723 5.23029C5.67665 5.30131 5.63242 5.36183 5.5785 5.40645L0.857426 9.32409C0.798247 9.37313 0.729482 9.40126 0.658464 9.40549C0.587446 9.40973 0.516836 9.38989 0.454162 9.34811Z",fill:"#CBEE6B"},null,-1)],$=[e.createElementVNode("path",{d:"M0.454162 9.34811C0.391152 9.3064 0.338487 9.24407 0.301843 9.16785C0.265199 9.09163 0.245966 9.00441 0.246218 8.9156V1.0831C0.246305 0.994582 0.265663 0.907752 0.302236 0.831836C0.338808 0.75592 0.391227 0.693755 0.453921 0.651949C0.516615 0.610143 0.58724 0.590259 0.658289 0.594411C0.729338 0.598563 0.798156 0.626596 0.857426 0.675528L5.5785 4.59224C5.63242 4.63686 5.67665 4.69738 5.70723 4.7684C5.73782 4.83943 5.75383 4.91876 5.75383 4.99935C5.75383 5.07993 5.73782 5.15926 5.70723 5.23029C5.67665 5.30131 5.63242 5.36183 5.5785 5.40645L0.857426 9.32409C0.798247 9.37313 0.729482 9.40126 0.658464 9.40549C0.587446 9.40973 0.516836 9.38989 0.454162 9.34811Z",fill:"#CBEE6B"},null,-1)],S=[e.createElementVNode("path",{d:"M0.454162 9.34811C0.391152 9.3064 0.338487 9.24407 0.301843 9.16785C0.265199 9.09163 0.245966 9.00441 0.246218 8.9156V1.0831C0.246305 0.994582 0.265663 0.907752 0.302236 0.831836C0.338808 0.75592 0.391227 0.693755 0.453921 0.651949C0.516615 0.610143 0.58724 0.590259 0.658289 0.594411C0.729338 0.598563 0.798156 0.626596 0.857426 0.675528L5.5785 4.59224C5.63242 4.63686 5.67665 4.69738 5.70723 4.7684C5.73782 4.83943 5.75383 4.91876 5.75383 4.99935C5.75383 5.07993 5.73782 5.15926 5.70723 5.23029C5.67665 5.30131 5.63242 5.36183 5.5785 5.40645L0.857426 9.32409C0.798247 9.37313 0.729482 9.40126 0.658464 9.40549C0.587446 9.40973 0.516836 9.38989 0.454162 9.34811Z",fill:"#CBEE6B"},null,-1)];function P(t,n,a,c,i,o){return a.game&&Object.keys(a.game).length>0?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(o.lastGameCardClass),ref:c.myDivLasgameS},[e.createElementVNode("div",{class:e.normalizeClass(t.$style.tableContainer),id:"card-container"},[e.createElementVNode("div",{class:e.normalizeClass(o.headCardClass),id:"head-card"},[e.createElementVNode("div",{class:e.normalizeClass(o.titleClass)},[e.createElementVNode("div",{class:e.normalizeClass(t.$style.content)},"Último partido",2),e.createElementVNode("div",{class:e.normalizeClass(o.dateContainerClass)},[e.createElementVNode("div",{class:e.normalizeClass(t.$style.jornada)},[e.createElementVNode("div",{class:e.normalizeClass(t.$style.j)},e.toDisplayString(o.matchDayName),3)],2),e.createElementVNode("div",{class:e.normalizeClass(t.$style.liveButon)},[e.createElementVNode("div",{class:e.normalizeClass(t.$style.live)},e.toDisplayString(new Date(a.game.date_time_utc).toLocaleDateString("es-ES",{month:"long",day:"numeric"}).replace(",","")[0].toUpperCase()+" "+new Date(a.game.date_time_utc).toLocaleDateString("es-ES",{month:"short"}).replace(",","").toUpperCase()),3)],2)],2)],2),e.createElementVNode("div",{class:e.normalizeClass(o.containerTeamsClass)},[e.createElementVNode("div",{class:e.normalizeClass(t.$style.homeTeam),id:"home-team"},[e.createElementVNode("div",{class:e.normalizeClass(t.$style.homeTeamInner)},[e.createElementVNode("div",{class:e.normalizeClass(t.$style.escudosWrapper)},[e.createElementVNode("div",{class:e.normalizeClass(t.$style.escudos)},[e.createElementVNode("img",{class:e.normalizeClass(t.$style.chivasIcon),alt:"",src:`https://az755631.vo.msecnd.net/teams-80/${a.game.home_team}.png`},null,10,b)],2)],2)],2)],2),e.createElementVNode("div",{class:e.normalizeClass(t.$style.score),id:"score-mch"},[(e.openBlock(),e.createElementBlock("svg",{class:e.normalizeClass(t.$style.btnPlayIcon),width:"7",height:"10",viewBox:"0 0 7 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},_,2)),e.createElementVNode("div",{class:e.normalizeClass(t.$style.div1)},e.toDisplayString(a.game.score[0]),3),e.createElementVNode("div",{class:e.normalizeClass(t.$style.div1)},"-",2),e.createElementVNode("div",{class:e.normalizeClass(t.$style.div1)},e.toDisplayString(a.game.score[1]),3)],2),e.createElementVNode("div",{class:e.normalizeClass(t.$style.homeTeam),id:"away-team"},[e.createElementVNode("div",{class:e.normalizeClass(t.$style.homeTeamInner)},[e.createElementVNode("div",{class:e.normalizeClass(t.$style.escudosWrapper)},[e.createElementVNode("div",{class:e.normalizeClass(t.$style.escudos)},[e.createElementVNode("img",{class:e.normalizeClass(t.$style.chivasIcon),alt:"",src:`https://az755631.vo.msecnd.net/teams-80/${a.game.visiting_team}.png`},null,10,g)],2)],2)],2)],2)],2),e.createElementVNode("div",{class:e.normalizeClass(o.jornadaParentClass),id:"date-container"},[e.createElementVNode("div",{class:e.normalizeClass(t.$style.jornada)},[e.createElementVNode("div",{class:e.normalizeClass(t.$style.j)},e.toDisplayString(o.matchDayName),3)],2),e.createElementVNode("div",{class:e.normalizeClass(t.$style.liveButon)},[e.createElementVNode("div",{class:e.normalizeClass(t.$style.live)},e.toDisplayString(new Date(a.game.date_time_utc).toLocaleDateString("es-ES",{month:"long",day:"numeric"}).replace(",","")[0].toUpperCase()+" "+new Date(a.game.date_time_utc).toLocaleDateString("es-ES",{month:"short"}).replace(",","").toUpperCase()),3)],2)],2)],2),e.createElementVNode("div",{class:e.normalizeClass(t.$style.containerData),id:"container-data"},[e.createElementVNode("div",{class:e.normalizeClass(t.$style.rowsContainer)},[e.createElementVNode("div",{class:e.normalizeClass(t.$style.rowTable)},[a.type==1?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",{class:e.normalizeClass(t.$style.content1)},"Titular: ",2),e.createElementVNode("div",{class:e.normalizeClass(t.$style.totalContainer)},[e.createElementVNode("div",{class:e.normalizeClass(t.$style.content2)},[e.createElementVNode("span",{class:e.normalizeClass(t.$style.span)},e.toDisplayString(a.match.isTitular==1?"Si":"No"),3)],2)],2)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("div",{class:e.normalizeClass(t.$style.content1)},"Resultado: ",2),e.createElementVNode("div",{class:e.normalizeClass(t.$style.totalContainer)},[e.createElementVNode("div",{class:e.normalizeClass(t.$style.content2)},[e.createElementVNode("span",{class:e.normalizeClass(t.$style.span)},e.toDisplayString(a.match.result==1?"Ganado":a.match.result==2?"Perdido":"Empatado"),3)],2)],2)],64))],2),e.createElementVNode("div",{class:e.normalizeClass(t.$style.rowTable1)},[a.type==1?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",{class:e.normalizeClass(t.$style.content1)},"Minutos jugados:",2),e.createElementVNode("div",{class:e.normalizeClass(t.$style.totalContainer1)},[a.match.minutes>0?(e.openBlock(),e.createElementBlock("button",{key:0,class:e.normalizeClass(t.$style.btnPlay),id:"btn-play"},[(e.openBlock(),e.createElementBlock("svg",{width:"6",class:e.normalizeClass(t.$style.icnPlayIcon),height:"10",viewBox:"0 0 6 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},k,2))],2)):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(t.$style.content4)},e.toDisplayString(a.match.minutes),3)],2)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("div",{class:e.normalizeClass(t.$style.content1)},"xG:",2),a.match.xg?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(t.$style.totalContainer1)},[a.match.xg>0?(e.openBlock(),e.createElementBlock("button",{key:0,class:e.normalizeClass(t.$style.btnPlay),id:"btn-play"},[(e.openBlock(),e.createElementBlock("svg",{width:"6",class:e.normalizeClass(t.$style.icnPlayIcon),height:"10",viewBox:"0 0 6 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},B,2))],2)):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(t.$style.content4)},e.toDisplayString(a.match.xg.toFixed(2)),3)],2)):e.createCommentVNode("",!0)],64))],2),a.type==2?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(a.match.extra_categories,(l,s)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:s+"psep1"},[s<2?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(t.$style.rowTable5),style:e.normalizeStyle(s%2==0?"background: #0d1d29":"background: #172531")},[e.createElementVNode("div",{class:e.normalizeClass(t.$style.content1)},e.toDisplayString(l.category_name)+":",3),e.createElementVNode("div",{class:e.normalizeClass(t.$style.totalContainer1)},[l.total>0?(e.openBlock(),e.createElementBlock("button",{key:0,class:e.normalizeClass(t.$style.btnPlay),id:"btn-play"},[(e.openBlock(),e.createElementBlock("svg",{width:"6",class:e.normalizeClass(t.$style.icnPlayIcon),height:"10",viewBox:"0 0 6 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},z,2))],2)):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(t.$style.content4)},e.toDisplayString(l.total),3)],2)],6)):e.createCommentVNode("",!0)],64))),128)):e.createCommentVNode("",!0),a.type==1?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(t.$style.rowTable)},[a.position!=1?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",{class:e.normalizeClass(t.$style.content1)},"Goles",2),e.createElementVNode("div",{class:e.normalizeClass(t.$style.totalContainer1)},[a.match.goals>0?(e.openBlock(),e.createElementBlock("button",{key:0,class:e.normalizeClass(t.$style.btnPlay),id:"btn-play"},[(e.openBlock(),e.createElementBlock("svg",{width:"6",class:e.normalizeClass(t.$style.icnPlayIcon),height:"10",viewBox:"0 0 6 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},V,2))],2)):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(t.$style.content4)},e.toDisplayString(a.match.goals),3)],2)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("div",{class:e.normalizeClass(t.$style.content1)},"Tarjetas amarillas:",2),e.createElementVNode("div",{class:e.normalizeClass(t.$style.totalContainer1)},[a.match.yellowcards>0?(e.openBlock(),e.createElementBlock("button",{key:0,class:e.normalizeClass(t.$style.btnPlay),id:"btn-play"},[(e.openBlock(),e.createElementBlock("svg",{width:"6",class:e.normalizeClass(t.$style.icnPlayIcon),height:"10",viewBox:"0 0 6 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},N,2))],2)):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(t.$style.content4)},e.toDisplayString(a.match.yellowcards),3)],2)],64))],2)):e.createCommentVNode("",!0),a.type==1?(e.openBlock(),e.createElementBlock("div",{key:2,class:e.normalizeClass(o.rowTable3Class)},[a.position!=1?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",{class:e.normalizeClass(t.$style.content1)},"Tarjetas amarillas",2),e.createElementVNode("div",{class:e.normalizeClass(t.$style.totalContainer1)},[a.match.yellowcards>0?(e.openBlock(),e.createElementBlock("button",{key:0,class:e.normalizeClass(t.$style.btnPlay),id:"btn-play"},[(e.openBlock(),e.createElementBlock("svg",{width:"6",class:e.normalizeClass(t.$style.icnPlayIcon),height:"10",viewBox:"0 0 6 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},p,2))],2)):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(t.$style.content4)},e.toDisplayString(a.match.yellowcards),3)],2)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("div",{class:e.normalizeClass(t.$style.content1)},"Tarjetas rojas:",2),e.createElementVNode("div",{class:e.normalizeClass(t.$style.totalContainer1)},[a.match.redcards>0?(e.openBlock(),e.createElementBlock("button",{key:0,class:e.normalizeClass(t.$style.btnPlay),id:"btn-play"},[(e.openBlock(),e.createElementBlock("svg",{width:"6",class:e.normalizeClass(t.$style.icnPlayIcon),height:"10",viewBox:"0 0 6 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},T,2))],2)):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(t.$style.content4)},e.toDisplayString(a.match.redcards),3)],2)],64))],2)):e.createCommentVNode("",!0)],2),a.match.extra_categories?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(t.$style.rowsContainer)},[a.type==1&&a.position!=1?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(t.$style.rowTable4)},[e.createElementVNode("div",{class:e.normalizeClass(t.$style.content1)},"Tarjetas rojas",2),e.createElementVNode("div",{class:e.normalizeClass(t.$style.totalContainer1)},[a.match.redcards>0?(e.openBlock(),e.createElementBlock("button",{key:0,class:e.normalizeClass(t.$style.btnPlay),id:"btn-play"},[(e.openBlock(),e.createElementBlock("svg",{width:"6",class:e.normalizeClass(t.$style.icnPlayIcon),height:"10",viewBox:"0 0 6 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},f,2))],2)):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(t.$style.content4)},e.toDisplayString(a.match.redcards),3)],2)],2)):e.createCommentVNode("",!0),a.type==2?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:1},e.renderList(a.match.extra_categories,(l,s)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:s+"lsr"},[s>=2?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(t.$style.rowTable5),style:e.normalizeStyle(s%2==0?"background: #0d1d29":"background: #172531")},[e.createElementVNode("div",{class:e.normalizeClass(t.$style.content1)},e.toDisplayString(l.category_name)+":",3),e.createElementVNode("div",{class:e.normalizeClass(t.$style.totalContainer1)},[l.total>0?(e.openBlock(),e.createElementBlock("button",{key:0,class:e.normalizeClass(t.$style.btnPlay),id:"btn-play"},[(e.openBlock(),e.createElementBlock("svg",{width:"6",class:e.normalizeClass(t.$style.icnPlayIcon),height:"10",viewBox:"0 0 6 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},$,2))],2)):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(t.$style.content4)},[l.category_name=="xG "?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createTextVNode(e.toDisplayString(l.total.toFixed(2)),1)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(l.total),1)],64))],2)],2)],6)):e.createCommentVNode("",!0)],64))),128)):(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:2},e.renderList(a.match.extra_categories,(l,s)=>(e.openBlock(),e.createElementBlock("div",{key:s+"lsr",class:e.normalizeClass(t.$style.rowTable5),style:e.normalizeStyle(s%2==0?"background: #172531":"background: #0d1d29")},[e.createElementVNode("div",{class:e.normalizeClass(t.$style.content1)},e.toDisplayString(l.category_name)+":",3),e.createElementVNode("div",{class:e.normalizeClass(t.$style.totalContainer1)},[l.total>0?(e.openBlock(),e.createElementBlock("button",{key:0,class:e.normalizeClass(t.$style.btnPlay),id:"btn-play"},[(e.openBlock(),e.createElementBlock("svg",{width:"6",class:e.normalizeClass(t.$style.icnPlayIcon),height:"10",viewBox:"0 0 6 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"},S,2))],2)):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(t.$style.content4)},[l.category_name=="xG "?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createTextVNode(e.toDisplayString(l.total.toFixed(2)),1)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(l.total),1)],64))],2)],2)],6))),128))],2)):e.createCommentVNode("",!0)],2)],2)],2)):e.createCommentVNode("",!0)}const D=w(E,[["render",P],["__cssModules",{$style:h}]]);r.GSCInfoGame=D,Object.defineProperty(r,Symbol.toStringTag,{value:"Module"})});
package/dist/style.css ADDED
@@ -0,0 +1 @@
1
+ @import"https://fonts.googleapis.com/css2?family=Montserrat:wght@700&display=swap";@import"https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap";@import"https://fonts.googleapis.com/css2?family=Inter:wght@600&display=swap";:root{--font-montserrat: Montserrat;--font-poppinsl: Poppins;--font-interl: Inter;--font-size-5xsl: 8px;--font-size-smil: 13px;--font-size-xsl: 12px;--color-gwhitesmokel: #f2f2f2;--color-gray-100l: #172531;--color-gray-200l: #0d1d29;--color-gray-300l: rgba(255, 255, 255, .7);--color-gray-400l: rgba(255, 255, 255, .1);--color-gray-500l: rgba(255, 255, 255, .2);--color-gray-600l: rgba(255, 255, 255, .3);--color-whitel: #fff;--color-darkslategray-100l: #475b6a;--sizes-spacing-space-4l: 4px;--gap-10xsl: 3px;--gap-3xsl: 10px;--gap-9xsl: 4px;--padding-8xsl: 5px;--padding-12xsl: 1px;--padding-11xsl: 2px;--padding-3xsl: 10px;--padding-basel: 16px;--padding-xll: 20px;--padding-xsl: 12px;--padding-4xsl: 9px;--br-10xsl: 3px;--br-9xsl: 4px;--br-5xsl: 8px;--br-6xll: 25px;--br-11xll: 30px}._content_dctb7_103{position:relative;letter-spacing:.02em;line-height:16px;font-weight:600;z-index:0}._j_dctb7_117{position:relative;line-height:9px;font-weight:600;opacity:.6}._jornada_dctb7_129{border-radius:var(--br-9xsl);border:1px solid var(--color-gray-600l);box-sizing:border-box;width:37px;display:flex;flex-direction:row;align-items:center;justify-content:center;padding:var(--padding-11xsl) var(--padding-3xsl);gap:var(--gap-10xsl)}._live_dctb7_153{position:relative;line-height:9px;font-weight:600}._liveButon_dctb7_163{border-radius:var(--br-10xsl);border:.5px solid var(--color-gray-300l);box-sizing:border-box;width:38px;height:17px;display:flex;flex-direction:row;align-items:center;justify-content:center;padding:var(--padding-8xsl) var(--padding-12xsl);color:var(--color-gwhitesmokel)}._dateContainer_dctb7_189{margin:0!important;position:absolute;top:.5px;right:0;display:none;flex-direction:column;align-items:center;justify-content:flex-start;gap:var(--gap-10xsl);z-index:1;text-align:center;font-size:var(--font-size-5xsl)}._dateContainer473_dctb7_217{display:flex;margin:0!important;position:absolute;top:.5px;right:0;flex-direction:column;align-items:center;justify-content:flex-start;gap:var(--gap-10xsl);z-index:1;text-align:center;font-size:var(--font-size-5xsl)}._title_dctb7_245{box-sizing:border-box;width:223px;display:flex;flex-direction:row;align-items:center;justify-content:flex-start;padding:var(--padding-3xsl) 0px var(--padding-basel);position:relative;gap:var(--gap-3xsl);text-align:left}._title473_dctb7_269{box-sizing:border-box;width:100%;align-items:center;display:flex;flex-direction:row;justify-content:flex-start;border-bottom:1px solid #4d5e6b;padding:var(--padding-3xsl) 0px var(--padding-basel);position:relative;gap:var(--gap-3xsl);text-align:left}._chivasIcon_dctb7_295{position:absolute;height:100%;width:100%;top:0%;right:0%;bottom:0%;left:0%;max-width:100%;overflow:hidden;max-height:100%;object-fit:cover}._escudos_dctb7_321{position:relative;width:22px;height:22px;overflow:hidden;flex-shrink:0}._escudosWrapper_dctb7_335{border-radius:var(--br-11xll);background-color:var(--color-gray-100l);width:32px;height:32px;display:flex;flex-direction:row;align-items:center;justify-content:center}._homeTeamInner_dctb7_355{border-radius:var(--br-11xll);border:.8px solid var(--color-darkslategray-100l);box-sizing:border-box;width:38px;height:38px;display:flex;flex-direction:row;align-items:center;justify-content:center}._homeTeam_dctb7_355{display:flex;flex-direction:row;align-items:center;justify-content:flex-start}._btnPlayIcon_dctb7_389{position:relative;width:6.46px;height:8.61px}._div1_dctb7_399{position:relative;font-weight:600}._score_dctb7_407{border-radius:var(--br-11xll);background-color:#304656;display:flex;flex-direction:row;align-items:center;justify-content:center;padding:var(--padding-4xsl);gap:var(--gap-9xsl)}._btnPlay_dctb7_389:hover{background-color:var(--color-gray-400m)}._score_dctb7_407:hover{cursor:pointer;background-color:var(--color-gray-400m)}._containerTeams_dctb7_441{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:8.61px;font-size:13.03px;font-family:var(--font-interl)}._containerTeams473_dctb7_459{display:flex;flex-direction:row;width:100%;align-items:center;justify-content:center;padding-top:8px;box-sizing:border-box;gap:8.61px;font-size:13.03px;font-family:var(--font-interl)}._jornadaParent_dctb7_483{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:var(--sizes-spacing-space-4l);font-size:var(--font-size-5xsl)}._jornadaParent473_dctb7_499{display:none}._headCard_dctb7_505{align-self:stretch;border-radius:var(--br-5xsl) var(--br-5xsl) 0px 0px;background-color:#193143;display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;justify-content:space-between;padding:var(--padding-4xsl) 14px}._headCard473_dctb7_527{align-self:stretch;background-color:#193143;display:flex;flex-direction:row;flex-wrap:wrap;border-radius:var(--br-5xsl) var(--br-5xsl) 0px 0px;height:auto;align-items:center;justify-content:flex-start;padding:var(--padding-4xsl) 14px}._content1_dctb7_553{position:relative;letter-spacing:.02em;line-height:16px;opacity:.7}._span_dctb7_565{font-weight:600}._partidos_dctb7_571{font-size:11px}._content2_dctb7_577{position:relative;letter-spacing:.02em;line-height:16px}._totalContainer_dctb7_587{height:21.7px;display:flex;flex-direction:row;align-items:center;justify-content:flex-start;text-align:right;font-size:var(--font-size-smil)}._rowTable_dctb7_605{align-self:stretch;background-color:var(--color-gray-200l);height:56px;display:flex;flex-direction:row;align-items:center;justify-content:space-between;padding:0px var(--padding-xll) 0px var(--padding-xsl);box-sizing:border-box}._icnPlayIcon_dctb7_627{position:relative;width:5.51px;height:8.81px}._btnPlay_dctb7_389{cursor:pointer;border:.6px solid var(--color-gray-500l);background-color:var(--color-gray-400l);border-radius:var(--br-6xll);box-sizing:border-box;width:20px;height:20px}._content4_dctb7_657{position:relative;letter-spacing:.02em;line-height:16px;font-weight:600;display:inline-block;width:20px;flex-shrink:0}._totalContainer1_dctb7_675{height:21.7px;display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:var(--gap-3xsl);text-align:right;font-size:var(--font-size-smil)}._rowTable1_dctb7_695{align-self:stretch;background-color:var(--color-gray-100l);height:56px;display:flex;flex-direction:row;align-items:center;justify-content:space-between;padding:0px var(--padding-xll) 0px var(--padding-xsl);box-sizing:border-box}._rowTable3_dctb7_717{align-self:stretch;border-radius:0px 0px 0px var(--br-5xsl);background-color:var(--color-gray-100l);height:56px;display:flex;flex-direction:row;align-items:center;justify-content:space-between;padding:0px var(--padding-xll) 0px var(--padding-xsl);box-sizing:border-box}._rowTable3473_dctb7_741{align-self:stretch;border-radius:0;background-color:var(--color-gray-100l);height:56px;display:flex;flex-direction:row;align-items:center;justify-content:space-between;padding:0px var(--padding-xll) 0px var(--padding-xsl);box-sizing:border-box}._rowsContainer_dctb7_765{flex:1;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;min-width:240px}._rowTable4_dctb7_781{align-self:stretch;background-color:var(--color-gray-200l);height:56px;display:flex;flex-direction:row;align-items:center;justify-content:space-between;padding:0px var(--padding-basel);box-sizing:border-box}._rowTable5_dctb7_803{align-self:stretch;background-color:var(--color-gray-100l);height:56px;display:flex;flex-direction:row;align-items:center;justify-content:space-between;padding:0px var(--padding-basel);box-sizing:border-box}._content16_dctb7_825{position:relative;letter-spacing:.02em;line-height:16px;font-weight:600}._rowTable7_dctb7_837{align-self:stretch;border-radius:0px 0px var(--br-5xsl) 0px;background-color:var(--color-gray-100l);height:56px;display:flex;flex-direction:row;align-items:center;justify-content:space-between;padding:0px var(--padding-basel);box-sizing:border-box}._rowTable7473_dctb7_861{align-self:stretch;border-radius:0;background-color:var(--color-gray-100l);height:56px;display:flex;flex-direction:row;align-items:center;justify-content:space-between;padding:0px var(--padding-basel);box-sizing:border-box}._containerData_dctb7_885{align-self:stretch;display:flex;flex-direction:row;flex-wrap:wrap;align-items:flex-start;justify-content:flex-start;text-align:left;font-size:var(--font-size-xsl)}._tableContainer_dctb7_905{align-self:stretch;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start}._lastGameCard_dctb7_919{position:relative;border-radius:9px;background-color:#26323c66;box-shadow:0 4px 20px #00000040;width:100%;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;text-align:center;font-size:15px;color:var(--color-whitel);font-family:var(--font-poppinsl)}._lastGameCard473_dctb7_949{position:relative;border-radius:9px;background-color:#26323c66;box-shadow:0 4px 20px #00000040;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;text-align:center;font-size:15px;color:var(--color-whitel);font-family:var(--font-poppinsl);min-width:241px}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@golstats/gsc-game-info",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "files": [