@golstats/gsc-table-scrollable 1.0.19 → 1.0.20

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.
@@ -1,19 +1,19 @@
1
- import { useCssVars as vt, ref as m, computed as O, watch as F, createElementBlock as r, openBlock as a, normalizeClass as x, createElementVNode as t, createCommentVNode as S, normalizeStyle as B, Fragment as P, toDisplayString as g, pushScopeId as U, popScopeId as q, onMounted as ht, renderList as j, onBeforeUnmount as Lt, createVNode as rt, createBlock as dt, Transition as Mt, withCtx as $t, withDirectives as Bt, createTextVNode as V, vShow as Et, unref as ct } from "vue";
2
- const Rt = (s, f) => {
3
- const i = s.__vccOpts || s;
1
+ import { useCssVars as vt, ref as m, computed as O, watch as F, createElementBlock as r, openBlock as a, normalizeClass as x, createElementVNode as t, createCommentVNode as S, normalizeStyle as B, Fragment as P, toDisplayString as g, pushScopeId as q, popScopeId as U, onMounted as ht, renderList as W, onBeforeUnmount as Lt, createVNode as rt, createBlock as dt, Transition as Mt, withCtx as $t, withDirectives as Bt, createTextVNode as V, vShow as Et, unref as ct, nextTick as Rt } from "vue";
2
+ const Tt = (s, f) => {
3
+ const l = s.__vccOpts || s;
4
4
  for (const [v, C] of f)
5
- i[v] = C;
6
- return i;
7
- }, Tt = { key: 1 }, Pt = {
5
+ l[v] = C;
6
+ return l;
7
+ }, Pt = { key: 1 }, It = {
8
8
  width: "10",
9
9
  height: "8",
10
10
  viewBox: "0 0 10 8",
11
11
  fill: "none",
12
12
  xmlns: "http://www.w3.org/2000/svg"
13
- }, It = ["fill"], Ot = {
13
+ }, Ot = ["fill"], Dt = {
14
14
  key: 0,
15
15
  class: "checkbox__teams"
16
- }, Dt = { class: "checkbox__teams__logo" }, Vt = ["src"], Ft = { class: "checkbox__teams__logo" }, zt = ["src"], At = {
16
+ }, Vt = { class: "checkbox__teams__logo" }, Ft = ["src"], zt = { class: "checkbox__teams__logo" }, At = ["src"], jt = {
17
17
  __name: "GSC-Checkbox",
18
18
  props: {
19
19
  width: {
@@ -123,46 +123,46 @@ const Rt = (s, f) => {
123
123
  },
124
124
  emits: ["update:modelValue"],
125
125
  setup(s, { emit: f }) {
126
- const i = s;
126
+ const l = s;
127
127
  vt((_) => ({
128
128
  "7bd9d47b": s.width,
129
129
  "34dc7ddc": s.height
130
130
  }));
131
131
  const v = m(!1), C = O(() => {
132
132
  const _ = {
133
- color: i.boxValueColor,
134
- "font-family": i.fontFamily,
135
- height: i.boxWidthAndHeight,
136
- width: i.boxWidthAndHeight,
137
- minWidth: i.boxWidthAndHeight,
138
- "border-radius": i.boxBorderRadius,
139
- "margin-top": i.boxMarginTop
133
+ color: l.boxValueColor,
134
+ "font-family": l.fontFamily,
135
+ height: l.boxWidthAndHeight,
136
+ width: l.boxWidthAndHeight,
137
+ minWidth: l.boxWidthAndHeight,
138
+ "border-radius": l.boxBorderRadius,
139
+ "margin-top": l.boxMarginTop
140
140
  };
141
- return v.value ? (_["background-color"] = i.boxBackgroundColor, _.border = `solid ${i.boxBorderWidth} ${i.boxBackgroundColor}`) : _.border = `solid ${i.boxBorderWidth} ${i.boxBorderColor}`, _;
141
+ return v.value ? (_["background-color"] = l.boxBackgroundColor, _.border = `solid ${l.boxBorderWidth} ${l.boxBackgroundColor}`) : _.border = `solid ${l.boxBorderWidth} ${l.boxBorderColor}`, _;
142
142
  }), h = O(() => ({
143
- "font-family": i.boxValueFontFamily,
144
- "font-size": i.boxValueFontSize,
145
- color: i.boxValueColor,
143
+ "font-family": l.boxValueFontFamily,
144
+ "font-size": l.boxValueFontSize,
145
+ color: l.boxValueColor,
146
146
  "line-height": 1
147
147
  })), L = O(() => {
148
148
  const _ = {
149
- color: i.labelColor,
150
- "font-family": i.fontFamily,
151
- "font-size": i.labelFontSize,
152
- "white-space": i.labelWhiteSpace,
153
- "text-align": i.boxPosition === "top" || i.boxPosition === "bottom" ? "center" : i.boxPosition
149
+ color: l.labelColor,
150
+ "font-family": l.fontFamily,
151
+ "font-size": l.labelFontSize,
152
+ "white-space": l.labelWhiteSpace,
153
+ "text-align": l.boxPosition === "top" || l.boxPosition === "bottom" ? "center" : l.boxPosition
154
154
  };
155
- return (i.boxPosition === "left" || i.boxPosition === "right") && (_[`margin-${i.boxPosition}`] = i.isBoxOnly ? "0" : i.teamsIds ? "8px" : "10px"), _;
155
+ return (l.boxPosition === "left" || l.boxPosition === "right") && (_[`margin-${l.boxPosition}`] = l.isBoxOnly ? "0" : l.teamsIds ? "8px" : "10px"), _;
156
156
  });
157
157
  F(
158
- () => i.modelValue,
158
+ () => l.modelValue,
159
159
  (_) => {
160
160
  _ !== v.value && (v.value = _);
161
161
  },
162
162
  { immediate: !0 }
163
163
  );
164
164
  function E() {
165
- i.avoidInteraction || !v.value && i.avoidToCheck || (v.value = !v.value, f("update:modelValue", v.value));
165
+ l.avoidInteraction || !v.value && l.avoidToCheck || (v.value = !v.value, f("update:modelValue", v.value));
166
166
  }
167
167
  function u(_) {
168
168
  return `${{}.TEAM_LOGOS_URL || "https://golstatsimages.blob.core.windows.net/teams-80/"}${_}.png`;
@@ -176,32 +176,32 @@ const Rt = (s, f) => {
176
176
  style: B(C.value)
177
177
  }, [
178
178
  v.value ? (a(), r(P, { key: 0 }, [
179
- i.boxValue ? (a(), r("div", {
179
+ l.boxValue ? (a(), r("div", {
180
180
  key: 0,
181
181
  class: "checkbox__box__value",
182
182
  style: B(h.value)
183
- }, g(s.boxValue), 5)) : (a(), r("div", Tt, [
184
- (a(), r("svg", Pt, [
183
+ }, g(s.boxValue), 5)) : (a(), r("div", Pt, [
184
+ (a(), r("svg", It, [
185
185
  t("path", {
186
186
  d: "M9.77994 1.70133L4.10994 7.37133C3.96994 7.51133 3.77994 7.59133 3.57994 7.59133C3.37994 7.59133 3.18994 7.51133 3.04994 7.37133L0.219941 4.54133C-0.0700586 4.25133 -0.0700586 3.77133 0.219941 3.48133C0.509941 3.19133 0.989941 3.19133 1.27994 3.48133L3.57994 5.78133L8.71994 0.641328C9.00994 0.351328 9.48994 0.351328 9.77994 0.641328C10.0699 0.931328 10.0699 1.40133 9.77994 1.70133Z",
187
187
  fill: s.boxValueColor
188
- }, null, 8, It)
188
+ }, null, 8, Ot)
189
189
  ]))
190
190
  ]))
191
191
  ], 64)) : S("", !0)
192
192
  ], 4),
193
- s.teamsIds && s.teamsIds.length ? (a(), r("div", Ot, [
194
- t("div", Dt, [
193
+ s.teamsIds && s.teamsIds.length ? (a(), r("div", Dt, [
194
+ t("div", Vt, [
195
195
  t("img", {
196
196
  src: u(s.teamsIds[0]),
197
197
  alt: ""
198
- }, null, 8, Vt)
198
+ }, null, 8, Ft)
199
199
  ]),
200
- t("div", Ft, [
200
+ t("div", zt, [
201
201
  t("img", {
202
202
  src: u(s.teamsIds[1]),
203
203
  alt: ""
204
- }, null, 8, zt)
204
+ }, null, 8, At)
205
205
  ])
206
206
  ])) : S("", !0),
207
207
  t("div", {
@@ -210,11 +210,11 @@ const Rt = (s, f) => {
210
210
  }, g(s.label), 5)
211
211
  ], 2));
212
212
  }
213
- }, jt = /* @__PURE__ */ Rt(At, [["__scopeId", "data-v-b6f124d8"]]), Wt = (s, f) => {
214
- const i = s.__vccOpts || s;
213
+ }, Wt = /* @__PURE__ */ Tt(jt, [["__scopeId", "data-v-b6f124d8"]]), Zt = (s, f) => {
214
+ const l = s.__vccOpts || s;
215
215
  for (const [v, C] of f)
216
- i[v] = C;
217
- return i;
216
+ l[v] = C;
217
+ return l;
218
218
  }, J = {
219
219
  props: {
220
220
  type: { type: Number, default: 0 },
@@ -307,57 +307,57 @@ const Rt = (s, f) => {
307
307
  }));
308
308
  }, ft = J.setup;
309
309
  J.setup = ft ? (s, f) => (ut(), ft(s, f)) : ut;
310
- const Zt = (s) => (U("data-v-f3ee6b2b"), s = s(), q(), s), Ht = ["src"], Gt = {
310
+ const Ht = (s) => (q("data-v-f3ee6b2b"), s = s(), U(), s), Gt = ["src"], Nt = {
311
311
  key: 1,
312
312
  class: "text"
313
- }, Nt = ["src"], Ut = { class: "stats" }, qt = /* @__PURE__ */ Zt(() => /* @__PURE__ */ t("img", {
313
+ }, qt = ["src"], Ut = { class: "stats" }, Jt = /* @__PURE__ */ Ht(() => /* @__PURE__ */ t("img", {
314
314
  class: "iconstats",
315
315
  src: "https://golstatsimages.blob.core.windows.net/todoelfut/playdes.png"
316
- }, null, -1)), Jt = { class: "numstats" }, Xt = { class: "leyend" };
317
- function Kt(s, f, i, v, C, h) {
316
+ }, null, -1)), Xt = { class: "numstats" }, Kt = { class: "leyend" };
317
+ function Qt(s, f, l, v, C, h) {
318
318
  return a(), r("div", null, [
319
- i.type == 0 ? (a(), r("div", {
319
+ l.type == 0 ? (a(), r("div", {
320
320
  key: 0,
321
- class: x(["button", C.status && i.typeOnOff && "button-active"]),
322
- style: B([h.customStyle, C.status && i.typeOnOff && h.customActive]),
321
+ class: x(["button", C.status && l.typeOnOff && "button-active"]),
322
+ style: B([h.customStyle, C.status && l.typeOnOff && h.customActive]),
323
323
  onClick: f[0] || (f[0] = (...L) => h.btnClick && h.btnClick(...L))
324
324
  }, [
325
- i.icon && i.iconPosition.toLowerCase() === "left" ? (a(), r("img", {
325
+ l.icon && l.iconPosition.toLowerCase() === "left" ? (a(), r("img", {
326
326
  key: 0,
327
327
  class: "icon",
328
- style: B({ width: i.iconSize }),
329
- src: i.icon
330
- }, null, 12, Ht)) : S("", !0),
331
- i.textValue ? (a(), r("div", Gt, g(i.textValue), 1)) : S("", !0),
332
- i.icon && i.iconPosition.toLowerCase() === "right" ? (a(), r("img", {
328
+ style: B({ width: l.iconSize }),
329
+ src: l.icon
330
+ }, null, 12, Gt)) : S("", !0),
331
+ l.textValue ? (a(), r("div", Nt, g(l.textValue), 1)) : S("", !0),
332
+ l.icon && l.iconPosition.toLowerCase() === "right" ? (a(), r("img", {
333
333
  key: 2,
334
334
  class: "icon",
335
- style: B({ width: i.iconSize }),
336
- src: i.icon
337
- }, null, 12, Nt)) : S("", !0)
335
+ style: B({ width: l.iconSize }),
336
+ src: l.icon
337
+ }, null, 12, qt)) : S("", !0)
338
338
  ], 6)) : S("", !0),
339
- i.type == 1 ? (a(), r("div", {
339
+ l.type == 1 ? (a(), r("div", {
340
340
  key: 1,
341
341
  class: "button-target",
342
342
  onClick: f[1] || (f[1] = (...L) => h.btnClick && h.btnClick(...L))
343
343
  }, [
344
344
  t("div", Ut, [
345
- qt,
346
- t("div", Jt, g(i.textStat), 1)
345
+ Jt,
346
+ t("div", Xt, g(l.textStat), 1)
347
347
  ]),
348
- t("div", Xt, g(i.textCategory), 1)
348
+ t("div", Kt, g(l.textCategory), 1)
349
349
  ])) : S("", !0)
350
350
  ]);
351
351
  }
352
- const Qt = /* @__PURE__ */ Wt(J, [["render", Kt], ["__scopeId", "data-v-f3ee6b2b"]]), pt = (s, f) => {
353
- const i = s.__vccOpts || s;
352
+ const Yt = /* @__PURE__ */ Zt(J, [["render", Qt], ["__scopeId", "data-v-f3ee6b2b"]]), pt = (s, f) => {
353
+ const l = s.__vccOpts || s;
354
354
  for (const [v, C] of f)
355
- i[v] = C;
356
- return i;
357
- }, X = (s) => (U("data-v-df83603b"), s = s(), q(), s), Yt = {
355
+ l[v] = C;
356
+ return l;
357
+ }, X = (s) => (q("data-v-df83603b"), s = s(), U(), s), te = {
358
358
  key: 0,
359
359
  class: "overlay"
360
- }, te = ["onClick"], ee = /* @__PURE__ */ X(() => /* @__PURE__ */ t("svg", {
360
+ }, ee = ["onClick"], oe = /* @__PURE__ */ X(() => /* @__PURE__ */ t("svg", {
361
361
  width: "11",
362
362
  height: "12",
363
363
  viewBox: "0 0 11 12",
@@ -368,9 +368,9 @@ const Qt = /* @__PURE__ */ Wt(J, [["render", Kt], ["__scopeId", "data-v-f3ee6b2b
368
368
  d: "M7.50558 0C6.78112 0 6.10558 0.475441 5.89478 1.14401L1.21987 1.14286C0.904267 1.14286 0.648438 1.39886 0.648438 1.71429C0.648438 2.02972 0.904267 2.28572 1.21987 2.28572L5.89478 2.28516C6.15083 2.98516 6.78112 3.42858 7.50558 3.42858C8.23004 3.42858 8.86678 2.98402 9.1273 2.28059L10.3627 2.28572C10.6783 2.28572 10.9342 2.02972 10.9342 1.71429C10.9342 1.39886 10.6783 1.14286 10.3627 1.14286H9.12244C8.8473 0.446287 8.23004 0 7.50558 0ZM7.50558 1.14286C7.82118 1.14286 8.07701 1.39886 8.07701 1.71429C8.07701 2.02972 7.82118 2.28572 7.50558 2.28572C7.18998 2.28572 6.93415 2.02972 6.93415 1.71429C6.93415 1.39886 7.18998 1.14286 7.50558 1.14286ZM4.07701 4.28572C3.32387 4.28572 2.69347 4.7543 2.4633 5.42971C2.38295 5.43485 1.21987 5.42856 1.21987 5.42856C0.904267 5.42856 0.648438 5.68456 0.648438 5.99999C0.648438 6.31542 0.904267 6.57142 1.21987 6.57142C1.21987 6.57142 2.39267 6.55942 2.46575 6.56685C2.69593 7.24228 3.32387 7.71428 4.07701 7.71428C4.80146 7.71428 5.42226 7.27028 5.69381 6.57314L10.3627 6.57142C10.6783 6.57142 10.9342 6.31542 10.9342 5.99999C10.9342 5.68456 10.6783 5.42856 10.3627 5.42856L5.69083 5.42348C5.44038 4.74174 4.80146 4.28572 4.07701 4.28572ZM4.07701 5.42856C4.39261 5.42856 4.64844 5.68456 4.64844 5.99999C4.64844 6.31542 4.39261 6.57142 4.07701 6.57142C3.76141 6.57142 3.50558 6.31542 3.50558 5.99999C3.50558 5.68456 3.76141 5.42856 4.07701 5.42856ZM7.50558 8.57142C6.78112 8.57142 6.11844 9.04857 5.89438 9.70857L1.21987 9.71428C0.904267 9.71428 0.648438 9.97028 0.648438 10.2857C0.648438 10.6011 0.904267 10.8571 1.21987 10.8571L5.88592 10.8577C6.12301 11.5349 6.78112 12 7.50558 12C8.23004 12 8.85467 11.5469 9.12987 10.8577L10.3627 10.8571C10.6783 10.8571 10.9342 10.6011 10.9342 10.2857C10.9342 9.97028 10.6783 9.71428 10.3627 9.71428L9.12467 9.71091C8.87798 9.03491 8.23004 8.57142 7.50558 8.57142ZM7.50558 9.71428C7.82118 9.71428 8.07701 9.97028 8.07701 10.2857C8.07701 10.6011 7.82118 10.8571 7.50558 10.8571C7.18998 10.8571 6.93415 10.6011 6.93415 10.2857C6.93415 9.97028 7.18998 9.71428 7.50558 9.71428Z",
369
369
  fill: "white"
370
370
  })
371
- ], -1)), oe = [
372
- ee
373
- ], se = { class: "name" }, ie = ["onClick"], le = /* @__PURE__ */ X(() => /* @__PURE__ */ t("g", {
371
+ ], -1)), se = [
372
+ oe
373
+ ], le = { class: "name" }, ie = ["onClick"], ne = /* @__PURE__ */ X(() => /* @__PURE__ */ t("g", {
374
374
  opacity: ".5",
375
375
  stroke: "#fff",
376
376
  "stroke-width": "1.677",
@@ -378,9 +378,9 @@ const Qt = /* @__PURE__ */ Wt(J, [["render", Kt], ["__scopeId", "data-v-f3ee6b2b
378
378
  "stroke-linejoin": "round"
379
379
  }, [
380
380
  /* @__PURE__ */ t("path", { d: "M4.532 2.13v13.74M8.202 12.2l-3.67 3.669-3.669-3.67M12.919 15.87V2.132M16.589 5.802l-3.67-3.67-3.669 3.67" })
381
- ], -1)), ne = [
382
- le
383
- ], ae = /* @__PURE__ */ X(() => /* @__PURE__ */ t("div", { class: "column-title-2" }, null, -1)), re = ["onClick"], de = {
381
+ ], -1)), ae = [
382
+ ne
383
+ ], re = /* @__PURE__ */ X(() => /* @__PURE__ */ t("div", { class: "column-title-2" }, null, -1)), de = ["onClick"], ce = {
384
384
  __name: "ScrollColumns",
385
385
  props: {
386
386
  availablePlayers: {
@@ -393,7 +393,7 @@ const Qt = /* @__PURE__ */ Wt(J, [["render", Kt], ["__scopeId", "data-v-f3ee6b2b
393
393
  }
394
394
  },
395
395
  emits: ["expand", "open-media", "click-parameters", "sort"],
396
- setup(s, { expose: f, emit: i }) {
396
+ setup(s, { expose: f, emit: l }) {
397
397
  const v = s, C = m(null), h = m(null), L = m(0);
398
398
  m(!1);
399
399
  const E = O(() => {
@@ -422,13 +422,13 @@ const Qt = /* @__PURE__ */ Wt(J, [["render", Kt], ["__scopeId", "data-v-f3ee6b2b
422
422
  y && (y.style.marginTop = `${b}px`);
423
423
  }
424
424
  function I({ player: d, stat: b }) {
425
- !b.total || b === "0%" || !b.seasons || !b.seasons.length || i("open-media", { ...d, stat: b });
425
+ !b.total || b === "0%" || !b.seasons || !b.seasons.length || l("open-media", { ...d, stat: b });
426
426
  }
427
- function W(d) {
428
- !d || d === "no" || i("click-parameters", d);
427
+ function Z(d) {
428
+ !d || d === "no" || l("click-parameters", d);
429
429
  }
430
430
  function D(d) {
431
- i("sort", d);
431
+ l("sort", d);
432
432
  }
433
433
  return ht(() => {
434
434
  _();
@@ -438,13 +438,13 @@ const Qt = /* @__PURE__ */ Wt(J, [["render", Kt], ["__scopeId", "data-v-f3ee6b2b
438
438
  class: "scroll-columns",
439
439
  style: B(u.value)
440
440
  }, [
441
- s.isEditMode ? (a(), r("div", Yt)) : S("", !0),
441
+ s.isEditMode ? (a(), r("div", te)) : S("", !0),
442
442
  t("div", {
443
443
  ref_key: "titlesRow",
444
444
  ref: h,
445
445
  class: "scrollable-row-2"
446
446
  }, [
447
- (a(!0), r(P, null, j(E.value, (p, y) => (a(), r("div", {
447
+ (a(!0), r(P, null, W(E.value, (p, y) => (a(), r("div", {
448
448
  key: `t-${y}`,
449
449
  class: "column-title-2"
450
450
  }, [
@@ -452,9 +452,9 @@ const Qt = /* @__PURE__ */ Wt(J, [["render", Kt], ["__scopeId", "data-v-f3ee6b2b
452
452
  key: 0,
453
453
  class: "parameters",
454
454
  role: "button",
455
- onClick: (M) => W(p.parameters)
456
- }, oe, 8, te)) : S("", !0),
457
- t("div", se, g(p.name), 1),
455
+ onClick: (M) => Z(p.parameters)
456
+ }, se, 8, ee)) : S("", !0),
457
+ t("div", le, g(p.name), 1),
458
458
  (a(), r("svg", {
459
459
  width: "18",
460
460
  height: "18",
@@ -462,29 +462,29 @@ const Qt = /* @__PURE__ */ Wt(J, [["render", Kt], ["__scopeId", "data-v-f3ee6b2b
462
462
  fill: "none",
463
463
  xmlns: "http://www.w3.org/2000/svg",
464
464
  onClick: (M) => D(p)
465
- }, ne, 8, ie))
465
+ }, ae, 8, ie))
466
466
  ]))), 128)),
467
- ae
467
+ re
468
468
  ], 512),
469
- (a(!0), r(P, null, j(s.availablePlayers, (p, y) => (a(), r("div", {
469
+ (a(!0), r(P, null, W(s.availablePlayers, (p, y) => (a(), r("div", {
470
470
  key: `i-${p.id}`,
471
471
  class: "row scrollable-row-totals"
472
472
  }, [
473
- (a(!0), r(P, null, j(p.stats, (M) => (a(), r("div", {
473
+ (a(!0), r(P, null, W(p.stats, (M) => (a(), r("div", {
474
474
  key: M.category_id,
475
475
  class: x(["row data-info", { odd: y % 2 !== 0, underline: !!M.total && M.total !== "0%" && M.seasons && M.seasons.length }])
476
476
  }, [
477
477
  t("span", {
478
- onClick: (Z) => I({ player: p, stat: M })
479
- }, g(M.total), 9, re)
478
+ onClick: (A) => I({ player: p, stat: M })
479
+ }, g(M.total), 9, de)
480
480
  ], 2))), 128))
481
481
  ]))), 128))
482
482
  ], 4));
483
483
  }
484
- }, ce = /* @__PURE__ */ pt(de, [["__scopeId", "data-v-df83603b"]]), c = (s) => (U("data-v-04e96d04"), s = s(), q(), s), ue = /* @__PURE__ */ c(() => /* @__PURE__ */ t("div", { class: "top-scroll-spacer" }, null, -1)), fe = { class: "table__static-column" }, ve = { class: "static-title column-title restore" }, he = /* @__PURE__ */ c(() => /* @__PURE__ */ t("div", { class: "titles-left" }, [
484
+ }, ue = /* @__PURE__ */ pt(ce, [["__scopeId", "data-v-df83603b"]]), c = (s) => (q("data-v-4cd58a78"), s = s(), U(), s), fe = /* @__PURE__ */ c(() => /* @__PURE__ */ t("div", { class: "top-scroll-spacer" }, null, -1)), ve = { class: "table__static-column" }, he = { class: "static-title column-title restore" }, pe = /* @__PURE__ */ c(() => /* @__PURE__ */ t("div", { class: "titles-left" }, [
485
485
  /* @__PURE__ */ t("div", { class: "title" }, "Ranking"),
486
486
  /* @__PURE__ */ t("div", { class: "title" }, "Agregar a lista")
487
- ], -1)), pe = /* @__PURE__ */ c(() => /* @__PURE__ */ t("svg", {
487
+ ], -1)), ge = /* @__PURE__ */ c(() => /* @__PURE__ */ t("svg", {
488
488
  width: "16",
489
489
  height: "16",
490
490
  viewBox: "0 0 16 16",
@@ -501,10 +501,10 @@ const Qt = /* @__PURE__ */ Wt(J, [["render", Kt], ["__scopeId", "data-v-f3ee6b2b
501
501
  /* @__PURE__ */ t("path", { d: "M15.333 2.667v4h-4M.667 13.333v-4h4" }),
502
502
  /* @__PURE__ */ t("path", { d: "M2.34 6a6 6 0 0 1 9.9-2.24l3.094 2.906M.667 9.333l3.093 2.906a6 6 0 0 0 9.9-2.24" })
503
503
  ])
504
- ], -1)), ge = /* @__PURE__ */ c(() => /* @__PURE__ */ t("div", null, "Restaurar orden", -1)), _e = [
505
- pe,
506
- ge
507
- ], me = ["id"], Ce = { class: "container" }, we = { class: "details-row__info" }, ke = { class: "details-row__info__personal" }, be = { class: "bold" }, ye = { class: "bold" }, xe = { class: "bold" }, Se = { class: "bold" }, Le = { class: "details-row__info__games" }, Me = { class: "bold" }, $e = { class: "bold" }, Be = ["onClick"], Ee = /* @__PURE__ */ c(() => /* @__PURE__ */ t("div", null, "Ver gráfica", -1)), Re = /* @__PURE__ */ c(() => /* @__PURE__ */ t("svg", {
504
+ ], -1)), _e = /* @__PURE__ */ c(() => /* @__PURE__ */ t("div", null, "Restaurar orden", -1)), me = [
505
+ ge,
506
+ _e
507
+ ], Ce = ["id"], we = { class: "container" }, ke = { class: "details-row__info" }, be = { class: "details-row__info__personal" }, ye = { class: "bold" }, xe = { class: "bold" }, Se = { class: "bold" }, Le = { class: "bold" }, Me = { class: "details-row__info__games" }, $e = { class: "bold" }, Be = { class: "bold" }, Ee = ["onClick"], Re = /* @__PURE__ */ c(() => /* @__PURE__ */ t("div", null, "Ver gráfica", -1)), Te = /* @__PURE__ */ c(() => /* @__PURE__ */ t("svg", {
508
508
  width: "17",
509
509
  height: "16",
510
510
  viewBox: "0 0 17 16",
@@ -527,10 +527,10 @@ const Qt = /* @__PURE__ */ Wt(J, [["render", Kt], ["__scopeId", "data-v-f3ee6b2b
527
527
  })
528
528
  ])
529
529
  ])
530
- ], -1)), Te = [
531
- Ee,
532
- Re
533
- ], Pe = ["onClick"], Ie = /* @__PURE__ */ c(() => /* @__PURE__ */ t("div", null, "Eliminar de lista", -1)), Oe = /* @__PURE__ */ c(() => /* @__PURE__ */ t("svg", {
530
+ ], -1)), Pe = [
531
+ Re,
532
+ Te
533
+ ], Ie = ["onClick"], Oe = /* @__PURE__ */ c(() => /* @__PURE__ */ t("div", null, "Eliminar de lista", -1)), De = /* @__PURE__ */ c(() => /* @__PURE__ */ t("svg", {
534
534
  width: "17",
535
535
  height: "15",
536
536
  viewBox: "0 0 20 18",
@@ -561,10 +561,10 @@ const Qt = /* @__PURE__ */ Wt(J, [["render", Kt], ["__scopeId", "data-v-f3ee6b2b
561
561
  "stroke-linecap": "round",
562
562
  "stroke-linejoin": "round"
563
563
  })
564
- ], -1)), De = [
565
- Ie,
566
- Oe
567
- ], Ve = ["onClick"], Fe = /* @__PURE__ */ c(() => /* @__PURE__ */ t("div", null, "Agregar a lista", -1)), ze = /* @__PURE__ */ c(() => /* @__PURE__ */ t("svg", {
564
+ ], -1)), Ve = [
565
+ Oe,
566
+ De
567
+ ], Fe = ["onClick"], ze = /* @__PURE__ */ c(() => /* @__PURE__ */ t("div", null, "Agregar a lista", -1)), Ae = /* @__PURE__ */ c(() => /* @__PURE__ */ t("svg", {
568
568
  width: "20",
569
569
  height: "20",
570
570
  viewBox: "0 0 20 20",
@@ -595,72 +595,72 @@ const Qt = /* @__PURE__ */ Wt(J, [["render", Kt], ["__scopeId", "data-v-f3ee6b2b
595
595
  "stroke-linecap": "round",
596
596
  "stroke-linejoin": "round"
597
597
  })
598
- ], -1)), Ae = [
599
- Fe,
600
- ze
601
- ], je = ["onClick"], We = /* @__PURE__ */ c(() => /* @__PURE__ */ t("div", null, "Ver perfil", -1)), Ze = [
602
- We
603
- ], He = { class: "static-row__info-player" }, Ge = { class: "position" }, Ne = ["onClick"], Ue = /* @__PURE__ */ c(() => /* @__PURE__ */ t("path", {
598
+ ], -1)), je = [
599
+ ze,
600
+ Ae
601
+ ], We = ["onClick"], Ze = /* @__PURE__ */ c(() => /* @__PURE__ */ t("div", null, "Ver perfil", -1)), He = [
602
+ Ze
603
+ ], Ge = { class: "static-row__info-player" }, Ne = { class: "position" }, qe = ["onClick"], Ue = /* @__PURE__ */ c(() => /* @__PURE__ */ t("path", {
604
604
  d: "M13.3345 16.5001V14.8334C13.3345 13.9494 12.9833 13.1015 12.3582 12.4764C11.7331 11.8513 10.8852 11.5001 10.0012 11.5001H5.00126C4.11722 11.5001 3.26938 11.8513 2.64427 12.4764C2.01915 13.1015 1.66797 13.9494 1.66797 14.8334V16.5001",
605
605
  stroke: "white",
606
606
  "stroke-opacity": "0.5",
607
607
  "stroke-width": "1.5",
608
608
  "stroke-linecap": "round",
609
609
  "stroke-linejoin": "round"
610
- }, null, -1)), qe = /* @__PURE__ */ c(() => /* @__PURE__ */ t("path", {
610
+ }, null, -1)), Je = /* @__PURE__ */ c(() => /* @__PURE__ */ t("path", {
611
611
  d: "M7.50126 8.16658C9.34219 8.16658 10.8346 6.67422 10.8346 4.83329C10.8346 2.99237 9.34219 1.5 7.50126 1.5C5.66033 1.5 4.16797 2.99237 4.16797 4.83329C4.16797 6.67422 5.66033 8.16658 7.50126 8.16658Z",
612
612
  stroke: "white",
613
613
  "stroke-opacity": "0.5",
614
614
  "stroke-width": "1.5",
615
615
  "stroke-linecap": "round",
616
616
  "stroke-linejoin": "round"
617
- }, null, -1)), Je = /* @__PURE__ */ c(() => /* @__PURE__ */ t("path", {
617
+ }, null, -1)), Xe = /* @__PURE__ */ c(() => /* @__PURE__ */ t("path", {
618
618
  d: "M18.332 8.16663H13.332",
619
619
  stroke: "white",
620
620
  "stroke-opacity": "0.5",
621
621
  "stroke-width": "1.5",
622
622
  "stroke-linecap": "round",
623
623
  "stroke-linejoin": "round"
624
- }, null, -1)), Xe = [
624
+ }, null, -1)), Ke = [
625
625
  Ue,
626
- qe,
627
- Je
628
- ], Ke = {
626
+ Je,
627
+ Xe
628
+ ], Qe = {
629
629
  key: 1,
630
630
  class: "add-to-list"
631
- }, Qe = ["onClick"], Ye = /* @__PURE__ */ c(() => /* @__PURE__ */ t("path", {
631
+ }, Ye = ["onClick"], to = /* @__PURE__ */ c(() => /* @__PURE__ */ t("path", {
632
632
  d: "M13.2016 17.2012V15.601C13.2016 14.7522 12.8645 13.9381 12.2643 13.3379C11.664 12.7377 10.85 12.4005 10.0012 12.4005H5.20047C4.35165 12.4005 3.5376 12.7377 2.9374 13.3379C2.33719 13.9381 2 14.7522 2 15.601V17.2012",
633
633
  stroke: "white",
634
634
  "stroke-opacity": "1",
635
635
  "stroke-width": "1.44023",
636
636
  "stroke-linecap": "round",
637
637
  "stroke-linejoin": "round"
638
- }, null, -1)), to = /* @__PURE__ */ c(() => /* @__PURE__ */ t("path", {
638
+ }, null, -1)), eo = /* @__PURE__ */ c(() => /* @__PURE__ */ t("path", {
639
639
  d: "M7.60086 9.19977C9.36843 9.19977 10.8013 7.76687 10.8013 5.9993C10.8013 4.23173 9.36843 2.79883 7.60086 2.79883C5.83329 2.79883 4.40039 4.23173 4.40039 5.9993C4.40039 7.76687 5.83329 9.19977 7.60086 9.19977Z",
640
640
  stroke: "white",
641
641
  "stroke-opacity": "1",
642
642
  "stroke-width": "1.44023",
643
643
  "stroke-linecap": "round",
644
644
  "stroke-linejoin": "round"
645
- }, null, -1)), eo = /* @__PURE__ */ c(() => /* @__PURE__ */ t("path", {
645
+ }, null, -1)), oo = /* @__PURE__ */ c(() => /* @__PURE__ */ t("path", {
646
646
  d: "M15.5996 6.79944V11.6001M17.9999 9.19979H13.1992",
647
647
  stroke: "white",
648
648
  "stroke-opacity": "1",
649
649
  "stroke-width": "1.44023",
650
650
  "stroke-linecap": "round",
651
651
  "stroke-linejoin": "round"
652
- }, null, -1)), oo = [
653
- Ye,
652
+ }, null, -1)), so = [
654
653
  to,
655
- eo
656
- ], so = { class: "player-photo" }, io = ["src"], lo = { class: "player-name" }, no = { class: "arrow" }, ao = ["onClick"], ro = /* @__PURE__ */ c(() => /* @__PURE__ */ t("path", {
654
+ eo,
655
+ oo
656
+ ], lo = { class: "player-photo" }, io = ["src"], no = { class: "player-name" }, ao = { class: "arrow" }, ro = ["onClick"], co = /* @__PURE__ */ c(() => /* @__PURE__ */ t("path", {
657
657
  "fill-rule": "evenodd",
658
658
  "clip-rule": "evenodd",
659
659
  d: "M6 4.93631L10.2929 1.23496C10.6834 0.898244 11.3166 0.898244 11.7071 1.23496C12.0976 1.57167 12.0976 2.11759 11.7071 2.4543L6.70711 6.76532C6.31658 7.10203 5.68342 7.10203 5.29289 6.76532L0.292893 2.4543C-0.0976311 2.11759 -0.0976311 1.57167 0.292893 1.23496C0.683418 0.898244 1.31658 0.898244 1.70711 1.23496L6 4.93631Z",
660
660
  fill: "#D9D9D9"
661
- }, null, -1)), co = [
662
- ro
663
- ], uo = { class: "titles scrollable-row" }, fo = { class: "column-title" }, vo = /* @__PURE__ */ c(() => /* @__PURE__ */ t("div", null, " Equipo ", -1)), ho = /* @__PURE__ */ c(() => /* @__PURE__ */ t("g", {
661
+ }, null, -1)), uo = [
662
+ co
663
+ ], fo = { class: "titles scrollable-row" }, vo = { class: "column-title" }, ho = /* @__PURE__ */ c(() => /* @__PURE__ */ t("div", null, " Equipo ", -1)), po = /* @__PURE__ */ c(() => /* @__PURE__ */ t("g", {
664
664
  opacity: ".5",
665
665
  stroke: "#fff",
666
666
  "stroke-width": "1.677",
@@ -668,9 +668,9 @@ const Qt = /* @__PURE__ */ Wt(J, [["render", Kt], ["__scopeId", "data-v-f3ee6b2b
668
668
  "stroke-linejoin": "round"
669
669
  }, [
670
670
  /* @__PURE__ */ t("path", { d: "M4.532 2.13v13.74M8.202 12.2l-3.67 3.669-3.669-3.67M12.919 15.87V2.132M16.589 5.802l-3.67-3.67-3.669 3.67" })
671
- ], -1)), po = [
672
- ho
673
- ], go = { class: "column-title" }, _o = /* @__PURE__ */ c(() => /* @__PURE__ */ t("div", null, " Posición ", -1)), mo = /* @__PURE__ */ c(() => /* @__PURE__ */ t("g", {
671
+ ], -1)), go = [
672
+ po
673
+ ], _o = { class: "column-title" }, mo = /* @__PURE__ */ c(() => /* @__PURE__ */ t("div", null, " Posición ", -1)), Co = /* @__PURE__ */ c(() => /* @__PURE__ */ t("g", {
674
674
  opacity: ".5",
675
675
  stroke: "#fff",
676
676
  "stroke-width": "1.677",
@@ -678,9 +678,9 @@ const Qt = /* @__PURE__ */ Wt(J, [["render", Kt], ["__scopeId", "data-v-f3ee6b2b
678
678
  "stroke-linejoin": "round"
679
679
  }, [
680
680
  /* @__PURE__ */ t("path", { d: "M4.532 2.13v13.74M8.202 12.2l-3.67 3.669-3.669-3.67M12.919 15.87V2.132M16.589 5.802l-3.67-3.67-3.669 3.67" })
681
- ], -1)), Co = [
682
- mo
683
- ], wo = { class: "column-title" }, ko = /* @__PURE__ */ c(() => /* @__PURE__ */ t("div", null, " Edad ", -1)), bo = /* @__PURE__ */ c(() => /* @__PURE__ */ t("g", {
681
+ ], -1)), wo = [
682
+ Co
683
+ ], ko = { class: "column-title" }, bo = /* @__PURE__ */ c(() => /* @__PURE__ */ t("div", null, " Edad ", -1)), yo = /* @__PURE__ */ c(() => /* @__PURE__ */ t("g", {
684
684
  opacity: ".5",
685
685
  stroke: "#fff",
686
686
  "stroke-width": "1.677",
@@ -688,9 +688,9 @@ const Qt = /* @__PURE__ */ Wt(J, [["render", Kt], ["__scopeId", "data-v-f3ee6b2b
688
688
  "stroke-linejoin": "round"
689
689
  }, [
690
690
  /* @__PURE__ */ t("path", { d: "M4.532 2.13v13.74M8.202 12.2l-3.67 3.669-3.669-3.67M12.919 15.87V2.132M16.589 5.802l-3.67-3.67-3.669 3.67" })
691
- ], -1)), yo = [
692
- bo
693
- ], xo = /* @__PURE__ */ c(() => /* @__PURE__ */ t("div", { class: "column-title" }, "País", -1)), So = { class: "column-title" }, Lo = /* @__PURE__ */ c(() => /* @__PURE__ */ t("div", null, " Partidos Jugados ", -1)), Mo = /* @__PURE__ */ c(() => /* @__PURE__ */ t("g", {
691
+ ], -1)), xo = [
692
+ yo
693
+ ], So = /* @__PURE__ */ c(() => /* @__PURE__ */ t("div", { class: "column-title" }, "País", -1)), Lo = { class: "column-title" }, Mo = /* @__PURE__ */ c(() => /* @__PURE__ */ t("div", null, " Partidos Jugados ", -1)), $o = /* @__PURE__ */ c(() => /* @__PURE__ */ t("g", {
694
694
  opacity: ".5",
695
695
  stroke: "#fff",
696
696
  "stroke-width": "1.677",
@@ -698,9 +698,9 @@ const Qt = /* @__PURE__ */ Wt(J, [["render", Kt], ["__scopeId", "data-v-f3ee6b2b
698
698
  "stroke-linejoin": "round"
699
699
  }, [
700
700
  /* @__PURE__ */ t("path", { d: "M4.532 2.13v13.74M8.202 12.2l-3.67 3.669-3.669-3.67M12.919 15.87V2.132M16.589 5.802l-3.67-3.67-3.669 3.67" })
701
- ], -1)), $o = [
702
- Mo
703
- ], Bo = { class: "column-title" }, Eo = /* @__PURE__ */ c(() => /* @__PURE__ */ t("div", null, " Minutos Jugados ", -1)), Ro = /* @__PURE__ */ c(() => /* @__PURE__ */ t("g", {
701
+ ], -1)), Bo = [
702
+ $o
703
+ ], Eo = { class: "column-title" }, Ro = /* @__PURE__ */ c(() => /* @__PURE__ */ t("div", null, " Minutos Jugados ", -1)), To = /* @__PURE__ */ c(() => /* @__PURE__ */ t("g", {
704
704
  opacity: ".5",
705
705
  stroke: "#fff",
706
706
  "stroke-width": "1.677",
@@ -708,9 +708,9 @@ const Qt = /* @__PURE__ */ Wt(J, [["render", Kt], ["__scopeId", "data-v-f3ee6b2b
708
708
  "stroke-linejoin": "round"
709
709
  }, [
710
710
  /* @__PURE__ */ t("path", { d: "M4.532 2.13v13.74M8.202 12.2l-3.67 3.669-3.669-3.67M12.919 15.87V2.132M16.589 5.802l-3.67-3.67-3.669 3.67" })
711
- ], -1)), To = [
712
- Ro
713
- ], Po = { class: "column-title" }, Io = /* @__PURE__ */ c(() => /* @__PURE__ */ t("div", null, " Liga ", -1)), Oo = /* @__PURE__ */ c(() => /* @__PURE__ */ t("g", {
711
+ ], -1)), Po = [
712
+ To
713
+ ], Io = { class: "column-title" }, Oo = /* @__PURE__ */ c(() => /* @__PURE__ */ t("div", null, " Liga ", -1)), Do = /* @__PURE__ */ c(() => /* @__PURE__ */ t("g", {
714
714
  opacity: ".5",
715
715
  stroke: "#fff",
716
716
  "stroke-width": "1.677",
@@ -718,9 +718,9 @@ const Qt = /* @__PURE__ */ Wt(J, [["render", Kt], ["__scopeId", "data-v-f3ee6b2b
718
718
  "stroke-linejoin": "round"
719
719
  }, [
720
720
  /* @__PURE__ */ t("path", { d: "M4.532 2.13v13.74M8.202 12.2l-3.67 3.669-3.669-3.67M12.919 15.87V2.132M16.589 5.802l-3.67-3.67-3.669 3.67" })
721
- ], -1)), Do = [
722
- Oo
723
- ], Vo = /* @__PURE__ */ c(() => /* @__PURE__ */ t("div", { class: "column-title" }, "Videos", -1)), Fo = { class: "team-logo" }, zo = ["src"], Ao = { class: "team-name data-info" }, jo = ["src"], Wo = {
721
+ ], -1)), Vo = [
722
+ Do
723
+ ], Fo = /* @__PURE__ */ c(() => /* @__PURE__ */ t("div", { class: "column-title" }, "Videos", -1)), zo = { class: "team-logo" }, Ao = ["src"], jo = { class: "team-name data-info" }, Wo = ["src"], Zo = {
724
724
  __name: "GSC-TableScrollable",
725
725
  props: {
726
726
  players: {
@@ -757,9 +757,9 @@ const Qt = /* @__PURE__ */ Wt(J, [["render", Kt], ["__scopeId", "data-v-f3ee6b2b
757
757
  "click-parameters"
758
758
  ],
759
759
  setup(s, { emit: f }) {
760
- const i = s;
760
+ const l = s;
761
761
  let v = null, C = null;
762
- const h = m([]), L = m(null), E = m(null), u = m(null), _ = m(0), z = m(0), I = m(-1), W = m(!1), D = m(null), d = m(null), b = m(null), p = m([]), y = m([
762
+ const h = m([]), L = m(null), E = m(null), u = m(null), _ = m(0), z = m(0), I = m(-1), Z = m(!1), D = m(null), d = m(null), b = m(null), p = m([]), y = m([
763
763
  {
764
764
  name: "team_abrev",
765
765
  isDesc: !1,
@@ -790,24 +790,24 @@ const Qt = /* @__PURE__ */ Wt(J, [["render", Kt], ["__scopeId", "data-v-f3ee6b2b
790
790
  isDesc: !1,
791
791
  isRoot: !0
792
792
  }
793
- ]), M = m(0), Z = m("922px"), K = O(() => ({
793
+ ]), M = m(0), A = m("922px"), K = O(() => ({
794
794
  "--width-details": `${_.value}px`,
795
795
  "--gap-static-row": `${N.value ? "8px" : "18px"}`,
796
796
  "--width-static-column": `${N.value ? "50%" : "436px"}`
797
797
  })), N = O(() => _.value < 600);
798
798
  F(
799
- () => i.players,
799
+ () => l.players,
800
800
  (e) => {
801
- e && e.length && (h.value = e.map((l, o) => {
801
+ e && e.length && (h.value = e.map((i, o) => {
802
802
  const n = o + 1, w = {
803
- ...l,
803
+ ...i,
804
804
  position: n < 10 ? `0${n}` : `${n}`,
805
805
  isSelected: !1,
806
806
  isExpanded: !1,
807
807
  isOdd: o % 2 !== 0,
808
808
  index: o
809
809
  };
810
- return l.stats && l.stats.length && (w.stats = l.stats.map((k) => ({
810
+ return i.stats && i.stats.length && (w.stats = i.stats.map((k) => ({
811
811
  ...k,
812
812
  isDesc: !1,
813
813
  isRoot: !1
@@ -815,32 +815,32 @@ const Qt = /* @__PURE__ */ Wt(J, [["render", Kt], ["__scopeId", "data-v-f3ee6b2b
815
815
  const at = w.stats.find((St) => St.custom_category_id === Number(k));
816
816
  at && (at.parameters = $);
817
817
  }), w;
818
- }), p.value = h.value.map((l) => ({
819
- ...l
818
+ }), p.value = h.value.map((i) => ({
819
+ ...i
820
820
  })));
821
821
  },
822
822
  { immediate: !0, deep: !0 }
823
823
  ), F(
824
- () => i.isEditMode,
824
+ () => l.isEditMode,
825
825
  (e) => {
826
- e && h.value.forEach((l) => {
827
- l.isSelected = !1;
826
+ e && h.value.forEach((i) => {
827
+ i.isSelected = !1;
828
828
  });
829
829
  }
830
830
  ), F(
831
831
  () => b.value,
832
832
  (e) => {
833
833
  if (e) {
834
- let l = [...p.value];
835
- e.isRoot ? l.sort((o, n) => typeof o[e.name] == "string" ? e.isDesc ? o[e.name].localeCompare(n[e.name]) : o[e.name].localeCompare(n[e.name]) * -1 : e.isDesc ? n[e.name] - o[e.name] : o[e.name] - n[e.name]) : l.sort((o, n) => {
834
+ let i = [...p.value];
835
+ e.isRoot ? i.sort((o, n) => typeof o[e.name] == "string" ? e.isDesc ? o[e.name].localeCompare(n[e.name]) : o[e.name].localeCompare(n[e.name]) * -1 : e.isDesc ? n[e.name] - o[e.name] : o[e.name] - n[e.name]) : i.sort((o, n) => {
836
836
  const w = o.stats.find(($) => $.name === e.name), k = n.stats.find(($) => $.name === e.name);
837
837
  return typeof w.value == "string" ? e.isDesc ? w.total.localeCompare(k.total) : w.total.localeCompare(k.total) * -1 : e.isDesc ? k.total - w.total : w.total - k.total;
838
- }), l.forEach((o, n) => {
838
+ }), i.forEach((o, n) => {
839
839
  o.isOdd = n % 2 !== 0;
840
- }), p.value = l;
840
+ }), p.value = i;
841
841
  } else
842
- p.value.sort((l, o) => l.index - o.index).forEach((l, o) => {
843
- l.isOdd = o % 2 !== 0;
842
+ p.value.sort((i, o) => i.index - o.index).forEach((i, o) => {
843
+ i.isOdd = o % 2 !== 0;
844
844
  });
845
845
  },
846
846
  { immediate: !0, deep: !0 }
@@ -848,12 +848,12 @@ const Qt = /* @__PURE__ */ Wt(J, [["render", Kt], ["__scopeId", "data-v-f3ee6b2b
848
848
  z,
849
849
  (e) => {
850
850
  const o = document.querySelectorAll(".static-row")[I.value + 1];
851
- o && (o.style.marginTop = `${e}px`), i.isGeneral ? gt(I.value, e) : E.value && E.value.setMarginTopDetails(I.value, e), e === 0 && D.value && ot(D.value);
851
+ o && (o.style.marginTop = `${e}px`), l.isGeneral ? gt(I.value, e) : E.value && E.value.setMarginTopDetails(I.value, e), e === 0 && D.value && ot(D.value);
852
852
  }
853
853
  );
854
- function gt(e, l) {
854
+ function gt(e, i) {
855
855
  const n = document.querySelectorAll(".scrollable-row")[e + 2];
856
- n && (n.style.marginTop = `${l}px`);
856
+ n && (n.style.marginTop = `${i}px`);
857
857
  }
858
858
  function _t(e) {
859
859
  f("click-parameters", e);
@@ -862,7 +862,7 @@ const Qt = /* @__PURE__ */ Wt(J, [["render", Kt], ["__scopeId", "data-v-f3ee6b2b
862
862
  e && (e.isDesc = !e.isDesc), b.value = e;
863
863
  }
864
864
  function Q(e) {
865
- const l = e.player || e.objeto_player, o = l ? l.player_id || l.id || l.playerId : e.id || e.player_id, n = {
865
+ const i = e.player || e.objeto_player, o = i ? i.player_id || i.id || i.playerId : e.id || e.player_id, n = {
866
866
  isFeaturedPlayers: !1,
867
867
  mainSectionType: 1,
868
868
  playListType: 2,
@@ -891,13 +891,13 @@ const Qt = /* @__PURE__ */ Wt(J, [["render", Kt], ["__scopeId", "data-v-f3ee6b2b
891
891
  }
892
892
  function mt() {
893
893
  v = new ResizeObserver((e) => {
894
- for (const l of e)
895
- _.value = l.contentRect.width;
894
+ for (const i of e)
895
+ _.value = i.contentRect.width;
896
896
  }), v.observe(L.value);
897
897
  }
898
898
  function Y(e) {
899
- C = new ResizeObserver((l) => {
900
- for (const o of l)
899
+ C = new ResizeObserver((i) => {
900
+ for (const o of i)
901
901
  z.value = o.contentRect.height;
902
902
  }), C.observe(e);
903
903
  }
@@ -948,8 +948,8 @@ const Qt = /* @__PURE__ */ Wt(J, [["render", Kt], ["__scopeId", "data-v-f3ee6b2b
948
948
  488
949
949
  ];
950
950
  }
951
- function wt(e, l) {
952
- l.isSelected = e;
951
+ function wt(e, i) {
952
+ i.isSelected = e;
953
953
  const o = h.value.filter((n) => n.isSelected);
954
954
  f("change-selected-players", o);
955
955
  }
@@ -970,8 +970,8 @@ const Qt = /* @__PURE__ */ Wt(J, [["render", Kt], ["__scopeId", "data-v-f3ee6b2b
970
970
  e.isExpanded = !1, D.value = null;
971
971
  return;
972
972
  }
973
- const l = h.value.find((k) => k.isExpanded);
974
- if (l && (l.isExpanded = !1), l) {
973
+ const i = h.value.find((k) => k.isExpanded);
974
+ if (i && (i.isExpanded = !1), i) {
975
975
  D.value = e;
976
976
  return;
977
977
  }
@@ -984,21 +984,21 @@ const Qt = /* @__PURE__ */ Wt(J, [["render", Kt], ["__scopeId", "data-v-f3ee6b2b
984
984
  I.value = n, Y(w), e.isExpanded = !0, h.value.forEach((k) => {
985
985
  k.isExpanded = !1;
986
986
  }), setTimeout(() => {
987
- if (!W.value) {
987
+ if (!Z.value) {
988
988
  const $ = document.querySelectorAll(".details-row")[e.index];
989
989
  I.value = e.index, Y($);
990
990
  }
991
- e.isExpanded = !W.value;
991
+ e.isExpanded = !Z.value;
992
992
  }, 1);
993
993
  }
994
- let A = !1, H, G, st = function(e) {
995
- A = !0, H = e.pageX - d.value.offsetLeft, G = d.value.scrollLeft;
996
- }, it = function(e) {
997
- A = !0, H = e.pageX - u.value.offsetLeft, G = u.value.scrollLeft;
994
+ let j = !1, H, G, st = function(e) {
995
+ j = !0, H = e.pageX - d.value.offsetLeft, G = d.value.scrollLeft;
996
+ }, lt = function(e) {
997
+ j = !0, H = e.pageX - u.value.offsetLeft, G = u.value.scrollLeft;
998
998
  }, T = function() {
999
- A = !1;
999
+ j = !1;
1000
1000
  };
1001
- function lt(e) {
1001
+ function it(e) {
1002
1002
  d.value && (d.value.scrollLeft = e.target.scrollLeft);
1003
1003
  }
1004
1004
  function nt(e) {
@@ -1006,27 +1006,31 @@ const Qt = /* @__PURE__ */ Wt(J, [["render", Kt], ["__scopeId", "data-v-f3ee6b2b
1006
1006
  }
1007
1007
  function yt() {
1008
1008
  d.value && (d.value.addEventListener("mousemove", (e) => {
1009
- if (!A)
1009
+ if (!j)
1010
1010
  return;
1011
1011
  const o = e.pageX - d.value.offsetLeft - H, n = G - o;
1012
1012
  d.value.scrollLeft = n, u.value && (u.value.scrollLeft = n);
1013
1013
  }), d.value.addEventListener("mousedown", st, !1), d.value.addEventListener("mouseup", T, !1), d.value.addEventListener("mouseleave", T, !1), d.value.addEventListener("scroll", nt)), u.value && (u.value.addEventListener("mousemove", (e) => {
1014
- if (!A)
1014
+ if (!j)
1015
1015
  return;
1016
1016
  const o = e.pageX - u.value.offsetLeft - H, n = G - o;
1017
1017
  u.value.scrollLeft = n, d.value && (d.value.scrollLeft = n);
1018
- }), u.value.addEventListener("mousedown", it, !1), u.value.addEventListener("mouseup", T, !1), u.value.addEventListener("mouseleave", T, !1), u.value.addEventListener("scroll", lt));
1018
+ }), u.value.addEventListener("mousedown", lt, !1), u.value.addEventListener("mouseup", T, !1), u.value.addEventListener("mouseleave", T, !1), u.value.addEventListener("scroll", it));
1019
1019
  }
1020
1020
  function xt() {
1021
- if (i.isGeneral)
1022
- Z.value = "922px";
1023
- else if (h.value.length && h.value[0].stats) {
1024
- const e = h.value[0].stats.length, l = 120;
1025
- Z.value = `${(e + 1) * l}px`;
1026
- }
1021
+ l.isGeneral ? A.value = "922px" : Rt(() => {
1022
+ const e = document.querySelector(".scrollable-row-2");
1023
+ if (e) {
1024
+ const i = window.getComputedStyle(e), o = e.scrollWidth || parseInt(i.width);
1025
+ A.value = `${o}px`;
1026
+ } else if (h.value.length && h.value[0].stats) {
1027
+ const i = h.value[0].stats.length, o = 120;
1028
+ A.value = `${(i + 1) * o}px`;
1029
+ }
1030
+ });
1027
1031
  }
1028
1032
  return F(
1029
- () => [i.players, i.isGeneral],
1033
+ () => [l.players, l.isGeneral],
1030
1034
  () => {
1031
1035
  xt();
1032
1036
  },
@@ -1034,13 +1038,13 @@ const Qt = /* @__PURE__ */ Wt(J, [["render", Kt], ["__scopeId", "data-v-f3ee6b2b
1034
1038
  ), ht(() => {
1035
1039
  mt(), yt();
1036
1040
  }), Lt(() => {
1037
- v && v.disconnect(), C && C.disconnect(), d.value && (d.value.removeEventListener("mousemove", st, !1), d.value.removeEventListener("mouseup", T, !1), d.value.removeEventListener("mouseleave", T, !1), d.value.removeEventListener("scroll", nt)), u.value && (u.value.removeEventListener("mousemove", it, !1), u.value.removeEventListener("mouseup", T, !1), u.value.removeEventListener("mouseleave", T, !1), u.value.removeEventListener("scroll", lt));
1038
- }), (e, l) => (a(), r(P, null, [
1041
+ v && v.disconnect(), C && C.disconnect(), d.value && (d.value.removeEventListener("mousemove", st, !1), d.value.removeEventListener("mouseup", T, !1), d.value.removeEventListener("mouseleave", T, !1), d.value.removeEventListener("scroll", nt)), u.value && (u.value.removeEventListener("mousemove", lt, !1), u.value.removeEventListener("mouseup", T, !1), u.value.removeEventListener("mouseleave", T, !1), u.value.removeEventListener("scroll", it));
1042
+ }), (e, i) => (a(), r(P, null, [
1039
1043
  t("div", {
1040
1044
  class: "top-scroll-container",
1041
1045
  style: B(K.value)
1042
1046
  }, [
1043
- ue,
1047
+ fe,
1044
1048
  t("div", {
1045
1049
  ref_key: "topScrollableColumns",
1046
1050
  ref: u,
@@ -1048,7 +1052,7 @@ const Qt = /* @__PURE__ */ Wt(J, [["render", Kt], ["__scopeId", "data-v-f3ee6b2b
1048
1052
  }, [
1049
1053
  t("div", {
1050
1054
  class: "top-scroll-content",
1051
- style: B({ width: Z.value })
1055
+ style: B({ width: A.value })
1052
1056
  }, null, 4)
1053
1057
  ], 512)
1054
1058
  ], 4),
@@ -1059,16 +1063,16 @@ const Qt = /* @__PURE__ */ Wt(J, [["render", Kt], ["__scopeId", "data-v-f3ee6b2b
1059
1063
  style: B(K.value),
1060
1064
  key: M.value
1061
1065
  }, [
1062
- t("div", fe, [
1063
- t("div", ve, [
1064
- he,
1066
+ t("div", ve, [
1067
+ t("div", he, [
1068
+ pe,
1065
1069
  t("div", {
1066
1070
  role: "button",
1067
1071
  class: "restore-button",
1068
- onClick: l[0] || (l[0] = (o) => R(null))
1069
- }, _e)
1072
+ onClick: i[0] || (i[0] = (o) => R(null))
1073
+ }, me)
1070
1074
  ]),
1071
- (a(!0), r(P, null, j(p.value, (o) => (a(), r("div", {
1075
+ (a(!0), r(P, null, W(p.value, (o) => (a(), r("div", {
1072
1076
  key: `s-${o.id}`,
1073
1077
  class: x(["row static-row", { odd: o.isOdd }])
1074
1078
  }, [
@@ -1078,34 +1082,34 @@ const Qt = /* @__PURE__ */ Wt(J, [["render", Kt], ["__scopeId", "data-v-f3ee6b2b
1078
1082
  id: `dr-${o.id}`,
1079
1083
  class: x(["details-row", { odd: o.isOdd }])
1080
1084
  }, [
1081
- t("div", Ce, [
1082
- t("div", we, [
1083
- t("div", ke, [
1085
+ t("div", we, [
1086
+ t("div", ke, [
1087
+ t("div", be, [
1084
1088
  t("div", null, [
1085
1089
  V("Equipo: "),
1086
- t("span", be, g(o.team_name), 1)
1090
+ t("span", ye, g(o.team_name), 1)
1087
1091
  ]),
1088
1092
  t("div", null, [
1089
1093
  V("Edad: "),
1090
- t("span", ye, g(o.player_age) + " Años", 1)
1094
+ t("span", xe, g(o.player_age) + " Años", 1)
1091
1095
  ]),
1092
1096
  t("div", null, [
1093
1097
  V("Nacionalidad: "),
1094
- t("span", xe, g(o.player_country), 1)
1098
+ t("span", Se, g(o.player_country), 1)
1095
1099
  ]),
1096
1100
  t("div", null, [
1097
1101
  V("Posición: "),
1098
- t("span", Se, g(o.position_name), 1)
1102
+ t("span", Le, g(o.position_name), 1)
1099
1103
  ])
1100
1104
  ]),
1101
- t("div", Le, [
1105
+ t("div", Me, [
1102
1106
  t("div", null, [
1103
1107
  V("Partidos Jugados: "),
1104
- t("span", Me, g(o.player_games), 1)
1108
+ t("span", $e, g(o.player_games), 1)
1105
1109
  ]),
1106
1110
  t("div", null, [
1107
1111
  V("Minutos Jugados: "),
1108
- t("span", $e, g(o.player_min), 1)
1112
+ t("span", Be, g(o.player_min), 1)
1109
1113
  ])
1110
1114
  ])
1111
1115
  ]),
@@ -1118,40 +1122,40 @@ const Qt = /* @__PURE__ */ Wt(J, [["render", Kt], ["__scopeId", "data-v-f3ee6b2b
1118
1122
  role: "button",
1119
1123
  class: "button",
1120
1124
  onClick: (n) => bt(o)
1121
- }, Te, 8, Be)) : S("", !0),
1125
+ }, Pe, 8, Ee)) : S("", !0),
1122
1126
  s.isTableFromList ? (a(), r("div", {
1123
1127
  key: 1,
1124
1128
  role: "button",
1125
1129
  class: "button",
1126
1130
  onClick: (n) => tt(o)
1127
- }, De, 8, Pe)) : s.isAddToListButtonVisible ? (a(), r("div", {
1131
+ }, Ve, 8, Ie)) : s.isAddToListButtonVisible ? (a(), r("div", {
1128
1132
  key: 2,
1129
1133
  role: "button",
1130
1134
  class: "button",
1131
1135
  onClick: (n) => et(o)
1132
- }, Ae, 8, Ve)) : S("", !0),
1136
+ }, je, 8, Fe)) : S("", !0),
1133
1137
  t("div", {
1134
1138
  role: "button",
1135
1139
  class: "button green",
1136
1140
  onClick: (n) => kt(o)
1137
- }, Ze, 8, je)
1141
+ }, He, 8, We)
1138
1142
  ], 4)
1139
1143
  ])
1140
- ], 10, me), [
1144
+ ], 10, Ce), [
1141
1145
  [Et, o.isExpanded]
1142
1146
  ])
1143
1147
  ]),
1144
1148
  _: 2
1145
1149
  }, 1024),
1146
- s.isEditMode ? (a(), dt(ct(jt), {
1150
+ s.isEditMode ? (a(), dt(ct(Wt), {
1147
1151
  key: 0,
1148
1152
  fontFamily: "Poppins-Regular",
1149
1153
  labelFontSize: "14px",
1150
1154
  "model-value": o.isSelected,
1151
1155
  "onUpdate:modelValue": (n) => wt(n, o)
1152
1156
  }, null, 8, ["model-value", "onUpdate:modelValue"])) : S("", !0),
1153
- t("div", He, [
1154
- t("div", Ge, g(o.position), 1),
1157
+ t("div", Ge, [
1158
+ t("div", Ne, g(o.position), 1),
1155
1159
  s.isTableFromList ? (a(), r("svg", {
1156
1160
  key: 0,
1157
1161
  width: "20",
@@ -1160,7 +1164,7 @@ const Qt = /* @__PURE__ */ Wt(J, [["render", Kt], ["__scopeId", "data-v-f3ee6b2b
1160
1164
  fill: "none",
1161
1165
  xmlns: "http://www.w3.org/2000/svg",
1162
1166
  onClick: (n) => tt(o)
1163
- }, Xe, 8, Ne)) : (a(), r("div", Ke, [
1167
+ }, Ke, 8, qe)) : (a(), r("div", Qe, [
1164
1168
  (a(), r("svg", {
1165
1169
  width: "20",
1166
1170
  height: "20",
@@ -1168,9 +1172,9 @@ const Qt = /* @__PURE__ */ Wt(J, [["render", Kt], ["__scopeId", "data-v-f3ee6b2b
1168
1172
  fill: "none",
1169
1173
  xmlns: "http://www.w3.org/2000/svg",
1170
1174
  onClick: (n) => et(o)
1171
- }, oo, 8, Qe))
1175
+ }, so, 8, Ye))
1172
1176
  ])),
1173
- t("div", so, [
1177
+ t("div", lo, [
1174
1178
  t("div", null, [
1175
1179
  t("img", {
1176
1180
  src: o.player_photo,
@@ -1178,9 +1182,9 @@ const Qt = /* @__PURE__ */ Wt(J, [["render", Kt], ["__scopeId", "data-v-f3ee6b2b
1178
1182
  }, null, 8, io)
1179
1183
  ])
1180
1184
  ]),
1181
- t("div", lo, g(o.player_name), 1)
1185
+ t("div", no, g(o.player_name), 1)
1182
1186
  ]),
1183
- t("div", no, [
1187
+ t("div", ao, [
1184
1188
  (a(), r("svg", {
1185
1189
  class: x(["_arrowExpandIcon_6ak64_1115 _rotate_6ak64_5", { expanded: o.isExpanded }]),
1186
1190
  width: "12",
@@ -1189,7 +1193,7 @@ const Qt = /* @__PURE__ */ Wt(J, [["render", Kt], ["__scopeId", "data-v-f3ee6b2b
1189
1193
  fill: "#D9D9D9",
1190
1194
  xmlns: "http://www.w3.org/2000/svg",
1191
1195
  onClick: (n) => ot(o)
1192
- }, co, 10, ao))
1196
+ }, uo, 10, ro))
1193
1197
  ])
1194
1198
  ], 2))), 128))
1195
1199
  ]),
@@ -1199,90 +1203,90 @@ const Qt = /* @__PURE__ */ Wt(J, [["render", Kt], ["__scopeId", "data-v-f3ee6b2b
1199
1203
  class: "table__scrollable-columns"
1200
1204
  }, [
1201
1205
  s.isGeneral ? (a(), r(P, { key: 0 }, [
1202
- t("div", uo, [
1203
- t("div", fo, [
1204
- vo,
1206
+ t("div", fo, [
1207
+ t("div", vo, [
1208
+ ho,
1205
1209
  (a(), r("svg", {
1206
1210
  width: "18",
1207
1211
  height: "18",
1208
1212
  viewBox: "0 0 18 18",
1209
1213
  fill: "none",
1210
1214
  xmlns: "http://www.w3.org/2000/svg",
1211
- onClick: l[1] || (l[1] = (o) => R(y.value[0]))
1212
- }, po))
1215
+ onClick: i[1] || (i[1] = (o) => R(y.value[0]))
1216
+ }, go))
1213
1217
  ]),
1214
- t("div", go, [
1215
- _o,
1218
+ t("div", _o, [
1219
+ mo,
1216
1220
  (a(), r("svg", {
1217
1221
  width: "18",
1218
1222
  height: "18",
1219
1223
  viewBox: "0 0 18 18",
1220
1224
  fill: "none",
1221
1225
  xmlns: "http://www.w3.org/2000/svg",
1222
- onClick: l[2] || (l[2] = (o) => R(y.value[1]))
1223
- }, Co))
1226
+ onClick: i[2] || (i[2] = (o) => R(y.value[1]))
1227
+ }, wo))
1224
1228
  ]),
1225
- t("div", wo, [
1226
- ko,
1229
+ t("div", ko, [
1230
+ bo,
1227
1231
  (a(), r("svg", {
1228
1232
  width: "18",
1229
1233
  height: "18",
1230
1234
  viewBox: "0 0 18 18",
1231
1235
  fill: "none",
1232
1236
  xmlns: "http://www.w3.org/2000/svg",
1233
- onClick: l[3] || (l[3] = (o) => R(y.value[2]))
1234
- }, yo))
1237
+ onClick: i[3] || (i[3] = (o) => R(y.value[2]))
1238
+ }, xo))
1235
1239
  ]),
1236
- xo,
1237
- t("div", So, [
1238
- Lo,
1240
+ So,
1241
+ t("div", Lo, [
1242
+ Mo,
1239
1243
  (a(), r("svg", {
1240
1244
  width: "18",
1241
1245
  height: "18",
1242
1246
  viewBox: "0 0 18 18",
1243
1247
  fill: "none",
1244
1248
  xmlns: "http://www.w3.org/2000/svg",
1245
- onClick: l[4] || (l[4] = (o) => R(y.value[3]))
1246
- }, $o))
1249
+ onClick: i[4] || (i[4] = (o) => R(y.value[3]))
1250
+ }, Bo))
1247
1251
  ]),
1248
- t("div", Bo, [
1249
- Eo,
1252
+ t("div", Eo, [
1253
+ Ro,
1250
1254
  (a(), r("svg", {
1251
1255
  width: "18",
1252
1256
  height: "18",
1253
1257
  viewBox: "0 0 18 18",
1254
1258
  fill: "none",
1255
1259
  xmlns: "http://www.w3.org/2000/svg",
1256
- onClick: l[5] || (l[5] = (o) => R(y.value[4]))
1257
- }, To))
1260
+ onClick: i[5] || (i[5] = (o) => R(y.value[4]))
1261
+ }, Po))
1258
1262
  ]),
1259
- t("div", Po, [
1260
- Io,
1263
+ t("div", Io, [
1264
+ Oo,
1261
1265
  (a(), r("svg", {
1262
1266
  width: "18",
1263
1267
  height: "18",
1264
1268
  viewBox: "0 0 18 18",
1265
1269
  fill: "none",
1266
1270
  xmlns: "http://www.w3.org/2000/svg",
1267
- onClick: l[6] || (l[6] = (o) => R(y.value[5]))
1268
- }, Do))
1271
+ onClick: i[6] || (i[6] = (o) => R(y.value[5]))
1272
+ }, Vo))
1269
1273
  ]),
1270
- Vo
1274
+ Fo
1271
1275
  ]),
1272
- (a(!0), r(P, null, j(p.value, (o) => (a(), r("div", {
1276
+ (a(!0), r(P, null, W(p.value, (o) => (a(), r("div", {
1273
1277
  key: `i-${o.id}`,
1274
1278
  class: "row scrollable-row"
1275
1279
  }, [
1276
1280
  t("div", {
1277
1281
  class: x(["row team-info", { odd: o.isOdd }])
1278
1282
  }, [
1279
- t("div", Fo, [
1283
+ t("div", zo, [
1280
1284
  t("img", {
1281
1285
  src: o.team_logo,
1282
1286
  alt: "team logo"
1283
- }, null, 8, zo)
1287
+ }, null, 8, Ao)
1284
1288
  ]),
1285
- t("div", Ao, g(o.team_abrev), 1)
1289
+ t("div", jo, g(o.team_abrev), 1)
1286
1290
  ], 2),
1287
1291
  t("div", {
1288
1292
  class: x(["row data-info", { odd: o.isOdd }])
@@ -1297,7 +1301,7 @@ const Qt = /* @__PURE__ */ Wt(J, [["render", Kt], ["__scopeId", "data-v-f3ee6b2b
1297
1301
  src: o.player_country_flag,
1298
1302
  alt: "player country flag",
1299
1303
  class: "country-flag"
1300
- }, null, 8, jo)
1304
+ }, null, 8, Wo)
1301
1305
  ], 2),
1302
1306
  t("div", {
1303
1307
  class: x(["row data-info", { odd: o.isOdd }])
@@ -1311,7 +1315,7 @@ const Qt = /* @__PURE__ */ Wt(J, [["render", Kt], ["__scopeId", "data-v-f3ee6b2b
1311
1315
  t("div", {
1312
1316
  class: x(["row data-info", { odd: o.isOdd }])
1313
1317
  }, [
1314
- rt(ct(Qt), {
1318
+ rt(ct(Yt), {
1315
1319
  icon: "https://golstatsimages.blob.core.windows.net/images-library/arrow-btn.png",
1316
1320
  "icon-size": "19px",
1317
1321
  "icon-position": "left",
@@ -1328,7 +1332,7 @@ const Qt = /* @__PURE__ */ Wt(J, [["render", Kt], ["__scopeId", "data-v-f3ee6b2b
1328
1332
  }, null, 8, ["onClick"])
1329
1333
  ], 2)
1330
1334
  ]))), 128))
1331
- ], 64)) : (a(), dt(ce, {
1335
+ ], 64)) : (a(), dt(ue, {
1332
1336
  key: 1,
1333
1337
  ref_key: "scrollColumns",
1334
1338
  ref: E,
@@ -1342,7 +1346,7 @@ const Qt = /* @__PURE__ */ Wt(J, [["render", Kt], ["__scopeId", "data-v-f3ee6b2b
1342
1346
  ], 4))
1343
1347
  ], 64));
1344
1348
  }
1345
- }, Ho = /* @__PURE__ */ pt(Wo, [["__scopeId", "data-v-04e96d04"]]);
1349
+ }, Go = /* @__PURE__ */ pt(Zo, [["__scopeId", "data-v-4cd58a78"]]);
1346
1350
  export {
1347
- Ho as GSCTableScrollable
1351
+ Go as GSCTableScrollable
1348
1352
  };