sass-template-common 0.3.43 → 0.3.45
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,6 +1,6 @@
|
|
|
1
1
|
import { jsx as a, jsxs as f, Fragment as J } from "react/jsx-runtime";
|
|
2
2
|
import * as Ha from "react";
|
|
3
|
-
import ke, { useState as K, useRef as Fs, useCallback as ue, useEffect as
|
|
3
|
+
import ke, { useState as K, useRef as Fs, useCallback as ue, useEffect as Qe, createElement as it, forwardRef as $s, Fragment as vn, useMemo as Jo, Component as Zo } from "react";
|
|
4
4
|
let ia = {
|
|
5
5
|
PUBLIC_API_HOST: "https://dev-saas.cms-medios.com",
|
|
6
6
|
PUBLIC_API_FRONT: "https://dev-lahora.cms-medios.com",
|
|
@@ -160,15 +160,15 @@ function Ws() {
|
|
|
160
160
|
(function(n, s) {
|
|
161
161
|
e.exports = s();
|
|
162
162
|
})(sr, (function() {
|
|
163
|
-
var n = 1e3, s = 6e4, o = 36e5, r = "millisecond", i = "second", c = "minute", d = "hour", l = "day", u = "week", h = "month", m = "quarter", p = "year", g = "date", A = "Invalid Date", w = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,
|
|
163
|
+
var n = 1e3, s = 6e4, o = 36e5, r = "millisecond", i = "second", c = "minute", d = "hour", l = "day", u = "week", h = "month", m = "quarter", p = "year", g = "date", A = "Invalid Date", w = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, v = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, N = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(M) {
|
|
164
164
|
var U = ["th", "st", "nd", "rd"], E = M % 100;
|
|
165
165
|
return "[" + M + (U[(E - 20) % 10] || U[E] || U[0]) + "]";
|
|
166
|
-
} },
|
|
166
|
+
} }, C = function(M, U, E) {
|
|
167
167
|
var D = String(M);
|
|
168
168
|
return !D || D.length >= U ? M : "" + Array(U + 1 - D.length).join(E) + M;
|
|
169
|
-
}, x = { s:
|
|
169
|
+
}, x = { s: C, z: function(M) {
|
|
170
170
|
var U = -M.utcOffset(), E = Math.abs(U), D = Math.floor(E / 60), T = E % 60;
|
|
171
|
-
return (U <= 0 ? "+" : "-") +
|
|
171
|
+
return (U <= 0 ? "+" : "-") + C(D, 2, "0") + ":" + C(T, 2, "0");
|
|
172
172
|
}, m: function M(U, E) {
|
|
173
173
|
if (U.date() < E.date()) return -M(E, U);
|
|
174
174
|
var D = 12 * (E.year() - U.year()) + (E.month() - U.month()), T = U.clone().add(D, h), z = E - T < 0, y = U.clone().add(D + (z ? -1 : 1), h);
|
|
@@ -302,15 +302,15 @@ function Ws() {
|
|
|
302
302
|
}, U.format = function(E) {
|
|
303
303
|
var D = this, T = this.$locale();
|
|
304
304
|
if (!this.isValid()) return T.invalidDate || A;
|
|
305
|
-
var z = E || "YYYY-MM-DDTHH:mm:ssZ", y = B.z(this), S = this.$H, R = this.$m, j = this.$M, O = T.weekdays, H = T.months, V = T.meridiem, F = function($, ie, L,
|
|
306
|
-
return $ && ($[ie] || $(D, z)) || L[ie].slice(0,
|
|
305
|
+
var z = E || "YYYY-MM-DDTHH:mm:ssZ", y = B.z(this), S = this.$H, R = this.$m, j = this.$M, O = T.weekdays, H = T.months, V = T.meridiem, F = function($, ie, L, ve) {
|
|
306
|
+
return $ && ($[ie] || $(D, z)) || L[ie].slice(0, ve);
|
|
307
307
|
}, Z = function($) {
|
|
308
308
|
return B.s(S % 12 || 12, $, "0");
|
|
309
309
|
}, X = V || function($, ie, L) {
|
|
310
|
-
var
|
|
311
|
-
return L ?
|
|
310
|
+
var ve = $ < 12 ? "AM" : "PM";
|
|
311
|
+
return L ? ve.toLowerCase() : ve;
|
|
312
312
|
};
|
|
313
|
-
return z.replace(
|
|
313
|
+
return z.replace(v, (function($, ie) {
|
|
314
314
|
return ie || (function(L) {
|
|
315
315
|
switch (L) {
|
|
316
316
|
case "YY":
|
|
@@ -447,19 +447,19 @@ function ir() {
|
|
|
447
447
|
return r.fromToBase(l, u, h, m);
|
|
448
448
|
}
|
|
449
449
|
o.en.relativeTime = i, r.fromToBase = function(l, u, h, m, p) {
|
|
450
|
-
for (var g, A, w,
|
|
450
|
+
for (var g, A, w, v = h.$locale().relativeTime || i, N = n.thresholds || [{ l: "s", r: 44, d: "second" }, { l: "m", r: 89 }, { l: "mm", r: 44, d: "minute" }, { l: "h", r: 89 }, { l: "hh", r: 21, d: "hour" }, { l: "d", r: 35 }, { l: "dd", r: 25, d: "day" }, { l: "M", r: 45 }, { l: "MM", r: 10, d: "month" }, { l: "y", r: 17 }, { l: "yy", d: "year" }], C = N.length, x = 0; x < C; x += 1) {
|
|
451
451
|
var _ = N[x];
|
|
452
452
|
_.d && (g = m ? o(l).diff(h, _.d, !0) : h.diff(l, _.d, !0));
|
|
453
453
|
var I = (n.rounding || Math.round)(Math.abs(g));
|
|
454
454
|
if (w = g > 0, I <= _.r || !_.r) {
|
|
455
455
|
I <= 1 && x > 0 && (_ = N[x - 1]);
|
|
456
|
-
var P =
|
|
456
|
+
var P = v[_.l];
|
|
457
457
|
p && (I = p("" + I)), A = typeof P == "string" ? P.replace("%d", I) : P(I, u, _.l, w);
|
|
458
458
|
break;
|
|
459
459
|
}
|
|
460
460
|
}
|
|
461
461
|
if (u) return A;
|
|
462
|
-
var Q = w ?
|
|
462
|
+
var Q = w ? v.future : v.past;
|
|
463
463
|
return typeof Q == "function" ? Q(A) : Q.replace("%s", A);
|
|
464
464
|
}, r.to = function(l, u) {
|
|
465
465
|
return c(l, u, this, !0);
|
|
@@ -528,8 +528,8 @@ function mr() {
|
|
|
528
528
|
};
|
|
529
529
|
var h = d.utcOffset;
|
|
530
530
|
d.utcOffset = function(A, w) {
|
|
531
|
-
var
|
|
532
|
-
if (
|
|
531
|
+
var v = this.$utils().u;
|
|
532
|
+
if (v(A)) return this.$u ? 0 : v(this.$offset) ? h.call(this) : this.$offset;
|
|
533
533
|
if (typeof A == "string" && (A = (function(_) {
|
|
534
534
|
_ === void 0 && (_ = "");
|
|
535
535
|
var I = _.match(s);
|
|
@@ -539,10 +539,10 @@ function mr() {
|
|
|
539
539
|
})(A), A === null)) return this;
|
|
540
540
|
var N = Math.abs(A) <= 16 ? 60 * A : A;
|
|
541
541
|
if (N === 0) return this.utc(w);
|
|
542
|
-
var
|
|
543
|
-
if (w) return
|
|
542
|
+
var C = this.clone();
|
|
543
|
+
if (w) return C.$offset = N, C.$u = !1, C;
|
|
544
544
|
var x = this.$u ? this.toDate().getTimezoneOffset() : -1 * this.utcOffset();
|
|
545
|
-
return (
|
|
545
|
+
return (C = this.local().add(N + x, n)).$offset = N, C.$x.$localOffset = x, C;
|
|
546
546
|
};
|
|
547
547
|
var m = d.format;
|
|
548
548
|
d.format = function(A) {
|
|
@@ -563,10 +563,10 @@ function mr() {
|
|
|
563
563
|
return A === "s" && this.$offset ? c(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate() : p.call(this);
|
|
564
564
|
};
|
|
565
565
|
var g = d.diff;
|
|
566
|
-
d.diff = function(A, w,
|
|
567
|
-
if (A && this.$u === A.$u) return g.call(this, A, w,
|
|
568
|
-
var N = this.local(),
|
|
569
|
-
return g.call(N,
|
|
566
|
+
d.diff = function(A, w, v) {
|
|
567
|
+
if (A && this.$u === A.$u) return g.call(this, A, w, v);
|
|
568
|
+
var N = this.local(), C = c(A).local();
|
|
569
|
+
return g.call(N, C, w, v);
|
|
570
570
|
};
|
|
571
571
|
};
|
|
572
572
|
}));
|
|
@@ -584,25 +584,25 @@ function Ar() {
|
|
|
584
584
|
return function(o, r, i) {
|
|
585
585
|
var c, d = function(m, p, g) {
|
|
586
586
|
g === void 0 && (g = {});
|
|
587
|
-
var A = new Date(m), w = (function(
|
|
587
|
+
var A = new Date(m), w = (function(v, N) {
|
|
588
588
|
N === void 0 && (N = {});
|
|
589
|
-
var
|
|
590
|
-
return _ || (_ = new Intl.DateTimeFormat("en-US", { hour12: !1, timeZone:
|
|
589
|
+
var C = N.timeZoneName || "short", x = v + "|" + C, _ = s[x];
|
|
590
|
+
return _ || (_ = new Intl.DateTimeFormat("en-US", { hour12: !1, timeZone: v, year: "numeric", month: "2-digit", day: "2-digit", hour: "2-digit", minute: "2-digit", second: "2-digit", timeZoneName: C }), s[x] = _), _;
|
|
591
591
|
})(p, g);
|
|
592
592
|
return w.formatToParts(A);
|
|
593
593
|
}, l = function(m, p) {
|
|
594
594
|
for (var g = d(m, p), A = [], w = 0; w < g.length; w += 1) {
|
|
595
|
-
var
|
|
596
|
-
x >= 0 && (A[x] = parseInt(
|
|
595
|
+
var v = g[w], N = v.type, C = v.value, x = n[N];
|
|
596
|
+
x >= 0 && (A[x] = parseInt(C, 10));
|
|
597
597
|
}
|
|
598
598
|
var _ = A[3], I = _ === 24 ? 0 : _, P = A[0] + "-" + A[1] + "-" + A[2] + " " + I + ":" + A[4] + ":" + A[5] + ":000", Q = +m;
|
|
599
599
|
return (i.utc(P).valueOf() - (Q -= Q % 1e3)) / 6e4;
|
|
600
600
|
}, u = r.prototype;
|
|
601
601
|
u.tz = function(m, p) {
|
|
602
602
|
m === void 0 && (m = c);
|
|
603
|
-
var g, A = this.utcOffset(), w = this.toDate(),
|
|
604
|
-
if (!Number(
|
|
605
|
-
else if (g = i(
|
|
603
|
+
var g, A = this.utcOffset(), w = this.toDate(), v = w.toLocaleString("en-US", { timeZone: m }), N = Math.round((w - new Date(v)) / 1e3 / 60), C = 15 * -Math.round(w.getTimezoneOffset() / 15) - N;
|
|
604
|
+
if (!Number(C)) g = this.utcOffset(0, p);
|
|
605
|
+
else if (g = i(v, { locale: this.$L }).$set("millisecond", this.$ms).utcOffset(C, !0), p) {
|
|
606
606
|
var x = g.utcOffset();
|
|
607
607
|
g = g.add(A - x, "minute");
|
|
608
608
|
}
|
|
@@ -619,14 +619,14 @@ function Ar() {
|
|
|
619
619
|
var g = i(this.format("YYYY-MM-DD HH:mm:ss:SSS"), { locale: this.$L });
|
|
620
620
|
return h.call(g, m, p).tz(this.$x.$timezone, !0);
|
|
621
621
|
}, i.tz = function(m, p, g) {
|
|
622
|
-
var A = g && p, w = g || p || c,
|
|
622
|
+
var A = g && p, w = g || p || c, v = l(+i(), w);
|
|
623
623
|
if (typeof m != "string") return i(m).tz(w);
|
|
624
624
|
var N = (function(I, P, Q) {
|
|
625
625
|
var W = I - 60 * P * 1e3, G = l(W, Q);
|
|
626
626
|
if (P === G) return [W, P];
|
|
627
627
|
var B = l(W -= 60 * (G - P) * 1e3, Q);
|
|
628
628
|
return G === B ? [W, G] : [I - 60 * Math.min(G, B) * 1e3, Math.max(G, B)];
|
|
629
|
-
})(i.utc(m, A).valueOf(),
|
|
629
|
+
})(i.utc(m, A).valueOf(), v, w), C = N[0], x = N[1], _ = i(C).utcOffset(x);
|
|
630
630
|
return _.$x.$timezone = w, _;
|
|
631
631
|
}, i.tz.guess = function() {
|
|
632
632
|
return Intl.DateTimeFormat().resolvedOptions().timeZone;
|
|
@@ -642,7 +642,7 @@ const yr = /* @__PURE__ */ It(wr);
|
|
|
642
642
|
Te.extend(gr);
|
|
643
643
|
Te.extend(yr);
|
|
644
644
|
Te.extend(lr);
|
|
645
|
-
const In = (e) => e === "en" ? "en" : "es",
|
|
645
|
+
const In = (e) => e === "en" ? "en" : "es", Ge = (e, t) => {
|
|
646
646
|
const { PUBLIC_LNG: n, DATE_TIMEZONE: s } = t || te(), o = In(n ?? "es");
|
|
647
647
|
return Te.tz(e, s).locale(o).format("DD MMMM YYYY");
|
|
648
648
|
}, _a = (e) => {
|
|
@@ -650,17 +650,17 @@ const In = (e) => e === "en" ? "en" : "es", Qe = (e, t) => {
|
|
|
650
650
|
return Te.tz(e, n).locale(s).format(
|
|
651
651
|
s === "en" ? "MMMM DD YYYY [•] HH:mm [hs]" : "DD [de] MMMM YYYY [•] HH:mm [hs]"
|
|
652
652
|
);
|
|
653
|
-
},
|
|
653
|
+
}, vr = (e) => {
|
|
654
654
|
const { PUBLIC_LNG: t, DATE_TIMEZONE: n } = te(), s = In(t ?? "es");
|
|
655
655
|
return Te.tz(e, n).locale(s).format("MM/DD/YYYY [•] HH:mm [HS]");
|
|
656
656
|
}, a3 = (e) => {
|
|
657
657
|
const { PUBLIC_LNG: t, DATE_TIMEZONE: n } = te(), s = In(t ?? "es");
|
|
658
658
|
return Te.tz(e, n).locale(s).format("dddd DD [de] MMMM YYYY");
|
|
659
|
-
},
|
|
659
|
+
}, He = (e, t = 136) => e && e.length > t ? `${e.substring(0, t)}...` : e;
|
|
660
660
|
function St(e) {
|
|
661
661
|
return e && e.status === "fulfilled" ? e.value.data : null;
|
|
662
662
|
}
|
|
663
|
-
function
|
|
663
|
+
function Cr(e) {
|
|
664
664
|
return e && e.status === "fulfilled" ? e.value : null;
|
|
665
665
|
}
|
|
666
666
|
const Ht = (e, t, n, s) => ({
|
|
@@ -738,7 +738,7 @@ const _r = async (e, t) => {
|
|
|
738
738
|
}), (await Promise.allSettled(n)).map(
|
|
739
739
|
(r) => St(r)?.data
|
|
740
740
|
);
|
|
741
|
-
},
|
|
741
|
+
}, Cn = () => {
|
|
742
742
|
const { PUBLIC_ENV: e, PUBLIC_API_HOST: t, PUBLIC_ASSETS_URL: n } = te();
|
|
743
743
|
return e == "local" ? t : n && n !== "false" ? n : "";
|
|
744
744
|
}, s3 = () => {
|
|
@@ -927,7 +927,7 @@ const _r = async (e, t) => {
|
|
|
927
927
|
)
|
|
928
928
|
);
|
|
929
929
|
}), t;
|
|
930
|
-
}, pe = async (e) => `${
|
|
930
|
+
}, pe = async (e) => `${Cn()}${e}`, ba = (e, t) => {
|
|
931
931
|
const n = e || "";
|
|
932
932
|
return t ? n.replaceAll("[section_replace]", t["[section_replace]"] ?? "").replaceAll("[tag_replace]", t["[tag_replace]"] ?? "").replaceAll("[url_replace]", t["[url_replace]"] ?? "").replaceAll("[author_replace]", t["[author_replace]"] ?? "") || "" : n || "";
|
|
933
933
|
}, Ks = (e) => {
|
|
@@ -1365,24 +1365,24 @@ const Dr = async ({
|
|
|
1365
1365
|
if (e.search("/page/") === -1) return e.replace("/", "");
|
|
1366
1366
|
const t = e.split("/"), n = t.indexOf("page") - 1;
|
|
1367
1367
|
return n < 0 ? e : (t[n] ?? "").replace("/", "");
|
|
1368
|
-
},
|
|
1368
|
+
}, qe = (e) => {
|
|
1369
1369
|
const n = e.replace(/^\/|\/$/g, "").split("/"), s = n.indexOf("page");
|
|
1370
1370
|
return s > 0 ? n[s - 1] ?? "" : n[n.length - 1] ?? "";
|
|
1371
1371
|
}, zr = {
|
|
1372
1372
|
404: () => "404",
|
|
1373
1373
|
home: () => "home",
|
|
1374
|
-
slug: (e) =>
|
|
1374
|
+
slug: (e) => qe(e.pathname),
|
|
1375
1375
|
news: (e) => Nr(e.pathname)?.slug,
|
|
1376
|
-
seccion: (e) =>
|
|
1377
|
-
tema: (e) =>
|
|
1378
|
-
pages: (e) =>
|
|
1379
|
-
buscar: (e) =>
|
|
1380
|
-
"ultimas-noticias": (e) =>
|
|
1381
|
-
anuncia: () =>
|
|
1382
|
-
contacto: () =>
|
|
1383
|
-
autor: (e) =>
|
|
1384
|
-
video: (e) =>
|
|
1385
|
-
videos: (e) =>
|
|
1376
|
+
seccion: (e) => qe(e.pathname),
|
|
1377
|
+
tema: (e) => qe(e.pathname),
|
|
1378
|
+
pages: (e) => qe(e.pathname),
|
|
1379
|
+
buscar: (e) => qe(e.pathname),
|
|
1380
|
+
"ultimas-noticias": (e) => qe(e.pathname),
|
|
1381
|
+
anuncia: () => (e) => qe(e.pathname),
|
|
1382
|
+
contacto: () => (e) => qe(e.pathname),
|
|
1383
|
+
autor: (e) => qe(e.pathname),
|
|
1384
|
+
video: (e) => qe(e.pathname),
|
|
1385
|
+
videos: (e) => qe(e.pathname)
|
|
1386
1386
|
}, Zt = (e) => {
|
|
1387
1387
|
const t = e.split("/"), n = t[t.length - 1] ?? "1";
|
|
1388
1388
|
return Number(n) > 0 ? Number(n) : 1;
|
|
@@ -1528,11 +1528,11 @@ function Zs(e, t) {
|
|
|
1528
1528
|
const { toString: Vr } = Object.prototype, { getPrototypeOf: Sa } = Object, { iterator: kn, toStringTag: Xs } = Symbol, Un = /* @__PURE__ */ ((e) => (t) => {
|
|
1529
1529
|
const n = Vr.call(t);
|
|
1530
1530
|
return e[n] || (e[n] = n.slice(8, -1).toLowerCase());
|
|
1531
|
-
})(/* @__PURE__ */ Object.create(null)),
|
|
1531
|
+
})(/* @__PURE__ */ Object.create(null)), De = (e) => (e = e.toLowerCase(), (t) => Un(t) === e), Rn = (e) => (t) => typeof t === e, { isArray: Tt } = Array, xt = Rn("undefined");
|
|
1532
1532
|
function zt(e) {
|
|
1533
1533
|
return e !== null && !xt(e) && e.constructor !== null && !xt(e.constructor) && Ne(e.constructor.isBuffer) && e.constructor.isBuffer(e);
|
|
1534
1534
|
}
|
|
1535
|
-
const eo =
|
|
1535
|
+
const eo = De("ArrayBuffer");
|
|
1536
1536
|
function Fr(e) {
|
|
1537
1537
|
let t;
|
|
1538
1538
|
return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? t = ArrayBuffer.isView(e) : t = e && e.buffer && eo(e.buffer), t;
|
|
@@ -1550,11 +1550,11 @@ const $r = Rn("string"), Ne = Rn("function"), to = Rn("number"), Vt = (e) => e !
|
|
|
1550
1550
|
} catch {
|
|
1551
1551
|
return !1;
|
|
1552
1552
|
}
|
|
1553
|
-
}, Kr =
|
|
1553
|
+
}, Kr = De("Date"), Jr = De("File"), Zr = De("Blob"), Xr = De("FileList"), ei = (e) => Vt(e) && Ne(e.pipe), ti = (e) => {
|
|
1554
1554
|
let t;
|
|
1555
1555
|
return e && (typeof FormData == "function" && e instanceof FormData || Ne(e.append) && ((t = Un(e)) === "formdata" || // detect form-data instance
|
|
1556
1556
|
t === "object" && Ne(e.toString) && e.toString() === "[object FormData]"));
|
|
1557
|
-
}, ni =
|
|
1557
|
+
}, ni = De("URLSearchParams"), [ai, si, oi, ri] = ["ReadableStream", "Request", "Response", "Headers"].map(De), ii = (e) => e.trim ? e.trim() : e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
|
|
1558
1558
|
function Ft(e, t, { allOwnKeys: n = !1 } = {}) {
|
|
1559
1559
|
if (e === null || typeof e > "u")
|
|
1560
1560
|
return;
|
|
@@ -1634,18 +1634,18 @@ const ci = (e, t, n, { allOwnKeys: s } = {}) => (Ft(t, (o, r) => {
|
|
|
1634
1634
|
for (; (n = e.exec(t)) !== null; )
|
|
1635
1635
|
s.push(n);
|
|
1636
1636
|
return s;
|
|
1637
|
-
}, Ai =
|
|
1637
|
+
}, Ai = De("HTMLFormElement"), wi = (e) => e.toLowerCase().replace(
|
|
1638
1638
|
/[-_\s]([a-z\d])(\w*)/g,
|
|
1639
1639
|
function(n, s, o) {
|
|
1640
1640
|
return s.toUpperCase() + o;
|
|
1641
1641
|
}
|
|
1642
|
-
), Ja = (({ hasOwnProperty: e }) => (t, n) => e.call(t, n))(Object.prototype), yi =
|
|
1642
|
+
), Ja = (({ hasOwnProperty: e }) => (t, n) => e.call(t, n))(Object.prototype), yi = De("RegExp"), so = (e, t) => {
|
|
1643
1643
|
const n = Object.getOwnPropertyDescriptors(e), s = {};
|
|
1644
1644
|
Ft(n, (o, r) => {
|
|
1645
1645
|
let i;
|
|
1646
1646
|
(i = t(o, r, e)) !== !1 && (s[r] = i || o);
|
|
1647
1647
|
}), Object.defineProperties(e, s);
|
|
1648
|
-
},
|
|
1648
|
+
}, vi = (e) => {
|
|
1649
1649
|
so(e, (t, n) => {
|
|
1650
1650
|
if (Ne(e) && ["arguments", "caller", "callee"].indexOf(n) !== -1)
|
|
1651
1651
|
return !1;
|
|
@@ -1660,7 +1660,7 @@ const ci = (e, t, n, { allOwnKeys: s } = {}) => (Ft(t, (o, r) => {
|
|
|
1660
1660
|
});
|
|
1661
1661
|
}
|
|
1662
1662
|
});
|
|
1663
|
-
},
|
|
1663
|
+
}, Ci = (e, t) => {
|
|
1664
1664
|
const n = {}, s = (o) => {
|
|
1665
1665
|
o.forEach((r) => {
|
|
1666
1666
|
n[r] = !0;
|
|
@@ -1691,7 +1691,7 @@ const Si = (e) => {
|
|
|
1691
1691
|
return s;
|
|
1692
1692
|
};
|
|
1693
1693
|
return n(e, 0);
|
|
1694
|
-
}, xi =
|
|
1694
|
+
}, xi = De("AsyncFunction"), Ei = (e) => e && (Vt(e) || Ne(e)) && Ne(e.then) && Ne(e.catch), oo = ((e, t) => e ? setImmediate : t ? ((n, s) => (mt.addEventListener("message", ({ source: o, data: r }) => {
|
|
1695
1695
|
o === mt && r === n && s.length && s.shift()();
|
|
1696
1696
|
}, !1), (o) => {
|
|
1697
1697
|
s.push(o), mt.postMessage(n, "*");
|
|
@@ -1732,7 +1732,7 @@ const Si = (e) => {
|
|
|
1732
1732
|
inherits: di,
|
|
1733
1733
|
toFlatObject: ui,
|
|
1734
1734
|
kindOf: Un,
|
|
1735
|
-
kindOfTest:
|
|
1735
|
+
kindOfTest: De,
|
|
1736
1736
|
endsWith: hi,
|
|
1737
1737
|
toArray: mi,
|
|
1738
1738
|
forEachEntry: gi,
|
|
@@ -1742,8 +1742,8 @@ const Si = (e) => {
|
|
|
1742
1742
|
hasOwnProp: Ja,
|
|
1743
1743
|
// an alias to avoid ESLint no-prototype-builtins detection
|
|
1744
1744
|
reduceDescriptors: so,
|
|
1745
|
-
freezeMethods:
|
|
1746
|
-
toObjectSet:
|
|
1745
|
+
freezeMethods: vi,
|
|
1746
|
+
toObjectSet: Ci,
|
|
1747
1747
|
toCamelCase: wi,
|
|
1748
1748
|
noop: _i,
|
|
1749
1749
|
toFiniteNumber: bi,
|
|
@@ -1852,16 +1852,16 @@ function Ln(e, t, n) {
|
|
|
1852
1852
|
return b.isArrayBuffer(g) || b.isTypedArray(g) ? d && typeof Blob == "function" ? new Blob([g]) : Buffer.from(g) : g;
|
|
1853
1853
|
}
|
|
1854
1854
|
function u(g, A, w) {
|
|
1855
|
-
let
|
|
1855
|
+
let v = g;
|
|
1856
1856
|
if (g && !w && typeof g == "object") {
|
|
1857
1857
|
if (b.endsWith(A, "{}"))
|
|
1858
1858
|
A = s ? A : A.slice(0, -2), g = JSON.stringify(g);
|
|
1859
|
-
else if (b.isArray(g) && Ui(g) || (b.isFileList(g) || b.endsWith(A, "[]")) && (
|
|
1860
|
-
return A = co(A),
|
|
1861
|
-
!(b.isUndefined(
|
|
1859
|
+
else if (b.isArray(g) && Ui(g) || (b.isFileList(g) || b.endsWith(A, "[]")) && (v = b.toArray(g)))
|
|
1860
|
+
return A = co(A), v.forEach(function(C, x) {
|
|
1861
|
+
!(b.isUndefined(C) || C === null) && t.append(
|
|
1862
1862
|
// eslint-disable-next-line no-nested-ternary
|
|
1863
1863
|
i === !0 ? Za([A], x, r) : i === null ? A : A + "[]",
|
|
1864
|
-
l(
|
|
1864
|
+
l(C)
|
|
1865
1865
|
);
|
|
1866
1866
|
}), !1;
|
|
1867
1867
|
}
|
|
@@ -1876,14 +1876,14 @@ function Ln(e, t, n) {
|
|
|
1876
1876
|
if (!b.isUndefined(g)) {
|
|
1877
1877
|
if (h.indexOf(g) !== -1)
|
|
1878
1878
|
throw Error("Circular reference detected in " + A.join("."));
|
|
1879
|
-
h.push(g), b.forEach(g, function(
|
|
1880
|
-
(!(b.isUndefined(
|
|
1879
|
+
h.push(g), b.forEach(g, function(v, N) {
|
|
1880
|
+
(!(b.isUndefined(v) || v === null) && o.call(
|
|
1881
1881
|
t,
|
|
1882
|
-
|
|
1882
|
+
v,
|
|
1883
1883
|
b.isString(N) ? N.trim() : N,
|
|
1884
1884
|
A,
|
|
1885
1885
|
m
|
|
1886
|
-
)) === !0 && p(
|
|
1886
|
+
)) === !0 && p(v, A ? A.concat(N) : [N]);
|
|
1887
1887
|
}), h.pop();
|
|
1888
1888
|
}
|
|
1889
1889
|
}
|
|
@@ -2554,16 +2554,16 @@ const Ao = (e) => {
|
|
|
2554
2554
|
}
|
|
2555
2555
|
let w = new XMLHttpRequest();
|
|
2556
2556
|
w.open(o.method.toUpperCase(), o.url, !0), w.timeout = o.timeout;
|
|
2557
|
-
function
|
|
2557
|
+
function v() {
|
|
2558
2558
|
if (!w)
|
|
2559
2559
|
return;
|
|
2560
|
-
const
|
|
2560
|
+
const C = Se.from(
|
|
2561
2561
|
"getAllResponseHeaders" in w && w.getAllResponseHeaders()
|
|
2562
2562
|
), _ = {
|
|
2563
2563
|
data: !c || c === "text" || c === "json" ? w.responseText : w.response,
|
|
2564
2564
|
status: w.status,
|
|
2565
2565
|
statusText: w.statusText,
|
|
2566
|
-
headers:
|
|
2566
|
+
headers: C,
|
|
2567
2567
|
config: e,
|
|
2568
2568
|
request: w
|
|
2569
2569
|
};
|
|
@@ -2573,8 +2573,8 @@ const Ao = (e) => {
|
|
|
2573
2573
|
s(P), A();
|
|
2574
2574
|
}, _), w = null;
|
|
2575
2575
|
}
|
|
2576
|
-
"onloadend" in w ? w.onloadend =
|
|
2577
|
-
!w || w.readyState !== 4 || w.status === 0 && !(w.responseURL && w.responseURL.indexOf("file:") === 0) || setTimeout(
|
|
2576
|
+
"onloadend" in w ? w.onloadend = v : w.onreadystatechange = function() {
|
|
2577
|
+
!w || w.readyState !== 4 || w.status === 0 && !(w.responseURL && w.responseURL.indexOf("file:") === 0) || setTimeout(v);
|
|
2578
2578
|
}, w.onabort = function() {
|
|
2579
2579
|
w && (s(new Y("Request aborted", Y.ECONNABORTED, e, w)), w = null);
|
|
2580
2580
|
}, w.onerror = function(x) {
|
|
@@ -2591,8 +2591,8 @@ const Ao = (e) => {
|
|
|
2591
2591
|
)), w = null;
|
|
2592
2592
|
}, r === void 0 && i.setContentType(null), "setRequestHeader" in w && b.forEach(i.toJSON(), function(x, _) {
|
|
2593
2593
|
w.setRequestHeader(_, x);
|
|
2594
|
-
}), b.isUndefined(o.withCredentials) || (w.withCredentials = !!o.withCredentials), c && c !== "json" && (w.responseType = o.responseType), l && ([m, g] = _n(l, !0), w.addEventListener("progress", m)), d && w.upload && ([h, p] = _n(d), w.upload.addEventListener("progress", h), w.upload.addEventListener("loadend", p)), (o.cancelToken || o.signal) && (u = (
|
|
2595
|
-
w && (s(!
|
|
2594
|
+
}), b.isUndefined(o.withCredentials) || (w.withCredentials = !!o.withCredentials), c && c !== "json" && (w.responseType = o.responseType), l && ([m, g] = _n(l, !0), w.addEventListener("progress", m)), d && w.upload && ([h, p] = _n(d), w.upload.addEventListener("progress", h), w.upload.addEventListener("loadend", p)), (o.cancelToken || o.signal) && (u = (C) => {
|
|
2595
|
+
w && (s(!C || C.type ? new kt(null, e, w) : C), w.abort(), w = null);
|
|
2596
2596
|
}, o.cancelToken && o.cancelToken.subscribe(u), o.signal && (o.signal.aborted ? u() : o.signal.addEventListener("abort", u)));
|
|
2597
2597
|
const N = Zi(o.url);
|
|
2598
2598
|
if (N && we.protocols.indexOf(N) === -1) {
|
|
@@ -2715,9 +2715,9 @@ const Ao = (e) => {
|
|
|
2715
2715
|
};
|
|
2716
2716
|
o && ["text", "arrayBuffer", "blob", "formData", "stream"].forEach((g) => {
|
|
2717
2717
|
!h[g] && (h[g] = (A, w) => {
|
|
2718
|
-
let
|
|
2719
|
-
if (
|
|
2720
|
-
return
|
|
2718
|
+
let v = A && A[g];
|
|
2719
|
+
if (v)
|
|
2720
|
+
return v.call(A);
|
|
2721
2721
|
throw new Y(`Response type '${g}' is not supported`, Y.ERR_NOT_SUPPORT, w);
|
|
2722
2722
|
});
|
|
2723
2723
|
});
|
|
@@ -2743,9 +2743,9 @@ const Ao = (e) => {
|
|
|
2743
2743
|
let {
|
|
2744
2744
|
url: A,
|
|
2745
2745
|
method: w,
|
|
2746
|
-
data:
|
|
2746
|
+
data: v,
|
|
2747
2747
|
signal: N,
|
|
2748
|
-
cancelToken:
|
|
2748
|
+
cancelToken: C,
|
|
2749
2749
|
timeout: x,
|
|
2750
2750
|
onDownloadProgress: _,
|
|
2751
2751
|
onUploadProgress: I,
|
|
@@ -2755,24 +2755,24 @@ const Ao = (e) => {
|
|
|
2755
2755
|
fetchOptions: G
|
|
2756
2756
|
} = Ao(g), B = t || fetch;
|
|
2757
2757
|
P = P ? (P + "").toLowerCase() : "text";
|
|
2758
|
-
let ee = ic([N,
|
|
2758
|
+
let ee = ic([N, C && C.toAbortSignal()], x), le = null;
|
|
2759
2759
|
const M = ee && ee.unsubscribe && (() => {
|
|
2760
2760
|
ee.unsubscribe();
|
|
2761
2761
|
});
|
|
2762
2762
|
let U;
|
|
2763
2763
|
try {
|
|
2764
|
-
if (I && l && w !== "get" && w !== "head" && (U = await p(Q,
|
|
2764
|
+
if (I && l && w !== "get" && w !== "head" && (U = await p(Q, v)) !== 0) {
|
|
2765
2765
|
let S = new n(A, {
|
|
2766
2766
|
method: "POST",
|
|
2767
|
-
body:
|
|
2767
|
+
body: v,
|
|
2768
2768
|
duplex: "half"
|
|
2769
2769
|
}), R;
|
|
2770
|
-
if (b.isFormData(
|
|
2770
|
+
if (b.isFormData(v) && (R = S.headers.get("content-type")) && Q.setContentType(R), S.body) {
|
|
2771
2771
|
const [j, O] = ns(
|
|
2772
2772
|
U,
|
|
2773
2773
|
_n(as(I))
|
|
2774
2774
|
);
|
|
2775
|
-
|
|
2775
|
+
v = os(S.body, rs, j, O);
|
|
2776
2776
|
}
|
|
2777
2777
|
}
|
|
2778
2778
|
b.isString(W) || (W = W ? "include" : "omit");
|
|
@@ -2781,7 +2781,7 @@ const Ao = (e) => {
|
|
|
2781
2781
|
signal: ee,
|
|
2782
2782
|
method: w.toUpperCase(),
|
|
2783
2783
|
headers: Q.normalize().toJSON(),
|
|
2784
|
-
body:
|
|
2784
|
+
body: v,
|
|
2785
2785
|
duplex: "half",
|
|
2786
2786
|
credentials: E ? W : void 0
|
|
2787
2787
|
};
|
|
@@ -2917,7 +2917,7 @@ function us(e) {
|
|
|
2917
2917
|
), s.response.headers = Se.from(s.response.headers))), Promise.reject(s);
|
|
2918
2918
|
});
|
|
2919
2919
|
}
|
|
2920
|
-
const
|
|
2920
|
+
const vo = "1.13.2", qn = {};
|
|
2921
2921
|
["object", "boolean", "number", "function", "string", "symbol"].forEach((e, t) => {
|
|
2922
2922
|
qn[e] = function(s) {
|
|
2923
2923
|
return typeof s === e || "a" + (t < 1 ? "n " : " ") + e;
|
|
@@ -2926,7 +2926,7 @@ const Co = "1.13.2", qn = {};
|
|
|
2926
2926
|
const hs = {};
|
|
2927
2927
|
qn.transitional = function(t, n, s) {
|
|
2928
2928
|
function o(r, i) {
|
|
2929
|
-
return "[Axios v" +
|
|
2929
|
+
return "[Axios v" + vo + "] Transitional option '" + r + "'" + i + (s ? ". " + s : "");
|
|
2930
2930
|
}
|
|
2931
2931
|
return (r, i, c) => {
|
|
2932
2932
|
if (t === !1)
|
|
@@ -2965,7 +2965,7 @@ function pc(e, t, n) {
|
|
|
2965
2965
|
const wn = {
|
|
2966
2966
|
assertOptions: pc,
|
|
2967
2967
|
validators: qn
|
|
2968
|
-
},
|
|
2968
|
+
}, Me = wn.validators;
|
|
2969
2969
|
let ft = class {
|
|
2970
2970
|
constructor(t) {
|
|
2971
2971
|
this.defaults = t || {}, this.interceptors = {
|
|
@@ -3002,17 +3002,17 @@ let ft = class {
|
|
|
3002
3002
|
typeof t == "string" ? (n = n || {}, n.url = t) : n = t || {}, n = wt(this.defaults, n);
|
|
3003
3003
|
const { transitional: s, paramsSerializer: o, headers: r } = n;
|
|
3004
3004
|
s !== void 0 && wn.assertOptions(s, {
|
|
3005
|
-
silentJSONParsing:
|
|
3006
|
-
forcedJSONParsing:
|
|
3007
|
-
clarifyTimeoutError:
|
|
3005
|
+
silentJSONParsing: Me.transitional(Me.boolean),
|
|
3006
|
+
forcedJSONParsing: Me.transitional(Me.boolean),
|
|
3007
|
+
clarifyTimeoutError: Me.transitional(Me.boolean)
|
|
3008
3008
|
}, !1), o != null && (b.isFunction(o) ? n.paramsSerializer = {
|
|
3009
3009
|
serialize: o
|
|
3010
3010
|
} : wn.assertOptions(o, {
|
|
3011
|
-
encode:
|
|
3012
|
-
serialize:
|
|
3011
|
+
encode: Me.function,
|
|
3012
|
+
serialize: Me.function
|
|
3013
3013
|
}, !0)), n.allowAbsoluteUrls !== void 0 || (this.defaults.allowAbsoluteUrls !== void 0 ? n.allowAbsoluteUrls = this.defaults.allowAbsoluteUrls : n.allowAbsoluteUrls = !0), wn.assertOptions(n, {
|
|
3014
|
-
baseUrl:
|
|
3015
|
-
withXsrfToken:
|
|
3014
|
+
baseUrl: Me.spelling("baseURL"),
|
|
3015
|
+
withXsrfToken: Me.spelling("withXSRFToken")
|
|
3016
3016
|
}, !0), n.method = (n.method || this.defaults.method || "get").toLowerCase();
|
|
3017
3017
|
let i = r && b.merge(
|
|
3018
3018
|
r.common,
|
|
@@ -3090,7 +3090,7 @@ b.forEach(["post", "put", "patch"], function(t) {
|
|
|
3090
3090
|
}
|
|
3091
3091
|
ft.prototype[t] = n(), ft.prototype[t + "Form"] = n(!0);
|
|
3092
3092
|
});
|
|
3093
|
-
let Ac = class
|
|
3093
|
+
let Ac = class Co {
|
|
3094
3094
|
constructor(t) {
|
|
3095
3095
|
if (typeof t != "function")
|
|
3096
3096
|
throw new TypeError("executor must be a function.");
|
|
@@ -3156,7 +3156,7 @@ let Ac = class vo {
|
|
|
3156
3156
|
static source() {
|
|
3157
3157
|
let t;
|
|
3158
3158
|
return {
|
|
3159
|
-
token: new
|
|
3159
|
+
token: new Co(function(o) {
|
|
3160
3160
|
t = o;
|
|
3161
3161
|
}),
|
|
3162
3162
|
cancel: t
|
|
@@ -3256,7 +3256,7 @@ oe.Axios = ft;
|
|
|
3256
3256
|
oe.CanceledError = kt;
|
|
3257
3257
|
oe.CancelToken = Ac;
|
|
3258
3258
|
oe.isCancel = fo;
|
|
3259
|
-
oe.VERSION =
|
|
3259
|
+
oe.VERSION = vo;
|
|
3260
3260
|
oe.toFormData = Ln;
|
|
3261
3261
|
oe.AxiosError = Y;
|
|
3262
3262
|
oe.Cancel = oe.CanceledError;
|
|
@@ -3279,8 +3279,8 @@ const {
|
|
|
3279
3279
|
CancelToken: A3,
|
|
3280
3280
|
VERSION: w3,
|
|
3281
3281
|
all: y3,
|
|
3282
|
-
Cancel:
|
|
3283
|
-
isAxiosError:
|
|
3282
|
+
Cancel: v3,
|
|
3283
|
+
isAxiosError: C3,
|
|
3284
3284
|
spread: _3,
|
|
3285
3285
|
toFormData: b3,
|
|
3286
3286
|
AxiosHeaders: N3,
|
|
@@ -3399,12 +3399,12 @@ class ht {
|
|
|
3399
3399
|
imagesizes: n.getAutorInfo
|
|
3400
3400
|
}))?.data.data ?? []);
|
|
3401
3401
|
const l = Ya(c), h = (St(r)?.data ?? [])[0]?.list?.items?.map(
|
|
3402
|
-
(w) => Ya(w
|
|
3402
|
+
(w) => Ya(w)
|
|
3403
3403
|
), m = [];
|
|
3404
3404
|
h?.forEach((w) => {
|
|
3405
|
-
w && w.length > 0 && w[0].forEach((
|
|
3405
|
+
w && w.length > 0 && w[0].forEach((v) => {
|
|
3406
3406
|
const N = this.getNews({
|
|
3407
|
-
path:
|
|
3407
|
+
path: v?.replaceAll("|", "/") ?? "",
|
|
3408
3408
|
imagesizes: n.getNewsItemsRelated,
|
|
3409
3409
|
exclude: s.getNewsItemsRelated
|
|
3410
3410
|
});
|
|
@@ -3430,7 +3430,7 @@ class ht {
|
|
|
3430
3430
|
};
|
|
3431
3431
|
};
|
|
3432
3432
|
}
|
|
3433
|
-
class
|
|
3433
|
+
class vc extends ht {
|
|
3434
3434
|
getBlockSass = async (t) => {
|
|
3435
3435
|
const n = await this.props?.axiosApi.get("/config/blocks-saas", {
|
|
3436
3436
|
params: {
|
|
@@ -3524,7 +3524,7 @@ class T3 {
|
|
|
3524
3524
|
}
|
|
3525
3525
|
}
|
|
3526
3526
|
const k3 = async (e, t, n, s, o, r, i) => {
|
|
3527
|
-
const c = new
|
|
3527
|
+
const c = new vc({
|
|
3528
3528
|
config: t,
|
|
3529
3529
|
imgSizes: n,
|
|
3530
3530
|
imgSizesVideo: s,
|
|
@@ -3543,14 +3543,14 @@ const k3 = async (e, t, n, s, o, r, i) => {
|
|
|
3543
3543
|
return (() => {
|
|
3544
3544
|
const h = {};
|
|
3545
3545
|
for (let m = 0; m < l.length; m++) {
|
|
3546
|
-
const p =
|
|
3546
|
+
const p = Cr(
|
|
3547
3547
|
l[m]
|
|
3548
3548
|
), g = "Home_" + (Math.floor(m / r) + 1) + "_" + (Math.floor(m % r) + 1);
|
|
3549
3549
|
p && (h[g] = { ...p });
|
|
3550
3550
|
}
|
|
3551
3551
|
return h;
|
|
3552
3552
|
})();
|
|
3553
|
-
},
|
|
3553
|
+
}, Cc = (e) => {
|
|
3554
3554
|
const t = St(e);
|
|
3555
3555
|
return t && t.data ? t.data : t;
|
|
3556
3556
|
}, U3 = async (e) => {
|
|
@@ -3560,7 +3560,7 @@ const k3 = async (e, t, n, s, o, r, i) => {
|
|
|
3560
3560
|
for (const o in e) {
|
|
3561
3561
|
const r = e[o];
|
|
3562
3562
|
if (!r) continue;
|
|
3563
|
-
const i = r.custom_extractData ??
|
|
3563
|
+
const i = r.custom_extractData ?? Cc;
|
|
3564
3564
|
s[o] = i(t[n.indexOf(o)]);
|
|
3565
3565
|
}
|
|
3566
3566
|
return s;
|
|
@@ -3878,11 +3878,11 @@ async function R3({
|
|
|
3878
3878
|
speculationType: g = "Common",
|
|
3879
3879
|
preloadImageUrl: A,
|
|
3880
3880
|
custom_Speculation: w,
|
|
3881
|
-
custom_metadata:
|
|
3881
|
+
custom_metadata: v,
|
|
3882
3882
|
custom_scriptReplaces: N,
|
|
3883
|
-
head_custom_elements:
|
|
3883
|
+
head_custom_elements: C
|
|
3884
3884
|
}) {
|
|
3885
|
-
const x =
|
|
3885
|
+
const x = v || await _c[o]({
|
|
3886
3886
|
meta: n,
|
|
3887
3887
|
config: m,
|
|
3888
3888
|
currentNew: l,
|
|
@@ -3911,11 +3911,11 @@ async function R3({
|
|
|
3911
3911
|
{
|
|
3912
3912
|
images: [
|
|
3913
3913
|
{
|
|
3914
|
-
href:
|
|
3914
|
+
href: Cn() + (l.preview.sizes[0]?.url ?? ""),
|
|
3915
3915
|
media: "(min-width: 900px)"
|
|
3916
3916
|
},
|
|
3917
3917
|
{
|
|
3918
|
-
href:
|
|
3918
|
+
href: Cn() + (l.preview.sizes[1]?.url ?? ""),
|
|
3919
3919
|
media: "(max-width: 900px)"
|
|
3920
3920
|
}
|
|
3921
3921
|
]
|
|
@@ -3967,7 +3967,7 @@ async function R3({
|
|
|
3967
3967
|
customSpeculation: w
|
|
3968
3968
|
}
|
|
3969
3969
|
),
|
|
3970
|
-
|
|
3970
|
+
C
|
|
3971
3971
|
] });
|
|
3972
3972
|
}
|
|
3973
3973
|
const L3 = ({
|
|
@@ -4041,12 +4041,12 @@ function Tc({
|
|
|
4041
4041
|
enableDrag: r,
|
|
4042
4042
|
onIndexChange: i
|
|
4043
4043
|
}) {
|
|
4044
|
-
const [c, d] = K(!1), [l, u] = K(0), [h, m] = K(0), [p, g] = K(0), [A, w] = K(0), [
|
|
4044
|
+
const [c, d] = K(!1), [l, u] = K(0), [h, m] = K(0), [p, g] = K(0), [A, w] = K(0), [v, N] = K(null), C = Fs(null), [x, _] = K(1), I = ue(() => {
|
|
4045
4045
|
if (o) return 1;
|
|
4046
|
-
const y =
|
|
4046
|
+
const y = C.current?.offsetWidth || window.innerWidth, S = n + s, R = Math.floor(y / S);
|
|
4047
4047
|
return Math.max(1, R);
|
|
4048
4048
|
}, [o, n, s]);
|
|
4049
|
-
|
|
4049
|
+
Qe(() => {
|
|
4050
4050
|
const y = () => {
|
|
4051
4051
|
const S = I();
|
|
4052
4052
|
_(S);
|
|
@@ -4062,7 +4062,7 @@ function Tc({
|
|
|
4062
4062
|
}, [I]), G = ue(
|
|
4063
4063
|
(y, S = 0) => {
|
|
4064
4064
|
if (o) {
|
|
4065
|
-
const R =
|
|
4065
|
+
const R = C.current?.offsetWidth || window.innerWidth;
|
|
4066
4066
|
return -(y * (100 + s)) + S / R * 100;
|
|
4067
4067
|
}
|
|
4068
4068
|
return -(y * (n + s)) + S;
|
|
@@ -4070,7 +4070,7 @@ function Tc({
|
|
|
4070
4070
|
[o, n, s]
|
|
4071
4071
|
), B = ue(
|
|
4072
4072
|
(y) => {
|
|
4073
|
-
const S =
|
|
4073
|
+
const S = C.current?.offsetWidth || window.innerWidth, R = I(), j = W();
|
|
4074
4074
|
if (o)
|
|
4075
4075
|
return Math.abs(y) / S * 100 > 30 ? 1 : 0;
|
|
4076
4076
|
{
|
|
@@ -4108,7 +4108,7 @@ function Tc({
|
|
|
4108
4108
|
const F = Math.min(Q, e + V);
|
|
4109
4109
|
i(F);
|
|
4110
4110
|
}
|
|
4111
|
-
d(!1), g(0), document.body.classList.remove("dragging"), document.removeEventListener("mousemove", M), document.removeEventListener("mouseup", U), y.clientX === l &&
|
|
4111
|
+
d(!1), g(0), document.body.classList.remove("dragging"), document.removeEventListener("mousemove", M), document.removeEventListener("mouseup", U), y.clientX === l && v?.dispatchEvent(new PointerEvent("click"));
|
|
4112
4112
|
},
|
|
4113
4113
|
[
|
|
4114
4114
|
c,
|
|
@@ -4121,7 +4121,7 @@ function Tc({
|
|
|
4121
4121
|
i,
|
|
4122
4122
|
B,
|
|
4123
4123
|
M,
|
|
4124
|
-
|
|
4124
|
+
v
|
|
4125
4125
|
]
|
|
4126
4126
|
), E = ue(
|
|
4127
4127
|
(y) => {
|
|
@@ -4144,18 +4144,18 @@ function Tc({
|
|
|
4144
4144
|
},
|
|
4145
4145
|
[U]
|
|
4146
4146
|
);
|
|
4147
|
-
return
|
|
4147
|
+
return Qe(() => {
|
|
4148
4148
|
if (c)
|
|
4149
|
-
return
|
|
4150
|
-
|
|
4149
|
+
return C.current?.addEventListener("mousemove", M), C.current?.addEventListener("mouseup", U), () => {
|
|
4150
|
+
C.current?.removeEventListener(
|
|
4151
4151
|
"mousemove",
|
|
4152
4152
|
M
|
|
4153
|
-
),
|
|
4153
|
+
), C.current?.removeEventListener("mouseup", U);
|
|
4154
4154
|
};
|
|
4155
4155
|
}, [c, le, U, M]), {
|
|
4156
4156
|
isDragging: c,
|
|
4157
4157
|
translateOffset: p,
|
|
4158
|
-
carrouselRef:
|
|
4158
|
+
carrouselRef: C,
|
|
4159
4159
|
maxIndex: Q,
|
|
4160
4160
|
getTranslateValue: G,
|
|
4161
4161
|
actualVisibleItems: x,
|
|
@@ -4179,7 +4179,7 @@ function B3(e) {
|
|
|
4179
4179
|
pagination: c = !1,
|
|
4180
4180
|
enableDrag: d = !0
|
|
4181
4181
|
} = e, l = Array.isArray(t) ? t : t?.props?.value?.split('<div style="display:none;">SPLITING</div>'), [u, h] = K(0), [m, p] = K(!1);
|
|
4182
|
-
|
|
4182
|
+
Qe(() => {
|
|
4183
4183
|
p(!0);
|
|
4184
4184
|
const G = document.getElementById("ssr-dummy_" + n);
|
|
4185
4185
|
G && G.remove();
|
|
@@ -4188,9 +4188,9 @@ function B3(e) {
|
|
|
4188
4188
|
isDragging: g,
|
|
4189
4189
|
translateOffset: A,
|
|
4190
4190
|
carrouselRef: w,
|
|
4191
|
-
maxIndex:
|
|
4191
|
+
maxIndex: v,
|
|
4192
4192
|
getTranslateValue: N,
|
|
4193
|
-
actualVisibleItems:
|
|
4193
|
+
actualVisibleItems: C,
|
|
4194
4194
|
dragHandlers: x
|
|
4195
4195
|
} = Tc({
|
|
4196
4196
|
currentIndex: u,
|
|
@@ -4202,10 +4202,10 @@ function B3(e) {
|
|
|
4202
4202
|
onIndexChange: h
|
|
4203
4203
|
}), _ = ue(
|
|
4204
4204
|
(G) => {
|
|
4205
|
-
const B = Math.max(0, Math.min(G,
|
|
4205
|
+
const B = Math.max(0, Math.min(G, v));
|
|
4206
4206
|
h(B);
|
|
4207
4207
|
},
|
|
4208
|
-
[
|
|
4208
|
+
[v]
|
|
4209
4209
|
), I = ue(() => {
|
|
4210
4210
|
_(u - 1);
|
|
4211
4211
|
}, [u, _]), P = ue(() => {
|
|
@@ -4240,7 +4240,7 @@ function B3(e) {
|
|
|
4240
4240
|
)
|
|
4241
4241
|
}
|
|
4242
4242
|
),
|
|
4243
|
-
u <
|
|
4243
|
+
u < v && /* @__PURE__ */ a(
|
|
4244
4244
|
"button",
|
|
4245
4245
|
{
|
|
4246
4246
|
className: "visible-arrow right",
|
|
@@ -4274,7 +4274,8 @@ function B3(e) {
|
|
|
4274
4274
|
style: {
|
|
4275
4275
|
gap: r,
|
|
4276
4276
|
margin: r === 0 ? "0" : "0 0.5rem 1rem",
|
|
4277
|
-
cursor: d ? g ? "grabbing" : "grab" : "default"
|
|
4277
|
+
cursor: d ? g ? "grabbing" : "grab" : "default",
|
|
4278
|
+
justifyContent: "start !important"
|
|
4278
4279
|
},
|
|
4279
4280
|
...x,
|
|
4280
4281
|
children: l && l.map((G, B) => typeof G == "string" ? /* @__PURE__ */ a(
|
|
@@ -4311,14 +4312,14 @@ function B3(e) {
|
|
|
4311
4312
|
}
|
|
4312
4313
|
),
|
|
4313
4314
|
c && /* @__PURE__ */ a("nav", { className: "carrousel-pagination", children: Array.from(
|
|
4314
|
-
{ length: Math.ceil(l.length /
|
|
4315
|
+
{ length: Math.ceil(l.length / C) },
|
|
4315
4316
|
(G, B) => {
|
|
4316
|
-
const ee = Math.floor(u /
|
|
4317
|
+
const ee = Math.floor(u / C) === B;
|
|
4317
4318
|
return /* @__PURE__ */ a(
|
|
4318
4319
|
"li",
|
|
4319
4320
|
{
|
|
4320
4321
|
className: ee ? "active" : "",
|
|
4321
|
-
onClick: () => _(B *
|
|
4322
|
+
onClick: () => _(B * C),
|
|
4322
4323
|
style: {
|
|
4323
4324
|
cursor: "pointer",
|
|
4324
4325
|
backgroundColor: ee ? "var(--carrousel-pagination-background-color)" : "var(--carrousel-pagination-background-color-white)"
|
|
@@ -4344,7 +4345,7 @@ function kc({
|
|
|
4344
4345
|
"div",
|
|
4345
4346
|
{
|
|
4346
4347
|
className: "carrousel-ssr",
|
|
4347
|
-
style: { gap: n, margin: n === 0 ? "0" : "0 0.5rem 1rem" },
|
|
4348
|
+
style: { gap: n, margin: n === 0 ? "0" : "0 0.5rem 1rem", justifyContent: "start !important" },
|
|
4348
4349
|
children: e && e.map((i, c) => /* @__PURE__ */ a(
|
|
4349
4350
|
"section",
|
|
4350
4351
|
{
|
|
@@ -4573,20 +4574,20 @@ function Zc({ noteShare: e }) {
|
|
|
4573
4574
|
const Rt = (e) => {
|
|
4574
4575
|
const { share: t = !1, cutSubtitle: n = !0, keywords: s, info: o, paths: r } = e, { SHOW_TAG_BY_SECTION: i } = te(), c = () => {
|
|
4575
4576
|
if (e?.config?.showtime && e.config?.showauthor)
|
|
4576
|
-
return `${e?.authors[0]?.fullname ?? "Redacción"} - ${
|
|
4577
|
+
return `${e?.authors[0]?.fullname ?? "Redacción"} - ${Ge(
|
|
4577
4578
|
e.info?.date?.modified
|
|
4578
4579
|
)}`;
|
|
4579
4580
|
if (e.config?.showauthor)
|
|
4580
4581
|
return e?.authors[0]?.fullname ?? "Redacción";
|
|
4581
4582
|
if (e?.config?.showtime)
|
|
4582
|
-
return
|
|
4583
|
+
return Ge(e.info?.date?.modified);
|
|
4583
4584
|
}, d = () => {
|
|
4584
4585
|
const h = {
|
|
4585
4586
|
"--fontSizeSubTitle": e.fontSizeSubTitle,
|
|
4586
4587
|
"--lineHeightSubTitle": e.lineHeightSubTitle,
|
|
4587
4588
|
"--colorSubTitle": e.colorSubTitle
|
|
4588
4589
|
};
|
|
4589
|
-
return n ? /* @__PURE__ */ a("p", { className: ne.description, children:
|
|
4590
|
+
return n ? /* @__PURE__ */ a("p", { className: ne.description, children: He(e.main.subtitle.striped ?? "") }) : /* @__PURE__ */ a(
|
|
4590
4591
|
"h2",
|
|
4591
4592
|
{
|
|
4592
4593
|
className: ne.description,
|
|
@@ -4802,7 +4803,7 @@ const ul = (e) => {
|
|
|
4802
4803
|
hasShadow: s = !1,
|
|
4803
4804
|
priorityHigh: o = !1
|
|
4804
4805
|
} = e, r = No(), [i, c] = K(void 0), d = t?.sizes;
|
|
4805
|
-
return
|
|
4806
|
+
return Qe(() => {
|
|
4806
4807
|
(async () => {
|
|
4807
4808
|
d?.[0]?.url ? c(
|
|
4808
4809
|
`/api/image-proxy?url=${encodeURIComponent(d[0].url)}`
|
|
@@ -5861,25 +5862,25 @@ const ul = (e) => {
|
|
|
5861
5862
|
]
|
|
5862
5863
|
}
|
|
5863
5864
|
);
|
|
5864
|
-
}, pl = "_content_6azvz_1", Al = "_subscribeImage_6azvz_22", wl = "_tag_6azvz_32", yl = "_contentTitle_6azvz_50",
|
|
5865
|
+
}, pl = "_content_6azvz_1", Al = "_subscribeImage_6azvz_22", wl = "_tag_6azvz_32", yl = "_contentTitle_6azvz_50", vl = "_title_6azvz_55", Cl = "_inputStyled_6azvz_72", _l = "_buttonStyled_6azvz_112", bl = "_contentTerms_6azvz_123", Nl = "_subscribeText_6azvz_128", Sl = "_terms_6azvz_138", Be = {
|
|
5865
5866
|
content: pl,
|
|
5866
5867
|
subscribeImage: Al,
|
|
5867
5868
|
tag: wl,
|
|
5868
5869
|
contentTitle: yl,
|
|
5869
|
-
title:
|
|
5870
|
-
inputStyled:
|
|
5870
|
+
title: vl,
|
|
5871
|
+
inputStyled: Cl,
|
|
5871
5872
|
buttonStyled: _l,
|
|
5872
5873
|
contentTerms: bl,
|
|
5873
5874
|
subscribeText: Nl,
|
|
5874
5875
|
terms: Sl
|
|
5875
|
-
}, xl = (e) => /* @__PURE__ */ f("section", { className: [
|
|
5876
|
-
/* @__PURE__ */ a("div", { className:
|
|
5877
|
-
/* @__PURE__ */ a("div", { className:
|
|
5878
|
-
/* @__PURE__ */ f("div", { className:
|
|
5879
|
-
/* @__PURE__ */ a("p", { className:
|
|
5880
|
-
/* @__PURE__ */ a("p", { className:
|
|
5876
|
+
}, xl = (e) => /* @__PURE__ */ f("section", { className: [Be.content, e.className ?? ""].join(" "), children: [
|
|
5877
|
+
/* @__PURE__ */ a("div", { className: Be.subscribeImage, children: e.image }),
|
|
5878
|
+
/* @__PURE__ */ a("div", { className: Be.tag, children: e.texts.newsletterTag ?? "NEWS" }),
|
|
5879
|
+
/* @__PURE__ */ f("div", { className: Be.contentTitle, children: [
|
|
5880
|
+
/* @__PURE__ */ a("p", { className: Be.title, children: e.title }),
|
|
5881
|
+
/* @__PURE__ */ a("p", { className: Be.subTitle, children: e.sibtitle })
|
|
5881
5882
|
] }),
|
|
5882
|
-
/* @__PURE__ */ a("div", { className:
|
|
5883
|
+
/* @__PURE__ */ a("div", { className: Be.inputStyled, children: /* @__PURE__ */ a(
|
|
5883
5884
|
"input",
|
|
5884
5885
|
{
|
|
5885
5886
|
type: "email",
|
|
@@ -5888,13 +5889,13 @@ const ul = (e) => {
|
|
|
5888
5889
|
}
|
|
5889
5890
|
) }),
|
|
5890
5891
|
/* @__PURE__ */ a("span", { id: "newsletter-message" }),
|
|
5891
|
-
/* @__PURE__ */ a("button", { id: "newsletter-button", className:
|
|
5892
|
-
/* @__PURE__ */ f("div", { className:
|
|
5893
|
-
/* @__PURE__ */ a("p", { className:
|
|
5892
|
+
/* @__PURE__ */ a("button", { id: "newsletter-button", className: Be.buttonStyled, children: e.texts.newsletterButtonText ?? "Suscribirme" }),
|
|
5893
|
+
/* @__PURE__ */ f("div", { className: Be.contentTerms, children: [
|
|
5894
|
+
/* @__PURE__ */ a("p", { className: Be.subscribeText, children: e.texts.newsletterTermsText ?? "Suscribirte implica aceptar los" }),
|
|
5894
5895
|
/* @__PURE__ */ a(
|
|
5895
5896
|
q,
|
|
5896
5897
|
{
|
|
5897
|
-
className:
|
|
5898
|
+
className: Be.terms,
|
|
5898
5899
|
href: e.termsLink,
|
|
5899
5900
|
target: e.termsLinkTarget,
|
|
5900
5901
|
children: e.texts.newsletterTermsAnchor ?? "Términos y condiciones"
|
|
@@ -6293,14 +6294,14 @@ const ul = (e) => {
|
|
|
6293
6294
|
)
|
|
6294
6295
|
] })
|
|
6295
6296
|
] });
|
|
6296
|
-
}, gd = "_content_1xykj_1", pd = "_imageContent_1xykj_9", Ad = "_width1Autor_1xykj_18", wd = "_width2Autor_1xykj_22", yd = "_width3Autor_1xykj_26",
|
|
6297
|
+
}, gd = "_content_1xykj_1", pd = "_imageContent_1xykj_9", Ad = "_width1Autor_1xykj_18", wd = "_width2Autor_1xykj_22", yd = "_width3Autor_1xykj_26", vd = "_imageAutor_1xykj_30", Cd = "_imageStyled_1xykj_69", _d = "_contentIconStyled_1xykj_70", bd = "_avatarContent_1xykj_87", Nd = "_journalistSection_1xykj_101", Sd = "_journalistInfo_1xykj_109", xd = "_journalistInfoLink_1xykj_110", Ed = "_socialNetworkSection_1xykj_146", Id = "_avatarStyled_1xykj_158", Td = "_article_1xykj_163", kd = "_socialButton_1xykj_167", Ud = "_facebookStyled_1xykj_183", Rd = "_emailStyled_1xykj_187", Ld = "_xStyled_1xykj_191", qd = "_linkedinStyled_1xykj_195", Bd = "_whatsappStyled_1xykj_199", Od = "_whatsappLink_1xykj_203", Pd = "_clipboardButton_1xykj_219", Dd = "_googleProfileButton_1xykj_255", he = {
|
|
6297
6298
|
content: gd,
|
|
6298
6299
|
imageContent: pd,
|
|
6299
6300
|
width1Autor: Ad,
|
|
6300
6301
|
width2Autor: wd,
|
|
6301
6302
|
width3Autor: yd,
|
|
6302
|
-
imageAutor:
|
|
6303
|
-
imageStyled:
|
|
6303
|
+
imageAutor: vd,
|
|
6304
|
+
imageStyled: Cd,
|
|
6304
6305
|
contentIconStyled: _d,
|
|
6305
6306
|
avatarContent: bd,
|
|
6306
6307
|
journalistSection: Nd,
|
|
@@ -6518,7 +6519,7 @@ const Qd = "_content_r1co8_1", Gd = "_videoContent_r1co8_20", Hd = "_articleSect
|
|
|
6518
6519
|
iframeStyled: $d,
|
|
6519
6520
|
contentFrame: Wd
|
|
6520
6521
|
}, M3 = (e) => {
|
|
6521
|
-
const t = () => e?.video.main.author ? `${e?.video.main.author} - ${
|
|
6522
|
+
const t = () => e?.video.main.author ? `${e?.video.main.author} - ${Ge(
|
|
6522
6523
|
e.video.info.date.created
|
|
6523
6524
|
)}` : e?.video.main.author;
|
|
6524
6525
|
return /* @__PURE__ */ a("div", { className: Ve.content, children: /* @__PURE__ */ a(Wt, { children: /* @__PURE__ */ f("div", { className: Ve.videoContent, children: [
|
|
@@ -6549,7 +6550,7 @@ const Qd = "_content_r1co8_1", Gd = "_videoContent_r1co8_20", Hd = "_articleSect
|
|
|
6549
6550
|
}
|
|
6550
6551
|
),
|
|
6551
6552
|
/* @__PURE__ */ f("div", { className: Ve.articleSection, children: [
|
|
6552
|
-
/* @__PURE__ */ a("p", { className: Ve.article, children:
|
|
6553
|
+
/* @__PURE__ */ a("p", { className: Ve.article, children: He(e.video.main.description) }),
|
|
6553
6554
|
/* @__PURE__ */ a("p", { className: Ve.correspondent, children: t() })
|
|
6554
6555
|
] })
|
|
6555
6556
|
] }) }) });
|
|
@@ -6742,7 +6743,7 @@ const Qd = "_content_r1co8_1", Gd = "_videoContent_r1co8_20", Hd = "_articleSect
|
|
|
6742
6743
|
}, d1 = "_content_kro73_1", u1 = "_contentLayout_kro73_5", As = {
|
|
6743
6744
|
content: d1,
|
|
6744
6745
|
contentLayout: u1
|
|
6745
|
-
}, ws = (e) => /* @__PURE__ */ a("div", { className: As.content, children: /* @__PURE__ */ a(Wt, { className: `${As.contentLayout} ${e.className}`, children: e.children }) }), h1 = "_content_1nqra_1", m1 = "_before_1nqra_11", f1 = "_textContent_1nqra_22", g1 = "_title_1nqra_37", p1 = "_description_1nqra_46", A1 = "_linkStyled_1nqra_57",
|
|
6746
|
+
}, ws = (e) => /* @__PURE__ */ a("div", { className: As.content, children: /* @__PURE__ */ a(Wt, { className: `${As.contentLayout} ${e.className}`, children: e.children }) }), h1 = "_content_1nqra_1", m1 = "_before_1nqra_11", f1 = "_textContent_1nqra_22", g1 = "_title_1nqra_37", p1 = "_description_1nqra_46", A1 = "_linkStyled_1nqra_57", Ct = {
|
|
6746
6747
|
content: h1,
|
|
6747
6748
|
before: m1,
|
|
6748
6749
|
textContent: f1,
|
|
@@ -6751,20 +6752,20 @@ const Qd = "_content_r1co8_1", Gd = "_videoContent_r1co8_20", Hd = "_articleSect
|
|
|
6751
6752
|
linkStyled: A1
|
|
6752
6753
|
}, j3 = (e) => {
|
|
6753
6754
|
const t = e.logo;
|
|
6754
|
-
return /* @__PURE__ */ f("section", { className:
|
|
6755
|
-
e.backgroundImgURL && /* @__PURE__ */ a("img", { className:
|
|
6756
|
-
/* @__PURE__ */ f("div", { className: `${
|
|
6755
|
+
return /* @__PURE__ */ f("section", { className: Ct.content, children: [
|
|
6756
|
+
e.backgroundImgURL && /* @__PURE__ */ a("img", { className: Ct.before, src: e.backgroundImgURL, alt: "" }),
|
|
6757
|
+
/* @__PURE__ */ f("div", { className: `${Ct.textContent} error-text-content`, children: [
|
|
6757
6758
|
/* @__PURE__ */ a(t, {}),
|
|
6758
|
-
/* @__PURE__ */ a("p", { className:
|
|
6759
|
-
/* @__PURE__ */ a("p", { className:
|
|
6760
|
-
/* @__PURE__ */ a(q, { className:
|
|
6759
|
+
/* @__PURE__ */ a("p", { className: Ct.title, children: e.title }),
|
|
6760
|
+
/* @__PURE__ */ a("p", { className: Ct.description, children: e.description }),
|
|
6761
|
+
/* @__PURE__ */ a(q, { className: Ct.linkStyled, href: "/", children: e.buttonText ?? "Inicio" })
|
|
6761
6762
|
] })
|
|
6762
6763
|
] });
|
|
6763
|
-
}, w1 = "_content_zxcog_1", y1 = "_contentLabel_zxcog_8",
|
|
6764
|
+
}, w1 = "_content_zxcog_1", y1 = "_contentLabel_zxcog_8", v1 = "_label_zxcog_13", C1 = "_required_zxcog_22", _1 = "_input_zxcog_28", Bt = {
|
|
6764
6765
|
content: w1,
|
|
6765
6766
|
contentLabel: y1,
|
|
6766
|
-
label:
|
|
6767
|
-
required:
|
|
6767
|
+
label: v1,
|
|
6768
|
+
required: C1,
|
|
6768
6769
|
input: _1
|
|
6769
6770
|
}, Q3 = (e) => /* @__PURE__ */ f("div", { className: Bt.content, children: [
|
|
6770
6771
|
/* @__PURE__ */ f("div", { className: Bt.contentLabel, children: [
|
|
@@ -6848,7 +6849,7 @@ const Qd = "_content_r1co8_1", Gd = "_videoContent_r1co8_20", Hd = "_articleSect
|
|
|
6848
6849
|
contentText: z1,
|
|
6849
6850
|
dateLink: V1
|
|
6850
6851
|
}, F1 = (e) => /* @__PURE__ */ a("section", { className: nn.content, children: e.itemList[0]?.list.items.map((t, n) => /* @__PURE__ */ f("div", { className: nn.contentLine, children: [
|
|
6851
|
-
/* @__PURE__ */ a(q, { className: nn.dateLink, href: `#item-${n + 1}`, children:
|
|
6852
|
+
/* @__PURE__ */ a(q, { className: nn.dateLink, href: `#item-${n + 1}`, children: vr(t.date) }),
|
|
6852
6853
|
/* @__PURE__ */ a("div", { className: nn.contentText, children: (e.itemList[0]?.list.integrated, t.title) })
|
|
6853
6854
|
] }, n)) }), $1 = "_content_1gtqm_1", W1 = "_contentInfo_1gtqm_11", Y1 = "_imageContainer_1gtqm_19", K1 = "_imageStyled_1gtqm_28", J1 = "_contentIconStyled_1gtqm_39", Z1 = "_name_1gtqm_65", X1 = "_email_1gtqm_74", eu = "_description_1gtqm_90", tu = "_contenSocialNetwork_1gtqm_102", nu = "_socialIcon_1gtqm_112", au = "_faceBookIcon_1gtqm_117", su = "_socialFacebookIcon_1gtqm_122", ou = "_socialIconLink_1gtqm_126", ru = "_socialIconStroke_1gtqm_130", me = {
|
|
6854
6855
|
content: $1,
|
|
@@ -7023,9 +7024,9 @@ const Qd = "_content_r1co8_1", Gd = "_videoContent_r1co8_20", Hd = "_articleSect
|
|
|
7023
7024
|
] })
|
|
7024
7025
|
] })
|
|
7025
7026
|
] }) });
|
|
7026
|
-
},
|
|
7027
|
-
content:
|
|
7028
|
-
bannerSection:
|
|
7027
|
+
}, vu = "_content_jg6i2_1", Cu = "_bannerSection_jg6i2_25", ys = {
|
|
7028
|
+
content: vu,
|
|
7029
|
+
bannerSection: Cu
|
|
7029
7030
|
}, Ro = (e) => /* @__PURE__ */ f("section", { className: ys.content, children: [
|
|
7030
7031
|
e.children,
|
|
7031
7032
|
/* @__PURE__ */ f("div", { className: ys.bannerSection, children: [
|
|
@@ -7046,7 +7047,7 @@ const Qd = "_content_r1co8_1", Gd = "_videoContent_r1co8_20", Hd = "_articleSect
|
|
|
7046
7047
|
),
|
|
7047
7048
|
e.banner
|
|
7048
7049
|
] })
|
|
7049
|
-
] }), _u = "_content_1bw8m_1", bu = "_header_1bw8m_30", Nu = "_videos_1bw8m_56", Su = "_videoContent_1bw8m_63", xu = "_articleSection_1bw8m_70", Eu = "_contentLayoutVideoSection_1bw8m_85", Iu = "_sectionVideoList_1bw8m_93", Tu = "_iframeStyled_1bw8m_166", ku = "_contentFrame_1bw8m_172",
|
|
7050
|
+
] }), _u = "_content_1bw8m_1", bu = "_header_1bw8m_30", Nu = "_videos_1bw8m_56", Su = "_videoContent_1bw8m_63", xu = "_articleSection_1bw8m_70", Eu = "_contentLayoutVideoSection_1bw8m_85", Iu = "_sectionVideoList_1bw8m_93", Tu = "_iframeStyled_1bw8m_166", ku = "_contentFrame_1bw8m_172", Oe = {
|
|
7050
7051
|
content: _u,
|
|
7051
7052
|
header: bu,
|
|
7052
7053
|
videos: Nu,
|
|
@@ -7067,7 +7068,7 @@ const Qd = "_content_r1co8_1", Gd = "_videoContent_r1co8_20", Hd = "_articleSect
|
|
|
7067
7068
|
...e.main,
|
|
7068
7069
|
title: {
|
|
7069
7070
|
...e.main.title,
|
|
7070
|
-
article:
|
|
7071
|
+
article: He(e.main.title.article, 60)
|
|
7071
7072
|
}
|
|
7072
7073
|
}
|
|
7073
7074
|
};
|
|
@@ -7087,8 +7088,8 @@ const Qd = "_content_r1co8_1", Gd = "_videoContent_r1co8_20", Hd = "_articleSect
|
|
|
7087
7088
|
),
|
|
7088
7089
|
/* @__PURE__ */ a("div", { children: /* @__PURE__ */ a(Rt, { ...n, paths: e.paths }) })
|
|
7089
7090
|
] }) : null;
|
|
7090
|
-
}, z3 = (e) => /* @__PURE__ */ a("div", { className:
|
|
7091
|
-
/* @__PURE__ */ f("a", { className:
|
|
7091
|
+
}, z3 = (e) => /* @__PURE__ */ a("div", { className: Oe.content, children: /* @__PURE__ */ f(Wt, { className: Oe.contentLayoutVideoSection, children: [
|
|
7092
|
+
/* @__PURE__ */ f("a", { className: Oe.header, href: e.goBackLink ?? "/videos", children: [
|
|
7092
7093
|
/* @__PURE__ */ a(
|
|
7093
7094
|
"svg",
|
|
7094
7095
|
{
|
|
@@ -7110,12 +7111,12 @@ const Qd = "_content_r1co8_1", Gd = "_videoContent_r1co8_20", Hd = "_articleSect
|
|
|
7110
7111
|
),
|
|
7111
7112
|
e.titleGoBack ?? "VOLVER A VIDEOS"
|
|
7112
7113
|
] }),
|
|
7113
|
-
/* @__PURE__ */ f("div", { className:
|
|
7114
|
-
/* @__PURE__ */ f("div", { className:
|
|
7114
|
+
/* @__PURE__ */ f("div", { className: Oe.videos, children: [
|
|
7115
|
+
/* @__PURE__ */ f("div", { className: Oe.videoContent, style: e.mainVideoStyles, children: [
|
|
7115
7116
|
e.type === "vy" && /* @__PURE__ */ a(
|
|
7116
7117
|
"iframe",
|
|
7117
7118
|
{
|
|
7118
|
-
className:
|
|
7119
|
+
className: Oe.iframeStyled,
|
|
7119
7120
|
src: `https://www.youtube.com/embed/${e.video?.main?.code}`,
|
|
7120
7121
|
frameBorder: "0",
|
|
7121
7122
|
allowFullScreen: !0
|
|
@@ -7124,7 +7125,7 @@ const Qd = "_content_r1co8_1", Gd = "_videoContent_r1co8_20", Hd = "_articleSect
|
|
|
7124
7125
|
e.type === "vf" && /* @__PURE__ */ a(
|
|
7125
7126
|
"iframe",
|
|
7126
7127
|
{
|
|
7127
|
-
className:
|
|
7128
|
+
className: Oe.iframeStyled,
|
|
7128
7129
|
src: e.video?.main?.code,
|
|
7129
7130
|
frameBorder: "0",
|
|
7130
7131
|
allowFullScreen: !0,
|
|
@@ -7135,13 +7136,13 @@ const Qd = "_content_r1co8_1", Gd = "_videoContent_r1co8_20", Hd = "_articleSect
|
|
|
7135
7136
|
e.type === "ve" && /* @__PURE__ */ a(
|
|
7136
7137
|
"div",
|
|
7137
7138
|
{
|
|
7138
|
-
className:
|
|
7139
|
+
className: Oe.contentFrame,
|
|
7139
7140
|
dangerouslySetInnerHTML: {
|
|
7140
7141
|
__html: e.video?.main?.code ?? ""
|
|
7141
7142
|
}
|
|
7142
7143
|
}
|
|
7143
7144
|
),
|
|
7144
|
-
/* @__PURE__ */ a("div", { className:
|
|
7145
|
+
/* @__PURE__ */ a("div", { className: Oe.articleSection, children: /* @__PURE__ */ a(
|
|
7145
7146
|
Rt,
|
|
7146
7147
|
{
|
|
7147
7148
|
isTitle: !0,
|
|
@@ -7168,7 +7169,7 @@ const Qd = "_content_r1co8_1", Gd = "_videoContent_r1co8_20", Hd = "_articleSect
|
|
|
7168
7169
|
/* @__PURE__ */ f(
|
|
7169
7170
|
"div",
|
|
7170
7171
|
{
|
|
7171
|
-
className:
|
|
7172
|
+
className: Oe.sectionVideoList,
|
|
7172
7173
|
style: e.listVideoStyles,
|
|
7173
7174
|
children: [
|
|
7174
7175
|
e.banner && /* @__PURE__ */ a(
|
|
@@ -7178,7 +7179,7 @@ const Qd = "_content_r1co8_1", Gd = "_videoContent_r1co8_20", Hd = "_articleSect
|
|
|
7178
7179
|
name: e.banner.bannerName
|
|
7179
7180
|
}
|
|
7180
7181
|
),
|
|
7181
|
-
e.relatedName && /* @__PURE__ */ a("h2", { className: `${
|
|
7182
|
+
e.relatedName && /* @__PURE__ */ a("h2", { className: `${Oe.relatedTitle} saas-video-related-title`, children: e.relatedName }),
|
|
7182
7183
|
Array.isArray(e.videoList) && e.videoList.map((t, n) => /* @__PURE__ */ it(
|
|
7183
7184
|
qu,
|
|
7184
7185
|
{
|
|
@@ -7480,7 +7481,7 @@ const Qd = "_content_r1co8_1", Gd = "_videoContent_r1co8_20", Hd = "_articleSect
|
|
|
7480
7481
|
}
|
|
7481
7482
|
)
|
|
7482
7483
|
] });
|
|
7483
|
-
}, hh = "_content_kc9w6_1", mh = "_linkStyled_kc9w6_14", fh = "_linkSocialNetwork_kc9w6_28", gh = "_title_kc9w6_54", ph = "_tabs_kc9w6_65", Ah = "_socialNetwork_kc9w6_73", wh = "_icon_kc9w6_83", yh = "_facebook_kc9w6_89",
|
|
7484
|
+
}, hh = "_content_kc9w6_1", mh = "_linkStyled_kc9w6_14", fh = "_linkSocialNetwork_kc9w6_28", gh = "_title_kc9w6_54", ph = "_tabs_kc9w6_65", Ah = "_socialNetwork_kc9w6_73", wh = "_icon_kc9w6_83", yh = "_facebook_kc9w6_89", vh = "_youtube_kc9w6_93", Ch = "_x_kc9w6_97", _h = "_instagram_kc9w6_101", bh = "_gnews_kc9w6_105", Nh = "_tiktok_kc9w6_109", Sh = "_whatsapp_kc9w6_113", $e = {
|
|
7484
7485
|
content: hh,
|
|
7485
7486
|
linkStyled: mh,
|
|
7486
7487
|
linkSocialNetwork: fh,
|
|
@@ -7489,8 +7490,8 @@ const Qd = "_content_r1co8_1", Gd = "_videoContent_r1co8_20", Hd = "_articleSect
|
|
|
7489
7490
|
socialNetwork: Ah,
|
|
7490
7491
|
icon: wh,
|
|
7491
7492
|
facebook: yh,
|
|
7492
|
-
youtube:
|
|
7493
|
-
x:
|
|
7493
|
+
youtube: vh,
|
|
7494
|
+
x: Ch,
|
|
7494
7495
|
instagram: _h,
|
|
7495
7496
|
gnews: bh,
|
|
7496
7497
|
tiktok: Nh,
|
|
@@ -7614,7 +7615,7 @@ const Qd = "_content_r1co8_1", Gd = "_videoContent_r1co8_20", Hd = "_articleSect
|
|
|
7614
7615
|
href: t.data[0]?.info.link.url,
|
|
7615
7616
|
target: t.data[0]?.info.link.target,
|
|
7616
7617
|
title: t.data[0]?.main.title.home,
|
|
7617
|
-
children:
|
|
7618
|
+
children: He(t.data[0]?.main.title.home ?? "", 120)
|
|
7618
7619
|
}
|
|
7619
7620
|
)
|
|
7620
7621
|
] }),
|
|
@@ -7689,7 +7690,7 @@ const Qd = "_content_r1co8_1", Gd = "_videoContent_r1co8_20", Hd = "_articleSect
|
|
|
7689
7690
|
}
|
|
7690
7691
|
) }, r)) }) })
|
|
7691
7692
|
] }, s)) });
|
|
7692
|
-
}, Fh = "_headerStyled_q9qvi_1", $h = "_headerContent_q9qvi_23", Wh = "_menuButtonSection_q9qvi_33", Yh = "_menuButton_q9qvi_33", Kh = "_buttonSection_q9qvi_84", Jh = "_buttonSectionSearch_q9qvi_101", Zh = "_hasAlertZone_q9qvi_112", Xh = "_buttonText_q9qvi_131", em = "_logoContent_q9qvi_141", tm = "_logoStyled_q9qvi_149", nm = "_headLineContent_q9qvi_173", am = "_headLineTitle_q9qvi_188", sm = "_menuSection_q9qvi_204", om = "_headLine_q9qvi_173", rm = "_line_q9qvi_256",
|
|
7693
|
+
}, Fh = "_headerStyled_q9qvi_1", $h = "_headerContent_q9qvi_23", Wh = "_menuButtonSection_q9qvi_33", Yh = "_menuButton_q9qvi_33", Kh = "_buttonSection_q9qvi_84", Jh = "_buttonSectionSearch_q9qvi_101", Zh = "_hasAlertZone_q9qvi_112", Xh = "_buttonText_q9qvi_131", em = "_logoContent_q9qvi_141", tm = "_logoStyled_q9qvi_149", nm = "_headLineContent_q9qvi_173", am = "_headLineTitle_q9qvi_188", sm = "_menuSection_q9qvi_204", om = "_headLine_q9qvi_173", rm = "_line_q9qvi_256", Ce = {
|
|
7693
7694
|
headerStyled: Fh,
|
|
7694
7695
|
headerContent: $h,
|
|
7695
7696
|
menuButtonSection: Wh,
|
|
@@ -7710,7 +7711,7 @@ const Qd = "_content_r1co8_1", Gd = "_videoContent_r1co8_20", Hd = "_articleSect
|
|
|
7710
7711
|
return /* @__PURE__ */ f(
|
|
7711
7712
|
"header",
|
|
7712
7713
|
{
|
|
7713
|
-
className:
|
|
7714
|
+
className: Ce.headerStyled,
|
|
7714
7715
|
style: { top: e.cintillo || e.socialIcons && !e.headerTape?.static ? 40 : 0 },
|
|
7715
7716
|
children: [
|
|
7716
7717
|
e.socialIcons && e.headerTape?.static && /* @__PURE__ */ a(
|
|
@@ -7727,14 +7728,14 @@ const Qd = "_content_r1co8_1", Gd = "_videoContent_r1co8_20", Hd = "_articleSect
|
|
|
7727
7728
|
{
|
|
7728
7729
|
style: e.showAlertPop ? { gap: 0 } : {},
|
|
7729
7730
|
className: [
|
|
7730
|
-
|
|
7731
|
-
n?.data ?
|
|
7731
|
+
Ce.headerContent,
|
|
7732
|
+
n?.data ? Ce.hasAlertZone : ""
|
|
7732
7733
|
].join(" "),
|
|
7733
7734
|
children: [
|
|
7734
|
-
/* @__PURE__ */ a("div", { className: `${
|
|
7735
|
+
/* @__PURE__ */ a("div", { className: `${Ce.menuButtonSection} sass-header-menu-button`, children: /* @__PURE__ */ f(
|
|
7735
7736
|
qa,
|
|
7736
7737
|
{
|
|
7737
|
-
className:
|
|
7738
|
+
className: Ce.menuButton,
|
|
7738
7739
|
id: "button-app",
|
|
7739
7740
|
toggledrawerevent: "true",
|
|
7740
7741
|
"aria-label": "menu",
|
|
@@ -7742,44 +7743,44 @@ const Qd = "_content_r1co8_1", Gd = "_videoContent_r1co8_20", Hd = "_articleSect
|
|
|
7742
7743
|
title: "menu",
|
|
7743
7744
|
children: [
|
|
7744
7745
|
/* @__PURE__ */ a(Lo, { color: "var(--header-icons)", width: 27, height: 27 }),
|
|
7745
|
-
/* @__PURE__ */ a("p", { className:
|
|
7746
|
+
/* @__PURE__ */ a("p", { className: Ce.buttonText, style: { lineHeight: 0 }, children: e.menuText })
|
|
7746
7747
|
]
|
|
7747
7748
|
}
|
|
7748
7749
|
) }),
|
|
7749
|
-
/* @__PURE__ */ a("div", { className:
|
|
7750
|
+
/* @__PURE__ */ a("div", { className: Ce.logoContent, children: /* @__PURE__ */ a(q, { href: "/", "aria-label": "Home", className: "header-logo-link", children: ke.createElement(
|
|
7750
7751
|
"span",
|
|
7751
|
-
{ className: `${
|
|
7752
|
+
{ className: `${Ce.logoStyled}` },
|
|
7752
7753
|
e.icon
|
|
7753
7754
|
) }) }),
|
|
7754
|
-
/* @__PURE__ */ f("div", { className: `${
|
|
7755
|
+
/* @__PURE__ */ f("div", { className: `${Ce.buttonSection} sass-header-right-button-section`, children: [
|
|
7755
7756
|
/* @__PURE__ */ a(
|
|
7756
7757
|
q,
|
|
7757
7758
|
{
|
|
7758
7759
|
href: e.searchLink ? e.searchLink : "/buscar",
|
|
7759
|
-
className:
|
|
7760
|
+
className: Ce.buttonSectionSearch,
|
|
7760
7761
|
"aria-label": e.searchKeyWord,
|
|
7761
7762
|
children: /* @__PURE__ */ a(Oa, { width: 28, height: 28, color: "currentColor" })
|
|
7762
7763
|
}
|
|
7763
7764
|
),
|
|
7764
7765
|
e.rightZone
|
|
7765
7766
|
] }),
|
|
7766
|
-
!e.showAlertPop && n?.data ? /* @__PURE__ */ f("div", { className:
|
|
7767
|
-
/* @__PURE__ */ a("p", { className: `${
|
|
7767
|
+
!e.showAlertPop && n?.data ? /* @__PURE__ */ f("div", { className: Ce.headLineContent, children: [
|
|
7768
|
+
/* @__PURE__ */ a("p", { className: `${Ce.headLineTitle} headLineTitle`, children: n.entity.description ? `${n.entity.description}` : "" }),
|
|
7768
7769
|
/* @__PURE__ */ a(
|
|
7769
7770
|
q,
|
|
7770
7771
|
{
|
|
7771
|
-
className:
|
|
7772
|
+
className: Ce.headLine,
|
|
7772
7773
|
href: n.data[0]?.info.link.url,
|
|
7773
7774
|
target: n.data[0]?.info.link.target,
|
|
7774
7775
|
title: n.data[0]?.main.title.home,
|
|
7775
|
-
children:
|
|
7776
|
+
children: He(n.data[0]?.main.title.home ?? "", 120)
|
|
7776
7777
|
}
|
|
7777
7778
|
)
|
|
7778
|
-
] }) : /* @__PURE__ */ a("div", { className:
|
|
7779
|
+
] }) : /* @__PURE__ */ a("div", { className: Ce.line }),
|
|
7779
7780
|
/* @__PURE__ */ a(
|
|
7780
7781
|
"div",
|
|
7781
7782
|
{
|
|
7782
|
-
className:
|
|
7783
|
+
className: Ce.menuSection,
|
|
7783
7784
|
style: e.showAlertPop ? { "--showAlertPop": "0px" } : {},
|
|
7784
7785
|
children: Array.isArray(t) && /* @__PURE__ */ a(Vh, { items: t })
|
|
7785
7786
|
}
|
|
@@ -7844,24 +7845,24 @@ const Qd = "_content_r1co8_1", Gd = "_videoContent_r1co8_20", Hd = "_articleSect
|
|
|
7844
7845
|
}, pm = (e) => /* @__PURE__ */ a("section", { className: _t.content, children: Array.isArray(e.tags) && /* @__PURE__ */ f("div", { className: _t.tags, children: [
|
|
7845
7846
|
/* @__PURE__ */ a("p", { className: _t.tagStyled, children: e.title ? e.title : "Tags:" }),
|
|
7846
7847
|
e.tags.map((t, n) => t.approved ? /* @__PURE__ */ a(q, { href: At(t, e.paths), children: /* @__PURE__ */ a("div", { className: `${_t.chipStyled} ${_t.tagLink}`, children: t.name }) }, n) : /* @__PURE__ */ a("div", { className: _t.chipStyled, children: t.name }, n))
|
|
7847
|
-
] }) }), Am = "
|
|
7848
|
+
] }) }), Am = "_contentBox_1svvm_1", wm = "_content_1svvm_1", ym = "_imageStyled_1svvm_22", vm = "_contentIconStyled_1svvm_29", Cm = "_avatarContent_1svvm_49", _m = "_journalistSection_1svvm_56", bm = "_journalistInfo_1svvm_62", Nm = "_socialNetworkSection_1svvm_81", Sm = "_article_1svvm_94", je = {
|
|
7848
7849
|
contentBox: Am,
|
|
7849
7850
|
content: wm,
|
|
7850
7851
|
imageStyled: ym,
|
|
7851
|
-
contentIconStyled:
|
|
7852
|
-
avatarContent:
|
|
7852
|
+
contentIconStyled: vm,
|
|
7853
|
+
avatarContent: Cm,
|
|
7853
7854
|
journalistSection: _m,
|
|
7854
7855
|
journalistInfo: bm,
|
|
7855
7856
|
socialNetworkSection: Nm,
|
|
7856
7857
|
article: Sm
|
|
7857
7858
|
}, xm = async (e) => {
|
|
7858
7859
|
const { autor: t } = e, n = t?.addtional?.USER_SHOWBIO ?? !1, s = t?.info?.name ?? "", o = t?.info?.fullname ?? "", r = t?.info?.image?.sizes?.[0]?.url ?? "", i = t?.addtional?.USER_MIBIO ?? "", c = t?.addtional?.USER_USERFB ?? "", d = t?.addtional?.USER_USERIG ?? "", l = t?.addtional?.USER_USERTWT ?? "", u = t?.addtional?.USER_USERLIN ?? "";
|
|
7859
|
-
return n && /* @__PURE__ */ a("section", { className:
|
|
7860
|
-
/* @__PURE__ */ f("div", { className:
|
|
7860
|
+
return n && /* @__PURE__ */ a("section", { className: je.contentBox, children: /* @__PURE__ */ f("div", { className: je.content, children: [
|
|
7861
|
+
/* @__PURE__ */ f("div", { className: je.avatarContent, children: [
|
|
7861
7862
|
/* @__PURE__ */ a(
|
|
7862
7863
|
q,
|
|
7863
7864
|
{
|
|
7864
|
-
className:
|
|
7865
|
+
className: je.journalistInfo,
|
|
7865
7866
|
href: `/${e.paths.autor}/${s}`,
|
|
7866
7867
|
children: r ? /* @__PURE__ */ a(
|
|
7867
7868
|
"img",
|
|
@@ -7869,15 +7870,15 @@ const Qd = "_content_r1co8_1", Gd = "_videoContent_r1co8_20", Hd = "_articleSect
|
|
|
7869
7870
|
fetchPriority: "low",
|
|
7870
7871
|
loading: "lazy",
|
|
7871
7872
|
alt: "autor-image",
|
|
7872
|
-
className:
|
|
7873
|
+
className: je.imageStyled,
|
|
7873
7874
|
src: await pe(r)
|
|
7874
7875
|
}
|
|
7875
|
-
) : /* @__PURE__ */ a("div", { className:
|
|
7876
|
+
) : /* @__PURE__ */ a("div", { className: je.contentIconStyled, children: e.autorIcon() })
|
|
7876
7877
|
}
|
|
7877
7878
|
),
|
|
7878
|
-
/* @__PURE__ */ f("section", { className:
|
|
7879
|
-
/* @__PURE__ */ a("h3", { className:
|
|
7880
|
-
/* @__PURE__ */ f("section", { className:
|
|
7879
|
+
/* @__PURE__ */ f("section", { className: je.journalistSection, children: [
|
|
7880
|
+
/* @__PURE__ */ a("h3", { className: je.journalistInfo, children: /* @__PURE__ */ a(q, { href: `/${e.paths.autor}/${s}`, children: o }) }),
|
|
7881
|
+
/* @__PURE__ */ f("section", { className: je.socialNetworkSection, children: [
|
|
7881
7882
|
c && /* @__PURE__ */ a(
|
|
7882
7883
|
"a",
|
|
7883
7884
|
{
|
|
@@ -8038,7 +8039,7 @@ const Qd = "_content_r1co8_1", Gd = "_videoContent_r1co8_20", Hd = "_articleSect
|
|
|
8038
8039
|
n && /* @__PURE__ */ a(
|
|
8039
8040
|
"p",
|
|
8040
8041
|
{
|
|
8041
|
-
className:
|
|
8042
|
+
className: je.article,
|
|
8042
8043
|
dangerouslySetInnerHTML: {
|
|
8043
8044
|
__html: `${i} <a aria-label="${s}" href="/${e.paths.autor}/${s}">${e.texts.authorViewMore ?? "Ver más"}</a>`
|
|
8044
8045
|
}
|
|
@@ -8197,13 +8198,13 @@ const Qd = "_content_r1co8_1", Gd = "_videoContent_r1co8_20", Hd = "_articleSect
|
|
|
8197
8198
|
}, Et = (e) => {
|
|
8198
8199
|
const { SHOW_TAG_BY_SECTION: t } = te(), n = () => {
|
|
8199
8200
|
if (e?.config?.showtime && e.config?.showauthor)
|
|
8200
|
-
return `${e?.authors[0]?.fullname} - ${
|
|
8201
|
+
return `${e?.authors[0]?.fullname} - ${Ge(
|
|
8201
8202
|
e.info?.date?.modified
|
|
8202
8203
|
)}`;
|
|
8203
8204
|
if (e.config?.showauthor)
|
|
8204
8205
|
return e?.authors[0]?.fullname;
|
|
8205
8206
|
if (e?.config?.showtime)
|
|
8206
|
-
return
|
|
8207
|
+
return Ge(e.info?.date?.modified);
|
|
8207
8208
|
}, s = () => {
|
|
8208
8209
|
if (t && e.keywords?.tags?.length && e.keywords.tags.length > 0) {
|
|
8209
8210
|
const r = e.keywords.tags[0], i = r.name;
|
|
@@ -8320,7 +8321,7 @@ const Qd = "_content_r1co8_1", Gd = "_videoContent_r1co8_20", Hd = "_articleSect
|
|
|
8320
8321
|
}
|
|
8321
8322
|
)
|
|
8322
8323
|
] });
|
|
8323
|
-
},
|
|
8324
|
+
}, vs = (e) => {
|
|
8324
8325
|
const {
|
|
8325
8326
|
main: t,
|
|
8326
8327
|
authors: n,
|
|
@@ -8418,7 +8419,7 @@ const Qd = "_content_r1co8_1", Gd = "_videoContent_r1co8_20", Hd = "_articleSect
|
|
|
8418
8419
|
}
|
|
8419
8420
|
)) })
|
|
8420
8421
|
] });
|
|
8421
|
-
}, c2 = "_content_wsx1m_1", l2 = "_firstSection_wsx1m_8",
|
|
8422
|
+
}, c2 = "_content_wsx1m_1", l2 = "_firstSection_wsx1m_8", Cs = {
|
|
8422
8423
|
content: c2,
|
|
8423
8424
|
firstSection: l2
|
|
8424
8425
|
}, d2 = ({
|
|
@@ -8426,11 +8427,11 @@ const Qd = "_content_r1co8_1", Gd = "_videoContent_r1co8_20", Hd = "_articleSect
|
|
|
8426
8427
|
customLargeSection: t,
|
|
8427
8428
|
customSlimSection: n,
|
|
8428
8429
|
paths: s
|
|
8429
|
-
}) => Array.isArray(e) && e.length > 0 && /* @__PURE__ */ a("section", { className:
|
|
8430
|
+
}) => Array.isArray(e) && e.length > 0 && /* @__PURE__ */ a("section", { className: Cs.content, children: e.map((o, r) => r === 0 ? /* @__PURE__ */ a(
|
|
8430
8431
|
"div",
|
|
8431
8432
|
{
|
|
8432
8433
|
style: t,
|
|
8433
|
-
className:
|
|
8434
|
+
className: Cs.firstSection,
|
|
8434
8435
|
children: /* @__PURE__ */ a(
|
|
8435
8436
|
Et,
|
|
8436
8437
|
{
|
|
@@ -8553,9 +8554,9 @@ const Qd = "_content_r1co8_1", Gd = "_videoContent_r1co8_20", Hd = "_articleSect
|
|
|
8553
8554
|
})
|
|
8554
8555
|
] })
|
|
8555
8556
|
] });
|
|
8556
|
-
},
|
|
8557
|
-
content:
|
|
8558
|
-
autorContent:
|
|
8557
|
+
}, v2 = "_content_1stvq_1", C2 = "_autorContent_1stvq_8", _2 = "_image_1stvq_24", b2 = "_contentIcon_1stvq_25", N2 = "_boxInformationContent_1stvq_47", S2 = "_autorName_1stvq_53", x2 = "_time_1stvq_85", E2 = "_comment_1stvq_98", I2 = "_title_1stvq_107", Ye = {
|
|
8558
|
+
content: v2,
|
|
8559
|
+
autorContent: C2,
|
|
8559
8560
|
image: _2,
|
|
8560
8561
|
contentIcon: b2,
|
|
8561
8562
|
boxInformationContent: N2,
|
|
@@ -8564,7 +8565,7 @@ const Qd = "_content_r1co8_1", Gd = "_videoContent_r1co8_20", Hd = "_articleSect
|
|
|
8564
8565
|
comment: E2,
|
|
8565
8566
|
title: I2
|
|
8566
8567
|
}, yn = async (e) => {
|
|
8567
|
-
const { data: t, autorIcon: n } = e, s = n, o = () => t?.config?.showtime ? `${
|
|
8568
|
+
const { data: t, autorIcon: n } = e, s = n, o = () => t?.config?.showtime ? `${Ge(t.info?.date?.modified)}` : "", r = /* @__PURE__ */ f("div", { className: Ye.autorContent, children: [
|
|
8568
8569
|
Array.isArray(t?.authors) && Array.isArray(t?.authors[0]?.image?.sizes) && t?.authors[0]?.image?.sizes?.length > 0 ? /* @__PURE__ */ a(
|
|
8569
8570
|
"img",
|
|
8570
8571
|
{
|
|
@@ -8575,7 +8576,7 @@ const Qd = "_content_r1co8_1", Gd = "_videoContent_r1co8_20", Hd = "_articleSect
|
|
|
8575
8576
|
alt: t?.authors[0]?.fullname
|
|
8576
8577
|
}
|
|
8577
8578
|
) : /* @__PURE__ */ a("div", { className: Ye.contentIcon, children: /* @__PURE__ */ a(s, {}) }),
|
|
8578
|
-
/* @__PURE__ */ a("p", { className: Ye.autorName, children:
|
|
8579
|
+
/* @__PURE__ */ a("p", { className: Ye.autorName, children: He(t?.authors[0]?.fullname ?? "Redacción", 18) }),
|
|
8579
8580
|
/* @__PURE__ */ a("p", { className: Ye.time, children: o() })
|
|
8580
8581
|
] });
|
|
8581
8582
|
return /* @__PURE__ */ f("div", { className: Ye.content, children: [
|
|
@@ -8596,7 +8597,7 @@ const Qd = "_content_r1co8_1", Gd = "_videoContent_r1co8_20", Hd = "_articleSect
|
|
|
8596
8597
|
children: t?.main?.title?.home
|
|
8597
8598
|
}
|
|
8598
8599
|
),
|
|
8599
|
-
/* @__PURE__ */ a("p", { className: Ye.comment, children:
|
|
8600
|
+
/* @__PURE__ */ a("p", { className: Ye.comment, children: He(t?.main?.subtitle?.striped || "") })
|
|
8600
8601
|
] })
|
|
8601
8602
|
] });
|
|
8602
8603
|
}, T2 = "_content_1d7mg_1", k2 = "_boxPosition_1d7mg_8", U2 = "_contentFlex_1d7mg_21", R2 = "_bannerContent_1d7mg_29", L2 = "_bannerContentAux_1d7mg_40", bt = {
|
|
@@ -8974,7 +8975,7 @@ const $3 = (e) => {
|
|
|
8974
8975
|
children: (t ? e?.main?.title?.section : e?.info?.section?.name) ?? ""
|
|
8975
8976
|
}
|
|
8976
8977
|
),
|
|
8977
|
-
/* @__PURE__ */ a("p", { className: Dt.dateText, children:
|
|
8978
|
+
/* @__PURE__ */ a("p", { className: Dt.dateText, children: Ge(e?.info?.date?.modified) })
|
|
8978
8979
|
] })
|
|
8979
8980
|
]
|
|
8980
8981
|
}
|
|
@@ -9060,11 +9061,11 @@ const $3 = (e) => {
|
|
|
9060
9061
|
})
|
|
9061
9062
|
}
|
|
9062
9063
|
) });
|
|
9063
|
-
}, wf = "_content_1mj79_1", yf = "_imageStyled_1mj79_14",
|
|
9064
|
+
}, wf = "_content_1mj79_1", yf = "_imageStyled_1mj79_14", vf = "_contentIcon_1mj79_23", Cf = "_boxInformation_1mj79_44", _f = "_comment_1mj79_51", bf = "_title_1mj79_60", Nf = "_authorName_1mj79_81", ot = {
|
|
9064
9065
|
content: wf,
|
|
9065
9066
|
imageStyled: yf,
|
|
9066
|
-
contentIcon:
|
|
9067
|
-
boxInformation:
|
|
9067
|
+
contentIcon: vf,
|
|
9068
|
+
boxInformation: Cf,
|
|
9068
9069
|
comment: _f,
|
|
9069
9070
|
title: bf,
|
|
9070
9071
|
authorName: Nf
|
|
@@ -9095,7 +9096,7 @@ const $3 = (e) => {
|
|
|
9095
9096
|
className: ot.linkStyled,
|
|
9096
9097
|
href: t?.info?.link?.url,
|
|
9097
9098
|
target: t?.info?.link?.target,
|
|
9098
|
-
children:
|
|
9099
|
+
children: He(t?.main?.title?.home, 40)
|
|
9099
9100
|
}
|
|
9100
9101
|
) }),
|
|
9101
9102
|
/* @__PURE__ */ a("p", { className: ot.comment, children: t?.main?.subtitle?.striped })
|
|
@@ -9218,7 +9219,7 @@ const $3 = (e) => {
|
|
|
9218
9219
|
showNext: !(t.length < e.NEWS_PER_SECTION)
|
|
9219
9220
|
}
|
|
9220
9221
|
),
|
|
9221
|
-
children: Array.isArray(t) && t?.map((u, h) => /* @__PURE__ */ f(
|
|
9222
|
+
children: Array.isArray(t) && t?.map((u, h) => /* @__PURE__ */ f(vn, { children: [
|
|
9222
9223
|
d.includes(h + 1) && /* @__PURE__ */ a("div", { className: Ze.itemContent + " banner-context", children: /* @__PURE__ */ a(
|
|
9223
9224
|
ye,
|
|
9224
9225
|
{
|
|
@@ -9281,7 +9282,7 @@ const $3 = (e) => {
|
|
|
9281
9282
|
showNext: !(t.length < e.NEWS_PER_SECTION)
|
|
9282
9283
|
}
|
|
9283
9284
|
),
|
|
9284
|
-
children: Array.isArray(t) && t?.map((u, h) => /* @__PURE__ */ f(
|
|
9285
|
+
children: Array.isArray(t) && t?.map((u, h) => /* @__PURE__ */ f(vn, { children: [
|
|
9285
9286
|
d.includes(h + 1) && /* @__PURE__ */ a("div", { className: Ze.itemContent, children: /* @__PURE__ */ a(
|
|
9286
9287
|
ye,
|
|
9287
9288
|
{
|
|
@@ -9492,7 +9493,7 @@ const $3 = (e) => {
|
|
|
9492
9493
|
let l;
|
|
9493
9494
|
if (n.forEach((N) => {
|
|
9494
9495
|
Array.isArray(N) && (l = N.find(
|
|
9495
|
-
(
|
|
9496
|
+
(C) => d.replaceAll("/", "|").includes(C?.info.link.internal || "")
|
|
9496
9497
|
));
|
|
9497
9498
|
}), !l) {
|
|
9498
9499
|
r = r.replace("ck-related-news", "ck-related-news-empty");
|
|
@@ -9500,10 +9501,10 @@ const $3 = (e) => {
|
|
|
9500
9501
|
}
|
|
9501
9502
|
const u = l.preview?.sizes?.[0], h = u ? await pe(u.url) : "", m = l.info.section?.url ?? "#", p = l.info.section?.name ?? "Sección", g = l.info.link?.url ?? "#", A = l.main?.title.article ?? "Título", w = (await Promise.all(
|
|
9502
9503
|
l.preview?.sizes?.map(async (N) => {
|
|
9503
|
-
const
|
|
9504
|
-
return N.width < 200 ? `<source srcset="${
|
|
9504
|
+
const C = await pe(N.url);
|
|
9505
|
+
return N.width < 200 ? `<source srcset="${C}" media="(width < 750px)"/>` : `<source srcset="${C}" media="(width >= 750px)"/>`;
|
|
9505
9506
|
})
|
|
9506
|
-
)).reduce((N,
|
|
9507
|
+
)).reduce((N, C) => N += C, ""), v = `
|
|
9507
9508
|
<span data-src="${d}">
|
|
9508
9509
|
<picture style='display: flex'>
|
|
9509
9510
|
${w}
|
|
@@ -9515,12 +9516,12 @@ const $3 = (e) => {
|
|
|
9515
9516
|
</div>
|
|
9516
9517
|
</span>
|
|
9517
9518
|
`;
|
|
9518
|
-
r = r.replace(c,
|
|
9519
|
+
r = r.replace(c, v);
|
|
9519
9520
|
}
|
|
9520
9521
|
return r;
|
|
9521
9522
|
}, o0 = (e) => e.replace(/<p>(\s| )+<\/p>/g, ""), r0 = (e) => {
|
|
9522
9523
|
const t = /src="\/(?!\/)(.*?)"/g;
|
|
9523
|
-
return e.replace(t, `src="${
|
|
9524
|
+
return e.replace(t, `src="${Cn()}/$1"`);
|
|
9524
9525
|
}, xs = {
|
|
9525
9526
|
2: 1,
|
|
9526
9527
|
4: 2,
|
|
@@ -9553,7 +9554,7 @@ async function c0(e, t) {
|
|
|
9553
9554
|
let A = "";
|
|
9554
9555
|
const w = d.match(
|
|
9555
9556
|
/<span\b[^>]*class=["']video__title["'][^>]*>([\s\S]*?)<\/span>/i
|
|
9556
|
-
),
|
|
9557
|
+
), v = w && w[1] ? w[1].trim() : "";
|
|
9557
9558
|
g.info && g.info.type === "video-youtube" ? A = `<iframe
|
|
9558
9559
|
loading="lazy"
|
|
9559
9560
|
frameborder="0"
|
|
@@ -9569,7 +9570,7 @@ async function c0(e, t) {
|
|
|
9569
9570
|
allowfullscreen
|
|
9570
9571
|
style="width: 100%; height: auto; min-height: 400px;"
|
|
9571
9572
|
src="${g.main?.code || ""}"></iframe>` : A = g.main?.code || "";
|
|
9572
|
-
const N =
|
|
9573
|
+
const N = v || g.main?.description || "";
|
|
9573
9574
|
h = `
|
|
9574
9575
|
<figure class="videoFigure">
|
|
9575
9576
|
${p && p.data && p.data.data ? `<script type="application/ld+json">${Tn(
|
|
@@ -9616,7 +9617,7 @@ const d0 = async ({
|
|
|
9616
9617
|
}
|
|
9617
9618
|
};
|
|
9618
9619
|
});
|
|
9619
|
-
return /* @__PURE__ */ a("section", { className: Ke.content, id: "block-notes-list", children: i?.map(async (c, d) => /* @__PURE__ */ f(
|
|
9620
|
+
return /* @__PURE__ */ a("section", { className: Ke.content, id: "block-notes-list", children: i?.map(async (c, d) => /* @__PURE__ */ f(vn, { children: [
|
|
9620
9621
|
/* @__PURE__ */ a(a0, { id: `item-${d + 1}`, children: /* @__PURE__ */ f("div", { className: Ke.contentWithinCard, children: [
|
|
9621
9622
|
(await c).date > 0 && /* @__PURE__ */ f("div", { className: Ke.contentDate, children: [
|
|
9622
9623
|
/* @__PURE__ */ a(
|
|
@@ -9809,7 +9810,7 @@ const h0 = () => /* @__PURE__ */ f("svg", { xmlns: "http://www.w3.org/2000/svg",
|
|
|
9809
9810
|
noteSource: A0
|
|
9810
9811
|
}, w0 = "_summaryContent_zuvmo_1", y0 = {
|
|
9811
9812
|
summaryContent: w0
|
|
9812
|
-
},
|
|
9813
|
+
}, v0 = async ({ summary: e }) => e && e.rendered && /* @__PURE__ */ a(
|
|
9813
9814
|
"section",
|
|
9814
9815
|
{
|
|
9815
9816
|
className: `${y0.summaryContent} sass-summary-content`,
|
|
@@ -9817,7 +9818,7 @@ const h0 = () => /* @__PURE__ */ f("svg", { xmlns: "http://www.w3.org/2000/svg",
|
|
|
9817
9818
|
__html: e.rendered
|
|
9818
9819
|
}
|
|
9819
9820
|
}
|
|
9820
|
-
),
|
|
9821
|
+
), C0 = async ({
|
|
9821
9822
|
newsformated: e,
|
|
9822
9823
|
internal: t,
|
|
9823
9824
|
commonServices: n
|
|
@@ -9903,7 +9904,7 @@ function _0(e) {
|
|
|
9903
9904
|
return `
|
|
9904
9905
|
<div class="${n + " carrousel-container"}">
|
|
9905
9906
|
${r(t.length)}
|
|
9906
|
-
<div class="carrousel-ssr" style="gap:${o};margin:${o === 0 ? "0" : "0 0.5rem 1rem"};">
|
|
9907
|
+
<div class="carrousel-ssr" style="gap:${o};margin:${o === 0 ? "0" : "0 0.5rem 1rem"}; justify-content: start !important;">
|
|
9907
9908
|
${t && t.map((c) => `<section class='card' style="min-width: 100%;width:min-content;">
|
|
9908
9909
|
${c}
|
|
9909
9910
|
</section>`).join("")}
|
|
@@ -10300,25 +10301,25 @@ const hg = async (e) => {
|
|
|
10300
10301
|
const u = l[0], h = l[2] ?? "";
|
|
10301
10302
|
i.add(h);
|
|
10302
10303
|
const m = u.match(/<img\b[^>]*\balt=["']([^"']*)["']/), p = m ? m[1] : "imagen", g = h.match(/__scale=([^&"']+)/), A = g ? decodeURIComponent(g[1]) : null;
|
|
10303
|
-
let w = 0,
|
|
10304
|
+
let w = 0, v = 0;
|
|
10304
10305
|
if (A) {
|
|
10305
10306
|
const I = A.match(/w:(\d+)/), P = A.match(/h:(\d+)/);
|
|
10306
|
-
w = I ? parseInt(I[1]) : 0,
|
|
10307
|
+
w = I ? parseInt(I[1]) : 0, v = P ? parseInt(P[1]) : 0;
|
|
10307
10308
|
}
|
|
10308
|
-
const
|
|
10309
|
+
const C = {
|
|
10309
10310
|
preview: {
|
|
10310
10311
|
sizes: [
|
|
10311
10312
|
{
|
|
10312
|
-
scale: A || `w:${w},h:${
|
|
10313
|
+
scale: A || `w:${w},h:${v},t:2`,
|
|
10313
10314
|
url: h,
|
|
10314
10315
|
width: w,
|
|
10315
|
-
height:
|
|
10316
|
+
height: v
|
|
10316
10317
|
}
|
|
10317
10318
|
],
|
|
10318
10319
|
original: {
|
|
10319
10320
|
url: h.split("?")[0],
|
|
10320
10321
|
width: w,
|
|
10321
|
-
height:
|
|
10322
|
+
height: v
|
|
10322
10323
|
},
|
|
10323
10324
|
copyright: !1,
|
|
10324
10325
|
description: p,
|
|
@@ -10326,7 +10327,7 @@ const hg = async (e) => {
|
|
|
10326
10327
|
},
|
|
10327
10328
|
isLarge: !1,
|
|
10328
10329
|
priorityHigh: !1
|
|
10329
|
-
}, _ = `<div data-hydrate="ImageOffline" data-props="${encodeURIComponent(JSON.stringify(
|
|
10330
|
+
}, _ = `<div data-hydrate="ImageOffline" data-props="${encodeURIComponent(JSON.stringify(C))}"><div class="_imagePlaceholder_ooa5j_98"></div></div>`;
|
|
10330
10331
|
s = s.replace(u, _);
|
|
10331
10332
|
}
|
|
10332
10333
|
const c = /<img\b[^>]*\bsrc=["']([^"']+)["'][^>]*>/g, d = [...s.matchAll(c)];
|
|
@@ -10334,25 +10335,25 @@ const hg = async (e) => {
|
|
|
10334
10335
|
const u = l[0], h = l[1] ?? "";
|
|
10335
10336
|
if (i.has(h)) continue;
|
|
10336
10337
|
const m = u.match(/\balt=["']([^"']*)["']/), p = m ? m[1] : "imagen", g = h.match(/__scale=([^&"']+)/), A = g ? decodeURIComponent(g[1]) : null;
|
|
10337
|
-
let w = 0,
|
|
10338
|
+
let w = 0, v = 0;
|
|
10338
10339
|
if (A) {
|
|
10339
10340
|
const I = A.match(/w:(\d+)/), P = A.match(/h:(\d+)/);
|
|
10340
|
-
w = I ? parseInt(I[1]) : 0,
|
|
10341
|
+
w = I ? parseInt(I[1]) : 0, v = P ? parseInt(P[1]) : 0;
|
|
10341
10342
|
}
|
|
10342
|
-
const
|
|
10343
|
+
const C = {
|
|
10343
10344
|
preview: {
|
|
10344
10345
|
sizes: [
|
|
10345
10346
|
{
|
|
10346
|
-
scale: A || `w:${w},h:${
|
|
10347
|
+
scale: A || `w:${w},h:${v},t:2`,
|
|
10347
10348
|
url: h,
|
|
10348
10349
|
width: w,
|
|
10349
|
-
height:
|
|
10350
|
+
height: v
|
|
10350
10351
|
}
|
|
10351
10352
|
],
|
|
10352
10353
|
original: {
|
|
10353
10354
|
url: h.split("?")[0],
|
|
10354
10355
|
width: w,
|
|
10355
|
-
height:
|
|
10356
|
+
height: v
|
|
10356
10357
|
},
|
|
10357
10358
|
copyright: !1,
|
|
10358
10359
|
description: p,
|
|
@@ -10360,7 +10361,7 @@ const hg = async (e) => {
|
|
|
10360
10361
|
},
|
|
10361
10362
|
isLarge: !1,
|
|
10362
10363
|
priorityHigh: !1
|
|
10363
|
-
}, _ = `<div data-hydrate="ImageOffline" data-props="${encodeURIComponent(JSON.stringify(
|
|
10364
|
+
}, _ = `<div data-hydrate="ImageOffline" data-props="${encodeURIComponent(JSON.stringify(C))}"><div class="_imagePlaceholder_ooa5j_98"></div></div>`;
|
|
10364
10365
|
s = s.replace(u, _);
|
|
10365
10366
|
}
|
|
10366
10367
|
return s;
|
|
@@ -10413,7 +10414,7 @@ const hg = async (e) => {
|
|
|
10413
10414
|
s += p, o = l;
|
|
10414
10415
|
}
|
|
10415
10416
|
return s += e.slice(o), s;
|
|
10416
|
-
},
|
|
10417
|
+
}, vg = async (e, t, n) => {
|
|
10417
10418
|
if (!n) return e;
|
|
10418
10419
|
const s = /<span data-src="(.*?)"><\/span>/g, o = [...e.matchAll(s)];
|
|
10419
10420
|
let r = e;
|
|
@@ -10423,11 +10424,11 @@ const hg = async (e) => {
|
|
|
10423
10424
|
);
|
|
10424
10425
|
if (!l || !l[0]) continue;
|
|
10425
10426
|
const u = l[0].preview?.sizes?.[0], h = u ? await pe(u.url) : "", m = l[0].info.section?.url ?? "#", p = l[0].info.section?.name ?? "Sección", g = l[0].info.link?.url ?? "#", A = l[0].main?.title.article ?? "Título", w = (await Promise.all(
|
|
10426
|
-
l[0].preview?.sizes?.map(async (N,
|
|
10427
|
+
l[0].preview?.sizes?.map(async (N, C) => {
|
|
10427
10428
|
const x = await pe(N.url);
|
|
10428
|
-
return
|
|
10429
|
+
return C === 0 ? `<source srcset="${x}" media="(width >= 900px)"/>` : `<source srcset="${x}" media="(width < 900px)"/>`;
|
|
10429
10430
|
})
|
|
10430
|
-
)).reduce((N,
|
|
10431
|
+
)).reduce((N, C) => N += C, ""), v = `
|
|
10431
10432
|
<span data-src="${d}">
|
|
10432
10433
|
<picture style='display: flex'>
|
|
10433
10434
|
${w}
|
|
@@ -10439,11 +10440,11 @@ const hg = async (e) => {
|
|
|
10439
10440
|
</div>
|
|
10440
10441
|
</span>
|
|
10441
10442
|
`;
|
|
10442
|
-
r = r.replace(c,
|
|
10443
|
+
r = r.replace(c, v);
|
|
10443
10444
|
}
|
|
10444
10445
|
return r;
|
|
10445
10446
|
};
|
|
10446
|
-
async function
|
|
10447
|
+
async function Cg(e, t) {
|
|
10447
10448
|
let n = "", s = 0;
|
|
10448
10449
|
const o = /<div\b[^>]*\bclass=(["'])(?:(?!\1).)*\bck-video-player\b(?:(?!\1).)*\1[^>]*>/gi;
|
|
10449
10450
|
let r;
|
|
@@ -10453,22 +10454,22 @@ async function vg(e, t) {
|
|
|
10453
10454
|
let d = 1, l = c;
|
|
10454
10455
|
const u = e.length;
|
|
10455
10456
|
for (; l < u && d > 0; ) {
|
|
10456
|
-
const
|
|
10457
|
+
const v = e.indexOf("<div", l), N = e.indexOf("</div>", l);
|
|
10457
10458
|
if (N === -1) {
|
|
10458
10459
|
l = u;
|
|
10459
10460
|
break;
|
|
10460
10461
|
}
|
|
10461
|
-
|
|
10462
|
+
v !== -1 && v < N ? (d += 1, l = v + 4) : (d -= 1, l = N + 6);
|
|
10462
10463
|
}
|
|
10463
10464
|
const h = l, m = e.slice(i, h);
|
|
10464
10465
|
let p = null;
|
|
10465
10466
|
const g = /<span\b([^>]*)>/gi;
|
|
10466
10467
|
let A;
|
|
10467
10468
|
for (; (A = g.exec(m)) !== null; ) {
|
|
10468
|
-
const
|
|
10469
|
-
if (!
|
|
10470
|
-
if (/data-type\s*=\s*["']?video["']?/i.test(
|
|
10471
|
-
const N =
|
|
10469
|
+
const v = A[1];
|
|
10470
|
+
if (!v) break;
|
|
10471
|
+
if (/data-type\s*=\s*["']?video["']?/i.test(v)) {
|
|
10472
|
+
const N = v.match(/data-src\s*=\s*["']([^"']+)["']/i);
|
|
10472
10473
|
if (N) {
|
|
10473
10474
|
p = N[1] ?? "";
|
|
10474
10475
|
break;
|
|
@@ -10476,40 +10477,40 @@ async function vg(e, t) {
|
|
|
10476
10477
|
}
|
|
10477
10478
|
}
|
|
10478
10479
|
if (!p) {
|
|
10479
|
-
const
|
|
10480
|
+
const v = m.match(
|
|
10480
10481
|
/<span\b[^>]*data-src=["'][^"']+["'][^>]*>/i
|
|
10481
10482
|
);
|
|
10482
|
-
if (
|
|
10483
|
-
const N =
|
|
10483
|
+
if (v) {
|
|
10484
|
+
const N = v[0].match(/data-src\s*=\s*["']([^"']+)["']/i);
|
|
10484
10485
|
N && (p = N[1] ?? "");
|
|
10485
10486
|
}
|
|
10486
10487
|
}
|
|
10487
10488
|
let w = "";
|
|
10488
10489
|
if (p)
|
|
10489
10490
|
try {
|
|
10490
|
-
const
|
|
10491
|
-
if (
|
|
10492
|
-
const
|
|
10491
|
+
const v = await t.iframe({ path: p }), N = t.schema ? await t.schema(p) : null;
|
|
10492
|
+
if (v && v.data) {
|
|
10493
|
+
const C = v.data.data[0];
|
|
10493
10494
|
let x = "";
|
|
10494
10495
|
const _ = m.match(
|
|
10495
10496
|
/<span\b[^>]*class=["']video__title["'][^>]*>([\s\S]*?)<\/span>/i
|
|
10496
10497
|
), I = _ && _[1] ? _[1].trim() : "";
|
|
10497
|
-
|
|
10498
|
+
C.info && C.info.type === "video-youtube" ? x = `<iframe
|
|
10498
10499
|
loading="lazy"
|
|
10499
10500
|
frameborder="0"
|
|
10500
10501
|
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"
|
|
10501
10502
|
referrerpolicy="strict-origin-when-cross-origin"
|
|
10502
10503
|
allowfullscreen
|
|
10503
10504
|
style="position: relative!important;"
|
|
10504
|
-
src="https://www.youtube.com/embed/${
|
|
10505
|
+
src="https://www.youtube.com/embed/${C.main?.code || C.main?.youtubeid || ""}"></iframe>` : C.info && C.info.type === "video-link" ? x = `<iframe
|
|
10505
10506
|
loading="lazy"
|
|
10506
10507
|
frameborder="0"
|
|
10507
10508
|
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"
|
|
10508
10509
|
referrerpolicy="strict-origin-when-cross-origin"
|
|
10509
10510
|
allowfullscreen
|
|
10510
10511
|
style="position: relative!important;"
|
|
10511
|
-
src="${
|
|
10512
|
-
const P = I ||
|
|
10512
|
+
src="${C.main?.code || ""}"></iframe>` : x = C.main?.code || "";
|
|
10513
|
+
const P = I || C.main?.description || "";
|
|
10513
10514
|
w = `
|
|
10514
10515
|
<figure class="videoFigure">
|
|
10515
10516
|
${N && N.data && N.data.data ? `<script type="application/ld+json">${Tn(
|
|
@@ -10520,8 +10521,8 @@ async function vg(e, t) {
|
|
|
10520
10521
|
</figure>
|
|
10521
10522
|
`;
|
|
10522
10523
|
}
|
|
10523
|
-
} catch (
|
|
10524
|
-
console.error("insertVideos error for", p,
|
|
10524
|
+
} catch (v) {
|
|
10525
|
+
console.error("insertVideos error for", p, v), w = "";
|
|
10525
10526
|
}
|
|
10526
10527
|
else
|
|
10527
10528
|
w = m;
|
|
@@ -10542,15 +10543,15 @@ async function _g(e) {
|
|
|
10542
10543
|
commonServices: l
|
|
10543
10544
|
} = e;
|
|
10544
10545
|
let u = t?.body?.rendered ?? "";
|
|
10545
|
-
u = u.replace(/ /g, ""), u = wg(u, n), u = yg(u), u = await Ag(u), u = await
|
|
10546
|
+
u = u.replace(/ /g, ""), u = wg(u, n), u = yg(u), u = await Ag(u), u = await vg(
|
|
10546
10547
|
u,
|
|
10547
10548
|
e.texts,
|
|
10548
10549
|
s
|
|
10549
|
-
), u = await
|
|
10550
|
+
), u = await Cg(u, d), u = fg(u), u = gg(u);
|
|
10550
10551
|
const h = t.main.sources ?? [], { NEWS_JOURNALIST_COMPONENT: m } = te(), p = t.config.articlepreview === pt.fotoGaleria && t.hascontent?.hasgalleryimages;
|
|
10551
10552
|
return /* @__PURE__ */ f("div", { className: rn.content, children: [
|
|
10552
10553
|
r !== "liveblogs" && e.showHeaderImage ? p ? /* @__PURE__ */ a(
|
|
10553
|
-
|
|
10554
|
+
C0,
|
|
10554
10555
|
{
|
|
10555
10556
|
commonServices: l,
|
|
10556
10557
|
newsformated: t,
|
|
@@ -10579,7 +10580,7 @@ async function _g(e) {
|
|
|
10579
10580
|
paths: e.paths
|
|
10580
10581
|
}
|
|
10581
10582
|
) }),
|
|
10582
|
-
/* @__PURE__ */ a(
|
|
10583
|
+
/* @__PURE__ */ a(v0, { summary: t.main.summary }),
|
|
10583
10584
|
/* @__PURE__ */ a(
|
|
10584
10585
|
"div",
|
|
10585
10586
|
{
|
|
@@ -10770,7 +10771,7 @@ const Ts = {
|
|
|
10770
10771
|
if (!e?.data || e.data.length === 0) return;
|
|
10771
10772
|
const t = e.data.slice(1);
|
|
10772
10773
|
return /* @__PURE__ */ a(
|
|
10773
|
-
|
|
10774
|
+
vs,
|
|
10774
10775
|
{
|
|
10775
10776
|
...e.data[0],
|
|
10776
10777
|
itemReverseOrder: !0,
|
|
@@ -10789,7 +10790,7 @@ const Ts = {
|
|
|
10789
10790
|
if (!e?.data || e.data.length === 0) return;
|
|
10790
10791
|
const t = e.data.slice(1);
|
|
10791
10792
|
return /* @__PURE__ */ a(
|
|
10792
|
-
|
|
10793
|
+
vs,
|
|
10793
10794
|
{
|
|
10794
10795
|
...e.data[0],
|
|
10795
10796
|
itemReverseOrder: !0,
|
|
@@ -11209,7 +11210,7 @@ const Ts = {
|
|
|
11209
11210
|
showNext: !(t.length < e.newsListLimit)
|
|
11210
11211
|
}
|
|
11211
11212
|
),
|
|
11212
|
-
children: Array.isArray(t) && t?.map((p, g) => /* @__PURE__ */ f(
|
|
11213
|
+
children: Array.isArray(t) && t?.map((p, g) => /* @__PURE__ */ f(vn, { children: [
|
|
11213
11214
|
h.includes(g + 1) && /* @__PURE__ */ a(
|
|
11214
11215
|
"div",
|
|
11215
11216
|
{
|
|
@@ -11414,7 +11415,7 @@ const Ts = {
|
|
|
11414
11415
|
}
|
|
11415
11416
|
);
|
|
11416
11417
|
}, gp = (e) => {
|
|
11417
|
-
const t = () => e?.video.main.author ? `${e?.video.main.author} - ${
|
|
11418
|
+
const t = () => e?.video.main.author ? `${e?.video.main.author} - ${Ge(
|
|
11418
11419
|
e.video.info.date.created
|
|
11419
11420
|
)}` : e?.video.main.author;
|
|
11420
11421
|
return /* @__PURE__ */ a("div", { className: ut.content, children: /* @__PURE__ */ a(Wt, { className: ut.contentLatout, children: /* @__PURE__ */ a(Ae, { title: "Videos", isTitle: !0, children: /* @__PURE__ */ f("div", { className: ut.videoContent, children: [
|
|
@@ -11429,7 +11430,7 @@ const Ts = {
|
|
|
11429
11430
|
children: e.video.main.title
|
|
11430
11431
|
}
|
|
11431
11432
|
),
|
|
11432
|
-
/* @__PURE__ */ a("p", { className: ut.article, children:
|
|
11433
|
+
/* @__PURE__ */ a("p", { className: ut.article, children: He(e.video.main.description) }),
|
|
11433
11434
|
/* @__PURE__ */ a("p", { className: ut.correspondent, children: t() })
|
|
11434
11435
|
] })
|
|
11435
11436
|
] }) }) }) });
|
|
@@ -11444,7 +11445,7 @@ const Ts = {
|
|
|
11444
11445
|
}
|
|
11445
11446
|
};
|
|
11446
11447
|
function r6({ containerId: e, containerId2: t }) {
|
|
11447
|
-
return
|
|
11448
|
+
return Qe(() => {
|
|
11448
11449
|
try {
|
|
11449
11450
|
let n = function() {
|
|
11450
11451
|
const u = window.twttr;
|
|
@@ -11638,13 +11639,13 @@ const pp = (e) => {
|
|
|
11638
11639
|
const {
|
|
11639
11640
|
PUBLIC_API_FRONT: A,
|
|
11640
11641
|
PUBLIC_X_SECURITY_TOKEN: w,
|
|
11641
|
-
PUBLIC_API_PATH_VERSION:
|
|
11642
|
+
PUBLIC_API_PATH_VERSION: v,
|
|
11642
11643
|
PUBLIC_PUBLICATION_ID: N
|
|
11643
11644
|
} = r;
|
|
11644
|
-
if (!A || !w || !N || !
|
|
11645
|
+
if (!A || !w || !N || !v)
|
|
11645
11646
|
throw new Error("Missing required environment variables");
|
|
11646
|
-
const
|
|
11647
|
-
`${A}${
|
|
11647
|
+
const C = await oe.get(
|
|
11648
|
+
`${A}${v}/news-list-section`,
|
|
11648
11649
|
{
|
|
11649
11650
|
params: {
|
|
11650
11651
|
size: 7,
|
|
@@ -11660,8 +11661,8 @@ const pp = (e) => {
|
|
|
11660
11661
|
}
|
|
11661
11662
|
);
|
|
11662
11663
|
return {
|
|
11663
|
-
...
|
|
11664
|
-
data:
|
|
11664
|
+
...C.data,
|
|
11665
|
+
data: C.data.data.filter(
|
|
11665
11666
|
(x) => x.info.link.internal !== t.info.link.internal
|
|
11666
11667
|
)
|
|
11667
11668
|
};
|
|
@@ -11685,10 +11686,10 @@ const pp = (e) => {
|
|
|
11685
11686
|
m,
|
|
11686
11687
|
p
|
|
11687
11688
|
]);
|
|
11688
|
-
return
|
|
11689
|
+
return Qe(() => {
|
|
11689
11690
|
s && g();
|
|
11690
11691
|
}, [s, g]), !d?.data || d.data.length === 0 ? null : /* @__PURE__ */ a(
|
|
11691
|
-
|
|
11692
|
+
vp,
|
|
11692
11693
|
{
|
|
11693
11694
|
news: d.data,
|
|
11694
11695
|
title: "Más Noticias",
|
|
@@ -11702,7 +11703,7 @@ const pp = (e) => {
|
|
|
11702
11703
|
isVisible: s
|
|
11703
11704
|
}
|
|
11704
11705
|
);
|
|
11705
|
-
},
|
|
11706
|
+
}, vp = (e) => {
|
|
11706
11707
|
const { news: t, hasLines: n = !1, API_ENV: s } = e, o = (r) => n && (r + 1) % 3 !== 0 ? ma.contentSeparator : "";
|
|
11707
11708
|
return /* @__PURE__ */ a(
|
|
11708
11709
|
"div",
|
|
@@ -11753,7 +11754,7 @@ const pp = (e) => {
|
|
|
11753
11754
|
}
|
|
11754
11755
|
),
|
|
11755
11756
|
/* @__PURE__ */ a("div", { className: Gt.newsDescription, children: /* @__PURE__ */ a(
|
|
11756
|
-
|
|
11757
|
+
Cp,
|
|
11757
11758
|
{
|
|
11758
11759
|
main: c,
|
|
11759
11760
|
SHOW_TAG_BY_SECTION: s.SHOW_TAG_BY_SECTION,
|
|
@@ -11777,10 +11778,10 @@ const pp = (e) => {
|
|
|
11777
11778
|
})
|
|
11778
11779
|
}
|
|
11779
11780
|
);
|
|
11780
|
-
},
|
|
11781
|
+
}, Cp = (e) => {
|
|
11781
11782
|
const { share: t = !1, cutSubtitle: n = !0, SHOW_TAG_BY_SECTION: s, keywords: o, info: r } = e, c = (() => {
|
|
11782
11783
|
if (!e?.authors || e.authors.length === 0) return "";
|
|
11783
|
-
const u = e.authors[0], h =
|
|
11784
|
+
const u = e.authors[0], h = Ge(e.info?.date?.modified, e.DATE_CONFIG);
|
|
11784
11785
|
return u && e?.config?.showtime && e.config?.showauthor ? `${u.fullname} - ${h}` : u && e.config?.showauthor ? u.fullname : e?.config?.showtime ? h : "";
|
|
11785
11786
|
})(), d = () => e.main.uppertitle ? /* @__PURE__ */ a("p", { className: ne.uppertitle, title: e.main.uppertitle, children: e.main.uppertitle }) : null, l = () => {
|
|
11786
11787
|
if (s && o?.tags?.length && o.tags.length > 0) {
|
|
@@ -11839,7 +11840,7 @@ const pp = (e) => {
|
|
|
11839
11840
|
"--lineHeightSubTitle": e.lineHeightSubTitle,
|
|
11840
11841
|
"--colorSubTitle": e.colorSubTitle
|
|
11841
11842
|
},
|
|
11842
|
-
children: n ?
|
|
11843
|
+
children: n ? He(e.main.subtitle.striped) : e.main.subtitle.striped
|
|
11843
11844
|
}
|
|
11844
11845
|
),
|
|
11845
11846
|
(e?.config?.showtime || e.config?.showauthor) && c && /* @__PURE__ */ a(J, { children: e.authors?.[0]?.internaluser ? /* @__PURE__ */ a(
|
|
@@ -12005,7 +12006,7 @@ const Je = {
|
|
|
12005
12006
|
function c6(e) {
|
|
12006
12007
|
return Je[e];
|
|
12007
12008
|
}
|
|
12008
|
-
const
|
|
12009
|
+
const vt = 300, Xe = {
|
|
12009
12010
|
username: "anonimo",
|
|
12010
12011
|
firstname: "Usuario",
|
|
12011
12012
|
lastname: "Anonimo"
|
|
@@ -12018,7 +12019,7 @@ function Qp(e) {
|
|
|
12018
12019
|
}
|
|
12019
12020
|
const Da = (e, t, n) => {
|
|
12020
12021
|
if (!e || !e.current) return { boolean: !1, text: "" };
|
|
12021
|
-
const s = e.current?.value || "", o = s.length >
|
|
12022
|
+
const s = e.current?.value || "", o = s.length > vt, { PUBLIC_ENV: r } = n, i = r === "local", c = s.trim() !== "" && (i || t !== "") && !o, d = o ? `No debes exceder el limite de ${vt} caracteres.` : "Debes completar todos los campos para comentar.";
|
|
12022
12023
|
return { boolean: c, text: d };
|
|
12023
12024
|
}, jo = (e) => {
|
|
12024
12025
|
const t = e.cookie.split("; ").find((n) => n.startsWith("reported="));
|
|
@@ -12050,8 +12051,8 @@ var qs;
|
|
|
12050
12051
|
function zp() {
|
|
12051
12052
|
if (qs) return ae;
|
|
12052
12053
|
qs = 1;
|
|
12053
|
-
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, s = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, r = e ? Symbol.for("react.profiler") : 60114, i = e ? Symbol.for("react.provider") : 60109, c = e ? Symbol.for("react.context") : 60110, d = e ? Symbol.for("react.async_mode") : 60111, l = e ? Symbol.for("react.concurrent_mode") : 60111, u = e ? Symbol.for("react.forward_ref") : 60112, h = e ? Symbol.for("react.suspense") : 60113, m = e ? Symbol.for("react.suspense_list") : 60120, p = e ? Symbol.for("react.memo") : 60115, g = e ? Symbol.for("react.lazy") : 60116, A = e ? Symbol.for("react.block") : 60121, w = e ? Symbol.for("react.fundamental") : 60117,
|
|
12054
|
-
function
|
|
12054
|
+
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, s = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, r = e ? Symbol.for("react.profiler") : 60114, i = e ? Symbol.for("react.provider") : 60109, c = e ? Symbol.for("react.context") : 60110, d = e ? Symbol.for("react.async_mode") : 60111, l = e ? Symbol.for("react.concurrent_mode") : 60111, u = e ? Symbol.for("react.forward_ref") : 60112, h = e ? Symbol.for("react.suspense") : 60113, m = e ? Symbol.for("react.suspense_list") : 60120, p = e ? Symbol.for("react.memo") : 60115, g = e ? Symbol.for("react.lazy") : 60116, A = e ? Symbol.for("react.block") : 60121, w = e ? Symbol.for("react.fundamental") : 60117, v = e ? Symbol.for("react.responder") : 60118, N = e ? Symbol.for("react.scope") : 60119;
|
|
12055
|
+
function C(_) {
|
|
12055
12056
|
if (typeof _ == "object" && _ !== null) {
|
|
12056
12057
|
var I = _.$$typeof;
|
|
12057
12058
|
switch (I) {
|
|
@@ -12082,49 +12083,49 @@ function zp() {
|
|
|
12082
12083
|
}
|
|
12083
12084
|
}
|
|
12084
12085
|
function x(_) {
|
|
12085
|
-
return
|
|
12086
|
+
return C(_) === l;
|
|
12086
12087
|
}
|
|
12087
12088
|
return ae.AsyncMode = d, ae.ConcurrentMode = l, ae.ContextConsumer = c, ae.ContextProvider = i, ae.Element = t, ae.ForwardRef = u, ae.Fragment = s, ae.Lazy = g, ae.Memo = p, ae.Portal = n, ae.Profiler = r, ae.StrictMode = o, ae.Suspense = h, ae.isAsyncMode = function(_) {
|
|
12088
|
-
return x(_) ||
|
|
12089
|
+
return x(_) || C(_) === d;
|
|
12089
12090
|
}, ae.isConcurrentMode = x, ae.isContextConsumer = function(_) {
|
|
12090
|
-
return
|
|
12091
|
+
return C(_) === c;
|
|
12091
12092
|
}, ae.isContextProvider = function(_) {
|
|
12092
|
-
return
|
|
12093
|
+
return C(_) === i;
|
|
12093
12094
|
}, ae.isElement = function(_) {
|
|
12094
12095
|
return typeof _ == "object" && _ !== null && _.$$typeof === t;
|
|
12095
12096
|
}, ae.isForwardRef = function(_) {
|
|
12096
|
-
return
|
|
12097
|
+
return C(_) === u;
|
|
12097
12098
|
}, ae.isFragment = function(_) {
|
|
12098
|
-
return
|
|
12099
|
+
return C(_) === s;
|
|
12099
12100
|
}, ae.isLazy = function(_) {
|
|
12100
|
-
return
|
|
12101
|
+
return C(_) === g;
|
|
12101
12102
|
}, ae.isMemo = function(_) {
|
|
12102
|
-
return
|
|
12103
|
+
return C(_) === p;
|
|
12103
12104
|
}, ae.isPortal = function(_) {
|
|
12104
|
-
return
|
|
12105
|
+
return C(_) === n;
|
|
12105
12106
|
}, ae.isProfiler = function(_) {
|
|
12106
|
-
return
|
|
12107
|
+
return C(_) === r;
|
|
12107
12108
|
}, ae.isStrictMode = function(_) {
|
|
12108
|
-
return
|
|
12109
|
+
return C(_) === o;
|
|
12109
12110
|
}, ae.isSuspense = function(_) {
|
|
12110
|
-
return
|
|
12111
|
+
return C(_) === h;
|
|
12111
12112
|
}, ae.isValidElementType = function(_) {
|
|
12112
|
-
return typeof _ == "string" || typeof _ == "function" || _ === s || _ === l || _ === r || _ === o || _ === h || _ === m || typeof _ == "object" && _ !== null && (_.$$typeof === g || _.$$typeof === p || _.$$typeof === i || _.$$typeof === c || _.$$typeof === u || _.$$typeof === w || _.$$typeof ===
|
|
12113
|
-
}, ae.typeOf =
|
|
12113
|
+
return typeof _ == "string" || typeof _ == "function" || _ === s || _ === l || _ === r || _ === o || _ === h || _ === m || typeof _ == "object" && _ !== null && (_.$$typeof === g || _.$$typeof === p || _.$$typeof === i || _.$$typeof === c || _.$$typeof === u || _.$$typeof === w || _.$$typeof === v || _.$$typeof === N || _.$$typeof === A);
|
|
12114
|
+
}, ae.typeOf = C, ae;
|
|
12114
12115
|
}
|
|
12115
12116
|
var se = {};
|
|
12116
12117
|
var Bs;
|
|
12117
12118
|
function Vp() {
|
|
12118
12119
|
return Bs || (Bs = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
12119
|
-
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, s = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, r = e ? Symbol.for("react.profiler") : 60114, i = e ? Symbol.for("react.provider") : 60109, c = e ? Symbol.for("react.context") : 60110, d = e ? Symbol.for("react.async_mode") : 60111, l = e ? Symbol.for("react.concurrent_mode") : 60111, u = e ? Symbol.for("react.forward_ref") : 60112, h = e ? Symbol.for("react.suspense") : 60113, m = e ? Symbol.for("react.suspense_list") : 60120, p = e ? Symbol.for("react.memo") : 60115, g = e ? Symbol.for("react.lazy") : 60116, A = e ? Symbol.for("react.block") : 60121, w = e ? Symbol.for("react.fundamental") : 60117,
|
|
12120
|
-
function
|
|
12120
|
+
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, s = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, r = e ? Symbol.for("react.profiler") : 60114, i = e ? Symbol.for("react.provider") : 60109, c = e ? Symbol.for("react.context") : 60110, d = e ? Symbol.for("react.async_mode") : 60111, l = e ? Symbol.for("react.concurrent_mode") : 60111, u = e ? Symbol.for("react.forward_ref") : 60112, h = e ? Symbol.for("react.suspense") : 60113, m = e ? Symbol.for("react.suspense_list") : 60120, p = e ? Symbol.for("react.memo") : 60115, g = e ? Symbol.for("react.lazy") : 60116, A = e ? Symbol.for("react.block") : 60121, w = e ? Symbol.for("react.fundamental") : 60117, v = e ? Symbol.for("react.responder") : 60118, N = e ? Symbol.for("react.scope") : 60119;
|
|
12121
|
+
function C(L) {
|
|
12121
12122
|
return typeof L == "string" || typeof L == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
12122
|
-
L === s || L === l || L === r || L === o || L === h || L === m || typeof L == "object" && L !== null && (L.$$typeof === g || L.$$typeof === p || L.$$typeof === i || L.$$typeof === c || L.$$typeof === u || L.$$typeof === w || L.$$typeof ===
|
|
12123
|
+
L === s || L === l || L === r || L === o || L === h || L === m || typeof L == "object" && L !== null && (L.$$typeof === g || L.$$typeof === p || L.$$typeof === i || L.$$typeof === c || L.$$typeof === u || L.$$typeof === w || L.$$typeof === v || L.$$typeof === N || L.$$typeof === A);
|
|
12123
12124
|
}
|
|
12124
12125
|
function x(L) {
|
|
12125
12126
|
if (typeof L == "object" && L !== null) {
|
|
12126
|
-
var
|
|
12127
|
-
switch (
|
|
12127
|
+
var ve = L.$$typeof;
|
|
12128
|
+
switch (ve) {
|
|
12128
12129
|
case t:
|
|
12129
12130
|
var Yt = L.type;
|
|
12130
12131
|
switch (Yt) {
|
|
@@ -12145,11 +12146,11 @@ function Vp() {
|
|
|
12145
12146
|
case i:
|
|
12146
12147
|
return Ga;
|
|
12147
12148
|
default:
|
|
12148
|
-
return
|
|
12149
|
+
return ve;
|
|
12149
12150
|
}
|
|
12150
12151
|
}
|
|
12151
12152
|
case n:
|
|
12152
|
-
return
|
|
12153
|
+
return ve;
|
|
12153
12154
|
}
|
|
12154
12155
|
}
|
|
12155
12156
|
}
|
|
@@ -12193,7 +12194,7 @@ function Vp() {
|
|
|
12193
12194
|
function ie(L) {
|
|
12194
12195
|
return x(L) === h;
|
|
12195
12196
|
}
|
|
12196
|
-
se.AsyncMode = _, se.ConcurrentMode = I, se.ContextConsumer = P, se.ContextProvider = Q, se.Element = W, se.ForwardRef = G, se.Fragment = B, se.Lazy = ee, se.Memo = le, se.Portal = M, se.Profiler = U, se.StrictMode = E, se.Suspense = D, se.isAsyncMode = z, se.isConcurrentMode = y, se.isContextConsumer = S, se.isContextProvider = R, se.isElement = j, se.isForwardRef = O, se.isFragment = H, se.isLazy = V, se.isMemo = F, se.isPortal = Z, se.isProfiler = X, se.isStrictMode = $, se.isSuspense = ie, se.isValidElementType =
|
|
12197
|
+
se.AsyncMode = _, se.ConcurrentMode = I, se.ContextConsumer = P, se.ContextProvider = Q, se.Element = W, se.ForwardRef = G, se.Fragment = B, se.Lazy = ee, se.Memo = le, se.Portal = M, se.Profiler = U, se.StrictMode = E, se.Suspense = D, se.isAsyncMode = z, se.isConcurrentMode = y, se.isContextConsumer = S, se.isContextProvider = R, se.isElement = j, se.isForwardRef = O, se.isFragment = H, se.isLazy = V, se.isMemo = F, se.isPortal = Z, se.isProfiler = X, se.isStrictMode = $, se.isSuspense = ie, se.isValidElementType = C, se.typeOf = x;
|
|
12197
12198
|
})()), se;
|
|
12198
12199
|
}
|
|
12199
12200
|
var Os;
|
|
@@ -12331,16 +12332,16 @@ function Wp() {
|
|
|
12331
12332
|
return S;
|
|
12332
12333
|
}
|
|
12333
12334
|
var m = "<<anonymous>>", p = {
|
|
12334
|
-
array:
|
|
12335
|
-
bigint:
|
|
12336
|
-
bool:
|
|
12337
|
-
func:
|
|
12338
|
-
number:
|
|
12339
|
-
object:
|
|
12340
|
-
string:
|
|
12341
|
-
symbol:
|
|
12335
|
+
array: v("array"),
|
|
12336
|
+
bigint: v("bigint"),
|
|
12337
|
+
bool: v("boolean"),
|
|
12338
|
+
func: v("function"),
|
|
12339
|
+
number: v("number"),
|
|
12340
|
+
object: v("object"),
|
|
12341
|
+
string: v("string"),
|
|
12342
|
+
symbol: v("symbol"),
|
|
12342
12343
|
any: N(),
|
|
12343
|
-
arrayOf:
|
|
12344
|
+
arrayOf: C,
|
|
12344
12345
|
element: x(),
|
|
12345
12346
|
elementType: _(),
|
|
12346
12347
|
instanceOf: I,
|
|
@@ -12369,11 +12370,11 @@ function Wp() {
|
|
|
12369
12370
|
);
|
|
12370
12371
|
throw L.name = "Invariant Violation", L;
|
|
12371
12372
|
} else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
|
|
12372
|
-
var
|
|
12373
|
-
!S[
|
|
12373
|
+
var ve = Z + ":" + F;
|
|
12374
|
+
!S[ve] && // Avoid spamming the console because they are often not actionable except for lib authors
|
|
12374
12375
|
R < 3 && (r(
|
|
12375
12376
|
"You are manually calling a React.PropTypes validation function for the `" + $ + "` prop on `" + Z + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
|
|
12376
|
-
), S[
|
|
12377
|
+
), S[ve] = !0, R++);
|
|
12377
12378
|
}
|
|
12378
12379
|
}
|
|
12379
12380
|
return V[F] == null ? H ? V[F] === null ? new A("The " + X + " `" + $ + "` is marked as required " + ("in `" + Z + "`, but its value is `null`.")) : new A("The " + X + " `" + $ + "` is marked as required in " + ("`" + Z + "`, but its value is `undefined`.")) : null : y(V, F, Z, X, $);
|
|
@@ -12381,7 +12382,7 @@ function Wp() {
|
|
|
12381
12382
|
var O = j.bind(null, !1);
|
|
12382
12383
|
return O.isRequired = j.bind(null, !0), O;
|
|
12383
12384
|
}
|
|
12384
|
-
function
|
|
12385
|
+
function v(y) {
|
|
12385
12386
|
function S(R, j, O, H, V, F) {
|
|
12386
12387
|
var Z = R[j], X = E(Z);
|
|
12387
12388
|
if (X !== y) {
|
|
@@ -12398,7 +12399,7 @@ function Wp() {
|
|
|
12398
12399
|
function N() {
|
|
12399
12400
|
return w(i);
|
|
12400
12401
|
}
|
|
12401
|
-
function
|
|
12402
|
+
function C(y) {
|
|
12402
12403
|
function S(R, j, O, H, V) {
|
|
12403
12404
|
if (typeof y != "function")
|
|
12404
12405
|
return new A("Property `" + V + "` of component `" + O + "` has invalid PropType notation inside arrayOf.");
|
|
@@ -12458,8 +12459,8 @@ function Wp() {
|
|
|
12458
12459
|
if (g(F, y[Z]))
|
|
12459
12460
|
return null;
|
|
12460
12461
|
var X = JSON.stringify(y, function(ie, L) {
|
|
12461
|
-
var
|
|
12462
|
-
return
|
|
12462
|
+
var ve = D(L);
|
|
12463
|
+
return ve === "symbol" ? String(L) : L;
|
|
12463
12464
|
});
|
|
12464
12465
|
return new A("Invalid " + H + " `" + V + "` of value `" + String(F) + "` " + ("supplied to `" + O + "`, expected one of " + X + "."));
|
|
12465
12466
|
}
|
|
@@ -12499,8 +12500,8 @@ function Wp() {
|
|
|
12499
12500
|
return null;
|
|
12500
12501
|
L.data && s(L.data, "expectedType") && X.push(L.data.expectedType);
|
|
12501
12502
|
}
|
|
12502
|
-
var
|
|
12503
|
-
return new A("Invalid " + F + " `" + Z + "` supplied to " + ("`" + V + "`" +
|
|
12503
|
+
var ve = X.length > 0 ? ", expected one of type [" + X.join(", ") + "]" : "";
|
|
12504
|
+
return new A("Invalid " + F + " `" + Z + "` supplied to " + ("`" + V + "`" + ve + "."));
|
|
12504
12505
|
}
|
|
12505
12506
|
return w(j);
|
|
12506
12507
|
}
|
|
@@ -12860,14 +12861,14 @@ function t9() {
|
|
|
12860
12861
|
function p(g, A, w) {
|
|
12861
12862
|
if (typeof A != "string") {
|
|
12862
12863
|
if (m) {
|
|
12863
|
-
var
|
|
12864
|
-
|
|
12864
|
+
var v = h(A);
|
|
12865
|
+
v && v !== m && p(g, v, w);
|
|
12865
12866
|
}
|
|
12866
12867
|
var N = d(A);
|
|
12867
12868
|
l && (N = N.concat(l(A)));
|
|
12868
|
-
for (var
|
|
12869
|
+
for (var C = i(g), x = i(A), _ = 0; _ < N.length; ++_) {
|
|
12869
12870
|
var I = N[_];
|
|
12870
|
-
if (!n[I] && !(w && w[I]) && !(x && x[I]) && !(
|
|
12871
|
+
if (!n[I] && !(w && w[I]) && !(x && x[I]) && !(C && C[I])) {
|
|
12871
12872
|
var P = u(A, I);
|
|
12872
12873
|
try {
|
|
12873
12874
|
c(g, I, P);
|
|
@@ -12902,7 +12903,7 @@ function s9(e, t) {
|
|
|
12902
12903
|
function o9(e, t) {
|
|
12903
12904
|
e.prototype = Object.create(t.prototype), e.prototype.constructor = e, e.__proto__ = t;
|
|
12904
12905
|
}
|
|
12905
|
-
var
|
|
12906
|
+
var Pe = {}, r9 = 0;
|
|
12906
12907
|
function i9(e, t) {
|
|
12907
12908
|
return t = t || {}, function(s) {
|
|
12908
12909
|
var o = s.displayName || s.name || "Component", r = /* @__PURE__ */ (function(c) {
|
|
@@ -12922,19 +12923,19 @@ function i9(e, t) {
|
|
|
12922
12923
|
return m.props.asyncScriptOnLoad && m.props.asyncScriptOnLoad(m.state);
|
|
12923
12924
|
});
|
|
12924
12925
|
}, l.asyncScriptLoaderTriggerOnScriptLoaded = function() {
|
|
12925
|
-
var h =
|
|
12926
|
+
var h = Pe[this.__scriptURL];
|
|
12926
12927
|
if (!h || !h.loaded)
|
|
12927
12928
|
throw new Error("Script is not loaded.");
|
|
12928
12929
|
for (var m in h.observers)
|
|
12929
12930
|
h.observers[m](h);
|
|
12930
12931
|
delete window[t.callbackName];
|
|
12931
12932
|
}, l.componentDidMount = function() {
|
|
12932
|
-
var h = this, m = this.setupScriptURL(), p = this.asyncScriptLoaderGetScriptLoaderID(), g = t, A = g.globalName, w = g.callbackName,
|
|
12933
|
-
if (A && typeof window[A] < "u" && (
|
|
12933
|
+
var h = this, m = this.setupScriptURL(), p = this.asyncScriptLoaderGetScriptLoaderID(), g = t, A = g.globalName, w = g.callbackName, v = g.scriptId;
|
|
12934
|
+
if (A && typeof window[A] < "u" && (Pe[m] = {
|
|
12934
12935
|
loaded: !0,
|
|
12935
12936
|
observers: {}
|
|
12936
|
-
}),
|
|
12937
|
-
var N =
|
|
12937
|
+
}), Pe[m]) {
|
|
12938
|
+
var N = Pe[m];
|
|
12938
12939
|
if (N && (N.loaded || N.errored)) {
|
|
12939
12940
|
this.asyncScriptLoaderHandleLoad(N);
|
|
12940
12941
|
return;
|
|
@@ -12944,21 +12945,21 @@ function i9(e, t) {
|
|
|
12944
12945
|
};
|
|
12945
12946
|
return;
|
|
12946
12947
|
}
|
|
12947
|
-
var
|
|
12948
|
-
|
|
12948
|
+
var C = {};
|
|
12949
|
+
C[p] = function(P) {
|
|
12949
12950
|
return h.asyncScriptLoaderHandleLoad(P);
|
|
12950
|
-
},
|
|
12951
|
+
}, Pe[m] = {
|
|
12951
12952
|
loaded: !1,
|
|
12952
|
-
observers:
|
|
12953
|
+
observers: C
|
|
12953
12954
|
};
|
|
12954
12955
|
var x = document.createElement("script");
|
|
12955
12956
|
x.src = m, x.async = !0;
|
|
12956
12957
|
for (var _ in t.attributes)
|
|
12957
12958
|
x.setAttribute(_, t.attributes[_]);
|
|
12958
|
-
|
|
12959
|
+
v && (x.id = v);
|
|
12959
12960
|
var I = function(Q) {
|
|
12960
|
-
if (
|
|
12961
|
-
var W =
|
|
12961
|
+
if (Pe[m]) {
|
|
12962
|
+
var W = Pe[m], G = W.observers;
|
|
12962
12963
|
for (var B in G)
|
|
12963
12964
|
Q(G[B]) && delete G[B];
|
|
12964
12965
|
}
|
|
@@ -12966,12 +12967,12 @@ function i9(e, t) {
|
|
|
12966
12967
|
w && typeof window < "u" && (window[w] = function() {
|
|
12967
12968
|
return h.asyncScriptLoaderTriggerOnScriptLoaded();
|
|
12968
12969
|
}), x.onload = function() {
|
|
12969
|
-
var P =
|
|
12970
|
+
var P = Pe[m];
|
|
12970
12971
|
P && (P.loaded = !0, I(function(Q) {
|
|
12971
12972
|
return w ? !1 : (Q(P), !0);
|
|
12972
12973
|
}));
|
|
12973
12974
|
}, x.onerror = function() {
|
|
12974
|
-
var P =
|
|
12975
|
+
var P = Pe[m];
|
|
12975
12976
|
P && (P.errored = !0, I(function(Q) {
|
|
12976
12977
|
return Q(P), !0;
|
|
12977
12978
|
}));
|
|
@@ -12981,8 +12982,8 @@ function i9(e, t) {
|
|
|
12981
12982
|
if (t.removeOnUnmount === !0)
|
|
12982
12983
|
for (var m = document.getElementsByTagName("script"), p = 0; p < m.length; p += 1)
|
|
12983
12984
|
m[p].src.indexOf(h) > -1 && m[p].parentNode && m[p].parentNode.removeChild(m[p]);
|
|
12984
|
-
var g =
|
|
12985
|
-
g && (delete g.observers[this.asyncScriptLoaderGetScriptLoaderID()], t.removeOnUnmount === !0 && delete
|
|
12985
|
+
var g = Pe[h];
|
|
12986
|
+
g && (delete g.observers[this.asyncScriptLoaderGetScriptLoaderID()], t.removeOnUnmount === !0 && delete Pe[h]);
|
|
12986
12987
|
}, l.render = function() {
|
|
12987
12988
|
var h = t.globalName, m = this.props;
|
|
12988
12989
|
m.asyncScriptOnLoad;
|
|
@@ -12999,21 +13000,21 @@ function i9(e, t) {
|
|
|
12999
13000
|
}, a9(i, s);
|
|
13000
13001
|
};
|
|
13001
13002
|
}
|
|
13002
|
-
var
|
|
13003
|
-
function
|
|
13003
|
+
var va = "onloadcallback", c9 = "grecaptcha";
|
|
13004
|
+
function Ca() {
|
|
13004
13005
|
return typeof window < "u" && window.recaptchaOptions || {};
|
|
13005
13006
|
}
|
|
13006
13007
|
function l9() {
|
|
13007
|
-
var e =
|
|
13008
|
-
return e.enterprise ? "https://" + t + "/recaptcha/enterprise.js?onload=" +
|
|
13008
|
+
var e = Ca(), t = e.useRecaptchaNet ? "recaptcha.net" : "www.google.com";
|
|
13009
|
+
return e.enterprise ? "https://" + t + "/recaptcha/enterprise.js?onload=" + va + "&render=explicit" : "https://" + t + "/recaptcha/api.js?onload=" + va + "&render=explicit";
|
|
13009
13010
|
}
|
|
13010
13011
|
const Go = i9(l9, {
|
|
13011
|
-
callbackName:
|
|
13012
|
+
callbackName: va,
|
|
13012
13013
|
globalName: c9,
|
|
13013
|
-
attributes:
|
|
13014
|
-
nonce:
|
|
13014
|
+
attributes: Ca().nonce ? {
|
|
13015
|
+
nonce: Ca().nonce
|
|
13015
13016
|
} : {}
|
|
13016
|
-
})(Dn), d9 = "_overlay_18ksj_1", u9 = "_header_18ksj_18", h9 = "_logo_18ksj_25", m9 = "_card_18ksj_32", f9 = "_close_18ksj_47", g9 = "_form_18ksj_71", p9 = "_formUl_18ksj_80", A9 = "_field_18ksj_92", w9 = "_label_18ksj_99", y9 = "_input_18ksj_108",
|
|
13017
|
+
})(Dn), d9 = "_overlay_18ksj_1", u9 = "_header_18ksj_18", h9 = "_logo_18ksj_25", m9 = "_card_18ksj_32", f9 = "_close_18ksj_47", g9 = "_form_18ksj_71", p9 = "_formUl_18ksj_80", A9 = "_field_18ksj_92", w9 = "_label_18ksj_99", y9 = "_input_18ksj_108", v9 = "_error_18ksj_126", C9 = "_primary_18ksj_132", _9 = "_divider_18ksj_170", b9 = "_google_18ksj_196", N9 = "_googleIcon_18ksj_226", S9 = "_spin_18ksj_259", x9 = "_checkboxRow_18ksj_281", E9 = "_terms_18ksj_318", I9 = "_message_18ksj_349", T9 = "_passwordChecker_18ksj_354", k9 = "_valid_18ksj_373", U9 = "_invalid_18ksj_377", R9 = "_forgotPassword_18ksj_381", L9 = "_successContainer_18ksj_400", q9 = "_thumbsUp_18ksj_408", B9 = "_successMessage_18ksj_414", k = {
|
|
13017
13018
|
overlay: d9,
|
|
13018
13019
|
header: u9,
|
|
13019
13020
|
logo: h9,
|
|
@@ -13024,8 +13025,8 @@ const Go = i9(l9, {
|
|
|
13024
13025
|
field: A9,
|
|
13025
13026
|
label: w9,
|
|
13026
13027
|
input: y9,
|
|
13027
|
-
error:
|
|
13028
|
-
primary:
|
|
13028
|
+
error: v9,
|
|
13029
|
+
primary: C9,
|
|
13029
13030
|
divider: _9,
|
|
13030
13031
|
google: b9,
|
|
13031
13032
|
googleIcon: N9,
|
|
@@ -13107,8 +13108,8 @@ const Go = i9(l9, {
|
|
|
13107
13108
|
}, 3e3);
|
|
13108
13109
|
else
|
|
13109
13110
|
throw new Error(N.message || "Error al reportar comentario");
|
|
13110
|
-
} catch (
|
|
13111
|
-
console.error("Error reporting comment:",
|
|
13111
|
+
} catch (v) {
|
|
13112
|
+
console.error("Error reporting comment:", v), h(v.message || "Error al reportar comentario"), c("form");
|
|
13112
13113
|
}
|
|
13113
13114
|
}
|
|
13114
13115
|
}, w = () => {
|
|
@@ -13119,21 +13120,21 @@ const Go = i9(l9, {
|
|
|
13119
13120
|
/* @__PURE__ */ a("h2", { className: ge.title, children: "Reportar Abuso" }),
|
|
13120
13121
|
i === "loading" && /* @__PURE__ */ a("div", { className: ge.loadingContainer, children: /* @__PURE__ */ a(et, {}) }),
|
|
13121
13122
|
i === "form" || i === "loading" ? /* @__PURE__ */ f(J, { children: [
|
|
13122
|
-
/* @__PURE__ */ a("div", { className: ge.optionsContainer, children: g.map((
|
|
13123
|
+
/* @__PURE__ */ a("div", { className: ge.optionsContainer, children: g.map((v) => /* @__PURE__ */ f("label", { className: ge.option, children: [
|
|
13123
13124
|
/* @__PURE__ */ a(
|
|
13124
13125
|
"input",
|
|
13125
13126
|
{
|
|
13126
13127
|
type: "radio",
|
|
13127
13128
|
name: "reportReason",
|
|
13128
|
-
value:
|
|
13129
|
-
checked: d ===
|
|
13129
|
+
value: v.id,
|
|
13130
|
+
checked: d === v.id,
|
|
13130
13131
|
onChange: (N) => l(N.target.value),
|
|
13131
13132
|
className: ge.radioInput
|
|
13132
13133
|
}
|
|
13133
13134
|
),
|
|
13134
13135
|
/* @__PURE__ */ a("span", { className: ge.radioCustom }),
|
|
13135
|
-
/* @__PURE__ */ a("span", { className: ge.optionLabel, children:
|
|
13136
|
-
] },
|
|
13136
|
+
/* @__PURE__ */ a("span", { className: ge.optionLabel, children: v.label })
|
|
13137
|
+
] }, v.id)) }),
|
|
13137
13138
|
u && /* @__PURE__ */ a("div", { className: ge.errorMessage, children: u }),
|
|
13138
13139
|
/* @__PURE__ */ a(
|
|
13139
13140
|
Go,
|
|
@@ -13141,7 +13142,7 @@ const Go = i9(l9, {
|
|
|
13141
13142
|
sitekey: r,
|
|
13142
13143
|
theme: "light",
|
|
13143
13144
|
size: "normal",
|
|
13144
|
-
onChange: (
|
|
13145
|
+
onChange: (v) => p(v ?? ""),
|
|
13145
13146
|
onExpired: () => p("")
|
|
13146
13147
|
}
|
|
13147
13148
|
),
|
|
@@ -13287,10 +13288,10 @@ async function D9({
|
|
|
13287
13288
|
state: i
|
|
13288
13289
|
});
|
|
13289
13290
|
o && w.append("id", o), r && w.append("lastid", r);
|
|
13290
|
-
const
|
|
13291
|
+
const v = `${A}${m}/newcomments/get?${w.toString()}`;
|
|
13291
13292
|
try {
|
|
13292
|
-
console.log("Fetching comments from:",
|
|
13293
|
-
const { data: N } = await oe.get(
|
|
13293
|
+
console.log("Fetching comments from:", v);
|
|
13294
|
+
const { data: N } = await oe.get(v, {
|
|
13294
13295
|
headers: {
|
|
13295
13296
|
"x-api-token": c,
|
|
13296
13297
|
"Cache-Control": "max-age=0, no-cache, no-store, must-revalidate",
|
|
@@ -13303,15 +13304,15 @@ async function D9({
|
|
|
13303
13304
|
return N.data || N || [];
|
|
13304
13305
|
} catch (N) {
|
|
13305
13306
|
if (console.error("Error fetching comments:", N), oe.isAxiosError(N)) {
|
|
13306
|
-
const
|
|
13307
|
-
throw
|
|
13307
|
+
const C = N.response?.status, x = N.response?.data;
|
|
13308
|
+
throw C === 404 ? new Error("Comments not found") : C === 403 ? new Error("Access forbidden - check API token") : C === 401 ? new Error("Unauthorized - invalid API token") : C === 500 ? new Error("Internal server error from CMS") : new Error(x?.error || x?.message || `HTTP ${C}: Failed to fetch comments`);
|
|
13308
13309
|
}
|
|
13309
13310
|
throw N;
|
|
13310
13311
|
}
|
|
13311
13312
|
}
|
|
13312
13313
|
const M9 = (e, t) => {
|
|
13313
13314
|
const [n, s] = K(void 0), { PUBLIC_PUBLICATION_ID: o } = t, r = o;
|
|
13314
|
-
return
|
|
13315
|
+
return Qe(() => {
|
|
13315
13316
|
if (n) return;
|
|
13316
13317
|
(async () => {
|
|
13317
13318
|
const { PUBLIC_X_SECURITY_TOKEN: c } = t;
|
|
@@ -13336,7 +13337,7 @@ const M9 = (e, t) => {
|
|
|
13336
13337
|
}, Ho = ({ username: e, date: t, DATE_CONFIG: n }) => /* @__PURE__ */ f("div", { className: "comment-header", children: [
|
|
13337
13338
|
/* @__PURE__ */ a("span", { className: "comment-username", children: e }),
|
|
13338
13339
|
/* @__PURE__ */ a("span", { className: "comment-header-dot", children: "•" }),
|
|
13339
|
-
/* @__PURE__ */ a("span", { className: "comment-date", children: Qp(
|
|
13340
|
+
/* @__PURE__ */ a("span", { className: "comment-date", children: Qp(Ge(Number(t), n)) })
|
|
13340
13341
|
] }), zo = ({ user: e }) => /* @__PURE__ */ a("div", { className: "comment-avatar", children: e.picture ? /* @__PURE__ */ a(
|
|
13341
13342
|
"img",
|
|
13342
13343
|
{
|
|
@@ -13390,12 +13391,12 @@ const M9 = (e, t) => {
|
|
|
13390
13391
|
]
|
|
13391
13392
|
}
|
|
13392
13393
|
) })
|
|
13393
|
-
] }), Fo = ({ commentRef: e, captchaToken: t = "", setIsDisabled: n, API_ENV: s }) => (
|
|
13394
|
+
] }), Fo = ({ commentRef: e, captchaToken: t = "", setIsDisabled: n, API_ENV: s }) => (Qe(() => {
|
|
13394
13395
|
const o = e.current;
|
|
13395
13396
|
if (!o) return;
|
|
13396
13397
|
const r = () => {
|
|
13397
13398
|
const c = o.value.length;
|
|
13398
|
-
o.parentElement && (o.parentElement.dataset.text = `${c}/${
|
|
13399
|
+
o.parentElement && (o.parentElement.dataset.text = `${c}/${vt}`), o.classList.toggle("over-limit", c > vt), n(!Da(e, t, s).boolean);
|
|
13399
13400
|
};
|
|
13400
13401
|
return o.addEventListener("input", r), r(), () => o.removeEventListener("input", r);
|
|
13401
13402
|
}, [e, t, n]), /* @__PURE__ */ f("div", { children: [
|
|
@@ -13507,8 +13508,8 @@ const M9 = (e, t) => {
|
|
|
13507
13508
|
let p = null;
|
|
13508
13509
|
try {
|
|
13509
13510
|
p = await m.json();
|
|
13510
|
-
} catch (
|
|
13511
|
-
console.error("Error parsing JSON response:",
|
|
13511
|
+
} catch (v) {
|
|
13512
|
+
console.error("Error parsing JSON response:", v);
|
|
13512
13513
|
}
|
|
13513
13514
|
if (!m.ok)
|
|
13514
13515
|
throw new Error(
|
|
@@ -13540,7 +13541,7 @@ const M9 = (e, t) => {
|
|
|
13540
13541
|
API_ENV: i
|
|
13541
13542
|
}) => {
|
|
13542
13543
|
const [c, d] = K(!0), [l, u] = K(""), h = () => {
|
|
13543
|
-
t.current?.parentElement && (t.current.parentElement.dataset.text = `0/${
|
|
13544
|
+
t.current?.parentElement && (t.current.parentElement.dataset.text = `0/${vt}`), d(!0), r();
|
|
13544
13545
|
};
|
|
13545
13546
|
return /* @__PURE__ */ f("div", { className: "comment-form reply-form", children: [
|
|
13546
13547
|
/* @__PURE__ */ a("button", { className: "close-reply-form", onClick: h, children: /* @__PURE__ */ a(Lt, {}) }),
|
|
@@ -13604,10 +13605,10 @@ const M9 = (e, t) => {
|
|
|
13604
13605
|
] }) });
|
|
13605
13606
|
}, G9 = ({ comment: e, replyingTo: t, path: n, user: s, handleReplyingTo: o, onFlag: r, API_ENV: i }) => {
|
|
13606
13607
|
const c = { morereply: e.morereply ?? !1, reply: e.reply ? e.reply : [] }, [d, l] = K(c), [u, h] = ke.useState(!1), { PUBLIC_PUBLICATION_ID: m, PUBLIC_X_SECURITY_TOKEN: p } = i, g = e.text, A = ke.useRef(null);
|
|
13607
|
-
let w = `${Xe.firstname} ${Xe.lastname ?? ""}`,
|
|
13608
|
-
e.user && (w = `${e.user.firstname} ${e.user.lastname ?? ""}`,
|
|
13609
|
-
const N = (
|
|
13610
|
-
l({ morereply: d.morereply, reply: [
|
|
13608
|
+
let w = `${Xe.firstname} ${Xe.lastname ?? ""}`, v = Xe.username;
|
|
13609
|
+
e.user && (w = `${e.user.firstname} ${e.user.lastname ?? ""}`, v = e.user.username);
|
|
13610
|
+
const N = (C) => {
|
|
13611
|
+
l({ morereply: d.morereply, reply: [C, ...d.reply] });
|
|
13611
13612
|
};
|
|
13612
13613
|
return /* @__PURE__ */ a("div", { className: "comment-item", children: /* @__PURE__ */ f(
|
|
13613
13614
|
"div",
|
|
@@ -13619,7 +13620,7 @@ const M9 = (e, t) => {
|
|
|
13619
13620
|
/* @__PURE__ */ f("div", { style: { flex: 1 }, children: [
|
|
13620
13621
|
/* @__PURE__ */ a(Ho, { username: w, date: e.date.time, DATE_CONFIG: i }),
|
|
13621
13622
|
/* @__PURE__ */ a("p", { className: "comment-text", children: g }),
|
|
13622
|
-
s?.username.toLowerCase() !==
|
|
13623
|
+
s?.username.toLowerCase() !== v.toLowerCase() && // No puedes responder ni reportar tus respuestas
|
|
13623
13624
|
/* @__PURE__ */ a(
|
|
13624
13625
|
Vo,
|
|
13625
13626
|
{
|
|
@@ -13640,23 +13641,23 @@ const M9 = (e, t) => {
|
|
|
13640
13641
|
}
|
|
13641
13642
|
),
|
|
13642
13643
|
d.reply.length > 0 && /* @__PURE__ */ f("div", { className: "comment-replies", children: [
|
|
13643
|
-
d.reply.map((
|
|
13644
|
+
d.reply.map((C) => /* @__PURE__ */ a(
|
|
13644
13645
|
Q9,
|
|
13645
13646
|
{
|
|
13646
13647
|
user: s,
|
|
13647
|
-
reply:
|
|
13648
|
+
reply: C,
|
|
13648
13649
|
replyingTo: w,
|
|
13649
13650
|
onFlag: r,
|
|
13650
13651
|
DATE_CONFIG: i
|
|
13651
13652
|
},
|
|
13652
|
-
|
|
13653
|
+
C.id
|
|
13653
13654
|
)),
|
|
13654
13655
|
u ? /* @__PURE__ */ a("div", { style: { marginLeft: "4rem", position: "relative" }, children: /* @__PURE__ */ a(et, {}) }) : d.morereply && /* @__PURE__ */ a(
|
|
13655
13656
|
"button",
|
|
13656
13657
|
{
|
|
13657
13658
|
className: "comment-replies-button reply-button",
|
|
13658
13659
|
onClick: async () => {
|
|
13659
|
-
const
|
|
13660
|
+
const C = d.reply[d.reply.length - 1]?.id;
|
|
13660
13661
|
h(!0);
|
|
13661
13662
|
try {
|
|
13662
13663
|
const _ = await Qa({
|
|
@@ -13665,7 +13666,7 @@ const M9 = (e, t) => {
|
|
|
13665
13666
|
size: 2,
|
|
13666
13667
|
sizereply: 2,
|
|
13667
13668
|
id: e.id,
|
|
13668
|
-
lastid:
|
|
13669
|
+
lastid: C,
|
|
13669
13670
|
state: "5,6",
|
|
13670
13671
|
apiToken: p ?? "",
|
|
13671
13672
|
API_ENV: i
|
|
@@ -13722,8 +13723,8 @@ const M9 = (e, t) => {
|
|
|
13722
13723
|
addComment: s,
|
|
13723
13724
|
API_ENV: o
|
|
13724
13725
|
});
|
|
13725
|
-
return u && typeof u == "number" ? (e.current?.parentElement && (e.current.parentElement.dataset.text = `0/${
|
|
13726
|
-
e.current?.parentElement && (e.current.parentElement.dataset.text = `0/${
|
|
13726
|
+
return u && typeof u == "number" ? (e.current?.parentElement && (e.current.parentElement.dataset.text = `0/${vt}`), i(!0), setTimeout(() => {
|
|
13727
|
+
e.current?.parentElement && (e.current.parentElement.dataset.text = `0/${vt}`), i(!0);
|
|
13727
13728
|
}, u), !0) : !1;
|
|
13728
13729
|
},
|
|
13729
13730
|
isDisabled: r,
|
|
@@ -13742,9 +13743,9 @@ const M9 = (e, t) => {
|
|
|
13742
13743
|
}) => {
|
|
13743
13744
|
const { PUBLIC_PUBLICATION_ID: r, PUBLIC_X_SECURITY_TOKEN: i } = o, c = r ?? "", d = t.replaceAll("/", "|"), [l, u] = K(
|
|
13744
13745
|
void 0
|
|
13745
|
-
), [h, m] = K(""), { comments: p, setComments: g } = M9(d, o), [A, w] = ke.useState(!1),
|
|
13746
|
+
), [h, m] = K(""), { comments: p, setComments: g } = M9(d, o), [A, w] = ke.useState(!1), v = ke.useRef(null), N = (W) => {
|
|
13746
13747
|
m(h === W ? "" : W);
|
|
13747
|
-
},
|
|
13748
|
+
}, C = (W) => {
|
|
13748
13749
|
g(
|
|
13749
13750
|
p ? {
|
|
13750
13751
|
...p,
|
|
@@ -13793,9 +13794,9 @@ const M9 = (e, t) => {
|
|
|
13793
13794
|
/* @__PURE__ */ a(
|
|
13794
13795
|
H9,
|
|
13795
13796
|
{
|
|
13796
|
-
commentRef:
|
|
13797
|
+
commentRef: v,
|
|
13797
13798
|
user: n,
|
|
13798
|
-
addComment:
|
|
13799
|
+
addComment: C,
|
|
13799
13800
|
path: d,
|
|
13800
13801
|
API_ENV: o
|
|
13801
13802
|
}
|
|
@@ -13895,10 +13896,10 @@ const M9 = (e, t) => {
|
|
|
13895
13896
|
function V9({ goToLogin: e, handleGoogleLogin: t, API_ENV: n }) {
|
|
13896
13897
|
const [s, o] = K({}), [r, i] = K(!1), [c, d] = K(!1), [l, u] = K(null), [h, m] = K(
|
|
13897
13898
|
"register"
|
|
13898
|
-
), p = (
|
|
13899
|
-
o((
|
|
13900
|
-
}, g = async (
|
|
13901
|
-
|
|
13899
|
+
), p = (v, N) => {
|
|
13900
|
+
o((C) => ({ ...C, [v]: N }));
|
|
13901
|
+
}, g = async (v) => {
|
|
13902
|
+
v.preventDefault(), u(null), d(!0);
|
|
13902
13903
|
try {
|
|
13903
13904
|
const N = Object.keys(Vs).filter((Q) => !["username", "password", "confirmPassword"].includes(Q)).map((Q) => ({ Name: Q, Value: s[Q] }));
|
|
13904
13905
|
if (N.some((Q) => {
|
|
@@ -13909,9 +13910,9 @@ function V9({ goToLogin: e, handleGoogleLogin: t, API_ENV: n }) {
|
|
|
13909
13910
|
u("Las contraseñas no coinciden");
|
|
13910
13911
|
return;
|
|
13911
13912
|
}
|
|
13912
|
-
const
|
|
13913
|
+
const C = s.password || "";
|
|
13913
13914
|
if (En.some(
|
|
13914
|
-
(Q) => !Q.test(
|
|
13915
|
+
(Q) => !Q.test(C)
|
|
13915
13916
|
)) {
|
|
13916
13917
|
u("La contraseña no es válida");
|
|
13917
13918
|
return;
|
|
@@ -13951,8 +13952,8 @@ function V9({ goToLogin: e, handleGoogleLogin: t, API_ENV: n }) {
|
|
|
13951
13952
|
} finally {
|
|
13952
13953
|
d(!1);
|
|
13953
13954
|
}
|
|
13954
|
-
}, A = async (
|
|
13955
|
-
if (
|
|
13955
|
+
}, A = async (v) => {
|
|
13956
|
+
if (v.preventDefault(), !s.confirmationCode) {
|
|
13956
13957
|
u("Debes ingresar el código de verificación");
|
|
13957
13958
|
return;
|
|
13958
13959
|
}
|
|
@@ -13967,8 +13968,8 @@ function V9({ goToLogin: e, handleGoogleLogin: t, API_ENV: n }) {
|
|
|
13967
13968
|
})
|
|
13968
13969
|
});
|
|
13969
13970
|
if (!N.ok) {
|
|
13970
|
-
const
|
|
13971
|
-
throw new Error(
|
|
13971
|
+
const C = await N.json().catch(() => ({}));
|
|
13972
|
+
throw new Error(C?.error || "Error al confirmar usuario");
|
|
13972
13973
|
}
|
|
13973
13974
|
m("success");
|
|
13974
13975
|
} catch (N) {
|
|
@@ -13998,41 +13999,41 @@ function V9({ goToLogin: e, handleGoogleLogin: t, API_ENV: n }) {
|
|
|
13998
13999
|
className: k.form,
|
|
13999
14000
|
"data-error": l ? "true" : "false",
|
|
14000
14001
|
children: [
|
|
14001
|
-
/* @__PURE__ */ a("ul", { className: k.formUl, children: Object.entries(Vs).map(([
|
|
14002
|
+
/* @__PURE__ */ a("ul", { className: k.formUl, children: Object.entries(Vs).map(([v, { label: N }]) => /* @__PURE__ */ f("div", { className: k.field, children: [
|
|
14002
14003
|
/* @__PURE__ */ a("label", { className: k.label, children: N }),
|
|
14003
14004
|
/* @__PURE__ */ a(
|
|
14004
14005
|
"input",
|
|
14005
14006
|
{
|
|
14006
|
-
type:
|
|
14007
|
-
name:
|
|
14008
|
-
value: s[
|
|
14009
|
-
onChange: (
|
|
14007
|
+
type: v.toLowerCase().includes("password") ? r ? "text" : "password" : v === "birthdate" ? "date" : v === "email" ? "email" : v === "phone_number" ? "tel" : "text",
|
|
14008
|
+
name: v,
|
|
14009
|
+
value: s[v] || "",
|
|
14010
|
+
onChange: (C) => p(v, C.target.value),
|
|
14010
14011
|
className: k.input,
|
|
14011
14012
|
placeholder: ""
|
|
14012
14013
|
}
|
|
14013
14014
|
),
|
|
14014
|
-
|
|
14015
|
-
const _ =
|
|
14015
|
+
v === "password" && /* @__PURE__ */ a("div", { className: k.passwordChecker, children: En.map((C, x) => {
|
|
14016
|
+
const _ = C.test(w);
|
|
14016
14017
|
return /* @__PURE__ */ f(
|
|
14017
14018
|
"div",
|
|
14018
14019
|
{
|
|
14019
14020
|
className: _ ? k.valid : k.invalid,
|
|
14020
14021
|
children: [
|
|
14021
14022
|
/* @__PURE__ */ a("div", { children: _ ? "✔" : "○" }),
|
|
14022
|
-
/* @__PURE__ */ a("div", { children:
|
|
14023
|
+
/* @__PURE__ */ a("div", { children: C.label })
|
|
14023
14024
|
]
|
|
14024
14025
|
},
|
|
14025
14026
|
x
|
|
14026
14027
|
);
|
|
14027
14028
|
}) }),
|
|
14028
|
-
|
|
14029
|
+
v === "confirmPassword" && /* @__PURE__ */ f("div", { className: k.checkboxRow, children: [
|
|
14029
14030
|
/* @__PURE__ */ a(
|
|
14030
14031
|
"input",
|
|
14031
14032
|
{
|
|
14032
14033
|
id: "showPasswordRegister",
|
|
14033
14034
|
type: "checkbox",
|
|
14034
14035
|
checked: r,
|
|
14035
|
-
onChange: (
|
|
14036
|
+
onChange: (C) => i(C.target.checked)
|
|
14036
14037
|
}
|
|
14037
14038
|
),
|
|
14038
14039
|
/* @__PURE__ */ a(
|
|
@@ -14044,7 +14045,7 @@ function V9({ goToLogin: e, handleGoogleLogin: t, API_ENV: n }) {
|
|
|
14044
14045
|
}
|
|
14045
14046
|
)
|
|
14046
14047
|
] })
|
|
14047
|
-
] },
|
|
14048
|
+
] }, v)) }),
|
|
14048
14049
|
l && /* @__PURE__ */ a("p", { className: k.error, children: l }),
|
|
14049
14050
|
/* @__PURE__ */ f("p", { className: k.terms, children: [
|
|
14050
14051
|
"Al continuar, confirmo que he leído y aceptado los",
|
|
@@ -14071,7 +14072,7 @@ function V9({ goToLogin: e, handleGoogleLogin: t, API_ENV: n }) {
|
|
|
14071
14072
|
type: "text",
|
|
14072
14073
|
name: "confirmationCode",
|
|
14073
14074
|
value: s.confirmationCode || "",
|
|
14074
|
-
onChange: (
|
|
14075
|
+
onChange: (v) => p("confirmationCode", v.target.value),
|
|
14075
14076
|
className: k.input,
|
|
14076
14077
|
required: !0
|
|
14077
14078
|
}
|
|
@@ -14124,21 +14125,21 @@ function F9({
|
|
|
14124
14125
|
handleGoogleLogin: s,
|
|
14125
14126
|
API_ENV: o
|
|
14126
14127
|
}) {
|
|
14127
|
-
const [r, i] = K("login"), [c, d] = K(""), [l, u] = K(""), [h, m] = K(""), [p, g] = K(""), [A, w] = K(""), [
|
|
14128
|
+
const [r, i] = K("login"), [c, d] = K(""), [l, u] = K(""), [h, m] = K(""), [p, g] = K(""), [A, w] = K(""), [v, N] = K(!1), [C, x] = K(!1), [_, I] = K(null);
|
|
14128
14129
|
return /* @__PURE__ */ f(J, { children: [
|
|
14129
14130
|
r === "login" && /* @__PURE__ */ a(
|
|
14130
14131
|
$9,
|
|
14131
14132
|
{
|
|
14132
14133
|
email: c,
|
|
14133
14134
|
password: l,
|
|
14134
|
-
showPassword:
|
|
14135
|
-
loading:
|
|
14135
|
+
showPassword: v,
|
|
14136
|
+
loading: C,
|
|
14136
14137
|
error: _,
|
|
14137
14138
|
setEmail: d,
|
|
14138
14139
|
setPassword: u,
|
|
14139
14140
|
setShowPassword: N,
|
|
14140
14141
|
onSubmit: async (G) => {
|
|
14141
|
-
if (!
|
|
14142
|
+
if (!C) {
|
|
14142
14143
|
G.preventDefault(), I(null), x(!0);
|
|
14143
14144
|
try {
|
|
14144
14145
|
const B = o.PUBLIC_ENV === "local" ? "token" : await Ko("comment_login", o.CAPTCHA_KEY || "");
|
|
@@ -14173,10 +14174,10 @@ function F9({
|
|
|
14173
14174
|
{
|
|
14174
14175
|
email: c,
|
|
14175
14176
|
setEmail: d,
|
|
14176
|
-
loading:
|
|
14177
|
+
loading: C,
|
|
14177
14178
|
error: _,
|
|
14178
14179
|
onSubmit: async (G) => {
|
|
14179
|
-
if (!
|
|
14180
|
+
if (!C) {
|
|
14180
14181
|
G.preventDefault(), I(null), x(!0);
|
|
14181
14182
|
try {
|
|
14182
14183
|
const B = await fetch("/api/auth/forgot-password", {
|
|
@@ -14208,15 +14209,15 @@ function F9({
|
|
|
14208
14209
|
confirmationCode: h,
|
|
14209
14210
|
newPassword: p,
|
|
14210
14211
|
confirmNewPassword: A,
|
|
14211
|
-
showPassword:
|
|
14212
|
-
loading:
|
|
14212
|
+
showPassword: v,
|
|
14213
|
+
loading: C,
|
|
14213
14214
|
error: _,
|
|
14214
14215
|
setConfirmationCode: m,
|
|
14215
14216
|
setNewPassword: g,
|
|
14216
14217
|
setConfirmNewPassword: w,
|
|
14217
14218
|
setShowPassword: N,
|
|
14218
14219
|
onSubmit: async (G) => {
|
|
14219
|
-
if (
|
|
14220
|
+
if (C) return;
|
|
14220
14221
|
if (G.preventDefault(), p !== A) {
|
|
14221
14222
|
I("Las contraseñas no coinciden");
|
|
14222
14223
|
return;
|
|
@@ -14648,9 +14649,9 @@ function X9({
|
|
|
14648
14649
|
}
|
|
14649
14650
|
}
|
|
14650
14651
|
}, [e, d]);
|
|
14651
|
-
|
|
14652
|
+
Qe(() => {
|
|
14652
14653
|
l();
|
|
14653
|
-
}, [l, e]),
|
|
14654
|
+
}, [l, e]), Qe(() => {
|
|
14654
14655
|
if (!i || !e || typeof window > "u") return;
|
|
14655
14656
|
const m = window;
|
|
14656
14657
|
if (typeof m != "function") {
|
|
@@ -14907,7 +14908,7 @@ export {
|
|
|
14907
14908
|
t6 as DEBUG_MainSlots,
|
|
14908
14909
|
y2 as DestacadoNoticias,
|
|
14909
14910
|
af as DestacadoVideos,
|
|
14910
|
-
|
|
14911
|
+
vc as DynamicBlockServices,
|
|
14911
14912
|
e6 as DynamicComponents,
|
|
14912
14913
|
Zn as DynamicMainSlot,
|
|
14913
14914
|
pa as DynamicSlot,
|
|
@@ -14919,7 +14920,7 @@ export {
|
|
|
14919
14920
|
Ks as FormatScripts,
|
|
14920
14921
|
tr as GA4,
|
|
14921
14922
|
nr as GTM,
|
|
14922
|
-
|
|
14923
|
+
C0 as GalleryHeader,
|
|
14923
14924
|
L3 as GenerateBody,
|
|
14924
14925
|
R3 as GenerateHead,
|
|
14925
14926
|
V3 as Header,
|
|
@@ -14988,13 +14989,13 @@ export {
|
|
|
14988
14989
|
At as buildTagUrl,
|
|
14989
14990
|
P3 as coloringByStrokeSVGs,
|
|
14990
14991
|
Pa as compileStyleProps,
|
|
14991
|
-
|
|
14992
|
-
|
|
14992
|
+
He as cutString,
|
|
14993
|
+
qe as extractMainSlug,
|
|
14993
14994
|
Ya as extractRealtedNews,
|
|
14994
|
-
|
|
14995
|
+
Ge as formatDate,
|
|
14995
14996
|
a3 as formatDateEdiciones,
|
|
14996
14997
|
_a as formatDateJournalistArticule,
|
|
14997
|
-
|
|
14998
|
+
vr as formatDateTimeline,
|
|
14998
14999
|
br as formatNewsMeta,
|
|
14999
15000
|
Ur as formatVideoData,
|
|
15000
15001
|
U3 as generalGetData,
|
|
@@ -15002,7 +15003,7 @@ export {
|
|
|
15002
15003
|
D9 as getComments,
|
|
15003
15004
|
te as getConfig,
|
|
15004
15005
|
k3 as getDynamicSlots,
|
|
15005
|
-
|
|
15006
|
+
Cn as getEnvironmentUrl,
|
|
15006
15007
|
s3 as getEnvironmentUrlFront,
|
|
15007
15008
|
c3 as getHydratorPath,
|
|
15008
15009
|
pe as getImageUrl,
|
|
@@ -15013,7 +15014,7 @@ export {
|
|
|
15013
15014
|
Jt as getPrevMeta,
|
|
15014
15015
|
c6 as getReportReasonLabel,
|
|
15015
15016
|
St as getResponse,
|
|
15016
|
-
|
|
15017
|
+
Cr as getResponsePromise,
|
|
15017
15018
|
Na as getSchemas,
|
|
15018
15019
|
Js as getScriptReplaces,
|
|
15019
15020
|
zr as getSlugs,
|