@golstats/gsc-player-team-profile 1.1.12 → 1.1.13

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-BNBUZGU7-504a5383-8f417cca.js → CardBase-cG4UK8zU-c0829c3b-e94288b0.js} +48 -39
  2. package/dist/{CardBaseAllIndividual-D5JoiQqR-70ae8ea1-e2133371.js → CardBaseAllIndividual-DT-pj1sJ-4e940f7f-bebe425f.js} +9 -9
  3. package/dist/{CardGeneral-DTteAML4-a53fa9da-5e8c24a6.js → CardGeneral-BlZEnnEb-cbc6874e-66671168.js} +19 -19
  4. package/dist/{CardGeneralIndividual-D-FKsjFO-13b3d0e8-a5f98162.js → CardGeneralIndividual-Bnc6oqkd-780995cc-1c3ec913.js} +17 -17
  5. package/dist/{CardGeneralTeams-C0Z5qzcM-b9b7bb96-44e66a28.js → CardGeneralTeams-C3Y4CKGP-0f745ef4-12f00bb9.js} +2 -2
  6. package/dist/{CardIndividual-BhPQqGlc-3204235e-aea42c9a.js → CardIndividual-BPMbVI3t-03397306-a8c66171.js} +49 -45
  7. package/dist/{CardIndividual1vs1-QeAXN4f--814c258b-3082e2d0.js → CardIndividual1vs1-CuR4WSxJ-9c36ee70-502ffae7.js} +29 -25
  8. package/dist/{CardIndividualAreas-CHLqS1mw-01af4a3a-a7bdd565.js → CardIndividualAreas-CfLiKrts-9b4f8888-9fd6023f.js} +64 -60
  9. package/dist/{CardIndividualCenters-hEROPxzH-d4453e88-201f3254.js → CardIndividualCenters-QiXO05sk-35c5ad0f-991aeed3.js} +46 -42
  10. package/dist/{CardIndividualDistance-BQ8zwHOn-14ccd061-8a1ef17f.js → CardIndividualDistance-7PJ6nX5x-a3ba37d7-cd8a5aac.js} +28 -24
  11. package/dist/{CardIndividualFouls-ChdbYcE_-a4c00968-69cb049d.js → CardIndividualFouls-BG7VCYOa-f04f0407-ce7423db.js} +37 -33
  12. package/dist/{CardIndividualGoalParticipation-B9xqQ51i-310a9b7f-33423e74.js → CardIndividualGoalParticipation-BWq87mgE-5656d35a-6398c7c3.js} +29 -25
  13. package/dist/{CardIndividualGoals-BtqVuDiw-c08936cb-792c2463.js → CardIndividualGoals-DEKwqMXc-6eafee68-33280feb.js} +65 -61
  14. package/dist/{CardIndividualGold-BLT3Mk27-6226a5fd-b1dfde16.js → CardIndividualGold-Bz4E-z_--ecf80898-a60de12a.js} +18 -18
  15. package/dist/{CardIndividualNoGoalReceived-DJoQF9wO-6c58d132-4b2ca877.js → CardIndividualNoGoalReceived-B2BKqCnK-87d0c69d-3227a9da.js} +29 -25
  16. package/dist/{CardIndividualPerformance-lhPwEGlm-6daa64d3-a1f55a95.js → CardIndividualPerformance-BcqsLAAU-f763143a-12ff6a0e.js} +15 -15
  17. package/dist/{CardIndividualSaves-CVjR2-WK-398ffad9-da5d1888.js → CardIndividualSaves-BSDQdG6Y-313183ff-5b268e3d.js} +52 -48
  18. package/dist/{CardIndividualShotsOnGoal-BHHi894T-962e8079-3155ef9c.js → CardIndividualShotsOnGoal-CZl8akPo-4890a466-96ccdca7.js} +22 -18
  19. package/dist/{CardIndividualStatistics-C-kaGAYd-50b2876e-6f3da9dd.js → CardIndividualStatistics-CY-nNio--ffdcb381-0af8ea32.js} +24 -20
  20. package/dist/CardPromTournament-D7NIcgIG-e60d098a-e3b0158c.js +151 -0
  21. package/dist/{CardSuccessfulPasses-C_L5d6hy-8c7d1ece-92db0076.js → CardSuccessfulPasses-BmyugNe3-675317a5-908fdece.js} +10 -6
  22. package/dist/{CardTheMostProductive-BBt8B_sf-1c827b32-2ef7251d.js → CardTheMostProductive-DYe73XmH-10d6d5f1-0de7a638.js} +20 -16
  23. package/dist/{FilterConditions-00cc4a22-5e847557.js → FilterConditions-00cc4a22-0dc76eae.js} +1 -1
  24. package/dist/{FilterConditions-00cc4a22-DoZnt8Xz-25fabb65.js → FilterConditions-00cc4a22-DoZnt8Xz-54be4c63.js} +1 -1
  25. package/dist/{FilterField-957ae5b8-e7584381.js → FilterField-957ae5b8-0c08ea58.js} +1 -1
  26. package/dist/{FilterField-957ae5b8-CXUwZijf-d809366b.js → FilterField-957ae5b8-CXUwZijf-52d224e8.js} +1 -1
  27. package/dist/{FilterSubcategories-168d643a-CZMaUliX-62132d44.js → FilterSubcategories-168d643a-CZMaUliX-26c189af.js} +1 -1
  28. package/dist/{FilterSubcategories-168d643a-d5265a69.js → FilterSubcategories-168d643a-c040e0c2.js} +1 -1
  29. package/dist/{PlayerProfileCircle-CJTiOj5E-74e26a35-e0f712c5.js → PlayerProfileCircle-B34lIhjM-1fe33242-d65f3e4a.js} +1 -1
  30. package/dist/{Shield-If5I91AC-37a46ec8-282db335.js → Shield-CPIaGlGA-1c79a289-a1cff1e3.js} +6 -6
  31. package/dist/gsc-player-team-profile.js +1 -1
  32. package/dist/gsc-player-team-profile.umd.cjs +49 -49
  33. package/dist/{index-d1140626.js → index-8e98da8c.js} +54 -38
  34. package/dist/style.css +1 -1
  35. package/package.json +2 -2
  36. package/dist/CardPromTournament-BFRTPeVe-3cc9c4b5-774fa0b8.js +0 -147
@@ -1,7 +1,7 @@
1
- import { useCssVars as v, computed as u, openBlock as l, createElementBlock as s, normalizeStyle as b, createBlock as F, mergeProps as _, 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 C, I as E, $ as B, z as N, E as I, T as V } from "./CardBase-BNBUZGU7-504a5383-8f417cca.js";
3
- import "./index-d1140626.js";
4
- import { d as $ } from "./CardBaseAllIndividual-D5JoiQqR-70ae8ea1-e2133371.js";
1
+ import { useCssVars as v, computed as u, openBlock as l, createElementBlock as c, normalizeStyle as b, createBlock as _, 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 N } from "vue";
2
+ import { _ as C, A as T, z as E, N as I, E as B, I as A } from "./CardBase-cG4UK8zU-c0829c3b-e94288b0.js";
3
+ import "./index-8e98da8c.js";
4
+ import { d as V } from "./CardBaseAllIndividual-DT-pj1sJ-4e940f7f-bebe425f.js";
5
5
  const y = {
6
6
  props: {
7
7
  cancha: {
@@ -53,13 +53,13 @@ const y = {
53
53
  }));
54
54
  }, x = y.setup;
55
55
  y.setup = x ? (a, o) => (L(), x(a, o)) : L;
56
- const i = (a) => (D("data-v-9e7db71d"), a = a(), T(), a), A = { class: "outer-box" }, P = {
56
+ const i = (a) => (D("data-v-9e7db71d"), a = a(), N(), a), P = { class: "outer-box" }, z = {
57
57
  key: 0,
58
58
  class: "inner-box"
59
- }, z = {
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
+ }, $ = { class: "accelerometer-value" }, U = /* @__PURE__ */ i(() => /* @__PURE__ */ t("span", { class: "percentage" }, "%", -1)), j = {
63
63
  key: 2,
64
64
  width: "212",
65
65
  height: "137",
@@ -83,14 +83,14 @@ const i = (a) => (D("data-v-9e7db71d"), a = a(), T(), a), A = { class: "outer-bo
83
83
  stroke: "#DFE3E2",
84
84
  "stroke-width": "0.450603",
85
85
  "stroke-linecap": "square"
86
- }, null, -1)), X = ["stroke"], K = ["stroke"], Q = ["stroke"], R = ["stroke"], W = ["stroke"], Y = ["stroke"], tt = { opacity: "0.7" }, et = ["stroke"], ot = ["stroke"], at = ["stroke"], rt = ["stroke"], lt = ["stroke"], st = {
86
+ }, null, -1)), X = ["stroke"], K = ["stroke"], Q = ["stroke"], R = ["stroke"], W = ["stroke"], Y = ["stroke"], tt = { opacity: "0.7" }, et = ["stroke"], ot = ["stroke"], at = ["stroke"], rt = ["stroke"], lt = ["stroke"], ct = {
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
- }, ct = ["fill"], it = /* @__PURE__ */ i(() => /* @__PURE__ */ t("mask", {
93
+ }, st = ["fill"], it = /* @__PURE__ */ i(() => /* @__PURE__ */ t("mask", {
94
94
  id: "path-2-inside-1_2150_1704",
95
95
  fill: "white"
96
96
  }, [
@@ -114,7 +114,7 @@ const i = (a) => (D("data-v-9e7db71d"), a = a(), T(), a), A = { class: "outer-bo
114
114
  viewBox: "0 0 212 137",
115
115
  fill: "none",
116
116
  xmlns: "http://www.w3.org/2000/svg"
117
- }, bt = ["fill"], Ft = /* @__PURE__ */ i(() => /* @__PURE__ */ t("mask", {
117
+ }, bt = ["fill"], _t = /* @__PURE__ */ i(() => /* @__PURE__ */ t("mask", {
118
118
  id: "path-2-inside-1_2150_1773",
119
119
  fill: "white"
120
120
  }, [
@@ -126,21 +126,21 @@ const i = (a) => (D("data-v-9e7db71d"), a = a(), T(), a), A = { class: "outer-bo
126
126
  rx: "1.22558",
127
127
  transform: "rotate(-180 211.787 136.084)"
128
128
  })
129
- ], -1)), _t = ["stroke"], Mt = /* @__PURE__ */ i(() => /* @__PURE__ */ t("path", {
129
+ ], -1)), Ft = ["stroke"], Mt = /* @__PURE__ */ i(() => /* @__PURE__ */ t("path", {
130
130
  d: "M105.773 135.615L105.773 0.58395",
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"], Et = ["stroke"], Bt = ["stroke"], Nt = { opacity: "0.7" }, It = ["stroke"], Vt = ["stroke"], $t = ["stroke"], At = ["stroke"], Pt = ["stroke"];
135
- function zt(a, o, e, w, n, r) {
136
- return l(), s("div", A, [
137
- e.type === "box" ? (l(), s("div", P, p(e.stat), 1)) : e.type === "accelerometer" ? (l(), s("div", z, [
138
- t("div", Z, [
134
+ }, null, -1)), St = ["stroke"], qt = ["stroke"], Dt = ["stroke"], Nt = ["stroke"], Tt = ["stroke"], Et = ["stroke"], It = { opacity: "0.7" }, Bt = ["stroke"], At = ["stroke"], Vt = ["stroke"], Pt = ["stroke"], zt = ["stroke"];
135
+ function Zt(a, o, e, w, n, r) {
136
+ return l(), c("div", P, [
137
+ e.type === "box" ? (l(), c("div", z, p(e.stat), 1)) : e.type === "accelerometer" ? (l(), c("div", Z, [
138
+ t("div", $, [
139
139
  q(p(e.stat), 1),
140
140
  U
141
141
  ])
142
142
  ])) : h("", !0),
143
- r.canchaType === "full" ? (l(), s("svg", j, [
143
+ r.canchaType === "full" ? (l(), c("svg", j, [
144
144
  t("rect", {
145
145
  opacity: "0.6",
146
146
  x: "1.89551",
@@ -234,7 +234,7 @@ function zt(a, o, e, w, n, r) {
234
234
  "stroke-dasharray": "1.05 1.05"
235
235
  }, null, 8, lt)
236
236
  ])
237
- ])) : r.canchaType === "own" ? (l(), s("svg", st, [
237
+ ])) : r.canchaType === "own" ? (l(), c("svg", ct, [
238
238
  t("rect", {
239
239
  opacity: "0.6",
240
240
  x: "106.002",
@@ -244,7 +244,7 @@ function zt(a, o, e, w, n, r) {
244
244
  transform: "rotate(-90 106.002 136)",
245
245
  fill: e.colorfillcancha,
246
246
  "fill-opacity": "0.8"
247
- }, null, 8, ct),
247
+ }, null, 8, st),
248
248
  it,
249
249
  t("rect", {
250
250
  x: "211.787",
@@ -328,7 +328,7 @@ function zt(a, o, e, w, n, r) {
328
328
  "stroke-dasharray": "1.05 1.05"
329
329
  }, null, 8, vt)
330
330
  ])
331
- ])) : r.canchaType === "rival" ? (l(), s("svg", Ct, [
331
+ ])) : r.canchaType === "rival" ? (l(), c("svg", Ct, [
332
332
  t("rect", {
333
333
  opacity: "0.6",
334
334
  width: "135",
@@ -337,7 +337,7 @@ function zt(a, o, e, w, n, r) {
337
337
  fill: e.colorfillcancha,
338
338
  "fill-opacity": "0.8"
339
339
  }, null, 8, bt),
340
- Ft,
340
+ _t,
341
341
  t("rect", {
342
342
  x: "211.787",
343
343
  y: "136.084",
@@ -347,7 +347,7 @@ function zt(a, o, e, w, n, r) {
347
347
  transform: "rotate(-180 211.787 136.084)",
348
348
  stroke: e.colorcancha,
349
349
  "stroke-width": "1.84031"
350
- }, null, 8, _t),
350
+ }, null, 8, Ft),
351
351
  Mt,
352
352
  t("path", {
353
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",
@@ -370,13 +370,13 @@ function zt(a, o, e, w, n, r) {
370
370
  stroke: e.colorcancha,
371
371
  "stroke-opacity": "0.6",
372
372
  "stroke-linecap": "square"
373
- }, null, 8, Tt),
373
+ }, null, 8, Nt),
374
374
  t("path", {
375
375
  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",
376
376
  stroke: e.colorcancha,
377
377
  "stroke-opacity": "0.7",
378
378
  "stroke-width": "1.16503"
379
- }, null, 8, Et),
379
+ }, null, 8, Tt),
380
380
  t("ellipse", {
381
381
  cx: "105.788",
382
382
  cy: "68.1164",
@@ -386,43 +386,43 @@ function zt(a, o, e, w, n, r) {
386
386
  fill: "#FF0000",
387
387
  stroke: e.colorcancha,
388
388
  "stroke-width": "0.450603"
389
- }, null, 8, Bt),
390
- t("g", Nt, [
389
+ }, null, 8, Et),
390
+ t("g", It, [
391
391
  t("path", {
392
392
  d: "M52.6768 136.08L52.6768 7.43866e-05",
393
393
  stroke: e.colorcancha,
394
394
  "stroke-width": "0.523385",
395
395
  "stroke-dasharray": "1.05 1.05"
396
- }, null, 8, It),
396
+ }, null, 8, Bt),
397
397
  t("path", {
398
398
  d: "M105.342 136.08L105.342 7.43866e-05",
399
399
  stroke: e.colorcancha,
400
400
  "stroke-width": "0.523385",
401
401
  "stroke-dasharray": "1.05 1.05"
402
- }, null, 8, Vt),
402
+ }, null, 8, At),
403
403
  t("path", {
404
404
  d: "M158.008 136.08L158.008 7.43866e-05",
405
405
  stroke: e.colorcancha,
406
406
  "stroke-width": "0.523385",
407
407
  "stroke-dasharray": "1.05 1.05"
408
- }, null, 8, $t),
408
+ }, null, 8, Vt),
409
409
  t("path", {
410
410
  d: "M210.673 90.7202L0.0105608 90.7202",
411
411
  stroke: e.colorcancha,
412
412
  "stroke-width": "0.523385",
413
413
  "stroke-dasharray": "1.05 1.05"
414
- }, null, 8, At),
414
+ }, null, 8, Pt),
415
415
  t("path", {
416
416
  d: "M210.673 45.3599L0.0105608 45.3599",
417
417
  stroke: e.colorcancha,
418
418
  "stroke-width": "0.523385",
419
419
  "stroke-dasharray": "1.05 1.05"
420
- }, null, 8, Pt)
420
+ }, null, 8, zt)
421
421
  ])
422
422
  ])) : h("", !0)
423
423
  ]);
424
424
  }
425
- const Zt = /* @__PURE__ */ C(y, [["render", zt], ["__scopeId", "data-v-9e7db71d"]]), Ut = { class: "content-wrapper" }, jt = { class: "content-box" }, Ht = { class: "text-container" }, Ot = {
425
+ const $t = /* @__PURE__ */ C(y, [["render", Zt], ["__scopeId", "data-v-9e7db71d"]]), Ut = { class: "content-wrapper" }, jt = { class: "content-box" }, Ht = { class: "text-container" }, Ot = {
426
426
  key: 0,
427
427
  class: "title"
428
428
  }, Gt = {
@@ -454,27 +454,31 @@ const Zt = /* @__PURE__ */ C(y, [["render", zt], ["__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(a) {
460
464
  v((r) => ({
461
- "376a7304": n.value.subtitle ? "100%" : "78%"
465
+ "4457d05a": n.value.subtitle ? "100%" : "78%"
462
466
  }));
463
467
  const o = a, e = u(() => {
464
- var r, c, d, k, m, g, f;
468
+ var r, s, 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: E(o.data.player_id || ""),
471
- teamLogoUrl: B(o.data.team_id || "") || "",
474
+ playerPhotoUrl: T(o.data.player_id || ""),
475
+ teamLogoUrl: E(o.data.team_id || "", o.providerId) || "",
472
476
  cardColor: o.data.thumbnails.colors.background_color || "#000000",
473
- backgroundImageSrc: N((k = (d = (c = (r = o.data) == null ? void 0 : r.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 : ""),
477
+ backgroundImageSrc: I((k = (d = (s = (r = o.data) == null ? void 0 : r.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 = (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",
477
- description: I(V({ data: o.data, descriptionType: o.descriptionType })),
481
+ description: B(A({ data: o.data, descriptionType: o.descriptionType })),
478
482
  totalTextColor: o.data.thumbnails.colors.font_color_stats || "#FFFFFF",
479
483
  totalCircleColor: o.data.thumbnails.colors.background_color || "#000000",
480
484
  isTotalPercentage: !!o.data.footer.show_percentage
@@ -486,18 +490,18 @@ const Zt = /* @__PURE__ */ C(y, [["render", zt], ["__scopeId", "data-v-9e7db71d"
486
490
  var r;
487
491
  if (!o.data.title)
488
492
  return { title: "", subtitle: "" };
489
- const c = o.data.title.match(/\*(.*?)\*/), d = c ? c[1] : "", k = c ? o.data.title.replace(/\*.*?\*/, "").trim() : o.data.title.trim();
493
+ const s = o.data.title.match(/\*(.*?)\*/), d = s ? s[1] : "", k = s ? o.data.title.replace(/\*.*?\*/, "").trim() : o.data.title.trim();
490
494
  return {
491
495
  title: d,
492
496
  subtitle: k,
493
497
  showPlus: !!((r = o.data.header) != null && r.show_percentage)
494
498
  };
495
499
  });
496
- return (r, c) => (l(), s("div", {
500
+ return (r, s) => (l(), c("div", {
497
501
  class: "card-general",
498
502
  style: b(w.value)
499
503
  }, [
500
- e.value ? (l(), F($, _({ key: 0 }, e.value, {
504
+ e.value ? (l(), _(V, F({ key: 0 }, e.value, {
501
505
  width: a.width,
502
506
  "show-videos": a.showVideos,
503
507
  "id-aux": a.idAux
@@ -505,7 +509,7 @@ const Zt = /* @__PURE__ */ C(y, [["render", zt], ["__scopeId", "data-v-9e7db71d"
505
509
  body: M(() => [
506
510
  t("div", Ut, [
507
511
  t("div", jt, [
508
- S(Zt, {
512
+ S($t, {
509
513
  colorfillcancha: o.data.thumbnails.colors.graphic_color_2,
510
514
  colorcancha: o.data.thumbnails.colors.graphic_color,
511
515
  colorstat: o.data.thumbnails.colors.data_color,
@@ -515,8 +519,8 @@ const Zt = /* @__PURE__ */ C(y, [["render", zt], ["__scopeId", "data-v-9e7db71d"
515
519
  }, null, 8, ["colorfillcancha", "colorcancha", "colorstat", "cancha", "stat", "type"])
516
520
  ]),
517
521
  t("div", Ht, [
518
- n.value.title ? (l(), s("h2", Ot, p(n.value.title), 1)) : h("", !0),
519
- n.value.subtitle ? (l(), s("p", Gt, p(n.value.subtitle), 1)) : h("", !0)
522
+ n.value.title ? (l(), c("h2", Ot, p(n.value.title), 1)) : h("", !0),
523
+ n.value.subtitle ? (l(), c("p", Gt, p(n.value.subtitle), 1)) : h("", !0)
520
524
  ])
521
525
  ])
522
526
  ]),
@@ -524,7 +528,7 @@ const Zt = /* @__PURE__ */ C(y, [["render", zt], ["__scopeId", "data-v-9e7db71d"
524
528
  }, 16, ["width", "show-videos", "id-aux"])) : h("", !0)
525
529
  ], 4));
526
530
  }
527
- }, Wt = /* @__PURE__ */ C(Jt, [["__scopeId", "data-v-db4f32e5"]]);
531
+ }, Wt = /* @__PURE__ */ C(Jt, [["__scopeId", "data-v-05e685ef"]]);
528
532
  export {
529
533
  Wt as default
530
534
  };
@@ -1,8 +1,8 @@
1
- import { computed as s, openBlock as l, createElementBlock as d, normalizeStyle as f, createVNode as v, mergeProps as b, withCtx as w, createElementVNode as a, toDisplayString as C, Fragment as h, pushScopeId as F, popScopeId as y } from "vue";
2
- import { d as x } from "./CardBaseAllIndividual-D5JoiQqR-70ae8ea1-e2133371.js";
3
- import { h as L, I as k, $ as I, z as S, E as B, T } from "./CardBase-BNBUZGU7-504a5383-8f417cca.js";
4
- import "./index-d1140626.js";
5
- const g = (o) => (F("data-v-6b4e801f"), o = o(), y(), o), E = { class: "onevsone__body" }, P = { class: "onevsone__body__title" }, z = { class: "contsvg" }, H = /* @__PURE__ */ g(() => /* @__PURE__ */ a("img", { src: "http://golstatsimages.blob.core.windows.net/tournaments-cards/downloaddefensivo.png" }, null, -1)), N = ["fill"], V = ["fill"], $ = /* @__PURE__ */ g(() => /* @__PURE__ */ a("img", { src: "http://golstatsimages.blob.core.windows.net/tournaments-cards/download.png" }, null, -1)), A = ["fill"], D = ["fill"], M = {
1
+ import { computed as s, openBlock as l, createElementBlock as d, normalizeStyle as v, createVNode as b, mergeProps as f, withCtx as w, createElementVNode as a, toDisplayString as C, Fragment as m, pushScopeId as F, popScopeId as y } from "vue";
2
+ import { d as x } from "./CardBaseAllIndividual-DT-pj1sJ-4e940f7f-bebe425f.js";
3
+ import { _ as L, A as k, z as I, N as S, E as N, I as B } from "./CardBase-cG4UK8zU-c0829c3b-e94288b0.js";
4
+ import "./index-8e98da8c.js";
5
+ const g = (o) => (F("data-v-8baaeb2d"), o = o(), y(), o), T = { class: "onevsone__body" }, A = { class: "onevsone__body__title" }, E = { class: "contsvg" }, P = /* @__PURE__ */ g(() => /* @__PURE__ */ a("img", { src: "http://golstatsimages.blob.core.windows.net/tournaments-cards/downloaddefensivo.png" }, null, -1)), H = ["fill"], V = ["fill"], D = /* @__PURE__ */ g(() => /* @__PURE__ */ a("img", { src: "http://golstatsimages.blob.core.windows.net/tournaments-cards/download.png" }, null, -1)), M = ["fill"], U = ["fill"], Z = {
6
6
  __name: "CardIndividual1vs1",
7
7
  props: {
8
8
  height: {
@@ -28,24 +28,28 @@ const g = (o) => (F("data-v-6b4e801f"), o = o(), y(), o), E = { class: "onevsone
28
28
  idAux: {
29
29
  type: String,
30
30
  default: ""
31
+ },
32
+ providerId: {
33
+ type: Number,
34
+ default: 0
31
35
  }
32
36
  },
33
37
  setup(o) {
34
- const t = o, m = s(() => {
35
- var i, r, e, n, c, u, p;
38
+ const t = o, h = s(() => {
39
+ var r, i, e, n, c, u, p;
36
40
  return {
37
41
  height: t.height,
38
42
  width: t.width,
39
43
  footerHeight: "137px",
40
44
  footerPadding: "24px 24px 25px 24px",
41
45
  playerPhotoUrl: k(t.data.player_id || ""),
42
- teamLogoUrl: I(t.data.team_id || "") || "",
46
+ teamLogoUrl: I(t.data.team_id || "", t.providerId) || "",
43
47
  cardColor: t.data.thumbnails.colors.background_color || "#000000",
44
- 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 : ""),
48
+ 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 : ""),
45
49
  textColor: t.data.thumbnails.colors.font_color_description || "#FFFFFF",
46
50
  footerBodyData: {
47
51
  textColor: t.data.thumbnails.colors.font_color_stats || "#FFFFFF",
48
- description: B(T({ data: t.data, descriptionType: t.descriptionType })),
52
+ description: N(B({ data: t.data, descriptionType: t.descriptionType })),
49
53
  total: t.data.footer && t.data.footer.show_percentage == 1 ? t.data.percentage : t.data.total,
50
54
  totalTextColor: t.data.thumbnails.colors.font_color_stats || "#FFFFFF",
51
55
  totalCircleColor: t.data.thumbnails.colors.background_color || "#000000",
@@ -57,22 +61,22 @@ const g = (o) => (F("data-v-6b4e801f"), o = o(), y(), o), E = { class: "onevsone
57
61
  const _ = s(() => ({
58
62
  "--title-color": t.data.thumbnails.colors.font_color_header || "#FFFFFF"
59
63
  }));
60
- return (i, r) => (l(), d("div", {
64
+ return (r, i) => (l(), d("div", {
61
65
  class: "onevsone",
62
- style: f(_.value)
66
+ style: v(_.value)
63
67
  }, [
64
- v(x, b(m.value, {
68
+ b(x, f(h.value, {
65
69
  "show-videos": o.showVideos,
66
70
  "id-aux": o.idAux
67
71
  }), {
68
72
  body: w(() => {
69
73
  var e;
70
74
  return [
71
- a("div", E, [
72
- a("div", P, C(t.data.title.replace(/\*/g, "")), 1),
73
- a("div", z, [
74
- (e = t.data.categories) != null && e.includes(4) ? (l(), d(h, { key: 1 }, [
75
- $,
75
+ a("div", T, [
76
+ a("div", A, C(t.data.title.replace(/\*/g, "")), 1),
77
+ a("div", E, [
78
+ (e = t.data.categories) != null && e.includes(4) ? (l(), d(m, { key: 1 }, [
79
+ D,
76
80
  (l(), d("svg", {
77
81
  width: "12",
78
82
  class: "arrow",
@@ -86,10 +90,10 @@ const g = (o) => (F("data-v-6b4e801f"), o = o(), y(), o), E = { class: "onevsone
86
90
  "clip-rule": "evenodd",
87
91
  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",
88
92
  fill: t.data.thumbnails.colors.icon_color
89
- }, null, 8, D)
90
- ], 8, A))
91
- ], 64)) : (l(), d(h, { key: 0 }, [
92
- H,
93
+ }, null, 8, U)
94
+ ], 8, M))
95
+ ], 64)) : (l(), d(m, { key: 0 }, [
96
+ P,
93
97
  (l(), d("svg", {
94
98
  class: "arrow",
95
99
  width: "12",
@@ -104,7 +108,7 @@ const g = (o) => (F("data-v-6b4e801f"), o = o(), y(), o), E = { class: "onevsone
104
108
  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",
105
109
  fill: t.data.thumbnails.colors.icon_color
106
110
  }, null, 8, V)
107
- ], 8, N))
111
+ ], 8, H))
108
112
  ], 64))
109
113
  ])
110
114
  ])
@@ -114,7 +118,7 @@ const g = (o) => (F("data-v-6b4e801f"), o = o(), y(), o), E = { class: "onevsone
114
118
  }, 16, ["show-videos", "id-aux"])
115
119
  ], 4));
116
120
  }
117
- }, q = /* @__PURE__ */ L(M, [["__scopeId", "data-v-6b4e801f"]]);
121
+ }, O = /* @__PURE__ */ L(Z, [["__scopeId", "data-v-8baaeb2d"]]);
118
122
  export {
119
- q as default
123
+ O as default
120
124
  };