sass-template-common 0.12.6 → 0.12.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { jsx as s, Fragment as W, jsxs as
|
|
1
|
+
import { jsx as s, Fragment as W, jsxs as g } from "react/jsx-runtime";
|
|
2
2
|
import * as oa from "react";
|
|
3
3
|
import ue, { useState as V, useRef as vr, useCallback as me, useEffect as De, createElement as nt, forwardRef as Cr, Fragment as bs, useMemo as Ht, Component as zo } from "react";
|
|
4
4
|
let ws = {
|
|
@@ -112,7 +112,7 @@ function Nr() {
|
|
|
112
112
|
(function(n, a) {
|
|
113
113
|
e.exports = a();
|
|
114
114
|
})(Yo, (function() {
|
|
115
|
-
var n = 1e3, a = 6e4, r = 36e5, o = "millisecond", i = "second", c = "minute", l = "hour", d = "day", u = "week", h = "month", m = "quarter", p = "year", f = "date",
|
|
115
|
+
var n = 1e3, a = 6e4, r = 36e5, o = "millisecond", i = "second", c = "minute", l = "hour", d = "day", u = "week", h = "month", m = "quarter", p = "year", f = "date", b = "Invalid Date", w = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, A = /\[([^\]]+)]|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, y = { 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(B) {
|
|
116
116
|
var L = ["th", "st", "nd", "rd"], U = B % 100;
|
|
117
117
|
return "[" + B + (L[(U - 20) % 10] || L[U] || L[0]) + "]";
|
|
118
118
|
} }, C = function(B, L, U) {
|
|
@@ -182,7 +182,7 @@ function Nr() {
|
|
|
182
182
|
}, L.$utils = function() {
|
|
183
183
|
return R;
|
|
184
184
|
}, L.isValid = function() {
|
|
185
|
-
return this.$d.toString() !==
|
|
185
|
+
return this.$d.toString() !== b;
|
|
186
186
|
}, L.isSame = function(U, j) {
|
|
187
187
|
var M = O(U);
|
|
188
188
|
return this.startOf(j) <= M && M <= this.endOf(j);
|
|
@@ -253,7 +253,7 @@ function Nr() {
|
|
|
253
253
|
return this.add(-1 * U, j);
|
|
254
254
|
}, L.format = function(U) {
|
|
255
255
|
var j = this, M = this.$locale();
|
|
256
|
-
if (!this.isValid()) return M.invalidDate ||
|
|
256
|
+
if (!this.isValid()) return M.invalidDate || b;
|
|
257
257
|
var Y = U || "YYYY-MM-DDTHH:mm:ssZ", x = R.z(this), k = this.$H, D = this.$m, H = this.$M, G = M.weekdays, Q = M.months, K = M.meridiem, J = function(X, de, q, Ae) {
|
|
258
258
|
return X && (X[de] || X(j, Y)) || q[de].slice(0, Ae);
|
|
259
259
|
}, ne = function(X) {
|
|
@@ -412,38 +412,38 @@ function ei() {
|
|
|
412
412
|
var n = "minute", a = /[+-]\d\d(?::?\d\d)?/g, r = /([+-]|\d\d)/g;
|
|
413
413
|
return function(o, i, c) {
|
|
414
414
|
var l = i.prototype;
|
|
415
|
-
c.utc = function(
|
|
416
|
-
var w = { date:
|
|
415
|
+
c.utc = function(b) {
|
|
416
|
+
var w = { date: b, utc: !0, args: arguments };
|
|
417
417
|
return new i(w);
|
|
418
|
-
}, l.utc = function(
|
|
418
|
+
}, l.utc = function(b) {
|
|
419
419
|
var w = c(this.toDate(), { locale: this.$L, utc: !0 });
|
|
420
|
-
return
|
|
420
|
+
return b ? w.add(this.utcOffset(), n) : w;
|
|
421
421
|
}, l.local = function() {
|
|
422
422
|
return c(this.toDate(), { locale: this.$L, utc: !1 });
|
|
423
423
|
};
|
|
424
424
|
var d = l.parse;
|
|
425
|
-
l.parse = function(
|
|
426
|
-
|
|
425
|
+
l.parse = function(b) {
|
|
426
|
+
b.utc && (this.$u = !0), this.$utils().u(b.$offset) || (this.$offset = b.$offset), d.call(this, b);
|
|
427
427
|
};
|
|
428
428
|
var u = l.init;
|
|
429
429
|
l.init = function() {
|
|
430
430
|
if (this.$u) {
|
|
431
|
-
var
|
|
432
|
-
this.$y =
|
|
431
|
+
var b = this.$d;
|
|
432
|
+
this.$y = b.getUTCFullYear(), this.$M = b.getUTCMonth(), this.$D = b.getUTCDate(), this.$W = b.getUTCDay(), this.$H = b.getUTCHours(), this.$m = b.getUTCMinutes(), this.$s = b.getUTCSeconds(), this.$ms = b.getUTCMilliseconds();
|
|
433
433
|
} else u.call(this);
|
|
434
434
|
};
|
|
435
435
|
var h = l.utcOffset;
|
|
436
|
-
l.utcOffset = function(
|
|
436
|
+
l.utcOffset = function(b, w) {
|
|
437
437
|
var A = this.$utils().u;
|
|
438
|
-
if (A(
|
|
439
|
-
if (typeof
|
|
438
|
+
if (A(b)) return this.$u ? 0 : A(this.$offset) ? h.call(this) : this.$offset;
|
|
439
|
+
if (typeof b == "string" && (b = (function(v) {
|
|
440
440
|
v === void 0 && (v = "");
|
|
441
441
|
var S = v.match(a);
|
|
442
442
|
if (!S) return null;
|
|
443
443
|
var T = ("" + S[0]).match(r) || ["-", 0, 0], P = T[0], z = 60 * +T[1] + +T[2];
|
|
444
444
|
return z === 0 ? 0 : P === "+" ? z : -z;
|
|
445
|
-
})(
|
|
446
|
-
var y = Math.abs(
|
|
445
|
+
})(b), b === null)) return this;
|
|
446
|
+
var y = Math.abs(b) <= 16 ? 60 * b : b;
|
|
447
447
|
if (y === 0) return this.utc(w);
|
|
448
448
|
var C = this.clone();
|
|
449
449
|
if (w) return C.$offset = y, C.$u = !1, C;
|
|
@@ -451,12 +451,12 @@ function ei() {
|
|
|
451
451
|
return (C = this.local().add(y + N, n)).$offset = y, C.$x.$localOffset = N, C;
|
|
452
452
|
};
|
|
453
453
|
var m = l.format;
|
|
454
|
-
l.format = function(
|
|
455
|
-
var w =
|
|
454
|
+
l.format = function(b) {
|
|
455
|
+
var w = b || (this.$u ? "YYYY-MM-DDTHH:mm:ss[Z]" : "");
|
|
456
456
|
return m.call(this, w);
|
|
457
457
|
}, l.valueOf = function() {
|
|
458
|
-
var
|
|
459
|
-
return this.$d.valueOf() - 6e4 *
|
|
458
|
+
var b = this.$utils().u(this.$offset) ? 0 : this.$offset + (this.$x.$localOffset || this.$d.getTimezoneOffset());
|
|
459
|
+
return this.$d.valueOf() - 6e4 * b;
|
|
460
460
|
}, l.isUTC = function() {
|
|
461
461
|
return !!this.$u;
|
|
462
462
|
}, l.toISOString = function() {
|
|
@@ -465,13 +465,13 @@ function ei() {
|
|
|
465
465
|
return this.toDate().toUTCString();
|
|
466
466
|
};
|
|
467
467
|
var p = l.toDate;
|
|
468
|
-
l.toDate = function(
|
|
469
|
-
return
|
|
468
|
+
l.toDate = function(b) {
|
|
469
|
+
return b === "s" && this.$offset ? c(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate() : p.call(this);
|
|
470
470
|
};
|
|
471
471
|
var f = l.diff;
|
|
472
|
-
l.diff = function(
|
|
473
|
-
if (
|
|
474
|
-
var y = this.local(), C = c(
|
|
472
|
+
l.diff = function(b, w, A) {
|
|
473
|
+
if (b && this.$u === b.$u) return f.call(this, b, w, A);
|
|
474
|
+
var y = this.local(), C = c(b).local();
|
|
475
475
|
return f.call(y, C, w, A);
|
|
476
476
|
};
|
|
477
477
|
};
|
|
@@ -490,32 +490,32 @@ function ai() {
|
|
|
490
490
|
return function(r, o, i) {
|
|
491
491
|
var c, l = function(m, p, f) {
|
|
492
492
|
f === void 0 && (f = {});
|
|
493
|
-
var
|
|
493
|
+
var b = new Date(m), w = (function(A, y) {
|
|
494
494
|
y === void 0 && (y = {});
|
|
495
495
|
var C = y.timeZoneName || "short", N = A + "|" + C, v = a[N];
|
|
496
496
|
return v || (v = new Intl.DateTimeFormat("en-US", { hour12: !1, timeZone: A, year: "numeric", month: "2-digit", day: "2-digit", hour: "2-digit", minute: "2-digit", second: "2-digit", timeZoneName: C }), a[N] = v), v;
|
|
497
497
|
})(p, f);
|
|
498
|
-
return w.formatToParts(
|
|
498
|
+
return w.formatToParts(b);
|
|
499
499
|
}, d = function(m, p) {
|
|
500
|
-
for (var f = l(m, p),
|
|
500
|
+
for (var f = l(m, p), b = [], w = 0; w < f.length; w += 1) {
|
|
501
501
|
var A = f[w], y = A.type, C = A.value, N = n[y];
|
|
502
|
-
N >= 0 && (
|
|
502
|
+
N >= 0 && (b[N] = parseInt(C, 10));
|
|
503
503
|
}
|
|
504
|
-
var v =
|
|
504
|
+
var v = b[3], S = v === 24 ? 0 : v, T = b[0] + "-" + b[1] + "-" + b[2] + " " + S + ":" + b[4] + ":" + b[5] + ":000", P = +m;
|
|
505
505
|
return (i.utc(T).valueOf() - (P -= P % 1e3)) / 6e4;
|
|
506
506
|
}, u = o.prototype;
|
|
507
507
|
u.tz = function(m, p) {
|
|
508
508
|
m === void 0 && (m = c);
|
|
509
|
-
var f,
|
|
509
|
+
var f, b = this.utcOffset(), w = this.toDate(), A = w.toLocaleString("en-US", { timeZone: m }), y = Math.round((w - new Date(A)) / 1e3 / 60), C = 15 * -Math.round(w.getTimezoneOffset() / 15) - y;
|
|
510
510
|
if (!Number(C)) f = this.utcOffset(0, p);
|
|
511
511
|
else if (f = i(A, { locale: this.$L }).$set("millisecond", this.$ms).utcOffset(C, !0), p) {
|
|
512
512
|
var N = f.utcOffset();
|
|
513
|
-
f = f.add(
|
|
513
|
+
f = f.add(b - N, "minute");
|
|
514
514
|
}
|
|
515
515
|
return f.$x.$timezone = m, f;
|
|
516
516
|
}, u.offsetName = function(m) {
|
|
517
|
-
var p = this.$x.$timezone || i.tz.guess(), f = l(this.valueOf(), p, { timeZoneName: m }).find((function(
|
|
518
|
-
return
|
|
517
|
+
var p = this.$x.$timezone || i.tz.guess(), f = l(this.valueOf(), p, { timeZoneName: m }).find((function(b) {
|
|
518
|
+
return b.type.toLowerCase() === "timezonename";
|
|
519
519
|
}));
|
|
520
520
|
return f && f.value;
|
|
521
521
|
};
|
|
@@ -525,14 +525,14 @@ function ai() {
|
|
|
525
525
|
var f = i(this.format("YYYY-MM-DD HH:mm:ss:SSS"), { locale: this.$L });
|
|
526
526
|
return h.call(f, m, p).tz(this.$x.$timezone, !0);
|
|
527
527
|
}, i.tz = function(m, p, f) {
|
|
528
|
-
var
|
|
528
|
+
var b = f && p, w = f || p || c, A = d(+i(), w);
|
|
529
529
|
if (typeof m != "string") return i(m).tz(w);
|
|
530
530
|
var y = (function(S, T, P) {
|
|
531
531
|
var z = S - 60 * T * 1e3, O = d(z, P);
|
|
532
532
|
if (T === O) return [z, T];
|
|
533
533
|
var R = d(z -= 60 * (O - T) * 1e3, P);
|
|
534
534
|
return O === R ? [z, O] : [S - 60 * Math.min(O, R) * 1e3, Math.max(O, R)];
|
|
535
|
-
})(i.utc(m,
|
|
535
|
+
})(i.utc(m, b).valueOf(), A, w), C = y[0], N = y[1], v = i(C).utcOffset(N);
|
|
536
536
|
return v.$x.$timezone = w, v;
|
|
537
537
|
}, i.tz.guess = function() {
|
|
538
538
|
return Intl.DateTimeFormat().resolvedOptions().timeZone;
|
|
@@ -720,8 +720,8 @@ const xr = {
|
|
|
720
720
|
if (!l) return "";
|
|
721
721
|
const d = t.videoPath ?? "video", u = `${r}${o}${i}`;
|
|
722
722
|
if (l === "vf") {
|
|
723
|
-
const p = c.lastIndexOf("."), f = p > 0 ? c.slice(0, p) : c,
|
|
724
|
-
return `/${d}/${f}-vf${u}${
|
|
723
|
+
const p = c.lastIndexOf("."), f = p > 0 ? c.slice(0, p) : c, b = p > 0 ? c.slice(p + 1) : "";
|
|
724
|
+
return `/${d}/${f}-vf${u}${b}.html`;
|
|
725
725
|
}
|
|
726
726
|
const h = c.match(/_([^.]+)\.lnk$/i)?.[1] ?? c.replace(/\.[^.]+$/, ""), m = yi(t.title ?? "") || a.toLowerCase();
|
|
727
727
|
return `/${d}/${m}-${l}${u}${h}.html`;
|
|
@@ -966,10 +966,10 @@ function ys(e) {
|
|
|
966
966
|
const o = r.index + r[0].length;
|
|
967
967
|
let i = 1, c = o, l = o;
|
|
968
968
|
for (; c < t.length && i > 0; ) {
|
|
969
|
-
const p = t.slice(c), f = p.match(/<div\b/i),
|
|
969
|
+
const p = t.slice(c), f = p.match(/<div\b/i), b = p.match(/<\/div>/i), w = f?.index ?? -1, A = b?.index ?? -1;
|
|
970
970
|
if (A === -1) break;
|
|
971
971
|
const y = w === -1 ? 1 / 0 : c + w, C = c + A;
|
|
972
|
-
w !== -1 && w < A ? (i += 1, c = y + f[0].length) : (i -= 1, l = C, c = C +
|
|
972
|
+
w !== -1 && w < A ? (i += 1, c = y + f[0].length) : (i -= 1, l = C, c = C + b[0].length);
|
|
973
973
|
}
|
|
974
974
|
const d = t.slice(o, l), u = [], h = /<span\b[^>]*\bdata-src=["']([^"']+)["']/gi;
|
|
975
975
|
let m;
|
|
@@ -1100,7 +1100,7 @@ const Oi = (e) => {
|
|
|
1100
1100
|
} catch {
|
|
1101
1101
|
return n.siteUrl ?? "";
|
|
1102
1102
|
}
|
|
1103
|
-
})(),
|
|
1103
|
+
})(), b = jt(
|
|
1104
1104
|
t?.info?.link?.canonical,
|
|
1105
1105
|
f
|
|
1106
1106
|
);
|
|
@@ -1111,14 +1111,14 @@ const Oi = (e) => {
|
|
|
1111
1111
|
types: {
|
|
1112
1112
|
"application/rss+xml": (n.siteUrl ?? "") + "/rss/feed.xml"
|
|
1113
1113
|
},
|
|
1114
|
-
canonical:
|
|
1114
|
+
canonical: b
|
|
1115
1115
|
},
|
|
1116
1116
|
description: t?.main?.subtitle?.striped ?? "",
|
|
1117
1117
|
news_keywords: c,
|
|
1118
1118
|
keywords: c,
|
|
1119
1119
|
openGraph: {
|
|
1120
1120
|
title: t?.social?.title ? t?.social?.title : t?.main?.title?.article,
|
|
1121
|
-
url:
|
|
1121
|
+
url: b,
|
|
1122
1122
|
type: "article",
|
|
1123
1123
|
description: t?.social?.description ? t?.social?.description : t?.main?.subtitle?.striped ?? "",
|
|
1124
1124
|
images: [m],
|
|
@@ -1494,7 +1494,7 @@ async function Gt(e, t, {
|
|
|
1494
1494
|
}
|
|
1495
1495
|
if (h < o) {
|
|
1496
1496
|
const f = zi(h, l, d);
|
|
1497
|
-
await new Promise((
|
|
1497
|
+
await new Promise((b) => setTimeout(b, f));
|
|
1498
1498
|
}
|
|
1499
1499
|
}
|
|
1500
1500
|
}
|
|
@@ -1629,7 +1629,7 @@ function $1(e) {
|
|
|
1629
1629
|
}
|
|
1630
1630
|
const Ji = () => {
|
|
1631
1631
|
const { PUBLIC_ASSETS_URL: e } = I();
|
|
1632
|
-
return e && e !== "false" && /* @__PURE__ */
|
|
1632
|
+
return e && e !== "false" && /* @__PURE__ */ g(W, { children: [
|
|
1633
1633
|
/* @__PURE__ */ s("link", { rel: "preconnect", href: e, crossOrigin: "anonymous" }),
|
|
1634
1634
|
/* @__PURE__ */ s("link", { rel: "preconnect", href: e })
|
|
1635
1635
|
] });
|
|
@@ -2185,8 +2185,8 @@ function qn(e, t, n) {
|
|
|
2185
2185
|
metaTokens: !0,
|
|
2186
2186
|
dots: !1,
|
|
2187
2187
|
indexes: !1
|
|
2188
|
-
}, !1, function(
|
|
2189
|
-
return !E.isUndefined(w[
|
|
2188
|
+
}, !1, function(b, w) {
|
|
2189
|
+
return !E.isUndefined(w[b]);
|
|
2190
2190
|
});
|
|
2191
2191
|
const a = n.metaTokens, r = n.visitor || u, o = n.dots, i = n.indexes, l = (n.Blob || typeof Blob < "u" && Blob) && E.isSpecCompliantForm(t);
|
|
2192
2192
|
if (!E.isFunction(r))
|
|
@@ -2201,39 +2201,39 @@ function qn(e, t, n) {
|
|
|
2201
2201
|
throw new te("Blob is not supported. Use a Buffer instead.");
|
|
2202
2202
|
return E.isArrayBuffer(f) || E.isTypedArray(f) ? l && typeof Blob == "function" ? new Blob([f]) : Buffer.from(f) : f;
|
|
2203
2203
|
}
|
|
2204
|
-
function u(f,
|
|
2204
|
+
function u(f, b, w) {
|
|
2205
2205
|
let A = f;
|
|
2206
2206
|
if (f && !w && typeof f == "object") {
|
|
2207
|
-
if (E.endsWith(
|
|
2208
|
-
|
|
2209
|
-
else if (E.isArray(f) && jc(f) || (E.isFileList(f) || E.endsWith(
|
|
2210
|
-
return
|
|
2207
|
+
if (E.endsWith(b, "{}"))
|
|
2208
|
+
b = a ? b : b.slice(0, -2), f = JSON.stringify(f);
|
|
2209
|
+
else if (E.isArray(f) && jc(f) || (E.isFileList(f) || E.endsWith(b, "[]")) && (A = E.toArray(f)))
|
|
2210
|
+
return b = Hr(b), A.forEach(function(C, N) {
|
|
2211
2211
|
!(E.isUndefined(C) || C === null) && t.append(
|
|
2212
2212
|
// eslint-disable-next-line no-nested-ternary
|
|
2213
|
-
i === !0 ? Sa([
|
|
2213
|
+
i === !0 ? Sa([b], N, o) : i === null ? b : b + "[]",
|
|
2214
2214
|
d(C)
|
|
2215
2215
|
);
|
|
2216
2216
|
}), !1;
|
|
2217
2217
|
}
|
|
2218
|
-
return Cs(f) ? !0 : (t.append(Sa(w,
|
|
2218
|
+
return Cs(f) ? !0 : (t.append(Sa(w, b, o), d(f)), !1);
|
|
2219
2219
|
}
|
|
2220
2220
|
const h = [], m = Object.assign(Gc, {
|
|
2221
2221
|
defaultVisitor: u,
|
|
2222
2222
|
convertValue: d,
|
|
2223
2223
|
isVisitable: Cs
|
|
2224
2224
|
});
|
|
2225
|
-
function p(f,
|
|
2225
|
+
function p(f, b) {
|
|
2226
2226
|
if (!E.isUndefined(f)) {
|
|
2227
2227
|
if (h.indexOf(f) !== -1)
|
|
2228
|
-
throw Error("Circular reference detected in " +
|
|
2228
|
+
throw Error("Circular reference detected in " + b.join("."));
|
|
2229
2229
|
h.push(f), E.forEach(f, function(A, y) {
|
|
2230
2230
|
(!(E.isUndefined(A) || A === null) && r.call(
|
|
2231
2231
|
t,
|
|
2232
2232
|
A,
|
|
2233
2233
|
E.isString(y) ? y.trim() : y,
|
|
2234
|
-
|
|
2234
|
+
b,
|
|
2235
2235
|
m
|
|
2236
|
-
)) === !0 && p(A,
|
|
2236
|
+
)) === !0 && p(A, b ? b.concat(y) : [y]);
|
|
2237
2237
|
}), h.pop();
|
|
2238
2238
|
}
|
|
2239
2239
|
}
|
|
@@ -2899,7 +2899,7 @@ const Jr = (e) => {
|
|
|
2899
2899
|
let o = r.data;
|
|
2900
2900
|
const i = Se.from(r.headers).normalize();
|
|
2901
2901
|
let { responseType: c, onUploadProgress: l, onDownloadProgress: d } = r, u, h, m, p, f;
|
|
2902
|
-
function
|
|
2902
|
+
function b() {
|
|
2903
2903
|
p && p(), f && f(), r.cancelToken && r.cancelToken.unsubscribe(u), r.signal && r.signal.removeEventListener("abort", u);
|
|
2904
2904
|
}
|
|
2905
2905
|
let w = new XMLHttpRequest();
|
|
@@ -2918,9 +2918,9 @@ const Jr = (e) => {
|
|
|
2918
2918
|
request: w
|
|
2919
2919
|
};
|
|
2920
2920
|
Yr(function(T) {
|
|
2921
|
-
n(T),
|
|
2921
|
+
n(T), b();
|
|
2922
2922
|
}, function(T) {
|
|
2923
|
-
a(T),
|
|
2923
|
+
a(T), b();
|
|
2924
2924
|
}, v), w = null;
|
|
2925
2925
|
}
|
|
2926
2926
|
"onloadend" in w ? w.onloadend = A : w.onreadystatechange = function() {
|
|
@@ -3050,24 +3050,24 @@ const Jr = (e) => {
|
|
|
3050
3050
|
const { fetch: t, Request: n, Response: a } = e, r = t ? on(t) : typeof fetch == "function", o = on(n), i = on(a);
|
|
3051
3051
|
if (!r)
|
|
3052
3052
|
return !1;
|
|
3053
|
-
const c = r && on(Ra), l = r && (typeof Oa == "function" ? /* @__PURE__ */ ((f) => (
|
|
3053
|
+
const c = r && on(Ra), l = r && (typeof Oa == "function" ? /* @__PURE__ */ ((f) => (b) => f.encode(b))(new Oa()) : async (f) => new Uint8Array(await new n(f).arrayBuffer())), d = o && c && Ba(() => {
|
|
3054
3054
|
let f = !1;
|
|
3055
|
-
const
|
|
3055
|
+
const b = new n(be.origin, {
|
|
3056
3056
|
body: new Ra(),
|
|
3057
3057
|
method: "POST",
|
|
3058
3058
|
get duplex() {
|
|
3059
3059
|
return f = !0, "half";
|
|
3060
3060
|
}
|
|
3061
3061
|
}).headers.has("Content-Type");
|
|
3062
|
-
return f && !
|
|
3062
|
+
return f && !b;
|
|
3063
3063
|
}), u = i && c && Ba(() => E.isReadableStream(new a("").body)), h = {
|
|
3064
3064
|
stream: u && ((f) => f.body)
|
|
3065
3065
|
};
|
|
3066
3066
|
r && ["text", "arrayBuffer", "blob", "formData", "stream"].forEach((f) => {
|
|
3067
|
-
!h[f] && (h[f] = (
|
|
3068
|
-
let A =
|
|
3067
|
+
!h[f] && (h[f] = (b, w) => {
|
|
3068
|
+
let A = b && b[f];
|
|
3069
3069
|
if (A)
|
|
3070
|
-
return A.call(
|
|
3070
|
+
return A.call(b);
|
|
3071
3071
|
throw new te(`Response type '${f}' is not supported`, te.ERR_NOT_SUPPORT, w);
|
|
3072
3072
|
});
|
|
3073
3073
|
});
|
|
@@ -3085,13 +3085,13 @@ const Jr = (e) => {
|
|
|
3085
3085
|
return f.byteLength;
|
|
3086
3086
|
if (E.isURLSearchParams(f) && (f = f + ""), E.isString(f))
|
|
3087
3087
|
return (await l(f)).byteLength;
|
|
3088
|
-
}, p = async (f,
|
|
3088
|
+
}, p = async (f, b) => {
|
|
3089
3089
|
const w = E.toFiniteNumber(f.getContentLength());
|
|
3090
|
-
return w ?? m(
|
|
3090
|
+
return w ?? m(b);
|
|
3091
3091
|
};
|
|
3092
3092
|
return async (f) => {
|
|
3093
3093
|
let {
|
|
3094
|
-
url:
|
|
3094
|
+
url: b,
|
|
3095
3095
|
method: w,
|
|
3096
3096
|
data: A,
|
|
3097
3097
|
signal: y,
|
|
@@ -3112,7 +3112,7 @@ const Jr = (e) => {
|
|
|
3112
3112
|
let L;
|
|
3113
3113
|
try {
|
|
3114
3114
|
if (S && d && w !== "get" && w !== "head" && (L = await p(P, A)) !== 0) {
|
|
3115
|
-
let k = new n(
|
|
3115
|
+
let k = new n(b, {
|
|
3116
3116
|
method: "POST",
|
|
3117
3117
|
body: A,
|
|
3118
3118
|
duplex: "half"
|
|
@@ -3135,8 +3135,8 @@ const Jr = (e) => {
|
|
|
3135
3135
|
duplex: "half",
|
|
3136
3136
|
credentials: U ? z : void 0
|
|
3137
3137
|
};
|
|
3138
|
-
$ = o && new n(
|
|
3139
|
-
let M = await (o ? R($, O) : R(
|
|
3138
|
+
$ = o && new n(b, j);
|
|
3139
|
+
let M = await (o ? R($, O) : R(b, j));
|
|
3140
3140
|
const Y = u && (T === "stream" || T === "response");
|
|
3141
3141
|
if (u && (v || Y && B)) {
|
|
3142
3142
|
const k = {};
|
|
@@ -3376,12 +3376,12 @@ let dt = class {
|
|
|
3376
3376
|
), n.headers = Se.concat(i, o);
|
|
3377
3377
|
const c = [];
|
|
3378
3378
|
let l = !0;
|
|
3379
|
-
this.interceptors.request.forEach(function(
|
|
3380
|
-
typeof
|
|
3379
|
+
this.interceptors.request.forEach(function(b) {
|
|
3380
|
+
typeof b.runWhen == "function" && b.runWhen(n) === !1 || (l = l && b.synchronous, c.unshift(b.fulfilled, b.rejected));
|
|
3381
3381
|
});
|
|
3382
3382
|
const d = [];
|
|
3383
|
-
this.interceptors.response.forEach(function(
|
|
3384
|
-
d.push(
|
|
3383
|
+
this.interceptors.response.forEach(function(b) {
|
|
3384
|
+
d.push(b.fulfilled, b.rejected);
|
|
3385
3385
|
});
|
|
3386
3386
|
let u, h = 0, m;
|
|
3387
3387
|
if (!l) {
|
|
@@ -3393,11 +3393,11 @@ let dt = class {
|
|
|
3393
3393
|
m = c.length;
|
|
3394
3394
|
let p = n;
|
|
3395
3395
|
for (; h < m; ) {
|
|
3396
|
-
const f = c[h++],
|
|
3396
|
+
const f = c[h++], b = c[h++];
|
|
3397
3397
|
try {
|
|
3398
3398
|
p = f(p);
|
|
3399
3399
|
} catch (w) {
|
|
3400
|
-
|
|
3400
|
+
b.call(this, w);
|
|
3401
3401
|
break;
|
|
3402
3402
|
}
|
|
3403
3403
|
}
|
|
@@ -3859,7 +3859,7 @@ async function Cf(e) {
|
|
|
3859
3859
|
}
|
|
3860
3860
|
], c = [];
|
|
3861
3861
|
for (const p of i) {
|
|
3862
|
-
let f,
|
|
3862
|
+
let f, b;
|
|
3863
3863
|
if (p.kind === "menu" && p.menuFile) {
|
|
3864
3864
|
const C = cn(
|
|
3865
3865
|
e.servicePrefix,
|
|
@@ -3876,7 +3876,7 @@ async function Cf(e) {
|
|
|
3876
3876
|
params: { path: C }
|
|
3877
3877
|
}), T = JSON.stringify(S.data ?? "").length;
|
|
3878
3878
|
return { status: S.status, size: T };
|
|
3879
|
-
}, a),
|
|
3879
|
+
}, a), b = await ln(async () => {
|
|
3880
3880
|
const S = await o.get(v), T = JSON.stringify(S.data ?? "").length;
|
|
3881
3881
|
return { status: S.status, size: T };
|
|
3882
3882
|
}, a);
|
|
@@ -3899,17 +3899,17 @@ async function Cf(e) {
|
|
|
3899
3899
|
}
|
|
3900
3900
|
}), T = JSON.stringify(S.data ?? "").length;
|
|
3901
3901
|
return { status: S.status, size: T };
|
|
3902
|
-
}, a),
|
|
3902
|
+
}, a), b = await ln(async () => {
|
|
3903
3903
|
const S = await o.get(v), T = JSON.stringify(S.data ?? "").length;
|
|
3904
3904
|
return { status: S.status, size: T };
|
|
3905
3905
|
}, a);
|
|
3906
3906
|
} else
|
|
3907
3907
|
continue;
|
|
3908
|
-
const w = f.avg -
|
|
3908
|
+
const w = f.avg - b.avg, A = w > 0 ? "bucket" : "api", y = Math.abs(w) / Math.max(f.avg, b.avg, 1) * 100;
|
|
3909
3909
|
c.push({
|
|
3910
3910
|
name: p.name,
|
|
3911
3911
|
api: f,
|
|
3912
|
-
bucket:
|
|
3912
|
+
bucket: b,
|
|
3913
3913
|
winner: A,
|
|
3914
3914
|
advantagePct: y,
|
|
3915
3915
|
deltaMs: w
|
|
@@ -3919,11 +3919,11 @@ async function Cf(e) {
|
|
|
3919
3919
|
async function u(p) {
|
|
3920
3920
|
const f = performance.now();
|
|
3921
3921
|
return await Promise.all([
|
|
3922
|
-
...d.map(async (
|
|
3922
|
+
...d.map(async (b) => {
|
|
3923
3923
|
const w = cn(
|
|
3924
3924
|
e.servicePrefix,
|
|
3925
3925
|
e.configVersion,
|
|
3926
|
-
|
|
3926
|
+
b
|
|
3927
3927
|
);
|
|
3928
3928
|
if (p === "api")
|
|
3929
3929
|
(await e.axiosApi.get("/config/menu", {
|
|
@@ -3940,14 +3940,14 @@ async function Cf(e) {
|
|
|
3940
3940
|
}
|
|
3941
3941
|
}),
|
|
3942
3942
|
(async () => {
|
|
3943
|
-
const
|
|
3943
|
+
const b = cn(
|
|
3944
3944
|
e.servicePrefix,
|
|
3945
3945
|
e.configVersion,
|
|
3946
3946
|
"banners.html"
|
|
3947
3947
|
);
|
|
3948
3948
|
if (p === "api")
|
|
3949
3949
|
(await e.axiosApi.get("/config/banners", {
|
|
3950
|
-
params: { path:
|
|
3950
|
+
params: { path: b, template: "Home" }
|
|
3951
3951
|
})).data;
|
|
3952
3952
|
else {
|
|
3953
3953
|
const w = tt(
|
|
@@ -4084,7 +4084,7 @@ const Gl = (e) => e === "/" || e === "/index.html", Fl = /* @__PURE__ */ new Set
|
|
|
4084
4084
|
c[l] = l;
|
|
4085
4085
|
}), c;
|
|
4086
4086
|
}, [t]), { ANALYTICS_ga4: o } = I(), i = n && n.show && n.value ? Jt(n.value, a) : "";
|
|
4087
|
-
return o && /* @__PURE__ */
|
|
4087
|
+
return o && /* @__PURE__ */ g(W, { children: [
|
|
4088
4088
|
/* @__PURE__ */ s("script", { defer: !0, src: "https://www.googletagmanager.com/gtag/js?" + o }),
|
|
4089
4089
|
/* @__PURE__ */ s(
|
|
4090
4090
|
"script",
|
|
@@ -4108,7 +4108,7 @@ const Gl = (e) => e === "/" || e === "/index.html", Fl = /* @__PURE__ */ new Set
|
|
|
4108
4108
|
] });
|
|
4109
4109
|
}, zl = () => {
|
|
4110
4110
|
const { ANALYTICS_gtm: e } = I();
|
|
4111
|
-
return e && /* @__PURE__ */
|
|
4111
|
+
return e && /* @__PURE__ */ g(W, { children: [
|
|
4112
4112
|
/* @__PURE__ */ s(
|
|
4113
4113
|
"script",
|
|
4114
4114
|
{
|
|
@@ -4570,7 +4570,7 @@ const ad = (e) => Array.isArray(e) ? e.length > 0 : e && typeof e == "object" ?
|
|
|
4570
4570
|
isS3: n
|
|
4571
4571
|
}) => {
|
|
4572
4572
|
const a = e.fontDisplay ?? "swap", r = e.fontFormat ?? "woff2", o = md(t);
|
|
4573
|
-
return /* @__PURE__ */
|
|
4573
|
+
return /* @__PURE__ */ g(W, { children: [
|
|
4574
4574
|
o && !n && /* @__PURE__ */ s("link", { rel: "preconnect", href: o, crossOrigin: "anonymous" }),
|
|
4575
4575
|
/* @__PURE__ */ s(
|
|
4576
4576
|
"link",
|
|
@@ -4594,7 +4594,7 @@ const ad = (e) => Array.isArray(e) ? e.length > 0 : e && typeof e == "object" ?
|
|
|
4594
4594
|
] });
|
|
4595
4595
|
}, fd = ({ config: e }) => {
|
|
4596
4596
|
const t = e.fontDisplay ?? "swap", { url: n, isS3: a } = dd(e);
|
|
4597
|
-
return n ? /* @__PURE__ */ s(hd, { config: e, fontUrl: n, isS3: a }) : ro(e.googleFontFamily) ? /* @__PURE__ */
|
|
4597
|
+
return n ? /* @__PURE__ */ s(hd, { config: e, fontUrl: n, isS3: a }) : ro(e.googleFontFamily) ? /* @__PURE__ */ g(W, { children: [
|
|
4598
4598
|
/* @__PURE__ */ s("link", { rel: "preconnect", href: "https://fonts.googleapis.com" }),
|
|
4599
4599
|
/* @__PURE__ */ s(
|
|
4600
4600
|
"link",
|
|
@@ -4743,7 +4743,7 @@ const ad = (e) => Array.isArray(e) ? e.length > 0 : e && typeof e == "object" ?
|
|
|
4743
4743
|
googleAds: t = !1,
|
|
4744
4744
|
syndication: n = !1,
|
|
4745
4745
|
adsense: a = !1
|
|
4746
|
-
}) => /* @__PURE__ */
|
|
4746
|
+
}) => /* @__PURE__ */ g(W, { children: [
|
|
4747
4747
|
e && /* @__PURE__ */ s(
|
|
4748
4748
|
"link",
|
|
4749
4749
|
{
|
|
@@ -5227,7 +5227,7 @@ class et {
|
|
|
5227
5227
|
...m
|
|
5228
5228
|
])).map(
|
|
5229
5229
|
(A) => bt(A)?.data
|
|
5230
|
-
),
|
|
5230
|
+
), b = await Li(
|
|
5231
5231
|
d,
|
|
5232
5232
|
this.getNews,
|
|
5233
5233
|
`${this.contract.note.relatedPrimary}${this.contract.note.relatedThumb}`
|
|
@@ -5241,7 +5241,7 @@ class et {
|
|
|
5241
5241
|
return {
|
|
5242
5242
|
news: i ?? [],
|
|
5243
5243
|
autor: l,
|
|
5244
|
-
newsRelatedResponses:
|
|
5244
|
+
newsRelatedResponses: b,
|
|
5245
5245
|
itemList: bt(o)?.data ?? [],
|
|
5246
5246
|
newsRelatedListResponses: f,
|
|
5247
5247
|
schemasImages: w ?? []
|
|
@@ -5525,8 +5525,8 @@ const os = Symbol("bucket-retry-exhausted"), Ad = async (e, t) => {
|
|
|
5525
5525
|
},
|
|
5526
5526
|
seccion: async (e) => {
|
|
5527
5527
|
const { meta: t, config: n, pathname: a, slug: r, axiosApi: o, metaSource: i } = e, { PUBLIC_LNG: c } = I(), d = Ot(a).split("/"), u = [], h = Pt(a), m = Number(n.newsListLimit) || 0, p = c === "en";
|
|
5528
|
-
let f = i?.sectionName,
|
|
5529
|
-
if (f === void 0 ||
|
|
5528
|
+
let f = i?.sectionName, b = i?.hasNextPage;
|
|
5529
|
+
if (f === void 0 || b === void 0) {
|
|
5530
5530
|
Rt("seccion");
|
|
5531
5531
|
const y = new et({ config: n, axiosApi: o });
|
|
5532
5532
|
try {
|
|
@@ -5539,12 +5539,12 @@ const os = Symbol("bucket-retry-exhausted"), Ad = async (e, t) => {
|
|
|
5539
5539
|
page: h
|
|
5540
5540
|
});
|
|
5541
5541
|
if (!v || (C = v.data.data, N = !(C.length < m), !C?.length)) return pe(t, n);
|
|
5542
|
-
f = C[0].info.section?.name,
|
|
5542
|
+
f = C[0].info.section?.name, b = N;
|
|
5543
5543
|
} catch (C) {
|
|
5544
5544
|
return console.error(C), pe(t, n, 500);
|
|
5545
5545
|
}
|
|
5546
5546
|
}
|
|
5547
|
-
|
|
5547
|
+
b && u.push({ rel: "next", url: It(n, d, h) }), h > 1 && u.push({ rel: "prev", url: Ut(n, d, h) });
|
|
5548
5548
|
const w = p ? `Latest News from ${f} | ${n.name}` : `Últimas Noticias de ${f} | ${n.name}`, A = p ? `All the latest news from ${f} on ${n.name}` : `Todas las últimas noticias de ${f} en ${n.name}`;
|
|
5549
5549
|
return {
|
|
5550
5550
|
...t,
|
|
@@ -5583,8 +5583,8 @@ const os = Symbol("bucket-retry-exhausted"), Ad = async (e, t) => {
|
|
|
5583
5583
|
},
|
|
5584
5584
|
tema: async (e) => {
|
|
5585
5585
|
const { meta: t, config: n, pathname: a, slug: r, axiosApi: o, metaSource: i } = e, l = Ot(a).split("/"), d = [], u = Pt(a), h = Number(n.newsListLimit) || 0, { PUBLIC_TAG_TYPE: m, PUBLIC_LNG: p } = I(), f = p === "en";
|
|
5586
|
-
let
|
|
5587
|
-
if (
|
|
5586
|
+
let b = i?.tagName, w = i?.hasNextPage;
|
|
5587
|
+
if (b === void 0 || w === void 0) {
|
|
5588
5588
|
Rt("tema");
|
|
5589
5589
|
const C = new et({ config: n, axiosApi: o }), N = /([t][0-9]{4})\w+/.exec(r || ""), v = N && N?.length > 0 ? N[0].replace("t", "") : "";
|
|
5590
5590
|
try {
|
|
@@ -5599,7 +5599,7 @@ const os = Symbol("bucket-retry-exhausted"), Ad = async (e, t) => {
|
|
|
5599
5599
|
if (!S) return pe(t, n);
|
|
5600
5600
|
const T = S.data.entity;
|
|
5601
5601
|
if (!T) return pe(t, n);
|
|
5602
|
-
|
|
5602
|
+
b = T.name, w = !(S.data.data?.length < h);
|
|
5603
5603
|
} catch (S) {
|
|
5604
5604
|
return console.error(S), pe(t, n, 500);
|
|
5605
5605
|
}
|
|
@@ -5611,7 +5611,7 @@ const os = Symbol("bucket-retry-exhausted"), Ad = async (e, t) => {
|
|
|
5611
5611
|
rel: "prev",
|
|
5612
5612
|
url: Ut(n, l, u)
|
|
5613
5613
|
});
|
|
5614
|
-
const A = f ? `Latest news about ${
|
|
5614
|
+
const A = f ? `Latest news about ${b} | ${n.name}` : `Últimas noticias de ${b} | ${n.name}`, y = f ? `The latest news about ${b} on ${n.name}` : `Las últimas noticias sobre ${b} en ${n.name}`;
|
|
5615
5615
|
return {
|
|
5616
5616
|
...t,
|
|
5617
5617
|
title: A,
|
|
@@ -5660,9 +5660,9 @@ const os = Symbol("bucket-retry-exhausted"), Ad = async (e, t) => {
|
|
|
5660
5660
|
let f = i?.hasNextPage;
|
|
5661
5661
|
if (f === void 0) {
|
|
5662
5662
|
if (Rt("ultimas-noticias"), !o) return p;
|
|
5663
|
-
const
|
|
5663
|
+
const b = new et({ config: n, axiosApi: o });
|
|
5664
5664
|
try {
|
|
5665
|
-
const w = await
|
|
5665
|
+
const w = await b.getNewsList({
|
|
5666
5666
|
size: h,
|
|
5667
5667
|
newstype: n.newsType,
|
|
5668
5668
|
exclude: "keywords,gallery,related,relatedexternal,external,customfields",
|
|
@@ -5870,12 +5870,12 @@ const os = Symbol("bucket-retry-exhausted"), Ad = async (e, t) => {
|
|
|
5870
5870
|
rel: "prev",
|
|
5871
5871
|
url: Ut(n, l, u)
|
|
5872
5872
|
});
|
|
5873
|
-
const
|
|
5873
|
+
const b = h ? `Latest News from ${p} | ${n.name}` : `Últimas Noticias de ${p} | ${n.name}`, w = h ? `All the latest news from ${p} on ${n.name}` : `Todas las últimas noticias de ${p} en ${n.name}`;
|
|
5874
5874
|
return {
|
|
5875
5875
|
...t,
|
|
5876
|
-
title:
|
|
5876
|
+
title: b,
|
|
5877
5877
|
description: w,
|
|
5878
|
-
...Be(t, n.siteUrl + a,
|
|
5878
|
+
...Be(t, n.siteUrl + a, b, w),
|
|
5879
5879
|
manifest: n.manifest,
|
|
5880
5880
|
icons: {
|
|
5881
5881
|
...n.icons,
|
|
@@ -5891,7 +5891,7 @@ const os = Symbol("bucket-retry-exhausted"), Ad = async (e, t) => {
|
|
|
5891
5891
|
listAutor: t,
|
|
5892
5892
|
config: n
|
|
5893
5893
|
}) => {
|
|
5894
|
-
const a = t?.[0] ?? null, { DATE_TIMEZONE: r = "America/Mexico_City", PUBLIC_ASSETS_URL: o, PUBLIC_LNG: i } = I(), c = i === "en", l = r, d = a?.info?.date?.modified ? je(a.info.date.modified, l) : void 0, u = e.addtional?.USER_JOBSTART ? je(e.addtional.USER_JOBSTART, l) : void 0, h = o && o !== "false" ? o : "", m = e.addtional, p = m?.USER_USERFB || m?.USER_PAGE_FACEBOOK || m?.USER_FACEBOOK_FAN_PAGE, f = m?.USER_USERTWT || m?.USER_PAGE_TWITTER,
|
|
5894
|
+
const a = t?.[0] ?? null, { DATE_TIMEZONE: r = "America/Mexico_City", PUBLIC_ASSETS_URL: o, PUBLIC_LNG: i } = I(), c = i === "en", l = r, d = a?.info?.date?.modified ? je(a.info.date.modified, l) : void 0, u = e.addtional?.USER_JOBSTART ? je(e.addtional.USER_JOBSTART, l) : void 0, h = o && o !== "false" ? o : "", m = e.addtional, p = m?.USER_USERFB || m?.USER_PAGE_FACEBOOK || m?.USER_FACEBOOK_FAN_PAGE, f = m?.USER_USERTWT || m?.USER_PAGE_TWITTER, b = m?.USER_USERIG || m?.USER_PAGE_INSTAGRAM, w = m?.USER_USERLIN || m?.USER_PAGE_LINKEDIN, A = m?.USER_PAGE_TIKTOK, y = m?.USER_PAGE_YOUTUBE, C = m?.USER_PAGE_PINTEREST, N = c ? m?.USER_POSITION_EN || "" : m?.USER_JOBTITLE || m?.USER_POSITION || "", v = c ? m?.USER_DESCRIPCION_EN || m?.USER_MIBIO_EN || "" : m?.USER_DESCRIPCION || m?.USER_MIBIO || "", S = e?.addtional?.USER_SHOWEMAIL === !0 || m?.USER_MOSTRAR_MAIL?.toUpperCase() === "TRUE", T = he(), P = {
|
|
5895
5895
|
"@context": "https://schema.org",
|
|
5896
5896
|
"@type": "ProfilePage",
|
|
5897
5897
|
mainEntity: {
|
|
@@ -5903,7 +5903,7 @@ const os = Symbol("bucket-retry-exhausted"), Ad = async (e, t) => {
|
|
|
5903
5903
|
image: e.info.image ? e.info.image.sizes.map((z, O) => O === 0 && e.info.image.sizes.length !== 1 ? null : h + z.url).filter(Boolean) : [],
|
|
5904
5904
|
sameAs: [
|
|
5905
5905
|
p,
|
|
5906
|
-
|
|
5906
|
+
b,
|
|
5907
5907
|
w,
|
|
5908
5908
|
f,
|
|
5909
5909
|
A,
|
|
@@ -6299,7 +6299,7 @@ function Td({
|
|
|
6299
6299
|
configOriginAuditReport: t
|
|
6300
6300
|
}) {
|
|
6301
6301
|
const { HTML_AUDIT: n, HTML_AUDIT_NONCE: a } = I();
|
|
6302
|
-
return n ? /* @__PURE__ */
|
|
6302
|
+
return n ? /* @__PURE__ */ g(W, { children: [
|
|
6303
6303
|
/* @__PURE__ */ s(
|
|
6304
6304
|
"script",
|
|
6305
6305
|
{
|
|
@@ -6428,7 +6428,7 @@ async function Pf({
|
|
|
6428
6428
|
banners: m,
|
|
6429
6429
|
schemasImages: p,
|
|
6430
6430
|
internalPath: f,
|
|
6431
|
-
metaSource:
|
|
6431
|
+
metaSource: b,
|
|
6432
6432
|
config: w,
|
|
6433
6433
|
socials: A,
|
|
6434
6434
|
speculationType: y = "Common",
|
|
@@ -6441,9 +6441,9 @@ async function Pf({
|
|
|
6441
6441
|
configOriginAuditReport: z
|
|
6442
6442
|
}) {
|
|
6443
6443
|
const O = { ...Pd, ...t }, R = Qo(r, l), F = p && p[0] && p[0].preview ? p[0] : void 0, $ = he(), B = Number(w.newsListLimit) || 0, L = {
|
|
6444
|
-
...
|
|
6445
|
-
...
|
|
6446
|
-
...
|
|
6444
|
+
...b,
|
|
6445
|
+
...b?.fullname === void 0 && d ? { fullname: d.info?.fullname } : {},
|
|
6446
|
+
...b?.hasNextPage === void 0 && u ? { hasNextPage: !(u.length < B) } : {}
|
|
6447
6447
|
}, U = v || await vd[r]({
|
|
6448
6448
|
meta: n,
|
|
6449
6449
|
config: { ...w, siteUrl: w.siteUrl + $ },
|
|
@@ -6464,7 +6464,7 @@ async function Pf({
|
|
|
6464
6464
|
currentNew: h,
|
|
6465
6465
|
internalPath: f
|
|
6466
6466
|
});
|
|
6467
|
-
return /* @__PURE__ */
|
|
6467
|
+
return /* @__PURE__ */ g(W, { children: [
|
|
6468
6468
|
/* @__PURE__ */ s("meta", { charSet: "utf-8" }),
|
|
6469
6469
|
/* @__PURE__ */ s("meta", { name: "viewport", content: "width=device-width, initial-scale=1" }),
|
|
6470
6470
|
/* @__PURE__ */ s(Ji, {}),
|
|
@@ -6591,8 +6591,8 @@ const Rf = ({
|
|
|
6591
6591
|
config: o,
|
|
6592
6592
|
currentNew: c,
|
|
6593
6593
|
internalPath: i
|
|
6594
|
-
}), p = n.find((y) => y.key === "event_analytics"), f = d.before.active,
|
|
6595
|
-
return /* @__PURE__ */
|
|
6594
|
+
}), p = n.find((y) => y.key === "event_analytics"), f = d.before.active, b = d.after.active, w = f ? d.before.customData ? d.before.customData : m : void 0, A = b ? d.after.customData ? d.after.customData : m : void 0;
|
|
6595
|
+
return /* @__PURE__ */ g(W, { children: [
|
|
6596
6596
|
/* @__PURE__ */ s(Lr, { name: "bodybefore", banners: n, replaces: w }),
|
|
6597
6597
|
e,
|
|
6598
6598
|
/* @__PURE__ */ s($l, {}),
|
|
@@ -6625,7 +6625,7 @@ const Rf = ({
|
|
|
6625
6625
|
}
|
|
6626
6626
|
)
|
|
6627
6627
|
}
|
|
6628
|
-
), Of = (e) => /* @__PURE__ */
|
|
6628
|
+
), Of = (e) => /* @__PURE__ */ g("div", { className: "sass-com-loc-content", children: [
|
|
6629
6629
|
/* @__PURE__ */ s(Rd, {}),
|
|
6630
6630
|
/* @__PURE__ */ s("p", { className: "sass-com-loc-location", children: e.place })
|
|
6631
6631
|
] }), Fs = ({
|
|
@@ -6645,7 +6645,7 @@ function Od({
|
|
|
6645
6645
|
enableDrag: o,
|
|
6646
6646
|
onIndexChange: i
|
|
6647
6647
|
}) {
|
|
6648
|
-
const [c, l] = V(!1), [d, u] = V(0), [h, m] = V(0), [p, f] = V(0), [
|
|
6648
|
+
const [c, l] = V(!1), [d, u] = V(0), [h, m] = V(0), [p, f] = V(0), [b, w] = V(0), [A, y] = V(null), C = vr(null), [N, v] = V(1), S = me(() => {
|
|
6649
6649
|
if (r) return 1;
|
|
6650
6650
|
const x = C.current?.offsetWidth || window.innerWidth, k = n + a, D = Math.floor(x / k);
|
|
6651
6651
|
return Math.max(1, D);
|
|
@@ -6703,7 +6703,7 @@ function Od({
|
|
|
6703
6703
|
), L = me(
|
|
6704
6704
|
(x) => {
|
|
6705
6705
|
if (!c || !o) return;
|
|
6706
|
-
const k = h - d, D = Date.now() -
|
|
6706
|
+
const k = h - d, D = Date.now() - b, H = Math.abs(k) / Math.max(D, 1), G = R(k), K = H > 0.5 && Math.abs(k) > 50 ? Math.max(G, 1) : G;
|
|
6707
6707
|
if (K > 0)
|
|
6708
6708
|
if (k > 0) {
|
|
6709
6709
|
const J = Math.max(0, e - K);
|
|
@@ -6718,7 +6718,7 @@ function Od({
|
|
|
6718
6718
|
c,
|
|
6719
6719
|
h,
|
|
6720
6720
|
d,
|
|
6721
|
-
|
|
6721
|
+
b,
|
|
6722
6722
|
e,
|
|
6723
6723
|
P,
|
|
6724
6724
|
o,
|
|
@@ -6790,7 +6790,7 @@ function Bf(e) {
|
|
|
6790
6790
|
}, []);
|
|
6791
6791
|
const {
|
|
6792
6792
|
isDragging: f,
|
|
6793
|
-
translateOffset:
|
|
6793
|
+
translateOffset: b,
|
|
6794
6794
|
carrouselRef: w,
|
|
6795
6795
|
maxIndex: A,
|
|
6796
6796
|
getTranslateValue: y,
|
|
@@ -6816,8 +6816,8 @@ function Bf(e) {
|
|
|
6816
6816
|
v(u + 1);
|
|
6817
6817
|
}, [u, v]);
|
|
6818
6818
|
if (!m) return;
|
|
6819
|
-
const P = y(u,
|
|
6820
|
-
return /* @__PURE__ */
|
|
6819
|
+
const P = y(u, b), z = i ? `translateX(${P}%)` : `translateX(${P}px)`;
|
|
6820
|
+
return /* @__PURE__ */ g("div", { className: `${n}- carrousel-container`, children: [
|
|
6821
6821
|
u > 0 && /* @__PURE__ */ s(
|
|
6822
6822
|
"button",
|
|
6823
6823
|
{
|
|
@@ -6944,7 +6944,7 @@ function Bd({
|
|
|
6944
6944
|
slot_id: r,
|
|
6945
6945
|
pagination: o
|
|
6946
6946
|
}) {
|
|
6947
|
-
return /* @__PURE__ */
|
|
6947
|
+
return /* @__PURE__ */ g("div", { className: "carrousel-container", id: "ssr-dummy_" + r, children: [
|
|
6948
6948
|
/* @__PURE__ */ s(
|
|
6949
6949
|
"div",
|
|
6950
6950
|
{
|
|
@@ -7017,8 +7017,8 @@ const Ft = (e) => /* @__PURE__ */ s("div", { className: "su-flex su-flex-col sas
|
|
|
7017
7017
|
);
|
|
7018
7018
|
};
|
|
7019
7019
|
function _(e) {
|
|
7020
|
-
const { SUB_PUBLICATION_PREFIX_IN_ROUTES: t, LINK_REMOVE: n, CONFIG_buscar_html: a } = I(), { block_subPublication: r, LINK_REMOVE: o } = e, i = o ?? n, c = Dd(e.href), l = e.hasOwnProperty("href") && e.href ? (e.href ?? "").includes("/buscar") : !1, d = t?.tema && c, u = t?.buscar && l, h = !r && !d && !u ? he() : "", m = /^(https?:)?\/\//.test(e.href) || /^[a-zA-Z][a-zA-Z\d+\-.]*:/.test(e.href), p = (typeof e.href == "string" ? e.href : "").split("/")?.[1] === h.replace("/", ""), { LINK_REMOVE: f, ...
|
|
7021
|
-
...
|
|
7020
|
+
const { SUB_PUBLICATION_PREFIX_IN_ROUTES: t, LINK_REMOVE: n, CONFIG_buscar_html: a } = I(), { block_subPublication: r, LINK_REMOVE: o } = e, i = o ?? n, c = Dd(e.href), l = e.hasOwnProperty("href") && e.href ? (e.href ?? "").includes("/buscar") : !1, d = t?.tema && c, u = t?.buscar && l, h = !r && !d && !u ? he() : "", m = /^(https?:)?\/\//.test(e.href) || /^[a-zA-Z][a-zA-Z\d+\-.]*:/.test(e.href), p = (typeof e.href == "string" ? e.href : "").split("/")?.[1] === h.replace("/", ""), { LINK_REMOVE: f, ...b } = e, w = {
|
|
7021
|
+
...b,
|
|
7022
7022
|
href: (!m && !p ? h : "") + (h && e.href === "/" ? "" : e.href ?? "")
|
|
7023
7023
|
};
|
|
7024
7024
|
return w.href.startsWith("//") && (w.href = w.href.replace("/", "")), i && w.href.search(i) !== -1 && (w.href = w.href.replace(i, "")), a && l && !w.href.endsWith(".html") && (w.href = w.href.replace("/buscar", "/buscar.html")), m ? /* @__PURE__ */ s(
|
|
@@ -7045,7 +7045,7 @@ const Mf = async (e) => {
|
|
|
7045
7045
|
"sass-com-sc5-sectionDescription",
|
|
7046
7046
|
t ? a : void 0
|
|
7047
7047
|
), o = await fe(e?.preview?.sizes?.[0]?.url ?? ""), i = e.isHome ? e?.main?.title?.home : e?.main?.title?.section;
|
|
7048
|
-
return e && e.info ? /* @__PURE__ */
|
|
7048
|
+
return e && e.info ? /* @__PURE__ */ g(
|
|
7049
7049
|
"section",
|
|
7050
7050
|
{
|
|
7051
7051
|
className: "sass-com-sc5-content",
|
|
@@ -7054,7 +7054,7 @@ const Mf = async (e) => {
|
|
|
7054
7054
|
"--section-card-5-text-alignment": e.textAlignment
|
|
7055
7055
|
},
|
|
7056
7056
|
children: [
|
|
7057
|
-
/* @__PURE__ */
|
|
7057
|
+
/* @__PURE__ */ g("div", { children: [
|
|
7058
7058
|
/* @__PURE__ */ s(
|
|
7059
7059
|
_,
|
|
7060
7060
|
{
|
|
@@ -7142,7 +7142,7 @@ const Mf = async (e) => {
|
|
|
7142
7142
|
);
|
|
7143
7143
|
}, Vn = (e) => {
|
|
7144
7144
|
const { PUBLIC_ENV: t } = I(), n = re("/clipboard.svg");
|
|
7145
|
-
return t !== "" && !e.forceSVG ? /* @__PURE__ */ s("img", { fetchPriority: "low", loading: "lazy", src: n, alt: "", ...e }) : /* @__PURE__ */
|
|
7145
|
+
return t !== "" && !e.forceSVG ? /* @__PURE__ */ s("img", { fetchPriority: "low", loading: "lazy", src: n, alt: "", ...e }) : /* @__PURE__ */ g(
|
|
7146
7146
|
"svg",
|
|
7147
7147
|
{
|
|
7148
7148
|
width: "24",
|
|
@@ -7464,7 +7464,7 @@ function Vd({ noteShare: e }) {
|
|
|
7464
7464
|
const t = e && e.url || (typeof window < "u" ? window.location.href : "https://example.com");
|
|
7465
7465
|
if (!e) return null;
|
|
7466
7466
|
const n = ft();
|
|
7467
|
-
return /* @__PURE__ */
|
|
7467
|
+
return /* @__PURE__ */ g("div", { className: "sass-com-nd-socialNetworkSection sass-news-description-social-network-section", children: [
|
|
7468
7468
|
e.options?.map((a) => {
|
|
7469
7469
|
const r = Hd[a];
|
|
7470
7470
|
if (!r) return null;
|
|
@@ -7540,7 +7540,7 @@ const Ze = (e) => {
|
|
|
7540
7540
|
paths: o,
|
|
7541
7541
|
newsDescriptionSectionTag: i = "span",
|
|
7542
7542
|
speculationPrerenderClass: c
|
|
7543
|
-
} = e, { SHOW_TAG_BY_SECTION: l, SUB_PUBLICATION_PREFIX_IN_ROUTES: d, DATE_TIMEZONE: u } = I(), h = zd(e.authors), p = (Array.isArray(h) ? h : []).slice(0, 2), f = !!e.config?.showauthor,
|
|
7543
|
+
} = e, { SHOW_TAG_BY_SECTION: l, SUB_PUBLICATION_PREFIX_IN_ROUTES: d, DATE_TIMEZONE: u } = I(), h = zd(e.authors), p = (Array.isArray(h) ? h : []).slice(0, 2), f = !!e.config?.showauthor, b = !!e.config?.showtime, w = (v) => /* @__PURE__ */ s("span", { className: "sass-com-nd-correspondentName", children: v }), A = () => f ? p.length === 0 ? w("Redacción") : p.map((v, S) => {
|
|
7544
7544
|
const T = v.Figure || v.fullname || "Redacción", P = S > 0 ? /* @__PURE__ */ s("span", { className: "sass-com-nd-correspondentSeparator", children: ", " }) : null, z = v.internaluser ? /* @__PURE__ */ s(
|
|
7545
7545
|
_,
|
|
7546
7546
|
{
|
|
@@ -7551,14 +7551,14 @@ const Ze = (e) => {
|
|
|
7551
7551
|
children: w(T)
|
|
7552
7552
|
}
|
|
7553
7553
|
) : w(T);
|
|
7554
|
-
return /* @__PURE__ */
|
|
7554
|
+
return /* @__PURE__ */ g(ue.Fragment, { children: [
|
|
7555
7555
|
P,
|
|
7556
7556
|
z
|
|
7557
7557
|
] }, v.name || `${T}-${S}`);
|
|
7558
|
-
}) : null, y = () => !f && !
|
|
7558
|
+
}) : null, y = () => !f && !b ? null : /* @__PURE__ */ g("span", { className: "sass-com-nd-correspondent", children: [
|
|
7559
7559
|
A(),
|
|
7560
|
-
f &&
|
|
7561
|
-
|
|
7560
|
+
f && b && /* @__PURE__ */ s("span", { className: "sass-com-nd-correspondentSeparator", children: " - " }),
|
|
7561
|
+
b && /* @__PURE__ */ s(
|
|
7562
7562
|
"time",
|
|
7563
7563
|
{
|
|
7564
7564
|
className: "sass-com-nd-correspondentTime",
|
|
@@ -7576,7 +7576,7 @@ const Ze = (e) => {
|
|
|
7576
7576
|
return ue.createElement(
|
|
7577
7577
|
i,
|
|
7578
7578
|
{ className: "sass-com-nd-sectionDescriptionContainer section" },
|
|
7579
|
-
/* @__PURE__ */
|
|
7579
|
+
/* @__PURE__ */ g(W, { children: [
|
|
7580
7580
|
v.approved ? /* @__PURE__ */ s(
|
|
7581
7581
|
_,
|
|
7582
7582
|
{
|
|
@@ -7595,7 +7595,7 @@ const Ze = (e) => {
|
|
|
7595
7595
|
return ue.createElement(
|
|
7596
7596
|
i,
|
|
7597
7597
|
{ className: "sass-com-nd-sectionDescriptionContainer section" },
|
|
7598
|
-
/* @__PURE__ */
|
|
7598
|
+
/* @__PURE__ */ g(W, { children: [
|
|
7599
7599
|
/* @__PURE__ */ s(
|
|
7600
7600
|
_,
|
|
7601
7601
|
{
|
|
@@ -7611,7 +7611,7 @@ const Ze = (e) => {
|
|
|
7611
7611
|
}
|
|
7612
7612
|
return null;
|
|
7613
7613
|
};
|
|
7614
|
-
return /* @__PURE__ */
|
|
7614
|
+
return /* @__PURE__ */ g("div", { className: "sass-com-nd-boxInformation sass-news-description", children: [
|
|
7615
7615
|
t && /* @__PURE__ */ s(
|
|
7616
7616
|
"div",
|
|
7617
7617
|
{
|
|
@@ -7654,7 +7654,7 @@ const Ze = (e) => {
|
|
|
7654
7654
|
),
|
|
7655
7655
|
y()
|
|
7656
7656
|
] });
|
|
7657
|
-
}, uo = (e) => /* @__PURE__ */
|
|
7657
|
+
}, uo = (e) => /* @__PURE__ */ g(
|
|
7658
7658
|
"svg",
|
|
7659
7659
|
{
|
|
7660
7660
|
width: "43",
|
|
@@ -7683,10 +7683,10 @@ function ho() {
|
|
|
7683
7683
|
}
|
|
7684
7684
|
const $d = (e) => {
|
|
7685
7685
|
const { isVideo: t = !1, priorityHigh: n = !1 } = e, a = mo(), r = e.preview.sizes;
|
|
7686
|
-
return r ? r.length === 1 ? /* @__PURE__ */
|
|
7687
|
-
/* @__PURE__ */
|
|
7686
|
+
return r ? r.length === 1 ? /* @__PURE__ */ g("figure", { className: "sass-com-img-figure", children: [
|
|
7687
|
+
/* @__PURE__ */ g("span", { className: "sass-com-img-backdrop", children: [
|
|
7688
7688
|
/* @__PURE__ */ s("span", { className: "sass-com-img-backdropAux" }),
|
|
7689
|
-
/* @__PURE__ */
|
|
7689
|
+
/* @__PURE__ */ g("picture", { children: [
|
|
7690
7690
|
/* @__PURE__ */ s(
|
|
7691
7691
|
"img",
|
|
7692
7692
|
{
|
|
@@ -7712,10 +7712,10 @@ const $d = (e) => {
|
|
|
7712
7712
|
] })
|
|
7713
7713
|
] }),
|
|
7714
7714
|
e.figCaption && e.figCaption !== "" && /* @__PURE__ */ s("figcaption", { children: e.figCaption })
|
|
7715
|
-
] }) : /* @__PURE__ */
|
|
7716
|
-
/* @__PURE__ */
|
|
7715
|
+
] }) : /* @__PURE__ */ g("figure", { className: "sass-com-img-figure", children: [
|
|
7716
|
+
/* @__PURE__ */ g("span", { className: "sass-com-img-backdrop", children: [
|
|
7717
7717
|
/* @__PURE__ */ s("span", { className: "sass-com-img-backdropAux" }),
|
|
7718
|
-
/* @__PURE__ */
|
|
7718
|
+
/* @__PURE__ */ g("picture", { children: [
|
|
7719
7719
|
r.map((o, i) => {
|
|
7720
7720
|
if (e.isLarge)
|
|
7721
7721
|
return o.width >= 580 ? /* @__PURE__ */ s(
|
|
@@ -7765,7 +7765,7 @@ const $d = (e) => {
|
|
|
7765
7765
|
] }),
|
|
7766
7766
|
e.figCaption && e.figCaption !== "" && /* @__PURE__ */ s("figcaption", { children: e.figCaption })
|
|
7767
7767
|
] }) : null;
|
|
7768
|
-
}, pt = (e) => /* @__PURE__ */
|
|
7768
|
+
}, pt = (e) => /* @__PURE__ */ g("svg", { width: "28", height: "28", viewBox: "0 0 28 28", ...e, xmlns: "http://www.w3.org/2000/svg", children: [
|
|
7769
7769
|
/* @__PURE__ */ s("g", { clipPath: "url(#clip0_2503_6565)", children: /* @__PURE__ */ s("path", { d: "M22.1668 7.47825L20.5218 5.83325L14.0002 12.3549L7.4785 5.83325L5.8335 7.47825L12.3552 13.9999L5.8335 20.5216L7.4785 22.1666L14.0002 15.6449L20.5218 22.1666L22.1668 20.5216L15.6452 13.9999L22.1668 7.47825Z", fill: "currentColor" }) }),
|
|
7770
7770
|
/* @__PURE__ */ s("defs", { children: /* @__PURE__ */ s("clipPath", { id: "clip0_2503_6565", children: /* @__PURE__ */ s("rect", { width: "28", height: "28", fill: "currentColor" }) }) })
|
|
7771
7771
|
] }), Qd = (e) => {
|
|
@@ -7777,9 +7777,9 @@ const $d = (e) => {
|
|
|
7777
7777
|
} = e, o = ho();
|
|
7778
7778
|
let i;
|
|
7779
7779
|
const c = t?.sizes;
|
|
7780
|
-
return c?.[0]?.url ? i = `/api/image-proxy?url=${encodeURIComponent(c[0].url)}` : i = c?.[0]?.url, c && i && i !== "invalidURL" ? /* @__PURE__ */ s("figure", { className: "sass-com-img-figure", children: /* @__PURE__ */
|
|
7780
|
+
return c?.[0]?.url ? i = `/api/image-proxy?url=${encodeURIComponent(c[0].url)}` : i = c?.[0]?.url, c && i && i !== "invalidURL" ? /* @__PURE__ */ s("figure", { className: "sass-com-img-figure", children: /* @__PURE__ */ g("span", { className: "sass-com-img-backdrop", children: [
|
|
7781
7781
|
/* @__PURE__ */ s("span", { className: "sass-com-img-backdropAux" }),
|
|
7782
|
-
/* @__PURE__ */
|
|
7782
|
+
/* @__PURE__ */ g("picture", { children: [
|
|
7783
7783
|
/* @__PURE__ */ s(
|
|
7784
7784
|
"img",
|
|
7785
7785
|
{
|
|
@@ -7845,7 +7845,7 @@ const $d = (e) => {
|
|
|
7845
7845
|
style: {
|
|
7846
7846
|
...e.customNewsDescriptionStyles
|
|
7847
7847
|
},
|
|
7848
|
-
children: e.block.map(async (n, a) => /* @__PURE__ */
|
|
7848
|
+
children: e.block.map(async (n, a) => /* @__PURE__ */ g(
|
|
7849
7849
|
"div",
|
|
7850
7850
|
{
|
|
7851
7851
|
className: "sass-com-ndb1-contentNew",
|
|
@@ -7853,7 +7853,7 @@ const $d = (e) => {
|
|
|
7853
7853
|
flexDirection: t ? "row-reverse" : "row"
|
|
7854
7854
|
},
|
|
7855
7855
|
children: [
|
|
7856
|
-
/* @__PURE__ */
|
|
7856
|
+
/* @__PURE__ */ g(
|
|
7857
7857
|
"div",
|
|
7858
7858
|
{
|
|
7859
7859
|
className: "sass-com-ndb1-imageBox",
|
|
@@ -8836,7 +8836,7 @@ const $d = (e) => {
|
|
|
8836
8836
|
slug: i,
|
|
8837
8837
|
url: `/${i}`
|
|
8838
8838
|
} : void 0, l = { videoPath: e.videoPath, videoSection: c }, d = xn(e.content, l);
|
|
8839
|
-
return d.length > 0 ? t = d.map(o) : n === "local" && a === "false" && r && (t = xn(Wd.data, l).map(o)), Array.isArray(t) && t.length > 0 && /* @__PURE__ */
|
|
8839
|
+
return d.length > 0 ? t = d.map(o) : n === "local" && a === "false" && r && (t = xn(Wd.data, l).map(o)), Array.isArray(t) && t.length > 0 && /* @__PURE__ */ g(
|
|
8840
8840
|
"aside",
|
|
8841
8841
|
{
|
|
8842
8842
|
"aria-label": "Lo Más Leído",
|
|
@@ -8856,10 +8856,10 @@ const $d = (e) => {
|
|
|
8856
8856
|
]
|
|
8857
8857
|
}
|
|
8858
8858
|
);
|
|
8859
|
-
}, Kd = (e) => /* @__PURE__ */
|
|
8859
|
+
}, Kd = (e) => /* @__PURE__ */ g("section", { className: ["sass-com-subc-content", e.className ?? ""].join(" "), children: [
|
|
8860
8860
|
/* @__PURE__ */ s("div", { className: "sass-com-subc-subscribeImage", children: e.image }),
|
|
8861
8861
|
/* @__PURE__ */ s("div", { className: "sass-com-subc-tag", children: String(e.texts.newsletterTag ?? "NEWS") }),
|
|
8862
|
-
/* @__PURE__ */
|
|
8862
|
+
/* @__PURE__ */ g("div", { className: "sass-com-subc-contentTitle", children: [
|
|
8863
8863
|
/* @__PURE__ */ s("p", { className: "sass-com-subc-title", children: e.title }),
|
|
8864
8864
|
/* @__PURE__ */ s("p", { className: "sass-com-subc-subtitle", children: e.sibtitle })
|
|
8865
8865
|
] }),
|
|
@@ -8873,7 +8873,7 @@ const $d = (e) => {
|
|
|
8873
8873
|
) }),
|
|
8874
8874
|
/* @__PURE__ */ s("span", { id: "newsletter-message" }),
|
|
8875
8875
|
e.linkUrl ? /* @__PURE__ */ s(_, { href: e.linkUrl, target: "_blank", id: "newsletter-button", className: "sass-com-subc-buttonStyled", children: String(e.texts.newsletterButtonText ?? "Suscribirme") }) : /* @__PURE__ */ s("button", { id: "newsletter-button", className: "sass-com-subc-buttonStyled", children: String(e.texts.newsletterButtonText ?? "Suscribirme") }),
|
|
8876
|
-
/* @__PURE__ */
|
|
8876
|
+
/* @__PURE__ */ g("div", { className: "sass-com-subc-contentTerms", children: [
|
|
8877
8877
|
/* @__PURE__ */ s("p", { className: "sass-com-subc-subscribeText", children: String(e.texts.newsletterTermsText ?? "Suscribirte implica aceptar los") }),
|
|
8878
8878
|
/* @__PURE__ */ s(
|
|
8879
8879
|
_,
|
|
@@ -8911,15 +8911,15 @@ const $d = (e) => {
|
|
|
8911
8911
|
htmlFor: e?.toggledrawerevent === "true" ? "side-bar-state" : ""
|
|
8912
8912
|
}
|
|
8913
8913
|
) : /* @__PURE__ */ s(_, { ...a, style: r });
|
|
8914
|
-
}, Jd = (e) => /* @__PURE__ */
|
|
8914
|
+
}, Jd = (e) => /* @__PURE__ */ g("section", { className: "sass-com-subr-content", children: [
|
|
8915
8915
|
/* @__PURE__ */ s("div", { className: "sass-com-subr-subscribeImage", children: e.image }),
|
|
8916
|
-
/* @__PURE__ */
|
|
8916
|
+
/* @__PURE__ */ g("div", { className: "sass-com-subr-contentInfo", children: [
|
|
8917
8917
|
/* @__PURE__ */ s("div", { className: "sass-com-subr-tag", children: String(e.texts.newsletterTag ?? "NEWS") }),
|
|
8918
|
-
/* @__PURE__ */
|
|
8918
|
+
/* @__PURE__ */ g("div", { className: "sass-com-subr-contentTitle", children: [
|
|
8919
8919
|
/* @__PURE__ */ s("p", { className: "sass-com-subr-title", children: e.title }),
|
|
8920
8920
|
/* @__PURE__ */ s("p", { className: "sass-com-subr-subTitle", children: e.sibtitle })
|
|
8921
8921
|
] }),
|
|
8922
|
-
/* @__PURE__ */
|
|
8922
|
+
/* @__PURE__ */ g("div", { className: "sass-com-subr-inputStyled", children: [
|
|
8923
8923
|
/* @__PURE__ */ s(
|
|
8924
8924
|
"input",
|
|
8925
8925
|
{
|
|
@@ -8930,12 +8930,12 @@ const $d = (e) => {
|
|
|
8930
8930
|
),
|
|
8931
8931
|
e.linkUrl ? /* @__PURE__ */ s(_, { href: e.linkUrl, target: "_blank", className: "sass-com-subr-buttonStyled", children: String(e.texts.newsletterButtonText ?? "Suscribirme") }) : /* @__PURE__ */ s($s, { className: "sass-com-subr-buttonStyled", size: "large", full: !0, children: String(e.texts.newsletterButtonText ?? "Suscribirme") })
|
|
8932
8932
|
] }),
|
|
8933
|
-
/* @__PURE__ */
|
|
8933
|
+
/* @__PURE__ */ g("div", { className: "sass-com-subr-contentTerms", children: [
|
|
8934
8934
|
/* @__PURE__ */ s("p", { className: "sass-com-subr-subscribeText", children: String(e.texts.newsletterTermsText ?? "Suscribirte implica aceptar los") }),
|
|
8935
8935
|
/* @__PURE__ */ s(_, { className: "sass-com-subr-terms", href: e.termsLink, children: String(e.texts.newsletterTermsAnchor ?? "Términos y condiciones") })
|
|
8936
8936
|
] })
|
|
8937
8937
|
] })
|
|
8938
|
-
] }), Zd = (e) => /* @__PURE__ */
|
|
8938
|
+
] }), Zd = (e) => /* @__PURE__ */ g(
|
|
8939
8939
|
"svg",
|
|
8940
8940
|
{
|
|
8941
8941
|
width: "284",
|
|
@@ -8947,7 +8947,7 @@ const $d = (e) => {
|
|
|
8947
8947
|
...e,
|
|
8948
8948
|
children: [
|
|
8949
8949
|
/* @__PURE__ */ s("rect", { width: "284", height: "257", fill: "url(#pattern0_3159_5916)" }),
|
|
8950
|
-
/* @__PURE__ */
|
|
8950
|
+
/* @__PURE__ */ g("defs", { children: [
|
|
8951
8951
|
/* @__PURE__ */ s(
|
|
8952
8952
|
"pattern",
|
|
8953
8953
|
{
|
|
@@ -8976,13 +8976,13 @@ const $d = (e) => {
|
|
|
8976
8976
|
] })
|
|
8977
8977
|
]
|
|
8978
8978
|
}
|
|
8979
|
-
), _f = (e) => /* @__PURE__ */
|
|
8979
|
+
), _f = (e) => /* @__PURE__ */ g("section", { className: "sass-com-subw-content", children: [
|
|
8980
8980
|
/* @__PURE__ */ s(Zd, { className: "sass-com-subw-subscribeImage" }),
|
|
8981
|
-
/* @__PURE__ */
|
|
8981
|
+
/* @__PURE__ */ g("div", { className: "sass-com-subw-contentTitle", children: [
|
|
8982
8982
|
/* @__PURE__ */ s("p", { className: "sass-com-subw-title", children: "Mantenete Informado" }),
|
|
8983
8983
|
/* @__PURE__ */ s("p", { className: "sass-com-subw-subTitle", children: "¿Quieres recibir las noticias más importantes? ¡Suscríbete sin costo, recíbelas por WhatsApp!" })
|
|
8984
8984
|
] }),
|
|
8985
|
-
/* @__PURE__ */
|
|
8985
|
+
/* @__PURE__ */ g(
|
|
8986
8986
|
"a",
|
|
8987
8987
|
{
|
|
8988
8988
|
className: "sass-com-subw-whatsappLink",
|
|
@@ -8990,7 +8990,7 @@ const $d = (e) => {
|
|
|
8990
8990
|
target: "_blank",
|
|
8991
8991
|
children: [
|
|
8992
8992
|
"Quiero Suscribirme",
|
|
8993
|
-
/* @__PURE__ */
|
|
8993
|
+
/* @__PURE__ */ g(
|
|
8994
8994
|
"svg",
|
|
8995
8995
|
{
|
|
8996
8996
|
width: "25",
|
|
@@ -9021,13 +9021,13 @@ const $d = (e) => {
|
|
|
9021
9021
|
]
|
|
9022
9022
|
}
|
|
9023
9023
|
),
|
|
9024
|
-
/* @__PURE__ */
|
|
9024
|
+
/* @__PURE__ */ g("div", { className: "sass-com-subw-contentTerms", children: [
|
|
9025
9025
|
/* @__PURE__ */ s("p", { className: "sass-com-subw-subscribeText", children: "Suscribirte implica aceptar los" }),
|
|
9026
9026
|
/* @__PURE__ */ s(_, { className: "sass-com-subw-terms", href: e.terms, target: "_blank", children: "Términos y condiciones" })
|
|
9027
9027
|
] })
|
|
9028
9028
|
] }), Xd = (e) => {
|
|
9029
9029
|
const { PUBLIC_ENV: t } = I(), n = re("/bluestack.svg");
|
|
9030
|
-
return t !== "" && !e.forceSVG ? /* @__PURE__ */ s("img", { fetchPriority: "low", loading: "lazy", src: n, alt: "BlueStack logo", ...e }) : /* @__PURE__ */
|
|
9030
|
+
return t !== "" && !e.forceSVG ? /* @__PURE__ */ s("img", { fetchPriority: "low", loading: "lazy", src: n, alt: "BlueStack logo", ...e }) : /* @__PURE__ */ g(
|
|
9031
9031
|
"svg",
|
|
9032
9032
|
{
|
|
9033
9033
|
id: "Layer_1",
|
|
@@ -9082,7 +9082,7 @@ const $d = (e) => {
|
|
|
9082
9082
|
return t !== "" && !e.forceSVG ? /* @__PURE__ */ s("img", { fetchPriority: "low", loading: "lazy", width: 23, height: 23, src: n, alt: "", ...e }) : /* @__PURE__ */ s("svg", { width: "40", height: "40", viewBox: "0 0 40 40", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e, children: /* @__PURE__ */ s("path", { d: "M25.3 6.5H15.3C10.7 6.5 7 10.2 7 14.8V24.8C7 29.4 10.7 33.1 15.3 33.1H25.3C29.9 33.1 33.6 29.4 33.6 24.8V14.8C33.6 10.2 29.9 6.5 25.3 6.5ZM31.1 24.6C31.1 27.8 28.5 30.4 25.3 30.4H15.3C12.1 30.4 9.5 27.8 9.5 24.6V14.6C9.5 11.4 12.1 8.8 15.3 8.8H25.3C28.5 8.8 31.1 11.4 31.1 14.6V24.6ZM20.4 13.1C16.8 13.1 13.8 16.1 13.8 19.7C13.8 23.3 16.8 26.3 20.4 26.3C24 26.3 27 23.3 27 19.7C27 16.1 24.1 13.1 20.5 13.1H20.4ZM20.4 23.8C18.1 23.8 16.3 22 16.3 19.7C16.3 17.4 18.1 15.6 20.4 15.6C22.7 15.6 24.5 17.4 24.5 19.7C24.6 21.9 22.8 23.7 20.6 23.8H20.4ZM27.5 11.7C28 11.7 28.4 12.1 28.4 12.6C28.4 13.1 28 13.5 27.5 13.5C27 13.5 26.6 13.1 26.6 12.6C26.6 12.1 27 11.7 27.5 11.7Z", fill: "currentColor" }) });
|
|
9083
9083
|
}, Ge = (e) => {
|
|
9084
9084
|
const { PUBLIC_ENV: t } = I(), n = re("/linkedin.svg");
|
|
9085
|
-
return t !== "" && !e.forceSVG ? /* @__PURE__ */ s("img", { fetchPriority: "low", loading: "lazy", src: n, alt: "", ...e }) : /* @__PURE__ */
|
|
9085
|
+
return t !== "" && !e.forceSVG ? /* @__PURE__ */ s("img", { fetchPriority: "low", loading: "lazy", src: n, alt: "", ...e }) : /* @__PURE__ */ g("svg", { width: "32", height: "32", viewBox: "0 0 42 42", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e, children: [
|
|
9086
9086
|
/* @__PURE__ */ s("path", { d: "M23.9693 19.7768C22.9443 20.1795 22.3065 21.1785 22.3043 22.2887L22.278 32.7258C22.278 33.1474 21.8 33.4956 21.4127 33.4956H16.1736C15.7995 33.4956 15.293 33.1629 15.293 32.7302V14.8898C15.293 14.4081 15.7995 14.0455 16.2229 14.0466L20.9335 14.051C21.3842 14.051 21.7814 14.5105 21.8065 14.9254L21.8481 15.6185C22.9082 14.4994 24.2166 13.803 25.7055 13.6316C26.5599 13.5338 27.3957 13.5326 28.2555 13.625C31.5769 13.9821 34 16.8678 34 20.2318V32.5678C34 33.0283 33.5602 33.4911 33.1216 33.4911L28.3792 33.4945C27.9295 33.4945 27.4766 33.0484 27.4766 32.57L27.4646 22.2298C27.4646 21.7247 27.3847 21.1908 27.1101 20.7769C26.445 19.7735 25.1169 19.3263 23.9704 19.7757L23.9693 19.7768ZM23.5788 18.9414C25.118 18.2683 26.9143 18.8068 27.8606 20.1751C28.261 20.7536 28.3452 21.4099 28.4021 22.1107L28.4481 32.5522H33.0712V20.3442C33.0898 17.3717 30.9664 14.7964 28.0455 14.5539C27.2742 14.4905 26.5347 14.4816 25.7799 14.585C24.3621 14.7775 23.1084 15.5262 22.266 16.6764L20.9423 18.0125L20.9292 14.9911L16.2677 15V32.5522L21.4007 32.5544L21.4028 22.2342C21.4794 20.7858 22.2441 19.5254 23.5777 18.9414H23.5788Z", fill: "currentColor", stroke: "currentColor", "stroke-width": "0.5" }),
|
|
9087
9087
|
/* @__PURE__ */ s("path", { d: "M11.6141 33.4944L7.91316 33.5011C7.09486 33.5022 6.46473 32.847 6.46582 32.006L6.46801 15.4505C6.46801 14.6384 7.09158 14.0432 7.85627 14.0432L11.5211 14.041C12.3689 14.041 13.0023 14.6885 13.0023 15.5595L12.9925 32.1773C12.9925 32.9026 12.2978 33.4922 11.6152 33.4944H11.6141ZM11.6283 32.5544C11.8952 32.4932 12.067 32.3453 12.067 32.0605V15.5106C12.067 15.1835 11.8099 14.991 11.5233 14.991H7.85846C7.59809 14.9922 7.43728 15.1791 7.39789 15.4516V32.006C7.39789 32.2986 7.597 32.5511 7.88034 32.5511L11.6272 32.5555L11.6283 32.5544Z", fill: "currentColor", stroke: "currentColor", "stroke-width": "0.5" }),
|
|
9088
9088
|
/* @__PURE__ */ s("path", { d: "M13.4654 9.03032C13.5595 10.9582 12.2708 12.6836 10.4296 13.0318C9.25798 13.2532 8.14212 12.9372 7.26804 12.1385C6.08982 11.0639 5.67082 9.39631 6.27142 7.88227C6.82716 6.48392 8.16072 5.51164 9.71855 5.4994C10.8103 5.4905 11.7829 5.93103 12.5038 6.75536C13.0628 7.3939 13.4206 8.12701 13.4654 9.03032ZM11.5094 11.5022C12.9447 10.2807 12.8058 8.12256 11.4645 7.05572C10.7119 6.45611 9.73058 6.29925 8.80289 6.61519C7.48464 7.06573 6.74621 8.42403 6.98141 9.82461C7.19255 11.0861 8.2012 11.9661 9.44068 12.1218C10.2097 12.2186 10.9022 12.0184 11.5094 11.5022Z", fill: "currentColor", stroke: "currentColor", "stroke-width": "0.5" })
|
|
@@ -9312,7 +9312,7 @@ const $d = (e) => {
|
|
|
9312
9312
|
return t !== "" && !e.forceSVG ? /* @__PURE__ */ s("img", { fetchPriority: "low", loading: "lazy", src: n, alt: "", width: 23, height: 23, ...e }) : /* @__PURE__ */ s("svg", { ...e, width: 28, height: 28, version: "1.1", baseProfile: "tiny", id: "Layer_1", xmlns: "http://www.w3.org/2000/svg", xmlnsXlink: "http://www.w3.org/1999/xlink", x: "0px", y: "0px", viewBox: "0 0 30 30", overflow: "visible", xmlSpace: "preserve", children: /* @__PURE__ */ s("path", { fill: "currentColor", d: "M5.9,6.1l7.1,9.8l-7.1,7.9h1.6l6.2-7l5,7h5.4l-7.5-10.3l6.6-7.4h-1.6L16,12.5l-4.6-6.4L5.9,6.1L5.9,6.1zM8.2,7.4h2.5l11,15.3h-2.5L8.2,7.4z" }) });
|
|
9313
9313
|
}, Yn = (e) => {
|
|
9314
9314
|
const { PUBLIC_ENV: t } = I(), n = re("/youtube.svg");
|
|
9315
|
-
return t !== "" && !e.forceSVG ? /* @__PURE__ */ s("img", { fetchPriority: "low", loading: "lazy", width: 32, height: 20, src: n, alt: "", ...e }) : /* @__PURE__ */
|
|
9315
|
+
return t !== "" && !e.forceSVG ? /* @__PURE__ */ s("img", { fetchPriority: "low", loading: "lazy", width: 32, height: 20, src: n, alt: "", ...e }) : /* @__PURE__ */ g(
|
|
9316
9316
|
"svg",
|
|
9317
9317
|
{
|
|
9318
9318
|
version: "1.1",
|
|
@@ -9357,13 +9357,13 @@ const $d = (e) => {
|
|
|
9357
9357
|
pinterest: (e) => /* @__PURE__ */ s(Qn, { ...e })
|
|
9358
9358
|
}, qf = (e) => {
|
|
9359
9359
|
const { freeZone: t, socials: n, menu: a, customBlock: r, custom_styles: o = {} } = e, i = ft();
|
|
9360
|
-
return /* @__PURE__ */
|
|
9360
|
+
return /* @__PURE__ */ g(
|
|
9361
9361
|
"footer",
|
|
9362
9362
|
{
|
|
9363
9363
|
className: "su-flex su-flex-col su-items-center su-justify-center sass-com-ft-content",
|
|
9364
9364
|
style: o,
|
|
9365
9365
|
children: [
|
|
9366
|
-
/* @__PURE__ */
|
|
9366
|
+
/* @__PURE__ */ g(
|
|
9367
9367
|
"section",
|
|
9368
9368
|
{
|
|
9369
9369
|
className: "su-flex su-items-center su-gap-8 sass-com-ft-brandContent",
|
|
@@ -9386,7 +9386,7 @@ const $d = (e) => {
|
|
|
9386
9386
|
]
|
|
9387
9387
|
}
|
|
9388
9388
|
),
|
|
9389
|
-
/* @__PURE__ */
|
|
9389
|
+
/* @__PURE__ */ g("section", { className: "sass-com-ft-sectionContent", children: [
|
|
9390
9390
|
/* @__PURE__ */ s("div", { className: "sass-com-ft-section", children: a.filter((c) => !c.subitem).map((c, l) => /* @__PURE__ */ s(
|
|
9391
9391
|
_,
|
|
9392
9392
|
{
|
|
@@ -9412,7 +9412,7 @@ const $d = (e) => {
|
|
|
9412
9412
|
)) })
|
|
9413
9413
|
] }),
|
|
9414
9414
|
r && /* @__PURE__ */ s(W, { children: r }),
|
|
9415
|
-
/* @__PURE__ */
|
|
9415
|
+
/* @__PURE__ */ g("section", { className: "sass-com-ft-copyrigth", children: [
|
|
9416
9416
|
/* @__PURE__ */ s("p", { className: "sass-com-ft-copyrigthText", children: e.copyrigth }),
|
|
9417
9417
|
/* @__PURE__ */ s(
|
|
9418
9418
|
_,
|
|
@@ -9451,7 +9451,7 @@ const $d = (e) => {
|
|
|
9451
9451
|
);
|
|
9452
9452
|
}, po = (e) => {
|
|
9453
9453
|
const { PUBLIC_ENV: t } = I(), n = re("/email.svg");
|
|
9454
|
-
return t !== "" && !e.forceSVG ? /* @__PURE__ */ s("img", { fetchPriority: "low", loading: "lazy", src: n, alt: "", ...e }) : /* @__PURE__ */
|
|
9454
|
+
return t !== "" && !e.forceSVG ? /* @__PURE__ */ s("img", { fetchPriority: "low", loading: "lazy", src: n, alt: "", ...e }) : /* @__PURE__ */ g(
|
|
9455
9455
|
"svg",
|
|
9456
9456
|
{
|
|
9457
9457
|
width: "25",
|
|
@@ -9481,7 +9481,7 @@ const $d = (e) => {
|
|
|
9481
9481
|
);
|
|
9482
9482
|
}, go = (e) => {
|
|
9483
9483
|
const { PUBLIC_ENV: t } = I(), n = re("/email-black.svg");
|
|
9484
|
-
return t !== "" && !e.forceSVG ? /* @__PURE__ */ s("img", { fetchPriority: "low", loading: "lazy", src: n, alt: "", ...e }) : /* @__PURE__ */
|
|
9484
|
+
return t !== "" && !e.forceSVG ? /* @__PURE__ */ s("img", { fetchPriority: "low", loading: "lazy", src: n, alt: "", ...e }) : /* @__PURE__ */ g(
|
|
9485
9485
|
"svg",
|
|
9486
9486
|
{
|
|
9487
9487
|
width: "24",
|
|
@@ -9592,7 +9592,7 @@ function iu({ noteShare: e }) {
|
|
|
9592
9592
|
const t = e && e.url || (typeof window < "u" ? window.location.href : "https://example.com");
|
|
9593
9593
|
if (!e) return null;
|
|
9594
9594
|
const n = ft();
|
|
9595
|
-
return /* @__PURE__ */
|
|
9595
|
+
return /* @__PURE__ */ g("div", { className: "sass-com-ja3-socialNetworkSection", children: [
|
|
9596
9596
|
e.options?.map((a) => {
|
|
9597
9597
|
const r = ou[a];
|
|
9598
9598
|
if (!r) return null;
|
|
@@ -9634,7 +9634,7 @@ function iu({ noteShare: e }) {
|
|
|
9634
9634
|
}
|
|
9635
9635
|
const jf = (e) => {
|
|
9636
9636
|
const t = `${e?.video.main.author} - `, n = e?.video.main.author ? Ke(e.video.info.date.created, t) : {}, a = () => e?.video.main.author ? `${t}${qe(e.video.info.date.created)}` : e?.video.main.author;
|
|
9637
|
-
return /* @__PURE__ */ s("div", { className: "sass-com-bv3-content", children: /* @__PURE__ */ s(Fs, { children: /* @__PURE__ */
|
|
9637
|
+
return /* @__PURE__ */ s("div", { className: "sass-com-bv3-content", children: /* @__PURE__ */ s(Fs, { children: /* @__PURE__ */ g("div", { className: "sass-com-bv3-videoContent", children: [
|
|
9638
9638
|
/* @__PURE__ */ s("p", { className: "sass-com-bv3-title", children: e.video.main.title }),
|
|
9639
9639
|
e.type === "vy" && /* @__PURE__ */ s(
|
|
9640
9640
|
"iframe",
|
|
@@ -9661,7 +9661,7 @@ const jf = (e) => {
|
|
|
9661
9661
|
dangerouslySetInnerHTML: { __html: e.video.main.code }
|
|
9662
9662
|
}
|
|
9663
9663
|
),
|
|
9664
|
-
/* @__PURE__ */
|
|
9664
|
+
/* @__PURE__ */ g("div", { className: "sass-com-bv3-articleSection", children: [
|
|
9665
9665
|
/* @__PURE__ */ s("p", { className: "sass-com-bv3-article", children: Qe(e.video.main.description) }),
|
|
9666
9666
|
/* @__PURE__ */ s("p", { className: "sass-com-bv3-correspondent", ...n, children: a() })
|
|
9667
9667
|
] })
|
|
@@ -9674,7 +9674,7 @@ const jf = (e) => {
|
|
|
9674
9674
|
f !== 0 && (h += `/${p}`);
|
|
9675
9675
|
}), l === "next" ? h += `/page/${t + 1}${u ? `?query=${u}` : ""}` : h += `/page/${t - 1}${u ? `?query=${u}` : ""}`;
|
|
9676
9676
|
};
|
|
9677
|
-
return (t > 1 || n && t < a) && /* @__PURE__ */
|
|
9677
|
+
return (t > 1 || n && t < a) && /* @__PURE__ */ g("section", { className: "sass-com-np-content", children: [
|
|
9678
9678
|
t > 1 && /* @__PURE__ */ s(
|
|
9679
9679
|
_,
|
|
9680
9680
|
{
|
|
@@ -9696,7 +9696,7 @@ const jf = (e) => {
|
|
|
9696
9696
|
] });
|
|
9697
9697
|
}, Ya = (e) => {
|
|
9698
9698
|
const { grid: t = 3 } = e;
|
|
9699
|
-
return /* @__PURE__ */
|
|
9699
|
+
return /* @__PURE__ */ g("section", { className: "sass-com-nc-content", children: [
|
|
9700
9700
|
/* @__PURE__ */ s(
|
|
9701
9701
|
"div",
|
|
9702
9702
|
{
|
|
@@ -9722,7 +9722,7 @@ const jf = (e) => {
|
|
|
9722
9722
|
const { CONFIG_videoClipUrl: h } = I(), m = e ?? "imagen", p = Array.isArray(t) ? t : [], f = () => {
|
|
9723
9723
|
const y = p[0]?.clip;
|
|
9724
9724
|
return y ? /* @__PURE__ */ s("div", { className: "sass-com-sc1-videoClipContainer", children: /* @__PURE__ */ s("video", { autoPlay: !0, loop: !0, muted: !0, playsInline: !0, children: /* @__PURE__ */ s("source", { src: `${h}${y}`, type: "video/mp4" }) }) }) : null;
|
|
9725
|
-
},
|
|
9725
|
+
}, b = () => {
|
|
9726
9726
|
const y = p[0]?.code;
|
|
9727
9727
|
return y ? /* @__PURE__ */ s(
|
|
9728
9728
|
"iframe",
|
|
@@ -9775,7 +9775,7 @@ const jf = (e) => {
|
|
|
9775
9775
|
);
|
|
9776
9776
|
switch (m) {
|
|
9777
9777
|
case "videoYouTube":
|
|
9778
|
-
return p[0]?.code ? /* @__PURE__ */ s(
|
|
9778
|
+
return p[0]?.code ? /* @__PURE__ */ s(b, {}) : /* @__PURE__ */ s(A, {});
|
|
9779
9779
|
case "videoEmbedded":
|
|
9780
9780
|
return p.some((y) => y.type === "video-embedded" && y.code) ? /* @__PURE__ */ s(w, {}) : /* @__PURE__ */ s(A, {});
|
|
9781
9781
|
case "clip":
|
|
@@ -9808,7 +9808,7 @@ const jf = (e) => {
|
|
|
9808
9808
|
keywords: p,
|
|
9809
9809
|
speculationPrerenderClass: f
|
|
9810
9810
|
} = e;
|
|
9811
|
-
return /* @__PURE__ */
|
|
9811
|
+
return /* @__PURE__ */ g(
|
|
9812
9812
|
"section",
|
|
9813
9813
|
{
|
|
9814
9814
|
className: "sass-com-sc1-content",
|
|
@@ -9887,7 +9887,7 @@ const jf = (e) => {
|
|
|
9887
9887
|
) });
|
|
9888
9888
|
return null;
|
|
9889
9889
|
};
|
|
9890
|
-
return /* @__PURE__ */
|
|
9890
|
+
return /* @__PURE__ */ g("section", { className: "sass-com-sc2-content", children: [
|
|
9891
9891
|
/* @__PURE__ */ s(
|
|
9892
9892
|
_,
|
|
9893
9893
|
{
|
|
@@ -9898,7 +9898,7 @@ const jf = (e) => {
|
|
|
9898
9898
|
children: /* @__PURE__ */ s(Ie, { preview: e.preview, isVideo: t })
|
|
9899
9899
|
}
|
|
9900
9900
|
),
|
|
9901
|
-
/* @__PURE__ */
|
|
9901
|
+
/* @__PURE__ */ g(
|
|
9902
9902
|
"div",
|
|
9903
9903
|
{
|
|
9904
9904
|
className: [
|
|
@@ -9927,7 +9927,7 @@ const jf = (e) => {
|
|
|
9927
9927
|
] });
|
|
9928
9928
|
}, Gf = (e) => /* @__PURE__ */ s("div", { className: "sass-com-lt-content", children: /* @__PURE__ */ s(Fs, { className: `sass-com-lt-contentLayout ${e.className}`, children: e.children }) }), Ff = (e) => {
|
|
9929
9929
|
const t = e.logo;
|
|
9930
|
-
return /* @__PURE__ */
|
|
9930
|
+
return /* @__PURE__ */ g("section", { className: "sass-com-err-content", children: [
|
|
9931
9931
|
e.backgroundImgURL && /* @__PURE__ */ s(
|
|
9932
9932
|
"img",
|
|
9933
9933
|
{
|
|
@@ -9936,39 +9936,39 @@ const jf = (e) => {
|
|
|
9936
9936
|
alt: "Imagen de fondo del error"
|
|
9937
9937
|
}
|
|
9938
9938
|
),
|
|
9939
|
-
/* @__PURE__ */
|
|
9939
|
+
/* @__PURE__ */ g("div", { className: "sass-com-err-textContent error-text-content", children: [
|
|
9940
9940
|
/* @__PURE__ */ s(t, {}),
|
|
9941
9941
|
/* @__PURE__ */ s("p", { className: "sass-com-err-title", children: e.title }),
|
|
9942
9942
|
/* @__PURE__ */ s("p", { className: "sass-com-err-description", children: e.description }),
|
|
9943
9943
|
/* @__PURE__ */ s(_, { className: "sass-com-err-linkStyled su-no-underline su-flex-center", href: "/", children: e.buttonText ?? "Inicio" })
|
|
9944
9944
|
] })
|
|
9945
9945
|
] });
|
|
9946
|
-
}, Hf = (e) => /* @__PURE__ */
|
|
9947
|
-
/* @__PURE__ */
|
|
9946
|
+
}, Hf = (e) => /* @__PURE__ */ g("div", { className: "sass-com-cin-content", children: [
|
|
9947
|
+
/* @__PURE__ */ g("div", { className: "sass-com-cin-contentLabel", children: [
|
|
9948
9948
|
/* @__PURE__ */ s("label", { className: "sass-com-cin-label", children: e.label }),
|
|
9949
9949
|
e.required && /* @__PURE__ */ s("span", { className: "sass-com-cin-required", children: "*" })
|
|
9950
9950
|
] }),
|
|
9951
9951
|
/* @__PURE__ */ s("input", { className: "sass-com-cin-input", ...e })
|
|
9952
|
-
] }), Vf = (e) => /* @__PURE__ */
|
|
9953
|
-
/* @__PURE__ */
|
|
9952
|
+
] }), Vf = (e) => /* @__PURE__ */ g("div", { className: "sass-com-csel-content", children: [
|
|
9953
|
+
/* @__PURE__ */ g("div", { className: "sass-com-csel-contentLabel", children: [
|
|
9954
9954
|
/* @__PURE__ */ s("label", { className: "sass-com-csel-label", children: e.label }),
|
|
9955
9955
|
e.required && /* @__PURE__ */ s("span", { className: "sass-com-csel-required", children: "*" })
|
|
9956
9956
|
] }),
|
|
9957
|
-
/* @__PURE__ */
|
|
9957
|
+
/* @__PURE__ */ g("select", { className: "sass-com-csel-input", ...e, children: [
|
|
9958
9958
|
/* @__PURE__ */ s("option", { value: "", children: "--Seleccione--" }),
|
|
9959
9959
|
e.options.map((t, n) => /* @__PURE__ */ s("option", { value: t.value, children: t.label }, n))
|
|
9960
9960
|
] })
|
|
9961
|
-
] }), zf = (e) => /* @__PURE__ */
|
|
9961
|
+
] }), zf = (e) => /* @__PURE__ */ g("div", { className: "sass-com-cta-content", children: [
|
|
9962
9962
|
/* @__PURE__ */ s("label", { className: "sass-com-cta-label", children: e.label }),
|
|
9963
9963
|
/* @__PURE__ */ s("textarea", { className: "sass-com-cta-input", ...e })
|
|
9964
9964
|
] }), wo = (e) => {
|
|
9965
9965
|
const t = Kt(e.preview);
|
|
9966
9966
|
let n = "";
|
|
9967
9967
|
return t.description && (n = t.description), t.copyright && (n = `${n} ${t.copyright}`), t.photographer && (n = `${n} ${t.photographer}`), /* @__PURE__ */ s("div", { className: "sass-com-in2-content", children: /* @__PURE__ */ s(Ie, { preview: t, isLarge: !0, priorityHigh: !0, figCaption: n }) });
|
|
9968
|
-
}, cu = (e) => /* @__PURE__ */ s(W, { children: /* @__PURE__ */
|
|
9968
|
+
}, cu = (e) => /* @__PURE__ */ s(W, { children: /* @__PURE__ */ g("div", { className: "sass-com-lbh-boxInformation sass-liveblog-header", children: [
|
|
9969
9969
|
/* @__PURE__ */ s(wo, { preview: e.preview }),
|
|
9970
|
-
/* @__PURE__ */
|
|
9971
|
-
/* @__PURE__ */
|
|
9970
|
+
/* @__PURE__ */ g("div", { className: "sass-com-lbh-textBox", children: [
|
|
9971
|
+
/* @__PURE__ */ g("div", { className: "sass-com-lbh-contentBox", children: [
|
|
9972
9972
|
e?.info?.section && /* @__PURE__ */ s(
|
|
9973
9973
|
_,
|
|
9974
9974
|
{
|
|
@@ -9977,7 +9977,7 @@ const jf = (e) => {
|
|
|
9977
9977
|
children: e?.info?.section?.name
|
|
9978
9978
|
}
|
|
9979
9979
|
),
|
|
9980
|
-
/* @__PURE__ */
|
|
9980
|
+
/* @__PURE__ */ g("div", { className: "sass-com-lbh-liveBox", children: [
|
|
9981
9981
|
/* @__PURE__ */ s("span", { className: "sass-com-lbh-dot" }),
|
|
9982
9982
|
/* @__PURE__ */ s("p", { children: "EN VIVO" })
|
|
9983
9983
|
] })
|
|
@@ -9995,7 +9995,7 @@ const jf = (e) => {
|
|
|
9995
9995
|
}
|
|
9996
9996
|
)
|
|
9997
9997
|
] })
|
|
9998
|
-
] }) }), lu = (e) => /* @__PURE__ */ s("section", { className: "sass-com-tl-content sass-liveblog-time-line", children: e.itemList[0]?.list.items.map((t, n) => /* @__PURE__ */
|
|
9998
|
+
] }) }), lu = (e) => /* @__PURE__ */ s("section", { className: "sass-com-tl-content sass-liveblog-time-line", children: e.itemList[0]?.list.items.map((t, n) => /* @__PURE__ */ g("div", { className: "sass-com-tl-contentLine", children: [
|
|
9999
9999
|
/* @__PURE__ */ s("div", { className: "sass-com-tl-dateLink", children: ii(t.date) }),
|
|
10000
10000
|
/* @__PURE__ */ s(_, { className: "sass-com-tl-contentText", href: `#item-${n + 1}`, children: (e.itemList[0]?.list.integrated, t.title) })
|
|
10001
10001
|
] }, n)) }), Ao = (e) => {
|
|
@@ -10092,7 +10092,7 @@ const jf = (e) => {
|
|
|
10092
10092
|
loading: "lazy"
|
|
10093
10093
|
}
|
|
10094
10094
|
), $f = async (e) => {
|
|
10095
|
-
const { autor: t, autorIcon: n, socialIconsFilled: a = !1, socialIconsCustom: r = !1 } = e, o = n, { PUBLIC_LNG: i } = I(), c = i === "en", l = t?.addtional, d = t?.info?.image?.sizes?.[0]?.url ?? "", u = t?.info?.fullname ?? "", h = t?.info?.email ?? "", m = c ? l?.USER_DESCRIPCION_EN || l?.USER_MIBIO_EN || "" : l?.USER_DESCRIPCION || l?.USER_MIBIO || "", p = dn(t?.addtional?.USER_USERFB ?? ""), f = dn(t?.addtional?.USER_USERIG ?? ""),
|
|
10095
|
+
const { autor: t, autorIcon: n, socialIconsFilled: a = !1, socialIconsCustom: r = !1 } = e, o = n, { PUBLIC_LNG: i } = I(), c = i === "en", l = t?.addtional, d = t?.info?.image?.sizes?.[0]?.url ?? "", u = t?.info?.fullname ?? "", h = t?.info?.email ?? "", m = c ? l?.USER_DESCRIPCION_EN || l?.USER_MIBIO_EN || "" : l?.USER_DESCRIPCION || l?.USER_MIBIO || "", p = dn(t?.addtional?.USER_USERFB ?? ""), f = dn(t?.addtional?.USER_USERIG ?? ""), b = dn(t?.addtional?.USER_USERTWT ?? ""), w = dn(t?.addtional?.USER_USERLIN ?? ""), A = $e("tiktok", l?.USER_PAGE_TIKTOK), y = $e("youtube", l?.USER_PAGE_YOUTUBE), C = $e(
|
|
10096
10096
|
"pinterest",
|
|
10097
10097
|
l?.USER_PAGE_PINTEREST
|
|
10098
10098
|
), N = () => !h || h.trim() === "" ? !1 : gu(h), v = (S) => `mailto:${S.trim()}`;
|
|
@@ -10100,7 +10100,7 @@ const jf = (e) => {
|
|
|
10100
10100
|
"section",
|
|
10101
10101
|
{
|
|
10102
10102
|
className: `sass-com-ah1-content su-flex-center su-relative su-w-full ${e.className ?? ""}`,
|
|
10103
|
-
children: /* @__PURE__ */
|
|
10103
|
+
children: /* @__PURE__ */ g("div", { className: "sass-com-ah1-info", children: [
|
|
10104
10104
|
d ? /* @__PURE__ */ s("div", { className: "sass-com-ah1-image-container sass-image-autor-wrapper", children: /* @__PURE__ */ s(
|
|
10105
10105
|
"img",
|
|
10106
10106
|
{
|
|
@@ -10129,7 +10129,7 @@ const jf = (e) => {
|
|
|
10129
10129
|
}
|
|
10130
10130
|
),
|
|
10131
10131
|
/* @__PURE__ */ s("p", { className: "sass-com-ah1-description", children: m }),
|
|
10132
|
-
/* @__PURE__ */
|
|
10132
|
+
/* @__PURE__ */ g("div", { className: "sass-com-ah1-social", children: [
|
|
10133
10133
|
p && /* @__PURE__ */ s(
|
|
10134
10134
|
"a",
|
|
10135
10135
|
{
|
|
@@ -10150,10 +10150,10 @@ const jf = (e) => {
|
|
|
10150
10150
|
children: r ? it("instagram", "Instagram", "sass-com-ah1-social-icon sass-com-ah1-social-icon-instagram") : /* @__PURE__ */ s($n, { className: "sass-com-ah1-social-icon sass-com-ah1-social-icon-instagram", forceSVG: !0 })
|
|
10151
10151
|
}
|
|
10152
10152
|
),
|
|
10153
|
-
|
|
10153
|
+
b && /* @__PURE__ */ s(
|
|
10154
10154
|
"a",
|
|
10155
10155
|
{
|
|
10156
|
-
href:
|
|
10156
|
+
href: b,
|
|
10157
10157
|
target: "_blank",
|
|
10158
10158
|
className: "sass-com-ah1-social-link",
|
|
10159
10159
|
rel: "noreferrer",
|
|
@@ -10208,7 +10208,7 @@ const jf = (e) => {
|
|
|
10208
10208
|
}
|
|
10209
10209
|
);
|
|
10210
10210
|
}, Qf = async (e) => {
|
|
10211
|
-
const { autor: t, autorIcon: n, socialIconsFilled: a = !1 } = e, r = n, { PUBLIC_LNG: o } = I(), i = o === "en", c = t?.addtional, l = t?.info?.image?.sizes?.[0]?.url ?? "", d = t?.info?.fullname ?? "", u = t?.info?.email ?? "", h = c?.USER_SHOWEMAIL === !0 || c?.USER_MOSTRAR_MAIL?.toUpperCase() === "TRUE", m = c?.USER_SHOWBIO ?? !1, p = i ? c?.USER_DESCRIPCION_EN || c?.USER_MIBIO_EN || "" : c?.USER_DESCRIPCION || c?.USER_MIBIO || "", f = t?.addtional?.USER_USERFB ?? "",
|
|
10211
|
+
const { autor: t, autorIcon: n, socialIconsFilled: a = !1 } = e, r = n, { PUBLIC_LNG: o } = I(), i = o === "en", c = t?.addtional, l = t?.info?.image?.sizes?.[0]?.url ?? "", d = t?.info?.fullname ?? "", u = t?.info?.email ?? "", h = c?.USER_SHOWEMAIL === !0 || c?.USER_MOSTRAR_MAIL?.toUpperCase() === "TRUE", m = c?.USER_SHOWBIO ?? !1, p = i ? c?.USER_DESCRIPCION_EN || c?.USER_MIBIO_EN || "" : c?.USER_DESCRIPCION || c?.USER_MIBIO || "", f = t?.addtional?.USER_USERFB ?? "", b = t?.addtional?.USER_USERIG ?? "", w = t?.addtional?.USER_USERTWT ?? "", A = t?.addtional?.USER_USERLIN ?? "", y = $e("tiktok", c?.USER_PAGE_TIKTOK), C = $e("youtube", c?.USER_PAGE_YOUTUBE), N = $e(
|
|
10212
10212
|
"pinterest",
|
|
10213
10213
|
c?.USER_PAGE_PINTEREST
|
|
10214
10214
|
);
|
|
@@ -10216,7 +10216,7 @@ const jf = (e) => {
|
|
|
10216
10216
|
"section",
|
|
10217
10217
|
{
|
|
10218
10218
|
className: "sass-com-ah2-content su-flex su-w-full su-items-center su-justify-end",
|
|
10219
|
-
children: /* @__PURE__ */
|
|
10219
|
+
children: /* @__PURE__ */ g(
|
|
10220
10220
|
"div",
|
|
10221
10221
|
{
|
|
10222
10222
|
className: "sass-com-ah2-contentInfo su-stack-center su-relative su-w-full su-gap-2 su-p-4",
|
|
@@ -10230,7 +10230,7 @@ const jf = (e) => {
|
|
|
10230
10230
|
src: await fe(l)
|
|
10231
10231
|
}
|
|
10232
10232
|
) : /* @__PURE__ */ s("div", { className: "sass-com-ah2-contentIconStyled su-flex-center", children: /* @__PURE__ */ s(r, {}) }),
|
|
10233
|
-
/* @__PURE__ */
|
|
10233
|
+
/* @__PURE__ */ g(
|
|
10234
10234
|
"div",
|
|
10235
10235
|
{
|
|
10236
10236
|
className: "sass-com-ah2-contentAuthor su-stack-center su-md:items-start",
|
|
@@ -10238,7 +10238,7 @@ const jf = (e) => {
|
|
|
10238
10238
|
/* @__PURE__ */ s("h1", { className: "sass-com-ah2-name", children: d }),
|
|
10239
10239
|
h && /* @__PURE__ */ s("p", { className: "sass-com-ah2-email", children: u }),
|
|
10240
10240
|
m && /* @__PURE__ */ s("p", { className: "sass-com-ah2-description", children: p }),
|
|
10241
|
-
/* @__PURE__ */
|
|
10241
|
+
/* @__PURE__ */ g(
|
|
10242
10242
|
"div",
|
|
10243
10243
|
{
|
|
10244
10244
|
className: "sass-com-ah2-contenSocialNetwork su-flex su-items-center su-gap-4 su-justify-start",
|
|
@@ -10253,10 +10253,10 @@ const jf = (e) => {
|
|
|
10253
10253
|
children: a ? /* @__PURE__ */ s(nn, { className: "sass-com-ah2-blackIconFaceBook sass-com-ah2-socialIcon sass-com-ah2-social-icon-facebook", forceSVG: !0 }) : /* @__PURE__ */ s(zn, { className: "sass-com-ah2-socialIcon sass-com-ah2-social-icon-facebook", forceSVG: !0 })
|
|
10254
10254
|
}
|
|
10255
10255
|
),
|
|
10256
|
-
|
|
10256
|
+
b && /* @__PURE__ */ s(
|
|
10257
10257
|
"a",
|
|
10258
10258
|
{
|
|
10259
|
-
href:
|
|
10259
|
+
href: b,
|
|
10260
10260
|
target: "_blank",
|
|
10261
10261
|
rel: "noreferrer",
|
|
10262
10262
|
children: /* @__PURE__ */ s(
|
|
@@ -10328,9 +10328,9 @@ const jf = (e) => {
|
|
|
10328
10328
|
)
|
|
10329
10329
|
}
|
|
10330
10330
|
);
|
|
10331
|
-
}, bu = (e) => /* @__PURE__ */
|
|
10331
|
+
}, bu = (e) => /* @__PURE__ */ g("section", { className: "sass-com-lnc-content", children: [
|
|
10332
10332
|
e.children,
|
|
10333
|
-
/* @__PURE__ */
|
|
10333
|
+
/* @__PURE__ */ g(
|
|
10334
10334
|
"div",
|
|
10335
10335
|
{
|
|
10336
10336
|
className: "sass-com-lnc-bannerSection",
|
|
@@ -10367,7 +10367,7 @@ const jf = (e) => {
|
|
|
10367
10367
|
}
|
|
10368
10368
|
}
|
|
10369
10369
|
};
|
|
10370
|
-
return e && e.info ? /* @__PURE__ */
|
|
10370
|
+
return e && e.info ? /* @__PURE__ */ g("section", { className: "sass-com-sc7-content", children: [
|
|
10371
10371
|
/* @__PURE__ */ s(
|
|
10372
10372
|
"a",
|
|
10373
10373
|
{
|
|
@@ -10375,7 +10375,7 @@ const jf = (e) => {
|
|
|
10375
10375
|
target: e?.info?.link?.target,
|
|
10376
10376
|
title: e?.main?.title?.section,
|
|
10377
10377
|
href: e.info.link.url,
|
|
10378
|
-
children: /* @__PURE__ */
|
|
10378
|
+
children: /* @__PURE__ */ g("div", { style: { position: "relative" }, children: [
|
|
10379
10379
|
/* @__PURE__ */ s("img", { src: await fe(e.preview.sizes[0]?.url || "") }),
|
|
10380
10380
|
/* @__PURE__ */ s(t, { className: "sass-com-sc7-playStyled saas-image-play-icon" })
|
|
10381
10381
|
] })
|
|
@@ -10385,8 +10385,8 @@ const jf = (e) => {
|
|
|
10385
10385
|
] }) : null;
|
|
10386
10386
|
}, Wf = (e) => {
|
|
10387
10387
|
let t = [];
|
|
10388
|
-
return e.videoList && e.videoList.length > 0 && (t = e.videoList?.filter((n) => n.info.path !== e.video.info.path) ?? []), /* @__PURE__ */ s("div", { className: "sass-com-bv4-content", children: /* @__PURE__ */
|
|
10389
|
-
/* @__PURE__ */
|
|
10388
|
+
return e.videoList && e.videoList.length > 0 && (t = e.videoList?.filter((n) => n.info.path !== e.video.info.path) ?? []), /* @__PURE__ */ s("div", { className: "sass-com-bv4-content", children: /* @__PURE__ */ g(Fs, { className: "sass-com-bv4-contentLayoutVideoSection", children: [
|
|
10389
|
+
/* @__PURE__ */ g("a", { className: "sass-com-bv4-header", href: e.goBackLink ?? "/videos", children: [
|
|
10390
10390
|
/* @__PURE__ */ s(
|
|
10391
10391
|
"svg",
|
|
10392
10392
|
{
|
|
@@ -10408,8 +10408,8 @@ const jf = (e) => {
|
|
|
10408
10408
|
),
|
|
10409
10409
|
e.titleGoBack ?? "VOLVER A VIDEOS"
|
|
10410
10410
|
] }),
|
|
10411
|
-
/* @__PURE__ */
|
|
10412
|
-
/* @__PURE__ */
|
|
10411
|
+
/* @__PURE__ */ g("div", { className: "sass-com-bv4-videos", children: [
|
|
10412
|
+
/* @__PURE__ */ g("div", { className: "sass-com-bv4-videoContent", style: e.mainVideoStyles, children: [
|
|
10413
10413
|
e.type === "vy" && /* @__PURE__ */ s(
|
|
10414
10414
|
"iframe",
|
|
10415
10415
|
{
|
|
@@ -10463,7 +10463,7 @@ const jf = (e) => {
|
|
|
10463
10463
|
}
|
|
10464
10464
|
) })
|
|
10465
10465
|
] }),
|
|
10466
|
-
/* @__PURE__ */
|
|
10466
|
+
/* @__PURE__ */ g(
|
|
10467
10467
|
"div",
|
|
10468
10468
|
{
|
|
10469
10469
|
className: "sass-com-bv4-sectionVideoList",
|
|
@@ -10492,8 +10492,8 @@ const jf = (e) => {
|
|
|
10492
10492
|
] }) });
|
|
10493
10493
|
}, we = Cr((e, t) => {
|
|
10494
10494
|
const { isTitle: n = !1, isOpinion: a = !1, noHeading: r = !1 } = e, o = r ? /* @__PURE__ */ s("div", { className: "sass-com-sec-title", children: e.title }) : n ? /* @__PURE__ */ s("h1", { className: "sass-com-sec-title", children: e.title }) : /* @__PURE__ */ s("h2", { className: "sass-com-sec-title", children: e.title });
|
|
10495
|
-
return /* @__PURE__ */
|
|
10496
|
-
e.title && /* @__PURE__ */
|
|
10495
|
+
return /* @__PURE__ */ g("section", { className: "sass-com-sec-content", children: [
|
|
10496
|
+
e.title && /* @__PURE__ */ g(
|
|
10497
10497
|
"div",
|
|
10498
10498
|
{
|
|
10499
10499
|
className: ["sass-com-sec-titleContent", e.className ?? ""].join(" "),
|
|
@@ -10553,7 +10553,7 @@ const jf = (e) => {
|
|
|
10553
10553
|
}
|
|
10554
10554
|
)
|
|
10555
10555
|
}
|
|
10556
|
-
), Au = () => /* @__PURE__ */ s("div", { className: "sass-com-sb-buttonContent", children: /* @__PURE__ */ s("label", { className: "sass-com-sb-buttonStyled", htmlFor: "side-bar-state", children: /* @__PURE__ */ s(pt, { className: "sass-com-sb-icon" }) }) }), yu = ({ action: e, placeholder: t, ariaLabel: n }) => /* @__PURE__ */ s("div", { className: "sass-com-sb-inputContent", children: /* @__PURE__ */
|
|
10556
|
+
), Au = () => /* @__PURE__ */ s("div", { className: "sass-com-sb-buttonContent", children: /* @__PURE__ */ s("label", { className: "sass-com-sb-buttonStyled", htmlFor: "side-bar-state", children: /* @__PURE__ */ s(pt, { className: "sass-com-sb-icon" }) }) }), yu = ({ action: e, placeholder: t, ariaLabel: n }) => /* @__PURE__ */ s("div", { className: "sass-com-sb-inputContent", children: /* @__PURE__ */ g("form", { className: "sass-com-sb-inputStyled", action: e, method: "GET", children: [
|
|
10557
10557
|
/* @__PURE__ */ s(
|
|
10558
10558
|
"input",
|
|
10559
10559
|
{
|
|
@@ -10566,9 +10566,9 @@ const jf = (e) => {
|
|
|
10566
10566
|
/* @__PURE__ */ s("button", { type: "submit", "aria-label": n, className: "sass-com-sb-searchSubmit", children: /* @__PURE__ */ s(Ys, { color: "var(--search-input-icons)" }) })
|
|
10567
10567
|
] }) }), vu = ({ item: e, index: t }) => {
|
|
10568
10568
|
const n = `accordion_${t}`, a = Array.isArray(e.subitem);
|
|
10569
|
-
return /* @__PURE__ */
|
|
10569
|
+
return /* @__PURE__ */ g("div", { className: "sass-com-sb-accordionStyled", children: [
|
|
10570
10570
|
/* @__PURE__ */ s("input", { type: "checkbox", id: n, style: { display: "none" } }),
|
|
10571
|
-
/* @__PURE__ */ s("span", { className: "sass-com-sb-accordionHeading", children: a ? /* @__PURE__ */
|
|
10571
|
+
/* @__PURE__ */ s("span", { className: "sass-com-sb-accordionHeading", children: a ? /* @__PURE__ */ g("div", { className: "sass-com-sb-accordionSummeryStyled", children: [
|
|
10572
10572
|
e.link ? /* @__PURE__ */ s(
|
|
10573
10573
|
_,
|
|
10574
10574
|
{
|
|
@@ -10624,7 +10624,7 @@ const jf = (e) => {
|
|
|
10624
10624
|
}
|
|
10625
10625
|
)
|
|
10626
10626
|
] });
|
|
10627
|
-
}, Cu = ({ socials: e, copyright: t }) => /* @__PURE__ */
|
|
10627
|
+
}, Cu = ({ socials: e, copyright: t }) => /* @__PURE__ */ g("div", { className: "sass-com-sb-footerSlider", children: [
|
|
10628
10628
|
/* @__PURE__ */ s("div", { className: "sass-com-sb-socialMedia", children: Object.keys(e).map(
|
|
10629
10629
|
(n) => e[n]?.show && Nt[n] ? /* @__PURE__ */ s(
|
|
10630
10630
|
"a",
|
|
@@ -10650,7 +10650,7 @@ const jf = (e) => {
|
|
|
10650
10650
|
custom_styles: i = {}
|
|
10651
10651
|
}) => {
|
|
10652
10652
|
const { SUB_PUBLICATION_PREFIX_IN_ROUTES: c, CONFIG_buscar_html: l } = I(), d = c?.buscar ? he() : "";
|
|
10653
|
-
return /* @__PURE__ */
|
|
10653
|
+
return /* @__PURE__ */ g(
|
|
10654
10654
|
"aside",
|
|
10655
10655
|
{
|
|
10656
10656
|
className: "sass-com-sb-drawerStyled",
|
|
@@ -10658,7 +10658,7 @@ const jf = (e) => {
|
|
|
10658
10658
|
style: i,
|
|
10659
10659
|
children: [
|
|
10660
10660
|
/* @__PURE__ */ s("input", { type: "checkbox", id: "side-bar-state" }),
|
|
10661
|
-
/* @__PURE__ */
|
|
10661
|
+
/* @__PURE__ */ g("section", { className: "sass-com-sb-sidebarCustom", children: [
|
|
10662
10662
|
/* @__PURE__ */ s(Au, {}),
|
|
10663
10663
|
/* @__PURE__ */ s(
|
|
10664
10664
|
yu,
|
|
@@ -10668,8 +10668,8 @@ const jf = (e) => {
|
|
|
10668
10668
|
ariaLabel: r
|
|
10669
10669
|
}
|
|
10670
10670
|
),
|
|
10671
|
-
/* @__PURE__ */
|
|
10672
|
-
/* @__PURE__ */
|
|
10671
|
+
/* @__PURE__ */ g("div", { className: "sass-com-sb-mainContent", children: [
|
|
10672
|
+
/* @__PURE__ */ g("div", { children: [
|
|
10673
10673
|
a,
|
|
10674
10674
|
e.map((h, m) => /* @__PURE__ */ s(vu, { item: h, index: m }, m))
|
|
10675
10675
|
] }),
|
|
@@ -10690,7 +10690,7 @@ const jf = (e) => {
|
|
|
10690
10690
|
children: t?.data[0]?.main?.title.home ?? ""
|
|
10691
10691
|
}
|
|
10692
10692
|
);
|
|
10693
|
-
return /* @__PURE__ */
|
|
10693
|
+
return /* @__PURE__ */ g(W, { children: [
|
|
10694
10694
|
/* @__PURE__ */ s(
|
|
10695
10695
|
"input",
|
|
10696
10696
|
{
|
|
@@ -10700,7 +10700,7 @@ const jf = (e) => {
|
|
|
10700
10700
|
defaultChecked: !(t && t?.data && t?.data[0]?.main?.title.home)
|
|
10701
10701
|
}
|
|
10702
10702
|
),
|
|
10703
|
-
t && t?.data && t?.data[0]?.main?.title.home && /* @__PURE__ */
|
|
10703
|
+
t && t?.data && t?.data[0]?.main?.title.home && /* @__PURE__ */ g(
|
|
10704
10704
|
"div",
|
|
10705
10705
|
{
|
|
10706
10706
|
id: "alert-chip",
|
|
@@ -10711,7 +10711,7 @@ const jf = (e) => {
|
|
|
10711
10711
|
top: 100
|
|
10712
10712
|
} : {},
|
|
10713
10713
|
children: [
|
|
10714
|
-
/* @__PURE__ */
|
|
10714
|
+
/* @__PURE__ */ g("div", { className: "sass-com-hlm-live", children: [
|
|
10715
10715
|
/* @__PURE__ */ s("div", { className: "sass-com-hlm-chipStyled", children: t?.entity?.description }),
|
|
10716
10716
|
e.forceShow && /* @__PURE__ */ s(a, {}),
|
|
10717
10717
|
/* @__PURE__ */ s("label", { htmlFor: n, children: /* @__PURE__ */ s(pt, { className: "sass-com-hlm-closeLiveStyled" }) })
|
|
@@ -10723,8 +10723,8 @@ const jf = (e) => {
|
|
|
10723
10723
|
] });
|
|
10724
10724
|
}, Co = (e) => {
|
|
10725
10725
|
const { cintillo: t, tapeTitle: n, socials: a } = e, r = "", o = t?.findIndex((i) => i.link === r) ?? 0;
|
|
10726
|
-
return (Array.isArray(t) || e.socialIcons) && /* @__PURE__ */
|
|
10727
|
-
Array.isArray(t) && /* @__PURE__ */
|
|
10726
|
+
return (Array.isArray(t) || e.socialIcons) && /* @__PURE__ */ g("section", { className: "sass-com-htape-content", children: [
|
|
10727
|
+
Array.isArray(t) && /* @__PURE__ */ g("div", { className: "sass-com-htape-tabs header-page-tape-content", children: [
|
|
10728
10728
|
n !== "" && /* @__PURE__ */ s("p", { className: "sass-com-htape-title", children: `${n}` }),
|
|
10729
10729
|
t && t[o] && /* @__PURE__ */ s(
|
|
10730
10730
|
_,
|
|
@@ -10779,7 +10779,7 @@ const jf = (e) => {
|
|
|
10779
10779
|
] });
|
|
10780
10780
|
}, Su = (e) => {
|
|
10781
10781
|
const { alertZone: t, custom_styles: n = {} } = e, { SUB_PUBLICATION_PREFIX_IN_ROUTES: a } = I();
|
|
10782
|
-
return /* @__PURE__ */
|
|
10782
|
+
return /* @__PURE__ */ g(
|
|
10783
10783
|
"header",
|
|
10784
10784
|
{
|
|
10785
10785
|
className: "sass-com-h1sk-headerStyled",
|
|
@@ -10795,7 +10795,7 @@ const jf = (e) => {
|
|
|
10795
10795
|
socials: e.socials
|
|
10796
10796
|
}
|
|
10797
10797
|
),
|
|
10798
|
-
/* @__PURE__ */
|
|
10798
|
+
/* @__PURE__ */ g(
|
|
10799
10799
|
"div",
|
|
10800
10800
|
{
|
|
10801
10801
|
className: `${t && t?.data && !e.showAlertPop ? "sass-com-h1sk-headerContentAlert" : "sass-com-h1sk-headerContent"} center-mobile-header-icon`,
|
|
@@ -10820,7 +10820,7 @@ const jf = (e) => {
|
|
|
10820
10820
|
)
|
|
10821
10821
|
}
|
|
10822
10822
|
),
|
|
10823
|
-
/* @__PURE__ */
|
|
10823
|
+
/* @__PURE__ */ g("div", { className: "sass-com-h1sk-iconContent", children: [
|
|
10824
10824
|
/* @__PURE__ */ s(
|
|
10825
10825
|
_,
|
|
10826
10826
|
{
|
|
@@ -10850,7 +10850,7 @@ const jf = (e) => {
|
|
|
10850
10850
|
}
|
|
10851
10851
|
) : null
|
|
10852
10852
|
] }),
|
|
10853
|
-
!e.showAlertPop && t?.data && /* @__PURE__ */
|
|
10853
|
+
!e.showAlertPop && t?.data && /* @__PURE__ */ g("div", { className: "sass-com-h1sk-headLineContent", children: [
|
|
10854
10854
|
/* @__PURE__ */ s("div", { className: "sass-com-h1sk-headLineTitle headLineTitle", children: t.entity.description ? `${t.entity.description}` : "" }),
|
|
10855
10855
|
/* @__PURE__ */ s(
|
|
10856
10856
|
_,
|
|
@@ -10863,7 +10863,7 @@ const jf = (e) => {
|
|
|
10863
10863
|
}
|
|
10864
10864
|
)
|
|
10865
10865
|
] }),
|
|
10866
|
-
/* @__PURE__ */
|
|
10866
|
+
/* @__PURE__ */ g(
|
|
10867
10867
|
"div",
|
|
10868
10868
|
{
|
|
10869
10869
|
style: e.showAlertPop ? { marginLeft: "auto" } : {},
|
|
@@ -10904,8 +10904,8 @@ const jf = (e) => {
|
|
|
10904
10904
|
);
|
|
10905
10905
|
}, xu = (e) => {
|
|
10906
10906
|
const { items: t } = e;
|
|
10907
|
-
return /* @__PURE__ */ s("ul", { className: "sass-com-mopt-ul", children: t.map((n, a) => /* @__PURE__ */
|
|
10908
|
-
n.link ? /* @__PURE__ */
|
|
10907
|
+
return /* @__PURE__ */ s("ul", { className: "sass-com-mopt-ul", children: t.map((n, a) => /* @__PURE__ */ g("li", { className: "sass-com-mopt-liBefore sass-com-mopt-li", children: [
|
|
10908
|
+
n.link ? /* @__PURE__ */ g(
|
|
10909
10909
|
_,
|
|
10910
10910
|
{
|
|
10911
10911
|
block_subPublication: !0,
|
|
@@ -10918,7 +10918,7 @@ const jf = (e) => {
|
|
|
10918
10918
|
Array.isArray(n.subitem) && /* @__PURE__ */ s(Ln, {})
|
|
10919
10919
|
]
|
|
10920
10920
|
}
|
|
10921
|
-
) : /* @__PURE__ */
|
|
10921
|
+
) : /* @__PURE__ */ g("span", { "aria-label": n.description, className: "sass-com-mopt-linkStyled", children: [
|
|
10922
10922
|
n.description,
|
|
10923
10923
|
Array.isArray(n.subitem) && /* @__PURE__ */ s(Ln, {})
|
|
10924
10924
|
] }),
|
|
@@ -10936,7 +10936,7 @@ const jf = (e) => {
|
|
|
10936
10936
|
] }, a)) });
|
|
10937
10937
|
}, Eu = (e) => {
|
|
10938
10938
|
const { menu: t, alertZone: n, custom_styles: a = {}, prerender_classes: r } = e, { SUB_PUBLICATION_PREFIX_IN_ROUTES: o } = I();
|
|
10939
|
-
return /* @__PURE__ */
|
|
10939
|
+
return /* @__PURE__ */ g(
|
|
10940
10940
|
"header",
|
|
10941
10941
|
{
|
|
10942
10942
|
className: "sass-com-h1st-headerStyled",
|
|
@@ -10955,7 +10955,7 @@ const jf = (e) => {
|
|
|
10955
10955
|
socials: e.socials
|
|
10956
10956
|
}
|
|
10957
10957
|
),
|
|
10958
|
-
/* @__PURE__ */
|
|
10958
|
+
/* @__PURE__ */ g(
|
|
10959
10959
|
"div",
|
|
10960
10960
|
{
|
|
10961
10961
|
style: e.showAlertPop ? { gap: 0 } : {},
|
|
@@ -10968,7 +10968,7 @@ const jf = (e) => {
|
|
|
10968
10968
|
"div",
|
|
10969
10969
|
{
|
|
10970
10970
|
className: "sass-com-h1st-menuButtonSection sass-header-menu-button",
|
|
10971
|
-
children: /* @__PURE__ */
|
|
10971
|
+
children: /* @__PURE__ */ g(
|
|
10972
10972
|
$s,
|
|
10973
10973
|
{
|
|
10974
10974
|
className: "sass-com-h1st-menuButton",
|
|
@@ -10997,7 +10997,7 @@ const jf = (e) => {
|
|
|
10997
10997
|
{ className: "sass-com-h1st-logoStyled" },
|
|
10998
10998
|
e.icon
|
|
10999
10999
|
) }) }),
|
|
11000
|
-
/* @__PURE__ */
|
|
11000
|
+
/* @__PURE__ */ g(
|
|
11001
11001
|
"div",
|
|
11002
11002
|
{
|
|
11003
11003
|
className: "sass-com-h1st-buttonSection sass-header-right-button-section",
|
|
@@ -11017,7 +11017,7 @@ const jf = (e) => {
|
|
|
11017
11017
|
]
|
|
11018
11018
|
}
|
|
11019
11019
|
),
|
|
11020
|
-
!e.showAlertPop && n?.data ? /* @__PURE__ */
|
|
11020
|
+
!e.showAlertPop && n?.data ? /* @__PURE__ */ g("div", { className: "sass-com-h1st-headLineContent", children: [
|
|
11021
11021
|
/* @__PURE__ */ s("p", { className: "sass-com-h1st-headLineTitle headLineTitle", children: n.entity.description ? `${n.entity.description}` : "" }),
|
|
11022
11022
|
/* @__PURE__ */ s(
|
|
11023
11023
|
_,
|
|
@@ -11046,7 +11046,7 @@ const jf = (e) => {
|
|
|
11046
11046
|
}
|
|
11047
11047
|
);
|
|
11048
11048
|
}, Yf = (e) => {
|
|
11049
|
-
const { alertZone: t, children: n, sidebar: a, custom_styles: r = {} } = e, o = e.childrenContentTag ?? "div", i = /* @__PURE__ */
|
|
11049
|
+
const { alertZone: t, children: n, sidebar: a, custom_styles: r = {} } = e, o = e.childrenContentTag ?? "div", i = /* @__PURE__ */ g(
|
|
11050
11050
|
o,
|
|
11051
11051
|
{
|
|
11052
11052
|
className: [
|
|
@@ -11072,7 +11072,7 @@ const jf = (e) => {
|
|
|
11072
11072
|
]
|
|
11073
11073
|
}
|
|
11074
11074
|
);
|
|
11075
|
-
return /* @__PURE__ */
|
|
11075
|
+
return /* @__PURE__ */ g(W, { children: [
|
|
11076
11076
|
e.childrenContentPosition === "before-headers" && i,
|
|
11077
11077
|
/* @__PURE__ */ s(Su, { ...e }),
|
|
11078
11078
|
!e.showOnlyStickyHeader && /* @__PURE__ */ s(Eu, { ...e }),
|
|
@@ -11098,7 +11098,7 @@ const jf = (e) => {
|
|
|
11098
11098
|
}, Ka = ({
|
|
11099
11099
|
name: e,
|
|
11100
11100
|
imageUrl: t
|
|
11101
|
-
}) => /* @__PURE__ */
|
|
11101
|
+
}) => /* @__PURE__ */ g(W, { children: [
|
|
11102
11102
|
t ? /* @__PURE__ */ s(
|
|
11103
11103
|
"img",
|
|
11104
11104
|
{
|
|
@@ -11119,7 +11119,7 @@ const jf = (e) => {
|
|
|
11119
11119
|
imageUrl: await Tu(a)
|
|
11120
11120
|
}))
|
|
11121
11121
|
);
|
|
11122
|
-
return /* @__PURE__ */ s("section", { className: "sass-com-ts-content", children: /* @__PURE__ */
|
|
11122
|
+
return /* @__PURE__ */ s("section", { className: "sass-com-ts-content", children: /* @__PURE__ */ g("div", { className: "sass-com-ts-tags", children: [
|
|
11123
11123
|
/* @__PURE__ */ s("p", { className: "sass-com-ts-tagStyled", children: e.title ? e.title : "Tags:" }),
|
|
11124
11124
|
n.map(
|
|
11125
11125
|
({ item: a, imageUrl: r }, o) => a.approved ? /* @__PURE__ */ s(
|
|
@@ -11154,12 +11154,12 @@ const jf = (e) => {
|
|
|
11154
11154
|
)
|
|
11155
11155
|
] }) });
|
|
11156
11156
|
}, Iu = async (e) => {
|
|
11157
|
-
const { autor: t } = e, { SUB_PUBLICATION_PREFIX_IN_ROUTES: n, PUBLIC_LNG: a } = I(), r = he(), o = a === "en", i = t?.addtional, c = t?.info?.name ?? "", l = t?.info?.fullname ?? "", d = t?.info?.image?.sizes?.[0]?.url ?? "", u = o ? i?.USER_DESCRIPCION_EN || i?.USER_MIBIO_EN || "" : i?.USER_DESCRIPCION || i?.USER_MIBIO || "", h = t?.addtional?.USER_USERFB ?? "", m = t?.addtional?.USER_USERIG ?? "", p = t?.addtional?.USER_USERTWT ?? "", f = t?.addtional?.USER_USERLIN ?? "",
|
|
11157
|
+
const { autor: t } = e, { SUB_PUBLICATION_PREFIX_IN_ROUTES: n, PUBLIC_LNG: a } = I(), r = he(), o = a === "en", i = t?.addtional, c = t?.info?.name ?? "", l = t?.info?.fullname ?? "", d = t?.info?.image?.sizes?.[0]?.url ?? "", u = o ? i?.USER_DESCRIPCION_EN || i?.USER_MIBIO_EN || "" : i?.USER_DESCRIPCION || i?.USER_MIBIO || "", h = t?.addtional?.USER_USERFB ?? "", m = t?.addtional?.USER_USERIG ?? "", p = t?.addtional?.USER_USERTWT ?? "", f = t?.addtional?.USER_USERLIN ?? "", b = $e("tiktok", i?.USER_PAGE_TIKTOK), w = $e("youtube", i?.USER_PAGE_YOUTUBE), A = $e(
|
|
11158
11158
|
"pinterest",
|
|
11159
11159
|
i?.USER_PAGE_PINTEREST
|
|
11160
11160
|
), y = `${r}/${e.paths.autor}/${c}`, v = u.replace(/<[^>]*>/g, "").replace(/&[^;]+;/g, " ").trim().length > 360, S = `ja2-bio-toggle-${c}`;
|
|
11161
|
-
return !!t && /* @__PURE__ */ s("section", { className: "sass-com-ja2-contentBox", children: /* @__PURE__ */
|
|
11162
|
-
/* @__PURE__ */
|
|
11161
|
+
return !!t && /* @__PURE__ */ s("section", { className: "sass-com-ja2-contentBox", children: /* @__PURE__ */ g("div", { className: "sass-com-ja2-content", children: [
|
|
11162
|
+
/* @__PURE__ */ g("div", { className: "sass-com-ja2-avatarContent", children: [
|
|
11163
11163
|
/* @__PURE__ */ s(
|
|
11164
11164
|
_,
|
|
11165
11165
|
{
|
|
@@ -11178,7 +11178,7 @@ const jf = (e) => {
|
|
|
11178
11178
|
) : /* @__PURE__ */ s("div", { className: "sass-com-ja2-contentIconStyled", children: e.autorIcon })
|
|
11179
11179
|
}
|
|
11180
11180
|
),
|
|
11181
|
-
/* @__PURE__ */
|
|
11181
|
+
/* @__PURE__ */ g("section", { className: "sass-com-ja2-journalistSection", children: [
|
|
11182
11182
|
/* @__PURE__ */ s(
|
|
11183
11183
|
_,
|
|
11184
11184
|
{
|
|
@@ -11188,7 +11188,7 @@ const jf = (e) => {
|
|
|
11188
11188
|
children: l
|
|
11189
11189
|
}
|
|
11190
11190
|
),
|
|
11191
|
-
/* @__PURE__ */
|
|
11191
|
+
/* @__PURE__ */ g("section", { className: "sass-com-ja2-socialNetworkSection", children: [
|
|
11192
11192
|
h && /* @__PURE__ */ s(
|
|
11193
11193
|
"a",
|
|
11194
11194
|
{
|
|
@@ -11223,7 +11223,7 @@ const jf = (e) => {
|
|
|
11223
11223
|
target: "_blank",
|
|
11224
11224
|
"aria-label": u,
|
|
11225
11225
|
rel: "noreferrer",
|
|
11226
|
-
children: /* @__PURE__ */
|
|
11226
|
+
children: /* @__PURE__ */ g(
|
|
11227
11227
|
"svg",
|
|
11228
11228
|
{
|
|
11229
11229
|
width: "24",
|
|
@@ -11232,7 +11232,7 @@ const jf = (e) => {
|
|
|
11232
11232
|
fill: "none",
|
|
11233
11233
|
xmlns: "http://www.w3.org/2000/svg",
|
|
11234
11234
|
children: [
|
|
11235
|
-
/* @__PURE__ */
|
|
11235
|
+
/* @__PURE__ */ g("g", { clipPath: "url(#clip0_281_2357)", children: [
|
|
11236
11236
|
/* @__PURE__ */ s(
|
|
11237
11237
|
"path",
|
|
11238
11238
|
{
|
|
@@ -11302,7 +11302,7 @@ const jf = (e) => {
|
|
|
11302
11302
|
target: "_blank",
|
|
11303
11303
|
"aria-label": u,
|
|
11304
11304
|
rel: "noreferrer",
|
|
11305
|
-
children: /* @__PURE__ */
|
|
11305
|
+
children: /* @__PURE__ */ g(
|
|
11306
11306
|
"svg",
|
|
11307
11307
|
{
|
|
11308
11308
|
width: "24",
|
|
@@ -11343,10 +11343,10 @@ const jf = (e) => {
|
|
|
11343
11343
|
)
|
|
11344
11344
|
}
|
|
11345
11345
|
),
|
|
11346
|
-
|
|
11346
|
+
b && /* @__PURE__ */ s(
|
|
11347
11347
|
"a",
|
|
11348
11348
|
{
|
|
11349
|
-
href:
|
|
11349
|
+
href: b,
|
|
11350
11350
|
target: "_blank",
|
|
11351
11351
|
"aria-label": "TikTok",
|
|
11352
11352
|
rel: "noreferrer",
|
|
@@ -11400,7 +11400,7 @@ const jf = (e) => {
|
|
|
11400
11400
|
] })
|
|
11401
11401
|
] })
|
|
11402
11402
|
] }),
|
|
11403
|
-
v ? /* @__PURE__ */
|
|
11403
|
+
v ? /* @__PURE__ */ g("div", { className: "sass-com-ja2-bioExpandable", children: [
|
|
11404
11404
|
/* @__PURE__ */ s(
|
|
11405
11405
|
"input",
|
|
11406
11406
|
{
|
|
@@ -11416,8 +11416,8 @@ const jf = (e) => {
|
|
|
11416
11416
|
dangerouslySetInnerHTML: { __html: u }
|
|
11417
11417
|
}
|
|
11418
11418
|
),
|
|
11419
|
-
/* @__PURE__ */
|
|
11420
|
-
/* @__PURE__ */
|
|
11419
|
+
/* @__PURE__ */ g("div", { className: "sass-com-ja2-bioFooter", children: [
|
|
11420
|
+
/* @__PURE__ */ g(
|
|
11421
11421
|
"label",
|
|
11422
11422
|
{
|
|
11423
11423
|
htmlFor: S,
|
|
@@ -11485,7 +11485,7 @@ const jf = (e) => {
|
|
|
11485
11485
|
"div",
|
|
11486
11486
|
{
|
|
11487
11487
|
className: "sass-com-jg-content su-flex su-w-full su-flex-col su-items-center su-justify-evenly su-gap-0 su-md:flex-row",
|
|
11488
|
-
children: Array.isArray(t.authors) && t.authors?.map(async (r) => /* @__PURE__ */
|
|
11488
|
+
children: Array.isArray(t.authors) && t.authors?.map(async (r) => /* @__PURE__ */ g(
|
|
11489
11489
|
"div",
|
|
11490
11490
|
{
|
|
11491
11491
|
className: "sass-com-jg-contentCard",
|
|
@@ -11500,7 +11500,7 @@ const jf = (e) => {
|
|
|
11500
11500
|
},
|
|
11501
11501
|
r.fullname
|
|
11502
11502
|
) : /* @__PURE__ */ s("div", { className: "sass-com-jg-contentIconStyled su-flex-center", children: e.autorIcon }, r.fullname),
|
|
11503
|
-
/* @__PURE__ */
|
|
11503
|
+
/* @__PURE__ */ g("div", { className: "sass-com-jg-contentInfo", children: [
|
|
11504
11504
|
r.internaluser ? /* @__PURE__ */ s(
|
|
11505
11505
|
_,
|
|
11506
11506
|
{
|
|
@@ -11533,7 +11533,7 @@ const jf = (e) => {
|
|
|
11533
11533
|
return t.startsWith("http://") || t.startsWith("https://") ? t : `https://${t}`;
|
|
11534
11534
|
}, Kf = async (e) => {
|
|
11535
11535
|
const t = e.img ? await fe(e.img) : "", n = un(e.social?.facebook ?? ""), a = un(e.social?.instagram ?? ""), r = un(e.social?.twitter ?? ""), o = un(e.social?.linkedin ?? ""), i = e.social && (n || a || r || o);
|
|
11536
|
-
return /* @__PURE__ */ s("section", { className: `sass-com-th-content ${e.className}`, children: /* @__PURE__ */
|
|
11536
|
+
return /* @__PURE__ */ s("section", { className: `sass-com-th-content ${e.className}`, children: /* @__PURE__ */ g(
|
|
11537
11537
|
"div",
|
|
11538
11538
|
{
|
|
11539
11539
|
className: `sass-com-th-contentInfo ${t ? "" : "sass-com-th-contentInfoWithoutImg"}`,
|
|
@@ -11558,7 +11558,7 @@ const jf = (e) => {
|
|
|
11558
11558
|
}
|
|
11559
11559
|
),
|
|
11560
11560
|
e.url && /* @__PURE__ */ s("a", { className: "sass-com-th-urlTag", href: e.url, children: e.url }),
|
|
11561
|
-
i && /* @__PURE__ */
|
|
11561
|
+
i && /* @__PURE__ */ g("div", { className: "sass-com-th-contenSocialNetwork", children: [
|
|
11562
11562
|
n && /* @__PURE__ */ s(
|
|
11563
11563
|
"a",
|
|
11564
11564
|
{
|
|
@@ -11620,8 +11620,8 @@ function Jf({
|
|
|
11620
11620
|
whatsAppShare: n,
|
|
11621
11621
|
text: a
|
|
11622
11622
|
}) {
|
|
11623
|
-
return /* @__PURE__ */
|
|
11624
|
-
e && /* @__PURE__ */
|
|
11623
|
+
return /* @__PURE__ */ g("div", { className: "sass-com-src-container", children: [
|
|
11624
|
+
e && /* @__PURE__ */ g(
|
|
11625
11625
|
"a",
|
|
11626
11626
|
{
|
|
11627
11627
|
className: "sass-com-src-button",
|
|
@@ -11645,7 +11645,7 @@ function Jf({
|
|
|
11645
11645
|
]
|
|
11646
11646
|
}
|
|
11647
11647
|
),
|
|
11648
|
-
t && /* @__PURE__ */
|
|
11648
|
+
t && /* @__PURE__ */ g(
|
|
11649
11649
|
"a",
|
|
11650
11650
|
{
|
|
11651
11651
|
className: "sass-com-src-button",
|
|
@@ -11669,7 +11669,7 @@ function Jf({
|
|
|
11669
11669
|
]
|
|
11670
11670
|
}
|
|
11671
11671
|
),
|
|
11672
|
-
n && /* @__PURE__ */
|
|
11672
|
+
n && /* @__PURE__ */ g(
|
|
11673
11673
|
"a",
|
|
11674
11674
|
{
|
|
11675
11675
|
className: "sass-com-src-button",
|
|
@@ -11710,7 +11710,7 @@ function Zf(e) {
|
|
|
11710
11710
|
overImage: h,
|
|
11711
11711
|
isTitle: m,
|
|
11712
11712
|
paths: p
|
|
11713
|
-
} = e, { CONFIG_videoClipUrl: f } = I(),
|
|
11713
|
+
} = e, { CONFIG_videoClipUrl: f } = I(), b = o?.homepreview ?? "imagen", w = () => {
|
|
11714
11714
|
const v = e.videos?.[0]?.clip;
|
|
11715
11715
|
return v ? /* @__PURE__ */ s("div", { className: "homeCardVideoClipContainer", children: /* @__PURE__ */ s("video", { autoPlay: !0, loop: !0, muted: !0, playsInline: !0, width: "480", height: "535", children: /* @__PURE__ */ s("source", { src: `${f}${v}`, type: "video/mp4" }) }) }) : null;
|
|
11716
11716
|
}, A = () => {
|
|
@@ -11783,7 +11783,7 @@ function Zf(e) {
|
|
|
11783
11783
|
) : null;
|
|
11784
11784
|
};
|
|
11785
11785
|
let N = null;
|
|
11786
|
-
switch (
|
|
11786
|
+
switch (b) {
|
|
11787
11787
|
case "fotogaleria":
|
|
11788
11788
|
N = /* @__PURE__ */ s(C, {});
|
|
11789
11789
|
break;
|
|
@@ -11827,7 +11827,7 @@ function Zf(e) {
|
|
|
11827
11827
|
);
|
|
11828
11828
|
break;
|
|
11829
11829
|
}
|
|
11830
|
-
return /* @__PURE__ */
|
|
11830
|
+
return /* @__PURE__ */ g(
|
|
11831
11831
|
"section",
|
|
11832
11832
|
{
|
|
11833
11833
|
className: "homeCardContent",
|
|
@@ -11866,7 +11866,7 @@ const St = (e) => {
|
|
|
11866
11866
|
}, i = () => {
|
|
11867
11867
|
if (t && e.keywords?.tags?.length && e.keywords.tags.length > 0) {
|
|
11868
11868
|
const l = e.keywords.tags[0], d = l.name;
|
|
11869
|
-
return l.approved ? /* @__PURE__ */
|
|
11869
|
+
return l.approved ? /* @__PURE__ */ g("h3", { children: [
|
|
11870
11870
|
" ",
|
|
11871
11871
|
/* @__PURE__ */ s(
|
|
11872
11872
|
_,
|
|
@@ -11906,7 +11906,7 @@ const St = (e) => {
|
|
|
11906
11906
|
return /* @__PURE__ */ s("h3", { children: /* @__PURE__ */ s(_, { className: "sass-bmd-sup-tag", href: e?.info?.section?.url, children: e?.info?.section?.name }) });
|
|
11907
11907
|
return null;
|
|
11908
11908
|
};
|
|
11909
|
-
return /* @__PURE__ */
|
|
11909
|
+
return /* @__PURE__ */ g("section", { className: "sass-bmd-sup-content destacado-super-content", children: [
|
|
11910
11910
|
/* @__PURE__ */ s(
|
|
11911
11911
|
_,
|
|
11912
11912
|
{
|
|
@@ -11930,7 +11930,7 @@ const St = (e) => {
|
|
|
11930
11930
|
)
|
|
11931
11931
|
}
|
|
11932
11932
|
),
|
|
11933
|
-
/* @__PURE__ */
|
|
11933
|
+
/* @__PURE__ */ g(
|
|
11934
11934
|
"div",
|
|
11935
11935
|
{
|
|
11936
11936
|
className: "sass-bmd-sup-contentNews",
|
|
@@ -11939,7 +11939,7 @@ const St = (e) => {
|
|
|
11939
11939
|
},
|
|
11940
11940
|
children: [
|
|
11941
11941
|
/* @__PURE__ */ s(i, {}),
|
|
11942
|
-
/* @__PURE__ */
|
|
11942
|
+
/* @__PURE__ */ g(
|
|
11943
11943
|
"div",
|
|
11944
11944
|
{
|
|
11945
11945
|
style: {
|
|
@@ -12009,7 +12009,7 @@ const St = (e) => {
|
|
|
12009
12009
|
heightImageOverwrite: h,
|
|
12010
12010
|
heightImageOverwriteMobile: m
|
|
12011
12011
|
} = e;
|
|
12012
|
-
return /* @__PURE__ */
|
|
12012
|
+
return /* @__PURE__ */ g("section", { className: "su-grid su-w-full su-gap-8 sass-bmd-dd-content", children: [
|
|
12013
12013
|
d ? /* @__PURE__ */ s(
|
|
12014
12014
|
"section",
|
|
12015
12015
|
{
|
|
@@ -12076,7 +12076,7 @@ const St = (e) => {
|
|
|
12076
12076
|
speculationPrerenderClass: r
|
|
12077
12077
|
}) => {
|
|
12078
12078
|
const o = e[0];
|
|
12079
|
-
return Array.isArray(e) && e.length > 0 && o && /* @__PURE__ */
|
|
12079
|
+
return Array.isArray(e) && e.length > 0 && o && /* @__PURE__ */ g("section", { className: "sass-bmd-dnh-content", children: [
|
|
12080
12080
|
/* @__PURE__ */ s(
|
|
12081
12081
|
"div",
|
|
12082
12082
|
{
|
|
@@ -12157,7 +12157,7 @@ const St = (e) => {
|
|
|
12157
12157
|
"sass-com-bh-title",
|
|
12158
12158
|
e.speculationPrerenderClass
|
|
12159
12159
|
);
|
|
12160
|
-
return /* @__PURE__ */
|
|
12160
|
+
return /* @__PURE__ */ g("div", { className: "sass-com-bh-content", children: [
|
|
12161
12161
|
/* @__PURE__ */ s(() => {
|
|
12162
12162
|
if (t && e.mainNew.keywords?.tags?.length && e.mainNew.keywords.tags.length > 0) {
|
|
12163
12163
|
const o = e.mainNew.keywords.tags[0], i = o.name;
|
|
@@ -12207,8 +12207,8 @@ const St = (e) => {
|
|
|
12207
12207
|
}
|
|
12208
12208
|
}
|
|
12209
12209
|
}, l = t.slice(1), d = c;
|
|
12210
|
-
return c && l && /* @__PURE__ */
|
|
12211
|
-
/* @__PURE__ */
|
|
12210
|
+
return c && l && /* @__PURE__ */ g(we, { title: n, titleUrl: e.titleUrl, children: [
|
|
12211
|
+
/* @__PURE__ */ g(
|
|
12212
12212
|
"div",
|
|
12213
12213
|
{
|
|
12214
12214
|
className: "su-flex su-flex-col-reverse su-overflow-hidden sass-bd-dn-headerSection",
|
|
@@ -12241,7 +12241,7 @@ const St = (e) => {
|
|
|
12241
12241
|
]
|
|
12242
12242
|
}
|
|
12243
12243
|
),
|
|
12244
|
-
/* @__PURE__ */
|
|
12244
|
+
/* @__PURE__ */ g(
|
|
12245
12245
|
"div",
|
|
12246
12246
|
{
|
|
12247
12247
|
className: "su-grid sass-bd-dn-newsContent",
|
|
@@ -12273,7 +12273,7 @@ const St = (e) => {
|
|
|
12273
12273
|
)
|
|
12274
12274
|
] });
|
|
12275
12275
|
}, Sn = async (e) => {
|
|
12276
|
-
const { data: t, autorIcon: n, speculationPrerenderClass: a } = e, { SUB_PUBLICATION_PREFIX_IN_ROUTES: r } = I(), o = () => t?.config?.showtime ? `${qe(t.info?.date?.modified)}` : "", i = /* @__PURE__ */
|
|
12276
|
+
const { data: t, autorIcon: n, speculationPrerenderClass: a } = e, { SUB_PUBLICATION_PREFIX_IN_ROUTES: r } = I(), o = () => t?.config?.showtime ? `${qe(t.info?.date?.modified)}` : "", i = /* @__PURE__ */ g("div", { className: "sass-com-oc2-autorContent", children: [
|
|
12277
12277
|
Array.isArray(t?.authors) && Array.isArray(t?.authors[0]?.image?.sizes) && t?.authors[0]?.image && t?.authors[0]?.image?.sizes?.length > 0 ? /* @__PURE__ */ s(
|
|
12278
12278
|
"img",
|
|
12279
12279
|
{
|
|
@@ -12294,7 +12294,7 @@ const St = (e) => {
|
|
|
12294
12294
|
}
|
|
12295
12295
|
)
|
|
12296
12296
|
] });
|
|
12297
|
-
return /* @__PURE__ */
|
|
12297
|
+
return /* @__PURE__ */ g("div", { className: "sass-com-oc2-content", children: [
|
|
12298
12298
|
t?.authors[0]?.internaluser ? /* @__PURE__ */ s(
|
|
12299
12299
|
_,
|
|
12300
12300
|
{
|
|
@@ -12303,7 +12303,7 @@ const St = (e) => {
|
|
|
12303
12303
|
children: i
|
|
12304
12304
|
}
|
|
12305
12305
|
) : i,
|
|
12306
|
-
/* @__PURE__ */
|
|
12306
|
+
/* @__PURE__ */ g("div", { className: "sass-com-oc2-boxInformationContent", children: [
|
|
12307
12307
|
/* @__PURE__ */ s(
|
|
12308
12308
|
_,
|
|
12309
12309
|
{
|
|
@@ -12371,7 +12371,7 @@ const Xf = (e) => {
|
|
|
12371
12371
|
title: e.title,
|
|
12372
12372
|
titleUrl: e.titleUrl,
|
|
12373
12373
|
isOpinion: t,
|
|
12374
|
-
children: /* @__PURE__ */
|
|
12374
|
+
children: /* @__PURE__ */ g("div", { className: "sass-bs-mo-content", children: [
|
|
12375
12375
|
/* @__PURE__ */ s("div", { className: "sass-bs-mo-contentFlex", children: r }),
|
|
12376
12376
|
/* @__PURE__ */ s("div", { className: "sass-bs-mo-bannerContent", children: e.halfPageBanner })
|
|
12377
12377
|
] })
|
|
@@ -12379,7 +12379,7 @@ const Xf = (e) => {
|
|
|
12379
12379
|
) });
|
|
12380
12380
|
}, ep = (e) => {
|
|
12381
12381
|
const { showTitle: t = !0 } = e;
|
|
12382
|
-
return /* @__PURE__ */
|
|
12382
|
+
return /* @__PURE__ */ g("div", { className: "sass-bs-eb1-content", children: [
|
|
12383
12383
|
t && /* @__PURE__ */ s("p", { className: "sass-bs-eb1-title", children: "Editorial" }),
|
|
12384
12384
|
/* @__PURE__ */ s(
|
|
12385
12385
|
Ze,
|
|
@@ -12398,8 +12398,8 @@ const Xf = (e) => {
|
|
|
12398
12398
|
] });
|
|
12399
12399
|
}, tp = (e) => {
|
|
12400
12400
|
const { news: t } = e, n = e.isHome ?? !1;
|
|
12401
|
-
return Array.isArray(t) && /* @__PURE__ */
|
|
12402
|
-
/* @__PURE__ */
|
|
12401
|
+
return Array.isArray(t) && /* @__PURE__ */ g("div", { className: "sass-bs-m2c-content", children: [
|
|
12402
|
+
/* @__PURE__ */ g("div", { className: "sass-bs-m2c-newsContent", children: [
|
|
12403
12403
|
e.bannerArray && e.bannerArray.map((a, r) => /* @__PURE__ */ s(
|
|
12404
12404
|
"div",
|
|
12405
12405
|
{
|
|
@@ -12450,7 +12450,7 @@ const Xf = (e) => {
|
|
|
12450
12450
|
] }),
|
|
12451
12451
|
/* @__PURE__ */ s("div", { className: "sass-bs-m2c-bannerContent", children: e.halfPageBanner })
|
|
12452
12452
|
] });
|
|
12453
|
-
}, np = (e) => /* @__PURE__ */
|
|
12453
|
+
}, np = (e) => /* @__PURE__ */ g(W, { children: [
|
|
12454
12454
|
/* @__PURE__ */ s(
|
|
12455
12455
|
Kd,
|
|
12456
12456
|
{
|
|
@@ -12588,7 +12588,7 @@ const sp = (e) => {
|
|
|
12588
12588
|
)
|
|
12589
12589
|
);
|
|
12590
12590
|
const r = Mu(a);
|
|
12591
|
-
return /* @__PURE__ */ s(we, { title: e.title, titleUrl: e.titleUrl, children: /* @__PURE__ */
|
|
12591
|
+
return /* @__PURE__ */ s(we, { title: e.title, titleUrl: e.titleUrl, children: /* @__PURE__ */ g("div", { className: "sass-bs-mbn-content", children: [
|
|
12592
12592
|
/* @__PURE__ */ s("div", { className: "sass-bs-mbn-contentFlex", children: r }),
|
|
12593
12593
|
/* @__PURE__ */ s("div", { className: "sass-bs-mbn-bannerContent", children: e.halfPageBanner })
|
|
12594
12594
|
] }) });
|
|
@@ -12671,8 +12671,8 @@ const sp = (e) => {
|
|
|
12671
12671
|
const { content: t, title: n, isVideo: a = !0 } = e;
|
|
12672
12672
|
if (!t || t.length === 0) return;
|
|
12673
12673
|
const r = t[0], o = e.isHome ?? (e.slot_id && e.slot_id !== "Nota_1"), i = t.slice(1);
|
|
12674
|
-
return r && i && /* @__PURE__ */
|
|
12675
|
-
/* @__PURE__ */
|
|
12674
|
+
return r && i && /* @__PURE__ */ g(we, { title: n, titleUrl: e.titleUrl, children: [
|
|
12675
|
+
/* @__PURE__ */ g("div", { className: "sass-bd-dv-headerSection", children: [
|
|
12676
12676
|
/* @__PURE__ */ s(
|
|
12677
12677
|
No,
|
|
12678
12678
|
{
|
|
@@ -12703,7 +12703,7 @@ const sp = (e) => {
|
|
|
12703
12703
|
}
|
|
12704
12704
|
)
|
|
12705
12705
|
] }),
|
|
12706
|
-
/* @__PURE__ */
|
|
12706
|
+
/* @__PURE__ */ g("div", { className: "sass-bd-dv-newsContent", children: [
|
|
12707
12707
|
/* @__PURE__ */ s("div", { className: "banner-context", style: { order: 1 }, children: e.banner }),
|
|
12708
12708
|
Array.isArray(i) && i.map((c, l) => {
|
|
12709
12709
|
const d = Vt(c), u = {
|
|
@@ -12731,7 +12731,7 @@ const sp = (e) => {
|
|
|
12731
12731
|
] });
|
|
12732
12732
|
}, Gu = async (e) => {
|
|
12733
12733
|
const { showNewsLikeTitle: t = !1, speculationPrerenderClass: n } = e;
|
|
12734
|
-
return e && e.info ? /* @__PURE__ */
|
|
12734
|
+
return e && e.info ? /* @__PURE__ */ g(
|
|
12735
12735
|
"section",
|
|
12736
12736
|
{
|
|
12737
12737
|
className: "sass-com-sc6-content",
|
|
@@ -12848,7 +12848,7 @@ const sp = (e) => {
|
|
|
12848
12848
|
"sass-com-opt1-linkStyled",
|
|
12849
12849
|
a
|
|
12850
12850
|
);
|
|
12851
|
-
return /* @__PURE__ */
|
|
12851
|
+
return /* @__PURE__ */ g("div", { className: "sass-com-opt1-content", children: [
|
|
12852
12852
|
Array.isArray(n.authors) && n?.authors[0]?.image ? /* @__PURE__ */ s(
|
|
12853
12853
|
"img",
|
|
12854
12854
|
{
|
|
@@ -12859,7 +12859,7 @@ const sp = (e) => {
|
|
|
12859
12859
|
alt: n?.authors[0]?.fullname
|
|
12860
12860
|
}
|
|
12861
12861
|
) : /* @__PURE__ */ s("div", { className: "sass-com-opt1-contentIcon", children: e.autorIcon }),
|
|
12862
|
-
/* @__PURE__ */
|
|
12862
|
+
/* @__PURE__ */ g("div", { className: "sass-com-opt1-boxInformation", children: [
|
|
12863
12863
|
/* @__PURE__ */ s("p", { className: "sass-com-opt1-authorName", children: n?.authors[0]?.internaluser ? /* @__PURE__ */ s(
|
|
12864
12864
|
_,
|
|
12865
12865
|
{
|
|
@@ -13009,7 +13009,7 @@ const sp = (e) => {
|
|
|
13009
13009
|
showNext: !(t.length < e.NEWS_PER_SECTION)
|
|
13010
13010
|
}
|
|
13011
13011
|
),
|
|
13012
|
-
children: Array.isArray(t) && t?.map((h, m) => /* @__PURE__ */
|
|
13012
|
+
children: Array.isArray(t) && t?.map((h, m) => /* @__PURE__ */ g(bs, { children: [
|
|
13013
13013
|
u.includes(m + 1) && /* @__PURE__ */ s(
|
|
13014
13014
|
"div",
|
|
13015
13015
|
{
|
|
@@ -13079,7 +13079,7 @@ const sp = (e) => {
|
|
|
13079
13079
|
showNext: !(t.length < e.NEWS_PER_SECTION)
|
|
13080
13080
|
}
|
|
13081
13081
|
),
|
|
13082
|
-
children: Array.isArray(t) && t?.map((h, m) => /* @__PURE__ */
|
|
13082
|
+
children: Array.isArray(t) && t?.map((h, m) => /* @__PURE__ */ g(bs, { children: [
|
|
13083
13083
|
u.includes(m + 1) && /* @__PURE__ */ s("div", { className: "sass-pg-sec-ItemCustomContent", children: /* @__PURE__ */ s(
|
|
13084
13084
|
Ee,
|
|
13085
13085
|
{
|
|
@@ -13140,9 +13140,9 @@ const sp = (e) => {
|
|
|
13140
13140
|
},
|
|
13141
13141
|
a
|
|
13142
13142
|
)) });
|
|
13143
|
-
}, $u = (e) => /* @__PURE__ */
|
|
13143
|
+
}, $u = (e) => /* @__PURE__ */ g("section", { className: "sass-com-lnoc-container", children: [
|
|
13144
13144
|
/* @__PURE__ */ s("div", { className: "sass-com-lnoc-note", children: e.children }),
|
|
13145
|
-
/* @__PURE__ */ s("div", { className: "sass-com-lnoc-commercial", children: /* @__PURE__ */
|
|
13145
|
+
/* @__PURE__ */ s("div", { className: "sass-com-lnoc-commercial", children: /* @__PURE__ */ g("div", { className: "sass-com-lnoc-commercialContent", children: [
|
|
13146
13146
|
e.slug === "liveblogs" && /* @__PURE__ */ s(lu, { itemList: e.itemList }),
|
|
13147
13147
|
e.bannerTop,
|
|
13148
13148
|
/* @__PURE__ */ s(
|
|
@@ -13179,7 +13179,7 @@ const sp = (e) => {
|
|
|
13179
13179
|
const i = o[0], l = (Array.isArray(i?.videos) ? i.videos : []).find(
|
|
13180
13180
|
(d) => d?.type === "video-embedded"
|
|
13181
13181
|
);
|
|
13182
|
-
return l?.code ? /* @__PURE__ */
|
|
13182
|
+
return l?.code ? /* @__PURE__ */ g("div", { className: "sass-pg-veh-content", children: [
|
|
13183
13183
|
/* @__PURE__ */ s(
|
|
13184
13184
|
"div",
|
|
13185
13185
|
{
|
|
@@ -13208,7 +13208,7 @@ const sp = (e) => {
|
|
|
13208
13208
|
const i = o[0], l = (Array.isArray(i?.videos) ? i.videos : []).find(
|
|
13209
13209
|
(d) => d?.type === "video-youtube"
|
|
13210
13210
|
);
|
|
13211
|
-
return !l?.code || typeof l.code != "string" ? null : /* @__PURE__ */
|
|
13211
|
+
return !l?.code || typeof l.code != "string" ? null : /* @__PURE__ */ g("div", { className: "sass-pg-vyh-content", children: [
|
|
13212
13212
|
/* @__PURE__ */ s(
|
|
13213
13213
|
"iframe",
|
|
13214
13214
|
{
|
|
@@ -13269,7 +13269,7 @@ const sp = (e) => {
|
|
|
13269
13269
|
) }) : null;
|
|
13270
13270
|
}, Zu = (e) => {
|
|
13271
13271
|
const t = e.option === "liveblogs", n = e.subtitleBeforeImage ? "sass-pg-news-headerSection--subtitleBeforeImage" : "";
|
|
13272
|
-
return /* @__PURE__ */
|
|
13272
|
+
return /* @__PURE__ */ g(W, { children: [
|
|
13273
13273
|
/* @__PURE__ */ s(() => {
|
|
13274
13274
|
if (!e.news[0]?.main?.title)
|
|
13275
13275
|
return Ye("HeaderSectionComponent", "news[0].main.title"), null;
|
|
@@ -13388,7 +13388,7 @@ const sp = (e) => {
|
|
|
13388
13388
|
o = o.replace(c, v);
|
|
13389
13389
|
continue;
|
|
13390
13390
|
}
|
|
13391
|
-
const u = d.preview?.sizes?.[0], h = u ? await fe(u.url) : "", m = d.info.section?.url ?? "#", p = d.info.section?.name ?? "Sección", f = d.info.link?.url ?? "#",
|
|
13391
|
+
const u = d.preview?.sizes?.[0], h = u ? await fe(u.url) : "", m = d.info.section?.url ?? "#", p = d.info.section?.name ?? "Sección", f = d.info.link?.url ?? "#", b = d.main?.title.article ?? "Título", w = (await Promise.all(
|
|
13392
13392
|
d.preview?.sizes?.map(async (v) => {
|
|
13393
13393
|
const S = await fe(v.url);
|
|
13394
13394
|
return v.width < 200 ? `<source srcset="${S}" media="(width < 750px)"/>` : `<source srcset="${S}" media="(width >= 750px)"/>`;
|
|
@@ -13397,11 +13397,11 @@ const sp = (e) => {
|
|
|
13397
13397
|
<span data-src="${l}">
|
|
13398
13398
|
<picture style='display: flex'>
|
|
13399
13399
|
${w}
|
|
13400
|
-
<img fetchPriority='low' loading='lazy' src="${h}" alt="${String(t.noteRelatedImageAlt ?? "")} ${
|
|
13400
|
+
<img fetchPriority='low' loading='lazy' src="${h}" alt="${String(t.noteRelatedImageAlt ?? "")} ${b}" />
|
|
13401
13401
|
</picture>
|
|
13402
13402
|
<div>
|
|
13403
13403
|
<a class="section" href="${m}">${p}</a>
|
|
13404
|
-
<a class="title" href="${f}">${
|
|
13404
|
+
<a class="title" href="${f}">${b}</a>
|
|
13405
13405
|
</div>
|
|
13406
13406
|
</span>
|
|
13407
13407
|
`, N = c.replace(y, C);
|
|
@@ -13440,32 +13440,32 @@ async function am(e, t) {
|
|
|
13440
13440
|
const m = await t.iframe({ path: d }), p = t.schema ? await t.schema(d) : null;
|
|
13441
13441
|
if (m && m.data) {
|
|
13442
13442
|
const f = m.data.data[0];
|
|
13443
|
-
let
|
|
13443
|
+
let b = "";
|
|
13444
13444
|
const w = l.match(
|
|
13445
13445
|
/<span\b[^>]*class=["']video__title["'][^>]*>([\s\S]*?)<\/span>/i
|
|
13446
13446
|
), A = w && w[1] ? w[1].trim() : "";
|
|
13447
|
-
f.info && f.info.type === "video-youtube" ?
|
|
13447
|
+
f.info && f.info.type === "video-youtube" ? b = `<iframe
|
|
13448
13448
|
loading="lazy"
|
|
13449
13449
|
frameborder="0"
|
|
13450
13450
|
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"
|
|
13451
13451
|
referrerpolicy="strict-origin-when-cross-origin"
|
|
13452
13452
|
allowfullscreen
|
|
13453
13453
|
style="width: 100%; height: auto; min-height: 400px;"
|
|
13454
|
-
src="https://www.youtube.com/embed/${f.main?.code || f.main?.youtubeid || ""}"></iframe>` : f.info && f.info.type === "video-link" ?
|
|
13454
|
+
src="https://www.youtube.com/embed/${f.main?.code || f.main?.youtubeid || ""}"></iframe>` : f.info && f.info.type === "video-link" ? b = `<iframe
|
|
13455
13455
|
loading="lazy"
|
|
13456
13456
|
frameborder="0"
|
|
13457
13457
|
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"
|
|
13458
13458
|
referrerpolicy="strict-origin-when-cross-origin"
|
|
13459
13459
|
allowfullscreen
|
|
13460
13460
|
style="width: 100%; height: auto; min-height: 400px;"
|
|
13461
|
-
src="${f.main?.code || ""}"></iframe>` :
|
|
13461
|
+
src="${f.main?.code || ""}"></iframe>` : b = f.main?.code || "";
|
|
13462
13462
|
const y = A || f.main?.description || "";
|
|
13463
13463
|
h = `
|
|
13464
13464
|
<figure class="videoFigure">
|
|
13465
13465
|
${p && p.data && p.data.data ? `<script type="application/ld+json">${Gn(
|
|
13466
13466
|
JSON.stringify(p.data.data)
|
|
13467
13467
|
)}<\/script>` : ""}
|
|
13468
|
-
${
|
|
13468
|
+
${b}
|
|
13469
13469
|
${y ? `<figcaption>${y}</figcaption>` : ""}
|
|
13470
13470
|
</figure>
|
|
13471
13471
|
`;
|
|
@@ -13507,9 +13507,9 @@ const om = async ({
|
|
|
13507
13507
|
}
|
|
13508
13508
|
};
|
|
13509
13509
|
});
|
|
13510
|
-
return /* @__PURE__ */ s("section", { className: "sass-com-bnl-content", id: "block-notes-list", children: c?.map(async (l, d) => /* @__PURE__ */
|
|
13511
|
-
/* @__PURE__ */ s(Xu, { id: `item-${d + 1}`, children: /* @__PURE__ */
|
|
13512
|
-
(await l).date > 0 && /* @__PURE__ */
|
|
13510
|
+
return /* @__PURE__ */ s("section", { className: "sass-com-bnl-content", id: "block-notes-list", children: c?.map(async (l, d) => /* @__PURE__ */ g(bs, { children: [
|
|
13511
|
+
/* @__PURE__ */ s(Xu, { id: `item-${d + 1}`, children: /* @__PURE__ */ g("div", { className: "sass-com-bnl-contentWithinCard", children: [
|
|
13512
|
+
(await l).date > 0 && /* @__PURE__ */ g("div", { className: "sass-com-bnl-contentDate", children: [
|
|
13513
13513
|
/* @__PURE__ */ s(
|
|
13514
13514
|
"span",
|
|
13515
13515
|
{
|
|
@@ -13581,7 +13581,7 @@ const om = async ({
|
|
|
13581
13581
|
Pinterest: "pinterest"
|
|
13582
13582
|
};
|
|
13583
13583
|
function im({ url: e }) {
|
|
13584
|
-
return e && e !== "" && /* @__PURE__ */
|
|
13584
|
+
return e && e !== "" && /* @__PURE__ */ g(_, { href: e, className: "sass-com-ja3-googleProfileButton", children: [
|
|
13585
13585
|
/* @__PURE__ */ s(
|
|
13586
13586
|
"svg",
|
|
13587
13587
|
{
|
|
@@ -13601,7 +13601,7 @@ function im({ url: e }) {
|
|
|
13601
13601
|
/* @__PURE__ */ s(cm, {})
|
|
13602
13602
|
] });
|
|
13603
13603
|
}
|
|
13604
|
-
const cm = () => /* @__PURE__ */
|
|
13604
|
+
const cm = () => /* @__PURE__ */ g("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 272 92", width: "272", height: "92", children: [
|
|
13605
13605
|
/* @__PURE__ */ s("path", { fill: "#EA4335", d: "M115.75 47.18c0 12.77-9.99 22.18-22.25 22.18s-22.25-9.41-22.25-22.18C71.25 34.32 81.24 25 93.5 25s22.25 9.32 22.25 22.18zm-9.74 0c0-7.98-5.79-13.44-12.51-13.44S80.99 39.2 80.99 47.18c0 7.9 5.79 13.44 12.51 13.44s12.51-5.55 12.51-13.44z" }),
|
|
13606
13606
|
/* @__PURE__ */ s("path", { fill: "#FBBC05", d: "M163.75 47.18c0 12.77-9.99 22.18-22.25 22.18s-22.25-9.41-22.25-22.18c0-12.85 9.99-22.18 22.25-22.18s22.25 9.32 22.25 22.18zm-9.74 0c0-7.98-5.79-13.44-12.51-13.44s-12.51 5.46-12.51 13.44c0 7.9 5.79 13.44 12.51 13.44s12.51-5.55 12.51-13.44z" }),
|
|
13607
13607
|
/* @__PURE__ */ s("path", { fill: "#4285F4", d: "M209.75 26.34v39.82c0 16.38-9.66 23.07-21.08 23.07-10.75 0-17.22-7.19-19.66-13.07l8.48-3.53c1.51 3.61 5.21 7.87 11.17 7.87 7.31 0 11.84-4.51 11.84-13v-3.19h-.34c-2.18 2.69-6.38 5.04-11.68 5.04-11.09 0-21.25-9.66-21.25-22.09 0-12.52 10.16-22.26 21.25-22.26 5.29 0 9.49 2.35 11.68 4.96h.34v-3.61h9.25zm-8.56 20.92c0-7.81-5.21-13.52-11.84-13.52-6.72 0-12.35 5.71-12.35 13.52 0 7.73 5.63 13.36 12.35 13.36 6.63 0 11.84-5.63 11.84-13.36z" }),
|
|
@@ -13616,8 +13616,8 @@ const cm = () => /* @__PURE__ */ b("svg", { xmlns: "http://www.w3.org/2000/svg",
|
|
|
13616
13616
|
} = I(), i = he(), c = (p) => `${i}/${e.paths.autor}/${p}`, l = t.authors.map(
|
|
13617
13617
|
(p) => p.internaluser ? `<a href="${c(p.name)}">${p.fullname}</a>` : p.fullname
|
|
13618
13618
|
).join(", "), u = t.authors.length === 1 ? "sass-com-ja3--singleAuthor" : "sass-com-ja3--multiAuthor", m = `sass-com-ja3-imageContent--count${Math.min(t.authors.length, 6)}`;
|
|
13619
|
-
return t.config?.showauthor && /* @__PURE__ */ s("div", { className: "sass-com-ja3-content", children: /* @__PURE__ */
|
|
13620
|
-
o ? /* @__PURE__ */
|
|
13619
|
+
return t.config?.showauthor && /* @__PURE__ */ s("div", { className: "sass-com-ja3-content", children: /* @__PURE__ */ g("div", { className: "sass-com-ja3-avatarContent", children: [
|
|
13620
|
+
o ? /* @__PURE__ */ g(
|
|
13621
13621
|
"a",
|
|
13622
13622
|
{
|
|
13623
13623
|
className: "sass-com-ja3-whatsappLink",
|
|
@@ -13625,7 +13625,7 @@ const cm = () => /* @__PURE__ */ b("svg", { xmlns: "http://www.w3.org/2000/svg",
|
|
|
13625
13625
|
rel: "noreferrer",
|
|
13626
13626
|
target: "_blank",
|
|
13627
13627
|
children: [
|
|
13628
|
-
/* @__PURE__ */
|
|
13628
|
+
/* @__PURE__ */ g(
|
|
13629
13629
|
"svg",
|
|
13630
13630
|
{
|
|
13631
13631
|
width: "30",
|
|
@@ -13665,7 +13665,7 @@ const cm = () => /* @__PURE__ */ b("svg", { xmlns: "http://www.w3.org/2000/svg",
|
|
|
13665
13665
|
url: e.noteShare?.googleProfile?.url ?? ""
|
|
13666
13666
|
}
|
|
13667
13667
|
),
|
|
13668
|
-
/* @__PURE__ */
|
|
13668
|
+
/* @__PURE__ */ g(
|
|
13669
13669
|
"section",
|
|
13670
13670
|
{
|
|
13671
13671
|
className: `sass-com-ja3-journalistSection ${u}`,
|
|
@@ -13737,7 +13737,7 @@ const cm = () => /* @__PURE__ */ b("svg", { xmlns: "http://www.w3.org/2000/svg",
|
|
|
13737
13737
|
path: t,
|
|
13738
13738
|
imagesizes: a ? a[0]?.scale : n.contract.note.itemsListPrimary
|
|
13739
13739
|
}))?.data.data[0]?.gallery ?? [];
|
|
13740
|
-
return /* @__PURE__ */
|
|
13740
|
+
return /* @__PURE__ */ g("div", { className: "sass-com-in2-content", children: [
|
|
13741
13741
|
/* @__PURE__ */ s(
|
|
13742
13742
|
ht,
|
|
13743
13743
|
{
|
|
@@ -13838,7 +13838,7 @@ const hm = (e) => /* @__PURE__ */ s(
|
|
|
13838
13838
|
}
|
|
13839
13839
|
)
|
|
13840
13840
|
}
|
|
13841
|
-
), Jn = () => /* @__PURE__ */
|
|
13841
|
+
), Jn = () => /* @__PURE__ */ g("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
|
|
13842
13842
|
/* @__PURE__ */ s("path", { d: "M24 12.2727C24 11.4218 23.9221 10.6036 23.7774 9.81818H12.2449V14.4655H18.8349C18.5455 15.96 17.6772 17.2255 16.3748 18.0764V21.0982H20.3488C22.6642 19.0036 24 15.9273 24 12.2727Z", fill: "#4285F4" }),
|
|
13843
13843
|
/* @__PURE__ */ s("path", { d: "M12.2449 24C15.551 24 18.3228 22.9309 20.3488 21.0982L16.3748 18.0764C15.2839 18.7964 13.8924 19.2327 12.2449 19.2327C9.06122 19.2327 6.35622 17.1273 5.38776 14.2909H1.31354V17.3891C3.32839 21.3055 7.45826 24 12.2449 24Z", fill: "#34A853" }),
|
|
13844
13844
|
/* @__PURE__ */ s("path", { d: "M5.38776 14.28C5.14286 13.56 4.99814 12.7964 4.99814 12C4.99814 11.2036 5.14286 10.44 5.38776 9.72V6.62182H1.31354C0.478664 8.23636 0 10.0582 0 12C0 13.9418 0.478664 15.7636 1.31354 17.3782L4.48609 14.9564L5.38776 14.28Z", fill: "#FBBC05" }),
|
|
@@ -13886,7 +13886,7 @@ function pm({ noteShare: e }) {
|
|
|
13886
13886
|
const t = e && e.url || (typeof window < "u" ? window.location.href : "https://example.com");
|
|
13887
13887
|
if (!e) return null;
|
|
13888
13888
|
const n = ft();
|
|
13889
|
-
return /* @__PURE__ */
|
|
13889
|
+
return /* @__PURE__ */ g("div", { className: "sass-com-ja4-socialNetworkSection", children: [
|
|
13890
13890
|
e.options?.map((a) => {
|
|
13891
13891
|
const r = fm[a];
|
|
13892
13892
|
if (!r) return null;
|
|
@@ -13924,7 +13924,7 @@ function pm({ noteShare: e }) {
|
|
|
13924
13924
|
children: /* @__PURE__ */ s(Ws, {})
|
|
13925
13925
|
}
|
|
13926
13926
|
),
|
|
13927
|
-
e?.googleProfile && e?.googleProfile.likeSocial && e?.googleProfile.url !== "" && /* @__PURE__ */
|
|
13927
|
+
e?.googleProfile && e?.googleProfile.likeSocial && e?.googleProfile.url !== "" && /* @__PURE__ */ g(_, { href: e?.googleProfile.url ?? "", className: "sass-com-ja4-socialActionLink sass-com-ja4-socialActionLinkGoogleMobile", "aria-label": "Follow on Google", children: [
|
|
13928
13928
|
/* @__PURE__ */ s(
|
|
13929
13929
|
"svg",
|
|
13930
13930
|
{
|
|
@@ -13954,10 +13954,10 @@ const gm = async (e) => {
|
|
|
13954
13954
|
} = I(), c = he(), l = (f) => `${c}/${e.paths.autor}/${f}`, d = t.authors.map(
|
|
13955
13955
|
(f) => f.internaluser ? `<a href="${l(f.name)}">${f.fullname}</a>` : f.fullname
|
|
13956
13956
|
).join(", "), h = t.authors.length === 1 ? "sass-com-ja4--singleAuthor" : "sass-com-ja4--multiAuthor", p = `sass-com-ja4-imageContent--count${Math.min(t.authors.length, 6)}`;
|
|
13957
|
-
return t.config?.showauthor && /* @__PURE__ */ s("div", { className: "sass-com-ja4-content sass-journalist-articule-4", children: /* @__PURE__ */
|
|
13958
|
-
/* @__PURE__ */
|
|
13959
|
-
/* @__PURE__ */
|
|
13960
|
-
r && /* @__PURE__ */
|
|
13957
|
+
return t.config?.showauthor && /* @__PURE__ */ s("div", { className: "sass-com-ja4-content sass-journalist-articule-4", children: /* @__PURE__ */ g("div", { className: "sass-com-ja4-avatarContent", children: [
|
|
13958
|
+
/* @__PURE__ */ g("div", { className: "sass-com-ja4-socialActionsRow", children: [
|
|
13959
|
+
/* @__PURE__ */ g("div", { className: "sass-com-ja4-socialActionDiv", children: [
|
|
13960
|
+
r && /* @__PURE__ */ g(
|
|
13961
13961
|
"a",
|
|
13962
13962
|
{
|
|
13963
13963
|
className: "sass-com-ja4-socialActionLink",
|
|
@@ -13966,7 +13966,7 @@ const gm = async (e) => {
|
|
|
13966
13966
|
target: "_blank",
|
|
13967
13967
|
children: [
|
|
13968
13968
|
/* @__PURE__ */ s("span", { children: String(a.WhatsAppLinkJournalist ?? "") }),
|
|
13969
|
-
/* @__PURE__ */
|
|
13969
|
+
/* @__PURE__ */ g(
|
|
13970
13970
|
"svg",
|
|
13971
13971
|
{
|
|
13972
13972
|
width: "24",
|
|
@@ -13989,7 +13989,7 @@ const gm = async (e) => {
|
|
|
13989
13989
|
]
|
|
13990
13990
|
}
|
|
13991
13991
|
),
|
|
13992
|
-
e.noteShare?.googleProfile && !e.noteShare?.googleProfile.likeSocial && e.noteShare?.googleProfile.url !== "" && /* @__PURE__ */
|
|
13992
|
+
e.noteShare?.googleProfile && !e.noteShare?.googleProfile.likeSocial && e.noteShare?.googleProfile.url !== "" && /* @__PURE__ */ g(
|
|
13993
13993
|
_,
|
|
13994
13994
|
{
|
|
13995
13995
|
href: e.noteShare?.googleProfile.url ?? "",
|
|
@@ -14040,12 +14040,12 @@ const gm = async (e) => {
|
|
|
14040
14040
|
}
|
|
14041
14041
|
)
|
|
14042
14042
|
] }),
|
|
14043
|
-
/* @__PURE__ */
|
|
14043
|
+
/* @__PURE__ */ g(
|
|
14044
14044
|
"section",
|
|
14045
14045
|
{
|
|
14046
14046
|
className: `sass-com-ja4-journalistSection ${h}`,
|
|
14047
14047
|
children: [
|
|
14048
|
-
/* @__PURE__ */
|
|
14048
|
+
/* @__PURE__ */ g(
|
|
14049
14049
|
"div",
|
|
14050
14050
|
{
|
|
14051
14051
|
className: `sass-com-ja4-authorsInfoRow ${h}`,
|
|
@@ -14055,7 +14055,7 @@ const gm = async (e) => {
|
|
|
14055
14055
|
{
|
|
14056
14056
|
className: `sass-com-ja4-imageContent ${p}`,
|
|
14057
14057
|
children: Array.isArray(t.authors) && t.authors?.map(
|
|
14058
|
-
async (f,
|
|
14058
|
+
async (f, b) => f.image ? /* @__PURE__ */ s(
|
|
14059
14059
|
"img",
|
|
14060
14060
|
{
|
|
14061
14061
|
fetchPriority: "low",
|
|
@@ -14159,7 +14159,7 @@ function wm({ noteShare: e, GoogleProfile: t }) {
|
|
|
14159
14159
|
const n = e && e.url || (typeof window < "u" ? window.location.href : "https://example.com");
|
|
14160
14160
|
if (!e) return null;
|
|
14161
14161
|
const a = e.variant === "custom", r = ft();
|
|
14162
|
-
return /* @__PURE__ */
|
|
14162
|
+
return /* @__PURE__ */ g("div", { className: "sass-com-ja5-socialNetworkSection", children: [
|
|
14163
14163
|
e.options?.map((o) => {
|
|
14164
14164
|
const i = bm[o];
|
|
14165
14165
|
if (!i) return null;
|
|
@@ -14197,7 +14197,7 @@ function wm({ noteShare: e, GoogleProfile: t }) {
|
|
|
14197
14197
|
children: /* @__PURE__ */ s(Ws, { forceSVG: !a })
|
|
14198
14198
|
}
|
|
14199
14199
|
),
|
|
14200
|
-
e?.googleProfile && e?.googleProfile.likeSocial && e?.googleProfile.url !== "" && /* @__PURE__ */
|
|
14200
|
+
e?.googleProfile && e?.googleProfile.likeSocial && e?.googleProfile.url !== "" && /* @__PURE__ */ g(_, { href: e?.googleProfile.url ?? "", className: "sass-com-ja5-socialActionLink sass-com-ja5-socialActionLinkGoogleMobile", "aria-label": "Follow on Google", children: [
|
|
14201
14201
|
/* @__PURE__ */ s(
|
|
14202
14202
|
"svg",
|
|
14203
14203
|
{
|
|
@@ -14234,10 +14234,10 @@ const Am = async (e) => {
|
|
|
14234
14234
|
"div",
|
|
14235
14235
|
{
|
|
14236
14236
|
className: `sass-com-ja5-content sass-journalist-articule-5 ${f}`,
|
|
14237
|
-
children: /* @__PURE__ */
|
|
14238
|
-
/* @__PURE__ */
|
|
14239
|
-
/* @__PURE__ */
|
|
14240
|
-
e.noteShare?.customButton && (d ? /* @__PURE__ */
|
|
14237
|
+
children: /* @__PURE__ */ g("div", { className: "sass-com-ja5-avatarContent", children: [
|
|
14238
|
+
/* @__PURE__ */ g("div", { className: "sass-com-ja5-socialActionsRow", children: [
|
|
14239
|
+
/* @__PURE__ */ g("div", { className: "sass-com-ja5-socialActionDiv", children: [
|
|
14240
|
+
e.noteShare?.customButton && (d ? /* @__PURE__ */ g(
|
|
14241
14241
|
"a",
|
|
14242
14242
|
{
|
|
14243
14243
|
href: "#comentarios",
|
|
@@ -14275,7 +14275,7 @@ const Am = async (e) => {
|
|
|
14275
14275
|
"aria-label": "Custom button for the journalist article"
|
|
14276
14276
|
}
|
|
14277
14277
|
)),
|
|
14278
|
-
r && /* @__PURE__ */
|
|
14278
|
+
r && /* @__PURE__ */ g(
|
|
14279
14279
|
"a",
|
|
14280
14280
|
{
|
|
14281
14281
|
className: "sass-com-ja5-socialActionLink",
|
|
@@ -14283,7 +14283,7 @@ const Am = async (e) => {
|
|
|
14283
14283
|
rel: "noreferrer",
|
|
14284
14284
|
target: "_blank",
|
|
14285
14285
|
children: [
|
|
14286
|
-
/* @__PURE__ */
|
|
14286
|
+
/* @__PURE__ */ g(
|
|
14287
14287
|
"svg",
|
|
14288
14288
|
{
|
|
14289
14289
|
width: "24",
|
|
@@ -14307,7 +14307,7 @@ const Am = async (e) => {
|
|
|
14307
14307
|
]
|
|
14308
14308
|
}
|
|
14309
14309
|
),
|
|
14310
|
-
e.noteShare?.googleSourceShare && /* @__PURE__ */
|
|
14310
|
+
e.noteShare?.googleSourceShare && /* @__PURE__ */ g(
|
|
14311
14311
|
_,
|
|
14312
14312
|
{
|
|
14313
14313
|
href: e.noteShare?.googleSourceShare ?? "",
|
|
@@ -14337,7 +14337,7 @@ const Am = async (e) => {
|
|
|
14337
14337
|
]
|
|
14338
14338
|
}
|
|
14339
14339
|
),
|
|
14340
|
-
e.noteShare?.googleProfile && !e.noteShare?.googleProfile.likeSocial && e.noteShare?.googleProfile.url !== "" && /* @__PURE__ */
|
|
14340
|
+
e.noteShare?.googleProfile && !e.noteShare?.googleProfile.likeSocial && e.noteShare?.googleProfile.url !== "" && /* @__PURE__ */ g(
|
|
14341
14341
|
_,
|
|
14342
14342
|
{
|
|
14343
14343
|
href: e.noteShare?.googleProfile.url ?? "",
|
|
@@ -14362,7 +14362,7 @@ const Am = async (e) => {
|
|
|
14362
14362
|
}
|
|
14363
14363
|
)
|
|
14364
14364
|
] }),
|
|
14365
|
-
/* @__PURE__ */
|
|
14365
|
+
/* @__PURE__ */ g(
|
|
14366
14366
|
"section",
|
|
14367
14367
|
{
|
|
14368
14368
|
className: [
|
|
@@ -14371,7 +14371,7 @@ const Am = async (e) => {
|
|
|
14371
14371
|
t.config?.showtime && "sass-com-ja5-journalistSection--withDate"
|
|
14372
14372
|
].filter(Boolean).join(" "),
|
|
14373
14373
|
children: [
|
|
14374
|
-
/* @__PURE__ */
|
|
14374
|
+
/* @__PURE__ */ g("div", { className: "sass-com-ja5-journalistMain", children: [
|
|
14375
14375
|
/* @__PURE__ */ s("div", { className: `sass-com-ja5-imageContent ${w}`, children: Array.isArray(t.authors) && t.authors?.map(
|
|
14376
14376
|
async (A) => A.image ? /* @__PURE__ */ s(
|
|
14377
14377
|
"img",
|
|
@@ -14440,22 +14440,22 @@ const Am = async (e) => {
|
|
|
14440
14440
|
if (!(t === "true")) {
|
|
14441
14441
|
const d = /<img\b[^>]*\bsrc=["']([^"']+)["']/g, u = [...e.matchAll(d)], h = {};
|
|
14442
14442
|
for (const f of u) {
|
|
14443
|
-
const
|
|
14443
|
+
const b = f[1] ?? "", w = e.includes(b) ? { url: b } : null;
|
|
14444
14444
|
if (w) {
|
|
14445
14445
|
const A = await fe(w.url) || "";
|
|
14446
|
-
h[
|
|
14446
|
+
h[b] = A;
|
|
14447
14447
|
}
|
|
14448
14448
|
}
|
|
14449
14449
|
const m = {}, p = /<figure\b[^>]*>[\s\S]*?<\/figure>/g;
|
|
14450
14450
|
for (const f of [...e.matchAll(p)]) {
|
|
14451
|
-
const
|
|
14452
|
-
|
|
14451
|
+
const b = f[0].match(/<img\b[^>]*\bsrc=["']([^"']+)["']/), w = f[0].match(/<figcaption[^>]*>([\s\S]*?)<\/figcaption>/i);
|
|
14452
|
+
b?.[1] && w?.[1] && (m[b[1]] = w[1].replace(/<[^>]+>/g, "").trim());
|
|
14453
14453
|
}
|
|
14454
14454
|
return e.replace(
|
|
14455
14455
|
d,
|
|
14456
|
-
(f,
|
|
14456
|
+
(f, b) => {
|
|
14457
14457
|
const w = f.match(/\btitle=["']([^"']*)["']/);
|
|
14458
|
-
return `<img fetchPriority='low' loading='lazy' alt='${(m[
|
|
14458
|
+
return `<img fetchPriority='low' loading='lazy' alt='${(m[b] || w?.[1] || "imagen").replace(/'/g, "'")}' src="${h[b] || b}"`;
|
|
14459
14459
|
}
|
|
14460
14460
|
);
|
|
14461
14461
|
}
|
|
@@ -14468,7 +14468,7 @@ const Am = async (e) => {
|
|
|
14468
14468
|
if (!d) break;
|
|
14469
14469
|
const u = d[0], h = d[1] ?? "";
|
|
14470
14470
|
r.add(h);
|
|
14471
|
-
const m = u.match(/<figcaption[^>]*>([\s\S]*?)<\/figcaption>/i), p = m ? m[1].replace(/<[^>]+>/g, "").trim() : null, f = u.match(/<img\b[^>]*\balt=["']([^"']*)["']/),
|
|
14471
|
+
const m = u.match(/<figcaption[^>]*>([\s\S]*?)<\/figcaption>/i), p = m ? m[1].replace(/<[^>]+>/g, "").trim() : null, f = u.match(/<img\b[^>]*\balt=["']([^"']*)["']/), b = u.match(/<img\b[^>]*\btitle=["']([^"']*)["']/), w = p || f?.[1] || b?.[1] || "imagen", A = h.match(/__scale=([^&"']+)/), y = A ? decodeURIComponent(A[1]) : null;
|
|
14472
14472
|
let C = 0, N = 0;
|
|
14473
14473
|
if (y) {
|
|
14474
14474
|
const z = y.match(/w:(\d+)/), O = y.match(/h:(\d+)/);
|
|
@@ -14502,7 +14502,7 @@ const Am = async (e) => {
|
|
|
14502
14502
|
for (const d of l) {
|
|
14503
14503
|
const u = d[0], h = d[1] ?? "";
|
|
14504
14504
|
if (r.has(h)) continue;
|
|
14505
|
-
const m = u.match(/\balt=["']([^"']*)["']/), p = u.match(/\btitle=["']([^"']*)["']/), f = m?.[1] || p?.[1] || "imagen",
|
|
14505
|
+
const m = u.match(/\balt=["']([^"']*)["']/), p = u.match(/\btitle=["']([^"']*)["']/), f = m?.[1] || p?.[1] || "imagen", b = h.match(/__scale=([^&"']+)/), w = b ? decodeURIComponent(b[1]) : null;
|
|
14506
14506
|
let A = 0, y = 0;
|
|
14507
14507
|
if (w) {
|
|
14508
14508
|
const T = w.match(/w:(\d+)/), P = w.match(/h:(\d+)/);
|
|
@@ -14566,9 +14566,9 @@ const Am = async (e) => {
|
|
|
14566
14566
|
"gi"
|
|
14567
14567
|
).test(d)) {
|
|
14568
14568
|
l++;
|
|
14569
|
-
const
|
|
14570
|
-
if (!
|
|
14571
|
-
const w = Bs(
|
|
14569
|
+
const b = c ? c.get(l) : t.find((A) => A.key === `block_2_${i[l]}`);
|
|
14570
|
+
if (!b || !b.show) return m;
|
|
14571
|
+
const w = Bs(b.value, n);
|
|
14572
14572
|
return w ? `${m}<div class="banner-context">${o ? Sm(w) : w}</div>` : m;
|
|
14573
14573
|
}
|
|
14574
14574
|
return m;
|
|
@@ -14603,7 +14603,7 @@ const Am = async (e) => {
|
|
|
14603
14603
|
return !!C && l.includes(C);
|
|
14604
14604
|
});
|
|
14605
14605
|
if (!d || !d[0]) continue;
|
|
14606
|
-
const u = d[0].preview?.sizes?.[0], h = u ? await fe(u.url) : "", m = d[0].info.section?.url ?? "#", p = d[0].info.section?.name ?? "Sección", f = d[0].info.link?.url ?? "#",
|
|
14606
|
+
const u = d[0].preview?.sizes?.[0], h = u ? await fe(u.url) : "", m = d[0].info.section?.url ?? "#", p = d[0].info.section?.name ?? "Sección", f = d[0].info.link?.url ?? "#", b = d[0].main?.title.article ?? "Título", w = (await Promise.all(
|
|
14607
14607
|
(d[0].preview?.sizes ?? []).map(async (y, C) => {
|
|
14608
14608
|
const N = await fe(y.url);
|
|
14609
14609
|
return C === 0 ? `<source srcset="${N}" media="(width >= 900px)"/>` : `<source srcset="${N}" media="(width < 900px)"/>`;
|
|
@@ -14612,11 +14612,11 @@ const Am = async (e) => {
|
|
|
14612
14612
|
<span data-src="${l}">
|
|
14613
14613
|
<picture style='display: flex'>
|
|
14614
14614
|
${w}
|
|
14615
|
-
<img fetchPriority='low' loading='lazy' src="${h}" alt="${String(t.noteRelatedImageAlt ?? "")} ${
|
|
14615
|
+
<img fetchPriority='low' loading='lazy' src="${h}" alt="${String(t.noteRelatedImageAlt ?? "")} ${b}" />
|
|
14616
14616
|
</picture>
|
|
14617
14617
|
<div>
|
|
14618
14618
|
<a class="section" href="${m}">${p}</a>
|
|
14619
|
-
<a class="title" href="${f}">${
|
|
14619
|
+
<a class="title" href="${f}">${b}</a>
|
|
14620
14620
|
</div>
|
|
14621
14621
|
</span>
|
|
14622
14622
|
`;
|
|
@@ -14644,9 +14644,9 @@ async function km(e, t) {
|
|
|
14644
14644
|
const h = d, m = e.slice(i, h);
|
|
14645
14645
|
let p = null;
|
|
14646
14646
|
const f = /<span\b([^>]*)>/gi;
|
|
14647
|
-
let
|
|
14648
|
-
for (; (
|
|
14649
|
-
const A =
|
|
14647
|
+
let b;
|
|
14648
|
+
for (; (b = f.exec(m)) !== null; ) {
|
|
14649
|
+
const A = b[1];
|
|
14650
14650
|
if (!A) break;
|
|
14651
14651
|
if (/data-type\s*=\s*["']?video["']?/i.test(A)) {
|
|
14652
14652
|
const y = A.match(/data-src\s*=\s*["']([^"']+)["']/i);
|
|
@@ -14733,8 +14733,8 @@ async function Im(e) {
|
|
|
14733
14733
|
e.texts,
|
|
14734
14734
|
a
|
|
14735
14735
|
), m = await km(m, l), m = ym(m), m = vm(m);
|
|
14736
|
-
const p = t.main?.sources ?? [], { NEWS_JOURNALIST_COMPONENT: f, CONFIG_blockDefaultTwitterHydrator:
|
|
14737
|
-
return /* @__PURE__ */
|
|
14736
|
+
const p = t.main?.sources ?? [], { NEWS_JOURNALIST_COMPONENT: f, CONFIG_blockDefaultTwitterHydrator: b } = I(), w = t.config?.articlepreview === ut.fotoGaleria && t.hascontent?.hasgalleryimages;
|
|
14737
|
+
return /* @__PURE__ */ g(W, { children: [
|
|
14738
14738
|
o !== "liveblogs" && e.showHeaderImage ? w ? /* @__PURE__ */ s(
|
|
14739
14739
|
um,
|
|
14740
14740
|
{
|
|
@@ -14761,37 +14761,40 @@ async function Im(e) {
|
|
|
14761
14761
|
}
|
|
14762
14762
|
),
|
|
14763
14763
|
/* @__PURE__ */ s(Ee, { banners: n, name: "block_1", scope: h }),
|
|
14764
|
-
/* @__PURE__ */
|
|
14765
|
-
|
|
14766
|
-
|
|
14767
|
-
|
|
14768
|
-
|
|
14769
|
-
|
|
14770
|
-
|
|
14771
|
-
|
|
14772
|
-
|
|
14773
|
-
|
|
14774
|
-
|
|
14775
|
-
|
|
14776
|
-
|
|
14777
|
-
|
|
14778
|
-
|
|
14779
|
-
|
|
14780
|
-
|
|
14781
|
-
|
|
14782
|
-
|
|
14783
|
-
|
|
14784
|
-
|
|
14785
|
-
|
|
14786
|
-
|
|
14787
|
-
|
|
14788
|
-
|
|
14789
|
-
|
|
14790
|
-
|
|
14791
|
-
|
|
14792
|
-
|
|
14793
|
-
|
|
14794
|
-
|
|
14764
|
+
/* @__PURE__ */ g("div", { className: "sass-pg-nrs-journalistArticleContent", children: [
|
|
14765
|
+
f === "op1" ? /* @__PURE__ */ s(
|
|
14766
|
+
lm,
|
|
14767
|
+
{
|
|
14768
|
+
autorIcon: e.autorIcon,
|
|
14769
|
+
socials: c,
|
|
14770
|
+
news: t,
|
|
14771
|
+
texts: e.texts,
|
|
14772
|
+
noteShare: e.noteShare,
|
|
14773
|
+
paths: e.paths
|
|
14774
|
+
}
|
|
14775
|
+
) : f === "op2" ? /* @__PURE__ */ s(
|
|
14776
|
+
gm,
|
|
14777
|
+
{
|
|
14778
|
+
autorIcon: e.autorIcon,
|
|
14779
|
+
socials: c,
|
|
14780
|
+
news: t,
|
|
14781
|
+
texts: e.texts,
|
|
14782
|
+
noteShare: e.noteShare,
|
|
14783
|
+
paths: e.paths
|
|
14784
|
+
}
|
|
14785
|
+
) : /* @__PURE__ */ s(
|
|
14786
|
+
Am,
|
|
14787
|
+
{
|
|
14788
|
+
autorIcon: e.autorIcon,
|
|
14789
|
+
socials: c,
|
|
14790
|
+
news: t,
|
|
14791
|
+
texts: e.texts,
|
|
14792
|
+
noteShare: e.noteShare,
|
|
14793
|
+
paths: e.paths
|
|
14794
|
+
}
|
|
14795
|
+
),
|
|
14796
|
+
e?.customAfterJournalistComponent
|
|
14797
|
+
] }),
|
|
14795
14798
|
e.customSummary ? e.customSummary : /* @__PURE__ */ s(dm, { summary: t.main?.summary }),
|
|
14796
14799
|
/* @__PURE__ */ s(
|
|
14797
14800
|
"main",
|
|
@@ -14814,11 +14817,11 @@ async function Im(e) {
|
|
|
14814
14817
|
scope: h
|
|
14815
14818
|
}
|
|
14816
14819
|
),
|
|
14817
|
-
p.length > 0 && /* @__PURE__ */
|
|
14820
|
+
p.length > 0 && /* @__PURE__ */ g("div", { className: "sass-pg-nrs-noteSource", children: [
|
|
14818
14821
|
/* @__PURE__ */ s(hm, {}),
|
|
14819
14822
|
/* @__PURE__ */ s("p", { children: String(e.texts.noteSource ?? "") + (p.length === 1 ? "" : "s") + ": " + p.map((A) => A.name).join(", ") })
|
|
14820
14823
|
] }),
|
|
14821
|
-
!
|
|
14824
|
+
!b && t && t.hascontent && t.hascontent.hasembeddedtwitter && /* @__PURE__ */ s("script", { async: !0, defer: !0, src: "https://platform.twitter.com/widgets.js" })
|
|
14822
14825
|
] });
|
|
14823
14826
|
}
|
|
14824
14827
|
const Um = (e) => {
|
|
@@ -14845,12 +14848,13 @@ const Um = (e) => {
|
|
|
14845
14848
|
socials: m,
|
|
14846
14849
|
getVideos: p,
|
|
14847
14850
|
scope: f,
|
|
14848
|
-
customSummary:
|
|
14851
|
+
customSummary: b,
|
|
14849
14852
|
subtitleBeforeImage: w,
|
|
14850
|
-
headerSectionStyles: A
|
|
14853
|
+
headerSectionStyles: A,
|
|
14854
|
+
customAfterJournalistComponent: y
|
|
14851
14855
|
} = e;
|
|
14852
14856
|
if (l)
|
|
14853
|
-
return /* @__PURE__ */
|
|
14857
|
+
return /* @__PURE__ */ g(W, { children: [
|
|
14854
14858
|
/* @__PURE__ */ s(
|
|
14855
14859
|
Im,
|
|
14856
14860
|
{
|
|
@@ -14868,9 +14872,10 @@ const Um = (e) => {
|
|
|
14868
14872
|
paths: i,
|
|
14869
14873
|
showHeaderImage: !Um(l),
|
|
14870
14874
|
commonServices: a,
|
|
14871
|
-
customSummary:
|
|
14875
|
+
customSummary: b,
|
|
14872
14876
|
subtitleBeforeImage: w,
|
|
14873
|
-
headerSectionStyles: A
|
|
14877
|
+
headerSectionStyles: A,
|
|
14878
|
+
customAfterJournalistComponent: y
|
|
14874
14879
|
}
|
|
14875
14880
|
),
|
|
14876
14881
|
/* @__PURE__ */ s(Ee, { banners: c ?? [], name: "block_3", scope: f })
|
|
@@ -14889,7 +14894,7 @@ const Um = (e) => {
|
|
|
14889
14894
|
} = e;
|
|
14890
14895
|
if (!r || !r[0]) return;
|
|
14891
14896
|
const u = r[0]?.info?.section?.slug, h = u ? { type: "seccion", value: u } : { type: "general" };
|
|
14892
|
-
return /* @__PURE__ */
|
|
14897
|
+
return /* @__PURE__ */ g(W, { children: [
|
|
14893
14898
|
/* @__PURE__ */ s(
|
|
14894
14899
|
Zu,
|
|
14895
14900
|
{
|
|
@@ -14915,7 +14920,7 @@ const Um = (e) => {
|
|
|
14915
14920
|
readestCustomStyles: e.readestCustomStyles,
|
|
14916
14921
|
bannerTop: /* @__PURE__ */ s(Ee, { banners: n ?? [], name: "right_1", scope: h }),
|
|
14917
14922
|
banner: /* @__PURE__ */ s(Ee, { banners: n ?? [], name: "right_2", scope: h }),
|
|
14918
|
-
complement: /* @__PURE__ */
|
|
14923
|
+
complement: /* @__PURE__ */ g("div", { id: "comentarios", className: "sass-pg-news-complementContent", suppressHydrationWarning: !0, children: [
|
|
14919
14924
|
a.length > 0 && /* @__PURE__ */ s(
|
|
14920
14925
|
Iu,
|
|
14921
14926
|
{
|
|
@@ -14990,7 +14995,7 @@ const Um = (e) => {
|
|
|
14990
14995
|
"form",
|
|
14991
14996
|
{
|
|
14992
14997
|
className: "su-w-full su-flex su-justify-center su-gap-4 sass-pg-buscar-content",
|
|
14993
|
-
children: /* @__PURE__ */
|
|
14998
|
+
children: /* @__PURE__ */ g("div", { className: "sass-pg-buscar-inputStyled sass-buscar-form", children: [
|
|
14994
14999
|
/* @__PURE__ */ s(
|
|
14995
15000
|
"input",
|
|
14996
15001
|
{
|
|
@@ -15081,7 +15086,7 @@ function cp({ texts: e, API_ENV: t, termsAndConditionsUrl: n }) {
|
|
|
15081
15086
|
{ label: a.passwordRuleSymbol, test: Me[4] }
|
|
15082
15087
|
],
|
|
15083
15088
|
[a.passwordRuleMinLength, a.passwordRuleNumber, a.passwordRuleLowercase, a.passwordRuleUppercase, a.passwordRuleSymbol]
|
|
15084
|
-
), [i, c] = V({}), [l, d] = V(!1), [u, h] = V(!1), [m, p] = V(null), [f,
|
|
15089
|
+
), [i, c] = V({}), [l, d] = V(!1), [u, h] = V(!1), [m, p] = V(null), [f, b] = V(
|
|
15085
15090
|
"register"
|
|
15086
15091
|
), w = async () => {
|
|
15087
15092
|
if (t.PUBLIC_ENV === "local") {
|
|
@@ -15136,12 +15141,12 @@ function cp({ texts: e, API_ENV: t, termsAndConditionsUrl: n }) {
|
|
|
15136
15141
|
method: "POST",
|
|
15137
15142
|
headers: { "Content-Type": "application/json" },
|
|
15138
15143
|
body: JSON.stringify({ username: i.email })
|
|
15139
|
-
}),
|
|
15144
|
+
}), b("confirm");
|
|
15140
15145
|
return;
|
|
15141
15146
|
}
|
|
15142
15147
|
throw new Error(F?.error || "Error al crear usuario");
|
|
15143
15148
|
}
|
|
15144
|
-
|
|
15149
|
+
b("confirm");
|
|
15145
15150
|
} catch (S) {
|
|
15146
15151
|
console.log(S), p(S?.message || S?.error || a.errorUnexpected);
|
|
15147
15152
|
} finally {
|
|
@@ -15166,16 +15171,16 @@ function cp({ texts: e, API_ENV: t, termsAndConditionsUrl: n }) {
|
|
|
15166
15171
|
const T = await S.json().catch(() => ({}));
|
|
15167
15172
|
throw new Error(T?.error || "Error al confirmar usuario");
|
|
15168
15173
|
}
|
|
15169
|
-
|
|
15174
|
+
b("success");
|
|
15170
15175
|
} catch (S) {
|
|
15171
15176
|
p(S?.message || a.errorUnexpected);
|
|
15172
15177
|
} finally {
|
|
15173
15178
|
h(!1);
|
|
15174
15179
|
}
|
|
15175
15180
|
}, N = i.password || "";
|
|
15176
|
-
return /* @__PURE__ */
|
|
15177
|
-
f === "register" && /* @__PURE__ */
|
|
15178
|
-
/* @__PURE__ */
|
|
15181
|
+
return /* @__PURE__ */ g(W, { children: [
|
|
15182
|
+
f === "register" && /* @__PURE__ */ g(W, { children: [
|
|
15183
|
+
/* @__PURE__ */ g("button", { onClick: w, className: "sass-pg-login-google", children: [
|
|
15179
15184
|
/* @__PURE__ */ s(
|
|
15180
15185
|
"img",
|
|
15181
15186
|
{
|
|
@@ -15187,14 +15192,14 @@ function cp({ texts: e, API_ENV: t, termsAndConditionsUrl: n }) {
|
|
|
15187
15192
|
/* @__PURE__ */ s("span", { children: a.GoogleButtonText })
|
|
15188
15193
|
] }),
|
|
15189
15194
|
/* @__PURE__ */ s("div", { className: "sass-pg-login-divider", children: /* @__PURE__ */ s("span", { children: "o" }) }),
|
|
15190
|
-
/* @__PURE__ */
|
|
15195
|
+
/* @__PURE__ */ g(
|
|
15191
15196
|
"form",
|
|
15192
15197
|
{
|
|
15193
15198
|
onSubmit: y,
|
|
15194
15199
|
className: "sass-pg-login-form",
|
|
15195
15200
|
"data-error": m ? "true" : "false",
|
|
15196
15201
|
children: [
|
|
15197
|
-
/* @__PURE__ */ s("ul", { className: "sass-pg-login-formUl", children: Object.entries(r).map(([v, { label: S }]) => /* @__PURE__ */
|
|
15202
|
+
/* @__PURE__ */ s("ul", { className: "sass-pg-login-formUl", children: Object.entries(r).map(([v, { label: S }]) => /* @__PURE__ */ g("div", { className: "sass-pg-login-field", children: [
|
|
15198
15203
|
/* @__PURE__ */ s("label", { className: "sass-pg-login-label", children: S }),
|
|
15199
15204
|
/* @__PURE__ */ s(
|
|
15200
15205
|
"input",
|
|
@@ -15209,7 +15214,7 @@ function cp({ texts: e, API_ENV: t, termsAndConditionsUrl: n }) {
|
|
|
15209
15214
|
),
|
|
15210
15215
|
v === "password" && /* @__PURE__ */ s("div", { className: "sass-pg-login-passwordChecker", children: o.map((T, P) => {
|
|
15211
15216
|
const z = T.test(N);
|
|
15212
|
-
return /* @__PURE__ */
|
|
15217
|
+
return /* @__PURE__ */ g(
|
|
15213
15218
|
"div",
|
|
15214
15219
|
{
|
|
15215
15220
|
className: z ? "sass-pg-login-valid" : "sass-pg-login-invalid",
|
|
@@ -15221,7 +15226,7 @@ function cp({ texts: e, API_ENV: t, termsAndConditionsUrl: n }) {
|
|
|
15221
15226
|
P
|
|
15222
15227
|
);
|
|
15223
15228
|
}) }),
|
|
15224
|
-
v === "confirmPassword" && /* @__PURE__ */
|
|
15229
|
+
v === "confirmPassword" && /* @__PURE__ */ g("div", { className: "sass-pg-login-checkboxRow", children: [
|
|
15225
15230
|
/* @__PURE__ */ s(
|
|
15226
15231
|
"input",
|
|
15227
15232
|
{
|
|
@@ -15242,7 +15247,7 @@ function cp({ texts: e, API_ENV: t, termsAndConditionsUrl: n }) {
|
|
|
15242
15247
|
] })
|
|
15243
15248
|
] }, v)) }),
|
|
15244
15249
|
m && /* @__PURE__ */ s("p", { className: "sass-pg-login-error", children: m }),
|
|
15245
|
-
/* @__PURE__ */
|
|
15250
|
+
/* @__PURE__ */ g("p", { className: "sass-pg-login-terms", children: [
|
|
15246
15251
|
a.termsPrefix,
|
|
15247
15252
|
" ",
|
|
15248
15253
|
/* @__PURE__ */ s("a", { href: n ?? "/pages/terminos-y-condiciones", target: "_blank", children: a.termsLinkText }),
|
|
@@ -15254,14 +15259,14 @@ function cp({ texts: e, API_ENV: t, termsAndConditionsUrl: n }) {
|
|
|
15254
15259
|
}
|
|
15255
15260
|
)
|
|
15256
15261
|
] }),
|
|
15257
|
-
f === "confirm" && /* @__PURE__ */
|
|
15262
|
+
f === "confirm" && /* @__PURE__ */ g(
|
|
15258
15263
|
"form",
|
|
15259
15264
|
{
|
|
15260
15265
|
onSubmit: C,
|
|
15261
15266
|
className: "sass-pg-login-form",
|
|
15262
15267
|
"data-error": m ? "true" : "false",
|
|
15263
15268
|
children: [
|
|
15264
|
-
/* @__PURE__ */
|
|
15269
|
+
/* @__PURE__ */ g("div", { className: "sass-pg-login-field", children: [
|
|
15265
15270
|
/* @__PURE__ */ s("label", { className: "sass-pg-login-label", children: a.verificationCodeLabel }),
|
|
15266
15271
|
/* @__PURE__ */ s(
|
|
15267
15272
|
"input",
|
|
@@ -15277,15 +15282,15 @@ function cp({ texts: e, API_ENV: t, termsAndConditionsUrl: n }) {
|
|
|
15277
15282
|
] }),
|
|
15278
15283
|
m && /* @__PURE__ */ s("p", { className: "sass-pg-login-error", children: m }),
|
|
15279
15284
|
/* @__PURE__ */ s("button", { type: "submit", className: "sass-pg-login-primary", disabled: u, children: u ? /* @__PURE__ */ s(Qt, {}) : a.confirmAccountButton }),
|
|
15280
|
-
/* @__PURE__ */
|
|
15285
|
+
/* @__PURE__ */ g("p", { className: "sass-pg-login-switch", children: [
|
|
15281
15286
|
a.alreadyConfirmedText,
|
|
15282
15287
|
/* @__PURE__ */ s("a", { className: "sass-pg-login-toRegister", href: "./login", children: a.loginButtonText })
|
|
15283
15288
|
] })
|
|
15284
15289
|
]
|
|
15285
15290
|
}
|
|
15286
15291
|
),
|
|
15287
|
-
f === "success" && /* @__PURE__ */
|
|
15288
|
-
/* @__PURE__ */
|
|
15292
|
+
f === "success" && /* @__PURE__ */ g("form", { className: "sass-pg-login-form", children: [
|
|
15293
|
+
/* @__PURE__ */ g("div", { className: "sass-pg-login-successContainer", children: [
|
|
15289
15294
|
/* @__PURE__ */ s("div", { className: "sass-pg-login-thumbsUp", children: /* @__PURE__ */ s(
|
|
15290
15295
|
"svg",
|
|
15291
15296
|
{
|
|
@@ -15302,14 +15307,14 @@ function cp({ texts: e, API_ENV: t, termsAndConditionsUrl: n }) {
|
|
|
15302
15307
|
)
|
|
15303
15308
|
}
|
|
15304
15309
|
) }),
|
|
15305
|
-
/* @__PURE__ */
|
|
15310
|
+
/* @__PURE__ */ g("div", { className: "sass-pg-login-successMessage", children: [
|
|
15306
15311
|
/* @__PURE__ */ s("p", { children: a.successTitle }),
|
|
15307
15312
|
/* @__PURE__ */ s("p", { children: a.successMessage })
|
|
15308
15313
|
] })
|
|
15309
15314
|
] }),
|
|
15310
15315
|
/* @__PURE__ */ s("a", { href: "./login", type: "submit", className: "sass-pg-login-primary", children: a.loginButtonText })
|
|
15311
15316
|
] }),
|
|
15312
|
-
f === "register" && /* @__PURE__ */
|
|
15317
|
+
f === "register" && /* @__PURE__ */ g("p", { className: "sass-pg-login-switch", children: [
|
|
15313
15318
|
a.alreadyHasAccountText,
|
|
15314
15319
|
/* @__PURE__ */ s("a", { className: "sass-pg-login-toRegister", href: "./login", children: a.loginButtonText })
|
|
15315
15320
|
] })
|
|
@@ -15343,7 +15348,7 @@ function lp({
|
|
|
15343
15348
|
API_ENV: e,
|
|
15344
15349
|
texts: t
|
|
15345
15350
|
}) {
|
|
15346
|
-
const n = { ...Bm, ...t?.comentarios }, [a, r] = V("login"), [o, i] = V(""), [c, l] = V(""), [d, u] = V(""), [h, m] = V(""), [p, f] = V(""), [
|
|
15351
|
+
const n = { ...Bm, ...t?.comentarios }, [a, r] = V("login"), [o, i] = V(""), [c, l] = V(""), [d, u] = V(""), [h, m] = V(""), [p, f] = V(""), [b, w] = V(!1), [A, y] = V(!1), [C, N] = V(null);
|
|
15347
15352
|
ue.useEffect(() => {
|
|
15348
15353
|
if (typeof window > "u") return;
|
|
15349
15354
|
window.location.hash.includes("forgot") && a === "login" && r("forgot"), a === "login" && S();
|
|
@@ -15355,13 +15360,13 @@ function lp({
|
|
|
15355
15360
|
console.log("Redirect path after login:", R, document.cookie, document.cookie.search("redirect_after_login_1=") !== -1), R && R !== "" ? (window.location.pathname = R, window.location.hash = "comentarios") : window.location.pathname = he(e) + "/auth/success";
|
|
15356
15361
|
}
|
|
15357
15362
|
};
|
|
15358
|
-
return /* @__PURE__ */
|
|
15363
|
+
return /* @__PURE__ */ g(W, { children: [
|
|
15359
15364
|
a === "login" && /* @__PURE__ */ s(
|
|
15360
15365
|
Mm,
|
|
15361
15366
|
{
|
|
15362
15367
|
email: o,
|
|
15363
15368
|
password: c,
|
|
15364
|
-
showPassword:
|
|
15369
|
+
showPassword: b,
|
|
15365
15370
|
loading: A,
|
|
15366
15371
|
error: C,
|
|
15367
15372
|
setEmail: i,
|
|
@@ -15452,7 +15457,7 @@ function lp({
|
|
|
15452
15457
|
confirmationCode: d,
|
|
15453
15458
|
newPassword: h,
|
|
15454
15459
|
confirmNewPassword: p,
|
|
15455
|
-
showPassword:
|
|
15460
|
+
showPassword: b,
|
|
15456
15461
|
loading: A,
|
|
15457
15462
|
error: C,
|
|
15458
15463
|
setConfirmationCode: u,
|
|
@@ -15520,8 +15525,8 @@ function Mm({
|
|
|
15520
15525
|
handleGoogleLogin: u,
|
|
15521
15526
|
t: h
|
|
15522
15527
|
}) {
|
|
15523
|
-
return /* @__PURE__ */
|
|
15524
|
-
/* @__PURE__ */
|
|
15528
|
+
return /* @__PURE__ */ g(W, { children: [
|
|
15529
|
+
/* @__PURE__ */ g("button", { onClick: u, className: "sass-pg-login-google", children: [
|
|
15525
15530
|
/* @__PURE__ */ s(
|
|
15526
15531
|
"img",
|
|
15527
15532
|
{
|
|
@@ -15533,14 +15538,14 @@ function Mm({
|
|
|
15533
15538
|
/* @__PURE__ */ s("span", { children: h.GoogleButtonText })
|
|
15534
15539
|
] }),
|
|
15535
15540
|
/* @__PURE__ */ s("div", { className: "sass-pg-login-divider", children: /* @__PURE__ */ s("span", { children: "o" }) }),
|
|
15536
|
-
/* @__PURE__ */
|
|
15541
|
+
/* @__PURE__ */ g(
|
|
15537
15542
|
"form",
|
|
15538
15543
|
{
|
|
15539
15544
|
onSubmit: l,
|
|
15540
15545
|
className: "sass-pg-login-form",
|
|
15541
15546
|
"data-error": r ? "true" : "false",
|
|
15542
15547
|
children: [
|
|
15543
|
-
/* @__PURE__ */
|
|
15548
|
+
/* @__PURE__ */ g("div", { className: "sass-pg-login-field", children: [
|
|
15544
15549
|
/* @__PURE__ */ s("label", { className: "sass-pg-login-label", children: h.email }),
|
|
15545
15550
|
/* @__PURE__ */ s(
|
|
15546
15551
|
"input",
|
|
@@ -15553,7 +15558,7 @@ function Mm({
|
|
|
15553
15558
|
}
|
|
15554
15559
|
)
|
|
15555
15560
|
] }),
|
|
15556
|
-
/* @__PURE__ */
|
|
15561
|
+
/* @__PURE__ */ g("div", { className: "sass-pg-login-field", children: [
|
|
15557
15562
|
/* @__PURE__ */ s("label", { className: "sass-pg-login-label", children: h.password }),
|
|
15558
15563
|
/* @__PURE__ */ s(
|
|
15559
15564
|
"input",
|
|
@@ -15565,7 +15570,7 @@ function Mm({
|
|
|
15565
15570
|
placeholder: ""
|
|
15566
15571
|
}
|
|
15567
15572
|
),
|
|
15568
|
-
/* @__PURE__ */
|
|
15573
|
+
/* @__PURE__ */ g("div", { className: "sass-pg-login-checkboxRow", children: [
|
|
15569
15574
|
/* @__PURE__ */ s(
|
|
15570
15575
|
"input",
|
|
15571
15576
|
{
|
|
@@ -15583,7 +15588,7 @@ function Mm({
|
|
|
15583
15588
|
]
|
|
15584
15589
|
}
|
|
15585
15590
|
),
|
|
15586
|
-
/* @__PURE__ */
|
|
15591
|
+
/* @__PURE__ */ g("p", { className: "sass-pg-login-switch", children: [
|
|
15587
15592
|
h.noAccountText,
|
|
15588
15593
|
/* @__PURE__ */ s("a", { className: "sass-pg-login-toRegister", href: "./register", children: h.registerButtonText })
|
|
15589
15594
|
] }),
|
|
@@ -15607,7 +15612,7 @@ function _m({
|
|
|
15607
15612
|
onBack: o,
|
|
15608
15613
|
t: i
|
|
15609
15614
|
}) {
|
|
15610
|
-
return /* @__PURE__ */
|
|
15615
|
+
return /* @__PURE__ */ g(
|
|
15611
15616
|
"form",
|
|
15612
15617
|
{
|
|
15613
15618
|
onSubmit: r,
|
|
@@ -15615,7 +15620,7 @@ function _m({
|
|
|
15615
15620
|
"data-error": a ? "true" : "false",
|
|
15616
15621
|
children: [
|
|
15617
15622
|
/* @__PURE__ */ s("p", { className: "sass-pg-login-message", children: i.forgotMessage }),
|
|
15618
|
-
/* @__PURE__ */
|
|
15623
|
+
/* @__PURE__ */ g("div", { className: "sass-pg-login-field", children: [
|
|
15619
15624
|
/* @__PURE__ */ s("label", { className: "sass-pg-login-label", children: i.email }),
|
|
15620
15625
|
/* @__PURE__ */ s(
|
|
15621
15626
|
"input",
|
|
@@ -15664,7 +15669,7 @@ function qm({
|
|
|
15664
15669
|
t: p
|
|
15665
15670
|
}) {
|
|
15666
15671
|
const f = p.changePasswordMessage.replace("{{email}}", Dm(e));
|
|
15667
|
-
return /* @__PURE__ */
|
|
15672
|
+
return /* @__PURE__ */ g(
|
|
15668
15673
|
"form",
|
|
15669
15674
|
{
|
|
15670
15675
|
onSubmit: h,
|
|
@@ -15672,61 +15677,61 @@ function qm({
|
|
|
15672
15677
|
"data-error": i ? "true" : "false",
|
|
15673
15678
|
children: [
|
|
15674
15679
|
/* @__PURE__ */ s("p", { className: "sass-pg-login-message", children: f }),
|
|
15675
|
-
/* @__PURE__ */
|
|
15676
|
-
/* @__PURE__ */
|
|
15680
|
+
/* @__PURE__ */ g("ul", { className: "sass-pg-login-formUl", children: [
|
|
15681
|
+
/* @__PURE__ */ g("div", { className: "sass-pg-login-field", children: [
|
|
15677
15682
|
/* @__PURE__ */ s("label", { className: "sass-pg-login-label", children: p.verificationCodeLabel }),
|
|
15678
15683
|
/* @__PURE__ */ s(
|
|
15679
15684
|
"input",
|
|
15680
15685
|
{
|
|
15681
15686
|
type: "text",
|
|
15682
15687
|
value: t,
|
|
15683
|
-
onChange: (
|
|
15688
|
+
onChange: (b) => c(b.target.value),
|
|
15684
15689
|
className: "sass-pg-login-input",
|
|
15685
15690
|
placeholder: ""
|
|
15686
15691
|
}
|
|
15687
15692
|
)
|
|
15688
15693
|
] }),
|
|
15689
|
-
/* @__PURE__ */
|
|
15694
|
+
/* @__PURE__ */ g("div", { className: "sass-pg-login-field", children: [
|
|
15690
15695
|
/* @__PURE__ */ s("label", { className: "sass-pg-login-label", children: p.newPasswordLabel }),
|
|
15691
15696
|
/* @__PURE__ */ s(
|
|
15692
15697
|
"input",
|
|
15693
15698
|
{
|
|
15694
15699
|
type: r ? "text" : "password",
|
|
15695
15700
|
value: n,
|
|
15696
|
-
onChange: (
|
|
15701
|
+
onChange: (b) => l(b.target.value),
|
|
15697
15702
|
className: "sass-pg-login-input",
|
|
15698
15703
|
placeholder: "",
|
|
15699
15704
|
name: "password"
|
|
15700
15705
|
}
|
|
15701
15706
|
),
|
|
15702
|
-
/* @__PURE__ */ s("div", { className: "sass-pg-login-passwordChecker", children: So.map((
|
|
15703
|
-
const A =
|
|
15704
|
-
return /* @__PURE__ */
|
|
15707
|
+
/* @__PURE__ */ s("div", { className: "sass-pg-login-passwordChecker", children: So.map((b, w) => {
|
|
15708
|
+
const A = b.test(n);
|
|
15709
|
+
return /* @__PURE__ */ g("div", { className: A ? "sass-pg-login-valid" : "sass-pg-login-invalid", children: [
|
|
15705
15710
|
/* @__PURE__ */ s("div", { children: A ? "✔" : "○" }),
|
|
15706
|
-
/* @__PURE__ */ s("div", { children:
|
|
15711
|
+
/* @__PURE__ */ s("div", { children: b.label })
|
|
15707
15712
|
] }, w);
|
|
15708
15713
|
}) })
|
|
15709
15714
|
] }),
|
|
15710
|
-
/* @__PURE__ */
|
|
15715
|
+
/* @__PURE__ */ g("div", { className: "sass-pg-login-field", children: [
|
|
15711
15716
|
/* @__PURE__ */ s("label", { className: "sass-pg-login-label", children: p.confirmPasswordLabel }),
|
|
15712
15717
|
/* @__PURE__ */ s(
|
|
15713
15718
|
"input",
|
|
15714
15719
|
{
|
|
15715
15720
|
type: r ? "text" : "password",
|
|
15716
15721
|
value: a,
|
|
15717
|
-
onChange: (
|
|
15722
|
+
onChange: (b) => d(b.target.value),
|
|
15718
15723
|
className: "sass-pg-login-input",
|
|
15719
15724
|
placeholder: ""
|
|
15720
15725
|
}
|
|
15721
15726
|
),
|
|
15722
|
-
/* @__PURE__ */
|
|
15727
|
+
/* @__PURE__ */ g("div", { className: "sass-pg-login-checkboxRow", children: [
|
|
15723
15728
|
/* @__PURE__ */ s(
|
|
15724
15729
|
"input",
|
|
15725
15730
|
{
|
|
15726
15731
|
id: "showPasswordForgot",
|
|
15727
15732
|
type: "checkbox",
|
|
15728
15733
|
checked: r,
|
|
15729
|
-
onChange: (
|
|
15734
|
+
onChange: (b) => u(b.target.checked)
|
|
15730
15735
|
}
|
|
15731
15736
|
),
|
|
15732
15737
|
/* @__PURE__ */ s(
|
|
@@ -15760,7 +15765,7 @@ function jm({
|
|
|
15760
15765
|
onBackToLogin: e,
|
|
15761
15766
|
t
|
|
15762
15767
|
}) {
|
|
15763
|
-
return /* @__PURE__ */
|
|
15768
|
+
return /* @__PURE__ */ g("div", { className: "sass-pg-login-form", children: [
|
|
15764
15769
|
/* @__PURE__ */ s("p", { className: "sass-pg-login-success", children: t.feedbackSuccessMessage }),
|
|
15765
15770
|
/* @__PURE__ */ s("button", { type: "submit", className: "sass-pg-login-primary", onClick: e, children: t.loginButtonText })
|
|
15766
15771
|
] });
|
|
@@ -15818,7 +15823,7 @@ const up = ({ currentNew: e }) => e && e?.hascontent?.hasembeddedtwitter && /* @
|
|
|
15818
15823
|
if (!i.length || !i[0]?.url || i[0]?.url === "")
|
|
15819
15824
|
return /* @__PURE__ */ s("div", { className: "sass-com-img-imagePlaceholder" });
|
|
15820
15825
|
const { PUBLIC_API_HOST: c = "", PUBLIC_ASSETS_URL: l } = e.API_ENV, d = i[0]?.url, u = l && l !== "false" ? l : c, h = d?.startsWith("http") || d?.includes(u) ? d : u + d;
|
|
15821
|
-
return /* @__PURE__ */ s("figure", { className: "sass-com-img-figure", children: /* @__PURE__ */
|
|
15826
|
+
return /* @__PURE__ */ s("figure", { className: "sass-com-img-figure", children: /* @__PURE__ */ g("span", { className: "sass-com-img-backdrop", children: [
|
|
15822
15827
|
/* @__PURE__ */ s(
|
|
15823
15828
|
"span",
|
|
15824
15829
|
{
|
|
@@ -15828,7 +15833,7 @@ const up = ({ currentNew: e }) => e && e?.hascontent?.hasembeddedtwitter && /* @
|
|
|
15828
15833
|
}
|
|
15829
15834
|
}
|
|
15830
15835
|
),
|
|
15831
|
-
/* @__PURE__ */
|
|
15836
|
+
/* @__PURE__ */ g("picture", { children: [
|
|
15832
15837
|
/* @__PURE__ */ s(
|
|
15833
15838
|
"img",
|
|
15834
15839
|
{
|
|
@@ -15842,7 +15847,7 @@ const up = ({ currentNew: e }) => e && e?.hascontent?.hasembeddedtwitter && /* @
|
|
|
15842
15847
|
}
|
|
15843
15848
|
}
|
|
15844
15849
|
),
|
|
15845
|
-
t && /* @__PURE__ */
|
|
15850
|
+
t && /* @__PURE__ */ g(W, { children: [
|
|
15846
15851
|
/* @__PURE__ */ s(
|
|
15847
15852
|
"div",
|
|
15848
15853
|
{
|
|
@@ -15992,7 +15997,7 @@ const up = ({ currentNew: e }) => e && e?.hascontent?.hasembeddedtwitter && /* @
|
|
|
15992
15997
|
(v) => v.info.link.internal !== t
|
|
15993
15998
|
)
|
|
15994
15999
|
};
|
|
15995
|
-
}, [e, t, o]),
|
|
16000
|
+
}, [e, t, o]), b = me(async () => {
|
|
15996
16001
|
if (!(h || !t)) {
|
|
15997
16002
|
m(!0);
|
|
15998
16003
|
try {
|
|
@@ -16013,8 +16018,8 @@ const up = ({ currentNew: e }) => e && e?.hascontent?.hasembeddedtwitter && /* @
|
|
|
16013
16018
|
f
|
|
16014
16019
|
]);
|
|
16015
16020
|
return De(() => {
|
|
16016
|
-
a &&
|
|
16017
|
-
}, [a,
|
|
16021
|
+
a && b();
|
|
16022
|
+
}, [a, b]), !d?.data || d.data.length === 0 ? null : /* @__PURE__ */ s(
|
|
16018
16023
|
zm,
|
|
16019
16024
|
{
|
|
16020
16025
|
news: d.data,
|
|
@@ -16050,7 +16055,7 @@ const up = ({ currentNew: e }) => e && e?.hascontent?.hasembeddedtwitter && /* @
|
|
|
16050
16055
|
config: m,
|
|
16051
16056
|
overImage: p = "default",
|
|
16052
16057
|
isTitle: f = !1,
|
|
16053
|
-
isLarge:
|
|
16058
|
+
isLarge: b = !1,
|
|
16054
16059
|
keywords: w
|
|
16055
16060
|
} = o;
|
|
16056
16061
|
return /* @__PURE__ */ s(
|
|
@@ -16058,7 +16063,7 @@ const up = ({ currentNew: e }) => e && e?.hascontent?.hasembeddedtwitter && /* @
|
|
|
16058
16063
|
{
|
|
16059
16064
|
className: r(i),
|
|
16060
16065
|
style: { order: i },
|
|
16061
|
-
children: /* @__PURE__ */
|
|
16066
|
+
children: /* @__PURE__ */ g("section", { className: "sass-com-sc1-content", children: [
|
|
16062
16067
|
/* @__PURE__ */ s(
|
|
16063
16068
|
_,
|
|
16064
16069
|
{
|
|
@@ -16074,7 +16079,7 @@ const up = ({ currentNew: e }) => e && e?.hascontent?.hasembeddedtwitter && /* @
|
|
|
16074
16079
|
preview: u,
|
|
16075
16080
|
rounded: e.rounded,
|
|
16076
16081
|
isVideo: h,
|
|
16077
|
-
isLarge:
|
|
16082
|
+
isLarge: b,
|
|
16078
16083
|
API_ENV: e.API_ENV,
|
|
16079
16084
|
getImageUrl: e.getImageUrl
|
|
16080
16085
|
}
|
|
@@ -16132,11 +16137,11 @@ const Qm = (e) => {
|
|
|
16132
16137
|
children: m(C)
|
|
16133
16138
|
}
|
|
16134
16139
|
) : m(C);
|
|
16135
|
-
return /* @__PURE__ */
|
|
16140
|
+
return /* @__PURE__ */ g(ue.Fragment, { children: [
|
|
16136
16141
|
N,
|
|
16137
16142
|
v
|
|
16138
16143
|
] }, A.name || `${C}-${y}`);
|
|
16139
|
-
}) : null, f = () => !d && !u ? null : /* @__PURE__ */
|
|
16144
|
+
}) : null, f = () => !d && !u ? null : /* @__PURE__ */ g("span", { className: "sass-com-nd-correspondent", children: [
|
|
16140
16145
|
p(),
|
|
16141
16146
|
d && u && /* @__PURE__ */ s("span", { className: "sass-com-nd-correspondentSeparator", children: " - " }),
|
|
16142
16147
|
u && /* @__PURE__ */ s(
|
|
@@ -16151,13 +16156,13 @@ const Qm = (e) => {
|
|
|
16151
16156
|
children: qe(e.info?.date?.modified, e.DATE_CONFIG)
|
|
16152
16157
|
}
|
|
16153
16158
|
)
|
|
16154
|
-
] }),
|
|
16155
|
-
return /* @__PURE__ */
|
|
16159
|
+
] }), b = () => e.main.uppertitle ? /* @__PURE__ */ s("p", { className: "sass-com-nd-uppertitle", title: e.main.uppertitle, children: e.main.uppertitle }) : null;
|
|
16160
|
+
return /* @__PURE__ */ g("div", { className: "sass-com-nd-boxInformation", children: [
|
|
16156
16161
|
t && /* @__PURE__ */ s(Fm, { className: "sass-com-nd-dotStyles" }),
|
|
16157
16162
|
/* @__PURE__ */ s(() => {
|
|
16158
16163
|
if (a && r?.tags?.length && r.tags.length > 0) {
|
|
16159
16164
|
const A = r.tags[0], y = A.name;
|
|
16160
|
-
return /* @__PURE__ */
|
|
16165
|
+
return /* @__PURE__ */ g("span", { className: "sass-com-nd-sectionDescriptionContainer", children: [
|
|
16161
16166
|
A.approved ? /* @__PURE__ */ s(
|
|
16162
16167
|
_,
|
|
16163
16168
|
{
|
|
@@ -16168,11 +16173,11 @@ const Qm = (e) => {
|
|
|
16168
16173
|
children: y
|
|
16169
16174
|
}
|
|
16170
16175
|
) : /* @__PURE__ */ s("div", { className: "sass-com-nd-sectionDescription", children: y }),
|
|
16171
|
-
|
|
16176
|
+
b()
|
|
16172
16177
|
] });
|
|
16173
16178
|
} else if (o?.section?.url) {
|
|
16174
16179
|
const A = o.section.name;
|
|
16175
|
-
return /* @__PURE__ */
|
|
16180
|
+
return /* @__PURE__ */ g("span", { className: "sass-com-nd-sectionDescriptionContainer", children: [
|
|
16176
16181
|
/* @__PURE__ */ s(
|
|
16177
16182
|
_,
|
|
16178
16183
|
{
|
|
@@ -16182,7 +16187,7 @@ const Qm = (e) => {
|
|
|
16182
16187
|
children: A
|
|
16183
16188
|
}
|
|
16184
16189
|
),
|
|
16185
|
-
|
|
16190
|
+
b()
|
|
16186
16191
|
] });
|
|
16187
16192
|
}
|
|
16188
16193
|
return null;
|
|
@@ -16228,7 +16233,7 @@ const Qm = (e) => {
|
|
|
16228
16233
|
const l = document.querySelector(".user-actions-options");
|
|
16229
16234
|
l && l.classList.toggle("show");
|
|
16230
16235
|
}, i = e.firstname ?? "Usuario", c = r.userGreeting.replace("{{name}}", i);
|
|
16231
|
-
return /* @__PURE__ */ s("div", { className: "comment-item", children: /* @__PURE__ */
|
|
16236
|
+
return /* @__PURE__ */ s("div", { className: "comment-item", children: /* @__PURE__ */ g("div", { style: { display: "flex", gap: "14px" }, children: [
|
|
16232
16237
|
e && e.picture && e.picture !== "" ? /* @__PURE__ */ s(
|
|
16233
16238
|
"img",
|
|
16234
16239
|
{
|
|
@@ -16237,8 +16242,8 @@ const Qm = (e) => {
|
|
|
16237
16242
|
alt: e.username
|
|
16238
16243
|
}
|
|
16239
16244
|
) : /* @__PURE__ */ s("div", { className: "comment-avatar su-flex-center su-rounded-full su-font-bold su-overflow-hidden", children: i.charAt(0).toUpperCase() }),
|
|
16240
|
-
/* @__PURE__ */
|
|
16241
|
-
/* @__PURE__ */
|
|
16245
|
+
/* @__PURE__ */ g("div", { style: { flex: 1 }, children: [
|
|
16246
|
+
/* @__PURE__ */ g("div", { className: "comment-header su-flex su-items-center su-relative su-flex-wrap", children: [
|
|
16242
16247
|
/* @__PURE__ */ s("span", { className: "comment-username su-font-bold su-truncate user-welcome", children: c }),
|
|
16243
16248
|
/* @__PURE__ */ s("div", { className: "user-actions-options su-hidden su-absolute su-p-2", children: /* @__PURE__ */ s(
|
|
16244
16249
|
"button",
|
|
@@ -16333,9 +16338,9 @@ async function mp({
|
|
|
16333
16338
|
throw new Error(`Respuesta inesperada del servidor: ${f.status}`);
|
|
16334
16339
|
} catch (f) {
|
|
16335
16340
|
if (console.error("Error reporting comment:", f), oe.isAxiosError(f)) {
|
|
16336
|
-
const
|
|
16337
|
-
throw
|
|
16338
|
-
w?.error || w?.message || `Error HTTP ${
|
|
16341
|
+
const b = f.response?.status, w = f.response?.data;
|
|
16342
|
+
throw b === 400 ? new Error("Datos inválidos para el reporte") : b === 401 ? new Error("Token de API inválido") : b === 403 ? new Error("Acceso denegado para reportar comentario") : b === 404 ? new Error("Comentario no encontrado") : b === 409 ? new Error("El comentario ya fue reportado por este usuario") : b === 500 ? new Error("Error interno del servidor CMS") : new Error(
|
|
16343
|
+
w?.error || w?.message || `Error HTTP ${b}: No se pudo reportar el comentario`
|
|
16339
16344
|
);
|
|
16340
16345
|
}
|
|
16341
16346
|
throw f;
|
|
@@ -16398,7 +16403,7 @@ var er;
|
|
|
16398
16403
|
function Xm() {
|
|
16399
16404
|
if (er) return ie;
|
|
16400
16405
|
er = 1;
|
|
16401
|
-
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, a = e ? Symbol.for("react.fragment") : 60107, r = e ? Symbol.for("react.strict_mode") : 60108, o = e ? Symbol.for("react.profiler") : 60114, i = e ? Symbol.for("react.provider") : 60109, c = e ? Symbol.for("react.context") : 60110, l = e ? Symbol.for("react.async_mode") : 60111, d = e ? Symbol.for("react.concurrent_mode") : 60111, u = e ? Symbol.for("react.forward_ref") : 60112, h = e ? Symbol.for("react.suspense") : 60113, m = e ? Symbol.for("react.suspense_list") : 60120, p = e ? Symbol.for("react.memo") : 60115, f = e ? Symbol.for("react.lazy") : 60116,
|
|
16406
|
+
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, a = e ? Symbol.for("react.fragment") : 60107, r = e ? Symbol.for("react.strict_mode") : 60108, o = e ? Symbol.for("react.profiler") : 60114, i = e ? Symbol.for("react.provider") : 60109, c = e ? Symbol.for("react.context") : 60110, l = e ? Symbol.for("react.async_mode") : 60111, d = e ? Symbol.for("react.concurrent_mode") : 60111, u = e ? Symbol.for("react.forward_ref") : 60112, h = e ? Symbol.for("react.suspense") : 60113, m = e ? Symbol.for("react.suspense_list") : 60120, p = e ? Symbol.for("react.memo") : 60115, f = e ? Symbol.for("react.lazy") : 60116, b = e ? Symbol.for("react.block") : 60121, w = e ? Symbol.for("react.fundamental") : 60117, A = e ? Symbol.for("react.responder") : 60118, y = e ? Symbol.for("react.scope") : 60119;
|
|
16402
16407
|
function C(v) {
|
|
16403
16408
|
if (typeof v == "object" && v !== null) {
|
|
16404
16409
|
var S = v.$$typeof;
|
|
@@ -16457,17 +16462,17 @@ function Xm() {
|
|
|
16457
16462
|
}, ie.isSuspense = function(v) {
|
|
16458
16463
|
return C(v) === h;
|
|
16459
16464
|
}, ie.isValidElementType = function(v) {
|
|
16460
|
-
return typeof v == "string" || typeof v == "function" || v === a || v === d || v === o || v === r || v === h || v === m || typeof v == "object" && v !== null && (v.$$typeof === f || v.$$typeof === p || v.$$typeof === i || v.$$typeof === c || v.$$typeof === u || v.$$typeof === w || v.$$typeof === A || v.$$typeof === y || v.$$typeof ===
|
|
16465
|
+
return typeof v == "string" || typeof v == "function" || v === a || v === d || v === o || v === r || v === h || v === m || typeof v == "object" && v !== null && (v.$$typeof === f || v.$$typeof === p || v.$$typeof === i || v.$$typeof === c || v.$$typeof === u || v.$$typeof === w || v.$$typeof === A || v.$$typeof === y || v.$$typeof === b);
|
|
16461
16466
|
}, ie.typeOf = C, ie;
|
|
16462
16467
|
}
|
|
16463
16468
|
var ce = {};
|
|
16464
16469
|
var tr;
|
|
16465
16470
|
function eh() {
|
|
16466
16471
|
return tr || (tr = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
16467
|
-
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, a = e ? Symbol.for("react.fragment") : 60107, r = e ? Symbol.for("react.strict_mode") : 60108, o = e ? Symbol.for("react.profiler") : 60114, i = e ? Symbol.for("react.provider") : 60109, c = e ? Symbol.for("react.context") : 60110, l = e ? Symbol.for("react.async_mode") : 60111, d = e ? Symbol.for("react.concurrent_mode") : 60111, u = e ? Symbol.for("react.forward_ref") : 60112, h = e ? Symbol.for("react.suspense") : 60113, m = e ? Symbol.for("react.suspense_list") : 60120, p = e ? Symbol.for("react.memo") : 60115, f = e ? Symbol.for("react.lazy") : 60116,
|
|
16472
|
+
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, a = e ? Symbol.for("react.fragment") : 60107, r = e ? Symbol.for("react.strict_mode") : 60108, o = e ? Symbol.for("react.profiler") : 60114, i = e ? Symbol.for("react.provider") : 60109, c = e ? Symbol.for("react.context") : 60110, l = e ? Symbol.for("react.async_mode") : 60111, d = e ? Symbol.for("react.concurrent_mode") : 60111, u = e ? Symbol.for("react.forward_ref") : 60112, h = e ? Symbol.for("react.suspense") : 60113, m = e ? Symbol.for("react.suspense_list") : 60120, p = e ? Symbol.for("react.memo") : 60115, f = e ? Symbol.for("react.lazy") : 60116, b = e ? Symbol.for("react.block") : 60121, w = e ? Symbol.for("react.fundamental") : 60117, A = e ? Symbol.for("react.responder") : 60118, y = e ? Symbol.for("react.scope") : 60119;
|
|
16468
16473
|
function C(q) {
|
|
16469
16474
|
return typeof q == "string" || typeof q == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
16470
|
-
q === a || q === d || q === o || q === r || q === h || q === m || typeof q == "object" && q !== null && (q.$$typeof === f || q.$$typeof === p || q.$$typeof === i || q.$$typeof === c || q.$$typeof === u || q.$$typeof === w || q.$$typeof === A || q.$$typeof === y || q.$$typeof ===
|
|
16475
|
+
q === a || q === d || q === o || q === r || q === h || q === m || typeof q == "object" && q !== null && (q.$$typeof === f || q.$$typeof === p || q.$$typeof === i || q.$$typeof === c || q.$$typeof === u || q.$$typeof === w || q.$$typeof === A || q.$$typeof === y || q.$$typeof === b);
|
|
16471
16476
|
}
|
|
16472
16477
|
function N(q) {
|
|
16473
16478
|
if (typeof q == "object" && q !== null) {
|
|
@@ -16702,10 +16707,10 @@ function sh() {
|
|
|
16702
16707
|
function f(x, k) {
|
|
16703
16708
|
return x === k ? x !== 0 || 1 / x === 1 / k : x !== x && k !== k;
|
|
16704
16709
|
}
|
|
16705
|
-
function
|
|
16710
|
+
function b(x, k) {
|
|
16706
16711
|
this.message = x, this.data = k && typeof k == "object" ? k : {}, this.stack = "";
|
|
16707
16712
|
}
|
|
16708
|
-
|
|
16713
|
+
b.prototype = Error.prototype;
|
|
16709
16714
|
function w(x) {
|
|
16710
16715
|
if (process.env.NODE_ENV !== "production")
|
|
16711
16716
|
var k = {}, D = 0;
|
|
@@ -16724,7 +16729,7 @@ function sh() {
|
|
|
16724
16729
|
), k[Ae] = !0, D++);
|
|
16725
16730
|
}
|
|
16726
16731
|
}
|
|
16727
|
-
return K[J] == null ? Q ? K[J] === null ? new
|
|
16732
|
+
return K[J] == null ? Q ? K[J] === null ? new b("The " + se + " `" + X + "` is marked as required " + ("in `" + ne + "`, but its value is `null`.")) : new b("The " + se + " `" + X + "` is marked as required in " + ("`" + ne + "`, but its value is `undefined`.")) : null : x(K, J, ne, se, X);
|
|
16728
16733
|
}
|
|
16729
16734
|
var G = H.bind(null, !1);
|
|
16730
16735
|
return G.isRequired = H.bind(null, !0), G;
|
|
@@ -16734,7 +16739,7 @@ function sh() {
|
|
|
16734
16739
|
var ne = D[H], se = U(ne);
|
|
16735
16740
|
if (se !== x) {
|
|
16736
16741
|
var X = j(ne);
|
|
16737
|
-
return new
|
|
16742
|
+
return new b(
|
|
16738
16743
|
"Invalid " + Q + " `" + K + "` of type " + ("`" + X + "` supplied to `" + G + "`, expected ") + ("`" + x + "`."),
|
|
16739
16744
|
{ expectedType: x }
|
|
16740
16745
|
);
|
|
@@ -16749,11 +16754,11 @@ function sh() {
|
|
|
16749
16754
|
function C(x) {
|
|
16750
16755
|
function k(D, H, G, Q, K) {
|
|
16751
16756
|
if (typeof x != "function")
|
|
16752
|
-
return new
|
|
16757
|
+
return new b("Property `" + K + "` of component `" + G + "` has invalid PropType notation inside arrayOf.");
|
|
16753
16758
|
var J = D[H];
|
|
16754
16759
|
if (!Array.isArray(J)) {
|
|
16755
16760
|
var ne = U(J);
|
|
16756
|
-
return new
|
|
16761
|
+
return new b("Invalid " + Q + " `" + K + "` of type " + ("`" + ne + "` supplied to `" + G + "`, expected an array."));
|
|
16757
16762
|
}
|
|
16758
16763
|
for (var se = 0; se < J.length; se++) {
|
|
16759
16764
|
var X = x(J, se, G, Q, K + "[" + se + "]", n);
|
|
@@ -16769,7 +16774,7 @@ function sh() {
|
|
|
16769
16774
|
var K = k[D];
|
|
16770
16775
|
if (!c(K)) {
|
|
16771
16776
|
var J = U(K);
|
|
16772
|
-
return new
|
|
16777
|
+
return new b("Invalid " + G + " `" + Q + "` of type " + ("`" + J + "` supplied to `" + H + "`, expected a single ReactElement."));
|
|
16773
16778
|
}
|
|
16774
16779
|
return null;
|
|
16775
16780
|
}
|
|
@@ -16780,7 +16785,7 @@ function sh() {
|
|
|
16780
16785
|
var K = k[D];
|
|
16781
16786
|
if (!e.isValidElementType(K)) {
|
|
16782
16787
|
var J = U(K);
|
|
16783
|
-
return new
|
|
16788
|
+
return new b("Invalid " + G + " `" + Q + "` of type " + ("`" + J + "` supplied to `" + H + "`, expected a single ReactElement type."));
|
|
16784
16789
|
}
|
|
16785
16790
|
return null;
|
|
16786
16791
|
}
|
|
@@ -16790,7 +16795,7 @@ function sh() {
|
|
|
16790
16795
|
function k(D, H, G, Q, K) {
|
|
16791
16796
|
if (!(D[H] instanceof x)) {
|
|
16792
16797
|
var J = x.name || m, ne = Y(D[H]);
|
|
16793
|
-
return new
|
|
16798
|
+
return new b("Invalid " + Q + " `" + K + "` of type " + ("`" + ne + "` supplied to `" + G + "`, expected ") + ("instance of `" + J + "`."));
|
|
16794
16799
|
}
|
|
16795
16800
|
return null;
|
|
16796
16801
|
}
|
|
@@ -16809,17 +16814,17 @@ function sh() {
|
|
|
16809
16814
|
var Ae = j(q);
|
|
16810
16815
|
return Ae === "symbol" ? String(q) : q;
|
|
16811
16816
|
});
|
|
16812
|
-
return new
|
|
16817
|
+
return new b("Invalid " + Q + " `" + K + "` of value `" + String(J) + "` " + ("supplied to `" + G + "`, expected one of " + se + "."));
|
|
16813
16818
|
}
|
|
16814
16819
|
return w(k);
|
|
16815
16820
|
}
|
|
16816
16821
|
function P(x) {
|
|
16817
16822
|
function k(D, H, G, Q, K) {
|
|
16818
16823
|
if (typeof x != "function")
|
|
16819
|
-
return new
|
|
16824
|
+
return new b("Property `" + K + "` of component `" + G + "` has invalid PropType notation inside objectOf.");
|
|
16820
16825
|
var J = D[H], ne = U(J);
|
|
16821
16826
|
if (ne !== "object")
|
|
16822
|
-
return new
|
|
16827
|
+
return new b("Invalid " + Q + " `" + K + "` of type " + ("`" + ne + "` supplied to `" + G + "`, expected an object."));
|
|
16823
16828
|
for (var se in J)
|
|
16824
16829
|
if (a(J, se)) {
|
|
16825
16830
|
var X = x(J, se, G, Q, K + "." + se, n);
|
|
@@ -16848,18 +16853,18 @@ function sh() {
|
|
|
16848
16853
|
q.data && a(q.data, "expectedType") && se.push(q.data.expectedType);
|
|
16849
16854
|
}
|
|
16850
16855
|
var Ae = se.length > 0 ? ", expected one of type [" + se.join(", ") + "]" : "";
|
|
16851
|
-
return new
|
|
16856
|
+
return new b("Invalid " + J + " `" + ne + "` supplied to " + ("`" + K + "`" + Ae + "."));
|
|
16852
16857
|
}
|
|
16853
16858
|
return w(H);
|
|
16854
16859
|
}
|
|
16855
16860
|
function O() {
|
|
16856
16861
|
function x(k, D, H, G, Q) {
|
|
16857
|
-
return B(k[D]) ? null : new
|
|
16862
|
+
return B(k[D]) ? null : new b("Invalid " + G + " `" + Q + "` supplied to " + ("`" + H + "`, expected a ReactNode."));
|
|
16858
16863
|
}
|
|
16859
16864
|
return w(x);
|
|
16860
16865
|
}
|
|
16861
16866
|
function R(x, k, D, H, G) {
|
|
16862
|
-
return new
|
|
16867
|
+
return new b(
|
|
16863
16868
|
(x || "React class") + ": " + k + " type `" + D + "." + H + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + G + "`."
|
|
16864
16869
|
);
|
|
16865
16870
|
}
|
|
@@ -16867,7 +16872,7 @@ function sh() {
|
|
|
16867
16872
|
function k(D, H, G, Q, K) {
|
|
16868
16873
|
var J = D[H], ne = U(J);
|
|
16869
16874
|
if (ne !== "object")
|
|
16870
|
-
return new
|
|
16875
|
+
return new b("Invalid " + Q + " `" + K + "` of type `" + ne + "` " + ("supplied to `" + G + "`, expected `object`."));
|
|
16871
16876
|
for (var se in x) {
|
|
16872
16877
|
var X = x[se];
|
|
16873
16878
|
if (typeof X != "function")
|
|
@@ -16884,14 +16889,14 @@ function sh() {
|
|
|
16884
16889
|
function k(D, H, G, Q, K) {
|
|
16885
16890
|
var J = D[H], ne = U(J);
|
|
16886
16891
|
if (ne !== "object")
|
|
16887
|
-
return new
|
|
16892
|
+
return new b("Invalid " + Q + " `" + K + "` of type `" + ne + "` " + ("supplied to `" + G + "`, expected `object`."));
|
|
16888
16893
|
var se = t({}, D[H], x);
|
|
16889
16894
|
for (var X in se) {
|
|
16890
16895
|
var de = x[X];
|
|
16891
16896
|
if (a(x, X) && typeof de != "function")
|
|
16892
16897
|
return R(G, Q, K, X, j(de));
|
|
16893
16898
|
if (!de)
|
|
16894
|
-
return new
|
|
16899
|
+
return new b(
|
|
16895
16900
|
"Invalid " + Q + " `" + K + "` key `" + X + "` supplied to `" + G + "`.\nBad object: " + JSON.stringify(D[H], null, " ") + `
|
|
16896
16901
|
Valid keys: ` + JSON.stringify(Object.keys(x), null, " ")
|
|
16897
16902
|
);
|
|
@@ -17205,18 +17210,18 @@ function dh() {
|
|
|
17205
17210
|
return e.isMemo(f) ? r : o[f.$$typeof] || t;
|
|
17206
17211
|
}
|
|
17207
17212
|
var c = Object.defineProperty, l = Object.getOwnPropertyNames, d = Object.getOwnPropertySymbols, u = Object.getOwnPropertyDescriptor, h = Object.getPrototypeOf, m = Object.prototype;
|
|
17208
|
-
function p(f,
|
|
17209
|
-
if (typeof
|
|
17213
|
+
function p(f, b, w) {
|
|
17214
|
+
if (typeof b != "string") {
|
|
17210
17215
|
if (m) {
|
|
17211
|
-
var A = h(
|
|
17216
|
+
var A = h(b);
|
|
17212
17217
|
A && A !== m && p(f, A, w);
|
|
17213
17218
|
}
|
|
17214
|
-
var y = l(
|
|
17215
|
-
d && (y = y.concat(d(
|
|
17216
|
-
for (var C = i(f), N = i(
|
|
17219
|
+
var y = l(b);
|
|
17220
|
+
d && (y = y.concat(d(b)));
|
|
17221
|
+
for (var C = i(f), N = i(b), v = 0; v < y.length; ++v) {
|
|
17217
17222
|
var S = y[v];
|
|
17218
17223
|
if (!n[S] && !(w && w[S]) && !(N && N[S]) && !(C && C[S])) {
|
|
17219
|
-
var T = u(
|
|
17224
|
+
var T = u(b, S);
|
|
17220
17225
|
try {
|
|
17221
17226
|
c(f, S, T);
|
|
17222
17227
|
} catch {
|
|
@@ -17277,8 +17282,8 @@ function gh(e, t) {
|
|
|
17277
17282
|
h.observers[m](h);
|
|
17278
17283
|
delete window[t.callbackName];
|
|
17279
17284
|
}, d.componentDidMount = function() {
|
|
17280
|
-
var h = this, m = this.setupScriptURL(), p = this.asyncScriptLoaderGetScriptLoaderID(), f = t,
|
|
17281
|
-
if (
|
|
17285
|
+
var h = this, m = this.setupScriptURL(), p = this.asyncScriptLoaderGetScriptLoaderID(), f = t, b = f.globalName, w = f.callbackName, A = f.scriptId;
|
|
17286
|
+
if (b && typeof window[b] < "u" && (Ue[m] = {
|
|
17282
17287
|
loaded: !0,
|
|
17283
17288
|
observers: {}
|
|
17284
17289
|
}), Ue[m]) {
|
|
@@ -17392,7 +17397,7 @@ const ko = gh(wh, {
|
|
|
17392
17397
|
}) => {
|
|
17393
17398
|
const l = { ...Ah, ...c?.comentarios }, d = { ...Ts, ...l.reportReasons ?? {} }, [u, h] = V("form"), [m, p] = V(
|
|
17394
17399
|
""
|
|
17395
|
-
), [f,
|
|
17400
|
+
), [f, b] = V(""), [w, A] = V(""), y = [
|
|
17396
17401
|
{ id: "spam", label: d.spam },
|
|
17397
17402
|
{ id: "inappropriate", label: d.inappropriate },
|
|
17398
17403
|
{ id: "hate", label: d.hate },
|
|
@@ -17403,10 +17408,10 @@ const ko = gh(wh, {
|
|
|
17403
17408
|
], C = async () => {
|
|
17404
17409
|
if (!(!m || !n)) {
|
|
17405
17410
|
if (Eo(document).includes(n)) {
|
|
17406
|
-
|
|
17411
|
+
b(l.errorAlreadyReported);
|
|
17407
17412
|
return;
|
|
17408
17413
|
}
|
|
17409
|
-
h("loading"),
|
|
17414
|
+
h("loading"), b("");
|
|
17410
17415
|
try {
|
|
17411
17416
|
const S = await (await fetch("/api/comments-report", {
|
|
17412
17417
|
method: "POST",
|
|
@@ -17429,18 +17434,18 @@ const ko = gh(wh, {
|
|
|
17429
17434
|
else
|
|
17430
17435
|
throw new Error(S.message || l.errorReportComment);
|
|
17431
17436
|
} catch (v) {
|
|
17432
|
-
console.error("Error reporting comment:", v),
|
|
17437
|
+
console.error("Error reporting comment:", v), b(v.message || l.errorReportComment), h("form");
|
|
17433
17438
|
}
|
|
17434
17439
|
}
|
|
17435
17440
|
}, N = () => {
|
|
17436
|
-
h("form"), p(""),
|
|
17441
|
+
h("form"), p(""), b(""), t();
|
|
17437
17442
|
};
|
|
17438
|
-
return !e || !n || !r ? null : /* @__PURE__ */ s("div", { className: "sass-pg-cmt-rp-overlay", children: /* @__PURE__ */
|
|
17443
|
+
return !e || !n || !r ? null : /* @__PURE__ */ s("div", { className: "sass-pg-cmt-rp-overlay", children: /* @__PURE__ */ g("div", { className: "sass-pg-cmt-rp-popup", children: [
|
|
17439
17444
|
/* @__PURE__ */ s("button", { className: "close-reply-form su-flex su-absolute su-p-0 su-bg-transparent su-border-none", onClick: N, children: /* @__PURE__ */ s(pt, {}) }),
|
|
17440
17445
|
/* @__PURE__ */ s("div", { className: "sass-pg-cmt-rp-title", children: l.reportAbuseTitle }),
|
|
17441
17446
|
u === "loading" && /* @__PURE__ */ s("div", { className: "sass-pg-cmt-rp-loadingContainer", children: /* @__PURE__ */ s(at, {}) }),
|
|
17442
|
-
u === "form" || u === "loading" ? /* @__PURE__ */
|
|
17443
|
-
/* @__PURE__ */ s("div", { className: "sass-pg-cmt-rp-optionsContainer", children: y.map((v) => /* @__PURE__ */
|
|
17447
|
+
u === "form" || u === "loading" ? /* @__PURE__ */ g(W, { children: [
|
|
17448
|
+
/* @__PURE__ */ s("div", { className: "sass-pg-cmt-rp-optionsContainer", children: y.map((v) => /* @__PURE__ */ g("label", { className: "sass-pg-cmt-rp-option", children: [
|
|
17444
17449
|
/* @__PURE__ */ s(
|
|
17445
17450
|
"input",
|
|
17446
17451
|
{
|
|
@@ -17466,7 +17471,7 @@ const ko = gh(wh, {
|
|
|
17466
17471
|
onExpired: () => A("")
|
|
17467
17472
|
}
|
|
17468
17473
|
),
|
|
17469
|
-
/* @__PURE__ */
|
|
17474
|
+
/* @__PURE__ */ g("div", { className: "sass-pg-cmt-rp-buttons", children: [
|
|
17470
17475
|
/* @__PURE__ */ s("button", { onClick: N, className: "sass-pg-cmt-rp-cancelButton", children: l.cancelButton }),
|
|
17471
17476
|
/* @__PURE__ */ s(
|
|
17472
17477
|
"button",
|
|
@@ -17478,8 +17483,8 @@ const ko = gh(wh, {
|
|
|
17478
17483
|
}
|
|
17479
17484
|
)
|
|
17480
17485
|
] })
|
|
17481
|
-
] }) : /* @__PURE__ */
|
|
17482
|
-
/* @__PURE__ */
|
|
17486
|
+
] }) : /* @__PURE__ */ g(W, { children: [
|
|
17487
|
+
/* @__PURE__ */ g("div", { className: "sass-pg-cmt-rp-successContainer", children: [
|
|
17483
17488
|
/* @__PURE__ */ s("div", { className: "sass-pg-cmt-rp-thumbsUp", children: /* @__PURE__ */ s(
|
|
17484
17489
|
"svg",
|
|
17485
17490
|
{
|
|
@@ -17600,7 +17605,7 @@ async function Ch({
|
|
|
17600
17605
|
throw new Error("Invalid size parameter");
|
|
17601
17606
|
if (isNaN(f) || f < 0)
|
|
17602
17607
|
throw new Error("Invalid sizereply parameter");
|
|
17603
|
-
const
|
|
17608
|
+
const b = d !== "prod" ? `${u}${h}` : "", w = new URLSearchParams({
|
|
17604
17609
|
publication: e,
|
|
17605
17610
|
path: t,
|
|
17606
17611
|
size: p.toString(),
|
|
@@ -17608,7 +17613,7 @@ async function Ch({
|
|
|
17608
17613
|
state: i
|
|
17609
17614
|
});
|
|
17610
17615
|
r && w.append("id", r), o && w.append("lastid", o);
|
|
17611
|
-
const A = `${
|
|
17616
|
+
const A = `${b}${m}/newcomments/get?${w.toString()}`;
|
|
17612
17617
|
try {
|
|
17613
17618
|
const { data: y } = await oe.get(A, {
|
|
17614
17619
|
headers: {
|
|
@@ -17653,7 +17658,7 @@ const Nh = (e, t) => {
|
|
|
17653
17658
|
}
|
|
17654
17659
|
})();
|
|
17655
17660
|
}, [n]), { comments: n, setComments: a };
|
|
17656
|
-
}, Io = ({ username: e, date: t, DATE_CONFIG: n }) => /* @__PURE__ */
|
|
17661
|
+
}, Io = ({ username: e, date: t, DATE_CONFIG: n }) => /* @__PURE__ */ g("div", { className: "comment-header su-flex su-items-center su-relative su-flex-wrap", children: [
|
|
17657
17662
|
/* @__PURE__ */ s("span", { className: "comment-username su-font-bold su-truncate", children: e }),
|
|
17658
17663
|
/* @__PURE__ */ s("span", { className: "comment-header-dot", children: "•" }),
|
|
17659
17664
|
/* @__PURE__ */ s(
|
|
@@ -17672,13 +17677,13 @@ const Nh = (e, t) => {
|
|
|
17672
17677
|
src: e.picture,
|
|
17673
17678
|
alt: e.username
|
|
17674
17679
|
}
|
|
17675
|
-
) : e.firstname.charAt(0).toUpperCase() }), Lo = ({ isReply: e = !1, onReply: t, onFlag: n }) => /* @__PURE__ */
|
|
17680
|
+
) : e.firstname.charAt(0).toUpperCase() }), Lo = ({ isReply: e = !1, onReply: t, onFlag: n }) => /* @__PURE__ */ g("div", { className: "comment-actions su-flex", children: [
|
|
17676
17681
|
!e && t && /* @__PURE__ */ s(
|
|
17677
17682
|
"button",
|
|
17678
17683
|
{
|
|
17679
17684
|
onClick: t,
|
|
17680
17685
|
className: "comment-action-btn su-flex su-items-center su-gap-1 su-bg-transparent su-border-none",
|
|
17681
|
-
children: /* @__PURE__ */
|
|
17686
|
+
children: /* @__PURE__ */ g(
|
|
17682
17687
|
"svg",
|
|
17683
17688
|
{
|
|
17684
17689
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -17699,7 +17704,7 @@ const Nh = (e, t) => {
|
|
|
17699
17704
|
)
|
|
17700
17705
|
}
|
|
17701
17706
|
),
|
|
17702
|
-
/* @__PURE__ */ s("button", { onClick: n, className: "comment-action-btn su-flex su-items-center su-gap-1 su-bg-transparent su-border-none", children: /* @__PURE__ */
|
|
17707
|
+
/* @__PURE__ */ s("button", { onClick: n, className: "comment-action-btn su-flex su-items-center su-gap-1 su-bg-transparent su-border-none", children: /* @__PURE__ */ g(
|
|
17703
17708
|
"svg",
|
|
17704
17709
|
{
|
|
17705
17710
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -17731,7 +17736,7 @@ const Nh = (e, t) => {
|
|
|
17731
17736
|
i.parentElement && (i.parentElement.dataset.text = `${d}/${Je}`), i.classList.toggle("over-limit", d > Je), n(!Zn(e, t, a).boolean);
|
|
17732
17737
|
};
|
|
17733
17738
|
return i.addEventListener("input", c), c(), () => i.removeEventListener("input", c);
|
|
17734
|
-
}, [e, t, n]), /* @__PURE__ */
|
|
17739
|
+
}, [e, t, n]), /* @__PURE__ */ g("div", { className: "su-relative", children: [
|
|
17735
17740
|
/* @__PURE__ */ s("label", { className: "su-block su-font-normal comment-input-label", children: o.commentInputLabel }),
|
|
17736
17741
|
/* @__PURE__ */ s(
|
|
17737
17742
|
"textarea",
|
|
@@ -17752,7 +17757,7 @@ const Nh = (e, t) => {
|
|
|
17752
17757
|
API_ENV: r
|
|
17753
17758
|
}) => {
|
|
17754
17759
|
const o = Zn(e, t, r);
|
|
17755
|
-
return /* @__PURE__ */
|
|
17760
|
+
return /* @__PURE__ */ g("div", { className: "form-actions su-flex-between", children: [
|
|
17756
17761
|
!Le(r) && /* @__PURE__ */ s(
|
|
17757
17762
|
ko,
|
|
17758
17763
|
{
|
|
@@ -17763,7 +17768,7 @@ const Nh = (e, t) => {
|
|
|
17763
17768
|
onExpired: () => n("")
|
|
17764
17769
|
}
|
|
17765
17770
|
),
|
|
17766
|
-
/* @__PURE__ */
|
|
17771
|
+
/* @__PURE__ */ g("div", { className: "submit-zone su-relative su-flex su-flex-col su-items-end", children: [
|
|
17767
17772
|
a,
|
|
17768
17773
|
!o.boolean && /* @__PURE__ */ s("p", { className: "submit-warning su-hidden su-font-normal su-p-0", children: o.text })
|
|
17769
17774
|
] })
|
|
@@ -17820,8 +17825,8 @@ function Th({
|
|
|
17820
17825
|
const m = h.target;
|
|
17821
17826
|
m && m.id === "pop-overlay" && e();
|
|
17822
17827
|
},
|
|
17823
|
-
children: /* @__PURE__ */
|
|
17824
|
-
/* @__PURE__ */
|
|
17828
|
+
children: /* @__PURE__ */ g("div", { className: "sass-pg-cmt-lp-card", children: [
|
|
17829
|
+
/* @__PURE__ */ g("header", { className: "sass-pg-cmt-lp-header", children: [
|
|
17825
17830
|
/* @__PURE__ */ s("div", { className: "sass-pg-cmt-lp-logo", children: n ? /* @__PURE__ */ s("img", { src: n, alt: "Logo" }) : null }),
|
|
17826
17831
|
/* @__PURE__ */ s(
|
|
17827
17832
|
"button",
|
|
@@ -17835,14 +17840,14 @@ function Th({
|
|
|
17835
17840
|
}
|
|
17836
17841
|
)
|
|
17837
17842
|
] }),
|
|
17838
|
-
/* @__PURE__ */
|
|
17843
|
+
/* @__PURE__ */ g("div", { className: "sass-pg-cmt-lp-anonimusWrapper", children: [
|
|
17839
17844
|
/* @__PURE__ */ s("img", { className: "sass-pg-cmt-lp-anonimusImage", src: u, alt: o.anonimusImageAlt }),
|
|
17840
17845
|
/* @__PURE__ */ s("button", { onClick: () => {
|
|
17841
17846
|
e(!0);
|
|
17842
17847
|
}, className: "sass-pg-cmt-lp-anonimus", children: /* @__PURE__ */ s("span", { children: o.anonimusContinueButton }) })
|
|
17843
17848
|
] }),
|
|
17844
17849
|
/* @__PURE__ */ s("div", { className: "sass-pg-cmt-lp-divider", children: /* @__PURE__ */ s("span", { children: o.anonimusDividerOr }) }),
|
|
17845
|
-
/* @__PURE__ */
|
|
17850
|
+
/* @__PURE__ */ g("button", { onClick: t, className: "sass-pg-cmt-lp-google", children: [
|
|
17846
17851
|
/* @__PURE__ */ s(
|
|
17847
17852
|
"img",
|
|
17848
17853
|
{
|
|
@@ -17856,7 +17861,7 @@ function Th({
|
|
|
17856
17861
|
/* @__PURE__ */ s("button", { type: "submit", className: "sass-pg-cmt-lp-primary", onClick: () => {
|
|
17857
17862
|
c(!1);
|
|
17858
17863
|
}, children: o.loginButtonText }),
|
|
17859
|
-
/* @__PURE__ */
|
|
17864
|
+
/* @__PURE__ */ g("p", { className: "sass-pg-cmt-lp-switch", children: [
|
|
17860
17865
|
o.noAccountText,
|
|
17861
17866
|
/* @__PURE__ */ s("button", { type: "button", onClick: l, children: o.registerButtonText })
|
|
17862
17867
|
] }),
|
|
@@ -17880,34 +17885,34 @@ const kh = {
|
|
|
17880
17885
|
}, na = ({ onClick: e, isDisabled: t, API_ENV: n, icon: a, handleGoogleLogin: r, showAlert: o, texts: i }) => {
|
|
17881
17886
|
const c = { ...kh, ...i?.comentarios }, [l, d] = ue.useState(!1), [u, h] = ue.useState(!1), [m, p] = ue.useState(!1);
|
|
17882
17887
|
ue.useEffect(() => {
|
|
17883
|
-
let
|
|
17884
|
-
return l && (
|
|
17888
|
+
let b = null;
|
|
17889
|
+
return l && (b = setTimeout(() => {
|
|
17885
17890
|
d(!1);
|
|
17886
17891
|
}, 2400)), () => {
|
|
17887
|
-
|
|
17892
|
+
b && clearTimeout(b);
|
|
17888
17893
|
};
|
|
17889
17894
|
}, [l]), ue.useEffect(() => {
|
|
17890
17895
|
if (!u || !n.CONFIG_commentsV2 || !o || !document) return;
|
|
17891
|
-
const
|
|
17892
|
-
if (!
|
|
17893
|
-
const w =
|
|
17894
|
-
A?.value?.trim() && y?.value?.trim() && (!Le(n) && !C?.value?.trim() ||
|
|
17896
|
+
const b = document.getElementById("comment-button");
|
|
17897
|
+
if (!b) return;
|
|
17898
|
+
const w = b.closest(".comment-form"), A = w?.querySelector('input[name="username"]'), y = w?.querySelector('textarea[name="comment"]'), C = w?.querySelector("textarea.g-recaptcha-response") ?? document.querySelector("#g-recaptcha-response");
|
|
17899
|
+
A?.value?.trim() && y?.value?.trim() && (!Le(n) && !C?.value?.trim() || b.click());
|
|
17895
17900
|
});
|
|
17896
17901
|
const f = re("/Success.gif", n.PUBLIC_ASSETS_URL);
|
|
17897
|
-
return l ? /* @__PURE__ */ s("div", { className: "success-gif-container su-flex-center su-relative", children: /* @__PURE__ */ s("img", { className: "success-gif su-absolute", src: f }) }) : /* @__PURE__ */
|
|
17898
|
-
m && n.CONFIG_commentsV2 && o && /* @__PURE__ */ s(Th, { API_ENV: n, icon: a, handleGoogleLogin: r, texts: i, onClose: (
|
|
17899
|
-
|
|
17902
|
+
return l ? /* @__PURE__ */ s("div", { className: "success-gif-container su-flex-center su-relative", children: /* @__PURE__ */ s("img", { className: "success-gif su-absolute", src: f }) }) : /* @__PURE__ */ g(W, { children: [
|
|
17903
|
+
m && n.CONFIG_commentsV2 && o && /* @__PURE__ */ s(Th, { API_ENV: n, icon: a, handleGoogleLogin: r, texts: i, onClose: (b) => {
|
|
17904
|
+
b && h(!0), p(!1);
|
|
17900
17905
|
} }),
|
|
17901
|
-
/* @__PURE__ */
|
|
17906
|
+
/* @__PURE__ */ g(
|
|
17902
17907
|
"button",
|
|
17903
17908
|
{
|
|
17904
17909
|
type: "button",
|
|
17905
|
-
onClick: async (
|
|
17910
|
+
onClick: async (b) => {
|
|
17906
17911
|
if (!u && n.CONFIG_commentsV2 && o) {
|
|
17907
17912
|
p(!0), console.log("open popup");
|
|
17908
17913
|
return;
|
|
17909
17914
|
}
|
|
17910
|
-
await e(
|
|
17915
|
+
await e(b) && (n.CONFIG_commentsV2 && o && h(!1), d(!0));
|
|
17911
17916
|
},
|
|
17912
17917
|
id: "comment-button",
|
|
17913
17918
|
className: `submit-btn su-bg-transparent su-font-bold ${t ? "disabled" : "active"}`,
|
|
@@ -17967,15 +17972,15 @@ const kh = {
|
|
|
17967
17972
|
recaptchaResponse: n
|
|
17968
17973
|
})
|
|
17969
17974
|
});
|
|
17970
|
-
let
|
|
17975
|
+
let b = null;
|
|
17971
17976
|
try {
|
|
17972
|
-
|
|
17977
|
+
b = await f.json();
|
|
17973
17978
|
} catch (N) {
|
|
17974
17979
|
console.error("Error parsing JSON response:", N);
|
|
17975
17980
|
}
|
|
17976
17981
|
if (!f.ok)
|
|
17977
17982
|
throw new Error(
|
|
17978
|
-
`Error al enviar comentario: ${
|
|
17983
|
+
`Error al enviar comentario: ${b?.message} status: ${f.status}`
|
|
17979
17984
|
);
|
|
17980
17985
|
const w = Date.now(), A = Math.max(0, 2400 + Math.abs(w - p)), y = r || { username: l, firstname: l }, C = {
|
|
17981
17986
|
username: y.username,
|
|
@@ -18006,7 +18011,7 @@ const kh = {
|
|
|
18006
18011
|
const [l, d] = V(!0), [u, h] = V(""), m = () => {
|
|
18007
18012
|
t.current?.parentElement && (t.current.parentElement.dataset.text = `0/${Je}`), d(!0), o();
|
|
18008
18013
|
};
|
|
18009
|
-
return /* @__PURE__ */
|
|
18014
|
+
return /* @__PURE__ */ g("div", { className: "comment-form reply-form su-p-8 su-relative", children: [
|
|
18010
18015
|
/* @__PURE__ */ s("button", { className: "close-reply-form su-flex su-absolute su-p-0 su-bg-transparent su-border-none", onClick: m, children: /* @__PURE__ */ s(pt, {}) }),
|
|
18011
18016
|
/* @__PURE__ */ s(
|
|
18012
18017
|
ea,
|
|
@@ -18057,11 +18062,11 @@ const kh = {
|
|
|
18057
18062
|
}, Lh = ({ reply: e, replyingTo: t, user: n, onFlag: a, DATE_CONFIG: r, texts: o }) => {
|
|
18058
18063
|
const i = { ...Uh, ...o?.comentarios }, c = e.text;
|
|
18059
18064
|
let l = `${ze.firstname} ${ze.lastname ?? ""}`, d = ze.username;
|
|
18060
|
-
return e.user && (l = `${e.user.firstname} ${e.user.lastname ?? ""}`, d = e.user.username), /* @__PURE__ */ s("div", { className: "comment-item reply", children: /* @__PURE__ */
|
|
18065
|
+
return e.user && (l = `${e.user.firstname} ${e.user.lastname ?? ""}`, d = e.user.username), /* @__PURE__ */ s("div", { className: "comment-item reply", children: /* @__PURE__ */ g("div", { className: "comment-header-container su-flex su-relative", children: [
|
|
18061
18066
|
/* @__PURE__ */ s(Uo, { user: e.user ? e.user : ze }),
|
|
18062
|
-
/* @__PURE__ */
|
|
18067
|
+
/* @__PURE__ */ g("div", { style: { flex: 1 }, children: [
|
|
18063
18068
|
/* @__PURE__ */ s(Io, { username: l, date: e.date.time, DATE_CONFIG: r }),
|
|
18064
|
-
/* @__PURE__ */
|
|
18069
|
+
/* @__PURE__ */ g("div", { className: "comment-reply-to", children: [
|
|
18065
18070
|
i.replyingToLabel,
|
|
18066
18071
|
" ",
|
|
18067
18072
|
/* @__PURE__ */ s("strong", { children: t })
|
|
@@ -18074,20 +18079,20 @@ const kh = {
|
|
|
18074
18079
|
}, Ph = {
|
|
18075
18080
|
moreRepliesButton: "Más Respuestas"
|
|
18076
18081
|
}, Rh = ({ comment: e, replyingTo: t, path: n, user: a, handleReplyingTo: r, onFlag: o, API_ENV: i, texts: c }) => {
|
|
18077
|
-
const l = { ...Ph, ...c?.comentarios }, d = { morereply: e.morereply ?? !1, reply: e.reply ? e.reply : [] }, [u, h] = V(d), [m, p] = ue.useState(!1), { PUBLIC_PUBLICATION_ID: f, PUBLIC_X_SECURITY_TOKEN:
|
|
18082
|
+
const l = { ...Ph, ...c?.comentarios }, d = { morereply: e.morereply ?? !1, reply: e.reply ? e.reply : [] }, [u, h] = V(d), [m, p] = ue.useState(!1), { PUBLIC_PUBLICATION_ID: f, PUBLIC_X_SECURITY_TOKEN: b } = i, w = e.text, A = ue.useRef(null);
|
|
18078
18083
|
let y = `${ze.firstname} ${ze.lastname ?? ""}`, C = ze.username;
|
|
18079
18084
|
e.user && (y = `${e.user.firstname} ${e.user.lastname ?? ""}`, C = e.user.username);
|
|
18080
18085
|
const N = (v) => {
|
|
18081
18086
|
h({ morereply: u.morereply, reply: [v, ...u.reply] });
|
|
18082
18087
|
};
|
|
18083
|
-
return /* @__PURE__ */ s("div", { className: "comment-item", children: /* @__PURE__ */
|
|
18088
|
+
return /* @__PURE__ */ s("div", { className: "comment-item", children: /* @__PURE__ */ g(
|
|
18084
18089
|
"div",
|
|
18085
18090
|
{
|
|
18086
18091
|
className: "comment-header-container su-flex su-relative",
|
|
18087
18092
|
"data-hasreplies": u.reply.length > 0 ? "true" : "false",
|
|
18088
18093
|
children: [
|
|
18089
18094
|
/* @__PURE__ */ s(Uo, { user: e.user ? e.user : ze }),
|
|
18090
|
-
/* @__PURE__ */
|
|
18095
|
+
/* @__PURE__ */ g("div", { style: { flex: 1 }, children: [
|
|
18091
18096
|
/* @__PURE__ */ s(Io, { username: y, date: e.date.time, DATE_CONFIG: i }),
|
|
18092
18097
|
/* @__PURE__ */ s("p", { className: "comment-text su-font-normal", children: w }),
|
|
18093
18098
|
a?.username.toLowerCase() !== C.toLowerCase() && // No puedes responder ni reportar tus respuestas
|
|
@@ -18111,7 +18116,7 @@ const kh = {
|
|
|
18111
18116
|
texts: c
|
|
18112
18117
|
}
|
|
18113
18118
|
),
|
|
18114
|
-
u.reply.length > 0 && /* @__PURE__ */
|
|
18119
|
+
u.reply.length > 0 && /* @__PURE__ */ g("div", { className: "comment-replies", children: [
|
|
18115
18120
|
u.reply.map((v) => /* @__PURE__ */ s(
|
|
18116
18121
|
Lh,
|
|
18117
18122
|
{
|
|
@@ -18140,7 +18145,7 @@ const kh = {
|
|
|
18140
18145
|
id: e.id,
|
|
18141
18146
|
lastid: v,
|
|
18142
18147
|
state: "5,6",
|
|
18143
|
-
apiToken:
|
|
18148
|
+
apiToken: b ?? "",
|
|
18144
18149
|
API_ENV: i
|
|
18145
18150
|
});
|
|
18146
18151
|
p(!1), h({ morereply: T.morecomment, reply: [...u.reply, ...T.comments] });
|
|
@@ -18165,7 +18170,7 @@ const kh = {
|
|
|
18165
18170
|
texts: o
|
|
18166
18171
|
}) => {
|
|
18167
18172
|
const [i, c] = V(!0), [l, d] = V("");
|
|
18168
|
-
return /* @__PURE__ */
|
|
18173
|
+
return /* @__PURE__ */ g("div", { className: "comment-form su-p-8 su-relative", children: [
|
|
18169
18174
|
/* @__PURE__ */ s(
|
|
18170
18175
|
ea,
|
|
18171
18176
|
{
|
|
@@ -18214,7 +18219,7 @@ const kh = {
|
|
|
18214
18219
|
usernameInputPlaceholder: "Ingresa tu nombre"
|
|
18215
18220
|
}, Mh = ({ usernameRef: e, texts: t }) => {
|
|
18216
18221
|
const n = { ...Bh, ...t?.comentarios };
|
|
18217
|
-
return /* @__PURE__ */
|
|
18222
|
+
return /* @__PURE__ */ g("div", { className: "comment-username su-font-bold su-truncate", children: [
|
|
18218
18223
|
/* @__PURE__ */ s("label", { className: "su-block su-font-normal comment-input-label", children: n.usernameInputLabel }),
|
|
18219
18224
|
/* @__PURE__ */ s(
|
|
18220
18225
|
"input",
|
|
@@ -18237,7 +18242,7 @@ const kh = {
|
|
|
18237
18242
|
texts: c
|
|
18238
18243
|
}) => {
|
|
18239
18244
|
const [l, d] = V(!0), [u, h] = V("");
|
|
18240
|
-
return /* @__PURE__ */ s(W, { children: /* @__PURE__ */
|
|
18245
|
+
return /* @__PURE__ */ s(W, { children: /* @__PURE__ */ g("div", { className: "comment-form anoninus-form su-p-8 su-relative", children: [
|
|
18241
18246
|
/* @__PURE__ */ s(
|
|
18242
18247
|
Mh,
|
|
18243
18248
|
{
|
|
@@ -18274,7 +18279,7 @@ const kh = {
|
|
|
18274
18279
|
console.log("invalidForm");
|
|
18275
18280
|
return;
|
|
18276
18281
|
}
|
|
18277
|
-
const f = e.current.value,
|
|
18282
|
+
const f = e.current.value, b = await sa({
|
|
18278
18283
|
path: n,
|
|
18279
18284
|
ref: t,
|
|
18280
18285
|
captchaToken: u,
|
|
@@ -18284,9 +18289,9 @@ const kh = {
|
|
|
18284
18289
|
API_ENV: i,
|
|
18285
18290
|
anonimusUser: f
|
|
18286
18291
|
});
|
|
18287
|
-
return h(""),
|
|
18292
|
+
return h(""), b && typeof b == "number" ? (t.current?.parentElement && (t.current.parentElement.dataset.text = `0/${Je}`), d(!0), setTimeout(() => {
|
|
18288
18293
|
t.current?.parentElement && (t.current.parentElement.dataset.text = `0/${Je}`), d(!0);
|
|
18289
|
-
},
|
|
18294
|
+
}, b), !0) : !1;
|
|
18290
18295
|
},
|
|
18291
18296
|
isDisabled: l,
|
|
18292
18297
|
API_ENV: i,
|
|
@@ -18321,8 +18326,8 @@ const kh = {
|
|
|
18321
18326
|
}) => {
|
|
18322
18327
|
const l = { ...Dh, ...c?.comentarios }, { PUBLIC_PUBLICATION_ID: d, PUBLIC_X_SECURITY_TOKEN: u } = i, h = d ?? "", m = t.replaceAll("/", "|"), [p, f] = V(
|
|
18323
18328
|
void 0
|
|
18324
|
-
), [
|
|
18325
|
-
w(
|
|
18329
|
+
), [b, w] = V(""), { comments: A, setComments: y } = Nh(m, i), [C, N] = ue.useState(!1), v = ue.useRef(null), S = ue.useRef(null), T = (L) => {
|
|
18330
|
+
w(b === L ? "" : L);
|
|
18326
18331
|
}, P = (L) => {
|
|
18327
18332
|
y(
|
|
18328
18333
|
A ? {
|
|
@@ -18360,9 +18365,9 @@ const kh = {
|
|
|
18360
18365
|
}, R = A?.comments && A.comments.length > 0, F = R ? l.commentHeaderMessageWithComments : l.commentHeaderMessageEmpty, $ = /* @__PURE__ */ s("div", { style: { display: "flex", width: "100%", justifyContent: "center" }, children: /* @__PURE__ */ s(at, {}) }), B = () => {
|
|
18361
18366
|
!window || !window.location || (document.cookie = `redirect_after_login_1=${window.location.pathname}; path=/; max-age=10000`, window.location.pathname = he(i) + "/auth/login");
|
|
18362
18367
|
};
|
|
18363
|
-
return /* @__PURE__ */
|
|
18364
|
-
/* @__PURE__ */ s("div", { className: "comments-container", children: /* @__PURE__ */ s(we, { noHeading: !0, title: i.CONFIG_commentsV2 || R || e ? l.commentsSectionTitle : !1, children: /* @__PURE__ */
|
|
18365
|
-
/* @__PURE__ */ s("div", { className: "comments-header", children: e && n ? /* @__PURE__ */
|
|
18368
|
+
return /* @__PURE__ */ g(W, { children: [
|
|
18369
|
+
/* @__PURE__ */ s("div", { className: "comments-container", children: /* @__PURE__ */ s(we, { noHeading: !0, title: i.CONFIG_commentsV2 || R || e ? l.commentsSectionTitle : !1, children: /* @__PURE__ */ g(W, { children: [
|
|
18370
|
+
/* @__PURE__ */ s("div", { className: "comments-header", children: e && n ? /* @__PURE__ */ g(W, { children: [
|
|
18366
18371
|
/* @__PURE__ */ s(
|
|
18367
18372
|
Ym,
|
|
18368
18373
|
{
|
|
@@ -18383,8 +18388,8 @@ const kh = {
|
|
|
18383
18388
|
texts: c
|
|
18384
18389
|
}
|
|
18385
18390
|
)
|
|
18386
|
-
] }) : i.CONFIG_commentsV2 ? /* @__PURE__ */
|
|
18387
|
-
/* @__PURE__ */
|
|
18391
|
+
] }) : i.CONFIG_commentsV2 ? /* @__PURE__ */ g(W, { children: [
|
|
18392
|
+
/* @__PURE__ */ g("p", { className: "anonimus-message", children: [
|
|
18388
18393
|
l.anonimusPromptPrefix,
|
|
18389
18394
|
/* @__PURE__ */ s("button", { className: "su-border-none su-p-0", onClick: B, children: l.anonimusPromptLinkText }),
|
|
18390
18395
|
l.anonimusPromptSuffix
|
|
@@ -18403,7 +18408,7 @@ const kh = {
|
|
|
18403
18408
|
}
|
|
18404
18409
|
)
|
|
18405
18410
|
] }) : null }),
|
|
18406
|
-
A ? A.comments && A.comments.length > 0 ? /* @__PURE__ */
|
|
18411
|
+
A ? A.comments && A.comments.length > 0 ? /* @__PURE__ */ g(
|
|
18407
18412
|
"div",
|
|
18408
18413
|
{
|
|
18409
18414
|
className: "comments-list",
|
|
@@ -18413,7 +18418,7 @@ const kh = {
|
|
|
18413
18418
|
Rh,
|
|
18414
18419
|
{
|
|
18415
18420
|
comment: L,
|
|
18416
|
-
replyingTo:
|
|
18421
|
+
replyingTo: b,
|
|
18417
18422
|
handleReplyingTo: T,
|
|
18418
18423
|
onFlag: z,
|
|
18419
18424
|
user: n ?? ze,
|
|
@@ -18537,27 +18542,27 @@ function Fh({ goToLogin: e, handleGoogleLogin: t, API_ENV: n, texts: a, termsAnd
|
|
|
18537
18542
|
{ label: o.passwordRuleSymbol, test: _e[4] }
|
|
18538
18543
|
],
|
|
18539
18544
|
[o.passwordRuleMinLength, o.passwordRuleNumber, o.passwordRuleLowercase, o.passwordRuleUppercase, o.passwordRuleSymbol]
|
|
18540
|
-
), [l, d] = V({}), [u, h] = V(!1), [m, p] = V(!1), [f,
|
|
18545
|
+
), [l, d] = V({}), [u, h] = V(!1), [m, p] = V(!1), [f, b] = V(null), [w, A] = V(
|
|
18541
18546
|
"register"
|
|
18542
18547
|
), y = (S, T) => {
|
|
18543
18548
|
d((P) => ({ ...P, [S]: T }));
|
|
18544
18549
|
}, C = async (S) => {
|
|
18545
|
-
S.preventDefault(),
|
|
18550
|
+
S.preventDefault(), b(null), p(!0);
|
|
18546
18551
|
try {
|
|
18547
18552
|
const T = Object.keys(i).filter(($) => !["username", "password", "confirmPassword"].includes($)).map(($) => ({ Name: $, Value: l[$] }));
|
|
18548
18553
|
if (T.some(($) => {
|
|
18549
18554
|
if (!$.Value || $.Value.trim() === "") return !0;
|
|
18550
18555
|
}))
|
|
18551
|
-
return p(!1),
|
|
18556
|
+
return p(!1), b(o.errorCompleteFields);
|
|
18552
18557
|
if (l.password !== l.confirmPassword) {
|
|
18553
|
-
|
|
18558
|
+
b(o.errorPasswordMismatch);
|
|
18554
18559
|
return;
|
|
18555
18560
|
}
|
|
18556
18561
|
const P = l.password || "";
|
|
18557
18562
|
if (c.some(
|
|
18558
18563
|
($) => !$.test(P)
|
|
18559
18564
|
)) {
|
|
18560
|
-
|
|
18565
|
+
b(o.errorPasswordInvalid);
|
|
18561
18566
|
return;
|
|
18562
18567
|
}
|
|
18563
18568
|
const O = Math.floor(Date.now() / 1e3);
|
|
@@ -18592,16 +18597,16 @@ function Fh({ goToLogin: e, handleGoogleLogin: t, API_ENV: n, texts: a, termsAnd
|
|
|
18592
18597
|
}
|
|
18593
18598
|
A("confirm");
|
|
18594
18599
|
} catch (T) {
|
|
18595
|
-
console.log(T),
|
|
18600
|
+
console.log(T), b(T?.message || T?.error || o.errorUnexpected);
|
|
18596
18601
|
} finally {
|
|
18597
18602
|
p(!1);
|
|
18598
18603
|
}
|
|
18599
18604
|
}, N = async (S) => {
|
|
18600
18605
|
if (S.preventDefault(), !l.confirmationCode) {
|
|
18601
|
-
|
|
18606
|
+
b(o.errorVerificationCodeRequired);
|
|
18602
18607
|
return;
|
|
18603
18608
|
}
|
|
18604
|
-
|
|
18609
|
+
b(null), p(!0);
|
|
18605
18610
|
try {
|
|
18606
18611
|
const T = await fetch("/api/auth/confirm-user", {
|
|
18607
18612
|
method: "POST",
|
|
@@ -18617,14 +18622,14 @@ function Fh({ goToLogin: e, handleGoogleLogin: t, API_ENV: n, texts: a, termsAnd
|
|
|
18617
18622
|
}
|
|
18618
18623
|
A("success");
|
|
18619
18624
|
} catch (T) {
|
|
18620
|
-
|
|
18625
|
+
b(T?.message || o.errorUnexpected);
|
|
18621
18626
|
} finally {
|
|
18622
18627
|
p(!1);
|
|
18623
18628
|
}
|
|
18624
18629
|
}, v = l.password || "";
|
|
18625
|
-
return /* @__PURE__ */
|
|
18626
|
-
w === "register" && /* @__PURE__ */
|
|
18627
|
-
/* @__PURE__ */
|
|
18630
|
+
return /* @__PURE__ */ g(W, { children: [
|
|
18631
|
+
w === "register" && /* @__PURE__ */ g(W, { children: [
|
|
18632
|
+
/* @__PURE__ */ g("button", { onClick: t, className: "sass-pg-cmt-lp-google", children: [
|
|
18628
18633
|
/* @__PURE__ */ s(
|
|
18629
18634
|
"img",
|
|
18630
18635
|
{
|
|
@@ -18636,14 +18641,14 @@ function Fh({ goToLogin: e, handleGoogleLogin: t, API_ENV: n, texts: a, termsAnd
|
|
|
18636
18641
|
/* @__PURE__ */ s("span", { children: o.GoogleButtonText })
|
|
18637
18642
|
] }),
|
|
18638
18643
|
/* @__PURE__ */ s("div", { className: "sass-pg-cmt-lp-divider", children: /* @__PURE__ */ s("span", { children: "o" }) }),
|
|
18639
|
-
/* @__PURE__ */
|
|
18644
|
+
/* @__PURE__ */ g(
|
|
18640
18645
|
"form",
|
|
18641
18646
|
{
|
|
18642
18647
|
onSubmit: C,
|
|
18643
18648
|
className: "sass-pg-cmt-lp-form",
|
|
18644
18649
|
"data-error": f ? "true" : "false",
|
|
18645
18650
|
children: [
|
|
18646
|
-
/* @__PURE__ */ s("ul", { className: "sass-pg-cmt-lp-formUl", children: Object.entries(i).map(([S, { label: T }]) => /* @__PURE__ */
|
|
18651
|
+
/* @__PURE__ */ s("ul", { className: "sass-pg-cmt-lp-formUl", children: Object.entries(i).map(([S, { label: T }]) => /* @__PURE__ */ g("div", { className: "sass-pg-cmt-lp-field", children: [
|
|
18647
18652
|
/* @__PURE__ */ s("label", { className: "sass-pg-cmt-lp-label", children: T }),
|
|
18648
18653
|
/* @__PURE__ */ s(
|
|
18649
18654
|
"input",
|
|
@@ -18658,7 +18663,7 @@ function Fh({ goToLogin: e, handleGoogleLogin: t, API_ENV: n, texts: a, termsAnd
|
|
|
18658
18663
|
),
|
|
18659
18664
|
S === "password" && /* @__PURE__ */ s("div", { className: "sass-pg-cmt-lp-passwordChecker", children: c.map((P, z) => {
|
|
18660
18665
|
const O = P.test(v);
|
|
18661
|
-
return /* @__PURE__ */
|
|
18666
|
+
return /* @__PURE__ */ g(
|
|
18662
18667
|
"div",
|
|
18663
18668
|
{
|
|
18664
18669
|
className: O ? "sass-pg-cmt-lp-valid" : "sass-pg-cmt-lp-invalid",
|
|
@@ -18670,7 +18675,7 @@ function Fh({ goToLogin: e, handleGoogleLogin: t, API_ENV: n, texts: a, termsAnd
|
|
|
18670
18675
|
z
|
|
18671
18676
|
);
|
|
18672
18677
|
}) }),
|
|
18673
|
-
S === "confirmPassword" && /* @__PURE__ */
|
|
18678
|
+
S === "confirmPassword" && /* @__PURE__ */ g("div", { className: "sass-pg-cmt-lp-checkboxRow", children: [
|
|
18674
18679
|
/* @__PURE__ */ s(
|
|
18675
18680
|
"input",
|
|
18676
18681
|
{
|
|
@@ -18691,7 +18696,7 @@ function Fh({ goToLogin: e, handleGoogleLogin: t, API_ENV: n, texts: a, termsAnd
|
|
|
18691
18696
|
] })
|
|
18692
18697
|
] }, S)) }),
|
|
18693
18698
|
f && /* @__PURE__ */ s("p", { className: "sass-pg-cmt-lp-error", children: f }),
|
|
18694
|
-
/* @__PURE__ */
|
|
18699
|
+
/* @__PURE__ */ g("p", { className: "sass-pg-cmt-lp-terms", children: [
|
|
18695
18700
|
o.termsPrefix,
|
|
18696
18701
|
" ",
|
|
18697
18702
|
/* @__PURE__ */ s("a", { href: r ?? "/pages/politicas-de-privacidad.html", target: "_blank", children: o.termsLinkText }),
|
|
@@ -18703,14 +18708,14 @@ function Fh({ goToLogin: e, handleGoogleLogin: t, API_ENV: n, texts: a, termsAnd
|
|
|
18703
18708
|
}
|
|
18704
18709
|
)
|
|
18705
18710
|
] }),
|
|
18706
|
-
w === "confirm" && /* @__PURE__ */
|
|
18711
|
+
w === "confirm" && /* @__PURE__ */ g(
|
|
18707
18712
|
"form",
|
|
18708
18713
|
{
|
|
18709
18714
|
onSubmit: N,
|
|
18710
18715
|
className: "sass-pg-cmt-lp-form",
|
|
18711
18716
|
"data-error": f ? "true" : "false",
|
|
18712
18717
|
children: [
|
|
18713
|
-
/* @__PURE__ */
|
|
18718
|
+
/* @__PURE__ */ g("div", { className: "sass-pg-cmt-lp-field", children: [
|
|
18714
18719
|
/* @__PURE__ */ s("label", { className: "sass-pg-cmt-lp-label", children: o.verificationCodeLabel }),
|
|
18715
18720
|
/* @__PURE__ */ s(
|
|
18716
18721
|
"input",
|
|
@@ -18726,15 +18731,15 @@ function Fh({ goToLogin: e, handleGoogleLogin: t, API_ENV: n, texts: a, termsAnd
|
|
|
18726
18731
|
] }),
|
|
18727
18732
|
f && /* @__PURE__ */ s("p", { className: "sass-pg-cmt-lp-error", children: f }),
|
|
18728
18733
|
/* @__PURE__ */ s("button", { type: "submit", className: "sass-pg-cmt-lp-primary", disabled: m, children: m ? /* @__PURE__ */ s(at, {}) : o.confirmAccountButton }),
|
|
18729
|
-
/* @__PURE__ */
|
|
18734
|
+
/* @__PURE__ */ g("p", { className: "sass-pg-cmt-lp-switch", children: [
|
|
18730
18735
|
o.alreadyConfirmedText,
|
|
18731
18736
|
/* @__PURE__ */ s("button", { type: "button", onClick: e, children: o.loginButtonText })
|
|
18732
18737
|
] })
|
|
18733
18738
|
]
|
|
18734
18739
|
}
|
|
18735
18740
|
),
|
|
18736
|
-
w === "success" && /* @__PURE__ */
|
|
18737
|
-
/* @__PURE__ */
|
|
18741
|
+
w === "success" && /* @__PURE__ */ g("form", { className: "sass-pg-cmt-lp-form", children: [
|
|
18742
|
+
/* @__PURE__ */ g("div", { className: "sass-pg-cmt-lp-successContainer", children: [
|
|
18738
18743
|
/* @__PURE__ */ s("div", { className: "sass-pg-cmt-lp-thumbsUp", children: /* @__PURE__ */ s(
|
|
18739
18744
|
"svg",
|
|
18740
18745
|
{
|
|
@@ -18751,14 +18756,14 @@ function Fh({ goToLogin: e, handleGoogleLogin: t, API_ENV: n, texts: a, termsAnd
|
|
|
18751
18756
|
)
|
|
18752
18757
|
}
|
|
18753
18758
|
) }),
|
|
18754
|
-
/* @__PURE__ */
|
|
18759
|
+
/* @__PURE__ */ g("div", { className: "sass-pg-cmt-lp-successMessage", children: [
|
|
18755
18760
|
/* @__PURE__ */ s("p", { children: o.successTitle }),
|
|
18756
18761
|
/* @__PURE__ */ s("p", { children: o.successMessage })
|
|
18757
18762
|
] })
|
|
18758
18763
|
] }),
|
|
18759
18764
|
/* @__PURE__ */ s("button", { onClick: e, className: "sass-pg-cmt-lp-primary", children: o.loginButtonText })
|
|
18760
18765
|
] }),
|
|
18761
|
-
w === "register" && /* @__PURE__ */
|
|
18766
|
+
w === "register" && /* @__PURE__ */ g("p", { className: "sass-pg-cmt-lp-switch", children: [
|
|
18762
18767
|
o.alreadyHasAccountText,
|
|
18763
18768
|
/* @__PURE__ */ s("button", { type: "button", onClick: e, children: o.loginButtonText })
|
|
18764
18769
|
] })
|
|
@@ -18796,8 +18801,8 @@ function Vh({
|
|
|
18796
18801
|
API_ENV: r,
|
|
18797
18802
|
texts: o
|
|
18798
18803
|
}) {
|
|
18799
|
-
const i = { ...Hh, ...o?.comentarios }, [c, l] = V("login"), [d, u] = V(""), [h, m] = V(""), [p, f] = V(""), [
|
|
18800
|
-
return /* @__PURE__ */
|
|
18804
|
+
const i = { ...Hh, ...o?.comentarios }, [c, l] = V("login"), [d, u] = V(""), [h, m] = V(""), [p, f] = V(""), [b, w] = V(""), [A, y] = V(""), [C, N] = V(!1), [v, S] = V(!1), [T, P] = V(null);
|
|
18805
|
+
return /* @__PURE__ */ g(W, { children: [
|
|
18801
18806
|
c === "login" && /* @__PURE__ */ s(
|
|
18802
18807
|
zh,
|
|
18803
18808
|
{
|
|
@@ -18880,7 +18885,7 @@ function Vh({
|
|
|
18880
18885
|
{
|
|
18881
18886
|
email: d,
|
|
18882
18887
|
confirmationCode: p,
|
|
18883
|
-
newPassword:
|
|
18888
|
+
newPassword: b,
|
|
18884
18889
|
confirmNewPassword: A,
|
|
18885
18890
|
showPassword: C,
|
|
18886
18891
|
loading: v,
|
|
@@ -18891,12 +18896,12 @@ function Vh({
|
|
|
18891
18896
|
setShowPassword: N,
|
|
18892
18897
|
onSubmit: async (F) => {
|
|
18893
18898
|
if (v) return;
|
|
18894
|
-
if (F.preventDefault(),
|
|
18899
|
+
if (F.preventDefault(), b !== A) {
|
|
18895
18900
|
P("Las contraseñas no coinciden");
|
|
18896
18901
|
return;
|
|
18897
18902
|
}
|
|
18898
18903
|
if (Po.some(
|
|
18899
|
-
(B) => !B.test(
|
|
18904
|
+
(B) => !B.test(b)
|
|
18900
18905
|
)) {
|
|
18901
18906
|
P("La contraseña no cumple con los requisitos");
|
|
18902
18907
|
return;
|
|
@@ -18906,7 +18911,7 @@ function Vh({
|
|
|
18906
18911
|
const B = await fetch("/api/auth/confirm-forgot-password", {
|
|
18907
18912
|
method: "POST",
|
|
18908
18913
|
headers: { "Content-Type": "application/json" },
|
|
18909
|
-
body: JSON.stringify({ email: d, code: p, newPassword:
|
|
18914
|
+
body: JSON.stringify({ email: d, code: p, newPassword: b })
|
|
18910
18915
|
});
|
|
18911
18916
|
if (!B.ok) {
|
|
18912
18917
|
const L = await B.json().catch(() => ({}));
|
|
@@ -18951,8 +18956,8 @@ function zh({
|
|
|
18951
18956
|
handleGoogleLogin: h,
|
|
18952
18957
|
t: m
|
|
18953
18958
|
}) {
|
|
18954
|
-
return /* @__PURE__ */
|
|
18955
|
-
/* @__PURE__ */
|
|
18959
|
+
return /* @__PURE__ */ g(W, { children: [
|
|
18960
|
+
/* @__PURE__ */ g("button", { onClick: h, className: "sass-pg-cmt-lp-google", children: [
|
|
18956
18961
|
/* @__PURE__ */ s(
|
|
18957
18962
|
"img",
|
|
18958
18963
|
{
|
|
@@ -18964,14 +18969,14 @@ function zh({
|
|
|
18964
18969
|
/* @__PURE__ */ s("span", { children: m.GoogleButtonText })
|
|
18965
18970
|
] }),
|
|
18966
18971
|
/* @__PURE__ */ s("div", { className: "sass-pg-cmt-lp-divider", children: /* @__PURE__ */ s("span", { children: "o" }) }),
|
|
18967
|
-
/* @__PURE__ */
|
|
18972
|
+
/* @__PURE__ */ g(
|
|
18968
18973
|
"form",
|
|
18969
18974
|
{
|
|
18970
18975
|
onSubmit: l,
|
|
18971
18976
|
className: "sass-pg-cmt-lp-form",
|
|
18972
18977
|
"data-error": r ? "true" : "false",
|
|
18973
18978
|
children: [
|
|
18974
|
-
/* @__PURE__ */
|
|
18979
|
+
/* @__PURE__ */ g("div", { className: "sass-pg-cmt-lp-field", children: [
|
|
18975
18980
|
/* @__PURE__ */ s("label", { className: "sass-pg-cmt-lp-label", children: m.email }),
|
|
18976
18981
|
/* @__PURE__ */ s(
|
|
18977
18982
|
"input",
|
|
@@ -18984,7 +18989,7 @@ function zh({
|
|
|
18984
18989
|
}
|
|
18985
18990
|
)
|
|
18986
18991
|
] }),
|
|
18987
|
-
/* @__PURE__ */
|
|
18992
|
+
/* @__PURE__ */ g("div", { className: "sass-pg-cmt-lp-field", children: [
|
|
18988
18993
|
/* @__PURE__ */ s("label", { className: "sass-pg-cmt-lp-label", children: m.password }),
|
|
18989
18994
|
/* @__PURE__ */ s(
|
|
18990
18995
|
"input",
|
|
@@ -18996,7 +19001,7 @@ function zh({
|
|
|
18996
19001
|
placeholder: ""
|
|
18997
19002
|
}
|
|
18998
19003
|
),
|
|
18999
|
-
/* @__PURE__ */
|
|
19004
|
+
/* @__PURE__ */ g("div", { className: "sass-pg-cmt-lp-checkboxRow", children: [
|
|
19000
19005
|
/* @__PURE__ */ s(
|
|
19001
19006
|
"input",
|
|
19002
19007
|
{
|
|
@@ -19014,7 +19019,7 @@ function zh({
|
|
|
19014
19019
|
]
|
|
19015
19020
|
}
|
|
19016
19021
|
),
|
|
19017
|
-
/* @__PURE__ */
|
|
19022
|
+
/* @__PURE__ */ g("p", { className: "sass-pg-cmt-lp-switch", children: [
|
|
19018
19023
|
m.noAccountText,
|
|
19019
19024
|
/* @__PURE__ */ s("button", { type: "button", onClick: u, children: m.registerButtonText })
|
|
19020
19025
|
] }),
|
|
@@ -19038,7 +19043,7 @@ function $h({
|
|
|
19038
19043
|
onBack: o,
|
|
19039
19044
|
t: i
|
|
19040
19045
|
}) {
|
|
19041
|
-
return /* @__PURE__ */
|
|
19046
|
+
return /* @__PURE__ */ g(
|
|
19042
19047
|
"form",
|
|
19043
19048
|
{
|
|
19044
19049
|
onSubmit: r,
|
|
@@ -19046,7 +19051,7 @@ function $h({
|
|
|
19046
19051
|
"data-error": a ? "true" : "false",
|
|
19047
19052
|
children: [
|
|
19048
19053
|
/* @__PURE__ */ s("p", { className: "sass-pg-cmt-lp-message", children: i.forgotMessage }),
|
|
19049
|
-
/* @__PURE__ */
|
|
19054
|
+
/* @__PURE__ */ g("div", { className: "sass-pg-cmt-lp-field", children: [
|
|
19050
19055
|
/* @__PURE__ */ s("label", { className: "sass-pg-cmt-lp-label", children: i.email }),
|
|
19051
19056
|
/* @__PURE__ */ s(
|
|
19052
19057
|
"input",
|
|
@@ -19084,7 +19089,7 @@ function Qh({
|
|
|
19084
19089
|
t: p
|
|
19085
19090
|
}) {
|
|
19086
19091
|
const f = p.changePasswordMessage.replace("{{email}}", Zm(e));
|
|
19087
|
-
return /* @__PURE__ */
|
|
19092
|
+
return /* @__PURE__ */ g(
|
|
19088
19093
|
"form",
|
|
19089
19094
|
{
|
|
19090
19095
|
onSubmit: h,
|
|
@@ -19092,61 +19097,61 @@ function Qh({
|
|
|
19092
19097
|
"data-error": i ? "true" : "false",
|
|
19093
19098
|
children: [
|
|
19094
19099
|
/* @__PURE__ */ s("p", { className: "sass-pg-cmt-lp-message", children: f }),
|
|
19095
|
-
/* @__PURE__ */
|
|
19096
|
-
/* @__PURE__ */
|
|
19100
|
+
/* @__PURE__ */ g("ul", { className: "sass-pg-cmt-lp-formUl", children: [
|
|
19101
|
+
/* @__PURE__ */ g("div", { className: "sass-pg-cmt-lp-field", children: [
|
|
19097
19102
|
/* @__PURE__ */ s("label", { className: "sass-pg-cmt-lp-label", children: p.verificationCodeLabel }),
|
|
19098
19103
|
/* @__PURE__ */ s(
|
|
19099
19104
|
"input",
|
|
19100
19105
|
{
|
|
19101
19106
|
type: "text",
|
|
19102
19107
|
value: t,
|
|
19103
|
-
onChange: (
|
|
19108
|
+
onChange: (b) => c(b.target.value),
|
|
19104
19109
|
className: "sass-pg-cmt-lp-input",
|
|
19105
19110
|
placeholder: ""
|
|
19106
19111
|
}
|
|
19107
19112
|
)
|
|
19108
19113
|
] }),
|
|
19109
|
-
/* @__PURE__ */
|
|
19114
|
+
/* @__PURE__ */ g("div", { className: "sass-pg-cmt-lp-field", children: [
|
|
19110
19115
|
/* @__PURE__ */ s("label", { className: "sass-pg-cmt-lp-label", children: p.newPasswordLabel }),
|
|
19111
19116
|
/* @__PURE__ */ s(
|
|
19112
19117
|
"input",
|
|
19113
19118
|
{
|
|
19114
19119
|
type: r ? "text" : "password",
|
|
19115
19120
|
value: n,
|
|
19116
|
-
onChange: (
|
|
19121
|
+
onChange: (b) => l(b.target.value),
|
|
19117
19122
|
className: "sass-pg-cmt-lp-input",
|
|
19118
19123
|
placeholder: "",
|
|
19119
19124
|
name: "password"
|
|
19120
19125
|
}
|
|
19121
19126
|
),
|
|
19122
|
-
/* @__PURE__ */ s("div", { className: "sass-pg-cmt-lp-passwordChecker", children: Po.map((
|
|
19123
|
-
const A =
|
|
19124
|
-
return /* @__PURE__ */
|
|
19127
|
+
/* @__PURE__ */ s("div", { className: "sass-pg-cmt-lp-passwordChecker", children: Po.map((b, w) => {
|
|
19128
|
+
const A = b.test(n);
|
|
19129
|
+
return /* @__PURE__ */ g("div", { className: A ? "sass-pg-cmt-lp-valid" : "sass-pg-cmt-lp-invalid", children: [
|
|
19125
19130
|
/* @__PURE__ */ s("div", { children: A ? "✔" : "○" }),
|
|
19126
|
-
/* @__PURE__ */ s("div", { children:
|
|
19131
|
+
/* @__PURE__ */ s("div", { children: b.label })
|
|
19127
19132
|
] }, w);
|
|
19128
19133
|
}) })
|
|
19129
19134
|
] }),
|
|
19130
|
-
/* @__PURE__ */
|
|
19135
|
+
/* @__PURE__ */ g("div", { className: "sass-pg-cmt-lp-field", children: [
|
|
19131
19136
|
/* @__PURE__ */ s("label", { className: "sass-pg-cmt-lp-label", children: p.confirmPasswordLabel }),
|
|
19132
19137
|
/* @__PURE__ */ s(
|
|
19133
19138
|
"input",
|
|
19134
19139
|
{
|
|
19135
19140
|
type: r ? "text" : "password",
|
|
19136
19141
|
value: a,
|
|
19137
|
-
onChange: (
|
|
19142
|
+
onChange: (b) => d(b.target.value),
|
|
19138
19143
|
className: "sass-pg-cmt-lp-input",
|
|
19139
19144
|
placeholder: ""
|
|
19140
19145
|
}
|
|
19141
19146
|
),
|
|
19142
|
-
/* @__PURE__ */
|
|
19147
|
+
/* @__PURE__ */ g("div", { className: "sass-pg-cmt-lp-checkboxRow", children: [
|
|
19143
19148
|
/* @__PURE__ */ s(
|
|
19144
19149
|
"input",
|
|
19145
19150
|
{
|
|
19146
19151
|
id: "showPasswordForgot",
|
|
19147
19152
|
type: "checkbox",
|
|
19148
19153
|
checked: r,
|
|
19149
|
-
onChange: (
|
|
19154
|
+
onChange: (b) => u(b.target.checked)
|
|
19150
19155
|
}
|
|
19151
19156
|
),
|
|
19152
19157
|
/* @__PURE__ */ s(
|
|
@@ -19180,7 +19185,7 @@ function Wh({
|
|
|
19180
19185
|
onBackToLogin: e,
|
|
19181
19186
|
t
|
|
19182
19187
|
}) {
|
|
19183
|
-
return /* @__PURE__ */
|
|
19188
|
+
return /* @__PURE__ */ g("div", { className: "sass-pg-cmt-lp-form", children: [
|
|
19184
19189
|
/* @__PURE__ */ s("p", { className: "sass-pg-cmt-lp-success", children: t.feedbackSuccessMessage }),
|
|
19185
19190
|
/* @__PURE__ */ s("button", { type: "button", className: "sass-pg-cmt-lp-primary", onClick: e, children: t.loginButtonText })
|
|
19186
19191
|
] });
|
|
@@ -19206,8 +19211,8 @@ function Yh({
|
|
|
19206
19211
|
const u = d.target;
|
|
19207
19212
|
u && u.id === "pop-overlay" && t();
|
|
19208
19213
|
},
|
|
19209
|
-
children: /* @__PURE__ */
|
|
19210
|
-
/* @__PURE__ */
|
|
19214
|
+
children: /* @__PURE__ */ g("div", { className: "sass-pg-cmt-lp-card", children: [
|
|
19215
|
+
/* @__PURE__ */ g("header", { className: "sass-pg-cmt-lp-header", children: [
|
|
19211
19216
|
/* @__PURE__ */ s("div", { className: "sass-pg-cmt-lp-logo", children: a ? /* @__PURE__ */ s("img", { src: a, alt: "Logo" }) : null }),
|
|
19212
19217
|
/* @__PURE__ */ s(
|
|
19213
19218
|
"button",
|
|
@@ -19270,7 +19275,7 @@ function Jh({
|
|
|
19270
19275
|
const A = window.location.pathname;
|
|
19271
19276
|
window.location.href = `${window.location.origin}/api/auth/logout?redirect=${encodeURIComponent(A)}`;
|
|
19272
19277
|
}
|
|
19273
|
-
},
|
|
19278
|
+
}, b = async (A) => {
|
|
19274
19279
|
A.preventDefault(), n && h(!0);
|
|
19275
19280
|
}, w = async () => {
|
|
19276
19281
|
if (c.PUBLIC_ENV === "local") {
|
|
@@ -19281,7 +19286,7 @@ function Jh({
|
|
|
19281
19286
|
const A = encodeURIComponent(window.location.pathname);
|
|
19282
19287
|
window.location.href = `/api/auth/login?redirect=${A}`;
|
|
19283
19288
|
};
|
|
19284
|
-
return /* @__PURE__ */
|
|
19289
|
+
return /* @__PURE__ */ g(W, { children: [
|
|
19285
19290
|
u && !c.CONFIG_commentsV2 && /* @__PURE__ */ s(
|
|
19286
19291
|
Yh,
|
|
19287
19292
|
{
|
|
@@ -19297,13 +19302,13 @@ function Jh({
|
|
|
19297
19302
|
}
|
|
19298
19303
|
}
|
|
19299
19304
|
),
|
|
19300
|
-
!e && !c.CONFIG_commentsV2 && /* @__PURE__ */
|
|
19305
|
+
!e && !c.CONFIG_commentsV2 && /* @__PURE__ */ g("div", { className: "auth-container", children: [
|
|
19301
19306
|
/* @__PURE__ */ s("p", { children: m.commentPromptMessage }),
|
|
19302
19307
|
/* @__PURE__ */ s(
|
|
19303
19308
|
"a",
|
|
19304
19309
|
{
|
|
19305
19310
|
href: n,
|
|
19306
|
-
onClick:
|
|
19311
|
+
onClick: b,
|
|
19307
19312
|
className: "login-button",
|
|
19308
19313
|
children: p
|
|
19309
19314
|
}
|
|
@@ -19338,8 +19343,8 @@ function Zh({
|
|
|
19338
19343
|
return;
|
|
19339
19344
|
}
|
|
19340
19345
|
try {
|
|
19341
|
-
const
|
|
19342
|
-
i(
|
|
19346
|
+
const b = await (await fetch("/api/auth/user", { credentials: "include" })).json();
|
|
19347
|
+
i(b.isAuthenticated ?? !1), l(b.user ?? null), document.cookie = "redirect_after_login_1=; Max-Age=0; path=/";
|
|
19343
19348
|
} catch (f) {
|
|
19344
19349
|
console.error("Error checking auth:", f), i(!1), l(null);
|
|
19345
19350
|
}
|
|
@@ -19501,23 +19506,23 @@ async function gp({
|
|
|
19501
19506
|
});
|
|
19502
19507
|
} catch (f) {
|
|
19503
19508
|
if (console.error("Error enviando comentario:", f), oe.isAxiosError(f)) {
|
|
19504
|
-
const
|
|
19505
|
-
return
|
|
19509
|
+
const b = f.response?.status ?? 500, w = f.response?.data;
|
|
19510
|
+
return b === 400 ? {
|
|
19506
19511
|
type: "error",
|
|
19507
19512
|
message: w?.message || "Solicitud inválida. Verifica que los campos sean correctos.",
|
|
19508
19513
|
status: 400
|
|
19509
|
-
} :
|
|
19514
|
+
} : b === 403 ? {
|
|
19510
19515
|
type: "error",
|
|
19511
19516
|
message: "Captcha inválido o acceso prohibido.",
|
|
19512
19517
|
status: 403
|
|
19513
|
-
} :
|
|
19518
|
+
} : b === 500 ? {
|
|
19514
19519
|
type: "error",
|
|
19515
19520
|
message: "Error interno del servidor del CMS.",
|
|
19516
19521
|
status: 500
|
|
19517
19522
|
} : {
|
|
19518
19523
|
type: "error",
|
|
19519
19524
|
message: w?.message || "No se pudo enviar el comentario.",
|
|
19520
|
-
status:
|
|
19525
|
+
status: b
|
|
19521
19526
|
};
|
|
19522
19527
|
}
|
|
19523
19528
|
return {
|
|
@@ -19644,14 +19649,14 @@ const bp = async ({
|
|
|
19644
19649
|
const { content: t, title: n, isVideo: a } = e;
|
|
19645
19650
|
if (!t || t.length === 0) return;
|
|
19646
19651
|
const r = t[0], o = t.slice(1), i = e.isHome ?? (e.slot_id && e.slot_id !== "Nota_1");
|
|
19647
|
-
return r && o && /* @__PURE__ */
|
|
19648
|
-
/* @__PURE__ */ s("div", { className: "sass-bd-dnfw-headerSection", children: /* @__PURE__ */
|
|
19652
|
+
return r && o && /* @__PURE__ */ g(we, { title: n, titleUrl: e.titleUrl, children: [
|
|
19653
|
+
/* @__PURE__ */ s("div", { className: "sass-bd-dnfw-headerSection", children: /* @__PURE__ */ g(
|
|
19649
19654
|
"div",
|
|
19650
19655
|
{
|
|
19651
19656
|
className: "sass-bd-dnfw-image",
|
|
19652
19657
|
style: { "--heightImageOverwriteMobile": "200%" },
|
|
19653
19658
|
children: [
|
|
19654
|
-
/* @__PURE__ */
|
|
19659
|
+
/* @__PURE__ */ g("div", { className: "sass-bd-dnfw-blockHeadContainer", children: [
|
|
19655
19660
|
/* @__PURE__ */ s(
|
|
19656
19661
|
_,
|
|
19657
19662
|
{
|
|
@@ -19678,7 +19683,7 @@ const bp = async ({
|
|
|
19678
19683
|
]
|
|
19679
19684
|
}
|
|
19680
19685
|
) }),
|
|
19681
|
-
/* @__PURE__ */
|
|
19686
|
+
/* @__PURE__ */ g("div", { className: "sass-bd-dnfw-containerCards", children: [
|
|
19682
19687
|
/* @__PURE__ */ s("div", { className: "banner-context", style: { order: 1 }, children: e.banner }),
|
|
19683
19688
|
/* @__PURE__ */ s("div", { className: "sass-bd-dnfw-newsContent", children: Array.isArray(o) && o.map((c, l) => {
|
|
19684
19689
|
const d = {
|
|
@@ -19866,11 +19871,11 @@ const a1 = (e) => e?.main?.title ? {
|
|
|
19866
19871
|
length: N
|
|
19867
19872
|
}
|
|
19868
19873
|
};
|
|
19869
|
-
},
|
|
19874
|
+
}, b = (y, C, N, v) => {
|
|
19870
19875
|
if (!e[y] || !e[y].blockSass || !e[y].blockSass[0] || !e[y].blockSass[0].value || !e[y].blockSass[0].block || m(e[y].blockSass[0].block) || !p(y)) return;
|
|
19871
19876
|
const S = f(y);
|
|
19872
19877
|
e[y].blockSass[0]?.block === "Modulo iframe" ? d.push(
|
|
19873
|
-
/* @__PURE__ */
|
|
19878
|
+
/* @__PURE__ */ g(
|
|
19874
19879
|
Va,
|
|
19875
19880
|
{
|
|
19876
19881
|
id: e[y].blockSass[0].key,
|
|
@@ -19904,7 +19909,7 @@ const a1 = (e) => e?.main?.title ? {
|
|
|
19904
19909
|
N
|
|
19905
19910
|
)
|
|
19906
19911
|
) : d.push(
|
|
19907
|
-
/* @__PURE__ */
|
|
19912
|
+
/* @__PURE__ */ g(
|
|
19908
19913
|
Va,
|
|
19909
19914
|
{
|
|
19910
19915
|
id: e[y].blockSass[0].key,
|
|
@@ -19949,13 +19954,13 @@ const a1 = (e) => e?.main?.title ? {
|
|
|
19949
19954
|
);
|
|
19950
19955
|
for (const C of y) {
|
|
19951
19956
|
const N = Number(C.slice(5));
|
|
19952
|
-
|
|
19957
|
+
b(C, Number.isFinite(N) ? N - 1 : 0, C, String(N));
|
|
19953
19958
|
}
|
|
19954
19959
|
} else {
|
|
19955
19960
|
const C = w.length / u;
|
|
19956
19961
|
for (let N = 1; N <= C; N++)
|
|
19957
19962
|
for (let v = 1; v <= u; v++)
|
|
19958
|
-
|
|
19963
|
+
b(
|
|
19959
19964
|
"Home_" + N + "_" + v,
|
|
19960
19965
|
(N - 1) * u + (v - 1),
|
|
19961
19966
|
N + "_" + v,
|
|
@@ -19977,7 +19982,7 @@ const a1 = (e) => e?.main?.title ? {
|
|
|
19977
19982
|
data: o.slice(0, l),
|
|
19978
19983
|
paths: n.paths
|
|
19979
19984
|
});
|
|
19980
|
-
return /* @__PURE__ */
|
|
19985
|
+
return /* @__PURE__ */ g(W, { children: [
|
|
19981
19986
|
/* @__PURE__ */ s(
|
|
19982
19987
|
ps,
|
|
19983
19988
|
{
|
|
@@ -20022,7 +20027,7 @@ function r1({
|
|
|
20022
20027
|
initialErrors: t,
|
|
20023
20028
|
initialSuccesses: n
|
|
20024
20029
|
}) {
|
|
20025
|
-
const [a, r] = V(0), [o, i] = V(0), [c, l] = V(!1), [d, u] = V("errors"), [h, m] = V([]), [p, f] = V([]),
|
|
20030
|
+
const [a, r] = V(0), [o, i] = V(0), [c, l] = V(!1), [d, u] = V("errors"), [h, m] = V([]), [p, f] = V([]), b = vr(null);
|
|
20026
20031
|
De(() => {
|
|
20027
20032
|
if (t && t.length > 0) {
|
|
20028
20033
|
const N = new Set(ve.getAll().map((v) => v.id));
|
|
@@ -20036,7 +20041,7 @@ function r1({
|
|
|
20036
20041
|
}
|
|
20037
20042
|
r(ve.getCount()), i(ve.getSuccessCount());
|
|
20038
20043
|
const y = (N) => r(N.detail.count), C = (N) => i(N.detail.count);
|
|
20039
|
-
return window.addEventListener("debug-fetch-error", y), window.addEventListener("debug-fetch-success", C),
|
|
20044
|
+
return window.addEventListener("debug-fetch-error", y), window.addEventListener("debug-fetch-success", C), b.current = oe.interceptors.response.use(
|
|
20040
20045
|
(N) => {
|
|
20041
20046
|
const v = o1(N.data);
|
|
20042
20047
|
return ve.addSuccess({
|
|
@@ -20051,7 +20056,7 @@ function r1({
|
|
|
20051
20056
|
void 0
|
|
20052
20057
|
// let errors propagate normally; they're tracked per-service
|
|
20053
20058
|
), () => {
|
|
20054
|
-
window.removeEventListener("debug-fetch-error", y), window.removeEventListener("debug-fetch-success", C),
|
|
20059
|
+
window.removeEventListener("debug-fetch-error", y), window.removeEventListener("debug-fetch-success", C), b.current !== null && oe.interceptors.response.eject(b.current);
|
|
20055
20060
|
};
|
|
20056
20061
|
}, []);
|
|
20057
20062
|
function w() {
|
|
@@ -20060,19 +20065,19 @@ function r1({
|
|
|
20060
20065
|
function A() {
|
|
20061
20066
|
ve.clearAll(), m([]), f([]), r(0), i(0), l(!1);
|
|
20062
20067
|
}
|
|
20063
|
-
return /* @__PURE__ */
|
|
20064
|
-
/* @__PURE__ */
|
|
20068
|
+
return /* @__PURE__ */ g(W, { children: [
|
|
20069
|
+
/* @__PURE__ */ g("button", { onClick: w, style: u1(e), title: "Debug panel", children: [
|
|
20065
20070
|
"🐛",
|
|
20066
20071
|
a > 0 && /* @__PURE__ */ s("span", { style: fr("#e94560"), children: a }),
|
|
20067
20072
|
o > 0 && /* @__PURE__ */ s("span", { style: fr("#27ae60"), children: o })
|
|
20068
20073
|
] }),
|
|
20069
|
-
c && /* @__PURE__ */ s("div", { style: m1, onClick: () => l(!1), children: /* @__PURE__ */
|
|
20070
|
-
/* @__PURE__ */
|
|
20074
|
+
c && /* @__PURE__ */ s("div", { style: m1, onClick: () => l(!1), children: /* @__PURE__ */ g("div", { style: h1, onClick: (y) => y.stopPropagation(), children: [
|
|
20075
|
+
/* @__PURE__ */ g("div", { style: f1, children: [
|
|
20071
20076
|
/* @__PURE__ */ s("strong", { children: "Debug Panel" }),
|
|
20072
20077
|
/* @__PURE__ */ s("button", { onClick: () => l(!1), style: w1, children: "✕" })
|
|
20073
20078
|
] }),
|
|
20074
|
-
/* @__PURE__ */
|
|
20075
|
-
/* @__PURE__ */
|
|
20079
|
+
/* @__PURE__ */ g("div", { style: p1, children: [
|
|
20080
|
+
/* @__PURE__ */ g(
|
|
20076
20081
|
"button",
|
|
20077
20082
|
{
|
|
20078
20083
|
onClick: () => u("errors"),
|
|
@@ -20083,7 +20088,7 @@ function r1({
|
|
|
20083
20088
|
]
|
|
20084
20089
|
}
|
|
20085
20090
|
),
|
|
20086
|
-
/* @__PURE__ */
|
|
20091
|
+
/* @__PURE__ */ g(
|
|
20087
20092
|
"button",
|
|
20088
20093
|
{
|
|
20089
20094
|
onClick: () => u("successes"),
|
|
@@ -20095,7 +20100,7 @@ function r1({
|
|
|
20095
20100
|
}
|
|
20096
20101
|
)
|
|
20097
20102
|
] }),
|
|
20098
|
-
/* @__PURE__ */
|
|
20103
|
+
/* @__PURE__ */ g("div", { style: g1, children: [
|
|
20099
20104
|
d === "errors" && (h.length === 0 ? /* @__PURE__ */ s("p", { style: wr, children: "No hay errores acumulados." }) : h.map((y) => /* @__PURE__ */ s(c1, { error: y }, y.id))),
|
|
20100
20105
|
d === "successes" && (p.length === 0 ? /* @__PURE__ */ s("p", { style: wr, children: "No hay fetches exitosos registrados aún." }) : p.map((y) => /* @__PURE__ */ s(l1, { entry: y }, y.id)))
|
|
20101
20106
|
] }),
|
|
@@ -20120,23 +20125,23 @@ function c1({ error: e }) {
|
|
|
20120
20125
|
function a() {
|
|
20121
20126
|
navigator.clipboard?.writeText(JSON.stringify(e, null, 2));
|
|
20122
20127
|
}
|
|
20123
|
-
return /* @__PURE__ */
|
|
20124
|
-
/* @__PURE__ */
|
|
20128
|
+
return /* @__PURE__ */ g("div", { style: Ro("#1a0a0a", "#3d1a1a"), children: [
|
|
20129
|
+
/* @__PURE__ */ g("button", { onClick: () => n((r) => !r), style: Oo, children: [
|
|
20125
20130
|
/* @__PURE__ */ s("span", { style: Bo, children: t ? "▼" : "▶" }),
|
|
20126
20131
|
/* @__PURE__ */ s("span", { style: Go(e.layer), children: e.layer }),
|
|
20127
20132
|
e.status !== void 0 && /* @__PURE__ */ s("span", { style: Fo(e.status), children: e.status }),
|
|
20128
20133
|
/* @__PURE__ */ s("span", { style: { fontWeight: 600, fontSize: 13, color: "#f87171" }, children: i1(e) }),
|
|
20129
|
-
/* @__PURE__ */
|
|
20134
|
+
/* @__PURE__ */ g("span", { style: Mo, children: [
|
|
20130
20135
|
e.method,
|
|
20131
20136
|
" ",
|
|
20132
20137
|
e.endpoint
|
|
20133
20138
|
] })
|
|
20134
20139
|
] }),
|
|
20135
|
-
t && /* @__PURE__ */
|
|
20140
|
+
t && /* @__PURE__ */ g("div", { style: _o, children: [
|
|
20136
20141
|
e.service && /* @__PURE__ */ s("div", { style: { fontSize: 11, color: "#888", marginBottom: 4 }, children: e.service }),
|
|
20137
20142
|
/* @__PURE__ */ s("div", { style: { fontSize: 12, color: "#f87171", marginBottom: 4 }, children: e.message }),
|
|
20138
20143
|
e.params && /* @__PURE__ */ s("pre", { style: Rs, children: JSON.stringify(e.params, null, 2) }),
|
|
20139
|
-
/* @__PURE__ */
|
|
20144
|
+
/* @__PURE__ */ g("div", { style: Do, children: [
|
|
20140
20145
|
/* @__PURE__ */ s("span", { style: qo, children: e.timestamp }),
|
|
20141
20146
|
/* @__PURE__ */ s("button", { onClick: a, style: jo, children: "Copy" })
|
|
20142
20147
|
] })
|
|
@@ -20149,34 +20154,34 @@ function l1({ entry: e }) {
|
|
|
20149
20154
|
navigator.clipboard?.writeText(JSON.stringify(e, null, 2));
|
|
20150
20155
|
}
|
|
20151
20156
|
const r = e.service ? e.service.split(".").pop() ?? e.service : e.endpoint.split("/").filter(Boolean).pop() ?? e.endpoint;
|
|
20152
|
-
return /* @__PURE__ */
|
|
20153
|
-
/* @__PURE__ */
|
|
20157
|
+
return /* @__PURE__ */ g("div", { style: Ro("#0a1a0a", "#1a3d1a"), children: [
|
|
20158
|
+
/* @__PURE__ */ g("button", { onClick: () => n((o) => !o), style: Oo, children: [
|
|
20154
20159
|
/* @__PURE__ */ s("span", { style: Bo, children: t ? "▼" : "▶" }),
|
|
20155
20160
|
/* @__PURE__ */ s("span", { style: Go(e.layer), children: e.layer }),
|
|
20156
20161
|
/* @__PURE__ */ s("span", { style: Fo(e.status), children: e.status }),
|
|
20157
20162
|
/* @__PURE__ */ s("span", { style: { fontWeight: 600, fontSize: 13, color: "#4ade80" }, children: r }),
|
|
20158
|
-
/* @__PURE__ */
|
|
20163
|
+
/* @__PURE__ */ g("span", { style: Mo, children: [
|
|
20159
20164
|
e.method,
|
|
20160
20165
|
" ",
|
|
20161
20166
|
e.endpoint
|
|
20162
20167
|
] }),
|
|
20163
20168
|
e.responsePreview && !t && /* @__PURE__ */ s("span", { style: v1, children: /* @__PURE__ */ s("span", { style: C1, children: e.responsePreview.length > 80 ? e.responsePreview.slice(0, 80) + "…" : e.responsePreview }) }),
|
|
20164
|
-
e.durationMs !== void 0 && /* @__PURE__ */
|
|
20169
|
+
e.durationMs !== void 0 && /* @__PURE__ */ g("span", { style: y1, children: [
|
|
20165
20170
|
e.durationMs,
|
|
20166
20171
|
"ms"
|
|
20167
20172
|
] })
|
|
20168
20173
|
] }),
|
|
20169
|
-
t && /* @__PURE__ */
|
|
20174
|
+
t && /* @__PURE__ */ g("div", { style: _o, children: [
|
|
20170
20175
|
e.service && /* @__PURE__ */ s("div", { style: { fontSize: 11, color: "#888", marginBottom: 4 }, children: e.service }),
|
|
20171
|
-
e.params && /* @__PURE__ */
|
|
20176
|
+
e.params && /* @__PURE__ */ g(W, { children: [
|
|
20172
20177
|
/* @__PURE__ */ s("div", { style: br, children: "Params" }),
|
|
20173
20178
|
/* @__PURE__ */ s("pre", { style: Rs, children: JSON.stringify(e.params, null, 2) })
|
|
20174
20179
|
] }),
|
|
20175
|
-
e.responsePreview && /* @__PURE__ */
|
|
20180
|
+
e.responsePreview && /* @__PURE__ */ g(W, { children: [
|
|
20176
20181
|
/* @__PURE__ */ s("div", { style: br, children: "Response" }),
|
|
20177
20182
|
/* @__PURE__ */ s("pre", { style: { ...Rs, color: "#86efac" }, children: e.responsePreview })
|
|
20178
20183
|
] }),
|
|
20179
|
-
/* @__PURE__ */
|
|
20184
|
+
/* @__PURE__ */ g("div", { style: Do, children: [
|
|
20180
20185
|
/* @__PURE__ */ s("span", { style: qo, children: e.timestamp }),
|
|
20181
20186
|
/* @__PURE__ */ s("button", { onClick: a, style: jo, children: "Copy" })
|
|
20182
20187
|
] })
|
|
@@ -20471,8 +20476,8 @@ function x1(e, t) {
|
|
|
20471
20476
|
return '<figure class="sass-com-img-figure"><span class="sass-com-img-backdrop"><span class="sass-com-img-backdropAux"></span><picture>' + c + `<img fetchpriority="${r}" loading="${o}" decoding="${i}" class="sass-com-img-imageStyled su-flex-center su-object-cover"${d}${u} alt="${le(a)}" src="${le(h)}"></picture></span></figure>`;
|
|
20472
20477
|
}
|
|
20473
20478
|
function E1(e) {
|
|
20474
|
-
const { href: t, target: n, ariaLabel: a, preview: r, preRenderClass: o, priorityHigh: i } = e, { finalHref: c, isExternal: l } = qt(t), d = o ? `homeCardImage ${o}` : "homeCardImage", u = a != null ? ` aria-label="${le(a)}"` : "", h = a != null ? ` title="${le(a)}"` : "", m = n ?? void 0, p = m ? ` target="${le(m)}"` : "", f = l ? ' rel="noopener noreferrer"' : "",
|
|
20475
|
-
return `<a${u} class="${d}"${h} href="${le(c)}"${p}${f}>${
|
|
20479
|
+
const { href: t, target: n, ariaLabel: a, preview: r, preRenderClass: o, priorityHigh: i } = e, { finalHref: c, isExternal: l } = qt(t), d = o ? `homeCardImage ${o}` : "homeCardImage", u = a != null ? ` aria-label="${le(a)}"` : "", h = a != null ? ` title="${le(a)}"` : "", m = n ?? void 0, p = m ? ` target="${le(m)}"` : "", f = l ? ' rel="noopener noreferrer"' : "", b = x1(r, i ?? !1);
|
|
20480
|
+
return `<a${u} class="${d}"${h} href="${le(c)}"${p}${f}>${b}</a>`;
|
|
20476
20481
|
}
|
|
20477
20482
|
function T1(e, t, n) {
|
|
20478
20483
|
const a = n?.share, r = n?.newsDescriptionSectionTag ?? "h3", o = n?.speculationPrerenderClass, { SHOW_TAG_BY_SECTION: i, SUB_PUBLICATION_PREFIX_IN_ROUTES: c } = I();
|
|
@@ -20498,14 +20503,14 @@ function T1(e, t, n) {
|
|
|
20498
20503
|
u = `<${r} class="sass-com-nd-sectionDescriptionContainer section"><a aria-label="${le(y)}" class="sass-com-nd-sectionDescription" href="${le(C)}">${Ve(y)}</a>` + d() + `</${r}>`;
|
|
20499
20504
|
}
|
|
20500
20505
|
const p = e.main?.title?.section ?? "", f = o ? `${o} sass-com-nd-linkStyled su-no-underline` : "sass-com-nd-linkStyled su-no-underline";
|
|
20501
|
-
let
|
|
20506
|
+
let b;
|
|
20502
20507
|
if (e.info?.link?.url) {
|
|
20503
20508
|
const { finalHref: y, isExternal: C } = qt(
|
|
20504
20509
|
e.info.link.url
|
|
20505
20510
|
), N = e.info.link.target, v = N ? ` target="${le(N)}"` : "", S = C ? ' rel="noopener noreferrer"' : "";
|
|
20506
|
-
|
|
20511
|
+
b = `<h2 class="sass-com-nd-articule"><a aria-label="${le(p)}" class="${f}" style="--isLink:var(--news-description-title-color-hover-decoration)" href="${le(y)}"${v}${S}>${Ve(p)}</a></h2>`;
|
|
20507
20512
|
} else
|
|
20508
|
-
|
|
20513
|
+
b = `<h2 class="sass-com-nd-articule">${Ve(p)}</h2>`;
|
|
20509
20514
|
let w = "";
|
|
20510
20515
|
if (e.config?.showsubtitle) {
|
|
20511
20516
|
const y = e.main?.subtitle?.striped ?? "";
|
|
@@ -20528,7 +20533,7 @@ function T1(e, t, n) {
|
|
|
20528
20533
|
} else
|
|
20529
20534
|
A = `<h3 class="sass-com-nd-correspondent"${C}>${Ve(y)}</h3>`;
|
|
20530
20535
|
}
|
|
20531
|
-
return '<div class="sass-com-nd-boxInformation sass-news-description">' + l + u +
|
|
20536
|
+
return '<div class="sass-com-nd-boxInformation sass-news-description">' + l + u + b + w + A + "</div>";
|
|
20532
20537
|
}
|
|
20533
20538
|
function Cp(e, t, n, a, r = !1) {
|
|
20534
20539
|
const o = t < 5 ? "nota-prerender" : void 0, i = E1({
|