@golstats/gsc-relevant-data 1.0.15 → 1.0.17

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 (36) hide show
  1. package/dist/CardBase-FI6JXGHQ-CIl1rArT.js +127 -0
  2. package/dist/{CardBaseAllIndividual-D0CaU15e-CLPB0z0l.js → CardBaseAllIndividual-DmeCG9Bu-BkRRCAkF.js} +20 -16
  3. package/dist/{CardGeneral-AZwvWZ_3-AQOM0OL9.js → CardGeneral-CA0zyzc5-hoalFeRn.js} +97 -89
  4. package/dist/{CardGeneralIndividual-DetWgcUA-BTLZpGNX.js → CardGeneralIndividual-CGvW_cNJ-Brc4719X.js} +54 -46
  5. package/dist/{CardGeneralTeams-wLzPsHgF-fLdKm-YP.js → CardGeneralTeams-B2Mt_1ck-DGtGp0kz.js} +61 -53
  6. package/dist/{CardIndividual-DsTXOh1h-Dc3790C2.js → CardIndividual-CVuyIMNJ-DrLJnLyX.js} +109 -101
  7. package/dist/CardIndividual1vs1-CHGIwVW_-D_F1FbBt.js +113 -0
  8. package/dist/{CardIndividualAreas-DngsmF39-DcK3uLDs.js → CardIndividualAreas-CTSkG6vH-3wFR3TUs.js} +59 -54
  9. package/dist/{CardIndividualCenters-BG_eOM3D-xuIP7w17.js → CardIndividualCenters-CtOymA-1-BTSaAuY0.js} +114 -109
  10. package/dist/{CardIndividualDistance-CvBDGVS--D8YWMCKb.js → CardIndividualDistance-BEunwEvl-C_sM7SpW.js} +35 -30
  11. package/dist/{CardIndividualFouls-C44UeLyO-ZIHkkK8-.js → CardIndividualFouls-BZmy1C5v-BTMzgLW1.js} +131 -126
  12. package/dist/CardIndividualGoalParticipation-BfQRXmuo-vKrLnbqm.js +116 -0
  13. package/dist/{CardIndividualGoals-B4b5wkp6-BwluJyoB.js → CardIndividualGoals-DG9vgQml-DWpZJnKo.js} +276 -220
  14. package/dist/{CardIndividualGold-BfC-u_iy-DT3GeGNQ.js → CardIndividualGold-Rwil02C5-DYINqkd_.js} +40 -35
  15. package/dist/{CardIndividualNoGoalReceived-BfSj5Spd-CmA-iSLj.js → CardIndividualNoGoalReceived-DKrbZDyK-CM2EQxJ0.js} +62 -57
  16. package/dist/CardIndividualPerformance-BxmlC3DF-Lmt78Lsh.js +108 -0
  17. package/dist/{CardIndividualSaves-nqci9xWF-CDd6dQLA.js → CardIndividualSaves-CpNX7tF6-AJJP0O8L.js} +50 -42
  18. package/dist/{CardIndividualShotsOnGoal-CivXiLK1-Gtfy45ra.js → CardIndividualShotsOnGoal-Bz2egr4P-Cu0PvN_8.js} +71 -66
  19. package/dist/{CardIndividualStatistics-Z68XArun-DT_RnZV9.js → CardIndividualStatistics-SG4MGex_-DwyDsIaG.js} +34 -29
  20. package/dist/{CardPromTournament-D8dm7vzw-DjvD0ktc.js → CardPromTournament-Crs0KmXt-jQlLG_tC.js} +42 -34
  21. package/dist/{CardSuccessfulPasses-Duuuvnsj-Dtkl1toq.js → CardSuccessfulPasses-BCOa64Fb-D-vP5feB.js} +138 -133
  22. package/dist/CardTheMostProductive-BewV6KUX-B-aUc9v5.js +81 -0
  23. package/dist/{CircleWithDotsBig-BWySvEMt-COAdxI3W.js → CircleWithDotsBig-BXHW1pPv-D9k8N9rs.js} +8 -8
  24. package/dist/{Shield-DzbSNLIW-B-twHEDg.js → Shield-DrqywZtU-FXKCGenl.js} +6 -6
  25. package/dist/TimeSvg-B3vSNjgQ-BbQ6V9Cu.js +56 -0
  26. package/dist/gsc-relevant-data.css +1 -1
  27. package/dist/gsc-relevant-data.js +2 -5021
  28. package/dist/gsc-relevant-data.umd.cjs +6 -6
  29. package/dist/index-SSELSqE0.js +5207 -0
  30. package/package.json +2 -2
  31. package/dist/CardIndividual1vs1-D4ApefEV-BpJl9DFk.js +0 -108
  32. package/dist/CardIndividualGoalParticipation-CCDWQfQW-BGYwHtJV.js +0 -111
  33. package/dist/CardIndividualPerformance-DPNMz8n4-DTgdkzaM.js +0 -103
  34. package/dist/CardTheMostProductive-Jp8NzANe-DYcLrIfR.js +0 -76
  35. package/dist/TimeSvg-Cxp_p6OH-cZfI6hDf.js +0 -95
  36. package/dist/misc-BpbriWn--Bd_IQoHZ.js +0 -168
@@ -1,12 +1,13 @@
1
- import { useCssVars as C, computed as u, openBlock as l, createElementBlock as c, normalizeStyle as _, createBlock as F, mergeProps as v, 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, z as E, P as N, E as B, I, O as P } from "./misc-BpbriWn--Bd_IQoHZ.js";
3
- import { r as V } from "./CardBaseAllIndividual-D0CaU15e-CLPB0z0l.js";
1
+ import { useCssVars as b, computed as u, openBlock as l, createElementBlock as s, 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 { j as $, $ as B, H as E, O as N, R as V } from "./index-SSELSqE0.js";
3
+ import { b as C } from "./CardBase-FI6JXGHQ-CIl1rArT.js";
4
+ import { r as I } from "./CardBaseAllIndividual-DmeCG9Bu-BkRRCAkF.js";
4
5
  const y = {
5
6
  props: {
6
7
  cancha: {
7
8
  type: String,
8
9
  required: !0,
9
- validator: (o) => ["full", "own", "rival"].includes(o)
10
+ validator: (r) => ["full", "own", "rival"].includes(r)
10
11
  },
11
12
  stat: {
12
13
  type: Number,
@@ -15,7 +16,7 @@ const y = {
15
16
  type: {
16
17
  type: String,
17
18
  default: "box",
18
- validator: (o) => ["box", "accelerometer"].includes(o)
19
+ validator: (r) => ["box", "accelerometer"].includes(r)
19
20
  },
20
21
  colorcancha: {
21
22
  type: String,
@@ -38,34 +39,34 @@ const y = {
38
39
  },
39
40
  canchaType() {
40
41
  if (Array.isArray(this.cancha)) {
41
- const o = [485, 486, 489, 490], r = [487, 488, 491, 492];
42
- return this.cancha.length === o.length && this.cancha.every((a) => o.includes(Number(a))) ? "rival" : this.cancha.length === r.length && this.cancha.every((a) => r.includes(Number(a))) ? "own" : "full";
42
+ const r = [485, 486, 489, 490], o = [487, 488, 491, 492];
43
+ return this.cancha.length === r.length && this.cancha.every((a) => r.includes(Number(a))) ? "rival" : this.cancha.length === o.length && this.cancha.every((a) => o.includes(Number(a))) ? "own" : "full";
43
44
  }
44
45
  return this.cancha;
45
46
  }
46
47
  }
47
48
  }, L = () => {
48
- C((o) => ({
49
- "341fe420": o.colorstat,
50
- "7277aacf": o.accelerometerStyle.percentage,
51
- e1386cd0: o.colorcancha
49
+ b((r) => ({
50
+ "341fe420": r.colorstat,
51
+ "7277aacf": r.accelerometerStyle.percentage,
52
+ e1386cd0: r.colorcancha
52
53
  }));
53
54
  }, x = y.setup;
54
- y.setup = x ? (o, r) => (L(), x(o, r)) : L;
55
- const n = (o) => (D("data-v-9e7db71d"), o = o(), T(), o), z = { class: "outer-box" }, O = {
55
+ y.setup = x ? (r, o) => (L(), x(r, o)) : L;
56
+ const i = (r) => (D("data-v-9e7db71d"), r = r(), T(), r), P = { class: "outer-box" }, j = {
56
57
  key: 0,
57
58
  class: "inner-box"
58
- }, Z = {
59
+ }, H = {
59
60
  key: 1,
60
61
  class: "accelerometer"
61
- }, $ = { class: "accelerometer-value" }, U = /* @__PURE__ */ n(() => /* @__PURE__ */ t("span", { class: "percentage" }, "%", -1)), j = {
62
+ }, O = { class: "accelerometer-value" }, Z = /* @__PURE__ */ i(() => /* @__PURE__ */ t("span", { class: "percentage" }, "%", -1)), A = {
62
63
  key: 2,
63
64
  width: "212",
64
65
  height: "137",
65
66
  viewBox: "0 0 212 137",
66
67
  fill: "none",
67
68
  xmlns: "http://www.w3.org/2000/svg"
68
- }, A = ["fill"], H = /* @__PURE__ */ n(() => /* @__PURE__ */ t("mask", {
69
+ }, U = ["fill"], z = /* @__PURE__ */ i(() => /* @__PURE__ */ t("mask", {
69
70
  id: "path-2-inside-1_2150_1935",
70
71
  fill: "white"
71
72
  }, [
@@ -77,19 +78,19 @@ const n = (o) => (D("data-v-9e7db71d"), o = o(), T(), o), z = { class: "outer-bo
77
78
  rx: "1.22558",
78
79
  transform: "rotate(-180 211.787 136.084)"
79
80
  })
80
- ], -1)), G = ["stroke"], J = /* @__PURE__ */ n(() => /* @__PURE__ */ t("path", {
81
+ ], -1)), R = ["stroke"], G = /* @__PURE__ */ i(() => /* @__PURE__ */ t("path", {
81
82
  d: "M105.773 135.615L105.773 0.58395",
82
83
  stroke: "#DFE3E2",
83
84
  "stroke-width": "0.450603",
84
85
  "stroke-linecap": "square"
85
- }, null, -1)), K = ["stroke"], Y = ["stroke"], Q = ["stroke"], R = ["stroke"], W = ["stroke"], X = ["stroke"], tt = { opacity: "0.7" }, at = ["stroke"], rt = ["stroke"], ot = ["stroke"], et = ["stroke"], lt = ["stroke"], ct = {
86
+ }, null, -1)), J = ["stroke"], K = ["stroke"], Q = ["stroke"], W = ["stroke"], X = ["stroke"], Y = ["stroke"], tt = { opacity: "0.7" }, at = ["stroke"], ot = ["stroke"], rt = ["stroke"], et = ["stroke"], lt = ["stroke"], st = {
86
87
  key: 3,
87
88
  width: "212",
88
89
  height: "137",
89
90
  viewBox: "0 0 212 137",
90
91
  fill: "none",
91
92
  xmlns: "http://www.w3.org/2000/svg"
92
- }, st = ["fill"], nt = /* @__PURE__ */ n(() => /* @__PURE__ */ t("mask", {
93
+ }, ct = ["fill"], it = /* @__PURE__ */ i(() => /* @__PURE__ */ t("mask", {
93
94
  id: "path-2-inside-1_2150_1704",
94
95
  fill: "white"
95
96
  }, [
@@ -101,19 +102,19 @@ const n = (o) => (D("data-v-9e7db71d"), o = o(), T(), o), z = { class: "outer-bo
101
102
  rx: "1.22558",
102
103
  transform: "rotate(-180 211.787 136.084)"
103
104
  })
104
- ], -1)), it = ["stroke"], ht = /* @__PURE__ */ n(() => /* @__PURE__ */ t("path", {
105
+ ], -1)), nt = ["stroke"], ht = /* @__PURE__ */ i(() => /* @__PURE__ */ t("path", {
105
106
  d: "M105.773 135.615L105.773 0.58395",
106
107
  stroke: "#DFE3E2",
107
108
  "stroke-width": "0.450603",
108
109
  "stroke-linecap": "square"
109
- }, null, -1)), dt = ["stroke"], kt = ["stroke"], pt = ["stroke"], ut = ["stroke"], yt = ["stroke"], mt = ["stroke"], ft = { opacity: "0.7" }, wt = ["stroke"], gt = ["stroke"], Lt = ["stroke"], xt = ["stroke"], Ct = ["stroke"], bt = {
110
+ }, null, -1)), dt = ["stroke"], kt = ["stroke"], pt = ["stroke"], ut = ["stroke"], yt = ["stroke"], mt = ["stroke"], wt = { opacity: "0.7" }, ft = ["stroke"], gt = ["stroke"], Lt = ["stroke"], xt = ["stroke"], bt = ["stroke"], Ct = {
110
111
  key: 4,
111
112
  width: "212",
112
113
  height: "137",
113
114
  viewBox: "0 0 212 137",
114
115
  fill: "none",
115
116
  xmlns: "http://www.w3.org/2000/svg"
116
- }, _t = ["fill"], Ft = /* @__PURE__ */ n(() => /* @__PURE__ */ t("mask", {
117
+ }, _t = ["fill"], vt = /* @__PURE__ */ i(() => /* @__PURE__ */ t("mask", {
117
118
  id: "path-2-inside-1_2150_1773",
118
119
  fill: "white"
119
120
  }, [
@@ -125,21 +126,21 @@ const n = (o) => (D("data-v-9e7db71d"), o = o(), T(), o), z = { class: "outer-bo
125
126
  rx: "1.22558",
126
127
  transform: "rotate(-180 211.787 136.084)"
127
128
  })
128
- ], -1)), vt = ["stroke"], Mt = /* @__PURE__ */ n(() => /* @__PURE__ */ t("path", {
129
+ ], -1)), Ft = ["stroke"], Mt = /* @__PURE__ */ i(() => /* @__PURE__ */ t("path", {
129
130
  d: "M105.773 135.615L105.773 0.58395",
130
131
  stroke: "#DFE3E2",
131
132
  "stroke-width": "0.450603",
132
133
  "stroke-linecap": "square"
133
- }, null, -1)), St = ["stroke"], qt = ["stroke"], Dt = ["stroke"], Tt = ["stroke"], Et = ["stroke"], Nt = ["stroke"], Bt = { opacity: "0.7" }, It = ["stroke"], Pt = ["stroke"], Vt = ["stroke"], zt = ["stroke"], Ot = ["stroke"];
134
- function Zt(o, r, a, m, 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", $, [
134
+ }, null, -1)), St = ["stroke"], qt = ["stroke"], Dt = ["stroke"], Tt = ["stroke"], $t = ["stroke"], Bt = ["stroke"], Et = { opacity: "0.7" }, Nt = ["stroke"], Vt = ["stroke"], It = ["stroke"], Pt = ["stroke"], jt = ["stroke"];
135
+ function Ht(r, o, a, m, n, e) {
136
+ return l(), s("div", P, [
137
+ a.type === "box" ? (l(), s("div", j, p(a.stat), 1)) : a.type === "accelerometer" ? (l(), s("div", H, [
138
+ t("div", O, [
138
139
  q(p(a.stat), 1),
139
- U
140
+ Z
140
141
  ])
141
142
  ])) : h("", !0),
142
- e.canchaType === "full" ? (l(), c("svg", j, [
143
+ e.canchaType === "full" ? (l(), s("svg", A, [
143
144
  t("rect", {
144
145
  opacity: "0.6",
145
146
  x: "1.89551",
@@ -149,8 +150,8 @@ function Zt(o, r, a, m, i, e) {
149
150
  transform: "rotate(-90 1.89551 136)",
150
151
  fill: a.colorfillcancha,
151
152
  "fill-opacity": "0.8"
152
- }, null, 8, A),
153
- H,
153
+ }, null, 8, U),
154
+ z,
154
155
  t("rect", {
155
156
  x: "211.787",
156
157
  y: "136.084",
@@ -161,18 +162,18 @@ function Zt(o, r, a, m, i, e) {
161
162
  stroke: a.colorcancha,
162
163
  "stroke-width": "1.84031",
163
164
  mask: "url(#FFFFFF)"
164
- }, null, 8, G),
165
- J,
165
+ }, null, 8, R),
166
+ G,
166
167
  t("path", {
167
168
  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
169
  stroke: a.colorcancha,
169
170
  "stroke-opacity": "0.7"
170
- }, null, 8, K),
171
+ }, null, 8, J),
171
172
  t("path", {
172
173
  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
174
  stroke: a.colorcancha,
174
175
  "stroke-opacity": "0.7"
175
- }, null, 8, Y),
176
+ }, null, 8, K),
176
177
  t("path", {
177
178
  d: "M0.634998 88.833L16.6026 88.833C16.9422 88.833 17.217 88.5569 17.2154 88.2174L17.0283 47.9861C17.0267 47.6488 16.7528 47.3762 16.4155 47.3762L0.921543 47.3762",
178
179
  stroke: a.colorcancha,
@@ -184,13 +185,13 @@ function Zt(o, r, a, m, i, e) {
184
185
  stroke: a.colorcancha,
185
186
  "stroke-opacity": "0.6",
186
187
  "stroke-linecap": "square"
187
- }, null, 8, R),
188
+ }, null, 8, W),
188
189
  t("path", {
189
190
  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
191
  stroke: a.colorcancha,
191
192
  "stroke-opacity": "0.7",
192
193
  "stroke-width": "1.16503"
193
- }, null, 8, W),
194
+ }, null, 8, X),
194
195
  t("ellipse", {
195
196
  cx: "105.788",
196
197
  cy: "68.1164",
@@ -200,7 +201,7 @@ function Zt(o, r, a, m, i, e) {
200
201
  fill: "#D8D8D8",
201
202
  stroke: a.colorcancha,
202
203
  "stroke-width": "0.450603"
203
- }, null, 8, X),
204
+ }, null, 8, Y),
204
205
  t("g", tt, [
205
206
  t("path", {
206
207
  d: "M52.6768 136.08L52.6768 7.43866e-05",
@@ -213,13 +214,13 @@ function Zt(o, r, a, m, i, e) {
213
214
  stroke: a.colorcancha,
214
215
  "stroke-width": "0.523385",
215
216
  "stroke-dasharray": "1.05 1.05"
216
- }, null, 8, rt),
217
+ }, null, 8, ot),
217
218
  t("path", {
218
219
  d: "M158.008 136.08L158.008 7.43866e-05",
219
220
  stroke: a.colorcancha,
220
221
  "stroke-width": "0.523385",
221
222
  "stroke-dasharray": "1.05 1.05"
222
- }, null, 8, ot),
223
+ }, null, 8, rt),
223
224
  t("path", {
224
225
  d: "M210.673 90.7202L0.0105608 90.7202",
225
226
  stroke: a.colorcancha,
@@ -233,7 +234,7 @@ function Zt(o, r, a, m, i, e) {
233
234
  "stroke-dasharray": "1.05 1.05"
234
235
  }, null, 8, lt)
235
236
  ])
236
- ])) : e.canchaType === "own" ? (l(), c("svg", ct, [
237
+ ])) : e.canchaType === "own" ? (l(), s("svg", st, [
237
238
  t("rect", {
238
239
  opacity: "0.6",
239
240
  x: "106.002",
@@ -243,8 +244,8 @@ function Zt(o, r, a, m, i, e) {
243
244
  transform: "rotate(-90 106.002 136)",
244
245
  fill: a.colorfillcancha,
245
246
  "fill-opacity": "0.8"
246
- }, null, 8, st),
247
- nt,
247
+ }, null, 8, ct),
248
+ it,
248
249
  t("rect", {
249
250
  x: "211.787",
250
251
  y: "136.084",
@@ -255,7 +256,7 @@ function Zt(o, r, a, m, i, e) {
255
256
  stroke: a.colorcancha,
256
257
  "stroke-width": "1.84031",
257
258
  mask: "url(#FFFFFF)"
258
- }, null, 8, it),
259
+ }, null, 8, nt),
259
260
  ht,
260
261
  t("path", {
261
262
  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",
@@ -295,13 +296,13 @@ function Zt(o, r, a, m, i, e) {
295
296
  stroke: a.colorcancha,
296
297
  "stroke-width": "0.450603"
297
298
  }, null, 8, mt),
298
- t("g", ft, [
299
+ t("g", wt, [
299
300
  t("path", {
300
301
  d: "M52.6768 136.08L52.6768 7.43866e-05",
301
302
  stroke: a.colorcancha,
302
303
  "stroke-width": "0.523385",
303
304
  "stroke-dasharray": "1.05 1.05"
304
- }, null, 8, wt),
305
+ }, null, 8, ft),
305
306
  t("path", {
306
307
  d: "M105.342 136.08L105.342 7.43866e-05",
307
308
  stroke: a.colorcancha,
@@ -325,9 +326,9 @@ function Zt(o, r, a, m, i, e) {
325
326
  stroke: a.colorcancha,
326
327
  "stroke-width": "0.523385",
327
328
  "stroke-dasharray": "1.05 1.05"
328
- }, null, 8, Ct)
329
+ }, null, 8, bt)
329
330
  ])
330
- ])) : e.canchaType === "rival" ? (l(), c("svg", bt, [
331
+ ])) : e.canchaType === "rival" ? (l(), s("svg", Ct, [
331
332
  t("rect", {
332
333
  opacity: "0.6",
333
334
  width: "135",
@@ -336,7 +337,7 @@ function Zt(o, r, a, m, i, e) {
336
337
  fill: a.colorfillcancha,
337
338
  "fill-opacity": "0.8"
338
339
  }, null, 8, _t),
339
- Ft,
340
+ vt,
340
341
  t("rect", {
341
342
  x: "211.787",
342
343
  y: "136.084",
@@ -346,7 +347,7 @@ function Zt(o, r, a, m, i, e) {
346
347
  transform: "rotate(-180 211.787 136.084)",
347
348
  stroke: a.colorcancha,
348
349
  "stroke-width": "1.84031"
349
- }, null, 8, vt),
350
+ }, null, 8, Ft),
350
351
  Mt,
351
352
  t("path", {
352
353
  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",
@@ -375,7 +376,7 @@ function Zt(o, r, a, m, i, e) {
375
376
  stroke: a.colorcancha,
376
377
  "stroke-opacity": "0.7",
377
378
  "stroke-width": "1.16503"
378
- }, null, 8, Et),
379
+ }, null, 8, $t),
379
380
  t("ellipse", {
380
381
  cx: "105.788",
381
382
  cy: "68.1164",
@@ -385,49 +386,49 @@ function Zt(o, r, a, m, i, e) {
385
386
  fill: "#FF0000",
386
387
  stroke: a.colorcancha,
387
388
  "stroke-width": "0.450603"
388
- }, null, 8, Nt),
389
- t("g", Bt, [
389
+ }, null, 8, Bt),
390
+ t("g", Et, [
390
391
  t("path", {
391
392
  d: "M52.6768 136.08L52.6768 7.43866e-05",
392
393
  stroke: a.colorcancha,
393
394
  "stroke-width": "0.523385",
394
395
  "stroke-dasharray": "1.05 1.05"
395
- }, null, 8, It),
396
+ }, null, 8, Nt),
396
397
  t("path", {
397
398
  d: "M105.342 136.08L105.342 7.43866e-05",
398
399
  stroke: a.colorcancha,
399
400
  "stroke-width": "0.523385",
400
401
  "stroke-dasharray": "1.05 1.05"
401
- }, null, 8, Pt),
402
+ }, null, 8, Vt),
402
403
  t("path", {
403
404
  d: "M158.008 136.08L158.008 7.43866e-05",
404
405
  stroke: a.colorcancha,
405
406
  "stroke-width": "0.523385",
406
407
  "stroke-dasharray": "1.05 1.05"
407
- }, null, 8, Vt),
408
+ }, null, 8, It),
408
409
  t("path", {
409
410
  d: "M210.673 90.7202L0.0105608 90.7202",
410
411
  stroke: a.colorcancha,
411
412
  "stroke-width": "0.523385",
412
413
  "stroke-dasharray": "1.05 1.05"
413
- }, null, 8, zt),
414
+ }, null, 8, Pt),
414
415
  t("path", {
415
416
  d: "M210.673 45.3599L0.0105608 45.3599",
416
417
  stroke: a.colorcancha,
417
418
  "stroke-width": "0.523385",
418
419
  "stroke-dasharray": "1.05 1.05"
419
- }, null, 8, Ot)
420
+ }, null, 8, jt)
420
421
  ])
421
422
  ])) : h("", !0)
422
423
  ]);
423
424
  }
424
- const $t = /* @__PURE__ */ b(y, [["render", Zt], ["__scopeId", "data-v-9e7db71d"]]), Ut = { class: "content-wrapper" }, jt = { class: "content-box" }, At = { class: "text-container" }, Ht = {
425
+ const Ot = /* @__PURE__ */ C(y, [["render", Ht], ["__scopeId", "data-v-9e7db71d"]]), Zt = { class: "content-wrapper" }, At = { class: "content-box" }, Ut = { class: "text-container" }, zt = {
425
426
  key: 0,
426
427
  class: "title"
427
- }, Gt = {
428
+ }, Rt = {
428
429
  key: 1,
429
430
  class: "subtitle"
430
- }, Jt = {
431
+ }, Gt = {
431
432
  __name: "CardIndividual",
432
433
  props: {
433
434
  height: {
@@ -445,72 +446,79 @@ const $t = /* @__PURE__ */ b(y, [["render", Zt], ["__scopeId", "data-v-9e7db71d"
445
446
  descriptionType: {
446
447
  type: Number,
447
448
  default: 0
449
+ },
450
+ showVideos: {
451
+ type: Boolean,
452
+ default: !0
448
453
  }
449
454
  },
450
- setup(o) {
451
- C((e) => ({
452
- "95df9cfe": i.value.subtitle ? "100%" : "78%"
455
+ setup(r) {
456
+ b((e) => ({
457
+ b47f3daa: n.value.subtitle ? "100%" : "78%"
453
458
  }));
454
- const r = o, a = u(() => {
455
- var e, s, d, k, f, w, g;
459
+ const o = r, a = u(() => {
460
+ var e, c, d, k, w, f, g;
456
461
  return {
457
- height: r.height,
458
- width: r.width,
462
+ height: o.height,
463
+ width: o.width,
459
464
  footerHeight: "93px",
460
465
  footerPadding: "24px 24px 30px 24px",
461
- playerPhotoUrl: E(r.data.player_id || ""),
462
- teamLogoUrl: N(r.data.team_id || "") || "",
463
- cardColor: r.data.thumbnails.colors.background_color || "#000000",
464
- backgroundImageSrc: B((k = (d = (s = (e = r.data) == null ? void 0 : e.thumbnails) == null ? void 0 : s.images) == null ? void 0 : d.background_player_in_action) != null && k[0] ? r.data.thumbnails.images.background_player_in_action[0] : (g = (w = (f = r.data) == null ? void 0 : f.thumbnails) == null ? void 0 : w.images) != null && g.background_team ? r.data.thumbnails.images.background_team : ""),
465
- textColor: r.data.thumbnails.colors.font_color_description || "#FFFFFF",
466
+ playerPhotoUrl: $(o.data.player_id || ""),
467
+ teamLogoUrl: B(o.data.team_id || "") || "",
468
+ cardColor: o.data.thumbnails.colors.background_color || "#000000",
469
+ backgroundImageSrc: E((k = (d = (c = (e = o.data) == null ? void 0 : e.thumbnails) == null ? void 0 : c.images) == null ? void 0 : d.background_player_in_action) != null && k[0] ? o.data.thumbnails.images.background_player_in_action[0] : (g = (f = (w = o.data) == null ? void 0 : w.thumbnails) == null ? void 0 : f.images) != null && g.background_team ? o.data.thumbnails.images.background_team : ""),
470
+ textColor: o.data.thumbnails.colors.font_color_description || "#FFFFFF",
466
471
  footerBodyData: {
467
- textColor: r.data.thumbnails.colors.font_color_stats || "#FFFFFF",
468
- description: I(P({ data: r.data, descriptionType: r.descriptionType })),
469
- totalTextColor: r.data.thumbnails.colors.font_color_stats || "#FFFFFF",
470
- totalCircleColor: r.data.thumbnails.colors.background_color || "#000000",
471
- isTotalPercentage: !!r.data.footer.show_percentage
472
+ textColor: o.data.thumbnails.colors.font_color_stats || "#FFFFFF",
473
+ description: N(V({ data: o.data, descriptionType: o.descriptionType })),
474
+ totalTextColor: o.data.thumbnails.colors.font_color_stats || "#FFFFFF",
475
+ totalCircleColor: o.data.thumbnails.colors.background_color || "#000000",
476
+ isTotalPercentage: !!o.data.footer.show_percentage
472
477
  }
473
478
  };
474
479
  }), m = u(() => ({
475
- "--title-color": r.data.thumbnails.colors.font_color_header || "#FFFFFF"
476
- })), i = u(() => {
480
+ "--title-color": o.data.thumbnails.colors.font_color_header || "#FFFFFF"
481
+ })), n = u(() => {
477
482
  var e;
478
- if (!r.data.title) return { title: "", subtitle: "" };
479
- const s = r.data.title.match(/\*(.*?)\*/), d = s ? s[1] : "", k = s ? r.data.title.replace(/\*.*?\*/, "").trim() : r.data.title.trim();
483
+ if (!o.data.title) return { title: "", subtitle: "" };
484
+ const c = o.data.title.match(/\*(.*?)\*/), d = c ? c[1] : "", k = c ? o.data.title.replace(/\*.*?\*/, "").trim() : o.data.title.trim();
480
485
  return {
481
486
  title: d,
482
487
  subtitle: k,
483
- showPlus: !!((e = r.data.header) != null && e.show_percentage)
488
+ showPlus: !!((e = o.data.header) != null && e.show_percentage)
484
489
  };
485
490
  });
486
- return (e, s) => (l(), c("div", {
491
+ return (e, c) => (l(), s("div", {
487
492
  class: "card-general",
488
493
  style: _(m.value)
489
494
  }, [
490
- a.value ? (l(), F(V, v({ key: 0 }, a.value, { width: o.width }), {
495
+ a.value ? (l(), v(I, F({ key: 0 }, a.value, {
496
+ width: r.width,
497
+ "show-videos": r.showVideos
498
+ }), {
491
499
  body: M(() => [
492
- t("div", Ut, [
493
- t("div", jt, [
494
- S($t, {
495
- colorfillcancha: r.data.thumbnails.colors.graphic_color_2,
496
- colorcancha: r.data.thumbnails.colors.graphic_color,
497
- colorstat: r.data.thumbnails.colors.data_color,
498
- cancha: r.data.categories,
499
- stat: r.data.body && r.data.body.show_percentage == 0 ? r.data.total : r.data.percentage,
500
- type: r.data.body.show_percentage == 1 ? "accelerometer" : "box"
500
+ t("div", Zt, [
501
+ t("div", At, [
502
+ S(Ot, {
503
+ colorfillcancha: o.data.thumbnails.colors.graphic_color_2,
504
+ colorcancha: o.data.thumbnails.colors.graphic_color,
505
+ colorstat: o.data.thumbnails.colors.data_color,
506
+ cancha: o.data.categories,
507
+ stat: o.data.body && o.data.body.show_percentage == 0 ? o.data.total : o.data.percentage,
508
+ type: o.data.body.show_percentage == 1 ? "accelerometer" : "box"
501
509
  }, null, 8, ["colorfillcancha", "colorcancha", "colorstat", "cancha", "stat", "type"])
502
510
  ]),
503
- t("div", At, [
504
- i.value.title ? (l(), c("h2", Ht, p(i.value.title), 1)) : h("", !0),
505
- i.value.subtitle ? (l(), c("p", Gt, p(i.value.subtitle), 1)) : h("", !0)
511
+ t("div", Ut, [
512
+ n.value.title ? (l(), s("h2", zt, p(n.value.title), 1)) : h("", !0),
513
+ n.value.subtitle ? (l(), s("p", Rt, p(n.value.subtitle), 1)) : h("", !0)
506
514
  ])
507
515
  ])
508
516
  ]),
509
517
  _: 1
510
- }, 16, ["width"])) : h("", !0)
518
+ }, 16, ["width", "show-videos"])) : h("", !0)
511
519
  ], 4));
512
520
  }
513
- }, Rt = /* @__PURE__ */ b(Jt, [["__scopeId", "data-v-41f385fa"]]);
521
+ }, Xt = /* @__PURE__ */ C(Gt, [["__scopeId", "data-v-6faa6970"]]);
514
522
  export {
515
- Rt as default
523
+ Xt as default
516
524
  };
@@ -0,0 +1,113 @@
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 m, pushScopeId as F, popScopeId as y } from "vue";
2
+ import { r as L } from "./CardBaseAllIndividual-DmeCG9Bu-BkRRCAkF.js";
3
+ import { j as x, $ as k, H as S, O as B, R as H } from "./index-SSELSqE0.js";
4
+ import { b as T } from "./CardBase-FI6JXGHQ-CIl1rArT.js";
5
+ const g = (e) => (F("data-v-504d80ec"), e = e(), y(), e), I = { class: "onevsone__body" }, V = { class: "onevsone__body__title" }, N = { class: "contsvg" }, P = /* @__PURE__ */ g(() => /* @__PURE__ */ t("img", { src: "http://golstatsimages.blob.core.windows.net/tournaments-cards/downloaddefensivo.png" }, null, -1)), D = ["fill"], E = ["fill"], M = /* @__PURE__ */ g(() => /* @__PURE__ */ t("img", { src: "http://golstatsimages.blob.core.windows.net/tournaments-cards/download.png" }, null, -1)), U = ["fill"], Z = ["fill"], j = {
6
+ __name: "CardIndividual1vs1",
7
+ props: {
8
+ height: {
9
+ type: String,
10
+ default: "445px"
11
+ },
12
+ width: {
13
+ type: String,
14
+ default: "319px"
15
+ },
16
+ data: {
17
+ type: Object,
18
+ default: () => null
19
+ },
20
+ descriptionType: {
21
+ type: Number,
22
+ default: 0
23
+ },
24
+ showVideos: {
25
+ type: Boolean,
26
+ default: !0
27
+ }
28
+ },
29
+ setup(e) {
30
+ const o = e, h = i(() => {
31
+ var r, n, a, s, c, u, p;
32
+ return {
33
+ height: o.height,
34
+ width: o.width,
35
+ footerHeight: "137px",
36
+ footerPadding: "24px 24px 25px 24px",
37
+ playerPhotoUrl: x(o.data.player_id || ""),
38
+ teamLogoUrl: k(o.data.team_id || "") || "",
39
+ cardColor: o.data.thumbnails.colors.background_color || "#000000",
40
+ backgroundImageSrc: S((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 : ""),
41
+ textColor: o.data.thumbnails.colors.font_color_description || "#FFFFFF",
42
+ footerBodyData: {
43
+ textColor: o.data.thumbnails.colors.font_color_stats || "#FFFFFF",
44
+ description: B(H({ data: o.data, descriptionType: o.descriptionType })),
45
+ total: o.data.footer && o.data.footer.show_percentage == 1 ? o.data.percentage : o.data.total,
46
+ totalTextColor: o.data.thumbnails.colors.font_color_stats || "#FFFFFF",
47
+ totalCircleColor: o.data.thumbnails.colors.background_color || "#000000",
48
+ isTotalPercentage: o.data.footer && !!o.data.footer.show_percentage
49
+ }
50
+ };
51
+ });
52
+ i(() => o.data.id);
53
+ const _ = i(() => ({
54
+ "--title-color": o.data.thumbnails.colors.font_color_header || "#FFFFFF"
55
+ }));
56
+ return (r, n) => (l(), d("div", {
57
+ class: "onevsone",
58
+ style: f(_.value)
59
+ }, [
60
+ b(L, w(h.value, { "show-videos": e.showVideos }), {
61
+ body: v(() => {
62
+ var a;
63
+ return [
64
+ t("div", I, [
65
+ t("div", V, C(o.data.title.replace(/\*/g, "")), 1),
66
+ t("div", N, [
67
+ (a = o.data.categories) != null && a.includes(4) ? (l(), d(m, { key: 1 }, [
68
+ M,
69
+ (l(), d("svg", {
70
+ width: "12",
71
+ class: "arrow",
72
+ height: "75",
73
+ viewBox: "0 0 12 75",
74
+ fill: o.data.thumbnails.colors.icon_color,
75
+ xmlns: "http://www.w3.org/2000/svg"
76
+ }, [
77
+ t("path", {
78
+ "fill-rule": "evenodd",
79
+ "clip-rule": "evenodd",
80
+ 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",
81
+ fill: o.data.thumbnails.colors.icon_color
82
+ }, null, 8, Z)
83
+ ], 8, U))
84
+ ], 64)) : (l(), d(m, { key: 0 }, [
85
+ P,
86
+ (l(), d("svg", {
87
+ class: "arrow",
88
+ width: "12",
89
+ height: "75",
90
+ viewBox: "0 0 12 75",
91
+ fill: o.data.thumbnails.colors.icon_color,
92
+ xmlns: "http://www.w3.org/2000/svg"
93
+ }, [
94
+ t("path", {
95
+ "fill-rule": "evenodd",
96
+ "clip-rule": "evenodd",
97
+ 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",
98
+ fill: o.data.thumbnails.colors.icon_color
99
+ }, null, 8, E)
100
+ ], 8, D))
101
+ ], 64))
102
+ ])
103
+ ])
104
+ ];
105
+ }),
106
+ _: 1
107
+ }, 16, ["show-videos"])
108
+ ], 4));
109
+ }
110
+ }, G = /* @__PURE__ */ T(j, [["__scopeId", "data-v-504d80ec"]]);
111
+ export {
112
+ G as default
113
+ };