@golstats/gsc-landing 1.0.200 → 1.0.202

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 (34) hide show
  1. package/dist/{CardBaseAllIndividual-yLYe0xMs-SDUJvPop.js → CardBaseAllIndividual-VdTcJTWG-BVu0s4Ia.js} +71 -64
  2. package/dist/{CardGeneral-CzD9BfTs-D1qozgj2.js → CardGeneral-C-VvuOx1-DZ1STmiu.js} +92 -85
  3. package/dist/{CardGeneralIndividual-DaONNIwT-WoYrg7O0.js → CardGeneralIndividual-Dgeu5sRM-B8G1a9du.js} +45 -38
  4. package/dist/{CardGeneralTeams-CCfSIg5--ycGF0WJl.js → CardGeneralTeams-Bio2uWy5-JwL6999E.js} +63 -56
  5. package/dist/{CardIndividual-DPKW-YpP-Dnc0EEj0.js → CardIndividual-C3vZnJKJ-5q9bHalb.js} +87 -81
  6. package/dist/{CardIndividual1vs1-BRtGgXM7-CedeR8el.js → CardIndividual1vs1-ayelgnf_-Dzunebe6.js} +45 -41
  7. package/dist/{CardIndividualAreas-Da2UYEaV-BPWvNz8Q.js → CardIndividualAreas-Be04td4J-D8hPG9Ld.js} +125 -120
  8. package/dist/{CardIndividualCenters-DMkkZlrP-Bb4dMrwf.js → CardIndividualCenters-CY_VblPm-tco6UKC3.js} +115 -110
  9. package/dist/{CardIndividualDistance-C226QSwL-R--LlcPz.js → CardIndividualDistance-BJMYJrZB-CSYRc_Hh.js} +34 -30
  10. package/dist/CardIndividualFouls-CBm_fj6Z-BMwjoJEP.js +686 -0
  11. package/dist/CardIndividualGoalParticipation-dDcZFtIb-CwBtEPQN.js +115 -0
  12. package/dist/{CardIndividualGoals-BVMarvFd-DL29nvxj.js → CardIndividualGoals-Lu8PEJkR-B7Wc968g.js} +204 -197
  13. package/dist/CardIndividualGold-Ptz6THCG-BRqzfQcT.js +124 -0
  14. package/dist/{CardIndividualNoGoalReceived-CIx-n793--Wt2ynZx.js → CardIndividualNoGoalReceived-kUSshVQ5-B_Vte5MR.js} +61 -57
  15. package/dist/{CardIndividualPerformance-DyczUumz-BaHTtZS4.js → CardIndividualPerformance-BUOn0sF1-9J7h-EAR.js} +28 -24
  16. package/dist/{CardIndividualSaves-CC91zpjd-CAQ8vR7-.js → CardIndividualSaves-DRGasLFI-C3bqv0g3.js} +44 -37
  17. package/dist/{CardIndividualShotsOnGoal-CxwYTN__-Bd9Y6B6j.js → CardIndividualShotsOnGoal-D9Dx66aR-DAEm50w4.js} +74 -69
  18. package/dist/{CardIndividualStatistics-CBd679p9-itsHFDEL.js → CardIndividualStatistics-QY2fzyFQ-Cx6f8RYu.js} +47 -39
  19. package/dist/{CardPromTournament-BKH4VcBp-D784umYN.js → CardPromTournament-BScZREpO-D50kVl_Z.js} +51 -44
  20. package/dist/CardSuccessfulPasses-B3BQ72bh-2Afgc80U.js +813 -0
  21. package/dist/CardTheMostProductive-DhsxmRN2-BerzYRSH.js +80 -0
  22. package/dist/{CircleWithDotsBig-5eFuZwDk-n956nNzk.js → CircleWithDotsBig-ayb1XwYk-BxAR6vi7.js} +1 -1
  23. package/dist/{Shield-0VkASyDI-Cm8rtKBS.js → Shield-DAT34Ykl-aryfBwhm.js} +1 -1
  24. package/dist/gsc-landing.js +200 -157
  25. package/dist/gsc-landing.umd.cjs +62 -62
  26. package/dist/misc-D94RabGe-BRVOC8Yx.js +172 -0
  27. package/dist/style.css +1 -1
  28. package/package.json +2 -2
  29. package/dist/CardIndividualFouls-ycmte1YE-DyR9GrTc.js +0 -669
  30. package/dist/CardIndividualGoalParticipation-Cpg4aGAE-DeUV1zrF.js +0 -111
  31. package/dist/CardIndividualGold-Df7Raasl-Byue4uk-.js +0 -117
  32. package/dist/CardSuccessfulPasses-DKetowpu-B12McLj4.js +0 -91
  33. package/dist/CardTheMostProductive-CoGLtVYs-BZcw_blj.js +0 -75
  34. package/dist/misc-BbzSgyER-2p2XKW1m.js +0 -168
@@ -1,7 +1,7 @@
1
- import { useCssVars as C, computed as p, openBlock as l, createElementBlock as c, normalizeStyle as F, createBlock as _, mergeProps as v, withCtx as M, createElementVNode as t, createVNode as S, toDisplayString as h, createCommentVNode as d, createTextVNode as D, pushScopeId as E, popScopeId as q } from "vue";
2
- import { h as b, z as T, P as N, E as B, I as P, O as I } from "./misc-BbzSgyER-2p2XKW1m.js";
3
- import { o as O } from "./CardBaseAllIndividual-yLYe0xMs-SDUJvPop.js";
4
- const u = {
1
+ import { useCssVars as C, computed as u, openBlock as l, createElementBlock as c, normalizeStyle as _, createBlock as v, mergeProps as F, withCtx as M, createElementVNode as t, createVNode as S, toDisplayString as p, createCommentVNode as h, createTextVNode as q, pushScopeId as D, popScopeId as T } from "vue";
2
+ import { h as b, V as B, P as E, z as N, I as V, O as I } from "./misc-D94RabGe-BRVOC8Yx.js";
3
+ import { r as P } from "./CardBaseAllIndividual-VdTcJTWG-BVu0s4Ia.js";
4
+ const y = {
5
5
  props: {
6
6
  cancha: {
7
7
  type: String,
@@ -46,26 +46,26 @@ const u = {
46
46
  }
47
47
  }, L = () => {
48
48
  C((r) => ({
49
- "1171bab7": r.colorstat,
50
- "6e896034": r.accelerometerStyle.percentage,
51
- "5f9a566f": r.colorcancha
49
+ "341fe420": r.colorstat,
50
+ "7277aacf": r.accelerometerStyle.percentage,
51
+ e1386cd0: r.colorcancha
52
52
  }));
53
- }, x = u.setup;
54
- u.setup = x ? (r, o) => (L(), x(r, o)) : L;
55
- const s = (r) => (E("data-v-46fe0ed8"), r = r(), q(), r), V = { class: "outer-box" }, z = {
53
+ }, x = y.setup;
54
+ y.setup = x ? (r, o) => (L(), x(r, o)) : L;
55
+ const n = (r) => (D("data-v-9e7db71d"), r = r(), T(), r), z = { class: "outer-box" }, O = {
56
56
  key: 0,
57
57
  class: "inner-box"
58
- }, A = {
58
+ }, Z = {
59
59
  key: 1,
60
60
  class: "accelerometer"
61
- }, U = { class: "accelerometer-value" }, Z = /* @__PURE__ */ s(() => /* @__PURE__ */ t("span", { class: "percentage" }, "%", -1)), $ = {
61
+ }, $ = { class: "accelerometer-value" }, A = /* @__PURE__ */ n(() => /* @__PURE__ */ t("span", { class: "percentage" }, "%", -1)), U = {
62
62
  key: 2,
63
63
  width: "212",
64
64
  height: "137",
65
65
  viewBox: "0 0 212 137",
66
66
  fill: "none",
67
67
  xmlns: "http://www.w3.org/2000/svg"
68
- }, R = ["fill"], j = /* @__PURE__ */ s(() => /* @__PURE__ */ t("mask", {
68
+ }, j = ["fill"], H = /* @__PURE__ */ n(() => /* @__PURE__ */ t("mask", {
69
69
  id: "path-2-inside-1_2150_1935",
70
70
  fill: "white"
71
71
  }, [
@@ -77,19 +77,19 @@ const s = (r) => (E("data-v-46fe0ed8"), r = r(), q(), r), V = { class: "outer-bo
77
77
  rx: "1.22558",
78
78
  transform: "rotate(-180 211.787 136.084)"
79
79
  })
80
- ], -1)), H = ["stroke"], G = /* @__PURE__ */ s(() => /* @__PURE__ */ t("path", {
80
+ ], -1)), G = ["stroke"], J = /* @__PURE__ */ n(() => /* @__PURE__ */ t("path", {
81
81
  d: "M105.773 135.615L105.773 0.58395",
82
82
  stroke: "#DFE3E2",
83
83
  "stroke-width": "0.450603",
84
84
  "stroke-linecap": "square"
85
- }, null, -1)), J = ["stroke"], Y = ["stroke"], K = ["stroke"], Q = ["stroke"], W = ["stroke"], X = ["stroke"], tt = { opacity: "0.7" }, at = ["stroke"], ot = ["stroke"], rt = ["stroke"], et = ["stroke"], lt = ["stroke"], ct = {
85
+ }, null, -1)), K = ["stroke"], Y = ["stroke"], Q = ["stroke"], R = ["stroke"], W = ["stroke"], X = ["stroke"], tt = { opacity: "0.7" }, at = ["stroke"], ot = ["stroke"], rt = ["stroke"], et = ["stroke"], lt = ["stroke"], ct = {
86
86
  key: 3,
87
87
  width: "212",
88
88
  height: "137",
89
89
  viewBox: "0 0 212 137",
90
90
  fill: "none",
91
91
  xmlns: "http://www.w3.org/2000/svg"
92
- }, st = ["fill"], nt = /* @__PURE__ */ s(() => /* @__PURE__ */ t("mask", {
92
+ }, st = ["fill"], nt = /* @__PURE__ */ n(() => /* @__PURE__ */ t("mask", {
93
93
  id: "path-2-inside-1_2150_1704",
94
94
  fill: "white"
95
95
  }, [
@@ -101,19 +101,19 @@ const s = (r) => (E("data-v-46fe0ed8"), r = r(), q(), r), V = { class: "outer-bo
101
101
  rx: "1.22558",
102
102
  transform: "rotate(-180 211.787 136.084)"
103
103
  })
104
- ], -1)), it = ["stroke"], ht = /* @__PURE__ */ s(() => /* @__PURE__ */ t("path", {
104
+ ], -1)), it = ["stroke"], ht = /* @__PURE__ */ n(() => /* @__PURE__ */ t("path", {
105
105
  d: "M105.773 135.615L105.773 0.58395",
106
106
  stroke: "#DFE3E2",
107
107
  "stroke-width": "0.450603",
108
108
  "stroke-linecap": "square"
109
- }, null, -1)), dt = ["stroke"], kt = ["stroke"], pt = ["stroke"], ut = ["stroke"], yt = ["stroke"], wt = ["stroke"], ft = { opacity: "0.7" }, mt = ["stroke"], gt = ["stroke"], Lt = ["stroke"], xt = ["stroke"], Ct = ["stroke"], bt = {
109
+ }, null, -1)), dt = ["stroke"], kt = ["stroke"], pt = ["stroke"], ut = ["stroke"], yt = ["stroke"], wt = ["stroke"], mt = { opacity: "0.7" }, ft = ["stroke"], gt = ["stroke"], Lt = ["stroke"], xt = ["stroke"], Ct = ["stroke"], bt = {
110
110
  key: 4,
111
111
  width: "212",
112
112
  height: "137",
113
113
  viewBox: "0 0 212 137",
114
114
  fill: "none",
115
115
  xmlns: "http://www.w3.org/2000/svg"
116
- }, Ft = ["fill"], _t = /* @__PURE__ */ s(() => /* @__PURE__ */ t("mask", {
116
+ }, _t = ["fill"], vt = /* @__PURE__ */ n(() => /* @__PURE__ */ t("mask", {
117
117
  id: "path-2-inside-1_2150_1773",
118
118
  fill: "white"
119
119
  }, [
@@ -125,21 +125,21 @@ const s = (r) => (E("data-v-46fe0ed8"), r = r(), q(), r), V = { class: "outer-bo
125
125
  rx: "1.22558",
126
126
  transform: "rotate(-180 211.787 136.084)"
127
127
  })
128
- ], -1)), vt = ["stroke"], Mt = /* @__PURE__ */ s(() => /* @__PURE__ */ t("path", {
128
+ ], -1)), Ft = ["stroke"], Mt = /* @__PURE__ */ n(() => /* @__PURE__ */ t("path", {
129
129
  d: "M105.773 135.615L105.773 0.58395",
130
130
  stroke: "#DFE3E2",
131
131
  "stroke-width": "0.450603",
132
132
  "stroke-linecap": "square"
133
- }, null, -1)), St = ["stroke"], Dt = ["stroke"], Et = ["stroke"], qt = ["stroke"], Tt = ["stroke"], Nt = ["stroke"], Bt = { opacity: "0.7" }, Pt = ["stroke"], It = ["stroke"], Ot = ["stroke"], Vt = ["stroke"], zt = ["stroke"];
134
- function At(r, o, a, y, n, e) {
135
- return l(), c("div", V, [
136
- a.type === "box" ? (l(), c("div", z, h(a.stat), 1)) : a.type === "accelerometer" ? (l(), c("div", A, [
137
- t("div", U, [
138
- D(h(a.stat), 1),
139
- Z
133
+ }, null, -1)), St = ["stroke"], qt = ["stroke"], Dt = ["stroke"], Tt = ["stroke"], Bt = ["stroke"], Et = ["stroke"], Nt = { opacity: "0.7" }, Vt = ["stroke"], It = ["stroke"], Pt = ["stroke"], zt = ["stroke"], Ot = ["stroke"];
134
+ function Zt(r, o, a, w, i, e) {
135
+ return l(), c("div", z, [
136
+ a.type === "box" ? (l(), c("div", O, p(a.stat), 1)) : a.type === "accelerometer" ? (l(), c("div", Z, [
137
+ t("div", $, [
138
+ q(p(a.stat), 1),
139
+ A
140
140
  ])
141
- ])) : d("", !0),
142
- e.canchaType === "full" ? (l(), c("svg", $, [
141
+ ])) : h("", !0),
142
+ e.canchaType === "full" ? (l(), c("svg", U, [
143
143
  t("rect", {
144
144
  opacity: "0.6",
145
145
  x: "1.89551",
@@ -149,8 +149,8 @@ function At(r, o, a, y, n, e) {
149
149
  transform: "rotate(-90 1.89551 136)",
150
150
  fill: a.colorfillcancha,
151
151
  "fill-opacity": "0.8"
152
- }, null, 8, R),
153
- j,
152
+ }, null, 8, j),
153
+ H,
154
154
  t("rect", {
155
155
  x: "211.787",
156
156
  y: "136.084",
@@ -161,13 +161,13 @@ function At(r, o, a, y, n, e) {
161
161
  stroke: a.colorcancha,
162
162
  "stroke-width": "1.84031",
163
163
  mask: "url(#FFFFFF)"
164
- }, null, 8, H),
165
- G,
164
+ }, null, 8, G),
165
+ J,
166
166
  t("path", {
167
167
  d: "M211.787 100.685L183.971 100.685C183.633 100.685 183.359 100.41 183.359 100.072L183.359 36.1511C183.359 35.8126 183.633 35.5383 183.971 35.5383L211.787 35.5383",
168
168
  stroke: a.colorcancha,
169
169
  "stroke-opacity": "0.7"
170
- }, null, 8, J),
170
+ }, null, 8, K),
171
171
  t("path", {
172
172
  d: "M211.787 88.8418L195.817 88.8418C195.478 88.8418 195.204 88.5674 195.204 88.229L195.204 47.9978C195.204 47.6593 195.478 47.385 195.817 47.385L211.787 47.385",
173
173
  stroke: a.colorcancha,
@@ -178,13 +178,13 @@ function At(r, o, a, y, n, e) {
178
178
  stroke: a.colorcancha,
179
179
  "stroke-opacity": "0.6",
180
180
  "stroke-linecap": "square"
181
- }, null, 8, K),
181
+ }, null, 8, Q),
182
182
  t("path", {
183
183
  d: "M0.641875 100.683L28.4544 100.683C28.7941 100.683 29.0689 100.406 29.0672 100.067L28.7428 36.146C28.7411 35.8088 28.4673 35.5363 28.1301 35.5363L1.13309 35.5363",
184
184
  stroke: a.colorcancha,
185
185
  "stroke-opacity": "0.6",
186
186
  "stroke-linecap": "square"
187
- }, null, 8, Q),
187
+ }, null, 8, R),
188
188
  t("path", {
189
189
  d: "M71.8618 68.1115C71.8618 49.38 87.0472 34.1951 105.779 34.1951C124.511 34.1951 139.697 49.38 139.697 68.1115C139.697 86.843 124.511 102.028 105.779 102.028C87.0472 102.028 71.8618 86.843 71.8618 68.1115Z",
190
190
  stroke: a.colorcancha,
@@ -295,13 +295,13 @@ function At(r, o, a, y, n, e) {
295
295
  stroke: a.colorcancha,
296
296
  "stroke-width": "0.450603"
297
297
  }, null, 8, wt),
298
- t("g", ft, [
298
+ t("g", mt, [
299
299
  t("path", {
300
300
  d: "M52.6768 136.08L52.6768 7.43866e-05",
301
301
  stroke: a.colorcancha,
302
302
  "stroke-width": "0.523385",
303
303
  "stroke-dasharray": "1.05 1.05"
304
- }, null, 8, mt),
304
+ }, null, 8, ft),
305
305
  t("path", {
306
306
  d: "M105.342 136.08L105.342 7.43866e-05",
307
307
  stroke: a.colorcancha,
@@ -335,8 +335,8 @@ function At(r, o, a, y, n, e) {
335
335
  transform: "matrix(-4.37114e-08 -1 -1 4.37114e-08 106.002 136)",
336
336
  fill: a.colorfillcancha,
337
337
  "fill-opacity": "0.8"
338
- }, null, 8, Ft),
339
- _t,
338
+ }, null, 8, _t),
339
+ vt,
340
340
  t("rect", {
341
341
  x: "211.787",
342
342
  y: "136.084",
@@ -346,7 +346,7 @@ function At(r, o, a, y, n, e) {
346
346
  transform: "rotate(-180 211.787 136.084)",
347
347
  stroke: a.colorcancha,
348
348
  "stroke-width": "1.84031"
349
- }, null, 8, vt),
349
+ }, null, 8, Ft),
350
350
  Mt,
351
351
  t("path", {
352
352
  d: "M211.787 100.685L183.971 100.685C183.633 100.685 183.359 100.41 183.359 100.072L183.359 36.1511C183.359 35.8126 183.633 35.5383 183.971 35.5383L211.787 35.5383",
@@ -357,25 +357,25 @@ function At(r, o, a, y, n, e) {
357
357
  d: "M211.787 88.8418L195.817 88.8418C195.478 88.8418 195.204 88.5674 195.204 88.229L195.204 47.9978C195.204 47.6593 195.478 47.385 195.817 47.385L211.787 47.385",
358
358
  stroke: a.colorcancha,
359
359
  "stroke-opacity": "0.7"
360
- }, null, 8, Dt),
360
+ }, null, 8, qt),
361
361
  t("path", {
362
362
  d: "M0.635487 88.833L16.6031 88.833C16.9427 88.833 17.2175 88.5569 17.2159 88.2174L17.0288 47.9861C17.0272 47.6488 16.7533 47.3762 16.416 47.3762L0.922031 47.3762",
363
363
  stroke: a.colorcancha,
364
364
  "stroke-opacity": "0.6",
365
365
  "stroke-linecap": "square"
366
- }, null, 8, Et),
366
+ }, null, 8, Dt),
367
367
  t("path", {
368
368
  d: "M0.641875 100.683L28.4544 100.683C28.7941 100.683 29.0689 100.406 29.0672 100.067L28.7428 36.146C28.7411 35.8088 28.4673 35.5363 28.1301 35.5363L1.13309 35.5363",
369
369
  stroke: a.colorcancha,
370
370
  "stroke-opacity": "0.6",
371
371
  "stroke-linecap": "square"
372
- }, null, 8, qt),
372
+ }, null, 8, Tt),
373
373
  t("path", {
374
374
  d: "M71.8618 68.1115C71.8618 49.38 87.0472 34.1951 105.779 34.1951C124.511 34.1951 139.697 49.38 139.697 68.1115C139.697 86.843 124.511 102.028 105.779 102.028C87.0472 102.028 71.8618 86.843 71.8618 68.1115Z",
375
375
  stroke: a.colorcancha,
376
376
  "stroke-opacity": "0.7",
377
377
  "stroke-width": "1.16503"
378
- }, null, 8, Tt),
378
+ }, null, 8, Bt),
379
379
  t("ellipse", {
380
380
  cx: "105.788",
381
381
  cy: "68.1164",
@@ -385,14 +385,14 @@ function At(r, o, a, y, n, e) {
385
385
  fill: "#FF0000",
386
386
  stroke: a.colorcancha,
387
387
  "stroke-width": "0.450603"
388
- }, null, 8, Nt),
389
- t("g", Bt, [
388
+ }, null, 8, Et),
389
+ t("g", Nt, [
390
390
  t("path", {
391
391
  d: "M52.6768 136.08L52.6768 7.43866e-05",
392
392
  stroke: a.colorcancha,
393
393
  "stroke-width": "0.523385",
394
394
  "stroke-dasharray": "1.05 1.05"
395
- }, null, 8, Pt),
395
+ }, null, 8, Vt),
396
396
  t("path", {
397
397
  d: "M105.342 136.08L105.342 7.43866e-05",
398
398
  stroke: a.colorcancha,
@@ -404,30 +404,30 @@ function At(r, o, a, y, n, e) {
404
404
  stroke: a.colorcancha,
405
405
  "stroke-width": "0.523385",
406
406
  "stroke-dasharray": "1.05 1.05"
407
- }, null, 8, Ot),
407
+ }, null, 8, Pt),
408
408
  t("path", {
409
409
  d: "M210.673 90.7202L0.0105608 90.7202",
410
410
  stroke: a.colorcancha,
411
411
  "stroke-width": "0.523385",
412
412
  "stroke-dasharray": "1.05 1.05"
413
- }, null, 8, Vt),
413
+ }, null, 8, zt),
414
414
  t("path", {
415
415
  d: "M210.673 45.3599L0.0105608 45.3599",
416
416
  stroke: a.colorcancha,
417
417
  "stroke-width": "0.523385",
418
418
  "stroke-dasharray": "1.05 1.05"
419
- }, null, 8, zt)
419
+ }, null, 8, Ot)
420
420
  ])
421
- ])) : d("", !0)
421
+ ])) : h("", !0)
422
422
  ]);
423
423
  }
424
- const Ut = /* @__PURE__ */ b(u, [["render", At], ["__scopeId", "data-v-46fe0ed8"]]), Zt = { class: "content-wrapper" }, $t = { class: "content-box" }, Rt = { class: "text-container" }, jt = {
424
+ const $t = /* @__PURE__ */ b(y, [["render", Zt], ["__scopeId", "data-v-9e7db71d"]]), At = { class: "content-wrapper" }, Ut = { class: "content-box" }, jt = { class: "text-container" }, Ht = {
425
425
  key: 0,
426
426
  class: "title"
427
- }, Ht = {
427
+ }, Gt = {
428
428
  key: 1,
429
429
  class: "subtitle"
430
- }, Gt = {
430
+ }, Jt = {
431
431
  __name: "CardIndividual",
432
432
  props: {
433
433
  height: {
@@ -445,54 +445,60 @@ const Ut = /* @__PURE__ */ b(u, [["render", At], ["__scopeId", "data-v-46fe0ed8"
445
445
  descriptionType: {
446
446
  type: Number,
447
447
  default: 0
448
+ },
449
+ showVideos: {
450
+ type: Boolean,
451
+ default: !0
448
452
  }
449
453
  },
450
454
  setup(r) {
451
455
  C((e) => ({
452
- "17ceb192": o.data.subtitle ? "100%" : "78%"
456
+ b47f3daa: i.value.subtitle ? "100%" : "78%"
453
457
  }));
454
- const o = r, a = p(() => {
455
- var e, i, k, w, f, m, g;
458
+ const o = r, a = u(() => {
459
+ var e, s, d, k, m, f, g;
456
460
  return {
457
461
  height: o.height,
458
462
  width: o.width,
459
463
  footerHeight: "93px",
460
464
  footerPadding: "24px 24px 30px 24px",
461
- playerPhotoUrl: T(o.data.player_id || ""),
462
- teamLogoUrl: N(o.data.team_id || "") || "",
465
+ playerPhotoUrl: B(o.data.player_id || ""),
466
+ teamLogoUrl: E(o.data.team_id || "") || "",
463
467
  cardColor: o.data.thumbnails.colors.background_color || "#000000",
464
- backgroundImageSrc: B((w = (k = (i = (e = o.data) == null ? void 0 : e.thumbnails) == null ? void 0 : i.images) == null ? void 0 : k.background_player_in_action) != null && w[0] ? o.data.thumbnails.images.background_player_in_action[0] : (g = (m = (f = o.data) == null ? void 0 : f.thumbnails) == null ? void 0 : m.images) != null && g.background_team ? o.data.thumbnails.images.background_team : ""),
468
+ backgroundImageSrc: N((k = (d = (s = (e = o.data) == null ? void 0 : e.thumbnails) == null ? void 0 : s.images) == null ? void 0 : d.background_player_in_action) != null && k[0] ? o.data.thumbnails.images.background_player_in_action[0] : (g = (f = (m = o.data) == null ? void 0 : m.thumbnails) == null ? void 0 : f.images) != null && g.background_team ? o.data.thumbnails.images.background_team : ""),
465
469
  textColor: o.data.thumbnails.colors.font_color_description || "#FFFFFF",
466
470
  footerBodyData: {
467
471
  textColor: o.data.thumbnails.colors.font_color_stats || "#FFFFFF",
468
- description: P(I({ data: o.data, descriptionType: o.descriptionType })),
472
+ description: V(I({ data: o.data, descriptionType: o.descriptionType })),
469
473
  totalTextColor: o.data.thumbnails.colors.font_color_stats || "#FFFFFF",
470
474
  totalCircleColor: o.data.thumbnails.colors.background_color || "#000000",
471
475
  isTotalPercentage: !!o.data.footer.show_percentage
472
476
  }
473
477
  };
474
- }), y = p(() => ({
478
+ }), w = u(() => ({
475
479
  "--title-color": o.data.thumbnails.colors.font_color_header || "#FFFFFF"
476
- })), n = p(() => {
480
+ })), i = u(() => {
477
481
  var e;
478
- const i = "BALONES RECUPERADOS";
479
482
  if (!o.data.title) return { title: "", subtitle: "" };
480
- const k = o.data.title.replace(i, "").trim();
483
+ const s = o.data.title.match(/\*(.*?)\*/), d = s ? s[1] : "", k = s ? o.data.title.replace(/\*.*?\*/, "").trim() : o.data.title.trim();
481
484
  return {
482
- title: i.replace(/\*/g, ""),
483
- subtitle: k.replace(/\*/g, ""),
484
- showPlus: !((e = o.data.footer) != null && e.show_percentage)
485
+ title: d,
486
+ subtitle: k,
487
+ showPlus: !!((e = o.data.header) != null && e.show_percentage)
485
488
  };
486
489
  });
487
- return (e, i) => (l(), c("div", {
490
+ return (e, s) => (l(), c("div", {
488
491
  class: "card-general",
489
- style: F(y.value)
492
+ style: _(w.value)
490
493
  }, [
491
- a.value ? (l(), _(O, v({ key: 0 }, a.value, { width: r.width }), {
494
+ a.value ? (l(), v(P, F({ key: 0 }, a.value, {
495
+ width: r.width,
496
+ "show-videos": r.showVideos
497
+ }), {
492
498
  body: M(() => [
493
- t("div", Zt, [
494
- t("div", $t, [
495
- S(Ut, {
499
+ t("div", At, [
500
+ t("div", Ut, [
501
+ S($t, {
496
502
  colorfillcancha: o.data.thumbnails.colors.graphic_color_2,
497
503
  colorcancha: o.data.thumbnails.colors.graphic_color,
498
504
  colorstat: o.data.thumbnails.colors.data_color,
@@ -501,17 +507,17 @@ const Ut = /* @__PURE__ */ b(u, [["render", At], ["__scopeId", "data-v-46fe0ed8"
501
507
  type: o.data.body.show_percentage == 1 ? "accelerometer" : "box"
502
508
  }, null, 8, ["colorfillcancha", "colorcancha", "colorstat", "cancha", "stat", "type"])
503
509
  ]),
504
- t("div", Rt, [
505
- n.value.title ? (l(), c("h2", jt, h(n.value.showPlus ? "+" : "") + " " + h(n.value.title), 1)) : d("", !0),
506
- n.value.subtitle ? (l(), c("p", Ht, h(n.value.subtitle), 1)) : d("", !0)
510
+ t("div", jt, [
511
+ i.value.title ? (l(), c("h2", Ht, p(i.value.title), 1)) : h("", !0),
512
+ i.value.subtitle ? (l(), c("p", Gt, p(i.value.subtitle), 1)) : h("", !0)
507
513
  ])
508
514
  ])
509
515
  ]),
510
516
  _: 1
511
- }, 16, ["width"])) : d("", !0)
517
+ }, 16, ["width", "show-videos"])) : h("", !0)
512
518
  ], 4));
513
519
  }
514
- }, Qt = /* @__PURE__ */ b(Gt, [["__scopeId", "data-v-5d3e9ef1"]]);
520
+ }, Rt = /* @__PURE__ */ b(Jt, [["__scopeId", "data-v-6faa6970"]]);
515
521
  export {
516
- Qt as default
522
+ Rt as default
517
523
  };
@@ -1,7 +1,7 @@
1
- import { computed as i, openBlock as l, createElementBlock as d, normalizeStyle as f, createVNode as b, normalizeProps as v, guardReactiveProps as C, withCtx as w, createElementVNode as o, toDisplayString as F, Fragment as g, pushScopeId as y, popScopeId as L } from "vue";
2
- import { o as x } from "./CardBaseAllIndividual-yLYe0xMs-SDUJvPop.js";
3
- import { h as k, z as S, P as I, E as P, I as z, O as B } from "./misc-BbzSgyER-2p2XKW1m.js";
4
- const m = (a) => (y("data-v-1becc5ad"), a = a(), L(), a), E = { class: "onevsone__body" }, T = { class: "onevsone__body__title" }, H = { class: "contsvg" }, N = /* @__PURE__ */ m(() => /* @__PURE__ */ o("img", { src: "http://golstatsimages.blob.core.windows.net/tournaments-cards/downloaddefensivo.png" }, null, -1)), D = ["fill"], M = ["fill"], U = /* @__PURE__ */ m(() => /* @__PURE__ */ o("img", { src: "http://golstatsimages.blob.core.windows.net/tournaments-cards/download.png" }, null, -1)), V = ["fill"], Z = ["fill"], O = {
1
+ import { computed as i, openBlock as l, createElementBlock as d, normalizeStyle as f, createVNode as b, mergeProps as w, withCtx as v, createElementVNode as t, toDisplayString as C, Fragment as g, pushScopeId as F, popScopeId as y } from "vue";
2
+ import { r as L } from "./CardBaseAllIndividual-VdTcJTWG-BVu0s4Ia.js";
3
+ import { h as x, V as k, P as S, z as V, I as B, O as I } from "./misc-D94RabGe-BRVOC8Yx.js";
4
+ const h = (e) => (F("data-v-504d80ec"), e = e(), y(), e), T = { class: "onevsone__body" }, P = { class: "onevsone__body__title" }, H = { class: "contsvg" }, N = /* @__PURE__ */ h(() => /* @__PURE__ */ t("img", { src: "http://golstatsimages.blob.core.windows.net/tournaments-cards/downloaddefensivo.png" }, null, -1)), D = ["fill"], E = ["fill"], M = /* @__PURE__ */ h(() => /* @__PURE__ */ t("img", { src: "http://golstatsimages.blob.core.windows.net/tournaments-cards/download.png" }, null, -1)), U = ["fill"], Z = ["fill"], z = {
5
5
  __name: "CardIndividual1vs1",
6
6
  props: {
7
7
  height: {
@@ -19,63 +19,67 @@ const m = (a) => (y("data-v-1becc5ad"), a = a(), L(), a), E = { class: "onevsone
19
19
  descriptionType: {
20
20
  type: Number,
21
21
  default: 0
22
+ },
23
+ showVideos: {
24
+ type: Boolean,
25
+ default: !0
22
26
  }
23
27
  },
24
- setup(a) {
25
- const t = a, h = i(() => {
26
- var n, r, e, s, c, u, p;
28
+ setup(e) {
29
+ const o = e, m = i(() => {
30
+ var r, n, a, s, c, u, p;
27
31
  return {
28
- height: t.height,
29
- width: t.width,
32
+ height: o.height,
33
+ width: o.width,
30
34
  footerHeight: "137px",
31
35
  footerPadding: "24px 24px 25px 24px",
32
- playerPhotoUrl: S(t.data.player_id || ""),
33
- teamLogoUrl: I(t.data.team_id || "") || "",
34
- cardColor: t.data.thumbnails.colors.background_color || "#000000",
35
- backgroundImageSrc: P((s = (e = (r = (n = t.data) == null ? void 0 : n.thumbnails) == null ? void 0 : r.images) == null ? void 0 : e.background_player_in_action) != null && s[0] ? t.data.thumbnails.images.background_player_in_action[0] : (p = (u = (c = t.data) == null ? void 0 : c.thumbnails) == null ? void 0 : u.images) != null && p.background_team ? t.data.thumbnails.images.background_team : ""),
36
- textColor: t.data.thumbnails.colors.font_color_description || "#FFFFFF",
36
+ playerPhotoUrl: k(o.data.player_id || ""),
37
+ teamLogoUrl: S(o.data.team_id || "") || "",
38
+ cardColor: o.data.thumbnails.colors.background_color || "#000000",
39
+ backgroundImageSrc: V((s = (a = (n = (r = o.data) == null ? void 0 : r.thumbnails) == null ? void 0 : n.images) == null ? void 0 : a.background_player_in_action) != null && s[0] ? o.data.thumbnails.images.background_player_in_action[0] : (p = (u = (c = o.data) == null ? void 0 : c.thumbnails) == null ? void 0 : u.images) != null && p.background_team ? o.data.thumbnails.images.background_team : ""),
40
+ textColor: o.data.thumbnails.colors.font_color_description || "#FFFFFF",
37
41
  footerBodyData: {
38
- textColor: t.data.thumbnails.colors.font_color_stats || "#FFFFFF",
39
- description: z(B({ data: t.data, descriptionType: t.descriptionType })),
40
- total: t.data.footer && t.data.footer.show_percentage == 1 ? t.data.percentage : t.data.total,
41
- totalTextColor: t.data.thumbnails.colors.font_color_stats || "#FFFFFF",
42
- totalCircleColor: t.data.thumbnails.colors.background_color || "#000000",
43
- isTotalPercentage: t.data.footer && !!t.data.footer.show_percentage
42
+ textColor: o.data.thumbnails.colors.font_color_stats || "#FFFFFF",
43
+ description: B(I({ data: o.data, descriptionType: o.descriptionType })),
44
+ total: o.data.footer && o.data.footer.show_percentage == 1 ? o.data.percentage : o.data.total,
45
+ totalTextColor: o.data.thumbnails.colors.font_color_stats || "#FFFFFF",
46
+ totalCircleColor: o.data.thumbnails.colors.background_color || "#000000",
47
+ isTotalPercentage: o.data.footer && !!o.data.footer.show_percentage
44
48
  }
45
49
  };
46
50
  });
47
- i(() => t.data.id);
51
+ i(() => o.data.id);
48
52
  const _ = i(() => ({
49
- "--title-color": t.data.thumbnails.colors.font_color_header || "#FFFFFF"
53
+ "--title-color": o.data.thumbnails.colors.font_color_header || "#FFFFFF"
50
54
  }));
51
- return (n, r) => (l(), d("div", {
55
+ return (r, n) => (l(), d("div", {
52
56
  class: "onevsone",
53
57
  style: f(_.value)
54
58
  }, [
55
- b(x, v(C(h.value)), {
56
- body: w(() => {
57
- var e;
59
+ b(L, w(m.value, { "show-videos": e.showVideos }), {
60
+ body: v(() => {
61
+ var a;
58
62
  return [
59
- o("div", E, [
60
- o("div", T, F(t.data.title.replace(/\*/g, "")), 1),
61
- o("div", H, [
62
- (e = t.data.categories) != null && e.includes(4) ? (l(), d(g, { key: 1 }, [
63
- U,
63
+ t("div", T, [
64
+ t("div", P, C(o.data.title.replace(/\*/g, "")), 1),
65
+ t("div", H, [
66
+ (a = o.data.categories) != null && a.includes(4) ? (l(), d(g, { key: 1 }, [
67
+ M,
64
68
  (l(), d("svg", {
65
69
  width: "12",
66
70
  class: "arrow",
67
71
  height: "75",
68
72
  viewBox: "0 0 12 75",
69
- fill: t.data.thumbnails.colors.icon_color,
73
+ fill: o.data.thumbnails.colors.icon_color,
70
74
  xmlns: "http://www.w3.org/2000/svg"
71
75
  }, [
72
- o("path", {
76
+ t("path", {
73
77
  "fill-rule": "evenodd",
74
78
  "clip-rule": "evenodd",
75
79
  d: "M5 4.5489L5 75H7L7 4.62807L10.1992 7.86923C10.3268 7.9985 10.4817 8.05853 10.664 8.04929C10.8463 8.04006 11.0013 7.9708 11.1289 7.84153L11.7304 7.23208C11.858 7.1028 11.9218 6.94582 11.9218 6.76114C11.9218 6.57645 11.858 6.41948 11.7304 6.2902L6.34592 0.836174C6.23509 0.741615 6.10676 0.694336 5.96092 0.694336C5.77863 0.694336 5.62368 0.768211 5.49608 0.915955L0.191406 6.2902C0.0638018 6.41948 0 6.57645 0 6.76114C0 6.94582 0.0638018 7.1028 0.191406 7.23208L0.792967 7.84153C0.920571 7.9708 1.07552 8.04006 1.25781 8.04929C1.4401 8.05853 1.59505 7.9985 1.72265 7.86923L5 4.5489Z",
76
- fill: t.data.thumbnails.colors.icon_color
80
+ fill: o.data.thumbnails.colors.icon_color
77
81
  }, null, 8, Z)
78
- ], 8, V))
82
+ ], 8, U))
79
83
  ], 64)) : (l(), d(g, { key: 0 }, [
80
84
  N,
81
85
  (l(), d("svg", {
@@ -83,15 +87,15 @@ const m = (a) => (y("data-v-1becc5ad"), a = a(), L(), a), E = { class: "onevsone
83
87
  width: "12",
84
88
  height: "75",
85
89
  viewBox: "0 0 12 75",
86
- fill: t.data.thumbnails.colors.icon_color,
90
+ fill: o.data.thumbnails.colors.icon_color,
87
91
  xmlns: "http://www.w3.org/2000/svg"
88
92
  }, [
89
- o("path", {
93
+ t("path", {
90
94
  "fill-rule": "evenodd",
91
95
  "clip-rule": "evenodd",
92
96
  d: "M5 71.1454L5 0.694344H7L7 71.0663L10.1992 67.8251C10.3268 67.6958 10.4817 67.6358 10.664 67.6451C10.8463 67.6543 11.0013 67.7235 11.1289 67.8528L11.7304 68.4623C11.858 68.5915 11.9218 68.7485 11.9218 68.9332C11.9218 69.1179 11.858 69.2749 11.7304 69.4041L6.34592 74.8582C6.23509 74.9527 6.10676 75 5.96092 75C5.77863 75 5.62368 74.9261 5.49608 74.7784L0.191406 69.4041C0.0638018 69.2749 0 69.1179 0 68.9332C0 68.7485 0.0638018 68.5915 0.191406 68.4623L0.792967 67.8528C0.920571 67.7235 1.07552 67.6543 1.25781 67.6451C1.4401 67.6358 1.59505 67.6958 1.72265 67.8251L5 71.1454Z",
93
- fill: t.data.thumbnails.colors.icon_color
94
- }, null, 8, M)
97
+ fill: o.data.thumbnails.colors.icon_color
98
+ }, null, 8, E)
95
99
  ], 8, D))
96
100
  ], 64))
97
101
  ])
@@ -99,10 +103,10 @@ const m = (a) => (y("data-v-1becc5ad"), a = a(), L(), a), E = { class: "onevsone
99
103
  ];
100
104
  }),
101
105
  _: 1
102
- }, 16)
106
+ }, 16, ["show-videos"])
103
107
  ], 4));
104
108
  }
105
- }, A = /* @__PURE__ */ k(O, [["__scopeId", "data-v-1becc5ad"]]);
109
+ }, A = /* @__PURE__ */ x(z, [["__scopeId", "data-v-504d80ec"]]);
106
110
  export {
107
111
  A as default
108
112
  };