@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,14 +1,14 @@
1
- import { computed as l, openBlock as p, createElementBlock as b, normalizeStyle as h, createVNode as v, mergeProps as y, withCtx as C, createElementVNode as a, toDisplayString as d } from "vue";
2
- import { d as f } from "./CardBaseAllIndividual-D5JoiQqR-70ae8ea1-e2133371.js";
3
- import { h as x, I as w, $ as k, z as T, E as $, T as I, A as S } from "./CardBase-BNBUZGU7-504a5383-8f417cca.js";
4
- import "./index-d1140626.js";
5
- const B = { class: "distance__body__title-sub" }, E = { class: "distance__body__title-sub__title" }, N = { class: "distance__body__title-sub__sub" }, P = { class: "distance__body__data" }, D = { class: "distance__body__data__total" }, H = {
1
+ import { computed as l, openBlock as p, createElementBlock as b, normalizeStyle as h, createVNode as y, mergeProps as g, withCtx as C, createElementVNode as a, toDisplayString as d } from "vue";
2
+ import { d as f } from "./CardBaseAllIndividual-DT-pj1sJ-4e940f7f-bebe425f.js";
3
+ import { _ as x, A as w, z as k, N as I, E as S, I as N, R as T } from "./CardBase-cG4UK8zU-c0829c3b-e94288b0.js";
4
+ import "./index-8e98da8c.js";
5
+ const A = { class: "distance__body__title-sub" }, B = { class: "distance__body__title-sub__title" }, E = { class: "distance__body__title-sub__sub" }, P = { class: "distance__body__data" }, D = { class: "distance__body__data__total" }, V = {
6
6
  width: "106",
7
7
  height: "9",
8
8
  viewBox: "0 0 106 9",
9
9
  fill: "none",
10
10
  xmlns: "http://www.w3.org/2000/svg"
11
- }, V = ["fill"], A = {
11
+ }, $ = ["fill"], H = {
12
12
  __name: "CardIndividualDistance",
13
13
  props: {
14
14
  height: {
@@ -34,6 +34,10 @@ const B = { class: "distance__body__title-sub" }, E = { class: "distance__body__
34
34
  idAux: {
35
35
  type: String,
36
36
  default: ""
37
+ },
38
+ providerId: {
39
+ type: Number,
40
+ default: 0
37
41
  }
38
42
  },
39
43
  setup(i) {
@@ -45,56 +49,56 @@ const B = { class: "distance__body__title-sub" }, E = { class: "distance__body__
45
49
  footerHeight: "113px",
46
50
  playerPhotoPositionTop: "24px",
47
51
  playerPhotoUrl: w(t.data.player_id || ""),
48
- teamLogoUrl: k(t.data.team_id || ""),
52
+ teamLogoUrl: k(t.data.team_id || "", t.providerId),
49
53
  cardColor: (t.data.thumbnails.colors.background_color || "#000000").trim(),
50
- backgroundImageSrc: T((c = (n = (e = (o = t.data) == null ? void 0 : o.thumbnails) == null ? void 0 : e.images) == null ? void 0 : n.background_player_in_action) != null && c[0] ? t.data.thumbnails.images.background_player_in_action[0] : (m = (_ = (u = t.data) == null ? void 0 : u.thumbnails) == null ? void 0 : _.images) != null && m.background_team ? t.data.thumbnails.images.background_team : ""),
54
+ backgroundImageSrc: I((c = (n = (e = (o = t.data) == null ? void 0 : o.thumbnails) == null ? void 0 : e.images) == null ? void 0 : n.background_player_in_action) != null && c[0] ? t.data.thumbnails.images.background_player_in_action[0] : (m = (_ = (u = t.data) == null ? void 0 : u.thumbnails) == null ? void 0 : _.images) != null && m.background_team ? t.data.thumbnails.images.background_team : ""),
51
55
  footerBodyData: {
52
- description: $(I({ data: t.data, descriptionType: t.descriptionType })),
56
+ description: S(N({ data: t.data, descriptionType: t.descriptionType })),
53
57
  textColor: (t.data.thumbnails.colors.font_color_description || "#FFFFFF").trim()
54
58
  }
55
59
  };
56
- }), g = l(() => ({
60
+ }), v = l(() => ({
57
61
  iconColor: (t.data.thumbnails.colors.icon_color || "#FFFFFF").trim(),
58
62
  total: t.data.total,
59
63
  totalCircleColor: (t.data.thumbnails.colors.data_color || "#cbee6b").trim(),
60
64
  totalTextColor: (t.data.thumbnails.colors.font_color_stats || "#FFFFFF").trim()
61
- })), s = l(() => {
62
- const { title: o, subtitle: e } = S(t.data.title);
65
+ })), r = l(() => {
66
+ const { title: o, subtitle: e } = T(t.data.title);
63
67
  return {
64
68
  title: o,
65
69
  subtitle: e
66
70
  };
67
71
  });
68
72
  l(() => t.data.id);
69
- const r = l(() => ({
73
+ const s = l(() => ({
70
74
  "--text-color": (t.data.thumbnails.colors.font_color_stats || "#FFFFFF").trim(),
71
75
  "--data-color": (t.data.thumbnails.colors.background_color || "#000000").trim(),
72
76
  "--title-color": (t.data.thumbnails.colors.font_color_header || "#FFFFFF").trim()
73
77
  }));
74
78
  return (o, e) => (p(), b("div", {
75
79
  class: "distance",
76
- style: h(r.value)
80
+ style: h(s.value)
77
81
  }, [
78
- v(f, y(F.value, {
82
+ y(f, g(F.value, {
79
83
  "show-videos": i.showVideos,
80
84
  "id-aux": i.idAux
81
85
  }), {
82
86
  body: C(() => [
83
87
  a("div", {
84
88
  class: "distance__body",
85
- style: h(r.value)
89
+ style: h(s.value)
86
90
  }, [
87
- a("div", B, [
88
- a("div", E, d(s.value.title), 1),
89
- a("div", N, d(s.value.subtitle), 1)
91
+ a("div", A, [
92
+ a("div", B, d(r.value.title), 1),
93
+ a("div", E, d(r.value.subtitle), 1)
90
94
  ]),
91
95
  a("div", P, [
92
96
  a("div", D, d(Number(t.data.total).toFixed(2)) + " km ", 1),
93
- (p(), b("svg", H, [
97
+ (p(), b("svg", V, [
94
98
  a("path", {
95
99
  d: "M101.016 0.0016293C99.1115 0.0016293 97.4165 1.20163 96.7865 3.00163H8.74649C7.92149 0.661629 5.34149 -0.56837 3.01649 0.25663C0.661489 1.08163 -0.56851 3.66163 0.25649 6.00163C1.09649 8.34163 3.66149 9.57163 6.01649 8.74663C7.29149 8.29663 8.26649 7.27663 8.74649 6.00163H96.8015C97.6265 8.34163 100.206 9.57163 102.516 8.74663C104.886 7.92163 106.116 5.34163 105.291 3.00163C104.646 1.20163 102.936 0.0016293 101.016 0.0016293ZM101.016 6.75163C100.42 6.75163 99.8475 6.51457 99.4255 6.09262C99.0035 5.67066 98.7665 5.09837 98.7665 4.50163C98.7665 3.90489 99.0035 3.3326 99.4255 2.91064C99.8475 2.48868 100.42 2.25163 101.016 2.25163C101.613 2.25163 102.186 2.48868 102.607 2.91064C103.029 3.3326 103.266 3.90489 103.266 4.50163C103.266 5.09837 103.029 5.67066 102.607 6.09262C102.186 6.51457 101.613 6.75163 101.016 6.75163Z",
96
- fill: g.value.iconColor
97
- }, null, 8, V)
100
+ fill: v.value.iconColor
101
+ }, null, 8, $)
98
102
  ]))
99
103
  ])
100
104
  ], 4)
@@ -103,7 +107,7 @@ const B = { class: "distance__body__title-sub" }, E = { class: "distance__body__
103
107
  }, 16, ["show-videos", "id-aux"])
104
108
  ], 4));
105
109
  }
106
- }, j = /* @__PURE__ */ x(A, [["__scopeId", "data-v-0ce15c6e"]]);
110
+ }, Z = /* @__PURE__ */ x(H, [["__scopeId", "data-v-16a01c1f"]]);
107
111
  export {
108
- j as default
112
+ Z as default
109
113
  };
@@ -1,14 +1,14 @@
1
1
  import { computed as s, openBlock as d, createElementBlock as n, normalizeStyle as x, createVNode as F, mergeProps as M, withCtx as I, createElementVNode as e, unref as h, createCommentVNode as b, pushScopeId as B, popScopeId as V } from "vue";
2
- import { d as S } from "./CardBaseAllIndividual-D5JoiQqR-70ae8ea1-e2133371.js";
3
- import { h as $, I as H, $ as Z, z as G, E as U, T as q } from "./CardBase-BNBUZGU7-504a5383-8f417cca.js";
4
- import "./index-d1140626.js";
5
- const o = (i) => (B("data-v-594d0f32"), i = i(), V(), i), A = { class: "fouls__body" }, T = /* @__PURE__ */ o(() => /* @__PURE__ */ e("div", { class: "fouls__body__title" }, " FALTAS RECIBIDAS ", -1)), D = { class: "fouls-svg" }, E = { class: "foul-svg" }, O = {
2
+ import { d as S } from "./CardBaseAllIndividual-DT-pj1sJ-4e940f7f-bebe425f.js";
3
+ import { _ as $, A as H, z as Z, N as A, E as G, I as U } from "./CardBase-cG4UK8zU-c0829c3b-e94288b0.js";
4
+ import "./index-8e98da8c.js";
5
+ const o = (i) => (B("data-v-30ce5317"), i = i(), V(), i), q = { class: "fouls__body" }, N = /* @__PURE__ */ o(() => /* @__PURE__ */ e("div", { class: "fouls__body__title" }, " FALTAS RECIBIDAS ", -1)), T = { class: "fouls-svg" }, D = { class: "foul-svg" }, E = {
6
6
  width: "42",
7
7
  height: "65",
8
8
  viewBox: "0 0 64 65",
9
9
  fill: "none",
10
10
  xmlns: "http://www.w3.org/2000/svg"
11
- }, N = ["clip-path"], P = ["id"], R = /* @__PURE__ */ o(() => /* @__PURE__ */ e("path", {
11
+ }, O = ["clip-path"], P = ["id"], R = /* @__PURE__ */ o(() => /* @__PURE__ */ e("path", {
12
12
  d: "M63.0598 64.0237V1.89869H0.934814V64.0237H63.0598Z",
13
13
  fill: "white",
14
14
  stroke: "white",
@@ -46,7 +46,7 @@ const o = (i) => (B("data-v-594d0f32"), i = i(), V(), i), A = { class: "fouls__b
46
46
  transform: "rotate(-180 211.787 136.084)"
47
47
  }, null, -1)), a1 = [
48
48
  r1
49
- ], i1 = ["stroke", "mask"], s1 = ["stroke"], d1 = ["stroke"], n1 = ["stroke"], u1 = ["stroke"], k1 = ["stroke"], h1 = ["stroke"], f1 = ["fill", "stroke"], c1 = { opacity: "0.7" }, C1 = ["stroke"], p1 = ["stroke"], m1 = ["stroke"], v1 = ["stroke"], L1 = ["stroke"], y1 = ["filter"], w1 = ["fill"], g1 = ["stroke"], _1 = ["id"], x1 = /* @__PURE__ */ o(() => /* @__PURE__ */ e("feFlood", {
49
+ ], i1 = ["stroke", "mask"], s1 = ["stroke"], d1 = ["stroke"], n1 = ["stroke"], u1 = ["stroke"], k1 = ["stroke"], h1 = ["stroke"], f1 = ["fill", "stroke"], c1 = { opacity: "0.7" }, p1 = ["stroke"], C1 = ["stroke"], m1 = ["stroke"], v1 = ["stroke"], L1 = ["stroke"], y1 = ["filter"], w1 = ["fill"], g1 = ["stroke"], _1 = ["id"], x1 = /* @__PURE__ */ o(() => /* @__PURE__ */ e("feFlood", {
50
50
  "flood-opacity": "0",
51
51
  result: "BackgroundImageFix"
52
52
  }, null, -1)), F1 = /* @__PURE__ */ o(() => /* @__PURE__ */ e("feGaussianBlur", {
@@ -90,7 +90,7 @@ const o = (i) => (B("data-v-594d0f32"), i = i(), V(), i), A = { class: "fouls__b
90
90
  transform: "rotate(-180 211.787 136.084)"
91
91
  }, null, -1)), H1 = [
92
92
  $1
93
- ], Z1 = ["stroke", "mask"], G1 = ["stroke"], U1 = ["stroke"], q1 = ["stroke"], A1 = ["stroke"], T1 = ["stroke"], D1 = ["stroke"], E1 = ["fill", "stroke"], O1 = { opacity: "0.7" }, N1 = ["stroke"], P1 = ["stroke"], R1 = ["stroke"], z1 = ["stroke"], j1 = ["stroke"], J1 = ["filter"], K1 = ["fill"], Q1 = ["stroke"], W1 = ["id"], X1 = /* @__PURE__ */ o(() => /* @__PURE__ */ e("feFlood", {
93
+ ], Z1 = ["stroke", "mask"], A1 = ["stroke"], G1 = ["stroke"], U1 = ["stroke"], q1 = ["stroke"], N1 = ["stroke"], T1 = ["stroke"], D1 = ["fill", "stroke"], E1 = { opacity: "0.7" }, O1 = ["stroke"], P1 = ["stroke"], R1 = ["stroke"], z1 = ["stroke"], j1 = ["stroke"], J1 = ["filter"], K1 = ["fill"], Q1 = ["stroke"], W1 = ["id"], X1 = /* @__PURE__ */ o(() => /* @__PURE__ */ e("feFlood", {
94
94
  "flood-opacity": "0",
95
95
  result: "BackgroundImageFix"
96
96
  }, null, -1)), Y1 = /* @__PURE__ */ o(() => /* @__PURE__ */ e("feGaussianBlur", {
@@ -134,7 +134,7 @@ const o = (i) => (B("data-v-594d0f32"), i = i(), V(), i), A = { class: "fouls__b
134
134
  transform: "rotate(-180 211.787 136.084)"
135
135
  }, null, -1)), s8 = [
136
136
  i8
137
- ], d8 = ["stroke", "mask"], n8 = ["stroke"], u8 = ["stroke"], k8 = ["stroke"], h8 = ["stroke"], f8 = ["stroke"], c8 = ["stroke"], C8 = ["fill", "stroke"], p8 = { opacity: "0.7" }, m8 = ["stroke"], v8 = ["stroke"], L8 = ["stroke"], y8 = ["stroke"], w8 = ["stroke"], g8 = ["filter"], _8 = ["fill"], x8 = ["stroke"], F8 = ["id"], M8 = /* @__PURE__ */ o(() => /* @__PURE__ */ e("feFlood", {
137
+ ], d8 = ["stroke", "mask"], n8 = ["stroke"], u8 = ["stroke"], k8 = ["stroke"], h8 = ["stroke"], f8 = ["stroke"], c8 = ["stroke"], p8 = ["fill", "stroke"], C8 = { opacity: "0.7" }, m8 = ["stroke"], v8 = ["stroke"], L8 = ["stroke"], y8 = ["stroke"], w8 = ["stroke"], g8 = ["filter"], _8 = ["fill"], x8 = ["stroke"], F8 = ["id"], M8 = /* @__PURE__ */ o(() => /* @__PURE__ */ e("feFlood", {
138
138
  "flood-opacity": "0",
139
139
  result: "BackgroundImageFix"
140
140
  }, null, -1)), I8 = /* @__PURE__ */ o(() => /* @__PURE__ */ e("feGaussianBlur", {
@@ -180,6 +180,10 @@ const o = (i) => (B("data-v-594d0f32"), i = i(), V(), i), A = { class: "fouls__b
180
180
  idAux: {
181
181
  type: String,
182
182
  default: ""
183
+ },
184
+ providerId: {
185
+ type: Number,
186
+ default: 0
183
187
  }
184
188
  },
185
189
  setup(i) {
@@ -199,18 +203,18 @@ const o = (i) => (B("data-v-594d0f32"), i = i(), V(), i), A = { class: "fouls__b
199
203
  "54-i",
200
204
  "20-e"
201
205
  ]), g = s(() => {
202
- var u, k, f, c, C, p, m;
206
+ var u, k, f, c, p, C, m;
203
207
  const v = t.data.footer.show_percentage;
204
208
  return {
205
209
  height: t.height,
206
210
  width: t.width,
207
211
  footerHeight: "137px",
208
212
  playerPhotoUrl: H(t.data.player_id || ""),
209
- teamLogoUrl: Z(t.data.team_id || ""),
213
+ teamLogoUrl: Z(t.data.team_id || "", t.providerId),
210
214
  cardColor: (t.data.thumbnails.colors.background_color || "#000000").trim(),
211
- backgroundImageSrc: G((c = (f = (k = (u = t.data) == null ? void 0 : u.thumbnails) == null ? void 0 : k.images) == null ? void 0 : f.background_player_in_action) != null && c[0] ? t.data.thumbnails.images.background_player_in_action[0] : (m = (p = (C = t.data) == null ? void 0 : C.thumbnails) == null ? void 0 : p.images) != null && m.background_team ? t.data.thumbnails.images.background_team : ""),
215
+ backgroundImageSrc: A((c = (f = (k = (u = t.data) == null ? void 0 : u.thumbnails) == null ? void 0 : k.images) == null ? void 0 : f.background_player_in_action) != null && c[0] ? t.data.thumbnails.images.background_player_in_action[0] : (m = (C = (p = t.data) == null ? void 0 : p.thumbnails) == null ? void 0 : C.images) != null && m.background_team ? t.data.thumbnails.images.background_team : ""),
212
216
  footerBodyData: {
213
- description: U(q({ data: t.data, descriptionType: t.descriptionType })),
217
+ description: G(U({ data: t.data, descriptionType: t.descriptionType })),
214
218
  total: v ? t.data.percentage : t.data.total,
215
219
  isTotalPercentage: v,
216
220
  textColor: (t.data.thumbnails.colors.font_color_description || "#FFFFFF").trim(),
@@ -244,11 +248,11 @@ const o = (i) => (B("data-v-594d0f32"), i = i(), V(), i), A = { class: "fouls__b
244
248
  "id-aux": i.idAux
245
249
  }), {
246
250
  body: I(() => [
247
- e("div", A, [
248
- T,
249
- e("div", D, [
250
- e("div", E, [
251
- (d(), n("svg", O, [
251
+ e("div", q, [
252
+ N,
253
+ e("div", T, [
254
+ e("div", D, [
255
+ (d(), n("svg", E, [
252
256
  e("g", {
253
257
  "clip-path": `url(#${r.value.maskId8})`
254
258
  }, [
@@ -291,7 +295,7 @@ const o = (i) => (B("data-v-594d0f32"), i = i(), V(), i), A = { class: "fouls__b
291
295
  fill: l.value.fieldLineColor
292
296
  }, null, 8, W)
293
297
  ], 8, j)
294
- ], 8, N),
298
+ ], 8, O),
295
299
  e("defs", null, [
296
300
  e("clipPath", {
297
301
  id: r.value.maskId8
@@ -366,13 +370,13 @@ const o = (i) => (B("data-v-594d0f32"), i = i(), V(), i), A = { class: "fouls__b
366
370
  stroke: l.value.fieldLineColor,
367
371
  "stroke-width": "0.523385",
368
372
  "stroke-dasharray": "1.05 1.05"
369
- }, null, 8, C1),
373
+ }, null, 8, p1),
370
374
  e("path", {
371
375
  d: "M105.342 136.08L105.342 7.43866e-05",
372
376
  stroke: l.value.fieldLineColor,
373
377
  "stroke-width": "0.523385",
374
378
  "stroke-dasharray": "1.05 1.05"
375
- }, null, 8, p1),
379
+ }, null, 8, C1),
376
380
  e("path", {
377
381
  d: "M158.007 136.08L158.007 7.43866e-05",
378
382
  stroke: l.value.fieldLineColor,
@@ -448,35 +452,35 @@ const o = (i) => (B("data-v-594d0f32"), i = i(), V(), i), A = { class: "fouls__b
448
452
  stroke: l.value.fieldLineColor,
449
453
  "stroke-width": "0.450603",
450
454
  "stroke-linecap": "square"
451
- }, null, 8, G1),
455
+ }, null, 8, A1),
452
456
  e("path", {
453
457
  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",
454
458
  stroke: l.value.fieldLineColor,
455
459
  "stroke-opacity": "0.7"
456
- }, null, 8, U1),
460
+ }, null, 8, G1),
457
461
  e("path", {
458
462
  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",
459
463
  stroke: l.value.fieldLineColor,
460
464
  "stroke-opacity": "0.7"
461
- }, null, 8, q1),
465
+ }, null, 8, U1),
462
466
  e("path", {
463
467
  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",
464
468
  stroke: l.value.fieldLineColor,
465
469
  "stroke-opacity": "0.6",
466
470
  "stroke-linecap": "square"
467
- }, null, 8, A1),
471
+ }, null, 8, q1),
468
472
  e("path", {
469
473
  d: "M0.641875 100.683L28.4544 100.683C28.7941 100.683 29.0689 100.406 29.0672 100.067L28.7428 36.146C28.7411 35.8088 28.4673 35.5363 28.1301 35.5363L1.13309 35.5363",
470
474
  stroke: l.value.fieldLineColor,
471
475
  "stroke-opacity": "0.6",
472
476
  "stroke-linecap": "square"
473
- }, null, 8, T1),
477
+ }, null, 8, N1),
474
478
  e("path", {
475
479
  d: "M71.8618 68.1112C71.8618 49.3798 87.0472 34.1949 105.779 34.1949C124.511 34.1949 139.697 49.3798 139.697 68.1112C139.697 86.8427 124.511 102.028 105.779 102.028C87.0472 102.028 71.8618 86.8427 71.8618 68.1112Z",
476
480
  stroke: l.value.fieldLineColor,
477
481
  "stroke-opacity": "0.7",
478
482
  "stroke-width": "1.16503"
479
- }, null, 8, D1),
483
+ }, null, 8, T1),
480
484
  e("ellipse", {
481
485
  cx: "105.788",
482
486
  cy: "68.1162",
@@ -486,14 +490,14 @@ const o = (i) => (B("data-v-594d0f32"), i = i(), V(), i), A = { class: "fouls__b
486
490
  fill: l.value.fieldLineColor,
487
491
  stroke: l.value.fieldLineColor,
488
492
  "stroke-width": "0.450603"
489
- }, null, 8, E1),
490
- e("g", O1, [
493
+ }, null, 8, D1),
494
+ e("g", E1, [
491
495
  e("path", {
492
496
  d: "M52.6768 136.08L52.6768 7.43866e-05",
493
497
  stroke: l.value.fieldLineColor,
494
498
  "stroke-width": "0.523385",
495
499
  "stroke-dasharray": "1.05 1.05"
496
- }, null, 8, N1),
500
+ }, null, 8, O1),
497
501
  e("path", {
498
502
  d: "M105.342 136.08L105.342 7.43866e-05",
499
503
  stroke: l.value.fieldLineColor,
@@ -613,8 +617,8 @@ const o = (i) => (B("data-v-594d0f32"), i = i(), V(), i), A = { class: "fouls__b
613
617
  fill: l.value.fieldLineColor,
614
618
  stroke: l.value.fieldLineColor,
615
619
  "stroke-width": "0.450603"
616
- }, null, 8, C8),
617
- e("g", p8, [
620
+ }, null, 8, p8),
621
+ e("g", C8, [
618
622
  e("path", {
619
623
  d: "M52.6768 136.08L52.6768 7.43866e-05",
620
624
  stroke: l.value.fieldLineColor,
@@ -688,7 +692,7 @@ const o = (i) => (B("data-v-594d0f32"), i = i(), V(), i), A = { class: "fouls__b
688
692
  }, 16, ["show-videos", "id-aux"])
689
693
  ], 4));
690
694
  }
691
- }, U8 = /* @__PURE__ */ $(S8, [["__scopeId", "data-v-594d0f32"]]);
695
+ }, G8 = /* @__PURE__ */ $(S8, [["__scopeId", "data-v-30ce5317"]]);
692
696
  export {
693
- U8 as default
697
+ G8 as default
694
698
  };
@@ -1,20 +1,20 @@
1
- import { computed as i, openBlock as r, createElementBlock as d, normalizeStyle as h, createVNode as g, mergeProps as F, withCtx as b, createElementVNode as e, toDisplayString as y, pushScopeId as f, popScopeId as w } from "vue";
2
- import { d as x, S as k } from "./CardBaseAllIndividual-D5JoiQqR-70ae8ea1-e2133371.js";
3
- import { h as C, I as z, $ as S, z as I, E as T, T as M } from "./CardBase-BNBUZGU7-504a5383-8f417cca.js";
4
- import "./index-d1140626.js";
5
- const P = (a) => (f("data-v-c225587e"), a = a(), w(), a), $ = { class: "goal-participation__body__data" }, B = {
1
+ import { computed as i, openBlock as r, createElementBlock as d, normalizeStyle as h, createVNode as g, mergeProps as b, withCtx as y, createElementVNode as e, toDisplayString as F, pushScopeId as f, popScopeId as w } from "vue";
2
+ import { d as x, S as k } from "./CardBaseAllIndividual-DT-pj1sJ-4e940f7f-bebe425f.js";
3
+ import { _ as C, A as z, z as S, N as I, E as T, I as M } from "./CardBase-cG4UK8zU-c0829c3b-e94288b0.js";
4
+ import "./index-8e98da8c.js";
5
+ const N = (a) => (f("data-v-15e44532"), a = a(), w(), a), P = { class: "goal-participation__body__data" }, A = {
6
6
  width: "35",
7
7
  height: "47",
8
8
  viewBox: "0 0 35 47",
9
9
  fill: "none",
10
10
  xmlns: "http://www.w3.org/2000/svg"
11
- }, E = ["fill"], V = ["stroke"], L = {
11
+ }, B = ["fill"], E = ["stroke"], V = {
12
12
  key: 0,
13
13
  class: "goal-participation__body__data__percent"
14
- }, N = {
14
+ }, L = {
15
15
  key: 1,
16
16
  class: "goal-participation__body__data__total"
17
- }, A = /* @__PURE__ */ P(() => /* @__PURE__ */ e("div", { class: "goal-participation__body__title" }, " participaciones de gol ", -1)), D = {
17
+ }, $ = /* @__PURE__ */ N(() => /* @__PURE__ */ e("div", { class: "goal-participation__body__title" }, " participaciones de gol ", -1)), D = {
18
18
  __name: "CardIndividualGoalParticipation",
19
19
  props: {
20
20
  height: {
@@ -40,19 +40,23 @@ const P = (a) => (f("data-v-c225587e"), a = a(), w(), a), $ = { class: "goal-par
40
40
  idAux: {
41
41
  type: String,
42
42
  default: ""
43
+ },
44
+ providerId: {
45
+ type: Number,
46
+ default: 0
43
47
  }
44
48
  },
45
49
  setup(a) {
46
50
  const t = a, v = i(() => {
47
- var l, n, s, p, u, _, m;
51
+ var l, n, c, p, u, _, m;
48
52
  return {
49
53
  height: t.height,
50
54
  width: t.width,
51
55
  footerHeight: "137px",
52
56
  playerPhotoUrl: z(t.data.player_id || ""),
53
- teamLogoUrl: S(t.data.team_id || ""),
57
+ teamLogoUrl: S(t.data.team_id || "", t.providerId),
54
58
  cardColor: (t.data.thumbnails.colors.background_color || "#000000").trim(),
55
- backgroundImageSrc: I((p = (s = (n = (l = t.data) == null ? void 0 : l.thumbnails) == null ? void 0 : n.images) == null ? void 0 : s.background_player_in_action) != null && p[0] ? t.data.thumbnails.images.background_player_in_action[0] : (m = (_ = (u = t.data) == null ? void 0 : u.thumbnails) == null ? void 0 : _.images) != null && m.background_team ? t.data.thumbnails.images.background_team : ""),
59
+ backgroundImageSrc: I((p = (c = (n = (l = t.data) == null ? void 0 : l.thumbnails) == null ? void 0 : n.images) == null ? void 0 : c.background_player_in_action) != null && p[0] ? t.data.thumbnails.images.background_player_in_action[0] : (m = (_ = (u = t.data) == null ? void 0 : u.thumbnails) == null ? void 0 : _.images) != null && m.background_team ? t.data.thumbnails.images.background_team : ""),
56
60
  footerBodyData: {
57
61
  description: T(M({ data: t.data, descriptionType: t.descriptionType })),
58
62
  textColor: (t.data.thumbnails.colors.font_color_description || "#FFFFFF").trim()
@@ -71,54 +75,54 @@ const P = (a) => (f("data-v-c225587e"), a = a(), w(), a), $ = { class: "goal-par
71
75
  };
72
76
  });
73
77
  i(() => t.data.id);
74
- const c = i(() => ({
78
+ const s = i(() => ({
75
79
  "--title-color": (t.data.thumbnails.colors.font_color_header || "#FFFFFF").trim(),
76
80
  "--total-color": (t.data.thumbnails.colors.font_color_stats || "#FFFFFF").trim()
77
81
  }));
78
82
  return (l, n) => (r(), d("div", {
79
83
  class: "goal-participation",
80
- style: h(c.value)
84
+ style: h(s.value)
81
85
  }, [
82
- g(x, F(v.value, {
86
+ g(x, b(v.value, {
83
87
  "show-videos": a.showVideos,
84
88
  "id-aux": a.idAux
85
89
  }), {
86
- body: b(() => [
90
+ body: y(() => [
87
91
  e("div", {
88
92
  class: "goal-participation__body",
89
- style: h(c.value)
93
+ style: h(s.value)
90
94
  }, [
91
- e("div", $, [
92
- (r(), d("svg", B, [
95
+ e("div", P, [
96
+ (r(), d("svg", A, [
93
97
  e("path", {
94
98
  d: "M4.159 42.568a2.667 2.667 0 1 0 5.333 0 2.667 2.667 0 0 0-5.333 0zM29.72 26.235l.29.407.563-.402-.557-.409-.296.404zM1.728 7.642a2.667 2.667 0 1 0 5.333 0 2.667 2.667 0 0 0-5.333 0zm5.388 35.333L30.012 26.64l-.581-.814L6.535 42.161l.58.814zM30.017 25.83 4.69 7.24l-.591.806 25.326 18.593.592-.807z",
95
99
  fill: o.value.iconColor
96
- }, null, 8, E),
100
+ }, null, 8, B),
97
101
  e("path", {
98
102
  opacity: ".5",
99
103
  d: "M9.217 26.157a2.188 2.188 0 1 1-4.375 0 2.188 2.188 0 0 1 4.375 0zM30.158 9.9a2.187 2.187 0 1 1-4.375 0 2.187 2.187 0 0 1 4.375 0zM30.158 43.1a2.188 2.188 0 1 1-4.375 0 2.188 2.188 0 0 1 4.375 0z",
100
104
  stroke: o.value.iconColor,
101
105
  "stroke-width": "1.458"
102
- }, null, 8, V)
106
+ }, null, 8, E)
103
107
  ])),
104
- o.value.isTotalPercentage ? (r(), d("div", L, [
108
+ o.value.isTotalPercentage ? (r(), d("div", V, [
105
109
  g(k, {
106
110
  "text-color": o.value.totalTextColor,
107
111
  color: o.value.totalCircleColor,
108
112
  value: o.value.total
109
113
  }, null, 8, ["text-color", "color", "value"])
110
- ])) : (r(), d("div", N, [
111
- e("div", null, y(t.data.total), 1)
114
+ ])) : (r(), d("div", L, [
115
+ e("div", null, F(t.data.total), 1)
112
116
  ]))
113
117
  ]),
114
- A
118
+ $
115
119
  ], 4)
116
120
  ]),
117
121
  _: 1
118
122
  }, 16, ["show-videos", "id-aux"])
119
123
  ], 4));
120
124
  }
121
- }, O = /* @__PURE__ */ C(D, [["__scopeId", "data-v-c225587e"]]);
125
+ }, O = /* @__PURE__ */ C(D, [["__scopeId", "data-v-15e44532"]]);
122
126
  export {
123
127
  O as default
124
128
  };