sass-template-common 0.3.61 → 0.3.62

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.
@@ -160,7 +160,7 @@ function $s() {
160
160
  (function(n, s) {
161
161
  e.exports = s();
162
162
  })(ar, (function() {
163
- var n = 1e3, s = 6e4, o = 36e5, r = "millisecond", i = "second", c = "minute", u = "hour", l = "day", d = "week", h = "month", m = "quarter", p = "year", g = "date", A = "Invalid Date", w = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, C = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, N = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(M) {
163
+ var n = 1e3, s = 6e4, o = 36e5, r = "millisecond", i = "second", c = "minute", d = "hour", l = "day", u = "week", h = "month", m = "quarter", p = "year", g = "date", A = "Invalid Date", w = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, C = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, N = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(M) {
164
164
  var U = ["th", "st", "nd", "rd"], I = M % 100;
165
165
  return "[" + M + (U[(I - 20) % 10] || U[I] || U[0]) + "]";
166
166
  } }, b = function(M, U, I) {
@@ -176,7 +176,7 @@ function $s() {
176
176
  }, a: function(M) {
177
177
  return M < 0 ? Math.ceil(M) || 0 : Math.floor(M);
178
178
  }, p: function(M) {
179
- return { M: h, y: p, w: d, d: l, D: g, h: u, m: c, s: i, ms: r, Q: m }[M] || String(M || "").toLowerCase().replace(/s$/, "");
179
+ return { M: h, y: p, w: u, d: l, D: g, h: d, m: c, s: i, ms: r, Q: m }[M] || String(M || "").toLowerCase().replace(/s$/, "");
180
180
  }, u: function(M) {
181
181
  return M === void 0;
182
182
  } }, v = "en", E = {};
@@ -256,13 +256,13 @@ function $s() {
256
256
  return z ? S(1, 0) : S(31, 11);
257
257
  case h:
258
258
  return z ? S(1, P) : S(0, P + 1);
259
- case d:
259
+ case u:
260
260
  var F = this.$locale().weekStart || 0, Z = (j < F ? j + 7 : j) - F;
261
261
  return S(z ? H - Z : H + (6 - Z), P);
262
262
  case l:
263
263
  case g:
264
264
  return R(V + "Hours", 0);
265
- case u:
265
+ case d:
266
266
  return R(V + "Minutes", 1);
267
267
  case c:
268
268
  return R(V + "Seconds", 2);
@@ -274,7 +274,7 @@ function $s() {
274
274
  }, U.endOf = function(I) {
275
275
  return this.startOf(I, !1);
276
276
  }, U.$set = function(I, D) {
277
- var T, z = B.p(I), y = "set" + (this.$u ? "UTC" : ""), S = (T = {}, T[l] = y + "Date", T[g] = y + "Date", T[h] = y + "Month", T[p] = y + "FullYear", T[u] = y + "Hours", T[c] = y + "Minutes", T[i] = y + "Seconds", T[r] = y + "Milliseconds", T)[z], R = z === l ? this.$D + (D - this.$W) : D;
277
+ var T, z = B.p(I), y = "set" + (this.$u ? "UTC" : ""), S = (T = {}, T[l] = y + "Date", T[g] = y + "Date", T[h] = y + "Month", T[p] = y + "FullYear", T[d] = y + "Hours", T[c] = y + "Minutes", T[i] = y + "Seconds", T[r] = y + "Milliseconds", T)[z], R = z === l ? this.$D + (D - this.$W) : D;
278
278
  if (z === h || z === p) {
279
279
  var j = this.clone().set(g, 1);
280
280
  j.$d[S](R), j.init(), this.$d = j.set(g, Math.min(this.$D, j.daysInMonth())).$d;
@@ -294,8 +294,8 @@ function $s() {
294
294
  if (y === h) return this.set(h, this.$M + I);
295
295
  if (y === p) return this.set(p, this.$y + I);
296
296
  if (y === l) return S(1);
297
- if (y === d) return S(7);
298
- var R = (T = {}, T[c] = s, T[u] = o, T[i] = n, T)[y] || 1, j = this.$d.getTime() + I * R;
297
+ if (y === u) return S(7);
298
+ var R = (T = {}, T[c] = s, T[d] = o, T[i] = n, T)[y] || 1, j = this.$d.getTime() + I * R;
299
299
  return B.w(j, this);
300
300
  }, U.subtract = function(I, D) {
301
301
  return this.add(-1 * I, D);
@@ -381,13 +381,13 @@ function $s() {
381
381
  case m:
382
382
  z = H() / 3;
383
383
  break;
384
- case d:
384
+ case u:
385
385
  z = (P - j) / 6048e5;
386
386
  break;
387
387
  case l:
388
388
  z = (P - j) / 864e5;
389
389
  break;
390
- case u:
390
+ case d:
391
391
  z = P / o;
392
392
  break;
393
393
  case c:
@@ -420,7 +420,7 @@ function $s() {
420
420
  return this.$d.toUTCString();
421
421
  }, M;
422
422
  })(), le = te.prototype;
423
- return G.prototype = le, [["$ms", r], ["$s", i], ["$m", c], ["$H", u], ["$W", l], ["$M", h], ["$y", p], ["$D", g]].forEach((function(M) {
423
+ return G.prototype = le, [["$ms", r], ["$s", i], ["$m", c], ["$H", d], ["$W", l], ["$M", h], ["$y", p], ["$D", g]].forEach((function(M) {
424
424
  le[M[1]] = function(U) {
425
425
  return this.$g(U, M[0], M[1]);
426
426
  };
@@ -443,10 +443,10 @@ function rr() {
443
443
  return function(n, s, o) {
444
444
  n = n || {};
445
445
  var r = s.prototype, i = { future: "in %s", past: "%s ago", s: "a few seconds", m: "a minute", mm: "%d minutes", h: "an hour", hh: "%d hours", d: "a day", dd: "%d days", M: "a month", MM: "%d months", y: "a year", yy: "%d years" };
446
- function c(l, d, h, m) {
447
- return r.fromToBase(l, d, h, m);
446
+ function c(l, u, h, m) {
447
+ return r.fromToBase(l, u, h, m);
448
448
  }
449
- o.en.relativeTime = i, r.fromToBase = function(l, d, h, m, p) {
449
+ o.en.relativeTime = i, r.fromToBase = function(l, u, h, m, p) {
450
450
  for (var g, A, w, C = h.$locale().relativeTime || i, N = n.thresholds || [{ l: "s", r: 44, d: "second" }, { l: "m", r: 89 }, { l: "mm", r: 44, d: "minute" }, { l: "h", r: 89 }, { l: "hh", r: 21, d: "hour" }, { l: "d", r: 35 }, { l: "dd", r: 25, d: "day" }, { l: "M", r: 45 }, { l: "MM", r: 10, d: "month" }, { l: "y", r: 17 }, { l: "yy", d: "year" }], b = N.length, x = 0; x < b; x += 1) {
451
451
  var v = N[x];
452
452
  v.d && (g = m ? o(l).diff(h, v.d, !0) : h.diff(l, v.d, !0));
@@ -454,25 +454,25 @@ function rr() {
454
454
  if (w = g > 0, E <= v.r || !v.r) {
455
455
  E <= 1 && x > 0 && (v = N[x - 1]);
456
456
  var O = C[v.l];
457
- p && (E = p("" + E)), A = typeof O == "string" ? O.replace("%d", E) : O(E, d, v.l, w);
457
+ p && (E = p("" + E)), A = typeof O == "string" ? O.replace("%d", E) : O(E, u, v.l, w);
458
458
  break;
459
459
  }
460
460
  }
461
- if (d) return A;
461
+ if (u) return A;
462
462
  var Q = w ? C.future : C.past;
463
463
  return typeof Q == "function" ? Q(A) : Q.replace("%s", A);
464
- }, r.to = function(l, d) {
465
- return c(l, d, this, !0);
466
- }, r.from = function(l, d) {
467
- return c(l, d, this);
464
+ }, r.to = function(l, u) {
465
+ return c(l, u, this, !0);
466
+ }, r.from = function(l, u) {
467
+ return c(l, u, this);
468
468
  };
469
- var u = function(l) {
469
+ var d = function(l) {
470
470
  return l.$u ? o.utc() : o();
471
471
  };
472
472
  r.toNow = function(l) {
473
- return this.to(u(this), l);
473
+ return this.to(d(this), l);
474
474
  }, r.fromNow = function(l) {
475
- return this.from(u(this), l);
475
+ return this.from(d(this), l);
476
476
  };
477
477
  };
478
478
  }));
@@ -505,29 +505,29 @@ function hr() {
505
505
  })(ur, (function() {
506
506
  var n = "minute", s = /[+-]\d\d(?::?\d\d)?/g, o = /([+-]|\d\d)/g;
507
507
  return function(r, i, c) {
508
- var u = i.prototype;
508
+ var d = i.prototype;
509
509
  c.utc = function(A) {
510
510
  var w = { date: A, utc: !0, args: arguments };
511
511
  return new i(w);
512
- }, u.utc = function(A) {
512
+ }, d.utc = function(A) {
513
513
  var w = c(this.toDate(), { locale: this.$L, utc: !0 });
514
514
  return A ? w.add(this.utcOffset(), n) : w;
515
- }, u.local = function() {
515
+ }, d.local = function() {
516
516
  return c(this.toDate(), { locale: this.$L, utc: !1 });
517
517
  };
518
- var l = u.parse;
519
- u.parse = function(A) {
518
+ var l = d.parse;
519
+ d.parse = function(A) {
520
520
  A.utc && (this.$u = !0), this.$utils().u(A.$offset) || (this.$offset = A.$offset), l.call(this, A);
521
521
  };
522
- var d = u.init;
523
- u.init = function() {
522
+ var u = d.init;
523
+ d.init = function() {
524
524
  if (this.$u) {
525
525
  var A = this.$d;
526
526
  this.$y = A.getUTCFullYear(), this.$M = A.getUTCMonth(), this.$D = A.getUTCDate(), this.$W = A.getUTCDay(), this.$H = A.getUTCHours(), this.$m = A.getUTCMinutes(), this.$s = A.getUTCSeconds(), this.$ms = A.getUTCMilliseconds();
527
- } else d.call(this);
527
+ } else u.call(this);
528
528
  };
529
- var h = u.utcOffset;
530
- u.utcOffset = function(A, w) {
529
+ var h = d.utcOffset;
530
+ d.utcOffset = function(A, w) {
531
531
  var C = this.$utils().u;
532
532
  if (C(A)) return this.$u ? 0 : C(this.$offset) ? h.call(this) : this.$offset;
533
533
  if (typeof A == "string" && (A = (function(v) {
@@ -544,26 +544,26 @@ function hr() {
544
544
  var x = this.$u ? this.toDate().getTimezoneOffset() : -1 * this.utcOffset();
545
545
  return (b = this.local().add(N + x, n)).$offset = N, b.$x.$localOffset = x, b;
546
546
  };
547
- var m = u.format;
548
- u.format = function(A) {
547
+ var m = d.format;
548
+ d.format = function(A) {
549
549
  var w = A || (this.$u ? "YYYY-MM-DDTHH:mm:ss[Z]" : "");
550
550
  return m.call(this, w);
551
- }, u.valueOf = function() {
551
+ }, d.valueOf = function() {
552
552
  var A = this.$utils().u(this.$offset) ? 0 : this.$offset + (this.$x.$localOffset || this.$d.getTimezoneOffset());
553
553
  return this.$d.valueOf() - 6e4 * A;
554
- }, u.isUTC = function() {
554
+ }, d.isUTC = function() {
555
555
  return !!this.$u;
556
- }, u.toISOString = function() {
556
+ }, d.toISOString = function() {
557
557
  return this.toDate().toISOString();
558
- }, u.toString = function() {
558
+ }, d.toString = function() {
559
559
  return this.toDate().toUTCString();
560
560
  };
561
- var p = u.toDate;
562
- u.toDate = function(A) {
561
+ var p = d.toDate;
562
+ d.toDate = function(A) {
563
563
  return A === "s" && this.$offset ? c(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate() : p.call(this);
564
564
  };
565
- var g = u.diff;
566
- u.diff = function(A, w, C) {
565
+ var g = d.diff;
566
+ d.diff = function(A, w, C) {
567
567
  if (A && this.$u === A.$u) return g.call(this, A, w, C);
568
568
  var N = this.local(), b = c(A).local();
569
569
  return g.call(N, b, w, C);
@@ -582,7 +582,7 @@ function pr() {
582
582
  })(gr, (function() {
583
583
  var n = { year: 0, month: 1, day: 2, hour: 3, minute: 4, second: 5 }, s = {};
584
584
  return function(o, r, i) {
585
- var c, u = function(m, p, g) {
585
+ var c, d = function(m, p, g) {
586
586
  g === void 0 && (g = {});
587
587
  var A = new Date(m), w = (function(C, N) {
588
588
  N === void 0 && (N = {});
@@ -591,14 +591,14 @@ function pr() {
591
591
  })(p, g);
592
592
  return w.formatToParts(A);
593
593
  }, l = function(m, p) {
594
- for (var g = u(m, p), A = [], w = 0; w < g.length; w += 1) {
594
+ for (var g = d(m, p), A = [], w = 0; w < g.length; w += 1) {
595
595
  var C = g[w], N = C.type, b = C.value, x = n[N];
596
596
  x >= 0 && (A[x] = parseInt(b, 10));
597
597
  }
598
598
  var v = A[3], E = v === 24 ? 0 : v, O = A[0] + "-" + A[1] + "-" + A[2] + " " + E + ":" + A[4] + ":" + A[5] + ":000", Q = +m;
599
599
  return (i.utc(O).valueOf() - (Q -= Q % 1e3)) / 6e4;
600
- }, d = r.prototype;
601
- d.tz = function(m, p) {
600
+ }, u = r.prototype;
601
+ u.tz = function(m, p) {
602
602
  m === void 0 && (m = c);
603
603
  var g, A = this.utcOffset(), w = this.toDate(), C = w.toLocaleString("en-US", { timeZone: m }), N = Math.round((w - new Date(C)) / 1e3 / 60), b = 15 * -Math.round(w.getTimezoneOffset() / 15) - N;
604
604
  if (!Number(b)) g = this.utcOffset(0, p);
@@ -607,14 +607,14 @@ function pr() {
607
607
  g = g.add(A - x, "minute");
608
608
  }
609
609
  return g.$x.$timezone = m, g;
610
- }, d.offsetName = function(m) {
611
- var p = this.$x.$timezone || i.tz.guess(), g = u(this.valueOf(), p, { timeZoneName: m }).find((function(A) {
610
+ }, u.offsetName = function(m) {
611
+ var p = this.$x.$timezone || i.tz.guess(), g = d(this.valueOf(), p, { timeZoneName: m }).find((function(A) {
612
612
  return A.type.toLowerCase() === "timezonename";
613
613
  }));
614
614
  return g && g.value;
615
615
  };
616
- var h = d.startOf;
617
- d.startOf = function(m, p) {
616
+ var h = u.startOf;
617
+ u.startOf = function(m, p) {
618
618
  if (!this.$x || !this.$x.$timezone) return h.call(this, m, p);
619
619
  var g = i(this.format("YYYY-MM-DD HH:mm:ss:SSS"), { locale: this.$L });
620
620
  return h.call(g, m, p).tz(this.$x.$timezone, !0);
@@ -803,13 +803,13 @@ const vr = async (e, t) => {
803
803
  let n = 0;
804
804
  const s = (i) => t.push(i);
805
805
  return e.title && typeof e.title == "string" && s(/* @__PURE__ */ a("title", { children: e.title }, `title-${n++}`)), Object.entries(Sr).forEach(([i, c]) => {
806
- const u = i.split(".").reduce((l, d) => l?.[d], e);
807
- u && s(
806
+ const d = i.split(".").reduce((l, u) => l?.[u], e);
807
+ d && s(
808
808
  /* @__PURE__ */ a(
809
809
  "meta",
810
810
  {
811
811
  [c.attr]: c.value,
812
- content: String(u)
812
+ content: String(d)
813
813
  },
814
814
  `meta-${n++}`
815
815
  )
@@ -928,16 +928,16 @@ const vr = async (e, t) => {
928
928
  if (!t || !t.show) return null;
929
929
  const n = ba(t.value || "", e.replaces), s = /<script([^>]*)>([\s\S]*?)<\/script\s*>/gi, o = [...n.matchAll(s)];
930
930
  return /* @__PURE__ */ a(J, { children: o.map((r, i) => {
931
- const c = r[1] || "", u = r[2]?.trim() || "", l = c.match(/src=["']([^"']+)["']/i);
931
+ const c = r[1] || "", d = r[2]?.trim() || "", l = c.match(/src=["']([^"']+)["']/i);
932
932
  if (l) {
933
- const d = l[1];
934
- return /* @__PURE__ */ a("script", { src: d, async: !0 }, i);
933
+ const u = l[1];
934
+ return /* @__PURE__ */ a("script", { src: u, async: !0 }, i);
935
935
  } else
936
936
  return /* @__PURE__ */ a(
937
937
  "script",
938
938
  {
939
939
  id: e.name,
940
- dangerouslySetInnerHTML: { __html: u }
940
+ dangerouslySetInnerHTML: { __html: d }
941
941
  },
942
942
  i
943
943
  );
@@ -951,16 +951,16 @@ const vr = async (e, t) => {
951
951
  /<script([^>]*)>([\s\S]*?)<\/script\s*>/i
952
952
  );
953
953
  if (i) {
954
- const c = i[1] || "", u = i[2]?.trim() || "", l = c.match(/src=["']([^"']+)["']/i);
954
+ const c = i[1] || "", d = i[2]?.trim() || "", l = c.match(/src=["']([^"']+)["']/i);
955
955
  if (l) {
956
- const d = l[1];
957
- return /* @__PURE__ */ a("script", { src: d, async: !0 }, r);
956
+ const u = l[1];
957
+ return /* @__PURE__ */ a("script", { src: u, async: !0 }, r);
958
958
  } else
959
959
  return /* @__PURE__ */ a(
960
960
  "script",
961
961
  {
962
962
  id: e.name,
963
- dangerouslySetInnerHTML: { __html: u }
963
+ dangerouslySetInnerHTML: { __html: d }
964
964
  },
965
965
  r
966
966
  );
@@ -1114,13 +1114,13 @@ const At = (e, t) => {
1114
1114
  }) => {
1115
1115
  const { PUBLIC_PUBLICATION_ID: o = "" } = ee();
1116
1116
  let r = [];
1117
- const i = n === "/" || n === "/index.html" ? void 0 : Gr(Hr[s]({ pathname: n, config: e })), c = Br[s] ?? void 0, u = {
1117
+ const i = n === "/" || n === "/index.html" ? void 0 : Gr(Hr[s]({ pathname: n, config: e })), c = Br[s] ?? void 0, d = {
1118
1118
  newstype: e.newsType,
1119
1119
  publication: Number(o),
1120
1120
  ...i && c ? { query: `${c}:('${i}')` } : {}
1121
1121
  };
1122
1122
  try {
1123
- const l = await Na(u, "/news-list-summary", t);
1123
+ const l = await Na(d, "/news-list-summary", t);
1124
1124
  l?.data?.data ? r = l.data.data : console.warn(
1125
1125
  "getSchemas responded but did not contain expected data:",
1126
1126
  l
@@ -1154,16 +1154,16 @@ const Pr = async ({
1154
1154
  const { PUBLIC_SERVICE_PREFIX: o, PUBLIC_IS_SUB_PUBLICATION: r } = ee();
1155
1155
  let i = [];
1156
1156
  try {
1157
- const c = t.socialBlockLogo?.url ? new URL(t.socialBlockLogo.url).pathname : void 0, u = t.landscapeLogo?.url ? new URL(t.landscapeLogo.url).pathname : void 0, l = {
1157
+ const c = t.socialBlockLogo?.url ? new URL(t.socialBlockLogo.url).pathname : void 0, d = t.landscapeLogo?.url ? new URL(t.landscapeLogo.url).pathname : void 0, l = {
1158
1158
  path: e,
1159
- image: u,
1159
+ image: d,
1160
1160
  logo: c,
1161
1161
  url: t.siteUrl,
1162
1162
  name: t.name,
1163
1163
  logow: t.socialBlockLogo?.width,
1164
1164
  logoh: t.socialBlockLogo?.height,
1165
1165
  authorurl: n + "/autor/"
1166
- }, d = e.split("/")[1], h = d == "liveblogs" || d == "liveblog" ? ["/news", "/news-breadcrumb", "/news-liveblog"] : ["/news", "/news-breadcrumb"], m = t.paths.tema !== "" ? "/" + t.paths.tema : t.paths.tema, p = o !== "false" && r !== "false" ? "/" + o + m : m;
1166
+ }, u = e.split("/")[1], h = u == "liveblogs" || u == "liveblog" ? ["/news", "/news-breadcrumb", "/news-liveblog"] : ["/news", "/news-breadcrumb"], m = t.paths.tema !== "" ? "/" + t.paths.tema : t.paths.tema, p = o !== "false" && r !== "false" ? "/" + o + m : m;
1167
1167
  i = (await Promise.all(
1168
1168
  h.map(async (A) => {
1169
1169
  const w = A === "/news-breadcrumb" ? { ...l, prefixtag: p } : l;
@@ -1173,7 +1173,7 @@ const Pr = async ({
1173
1173
  } catch (c) {
1174
1174
  console.log("Error fetching schemas:", c);
1175
1175
  }
1176
- return i.map((c, u) => /* @__PURE__ */ a(
1176
+ return i.map((c, d) => /* @__PURE__ */ a(
1177
1177
  "script",
1178
1178
  {
1179
1179
  type: "application/ld+json",
@@ -1181,7 +1181,7 @@ const Pr = async ({
1181
1181
  __html: Tn(JSON.stringify(c))
1182
1182
  }
1183
1183
  },
1184
- u
1184
+ d
1185
1185
  ));
1186
1186
  }, Dr = ({ config: e, socials: t }) => {
1187
1187
  const n = {
@@ -1676,8 +1676,8 @@ const Ni = (e) => {
1676
1676
  t[o] = s;
1677
1677
  const r = Tt(s) ? [] : {};
1678
1678
  return Ft(s, (i, c) => {
1679
- const u = n(i, o + 1);
1680
- !xt(u) && (r[c] = u);
1679
+ const d = n(i, o + 1);
1680
+ !xt(d) && (r[c] = d);
1681
1681
  }), t[o] = void 0, r;
1682
1682
  }
1683
1683
  }
@@ -1797,11 +1797,11 @@ Object.defineProperties(Y, ro);
1797
1797
  Object.defineProperty(oo, "isAxiosError", { value: !0 });
1798
1798
  Y.from = (e, t, n, s, o, r) => {
1799
1799
  const i = Object.create(oo);
1800
- _.toFlatObject(e, i, function(d) {
1801
- return d !== Error.prototype;
1800
+ _.toFlatObject(e, i, function(u) {
1801
+ return u !== Error.prototype;
1802
1802
  }, (l) => l !== "isAxiosError");
1803
- const c = e && e.message ? e.message : "Error", u = t == null && e ? e.code : t;
1804
- return Y.call(i, c, u, n, s, o), e && i.cause == null && Object.defineProperty(i, "cause", { value: e, configurable: !0 }), i.name = e && e.name || "Error", r && Object.assign(i, r), i;
1803
+ const c = e && e.message ? e.message : "Error", d = t == null && e ? e.code : t;
1804
+ return Y.call(i, c, d, n, s, o), e && i.cause == null && Object.defineProperty(i, "cause", { value: e, configurable: !0 }), i.name = e && e.name || "Error", r && Object.assign(i, r), i;
1805
1805
  };
1806
1806
  const Ti = null;
1807
1807
  function la(e) {
@@ -1831,7 +1831,7 @@ function Ln(e, t, n) {
1831
1831
  }, !1, function(A, w) {
1832
1832
  return !_.isUndefined(w[A]);
1833
1833
  });
1834
- const s = n.metaTokens, o = n.visitor || d, r = n.dots, i = n.indexes, u = (n.Blob || typeof Blob < "u" && Blob) && _.isSpecCompliantForm(t);
1834
+ const s = n.metaTokens, o = n.visitor || u, r = n.dots, i = n.indexes, d = (n.Blob || typeof Blob < "u" && Blob) && _.isSpecCompliantForm(t);
1835
1835
  if (!_.isFunction(o))
1836
1836
  throw new TypeError("visitor must be a function");
1837
1837
  function l(g) {
@@ -1840,11 +1840,11 @@ function Ln(e, t, n) {
1840
1840
  return g.toISOString();
1841
1841
  if (_.isBoolean(g))
1842
1842
  return g.toString();
1843
- if (!u && _.isBlob(g))
1843
+ if (!d && _.isBlob(g))
1844
1844
  throw new Y("Blob is not supported. Use a Buffer instead.");
1845
- return _.isArrayBuffer(g) || _.isTypedArray(g) ? u && typeof Blob == "function" ? new Blob([g]) : Buffer.from(g) : g;
1845
+ return _.isArrayBuffer(g) || _.isTypedArray(g) ? d && typeof Blob == "function" ? new Blob([g]) : Buffer.from(g) : g;
1846
1846
  }
1847
- function d(g, A, w) {
1847
+ function u(g, A, w) {
1848
1848
  let C = g;
1849
1849
  if (g && !w && typeof g == "object") {
1850
1850
  if (_.endsWith(A, "{}"))
@@ -1861,7 +1861,7 @@ function Ln(e, t, n) {
1861
1861
  return la(g) ? !0 : (t.append(Za(w, A, r), l(g)), !1);
1862
1862
  }
1863
1863
  const h = [], m = Object.assign(Ui, {
1864
- defaultVisitor: d,
1864
+ defaultVisitor: u,
1865
1865
  convertValue: l,
1866
1866
  isVisitable: la
1867
1867
  });
@@ -2033,8 +2033,8 @@ function ho(e) {
2033
2033
  function t(n, s, o, r) {
2034
2034
  let i = n[r++];
2035
2035
  if (i === "__proto__") return !0;
2036
- const c = Number.isFinite(+i), u = r >= n.length;
2037
- return i = !i && _.isArray(o) ? o.length : i, u ? (_.hasOwnProp(o, i) ? o[i] = [o[i], s] : o[i] = s, !c) : ((!o[i] || !_.isObject(o[i])) && (o[i] = []), t(n, s, o[i], r) && _.isArray(o[i]) && (o[i] = Hi(o[i])), !c);
2036
+ const c = Number.isFinite(+i), d = r >= n.length;
2037
+ return i = !i && _.isArray(o) ? o.length : i, d ? (_.hasOwnProp(o, i) ? o[i] = [o[i], s] : o[i] = s, !c) : ((!o[i] || !_.isObject(o[i])) && (o[i] = []), t(n, s, o[i], r) && _.isArray(o[i]) && (o[i] = Hi(o[i])), !c);
2038
2038
  }
2039
2039
  if (_.isFormData(e) && _.isFunction(e.entries)) {
2040
2040
  const n = {};
@@ -2072,10 +2072,10 @@ const $t = {
2072
2072
  if (s.indexOf("application/x-www-form-urlencoded") > -1)
2073
2073
  return Qi(t, this.formSerializer).toString();
2074
2074
  if ((c = _.isFileList(t)) || s.indexOf("multipart/form-data") > -1) {
2075
- const u = this.env && this.env.FormData;
2075
+ const d = this.env && this.env.FormData;
2076
2076
  return Ln(
2077
2077
  c ? { "files[]": t } : t,
2078
- u && new u(),
2078
+ d && new d(),
2079
2079
  this.formSerializer
2080
2080
  );
2081
2081
  }
@@ -2193,24 +2193,24 @@ let Se = class {
2193
2193
  }
2194
2194
  set(t, n, s) {
2195
2195
  const o = this;
2196
- function r(c, u, l) {
2197
- const d = qt(u);
2198
- if (!d)
2196
+ function r(c, d, l) {
2197
+ const u = qt(d);
2198
+ if (!u)
2199
2199
  throw new Error("header name must be a non-empty string");
2200
- const h = _.findKey(o, d);
2201
- (!h || o[h] === void 0 || l === !0 || l === void 0 && o[h] !== !1) && (o[h || u] = An(c));
2200
+ const h = _.findKey(o, u);
2201
+ (!h || o[h] === void 0 || l === !0 || l === void 0 && o[h] !== !1) && (o[h || d] = An(c));
2202
2202
  }
2203
- const i = (c, u) => _.forEach(c, (l, d) => r(l, d, u));
2203
+ const i = (c, d) => _.forEach(c, (l, u) => r(l, u, d));
2204
2204
  if (_.isPlainObject(t) || t instanceof this.constructor)
2205
2205
  i(t, n);
2206
2206
  else if (_.isString(t) && (t = t.trim()) && !Wi(t))
2207
2207
  i(Fi(t), n);
2208
2208
  else if (_.isObject(t) && _.isIterable(t)) {
2209
- let c = {}, u, l;
2210
- for (const d of t) {
2211
- if (!_.isArray(d))
2209
+ let c = {}, d, l;
2210
+ for (const u of t) {
2211
+ if (!_.isArray(u))
2212
2212
  throw TypeError("Object iterator must return a key-value pair");
2213
- c[l = d[0]] = (u = c[l]) ? _.isArray(u) ? [...u, d[1]] : [u, d[1]] : d[1];
2213
+ c[l = u[0]] = (d = c[l]) ? _.isArray(d) ? [...d, u[1]] : [d, u[1]] : u[1];
2214
2214
  }
2215
2215
  i(c, n);
2216
2216
  } else
@@ -2358,26 +2358,26 @@ function Zi(e, t) {
2358
2358
  e = e || 10;
2359
2359
  const n = new Array(e), s = new Array(e);
2360
2360
  let o = 0, r = 0, i;
2361
- return t = t !== void 0 ? t : 1e3, function(u) {
2362
- const l = Date.now(), d = s[r];
2363
- i || (i = l), n[o] = u, s[o] = l;
2361
+ return t = t !== void 0 ? t : 1e3, function(d) {
2362
+ const l = Date.now(), u = s[r];
2363
+ i || (i = l), n[o] = d, s[o] = l;
2364
2364
  let h = r, m = 0;
2365
2365
  for (; h !== o; )
2366
2366
  m += n[h++], h = h % e;
2367
2367
  if (o = (o + 1) % e, o === r && (r = (r + 1) % e), l - i < t)
2368
2368
  return;
2369
- const p = d && l - d;
2369
+ const p = u && l - u;
2370
2370
  return p ? Math.round(m * 1e3 / p) : void 0;
2371
2371
  };
2372
2372
  }
2373
2373
  function Xi(e, t) {
2374
2374
  let n = 0, s = 1e3 / t, o, r;
2375
- const i = (l, d = Date.now()) => {
2376
- n = d, o = null, r && (clearTimeout(r), r = null), e(...l);
2375
+ const i = (l, u = Date.now()) => {
2376
+ n = u, o = null, r && (clearTimeout(r), r = null), e(...l);
2377
2377
  };
2378
2378
  return [(...l) => {
2379
- const d = Date.now(), h = d - n;
2380
- h >= s ? i(l, d) : (o = l, r || (r = setTimeout(() => {
2379
+ const u = Date.now(), h = u - n;
2380
+ h >= s ? i(l, u) : (o = l, r || (r = setTimeout(() => {
2381
2381
  r = null, i(o);
2382
2382
  }, s - h)));
2383
2383
  }, () => o && i(o)];
@@ -2386,15 +2386,15 @@ const _n = (e, t, n = 3) => {
2386
2386
  let s = 0;
2387
2387
  const o = Zi(50, 250);
2388
2388
  return Xi((r) => {
2389
- const i = r.loaded, c = r.lengthComputable ? r.total : void 0, u = i - s, l = o(u), d = i <= c;
2389
+ const i = r.loaded, c = r.lengthComputable ? r.total : void 0, d = i - s, l = o(d), u = i <= c;
2390
2390
  s = i;
2391
2391
  const h = {
2392
2392
  loaded: i,
2393
2393
  total: c,
2394
2394
  progress: c ? i / c : void 0,
2395
- bytes: u,
2395
+ bytes: d,
2396
2396
  rate: l || void 0,
2397
- estimated: l && c && d ? (c - i) / l : void 0,
2397
+ estimated: l && c && u ? (c - i) / l : void 0,
2398
2398
  event: r,
2399
2399
  lengthComputable: c != null,
2400
2400
  [t ? "download" : "upload"]: !0
@@ -2454,32 +2454,32 @@ const ss = (e) => e instanceof Se ? { ...e } : e;
2454
2454
  function wt(e, t) {
2455
2455
  t = t || {};
2456
2456
  const n = {};
2457
- function s(l, d, h, m) {
2458
- return _.isPlainObject(l) && _.isPlainObject(d) ? _.merge.call({ caseless: m }, l, d) : _.isPlainObject(d) ? _.merge({}, d) : _.isArray(d) ? d.slice() : d;
2457
+ function s(l, u, h, m) {
2458
+ return _.isPlainObject(l) && _.isPlainObject(u) ? _.merge.call({ caseless: m }, l, u) : _.isPlainObject(u) ? _.merge({}, u) : _.isArray(u) ? u.slice() : u;
2459
2459
  }
2460
- function o(l, d, h, m) {
2461
- if (_.isUndefined(d)) {
2460
+ function o(l, u, h, m) {
2461
+ if (_.isUndefined(u)) {
2462
2462
  if (!_.isUndefined(l))
2463
2463
  return s(void 0, l, h, m);
2464
- } else return s(l, d, h, m);
2464
+ } else return s(l, u, h, m);
2465
2465
  }
2466
- function r(l, d) {
2467
- if (!_.isUndefined(d))
2468
- return s(void 0, d);
2466
+ function r(l, u) {
2467
+ if (!_.isUndefined(u))
2468
+ return s(void 0, u);
2469
2469
  }
2470
- function i(l, d) {
2471
- if (_.isUndefined(d)) {
2470
+ function i(l, u) {
2471
+ if (_.isUndefined(u)) {
2472
2472
  if (!_.isUndefined(l))
2473
2473
  return s(void 0, l);
2474
- } else return s(void 0, d);
2474
+ } else return s(void 0, u);
2475
2475
  }
2476
- function c(l, d, h) {
2476
+ function c(l, u, h) {
2477
2477
  if (h in t)
2478
- return s(l, d);
2478
+ return s(l, u);
2479
2479
  if (h in e)
2480
2480
  return s(void 0, l);
2481
2481
  }
2482
- const u = {
2482
+ const d = {
2483
2483
  url: r,
2484
2484
  method: r,
2485
2485
  data: r,
@@ -2508,11 +2508,11 @@ function wt(e, t) {
2508
2508
  socketPath: i,
2509
2509
  responseEncoding: i,
2510
2510
  validateStatus: c,
2511
- headers: (l, d, h) => o(ss(l), ss(d), h, !0)
2511
+ headers: (l, u, h) => o(ss(l), ss(u), h, !0)
2512
2512
  };
2513
- return _.forEach(Object.keys({ ...e, ...t }), function(d) {
2514
- const h = u[d] || o, m = h(e[d], t[d], d);
2515
- _.isUndefined(m) && h !== c || (n[d] = m);
2513
+ return _.forEach(Object.keys({ ...e, ...t }), function(u) {
2514
+ const h = d[u] || o, m = h(e[u], t[u], u);
2515
+ _.isUndefined(m) && h !== c || (n[u] = m);
2516
2516
  }), n;
2517
2517
  }
2518
2518
  const po = (e) => {
@@ -2525,15 +2525,15 @@ const po = (e) => {
2525
2525
  if (we.hasStandardBrowserEnv || we.hasStandardBrowserWebWorkerEnv)
2526
2526
  i.setContentType(void 0);
2527
2527
  else if (_.isFunction(n.getHeaders)) {
2528
- const u = n.getHeaders(), l = ["content-type", "content-length"];
2529
- Object.entries(u).forEach(([d, h]) => {
2530
- l.includes(d.toLowerCase()) && i.set(d, h);
2528
+ const d = n.getHeaders(), l = ["content-type", "content-length"];
2529
+ Object.entries(d).forEach(([u, h]) => {
2530
+ l.includes(u.toLowerCase()) && i.set(u, h);
2531
2531
  });
2532
2532
  }
2533
2533
  }
2534
2534
  if (we.hasStandardBrowserEnv && (s && _.isFunction(s) && (s = s(t)), s || s !== !1 && ec(t.url))) {
2535
- const u = o && r && tc.read(r);
2536
- u && i.set(o, u);
2535
+ const d = o && r && tc.read(r);
2536
+ d && i.set(o, d);
2537
2537
  }
2538
2538
  return t;
2539
2539
  }, sc = typeof XMLHttpRequest < "u", oc = sc && function(e) {
@@ -2541,9 +2541,9 @@ const po = (e) => {
2541
2541
  const o = po(e);
2542
2542
  let r = o.data;
2543
2543
  const i = Se.from(o.headers).normalize();
2544
- let { responseType: c, onUploadProgress: u, onDownloadProgress: l } = o, d, h, m, p, g;
2544
+ let { responseType: c, onUploadProgress: d, onDownloadProgress: l } = o, u, h, m, p, g;
2545
2545
  function A() {
2546
- p && p(), g && g(), o.cancelToken && o.cancelToken.unsubscribe(d), o.signal && o.signal.removeEventListener("abort", d);
2546
+ p && p(), g && g(), o.cancelToken && o.cancelToken.unsubscribe(u), o.signal && o.signal.removeEventListener("abort", u);
2547
2547
  }
2548
2548
  let w = new XMLHttpRequest();
2549
2549
  w.open(o.method.toUpperCase(), o.url, !0), w.timeout = o.timeout;
@@ -2584,9 +2584,9 @@ const po = (e) => {
2584
2584
  )), w = null;
2585
2585
  }, r === void 0 && i.setContentType(null), "setRequestHeader" in w && _.forEach(i.toJSON(), function(x, v) {
2586
2586
  w.setRequestHeader(v, x);
2587
- }), _.isUndefined(o.withCredentials) || (w.withCredentials = !!o.withCredentials), c && c !== "json" && (w.responseType = o.responseType), l && ([m, g] = _n(l, !0), w.addEventListener("progress", m)), u && w.upload && ([h, p] = _n(u), w.upload.addEventListener("progress", h), w.upload.addEventListener("loadend", p)), (o.cancelToken || o.signal) && (d = (b) => {
2587
+ }), _.isUndefined(o.withCredentials) || (w.withCredentials = !!o.withCredentials), c && c !== "json" && (w.responseType = o.responseType), l && ([m, g] = _n(l, !0), w.addEventListener("progress", m)), d && w.upload && ([h, p] = _n(d), w.upload.addEventListener("progress", h), w.upload.addEventListener("loadend", p)), (o.cancelToken || o.signal) && (u = (b) => {
2588
2588
  w && (s(!b || b.type ? new kt(null, e, w) : b), w.abort(), w = null);
2589
- }, o.cancelToken && o.cancelToken.subscribe(d), o.signal && (o.signal.aborted ? d() : o.signal.addEventListener("abort", d)));
2589
+ }, o.cancelToken && o.cancelToken.subscribe(u), o.signal && (o.signal.aborted ? u() : o.signal.addEventListener("abort", u)));
2590
2590
  const N = Ji(o.url);
2591
2591
  if (N && we.protocols.indexOf(N) === -1) {
2592
2592
  s(new Y("Unsupported protocol " + N + ":", Y.ERR_BAD_REQUEST, e));
@@ -2601,8 +2601,8 @@ const po = (e) => {
2601
2601
  const r = function(l) {
2602
2602
  if (!o) {
2603
2603
  o = !0, c();
2604
- const d = l instanceof Error ? l : this.reason;
2605
- s.abort(d instanceof Y ? d : new kt(d instanceof Error ? d.message : d));
2604
+ const u = l instanceof Error ? l : this.reason;
2605
+ s.abort(u instanceof Y ? u : new kt(u instanceof Error ? u.message : u));
2606
2606
  }
2607
2607
  };
2608
2608
  let i = t && setTimeout(() => {
@@ -2614,8 +2614,8 @@ const po = (e) => {
2614
2614
  }), e = null);
2615
2615
  };
2616
2616
  e.forEach((l) => l.addEventListener("abort", r));
2617
- const { signal: u } = s;
2618
- return u.unsubscribe = () => _.asap(c), u;
2617
+ const { signal: d } = s;
2618
+ return d.unsubscribe = () => _.asap(c), d;
2619
2619
  }
2620
2620
  }, ic = function* (e, t) {
2621
2621
  let n = e.byteLength;
@@ -2647,29 +2647,29 @@ const po = (e) => {
2647
2647
  }
2648
2648
  }, os = (e, t, n, s) => {
2649
2649
  const o = cc(e, t);
2650
- let r = 0, i, c = (u) => {
2651
- i || (i = !0, s && s(u));
2650
+ let r = 0, i, c = (d) => {
2651
+ i || (i = !0, s && s(d));
2652
2652
  };
2653
2653
  return new ReadableStream({
2654
- async pull(u) {
2654
+ async pull(d) {
2655
2655
  try {
2656
- const { done: l, value: d } = await o.next();
2656
+ const { done: l, value: u } = await o.next();
2657
2657
  if (l) {
2658
- c(), u.close();
2658
+ c(), d.close();
2659
2659
  return;
2660
2660
  }
2661
- let h = d.byteLength;
2661
+ let h = u.byteLength;
2662
2662
  if (n) {
2663
2663
  let m = r += h;
2664
2664
  n(m);
2665
2665
  }
2666
- u.enqueue(new Uint8Array(d));
2666
+ d.enqueue(new Uint8Array(u));
2667
2667
  } catch (l) {
2668
2668
  throw c(l), l;
2669
2669
  }
2670
2670
  },
2671
- cancel(u) {
2672
- return c(u), o.return();
2671
+ cancel(d) {
2672
+ return c(d), o.return();
2673
2673
  }
2674
2674
  }, {
2675
2675
  highWaterMark: 2
@@ -2693,7 +2693,7 @@ const po = (e) => {
2693
2693
  const { fetch: t, Request: n, Response: s } = e, o = t ? Xt(t) : typeof fetch == "function", r = Xt(n), i = Xt(s);
2694
2694
  if (!o)
2695
2695
  return !1;
2696
- const c = o && Xt(is), u = o && (typeof cs == "function" ? /* @__PURE__ */ ((g) => (A) => g.encode(A))(new cs()) : async (g) => new Uint8Array(await new n(g).arrayBuffer())), l = r && c && ls(() => {
2696
+ const c = o && Xt(is), d = o && (typeof cs == "function" ? /* @__PURE__ */ ((g) => (A) => g.encode(A))(new cs()) : async (g) => new Uint8Array(await new n(g).arrayBuffer())), l = r && c && ls(() => {
2697
2697
  let g = !1;
2698
2698
  const A = new n(we.origin, {
2699
2699
  body: new is(),
@@ -2703,8 +2703,8 @@ const po = (e) => {
2703
2703
  }
2704
2704
  }).headers.has("Content-Type");
2705
2705
  return g && !A;
2706
- }), d = i && c && ls(() => _.isReadableStream(new s("").body)), h = {
2707
- stream: d && ((g) => g.body)
2706
+ }), u = i && c && ls(() => _.isReadableStream(new s("").body)), h = {
2707
+ stream: u && ((g) => g.body)
2708
2708
  };
2709
2709
  o && ["text", "arrayBuffer", "blob", "formData", "stream"].forEach((g) => {
2710
2710
  !h[g] && (h[g] = (A, w) => {
@@ -2727,7 +2727,7 @@ const po = (e) => {
2727
2727
  if (_.isArrayBufferView(g) || _.isArrayBuffer(g))
2728
2728
  return g.byteLength;
2729
2729
  if (_.isURLSearchParams(g) && (g = g + ""), _.isString(g))
2730
- return (await u(g)).byteLength;
2730
+ return (await d(g)).byteLength;
2731
2731
  }, p = async (g, A) => {
2732
2732
  const w = _.toFiniteNumber(g.getContentLength());
2733
2733
  return w ?? m(A);
@@ -2780,8 +2780,8 @@ const po = (e) => {
2780
2780
  };
2781
2781
  le = r && new n(A, D);
2782
2782
  let T = await (r ? B(le, G) : B(A, D));
2783
- const z = d && (O === "stream" || O === "response");
2784
- if (d && (v || z && M)) {
2783
+ const z = u && (O === "stream" || O === "response");
2784
+ if (u && (v || z && M)) {
2785
2785
  const S = {};
2786
2786
  ["status", "statusText", "headers"].forEach((H) => {
2787
2787
  S[H] = T[H];
@@ -2825,9 +2825,9 @@ const po = (e) => {
2825
2825
  o,
2826
2826
  n
2827
2827
  ];
2828
- let i = r.length, c = i, u, l, d = hc;
2828
+ let i = r.length, c = i, d, l, u = hc;
2829
2829
  for (; c--; )
2830
- u = r[c], l = d.get(u), l === void 0 && d.set(u, l = c ? /* @__PURE__ */ new Map() : uc(t)), d = l;
2830
+ d = r[c], l = u.get(d), l === void 0 && u.set(d, l = c ? /* @__PURE__ */ new Map() : uc(t)), u = l;
2831
2831
  return l;
2832
2832
  };
2833
2833
  Ao();
@@ -2864,7 +2864,7 @@ function fc(e, t) {
2864
2864
  }
2865
2865
  if (!o) {
2866
2866
  const i = Object.entries(r).map(
2867
- ([u, l]) => `adapter ${u} ` + (l === !1 ? "is not supported by the environment" : "is not available in the build")
2867
+ ([d, l]) => `adapter ${d} ` + (l === !1 ? "is not supported by the environment" : "is not available in the build")
2868
2868
  );
2869
2869
  let c = n ? i.length > 1 ? `since :
2870
2870
  ` + i.map(ds).join(`
@@ -2946,9 +2946,9 @@ function gc(e, t, n) {
2946
2946
  for (; o-- > 0; ) {
2947
2947
  const r = s[o], i = t[r];
2948
2948
  if (i) {
2949
- const c = e[r], u = c === void 0 || i(c, r, e);
2950
- if (u !== !0)
2951
- throw new Y("option " + r + " must be " + u, Y.ERR_BAD_OPTION_VALUE);
2949
+ const c = e[r], d = c === void 0 || i(c, r, e);
2950
+ if (d !== !0)
2951
+ throw new Y("option " + r + " must be " + d, Y.ERR_BAD_OPTION_VALUE);
2952
2952
  continue;
2953
2953
  }
2954
2954
  if (n !== !0)
@@ -3018,20 +3018,20 @@ let ft = class {
3018
3018
  }
3019
3019
  ), n.headers = Se.concat(i, r);
3020
3020
  const c = [];
3021
- let u = !0;
3021
+ let d = !0;
3022
3022
  this.interceptors.request.forEach(function(A) {
3023
- typeof A.runWhen == "function" && A.runWhen(n) === !1 || (u = u && A.synchronous, c.unshift(A.fulfilled, A.rejected));
3023
+ typeof A.runWhen == "function" && A.runWhen(n) === !1 || (d = d && A.synchronous, c.unshift(A.fulfilled, A.rejected));
3024
3024
  });
3025
3025
  const l = [];
3026
3026
  this.interceptors.response.forEach(function(A) {
3027
3027
  l.push(A.fulfilled, A.rejected);
3028
3028
  });
3029
- let d, h = 0, m;
3030
- if (!u) {
3029
+ let u, h = 0, m;
3030
+ if (!d) {
3031
3031
  const g = [us.bind(this), void 0];
3032
- for (g.unshift(...c), g.push(...l), m = g.length, d = Promise.resolve(n); h < m; )
3033
- d = d.then(g[h++], g[h++]);
3034
- return d;
3032
+ for (g.unshift(...c), g.push(...l), m = g.length, u = Promise.resolve(n); h < m; )
3033
+ u = u.then(g[h++], g[h++]);
3034
+ return u;
3035
3035
  }
3036
3036
  m = c.length;
3037
3037
  let p = n;
@@ -3045,13 +3045,13 @@ let ft = class {
3045
3045
  }
3046
3046
  }
3047
3047
  try {
3048
- d = us.call(this, p);
3048
+ u = us.call(this, p);
3049
3049
  } catch (g) {
3050
3050
  return Promise.reject(g);
3051
3051
  }
3052
3052
  for (h = 0, m = l.length; h < m; )
3053
- d = d.then(l[h++], l[h++]);
3054
- return d;
3053
+ u = u.then(l[h++], l[h++]);
3054
+ return u;
3055
3055
  }
3056
3056
  getUri(t) {
3057
3057
  t = wt(this.defaults, t);
@@ -3385,8 +3385,8 @@ class ht {
3385
3385
  ]), i = St(
3386
3386
  o
3387
3387
  )?.data, c = i?.[0];
3388
- let u = [];
3389
- c?.authors?.length === 1 && c?.config?.showauthor && c.authors[0]?.internaluser && (u = (await this.getAutorInfo({
3388
+ let d = [];
3389
+ c?.authors?.length === 1 && c?.config?.showauthor && c.authors[0]?.internaluser && (d = (await this.getAutorInfo({
3390
3390
  user: c.authors[0].name,
3391
3391
  exclude: s.getAutorInfo,
3392
3392
  imagesizes: n.getAutorInfo
@@ -3416,7 +3416,7 @@ class ht {
3416
3416
  );
3417
3417
  return {
3418
3418
  news: i ?? [],
3419
- autor: u,
3419
+ autor: d,
3420
3420
  newsRelatedResponses: A,
3421
3421
  itemList: St(r)?.data ?? [],
3422
3422
  newsRelatedListResponses: g
@@ -3434,21 +3434,21 @@ class yc extends ht {
3434
3434
  });
3435
3435
  if (!n || !n.data || !n.data.data || n.data.data.length === 0 || !n.data.data[0]?.value || !n.data.data[0].block || !this.props?.imgSizes[n.data.data[0].block])
3436
3436
  return { blockSass: n ? n.data.data : void 0 };
3437
- const s = n.data.data[0] ?? [], o = s?.value.split("="), r = o[0] ?? "", i = o[1] ?? "", c = s?.block, u = /"/.test(i), l = {
3437
+ const s = n.data.data[0] ?? [], o = s?.value.split("="), r = o[0] ?? "", i = o[1] ?? "", c = s?.block, d = {
3438
3438
  videos: async () => {
3439
- const d = await this.getvideoListAdvanced({
3439
+ const l = await this.getvideoListAdvanced({
3440
3440
  size: this.props?.imgSizes[c].size ?? 5,
3441
3441
  imagesizes: `${this.props?.imgSizesVideo.lg}${this.props?.imgSizesVideo.md}`,
3442
3442
  query: "Keywords:(" + (i ?? "videohome") + ")"
3443
3443
  });
3444
3444
  return {
3445
3445
  blockSass: n.data.data,
3446
- content: d ? d.data : void 0
3446
+ content: l ? l.data : void 0
3447
3447
  };
3448
3448
  },
3449
3449
  tag: async () => {
3450
- const d = u ? "claves:(" + i + ")" : 'claves:("' + i + '")', h = await this.getNewsListAvanced({
3451
- query: d,
3450
+ const l = await this.getNewsListAvanced({
3451
+ query: "claves:(" + i + ")",
3452
3452
  size: this.props?.imgSizes[c]?.size ?? 3,
3453
3453
  newstype: this.props?.config?.newsType,
3454
3454
  exclude: this.exclude,
@@ -3456,11 +3456,11 @@ class yc extends ht {
3456
3456
  });
3457
3457
  return {
3458
3458
  blockSass: n.data.data,
3459
- content: h ? h.data : void 0
3459
+ content: l ? l.data : void 0
3460
3460
  };
3461
3461
  },
3462
3462
  seccion: async () => {
3463
- const d = await this.getNewsListSection({
3463
+ const l = await this.getNewsListSection({
3464
3464
  section: i,
3465
3465
  size: this.props?.imgSizes[c]?.size ?? 3,
3466
3466
  newstype: this.props?.config?.newsType,
@@ -3469,13 +3469,13 @@ class yc extends ht {
3469
3469
  });
3470
3470
  return {
3471
3471
  blockSass: n.data.data,
3472
- content: d ? d.data : void 0
3472
+ content: l ? l.data : void 0
3473
3473
  };
3474
3474
  }
3475
3475
  };
3476
- if (r in l) {
3477
- const d = l[r];
3478
- return await d();
3476
+ if (r in d) {
3477
+ const l = d[r];
3478
+ return await l();
3479
3479
  }
3480
3480
  return { blockSass: n.data.data };
3481
3481
  };
@@ -3524,15 +3524,15 @@ const k3 = async (e, t, n, s, o, r, i) => {
3524
3524
  imgSizesVideo: s,
3525
3525
  axiosApi: e,
3526
3526
  exclude: i
3527
- }), u = [];
3527
+ }), d = [];
3528
3528
  for (let h = 1; h <= o; h++)
3529
3529
  for (let m = 1; m <= r; m++)
3530
- u.push({
3530
+ d.push({
3531
3531
  func: c.getBlockSass,
3532
3532
  slot_id: h + "_" + m
3533
3533
  });
3534
3534
  const l = await Promise.allSettled([
3535
- ...u.map((h) => h.func({ template: "Home_" + h.slot_id }))
3535
+ ...d.map((h) => h.func({ template: "Home_" + h.slot_id }))
3536
3536
  ]);
3537
3537
  return (() => {
3538
3538
  const h = {};
@@ -3595,18 +3595,18 @@ const k3 = async (e, t, n, s, o, r, i) => {
3595
3595
  return o ? { ...t, ...o } : _e(t);
3596
3596
  },
3597
3597
  seccion: async (e) => {
3598
- const { meta: t, config: n, pathname: s, slug: o, axiosApi: r } = e, i = new ht({ config: n, axiosApi: r }), c = s.split("/"), u = [], l = Zt(s), d = Number(n.newsListLimit) ?? 0;
3598
+ const { meta: t, config: n, pathname: s, slug: o, axiosApi: r } = e, i = new ht({ config: n, axiosApi: r }), c = s.split("/"), d = [], l = Zt(s), u = Number(n.newsListLimit) ?? 0;
3599
3599
  try {
3600
3600
  const h = await i.getNewsListSection({
3601
3601
  section: o,
3602
- size: d,
3602
+ size: u,
3603
3603
  newstype: n.newsType,
3604
3604
  exclude: "keywords,gallery,related,relatedexternal,external,customfields",
3605
3605
  page: l
3606
3606
  });
3607
3607
  if (!h) return _e(t);
3608
3608
  const m = h.data.data, p = m[0];
3609
- return m.length < d || u.push({ rel: "next", url: Kt(n, c, l) }), l > 1 && u.push({ rel: "prev", url: Jt(n, c, l) }), {
3609
+ return m.length < u || d.push({ rel: "next", url: Kt(n, c, l) }), l > 1 && d.push({ rel: "prev", url: Jt(n, c, l) }), {
3610
3610
  ...t,
3611
3611
  title: `Últimas Noticias de ${p.info.section?.name} | ${n.name}`,
3612
3612
  description: `Todas las últimas noticias de ${p.info.section?.name} en ${n.name}`,
@@ -3617,7 +3617,7 @@ const k3 = async (e, t, n, s, o, r, i) => {
3617
3617
  manifest: n.manifest,
3618
3618
  icons: {
3619
3619
  ...n.icons,
3620
- other: u
3620
+ other: d
3621
3621
  },
3622
3622
  other: {
3623
3623
  "msapplication-TileImage": n.msapplicationTileImage ?? ""
@@ -3639,11 +3639,11 @@ const k3 = async (e, t, n, s, o, r, i) => {
3639
3639
  }
3640
3640
  },
3641
3641
  tema: async (e) => {
3642
- const { meta: t, config: n, pathname: s, slug: o, axiosApi: r } = e, i = new ht({ config: n, axiosApi: r }), c = s.split("/"), u = [], l = Zt(s), d = Number(n.newsListLimit) ?? 0, h = /([t][0-9]{4})\w+/.exec(o || ""), m = h && h?.length > 0 ? h[0].replace("t", "") : "", { PUBLIC_TAG_TYPE: p } = ee();
3642
+ const { meta: t, config: n, pathname: s, slug: o, axiosApi: r } = e, i = new ht({ config: n, axiosApi: r }), c = s.split("/"), d = [], l = Zt(s), u = Number(n.newsListLimit) ?? 0, h = /([t][0-9]{4})\w+/.exec(o || ""), m = h && h?.length > 0 ? h[0].replace("t", "") : "", { PUBLIC_TAG_TYPE: p } = ee();
3643
3643
  try {
3644
3644
  const g = await i.getNewsListTags({
3645
3645
  tagid: m,
3646
- size: d,
3646
+ size: u,
3647
3647
  tagtype: Number(p),
3648
3648
  newstype: n.newsType,
3649
3649
  exclude: "keywords,gallery,related,relatedexternal,external,customfields",
@@ -3651,10 +3651,10 @@ const k3 = async (e, t, n, s, o, r, i) => {
3651
3651
  });
3652
3652
  if (!g) return _e(t);
3653
3653
  const A = g.data.entity;
3654
- return A ? (g.data.data?.length < d || u.push({
3654
+ return A ? (g.data.data?.length < u || d.push({
3655
3655
  rel: "next",
3656
3656
  url: Kt(n, c, l)
3657
- }), l > 1 && u.push({
3657
+ }), l > 1 && d.push({
3658
3658
  rel: "prev",
3659
3659
  url: Jt(n, c, l)
3660
3660
  }), {
@@ -3668,7 +3668,7 @@ const k3 = async (e, t, n, s, o, r, i) => {
3668
3668
  manifest: n.manifest,
3669
3669
  icons: {
3670
3670
  ...n.icons,
3671
- other: u
3671
+ other: d
3672
3672
  },
3673
3673
  other: {
3674
3674
  "msapplication-TileImage": n.msapplicationTileImage ?? ""
@@ -3715,17 +3715,17 @@ const k3 = async (e, t, n, s, o, r, i) => {
3715
3715
  }
3716
3716
  },
3717
3717
  videos: async (e) => {
3718
- const { meta: t, config: n, pathname: s, axiosApi: o } = e, r = new ht({ config: n, axiosApi: o }), i = s.split("/"), c = [], u = Zt(s), l = await r.getvideoListAdvanced({
3718
+ const { meta: t, config: n, pathname: s, axiosApi: o } = e, r = new ht({ config: n, axiosApi: o }), i = s.split("/"), c = [], d = Zt(s), l = await r.getvideoListAdvanced({
3719
3719
  size: Number(n.newsListLimit),
3720
3720
  query: "Category:(videohome OR destacadoseccion OR seccion)",
3721
- page: Number(u)
3721
+ page: Number(d)
3722
3722
  });
3723
3723
  return l ? (l.data.data.length < Number(n.newsListLimit) || c.push({
3724
3724
  rel: "next",
3725
- url: Kt(n, i, u)
3726
- }), u > 1 && c.push({
3725
+ url: Kt(n, i, d)
3726
+ }), d > 1 && c.push({
3727
3727
  rel: "prev",
3728
- url: Jt(n, i, u)
3728
+ url: Jt(n, i, d)
3729
3729
  }), {
3730
3730
  ...t,
3731
3731
  title: "Videos | " + n.name,
@@ -3750,10 +3750,10 @@ const k3 = async (e, t, n, s, o, r, i) => {
3750
3750
  path: n.servicePrefix + `/pages/${o}`
3751
3751
  });
3752
3752
  if (!c) return _e(t);
3753
- const u = c.data.data[0]?.info.title ?? "";
3753
+ const d = c.data.data[0]?.info.title ?? "";
3754
3754
  return {
3755
3755
  ...t,
3756
- title: `${n.name} | ${u}`,
3756
+ title: `${n.name} | ${d}`,
3757
3757
  alternates: {
3758
3758
  ...t.alternates,
3759
3759
  canonical: n.siteUrl + s
@@ -3804,7 +3804,7 @@ const k3 = async (e, t, n, s, o, r, i) => {
3804
3804
  };
3805
3805
  },
3806
3806
  autor: async (e) => {
3807
- const { meta: t, config: n, pathname: s, imgSizes: o, slug: r, axiosApi: i } = e, c = new ht({ config: n, axiosApi: i, imgSizes: o }), u = s.split("/"), l = [], d = Zt(s);
3807
+ const { meta: t, config: n, pathname: s, imgSizes: o, slug: r, axiosApi: i } = e, c = new ht({ config: n, axiosApi: i, imgSizes: o }), d = s.split("/"), l = [], u = Zt(s);
3808
3808
  try {
3809
3809
  const h = await c.getAutorInfo({
3810
3810
  user: r,
@@ -3813,17 +3813,17 @@ const k3 = async (e, t, n, s, o, r, i) => {
3813
3813
  }), m = await c.getNewsListAutor({
3814
3814
  size: Number(n.newsListLimit) ?? 0,
3815
3815
  user: r,
3816
- page: d,
3816
+ page: u,
3817
3817
  newstype: n.newsType,
3818
3818
  exclude: "keywords,gallery,related,relatedexternal,external,customfields",
3819
3819
  imagesizes: o.md
3820
3820
  });
3821
3821
  return m ? (m.data.data.length < Number(n.newsListLimit) || l.push({
3822
3822
  rel: "next",
3823
- url: Kt(n, u, d)
3824
- }), d > 1 && l.push({
3823
+ url: Kt(n, d, u)
3824
+ }), u > 1 && l.push({
3825
3825
  rel: "prev",
3826
- url: Jt(n, u, d)
3826
+ url: Jt(n, d, u)
3827
3827
  }), {
3828
3828
  ...t,
3829
3829
  title: `Últimas Noticias de ${h?.data.data[0]?.info.fullname} | ${n.name}`,
@@ -3863,9 +3863,9 @@ async function R3({
3863
3863
  pathname: r,
3864
3864
  slug: i,
3865
3865
  texts: c,
3866
- query: u,
3866
+ query: d,
3867
3867
  currentNew: l,
3868
- banners: d,
3868
+ banners: u,
3869
3869
  internalPath: h,
3870
3870
  config: m,
3871
3871
  socials: p,
@@ -3884,7 +3884,7 @@ async function R3({
3884
3884
  imgSizes: s,
3885
3885
  slug: i,
3886
3886
  texts: c,
3887
- query: u,
3887
+ query: d,
3888
3888
  axiosApi: e,
3889
3889
  internalPath: h
3890
3890
  }), v = xr(x), E = N || Ks[o]({
@@ -3922,7 +3922,7 @@ async function R3({
3922
3922
  {
3923
3923
  name: "headscripts",
3924
3924
  replaces: E,
3925
- banners: d
3925
+ banners: u
3926
3926
  }
3927
3927
  ),
3928
3928
  t.schemas_NewsArticle && h && /* @__PURE__ */ a(
@@ -3981,11 +3981,11 @@ const L3 = ({
3981
3981
  config: r,
3982
3982
  internalPath: i,
3983
3983
  currentNew: c,
3984
- tagsParsed: u,
3984
+ tagsParsed: d,
3985
3985
  scriptReplaces: l,
3986
- body_custom_elements: d
3986
+ body_custom_elements: u
3987
3987
  }) => {
3988
- const h = Xo(c, u), m = Ks[t]({
3988
+ const h = Xo(c, d), m = Ks[t]({
3989
3989
  pathname: s,
3990
3990
  slug: o,
3991
3991
  config: r,
@@ -3999,7 +3999,7 @@ const L3 = ({
3999
3999
  /* @__PURE__ */ a(Zo, {}),
4000
4000
  /* @__PURE__ */ a(er, { dimensionValues: h }),
4001
4001
  /* @__PURE__ */ a(tr, {}),
4002
- d,
4002
+ u,
4003
4003
  /* @__PURE__ */ a(Er, { name: "bodyafter", banners: n, replaces: w })
4004
4004
  ] });
4005
4005
  }, bc = "_content_1tvgz_1", Nc = {
@@ -4043,7 +4043,7 @@ function Tc({
4043
4043
  enableDrag: r,
4044
4044
  onIndexChange: i
4045
4045
  }) {
4046
- const [c, u] = K(!1), [l, d] = K(0), [h, m] = K(0), [p, g] = K(0), [A, w] = K(0), [C, N] = K(null), b = Vs(null), [x, v] = K(1), E = ue(() => {
4046
+ const [c, d] = K(!1), [l, u] = K(0), [h, m] = K(0), [p, g] = K(0), [A, w] = K(0), [C, N] = K(null), b = Vs(null), [x, v] = K(1), E = ue(() => {
4047
4047
  if (o) return 1;
4048
4048
  const y = b.current?.offsetWidth || window.innerWidth, S = n + s, R = Math.floor(y / S);
4049
4049
  return Math.max(1, R);
@@ -4083,7 +4083,7 @@ function Tc({
4083
4083
  [o, n, s, E, W]
4084
4084
  ), te = ue(
4085
4085
  (y) => {
4086
- r && (d(y), m(y), g(0), w(Date.now()), u(!0), document.body.classList.add("dragging"));
4086
+ r && (u(y), m(y), g(0), w(Date.now()), d(!0), document.body.classList.add("dragging"));
4087
4087
  },
4088
4088
  [r]
4089
4089
  ), le = ue(
@@ -4110,7 +4110,7 @@ function Tc({
4110
4110
  const F = Math.min(Q, e + V);
4111
4111
  i(F);
4112
4112
  }
4113
- u(!1), g(0), document.body.classList.remove("dragging"), document.removeEventListener("mousemove", M), document.removeEventListener("mouseup", U), y.clientX === l && C?.dispatchEvent(new PointerEvent("click"));
4113
+ d(!1), g(0), document.body.classList.remove("dragging"), document.removeEventListener("mousemove", M), document.removeEventListener("mouseup", U), y.clientX === l && C?.dispatchEvent(new PointerEvent("click"));
4114
4114
  },
4115
4115
  [
4116
4116
  c,
@@ -4179,8 +4179,8 @@ function B3(e) {
4179
4179
  cardGap: r = 20,
4180
4180
  fullPageWidth: i = !1,
4181
4181
  pagination: c = !1,
4182
- enableDrag: u = !0
4183
- } = e, l = Array.isArray(t) ? t : t?.props?.value?.split('<div style="display:none;">SPLITING</div>'), [d, h] = K(0), [m, p] = K(!1);
4182
+ enableDrag: d = !0
4183
+ } = e, l = Array.isArray(t) ? t : t?.props?.value?.split('<div style="display:none;">SPLITING</div>'), [u, h] = K(0), [m, p] = K(!1);
4184
4184
  Qe(() => {
4185
4185
  p(!0);
4186
4186
  const G = document.getElementById("ssr-dummy_" + n);
@@ -4195,12 +4195,12 @@ function B3(e) {
4195
4195
  actualVisibleItems: b,
4196
4196
  dragHandlers: x
4197
4197
  } = Tc({
4198
- currentIndex: d,
4198
+ currentIndex: u,
4199
4199
  totalItems: l.length,
4200
4200
  cardWidth: o,
4201
4201
  cardGap: r,
4202
4202
  fullPageWidth: i,
4203
- enableDrag: u,
4203
+ enableDrag: d,
4204
4204
  onIndexChange: h
4205
4205
  }), v = ue(
4206
4206
  (G) => {
@@ -4209,14 +4209,14 @@ function B3(e) {
4209
4209
  },
4210
4210
  [C]
4211
4211
  ), E = ue(() => {
4212
- v(d - 1);
4213
- }, [d, v]), O = ue(() => {
4214
- v(d + 1);
4215
- }, [d, v]);
4212
+ v(u - 1);
4213
+ }, [u, v]), O = ue(() => {
4214
+ v(u + 1);
4215
+ }, [u, v]);
4216
4216
  if (!m) return;
4217
- const Q = N(d, A), W = i ? `translateX(${Q}%)` : `translateX(${Q}px)`;
4217
+ const Q = N(u, A), W = i ? `translateX(${Q}%)` : `translateX(${Q}px)`;
4218
4218
  return /* @__PURE__ */ f("div", { className: `${n}- carrousel-container`, children: [
4219
- d > 0 && /* @__PURE__ */ a(
4219
+ u > 0 && /* @__PURE__ */ a(
4220
4220
  "button",
4221
4221
  {
4222
4222
  className: "visible-arrow left",
@@ -4242,7 +4242,7 @@ function B3(e) {
4242
4242
  )
4243
4243
  }
4244
4244
  ),
4245
- d < C && /* @__PURE__ */ a(
4245
+ u < C && /* @__PURE__ */ a(
4246
4246
  "button",
4247
4247
  {
4248
4248
  className: "visible-arrow right",
@@ -4276,7 +4276,7 @@ function B3(e) {
4276
4276
  style: {
4277
4277
  gap: r,
4278
4278
  margin: r === 0 ? "0" : "0 0.5rem 1rem",
4279
- cursor: u ? g ? "grabbing" : "grab" : "default",
4279
+ cursor: d ? g ? "grabbing" : "grab" : "default",
4280
4280
  justifyContent: "start !important"
4281
4281
  },
4282
4282
  ...x,
@@ -4316,7 +4316,7 @@ function B3(e) {
4316
4316
  c && /* @__PURE__ */ a("nav", { className: "carrousel-pagination", children: Array.from(
4317
4317
  { length: Math.ceil(l.length / b) },
4318
4318
  (G, B) => {
4319
- const te = Math.floor(d / b) === B;
4319
+ const te = Math.floor(u / b) === B;
4320
4320
  return /* @__PURE__ */ a(
4321
4321
  "li",
4322
4322
  {
@@ -4583,7 +4583,7 @@ const Rt = (e) => {
4583
4583
  return e?.authors[0]?.fullname ?? "Redacción";
4584
4584
  if (e?.config?.showtime)
4585
4585
  return Ge(e.info?.date?.modified);
4586
- }, u = () => {
4586
+ }, d = () => {
4587
4587
  const h = {
4588
4588
  "--fontSizeSubTitle": e.fontSizeSubTitle,
4589
4589
  "--lineHeightSubTitle": e.lineHeightSubTitle,
@@ -4599,7 +4599,7 @@ const Rt = (e) => {
4599
4599
  style: h
4600
4600
  }
4601
4601
  );
4602
- }, l = () => e.main.uppertitle ? /* @__PURE__ */ a("p", { className: ne.uppertitle, title: e.main.uppertitle, children: e.main.uppertitle }) : null, d = () => {
4602
+ }, l = () => e.main.uppertitle ? /* @__PURE__ */ a("p", { className: ne.uppertitle, title: e.main.uppertitle, children: e.main.uppertitle }) : null, u = () => {
4603
4603
  if (i && s?.tags?.length && s.tags.length > 0) {
4604
4604
  const h = s.tags[0], m = h.name;
4605
4605
  return /* @__PURE__ */ f("h3", { className: ne.sectionDescriptionContainer, children: [
@@ -4641,7 +4641,7 @@ const Rt = (e) => {
4641
4641
  children: /* @__PURE__ */ a(Zc, { noteShare: { ...t } })
4642
4642
  }
4643
4643
  ),
4644
- /* @__PURE__ */ a(d, {}),
4644
+ /* @__PURE__ */ a(u, {}),
4645
4645
  ke.createElement(
4646
4646
  e.isTitle ? "h1" : "h2",
4647
4647
  {
@@ -4661,7 +4661,7 @@ const Rt = (e) => {
4661
4661
  }
4662
4662
  ) : e.main?.title?.section
4663
4663
  ),
4664
- e.config?.showsubtitle && /* @__PURE__ */ a(u, {}),
4664
+ e.config?.showsubtitle && /* @__PURE__ */ a(d, {}),
4665
4665
  (e?.config?.showtime || e.config?.showauthor) && /* @__PURE__ */ a(J, { children: e.authors[0]?.internaluser ? /* @__PURE__ */ a("h3", { children: /* @__PURE__ */ a(
4666
4666
  q,
4667
4667
  {
@@ -4804,14 +4804,14 @@ const ul = (e) => {
4804
4804
  isVideo: n = !1,
4805
4805
  hasShadow: s = !1,
4806
4806
  priorityHigh: o = !1
4807
- } = e, r = bo(), [i, c] = K(void 0), u = t?.sizes;
4807
+ } = e, r = bo(), [i, c] = K(void 0), d = t?.sizes;
4808
4808
  return Qe(() => {
4809
4809
  (async () => {
4810
- u?.[0]?.url ? c(
4811
- `/api/image-proxy?url=${encodeURIComponent(u[0].url)}`
4812
- ) : c(u?.[0]?.url);
4810
+ d?.[0]?.url ? c(
4811
+ `/api/image-proxy?url=${encodeURIComponent(d[0].url)}`
4812
+ ) : c(d?.[0]?.url);
4813
4813
  })();
4814
- }, [u, t, e.cookies]), u && i && i !== "invalidURL" ? /* @__PURE__ */ a("figure", { className: re.figure, children: /* @__PURE__ */ f("span", { className: re.backdrop, children: [
4814
+ }, [d, t, e.cookies]), d && i && i !== "invalidURL" ? /* @__PURE__ */ a("figure", { className: re.figure, children: /* @__PURE__ */ f("span", { className: re.backdrop, children: [
4815
4815
  /* @__PURE__ */ a("span", { className: re.backdropAux }),
4816
4816
  /* @__PURE__ */ f("picture", { children: [
4817
4817
  /* @__PURE__ */ a(
@@ -6560,12 +6560,12 @@ const Qd = "_content_r1co8_1", Gd = "_videoContent_r1co8_20", Hd = "_articleSect
6560
6560
  content: Yd,
6561
6561
  linkStyled: Kd
6562
6562
  }, bn = (e) => {
6563
- const { currentPage: t, showNext: n, maxPages: s, pathname: o, query: r } = e, i = (c, u, l) => {
6564
- let d = "";
6565
- const h = u.split("/");
6566
- return h.indexOf("page") !== -1 && h.splice(d.indexOf("page") - 1, h.length - 1), h.forEach((m, p) => {
6567
- p !== 0 && (d += `/${m}`);
6568
- }), c === "next" ? d += `/page/${t + 1}${l ? `?query=${l}` : ""}` : d += `/page/${t - 1}${l ? `?query=${l}` : ""}`;
6563
+ const { currentPage: t, showNext: n, maxPages: s, pathname: o, query: r } = e, i = (c, d, l) => {
6564
+ let u = "";
6565
+ const h = d.split("/");
6566
+ return h.indexOf("page") !== -1 && h.splice(u.indexOf("page") - 1, h.length - 1), h.forEach((m, p) => {
6567
+ p !== 0 && (u += `/${m}`);
6568
+ }), c === "next" ? u += `/page/${t + 1}${l ? `?query=${l}` : ""}` : u += `/page/${t - 1}${l ? `?query=${l}` : ""}`;
6569
6569
  };
6570
6570
  return (t > 1 || n && t < s) && /* @__PURE__ */ f("section", { className: Hn.content, children: [
6571
6571
  t > 1 && /* @__PURE__ */ a(
@@ -6615,9 +6615,9 @@ const Qd = "_content_r1co8_1", Gd = "_videoContent_r1co8_20", Hd = "_articleSect
6615
6615
  share: r,
6616
6616
  isVideo: i,
6617
6617
  config: c,
6618
- overImage: u = "default",
6618
+ overImage: d = "default",
6619
6619
  isTitle: l,
6620
- priorityHigh: d = !1,
6620
+ priorityHigh: u = !1,
6621
6621
  isLarge: h,
6622
6622
  paths: m,
6623
6623
  keywords: p
@@ -6644,7 +6644,7 @@ const Qd = "_content_r1co8_1", Gd = "_videoContent_r1co8_20", Hd = "_articleSect
6644
6644
  preview: o,
6645
6645
  isVideo: i,
6646
6646
  isLarge: h,
6647
- priorityHigh: d
6647
+ priorityHigh: u
6648
6648
  }
6649
6649
  )
6650
6650
  }
@@ -6658,7 +6658,7 @@ const Qd = "_content_r1co8_1", Gd = "_videoContent_r1co8_20", Hd = "_articleSect
6658
6658
  preview: o,
6659
6659
  share: r,
6660
6660
  config: c,
6661
- overImage: u,
6661
+ overImage: d,
6662
6662
  isTitle: l,
6663
6663
  paths: m,
6664
6664
  keywords: p
@@ -6683,13 +6683,13 @@ const Qd = "_content_r1co8_1", Gd = "_videoContent_r1co8_20", Hd = "_articleSect
6683
6683
  titleGradient: r = !1
6684
6684
  } = e, { SHOW_TAG_BY_SECTION: i } = ee(), c = () => {
6685
6685
  if (i && e.keywords?.tags?.length && e.keywords.tags.length > 0) {
6686
- const u = e.keywords.tags[0], l = u.name;
6687
- return u.approved ? /* @__PURE__ */ a("h3", { children: /* @__PURE__ */ a(
6686
+ const d = e.keywords.tags[0], l = d.name;
6687
+ return d.approved ? /* @__PURE__ */ a("h3", { children: /* @__PURE__ */ a(
6688
6688
  q,
6689
6689
  {
6690
6690
  "aria-label": l,
6691
6691
  className: nt.sectionDescription,
6692
- href: At(u, e.paths),
6692
+ href: At(d, e.paths),
6693
6693
  children: l
6694
6694
  }
6695
6695
  ) }) : /* @__PURE__ */ a("div", { className: nt.sectionDescription, children: l });
@@ -6874,7 +6874,7 @@ const Qd = "_content_r1co8_1", Gd = "_videoContent_r1co8_20", Hd = "_articleSect
6874
6874
  const t = e.trim();
6875
6875
  return t.startsWith("http://") || t.startsWith("https://") ? t : `https://${t}`;
6876
6876
  }, iu = (e) => !e || e.trim() === "" ? !1 : /^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(e.trim()), cu = async (e) => {
6877
- const { autor: t, autorIcon: n } = e, s = n, o = t?.info?.image?.sizes?.[0]?.url ?? "", r = t?.info?.fullname ?? "", i = t?.info?.email ?? "", c = t?.addtional?.USER_SHOWEMAIL ?? !1, u = t?.addtional?.USER_SHOWBIO ?? !1, l = t?.addtional?.USER_MIBIO ?? "", d = an(t?.addtional?.USER_USERFB ?? ""), h = an(t?.addtional?.USER_USERIG ?? ""), m = an(t?.addtional?.USER_USERTWT ?? ""), p = an(t?.addtional?.USER_USERLIN ?? ""), g = () => !c || !i || i.trim() === "" ? !1 : iu(i), A = (w) => `mailto:${w.trim()}`;
6877
+ const { autor: t, autorIcon: n } = e, s = n, o = t?.info?.image?.sizes?.[0]?.url ?? "", r = t?.info?.fullname ?? "", i = t?.info?.email ?? "", c = t?.addtional?.USER_SHOWEMAIL ?? !1, d = t?.addtional?.USER_SHOWBIO ?? !1, l = t?.addtional?.USER_MIBIO ?? "", u = an(t?.addtional?.USER_USERFB ?? ""), h = an(t?.addtional?.USER_USERIG ?? ""), m = an(t?.addtional?.USER_USERTWT ?? ""), p = an(t?.addtional?.USER_USERLIN ?? ""), g = () => !c || !i || i.trim() === "" ? !1 : iu(i), A = (w) => `mailto:${w.trim()}`;
6878
6878
  return /* @__PURE__ */ a(
6879
6879
  "section",
6880
6880
  {
@@ -6907,12 +6907,12 @@ const Qd = "_content_r1co8_1", Gd = "_videoContent_r1co8_20", Hd = "_articleSect
6907
6907
  children: i
6908
6908
  }
6909
6909
  ),
6910
- u && /* @__PURE__ */ a("p", { className: me.description, children: l }),
6910
+ d && /* @__PURE__ */ a("p", { className: me.description, children: l }),
6911
6911
  /* @__PURE__ */ f("div", { className: me.contenSocialNetwork, children: [
6912
- d && /* @__PURE__ */ a(
6912
+ u && /* @__PURE__ */ a(
6913
6913
  "a",
6914
6914
  {
6915
- href: d,
6915
+ href: u,
6916
6916
  target: "_blank",
6917
6917
  className: `${me.socialFacebookIcon} ${me.socialIconStroke}`,
6918
6918
  rel: "noreferrer",
@@ -6965,7 +6965,7 @@ const Qd = "_content_r1co8_1", Gd = "_videoContent_r1co8_20", Hd = "_articleSect
6965
6965
  contenSocialNetwork: Au,
6966
6966
  socialIcon: wu
6967
6967
  }, yu = async (e) => {
6968
- const { autor: t, autorIcon: n } = e, s = n, o = t?.info?.image?.sizes?.[0]?.url ?? "", r = t?.info?.fullname ?? "", i = t?.info?.email ?? "", c = t?.addtional?.USER_SHOWEMAIL ?? !1, u = t?.addtional?.USER_SHOWBIO ?? !1, l = t?.addtional?.USER_MIBIO ?? "", d = t?.addtional?.USER_USERFB ?? "", h = t?.addtional?.USER_USERIG ?? "", m = t?.addtional?.USER_USERTWT ?? "", p = t?.addtional?.USER_USERLIN ?? "";
6968
+ const { autor: t, autorIcon: n } = e, s = n, o = t?.info?.image?.sizes?.[0]?.url ?? "", r = t?.info?.fullname ?? "", i = t?.info?.email ?? "", c = t?.addtional?.USER_SHOWEMAIL ?? !1, d = t?.addtional?.USER_SHOWBIO ?? !1, l = t?.addtional?.USER_MIBIO ?? "", u = t?.addtional?.USER_USERFB ?? "", h = t?.addtional?.USER_USERIG ?? "", m = t?.addtional?.USER_USERTWT ?? "", p = t?.addtional?.USER_USERLIN ?? "";
6969
6969
  return /* @__PURE__ */ a("section", { className: Ee.content, children: /* @__PURE__ */ f("div", { className: Ee.contentInfo, children: [
6970
6970
  o ? /* @__PURE__ */ a(
6971
6971
  "img",
@@ -6979,12 +6979,12 @@ const Qd = "_content_r1co8_1", Gd = "_videoContent_r1co8_20", Hd = "_articleSect
6979
6979
  /* @__PURE__ */ f("div", { className: Ee.contentAuthor, children: [
6980
6980
  /* @__PURE__ */ a("h1", { className: Ee.name, children: r }),
6981
6981
  c && /* @__PURE__ */ a("p", { className: Ee.email, children: i }),
6982
- u && /* @__PURE__ */ a("p", { className: Ee.description, children: l }),
6982
+ d && /* @__PURE__ */ a("p", { className: Ee.description, children: l }),
6983
6983
  /* @__PURE__ */ f("div", { className: Ee.contenSocialNetwork, children: [
6984
- d && /* @__PURE__ */ a(
6984
+ u && /* @__PURE__ */ a(
6985
6985
  "a",
6986
6986
  {
6987
- href: d,
6987
+ href: u,
6988
6988
  target: "_blank",
6989
6989
  rel: "noreferrer",
6990
6990
  children: /* @__PURE__ */ a(Bn, { className: Ee.socialIcon })
@@ -7374,7 +7374,7 @@ const Qd = "_content_r1co8_1", Gd = "_videoContent_r1co8_20", Hd = "_articleSect
7374
7374
  style: {
7375
7375
  "--max-height": r.subitem.length * 45 + "px"
7376
7376
  },
7377
- children: r.subitem.map((c, u) => /* @__PURE__ */ a(
7377
+ children: r.subitem.map((c, d) => /* @__PURE__ */ a(
7378
7378
  q,
7379
7379
  {
7380
7380
  className: de.subLinkStyled,
@@ -7382,7 +7382,7 @@ const Qd = "_content_r1co8_1", Gd = "_videoContent_r1co8_20", Hd = "_articleSect
7382
7382
  target: c.target,
7383
7383
  children: c.description
7384
7384
  },
7385
- u
7385
+ d
7386
7386
  ))
7387
7387
  }
7388
7388
  )
@@ -7858,7 +7858,7 @@ const Qd = "_content_r1co8_1", Gd = "_videoContent_r1co8_20", Hd = "_articleSect
7858
7858
  socialNetworkSection: Nm,
7859
7859
  article: Sm
7860
7860
  }, xm = async (e) => {
7861
- const { autor: t } = e, n = t?.addtional?.USER_SHOWBIO ?? !1, s = t?.info?.name ?? "", o = t?.info?.fullname ?? "", r = t?.info?.image?.sizes?.[0]?.url ?? "", i = t?.addtional?.USER_MIBIO ?? "", c = t?.addtional?.USER_USERFB ?? "", u = t?.addtional?.USER_USERIG ?? "", l = t?.addtional?.USER_USERTWT ?? "", d = t?.addtional?.USER_USERLIN ?? "";
7861
+ const { autor: t } = e, n = t?.addtional?.USER_SHOWBIO ?? !1, s = t?.info?.name ?? "", o = t?.info?.fullname ?? "", r = t?.info?.image?.sizes?.[0]?.url ?? "", i = t?.addtional?.USER_MIBIO ?? "", c = t?.addtional?.USER_USERFB ?? "", d = t?.addtional?.USER_USERIG ?? "", l = t?.addtional?.USER_USERTWT ?? "", u = t?.addtional?.USER_USERLIN ?? "";
7862
7862
  return n && /* @__PURE__ */ a("section", { className: je.contentBox, children: /* @__PURE__ */ f("div", { className: je.content, children: [
7863
7863
  /* @__PURE__ */ f("div", { className: je.avatarContent, children: [
7864
7864
  /* @__PURE__ */ a(
@@ -7908,10 +7908,10 @@ const Qd = "_content_r1co8_1", Gd = "_videoContent_r1co8_20", Hd = "_articleSect
7908
7908
  )
7909
7909
  }
7910
7910
  ),
7911
- u && /* @__PURE__ */ a(
7911
+ d && /* @__PURE__ */ a(
7912
7912
  "a",
7913
7913
  {
7914
- href: u,
7914
+ href: d,
7915
7915
  target: "_blank",
7916
7916
  "aria-label": i,
7917
7917
  rel: "noreferrer",
@@ -7987,10 +7987,10 @@ const Qd = "_content_r1co8_1", Gd = "_videoContent_r1co8_20", Hd = "_articleSect
7987
7987
  )
7988
7988
  }
7989
7989
  ),
7990
- d && /* @__PURE__ */ a(
7990
+ u && /* @__PURE__ */ a(
7991
7991
  "a",
7992
7992
  {
7993
- href: d,
7993
+ href: u,
7994
7994
  target: "_blank",
7995
7995
  "aria-label": i,
7996
7996
  rel: "noreferrer",
@@ -8332,7 +8332,7 @@ const Qd = "_content_r1co8_1", Gd = "_videoContent_r1co8_20", Hd = "_articleSect
8332
8332
  isVideo: r,
8333
8333
  config: i,
8334
8334
  itemReverseOrder: c,
8335
- imageSize: u,
8335
+ imageSize: d,
8336
8336
  showSuper: l
8337
8337
  } = e;
8338
8338
  return /* @__PURE__ */ f("section", { className: Nc.content, children: [
@@ -8381,7 +8381,7 @@ const Qd = "_content_r1co8_1", Gd = "_videoContent_r1co8_20", Hd = "_articleSect
8381
8381
  block: e.block,
8382
8382
  itemReverseOrder: c,
8383
8383
  priorityHigh: !0,
8384
- imageSize: u,
8384
+ imageSize: d,
8385
8385
  customNewsDescriptionStyles: e.customNewsDescriptionStyles,
8386
8386
  paths: e.paths
8387
8387
  }
@@ -8534,7 +8534,7 @@ const Qd = "_content_r1co8_1", Gd = "_videoContent_r1co8_20", Hd = "_articleSect
8534
8534
  ] }),
8535
8535
  /* @__PURE__ */ f("div", { className: Wn.newsContent, children: [
8536
8536
  /* @__PURE__ */ a("div", { className: "banner-context", style: { order: 1 }, children: e.banner }),
8537
- Array.isArray(i) && i.map((c, u) => {
8537
+ Array.isArray(i) && i.map((c, d) => {
8538
8538
  const l = {
8539
8539
  ...c,
8540
8540
  main: {
@@ -8545,14 +8545,14 @@ const Qd = "_content_r1co8_1", Gd = "_videoContent_r1co8_20", Hd = "_articleSect
8545
8545
  }
8546
8546
  }
8547
8547
  };
8548
- return /* @__PURE__ */ a("div", { style: { order: u }, children: /* @__PURE__ */ a(
8548
+ return /* @__PURE__ */ a("div", { style: { order: d }, children: /* @__PURE__ */ a(
8549
8549
  tt,
8550
8550
  {
8551
8551
  ...l,
8552
8552
  isVideo: s,
8553
8553
  paths: e.paths
8554
8554
  }
8555
- ) }, u);
8555
+ ) }, d);
8556
8556
  })
8557
8557
  ] })
8558
8558
  ] });
@@ -8756,7 +8756,7 @@ const $3 = (e) => {
8756
8756
  for (let i = 0; i < t.length; i++) {
8757
8757
  e.banners && e.bannerPositionIndex?.includes(i) && (s.push(
8758
8758
  /* @__PURE__ */ a("section", { className: n(o), children: e.banners?.some(
8759
- (d) => d.key === `${e.slot_id}_${r}`
8759
+ (u) => u.key === `${e.slot_id}_${r}`
8760
8760
  ) && /* @__PURE__ */ a(
8761
8761
  ye,
8762
8762
  {
@@ -8771,13 +8771,13 @@ const $3 = (e) => {
8771
8771
  e.showVideosubtitle
8772
8772
  ) : t[i];
8773
8773
  if (!c) continue;
8774
- const u = e.slot_id && e.slot_id !== "Nota_1", l = {
8774
+ const d = e.slot_id && e.slot_id !== "Nota_1", l = {
8775
8775
  ...c,
8776
8776
  main: {
8777
8777
  ...c.main,
8778
8778
  title: {
8779
8779
  ...c.main.title,
8780
- section: u ? c.main.title.home : c.main.title.section
8780
+ section: d ? c.main.title.home : c.main.title.section
8781
8781
  }
8782
8782
  }
8783
8783
  };
@@ -8918,8 +8918,8 @@ const $3 = (e) => {
8918
8918
  ] }),
8919
8919
  /* @__PURE__ */ f("div", { className: Kn.newsContent, children: [
8920
8920
  /* @__PURE__ */ a("div", { className: "banner-context", style: { order: 1 }, children: e.banner }),
8921
- Array.isArray(i) && i.map((c, u) => {
8922
- const l = Ht(c), d = {
8921
+ Array.isArray(i) && i.map((c, d) => {
8922
+ const l = Ht(c), u = {
8923
8923
  ...l,
8924
8924
  main: {
8925
8925
  ...l.main,
@@ -8929,15 +8929,15 @@ const $3 = (e) => {
8929
8929
  }
8930
8930
  }
8931
8931
  };
8932
- return /* @__PURE__ */ a("div", { style: { order: u }, children: /* @__PURE__ */ it(
8932
+ return /* @__PURE__ */ a("div", { style: { order: d }, children: /* @__PURE__ */ it(
8933
8933
  tt,
8934
8934
  {
8935
- ...d,
8935
+ ...u,
8936
8936
  isVideo: s,
8937
- key: u,
8937
+ key: d,
8938
8938
  paths: e.paths
8939
8939
  }
8940
- ) }, u);
8940
+ ) }, d);
8941
8941
  })
8942
8942
  ] })
8943
8943
  ] });
@@ -9191,7 +9191,7 @@ const $3 = (e) => {
9191
9191
  ranking: r,
9192
9192
  pathname: i,
9193
9193
  texts: c = {}
9194
- } = e, u = [3, 8, 13], l = {
9194
+ } = e, d = [3, 8, 13], l = {
9195
9195
  3: 1,
9196
9196
  8: 2,
9197
9197
  13: 3
@@ -9221,8 +9221,8 @@ const $3 = (e) => {
9221
9221
  showNext: !(t.length < e.NEWS_PER_SECTION)
9222
9222
  }
9223
9223
  ),
9224
- children: Array.isArray(t) && t?.map((d, h) => /* @__PURE__ */ f(Cn, { children: [
9225
- u.includes(h + 1) && /* @__PURE__ */ a("div", { className: Ze.itemContent + " banner-context", children: /* @__PURE__ */ a(
9224
+ children: Array.isArray(t) && t?.map((u, h) => /* @__PURE__ */ f(Cn, { children: [
9225
+ d.includes(h + 1) && /* @__PURE__ */ a("div", { className: Ze.itemContent + " banner-context", children: /* @__PURE__ */ a(
9226
9226
  ye,
9227
9227
  {
9228
9228
  banners: s ?? [],
@@ -9233,7 +9233,7 @@ const $3 = (e) => {
9233
9233
  fa,
9234
9234
  {
9235
9235
  autorIcon: e.autorIcon,
9236
- item: d,
9236
+ item: u,
9237
9237
  option: o,
9238
9238
  paths: e.paths
9239
9239
  },
@@ -9284,8 +9284,8 @@ const $3 = (e) => {
9284
9284
  showNext: !(t.length < e.NEWS_PER_SECTION)
9285
9285
  }
9286
9286
  ),
9287
- children: Array.isArray(t) && t?.map((d, h) => /* @__PURE__ */ f(Cn, { children: [
9288
- u.includes(h + 1) && /* @__PURE__ */ a("div", { className: Ze.itemContent, children: /* @__PURE__ */ a(
9287
+ children: Array.isArray(t) && t?.map((u, h) => /* @__PURE__ */ f(Cn, { children: [
9288
+ d.includes(h + 1) && /* @__PURE__ */ a("div", { className: Ze.itemContent, children: /* @__PURE__ */ a(
9289
9289
  ye,
9290
9290
  {
9291
9291
  banners: s ?? [],
@@ -9296,7 +9296,7 @@ const $3 = (e) => {
9296
9296
  fa,
9297
9297
  {
9298
9298
  autorIcon: e.autorIcon,
9299
- item: d,
9299
+ item: u,
9300
9300
  option: o,
9301
9301
  paths: e.paths
9302
9302
  },
@@ -9491,10 +9491,10 @@ const $3 = (e) => {
9491
9491
  const s = /(<div[^>]*class=["'][^"']*ck-related-news[^"']*["'][^>]*>[\s\S]*?<span\b[^>]*data-src="([^"]+)"[^>]*>[\s\S]*?<\/span>[\s\S]*?<\/div>\s*<\/div>)/g, o = [...e.matchAll(s)];
9492
9492
  let r = e;
9493
9493
  for (const i of o) {
9494
- const c = i[1], u = i[2] ?? "";
9494
+ const c = i[1], d = i[2] ?? "";
9495
9495
  let l;
9496
9496
  if (n.forEach((v) => {
9497
- Array.isArray(v) && !l && (l = v.find((E) => u.replaceAll("/", "|").includes(E?.info.link.internal || "")));
9497
+ Array.isArray(v) && !l && (l = v.find((E) => d.replaceAll("/", "|").includes(E?.info.link.internal || "")));
9498
9498
  }), !l) {
9499
9499
  const v = c.replace(
9500
9500
  /class=["']([^"']*ck-related-news[^"']*)["']/,
@@ -9503,13 +9503,13 @@ const $3 = (e) => {
9503
9503
  r = r.replace(c, v);
9504
9504
  continue;
9505
9505
  }
9506
- const d = l.preview?.sizes?.[0], h = d ? await pe(d.url) : "", m = l.info.section?.url ?? "#", p = l.info.section?.name ?? "Sección", g = l.info.link?.url ?? "#", A = l.main?.title.article ?? "Título", w = (await Promise.all(
9506
+ const u = l.preview?.sizes?.[0], h = u ? await pe(u.url) : "", m = l.info.section?.url ?? "#", p = l.info.section?.name ?? "Sección", g = l.info.link?.url ?? "#", A = l.main?.title.article ?? "Título", w = (await Promise.all(
9507
9507
  l.preview?.sizes?.map(async (v) => {
9508
9508
  const E = await pe(v.url);
9509
9509
  return v.width < 200 ? `<source srcset="${E}" media="(width < 750px)"/>` : `<source srcset="${E}" media="(width >= 750px)"/>`;
9510
9510
  }) || []
9511
9511
  )).reduce((v, E) => v += E, ""), C = c.match(/<span\b[^>]*data-src="[^"]+"[^>]*>[\s\S]*?<\/span>/), N = C ? C[0] : "", b = `
9512
- <span data-src="${u}">
9512
+ <span data-src="${d}">
9513
9513
  <picture style='display: flex'>
9514
9514
  ${w}
9515
9515
  <img fetchPriority='low' loading='lazy' src="${h}" alt="${t.noteRelatedImageAlt} ${A}" />
@@ -9545,18 +9545,18 @@ async function c0(e, t) {
9545
9545
  for (; (r = o.exec(e)) !== null; ) {
9546
9546
  const i = r.index, c = o.lastIndex;
9547
9547
  n += e.slice(s, i);
9548
- const u = r[0];
9548
+ const d = r[0];
9549
9549
  let l = r[1] ?? "";
9550
9550
  l && (l = i0(l));
9551
- const d = /data-type\s*=\s*["']?video["']?/i.test(u) || /video-type\s*=\s*["']?embedded["']?/i.test(u);
9552
- let h = u;
9553
- if (d && l)
9551
+ const u = /data-type\s*=\s*["']?video["']?/i.test(d) || /video-type\s*=\s*["']?embedded["']?/i.test(d);
9552
+ let h = d;
9553
+ if (u && l)
9554
9554
  try {
9555
9555
  const m = await t.iframe({ path: l }), p = t.schema ? await t.schema(l) : null;
9556
9556
  if (m && m.data) {
9557
9557
  const g = m.data.data[0];
9558
9558
  let A = "";
9559
- const w = u.match(
9559
+ const w = d.match(
9560
9560
  /<span\b[^>]*class=["']video__title["'][^>]*>([\s\S]*?)<\/span>/i
9561
9561
  ), C = w && w[1] ? w[1].trim() : "";
9562
9562
  g.info && g.info.type === "video-youtube" ? A = `<iframe
@@ -9586,7 +9586,7 @@ async function c0(e, t) {
9586
9586
  `;
9587
9587
  }
9588
9588
  } catch (m) {
9589
- console.error("replaceVideoSpansWithIframes error for", l, m), h = u;
9589
+ console.error("replaceVideoSpansWithIframes error for", l, m), h = d;
9590
9590
  }
9591
9591
  s = c, n += h, o.lastIndex = c;
9592
9592
  }
@@ -9608,8 +9608,8 @@ const d0 = async ({
9608
9608
  }) => {
9609
9609
  if (!e || e.length === 0 || !e[0]) return;
9610
9610
  const i = e[0].list?.items?.map(async (c) => {
9611
- const u = o0(c.body.rendered);
9612
- let l = r0(u);
9611
+ const d = o0(c.body.rendered);
9612
+ let l = r0(d);
9613
9613
  return l = l0(l), l = await c0(
9614
9614
  l,
9615
9615
  o
@@ -9621,8 +9621,8 @@ const d0 = async ({
9621
9621
  }
9622
9622
  };
9623
9623
  });
9624
- return /* @__PURE__ */ a("section", { className: Ke.content, id: "block-notes-list", children: i?.map(async (c, u) => /* @__PURE__ */ f(Cn, { children: [
9625
- /* @__PURE__ */ a(a0, { id: `item-${u + 1}`, children: /* @__PURE__ */ f("div", { className: Ke.contentWithinCard, children: [
9624
+ return /* @__PURE__ */ a("section", { className: Ke.content, id: "block-notes-list", children: i?.map(async (c, d) => /* @__PURE__ */ f(Cn, { children: [
9625
+ /* @__PURE__ */ a(a0, { id: `item-${d + 1}`, children: /* @__PURE__ */ f("div", { className: Ke.contentWithinCard, children: [
9626
9626
  (await c).date > 0 && /* @__PURE__ */ f("div", { className: Ke.contentDate, children: [
9627
9627
  /* @__PURE__ */ a(
9628
9628
  "span",
@@ -9668,16 +9668,16 @@ const d0 = async ({
9668
9668
  children: s.blockNoteList_readMore ?? "Leer Más"
9669
9669
  }
9670
9670
  ) })
9671
- ] }) }, u),
9672
- xs[u] && /* @__PURE__ */ a(
9671
+ ] }) }, d),
9672
+ xs[d] && /* @__PURE__ */ a(
9673
9673
  ye,
9674
9674
  {
9675
9675
  banners: n,
9676
- name: "list_" + xs[u]
9676
+ name: "list_" + xs[d]
9677
9677
  },
9678
- u
9678
+ d
9679
9679
  )
9680
- ] }, u)) });
9680
+ ] }, d)) });
9681
9681
  }, Po = {
9682
9682
  FaceBook: "facebook",
9683
9683
  Instagram: "instagram",
@@ -9775,7 +9775,7 @@ const h0 = () => /* @__PURE__ */ f("svg", { xmlns: "http://www.w3.org/2000/svg",
9775
9775
  width: `${t.authors?.length > 2 ? t.authors?.length * 30 : t.authors?.length * 35}px`
9776
9776
  },
9777
9777
  children: Array.isArray(t.authors) && t.authors?.map(
9778
- async (c, u) => c.image ? /* @__PURE__ */ a(
9778
+ async (c, d) => c.image ? /* @__PURE__ */ a(
9779
9779
  "img",
9780
9780
  {
9781
9781
  fetchPriority: "low",
@@ -9850,13 +9850,13 @@ const h0 = () => /* @__PURE__ */ f("svg", { xmlns: "http://www.w3.org/2000/svg",
9850
9850
  function _0(e) {
9851
9851
  const t = e.children, n = `${e.slot_id}-`, s = e.visibleItems, o = e.cardGap ?? 20;
9852
9852
  function r(c) {
9853
- const u = [], l = [];
9854
- let d = "", h = !0;
9853
+ const d = [], l = [];
9854
+ let u = "", h = !0;
9855
9855
  for (let m = 0; m < c; m++) {
9856
9856
  const p = `[data-index="${m}"]:checked ~ .carrousel-pagination li:nth-child(${m + 1}) {
9857
9857
  background-color:var(--carrousel-pagination-background-color)
9858
9858
  }`;
9859
- d += `
9859
+ u += `
9860
9860
  .${n}.carrousel-container {
9861
9861
  ${p}
9862
9862
  [data-index="${m}"]:checked ~ .carrousel-ssr {
@@ -9868,14 +9868,14 @@ function _0(e) {
9868
9868
  display: flex;
9869
9869
  }
9870
9870
  }
9871
- `, m > c - (s + 1) && (d += `
9871
+ `, m > c - (s + 1) && (u += `
9872
9872
  @media (min-width:900px) {
9873
9873
  .${n}.carrousel-container {
9874
9874
  [data-index="${m}"]:checked ~ .visible-arrow.right[data-index="${m}"] {
9875
9875
  display:none!important;
9876
9876
  }
9877
9877
  }
9878
- }`), u.push(
9878
+ }`), d.push(
9879
9879
  `<input type="radio" name="${n + "card"}" ${h ? "checked" : ""} id="${n + "input-check-" + m}" data-index="${m}" />`
9880
9880
  ), l.push(`
9881
9881
  <label for="${n + "input-check-" + m}" data-index="${m}" class="visible-arrow left">
@@ -9892,17 +9892,17 @@ function _0(e) {
9892
9892
  `), h = !1;
9893
9893
  }
9894
9894
  return `
9895
- <style>${d}</style>
9896
- ${u.join("")}
9895
+ <style>${u}</style>
9896
+ ${d.join("")}
9897
9897
  ${l.join("")}
9898
9898
  `;
9899
9899
  }
9900
9900
  const i = (c) => {
9901
- const u = [];
9901
+ const d = [];
9902
9902
  for (let l = 0; l < c; l++)
9903
- u.push("<li></li>");
9903
+ d.push("<li></li>");
9904
9904
  return `<menu class='carrousel-pagination'>
9905
- ${u.join("")}
9905
+ ${d.join("")}
9906
9906
  </menu>`;
9907
9907
  };
9908
9908
  return `
@@ -9948,19 +9948,19 @@ const b0 = (e) => /* @__PURE__ */ a(
9948
9948
  imagesizes: s
9949
9949
  }))?.data?.data;
9950
9950
  if (!Array.isArray(r) || r.length === 0) return null;
9951
- const i = r[0], u = (Array.isArray(i?.videos) ? i.videos : []).find(
9951
+ const i = r[0], d = (Array.isArray(i?.videos) ? i.videos : []).find(
9952
9952
  (l) => l?.type === "video-embedded"
9953
9953
  );
9954
- return u?.code ? /* @__PURE__ */ f("div", { className: Es.content, children: [
9954
+ return d?.code ? /* @__PURE__ */ f("div", { className: Es.content, children: [
9955
9955
  /* @__PURE__ */ a(
9956
9956
  "div",
9957
9957
  {
9958
9958
  dangerouslySetInnerHTML: {
9959
- __html: typeof u.code == "string" ? u.code : ""
9959
+ __html: typeof d.code == "string" ? d.code : ""
9960
9960
  }
9961
9961
  }
9962
9962
  ),
9963
- u?.title && /* @__PURE__ */ a("p", { className: Es.title, children: u.title })
9963
+ d?.title && /* @__PURE__ */ a("p", { className: Es.title, children: d.title })
9964
9964
  ] }) : null;
9965
9965
  } catch {
9966
9966
  return null;
@@ -9980,20 +9980,20 @@ const b0 = (e) => /* @__PURE__ */ a(
9980
9980
  imagesizes: s
9981
9981
  }))?.data?.data;
9982
9982
  if (!Array.isArray(r) || r.length === 0) return null;
9983
- const i = r[0], u = (Array.isArray(i?.videos) ? i.videos : []).find(
9983
+ const i = r[0], d = (Array.isArray(i?.videos) ? i.videos : []).find(
9984
9984
  (l) => l?.type === "video-youtube"
9985
9985
  );
9986
- return !u?.code || typeof u.code != "string" ? null : /* @__PURE__ */ f("div", { className: Jn.content, children: [
9986
+ return !d?.code || typeof d.code != "string" ? null : /* @__PURE__ */ f("div", { className: Jn.content, children: [
9987
9987
  /* @__PURE__ */ a(
9988
9988
  "iframe",
9989
9989
  {
9990
9990
  className: Jn.iframeStyled,
9991
- src: `https://www.youtube.com/embed/${u.code}`,
9991
+ src: `https://www.youtube.com/embed/${d.code}`,
9992
9992
  frameBorder: "0",
9993
9993
  allowFullScreen: !0
9994
9994
  }
9995
9995
  ),
9996
- u?.title && /* @__PURE__ */ a("p", { className: Jn.title, children: u.title })
9996
+ d?.title && /* @__PURE__ */ a("p", { className: Jn.title, children: d.title })
9997
9997
  ] });
9998
9998
  } catch {
9999
9999
  return null;
@@ -10286,8 +10286,8 @@ const hg = async (e) => {
10286
10286
  ), Ag = async (e) => {
10287
10287
  const { PUBLIC_IS_OFFLINE: t } = ee();
10288
10288
  if (!(t === "true")) {
10289
- const l = /<img\b[^>]*\bsrc=["']([^"']+)["']/g, d = [...e.matchAll(l)], h = {};
10290
- for (const m of d) {
10289
+ const l = /<img\b[^>]*\bsrc=["']([^"']+)["']/g, u = [...e.matchAll(l)], h = {};
10290
+ for (const m of u) {
10291
10291
  const p = m[1] ?? "", g = e.includes(p) ? { url: p } : null;
10292
10292
  if (g) {
10293
10293
  const A = await pe(g.url) || "";
@@ -10302,9 +10302,9 @@ const hg = async (e) => {
10302
10302
  let s = e;
10303
10303
  const o = /<figure\b[^>]*>([\s\S]*?)<img\b[^>]*\bsrc=["']([^"']+)["'][^>]*>([\s\S]*?)<\/figure>/g, r = [...e.matchAll(o)], i = /* @__PURE__ */ new Set();
10304
10304
  for (const l of r) {
10305
- const d = l[0], h = l[2] ?? "";
10305
+ const u = l[0], h = l[2] ?? "";
10306
10306
  i.add(h);
10307
- const m = d.match(/<img\b[^>]*\balt=["']([^"']*)["']/), p = m ? m[1] : "imagen", g = h.match(/__scale=([^&"']+)/), A = g ? decodeURIComponent(g[1]) : null;
10307
+ const m = u.match(/<img\b[^>]*\balt=["']([^"']*)["']/), p = m ? m[1] : "imagen", g = h.match(/__scale=([^&"']+)/), A = g ? decodeURIComponent(g[1]) : null;
10308
10308
  let w = 0, C = 0;
10309
10309
  if (A) {
10310
10310
  const E = A.match(/w:(\d+)/), O = A.match(/h:(\d+)/);
@@ -10332,13 +10332,13 @@ const hg = async (e) => {
10332
10332
  isLarge: !1,
10333
10333
  priorityHigh: !1
10334
10334
  }, v = `<div data-hydrate="ImageOffline" data-props="${encodeURIComponent(JSON.stringify(b))}"><div class="_imagePlaceholder_ooa5j_98"></div></div>`;
10335
- s = s.replace(d, v);
10335
+ s = s.replace(u, v);
10336
10336
  }
10337
- const c = /<img\b[^>]*\bsrc=["']([^"']+)["'][^>]*>/g, u = [...s.matchAll(c)];
10338
- for (const l of u) {
10339
- const d = l[0], h = l[1] ?? "";
10337
+ const c = /<img\b[^>]*\bsrc=["']([^"']+)["'][^>]*>/g, d = [...s.matchAll(c)];
10338
+ for (const l of d) {
10339
+ const u = l[0], h = l[1] ?? "";
10340
10340
  if (i.has(h)) continue;
10341
- const m = d.match(/\balt=["']([^"']*)["']/), p = m ? m[1] : "imagen", g = h.match(/__scale=([^&"']+)/), A = g ? decodeURIComponent(g[1]) : null;
10341
+ const m = u.match(/\balt=["']([^"']*)["']/), p = m ? m[1] : "imagen", g = h.match(/__scale=([^&"']+)/), A = g ? decodeURIComponent(g[1]) : null;
10342
10342
  let w = 0, C = 0;
10343
10343
  if (A) {
10344
10344
  const E = A.match(/w:(\d+)/), O = A.match(/h:(\d+)/);
@@ -10366,7 +10366,7 @@ const hg = async (e) => {
10366
10366
  isLarge: !1,
10367
10367
  priorityHigh: !1
10368
10368
  }, v = `<div data-hydrate="ImageOffline" data-props="${encodeURIComponent(JSON.stringify(b))}"><div class="_imagePlaceholder_ooa5j_98"></div></div>`;
10369
- s = s.replace(d, v);
10369
+ s = s.replace(u, v);
10370
10370
  }
10371
10371
  return s;
10372
10372
  }, wg = (e, t) => {
@@ -10385,16 +10385,16 @@ const hg = async (e) => {
10385
10385
  return o = o.replace(
10386
10386
  /<p\b[^>]*?>[\s\S]*?<\/p>|<(ul|ol)[^>]*?>[\s\S]*?<\/\1>/g,
10387
10387
  (c) => {
10388
- const u = c.replace(/[.*+?^${}()|[\]\\/]/g, "\\$&");
10388
+ const d = c.replace(/[.*+?^${}()|[\]\\/]/g, "\\$&");
10389
10389
  if (!new RegExp(
10390
- `<blockquote[^>]*?>(?:(?!<\\/blockquote>)[\\s\\S])*?${u}[\\s\\S]*?<\\/blockquote>`,
10390
+ `<blockquote[^>]*?>(?:(?!<\\/blockquote>)[\\s\\S])*?${d}[\\s\\S]*?<\\/blockquote>`,
10391
10391
  "gi"
10392
10392
  ).test(o)) {
10393
10393
  s++;
10394
- const d = t.find(
10394
+ const u = t.find(
10395
10395
  (h) => h.key === `block_2_${n[s]}`
10396
10396
  );
10397
- return d && d.show ? `${c}<div class="banner-context">${d.value}</div>` : c;
10397
+ return u && u.show ? `${c}<div class="banner-context">${u.value}</div>` : c;
10398
10398
  }
10399
10399
  return c;
10400
10400
  }
@@ -10403,13 +10403,13 @@ const hg = async (e) => {
10403
10403
  const t = /<div class="ck-image-gallery"[^>]*?>([\s\S]*?)<\/div>/g, n = [...e.matchAll(t)];
10404
10404
  let s = "", o = 0;
10405
10405
  for (const r of n) {
10406
- const [i, c = ""] = r, u = r.index, l = u + i.length;
10407
- s += e.slice(o, u);
10406
+ const [i, c = ""] = r, d = r.index, l = d + i.length;
10407
+ s += e.slice(o, d);
10408
10408
  const h = [...c.matchAll(/data-src="([^"]+)"/g)].map(
10409
10409
  (g) => g[1]
10410
10410
  ).map(
10411
10411
  (g) => `<img fetchPriority='low' loading='lazy' alt='imagen' src="${g}" class="carrusel-note-item" width="800" height="469"/>`
10412
- ), m = "gallery_embeded" + u.toString(), p = _0({
10412
+ ), m = "gallery_embeded" + d.toString(), p = _0({
10413
10413
  slot_id: m,
10414
10414
  children: h,
10415
10415
  visibleItems: 1,
@@ -10423,17 +10423,17 @@ const hg = async (e) => {
10423
10423
  const s = /<span data-src="(.*?)"><\/span>/g, o = [...e.matchAll(s)];
10424
10424
  let r = e;
10425
10425
  for (const i of o) {
10426
- const c = i[0], u = i[1] ?? "", l = n.find(
10427
- (N) => u.includes(N?.[0]?.info.link.internal || "")
10426
+ const c = i[0], d = i[1] ?? "", l = n.find(
10427
+ (N) => d.includes(N?.[0]?.info.link.internal || "")
10428
10428
  );
10429
10429
  if (!l || !l[0]) continue;
10430
- const d = l[0].preview?.sizes?.[0], h = d ? await pe(d.url) : "", m = l[0].info.section?.url ?? "#", p = l[0].info.section?.name ?? "Sección", g = l[0].info.link?.url ?? "#", A = l[0].main?.title.article ?? "Título", w = (await Promise.all(
10430
+ const u = l[0].preview?.sizes?.[0], h = u ? await pe(u.url) : "", m = l[0].info.section?.url ?? "#", p = l[0].info.section?.name ?? "Sección", g = l[0].info.link?.url ?? "#", A = l[0].main?.title.article ?? "Título", w = (await Promise.all(
10431
10431
  l[0].preview?.sizes?.map(async (N, b) => {
10432
10432
  const x = await pe(N.url);
10433
10433
  return b === 0 ? `<source srcset="${x}" media="(width >= 900px)"/>` : `<source srcset="${x}" media="(width < 900px)"/>`;
10434
10434
  })
10435
10435
  )).reduce((N, b) => N += b, ""), C = `
10436
- <span data-src="${u}">
10436
+ <span data-src="${d}">
10437
10437
  <picture style='display: flex'>
10438
10438
  ${w}
10439
10439
  <img fetchPriority='low' loading='lazy' src="${h}" alt="${t.noteRelatedImageAlt} ${A}" />
@@ -10455,15 +10455,15 @@ async function vg(e, t) {
10455
10455
  for (; (r = o.exec(e)) !== null; ) {
10456
10456
  const i = r.index, c = o.lastIndex;
10457
10457
  n += e.slice(s, i);
10458
- let u = 1, l = c;
10459
- const d = e.length;
10460
- for (; l < d && u > 0; ) {
10458
+ let d = 1, l = c;
10459
+ const u = e.length;
10460
+ for (; l < u && d > 0; ) {
10461
10461
  const C = e.indexOf("<div", l), N = e.indexOf("</div>", l);
10462
10462
  if (N === -1) {
10463
- l = d;
10463
+ l = u;
10464
10464
  break;
10465
10465
  }
10466
- C !== -1 && C < N ? (u += 1, l = C + 4) : (u -= 1, l = N + 6);
10466
+ C !== -1 && C < N ? (d += 1, l = C + 4) : (d -= 1, l = N + 6);
10467
10467
  }
10468
10468
  const h = l, m = e.slice(i, h);
10469
10469
  let p = null;
@@ -10543,18 +10543,18 @@ async function _g(e) {
10543
10543
  slug: r,
10544
10544
  itemList: i,
10545
10545
  socials: c,
10546
- getVideos: u,
10546
+ getVideos: d,
10547
10547
  commonServices: l
10548
10548
  } = e;
10549
- let d = t?.body?.rendered ?? "";
10550
- d = d.replace(
10549
+ let u = t?.body?.rendered ?? "";
10550
+ u = u.replace(
10551
10551
  /<script[^>]*src=["']https:\/\/platform\.twitter\.com\/widgets\.js["'][^>]*><\/script>/gi,
10552
10552
  ""
10553
- ), d = d.replace(/&nbsp;/g, ""), d = wg(d, n), d = yg(d), d = await Ag(d), d = await Cg(
10554
- d,
10553
+ ), u = u.replace(/&nbsp;/g, ""), u = wg(u, n), u = yg(u), u = await Ag(u), u = await Cg(
10554
+ u,
10555
10555
  e.texts,
10556
10556
  s
10557
- ), d = await vg(d, u), d = fg(d), d = gg(d);
10557
+ ), u = await vg(u, d), u = fg(u), u = gg(u);
10558
10558
  const h = t.main.sources ?? [], { NEWS_JOURNALIST_COMPONENT: m } = ee(), p = t.config.articlepreview === pt.fotoGaleria && t.hascontent?.hasgalleryimages;
10559
10559
  return /* @__PURE__ */ f("div", { className: rn.content, children: [
10560
10560
  r !== "liveblogs" && e.showHeaderImage ? p ? /* @__PURE__ */ a(
@@ -10594,7 +10594,7 @@ async function _g(e) {
10594
10594
  className: rn.contentNews,
10595
10595
  suppressHydrationWarning: !0,
10596
10596
  id: "content-news-section",
10597
- dangerouslySetInnerHTML: { __html: d }
10597
+ dangerouslySetInnerHTML: { __html: u }
10598
10598
  }
10599
10599
  ),
10600
10600
  /* @__PURE__ */ a(
@@ -10604,7 +10604,7 @@ async function _g(e) {
10604
10604
  itemList: i,
10605
10605
  banners: n,
10606
10606
  slug: r,
10607
- getVideos: u,
10607
+ getVideos: d,
10608
10608
  newsRelatedListResponses: o ?? []
10609
10609
  }
10610
10610
  ),
@@ -10721,7 +10721,7 @@ const bg = (e) => {
10721
10721
  ) }),
10722
10722
  /* @__PURE__ */ f("div", { className: dt.containerCards, children: [
10723
10723
  /* @__PURE__ */ a("div", { className: "banner-context", style: { order: 1 }, children: e.banner }),
10724
- /* @__PURE__ */ a("div", { className: dt.newsContent, children: Array.isArray(r) && r.map((c, u) => {
10724
+ /* @__PURE__ */ a("div", { className: dt.newsContent, children: Array.isArray(r) && r.map((c, d) => {
10725
10725
  const l = {
10726
10726
  ...c,
10727
10727
  main: {
@@ -10732,14 +10732,14 @@ const bg = (e) => {
10732
10732
  }
10733
10733
  }
10734
10734
  };
10735
- return /* @__PURE__ */ a("div", { style: { order: u }, children: /* @__PURE__ */ a(
10735
+ return /* @__PURE__ */ a("div", { style: { order: d }, children: /* @__PURE__ */ a(
10736
10736
  tt,
10737
10737
  {
10738
10738
  ...l,
10739
10739
  isVideo: s,
10740
10740
  paths: e.paths
10741
10741
  }
10742
- ) }, u);
10742
+ ) }, d);
10743
10743
  }) })
10744
10744
  ] })
10745
10745
  ] });
@@ -10849,8 +10849,8 @@ const Ts = {
10849
10849
  banners: r,
10850
10850
  showTagBySection: i
10851
10851
  }) => {
10852
- const c = [], l = t, d = Object.keys(e).length / l;
10853
- for (let h = 1; h <= d; h++)
10852
+ const c = [], l = t, u = Object.keys(e).length / l;
10853
+ for (let h = 1; h <= u; h++)
10854
10854
  for (let m = 1; m <= l; m++) {
10855
10855
  const p = "Home_" + h + "_" + m;
10856
10856
  !e[p] || !e[p].blockSass || !e[p].blockSass[0] || !e[p].blockSass[0].value || !e[p].blockSass[0].block || e[p].blockSass[0].block === "No Mostrar" || c.push(
@@ -10899,10 +10899,10 @@ const Ts = {
10899
10899
  }) => {
10900
10900
  const { PUBLIC_ENV: o } = ee();
10901
10901
  if (o !== "local") return null;
10902
- const r = e?.news?.data || [], i = (c, u) => ({
10902
+ const r = e?.news?.data || [], i = (c, d) => ({
10903
10903
  ...e?.news,
10904
10904
  ...t[c],
10905
- data: r.slice(0, u),
10905
+ data: r.slice(0, d),
10906
10906
  paths: n.paths
10907
10907
  });
10908
10908
  return /* @__PURE__ */ f(J, { children: [
@@ -10950,9 +10950,9 @@ const Ts = {
10950
10950
  news: r = [],
10951
10951
  newsRelatedResponses: i = [],
10952
10952
  newsRelatedListResponses: c = [],
10953
- itemList: u = [],
10953
+ itemList: d = [],
10954
10954
  socials: l,
10955
- getVideos: d
10955
+ getVideos: u
10956
10956
  } = e, h = e.slug === "liveblogs", { SHOW_NEWS_MORE_NEWS: m, SHOW_NEWS_RELATED_NEWS: p, MORE_NEWS_SSR: g } = ee();
10957
10957
  if (!(!r || !r[0]))
10958
10958
  return /* @__PURE__ */ a(J, { children: /* @__PURE__ */ f(Df, { className: ga.contentLayout2, children: [
@@ -10979,7 +10979,7 @@ const Ts = {
10979
10979
  texts: e.texts,
10980
10980
  paths: e.paths,
10981
10981
  slug: e.slug,
10982
- itemList: u,
10982
+ itemList: d,
10983
10983
  ranking: n,
10984
10984
  readestCustomStyles: e.readestCustomStyles,
10985
10985
  bannerTop: /* @__PURE__ */ a(ye, { banners: s ?? [], name: "right_1" }),
@@ -11110,9 +11110,9 @@ const Ts = {
11110
11110
  banners: s,
11111
11111
  newsRelatedResponses: i,
11112
11112
  newsRelatedListResponses: c,
11113
- itemList: u,
11113
+ itemList: d,
11114
11114
  slug: e.slug,
11115
- getVideos: d,
11115
+ getVideos: u,
11116
11116
  noteShare: e.noteShare,
11117
11117
  paths: e.paths,
11118
11118
  showHeaderImage: !qg(r[0]),
@@ -11181,9 +11181,9 @@ const Ts = {
11181
11181
  banners: r,
11182
11182
  pathname: i,
11183
11183
  ranking: c,
11184
- currentPage: u,
11184
+ currentPage: d,
11185
11185
  slug: l,
11186
- texts: d = {}
11186
+ texts: u = {}
11187
11187
  } = e, h = [5, 10, 15], m = {
11188
11188
  5: 1,
11189
11189
  10: 2,
@@ -11198,7 +11198,7 @@ const Ts = {
11198
11198
  {
11199
11199
  paths: e.paths,
11200
11200
  ranking: c,
11201
- readestTitle: d.readestTitle ?? "",
11201
+ readestTitle: u.readestTitle ?? "",
11202
11202
  bannerTop: /* @__PURE__ */ a(ye, { banners: r ?? [], name: "right_1" }),
11203
11203
  banner: /* @__PURE__ */ a(ye, { banners: r ?? [], name: "right_2" }),
11204
11204
  children: /* @__PURE__ */ a("section", { className: Xn.content, children: t.length > 0 ? /* @__PURE__ */ a(
@@ -11210,10 +11210,10 @@ const Ts = {
11210
11210
  paginatorComponent: /* @__PURE__ */ a(
11211
11211
  bn,
11212
11212
  {
11213
- texts: d,
11213
+ texts: u,
11214
11214
  pathname: i,
11215
11215
  query: "",
11216
- currentPage: u,
11216
+ currentPage: d,
11217
11217
  maxPages: e.paginationLimit,
11218
11218
  showNext: !(t.length < e.newsListLimit)
11219
11219
  }
@@ -11264,7 +11264,7 @@ const Ts = {
11264
11264
  lineHeight: "26px",
11265
11265
  textAlign: "center"
11266
11266
  },
11267
- children: d.autorNotResultMessage
11267
+ children: u.autorNotResultMessage
11268
11268
  }
11269
11269
  )
11270
11270
  }
@@ -11291,7 +11291,7 @@ const Ts = {
11291
11291
  /* @__PURE__ */ a(
11292
11292
  bn,
11293
11293
  {
11294
- texts: d,
11294
+ texts: u,
11295
11295
  query: "",
11296
11296
  pathname: i,
11297
11297
  maxPages: Number(e.paginationLimit),
@@ -11319,7 +11319,7 @@ const Ts = {
11319
11319
  lineHeight: "26px",
11320
11320
  textAlign: "center"
11321
11321
  },
11322
- children: d.autorNotResultMessage
11322
+ children: u.autorNotResultMessage
11323
11323
  }
11324
11324
  )
11325
11325
  }
@@ -11456,32 +11456,32 @@ function r6({ containerId: e, containerId2: t }) {
11456
11456
  return Qe(() => {
11457
11457
  try {
11458
11458
  let n = function() {
11459
- const d = window.twttr;
11460
- d?.widgets ? d.widgets.load(s) : l < 10 ? (l++, requestAnimationFrame(n)) : console.warn("No se pudo cargar widgets de Twitter");
11459
+ const u = window.twttr;
11460
+ u?.widgets ? u.widgets.load(s) : l < 10 ? (l++, requestAnimationFrame(n)) : console.warn("No se pudo cargar widgets de Twitter");
11461
11461
  };
11462
11462
  const s = document.getElementById(e), o = document.getElementById(t);
11463
11463
  if (!s && !o) return;
11464
11464
  const r = s?.querySelectorAll("script[src]") ?? [], i = o?.querySelectorAll("script[src]") ?? [];
11465
- [...r, ...i].forEach((d) => {
11465
+ [...r, ...i].forEach((u) => {
11466
11466
  const h = document.createElement("script");
11467
- Array.from(d.attributes).forEach((m) => {
11467
+ Array.from(u.attributes).forEach((m) => {
11468
11468
  h.setAttribute(m.name, m.value);
11469
- }), d.replaceWith(h);
11469
+ }), u.replaceWith(h);
11470
11470
  });
11471
- const u = document.querySelectorAll(
11471
+ const d = document.querySelectorAll(
11472
11472
  'script[src*="platform.twitter.com/widgets.js"]'
11473
11473
  );
11474
- if (u)
11475
- for (let d = 0; d < u.length; d++)
11476
- u[d]?.remove();
11474
+ if (d)
11475
+ for (let u = 0; u < d.length; u++)
11476
+ d[u]?.remove();
11477
11477
  let l = 0;
11478
11478
  if (document.querySelector(
11479
11479
  'script[src*="platform.twitter.com/widgets.js"]'
11480
11480
  ))
11481
11481
  n();
11482
11482
  else {
11483
- const d = document.createElement("script");
11484
- d.src = "https://platform.twitter.com/widgets.js", d.async = !0, d.onload = n, document.body.appendChild(d);
11483
+ const u = document.createElement("script");
11484
+ u.src = "https://platform.twitter.com/widgets.js", u.async = !0, u.onload = n, document.body.appendChild(u);
11485
11485
  }
11486
11486
  } catch (n) {
11487
11487
  console.warn("Error al procesar embeds de Twitter", n);
@@ -11502,7 +11502,7 @@ const pp = (e) => {
11502
11502
  );
11503
11503
  if (!i.length || !i[0]?.url || i[0]?.url === "")
11504
11504
  return /* @__PURE__ */ a("div", { className: re.imagePlaceholder });
11505
- const { PUBLIC_API_HOST: c, PUBLIC_ASSETS_URL: u } = e.API_ENV;
11505
+ const { PUBLIC_API_HOST: c, PUBLIC_ASSETS_URL: d } = e.API_ENV;
11506
11506
  return /* @__PURE__ */ a("figure", { className: re.figure, children: /* @__PURE__ */ f("span", { className: re.backdrop, children: [
11507
11507
  /* @__PURE__ */ a(
11508
11508
  "span",
@@ -11521,7 +11521,7 @@ const pp = (e) => {
11521
11521
  loading: "lazy",
11522
11522
  className: re.imageStyled,
11523
11523
  alt: e.preview?.description || "",
11524
- src: (u && u !== "false" ? u : c) + i[0]?.url,
11524
+ src: (d && d !== "false" ? d : c) + i[0]?.url,
11525
11525
  style: {
11526
11526
  boxShadow: s ? "0px 4px 8px 0px #00000033" : "0px"
11527
11527
  }
@@ -11634,7 +11634,7 @@ const pp = (e) => {
11634
11634
  fetchConfig: i,
11635
11635
  paths: c
11636
11636
  }) => {
11637
- const u = r.FETCH_SIZE_MORE_NEWS ?? 6, [l, d] = K({ data: Array.from({ length: u }, () => wp) }), [h, m] = K(!1), p = ue(async () => {
11637
+ const d = r.FETCH_SIZE_MORE_NEWS ?? 6, [l, u] = K({ data: Array.from({ length: d }, () => wp) }), [h, m] = K(!1), p = ue(async () => {
11638
11638
  if (!t.info.link.internal) return;
11639
11639
  const w = new URLSearchParams({
11640
11640
  section: e,
@@ -11656,7 +11656,7 @@ const pp = (e) => {
11656
11656
  `${w}${N}/news-list-section`,
11657
11657
  {
11658
11658
  params: {
11659
- size: u + 1,
11659
+ size: d + 1,
11660
11660
  newstype: i.newsType,
11661
11661
  section: e,
11662
11662
  imagesizes: i.imgSizes,
@@ -11679,12 +11679,12 @@ const pp = (e) => {
11679
11679
  m(!0);
11680
11680
  try {
11681
11681
  let w;
11682
- r.PUBLIC_ENV !== "prod" ? w = await p() : w = await g(), d({
11682
+ r.PUBLIC_ENV !== "prod" ? w = await p() : w = await g(), u({
11683
11683
  ...w,
11684
- data: w.data.slice(0, u)
11684
+ data: w.data.slice(0, d)
11685
11685
  });
11686
11686
  } catch (w) {
11687
- console.error("[/api/get-more-news] Error:", w.message), d(void 0);
11687
+ console.error("[/api/get-more-news] Error:", w.message), u(void 0);
11688
11688
  }
11689
11689
  }
11690
11690
  }, [
@@ -11724,9 +11724,9 @@ const pp = (e) => {
11724
11724
  children: t.map((r, i) => {
11725
11725
  const {
11726
11726
  main: c,
11727
- authors: u,
11727
+ authors: d,
11728
11728
  info: l,
11729
- preview: d,
11729
+ preview: u,
11730
11730
  isVideo: h = !1,
11731
11731
  config: m,
11732
11732
  overImage: p = "default",
@@ -11751,7 +11751,7 @@ const pp = (e) => {
11751
11751
  pp,
11752
11752
  {
11753
11753
  isVisible: e.isVisible,
11754
- preview: d,
11754
+ preview: u,
11755
11755
  rounded: e.rounded,
11756
11756
  isVideo: h,
11757
11757
  isLarge: A,
@@ -11766,9 +11766,9 @@ const pp = (e) => {
11766
11766
  {
11767
11767
  main: c,
11768
11768
  SHOW_TAG_BY_SECTION: s.SHOW_TAG_BY_SECTION,
11769
- authors: u,
11769
+ authors: d,
11770
11770
  info: l,
11771
- preview: d,
11771
+ preview: u,
11772
11772
  share: e.share,
11773
11773
  config: m,
11774
11774
  overImage: p,
@@ -11789,36 +11789,36 @@ const pp = (e) => {
11789
11789
  }, vp = (e) => {
11790
11790
  const { share: t = !1, cutSubtitle: n = !0, SHOW_TAG_BY_SECTION: s, keywords: o, info: r } = e, c = (() => {
11791
11791
  if (!e?.authors || e.authors.length === 0) return "";
11792
- const d = e.authors[0], h = Ge(e.info?.date?.modified, e.DATE_CONFIG);
11793
- return d && e?.config?.showtime && e.config?.showauthor ? `${d.fullname} - ${h}` : d && e.config?.showauthor ? d.fullname : e?.config?.showtime ? h : "";
11794
- })(), u = () => e.main.uppertitle ? /* @__PURE__ */ a("p", { className: ne.uppertitle, title: e.main.uppertitle, children: e.main.uppertitle }) : null, l = () => {
11792
+ const u = e.authors[0], h = Ge(e.info?.date?.modified, e.DATE_CONFIG);
11793
+ return u && e?.config?.showtime && e.config?.showauthor ? `${u.fullname} - ${h}` : u && e.config?.showauthor ? u.fullname : e?.config?.showtime ? h : "";
11794
+ })(), d = () => e.main.uppertitle ? /* @__PURE__ */ a("p", { className: ne.uppertitle, title: e.main.uppertitle, children: e.main.uppertitle }) : null, l = () => {
11795
11795
  if (s && o?.tags?.length && o.tags.length > 0) {
11796
- const d = o.tags[0], h = d.name;
11796
+ const u = o.tags[0], h = u.name;
11797
11797
  return /* @__PURE__ */ f("h3", { className: ne.sectionDescriptionContainer, children: [
11798
- d.approved ? /* @__PURE__ */ a(
11798
+ u.approved ? /* @__PURE__ */ a(
11799
11799
  q,
11800
11800
  {
11801
11801
  "aria-label": h,
11802
11802
  className: ne.sectionDescription,
11803
- href: At(d, e.paths),
11803
+ href: At(u, e.paths),
11804
11804
  children: h
11805
11805
  }
11806
11806
  ) : /* @__PURE__ */ a("div", { className: ne.sectionDescription, children: h }),
11807
- u()
11807
+ d()
11808
11808
  ] });
11809
11809
  } else if (r?.section?.url) {
11810
- const d = r.section.name;
11810
+ const u = r.section.name;
11811
11811
  return /* @__PURE__ */ f("h3", { className: ne.sectionDescriptionContainer, children: [
11812
11812
  /* @__PURE__ */ a(
11813
11813
  q,
11814
11814
  {
11815
- "aria-label": d,
11815
+ "aria-label": u,
11816
11816
  className: ne.sectionDescription,
11817
11817
  href: r.section.url,
11818
- children: d
11818
+ children: u
11819
11819
  }
11820
11820
  ),
11821
- u()
11821
+ d()
11822
11822
  ] });
11823
11823
  }
11824
11824
  return null;
@@ -11949,7 +11949,7 @@ async function i6({
11949
11949
  captchaToken: r,
11950
11950
  apiToken: i,
11951
11951
  securityToken: c,
11952
- COMMENTS_VARS: u
11952
+ COMMENTS_VARS: d
11953
11953
  }) {
11954
11954
  if (!e || !t || !n || !s || !r)
11955
11955
  throw new Error(
@@ -11957,15 +11957,15 @@ async function i6({
11957
11957
  );
11958
11958
  if (typeof e != "string" || typeof t != "string" || typeof n != "string" || typeof s != "string" || typeof r != "string")
11959
11959
  throw new Error("Todos los parámetros deben ser strings");
11960
- if (!await Do(r, u))
11960
+ if (!await Do(r, d))
11961
11961
  throw new Error("Token de captcha inválido");
11962
11962
  if (!i)
11963
11963
  throw new Error("Falta el token de API del CMS");
11964
- const l = `${o}/system/modules/com.tfsla.diario.base/templates/hit/5.0/1/newcomments/report`, d = encodeURIComponent(s), h = new URLSearchParams({
11964
+ const l = `${o}/system/modules/com.tfsla.diario.base/templates/hit/5.0/1/newcomments/report`, u = encodeURIComponent(s), h = new URLSearchParams({
11965
11965
  publication: e,
11966
11966
  username: t ?? !1,
11967
11967
  id: n,
11968
- type: d
11968
+ type: u
11969
11969
  }), m = `${l}?${h.toString()}`;
11970
11970
  try {
11971
11971
  console.log("Reporting comment:", {
@@ -11973,7 +11973,7 @@ async function i6({
11973
11973
  username: t,
11974
11974
  id: n,
11975
11975
  type: s,
11976
- encodedType: d,
11976
+ encodedType: u,
11977
11977
  url: m
11978
11978
  });
11979
11979
  const p = await oe.get(m, {
@@ -12027,8 +12027,8 @@ function Qp(e) {
12027
12027
  }
12028
12028
  const Da = (e, t, n) => {
12029
12029
  if (!e || !e.current) return { boolean: !1, text: "" };
12030
- const s = e.current?.value || "", o = s.length > Ct, { PUBLIC_ENV: r } = n, i = r === "local", c = s.trim() !== "" && (i || t !== "") && !o, u = o ? `No debes exceder el limite de ${Ct} caracteres.` : "Debes completar todos los campos para comentar.";
12031
- return { boolean: c, text: u };
12030
+ const s = e.current?.value || "", o = s.length > Ct, { PUBLIC_ENV: r } = n, i = r === "local", c = s.trim() !== "" && (i || t !== "") && !o, d = o ? `No debes exceder el limite de ${Ct} caracteres.` : "Debes completar todos los campos para comentar.";
12031
+ return { boolean: c, text: d };
12032
12032
  }, Mo = (e) => {
12033
12033
  const t = e.cookie.split("; ").find((n) => n.startsWith("reported="));
12034
12034
  if (!t) return [];
@@ -12059,14 +12059,14 @@ var Ls;
12059
12059
  function zp() {
12060
12060
  if (Ls) return ae;
12061
12061
  Ls = 1;
12062
- var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, s = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, r = e ? Symbol.for("react.profiler") : 60114, i = e ? Symbol.for("react.provider") : 60109, c = e ? Symbol.for("react.context") : 60110, u = e ? Symbol.for("react.async_mode") : 60111, l = e ? Symbol.for("react.concurrent_mode") : 60111, d = e ? Symbol.for("react.forward_ref") : 60112, h = e ? Symbol.for("react.suspense") : 60113, m = e ? Symbol.for("react.suspense_list") : 60120, p = e ? Symbol.for("react.memo") : 60115, g = e ? Symbol.for("react.lazy") : 60116, A = e ? Symbol.for("react.block") : 60121, w = e ? Symbol.for("react.fundamental") : 60117, C = e ? Symbol.for("react.responder") : 60118, N = e ? Symbol.for("react.scope") : 60119;
12062
+ var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, s = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, r = e ? Symbol.for("react.profiler") : 60114, i = e ? Symbol.for("react.provider") : 60109, c = e ? Symbol.for("react.context") : 60110, d = e ? Symbol.for("react.async_mode") : 60111, l = e ? Symbol.for("react.concurrent_mode") : 60111, u = e ? Symbol.for("react.forward_ref") : 60112, h = e ? Symbol.for("react.suspense") : 60113, m = e ? Symbol.for("react.suspense_list") : 60120, p = e ? Symbol.for("react.memo") : 60115, g = e ? Symbol.for("react.lazy") : 60116, A = e ? Symbol.for("react.block") : 60121, w = e ? Symbol.for("react.fundamental") : 60117, C = e ? Symbol.for("react.responder") : 60118, N = e ? Symbol.for("react.scope") : 60119;
12063
12063
  function b(v) {
12064
12064
  if (typeof v == "object" && v !== null) {
12065
12065
  var E = v.$$typeof;
12066
12066
  switch (E) {
12067
12067
  case t:
12068
12068
  switch (v = v.type, v) {
12069
- case u:
12069
+ case d:
12070
12070
  case l:
12071
12071
  case s:
12072
12072
  case r:
@@ -12076,7 +12076,7 @@ function zp() {
12076
12076
  default:
12077
12077
  switch (v = v && v.$$typeof, v) {
12078
12078
  case c:
12079
- case d:
12079
+ case u:
12080
12080
  case g:
12081
12081
  case p:
12082
12082
  case i:
@@ -12093,8 +12093,8 @@ function zp() {
12093
12093
  function x(v) {
12094
12094
  return b(v) === l;
12095
12095
  }
12096
- return ae.AsyncMode = u, ae.ConcurrentMode = l, ae.ContextConsumer = c, ae.ContextProvider = i, ae.Element = t, ae.ForwardRef = d, ae.Fragment = s, ae.Lazy = g, ae.Memo = p, ae.Portal = n, ae.Profiler = r, ae.StrictMode = o, ae.Suspense = h, ae.isAsyncMode = function(v) {
12097
- return x(v) || b(v) === u;
12096
+ return ae.AsyncMode = d, ae.ConcurrentMode = l, ae.ContextConsumer = c, ae.ContextProvider = i, ae.Element = t, ae.ForwardRef = u, ae.Fragment = s, ae.Lazy = g, ae.Memo = p, ae.Portal = n, ae.Profiler = r, ae.StrictMode = o, ae.Suspense = h, ae.isAsyncMode = function(v) {
12097
+ return x(v) || b(v) === d;
12098
12098
  }, ae.isConcurrentMode = x, ae.isContextConsumer = function(v) {
12099
12099
  return b(v) === c;
12100
12100
  }, ae.isContextProvider = function(v) {
@@ -12102,7 +12102,7 @@ function zp() {
12102
12102
  }, ae.isElement = function(v) {
12103
12103
  return typeof v == "object" && v !== null && v.$$typeof === t;
12104
12104
  }, ae.isForwardRef = function(v) {
12105
- return b(v) === d;
12105
+ return b(v) === u;
12106
12106
  }, ae.isFragment = function(v) {
12107
12107
  return b(v) === s;
12108
12108
  }, ae.isLazy = function(v) {
@@ -12118,17 +12118,17 @@ function zp() {
12118
12118
  }, ae.isSuspense = function(v) {
12119
12119
  return b(v) === h;
12120
12120
  }, ae.isValidElementType = function(v) {
12121
- return typeof v == "string" || typeof v == "function" || v === s || v === l || v === r || v === o || v === h || v === m || typeof v == "object" && v !== null && (v.$$typeof === g || v.$$typeof === p || v.$$typeof === i || v.$$typeof === c || v.$$typeof === d || v.$$typeof === w || v.$$typeof === C || v.$$typeof === N || v.$$typeof === A);
12121
+ return typeof v == "string" || typeof v == "function" || v === s || v === l || v === r || v === o || v === h || v === m || typeof v == "object" && v !== null && (v.$$typeof === g || v.$$typeof === p || v.$$typeof === i || v.$$typeof === c || v.$$typeof === u || v.$$typeof === w || v.$$typeof === C || v.$$typeof === N || v.$$typeof === A);
12122
12122
  }, ae.typeOf = b, ae;
12123
12123
  }
12124
12124
  var se = {};
12125
12125
  var qs;
12126
12126
  function Vp() {
12127
12127
  return qs || (qs = 1, process.env.NODE_ENV !== "production" && (function() {
12128
- var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, s = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, r = e ? Symbol.for("react.profiler") : 60114, i = e ? Symbol.for("react.provider") : 60109, c = e ? Symbol.for("react.context") : 60110, u = e ? Symbol.for("react.async_mode") : 60111, l = e ? Symbol.for("react.concurrent_mode") : 60111, d = e ? Symbol.for("react.forward_ref") : 60112, h = e ? Symbol.for("react.suspense") : 60113, m = e ? Symbol.for("react.suspense_list") : 60120, p = e ? Symbol.for("react.memo") : 60115, g = e ? Symbol.for("react.lazy") : 60116, A = e ? Symbol.for("react.block") : 60121, w = e ? Symbol.for("react.fundamental") : 60117, C = e ? Symbol.for("react.responder") : 60118, N = e ? Symbol.for("react.scope") : 60119;
12128
+ var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, s = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, r = e ? Symbol.for("react.profiler") : 60114, i = e ? Symbol.for("react.provider") : 60109, c = e ? Symbol.for("react.context") : 60110, d = e ? Symbol.for("react.async_mode") : 60111, l = e ? Symbol.for("react.concurrent_mode") : 60111, u = e ? Symbol.for("react.forward_ref") : 60112, h = e ? Symbol.for("react.suspense") : 60113, m = e ? Symbol.for("react.suspense_list") : 60120, p = e ? Symbol.for("react.memo") : 60115, g = e ? Symbol.for("react.lazy") : 60116, A = e ? Symbol.for("react.block") : 60121, w = e ? Symbol.for("react.fundamental") : 60117, C = e ? Symbol.for("react.responder") : 60118, N = e ? Symbol.for("react.scope") : 60119;
12129
12129
  function b(L) {
12130
12130
  return typeof L == "string" || typeof L == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
12131
- L === s || L === l || L === r || L === o || L === h || L === m || typeof L == "object" && L !== null && (L.$$typeof === g || L.$$typeof === p || L.$$typeof === i || L.$$typeof === c || L.$$typeof === d || L.$$typeof === w || L.$$typeof === C || L.$$typeof === N || L.$$typeof === A);
12131
+ L === s || L === l || L === r || L === o || L === h || L === m || typeof L == "object" && L !== null && (L.$$typeof === g || L.$$typeof === p || L.$$typeof === i || L.$$typeof === c || L.$$typeof === u || L.$$typeof === w || L.$$typeof === C || L.$$typeof === N || L.$$typeof === A);
12132
12132
  }
12133
12133
  function x(L) {
12134
12134
  if (typeof L == "object" && L !== null) {
@@ -12137,7 +12137,7 @@ function Vp() {
12137
12137
  case t:
12138
12138
  var Yt = L.type;
12139
12139
  switch (Yt) {
12140
- case u:
12140
+ case d:
12141
12141
  case l:
12142
12142
  case s:
12143
12143
  case r:
@@ -12148,7 +12148,7 @@ function Vp() {
12148
12148
  var Ga = Yt && Yt.$$typeof;
12149
12149
  switch (Ga) {
12150
12150
  case c:
12151
- case d:
12151
+ case u:
12152
12152
  case g:
12153
12153
  case p:
12154
12154
  case i:
@@ -12162,9 +12162,9 @@ function Vp() {
12162
12162
  }
12163
12163
  }
12164
12164
  }
12165
- var v = u, E = l, O = c, Q = i, W = t, G = d, B = s, te = g, le = p, M = n, U = r, I = o, D = h, T = !1;
12165
+ var v = d, E = l, O = c, Q = i, W = t, G = u, B = s, te = g, le = p, M = n, U = r, I = o, D = h, T = !1;
12166
12166
  function z(L) {
12167
- return T || (T = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), y(L) || x(L) === u;
12167
+ return T || (T = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), y(L) || x(L) === d;
12168
12168
  }
12169
12169
  function y(L) {
12170
12170
  return x(L) === l;
@@ -12179,7 +12179,7 @@ function Vp() {
12179
12179
  return typeof L == "object" && L !== null && L.$$typeof === t;
12180
12180
  }
12181
12181
  function P(L) {
12182
- return x(L) === d;
12182
+ return x(L) === u;
12183
12183
  }
12184
12184
  function H(L) {
12185
12185
  return x(L) === s;
@@ -12228,31 +12228,31 @@ function Fp() {
12228
12228
  return !1;
12229
12229
  for (var i = {}, c = 0; c < 10; c++)
12230
12230
  i["_" + String.fromCharCode(c)] = c;
12231
- var u = Object.getOwnPropertyNames(i).map(function(d) {
12232
- return i[d];
12231
+ var d = Object.getOwnPropertyNames(i).map(function(u) {
12232
+ return i[u];
12233
12233
  });
12234
- if (u.join("") !== "0123456789")
12234
+ if (d.join("") !== "0123456789")
12235
12235
  return !1;
12236
12236
  var l = {};
12237
- return "abcdefghijklmnopqrst".split("").forEach(function(d) {
12238
- l[d] = d;
12237
+ return "abcdefghijklmnopqrst".split("").forEach(function(u) {
12238
+ l[u] = u;
12239
12239
  }), Object.keys(Object.assign({}, l)).join("") === "abcdefghijklmnopqrst";
12240
12240
  } catch {
12241
12241
  return !1;
12242
12242
  }
12243
12243
  }
12244
12244
  return ea = o() ? Object.assign : function(r, i) {
12245
- for (var c, u = s(r), l, d = 1; d < arguments.length; d++) {
12246
- c = Object(arguments[d]);
12245
+ for (var c, d = s(r), l, u = 1; u < arguments.length; u++) {
12246
+ c = Object(arguments[u]);
12247
12247
  for (var h in c)
12248
- t.call(c, h) && (u[h] = c[h]);
12248
+ t.call(c, h) && (d[h] = c[h]);
12249
12249
  if (e) {
12250
12250
  l = e(c);
12251
12251
  for (var m = 0; m < l.length; m++)
12252
- n.call(c, l[m]) && (u[l[m]] = c[l[m]]);
12252
+ n.call(c, l[m]) && (d[l[m]] = c[l[m]]);
12253
12253
  }
12254
12254
  }
12255
- return u;
12255
+ return d;
12256
12256
  }, ea;
12257
12257
  }
12258
12258
  var ta, Ps;
@@ -12283,24 +12283,24 @@ function $p() {
12283
12283
  }
12284
12284
  };
12285
12285
  }
12286
- function o(r, i, c, u, l) {
12286
+ function o(r, i, c, d, l) {
12287
12287
  if (process.env.NODE_ENV !== "production") {
12288
- for (var d in r)
12289
- if (s(r, d)) {
12288
+ for (var u in r)
12289
+ if (s(r, u)) {
12290
12290
  var h;
12291
12291
  try {
12292
- if (typeof r[d] != "function") {
12292
+ if (typeof r[u] != "function") {
12293
12293
  var m = Error(
12294
- (u || "React class") + ": " + c + " type `" + d + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof r[d] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."
12294
+ (d || "React class") + ": " + c + " type `" + u + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof r[u] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."
12295
12295
  );
12296
12296
  throw m.name = "Invariant Violation", m;
12297
12297
  }
12298
- h = r[d](i, d, u, c, null, t);
12298
+ h = r[u](i, u, d, c, null, t);
12299
12299
  } catch (g) {
12300
12300
  h = g;
12301
12301
  }
12302
12302
  if (h && !(h instanceof Error) && e(
12303
- (u || "React class") + ": type specification of " + c + " `" + d + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof h + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
12303
+ (d || "React class") + ": type specification of " + c + " `" + u + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof h + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
12304
12304
  ), h instanceof Error && !(h.message in n)) {
12305
12305
  n[h.message] = !0;
12306
12306
  var p = l ? l() : "";
@@ -12322,20 +12322,20 @@ function Wp() {
12322
12322
  var e = Ma(), t = Fp(), n = /* @__PURE__ */ ja(), s = /* @__PURE__ */ jo(), o = /* @__PURE__ */ $p(), r = function() {
12323
12323
  };
12324
12324
  process.env.NODE_ENV !== "production" && (r = function(c) {
12325
- var u = "Warning: " + c;
12326
- typeof console < "u" && console.error(u);
12325
+ var d = "Warning: " + c;
12326
+ typeof console < "u" && console.error(d);
12327
12327
  try {
12328
- throw new Error(u);
12328
+ throw new Error(d);
12329
12329
  } catch {
12330
12330
  }
12331
12331
  });
12332
12332
  function i() {
12333
12333
  return null;
12334
12334
  }
12335
- return sa = function(c, u) {
12336
- var l = typeof Symbol == "function" && Symbol.iterator, d = "@@iterator";
12335
+ return sa = function(c, d) {
12336
+ var l = typeof Symbol == "function" && Symbol.iterator, u = "@@iterator";
12337
12337
  function h(y) {
12338
- var S = y && (l && y[l] || y[d]);
12338
+ var S = y && (l && y[l] || y[u]);
12339
12339
  if (typeof S == "function")
12340
12340
  return S;
12341
12341
  }
@@ -12372,7 +12372,7 @@ function Wp() {
12372
12372
  var S = {}, R = 0;
12373
12373
  function j(H, V, F, Z, X, $, ie) {
12374
12374
  if (Z = Z || m, $ = $ || F, ie !== n) {
12375
- if (u) {
12375
+ if (d) {
12376
12376
  var L = new Error(
12377
12377
  "Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types"
12378
12378
  );
@@ -12646,7 +12646,7 @@ function Yp() {
12646
12646
  function n() {
12647
12647
  }
12648
12648
  return n.resetWarningCache = t, oa = function() {
12649
- function s(i, c, u, l, d, h) {
12649
+ function s(i, c, d, l, u, h) {
12650
12650
  if (h !== e) {
12651
12651
  var m = new Error(
12652
12652
  "Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types"
@@ -12865,19 +12865,19 @@ function t9() {
12865
12865
  function i(g) {
12866
12866
  return e.isMemo(g) ? o : r[g.$$typeof] || t;
12867
12867
  }
12868
- var c = Object.defineProperty, u = Object.getOwnPropertyNames, l = Object.getOwnPropertySymbols, d = Object.getOwnPropertyDescriptor, h = Object.getPrototypeOf, m = Object.prototype;
12868
+ var c = Object.defineProperty, d = Object.getOwnPropertyNames, l = Object.getOwnPropertySymbols, u = Object.getOwnPropertyDescriptor, h = Object.getPrototypeOf, m = Object.prototype;
12869
12869
  function p(g, A, w) {
12870
12870
  if (typeof A != "string") {
12871
12871
  if (m) {
12872
12872
  var C = h(A);
12873
12873
  C && C !== m && p(g, C, w);
12874
12874
  }
12875
- var N = u(A);
12875
+ var N = d(A);
12876
12876
  l && (N = N.concat(l(A)));
12877
12877
  for (var b = i(g), x = i(A), v = 0; v < N.length; ++v) {
12878
12878
  var E = N[v];
12879
12879
  if (!n[E] && !(w && w[E]) && !(x && x[E]) && !(b && b[E])) {
12880
- var O = d(A, E);
12880
+ var O = u(A, E);
12881
12881
  try {
12882
12882
  c(g, E, O);
12883
12883
  } catch {
@@ -12915,12 +12915,12 @@ var Pe = {}, r9 = 0;
12915
12915
  function i9(e, t) {
12916
12916
  return t = t || {}, function(s) {
12917
12917
  var o = s.displayName || s.name || "Component", r = /* @__PURE__ */ (function(c) {
12918
- o9(u, c);
12919
- function u(d, h) {
12918
+ o9(d, c);
12919
+ function d(u, h) {
12920
12920
  var m;
12921
- return m = c.call(this, d, h) || this, m.state = {}, m.__scriptURL = "", m;
12921
+ return m = c.call(this, u, h) || this, m.state = {}, m.__scriptURL = "", m;
12922
12922
  }
12923
- var l = u.prototype;
12923
+ var l = d.prototype;
12924
12924
  return l.asyncScriptLoaderGetScriptLoaderID = function() {
12925
12925
  return this.__scriptLoaderID || (this.__scriptLoaderID = "async-script-loader-" + r9++), this.__scriptLoaderID;
12926
12926
  }, l.setupScriptURL = function() {
@@ -12997,10 +12997,10 @@ function i9(e, t) {
12997
12997
  m.asyncScriptOnLoad;
12998
12998
  var p = m.forwardedRef, g = s9(m, ["asyncScriptOnLoad", "forwardedRef"]);
12999
12999
  return h && typeof window < "u" && (g[h] = typeof window[h] < "u" ? window[h] : void 0), g.ref = p, it(s, g);
13000
- }, u;
13001
- })(Jo), i = Fs(function(c, u) {
13000
+ }, d;
13001
+ })(Jo), i = Fs(function(c, d) {
13002
13002
  return it(r, ya({}, c, {
13003
- forwardedRef: u
13003
+ forwardedRef: d
13004
13004
  }));
13005
13005
  });
13006
13006
  return i.displayName = "AsyncScriptLoader(" + o + ")", i.propTypes = {
@@ -13069,9 +13069,9 @@ const Qo = i9(l9, {
13069
13069
  username: o,
13070
13070
  CAPTCHA_KEY_V2: r
13071
13071
  }) => {
13072
- const [i, c] = K("form"), [u, l] = K(
13072
+ const [i, c] = K("form"), [d, l] = K(
13073
13073
  ""
13074
- ), [d, h] = K(""), [m, p] = K(""), g = [
13074
+ ), [u, h] = K(""), [m, p] = K(""), g = [
13075
13075
  { id: "spam", label: Je.spam },
13076
13076
  {
13077
13077
  id: "inappropriate",
@@ -13089,7 +13089,7 @@ const Qo = i9(l9, {
13089
13089
  },
13090
13090
  { id: "bullying", label: Je.bullying }
13091
13091
  ], A = async () => {
13092
- if (!(!u || !n)) {
13092
+ if (!(!d || !n)) {
13093
13093
  if (Mo(document).includes(n)) {
13094
13094
  h("Ya has reportado este comentario.");
13095
13095
  return;
@@ -13106,7 +13106,7 @@ const Qo = i9(l9, {
13106
13106
  username: o,
13107
13107
  id: n,
13108
13108
  captchaToken: m,
13109
- type: Je[u]
13109
+ type: Je[d]
13110
13110
  // Enviamos el label completo
13111
13111
  })
13112
13112
  })).json();
@@ -13135,7 +13135,7 @@ const Qo = i9(l9, {
13135
13135
  type: "radio",
13136
13136
  name: "reportReason",
13137
13137
  value: C.id,
13138
- checked: u === C.id,
13138
+ checked: d === C.id,
13139
13139
  onChange: (N) => l(N.target.value),
13140
13140
  className: ge.radioInput
13141
13141
  }
@@ -13143,7 +13143,7 @@ const Qo = i9(l9, {
13143
13143
  /* @__PURE__ */ a("span", { className: ge.radioCustom }),
13144
13144
  /* @__PURE__ */ a("span", { className: ge.optionLabel, children: C.label })
13145
13145
  ] }, C.id)) }),
13146
- d && /* @__PURE__ */ a("div", { className: ge.errorMessage, children: d }),
13146
+ u && /* @__PURE__ */ a("div", { className: ge.errorMessage, children: u }),
13147
13147
  /* @__PURE__ */ a(
13148
13148
  Qo,
13149
13149
  {
@@ -13160,7 +13160,7 @@ const Qo = i9(l9, {
13160
13160
  "button",
13161
13161
  {
13162
13162
  onClick: A,
13163
- disabled: !u,
13163
+ disabled: !d,
13164
13164
  className: ge.reportButton,
13165
13165
  children: "Reportar"
13166
13166
  }
@@ -13242,11 +13242,11 @@ async function Qa({
13242
13242
  lastid: r,
13243
13243
  state: i = "5,6",
13244
13244
  apiToken: c,
13245
- API_ENV: u
13245
+ API_ENV: d
13246
13246
  }) {
13247
- const { PUBLIC_ENV: l } = u;
13247
+ const { PUBLIC_ENV: l } = d;
13248
13248
  if (l === "prod") {
13249
- const d = await D9({
13249
+ const u = await D9({
13250
13250
  publication: e,
13251
13251
  path: t,
13252
13252
  size: n,
@@ -13255,14 +13255,14 @@ async function Qa({
13255
13255
  lastid: r,
13256
13256
  state: i,
13257
13257
  apiToken: c,
13258
- API_ENV: u
13258
+ API_ENV: d
13259
13259
  });
13260
- return xn(d[0]);
13260
+ return xn(u[0]);
13261
13261
  } else {
13262
- const d = await fetch(`/api/comments-get?publication=${e}&path=${t}&size=${n}&sizereply=${s}&lastid=${r}`);
13263
- if (!d.ok)
13264
- throw new Error(`Error al obtener comentarios: ${d.status}`);
13265
- const h = await d.json();
13262
+ const u = await fetch(`/api/comments-get?publication=${e}&path=${t}&size=${n}&sizereply=${s}&lastid=${r}`);
13263
+ if (!u.ok)
13264
+ throw new Error(`Error al obtener comentarios: ${u.status}`);
13265
+ const h = await u.json();
13266
13266
  return xn(h.data[0]);
13267
13267
  }
13268
13268
  }
@@ -13275,7 +13275,7 @@ async function D9({
13275
13275
  lastid: r,
13276
13276
  state: i = "5,6",
13277
13277
  apiToken: c,
13278
- API_ENV: u
13278
+ API_ENV: d
13279
13279
  }) {
13280
13280
  if (!e || !t)
13281
13281
  throw new Error("Missing required parameters: publication and path");
@@ -13283,12 +13283,12 @@ async function D9({
13283
13283
  throw new Error("Invalid input types for publication or path");
13284
13284
  if (!c)
13285
13285
  throw new Error("Missing CMS API token");
13286
- const { PUBLIC_ENV: l, PUBLIC_API_HOST: d, PUBLIC_API_PATH: h, PUBLIC_API_PATH_VERSION: m } = u, p = parseInt(String(n), 10), g = parseInt(String(s), 10);
13286
+ const { PUBLIC_ENV: l, PUBLIC_API_HOST: u, PUBLIC_API_PATH: h, PUBLIC_API_PATH_VERSION: m } = d, p = parseInt(String(n), 10), g = parseInt(String(s), 10);
13287
13287
  if (isNaN(p) || p <= 0)
13288
13288
  throw new Error("Invalid size parameter");
13289
13289
  if (isNaN(g) || g < 0)
13290
13290
  throw new Error("Invalid sizereply parameter");
13291
- const A = l !== "prod" ? `${d}${h}` : "", w = new URLSearchParams({
13291
+ const A = l !== "prod" ? `${u}${h}` : "", w = new URLSearchParams({
13292
13292
  publication: e,
13293
13293
  path: t,
13294
13294
  size: p.toString(),
@@ -13325,7 +13325,7 @@ const M9 = (e, t) => {
13325
13325
  (async () => {
13326
13326
  const { PUBLIC_X_SECURITY_TOKEN: c } = t;
13327
13327
  try {
13328
- const u = await Qa({
13328
+ const d = await Qa({
13329
13329
  publication: r,
13330
13330
  path: e ?? "",
13331
13331
  size: 5,
@@ -13336,9 +13336,9 @@ const M9 = (e, t) => {
13336
13336
  apiToken: c,
13337
13337
  API_ENV: t
13338
13338
  });
13339
- s(u ?? []);
13340
- } catch (u) {
13341
- console.error(u), s({ comments: [], morecomment: !1 });
13339
+ s(d ?? []);
13340
+ } catch (d) {
13341
+ console.error(d), s({ comments: [], morecomment: !1 });
13342
13342
  }
13343
13343
  })();
13344
13344
  }, [n]), { comments: n, setComments: s };
@@ -13443,22 +13443,22 @@ const M9 = (e, t) => {
13443
13443
  ] })
13444
13444
  ] });
13445
13445
  }, $o = ({ onClick: e, isDisabled: t, API_ENV: n }) => {
13446
- const [s, o] = ke.useState(!1), { S3_ID_DIR: r = "", PUBLIC_ENV: i, PUBLIC_API_HOST: c, PUBLIC_ASSETS_URL: u } = n;
13446
+ const [s, o] = ke.useState(!1), { S3_ID_DIR: r = "", PUBLIC_ENV: i, PUBLIC_API_HOST: c, PUBLIC_ASSETS_URL: d } = n;
13447
13447
  ke.useEffect(() => {
13448
- let d = null;
13449
- return s && (d = setTimeout(() => {
13448
+ let u = null;
13449
+ return s && (u = setTimeout(() => {
13450
13450
  o(!1);
13451
13451
  }, 2400)), () => {
13452
- d && clearTimeout(d);
13452
+ u && clearTimeout(u);
13453
13453
  };
13454
13454
  }, [s]);
13455
- const l = i == "local" ? c : u && u !== "false" ? u : "";
13455
+ const l = i == "local" ? c : d && d !== "false" ? d : "";
13456
13456
  return s ? /* @__PURE__ */ a("div", { className: "success-gif-container", children: /* @__PURE__ */ a("img", { className: "success-gif", src: l + "/arte/" + r + "/Success.gif" }) }) : /* @__PURE__ */ f(
13457
13457
  "button",
13458
13458
  {
13459
13459
  type: "button",
13460
- onClick: async (d) => {
13461
- await e(d) && o(!0);
13460
+ onClick: async (u) => {
13461
+ await e(u) && o(!0);
13462
13462
  },
13463
13463
  id: "comment-button",
13464
13464
  className: `submit-btn ${t ? "disabled" : "active"}`,
@@ -13495,7 +13495,7 @@ const M9 = (e, t) => {
13495
13495
  addComment: i,
13496
13496
  API_ENV: c
13497
13497
  }) => {
13498
- const u = t.current?.value || "", { PUBLIC_PUBLICATION_ID: l } = c, d = l;
13498
+ const d = t.current?.value || "", { PUBLIC_PUBLICATION_ID: l } = c, u = l;
13499
13499
  if (!Da(t, n, c).boolean || !o) {
13500
13500
  const h = s.nextElementSibling;
13501
13501
  return h && (h.style.display = "block"), !1;
@@ -13505,11 +13505,11 @@ const M9 = (e, t) => {
13505
13505
  method: "POST",
13506
13506
  headers: { "Content-Type": "application/json" },
13507
13507
  body: JSON.stringify({
13508
- publication: d,
13508
+ publication: u,
13509
13509
  path: e,
13510
13510
  id: r,
13511
13511
  username: o.username,
13512
- comment: u,
13512
+ comment: d,
13513
13513
  recaptchaResponse: n
13514
13514
  })
13515
13515
  });
@@ -13531,7 +13531,7 @@ const M9 = (e, t) => {
13531
13531
  };
13532
13532
  return i({
13533
13533
  id: g.toString(),
13534
- text: u,
13534
+ text: d,
13535
13535
  user: w,
13536
13536
  date: { time: Date.now() },
13537
13537
  reply: []
@@ -13548,8 +13548,8 @@ const M9 = (e, t) => {
13548
13548
  closeForm: r,
13549
13549
  API_ENV: i
13550
13550
  }) => {
13551
- const [c, u] = K(!0), [l, d] = K(""), h = () => {
13552
- t.current?.parentElement && (t.current.parentElement.dataset.text = `0/${Ct}`), u(!0), r();
13551
+ const [c, d] = K(!0), [l, u] = K(""), h = () => {
13552
+ t.current?.parentElement && (t.current.parentElement.dataset.text = `0/${Ct}`), d(!0), r();
13553
13553
  };
13554
13554
  return /* @__PURE__ */ f("div", { className: "comment-form reply-form", children: [
13555
13555
  /* @__PURE__ */ a("button", { className: "close-reply-form", onClick: h, children: /* @__PURE__ */ a(Lt, {}) }),
@@ -13558,7 +13558,7 @@ const M9 = (e, t) => {
13558
13558
  {
13559
13559
  commentRef: t,
13560
13560
  captchaToken: l,
13561
- setIsDisabled: u,
13561
+ setIsDisabled: d,
13562
13562
  API_ENV: i
13563
13563
  }
13564
13564
  ),
@@ -13567,7 +13567,7 @@ const M9 = (e, t) => {
13567
13567
  {
13568
13568
  commentRef: t,
13569
13569
  captchaToken: l,
13570
- setCaptchaToken: d,
13570
+ setCaptchaToken: u,
13571
13571
  API_ENV: i,
13572
13572
  children: /* @__PURE__ */ a(
13573
13573
  $o,
@@ -13612,17 +13612,17 @@ const M9 = (e, t) => {
13612
13612
  ] })
13613
13613
  ] }) });
13614
13614
  }, G9 = ({ comment: e, replyingTo: t, path: n, user: s, handleReplyingTo: o, onFlag: r, API_ENV: i }) => {
13615
- const c = { morereply: e.morereply ?? !1, reply: e.reply ? e.reply : [] }, [u, l] = K(c), [d, h] = ke.useState(!1), { PUBLIC_PUBLICATION_ID: m, PUBLIC_X_SECURITY_TOKEN: p } = i, g = e.text, A = ke.useRef(null);
13615
+ const c = { morereply: e.morereply ?? !1, reply: e.reply ? e.reply : [] }, [d, l] = K(c), [u, h] = ke.useState(!1), { PUBLIC_PUBLICATION_ID: m, PUBLIC_X_SECURITY_TOKEN: p } = i, g = e.text, A = ke.useRef(null);
13616
13616
  let w = `${Xe.firstname} ${Xe.lastname ?? ""}`, C = Xe.username;
13617
13617
  e.user && (w = `${e.user.firstname} ${e.user.lastname ?? ""}`, C = e.user.username);
13618
13618
  const N = (b) => {
13619
- l({ morereply: u.morereply, reply: [b, ...u.reply] });
13619
+ l({ morereply: d.morereply, reply: [b, ...d.reply] });
13620
13620
  };
13621
13621
  return /* @__PURE__ */ a("div", { className: "comment-item", children: /* @__PURE__ */ f(
13622
13622
  "div",
13623
13623
  {
13624
13624
  className: "comment-header-container",
13625
- "data-hasreplies": u.reply.length > 0 ? "true" : "false",
13625
+ "data-hasreplies": d.reply.length > 0 ? "true" : "false",
13626
13626
  children: [
13627
13627
  /* @__PURE__ */ a(Ho, { user: e.user ? e.user : Xe }),
13628
13628
  /* @__PURE__ */ f("div", { style: { flex: 1 }, children: [
@@ -13648,8 +13648,8 @@ const M9 = (e, t) => {
13648
13648
  closeForm: () => o("")
13649
13649
  }
13650
13650
  ),
13651
- u.reply.length > 0 && /* @__PURE__ */ f("div", { className: "comment-replies", children: [
13652
- u.reply.map((b) => /* @__PURE__ */ a(
13651
+ d.reply.length > 0 && /* @__PURE__ */ f("div", { className: "comment-replies", children: [
13652
+ d.reply.map((b) => /* @__PURE__ */ a(
13653
13653
  Q9,
13654
13654
  {
13655
13655
  user: s,
@@ -13660,12 +13660,12 @@ const M9 = (e, t) => {
13660
13660
  },
13661
13661
  b.id
13662
13662
  )),
13663
- d ? /* @__PURE__ */ a("div", { style: { marginLeft: "4rem", position: "relative" }, children: /* @__PURE__ */ a(et, {}) }) : u.morereply && /* @__PURE__ */ a(
13663
+ u ? /* @__PURE__ */ a("div", { style: { marginLeft: "4rem", position: "relative" }, children: /* @__PURE__ */ a(et, {}) }) : d.morereply && /* @__PURE__ */ a(
13664
13664
  "button",
13665
13665
  {
13666
13666
  className: "comment-replies-button reply-button",
13667
13667
  onClick: async () => {
13668
- const b = u.reply[u.reply.length - 1]?.id;
13668
+ const b = d.reply[d.reply.length - 1]?.id;
13669
13669
  h(!0);
13670
13670
  try {
13671
13671
  const v = await Qa({
@@ -13679,7 +13679,7 @@ const M9 = (e, t) => {
13679
13679
  apiToken: p ?? "",
13680
13680
  API_ENV: i
13681
13681
  });
13682
- h(!1), l({ morereply: v.morecomment, reply: [...u.reply, ...v.comments] });
13682
+ h(!1), l({ morereply: v.morecomment, reply: [...d.reply, ...v.comments] });
13683
13683
  } catch (x) {
13684
13684
  throw h(!1), new Error(`Error al obtener comentarios: ${x}`);
13685
13685
  }
@@ -13699,7 +13699,7 @@ const M9 = (e, t) => {
13699
13699
  addComment: s,
13700
13700
  API_ENV: o
13701
13701
  }) => {
13702
- const [r, i] = K(!0), [c, u] = K("");
13702
+ const [r, i] = K(!0), [c, d] = K("");
13703
13703
  return /* @__PURE__ */ f("div", { className: "comment-form", children: [
13704
13704
  /* @__PURE__ */ a(
13705
13705
  Vo,
@@ -13716,13 +13716,13 @@ const M9 = (e, t) => {
13716
13716
  API_ENV: o,
13717
13717
  commentRef: e,
13718
13718
  captchaToken: c,
13719
- setCaptchaToken: u,
13719
+ setCaptchaToken: d,
13720
13720
  children: /* @__PURE__ */ a(
13721
13721
  $o,
13722
13722
  {
13723
13723
  onClick: async (l) => {
13724
13724
  if (r) return;
13725
- const d = await Wo({
13725
+ const u = await Wo({
13726
13726
  path: n,
13727
13727
  ref: e,
13728
13728
  captchaToken: c,
@@ -13731,9 +13731,9 @@ const M9 = (e, t) => {
13731
13731
  addComment: s,
13732
13732
  API_ENV: o
13733
13733
  });
13734
- return d && typeof d == "number" ? (e.current?.parentElement && (e.current.parentElement.dataset.text = `0/${Ct}`), i(!0), setTimeout(() => {
13734
+ return u && typeof u == "number" ? (e.current?.parentElement && (e.current.parentElement.dataset.text = `0/${Ct}`), i(!0), setTimeout(() => {
13735
13735
  e.current?.parentElement && (e.current.parentElement.dataset.text = `0/${Ct}`), i(!0);
13736
- }, d), !0) : !1;
13736
+ }, u), !0) : !1;
13737
13737
  },
13738
13738
  isDisabled: r,
13739
13739
  API_ENV: o
@@ -13749,9 +13749,9 @@ const M9 = (e, t) => {
13749
13749
  handleLogout: s,
13750
13750
  API_ENV: o
13751
13751
  }) => {
13752
- const { PUBLIC_PUBLICATION_ID: r, PUBLIC_X_SECURITY_TOKEN: i } = o, c = r ?? "", u = t.replaceAll("/", "|"), [l, d] = K(
13752
+ const { PUBLIC_PUBLICATION_ID: r, PUBLIC_X_SECURITY_TOKEN: i } = o, c = r ?? "", d = t.replaceAll("/", "|"), [l, u] = K(
13753
13753
  void 0
13754
- ), [h, m] = K(""), { comments: p, setComments: g } = M9(u, o), [A, w] = ke.useState(!1), C = ke.useRef(null), N = (W) => {
13754
+ ), [h, m] = K(""), { comments: p, setComments: g } = M9(d, o), [A, w] = ke.useState(!1), C = ke.useRef(null), N = (W) => {
13755
13755
  m(h === W ? "" : W);
13756
13756
  }, b = (W) => {
13757
13757
  g(
@@ -13761,7 +13761,7 @@ const M9 = (e, t) => {
13761
13761
  } : void 0
13762
13762
  );
13763
13763
  }, x = (W) => {
13764
- d(W);
13764
+ u(W);
13765
13765
  }, v = async () => {
13766
13766
  if (!p || !p.morecomment || p.comments.length === 0) return;
13767
13767
  const W = p.comments[p.comments.length - 1];
@@ -13771,7 +13771,7 @@ const M9 = (e, t) => {
13771
13771
  try {
13772
13772
  const B = await Qa({
13773
13773
  publication: c,
13774
- path: u ?? "",
13774
+ path: d ?? "",
13775
13775
  size: 5,
13776
13776
  sizereply: 2,
13777
13777
  id: void 0,
@@ -13805,7 +13805,7 @@ const M9 = (e, t) => {
13805
13805
  commentRef: C,
13806
13806
  user: n,
13807
13807
  addComment: b,
13808
- path: u,
13808
+ path: d,
13809
13809
  API_ENV: o
13810
13810
  }
13811
13811
  )
@@ -13824,7 +13824,7 @@ const M9 = (e, t) => {
13824
13824
  handleReplyingTo: N,
13825
13825
  onFlag: x,
13826
13826
  user: n ?? Xe,
13827
- path: u,
13827
+ path: d,
13828
13828
  API_ENV: o
13829
13829
  },
13830
13830
  W.id
@@ -13849,7 +13849,7 @@ const M9 = (e, t) => {
13849
13849
  publication: c,
13850
13850
  commentId: l,
13851
13851
  isOpen: l !== void 0,
13852
- onClose: () => d(void 0),
13852
+ onClose: () => u(void 0),
13853
13853
  CAPTCHA_KEY_V2: o.CAPTCHA_KEY_V2 ?? ""
13854
13854
  }
13855
13855
  )
@@ -13902,27 +13902,27 @@ const M9 = (e, t) => {
13902
13902
  }
13903
13903
  ];
13904
13904
  function V9({ goToLogin: e, handleGoogleLogin: t, API_ENV: n }) {
13905
- const [s, o] = K({}), [r, i] = K(!1), [c, u] = K(!1), [l, d] = K(null), [h, m] = K(
13905
+ const [s, o] = K({}), [r, i] = K(!1), [c, d] = K(!1), [l, u] = K(null), [h, m] = K(
13906
13906
  "register"
13907
13907
  ), p = (C, N) => {
13908
13908
  o((b) => ({ ...b, [C]: N }));
13909
13909
  }, g = async (C) => {
13910
- C.preventDefault(), d(null), u(!0);
13910
+ C.preventDefault(), u(null), d(!0);
13911
13911
  try {
13912
13912
  const N = Object.keys(zs).filter((Q) => !["username", "password", "confirmPassword"].includes(Q)).map((Q) => ({ Name: Q, Value: s[Q] }));
13913
13913
  if (N.some((Q) => {
13914
13914
  if (!Q.Value || Q.Value.trim() === "") return !0;
13915
13915
  }))
13916
- return u(!1), d("Complete todos los campos");
13916
+ return d(!1), u("Complete todos los campos");
13917
13917
  if (s.password !== s.confirmPassword) {
13918
- d("Las contraseñas no coinciden");
13918
+ u("Las contraseñas no coinciden");
13919
13919
  return;
13920
13920
  }
13921
13921
  const b = s.password || "";
13922
13922
  if (En.some(
13923
13923
  (Q) => !Q.test(b)
13924
13924
  )) {
13925
- d("La contraseña no es válida");
13925
+ u("La contraseña no es válida");
13926
13926
  return;
13927
13927
  }
13928
13928
  const v = Math.floor(Date.now() / 1e3);
@@ -13956,16 +13956,16 @@ function V9({ goToLogin: e, handleGoogleLogin: t, API_ENV: n }) {
13956
13956
  }
13957
13957
  m("confirm");
13958
13958
  } catch (N) {
13959
- console.log(N), d(N?.message || N?.error || "Error inesperado");
13959
+ console.log(N), u(N?.message || N?.error || "Error inesperado");
13960
13960
  } finally {
13961
- u(!1);
13961
+ d(!1);
13962
13962
  }
13963
13963
  }, A = async (C) => {
13964
13964
  if (C.preventDefault(), !s.confirmationCode) {
13965
- d("Debes ingresar el código de verificación");
13965
+ u("Debes ingresar el código de verificación");
13966
13966
  return;
13967
13967
  }
13968
- d(null), u(!0);
13968
+ u(null), d(!0);
13969
13969
  try {
13970
13970
  const N = await fetch("/api/auth/confirm-user", {
13971
13971
  method: "POST",
@@ -13981,9 +13981,9 @@ function V9({ goToLogin: e, handleGoogleLogin: t, API_ENV: n }) {
13981
13981
  }
13982
13982
  m("success");
13983
13983
  } catch (N) {
13984
- d(N?.message || "Error inesperado");
13984
+ u(N?.message || "Error inesperado");
13985
13985
  } finally {
13986
- u(!1);
13986
+ d(!1);
13987
13987
  }
13988
13988
  }, w = s.password || "";
13989
13989
  return /* @__PURE__ */ f(J, { children: [
@@ -14133,7 +14133,7 @@ function F9({
14133
14133
  handleGoogleLogin: s,
14134
14134
  API_ENV: o
14135
14135
  }) {
14136
- const [r, i] = K("login"), [c, u] = K(""), [l, d] = K(""), [h, m] = K(""), [p, g] = K(""), [A, w] = K(""), [C, N] = K(!1), [b, x] = K(!1), [v, E] = K(null);
14136
+ const [r, i] = K("login"), [c, d] = K(""), [l, u] = K(""), [h, m] = K(""), [p, g] = K(""), [A, w] = K(""), [C, N] = K(!1), [b, x] = K(!1), [v, E] = K(null);
14137
14137
  return /* @__PURE__ */ f(J, { children: [
14138
14138
  r === "login" && /* @__PURE__ */ a(
14139
14139
  $9,
@@ -14143,8 +14143,8 @@ function F9({
14143
14143
  showPassword: C,
14144
14144
  loading: b,
14145
14145
  error: v,
14146
- setEmail: u,
14147
- setPassword: d,
14146
+ setEmail: d,
14147
+ setPassword: u,
14148
14148
  setShowPassword: N,
14149
14149
  onSubmit: async (G) => {
14150
14150
  if (!b) {
@@ -14181,7 +14181,7 @@ function F9({
14181
14181
  W9,
14182
14182
  {
14183
14183
  email: c,
14184
- setEmail: u,
14184
+ setEmail: d,
14185
14185
  loading: b,
14186
14186
  error: v,
14187
14187
  onSubmit: async (G) => {
@@ -14197,7 +14197,7 @@ function F9({
14197
14197
  const te = await B.json().catch(() => ({}));
14198
14198
  throw new Error(te?.error || "Error al enviar código");
14199
14199
  }
14200
- d(""), i("changePassword");
14200
+ u(""), i("changePassword");
14201
14201
  } catch (B) {
14202
14202
  E(B?.message || "Error inesperado");
14203
14203
  } finally {
@@ -14278,9 +14278,9 @@ function $9({
14278
14278
  setEmail: r,
14279
14279
  setPassword: i,
14280
14280
  setShowPassword: c,
14281
- onSubmit: u,
14281
+ onSubmit: d,
14282
14282
  onForgot: l,
14283
- onRegister: d,
14283
+ onRegister: u,
14284
14284
  handleGoogleLogin: h
14285
14285
  }) {
14286
14286
  return /* @__PURE__ */ f(J, { children: [
@@ -14299,7 +14299,7 @@ function $9({
14299
14299
  /* @__PURE__ */ f(
14300
14300
  "form",
14301
14301
  {
14302
- onSubmit: u,
14302
+ onSubmit: d,
14303
14303
  className: k.form,
14304
14304
  "data-error": o ? "true" : "false",
14305
14305
  children: [
@@ -14348,7 +14348,7 @@ function $9({
14348
14348
  ),
14349
14349
  /* @__PURE__ */ f("p", { className: k.switch, children: [
14350
14350
  "¿No tenés cuenta?",
14351
- /* @__PURE__ */ a("button", { type: "button", onClick: d, children: "Registrate" })
14351
+ /* @__PURE__ */ a("button", { type: "button", onClick: u, children: "Registrate" })
14352
14352
  ] }),
14353
14353
  /* @__PURE__ */ a(
14354
14354
  "button",
@@ -14407,9 +14407,9 @@ function Y9({
14407
14407
  loading: r,
14408
14408
  error: i,
14409
14409
  setConfirmationCode: c,
14410
- setNewPassword: u,
14410
+ setNewPassword: d,
14411
14411
  setConfirmNewPassword: l,
14412
- setShowPassword: d,
14412
+ setShowPassword: u,
14413
14413
  onSubmit: h,
14414
14414
  onBack: m
14415
14415
  }) {
@@ -14446,7 +14446,7 @@ function Y9({
14446
14446
  {
14447
14447
  type: o ? "text" : "password",
14448
14448
  value: n,
14449
- onChange: (p) => u(p.target.value),
14449
+ onChange: (p) => d(p.target.value),
14450
14450
  className: k.input,
14451
14451
  placeholder: "",
14452
14452
  name: "password"
@@ -14479,7 +14479,7 @@ function Y9({
14479
14479
  id: "showPasswordForgot",
14480
14480
  type: "checkbox",
14481
14481
  checked: o,
14482
- onChange: (p) => d(p.target.checked)
14482
+ onChange: (p) => u(p.target.checked)
14483
14483
  }
14484
14484
  ),
14485
14485
  /* @__PURE__ */ a(
@@ -14528,8 +14528,8 @@ function J9({
14528
14528
  return;
14529
14529
  }
14530
14530
  if (!e) return;
14531
- const u = encodeURIComponent(window.location.pathname);
14532
- window.location.href = `/api/auth/login?redirect=${u}`;
14531
+ const d = encodeURIComponent(window.location.pathname);
14532
+ window.location.href = `/api/auth/login?redirect=${d}`;
14533
14533
  };
14534
14534
  return /* @__PURE__ */ a(
14535
14535
  "div",
@@ -14538,8 +14538,8 @@ function J9({
14538
14538
  role: "dialog",
14539
14539
  "aria-modal": "true",
14540
14540
  id: "pop-overlay",
14541
- onClick: (u) => {
14542
- const l = u.target;
14541
+ onClick: (d) => {
14542
+ const l = d.target;
14543
14543
  l && l.id === "pop-overlay" && t();
14544
14544
  },
14545
14545
  children: /* @__PURE__ */ f("div", { className: k.card, children: [
@@ -14586,9 +14586,9 @@ function Z9({
14586
14586
  checkAuth: r,
14587
14587
  icon: i,
14588
14588
  API_ENV: c,
14589
- commentLabel: u
14589
+ commentLabel: d
14590
14590
  }) {
14591
- const [l, d] = ke.useState(!1);
14591
+ const [l, u] = ke.useState(!1);
14592
14592
  return /* @__PURE__ */ f(J, { children: [
14593
14593
  l && /* @__PURE__ */ a(
14594
14594
  J9,
@@ -14598,7 +14598,7 @@ function Z9({
14598
14598
  checkAuth: r,
14599
14599
  API_ENV: c,
14600
14600
  onClose: () => {
14601
- d(!1);
14601
+ u(!1);
14602
14602
  }
14603
14603
  }
14604
14604
  ),
@@ -14609,10 +14609,10 @@ function Z9({
14609
14609
  {
14610
14610
  href: n,
14611
14611
  onClick: async (p) => {
14612
- p.preventDefault(), n && d(!0);
14612
+ p.preventDefault(), n && u(!0);
14613
14613
  },
14614
14614
  className: "login-button",
14615
- children: u || "Iniciar Sesión"
14615
+ children: d || "Iniciar Sesión"
14616
14616
  }
14617
14617
  )
14618
14618
  ] }),
@@ -14645,23 +14645,23 @@ function X9({
14645
14645
  API_ENV: s,
14646
14646
  commentLabel: o
14647
14647
  }) {
14648
- const [r, i] = K(null), [c, u] = K(null), l = s?.COGNITO_AUTH_PREFIX ?? "ASTRO_", d = ue(async () => {
14648
+ const [r, i] = K(null), [c, d] = K(null), l = s?.COGNITO_AUTH_PREFIX ?? "ASTRO_", u = ue(async () => {
14649
14649
  if (e) {
14650
14650
  if (document.cookie.search(l + "IS_AUTH=true") === -1) {
14651
- i(!1), u(null);
14651
+ i(!1), d(null);
14652
14652
  return;
14653
14653
  }
14654
14654
  try {
14655
14655
  const g = await (await fetch("/api/auth/user", { credentials: "include" })).json();
14656
- i(g.isAuthenticated ?? !1), u(g.user ?? null);
14656
+ i(g.isAuthenticated ?? !1), d(g.user ?? null);
14657
14657
  } catch (p) {
14658
- console.error("Error checking auth:", p), i(!1), u(null);
14658
+ console.error("Error checking auth:", p), i(!1), d(null);
14659
14659
  }
14660
14660
  }
14661
14661
  }, [e, l]);
14662
14662
  Qe(() => {
14663
- d();
14664
- }, [d, e]), Qe(() => {
14663
+ u();
14664
+ }, [u, e]), Qe(() => {
14665
14665
  if (!c || !e || typeof window > "u") return;
14666
14666
  const p = window;
14667
14667
  if (typeof p != "function") {
@@ -14691,7 +14691,7 @@ function X9({
14691
14691
  setIsAuthenticated: i,
14692
14692
  loginUrl: h,
14693
14693
  user: c ?? void 0,
14694
- checkAuth: d,
14694
+ checkAuth: u,
14695
14695
  path: t,
14696
14696
  API_ENV: s,
14697
14697
  commentLabel: o
@@ -14707,9 +14707,9 @@ const l6 = ({
14707
14707
  icon: r,
14708
14708
  isVisibleDefault: i = !1,
14709
14709
  paths: c,
14710
- API_ENV: u,
14710
+ API_ENV: d,
14711
14711
  fetchConfig: l,
14712
- commentLabel: d
14712
+ commentLabel: u
14713
14713
  }) => {
14714
14714
  const h = Vs(null), [m, p] = ke.useState(i);
14715
14715
  ke.useEffect(() => {
@@ -14732,8 +14732,8 @@ const l6 = ({
14732
14732
  path: t,
14733
14733
  icon: r,
14734
14734
  isVisible: m,
14735
- API_ENV: u,
14736
- commentLabel: d
14735
+ API_ENV: d,
14736
+ commentLabel: u
14737
14737
  }
14738
14738
  ),
14739
14739
  more: /* @__PURE__ */ a(
@@ -14745,7 +14745,7 @@ const l6 = ({
14745
14745
  isVisible: m,
14746
14746
  paths: c,
14747
14747
  fetchConfig: l,
14748
- API_ENV: u
14748
+ API_ENV: d
14749
14749
  }
14750
14750
  )
14751
14751
  };
@@ -14770,7 +14770,7 @@ async function d6({
14770
14770
  recaptchaResponse: r,
14771
14771
  baseUrl: i,
14772
14772
  apiToken: c,
14773
- securityToken: u,
14773
+ securityToken: d,
14774
14774
  COMMENTS_VARS: l
14775
14775
  }) {
14776
14776
  if (console.log("Adding comment with data:", {
@@ -14804,8 +14804,8 @@ async function d6({
14804
14804
  message: "El comentario no puede estar vacío.",
14805
14805
  status: 400
14806
14806
  };
14807
- const d = await Do(r, l);
14808
- if (console.log("Verifying captcha token...", d), !d)
14807
+ const u = await Do(r, l);
14808
+ if (console.log("Verifying captcha token...", u), !u)
14809
14809
  return {
14810
14810
  type: "error",
14811
14811
  message: "Captcha inválido. Intenta nuevamente.",
@@ -14823,7 +14823,7 @@ async function d6({
14823
14823
  const { data: g } = await oe.get(`${h}?${p.toString()}`, {
14824
14824
  headers: {
14825
14825
  "Content-Type": "application/json",
14826
- "x-security-token": u,
14826
+ "x-security-token": d,
14827
14827
  "x-api-token": c,
14828
14828
  "User-Agent": "amplifyapp-comments-saas"
14829
14829
  }