@golstats/gsc-relevant-data 1.1.0 → 1.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (29) hide show
  1. package/dist/{CardBase-BNBUZGU7-B-3ifIbW.js → CardBase-cG4UK8zU-D0uCjRqB.js} +49 -40
  2. package/dist/{CardBaseAllIndividual-D5JoiQqR-toSAbTZ-.js → CardBaseAllIndividual-DT-pj1sJ-DWZbiML4.js} +4 -4
  3. package/dist/{CardGeneral-DTteAML4-BddQmutl.js → CardGeneral-BlZEnnEb-DdWkGjzN.js} +14 -14
  4. package/dist/{CardGeneralIndividual-D-FKsjFO-DkrLF_fv.js → CardGeneralIndividual-Bnc6oqkd-SgV6nzYK.js} +30 -30
  5. package/dist/{CardGeneralTeams-C0Z5qzcM-DDeCMH2Y.js → CardGeneralTeams-C3Y4CKGP-D4IEguSo.js} +10 -10
  6. package/dist/{CardIndividual-BhPQqGlc-CPGWRbfO.js → CardIndividual-BPMbVI3t-C0RFgnSH.js} +50 -46
  7. package/dist/{CardIndividual1vs1-QeAXN4f--CBfAcO1i.js → CardIndividual1vs1-CuR4WSxJ-BzG-hQ5T.js} +24 -20
  8. package/dist/{CardIndividualAreas-CHLqS1mw-CfmiwLwT.js → CardIndividualAreas-CfLiKrts-CIunuyhE.js} +57 -53
  9. package/dist/{CardIndividualCenters-hEROPxzH-J-YeCLIr.js → CardIndividualCenters-QiXO05sk-DZ22hl82.js} +28 -24
  10. package/dist/{CardIndividualDistance-BQ8zwHOn-av0Fx-e6.js → CardIndividualDistance-7PJ6nX5x-GJc7QK8v.js} +25 -21
  11. package/dist/{CardIndividualFouls-ChdbYcE_-B4i4MTqN.js → CardIndividualFouls-BG7VCYOa-3FvCHJ4a.js} +28 -24
  12. package/dist/{CardIndividualGoalParticipation-B9xqQ51i-75Gs7K-A.js → CardIndividualGoalParticipation-BWq87mgE-l0ODFUR-.js} +22 -18
  13. package/dist/{CardIndividualGoals-BtqVuDiw-Bk3BitBk.js → CardIndividualGoals-DEKwqMXc-DoK7uxe9.js} +43 -39
  14. package/dist/{CardIndividualGold-BLT3Mk27-BqrTeC3a.js → CardIndividualGold-Bz4E-z_--pKerDgFk.js} +25 -25
  15. package/dist/{CardIndividualNoGoalReceived-DJoQF9wO-fSG0d07Y.js → CardIndividualNoGoalReceived-B2BKqCnK-C7jolYFH.js} +32 -28
  16. package/dist/{CardIndividualPerformance-lhPwEGlm-FM4kljrY.js → CardIndividualPerformance-BcqsLAAU-Cc1M361Q.js} +12 -12
  17. package/dist/{CardIndividualSaves-CVjR2-WK-CoFAzK_Y.js → CardIndividualSaves-BSDQdG6Y-C_q-6hWK.js} +28 -24
  18. package/dist/{CardIndividualShotsOnGoal-BHHi894T-DA4zP7Tv.js → CardIndividualShotsOnGoal-CZl8akPo-2aciFqPO.js} +35 -31
  19. package/dist/{CardIndividualStatistics-C-kaGAYd-ttRvMO6y.js → CardIndividualStatistics-CY-nNio--abAYZXmG.js} +23 -19
  20. package/dist/{CardPromTournament-BFRTPeVe-DC4I4aSa.js → CardPromTournament-D7NIcgIG-Dpd3s5PV.js} +54 -50
  21. package/dist/{CardSuccessfulPasses-C_L5d6hy-D7q2okvw.js → CardSuccessfulPasses-BmyugNe3-e2iTX0Zk.js} +48 -44
  22. package/dist/{CardTheMostProductive-BBt8B_sf-CzdcJBqF.js → CardTheMostProductive-DYe73XmH-BxAK64X0.js} +14 -10
  23. package/dist/{PlayerProfileCircle-CJTiOj5E-Bjw4EJZN.js → PlayerProfileCircle-B34lIhjM-CdecVB_6.js} +1 -1
  24. package/dist/{Shield-If5I91AC-tV_KmJ2I.js → Shield-CPIaGlGA-CpfYAOhz.js} +3 -3
  25. package/dist/gsc-relevant-data.css +1 -1
  26. package/dist/gsc-relevant-data.js +1 -1
  27. package/dist/gsc-relevant-data.umd.cjs +6 -6
  28. package/dist/{index-UfwjVVAK.js → index-DkBoHrcA.js} +1173 -1136
  29. package/package.json +3 -3
@@ -1,7 +1,7 @@
1
- import { useCssVars as v, computed as u, createElementBlock as c, openBlock as l, normalizeStyle as b, createBlock as _, createCommentVNode as h, mergeProps as F, withCtx as M, createElementVNode as t, createVNode as S, toDisplayString as p, createTextVNode as q, pushScopeId as D, popScopeId as T } from "vue";
2
- import { m as C, P as V, E, O as B, V as N, A as I } from "./CardBase-BNBUZGU7-B-3ifIbW.js";
3
- import "./index-UfwjVVAK.js";
4
- import { d as P } from "./CardBaseAllIndividual-D5JoiQqR-toSAbTZ-.js";
1
+ import { useCssVars as v, computed as u, createElementBlock as s, openBlock as l, normalizeStyle as b, createBlock as _, createCommentVNode as h, mergeProps as F, withCtx as M, createElementVNode as t, createVNode as S, toDisplayString as p, createTextVNode as q, pushScopeId as D, popScopeId as T } from "vue";
2
+ import { w as C, A as V, z as E, V as N, E as B, O as I } from "./CardBase-cG4UK8zU-D0uCjRqB.js";
3
+ import "./index-DkBoHrcA.js";
4
+ import { d as $ } from "./CardBaseAllIndividual-DT-pj1sJ-DWZbiML4.js";
5
5
  const y = {
6
6
  props: {
7
7
  cancha: {
@@ -53,20 +53,20 @@ const y = {
53
53
  }));
54
54
  }, x = y.setup;
55
55
  y.setup = x ? (r, o) => (L(), x(r, o)) : L;
56
- const i = (r) => (D("data-v-9e7db71d"), r = r(), T(), r), A = { class: "outer-box" }, $ = {
56
+ const i = (r) => (D("data-v-9e7db71d"), r = r(), T(), r), A = { class: "outer-box" }, P = {
57
57
  key: 0,
58
58
  class: "inner-box"
59
- }, O = {
59
+ }, z = {
60
60
  key: 1,
61
61
  class: "accelerometer"
62
- }, Z = { class: "accelerometer-value" }, U = /* @__PURE__ */ i(() => /* @__PURE__ */ t("span", { class: "percentage" }, "%", -1)), j = {
62
+ }, O = { class: "accelerometer-value" }, Z = /* @__PURE__ */ i(() => /* @__PURE__ */ t("span", { class: "percentage" }, "%", -1)), U = {
63
63
  key: 2,
64
64
  width: "212",
65
65
  height: "137",
66
66
  viewBox: "0 0 212 137",
67
67
  fill: "none",
68
68
  xmlns: "http://www.w3.org/2000/svg"
69
- }, z = ["fill"], H = /* @__PURE__ */ i(() => /* @__PURE__ */ t("mask", {
69
+ }, j = ["fill"], H = /* @__PURE__ */ i(() => /* @__PURE__ */ t("mask", {
70
70
  id: "path-2-inside-1_2150_1935",
71
71
  fill: "white"
72
72
  }, [
@@ -83,14 +83,14 @@ const i = (r) => (D("data-v-9e7db71d"), r = r(), T(), r), A = { class: "outer-bo
83
83
  stroke: "#DFE3E2",
84
84
  "stroke-width": "0.450603",
85
85
  "stroke-linecap": "square"
86
- }, null, -1)), K = ["stroke"], Q = ["stroke"], R = ["stroke"], W = ["stroke"], X = ["stroke"], Y = ["stroke"], tt = { opacity: "0.7" }, at = ["stroke"], ot = ["stroke"], rt = ["stroke"], et = ["stroke"], lt = ["stroke"], ct = {
86
+ }, null, -1)), K = ["stroke"], Q = ["stroke"], R = ["stroke"], W = ["stroke"], X = ["stroke"], Y = ["stroke"], tt = { opacity: "0.7" }, at = ["stroke"], ot = ["stroke"], rt = ["stroke"], et = ["stroke"], lt = ["stroke"], st = {
87
87
  key: 3,
88
88
  width: "212",
89
89
  height: "137",
90
90
  viewBox: "0 0 212 137",
91
91
  fill: "none",
92
92
  xmlns: "http://www.w3.org/2000/svg"
93
- }, st = ["fill"], it = /* @__PURE__ */ i(() => /* @__PURE__ */ t("mask", {
93
+ }, ct = ["fill"], it = /* @__PURE__ */ i(() => /* @__PURE__ */ t("mask", {
94
94
  id: "path-2-inside-1_2150_1704",
95
95
  fill: "white"
96
96
  }, [
@@ -107,7 +107,7 @@ const i = (r) => (D("data-v-9e7db71d"), r = r(), T(), r), A = { class: "outer-bo
107
107
  stroke: "#DFE3E2",
108
108
  "stroke-width": "0.450603",
109
109
  "stroke-linecap": "square"
110
- }, null, -1)), dt = ["stroke"], kt = ["stroke"], pt = ["stroke"], ut = ["stroke"], yt = ["stroke"], mt = ["stroke"], wt = { opacity: "0.7" }, gt = ["stroke"], ft = ["stroke"], Lt = ["stroke"], xt = ["stroke"], vt = ["stroke"], Ct = {
110
+ }, null, -1)), dt = ["stroke"], kt = ["stroke"], pt = ["stroke"], ut = ["stroke"], yt = ["stroke"], wt = ["stroke"], mt = { opacity: "0.7" }, gt = ["stroke"], ft = ["stroke"], Lt = ["stroke"], xt = ["stroke"], vt = ["stroke"], Ct = {
111
111
  key: 4,
112
112
  width: "212",
113
113
  height: "137",
@@ -131,16 +131,16 @@ const i = (r) => (D("data-v-9e7db71d"), r = r(), T(), r), A = { class: "outer-bo
131
131
  stroke: "#DFE3E2",
132
132
  "stroke-width": "0.450603",
133
133
  "stroke-linecap": "square"
134
- }, null, -1)), St = ["stroke"], qt = ["stroke"], Dt = ["stroke"], Tt = ["stroke"], Vt = ["stroke"], Et = ["stroke"], Bt = { opacity: "0.7" }, Nt = ["stroke"], It = ["stroke"], Pt = ["stroke"], At = ["stroke"], $t = ["stroke"];
135
- function Ot(r, o, a, m, n, e) {
136
- return l(), c("div", A, [
137
- a.type === "box" ? (l(), c("div", $, p(a.stat), 1)) : a.type === "accelerometer" ? (l(), c("div", O, [
138
- t("div", Z, [
134
+ }, null, -1)), St = ["stroke"], qt = ["stroke"], Dt = ["stroke"], Tt = ["stroke"], Vt = ["stroke"], Et = ["stroke"], Nt = { opacity: "0.7" }, Bt = ["stroke"], It = ["stroke"], $t = ["stroke"], At = ["stroke"], Pt = ["stroke"];
135
+ function zt(r, o, a, w, n, e) {
136
+ return l(), s("div", A, [
137
+ a.type === "box" ? (l(), s("div", P, p(a.stat), 1)) : a.type === "accelerometer" ? (l(), s("div", z, [
138
+ t("div", O, [
139
139
  q(p(a.stat), 1),
140
- U
140
+ Z
141
141
  ])
142
142
  ])) : h("", !0),
143
- e.canchaType === "full" ? (l(), c("svg", j, [
143
+ e.canchaType === "full" ? (l(), s("svg", U, [
144
144
  t("rect", {
145
145
  opacity: "0.6",
146
146
  x: "1.89551",
@@ -150,7 +150,7 @@ function Ot(r, o, a, m, n, e) {
150
150
  transform: "rotate(-90 1.89551 136)",
151
151
  fill: a.colorfillcancha,
152
152
  "fill-opacity": "0.8"
153
- }, null, 8, z),
153
+ }, null, 8, j),
154
154
  H,
155
155
  t("rect", {
156
156
  x: "211.787",
@@ -234,7 +234,7 @@ function Ot(r, o, a, m, n, e) {
234
234
  "stroke-dasharray": "1.05 1.05"
235
235
  }, null, 8, lt)
236
236
  ])
237
- ])) : e.canchaType === "own" ? (l(), c("svg", ct, [
237
+ ])) : e.canchaType === "own" ? (l(), s("svg", st, [
238
238
  t("rect", {
239
239
  opacity: "0.6",
240
240
  x: "106.002",
@@ -244,7 +244,7 @@ function Ot(r, o, a, m, n, e) {
244
244
  transform: "rotate(-90 106.002 136)",
245
245
  fill: a.colorfillcancha,
246
246
  "fill-opacity": "0.8"
247
- }, null, 8, st),
247
+ }, null, 8, ct),
248
248
  it,
249
249
  t("rect", {
250
250
  x: "211.787",
@@ -295,8 +295,8 @@ function Ot(r, o, a, m, n, e) {
295
295
  fill: "#D8D8D8",
296
296
  stroke: a.colorcancha,
297
297
  "stroke-width": "0.450603"
298
- }, null, 8, mt),
299
- t("g", wt, [
298
+ }, null, 8, wt),
299
+ t("g", mt, [
300
300
  t("path", {
301
301
  d: "M52.6768 136.08L52.6768 7.43866e-05",
302
302
  stroke: a.colorcancha,
@@ -328,7 +328,7 @@ function Ot(r, o, a, m, n, e) {
328
328
  "stroke-dasharray": "1.05 1.05"
329
329
  }, null, 8, vt)
330
330
  ])
331
- ])) : e.canchaType === "rival" ? (l(), c("svg", Ct, [
331
+ ])) : e.canchaType === "rival" ? (l(), s("svg", Ct, [
332
332
  t("rect", {
333
333
  opacity: "0.6",
334
334
  width: "135",
@@ -387,13 +387,13 @@ function Ot(r, o, a, m, n, e) {
387
387
  stroke: a.colorcancha,
388
388
  "stroke-width": "0.450603"
389
389
  }, null, 8, Et),
390
- t("g", Bt, [
390
+ t("g", Nt, [
391
391
  t("path", {
392
392
  d: "M52.6768 136.08L52.6768 7.43866e-05",
393
393
  stroke: a.colorcancha,
394
394
  "stroke-width": "0.523385",
395
395
  "stroke-dasharray": "1.05 1.05"
396
- }, null, 8, Nt),
396
+ }, null, 8, Bt),
397
397
  t("path", {
398
398
  d: "M105.342 136.08L105.342 7.43866e-05",
399
399
  stroke: a.colorcancha,
@@ -405,7 +405,7 @@ function Ot(r, o, a, m, n, e) {
405
405
  stroke: a.colorcancha,
406
406
  "stroke-width": "0.523385",
407
407
  "stroke-dasharray": "1.05 1.05"
408
- }, null, 8, Pt),
408
+ }, null, 8, $t),
409
409
  t("path", {
410
410
  d: "M210.673 90.7202L0.0105608 90.7202",
411
411
  stroke: a.colorcancha,
@@ -417,12 +417,12 @@ function Ot(r, o, a, m, n, e) {
417
417
  stroke: a.colorcancha,
418
418
  "stroke-width": "0.523385",
419
419
  "stroke-dasharray": "1.05 1.05"
420
- }, null, 8, $t)
420
+ }, null, 8, Pt)
421
421
  ])
422
422
  ])) : h("", !0)
423
423
  ]);
424
424
  }
425
- const Zt = /* @__PURE__ */ C(y, [["render", Ot], ["__scopeId", "data-v-9e7db71d"]]), Ut = { class: "content-wrapper" }, jt = { class: "content-box" }, zt = { class: "text-container" }, Ht = {
425
+ const Ot = /* @__PURE__ */ C(y, [["render", zt], ["__scopeId", "data-v-9e7db71d"]]), Zt = { class: "content-wrapper" }, Ut = { class: "content-box" }, jt = { class: "text-container" }, Ht = {
426
426
  key: 0,
427
427
  class: "title"
428
428
  }, Gt = {
@@ -454,23 +454,27 @@ const Zt = /* @__PURE__ */ C(y, [["render", Ot], ["__scopeId", "data-v-9e7db71d"
454
454
  idAux: {
455
455
  type: String,
456
456
  default: ""
457
+ },
458
+ providerId: {
459
+ type: Number,
460
+ default: 0
457
461
  }
458
462
  },
459
463
  setup(r) {
460
464
  v((e) => ({
461
- "376a7304": n.value.subtitle ? "100%" : "78%"
465
+ "4457d05a": n.value.subtitle ? "100%" : "78%"
462
466
  }));
463
467
  const o = r, a = u(() => {
464
- var e, s, d, k, w, g, f;
468
+ var e, c, d, k, m, g, f;
465
469
  return {
466
470
  height: o.height,
467
471
  width: o.width,
468
472
  footerHeight: "193px",
469
473
  footerPadding: "24px 24px 30px 24px",
470
- playerPhotoUrl: N(o.data.player_id || ""),
471
- teamLogoUrl: B(o.data.team_id || "") || "",
474
+ playerPhotoUrl: B(o.data.player_id || ""),
475
+ teamLogoUrl: N(o.data.team_id || "", o.providerId) || "",
472
476
  cardColor: o.data.thumbnails.colors.background_color || "#000000",
473
- backgroundImageSrc: E((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] : (f = (g = (w = o.data) == null ? void 0 : w.thumbnails) == null ? void 0 : g.images) != null && f.background_team ? o.data.thumbnails.images.background_team : ""),
477
+ 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] : (f = (g = (m = o.data) == null ? void 0 : m.thumbnails) == null ? void 0 : g.images) != null && f.background_team ? o.data.thumbnails.images.background_team : ""),
474
478
  textColor: o.data.thumbnails.colors.font_color_description || "#FFFFFF",
475
479
  footerBodyData: {
476
480
  textColor: o.data.thumbnails.colors.font_color_stats || "#FFFFFF",
@@ -480,31 +484,31 @@ const Zt = /* @__PURE__ */ C(y, [["render", Ot], ["__scopeId", "data-v-9e7db71d"
480
484
  isTotalPercentage: !!o.data.footer.show_percentage
481
485
  }
482
486
  };
483
- }), m = u(() => ({
487
+ }), w = u(() => ({
484
488
  "--title-color": o.data.thumbnails.colors.font_color_header || "#FFFFFF"
485
489
  })), n = u(() => {
486
490
  var e;
487
491
  if (!o.data.title) return { title: "", subtitle: "" };
488
- const s = o.data.title.match(/\*(.*?)\*/), d = s ? s[1] : "", k = s ? o.data.title.replace(/\*.*?\*/, "").trim() : o.data.title.trim();
492
+ const c = o.data.title.match(/\*(.*?)\*/), d = c ? c[1] : "", k = c ? o.data.title.replace(/\*.*?\*/, "").trim() : o.data.title.trim();
489
493
  return {
490
494
  title: d,
491
495
  subtitle: k,
492
496
  showPlus: !!((e = o.data.header) != null && e.show_percentage)
493
497
  };
494
498
  });
495
- return (e, s) => (l(), c("div", {
499
+ return (e, c) => (l(), s("div", {
496
500
  class: "card-general",
497
- style: b(m.value)
501
+ style: b(w.value)
498
502
  }, [
499
- a.value ? (l(), _(P, F({ key: 0 }, a.value, {
503
+ a.value ? (l(), _($, F({ key: 0 }, a.value, {
500
504
  width: r.width,
501
505
  "show-videos": r.showVideos,
502
506
  "id-aux": r.idAux
503
507
  }), {
504
508
  body: M(() => [
505
- t("div", Ut, [
506
- t("div", jt, [
507
- S(Zt, {
509
+ t("div", Zt, [
510
+ t("div", Ut, [
511
+ S(Ot, {
508
512
  colorfillcancha: o.data.thumbnails.colors.graphic_color_2,
509
513
  colorcancha: o.data.thumbnails.colors.graphic_color,
510
514
  colorstat: o.data.thumbnails.colors.data_color,
@@ -513,9 +517,9 @@ const Zt = /* @__PURE__ */ C(y, [["render", Ot], ["__scopeId", "data-v-9e7db71d"
513
517
  type: o.data.body.show_percentage == 1 ? "accelerometer" : "box"
514
518
  }, null, 8, ["colorfillcancha", "colorcancha", "colorstat", "cancha", "stat", "type"])
515
519
  ]),
516
- t("div", zt, [
517
- n.value.title ? (l(), c("h2", Ht, p(n.value.title), 1)) : h("", !0),
518
- n.value.subtitle ? (l(), c("p", Gt, p(n.value.subtitle), 1)) : h("", !0)
520
+ t("div", jt, [
521
+ n.value.title ? (l(), s("h2", Ht, p(n.value.title), 1)) : h("", !0),
522
+ n.value.subtitle ? (l(), s("p", Gt, p(n.value.subtitle), 1)) : h("", !0)
519
523
  ])
520
524
  ])
521
525
  ]),
@@ -523,7 +527,7 @@ const Zt = /* @__PURE__ */ C(y, [["render", Ot], ["__scopeId", "data-v-9e7db71d"
523
527
  }, 16, ["width", "show-videos", "id-aux"])) : h("", !0)
524
528
  ], 4));
525
529
  }
526
- }, Xt = /* @__PURE__ */ C(Jt, [["__scopeId", "data-v-db4f32e5"]]);
530
+ }, Xt = /* @__PURE__ */ C(Jt, [["__scopeId", "data-v-05e685ef"]]);
527
531
  export {
528
532
  Xt as default
529
533
  };
@@ -1,7 +1,7 @@
1
- import { computed as s, createElementBlock as l, openBlock as d, normalizeStyle as f, createVNode as v, mergeProps as b, withCtx as w, createElementVNode as a, toDisplayString as C, Fragment as g, pushScopeId as F, popScopeId as y } from "vue";
2
- import { d as x } from "./CardBaseAllIndividual-D5JoiQqR-toSAbTZ-.js";
3
- import { m as L, P as k, E as S, O as V, V as B, A as T } from "./CardBase-BNBUZGU7-B-3ifIbW.js";
4
- const h = (o) => (F("data-v-6b4e801f"), o = o(), y(), o), A = { class: "onevsone__body" }, E = { class: "onevsone__body__title" }, I = { class: "contsvg" }, P = /* @__PURE__ */ h(() => /* @__PURE__ */ a("img", { src: "http://golstatsimages.blob.core.windows.net/tournaments-cards/downloaddefensivo.png" }, null, -1)), H = ["fill"], N = ["fill"], D = /* @__PURE__ */ h(() => /* @__PURE__ */ a("img", { src: "http://golstatsimages.blob.core.windows.net/tournaments-cards/download.png" }, null, -1)), M = ["fill"], U = ["fill"], Z = {
1
+ import { computed as s, createElementBlock as l, openBlock as d, normalizeStyle as v, createVNode as b, mergeProps as f, withCtx as w, createElementVNode as a, toDisplayString as C, Fragment as g, pushScopeId as F, popScopeId as y } from "vue";
2
+ import { d as x } from "./CardBaseAllIndividual-DT-pj1sJ-DWZbiML4.js";
3
+ import { w as L, A as k, z as S, V as I, E as V, O as B } from "./CardBase-cG4UK8zU-D0uCjRqB.js";
4
+ const m = (o) => (F("data-v-8baaeb2d"), o = o(), y(), o), T = { class: "onevsone__body" }, A = { class: "onevsone__body__title" }, E = { class: "contsvg" }, N = /* @__PURE__ */ m(() => /* @__PURE__ */ a("img", { src: "http://golstatsimages.blob.core.windows.net/tournaments-cards/downloaddefensivo.png" }, null, -1)), H = ["fill"], P = ["fill"], D = /* @__PURE__ */ m(() => /* @__PURE__ */ a("img", { src: "http://golstatsimages.blob.core.windows.net/tournaments-cards/download.png" }, null, -1)), M = ["fill"], U = ["fill"], Z = {
5
5
  __name: "CardIndividual1vs1",
6
6
  props: {
7
7
  height: {
@@ -27,24 +27,28 @@ const h = (o) => (F("data-v-6b4e801f"), o = o(), y(), o), A = { class: "onevsone
27
27
  idAux: {
28
28
  type: String,
29
29
  default: ""
30
+ },
31
+ providerId: {
32
+ type: Number,
33
+ default: 0
30
34
  }
31
35
  },
32
36
  setup(o) {
33
- const t = o, m = s(() => {
34
- var i, r, e, n, c, u, p;
37
+ const t = o, h = s(() => {
38
+ var r, i, e, n, c, u, p;
35
39
  return {
36
40
  height: t.height,
37
41
  width: t.width,
38
42
  footerHeight: "137px",
39
43
  footerPadding: "24px 24px 25px 24px",
40
- playerPhotoUrl: B(t.data.player_id || ""),
41
- teamLogoUrl: V(t.data.team_id || "") || "",
44
+ playerPhotoUrl: V(t.data.player_id || ""),
45
+ teamLogoUrl: I(t.data.team_id || "", t.providerId) || "",
42
46
  cardColor: t.data.thumbnails.colors.background_color || "#000000",
43
- backgroundImageSrc: S((n = (e = (r = (i = t.data) == null ? void 0 : i.thumbnails) == null ? void 0 : r.images) == null ? void 0 : e.background_player_in_action) != null && n[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 : ""),
47
+ backgroundImageSrc: S((n = (e = (i = (r = t.data) == null ? void 0 : r.thumbnails) == null ? void 0 : i.images) == null ? void 0 : e.background_player_in_action) != null && n[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 : ""),
44
48
  textColor: t.data.thumbnails.colors.font_color_description || "#FFFFFF",
45
49
  footerBodyData: {
46
50
  textColor: t.data.thumbnails.colors.font_color_stats || "#FFFFFF",
47
- description: k(T({ data: t.data, descriptionType: t.descriptionType })),
51
+ description: k(B({ data: t.data, descriptionType: t.descriptionType })),
48
52
  total: t.data.footer && t.data.footer.show_percentage == 1 ? t.data.percentage : t.data.total,
49
53
  totalTextColor: t.data.thumbnails.colors.font_color_stats || "#FFFFFF",
50
54
  totalCircleColor: t.data.thumbnails.colors.background_color || "#000000",
@@ -56,20 +60,20 @@ const h = (o) => (F("data-v-6b4e801f"), o = o(), y(), o), A = { class: "onevsone
56
60
  const _ = s(() => ({
57
61
  "--title-color": t.data.thumbnails.colors.font_color_header || "#FFFFFF"
58
62
  }));
59
- return (i, r) => (d(), l("div", {
63
+ return (r, i) => (d(), l("div", {
60
64
  class: "onevsone",
61
- style: f(_.value)
65
+ style: v(_.value)
62
66
  }, [
63
- v(x, b(m.value, {
67
+ b(x, f(h.value, {
64
68
  "show-videos": o.showVideos,
65
69
  "id-aux": o.idAux
66
70
  }), {
67
71
  body: w(() => {
68
72
  var e;
69
73
  return [
70
- a("div", A, [
71
- a("div", E, C(t.data.title.replace(/\*/g, "")), 1),
72
- a("div", I, [
74
+ a("div", T, [
75
+ a("div", A, C(t.data.title.replace(/\*/g, "")), 1),
76
+ a("div", E, [
73
77
  (e = t.data.categories) != null && e.includes(4) ? (d(), l(g, { key: 1 }, [
74
78
  D,
75
79
  (d(), l("svg", {
@@ -88,7 +92,7 @@ const h = (o) => (F("data-v-6b4e801f"), o = o(), y(), o), A = { class: "onevsone
88
92
  }, null, 8, U)
89
93
  ], 8, M))
90
94
  ], 64)) : (d(), l(g, { key: 0 }, [
91
- P,
95
+ N,
92
96
  (d(), l("svg", {
93
97
  class: "arrow",
94
98
  width: "12",
@@ -102,7 +106,7 @@ const h = (o) => (F("data-v-6b4e801f"), o = o(), y(), o), A = { class: "onevsone
102
106
  "clip-rule": "evenodd",
103
107
  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",
104
108
  fill: t.data.thumbnails.colors.icon_color
105
- }, null, 8, N)
109
+ }, null, 8, P)
106
110
  ], 8, H))
107
111
  ], 64))
108
112
  ])
@@ -113,7 +117,7 @@ const h = (o) => (F("data-v-6b4e801f"), o = o(), y(), o), A = { class: "onevsone
113
117
  }, 16, ["show-videos", "id-aux"])
114
118
  ], 4));
115
119
  }
116
- }, q = /* @__PURE__ */ L(Z, [["__scopeId", "data-v-6b4e801f"]]);
120
+ }, j = /* @__PURE__ */ L(Z, [["__scopeId", "data-v-8baaeb2d"]]);
117
121
  export {
118
- q as default
122
+ j as default
119
123
  };
@@ -1,35 +1,35 @@
1
- import { ref as k, computed as a, createElementBlock as d, openBlock as s, normalizeStyle as v, createVNode as x, mergeProps as F, withCtx as L, createElementVNode as t, toDisplayString as H, pushScopeId as M, popScopeId as S } from "vue";
2
- import { d as B } from "./CardBaseAllIndividual-D5JoiQqR-toSAbTZ-.js";
3
- import { m as b, P as Z, E as U, O as A, V as G, A as O } from "./CardBase-BNBUZGU7-B-3ifIbW.js";
4
- const e = (l) => (M("data-v-f5cac76b"), l = l(), S(), l), I = { class: "areas__body" }, V = { class: "areas__body__title" }, P = { class: "areas-svg" }, D = {
1
+ import { ref as v, computed as a, createElementBlock as d, openBlock as s, normalizeStyle as k, createVNode as x, mergeProps as F, withCtx as L, createElementVNode as t, toDisplayString as H, pushScopeId as M, popScopeId as S } from "vue";
2
+ import { d as B } from "./CardBaseAllIndividual-DT-pj1sJ-DWZbiML4.js";
3
+ import { w as b, A as Z, z as U, V as A, E as G, O } from "./CardBase-cG4UK8zU-D0uCjRqB.js";
4
+ const i = (l) => (M("data-v-f9802c1d"), l = l(), S(), l), I = { class: "areas__body" }, V = { class: "areas__body__title" }, D = { class: "areas-svg" }, P = {
5
5
  key: 0,
6
6
  width: "270",
7
7
  height: "102",
8
8
  viewBox: "0 0 270 102",
9
9
  fill: "none",
10
10
  xmlns: "http://www.w3.org/2000/svg"
11
- }, T = ["fill"], E = /* @__PURE__ */ e(() => /* @__PURE__ */ t("path", {
11
+ }, T = ["fill"], E = /* @__PURE__ */ i(() => /* @__PURE__ */ t("path", {
12
12
  opacity: "0.6",
13
13
  d: "M267.61 94.5L270 102H0L2.31618 94.5H267.61Z",
14
14
  fill: "black"
15
- }, null, -1)), R = /* @__PURE__ */ e(() => /* @__PURE__ */ t("path", {
15
+ }, null, -1)), N = /* @__PURE__ */ i(() => /* @__PURE__ */ t("path", {
16
16
  opacity: "0.2",
17
17
  d: "M31.1838 0H237.184L267.294 94.5H2L31.1838 0Z",
18
18
  fill: "black"
19
- }, null, -1)), $ = /* @__PURE__ */ e(() => /* @__PURE__ */ t("path", {
19
+ }, null, -1)), R = /* @__PURE__ */ i(() => /* @__PURE__ */ t("path", {
20
20
  d: "M31.1838 0H237.184L267.294 94.5H2L31.1838 0Z",
21
21
  fill: "url(#paint0_linear_2158_1200)"
22
- }, null, -1)), N = /* @__PURE__ */ e(() => /* @__PURE__ */ t("path", {
22
+ }, null, -1)), $ = /* @__PURE__ */ i(() => /* @__PURE__ */ t("path", {
23
23
  d: "M38.4747 5.83691H228.866L254.033 94.5H14L38.4747 5.83691Z",
24
24
  stroke: "white",
25
25
  "stroke-width": "0.548478",
26
26
  "stroke-miterlimit": "10"
27
- }, null, -1)), j = /* @__PURE__ */ e(() => /* @__PURE__ */ t("path", {
27
+ }, null, -1)), z = /* @__PURE__ */ i(() => /* @__PURE__ */ t("path", {
28
28
  d: "M101.781 94.5C103.275 84.4059 117.182 76.4963 134.116 76.4963C151.05 76.4963 164.956 84.4059 166.45 94.5",
29
29
  stroke: "white",
30
30
  "stroke-width": "0.548478",
31
31
  "stroke-miterlimit": "10"
32
- }, null, -1)), z = /* @__PURE__ */ e(() => /* @__PURE__ */ t("g", { "clip-path": "url(#clip0_2158_1200)" }, [
32
+ }, null, -1)), j = /* @__PURE__ */ i(() => /* @__PURE__ */ t("g", { "clip-path": "url(#clip0_2158_1200)" }, [
33
33
  /* @__PURE__ */ t("path", {
34
34
  d: "M109.648 5.78662V12.589H159.32V5.78662",
35
35
  stroke: "white",
@@ -48,27 +48,27 @@ const e = (l) => (M("data-v-f5cac76b"), l = l(), S(), l), I = { class: "areas__b
48
48
  "stroke-width": "0.529565",
49
49
  "stroke-miterlimit": "10"
50
50
  })
51
- ], -1)), q = /* @__PURE__ */ e(() => /* @__PURE__ */ t("path", {
51
+ ], -1)), q = /* @__PURE__ */ i(() => /* @__PURE__ */ t("path", {
52
52
  d: "M135.025 15.1789C114.024 15.179 97 33.149 97 55.3161L173.049 55.3161C173.049 33.149 156.025 15.1789 135.025 15.1789Z",
53
53
  fill: "url(#paint1_linear_2158_1200)"
54
- }, null, -1)), J = /* @__PURE__ */ e(() => /* @__PURE__ */ t("path", {
54
+ }, null, -1)), J = /* @__PURE__ */ i(() => /* @__PURE__ */ t("path", {
55
55
  "fill-rule": "evenodd",
56
56
  "clip-rule": "evenodd",
57
57
  d: "M130.894 41.8935L134.901 48.8342L138.908 41.8935L135.595 41.8935L135.595 15.3646L134.207 15.3646L134.207 41.8935L130.894 41.8935Z",
58
58
  fill: "white"
59
- }, null, -1)), K = /* @__PURE__ */ e(() => /* @__PURE__ */ t("g", { filter: "url(#filter0_d_2158_1200)" }, [
59
+ }, null, -1)), K = /* @__PURE__ */ i(() => /* @__PURE__ */ t("g", { filter: "url(#filter0_d_2158_1200)" }, [
60
60
  /* @__PURE__ */ t("path", {
61
61
  d: "M134.9 9.66332C137.744 9.66332 140.049 11.9687 140.049 14.8125C140.049 17.6563 137.744 19.9617 134.9 19.9617C132.056 19.9617 129.751 17.6563 129.751 14.8125C129.751 11.9687 132.056 9.66332 134.9 9.66332Z",
62
62
  fill: "#4790FF"
63
63
  })
64
- ], -1)), Q = /* @__PURE__ */ e(() => /* @__PURE__ */ t("g", { filter: "url(#filter1_d_2158_1200)" }, [
64
+ ], -1)), Q = /* @__PURE__ */ i(() => /* @__PURE__ */ t("g", { filter: "url(#filter1_d_2158_1200)" }, [
65
65
  /* @__PURE__ */ t("path", {
66
66
  "fill-rule": "evenodd",
67
67
  "clip-rule": "evenodd",
68
68
  d: "M141.534 14.8125C141.534 11.1488 138.564 8.17886 134.9 8.17886C131.237 8.17886 128.267 11.1488 128.267 14.8125C128.267 18.4761 131.237 21.446 134.9 21.446C138.564 21.446 141.534 18.4761 141.534 14.8125ZM140.049 14.8125C140.049 11.9686 137.744 9.66327 134.9 9.66327C132.056 9.66328 129.751 11.9686 129.751 14.8125C129.751 17.6563 132.056 19.9616 134.9 19.9616C137.744 19.9616 140.049 17.6563 140.049 14.8125Z",
69
69
  fill: "white"
70
70
  })
71
- ], -1)), W = /* @__PURE__ */ e(() => /* @__PURE__ */ t("defs", null, [
71
+ ], -1)), W = /* @__PURE__ */ i(() => /* @__PURE__ */ t("defs", null, [
72
72
  /* @__PURE__ */ t("filter", {
73
73
  id: "filter0_d_2158_1200",
74
74
  x: "125.751",
@@ -202,28 +202,28 @@ const e = (l) => (M("data-v-f5cac76b"), l = l(), S(), l), I = { class: "areas__b
202
202
  viewBox: "0 0 270 113",
203
203
  fill: "none",
204
204
  xmlns: "http://www.w3.org/2000/svg"
205
- }, Y = ["fill"], t1 = /* @__PURE__ */ e(() => /* @__PURE__ */ t("path", {
205
+ }, Y = ["fill"], t1 = /* @__PURE__ */ i(() => /* @__PURE__ */ t("path", {
206
206
  opacity: "0.6",
207
207
  d: "M267.61 105.5L270 113H0L2.31618 105.5H267.61Z",
208
208
  fill: "black"
209
- }, null, -1)), e1 = /* @__PURE__ */ e(() => /* @__PURE__ */ t("path", {
209
+ }, null, -1)), e1 = /* @__PURE__ */ i(() => /* @__PURE__ */ t("path", {
210
210
  opacity: "0.2",
211
211
  d: "M31.1838 11H237.184L267.294 105.5H2L31.1838 11Z",
212
212
  fill: "black"
213
- }, null, -1)), i1 = /* @__PURE__ */ e(() => /* @__PURE__ */ t("path", {
213
+ }, null, -1)), i1 = /* @__PURE__ */ i(() => /* @__PURE__ */ t("path", {
214
214
  d: "M31.1838 11H237.184L267.294 105.5H2L31.1838 11Z",
215
215
  fill: "url(#paint0_linear_2158_1173)"
216
- }, null, -1)), l1 = /* @__PURE__ */ e(() => /* @__PURE__ */ t("path", {
216
+ }, null, -1)), l1 = /* @__PURE__ */ i(() => /* @__PURE__ */ t("path", {
217
217
  d: "M38.4747 16.8369H228.866L254.033 105.5H14L38.4747 16.8369Z",
218
218
  stroke: "white",
219
219
  "stroke-width": "0.548478",
220
220
  "stroke-miterlimit": "10"
221
- }, null, -1)), a1 = /* @__PURE__ */ e(() => /* @__PURE__ */ t("path", {
221
+ }, null, -1)), a1 = /* @__PURE__ */ i(() => /* @__PURE__ */ t("path", {
222
222
  d: "M101.781 105.5C103.275 95.4059 117.182 87.4963 134.116 87.4963C151.05 87.4963 164.956 95.4059 166.45 105.5",
223
223
  stroke: "white",
224
224
  "stroke-width": "0.548478",
225
225
  "stroke-miterlimit": "10"
226
- }, null, -1)), o1 = /* @__PURE__ */ e(() => /* @__PURE__ */ t("g", { "clip-path": "url(#clip0_2158_1173)" }, [
226
+ }, null, -1)), o1 = /* @__PURE__ */ i(() => /* @__PURE__ */ t("g", { "clip-path": "url(#clip0_2158_1173)" }, [
227
227
  /* @__PURE__ */ t("path", {
228
228
  d: "M109.648 16.7866V23.589H159.32V16.7866",
229
229
  stroke: "white",
@@ -242,27 +242,27 @@ const e = (l) => (M("data-v-f5cac76b"), l = l(), S(), l), I = { class: "areas__b
242
242
  "stroke-width": "0.529565",
243
243
  "stroke-miterlimit": "10"
244
244
  })
245
- ], -1)), r1 = /* @__PURE__ */ e(() => /* @__PURE__ */ t("path", {
245
+ ], -1)), r1 = /* @__PURE__ */ i(() => /* @__PURE__ */ t("path", {
246
246
  d: "M135 40C114.013 40 97 26.5685 97 9.99999L173 10C173 26.5686 155.987 40 135 40Z",
247
247
  fill: "url(#paint1_linear_2158_1173)"
248
- }, null, -1)), d1 = /* @__PURE__ */ e(() => /* @__PURE__ */ t("path", {
248
+ }, null, -1)), d1 = /* @__PURE__ */ i(() => /* @__PURE__ */ t("path", {
249
249
  "fill-rule": "evenodd",
250
250
  "clip-rule": "evenodd",
251
251
  d: "M130.894 24.2854L134.901 17.3447L138.908 24.2854L135.595 24.2854L135.595 38.8144L134.207 38.8144L134.207 24.2854L130.894 24.2854Z",
252
252
  fill: "white"
253
- }, null, -1)), s1 = /* @__PURE__ */ e(() => /* @__PURE__ */ t("g", { filter: "url(#filter0_d_2158_1173)" }, [
253
+ }, null, -1)), s1 = /* @__PURE__ */ i(() => /* @__PURE__ */ t("g", { filter: "url(#filter0_d_2158_1173)" }, [
254
254
  /* @__PURE__ */ t("path", {
255
255
  d: "M134.9 45.5156C137.744 45.5156 140.049 43.2103 140.049 40.3665C140.049 37.5227 137.744 35.2173 134.9 35.2173C132.056 35.2173 129.751 37.5227 129.751 40.3665C129.751 43.2103 132.056 45.5156 134.9 45.5156Z",
256
256
  fill: "#4790FF"
257
257
  })
258
- ], -1)), n1 = /* @__PURE__ */ e(() => /* @__PURE__ */ t("g", { filter: "url(#filter1_d_2158_1173)" }, [
258
+ ], -1)), n1 = /* @__PURE__ */ i(() => /* @__PURE__ */ t("g", { filter: "url(#filter1_d_2158_1173)" }, [
259
259
  /* @__PURE__ */ t("path", {
260
260
  "fill-rule": "evenodd",
261
261
  "clip-rule": "evenodd",
262
262
  d: "M141.534 40.3665C141.534 44.0301 138.564 47.0001 134.9 47.0001C131.237 47.0001 128.267 44.0301 128.267 40.3665C128.267 36.7029 131.237 33.7329 134.9 33.7329C138.564 33.7329 141.534 36.7029 141.534 40.3665ZM140.049 40.3665C140.049 43.2103 137.744 45.5157 134.9 45.5157C132.056 45.5157 129.751 43.2103 129.751 40.3665C129.751 37.5227 132.056 35.2173 134.9 35.2173C137.744 35.2173 140.049 37.5227 140.049 40.3665Z",
263
263
  fill: "white"
264
264
  })
265
- ], -1)), p1 = /* @__PURE__ */ e(() => /* @__PURE__ */ t("defs", null, [
265
+ ], -1)), p1 = /* @__PURE__ */ i(() => /* @__PURE__ */ t("defs", null, [
266
266
  /* @__PURE__ */ t("filter", {
267
267
  id: "filter0_d_2158_1173",
268
268
  x: "125.751",
@@ -415,15 +415,19 @@ const e = (l) => (M("data-v-f5cac76b"), l = l(), S(), l), I = { class: "areas__b
415
415
  idAux: {
416
416
  type: String,
417
417
  default: ""
418
+ },
419
+ providerId: {
420
+ type: Number,
421
+ default: 0
418
422
  }
419
423
  },
420
424
  setup(l) {
421
- const i = l, g = /* @__PURE__ */ new Set([
425
+ const e = l, w = /* @__PURE__ */ new Set([
422
426
  "74-i",
423
427
  "75-i",
424
428
  "76-i",
425
429
  "35-e"
426
- ]), n = k([
430
+ ]), n = v([
427
431
  {
428
432
  id: 1,
429
433
  name: "Área propia"
@@ -432,55 +436,55 @@ const e = (l) => (M("data-v-f5cac76b"), l = l(), S(), l), I = { class: "areas__b
432
436
  id: 2,
433
437
  name: "Área rival"
434
438
  }
435
- ]), w = a(() => {
439
+ ]), g = a(() => {
436
440
  var o, r, u, f, c, _;
437
- const m = i.data.footer.show_percentage;
441
+ const m = e.data.footer.show_percentage;
438
442
  return {
439
- height: i.height,
440
- width: i.width,
443
+ height: e.height,
444
+ width: e.width,
441
445
  footerHeight: "137px",
442
- playerPhotoUrl: G(i.data.player_id || ""),
443
- teamLogoUrl: A(i.data.team_id || ""),
444
- cardColor: (i.data.thumbnails.colors.background_color || "#000000").trim(),
445
- backgroundImageSrc: U((u = (r = (o = i.data) == null ? void 0 : o.thumbnails) == null ? void 0 : r.images) != null && u.background_player_in_action[0] ? i.data.thumbnails.images.background_player_in_action[0] : (_ = (c = (f = i.data) == null ? void 0 : f.thumbnails) == null ? void 0 : c.images) != null && _.background_team ? i.data.thumbnails.images.background_team : ""),
446
+ playerPhotoUrl: G(e.data.player_id || ""),
447
+ teamLogoUrl: A(e.data.team_id || "", e.providerId),
448
+ cardColor: (e.data.thumbnails.colors.background_color || "#000000").trim(),
449
+ backgroundImageSrc: U((u = (r = (o = e.data) == null ? void 0 : o.thumbnails) == null ? void 0 : r.images) != null && u.background_player_in_action[0] ? e.data.thumbnails.images.background_player_in_action[0] : (_ = (c = (f = e.data) == null ? void 0 : f.thumbnails) == null ? void 0 : c.images) != null && _.background_team ? e.data.thumbnails.images.background_team : ""),
446
450
  footerBodyData: {
447
- description: Z(O({ data: i.data, descriptionType: i.descriptionType })),
448
- total: m ? i.data.percentage : i.data.total,
451
+ description: Z(O({ data: e.data, descriptionType: e.descriptionType })),
452
+ total: m ? e.data.percentage : e.data.total,
449
453
  isTotalPercentage: m,
450
- textColor: (i.data.thumbnails.colors.font_color_description || "#FFFFFF").trim(),
451
- totalTextColor: (i.data.thumbnails.colors.font_color_stats || "#FFFFFF").trim(),
452
- totalCircleColor: (i.data.thumbnails.colors.data_color || "#000000").trim(),
453
- totalBorderColor: (i.data.thumbnails.colors.data_color || "#FFFFFF").trim()
454
+ textColor: (e.data.thumbnails.colors.font_color_description || "#FFFFFF").trim(),
455
+ totalTextColor: (e.data.thumbnails.colors.font_color_stats || "#FFFFFF").trim(),
456
+ totalCircleColor: (e.data.thumbnails.colors.data_color || "#000000").trim(),
457
+ totalBorderColor: (e.data.thumbnails.colors.data_color || "#FFFFFF").trim()
454
458
  }
455
459
  };
456
- }), y = a(() => i.data.id), p = a(() => ({
457
- fieldColor: (i.data.thumbnails.colors.graphic_color || "#FFFFFF").trim()
458
- })), h = a(() => g.has(y.value) ? n.value[0] : n.value[1]), C = a(() => ({
459
- "--title-color": i.data.thumbnails.colors.font_color_header || "#FFFFFF"
460
+ }), y = a(() => e.data.id), p = a(() => ({
461
+ fieldColor: (e.data.thumbnails.colors.graphic_color || "#FFFFFF").trim()
462
+ })), h = a(() => w.has(y.value) ? n.value[0] : n.value[1]), C = a(() => ({
463
+ "--title-color": e.data.thumbnails.colors.font_color_header || "#FFFFFF"
460
464
  }));
461
465
  return (o, r) => (s(), d("div", {
462
466
  class: "areas",
463
- style: v(C.value)
467
+ style: k(C.value)
464
468
  }, [
465
- x(B, F(w.value, {
469
+ x(B, F(g.value, {
466
470
  "show-videos": l.showVideos,
467
471
  "id-aux": l.idAux
468
472
  }), {
469
473
  body: L(() => [
470
474
  t("div", I, [
471
475
  t("div", V, H(h.value.name), 1),
472
- t("div", P, [
473
- h.value.id === 1 ? (s(), d("svg", D, [
476
+ t("div", D, [
477
+ h.value.id === 1 ? (s(), d("svg", P, [
474
478
  t("path", {
475
479
  d: "M31.5 0H237.5L270 102H0L31.5 0Z",
476
480
  fill: p.value.fieldColor
477
481
  }, null, 8, T),
478
482
  E,
483
+ N,
479
484
  R,
480
485
  $,
481
- N,
482
- j,
483
486
  z,
487
+ j,
484
488
  q,
485
489
  J,
486
490
  K,
@@ -510,7 +514,7 @@ const e = (l) => (M("data-v-f5cac76b"), l = l(), S(), l), I = { class: "areas__b
510
514
  }, 16, ["show-videos", "id-aux"])
511
515
  ], 4));
512
516
  }
513
- }, _1 = /* @__PURE__ */ b(h1, [["__scopeId", "data-v-f5cac76b"]]);
517
+ }, _1 = /* @__PURE__ */ b(h1, [["__scopeId", "data-v-f9802c1d"]]);
514
518
  export {
515
519
  _1 as default
516
520
  };