@golstats/gsc-game-data 1.0.325-alpha.0 → 1.0.325-alpha.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 (40) hide show
  1. package/README.md +74 -19
  2. package/dist/chunks/GSCDatosGSMain-11cd7d4d.js +130 -0
  3. package/dist/chunks/ModalEventsLive-8ba1588b.js +325 -0
  4. package/dist/chunks/section-comparative-main-6aa6f890.js +9887 -0
  5. package/dist/chunks/section-lineups-main-3667a84b.js +124 -0
  6. package/dist/chunks/section-positioning-main-a2dee4c3.js +53 -0
  7. package/dist/chunks/section-prominent-chalkboard-9f953d75.js +2771 -0
  8. package/dist/chunks/section-prominent-events-b575c56d.js +547 -0
  9. package/dist/chunks/section-prominent-main-cdb32eee.js +2752 -0
  10. package/dist/chunks/section-prominent-volumetric-7b2ffa59.js +785 -0
  11. package/dist/chunks/section-statistics-comparative-d01d4094.js +973 -0
  12. package/dist/chunks/section-statistics-distribution-8cc2a694.js +510 -0
  13. package/dist/chunks/section-statistics-main-285ee5a1.js +965 -0
  14. package/dist/chunks/section-statistics-trend-78efa2c0.js +844 -0
  15. package/dist/chunks/section-statistics-xg-8c02a83a.js +1554 -0
  16. package/dist/chunks/section-tactics-main-3c546d60.js +99 -0
  17. package/dist/chunks/section-video-main-4ee54fef.js +194 -0
  18. package/dist/chunks/shared-components-b34ee5c5.js +1501 -0
  19. package/dist/chunks/vendor-core-a1fbe4ec.js +79 -0
  20. package/dist/gsc-game-data.js +82 -23506
  21. package/dist/style.css +1 -1
  22. package/dist/style10.css +1 -0
  23. package/dist/style11.css +1 -0
  24. package/dist/style12.css +1 -0
  25. package/dist/style13.css +1 -0
  26. package/dist/style14.css +1 -0
  27. package/dist/style15.css +1 -0
  28. package/dist/style16.css +1 -0
  29. package/dist/style17.css +1 -0
  30. package/dist/style18.css +1 -0
  31. package/dist/style2.css +1 -0
  32. package/dist/style3.css +1 -0
  33. package/dist/style4.css +1 -0
  34. package/dist/style5.css +1 -0
  35. package/dist/style6.css +1 -0
  36. package/dist/style7.css +1 -0
  37. package/dist/style8.css +1 -0
  38. package/dist/style9.css +1 -0
  39. package/package.json +13 -11
  40. package/dist/gsc-game-data.umd.cjs +0 -1
package/README.md CHANGED
@@ -1,35 +1,90 @@
1
- # gsc-games-data
1
+ # @golstats/gsc-game-data
2
2
 
3
- This template should help get you started developing with Vue 3 in Vite.
3
+ Componente Vue para visualización de datos de juegos deportivos.
4
4
 
5
- ## Recommended IDE Setup
5
+ ## Instalación
6
6
 
7
- [VSCode](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=Vue.volar) (and disable Vetur) + [TypeScript Vue Plugin (Volar)](https://marketplace.visualstudio.com/items?itemName=Vue.vscode-typescript-vue-plugin).
7
+ ```bash
8
+ npm install @golstats/gsc-game-data
9
+ ```
8
10
 
9
- ## Customize configuration
11
+ ## Uso Básico
10
12
 
11
- See [Vite Configuration Reference](https://vitejs.dev/config/).
13
+ ```javascript
14
+ import { createApp } from 'vue'
15
+ import { createStore } from 'vuex'
16
+ import { GSCGameData, registerStoreModules } from '@golstats/gsc-game-data'
17
+ import '@golstats/gsc-game-data/style.css'
12
18
 
13
- ## Project Setup
19
+ // Crear store
20
+ const store = createStore({
21
+ // tu configuración de store
22
+ })
14
23
 
15
- ```sh
16
- npm install
17
- ```
24
+ // Registrar módulos necesarios
25
+ registerStoreModules(store)
18
26
 
19
- ### Compile and Hot-Reload for Development
27
+ // Crear aplicación
28
+ const app = createApp({
29
+ components: {
30
+ GSCGameData
31
+ },
32
+ template: `
33
+ <GSCGameData
34
+ :default-game-id="gameID"
35
+ :current-season-id="seasonID"
36
+ :sort-calendar="false"
37
+ :socket="socket"
38
+ />
39
+ `
40
+ })
20
41
 
21
- ```sh
22
- npm run dev
42
+ app.use(store)
43
+ app.mount('#app')
23
44
  ```
24
45
 
25
- ### Compile and Minify for Production
46
+ ## Importación de Componentes Individuales
26
47
 
27
- ```sh
28
- npm run build
48
+ Para mejorar el rendimiento, puedes importar componentes individuales:
49
+
50
+ ```javascript
51
+ // Importación bajo demanda
52
+ import { GSCGameData } from '@golstats/gsc-game-data'
53
+ import { StatisticsMain } from '@golstats/gsc-game-data/statistics'
54
+ import { GSCProminentMain } from '@golstats/gsc-game-data/prominent'
29
55
  ```
30
56
 
31
- ### Lint with [ESLint](https://eslint.org/)
57
+ ## Solución de Problemas
58
+
59
+ ### Error: _export_sfc4 is not a function
60
+
61
+ Si encuentras este error, asegúrate de estar usando la versión más reciente del paquete que incluye las correcciones para los helpers de Vue.
62
+
63
+ ### Error: Failed to resolve module specifier
64
+
65
+ Si encuentras errores de resolución de módulos, asegúrate de que las rutas de importación sean correctas:
32
66
 
33
- ```sh
34
- npm run lint
67
+ ```javascript
68
+ // Correcto
69
+ import { GSCGameData } from '@golstats/gsc-game-data'
70
+
71
+ // Incorrecto - no usar rutas relativas para importar el paquete
72
+ import { GSCGameData } from '../node_modules/@golstats/gsc-game-data'
35
73
  ```
74
+
75
+ ## Optimizaciones Implementadas
76
+
77
+ Esta versión incluye importantes optimizaciones:
78
+
79
+ 1. **Carga Modular**: Los componentes se cargan bajo demanda para reducir el tiempo de carga inicial
80
+ 2. **Exportaciones Nombradas**: Permite importar solo lo que necesitas
81
+ 3. **Preservación de Helpers**: Corrige problemas con los helpers de Vue en el bundle
82
+ 4. **Resolución de Rutas**: Mejora la compatibilidad con diferentes entornos de build
83
+
84
+ ## Scripts Disponibles
85
+
86
+ - `npm run dev`: Inicia el servidor de desarrollo
87
+ - `npm run build`: Construye el paquete para producción
88
+ - `npm run build:analyze`: Construye y analiza el tamaño del bundle
89
+ - `npm run preview`: Vista previa del paquete construido
90
+ - `npm run lint`: Ejecuta el linter
@@ -0,0 +1,130 @@
1
+ import { ref, watch, openBlock, createElementBlock, Fragment, createBlock, unref, createCommentVNode } from "vue";
2
+ import { GSCDataGames } from "@golstats/gsc-datagames";
3
+ import "./vendor-core-a1fbe4ec.js";
4
+ import { _ as _export_sfc } from "./section-comparative-main-6aa6f890.js";
5
+ import "./shared-components-b34ee5c5.js";
6
+ import "@golstats/gsc-tournament-select";
7
+ import "@golstats/gsc-season-select";
8
+ import "@golstats/gsc-calendar-by-game";
9
+ import "vuex";
10
+ import "./section-statistics-main-285ee5a1.js";
11
+ import "@golstats/gsc-menu";
12
+ import "@golstats/gsc-checkbox";
13
+ import "./section-statistics-trend-78efa2c0.js";
14
+ import "@golstats/gsc-radio-button";
15
+ import "./section-prominent-chalkboard-9f953d75.js";
16
+ import "@golstats/gsc-filters";
17
+ import "./section-prominent-volumetric-7b2ffa59.js";
18
+ import "axios";
19
+ import "@golstats/gsc-dropdown";
20
+ import "./section-statistics-comparative-d01d4094.js";
21
+ import "@golstats/gsc-slider";
22
+ import "./section-statistics-distribution-8cc2a694.js";
23
+ import "./section-statistics-xg-8c02a83a.js";
24
+ import "@golstats/gsc-switch-radio";
25
+ import "socket.io-client";
26
+ import "@golstats/gsc-filterperteam";
27
+ import "@golstats/gsc-button";
28
+ import "@golstats/gsc-carousel";
29
+ import "@golstats/gsc-label";
30
+ import "@golstats/gsc-switch-component";
31
+ const GSCDatosGSMain_vue_vue_type_style_index_0_scoped_b8306bed_lang = "";
32
+ const _hoisted_1 = { class: "datagame-container" };
33
+ const _sfc_main = {
34
+ __name: "GSCDatosGSMain",
35
+ props: {
36
+ isWidget: {
37
+ type: Boolean,
38
+ default: false
39
+ },
40
+ teamWidget: {
41
+ type: Number,
42
+ default: 0
43
+ },
44
+ game: {
45
+ type: Object,
46
+ default: () => ({
47
+ gameId: 79623,
48
+ seasonId: 1772,
49
+ status: 1,
50
+ dateTimeUTC: "2023-10-01T22:20:00Z",
51
+ homeTeam: {
52
+ logo: "https://golstatsimages.blob.core.windows.net/teams-80/18.png",
53
+ team_id: 10,
54
+ provisional_logo: "https://golstatsimages.blob.core.windows.net/teams-provisional/18.png",
55
+ colloquial_name: "Toluca",
56
+ acronym: "TOL",
57
+ team_name: "Toluca"
58
+ },
59
+ awayTeam: {
60
+ logo: "https://golstatsimages.blob.core.windows.net/teams-80/1.png",
61
+ team_id: 1,
62
+ provisional_logo: "https://golstatsimages.blob.core.windows.net/teams-provisional/1.png",
63
+ colloquial_name: "Chivas",
64
+ acronym: "CHI",
65
+ team_name: "Guadalajara"
66
+ }
67
+ })
68
+ },
69
+ playVideosPrivileges: {
70
+ type: Object,
71
+ default: null
72
+ }
73
+ },
74
+ emits: ["openmedia"],
75
+ setup(__props, { emit }) {
76
+ const props = __props;
77
+ const update = ref(0);
78
+ watch(
79
+ () => props.game,
80
+ (newValue) => {
81
+ update.value = newValue.gameId;
82
+ },
83
+ { deep: true, immediate: true }
84
+ );
85
+ function openmedia(objVR) {
86
+ emit("openmedia", objVR);
87
+ }
88
+ return (_ctx, _cache) => {
89
+ return openBlock(), createElementBlock("div", _hoisted_1, [
90
+ __props.game.game_status == 4 ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
91
+ Object.keys(__props.game).length > 0 ? (openBlock(), createBlock(unref(GSCDataGames), {
92
+ key: update.value,
93
+ type: 0,
94
+ "is-widget": __props.isWidget,
95
+ "team-widget": __props.teamWidget,
96
+ data: {
97
+ season: __props.game.seasonId,
98
+ game: __props.game.gameId,
99
+ home_team_id: __props.game.homeTeam.team_id,
100
+ away_team_id: __props.game.awayTeam.team_id,
101
+ team_view: 1
102
+ },
103
+ "play-videos-privileges": __props.playVideosPrivileges,
104
+ onOpenmedia: openmedia
105
+ }, null, 8, ["is-widget", "team-widget", "data", "play-videos-privileges"])) : createCommentVNode("", true)
106
+ ], 64)) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
107
+ Object.keys(__props.game).length > 0 ? (openBlock(), createBlock(unref(GSCDataGames), {
108
+ "is-widget": __props.isWidget,
109
+ "team-widget": __props.teamWidget,
110
+ key: update.value,
111
+ type: 1,
112
+ data: {
113
+ season: __props.game.seasonId,
114
+ game: __props.game.gameId,
115
+ home_team_id: __props.game.homeTeam.team_id,
116
+ away_team_id: __props.game.awayTeam.team_id,
117
+ team_view: 2
118
+ },
119
+ "play-videos-privileges": __props.playVideosPrivileges,
120
+ onOpenmedia: openmedia
121
+ }, null, 8, ["is-widget", "team-widget", "data", "play-videos-privileges"])) : createCommentVNode("", true)
122
+ ], 64))
123
+ ]);
124
+ };
125
+ }
126
+ };
127
+ const GSCDatosGSMain = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-b8306bed"]]);
128
+ export {
129
+ GSCDatosGSMain as default
130
+ };
@@ -0,0 +1,325 @@
1
+ import { openBlock, createElementBlock, createElementVNode, withModifiers, normalizeClass, Fragment, toDisplayString, renderList, createCommentVNode, pushScopeId, popScopeId } from "vue";
2
+ import { _ as _export_sfc } from "./section-comparative-main-6aa6f890.js";
3
+ import "./shared-components-b34ee5c5.js";
4
+ import "./vendor-core-a1fbe4ec.js";
5
+ import "@golstats/gsc-tournament-select";
6
+ import "@golstats/gsc-season-select";
7
+ import "@golstats/gsc-calendar-by-game";
8
+ import "vuex";
9
+ import "./section-statistics-main-285ee5a1.js";
10
+ import "@golstats/gsc-menu";
11
+ import "@golstats/gsc-checkbox";
12
+ import "./section-statistics-trend-78efa2c0.js";
13
+ import "@golstats/gsc-radio-button";
14
+ import "./section-prominent-chalkboard-9f953d75.js";
15
+ import "@golstats/gsc-filters";
16
+ import "./section-prominent-volumetric-7b2ffa59.js";
17
+ import "axios";
18
+ import "@golstats/gsc-dropdown";
19
+ import "./section-statistics-comparative-d01d4094.js";
20
+ import "@golstats/gsc-slider";
21
+ import "./section-statistics-distribution-8cc2a694.js";
22
+ import "./section-statistics-xg-8c02a83a.js";
23
+ import "@golstats/gsc-switch-radio";
24
+ import "socket.io-client";
25
+ import "@golstats/gsc-datagames";
26
+ import "@golstats/gsc-filterperteam";
27
+ import "@golstats/gsc-button";
28
+ import "@golstats/gsc-carousel";
29
+ import "@golstats/gsc-label";
30
+ import "@golstats/gsc-switch-component";
31
+ const ModalEventsLive_vue_vue_type_style_index_0_scoped_8dd09bf5_lang = "";
32
+ const _sfc_main = {
33
+ components: {},
34
+ props: {
35
+ width: {
36
+ type: Number,
37
+ default: 0
38
+ },
39
+ type: {
40
+ type: Number,
41
+ default: 0
42
+ },
43
+ plays: {
44
+ type: Object,
45
+ default: () => {
46
+ }
47
+ },
48
+ game: {
49
+ type: Object,
50
+ default: () => {
51
+ }
52
+ }
53
+ },
54
+ data() {
55
+ return {};
56
+ },
57
+ computed: {},
58
+ methods: {
59
+ handleOutsideClick() {
60
+ this.$emit("close-modal-events-live");
61
+ document.body.classList.remove("no-scroll");
62
+ }
63
+ },
64
+ created() {
65
+ document.body.classList.add("no-scroll");
66
+ }
67
+ };
68
+ const _withScopeId = (n) => (pushScopeId("data-v-8dd09bf5"), n = n(), popScopeId(), n);
69
+ const _hoisted_1 = { class: "home_team-events" };
70
+ const _hoisted_2 = { class: "home_team-events__title" };
71
+ const _hoisted_3 = ["src"];
72
+ const _hoisted_4 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("img", {
73
+ width: "13",
74
+ height: "13",
75
+ src: "https://golstatsimages.blob.core.windows.net/todoelfut/players-goals-con-goles.png"
76
+ }, null, -1));
77
+ const _hoisted_5 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("img", {
78
+ width: "13",
79
+ height: "13",
80
+ src: "https://golstatsimages.blob.core.windows.net/todoelfut/red_card.png"
81
+ }, null, -1));
82
+ const _hoisted_6 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("img", {
83
+ width: "13",
84
+ height: "13",
85
+ src: "https://golstatsimages.blob.core.windows.net/todoelfut/yellow_card.png"
86
+ }, null, -1));
87
+ const _hoisted_7 = { class: "away_team-events" };
88
+ const _hoisted_8 = { class: "away_team-events__title" };
89
+ const _hoisted_9 = ["src"];
90
+ const _hoisted_10 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("img", {
91
+ width: "13",
92
+ height: "13",
93
+ src: "https://golstatsimages.blob.core.windows.net/todoelfut/players-goals-con-goles.png"
94
+ }, null, -1));
95
+ const _hoisted_11 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("img", {
96
+ width: "13",
97
+ height: "13",
98
+ src: "https://golstatsimages.blob.core.windows.net/todoelfut/red_card.png"
99
+ }, null, -1));
100
+ const _hoisted_12 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("img", {
101
+ width: "13",
102
+ height: "13",
103
+ src: "https://golstatsimages.blob.core.windows.net/todoelfut/yellow_card.png"
104
+ }, null, -1));
105
+ const _hoisted_13 = { class: "home_team-events" };
106
+ const _hoisted_14 = { class: "home_team-events__title" };
107
+ const _hoisted_15 = ["src"];
108
+ const _hoisted_16 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("img", {
109
+ width: "13",
110
+ height: "13",
111
+ src: "https://golstatsimages.blob.core.windows.net/todoelfut/players-goals-con-goles.png"
112
+ }, null, -1));
113
+ const _hoisted_17 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("img", {
114
+ width: "13",
115
+ height: "13",
116
+ src: "https://golstatsimages.blob.core.windows.net/todoelfut/red_card.png"
117
+ }, null, -1));
118
+ const _hoisted_18 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("img", {
119
+ width: "13",
120
+ height: "13",
121
+ src: "https://golstatsimages.blob.core.windows.net/todoelfut/yellow_card.png"
122
+ }, null, -1));
123
+ const _hoisted_19 = { class: "away_team-events" };
124
+ const _hoisted_20 = { class: "away_team-events__title" };
125
+ const _hoisted_21 = ["src"];
126
+ const _hoisted_22 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("img", {
127
+ width: "13",
128
+ height: "13",
129
+ src: "https://golstatsimages.blob.core.windows.net/todoelfut/players-goals-con-goles.png"
130
+ }, null, -1));
131
+ const _hoisted_23 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("img", {
132
+ width: "13",
133
+ height: "13",
134
+ src: "https://golstatsimages.blob.core.windows.net/todoelfut/red_card.png"
135
+ }, null, -1));
136
+ const _hoisted_24 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("img", {
137
+ width: "13",
138
+ height: "13",
139
+ src: "https://golstatsimages.blob.core.windows.net/todoelfut/yellow_card.png"
140
+ }, null, -1));
141
+ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
142
+ return openBlock(), createElementBlock("div", null, [
143
+ createElementVNode("div", {
144
+ class: "modal-events",
145
+ onClick: _cache[2] || (_cache[2] = (...args) => $options.handleOutsideClick && $options.handleOutsideClick(...args))
146
+ }, [
147
+ createElementVNode("div", {
148
+ class: "modal-events__modal",
149
+ onClick: _cache[1] || (_cache[1] = withModifiers(() => {
150
+ }, ["stop"]))
151
+ }, [
152
+ Object.keys($props.plays).length > 0 ? (openBlock(), createElementBlock("div", {
153
+ key: 0,
154
+ class: normalizeClass($props.width > 540 ? "container-events" : $props.width > 420 ? "container-events-movil" : $props.width > 350 ? "container-events-movilxl" : "container-events-movilsm")
155
+ }, [
156
+ createElementVNode("button", {
157
+ class: "close-button",
158
+ onClick: _cache[0] || (_cache[0] = (...args) => $options.handleOutsideClick && $options.handleOutsideClick(...args))
159
+ }, "×"),
160
+ $props.type == 0 ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
161
+ createElementVNode("div", _hoisted_1, [
162
+ createElementVNode("div", _hoisted_2, [
163
+ createElementVNode("img", {
164
+ width: "24",
165
+ height: "24",
166
+ src: $props.plays[$props.game.home_team.team_id]["team"].logo
167
+ }, null, 8, _hoisted_3),
168
+ createElementVNode("div", null, toDisplayString($props.plays[$props.game.home_team.team_id]["team"].name), 1)
169
+ ]),
170
+ (openBlock(true), createElementBlock(Fragment, null, renderList(Object.keys($props.plays[$props.game.home_team.team_id]["goals"]), (key, index) => {
171
+ return openBlock(), createElementBlock("div", {
172
+ key: index,
173
+ class: normalizeClass($props.width > 420 ? "home_team-events__event" : "home_team-events__eventsm")
174
+ }, [
175
+ _hoisted_4,
176
+ createElementVNode("div", null, toDisplayString($props.plays[$props.game.home_team.team_id]["goals"][key].name), 1),
177
+ createElementVNode("div", null, toDisplayString($props.plays[$props.game.home_team.team_id]["goals"][key].event.map((num) => `${num}'`).join(", ")), 1)
178
+ ], 2);
179
+ }), 128)),
180
+ (openBlock(true), createElementBlock(Fragment, null, renderList(Object.keys($props.plays[$props.game.home_team.team_id]["red"]), (key, index) => {
181
+ return openBlock(), createElementBlock("div", {
182
+ key: index,
183
+ class: normalizeClass($props.width > 420 ? "home_team-events__event" : "home_team-events__eventsm")
184
+ }, [
185
+ _hoisted_5,
186
+ createElementVNode("div", null, toDisplayString($props.plays[$props.game.home_team.team_id]["red"][key].name), 1),
187
+ createElementVNode("div", null, toDisplayString($props.plays[$props.game.home_team.team_id]["red"][key].event.map((num) => `${num}'`).join(", ")), 1)
188
+ ], 2);
189
+ }), 128)),
190
+ (openBlock(true), createElementBlock(Fragment, null, renderList(Object.keys($props.plays[$props.game.home_team.team_id]["yellow"]), (key, index) => {
191
+ return openBlock(), createElementBlock("div", {
192
+ key: index,
193
+ class: normalizeClass($props.width > 420 ? "home_team-events__event" : "home_team-events__eventsm")
194
+ }, [
195
+ _hoisted_6,
196
+ createElementVNode("div", null, toDisplayString($props.plays[$props.game.home_team.team_id]["yellow"][key].name), 1),
197
+ createElementVNode("div", null, toDisplayString($props.plays[$props.game.home_team.team_id]["yellow"][key].event.map((num) => `${num}'`).join(", ")), 1)
198
+ ], 2);
199
+ }), 128))
200
+ ]),
201
+ createElementVNode("div", _hoisted_7, [
202
+ createElementVNode("div", _hoisted_8, [
203
+ createElementVNode("div", null, toDisplayString($props.plays[$props.game.visiting_team.team_id]["team"].name), 1),
204
+ createElementVNode("img", {
205
+ width: "24",
206
+ height: "24",
207
+ src: $props.plays[$props.game.visiting_team.team_id]["team"].logo
208
+ }, null, 8, _hoisted_9)
209
+ ]),
210
+ (openBlock(true), createElementBlock(Fragment, null, renderList(Object.keys($props.plays[$props.game.visiting_team.team_id]["goals"]), (key, index) => {
211
+ return openBlock(), createElementBlock("div", {
212
+ key: index,
213
+ class: normalizeClass($props.width > 420 ? "away_team-events__event" : "away_team-events__eventsm")
214
+ }, [
215
+ createElementVNode("div", null, toDisplayString($props.plays[$props.game.visiting_team.team_id]["goals"][key].event.map((num) => `${num}'`).join(", ")), 1),
216
+ createElementVNode("div", null, toDisplayString($props.plays[$props.game.visiting_team.team_id]["goals"][key].name), 1),
217
+ _hoisted_10
218
+ ], 2);
219
+ }), 128)),
220
+ (openBlock(true), createElementBlock(Fragment, null, renderList(Object.keys($props.plays[$props.game.visiting_team.team_id]["red"]), (key, index) => {
221
+ return openBlock(), createElementBlock("div", {
222
+ key: index,
223
+ class: normalizeClass($props.width > 420 ? "away_team-events__event" : "away_team-events__eventsm")
224
+ }, [
225
+ createElementVNode("div", null, toDisplayString($props.plays[$props.game.visiting_team.team_id]["red"][key].event.map((num) => `${num}'`).join(", ")), 1),
226
+ createElementVNode("div", null, toDisplayString($props.plays[$props.game.visiting_team.team_id]["red"][key].name), 1),
227
+ _hoisted_11
228
+ ], 2);
229
+ }), 128)),
230
+ (openBlock(true), createElementBlock(Fragment, null, renderList(Object.keys($props.plays[$props.game.visiting_team.team_id]["yellow"]), (key, index) => {
231
+ return openBlock(), createElementBlock("div", {
232
+ key: index,
233
+ class: normalizeClass($props.width > 420 ? "away_team-events__event" : "away_team-events__eventsm")
234
+ }, [
235
+ createElementVNode("div", null, toDisplayString($props.plays[$props.game.visiting_team.team_id]["yellow"][key].event.map((num) => `${num}'`).join(", ")), 1),
236
+ createElementVNode("div", null, toDisplayString($props.plays[$props.game.visiting_team.team_id]["yellow"][key].name), 1),
237
+ _hoisted_12
238
+ ], 2);
239
+ }), 128))
240
+ ])
241
+ ], 64)) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
242
+ createElementVNode("div", _hoisted_13, [
243
+ createElementVNode("div", _hoisted_14, [
244
+ createElementVNode("img", {
245
+ width: "24",
246
+ height: "24",
247
+ src: $props.plays.home_team.logo
248
+ }, null, 8, _hoisted_15),
249
+ createElementVNode("div", null, toDisplayString($props.plays.home_team.acronym), 1)
250
+ ]),
251
+ (openBlock(true), createElementBlock(Fragment, null, renderList($props.plays.plays.home_goals_minutes, (goal, key) => {
252
+ return openBlock(), createElementBlock("div", {
253
+ key,
254
+ class: normalizeClass($props.width > 420 ? "home_team-events__event" : "home_team-events__eventsm")
255
+ }, [
256
+ _hoisted_16,
257
+ createElementVNode("div", null, toDisplayString(goal), 1)
258
+ ], 2);
259
+ }), 128)),
260
+ (openBlock(true), createElementBlock(Fragment, null, renderList($props.plays.plays.home_red_cards_minutes, (red, key) => {
261
+ return openBlock(), createElementBlock("div", {
262
+ key,
263
+ class: normalizeClass($props.width > 420 ? "home_team-events__event" : "home_team-events__eventsm")
264
+ }, [
265
+ _hoisted_17,
266
+ createElementVNode("div", null, toDisplayString(red), 1)
267
+ ], 2);
268
+ }), 128)),
269
+ (openBlock(true), createElementBlock(Fragment, null, renderList($props.plays.plays.home_yellow_cards_minutes, (yellow, key) => {
270
+ return openBlock(), createElementBlock("div", {
271
+ key,
272
+ class: normalizeClass($props.width > 420 ? "home_team-events__event" : "home_team-events__eventsm")
273
+ }, [
274
+ _hoisted_18,
275
+ createElementVNode("div", null, toDisplayString(yellow), 1)
276
+ ], 2);
277
+ }), 128))
278
+ ]),
279
+ createElementVNode("div", _hoisted_19, [
280
+ createElementVNode("div", _hoisted_20, [
281
+ createElementVNode("div", null, toDisplayString($props.plays.visiting_team.acronym), 1),
282
+ createElementVNode("img", {
283
+ width: "24",
284
+ height: "24",
285
+ src: $props.plays.visiting_team.logo
286
+ }, null, 8, _hoisted_21)
287
+ ]),
288
+ (openBlock(true), createElementBlock(Fragment, null, renderList($props.plays.plays.visiting_goals_minutes, (goal, key) => {
289
+ return openBlock(), createElementBlock("div", {
290
+ key,
291
+ class: normalizeClass($props.width > 420 ? "away_team-events__event" : "away_team-events__eventsm")
292
+ }, [
293
+ createElementVNode("div", null, toDisplayString(goal), 1),
294
+ _hoisted_22
295
+ ], 2);
296
+ }), 128)),
297
+ (openBlock(true), createElementBlock(Fragment, null, renderList($props.plays.plays.away_red_cards_minutes, (red, key) => {
298
+ return openBlock(), createElementBlock("div", {
299
+ key,
300
+ class: normalizeClass($props.width > 420 ? "away_team-events__event" : "away_team-events__eventsm")
301
+ }, [
302
+ createElementVNode("div", null, toDisplayString(red), 1),
303
+ _hoisted_23
304
+ ], 2);
305
+ }), 128)),
306
+ (openBlock(true), createElementBlock(Fragment, null, renderList($props.plays.plays.away_yellow_cards_minutes, (yellow, key) => {
307
+ return openBlock(), createElementBlock("div", {
308
+ key,
309
+ class: normalizeClass($props.width > 420 ? "away_team-events__event" : "away_team-events__eventsm")
310
+ }, [
311
+ createElementVNode("div", null, toDisplayString(yellow), 1),
312
+ _hoisted_24
313
+ ], 2);
314
+ }), 128))
315
+ ])
316
+ ], 64))
317
+ ], 2)) : createCommentVNode("", true)
318
+ ])
319
+ ])
320
+ ]);
321
+ }
322
+ const ModalEventsLive = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-8dd09bf5"]]);
323
+ export {
324
+ ModalEventsLive as default
325
+ };