@golstats/gsc-lineups-reports 1.0.9 → 1.1.1

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 (49) hide show
  1. package/README.md +2 -2
  2. package/dist/css/fonts.css +91 -91
  3. package/dist/gsc-lineups-reports.css +1 -1
  4. package/dist/gsc-lineups-reports.es.js +3073 -2773
  5. package/dist/gsc-lineups-reports.umd.js +10 -7
  6. package/dist/images/canchaRPH.svg +30 -30
  7. package/dist/images/events/atajada.svg +56 -56
  8. package/dist/images/events/fin-del-partido.svg +43 -43
  9. package/dist/images/events/fuera-de-lugar.svg +57 -57
  10. package/dist/images/events/gol.svg +48 -48
  11. package/dist/images/events/icn-cambio.svg +6 -6
  12. package/dist/images/events/icn-falta.svg +4 -4
  13. package/dist/images/events/icn-play.svg +3 -3
  14. package/dist/images/events/icn-tarjeta-amarilla.svg +3 -3
  15. package/dist/images/events/icn-tarjeta-roja.svg +3 -3
  16. package/dist/images/events/icn-tiro-a-porteria.svg +36 -36
  17. package/dist/images/events/icn-tiros-de-esquina.svg +18 -18
  18. package/dist/images/events/inicia-el-partido.svg +45 -45
  19. package/dist/images/events/jugada-peligrosa.svg +90 -90
  20. package/dist/images/events/penal-fallado.svg +194 -194
  21. package/dist/images/events/penal-marcado.svg +189 -189
  22. package/dist/images/events/tiempo-agregado.svg +74 -74
  23. package/dist/images/events/tiro-a-porteria.svg +80 -80
  24. package/dist/images/events/var.svg +30 -30
  25. package/package.json +7 -3
  26. package/src/components/Lineup2D/CheckBox.vue +42 -42
  27. package/src/components/Lineup2D/FilterEmpty.vue +48 -48
  28. package/src/components/Lineup2D/Icons.vue +29 -29
  29. package/src/components/Lineup2D/LineupField.vue +274 -274
  30. package/src/components/Lineup2D/LineupFilter.vue +285 -285
  31. package/src/components/Lineup2D/LineupMainHeader.vue +222 -222
  32. package/src/components/Lineup2D/LineupRecentItem.vue +115 -110
  33. package/src/components/Lineup2D/MatchDetails.vue +66 -66
  34. package/src/components/gsc-filter.vue +286 -286
  35. package/src/components/gsc-header-historico-lineup.vue +1070 -1064
  36. package/src/components/gsc-header-postmatch-lineup.vue +1023 -1017
  37. package/src/components/gsc-header-probables-lineup.vue +1050 -1044
  38. package/src/components/gsc-header-recientes-lineup.vue +2343 -2337
  39. package/src/components/gsc-lineup-dosd.vue +3779 -3752
  40. package/src/components/gsc-lineup-main.vue +81 -65
  41. package/src/components/gsc-lineups-reports.vue +10 -0
  42. package/src/components/gsc-lineups.vue +95 -60
  43. package/src/components/gsc-player-card.vue +166 -166
  44. package/src/index.js +4 -4
  45. package/src/main-test.js +42 -0
  46. package/src/types.d.ts +45 -45
  47. package/src/utils/apiUrl.js +33 -0
  48. package/src/utils/imageUrl.js +30 -0
  49. package/src/utils/socketConnection.js +29 -29
@@ -1,2337 +1,2343 @@
1
- <template>
2
- <div :class="$style.headerSeccionAlineaciones">
3
- <div :class="headerSeccionAlineaciones1Class" id="header-desktop-full">
4
- <div :class="$style.groupsLeagueParent">
5
- <div :class="$style.groupsLeague">
6
- <span>Las alineaciones de este partido </span>
7
- <span :class="$style.anNoEstn">aún no están disponibles</span>
8
- <span>. Por lo pronto puedes ver alineaciones:</span>
9
- </div>
10
- <div :class="$style.switchStatesBig" id="switch-lineup">
11
- <GscSwitchComponent
12
- :buttons="['Historicos', 'Recientes', 'Probables']"
13
- :selectedOption="optionSelected"
14
- :type="1"
15
- width="600px"
16
- :arrow="false"
17
- borderRadius="32px"
18
- height="28px"
19
- fontSize="11px;"
20
- fontFamily="Poppins-Regular"
21
- border-width="1px"
22
- border-width-container="0.5px"
23
- backgroundOptionDisable="#162533"
24
- @input="clickOnSelectOption"
25
- />
26
- </div>
27
- </div>
28
- <div :class="$style.matchContainer" id="match-container">
29
- <div :class="$style.homeTeamContainer">
30
- <div :class="$style.teamContainer">
31
- <div :class="$style.imgHomeTeamWrapper">
32
- <img
33
- :class="$style.imgHomeTeamIcon"
34
- alt=""
35
- :src="
36
- 'https://golstatsimages.blob.core.windows.net/teams-80/' +
37
- gameInfo.home_team +
38
- '.png'
39
- "
40
- />
41
- </div>
42
- </div>
43
- <div :class="$style.name">{{ gameInfo.home_team_abbreviation }}</div>
44
- </div>
45
- <div :class="$style.teamSwitch" id="switch-team">
46
- <GSCSwitchRadio
47
- width="41px"
48
- height="20px"
49
- heightCircle="15px"
50
- widthCircle="15px"
51
- circle-color-switch="#cbee6b"
52
- :text-option-left="gameInfo.home_team_abbreviation"
53
- @change="changeSwitchRadio"
54
- :text-option-right="gameInfo.away_team_abbreviation"
55
- font-color="white"
56
- :value-default="teamSelect"
57
- :hidden-labels="true"
58
- />
59
- </div>
60
- <div :class="$style.awayTeamContainer">
61
- <div :class="$style.name">{{ gameInfo.away_team_abbreviation }}</div>
62
- <div :class="$style.teamContainer1">
63
- <div :class="$style.imgHomeTeamWrapper">
64
- <img
65
- :class="$style.imgHomeTeamIcon"
66
- alt=""
67
- :src="
68
- 'https://golstatsimages.blob.core.windows.net/teams-80/' +
69
- gameInfo.away_team +
70
- '.png'
71
- "
72
- />
73
- </div>
74
- </div>
75
- </div>
76
- </div>
77
-
78
- <div :class="$style.matchContainer1" id="match-info-container">
79
- <div :class="$style.btnFilterParent">
80
- <button :class="$style.btnFilter" id="btn-filters">
81
- <div :class="$style.sortParent" @click="openFilter">
82
- <img
83
- :class="$style.sortIcon"
84
- alt=""
85
- src="https://golstatsimages.blob.core.windows.net/todoelfut/lineups/icn-filter.svg"
86
- />
87
- <div :class="$style.filtros">Filtros</div>
88
- </div>
89
- <img
90
- :class="$style.shapeIcon"
91
- alt=""
92
- src="https://golstatsimages.blob.core.windows.net/todoelfut/lineups/icn-expand-arrow.svg"
93
- />
94
- <GSCFilter
95
- :item-select="filterObject"
96
- :is-open="openfiltervalue"
97
- @change="changeFiltersModal"
98
- :reset="vDeleteFilter"
99
- margin-modal="-83px"
100
- />
101
- </button>
102
- <GSCDropdown
103
- @click="clickOnValueFilter"
104
- v-if="gameRecientesFilter.length > 0"
105
- :key="keyUpdate"
106
- :default-item-by-prop="defaultDropItem"
107
- :class="$style.btnFilter1"
108
- id="btn-filters"
109
- :items="matchdaysFinal"
110
- @input="changeDropdown"
111
- height="32px"
112
- width="114px"
113
- background-color="rgba(255, 255, 255, 0.05);"
114
- color="white"
115
- border-width="1"
116
- borderColor="rgba(255, 255, 255, 0.2)"
117
- border-radius="0px"
118
- fontSize="10px"
119
- arrowHeight="16"
120
- :arrowWidth="16"
121
- listHeight="300px"
122
- listBackgroundColor="#243a4c"
123
- hoverBackgroundColor="#0d1d2a"
124
- listItemColor="#FFFFFF"
125
- listItemSelectedBackgroundColor="#0d1d2a"
126
- listItemSelectedColor="#c3e569"
127
- listItemPadding="8px 7px"
128
- listBorderColor="rgba(255, 255, 255, 0.1)"
129
- listBorderRadius="2px"
130
- >
131
- <template #default="data">
132
- <div class="selector-tournaments">{{ data.selectedItem.name }}</div>
133
- </template>
134
- <template #availableItem="{ item }">
135
- <div>{{ item.name }}</div>
136
- </template>
137
- </GSCDropdown>
138
- </div>
139
- <div :class="$style.match">
140
- <GSCCarousel
141
- @click="clickOnValueCarrousel"
142
- v-if="gameRecientesFilter.length > 0"
143
- :key="updateCarouselGames"
144
- :default-item-by-index="selectedIndexOption"
145
- :items="gameRecientesFilter"
146
- @input="changeCarouselItem"
147
- isMainSlidePriority
148
- areSlidesArrowsVisible
149
- :areNavigationArrowsVisible="false"
150
- slideLeftArrowBackgroundImage="none"
151
- slideRightArrowBackgroundImage="none"
152
- >
153
- <template #default="{ item }">
154
- <div :class="$style.selectoritem">
155
- <div :class="$style.homeTeam">
156
- <div :class="$style.teamContainer2">
157
- <div :class="$style.manchesterUnited">{{ item.home_team_abbreviation }}</div>
158
- <img
159
- :class="$style.imgHomeTeamIcon"
160
- alt=""
161
- :src="
162
- 'https://golstatsimages.blob.core.windows.net/teams-80/' +
163
- item.home_team +
164
- '.png'
165
- "
166
- />
167
- </div>
168
- </div>
169
- <div :class="$style.scoreContainer1">
170
- <div :class="$style.finalScore">
171
- <div :class="$style.div4" v-if="Object.keys(item).length > 0">
172
- {{ item.score[0] }}
173
- </div>
174
- <div :class="$style.div4">-</div>
175
- <div :class="$style.div4" v-if="Object.keys(item).length > 0">
176
- <template v-if="Array.isArray(item.score)">{{ item.score[1] }}</template>
177
- <template v-else>{{ item.score[4] }}</template>
178
- </div>
179
- </div>
180
- <div :class="$style.manchesterUnited1">
181
- <template v-if="item.home_team_abbreviation == teamSelect">
182
- <template v-if="item.home_match_result == 1">Ganado</template>
183
- <template v-if="item.home_match_result == 2">Perdido</template>
184
- <template v-if="item.home_match_result == 3">Empatado</template>
185
- </template>
186
- <template v-if="item.away_team_abbreviation == teamSelect">
187
- <template v-if="item.visiting_match_result == 1">Ganado</template>
188
- <template v-if="item.visiting_match_result == 2">Perdido</template>
189
- <template v-if="item.visiting_match_result == 3">Empatado</template>
190
- </template>
191
- </div>
192
- </div>
193
- <div :class="$style.homeTeam">
194
- <div :class="$style.teamContainer2">
195
- <img
196
- :class="$style.imgHomeTeamIcon"
197
- alt=""
198
- :src="
199
- 'https://golstatsimages.blob.core.windows.net/teams-80/' +
200
- item.away_team +
201
- '.png'
202
- "
203
- />
204
- <div :class="$style.manchesterUnited">{{ item.away_team_abbreviation }}</div>
205
- </div>
206
- </div>
207
- </div>
208
- </template>
209
- </GSCCarousel>
210
- <div v-else>
211
- <div :class="$style.containernofoundsearchrecientes">
212
- <div :class="$style.leyenddeleteshow">
213
- No hay resultados con los criterios<br />de búsqueda aplicados.
214
- </div>
215
- <div :class="$style.btndeletefilters" @click="deleteFilters">
216
- Eliminar filtros aplicados
217
- </div>
218
- </div>
219
- </div>
220
- <GSCMatchDetails
221
- style="margin-top: 30px"
222
- v-if="showDetails"
223
- :localDetails="localDetails"
224
- :foreignDetails="foreignDetails"
225
- />
226
- </div>
227
- <div :class="$style.btnDetails">
228
- <div :class="$style.manchesterUnited2" @click="clickShowDetails">
229
- <template v-if="showDetails">Ocultar detalles</template
230
- ><template v-else>Ver detalles</template>
231
- </div>
232
- </div>
233
- </div>
234
- </div>
235
- <div :class="headerSeccionAlineaciones2Class" id="header-desktop">
236
- <div :class="$style.groupsLeagueParent">
237
- <div :class="$style.groupsLeague">
238
- <span>Las alineaciones de este partido </span>
239
- <span :class="$style.anNoEstn">aún no están disponibles</span>
240
- <span>. Por lo pronto puedes ver alineaciones:</span>
241
- </div>
242
- <div :class="$style.switchStatesBig" id="switch-lineup">
243
- <GscSwitchComponent
244
- :buttons="['Historicos', 'Recientes', 'Probables']"
245
- :selectedOption="optionSelected"
246
- :type="1"
247
- width="600px"
248
- :arrow="false"
249
- borderRadius="32px"
250
- height="28px"
251
- fontSize="11px;"
252
- fontFamily="Poppins-Regular"
253
- border-width="1px"
254
- border-width-container="0.5px"
255
- backgroundOptionDisable="#162533"
256
- @input="clickOnSelectOption"
257
- />
258
- </div>
259
- </div>
260
- <div :class="$style.matchContainer" id="match-container">
261
- <div :class="$style.homeTeamContainer">
262
- <div :class="$style.teamContainer">
263
- <div :class="$style.imgHomeTeamWrapper">
264
- <img
265
- :class="$style.imgHomeTeamIcon"
266
- alt=""
267
- :src="
268
- 'https://golstatsimages.blob.core.windows.net/teams-80/' +
269
- gameInfo.home_team +
270
- '.png'
271
- "
272
- />
273
- </div>
274
- </div>
275
- <div :class="$style.name">{{ gameInfo.home_team_abbreviation }}</div>
276
- </div>
277
- <div :class="$style.teamSwitch" id="switch-team">
278
- <GSCSwitchRadio
279
- width="41px"
280
- height="20px"
281
- heightCircle="15px"
282
- widthCircle="15px"
283
- circle-color-switch="#cbee6b"
284
- :text-option-left="gameInfo.home_team_abbreviation"
285
- @change="changeSwitchRadio"
286
- :text-option-right="gameInfo.away_team_abbreviation"
287
- font-color="white"
288
- :value-default="teamSelect"
289
- :hidden-labels="true"
290
- />
291
- </div>
292
- <div :class="$style.awayTeamContainer">
293
- <div :class="$style.name">{{ gameInfo.away_team_abbreviation }}</div>
294
- <div :class="$style.teamContainer1">
295
- <div :class="$style.imgHomeTeamWrapper">
296
- <img
297
- :class="$style.imgHomeTeamIcon"
298
- alt=""
299
- :src="
300
- 'https://golstatsimages.blob.core.windows.net/teams-80/' +
301
- gameInfo.away_team +
302
- '.png'
303
- "
304
- />
305
- </div>
306
- </div>
307
- </div>
308
- </div>
309
-
310
- <div :class="$style.matchContainer3">
311
- <button :class="$style.btnFilter2" id="btn-filters">
312
- <div :class="$style.sortParent" @click="openFilter">
313
- <img
314
- :class="$style.sortIcon"
315
- alt=""
316
- src="https://golstatsimages.blob.core.windows.net/todoelfut/lineups/icn-filter1.svg"
317
- />
318
- <div :class="$style.filtros">Filtros</div>
319
- </div>
320
- <img
321
- :class="$style.shapeIcon"
322
- alt=""
323
- src="https://golstatsimages.blob.core.windows.net/todoelfut/lineups/icn-expand-arrow1.svg"
324
- />
325
- <GSCFilter
326
- :item-select="filterObject"
327
- :is-open="openfiltervalue"
328
- @change="changeFiltersModal"
329
- margin-modal="-99px"
330
- />
331
- </button>
332
- <GSCDropdown
333
- @click="clickOnValueFilter"
334
- v-if="gameRecientesFilter.length > 0"
335
- :key="keyUpdate"
336
- :default-item-by-prop="defaultDropItem"
337
- :class="$style.btnFilter1"
338
- id="btn-filters"
339
- :items="matchdaysFinal"
340
- @input="changeDropdown"
341
- height="32px"
342
- width="114px"
343
- background-color="rgba(255, 255, 255, 0.05);"
344
- color="white"
345
- border-width="1"
346
- borderColor="rgba(255, 255, 255, 0.2)"
347
- border-radius="0px"
348
- fontSize="10px"
349
- arrowHeight="16"
350
- :arrowWidth="16"
351
- listHeight="300px"
352
- listBackgroundColor="#243a4c"
353
- hoverBackgroundColor="#0d1d2a"
354
- listItemColor="#FFFFFF"
355
- listItemSelectedBackgroundColor="#0d1d2a"
356
- listItemSelectedColor="#c3e569"
357
- listItemPadding="8px 7px"
358
- listBorderColor="rgba(255, 255, 255, 0.1)"
359
- listBorderRadius="2px"
360
- >
361
- <template #default="data">
362
- <div class="selector-tournaments">{{ data.selectedItem.name }}</div>
363
- </template>
364
- <template #availableItem="{ item }">
365
- <div>{{ item.name }}</div>
366
- </template>
367
- </GSCDropdown>
368
- <div :class="$style.btnDetails1">
369
- <div :class="$style.manchesterUnited2" @click="clickShowDetails">
370
- <template v-if="showDetails">Ocultar detalles</template
371
- ><template v-else>Ver detalles</template>
372
- </div>
373
- </div>
374
- </div>
375
- <div :class="$style.matchContainer1" id="match-info-container">
376
- <div :class="$style.match1">
377
- <GSCCarousel
378
- v-if="gameRecientesFilter.length > 0"
379
- :items="gameRecientesFilter"
380
- :key="updateCarouselGames"
381
- :default-item-by-index="selectedIndexOption"
382
- @input="changeCarouselItem"
383
- isMainSlidePriority
384
- areSlidesArrowsVisible
385
- :areNavigationArrowsVisible="false"
386
- slideLeftArrowBackgroundImage="none"
387
- slideRightArrowBackgroundImage="none"
388
- >
389
- <template #default="{ item }">
390
- <div :class="$style.selectoritem">
391
- <div :class="$style.homeTeam">
392
- <div :class="$style.teamContainer2">
393
- <div :class="$style.manchesterUnited">{{ item.home_team_abbreviation }}</div>
394
- <img
395
- :class="$style.imgHomeTeamIcon"
396
- alt=""
397
- :src="
398
- 'https://golstatsimages.blob.core.windows.net/teams-80/' +
399
- item.home_team +
400
- '.png'
401
- "
402
- />
403
- </div>
404
- </div>
405
- <div :class="$style.scoreContainer1">
406
- <div :class="$style.finalScore">
407
- <div :class="$style.div4" v-if="Object.keys(item).length > 0">
408
- {{ item.score[0] }}
409
- </div>
410
- <div :class="$style.div4">-</div>
411
- <div :class="$style.div4" v-if="Object.keys(item).length > 0">
412
- <template v-if="Array.isArray(item.score)">{{ item.score[1] }}</template>
413
- <template v-else>{{ item.score[4] }}</template>
414
- </div>
415
- </div>
416
- <div :class="$style.manchesterUnited1">
417
- <template v-if="item.home_team_abbreviation == teamSelect">
418
- <template v-if="item.home_match_result == 1">Ganado</template>
419
- <template v-if="item.home_match_result == 2">Perdido</template>
420
- <template v-if="item.home_match_result == 3">Empatado</template>
421
- </template>
422
- <template v-if="item.away_team_abbreviation == teamSelect">
423
- <template v-if="item.visiting_match_result == 1">Ganado</template>
424
- <template v-if="item.visiting_match_result == 2">Perdido</template>
425
- <template v-if="item.visiting_match_result == 3">Empatado</template>
426
- </template>
427
- </div>
428
- </div>
429
- <div :class="$style.homeTeam">
430
- <div :class="$style.teamContainer2">
431
- <img
432
- :class="$style.imgHomeTeamIcon"
433
- alt=""
434
- :src="
435
- 'https://golstatsimages.blob.core.windows.net/teams-80/' +
436
- item.away_team +
437
- '.png'
438
- "
439
- />
440
- <div :class="$style.manchesterUnited">{{ item.away_team_abbreviation }}</div>
441
- </div>
442
- </div>
443
- </div>
444
- </template>
445
- </GSCCarousel>
446
- <div v-else>
447
- <div :class="$style.containernofoundsearchrecientes">
448
- <div :class="$style.leyenddeleteshow">
449
- No hay resultados con los criterios<br />de búsqueda aplicados.
450
- </div>
451
- <div :class="$style.btndeletefilters" @click="deleteFilters">
452
- Eliminar filtros aplicados
453
- </div>
454
- </div>
455
- </div>
456
- <GSCMatchDetails
457
- style="margin-top: 30px"
458
- v-if="showDetails"
459
- :localDetails="localDetails"
460
- :foreignDetails="foreignDetails"
461
- />
462
- </div>
463
- </div>
464
- </div>
465
- <div :class="headerSeccionAlineaciones3Class" id="header-mobile">
466
- <div :class="$style.switchStatesBig2" id="switch-lineup">
467
- <GscSwitchComponent
468
- :buttons="['Historicos', 'Recientes', 'Probables']"
469
- :selectedOption="optionSelected"
470
- :type="1"
471
- width="600px"
472
- :arrow="false"
473
- borderRadius="32px"
474
- height="28px"
475
- fontSize="11px;"
476
- fontFamily="Poppins-Regular"
477
- border-width="1px"
478
- border-width-container="0.5px"
479
- backgroundOptionDisable="#162533"
480
- @input="clickOnSelectOption"
481
- />
482
- </div>
483
- <div :class="$style.containerData">
484
- <div :class="$style.manchesterUnited26">Alineación utilizada en:</div>
485
- <div :class="$style.matchContainer5" id="match-container">
486
- <div :class="$style.homeTeamContainer2">
487
- <div :class="$style.teamContainer">
488
- <div :class="$style.imgHomeTeamWrapper">
489
- <img
490
- :class="$style.imgHomeTeamIcon"
491
- alt=""
492
- :src="
493
- 'https://golstatsimages.blob.core.windows.net/teams-80/' +
494
- gameInfo.home_team +
495
- '.png'
496
- "
497
- />
498
- </div>
499
- </div>
500
- <div :class="$style.name">{{ gameInfo.home_team_abbreviation }}</div>
501
- </div>
502
- <div :class="$style.teamSwitch" id="switch-team">
503
- <GSCSwitchRadio
504
- width="41px"
505
- height="20px"
506
- heightCircle="15px"
507
- widthCircle="15px"
508
- circle-color-switch="#cbee6b"
509
- :text-option-left="gameInfo.home_team_abbreviation"
510
- @change="changeSwitchRadio"
511
- :text-option-right="gameInfo.away_team_abbreviation"
512
- font-color="white"
513
- :value-default="teamSelect"
514
- :hidden-labels="true"
515
- />
516
- </div>
517
- <div :class="$style.homeTeamContainer2">
518
- <div :class="$style.name">{{ gameInfo.away_team_abbreviation }}</div>
519
- <div :class="$style.teamContainer1">
520
- <div :class="$style.imgHomeTeamWrapper">
521
- <img
522
- :class="$style.imgHomeTeamIcon"
523
- alt=""
524
- :src="
525
- 'https://golstatsimages.blob.core.windows.net/teams-80/' +
526
- gameInfo.away_team +
527
- '.png'
528
- "
529
- />
530
- </div>
531
- </div>
532
- </div>
533
- </div>
534
- <div :class="$style.filtersContainer">
535
- <button :class="$style.btnFilter4" id="btn-filters">
536
- <div :class="$style.sortParent" @click="openFilter">
537
- <img
538
- :class="$style.sortIcon"
539
- alt=""
540
- src="https://golstatsimages.blob.core.windows.net/todoelfut/lineups/icn-filter2.svg"
541
- />
542
- <div :class="$style.filtros2">Filtros</div>
543
- </div>
544
- <img
545
- :class="$style.shapeIcon"
546
- alt=""
547
- src="https://golstatsimages.blob.core.windows.net/todoelfut/lineups/icn-arrow-expand.svg"
548
- />
549
- <GSCFilter
550
- :item-select="filterObject"
551
- :is-open="openfiltervalue"
552
- @change="changeFiltersModal"
553
- margin-modal="-75px"
554
- />
555
- </button>
556
- <GSCDropdown
557
- @click="clickOnValueFilter"
558
- v-if="gameRecientesFilter.length > 0"
559
- :key="keyUpdate"
560
- :default-item-by-prop="defaultDropItem"
561
- :class="$style.filterMatchday"
562
- id="menu-matchday"
563
- :items="matchdaysFinal"
564
- @input="changeDropdown"
565
- height="25px"
566
- width="100px"
567
- background-color="rgba(255, 255, 255, 0.05);"
568
- color="white"
569
- border-width="1"
570
- borderColor="rgba(255, 255, 255, 0.2)"
571
- border-radius="0px"
572
- fontSize="10px"
573
- arrowHeight="16"
574
- :arrowWidth="16"
575
- listHeight="300px"
576
- listBackgroundColor="#243a4c"
577
- hoverBackgroundColor="#0d1d2a"
578
- listItemColor="#FFFFFF"
579
- listItemSelectedBackgroundColor="#0d1d2a"
580
- listItemSelectedColor="#c3e569"
581
- listItemPadding="8px 7px"
582
- listBorderColor="rgba(255, 255, 255, 0.1)"
583
- listBorderRadius="2px"
584
- >
585
- <template #default="data">
586
- <div class="selector-tournaments">{{ data.selectedItem.name }}</div>
587
- </template>
588
- <template #availableItem="{ item }">
589
- <div>{{ item.name }}</div>
590
- </template>
591
- </GSCDropdown>
592
- <div :class="$style.btnDetails2">
593
- <div :class="$style.manchesterUnited2" @click="clickShowDetails">
594
- <template v-if="showDetails">Ocultar detalles</template
595
- ><template v-else>Ver detalles</template>
596
- </div>
597
- </div>
598
- </div>
599
- <div :class="$style.matchDetailContainer">
600
- <div :class="$style.matchContainer6" id="match-info-container">
601
- <div :class="$style.match">
602
- <GSCCarousel
603
- v-if="gameRecientesFilter.length > 0"
604
- :key="updateCarouselGames"
605
- :default-item-by-index="selectedIndexOption"
606
- :items="gameRecientesFilter"
607
- @input="changeCarouselItem"
608
- isMainSlidePriority
609
- areSlidesArrowsVisible
610
- :areNavigationArrowsVisible="false"
611
- slideLeftArrowBackgroundImage="none"
612
- slideRightArrowBackgroundImage="none"
613
- >
614
- <template #default="{ item }">
615
- <div :class="$style.selectoritem">
616
- <div :class="$style.homeTeam">
617
- <div :class="$style.teamContainer2">
618
- <div :class="$style.manchesterUnited">
619
- {{ item.home_team_abbreviation }}
620
- </div>
621
- <img
622
- :class="$style.imgHomeTeamIcon"
623
- alt=""
624
- :src="
625
- 'https://golstatsimages.blob.core.windows.net/teams-80/' +
626
- item.home_team +
627
- '.png'
628
- "
629
- />
630
- </div>
631
- </div>
632
- <div :class="$style.scoreContainer1">
633
- <div :class="$style.finalScore">
634
- <div :class="$style.div4" v-if="Object.keys(item).length > 0">
635
- {{ item.score[0] }}
636
- </div>
637
- <div :class="$style.div4">-</div>
638
- <div :class="$style.div4" v-if="Object.keys(item).length > 0">
639
- <template v-if="Array.isArray(item.score)">{{ item.score[1] }}</template>
640
- <template v-else>{{ item.score[4] }}</template>
641
- </div>
642
- </div>
643
- <div :class="$style.manchesterUnited1">
644
- <template v-if="item.home_team_abbreviation == teamSelect">
645
- <template v-if="item.home_match_result == 1">Ganado</template>
646
- <template v-if="item.home_match_result == 2">Perdido</template>
647
- <template v-if="item.home_match_result == 3">Empatado</template>
648
- </template>
649
- <template v-if="item.away_team_abbreviation == teamSelect">
650
- <template v-if="item.visiting_match_result == 1">Ganado</template>
651
- <template v-if="item.visiting_match_result == 2">Perdido</template>
652
- <template v-if="item.visiting_match_result == 3">Empatado</template>
653
- </template>
654
- </div>
655
- </div>
656
- <div :class="$style.homeTeam">
657
- <div :class="$style.teamContainer2">
658
- <img
659
- :class="$style.imgHomeTeamIcon"
660
- alt=""
661
- :src="
662
- 'https://golstatsimages.blob.core.windows.net/teams-80/' +
663
- item.away_team +
664
- '.png'
665
- "
666
- />
667
- <div :class="$style.manchesterUnited">
668
- {{ item.away_team_abbreviation }}
669
- </div>
670
- </div>
671
- </div>
672
- </div>
673
- </template>
674
- </GSCCarousel>
675
- <div v-else>
676
- <div :class="$style.containernofoundsearchrecientes">
677
- <div :class="$style.leyenddeleteshow">
678
- No hay resultados con los criterios<br />de búsqueda aplicados.
679
- </div>
680
- <div :class="$style.btndeletefilters" @click="deleteFilters">
681
- Eliminar filtros aplicados
682
- </div>
683
- </div>
684
- </div>
685
- <GSCMatchDetails
686
- style="margin-top: 30px"
687
- v-if="showDetails"
688
- :localDetails="localDetails"
689
- :foreignDetails="foreignDetails"
690
- />
691
- </div>
692
- </div>
693
- </div>
694
- </div>
695
- </div>
696
- </div>
697
- </template>
698
-
699
- <script>
700
- import { GSCDropdown } from '@golstats/gsc-dropdown'
701
- import '@@/@golstats/gsc-dropdown/dist/style.css'
702
- import '@@/@golstats/gsc-carousel/dist/style.css'
703
- import { GSCCarousel } from '@golstats/gsc-carousel'
704
- import { GscSwitchComponent } from '@golstats/gsc-switch-component'
705
- import '@@/@golstats/gsc-switch-component/dist/style.css'
706
- import GSCFilter from './gsc-filter.vue'
707
- import GSCMatchDetails from './Lineup2D/MatchDetails.vue'
708
- import { GSCSwitchRadio } from '@golstats/gsc-switch-radio'
709
- import '@@/@golstats/gsc-switch-radio/dist/style.css'
710
- export default {
711
- components: {
712
- GSCCarousel,
713
- GscSwitchComponent,
714
- GSCDropdown,
715
- GSCFilter,
716
- GSCSwitchRadio,
717
- GSCMatchDetails,
718
- },
719
- props: {
720
- widthSize: {
721
- type: Number,
722
- default: 0,
723
- },
724
- optionSelected: {
725
- type: String,
726
- default: 'Historicos',
727
- },
728
- selectedOption: {
729
- type: String,
730
- default: 'Historicos',
731
- },
732
- gameInfo: {
733
- type: Object,
734
- default: () => {},
735
- },
736
- gameRecientes: {
737
- type: Array,
738
- default: () => [],
739
- },
740
- matchdaysDefault: {
741
- type: Array,
742
- default: () => [],
743
- },
744
- },
745
- watch: {
746
- optionSelected: {
747
- immediate: true,
748
- handler: async function (newValue) {
749
- if (newValue == 'Recientes') {
750
- this.auxISsection = 1
751
- }
752
- },
753
- },
754
- gameInfo: {
755
- immediate: true,
756
- handler: async function (newValue) {
757
- try {
758
- this.teamSelect = newValue.home_team_abbreviation
759
- this.matchFilter()
760
- } catch (e) {
761
- throw new Error(e)
762
- }
763
- },
764
- },
765
- gameRecientes: {
766
- immediate: true,
767
- handler: async function (newValue) {
768
- this.matchFilter()
769
- },
770
- },
771
- },
772
- data() {
773
- return {
774
- playminutes: [],
775
- showDetails: false,
776
- teamSelect: '',
777
- defaultDropItem: {},
778
- updateCarouselGames: 0,
779
- valLast: {},
780
- selectedIndexOption: 0,
781
- openfiltervalue: false,
782
- vDeleteFilter: false,
783
- filterObject: {},
784
- coutChange: 0,
785
- auxISsection: 0,
786
- matchdaysFiltersUpdate: [],
787
- gamesFiltersUpdate: [],
788
- localDetails: [],
789
- keyUpdate: 0,
790
- foreignDetails: [],
791
- }
792
- },
793
- computed: {
794
- matchdaysFinal() {
795
- var matchdaysFinal = []
796
- if (typeof this.filterObject.selectedFilterResults !== 'undefined') {
797
- if (Object.keys(this.filterObject.selectedFilterResults).length != 3) {
798
- if (Object.keys(this.filterObject.selectedFilterResults).length == 2) {
799
- if (
800
- Object.values(this.filterObject.selectedFilterResults).includes('win') &&
801
- Object.values(this.filterObject.selectedFilterResults).includes('draw')
802
- ) {
803
- for (let index = 0; index < this.matchdaysFiltersUpdate.length; index++) {
804
- if (this.matchdaysFiltersUpdate[index].match_result == 1) {
805
- matchdaysFinal.push(this.matchdaysFiltersUpdate[index])
806
- }
807
- }
808
- for (let index = 0; index < this.matchdaysFiltersUpdate.length; index++) {
809
- if (this.matchdaysFiltersUpdate[index].match_result == 3) {
810
- matchdaysFinal.push(this.matchdaysFiltersUpdate[index])
811
- }
812
- }
813
- }
814
- if (
815
- Object.values(this.filterObject.selectedFilterResults).includes('win') &&
816
- Object.values(this.filterObject.selectedFilterResults).includes('lose')
817
- ) {
818
- for (let index = 0; index < this.matchdaysFiltersUpdate.length; index++) {
819
- if (this.matchdaysFiltersUpdate[index].match_result == 1) {
820
- matchdaysFinal.push(this.matchdaysFiltersUpdate[index])
821
- }
822
- }
823
- for (let index = 0; index < this.matchdaysFiltersUpdate.length; index++) {
824
- if (this.matchdaysFiltersUpdate[index].match_result == 2) {
825
- matchdaysFinal.push(this.matchdaysFiltersUpdate[index])
826
- }
827
- }
828
- }
829
- if (
830
- Object.values(this.filterObject.selectedFilterResults).includes('lose') &&
831
- Object.values(this.filterObject.selectedFilterResults).includes('draw')
832
- ) {
833
- for (let index = 0; index < this.matchdaysFiltersUpdate.length; index++) {
834
- if (this.matchdaysFiltersUpdate[index].match_result == 3) {
835
- matchdaysFinal.push(this.matchdaysFiltersUpdate[index])
836
- }
837
- }
838
- for (let index = 0; index < this.matchdaysFiltersUpdate.length; index++) {
839
- if (this.matchdaysFiltersUpdate[index].match_result == 2) {
840
- matchdaysFinal.push(this.matchdaysFiltersUpdate[index])
841
- }
842
- }
843
- }
844
- } else {
845
- if (this.filterObject.selectedFilterResults[0] == 'win') {
846
- for (let index = 0; index < this.matchdaysFiltersUpdate.length; index++) {
847
- if (this.matchdaysFiltersUpdate[index].match_result == 1) {
848
- matchdaysFinal.push(this.matchdaysFiltersUpdate[index])
849
- }
850
- }
851
- }
852
- if (this.filterObject.selectedFilterResults[0] == 'lose') {
853
- for (let index = 0; index < this.matchdaysFiltersUpdate.length; index++) {
854
- if (this.matchdaysFiltersUpdate[index].match_result == 2) {
855
- matchdaysFinal.push(this.matchdaysFiltersUpdate[index])
856
- }
857
- }
858
- }
859
- if (this.filterObject.selectedFilterResults[0] == 'draw') {
860
- for (let index = 0; index < this.matchdaysFiltersUpdate.length; index++) {
861
- if (this.matchdaysFiltersUpdate[index].match_result == 3) {
862
- matchdaysFinal.push(this.matchdaysFiltersUpdate[index])
863
- }
864
- }
865
- }
866
- }
867
- } else {
868
- for (let index = 0; index < this.matchdaysFiltersUpdate.length; index++) {
869
- matchdaysFinal.push(this.matchdaysFiltersUpdate[index])
870
- }
871
- }
872
- } else {
873
- for (let index = 0; index < this.matchdaysFiltersUpdate.length; index++) {
874
- matchdaysFinal.push(this.matchdaysFiltersUpdate[index])
875
- }
876
- }
877
- matchdaysFinal.sort((a, b) => b.id - a.id)
878
- return matchdaysFinal
879
- },
880
- gameRecientesFilter() {
881
- var gameFilterFinal = []
882
- if (typeof this.filterObject.selectedFilterResults !== 'undefined') {
883
- if (Object.keys(this.filterObject.selectedFilterResults).length != 3) {
884
- if (Object.keys(this.filterObject.selectedFilterResults).length == 2) {
885
- if (
886
- Object.values(this.filterObject.selectedFilterResults).includes('win') &&
887
- Object.values(this.filterObject.selectedFilterResults).includes('draw')
888
- ) {
889
- for (let index = 0; index < this.gamesFiltersUpdate.length; index++) {
890
- if (
891
- (this.gamesFiltersUpdate[index].away_team_abbreviation == this.teamSelect &&
892
- this.gamesFiltersUpdate[index].visiting_match_result == 1) ||
893
- (this.gamesFiltersUpdate[index].home_team_abbreviation == this.teamSelect &&
894
- this.gamesFiltersUpdate[index].home_match_result == 1)
895
- ) {
896
- gameFilterFinal.push(this.gamesFiltersUpdate[index])
897
- }
898
- }
899
- for (let index = 0; index < this.gamesFiltersUpdate.length; index++) {
900
- if (
901
- (this.gamesFiltersUpdate[index].away_team_abbreviation == this.teamSelect &&
902
- this.gamesFiltersUpdate[index].visiting_match_result == 3) ||
903
- (this.gamesFiltersUpdate[index].home_team_abbreviation == this.teamSelect &&
904
- this.gamesFiltersUpdate[index].home_match_result == 3)
905
- ) {
906
- gameFilterFinal.push(this.gamesFiltersUpdate[index])
907
- }
908
- }
909
- }
910
- if (
911
- Object.values(this.filterObject.selectedFilterResults).includes('win') &&
912
- Object.values(this.filterObject.selectedFilterResults).includes('lose')
913
- ) {
914
- for (let index = 0; index < this.gamesFiltersUpdate.length; index++) {
915
- if (
916
- (this.gamesFiltersUpdate[index].away_team_abbreviation == this.teamSelect &&
917
- this.gamesFiltersUpdate[index].visiting_match_result == 1) ||
918
- (this.gamesFiltersUpdate[index].home_team_abbreviation == this.teamSelect &&
919
- this.gamesFiltersUpdate[index].home_match_result == 1)
920
- ) {
921
- gameFilterFinal.push(this.gamesFiltersUpdate[index])
922
- }
923
- }
924
- for (let index = 0; index < this.gamesFiltersUpdate.length; index++) {
925
- if (
926
- (this.gamesFiltersUpdate[index].away_team_abbreviation == this.teamSelect &&
927
- this.gamesFiltersUpdate[index].visiting_match_result == 2) ||
928
- (this.gamesFiltersUpdate[index].home_team_abbreviation == this.teamSelect &&
929
- this.gamesFiltersUpdate[index].home_match_result == 2)
930
- ) {
931
- gameFilterFinal.push(this.gamesFiltersUpdate[index])
932
- }
933
- }
934
- }
935
- if (
936
- Object.values(this.filterObject.selectedFilterResults).includes('lose') &&
937
- Object.values(this.filterObject.selectedFilterResults).includes('draw')
938
- ) {
939
- for (let index = 0; index < this.gamesFiltersUpdate.length; index++) {
940
- if (
941
- (this.gamesFiltersUpdate[index].away_team_abbreviation == this.teamSelect &&
942
- this.gamesFiltersUpdate[index].visiting_match_result == 3) ||
943
- (this.gamesFiltersUpdate[index].home_team_abbreviation == this.teamSelect &&
944
- this.gamesFiltersUpdate[index].home_match_result == 3)
945
- ) {
946
- gameFilterFinal.push(this.gamesFiltersUpdate[index])
947
- }
948
- }
949
- for (let index = 0; index < this.gamesFiltersUpdate.length; index++) {
950
- if (
951
- (this.gamesFiltersUpdate[index].away_team_abbreviation == this.teamSelect &&
952
- this.gamesFiltersUpdate[index].visiting_match_result == 2) ||
953
- (this.gamesFiltersUpdate[index].home_team_abbreviation == this.teamSelect &&
954
- this.gamesFiltersUpdate[index].home_match_result == 2)
955
- ) {
956
- gameFilterFinal.push(this.gamesFiltersUpdate[index])
957
- }
958
- }
959
- }
960
- } else {
961
- if (this.filterObject.selectedFilterResults[0] == 'win') {
962
- for (let index = 0; index < this.matchdaysFiltersUpdate.length; index++) {
963
- if (
964
- (this.gamesFiltersUpdate[index].away_team_abbreviation == this.teamSelect &&
965
- this.gamesFiltersUpdate[index].visiting_match_result == 1) ||
966
- (this.gamesFiltersUpdate[index].home_team_abbreviation == this.teamSelect &&
967
- this.gamesFiltersUpdate[index].home_match_result == 1)
968
- ) {
969
- gameFilterFinal.push(this.gamesFiltersUpdate[index])
970
- }
971
- }
972
- }
973
- if (this.filterObject.selectedFilterResults[0] == 'lose') {
974
- for (let index = 0; index < this.matchdaysFiltersUpdate.length; index++) {
975
- if (
976
- (this.gamesFiltersUpdate[index].away_team_abbreviation == this.teamSelect &&
977
- this.gamesFiltersUpdate[index].visiting_match_result == 2) ||
978
- (this.gamesFiltersUpdate[index].home_team_abbreviation == this.teamSelect &&
979
- this.gamesFiltersUpdate[index].home_match_result == 2)
980
- ) {
981
- gameFilterFinal.push(this.gamesFiltersUpdate[index])
982
- }
983
- }
984
- }
985
- if (this.filterObject.selectedFilterResults[0] == 'draw') {
986
- for (let index = 0; index < this.matchdaysFiltersUpdate.length; index++) {
987
- if (
988
- (this.gamesFiltersUpdate[index].away_team_abbreviation == this.teamSelect &&
989
- this.gamesFiltersUpdate[index].visiting_match_result == 3) ||
990
- (this.gamesFiltersUpdate[index].home_team_abbreviation == this.teamSelect &&
991
- this.gamesFiltersUpdate[index].home_match_result == 3)
992
- ) {
993
- gameFilterFinal.push(this.gamesFiltersUpdate[index])
994
- }
995
- }
996
- }
997
- }
998
- } else {
999
- for (let index = 0; index < this.gamesFiltersUpdate.length; index++) {
1000
- gameFilterFinal.push(this.gamesFiltersUpdate[index])
1001
- }
1002
- }
1003
- } else {
1004
- for (let index = 0; index < this.gamesFiltersUpdate.length; index++) {
1005
- gameFilterFinal.push(this.gamesFiltersUpdate[index])
1006
- }
1007
- }
1008
- gameFilterFinal.sort((a, b) => a.matchday_id - b.matchday_id)
1009
- return gameFilterFinal
1010
- },
1011
- headerSeccionAlineaciones1Class() {
1012
- const width = this.widthSize
1013
- if (width <= 420) {
1014
- return this.$style.headerSeccionAlineaciones1420
1015
- } else if (width <= 880) {
1016
- return this.$style.headerSeccionAlineaciones1880
1017
- } else if (width <= 1200) {
1018
- return this.$style.headerSeccionAlineaciones11200
1019
- } else {
1020
- return this.$style.headerSeccionAlineaciones1
1021
- }
1022
- },
1023
- headerSeccionAlineaciones2Class() {
1024
- const width = this.widthSize
1025
- if (width <= 420) {
1026
- return this.$style.headerSeccionAlineaciones2420
1027
- } else if (width <= 540) {
1028
- return this.$style.headerSeccionAlineaciones2540
1029
- } else if (width <= 880) {
1030
- return this.$style.headerSeccionAlineaciones2880
1031
- } else if (width <= 1200) {
1032
- return this.$style.headerSeccionAlineaciones21200
1033
- } else {
1034
- return this.$style.headerSeccionAlineaciones2
1035
- }
1036
- },
1037
- headerSeccionAlineaciones3Class() {
1038
- const width = this.widthSize
1039
- if (width <= 420) {
1040
- return this.$style.headerSeccionAlineaciones3420
1041
- } else if (width <= 540) {
1042
- return this.$style.headerSeccionAlineaciones3540
1043
- } else if (width <= 880) {
1044
- return this.$style.headerSeccionAlineaciones3880
1045
- } else if (width <= 1200) {
1046
- return this.$style.headerSeccionAlineaciones31200
1047
- } else {
1048
- return this.$style.headerSeccionAlineaciones3
1049
- }
1050
- },
1051
- },
1052
- methods: {
1053
- clickOnValueFilter() {
1054
- this.auxISsection = 0
1055
- },
1056
- clickOnValueCarrousel() {
1057
- this.auxISsection = 0
1058
- },
1059
- deleteFilters() {
1060
- this.vDeleteFilter = true
1061
-
1062
- setTimeout(() => {
1063
- this.vDeleteFilter = false
1064
- }, 200)
1065
- },
1066
- clickShowDetails() {
1067
- this.showDetails = !this.showDetails
1068
- },
1069
- matchFilter() {
1070
- var matchdayFilter = []
1071
- var gameFilter = []
1072
- if (Object.keys(this.filterObject).length > 0) {
1073
- if (Object.keys(this.filterObject.selectedFilterTeam).length != 2) {
1074
- for (let index = 0; index < this.gameRecientes[this.teamSelect].length; index++) {
1075
- if (this.filterObject.selectedFilterTeam[0] == 'local') {
1076
- if (
1077
- this.gameRecientes[this.teamSelect][index].home_team_abbreviation == this.teamSelect
1078
- ) {
1079
- matchdayFilter.push({
1080
- name: this.gameRecientes[this.teamSelect][index].matchday_abbreviation.replace(
1081
- 'M',
1082
- 'Jornada ',
1083
- ),
1084
- id: this.gameRecientes[this.teamSelect][index].matchday_id,
1085
- match_result: this.gameRecientes[this.teamSelect][index].home_match_result,
1086
- })
1087
- gameFilter.push(this.gameRecientes[this.teamSelect][index])
1088
- }
1089
- } else {
1090
- if (
1091
- this.gameRecientes[this.teamSelect][index].away_team_abbreviation == this.teamSelect
1092
- ) {
1093
- matchdayFilter.push({
1094
- name: this.gameRecientes[this.teamSelect][index].matchday_abbreviation.replace(
1095
- 'M',
1096
- 'Jornada ',
1097
- ),
1098
- id: this.gameRecientes[this.teamSelect][index].matchday_id,
1099
- match_result: this.gameRecientes[this.teamSelect][index].visiting_match_result,
1100
- })
1101
- gameFilter.push(this.gameRecientes[this.teamSelect][index])
1102
- }
1103
- }
1104
- }
1105
- } else {
1106
- if (this.gameRecientes[this.teamSelect]) {
1107
- for (let index = 0; index < this.gameRecientes[this.teamSelect].length; index++) {
1108
- matchdayFilter.push({
1109
- name: this.gameRecientes[this.teamSelect][index].matchday_abbreviation.replace(
1110
- 'M',
1111
- 'Jornada ',
1112
- ),
1113
- id: this.gameRecientes[this.teamSelect][index].matchday_id,
1114
- match_result:
1115
- this.gameRecientes[this.teamSelect][index].home_team_abbreviation ==
1116
- this.teamSelect
1117
- ? this.gameRecientes[this.teamSelect][index].home_match_result
1118
- : this.gameRecientes[this.teamSelect][index].visiting_match_result,
1119
- })
1120
- gameFilter.push(this.gameRecientes[this.teamSelect][index])
1121
- }
1122
- }
1123
- }
1124
- } else {
1125
- if (this.gameRecientes[this.teamSelect]) {
1126
- for (let index = 0; index < this.gameRecientes[this.teamSelect].length; index++) {
1127
- matchdayFilter.push({
1128
- name: this.getRound(this.gameRecientes[this.teamSelect][index].matchday_abbreviation),
1129
- id: this.gameRecientes[this.teamSelect][index].matchday_id,
1130
- match_result:
1131
- this.gameRecientes[this.teamSelect][index].home_team_abbreviation == this.teamSelect
1132
- ? this.gameRecientes[this.teamSelect][index].home_match_result
1133
- : this.gameRecientes[this.teamSelect][index].visiting_match_result,
1134
- })
1135
- gameFilter.push(this.gameRecientes[this.teamSelect][index])
1136
- }
1137
- }
1138
- }
1139
- this.gamesFiltersUpdate = gameFilter
1140
- this.matchdaysFiltersUpdate = matchdayFilter
1141
- },
1142
- getRound(abrev) {
1143
- let abrevFormatted = abrev.replace('M', 'Jornada ')
1144
- abrevFormatted = abrevFormatted.replace('PO1', 'CFI')
1145
- abrevFormatted = abrevFormatted.replace('PO2', 'CFV')
1146
- abrevFormatted = abrevFormatted.replace('PO3', 'SFI')
1147
- abrevFormatted = abrevFormatted.replace('PO4', 'SFV')
1148
- abrevFormatted = abrevFormatted.replace('PO5', 'FI')
1149
- abrevFormatted = abrevFormatted.replace('PO6', 'FV')
1150
- return abrevFormatted
1151
- },
1152
- changeFiltersModal(filters) {
1153
- this.auxISsection = 1
1154
- this.filterObject = filters
1155
- this.openfiltervalue = false
1156
- this.matchFilter()
1157
- setTimeout(() => {
1158
- this.keyUpdate += 1
1159
- this.updateCarouselGames += 1
1160
- }, 600)
1161
- },
1162
- openFilter() {
1163
- this.openfiltervalue = true
1164
- },
1165
- getMinutesData(plays) {
1166
- this.localDetails = []
1167
- this.foreignDetails = []
1168
- for (let index = 0; index < plays.home_goals_minutes.length; index++) {
1169
- this.localDetails.push({ description: plays.home_goals_minutes[index], icon: 'goal' })
1170
- }
1171
- for (let index = 0; index < plays.visiting_goals_minutes.length; index++) {
1172
- this.foreignDetails.push({ description: plays.visiting_goals_minutes[index], icon: 'goal' })
1173
- }
1174
- for (let index = 0; index < plays.home_yellow_cards_minutes.length; index++) {
1175
- this.localDetails.push({
1176
- description: plays.home_yellow_cards_minutes[index],
1177
- icon: 'yellow-card',
1178
- })
1179
- }
1180
- for (let index = 0; index < plays.away_yellow_cards_minutes.length; index++) {
1181
- this.foreignDetails.push({
1182
- description: plays.away_yellow_cards_minutes[index],
1183
- icon: 'yellow-card',
1184
- })
1185
- }
1186
- for (let index = 0; index < plays.home_red_cards_minutes.length; index++) {
1187
- this.localDetails.push({
1188
- description: plays.home_red_cards_minutes[index],
1189
- icon: 'red-card',
1190
- })
1191
- }
1192
- for (let index = 0; index < plays.away_red_cards_minutes.length; index++) {
1193
- this.foreignDetails.push({
1194
- description: plays.away_red_cards_minutes[index],
1195
- icon: 'red-card',
1196
- })
1197
- }
1198
- },
1199
- changeCarouselItem(val) {
1200
- setTimeout(() => {
1201
- if (JSON.stringify(val) !== JSON.stringify(this.valLast)) {
1202
- if (this.gameRecientesFilter && this.gameRecientesFilter.length > 0) {
1203
- if (val) {
1204
- if (val.selectedItem === undefined) {
1205
- val.selectedItem = this.gameRecientesFilter[this.gameRecientesFilter.length - 1]
1206
- val.selectedItemIndex = this.gameRecientesFilter.length - 1
1207
- }
1208
-
1209
- this.valLast = val
1210
- if (this.auxISsection == 1) {
1211
- this.$emit('input', {
1212
- selectedItem: this.gameRecientesFilter[this.gameRecientesFilter.length - 1],
1213
- selectedItemIndex: this.gameRecientesFilter.length - 1,
1214
- })
1215
- this.getMinutesData(
1216
- this.gameRecientesFilter[this.gameRecientesFilter.length - 1].minutes,
1217
- )
1218
- this.selectedIndexOption = this.gameRecientesFilter.length - 1
1219
- this.defaultDropItem = {
1220
- propName: 'id',
1221
- value: this.gameRecientesFilter[this.gameRecientesFilter.length - 1].matchday_id,
1222
- }
1223
- } else {
1224
- this.$emit('input', val)
1225
- this.getMinutesData(val.selectedItem.minutes)
1226
- this.selectedIndexOption = val.selectedItemIndex
1227
- this.defaultDropItem = { propName: 'id', value: val.selectedItem.matchday_id }
1228
- }
1229
- this.keyUpdate += 1
1230
- }
1231
- }
1232
- }
1233
- }, 200)
1234
- },
1235
- changeDropdown(value) {
1236
- if (this.gameRecientesFilter && this.gameRecientesFilter.length > 0) {
1237
- if (this.auxISsection == 1) {
1238
- this.selectedIndexOption = this.gameRecientesFilter.length - 1
1239
- this.defaultDropItem = {
1240
- propName: 'id',
1241
- value: this.gameRecientesFilter[this.gameRecientesFilter.length - 1].matchday_id,
1242
- }
1243
- } else {
1244
- const index = this.gameRecientesFilter.findIndex((x) => x.matchday_id == value.id)
1245
- if (index != -1) {
1246
- this.selectedIndexOption = index
1247
- this.defaultDropItem = {
1248
- propName: 'id',
1249
- value: this.gameRecientesFilter[index].matchday_id,
1250
- }
1251
- }
1252
- }
1253
- }
1254
- },
1255
-
1256
- changeSwitchRadio(val) {
1257
- this.auxISsection = 1
1258
- if (typeof val !== 'object') {
1259
- this.teamSelect = val
1260
- this.$emit('changeTeam', this.teamSelect)
1261
- this.updateCarouselGames += 1
1262
- this.matchFilter()
1263
- }
1264
- },
1265
- clickOnSelectOption(val) {
1266
- this.$emit('clickOnSelectOption', val)
1267
- },
1268
- },
1269
- }
1270
- </script>
1271
-
1272
- <style module>
1273
- @import '/css/fonts.css';
1274
- @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap');
1275
- @import url('https://fonts.googleapis.com/css2?family=Inter:wght@600&display=swap');
1276
-
1277
- body {
1278
- margin: 0;
1279
- line-height: normal;
1280
- }
1281
-
1282
- :root {
1283
- /* fonts */
1284
- --font-poppinsre: Poppins;
1285
- --font-interre: Inter;
1286
-
1287
- /* font sizes */
1288
- --font-size-4xsre: 9px;
1289
- --font-size-smre: 14px;
1290
- --font-size-xsre: 12px;
1291
- --font-size-base-2re: 15.2px;
1292
- --font-size-3xsre: 10px;
1293
- --font-size-2xsre: 11px;
1294
-
1295
- /* Colors */
1296
- --color-gray-100re: #172632;
1297
- --color-gray-200re: #172531;
1298
- --color-gray-300re: rgba(255, 255, 255, 0.05);
1299
- --color-gray-400re: rgba(255, 255, 255, 0.2);
1300
- --color-gray-500re: rgba(255, 255, 255, 0.3);
1301
- --color-gray-600re: rgba(255, 255, 255, 0.1);
1302
- --color-gray-700re: rgba(255, 255, 255, 0.7);
1303
- --color-goldenrodre: #f7c330;
1304
- --color-redre: #ff0000;
1305
- --color-yellowgreen-100re: #cbed6e;
1306
- --color-yellowgreen-200re: #cbee6b;
1307
- --color-white: #fff;
1308
- --color-whitesmokere: #f4f4f4;
1309
- --color-darkbluere: #0234c5;
1310
- --color-darkslategrayre: #1e2b36;
1311
- --color-slategrayre: #56637b;
1312
-
1313
- /* Spacing */
1314
- --sizes-round-corner-round-corner-32re: 32px;
1315
- --sizes-spacing-space-24re: 24px;
1316
-
1317
- /* Gaps */
1318
- --gap-basere: 16px;
1319
- --gap-xsre: 12px;
1320
- --gap-40xlre: 59px;
1321
- --gap-3xsre: 10px;
1322
- --gap-4xsre: 9px;
1323
- --gap-midre: 17px;
1324
- --gap-minire: 15px;
1325
- --gap-8xsre: 5px;
1326
- --gap-4xs-7re: 8.7px;
1327
- --gap-11xlre: 30px;
1328
-
1329
- /* Paddings */
1330
- --padding-basere: 16px;
1331
- --padding-5xlre: 24px;
1332
- --padding-9xsre: 4px;
1333
- --padding-6xs-5re: 6.5px;
1334
- --padding-mid-4re: 17.4px;
1335
- --padding-11xsre: 2px;
1336
- --padding-3xsre: 10px;
1337
- --padding-5xsre: 8px;
1338
- --padding-xsre: 12px;
1339
- --padding-xlre: 20px;
1340
-
1341
- /* Border radiuses */
1342
- --br-12xsre: 1px;
1343
- --br-2xs-2re: 10.2px;
1344
- --br-mid-4re: 17.4px;
1345
- --br-5xsre: 8px;
1346
- --br-31xlre: 50px;
1347
- --br-13xlre: 32px;
1348
- --br-3xs-6re: 9.6px;
1349
- }
1350
-
1351
- .containernofoundsearchrecientes {
1352
- width: 100%;
1353
- height: 38px;
1354
- display: inline-block;
1355
- margin: 0 auto;
1356
- }
1357
- .text-containernofoundsearchrecientes {
1358
- font-size: 13px;
1359
- text-align: center;
1360
- color: rgb(176, 176, 176);
1361
- line-height: 16px;
1362
- }
1363
- .btn-delete-filters {
1364
- width: 70%;
1365
- height: 26px;
1366
- border-radius: 16px;
1367
- font-size: 14px;
1368
- text-align: center;
1369
- background: rgba(255, 255, 255, 0.2);
1370
- color: white;
1371
- margin: 0 auto;
1372
- line-height: 26px;
1373
- margin-top: 5px;
1374
- }
1375
- .btn-delete-filters:hover {
1376
- cursor: pointer;
1377
- background: rgba(255, 255, 255, 0.5);
1378
- }
1379
- .btndeletefilters {
1380
- width: 70%;
1381
- height: 26px;
1382
- border-radius: 16px;
1383
- font-size: 14px;
1384
- text-align: center;
1385
- background: rgba(255, 255, 255, 0.2);
1386
- color: white;
1387
- margin: 0 auto;
1388
- line-height: 26px;
1389
- margin-top: 5px;
1390
- }
1391
- .btndeletefilters:hover {
1392
- cursor: pointer;
1393
- background: rgba(255, 255, 255, 0.5);
1394
- }
1395
- .leyenddeleteshow {
1396
- font-size: 13px;
1397
- text-align: center;
1398
- color: rgb(176, 176, 176);
1399
- line-height: 16px;
1400
- }
1401
-
1402
- .selectoritem {
1403
- width: 270px;
1404
- display: flex;
1405
- flex-direction: row;
1406
- align-items: flex-start;
1407
- justify-content: center;
1408
- gap: var(--gap-midre);
1409
- }
1410
-
1411
- .anNoEstn {
1412
- font-weight: 500;
1413
- }
1414
-
1415
- .groupsLeague {
1416
- position: relative;
1417
- line-height: 20px;
1418
- }
1419
-
1420
- .historicas {
1421
- position: relative;
1422
- line-height: 20px;
1423
- opacity: 0.6;
1424
- }
1425
-
1426
- .switchOption {
1427
- border-radius: var(--br-13xlre);
1428
- width: 109px;
1429
- display: flex;
1430
- flex-direction: row;
1431
- align-items: center;
1432
- justify-content: center;
1433
- padding: var(--padding-3xsre) var(--sizes-spacing-space-24re);
1434
- box-sizing: border-box;
1435
- }
1436
-
1437
- .recientes {
1438
- position: relative;
1439
- line-height: 20px;
1440
- font-weight: 600;
1441
- }
1442
-
1443
- .switchOption1 {
1444
- border-radius: var(--br-13xlre);
1445
- background-color: var(--color-darkslategrayre);
1446
- border: 0.8px solid var(--color-yellowgreen-200re);
1447
- box-sizing: border-box;
1448
- width: 107.8px;
1449
- display: flex;
1450
- flex-direction: row;
1451
- align-items: center;
1452
- justify-content: center;
1453
- padding: var(--padding-3xsre) var(--sizes-spacing-space-24re);
1454
- }
1455
-
1456
- .switchOption2 {
1457
- border-radius: var(--sizes-round-corner-round-corner-32re);
1458
- display: flex;
1459
- flex-direction: row;
1460
- align-items: center;
1461
- justify-content: center;
1462
- padding: var(--padding-3xsre) var(--sizes-spacing-space-24re);
1463
- }
1464
-
1465
- .switchStatesBig {
1466
- border-radius: var(--sizes-round-corner-round-corner-32re);
1467
- background-color: var(--color-gray-100re);
1468
- border: 1px solid var(--color-gray-500re);
1469
- display: inline-block;
1470
- width: 320px;
1471
- font-size: var(--font-size-xsre);
1472
- color: var(--color-white);
1473
- }
1474
-
1475
- .groupsLeagueParent {
1476
- align-self: stretch;
1477
- display: flex;
1478
- flex-direction: column;
1479
- align-items: center;
1480
- justify-content: flex-start;
1481
- gap: var(--gap-11xlre);
1482
- text-align: center;
1483
- }
1484
-
1485
- .imgHomeTeamIcon {
1486
- position: relative;
1487
- width: 28px;
1488
- height: 28px;
1489
- object-fit: cover;
1490
- }
1491
-
1492
- .imgHomeTeamWrapper {
1493
- border-radius: var(--br-31xlre);
1494
- background-color: var(--color-gray-200re);
1495
- width: 40px;
1496
- height: 40px;
1497
- display: flex;
1498
- flex-direction: column;
1499
- align-items: center;
1500
- justify-content: center;
1501
- padding: var(--padding-3xsre);
1502
- box-sizing: border-box;
1503
- }
1504
-
1505
- .teamContainer {
1506
- border-radius: var(--br-31xlre);
1507
- border: 1px solid var(--color-darkbluere);
1508
- box-sizing: border-box;
1509
- width: 48px;
1510
- height: 48px;
1511
- display: flex;
1512
- flex-direction: row;
1513
- align-items: center;
1514
- justify-content: center;
1515
- padding: var(--padding-3xsre);
1516
- }
1517
-
1518
- .name {
1519
- position: relative;
1520
- letter-spacing: 0.31px;
1521
- line-height: 30.87px;
1522
- font-weight: 500;
1523
- }
1524
-
1525
- .homeTeamContainer {
1526
- flex: 1;
1527
- border-bottom: 1px solid var(--color-slategrayre);
1528
- display: flex;
1529
- flex-direction: row;
1530
- align-items: center;
1531
- justify-content: flex-start;
1532
- padding: 0px 0px var(--padding-xlre);
1533
- gap: var(--gap-3xsre);
1534
- }
1535
-
1536
- .div {
1537
- position: relative;
1538
- font-weight: 600;
1539
- }
1540
-
1541
- .scoreContainer {
1542
- border-radius: var(--br-mid-4re);
1543
- background-color: var(--color-gray-600re);
1544
- display: flex;
1545
- flex-direction: row;
1546
- align-items: center;
1547
- justify-content: center;
1548
- padding: 6.524074554443359px 17.397533416748047px;
1549
- gap: var(--gap-4xs-7rere);
1550
- }
1551
-
1552
- .scoreContainerWrapper {
1553
- align-self: stretch;
1554
- width: 323px;
1555
- display: flex;
1556
- flex-direction: column;
1557
- align-items: center;
1558
- justify-content: space-between;
1559
- text-align: center;
1560
- font-size: 15.22px;
1561
- color: var(--color-white);
1562
- font-family: var(--font-interre);
1563
- }
1564
-
1565
- .teamContainer1 {
1566
- border-radius: var(--br-31xlre);
1567
- border: 1px solid var(--color-yellowgreen-100re);
1568
- box-sizing: border-box;
1569
- width: 48px;
1570
- height: 48px;
1571
- display: flex;
1572
- flex-direction: row;
1573
- align-items: center;
1574
- justify-content: center;
1575
- padding: var(--padding-3xsre);
1576
- }
1577
-
1578
- .awayTeamContainer {
1579
- flex: 1;
1580
- border-bottom: 1px solid var(--color-slategrayre);
1581
- display: flex;
1582
- flex-direction: row;
1583
- align-items: center;
1584
- justify-content: flex-end;
1585
- padding: 0px 0px var(--padding-xlre);
1586
- gap: var(--gap-3xsre);
1587
- }
1588
-
1589
- .matchContainer {
1590
- align-self: stretch;
1591
- display: flex;
1592
- flex-direction: row;
1593
- align-items: center;
1594
- justify-content: space-between;
1595
- padding: 0px 0px var(--padding-xsre);
1596
- color: var(--color-whitesmokere);
1597
- }
1598
-
1599
- .sliderMatchesChild {
1600
- position: relative;
1601
- border-radius: 9.55px;
1602
- width: 7.02px;
1603
- height: 14.23px;
1604
- }
1605
-
1606
- .manchesterUnited {
1607
- position: relative;
1608
- letter-spacing: -0.01em;
1609
- line-height: 20.07px;
1610
- font-weight: 500;
1611
- }
1612
-
1613
- .sliderMatchesItem {
1614
- position: relative;
1615
- border-radius: 9.55px;
1616
- width: 7.02px;
1617
- height: 14.24px;
1618
- }
1619
-
1620
- .sliderMatches {
1621
- align-self: stretch;
1622
- display: flex;
1623
- flex-direction: row;
1624
- align-items: center;
1625
- justify-content: center;
1626
- padding: var(--padding-11xsre) var(--padding-basere);
1627
- gap: var(--gap-3xsre);
1628
- text-align: center;
1629
- }
1630
-
1631
- .sortIcon {
1632
- position: relative;
1633
- width: 18px;
1634
- height: 18px;
1635
- overflow: hidden;
1636
- flex-shrink: 0;
1637
- }
1638
-
1639
- .filtros {
1640
- position: relative;
1641
- font-size: var(--font-size-smre);
1642
- line-height: 24px;
1643
- font-family: var(--font-poppinsre);
1644
- color: var(--color-white);
1645
- text-align: left;
1646
- }
1647
-
1648
- .sortParent {
1649
- display: flex;
1650
- flex-direction: row;
1651
- align-items: center;
1652
- justify-content: center;
1653
- gap: var(--gap-8xsre);
1654
- }
1655
-
1656
- .shapeIcon {
1657
- position: relative;
1658
- width: 8px;
1659
- height: 4px;
1660
- }
1661
-
1662
- .btnFilter {
1663
- cursor: pointer;
1664
- border: 1px solid var(--color-gray-400re);
1665
- padding: var(--padding-5xsre) var(--padding-3xsre);
1666
- background-color: var(--color-gray-300re);
1667
- border-radius: var(--br-5xsre);
1668
- box-sizing: border-box;
1669
- width: 102px;
1670
- height: 32px;
1671
- position: relative;
1672
- display: flex;
1673
- flex-direction: row;
1674
- align-items: center;
1675
- justify-content: space-between;
1676
- }
1677
-
1678
- .btnFilter1 {
1679
- cursor: pointer;
1680
- border: 1px solid var(--color-gray-400re);
1681
- background-color: var(--color-gray-300re);
1682
- border-radius: var(--br-5xsre);
1683
- box-sizing: border-box;
1684
- height: 32px;
1685
- display: flex;
1686
- flex-direction: row;
1687
- align-items: baseline;
1688
- justify-content: flex-start;
1689
- gap: var(--gap-3xsre);
1690
- font-size: 10px;
1691
- }
1692
-
1693
- .btnFilterParent {
1694
- width: 225px;
1695
- display: flex;
1696
- flex-direction: row;
1697
- align-items: flex-start;
1698
- justify-content: flex-start;
1699
- gap: var(--gap-xsre);
1700
- }
1701
-
1702
- .backArrowIcon {
1703
- position: relative;
1704
- border-radius: 10.21px;
1705
- width: 7.5px;
1706
- height: 15.21px;
1707
- }
1708
-
1709
- .teamContainer2 {
1710
- display: flex;
1711
- flex-direction: row;
1712
- align-items: center;
1713
- justify-content: flex-start;
1714
- gap: var(--gap-8xsre);
1715
- }
1716
-
1717
- .homeTeam {
1718
- display: flex;
1719
- flex-direction: row;
1720
- align-items: center;
1721
- justify-content: flex-start;
1722
- gap: var(--gap-minire);
1723
- }
1724
-
1725
- .div4 {
1726
- flex: 1;
1727
- position: relative;
1728
- font-weight: 600;
1729
- }
1730
-
1731
- .finalScore {
1732
- border-radius: var(--br-mid-4re);
1733
- background-color: var(--color-gray-600re);
1734
- border: 0.5px solid var(--color-yellowgreen-200re);
1735
- box-sizing: border-box;
1736
- width: 70.73px;
1737
- display: flex;
1738
- flex-direction: row;
1739
- align-items: center;
1740
- justify-content: center;
1741
- padding: 6.524074554443359px 17.397533416748047px;
1742
- gap: var(--gap-4xs-7rere);
1743
- }
1744
-
1745
- .manchesterUnited1 {
1746
- position: relative;
1747
- font-size: var(--font-size-xsre);
1748
- font-weight: 500;
1749
- font-family: var(--font-poppinsre);
1750
- color: var(--color-gray-700re);
1751
- }
1752
-
1753
- .scoreContainer1 {
1754
- display: flex;
1755
- flex-direction: column;
1756
- align-items: center;
1757
- justify-content: center;
1758
- gap: var(--gap-4xsre);
1759
- text-align: center;
1760
- font-size: 15.22px;
1761
- color: var(--color-white);
1762
- font-family: var(--font-interre);
1763
- }
1764
-
1765
- .match {
1766
- width: 325px;
1767
- display: inline-block;
1768
- }
1769
-
1770
- .manchesterUnited2 {
1771
- position: relative;
1772
- text-decoration: underline;
1773
- font-weight: 500;
1774
- position: absolute;
1775
- right: 0;
1776
- cursor: pointer;
1777
- }
1778
-
1779
- .manchesterUnited2:hover {
1780
- color: rgba(255, 255, 255, 1);
1781
- }
1782
-
1783
- .btnDetails {
1784
- width: 225px;
1785
- height: 28px;
1786
- display: flex;
1787
- flex-direction: row;
1788
- align-items: center;
1789
- justify-content: flex-end;
1790
- text-align: right;
1791
- font-size: var(--font-size-xsre);
1792
- }
1793
-
1794
- .matchContainer1 {
1795
- align-self: stretch;
1796
- display: flex;
1797
- flex-direction: row;
1798
- align-items: flex-start;
1799
- justify-content: space-between;
1800
- padding: var(--padding-9xsre) 0px 0px;
1801
- }
1802
-
1803
- .goalChild {
1804
- position: relative;
1805
- width: 8.03px;
1806
- height: 8.03px;
1807
- }
1808
-
1809
- .goal {
1810
- width: 9px;
1811
- height: 9px;
1812
- display: flex;
1813
- flex-direction: row;
1814
- align-items: center;
1815
- justify-content: center;
1816
- }
1817
-
1818
- .manchesterUnited3 {
1819
- position: relative;
1820
- letter-spacing: -0.01em;
1821
- line-height: 19.5px;
1822
- text-transform: capitalize;
1823
- font-weight: 500;
1824
- }
1825
-
1826
- .minuteEvent {
1827
- display: flex;
1828
- flex-direction: row;
1829
- align-items: center;
1830
- justify-content: flex-start;
1831
- gap: var(--gap-4xsre);
1832
- }
1833
-
1834
- .yellowCard {
1835
- position: relative;
1836
- border-radius: var(--br-12xsre);
1837
- background-color: var(--color-goldenrodre);
1838
- width: 4px;
1839
- height: 6px;
1840
- }
1841
-
1842
- .awayTeamEvents {
1843
- display: flex;
1844
- flex-direction: column;
1845
- align-items: flex-start;
1846
- justify-content: flex-start;
1847
- gap: var(--gap-3xsre);
1848
- }
1849
-
1850
- .rectangle {
1851
- position: relative;
1852
- border-radius: var(--br-12xsre);
1853
- background-color: var(--color-redre);
1854
- width: 4px;
1855
- height: 6px;
1856
- }
1857
-
1858
- .homeTeamEvents {
1859
- display: flex;
1860
- flex-direction: column;
1861
- align-items: flex-end;
1862
- justify-content: flex-start;
1863
- gap: var(--gap-3xsre);
1864
- text-align: right;
1865
- }
1866
-
1867
- .totalEvents {
1868
- display: none;
1869
- flex-direction: row;
1870
- align-items: center;
1871
- justify-content: flex-start;
1872
- gap: var(--gap-40xlre);
1873
- font-size: var(--font-size-4xsre);
1874
- }
1875
-
1876
- .headerSeccionAlineaciones1 {
1877
- align-self: stretch;
1878
- background-color: var(--color-gray-200re);
1879
- display: flex;
1880
- flex-direction: column;
1881
- align-items: center;
1882
- justify-content: flex-start;
1883
- padding: 0px 48px;
1884
- gap: var(--gap-basere);
1885
- }
1886
-
1887
- .sliderMatchesInner {
1888
- position: relative;
1889
- border-radius: 9.55px;
1890
- width: 13.39px;
1891
- height: 6px;
1892
- }
1893
-
1894
- .btnFilter2 {
1895
- cursor: pointer;
1896
- border: 1px solid var(--color-gray-400re);
1897
- padding: var(--padding-5xsre) var(--padding-3xsre);
1898
- background-color: var(--color-gray-300re);
1899
- border-radius: var(--br-5xsre);
1900
- box-sizing: border-box;
1901
- width: 111px;
1902
- position: relative;
1903
- height: 32px;
1904
- display: flex;
1905
- flex-direction: row;
1906
- align-items: center;
1907
- justify-content: space-between;
1908
- margin-right: 10px;
1909
- }
1910
-
1911
- .btnDetails1 {
1912
- width: 111px;
1913
- height: 28px;
1914
- display: flex;
1915
- flex-direction: row;
1916
- align-items: center;
1917
- justify-content: flex-end;
1918
- }
1919
-
1920
- .matchContainer3 {
1921
- align-self: stretch;
1922
- display: flex;
1923
- flex-direction: row;
1924
- align-items: flex-start;
1925
- justify-content: start;
1926
- padding: var(--padding-9xsre) 0px 0px;
1927
- text-align: right;
1928
- font-size: var(--font-size-xsre);
1929
- }
1930
-
1931
- .backArrowIcon1 {
1932
- position: relative;
1933
- border-radius: 10.21px;
1934
- width: 14.31px;
1935
- height: 6.41px;
1936
- }
1937
-
1938
- .match1 {
1939
- width: 340px;
1940
- display: inline-block;
1941
- margin: 0 auto;
1942
- }
1943
-
1944
- .headerSeccionAlineaciones2 {
1945
- align-self: stretch;
1946
- background-color: var(--color-gray-200re);
1947
- display: none;
1948
- flex-direction: column;
1949
- align-items: center;
1950
- justify-content: flex-start;
1951
- padding: 0px var(--padding-5xlre);
1952
- gap: var(--gap-basere);
1953
- }
1954
-
1955
- .jugadores2 {
1956
- position: relative;
1957
- line-height: 20px;
1958
- font-weight: 600;
1959
- opacity: 0.6;
1960
- }
1961
-
1962
- .switchOption6 {
1963
- border-radius: var(--sizes-round-corner-round-corner-32re);
1964
- width: 74px;
1965
- display: flex;
1966
- flex-direction: row;
1967
- align-items: center;
1968
- justify-content: center;
1969
- padding: var(--padding-3xsre) var(--sizes-spacing-space-24re);
1970
- box-sizing: border-box;
1971
- }
1972
-
1973
- .switchOption7 {
1974
- border-radius: var(--sizes-round-corner-round-corner-32re);
1975
- background-color: var(--color-darkslategrayre);
1976
- border: 0.8px solid var(--color-yellowgreen-200re);
1977
- box-sizing: border-box;
1978
- width: 74.8px;
1979
- display: flex;
1980
- flex-direction: row;
1981
- align-items: center;
1982
- justify-content: center;
1983
- padding: var(--padding-3xsre) var(--sizes-spacing-space-24re);
1984
- }
1985
-
1986
- .switchStatesBig2 {
1987
- border-radius: var(--sizes-round-corner-round-corner-32re);
1988
- background-color: var(--color-gray-100re);
1989
- border: 1px solid var(--color-gray-500re);
1990
- display: inline-block;
1991
- width: 280px;
1992
- }
1993
-
1994
- .manchesterUnited26 {
1995
- position: relative;
1996
- font-size: var(--font-size-3xsre);
1997
- font-weight: 500;
1998
- }
1999
-
2000
- .homeTeamContainer2 {
2001
- display: flex;
2002
- flex-direction: row;
2003
- align-items: center;
2004
- justify-content: flex-start;
2005
- gap: var(--gap-3xsre);
2006
- }
2007
-
2008
- .vectorIcon {
2009
- position: relative;
2010
- width: 15px;
2011
- height: 15px;
2012
- }
2013
-
2014
- .teamSwitch {
2015
- border-radius: 25px;
2016
- box-sizing: border-box;
2017
- width: 98px;
2018
- overflow: hidden;
2019
- height: 21px;
2020
- display: flex;
2021
- flex-direction: row;
2022
- align-items: center;
2023
- justify-content: center;
2024
- padding: 0px 3px;
2025
- }
2026
-
2027
- .matchContainer5 {
2028
- align-self: stretch;
2029
- display: flex;
2030
- flex-direction: row;
2031
- align-items: center;
2032
- justify-content: space-between;
2033
- padding: 0px 0px var(--padding-xsre);
2034
- text-align: left;
2035
- color: var(--color-whitesmokere);
2036
- }
2037
-
2038
- .manchesterUnited27 {
2039
- position: relative;
2040
- letter-spacing: -0.01em;
2041
- line-height: 20.07px;
2042
- font-weight: 500;
2043
- z-index: 0;
2044
- }
2045
-
2046
- .sliderMatchesChild1 {
2047
- position: absolute;
2048
- margin: 0 !important;
2049
- top: 14.31px;
2050
- left: 261.07px;
2051
- border-radius: 10.21px;
2052
- width: 14.31px;
2053
- height: 6.41px;
2054
- z-index: 1;
2055
- }
2056
-
2057
- .sliderMatchesChild2 {
2058
- position: absolute;
2059
- margin: 0 !important;
2060
- top: 0.31px;
2061
- left: 6.41px;
2062
- border-radius: 10.21px;
2063
- width: 14.31px;
2064
- height: 6.41px;
2065
- z-index: 2;
2066
- }
2067
-
2068
- .sliderMatches2 {
2069
- display: none;
2070
- flex-direction: row;
2071
- align-items: flex-start;
2072
- justify-content: flex-start;
2073
- padding: var(--padding-11xsre) var(--padding-basere);
2074
- position: relative;
2075
- gap: var(--gap-3xsre);
2076
- }
2077
-
2078
- .filtros2 {
2079
- position: relative;
2080
- font-size: var(--font-size-smre);
2081
- line-height: 24px;
2082
- font-family: var(--font-poppinsre);
2083
- color: var(--color-white);
2084
- text-align: left;
2085
- display: none;
2086
- }
2087
-
2088
- .btnFilter4 {
2089
- cursor: pointer;
2090
- position: relative;
2091
- border: 1px solid var(--color-gray-400re);
2092
- padding: var(--padding-5xsre) var(--padding-3xsre);
2093
- background-color: var(--color-gray-300re);
2094
- border-radius: var(--br-5xsre);
2095
- box-sizing: border-box;
2096
- width: 60px;
2097
- height: 32px;
2098
- display: flex;
2099
- flex-direction: row;
2100
- align-items: center;
2101
- justify-content: space-between;
2102
- }
2103
-
2104
- .jornada2 {
2105
- position: relative;
2106
- line-height: 9px;
2107
- font-weight: 600;
2108
- opacity: 0.6;
2109
- }
2110
-
2111
- .filterMatchday {
2112
- border-radius: 4px;
2113
- border: 1px solid var(--color-gray-500re);
2114
- box-sizing: border-box;
2115
- width: 102px;
2116
- height: 25px;
2117
- display: flex;
2118
- flex-direction: row;
2119
- justify-content: space-between;
2120
- }
2121
-
2122
- .btnDetails2 {
2123
- width: 60px;
2124
- height: 28px;
2125
- display: flex;
2126
- flex-direction: row;
2127
- align-items: center;
2128
- justify-content: center;
2129
- text-align: right;
2130
- color: var(--color-gray-700re);
2131
- }
2132
-
2133
- .filtersContainer {
2134
- align-self: stretch;
2135
- display: flex;
2136
- flex-direction: row;
2137
- align-items: center;
2138
- justify-content: space-between;
2139
- font-size: var(--font-size-3xsre);
2140
- color: var(--color-white);
2141
- }
2142
-
2143
- .matchContainer6 {
2144
- align-self: stretch;
2145
- display: flex;
2146
- flex-direction: row;
2147
- align-items: flex-start;
2148
- justify-content: center;
2149
- padding: var(--padding-9xsre) 0px 0px;
2150
- }
2151
-
2152
- .matchDetailContainer {
2153
- align-self: stretch;
2154
- display: flex;
2155
- flex-direction: column;
2156
- align-items: center;
2157
- justify-content: flex-start;
2158
- gap: 14px;
2159
- text-align: left;
2160
- }
2161
-
2162
- .containerData {
2163
- align-self: stretch;
2164
- border-radius: 9px;
2165
- background-color: #192632;
2166
- box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.25);
2167
- display: flex;
2168
- flex-direction: column;
2169
- align-items: center;
2170
- justify-content: flex-start;
2171
- padding: var(--padding-basere) var(--padding-5xlre) 32px;
2172
- gap: var(--gap-xsre);
2173
- font-size: var(--font-size-smre);
2174
- color: var(--color-gray-700re);
2175
- }
2176
-
2177
- .headerSeccionAlineaciones3 {
2178
- align-self: stretch;
2179
- display: none;
2180
- flex-direction: column;
2181
- align-items: center;
2182
- justify-content: flex-start;
2183
- gap: var(--gap-basere);
2184
- text-align: center;
2185
- font-size: var(--font-size-2xsre);
2186
- color: var(--color-white);
2187
- }
2188
-
2189
- .headerSeccionAlineaciones {
2190
- position: relative;
2191
- width: 100%;
2192
- display: flex;
2193
- flex-direction: column;
2194
- align-items: flex-start;
2195
- justify-content: flex-start;
2196
- gap: 132px;
2197
- text-align: left;
2198
- font-size: var(--font-size-smre);
2199
- color: var(--color-gray-700re);
2200
- font-family: var(--font-poppinsre);
2201
- }
2202
-
2203
- .headerSeccionAlineaciones31200 {
2204
- max-width: 540px;
2205
- align-self: stretch;
2206
- display: none;
2207
- flex-direction: column;
2208
- align-items: center;
2209
- justify-content: flex-start;
2210
- gap: var(--gap-basere);
2211
- text-align: center;
2212
- font-size: var(--font-size-2xsre);
2213
- color: var(--color-white);
2214
- }
2215
-
2216
- .headerSeccionAlineaciones3420 {
2217
- display: flex;
2218
- max-width: 540px;
2219
- align-self: stretch;
2220
- flex-direction: column;
2221
- align-items: center;
2222
- justify-content: flex-start;
2223
- gap: var(--gap-basere);
2224
- text-align: center;
2225
- font-size: var(--font-size-2xsre);
2226
- color: var(--color-white);
2227
- }
2228
-
2229
- .headerSeccionAlineaciones3880 {
2230
- display: none;
2231
- align-self: stretch;
2232
- flex-direction: column;
2233
- align-items: center;
2234
- justify-content: flex-start;
2235
- gap: var(--gap-basere);
2236
- text-align: center;
2237
- font-size: var(--font-size-2xsre);
2238
- color: var(--color-white);
2239
- }
2240
-
2241
- .headerSeccionAlineaciones3540 {
2242
- display: flex;
2243
- min-width: 300px;
2244
- align-self: stretch;
2245
- flex-direction: column;
2246
- align-items: center;
2247
- justify-content: flex-start;
2248
- gap: var(--gap-basere);
2249
- text-align: center;
2250
- font-size: var(--font-size-2xsre);
2251
- color: var(--color-white);
2252
- }
2253
-
2254
- .headerSeccionAlineaciones11200 {
2255
- align-self: stretch;
2256
- width: auto;
2257
- max-width: 1089px;
2258
- align-self: stretch;
2259
- background-color: var(--color-gray-200re);
2260
- display: flex;
2261
- flex-direction: column;
2262
- align-items: center;
2263
- justify-content: flex-start;
2264
- padding: 0px 48px;
2265
- gap: var(--gap-basere);
2266
- }
2267
-
2268
- .headerSeccionAlineaciones1420 {
2269
- display: none;
2270
- align-self: stretch;
2271
- background-color: var(--color-gray-200re);
2272
- flex-direction: column;
2273
- align-items: center;
2274
- justify-content: flex-start;
2275
- padding: 0px 48px;
2276
- gap: var(--gap-basere);
2277
- }
2278
-
2279
- .headerSeccionAlineaciones1880 {
2280
- display: none;
2281
- align-self: stretch;
2282
- background-color: var(--color-gray-200re);
2283
- flex-direction: column;
2284
- align-items: center;
2285
- justify-content: flex-start;
2286
- padding: 0px 48px;
2287
- gap: var(--gap-basere);
2288
- }
2289
-
2290
- .headerSeccionAlineaciones21200 {
2291
- display: none;
2292
- align-self: stretch;
2293
- width: auto;
2294
- max-width: 840px;
2295
- align-self: stretch;
2296
- background-color: var(--color-gray-200re);
2297
- flex-direction: column;
2298
- align-items: center;
2299
- justify-content: flex-start;
2300
- padding: 0px var(--padding-5xlre);
2301
- gap: var(--gap-basere);
2302
- }
2303
-
2304
- .headerSeccionAlineaciones2420 {
2305
- display: none;
2306
- align-self: stretch;
2307
- background-color: var(--color-gray-200re);
2308
- display: none;
2309
- flex-direction: column;
2310
- align-items: center;
2311
- justify-content: flex-start;
2312
- padding: 0px var(--padding-5xlre);
2313
- gap: var(--gap-basere);
2314
- }
2315
-
2316
- .headerSeccionAlineaciones2880 {
2317
- display: flex;
2318
- align-self: stretch;
2319
- background-color: var(--color-gray-200re);
2320
- flex-direction: column;
2321
- align-items: center;
2322
- justify-content: flex-start;
2323
- padding: 0px var(--padding-5xlre);
2324
- gap: var(--gap-basere);
2325
- }
2326
-
2327
- .headerSeccionAlineaciones2540 {
2328
- display: none;
2329
- align-self: stretch;
2330
- background-color: var(--color-gray-200re);
2331
- flex-direction: column;
2332
- align-items: center;
2333
- justify-content: flex-start;
2334
- padding: 0px var(--padding-5xlre);
2335
- gap: var(--gap-basere);
2336
- }
2337
- </style>
1
+ <template>
2
+ <div :class="$style.headerSeccionAlineaciones">
3
+ <div :class="headerSeccionAlineaciones1Class" id="header-desktop-full">
4
+ <div :class="$style.groupsLeagueParent">
5
+ <div :class="$style.groupsLeague">
6
+ <span>Las alineaciones de este partido </span>
7
+ <span :class="$style.anNoEstn">aún no están disponibles</span>
8
+ <span>. Por lo pronto puedes ver alineaciones:</span>
9
+ </div>
10
+ <div :class="$style.switchStatesBig" id="switch-lineup">
11
+ <GscSwitchComponent
12
+ :buttons="['Historicos', 'Recientes', 'Probables']"
13
+ :selectedOption="optionSelected"
14
+ :type="1"
15
+ width="600px"
16
+ :arrow="false"
17
+ borderRadius="32px"
18
+ height="28px"
19
+ fontSize="11px;"
20
+ fontFamily="Poppins-Regular"
21
+ border-width="1px"
22
+ border-width-container="0.5px"
23
+ backgroundOptionDisable="#162533"
24
+ @input="clickOnSelectOption"
25
+ />
26
+ </div>
27
+ </div>
28
+ <div :class="$style.matchContainer" id="match-container">
29
+ <div :class="$style.homeTeamContainer">
30
+ <div :class="$style.teamContainer">
31
+ <div :class="$style.imgHomeTeamWrapper">
32
+ <img
33
+ :class="$style.imgHomeTeamIcon"
34
+ alt=""
35
+ :src="
36
+ getImageUrl('https://golstatsimages.blob.core.windows.net/teams-80/' +
37
+ gameInfo.home_team +
38
+ '.png', provider)
39
+ "
40
+ />
41
+ </div>
42
+ </div>
43
+ <div :class="$style.name">{{ gameInfo.home_team_abbreviation }}</div>
44
+ </div>
45
+ <div :class="$style.teamSwitch" id="switch-team">
46
+ <GSCSwitchRadio
47
+ width="41px"
48
+ height="20px"
49
+ heightCircle="15px"
50
+ widthCircle="15px"
51
+ circle-color-switch="#cbee6b"
52
+ :text-option-left="gameInfo.home_team_abbreviation"
53
+ @change="changeSwitchRadio"
54
+ :text-option-right="gameInfo.away_team_abbreviation"
55
+ font-color="white"
56
+ :value-default="teamSelect"
57
+ :hidden-labels="true"
58
+ />
59
+ </div>
60
+ <div :class="$style.awayTeamContainer">
61
+ <div :class="$style.name">{{ gameInfo.away_team_abbreviation }}</div>
62
+ <div :class="$style.teamContainer1">
63
+ <div :class="$style.imgHomeTeamWrapper">
64
+ <img
65
+ :class="$style.imgHomeTeamIcon"
66
+ alt=""
67
+ :src="
68
+ getImageUrl('https://golstatsimages.blob.core.windows.net/teams-80/' +
69
+ gameInfo.away_team +
70
+ '.png', provider)
71
+ "
72
+ />
73
+ </div>
74
+ </div>
75
+ </div>
76
+ </div>
77
+
78
+ <div :class="$style.matchContainer1" id="match-info-container">
79
+ <div :class="$style.btnFilterParent">
80
+ <button :class="$style.btnFilter" id="btn-filters">
81
+ <div :class="$style.sortParent" @click="openFilter">
82
+ <img
83
+ :class="$style.sortIcon"
84
+ alt=""
85
+ src="https://golstatsimages.blob.core.windows.net/todoelfut/lineups/icn-filter.svg"
86
+ />
87
+ <div :class="$style.filtros">Filtros</div>
88
+ </div>
89
+ <img
90
+ :class="$style.shapeIcon"
91
+ alt=""
92
+ src="https://golstatsimages.blob.core.windows.net/todoelfut/lineups/icn-expand-arrow.svg"
93
+ />
94
+ <GSCFilter
95
+ :item-select="filterObject"
96
+ :is-open="openfiltervalue"
97
+ @change="changeFiltersModal"
98
+ :reset="vDeleteFilter"
99
+ margin-modal="-83px"
100
+ />
101
+ </button>
102
+ <GSCDropdown
103
+ @click="clickOnValueFilter"
104
+ v-if="gameRecientesFilter.length > 0"
105
+ :key="keyUpdate"
106
+ :default-item-by-prop="defaultDropItem"
107
+ :class="$style.btnFilter1"
108
+ id="btn-filters"
109
+ :items="matchdaysFinal"
110
+ @input="changeDropdown"
111
+ height="32px"
112
+ width="114px"
113
+ background-color="rgba(255, 255, 255, 0.05);"
114
+ color="white"
115
+ border-width="1"
116
+ borderColor="rgba(255, 255, 255, 0.2)"
117
+ border-radius="0px"
118
+ fontSize="10px"
119
+ arrowHeight="16"
120
+ :arrowWidth="16"
121
+ listHeight="300px"
122
+ listBackgroundColor="#243a4c"
123
+ hoverBackgroundColor="#0d1d2a"
124
+ listItemColor="#FFFFFF"
125
+ listItemSelectedBackgroundColor="#0d1d2a"
126
+ listItemSelectedColor="#c3e569"
127
+ listItemPadding="8px 7px"
128
+ listBorderColor="rgba(255, 255, 255, 0.1)"
129
+ listBorderRadius="2px"
130
+ >
131
+ <template #default="data">
132
+ <div class="selector-tournaments">{{ data.selectedItem.name }}</div>
133
+ </template>
134
+ <template #availableItem="{ item }">
135
+ <div>{{ item.name }}</div>
136
+ </template>
137
+ </GSCDropdown>
138
+ </div>
139
+ <div :class="$style.match">
140
+ <GSCCarousel
141
+ @click="clickOnValueCarrousel"
142
+ v-if="gameRecientesFilter.length > 0"
143
+ :key="updateCarouselGames"
144
+ :default-item-by-index="selectedIndexOption"
145
+ :items="gameRecientesFilter"
146
+ @input="changeCarouselItem"
147
+ isMainSlidePriority
148
+ areSlidesArrowsVisible
149
+ :areNavigationArrowsVisible="false"
150
+ slideLeftArrowBackgroundImage="none"
151
+ slideRightArrowBackgroundImage="none"
152
+ >
153
+ <template #default="{ item }">
154
+ <div :class="$style.selectoritem">
155
+ <div :class="$style.homeTeam">
156
+ <div :class="$style.teamContainer2">
157
+ <div :class="$style.manchesterUnited">{{ item.home_team_abbreviation }}</div>
158
+ <img
159
+ :class="$style.imgHomeTeamIcon"
160
+ alt=""
161
+ :src="
162
+ getImageUrl('https://golstatsimages.blob.core.windows.net/teams-80/' +
163
+ item.home_team +
164
+ '.png', provider)
165
+ "
166
+ />
167
+ </div>
168
+ </div>
169
+ <div :class="$style.scoreContainer1">
170
+ <div :class="$style.finalScore">
171
+ <div :class="$style.div4" v-if="Object.keys(item).length > 0">
172
+ {{ item.score[0] }}
173
+ </div>
174
+ <div :class="$style.div4">-</div>
175
+ <div :class="$style.div4" v-if="Object.keys(item).length > 0">
176
+ <template v-if="Array.isArray(item.score)">{{ item.score[1] }}</template>
177
+ <template v-else>{{ item.score[4] }}</template>
178
+ </div>
179
+ </div>
180
+ <div :class="$style.manchesterUnited1">
181
+ <template v-if="item.home_team_abbreviation == teamSelect">
182
+ <template v-if="item.home_match_result == 1">Ganado</template>
183
+ <template v-if="item.home_match_result == 2">Perdido</template>
184
+ <template v-if="item.home_match_result == 3">Empatado</template>
185
+ </template>
186
+ <template v-if="item.away_team_abbreviation == teamSelect">
187
+ <template v-if="item.visiting_match_result == 1">Ganado</template>
188
+ <template v-if="item.visiting_match_result == 2">Perdido</template>
189
+ <template v-if="item.visiting_match_result == 3">Empatado</template>
190
+ </template>
191
+ </div>
192
+ </div>
193
+ <div :class="$style.homeTeam">
194
+ <div :class="$style.teamContainer2">
195
+ <img
196
+ :class="$style.imgHomeTeamIcon"
197
+ alt=""
198
+ :src="
199
+ getImageUrl('https://golstatsimages.blob.core.windows.net/teams-80/' +
200
+ item.away_team +
201
+ '.png', provider)
202
+ "
203
+ />
204
+ <div :class="$style.manchesterUnited">{{ item.away_team_abbreviation }}</div>
205
+ </div>
206
+ </div>
207
+ </div>
208
+ </template>
209
+ </GSCCarousel>
210
+ <div v-else>
211
+ <div :class="$style.containernofoundsearchrecientes">
212
+ <div :class="$style.leyenddeleteshow">
213
+ No hay resultados con los criterios<br />de búsqueda aplicados.
214
+ </div>
215
+ <div :class="$style.btndeletefilters" @click="deleteFilters">
216
+ Eliminar filtros aplicados
217
+ </div>
218
+ </div>
219
+ </div>
220
+ <GSCMatchDetails
221
+ style="margin-top: 30px"
222
+ v-if="showDetails"
223
+ :localDetails="localDetails"
224
+ :foreignDetails="foreignDetails"
225
+ />
226
+ </div>
227
+ <div :class="$style.btnDetails">
228
+ <div :class="$style.manchesterUnited2" @click="clickShowDetails">
229
+ <template v-if="showDetails">Ocultar detalles</template
230
+ ><template v-else>Ver detalles</template>
231
+ </div>
232
+ </div>
233
+ </div>
234
+ </div>
235
+ <div :class="headerSeccionAlineaciones2Class" id="header-desktop">
236
+ <div :class="$style.groupsLeagueParent">
237
+ <div :class="$style.groupsLeague">
238
+ <span>Las alineaciones de este partido </span>
239
+ <span :class="$style.anNoEstn">aún no están disponibles</span>
240
+ <span>. Por lo pronto puedes ver alineaciones:</span>
241
+ </div>
242
+ <div :class="$style.switchStatesBig" id="switch-lineup">
243
+ <GscSwitchComponent
244
+ :buttons="['Historicos', 'Recientes', 'Probables']"
245
+ :selectedOption="optionSelected"
246
+ :type="1"
247
+ width="600px"
248
+ :arrow="false"
249
+ borderRadius="32px"
250
+ height="28px"
251
+ fontSize="11px;"
252
+ fontFamily="Poppins-Regular"
253
+ border-width="1px"
254
+ border-width-container="0.5px"
255
+ backgroundOptionDisable="#162533"
256
+ @input="clickOnSelectOption"
257
+ />
258
+ </div>
259
+ </div>
260
+ <div :class="$style.matchContainer" id="match-container">
261
+ <div :class="$style.homeTeamContainer">
262
+ <div :class="$style.teamContainer">
263
+ <div :class="$style.imgHomeTeamWrapper">
264
+ <img
265
+ :class="$style.imgHomeTeamIcon"
266
+ alt=""
267
+ :src="
268
+ getImageUrl('https://golstatsimages.blob.core.windows.net/teams-80/' +
269
+ gameInfo.home_team +
270
+ '.png', provider)
271
+ "
272
+ />
273
+ </div>
274
+ </div>
275
+ <div :class="$style.name">{{ gameInfo.home_team_abbreviation }}</div>
276
+ </div>
277
+ <div :class="$style.teamSwitch" id="switch-team">
278
+ <GSCSwitchRadio
279
+ width="41px"
280
+ height="20px"
281
+ heightCircle="15px"
282
+ widthCircle="15px"
283
+ circle-color-switch="#cbee6b"
284
+ :text-option-left="gameInfo.home_team_abbreviation"
285
+ @change="changeSwitchRadio"
286
+ :text-option-right="gameInfo.away_team_abbreviation"
287
+ font-color="white"
288
+ :value-default="teamSelect"
289
+ :hidden-labels="true"
290
+ />
291
+ </div>
292
+ <div :class="$style.awayTeamContainer">
293
+ <div :class="$style.name">{{ gameInfo.away_team_abbreviation }}</div>
294
+ <div :class="$style.teamContainer1">
295
+ <div :class="$style.imgHomeTeamWrapper">
296
+ <img
297
+ :class="$style.imgHomeTeamIcon"
298
+ alt=""
299
+ :src="
300
+ getImageUrl('https://golstatsimages.blob.core.windows.net/teams-80/' +
301
+ gameInfo.away_team +
302
+ '.png', provider)
303
+ "
304
+ />
305
+ </div>
306
+ </div>
307
+ </div>
308
+ </div>
309
+
310
+ <div :class="$style.matchContainer3">
311
+ <button :class="$style.btnFilter2" id="btn-filters">
312
+ <div :class="$style.sortParent" @click="openFilter">
313
+ <img
314
+ :class="$style.sortIcon"
315
+ alt=""
316
+ src="https://golstatsimages.blob.core.windows.net/todoelfut/lineups/icn-filter1.svg"
317
+ />
318
+ <div :class="$style.filtros">Filtros</div>
319
+ </div>
320
+ <img
321
+ :class="$style.shapeIcon"
322
+ alt=""
323
+ src="https://golstatsimages.blob.core.windows.net/todoelfut/lineups/icn-expand-arrow1.svg"
324
+ />
325
+ <GSCFilter
326
+ :item-select="filterObject"
327
+ :is-open="openfiltervalue"
328
+ @change="changeFiltersModal"
329
+ margin-modal="-99px"
330
+ />
331
+ </button>
332
+ <GSCDropdown
333
+ @click="clickOnValueFilter"
334
+ v-if="gameRecientesFilter.length > 0"
335
+ :key="keyUpdate"
336
+ :default-item-by-prop="defaultDropItem"
337
+ :class="$style.btnFilter1"
338
+ id="btn-filters"
339
+ :items="matchdaysFinal"
340
+ @input="changeDropdown"
341
+ height="32px"
342
+ width="114px"
343
+ background-color="rgba(255, 255, 255, 0.05);"
344
+ color="white"
345
+ border-width="1"
346
+ borderColor="rgba(255, 255, 255, 0.2)"
347
+ border-radius="0px"
348
+ fontSize="10px"
349
+ arrowHeight="16"
350
+ :arrowWidth="16"
351
+ listHeight="300px"
352
+ listBackgroundColor="#243a4c"
353
+ hoverBackgroundColor="#0d1d2a"
354
+ listItemColor="#FFFFFF"
355
+ listItemSelectedBackgroundColor="#0d1d2a"
356
+ listItemSelectedColor="#c3e569"
357
+ listItemPadding="8px 7px"
358
+ listBorderColor="rgba(255, 255, 255, 0.1)"
359
+ listBorderRadius="2px"
360
+ >
361
+ <template #default="data">
362
+ <div class="selector-tournaments">{{ data.selectedItem.name }}</div>
363
+ </template>
364
+ <template #availableItem="{ item }">
365
+ <div>{{ item.name }}</div>
366
+ </template>
367
+ </GSCDropdown>
368
+ <div :class="$style.btnDetails1">
369
+ <div :class="$style.manchesterUnited2" @click="clickShowDetails">
370
+ <template v-if="showDetails">Ocultar detalles</template
371
+ ><template v-else>Ver detalles</template>
372
+ </div>
373
+ </div>
374
+ </div>
375
+ <div :class="$style.matchContainer1" id="match-info-container">
376
+ <div :class="$style.match1">
377
+ <GSCCarousel
378
+ v-if="gameRecientesFilter.length > 0"
379
+ :items="gameRecientesFilter"
380
+ :key="updateCarouselGames"
381
+ :default-item-by-index="selectedIndexOption"
382
+ @input="changeCarouselItem"
383
+ isMainSlidePriority
384
+ areSlidesArrowsVisible
385
+ :areNavigationArrowsVisible="false"
386
+ slideLeftArrowBackgroundImage="none"
387
+ slideRightArrowBackgroundImage="none"
388
+ >
389
+ <template #default="{ item }">
390
+ <div :class="$style.selectoritem">
391
+ <div :class="$style.homeTeam">
392
+ <div :class="$style.teamContainer2">
393
+ <div :class="$style.manchesterUnited">{{ item.home_team_abbreviation }}</div>
394
+ <img
395
+ :class="$style.imgHomeTeamIcon"
396
+ alt=""
397
+ :src="
398
+ getImageUrl('https://golstatsimages.blob.core.windows.net/teams-80/' +
399
+ item.home_team +
400
+ '.png', provider)
401
+ "
402
+ />
403
+ </div>
404
+ </div>
405
+ <div :class="$style.scoreContainer1">
406
+ <div :class="$style.finalScore">
407
+ <div :class="$style.div4" v-if="Object.keys(item).length > 0">
408
+ {{ item.score[0] }}
409
+ </div>
410
+ <div :class="$style.div4">-</div>
411
+ <div :class="$style.div4" v-if="Object.keys(item).length > 0">
412
+ <template v-if="Array.isArray(item.score)">{{ item.score[1] }}</template>
413
+ <template v-else>{{ item.score[4] }}</template>
414
+ </div>
415
+ </div>
416
+ <div :class="$style.manchesterUnited1">
417
+ <template v-if="item.home_team_abbreviation == teamSelect">
418
+ <template v-if="item.home_match_result == 1">Ganado</template>
419
+ <template v-if="item.home_match_result == 2">Perdido</template>
420
+ <template v-if="item.home_match_result == 3">Empatado</template>
421
+ </template>
422
+ <template v-if="item.away_team_abbreviation == teamSelect">
423
+ <template v-if="item.visiting_match_result == 1">Ganado</template>
424
+ <template v-if="item.visiting_match_result == 2">Perdido</template>
425
+ <template v-if="item.visiting_match_result == 3">Empatado</template>
426
+ </template>
427
+ </div>
428
+ </div>
429
+ <div :class="$style.homeTeam">
430
+ <div :class="$style.teamContainer2">
431
+ <img
432
+ :class="$style.imgHomeTeamIcon"
433
+ alt=""
434
+ :src="
435
+ getImageUrl('https://golstatsimages.blob.core.windows.net/teams-80/' +
436
+ item.away_team +
437
+ '.png', provider)
438
+ "
439
+ />
440
+ <div :class="$style.manchesterUnited">{{ item.away_team_abbreviation }}</div>
441
+ </div>
442
+ </div>
443
+ </div>
444
+ </template>
445
+ </GSCCarousel>
446
+ <div v-else>
447
+ <div :class="$style.containernofoundsearchrecientes">
448
+ <div :class="$style.leyenddeleteshow">
449
+ No hay resultados con los criterios<br />de búsqueda aplicados.
450
+ </div>
451
+ <div :class="$style.btndeletefilters" @click="deleteFilters">
452
+ Eliminar filtros aplicados
453
+ </div>
454
+ </div>
455
+ </div>
456
+ <GSCMatchDetails
457
+ style="margin-top: 30px"
458
+ v-if="showDetails"
459
+ :localDetails="localDetails"
460
+ :foreignDetails="foreignDetails"
461
+ />
462
+ </div>
463
+ </div>
464
+ </div>
465
+ <div :class="headerSeccionAlineaciones3Class" id="header-mobile">
466
+ <div :class="$style.switchStatesBig2" id="switch-lineup">
467
+ <GscSwitchComponent
468
+ :buttons="['Historicos', 'Recientes', 'Probables']"
469
+ :selectedOption="optionSelected"
470
+ :type="1"
471
+ width="600px"
472
+ :arrow="false"
473
+ borderRadius="32px"
474
+ height="28px"
475
+ fontSize="11px;"
476
+ fontFamily="Poppins-Regular"
477
+ border-width="1px"
478
+ border-width-container="0.5px"
479
+ backgroundOptionDisable="#162533"
480
+ @input="clickOnSelectOption"
481
+ />
482
+ </div>
483
+ <div :class="$style.containerData">
484
+ <div :class="$style.manchesterUnited26">Alineación utilizada en:</div>
485
+ <div :class="$style.matchContainer5" id="match-container">
486
+ <div :class="$style.homeTeamContainer2">
487
+ <div :class="$style.teamContainer">
488
+ <div :class="$style.imgHomeTeamWrapper">
489
+ <img
490
+ :class="$style.imgHomeTeamIcon"
491
+ alt=""
492
+ :src="
493
+ getImageUrl('https://golstatsimages.blob.core.windows.net/teams-80/' +
494
+ gameInfo.home_team +
495
+ '.png', provider)
496
+ "
497
+ />
498
+ </div>
499
+ </div>
500
+ <div :class="$style.name">{{ gameInfo.home_team_abbreviation }}</div>
501
+ </div>
502
+ <div :class="$style.teamSwitch" id="switch-team">
503
+ <GSCSwitchRadio
504
+ width="41px"
505
+ height="20px"
506
+ heightCircle="15px"
507
+ widthCircle="15px"
508
+ circle-color-switch="#cbee6b"
509
+ :text-option-left="gameInfo.home_team_abbreviation"
510
+ @change="changeSwitchRadio"
511
+ :text-option-right="gameInfo.away_team_abbreviation"
512
+ font-color="white"
513
+ :value-default="teamSelect"
514
+ :hidden-labels="true"
515
+ />
516
+ </div>
517
+ <div :class="$style.homeTeamContainer2">
518
+ <div :class="$style.name">{{ gameInfo.away_team_abbreviation }}</div>
519
+ <div :class="$style.teamContainer1">
520
+ <div :class="$style.imgHomeTeamWrapper">
521
+ <img
522
+ :class="$style.imgHomeTeamIcon"
523
+ alt=""
524
+ :src="
525
+ getImageUrl('https://golstatsimages.blob.core.windows.net/teams-80/' +
526
+ gameInfo.away_team +
527
+ '.png', provider)
528
+ "
529
+ />
530
+ </div>
531
+ </div>
532
+ </div>
533
+ </div>
534
+ <div :class="$style.filtersContainer">
535
+ <button :class="$style.btnFilter4" id="btn-filters">
536
+ <div :class="$style.sortParent" @click="openFilter">
537
+ <img
538
+ :class="$style.sortIcon"
539
+ alt=""
540
+ src="https://golstatsimages.blob.core.windows.net/todoelfut/lineups/icn-filter2.svg"
541
+ />
542
+ <div :class="$style.filtros2">Filtros</div>
543
+ </div>
544
+ <img
545
+ :class="$style.shapeIcon"
546
+ alt=""
547
+ src="https://golstatsimages.blob.core.windows.net/todoelfut/lineups/icn-arrow-expand.svg"
548
+ />
549
+ <GSCFilter
550
+ :item-select="filterObject"
551
+ :is-open="openfiltervalue"
552
+ @change="changeFiltersModal"
553
+ margin-modal="-75px"
554
+ />
555
+ </button>
556
+ <GSCDropdown
557
+ @click="clickOnValueFilter"
558
+ v-if="gameRecientesFilter.length > 0"
559
+ :key="keyUpdate"
560
+ :default-item-by-prop="defaultDropItem"
561
+ :class="$style.filterMatchday"
562
+ id="menu-matchday"
563
+ :items="matchdaysFinal"
564
+ @input="changeDropdown"
565
+ height="25px"
566
+ width="100px"
567
+ background-color="rgba(255, 255, 255, 0.05);"
568
+ color="white"
569
+ border-width="1"
570
+ borderColor="rgba(255, 255, 255, 0.2)"
571
+ border-radius="0px"
572
+ fontSize="10px"
573
+ arrowHeight="16"
574
+ :arrowWidth="16"
575
+ listHeight="300px"
576
+ listBackgroundColor="#243a4c"
577
+ hoverBackgroundColor="#0d1d2a"
578
+ listItemColor="#FFFFFF"
579
+ listItemSelectedBackgroundColor="#0d1d2a"
580
+ listItemSelectedColor="#c3e569"
581
+ listItemPadding="8px 7px"
582
+ listBorderColor="rgba(255, 255, 255, 0.1)"
583
+ listBorderRadius="2px"
584
+ >
585
+ <template #default="data">
586
+ <div class="selector-tournaments">{{ data.selectedItem.name }}</div>
587
+ </template>
588
+ <template #availableItem="{ item }">
589
+ <div>{{ item.name }}</div>
590
+ </template>
591
+ </GSCDropdown>
592
+ <div :class="$style.btnDetails2">
593
+ <div :class="$style.manchesterUnited2" @click="clickShowDetails">
594
+ <template v-if="showDetails">Ocultar detalles</template
595
+ ><template v-else>Ver detalles</template>
596
+ </div>
597
+ </div>
598
+ </div>
599
+ <div :class="$style.matchDetailContainer">
600
+ <div :class="$style.matchContainer6" id="match-info-container">
601
+ <div :class="$style.match">
602
+ <GSCCarousel
603
+ v-if="gameRecientesFilter.length > 0"
604
+ :key="updateCarouselGames"
605
+ :default-item-by-index="selectedIndexOption"
606
+ :items="gameRecientesFilter"
607
+ @input="changeCarouselItem"
608
+ isMainSlidePriority
609
+ areSlidesArrowsVisible
610
+ :areNavigationArrowsVisible="false"
611
+ slideLeftArrowBackgroundImage="none"
612
+ slideRightArrowBackgroundImage="none"
613
+ >
614
+ <template #default="{ item }">
615
+ <div :class="$style.selectoritem">
616
+ <div :class="$style.homeTeam">
617
+ <div :class="$style.teamContainer2">
618
+ <div :class="$style.manchesterUnited">
619
+ {{ item.home_team_abbreviation }}
620
+ </div>
621
+ <img
622
+ :class="$style.imgHomeTeamIcon"
623
+ alt=""
624
+ :src="
625
+ getImageUrl('https://golstatsimages.blob.core.windows.net/teams-80/' +
626
+ item.home_team +
627
+ '.png', provider)
628
+ "
629
+ />
630
+ </div>
631
+ </div>
632
+ <div :class="$style.scoreContainer1">
633
+ <div :class="$style.finalScore">
634
+ <div :class="$style.div4" v-if="Object.keys(item).length > 0">
635
+ {{ item.score[0] }}
636
+ </div>
637
+ <div :class="$style.div4">-</div>
638
+ <div :class="$style.div4" v-if="Object.keys(item).length > 0">
639
+ <template v-if="Array.isArray(item.score)">{{ item.score[1] }}</template>
640
+ <template v-else>{{ item.score[4] }}</template>
641
+ </div>
642
+ </div>
643
+ <div :class="$style.manchesterUnited1">
644
+ <template v-if="item.home_team_abbreviation == teamSelect">
645
+ <template v-if="item.home_match_result == 1">Ganado</template>
646
+ <template v-if="item.home_match_result == 2">Perdido</template>
647
+ <template v-if="item.home_match_result == 3">Empatado</template>
648
+ </template>
649
+ <template v-if="item.away_team_abbreviation == teamSelect">
650
+ <template v-if="item.visiting_match_result == 1">Ganado</template>
651
+ <template v-if="item.visiting_match_result == 2">Perdido</template>
652
+ <template v-if="item.visiting_match_result == 3">Empatado</template>
653
+ </template>
654
+ </div>
655
+ </div>
656
+ <div :class="$style.homeTeam">
657
+ <div :class="$style.teamContainer2">
658
+ <img
659
+ :class="$style.imgHomeTeamIcon"
660
+ alt=""
661
+ :src="
662
+ getImageUrl('https://golstatsimages.blob.core.windows.net/teams-80/' +
663
+ item.away_team +
664
+ '.png', provider)
665
+ "
666
+ />
667
+ <div :class="$style.manchesterUnited">
668
+ {{ item.away_team_abbreviation }}
669
+ </div>
670
+ </div>
671
+ </div>
672
+ </div>
673
+ </template>
674
+ </GSCCarousel>
675
+ <div v-else>
676
+ <div :class="$style.containernofoundsearchrecientes">
677
+ <div :class="$style.leyenddeleteshow">
678
+ No hay resultados con los criterios<br />de búsqueda aplicados.
679
+ </div>
680
+ <div :class="$style.btndeletefilters" @click="deleteFilters">
681
+ Eliminar filtros aplicados
682
+ </div>
683
+ </div>
684
+ </div>
685
+ <GSCMatchDetails
686
+ style="margin-top: 30px"
687
+ v-if="showDetails"
688
+ :localDetails="localDetails"
689
+ :foreignDetails="foreignDetails"
690
+ />
691
+ </div>
692
+ </div>
693
+ </div>
694
+ </div>
695
+ </div>
696
+ </div>
697
+ </template>
698
+
699
+ <script>
700
+ import { GSCDropdown } from '@golstats/gsc-dropdown'
701
+ import '@@/@golstats/gsc-dropdown/dist/style.css'
702
+ import '@@/@golstats/gsc-carousel/dist/style.css'
703
+ import { GSCCarousel } from '@golstats/gsc-carousel'
704
+ import { GscSwitchComponent } from '@golstats/gsc-switch-component'
705
+ import '@@/@golstats/gsc-switch-component/dist/style.css'
706
+ import GSCFilter from './gsc-filter.vue'
707
+ import GSCMatchDetails from './Lineup2D/MatchDetails.vue'
708
+ import { GSCSwitchRadio } from '@golstats/gsc-switch-radio'
709
+ import '@@/@golstats/gsc-switch-radio/dist/style.css'
710
+ import { getImageUrl } from '@/utils/imageUrl'
711
+ export default {
712
+ components: {
713
+ GSCCarousel,
714
+ GscSwitchComponent,
715
+ GSCDropdown,
716
+ GSCFilter,
717
+ GSCSwitchRadio,
718
+ GSCMatchDetails,
719
+ },
720
+ props: {
721
+ provider: {
722
+ type: Number,
723
+ default: 1,
724
+ },
725
+ widthSize: {
726
+ type: Number,
727
+ default: 0,
728
+ },
729
+ optionSelected: {
730
+ type: String,
731
+ default: 'Historicos',
732
+ },
733
+ selectedOption: {
734
+ type: String,
735
+ default: 'Historicos',
736
+ },
737
+ gameInfo: {
738
+ type: Object,
739
+ default: () => {},
740
+ },
741
+ gameRecientes: {
742
+ type: Array,
743
+ default: () => [],
744
+ },
745
+ matchdaysDefault: {
746
+ type: Array,
747
+ default: () => [],
748
+ },
749
+ },
750
+ watch: {
751
+ optionSelected: {
752
+ immediate: true,
753
+ handler: async function (newValue) {
754
+ if (newValue == 'Recientes') {
755
+ this.auxISsection = 1
756
+ }
757
+ },
758
+ },
759
+ gameInfo: {
760
+ immediate: true,
761
+ handler: async function (newValue) {
762
+ try {
763
+ this.teamSelect = newValue.home_team_abbreviation
764
+ this.matchFilter()
765
+ } catch (e) {
766
+ throw new Error(e)
767
+ }
768
+ },
769
+ },
770
+ gameRecientes: {
771
+ immediate: true,
772
+ handler: async function (newValue) {
773
+ this.matchFilter()
774
+ },
775
+ },
776
+ },
777
+ data() {
778
+ return {
779
+ playminutes: [],
780
+ showDetails: false,
781
+ teamSelect: '',
782
+ defaultDropItem: {},
783
+ updateCarouselGames: 0,
784
+ valLast: {},
785
+ selectedIndexOption: 0,
786
+ openfiltervalue: false,
787
+ vDeleteFilter: false,
788
+ filterObject: {},
789
+ coutChange: 0,
790
+ auxISsection: 0,
791
+ matchdaysFiltersUpdate: [],
792
+ gamesFiltersUpdate: [],
793
+ localDetails: [],
794
+ keyUpdate: 0,
795
+ foreignDetails: [],
796
+ }
797
+ },
798
+ computed: {
799
+ matchdaysFinal() {
800
+ var matchdaysFinal = []
801
+ if (typeof this.filterObject.selectedFilterResults !== 'undefined') {
802
+ if (Object.keys(this.filterObject.selectedFilterResults).length != 3) {
803
+ if (Object.keys(this.filterObject.selectedFilterResults).length == 2) {
804
+ if (
805
+ Object.values(this.filterObject.selectedFilterResults).includes('win') &&
806
+ Object.values(this.filterObject.selectedFilterResults).includes('draw')
807
+ ) {
808
+ for (let index = 0; index < this.matchdaysFiltersUpdate.length; index++) {
809
+ if (this.matchdaysFiltersUpdate[index].match_result == 1) {
810
+ matchdaysFinal.push(this.matchdaysFiltersUpdate[index])
811
+ }
812
+ }
813
+ for (let index = 0; index < this.matchdaysFiltersUpdate.length; index++) {
814
+ if (this.matchdaysFiltersUpdate[index].match_result == 3) {
815
+ matchdaysFinal.push(this.matchdaysFiltersUpdate[index])
816
+ }
817
+ }
818
+ }
819
+ if (
820
+ Object.values(this.filterObject.selectedFilterResults).includes('win') &&
821
+ Object.values(this.filterObject.selectedFilterResults).includes('lose')
822
+ ) {
823
+ for (let index = 0; index < this.matchdaysFiltersUpdate.length; index++) {
824
+ if (this.matchdaysFiltersUpdate[index].match_result == 1) {
825
+ matchdaysFinal.push(this.matchdaysFiltersUpdate[index])
826
+ }
827
+ }
828
+ for (let index = 0; index < this.matchdaysFiltersUpdate.length; index++) {
829
+ if (this.matchdaysFiltersUpdate[index].match_result == 2) {
830
+ matchdaysFinal.push(this.matchdaysFiltersUpdate[index])
831
+ }
832
+ }
833
+ }
834
+ if (
835
+ Object.values(this.filterObject.selectedFilterResults).includes('lose') &&
836
+ Object.values(this.filterObject.selectedFilterResults).includes('draw')
837
+ ) {
838
+ for (let index = 0; index < this.matchdaysFiltersUpdate.length; index++) {
839
+ if (this.matchdaysFiltersUpdate[index].match_result == 3) {
840
+ matchdaysFinal.push(this.matchdaysFiltersUpdate[index])
841
+ }
842
+ }
843
+ for (let index = 0; index < this.matchdaysFiltersUpdate.length; index++) {
844
+ if (this.matchdaysFiltersUpdate[index].match_result == 2) {
845
+ matchdaysFinal.push(this.matchdaysFiltersUpdate[index])
846
+ }
847
+ }
848
+ }
849
+ } else {
850
+ if (this.filterObject.selectedFilterResults[0] == 'win') {
851
+ for (let index = 0; index < this.matchdaysFiltersUpdate.length; index++) {
852
+ if (this.matchdaysFiltersUpdate[index].match_result == 1) {
853
+ matchdaysFinal.push(this.matchdaysFiltersUpdate[index])
854
+ }
855
+ }
856
+ }
857
+ if (this.filterObject.selectedFilterResults[0] == 'lose') {
858
+ for (let index = 0; index < this.matchdaysFiltersUpdate.length; index++) {
859
+ if (this.matchdaysFiltersUpdate[index].match_result == 2) {
860
+ matchdaysFinal.push(this.matchdaysFiltersUpdate[index])
861
+ }
862
+ }
863
+ }
864
+ if (this.filterObject.selectedFilterResults[0] == 'draw') {
865
+ for (let index = 0; index < this.matchdaysFiltersUpdate.length; index++) {
866
+ if (this.matchdaysFiltersUpdate[index].match_result == 3) {
867
+ matchdaysFinal.push(this.matchdaysFiltersUpdate[index])
868
+ }
869
+ }
870
+ }
871
+ }
872
+ } else {
873
+ for (let index = 0; index < this.matchdaysFiltersUpdate.length; index++) {
874
+ matchdaysFinal.push(this.matchdaysFiltersUpdate[index])
875
+ }
876
+ }
877
+ } else {
878
+ for (let index = 0; index < this.matchdaysFiltersUpdate.length; index++) {
879
+ matchdaysFinal.push(this.matchdaysFiltersUpdate[index])
880
+ }
881
+ }
882
+ matchdaysFinal.sort((a, b) => b.id - a.id)
883
+ return matchdaysFinal
884
+ },
885
+ gameRecientesFilter() {
886
+ var gameFilterFinal = []
887
+ if (typeof this.filterObject.selectedFilterResults !== 'undefined') {
888
+ if (Object.keys(this.filterObject.selectedFilterResults).length != 3) {
889
+ if (Object.keys(this.filterObject.selectedFilterResults).length == 2) {
890
+ if (
891
+ Object.values(this.filterObject.selectedFilterResults).includes('win') &&
892
+ Object.values(this.filterObject.selectedFilterResults).includes('draw')
893
+ ) {
894
+ for (let index = 0; index < this.gamesFiltersUpdate.length; index++) {
895
+ if (
896
+ (this.gamesFiltersUpdate[index].away_team_abbreviation == this.teamSelect &&
897
+ this.gamesFiltersUpdate[index].visiting_match_result == 1) ||
898
+ (this.gamesFiltersUpdate[index].home_team_abbreviation == this.teamSelect &&
899
+ this.gamesFiltersUpdate[index].home_match_result == 1)
900
+ ) {
901
+ gameFilterFinal.push(this.gamesFiltersUpdate[index])
902
+ }
903
+ }
904
+ for (let index = 0; index < this.gamesFiltersUpdate.length; index++) {
905
+ if (
906
+ (this.gamesFiltersUpdate[index].away_team_abbreviation == this.teamSelect &&
907
+ this.gamesFiltersUpdate[index].visiting_match_result == 3) ||
908
+ (this.gamesFiltersUpdate[index].home_team_abbreviation == this.teamSelect &&
909
+ this.gamesFiltersUpdate[index].home_match_result == 3)
910
+ ) {
911
+ gameFilterFinal.push(this.gamesFiltersUpdate[index])
912
+ }
913
+ }
914
+ }
915
+ if (
916
+ Object.values(this.filterObject.selectedFilterResults).includes('win') &&
917
+ Object.values(this.filterObject.selectedFilterResults).includes('lose')
918
+ ) {
919
+ for (let index = 0; index < this.gamesFiltersUpdate.length; index++) {
920
+ if (
921
+ (this.gamesFiltersUpdate[index].away_team_abbreviation == this.teamSelect &&
922
+ this.gamesFiltersUpdate[index].visiting_match_result == 1) ||
923
+ (this.gamesFiltersUpdate[index].home_team_abbreviation == this.teamSelect &&
924
+ this.gamesFiltersUpdate[index].home_match_result == 1)
925
+ ) {
926
+ gameFilterFinal.push(this.gamesFiltersUpdate[index])
927
+ }
928
+ }
929
+ for (let index = 0; index < this.gamesFiltersUpdate.length; index++) {
930
+ if (
931
+ (this.gamesFiltersUpdate[index].away_team_abbreviation == this.teamSelect &&
932
+ this.gamesFiltersUpdate[index].visiting_match_result == 2) ||
933
+ (this.gamesFiltersUpdate[index].home_team_abbreviation == this.teamSelect &&
934
+ this.gamesFiltersUpdate[index].home_match_result == 2)
935
+ ) {
936
+ gameFilterFinal.push(this.gamesFiltersUpdate[index])
937
+ }
938
+ }
939
+ }
940
+ if (
941
+ Object.values(this.filterObject.selectedFilterResults).includes('lose') &&
942
+ Object.values(this.filterObject.selectedFilterResults).includes('draw')
943
+ ) {
944
+ for (let index = 0; index < this.gamesFiltersUpdate.length; index++) {
945
+ if (
946
+ (this.gamesFiltersUpdate[index].away_team_abbreviation == this.teamSelect &&
947
+ this.gamesFiltersUpdate[index].visiting_match_result == 3) ||
948
+ (this.gamesFiltersUpdate[index].home_team_abbreviation == this.teamSelect &&
949
+ this.gamesFiltersUpdate[index].home_match_result == 3)
950
+ ) {
951
+ gameFilterFinal.push(this.gamesFiltersUpdate[index])
952
+ }
953
+ }
954
+ for (let index = 0; index < this.gamesFiltersUpdate.length; index++) {
955
+ if (
956
+ (this.gamesFiltersUpdate[index].away_team_abbreviation == this.teamSelect &&
957
+ this.gamesFiltersUpdate[index].visiting_match_result == 2) ||
958
+ (this.gamesFiltersUpdate[index].home_team_abbreviation == this.teamSelect &&
959
+ this.gamesFiltersUpdate[index].home_match_result == 2)
960
+ ) {
961
+ gameFilterFinal.push(this.gamesFiltersUpdate[index])
962
+ }
963
+ }
964
+ }
965
+ } else {
966
+ if (this.filterObject.selectedFilterResults[0] == 'win') {
967
+ for (let index = 0; index < this.matchdaysFiltersUpdate.length; index++) {
968
+ if (
969
+ (this.gamesFiltersUpdate[index].away_team_abbreviation == this.teamSelect &&
970
+ this.gamesFiltersUpdate[index].visiting_match_result == 1) ||
971
+ (this.gamesFiltersUpdate[index].home_team_abbreviation == this.teamSelect &&
972
+ this.gamesFiltersUpdate[index].home_match_result == 1)
973
+ ) {
974
+ gameFilterFinal.push(this.gamesFiltersUpdate[index])
975
+ }
976
+ }
977
+ }
978
+ if (this.filterObject.selectedFilterResults[0] == 'lose') {
979
+ for (let index = 0; index < this.matchdaysFiltersUpdate.length; index++) {
980
+ if (
981
+ (this.gamesFiltersUpdate[index].away_team_abbreviation == this.teamSelect &&
982
+ this.gamesFiltersUpdate[index].visiting_match_result == 2) ||
983
+ (this.gamesFiltersUpdate[index].home_team_abbreviation == this.teamSelect &&
984
+ this.gamesFiltersUpdate[index].home_match_result == 2)
985
+ ) {
986
+ gameFilterFinal.push(this.gamesFiltersUpdate[index])
987
+ }
988
+ }
989
+ }
990
+ if (this.filterObject.selectedFilterResults[0] == 'draw') {
991
+ for (let index = 0; index < this.matchdaysFiltersUpdate.length; index++) {
992
+ if (
993
+ (this.gamesFiltersUpdate[index].away_team_abbreviation == this.teamSelect &&
994
+ this.gamesFiltersUpdate[index].visiting_match_result == 3) ||
995
+ (this.gamesFiltersUpdate[index].home_team_abbreviation == this.teamSelect &&
996
+ this.gamesFiltersUpdate[index].home_match_result == 3)
997
+ ) {
998
+ gameFilterFinal.push(this.gamesFiltersUpdate[index])
999
+ }
1000
+ }
1001
+ }
1002
+ }
1003
+ } else {
1004
+ for (let index = 0; index < this.gamesFiltersUpdate.length; index++) {
1005
+ gameFilterFinal.push(this.gamesFiltersUpdate[index])
1006
+ }
1007
+ }
1008
+ } else {
1009
+ for (let index = 0; index < this.gamesFiltersUpdate.length; index++) {
1010
+ gameFilterFinal.push(this.gamesFiltersUpdate[index])
1011
+ }
1012
+ }
1013
+ gameFilterFinal.sort((a, b) => a.matchday_id - b.matchday_id)
1014
+ return gameFilterFinal
1015
+ },
1016
+ headerSeccionAlineaciones1Class() {
1017
+ const width = this.widthSize
1018
+ if (width <= 420) {
1019
+ return this.$style.headerSeccionAlineaciones1420
1020
+ } else if (width <= 880) {
1021
+ return this.$style.headerSeccionAlineaciones1880
1022
+ } else if (width <= 1200) {
1023
+ return this.$style.headerSeccionAlineaciones11200
1024
+ } else {
1025
+ return this.$style.headerSeccionAlineaciones1
1026
+ }
1027
+ },
1028
+ headerSeccionAlineaciones2Class() {
1029
+ const width = this.widthSize
1030
+ if (width <= 420) {
1031
+ return this.$style.headerSeccionAlineaciones2420
1032
+ } else if (width <= 540) {
1033
+ return this.$style.headerSeccionAlineaciones2540
1034
+ } else if (width <= 880) {
1035
+ return this.$style.headerSeccionAlineaciones2880
1036
+ } else if (width <= 1200) {
1037
+ return this.$style.headerSeccionAlineaciones21200
1038
+ } else {
1039
+ return this.$style.headerSeccionAlineaciones2
1040
+ }
1041
+ },
1042
+ headerSeccionAlineaciones3Class() {
1043
+ const width = this.widthSize
1044
+ if (width <= 420) {
1045
+ return this.$style.headerSeccionAlineaciones3420
1046
+ } else if (width <= 540) {
1047
+ return this.$style.headerSeccionAlineaciones3540
1048
+ } else if (width <= 880) {
1049
+ return this.$style.headerSeccionAlineaciones3880
1050
+ } else if (width <= 1200) {
1051
+ return this.$style.headerSeccionAlineaciones31200
1052
+ } else {
1053
+ return this.$style.headerSeccionAlineaciones3
1054
+ }
1055
+ },
1056
+ },
1057
+ methods: {
1058
+ getImageUrl,
1059
+ clickOnValueFilter() {
1060
+ this.auxISsection = 0
1061
+ },
1062
+ clickOnValueCarrousel() {
1063
+ this.auxISsection = 0
1064
+ },
1065
+ deleteFilters() {
1066
+ this.vDeleteFilter = true
1067
+
1068
+ setTimeout(() => {
1069
+ this.vDeleteFilter = false
1070
+ }, 200)
1071
+ },
1072
+ clickShowDetails() {
1073
+ this.showDetails = !this.showDetails
1074
+ },
1075
+ matchFilter() {
1076
+ var matchdayFilter = []
1077
+ var gameFilter = []
1078
+ if (Object.keys(this.filterObject).length > 0) {
1079
+ if (Object.keys(this.filterObject.selectedFilterTeam).length != 2) {
1080
+ for (let index = 0; index < this.gameRecientes[this.teamSelect].length; index++) {
1081
+ if (this.filterObject.selectedFilterTeam[0] == 'local') {
1082
+ if (
1083
+ this.gameRecientes[this.teamSelect][index].home_team_abbreviation == this.teamSelect
1084
+ ) {
1085
+ matchdayFilter.push({
1086
+ name: this.gameRecientes[this.teamSelect][index].matchday_abbreviation.replace(
1087
+ 'M',
1088
+ 'Jornada ',
1089
+ ),
1090
+ id: this.gameRecientes[this.teamSelect][index].matchday_id,
1091
+ match_result: this.gameRecientes[this.teamSelect][index].home_match_result,
1092
+ })
1093
+ gameFilter.push(this.gameRecientes[this.teamSelect][index])
1094
+ }
1095
+ } else {
1096
+ if (
1097
+ this.gameRecientes[this.teamSelect][index].away_team_abbreviation == this.teamSelect
1098
+ ) {
1099
+ matchdayFilter.push({
1100
+ name: this.gameRecientes[this.teamSelect][index].matchday_abbreviation.replace(
1101
+ 'M',
1102
+ 'Jornada ',
1103
+ ),
1104
+ id: this.gameRecientes[this.teamSelect][index].matchday_id,
1105
+ match_result: this.gameRecientes[this.teamSelect][index].visiting_match_result,
1106
+ })
1107
+ gameFilter.push(this.gameRecientes[this.teamSelect][index])
1108
+ }
1109
+ }
1110
+ }
1111
+ } else {
1112
+ if (this.gameRecientes[this.teamSelect]) {
1113
+ for (let index = 0; index < this.gameRecientes[this.teamSelect].length; index++) {
1114
+ matchdayFilter.push({
1115
+ name: this.gameRecientes[this.teamSelect][index].matchday_abbreviation.replace(
1116
+ 'M',
1117
+ 'Jornada ',
1118
+ ),
1119
+ id: this.gameRecientes[this.teamSelect][index].matchday_id,
1120
+ match_result:
1121
+ this.gameRecientes[this.teamSelect][index].home_team_abbreviation ==
1122
+ this.teamSelect
1123
+ ? this.gameRecientes[this.teamSelect][index].home_match_result
1124
+ : this.gameRecientes[this.teamSelect][index].visiting_match_result,
1125
+ })
1126
+ gameFilter.push(this.gameRecientes[this.teamSelect][index])
1127
+ }
1128
+ }
1129
+ }
1130
+ } else {
1131
+ if (this.gameRecientes[this.teamSelect]) {
1132
+ for (let index = 0; index < this.gameRecientes[this.teamSelect].length; index++) {
1133
+ matchdayFilter.push({
1134
+ name: this.getRound(this.gameRecientes[this.teamSelect][index].matchday_abbreviation),
1135
+ id: this.gameRecientes[this.teamSelect][index].matchday_id,
1136
+ match_result:
1137
+ this.gameRecientes[this.teamSelect][index].home_team_abbreviation == this.teamSelect
1138
+ ? this.gameRecientes[this.teamSelect][index].home_match_result
1139
+ : this.gameRecientes[this.teamSelect][index].visiting_match_result,
1140
+ })
1141
+ gameFilter.push(this.gameRecientes[this.teamSelect][index])
1142
+ }
1143
+ }
1144
+ }
1145
+ this.gamesFiltersUpdate = gameFilter
1146
+ this.matchdaysFiltersUpdate = matchdayFilter
1147
+ },
1148
+ getRound(abrev) {
1149
+ let abrevFormatted = abrev.replace('M', 'Jornada ')
1150
+ abrevFormatted = abrevFormatted.replace('PO1', 'CFI')
1151
+ abrevFormatted = abrevFormatted.replace('PO2', 'CFV')
1152
+ abrevFormatted = abrevFormatted.replace('PO3', 'SFI')
1153
+ abrevFormatted = abrevFormatted.replace('PO4', 'SFV')
1154
+ abrevFormatted = abrevFormatted.replace('PO5', 'FI')
1155
+ abrevFormatted = abrevFormatted.replace('PO6', 'FV')
1156
+ return abrevFormatted
1157
+ },
1158
+ changeFiltersModal(filters) {
1159
+ this.auxISsection = 1
1160
+ this.filterObject = filters
1161
+ this.openfiltervalue = false
1162
+ this.matchFilter()
1163
+ setTimeout(() => {
1164
+ this.keyUpdate += 1
1165
+ this.updateCarouselGames += 1
1166
+ }, 600)
1167
+ },
1168
+ openFilter() {
1169
+ this.openfiltervalue = true
1170
+ },
1171
+ getMinutesData(plays) {
1172
+ this.localDetails = []
1173
+ this.foreignDetails = []
1174
+ for (let index = 0; index < plays.home_goals_minutes.length; index++) {
1175
+ this.localDetails.push({ description: plays.home_goals_minutes[index], icon: 'goal' })
1176
+ }
1177
+ for (let index = 0; index < plays.visiting_goals_minutes.length; index++) {
1178
+ this.foreignDetails.push({ description: plays.visiting_goals_minutes[index], icon: 'goal' })
1179
+ }
1180
+ for (let index = 0; index < plays.home_yellow_cards_minutes.length; index++) {
1181
+ this.localDetails.push({
1182
+ description: plays.home_yellow_cards_minutes[index],
1183
+ icon: 'yellow-card',
1184
+ })
1185
+ }
1186
+ for (let index = 0; index < plays.away_yellow_cards_minutes.length; index++) {
1187
+ this.foreignDetails.push({
1188
+ description: plays.away_yellow_cards_minutes[index],
1189
+ icon: 'yellow-card',
1190
+ })
1191
+ }
1192
+ for (let index = 0; index < plays.home_red_cards_minutes.length; index++) {
1193
+ this.localDetails.push({
1194
+ description: plays.home_red_cards_minutes[index],
1195
+ icon: 'red-card',
1196
+ })
1197
+ }
1198
+ for (let index = 0; index < plays.away_red_cards_minutes.length; index++) {
1199
+ this.foreignDetails.push({
1200
+ description: plays.away_red_cards_minutes[index],
1201
+ icon: 'red-card',
1202
+ })
1203
+ }
1204
+ },
1205
+ changeCarouselItem(val) {
1206
+ setTimeout(() => {
1207
+ if (JSON.stringify(val) !== JSON.stringify(this.valLast)) {
1208
+ if (this.gameRecientesFilter && this.gameRecientesFilter.length > 0) {
1209
+ if (val) {
1210
+ if (val.selectedItem === undefined) {
1211
+ val.selectedItem = this.gameRecientesFilter[this.gameRecientesFilter.length - 1]
1212
+ val.selectedItemIndex = this.gameRecientesFilter.length - 1
1213
+ }
1214
+
1215
+ this.valLast = val
1216
+ if (this.auxISsection == 1) {
1217
+ this.$emit('input', {
1218
+ selectedItem: this.gameRecientesFilter[this.gameRecientesFilter.length - 1],
1219
+ selectedItemIndex: this.gameRecientesFilter.length - 1,
1220
+ })
1221
+ this.getMinutesData(
1222
+ this.gameRecientesFilter[this.gameRecientesFilter.length - 1].minutes,
1223
+ )
1224
+ this.selectedIndexOption = this.gameRecientesFilter.length - 1
1225
+ this.defaultDropItem = {
1226
+ propName: 'id',
1227
+ value: this.gameRecientesFilter[this.gameRecientesFilter.length - 1].matchday_id,
1228
+ }
1229
+ } else {
1230
+ this.$emit('input', val)
1231
+ this.getMinutesData(val.selectedItem.minutes)
1232
+ this.selectedIndexOption = val.selectedItemIndex
1233
+ this.defaultDropItem = { propName: 'id', value: val.selectedItem.matchday_id }
1234
+ }
1235
+ this.keyUpdate += 1
1236
+ }
1237
+ }
1238
+ }
1239
+ }, 200)
1240
+ },
1241
+ changeDropdown(value) {
1242
+ if (this.gameRecientesFilter && this.gameRecientesFilter.length > 0) {
1243
+ if (this.auxISsection == 1) {
1244
+ this.selectedIndexOption = this.gameRecientesFilter.length - 1
1245
+ this.defaultDropItem = {
1246
+ propName: 'id',
1247
+ value: this.gameRecientesFilter[this.gameRecientesFilter.length - 1].matchday_id,
1248
+ }
1249
+ } else {
1250
+ const index = this.gameRecientesFilter.findIndex((x) => x.matchday_id == value.id)
1251
+ if (index != -1) {
1252
+ this.selectedIndexOption = index
1253
+ this.defaultDropItem = {
1254
+ propName: 'id',
1255
+ value: this.gameRecientesFilter[index].matchday_id,
1256
+ }
1257
+ }
1258
+ }
1259
+ }
1260
+ },
1261
+
1262
+ changeSwitchRadio(val) {
1263
+ this.auxISsection = 1
1264
+ if (typeof val !== 'object') {
1265
+ this.teamSelect = val
1266
+ this.$emit('changeTeam', this.teamSelect)
1267
+ this.updateCarouselGames += 1
1268
+ this.matchFilter()
1269
+ }
1270
+ },
1271
+ clickOnSelectOption(val) {
1272
+ this.$emit('clickOnSelectOption', val)
1273
+ },
1274
+ },
1275
+ }
1276
+ </script>
1277
+
1278
+ <style module>
1279
+ @import '/css/fonts.css';
1280
+ @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap');
1281
+ @import url('https://fonts.googleapis.com/css2?family=Inter:wght@600&display=swap');
1282
+
1283
+ body {
1284
+ margin: 0;
1285
+ line-height: normal;
1286
+ }
1287
+
1288
+ :root {
1289
+ /* fonts */
1290
+ --font-poppinsre: Poppins;
1291
+ --font-interre: Inter;
1292
+
1293
+ /* font sizes */
1294
+ --font-size-4xsre: 9px;
1295
+ --font-size-smre: 14px;
1296
+ --font-size-xsre: 12px;
1297
+ --font-size-base-2re: 15.2px;
1298
+ --font-size-3xsre: 10px;
1299
+ --font-size-2xsre: 11px;
1300
+
1301
+ /* Colors */
1302
+ --color-gray-100re: #172632;
1303
+ --color-gray-200re: #172531;
1304
+ --color-gray-300re: rgba(255, 255, 255, 0.05);
1305
+ --color-gray-400re: rgba(255, 255, 255, 0.2);
1306
+ --color-gray-500re: rgba(255, 255, 255, 0.3);
1307
+ --color-gray-600re: rgba(255, 255, 255, 0.1);
1308
+ --color-gray-700re: rgba(255, 255, 255, 0.7);
1309
+ --color-goldenrodre: #f7c330;
1310
+ --color-redre: #ff0000;
1311
+ --color-yellowgreen-100re: #cbed6e;
1312
+ --color-yellowgreen-200re: #cbee6b;
1313
+ --color-white: #fff;
1314
+ --color-whitesmokere: #f4f4f4;
1315
+ --color-darkbluere: #0234c5;
1316
+ --color-darkslategrayre: #1e2b36;
1317
+ --color-slategrayre: #56637b;
1318
+
1319
+ /* Spacing */
1320
+ --sizes-round-corner-round-corner-32re: 32px;
1321
+ --sizes-spacing-space-24re: 24px;
1322
+
1323
+ /* Gaps */
1324
+ --gap-basere: 16px;
1325
+ --gap-xsre: 12px;
1326
+ --gap-40xlre: 59px;
1327
+ --gap-3xsre: 10px;
1328
+ --gap-4xsre: 9px;
1329
+ --gap-midre: 17px;
1330
+ --gap-minire: 15px;
1331
+ --gap-8xsre: 5px;
1332
+ --gap-4xs-7re: 8.7px;
1333
+ --gap-11xlre: 30px;
1334
+
1335
+ /* Paddings */
1336
+ --padding-basere: 16px;
1337
+ --padding-5xlre: 24px;
1338
+ --padding-9xsre: 4px;
1339
+ --padding-6xs-5re: 6.5px;
1340
+ --padding-mid-4re: 17.4px;
1341
+ --padding-11xsre: 2px;
1342
+ --padding-3xsre: 10px;
1343
+ --padding-5xsre: 8px;
1344
+ --padding-xsre: 12px;
1345
+ --padding-xlre: 20px;
1346
+
1347
+ /* Border radiuses */
1348
+ --br-12xsre: 1px;
1349
+ --br-2xs-2re: 10.2px;
1350
+ --br-mid-4re: 17.4px;
1351
+ --br-5xsre: 8px;
1352
+ --br-31xlre: 50px;
1353
+ --br-13xlre: 32px;
1354
+ --br-3xs-6re: 9.6px;
1355
+ }
1356
+
1357
+ .containernofoundsearchrecientes {
1358
+ width: 100%;
1359
+ height: 38px;
1360
+ display: inline-block;
1361
+ margin: 0 auto;
1362
+ }
1363
+ .text-containernofoundsearchrecientes {
1364
+ font-size: 13px;
1365
+ text-align: center;
1366
+ color: rgb(176, 176, 176);
1367
+ line-height: 16px;
1368
+ }
1369
+ .btn-delete-filters {
1370
+ width: 70%;
1371
+ height: 26px;
1372
+ border-radius: 16px;
1373
+ font-size: 14px;
1374
+ text-align: center;
1375
+ background: rgba(255, 255, 255, 0.2);
1376
+ color: white;
1377
+ margin: 0 auto;
1378
+ line-height: 26px;
1379
+ margin-top: 5px;
1380
+ }
1381
+ .btn-delete-filters:hover {
1382
+ cursor: pointer;
1383
+ background: rgba(255, 255, 255, 0.5);
1384
+ }
1385
+ .btndeletefilters {
1386
+ width: 70%;
1387
+ height: 26px;
1388
+ border-radius: 16px;
1389
+ font-size: 14px;
1390
+ text-align: center;
1391
+ background: rgba(255, 255, 255, 0.2);
1392
+ color: white;
1393
+ margin: 0 auto;
1394
+ line-height: 26px;
1395
+ margin-top: 5px;
1396
+ }
1397
+ .btndeletefilters:hover {
1398
+ cursor: pointer;
1399
+ background: rgba(255, 255, 255, 0.5);
1400
+ }
1401
+ .leyenddeleteshow {
1402
+ font-size: 13px;
1403
+ text-align: center;
1404
+ color: rgb(176, 176, 176);
1405
+ line-height: 16px;
1406
+ }
1407
+
1408
+ .selectoritem {
1409
+ width: 270px;
1410
+ display: flex;
1411
+ flex-direction: row;
1412
+ align-items: flex-start;
1413
+ justify-content: center;
1414
+ gap: var(--gap-midre);
1415
+ }
1416
+
1417
+ .anNoEstn {
1418
+ font-weight: 500;
1419
+ }
1420
+
1421
+ .groupsLeague {
1422
+ position: relative;
1423
+ line-height: 20px;
1424
+ }
1425
+
1426
+ .historicas {
1427
+ position: relative;
1428
+ line-height: 20px;
1429
+ opacity: 0.6;
1430
+ }
1431
+
1432
+ .switchOption {
1433
+ border-radius: var(--br-13xlre);
1434
+ width: 109px;
1435
+ display: flex;
1436
+ flex-direction: row;
1437
+ align-items: center;
1438
+ justify-content: center;
1439
+ padding: var(--padding-3xsre) var(--sizes-spacing-space-24re);
1440
+ box-sizing: border-box;
1441
+ }
1442
+
1443
+ .recientes {
1444
+ position: relative;
1445
+ line-height: 20px;
1446
+ font-weight: 600;
1447
+ }
1448
+
1449
+ .switchOption1 {
1450
+ border-radius: var(--br-13xlre);
1451
+ background-color: var(--color-darkslategrayre);
1452
+ border: 0.8px solid var(--color-yellowgreen-200re);
1453
+ box-sizing: border-box;
1454
+ width: 107.8px;
1455
+ display: flex;
1456
+ flex-direction: row;
1457
+ align-items: center;
1458
+ justify-content: center;
1459
+ padding: var(--padding-3xsre) var(--sizes-spacing-space-24re);
1460
+ }
1461
+
1462
+ .switchOption2 {
1463
+ border-radius: var(--sizes-round-corner-round-corner-32re);
1464
+ display: flex;
1465
+ flex-direction: row;
1466
+ align-items: center;
1467
+ justify-content: center;
1468
+ padding: var(--padding-3xsre) var(--sizes-spacing-space-24re);
1469
+ }
1470
+
1471
+ .switchStatesBig {
1472
+ border-radius: var(--sizes-round-corner-round-corner-32re);
1473
+ background-color: var(--color-gray-100re);
1474
+ border: 1px solid var(--color-gray-500re);
1475
+ display: inline-block;
1476
+ width: 320px;
1477
+ font-size: var(--font-size-xsre);
1478
+ color: var(--color-white);
1479
+ }
1480
+
1481
+ .groupsLeagueParent {
1482
+ align-self: stretch;
1483
+ display: flex;
1484
+ flex-direction: column;
1485
+ align-items: center;
1486
+ justify-content: flex-start;
1487
+ gap: var(--gap-11xlre);
1488
+ text-align: center;
1489
+ }
1490
+
1491
+ .imgHomeTeamIcon {
1492
+ position: relative;
1493
+ width: 28px;
1494
+ height: 28px;
1495
+ object-fit: cover;
1496
+ }
1497
+
1498
+ .imgHomeTeamWrapper {
1499
+ border-radius: var(--br-31xlre);
1500
+ background-color: var(--color-gray-200re);
1501
+ width: 40px;
1502
+ height: 40px;
1503
+ display: flex;
1504
+ flex-direction: column;
1505
+ align-items: center;
1506
+ justify-content: center;
1507
+ padding: var(--padding-3xsre);
1508
+ box-sizing: border-box;
1509
+ }
1510
+
1511
+ .teamContainer {
1512
+ border-radius: var(--br-31xlre);
1513
+ border: 1px solid var(--color-darkbluere);
1514
+ box-sizing: border-box;
1515
+ width: 48px;
1516
+ height: 48px;
1517
+ display: flex;
1518
+ flex-direction: row;
1519
+ align-items: center;
1520
+ justify-content: center;
1521
+ padding: var(--padding-3xsre);
1522
+ }
1523
+
1524
+ .name {
1525
+ position: relative;
1526
+ letter-spacing: 0.31px;
1527
+ line-height: 30.87px;
1528
+ font-weight: 500;
1529
+ }
1530
+
1531
+ .homeTeamContainer {
1532
+ flex: 1;
1533
+ border-bottom: 1px solid var(--color-slategrayre);
1534
+ display: flex;
1535
+ flex-direction: row;
1536
+ align-items: center;
1537
+ justify-content: flex-start;
1538
+ padding: 0px 0px var(--padding-xlre);
1539
+ gap: var(--gap-3xsre);
1540
+ }
1541
+
1542
+ .div {
1543
+ position: relative;
1544
+ font-weight: 600;
1545
+ }
1546
+
1547
+ .scoreContainer {
1548
+ border-radius: var(--br-mid-4re);
1549
+ background-color: var(--color-gray-600re);
1550
+ display: flex;
1551
+ flex-direction: row;
1552
+ align-items: center;
1553
+ justify-content: center;
1554
+ padding: 6.524074554443359px 17.397533416748047px;
1555
+ gap: var(--gap-4xs-7rere);
1556
+ }
1557
+
1558
+ .scoreContainerWrapper {
1559
+ align-self: stretch;
1560
+ width: 323px;
1561
+ display: flex;
1562
+ flex-direction: column;
1563
+ align-items: center;
1564
+ justify-content: space-between;
1565
+ text-align: center;
1566
+ font-size: 15.22px;
1567
+ color: var(--color-white);
1568
+ font-family: var(--font-interre);
1569
+ }
1570
+
1571
+ .teamContainer1 {
1572
+ border-radius: var(--br-31xlre);
1573
+ border: 1px solid var(--color-yellowgreen-100re);
1574
+ box-sizing: border-box;
1575
+ width: 48px;
1576
+ height: 48px;
1577
+ display: flex;
1578
+ flex-direction: row;
1579
+ align-items: center;
1580
+ justify-content: center;
1581
+ padding: var(--padding-3xsre);
1582
+ }
1583
+
1584
+ .awayTeamContainer {
1585
+ flex: 1;
1586
+ border-bottom: 1px solid var(--color-slategrayre);
1587
+ display: flex;
1588
+ flex-direction: row;
1589
+ align-items: center;
1590
+ justify-content: flex-end;
1591
+ padding: 0px 0px var(--padding-xlre);
1592
+ gap: var(--gap-3xsre);
1593
+ }
1594
+
1595
+ .matchContainer {
1596
+ align-self: stretch;
1597
+ display: flex;
1598
+ flex-direction: row;
1599
+ align-items: center;
1600
+ justify-content: space-between;
1601
+ padding: 0px 0px var(--padding-xsre);
1602
+ color: var(--color-whitesmokere);
1603
+ }
1604
+
1605
+ .sliderMatchesChild {
1606
+ position: relative;
1607
+ border-radius: 9.55px;
1608
+ width: 7.02px;
1609
+ height: 14.23px;
1610
+ }
1611
+
1612
+ .manchesterUnited {
1613
+ position: relative;
1614
+ letter-spacing: -0.01em;
1615
+ line-height: 20.07px;
1616
+ font-weight: 500;
1617
+ }
1618
+
1619
+ .sliderMatchesItem {
1620
+ position: relative;
1621
+ border-radius: 9.55px;
1622
+ width: 7.02px;
1623
+ height: 14.24px;
1624
+ }
1625
+
1626
+ .sliderMatches {
1627
+ align-self: stretch;
1628
+ display: flex;
1629
+ flex-direction: row;
1630
+ align-items: center;
1631
+ justify-content: center;
1632
+ padding: var(--padding-11xsre) var(--padding-basere);
1633
+ gap: var(--gap-3xsre);
1634
+ text-align: center;
1635
+ }
1636
+
1637
+ .sortIcon {
1638
+ position: relative;
1639
+ width: 18px;
1640
+ height: 18px;
1641
+ overflow: hidden;
1642
+ flex-shrink: 0;
1643
+ }
1644
+
1645
+ .filtros {
1646
+ position: relative;
1647
+ font-size: var(--font-size-smre);
1648
+ line-height: 24px;
1649
+ font-family: var(--font-poppinsre);
1650
+ color: var(--color-white);
1651
+ text-align: left;
1652
+ }
1653
+
1654
+ .sortParent {
1655
+ display: flex;
1656
+ flex-direction: row;
1657
+ align-items: center;
1658
+ justify-content: center;
1659
+ gap: var(--gap-8xsre);
1660
+ }
1661
+
1662
+ .shapeIcon {
1663
+ position: relative;
1664
+ width: 8px;
1665
+ height: 4px;
1666
+ }
1667
+
1668
+ .btnFilter {
1669
+ cursor: pointer;
1670
+ border: 1px solid var(--color-gray-400re);
1671
+ padding: var(--padding-5xsre) var(--padding-3xsre);
1672
+ background-color: var(--color-gray-300re);
1673
+ border-radius: var(--br-5xsre);
1674
+ box-sizing: border-box;
1675
+ width: 102px;
1676
+ height: 32px;
1677
+ position: relative;
1678
+ display: flex;
1679
+ flex-direction: row;
1680
+ align-items: center;
1681
+ justify-content: space-between;
1682
+ }
1683
+
1684
+ .btnFilter1 {
1685
+ cursor: pointer;
1686
+ border: 1px solid var(--color-gray-400re);
1687
+ background-color: var(--color-gray-300re);
1688
+ border-radius: var(--br-5xsre);
1689
+ box-sizing: border-box;
1690
+ height: 32px;
1691
+ display: flex;
1692
+ flex-direction: row;
1693
+ align-items: baseline;
1694
+ justify-content: flex-start;
1695
+ gap: var(--gap-3xsre);
1696
+ font-size: 10px;
1697
+ }
1698
+
1699
+ .btnFilterParent {
1700
+ width: 225px;
1701
+ display: flex;
1702
+ flex-direction: row;
1703
+ align-items: flex-start;
1704
+ justify-content: flex-start;
1705
+ gap: var(--gap-xsre);
1706
+ }
1707
+
1708
+ .backArrowIcon {
1709
+ position: relative;
1710
+ border-radius: 10.21px;
1711
+ width: 7.5px;
1712
+ height: 15.21px;
1713
+ }
1714
+
1715
+ .teamContainer2 {
1716
+ display: flex;
1717
+ flex-direction: row;
1718
+ align-items: center;
1719
+ justify-content: flex-start;
1720
+ gap: var(--gap-8xsre);
1721
+ }
1722
+
1723
+ .homeTeam {
1724
+ display: flex;
1725
+ flex-direction: row;
1726
+ align-items: center;
1727
+ justify-content: flex-start;
1728
+ gap: var(--gap-minire);
1729
+ }
1730
+
1731
+ .div4 {
1732
+ flex: 1;
1733
+ position: relative;
1734
+ font-weight: 600;
1735
+ }
1736
+
1737
+ .finalScore {
1738
+ border-radius: var(--br-mid-4re);
1739
+ background-color: var(--color-gray-600re);
1740
+ border: 0.5px solid var(--color-yellowgreen-200re);
1741
+ box-sizing: border-box;
1742
+ width: 70.73px;
1743
+ display: flex;
1744
+ flex-direction: row;
1745
+ align-items: center;
1746
+ justify-content: center;
1747
+ padding: 6.524074554443359px 17.397533416748047px;
1748
+ gap: var(--gap-4xs-7rere);
1749
+ }
1750
+
1751
+ .manchesterUnited1 {
1752
+ position: relative;
1753
+ font-size: var(--font-size-xsre);
1754
+ font-weight: 500;
1755
+ font-family: var(--font-poppinsre);
1756
+ color: var(--color-gray-700re);
1757
+ }
1758
+
1759
+ .scoreContainer1 {
1760
+ display: flex;
1761
+ flex-direction: column;
1762
+ align-items: center;
1763
+ justify-content: center;
1764
+ gap: var(--gap-4xsre);
1765
+ text-align: center;
1766
+ font-size: 15.22px;
1767
+ color: var(--color-white);
1768
+ font-family: var(--font-interre);
1769
+ }
1770
+
1771
+ .match {
1772
+ width: 325px;
1773
+ display: inline-block;
1774
+ }
1775
+
1776
+ .manchesterUnited2 {
1777
+ position: relative;
1778
+ text-decoration: underline;
1779
+ font-weight: 500;
1780
+ position: absolute;
1781
+ right: 0;
1782
+ cursor: pointer;
1783
+ }
1784
+
1785
+ .manchesterUnited2:hover {
1786
+ color: rgba(255, 255, 255, 1);
1787
+ }
1788
+
1789
+ .btnDetails {
1790
+ width: 225px;
1791
+ height: 28px;
1792
+ display: flex;
1793
+ flex-direction: row;
1794
+ align-items: center;
1795
+ justify-content: flex-end;
1796
+ text-align: right;
1797
+ font-size: var(--font-size-xsre);
1798
+ }
1799
+
1800
+ .matchContainer1 {
1801
+ align-self: stretch;
1802
+ display: flex;
1803
+ flex-direction: row;
1804
+ align-items: flex-start;
1805
+ justify-content: space-between;
1806
+ padding: var(--padding-9xsre) 0px 0px;
1807
+ }
1808
+
1809
+ .goalChild {
1810
+ position: relative;
1811
+ width: 8.03px;
1812
+ height: 8.03px;
1813
+ }
1814
+
1815
+ .goal {
1816
+ width: 9px;
1817
+ height: 9px;
1818
+ display: flex;
1819
+ flex-direction: row;
1820
+ align-items: center;
1821
+ justify-content: center;
1822
+ }
1823
+
1824
+ .manchesterUnited3 {
1825
+ position: relative;
1826
+ letter-spacing: -0.01em;
1827
+ line-height: 19.5px;
1828
+ text-transform: capitalize;
1829
+ font-weight: 500;
1830
+ }
1831
+
1832
+ .minuteEvent {
1833
+ display: flex;
1834
+ flex-direction: row;
1835
+ align-items: center;
1836
+ justify-content: flex-start;
1837
+ gap: var(--gap-4xsre);
1838
+ }
1839
+
1840
+ .yellowCard {
1841
+ position: relative;
1842
+ border-radius: var(--br-12xsre);
1843
+ background-color: var(--color-goldenrodre);
1844
+ width: 4px;
1845
+ height: 6px;
1846
+ }
1847
+
1848
+ .awayTeamEvents {
1849
+ display: flex;
1850
+ flex-direction: column;
1851
+ align-items: flex-start;
1852
+ justify-content: flex-start;
1853
+ gap: var(--gap-3xsre);
1854
+ }
1855
+
1856
+ .rectangle {
1857
+ position: relative;
1858
+ border-radius: var(--br-12xsre);
1859
+ background-color: var(--color-redre);
1860
+ width: 4px;
1861
+ height: 6px;
1862
+ }
1863
+
1864
+ .homeTeamEvents {
1865
+ display: flex;
1866
+ flex-direction: column;
1867
+ align-items: flex-end;
1868
+ justify-content: flex-start;
1869
+ gap: var(--gap-3xsre);
1870
+ text-align: right;
1871
+ }
1872
+
1873
+ .totalEvents {
1874
+ display: none;
1875
+ flex-direction: row;
1876
+ align-items: center;
1877
+ justify-content: flex-start;
1878
+ gap: var(--gap-40xlre);
1879
+ font-size: var(--font-size-4xsre);
1880
+ }
1881
+
1882
+ .headerSeccionAlineaciones1 {
1883
+ align-self: stretch;
1884
+ background-color: var(--color-gray-200re);
1885
+ display: flex;
1886
+ flex-direction: column;
1887
+ align-items: center;
1888
+ justify-content: flex-start;
1889
+ padding: 0px 48px;
1890
+ gap: var(--gap-basere);
1891
+ }
1892
+
1893
+ .sliderMatchesInner {
1894
+ position: relative;
1895
+ border-radius: 9.55px;
1896
+ width: 13.39px;
1897
+ height: 6px;
1898
+ }
1899
+
1900
+ .btnFilter2 {
1901
+ cursor: pointer;
1902
+ border: 1px solid var(--color-gray-400re);
1903
+ padding: var(--padding-5xsre) var(--padding-3xsre);
1904
+ background-color: var(--color-gray-300re);
1905
+ border-radius: var(--br-5xsre);
1906
+ box-sizing: border-box;
1907
+ width: 111px;
1908
+ position: relative;
1909
+ height: 32px;
1910
+ display: flex;
1911
+ flex-direction: row;
1912
+ align-items: center;
1913
+ justify-content: space-between;
1914
+ margin-right: 10px;
1915
+ }
1916
+
1917
+ .btnDetails1 {
1918
+ width: 111px;
1919
+ height: 28px;
1920
+ display: flex;
1921
+ flex-direction: row;
1922
+ align-items: center;
1923
+ justify-content: flex-end;
1924
+ }
1925
+
1926
+ .matchContainer3 {
1927
+ align-self: stretch;
1928
+ display: flex;
1929
+ flex-direction: row;
1930
+ align-items: flex-start;
1931
+ justify-content: start;
1932
+ padding: var(--padding-9xsre) 0px 0px;
1933
+ text-align: right;
1934
+ font-size: var(--font-size-xsre);
1935
+ }
1936
+
1937
+ .backArrowIcon1 {
1938
+ position: relative;
1939
+ border-radius: 10.21px;
1940
+ width: 14.31px;
1941
+ height: 6.41px;
1942
+ }
1943
+
1944
+ .match1 {
1945
+ width: 340px;
1946
+ display: inline-block;
1947
+ margin: 0 auto;
1948
+ }
1949
+
1950
+ .headerSeccionAlineaciones2 {
1951
+ align-self: stretch;
1952
+ background-color: var(--color-gray-200re);
1953
+ display: none;
1954
+ flex-direction: column;
1955
+ align-items: center;
1956
+ justify-content: flex-start;
1957
+ padding: 0px var(--padding-5xlre);
1958
+ gap: var(--gap-basere);
1959
+ }
1960
+
1961
+ .jugadores2 {
1962
+ position: relative;
1963
+ line-height: 20px;
1964
+ font-weight: 600;
1965
+ opacity: 0.6;
1966
+ }
1967
+
1968
+ .switchOption6 {
1969
+ border-radius: var(--sizes-round-corner-round-corner-32re);
1970
+ width: 74px;
1971
+ display: flex;
1972
+ flex-direction: row;
1973
+ align-items: center;
1974
+ justify-content: center;
1975
+ padding: var(--padding-3xsre) var(--sizes-spacing-space-24re);
1976
+ box-sizing: border-box;
1977
+ }
1978
+
1979
+ .switchOption7 {
1980
+ border-radius: var(--sizes-round-corner-round-corner-32re);
1981
+ background-color: var(--color-darkslategrayre);
1982
+ border: 0.8px solid var(--color-yellowgreen-200re);
1983
+ box-sizing: border-box;
1984
+ width: 74.8px;
1985
+ display: flex;
1986
+ flex-direction: row;
1987
+ align-items: center;
1988
+ justify-content: center;
1989
+ padding: var(--padding-3xsre) var(--sizes-spacing-space-24re);
1990
+ }
1991
+
1992
+ .switchStatesBig2 {
1993
+ border-radius: var(--sizes-round-corner-round-corner-32re);
1994
+ background-color: var(--color-gray-100re);
1995
+ border: 1px solid var(--color-gray-500re);
1996
+ display: inline-block;
1997
+ width: 280px;
1998
+ }
1999
+
2000
+ .manchesterUnited26 {
2001
+ position: relative;
2002
+ font-size: var(--font-size-3xsre);
2003
+ font-weight: 500;
2004
+ }
2005
+
2006
+ .homeTeamContainer2 {
2007
+ display: flex;
2008
+ flex-direction: row;
2009
+ align-items: center;
2010
+ justify-content: flex-start;
2011
+ gap: var(--gap-3xsre);
2012
+ }
2013
+
2014
+ .vectorIcon {
2015
+ position: relative;
2016
+ width: 15px;
2017
+ height: 15px;
2018
+ }
2019
+
2020
+ .teamSwitch {
2021
+ border-radius: 25px;
2022
+ box-sizing: border-box;
2023
+ width: 98px;
2024
+ overflow: hidden;
2025
+ height: 21px;
2026
+ display: flex;
2027
+ flex-direction: row;
2028
+ align-items: center;
2029
+ justify-content: center;
2030
+ padding: 0px 3px;
2031
+ }
2032
+
2033
+ .matchContainer5 {
2034
+ align-self: stretch;
2035
+ display: flex;
2036
+ flex-direction: row;
2037
+ align-items: center;
2038
+ justify-content: space-between;
2039
+ padding: 0px 0px var(--padding-xsre);
2040
+ text-align: left;
2041
+ color: var(--color-whitesmokere);
2042
+ }
2043
+
2044
+ .manchesterUnited27 {
2045
+ position: relative;
2046
+ letter-spacing: -0.01em;
2047
+ line-height: 20.07px;
2048
+ font-weight: 500;
2049
+ z-index: 0;
2050
+ }
2051
+
2052
+ .sliderMatchesChild1 {
2053
+ position: absolute;
2054
+ margin: 0 !important;
2055
+ top: 14.31px;
2056
+ left: 261.07px;
2057
+ border-radius: 10.21px;
2058
+ width: 14.31px;
2059
+ height: 6.41px;
2060
+ z-index: 1;
2061
+ }
2062
+
2063
+ .sliderMatchesChild2 {
2064
+ position: absolute;
2065
+ margin: 0 !important;
2066
+ top: 0.31px;
2067
+ left: 6.41px;
2068
+ border-radius: 10.21px;
2069
+ width: 14.31px;
2070
+ height: 6.41px;
2071
+ z-index: 2;
2072
+ }
2073
+
2074
+ .sliderMatches2 {
2075
+ display: none;
2076
+ flex-direction: row;
2077
+ align-items: flex-start;
2078
+ justify-content: flex-start;
2079
+ padding: var(--padding-11xsre) var(--padding-basere);
2080
+ position: relative;
2081
+ gap: var(--gap-3xsre);
2082
+ }
2083
+
2084
+ .filtros2 {
2085
+ position: relative;
2086
+ font-size: var(--font-size-smre);
2087
+ line-height: 24px;
2088
+ font-family: var(--font-poppinsre);
2089
+ color: var(--color-white);
2090
+ text-align: left;
2091
+ display: none;
2092
+ }
2093
+
2094
+ .btnFilter4 {
2095
+ cursor: pointer;
2096
+ position: relative;
2097
+ border: 1px solid var(--color-gray-400re);
2098
+ padding: var(--padding-5xsre) var(--padding-3xsre);
2099
+ background-color: var(--color-gray-300re);
2100
+ border-radius: var(--br-5xsre);
2101
+ box-sizing: border-box;
2102
+ width: 60px;
2103
+ height: 32px;
2104
+ display: flex;
2105
+ flex-direction: row;
2106
+ align-items: center;
2107
+ justify-content: space-between;
2108
+ }
2109
+
2110
+ .jornada2 {
2111
+ position: relative;
2112
+ line-height: 9px;
2113
+ font-weight: 600;
2114
+ opacity: 0.6;
2115
+ }
2116
+
2117
+ .filterMatchday {
2118
+ border-radius: 4px;
2119
+ border: 1px solid var(--color-gray-500re);
2120
+ box-sizing: border-box;
2121
+ width: 102px;
2122
+ height: 25px;
2123
+ display: flex;
2124
+ flex-direction: row;
2125
+ justify-content: space-between;
2126
+ }
2127
+
2128
+ .btnDetails2 {
2129
+ width: 60px;
2130
+ height: 28px;
2131
+ display: flex;
2132
+ flex-direction: row;
2133
+ align-items: center;
2134
+ justify-content: center;
2135
+ text-align: right;
2136
+ color: var(--color-gray-700re);
2137
+ }
2138
+
2139
+ .filtersContainer {
2140
+ align-self: stretch;
2141
+ display: flex;
2142
+ flex-direction: row;
2143
+ align-items: center;
2144
+ justify-content: space-between;
2145
+ font-size: var(--font-size-3xsre);
2146
+ color: var(--color-white);
2147
+ }
2148
+
2149
+ .matchContainer6 {
2150
+ align-self: stretch;
2151
+ display: flex;
2152
+ flex-direction: row;
2153
+ align-items: flex-start;
2154
+ justify-content: center;
2155
+ padding: var(--padding-9xsre) 0px 0px;
2156
+ }
2157
+
2158
+ .matchDetailContainer {
2159
+ align-self: stretch;
2160
+ display: flex;
2161
+ flex-direction: column;
2162
+ align-items: center;
2163
+ justify-content: flex-start;
2164
+ gap: 14px;
2165
+ text-align: left;
2166
+ }
2167
+
2168
+ .containerData {
2169
+ align-self: stretch;
2170
+ border-radius: 9px;
2171
+ background-color: #192632;
2172
+ box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.25);
2173
+ display: flex;
2174
+ flex-direction: column;
2175
+ align-items: center;
2176
+ justify-content: flex-start;
2177
+ padding: var(--padding-basere) var(--padding-5xlre) 32px;
2178
+ gap: var(--gap-xsre);
2179
+ font-size: var(--font-size-smre);
2180
+ color: var(--color-gray-700re);
2181
+ }
2182
+
2183
+ .headerSeccionAlineaciones3 {
2184
+ align-self: stretch;
2185
+ display: none;
2186
+ flex-direction: column;
2187
+ align-items: center;
2188
+ justify-content: flex-start;
2189
+ gap: var(--gap-basere);
2190
+ text-align: center;
2191
+ font-size: var(--font-size-2xsre);
2192
+ color: var(--color-white);
2193
+ }
2194
+
2195
+ .headerSeccionAlineaciones {
2196
+ position: relative;
2197
+ width: 100%;
2198
+ display: flex;
2199
+ flex-direction: column;
2200
+ align-items: flex-start;
2201
+ justify-content: flex-start;
2202
+ gap: 132px;
2203
+ text-align: left;
2204
+ font-size: var(--font-size-smre);
2205
+ color: var(--color-gray-700re);
2206
+ font-family: var(--font-poppinsre);
2207
+ }
2208
+
2209
+ .headerSeccionAlineaciones31200 {
2210
+ max-width: 540px;
2211
+ align-self: stretch;
2212
+ display: none;
2213
+ flex-direction: column;
2214
+ align-items: center;
2215
+ justify-content: flex-start;
2216
+ gap: var(--gap-basere);
2217
+ text-align: center;
2218
+ font-size: var(--font-size-2xsre);
2219
+ color: var(--color-white);
2220
+ }
2221
+
2222
+ .headerSeccionAlineaciones3420 {
2223
+ display: flex;
2224
+ max-width: 540px;
2225
+ align-self: stretch;
2226
+ flex-direction: column;
2227
+ align-items: center;
2228
+ justify-content: flex-start;
2229
+ gap: var(--gap-basere);
2230
+ text-align: center;
2231
+ font-size: var(--font-size-2xsre);
2232
+ color: var(--color-white);
2233
+ }
2234
+
2235
+ .headerSeccionAlineaciones3880 {
2236
+ display: none;
2237
+ align-self: stretch;
2238
+ flex-direction: column;
2239
+ align-items: center;
2240
+ justify-content: flex-start;
2241
+ gap: var(--gap-basere);
2242
+ text-align: center;
2243
+ font-size: var(--font-size-2xsre);
2244
+ color: var(--color-white);
2245
+ }
2246
+
2247
+ .headerSeccionAlineaciones3540 {
2248
+ display: flex;
2249
+ min-width: 300px;
2250
+ align-self: stretch;
2251
+ flex-direction: column;
2252
+ align-items: center;
2253
+ justify-content: flex-start;
2254
+ gap: var(--gap-basere);
2255
+ text-align: center;
2256
+ font-size: var(--font-size-2xsre);
2257
+ color: var(--color-white);
2258
+ }
2259
+
2260
+ .headerSeccionAlineaciones11200 {
2261
+ align-self: stretch;
2262
+ width: auto;
2263
+ max-width: 1089px;
2264
+ align-self: stretch;
2265
+ background-color: var(--color-gray-200re);
2266
+ display: flex;
2267
+ flex-direction: column;
2268
+ align-items: center;
2269
+ justify-content: flex-start;
2270
+ padding: 0px 48px;
2271
+ gap: var(--gap-basere);
2272
+ }
2273
+
2274
+ .headerSeccionAlineaciones1420 {
2275
+ display: none;
2276
+ align-self: stretch;
2277
+ background-color: var(--color-gray-200re);
2278
+ flex-direction: column;
2279
+ align-items: center;
2280
+ justify-content: flex-start;
2281
+ padding: 0px 48px;
2282
+ gap: var(--gap-basere);
2283
+ }
2284
+
2285
+ .headerSeccionAlineaciones1880 {
2286
+ display: none;
2287
+ align-self: stretch;
2288
+ background-color: var(--color-gray-200re);
2289
+ flex-direction: column;
2290
+ align-items: center;
2291
+ justify-content: flex-start;
2292
+ padding: 0px 48px;
2293
+ gap: var(--gap-basere);
2294
+ }
2295
+
2296
+ .headerSeccionAlineaciones21200 {
2297
+ display: none;
2298
+ align-self: stretch;
2299
+ width: auto;
2300
+ max-width: 840px;
2301
+ align-self: stretch;
2302
+ background-color: var(--color-gray-200re);
2303
+ flex-direction: column;
2304
+ align-items: center;
2305
+ justify-content: flex-start;
2306
+ padding: 0px var(--padding-5xlre);
2307
+ gap: var(--gap-basere);
2308
+ }
2309
+
2310
+ .headerSeccionAlineaciones2420 {
2311
+ display: none;
2312
+ align-self: stretch;
2313
+ background-color: var(--color-gray-200re);
2314
+ display: none;
2315
+ flex-direction: column;
2316
+ align-items: center;
2317
+ justify-content: flex-start;
2318
+ padding: 0px var(--padding-5xlre);
2319
+ gap: var(--gap-basere);
2320
+ }
2321
+
2322
+ .headerSeccionAlineaciones2880 {
2323
+ display: flex;
2324
+ align-self: stretch;
2325
+ background-color: var(--color-gray-200re);
2326
+ flex-direction: column;
2327
+ align-items: center;
2328
+ justify-content: flex-start;
2329
+ padding: 0px var(--padding-5xlre);
2330
+ gap: var(--gap-basere);
2331
+ }
2332
+
2333
+ .headerSeccionAlineaciones2540 {
2334
+ display: none;
2335
+ align-self: stretch;
2336
+ background-color: var(--color-gray-200re);
2337
+ flex-direction: column;
2338
+ align-items: center;
2339
+ justify-content: flex-start;
2340
+ padding: 0px var(--padding-5xlre);
2341
+ gap: var(--gap-basere);
2342
+ }
2343
+ </style>