sass-template-common 0.9.73 → 0.9.75

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.
@@ -177,7 +177,7 @@ function qn() {
177
177
  (function(s, a) {
178
178
  e.exports = a();
179
179
  })(Va, (function() {
180
- var s = 1e3, a = 6e4, r = 36e5, i = "millisecond", o = "second", c = "minute", u = "hour", l = "day", d = "week", m = "month", f = "quarter", A = "year", h = "date", g = "Invalid Date", w = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, v = /\[([^\]]+)]|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, E = { 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(q) {
180
+ var s = 1e3, a = 6e4, r = 36e5, i = "millisecond", o = "second", c = "minute", d = "hour", l = "day", u = "week", m = "month", f = "quarter", A = "year", h = "date", g = "Invalid Date", w = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, v = /\[([^\]]+)]|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, E = { 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(q) {
181
181
  var x = ["th", "st", "nd", "rd"], U = q % 100;
182
182
  return "[" + q + (x[(U - 20) % 10] || x[U] || x[0]) + "]";
183
183
  } }, N = function(q, x, U) {
@@ -193,7 +193,7 @@ function qn() {
193
193
  }, a: function(q) {
194
194
  return q < 0 ? Math.ceil(q) || 0 : Math.floor(q);
195
195
  }, p: function(q) {
196
- return { M: m, y: A, w: d, d: l, D: h, h: u, m: c, s: o, ms: i, Q: f }[q] || String(q || "").toLowerCase().replace(/s$/, "");
196
+ return { M: m, y: A, w: u, d: l, D: h, h: d, m: c, s: o, ms: i, Q: f }[q] || String(q || "").toLowerCase().replace(/s$/, "");
197
197
  }, u: function(q) {
198
198
  return q === void 0;
199
199
  } }, b = "en", I = {};
@@ -273,13 +273,13 @@ function qn() {
273
273
  return F ? T(1, 0) : T(31, 11);
274
274
  case m:
275
275
  return F ? T(1, D) : T(0, D + 1);
276
- case d:
276
+ case u:
277
277
  var Y = this.$locale().weekStart || 0, ee = (G < Y ? G + 7 : G) - Y;
278
278
  return T(F ? V - ee : V + (6 - ee), D);
279
279
  case l:
280
280
  case h:
281
281
  return P(z + "Hours", 0);
282
- case u:
282
+ case d:
283
283
  return P(z + "Minutes", 1);
284
284
  case c:
285
285
  return P(z + "Seconds", 2);
@@ -291,7 +291,7 @@ function qn() {
291
291
  }, x.endOf = function(U) {
292
292
  return this.startOf(U, !1);
293
293
  }, x.$set = function(U, M) {
294
- var k, F = L.p(U), y = "set" + (this.$u ? "UTC" : ""), T = (k = {}, k[l] = y + "Date", k[h] = y + "Date", k[m] = y + "Month", k[A] = y + "FullYear", k[u] = y + "Hours", k[c] = y + "Minutes", k[o] = y + "Seconds", k[i] = y + "Milliseconds", k)[F], P = F === l ? this.$D + (M - this.$W) : M;
294
+ var k, F = L.p(U), y = "set" + (this.$u ? "UTC" : ""), T = (k = {}, k[l] = y + "Date", k[h] = y + "Date", k[m] = y + "Month", k[A] = y + "FullYear", k[d] = y + "Hours", k[c] = y + "Minutes", k[o] = y + "Seconds", k[i] = y + "Milliseconds", k)[F], P = F === l ? this.$D + (M - this.$W) : M;
295
295
  if (F === m || F === A) {
296
296
  var G = this.clone().set(h, 1);
297
297
  G.$d[T](P), G.init(), this.$d = G.set(h, Math.min(this.$D, G.daysInMonth())).$d;
@@ -311,8 +311,8 @@ function qn() {
311
311
  if (y === m) return this.set(m, this.$M + U);
312
312
  if (y === A) return this.set(A, this.$y + U);
313
313
  if (y === l) return T(1);
314
- if (y === d) return T(7);
315
- var P = (k = {}, k[c] = a, k[u] = r, k[o] = s, k)[y] || 1, G = this.$d.getTime() + U * P;
314
+ if (y === u) return T(7);
315
+ var P = (k = {}, k[c] = a, k[d] = r, k[o] = s, k)[y] || 1, G = this.$d.getTime() + U * P;
316
316
  return L.w(G, this);
317
317
  }, x.subtract = function(U, M) {
318
318
  return this.add(-1 * U, M);
@@ -398,13 +398,13 @@ function qn() {
398
398
  case f:
399
399
  F = V() / 3;
400
400
  break;
401
- case d:
401
+ case u:
402
402
  F = (D - G) / 6048e5;
403
403
  break;
404
404
  case l:
405
405
  F = (D - G) / 864e5;
406
406
  break;
407
- case u:
407
+ case d:
408
408
  F = D / r;
409
409
  break;
410
410
  case c:
@@ -437,7 +437,7 @@ function qn() {
437
437
  return this.$d.toUTCString();
438
438
  }, q;
439
439
  })(), se = H.prototype;
440
- return j.prototype = se, [["$ms", i], ["$s", o], ["$m", c], ["$H", u], ["$W", l], ["$M", m], ["$y", A], ["$D", h]].forEach((function(q) {
440
+ return j.prototype = se, [["$ms", i], ["$s", o], ["$m", c], ["$H", d], ["$W", l], ["$M", m], ["$y", A], ["$D", h]].forEach((function(q) {
441
441
  se[q[1]] = function(x) {
442
442
  return this.$g(x, q[0], q[1]);
443
443
  };
@@ -460,10 +460,10 @@ function Wa() {
460
460
  return function(s, a, r) {
461
461
  s = s || {};
462
462
  var i = a.prototype, o = { 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" };
463
- function c(l, d, m, f) {
464
- return i.fromToBase(l, d, m, f);
463
+ function c(l, u, m, f) {
464
+ return i.fromToBase(l, u, m, f);
465
465
  }
466
- r.en.relativeTime = o, i.fromToBase = function(l, d, m, f, A) {
466
+ r.en.relativeTime = o, i.fromToBase = function(l, u, m, f, A) {
467
467
  for (var h, g, w, v = m.$locale().relativeTime || o, E = s.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" }], N = E.length, S = 0; S < N; S += 1) {
468
468
  var b = E[S];
469
469
  b.d && (h = f ? r(l).diff(m, b.d, !0) : m.diff(l, b.d, !0));
@@ -471,25 +471,25 @@ function Wa() {
471
471
  if (w = h > 0, I <= b.r || !b.r) {
472
472
  I <= 1 && S > 0 && (b = E[S - 1]);
473
473
  var R = v[b.l];
474
- A && (I = A("" + I)), g = typeof R == "string" ? R.replace("%d", I) : R(I, d, b.l, w);
474
+ A && (I = A("" + I)), g = typeof R == "string" ? R.replace("%d", I) : R(I, u, b.l, w);
475
475
  break;
476
476
  }
477
477
  }
478
- if (d) return g;
478
+ if (u) return g;
479
479
  var Q = w ? v.future : v.past;
480
480
  return typeof Q == "function" ? Q(g) : Q.replace("%s", g);
481
- }, i.to = function(l, d) {
482
- return c(l, d, this, !0);
483
- }, i.from = function(l, d) {
484
- return c(l, d, this);
481
+ }, i.to = function(l, u) {
482
+ return c(l, u, this, !0);
483
+ }, i.from = function(l, u) {
484
+ return c(l, u, this);
485
485
  };
486
- var u = function(l) {
486
+ var d = function(l) {
487
487
  return l.$u ? r.utc() : r();
488
488
  };
489
489
  i.toNow = function(l) {
490
- return this.to(u(this), l);
490
+ return this.to(d(this), l);
491
491
  }, i.fromNow = function(l) {
492
- return this.from(u(this), l);
492
+ return this.from(d(this), l);
493
493
  };
494
494
  };
495
495
  }));
@@ -522,29 +522,29 @@ function Xa() {
522
522
  })(Za, (function() {
523
523
  var s = "minute", a = /[+-]\d\d(?::?\d\d)?/g, r = /([+-]|\d\d)/g;
524
524
  return function(i, o, c) {
525
- var u = o.prototype;
525
+ var d = o.prototype;
526
526
  c.utc = function(g) {
527
527
  var w = { date: g, utc: !0, args: arguments };
528
528
  return new o(w);
529
- }, u.utc = function(g) {
529
+ }, d.utc = function(g) {
530
530
  var w = c(this.toDate(), { locale: this.$L, utc: !0 });
531
531
  return g ? w.add(this.utcOffset(), s) : w;
532
- }, u.local = function() {
532
+ }, d.local = function() {
533
533
  return c(this.toDate(), { locale: this.$L, utc: !1 });
534
534
  };
535
- var l = u.parse;
536
- u.parse = function(g) {
535
+ var l = d.parse;
536
+ d.parse = function(g) {
537
537
  g.utc && (this.$u = !0), this.$utils().u(g.$offset) || (this.$offset = g.$offset), l.call(this, g);
538
538
  };
539
- var d = u.init;
540
- u.init = function() {
539
+ var u = d.init;
540
+ d.init = function() {
541
541
  if (this.$u) {
542
542
  var g = this.$d;
543
543
  this.$y = g.getUTCFullYear(), this.$M = g.getUTCMonth(), this.$D = g.getUTCDate(), this.$W = g.getUTCDay(), this.$H = g.getUTCHours(), this.$m = g.getUTCMinutes(), this.$s = g.getUTCSeconds(), this.$ms = g.getUTCMilliseconds();
544
- } else d.call(this);
544
+ } else u.call(this);
545
545
  };
546
- var m = u.utcOffset;
547
- u.utcOffset = function(g, w) {
546
+ var m = d.utcOffset;
547
+ d.utcOffset = function(g, w) {
548
548
  var v = this.$utils().u;
549
549
  if (v(g)) return this.$u ? 0 : v(this.$offset) ? m.call(this) : this.$offset;
550
550
  if (typeof g == "string" && (g = (function(b) {
@@ -561,26 +561,26 @@ function Xa() {
561
561
  var S = this.$u ? this.toDate().getTimezoneOffset() : -1 * this.utcOffset();
562
562
  return (N = this.local().add(E + S, s)).$offset = E, N.$x.$localOffset = S, N;
563
563
  };
564
- var f = u.format;
565
- u.format = function(g) {
564
+ var f = d.format;
565
+ d.format = function(g) {
566
566
  var w = g || (this.$u ? "YYYY-MM-DDTHH:mm:ss[Z]" : "");
567
567
  return f.call(this, w);
568
- }, u.valueOf = function() {
568
+ }, d.valueOf = function() {
569
569
  var g = this.$utils().u(this.$offset) ? 0 : this.$offset + (this.$x.$localOffset || this.$d.getTimezoneOffset());
570
570
  return this.$d.valueOf() - 6e4 * g;
571
- }, u.isUTC = function() {
571
+ }, d.isUTC = function() {
572
572
  return !!this.$u;
573
- }, u.toISOString = function() {
573
+ }, d.toISOString = function() {
574
574
  return this.toDate().toISOString();
575
- }, u.toString = function() {
575
+ }, d.toString = function() {
576
576
  return this.toDate().toUTCString();
577
577
  };
578
- var A = u.toDate;
579
- u.toDate = function(g) {
578
+ var A = d.toDate;
579
+ d.toDate = function(g) {
580
580
  return g === "s" && this.$offset ? c(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate() : A.call(this);
581
581
  };
582
- var h = u.diff;
583
- u.diff = function(g, w, v) {
582
+ var h = d.diff;
583
+ d.diff = function(g, w, v) {
584
584
  if (g && this.$u === g.$u) return h.call(this, g, w, v);
585
585
  var E = this.local(), N = c(g).local();
586
586
  return h.call(E, N, w, v);
@@ -599,7 +599,7 @@ function nr() {
599
599
  })(sr, (function() {
600
600
  var s = { year: 0, month: 1, day: 2, hour: 3, minute: 4, second: 5 }, a = {};
601
601
  return function(r, i, o) {
602
- var c, u = function(f, A, h) {
602
+ var c, d = function(f, A, h) {
603
603
  h === void 0 && (h = {});
604
604
  var g = new Date(f), w = (function(v, E) {
605
605
  E === void 0 && (E = {});
@@ -608,14 +608,14 @@ function nr() {
608
608
  })(A, h);
609
609
  return w.formatToParts(g);
610
610
  }, l = function(f, A) {
611
- for (var h = u(f, A), g = [], w = 0; w < h.length; w += 1) {
611
+ for (var h = d(f, A), g = [], w = 0; w < h.length; w += 1) {
612
612
  var v = h[w], E = v.type, N = v.value, S = s[E];
613
613
  S >= 0 && (g[S] = parseInt(N, 10));
614
614
  }
615
615
  var b = g[3], I = b === 24 ? 0 : b, R = g[0] + "-" + g[1] + "-" + g[2] + " " + I + ":" + g[4] + ":" + g[5] + ":000", Q = +f;
616
616
  return (o.utc(R).valueOf() - (Q -= Q % 1e3)) / 6e4;
617
- }, d = i.prototype;
618
- d.tz = function(f, A) {
617
+ }, u = i.prototype;
618
+ u.tz = function(f, A) {
619
619
  f === void 0 && (f = c);
620
620
  var h, g = this.utcOffset(), w = this.toDate(), v = w.toLocaleString("en-US", { timeZone: f }), E = Math.round((w - new Date(v)) / 1e3 / 60), N = 15 * -Math.round(w.getTimezoneOffset() / 15) - E;
621
621
  if (!Number(N)) h = this.utcOffset(0, A);
@@ -624,14 +624,14 @@ function nr() {
624
624
  h = h.add(g - S, "minute");
625
625
  }
626
626
  return h.$x.$timezone = f, h;
627
- }, d.offsetName = function(f) {
628
- var A = this.$x.$timezone || o.tz.guess(), h = u(this.valueOf(), A, { timeZoneName: f }).find((function(g) {
627
+ }, u.offsetName = function(f) {
628
+ var A = this.$x.$timezone || o.tz.guess(), h = d(this.valueOf(), A, { timeZoneName: f }).find((function(g) {
629
629
  return g.type.toLowerCase() === "timezonename";
630
630
  }));
631
631
  return h && h.value;
632
632
  };
633
- var m = d.startOf;
634
- d.startOf = function(f, A) {
633
+ var m = u.startOf;
634
+ u.startOf = function(f, A) {
635
635
  if (!this.$x || !this.$x.$timezone) return m.call(this, f, A);
636
636
  var h = o(this.format("YYYY-MM-DD HH:mm:ss:SSS"), { locale: this.$L });
637
637
  return m.call(h, f, A).tz(this.$x.$timezone, !0);
@@ -688,7 +688,7 @@ const Rt = (e) => e === "en" ? "en" : "es", Ue = (e, t) => {
688
688
  r.forEach((A) => {
689
689
  A.type !== "literal" && (i[A.type] = A.value);
690
690
  });
691
- const o = new Date(s.toLocaleString("en-US", { timeZone: "UTC" })), u = (new Date(s.toLocaleString("en-US", { timeZone: t })).getTime() - o.getTime()) / 6e4, l = u >= 0 ? "+" : "-", d = (A) => String(Math.floor(Math.abs(A))).padStart(2, "0"), m = d(u / 60), f = d(u % 60);
691
+ const o = new Date(s.toLocaleString("en-US", { timeZone: "UTC" })), d = (new Date(s.toLocaleString("en-US", { timeZone: t })).getTime() - o.getTime()) / 6e4, l = d >= 0 ? "+" : "-", u = (A) => String(Math.floor(Math.abs(A))).padStart(2, "0"), m = u(d / 60), f = u(d % 60);
692
692
  return `${i.year}-${i.month}-${i.day}T${i.hour}:${i.minute}:${i.second}${l}${m}:${f}`;
693
693
  }, xe = (e, t = 136) => e && e.length > t ? `${e.substring(0, t)}...` : e;
694
694
  function He(e) {
@@ -762,20 +762,20 @@ function as(e) {
762
762
  const r = zs.exec(t);
763
763
  if (!r) break;
764
764
  const i = r.index + r[0].length;
765
- let o = 1, c = i, u = i;
765
+ let o = 1, c = i, d = i;
766
766
  for (; c < t.length && o > 0; ) {
767
767
  const A = t.slice(c), h = A.match(/<div\b/i), g = A.match(/<\/div>/i), w = h?.index ?? -1, v = g?.index ?? -1;
768
768
  if (v === -1) break;
769
769
  const E = w === -1 ? 1 / 0 : c + w, N = c + v;
770
- w !== -1 && w < v ? (o += 1, c = E + h[0].length) : (o -= 1, u = N, c = N + g[0].length);
770
+ w !== -1 && w < v ? (o += 1, c = E + h[0].length) : (o -= 1, d = N, c = N + g[0].length);
771
771
  }
772
- const l = t.slice(i, u), d = [], m = /<span\b[^>]*\bdata-src=["']([^"']+)["']/gi;
772
+ const l = t.slice(i, d), u = [], m = /<span\b[^>]*\bdata-src=["']([^"']+)["']/gi;
773
773
  let f;
774
774
  for (; (f = m.exec(l)) !== null; ) {
775
775
  const A = f[1];
776
- A && d.push(A);
776
+ A && u.push(A);
777
777
  }
778
- d.length > 0 && s.push(d), a = c;
778
+ u.length > 0 && s.push(u), a = c;
779
779
  }
780
780
  return s;
781
781
  }
@@ -827,18 +827,18 @@ const Ed = as, ur = async (e, t) => {
827
827
  PUBLIC_ASSETS_URL: r,
828
828
  PUBLIC_API_FRONT: i,
829
829
  DATE_TIMEZONE: o = "America/Mexico_City"
830
- } = _(), c = Mn(t.keywords) ?? "", u = t?.preview?.sizes ? t?.preview?.sizes[0]?.url : "", l = (r !== "false" ? r : i) ?? "", d = mr(a), m = t.main.title.article, f = Ws({
831
- schemaImage: d,
830
+ } = _(), c = Mn(t.keywords) ?? "", d = t?.preview?.sizes ? t?.preview?.sizes[0]?.url : "", l = (r !== "false" ? r : i) ?? "", u = mr(a), m = t.main.title.article, f = Ws({
831
+ schemaImage: u,
832
832
  socialImage: t?.social?.images?.facebook,
833
- fallbackImage: u,
833
+ fallbackImage: d,
834
834
  prefix: l,
835
835
  defaultWidth: s.landscapeLogo.width,
836
836
  defaultHeight: s.landscapeLogo.height,
837
837
  alt: a?.description ?? m
838
838
  }), A = Ws({
839
- schemaImage: d,
839
+ schemaImage: u,
840
840
  socialImage: t?.social?.images?.twitter,
841
- fallbackImage: u,
841
+ fallbackImage: d,
842
842
  prefix: l,
843
843
  defaultWidth: s.twitterSummaryCard.width,
844
844
  defaultHeight: s.twitterSummaryCard.height,
@@ -910,13 +910,13 @@ const Ed = as, ur = async (e, t) => {
910
910
  let s = 0;
911
911
  const a = (o) => t.push(o);
912
912
  return e.title && typeof e.title == "string" && a(/* @__PURE__ */ n("title", { children: e.title }, `title-${s++}`)), Object.entries(pr).forEach(([o, c]) => {
913
- const u = o.split(".").reduce((l, d) => l?.[d], e);
914
- u && a(
913
+ const d = o.split(".").reduce((l, u) => l?.[u], e);
914
+ d && a(
915
915
  /* @__PURE__ */ n(
916
916
  "meta",
917
917
  {
918
918
  [c.attr]: c.value,
919
- content: String(u)
919
+ content: String(d)
920
920
  },
921
921
  `meta-${s++}`
922
922
  )
@@ -1150,8 +1150,8 @@ const Ed = as, ur = async (e, t) => {
1150
1150
  /<script\b([^>]*)>([\s\S]*?)<\/script\s*>|<script\b([^>]*)\/?>/i
1151
1151
  );
1152
1152
  if (o) {
1153
- const c = o[1] || o[3] || "", u = o[2]?.trim() || "";
1154
- return Dn(c, u, i, e.name);
1153
+ const c = o[1] || o[3] || "", d = o[2]?.trim() || "";
1154
+ return Dn(c, d, i, e.name);
1155
1155
  }
1156
1156
  return r.trim() && /<[a-zA-Z]/.test(r) ? /* @__PURE__ */ n(
1157
1157
  "div",
@@ -1308,7 +1308,7 @@ const De = (e, t) => {
1308
1308
  }) => {
1309
1309
  if (!e || !t || !s || !r)
1310
1310
  return console.warn("createAssessment: faltan parámetros requeridos"), null;
1311
- const c = `${Er}/${e}/assessments?key=${r}`, u = {
1311
+ const c = `${Er}/${e}/assessments?key=${r}`, d = {
1312
1312
  event: {
1313
1313
  token: s,
1314
1314
  siteKey: t,
@@ -1321,7 +1321,7 @@ const De = (e, t) => {
1321
1321
  const l = await fetch(c, {
1322
1322
  method: "POST",
1323
1323
  headers: { "Content-Type": "application/json" },
1324
- body: JSON.stringify(u)
1324
+ body: JSON.stringify(d)
1325
1325
  });
1326
1326
  if (!l.ok)
1327
1327
  return console.error(
@@ -1329,18 +1329,18 @@ const De = (e, t) => {
1329
1329
  l.status,
1330
1330
  await l.text()
1331
1331
  ), null;
1332
- const d = await l.json();
1333
- if (!d?.tokenProperties?.valid)
1332
+ const u = await l.json();
1333
+ if (!u?.tokenProperties?.valid)
1334
1334
  return console.log(
1335
- `CreateAssessment falló - token inválido: ${d?.tokenProperties?.invalidReason ?? "unknown"}`
1335
+ `CreateAssessment falló - token inválido: ${u?.tokenProperties?.invalidReason ?? "unknown"}`
1336
1336
  ), null;
1337
- if (d.tokenProperties.action !== a)
1337
+ if (u.tokenProperties.action !== a)
1338
1338
  return console.log(
1339
1339
  "La acción en reCAPTCHA no coincide con la esperada:",
1340
1340
  a
1341
1341
  ), null;
1342
- const m = d?.riskAnalysis?.score;
1343
- return m !== void 0 && (console.log("reCAPTCHA score:", m), d?.riskAnalysis?.reasons?.forEach((f) => console.log(f))), typeof m == "number" ? m : null;
1342
+ const m = u?.riskAnalysis?.score;
1343
+ return m !== void 0 && (console.log("reCAPTCHA score:", m), u?.riskAnalysis?.reasons?.forEach((f) => console.log(f))), typeof m == "number" ? m : null;
1344
1344
  } catch (l) {
1345
1345
  return console.error("createAssessment error:", l), null;
1346
1346
  }
@@ -1379,26 +1379,26 @@ const qd = async (e, t, s) => {
1379
1379
  ...r
1380
1380
  };
1381
1381
  if (i === "videoYouTube" || i === "videoEmbedded" || o) {
1382
- const u = await t.getNewsMultimedia({
1382
+ const d = await t.getNewsMultimedia({
1383
1383
  path: a.link.internal,
1384
1384
  imagesizes: s
1385
1385
  });
1386
- if (u && u.data)
1386
+ if (d && d.data)
1387
1387
  return {
1388
1388
  ...e,
1389
1389
  preview: c,
1390
- videos: u.data.data[0].videos ?? []
1390
+ videos: d.data.data[0].videos ?? []
1391
1391
  };
1392
1392
  }
1393
1393
  if (i === "fotogaleria") {
1394
- const u = await t.getNewsMultimedia({
1394
+ const d = await t.getNewsMultimedia({
1395
1395
  path: a.link.internal,
1396
1396
  imagesizes: s
1397
1397
  });
1398
- if (u && u.data) {
1398
+ if (d && d.data) {
1399
1399
  const l = await Promise.all(
1400
- u.data.data[0].gallery.map(async (d) => ({
1401
- ...d
1400
+ d.data.data[0].gallery.map(async (u) => ({
1401
+ ...u
1402
1402
  }))
1403
1403
  );
1404
1404
  return {
@@ -1580,13 +1580,13 @@ const qd = async (e, t, s) => {
1580
1580
  }) => {
1581
1581
  const { PUBLIC_PUBLICATION_ID: r = "" } = _();
1582
1582
  let i = [];
1583
- const o = s === "/" || s === "/index.html" ? void 0 : _r(Gr[a]({ pathname: s, config: e })), c = Lr[a] ?? void 0, u = {
1583
+ const o = s === "/" || s === "/index.html" ? void 0 : _r(Gr[a]({ pathname: s, config: e })), c = Lr[a] ?? void 0, d = {
1584
1584
  newstype: e.newsType,
1585
1585
  publication: Number(r),
1586
1586
  ...o && c ? { query: `${c}:('${o}')` } : {}
1587
1587
  };
1588
1588
  try {
1589
- const l = await As(u, "/news-list-summary", t);
1589
+ const l = await As(d, "/news-list-summary", t);
1590
1590
  l?.data?.data ? i = l.data.data : console.warn(
1591
1591
  "getSchemas responded but did not contain expected data:",
1592
1592
  l
@@ -1620,16 +1620,16 @@ const Br = async ({
1620
1620
  const { PUBLIC_SERVICE_PREFIX: r, PUBLIC_IS_SUB_PUBLICATION: i } = _();
1621
1621
  let o = [];
1622
1622
  try {
1623
- 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 = {
1623
+ 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 = {
1624
1624
  path: e,
1625
- image: u,
1625
+ image: d,
1626
1626
  logo: c,
1627
1627
  url: t.siteUrl,
1628
1628
  name: t.name,
1629
1629
  logow: t.socialBlockLogo?.width,
1630
1630
  logoh: t.socialBlockLogo?.height,
1631
1631
  authorurl: s + "/autor/"
1632
- }, d = e.split("/")[1], m = d == "liveblogs" || d == "liveblog" ? ["/news", "/news-breadcrumb", "/news-liveblog"] : ["/news", "/news-breadcrumb"], f = t.paths.tema !== "" ? "/" + t.paths.tema : t.paths.tema, A = r !== "false" && i !== "false" ? "/" + r + f : f;
1632
+ }, u = e.split("/")[1], m = u == "liveblogs" || u == "liveblog" ? ["/news", "/news-breadcrumb", "/news-liveblog"] : ["/news", "/news-breadcrumb"], f = t.paths.tema !== "" ? "/" + t.paths.tema : t.paths.tema, A = r !== "false" && i !== "false" ? "/" + r + f : f;
1633
1633
  o = (await Promise.all(
1634
1634
  m.map(async (g) => {
1635
1635
  const w = g === "/news-breadcrumb" ? { ...l, prefixtag: A } : g === "/news" && t.schemasNewsParams ? { ...l, ...t.schemasNewsParams } : l;
@@ -1639,7 +1639,7 @@ const Br = async ({
1639
1639
  } catch (c) {
1640
1640
  console.log("Error fetching schemas:", c);
1641
1641
  }
1642
- return o.map((c, u) => /* @__PURE__ */ n(
1642
+ return o.map((c, d) => /* @__PURE__ */ n(
1643
1643
  "script",
1644
1644
  {
1645
1645
  type: "application/ld+json",
@@ -1647,7 +1647,7 @@ const Br = async ({
1647
1647
  __html: kt(JSON.stringify(c))
1648
1648
  }
1649
1649
  },
1650
- u
1650
+ d
1651
1651
  ));
1652
1652
  }, Or = ({ config: e, socials: t }) => {
1653
1653
  const s = {
@@ -2381,8 +2381,8 @@ const Ni = (e) => {
2381
2381
  t[r] = a;
2382
2382
  const i = Ke(a) ? [] : {};
2383
2383
  return it(a, (o, c) => {
2384
- const u = s(o, r + 1);
2385
- !ze(u) && (i[c] = u);
2384
+ const d = s(o, r + 1);
2385
+ !ze(d) && (i[c] = d);
2386
2386
  }), t[r] = void 0, i;
2387
2387
  }
2388
2388
  }
@@ -2502,11 +2502,11 @@ Object.defineProperties(Z, $n);
2502
2502
  Object.defineProperty(Jn, "isAxiosError", { value: !0 });
2503
2503
  Z.from = (e, t, s, a, r, i) => {
2504
2504
  const o = Object.create(Jn);
2505
- C.toFlatObject(e, o, function(d) {
2506
- return d !== Error.prototype;
2505
+ C.toFlatObject(e, o, function(u) {
2506
+ return u !== Error.prototype;
2507
2507
  }, (l) => l !== "isAxiosError");
2508
- const c = e && e.message ? e.message : "Error", u = t == null && e ? e.code : t;
2509
- return Z.call(o, c, u, s, a, r), e && o.cause == null && Object.defineProperty(o, "cause", { value: e, configurable: !0 }), o.name = e && e.name || "Error", i && Object.assign(o, i), o;
2508
+ const c = e && e.message ? e.message : "Error", d = t == null && e ? e.code : t;
2509
+ return Z.call(o, c, d, s, a, r), e && o.cause == null && Object.defineProperty(o, "cause", { value: e, configurable: !0 }), o.name = e && e.name || "Error", i && Object.assign(o, i), o;
2510
2510
  };
2511
2511
  const Ui = null;
2512
2512
  function is(e) {
@@ -2536,7 +2536,7 @@ function Ot(e, t, s) {
2536
2536
  }, !1, function(g, w) {
2537
2537
  return !C.isUndefined(w[g]);
2538
2538
  });
2539
- const a = s.metaTokens, r = s.visitor || d, i = s.dots, o = s.indexes, u = (s.Blob || typeof Blob < "u" && Blob) && C.isSpecCompliantForm(t);
2539
+ const a = s.metaTokens, r = s.visitor || u, i = s.dots, o = s.indexes, d = (s.Blob || typeof Blob < "u" && Blob) && C.isSpecCompliantForm(t);
2540
2540
  if (!C.isFunction(r))
2541
2541
  throw new TypeError("visitor must be a function");
2542
2542
  function l(h) {
@@ -2545,11 +2545,11 @@ function Ot(e, t, s) {
2545
2545
  return h.toISOString();
2546
2546
  if (C.isBoolean(h))
2547
2547
  return h.toString();
2548
- if (!u && C.isBlob(h))
2548
+ if (!d && C.isBlob(h))
2549
2549
  throw new Z("Blob is not supported. Use a Buffer instead.");
2550
- return C.isArrayBuffer(h) || C.isTypedArray(h) ? u && typeof Blob == "function" ? new Blob([h]) : Buffer.from(h) : h;
2550
+ return C.isArrayBuffer(h) || C.isTypedArray(h) ? d && typeof Blob == "function" ? new Blob([h]) : Buffer.from(h) : h;
2551
2551
  }
2552
- function d(h, g, w) {
2552
+ function u(h, g, w) {
2553
2553
  let v = h;
2554
2554
  if (h && !w && typeof h == "object") {
2555
2555
  if (C.endsWith(g, "{}"))
@@ -2566,7 +2566,7 @@ function Ot(e, t, s) {
2566
2566
  return is(h) ? !0 : (t.append(Js(w, g, i), l(h)), !1);
2567
2567
  }
2568
2568
  const m = [], f = Object.assign(Ri, {
2569
- defaultVisitor: d,
2569
+ defaultVisitor: u,
2570
2570
  convertValue: l,
2571
2571
  isVisitable: is
2572
2572
  });
@@ -2738,8 +2738,8 @@ function sa(e) {
2738
2738
  function t(s, a, r, i) {
2739
2739
  let o = s[i++];
2740
2740
  if (o === "__proto__") return !0;
2741
- const c = Number.isFinite(+o), u = i >= s.length;
2742
- return o = !o && C.isArray(r) ? r.length : o, u ? (C.hasOwnProp(r, o) ? r[o] = [r[o], a] : r[o] = a, !c) : ((!r[o] || !C.isObject(r[o])) && (r[o] = []), t(s, a, r[o], i) && C.isArray(r[o]) && (r[o] = Qi(r[o])), !c);
2741
+ const c = Number.isFinite(+o), d = i >= s.length;
2742
+ return o = !o && C.isArray(r) ? r.length : o, d ? (C.hasOwnProp(r, o) ? r[o] = [r[o], a] : r[o] = a, !c) : ((!r[o] || !C.isObject(r[o])) && (r[o] = []), t(s, a, r[o], i) && C.isArray(r[o]) && (r[o] = Qi(r[o])), !c);
2743
2743
  }
2744
2744
  if (C.isFormData(e) && C.isFunction(e.entries)) {
2745
2745
  const s = {};
@@ -2777,10 +2777,10 @@ const ot = {
2777
2777
  if (a.indexOf("application/x-www-form-urlencoded") > -1)
2778
2778
  return Gi(t, this.formSerializer).toString();
2779
2779
  if ((c = C.isFileList(t)) || a.indexOf("multipart/form-data") > -1) {
2780
- const u = this.env && this.env.FormData;
2780
+ const d = this.env && this.env.FormData;
2781
2781
  return Ot(
2782
2782
  c ? { "files[]": t } : t,
2783
- u && new u(),
2783
+ d && new d(),
2784
2784
  this.formSerializer
2785
2785
  );
2786
2786
  }
@@ -2898,24 +2898,24 @@ let Ae = class {
2898
2898
  }
2899
2899
  set(t, s, a) {
2900
2900
  const r = this;
2901
- function i(c, u, l) {
2902
- const d = Ze(u);
2903
- if (!d)
2901
+ function i(c, d, l) {
2902
+ const u = Ze(d);
2903
+ if (!u)
2904
2904
  throw new Error("header name must be a non-empty string");
2905
- const m = C.findKey(r, d);
2906
- (!m || r[m] === void 0 || l === !0 || l === void 0 && r[m] !== !1) && (r[m || u] = St(c));
2905
+ const m = C.findKey(r, u);
2906
+ (!m || r[m] === void 0 || l === !0 || l === void 0 && r[m] !== !1) && (r[m || d] = St(c));
2907
2907
  }
2908
- const o = (c, u) => C.forEach(c, (l, d) => i(l, d, u));
2908
+ const o = (c, d) => C.forEach(c, (l, u) => i(l, u, d));
2909
2909
  if (C.isPlainObject(t) || t instanceof this.constructor)
2910
2910
  o(t, s);
2911
2911
  else if (C.isString(t) && (t = t.trim()) && !Wi(t))
2912
2912
  o(Fi(t), s);
2913
2913
  else if (C.isObject(t) && C.isIterable(t)) {
2914
- let c = {}, u, l;
2915
- for (const d of t) {
2916
- if (!C.isArray(d))
2914
+ let c = {}, d, l;
2915
+ for (const u of t) {
2916
+ if (!C.isArray(u))
2917
2917
  throw TypeError("Object iterator must return a key-value pair");
2918
- c[l = d[0]] = (u = c[l]) ? C.isArray(u) ? [...u, d[1]] : [u, d[1]] : d[1];
2918
+ c[l = u[0]] = (d = c[l]) ? C.isArray(d) ? [...d, u[1]] : [d, u[1]] : u[1];
2919
2919
  }
2920
2920
  o(c, s);
2921
2921
  } else
@@ -3063,26 +3063,26 @@ function $i(e, t) {
3063
3063
  e = e || 10;
3064
3064
  const s = new Array(e), a = new Array(e);
3065
3065
  let r = 0, i = 0, o;
3066
- return t = t !== void 0 ? t : 1e3, function(u) {
3067
- const l = Date.now(), d = a[i];
3068
- o || (o = l), s[r] = u, a[r] = l;
3066
+ return t = t !== void 0 ? t : 1e3, function(d) {
3067
+ const l = Date.now(), u = a[i];
3068
+ o || (o = l), s[r] = d, a[r] = l;
3069
3069
  let m = i, f = 0;
3070
3070
  for (; m !== r; )
3071
3071
  f += s[m++], m = m % e;
3072
3072
  if (r = (r + 1) % e, r === i && (i = (i + 1) % e), l - o < t)
3073
3073
  return;
3074
- const A = d && l - d;
3074
+ const A = u && l - u;
3075
3075
  return A ? Math.round(f * 1e3 / A) : void 0;
3076
3076
  };
3077
3077
  }
3078
3078
  function Zi(e, t) {
3079
3079
  let s = 0, a = 1e3 / t, r, i;
3080
- const o = (l, d = Date.now()) => {
3081
- s = d, r = null, i && (clearTimeout(i), i = null), e(...l);
3080
+ const o = (l, u = Date.now()) => {
3081
+ s = u, r = null, i && (clearTimeout(i), i = null), e(...l);
3082
3082
  };
3083
3083
  return [(...l) => {
3084
- const d = Date.now(), m = d - s;
3085
- m >= a ? o(l, d) : (r = l, i || (i = setTimeout(() => {
3084
+ const u = Date.now(), m = u - s;
3085
+ m >= a ? o(l, u) : (r = l, i || (i = setTimeout(() => {
3086
3086
  i = null, o(r);
3087
3087
  }, a - m)));
3088
3088
  }, () => r && o(r)];
@@ -3091,15 +3091,15 @@ const It = (e, t, s = 3) => {
3091
3091
  let a = 0;
3092
3092
  const r = $i(50, 250);
3093
3093
  return Zi((i) => {
3094
- const o = i.loaded, c = i.lengthComputable ? i.total : void 0, u = o - a, l = r(u), d = o <= c;
3094
+ const o = i.loaded, c = i.lengthComputable ? i.total : void 0, d = o - a, l = r(d), u = o <= c;
3095
3095
  a = o;
3096
3096
  const m = {
3097
3097
  loaded: o,
3098
3098
  total: c,
3099
3099
  progress: c ? o / c : void 0,
3100
- bytes: u,
3100
+ bytes: d,
3101
3101
  rate: l || void 0,
3102
- estimated: l && c && d ? (c - o) / l : void 0,
3102
+ estimated: l && c && u ? (c - o) / l : void 0,
3103
3103
  event: i,
3104
3104
  lengthComputable: c != null,
3105
3105
  [t ? "download" : "upload"]: !0
@@ -3159,32 +3159,32 @@ const sn = (e) => e instanceof Ae ? { ...e } : e;
3159
3159
  function _e(e, t) {
3160
3160
  t = t || {};
3161
3161
  const s = {};
3162
- function a(l, d, m, f) {
3163
- return C.isPlainObject(l) && C.isPlainObject(d) ? C.merge.call({ caseless: f }, l, d) : C.isPlainObject(d) ? C.merge({}, d) : C.isArray(d) ? d.slice() : d;
3162
+ function a(l, u, m, f) {
3163
+ return C.isPlainObject(l) && C.isPlainObject(u) ? C.merge.call({ caseless: f }, l, u) : C.isPlainObject(u) ? C.merge({}, u) : C.isArray(u) ? u.slice() : u;
3164
3164
  }
3165
- function r(l, d, m, f) {
3166
- if (C.isUndefined(d)) {
3165
+ function r(l, u, m, f) {
3166
+ if (C.isUndefined(u)) {
3167
3167
  if (!C.isUndefined(l))
3168
3168
  return a(void 0, l, m, f);
3169
- } else return a(l, d, m, f);
3169
+ } else return a(l, u, m, f);
3170
3170
  }
3171
- function i(l, d) {
3172
- if (!C.isUndefined(d))
3173
- return a(void 0, d);
3171
+ function i(l, u) {
3172
+ if (!C.isUndefined(u))
3173
+ return a(void 0, u);
3174
3174
  }
3175
- function o(l, d) {
3176
- if (C.isUndefined(d)) {
3175
+ function o(l, u) {
3176
+ if (C.isUndefined(u)) {
3177
3177
  if (!C.isUndefined(l))
3178
3178
  return a(void 0, l);
3179
- } else return a(void 0, d);
3179
+ } else return a(void 0, u);
3180
3180
  }
3181
- function c(l, d, m) {
3181
+ function c(l, u, m) {
3182
3182
  if (m in t)
3183
- return a(l, d);
3183
+ return a(l, u);
3184
3184
  if (m in e)
3185
3185
  return a(void 0, l);
3186
3186
  }
3187
- const u = {
3187
+ const d = {
3188
3188
  url: i,
3189
3189
  method: i,
3190
3190
  data: i,
@@ -3213,11 +3213,11 @@ function _e(e, t) {
3213
3213
  socketPath: o,
3214
3214
  responseEncoding: o,
3215
3215
  validateStatus: c,
3216
- headers: (l, d, m) => r(sn(l), sn(d), m, !0)
3216
+ headers: (l, u, m) => r(sn(l), sn(u), m, !0)
3217
3217
  };
3218
- return C.forEach(Object.keys({ ...e, ...t }), function(d) {
3219
- const m = u[d] || r, f = m(e[d], t[d], d);
3220
- C.isUndefined(f) && m !== c || (s[d] = f);
3218
+ return C.forEach(Object.keys({ ...e, ...t }), function(u) {
3219
+ const m = d[u] || r, f = m(e[u], t[u], u);
3220
+ C.isUndefined(f) && m !== c || (s[u] = f);
3221
3221
  }), s;
3222
3222
  }
3223
3223
  const ia = (e) => {
@@ -3230,15 +3230,15 @@ const ia = (e) => {
3230
3230
  if (de.hasStandardBrowserEnv || de.hasStandardBrowserWebWorkerEnv)
3231
3231
  o.setContentType(void 0);
3232
3232
  else if (C.isFunction(s.getHeaders)) {
3233
- const u = s.getHeaders(), l = ["content-type", "content-length"];
3234
- Object.entries(u).forEach(([d, m]) => {
3235
- l.includes(d.toLowerCase()) && o.set(d, m);
3233
+ const d = s.getHeaders(), l = ["content-type", "content-length"];
3234
+ Object.entries(d).forEach(([u, m]) => {
3235
+ l.includes(u.toLowerCase()) && o.set(u, m);
3236
3236
  });
3237
3237
  }
3238
3238
  }
3239
3239
  if (de.hasStandardBrowserEnv && (a && C.isFunction(a) && (a = a(t)), a || a !== !1 && Xi(t.url))) {
3240
- const u = r && i && eo.read(i);
3241
- u && o.set(r, u);
3240
+ const d = r && i && eo.read(i);
3241
+ d && o.set(r, d);
3242
3242
  }
3243
3243
  return t;
3244
3244
  }, no = typeof XMLHttpRequest < "u", ao = no && function(e) {
@@ -3246,9 +3246,9 @@ const ia = (e) => {
3246
3246
  const r = ia(e);
3247
3247
  let i = r.data;
3248
3248
  const o = Ae.from(r.headers).normalize();
3249
- let { responseType: c, onUploadProgress: u, onDownloadProgress: l } = r, d, m, f, A, h;
3249
+ let { responseType: c, onUploadProgress: d, onDownloadProgress: l } = r, u, m, f, A, h;
3250
3250
  function g() {
3251
- A && A(), h && h(), r.cancelToken && r.cancelToken.unsubscribe(d), r.signal && r.signal.removeEventListener("abort", d);
3251
+ A && A(), h && h(), r.cancelToken && r.cancelToken.unsubscribe(u), r.signal && r.signal.removeEventListener("abort", u);
3252
3252
  }
3253
3253
  let w = new XMLHttpRequest();
3254
3254
  w.open(r.method.toUpperCase(), r.url, !0), w.timeout = r.timeout;
@@ -3289,9 +3289,9 @@ const ia = (e) => {
3289
3289
  )), w = null;
3290
3290
  }, i === void 0 && o.setContentType(null), "setRequestHeader" in w && C.forEach(o.toJSON(), function(S, b) {
3291
3291
  w.setRequestHeader(b, S);
3292
- }), C.isUndefined(r.withCredentials) || (w.withCredentials = !!r.withCredentials), c && c !== "json" && (w.responseType = r.responseType), l && ([f, h] = It(l, !0), w.addEventListener("progress", f)), u && w.upload && ([m, A] = It(u), w.upload.addEventListener("progress", m), w.upload.addEventListener("loadend", A)), (r.cancelToken || r.signal) && (d = (N) => {
3292
+ }), C.isUndefined(r.withCredentials) || (w.withCredentials = !!r.withCredentials), c && c !== "json" && (w.responseType = r.responseType), l && ([f, h] = It(l, !0), w.addEventListener("progress", f)), d && w.upload && ([m, A] = It(d), w.upload.addEventListener("progress", m), w.upload.addEventListener("loadend", A)), (r.cancelToken || r.signal) && (u = (N) => {
3293
3293
  w && (a(!N || N.type ? new Je(null, e, w) : N), w.abort(), w = null);
3294
- }, r.cancelToken && r.cancelToken.subscribe(d), r.signal && (r.signal.aborted ? d() : r.signal.addEventListener("abort", d)));
3294
+ }, r.cancelToken && r.cancelToken.subscribe(u), r.signal && (r.signal.aborted ? u() : r.signal.addEventListener("abort", u)));
3295
3295
  const E = Ji(r.url);
3296
3296
  if (E && de.protocols.indexOf(E) === -1) {
3297
3297
  a(new Z("Unsupported protocol " + E + ":", Z.ERR_BAD_REQUEST, e));
@@ -3306,8 +3306,8 @@ const ia = (e) => {
3306
3306
  const i = function(l) {
3307
3307
  if (!r) {
3308
3308
  r = !0, c();
3309
- const d = l instanceof Error ? l : this.reason;
3310
- a.abort(d instanceof Z ? d : new Je(d instanceof Error ? d.message : d));
3309
+ const u = l instanceof Error ? l : this.reason;
3310
+ a.abort(u instanceof Z ? u : new Je(u instanceof Error ? u.message : u));
3311
3311
  }
3312
3312
  };
3313
3313
  let o = t && setTimeout(() => {
@@ -3319,8 +3319,8 @@ const ia = (e) => {
3319
3319
  }), e = null);
3320
3320
  };
3321
3321
  e.forEach((l) => l.addEventListener("abort", i));
3322
- const { signal: u } = a;
3323
- return u.unsubscribe = () => C.asap(c), u;
3322
+ const { signal: d } = a;
3323
+ return d.unsubscribe = () => C.asap(c), d;
3324
3324
  }
3325
3325
  }, io = function* (e, t) {
3326
3326
  let s = e.byteLength;
@@ -3352,29 +3352,29 @@ const ia = (e) => {
3352
3352
  }
3353
3353
  }, nn = (e, t, s, a) => {
3354
3354
  const r = oo(e, t);
3355
- let i = 0, o, c = (u) => {
3356
- o || (o = !0, a && a(u));
3355
+ let i = 0, o, c = (d) => {
3356
+ o || (o = !0, a && a(d));
3357
3357
  };
3358
3358
  return new ReadableStream({
3359
- async pull(u) {
3359
+ async pull(d) {
3360
3360
  try {
3361
- const { done: l, value: d } = await r.next();
3361
+ const { done: l, value: u } = await r.next();
3362
3362
  if (l) {
3363
- c(), u.close();
3363
+ c(), d.close();
3364
3364
  return;
3365
3365
  }
3366
- let m = d.byteLength;
3366
+ let m = u.byteLength;
3367
3367
  if (s) {
3368
3368
  let f = i += m;
3369
3369
  s(f);
3370
3370
  }
3371
- u.enqueue(new Uint8Array(d));
3371
+ d.enqueue(new Uint8Array(u));
3372
3372
  } catch (l) {
3373
3373
  throw c(l), l;
3374
3374
  }
3375
3375
  },
3376
- cancel(u) {
3377
- return c(u), r.return();
3376
+ cancel(d) {
3377
+ return c(d), r.return();
3378
3378
  }
3379
3379
  }, {
3380
3380
  highWaterMark: 2
@@ -3398,7 +3398,7 @@ const ia = (e) => {
3398
3398
  const { fetch: t, Request: s, Response: a } = e, r = t ? mt(t) : typeof fetch == "function", i = mt(s), o = mt(a);
3399
3399
  if (!r)
3400
3400
  return !1;
3401
- const c = r && mt(rn), u = r && (typeof on == "function" ? /* @__PURE__ */ ((h) => (g) => h.encode(g))(new on()) : async (h) => new Uint8Array(await new s(h).arrayBuffer())), l = i && c && cn(() => {
3401
+ const c = r && mt(rn), d = r && (typeof on == "function" ? /* @__PURE__ */ ((h) => (g) => h.encode(g))(new on()) : async (h) => new Uint8Array(await new s(h).arrayBuffer())), l = i && c && cn(() => {
3402
3402
  let h = !1;
3403
3403
  const g = new s(de.origin, {
3404
3404
  body: new rn(),
@@ -3408,8 +3408,8 @@ const ia = (e) => {
3408
3408
  }
3409
3409
  }).headers.has("Content-Type");
3410
3410
  return h && !g;
3411
- }), d = o && c && cn(() => C.isReadableStream(new a("").body)), m = {
3412
- stream: d && ((h) => h.body)
3411
+ }), u = o && c && cn(() => C.isReadableStream(new a("").body)), m = {
3412
+ stream: u && ((h) => h.body)
3413
3413
  };
3414
3414
  r && ["text", "arrayBuffer", "blob", "formData", "stream"].forEach((h) => {
3415
3415
  !m[h] && (m[h] = (g, w) => {
@@ -3432,7 +3432,7 @@ const ia = (e) => {
3432
3432
  if (C.isArrayBufferView(h) || C.isArrayBuffer(h))
3433
3433
  return h.byteLength;
3434
3434
  if (C.isURLSearchParams(h) && (h = h + ""), C.isString(h))
3435
- return (await u(h)).byteLength;
3435
+ return (await d(h)).byteLength;
3436
3436
  }, A = async (h, g) => {
3437
3437
  const w = C.toFiniteNumber(h.getContentLength());
3438
3438
  return w ?? f(g);
@@ -3485,8 +3485,8 @@ const ia = (e) => {
3485
3485
  };
3486
3486
  se = i && new s(g, M);
3487
3487
  let k = await (i ? L(se, j) : L(g, M));
3488
- const F = d && (R === "stream" || R === "response");
3489
- if (d && (b || F && q)) {
3488
+ const F = u && (R === "stream" || R === "response");
3489
+ if (u && (b || F && q)) {
3490
3490
  const T = {};
3491
3491
  ["status", "statusText", "headers"].forEach((V) => {
3492
3492
  T[V] = k[V];
@@ -3530,9 +3530,9 @@ const ia = (e) => {
3530
3530
  r,
3531
3531
  s
3532
3532
  ];
3533
- let o = i.length, c = o, u, l, d = mo;
3533
+ let o = i.length, c = o, d, l, u = mo;
3534
3534
  for (; c--; )
3535
- u = i[c], l = d.get(u), l === void 0 && d.set(u, l = c ? /* @__PURE__ */ new Map() : uo(t)), d = l;
3535
+ d = i[c], l = u.get(d), l === void 0 && u.set(d, l = c ? /* @__PURE__ */ new Map() : uo(t)), u = l;
3536
3536
  return l;
3537
3537
  };
3538
3538
  oa();
@@ -3569,7 +3569,7 @@ function fo(e, t) {
3569
3569
  }
3570
3570
  if (!r) {
3571
3571
  const o = Object.entries(i).map(
3572
- ([u, l]) => `adapter ${u} ` + (l === !1 ? "is not supported by the environment" : "is not available in the build")
3572
+ ([d, l]) => `adapter ${d} ` + (l === !1 ? "is not supported by the environment" : "is not available in the build")
3573
3573
  );
3574
3574
  let c = s ? o.length > 1 ? `since :
3575
3575
  ` + o.map(ln).join(`
@@ -3651,9 +3651,9 @@ function go(e, t, s) {
3651
3651
  for (; r-- > 0; ) {
3652
3652
  const i = a[r], o = t[i];
3653
3653
  if (o) {
3654
- const c = e[i], u = c === void 0 || o(c, i, e);
3655
- if (u !== !0)
3656
- throw new Z("option " + i + " must be " + u, Z.ERR_BAD_OPTION_VALUE);
3654
+ const c = e[i], d = c === void 0 || o(c, i, e);
3655
+ if (d !== !0)
3656
+ throw new Z("option " + i + " must be " + d, Z.ERR_BAD_OPTION_VALUE);
3657
3657
  continue;
3658
3658
  }
3659
3659
  if (s !== !0)
@@ -3723,20 +3723,20 @@ let qe = class {
3723
3723
  }
3724
3724
  ), s.headers = Ae.concat(o, i);
3725
3725
  const c = [];
3726
- let u = !0;
3726
+ let d = !0;
3727
3727
  this.interceptors.request.forEach(function(g) {
3728
- typeof g.runWhen == "function" && g.runWhen(s) === !1 || (u = u && g.synchronous, c.unshift(g.fulfilled, g.rejected));
3728
+ typeof g.runWhen == "function" && g.runWhen(s) === !1 || (d = d && g.synchronous, c.unshift(g.fulfilled, g.rejected));
3729
3729
  });
3730
3730
  const l = [];
3731
3731
  this.interceptors.response.forEach(function(g) {
3732
3732
  l.push(g.fulfilled, g.rejected);
3733
3733
  });
3734
- let d, m = 0, f;
3735
- if (!u) {
3734
+ let u, m = 0, f;
3735
+ if (!d) {
3736
3736
  const h = [dn.bind(this), void 0];
3737
- for (h.unshift(...c), h.push(...l), f = h.length, d = Promise.resolve(s); m < f; )
3738
- d = d.then(h[m++], h[m++]);
3739
- return d;
3737
+ for (h.unshift(...c), h.push(...l), f = h.length, u = Promise.resolve(s); m < f; )
3738
+ u = u.then(h[m++], h[m++]);
3739
+ return u;
3740
3740
  }
3741
3741
  f = c.length;
3742
3742
  let A = s;
@@ -3750,13 +3750,13 @@ let qe = class {
3750
3750
  }
3751
3751
  }
3752
3752
  try {
3753
- d = dn.call(this, A);
3753
+ u = dn.call(this, A);
3754
3754
  } catch (h) {
3755
3755
  return Promise.reject(h);
3756
3756
  }
3757
3757
  for (m = 0, f = l.length; m < f; )
3758
- d = d.then(l[m++], l[m++]);
3759
- return d;
3758
+ u = u.then(l[m++], l[m++]);
3759
+ return u;
3760
3760
  }
3761
3761
  getUri(t) {
3762
3762
  t = _e(this.defaults, t);
@@ -4322,8 +4322,8 @@ class Be {
4322
4322
  ]), o = He(
4323
4323
  r
4324
4324
  )?.data, c = o?.[0];
4325
- let u = [];
4326
- c?.authors?.length === 1 && c?.config?.showauthor && c.authors[0]?.internaluser && (u = (await this.getAutorInfo({
4325
+ let d = [];
4326
+ c?.authors?.length === 1 && c?.config?.showauthor && c.authors[0]?.internaluser && (d = (await this.getAutorInfo({
4327
4327
  user: c.authors[0].name,
4328
4328
  exclude: a.getAutorInfo,
4329
4329
  imagesizes: s.getAutorInfo
@@ -4359,7 +4359,7 @@ class Be {
4359
4359
  }
4360
4360
  return {
4361
4361
  news: o ?? [],
4362
- autor: u,
4362
+ autor: d,
4363
4363
  newsRelatedResponses: g,
4364
4364
  itemList: He(i)?.data ?? [],
4365
4365
  newsRelatedListResponses: h,
@@ -4394,7 +4394,7 @@ class bo extends Be {
4394
4394
  }), Promise.reject(l)));
4395
4395
  if (!s || !s.data || !s.data.data || s.data.data.length === 0 || !s.data.data[0]?.value || !s.data.data[0].block || !this.props?.imgSizes[s.data.data[0].block])
4396
4396
  return { blockSass: s ? s.data.data : void 0 };
4397
- const a = s.data.data[0] ?? [], r = a?.value.split("="), i = r[0] ?? "", o = r[1] ?? "", c = a?.block, u = {
4397
+ const a = s.data.data[0] ?? [], r = a?.value.split("="), i = r[0] ?? "", o = r[1] ?? "", c = a?.block, d = {
4398
4398
  videos: async () => {
4399
4399
  const l = {
4400
4400
  size: this.props?.imgSizes[c].size ?? 5,
@@ -4403,20 +4403,20 @@ class bo extends Be {
4403
4403
  };
4404
4404
  this.IS_MULTIPUBLICATION && (l.publication = this.MULTIPUBLICATION_FETCHES ?? this.PUBLIC_PUBLICATION_ID);
4405
4405
  try {
4406
- const d = await this.getvideoListAdvanced(l);
4406
+ const u = await this.getvideoListAdvanced(l);
4407
4407
  return {
4408
4408
  blockSass: s.data.data,
4409
- content: d ? d.data : void 0
4409
+ content: u ? u.data : void 0
4410
4410
  };
4411
- } catch (d) {
4412
- return console.log(`[/videos-list-advanced] Error: ${d?.message}`), X({
4411
+ } catch (u) {
4412
+ return console.log(`[/videos-list-advanced] Error: ${u?.message}`), X({
4413
4413
  service: "DynamicBlockServices.getBlockSass.videos",
4414
4414
  endpoint: "/videos-list-advanced",
4415
4415
  method: "GET",
4416
4416
  params: l,
4417
- message: d?.message ?? "Unknown error",
4418
- status: d?.response?.status,
4419
- error: d
4417
+ message: u?.message ?? "Unknown error",
4418
+ status: u?.response?.status,
4419
+ error: u
4420
4420
  }), {
4421
4421
  blockSass: s.data.data,
4422
4422
  content: void 0
@@ -4424,16 +4424,16 @@ class bo extends Be {
4424
4424
  }
4425
4425
  },
4426
4426
  tag: async () => {
4427
- const { USE_QUOTE_IN_QUERY_TAG_HOME: l } = _(), d = {
4427
+ const { USE_QUOTE_IN_QUERY_TAG_HOME: l } = _(), u = {
4428
4428
  query: l ? 'claves:("' + o + '")' : "claves:(" + o + ")",
4429
4429
  size: this.props?.imgSizes[c]?.size ?? 3,
4430
4430
  newstype: this.props?.config?.newsType,
4431
4431
  exclude: this.exclude,
4432
4432
  imagesizes: this.props?.imgSizes[c]?.imageSizes
4433
4433
  };
4434
- this.IS_MULTIPUBLICATION && (d.publication = this.MULTIPUBLICATION_FETCHES ?? this.PUBLIC_PUBLICATION_ID);
4434
+ this.IS_MULTIPUBLICATION && (u.publication = this.MULTIPUBLICATION_FETCHES ?? this.PUBLIC_PUBLICATION_ID);
4435
4435
  try {
4436
- const m = await this.getNewsListAvanced(d);
4436
+ const m = await this.getNewsListAvanced(u);
4437
4437
  return {
4438
4438
  blockSass: s.data.data,
4439
4439
  content: m ? m.data : void 0
@@ -4443,7 +4443,7 @@ class bo extends Be {
4443
4443
  service: "DynamicBlockServices.getBlockSass.tag",
4444
4444
  endpoint: "/news-list-advanced",
4445
4445
  method: "GET",
4446
- params: d,
4446
+ params: u,
4447
4447
  message: m?.message ?? "Unknown error",
4448
4448
  status: m?.response?.status,
4449
4449
  error: m
@@ -4463,20 +4463,20 @@ class bo extends Be {
4463
4463
  };
4464
4464
  this.IS_MULTIPUBLICATION && (l.publication = this.MULTIPUBLICATION_FETCHES ?? this.PUBLIC_PUBLICATION_ID);
4465
4465
  try {
4466
- const d = await this.getNewsListAvanced(l);
4466
+ const u = await this.getNewsListAvanced(l);
4467
4467
  return {
4468
4468
  blockSass: s.data.data,
4469
- content: d ? d.data : void 0
4469
+ content: u ? u.data : void 0
4470
4470
  };
4471
- } catch (d) {
4472
- return console.log(`[/news-list-advanced] Error: ${d?.message}`), X({
4471
+ } catch (u) {
4472
+ return console.log(`[/news-list-advanced] Error: ${u?.message}`), X({
4473
4473
  service: "DynamicBlockServices.getBlockSass.seccion",
4474
4474
  endpoint: "/news-list-advanced",
4475
4475
  method: "GET",
4476
4476
  params: l,
4477
- message: d?.message ?? "Unknown error",
4478
- status: d?.response?.status,
4479
- error: d
4477
+ message: u?.message ?? "Unknown error",
4478
+ status: u?.response?.status,
4479
+ error: u
4480
4480
  }), {
4481
4481
  blockSass: s.data.data,
4482
4482
  content: void 0
@@ -4484,8 +4484,8 @@ class bo extends Be {
4484
4484
  }
4485
4485
  }
4486
4486
  };
4487
- if (i in u) {
4488
- const l = u[i];
4487
+ if (i in d) {
4488
+ const l = d[i];
4489
4489
  return await l();
4490
4490
  }
4491
4491
  return { blockSass: s.data.data };
@@ -4535,15 +4535,15 @@ const au = async (e, t, s, a, r, i, o) => {
4535
4535
  imgSizesVideo: a,
4536
4536
  axiosApi: e,
4537
4537
  exclude: o
4538
- }), u = [];
4538
+ }), d = [];
4539
4539
  for (let m = 1; m <= r; m++)
4540
4540
  for (let f = 1; f <= i; f++)
4541
- u.push({
4541
+ d.push({
4542
4542
  func: c.getBlockSass,
4543
4543
  slot_id: m + "_" + f
4544
4544
  });
4545
4545
  const l = await Promise.allSettled([
4546
- ...u.map((m) => m.func({ template: "Home_" + m.slot_id }))
4546
+ ...d.map((m) => m.func({ template: "Home_" + m.slot_id }))
4547
4547
  ]);
4548
4548
  return (() => {
4549
4549
  const m = {};
@@ -4560,7 +4560,11 @@ const au = async (e, t, s, a, r, i, o) => {
4560
4560
  return t && t.data ? t.data : t;
4561
4561
  }, ru = async (e) => {
4562
4562
  const t = await Promise.allSettled(
4563
- Object.values(e).map((r) => r.promise)
4563
+ Object.values(e).map((r) => {
4564
+ const i = r.promise ?? Promise.resolve(void 0);
4565
+ return i.catch(() => {
4566
+ }), i;
4567
+ })
4564
4568
  ), s = Object.keys(e), a = {};
4565
4569
  for (const r in e) {
4566
4570
  const i = e[r];
@@ -4617,18 +4621,18 @@ const au = async (e, t, s, a, r, i, o) => {
4617
4621
  return i ? { ...t, ...i } : fe(t);
4618
4622
  },
4619
4623
  seccion: async (e) => {
4620
- const { meta: t, config: s, pathname: a, slug: r, axiosApi: i } = e, o = new Be({ config: s, axiosApi: i }), c = a.split("/"), u = [], l = ut(a), d = Number(s.newsListLimit) ?? 0;
4624
+ const { meta: t, config: s, pathname: a, slug: r, axiosApi: i } = e, o = new Be({ config: s, axiosApi: i }), c = a.split("/"), d = [], l = ut(a), u = Number(s.newsListLimit) ?? 0;
4621
4625
  try {
4622
4626
  const m = await o.getNewsListSection({
4623
4627
  section: r,
4624
- size: d,
4628
+ size: u,
4625
4629
  newstype: s.newsType,
4626
4630
  exclude: "keywords,gallery,related,relatedexternal,external,customfields",
4627
4631
  page: l
4628
4632
  });
4629
4633
  if (!m) return fe(t);
4630
4634
  const f = m.data.data, A = f[0];
4631
- return f.length < d || u.push({ rel: "next", url: lt(s, c, l) }), l > 1 && u.push({ rel: "prev", url: dt(s, c, l) }), {
4635
+ return f.length < u || d.push({ rel: "next", url: lt(s, c, l) }), l > 1 && d.push({ rel: "prev", url: dt(s, c, l) }), {
4632
4636
  ...t,
4633
4637
  title: `Últimas Noticias de ${A.info.section?.name} | ${s.name}`,
4634
4638
  description: `Todas las últimas noticias de ${A.info.section?.name} en ${s.name}`,
@@ -4639,7 +4643,7 @@ const au = async (e, t, s, a, r, i, o) => {
4639
4643
  manifest: s.manifest,
4640
4644
  icons: {
4641
4645
  ...s.icons,
4642
- other: u
4646
+ other: d
4643
4647
  },
4644
4648
  other: {
4645
4649
  "msapplication-TileImage": s.msapplicationTileImage ?? ""
@@ -4663,11 +4667,11 @@ const au = async (e, t, s, a, r, i, o) => {
4663
4667
  }
4664
4668
  },
4665
4669
  tema: async (e) => {
4666
- const { meta: t, config: s, pathname: a, slug: r, axiosApi: i } = e, o = new Be({ config: s, axiosApi: i }), c = a.split("/"), u = [], l = ut(a), d = Number(s.newsListLimit) ?? 0, m = /([t][0-9]{4})\w+/.exec(r || ""), f = m && m?.length > 0 ? m[0].replace("t", "") : "", { PUBLIC_TAG_TYPE: A } = _();
4670
+ const { meta: t, config: s, pathname: a, slug: r, axiosApi: i } = e, o = new Be({ config: s, axiosApi: i }), c = a.split("/"), d = [], l = ut(a), u = Number(s.newsListLimit) ?? 0, m = /([t][0-9]{4})\w+/.exec(r || ""), f = m && m?.length > 0 ? m[0].replace("t", "") : "", { PUBLIC_TAG_TYPE: A } = _();
4667
4671
  try {
4668
4672
  const h = await o.getNewsListTags({
4669
4673
  tagid: f,
4670
- size: d,
4674
+ size: u,
4671
4675
  tagtype: Number(A),
4672
4676
  newstype: s.newsType,
4673
4677
  exclude: "keywords,gallery,related,relatedexternal,external,customfields",
@@ -4675,10 +4679,10 @@ const au = async (e, t, s, a, r, i, o) => {
4675
4679
  });
4676
4680
  if (!h) return fe(t);
4677
4681
  const g = h.data.entity;
4678
- return g ? (h.data.data?.length < d || u.push({
4682
+ return g ? (h.data.data?.length < u || d.push({
4679
4683
  rel: "next",
4680
4684
  url: lt(s, c, l)
4681
- }), l > 1 && u.push({
4685
+ }), l > 1 && d.push({
4682
4686
  rel: "prev",
4683
4687
  url: dt(s, c, l)
4684
4688
  }), {
@@ -4692,7 +4696,7 @@ const au = async (e, t, s, a, r, i, o) => {
4692
4696
  manifest: s.manifest,
4693
4697
  icons: {
4694
4698
  ...s.icons,
4695
- other: u
4699
+ other: d
4696
4700
  },
4697
4701
  other: {
4698
4702
  "msapplication-TileImage": s.msapplicationTileImage ?? ""
@@ -4745,17 +4749,17 @@ const au = async (e, t, s, a, r, i, o) => {
4745
4749
  }
4746
4750
  },
4747
4751
  videos: async (e) => {
4748
- const { meta: t, config: s, pathname: a, axiosApi: r } = e, i = new Be({ config: s, axiosApi: r }), o = a.split("/"), c = [], u = ut(a), l = await i.getvideoListAdvanced({
4752
+ const { meta: t, config: s, pathname: a, axiosApi: r } = e, i = new Be({ config: s, axiosApi: r }), o = a.split("/"), c = [], d = ut(a), l = await i.getvideoListAdvanced({
4749
4753
  size: Number(s.newsListLimit),
4750
4754
  query: "Category:(videohome OR destacadoseccion OR seccion)",
4751
- page: Number(u)
4755
+ page: Number(d)
4752
4756
  });
4753
4757
  return l ? (l.data.data.length < Number(s.newsListLimit) || c.push({
4754
4758
  rel: "next",
4755
- url: lt(s, o, u)
4756
- }), u > 1 && c.push({
4759
+ url: lt(s, o, d)
4760
+ }), d > 1 && c.push({
4757
4761
  rel: "prev",
4758
- url: dt(s, o, u)
4762
+ url: dt(s, o, d)
4759
4763
  }), {
4760
4764
  ...t,
4761
4765
  title: "Videos | " + s.name,
@@ -4776,11 +4780,11 @@ const au = async (e, t, s, a, r, i, o) => {
4776
4780
  pages: async (e, t) => {
4777
4781
  const { meta: s, config: a, pathname: r, slug: i, axiosApi: o } = e, c = new Be({ config: a, axiosApi: o });
4778
4782
  try {
4779
- const u = await c.getPages({
4783
+ const d = await c.getPages({
4780
4784
  path: t || a.servicePrefix + `/pages/${i}`
4781
4785
  });
4782
- if (!u) return fe(s);
4783
- const l = u.data.data[0]?.info.title ?? "";
4786
+ if (!d) return fe(s);
4787
+ const l = d.data.data[0]?.info.title ?? "";
4784
4788
  return {
4785
4789
  ...s,
4786
4790
  title: `${a.name} | ${l}`,
@@ -4789,8 +4793,8 @@ const au = async (e, t, s, a, r, i, o) => {
4789
4793
  canonical: a.siteUrl + r
4790
4794
  }
4791
4795
  };
4792
- } catch (u) {
4793
- return console.error(u), fe(s);
4796
+ } catch (d) {
4797
+ return console.error(d), fe(s);
4794
4798
  }
4795
4799
  },
4796
4800
  contacto: (e) => {
@@ -4834,7 +4838,7 @@ const au = async (e, t, s, a, r, i, o) => {
4834
4838
  };
4835
4839
  },
4836
4840
  autor: async (e) => {
4837
- const { meta: t, config: s, pathname: a, imgSizes: r, slug: i, axiosApi: o } = e, c = new Be({ config: s, axiosApi: o, imgSizes: r }), u = a.split("/"), l = [], d = ut(a);
4841
+ const { meta: t, config: s, pathname: a, imgSizes: r, slug: i, axiosApi: o } = e, c = new Be({ config: s, axiosApi: o, imgSizes: r }), d = a.split("/"), l = [], u = ut(a);
4838
4842
  try {
4839
4843
  const m = await c.getAutorInfo({
4840
4844
  user: i,
@@ -4843,17 +4847,17 @@ const au = async (e, t, s, a, r, i, o) => {
4843
4847
  }), f = await c.getNewsListAutor({
4844
4848
  size: Number(s.newsListLimit) ?? 0,
4845
4849
  user: i,
4846
- page: d,
4850
+ page: u,
4847
4851
  newstype: s.newsType,
4848
4852
  exclude: "keywords,gallery,related,relatedexternal,external,customfields",
4849
4853
  imagesizes: r.md
4850
4854
  });
4851
4855
  return f ? (f.data.data.length < Number(s.newsListLimit) || l.push({
4852
4856
  rel: "next",
4853
- url: lt(s, u, d)
4854
- }), d > 1 && l.push({
4857
+ url: lt(s, d, u)
4858
+ }), u > 1 && l.push({
4855
4859
  rel: "prev",
4856
- url: dt(s, u, d)
4860
+ url: dt(s, d, u)
4857
4861
  }), {
4858
4862
  ...t,
4859
4863
  title: `Últimas Noticias de ${m?.data.data[0]?.info.fullname} | ${s.name}`,
@@ -4880,7 +4884,7 @@ const au = async (e, t, s, a, r, i, o) => {
4880
4884
  listAutor: t,
4881
4885
  config: s
4882
4886
  }) => {
4883
- const a = t?.[0] ?? null, { DATE_TIMEZONE: r = "America/Mexico_City", PUBLIC_ASSETS_URL: i } = _(), o = r, c = a?.info?.date?.modified ? Fe(a.info.date.modified, o) : void 0, u = e.addtional?.USER_JOBSTART ? Fe(e.addtional.USER_JOBSTART, o) : void 0, l = i && i !== "false" ? i : "", d = {
4887
+ const a = t?.[0] ?? null, { DATE_TIMEZONE: r = "America/Mexico_City", PUBLIC_ASSETS_URL: i } = _(), o = r, c = a?.info?.date?.modified ? Fe(a.info.date.modified, o) : void 0, d = e.addtional?.USER_JOBSTART ? Fe(e.addtional.USER_JOBSTART, o) : void 0, l = i && i !== "false" ? i : "", u = {
4884
4888
  "@context": "https://schema.org",
4885
4889
  "@type": "ProfilePage",
4886
4890
  mainEntity: {
@@ -4900,7 +4904,7 @@ const au = async (e, t, s, a, r, i, o) => {
4900
4904
  url: s.siteUrl + (s.paths.autor !== "" ? `/${s.paths.autor}/` : "/") + e.info.name
4901
4905
  }
4902
4906
  };
4903
- return u && (d.dateCreated = u), c && (d.dateModified = c), e?.addtional?.USER_SHOWEMAIL && (d.mainEntity.email = e.info.email), /* @__PURE__ */ n("script", { type: "application/ld+json", children: JSON.stringify(d) });
4907
+ return d && (u.dateCreated = d), c && (u.dateModified = c), e?.addtional?.USER_SHOWEMAIL && (u.mainEntity.email = e.info.email), /* @__PURE__ */ n("script", { type: "application/ld+json", children: JSON.stringify(u) });
4904
4908
  };
4905
4909
  async function iu({
4906
4910
  axiosApi: e,
@@ -4920,9 +4924,9 @@ async function iu({
4920
4924
  pathname: i,
4921
4925
  slug: o,
4922
4926
  texts: c,
4923
- query: u,
4927
+ query: d,
4924
4928
  autor: l,
4925
- listAutor: d,
4929
+ listAutor: u,
4926
4930
  currentNew: m,
4927
4931
  banners: f,
4928
4932
  schemasImages: A,
@@ -4944,7 +4948,7 @@ async function iu({
4944
4948
  imgSizes: a,
4945
4949
  slug: o,
4946
4950
  texts: c,
4947
- query: u,
4951
+ query: d,
4948
4952
  axiosApi: e,
4949
4953
  internalPath: h,
4950
4954
  schemasImages: R
@@ -5008,7 +5012,7 @@ async function iu({
5008
5012
  No,
5009
5013
  {
5010
5014
  autor: l,
5011
- listAutor: d,
5015
+ listAutor: u,
5012
5016
  config: g
5013
5017
  }
5014
5018
  ),
@@ -5042,11 +5046,11 @@ const ou = ({
5042
5046
  config: i,
5043
5047
  internalPath: o,
5044
5048
  currentNew: c,
5045
- tagsParsed: u,
5049
+ tagsParsed: d,
5046
5050
  scriptReplaces: l,
5047
- body_custom_elements: d
5051
+ body_custom_elements: u
5048
5052
  }) => {
5049
- const m = Ga(c, u), f = jn[t]({
5053
+ const m = Ga(c, d), f = jn[t]({
5050
5054
  pathname: a,
5051
5055
  slug: r,
5052
5056
  config: i,
@@ -5060,7 +5064,7 @@ const ou = ({
5060
5064
  /* @__PURE__ */ n(_a, {}),
5061
5065
  /* @__PURE__ */ n(ja, { dimensionValues: m }),
5062
5066
  /* @__PURE__ */ n(Qa, {}),
5063
- d,
5067
+ u,
5064
5068
  /* @__PURE__ */ n(yr, { name: "bodyafter", banners: s, replaces: w })
5065
5069
  ] });
5066
5070
  }, So = () => /* @__PURE__ */ n(
@@ -5099,7 +5103,7 @@ function Eo({
5099
5103
  enableDrag: i,
5100
5104
  onIndexChange: o
5101
5105
  }) {
5102
- const [c, u] = $(!1), [l, d] = $(0), [m, f] = $(0), [A, h] = $(0), [g, w] = $(0), [v, E] = $(null), N = Ma(null), [S, b] = $(1), I = ce(() => {
5106
+ const [c, d] = $(!1), [l, u] = $(0), [m, f] = $(0), [A, h] = $(0), [g, w] = $(0), [v, E] = $(null), N = Ma(null), [S, b] = $(1), I = ce(() => {
5103
5107
  if (r) return 1;
5104
5108
  const y = N.current?.offsetWidth || window.innerWidth, T = s + a, P = Math.floor(y / T);
5105
5109
  return Math.max(1, P);
@@ -5139,7 +5143,7 @@ function Eo({
5139
5143
  [r, s, a, I, W]
5140
5144
  ), H = ce(
5141
5145
  (y) => {
5142
- i && (d(y), f(y), h(0), w(Date.now()), u(!0), document.body.classList.add("dragging"));
5146
+ i && (u(y), f(y), h(0), w(Date.now()), d(!0), document.body.classList.add("dragging"));
5143
5147
  },
5144
5148
  [i]
5145
5149
  ), se = ce(
@@ -5166,7 +5170,7 @@ function Eo({
5166
5170
  const Y = Math.min(Q, e + z);
5167
5171
  o(Y);
5168
5172
  }
5169
- u(!1), h(0), document.body.classList.remove("dragging"), document.removeEventListener("mousemove", q), document.removeEventListener("mouseup", x), y.clientX === l && v?.dispatchEvent(new PointerEvent("click"));
5173
+ d(!1), h(0), document.body.classList.remove("dragging"), document.removeEventListener("mousemove", q), document.removeEventListener("mouseup", x), y.clientX === l && v?.dispatchEvent(new PointerEvent("click"));
5170
5174
  },
5171
5175
  [
5172
5176
  c,
@@ -5235,8 +5239,8 @@ function lu(e) {
5235
5239
  cardGap: i = 20,
5236
5240
  fullPageWidth: o = !1,
5237
5241
  pagination: c = !1,
5238
- enableDrag: u = !0
5239
- } = e, l = Array.isArray(t) ? t : t?.props?.value?.split('<div style="display:none;">SPLITING</div>'), [d, m] = $(0), [f, A] = $(!1);
5242
+ enableDrag: d = !0
5243
+ } = e, l = Array.isArray(t) ? t : t?.props?.value?.split('<div style="display:none;">SPLITING</div>'), [u, m] = $(0), [f, A] = $(!1);
5240
5244
  Te(() => {
5241
5245
  A(!0);
5242
5246
  const j = document.getElementById("ssr-dummy_" + s);
@@ -5251,12 +5255,12 @@ function lu(e) {
5251
5255
  actualVisibleItems: N,
5252
5256
  dragHandlers: S
5253
5257
  } = Eo({
5254
- currentIndex: d,
5258
+ currentIndex: u,
5255
5259
  totalItems: l.length,
5256
5260
  cardWidth: r,
5257
5261
  cardGap: i,
5258
5262
  fullPageWidth: o,
5259
- enableDrag: u,
5263
+ enableDrag: d,
5260
5264
  onIndexChange: m
5261
5265
  }), b = ce(
5262
5266
  (j) => {
@@ -5265,14 +5269,14 @@ function lu(e) {
5265
5269
  },
5266
5270
  [v]
5267
5271
  ), I = ce(() => {
5268
- b(d - 1);
5269
- }, [d, b]), R = ce(() => {
5270
- b(d + 1);
5271
- }, [d, b]);
5272
+ b(u - 1);
5273
+ }, [u, b]), R = ce(() => {
5274
+ b(u + 1);
5275
+ }, [u, b]);
5272
5276
  if (!f) return;
5273
- const Q = E(d, g), W = o ? `translateX(${Q}%)` : `translateX(${Q}px)`;
5277
+ const Q = E(u, g), W = o ? `translateX(${Q}%)` : `translateX(${Q}px)`;
5274
5278
  return /* @__PURE__ */ p("div", { className: `${s}- carrousel-container`, children: [
5275
- d > 0 && /* @__PURE__ */ n(
5279
+ u > 0 && /* @__PURE__ */ n(
5276
5280
  "button",
5277
5281
  {
5278
5282
  className: "visible-arrow left",
@@ -5298,7 +5302,7 @@ function lu(e) {
5298
5302
  )
5299
5303
  }
5300
5304
  ),
5301
- d < v && /* @__PURE__ */ n(
5305
+ u < v && /* @__PURE__ */ n(
5302
5306
  "button",
5303
5307
  {
5304
5308
  className: "visible-arrow right",
@@ -5332,7 +5336,7 @@ function lu(e) {
5332
5336
  style: {
5333
5337
  gap: i,
5334
5338
  margin: i === 0 ? "0" : "0 0.5rem 1rem",
5335
- cursor: u ? h ? "grabbing" : "grab" : "default",
5339
+ cursor: d ? h ? "grabbing" : "grab" : "default",
5336
5340
  justifyContent: "start !important"
5337
5341
  },
5338
5342
  ...S,
@@ -5372,7 +5376,7 @@ function lu(e) {
5372
5376
  c && /* @__PURE__ */ n("nav", { className: "carrousel-pagination", children: Array.from(
5373
5377
  { length: Math.ceil(l.length / N) },
5374
5378
  (j, L) => {
5375
- const H = Math.floor(d / N) === L;
5379
+ const H = Math.floor(u / N) === L;
5376
5380
  return /* @__PURE__ */ n(
5377
5381
  "li",
5378
5382
  {
@@ -5467,11 +5471,11 @@ const et = (e) => /* @__PURE__ */ n("div", { className: "su-flex su-flex-col sas
5467
5471
  );
5468
5472
  };
5469
5473
  function O(e) {
5470
- const { PUBLIC_SERVICE_PREFIX: t, PUBLIC_IS_SUB_PUBLICATION: s, SUB_PUBLICATION_PREFIX_IN_ROUTES: a } = _(), { block_subPublication: r } = e, i = xo(e.href), o = e.hasOwnProperty("href") && e.href ? (e.href ?? "").includes("/buscar") : !1, c = a?.tema && i, u = a?.buscar && o, l = !r && !c && !u && t !== "false" && s !== "false" ? "/" + t : "", d = /^(https?:)?\/\//.test(e.href) || /^[a-zA-Z][a-zA-Z\d+\-.]*:/.test(e.href), m = e.href?.split("/")[1] === l.replace("/", ""), f = {
5474
+ const { PUBLIC_SERVICE_PREFIX: t, PUBLIC_IS_SUB_PUBLICATION: s, SUB_PUBLICATION_PREFIX_IN_ROUTES: a } = _(), { block_subPublication: r } = e, i = xo(e.href), o = e.hasOwnProperty("href") && e.href ? (e.href ?? "").includes("/buscar") : !1, c = a?.tema && i, d = a?.buscar && o, l = !r && !c && !d && t !== "false" && s !== "false" ? "/" + t : "", u = /^(https?:)?\/\//.test(e.href) || /^[a-zA-Z][a-zA-Z\d+\-.]*:/.test(e.href), m = e.href?.split("/")[1] === l.replace("/", ""), f = {
5471
5475
  ...e,
5472
- href: (!d && !m ? l : "") + (l && e.href === "/" ? "" : e.href ?? "")
5476
+ href: (!u && !m ? l : "") + (l && e.href === "/" ? "" : e.href ?? "")
5473
5477
  };
5474
- return d ? /* @__PURE__ */ n(
5478
+ return u ? /* @__PURE__ */ n(
5475
5479
  "a",
5476
5480
  {
5477
5481
  target: f.target ?? "_blank",
@@ -5482,8 +5486,8 @@ function O(e) {
5482
5486
  ) : /* @__PURE__ */ n("a", { ...f, children: e.children });
5483
5487
  }
5484
5488
  const xo = (e) => !!/([t][0-9]{4})\w+/.exec(e || ""), oe = (e) => {
5485
- const { PUBLIC_ASSETS_URL: t } = _();
5486
- return (t && t !== "false" ? t : "") + "/versions/images" + e;
5489
+ const { PUBLIC_ASSETS_URL: t, PUBLIC_ENV: s, PUBLIC_SERVICE_PREFIX: a, PUBLIC_IS_SUB_PUBLICATION: r } = _(), i = a && a !== "false" ? a : "", c = r && r !== "false" && i && s === "local" ? `/${i}` : "", d = t;
5490
+ return (d && d !== "false" ? d : "") + c + "/versions/images" + e;
5487
5491
  }, Ns = (e) => {
5488
5492
  const { PUBLIC_ENV: t } = _(), s = oe("/whatsapp-black.svg");
5489
5493
  return t !== "" && !e.forceSVG ? /* @__PURE__ */ n("img", { fetchPriority: "low", loading: "lazy", src: s, alt: "", ...e }) : /* @__PURE__ */ n(
@@ -5644,7 +5648,7 @@ const Qe = (e) => {
5644
5648
  paths: i,
5645
5649
  newsDescriptionSectionTag: o = "h3",
5646
5650
  speculationPrerenderClass: c
5647
- } = e, { SHOW_TAG_BY_SECTION: u, SUB_PUBLICATION_PREFIX_IN_ROUTES: l } = _(), d = () => {
5651
+ } = e, { SHOW_TAG_BY_SECTION: d, SUB_PUBLICATION_PREFIX_IN_ROUTES: l } = _(), u = () => {
5648
5652
  if (e?.config?.showtime && e.config?.showauthor)
5649
5653
  return `${e?.authors[0]?.fullname ?? "Redacción"} - ${Ue(
5650
5654
  e.info?.date?.modified
@@ -5670,7 +5674,7 @@ const Qe = (e) => {
5670
5674
  }
5671
5675
  );
5672
5676
  }, f = () => e.main.uppertitle ? /* @__PURE__ */ n("p", { className: "sass-com-nd-uppertitle", title: e.main.uppertitle, children: e.main.uppertitle }) : null, A = () => {
5673
- if (u && a?.tags?.length && a.tags.length > 0) {
5677
+ if (d && a?.tags?.length && a.tags.length > 0) {
5674
5678
  const h = a.tags[0], g = h.name;
5675
5679
  return le.createElement(
5676
5680
  o,
@@ -5745,12 +5749,12 @@ const Qe = (e) => {
5745
5749
  O,
5746
5750
  {
5747
5751
  block_subPublication: l?.autor,
5748
- "aria-label": d(),
5752
+ "aria-label": u(),
5749
5753
  className: "sass-com-nd-correspondentLink",
5750
5754
  href: `/${e?.paths?.autor}/${e?.authors[0]?.name}`,
5751
- children: d()
5755
+ children: u()
5752
5756
  }
5753
- ) }) : /* @__PURE__ */ n("h3", { className: "sass-com-nd-correspondent", children: d() }) })
5757
+ ) }) : /* @__PURE__ */ n("h3", { className: "sass-com-nd-correspondent", children: u() }) })
5754
5758
  ] });
5755
5759
  }, ma = (e) => /* @__PURE__ */ p(
5756
5760
  "svg",
@@ -5876,14 +5880,14 @@ const Po = (e) => {
5876
5880
  isVideo: s = !1,
5877
5881
  hasShadow: a = !1,
5878
5882
  priorityHigh: r = !1
5879
- } = e, i = fa(), [o, c] = $(void 0), u = t?.sizes;
5883
+ } = e, i = fa(), [o, c] = $(void 0), d = t?.sizes;
5880
5884
  return Te(() => {
5881
5885
  (async () => {
5882
- u?.[0]?.url ? c(
5883
- `/api/image-proxy?url=${encodeURIComponent(u[0].url)}`
5884
- ) : c(u?.[0]?.url);
5886
+ d?.[0]?.url ? c(
5887
+ `/api/image-proxy?url=${encodeURIComponent(d[0].url)}`
5888
+ ) : c(d?.[0]?.url);
5885
5889
  })();
5886
- }, [u, t, e.cookies]), u && o && o !== "invalidURL" ? /* @__PURE__ */ n("figure", { className: "sass-com-img-figure", children: /* @__PURE__ */ p("span", { className: "sass-com-img-backdrop", children: [
5890
+ }, [d, t, e.cookies]), d && o && o !== "invalidURL" ? /* @__PURE__ */ n("figure", { className: "sass-com-img-figure", children: /* @__PURE__ */ p("span", { className: "sass-com-img-backdrop", children: [
5887
5891
  /* @__PURE__ */ n("span", { className: "sass-com-img-backdropAux" }),
5888
5892
  /* @__PURE__ */ p("picture", { children: [
5889
5893
  /* @__PURE__ */ n(
@@ -7152,10 +7156,10 @@ const Po = (e) => {
7152
7156
  "path",
7153
7157
  {
7154
7158
  fill: "currentColor",
7155
- d: `M25.7,9.4h-9.1v2.4h9.1c-0.1,0,0.1,0,0.1-0.1V9.5C25.9,9.4,25.9,9.4,25.7,9.4L25.7,9.4z M8.4,9.6\r
7156
- c-3,0-5.6,2.5-5.6,5.6c0,3,2.5,5.4,5.7,5.4s5.4-2.4,5.4-5.4c0-0.4,0-0.7-0.1-1.1H8.5v2.1h3c-0.3,1.3-1.5,2.1-3,2.1\r
7157
- c-1.9-0.1-3.4-1.7-3.2-3.4c0-1.9,1.5-3.2,3.2-3.2c0.8,0,1.5,0.3,2.1,0.9l1.5-1.5C11,10.2,9.7,9.6,8.4,9.6L8.4,9.6z M27,13.7H16.5\r
7158
- v2.4H27c0,0,0.1,0,0.1-0.1v-2.1C27.2,13.7,27.2,13.7,27,13.7L27,13.7z M25.7,18.2h-9.1v2.4h9.1c-0.1,0,0.1-0.1,0.1-0.1v-2.1\r
7159
+ d: `M25.7,9.4h-9.1v2.4h9.1c-0.1,0,0.1,0,0.1-0.1V9.5C25.9,9.4,25.9,9.4,25.7,9.4L25.7,9.4z M8.4,9.6
7160
+ c-3,0-5.6,2.5-5.6,5.6c0,3,2.5,5.4,5.7,5.4s5.4-2.4,5.4-5.4c0-0.4,0-0.7-0.1-1.1H8.5v2.1h3c-0.3,1.3-1.5,2.1-3,2.1
7161
+ c-1.9-0.1-3.4-1.7-3.2-3.4c0-1.9,1.5-3.2,3.2-3.2c0.8,0,1.5,0.3,2.1,0.9l1.5-1.5C11,10.2,9.7,9.6,8.4,9.6L8.4,9.6z M27,13.7H16.5
7162
+ v2.4H27c0,0,0.1,0,0.1-0.1v-2.1C27.2,13.7,27.2,13.7,27,13.7L27,13.7z M25.7,18.2h-9.1v2.4h9.1c-0.1,0,0.1-0.1,0.1-0.1v-2.1
7159
7163
  C25.9,18.2,25.9,18.2,25.7,18.2L25.7,18.2z`
7160
7164
  }
7161
7165
  ) })
@@ -7247,13 +7251,13 @@ const Po = (e) => {
7247
7251
  "path",
7248
7252
  {
7249
7253
  fill: "currentColor",
7250
- d: `M12.6,24.9c-1.1,0-2.1-0.3-3.1-0.8c-1.7-0.9-2.8-2.5-3.2-4.3c-0.7-3.3,1.4-6.7,4.7-7.4\r
7251
- c0.8-0.2,1.5-0.2,2.2-0.1c0.1,0,0.1,0,0.2,0l0.5,0.1l0.1,0.5v3.8l-0.8-0.2c-0.1,0-0.2,0-0.3-0.1c-1.2-0.2-2.3,0.6-2.5,1.8\r
7252
- c-0.2,1.2,0.6,2.3,1.8,2.5c0.6,0.1,1.2,0,1.7-0.4c0.5-0.4,0.8-1,0.8-1.6c0-0.7,0-1.3,0-2l0-0.7l0-10.8h4.1L19,5.9\r
7253
- c0,0.2,0,0.4,0.1,0.6c0.4,1.8,2,3.2,3.9,3.3c0.5,0,0.8,0.3,0.8,0.8c0,0.6,0,1.3,0,1.9v1.5l-0.6,0c-1.5,0-2.9-0.4-4.1-1.1l0,5.6\r
7254
- c0,2.7-1.6,5-4,6C14.2,24.7,13.4,24.9,12.6,24.9z M12.7,13.4c-0.4,0-0.9,0.1-1.3,0.2c-2.7,0.6-4.4,3.4-3.9,6.1\r
7255
- c0.3,1.5,1.3,2.8,2.6,3.5c1.4,0.7,3,0.8,4.5,0.3c2-0.8,3.3-2.7,3.3-4.9l0-7.8l0.9,0.7c1.2,0.9,2.4,1.3,3.8,1.5v-0.3\r
7256
- c0-0.5,0-1.1,0-1.6C20.4,10.7,18.5,9,18,6.7c0-0.2-0.1-0.3-0.1-0.5H16l0,10.4c0,0.7,0,1.4,0,2.1c0,0.9-0.5,1.8-1.2,2.4\r
7254
+ d: `M12.6,24.9c-1.1,0-2.1-0.3-3.1-0.8c-1.7-0.9-2.8-2.5-3.2-4.3c-0.7-3.3,1.4-6.7,4.7-7.4
7255
+ c0.8-0.2,1.5-0.2,2.2-0.1c0.1,0,0.1,0,0.2,0l0.5,0.1l0.1,0.5v3.8l-0.8-0.2c-0.1,0-0.2,0-0.3-0.1c-1.2-0.2-2.3,0.6-2.5,1.8
7256
+ c-0.2,1.2,0.6,2.3,1.8,2.5c0.6,0.1,1.2,0,1.7-0.4c0.5-0.4,0.8-1,0.8-1.6c0-0.7,0-1.3,0-2l0-0.7l0-10.8h4.1L19,5.9
7257
+ c0,0.2,0,0.4,0.1,0.6c0.4,1.8,2,3.2,3.9,3.3c0.5,0,0.8,0.3,0.8,0.8c0,0.6,0,1.3,0,1.9v1.5l-0.6,0c-1.5,0-2.9-0.4-4.1-1.1l0,5.6
7258
+ c0,2.7-1.6,5-4,6C14.2,24.7,13.4,24.9,12.6,24.9z M12.7,13.4c-0.4,0-0.9,0.1-1.3,0.2c-2.7,0.6-4.4,3.4-3.9,6.1
7259
+ c0.3,1.5,1.3,2.8,2.6,3.5c1.4,0.7,3,0.8,4.5,0.3c2-0.8,3.3-2.7,3.3-4.9l0-7.8l0.9,0.7c1.2,0.9,2.4,1.3,3.8,1.5v-0.3
7260
+ c0-0.5,0-1.1,0-1.6C20.4,10.7,18.5,9,18,6.7c0-0.2-0.1-0.3-0.1-0.5H16l0,10.4c0,0.7,0,1.4,0,2.1c0,0.9-0.5,1.8-1.2,2.4
7257
7261
  C14,21.8,13,22,12,21.8c-1.8-0.4-3-2-2.7-3.9c0.3-1.7,1.8-2.9,3.6-2.7v-1.9C12.9,13.4,12.8,13.4,12.7,13.4z`
7258
7262
  }
7259
7263
  ) })
@@ -7279,13 +7283,13 @@ const Po = (e) => {
7279
7283
  "path",
7280
7284
  {
7281
7285
  fill: "currentColor",
7282
- d: `M21.7,8.3c-1.8-1.8-4.2-2.8-6.7-2.8c-5.2,0-9.5,4.2-9.5,9.4c0,1.7,0.4,3.3,1.3,4.7l-1.3,4.9l5-1.3\r
7283
- c1.4,0.7,2.9,1.1,4.5,1.1h0c5.2,0,9.5-4.2,9.5-9.4C24.5,12.4,23.5,10,21.7,8.3 M15,22.7L15,22.7c-1.4,0-2.8-0.4-4-1.1l-0.3-0.2\r
7284
- l-3,0.8l0.8-2.9l-0.2-0.3c-0.8-1.2-1.2-2.7-1.2-4.2c0-4.3,3.5-7.8,7.9-7.8c2.1,0,4.1,0.8,5.6,2.3c1.5,1.5,2.3,3.4,2.3,5.5\r
7285
- C22.9,19.2,19.4,22.7,15,22.7z M19.4,16.9c-0.2-0.1-1.4-0.7-1.6-0.8c-0.2-0.1-0.4-0.1-0.5,0.1c-0.2,0.2-0.6,0.8-0.7,0.9\r
7286
- c-0.1,0.2-0.3,0.2-0.5,0.1c-0.2-0.1-1-0.4-1.9-1.2c-0.7-0.6-1.2-1.4-1.3-1.6c-0.1-0.2,0-0.4,0.1-0.5c0.1-0.1,0.2-0.3,0.4-0.4\r
7287
- c0.1-0.1,0.2-0.2,0.2-0.4c0.1-0.2,0-0.3,0-0.4c-0.1-0.1-0.5-1.3-0.7-1.7c-0.2-0.5-0.4-0.4-0.5-0.4c-0.1,0-0.3,0-0.5,0\r
7288
- c-0.2,0-0.4,0.1-0.6,0.3c-0.2,0.2-0.8,0.8-0.8,2c0,1.2,0.8,2.3,1,2.4c0.1,0.2,1.7,2.5,4,3.6c0.6,0.2,1,0.4,1.3,0.5\r
7286
+ d: `M21.7,8.3c-1.8-1.8-4.2-2.8-6.7-2.8c-5.2,0-9.5,4.2-9.5,9.4c0,1.7,0.4,3.3,1.3,4.7l-1.3,4.9l5-1.3
7287
+ c1.4,0.7,2.9,1.1,4.5,1.1h0c5.2,0,9.5-4.2,9.5-9.4C24.5,12.4,23.5,10,21.7,8.3 M15,22.7L15,22.7c-1.4,0-2.8-0.4-4-1.1l-0.3-0.2
7288
+ l-3,0.8l0.8-2.9l-0.2-0.3c-0.8-1.2-1.2-2.7-1.2-4.2c0-4.3,3.5-7.8,7.9-7.8c2.1,0,4.1,0.8,5.6,2.3c1.5,1.5,2.3,3.4,2.3,5.5
7289
+ C22.9,19.2,19.4,22.7,15,22.7z M19.4,16.9c-0.2-0.1-1.4-0.7-1.6-0.8c-0.2-0.1-0.4-0.1-0.5,0.1c-0.2,0.2-0.6,0.8-0.7,0.9
7290
+ c-0.1,0.2-0.3,0.2-0.5,0.1c-0.2-0.1-1-0.4-1.9-1.2c-0.7-0.6-1.2-1.4-1.3-1.6c-0.1-0.2,0-0.4,0.1-0.5c0.1-0.1,0.2-0.3,0.4-0.4
7291
+ c0.1-0.1,0.2-0.2,0.2-0.4c0.1-0.2,0-0.3,0-0.4c-0.1-0.1-0.5-1.3-0.7-1.7c-0.2-0.5-0.4-0.4-0.5-0.4c-0.1,0-0.3,0-0.5,0
7292
+ c-0.2,0-0.4,0.1-0.6,0.3c-0.2,0.2-0.8,0.8-0.8,2c0,1.2,0.8,2.3,1,2.4c0.1,0.2,1.7,2.5,4,3.6c0.6,0.2,1,0.4,1.3,0.5
7289
7293
  c0.6,0.2,1.1,0.2,1.5,0.1c0.5-0.1,1.4-0.6,1.6-1.1c0.2-0.5,0.2-1,0.1-1.1C19.7,17.1,19.6,17,19.4,16.9`
7290
7294
  }
7291
7295
  ) }) })
@@ -7315,9 +7319,9 @@ const Po = (e) => {
7315
7319
  "path",
7316
7320
  {
7317
7321
  fill: "currentColor",
7318
- d: `M15,23.9c-0.7,0-7.3,0-9.2-0.6C4.6,23,3.7,22,3.2,20.8c-0.4-2-0.4-5.6-0.4-5.8c0-0.2,0-3.8,0.6-5.8C3.7,7.9,4.7,7,5.9,6.5c1.9-0.4,8.9-0.4,9.2-0.4c0.7,0,7.3,0,9.2,0.6C25.5,7,26.4,8,26.9,9.2c0,0,0,0,0,0.1c0.5,1.9,0.3,5.7,0.3,5.9\r
7319
- c0,0.1,0,3.8-0.4,5.7c-0.4,1.3-1.3,2.2-2.6,2.6C22.2,23.9,15.3,23.9,15,23.9z M15.1,7.6c-2,0-7.4,0.1-8.8,0.4C6,8.1,5.1,8.5,4.8,9.5c-0.5,1.8-0.5,5.4-0.5,5.4s0,3.6,0.4,5.4c0.1,0.3,0.5,1.2,1.6,1.5c1.4,0.4,6.8,0.5,8.7,0.5c2,0,7.4-0.1,8.8-0.4\r
7320
- c0.3-0.1,1.2-0.5,1.5-1.6c0.4-1.6,0.4-5.3,0.4-5.3c0-0.1,0.2-3.7-0.2-5.4c-0.1-0.4-0.5-1.3-1.6-1.6C22.5,7.7,17.1,7.6,15.1,7.6zM12.8,19.2c-0.1,0-0.3,0-0.4-0.1c-0.2-0.1-0.4-0.4-0.4-0.7v-6.9c0-0.3,0.1-0.5,0.4-0.6c0.2-0.1,0.5-0.1,0.7,0l5.9,3.4\r
7322
+ d: `M15,23.9c-0.7,0-7.3,0-9.2-0.6C4.6,23,3.7,22,3.2,20.8c-0.4-2-0.4-5.6-0.4-5.8c0-0.2,0-3.8,0.6-5.8C3.7,7.9,4.7,7,5.9,6.5c1.9-0.4,8.9-0.4,9.2-0.4c0.7,0,7.3,0,9.2,0.6C25.5,7,26.4,8,26.9,9.2c0,0,0,0,0,0.1c0.5,1.9,0.3,5.7,0.3,5.9
7323
+ c0,0.1,0,3.8-0.4,5.7c-0.4,1.3-1.3,2.2-2.6,2.6C22.2,23.9,15.3,23.9,15,23.9z M15.1,7.6c-2,0-7.4,0.1-8.8,0.4C6,8.1,5.1,8.5,4.8,9.5c-0.5,1.8-0.5,5.4-0.5,5.4s0,3.6,0.4,5.4c0.1,0.3,0.5,1.2,1.6,1.5c1.4,0.4,6.8,0.5,8.7,0.5c2,0,7.4-0.1,8.8-0.4
7324
+ c0.3-0.1,1.2-0.5,1.5-1.6c0.4-1.6,0.4-5.3,0.4-5.3c0-0.1,0.2-3.7-0.2-5.4c-0.1-0.4-0.5-1.3-1.6-1.6C22.5,7.7,17.1,7.6,15.1,7.6zM12.8,19.2c-0.1,0-0.3,0-0.4-0.1c-0.2-0.1-0.4-0.4-0.4-0.7v-6.9c0-0.3,0.1-0.5,0.4-0.6c0.2-0.1,0.5-0.1,0.7,0l5.9,3.4
7321
7325
  c0.2,0.1,0.4,0.4,0.4,0.6c0,0.3-0.1,0.5-0.4,0.7l-5.9,3.5C13.1,19.1,12.9,19.2,12.8,19.2z M13.6,12.9v4.3l3.7-2.2L13.6,12.9z`
7322
7326
  }
7323
7327
  ),
@@ -7651,12 +7655,12 @@ const hu = (e) => {
7651
7655
  ] })
7652
7656
  ] }) }) });
7653
7657
  }, pn = (e) => {
7654
- const { currentPage: t, showNext: s, maxPages: a, pathname: r, query: i, block_subPublication: o } = e, c = (u, l, d) => {
7658
+ const { currentPage: t, showNext: s, maxPages: a, pathname: r, query: i, block_subPublication: o } = e, c = (d, l, u) => {
7655
7659
  let m = "";
7656
7660
  const f = l.split("/");
7657
7661
  return f.indexOf("page") !== -1 && f.splice(m.indexOf("page") - 1, f.length - 1), f.forEach((A, h) => {
7658
7662
  h !== 0 && (m += `/${A}`);
7659
- }), u === "next" ? m += `/page/${t + 1}${d ? `?query=${d}` : ""}` : m += `/page/${t - 1}${d ? `?query=${d}` : ""}`;
7663
+ }), d === "next" ? m += `/page/${t + 1}${u ? `?query=${u}` : ""}` : m += `/page/${t - 1}${u ? `?query=${u}` : ""}`;
7660
7664
  };
7661
7665
  return (t > 1 || s && t < a) && /* @__PURE__ */ p("section", { className: "sass-com-np-content", children: [
7662
7666
  t > 1 && /* @__PURE__ */ n(
@@ -7699,9 +7703,9 @@ const hu = (e) => {
7699
7703
  share: i,
7700
7704
  isVideo: o,
7701
7705
  config: c,
7702
- overImage: u = "default",
7706
+ overImage: d = "default",
7703
7707
  isTitle: l,
7704
- priorityHigh: d = !1,
7708
+ priorityHigh: u = !1,
7705
7709
  isLarge: m,
7706
7710
  paths: f,
7707
7711
  keywords: A,
@@ -7729,7 +7733,7 @@ const hu = (e) => {
7729
7733
  preview: r,
7730
7734
  isVideo: o,
7731
7735
  isLarge: m,
7732
- priorityHigh: d
7736
+ priorityHigh: u
7733
7737
  }
7734
7738
  )
7735
7739
  }
@@ -7743,7 +7747,7 @@ const hu = (e) => {
7743
7747
  preview: r,
7744
7748
  share: i,
7745
7749
  config: c,
7746
- overImage: u,
7750
+ overImage: d,
7747
7751
  isTitle: l,
7748
7752
  paths: f,
7749
7753
  keywords: A
@@ -7759,19 +7763,19 @@ const hu = (e) => {
7759
7763
  main: a,
7760
7764
  overImage: r = "default",
7761
7765
  titleGradient: i = !1
7762
- } = e, { SHOW_TAG_BY_SECTION: o, SUB_PUBLICATION_PREFIX_IN_ROUTES: c } = _(), u = () => {
7766
+ } = e, { SHOW_TAG_BY_SECTION: o, SUB_PUBLICATION_PREFIX_IN_ROUTES: c } = _(), d = () => {
7763
7767
  if (o && e.keywords?.tags?.length && e.keywords.tags.length > 0) {
7764
- const l = e.keywords.tags[0], d = l.name;
7768
+ const l = e.keywords.tags[0], u = l.name;
7765
7769
  return l.approved ? /* @__PURE__ */ n("h3", { children: /* @__PURE__ */ n(
7766
7770
  O,
7767
7771
  {
7768
- "aria-label": d,
7772
+ "aria-label": u,
7769
7773
  block_subPublication: c?.tema,
7770
7774
  className: "sass-com-sc2-sectionDescription",
7771
7775
  href: De(l, e.paths),
7772
- children: d
7776
+ children: u
7773
7777
  }
7774
- ) }) : /* @__PURE__ */ n("div", { className: "sass-com-sc2-sectionDescription", children: d });
7778
+ ) }) : /* @__PURE__ */ n("div", { className: "sass-com-sc2-sectionDescription", children: u });
7775
7779
  } else if (e.info?.section?.url)
7776
7780
  return /* @__PURE__ */ n("h3", { children: /* @__PURE__ */ n(
7777
7781
  O,
@@ -7807,7 +7811,7 @@ const hu = (e) => {
7807
7811
  top: r !== "default" ? "-1rem" : ""
7808
7812
  },
7809
7813
  children: [
7810
- /* @__PURE__ */ n(u, {}),
7814
+ /* @__PURE__ */ n(d, {}),
7811
7815
  /* @__PURE__ */ n("h2", { className: "sass-com-sc2-articule", children: /* @__PURE__ */ n(
7812
7816
  O,
7813
7817
  {
@@ -7917,8 +7921,8 @@ const hu = (e) => {
7917
7921
  strokeLinecap: "round",
7918
7922
  strokeLinejoin: "round",
7919
7923
  strokeMiterlimit: "10",
7920
- d: `M10.2,8.3c0,1.1-0.9,2.1-2.2,2.1l0,0c-1.3,0-2.1-0.9-2.1-2.1c0-1.1,0.9-2.1,2.2-2.1C9.4,6.3,10.2,7.1,10.2,8.3z M6.1,23.7H10V11.9\r
7921
- H6.1V23.7z M19.6,11.7c-2.1,0-3.5,2-3.5,2v-1.7h-3.9v11.8H16v-6.6c0-0.3,0-0.7,0.1-0.9c0.3-0.7,0.9-1.4,2-1.4c1.4,0,2,1.1,2,2.7v6.3\r
7924
+ d: `M10.2,8.3c0,1.1-0.9,2.1-2.2,2.1l0,0c-1.3,0-2.1-0.9-2.1-2.1c0-1.1,0.9-2.1,2.2-2.1C9.4,6.3,10.2,7.1,10.2,8.3z M6.1,23.7H10V11.9
7925
+ H6.1V23.7z M19.6,11.7c-2.1,0-3.5,2-3.5,2v-1.7h-3.9v11.8H16v-6.6c0-0.3,0-0.7,0.1-0.9c0.3-0.7,0.9-1.4,2-1.4c1.4,0,2,1.1,2,2.7v6.3
7922
7926
  h3.9V17C24.1,13.3,22.2,11.7,19.6,11.7z`
7923
7927
  }
7924
7928
  )
@@ -7930,7 +7934,7 @@ const hu = (e) => {
7930
7934
  const t = e.trim();
7931
7935
  return t.startsWith("http://") || t.startsWith("https://") ? t : `https://${t}`;
7932
7936
  }, Jo = (e) => !e || e.trim() === "" ? !1 : /^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(e.trim()), bu = async (e) => {
7933
- const { autor: t, autorIcon: s, socialIconsFilled: a = !1 } = e, r = s, i = t?.info?.image?.sizes?.[0]?.url ?? "", o = t?.info?.fullname ?? "", c = t?.info?.email ?? "", u = t?.addtional?.USER_SHOWEMAIL ?? !1, l = t?.addtional?.USER_SHOWBIO ?? !1, d = t?.addtional?.USER_MIBIO ?? "", m = ht(t?.addtional?.USER_USERFB ?? ""), f = ht(t?.addtional?.USER_USERIG ?? ""), A = ht(t?.addtional?.USER_USERTWT ?? ""), h = ht(t?.addtional?.USER_USERLIN ?? ""), g = () => !u || !c || c.trim() === "" ? !1 : Jo(c), w = (v) => `mailto:${v.trim()}`;
7937
+ const { autor: t, autorIcon: s, socialIconsFilled: a = !1 } = e, r = s, i = t?.info?.image?.sizes?.[0]?.url ?? "", o = t?.info?.fullname ?? "", c = t?.info?.email ?? "", d = t?.addtional?.USER_SHOWEMAIL ?? !1, l = t?.addtional?.USER_SHOWBIO ?? !1, u = t?.addtional?.USER_MIBIO ?? "", m = ht(t?.addtional?.USER_USERFB ?? ""), f = ht(t?.addtional?.USER_USERIG ?? ""), A = ht(t?.addtional?.USER_USERTWT ?? ""), h = ht(t?.addtional?.USER_USERLIN ?? ""), g = () => !d || !c || c.trim() === "" ? !1 : Jo(c), w = (v) => `mailto:${v.trim()}`;
7934
7938
  return /* @__PURE__ */ n(
7935
7939
  "section",
7936
7940
  {
@@ -7963,7 +7967,7 @@ const hu = (e) => {
7963
7967
  children: c
7964
7968
  }
7965
7969
  ),
7966
- l && /* @__PURE__ */ n("p", { className: "sass-com-ah1-description", children: d }),
7970
+ l && /* @__PURE__ */ n("p", { className: "sass-com-ah1-description", children: u }),
7967
7971
  /* @__PURE__ */ p("div", { className: "sass-com-ah1-social", children: [
7968
7972
  m && /* @__PURE__ */ n(
7969
7973
  "a",
@@ -8010,7 +8014,7 @@ const hu = (e) => {
8010
8014
  }
8011
8015
  );
8012
8016
  }, vu = async (e) => {
8013
- const { autor: t, autorIcon: s, socialIconsFilled: a = !1 } = e, r = s, i = t?.info?.image?.sizes?.[0]?.url ?? "", o = t?.info?.fullname ?? "", c = t?.info?.email ?? "", u = t?.addtional?.USER_SHOWEMAIL ?? !1, l = t?.addtional?.USER_SHOWBIO ?? !1, d = t?.addtional?.USER_MIBIO ?? "", m = t?.addtional?.USER_USERFB ?? "", f = t?.addtional?.USER_USERIG ?? "", A = t?.addtional?.USER_USERTWT ?? "", h = t?.addtional?.USER_USERLIN ?? "";
8017
+ const { autor: t, autorIcon: s, socialIconsFilled: a = !1 } = e, r = s, i = t?.info?.image?.sizes?.[0]?.url ?? "", o = t?.info?.fullname ?? "", c = t?.info?.email ?? "", d = t?.addtional?.USER_SHOWEMAIL ?? !1, l = t?.addtional?.USER_SHOWBIO ?? !1, u = t?.addtional?.USER_MIBIO ?? "", m = t?.addtional?.USER_USERFB ?? "", f = t?.addtional?.USER_USERIG ?? "", A = t?.addtional?.USER_USERTWT ?? "", h = t?.addtional?.USER_USERLIN ?? "";
8014
8018
  return /* @__PURE__ */ n(
8015
8019
  "section",
8016
8020
  {
@@ -8035,8 +8039,8 @@ const hu = (e) => {
8035
8039
  className: "sass-com-ah2-contentAuthor su-stack-center su-md:items-start",
8036
8040
  children: [
8037
8041
  /* @__PURE__ */ n("h1", { className: "sass-com-ah2-name", children: o }),
8038
- u && /* @__PURE__ */ n("p", { className: "sass-com-ah2-email", children: c }),
8039
- l && /* @__PURE__ */ n("p", { className: "sass-com-ah2-description", children: d }),
8042
+ d && /* @__PURE__ */ n("p", { className: "sass-com-ah2-email", children: c }),
8043
+ l && /* @__PURE__ */ n("p", { className: "sass-com-ah2-description", children: u }),
8040
8044
  /* @__PURE__ */ p(
8041
8045
  "div",
8042
8046
  {
@@ -8392,15 +8396,16 @@ const hu = (e) => {
8392
8396
  copyrigth: s,
8393
8397
  sidebarExtra: a,
8394
8398
  searchKeyWord: r,
8395
- custom_styles: i = {}
8399
+ searchLink: i,
8400
+ custom_styles: o = {}
8396
8401
  }) => {
8397
- const { PUBLIC_SERVICE_PREFIX: o, PUBLIC_IS_SUB_PUBLICATION: c, SUB_PUBLICATION_PREFIX_IN_ROUTES: u } = _(), l = u?.buscar && o !== "false" && c !== "false" ? `/${o}` : "";
8402
+ const { PUBLIC_SERVICE_PREFIX: c, PUBLIC_IS_SUB_PUBLICATION: d, SUB_PUBLICATION_PREFIX_IN_ROUTES: l } = _(), u = l?.buscar && c !== "false" && d !== "false" ? `/${c}` : "";
8398
8403
  return /* @__PURE__ */ p(
8399
8404
  "aside",
8400
8405
  {
8401
8406
  className: "sass-com-sb-drawerStyled",
8402
8407
  id: "sidebar-expandable",
8403
- style: i,
8408
+ style: o,
8404
8409
  children: [
8405
8410
  /* @__PURE__ */ n("input", { type: "checkbox", id: "side-bar-state" }),
8406
8411
  /* @__PURE__ */ p("section", { className: "sass-com-sb-sidebarCustom", children: [
@@ -8408,14 +8413,14 @@ const hu = (e) => {
8408
8413
  /* @__PURE__ */ n(
8409
8414
  ec,
8410
8415
  {
8411
- action: `${l}/buscar`,
8416
+ action: `${u}${i || "/buscar"}`,
8412
8417
  placeholder: `${r}...`
8413
8418
  }
8414
8419
  ),
8415
8420
  /* @__PURE__ */ p("div", { className: "sass-com-sb-mainContent", children: [
8416
8421
  /* @__PURE__ */ p("div", { children: [
8417
8422
  a,
8418
- e.map((d, m) => /* @__PURE__ */ n(tc, { item: d, index: m }, m))
8423
+ e.map((m, f) => /* @__PURE__ */ n(tc, { item: m, index: f }, f))
8419
8424
  ] }),
8420
8425
  /* @__PURE__ */ n(sc, { socials: t, copyright: s })
8421
8426
  ] })
@@ -8810,6 +8815,7 @@ const hu = (e) => {
8810
8815
  sidebarExtra: e.sidebarExtra,
8811
8816
  searchKeyWord: e.searchKeyWord,
8812
8817
  sidebar: a,
8818
+ searchLink: e.searchLink,
8813
8819
  socials: e.socials,
8814
8820
  copyrigth: e.copyrigth,
8815
8821
  custom_styles: e.custom_styles
@@ -8831,7 +8837,7 @@ const hu = (e) => {
8831
8837
  ) : /* @__PURE__ */ n("div", { className: "sass-com-ts-chipStyled", children: s.name }, a))
8832
8838
  ] }) });
8833
8839
  }, cc = async (e) => {
8834
- const { autor: t } = e, { SUB_PUBLICATION_PREFIX_IN_ROUTES: s } = _(), a = t?.addtional?.USER_SHOWBIO ?? !1, r = t?.info?.name ?? "", i = t?.info?.fullname ?? "", o = t?.info?.image?.sizes?.[0]?.url ?? "", c = t?.addtional?.USER_MIBIO ?? "", u = t?.addtional?.USER_USERFB ?? "", l = t?.addtional?.USER_USERIG ?? "", d = t?.addtional?.USER_USERTWT ?? "", m = t?.addtional?.USER_USERLIN ?? "";
8840
+ const { autor: t } = e, { SUB_PUBLICATION_PREFIX_IN_ROUTES: s } = _(), a = t?.addtional?.USER_SHOWBIO ?? !1, r = t?.info?.name ?? "", i = t?.info?.fullname ?? "", o = t?.info?.image?.sizes?.[0]?.url ?? "", c = t?.addtional?.USER_MIBIO ?? "", d = t?.addtional?.USER_USERFB ?? "", l = t?.addtional?.USER_USERIG ?? "", u = t?.addtional?.USER_USERTWT ?? "", m = t?.addtional?.USER_USERLIN ?? "";
8835
8841
  return a && !!t && /* @__PURE__ */ n("section", { className: "sass-com-ja2-contentBox", children: /* @__PURE__ */ p("div", { className: "sass-com-ja2-content", children: [
8836
8842
  /* @__PURE__ */ p("div", { className: "sass-com-ja2-avatarContent", children: [
8837
8843
  /* @__PURE__ */ n(
@@ -8863,10 +8869,10 @@ const hu = (e) => {
8863
8869
  }
8864
8870
  ) }),
8865
8871
  /* @__PURE__ */ p("section", { className: "sass-com-ja2-socialNetworkSection", children: [
8866
- u && /* @__PURE__ */ n(
8872
+ d && /* @__PURE__ */ n(
8867
8873
  "a",
8868
8874
  {
8869
- href: u,
8875
+ href: d,
8870
8876
  target: "_blank",
8871
8877
  "aria-label": c,
8872
8878
  rel: "noreferrer",
@@ -8943,10 +8949,10 @@ const hu = (e) => {
8943
8949
  )
8944
8950
  }
8945
8951
  ),
8946
- d && /* @__PURE__ */ n(
8952
+ u && /* @__PURE__ */ n(
8947
8953
  "a",
8948
8954
  {
8949
- href: d,
8955
+ href: u,
8950
8956
  target: "_blank",
8951
8957
  "aria-label": c,
8952
8958
  rel: "noreferrer",
@@ -9162,9 +9168,9 @@ function Su(e) {
9162
9168
  config: i,
9163
9169
  keywords: o,
9164
9170
  isVideo: c,
9165
- isLarge: u,
9171
+ isLarge: d,
9166
9172
  priorityHigh: l,
9167
- share: d,
9173
+ share: u,
9168
9174
  overImage: m,
9169
9175
  isTitle: f,
9170
9176
  paths: A
@@ -9229,7 +9235,7 @@ function Su(e) {
9229
9235
  {
9230
9236
  preview: R,
9231
9237
  isVideo: c,
9232
- isLarge: u,
9238
+ isLarge: d,
9233
9239
  priorityHigh: l
9234
9240
  }
9235
9241
  )
@@ -9277,7 +9283,7 @@ function Su(e) {
9277
9283
  {
9278
9284
  preview: r,
9279
9285
  isVideo: c,
9280
- isLarge: u,
9286
+ isLarge: d,
9281
9287
  priorityHigh: l
9282
9288
  }
9283
9289
  )
@@ -9301,7 +9307,7 @@ function Su(e) {
9301
9307
  authors: s,
9302
9308
  info: a,
9303
9309
  preview: r,
9304
- share: d,
9310
+ share: u,
9305
9311
  config: i,
9306
9312
  overImage: m,
9307
9313
  isTitle: f,
@@ -9459,9 +9465,9 @@ const We = (e) => {
9459
9465
  isVideo: i,
9460
9466
  config: o,
9461
9467
  itemReverseOrder: c,
9462
- imageSize: u,
9468
+ imageSize: d,
9463
9469
  showSuper: l,
9464
- textPosition: d,
9470
+ textPosition: u,
9465
9471
  heightImageOverwrite: m,
9466
9472
  heightImageOverwriteMobile: f
9467
9473
  } = e;
@@ -9482,7 +9488,7 @@ const We = (e) => {
9482
9488
  isVideo: i,
9483
9489
  config: o,
9484
9490
  paths: e.paths,
9485
- textPosition: d,
9491
+ textPosition: u,
9486
9492
  heightImageOverwrite: m,
9487
9493
  heightImageOverwriteMobile: f,
9488
9494
  speculationPrerenderClass: e.speculationPrerenderClass
@@ -9516,7 +9522,7 @@ const We = (e) => {
9516
9522
  block: e.block,
9517
9523
  itemReverseOrder: c,
9518
9524
  priorityHigh: !0,
9519
- imageSize: u,
9525
+ imageSize: d,
9520
9526
  customNewsDescriptionStyles: e.customNewsDescriptionStyles,
9521
9527
  paths: e.paths,
9522
9528
  speculationPrerenderClass: e.speculationPrerenderClass
@@ -9684,7 +9690,7 @@ const We = (e) => {
9684
9690
  className: "su-grid sass-bd-dn-newsContent",
9685
9691
  children: [
9686
9692
  /* @__PURE__ */ n("div", { className: "banner-context", style: { order: 1 }, children: e.banner }),
9687
- Array.isArray(o) && o.map((c, u) => {
9693
+ Array.isArray(o) && o.map((c, d) => {
9688
9694
  const l = {
9689
9695
  ...c,
9690
9696
  main: {
@@ -9695,14 +9701,14 @@ const We = (e) => {
9695
9701
  }
9696
9702
  }
9697
9703
  };
9698
- return /* @__PURE__ */ n("div", { style: { order: u }, children: /* @__PURE__ */ n(
9704
+ return /* @__PURE__ */ n("div", { style: { order: d }, children: /* @__PURE__ */ n(
9699
9705
  ke,
9700
9706
  {
9701
9707
  ...l,
9702
9708
  isVideo: a,
9703
9709
  paths: e.paths
9704
9710
  }
9705
- ) }, u);
9711
+ ) }, d);
9706
9712
  })
9707
9713
  ]
9708
9714
  }
@@ -9879,7 +9885,7 @@ const Eu = (e) => {
9879
9885
  for (let o = 0; o < t.length; o++) {
9880
9886
  e.banners && e.bannerPositionIndex?.includes(o) && (a.push(
9881
9887
  /* @__PURE__ */ n("section", { className: s(r), children: e.banners?.some(
9882
- (d) => d.key === `${e.slot_id}_${i}`
9888
+ (u) => u.key === `${e.slot_id}_${i}`
9883
9889
  ) && /* @__PURE__ */ n(
9884
9890
  we,
9885
9891
  {
@@ -9895,13 +9901,13 @@ const Eu = (e) => {
9895
9901
  e.showVideoAuthor
9896
9902
  ) : t[o];
9897
9903
  if (!c) continue;
9898
- const u = e.slot_id && e.slot_id !== "Nota_1", l = {
9904
+ const d = e.slot_id && e.slot_id !== "Nota_1", l = {
9899
9905
  ...c,
9900
9906
  main: {
9901
9907
  ...c.main,
9902
9908
  title: {
9903
9909
  ...c.main.title,
9904
- section: u ? c.main.title.home : c.main.title.section
9910
+ section: d ? c.main.title.home : c.main.title.section
9905
9911
  }
9906
9912
  }
9907
9913
  };
@@ -10033,8 +10039,8 @@ const Eu = (e) => {
10033
10039
  ] }),
10034
10040
  /* @__PURE__ */ p("div", { className: "sass-bd-dv-newsContent", children: [
10035
10041
  /* @__PURE__ */ n("div", { className: "banner-context", style: { order: 1 }, children: e.banner }),
10036
- Array.isArray(o) && o.map((c, u) => {
10037
- const l = tt(c), d = {
10042
+ Array.isArray(o) && o.map((c, d) => {
10043
+ const l = tt(c), u = {
10038
10044
  ...l,
10039
10045
  main: {
10040
10046
  ...l.main,
@@ -10044,15 +10050,15 @@ const Eu = (e) => {
10044
10050
  }
10045
10051
  }
10046
10052
  };
10047
- return /* @__PURE__ */ n("div", { style: { order: u }, children: /* @__PURE__ */ Le(
10053
+ return /* @__PURE__ */ n("div", { style: { order: d }, children: /* @__PURE__ */ Le(
10048
10054
  ke,
10049
10055
  {
10050
- ...d,
10056
+ ...u,
10051
10057
  isVideo: a,
10052
- key: u,
10058
+ key: d,
10053
10059
  paths: e.paths
10054
10060
  }
10055
- ) }, u);
10061
+ ) }, d);
10056
10062
  })
10057
10063
  ] })
10058
10064
  ] });
@@ -10291,7 +10297,7 @@ const Eu = (e) => {
10291
10297
  ranking: i,
10292
10298
  pathname: o,
10293
10299
  texts: c = {}
10294
- } = e, u = [3, 8, 13], l = {
10300
+ } = e, d = [3, 8, 13], l = {
10295
10301
  3: 1,
10296
10302
  8: 2,
10297
10303
  13: 3
@@ -10323,8 +10329,8 @@ const Eu = (e) => {
10323
10329
  showNext: !(t.length < e.NEWS_PER_SECTION)
10324
10330
  }
10325
10331
  ),
10326
- children: Array.isArray(t) && t?.map((d, m) => /* @__PURE__ */ p(ts, { children: [
10327
- u.includes(m + 1) && /* @__PURE__ */ n(
10332
+ children: Array.isArray(t) && t?.map((u, m) => /* @__PURE__ */ p(ts, { children: [
10333
+ d.includes(m + 1) && /* @__PURE__ */ n(
10328
10334
  "div",
10329
10335
  {
10330
10336
  className: "sass-pg-sec-itemContent banner-context",
@@ -10341,7 +10347,7 @@ const Eu = (e) => {
10341
10347
  bn,
10342
10348
  {
10343
10349
  autorIcon: e.autorIcon,
10344
- item: d,
10350
+ item: u,
10345
10351
  option: r,
10346
10352
  paths: e.paths,
10347
10353
  speculationPrerenderClass: e.speculationPrerender?.length && m < e.speculationPrerender.length ? e.speculationPrerender.class : void 0
@@ -10393,8 +10399,8 @@ const Eu = (e) => {
10393
10399
  showNext: !(t.length < e.NEWS_PER_SECTION)
10394
10400
  }
10395
10401
  ),
10396
- children: Array.isArray(t) && t?.map((d, m) => /* @__PURE__ */ p(ts, { children: [
10397
- u.includes(m + 1) && /* @__PURE__ */ n("div", { className: "sass-pg-sec-itemContent", children: /* @__PURE__ */ n(
10402
+ children: Array.isArray(t) && t?.map((u, m) => /* @__PURE__ */ p(ts, { children: [
10403
+ d.includes(m + 1) && /* @__PURE__ */ n("div", { className: "sass-pg-sec-itemContent", children: /* @__PURE__ */ n(
10398
10404
  we,
10399
10405
  {
10400
10406
  banners: a ?? [],
@@ -10405,7 +10411,7 @@ const Eu = (e) => {
10405
10411
  bn,
10406
10412
  {
10407
10413
  autorIcon: e.autorIcon,
10408
- item: d,
10414
+ item: u,
10409
10415
  option: r,
10410
10416
  paths: e.paths,
10411
10417
  speculationPrerenderClass: e.speculationPrerender?.length && m < e.speculationPrerender.length ? e.speculationPrerender.class : void 0
@@ -10489,19 +10495,19 @@ const Eu = (e) => {
10489
10495
  imagesizes: a
10490
10496
  }))?.data?.data;
10491
10497
  if (!Array.isArray(i) || i.length === 0) return null;
10492
- const o = i[0], u = (Array.isArray(o?.videos) ? o.videos : []).find(
10498
+ const o = i[0], d = (Array.isArray(o?.videos) ? o.videos : []).find(
10493
10499
  (l) => l?.type === "video-embedded"
10494
10500
  );
10495
- return u?.code ? /* @__PURE__ */ p("div", { className: "sass-pg-veh-content", children: [
10501
+ return d?.code ? /* @__PURE__ */ p("div", { className: "sass-pg-veh-content", children: [
10496
10502
  /* @__PURE__ */ n(
10497
10503
  "div",
10498
10504
  {
10499
10505
  dangerouslySetInnerHTML: {
10500
- __html: typeof u.code == "string" ? u.code : ""
10506
+ __html: typeof d.code == "string" ? d.code : ""
10501
10507
  }
10502
10508
  }
10503
10509
  ),
10504
- u?.title && /* @__PURE__ */ n("p", { className: "sass-pg-veh-title", children: u.title })
10510
+ d?.title && /* @__PURE__ */ n("p", { className: "sass-pg-veh-title", children: d.title })
10505
10511
  ] }) : null;
10506
10512
  } catch {
10507
10513
  return null;
@@ -10518,20 +10524,20 @@ const Eu = (e) => {
10518
10524
  imagesizes: a
10519
10525
  }))?.data?.data;
10520
10526
  if (!Array.isArray(i) || i.length === 0) return null;
10521
- const o = i[0], u = (Array.isArray(o?.videos) ? o.videos : []).find(
10527
+ const o = i[0], d = (Array.isArray(o?.videos) ? o.videos : []).find(
10522
10528
  (l) => l?.type === "video-youtube"
10523
10529
  );
10524
- return !u?.code || typeof u.code != "string" ? null : /* @__PURE__ */ p("div", { className: "sass-pg-vyh-content", children: [
10530
+ return !d?.code || typeof d.code != "string" ? null : /* @__PURE__ */ p("div", { className: "sass-pg-vyh-content", children: [
10525
10531
  /* @__PURE__ */ n(
10526
10532
  "iframe",
10527
10533
  {
10528
10534
  className: "sass-pg-vyh-iframeStyled",
10529
- src: `https://www.youtube.com/embed/${u.code}`,
10535
+ src: `https://www.youtube.com/embed/${d.code}`,
10530
10536
  frameBorder: "0",
10531
10537
  allowFullScreen: !0
10532
10538
  }
10533
10539
  ),
10534
- u?.title && /* @__PURE__ */ n("p", { className: "sass-pg-vyh-title", children: u.title })
10540
+ d?.title && /* @__PURE__ */ n("p", { className: "sass-pg-vyh-title", children: d.title })
10535
10541
  ] });
10536
10542
  } catch {
10537
10543
  return null;
@@ -10683,10 +10689,10 @@ const Eu = (e) => {
10683
10689
  const a = /(<div[^>]*class=["'][^"']*ck-related-news[^"']*["'][^>]*>[\s\S]*?<span\b[^>]*data-src="([^"]+)"[^>]*>[\s\S]*?<\/span>[\s\S]*?<\/div>\s*<\/div>)/g, r = [...e.matchAll(a)];
10684
10690
  let i = e;
10685
10691
  for (const o of r) {
10686
- const c = o[1], u = o[2] ?? "";
10692
+ const c = o[1], d = o[2] ?? "";
10687
10693
  let l;
10688
10694
  if (s.forEach((b) => {
10689
- Array.isArray(b) && !l && (l = b.find((I) => u.replaceAll("/", "|").includes(I?.info.link.internal || "")));
10695
+ Array.isArray(b) && !l && (l = b.find((I) => d.replaceAll("/", "|").includes(I?.info.link.internal || "")));
10690
10696
  }), !l) {
10691
10697
  const b = c.replace(
10692
10698
  /class=["']([^"']*ck-related-news[^"']*)["']/,
@@ -10695,13 +10701,13 @@ const Eu = (e) => {
10695
10701
  i = i.replace(c, b);
10696
10702
  continue;
10697
10703
  }
10698
- const d = l.preview?.sizes?.[0], m = d ? await ue(d.url) : "", f = l.info.section?.url ?? "#", A = l.info.section?.name ?? "Sección", h = l.info.link?.url ?? "#", g = l.main?.title.article ?? "Título", w = (await Promise.all(
10704
+ const u = l.preview?.sizes?.[0], m = u ? await ue(u.url) : "", f = l.info.section?.url ?? "#", A = l.info.section?.name ?? "Sección", h = l.info.link?.url ?? "#", g = l.main?.title.article ?? "Título", w = (await Promise.all(
10699
10705
  l.preview?.sizes?.map(async (b) => {
10700
10706
  const I = await ue(b.url);
10701
10707
  return b.width < 200 ? `<source srcset="${I}" media="(width < 750px)"/>` : `<source srcset="${I}" media="(width >= 750px)"/>`;
10702
10708
  }) || []
10703
10709
  )).reduce((b, I) => b += I, ""), v = c.match(/<span\b[^>]*data-src="[^"]+"[^>]*>[\s\S]*?<\/span>/), E = v ? v[0] : "", N = `
10704
- <span data-src="${u}">
10710
+ <span data-src="${d}">
10705
10711
  <picture style='display: flex'>
10706
10712
  ${w}
10707
10713
  <img fetchPriority='low' loading='lazy' src="${m}" alt="${String(t.noteRelatedImageAlt ?? "")} ${g}" />
@@ -10737,18 +10743,18 @@ async function qc(e, t) {
10737
10743
  for (; (i = r.exec(e)) !== null; ) {
10738
10744
  const o = i.index, c = r.lastIndex;
10739
10745
  s += e.slice(a, o);
10740
- const u = i[0];
10746
+ const d = i[0];
10741
10747
  let l = i[1] ?? "";
10742
10748
  l && (l = Oc(l));
10743
- const d = /data-type\s*=\s*["']?video["']?/i.test(u) || /video-type\s*=\s*["']?embedded["']?/i.test(u);
10744
- let m = u;
10745
- if (d && l)
10749
+ const u = /data-type\s*=\s*["']?video["']?/i.test(d) || /video-type\s*=\s*["']?embedded["']?/i.test(d);
10750
+ let m = d;
10751
+ if (u && l)
10746
10752
  try {
10747
10753
  const f = await t.iframe({ path: l }), A = t.schema ? await t.schema(l) : null;
10748
10754
  if (f && f.data) {
10749
10755
  const h = f.data.data[0];
10750
10756
  let g = "";
10751
- const w = u.match(
10757
+ const w = d.match(
10752
10758
  /<span\b[^>]*class=["']video__title["'][^>]*>([\s\S]*?)<\/span>/i
10753
10759
  ), v = w && w[1] ? w[1].trim() : "";
10754
10760
  h.info && h.info.type === "video-youtube" ? g = `<iframe
@@ -10778,7 +10784,7 @@ async function qc(e, t) {
10778
10784
  `;
10779
10785
  }
10780
10786
  } catch (f) {
10781
- console.error("replaceVideoSpansWithIframes error for", l, f), m = u;
10787
+ console.error("replaceVideoSpansWithIframes error for", l, f), m = d;
10782
10788
  }
10783
10789
  a = c, s += m, r.lastIndex = c;
10784
10790
  }
@@ -10800,8 +10806,8 @@ const Dc = async ({
10800
10806
  }) => {
10801
10807
  if (!e || e.length === 0 || !e[0]) return;
10802
10808
  const o = e[0].list?.items?.map(async (c) => {
10803
- const u = Pc(c.body.rendered);
10804
- let l = Bc(u);
10809
+ const d = Pc(c.body.rendered);
10810
+ let l = Bc(d);
10805
10811
  return l = Mc(l), l = await qc(
10806
10812
  l,
10807
10813
  r
@@ -10813,8 +10819,8 @@ const Dc = async ({
10813
10819
  }
10814
10820
  };
10815
10821
  });
10816
- return /* @__PURE__ */ n("section", { className: "sass-com-bnl-content", id: "block-notes-list", children: o?.map(async (c, u) => /* @__PURE__ */ p(ts, { children: [
10817
- /* @__PURE__ */ n(kc, { id: `item-${u + 1}`, children: /* @__PURE__ */ p("div", { className: "sass-com-bnl-contentWithinCard", children: [
10822
+ return /* @__PURE__ */ n("section", { className: "sass-com-bnl-content", id: "block-notes-list", children: o?.map(async (c, d) => /* @__PURE__ */ p(ts, { children: [
10823
+ /* @__PURE__ */ n(kc, { id: `item-${d + 1}`, children: /* @__PURE__ */ p("div", { className: "sass-com-bnl-contentWithinCard", children: [
10818
10824
  (await c).date > 0 && /* @__PURE__ */ p("div", { className: "sass-com-bnl-contentDate", children: [
10819
10825
  /* @__PURE__ */ n(
10820
10826
  "span",
@@ -10860,16 +10866,16 @@ const Dc = async ({
10860
10866
  children: String(a.blockNoteList_readMore ?? "Leer Más")
10861
10867
  }
10862
10868
  ) })
10863
- ] }) }, u),
10864
- vn[u] && /* @__PURE__ */ n(
10869
+ ] }) }, d),
10870
+ vn[d] && /* @__PURE__ */ n(
10865
10871
  we,
10866
10872
  {
10867
10873
  banners: s,
10868
- name: "list_" + vn[u]
10874
+ name: "list_" + vn[d]
10869
10875
  },
10870
- u
10876
+ d
10871
10877
  )
10872
- ] }, u)) });
10878
+ ] }, d)) });
10873
10879
  }, Ta = {
10874
10880
  FaceBook: "facebook",
10875
10881
  Instagram: "instagram",
@@ -10912,7 +10918,7 @@ const Gc = () => /* @__PURE__ */ p("svg", { xmlns: "http://www.w3.org/2000/svg",
10912
10918
  ] }), jc = async (e) => {
10913
10919
  if (!e.news || !e.news.authors) return null;
10914
10920
  const { news: t, socials: s, texts: a } = e, r = t.authors.map(
10915
- (u) => u.internaluser ? `<a href="${`/${e.paths.autor}/${u.name}`}">${u.fullname}</a>` : u.fullname
10921
+ (d) => d.internaluser ? `<a href="${`/${e.paths.autor}/${d.name}`}">${d.fullname}</a>` : d.fullname
10916
10922
  ).join(", "), i = () => t.authors.length === 1 ? "sass-com-ja3-width1Autor" : t.authors.length === 2 ? "sass-com-ja3-width2Autor" : t.authors.length === 3 ? "sass-com-ja3-width3Autor" : "", { DATE_TIMEZONE: o = "America/Mexico_City", CONFIG_shareOnlyWhatsApp: c } = _();
10917
10923
  return t.config?.showauthor && /* @__PURE__ */ n("div", { className: "sass-com-ja3-content", children: /* @__PURE__ */ p("div", { className: "sass-com-ja3-avatarContent", children: [
10918
10924
  c ? /* @__PURE__ */ p(
@@ -10967,23 +10973,23 @@ const Gc = () => /* @__PURE__ */ p("svg", { xmlns: "http://www.w3.org/2000/svg",
10967
10973
  width: `${t.authors?.length > 2 ? t.authors?.length * 30 : t.authors?.length * 35}px`
10968
10974
  },
10969
10975
  children: Array.isArray(t.authors) && t.authors?.map(
10970
- async (u, l) => u.image ? /* @__PURE__ */ n(
10976
+ async (d, l) => d.image ? /* @__PURE__ */ n(
10971
10977
  "img",
10972
10978
  {
10973
10979
  fetchPriority: "low",
10974
10980
  loading: "lazy",
10975
- alt: "Imagen de perfil de " + u.fullname,
10981
+ alt: "Imagen de perfil de " + d.fullname,
10976
10982
  className: "sass-com-ja3-imageStyled sass-com-ja3-imageAutor su-object-cover su-flex-center",
10977
- src: await ue(u.image.sizes[0]?.url || "")
10983
+ src: await ue(d.image.sizes[0]?.url || "")
10978
10984
  },
10979
- u.fullname
10985
+ d.fullname
10980
10986
  ) : /* @__PURE__ */ n(
10981
10987
  "div",
10982
10988
  {
10983
10989
  className: "sass-com-ja3-contentIconStyled sass-com-ja3-imageAutor su-flex-center",
10984
10990
  children: e.autorIcon
10985
10991
  },
10986
- u.fullname
10992
+ d.fullname
10987
10993
  )
10988
10994
  )
10989
10995
  }
@@ -11035,13 +11041,13 @@ const Gc = () => /* @__PURE__ */ p("svg", { xmlns: "http://www.w3.org/2000/svg",
11035
11041
  function Vc(e) {
11036
11042
  const t = e.children, s = `${e.slot_id}-`, a = e.visibleItems, r = e.cardGap ?? 20;
11037
11043
  function i(c) {
11038
- const u = [], l = [];
11039
- let d = "", m = !0;
11044
+ const d = [], l = [];
11045
+ let u = "", m = !0;
11040
11046
  for (let f = 0; f < c; f++) {
11041
11047
  const A = `[data-index="${f}"]:checked ~ .carrousel-pagination li:nth-child(${f + 1}) {
11042
11048
  background-color:var(--carrousel-pagination-background-color)
11043
11049
  }`;
11044
- d += `
11050
+ u += `
11045
11051
  .${s}.carrousel-container {
11046
11052
  ${A}
11047
11053
  [data-index="${f}"]:checked ~ .carrousel-ssr {
@@ -11053,14 +11059,14 @@ function Vc(e) {
11053
11059
  display: flex;
11054
11060
  }
11055
11061
  }
11056
- `, f > c - (a + 1) && (d += `
11062
+ `, f > c - (a + 1) && (u += `
11057
11063
  @media (min-width:900px) {
11058
11064
  .${s}.carrousel-container {
11059
11065
  [data-index="${f}"]:checked ~ .visible-arrow.right[data-index="${f}"] {
11060
11066
  display:none!important;
11061
11067
  }
11062
11068
  }
11063
- }`), u.push(
11069
+ }`), d.push(
11064
11070
  `<input type="radio" name="${s + "card"}" ${m ? "checked" : ""} id="${s + "input-check-" + f}" data-index="${f}" />`
11065
11071
  ), l.push(`
11066
11072
  <label for="${s + "input-check-" + f}" data-index="${f}" class="visible-arrow left">
@@ -11077,17 +11083,17 @@ function Vc(e) {
11077
11083
  `), m = !1;
11078
11084
  }
11079
11085
  return `
11080
- <style>${d}</style>
11081
- ${u.join("")}
11086
+ <style>${u}</style>
11087
+ ${d.join("")}
11082
11088
  ${l.join("")}
11083
11089
  `;
11084
11090
  }
11085
11091
  const o = (c) => {
11086
- const u = [];
11092
+ const d = [];
11087
11093
  for (let l = 0; l < c; l++)
11088
- u.push("<li></li>");
11094
+ d.push("<li></li>");
11089
11095
  return `<menu class='carrousel-pagination'>
11090
- ${u.join("")}
11096
+ ${d.join("")}
11091
11097
  </menu>`;
11092
11098
  };
11093
11099
  return `
@@ -11227,7 +11233,7 @@ const Yc = async (e) => {
11227
11233
  if (!e.news || !e.news.authors) return null;
11228
11234
  const { news: t, socials: s, texts: a } = e, r = t.authors.map(
11229
11235
  (l) => l.internaluser ? `<a href="${`/${e.paths.autor}/${l.name}`}">${l.fullname}</a>` : l.fullname
11230
- ).join(", "), i = () => t.authors.length === 1 ? "sass-com-ja4-width1Autor" : t.authors.length === 2 ? "sass-com-ja4-width2Autor" : t.authors.length === 3 ? "sass-com-ja4-width3Autor" : "", { CONFIG_shareOnlyWhatsApp: o, DATE_TIMEZONE: c = "America/Mexico_City", CONFIG_commentsV2: u } = _();
11236
+ ).join(", "), i = () => t.authors.length === 1 ? "sass-com-ja4-width1Autor" : t.authors.length === 2 ? "sass-com-ja4-width2Autor" : t.authors.length === 3 ? "sass-com-ja4-width3Autor" : "", { CONFIG_shareOnlyWhatsApp: o, DATE_TIMEZONE: c = "America/Mexico_City", CONFIG_commentsV2: d } = _();
11231
11237
  return t.config?.showauthor && /* @__PURE__ */ n("div", { className: "sass-com-ja4-content sass-journalist-articule-4", children: /* @__PURE__ */ p("div", { className: "sass-com-ja4-avatarContent", children: [
11232
11238
  /* @__PURE__ */ p("div", { className: "sass-com-ja4-socialActionsRow", children: [
11233
11239
  /* @__PURE__ */ p("div", { style: { display: "flex", gap: "10px", alignItems: "center" }, children: [
@@ -11282,7 +11288,7 @@ const Yc = async (e) => {
11282
11288
  /* @__PURE__ */ n("span", { children: "Seguir en" }),
11283
11289
  /* @__PURE__ */ n(Ia, {})
11284
11290
  ] }),
11285
- e.noteShare?.customButton && (u ? /* @__PURE__ */ n("a", { href: "#comentarios", className: "sass-journalist-articule-custom-button", "aria-label": "Custom button for the journalist article" }) : /* @__PURE__ */ n("button", { type: "button", className: "sass-journalist-articule-custom-button", "data-hydrate": "CustomButton", "aria-label": "Custom button for the journalist article" }))
11291
+ e.noteShare?.customButton && (d ? /* @__PURE__ */ n("a", { href: "#comentarios", className: "sass-journalist-articule-custom-button", "aria-label": "Custom button for the journalist article" }) : /* @__PURE__ */ n("button", { type: "button", className: "sass-journalist-articule-custom-button", "data-hydrate": "CustomButton", "aria-label": "Custom button for the journalist article" }))
11286
11292
  ] }),
11287
11293
  /* @__PURE__ */ n(
11288
11294
  "div",
@@ -11306,7 +11312,7 @@ const Yc = async (e) => {
11306
11312
  width: `${t.authors?.length > 2 ? t.authors?.length * 30 : t.authors?.length * 40}px`
11307
11313
  },
11308
11314
  children: Array.isArray(t.authors) && t.authors?.map(
11309
- async (l, d) => l.image ? /* @__PURE__ */ n(
11315
+ async (l, u) => l.image ? /* @__PURE__ */ n(
11310
11316
  "img",
11311
11317
  {
11312
11318
  fetchPriority: "low",
@@ -11352,8 +11358,8 @@ const Yc = async (e) => {
11352
11358
  ), Zc = async (e) => {
11353
11359
  const { PUBLIC_IS_OFFLINE: t } = _();
11354
11360
  if (!(t === "true")) {
11355
- const l = /<img\b[^>]*\bsrc=["']([^"']+)["']/g, d = [...e.matchAll(l)], m = {};
11356
- for (const f of d) {
11361
+ const l = /<img\b[^>]*\bsrc=["']([^"']+)["']/g, u = [...e.matchAll(l)], m = {};
11362
+ for (const f of u) {
11357
11363
  const A = f[1] ?? "", h = e.includes(A) ? { url: A } : null;
11358
11364
  if (h) {
11359
11365
  const g = await ue(h.url) || "";
@@ -11372,9 +11378,9 @@ const Yc = async (e) => {
11372
11378
  o = a;
11373
11379
  const l = i.exec(a);
11374
11380
  if (!l) break;
11375
- const d = l[0], m = l[1] ?? "";
11381
+ const u = l[0], m = l[1] ?? "";
11376
11382
  r.add(m);
11377
- const f = d.match(/<img\b[^>]*\balt=["']([^"']*)["']/), A = f ? f[1] : "imagen", h = m.match(/__scale=([^&"']+)/), g = h ? decodeURIComponent(h[1]) : null;
11383
+ const f = u.match(/<img\b[^>]*\balt=["']([^"']*)["']/), A = f ? f[1] : "imagen", h = m.match(/__scale=([^&"']+)/), g = h ? decodeURIComponent(h[1]) : null;
11378
11384
  let w = 0, v = 0;
11379
11385
  if (g) {
11380
11386
  const I = g.match(/w:(\d+)/), R = g.match(/h:(\d+)/);
@@ -11402,13 +11408,13 @@ const Yc = async (e) => {
11402
11408
  isLarge: !1,
11403
11409
  priorityHigh: !1
11404
11410
  }, b = `<div data-hydrate="ImageOffline" data-props="${encodeURIComponent(JSON.stringify(N))}"><div class="_imagePlaceholder_ooa5j_98"></div></div>`;
11405
- a = a.replace(d, b), i.lastIndex = 0;
11411
+ a = a.replace(u, b), i.lastIndex = 0;
11406
11412
  }
11407
- const c = /<img\b[^>]*\bsrc=["']([^"']+)["'][^>]*>/g, u = [...a.matchAll(c)];
11408
- for (const l of u) {
11409
- const d = l[0], m = l[1] ?? "";
11413
+ const c = /<img\b[^>]*\bsrc=["']([^"']+)["'][^>]*>/g, d = [...a.matchAll(c)];
11414
+ for (const l of d) {
11415
+ const u = l[0], m = l[1] ?? "";
11410
11416
  if (r.has(m)) continue;
11411
- const f = d.match(/\balt=["']([^"']*)["']/), A = f ? f[1] : "imagen", h = m.match(/__scale=([^&"']+)/), g = h ? decodeURIComponent(h[1]) : null;
11417
+ const f = u.match(/\balt=["']([^"']*)["']/), A = f ? f[1] : "imagen", h = m.match(/__scale=([^&"']+)/), g = h ? decodeURIComponent(h[1]) : null;
11412
11418
  let w = 0, v = 0;
11413
11419
  if (g) {
11414
11420
  const I = g.match(/w:(\d+)/), R = g.match(/h:(\d+)/);
@@ -11436,7 +11442,7 @@ const Yc = async (e) => {
11436
11442
  isLarge: !1,
11437
11443
  priorityHigh: !1
11438
11444
  }, b = `<div data-hydrate="ImageOffline" data-props="${encodeURIComponent(JSON.stringify(N))}"><div class="_imagePlaceholder_ooa5j_98"></div></div>`;
11439
- a = a.replace(d, b);
11445
+ a = a.replace(u, b);
11440
11446
  }
11441
11447
  return a;
11442
11448
  }, Xc = (e) => e.replace(
@@ -11458,16 +11464,16 @@ const Yc = async (e) => {
11458
11464
  return r = r.replace(
11459
11465
  /<p\b[^>]*?>[\s\S]*?<\/p>|<(ul|ol)[^>]*?>[\s\S]*?<\/\1>/g,
11460
11466
  (c) => {
11461
- const u = c.replace(/[.*+?^${}()|[\]\\/]/g, "\\$&");
11467
+ const d = c.replace(/[.*+?^${}()|[\]\\/]/g, "\\$&");
11462
11468
  if (!new RegExp(
11463
- `<blockquote[^>]*?>(?:(?!<\\/blockquote>)[\\s\\S])*?${u}[\\s\\S]*?<\\/blockquote>`,
11469
+ `<blockquote[^>]*?>(?:(?!<\\/blockquote>)[\\s\\S])*?${d}[\\s\\S]*?<\\/blockquote>`,
11464
11470
  "gi"
11465
11471
  ).test(r)) {
11466
11472
  a++;
11467
- const d = t.find(
11473
+ const u = t.find(
11468
11474
  (m) => m.key === `block_2_${s[a]}`
11469
11475
  );
11470
- return d && d.show ? `${c}<div class="banner-context">${Xc(d.value)}</div>` : c;
11476
+ return u && u.show ? `${c}<div class="banner-context">${Xc(u.value)}</div>` : c;
11471
11477
  }
11472
11478
  return c;
11473
11479
  }
@@ -11476,13 +11482,13 @@ const Yc = async (e) => {
11476
11482
  const t = /<div class="ck-image-gallery"[^>]*?>([\s\S]*?)<\/div>/g, s = [...e.matchAll(t)];
11477
11483
  let a = "", r = 0;
11478
11484
  for (const i of s) {
11479
- const [o, c = ""] = i, u = i.index, l = u + o.length;
11480
- a += e.slice(r, u);
11485
+ const [o, c = ""] = i, d = i.index, l = d + o.length;
11486
+ a += e.slice(r, d);
11481
11487
  const m = [...c.matchAll(/data-src="([^"]+)"/g)].map(
11482
11488
  (h) => h[1]
11483
11489
  ).map(
11484
11490
  (h) => `<img fetchPriority='low' loading='lazy' alt='imagen' src="${h}" class="carrusel-note-item" width="800" height="469"/>`
11485
- ), f = "gallery_embeded" + u.toString(), A = Vc({
11491
+ ), f = "gallery_embeded" + d.toString(), A = Vc({
11486
11492
  slot_id: f,
11487
11493
  children: m,
11488
11494
  visibleItems: 1,
@@ -11496,17 +11502,17 @@ const Yc = async (e) => {
11496
11502
  const a = /<span data-src="(.*?)"><\/span>/g, r = [...e.matchAll(a)];
11497
11503
  let i = e;
11498
11504
  for (const o of r) {
11499
- const c = o[0], u = o[1] ?? "", l = s.find(
11500
- (E) => u.includes(E?.[0]?.info.link.internal || "")
11505
+ const c = o[0], d = o[1] ?? "", l = s.find(
11506
+ (E) => d.includes(E?.[0]?.info.link.internal || "")
11501
11507
  );
11502
11508
  if (!l || !l[0]) continue;
11503
- const d = l[0].preview?.sizes?.[0], m = d ? await ue(d.url) : "", f = l[0].info.section?.url ?? "#", A = l[0].info.section?.name ?? "Sección", h = l[0].info.link?.url ?? "#", g = l[0].main?.title.article ?? "Título", w = (await Promise.all(
11509
+ const u = l[0].preview?.sizes?.[0], m = u ? await ue(u.url) : "", f = l[0].info.section?.url ?? "#", A = l[0].info.section?.name ?? "Sección", h = l[0].info.link?.url ?? "#", g = l[0].main?.title.article ?? "Título", w = (await Promise.all(
11504
11510
  l[0].preview?.sizes?.map(async (E, N) => {
11505
11511
  const S = await ue(E.url);
11506
11512
  return N === 0 ? `<source srcset="${S}" media="(width >= 900px)"/>` : `<source srcset="${S}" media="(width < 900px)"/>`;
11507
11513
  })
11508
11514
  )).reduce((E, N) => E += N, ""), v = `
11509
- <span data-src="${u}">
11515
+ <span data-src="${d}">
11510
11516
  <picture style='display: flex'>
11511
11517
  ${w}
11512
11518
  <img fetchPriority='low' loading='lazy' src="${m}" alt="${String(t.noteRelatedImageAlt ?? "")} ${g}" />
@@ -11528,15 +11534,15 @@ async function nl(e, t) {
11528
11534
  for (; (i = r.exec(e)) !== null; ) {
11529
11535
  const o = i.index, c = r.lastIndex;
11530
11536
  s += e.slice(a, o);
11531
- let u = 1, l = c;
11532
- const d = e.length;
11533
- for (; l < d && u > 0; ) {
11537
+ let d = 1, l = c;
11538
+ const u = e.length;
11539
+ for (; l < u && d > 0; ) {
11534
11540
  const v = e.indexOf("<div", l), E = e.indexOf("</div>", l);
11535
11541
  if (E === -1) {
11536
- l = d;
11542
+ l = u;
11537
11543
  break;
11538
11544
  }
11539
- v !== -1 && v < E ? (u += 1, l = v + 4) : (u -= 1, l = E + 6);
11545
+ v !== -1 && v < E ? (d += 1, l = v + 4) : (d -= 1, l = E + 6);
11540
11546
  }
11541
11547
  const m = l, f = e.slice(o, m);
11542
11548
  let A = null;
@@ -11616,18 +11622,18 @@ async function al(e) {
11616
11622
  slug: i,
11617
11623
  itemList: o,
11618
11624
  socials: c,
11619
- getVideos: u,
11625
+ getVideos: d,
11620
11626
  commonServices: l
11621
11627
  } = e;
11622
- let d = t?.body?.rendered ?? "";
11623
- d = d.replace(
11628
+ let u = t?.body?.rendered ?? "";
11629
+ u = u.replace(
11624
11630
  /<script[^>]*src=["']https:\/\/platform\.twitter\.com\/widgets\.js["'][^>]*><\/script>/gi,
11625
11631
  ""
11626
- ), d = d.replace(/&nbsp;/g, ""), d = el(d, s), d = tl(d), d = await Zc(d), d = await sl(
11627
- d,
11632
+ ), u = u.replace(/&nbsp;/g, ""), u = el(u, s), u = tl(u), u = await Zc(u), u = await sl(
11633
+ u,
11628
11634
  e.texts,
11629
11635
  a
11630
- ), d = await nl(d, u), d = Kc(d), d = Jc(d);
11636
+ ), u = await nl(u, d), u = Kc(u), u = Jc(u);
11631
11637
  const m = t.main.sources ?? [], { NEWS_JOURNALIST_COMPONENT: f, CONFIG_blockDefaultTwitterHydrator: A } = _(), h = t.config.articlepreview === Me.fotoGaleria && t.hascontent?.hasgalleryimages;
11632
11638
  return /* @__PURE__ */ p(J, { children: [
11633
11639
  i !== "liveblogs" && e.showHeaderImage ? h ? /* @__PURE__ */ n(
@@ -11667,7 +11673,7 @@ async function al(e) {
11667
11673
  className: "sass-pg-nrs-contentNews",
11668
11674
  suppressHydrationWarning: !0,
11669
11675
  id: "content-news-section",
11670
- dangerouslySetInnerHTML: { __html: d }
11676
+ dangerouslySetInnerHTML: { __html: u }
11671
11677
  }
11672
11678
  ),
11673
11679
  /* @__PURE__ */ n(
@@ -11677,7 +11683,7 @@ async function al(e) {
11677
11683
  itemList: o,
11678
11684
  banners: s,
11679
11685
  slug: i,
11680
- getVideos: u,
11686
+ getVideos: d,
11681
11687
  newsRelatedListResponses: r ?? []
11682
11688
  }
11683
11689
  ),
@@ -11704,14 +11710,14 @@ const rl = (e) => {
11704
11710
  noteShare: i,
11705
11711
  paths: o,
11706
11712
  banners: c,
11707
- news: u,
11713
+ news: d,
11708
11714
  newsRelatedResponses: l = [],
11709
- newsRelatedListResponses: d = [],
11715
+ newsRelatedListResponses: u = [],
11710
11716
  itemList: m = [],
11711
11717
  socials: f,
11712
11718
  getVideos: A
11713
11719
  } = e;
11714
- if (u)
11720
+ if (d)
11715
11721
  return /* @__PURE__ */ p(J, { children: [
11716
11722
  /* @__PURE__ */ n(
11717
11723
  al,
@@ -11719,16 +11725,16 @@ const rl = (e) => {
11719
11725
  texts: t,
11720
11726
  autorIcon: s,
11721
11727
  socials: f,
11722
- news: u,
11728
+ news: d,
11723
11729
  banners: c,
11724
11730
  newsRelatedResponses: l,
11725
- newsRelatedListResponses: d,
11731
+ newsRelatedListResponses: u,
11726
11732
  itemList: m,
11727
11733
  slug: r,
11728
11734
  getVideos: A,
11729
11735
  noteShare: i,
11730
11736
  paths: o,
11731
- showHeaderImage: !rl(u),
11737
+ showHeaderImage: !rl(d),
11732
11738
  commonServices: a
11733
11739
  }
11734
11740
  ),
@@ -11743,7 +11749,7 @@ const rl = (e) => {
11743
11749
  newsRelatedResponses: i = [],
11744
11750
  newsRelatedListResponses: o = [],
11745
11751
  itemList: c = [],
11746
- socials: u,
11752
+ socials: d,
11747
11753
  getVideos: l
11748
11754
  } = e;
11749
11755
  if (!(!r || !r[0]))
@@ -11803,7 +11809,7 @@ const rl = (e) => {
11803
11809
  {
11804
11810
  texts: e.texts,
11805
11811
  autorIcon: e.autorIcon,
11806
- socials: u,
11812
+ socials: d,
11807
11813
  news: r[0],
11808
11814
  banners: s,
11809
11815
  newsRelatedResponses: i,
@@ -11933,7 +11939,7 @@ function Pu({ texts: e, API_ENV: t, termsAndConditionsUrl: s }) {
11933
11939
  { label: a.passwordRuleSymbol, test: Ee[4] }
11934
11940
  ],
11935
11941
  [a.passwordRuleMinLength, a.passwordRuleNumber, a.passwordRuleLowercase, a.passwordRuleUppercase, a.passwordRuleSymbol]
11936
- ), [o, c] = $({}), [u, l] = $(!1), [d, m] = $(!1), [f, A] = $(null), [h, g] = $(
11942
+ ), [o, c] = $({}), [d, l] = $(!1), [u, m] = $(!1), [f, A] = $(null), [h, g] = $(
11937
11943
  "register"
11938
11944
  ), w = async () => {
11939
11945
  if (t.PUBLIC_ENV === "local") {
@@ -12050,7 +12056,7 @@ function Pu({ texts: e, API_ENV: t, termsAndConditionsUrl: s }) {
12050
12056
  /* @__PURE__ */ n(
12051
12057
  "input",
12052
12058
  {
12053
- type: b.toLowerCase().includes("password") ? u ? "text" : "password" : b === "birthdate" ? "date" : b === "email" ? "email" : b === "phone_number" ? "tel" : "text",
12059
+ type: b.toLowerCase().includes("password") ? d ? "text" : "password" : b === "birthdate" ? "date" : b === "email" ? "email" : b === "phone_number" ? "tel" : "text",
12054
12060
  name: b,
12055
12061
  value: o[b] || "",
12056
12062
  onChange: (R) => v(b, R.target.value),
@@ -12078,7 +12084,7 @@ function Pu({ texts: e, API_ENV: t, termsAndConditionsUrl: s }) {
12078
12084
  {
12079
12085
  id: "showPasswordRegister",
12080
12086
  type: "checkbox",
12081
- checked: u,
12087
+ checked: d,
12082
12088
  onChange: (R) => l(R.target.checked)
12083
12089
  }
12084
12090
  ),
@@ -12100,7 +12106,7 @@ function Pu({ texts: e, API_ENV: t, termsAndConditionsUrl: s }) {
12100
12106
  " ",
12101
12107
  a.termsSuffix
12102
12108
  ] }),
12103
- /* @__PURE__ */ n("button", { type: "submit", className: "sass-pg-login-primary", disabled: d, children: d ? /* @__PURE__ */ n(nt, {}) : a.createAccountButton })
12109
+ /* @__PURE__ */ n("button", { type: "submit", className: "sass-pg-login-primary", disabled: u, children: u ? /* @__PURE__ */ n(nt, {}) : a.createAccountButton })
12104
12110
  ]
12105
12111
  }
12106
12112
  )
@@ -12127,7 +12133,7 @@ function Pu({ texts: e, API_ENV: t, termsAndConditionsUrl: s }) {
12127
12133
  )
12128
12134
  ] }),
12129
12135
  f && /* @__PURE__ */ n("p", { className: "sass-pg-login-error", children: f }),
12130
- /* @__PURE__ */ n("button", { type: "submit", className: "sass-pg-login-primary", disabled: d, children: d ? /* @__PURE__ */ n(nt, {}) : a.confirmAccountButton }),
12136
+ /* @__PURE__ */ n("button", { type: "submit", className: "sass-pg-login-primary", disabled: u, children: u ? /* @__PURE__ */ n(nt, {}) : a.confirmAccountButton }),
12131
12137
  /* @__PURE__ */ p("p", { className: "sass-pg-login-switch", children: [
12132
12138
  a.alreadyConfirmedText,
12133
12139
  /* @__PURE__ */ n("a", { className: "sass-pg-login-toRegister", href: "./login", children: a.loginButtonText })
@@ -12194,7 +12200,7 @@ function Bu({
12194
12200
  API_ENV: e,
12195
12201
  texts: t
12196
12202
  }) {
12197
- const s = { ...dl, ...t?.comentarios }, [a, r] = $("login"), [i, o] = $(""), [c, u] = $(""), [l, d] = $(""), [m, f] = $(""), [A, h] = $(""), [g, w] = $(!1), [v, E] = $(!1), [N, S] = $(null);
12203
+ const s = { ...dl, ...t?.comentarios }, [a, r] = $("login"), [i, o] = $(""), [c, d] = $(""), [l, u] = $(""), [m, f] = $(""), [A, h] = $(""), [g, w] = $(!1), [v, E] = $(!1), [N, S] = $(null);
12198
12204
  le.useEffect(() => {
12199
12205
  if (typeof window > "u") return;
12200
12206
  window.location.hash.includes("forgot") && a === "login" && r("forgot"), a === "login" && I();
@@ -12216,7 +12222,7 @@ function Bu({
12216
12222
  loading: v,
12217
12223
  error: N,
12218
12224
  setEmail: o,
12219
- setPassword: u,
12225
+ setPassword: d,
12220
12226
  setShowPassword: w,
12221
12227
  onSubmit: async (L) => {
12222
12228
  if (!v) {
@@ -12282,7 +12288,7 @@ function Bu({
12282
12288
  const se = await H.json().catch(() => ({}));
12283
12289
  throw new Error(se?.error || "Error al enviar código");
12284
12290
  }
12285
- u(""), r("changePassword");
12291
+ d(""), r("changePassword");
12286
12292
  } catch (H) {
12287
12293
  S(H?.message || "Error inesperado");
12288
12294
  } finally {
@@ -12306,7 +12312,7 @@ function Bu({
12306
12312
  showPassword: g,
12307
12313
  loading: v,
12308
12314
  error: N,
12309
- setConfirmationCode: d,
12315
+ setConfirmationCode: u,
12310
12316
  setNewPassword: f,
12311
12317
  setConfirmNewPassword: h,
12312
12318
  setShowPassword: w,
@@ -12366,13 +12372,13 @@ function ul({
12366
12372
  setEmail: i,
12367
12373
  setPassword: o,
12368
12374
  setShowPassword: c,
12369
- onSubmit: u,
12375
+ onSubmit: d,
12370
12376
  onForgot: l,
12371
- handleGoogleLogin: d,
12377
+ handleGoogleLogin: u,
12372
12378
  t: m
12373
12379
  }) {
12374
12380
  return /* @__PURE__ */ p(J, { children: [
12375
- /* @__PURE__ */ p("button", { onClick: d, className: "sass-pg-login-google", children: [
12381
+ /* @__PURE__ */ p("button", { onClick: u, className: "sass-pg-login-google", children: [
12376
12382
  /* @__PURE__ */ n(
12377
12383
  "img",
12378
12384
  {
@@ -12387,7 +12393,7 @@ function ul({
12387
12393
  /* @__PURE__ */ p(
12388
12394
  "form",
12389
12395
  {
12390
- onSubmit: u,
12396
+ onSubmit: d,
12391
12397
  className: "sass-pg-login-form",
12392
12398
  "data-error": r ? "true" : "false",
12393
12399
  children: [
@@ -12507,9 +12513,9 @@ function fl({
12507
12513
  loading: i,
12508
12514
  error: o,
12509
12515
  setConfirmationCode: c,
12510
- setNewPassword: u,
12516
+ setNewPassword: d,
12511
12517
  setConfirmNewPassword: l,
12512
- setShowPassword: d,
12518
+ setShowPassword: u,
12513
12519
  onSubmit: m,
12514
12520
  onBack: f,
12515
12521
  t: A
@@ -12544,7 +12550,7 @@ function fl({
12544
12550
  {
12545
12551
  type: r ? "text" : "password",
12546
12552
  value: s,
12547
- onChange: (g) => u(g.target.value),
12553
+ onChange: (g) => d(g.target.value),
12548
12554
  className: "sass-pg-login-input",
12549
12555
  placeholder: "",
12550
12556
  name: "password"
@@ -12577,7 +12583,7 @@ function fl({
12577
12583
  id: "showPasswordForgot",
12578
12584
  type: "checkbox",
12579
12585
  checked: r,
12580
- onChange: (g) => d(g.target.checked)
12586
+ onChange: (g) => u(g.target.checked)
12581
12587
  }
12582
12588
  ),
12583
12589
  /* @__PURE__ */ n(
@@ -12620,32 +12626,32 @@ function Ou({ containerId: e, containerId2: t }) {
12620
12626
  return Te(() => {
12621
12627
  try {
12622
12628
  let s = function() {
12623
- const d = window.twttr;
12624
- d?.widgets ? d.widgets.load(a) : l < 10 ? (l++, requestAnimationFrame(s)) : console.warn("No se pudo cargar widgets de Twitter");
12629
+ const u = window.twttr;
12630
+ u?.widgets ? u.widgets.load(a) : l < 10 ? (l++, requestAnimationFrame(s)) : console.warn("No se pudo cargar widgets de Twitter");
12625
12631
  };
12626
12632
  const a = document.getElementById(e), r = document.getElementById(t);
12627
12633
  if (!a && !r) return;
12628
12634
  const i = a?.querySelectorAll("script[src]") ?? [], o = r?.querySelectorAll("script[src]") ?? [];
12629
- [...i, ...o].forEach((d) => {
12635
+ [...i, ...o].forEach((u) => {
12630
12636
  const m = document.createElement("script");
12631
- Array.from(d.attributes).forEach((f) => {
12637
+ Array.from(u.attributes).forEach((f) => {
12632
12638
  m.setAttribute(f.name, f.value);
12633
- }), d.replaceWith(m);
12639
+ }), u.replaceWith(m);
12634
12640
  });
12635
- const u = document.querySelectorAll(
12641
+ const d = document.querySelectorAll(
12636
12642
  'script[src*="platform.twitter.com/widgets.js"]'
12637
12643
  );
12638
- if (u)
12639
- for (let d = 0; d < u.length; d++)
12640
- u[d]?.remove();
12644
+ if (d)
12645
+ for (let u = 0; u < d.length; u++)
12646
+ d[u]?.remove();
12641
12647
  let l = 0;
12642
12648
  if (document.querySelector(
12643
12649
  'script[src*="platform.twitter.com/widgets.js"]'
12644
12650
  ))
12645
12651
  s();
12646
12652
  else {
12647
- const d = document.createElement("script");
12648
- d.src = "https://platform.twitter.com/widgets.js", d.async = !0, d.onload = s, document.body.appendChild(d);
12653
+ const u = document.createElement("script");
12654
+ u.src = "https://platform.twitter.com/widgets.js", u.async = !0, u.onload = s, document.body.appendChild(u);
12649
12655
  }
12650
12656
  } catch (s) {
12651
12657
  console.warn("Error al procesar embeds de Twitter", s);
@@ -12668,7 +12674,7 @@ const qu = ({ currentNew: e }) => e && e?.hascontent?.hasembeddedtwitter && /* @
12668
12674
  }, [e?.preview?.sizes, e?.preview?.original]);
12669
12675
  if (!o.length || !o[0]?.url || o[0]?.url === "")
12670
12676
  return /* @__PURE__ */ n("div", { className: "sass-com-img-imagePlaceholder" });
12671
- const { PUBLIC_API_HOST: c = "", PUBLIC_ASSETS_URL: u } = e.API_ENV, l = o[0]?.url, d = u && u !== "false" ? u : c, m = l?.startsWith("http") || l?.includes(d) ? l : d + l;
12677
+ const { PUBLIC_API_HOST: c = "", PUBLIC_ASSETS_URL: d } = e.API_ENV, l = o[0]?.url, u = d && d !== "false" ? d : c, m = l?.startsWith("http") || l?.includes(u) ? l : u + l;
12672
12678
  return /* @__PURE__ */ n("figure", { className: "sass-com-img-figure", children: /* @__PURE__ */ p("span", { className: "sass-com-img-backdrop", children: [
12673
12679
  /* @__PURE__ */ n(
12674
12680
  "span",
@@ -12800,7 +12806,7 @@ const qu = ({ currentNew: e }) => e && e?.hascontent?.hasembeddedtwitter && /* @
12800
12806
  fetchConfig: o,
12801
12807
  paths: c
12802
12808
  }) => {
12803
- const u = i.FETCH_SIZE_MORE_NEWS ?? 6, [l, d] = $({ data: Array.from({ length: u }, () => wl) }), [m, f] = $(!1), A = ce(async () => {
12809
+ const d = i.FETCH_SIZE_MORE_NEWS ?? 6, [l, u] = $({ data: Array.from({ length: d }, () => wl) }), [m, f] = $(!1), A = ce(async () => {
12804
12810
  if (!t) return;
12805
12811
  const w = new URLSearchParams({
12806
12812
  section: e,
@@ -12822,7 +12828,7 @@ const qu = ({ currentNew: e }) => e && e?.hascontent?.hasembeddedtwitter && /* @
12822
12828
  `${w}${E}/news-list-section`,
12823
12829
  {
12824
12830
  params: {
12825
- size: u + 1,
12831
+ size: d + 1,
12826
12832
  newstype: o.newsType,
12827
12833
  section: e,
12828
12834
  imagesizes: o.imgSizes,
@@ -12845,12 +12851,12 @@ const qu = ({ currentNew: e }) => e && e?.hascontent?.hasembeddedtwitter && /* @
12845
12851
  f(!0);
12846
12852
  try {
12847
12853
  let w;
12848
- i.PUBLIC_ENV !== "prod" ? w = await A() : w = await h(), d({
12854
+ i.PUBLIC_ENV !== "prod" ? w = await A() : w = await h(), u({
12849
12855
  ...w,
12850
- data: w.data.slice(0, u)
12856
+ data: w.data.slice(0, d)
12851
12857
  });
12852
12858
  } catch (w) {
12853
- console.error("[/api/get-more-news] Error:", w.message), d(void 0);
12859
+ console.error("[/api/get-more-news] Error:", w.message), u(void 0);
12854
12860
  }
12855
12861
  }
12856
12862
  }, [
@@ -12890,9 +12896,9 @@ const qu = ({ currentNew: e }) => e && e?.hascontent?.hasembeddedtwitter && /* @
12890
12896
  children: t.map((i, o) => {
12891
12897
  const {
12892
12898
  main: c,
12893
- authors: u,
12899
+ authors: d,
12894
12900
  info: l,
12895
- preview: d,
12901
+ preview: u,
12896
12902
  isVideo: m = !1,
12897
12903
  config: f,
12898
12904
  overImage: A = "default",
@@ -12917,7 +12923,7 @@ const qu = ({ currentNew: e }) => e && e?.hascontent?.hasembeddedtwitter && /* @
12917
12923
  pl,
12918
12924
  {
12919
12925
  isVisible: e.isVisible,
12920
- preview: d,
12926
+ preview: u,
12921
12927
  rounded: e.rounded,
12922
12928
  isVideo: m,
12923
12929
  isLarge: g,
@@ -12932,9 +12938,9 @@ const qu = ({ currentNew: e }) => e && e?.hascontent?.hasembeddedtwitter && /* @
12932
12938
  {
12933
12939
  main: c,
12934
12940
  SHOW_TAG_BY_SECTION: a.SHOW_TAG_BY_SECTION,
12935
- authors: u,
12941
+ authors: d,
12936
12942
  info: l,
12937
- preview: d,
12943
+ preview: u,
12938
12944
  share: e.share,
12939
12945
  config: f,
12940
12946
  overImage: A,
@@ -12955,40 +12961,40 @@ const qu = ({ currentNew: e }) => e && e?.hascontent?.hasembeddedtwitter && /* @
12955
12961
  }, yl = (e) => {
12956
12962
  const { share: t = !1, cutSubtitle: s = !0, SHOW_TAG_BY_SECTION: a, keywords: r, info: i } = e, c = (() => {
12957
12963
  if (!e?.authors || e.authors.length === 0) return "";
12958
- const d = e.authors[0], m = Ue(e.info?.date?.modified, e.DATE_CONFIG);
12959
- return d && e?.config?.showtime && e.config?.showauthor ? `${d.fullname} - ${m}` : d && e.config?.showauthor ? d.fullname : e?.config?.showtime ? m : "";
12960
- })(), u = () => e.main.uppertitle ? /* @__PURE__ */ n("p", { className: "sass-com-nd-uppertitle", title: e.main.uppertitle, children: e.main.uppertitle }) : null;
12964
+ const u = e.authors[0], m = Ue(e.info?.date?.modified, e.DATE_CONFIG);
12965
+ return u && e?.config?.showtime && e.config?.showauthor ? `${u.fullname} - ${m}` : u && e.config?.showauthor ? u.fullname : e?.config?.showtime ? m : "";
12966
+ })(), d = () => e.main.uppertitle ? /* @__PURE__ */ n("p", { className: "sass-com-nd-uppertitle", title: e.main.uppertitle, children: e.main.uppertitle }) : null;
12961
12967
  return /* @__PURE__ */ p("div", { className: "sass-com-nd-boxInformation", children: [
12962
12968
  t && /* @__PURE__ */ n(Al, { className: "sass-com-nd-dotStyles" }),
12963
12969
  /* @__PURE__ */ n(() => {
12964
12970
  if (a && r?.tags?.length && r.tags.length > 0) {
12965
- const d = r.tags[0], m = d.name;
12971
+ const u = r.tags[0], m = u.name;
12966
12972
  return /* @__PURE__ */ p("h3", { className: "sass-com-nd-sectionDescriptionContainer", children: [
12967
- d.approved ? /* @__PURE__ */ n(
12973
+ u.approved ? /* @__PURE__ */ n(
12968
12974
  O,
12969
12975
  {
12970
12976
  "aria-label": m,
12971
12977
  block_subPublication: e.DATE_CONFIG?.SUB_PUBLICATION_PREFIX_IN_ROUTES?.tema,
12972
12978
  className: "sass-com-nd-sectionDescription",
12973
- href: De(d, e.paths),
12979
+ href: De(u, e.paths),
12974
12980
  children: m
12975
12981
  }
12976
12982
  ) : /* @__PURE__ */ n("div", { className: "sass-com-nd-sectionDescription", children: m }),
12977
- u()
12983
+ d()
12978
12984
  ] });
12979
12985
  } else if (i?.section?.url) {
12980
- const d = i.section.name;
12986
+ const u = i.section.name;
12981
12987
  return /* @__PURE__ */ p("h3", { className: "sass-com-nd-sectionDescriptionContainer", children: [
12982
12988
  /* @__PURE__ */ n(
12983
12989
  O,
12984
12990
  {
12985
- "aria-label": d,
12991
+ "aria-label": u,
12986
12992
  className: "sass-com-nd-sectionDescription",
12987
12993
  href: i.section.url,
12988
- children: d
12994
+ children: u
12989
12995
  }
12990
12996
  ),
12991
- u()
12997
+ d()
12992
12998
  ] });
12993
12999
  }
12994
13000
  return null;
@@ -13038,8 +13044,8 @@ const qu = ({ currentNew: e }) => e && e?.hascontent?.hasembeddedtwitter && /* @
13038
13044
  texts: a
13039
13045
  }) => {
13040
13046
  const r = { ...Cl, ...a?.comentarios }, i = () => {
13041
- const u = document.querySelector(".user-actions-options");
13042
- u && u.classList.toggle("show");
13047
+ const d = document.querySelector(".user-actions-options");
13048
+ d && d.classList.toggle("show");
13043
13049
  }, o = e.firstname ?? "Usuario", c = r.userGreeting.replace("{{name}}", o);
13044
13050
  return /* @__PURE__ */ n("div", { className: "comment-item", children: /* @__PURE__ */ p("div", { style: { display: "flex", gap: "14px" }, children: [
13045
13051
  e && e.picture && e.picture !== "" ? /* @__PURE__ */ n(
@@ -13099,7 +13105,7 @@ async function Mu({
13099
13105
  captchaToken: i,
13100
13106
  apiToken: o,
13101
13107
  securityToken: c,
13102
- COMMENTS_VARS: u
13108
+ COMMENTS_VARS: d
13103
13109
  }) {
13104
13110
  if (!e || !t || !s || !a || !i)
13105
13111
  throw new Error(
@@ -13107,15 +13113,15 @@ async function Mu({
13107
13113
  );
13108
13114
  if (typeof e != "string" || typeof t != "string" || typeof s != "string" || typeof a != "string" || typeof i != "string")
13109
13115
  throw new Error("Todos los parámetros deben ser strings");
13110
- if (!await xa(i, u))
13116
+ if (!await xa(i, d))
13111
13117
  throw new Error("Token de captcha inválido");
13112
13118
  if (!o)
13113
13119
  throw new Error("Falta el token de API del CMS");
13114
- const l = `${r}/system/modules/com.tfsla.diario.base/templates/hit/5.0/1/newcomments/report`, d = encodeURIComponent(a), m = new URLSearchParams({
13120
+ const l = `${r}/system/modules/com.tfsla.diario.base/templates/hit/5.0/1/newcomments/report`, u = encodeURIComponent(a), m = new URLSearchParams({
13115
13121
  publication: e,
13116
13122
  username: t ?? !1,
13117
13123
  id: s,
13118
- type: d
13124
+ type: u
13119
13125
  }), f = `${l}?${m.toString()}`;
13120
13126
  try {
13121
13127
  console.log("Reporting comment:", {
@@ -13123,7 +13129,7 @@ async function Mu({
13123
13129
  username: t,
13124
13130
  id: s,
13125
13131
  type: a,
13126
- encodedType: d,
13132
+ encodedType: u,
13127
13133
  url: f
13128
13134
  });
13129
13135
  const A = await re.get(f, {
@@ -13177,8 +13183,8 @@ function Sl(e) {
13177
13183
  }
13178
13184
  const jt = (e, t, s) => {
13179
13185
  if (!e || !e.current) return { boolean: !1, text: "" };
13180
- const a = e.current?.value || "", r = a.length > Re, { PUBLIC_ENV: i } = s, o = i === "local", c = a.trim() !== "" && (o || t !== "") && !r, u = r ? `No debes exceder el limite de ${Re} caracteres.` : "Debes completar todos los campos para comentar.";
13181
- return { boolean: c, text: u };
13186
+ const a = e.current?.value || "", r = a.length > Re, { PUBLIC_ENV: i } = s, o = i === "local", c = a.trim() !== "" && (o || t !== "") && !r, d = r ? `No debes exceder el limite de ${Re} caracteres.` : "Debes completar todos los campos para comentar.";
13187
+ return { boolean: c, text: d };
13182
13188
  }, Ra = (e) => {
13183
13189
  const t = e.cookie.split("; ").find((s) => s.startsWith("reported="));
13184
13190
  if (!t) return [];
@@ -13198,14 +13204,14 @@ var yn;
13198
13204
  function Tl() {
13199
13205
  if (yn) return ne;
13200
13206
  yn = 1;
13201
- var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, s = e ? Symbol.for("react.portal") : 60106, a = e ? Symbol.for("react.fragment") : 60107, r = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, o = 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, m = e ? Symbol.for("react.suspense") : 60113, f = e ? Symbol.for("react.suspense_list") : 60120, A = e ? Symbol.for("react.memo") : 60115, h = e ? Symbol.for("react.lazy") : 60116, g = e ? Symbol.for("react.block") : 60121, w = e ? Symbol.for("react.fundamental") : 60117, v = e ? Symbol.for("react.responder") : 60118, E = e ? Symbol.for("react.scope") : 60119;
13207
+ var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, s = e ? Symbol.for("react.portal") : 60106, a = e ? Symbol.for("react.fragment") : 60107, r = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, o = 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, m = e ? Symbol.for("react.suspense") : 60113, f = e ? Symbol.for("react.suspense_list") : 60120, A = e ? Symbol.for("react.memo") : 60115, h = e ? Symbol.for("react.lazy") : 60116, g = e ? Symbol.for("react.block") : 60121, w = e ? Symbol.for("react.fundamental") : 60117, v = e ? Symbol.for("react.responder") : 60118, E = e ? Symbol.for("react.scope") : 60119;
13202
13208
  function N(b) {
13203
13209
  if (typeof b == "object" && b !== null) {
13204
13210
  var I = b.$$typeof;
13205
13211
  switch (I) {
13206
13212
  case t:
13207
13213
  switch (b = b.type, b) {
13208
- case u:
13214
+ case d:
13209
13215
  case l:
13210
13216
  case a:
13211
13217
  case i:
@@ -13215,7 +13221,7 @@ function Tl() {
13215
13221
  default:
13216
13222
  switch (b = b && b.$$typeof, b) {
13217
13223
  case c:
13218
- case d:
13224
+ case u:
13219
13225
  case h:
13220
13226
  case A:
13221
13227
  case o:
@@ -13232,8 +13238,8 @@ function Tl() {
13232
13238
  function S(b) {
13233
13239
  return N(b) === l;
13234
13240
  }
13235
- return ne.AsyncMode = u, ne.ConcurrentMode = l, ne.ContextConsumer = c, ne.ContextProvider = o, ne.Element = t, ne.ForwardRef = d, ne.Fragment = a, ne.Lazy = h, ne.Memo = A, ne.Portal = s, ne.Profiler = i, ne.StrictMode = r, ne.Suspense = m, ne.isAsyncMode = function(b) {
13236
- return S(b) || N(b) === u;
13241
+ return ne.AsyncMode = d, ne.ConcurrentMode = l, ne.ContextConsumer = c, ne.ContextProvider = o, ne.Element = t, ne.ForwardRef = u, ne.Fragment = a, ne.Lazy = h, ne.Memo = A, ne.Portal = s, ne.Profiler = i, ne.StrictMode = r, ne.Suspense = m, ne.isAsyncMode = function(b) {
13242
+ return S(b) || N(b) === d;
13237
13243
  }, ne.isConcurrentMode = S, ne.isContextConsumer = function(b) {
13238
13244
  return N(b) === c;
13239
13245
  }, ne.isContextProvider = function(b) {
@@ -13241,7 +13247,7 @@ function Tl() {
13241
13247
  }, ne.isElement = function(b) {
13242
13248
  return typeof b == "object" && b !== null && b.$$typeof === t;
13243
13249
  }, ne.isForwardRef = function(b) {
13244
- return N(b) === d;
13250
+ return N(b) === u;
13245
13251
  }, ne.isFragment = function(b) {
13246
13252
  return N(b) === a;
13247
13253
  }, ne.isLazy = function(b) {
@@ -13257,17 +13263,17 @@ function Tl() {
13257
13263
  }, ne.isSuspense = function(b) {
13258
13264
  return N(b) === m;
13259
13265
  }, ne.isValidElementType = function(b) {
13260
- return typeof b == "string" || typeof b == "function" || b === a || b === l || b === i || b === r || b === m || b === f || typeof b == "object" && b !== null && (b.$$typeof === h || b.$$typeof === A || b.$$typeof === o || b.$$typeof === c || b.$$typeof === d || b.$$typeof === w || b.$$typeof === v || b.$$typeof === E || b.$$typeof === g);
13266
+ return typeof b == "string" || typeof b == "function" || b === a || b === l || b === i || b === r || b === m || b === f || typeof b == "object" && b !== null && (b.$$typeof === h || b.$$typeof === A || b.$$typeof === o || b.$$typeof === c || b.$$typeof === u || b.$$typeof === w || b.$$typeof === v || b.$$typeof === E || b.$$typeof === g);
13261
13267
  }, ne.typeOf = N, ne;
13262
13268
  }
13263
13269
  var ae = {};
13264
13270
  var Cn;
13265
13271
  function Il() {
13266
13272
  return Cn || (Cn = 1, process.env.NODE_ENV !== "production" && (function() {
13267
- var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, s = e ? Symbol.for("react.portal") : 60106, a = e ? Symbol.for("react.fragment") : 60107, r = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, o = 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, m = e ? Symbol.for("react.suspense") : 60113, f = e ? Symbol.for("react.suspense_list") : 60120, A = e ? Symbol.for("react.memo") : 60115, h = e ? Symbol.for("react.lazy") : 60116, g = e ? Symbol.for("react.block") : 60121, w = e ? Symbol.for("react.fundamental") : 60117, v = e ? Symbol.for("react.responder") : 60118, E = e ? Symbol.for("react.scope") : 60119;
13273
+ var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, s = e ? Symbol.for("react.portal") : 60106, a = e ? Symbol.for("react.fragment") : 60107, r = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, o = 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, m = e ? Symbol.for("react.suspense") : 60113, f = e ? Symbol.for("react.suspense_list") : 60120, A = e ? Symbol.for("react.memo") : 60115, h = e ? Symbol.for("react.lazy") : 60116, g = e ? Symbol.for("react.block") : 60121, w = e ? Symbol.for("react.fundamental") : 60117, v = e ? Symbol.for("react.responder") : 60118, E = e ? Symbol.for("react.scope") : 60119;
13268
13274
  function N(B) {
13269
13275
  return typeof B == "string" || typeof B == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
13270
- B === a || B === l || B === i || B === r || B === m || B === f || typeof B == "object" && B !== null && (B.$$typeof === h || B.$$typeof === A || B.$$typeof === o || B.$$typeof === c || B.$$typeof === d || B.$$typeof === w || B.$$typeof === v || B.$$typeof === E || B.$$typeof === g);
13276
+ B === a || B === l || B === i || B === r || B === m || B === f || typeof B == "object" && B !== null && (B.$$typeof === h || B.$$typeof === A || B.$$typeof === o || B.$$typeof === c || B.$$typeof === u || B.$$typeof === w || B.$$typeof === v || B.$$typeof === E || B.$$typeof === g);
13271
13277
  }
13272
13278
  function S(B) {
13273
13279
  if (typeof B == "object" && B !== null) {
@@ -13276,7 +13282,7 @@ function Il() {
13276
13282
  case t:
13277
13283
  var ct = B.type;
13278
13284
  switch (ct) {
13279
- case u:
13285
+ case d:
13280
13286
  case l:
13281
13287
  case a:
13282
13288
  case i:
@@ -13287,7 +13293,7 @@ function Il() {
13287
13293
  var _s = ct && ct.$$typeof;
13288
13294
  switch (_s) {
13289
13295
  case c:
13290
- case d:
13296
+ case u:
13291
13297
  case h:
13292
13298
  case A:
13293
13299
  case o:
@@ -13301,9 +13307,9 @@ function Il() {
13301
13307
  }
13302
13308
  }
13303
13309
  }
13304
- var b = u, I = l, R = c, Q = o, W = t, j = d, L = a, H = h, se = A, q = s, x = i, U = r, M = m, k = !1;
13310
+ var b = d, I = l, R = c, Q = o, W = t, j = u, L = a, H = h, se = A, q = s, x = i, U = r, M = m, k = !1;
13305
13311
  function F(B) {
13306
- return k || (k = !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(B) || S(B) === u;
13312
+ return k || (k = !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(B) || S(B) === d;
13307
13313
  }
13308
13314
  function y(B) {
13309
13315
  return S(B) === l;
@@ -13318,7 +13324,7 @@ function Il() {
13318
13324
  return typeof B == "object" && B !== null && B.$$typeof === t;
13319
13325
  }
13320
13326
  function D(B) {
13321
- return S(B) === d;
13327
+ return S(B) === u;
13322
13328
  }
13323
13329
  function V(B) {
13324
13330
  return S(B) === a;
@@ -13367,31 +13373,31 @@ function Ul() {
13367
13373
  return !1;
13368
13374
  for (var o = {}, c = 0; c < 10; c++)
13369
13375
  o["_" + String.fromCharCode(c)] = c;
13370
- var u = Object.getOwnPropertyNames(o).map(function(d) {
13371
- return o[d];
13376
+ var d = Object.getOwnPropertyNames(o).map(function(u) {
13377
+ return o[u];
13372
13378
  });
13373
- if (u.join("") !== "0123456789")
13379
+ if (d.join("") !== "0123456789")
13374
13380
  return !1;
13375
13381
  var l = {};
13376
- return "abcdefghijklmnopqrst".split("").forEach(function(d) {
13377
- l[d] = d;
13382
+ return "abcdefghijklmnopqrst".split("").forEach(function(u) {
13383
+ l[u] = u;
13378
13384
  }), Object.keys(Object.assign({}, l)).join("") === "abcdefghijklmnopqrst";
13379
13385
  } catch {
13380
13386
  return !1;
13381
13387
  }
13382
13388
  }
13383
13389
  return Wt = r() ? Object.assign : function(i, o) {
13384
- for (var c, u = a(i), l, d = 1; d < arguments.length; d++) {
13385
- c = Object(arguments[d]);
13390
+ for (var c, d = a(i), l, u = 1; u < arguments.length; u++) {
13391
+ c = Object(arguments[u]);
13386
13392
  for (var m in c)
13387
- t.call(c, m) && (u[m] = c[m]);
13393
+ t.call(c, m) && (d[m] = c[m]);
13388
13394
  if (e) {
13389
13395
  l = e(c);
13390
13396
  for (var f = 0; f < l.length; f++)
13391
- s.call(c, l[f]) && (u[l[f]] = c[l[f]]);
13397
+ s.call(c, l[f]) && (d[l[f]] = c[l[f]]);
13392
13398
  }
13393
13399
  }
13394
- return u;
13400
+ return d;
13395
13401
  }, Wt;
13396
13402
  }
13397
13403
  var Yt, En;
@@ -13422,24 +13428,24 @@ function xl() {
13422
13428
  }
13423
13429
  };
13424
13430
  }
13425
- function r(i, o, c, u, l) {
13431
+ function r(i, o, c, d, l) {
13426
13432
  if (process.env.NODE_ENV !== "production") {
13427
- for (var d in i)
13428
- if (a(i, d)) {
13433
+ for (var u in i)
13434
+ if (a(i, u)) {
13429
13435
  var m;
13430
13436
  try {
13431
- if (typeof i[d] != "function") {
13437
+ if (typeof i[u] != "function") {
13432
13438
  var f = Error(
13433
- (u || "React class") + ": " + c + " type `" + d + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof i[d] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."
13439
+ (d || "React class") + ": " + c + " type `" + u + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof i[u] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."
13434
13440
  );
13435
13441
  throw f.name = "Invariant Violation", f;
13436
13442
  }
13437
- m = i[d](o, d, u, c, null, t);
13443
+ m = i[u](o, u, d, c, null, t);
13438
13444
  } catch (h) {
13439
13445
  m = h;
13440
13446
  }
13441
13447
  if (m && !(m instanceof Error) && e(
13442
- (u || "React class") + ": type specification of " + c + " `" + d + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof m + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
13448
+ (d || "React class") + ": type specification of " + c + " `" + u + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof m + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
13443
13449
  ), m instanceof Error && !(m.message in s)) {
13444
13450
  s[m.message] = !0;
13445
13451
  var A = l ? l() : "";
@@ -13461,20 +13467,20 @@ function Rl() {
13461
13467
  var e = Rs(), t = Ul(), s = /* @__PURE__ */ ks(), a = /* @__PURE__ */ ka(), r = /* @__PURE__ */ xl(), i = function() {
13462
13468
  };
13463
13469
  process.env.NODE_ENV !== "production" && (i = function(c) {
13464
- var u = "Warning: " + c;
13465
- typeof console < "u" && console.error(u);
13470
+ var d = "Warning: " + c;
13471
+ typeof console < "u" && console.error(d);
13466
13472
  try {
13467
- throw new Error(u);
13473
+ throw new Error(d);
13468
13474
  } catch {
13469
13475
  }
13470
13476
  });
13471
13477
  function o() {
13472
13478
  return null;
13473
13479
  }
13474
- return $t = function(c, u) {
13475
- var l = typeof Symbol == "function" && Symbol.iterator, d = "@@iterator";
13480
+ return $t = function(c, d) {
13481
+ var l = typeof Symbol == "function" && Symbol.iterator, u = "@@iterator";
13476
13482
  function m(y) {
13477
- var T = y && (l && y[l] || y[d]);
13483
+ var T = y && (l && y[l] || y[u]);
13478
13484
  if (typeof T == "function")
13479
13485
  return T;
13480
13486
  }
@@ -13511,7 +13517,7 @@ function Rl() {
13511
13517
  var T = {}, P = 0;
13512
13518
  function G(V, z, Y, ee, te, K, ie) {
13513
13519
  if (ee = ee || f, K = K || Y, ie !== s) {
13514
- if (u) {
13520
+ if (d) {
13515
13521
  var B = new Error(
13516
13522
  "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"
13517
13523
  );
@@ -13785,7 +13791,7 @@ function kl() {
13785
13791
  function s() {
13786
13792
  }
13787
13793
  return s.resetWarningCache = t, Zt = function() {
13788
- function a(o, c, u, l, d, m) {
13794
+ function a(o, c, d, l, u, m) {
13789
13795
  if (m !== e) {
13790
13796
  var f = new Error(
13791
13797
  "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"
@@ -14004,19 +14010,19 @@ function Ml() {
14004
14010
  function o(h) {
14005
14011
  return e.isMemo(h) ? r : i[h.$$typeof] || t;
14006
14012
  }
14007
- var c = Object.defineProperty, u = Object.getOwnPropertyNames, l = Object.getOwnPropertySymbols, d = Object.getOwnPropertyDescriptor, m = Object.getPrototypeOf, f = Object.prototype;
14013
+ var c = Object.defineProperty, d = Object.getOwnPropertyNames, l = Object.getOwnPropertySymbols, u = Object.getOwnPropertyDescriptor, m = Object.getPrototypeOf, f = Object.prototype;
14008
14014
  function A(h, g, w) {
14009
14015
  if (typeof g != "string") {
14010
14016
  if (f) {
14011
14017
  var v = m(g);
14012
14018
  v && v !== f && A(h, v, w);
14013
14019
  }
14014
- var E = u(g);
14020
+ var E = d(g);
14015
14021
  l && (E = E.concat(l(g)));
14016
14022
  for (var N = o(h), S = o(g), b = 0; b < E.length; ++b) {
14017
14023
  var I = E[b];
14018
14024
  if (!s[I] && !(w && w[I]) && !(S && S[I]) && !(N && N[I])) {
14019
- var R = d(g, I);
14025
+ var R = u(g, I);
14020
14026
  try {
14021
14027
  c(h, I, R);
14022
14028
  } catch {
@@ -14054,12 +14060,12 @@ var Ce = {}, Ql = 0;
14054
14060
  function Hl(e, t) {
14055
14061
  return t = t || {}, function(a) {
14056
14062
  var r = a.displayName || a.name || "Component", i = /* @__PURE__ */ (function(c) {
14057
- jl(u, c);
14058
- function u(d, m) {
14063
+ jl(d, c);
14064
+ function d(u, m) {
14059
14065
  var f;
14060
- return f = c.call(this, d, m) || this, f.state = {}, f.__scriptURL = "", f;
14066
+ return f = c.call(this, u, m) || this, f.state = {}, f.__scriptURL = "", f;
14061
14067
  }
14062
- var l = u.prototype;
14068
+ var l = d.prototype;
14063
14069
  return l.asyncScriptLoaderGetScriptLoaderID = function() {
14064
14070
  return this.__scriptLoaderID || (this.__scriptLoaderID = "async-script-loader-" + Ql++), this.__scriptLoaderID;
14065
14071
  }, l.setupScriptURL = function() {
@@ -14136,10 +14142,10 @@ function Hl(e, t) {
14136
14142
  f.asyncScriptOnLoad;
14137
14143
  var A = f.forwardedRef, h = Gl(f, ["asyncScriptOnLoad", "forwardedRef"]);
14138
14144
  return m && typeof window < "u" && (h[m] = typeof window[m] < "u" ? window[m] : void 0), h.ref = A, Le(a, h);
14139
- }, u;
14140
- })(Da), o = On(function(c, u) {
14145
+ }, d;
14146
+ })(Da), o = On(function(c, d) {
14141
14147
  return Le(i, ms({}, c, {
14142
- forwardedRef: u
14148
+ forwardedRef: d
14143
14149
  }));
14144
14150
  });
14145
14151
  return o.displayName = "AsyncScriptLoader(" + r + ")", o.propTypes = {
@@ -14189,23 +14195,23 @@ const La = Hl(Fl, {
14189
14195
  CAPTCHA_KEY_V2: i,
14190
14196
  texts: o
14191
14197
  }) => {
14192
- const c = { ...zl, ...o?.comentarios }, u = { ...ls, ...c.reportReasons ?? {} }, [l, d] = $("form"), [m, f] = $(
14198
+ const c = { ...zl, ...o?.comentarios }, d = { ...ls, ...c.reportReasons ?? {} }, [l, u] = $("form"), [m, f] = $(
14193
14199
  ""
14194
14200
  ), [A, h] = $(""), [g, w] = $(""), v = [
14195
- { id: "spam", label: u.spam },
14196
- { id: "inappropriate", label: u.inappropriate },
14197
- { id: "hate", label: u.hate },
14198
- { id: "misinformation", label: u.misinformation },
14199
- { id: "terrorism", label: u.terrorism },
14200
- { id: "intellectual", label: u.intellectual },
14201
- { id: "bullying", label: u.bullying }
14201
+ { id: "spam", label: d.spam },
14202
+ { id: "inappropriate", label: d.inappropriate },
14203
+ { id: "hate", label: d.hate },
14204
+ { id: "misinformation", label: d.misinformation },
14205
+ { id: "terrorism", label: d.terrorism },
14206
+ { id: "intellectual", label: d.intellectual },
14207
+ { id: "bullying", label: d.bullying }
14202
14208
  ], E = async () => {
14203
14209
  if (!(!m || !s)) {
14204
14210
  if (Ra(document).includes(s)) {
14205
14211
  h(c.errorAlreadyReported);
14206
14212
  return;
14207
14213
  }
14208
- d("loading"), h("");
14214
+ u("loading"), h("");
14209
14215
  try {
14210
14216
  const b = await (await fetch("/api/comments-report", {
14211
14217
  method: "POST",
@@ -14222,17 +14228,17 @@ const La = Hl(Fl, {
14222
14228
  })
14223
14229
  })).json();
14224
14230
  if (b.type === "success")
14225
- El(document, s), d("success"), setTimeout(() => {
14231
+ El(document, s), u("success"), setTimeout(() => {
14226
14232
  N();
14227
14233
  }, 3e3);
14228
14234
  else
14229
14235
  throw new Error(b.message || c.errorReportComment);
14230
14236
  } catch (S) {
14231
- console.error("Error reporting comment:", S), h(S.message || c.errorReportComment), d("form");
14237
+ console.error("Error reporting comment:", S), h(S.message || c.errorReportComment), u("form");
14232
14238
  }
14233
14239
  }
14234
14240
  }, N = () => {
14235
- d("form"), f(""), h(""), t();
14241
+ u("form"), f(""), h(""), t();
14236
14242
  };
14237
14243
  return !e || !s || !r ? null : /* @__PURE__ */ n("div", { className: "sass-pg-cmt-rp-overlay", children: /* @__PURE__ */ p("div", { className: "sass-pg-cmt-rp-popup", children: [
14238
14244
  /* @__PURE__ */ n("button", { className: "close-reply-form su-flex su-absolute su-p-0 su-bg-transparent su-border-none", onClick: N, children: /* @__PURE__ */ n($e, {}) }),
@@ -14353,11 +14359,11 @@ async function Ps({
14353
14359
  lastid: i,
14354
14360
  state: o = "5,6",
14355
14361
  apiToken: c,
14356
- API_ENV: u
14362
+ API_ENV: d
14357
14363
  }) {
14358
- const { PUBLIC_ENV: l } = u;
14364
+ const { PUBLIC_ENV: l } = d;
14359
14365
  if (l === "prod") {
14360
- const d = await Kl({
14366
+ const u = await Kl({
14361
14367
  publication: e,
14362
14368
  path: t,
14363
14369
  size: s,
@@ -14366,14 +14372,14 @@ async function Ps({
14366
14372
  lastid: i,
14367
14373
  state: o,
14368
14374
  apiToken: c,
14369
- API_ENV: u
14375
+ API_ENV: d
14370
14376
  });
14371
- return xt(d[0]);
14377
+ return xt(u[0]);
14372
14378
  } else {
14373
- const d = await fetch(`/api/comments-get?publication=${e}&path=${t}&size=${s}&sizereply=${a}&lastid=${i}`);
14374
- if (!d.ok)
14375
- throw new Error(`Error al obtener comentarios: ${d.status}`);
14376
- const m = await d.json();
14379
+ const u = await fetch(`/api/comments-get?publication=${e}&path=${t}&size=${s}&sizereply=${a}&lastid=${i}`);
14380
+ if (!u.ok)
14381
+ throw new Error(`Error al obtener comentarios: ${u.status}`);
14382
+ const m = await u.json();
14377
14383
  return xt(m.data[0]);
14378
14384
  }
14379
14385
  }
@@ -14386,7 +14392,7 @@ async function Kl({
14386
14392
  lastid: i,
14387
14393
  state: o = "5,6",
14388
14394
  apiToken: c,
14389
- API_ENV: u
14395
+ API_ENV: d
14390
14396
  }) {
14391
14397
  if (!e || !t)
14392
14398
  throw new Error("Missing required parameters: publication and path");
@@ -14394,12 +14400,12 @@ async function Kl({
14394
14400
  throw new Error("Invalid input types for publication or path");
14395
14401
  if (!c)
14396
14402
  throw new Error("Missing CMS API token");
14397
- const { PUBLIC_ENV: l, PUBLIC_API_HOST: d = "dummy", PUBLIC_API_PATH: m, PUBLIC_API_PATH_VERSION: f } = u, A = parseInt(String(s), 10), h = parseInt(String(a), 10);
14403
+ const { PUBLIC_ENV: l, PUBLIC_API_HOST: u = "dummy", PUBLIC_API_PATH: m, PUBLIC_API_PATH_VERSION: f } = d, A = parseInt(String(s), 10), h = parseInt(String(a), 10);
14398
14404
  if (isNaN(A) || A <= 0)
14399
14405
  throw new Error("Invalid size parameter");
14400
14406
  if (isNaN(h) || h < 0)
14401
14407
  throw new Error("Invalid sizereply parameter");
14402
- const g = l !== "prod" ? `${d}${m}` : "", w = new URLSearchParams({
14408
+ const g = l !== "prod" ? `${u}${m}` : "", w = new URLSearchParams({
14403
14409
  publication: e,
14404
14410
  path: t,
14405
14411
  size: A.toString(),
@@ -14435,7 +14441,7 @@ const Jl = (e, t) => {
14435
14441
  (async () => {
14436
14442
  const { PUBLIC_X_SECURITY_TOKEN: c } = t;
14437
14443
  try {
14438
- const u = await Ps({
14444
+ const d = await Ps({
14439
14445
  publication: i,
14440
14446
  path: e ?? "",
14441
14447
  size: 5,
@@ -14446,7 +14452,7 @@ const Jl = (e, t) => {
14446
14452
  apiToken: c,
14447
14453
  API_ENV: t
14448
14454
  });
14449
- a(u ?? []);
14455
+ a(d ?? []);
14450
14456
  } catch {
14451
14457
  a({ comments: [], morecomment: !1 });
14452
14458
  }
@@ -14595,11 +14601,11 @@ function ed({
14595
14601
  texts: a,
14596
14602
  API_ENV: r
14597
14603
  }) {
14598
- const i = { ...Xl, ...Zl, ...a?.comentarios }, o = (d) => {
14599
- !window || !window.location || (document.cookie = `redirect_after_login_1=${window.location.pathname}; path=/; max-age=10000`, window.location.pathname = "/auth/login" + (d ? "#forgot" : ""));
14604
+ const i = { ...Xl, ...Zl, ...a?.comentarios }, o = (u) => {
14605
+ !window || !window.location || (document.cookie = `redirect_after_login_1=${window.location.pathname}; path=/; max-age=10000`, window.location.pathname = "/auth/login" + (u ? "#forgot" : ""));
14600
14606
  }, c = () => {
14601
14607
  !window || !window.location || (document.cookie = `redirect_after_login_1=${window.location.pathname}; path=/; max-age=10000`, window.location.pathname = "/auth/register");
14602
- }, { PUBLIC_ASSETS_URL: u } = r, l = (u && u !== "false" ? u : "") + "/versions/images/anonimus-img.png";
14608
+ }, { PUBLIC_ASSETS_URL: d } = r, l = (d && d !== "false" ? d : "") + "/versions/images/anonimus-img.png";
14603
14609
  return /* @__PURE__ */ n(
14604
14610
  "div",
14605
14611
  {
@@ -14607,8 +14613,8 @@ function ed({
14607
14613
  role: "dialog",
14608
14614
  "aria-modal": "true",
14609
14615
  id: "pop-overlay",
14610
- onClick: (d) => {
14611
- const m = d.target;
14616
+ onClick: (u) => {
14617
+ const m = u.target;
14612
14618
  m && m.id === "pop-overlay" && e();
14613
14619
  },
14614
14620
  children: /* @__PURE__ */ p("div", { className: "sass-pg-cmt-lp-card", children: [
@@ -14669,23 +14675,23 @@ function ed({
14669
14675
  const td = {
14670
14676
  submitCommentButton: "Enviar Comentario"
14671
14677
  }, qs = ({ onClick: e, isDisabled: t, API_ENV: s, icon: a, handleGoogleLogin: r, showAlert: i, texts: o }) => {
14672
- const c = { ...td, ...o?.comentarios }, [u, l] = le.useState(!1), [d, m] = le.useState(!1), [f, A] = le.useState(!1);
14678
+ const c = { ...td, ...o?.comentarios }, [d, l] = le.useState(!1), [u, m] = le.useState(!1), [f, A] = le.useState(!1);
14673
14679
  le.useEffect(() => {
14674
14680
  let g = null;
14675
- return u && (g = setTimeout(() => {
14681
+ return d && (g = setTimeout(() => {
14676
14682
  l(!1);
14677
14683
  }, 2400)), () => {
14678
14684
  g && clearTimeout(g);
14679
14685
  };
14680
- }, [u]), le.useEffect(() => {
14681
- if (!d || !s.CONFIG_commentsV2 || !i || !document) return;
14686
+ }, [d]), le.useEffect(() => {
14687
+ if (!u || !s.CONFIG_commentsV2 || !i || !document) return;
14682
14688
  const g = document.getElementById("comment-button");
14683
14689
  if (!g) return;
14684
14690
  const w = g.closest(".comment-form"), v = w?.querySelector('input[name="username"]'), E = w?.querySelector('textarea[name="comment"]'), N = w?.querySelector("textarea.g-recaptcha-response") ?? document.querySelector("#g-recaptcha-response");
14685
14691
  v?.value?.trim() && E?.value?.trim() && N?.value?.trim() && g.click();
14686
14692
  });
14687
14693
  const h = oe("/Success.gif");
14688
- return u ? /* @__PURE__ */ n("div", { className: "success-gif-container su-flex-center su-relative", children: /* @__PURE__ */ n("img", { className: "success-gif su-absolute", src: h }) }) : /* @__PURE__ */ p(J, { children: [
14694
+ return d ? /* @__PURE__ */ n("div", { className: "success-gif-container su-flex-center su-relative", children: /* @__PURE__ */ n("img", { className: "success-gif su-absolute", src: h }) }) : /* @__PURE__ */ p(J, { children: [
14689
14695
  f && s.CONFIG_commentsV2 && i && /* @__PURE__ */ n(ed, { API_ENV: s, icon: a, handleGoogleLogin: r, texts: o, onClose: (g) => {
14690
14696
  g && m(!0), A(!1);
14691
14697
  } }),
@@ -14694,7 +14700,7 @@ const td = {
14694
14700
  {
14695
14701
  type: "button",
14696
14702
  onClick: async (g) => {
14697
- if (!d && s.CONFIG_commentsV2 && i) {
14703
+ if (!u && s.CONFIG_commentsV2 && i) {
14698
14704
  A(!0), console.log("open popup");
14699
14705
  return;
14700
14706
  }
@@ -14735,16 +14741,16 @@ const td = {
14735
14741
  id: i,
14736
14742
  addComment: o,
14737
14743
  API_ENV: c,
14738
- anonimusUser: u
14744
+ anonimusUser: d
14739
14745
  }) => {
14740
- const l = t.current?.value || "", { PUBLIC_PUBLICATION_ID: d } = c, m = d;
14741
- if (console.log("check", r, u), !jt(t, s, c).boolean || !r && !u) {
14746
+ const l = t.current?.value || "", { PUBLIC_PUBLICATION_ID: u } = c, m = u;
14747
+ if (console.log("check", r, d), !jt(t, s, c).boolean || !r && !d) {
14742
14748
  console.log("warn");
14743
14749
  const A = a.nextElementSibling;
14744
14750
  return A && (A.style.display = "block"), !1;
14745
14751
  }
14746
- if (!r && !u) return;
14747
- const f = r ? l : "[[" + u + "]] " + l;
14752
+ if (!r && !d) return;
14753
+ const f = r ? l : "[[" + d + "]] " + l;
14748
14754
  try {
14749
14755
  const A = Date.now(), h = await fetch("/api/comments-add", {
14750
14756
  method: "POST",
@@ -14768,7 +14774,7 @@ const td = {
14768
14774
  throw new Error(
14769
14775
  `Error al enviar comentario: ${g?.message} status: ${h.status}`
14770
14776
  );
14771
- const w = Date.now(), v = Math.max(0, 2400 + Math.abs(w - A)), E = r || { username: u, firstname: u }, N = {
14777
+ const w = Date.now(), v = Math.max(0, 2400 + Math.abs(w - A)), E = r || { username: d, firstname: d }, N = {
14772
14778
  username: E.username,
14773
14779
  firstname: E.firstname,
14774
14780
  ...E.lastname && { lastname: E.lastname },
@@ -14794,7 +14800,7 @@ const td = {
14794
14800
  API_ENV: o,
14795
14801
  texts: c
14796
14802
  }) => {
14797
- const [u, l] = $(!0), [d, m] = $(""), f = () => {
14803
+ const [d, l] = $(!0), [u, m] = $(""), f = () => {
14798
14804
  t.current?.parentElement && (t.current.parentElement.dataset.text = `0/${Re}`), l(!0), i();
14799
14805
  };
14800
14806
  return /* @__PURE__ */ p("div", { className: "comment-form reply-form su-p-8 su-relative", children: [
@@ -14803,7 +14809,7 @@ const td = {
14803
14809
  Bs,
14804
14810
  {
14805
14811
  commentRef: t,
14806
- captchaToken: d,
14812
+ captchaToken: u,
14807
14813
  setIsDisabled: l,
14808
14814
  API_ENV: o,
14809
14815
  texts: c
@@ -14813,18 +14819,18 @@ const td = {
14813
14819
  Os,
14814
14820
  {
14815
14821
  commentRef: t,
14816
- captchaToken: d,
14822
+ captchaToken: u,
14817
14823
  setCaptchaToken: m,
14818
14824
  API_ENV: o,
14819
14825
  children: /* @__PURE__ */ n(
14820
14826
  qs,
14821
14827
  {
14822
14828
  onClick: async (A) => {
14823
- if (u) return;
14829
+ if (d) return;
14824
14830
  const h = await Ms({
14825
14831
  path: a,
14826
14832
  ref: t,
14827
- captchaToken: d,
14833
+ captchaToken: u,
14828
14834
  button: A.currentTarget,
14829
14835
  user: s,
14830
14836
  id: e,
@@ -14835,7 +14841,7 @@ const td = {
14835
14841
  f();
14836
14842
  }, h), !0) : !1;
14837
14843
  },
14838
- isDisabled: u,
14844
+ isDisabled: d,
14839
14845
  API_ENV: o,
14840
14846
  texts: c
14841
14847
  }
@@ -14847,11 +14853,11 @@ const td = {
14847
14853
  replyingToLabel: "Respondiendo a"
14848
14854
  }, ad = ({ reply: e, replyingTo: t, user: s, onFlag: a, DATE_CONFIG: r, texts: i }) => {
14849
14855
  const o = { ...nd, ...i?.comentarios }, c = e.text;
14850
- let u = `${Ie.firstname} ${Ie.lastname ?? ""}`, l = Ie.username;
14851
- return e.user && (u = `${e.user.firstname} ${e.user.lastname ?? ""}`, l = e.user.username), /* @__PURE__ */ n("div", { className: "comment-item reply", children: /* @__PURE__ */ p("div", { className: "comment-header-container su-flex su-relative", children: [
14856
+ let d = `${Ie.firstname} ${Ie.lastname ?? ""}`, l = Ie.username;
14857
+ return e.user && (d = `${e.user.firstname} ${e.user.lastname ?? ""}`, l = e.user.username), /* @__PURE__ */ n("div", { className: "comment-item reply", children: /* @__PURE__ */ p("div", { className: "comment-header-container su-flex su-relative", children: [
14852
14858
  /* @__PURE__ */ n(Ba, { user: e.user ? e.user : Ie }),
14853
14859
  /* @__PURE__ */ p("div", { style: { flex: 1 }, children: [
14854
- /* @__PURE__ */ n(Pa, { username: u, date: e.date.time, DATE_CONFIG: r }),
14860
+ /* @__PURE__ */ n(Pa, { username: d, date: e.date.time, DATE_CONFIG: r }),
14855
14861
  /* @__PURE__ */ p("div", { className: "comment-reply-to", children: [
14856
14862
  o.replyingToLabel,
14857
14863
  " ",
@@ -14865,17 +14871,17 @@ const td = {
14865
14871
  }, rd = {
14866
14872
  moreRepliesButton: "Más Respuestas"
14867
14873
  }, id = ({ comment: e, replyingTo: t, path: s, user: a, handleReplyingTo: r, onFlag: i, API_ENV: o, texts: c }) => {
14868
- const u = { ...rd, ...c?.comentarios }, l = { morereply: e.morereply ?? !1, reply: e.reply ? e.reply : [] }, [d, m] = $(l), [f, A] = le.useState(!1), { PUBLIC_PUBLICATION_ID: h, PUBLIC_X_SECURITY_TOKEN: g } = o, w = e.text, v = le.useRef(null);
14874
+ const d = { ...rd, ...c?.comentarios }, l = { morereply: e.morereply ?? !1, reply: e.reply ? e.reply : [] }, [u, m] = $(l), [f, A] = le.useState(!1), { PUBLIC_PUBLICATION_ID: h, PUBLIC_X_SECURITY_TOKEN: g } = o, w = e.text, v = le.useRef(null);
14869
14875
  let E = `${Ie.firstname} ${Ie.lastname ?? ""}`, N = Ie.username;
14870
14876
  e.user && (E = `${e.user.firstname} ${e.user.lastname ?? ""}`, N = e.user.username);
14871
14877
  const S = (b) => {
14872
- m({ morereply: d.morereply, reply: [b, ...d.reply] });
14878
+ m({ morereply: u.morereply, reply: [b, ...u.reply] });
14873
14879
  };
14874
14880
  return /* @__PURE__ */ n("div", { className: "comment-item", children: /* @__PURE__ */ p(
14875
14881
  "div",
14876
14882
  {
14877
14883
  className: "comment-header-container su-flex su-relative",
14878
- "data-hasreplies": d.reply.length > 0 ? "true" : "false",
14884
+ "data-hasreplies": u.reply.length > 0 ? "true" : "false",
14879
14885
  children: [
14880
14886
  /* @__PURE__ */ n(Ba, { user: e.user ? e.user : Ie }),
14881
14887
  /* @__PURE__ */ p("div", { style: { flex: 1 }, children: [
@@ -14902,8 +14908,8 @@ const td = {
14902
14908
  texts: c
14903
14909
  }
14904
14910
  ),
14905
- d.reply.length > 0 && /* @__PURE__ */ p("div", { className: "comment-replies", children: [
14906
- d.reply.map((b) => /* @__PURE__ */ n(
14911
+ u.reply.length > 0 && /* @__PURE__ */ p("div", { className: "comment-replies", children: [
14912
+ u.reply.map((b) => /* @__PURE__ */ n(
14907
14913
  ad,
14908
14914
  {
14909
14915
  user: a,
@@ -14915,12 +14921,12 @@ const td = {
14915
14921
  },
14916
14922
  b.id
14917
14923
  )),
14918
- f ? /* @__PURE__ */ n("div", { style: { marginLeft: "4rem", position: "relative" }, children: /* @__PURE__ */ n(Ls, {}) }) : d.morereply && /* @__PURE__ */ n(
14924
+ f ? /* @__PURE__ */ n("div", { style: { marginLeft: "4rem", position: "relative" }, children: /* @__PURE__ */ n(Ls, {}) }) : u.morereply && /* @__PURE__ */ n(
14919
14925
  "button",
14920
14926
  {
14921
14927
  className: "comment-replies-button reply-button su-flex-center su-rounded-full su-border-none su-relative",
14922
14928
  onClick: async () => {
14923
- const b = d.reply[d.reply.length - 1]?.id;
14929
+ const b = u.reply[u.reply.length - 1]?.id;
14924
14930
  A(!0);
14925
14931
  try {
14926
14932
  const R = await Ps({
@@ -14934,12 +14940,12 @@ const td = {
14934
14940
  apiToken: g ?? "",
14935
14941
  API_ENV: o
14936
14942
  });
14937
- A(!1), m({ morereply: R.morecomment, reply: [...d.reply, ...R.comments] });
14943
+ A(!1), m({ morereply: R.morecomment, reply: [...u.reply, ...R.comments] });
14938
14944
  } catch (I) {
14939
14945
  throw A(!1), new Error(`Error al obtener comentarios: ${I}`);
14940
14946
  }
14941
14947
  },
14942
- children: u.moreRepliesButton
14948
+ children: d.moreRepliesButton
14943
14949
  }
14944
14950
  )
14945
14951
  ] })
@@ -14955,13 +14961,13 @@ const td = {
14955
14961
  API_ENV: r,
14956
14962
  texts: i
14957
14963
  }) => {
14958
- const [o, c] = $(!0), [u, l] = $("");
14964
+ const [o, c] = $(!0), [d, l] = $("");
14959
14965
  return /* @__PURE__ */ p("div", { className: "comment-form su-p-8 su-relative", children: [
14960
14966
  /* @__PURE__ */ n(
14961
14967
  Bs,
14962
14968
  {
14963
14969
  commentRef: e,
14964
- captchaToken: u,
14970
+ captchaToken: d,
14965
14971
  setIsDisabled: c,
14966
14972
  API_ENV: r,
14967
14973
  texts: i
@@ -14972,18 +14978,18 @@ const td = {
14972
14978
  {
14973
14979
  API_ENV: r,
14974
14980
  commentRef: e,
14975
- captchaToken: u,
14981
+ captchaToken: d,
14976
14982
  setCaptchaToken: l,
14977
14983
  children: /* @__PURE__ */ n(
14978
14984
  qs,
14979
14985
  {
14980
- onClick: async (d) => {
14986
+ onClick: async (u) => {
14981
14987
  if (o) return;
14982
14988
  const m = await Ms({
14983
14989
  path: s,
14984
14990
  ref: e,
14985
- captchaToken: u,
14986
- button: d.currentTarget,
14991
+ captchaToken: d,
14992
+ button: u.currentTarget,
14987
14993
  user: t,
14988
14994
  addComment: a,
14989
14995
  API_ENV: r
@@ -15027,7 +15033,7 @@ const td = {
15027
15033
  API_ENV: o,
15028
15034
  texts: c
15029
15035
  }) => {
15030
- const [u, l] = $(!0), [d, m] = $("");
15036
+ const [d, l] = $(!0), [u, m] = $("");
15031
15037
  return /* @__PURE__ */ n(J, { children: /* @__PURE__ */ p("div", { className: "comment-form anoninus-form su-p-8 su-relative", children: [
15032
15038
  /* @__PURE__ */ n(
15033
15039
  ld,
@@ -15040,7 +15046,7 @@ const td = {
15040
15046
  Bs,
15041
15047
  {
15042
15048
  commentRef: t,
15043
- captchaToken: d,
15049
+ captchaToken: u,
15044
15050
  setIsDisabled: l,
15045
15051
  API_ENV: o,
15046
15052
  texts: c
@@ -15051,24 +15057,24 @@ const td = {
15051
15057
  {
15052
15058
  API_ENV: o,
15053
15059
  commentRef: t,
15054
- captchaToken: d,
15060
+ captchaToken: u,
15055
15061
  setCaptchaToken: m,
15056
15062
  children: /* @__PURE__ */ n(
15057
15063
  qs,
15058
15064
  {
15059
15065
  onClick: async (A) => {
15060
- if (u) {
15066
+ if (d) {
15061
15067
  console.log("error");
15062
15068
  return;
15063
15069
  }
15064
- if (!jt(t, d, o).boolean) {
15070
+ if (!jt(t, u, o).boolean) {
15065
15071
  console.log("invalidForm");
15066
15072
  return;
15067
15073
  }
15068
15074
  const h = e.current.value, g = await Ms({
15069
15075
  path: s,
15070
15076
  ref: t,
15071
- captchaToken: d,
15077
+ captchaToken: u,
15072
15078
  button: A.currentTarget,
15073
15079
  user: void 0,
15074
15080
  addComment: i,
@@ -15079,7 +15085,7 @@ const td = {
15079
15085
  t.current?.parentElement && (t.current.parentElement.dataset.text = `0/${Re}`), l(!0);
15080
15086
  }, g), !0) : !1;
15081
15087
  },
15082
- isDisabled: u,
15088
+ isDisabled: d,
15083
15089
  API_ENV: o,
15084
15090
  handleGoogleLogin: r,
15085
15091
  icon: a,
@@ -15110,7 +15116,7 @@ const td = {
15110
15116
  API_ENV: o,
15111
15117
  texts: c
15112
15118
  }) => {
15113
- const u = { ...ud, ...c?.comentarios }, { PUBLIC_PUBLICATION_ID: l, PUBLIC_X_SECURITY_TOKEN: d } = o, m = l ?? "", f = t.replaceAll("/", "|"), [A, h] = $(
15119
+ const d = { ...ud, ...c?.comentarios }, { PUBLIC_PUBLICATION_ID: l, PUBLIC_X_SECURITY_TOKEN: u } = o, m = l ?? "", f = t.replaceAll("/", "|"), [A, h] = $(
15114
15120
  void 0
15115
15121
  ), [g, w] = $(""), { comments: v, setComments: E } = Jl(f, o), [N, S] = le.useState(!1), b = le.useRef(null), I = le.useRef(null), R = (x) => {
15116
15122
  w(g === x ? "" : x);
@@ -15138,7 +15144,7 @@ const td = {
15138
15144
  id: void 0,
15139
15145
  lastid: U,
15140
15146
  state: "5,6",
15141
- apiToken: d,
15147
+ apiToken: u,
15142
15148
  API_ENV: o
15143
15149
  });
15144
15150
  E({
@@ -15148,11 +15154,11 @@ const td = {
15148
15154
  } catch (M) {
15149
15155
  throw S(!1), new Error(`Error al obtener comentarios: ${M}`);
15150
15156
  }
15151
- }, L = v?.comments && v.comments.length > 0, H = L ? u.commentHeaderMessageWithComments : u.commentHeaderMessageEmpty, se = /* @__PURE__ */ n("div", { style: { display: "flex", width: "100%", justifyContent: "center" }, children: /* @__PURE__ */ n(Ls, {}) }), q = () => {
15157
+ }, L = v?.comments && v.comments.length > 0, H = L ? d.commentHeaderMessageWithComments : d.commentHeaderMessageEmpty, se = /* @__PURE__ */ n("div", { style: { display: "flex", width: "100%", justifyContent: "center" }, children: /* @__PURE__ */ n(Ls, {}) }), q = () => {
15152
15158
  !window || !window.location || (document.cookie = `redirect_after_login_1=${window.location.pathname}; path=/; max-age=10000`, window.location.pathname = "/auth/login");
15153
15159
  };
15154
15160
  return /* @__PURE__ */ p(J, { children: [
15155
- /* @__PURE__ */ n("div", { className: "comments-container", children: /* @__PURE__ */ n(he, { title: o.CONFIG_commentsV2 || L || e ? u.commentsSectionTitle : !1, children: /* @__PURE__ */ p(J, { children: [
15161
+ /* @__PURE__ */ n("div", { className: "comments-container", children: /* @__PURE__ */ n(he, { title: o.CONFIG_commentsV2 || L || e ? d.commentsSectionTitle : !1, children: /* @__PURE__ */ p(J, { children: [
15156
15162
  /* @__PURE__ */ n("div", { className: "comments-header", children: e && s ? /* @__PURE__ */ p(J, { children: [
15157
15163
  /* @__PURE__ */ n(
15158
15164
  Nl,
@@ -15176,9 +15182,9 @@ const td = {
15176
15182
  )
15177
15183
  ] }) : o.CONFIG_commentsV2 ? /* @__PURE__ */ p(J, { children: [
15178
15184
  /* @__PURE__ */ p("p", { className: "anonimus-message", children: [
15179
- u.anonimusPromptPrefix,
15180
- /* @__PURE__ */ n("button", { className: "su-border-none su-p-0", onClick: q, children: u.anonimusPromptLinkText }),
15181
- u.anonimusPromptSuffix
15185
+ d.anonimusPromptPrefix,
15186
+ /* @__PURE__ */ n("button", { className: "su-border-none su-p-0", onClick: q, children: d.anonimusPromptLinkText }),
15187
+ d.anonimusPromptSuffix
15182
15188
  ] }),
15183
15189
  /* @__PURE__ */ n(
15184
15190
  dd,
@@ -15223,7 +15229,7 @@ const td = {
15223
15229
  {
15224
15230
  className: "comment-replies-button su-flex-center su-rounded-full",
15225
15231
  onClick: j,
15226
- children: u.loadMoreButton
15232
+ children: d.loadMoreButton
15227
15233
  }
15228
15234
  )
15229
15235
  ] }) }) }),
@@ -15250,7 +15256,7 @@ function hd({
15250
15256
  checkAuth: i,
15251
15257
  icon: o,
15252
15258
  API_ENV: c,
15253
- texts: u
15259
+ texts: d
15254
15260
  // termsAndConditionsUrl,
15255
15261
  }) {
15256
15262
  return /* @__PURE__ */ n(J, { children: /* @__PURE__ */ n(
@@ -15281,7 +15287,7 @@ function hd({
15281
15287
  path: r,
15282
15288
  user: e ? a : void 0,
15283
15289
  API_ENV: c,
15284
- texts: u
15290
+ texts: d
15285
15291
  }
15286
15292
  ) });
15287
15293
  }
@@ -15292,23 +15298,23 @@ function fd({
15292
15298
  API_ENV: a,
15293
15299
  texts: r
15294
15300
  }) {
15295
- const [i, o] = $(null), [c, u] = $(null), l = a?.COGNITO_AUTH_PREFIX ?? "ASTRO_", d = ce(async () => {
15301
+ const [i, o] = $(null), [c, d] = $(null), l = a?.COGNITO_AUTH_PREFIX ?? "ASTRO_", u = ce(async () => {
15296
15302
  if (e) {
15297
15303
  if (document.cookie.search(l + "IS_AUTH=true") === -1) {
15298
- o(!1), u(null);
15304
+ o(!1), d(null);
15299
15305
  return;
15300
15306
  }
15301
15307
  try {
15302
15308
  const g = await (await fetch("/api/auth/user", { credentials: "include" })).json();
15303
- o(g.isAuthenticated ?? !1), u(g.user ?? null), document.cookie = "redirect_after_login_1=; Max-Age=0; path=/";
15309
+ o(g.isAuthenticated ?? !1), d(g.user ?? null), document.cookie = "redirect_after_login_1=; Max-Age=0; path=/";
15304
15310
  } catch (h) {
15305
- console.error("Error checking auth:", h), o(!1), u(null);
15311
+ console.error("Error checking auth:", h), o(!1), d(null);
15306
15312
  }
15307
15313
  }
15308
15314
  }, [e, l]);
15309
15315
  Te(() => {
15310
- d();
15311
- }, [d, e]), Te(() => {
15316
+ u();
15317
+ }, [u, e]), Te(() => {
15312
15318
  if (!c || !e || typeof window > "u") return;
15313
15319
  const h = window;
15314
15320
  if (typeof h != "function") {
@@ -15336,7 +15342,7 @@ function fd({
15336
15342
  setIsAuthenticated: o,
15337
15343
  loginUrl: m,
15338
15344
  user: c ?? void 0,
15339
- checkAuth: d,
15345
+ checkAuth: u,
15340
15346
  path: A,
15341
15347
  API_ENV: a,
15342
15348
  texts: r
@@ -15397,7 +15403,7 @@ async function ju({
15397
15403
  recaptchaResponse: i,
15398
15404
  baseUrl: o,
15399
15405
  apiToken: c,
15400
- securityToken: u,
15406
+ securityToken: d,
15401
15407
  COMMENTS_VARS: l
15402
15408
  }) {
15403
15409
  if (console.log("Adding comment with data:", {
@@ -15425,8 +15431,8 @@ async function ju({
15425
15431
  message: "El comentario no puede estar vacío.",
15426
15432
  status: 400
15427
15433
  };
15428
- const d = await xa(i, l);
15429
- if (console.log("Verifying captcha token...", d), !d)
15434
+ const u = await xa(i, l);
15435
+ if (console.log("Verifying captcha token...", u), !u)
15430
15436
  return {
15431
15437
  type: "error",
15432
15438
  message: "Captcha inválido. Intenta nuevamente.",
@@ -15443,7 +15449,7 @@ async function ju({
15443
15449
  const { data: h } = await re.get(`${m}?${A.toString()}`, {
15444
15450
  headers: {
15445
15451
  "Content-Type": "application/json",
15446
- "x-security-token": u,
15452
+ "x-security-token": d,
15447
15453
  "x-api-token": c,
15448
15454
  "User-Agent": "amplifyapp-comments-saas"
15449
15455
  }
@@ -15635,7 +15641,7 @@ const qa = async (e, t) => {
15635
15641
  ) }),
15636
15642
  /* @__PURE__ */ p("div", { className: "sass-bd-dnfw-containerCards", children: [
15637
15643
  /* @__PURE__ */ n("div", { className: "banner-context", style: { order: 1 }, children: e.banner }),
15638
- /* @__PURE__ */ n("div", { className: "sass-bd-dnfw-newsContent", children: Array.isArray(i) && i.map((c, u) => {
15644
+ /* @__PURE__ */ n("div", { className: "sass-bd-dnfw-newsContent", children: Array.isArray(i) && i.map((c, d) => {
15639
15645
  const l = {
15640
15646
  ...c,
15641
15647
  main: {
@@ -15646,14 +15652,14 @@ const qa = async (e, t) => {
15646
15652
  }
15647
15653
  }
15648
15654
  };
15649
- return /* @__PURE__ */ n("div", { style: { order: u }, children: /* @__PURE__ */ n(
15655
+ return /* @__PURE__ */ n("div", { style: { order: d }, children: /* @__PURE__ */ n(
15650
15656
  ke,
15651
15657
  {
15652
15658
  ...l,
15653
15659
  isVideo: a,
15654
15660
  paths: e.paths
15655
15661
  }
15656
- ) }, u);
15662
+ ) }, d);
15657
15663
  }) })
15658
15664
  ] })
15659
15665
  ] });
@@ -15787,8 +15793,8 @@ const Bn = {
15787
15793
  banners: i,
15788
15794
  showTagBySection: o
15789
15795
  }) => {
15790
- const c = [], l = t, d = Object.keys(e).length / l;
15791
- for (let m = 1; m <= d; m++)
15796
+ const c = [], l = t, u = Object.keys(e).length / l;
15797
+ for (let m = 1; m <= u; m++)
15792
15798
  for (let f = 1; f <= l; f++) {
15793
15799
  const A = "Home_" + m + "_" + f;
15794
15800
  !e[A] || !e[A].blockSass || !e[A].blockSass[0] || !e[A].blockSass[0].value || !e[A].blockSass[0].block || e[A].blockSass[0].block === "No Mostrar" || (e[A].blockSass[0]?.block === "Modulo iframe" ? c.push(
@@ -15870,10 +15876,10 @@ const Bn = {
15870
15876
  }) => {
15871
15877
  const { PUBLIC_ENV: r } = _();
15872
15878
  if (r !== "local") return null;
15873
- const i = e?.news?.data || [], o = (c, u) => ({
15879
+ const i = e?.news?.data || [], o = (c, d) => ({
15874
15880
  ...e?.news,
15875
15881
  ...t[c],
15876
- data: i.slice(0, u),
15882
+ data: i.slice(0, d),
15877
15883
  paths: s.paths
15878
15884
  });
15879
15885
  return /* @__PURE__ */ p(J, { children: [