@golstats/gsc-game-data 1.0.28 → 1.0.30
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/gsc-game-data.js +285 -16
- package/dist/gsc-game-data.umd.cjs +7 -7
- package/dist/style.css +1 -1
- package/package.json +2 -2
package/dist/gsc-game-data.js
CHANGED
|
@@ -10079,6 +10079,10 @@ const vT = {
|
|
|
10079
10079
|
aVal(e) {
|
|
10080
10080
|
return this.getTeamValue(e, this.gameForAnalysis, "visitingTeam");
|
|
10081
10081
|
},
|
|
10082
|
+
deleteDecimalZero(e) {
|
|
10083
|
+
const t = typeof e == "string" ? parseFloat(e) : e;
|
|
10084
|
+
return typeof t == "number" && !isNaN(t) ? t % 1 === 0 ? t : t % 1 === 0 ? Math.floor(t) : t : e;
|
|
10085
|
+
},
|
|
10082
10086
|
formatNumbers(e) {
|
|
10083
10087
|
return e % 1 !== 0 ? e.toFixed(1) : e;
|
|
10084
10088
|
},
|
|
@@ -10126,7 +10130,7 @@ const vT = {
|
|
|
10126
10130
|
},
|
|
10127
10131
|
async mounted() {
|
|
10128
10132
|
}
|
|
10129
|
-
}, Bv = (e) => (we("data-v-
|
|
10133
|
+
}, Bv = (e) => (we("data-v-d20cbba9"), e = e(), Ce(), e), wT = { class: "card" }, CT = { class: "card__header" }, ST = { class: "card__stats" }, kT = ["onClick"], $T = /* @__PURE__ */ Bv(() => /* @__PURE__ */ r("img", { src: Fv }, null, -1)), xT = [
|
|
10130
10134
|
$T
|
|
10131
10135
|
], AT = {
|
|
10132
10136
|
key: 1,
|
|
@@ -10157,13 +10161,13 @@ function NT(e, t, a, s, i, o) {
|
|
|
10157
10161
|
r("div", IT, w(p.name) + w(), 1),
|
|
10158
10162
|
r("div", OT, [
|
|
10159
10163
|
o.hVal(p) ? (f(), _("span", TT, [
|
|
10160
|
-
M(w(o.formatNumbers(o.hVal(p).numberValue)), 1),
|
|
10164
|
+
M(w(o.deleteDecimalZero(o.formatNumbers(o.hVal(p).numberValue))), 1),
|
|
10161
10165
|
p.name == "Posesión" ? (f(), _(E, { key: 0 }, [
|
|
10162
10166
|
M("%")
|
|
10163
10167
|
], 64)) : C("", !0)
|
|
10164
10168
|
])) : (f(), _("span", ET, "0")),
|
|
10165
10169
|
o.aVal(p) ? (f(), _("span", RT, [
|
|
10166
|
-
M(w(o.formatNumbers(o.aVal(p).numberValue)), 1),
|
|
10170
|
+
M(w(o.deleteDecimalZero(o.formatNumbers(o.aVal(p).numberValue))), 1),
|
|
10167
10171
|
p.name == "Posesión" ? (f(), _(E, { key: 0 }, [
|
|
10168
10172
|
M("%")
|
|
10169
10173
|
], 64)) : C("", !0)
|
|
@@ -10201,7 +10205,7 @@ function NT(e, t, a, s, i, o) {
|
|
|
10201
10205
|
])
|
|
10202
10206
|
]);
|
|
10203
10207
|
}
|
|
10204
|
-
const MT = /* @__PURE__ */ st(vT, [["render", NT], ["__scopeId", "data-v-
|
|
10208
|
+
const MT = /* @__PURE__ */ st(vT, [["render", NT], ["__scopeId", "data-v-d20cbba9"]]);
|
|
10205
10209
|
const HT = {
|
|
10206
10210
|
name: "GscComparative",
|
|
10207
10211
|
props: {
|
|
@@ -26983,9 +26987,9 @@ function cK(e) {
|
|
|
26983
26987
|
window.removeEventListener("resize", a);
|
|
26984
26988
|
}), { elementSize: t };
|
|
26985
26989
|
}
|
|
26986
|
-
const Zn = "/contorno-escudo.svg", dK = "
|
|
26990
|
+
const Zn = "/contorno-escudo.svg", dK = "_item_1sf6y_4", uK = "_cardDgs_1sf6y_15", mK = "_teams_1sf6y_33", hK = "_homeTeam_1sf6y_42", pK = "_vectorStrokeIcon_1sf6y_51", yK = "_homeTeamChild_1sf6y_58", gK = "_centrosParent_1sf6y_69", fK = "_centros_1sf6y_69", _K = "_chivasYAtlas_1sf6y_87", bK = "_btnPlay_1sf6y_103", vK = "_icnPlayIcon_1sf6y_128", wK = "_logoHomeTeamIcon_1sf6y_134", CK = "_logoHomeTeamIcon1_1sf6y_148", SK = {
|
|
26987
26991
|
item: dK,
|
|
26988
|
-
"item-game": "_item-
|
|
26992
|
+
"item-game": "_item-game_1sf6y_10",
|
|
26989
26993
|
cardDgs: uK,
|
|
26990
26994
|
teams: mK,
|
|
26991
26995
|
homeTeam: hK,
|
|
@@ -27023,7 +27027,7 @@ const Zn = "/contorno-escudo.svg", dK = "_item_3arsi_7", uK = "_cardDgs_3arsi_29
|
|
|
27023
27027
|
methods: {},
|
|
27024
27028
|
mounted() {
|
|
27025
27029
|
}
|
|
27026
|
-
}, $K = (e) => (we("data-v-
|
|
27030
|
+
}, $K = (e) => (we("data-v-bfce3c20"), e = e(), Ce(), e), xK = ["src"], AK = ["src"], IK = ["src"], OK = ["src"], TK = /* @__PURE__ */ $K(() => /* @__PURE__ */ r("path", {
|
|
27027
27031
|
d: "M0.53523 17.021C0.399977 16.944 0.286929 16.8291 0.208272 16.6885C0.129614 16.5479 0.0883312 16.387 0.0888724 16.2231V1.77477C0.0890584 1.61149 0.130612 1.45132 0.209115 1.31128C0.287618 1.17124 0.400138 1.05657 0.534712 0.979447C0.669286 0.902329 0.820885 0.86565 0.973393 0.873309C1.1259 0.880968 1.27362 0.932678 1.40084 1.02294L11.5348 8.24798C11.6505 8.33029 11.7454 8.44192 11.8111 8.57294C11.8767 8.70396 11.9111 8.85031 11.9111 8.99896C11.9111 9.14761 11.8767 9.29395 11.8111 9.42497C11.7454 9.55599 11.6505 9.66762 11.5348 9.74993L1.40084 16.9767C1.27381 17.0671 1.12621 17.119 0.973768 17.1268C0.821326 17.1347 0.66976 17.0981 0.53523 17.021Z",
|
|
27028
27032
|
fill: "#CBEE6B"
|
|
27029
27033
|
}, null, -1)), EK = [
|
|
@@ -27175,7 +27179,7 @@ function jK(e, t, a, s, i, o) {
|
|
|
27175
27179
|
}
|
|
27176
27180
|
const LK = {
|
|
27177
27181
|
$style: SK
|
|
27178
|
-
}, DK = /* @__PURE__ */ mw(kK, [["render", jK], ["__cssModules", LK], ["__scopeId", "data-v-
|
|
27182
|
+
}, DK = /* @__PURE__ */ mw(kK, [["render", jK], ["__cssModules", LK], ["__scopeId", "data-v-bfce3c20"]]);
|
|
27179
27183
|
function hw(e, t) {
|
|
27180
27184
|
return function() {
|
|
27181
27185
|
return e.apply(t, arguments);
|
|
@@ -32267,7 +32271,7 @@ function xne(e, t, a, s, i, o) {
|
|
|
32267
32271
|
], 2)) : C("", !0)
|
|
32268
32272
|
], 512);
|
|
32269
32273
|
}
|
|
32270
|
-
const Ane = /* @__PURE__ */ fne(ry, [["render", xne], ["__scopeId", "data-v-b548a08d"]]), Ine = "
|
|
32274
|
+
const Ane = /* @__PURE__ */ fne(ry, [["render", xne], ["__scopeId", "data-v-b548a08d"]]), Ine = "_templateDataGS_xdmfq_4", One = "_gridCompo480_xdmfq_17", Tne = "_gridCompo_xdmfq_17", Ene = "_grid_xdmfq_17", Rne = "_grid768_xdmfq_58", Pne = "_grid480_xdmfq_69", Fne = "_specialsMobile_xdmfq_81", Bne = "_gridClass_xdmfq_89", jne = {
|
|
32271
32275
|
templateDataGS: Ine,
|
|
32272
32276
|
gridCompo480: One,
|
|
32273
32277
|
gridCompo: Tne,
|
|
@@ -32333,12 +32337,277 @@ const Ane = /* @__PURE__ */ fne(ry, [["render", xne], ["__scopeId", "data-v-b548
|
|
|
32333
32337
|
},
|
|
32334
32338
|
methods: {
|
|
32335
32339
|
openmedia(e) {
|
|
32336
|
-
|
|
32340
|
+
this.$emit("openmedia", e);
|
|
32337
32341
|
},
|
|
32338
32342
|
onclickPlayVideos(e) {
|
|
32339
|
-
console.log("LLEGO HASTA AQUI"), console.log(e);
|
|
32340
32343
|
var t = [];
|
|
32341
|
-
e.type == 2 ? e.position_id == 1 ? e.category == 0 ? t = [39, 55, 41, 42, 264, 304, 306, 608, 324, 323, 362, 371, 380, 355, 49, 50, 267, 308] : t = e.category : e.category == 0 ? t = [12, 19, 31, 32, 13, 25, 6, 11, 23, 4, 5, 24, 15, 607, 10, 27, 216, 217, 155, 164, 173, 30, 98, 101, 104, 105, 109, 112, 115, 116, 17, 2, 20] : t = e.category : e.type == 3 ? e.category == 0 ? t = [12, 55, "35_r", "54_r", 19, 31, 32, 13, 25, 6, 312, 11, 23, 4, 5, 24, 18, 49, 607, 608, 10, 324, 27, 323, 216, 217, 155, 164, 173, 362, 371, 380, 30, 355, 98, 101, 104, 105, 109, 112, 115, 116, 17, 50, 2, 20, 267, 308] : t = e.category : e.category != 0 ? t = e.category : t = [12, 55, "35_r", "54_r", 19, 31, 32, 13, 25, 6, 312, 11, 23, 4, 5, 24, 18, 49, 607, 608, 10, 324, 27, 323, 216, 217, 155, 164, 173, 362, 371, 380, 30, 355, 98, 101, 104, 105, 109, 112, 115, 116, 17, 50, 2, 20, 267, 308]
|
|
32344
|
+
e.type == 2 ? e.position_id == 1 ? e.category == 0 ? t = [39, 55, 41, 42, 264, 304, 306, 608, 324, 323, 362, 371, 380, 355, 49, 50, 267, 308] : t = e.category : e.category == 0 ? t = [12, 19, 31, 32, 13, 25, 6, 11, 23, 4, 5, 24, 15, 607, 10, 27, 216, 217, 155, 164, 173, 30, 98, 101, 104, 105, 109, 112, 115, 116, 17, 2, 20] : t = e.category : e.type == 3 ? e.category == 0 ? t = [12, 55, "35_r", "54_r", 19, 31, 32, 13, 25, 6, 312, 11, 23, 4, 5, 24, 18, 49, 607, 608, 10, 324, 27, 323, 216, 217, 155, 164, 173, 362, 371, 380, 30, 355, 98, 101, 104, 105, 109, 112, 115, 116, 17, 50, 2, 20, 267, 308] : t = e.category : e.category != 0 ? t = e.category : t = [12, 55, "35_r", "54_r", 19, 31, 32, 13, 25, 6, 312, 11, 23, 4, 5, 24, 18, 49, 607, 608, 10, 324, 27, 323, 216, 217, 155, 164, 173, 362, 371, 380, 30, 355, 98, 101, 104, 105, 109, 112, 115, 116, 17, 50, 2, 20, 267, 308], t === "minutes_played" && (t = [
|
|
32345
|
+
56,
|
|
32346
|
+
57,
|
|
32347
|
+
59,
|
|
32348
|
+
60,
|
|
32349
|
+
326,
|
|
32350
|
+
213,
|
|
32351
|
+
214,
|
|
32352
|
+
215,
|
|
32353
|
+
216,
|
|
32354
|
+
583,
|
|
32355
|
+
584,
|
|
32356
|
+
122,
|
|
32357
|
+
123,
|
|
32358
|
+
124,
|
|
32359
|
+
125,
|
|
32360
|
+
585,
|
|
32361
|
+
586,
|
|
32362
|
+
128,
|
|
32363
|
+
129,
|
|
32364
|
+
130,
|
|
32365
|
+
131,
|
|
32366
|
+
133,
|
|
32367
|
+
327,
|
|
32368
|
+
587,
|
|
32369
|
+
588,
|
|
32370
|
+
136,
|
|
32371
|
+
137,
|
|
32372
|
+
138,
|
|
32373
|
+
139,
|
|
32374
|
+
589,
|
|
32375
|
+
590,
|
|
32376
|
+
142,
|
|
32377
|
+
143,
|
|
32378
|
+
144,
|
|
32379
|
+
145,
|
|
32380
|
+
146,
|
|
32381
|
+
147,
|
|
32382
|
+
485,
|
|
32383
|
+
486,
|
|
32384
|
+
487,
|
|
32385
|
+
488,
|
|
32386
|
+
489,
|
|
32387
|
+
490,
|
|
32388
|
+
491,
|
|
32389
|
+
492,
|
|
32390
|
+
10,
|
|
32391
|
+
27,
|
|
32392
|
+
597,
|
|
32393
|
+
598,
|
|
32394
|
+
538,
|
|
32395
|
+
539,
|
|
32396
|
+
599,
|
|
32397
|
+
600,
|
|
32398
|
+
541,
|
|
32399
|
+
542,
|
|
32400
|
+
601,
|
|
32401
|
+
602,
|
|
32402
|
+
545,
|
|
32403
|
+
546,
|
|
32404
|
+
603,
|
|
32405
|
+
604,
|
|
32406
|
+
548,
|
|
32407
|
+
549,
|
|
32408
|
+
561,
|
|
32409
|
+
562,
|
|
32410
|
+
100,
|
|
32411
|
+
563,
|
|
32412
|
+
564,
|
|
32413
|
+
103,
|
|
32414
|
+
104,
|
|
32415
|
+
105,
|
|
32416
|
+
106,
|
|
32417
|
+
107,
|
|
32418
|
+
108,
|
|
32419
|
+
565,
|
|
32420
|
+
566,
|
|
32421
|
+
111,
|
|
32422
|
+
567,
|
|
32423
|
+
568,
|
|
32424
|
+
114,
|
|
32425
|
+
115,
|
|
32426
|
+
116,
|
|
32427
|
+
117,
|
|
32428
|
+
118,
|
|
32429
|
+
119,
|
|
32430
|
+
4,
|
|
32431
|
+
88,
|
|
32432
|
+
5,
|
|
32433
|
+
34,
|
|
32434
|
+
402,
|
|
32435
|
+
459,
|
|
32436
|
+
460,
|
|
32437
|
+
461,
|
|
32438
|
+
233,
|
|
32439
|
+
403,
|
|
32440
|
+
456,
|
|
32441
|
+
457,
|
|
32442
|
+
458,
|
|
32443
|
+
236,
|
|
32444
|
+
404,
|
|
32445
|
+
453,
|
|
32446
|
+
454,
|
|
32447
|
+
455,
|
|
32448
|
+
240,
|
|
32449
|
+
405,
|
|
32450
|
+
450,
|
|
32451
|
+
451,
|
|
32452
|
+
452,
|
|
32453
|
+
243,
|
|
32454
|
+
408,
|
|
32455
|
+
447,
|
|
32456
|
+
448,
|
|
32457
|
+
449,
|
|
32458
|
+
283,
|
|
32459
|
+
409,
|
|
32460
|
+
444,
|
|
32461
|
+
445,
|
|
32462
|
+
446,
|
|
32463
|
+
285,
|
|
32464
|
+
410,
|
|
32465
|
+
441,
|
|
32466
|
+
442,
|
|
32467
|
+
443,
|
|
32468
|
+
290,
|
|
32469
|
+
411,
|
|
32470
|
+
438,
|
|
32471
|
+
439,
|
|
32472
|
+
440,
|
|
32473
|
+
292,
|
|
32474
|
+
412,
|
|
32475
|
+
435,
|
|
32476
|
+
436,
|
|
32477
|
+
437,
|
|
32478
|
+
297,
|
|
32479
|
+
414,
|
|
32480
|
+
415,
|
|
32481
|
+
416,
|
|
32482
|
+
417,
|
|
32483
|
+
244,
|
|
32484
|
+
418,
|
|
32485
|
+
419,
|
|
32486
|
+
420,
|
|
32487
|
+
421,
|
|
32488
|
+
401,
|
|
32489
|
+
581,
|
|
32490
|
+
582,
|
|
32491
|
+
331,
|
|
32492
|
+
506,
|
|
32493
|
+
530,
|
|
32494
|
+
579,
|
|
32495
|
+
580,
|
|
32496
|
+
334,
|
|
32497
|
+
507,
|
|
32498
|
+
531,
|
|
32499
|
+
577,
|
|
32500
|
+
578,
|
|
32501
|
+
344,
|
|
32502
|
+
508,
|
|
32503
|
+
532,
|
|
32504
|
+
575,
|
|
32505
|
+
576,
|
|
32506
|
+
424,
|
|
32507
|
+
509,
|
|
32508
|
+
533,
|
|
32509
|
+
573,
|
|
32510
|
+
574,
|
|
32511
|
+
341,
|
|
32512
|
+
529,
|
|
32513
|
+
534,
|
|
32514
|
+
571,
|
|
32515
|
+
572,
|
|
32516
|
+
340,
|
|
32517
|
+
528,
|
|
32518
|
+
535,
|
|
32519
|
+
569,
|
|
32520
|
+
570,
|
|
32521
|
+
427,
|
|
32522
|
+
527,
|
|
32523
|
+
536,
|
|
32524
|
+
348,
|
|
32525
|
+
349,
|
|
32526
|
+
350,
|
|
32527
|
+
465,
|
|
32528
|
+
352,
|
|
32529
|
+
353,
|
|
32530
|
+
354,
|
|
32531
|
+
466,
|
|
32532
|
+
14,
|
|
32533
|
+
52,
|
|
32534
|
+
15,
|
|
32535
|
+
53,
|
|
32536
|
+
218,
|
|
32537
|
+
219,
|
|
32538
|
+
220,
|
|
32539
|
+
221,
|
|
32540
|
+
496,
|
|
32541
|
+
497,
|
|
32542
|
+
498,
|
|
32543
|
+
499,
|
|
32544
|
+
500,
|
|
32545
|
+
501,
|
|
32546
|
+
502,
|
|
32547
|
+
503,
|
|
32548
|
+
217,
|
|
32549
|
+
504,
|
|
32550
|
+
505,
|
|
32551
|
+
521,
|
|
32552
|
+
522,
|
|
32553
|
+
543,
|
|
32554
|
+
33,
|
|
32555
|
+
209,
|
|
32556
|
+
208,
|
|
32557
|
+
517,
|
|
32558
|
+
206,
|
|
32559
|
+
207,
|
|
32560
|
+
26,
|
|
32561
|
+
325,
|
|
32562
|
+
16,
|
|
32563
|
+
51,
|
|
32564
|
+
463,
|
|
32565
|
+
151,
|
|
32566
|
+
154,
|
|
32567
|
+
156,
|
|
32568
|
+
591,
|
|
32569
|
+
592,
|
|
32570
|
+
159,
|
|
32571
|
+
162,
|
|
32572
|
+
163,
|
|
32573
|
+
429,
|
|
32574
|
+
165,
|
|
32575
|
+
593,
|
|
32576
|
+
594,
|
|
32577
|
+
168,
|
|
32578
|
+
171,
|
|
32579
|
+
172,
|
|
32580
|
+
430,
|
|
32581
|
+
174,
|
|
32582
|
+
595,
|
|
32583
|
+
596,
|
|
32584
|
+
177,
|
|
32585
|
+
180,
|
|
32586
|
+
181,
|
|
32587
|
+
431,
|
|
32588
|
+
467,
|
|
32589
|
+
358,
|
|
32590
|
+
361,
|
|
32591
|
+
363,
|
|
32592
|
+
366,
|
|
32593
|
+
369,
|
|
32594
|
+
370,
|
|
32595
|
+
469,
|
|
32596
|
+
372,
|
|
32597
|
+
376,
|
|
32598
|
+
378,
|
|
32599
|
+
379,
|
|
32600
|
+
470,
|
|
32601
|
+
381,
|
|
32602
|
+
385,
|
|
32603
|
+
387,
|
|
32604
|
+
388,
|
|
32605
|
+
471,
|
|
32606
|
+
607,
|
|
32607
|
+
608,
|
|
32608
|
+
210,
|
|
32609
|
+
212
|
|
32610
|
+
]), t === "games_played" && (t = [607, 608, 12, 55, 54, 35, 14, 52, 15, 53, 466, 477]);
|
|
32342
32611
|
const a = [1, 2, 3];
|
|
32343
32612
|
let s = {
|
|
32344
32613
|
seasonId: e.season_id,
|
|
@@ -32360,7 +32629,7 @@ const Ane = /* @__PURE__ */ fne(ry, [["render", xne], ["__scopeId", "data-v-b548
|
|
|
32360
32629
|
playListTitle: ""
|
|
32361
32630
|
}
|
|
32362
32631
|
};
|
|
32363
|
-
e.category !== 0 && (s.advancedFilter.mainCategoryId = e.category),
|
|
32632
|
+
e.category !== 0 && (s.advancedFilter.mainCategoryId = e.category), this.$emit("openmedia", s);
|
|
32364
32633
|
},
|
|
32365
32634
|
async getStats(e) {
|
|
32366
32635
|
const t = lK.create({
|
|
@@ -32534,7 +32803,7 @@ function Mne(e, t, a, s, i, o) {
|
|
|
32534
32803
|
}
|
|
32535
32804
|
const Hne = {
|
|
32536
32805
|
$style: jne
|
|
32537
|
-
}, pf = /* @__PURE__ */ mw(Lne, [["render", Mne], ["__cssModules", Hne], ["__scopeId", "data-v-
|
|
32806
|
+
}, pf = /* @__PURE__ */ mw(Lne, [["render", Mne], ["__cssModules", Hne], ["__scopeId", "data-v-f2e12e9a"]]);
|
|
32538
32807
|
const zne = { class: "datagame-container" }, Une = {
|
|
32539
32808
|
__name: "GSCDatosGSMain",
|
|
32540
32809
|
props: {
|
|
@@ -42843,7 +43112,7 @@ const s1e = /* @__PURE__ */ _c(J0e, [["render", a1e], ["__scopeId", "data-v-5118
|
|
|
42843
43112
|
computed: {},
|
|
42844
43113
|
methods: {
|
|
42845
43114
|
openmedia(e) {
|
|
42846
|
-
|
|
43115
|
+
this.$emit("openmedia", e);
|
|
42847
43116
|
}
|
|
42848
43117
|
}
|
|
42849
43118
|
}, o1e = { style: { margin: "0 auto" } };
|
|
@@ -42862,7 +43131,7 @@ function n1e(e, t, a, s, i, o) {
|
|
|
42862
43131
|
}, null, 8, ["config", "onOpenmedia"])) : C("", !0)
|
|
42863
43132
|
]);
|
|
42864
43133
|
}
|
|
42865
|
-
const B_ = /* @__PURE__ */ _c(i1e, [["render", n1e], ["__scopeId", "data-v-
|
|
43134
|
+
const B_ = /* @__PURE__ */ _c(i1e, [["render", n1e], ["__scopeId", "data-v-e9c7ad78"]]);
|
|
42866
43135
|
const r1e = { class: "datagame-container" }, l1e = {
|
|
42867
43136
|
__name: "GSCVideoGame",
|
|
42868
43137
|
props: {
|